@hkyhy/marsun-components-core 0.1.89 → 0.1.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/dist/components/Audit/AuditLogList.d.ts +27 -0
- package/dist/components/Audit/AuditLogList.js +272 -0
- package/dist/components/Audit/AuditLogList.js.map +1 -0
- package/dist/components/Audit/formatAuditCurl.d.ts +27 -0
- package/dist/components/Audit/formatAuditCurl.js +115 -0
- package/dist/components/Audit/formatAuditCurl.js.map +1 -0
- package/dist/components/Audit/formatAuditJson.d.ts +15 -0
- package/dist/components/Audit/formatAuditJson.js +135 -0
- package/dist/components/Audit/formatAuditJson.js.map +1 -0
- package/dist/components/Audit/index.d.ts +3 -0
- package/dist/components/Audit/style.module.scss.js +30 -0
- package/dist/components/Audit/style.module.scss.js.map +1 -0
- package/dist/components/Audit/types.d.ts +39 -0
- package/dist/components/Disposition/AlertDispositionPanel/LevelLegend.d.ts +13 -0
- package/dist/components/Disposition/AlertDispositionPanel/LevelLegend.js +36 -0
- package/dist/components/Disposition/AlertDispositionPanel/LevelLegend.js.map +1 -0
- package/dist/components/Disposition/AlertDispositionPanel/index.d.ts +21 -0
- package/dist/components/Disposition/AlertDispositionPanel/index.js +80 -0
- package/dist/components/Disposition/AlertDispositionPanel/index.js.map +1 -0
- package/dist/components/Disposition/AlertDispositionPanel/levelLegend.module.scss.js +10 -0
- package/dist/components/Disposition/AlertDispositionPanel/levelLegend.module.scss.js.map +1 -0
- package/dist/components/Disposition/AlertDispositionPanel/style.module.scss.js +11 -0
- package/dist/components/Disposition/AlertDispositionPanel/types.d.ts +51 -0
- package/dist/components/Disposition/AlertDispositionPanel/types.js +26 -0
- package/dist/components/Disposition/AlertDispositionPanel/types.js.map +1 -0
- package/dist/components/Disposition/DispositionBar/index.js.map +1 -0
- package/dist/components/Disposition/DispositionBar/style.module.scss.js.map +1 -0
- package/dist/components/Disposition/index.d.ts +4 -0
- package/dist/components/Editor/RichTextEditor/RichTextEditor.d.ts +24 -0
- package/dist/components/Editor/RichTextEditor/RichTextEditor.js +93 -0
- package/dist/components/Editor/RichTextEditor/RichTextEditor.js.map +1 -0
- package/dist/components/Editor/RichTextEditor/index.d.ts +2 -0
- package/dist/components/Editor/RichTextEditor/style.module.scss.js +11 -0
- package/dist/components/Editor/RichTextEditor/style.module.scss.js.map +1 -0
- package/dist/components/Editor/VariablePicker.d.ts +19 -0
- package/dist/components/Editor/VariablePicker.js +55 -0
- package/dist/components/Editor/VariablePicker.js.map +1 -0
- package/dist/components/Editor/index.d.ts +7 -0
- package/dist/components/Editor/index.js +21 -0
- package/dist/components/Editor/index.js.map +1 -0
- package/dist/components/Editor/msgVarTokenPlugin.d.ts +13 -0
- package/dist/components/Editor/msgVarTokenPlugin.js +94 -0
- package/dist/components/Editor/msgVarTokenPlugin.js.map +1 -0
- package/dist/components/Editor/variableMention.d.ts +37 -0
- package/dist/components/Editor/variableMention.js +64 -0
- package/dist/components/Editor/variableMention.js.map +1 -0
- package/dist/components/FormInfo/RichTextField/index.d.ts +21 -0
- package/dist/components/FormInfo/RichTextField/index.js +82 -0
- package/dist/components/FormInfo/RichTextField/index.js.map +1 -0
- package/dist/components/FormInfo/RichTextField/style.module.scss.js +9 -0
- package/dist/components/FormInfo/RichTextField/style.module.scss.js.map +1 -0
- package/dist/components/FormInfo/VariableMentionInput/index.d.ts +17 -0
- package/dist/components/FormInfo/VariableMentionInput/index.js +73 -0
- package/dist/components/FormInfo/VariableMentionInput/index.js.map +1 -0
- package/dist/components/FormInfo/VariableMentionInput/style.module.scss.js +11 -0
- package/dist/components/FormInfo/VariableMentionInput/style.module.scss.js.map +1 -0
- package/dist/components/FormInfo/fields.d.ts +5 -0
- package/dist/components/FormInfo/fields.js +32 -23
- package/dist/components/FormInfo/fields.js.map +1 -1
- package/dist/components/FormInfo/index.d.ts +4 -0
- package/dist/components/StateBar/StateBar.d.ts +19 -6
- package/dist/components/StateBar/StateBar.js +87 -50
- package/dist/components/StateBar/StateBar.js.map +1 -1
- package/dist/components/StateBar/style.module.scss.js +13 -10
- package/dist/components/StateBar/style.module.scss.js.map +1 -1
- package/dist/components/Tools/Inbox/InboxBell/InboxBell.d.ts +45 -0
- package/dist/components/Tools/Inbox/InboxBell/InboxBell.js +156 -0
- package/dist/components/Tools/Inbox/InboxBell/InboxBell.js.map +1 -0
- package/dist/components/Tools/Inbox/InboxBell/index.d.ts +2 -0
- package/dist/components/Tools/Inbox/InboxBell/style.module.scss.js +30 -0
- package/dist/components/Tools/Inbox/InboxBell/style.module.scss.js.map +1 -0
- package/dist/components/Tools/Inbox/index.d.ts +2 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/List/columns.d.ts +8 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/List/columns.js +56 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/List/columns.js.map +1 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/MessageTemplateAdmin.d.ts +8 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/MessageTemplateAdmin.js +216 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/MessageTemplateAdmin.js.map +1 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/Modal/TemplateFormModal.d.ts +26 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/Modal/TemplateFormModal.js +190 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/Modal/TemplateFormModal.js.map +1 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/index.d.ts +3 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/style.module.scss.js +12 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/style.module.scss.js.map +1 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/types.d.ts +76 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/types.js +26 -0
- package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/types.js.map +1 -0
- package/dist/components/Tools/MessageCenter/index.d.ts +3 -0
- package/dist/components/Tools/MessageCenter/utils/templateCode.d.ts +8 -0
- package/dist/components/Tools/MessageCenter/utils/templateCode.js +25 -0
- package/dist/components/Tools/MessageCenter/utils/templateCode.js.map +1 -0
- package/dist/components/Tools/index.d.ts +5 -0
- package/dist/components/index.d.ts +5 -2
- package/dist/editor.d.ts +5 -0
- package/dist/editor.js +21 -0
- package/dist/editor.js.map +1 -0
- package/dist/form-info.js +33 -29
- package/dist/form-info.js.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.js +799 -759
- package/dist/index.js.map +1 -1
- package/dist/marsun-components-core.css +4 -1
- package/dist/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js +301 -0
- package/dist/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js +1256 -0
- package/dist/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-core/dist/index.js +2107 -0
- package/dist/node_modules/@ckeditor/ckeditor5-core/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js +259 -0
- package/dist/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-engine/dist/index.js +23990 -0
- package/dist/node_modules/@ckeditor/ckeditor5-engine/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-enter/dist/index.js +249 -0
- package/dist/node_modules/@ckeditor/ckeditor5-enter/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js +47 -0
- package/dist/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-font/dist/index.js +100 -0
- package/dist/node_modules/@ckeditor/ckeditor5-font/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-icons/dist/index.js +31 -0
- package/dist/node_modules/@ckeditor/ckeditor5-icons/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-integrations-common/dist/index.js +194 -0
- package/dist/node_modules/@ckeditor/ckeditor5-integrations-common/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-list/dist/index.js +2042 -0
- package/dist/node_modules/@ckeditor/ckeditor5-list/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +9 -0
- package/dist/node_modules/@ckeditor/ckeditor5-mention/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +167 -0
- package/dist/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-react/dist/index.js +471 -0
- package/dist/node_modules/@ckeditor/ckeditor5-react/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js +139 -0
- package/dist/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-typing/dist/index.js +755 -0
- package/dist/node_modules/@ckeditor/ckeditor5-typing/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +7838 -0
- package/dist/node_modules/@ckeditor/ckeditor5-ui/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert/conversions.js +422 -0
- package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert/conversions.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert/index.js +33 -0
- package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert/route.js +47 -0
- package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert/route.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-name/index.js +156 -0
- package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-name/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-undo/dist/index.js +313 -0
- package/dist/node_modules/@ckeditor/ckeditor5-undo/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-utils/dist/index.js +2942 -0
- package/dist/node_modules/@ckeditor/ckeditor5-utils/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js +892 -0
- package/dist/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js.map +1 -0
- package/dist/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +1047 -0
- package/dist/node_modules/@ckeditor/ckeditor5-widget/dist/index.js.map +1 -0
- package/dist/node_modules/color-parse/node_modules/color-name/index.js +153 -0
- package/dist/node_modules/color-parse/node_modules/color-name/index.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/_internal/globalThis.js +7 -0
- package/dist/node_modules/es-toolkit/dist/_internal/globalThis.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +7 -0
- package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeToWriteProperty.js +7 -0
- package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeToWriteProperty.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/assignValue.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/assignValue.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +16 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +15 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js +30 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js +17 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js +13 -0
- package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/assignIn.js +17 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/assignIn.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/clone.js +102 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/clone.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +33 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/get.js +39 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/get.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/has.js +21 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/has.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/keysIn.js +33 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/keysIn.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/mapValues.js +10 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/mapValues.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/merge.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/merge.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/mergeWith.js +53 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/mergeWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/property.js +10 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/property.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/set.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/set.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/updateWith.js +31 -0
- package/dist/node_modules/es-toolkit/dist/compat/object/updateWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArray.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArray.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isElement.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isElement.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.js +15 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isFunction.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isFunction.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatch.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatch.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js +81 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js +16 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isString.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isString.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matches.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matches.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +23 -0
- package/dist/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/eq.js +7 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/eq.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/iteratee.js +19 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/iteratee.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/times.js +11 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/times.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toInteger.js +9 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toInteger.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js +8 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js +37 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toString.js +15 -0
- package/dist/node_modules/es-toolkit/dist/compat/util/toString.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/function/after.js +11 -0
- package/dist/node_modules/es-toolkit/dist/function/after.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/function/debounce.js +30 -0
- package/dist/node_modules/es-toolkit/dist/function/debounce.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/function/identity.js +7 -0
- package/dist/node_modules/es-toolkit/dist/function/identity.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/function/noop.js +6 -0
- package/dist/node_modules/es-toolkit/dist/function/noop.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/object/clone.js +27 -0
- package/dist/node_modules/es-toolkit/dist/object/clone.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/object/cloneDeep.js +8 -0
- package/dist/node_modules/es-toolkit/dist/object/cloneDeep.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js +121 -0
- package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/object/mapValues.js +12 -0
- package/dist/node_modules/es-toolkit/dist/object/mapValues.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isBuffer.js +8 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isBuffer.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isEqual.js +9 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isEqual.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isEqualWith.js +110 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isEqualWith.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isLength.js +7 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isLength.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isPlainObject.js +9 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isPlainObject.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js +7 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js.map +1 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js +7 -0
- package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js.map +1 -0
- package/dist/styles/global.css +4 -1
- package/dist/utils/copyText.d.ts +4 -0
- package/dist/utils/copyText.js +21 -0
- package/dist/utils/copyText.js.map +1 -0
- package/package.json +9 -1
- package/dist/components/DispositionBar/index.js.map +0 -1
- /package/dist/components/{DispositionBar → Disposition/AlertDispositionPanel}/style.module.scss.js.map +0 -0
- /package/dist/components/{DispositionBar → Disposition/DispositionBar}/index.d.ts +0 -0
- /package/dist/components/{DispositionBar → Disposition/DispositionBar}/index.js +0 -0
- /package/dist/components/{DispositionBar → Disposition/DispositionBar}/style.module.scss.js +0 -0
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
var B = Object.defineProperty;
|
|
2
|
+
var k = (t, e, i) => e in t ? B(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
|
|
3
|
+
var b = (t, e, i) => k(t, typeof e != "symbol" ? e + "" : e, i);
|
|
4
|
+
import { Plugin as u, Command as v } from "../../ckeditor5-core/dist/index.js";
|
|
5
|
+
import { ModelDocumentSelection as A } from "../../ckeditor5-engine/dist/index.js";
|
|
6
|
+
import { IconBold as x, IconItalic as C } from "../../ckeditor5-icons/dist/index.js";
|
|
7
|
+
import { ButtonView as y, MenuBarMenuListItemButtonView as g } from "../../ckeditor5-ui/dist/index.js";
|
|
8
|
+
import "../../ckeditor5-utils/dist/index.js";
|
|
9
|
+
/**
|
|
10
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
11
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
15
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
16
|
+
*/
|
|
17
|
+
var p = class extends v {
|
|
18
|
+
/**
|
|
19
|
+
* @param attributeKey Attribute that will be set by the command.
|
|
20
|
+
*/
|
|
21
|
+
constructor(e, i) {
|
|
22
|
+
super(e);
|
|
23
|
+
/**
|
|
24
|
+
* The attribute that will be set by the command.
|
|
25
|
+
*/
|
|
26
|
+
b(this, "attributeKey");
|
|
27
|
+
this.attributeKey = i;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Updates the command's {@link #value} and {@link #isEnabled} based on the current selection.
|
|
31
|
+
*/
|
|
32
|
+
refresh() {
|
|
33
|
+
const e = this.editor.model, i = e.document;
|
|
34
|
+
this.value = this._getValueFromFirstAllowedNode(), this.isEnabled = e.schema.checkAttributeInSelection(i.selection, this.attributeKey);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Executes the command – applies the attribute to the selection or removes it from the selection.
|
|
38
|
+
*
|
|
39
|
+
* If the command is active (`value == true`), it will remove attributes. Otherwise, it will set attributes.
|
|
40
|
+
*
|
|
41
|
+
* The execution result differs, depending on the {@link module:engine/model/document~ModelDocument#selection}:
|
|
42
|
+
*
|
|
43
|
+
* * If the selection is on a range, the command applies the attribute to all nodes in that range
|
|
44
|
+
* (if they are allowed to have this attribute by the {@link module:engine/model/schema~ModelSchema schema}).
|
|
45
|
+
* * If the selection is collapsed in a non-empty node, the command applies the attribute to the
|
|
46
|
+
* {@link module:engine/model/document~ModelDocument#selection} itself (note that typed characters copy attributes from the selection).
|
|
47
|
+
* * If the selection is collapsed in an empty node, the command applies the attribute to the parent node of the selection (note
|
|
48
|
+
* that the selection inherits all attributes from a node if it is in an empty node).
|
|
49
|
+
*
|
|
50
|
+
* @fires execute
|
|
51
|
+
* @param options Command options.
|
|
52
|
+
* @param options.forceValue If set, it will force the command behavior. If `true`,
|
|
53
|
+
* the command will apply the attribute, otherwise the command will remove the attribute.
|
|
54
|
+
* If not set, the command will look for its current value to decide what it should do.
|
|
55
|
+
*/
|
|
56
|
+
execute(e = {}) {
|
|
57
|
+
const i = this.editor.model, s = i.document.selection, r = e.forceValue === void 0 ? !this.value : e.forceValue;
|
|
58
|
+
i.change((n) => {
|
|
59
|
+
if (s.isCollapsed) r ? n.setSelectionAttribute(this.attributeKey, !0) : n.removeSelectionAttribute(this.attributeKey);
|
|
60
|
+
else {
|
|
61
|
+
const d = i.schema.getValidRanges(s.getRanges(), this.attributeKey, { includeEmptyRanges: !0 });
|
|
62
|
+
for (const a of d) {
|
|
63
|
+
let o = a, m = this.attributeKey;
|
|
64
|
+
a.isCollapsed && (o = a.start.parent, m = A._getStoreAttributeKey(this.attributeKey)), r ? n.setAttribute(m, r, o) : n.removeAttribute(m, o);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Checks the attribute value of the first node in the selection that allows the attribute.
|
|
71
|
+
* For the collapsed selection returns the selection attribute.
|
|
72
|
+
*
|
|
73
|
+
* @returns The attribute value.
|
|
74
|
+
*/
|
|
75
|
+
_getValueFromFirstAllowedNode() {
|
|
76
|
+
const e = this.editor.model, i = e.schema, s = e.document.selection;
|
|
77
|
+
if (s.isCollapsed) return s.hasAttribute(this.attributeKey);
|
|
78
|
+
for (const r of s.getRanges()) for (const n of r.getItems()) if (i.checkAttribute(n, this.attributeKey)) return n.hasAttribute(this.attributeKey);
|
|
79
|
+
return !1;
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
84
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
85
|
+
*/
|
|
86
|
+
const l = "bold";
|
|
87
|
+
var K = class extends u {
|
|
88
|
+
/**
|
|
89
|
+
* @inheritDoc
|
|
90
|
+
*/
|
|
91
|
+
static get pluginName() {
|
|
92
|
+
return "BoldEditing";
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* @inheritDoc
|
|
96
|
+
*/
|
|
97
|
+
static get isOfficialPlugin() {
|
|
98
|
+
return !0;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* @inheritDoc
|
|
102
|
+
*/
|
|
103
|
+
init() {
|
|
104
|
+
const t = this.editor, e = this.editor.t;
|
|
105
|
+
t.model.schema.extend("$text", { allowAttributes: l }), t.model.schema.setAttributeProperties(l, {
|
|
106
|
+
isFormatting: !0,
|
|
107
|
+
copyOnEnter: !0
|
|
108
|
+
}), t.conversion.attributeToElement({
|
|
109
|
+
model: l,
|
|
110
|
+
view: "strong",
|
|
111
|
+
upcastAlso: ["b", (i) => {
|
|
112
|
+
const s = i.getStyle("font-weight");
|
|
113
|
+
return s && (s == "bold" || Number(s) >= 600) ? {
|
|
114
|
+
name: !0,
|
|
115
|
+
styles: ["font-weight"]
|
|
116
|
+
} : null;
|
|
117
|
+
}]
|
|
118
|
+
}), t.commands.add(l, new p(t, l)), t.keystrokes.set("CTRL+B", l), t.accessibility.addKeystrokeInfos({ keystrokes: [{
|
|
119
|
+
label: e("Bold text"),
|
|
120
|
+
keystroke: "CTRL+B"
|
|
121
|
+
}] });
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
126
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
127
|
+
*/
|
|
128
|
+
function I({ editor: t, commandName: e, plugin: i, icon: s, label: r, keystroke: n }) {
|
|
129
|
+
return (d) => {
|
|
130
|
+
const a = t.commands.get(e), o = new d(t.locale);
|
|
131
|
+
return o.set({
|
|
132
|
+
label: r,
|
|
133
|
+
icon: s,
|
|
134
|
+
keystroke: n,
|
|
135
|
+
isToggleable: !0
|
|
136
|
+
}), o.bind("isEnabled").to(a, "isEnabled"), o.bind("isOn").to(a, "value"), o instanceof g ? o.set({ role: "menuitemcheckbox" }) : o.set({ tooltip: !0 }), i.listenTo(o, "execute", () => {
|
|
137
|
+
t.execute(e), t.editing.view.focus();
|
|
138
|
+
}), o;
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
143
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
144
|
+
*/
|
|
145
|
+
const f = "bold";
|
|
146
|
+
var w = class extends u {
|
|
147
|
+
/**
|
|
148
|
+
* @inheritDoc
|
|
149
|
+
*/
|
|
150
|
+
static get pluginName() {
|
|
151
|
+
return "BoldUI";
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* @inheritDoc
|
|
155
|
+
*/
|
|
156
|
+
static get isOfficialPlugin() {
|
|
157
|
+
return !0;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* @inheritDoc
|
|
161
|
+
*/
|
|
162
|
+
init() {
|
|
163
|
+
const t = this.editor, e = t.locale.t, i = I({
|
|
164
|
+
editor: t,
|
|
165
|
+
commandName: f,
|
|
166
|
+
plugin: this,
|
|
167
|
+
icon: x,
|
|
168
|
+
label: e("Bold"),
|
|
169
|
+
keystroke: "CTRL+B"
|
|
170
|
+
});
|
|
171
|
+
t.ui.componentFactory.add(f, () => i(y)), t.ui.componentFactory.add("menuBar:bold", () => i(g));
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
/**
|
|
175
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
176
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
177
|
+
*/
|
|
178
|
+
var S = class extends u {
|
|
179
|
+
/**
|
|
180
|
+
* @inheritDoc
|
|
181
|
+
*/
|
|
182
|
+
static get requires() {
|
|
183
|
+
return [K, w];
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* @inheritDoc
|
|
187
|
+
*/
|
|
188
|
+
static get pluginName() {
|
|
189
|
+
return "Bold";
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* @inheritDoc
|
|
193
|
+
*/
|
|
194
|
+
static get isOfficialPlugin() {
|
|
195
|
+
return !0;
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
200
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
201
|
+
*/
|
|
202
|
+
const c = "italic";
|
|
203
|
+
var E = class extends u {
|
|
204
|
+
/**
|
|
205
|
+
* @inheritDoc
|
|
206
|
+
*/
|
|
207
|
+
static get pluginName() {
|
|
208
|
+
return "ItalicEditing";
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @inheritDoc
|
|
212
|
+
*/
|
|
213
|
+
static get isOfficialPlugin() {
|
|
214
|
+
return !0;
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* @inheritDoc
|
|
218
|
+
*/
|
|
219
|
+
init() {
|
|
220
|
+
const t = this.editor, e = this.editor.t;
|
|
221
|
+
t.model.schema.extend("$text", { allowAttributes: c }), t.model.schema.setAttributeProperties(c, {
|
|
222
|
+
isFormatting: !0,
|
|
223
|
+
copyOnEnter: !0
|
|
224
|
+
}), t.conversion.attributeToElement({
|
|
225
|
+
model: c,
|
|
226
|
+
view: "i",
|
|
227
|
+
upcastAlso: ["em", { styles: { "font-style": "italic" } }]
|
|
228
|
+
}), t.commands.add(c, new p(t, c)), t.keystrokes.set("CTRL+I", c), t.accessibility.addKeystrokeInfos({ keystrokes: [{
|
|
229
|
+
label: e("Italic text"),
|
|
230
|
+
keystroke: "CTRL+I"
|
|
231
|
+
}] });
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
236
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
237
|
+
*/
|
|
238
|
+
const h = "italic";
|
|
239
|
+
var O = class extends u {
|
|
240
|
+
/**
|
|
241
|
+
* @inheritDoc
|
|
242
|
+
*/
|
|
243
|
+
static get pluginName() {
|
|
244
|
+
return "ItalicUI";
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* @inheritDoc
|
|
248
|
+
*/
|
|
249
|
+
static get isOfficialPlugin() {
|
|
250
|
+
return !0;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* @inheritDoc
|
|
254
|
+
*/
|
|
255
|
+
init() {
|
|
256
|
+
const t = this.editor, e = t.locale.t, i = I({
|
|
257
|
+
editor: t,
|
|
258
|
+
commandName: h,
|
|
259
|
+
plugin: this,
|
|
260
|
+
icon: C,
|
|
261
|
+
keystroke: "CTRL+I",
|
|
262
|
+
label: e("Italic")
|
|
263
|
+
});
|
|
264
|
+
t.ui.componentFactory.add(h, () => i(y)), t.ui.componentFactory.add("menuBar:italic", () => i(g));
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
/**
|
|
268
|
+
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
269
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
270
|
+
*/
|
|
271
|
+
var V = class extends u {
|
|
272
|
+
/**
|
|
273
|
+
* @inheritDoc
|
|
274
|
+
*/
|
|
275
|
+
static get requires() {
|
|
276
|
+
return [E, O];
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* @inheritDoc
|
|
280
|
+
*/
|
|
281
|
+
static get pluginName() {
|
|
282
|
+
return "Italic";
|
|
283
|
+
}
|
|
284
|
+
/**
|
|
285
|
+
* @inheritDoc
|
|
286
|
+
*/
|
|
287
|
+
static get isOfficialPlugin() {
|
|
288
|
+
return !0;
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
export {
|
|
292
|
+
p as AttributeCommand,
|
|
293
|
+
S as Bold,
|
|
294
|
+
K as BoldEditing,
|
|
295
|
+
w as BoldUI,
|
|
296
|
+
V as Italic,
|
|
297
|
+
E as ItalicEditing,
|
|
298
|
+
O as ItalicUI,
|
|
299
|
+
I as _getBasicStylesButtonCreator
|
|
300
|
+
};
|
|
301
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js"],"sourcesContent":["/**\n * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n */\nimport { Command, Plugin } from \"@ckeditor/ckeditor5-core\";\nimport { ModelDocumentSelection } from \"@ckeditor/ckeditor5-engine\";\nimport { IconBold, IconCode, IconItalic, IconStrikethrough, IconSubscript, IconSuperscript, IconUnderline } from \"@ckeditor/ckeditor5-icons\";\nimport { ButtonView, MenuBarMenuListItemButtonView } from \"@ckeditor/ckeditor5-ui\";\nimport { TwoStepCaretMovement, inlineHighlight } from \"@ckeditor/ckeditor5-typing\";\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/attributecommand\n*/\n/**\n* An extension of the base {@link module:core/command~Command} class, which provides utilities for a command\n* that toggles a single attribute on a text or an element.\n*\n* `AttributeCommand` uses {@link module:engine/model/document~ModelDocument#selection}\n* to decide which nodes (if any) should be changed, and applies or removes the attribute from them.\n*\n* The command checks the {@link module:engine/model/model~Model#schema} to decide if it can be enabled\n* for the current selection and to which nodes the attribute can be applied.\n*/\nvar AttributeCommand = class extends Command {\n\t/**\n\t* The attribute that will be set by the command.\n\t*/\n\tattributeKey;\n\t/**\n\t* @param attributeKey Attribute that will be set by the command.\n\t*/\n\tconstructor(editor, attributeKey) {\n\t\tsuper(editor);\n\t\tthis.attributeKey = attributeKey;\n\t}\n\t/**\n\t* Updates the command's {@link #value} and {@link #isEnabled} based on the current selection.\n\t*/\n\trefresh() {\n\t\tconst model = this.editor.model;\n\t\tconst doc = model.document;\n\t\tthis.value = this._getValueFromFirstAllowedNode();\n\t\tthis.isEnabled = model.schema.checkAttributeInSelection(doc.selection, this.attributeKey);\n\t}\n\t/**\n\t* Executes the command – applies the attribute to the selection or removes it from the selection.\n\t*\n\t* If the command is active (`value == true`), it will remove attributes. Otherwise, it will set attributes.\n\t*\n\t* The execution result differs, depending on the {@link module:engine/model/document~ModelDocument#selection}:\n\t*\n\t* * If the selection is on a range, the command applies the attribute to all nodes in that range\n\t* (if they are allowed to have this attribute by the {@link module:engine/model/schema~ModelSchema schema}).\n\t* * If the selection is collapsed in a non-empty node, the command applies the attribute to the\n\t* {@link module:engine/model/document~ModelDocument#selection} itself (note that typed characters copy attributes from the selection).\n\t* * If the selection is collapsed in an empty node, the command applies the attribute to the parent node of the selection (note\n\t* that the selection inherits all attributes from a node if it is in an empty node).\n\t*\n\t* @fires execute\n\t* @param options Command options.\n\t* @param options.forceValue If set, it will force the command behavior. If `true`,\n\t* the command will apply the attribute, otherwise the command will remove the attribute.\n\t* If not set, the command will look for its current value to decide what it should do.\n\t*/\n\texecute(options = {}) {\n\t\tconst model = this.editor.model;\n\t\tconst selection = model.document.selection;\n\t\tconst value = options.forceValue === void 0 ? !this.value : options.forceValue;\n\t\tmodel.change((writer) => {\n\t\t\tif (selection.isCollapsed) if (value) writer.setSelectionAttribute(this.attributeKey, true);\n\t\t\telse writer.removeSelectionAttribute(this.attributeKey);\n\t\t\telse {\n\t\t\t\tconst ranges = model.schema.getValidRanges(selection.getRanges(), this.attributeKey, { includeEmptyRanges: true });\n\t\t\t\tfor (const range of ranges) {\n\t\t\t\t\tlet itemOrRange = range;\n\t\t\t\t\tlet attributeKey = this.attributeKey;\n\t\t\t\t\tif (range.isCollapsed) {\n\t\t\t\t\t\titemOrRange = range.start.parent;\n\t\t\t\t\t\tattributeKey = ModelDocumentSelection._getStoreAttributeKey(this.attributeKey);\n\t\t\t\t\t}\n\t\t\t\t\tif (value) writer.setAttribute(attributeKey, value, itemOrRange);\n\t\t\t\t\telse writer.removeAttribute(attributeKey, itemOrRange);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\t/**\n\t* Checks the attribute value of the first node in the selection that allows the attribute.\n\t* For the collapsed selection returns the selection attribute.\n\t*\n\t* @returns The attribute value.\n\t*/\n\t_getValueFromFirstAllowedNode() {\n\t\tconst model = this.editor.model;\n\t\tconst schema = model.schema;\n\t\tconst selection = model.document.selection;\n\t\tif (selection.isCollapsed) return selection.hasAttribute(this.attributeKey);\n\t\tfor (const range of selection.getRanges()) for (const item of range.getItems()) if (schema.checkAttribute(item, this.attributeKey)) return item.hasAttribute(this.attributeKey);\n\t\treturn false;\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/bold/boldediting\n*/\nconst BOLD$1 = \"bold\";\n/**\n* The bold editing feature.\n*\n* It registers the `'bold'` command and introduces the `bold` attribute in the model which renders to the view\n* as a `<strong>` element.\n*/\nvar BoldEditing = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"BoldEditing\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = this.editor.t;\n\t\teditor.model.schema.extend(\"$text\", { allowAttributes: BOLD$1 });\n\t\teditor.model.schema.setAttributeProperties(BOLD$1, {\n\t\t\tisFormatting: true,\n\t\t\tcopyOnEnter: true\n\t\t});\n\t\teditor.conversion.attributeToElement({\n\t\t\tmodel: BOLD$1,\n\t\t\tview: \"strong\",\n\t\t\tupcastAlso: [\"b\", (viewElement) => {\n\t\t\t\tconst fontWeight = viewElement.getStyle(\"font-weight\");\n\t\t\t\tif (!fontWeight) return null;\n\t\t\t\tif (fontWeight == \"bold\" || Number(fontWeight) >= 600) return {\n\t\t\t\t\tname: true,\n\t\t\t\t\tstyles: [\"font-weight\"]\n\t\t\t\t};\n\t\t\t\treturn null;\n\t\t\t}]\n\t\t});\n\t\teditor.commands.add(BOLD$1, new AttributeCommand(editor, BOLD$1));\n\t\teditor.keystrokes.set(\"CTRL+B\", BOLD$1);\n\t\teditor.accessibility.addKeystrokeInfos({ keystrokes: [{\n\t\t\tlabel: t(\"Bold text\"),\n\t\t\tkeystroke: \"CTRL+B\"\n\t\t}] });\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* Returns a function that creates a (toolbar or menu bar) button for a basic style feature.\n*\n* @internal\n*/\nfunction getButtonCreator({ editor, commandName, plugin, icon, label, keystroke }) {\n\treturn (ButtonClass) => {\n\t\tconst command = editor.commands.get(commandName);\n\t\tconst view = new ButtonClass(editor.locale);\n\t\tview.set({\n\t\t\tlabel,\n\t\t\ticon,\n\t\t\tkeystroke,\n\t\t\tisToggleable: true\n\t\t});\n\t\tview.bind(\"isEnabled\").to(command, \"isEnabled\");\n\t\tview.bind(\"isOn\").to(command, \"value\");\n\t\tif (view instanceof MenuBarMenuListItemButtonView) view.set({ role: \"menuitemcheckbox\" });\n\t\telse view.set({ tooltip: true });\n\t\tplugin.listenTo(view, \"execute\", () => {\n\t\t\teditor.execute(commandName);\n\t\t\teditor.editing.view.focus();\n\t\t});\n\t\treturn view;\n\t};\n}\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/bold/boldui\n*/\nconst BOLD = \"bold\";\n/**\n* The bold UI feature. It introduces the Bold button.\n*/\nvar BoldUI = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"BoldUI\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.locale.t;\n\t\tconst createButton = getButtonCreator({\n\t\t\teditor,\n\t\t\tcommandName: BOLD,\n\t\t\tplugin: this,\n\t\t\ticon: IconBold,\n\t\t\tlabel: t(\"Bold\"),\n\t\t\tkeystroke: \"CTRL+B\"\n\t\t});\n\t\teditor.ui.componentFactory.add(BOLD, () => createButton(ButtonView));\n\t\teditor.ui.componentFactory.add(\"menuBar:bold\", () => createButton(MenuBarMenuListItemButtonView));\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/bold\n*/\n/**\n* The bold feature.\n*\n* For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide\n* and the {@glink api/basic-styles package page}.\n*\n* This is a \"glue\" plugin which loads the {@link module:basic-styles/bold/boldediting~BoldEditing bold editing feature}\n* and {@link module:basic-styles/bold/boldui~BoldUI bold UI feature}.\n*/\nvar Bold = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get requires() {\n\t\treturn [BoldEditing, BoldUI];\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"Bold\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/code/codeediting\n*/\nconst CODE$1 = \"code\";\nconst HIGHLIGHT_CLASS = \"ck-code_selected\";\n/**\n* The code editing feature.\n*\n* It registers the `'code'` command and introduces the `code` attribute in the model which renders to the view\n* as a `<code>` element.\n*/\nvar CodeEditing = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"CodeEditing\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get requires() {\n\t\treturn [TwoStepCaretMovement];\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = this.editor.t;\n\t\teditor.model.schema.extend(\"$text\", { allowAttributes: CODE$1 });\n\t\teditor.model.schema.setAttributeProperties(CODE$1, {\n\t\t\tisFormatting: true,\n\t\t\tcopyOnEnter: false\n\t\t});\n\t\teditor.conversion.attributeToElement({\n\t\t\tmodel: CODE$1,\n\t\t\tview: \"code\"\n\t\t});\n\t\teditor.commands.add(CODE$1, new AttributeCommand(editor, CODE$1));\n\t\teditor.plugins.get(TwoStepCaretMovement).registerAttribute(CODE$1);\n\t\tinlineHighlight(editor, CODE$1, \"code\", HIGHLIGHT_CLASS);\n\t\teditor.accessibility.addKeystrokeInfos({ keystrokes: [{\n\t\t\tlabel: t(\"Move out of an inline code style\"),\n\t\t\tkeystroke: [[\"arrowleft\", \"arrowleft\"], [\"arrowright\", \"arrowright\"]]\n\t\t}] });\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/code/codeui\n*/\nconst CODE = \"code\";\n/**\n* The code UI feature. It introduces the Code button.\n*/\nvar CodeUI = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"CodeUI\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.locale.t;\n\t\tconst createButton = getButtonCreator({\n\t\t\teditor,\n\t\t\tcommandName: CODE,\n\t\t\tplugin: this,\n\t\t\ticon: IconCode,\n\t\t\tlabel: t(\"Code\")\n\t\t});\n\t\teditor.ui.componentFactory.add(CODE, () => createButton(ButtonView));\n\t\teditor.ui.componentFactory.add(\"menuBar:code\", () => createButton(MenuBarMenuListItemButtonView));\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/code\n*/\n/**\n* The code feature.\n*\n* For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide\n* and the {@glink api/basic-styles package page}.\n*\n* This is a \"glue\" plugin which loads the {@link module:basic-styles/code/codeediting~CodeEditing code editing feature}\n* and {@link module:basic-styles/code/codeui~CodeUI code UI feature}.\n*/\nvar Code = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get requires() {\n\t\treturn [CodeEditing, CodeUI];\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"Code\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/italic/italicediting\n*/\nconst ITALIC$1 = \"italic\";\n/**\n* The italic editing feature.\n*\n* It registers the `'italic'` command, the <kbd>Ctrl+I</kbd> keystroke and introduces the `italic` attribute in the model\n* which renders to the view as an `<i>` element.\n*/\nvar ItalicEditing = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"ItalicEditing\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = this.editor.t;\n\t\teditor.model.schema.extend(\"$text\", { allowAttributes: ITALIC$1 });\n\t\teditor.model.schema.setAttributeProperties(ITALIC$1, {\n\t\t\tisFormatting: true,\n\t\t\tcopyOnEnter: true\n\t\t});\n\t\teditor.conversion.attributeToElement({\n\t\t\tmodel: ITALIC$1,\n\t\t\tview: \"i\",\n\t\t\tupcastAlso: [\"em\", { styles: { \"font-style\": \"italic\" } }]\n\t\t});\n\t\teditor.commands.add(ITALIC$1, new AttributeCommand(editor, ITALIC$1));\n\t\teditor.keystrokes.set(\"CTRL+I\", ITALIC$1);\n\t\teditor.accessibility.addKeystrokeInfos({ keystrokes: [{\n\t\t\tlabel: t(\"Italic text\"),\n\t\t\tkeystroke: \"CTRL+I\"\n\t\t}] });\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/italic/italicui\n*/\nconst ITALIC = \"italic\";\n/**\n* The italic UI feature. It introduces the Italic button.\n*/\nvar ItalicUI = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"ItalicUI\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.locale.t;\n\t\tconst createButton = getButtonCreator({\n\t\t\teditor,\n\t\t\tcommandName: ITALIC,\n\t\t\tplugin: this,\n\t\t\ticon: IconItalic,\n\t\t\tkeystroke: \"CTRL+I\",\n\t\t\tlabel: t(\"Italic\")\n\t\t});\n\t\teditor.ui.componentFactory.add(ITALIC, () => createButton(ButtonView));\n\t\teditor.ui.componentFactory.add(\"menuBar:italic\", () => createButton(MenuBarMenuListItemButtonView));\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/italic\n*/\n/**\n* The italic feature.\n*\n* For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide\n* and the {@glink api/basic-styles package page}.\n*\n* This is a \"glue\" plugin which loads the {@link module:basic-styles/italic/italicediting~ItalicEditing} and\n* {@link module:basic-styles/italic/italicui~ItalicUI} plugins.\n*/\nvar Italic = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get requires() {\n\t\treturn [ItalicEditing, ItalicUI];\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"Italic\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/strikethrough/strikethroughediting\n*/\nconst STRIKETHROUGH$1 = \"strikethrough\";\n/**\n* The strikethrough editing feature.\n*\n* It registers the `'strikethrough'` command, the <kbd>Ctrl+Shift+X</kbd> keystroke and introduces the\n* `strikethroughsthrough` attribute in the model which renders to the view\n* as a `<s>` element.\n*/\nvar StrikethroughEditing = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"StrikethroughEditing\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = this.editor.t;\n\t\teditor.model.schema.extend(\"$text\", { allowAttributes: STRIKETHROUGH$1 });\n\t\teditor.model.schema.setAttributeProperties(STRIKETHROUGH$1, {\n\t\t\tisFormatting: true,\n\t\t\tcopyOnEnter: true\n\t\t});\n\t\teditor.conversion.attributeToElement({\n\t\t\tmodel: STRIKETHROUGH$1,\n\t\t\tview: \"s\",\n\t\t\tupcastAlso: [\n\t\t\t\t\"del\",\n\t\t\t\t\"strike\",\n\t\t\t\t{ styles: { \"text-decoration\": \"line-through\" } }\n\t\t\t]\n\t\t});\n\t\teditor.commands.add(STRIKETHROUGH$1, new AttributeCommand(editor, STRIKETHROUGH$1));\n\t\teditor.keystrokes.set(\"CTRL+SHIFT+X\", \"strikethrough\");\n\t\teditor.accessibility.addKeystrokeInfos({ keystrokes: [{\n\t\t\tlabel: t(\"Strikethrough text\"),\n\t\t\tkeystroke: \"CTRL+SHIFT+X\"\n\t\t}] });\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/strikethrough/strikethroughui\n*/\nconst STRIKETHROUGH = \"strikethrough\";\n/**\n* The strikethrough UI feature. It introduces the Strikethrough button.\n*/\nvar StrikethroughUI = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"StrikethroughUI\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.locale.t;\n\t\tconst createButton = getButtonCreator({\n\t\t\teditor,\n\t\t\tcommandName: STRIKETHROUGH,\n\t\t\tplugin: this,\n\t\t\ticon: IconStrikethrough,\n\t\t\tkeystroke: \"CTRL+SHIFT+X\",\n\t\t\tlabel: t(\"Strikethrough\")\n\t\t});\n\t\teditor.ui.componentFactory.add(STRIKETHROUGH, () => createButton(ButtonView));\n\t\teditor.ui.componentFactory.add(\"menuBar:strikethrough\", () => createButton(MenuBarMenuListItemButtonView));\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/strikethrough\n*/\n/**\n* The strikethrough feature.\n*\n* For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide\n* and the {@glink api/basic-styles package page}.\n*\n* This is a \"glue\" plugin which loads the {@link module:basic-styles/strikethrough/strikethroughediting~StrikethroughEditing} and\n* {@link module:basic-styles/strikethrough/strikethroughui~StrikethroughUI} plugins.\n*/\nvar Strikethrough = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get requires() {\n\t\treturn [StrikethroughEditing, StrikethroughUI];\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"Strikethrough\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/subscript/subscriptediting\n*/\nconst SUBSCRIPT$1 = \"subscript\";\n/**\n* The subscript editing feature.\n*\n* It registers the `sub` command and introduces the `sub` attribute in the model which renders to the view\n* as a `<sub>` element.\n*/\nvar SubscriptEditing = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"SubscriptEditing\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\teditor.model.schema.extend(\"$text\", { allowAttributes: SUBSCRIPT$1 });\n\t\teditor.model.schema.setAttributeProperties(SUBSCRIPT$1, {\n\t\t\tisFormatting: true,\n\t\t\tcopyOnEnter: true\n\t\t});\n\t\teditor.conversion.attributeToElement({\n\t\t\tmodel: SUBSCRIPT$1,\n\t\t\tview: \"sub\",\n\t\t\tupcastAlso: [{ styles: { \"vertical-align\": \"sub\" } }]\n\t\t});\n\t\teditor.commands.add(SUBSCRIPT$1, new AttributeCommand(editor, SUBSCRIPT$1));\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/subscript/subscriptui\n*/\nconst SUBSCRIPT = \"subscript\";\n/**\n* The subscript UI feature. It introduces the Subscript button.\n*/\nvar SubscriptUI = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"SubscriptUI\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.locale.t;\n\t\tconst createButton = getButtonCreator({\n\t\t\teditor,\n\t\t\tcommandName: SUBSCRIPT,\n\t\t\tplugin: this,\n\t\t\ticon: IconSubscript,\n\t\t\tlabel: t(\"Subscript\")\n\t\t});\n\t\teditor.ui.componentFactory.add(SUBSCRIPT, () => createButton(ButtonView));\n\t\teditor.ui.componentFactory.add(\"menuBar:subscript\", () => createButton(MenuBarMenuListItemButtonView));\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/subscript\n*/\n/**\n* The subscript feature.\n*\n* It loads the {@link module:basic-styles/subscript/subscriptediting~SubscriptEditing} and\n* {@link module:basic-styles/subscript/subscriptui~SubscriptUI} plugins.\n*/\nvar Subscript = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get requires() {\n\t\treturn [SubscriptEditing, SubscriptUI];\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"Subscript\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/superscript/superscriptediting\n*/\nconst SUPERSCRIPT$1 = \"superscript\";\n/**\n* The superscript editing feature.\n*\n* It registers the `super` command and introduces the `super` attribute in the model which renders to the view\n* as a `<super>` element.\n*/\nvar SuperscriptEditing = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"SuperscriptEditing\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\teditor.model.schema.extend(\"$text\", { allowAttributes: SUPERSCRIPT$1 });\n\t\teditor.model.schema.setAttributeProperties(SUPERSCRIPT$1, {\n\t\t\tisFormatting: true,\n\t\t\tcopyOnEnter: true\n\t\t});\n\t\teditor.conversion.attributeToElement({\n\t\t\tmodel: SUPERSCRIPT$1,\n\t\t\tview: \"sup\",\n\t\t\tupcastAlso: [{ styles: { \"vertical-align\": \"super\" } }]\n\t\t});\n\t\teditor.commands.add(SUPERSCRIPT$1, new AttributeCommand(editor, SUPERSCRIPT$1));\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/superscript/superscriptui\n*/\nconst SUPERSCRIPT = \"superscript\";\n/**\n* The superscript UI feature. It introduces the Superscript button.\n*/\nvar SuperscriptUI = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"SuperscriptUI\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.locale.t;\n\t\tconst createButton = getButtonCreator({\n\t\t\teditor,\n\t\t\tcommandName: SUPERSCRIPT,\n\t\t\tplugin: this,\n\t\t\ticon: IconSuperscript,\n\t\t\tlabel: t(\"Superscript\")\n\t\t});\n\t\teditor.ui.componentFactory.add(SUPERSCRIPT, () => createButton(ButtonView));\n\t\teditor.ui.componentFactory.add(\"menuBar:superscript\", () => createButton(MenuBarMenuListItemButtonView));\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/superscript\n*/\n/**\n* The superscript feature.\n*\n* It loads the {@link module:basic-styles/superscript/superscriptediting~SuperscriptEditing} and\n* {@link module:basic-styles/superscript/superscriptui~SuperscriptUI} plugins.\n*/\nvar Superscript = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get requires() {\n\t\treturn [SuperscriptEditing, SuperscriptUI];\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"Superscript\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/underline/underlineediting\n*/\nconst UNDERLINE$1 = \"underline\";\n/**\n* The underline editing feature.\n*\n* It registers the `'underline'` command, the <kbd>Ctrl+U</kbd> keystroke\n* and introduces the `underline` attribute in the model which renders to the view as an `<u>` element.\n*/\nvar UnderlineEditing = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"UnderlineEditing\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = this.editor.t;\n\t\teditor.model.schema.extend(\"$text\", { allowAttributes: UNDERLINE$1 });\n\t\teditor.model.schema.setAttributeProperties(UNDERLINE$1, {\n\t\t\tisFormatting: true,\n\t\t\tcopyOnEnter: true\n\t\t});\n\t\teditor.conversion.attributeToElement({\n\t\t\tmodel: UNDERLINE$1,\n\t\t\tview: \"u\",\n\t\t\tupcastAlso: { styles: { \"text-decoration\": \"underline\" } }\n\t\t});\n\t\teditor.commands.add(UNDERLINE$1, new AttributeCommand(editor, UNDERLINE$1));\n\t\teditor.keystrokes.set(\"CTRL+U\", \"underline\");\n\t\teditor.accessibility.addKeystrokeInfos({ keystrokes: [{\n\t\t\tlabel: t(\"Underline text\"),\n\t\t\tkeystroke: \"CTRL+U\"\n\t\t}] });\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/underline/underlineui\n*/\nconst UNDERLINE = \"underline\";\n/**\n* The underline UI feature. It introduces the Underline button.\n*/\nvar UnderlineUI = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"UnderlineUI\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tinit() {\n\t\tconst editor = this.editor;\n\t\tconst t = editor.locale.t;\n\t\tconst createButton = getButtonCreator({\n\t\t\teditor,\n\t\t\tcommandName: UNDERLINE,\n\t\t\tplugin: this,\n\t\t\ticon: IconUnderline,\n\t\t\tlabel: t(\"Underline\"),\n\t\t\tkeystroke: \"CTRL+U\"\n\t\t});\n\t\teditor.ui.componentFactory.add(UNDERLINE, () => createButton(ButtonView));\n\t\teditor.ui.componentFactory.add(\"menuBar:underline\", () => createButton(MenuBarMenuListItemButtonView));\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n/**\n* @module basic-styles/underline\n*/\n/**\n* The underline feature.\n*\n* For a detailed overview check the {@glink features/basic-styles Basic styles feature} guide\n* and the {@glink api/basic-styles package page}.\n*\n* This is a \"glue\" plugin which loads the {@link module:basic-styles/underline/underlineediting~UnderlineEditing} and\n* {@link module:basic-styles/underline/underlineui~UnderlineUI} plugins.\n*/\nvar Underline = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get requires() {\n\t\treturn [UnderlineEditing, UnderlineUI];\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"Underline\";\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get isOfficialPlugin() {\n\t\treturn true;\n\t}\n};\n\n/**\n* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.\n* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options\n*/\n\nexport { AttributeCommand, Bold, BoldEditing, BoldUI, Code, CodeEditing, CodeUI, Italic, ItalicEditing, ItalicUI, Strikethrough, StrikethroughEditing, StrikethroughUI, Subscript, SubscriptEditing, SubscriptUI, Superscript, SuperscriptEditing, SuperscriptUI, Underline, UnderlineEditing, UnderlineUI, getButtonCreator as _getBasicStylesButtonCreator };\n//# sourceMappingURL=index.js.map"],"names":["AttributeCommand","Command","editor","attributeKey","__publicField","model","doc","options","selection","value","writer","ranges","range","itemOrRange","ModelDocumentSelection","schema","item","BOLD$1","BoldEditing","Plugin","t","viewElement","fontWeight","getButtonCreator","commandName","plugin","icon","label","keystroke","ButtonClass","command","view","MenuBarMenuListIt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