@intlayer/design-system 9.0.0-canary.0 → 9.0.0-canary.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/api/hooks/ai.mjs +20 -1
- package/dist/esm/api/hooks/ai.mjs.map +1 -1
- package/dist/esm/api/hooks/asset.mjs +78 -0
- package/dist/esm/api/hooks/asset.mjs.map +1 -0
- package/dist/esm/api/index.mjs +6 -5
- package/dist/esm/api/useIntlayerAPI.mjs +6 -1
- package/dist/esm/api/useIntlayerAPI.mjs.map +1 -1
- package/dist/esm/components/Command/index.mjs +8 -8
- package/dist/esm/components/Command/index.mjs.map +1 -1
- package/dist/esm/components/ContentEditor/ContentEditorTextArea.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs +132 -35
- package/dist/esm/components/DictionaryFieldEditor/ContentEditor.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs +33 -11
- package/dist/esm/components/DictionaryFieldEditor/ContentEditorView/TextEditor.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs +146 -35
- package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs +308 -0
- package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs +12 -2
- package/dist/esm/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs +460 -20
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs +506 -0
- package/dist/esm/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs +10 -6
- package/dist/esm/components/DictionaryFieldEditor/DictionaryFieldEditor.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/NavigationView/NavigationViewNode.mjs +1 -1
- package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs +9 -9
- package/dist/esm/components/DictionaryFieldEditor/SaveForm/SaveForm.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs +2 -2
- package/dist/esm/components/DictionaryFieldEditor/StructureView/StructureView.mjs.map +1 -1
- package/dist/esm/components/DictionaryFieldEditor/contentEditor.content.mjs +79 -0
- package/dist/esm/components/DictionaryFieldEditor/contentEditor.content.mjs.map +1 -0
- package/dist/esm/components/Form/Form.mjs +3 -43
- package/dist/esm/components/Form/Form.mjs.map +1 -1
- package/dist/esm/components/Form/elements/FormElement.mjs +2 -3
- package/dist/esm/components/Form/elements/FormElement.mjs.map +1 -1
- package/dist/esm/components/Form/elements/MultiselectElement.mjs +2 -3
- package/dist/esm/components/Form/elements/MultiselectElement.mjs.map +1 -1
- package/dist/esm/components/Form/elements/OTPElement.mjs +3 -4
- package/dist/esm/components/Form/elements/OTPElement.mjs.map +1 -1
- package/dist/esm/components/Form/elements/SelectElement.mjs +2 -3
- package/dist/esm/components/Form/elements/SelectElement.mjs.map +1 -1
- package/dist/esm/components/Form/elements/SwitchSelectorElement.mjs +2 -3
- package/dist/esm/components/Form/elements/SwitchSelectorElement.mjs.map +1 -1
- package/dist/esm/components/Form/index.mjs +21 -2
- package/dist/esm/components/Form/layout/FormItemLayout.mjs +8 -5
- package/dist/esm/components/Form/layout/FormItemLayout.mjs.map +1 -1
- package/dist/esm/components/LanguageBackground/LanguageBackground.mjs +3 -8
- package/dist/esm/components/LanguageBackground/LanguageBackground.mjs.map +1 -1
- package/dist/esm/components/LocaleSwitcherContentDropDown/LocaleSwitcherContent.mjs +1 -1
- package/dist/esm/components/MarkDownRender/MarkDownRender.mjs +1 -1
- package/dist/esm/components/MarkDownRender/MarkDownRender.mjs.map +1 -1
- package/dist/esm/components/MarkdownEditor/MarkdownEditor.mjs +113 -0
- package/dist/esm/components/MarkdownEditor/MarkdownEditor.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/extensions.mjs +103 -0
- package/dist/esm/components/MarkdownEditor/extensions.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/generative/AICompletionCommands.mjs +51 -0
- package/dist/esm/components/MarkdownEditor/generative/AICompletionCommands.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/generative/AISelector.mjs +100 -0
- package/dist/esm/components/MarkdownEditor/generative/AISelector.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/generative/AISelectorCommands.mjs +81 -0
- package/dist/esm/components/MarkdownEditor/generative/AISelectorCommands.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/generative/GenerativeMenuSwitch.mjs +47 -0
- package/dist/esm/components/MarkdownEditor/generative/GenerativeMenuSwitch.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/generative/useAICompletion.mjs +83 -0
- package/dist/esm/components/MarkdownEditor/generative/useAICompletion.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/imageUpload.mjs +47 -0
- package/dist/esm/components/MarkdownEditor/imageUpload.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/index.mjs +4 -0
- package/dist/esm/components/MarkdownEditor/markdownEditor.content.mjs +1140 -0
- package/dist/esm/components/MarkdownEditor/markdownEditor.content.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/components/editor-bubble-item.mjs +20 -0
- package/dist/esm/components/MarkdownEditor/novel/components/editor-bubble-item.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/components/editor-bubble.mjs +39 -0
- package/dist/esm/components/MarkdownEditor/novel/components/editor-bubble.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/components/editor-command-item.mjs +25 -0
- package/dist/esm/components/MarkdownEditor/novel/components/editor-command-item.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/components/editor-command.mjs +61 -0
- package/dist/esm/components/MarkdownEditor/novel/components/editor-command.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/components/editor.mjs +27 -0
- package/dist/esm/components/MarkdownEditor/novel/components/editor.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/components/index.mjs +8 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/ai-highlight.mjs +74 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/ai-highlight.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/custom-keymap.mjs +37 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/custom-keymap.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/image-resizer.mjs +49 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/image-resizer.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/index.mjs +51 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/index.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/slash-command.mjs +79 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/slash-command.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/updated-image.mjs +17 -0
- package/dist/esm/components/MarkdownEditor/novel/extensions/updated-image.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/index.mjs +17 -0
- package/dist/esm/components/MarkdownEditor/novel/plugins/index.mjs +3 -0
- package/dist/esm/components/MarkdownEditor/novel/plugins/upload-images.mjs +92 -0
- package/dist/esm/components/MarkdownEditor/novel/plugins/upload-images.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/utils/atoms.mjs +39 -0
- package/dist/esm/components/MarkdownEditor/novel/utils/atoms.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/novel/utils/index.mjs +38 -0
- package/dist/esm/components/MarkdownEditor/novel/utils/index.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/selectors/ColorSelector.mjs +176 -0
- package/dist/esm/components/MarkdownEditor/selectors/ColorSelector.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/selectors/LinkSelector.mjs +95 -0
- package/dist/esm/components/MarkdownEditor/selectors/LinkSelector.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/selectors/NodeSelector.mjs +139 -0
- package/dist/esm/components/MarkdownEditor/selectors/NodeSelector.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/selectors/TextButtons.mjs +81 -0
- package/dist/esm/components/MarkdownEditor/selectors/TextButtons.mjs.map +1 -0
- package/dist/esm/components/MarkdownEditor/slashCommand.mjs +161 -0
- package/dist/esm/components/MarkdownEditor/slashCommand.mjs.map +1 -0
- package/dist/esm/components/Modal/Modal.mjs +2 -2
- package/dist/esm/components/Navbar/MobileNavbar.mjs +1 -1
- package/dist/esm/components/Pagination/Pagination.mjs +1 -1
- package/dist/esm/components/Pattern/GridDistortionPattern.mjs +275 -0
- package/dist/esm/components/Pattern/GridDistortionPattern.mjs.map +1 -0
- package/dist/esm/components/Pattern/index.mjs +2 -1
- package/dist/esm/components/RightDrawer/RightDrawer.mjs +3 -3
- package/dist/esm/components/Tab/Tab.mjs +1 -1
- package/dist/esm/components/Table/Table.mjs +1 -1
- package/dist/esm/components/Table/Table.mjs.map +1 -1
- package/dist/esm/components/Tag/index.mjs +0 -9
- package/dist/esm/components/Tag/index.mjs.map +1 -1
- package/dist/esm/components/Toaster/Toast.mjs +1 -1
- package/dist/esm/components/Toaster/Toast.mjs.map +1 -1
- package/dist/esm/components/index.mjs +27 -6
- package/dist/esm/hooks/index.mjs +8 -8
- package/dist/esm/hooks/useIsMounted.mjs +4 -2
- package/dist/esm/hooks/useIsMounted.mjs.map +1 -1
- package/dist/esm/routes.mjs +2 -1
- package/dist/esm/routes.mjs.map +1 -1
- package/dist/types/api/hooks/ai.d.ts +5 -1
- package/dist/types/api/hooks/ai.d.ts.map +1 -1
- package/dist/types/api/hooks/asset.d.ts +27 -0
- package/dist/types/api/hooks/asset.d.ts.map +1 -0
- package/dist/types/api/hooks/audit.d.ts +1 -1
- package/dist/types/api/index.d.ts +4 -3
- package/dist/types/api/useIntlayerAPI.d.ts +15 -3
- package/dist/types/api/useIntlayerAPI.d.ts.map +1 -1
- package/dist/types/components/Badge/index.d.ts +1 -1
- package/dist/types/components/Breadcrumb/index.d.ts +1 -1
- package/dist/types/components/Button/Button.d.ts +3 -3
- package/dist/types/components/CollapsibleTable/CollapsibleTable.d.ts +2 -2
- package/dist/types/components/Command/index.d.ts.map +1 -1
- package/dist/types/components/Container/index.d.ts +1 -1
- package/dist/types/components/DictionaryFieldEditor/ContentEditor.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/ContentEditorView/TextEditor.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/DictionaryCreationForm.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts +308 -0
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts +12 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts +2 -0
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts +506 -0
- package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/dictionaryDetails.content.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts +2 -1
- package/dist/types/components/DictionaryFieldEditor/DictionaryFieldEditor.d.ts.map +1 -1
- package/dist/types/components/DictionaryFieldEditor/contentEditor.content.d.ts +80 -0
- package/dist/types/components/DictionaryFieldEditor/contentEditor.content.d.ts.map +1 -0
- package/dist/types/components/Form/Form.d.ts +27 -47
- package/dist/types/components/Form/Form.d.ts.map +1 -1
- package/dist/types/components/Form/elements/FormElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/MultiselectElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/OTPElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/SelectElement.d.ts.map +1 -1
- package/dist/types/components/Form/elements/SwitchSelectorElement.d.ts.map +1 -1
- package/dist/types/components/Form/index.d.ts +22 -3
- package/dist/types/components/Form/layout/FormItemLayout.d.ts.map +1 -1
- package/dist/types/components/Input/Checkbox.d.ts +3 -3
- package/dist/types/components/Input/Input.d.ts +1 -1
- package/dist/types/components/Input/Radio.d.ts +3 -3
- package/dist/types/components/LanguageBackground/LanguageBackground.d.ts.map +1 -1
- package/dist/types/components/Link/Link.d.ts +1 -1
- package/dist/types/components/MarkdownEditor/MarkdownEditor.d.ts +31 -0
- package/dist/types/components/MarkdownEditor/MarkdownEditor.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/extensions.d.ts +11 -0
- package/dist/types/components/MarkdownEditor/extensions.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/generative/AICompletionCommands.d.ts +18 -0
- package/dist/types/components/MarkdownEditor/generative/AICompletionCommands.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/generative/AISelector.d.ts +22 -0
- package/dist/types/components/MarkdownEditor/generative/AISelector.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/generative/AISelectorCommands.d.ts +17 -0
- package/dist/types/components/MarkdownEditor/generative/AISelectorCommands.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/generative/GenerativeMenuSwitch.d.ts +26 -0
- package/dist/types/components/MarkdownEditor/generative/GenerativeMenuSwitch.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/generative/useAICompletion.d.ts +30 -0
- package/dist/types/components/MarkdownEditor/generative/useAICompletion.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/imageUpload.d.ts +29 -0
- package/dist/types/components/MarkdownEditor/imageUpload.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/index.d.ts +3 -0
- package/dist/types/components/MarkdownEditor/markdownEditor.content.d.ts +1135 -0
- package/dist/types/components/MarkdownEditor/markdownEditor.content.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/components/editor-bubble-item.d.ts +14 -0
- package/dist/types/components/MarkdownEditor/novel/components/editor-bubble-item.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/components/editor-bubble.d.ts +18 -0
- package/dist/types/components/MarkdownEditor/novel/components/editor-bubble.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/components/editor-command-item.d.ts +28 -0
- package/dist/types/components/MarkdownEditor/novel/components/editor-command-item.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/components/editor-command.d.ts +34 -0
- package/dist/types/components/MarkdownEditor/novel/components/editor-command.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/components/editor.d.ts +23 -0
- package/dist/types/components/MarkdownEditor/novel/components/editor.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/components/index.d.ts +8 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/ai-highlight.d.ts +36 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/ai-highlight.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/custom-keymap.d.ts +17 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/custom-keymap.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/image-resizer.d.ts +7 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/image-resizer.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/index.d.ts +30 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/index.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/slash-command.d.ts +38 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/slash-command.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/updated-image.d.ts +8 -0
- package/dist/types/components/MarkdownEditor/novel/extensions/updated-image.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/index.d.ts +16 -0
- package/dist/types/components/MarkdownEditor/novel/plugins/index.d.ts +2 -0
- package/dist/types/components/MarkdownEditor/novel/plugins/upload-images.d.ts +22 -0
- package/dist/types/components/MarkdownEditor/novel/plugins/upload-images.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/utils/atoms.d.ts +21 -0
- package/dist/types/components/MarkdownEditor/novel/utils/atoms.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/novel/utils/index.d.ts +10 -0
- package/dist/types/components/MarkdownEditor/novel/utils/index.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/selectors/ColorSelector.d.ts +17 -0
- package/dist/types/components/MarkdownEditor/selectors/ColorSelector.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/selectors/LinkSelector.d.ts +15 -0
- package/dist/types/components/MarkdownEditor/selectors/LinkSelector.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/selectors/NodeSelector.d.ts +22 -0
- package/dist/types/components/MarkdownEditor/selectors/NodeSelector.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/selectors/TextButtons.d.ts +11 -0
- package/dist/types/components/MarkdownEditor/selectors/TextButtons.d.ts.map +1 -0
- package/dist/types/components/MarkdownEditor/slashCommand.d.ts +29 -0
- package/dist/types/components/MarkdownEditor/slashCommand.d.ts.map +1 -0
- package/dist/types/components/Pattern/GridDistortionPattern.d.ts +15 -0
- package/dist/types/components/Pattern/GridDistortionPattern.d.ts.map +1 -0
- package/dist/types/components/Pattern/index.d.ts +2 -1
- package/dist/types/components/SwitchSelector/SwitchSelector.d.ts +1 -1
- package/dist/types/components/SwitchSelector/VerticalSwitchSelector.d.ts +1 -1
- package/dist/types/components/Tag/index.d.ts +2 -2
- package/dist/types/components/Tag/index.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toast.d.ts +1 -1
- package/dist/types/components/index.d.ts +24 -3
- package/dist/types/routes.d.ts +2 -1
- package/dist/types/routes.d.ts.map +1 -1
- package/package.json +63 -32
- package/src/components/MarkdownEditor/markdown-editor.css +297 -0
|
@@ -88,6 +88,314 @@ declare const dictionaryFormContent: {
|
|
|
88
88
|
uk: string;
|
|
89
89
|
}>;
|
|
90
90
|
};
|
|
91
|
+
qualifierTypeSelect: {
|
|
92
|
+
label: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
93
|
+
en: string;
|
|
94
|
+
'en-GB': string;
|
|
95
|
+
fr: string;
|
|
96
|
+
es: string;
|
|
97
|
+
de: string;
|
|
98
|
+
ja: string;
|
|
99
|
+
ko: string;
|
|
100
|
+
zh: string;
|
|
101
|
+
it: string;
|
|
102
|
+
pt: string;
|
|
103
|
+
hi: string;
|
|
104
|
+
ar: string;
|
|
105
|
+
ru: string;
|
|
106
|
+
tr: string;
|
|
107
|
+
pl: string;
|
|
108
|
+
id: string;
|
|
109
|
+
vi: string;
|
|
110
|
+
uk: string;
|
|
111
|
+
}>;
|
|
112
|
+
description: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
113
|
+
en: string;
|
|
114
|
+
'en-GB': string;
|
|
115
|
+
fr: string;
|
|
116
|
+
es: string;
|
|
117
|
+
de: string;
|
|
118
|
+
ja: string;
|
|
119
|
+
ko: string;
|
|
120
|
+
zh: string;
|
|
121
|
+
it: string;
|
|
122
|
+
pt: string;
|
|
123
|
+
hi: string;
|
|
124
|
+
ar: string;
|
|
125
|
+
ru: string;
|
|
126
|
+
tr: string;
|
|
127
|
+
pl: string;
|
|
128
|
+
id: string;
|
|
129
|
+
vi: string;
|
|
130
|
+
uk: string;
|
|
131
|
+
}>;
|
|
132
|
+
none: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
133
|
+
en: string;
|
|
134
|
+
'en-GB': string;
|
|
135
|
+
fr: string;
|
|
136
|
+
es: string;
|
|
137
|
+
de: string;
|
|
138
|
+
ja: string;
|
|
139
|
+
ko: string;
|
|
140
|
+
zh: string;
|
|
141
|
+
it: string;
|
|
142
|
+
pt: string;
|
|
143
|
+
hi: string;
|
|
144
|
+
ar: string;
|
|
145
|
+
ru: string;
|
|
146
|
+
tr: string;
|
|
147
|
+
pl: string;
|
|
148
|
+
id: string;
|
|
149
|
+
vi: string;
|
|
150
|
+
uk: string;
|
|
151
|
+
}>;
|
|
152
|
+
item: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
153
|
+
en: string;
|
|
154
|
+
'en-GB': string;
|
|
155
|
+
fr: string;
|
|
156
|
+
es: string;
|
|
157
|
+
de: string;
|
|
158
|
+
ja: string;
|
|
159
|
+
ko: string;
|
|
160
|
+
zh: string;
|
|
161
|
+
it: string;
|
|
162
|
+
pt: string;
|
|
163
|
+
hi: string;
|
|
164
|
+
ar: string;
|
|
165
|
+
ru: string;
|
|
166
|
+
tr: string;
|
|
167
|
+
pl: string;
|
|
168
|
+
id: string;
|
|
169
|
+
vi: string;
|
|
170
|
+
uk: string;
|
|
171
|
+
}>;
|
|
172
|
+
variant: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
173
|
+
en: string;
|
|
174
|
+
'en-GB': string;
|
|
175
|
+
fr: string;
|
|
176
|
+
es: string;
|
|
177
|
+
de: string;
|
|
178
|
+
ja: string;
|
|
179
|
+
ko: string;
|
|
180
|
+
zh: string;
|
|
181
|
+
it: string;
|
|
182
|
+
pt: string;
|
|
183
|
+
hi: string;
|
|
184
|
+
ar: string;
|
|
185
|
+
ru: string;
|
|
186
|
+
tr: string;
|
|
187
|
+
pl: string;
|
|
188
|
+
id: string;
|
|
189
|
+
vi: string;
|
|
190
|
+
uk: string;
|
|
191
|
+
}>;
|
|
192
|
+
meta: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
193
|
+
en: string;
|
|
194
|
+
'en-GB': string;
|
|
195
|
+
fr: string;
|
|
196
|
+
es: string;
|
|
197
|
+
de: string;
|
|
198
|
+
ja: string;
|
|
199
|
+
ko: string;
|
|
200
|
+
zh: string;
|
|
201
|
+
it: string;
|
|
202
|
+
pt: string;
|
|
203
|
+
hi: string;
|
|
204
|
+
ar: string;
|
|
205
|
+
ru: string;
|
|
206
|
+
tr: string;
|
|
207
|
+
pl: string;
|
|
208
|
+
id: string;
|
|
209
|
+
vi: string;
|
|
210
|
+
uk: string;
|
|
211
|
+
}>;
|
|
212
|
+
};
|
|
213
|
+
itemInput: {
|
|
214
|
+
label: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
215
|
+
en: string;
|
|
216
|
+
'en-GB': string;
|
|
217
|
+
fr: string;
|
|
218
|
+
es: string;
|
|
219
|
+
de: string;
|
|
220
|
+
ja: string;
|
|
221
|
+
ko: string;
|
|
222
|
+
zh: string;
|
|
223
|
+
it: string;
|
|
224
|
+
pt: string;
|
|
225
|
+
hi: string;
|
|
226
|
+
ar: string;
|
|
227
|
+
ru: string;
|
|
228
|
+
tr: string;
|
|
229
|
+
pl: string;
|
|
230
|
+
id: string;
|
|
231
|
+
vi: string;
|
|
232
|
+
uk: string;
|
|
233
|
+
}>;
|
|
234
|
+
placeholder: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
235
|
+
en: string;
|
|
236
|
+
'en-GB': string;
|
|
237
|
+
fr: string;
|
|
238
|
+
es: string;
|
|
239
|
+
de: string;
|
|
240
|
+
ja: string;
|
|
241
|
+
ko: string;
|
|
242
|
+
zh: string;
|
|
243
|
+
it: string;
|
|
244
|
+
pt: string;
|
|
245
|
+
hi: string;
|
|
246
|
+
ar: string;
|
|
247
|
+
ru: string;
|
|
248
|
+
tr: string;
|
|
249
|
+
pl: string;
|
|
250
|
+
id: string;
|
|
251
|
+
vi: string;
|
|
252
|
+
uk: string;
|
|
253
|
+
}>;
|
|
254
|
+
description: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
255
|
+
en: string;
|
|
256
|
+
'en-GB': string;
|
|
257
|
+
fr: string;
|
|
258
|
+
es: string;
|
|
259
|
+
de: string;
|
|
260
|
+
ja: string;
|
|
261
|
+
ko: string;
|
|
262
|
+
zh: string;
|
|
263
|
+
it: string;
|
|
264
|
+
pt: string;
|
|
265
|
+
hi: string;
|
|
266
|
+
ar: string;
|
|
267
|
+
ru: string;
|
|
268
|
+
tr: string;
|
|
269
|
+
pl: string;
|
|
270
|
+
id: string;
|
|
271
|
+
vi: string;
|
|
272
|
+
uk: string;
|
|
273
|
+
}>;
|
|
274
|
+
};
|
|
275
|
+
variantInput: {
|
|
276
|
+
label: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
277
|
+
en: string;
|
|
278
|
+
'en-GB': string;
|
|
279
|
+
fr: string;
|
|
280
|
+
es: string;
|
|
281
|
+
de: string;
|
|
282
|
+
ja: string;
|
|
283
|
+
ko: string;
|
|
284
|
+
zh: string;
|
|
285
|
+
it: string;
|
|
286
|
+
pt: string;
|
|
287
|
+
hi: string;
|
|
288
|
+
ar: string;
|
|
289
|
+
ru: string;
|
|
290
|
+
tr: string;
|
|
291
|
+
pl: string;
|
|
292
|
+
id: string;
|
|
293
|
+
vi: string;
|
|
294
|
+
uk: string;
|
|
295
|
+
}>;
|
|
296
|
+
placeholder: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
297
|
+
en: string;
|
|
298
|
+
'en-GB': string;
|
|
299
|
+
fr: string;
|
|
300
|
+
es: string;
|
|
301
|
+
de: string;
|
|
302
|
+
ja: string;
|
|
303
|
+
ko: string;
|
|
304
|
+
zh: string;
|
|
305
|
+
it: string;
|
|
306
|
+
pt: string;
|
|
307
|
+
hi: string;
|
|
308
|
+
ar: string;
|
|
309
|
+
ru: string;
|
|
310
|
+
tr: string;
|
|
311
|
+
pl: string;
|
|
312
|
+
id: string;
|
|
313
|
+
vi: string;
|
|
314
|
+
uk: string;
|
|
315
|
+
}>;
|
|
316
|
+
description: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
317
|
+
en: string;
|
|
318
|
+
'en-GB': string;
|
|
319
|
+
fr: string;
|
|
320
|
+
es: string;
|
|
321
|
+
de: string;
|
|
322
|
+
ja: string;
|
|
323
|
+
ko: string;
|
|
324
|
+
zh: string;
|
|
325
|
+
it: string;
|
|
326
|
+
pt: string;
|
|
327
|
+
hi: string;
|
|
328
|
+
ar: string;
|
|
329
|
+
ru: string;
|
|
330
|
+
tr: string;
|
|
331
|
+
pl: string;
|
|
332
|
+
id: string;
|
|
333
|
+
vi: string;
|
|
334
|
+
uk: string;
|
|
335
|
+
}>;
|
|
336
|
+
};
|
|
337
|
+
metaIdInput: {
|
|
338
|
+
label: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
339
|
+
en: string;
|
|
340
|
+
'en-GB': string;
|
|
341
|
+
fr: string;
|
|
342
|
+
es: string;
|
|
343
|
+
de: string;
|
|
344
|
+
ja: string;
|
|
345
|
+
ko: string;
|
|
346
|
+
zh: string;
|
|
347
|
+
it: string;
|
|
348
|
+
pt: string;
|
|
349
|
+
hi: string;
|
|
350
|
+
ar: string;
|
|
351
|
+
ru: string;
|
|
352
|
+
tr: string;
|
|
353
|
+
pl: string;
|
|
354
|
+
id: string;
|
|
355
|
+
vi: string;
|
|
356
|
+
uk: string;
|
|
357
|
+
}>;
|
|
358
|
+
placeholder: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
359
|
+
en: string;
|
|
360
|
+
'en-GB': string;
|
|
361
|
+
fr: string;
|
|
362
|
+
es: string;
|
|
363
|
+
de: string;
|
|
364
|
+
ja: string;
|
|
365
|
+
ko: string;
|
|
366
|
+
zh: string;
|
|
367
|
+
it: string;
|
|
368
|
+
pt: string;
|
|
369
|
+
hi: string;
|
|
370
|
+
ar: string;
|
|
371
|
+
ru: string;
|
|
372
|
+
tr: string;
|
|
373
|
+
pl: string;
|
|
374
|
+
id: string;
|
|
375
|
+
vi: string;
|
|
376
|
+
uk: string;
|
|
377
|
+
}>;
|
|
378
|
+
description: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
379
|
+
en: string;
|
|
380
|
+
'en-GB': string;
|
|
381
|
+
fr: string;
|
|
382
|
+
es: string;
|
|
383
|
+
de: string;
|
|
384
|
+
ja: string;
|
|
385
|
+
ko: string;
|
|
386
|
+
zh: string;
|
|
387
|
+
it: string;
|
|
388
|
+
pt: string;
|
|
389
|
+
hi: string;
|
|
390
|
+
ar: string;
|
|
391
|
+
ru: string;
|
|
392
|
+
tr: string;
|
|
393
|
+
pl: string;
|
|
394
|
+
id: string;
|
|
395
|
+
vi: string;
|
|
396
|
+
uk: string;
|
|
397
|
+
}>;
|
|
398
|
+
};
|
|
91
399
|
createDictionaryButton: {
|
|
92
400
|
text: _$_intlayer_core_transpiler0.TranslationContent<unknown, {
|
|
93
401
|
en: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionaryCreationForm.content.d.ts","names":[],"sources":["../../../../../src/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.ts"],"mappings":";;;cAEa,qBAAA;;;;
|
|
1
|
+
{"version":3,"file":"dictionaryCreationForm.content.d.ts","names":[],"sources":["../../../../../src/components/DictionaryFieldEditor/DictionaryCreationForm/dictionaryCreationForm.content.ts"],"mappings":";;;cAEa,qBAAA;;;;aAocS,4BAAA,CAAA,kBAAA"}
|
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
|
|
3
3
|
//#region src/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.d.ts
|
|
4
|
+
declare const QUALIFIER_TYPES: readonly ["none", "item", "variant", "meta"];
|
|
5
|
+
type QualifierType = (typeof QUALIFIER_TYPES)[number];
|
|
4
6
|
declare const useDictionarySchema: (projectId: string) => z.ZodObject<{
|
|
5
7
|
key: z.ZodDefault<z.ZodString>;
|
|
6
8
|
projectIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
9
|
+
qualifierType: z.ZodDefault<z.ZodEnum<{
|
|
10
|
+
item: "item";
|
|
11
|
+
variant: "variant";
|
|
12
|
+
none: "none";
|
|
13
|
+
meta: "meta";
|
|
14
|
+
}>>;
|
|
15
|
+
item: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
16
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
17
|
+
metaId: z.ZodOptional<z.ZodString>;
|
|
7
18
|
}, z.core.$strip>;
|
|
8
19
|
type DictionaryFormData = z.infer<ReturnType<typeof useDictionarySchema>>;
|
|
9
20
|
//#endregion
|
|
10
|
-
export { DictionaryFormData, useDictionarySchema };
|
|
21
|
+
export { DictionaryFormData, QUALIFIER_TYPES, QualifierType, useDictionarySchema };
|
|
11
22
|
//# sourceMappingURL=useDictionaryFormSchema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDictionaryFormSchema.d.ts","names":[],"sources":["../../../../../src/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.ts"],"mappings":";;;cAGa,mBAAA,GAAuB,SAAA,aAAiB,CAAA,CAAA,SAAA
|
|
1
|
+
{"version":3,"file":"useDictionaryFormSchema.d.ts","names":[],"sources":["../../../../../src/components/DictionaryFieldEditor/DictionaryCreationForm/useDictionaryFormSchema.ts"],"mappings":";;;cAGa,eAAA;AAAA,KACD,aAAA,WAAwB,eAAA;AAAA,cAEvB,mBAAA,GAAuB,SAAA,aAAiB,CAAA,CAAA,SAAA;;;;;;;;;;;;;KAmCzC,kBAAA,GAAqB,CAAA,CAAE,KAAA,CACjC,UAAA,QAAkB,mBAAA"}
|
package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ import { Dictionary } from "@intlayer/types/dictionary";
|
|
|
5
5
|
type DictionaryDetailsProps = {
|
|
6
6
|
dictionary: Dictionary;
|
|
7
7
|
mode: ('local' | 'remote')[];
|
|
8
|
+
onSelectSibling?: (dictionary: Dictionary) => void;
|
|
9
|
+
isDarkMode?: boolean;
|
|
8
10
|
};
|
|
9
11
|
declare const DictionaryDetailsForm: FC<DictionaryDetailsProps>;
|
|
10
12
|
//#endregion
|
package/dist/types/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DictionaryDetailsForm.d.ts","names":[],"sources":["../../../../../src/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.tsx"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"DictionaryDetailsForm.d.ts","names":[],"sources":["../../../../../src/components/DictionaryFieldEditor/DictionaryDetails/DictionaryDetailsForm.tsx"],"mappings":";;;;KA6CK,sBAAA;EACH,UAAA,EAAY,UAAA;EACZ,IAAA;EACA,eAAA,IAAmB,UAAA,EAAY,UAAA;EAC/B,UAAA;AAAA;AAAA,cAgBW,qBAAA,EAAuB,EAAA,CAAG,sBAAA"}
|