pds-dev-kit-web-test 2.5.593 → 2.5.594
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/index.d.ts +6 -6
- package/dist/index.js +12 -3
- package/dist/scripts/copy-tinymce.d.ts +1 -0
- package/dist/scripts/copy-tinymce.js +32 -0
- package/dist/src/common/assets/icons/fill/Translate.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/Translate.js +30 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +1 -0
- package/dist/src/common/assets/icons/fill/index.js +2 -0
- package/dist/src/common/assets/icons/line/Translate.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Translate.js +30 -0
- package/dist/src/common/assets/icons/line/index.d.ts +1 -0
- package/dist/src/common/assets/icons/line/index.js +2 -0
- package/dist/src/common/hooks/useParentResizeObserver.d.ts +2 -0
- package/dist/src/common/hooks/useParentResizeObserver.js +20 -0
- package/dist/src/common/hooks/useResizeObserver.d.ts +3 -0
- package/dist/src/common/hooks/useResizeObserver.js +27 -0
- package/dist/src/common/hooks/useTooltip.js +1 -1
- package/dist/src/common/hooks/useWindowSize.d.ts +4 -0
- package/dist/src/common/hooks/useWindowSize.js +22 -0
- package/dist/src/common/index.d.ts +1 -1
- package/dist/src/common/services/i18n/resources/en.json +61 -1
- package/dist/src/common/services/i18n/resources/es.json +61 -1
- package/dist/src/common/services/i18n/resources/fil.json +61 -1
- package/dist/src/common/services/i18n/resources/index.d.ts +421 -0
- package/dist/src/common/services/i18n/resources/ja.json +61 -1
- package/dist/src/common/services/i18n/resources/ko.json +62 -1
- package/dist/src/common/services/i18n/resources/zh-cn.json +61 -1
- package/dist/src/common/services/i18n/resources/zh-tw.json +61 -1
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +4 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +4 -1
- package/dist/src/common/styles/colorSet/UIColor.json +5 -1
- package/dist/src/common/styles/colorSet/index.d.ts +10 -0
- package/dist/src/common/styles/colorSet/ui-type.d.ts +4 -0
- package/dist/src/common/styles/editorContentStyle.d.ts +1 -0
- package/dist/src/common/styles/editorContentStyle.js +76 -0
- package/dist/src/common/types/components.d.ts +9 -0
- package/dist/src/common/types/components.js +8 -0
- package/dist/src/common/types/index.d.ts +1 -1
- package/dist/src/common/types/index.js +1 -1
- package/dist/src/common/types/multilingual.d.ts +16 -0
- package/dist/src/common/types/text.d.ts +2 -0
- package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
- package/dist/src/common/utils/dateHelper.d.ts +3 -0
- package/dist/src/common/utils/dateHelper.js +37 -0
- package/dist/src/core/pricing/formatter.d.ts +4 -0
- package/dist/src/core/pricing/formatter.js +18 -0
- package/dist/src/core/pricing/index.d.ts +2 -0
- package/dist/src/core/pricing/index.js +18 -0
- package/dist/src/core/pricing/policy.d.ts +26 -0
- package/dist/src/core/pricing/policy.js +98 -0
- package/dist/src/core/pricing/service.d.ts +62 -0
- package/dist/src/core/pricing/service.js +157 -0
- package/dist/src/core/pricing/translator.d.ts +27 -0
- package/dist/src/core/pricing/translator.js +54 -0
- package/dist/src/core/pricing/types.d.ts +19 -0
- package/dist/src/core/pricing/types.js +31 -0
- package/dist/src/core/pricing/validator.d.ts +29 -0
- package/dist/src/core/pricing/validator.js +105 -0
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +4 -1
- package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +32 -23
- package/dist/src/desktop/components/AdminList/AdminList.js +15 -17
- package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +8 -2
- package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +67 -6
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +6 -1
- package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +70 -2
- package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +67 -0
- package/dist/src/desktop/components/BoxItem/BoxItem.js +107 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.d.ts +7 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.js +9 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/Image.d.ts +11 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/Image.js +9 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.d.ts +11 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.js +36 -0
- package/dist/src/desktop/components/BoxItem/LeftBox/index.d.ts +2 -0
- package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner → desktop/components/BoxItem/LeftBox}/index.js +3 -3
- package/dist/src/desktop/components/BoxItem/index.d.ts +1 -0
- package/dist/src/desktop/components/BoxItem/index.js +8 -0
- package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.d.ts +12 -0
- package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.js +134 -0
- package/dist/src/desktop/components/Calendar/Calendar.d.ts +4 -0
- package/dist/src/desktop/components/Calendar/Calendar.js +399 -0
- package/dist/src/desktop/components/Calendar/CalendarContext.d.ts +51 -0
- package/dist/src/desktop/components/Calendar/CalendarContext.js +76 -0
- package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.d.ts +7 -0
- package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +48 -0
- package/dist/src/desktop/components/Calendar/DailyView.d.ts +2 -0
- package/dist/src/desktop/components/Calendar/DailyView.js +91 -0
- package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +28 -0
- package/dist/src/desktop/components/Calendar/MonthlyView.js +419 -0
- package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.d.ts +21 -0
- package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.js +186 -0
- package/dist/src/desktop/components/Calendar/ScheduleItem.d.ts +25 -0
- package/dist/src/desktop/components/Calendar/ScheduleItem.js +56 -0
- package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.d.ts +12 -0
- package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.js +184 -0
- package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +6 -0
- package/dist/src/desktop/components/Calendar/WeeklyView.js +114 -0
- package/dist/src/desktop/components/Calendar/YearlyView.d.ts +13 -0
- package/dist/src/desktop/components/Calendar/YearlyView.js +76 -0
- package/dist/src/desktop/components/Calendar/calendarUtils.d.ts +24 -0
- package/dist/src/desktop/components/Calendar/calendarUtils.js +87 -0
- package/dist/src/desktop/components/Calendar/constants.d.ts +1 -0
- package/dist/src/desktop/components/Calendar/constants.js +31 -0
- package/dist/src/desktop/components/Calendar/index.d.ts +14 -0
- package/dist/src/desktop/components/Calendar/index.js +42 -0
- package/dist/src/desktop/components/Calendar/timeFormatUtils.d.ts +18 -0
- package/dist/src/desktop/components/Calendar/timeFormatUtils.js +59 -0
- package/dist/src/desktop/components/Calendar/types.d.ts +61 -0
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +2 -3
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +3 -8
- package/dist/src/desktop/components/ChatList/Body.d.ts +1 -1
- package/dist/src/desktop/components/PriceTextField/PriceTextField.d.ts +43 -0
- package/dist/src/desktop/components/PriceTextField/PriceTextField.js +604 -0
- package/dist/src/desktop/components/PriceTextField/index.d.ts +1 -0
- package/dist/src/desktop/components/PriceTextField/index.js +8 -0
- package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.d.ts +14 -0
- package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.js +47 -0
- package/dist/src/desktop/components/PriceTextLabel/index.d.ts +1 -0
- package/dist/src/desktop/components/PriceTextLabel/index.js +8 -0
- package/dist/src/desktop/components/RichTextEditor/RichTextEditor.d.ts +34 -0
- package/dist/src/desktop/components/RichTextEditor/RichTextEditor.js +247 -0
- package/dist/src/desktop/components/RichTextEditor/index.d.ts +2 -0
- package/dist/src/desktop/components/RichTextEditor/index.js +8 -0
- package/dist/src/desktop/components/Snackbar/Snackbar.d.ts +17 -0
- package/dist/src/desktop/components/Snackbar/Snackbar.js +221 -0
- package/dist/src/desktop/components/Snackbar/index.d.ts +1 -0
- package/dist/src/desktop/components/Snackbar/index.js +8 -0
- package/dist/src/desktop/components/Snackbar/provider.d.ts +11 -0
- package/dist/src/desktop/components/Snackbar/provider.js +43 -0
- package/dist/src/desktop/components/TextButton/TextButton.d.ts +6 -3
- package/dist/src/desktop/components/TextButton/TextButton.js +67 -40
- package/dist/src/desktop/components/TextField/TextField.d.ts +2 -1
- package/dist/src/desktop/components/TextField/TextField.js +7 -7
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -3
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +1 -1
- package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +56 -39
- package/dist/src/desktop/components/index.d.ts +7 -1
- package/dist/src/desktop/components/index.js +14 -1
- package/dist/src/desktop/index.d.ts +1 -1
- package/dist/src/desktop/index.js +8 -2
- 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 +8 -5
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +17 -2
- package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +37 -6
- package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.d.ts +13 -0
- package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.js +213 -0
- package/dist/src/desktop/panels/MultilingualModal/index.d.ts +1 -0
- package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList → desktop/panels/MultilingualModal}/index.js +3 -3
- package/dist/src/desktop/panels/index.d.ts +2 -1
- package/dist/src/desktop/panels/index.js +6 -1
- package/dist/src/hybrid/components/Divider/Divider.d.ts +3 -1
- package/dist/src/hybrid/components/Divider/Divider.js +9 -7
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +3 -1
- package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +26 -22
- package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +67 -0
- package/dist/src/mobile/components/BoxItem/BoxItem.js +106 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.d.ts +7 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.js +9 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/Image.d.ts +11 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/Image.js +9 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.d.ts +11 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.js +36 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/index.d.ts +2 -0
- package/dist/src/mobile/components/BoxItem/LeftBox/index.js +8 -0
- package/dist/src/mobile/components/BoxItem/index.d.ts +1 -0
- package/dist/src/mobile/components/BoxItem/index.js +8 -0
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +2 -3
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +3 -8
- package/dist/src/mobile/components/ChatList/Body.d.ts +1 -1
- package/dist/src/mobile/components/PriceTextField/PriceTextField.d.ts +42 -0
- package/dist/src/mobile/components/PriceTextField/PriceTextField.js +591 -0
- package/dist/src/mobile/components/PriceTextField/index.d.ts +1 -0
- package/dist/src/mobile/components/PriceTextField/index.js +8 -0
- package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.d.ts +14 -0
- package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.js +47 -0
- package/dist/src/mobile/components/PriceTextLabel/index.d.ts +1 -0
- package/dist/src/mobile/components/PriceTextLabel/index.js +8 -0
- package/dist/src/mobile/components/RichTextEditor/RichTextEditor.d.ts +34 -0
- package/dist/src/mobile/components/RichTextEditor/RichTextEditor.js +253 -0
- package/dist/src/mobile/components/RichTextEditor/index.d.ts +2 -0
- package/dist/src/mobile/components/RichTextEditor/index.js +8 -0
- package/dist/src/mobile/components/Snackbar/Snackbar.d.ts +17 -0
- package/dist/src/mobile/components/Snackbar/Snackbar.js +221 -0
- package/dist/src/mobile/components/Snackbar/index.d.ts +1 -0
- package/dist/src/mobile/components/Snackbar/index.js +8 -0
- package/dist/src/mobile/components/Snackbar/provider.d.ts +11 -0
- package/dist/src/mobile/components/Snackbar/provider.js +43 -0
- package/dist/src/mobile/components/TextButton/TextButton.d.ts +6 -3
- package/dist/src/mobile/components/TextButton/TextButton.js +55 -31
- package/dist/src/mobile/components/TextField/TextField.d.ts +2 -1
- package/dist/src/mobile/components/TextField/TextField.js +7 -7
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -3
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +1 -1
- package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +44 -30
- package/dist/src/mobile/components/index.d.ts +6 -1
- package/dist/src/mobile/components/index.js +11 -1
- package/dist/src/mobile/index.d.ts +1 -1
- package/dist/src/mobile/index.js +7 -2
- package/dist/src/sub/AdminList/AdminList/AdminList.js +18 -17
- package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +1 -4
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +3 -5
- package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +54 -54
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +6 -0
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +27 -0
- package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/DynamicLayout.js +2 -4
- package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +2 -24
- package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -3
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +0 -40
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +177 -36
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +4 -152
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +2 -150
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +1 -45
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +9 -262
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +0 -593
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +0 -253
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +1 -3
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +3 -5
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +1 -2
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +2 -9
- package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/mock_video_cb.js +5 -4
- package/dist/src/sub/DynamicLayout/mocks.d.ts +961 -8
- package/dist/src/sub/DynamicLayout/mocks.js +4239 -55
- package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +7 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -13
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +2 -18
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +4 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +3 -134
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +3 -39
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +8 -49
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +28 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +1 -0
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +15 -5
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +3 -55
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +10 -27
- package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -3
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +2 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +5 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +0 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +3 -53
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
- package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +0 -1
- package/dist/src/sub/DynamicLayout/types.d.ts +17 -64
- package/dist/tinymce/CHANGELOG.md +3453 -0
- package/dist/tinymce/README.md +73 -0
- package/dist/tinymce/bower.json +27 -0
- package/dist/tinymce/composer.json +52 -0
- package/dist/tinymce/icons/default/icons.js +194 -0
- package/dist/tinymce/icons/default/icons.min.js +1 -0
- package/dist/tinymce/icons/default/index.js +7 -0
- package/dist/tinymce/license.txt +21 -0
- package/dist/tinymce/models/dom/index.js +7 -0
- package/dist/tinymce/models/dom/model.js +8040 -0
- package/dist/tinymce/models/dom/model.min.js +1 -0
- package/dist/tinymce/notices.txt +21 -0
- package/dist/tinymce/package.json +32 -0
- package/dist/tinymce/plugins/accordion/index.js +7 -0
- package/dist/tinymce/plugins/accordion/plugin.js +1054 -0
- package/dist/tinymce/plugins/accordion/plugin.min.js +5 -0
- package/dist/tinymce/plugins/advlist/index.js +7 -0
- package/dist/tinymce/plugins/advlist/plugin.js +259 -0
- package/dist/tinymce/plugins/advlist/plugin.min.js +5 -0
- package/dist/tinymce/plugins/anchor/index.js +7 -0
- package/dist/tinymce/plugins/anchor/plugin.js +214 -0
- package/dist/tinymce/plugins/anchor/plugin.min.js +5 -0
- package/dist/tinymce/plugins/autolink/index.js +7 -0
- package/dist/tinymce/plugins/autolink/plugin.js +228 -0
- package/dist/tinymce/plugins/autolink/plugin.min.js +5 -0
- package/dist/tinymce/plugins/autoresize/index.js +7 -0
- package/dist/tinymce/plugins/autoresize/plugin.js +192 -0
- package/dist/tinymce/plugins/autoresize/plugin.min.js +5 -0
- package/dist/tinymce/plugins/autosave/index.js +7 -0
- package/dist/tinymce/plugins/autosave/plugin.js +233 -0
- package/dist/tinymce/plugins/autosave/plugin.min.js +5 -0
- package/dist/tinymce/plugins/charmap/index.js +7 -0
- package/dist/tinymce/plugins/charmap/plugin.js +1658 -0
- package/dist/tinymce/plugins/charmap/plugin.min.js +5 -0
- package/dist/tinymce/plugins/code/index.js +7 -0
- package/dist/tinymce/plugins/code/plugin.js +85 -0
- package/dist/tinymce/plugins/code/plugin.min.js +5 -0
- package/dist/tinymce/plugins/codesample/index.js +7 -0
- package/dist/tinymce/plugins/codesample/plugin.js +2471 -0
- package/dist/tinymce/plugins/codesample/plugin.min.js +13 -0
- package/dist/tinymce/plugins/directionality/index.js +7 -0
- package/dist/tinymce/plugins/directionality/plugin.js +395 -0
- package/dist/tinymce/plugins/directionality/plugin.min.js +5 -0
- package/dist/tinymce/plugins/emoticons/index.js +7 -0
- package/dist/tinymce/plugins/emoticons/js/emojiimages.js +1 -0
- package/dist/tinymce/plugins/emoticons/js/emojiimages.min.js +1 -0
- package/dist/tinymce/plugins/emoticons/js/emojis.js +1 -0
- package/dist/tinymce/plugins/emoticons/js/emojis.min.js +1 -0
- package/dist/tinymce/plugins/emoticons/plugin.js +595 -0
- package/dist/tinymce/plugins/emoticons/plugin.min.js +5 -0
- package/dist/tinymce/plugins/fullscreen/index.js +7 -0
- package/dist/tinymce/plugins/fullscreen/plugin.js +1249 -0
- package/dist/tinymce/plugins/fullscreen/plugin.min.js +5 -0
- package/dist/tinymce/plugins/help/index.js +7 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ar.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ca.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/cs.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/da.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/de.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/el.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/en.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/es.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/eu.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/fa.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/fi.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/he_IL.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/hi.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/hr.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/id.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/it.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ja.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/kk.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ms.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/nl.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/pl.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ro.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/ru.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/sk.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/th_TH.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/tr.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/uk.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/vi.js +90 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +84 -0
- package/dist/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +90 -0
- package/dist/tinymce/plugins/help/plugin.js +898 -0
- package/dist/tinymce/plugins/help/plugin.min.js +5 -0
- package/dist/tinymce/plugins/image/index.js +7 -0
- package/dist/tinymce/plugins/image/plugin.js +1505 -0
- package/dist/tinymce/plugins/image/plugin.min.js +5 -0
- package/dist/tinymce/plugins/importcss/index.js +7 -0
- package/dist/tinymce/plugins/importcss/plugin.js +344 -0
- package/dist/tinymce/plugins/importcss/plugin.min.js +5 -0
- package/dist/tinymce/plugins/insertdatetime/index.js +7 -0
- package/dist/tinymce/plugins/insertdatetime/plugin.js +187 -0
- package/dist/tinymce/plugins/insertdatetime/plugin.min.js +5 -0
- package/dist/tinymce/plugins/link/index.js +7 -0
- package/dist/tinymce/plugins/link/plugin.js +1242 -0
- package/dist/tinymce/plugins/link/plugin.min.js +5 -0
- package/dist/tinymce/plugins/lists/index.js +7 -0
- package/dist/tinymce/plugins/lists/plugin.js +2172 -0
- package/dist/tinymce/plugins/lists/plugin.min.js +5 -0
- package/dist/tinymce/plugins/media/index.js +7 -0
- package/dist/tinymce/plugins/media/plugin.js +1217 -0
- package/dist/tinymce/plugins/media/plugin.min.js +5 -0
- package/dist/tinymce/plugins/nonbreaking/index.js +7 -0
- package/dist/tinymce/plugins/nonbreaking/plugin.js +123 -0
- package/dist/tinymce/plugins/nonbreaking/plugin.min.js +5 -0
- package/dist/tinymce/plugins/pagebreak/index.js +7 -0
- package/dist/tinymce/plugins/pagebreak/plugin.js +117 -0
- package/dist/tinymce/plugins/pagebreak/plugin.min.js +5 -0
- package/dist/tinymce/plugins/preview/index.js +7 -0
- package/dist/tinymce/plugins/preview/plugin.js +97 -0
- package/dist/tinymce/plugins/preview/plugin.min.js +5 -0
- package/dist/tinymce/plugins/quickbars/index.js +7 -0
- package/dist/tinymce/plugins/quickbars/plugin.js +447 -0
- package/dist/tinymce/plugins/quickbars/plugin.min.js +5 -0
- package/dist/tinymce/plugins/save/index.js +7 -0
- package/dist/tinymce/plugins/save/plugin.js +118 -0
- package/dist/tinymce/plugins/save/plugin.min.js +5 -0
- package/dist/tinymce/plugins/searchreplace/index.js +7 -0
- package/dist/tinymce/plugins/searchreplace/plugin.js +1093 -0
- package/dist/tinymce/plugins/searchreplace/plugin.min.js +5 -0
- package/dist/tinymce/plugins/table/index.js +7 -0
- package/dist/tinymce/plugins/table/plugin.js +3462 -0
- package/dist/tinymce/plugins/table/plugin.min.js +5 -0
- package/dist/tinymce/plugins/template/index.js +7 -0
- package/dist/tinymce/plugins/template/plugin.js +567 -0
- package/dist/tinymce/plugins/template/plugin.min.js +5 -0
- package/dist/tinymce/plugins/visualblocks/index.js +7 -0
- package/dist/tinymce/plugins/visualblocks/plugin.js +98 -0
- package/dist/tinymce/plugins/visualblocks/plugin.min.js +5 -0
- package/dist/tinymce/plugins/visualchars/index.js +7 -0
- package/dist/tinymce/plugins/visualchars/plugin.js +560 -0
- package/dist/tinymce/plugins/visualchars/plugin.min.js +5 -0
- package/dist/tinymce/plugins/wordcount/index.js +7 -0
- package/dist/tinymce/plugins/wordcount/plugin.js +405 -0
- package/dist/tinymce/plugins/wordcount/plugin.min.js +5 -0
- package/dist/tinymce/skins/content/dark/content.css +79 -0
- package/dist/tinymce/skins/content/dark/content.js +15 -0
- package/dist/tinymce/skins/content/dark/content.min.css +14 -0
- package/dist/tinymce/skins/content/default/content.css +74 -0
- package/dist/tinymce/skins/content/default/content.js +15 -0
- package/dist/tinymce/skins/content/default/content.min.css +14 -0
- package/dist/tinymce/skins/content/document/content.css +79 -0
- package/dist/tinymce/skins/content/document/content.js +15 -0
- package/dist/tinymce/skins/content/document/content.min.css +14 -0
- package/dist/tinymce/skins/content/tinymce-5/content.css +74 -0
- package/dist/tinymce/skins/content/tinymce-5/content.js +15 -0
- package/dist/tinymce/skins/content/tinymce-5/content.min.css +14 -0
- package/dist/tinymce/skins/content/tinymce-5-dark/content.css +79 -0
- package/dist/tinymce/skins/content/tinymce-5-dark/content.js +15 -0
- package/dist/tinymce/skins/content/tinymce-5-dark/content.min.css +14 -0
- package/dist/tinymce/skins/content/writer/content.css +75 -0
- package/dist/tinymce/skins/content/writer/content.js +15 -0
- package/dist/tinymce/skins/content/writer/content.min.css +14 -0
- package/dist/tinymce/skins/ui/oxide/content.css +798 -0
- package/dist/tinymce/skins/ui/oxide/content.inline.css +792 -0
- package/dist/tinymce/skins/ui/oxide/content.inline.js +15 -0
- package/dist/tinymce/skins/ui/oxide/content.inline.min.css +14 -0
- package/dist/tinymce/skins/ui/oxide/content.js +15 -0
- package/dist/tinymce/skins/ui/oxide/content.min.css +14 -0
- package/dist/tinymce/skins/ui/oxide/skin.css +3763 -0
- package/dist/tinymce/skins/ui/oxide/skin.js +2 -0
- package/dist/tinymce/skins/ui/oxide/skin.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
- package/dist/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.css +779 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.css +792 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.js +15 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.inline.min.css +14 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.js +15 -0
- package/dist/tinymce/skins/ui/oxide-dark/content.min.css +14 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.css +3766 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.js +2 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
- package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.css +798 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.css +792 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.js +15 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.inline.min.css +14 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.js +15 -0
- package/dist/tinymce/skins/ui/tinymce-5/content.min.css +14 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.css +3857 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +30 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.css +779 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.css +792 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.js +15 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +14 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.js +15 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/content.min.css +14 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.css +3857 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +30 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +2 -0
- package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -0
- package/dist/tinymce/themes/silver/index.js +7 -0
- package/dist/tinymce/themes/silver/theme.js +30775 -0
- package/dist/tinymce/themes/silver/theme.min.js +1 -0
- package/dist/tinymce/tinymce.d.ts +3238 -0
- package/dist/tinymce/tinymce.js +31779 -0
- package/dist/tinymce/tinymce.min.js +11 -0
- package/package.json +8 -4
- package/release-note.md +2 -2
- package/scripts/copy-tinymce.js +37 -0
- package/dist/src/common/types/form.d.ts +0 -9
- package/dist/src/common/types/form.js +0 -10
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +0 -22
- package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +0 -1133
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +0 -11
- package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +0 -45
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +0 -10
- package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +0 -79
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +0 -76
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +0 -4
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +0 -47
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +0 -76
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +0 -76
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +0 -76
- package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +0 -139
- package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +0 -8
- package/dist/src/sub/DynamicLayout/compositionQueryContext.js +0 -14
- package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +0 -911
- package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +0 -4238
- package/dist/src/sub/DynamicLayout/mock_composition.d.ts +0 -3
- package/dist/src/sub/DynamicLayout/mock_composition.js +0 -1607
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +0 -1111
- package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/mock_contentsList.js +0 -1091
- package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +0 -96
- package/dist/src/sub/DynamicLayout/mock_queryData.js +0 -2639
- package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +0 -842
- package/dist/src/sub/DynamicLayout/mock_slideBanner.js +0 -854
- package/dist/src/sub/DynamicLayout/mock_video.d.ts +0 -368
- package/dist/src/sub/DynamicLayout/mock_video.js +0 -371
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +0 -61
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +0 -15
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +0 -69
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +0 -15
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +0 -69
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +0 -9
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +0 -87
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -849
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -43
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -162
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +0 -39
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +0 -182
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +0 -18
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +0 -229
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +0 -14
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +0 -46
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +0 -8
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +0 -139
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +0 -14
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +0 -214
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +0 -17
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +0 -39
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +0 -10
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +0 -85
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -25
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -183
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +0 -29
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +0 -130
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +0 -18
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +0 -229
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +0 -67
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +0 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +0 -14
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +0 -151
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +0 -12
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +0 -39
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +0 -15
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +0 -69
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +0 -15
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +0 -69
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +0 -20
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +0 -173
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +0 -9
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +0 -87
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -4
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -849
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -43
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -162
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +0 -18
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +0 -229
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +0 -16
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +0 -63
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +0 -1
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +0 -46
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +0 -186
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +0 -163
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +0 -2
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.d.ts +0 -7
- package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.js +0 -211
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +0 -14
- package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +0 -26
- /package/dist/src/{sub/DynamicLayout/compositionActionTypes.js → common/types/multilingual.js} +0 -0
- /package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel → desktop/components/Calendar}/types.js +0 -0
@@ -0,0 +1,898 @@
|
|
1
|
+
/**
|
2
|
+
* TinyMCE version 6.8.6 (TBD)
|
3
|
+
*/
|
4
|
+
|
5
|
+
(function () {
|
6
|
+
'use strict';
|
7
|
+
|
8
|
+
const Cell = initial => {
|
9
|
+
let value = initial;
|
10
|
+
const get = () => {
|
11
|
+
return value;
|
12
|
+
};
|
13
|
+
const set = v => {
|
14
|
+
value = v;
|
15
|
+
};
|
16
|
+
return {
|
17
|
+
get,
|
18
|
+
set
|
19
|
+
};
|
20
|
+
};
|
21
|
+
|
22
|
+
var global$4 = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
23
|
+
|
24
|
+
let unique = 0;
|
25
|
+
const generate = prefix => {
|
26
|
+
const date = new Date();
|
27
|
+
const time = date.getTime();
|
28
|
+
const random = Math.floor(Math.random() * 1000000000);
|
29
|
+
unique++;
|
30
|
+
return prefix + '_' + random + unique + String(time);
|
31
|
+
};
|
32
|
+
|
33
|
+
const get$1 = customTabs => {
|
34
|
+
const addTab = spec => {
|
35
|
+
var _a;
|
36
|
+
const name = (_a = spec.name) !== null && _a !== void 0 ? _a : generate('tab-name');
|
37
|
+
const currentCustomTabs = customTabs.get();
|
38
|
+
currentCustomTabs[name] = spec;
|
39
|
+
customTabs.set(currentCustomTabs);
|
40
|
+
};
|
41
|
+
return { addTab };
|
42
|
+
};
|
43
|
+
|
44
|
+
const register$2 = (editor, dialogOpener) => {
|
45
|
+
editor.addCommand('mceHelp', dialogOpener);
|
46
|
+
};
|
47
|
+
|
48
|
+
const option = name => editor => editor.options.get(name);
|
49
|
+
const register$1 = editor => {
|
50
|
+
const registerOption = editor.options.register;
|
51
|
+
registerOption('help_tabs', { processor: 'array' });
|
52
|
+
};
|
53
|
+
const getHelpTabs = option('help_tabs');
|
54
|
+
const getForcedPlugins = option('forced_plugins');
|
55
|
+
|
56
|
+
const register = (editor, dialogOpener) => {
|
57
|
+
editor.ui.registry.addButton('help', {
|
58
|
+
icon: 'help',
|
59
|
+
tooltip: 'Help',
|
60
|
+
onAction: dialogOpener
|
61
|
+
});
|
62
|
+
editor.ui.registry.addMenuItem('help', {
|
63
|
+
text: 'Help',
|
64
|
+
icon: 'help',
|
65
|
+
shortcut: 'Alt+0',
|
66
|
+
onAction: dialogOpener
|
67
|
+
});
|
68
|
+
};
|
69
|
+
|
70
|
+
const hasProto = (v, constructor, predicate) => {
|
71
|
+
var _a;
|
72
|
+
if (predicate(v, constructor.prototype)) {
|
73
|
+
return true;
|
74
|
+
} else {
|
75
|
+
return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
|
76
|
+
}
|
77
|
+
};
|
78
|
+
const typeOf = x => {
|
79
|
+
const t = typeof x;
|
80
|
+
if (x === null) {
|
81
|
+
return 'null';
|
82
|
+
} else if (t === 'object' && Array.isArray(x)) {
|
83
|
+
return 'array';
|
84
|
+
} else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {
|
85
|
+
return 'string';
|
86
|
+
} else {
|
87
|
+
return t;
|
88
|
+
}
|
89
|
+
};
|
90
|
+
const isType = type => value => typeOf(value) === type;
|
91
|
+
const isSimpleType = type => value => typeof value === type;
|
92
|
+
const eq = t => a => t === a;
|
93
|
+
const isString = isType('string');
|
94
|
+
const isUndefined = eq(undefined);
|
95
|
+
const isNullable = a => a === null || a === undefined;
|
96
|
+
const isNonNullable = a => !isNullable(a);
|
97
|
+
const isFunction = isSimpleType('function');
|
98
|
+
|
99
|
+
const constant = value => {
|
100
|
+
return () => {
|
101
|
+
return value;
|
102
|
+
};
|
103
|
+
};
|
104
|
+
const never = constant(false);
|
105
|
+
|
106
|
+
class Optional {
|
107
|
+
constructor(tag, value) {
|
108
|
+
this.tag = tag;
|
109
|
+
this.value = value;
|
110
|
+
}
|
111
|
+
static some(value) {
|
112
|
+
return new Optional(true, value);
|
113
|
+
}
|
114
|
+
static none() {
|
115
|
+
return Optional.singletonNone;
|
116
|
+
}
|
117
|
+
fold(onNone, onSome) {
|
118
|
+
if (this.tag) {
|
119
|
+
return onSome(this.value);
|
120
|
+
} else {
|
121
|
+
return onNone();
|
122
|
+
}
|
123
|
+
}
|
124
|
+
isSome() {
|
125
|
+
return this.tag;
|
126
|
+
}
|
127
|
+
isNone() {
|
128
|
+
return !this.tag;
|
129
|
+
}
|
130
|
+
map(mapper) {
|
131
|
+
if (this.tag) {
|
132
|
+
return Optional.some(mapper(this.value));
|
133
|
+
} else {
|
134
|
+
return Optional.none();
|
135
|
+
}
|
136
|
+
}
|
137
|
+
bind(binder) {
|
138
|
+
if (this.tag) {
|
139
|
+
return binder(this.value);
|
140
|
+
} else {
|
141
|
+
return Optional.none();
|
142
|
+
}
|
143
|
+
}
|
144
|
+
exists(predicate) {
|
145
|
+
return this.tag && predicate(this.value);
|
146
|
+
}
|
147
|
+
forall(predicate) {
|
148
|
+
return !this.tag || predicate(this.value);
|
149
|
+
}
|
150
|
+
filter(predicate) {
|
151
|
+
if (!this.tag || predicate(this.value)) {
|
152
|
+
return this;
|
153
|
+
} else {
|
154
|
+
return Optional.none();
|
155
|
+
}
|
156
|
+
}
|
157
|
+
getOr(replacement) {
|
158
|
+
return this.tag ? this.value : replacement;
|
159
|
+
}
|
160
|
+
or(replacement) {
|
161
|
+
return this.tag ? this : replacement;
|
162
|
+
}
|
163
|
+
getOrThunk(thunk) {
|
164
|
+
return this.tag ? this.value : thunk();
|
165
|
+
}
|
166
|
+
orThunk(thunk) {
|
167
|
+
return this.tag ? this : thunk();
|
168
|
+
}
|
169
|
+
getOrDie(message) {
|
170
|
+
if (!this.tag) {
|
171
|
+
throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
|
172
|
+
} else {
|
173
|
+
return this.value;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
static from(value) {
|
177
|
+
return isNonNullable(value) ? Optional.some(value) : Optional.none();
|
178
|
+
}
|
179
|
+
getOrNull() {
|
180
|
+
return this.tag ? this.value : null;
|
181
|
+
}
|
182
|
+
getOrUndefined() {
|
183
|
+
return this.value;
|
184
|
+
}
|
185
|
+
each(worker) {
|
186
|
+
if (this.tag) {
|
187
|
+
worker(this.value);
|
188
|
+
}
|
189
|
+
}
|
190
|
+
toArray() {
|
191
|
+
return this.tag ? [this.value] : [];
|
192
|
+
}
|
193
|
+
toString() {
|
194
|
+
return this.tag ? `some(${ this.value })` : 'none()';
|
195
|
+
}
|
196
|
+
}
|
197
|
+
Optional.singletonNone = new Optional(false);
|
198
|
+
|
199
|
+
const nativeSlice = Array.prototype.slice;
|
200
|
+
const nativeIndexOf = Array.prototype.indexOf;
|
201
|
+
const rawIndexOf = (ts, t) => nativeIndexOf.call(ts, t);
|
202
|
+
const contains = (xs, x) => rawIndexOf(xs, x) > -1;
|
203
|
+
const map = (xs, f) => {
|
204
|
+
const len = xs.length;
|
205
|
+
const r = new Array(len);
|
206
|
+
for (let i = 0; i < len; i++) {
|
207
|
+
const x = xs[i];
|
208
|
+
r[i] = f(x, i);
|
209
|
+
}
|
210
|
+
return r;
|
211
|
+
};
|
212
|
+
const filter = (xs, pred) => {
|
213
|
+
const r = [];
|
214
|
+
for (let i = 0, len = xs.length; i < len; i++) {
|
215
|
+
const x = xs[i];
|
216
|
+
if (pred(x, i)) {
|
217
|
+
r.push(x);
|
218
|
+
}
|
219
|
+
}
|
220
|
+
return r;
|
221
|
+
};
|
222
|
+
const findUntil = (xs, pred, until) => {
|
223
|
+
for (let i = 0, len = xs.length; i < len; i++) {
|
224
|
+
const x = xs[i];
|
225
|
+
if (pred(x, i)) {
|
226
|
+
return Optional.some(x);
|
227
|
+
} else if (until(x, i)) {
|
228
|
+
break;
|
229
|
+
}
|
230
|
+
}
|
231
|
+
return Optional.none();
|
232
|
+
};
|
233
|
+
const find = (xs, pred) => {
|
234
|
+
return findUntil(xs, pred, never);
|
235
|
+
};
|
236
|
+
const sort = (xs, comparator) => {
|
237
|
+
const copy = nativeSlice.call(xs, 0);
|
238
|
+
copy.sort(comparator);
|
239
|
+
return copy;
|
240
|
+
};
|
241
|
+
|
242
|
+
const keys = Object.keys;
|
243
|
+
const hasOwnProperty = Object.hasOwnProperty;
|
244
|
+
const get = (obj, key) => {
|
245
|
+
return has(obj, key) ? Optional.from(obj[key]) : Optional.none();
|
246
|
+
};
|
247
|
+
const has = (obj, key) => hasOwnProperty.call(obj, key);
|
248
|
+
|
249
|
+
const cat = arr => {
|
250
|
+
const r = [];
|
251
|
+
const push = x => {
|
252
|
+
r.push(x);
|
253
|
+
};
|
254
|
+
for (let i = 0; i < arr.length; i++) {
|
255
|
+
arr[i].each(push);
|
256
|
+
}
|
257
|
+
return r;
|
258
|
+
};
|
259
|
+
|
260
|
+
var global$3 = tinymce.util.Tools.resolve('tinymce.Resource');
|
261
|
+
|
262
|
+
var global$2 = tinymce.util.Tools.resolve('tinymce.util.I18n');
|
263
|
+
|
264
|
+
const pLoadHtmlByLangCode = (baseUrl, langCode) => global$3.load(`tinymce.html-i18n.help-keynav.${ langCode }`, `${ baseUrl }/js/i18n/keynav/${ langCode }.js`);
|
265
|
+
const pLoadI18nHtml = baseUrl => pLoadHtmlByLangCode(baseUrl, global$2.getCode()).catch(() => pLoadHtmlByLangCode(baseUrl, 'en'));
|
266
|
+
const initI18nLoad = (editor, baseUrl) => {
|
267
|
+
editor.on('init', () => {
|
268
|
+
pLoadI18nHtml(baseUrl);
|
269
|
+
});
|
270
|
+
};
|
271
|
+
|
272
|
+
const pTab = async pluginUrl => {
|
273
|
+
const body = {
|
274
|
+
type: 'htmlpanel',
|
275
|
+
presets: 'document',
|
276
|
+
html: await pLoadI18nHtml(pluginUrl)
|
277
|
+
};
|
278
|
+
return {
|
279
|
+
name: 'keyboardnav',
|
280
|
+
title: 'Keyboard Navigation',
|
281
|
+
items: [body]
|
282
|
+
};
|
283
|
+
};
|
284
|
+
|
285
|
+
var global$1 = tinymce.util.Tools.resolve('tinymce.Env');
|
286
|
+
|
287
|
+
const convertText = source => {
|
288
|
+
const isMac = global$1.os.isMacOS() || global$1.os.isiOS();
|
289
|
+
const mac = {
|
290
|
+
alt: '⌥',
|
291
|
+
ctrl: '⌃',
|
292
|
+
shift: '⇧',
|
293
|
+
meta: '⌘',
|
294
|
+
access: '⌃⌥'
|
295
|
+
};
|
296
|
+
const other = {
|
297
|
+
meta: 'Ctrl ',
|
298
|
+
access: 'Shift + Alt '
|
299
|
+
};
|
300
|
+
const replace = isMac ? mac : other;
|
301
|
+
const shortcut = source.split('+');
|
302
|
+
const updated = map(shortcut, segment => {
|
303
|
+
const search = segment.toLowerCase().trim();
|
304
|
+
return has(replace, search) ? replace[search] : segment;
|
305
|
+
});
|
306
|
+
return isMac ? updated.join('').replace(/\s/, '') : updated.join('+');
|
307
|
+
};
|
308
|
+
|
309
|
+
const shortcuts = [
|
310
|
+
{
|
311
|
+
shortcuts: ['Meta + B'],
|
312
|
+
action: 'Bold'
|
313
|
+
},
|
314
|
+
{
|
315
|
+
shortcuts: ['Meta + I'],
|
316
|
+
action: 'Italic'
|
317
|
+
},
|
318
|
+
{
|
319
|
+
shortcuts: ['Meta + U'],
|
320
|
+
action: 'Underline'
|
321
|
+
},
|
322
|
+
{
|
323
|
+
shortcuts: ['Meta + A'],
|
324
|
+
action: 'Select all'
|
325
|
+
},
|
326
|
+
{
|
327
|
+
shortcuts: [
|
328
|
+
'Meta + Y',
|
329
|
+
'Meta + Shift + Z'
|
330
|
+
],
|
331
|
+
action: 'Redo'
|
332
|
+
},
|
333
|
+
{
|
334
|
+
shortcuts: ['Meta + Z'],
|
335
|
+
action: 'Undo'
|
336
|
+
},
|
337
|
+
{
|
338
|
+
shortcuts: ['Access + 1'],
|
339
|
+
action: 'Heading 1'
|
340
|
+
},
|
341
|
+
{
|
342
|
+
shortcuts: ['Access + 2'],
|
343
|
+
action: 'Heading 2'
|
344
|
+
},
|
345
|
+
{
|
346
|
+
shortcuts: ['Access + 3'],
|
347
|
+
action: 'Heading 3'
|
348
|
+
},
|
349
|
+
{
|
350
|
+
shortcuts: ['Access + 4'],
|
351
|
+
action: 'Heading 4'
|
352
|
+
},
|
353
|
+
{
|
354
|
+
shortcuts: ['Access + 5'],
|
355
|
+
action: 'Heading 5'
|
356
|
+
},
|
357
|
+
{
|
358
|
+
shortcuts: ['Access + 6'],
|
359
|
+
action: 'Heading 6'
|
360
|
+
},
|
361
|
+
{
|
362
|
+
shortcuts: ['Access + 7'],
|
363
|
+
action: 'Paragraph'
|
364
|
+
},
|
365
|
+
{
|
366
|
+
shortcuts: ['Access + 8'],
|
367
|
+
action: 'Div'
|
368
|
+
},
|
369
|
+
{
|
370
|
+
shortcuts: ['Access + 9'],
|
371
|
+
action: 'Address'
|
372
|
+
},
|
373
|
+
{
|
374
|
+
shortcuts: ['Alt + 0'],
|
375
|
+
action: 'Open help dialog'
|
376
|
+
},
|
377
|
+
{
|
378
|
+
shortcuts: ['Alt + F9'],
|
379
|
+
action: 'Focus to menubar'
|
380
|
+
},
|
381
|
+
{
|
382
|
+
shortcuts: ['Alt + F10'],
|
383
|
+
action: 'Focus to toolbar'
|
384
|
+
},
|
385
|
+
{
|
386
|
+
shortcuts: ['Alt + F11'],
|
387
|
+
action: 'Focus to element path'
|
388
|
+
},
|
389
|
+
{
|
390
|
+
shortcuts: ['Ctrl + F9'],
|
391
|
+
action: 'Focus to contextual toolbar'
|
392
|
+
},
|
393
|
+
{
|
394
|
+
shortcuts: ['Shift + Enter'],
|
395
|
+
action: 'Open popup menu for split buttons'
|
396
|
+
},
|
397
|
+
{
|
398
|
+
shortcuts: ['Meta + K'],
|
399
|
+
action: 'Insert link (if link plugin activated)'
|
400
|
+
},
|
401
|
+
{
|
402
|
+
shortcuts: ['Meta + S'],
|
403
|
+
action: 'Save (if save plugin activated)'
|
404
|
+
},
|
405
|
+
{
|
406
|
+
shortcuts: ['Meta + F'],
|
407
|
+
action: 'Find (if searchreplace plugin activated)'
|
408
|
+
},
|
409
|
+
{
|
410
|
+
shortcuts: ['Meta + Shift + F'],
|
411
|
+
action: 'Switch to or from fullscreen mode'
|
412
|
+
}
|
413
|
+
];
|
414
|
+
|
415
|
+
const tab$2 = () => {
|
416
|
+
const shortcutList = map(shortcuts, shortcut => {
|
417
|
+
const shortcutText = map(shortcut.shortcuts, convertText).join(' or ');
|
418
|
+
return [
|
419
|
+
shortcut.action,
|
420
|
+
shortcutText
|
421
|
+
];
|
422
|
+
});
|
423
|
+
const tablePanel = {
|
424
|
+
type: 'table',
|
425
|
+
header: [
|
426
|
+
'Action',
|
427
|
+
'Shortcut'
|
428
|
+
],
|
429
|
+
cells: shortcutList
|
430
|
+
};
|
431
|
+
return {
|
432
|
+
name: 'shortcuts',
|
433
|
+
title: 'Handy Shortcuts',
|
434
|
+
items: [tablePanel]
|
435
|
+
};
|
436
|
+
};
|
437
|
+
|
438
|
+
const urls = map([
|
439
|
+
{
|
440
|
+
key: 'accordion',
|
441
|
+
name: 'Accordion'
|
442
|
+
},
|
443
|
+
{
|
444
|
+
key: 'advlist',
|
445
|
+
name: 'Advanced List'
|
446
|
+
},
|
447
|
+
{
|
448
|
+
key: 'anchor',
|
449
|
+
name: 'Anchor'
|
450
|
+
},
|
451
|
+
{
|
452
|
+
key: 'autolink',
|
453
|
+
name: 'Autolink'
|
454
|
+
},
|
455
|
+
{
|
456
|
+
key: 'autoresize',
|
457
|
+
name: 'Autoresize'
|
458
|
+
},
|
459
|
+
{
|
460
|
+
key: 'autosave',
|
461
|
+
name: 'Autosave'
|
462
|
+
},
|
463
|
+
{
|
464
|
+
key: 'charmap',
|
465
|
+
name: 'Character Map'
|
466
|
+
},
|
467
|
+
{
|
468
|
+
key: 'code',
|
469
|
+
name: 'Code'
|
470
|
+
},
|
471
|
+
{
|
472
|
+
key: 'codesample',
|
473
|
+
name: 'Code Sample'
|
474
|
+
},
|
475
|
+
{
|
476
|
+
key: 'colorpicker',
|
477
|
+
name: 'Color Picker'
|
478
|
+
},
|
479
|
+
{
|
480
|
+
key: 'directionality',
|
481
|
+
name: 'Directionality'
|
482
|
+
},
|
483
|
+
{
|
484
|
+
key: 'emoticons',
|
485
|
+
name: 'Emoticons'
|
486
|
+
},
|
487
|
+
{
|
488
|
+
key: 'fullscreen',
|
489
|
+
name: 'Full Screen'
|
490
|
+
},
|
491
|
+
{
|
492
|
+
key: 'help',
|
493
|
+
name: 'Help'
|
494
|
+
},
|
495
|
+
{
|
496
|
+
key: 'image',
|
497
|
+
name: 'Image'
|
498
|
+
},
|
499
|
+
{
|
500
|
+
key: 'importcss',
|
501
|
+
name: 'Import CSS'
|
502
|
+
},
|
503
|
+
{
|
504
|
+
key: 'insertdatetime',
|
505
|
+
name: 'Insert Date/Time'
|
506
|
+
},
|
507
|
+
{
|
508
|
+
key: 'link',
|
509
|
+
name: 'Link'
|
510
|
+
},
|
511
|
+
{
|
512
|
+
key: 'lists',
|
513
|
+
name: 'Lists'
|
514
|
+
},
|
515
|
+
{
|
516
|
+
key: 'media',
|
517
|
+
name: 'Media'
|
518
|
+
},
|
519
|
+
{
|
520
|
+
key: 'nonbreaking',
|
521
|
+
name: 'Nonbreaking'
|
522
|
+
},
|
523
|
+
{
|
524
|
+
key: 'pagebreak',
|
525
|
+
name: 'Page Break'
|
526
|
+
},
|
527
|
+
{
|
528
|
+
key: 'preview',
|
529
|
+
name: 'Preview'
|
530
|
+
},
|
531
|
+
{
|
532
|
+
key: 'quickbars',
|
533
|
+
name: 'Quick Toolbars'
|
534
|
+
},
|
535
|
+
{
|
536
|
+
key: 'save',
|
537
|
+
name: 'Save'
|
538
|
+
},
|
539
|
+
{
|
540
|
+
key: 'searchreplace',
|
541
|
+
name: 'Search and Replace'
|
542
|
+
},
|
543
|
+
{
|
544
|
+
key: 'table',
|
545
|
+
name: 'Table'
|
546
|
+
},
|
547
|
+
{
|
548
|
+
key: 'template',
|
549
|
+
name: 'Template'
|
550
|
+
},
|
551
|
+
{
|
552
|
+
key: 'textcolor',
|
553
|
+
name: 'Text Color'
|
554
|
+
},
|
555
|
+
{
|
556
|
+
key: 'visualblocks',
|
557
|
+
name: 'Visual Blocks'
|
558
|
+
},
|
559
|
+
{
|
560
|
+
key: 'visualchars',
|
561
|
+
name: 'Visual Characters'
|
562
|
+
},
|
563
|
+
{
|
564
|
+
key: 'wordcount',
|
565
|
+
name: 'Word Count'
|
566
|
+
},
|
567
|
+
{
|
568
|
+
key: 'a11ychecker',
|
569
|
+
name: 'Accessibility Checker',
|
570
|
+
type: 'premium'
|
571
|
+
},
|
572
|
+
{
|
573
|
+
key: 'advcode',
|
574
|
+
name: 'Advanced Code Editor',
|
575
|
+
type: 'premium'
|
576
|
+
},
|
577
|
+
{
|
578
|
+
key: 'advtable',
|
579
|
+
name: 'Advanced Tables',
|
580
|
+
type: 'premium'
|
581
|
+
},
|
582
|
+
{
|
583
|
+
key: 'advtemplate',
|
584
|
+
name: 'Advanced Templates',
|
585
|
+
type: 'premium',
|
586
|
+
slug: 'advanced-templates'
|
587
|
+
},
|
588
|
+
{
|
589
|
+
key: 'ai',
|
590
|
+
name: 'AI Assistant',
|
591
|
+
type: 'premium'
|
592
|
+
},
|
593
|
+
{
|
594
|
+
key: 'casechange',
|
595
|
+
name: 'Case Change',
|
596
|
+
type: 'premium'
|
597
|
+
},
|
598
|
+
{
|
599
|
+
key: 'checklist',
|
600
|
+
name: 'Checklist',
|
601
|
+
type: 'premium'
|
602
|
+
},
|
603
|
+
{
|
604
|
+
key: 'editimage',
|
605
|
+
name: 'Enhanced Image Editing',
|
606
|
+
type: 'premium'
|
607
|
+
},
|
608
|
+
{
|
609
|
+
key: 'footnotes',
|
610
|
+
name: 'Footnotes',
|
611
|
+
type: 'premium'
|
612
|
+
},
|
613
|
+
{
|
614
|
+
key: 'typography',
|
615
|
+
name: 'Advanced Typography',
|
616
|
+
type: 'premium',
|
617
|
+
slug: 'advanced-typography'
|
618
|
+
},
|
619
|
+
{
|
620
|
+
key: 'mediaembed',
|
621
|
+
name: 'Enhanced Media Embed',
|
622
|
+
type: 'premium',
|
623
|
+
slug: 'introduction-to-mediaembed'
|
624
|
+
},
|
625
|
+
{
|
626
|
+
key: 'export',
|
627
|
+
name: 'Export',
|
628
|
+
type: 'premium'
|
629
|
+
},
|
630
|
+
{
|
631
|
+
key: 'formatpainter',
|
632
|
+
name: 'Format Painter',
|
633
|
+
type: 'premium'
|
634
|
+
},
|
635
|
+
{
|
636
|
+
key: 'inlinecss',
|
637
|
+
name: 'Inline CSS',
|
638
|
+
type: 'premium',
|
639
|
+
slug: 'inline-css'
|
640
|
+
},
|
641
|
+
{
|
642
|
+
key: 'linkchecker',
|
643
|
+
name: 'Link Checker',
|
644
|
+
type: 'premium'
|
645
|
+
},
|
646
|
+
{
|
647
|
+
key: 'mentions',
|
648
|
+
name: 'Mentions',
|
649
|
+
type: 'premium'
|
650
|
+
},
|
651
|
+
{
|
652
|
+
key: 'mergetags',
|
653
|
+
name: 'Merge Tags',
|
654
|
+
type: 'premium'
|
655
|
+
},
|
656
|
+
{
|
657
|
+
key: 'pageembed',
|
658
|
+
name: 'Page Embed',
|
659
|
+
type: 'premium'
|
660
|
+
},
|
661
|
+
{
|
662
|
+
key: 'permanentpen',
|
663
|
+
name: 'Permanent Pen',
|
664
|
+
type: 'premium'
|
665
|
+
},
|
666
|
+
{
|
667
|
+
key: 'powerpaste',
|
668
|
+
name: 'PowerPaste',
|
669
|
+
type: 'premium',
|
670
|
+
slug: 'introduction-to-powerpaste'
|
671
|
+
},
|
672
|
+
{
|
673
|
+
key: 'rtc',
|
674
|
+
name: 'Real-Time Collaboration',
|
675
|
+
type: 'premium',
|
676
|
+
slug: 'rtc-introduction'
|
677
|
+
},
|
678
|
+
{
|
679
|
+
key: 'tinymcespellchecker',
|
680
|
+
name: 'Spell Checker Pro',
|
681
|
+
type: 'premium',
|
682
|
+
slug: 'introduction-to-tiny-spellchecker'
|
683
|
+
},
|
684
|
+
{
|
685
|
+
key: 'autocorrect',
|
686
|
+
name: 'Spelling Autocorrect',
|
687
|
+
type: 'premium'
|
688
|
+
},
|
689
|
+
{
|
690
|
+
key: 'tableofcontents',
|
691
|
+
name: 'Table of Contents',
|
692
|
+
type: 'premium'
|
693
|
+
},
|
694
|
+
{
|
695
|
+
key: 'tinycomments',
|
696
|
+
name: 'Tiny Comments',
|
697
|
+
type: 'premium',
|
698
|
+
slug: 'introduction-to-tiny-comments'
|
699
|
+
},
|
700
|
+
{
|
701
|
+
key: 'tinydrive',
|
702
|
+
name: 'Tiny Drive',
|
703
|
+
type: 'premium',
|
704
|
+
slug: 'tinydrive-introduction'
|
705
|
+
}
|
706
|
+
], item => ({
|
707
|
+
...item,
|
708
|
+
type: item.type || 'opensource',
|
709
|
+
slug: item.slug || item.key
|
710
|
+
}));
|
711
|
+
|
712
|
+
const tab$1 = editor => {
|
713
|
+
const availablePlugins = () => {
|
714
|
+
const premiumPlugins = filter(urls, ({type}) => {
|
715
|
+
return type === 'premium';
|
716
|
+
});
|
717
|
+
const sortedPremiumPlugins = sort(map(premiumPlugins, p => p.name), (s1, s2) => s1.localeCompare(s2));
|
718
|
+
const premiumPluginList = map(sortedPremiumPlugins, pluginName => `<li>${ pluginName }</li>`).join('');
|
719
|
+
return '<div>' + '<p><b>' + global$2.translate('Premium plugins:') + '</b></p>' + '<ul>' + premiumPluginList + '<li class="tox-help__more-link" ">' + '<a href="https://www.tiny.cloud/pricing/?utm_campaign=help_dialog_plugin_tab&utm_source=tiny&utm_medium=referral&utm_term=read_more&utm_content=premium_plugin_heading" rel="noopener" target="_blank"' + ' data-alloy-tabstop="true" tabindex="-1">' + global$2.translate('Learn more...') + '</a></li>' + '</ul>' + '</div>';
|
720
|
+
};
|
721
|
+
const makeLink = p => `<a data-alloy-tabstop="true" tabindex="-1" href="${ p.url }" target="_blank" rel="noopener">${ p.name }</a>`;
|
722
|
+
const identifyUnknownPlugin = (editor, key) => {
|
723
|
+
const getMetadata = editor.plugins[key].getMetadata;
|
724
|
+
if (isFunction(getMetadata)) {
|
725
|
+
const metadata = getMetadata();
|
726
|
+
return {
|
727
|
+
name: metadata.name,
|
728
|
+
html: makeLink(metadata)
|
729
|
+
};
|
730
|
+
} else {
|
731
|
+
return {
|
732
|
+
name: key,
|
733
|
+
html: key
|
734
|
+
};
|
735
|
+
}
|
736
|
+
};
|
737
|
+
const getPluginData = (editor, key) => find(urls, x => {
|
738
|
+
return x.key === key;
|
739
|
+
}).fold(() => {
|
740
|
+
return identifyUnknownPlugin(editor, key);
|
741
|
+
}, x => {
|
742
|
+
const name = x.type === 'premium' ? `${ x.name }*` : x.name;
|
743
|
+
const html = makeLink({
|
744
|
+
name,
|
745
|
+
url: `https://www.tiny.cloud/docs/tinymce/6/${ x.slug }/`
|
746
|
+
});
|
747
|
+
return {
|
748
|
+
name,
|
749
|
+
html
|
750
|
+
};
|
751
|
+
});
|
752
|
+
const getPluginKeys = editor => {
|
753
|
+
const keys$1 = keys(editor.plugins);
|
754
|
+
const forcedPlugins = getForcedPlugins(editor);
|
755
|
+
return isUndefined(forcedPlugins) ? keys$1 : filter(keys$1, k => !contains(forcedPlugins, k));
|
756
|
+
};
|
757
|
+
const pluginLister = editor => {
|
758
|
+
const pluginKeys = getPluginKeys(editor);
|
759
|
+
const sortedPluginData = sort(map(pluginKeys, k => getPluginData(editor, k)), (pd1, pd2) => pd1.name.localeCompare(pd2.name));
|
760
|
+
const pluginLis = map(sortedPluginData, key => {
|
761
|
+
return '<li>' + key.html + '</li>';
|
762
|
+
});
|
763
|
+
const count = pluginLis.length;
|
764
|
+
const pluginsString = pluginLis.join('');
|
765
|
+
const html = '<p><b>' + global$2.translate([
|
766
|
+
'Plugins installed ({0}):',
|
767
|
+
count
|
768
|
+
]) + '</b></p>' + '<ul>' + pluginsString + '</ul>';
|
769
|
+
return html;
|
770
|
+
};
|
771
|
+
const installedPlugins = editor => {
|
772
|
+
if (editor == null) {
|
773
|
+
return '';
|
774
|
+
}
|
775
|
+
return '<div>' + pluginLister(editor) + '</div>';
|
776
|
+
};
|
777
|
+
const htmlPanel = {
|
778
|
+
type: 'htmlpanel',
|
779
|
+
presets: 'document',
|
780
|
+
html: [
|
781
|
+
installedPlugins(editor),
|
782
|
+
availablePlugins()
|
783
|
+
].join('')
|
784
|
+
};
|
785
|
+
return {
|
786
|
+
name: 'plugins',
|
787
|
+
title: 'Plugins',
|
788
|
+
items: [htmlPanel]
|
789
|
+
};
|
790
|
+
};
|
791
|
+
|
792
|
+
var global = tinymce.util.Tools.resolve('tinymce.EditorManager');
|
793
|
+
|
794
|
+
const tab = () => {
|
795
|
+
const getVersion = (major, minor) => major.indexOf('@') === 0 ? 'X.X.X' : major + '.' + minor;
|
796
|
+
const version = getVersion(global.majorVersion, global.minorVersion);
|
797
|
+
const changeLogLink = '<a data-alloy-tabstop="true" tabindex="-1" href="https://www.tiny.cloud/docs/tinymce/6/changelog/?utm_campaign=help_dialog_version_tab&utm_source=tiny&utm_medium=referral" rel="noopener" target="_blank">TinyMCE ' + version + '</a>';
|
798
|
+
const htmlPanel = {
|
799
|
+
type: 'htmlpanel',
|
800
|
+
html: '<p>' + global$2.translate([
|
801
|
+
'You are using {0}',
|
802
|
+
changeLogLink
|
803
|
+
]) + '</p>',
|
804
|
+
presets: 'document'
|
805
|
+
};
|
806
|
+
return {
|
807
|
+
name: 'versions',
|
808
|
+
title: 'Version',
|
809
|
+
items: [htmlPanel]
|
810
|
+
};
|
811
|
+
};
|
812
|
+
|
813
|
+
const parseHelpTabsSetting = (tabsFromSettings, tabs) => {
|
814
|
+
const newTabs = {};
|
815
|
+
const names = map(tabsFromSettings, t => {
|
816
|
+
var _a;
|
817
|
+
if (isString(t)) {
|
818
|
+
if (has(tabs, t)) {
|
819
|
+
newTabs[t] = tabs[t];
|
820
|
+
}
|
821
|
+
return t;
|
822
|
+
} else {
|
823
|
+
const name = (_a = t.name) !== null && _a !== void 0 ? _a : generate('tab-name');
|
824
|
+
newTabs[name] = t;
|
825
|
+
return name;
|
826
|
+
}
|
827
|
+
});
|
828
|
+
return {
|
829
|
+
tabs: newTabs,
|
830
|
+
names
|
831
|
+
};
|
832
|
+
};
|
833
|
+
const getNamesFromTabs = tabs => {
|
834
|
+
const names = keys(tabs);
|
835
|
+
const idx = names.indexOf('versions');
|
836
|
+
if (idx !== -1) {
|
837
|
+
names.splice(idx, 1);
|
838
|
+
names.push('versions');
|
839
|
+
}
|
840
|
+
return {
|
841
|
+
tabs,
|
842
|
+
names
|
843
|
+
};
|
844
|
+
};
|
845
|
+
const pParseCustomTabs = async (editor, customTabs, pluginUrl) => {
|
846
|
+
const shortcuts = tab$2();
|
847
|
+
const nav = await pTab(pluginUrl);
|
848
|
+
const plugins = tab$1(editor);
|
849
|
+
const versions = tab();
|
850
|
+
const tabs = {
|
851
|
+
[shortcuts.name]: shortcuts,
|
852
|
+
[nav.name]: nav,
|
853
|
+
[plugins.name]: plugins,
|
854
|
+
[versions.name]: versions,
|
855
|
+
...customTabs.get()
|
856
|
+
};
|
857
|
+
return Optional.from(getHelpTabs(editor)).fold(() => getNamesFromTabs(tabs), tabsFromSettings => parseHelpTabsSetting(tabsFromSettings, tabs));
|
858
|
+
};
|
859
|
+
const init = (editor, customTabs, pluginUrl) => () => {
|
860
|
+
pParseCustomTabs(editor, customTabs, pluginUrl).then(({tabs, names}) => {
|
861
|
+
const foundTabs = map(names, name => get(tabs, name));
|
862
|
+
const dialogTabs = cat(foundTabs);
|
863
|
+
const body = {
|
864
|
+
type: 'tabpanel',
|
865
|
+
tabs: dialogTabs
|
866
|
+
};
|
867
|
+
editor.windowManager.open({
|
868
|
+
title: 'Help',
|
869
|
+
size: 'medium',
|
870
|
+
body,
|
871
|
+
buttons: [{
|
872
|
+
type: 'cancel',
|
873
|
+
name: 'close',
|
874
|
+
text: 'Close',
|
875
|
+
primary: true
|
876
|
+
}],
|
877
|
+
initialData: {}
|
878
|
+
});
|
879
|
+
});
|
880
|
+
};
|
881
|
+
|
882
|
+
var Plugin = () => {
|
883
|
+
global$4.add('help', (editor, pluginUrl) => {
|
884
|
+
const customTabs = Cell({});
|
885
|
+
const api = get$1(customTabs);
|
886
|
+
register$1(editor);
|
887
|
+
const dialogOpener = init(editor, customTabs, pluginUrl);
|
888
|
+
register(editor, dialogOpener);
|
889
|
+
register$2(editor, dialogOpener);
|
890
|
+
editor.shortcuts.add('Alt+0', 'Open help dialog', 'mceHelp');
|
891
|
+
initI18nLoad(editor, pluginUrl);
|
892
|
+
return api;
|
893
|
+
});
|
894
|
+
};
|
895
|
+
|
896
|
+
Plugin();
|
897
|
+
|
898
|
+
})();
|