pds-dev-kit-web-test 2.5.626 → 2.5.628
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/src/common/services/i18n/resources/en.json +14 -14
- package/dist/src/common/styles/theme.d.ts +0 -1
- package/dist/src/common/styles/theme.js +1 -1
- package/dist/src/core/pricing/translator.js +7 -8
- package/dist/src/core/pricing/types.js +1 -1
- package/dist/src/desktop/components/BoxItem/BoxItem.js +1 -1
- package/dist/src/desktop/components/Calendar/Calendar.js +46 -51
- package/dist/src/desktop/components/Calendar/CalendarContext.d.ts +3 -1
- package/dist/src/desktop/components/Calendar/CalendarContext.js +2 -1
- package/dist/src/desktop/components/Calendar/DailyView.d.ts +8 -2
- package/dist/src/desktop/components/Calendar/DailyView.js +88 -7
- package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +2 -1
- package/dist/src/desktop/components/Calendar/MonthlyView.js +81 -6
- package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +3 -0
- package/dist/src/desktop/components/Calendar/WeeklyView.js +113 -7
- package/dist/src/desktop/components/Calendar/calendarUtils.js +20 -10
- package/dist/src/desktop/components/Calendar/types.d.ts +8 -4
- package/dist/src/desktop/components/TextButton/TextButton.d.ts +2 -5
- package/dist/src/desktop/components/TextButton/TextButton.js +4 -14
- package/dist/src/desktop/components/index.d.ts +1 -2
- package/dist/src/desktop/components/index.js +2 -4
- package/dist/src/desktop/index.d.ts +1 -1
- package/dist/src/desktop/index.js +2 -3
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +1 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +1 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +1 -1
- package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.js +5 -8
- package/dist/src/mobile/components/BoxItem/BoxItem.js +1 -1
- package/dist/src/mobile/components/TextButton/TextButton.d.ts +2 -5
- package/dist/src/mobile/components/TextButton/TextButton.js +4 -14
- package/dist/src/mobile/components/index.d.ts +1 -2
- package/dist/src/mobile/components/index.js +1 -3
- package/dist/src/mobile/index.d.ts +1 -1
- package/dist/src/mobile/index.js +1 -2
- package/package.json +2 -7
- package/release-note.md +2 -2
- package/dist/scripts/copy-tinymce.d.ts +0 -1
- package/dist/scripts/copy-tinymce.js +0 -32
- package/dist/src/desktop/components/RichTextEditor/RichTextEditor.d.ts +0 -34
- package/dist/src/desktop/components/RichTextEditor/RichTextEditor.js +0 -268
- package/dist/src/desktop/components/RichTextEditor/index.d.ts +0 -2
- package/dist/src/desktop/components/RichTextEditor/index.js +0 -8
- package/dist/src/mobile/components/RichTextEditor/RichTextEditor.d.ts +0 -34
- package/dist/src/mobile/components/RichTextEditor/RichTextEditor.js +0 -272
- package/dist/src/mobile/components/RichTextEditor/index.d.ts +0 -2
- package/dist/src/mobile/components/RichTextEditor/index.js +0 -8
- package/dist/tinymce/CHANGELOG.md +0 -3453
- package/dist/tinymce/README.md +0 -73
- package/dist/tinymce/bower.json +0 -27
- package/dist/tinymce/composer.json +0 -52
- package/dist/tinymce/icons/default/icons.js +0 -194
- package/dist/tinymce/icons/default/icons.min.js +0 -1
- package/dist/tinymce/icons/default/index.js +0 -7
- package/dist/tinymce/license.txt +0 -21
- package/dist/tinymce/models/dom/index.js +0 -7
- package/dist/tinymce/models/dom/model.js +0 -8040
- package/dist/tinymce/models/dom/model.min.js +0 -1
- package/dist/tinymce/notices.txt +0 -21
- package/dist/tinymce/package.json +0 -32
- package/dist/tinymce/plugins/accordion/index.js +0 -7
- package/dist/tinymce/plugins/accordion/plugin.js +0 -1054
- package/dist/tinymce/plugins/accordion/plugin.min.js +0 -5
- package/dist/tinymce/plugins/advlist/index.js +0 -7
- package/dist/tinymce/plugins/advlist/plugin.js +0 -259
- package/dist/tinymce/plugins/advlist/plugin.min.js +0 -5
- package/dist/tinymce/plugins/anchor/index.js +0 -7
- package/dist/tinymce/plugins/anchor/plugin.js +0 -214
- package/dist/tinymce/plugins/anchor/plugin.min.js +0 -5
- package/dist/tinymce/plugins/autolink/index.js +0 -7
- package/dist/tinymce/plugins/autolink/plugin.js +0 -228
- package/dist/tinymce/plugins/autolink/plugin.min.js +0 -5
- package/dist/tinymce/plugins/autoresize/index.js +0 -7
- package/dist/tinymce/plugins/autoresize/plugin.js +0 -192
- package/dist/tinymce/plugins/autoresize/plugin.min.js +0 -5
- package/dist/tinymce/plugins/autosave/index.js +0 -7
- package/dist/tinymce/plugins/autosave/plugin.js +0 -233
- package/dist/tinymce/plugins/autosave/plugin.min.js +0 -5
- package/dist/tinymce/plugins/charmap/index.js +0 -7
- package/dist/tinymce/plugins/charmap/plugin.js +0 -1658
- package/dist/tinymce/plugins/charmap/plugin.min.js +0 -5
- package/dist/tinymce/plugins/code/index.js +0 -7
- package/dist/tinymce/plugins/code/plugin.js +0 -85
- package/dist/tinymce/plugins/code/plugin.min.js +0 -5
- package/dist/tinymce/plugins/codesample/index.js +0 -7
- package/dist/tinymce/plugins/codesample/plugin.js +0 -2471
- package/dist/tinymce/plugins/codesample/plugin.min.js +0 -13
- package/dist/tinymce/plugins/directionality/index.js +0 -7
- package/dist/tinymce/plugins/directionality/plugin.js +0 -395
- package/dist/tinymce/plugins/directionality/plugin.min.js +0 -5
- package/dist/tinymce/plugins/emoticons/index.js +0 -7
- package/dist/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
- package/dist/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -1
- package/dist/tinymce/plugins/emoticons/js/emojis.js +0 -1
- package/dist/tinymce/plugins/emoticons/js/emojis.min.js +0 -1
- package/dist/tinymce/plugins/emoticons/plugin.js +0 -595
- package/dist/tinymce/plugins/emoticons/plugin.min.js +0 -5
- package/dist/tinymce/plugins/fullscreen/index.js +0 -7
- package/dist/tinymce/plugins/fullscreen/plugin.js +0 -1249
- package/dist/tinymce/plugins/fullscreen/plugin.min.js +0 -5
- package/dist/tinymce/plugins/help/index.js +0 -7
- package/dist/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
- package/dist/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
- package/dist/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
- package/dist/tinymce/plugins/help/plugin.js +0 -898
- package/dist/tinymce/plugins/help/plugin.min.js +0 -5
- package/dist/tinymce/plugins/image/index.js +0 -7
- package/dist/tinymce/plugins/image/plugin.js +0 -1505
- package/dist/tinymce/plugins/image/plugin.min.js +0 -5
- package/dist/tinymce/plugins/importcss/index.js +0 -7
- package/dist/tinymce/plugins/importcss/plugin.js +0 -344
- package/dist/tinymce/plugins/importcss/plugin.min.js +0 -5
- package/dist/tinymce/plugins/insertdatetime/index.js +0 -7
- package/dist/tinymce/plugins/insertdatetime/plugin.js +0 -187
- package/dist/tinymce/plugins/insertdatetime/plugin.min.js +0 -5
- package/dist/tinymce/plugins/link/index.js +0 -7
- package/dist/tinymce/plugins/link/plugin.js +0 -1242
- package/dist/tinymce/plugins/link/plugin.min.js +0 -5
- package/dist/tinymce/plugins/lists/index.js +0 -7
- package/dist/tinymce/plugins/lists/plugin.js +0 -2172
- package/dist/tinymce/plugins/lists/plugin.min.js +0 -5
- package/dist/tinymce/plugins/media/index.js +0 -7
- package/dist/tinymce/plugins/media/plugin.js +0 -1217
- package/dist/tinymce/plugins/media/plugin.min.js +0 -5
- package/dist/tinymce/plugins/nonbreaking/index.js +0 -7
- package/dist/tinymce/plugins/nonbreaking/plugin.js +0 -123
- package/dist/tinymce/plugins/nonbreaking/plugin.min.js +0 -5
- package/dist/tinymce/plugins/pagebreak/index.js +0 -7
- package/dist/tinymce/plugins/pagebreak/plugin.js +0 -117
- package/dist/tinymce/plugins/pagebreak/plugin.min.js +0 -5
- package/dist/tinymce/plugins/preview/index.js +0 -7
- package/dist/tinymce/plugins/preview/plugin.js +0 -97
- package/dist/tinymce/plugins/preview/plugin.min.js +0 -5
- package/dist/tinymce/plugins/quickbars/index.js +0 -7
- package/dist/tinymce/plugins/quickbars/plugin.js +0 -447
- package/dist/tinymce/plugins/quickbars/plugin.min.js +0 -5
- package/dist/tinymce/plugins/save/index.js +0 -7
- package/dist/tinymce/plugins/save/plugin.js +0 -118
- package/dist/tinymce/plugins/save/plugin.min.js +0 -5
- package/dist/tinymce/plugins/searchreplace/index.js +0 -7
- package/dist/tinymce/plugins/searchreplace/plugin.js +0 -1093
- package/dist/tinymce/plugins/searchreplace/plugin.min.js +0 -5
- package/dist/tinymce/plugins/table/index.js +0 -7
- package/dist/tinymce/plugins/table/plugin.js +0 -3462
- package/dist/tinymce/plugins/table/plugin.min.js +0 -5
- package/dist/tinymce/plugins/template/index.js +0 -7
- package/dist/tinymce/plugins/template/plugin.js +0 -567
- package/dist/tinymce/plugins/template/plugin.min.js +0 -5
- package/dist/tinymce/plugins/visualblocks/index.js +0 -7
- package/dist/tinymce/plugins/visualblocks/plugin.js +0 -98
- package/dist/tinymce/plugins/visualblocks/plugin.min.js +0 -5
- package/dist/tinymce/plugins/visualchars/index.js +0 -7
- package/dist/tinymce/plugins/visualchars/plugin.js +0 -560
- package/dist/tinymce/plugins/visualchars/plugin.min.js +0 -5
- package/dist/tinymce/plugins/wordcount/index.js +0 -7
- package/dist/tinymce/plugins/wordcount/plugin.js +0 -405
- package/dist/tinymce/plugins/wordcount/plugin.min.js +0 -5
- package/dist/tinymce/skins/content/dark/content.css +0 -79
- package/dist/tinymce/skins/content/dark/content.js +0 -15
- package/dist/tinymce/skins/content/dark/content.min.css +0 -14
- package/dist/tinymce/skins/content/default/content.css +0 -74
- package/dist/tinymce/skins/content/default/content.js +0 -15
- package/dist/tinymce/skins/content/default/content.min.css +0 -14
- package/dist/tinymce/skins/content/document/content.css +0 -79
- package/dist/tinymce/skins/content/document/content.js +0 -15
- package/dist/tinymce/skins/content/document/content.min.css +0 -14
- package/dist/tinymce/skins/content/tinymce-5/content.css +0 -74
- package/dist/tinymce/skins/content/tinymce-5/content.js +0 -15
- package/dist/tinymce/skins/content/tinymce-5/content.min.css +0 -14
- package/dist/tinymce/skins/content/tinymce-5-dark/content.css +0 -79
- package/dist/tinymce/skins/content/tinymce-5-dark/content.js +0 -15
- package/dist/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -14
- package/dist/tinymce/skins/content/writer/content.css +0 -75
- package/dist/tinymce/skins/content/writer/content.js +0 -15
- package/dist/tinymce/skins/content/writer/content.min.css +0 -14
- package/dist/tinymce/skins/ui/oxide/content.css +0 -798
- package/dist/tinymce/skins/ui/oxide/content.inline.css +0 -792
- package/dist/tinymce/skins/ui/oxide/content.inline.js +0 -15
- package/dist/tinymce/skins/ui/oxide/content.inline.min.css +0 -14
- package/dist/tinymce/skins/ui/oxide/content.js +0 -15
- package/dist/tinymce/skins/ui/oxide/content.min.css +0 -14
- package/dist/tinymce/skins/ui/oxide/skin.css +0 -3763
- package/dist/tinymce/skins/ui/oxide/skin.js +0 -2
- package/dist/tinymce/skins/ui/oxide/skin.min.css +0 -1
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
- package/dist/tinymce/skins/ui/oxide-dark/content.css +0 -779
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.css +0 -792
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.js +0 -15
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -14
- package/dist/tinymce/skins/ui/oxide-dark/content.js +0 -15
- package/dist/tinymce/skins/ui/oxide-dark/content.min.css +0 -14
- package/dist/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
- package/dist/tinymce/skins/ui/oxide-dark/skin.js +0 -2
- package/dist/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
- package/dist/tinymce/skins/ui/tinymce-5/content.css +0 -798
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.css +0 -792
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.js +0 -15
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -14
- package/dist/tinymce/skins/ui/tinymce-5/content.js +0 -15
- package/dist/tinymce/skins/ui/tinymce-5/content.min.css +0 -14
- package/dist/tinymce/skins/ui/tinymce-5/skin.css +0 -3857
- package/dist/tinymce/skins/ui/tinymce-5/skin.js +0 -2
- package/dist/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +0 -30
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.css +0 -779
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.css +0 -792
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -15
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -14
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.js +0 -15
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -14
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.css +0 -3857
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +0 -30
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
- package/dist/tinymce/themes/silver/index.js +0 -7
- package/dist/tinymce/themes/silver/theme.js +0 -30775
- package/dist/tinymce/themes/silver/theme.min.js +0 -1
- package/dist/tinymce/tinymce.d.ts +0 -3238
- package/dist/tinymce/tinymce.js +0 -31779
- package/dist/tinymce/tinymce.min.js +0 -11
- package/scripts/copy-tinymce.js +0 -37
@@ -61,7 +61,7 @@ var WFL_4Area2Style = (0, styled_components_1.css)(templateObject_12 || (templat
|
|
61
61
|
var WFL_1Content2Style = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n"], ["\n height: 100%;\n overflow: hidden;\n"])));
|
62
62
|
var WFL_2Content2Style = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n"], ["\n height: 100%;\n overflow: hidden;\n"])));
|
63
63
|
var S_Box = styled_components_1.default.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n display: flex;\n height: 60vh;\n max-height: 640px;\n"], ["\n display: flex;\n height: 60vh;\n max-height: 640px;\n"])));
|
64
|
-
var S_ContentsContainer1 = styled_components_1.default.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 24px 0 0 24px;\n box-sizing: border-box;\n overflow-x: hidden;\n overflow-y: auto;\n
|
64
|
+
var S_ContentsContainer1 = styled_components_1.default.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 24px 0 0 24px;\n box-sizing: border-box;\n overflow-x: hidden;\n overflow-y: auto;\n width: 480px;\n\n ", ";\n ", ";\n\n ", "\n"], ["\n background-color: ", ";\n border-radius: 24px 0 0 24px;\n box-sizing: border-box;\n overflow-x: hidden;\n overflow-y: auto;\n width: 480px;\n\n ", ";\n ", ";\n\n ", "\n"])), function (_a) {
|
65
65
|
var theme = _a.theme;
|
66
66
|
return theme.ui_wizard_contentscontainer01_background;
|
67
67
|
}, function (_a) {
|
@@ -75,8 +75,8 @@ var S_ContentsContainer1 = styled_components_1.default.div(templateObject_16 ||
|
|
75
75
|
}, function (_a) {
|
76
76
|
var containerColor = _a.containerColor;
|
77
77
|
return "background-color: ".concat(containerColor);
|
78
|
-
}, scrollbarStyle_1.
|
79
|
-
var S_ContentsContainer2 = styled_components_1.default.div(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 0 24px 24px 0;\n
|
78
|
+
}, scrollbarStyle_1.scrollbarStyle);
|
79
|
+
var S_ContentsContainer2 = styled_components_1.default.div(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 0 24px 24px 0;\n width: 672px;\n\n ", ";\n ", ";\n"], ["\n background-color: ", ";\n border-radius: 0 24px 24px 0;\n width: 672px;\n\n ", ";\n ", ";\n"])), function (_a) {
|
80
80
|
var theme = _a.theme;
|
81
81
|
return theme.ui_wizard_contentscontainer02_background;
|
82
82
|
}, function (_a) {
|
@@ -90,15 +90,12 @@ var S_ContentsContainer2 = styled_components_1.default.div(templateObject_17 ||
|
|
90
90
|
}, function (_a) {
|
91
91
|
var containerColor = _a.containerColor;
|
92
92
|
return "background-color: ".concat(containerColor);
|
93
|
-
}
|
93
|
+
});
|
94
94
|
var S_ContentsArea1 = styled_components_1.default.div(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n box-sizing: border-box;\n padding-bottom: 64px;\n\n ", ";\n"], ["\n box-sizing: border-box;\n padding-bottom: 64px;\n\n ", ";\n"])), function (_a) {
|
95
95
|
var areaColor = _a.areaColor;
|
96
96
|
return "background-color: ".concat(areaColor);
|
97
97
|
});
|
98
|
-
var S_ContentsArea2 = styled_components_1.default.div(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n box-sizing: border-box;\n
|
99
|
-
var theme = _a.theme;
|
100
|
-
return theme.spacing.spacingF;
|
101
|
-
}, function (_a) {
|
98
|
+
var S_ContentsArea2 = styled_components_1.default.div(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n box-sizing: border-box;\n\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n\n ", ";\n ", ";\n"])), function (_a) {
|
102
99
|
var layoutType = _a.layoutType;
|
103
100
|
return ({
|
104
101
|
WFL_1: WFL_1Area2Style,
|
@@ -90,7 +90,7 @@ function BoxItem(_a) {
|
|
90
90
|
alignItems: 'center',
|
91
91
|
justifyContent: 'space-between',
|
92
92
|
cursor: state === 'disabled' ? 'default' : selectionMode === 'use' ? 'pointer' : 'default'
|
93
|
-
} }, { children: [(0, jsx_runtime_1.jsxs)(LeftBox_1.LeftBox, __assign({ hasRightBox: displayType !== 'none' || chipMode === 'use' }, { children: [checkboxMode !== 'none' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Checkbox, { selected: selectState === 'selected', isIndeterminate: checkboxMode === 'indeterminate' })), imageMode === 'use' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Image, { shape: imageShapeType, src: imageSrc, width: imageWidth, ratio: imageRatio, scaleType: imageScaleType })), (0, jsx_runtime_1.jsxs)(S_TextGroup, { children: [titleText && ((0, jsx_runtime_1.jsx)(index_1.M_TextLabel, { text: titleText, colorOverride: state === 'disabled' ?
|
93
|
+
} }, { children: [(0, jsx_runtime_1.jsxs)(LeftBox_1.LeftBox, __assign({ hasRightBox: displayType !== 'none' || chipMode === 'use' }, { children: [checkboxMode !== 'none' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Checkbox, { selected: selectState === 'selected', isIndeterminate: checkboxMode === 'indeterminate' })), imageMode === 'use' && ((0, jsx_runtime_1.jsx)(LeftBox_1.LeftBox.Image, { shape: imageShapeType, src: imageSrc, width: imageWidth, ratio: imageRatio, scaleType: imageScaleType })), (0, jsx_runtime_1.jsxs)(S_TextGroup, { children: [titleText && ((0, jsx_runtime_1.jsx)(index_1.M_TextLabel, { text: titleText, colorOverride: state === 'disabled' ? 'ui_cpnt_textlabel_sys_secondary' : titleTextColorKey, styleTheme: titleFontSize, lineLimit: titleTextLineLimit, wordBreak: titleTextWordBreak, ellipsisMode: "use" })), descText && ((0, jsx_runtime_1.jsx)(index_1.M_TextLabel, { text: descText, colorOverride: state === 'disabled' ? 'ui_cpnt_textlabel_sys_secondary' : descTextColorKey, lineLimit: descLineLimit, wordBreak: descTextWordBreak, ellipsisMode: "use", styleTheme: "caption1Regular" }))] })] })), (0, jsx_runtime_1.jsxs)(S_RightBox, { children: [displayType !== 'none' ||
|
94
94
|
(chipMode === 'use' && (0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b", spacingType: "width" })), chipMode === 'use' && ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(Chip_1.Chip, { text: chipText, overrideBackgroundColorKey: chipOverrideBackgroundColorKey, displayType: "information", overrideTextColorKey: chipOverrideTextColorKey }) })), (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [displayType === 'ibtn_amount1' && ((0, jsx_runtime_1.jsx)(index_1.M_IconButton, { iconName: iBtn1IconName || 'ic_arrow_right', baseSize: "medium", fillType: "fill", iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, onClick: handleIBtn1Click, state: state, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", shapeType: "rectangle" })), displayType === 'ibtn_amount2' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(index_1.M_IconButton, { iconName: iBtn1IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, onClick: handleIBtn1Click, state: state, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" }), (0, jsx_runtime_1.jsx)(index_1.M_IconButton, { iconName: iBtn2IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn2IconFillType, iconColorKey: iBtn2IconColorKey, onClick: handleIBtn2Click, state: state, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" })] })), displayType === 'ibtn_amount3' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(index_1.M_IconButton, { iconName: iBtn1IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn1IconFillType, iconColorKey: iBtn1IconColorKey, onClick: handleIBtn1Click, state: state, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" }), (0, jsx_runtime_1.jsx)(index_1.M_IconButton, { iconName: iBtn2IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn2IconFillType, iconColorKey: iBtn2IconColorKey, onClick: handleIBtn2Click, state: state, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" }), (0, jsx_runtime_1.jsx)(index_1.M_IconButton, { iconName: iBtn3IconName || 'ic_arrow_right', fillType: "fill", iconFillType: iBtn3IconFillType, iconColorKey: iBtn3IconColorKey, onClick: handleIBtn3Click, state: state, iconSize: 20, baseColorKey: "ui_cpnt_button_fill_base_transparent", borderColorKey: "ui_cpnt_button_fill_base_transparent", baseSize: "medium", shapeType: "rectangle" })] }))] }), indicatorMode === 'use' && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(components_1.Spacing, { size: "spacing_b", spacingType: "width" }), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", fillType: "line", size: 20, colorKey: "ui_cpnt_icon_sys_grey_01" })] }))] })] })) })));
|
95
95
|
}
|
96
96
|
var S_BoxItem = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: ", ";\n width: 100%;\n"], ["\n align-items: center;\n display: flex;\n flex-direction: row;\n gap: ", ";\n width: 100%;\n"])), function (_a) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
import type {
|
2
|
+
import type { PDSTextType } from '../../../common';
|
3
3
|
export type TextButtonProps = {
|
4
4
|
text?: PDSTextType;
|
5
5
|
size?: 'rlarge' | 'large' | 'medium' | 'small' | 'xsmall';
|
@@ -7,11 +7,8 @@ export type TextButtonProps = {
|
|
7
7
|
fontWeight?: 'bold' | 'regular';
|
8
8
|
type?: 'submit' | 'reset' | 'button';
|
9
9
|
state?: 'normal' | 'disabled';
|
10
|
-
iconMode?: 'none' | 'left' | 'right';
|
11
|
-
iconFillType?: 'fill' | 'line';
|
12
|
-
iconName?: PDSIconType;
|
13
10
|
colorTheme?: 'none' | 'red' | 'grey_01' | 'grey2' | 'grey3' | 'white' | 'white2';
|
14
11
|
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
15
12
|
};
|
16
|
-
declare function TextButton({ text, size, responsiveMode, fontWeight, type, state,
|
13
|
+
declare function TextButton({ text, size, responsiveMode, fontWeight, type, state, colorTheme, onClick, ...rest }: TextButtonProps): JSX.Element;
|
17
14
|
export default TextButton;
|
@@ -50,7 +50,6 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
50
50
|
};
|
51
51
|
Object.defineProperty(exports, "__esModule", { value: true });
|
52
52
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
53
|
-
var components_1 = require("../../../hybrid/components");
|
54
53
|
var styled_components_1 = __importStar(require("styled-components"));
|
55
54
|
var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle");
|
56
55
|
var TextLabel_1 = require("../TextLabel");
|
@@ -70,15 +69,6 @@ var textColor = {
|
|
70
69
|
white: 'sysTextWhite',
|
71
70
|
white2: 'sysTextWhite'
|
72
71
|
};
|
73
|
-
var iconColor = {
|
74
|
-
none: 'ui_cpnt_button_icon_primary',
|
75
|
-
red: 'ui_cpnt_button_icon_error',
|
76
|
-
grey_01: 'ui_cpnt_button_icon_enabled',
|
77
|
-
grey2: 'ui_cpnt_button_icon_default',
|
78
|
-
grey3: 'ui_141',
|
79
|
-
white: 'ui_cpnt_sidebar_icon_01',
|
80
|
-
white2: 'ui_cpnt_sidebar_icon_01'
|
81
|
-
};
|
82
72
|
var textDisabledColor = {
|
83
73
|
none: 'sysTextTertiary',
|
84
74
|
red: 'sysTextTertiary',
|
@@ -116,15 +106,15 @@ var backgroundPressedColor = {
|
|
116
106
|
white2: 'ui_cpnt_textbutton_white_variation_base_pressed'
|
117
107
|
};
|
118
108
|
function TextButton(_a) {
|
119
|
-
var text = _a.text, _b = _a.size, size = _b === void 0 ? 'large' : _b, _c = _a.responsiveMode, responsiveMode = _c === void 0 ? 'none' : _c, fontWeight = _a.fontWeight, _d = _a.type, type = _d === void 0 ? 'button' : _d, _e = _a.state, state = _e === void 0 ? 'normal' : _e, _f = _a.
|
109
|
+
var text = _a.text, _b = _a.size, size = _b === void 0 ? 'large' : _b, _c = _a.responsiveMode, responsiveMode = _c === void 0 ? 'none' : _c, fontWeight = _a.fontWeight, _d = _a.type, type = _d === void 0 ? 'button' : _d, _e = _a.state, state = _e === void 0 ? 'normal' : _e, _f = _a.colorTheme, colorTheme = _f === void 0 ? 'none' : _f, onClick = _a.onClick, rest = __rest(_a, ["text", "size", "responsiveMode", "fontWeight", "type", "state", "colorTheme", "onClick"]);
|
120
110
|
var handleClick = function (e) {
|
121
111
|
if (onClick) {
|
122
112
|
onClick(e);
|
123
113
|
}
|
124
114
|
};
|
125
|
-
return ((0, jsx_runtime_1.
|
126
|
-
|
127
|
-
|
115
|
+
return ((0, jsx_runtime_1.jsx)(S_Button, __assign({ "x-pds-name": "TextButton", "x-pds-element-type": "component", "x-pds-device-type": "mobile" }, rest, { size: size, responsiveMode: responsiveMode, onClick: handleClick, type: type, fontWeight: fontWeight, disabled: state === 'disabled', pressedColor: backgroundPressedColor[colorTheme] }, { children: (0, jsx_runtime_1.jsx)(TextLabel_1.TextLabel, { text: text, styleTheme: textStyle[size], colorTheme: state === 'disabled' ? textDisabledColor[colorTheme] : textColor[colorTheme], colorOverride: state === 'disabled'
|
116
|
+
? overrideTextDisabledColor[colorTheme]
|
117
|
+
: overrideTextColor[colorTheme], singleLineMode: "use" }) })));
|
128
118
|
}
|
129
119
|
var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"], ["\n border-radius: 14px;\n height: 48px;\n ", ";\n\n & > div {\n height: 48px;\n line-height: 48px;\n }\n"])), function (_a) {
|
130
120
|
var size = _a.size;
|
@@ -29,7 +29,6 @@ import { PriceTextField } from './PriceTextField';
|
|
29
29
|
import { PriceTextLabel } from './PriceTextLabel';
|
30
30
|
import { Radio } from './Radio';
|
31
31
|
import { ReactionButton } from './ReactionButton';
|
32
|
-
import { RichTextEditor } from './RichTextEditor';
|
33
32
|
import { SegmentedButtonGroup } from './SegmentedButtonGroup';
|
34
33
|
import { Select } from './Select';
|
35
34
|
import { Slider } from './Slider';
|
@@ -41,4 +40,4 @@ import { TextLabel } from './TextLabel';
|
|
41
40
|
import { UploadIconButton } from './UploadIconButton';
|
42
41
|
import { UploadMainButton } from './UploadMainButton';
|
43
42
|
import { UploadTextButton } from './UploadTextButton';
|
44
|
-
export { BasicButtonGroup, BasicChatListItem, BasicFormGroup, BasicList, BasicListItem, BlogTextField, BodyTextGroup, BoxItem, Card, CardList, ChatBubbleListItem, ChatList, Checkbox, Chip, ContextMenu, ContextMenuItem, DatePicker, Dropdown, FloatingActionButton, HorizontalFormGroup, IconButton, ImageSlide, LottieReactionButton, MainButton, MobileAlertDialog, MobileHeaderBar, MobileTabBar, PriceTextField, PriceTextLabel, Radio, ReactionButton, SegmentedButtonGroup, Select, Slider, Snackbar, StatusBlock, TextButton, TextField, TextLabel, UploadIconButton, UploadMainButton, UploadTextButton
|
43
|
+
export { BasicButtonGroup, BasicChatListItem, BasicFormGroup, BasicList, BasicListItem, BlogTextField, BodyTextGroup, BoxItem, Card, CardList, ChatBubbleListItem, ChatList, Checkbox, Chip, ContextMenu, ContextMenuItem, DatePicker, Dropdown, FloatingActionButton, HorizontalFormGroup, IconButton, ImageSlide, LottieReactionButton, MainButton, MobileAlertDialog, MobileHeaderBar, MobileTabBar, PriceTextField, PriceTextLabel, Radio, ReactionButton, SegmentedButtonGroup, Select, Slider, Snackbar, StatusBlock, TextButton, TextField, TextLabel, UploadIconButton, UploadMainButton, UploadTextButton };
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.UploadTextButton = exports.UploadMainButton = exports.UploadIconButton = exports.TextLabel = exports.TextField = exports.TextButton = exports.StatusBlock = exports.Snackbar = exports.Slider = exports.Select = exports.SegmentedButtonGroup = exports.ReactionButton = exports.Radio = exports.PriceTextLabel = exports.PriceTextField = exports.MobileTabBar = exports.MobileHeaderBar = exports.MobileAlertDialog = exports.MainButton = exports.LottieReactionButton = exports.ImageSlide = exports.IconButton = exports.HorizontalFormGroup = exports.FloatingActionButton = exports.Dropdown = exports.DatePicker = exports.ContextMenuItem = exports.ContextMenu = exports.Chip = exports.Checkbox = exports.ChatList = exports.ChatBubbleListItem = exports.CardList = exports.Card = exports.BoxItem = exports.BodyTextGroup = exports.BlogTextField = exports.BasicListItem = exports.BasicList = exports.BasicFormGroup = exports.BasicChatListItem = exports.BasicButtonGroup = void 0;
|
4
4
|
var BasicButtonGroup_1 = require("./BasicButtonGroup");
|
5
5
|
Object.defineProperty(exports, "BasicButtonGroup", { enumerable: true, get: function () { return BasicButtonGroup_1.BasicButtonGroup; } });
|
6
6
|
var BasicChatListItem_1 = require("./BasicChatListItem");
|
@@ -63,8 +63,6 @@ var Radio_1 = require("./Radio");
|
|
63
63
|
Object.defineProperty(exports, "Radio", { enumerable: true, get: function () { return Radio_1.Radio; } });
|
64
64
|
var ReactionButton_1 = require("./ReactionButton");
|
65
65
|
Object.defineProperty(exports, "ReactionButton", { enumerable: true, get: function () { return ReactionButton_1.ReactionButton; } });
|
66
|
-
var RichTextEditor_1 = require("./RichTextEditor");
|
67
|
-
Object.defineProperty(exports, "RichTextEditor", { enumerable: true, get: function () { return RichTextEditor_1.RichTextEditor; } });
|
68
66
|
var SegmentedButtonGroup_1 = require("./SegmentedButtonGroup");
|
69
67
|
Object.defineProperty(exports, "SegmentedButtonGroup", { enumerable: true, get: function () { return SegmentedButtonGroup_1.SegmentedButtonGroup; } });
|
70
68
|
var Select_1 = require("./Select");
|
@@ -9,5 +9,5 @@ export { ContainersBox as MPContainersBox } from './layout/LayoutMP/ContainersBo
|
|
9
9
|
export { LayoutMS } from './layout/LayoutMS';
|
10
10
|
export { NavigationContainer as MSNavigationContainer } from './layout/LayoutMS/Containers';
|
11
11
|
export { ContainersBox as MSContainersBox } from './layout/LayoutMS/ContainersBox';
|
12
|
-
export { BasicButtonGroup as M_BasicButtonGroup, BasicChatListItem as M_BasicChatListItem, BasicFormGroup as M_BasicFormGroup, BasicList as M_BasicList, BasicListItem as M_BasicListItem, BlogTextField as M_BlogTextField, BodyTextGroup as M_BodyTextGroup, BoxItem as M_BoxItem, Card as M_Card, CardList as M_CardList, ChatBubbleListItem as M_ChatBubbleListItem, ChatList as M_ChatList, Checkbox as M_Checkbox, Chip as M_Chip, ContextMenu as M_ContextMenu, ContextMenuItem as M_ContextMenuItem, DatePicker as M_DatePicker, Dropdown as M_Dropdown, FloatingActionButton as M_FloatingActionButton, HorizontalFormGroup as M_HorizontalFormGroup, IconButton as M_IconButton, ImageSlide as M_ImageSlide, LottieReactionButton as M_LottieReactionButton, MainButton as M_MainButton, MobileAlertDialog as M_MobileAlertDialog, MobileHeaderBar as M_MobileHeaderBar, MobileTabBar as M_MobileTabBar, Radio as M_Radio, ReactionButton as M_ReactionButton, SegmentedButtonGroup as M_SegmentedButtonGroup, Select as M_Select, Slider as M_Slider, Snackbar as M_Snackbar, StatusBlock as M_StatusBlock, TextButton as M_TextButton, PriceTextField as M_PriceTextField, TextField as M_TextField, TextLabel as M_TextLabel, PriceTextLabel as M_PriceTextLabel, UploadIconButton as M_UploadIconButton, UploadMainButton as M_UploadMainButton, UploadTextButton as M_UploadTextButton
|
12
|
+
export { BasicButtonGroup as M_BasicButtonGroup, BasicChatListItem as M_BasicChatListItem, BasicFormGroup as M_BasicFormGroup, BasicList as M_BasicList, BasicListItem as M_BasicListItem, BlogTextField as M_BlogTextField, BodyTextGroup as M_BodyTextGroup, BoxItem as M_BoxItem, Card as M_Card, CardList as M_CardList, ChatBubbleListItem as M_ChatBubbleListItem, ChatList as M_ChatList, Checkbox as M_Checkbox, Chip as M_Chip, ContextMenu as M_ContextMenu, ContextMenuItem as M_ContextMenuItem, DatePicker as M_DatePicker, Dropdown as M_Dropdown, FloatingActionButton as M_FloatingActionButton, HorizontalFormGroup as M_HorizontalFormGroup, IconButton as M_IconButton, ImageSlide as M_ImageSlide, LottieReactionButton as M_LottieReactionButton, MainButton as M_MainButton, MobileAlertDialog as M_MobileAlertDialog, MobileHeaderBar as M_MobileHeaderBar, MobileTabBar as M_MobileTabBar, Radio as M_Radio, ReactionButton as M_ReactionButton, SegmentedButtonGroup as M_SegmentedButtonGroup, Select as M_Select, Slider as M_Slider, Snackbar as M_Snackbar, StatusBlock as M_StatusBlock, TextButton as M_TextButton, PriceTextField as M_PriceTextField, TextField as M_TextField, TextLabel as M_TextLabel, PriceTextLabel as M_PriceTextLabel, UploadIconButton as M_UploadIconButton, UploadMainButton as M_UploadMainButton, UploadTextButton as M_UploadTextButton } from './components';
|
13
13
|
export { AnnotationSheet as M_AnnotationSheet, ContentSheet as M_ContentSheet, MobileBasicModal as M_MobileBasicModal, SectionSheet as M_SectionSheet } from './panels';
|
package/dist/src/mobile/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.M_TextLabel = exports.M_TextField = exports.M_PriceTextField = exports.M_TextButton = exports.M_StatusBlock = exports.M_Snackbar = exports.M_Slider = exports.M_Select = exports.M_SegmentedButtonGroup = exports.M_ReactionButton = exports.M_Radio = exports.M_MobileTabBar = exports.M_MobileHeaderBar = exports.M_MobileAlertDialog = exports.M_MainButton = exports.M_LottieReactionButton = exports.M_ImageSlide = exports.M_IconButton = exports.M_HorizontalFormGroup = exports.M_FloatingActionButton = exports.M_Dropdown = exports.M_DatePicker = exports.M_ContextMenuItem = exports.M_ContextMenu = exports.M_Chip = exports.M_Checkbox = exports.M_ChatList = exports.M_ChatBubbleListItem = exports.M_CardList = exports.M_Card = exports.M_BoxItem = exports.M_BodyTextGroup = exports.M_BlogTextField = exports.M_BasicListItem = exports.M_BasicList = exports.M_BasicFormGroup = exports.M_BasicChatListItem = exports.M_BasicButtonGroup = exports.MSContainersBox = exports.MSNavigationContainer = exports.LayoutMS = exports.MPContainersBox = exports.MPTabContainer = exports.MPNavigationContainer = exports.LayoutMP = exports.MMContainersBox = exports.MMNavigationContainer = exports.LayoutMM = exports.MFContainersBox = exports.LayoutMF = void 0;
|
4
|
-
exports.M_SectionSheet = exports.M_MobileBasicModal = exports.M_ContentSheet = exports.M_AnnotationSheet = exports.
|
4
|
+
exports.M_SectionSheet = exports.M_MobileBasicModal = exports.M_ContentSheet = exports.M_AnnotationSheet = exports.M_UploadTextButton = exports.M_UploadMainButton = exports.M_UploadIconButton = exports.M_PriceTextLabel = void 0;
|
5
5
|
// layoutMF
|
6
6
|
var LayoutMF_1 = require("./layout/LayoutMF");
|
7
7
|
Object.defineProperty(exports, "LayoutMF", { enumerable: true, get: function () { return LayoutMF_1.LayoutMF; } });
|
@@ -73,7 +73,6 @@ Object.defineProperty(exports, "M_PriceTextLabel", { enumerable: true, get: func
|
|
73
73
|
Object.defineProperty(exports, "M_UploadIconButton", { enumerable: true, get: function () { return components_1.UploadIconButton; } });
|
74
74
|
Object.defineProperty(exports, "M_UploadMainButton", { enumerable: true, get: function () { return components_1.UploadMainButton; } });
|
75
75
|
Object.defineProperty(exports, "M_UploadTextButton", { enumerable: true, get: function () { return components_1.UploadTextButton; } });
|
76
|
-
Object.defineProperty(exports, "M_RichTextEditor", { enumerable: true, get: function () { return components_1.RichTextEditor; } });
|
77
76
|
// panels
|
78
77
|
var panels_1 = require("./panels");
|
79
78
|
Object.defineProperty(exports, "M_AnnotationSheet", { enumerable: true, get: function () { return panels_1.AnnotationSheet; } });
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "pds-dev-kit-web-test",
|
3
|
-
"version": "2.5.
|
3
|
+
"version": "2.5.628",
|
4
4
|
"license": "MIT",
|
5
5
|
"private": false,
|
6
6
|
"main": "dist/index.js",
|
@@ -12,11 +12,9 @@
|
|
12
12
|
"@testing-library/jest-dom": "^5.14.1",
|
13
13
|
"@testing-library/react": "^11.2.7",
|
14
14
|
"@testing-library/user-event": "^12.8.3",
|
15
|
-
"@tinymce/tinymce-react": "^4.3.0",
|
16
15
|
"@types/google-spreadsheet": "^3.1.5",
|
17
16
|
"@types/react": "^17.0.27",
|
18
17
|
"@types/react-dom": "^17.0.9",
|
19
|
-
"@types/uuid": "^8.3.4",
|
20
18
|
"dotenv": "^8.2.0",
|
21
19
|
"google-spreadsheet": "^3.1.15",
|
22
20
|
"i18next": "^21.3.2",
|
@@ -32,14 +30,11 @@
|
|
32
30
|
"smoothscroll-polyfill": "^0.4.4",
|
33
31
|
"styled-components": "^5.2.1",
|
34
32
|
"swiper": "^8.4.5",
|
35
|
-
"tinymce": "^6.3.1",
|
36
33
|
"tsc-init": "^2.1.0",
|
37
|
-
"uuid": "^8.3.2",
|
38
34
|
"web-vitals": "^1.1.2"
|
39
35
|
},
|
40
36
|
"scripts": {
|
41
|
-
"build": "rm -rf ./dist && tsc && tsc-alias
|
42
|
-
"copy:tinymce": "node scripts/copy-tinymce.js",
|
37
|
+
"build": "rm -rf ./dist && tsc && tsc-alias",
|
43
38
|
"prepare": "npm run build | husky install",
|
44
39
|
"sync:color": "dotenv -e env/.env node syncColor.ts",
|
45
40
|
"storybook": "start-storybook -p 6006",
|
package/release-note.md
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,32 +0,0 @@
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
2
|
-
var fs = require('fs');
|
3
|
-
var path = require('path');
|
4
|
-
var sourceDir = path.join(__dirname, '../node_modules/tinymce');
|
5
|
-
var targetDir = path.join(__dirname, '../dist/tinymce');
|
6
|
-
function copyDir(src, dest) {
|
7
|
-
if (!fs.existsSync(dest)) {
|
8
|
-
fs.mkdirSync(dest, { recursive: true });
|
9
|
-
}
|
10
|
-
var items = fs.readdirSync(src);
|
11
|
-
items.forEach(function (item) {
|
12
|
-
var srcPath = path.join(src, item);
|
13
|
-
var destPath = path.join(dest, item);
|
14
|
-
if (fs.statSync(srcPath).isDirectory()) {
|
15
|
-
copyDir(srcPath, destPath);
|
16
|
-
}
|
17
|
-
else {
|
18
|
-
fs.copyFileSync(srcPath, destPath);
|
19
|
-
}
|
20
|
-
});
|
21
|
-
}
|
22
|
-
console.log('Copying TinyMCE static files to dist...');
|
23
|
-
if (fs.existsSync(sourceDir)) {
|
24
|
-
copyDir(sourceDir, targetDir);
|
25
|
-
console.log('TinyMCE static files copied successfully!');
|
26
|
-
console.log("Files copied to: ".concat(targetDir));
|
27
|
-
}
|
28
|
-
else {
|
29
|
-
console.error('TinyMCE source directory not found:', sourceDir);
|
30
|
-
console.log('Make sure tinymce is installed: npm install tinymce');
|
31
|
-
process.exit(1);
|
32
|
-
}
|
@@ -1,34 +0,0 @@
|
|
1
|
-
/// <reference types="react" />
|
2
|
-
export interface ImageUploadResult {
|
3
|
-
location?: string;
|
4
|
-
error?: unknown;
|
5
|
-
}
|
6
|
-
export type ImageUploadHandler = (file: File) => Promise<ImageUploadResult>;
|
7
|
-
/**
|
8
|
-
* NOTE
|
9
|
-
* toolbar에 사용하고싶은 옵션들을 배열 내부에 차례대로 작성해줍니다.
|
10
|
-
* toolbar 옵션은 아래 링크를 참고해주세요.
|
11
|
-
* https://www.tiny.cloud/docs/configure/editor-appearance/#toolbar
|
12
|
-
* ex) 'undo | redo' => ['undo', 'redo']
|
13
|
-
*/
|
14
|
-
export type RichTextEditorProps = {
|
15
|
-
toolbar: string[];
|
16
|
-
defaultText?: string;
|
17
|
-
hintText?: string;
|
18
|
-
requirementMode?: 'none' | 'use';
|
19
|
-
maxLength?: number;
|
20
|
-
minLength?: number;
|
21
|
-
maxFileSize?: number;
|
22
|
-
lengthValidationText?: string;
|
23
|
-
requiredValidationText?: string;
|
24
|
-
fileSizeValidationText?: string;
|
25
|
-
height?: string | number;
|
26
|
-
tinymceScriptSrc?: string;
|
27
|
-
onChange?: (value: string) => void;
|
28
|
-
onBlur?: (value: string, count: number) => void;
|
29
|
-
onCountCharacter?: (count: number) => void;
|
30
|
-
onImageUpload?: ImageUploadHandler;
|
31
|
-
isLoadingUsed?: boolean;
|
32
|
-
};
|
33
|
-
declare function RichTextEditor({ toolbar, defaultText, hintText, maxLength, minLength, maxFileSize, requirementMode, lengthValidationText, requiredValidationText, fileSizeValidationText, height, tinymceScriptSrc, onChange, onBlur, onCountCharacter, onImageUpload, isLoadingUsed }: RichTextEditorProps): JSX.Element;
|
34
|
-
export default RichTextEditor;
|
@@ -1,268 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
3
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
4
|
-
return cooked;
|
5
|
-
};
|
6
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
7
|
-
if (k2 === undefined) k2 = k;
|
8
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
9
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
10
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
11
|
-
}
|
12
|
-
Object.defineProperty(o, k2, desc);
|
13
|
-
}) : (function(o, m, k, k2) {
|
14
|
-
if (k2 === undefined) k2 = k;
|
15
|
-
o[k2] = m[k];
|
16
|
-
}));
|
17
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
18
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
19
|
-
}) : function(o, v) {
|
20
|
-
o["default"] = v;
|
21
|
-
});
|
22
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
23
|
-
if (mod && mod.__esModule) return mod;
|
24
|
-
var result = {};
|
25
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
26
|
-
__setModuleDefault(result, mod);
|
27
|
-
return result;
|
28
|
-
};
|
29
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
30
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
31
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
32
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
33
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
34
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
35
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
36
|
-
});
|
37
|
-
};
|
38
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
39
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
40
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
41
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
42
|
-
function step(op) {
|
43
|
-
if (f) throw new TypeError("Generator is already executing.");
|
44
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
45
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
46
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
47
|
-
switch (op[0]) {
|
48
|
-
case 0: case 1: t = op; break;
|
49
|
-
case 4: _.label++; return { value: op[1], done: false };
|
50
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
51
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
52
|
-
default:
|
53
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
54
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
55
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
56
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
57
|
-
if (t[2]) _.ops.pop();
|
58
|
-
_.trys.pop(); continue;
|
59
|
-
}
|
60
|
-
op = body.call(thisArg, _);
|
61
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
62
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
63
|
-
}
|
64
|
-
};
|
65
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
66
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
67
|
-
/* eslint-disable prefer-promise-reject-errors */
|
68
|
-
var tinymce_react_1 = require("@tinymce/tinymce-react");
|
69
|
-
var react_1 = require("react");
|
70
|
-
var react_i18next_1 = require("react-i18next");
|
71
|
-
var uuid_1 = require("uuid");
|
72
|
-
var components_1 = require("../../../common/components");
|
73
|
-
var styled_components_1 = __importStar(require("styled-components"));
|
74
|
-
var DesktopAlertDialog_1 = require("../DesktopAlertDialog");
|
75
|
-
function RichTextEditor(_a) {
|
76
|
-
var _this = this;
|
77
|
-
var _b;
|
78
|
-
var toolbar = _a.toolbar, defaultText = _a.defaultText, hintText = _a.hintText, maxLength = _a.maxLength, minLength = _a.minLength, maxFileSize = _a.maxFileSize, _c = _a.requirementMode, requirementMode = _c === void 0 ? 'none' : _c, lengthValidationText = _a.lengthValidationText, requiredValidationText = _a.requiredValidationText, fileSizeValidationText = _a.fileSizeValidationText, _d = _a.height, height = _d === void 0 ? 600 : _d, _e = _a.tinymceScriptSrc, tinymceScriptSrc = _e === void 0 ? '/tinymce/tinymce.min.js' : _e, onChange = _a.onChange, onBlur = _a.onBlur, onCountCharacter = _a.onCountCharacter, onImageUpload = _a.onImageUpload, _f = _a.isLoadingUsed, isLoadingUsed = _f === void 0 ? true : _f;
|
79
|
-
var t = (0, react_i18next_1.useTranslation)('translation').t;
|
80
|
-
var _g = (0, react_1.useState)(0), count = _g[0], setCount = _g[1];
|
81
|
-
var _h = (0, react_1.useState)(true), isEditorLoading = _h[0], setIsEditorLoading = _h[1];
|
82
|
-
var _j = (0, react_1.useState)(false), isFileValidationAlertDialogOpen = _j[0], setIsFilValidationAlertDialogOpen = _j[1];
|
83
|
-
var editorRef = (0, react_1.useRef)(null);
|
84
|
-
var isEditorDirty = (0, react_1.useRef)(false);
|
85
|
-
var editorContent = (_b = editorRef.current) === null || _b === void 0 ? void 0 : _b.getContent();
|
86
|
-
var theme = (0, styled_components_1.useTheme)();
|
87
|
-
var useDarkMode = theme.mode === 'dark';
|
88
|
-
var validationText = (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
|
89
|
-
(0, react_1.useEffect)(function () {
|
90
|
-
if (defaultText && defaultText.length === 0) {
|
91
|
-
setCount(defaultText.length);
|
92
|
-
}
|
93
|
-
}, [defaultText]);
|
94
|
-
var handleInit = function (evt, editor) {
|
95
|
-
if (isLoadingUsed) {
|
96
|
-
setIsEditorLoading(false);
|
97
|
-
}
|
98
|
-
editorRef.current = editor;
|
99
|
-
var isSourceCodeToolActive = toolbar.some(function (group) {
|
100
|
-
var tools = group.split(' ');
|
101
|
-
return tools.includes('code');
|
102
|
-
});
|
103
|
-
if (isSourceCodeToolActive) {
|
104
|
-
var container = editor.getContainer();
|
105
|
-
var sourceCodeButton = container.querySelector('[aria-label="Source code"]');
|
106
|
-
if (sourceCodeButton instanceof HTMLElement) {
|
107
|
-
sourceCodeButton.style.width = 'fit-content';
|
108
|
-
sourceCodeButton.style.display = 'flex';
|
109
|
-
sourceCodeButton.style.alignItems = 'center';
|
110
|
-
var textElement = document.createElement('span');
|
111
|
-
textElement.innerHTML = 'HTML';
|
112
|
-
textElement.style.fontWeight = 'bold';
|
113
|
-
sourceCodeButton.append(textElement);
|
114
|
-
}
|
115
|
-
}
|
116
|
-
};
|
117
|
-
var handleEditorValueChange = function (value, editor) {
|
118
|
-
var wordCount = editor.plugins.wordcount;
|
119
|
-
if (wordCount) {
|
120
|
-
var charCount = wordCount.body.getCharacterCount();
|
121
|
-
onCountCharacter === null || onCountCharacter === void 0 ? void 0 : onCountCharacter(charCount);
|
122
|
-
setCount(charCount);
|
123
|
-
}
|
124
|
-
isEditorDirty.current = true;
|
125
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(value);
|
126
|
-
};
|
127
|
-
var handleEditorBlur = function () {
|
128
|
-
var _a, _b;
|
129
|
-
var editorContent = (_a = editorRef.current) === null || _a === void 0 ? void 0 : _a.getContent();
|
130
|
-
var wordCount = (_b = editorRef.current) === null || _b === void 0 ? void 0 : _b.plugins.wordcount;
|
131
|
-
if (editorContent && onBlur) {
|
132
|
-
onBlur(editorContent, (wordCount === null || wordCount === void 0 ? void 0 : wordCount.body.getCharacterCount()) || 0);
|
133
|
-
}
|
134
|
-
};
|
135
|
-
var handleFileChangeByFilePicker = function (cb) {
|
136
|
-
var input = document.createElement('input');
|
137
|
-
input.setAttribute('type', 'file');
|
138
|
-
input.setAttribute('accept', 'image/*');
|
139
|
-
input.addEventListener('change', function () { return __awaiter(_this, void 0, void 0, function () {
|
140
|
-
var file, result, error_1;
|
141
|
-
return __generator(this, function (_a) {
|
142
|
-
switch (_a.label) {
|
143
|
-
case 0:
|
144
|
-
file = input === null || input === void 0 ? void 0 : input.files[0];
|
145
|
-
if (!file)
|
146
|
-
return [2 /*return*/];
|
147
|
-
if (maxFileSize && file.size > maxFileSize * 1024 * 1024) {
|
148
|
-
setIsFilValidationAlertDialogOpen(true);
|
149
|
-
return [2 /*return*/];
|
150
|
-
}
|
151
|
-
if (!onImageUpload) return [3 /*break*/, 4];
|
152
|
-
_a.label = 1;
|
153
|
-
case 1:
|
154
|
-
_a.trys.push([1, 3, , 4]);
|
155
|
-
return [4 /*yield*/, onImageUpload(file)];
|
156
|
-
case 2:
|
157
|
-
result = _a.sent();
|
158
|
-
if (result.location) {
|
159
|
-
cb(result.location, { title: file.name, alt: 'image' });
|
160
|
-
}
|
161
|
-
return [3 /*break*/, 4];
|
162
|
-
case 3:
|
163
|
-
error_1 = _a.sent();
|
164
|
-
return [2 /*return*/, Promise.reject(new Error('Request failed'))];
|
165
|
-
case 4: return [2 /*return*/];
|
166
|
-
}
|
167
|
-
});
|
168
|
-
}); });
|
169
|
-
input.click();
|
170
|
-
};
|
171
|
-
var handleUploadImageByDragAndDrop = function (blobInfo) { return __awaiter(_this, void 0, void 0, function () {
|
172
|
-
var convertedFile, result, error_2;
|
173
|
-
return __generator(this, function (_a) {
|
174
|
-
switch (_a.label) {
|
175
|
-
case 0:
|
176
|
-
if (maxFileSize && blobInfo.blob().size > maxFileSize * 1024 * 1024) {
|
177
|
-
setIsFilValidationAlertDialogOpen(true);
|
178
|
-
return [2 /*return*/, Promise.reject({ remove: true })];
|
179
|
-
}
|
180
|
-
if (blobInfo.blobUri().startsWith('blob')) {
|
181
|
-
convertedFile = new File([blobInfo.blob()], (0, uuid_1.v4)());
|
182
|
-
}
|
183
|
-
if (!(convertedFile && onImageUpload)) return [3 /*break*/, 5];
|
184
|
-
_a.label = 1;
|
185
|
-
case 1:
|
186
|
-
_a.trys.push([1, 3, , 4]);
|
187
|
-
return [4 /*yield*/, onImageUpload(convertedFile)];
|
188
|
-
case 2:
|
189
|
-
result = _a.sent();
|
190
|
-
if (result.location) {
|
191
|
-
return [2 /*return*/, Promise.resolve(result.location)];
|
192
|
-
}
|
193
|
-
return [2 /*return*/, Promise.reject({ remove: true })];
|
194
|
-
case 3:
|
195
|
-
error_2 = _a.sent();
|
196
|
-
return [2 /*return*/, Promise.reject({ remove: true })];
|
197
|
-
case 4: return [3 /*break*/, 6];
|
198
|
-
case 5: return [2 /*return*/, Promise.reject({ remove: true })];
|
199
|
-
case 6: return [2 /*return*/];
|
200
|
-
}
|
201
|
-
});
|
202
|
-
}); };
|
203
|
-
if (requirementMode === 'use' &&
|
204
|
-
isEditorDirty.current &&
|
205
|
-
(!editorContent || editorContent.length === 0)) {
|
206
|
-
validationText = (0, jsx_runtime_1.jsx)(S_Error, { children: requiredValidationText });
|
207
|
-
}
|
208
|
-
if (minLength && count > 0 && count < minLength) {
|
209
|
-
validationText = (0, jsx_runtime_1.jsx)(S_Error, { children: lengthValidationText });
|
210
|
-
}
|
211
|
-
if (maxLength && count > 0 && count > maxLength) {
|
212
|
-
validationText = (0, jsx_runtime_1.jsx)(S_Error, { children: lengthValidationText });
|
213
|
-
}
|
214
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(S_Editor, { children: [isEditorLoading && isLoadingUsed && ((0, jsx_runtime_1.jsx)(S_LoadingWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.CircularProgress, {}) })), (0, jsx_runtime_1.jsx)(tinymce_react_1.Editor, { tinymceScriptSrc: tinymceScriptSrc, onInit: handleInit, onEditorChange: handleEditorValueChange, initialValue: defaultText, init: {
|
215
|
-
menubar: false,
|
216
|
-
promotion: false,
|
217
|
-
branding: false,
|
218
|
-
elementpath: false,
|
219
|
-
plugins: 'preview importcss searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link media template codesample table charmap pagebreak nonbreaking anchor insertdatetime advlist lists wordcount help charmap emoticons',
|
220
|
-
editimage_cors_hosts: ['picsum.photos'],
|
221
|
-
toolbar: toolbar.join(' | '),
|
222
|
-
toolbar_sticky: false,
|
223
|
-
toolbar_sticky_offset: 108,
|
224
|
-
autosave_ask_before_unload: true,
|
225
|
-
placeholder: hintText,
|
226
|
-
autosave_interval: '30s',
|
227
|
-
autosave_prefix: '{path}{query}-{id}-',
|
228
|
-
autosave_restore_when_empty: false,
|
229
|
-
autosave_retention: '2m',
|
230
|
-
image_advtab: false,
|
231
|
-
image_title: true,
|
232
|
-
file_picker_types: 'image',
|
233
|
-
importcss_append: true,
|
234
|
-
file_picker_callback: handleFileChangeByFilePicker,
|
235
|
-
images_upload_handler: handleUploadImageByDragAndDrop,
|
236
|
-
height: height,
|
237
|
-
image_caption: true,
|
238
|
-
noneditable_class: 'mceNonEditable',
|
239
|
-
toolbar_mode: 'wrap',
|
240
|
-
skin: useDarkMode ? 'oxide-dark' : 'oxide',
|
241
|
-
content_css: useDarkMode ? 'dark' : 'default',
|
242
|
-
indent: false,
|
243
|
-
content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:16px } img { height: auto; max-width: 100%; } p, div { overflow: hidden; } pre { white-space: pre-wrap; }',
|
244
|
-
setup: function (editor) {
|
245
|
-
editor.on('blur', handleEditorBlur);
|
246
|
-
}
|
247
|
-
} }), validationText] }), isFileValidationAlertDialogOpen && ((0, jsx_runtime_1.jsx)(DesktopAlertDialog_1.DesktopAlertDialog, { contentText: fileSizeValidationText, tBtn1Text: t('str_confirm'), onClickTBtn1: function () { return setIsFilValidationAlertDialogOpen(false); } }))] }));
|
248
|
-
}
|
249
|
-
var S_Editor = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n min-height: 500px;\n position: relative;\n\n .tox-statusbar__wordcount {\n visibility: hidden;\n }\n"], ["\n min-height: 500px;\n position: relative;\n\n .tox-statusbar__wordcount {\n visibility: hidden;\n }\n"])));
|
250
|
-
var S_LoadingWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n z-index: 1000;\n"], ["\n left: 50%;\n position: absolute;\n top: 50%;\n transform: translate(-50%, -50%);\n z-index: 1000;\n"])));
|
251
|
-
var S_Error = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n"], ["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n margin-top: ", ";\n text-align: left;\n"])), function (_a) {
|
252
|
-
var theme = _a.theme;
|
253
|
-
return theme.ui_cpnt_textfield_text_error;
|
254
|
-
}, function (_a) {
|
255
|
-
var theme = _a.theme;
|
256
|
-
return theme.desktopFontSize.caption2;
|
257
|
-
}, function (_a) {
|
258
|
-
var theme = _a.theme;
|
259
|
-
return theme.fontWeight.normal;
|
260
|
-
}, function (_a) {
|
261
|
-
var theme = _a.theme;
|
262
|
-
return theme.desktopLineHeight.caption2;
|
263
|
-
}, function (_a) {
|
264
|
-
var theme = _a.theme;
|
265
|
-
return theme.spacing.spacingA;
|
266
|
-
});
|
267
|
-
exports.default = RichTextEditor;
|
268
|
-
var templateObject_1, templateObject_2, templateObject_3;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
-
};
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.RichTextEditor = void 0;
|
7
|
-
var RichTextEditor_1 = require("./RichTextEditor");
|
8
|
-
Object.defineProperty(exports, "RichTextEditor", { enumerable: true, get: function () { return __importDefault(RichTextEditor_1).default; } });
|