-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tomas Hermanek
committed
Dec 13, 2024
1 parent
0a31d86
commit f3e0fc8
Showing
12 changed files
with
162 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"model": { | ||
"id": "ID", | ||
"phrase": "Phrase", | ||
"authorReplacement": "Replace by author", | ||
"type": "Type", | ||
"mode": "Mode", | ||
"position": "Position", | ||
"flags": { | ||
"wordBoundary": "Separate word" | ||
} | ||
}, | ||
"filter": { | ||
"id": "ID", | ||
"phrase": "Phrase", | ||
"type": "Type", | ||
"mode": "Mode" | ||
}, | ||
"button": { | ||
"create": "Create", | ||
"playground": "Playground" | ||
}, | ||
"meta": { | ||
"playground": "Phrase testing", | ||
"test": "Test" | ||
}, | ||
"dto": { | ||
"name": "Name", | ||
"authorNames": "Author strings", | ||
"authors": "Authors" | ||
}, | ||
"mode": { | ||
"split": "Split", | ||
"remove": "Remove", | ||
"replace": "Replace" | ||
}, | ||
"type": { | ||
"word": "Word", | ||
"regex": "Regular expression" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"error_invalid_key": "error_invalid_key error", | ||
"error_invalid_licence": "error_invalid_licence error" | ||
"error_invalid_licence": "error_invalid_licence error", | ||
"error_invalid_ext_system": "error_invalid_ext_system error" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"error_invalid_key": "Neplatný kľúč.", | ||
"error_invalid_licence": "Neplatná licencia." | ||
"error_invalid_licence": "Neplatná licencia.", | ||
"error_invalid_ext_system": "Neplatný externý systém" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/views/coreDam/authorCleanPhrase/components/AuthorCleanPhraseModeChip.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script lang="ts" setup> | ||
import { computed } from 'vue' | ||
import { AChipNoLink } from '@anzusystems/common-admin' | ||
import { | ||
type AuthorCleanPhraseModeType, | ||
useAuthorCleanPhraseModeTypes | ||
} from '@/model/coreDam/valueObject/AuthorCleanPhraseMode' | ||
const props = withDefaults( | ||
defineProps<{ | ||
mode: AuthorCleanPhraseModeType | ||
}>(), | ||
{} | ||
) | ||
const { getAuthorCleanPhraseModeOption } = useAuthorCleanPhraseModeTypes() | ||
const statusOption = computed(() => { | ||
return getAuthorCleanPhraseModeOption(props.mode) | ||
}) | ||
</script> | ||
|
||
<template> | ||
<AChipNoLink v-if="statusOption"> | ||
{{ statusOption.title }} | ||
</AChipNoLink> | ||
</template> |
26 changes: 26 additions & 0 deletions
26
src/views/coreDam/authorCleanPhrase/components/AuthorCleanPhraseTypeChip.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<script lang="ts" setup> | ||
import { computed } from 'vue' | ||
import { AChipNoLink } from '@anzusystems/common-admin' | ||
import { | ||
type AuthorCleanPhraseTypeType, | ||
useAuthorCleanPhraseTypeTypes | ||
} from '@/model/coreDam/valueObject/AuthorCleanPhraseType' | ||
const props = withDefaults( | ||
defineProps<{ | ||
type: AuthorCleanPhraseTypeType | ||
}>(), | ||
{} | ||
) | ||
const { getAuthorCleanPhraseTypeOption } = useAuthorCleanPhraseTypeTypes() | ||
const statusOption = computed(() => { | ||
return getAuthorCleanPhraseTypeOption(props.type) | ||
}) | ||
</script> | ||
|
||
<template> | ||
<AChipNoLink v-if="statusOption"> | ||
{{ statusOption.title }} | ||
</AChipNoLink> | ||
</template> |