Merge branch 'main' of github.com:ghostfolio/ghostfolio
This commit is contained in:
commit
65e4f83c4f
@ -10,8 +10,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Extended the tags selector component by a `readonly` attribute
|
- Extended the tags selector component by a `readonly` attribute
|
||||||
|
- Extended the tags selector component to support creating custom tags
|
||||||
- Added global styles to the _Storybook_ setup
|
- Added global styles to the _Storybook_ setup
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Improved the language localization for German (`de`)
|
||||||
|
|
||||||
## 2.138.0 - 2025-02-08
|
## 2.138.0 - 2025-02-08
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -2218,12 +2218,12 @@
|
|||||||
<context context-type="linenumber">87</context>
|
<context context-type="linenumber">87</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">387</context>
|
<context context-type="linenumber">4</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">2</context>
|
<context context-type="linenumber">16</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="de074268d7d7d759a6ca93af78aace60e16bb671" datatype="html">
|
<trans-unit id="de074268d7d7d759a6ca93af78aace60e16bb671" datatype="html">
|
||||||
@ -2639,7 +2639,7 @@
|
|||||||
<target state="translated">Informar d’un Problema amb les Dades</target>
|
<target state="translated">Informar d’un Problema amb les Dades</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
||||||
<context context-type="linenumber">406</context>
|
<context context-type="linenumber">385</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="8204176479746810612" datatype="html">
|
<trans-unit id="8204176479746810612" datatype="html">
|
||||||
@ -7748,6 +7748,14 @@
|
|||||||
<context context-type="linenumber">154</context>
|
<context context-type="linenumber">154</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="70a67e04629f6d412db0a12d51820b480788d795" datatype="html">
|
||||||
|
<source>Create</source>
|
||||||
|
<target state="new">Create</target>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@ -1357,12 +1357,12 @@
|
|||||||
<context context-type="linenumber">87</context>
|
<context context-type="linenumber">87</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">387</context>
|
<context context-type="linenumber">4</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">2</context>
|
<context context-type="linenumber">16</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="43d544c2e88959f6c59cc4db419528fb0776bd6c" datatype="html">
|
<trans-unit id="43d544c2e88959f6c59cc4db419528fb0776bd6c" datatype="html">
|
||||||
@ -1370,7 +1370,7 @@
|
|||||||
<target state="translated">Datenfehler melden</target>
|
<target state="translated">Datenfehler melden</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
||||||
<context context-type="linenumber">406</context>
|
<context context-type="linenumber">385</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2ee26d58f2707416e636887111d5603b35346c4a" datatype="html">
|
<trans-unit id="2ee26d58f2707416e636887111d5603b35346c4a" datatype="html">
|
||||||
@ -7748,6 +7748,14 @@
|
|||||||
<context context-type="linenumber">154</context>
|
<context context-type="linenumber">154</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="70a67e04629f6d412db0a12d51820b480788d795" datatype="html">
|
||||||
|
<source>Create</source>
|
||||||
|
<target state="translated">Erstelle</target>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@ -1358,12 +1358,12 @@
|
|||||||
<context context-type="linenumber">87</context>
|
<context context-type="linenumber">87</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">387</context>
|
<context context-type="linenumber">4</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">2</context>
|
<context context-type="linenumber">16</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="43d544c2e88959f6c59cc4db419528fb0776bd6c" datatype="html">
|
<trans-unit id="43d544c2e88959f6c59cc4db419528fb0776bd6c" datatype="html">
|
||||||
@ -1371,7 +1371,7 @@
|
|||||||
<target state="translated">Reporta un anomalía de los datos</target>
|
<target state="translated">Reporta un anomalía de los datos</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
||||||
<context context-type="linenumber">406</context>
|
<context context-type="linenumber">385</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2ee26d58f2707416e636887111d5603b35346c4a" datatype="html">
|
<trans-unit id="2ee26d58f2707416e636887111d5603b35346c4a" datatype="html">
|
||||||
@ -7749,6 +7749,14 @@
|
|||||||
<context context-type="linenumber">154</context>
|
<context context-type="linenumber">154</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="70a67e04629f6d412db0a12d51820b480788d795" datatype="html">
|
||||||
|
<source>Create</source>
|
||||||
|
<target state="new">Create</target>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@ -969,12 +969,12 @@
|
|||||||
<context context-type="linenumber">87</context>
|
<context context-type="linenumber">87</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">387</context>
|
<context context-type="linenumber">4</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">2</context>
|
<context context-type="linenumber">16</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="62f17fd50522539fd4c85854828db9d2e1c5330f" datatype="html">
|
<trans-unit id="62f17fd50522539fd4c85854828db9d2e1c5330f" datatype="html">
|
||||||
@ -1718,7 +1718,7 @@
|
|||||||
<target state="translated">Signaler une Erreur de Données</target>
|
<target state="translated">Signaler une Erreur de Données</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
||||||
<context context-type="linenumber">406</context>
|
<context context-type="linenumber">385</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="6048892649018070225" datatype="html">
|
<trans-unit id="6048892649018070225" datatype="html">
|
||||||
@ -7748,6 +7748,14 @@
|
|||||||
<context context-type="linenumber">154</context>
|
<context context-type="linenumber">154</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="70a67e04629f6d412db0a12d51820b480788d795" datatype="html">
|
||||||
|
<source>Create</source>
|
||||||
|
<target state="new">Create</target>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@ -1358,12 +1358,12 @@
|
|||||||
<context context-type="linenumber">87</context>
|
<context context-type="linenumber">87</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">387</context>
|
<context context-type="linenumber">4</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">2</context>
|
<context context-type="linenumber">16</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="43d544c2e88959f6c59cc4db419528fb0776bd6c" datatype="html">
|
<trans-unit id="43d544c2e88959f6c59cc4db419528fb0776bd6c" datatype="html">
|
||||||
@ -1371,7 +1371,7 @@
|
|||||||
<target state="translated">Segnala un’anomalia dei dati</target>
|
<target state="translated">Segnala un’anomalia dei dati</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
||||||
<context context-type="linenumber">406</context>
|
<context context-type="linenumber">385</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2ee26d58f2707416e636887111d5603b35346c4a" datatype="html">
|
<trans-unit id="2ee26d58f2707416e636887111d5603b35346c4a" datatype="html">
|
||||||
@ -7749,6 +7749,14 @@
|
|||||||
<context context-type="linenumber">154</context>
|
<context context-type="linenumber">154</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="70a67e04629f6d412db0a12d51820b480788d795" datatype="html">
|
||||||
|
<source>Create</source>
|
||||||
|
<target state="new">Create</target>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@ -1357,12 +1357,12 @@
|
|||||||
<context context-type="linenumber">87</context>
|
<context context-type="linenumber">87</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">387</context>
|
<context context-type="linenumber">4</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">2</context>
|
<context context-type="linenumber">16</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="43d544c2e88959f6c59cc4db419528fb0776bd6c" datatype="html">
|
<trans-unit id="43d544c2e88959f6c59cc4db419528fb0776bd6c" datatype="html">
|
||||||
@ -1370,7 +1370,7 @@
|
|||||||
<target state="translated">Gegevensstoring melden</target>
|
<target state="translated">Gegevensstoring melden</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
||||||
<context context-type="linenumber">406</context>
|
<context context-type="linenumber">385</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2ee26d58f2707416e636887111d5603b35346c4a" datatype="html">
|
<trans-unit id="2ee26d58f2707416e636887111d5603b35346c4a" datatype="html">
|
||||||
@ -7748,6 +7748,14 @@
|
|||||||
<context context-type="linenumber">154</context>
|
<context context-type="linenumber">154</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="70a67e04629f6d412db0a12d51820b480788d795" datatype="html">
|
||||||
|
<source>Create</source>
|
||||||
|
<target state="new">Create</target>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@ -2046,12 +2046,12 @@
|
|||||||
<context context-type="linenumber">87</context>
|
<context context-type="linenumber">87</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">387</context>
|
<context context-type="linenumber">4</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">2</context>
|
<context context-type="linenumber">16</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="de074268d7d7d759a6ca93af78aace60e16bb671" datatype="html">
|
<trans-unit id="de074268d7d7d759a6ca93af78aace60e16bb671" datatype="html">
|
||||||
@ -2803,7 +2803,7 @@
|
|||||||
<target state="translated">Zgłoś Błąd Danych</target>
|
<target state="translated">Zgłoś Błąd Danych</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
||||||
<context context-type="linenumber">406</context>
|
<context context-type="linenumber">385</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2573979fd7d8602db44b7b4ad493428bc354d2f5" datatype="html">
|
<trans-unit id="2573979fd7d8602db44b7b4ad493428bc354d2f5" datatype="html">
|
||||||
@ -7748,6 +7748,14 @@
|
|||||||
<context context-type="linenumber">154</context>
|
<context context-type="linenumber">154</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="70a67e04629f6d412db0a12d51820b480788d795" datatype="html">
|
||||||
|
<source>Create</source>
|
||||||
|
<target state="new">Create</target>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@ -1665,12 +1665,12 @@
|
|||||||
<context context-type="linenumber">87</context>
|
<context context-type="linenumber">87</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">387</context>
|
<context context-type="linenumber">4</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">2</context>
|
<context context-type="linenumber">16</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="43d544c2e88959f6c59cc4db419528fb0776bd6c" datatype="html">
|
<trans-unit id="43d544c2e88959f6c59cc4db419528fb0776bd6c" datatype="html">
|
||||||
@ -1678,7 +1678,7 @@
|
|||||||
<target state="translated">Dados do Relatório com Problema</target>
|
<target state="translated">Dados do Relatório com Problema</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
||||||
<context context-type="linenumber">406</context>
|
<context context-type="linenumber">385</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2ee26d58f2707416e636887111d5603b35346c4a" datatype="html">
|
<trans-unit id="2ee26d58f2707416e636887111d5603b35346c4a" datatype="html">
|
||||||
@ -7748,6 +7748,14 @@
|
|||||||
<context context-type="linenumber">154</context>
|
<context context-type="linenumber">154</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="70a67e04629f6d412db0a12d51820b480788d795" datatype="html">
|
||||||
|
<source>Create</source>
|
||||||
|
<target state="new">Create</target>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@ -1782,12 +1782,12 @@
|
|||||||
<context context-type="linenumber">87</context>
|
<context context-type="linenumber">87</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">387</context>
|
<context context-type="linenumber">4</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">2</context>
|
<context context-type="linenumber">16</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="62f17fd50522539fd4c85854828db9d2e1c5330f" datatype="html">
|
<trans-unit id="62f17fd50522539fd4c85854828db9d2e1c5330f" datatype="html">
|
||||||
@ -2647,7 +2647,7 @@
|
|||||||
<target state="translated">Rapor Veri Sorunu</target>
|
<target state="translated">Rapor Veri Sorunu</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
||||||
<context context-type="linenumber">406</context>
|
<context context-type="linenumber">385</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2573979fd7d8602db44b7b4ad493428bc354d2f5" datatype="html">
|
<trans-unit id="2573979fd7d8602db44b7b4ad493428bc354d2f5" datatype="html">
|
||||||
@ -7748,6 +7748,14 @@
|
|||||||
<context context-type="linenumber">154</context>
|
<context context-type="linenumber">154</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="70a67e04629f6d412db0a12d51820b480788d795" datatype="html">
|
||||||
|
<source>Create</source>
|
||||||
|
<target state="new">Create</target>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@ -2258,12 +2258,12 @@
|
|||||||
<context context-type="linenumber">87</context>
|
<context context-type="linenumber">87</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">387</context>
|
<context context-type="linenumber">4</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">2</context>
|
<context context-type="linenumber">16</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="5649402767950535555" datatype="html">
|
<trans-unit id="5649402767950535555" datatype="html">
|
||||||
@ -2767,7 +2767,7 @@
|
|||||||
<target state="translated">Повідомити про збій даних</target>
|
<target state="translated">Повідомити про збій даних</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
||||||
<context context-type="linenumber">406</context>
|
<context context-type="linenumber">385</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="8204176479746810612" datatype="html">
|
<trans-unit id="8204176479746810612" datatype="html">
|
||||||
@ -7748,6 +7748,14 @@
|
|||||||
<context context-type="linenumber">154</context>
|
<context context-type="linenumber">154</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="70a67e04629f6d412db0a12d51820b480788d795" datatype="html">
|
||||||
|
<source>Create</source>
|
||||||
|
<target state="new">Create</target>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@ -1943,12 +1943,12 @@
|
|||||||
<context context-type="linenumber">87</context>
|
<context context-type="linenumber">87</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">387</context>
|
<context context-type="linenumber">4</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">2</context>
|
<context context-type="linenumber">16</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="de074268d7d7d759a6ca93af78aace60e16bb671" datatype="html">
|
<trans-unit id="de074268d7d7d759a6ca93af78aace60e16bb671" datatype="html">
|
||||||
@ -2623,7 +2623,7 @@
|
|||||||
<source>Report Data Glitch</source>
|
<source>Report Data Glitch</source>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
||||||
<context context-type="linenumber">406</context>
|
<context context-type="linenumber">385</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2573979fd7d8602db44b7b4ad493428bc354d2f5" datatype="html">
|
<trans-unit id="2573979fd7d8602db44b7b4ad493428bc354d2f5" datatype="html">
|
||||||
@ -7007,6 +7007,13 @@
|
|||||||
<context context-type="linenumber">154</context>
|
<context context-type="linenumber">154</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="70a67e04629f6d412db0a12d51820b480788d795" datatype="html">
|
||||||
|
<source>Create</source>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@ -2063,12 +2063,12 @@
|
|||||||
<context context-type="linenumber">87</context>
|
<context context-type="linenumber">87</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">387</context>
|
<context context-type="linenumber">4</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
<context context-type="linenumber">2</context>
|
<context context-type="linenumber">16</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="de074268d7d7d759a6ca93af78aace60e16bb671" datatype="html">
|
<trans-unit id="de074268d7d7d759a6ca93af78aace60e16bb671" datatype="html">
|
||||||
@ -2820,7 +2820,7 @@
|
|||||||
<target state="translated">报告数据故障</target>
|
<target state="translated">报告数据故障</target>
|
||||||
<context-group purpose="location">
|
<context-group purpose="location">
|
||||||
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
<context context-type="sourcefile">apps/client/src/app/components/holding-detail-dialog/holding-detail-dialog.html</context>
|
||||||
<context context-type="linenumber">406</context>
|
<context context-type="linenumber">385</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
<trans-unit id="2573979fd7d8602db44b7b4ad493428bc354d2f5" datatype="html">
|
<trans-unit id="2573979fd7d8602db44b7b4ad493428bc354d2f5" datatype="html">
|
||||||
@ -7749,6 +7749,14 @@
|
|||||||
<context context-type="linenumber">154</context>
|
<context context-type="linenumber">154</context>
|
||||||
</context-group>
|
</context-group>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="70a67e04629f6d412db0a12d51820b480788d795" datatype="html">
|
||||||
|
<source>Create</source>
|
||||||
|
<target state="new">Create</target>
|
||||||
|
<context-group purpose="location">
|
||||||
|
<context context-type="sourcefile">libs/ui/src/lib/tags-selector/tags-selector.component.html</context>
|
||||||
|
<context context-type="linenumber">50</context>
|
||||||
|
</context-group>
|
||||||
|
</trans-unit>
|
||||||
</body>
|
</body>
|
||||||
</file>
|
</file>
|
||||||
</xliff>
|
</xliff>
|
||||||
|
@ -42,6 +42,17 @@
|
|||||||
{{ tag.name }}
|
{{ tag.name }}
|
||||||
</mat-option>
|
</mat-option>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@if (hasPermissionToCreateTags && tagInputControl.value) {
|
||||||
|
<mat-option [value]="tagInputControl.value.trim()">
|
||||||
|
<span class="align-items-center d-flex">
|
||||||
|
<ion-icon class="mr-2" name="add-circle-outline" />
|
||||||
|
<ng-container i18n>Create</ng-container> "{{
|
||||||
|
tagInputControl.value.trim()
|
||||||
|
}}"
|
||||||
|
</span>
|
||||||
|
</mat-option>
|
||||||
|
}
|
||||||
</mat-autocomplete>
|
</mat-autocomplete>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
}
|
}
|
||||||
|
@ -47,6 +47,20 @@ export const Default: Story = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const CreateCustomTags: Story = {
|
||||||
|
args: {
|
||||||
|
hasPermissionToCreateTags: true,
|
||||||
|
tags: [
|
||||||
|
{
|
||||||
|
id: 'EMERGENCY_FUND',
|
||||||
|
name: 'Emergency Fund',
|
||||||
|
userId: null
|
||||||
|
}
|
||||||
|
],
|
||||||
|
tagsAvailable: OPTIONS
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
export const Readonly: Story = {
|
export const Readonly: Story = {
|
||||||
args: {
|
args: {
|
||||||
readonly: true,
|
readonly: true,
|
||||||
|
@ -42,6 +42,7 @@ import { BehaviorSubject, Subject, takeUntil } from 'rxjs';
|
|||||||
templateUrl: 'tags-selector.component.html'
|
templateUrl: 'tags-selector.component.html'
|
||||||
})
|
})
|
||||||
export class GfTagsSelectorComponent implements OnInit, OnChanges, OnDestroy {
|
export class GfTagsSelectorComponent implements OnInit, OnChanges, OnDestroy {
|
||||||
|
@Input() hasPermissionToCreateTags = false;
|
||||||
@Input() readonly = false;
|
@Input() readonly = false;
|
||||||
@Input() tags: Tag[];
|
@Input() tags: Tag[];
|
||||||
@Input() tagsAvailable: Tag[];
|
@Input() tagsAvailable: Tag[];
|
||||||
@ -76,10 +77,18 @@ export class GfTagsSelectorComponent implements OnInit, OnChanges, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public onAddTag(event: MatAutocompleteSelectedEvent) {
|
public onAddTag(event: MatAutocompleteSelectedEvent) {
|
||||||
const tag = this.tagsAvailable.find(({ id }) => {
|
let tag = this.tagsAvailable.find(({ id }) => {
|
||||||
return id === event.option.value;
|
return id === event.option.value;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (!tag && this.hasPermissionToCreateTags) {
|
||||||
|
tag = {
|
||||||
|
id: undefined,
|
||||||
|
name: event.option.value as string,
|
||||||
|
userId: null
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
this.tagsSelected.update((tags) => {
|
this.tagsSelected.update((tags) => {
|
||||||
return [...(tags ?? []), tag];
|
return [...(tags ?? []), tag];
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user