@uipath/apollo-react 4.1.2 → 4.2.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/dist/canvas/components/StickyNoteNode/FormattingToolbar.cjs +49 -7
- package/dist/canvas/components/StickyNoteNode/FormattingToolbar.d.ts.map +1 -1
- package/dist/canvas/components/StickyNoteNode/FormattingToolbar.js +49 -7
- package/dist/canvas/components/StickyNoteNode/StickyNoteNode.cjs +5 -3
- package/dist/canvas/components/StickyNoteNode/StickyNoteNode.d.ts.map +1 -1
- package/dist/canvas/components/StickyNoteNode/StickyNoteNode.js +3 -1
- package/dist/canvas/locales/de.cjs +36 -0
- package/dist/canvas/locales/de.d.ts +3 -0
- package/dist/canvas/locales/de.d.ts.map +1 -0
- package/dist/canvas/locales/de.js +2 -0
- package/dist/canvas/locales/en.cjs +36 -0
- package/dist/canvas/locales/en.d.ts +3 -0
- package/dist/canvas/locales/en.d.ts.map +1 -0
- package/dist/canvas/locales/en.js +2 -0
- package/dist/canvas/locales/es-MX.cjs +36 -0
- package/dist/canvas/locales/es-MX.d.ts +3 -0
- package/dist/canvas/locales/es-MX.d.ts.map +1 -0
- package/dist/canvas/locales/es-MX.js +2 -0
- package/dist/canvas/locales/es.cjs +36 -0
- package/dist/canvas/locales/es.d.ts +3 -0
- package/dist/canvas/locales/es.d.ts.map +1 -0
- package/dist/canvas/locales/es.js +2 -0
- package/dist/canvas/locales/fr.cjs +36 -0
- package/dist/canvas/locales/fr.d.ts +3 -0
- package/dist/canvas/locales/fr.d.ts.map +1 -0
- package/dist/canvas/locales/fr.js +2 -0
- package/dist/canvas/locales/ja.cjs +36 -0
- package/dist/canvas/locales/ja.d.ts +3 -0
- package/dist/canvas/locales/ja.d.ts.map +1 -0
- package/dist/canvas/locales/ja.js +2 -0
- package/dist/canvas/locales/ko.cjs +36 -0
- package/dist/canvas/locales/ko.d.ts +3 -0
- package/dist/canvas/locales/ko.d.ts.map +1 -0
- package/dist/canvas/locales/ko.js +2 -0
- package/dist/canvas/locales/pt-BR.cjs +36 -0
- package/dist/canvas/locales/pt-BR.d.ts +3 -0
- package/dist/canvas/locales/pt-BR.d.ts.map +1 -0
- package/dist/canvas/locales/pt-BR.js +2 -0
- package/dist/canvas/locales/pt.cjs +36 -0
- package/dist/canvas/locales/pt.d.ts +3 -0
- package/dist/canvas/locales/pt.d.ts.map +1 -0
- package/dist/canvas/locales/pt.js +2 -0
- package/dist/canvas/locales/ru.cjs +36 -0
- package/dist/canvas/locales/ru.d.ts +3 -0
- package/dist/canvas/locales/ru.d.ts.map +1 -0
- package/dist/canvas/locales/ru.js +2 -0
- package/dist/canvas/locales/tr.cjs +36 -0
- package/dist/canvas/locales/tr.d.ts +3 -0
- package/dist/canvas/locales/tr.d.ts.map +1 -0
- package/dist/canvas/locales/tr.js +2 -0
- package/dist/canvas/locales/zh-CN.cjs +36 -0
- package/dist/canvas/locales/zh-CN.d.ts +3 -0
- package/dist/canvas/locales/zh-CN.d.ts.map +1 -0
- package/dist/canvas/locales/zh-CN.js +2 -0
- package/dist/canvas/locales/zh-TW.cjs +36 -0
- package/dist/canvas/locales/zh-TW.d.ts +3 -0
- package/dist/canvas/locales/zh-TW.d.ts.map +1 -0
- package/dist/canvas/locales/zh-TW.js +2 -0
- package/dist/i18n/locale-registry.cjs +67 -79
- package/dist/i18n/locale-registry.d.ts +3 -4
- package/dist/i18n/locale-registry.d.ts.map +1 -1
- package/dist/i18n/locale-registry.js +80 -57
- package/dist/material/components/ap-chat/locales/de.cjs +36 -1
- package/dist/material/components/ap-chat/locales/de.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/de.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/de.js +2 -1
- package/dist/material/components/ap-chat/locales/en.cjs +36 -1
- package/dist/material/components/ap-chat/locales/en.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/en.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/en.js +2 -1
- package/dist/material/components/ap-chat/locales/es-MX.cjs +36 -1
- package/dist/material/components/ap-chat/locales/es-MX.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/es-MX.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/es-MX.js +2 -1
- package/dist/material/components/ap-chat/locales/es.cjs +36 -1
- package/dist/material/components/ap-chat/locales/es.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/es.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/es.js +2 -1
- package/dist/material/components/ap-chat/locales/fr.cjs +36 -1
- package/dist/material/components/ap-chat/locales/fr.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/fr.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/fr.js +2 -1
- package/dist/material/components/ap-chat/locales/ja.cjs +36 -1
- package/dist/material/components/ap-chat/locales/ja.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/ja.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/ja.js +2 -1
- package/dist/material/components/ap-chat/locales/ko.cjs +36 -1
- package/dist/material/components/ap-chat/locales/ko.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/ko.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/ko.js +2 -1
- package/dist/material/components/ap-chat/locales/pt-BR.cjs +36 -1
- package/dist/material/components/ap-chat/locales/pt-BR.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/pt-BR.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/pt-BR.js +2 -1
- package/dist/material/components/ap-chat/locales/pt.cjs +36 -1
- package/dist/material/components/ap-chat/locales/pt.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/pt.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/pt.js +2 -1
- package/dist/material/components/ap-chat/locales/ru.cjs +36 -1
- package/dist/material/components/ap-chat/locales/ru.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/ru.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/ru.js +2 -1
- package/dist/material/components/ap-chat/locales/tr.cjs +36 -1
- package/dist/material/components/ap-chat/locales/tr.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/tr.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/tr.js +2 -1
- package/dist/material/components/ap-chat/locales/zh-CN.cjs +36 -1
- package/dist/material/components/ap-chat/locales/zh-CN.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/zh-CN.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/zh-CN.js +2 -1
- package/dist/material/components/ap-chat/locales/zh-TW.cjs +36 -1
- package/dist/material/components/ap-chat/locales/zh-TW.d.ts +3 -0
- package/dist/material/components/ap-chat/locales/zh-TW.d.ts.map +1 -0
- package/dist/material/components/ap-chat/locales/zh-TW.js +2 -1
- package/dist/material/components/ap-tool-call/locales/de.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/de.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/de.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/de.js +2 -1
- package/dist/material/components/ap-tool-call/locales/en.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/en.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/en.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/en.js +2 -1
- package/dist/material/components/ap-tool-call/locales/es-MX.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/es-MX.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/es-MX.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/es-MX.js +2 -1
- package/dist/material/components/ap-tool-call/locales/es.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/es.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/es.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/es.js +2 -1
- package/dist/material/components/ap-tool-call/locales/fr.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/fr.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/fr.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/fr.js +2 -1
- package/dist/material/components/ap-tool-call/locales/ja.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/ja.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/ja.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/ja.js +2 -1
- package/dist/material/components/ap-tool-call/locales/ko.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/ko.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/ko.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/ko.js +2 -1
- package/dist/material/components/ap-tool-call/locales/pt-BR.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/pt-BR.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/pt-BR.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/pt-BR.js +2 -1
- package/dist/material/components/ap-tool-call/locales/pt.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/pt.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/pt.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/pt.js +2 -1
- package/dist/material/components/ap-tool-call/locales/ru.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/ru.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/ru.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/ru.js +2 -1
- package/dist/material/components/ap-tool-call/locales/tr.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/tr.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/tr.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/tr.js +2 -1
- package/dist/material/components/ap-tool-call/locales/zh-CN.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/zh-CN.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/zh-CN.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/zh-CN.js +2 -1
- package/dist/material/components/ap-tool-call/locales/zh-TW.cjs +36 -1
- package/dist/material/components/ap-tool-call/locales/zh-TW.d.ts +3 -0
- package/dist/material/components/ap-tool-call/locales/zh-TW.d.ts.map +1 -0
- package/dist/material/components/ap-tool-call/locales/zh-TW.js +2 -1
- package/package.json +3 -3
- package/dist/material/components/ap-chat/locales/de.json +0 -81
- package/dist/material/components/ap-chat/locales/en.json +0 -81
- package/dist/material/components/ap-chat/locales/es-MX.json +0 -81
- package/dist/material/components/ap-chat/locales/es.json +0 -81
- package/dist/material/components/ap-chat/locales/fr.json +0 -81
- package/dist/material/components/ap-chat/locales/ja.json +0 -81
- package/dist/material/components/ap-chat/locales/ko.json +0 -81
- package/dist/material/components/ap-chat/locales/pt-BR.json +0 -81
- package/dist/material/components/ap-chat/locales/pt.json +0 -81
- package/dist/material/components/ap-chat/locales/ro.json +0 -81
- package/dist/material/components/ap-chat/locales/ru.json +0 -69
- package/dist/material/components/ap-chat/locales/tr.json +0 -81
- package/dist/material/components/ap-chat/locales/zh-CN.json +0 -81
- package/dist/material/components/ap-chat/locales/zh-TW.json +0 -81
- package/dist/material/components/ap-tool-call/locales/de.json +0 -9
- package/dist/material/components/ap-tool-call/locales/en.json +0 -9
- package/dist/material/components/ap-tool-call/locales/es-MX.json +0 -9
- package/dist/material/components/ap-tool-call/locales/es.json +0 -9
- package/dist/material/components/ap-tool-call/locales/fr.json +0 -9
- package/dist/material/components/ap-tool-call/locales/ja.json +0 -9
- package/dist/material/components/ap-tool-call/locales/ko.json +0 -9
- package/dist/material/components/ap-tool-call/locales/pt-BR.json +0 -9
- package/dist/material/components/ap-tool-call/locales/pt.json +0 -9
- package/dist/material/components/ap-tool-call/locales/ro.json +0 -9
- package/dist/material/components/ap-tool-call/locales/ru.json +0 -9
- package/dist/material/components/ap-tool-call/locales/tr.json +0 -9
- package/dist/material/components/ap-tool-call/locales/zh-CN.json +0 -9
- package/dist/material/components/ap-tool-call/locales/zh-TW.json +0 -9
|
@@ -27,6 +27,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
FormattingToolbar: ()=>FormattingToolbar
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
const react_namespaceObject = require("@lingui/react");
|
|
30
31
|
const external_index_cjs_namespaceObject = require("../../index.cjs");
|
|
31
32
|
const external_react_namespaceObject = require("react");
|
|
32
33
|
const external_CanvasTooltip_cjs_namespaceObject = require("../CanvasTooltip.cjs");
|
|
@@ -34,6 +35,9 @@ const index_cjs_namespaceObject = require("./markdown-formatting/index.cjs");
|
|
|
34
35
|
const external_StickyNoteNode_styles_cjs_namespaceObject = require("./StickyNoteNode.styles.cjs");
|
|
35
36
|
const external_StickyNoteNode_utils_cjs_namespaceObject = require("./StickyNoteNode.utils.cjs");
|
|
36
37
|
const FormattingToolbarComponent = ({ textAreaRef, borderColor, activeFormats, onFormat })=>{
|
|
38
|
+
const { _ } = (0, react_namespaceObject.useLingui)();
|
|
39
|
+
const mod = (0, external_StickyNoteNode_utils_cjs_namespaceObject.getModifierKey)();
|
|
40
|
+
const shift = (0, external_StickyNoteNode_utils_cjs_namespaceObject.isMac)() ? '⇧' : '+Shift+';
|
|
37
41
|
const applyFormat = (0, external_react_namespaceObject.useCallback)((formatFn)=>{
|
|
38
42
|
const textarea = textAreaRef.current;
|
|
39
43
|
if (!textarea) return;
|
|
@@ -63,20 +67,54 @@ const FormattingToolbarComponent = ({ textAreaRef, borderColor, activeFormats, o
|
|
|
63
67
|
const handleNumberedList = (0, external_react_namespaceObject.useCallback)(()=>applyFormat(index_cjs_namespaceObject.toggleNumberedList), [
|
|
64
68
|
applyFormat
|
|
65
69
|
]);
|
|
66
|
-
const
|
|
67
|
-
|
|
70
|
+
const boldLabel = _({
|
|
71
|
+
id: 'sticky-note.formatting.bold',
|
|
72
|
+
message: 'Bold ({boldShortcut})',
|
|
73
|
+
values: {
|
|
74
|
+
boldShortcut: `${mod}+B`
|
|
75
|
+
}
|
|
76
|
+
});
|
|
77
|
+
const italicLabel = _({
|
|
78
|
+
id: 'sticky-note.formatting.italic',
|
|
79
|
+
message: 'Italic ({italicShortcut})',
|
|
80
|
+
values: {
|
|
81
|
+
italicShortcut: `${mod}+I`
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
const strikethroughLabel = _({
|
|
85
|
+
id: 'sticky-note.formatting.strikethrough',
|
|
86
|
+
message: 'Strikethrough ({strikethroughShortcut})',
|
|
87
|
+
values: {
|
|
88
|
+
strikethroughShortcut: `${mod}${shift}X`
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
const bulletListLabel = _({
|
|
92
|
+
id: 'sticky-note.formatting.bullet-list',
|
|
93
|
+
message: 'Bullet list'
|
|
94
|
+
});
|
|
95
|
+
const numberedListLabel = _({
|
|
96
|
+
id: 'sticky-note.formatting.numbered-list',
|
|
97
|
+
message: 'Numbered list'
|
|
98
|
+
});
|
|
99
|
+
const toolbarLabel = _({
|
|
100
|
+
id: 'sticky-note.formatting.toolbar',
|
|
101
|
+
message: 'Text formatting'
|
|
102
|
+
});
|
|
68
103
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(external_StickyNoteNode_styles_cjs_namespaceObject.FormattingToolbarContainer, {
|
|
104
|
+
role: "toolbar",
|
|
105
|
+
"aria-label": toolbarLabel,
|
|
69
106
|
borderColor: borderColor,
|
|
70
107
|
onMouseDown: (e)=>e.preventDefault(),
|
|
71
108
|
className: "nodrag nowheel",
|
|
72
109
|
children: [
|
|
73
110
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_CanvasTooltip_cjs_namespaceObject.CanvasTooltip, {
|
|
74
|
-
content:
|
|
111
|
+
content: boldLabel,
|
|
75
112
|
placement: "top",
|
|
76
113
|
delay: true,
|
|
77
114
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_StickyNoteNode_styles_cjs_namespaceObject.FormattingButton, {
|
|
78
115
|
isActive: activeFormats.bold,
|
|
79
116
|
onClick: handleBold,
|
|
117
|
+
"aria-label": boldLabel,
|
|
80
118
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_index_cjs_namespaceObject.CanvasIcon, {
|
|
81
119
|
icon: "bold",
|
|
82
120
|
size: 14
|
|
@@ -84,12 +122,13 @@ const FormattingToolbarComponent = ({ textAreaRef, borderColor, activeFormats, o
|
|
|
84
122
|
})
|
|
85
123
|
}),
|
|
86
124
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_CanvasTooltip_cjs_namespaceObject.CanvasTooltip, {
|
|
87
|
-
content:
|
|
125
|
+
content: italicLabel,
|
|
88
126
|
placement: "top",
|
|
89
127
|
delay: true,
|
|
90
128
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_StickyNoteNode_styles_cjs_namespaceObject.FormattingButton, {
|
|
91
129
|
isActive: activeFormats.italic,
|
|
92
130
|
onClick: handleItalic,
|
|
131
|
+
"aria-label": italicLabel,
|
|
93
132
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_index_cjs_namespaceObject.CanvasIcon, {
|
|
94
133
|
icon: "italic",
|
|
95
134
|
size: 14
|
|
@@ -97,12 +136,13 @@ const FormattingToolbarComponent = ({ textAreaRef, borderColor, activeFormats, o
|
|
|
97
136
|
})
|
|
98
137
|
}),
|
|
99
138
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_CanvasTooltip_cjs_namespaceObject.CanvasTooltip, {
|
|
100
|
-
content:
|
|
139
|
+
content: strikethroughLabel,
|
|
101
140
|
placement: "top",
|
|
102
141
|
delay: true,
|
|
103
142
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_StickyNoteNode_styles_cjs_namespaceObject.FormattingButton, {
|
|
104
143
|
isActive: activeFormats.strikethrough,
|
|
105
144
|
onClick: handleStrikethrough,
|
|
145
|
+
"aria-label": strikethroughLabel,
|
|
106
146
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_index_cjs_namespaceObject.CanvasIcon, {
|
|
107
147
|
icon: "strikethrough",
|
|
108
148
|
size: 14
|
|
@@ -111,12 +151,13 @@ const FormattingToolbarComponent = ({ textAreaRef, borderColor, activeFormats, o
|
|
|
111
151
|
}),
|
|
112
152
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_StickyNoteNode_styles_cjs_namespaceObject.ToolbarSeparator, {}),
|
|
113
153
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_CanvasTooltip_cjs_namespaceObject.CanvasTooltip, {
|
|
114
|
-
content:
|
|
154
|
+
content: bulletListLabel,
|
|
115
155
|
placement: "top",
|
|
116
156
|
delay: true,
|
|
117
157
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_StickyNoteNode_styles_cjs_namespaceObject.FormattingButton, {
|
|
118
158
|
isActive: activeFormats.bulletList,
|
|
119
159
|
onClick: handleBulletList,
|
|
160
|
+
"aria-label": bulletListLabel,
|
|
120
161
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_index_cjs_namespaceObject.CanvasIcon, {
|
|
121
162
|
icon: "list",
|
|
122
163
|
size: 14
|
|
@@ -124,12 +165,13 @@ const FormattingToolbarComponent = ({ textAreaRef, borderColor, activeFormats, o
|
|
|
124
165
|
})
|
|
125
166
|
}),
|
|
126
167
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_CanvasTooltip_cjs_namespaceObject.CanvasTooltip, {
|
|
127
|
-
content:
|
|
168
|
+
content: numberedListLabel,
|
|
128
169
|
placement: "top",
|
|
129
170
|
delay: true,
|
|
130
171
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_StickyNoteNode_styles_cjs_namespaceObject.FormattingButton, {
|
|
131
172
|
isActive: activeFormats.numberedList,
|
|
132
173
|
onClick: handleNumberedList,
|
|
174
|
+
"aria-label": numberedListLabel,
|
|
133
175
|
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_index_cjs_namespaceObject.CanvasIcon, {
|
|
134
176
|
icon: "list-ordered",
|
|
135
177
|
size: 14
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormattingToolbar.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StickyNoteNode/FormattingToolbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FormattingToolbar.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StickyNoteNode/FormattingToolbar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,SAAS,EAAe,MAAM,OAAO,CAAC;AAE1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAa3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAG5D,UAAU,sBAAsB;IAC9B,WAAW,EAAE,SAAS,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAC;CAC3C;AAwHD,eAAO,MAAM,iBAAiB,+FAjH3B,sBAAsB,6CAiHwC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useLingui } from "@lingui/react";
|
|
2
3
|
import { CanvasIcon } from "../../index.js";
|
|
3
4
|
import { memo, useCallback } from "react";
|
|
4
5
|
import { CanvasTooltip } from "../CanvasTooltip.js";
|
|
@@ -6,6 +7,9 @@ import { toggleBold, toggleBulletList, toggleItalic, toggleNumberedList, toggleS
|
|
|
6
7
|
import { FormattingButton, FormattingToolbarContainer, ToolbarSeparator } from "./StickyNoteNode.styles.js";
|
|
7
8
|
import { getModifierKey, isMac } from "./StickyNoteNode.utils.js";
|
|
8
9
|
const FormattingToolbarComponent = ({ textAreaRef, borderColor, activeFormats, onFormat })=>{
|
|
10
|
+
const { _ } = useLingui();
|
|
11
|
+
const mod = getModifierKey();
|
|
12
|
+
const shift = isMac() ? '⇧' : '+Shift+';
|
|
9
13
|
const applyFormat = useCallback((formatFn)=>{
|
|
10
14
|
const textarea = textAreaRef.current;
|
|
11
15
|
if (!textarea) return;
|
|
@@ -35,20 +39,54 @@ const FormattingToolbarComponent = ({ textAreaRef, borderColor, activeFormats, o
|
|
|
35
39
|
const handleNumberedList = useCallback(()=>applyFormat(toggleNumberedList), [
|
|
36
40
|
applyFormat
|
|
37
41
|
]);
|
|
38
|
-
const
|
|
39
|
-
|
|
42
|
+
const boldLabel = _({
|
|
43
|
+
id: 'sticky-note.formatting.bold',
|
|
44
|
+
message: 'Bold ({boldShortcut})',
|
|
45
|
+
values: {
|
|
46
|
+
boldShortcut: `${mod}+B`
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
const italicLabel = _({
|
|
50
|
+
id: 'sticky-note.formatting.italic',
|
|
51
|
+
message: 'Italic ({italicShortcut})',
|
|
52
|
+
values: {
|
|
53
|
+
italicShortcut: `${mod}+I`
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
const strikethroughLabel = _({
|
|
57
|
+
id: 'sticky-note.formatting.strikethrough',
|
|
58
|
+
message: 'Strikethrough ({strikethroughShortcut})',
|
|
59
|
+
values: {
|
|
60
|
+
strikethroughShortcut: `${mod}${shift}X`
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
const bulletListLabel = _({
|
|
64
|
+
id: 'sticky-note.formatting.bullet-list',
|
|
65
|
+
message: 'Bullet list'
|
|
66
|
+
});
|
|
67
|
+
const numberedListLabel = _({
|
|
68
|
+
id: 'sticky-note.formatting.numbered-list',
|
|
69
|
+
message: 'Numbered list'
|
|
70
|
+
});
|
|
71
|
+
const toolbarLabel = _({
|
|
72
|
+
id: 'sticky-note.formatting.toolbar',
|
|
73
|
+
message: 'Text formatting'
|
|
74
|
+
});
|
|
40
75
|
return /*#__PURE__*/ jsxs(FormattingToolbarContainer, {
|
|
76
|
+
role: "toolbar",
|
|
77
|
+
"aria-label": toolbarLabel,
|
|
41
78
|
borderColor: borderColor,
|
|
42
79
|
onMouseDown: (e)=>e.preventDefault(),
|
|
43
80
|
className: "nodrag nowheel",
|
|
44
81
|
children: [
|
|
45
82
|
/*#__PURE__*/ jsx(CanvasTooltip, {
|
|
46
|
-
content:
|
|
83
|
+
content: boldLabel,
|
|
47
84
|
placement: "top",
|
|
48
85
|
delay: true,
|
|
49
86
|
children: /*#__PURE__*/ jsx(FormattingButton, {
|
|
50
87
|
isActive: activeFormats.bold,
|
|
51
88
|
onClick: handleBold,
|
|
89
|
+
"aria-label": boldLabel,
|
|
52
90
|
children: /*#__PURE__*/ jsx(CanvasIcon, {
|
|
53
91
|
icon: "bold",
|
|
54
92
|
size: 14
|
|
@@ -56,12 +94,13 @@ const FormattingToolbarComponent = ({ textAreaRef, borderColor, activeFormats, o
|
|
|
56
94
|
})
|
|
57
95
|
}),
|
|
58
96
|
/*#__PURE__*/ jsx(CanvasTooltip, {
|
|
59
|
-
content:
|
|
97
|
+
content: italicLabel,
|
|
60
98
|
placement: "top",
|
|
61
99
|
delay: true,
|
|
62
100
|
children: /*#__PURE__*/ jsx(FormattingButton, {
|
|
63
101
|
isActive: activeFormats.italic,
|
|
64
102
|
onClick: handleItalic,
|
|
103
|
+
"aria-label": italicLabel,
|
|
65
104
|
children: /*#__PURE__*/ jsx(CanvasIcon, {
|
|
66
105
|
icon: "italic",
|
|
67
106
|
size: 14
|
|
@@ -69,12 +108,13 @@ const FormattingToolbarComponent = ({ textAreaRef, borderColor, activeFormats, o
|
|
|
69
108
|
})
|
|
70
109
|
}),
|
|
71
110
|
/*#__PURE__*/ jsx(CanvasTooltip, {
|
|
72
|
-
content:
|
|
111
|
+
content: strikethroughLabel,
|
|
73
112
|
placement: "top",
|
|
74
113
|
delay: true,
|
|
75
114
|
children: /*#__PURE__*/ jsx(FormattingButton, {
|
|
76
115
|
isActive: activeFormats.strikethrough,
|
|
77
116
|
onClick: handleStrikethrough,
|
|
117
|
+
"aria-label": strikethroughLabel,
|
|
78
118
|
children: /*#__PURE__*/ jsx(CanvasIcon, {
|
|
79
119
|
icon: "strikethrough",
|
|
80
120
|
size: 14
|
|
@@ -83,12 +123,13 @@ const FormattingToolbarComponent = ({ textAreaRef, borderColor, activeFormats, o
|
|
|
83
123
|
}),
|
|
84
124
|
/*#__PURE__*/ jsx(ToolbarSeparator, {}),
|
|
85
125
|
/*#__PURE__*/ jsx(CanvasTooltip, {
|
|
86
|
-
content:
|
|
126
|
+
content: bulletListLabel,
|
|
87
127
|
placement: "top",
|
|
88
128
|
delay: true,
|
|
89
129
|
children: /*#__PURE__*/ jsx(FormattingButton, {
|
|
90
130
|
isActive: activeFormats.bulletList,
|
|
91
131
|
onClick: handleBulletList,
|
|
132
|
+
"aria-label": bulletListLabel,
|
|
92
133
|
children: /*#__PURE__*/ jsx(CanvasIcon, {
|
|
93
134
|
icon: "list",
|
|
94
135
|
size: 14
|
|
@@ -96,12 +137,13 @@ const FormattingToolbarComponent = ({ textAreaRef, borderColor, activeFormats, o
|
|
|
96
137
|
})
|
|
97
138
|
}),
|
|
98
139
|
/*#__PURE__*/ jsx(CanvasTooltip, {
|
|
99
|
-
content:
|
|
140
|
+
content: numberedListLabel,
|
|
100
141
|
placement: "top",
|
|
101
142
|
delay: true,
|
|
102
143
|
children: /*#__PURE__*/ jsx(FormattingButton, {
|
|
103
144
|
isActive: activeFormats.numberedList,
|
|
104
145
|
onClick: handleNumberedList,
|
|
146
|
+
"aria-label": numberedListLabel,
|
|
105
147
|
children: /*#__PURE__*/ jsx(CanvasIcon, {
|
|
106
148
|
icon: "list-ordered",
|
|
107
149
|
size: 14
|
|
@@ -41,6 +41,7 @@ const external_index_cjs_namespaceObject = require("../../index.cjs");
|
|
|
41
41
|
const react_cjs_namespaceObject = require("../../xyflow/react.cjs");
|
|
42
42
|
const external_motion_react_namespaceObject = require("motion/react");
|
|
43
43
|
const external_react_namespaceObject = require("react");
|
|
44
|
+
const index_cjs_namespaceObject = require("../../../i18n/index.cjs");
|
|
44
45
|
const external_react_markdown_namespaceObject = require("react-markdown");
|
|
45
46
|
var external_react_markdown_default = /*#__PURE__*/ __webpack_require__.n(external_react_markdown_namespaceObject);
|
|
46
47
|
const external_remark_breaks_namespaceObject = require("remark-breaks");
|
|
@@ -48,7 +49,7 @@ var external_remark_breaks_default = /*#__PURE__*/ __webpack_require__.n(externa
|
|
|
48
49
|
const external_remark_gfm_namespaceObject = require("remark-gfm");
|
|
49
50
|
var external_remark_gfm_default = /*#__PURE__*/ __webpack_require__.n(external_remark_gfm_namespaceObject);
|
|
50
51
|
const external_constants_cjs_namespaceObject = require("../../constants.cjs");
|
|
51
|
-
const
|
|
52
|
+
const external_Toolbar_index_cjs_namespaceObject = require("../Toolbar/index.cjs");
|
|
52
53
|
const external_FormattingToolbar_cjs_namespaceObject = require("./FormattingToolbar.cjs");
|
|
53
54
|
const external_markdown_formatting_index_cjs_namespaceObject = require("./markdown-formatting/index.cjs");
|
|
54
55
|
const external_StickyNoteNode_styles_cjs_namespaceObject = require("./StickyNoteNode.styles.cjs");
|
|
@@ -375,7 +376,8 @@ const StickyNoteNodeComponent = ({ id, data, selected, dragging, placeholder = '
|
|
|
375
376
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_StickyNoteNode_styles_cjs_namespaceObject.BottomCornerIndicators, {
|
|
376
377
|
selected: selected
|
|
377
378
|
}),
|
|
378
|
-
isEditing ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(
|
|
379
|
+
isEditing ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.ApI18nProvider, {
|
|
380
|
+
component: "canvas",
|
|
379
381
|
children: [
|
|
380
382
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_FormattingToolbar_cjs_namespaceObject.FormattingToolbar, {
|
|
381
383
|
textAreaRef: textAreaRef,
|
|
@@ -417,7 +419,7 @@ const StickyNoteNodeComponent = ({ id, data, selected, dragging, placeholder = '
|
|
|
417
419
|
})
|
|
418
420
|
]
|
|
419
421
|
}),
|
|
420
|
-
selected && !dragging && !isResizing && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
422
|
+
selected && !dragging && !isResizing && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_Toolbar_index_cjs_namespaceObject.NodeToolbar, {
|
|
421
423
|
nodeId: id,
|
|
422
424
|
config: toolbarConfig,
|
|
423
425
|
expanded: true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyNoteNode.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StickyNoteNode/StickyNoteNode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"StickyNoteNode.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StickyNoteNode/StickyNoteNode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AAgC1E,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAiB,MAAM,wBAAwB,CAAC;AAM7F,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,IAAI,EAAE,cAAc,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;IACjD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACpD;AAsYD,eAAO,MAAM,cAAc,4JAvXxB,mBAAmB,6CAuXqC,CAAC"}
|
|
@@ -4,6 +4,7 @@ import { CanvasIcon } from "../../index.js";
|
|
|
4
4
|
import { NodeResizeControl, useReactFlow } from "../../xyflow/react.js";
|
|
5
5
|
import { AnimatePresence } from "motion/react";
|
|
6
6
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
7
|
+
import { ApI18nProvider } from "../../../i18n/index.js";
|
|
7
8
|
import react_markdown from "react-markdown";
|
|
8
9
|
import remark_breaks from "remark-breaks";
|
|
9
10
|
import remark_gfm from "remark-gfm";
|
|
@@ -335,7 +336,8 @@ const StickyNoteNodeComponent = ({ id, data, selected, dragging, placeholder = '
|
|
|
335
336
|
/*#__PURE__*/ jsx(BottomCornerIndicators, {
|
|
336
337
|
selected: selected
|
|
337
338
|
}),
|
|
338
|
-
isEditing ? /*#__PURE__*/ jsxs(
|
|
339
|
+
isEditing ? /*#__PURE__*/ jsxs(ApI18nProvider, {
|
|
340
|
+
component: "canvas",
|
|
339
341
|
children: [
|
|
340
342
|
/*#__PURE__*/ jsx(FormattingToolbar, {
|
|
341
343
|
textAreaRef: textAreaRef,
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
messages: ()=>messages
|
|
28
|
+
});
|
|
29
|
+
const messages = JSON.parse("{\"sticky-note.formatting.bold\":[\"sticky-note.formatting.bold\"],\"sticky-note.formatting.bullet-list\":[\"sticky-note.formatting.bullet-list\"],\"sticky-note.formatting.italic\":[\"sticky-note.formatting.italic\"],\"sticky-note.formatting.numbered-list\":[\"sticky-note.formatting.numbered-list\"],\"sticky-note.formatting.strikethrough\":[\"sticky-note.formatting.strikethrough\"],\"sticky-note.formatting.toolbar\":[\"sticky-note.formatting.toolbar\"]}");
|
|
30
|
+
exports.messages = __webpack_exports__.messages;
|
|
31
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
32
|
+
"messages"
|
|
33
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
34
|
+
Object.defineProperty(exports, '__esModule', {
|
|
35
|
+
value: true
|
|
36
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/canvas/locales/de.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,EAA2d,QAAQ,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const messages = JSON.parse("{\"sticky-note.formatting.bold\":[\"sticky-note.formatting.bold\"],\"sticky-note.formatting.bullet-list\":[\"sticky-note.formatting.bullet-list\"],\"sticky-note.formatting.italic\":[\"sticky-note.formatting.italic\"],\"sticky-note.formatting.numbered-list\":[\"sticky-note.formatting.numbered-list\"],\"sticky-note.formatting.strikethrough\":[\"sticky-note.formatting.strikethrough\"],\"sticky-note.formatting.toolbar\":[\"sticky-note.formatting.toolbar\"]}");
|
|
2
|
+
export { messages };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
messages: ()=>messages
|
|
28
|
+
});
|
|
29
|
+
const messages = JSON.parse("{\"sticky-note.formatting.bold\":[\"Bold (\",[\"boldShortcut\"],\")\"],\"sticky-note.formatting.bullet-list\":[\"Bullet list\"],\"sticky-note.formatting.italic\":[\"Italic (\",[\"italicShortcut\"],\")\"],\"sticky-note.formatting.numbered-list\":[\"Numbered list\"],\"sticky-note.formatting.strikethrough\":[\"Strikethrough (\",[\"strikethroughShortcut\"],\")\"],\"sticky-note.formatting.toolbar\":[\"Text formatting\"]}");
|
|
30
|
+
exports.messages = __webpack_exports__.messages;
|
|
31
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
32
|
+
"messages"
|
|
33
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
34
|
+
Object.defineProperty(exports, '__esModule', {
|
|
35
|
+
value: true
|
|
36
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/canvas/locales/en.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,EAAqb,QAAQ,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const messages = JSON.parse("{\"sticky-note.formatting.bold\":[\"Bold (\",[\"boldShortcut\"],\")\"],\"sticky-note.formatting.bullet-list\":[\"Bullet list\"],\"sticky-note.formatting.italic\":[\"Italic (\",[\"italicShortcut\"],\")\"],\"sticky-note.formatting.numbered-list\":[\"Numbered list\"],\"sticky-note.formatting.strikethrough\":[\"Strikethrough (\",[\"strikethroughShortcut\"],\")\"],\"sticky-note.formatting.toolbar\":[\"Text formatting\"]}");
|
|
2
|
+
export { messages };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
messages: ()=>messages
|
|
28
|
+
});
|
|
29
|
+
const messages = JSON.parse("{\"sticky-note.formatting.bold\":[\"sticky-note.formatting.bold\"],\"sticky-note.formatting.bullet-list\":[\"sticky-note.formatting.bullet-list\"],\"sticky-note.formatting.italic\":[\"sticky-note.formatting.italic\"],\"sticky-note.formatting.numbered-list\":[\"sticky-note.formatting.numbered-list\"],\"sticky-note.formatting.strikethrough\":[\"sticky-note.formatting.strikethrough\"],\"sticky-note.formatting.toolbar\":[\"sticky-note.formatting.toolbar\"]}");
|
|
30
|
+
exports.messages = __webpack_exports__.messages;
|
|
31
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
32
|
+
"messages"
|
|
33
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
34
|
+
Object.defineProperty(exports, '__esModule', {
|
|
35
|
+
value: true
|
|
36
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es-MX.d.ts","sourceRoot":"","sources":["../../../src/canvas/locales/es-MX.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,EAA2d,QAAQ,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const messages = JSON.parse("{\"sticky-note.formatting.bold\":[\"sticky-note.formatting.bold\"],\"sticky-note.formatting.bullet-list\":[\"sticky-note.formatting.bullet-list\"],\"sticky-note.formatting.italic\":[\"sticky-note.formatting.italic\"],\"sticky-note.formatting.numbered-list\":[\"sticky-note.formatting.numbered-list\"],\"sticky-note.formatting.strikethrough\":[\"sticky-note.formatting.strikethrough\"],\"sticky-note.formatting.toolbar\":[\"sticky-note.formatting.toolbar\"]}");
|
|
2
|
+
export { messages };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
messages: ()=>messages
|
|
28
|
+
});
|
|
29
|
+
const messages = JSON.parse("{\"sticky-note.formatting.bold\":[\"sticky-note.formatting.bold\"],\"sticky-note.formatting.bullet-list\":[\"sticky-note.formatting.bullet-list\"],\"sticky-note.formatting.italic\":[\"sticky-note.formatting.italic\"],\"sticky-note.formatting.numbered-list\":[\"sticky-note.formatting.numbered-list\"],\"sticky-note.formatting.strikethrough\":[\"sticky-note.formatting.strikethrough\"],\"sticky-note.formatting.toolbar\":[\"sticky-note.formatting.toolbar\"]}");
|
|
30
|
+
exports.messages = __webpack_exports__.messages;
|
|
31
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
32
|
+
"messages"
|
|
33
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
34
|
+
Object.defineProperty(exports, '__esModule', {
|
|
35
|
+
value: true
|
|
36
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../src/canvas/locales/es.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,EAA2d,QAAQ,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const messages = JSON.parse("{\"sticky-note.formatting.bold\":[\"sticky-note.formatting.bold\"],\"sticky-note.formatting.bullet-list\":[\"sticky-note.formatting.bullet-list\"],\"sticky-note.formatting.italic\":[\"sticky-note.formatting.italic\"],\"sticky-note.formatting.numbered-list\":[\"sticky-note.formatting.numbered-list\"],\"sticky-note.formatting.strikethrough\":[\"sticky-note.formatting.strikethrough\"],\"sticky-note.formatting.toolbar\":[\"sticky-note.formatting.toolbar\"]}");
|
|
2
|
+
export { messages };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
messages: ()=>messages
|
|
28
|
+
});
|
|
29
|
+
const messages = JSON.parse("{\"sticky-note.formatting.bold\":[\"sticky-note.formatting.bold\"],\"sticky-note.formatting.bullet-list\":[\"sticky-note.formatting.bullet-list\"],\"sticky-note.formatting.italic\":[\"sticky-note.formatting.italic\"],\"sticky-note.formatting.numbered-list\":[\"sticky-note.formatting.numbered-list\"],\"sticky-note.formatting.strikethrough\":[\"sticky-note.formatting.strikethrough\"],\"sticky-note.formatting.toolbar\":[\"sticky-note.formatting.toolbar\"]}");
|
|
30
|
+
exports.messages = __webpack_exports__.messages;
|
|
31
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
32
|
+
"messages"
|
|
33
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
34
|
+
Object.defineProperty(exports, '__esModule', {
|
|
35
|
+
value: true
|
|
36
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../src/canvas/locales/fr.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,EAA2d,QAAQ,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const messages = JSON.parse("{\"sticky-note.formatting.bold\":[\"sticky-note.formatting.bold\"],\"sticky-note.formatting.bullet-list\":[\"sticky-note.formatting.bullet-list\"],\"sticky-note.formatting.italic\":[\"sticky-note.formatting.italic\"],\"sticky-note.formatting.numbered-list\":[\"sticky-note.formatting.numbered-list\"],\"sticky-note.formatting.strikethrough\":[\"sticky-note.formatting.strikethrough\"],\"sticky-note.formatting.toolbar\":[\"sticky-note.formatting.toolbar\"]}");
|
|
2
|
+
export { messages };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
messages: ()=>messages
|
|
28
|
+
});
|
|
29
|
+
const messages = JSON.parse("{\"sticky-note.formatting.bold\":[\"sticky-note.formatting.bold\"],\"sticky-note.formatting.bullet-list\":[\"sticky-note.formatting.bullet-list\"],\"sticky-note.formatting.italic\":[\"sticky-note.formatting.italic\"],\"sticky-note.formatting.numbered-list\":[\"sticky-note.formatting.numbered-list\"],\"sticky-note.formatting.strikethrough\":[\"sticky-note.formatting.strikethrough\"],\"sticky-note.formatting.toolbar\":[\"sticky-note.formatting.toolbar\"]}");
|
|
30
|
+
exports.messages = __webpack_exports__.messages;
|
|
31
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
32
|
+
"messages"
|
|
33
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
34
|
+
Object.defineProperty(exports, '__esModule', {
|
|
35
|
+
value: true
|
|
36
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ja.d.ts","sourceRoot":"","sources":["../../../src/canvas/locales/ja.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,EAA2d,QAAQ,CAAC"}
|