@uxf/wysiwyg 11.72.3 → 11.74.0
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/README.md +3 -1
- package/package.json +3 -3
- package/translations/translations.d.ts +405 -5
- package/translations/translations.js +404 -4
- package/components.d.ts +0 -7
- package/components.js +0 -34
- package/config/icons-config.d.ts +0 -2
- package/config/icons-config.js +0 -5
- package/config/icons.d.ts +0 -183
- package/config/icons.js +0 -51
- package/create-all-plugins-with-ui.d.ts +0 -64
- package/create-all-plugins-with-ui.js +0 -127
- package/create-plugins-with-ui.d.ts +0 -4
- package/create-plugins-with-ui.js +0 -47
- package/hooks.d.ts +0 -9
- package/hooks.js +0 -20
- package/index.d.ts +0 -6
- package/index.js +0 -38
- package/plugins/blockquote/create-blockquote-plugin.d.ts +0 -3
- package/plugins/blockquote/create-blockquote-plugin.js +0 -9
- package/plugins/blockquote/types.d.ts +0 -2
- package/plugins/blockquote/types.js +0 -6
- package/plugins/button/constants.d.ts +0 -2
- package/plugins/button/constants.js +0 -5
- package/plugins/button/create-button-plugin.d.ts +0 -2
- package/plugins/button/create-button-plugin.js +0 -11
- package/plugins/button/index.d.ts +0 -3
- package/plugins/button/index.js +0 -23
- package/plugins/button/transforms/get-active-button.d.ts +0 -2
- package/plugins/button/transforms/get-active-button.js +0 -9
- package/plugins/button/transforms/index.d.ts +0 -4
- package/plugins/button/transforms/index.js +0 -11
- package/plugins/button/transforms/insert-button.d.ts +0 -2
- package/plugins/button/transforms/insert-button.js +0 -16
- package/plugins/button/transforms/is-button-active.d.ts +0 -2
- package/plugins/button/transforms/is-button-active.js +0 -7
- package/plugins/button/transforms/remove-selected-button.d.ts +0 -2
- package/plugins/button/transforms/remove-selected-button.js +0 -13
- package/plugins/button/transforms/update-button.d.ts +0 -2
- package/plugins/button/transforms/update-button.js +0 -9
- package/plugins/embedded/utils.d.ts +0 -1
- package/plugins/embedded/utils.js +0 -7
- package/plugins/embedded/video/create-video-plugin.d.ts +0 -4
- package/plugins/embedded/video/create-video-plugin.js +0 -19
- package/plugins/embedded/video/get-active-video.d.ts +0 -2
- package/plugins/embedded/video/get-active-video.js +0 -9
- package/plugins/embedded/video/insert-video.d.ts +0 -2
- package/plugins/embedded/video/insert-video.js +0 -18
- package/plugins/embedded/video/update-video.d.ts +0 -2
- package/plugins/embedded/video/update-video.js +0 -11
- package/plugins/exit-break/create-exit-break-plugin.d.ts +0 -3
- package/plugins/exit-break/create-exit-break-plugin.js +0 -30
- package/plugins/heading/constants.d.ts +0 -8
- package/plugins/heading/constants.js +0 -11
- package/plugins/heading/create-headings-plugin.d.ts +0 -8
- package/plugins/heading/create-headings-plugin.js +0 -40
- package/plugins/highlight/createHighlightPlugin.d.ts +0 -3
- package/plugins/highlight/createHighlightPlugin.js +0 -27
- package/plugins/highlight/types.d.ts +0 -10
- package/plugins/highlight/types.js +0 -4
- package/plugins/image/create-image-plugin.d.ts +0 -6
- package/plugins/image/create-image-plugin.js +0 -105
- package/plugins/image/hooks/use-image-handlers.d.ts +0 -5
- package/plugins/image/hooks/use-image-handlers.js +0 -19
- package/plugins/image/transforms/get-active-image.d.ts +0 -2
- package/plugins/image/transforms/get-active-image.js +0 -9
- package/plugins/image/transforms/insert-image.d.ts +0 -3
- package/plugins/image/transforms/insert-image.js +0 -19
- package/plugins/image/transforms/is-image-active.d.ts +0 -2
- package/plugins/image/transforms/is-image-active.js +0 -7
- package/plugins/image/transforms/remove-selected-image.d.ts +0 -2
- package/plugins/image/transforms/remove-selected-image.js +0 -13
- package/plugins/image/transforms/update-image.d.ts +0 -3
- package/plugins/image/transforms/update-image.js +0 -12
- package/plugins/image/types.d.ts +0 -12
- package/plugins/image/types.js +0 -6
- package/plugins/image/utils/is-image-url.d.ts +0 -2
- package/plugins/image/utils/is-image-url.js +0 -135
- package/plugins/image/with-image.d.ts +0 -7
- package/plugins/image/with-image.js +0 -19
- package/plugins/image/with-paste-image-url.d.ts +0 -7
- package/plugins/image/with-paste-image-url.js +0 -36
- package/plugins/image/with-paste-image.d.ts +0 -7
- package/plugins/image/with-paste-image.js +0 -49
- package/plugins/link/constants.d.ts +0 -2
- package/plugins/link/constants.js +0 -6
- package/plugins/link/create-link-plugin.d.ts +0 -3
- package/plugins/link/create-link-plugin.js +0 -15
- package/plugins/link/floating-link-wrapper.d.ts +0 -11
- package/plugins/link/floating-link-wrapper.js +0 -26
- package/plugins/link/hooks/index.d.ts +0 -4
- package/plugins/link/hooks/index.js +0 -11
- package/plugins/link/hooks/use-link-actions.d.ts +0 -12
- package/plugins/link/hooks/use-link-actions.js +0 -48
- package/plugins/link/hooks/use-link-cancel-on-escape.d.ts +0 -1
- package/plugins/link/hooks/use-link-cancel-on-escape.js +0 -5
- package/plugins/link/hooks/use-link-submit-on-enter.d.ts +0 -1
- package/plugins/link/hooks/use-link-submit-on-enter.js +0 -23
- package/plugins/link/transforms/get-active-link.d.ts +0 -3
- package/plugins/link/transforms/get-active-link.js +0 -17
- package/plugins/link/transforms/insert-link.d.ts +0 -2
- package/plugins/link/transforms/insert-link.js +0 -27
- package/plugins/link/transforms/is-link-selected.d.ts +0 -2
- package/plugins/link/transforms/is-link-selected.js +0 -15
- package/plugins/link/transforms/submit-link.d.ts +0 -8
- package/plugins/link/transforms/submit-link.js +0 -36
- package/plugins/link/transforms/trigger-link-insert-or-edit.d.ts +0 -2
- package/plugins/link/transforms/trigger-link-insert-or-edit.js +0 -6
- package/plugins/link/transforms/unwrap-link.d.ts +0 -2
- package/plugins/link/transforms/unwrap-link.js +0 -10
- package/plugins/link/types.d.ts +0 -5
- package/plugins/link/types.js +0 -2
- package/plugins/list/constants.d.ts +0 -4
- package/plugins/list/constants.js +0 -14
- package/plugins/list/create-list-plugin.d.ts +0 -4
- package/plugins/list/create-list-plugin.js +0 -16
- package/plugins/mark-bold/create-bold-plugin.d.ts +0 -3
- package/plugins/mark-bold/create-bold-plugin.js +0 -6
- package/plugins/mark-bold/types.d.ts +0 -2
- package/plugins/mark-bold/types.js +0 -6
- package/plugins/mark-code/create-code-plugin.d.ts +0 -3
- package/plugins/mark-code/create-code-plugin.js +0 -6
- package/plugins/mark-code/types.d.ts +0 -2
- package/plugins/mark-code/types.js +0 -6
- package/plugins/mark-italic/create-italic-plugin.d.ts +0 -3
- package/plugins/mark-italic/create-italic-plugin.js +0 -6
- package/plugins/mark-italic/types.d.ts +0 -2
- package/plugins/mark-italic/types.js +0 -6
- package/plugins/mark-underline/create-underline-plugin.d.ts +0 -3
- package/plugins/mark-underline/create-underline-plugin.js +0 -6
- package/plugins/mark-underline/types.d.ts +0 -2
- package/plugins/mark-underline/types.js +0 -6
- package/plugins/node-id/add-ids-to-nodes.d.ts +0 -2
- package/plugins/node-id/add-ids-to-nodes.js +0 -22
- package/plugins/node-id/create-node-id-plugin.d.ts +0 -3
- package/plugins/node-id/create-node-id-plugin.js +0 -6
- package/plugins/paragraph/create-paragraph-plugin.d.ts +0 -3
- package/plugins/paragraph/create-paragraph-plugin.js +0 -9
- package/plugins/paragraph/types.d.ts +0 -2
- package/plugins/paragraph/types.js +0 -6
- package/plugins/reset-node/create-reset-node.d.ts +0 -3
- package/plugins/reset-node/create-reset-node.js +0 -28
- package/plugins/select-on-backspace/create-select-on-backspace-plugin.d.ts +0 -3
- package/plugins/select-on-backspace/create-select-on-backspace-plugin.js +0 -14
- package/plugins/soft-break/create-soft-break-plugin.d.ts +0 -3
- package/plugins/soft-break/create-soft-break-plugin.js +0 -22
- package/plugins/trailing-block/create-trailing-block-plugin.d.ts +0 -3
- package/plugins/trailing-block/create-trailing-block-plugin.js +0 -6
- package/serializers/serialize-to-plaintext.d.ts +0 -2
- package/serializers/serialize-to-plaintext.js +0 -8
- package/translations/context.d.ts +0 -2
- package/translations/context.js +0 -9
- package/translations/cs.d.ts +0 -52
- package/translations/cs.js +0 -55
- package/translations/en.d.ts +0 -2
- package/translations/en.js +0 -55
- package/translations/sk.d.ts +0 -2
- package/translations/sk.js +0 -55
- package/types.d.ts +0 -102
- package/types.js +0 -2
- package/ui/blockquote-element.d.ts +0 -2
- package/ui/blockquote-element.js +0 -13
- package/ui/bold-mark.d.ts +0 -2
- package/ui/bold-mark.js +0 -13
- package/ui/button/button-element.d.ts +0 -2
- package/ui/button/button-element.js +0 -54
- package/ui/button/index.d.ts +0 -1
- package/ui/button/index.js +0 -5
- package/ui/button/insert-button-modal-content.d.ts +0 -8
- package/ui/button/insert-button-modal-content.js +0 -81
- package/ui/code-mark.d.ts +0 -2
- package/ui/code-mark.js +0 -13
- package/ui/components/element/element-action-buttons.d.ts +0 -9
- package/ui/components/element/element-action-buttons.js +0 -22
- package/ui/components/element/element-with-action-buttons.d.ts +0 -10
- package/ui/components/element/element-with-action-buttons.js +0 -17
- package/ui/components/modal/modal-button-cancel.d.ts +0 -9
- package/ui/components/modal/modal-button-cancel.js +0 -45
- package/ui/components/modal/modal-button-submit.d.ts +0 -6
- package/ui/components/modal/modal-button-submit.js +0 -12
- package/ui/components/modal/modal-buttons.d.ts +0 -11
- package/ui/components/modal/modal-buttons.js +0 -16
- package/ui/components/modal/modal-content.d.ts +0 -6
- package/ui/components/modal/modal-content.js +0 -14
- package/ui/create-uxf-ui.d.ts +0 -21
- package/ui/create-uxf-ui.js +0 -51
- package/ui/floating-link.d.ts +0 -2
- package/ui/floating-link.js +0 -110
- package/ui/heading-elements.d.ts +0 -7
- package/ui/heading-elements.js +0 -38
- package/ui/highlight-mark.d.ts +0 -3
- package/ui/highlight-mark.js +0 -13
- package/ui/image/image-element.d.ts +0 -2
- package/ui/image/image-element.js +0 -53
- package/ui/image/insert-image-modal-content.d.ts +0 -8
- package/ui/image/insert-image-modal-content.js +0 -87
- package/ui/italic-mark.d.ts +0 -2
- package/ui/italic-mark.js +0 -13
- package/ui/link-element.d.ts +0 -3
- package/ui/link-element.js +0 -14
- package/ui/list-item-element.d.ts +0 -2
- package/ui/list-item-element.js +0 -13
- package/ui/list-ordered-element.d.ts +0 -2
- package/ui/list-ordered-element.js +0 -13
- package/ui/list-unordered-element.d.ts +0 -2
- package/ui/list-unordered-element.js +0 -13
- package/ui/paragraph-element.d.ts +0 -2
- package/ui/paragraph-element.js +0 -13
- package/ui/toolbar/buttons/button-toolbar-button.d.ts +0 -10
- package/ui/toolbar/buttons/button-toolbar-button.js +0 -20
- package/ui/toolbar/buttons/element-toolbar-button.d.ts +0 -12
- package/ui/toolbar/buttons/element-toolbar-button.js +0 -25
- package/ui/toolbar/buttons/image-toolbar-button.d.ts +0 -10
- package/ui/toolbar/buttons/image-toolbar-button.js +0 -20
- package/ui/toolbar/buttons/link-toolbar-button.d.ts +0 -10
- package/ui/toolbar/buttons/link-toolbar-button.js +0 -29
- package/ui/toolbar/buttons/list-toolbar-button.d.ts +0 -13
- package/ui/toolbar/buttons/list-toolbar-button.js +0 -27
- package/ui/toolbar/buttons/mark-toolbar-button.d.ts +0 -13
- package/ui/toolbar/buttons/mark-toolbar-button.js +0 -25
- package/ui/toolbar/buttons/modal-toolbar-button.d.ts +0 -15
- package/ui/toolbar/buttons/modal-toolbar-button.js +0 -22
- package/ui/toolbar/buttons/toolbar-button.d.ts +0 -15
- package/ui/toolbar/buttons/toolbar-button.js +0 -35
- package/ui/toolbar/buttons/undo-redo-button-group.d.ts +0 -8
- package/ui/toolbar/buttons/undo-redo-button-group.js +0 -64
- package/ui/toolbar/buttons/video-toolbar-button.d.ts +0 -10
- package/ui/toolbar/buttons/video-toolbar-button.js +0 -20
- package/ui/toolbar/toolbar.d.ts +0 -3
- package/ui/toolbar/toolbar.js +0 -77
- package/ui/toolbar/types.d.ts +0 -8
- package/ui/toolbar/types.js +0 -2
- package/ui/underline-mark.d.ts +0 -2
- package/ui/underline-mark.js +0 -13
- package/ui/utils.d.ts +0 -2
- package/ui/utils.js +0 -13
- package/ui/video/insert-video-modal-content.d.ts +0 -8
- package/ui/video/insert-video-modal-content.js +0 -76
- package/ui/video/video-element.d.ts +0 -2
- package/ui/video/video-element.js +0 -55
- package/utils/url-helper.d.ts +0 -7
- package/utils/url-helper.js +0 -15
- package/utils/url-helper.test.d.ts +0 -1
- package/utils/url-helper.test.js +0 -37
- package/utils.d.ts +0 -30
- package/utils.js +0 -88
- package/wysiwyg-editor.d.ts +0 -17
- package/wysiwyg-editor.js +0 -44
- package/wysiwyg-editor.stories.d.ts +0 -5
- package/wysiwyg-editor.stories.js +0 -193
|
@@ -1,6 +1,406 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
exports.default = {
|
|
4
|
+
"uxf-wysiwyg": {
|
|
5
|
+
common: {
|
|
6
|
+
placeholder: {
|
|
7
|
+
cs: "Napište něco hezkého...",
|
|
8
|
+
en: "Write something nice...",
|
|
9
|
+
sk: "Napíšte niečo pekné...",
|
|
10
|
+
de: "Schreiben Sie etwas Schönes...",
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
components: {
|
|
14
|
+
modal: {
|
|
15
|
+
"button-cancel": {
|
|
16
|
+
cs: "Zrušit",
|
|
17
|
+
en: "Cancel",
|
|
18
|
+
sk: "Zrušiť",
|
|
19
|
+
de: "Abbrechen",
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
plugins: {
|
|
24
|
+
formatting: {
|
|
25
|
+
bold: {
|
|
26
|
+
tooltip: {
|
|
27
|
+
cs: "Tučné (Ctrl+B)",
|
|
28
|
+
en: "Bold (Ctrl+B)",
|
|
29
|
+
sk: "Tučné (Ctrl+B)",
|
|
30
|
+
de: "Fett (Ctrl+B)",
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
italic: {
|
|
34
|
+
tooltip: {
|
|
35
|
+
cs: "Kurzíva (Ctrl+I)",
|
|
36
|
+
en: "Italic (Ctrl+I)",
|
|
37
|
+
sk: "Kurzíva (Ctrl+I)",
|
|
38
|
+
de: "Kursiv (Ctrl+I)",
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
underline: {
|
|
42
|
+
tooltip: {
|
|
43
|
+
cs: "Podtržení (Ctrl+U)",
|
|
44
|
+
en: "Underline (Ctrl+U)",
|
|
45
|
+
sk: "Podčiarknutie (Ctrl+U)",
|
|
46
|
+
de: "Unterstrichen (Ctrl+U)",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
code: {
|
|
50
|
+
tooltip: {
|
|
51
|
+
cs: "Kód",
|
|
52
|
+
en: "Code",
|
|
53
|
+
sk: "Kód",
|
|
54
|
+
de: "Code",
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
highlight: {
|
|
58
|
+
tooltip: {
|
|
59
|
+
cs: "Zvýraznění (Ctrl+Shift+H)",
|
|
60
|
+
en: "Highlight (Ctrl+Shift+H)",
|
|
61
|
+
sk: "Zvýraznenie (Ctrl+Shift+H)",
|
|
62
|
+
de: "Hervorheben (Ctrl+Shift+H)",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
headings: {
|
|
67
|
+
h1: {
|
|
68
|
+
tooltip: {
|
|
69
|
+
cs: "Nadpis H1",
|
|
70
|
+
en: "Heading H1",
|
|
71
|
+
sk: "Nadpis H1",
|
|
72
|
+
de: "Überschrift H1",
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
h2: {
|
|
76
|
+
tooltip: {
|
|
77
|
+
cs: "Nadpis H2",
|
|
78
|
+
en: "Heading H2",
|
|
79
|
+
sk: "Nadpis H2",
|
|
80
|
+
de: "Überschrift H2",
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
h3: {
|
|
84
|
+
tooltip: {
|
|
85
|
+
cs: "Nadpis H3",
|
|
86
|
+
en: "Heading H3",
|
|
87
|
+
sk: "Nadpis H3",
|
|
88
|
+
de: "Überschrift H3",
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
h4: {
|
|
92
|
+
tooltip: {
|
|
93
|
+
cs: "Nadpis H4",
|
|
94
|
+
en: "Heading H4",
|
|
95
|
+
sk: "Nadpis H4",
|
|
96
|
+
de: "Überschrift H4",
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
h5: {
|
|
100
|
+
tooltip: {
|
|
101
|
+
cs: "Nadpis H5",
|
|
102
|
+
en: "Heading H5",
|
|
103
|
+
sk: "Nadpis H5",
|
|
104
|
+
de: "Überschrift H5",
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
h6: {
|
|
108
|
+
tooltip: {
|
|
109
|
+
cs: "Nadpis H6",
|
|
110
|
+
en: "Heading H6",
|
|
111
|
+
sk: "Nadpis H6",
|
|
112
|
+
de: "Überschrift H6",
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
link: {
|
|
117
|
+
"url-address": {
|
|
118
|
+
invalid: {
|
|
119
|
+
cs: "Neplatná URL adresa",
|
|
120
|
+
en: "Invalid URL address",
|
|
121
|
+
sk: "Neplatná URL adresa",
|
|
122
|
+
de: "Ungültige URL-Adresse",
|
|
123
|
+
},
|
|
124
|
+
required: {
|
|
125
|
+
cs: "URL adresa je povinná",
|
|
126
|
+
en: "URL address is required",
|
|
127
|
+
sk: "URL adresa je povinná",
|
|
128
|
+
de: "URL-Adresse ist erforderlich",
|
|
129
|
+
},
|
|
130
|
+
label: {
|
|
131
|
+
cs: "URL adresa",
|
|
132
|
+
en: "URL address",
|
|
133
|
+
sk: "URL adresa",
|
|
134
|
+
de: "URL-Adresse",
|
|
135
|
+
},
|
|
136
|
+
placeholder: {
|
|
137
|
+
cs: "Zadejte URL adresu",
|
|
138
|
+
en: "Enter URL address",
|
|
139
|
+
sk: "Zadajte URL adresu",
|
|
140
|
+
de: "URL-Adresse eingeben",
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
"link-text": {
|
|
144
|
+
label: {
|
|
145
|
+
cs: "Text odkazu",
|
|
146
|
+
en: "Link text",
|
|
147
|
+
sk: "Text odkazu",
|
|
148
|
+
de: "Link-Text",
|
|
149
|
+
},
|
|
150
|
+
placeholder: {
|
|
151
|
+
cs: "Zadejte text odkazu",
|
|
152
|
+
en: "Enter link text",
|
|
153
|
+
sk: "Zadajte text odkazu",
|
|
154
|
+
de: "Link-Text eingeben",
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
"open-in-new-tab": {
|
|
158
|
+
cs: "Otevřít v nové záložce",
|
|
159
|
+
en: "Open in new tab",
|
|
160
|
+
sk: "Otvoriť v novej karte",
|
|
161
|
+
de: "In neuem Tab öffnen",
|
|
162
|
+
},
|
|
163
|
+
tooltip: {
|
|
164
|
+
cs: "Vložit odkaz",
|
|
165
|
+
en: "Insert link",
|
|
166
|
+
sk: "Vložiť odkaz",
|
|
167
|
+
de: "Link einfügen",
|
|
168
|
+
},
|
|
169
|
+
"button-save": {
|
|
170
|
+
cs: "Uložit",
|
|
171
|
+
en: "Save",
|
|
172
|
+
sk: "Uložiť",
|
|
173
|
+
de: "Speichern",
|
|
174
|
+
},
|
|
175
|
+
"button-close": {
|
|
176
|
+
cs: "Zavřít",
|
|
177
|
+
en: "Close",
|
|
178
|
+
sk: "Zatvoriť",
|
|
179
|
+
de: "Schließen",
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
blocks: {
|
|
183
|
+
quote: {
|
|
184
|
+
tooltip: {
|
|
185
|
+
cs: "Citace",
|
|
186
|
+
en: "Quote",
|
|
187
|
+
sk: "Citácia",
|
|
188
|
+
de: "Zitat",
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
},
|
|
192
|
+
lists: {
|
|
193
|
+
ul: {
|
|
194
|
+
tooltip: {
|
|
195
|
+
cs: "Vložit odrážkový seznam",
|
|
196
|
+
en: "Insert bullet list",
|
|
197
|
+
sk: "Vložiť odrážkový zoznam",
|
|
198
|
+
de: "Aufzählung einfügen",
|
|
199
|
+
},
|
|
200
|
+
},
|
|
201
|
+
ol: {
|
|
202
|
+
tooltip: {
|
|
203
|
+
cs: "Vložit číslovaný seznam",
|
|
204
|
+
en: "Insert numbered list",
|
|
205
|
+
sk: "Vložiť číslovaný zoznam",
|
|
206
|
+
de: "Nummerierte Liste einfügen",
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
button: {
|
|
211
|
+
tooltip: {
|
|
212
|
+
cs: "Vložit tlačítko",
|
|
213
|
+
en: "Insert button",
|
|
214
|
+
sk: "Vložiť tlačidlo",
|
|
215
|
+
de: "Schaltfläche einfügen",
|
|
216
|
+
},
|
|
217
|
+
"button-text": {
|
|
218
|
+
label: {
|
|
219
|
+
cs: "Text tlačítka",
|
|
220
|
+
en: "Button text",
|
|
221
|
+
sk: "Text tlačidla",
|
|
222
|
+
de: "Schaltflächen-Text",
|
|
223
|
+
},
|
|
224
|
+
placeholder: {
|
|
225
|
+
cs: "Zadejte text tlačítka",
|
|
226
|
+
en: "Enter button text",
|
|
227
|
+
sk: "Zadajte text tlačidla",
|
|
228
|
+
de: "Schaltflächen-Text eingeben",
|
|
229
|
+
},
|
|
230
|
+
required: {
|
|
231
|
+
cs: "Toto pole je povinné",
|
|
232
|
+
en: "This field is required",
|
|
233
|
+
sk: "Toto pole je povinné",
|
|
234
|
+
de: "Dieses Feld ist erforderlich",
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
"url-address": {
|
|
238
|
+
label: {
|
|
239
|
+
cs: "URL adresa",
|
|
240
|
+
en: "URL address",
|
|
241
|
+
sk: "URL adresa",
|
|
242
|
+
de: "URL-Adresse",
|
|
243
|
+
},
|
|
244
|
+
placeholder: {
|
|
245
|
+
cs: "Zadejte URL adresu",
|
|
246
|
+
en: "Enter URL address",
|
|
247
|
+
sk: "Zadajte URL adresu",
|
|
248
|
+
de: "URL-Adresse eingeben",
|
|
249
|
+
},
|
|
250
|
+
required: {
|
|
251
|
+
cs: "Toto pole je povinné",
|
|
252
|
+
en: "This field is required",
|
|
253
|
+
sk: "Toto pole je povinné",
|
|
254
|
+
de: "Dieses Feld ist erforderlich",
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
"button-insert": {
|
|
258
|
+
cs: "Vložit tlačítko",
|
|
259
|
+
en: "Insert button",
|
|
260
|
+
sk: "Vložiť tlačidlo",
|
|
261
|
+
de: "Schaltfläche einfügen",
|
|
262
|
+
},
|
|
263
|
+
"button-edit": {
|
|
264
|
+
cs: "Upravit tlačítko",
|
|
265
|
+
en: "Edit button",
|
|
266
|
+
sk: "Upraviť tlačidlo",
|
|
267
|
+
de: "Schaltfläche bearbeiten",
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
image: {
|
|
271
|
+
tooltip: {
|
|
272
|
+
cs: "Vložit obrázek",
|
|
273
|
+
en: "Insert image",
|
|
274
|
+
sk: "Vložiť obrázok",
|
|
275
|
+
de: "Bild einfügen",
|
|
276
|
+
},
|
|
277
|
+
alt: {
|
|
278
|
+
label: {
|
|
279
|
+
cs: "Alt obrázku",
|
|
280
|
+
en: "Image alt",
|
|
281
|
+
sk: "Alt obrázka",
|
|
282
|
+
de: "Alt-Text des Bildes",
|
|
283
|
+
},
|
|
284
|
+
placeholder: {
|
|
285
|
+
cs: "Zadejte alt obrázku",
|
|
286
|
+
en: "Enter image alt",
|
|
287
|
+
sk: "Zadajte alt obrázka",
|
|
288
|
+
de: "Alt-Text des Bildes eingeben",
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
caption: {
|
|
292
|
+
label: {
|
|
293
|
+
cs: "Popisek obrázku",
|
|
294
|
+
en: "Image caption",
|
|
295
|
+
sk: "Popis obrázka",
|
|
296
|
+
de: "Bildunterschrift",
|
|
297
|
+
},
|
|
298
|
+
placeholder: {
|
|
299
|
+
cs: "Zadejte popisek obrázku",
|
|
300
|
+
en: "Enter image caption",
|
|
301
|
+
sk: "Zadajte popis obrázka",
|
|
302
|
+
de: "Bildunterschrift eingeben",
|
|
303
|
+
},
|
|
304
|
+
},
|
|
305
|
+
source: {
|
|
306
|
+
label: {
|
|
307
|
+
cs: "Zdroj obrázku",
|
|
308
|
+
en: "Image source",
|
|
309
|
+
sk: "Zdroj obrázka",
|
|
310
|
+
de: "Bildquelle",
|
|
311
|
+
},
|
|
312
|
+
placeholder: {
|
|
313
|
+
cs: "Zadejte zdroj obrázku",
|
|
314
|
+
en: "Enter image source",
|
|
315
|
+
sk: "Zadajte zdroj obrázka",
|
|
316
|
+
de: "Bildquelle eingeben",
|
|
317
|
+
},
|
|
318
|
+
},
|
|
319
|
+
"file-upload": {
|
|
320
|
+
label: {
|
|
321
|
+
cs: "Obrázek",
|
|
322
|
+
en: "Image",
|
|
323
|
+
sk: "Obrázok",
|
|
324
|
+
de: "Bild",
|
|
325
|
+
},
|
|
326
|
+
},
|
|
327
|
+
"button-insert": {
|
|
328
|
+
cs: "Vložit obrázek",
|
|
329
|
+
en: "Insert image",
|
|
330
|
+
sk: "Vložiť obrázok",
|
|
331
|
+
de: "Bild einfügen",
|
|
332
|
+
},
|
|
333
|
+
"button-edit": {
|
|
334
|
+
cs: "Upravit obrázek",
|
|
335
|
+
en: "Edit image",
|
|
336
|
+
sk: "Upraviť obrázok",
|
|
337
|
+
de: "Bild bearbeiten",
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
video: {
|
|
341
|
+
tooltip: {
|
|
342
|
+
cs: "Vložit video",
|
|
343
|
+
en: "Insert video",
|
|
344
|
+
sk: "Vložiť video",
|
|
345
|
+
de: "Video einfügen",
|
|
346
|
+
},
|
|
347
|
+
"url-address": {
|
|
348
|
+
label: {
|
|
349
|
+
cs: "URL adresa",
|
|
350
|
+
en: "URL address",
|
|
351
|
+
sk: "URL adresa",
|
|
352
|
+
de: "URL-Adresse",
|
|
353
|
+
},
|
|
354
|
+
placeholder: {
|
|
355
|
+
cs: "Zadejte URL adresu",
|
|
356
|
+
en: "Enter URL address",
|
|
357
|
+
sk: "Zadajte URL adresu",
|
|
358
|
+
de: "URL-Adresse eingeben",
|
|
359
|
+
},
|
|
360
|
+
invalid: {
|
|
361
|
+
cs: "Neplatná URL adresa.",
|
|
362
|
+
en: "Invalid URL address.",
|
|
363
|
+
sk: "Neplatná URL adresa.",
|
|
364
|
+
de: "Ungültige URL-Adresse.",
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
"iframe-title": {
|
|
368
|
+
cs: "Video",
|
|
369
|
+
en: "Video",
|
|
370
|
+
sk: "Video",
|
|
371
|
+
de: "Video",
|
|
372
|
+
},
|
|
373
|
+
"button-insert": {
|
|
374
|
+
cs: "Vložit video",
|
|
375
|
+
en: "Insert video",
|
|
376
|
+
sk: "Vložiť video",
|
|
377
|
+
de: "Video einfügen",
|
|
378
|
+
},
|
|
379
|
+
"button-edit": {
|
|
380
|
+
cs: "Upravit video",
|
|
381
|
+
en: "Edit video",
|
|
382
|
+
sk: "Upraviť video",
|
|
383
|
+
de: "Video bearbeiten",
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
actions: {
|
|
387
|
+
undo: {
|
|
388
|
+
tooltip: {
|
|
389
|
+
cs: "Vrátit zpět (Ctrl+Z)",
|
|
390
|
+
en: "Undo (Ctrl+Z)",
|
|
391
|
+
sk: "Vrátiť späť (Ctrl+Z)",
|
|
392
|
+
de: "Rückgängig (Ctrl+Z)",
|
|
393
|
+
},
|
|
394
|
+
},
|
|
395
|
+
redo: {
|
|
396
|
+
tooltip: {
|
|
397
|
+
cs: "Opakovat (Ctrl+Y)",
|
|
398
|
+
en: "Redo (Ctrl+Y)",
|
|
399
|
+
sk: "Opakovať (Ctrl+Y)",
|
|
400
|
+
de: "Wiederholen (Ctrl+Y)",
|
|
401
|
+
},
|
|
402
|
+
},
|
|
403
|
+
},
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
};
|
package/components.d.ts
DELETED
package/components.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.components = void 0;
|
|
27
|
-
// generated file
|
|
28
|
-
const wysiwygEditorStories = __importStar(require("./wysiwyg-editor.stories"));
|
|
29
|
-
exports.components = {
|
|
30
|
-
"wysiwyg-editor": {
|
|
31
|
-
title: "WysiwygEditor",
|
|
32
|
-
stories: wysiwygEditorStories
|
|
33
|
-
},
|
|
34
|
-
};
|
package/config/icons-config.d.ts
DELETED
package/config/icons-config.js
DELETED
package/config/icons.d.ts
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
export declare const ICONS: {
|
|
2
|
-
readonly "arrow-left": {
|
|
3
|
-
readonly w: 448;
|
|
4
|
-
readonly h: 512;
|
|
5
|
-
};
|
|
6
|
-
readonly "arrow-right": {
|
|
7
|
-
readonly w: 448;
|
|
8
|
-
readonly h: 512;
|
|
9
|
-
};
|
|
10
|
-
readonly calendar: {
|
|
11
|
-
readonly w: 448;
|
|
12
|
-
readonly h: 512;
|
|
13
|
-
};
|
|
14
|
-
readonly camera: {
|
|
15
|
-
readonly w: 512;
|
|
16
|
-
readonly h: 512;
|
|
17
|
-
};
|
|
18
|
-
readonly caretDown: {
|
|
19
|
-
readonly w: 320;
|
|
20
|
-
readonly h: 512;
|
|
21
|
-
};
|
|
22
|
-
readonly clock: {
|
|
23
|
-
readonly w: 512;
|
|
24
|
-
readonly h: 512;
|
|
25
|
-
};
|
|
26
|
-
readonly bars: {
|
|
27
|
-
readonly w: 448;
|
|
28
|
-
readonly h: 512;
|
|
29
|
-
};
|
|
30
|
-
readonly check: {
|
|
31
|
-
readonly w: 512;
|
|
32
|
-
readonly h: 512;
|
|
33
|
-
};
|
|
34
|
-
readonly chevronDown: {
|
|
35
|
-
readonly w: 512;
|
|
36
|
-
readonly h: 512;
|
|
37
|
-
};
|
|
38
|
-
readonly chevronLeft: {
|
|
39
|
-
readonly w: 384;
|
|
40
|
-
readonly h: 512;
|
|
41
|
-
};
|
|
42
|
-
readonly chevronsLeft: {
|
|
43
|
-
readonly w: 512;
|
|
44
|
-
readonly h: 512;
|
|
45
|
-
};
|
|
46
|
-
readonly chevronRight: {
|
|
47
|
-
readonly w: 384;
|
|
48
|
-
readonly h: 512;
|
|
49
|
-
};
|
|
50
|
-
readonly chevronsRight: {
|
|
51
|
-
readonly w: 512;
|
|
52
|
-
readonly h: 512;
|
|
53
|
-
};
|
|
54
|
-
readonly chevronUp: {
|
|
55
|
-
readonly w: 512;
|
|
56
|
-
readonly h: 512;
|
|
57
|
-
};
|
|
58
|
-
readonly cloud: {
|
|
59
|
-
readonly w: 640;
|
|
60
|
-
readonly h: 512;
|
|
61
|
-
};
|
|
62
|
-
readonly copy: {
|
|
63
|
-
readonly w: 512;
|
|
64
|
-
readonly h: 512;
|
|
65
|
-
};
|
|
66
|
-
readonly "ellipsis-vertical": {
|
|
67
|
-
readonly w: 128;
|
|
68
|
-
readonly h: 512;
|
|
69
|
-
};
|
|
70
|
-
readonly file: {
|
|
71
|
-
readonly w: 384;
|
|
72
|
-
readonly h: 512;
|
|
73
|
-
};
|
|
74
|
-
readonly imageFile: {
|
|
75
|
-
readonly w: 384;
|
|
76
|
-
readonly h: 512;
|
|
77
|
-
};
|
|
78
|
-
readonly videoFile: {
|
|
79
|
-
readonly w: 384;
|
|
80
|
-
readonly h: 512;
|
|
81
|
-
};
|
|
82
|
-
readonly user: {
|
|
83
|
-
readonly w: 448;
|
|
84
|
-
readonly h: 512;
|
|
85
|
-
};
|
|
86
|
-
readonly xmarkLarge: {
|
|
87
|
-
readonly w: 448;
|
|
88
|
-
readonly h: 512;
|
|
89
|
-
};
|
|
90
|
-
readonly h1: {
|
|
91
|
-
readonly w: 576;
|
|
92
|
-
readonly h: 512;
|
|
93
|
-
};
|
|
94
|
-
readonly h2: {
|
|
95
|
-
readonly w: 640;
|
|
96
|
-
readonly h: 512;
|
|
97
|
-
};
|
|
98
|
-
readonly h3: {
|
|
99
|
-
readonly w: 640;
|
|
100
|
-
readonly h: 512;
|
|
101
|
-
};
|
|
102
|
-
readonly h4: {
|
|
103
|
-
readonly w: 640;
|
|
104
|
-
readonly h: 512;
|
|
105
|
-
};
|
|
106
|
-
readonly h5: {
|
|
107
|
-
readonly w: 640;
|
|
108
|
-
readonly h: 512;
|
|
109
|
-
};
|
|
110
|
-
readonly h6: {
|
|
111
|
-
readonly w: 640;
|
|
112
|
-
readonly h: 512;
|
|
113
|
-
};
|
|
114
|
-
readonly bold: {
|
|
115
|
-
readonly w: 384;
|
|
116
|
-
readonly h: 512;
|
|
117
|
-
};
|
|
118
|
-
readonly italic: {
|
|
119
|
-
readonly w: 384;
|
|
120
|
-
readonly h: 512;
|
|
121
|
-
};
|
|
122
|
-
readonly underline: {
|
|
123
|
-
readonly w: 448;
|
|
124
|
-
readonly h: 512;
|
|
125
|
-
};
|
|
126
|
-
readonly ol: {
|
|
127
|
-
readonly w: 512;
|
|
128
|
-
readonly h: 512;
|
|
129
|
-
};
|
|
130
|
-
readonly ul: {
|
|
131
|
-
readonly w: 576;
|
|
132
|
-
readonly h: 512;
|
|
133
|
-
};
|
|
134
|
-
readonly "code-simple": {
|
|
135
|
-
readonly w: 576;
|
|
136
|
-
readonly h: 512;
|
|
137
|
-
};
|
|
138
|
-
readonly link: {
|
|
139
|
-
readonly w: 640;
|
|
140
|
-
readonly h: 512;
|
|
141
|
-
};
|
|
142
|
-
readonly image: {
|
|
143
|
-
readonly w: 512;
|
|
144
|
-
readonly h: 512;
|
|
145
|
-
};
|
|
146
|
-
readonly youtube: {
|
|
147
|
-
readonly w: 576;
|
|
148
|
-
readonly h: 512;
|
|
149
|
-
};
|
|
150
|
-
readonly "block-quote": {
|
|
151
|
-
readonly w: 576;
|
|
152
|
-
readonly h: 512;
|
|
153
|
-
};
|
|
154
|
-
readonly "arrow-turn-down-left": {
|
|
155
|
-
readonly w: 512;
|
|
156
|
-
readonly h: 512;
|
|
157
|
-
};
|
|
158
|
-
readonly "arrow-turn-down-right": {
|
|
159
|
-
readonly w: 512;
|
|
160
|
-
readonly h: 512;
|
|
161
|
-
};
|
|
162
|
-
readonly "rectangle-wide": {
|
|
163
|
-
readonly w: 640;
|
|
164
|
-
readonly h: 512;
|
|
165
|
-
};
|
|
166
|
-
readonly edit: {
|
|
167
|
-
readonly w: 512;
|
|
168
|
-
readonly h: 512;
|
|
169
|
-
};
|
|
170
|
-
readonly delete: {
|
|
171
|
-
readonly w: 448;
|
|
172
|
-
readonly h: 512;
|
|
173
|
-
};
|
|
174
|
-
readonly "open-link-in-new-tab": {
|
|
175
|
-
readonly w: 512;
|
|
176
|
-
readonly h: 512;
|
|
177
|
-
};
|
|
178
|
-
readonly "highlighter-line": {
|
|
179
|
-
readonly w: 576;
|
|
180
|
-
readonly h: 512;
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
export type IconsSet = keyof typeof ICONS;
|
package/config/icons.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// this file is generated automatically, do not change anything manually in the contents of this file
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ICONS = void 0;
|
|
5
|
-
exports.ICONS = {
|
|
6
|
-
"arrow-left": { w: 448, h: 512 },
|
|
7
|
-
"arrow-right": { w: 448, h: 512 },
|
|
8
|
-
"calendar": { w: 448, h: 512 },
|
|
9
|
-
"camera": { w: 512, h: 512 },
|
|
10
|
-
"caretDown": { w: 320, h: 512 },
|
|
11
|
-
"clock": { w: 512, h: 512 },
|
|
12
|
-
"bars": { w: 448, h: 512 },
|
|
13
|
-
"check": { w: 512, h: 512 },
|
|
14
|
-
"chevronDown": { w: 512, h: 512 },
|
|
15
|
-
"chevronLeft": { w: 384, h: 512 },
|
|
16
|
-
"chevronsLeft": { w: 512, h: 512 },
|
|
17
|
-
"chevronRight": { w: 384, h: 512 },
|
|
18
|
-
"chevronsRight": { w: 512, h: 512 },
|
|
19
|
-
"chevronUp": { w: 512, h: 512 },
|
|
20
|
-
"cloud": { w: 640, h: 512 },
|
|
21
|
-
"copy": { w: 512, h: 512 },
|
|
22
|
-
"ellipsis-vertical": { w: 128, h: 512 },
|
|
23
|
-
"file": { w: 384, h: 512 },
|
|
24
|
-
"imageFile": { w: 384, h: 512 },
|
|
25
|
-
"videoFile": { w: 384, h: 512 },
|
|
26
|
-
"user": { w: 448, h: 512 },
|
|
27
|
-
"xmarkLarge": { w: 448, h: 512 },
|
|
28
|
-
"h1": { w: 576, h: 512 },
|
|
29
|
-
"h2": { w: 640, h: 512 },
|
|
30
|
-
"h3": { w: 640, h: 512 },
|
|
31
|
-
"h4": { w: 640, h: 512 },
|
|
32
|
-
"h5": { w: 640, h: 512 },
|
|
33
|
-
"h6": { w: 640, h: 512 },
|
|
34
|
-
"bold": { w: 384, h: 512 },
|
|
35
|
-
"italic": { w: 384, h: 512 },
|
|
36
|
-
"underline": { w: 448, h: 512 },
|
|
37
|
-
"ol": { w: 512, h: 512 },
|
|
38
|
-
"ul": { w: 576, h: 512 },
|
|
39
|
-
"code-simple": { w: 576, h: 512 },
|
|
40
|
-
"link": { w: 640, h: 512 },
|
|
41
|
-
"image": { w: 512, h: 512 },
|
|
42
|
-
"youtube": { w: 576, h: 512 },
|
|
43
|
-
"block-quote": { w: 576, h: 512 },
|
|
44
|
-
"arrow-turn-down-left": { w: 512, h: 512 },
|
|
45
|
-
"arrow-turn-down-right": { w: 512, h: 512 },
|
|
46
|
-
"rectangle-wide": { w: 640, h: 512 },
|
|
47
|
-
"edit": { w: 512, h: 512 },
|
|
48
|
-
"delete": { w: 448, h: 512 },
|
|
49
|
-
"open-link-in-new-tab": { w: 512, h: 512 },
|
|
50
|
-
"highlighter-line": { w: 576, h: 512 },
|
|
51
|
-
};
|