@hkyhy/marsun-components-core 0.1.89 → 0.1.98

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.
Files changed (278) hide show
  1. package/dist/components/Audit/AuditLogList.d.ts +27 -0
  2. package/dist/components/Audit/AuditLogList.js +272 -0
  3. package/dist/components/Audit/AuditLogList.js.map +1 -0
  4. package/dist/components/Audit/formatAuditCurl.d.ts +27 -0
  5. package/dist/components/Audit/formatAuditCurl.js +115 -0
  6. package/dist/components/Audit/formatAuditCurl.js.map +1 -0
  7. package/dist/components/Audit/formatAuditJson.d.ts +15 -0
  8. package/dist/components/Audit/formatAuditJson.js +135 -0
  9. package/dist/components/Audit/formatAuditJson.js.map +1 -0
  10. package/dist/components/Audit/index.d.ts +3 -0
  11. package/dist/components/Audit/style.module.scss.js +30 -0
  12. package/dist/components/Audit/style.module.scss.js.map +1 -0
  13. package/dist/components/Audit/types.d.ts +39 -0
  14. package/dist/components/Editor/RichTextEditor/RichTextEditor.d.ts +24 -0
  15. package/dist/components/Editor/RichTextEditor/RichTextEditor.js +93 -0
  16. package/dist/components/Editor/RichTextEditor/RichTextEditor.js.map +1 -0
  17. package/dist/components/Editor/RichTextEditor/index.d.ts +2 -0
  18. package/dist/components/Editor/RichTextEditor/style.module.scss.js +11 -0
  19. package/dist/components/Editor/RichTextEditor/style.module.scss.js.map +1 -0
  20. package/dist/components/Editor/VariablePicker.d.ts +19 -0
  21. package/dist/components/Editor/VariablePicker.js +55 -0
  22. package/dist/components/Editor/VariablePicker.js.map +1 -0
  23. package/dist/components/Editor/index.d.ts +7 -0
  24. package/dist/components/Editor/index.js +21 -0
  25. package/dist/components/Editor/index.js.map +1 -0
  26. package/dist/components/Editor/msgVarTokenPlugin.d.ts +13 -0
  27. package/dist/components/Editor/msgVarTokenPlugin.js +94 -0
  28. package/dist/components/Editor/msgVarTokenPlugin.js.map +1 -0
  29. package/dist/components/Editor/variableMention.d.ts +37 -0
  30. package/dist/components/Editor/variableMention.js +64 -0
  31. package/dist/components/Editor/variableMention.js.map +1 -0
  32. package/dist/components/FormInfo/RichTextField/index.d.ts +21 -0
  33. package/dist/components/FormInfo/RichTextField/index.js +82 -0
  34. package/dist/components/FormInfo/RichTextField/index.js.map +1 -0
  35. package/dist/components/FormInfo/RichTextField/style.module.scss.js +9 -0
  36. package/dist/components/FormInfo/RichTextField/style.module.scss.js.map +1 -0
  37. package/dist/components/FormInfo/VariableMentionInput/index.d.ts +17 -0
  38. package/dist/components/FormInfo/VariableMentionInput/index.js +73 -0
  39. package/dist/components/FormInfo/VariableMentionInput/index.js.map +1 -0
  40. package/dist/components/FormInfo/VariableMentionInput/style.module.scss.js +11 -0
  41. package/dist/components/FormInfo/VariableMentionInput/style.module.scss.js.map +1 -0
  42. package/dist/components/FormInfo/fields.d.ts +5 -0
  43. package/dist/components/FormInfo/fields.js +32 -23
  44. package/dist/components/FormInfo/fields.js.map +1 -1
  45. package/dist/components/FormInfo/index.d.ts +4 -0
  46. package/dist/components/StateBar/StateBar.d.ts +19 -6
  47. package/dist/components/StateBar/StateBar.js +87 -50
  48. package/dist/components/StateBar/StateBar.js.map +1 -1
  49. package/dist/components/StateBar/style.module.scss.js +13 -10
  50. package/dist/components/StateBar/style.module.scss.js.map +1 -1
  51. package/dist/components/Tools/Inbox/InboxBell/InboxBell.d.ts +45 -0
  52. package/dist/components/Tools/Inbox/InboxBell/InboxBell.js +156 -0
  53. package/dist/components/Tools/Inbox/InboxBell/InboxBell.js.map +1 -0
  54. package/dist/components/Tools/Inbox/InboxBell/index.d.ts +2 -0
  55. package/dist/components/Tools/Inbox/InboxBell/style.module.scss.js +30 -0
  56. package/dist/components/Tools/Inbox/InboxBell/style.module.scss.js.map +1 -0
  57. package/dist/components/Tools/Inbox/index.d.ts +2 -0
  58. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/List/columns.d.ts +8 -0
  59. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/List/columns.js +56 -0
  60. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/List/columns.js.map +1 -0
  61. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/MessageTemplateAdmin.d.ts +8 -0
  62. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/MessageTemplateAdmin.js +216 -0
  63. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/MessageTemplateAdmin.js.map +1 -0
  64. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/Modal/TemplateFormModal.d.ts +26 -0
  65. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/Modal/TemplateFormModal.js +190 -0
  66. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/Modal/TemplateFormModal.js.map +1 -0
  67. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/index.d.ts +3 -0
  68. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/style.module.scss.js +12 -0
  69. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/style.module.scss.js.map +1 -0
  70. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/types.d.ts +76 -0
  71. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/types.js +26 -0
  72. package/dist/components/Tools/MessageCenter/MessageTemplateAdmin/types.js.map +1 -0
  73. package/dist/components/Tools/MessageCenter/index.d.ts +3 -0
  74. package/dist/components/Tools/MessageCenter/utils/templateCode.d.ts +8 -0
  75. package/dist/components/Tools/MessageCenter/utils/templateCode.js +25 -0
  76. package/dist/components/Tools/MessageCenter/utils/templateCode.js.map +1 -0
  77. package/dist/components/Tools/index.d.ts +5 -0
  78. package/dist/components/index.d.ts +3 -0
  79. package/dist/editor.d.ts +5 -0
  80. package/dist/editor.js +21 -0
  81. package/dist/editor.js.map +1 -0
  82. package/dist/form-info.js +33 -29
  83. package/dist/form-info.js.map +1 -1
  84. package/dist/index.d.ts +5 -0
  85. package/dist/index.js +805 -773
  86. package/dist/index.js.map +1 -1
  87. package/dist/marsun-components-core.css +4 -1
  88. package/dist/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js +301 -0
  89. package/dist/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js.map +1 -0
  90. package/dist/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js +1256 -0
  91. package/dist/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js.map +1 -0
  92. package/dist/node_modules/@ckeditor/ckeditor5-core/dist/index.js +2107 -0
  93. package/dist/node_modules/@ckeditor/ckeditor5-core/dist/index.js.map +1 -0
  94. package/dist/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js +259 -0
  95. package/dist/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js.map +1 -0
  96. package/dist/node_modules/@ckeditor/ckeditor5-engine/dist/index.js +23990 -0
  97. package/dist/node_modules/@ckeditor/ckeditor5-engine/dist/index.js.map +1 -0
  98. package/dist/node_modules/@ckeditor/ckeditor5-enter/dist/index.js +249 -0
  99. package/dist/node_modules/@ckeditor/ckeditor5-enter/dist/index.js.map +1 -0
  100. package/dist/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js +47 -0
  101. package/dist/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js.map +1 -0
  102. package/dist/node_modules/@ckeditor/ckeditor5-font/dist/index.js +100 -0
  103. package/dist/node_modules/@ckeditor/ckeditor5-font/dist/index.js.map +1 -0
  104. package/dist/node_modules/@ckeditor/ckeditor5-icons/dist/index.js +31 -0
  105. package/dist/node_modules/@ckeditor/ckeditor5-icons/dist/index.js.map +1 -0
  106. package/dist/node_modules/@ckeditor/ckeditor5-integrations-common/dist/index.js +194 -0
  107. package/dist/node_modules/@ckeditor/ckeditor5-integrations-common/dist/index.js.map +1 -0
  108. package/dist/node_modules/@ckeditor/ckeditor5-list/dist/index.js +2042 -0
  109. package/dist/node_modules/@ckeditor/ckeditor5-list/dist/index.js.map +1 -0
  110. package/dist/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +9 -0
  111. package/dist/node_modules/@ckeditor/ckeditor5-mention/dist/index.js.map +1 -0
  112. package/dist/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +167 -0
  113. package/dist/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js.map +1 -0
  114. package/dist/node_modules/@ckeditor/ckeditor5-react/dist/index.js +471 -0
  115. package/dist/node_modules/@ckeditor/ckeditor5-react/dist/index.js.map +1 -0
  116. package/dist/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js +139 -0
  117. package/dist/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js.map +1 -0
  118. package/dist/node_modules/@ckeditor/ckeditor5-typing/dist/index.js +755 -0
  119. package/dist/node_modules/@ckeditor/ckeditor5-typing/dist/index.js.map +1 -0
  120. package/dist/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +7838 -0
  121. package/dist/node_modules/@ckeditor/ckeditor5-ui/dist/index.js.map +1 -0
  122. package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert/conversions.js +422 -0
  123. package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert/conversions.js.map +1 -0
  124. package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert/index.js +33 -0
  125. package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert/index.js.map +1 -0
  126. package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert/route.js +47 -0
  127. package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-convert/route.js.map +1 -0
  128. package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-name/index.js +156 -0
  129. package/dist/node_modules/@ckeditor/ckeditor5-ui/node_modules/color-name/index.js.map +1 -0
  130. package/dist/node_modules/@ckeditor/ckeditor5-undo/dist/index.js +313 -0
  131. package/dist/node_modules/@ckeditor/ckeditor5-undo/dist/index.js.map +1 -0
  132. package/dist/node_modules/@ckeditor/ckeditor5-utils/dist/index.js +2942 -0
  133. package/dist/node_modules/@ckeditor/ckeditor5-utils/dist/index.js.map +1 -0
  134. package/dist/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js +892 -0
  135. package/dist/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js.map +1 -0
  136. package/dist/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +1047 -0
  137. package/dist/node_modules/@ckeditor/ckeditor5-widget/dist/index.js.map +1 -0
  138. package/dist/node_modules/color-parse/node_modules/color-name/index.js +153 -0
  139. package/dist/node_modules/color-parse/node_modules/color-name/index.js.map +1 -0
  140. package/dist/node_modules/es-toolkit/dist/_internal/globalThis.js +7 -0
  141. package/dist/node_modules/es-toolkit/dist/_internal/globalThis.js.map +1 -0
  142. package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +7 -0
  143. package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js.map +1 -0
  144. package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeToWriteProperty.js +7 -0
  145. package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeToWriteProperty.js.map +1 -0
  146. package/dist/node_modules/es-toolkit/dist/compat/_internal/assignValue.js +9 -0
  147. package/dist/node_modules/es-toolkit/dist/compat/_internal/assignValue.js.map +1 -0
  148. package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +7 -0
  149. package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js.map +1 -0
  150. package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js +7 -0
  151. package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js.map +1 -0
  152. package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +16 -0
  153. package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js.map +1 -0
  154. package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +15 -0
  155. package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js.map +1 -0
  156. package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js +9 -0
  157. package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js.map +1 -0
  158. package/dist/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js +8 -0
  159. package/dist/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js.map +1 -0
  160. package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js +30 -0
  161. package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js.map +1 -0
  162. package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js +8 -0
  163. package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js.map +1 -0
  164. package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js +17 -0
  165. package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js.map +1 -0
  166. package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js +13 -0
  167. package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js.map +1 -0
  168. package/dist/node_modules/es-toolkit/dist/compat/object/assignIn.js +17 -0
  169. package/dist/node_modules/es-toolkit/dist/compat/object/assignIn.js.map +1 -0
  170. package/dist/node_modules/es-toolkit/dist/compat/object/clone.js +102 -0
  171. package/dist/node_modules/es-toolkit/dist/compat/object/clone.js.map +1 -0
  172. package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +8 -0
  173. package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js.map +1 -0
  174. package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +33 -0
  175. package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js.map +1 -0
  176. package/dist/node_modules/es-toolkit/dist/compat/object/get.js +39 -0
  177. package/dist/node_modules/es-toolkit/dist/compat/object/get.js.map +1 -0
  178. package/dist/node_modules/es-toolkit/dist/compat/object/has.js +21 -0
  179. package/dist/node_modules/es-toolkit/dist/compat/object/has.js.map +1 -0
  180. package/dist/node_modules/es-toolkit/dist/compat/object/keysIn.js +33 -0
  181. package/dist/node_modules/es-toolkit/dist/compat/object/keysIn.js.map +1 -0
  182. package/dist/node_modules/es-toolkit/dist/compat/object/mapValues.js +10 -0
  183. package/dist/node_modules/es-toolkit/dist/compat/object/mapValues.js.map +1 -0
  184. package/dist/node_modules/es-toolkit/dist/compat/object/merge.js +9 -0
  185. package/dist/node_modules/es-toolkit/dist/compat/object/merge.js.map +1 -0
  186. package/dist/node_modules/es-toolkit/dist/compat/object/mergeWith.js +53 -0
  187. package/dist/node_modules/es-toolkit/dist/compat/object/mergeWith.js.map +1 -0
  188. package/dist/node_modules/es-toolkit/dist/compat/object/property.js +10 -0
  189. package/dist/node_modules/es-toolkit/dist/compat/object/property.js.map +1 -0
  190. package/dist/node_modules/es-toolkit/dist/compat/object/set.js +9 -0
  191. package/dist/node_modules/es-toolkit/dist/compat/object/set.js.map +1 -0
  192. package/dist/node_modules/es-toolkit/dist/compat/object/updateWith.js +31 -0
  193. package/dist/node_modules/es-toolkit/dist/compat/object/updateWith.js.map +1 -0
  194. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +8 -0
  195. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js.map +1 -0
  196. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArray.js +7 -0
  197. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArray.js.map +1 -0
  198. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +8 -0
  199. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js.map +1 -0
  200. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js +9 -0
  201. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js.map +1 -0
  202. package/dist/node_modules/es-toolkit/dist/compat/predicate/isElement.js +9 -0
  203. package/dist/node_modules/es-toolkit/dist/compat/predicate/isElement.js.map +1 -0
  204. package/dist/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.js +15 -0
  205. package/dist/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.js.map +1 -0
  206. package/dist/node_modules/es-toolkit/dist/compat/predicate/isFunction.js +7 -0
  207. package/dist/node_modules/es-toolkit/dist/compat/predicate/isFunction.js.map +1 -0
  208. package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatch.js +9 -0
  209. package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatch.js.map +1 -0
  210. package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js +81 -0
  211. package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js.map +1 -0
  212. package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js +7 -0
  213. package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js.map +1 -0
  214. package/dist/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +7 -0
  215. package/dist/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js.map +1 -0
  216. package/dist/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js +16 -0
  217. package/dist/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js.map +1 -0
  218. package/dist/node_modules/es-toolkit/dist/compat/predicate/isString.js +7 -0
  219. package/dist/node_modules/es-toolkit/dist/compat/predicate/isString.js.map +1 -0
  220. package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +7 -0
  221. package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js.map +1 -0
  222. package/dist/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js +8 -0
  223. package/dist/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js.map +1 -0
  224. package/dist/node_modules/es-toolkit/dist/compat/predicate/matches.js +9 -0
  225. package/dist/node_modules/es-toolkit/dist/compat/predicate/matches.js.map +1 -0
  226. package/dist/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +23 -0
  227. package/dist/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js.map +1 -0
  228. package/dist/node_modules/es-toolkit/dist/compat/util/eq.js +7 -0
  229. package/dist/node_modules/es-toolkit/dist/compat/util/eq.js.map +1 -0
  230. package/dist/node_modules/es-toolkit/dist/compat/util/iteratee.js +19 -0
  231. package/dist/node_modules/es-toolkit/dist/compat/util/iteratee.js.map +1 -0
  232. package/dist/node_modules/es-toolkit/dist/compat/util/times.js +11 -0
  233. package/dist/node_modules/es-toolkit/dist/compat/util/times.js.map +1 -0
  234. package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js +8 -0
  235. package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js.map +1 -0
  236. package/dist/node_modules/es-toolkit/dist/compat/util/toInteger.js +9 -0
  237. package/dist/node_modules/es-toolkit/dist/compat/util/toInteger.js.map +1 -0
  238. package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js +8 -0
  239. package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js.map +1 -0
  240. package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js +37 -0
  241. package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js.map +1 -0
  242. package/dist/node_modules/es-toolkit/dist/compat/util/toString.js +15 -0
  243. package/dist/node_modules/es-toolkit/dist/compat/util/toString.js.map +1 -0
  244. package/dist/node_modules/es-toolkit/dist/function/after.js +11 -0
  245. package/dist/node_modules/es-toolkit/dist/function/after.js.map +1 -0
  246. package/dist/node_modules/es-toolkit/dist/function/debounce.js +30 -0
  247. package/dist/node_modules/es-toolkit/dist/function/debounce.js.map +1 -0
  248. package/dist/node_modules/es-toolkit/dist/function/identity.js +7 -0
  249. package/dist/node_modules/es-toolkit/dist/function/identity.js.map +1 -0
  250. package/dist/node_modules/es-toolkit/dist/function/noop.js +6 -0
  251. package/dist/node_modules/es-toolkit/dist/function/noop.js.map +1 -0
  252. package/dist/node_modules/es-toolkit/dist/object/clone.js +27 -0
  253. package/dist/node_modules/es-toolkit/dist/object/clone.js.map +1 -0
  254. package/dist/node_modules/es-toolkit/dist/object/cloneDeep.js +8 -0
  255. package/dist/node_modules/es-toolkit/dist/object/cloneDeep.js.map +1 -0
  256. package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js +121 -0
  257. package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js.map +1 -0
  258. package/dist/node_modules/es-toolkit/dist/object/mapValues.js +12 -0
  259. package/dist/node_modules/es-toolkit/dist/object/mapValues.js.map +1 -0
  260. package/dist/node_modules/es-toolkit/dist/predicate/isBuffer.js +8 -0
  261. package/dist/node_modules/es-toolkit/dist/predicate/isBuffer.js.map +1 -0
  262. package/dist/node_modules/es-toolkit/dist/predicate/isEqual.js +9 -0
  263. package/dist/node_modules/es-toolkit/dist/predicate/isEqual.js.map +1 -0
  264. package/dist/node_modules/es-toolkit/dist/predicate/isEqualWith.js +110 -0
  265. package/dist/node_modules/es-toolkit/dist/predicate/isEqualWith.js.map +1 -0
  266. package/dist/node_modules/es-toolkit/dist/predicate/isLength.js +7 -0
  267. package/dist/node_modules/es-toolkit/dist/predicate/isLength.js.map +1 -0
  268. package/dist/node_modules/es-toolkit/dist/predicate/isPlainObject.js +9 -0
  269. package/dist/node_modules/es-toolkit/dist/predicate/isPlainObject.js.map +1 -0
  270. package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js +7 -0
  271. package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js.map +1 -0
  272. package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js +7 -0
  273. package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js.map +1 -0
  274. package/dist/styles/global.css +4 -1
  275. package/dist/utils/copyText.d.ts +4 -0
  276. package/dist/utils/copyText.js +21 -0
  277. package/dist/utils/copyText.js.map +1 -0
  278. package/package.json +9 -2
@@ -0,0 +1,156 @@
1
+ const e = {
2
+ aliceblue: [240, 248, 255],
3
+ antiquewhite: [250, 235, 215],
4
+ aqua: [0, 255, 255],
5
+ aquamarine: [127, 255, 212],
6
+ azure: [240, 255, 255],
7
+ beige: [245, 245, 220],
8
+ bisque: [255, 228, 196],
9
+ black: [0, 0, 0],
10
+ blanchedalmond: [255, 235, 205],
11
+ blue: [0, 0, 255],
12
+ blueviolet: [138, 43, 226],
13
+ brown: [165, 42, 42],
14
+ burlywood: [222, 184, 135],
15
+ cadetblue: [95, 158, 160],
16
+ chartreuse: [127, 255, 0],
17
+ chocolate: [210, 105, 30],
18
+ coral: [255, 127, 80],
19
+ cornflowerblue: [100, 149, 237],
20
+ cornsilk: [255, 248, 220],
21
+ crimson: [220, 20, 60],
22
+ cyan: [0, 255, 255],
23
+ darkblue: [0, 0, 139],
24
+ darkcyan: [0, 139, 139],
25
+ darkgoldenrod: [184, 134, 11],
26
+ darkgray: [169, 169, 169],
27
+ darkgreen: [0, 100, 0],
28
+ darkgrey: [169, 169, 169],
29
+ darkkhaki: [189, 183, 107],
30
+ darkmagenta: [139, 0, 139],
31
+ darkolivegreen: [85, 107, 47],
32
+ darkorange: [255, 140, 0],
33
+ darkorchid: [153, 50, 204],
34
+ darkred: [139, 0, 0],
35
+ darksalmon: [233, 150, 122],
36
+ darkseagreen: [143, 188, 143],
37
+ darkslateblue: [72, 61, 139],
38
+ darkslategray: [47, 79, 79],
39
+ darkslategrey: [47, 79, 79],
40
+ darkturquoise: [0, 206, 209],
41
+ darkviolet: [148, 0, 211],
42
+ deeppink: [255, 20, 147],
43
+ deepskyblue: [0, 191, 255],
44
+ dimgray: [105, 105, 105],
45
+ dimgrey: [105, 105, 105],
46
+ dodgerblue: [30, 144, 255],
47
+ firebrick: [178, 34, 34],
48
+ floralwhite: [255, 250, 240],
49
+ forestgreen: [34, 139, 34],
50
+ fuchsia: [255, 0, 255],
51
+ gainsboro: [220, 220, 220],
52
+ ghostwhite: [248, 248, 255],
53
+ gold: [255, 215, 0],
54
+ goldenrod: [218, 165, 32],
55
+ gray: [128, 128, 128],
56
+ green: [0, 128, 0],
57
+ greenyellow: [173, 255, 47],
58
+ grey: [128, 128, 128],
59
+ honeydew: [240, 255, 240],
60
+ hotpink: [255, 105, 180],
61
+ indianred: [205, 92, 92],
62
+ indigo: [75, 0, 130],
63
+ ivory: [255, 255, 240],
64
+ khaki: [240, 230, 140],
65
+ lavender: [230, 230, 250],
66
+ lavenderblush: [255, 240, 245],
67
+ lawngreen: [124, 252, 0],
68
+ lemonchiffon: [255, 250, 205],
69
+ lightblue: [173, 216, 230],
70
+ lightcoral: [240, 128, 128],
71
+ lightcyan: [224, 255, 255],
72
+ lightgoldenrodyellow: [250, 250, 210],
73
+ lightgray: [211, 211, 211],
74
+ lightgreen: [144, 238, 144],
75
+ lightgrey: [211, 211, 211],
76
+ lightpink: [255, 182, 193],
77
+ lightsalmon: [255, 160, 122],
78
+ lightseagreen: [32, 178, 170],
79
+ lightskyblue: [135, 206, 250],
80
+ lightslategray: [119, 136, 153],
81
+ lightslategrey: [119, 136, 153],
82
+ lightsteelblue: [176, 196, 222],
83
+ lightyellow: [255, 255, 224],
84
+ lime: [0, 255, 0],
85
+ limegreen: [50, 205, 50],
86
+ linen: [250, 240, 230],
87
+ magenta: [255, 0, 255],
88
+ maroon: [128, 0, 0],
89
+ mediumaquamarine: [102, 205, 170],
90
+ mediumblue: [0, 0, 205],
91
+ mediumorchid: [186, 85, 211],
92
+ mediumpurple: [147, 112, 219],
93
+ mediumseagreen: [60, 179, 113],
94
+ mediumslateblue: [123, 104, 238],
95
+ mediumspringgreen: [0, 250, 154],
96
+ mediumturquoise: [72, 209, 204],
97
+ mediumvioletred: [199, 21, 133],
98
+ midnightblue: [25, 25, 112],
99
+ mintcream: [245, 255, 250],
100
+ mistyrose: [255, 228, 225],
101
+ moccasin: [255, 228, 181],
102
+ navajowhite: [255, 222, 173],
103
+ navy: [0, 0, 128],
104
+ oldlace: [253, 245, 230],
105
+ olive: [128, 128, 0],
106
+ olivedrab: [107, 142, 35],
107
+ orange: [255, 165, 0],
108
+ orangered: [255, 69, 0],
109
+ orchid: [218, 112, 214],
110
+ palegoldenrod: [238, 232, 170],
111
+ palegreen: [152, 251, 152],
112
+ paleturquoise: [175, 238, 238],
113
+ palevioletred: [219, 112, 147],
114
+ papayawhip: [255, 239, 213],
115
+ peachpuff: [255, 218, 185],
116
+ peru: [205, 133, 63],
117
+ pink: [255, 192, 203],
118
+ plum: [221, 160, 221],
119
+ powderblue: [176, 224, 230],
120
+ purple: [128, 0, 128],
121
+ rebeccapurple: [102, 51, 153],
122
+ red: [255, 0, 0],
123
+ rosybrown: [188, 143, 143],
124
+ royalblue: [65, 105, 225],
125
+ saddlebrown: [139, 69, 19],
126
+ salmon: [250, 128, 114],
127
+ sandybrown: [244, 164, 96],
128
+ seagreen: [46, 139, 87],
129
+ seashell: [255, 245, 238],
130
+ sienna: [160, 82, 45],
131
+ silver: [192, 192, 192],
132
+ skyblue: [135, 206, 235],
133
+ slateblue: [106, 90, 205],
134
+ slategray: [112, 128, 144],
135
+ slategrey: [112, 128, 144],
136
+ snow: [255, 250, 250],
137
+ springgreen: [0, 255, 127],
138
+ steelblue: [70, 130, 180],
139
+ tan: [210, 180, 140],
140
+ teal: [0, 128, 128],
141
+ thistle: [216, 191, 216],
142
+ tomato: [255, 99, 71],
143
+ turquoise: [64, 224, 208],
144
+ violet: [238, 130, 238],
145
+ wheat: [245, 222, 179],
146
+ white: [255, 255, 255],
147
+ whitesmoke: [245, 245, 245],
148
+ yellow: [255, 255, 0],
149
+ yellowgreen: [154, 205, 50]
150
+ };
151
+ for (const r in e) Object.freeze(e[r]);
152
+ const l = Object.freeze(e);
153
+ export {
154
+ l as default
155
+ };
156
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/@ckeditor/ckeditor5-ui/node_modules/color-name/index.js"],"sourcesContent":["const colors = {\n\taliceblue: [240, 248, 255],\n\tantiquewhite: [250, 235, 215],\n\taqua: [0, 255, 255],\n\taquamarine: [127, 255, 212],\n\tazure: [240, 255, 255],\n\tbeige: [245, 245, 220],\n\tbisque: [255, 228, 196],\n\tblack: [0, 0, 0],\n\tblanchedalmond: [255, 235, 205],\n\tblue: [0, 0, 255],\n\tblueviolet: [138, 43, 226],\n\tbrown: [165, 42, 42],\n\tburlywood: [222, 184, 135],\n\tcadetblue: [95, 158, 160],\n\tchartreuse: [127, 255, 0],\n\tchocolate: [210, 105, 30],\n\tcoral: [255, 127, 80],\n\tcornflowerblue: [100, 149, 237],\n\tcornsilk: [255, 248, 220],\n\tcrimson: [220, 20, 60],\n\tcyan: [0, 255, 255],\n\tdarkblue: [0, 0, 139],\n\tdarkcyan: [0, 139, 139],\n\tdarkgoldenrod: [184, 134, 11],\n\tdarkgray: [169, 169, 169],\n\tdarkgreen: [0, 100, 0],\n\tdarkgrey: [169, 169, 169],\n\tdarkkhaki: [189, 183, 107],\n\tdarkmagenta: [139, 0, 139],\n\tdarkolivegreen: [85, 107, 47],\n\tdarkorange: [255, 140, 0],\n\tdarkorchid: [153, 50, 204],\n\tdarkred: [139, 0, 0],\n\tdarksalmon: [233, 150, 122],\n\tdarkseagreen: [143, 188, 143],\n\tdarkslateblue: [72, 61, 139],\n\tdarkslategray: [47, 79, 79],\n\tdarkslategrey: [47, 79, 79],\n\tdarkturquoise: [0, 206, 209],\n\tdarkviolet: [148, 0, 211],\n\tdeeppink: [255, 20, 147],\n\tdeepskyblue: [0, 191, 255],\n\tdimgray: [105, 105, 105],\n\tdimgrey: [105, 105, 105],\n\tdodgerblue: [30, 144, 255],\n\tfirebrick: [178, 34, 34],\n\tfloralwhite: [255, 250, 240],\n\tforestgreen: [34, 139, 34],\n\tfuchsia: [255, 0, 255],\n\tgainsboro: [220, 220, 220],\n\tghostwhite: [248, 248, 255],\n\tgold: [255, 215, 0],\n\tgoldenrod: [218, 165, 32],\n\tgray: [128, 128, 128],\n\tgreen: [0, 128, 0],\n\tgreenyellow: [173, 255, 47],\n\tgrey: [128, 128, 128],\n\thoneydew: [240, 255, 240],\n\thotpink: [255, 105, 180],\n\tindianred: [205, 92, 92],\n\tindigo: [75, 0, 130],\n\tivory: [255, 255, 240],\n\tkhaki: [240, 230, 140],\n\tlavender: [230, 230, 250],\n\tlavenderblush: [255, 240, 245],\n\tlawngreen: [124, 252, 0],\n\tlemonchiffon: [255, 250, 205],\n\tlightblue: [173, 216, 230],\n\tlightcoral: [240, 128, 128],\n\tlightcyan: [224, 255, 255],\n\tlightgoldenrodyellow: [250, 250, 210],\n\tlightgray: [211, 211, 211],\n\tlightgreen: [144, 238, 144],\n\tlightgrey: [211, 211, 211],\n\tlightpink: [255, 182, 193],\n\tlightsalmon: [255, 160, 122],\n\tlightseagreen: [32, 178, 170],\n\tlightskyblue: [135, 206, 250],\n\tlightslategray: [119, 136, 153],\n\tlightslategrey: [119, 136, 153],\n\tlightsteelblue: [176, 196, 222],\n\tlightyellow: [255, 255, 224],\n\tlime: [0, 255, 0],\n\tlimegreen: [50, 205, 50],\n\tlinen: [250, 240, 230],\n\tmagenta: [255, 0, 255],\n\tmaroon: [128, 0, 0],\n\tmediumaquamarine: [102, 205, 170],\n\tmediumblue: [0, 0, 205],\n\tmediumorchid: [186, 85, 211],\n\tmediumpurple: [147, 112, 219],\n\tmediumseagreen: [60, 179, 113],\n\tmediumslateblue: [123, 104, 238],\n\tmediumspringgreen: [0, 250, 154],\n\tmediumturquoise: [72, 209, 204],\n\tmediumvioletred: [199, 21, 133],\n\tmidnightblue: [25, 25, 112],\n\tmintcream: [245, 255, 250],\n\tmistyrose: [255, 228, 225],\n\tmoccasin: [255, 228, 181],\n\tnavajowhite: [255, 222, 173],\n\tnavy: [0, 0, 128],\n\toldlace: [253, 245, 230],\n\tolive: [128, 128, 0],\n\tolivedrab: [107, 142, 35],\n\torange: [255, 165, 0],\n\torangered: [255, 69, 0],\n\torchid: [218, 112, 214],\n\tpalegoldenrod: [238, 232, 170],\n\tpalegreen: [152, 251, 152],\n\tpaleturquoise: [175, 238, 238],\n\tpalevioletred: [219, 112, 147],\n\tpapayawhip: [255, 239, 213],\n\tpeachpuff: [255, 218, 185],\n\tperu: [205, 133, 63],\n\tpink: [255, 192, 203],\n\tplum: [221, 160, 221],\n\tpowderblue: [176, 224, 230],\n\tpurple: [128, 0, 128],\n\trebeccapurple: [102, 51, 153],\n\tred: [255, 0, 0],\n\trosybrown: [188, 143, 143],\n\troyalblue: [65, 105, 225],\n\tsaddlebrown: [139, 69, 19],\n\tsalmon: [250, 128, 114],\n\tsandybrown: [244, 164, 96],\n\tseagreen: [46, 139, 87],\n\tseashell: [255, 245, 238],\n\tsienna: [160, 82, 45],\n\tsilver: [192, 192, 192],\n\tskyblue: [135, 206, 235],\n\tslateblue: [106, 90, 205],\n\tslategray: [112, 128, 144],\n\tslategrey: [112, 128, 144],\n\tsnow: [255, 250, 250],\n\tspringgreen: [0, 255, 127],\n\tsteelblue: [70, 130, 180],\n\ttan: [210, 180, 140],\n\tteal: [0, 128, 128],\n\tthistle: [216, 191, 216],\n\ttomato: [255, 99, 71],\n\tturquoise: [64, 224, 208],\n\tviolet: [238, 130, 238],\n\twheat: [245, 222, 179],\n\twhite: [255, 255, 255],\n\twhitesmoke: [245, 245, 245],\n\tyellow: [255, 255, 0],\n\tyellowgreen: [154, 205, 50],\n}\n\nfor (const key in colors) Object.freeze(colors[key]);\nexport default Object.freeze(colors);"],"names":["colors","key","cssKeywords"],"mappings":"AAAA,MAAMA,IAAS;AAAA,EACd,WAAW,CAAC,KAAK,KAAK,GAAG;AAAA,EACzB,cAAc,CAAC,KAAK,KAAK,GAAG;AAAA,EAC5B,MAAM,CAAC,GAAG,KAAK,GAAG;AAAA,EAClB,YAAY,CAAC,KAAK,KAAK,GAAG;AAAA,EAC1B,OAAO,CAAC,KAAK,KAAK,GAAG;AAAA,EACrB,OAAO,CAAC,KAAK,KAAK,GAAG;AAAA,EACrB,QAAQ,CAAC,KAAK,KAAK,GAAG;AAAA,EACtB,OAAO,CAAC,GAAG,GAAG,CAAC;AAAA,EACf,gBAAgB,CAAC,KAAK,KAAK,GAAG;AAAA,EAC9B,MAAM,CAAC,GAAG,GAAG,GAAG;AAAA,EAChB,YAAY,CAAC,KAAK,IAAI,GAAG;AAAA,EACzB,OAAO,CAAC,KAAK,IAAI,EAAE;AAAA,EACnB,WAAW,CAAC,KAAK,KAAK,GAA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AA,EACxB,QAAQ,CAAC,KAAK,IAAI,EAAE;AAAA,EACpB,QAAQ,CAAC,KAAK,KAAK,GAAG;AAAA,EACtB,SAAS,CAAC,KAAK,KAAK,GAAG;AAAA,EACvB,WAAW,CAAC,KAAK,IAAI,GAAG;AAAA,EACxB,WAAW,CAAC,KAAK,KAAK,GAAG;AAAA,EACzB,WAAW,CAAC,KAAK,KAAK,GAAG;AAAA,EACzB,MAAM,CAAC,KAAK,KAAK,GAAG;AAAA,EACpB,aAAa,CAAC,GAAG,KAAK,GAAG;AAAA,EACzB,WAAW,CAAC,IAAI,KAAK,GAAG;AAAA,EACxB,KAAK,CAAC,KAAK,KAAK,GAAG;AAAA,EACnB,MAAM,CAAC,GAAG,KAAK,GAAG;AAAA,EAClB,SAAS,CAAC,KAAK,KAAK,GAAG;AAAA,EACvB,QAAQ,CAAC,KAAK,IAAI,EAAE;AAAA,EACpB,WAAW,CAAC,IAAI,KAAK,GAAG;AAAA,EACxB,QAAQ,CAAC,KAAK,KAAK,GAAG;AAAA,EACtB,OAAO,CAAC,KAAK,KAAK,GAAG;AAAA,EACrB,OAAO,CAAC,KAAK,KAAK,GAAG;AAAA,EACrB,YAAY,CAAC,KAAK,KAAK,GAAG;AAAA,EAC1B,QAAQ,CAAC,KAAK,KAAK,CAAC;AAAA,EACpB,aAAa,CAAC,KAAK,KAAK,EAAE;AAC3B;AAEA,WAAWC,KAAOD,EAAQ,QAAO,OAAOA,EAAOC,CAAG,CAAC;AACnD,MAAAC,IAAe,OAAO,OAAOF,CAAM;","x_google_ignoreList":[0]}
@@ -0,0 +1,313 @@
1
+ var _ = Object.defineProperty;
2
+ var B = (o, t, e) => t in o ? _(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
3
+ var u = (o, t, e) => B(o, typeof t != "symbol" ? t + "" : t, e);
4
+ import { Plugin as m, Command as b } from "../../ckeditor5-core/dist/index.js";
5
+ import { transformOperationSets as y, NoOperation as k } from "../../ckeditor5-engine/dist/index.js";
6
+ import { ButtonView as R, MenuBarMenuListItemButtonView as C } from "../../ckeditor5-ui/dist/index.js";
7
+ import { IconUndo as f, IconRedo as p } from "../../ckeditor5-icons/dist/index.js";
8
+ /**
9
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
10
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
11
+ */
12
+ /**
13
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
14
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
15
+ */
16
+ var g = class extends b {
17
+ /**
18
+ * @inheritDoc
19
+ */
20
+ constructor(t) {
21
+ super(t);
22
+ /**
23
+ * Stack of items stored by the command. These are pairs of:
24
+ *
25
+ * * {@link module:engine/model/batch~Batch batch} saved by the command,
26
+ * * {@link module:engine/model/selection~ModelSelection selection} state at the moment of saving the batch.
27
+ */
28
+ u(this, "_stack", []);
29
+ /**
30
+ * Stores all batches that were created by this command.
31
+ *
32
+ * @internal
33
+ */
34
+ u(this, "_createdBatches", /* @__PURE__ */ new WeakSet());
35
+ this.refresh(), this._isEnabledBasedOnSelection = !1, this.listenTo(t.data, "set", (e, s) => {
36
+ s[1] = { ...s[1] };
37
+ const n = s[1];
38
+ n.batchType || (n.batchType = { isUndoable: !1 });
39
+ }, { priority: "high" }), this.listenTo(t.data, "set", (e, s) => {
40
+ s[1].batchType.isUndoable || this.clearStack();
41
+ });
42
+ }
43
+ /**
44
+ * @inheritDoc
45
+ */
46
+ refresh() {
47
+ this.isEnabled = this._stack.length > 0;
48
+ }
49
+ /**
50
+ * Returns all batches created by this command.
51
+ */
52
+ get createdBatches() {
53
+ return this._createdBatches;
54
+ }
55
+ /**
56
+ * Stores a batch in the command, together with the selection state of the {@link module:engine/model/document~ModelDocument document}
57
+ * created by the editor which this command is registered to.
58
+ *
59
+ * @param batch The batch to add.
60
+ */
61
+ addBatch(t) {
62
+ const e = this.editor.model.document.selection, s = {
63
+ ranges: e.hasOwnRange ? Array.from(e.getRanges()) : [],
64
+ isBackward: e.isBackward
65
+ };
66
+ this._stack.push({
67
+ batch: t,
68
+ selection: s
69
+ }), this.refresh();
70
+ }
71
+ /**
72
+ * Removes all items from the stack.
73
+ */
74
+ clearStack() {
75
+ this._stack = [], this.refresh();
76
+ }
77
+ /**
78
+ * Restores the {@link module:engine/model/document~ModelDocument#selection document selection} state after a batch was undone.
79
+ *
80
+ * @param ranges Ranges to be restored.
81
+ * @param isBackward A flag describing whether the restored range was selected forward or backward.
82
+ * @param operations Operations which has been applied since selection has been stored.
83
+ */
84
+ _restoreSelection(t, e, s) {
85
+ const n = this.editor.model, a = n.document, i = [], d = t.map((h) => h.getTransformedByOperations(s)), r = d.flat();
86
+ for (const h of d) {
87
+ const c = h.filter((l) => l.root != a.graveyard).filter((l) => !U(l, r));
88
+ c.length && (T(c), i.push(c[0]));
89
+ }
90
+ i.length && n.change((h) => {
91
+ h.setSelection(i, { backward: e });
92
+ });
93
+ }
94
+ /**
95
+ * Undoes a batch by reversing that batch, transforming reversed batch and finally applying it.
96
+ * This is a helper method for {@link #execute}.
97
+ *
98
+ * @param batchToUndo The batch to be undone.
99
+ * @param undoingBatch The batch that will contain undoing changes.
100
+ */
101
+ _undo(t, e) {
102
+ const s = this.editor.model, n = s.document;
103
+ this._createdBatches.add(e);
104
+ const a = t.operations.slice().filter((i) => i.isDocumentOperation);
105
+ a.reverse();
106
+ for (const i of a) {
107
+ const d = i.baseVersion + 1, r = Array.from(n.history.getOperations(d)), h = y([i.getReversed()], r, {
108
+ useRelations: !0,
109
+ document: this.editor.model.document,
110
+ forceWeakRemove: !0
111
+ }).operationsA;
112
+ for (let c of h) {
113
+ const l = c.affectedSelectable;
114
+ l && !s.canEditAt(l) && (c = new k(c.baseVersion)), e.addOperation(c), s.applyOperation(c), n.history.setOperationAsUndone(i, c);
115
+ }
116
+ }
117
+ }
118
+ };
119
+ function T(o) {
120
+ o.sort((t, e) => t.start.isBefore(e.start) ? -1 : 1);
121
+ for (let t = 1; t < o.length; t++) {
122
+ const e = o[t - 1].getJoined(o[t], !0);
123
+ e && (t--, o.splice(t, 2, e));
124
+ }
125
+ }
126
+ function U(o, t) {
127
+ return t.some((e) => e !== o && e.containsRange(o, !0));
128
+ }
129
+ /**
130
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
131
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
132
+ */
133
+ var v = class extends g {
134
+ /**
135
+ * Executes the command. This method reverts a {@link module:engine/model/batch~Batch batch} added to the command's stack, transforms
136
+ * and applies the reverted version on the {@link module:engine/model/document~ModelDocument document} and removes the batch from
137
+ * the stack. Then, it restores the {@link module:engine/model/document~ModelDocument#selection document selection}.
138
+ *
139
+ * @fires execute
140
+ * @fires revert
141
+ * @param batch A batch that should be undone. If not set, the last added batch will be undone.
142
+ */
143
+ execute(o = null) {
144
+ const t = o ? this._stack.findIndex((n) => n.batch == o) : this._stack.length - 1, e = this._stack.splice(t, 1)[0], s = this.editor.model.createBatch({ isUndo: !0 });
145
+ this.editor.model.enqueueChange(s, () => {
146
+ this._undo(e.batch, s);
147
+ const n = this.editor.model.document.history.getOperations(e.batch.baseVersion);
148
+ this._restoreSelection(e.selection.ranges, e.selection.isBackward, n);
149
+ }), this.fire("revert", e.batch, s), this.refresh();
150
+ }
151
+ };
152
+ /**
153
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
154
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
155
+ */
156
+ var O = class extends g {
157
+ /**
158
+ * Executes the command. This method reverts the last {@link module:engine/model/batch~Batch batch} added to
159
+ * the command's stack, applies the reverted and transformed version on the
160
+ * {@link module:engine/model/document~ModelDocument document} and removes the batch from the stack.
161
+ * Then, it restores the {@link module:engine/model/document~ModelDocument#selection document selection}.
162
+ *
163
+ * @fires execute
164
+ */
165
+ execute() {
166
+ const o = this._stack.pop(), t = this.editor.model.createBatch({ isUndo: !0 });
167
+ this.editor.model.enqueueChange(t, () => {
168
+ const e = o.batch.operations[o.batch.operations.length - 1].baseVersion + 1, s = this.editor.model.document.history.getOperations(e);
169
+ this._restoreSelection(o.selection.ranges, o.selection.isBackward, s), this._undo(o.batch, t);
170
+ }), this.fire("revert", o.batch, t), this.refresh();
171
+ }
172
+ };
173
+ /**
174
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
175
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
176
+ */
177
+ var w = class extends m {
178
+ constructor() {
179
+ super(...arguments);
180
+ /**
181
+ * The command that manages the undo {@link module:engine/model/batch~Batch batches} stack (history).
182
+ * Created and registered during the {@link #init feature initialization}.
183
+ */
184
+ u(this, "_undoCommand");
185
+ /**
186
+ * The command that manages the redo {@link module:engine/model/batch~Batch batches} stack (history).
187
+ * Created and registered during the {@link #init feature initialization}.
188
+ */
189
+ u(this, "_redoCommand");
190
+ /**
191
+ * Keeps track of which batches were registered in undo.
192
+ */
193
+ u(this, "_batchRegistry", /* @__PURE__ */ new WeakSet());
194
+ }
195
+ /**
196
+ * @inheritDoc
197
+ */
198
+ static get pluginName() {
199
+ return "UndoEditing";
200
+ }
201
+ /**
202
+ * @inheritDoc
203
+ */
204
+ static get isOfficialPlugin() {
205
+ return !0;
206
+ }
207
+ /**
208
+ * @inheritDoc
209
+ */
210
+ init() {
211
+ const t = this.editor, e = t.t;
212
+ this._undoCommand = new v(t), this._redoCommand = new O(t), t.commands.add("undo", this._undoCommand), t.commands.add("redo", this._redoCommand), this.listenTo(t.model, "applyOperation", (s, n) => {
213
+ const a = n[0];
214
+ if (!a.isDocumentOperation) return;
215
+ const i = a.batch, d = this._redoCommand.createdBatches.has(i), r = this._undoCommand.createdBatches.has(i);
216
+ this._batchRegistry.has(i) || (this._batchRegistry.add(i), i.isUndoable && (d ? this._undoCommand.addBatch(i) : r || (this._undoCommand.addBatch(i), this._redoCommand.clearStack())));
217
+ }, { priority: "highest" }), this.listenTo(this._undoCommand, "revert", (s, n, a) => {
218
+ this._redoCommand.addBatch(a);
219
+ }), t.keystrokes.set("CTRL+Z", "undo"), t.keystrokes.set("CTRL+Y", "redo"), t.keystrokes.set("CTRL+SHIFT+Z", "redo"), t.accessibility.addKeystrokeInfos({ keystrokes: [{
220
+ label: e("Undo"),
221
+ keystroke: "CTRL+Z"
222
+ }, {
223
+ label: e("Redo"),
224
+ keystroke: [["CTRL+Y"], ["CTRL+SHIFT+Z"]]
225
+ }] });
226
+ }
227
+ };
228
+ /**
229
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
230
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
231
+ */
232
+ var S = class extends m {
233
+ /**
234
+ * @inheritDoc
235
+ */
236
+ static get pluginName() {
237
+ return "UndoUI";
238
+ }
239
+ /**
240
+ * @inheritDoc
241
+ */
242
+ static get isOfficialPlugin() {
243
+ return !0;
244
+ }
245
+ /**
246
+ * @inheritDoc
247
+ */
248
+ init() {
249
+ const o = this.editor, t = o.locale, e = o.t, s = t.uiLanguageDirection == "ltr" ? f : p, n = t.uiLanguageDirection == "ltr" ? p : f;
250
+ this._addButtonsToFactory("undo", e("Undo"), "CTRL+Z", s), this._addButtonsToFactory("redo", e("Redo"), "CTRL+Y", n);
251
+ }
252
+ /**
253
+ * Creates a button for the specified command.
254
+ *
255
+ * @param name Command name.
256
+ * @param label Button label.
257
+ * @param keystroke Command keystroke.
258
+ * @param Icon Source of the icon.
259
+ */
260
+ _addButtonsToFactory(o, t, e, s) {
261
+ const n = this.editor;
262
+ n.ui.componentFactory.add(o, () => {
263
+ const a = this._createButton(R, o, t, e, s);
264
+ return a.set({ tooltip: !0 }), a;
265
+ }), n.ui.componentFactory.add("menuBar:" + o, () => this._createButton(C, o, t, e, s));
266
+ }
267
+ /**
268
+ * TODO
269
+ */
270
+ _createButton(o, t, e, s, n) {
271
+ const a = this.editor, i = a.locale, d = a.commands.get(t), r = new o(i);
272
+ return r.set({
273
+ label: e,
274
+ icon: n,
275
+ keystroke: s
276
+ }), r.bind("isEnabled").to(d, "isEnabled"), this.listenTo(r, "execute", () => {
277
+ a.execute(t), a.editing.view.focus();
278
+ }), r;
279
+ }
280
+ };
281
+ /**
282
+ * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
283
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
284
+ */
285
+ var F = class extends m {
286
+ /**
287
+ * @inheritDoc
288
+ */
289
+ static get requires() {
290
+ return [w, S];
291
+ }
292
+ /**
293
+ * @inheritDoc
294
+ */
295
+ static get pluginName() {
296
+ return "Undo";
297
+ }
298
+ /**
299
+ * @inheritDoc
300
+ */
301
+ static get isOfficialPlugin() {
302
+ return !0;
303
+ }
304
+ };
305
+ export {
306
+ O as RedoCommand,
307
+ F as Undo,
308
+ v as UndoCommand,
309
+ w as UndoEditing,
310
+ g as UndoRedoBaseCommand,
311
+ S as UndoUI
312
+ };
313
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/@ckeditor/ckeditor5-undo/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 { NoOperation, transformOperationSets } from \"@ckeditor/ckeditor5-engine\";\nimport { ButtonView, MenuBarMenuListItemButtonView } from \"@ckeditor/ckeditor5-ui\";\nimport { IconRedo, IconUndo } from \"@ckeditor/ckeditor5-icons\";\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 undo/basecommand\n*/\n/**\n* Base class for the undo feature commands: {@link module:undo/undocommand~UndoCommand} and {@link module:undo/redocommand~RedoCommand}.\n*/\nvar UndoRedoBaseCommand = class extends Command {\n\t/**\n\t* Stack of items stored by the command. These are pairs of:\n\t*\n\t* * {@link module:engine/model/batch~Batch batch} saved by the command,\n\t* * {@link module:engine/model/selection~ModelSelection selection} state at the moment of saving the batch.\n\t*/\n\t_stack = [];\n\t/**\n\t* Stores all batches that were created by this command.\n\t*\n\t* @internal\n\t*/\n\t_createdBatches = /* @__PURE__ */ new WeakSet();\n\t/**\n\t* @inheritDoc\n\t*/\n\tconstructor(editor) {\n\t\tsuper(editor);\n\t\tthis.refresh();\n\t\tthis._isEnabledBasedOnSelection = false;\n\t\tthis.listenTo(editor.data, \"set\", (evt, data) => {\n\t\t\tdata[1] = { ...data[1] };\n\t\t\tconst options = data[1];\n\t\t\tif (!options.batchType) options.batchType = { isUndoable: false };\n\t\t}, { priority: \"high\" });\n\t\tthis.listenTo(editor.data, \"set\", (evt, data) => {\n\t\t\tif (!data[1].batchType.isUndoable) this.clearStack();\n\t\t});\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\trefresh() {\n\t\tthis.isEnabled = this._stack.length > 0;\n\t}\n\t/**\n\t* Returns all batches created by this command.\n\t*/\n\tget createdBatches() {\n\t\treturn this._createdBatches;\n\t}\n\t/**\n\t* Stores a batch in the command, together with the selection state of the {@link module:engine/model/document~ModelDocument document}\n\t* created by the editor which this command is registered to.\n\t*\n\t* @param batch The batch to add.\n\t*/\n\taddBatch(batch) {\n\t\tconst docSelection = this.editor.model.document.selection;\n\t\tconst selection = {\n\t\t\tranges: docSelection.hasOwnRange ? Array.from(docSelection.getRanges()) : [],\n\t\t\tisBackward: docSelection.isBackward\n\t\t};\n\t\tthis._stack.push({\n\t\t\tbatch,\n\t\t\tselection\n\t\t});\n\t\tthis.refresh();\n\t}\n\t/**\n\t* Removes all items from the stack.\n\t*/\n\tclearStack() {\n\t\tthis._stack = [];\n\t\tthis.refresh();\n\t}\n\t/**\n\t* Restores the {@link module:engine/model/document~ModelDocument#selection document selection} state after a batch was undone.\n\t*\n\t* @param ranges Ranges to be restored.\n\t* @param isBackward A flag describing whether the restored range was selected forward or backward.\n\t* @param operations Operations which has been applied since selection has been stored.\n\t*/\n\t_restoreSelection(ranges, isBackward, operations) {\n\t\tconst model = this.editor.model;\n\t\tconst document = model.document;\n\t\tconst selectionRanges = [];\n\t\tconst transformedRangeGroups = ranges.map((range) => range.getTransformedByOperations(operations));\n\t\tconst allRanges = transformedRangeGroups.flat();\n\t\tfor (const rangeGroup of transformedRangeGroups) {\n\t\t\tconst transformed = rangeGroup.filter((range) => range.root != document.graveyard).filter((range) => !isRangeContainedByAnyOtherRange(range, allRanges));\n\t\t\tif (!transformed.length) continue;\n\t\t\tnormalizeRanges(transformed);\n\t\t\tselectionRanges.push(transformed[0]);\n\t\t}\n\t\tif (selectionRanges.length) model.change((writer) => {\n\t\t\twriter.setSelection(selectionRanges, { backward: isBackward });\n\t\t});\n\t}\n\t/**\n\t* Undoes a batch by reversing that batch, transforming reversed batch and finally applying it.\n\t* This is a helper method for {@link #execute}.\n\t*\n\t* @param batchToUndo The batch to be undone.\n\t* @param undoingBatch The batch that will contain undoing changes.\n\t*/\n\t_undo(batchToUndo, undoingBatch) {\n\t\tconst model = this.editor.model;\n\t\tconst document = model.document;\n\t\tthis._createdBatches.add(undoingBatch);\n\t\tconst operationsToUndo = batchToUndo.operations.slice().filter((operation) => operation.isDocumentOperation);\n\t\toperationsToUndo.reverse();\n\t\tfor (const operationToUndo of operationsToUndo) {\n\t\t\tconst nextBaseVersion = operationToUndo.baseVersion + 1;\n\t\t\tconst historyOperations = Array.from(document.history.getOperations(nextBaseVersion));\n\t\t\tconst reversedOperations = transformOperationSets([operationToUndo.getReversed()], historyOperations, {\n\t\t\t\tuseRelations: true,\n\t\t\t\tdocument: this.editor.model.document,\n\t\t\t\tpadWithNoOps: false,\n\t\t\t\tforceWeakRemove: true\n\t\t\t}).operationsA;\n\t\t\tfor (let operation of reversedOperations) {\n\t\t\t\tconst affectedSelectable = operation.affectedSelectable;\n\t\t\t\tif (affectedSelectable && !model.canEditAt(affectedSelectable)) operation = new NoOperation(operation.baseVersion);\n\t\t\t\tundoingBatch.addOperation(operation);\n\t\t\t\tmodel.applyOperation(operation);\n\t\t\t\tdocument.history.setOperationAsUndone(operationToUndo, operation);\n\t\t\t}\n\t\t}\n\t}\n};\n/**\n* Normalizes list of ranges by joining intersecting or \"touching\" ranges.\n*\n* @param ranges Ranges to be normalized.\n*/\nfunction normalizeRanges(ranges) {\n\tranges.sort((a, b) => a.start.isBefore(b.start) ? -1 : 1);\n\tfor (let i = 1; i < ranges.length; i++) {\n\t\tconst joinedRange = ranges[i - 1].getJoined(ranges[i], true);\n\t\tif (joinedRange) {\n\t\t\ti--;\n\t\t\tranges.splice(i, 2, joinedRange);\n\t\t}\n\t}\n}\nfunction isRangeContainedByAnyOtherRange(range, ranges) {\n\treturn ranges.some((otherRange) => otherRange !== range && otherRange.containsRange(range, true));\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 undo/undocommand\n*/\n/**\n* The undo command stores {@link module:engine/model/batch~Batch batches} applied to the\n* {@link module:engine/model/document~ModelDocument document} and is able to undo a batch by reversing it and transforming by\n* batches from {@link module:engine/model/document~ModelDocument#history history} that happened after the reversed batch.\n*\n* The undo command also takes care of restoring the {@link module:engine/model/document~ModelDocument#selection document selection}.\n*/\nvar UndoCommand = class extends UndoRedoBaseCommand {\n\t/**\n\t* Executes the command. This method reverts a {@link module:engine/model/batch~Batch batch} added to the command's stack, transforms\n\t* and applies the reverted version on the {@link module:engine/model/document~ModelDocument document} and removes the batch from\n\t* the stack. Then, it restores the {@link module:engine/model/document~ModelDocument#selection document selection}.\n\t*\n\t* @fires execute\n\t* @fires revert\n\t* @param batch A batch that should be undone. If not set, the last added batch will be undone.\n\t*/\n\texecute(batch = null) {\n\t\tconst batchIndex = batch ? this._stack.findIndex((a) => a.batch == batch) : this._stack.length - 1;\n\t\tconst item = this._stack.splice(batchIndex, 1)[0];\n\t\tconst undoingBatch = this.editor.model.createBatch({ isUndo: true });\n\t\tthis.editor.model.enqueueChange(undoingBatch, () => {\n\t\t\tthis._undo(item.batch, undoingBatch);\n\t\t\tconst operations = this.editor.model.document.history.getOperations(item.batch.baseVersion);\n\t\t\tthis._restoreSelection(item.selection.ranges, item.selection.isBackward, operations);\n\t\t});\n\t\tthis.fire(\"revert\", item.batch, undoingBatch);\n\t\tthis.refresh();\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 undo/redocommand\n*/\n/**\n* The redo command stores {@link module:engine/model/batch~Batch batches} that were used to undo a batch by\n* {@link module:undo/undocommand~UndoCommand}. It is able to redo a previously undone batch by reversing the undoing\n* batches created by `UndoCommand`. The reversed batch is transformed by all the batches from\n* {@link module:engine/model/document~ModelDocument#history history} that happened after the reversed undo batch.\n*\n* The redo command also takes care of restoring the {@link module:engine/model/document~ModelDocument#selection document selection}.\n*/\nvar RedoCommand = class extends UndoRedoBaseCommand {\n\t/**\n\t* Executes the command. This method reverts the last {@link module:engine/model/batch~Batch batch} added to\n\t* the command's stack, applies the reverted and transformed version on the\n\t* {@link module:engine/model/document~ModelDocument document} and removes the batch from the stack.\n\t* Then, it restores the {@link module:engine/model/document~ModelDocument#selection document selection}.\n\t*\n\t* @fires execute\n\t*/\n\texecute() {\n\t\tconst item = this._stack.pop();\n\t\tconst redoingBatch = this.editor.model.createBatch({ isUndo: true });\n\t\tthis.editor.model.enqueueChange(redoingBatch, () => {\n\t\t\tconst nextBaseVersion = item.batch.operations[item.batch.operations.length - 1].baseVersion + 1;\n\t\t\tconst operations = this.editor.model.document.history.getOperations(nextBaseVersion);\n\t\t\tthis._restoreSelection(item.selection.ranges, item.selection.isBackward, operations);\n\t\t\tthis._undo(item.batch, redoingBatch);\n\t\t});\n\t\tthis.fire(\"revert\", item.batch, redoingBatch);\n\t\tthis.refresh();\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 undo/undoediting\n*/\n/**\n* The undo engine feature.\n*\n* It introduces the `'undo'` and `'redo'` commands to the editor.\n*/\nvar UndoEditing = class extends Plugin {\n\t/**\n\t* The command that manages the undo {@link module:engine/model/batch~Batch batches} stack (history).\n\t* Created and registered during the {@link #init feature initialization}.\n\t*/\n\t_undoCommand;\n\t/**\n\t* The command that manages the redo {@link module:engine/model/batch~Batch batches} stack (history).\n\t* Created and registered during the {@link #init feature initialization}.\n\t*/\n\t_redoCommand;\n\t/**\n\t* Keeps track of which batches were registered in undo.\n\t*/\n\t_batchRegistry = /* @__PURE__ */ new WeakSet();\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"UndoEditing\";\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.t;\n\t\tthis._undoCommand = new UndoCommand(editor);\n\t\tthis._redoCommand = new RedoCommand(editor);\n\t\teditor.commands.add(\"undo\", this._undoCommand);\n\t\teditor.commands.add(\"redo\", this._redoCommand);\n\t\tthis.listenTo(editor.model, \"applyOperation\", (evt, args) => {\n\t\t\tconst operation = args[0];\n\t\t\tif (!operation.isDocumentOperation) return;\n\t\t\tconst batch = operation.batch;\n\t\t\tconst isRedoBatch = this._redoCommand.createdBatches.has(batch);\n\t\t\tconst isUndoBatch = this._undoCommand.createdBatches.has(batch);\n\t\t\tif (this._batchRegistry.has(batch)) return;\n\t\t\tthis._batchRegistry.add(batch);\n\t\t\tif (!batch.isUndoable) return;\n\t\t\tif (isRedoBatch) this._undoCommand.addBatch(batch);\n\t\t\telse if (!isUndoBatch) {\n\t\t\t\tthis._undoCommand.addBatch(batch);\n\t\t\t\tthis._redoCommand.clearStack();\n\t\t\t}\n\t\t}, { priority: \"highest\" });\n\t\tthis.listenTo(this._undoCommand, \"revert\", (evt, undoneBatch, undoingBatch) => {\n\t\t\tthis._redoCommand.addBatch(undoingBatch);\n\t\t});\n\t\teditor.keystrokes.set(\"CTRL+Z\", \"undo\");\n\t\teditor.keystrokes.set(\"CTRL+Y\", \"redo\");\n\t\teditor.keystrokes.set(\"CTRL+SHIFT+Z\", \"redo\");\n\t\teditor.accessibility.addKeystrokeInfos({ keystrokes: [{\n\t\t\tlabel: t(\"Undo\"),\n\t\t\tkeystroke: \"CTRL+Z\"\n\t\t}, {\n\t\t\tlabel: t(\"Redo\"),\n\t\t\tkeystroke: [[\"CTRL+Y\"], [\"CTRL+SHIFT+Z\"]]\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 undo/undoui\n*/\n/**\n* The undo UI feature. It introduces the `'undo'` and `'redo'` buttons to the editor.\n*/\nvar UndoUI = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"UndoUI\";\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 locale = editor.locale;\n\t\tconst t = editor.t;\n\t\tconst localizedUndoIcon = locale.uiLanguageDirection == \"ltr\" ? IconUndo : IconRedo;\n\t\tconst localizedRedoIcon = locale.uiLanguageDirection == \"ltr\" ? IconRedo : IconUndo;\n\t\tthis._addButtonsToFactory(\"undo\", t(\"Undo\"), \"CTRL+Z\", localizedUndoIcon);\n\t\tthis._addButtonsToFactory(\"redo\", t(\"Redo\"), \"CTRL+Y\", localizedRedoIcon);\n\t}\n\t/**\n\t* Creates a button for the specified command.\n\t*\n\t* @param name Command name.\n\t* @param label Button label.\n\t* @param keystroke Command keystroke.\n\t* @param Icon Source of the icon.\n\t*/\n\t_addButtonsToFactory(name, label, keystroke, Icon) {\n\t\tconst editor = this.editor;\n\t\teditor.ui.componentFactory.add(name, () => {\n\t\t\tconst buttonView = this._createButton(ButtonView, name, label, keystroke, Icon);\n\t\t\tbuttonView.set({ tooltip: true });\n\t\t\treturn buttonView;\n\t\t});\n\t\teditor.ui.componentFactory.add(\"menuBar:\" + name, () => {\n\t\t\treturn this._createButton(MenuBarMenuListItemButtonView, name, label, keystroke, Icon);\n\t\t});\n\t}\n\t/**\n\t* TODO\n\t*/\n\t_createButton(ButtonClass, name, label, keystroke, Icon) {\n\t\tconst editor = this.editor;\n\t\tconst locale = editor.locale;\n\t\tconst command = editor.commands.get(name);\n\t\tconst view = new ButtonClass(locale);\n\t\tview.set({\n\t\t\tlabel,\n\t\t\ticon: Icon,\n\t\t\tkeystroke\n\t\t});\n\t\tview.bind(\"isEnabled\").to(command, \"isEnabled\");\n\t\tthis.listenTo(view, \"execute\", () => {\n\t\t\teditor.execute(name);\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 undo/undo\n*/\n/**\n* The undo feature.\n*\n* This is a \"glue\" plugin which loads the {@link module:undo/undoediting~UndoEditing undo editing feature}\n* and the {@link module:undo/undoui~UndoUI undo UI feature}.\n*\n* Below is an explanation of the undo mechanism working together with {@link module:engine/model/history~History History}:\n*\n* Whenever an {@link module:engine/model/operation/operation~Operation operation} is applied to the\n* {@link module:engine/model/document~ModelDocument document}, it is saved to `History` as is.\n* The {@link module:engine/model/batch~Batch batch} that owns that operation is also saved, in\n* {@link module:undo/undocommand~UndoCommand}, together with the selection that was present in the document before the\n* operation was applied. A batch is saved instead of the operation because changes are undone batch-by-batch, not operation-by-operation\n* and a batch is seen as one undo step.\n*\n* After changes happen to the document, the `History` and `UndoCommand` stack can be represented as follows:\n*\n* ```\n* History Undo stack\n* ============== ==================================\n* [operation A1] [ batch A ]\n* [operation B1] [ batch B ]\n* [operation B2] [ batch C ]\n* [operation C1]\n* [operation C2]\n* [operation B3]\n* [operation C3]\n* ```\n*\n* Where operations starting with the same letter are from same batch.\n*\n* Undoing a batch means that a set of operations which will reverse the effects of that batch needs to be generated.\n* For example, if a batch added several letters, undoing the batch should remove them. It is important to apply undoing\n* operations in the reversed order, so if a batch has operation `X`, `Y`, `Z`, reversed operations `Zr`, `Yr` and `Xr`\n* need to be applied. Otherwise reversed operation `Xr` would operate on a wrong document state, because operation `X`\n* does not know that operations `Y` and `Z` happened.\n*\n* After operations from an undone batch got {@link module:engine/model/operation/operation~Operation#getReversed reversed},\n* one needs to make sure if they are ready to be applied. In the scenario above, operation `C3` is the last operation and `C3r`\n* bases on up-to-date document state, so it can be applied to the document.\n*\n* ```\n* History Undo stack\n* ================= ==================================\n* [ operation A1 ] [ batch A ]\n* [ operation B1 ] [ batch B ]\n* [ operation B2 ] [ processing undoing batch C ]\n* [ operation C1 ]\n* [ operation C2 ]\n* [ operation B3 ]\n* [ operation C3 ]\n* [ operation C3r ]\n* ```\n*\n* Next is operation `C2`, reversed to `C2r`. `C2r` bases on `C2`, so it bases on the wrong document state. It needs to be\n* transformed by operations from history that happened after it, so it \"knows\" about them. Let us assume that `C2' = C2r * B3 * C3 * C3r`,\n* where `*` means \"transformed by\". Rest of operations from that batch are processed in the same fashion.\n*\n* ```\n* History Undo stack Redo stack\n* ================= ================================== ==================================\n* [ operation A1 ] [ batch A ] [ batch Cr ]\n* [ operation B1 ] [ batch B ]\n* [ operation B2 ]\n* [ operation C1 ]\n* [ operation C2 ]\n* [ operation B3 ]\n* [ operation C3 ]\n* [ operation C3r ]\n* [ operation C2' ]\n* [ operation C1' ]\n* ```\n*\n* Selective undo works on the same basis, however, instead of undoing the last batch in the undo stack, any batch can be undone.\n* The same algorithm applies: operations from a batch (i.e. `A1`) are reversed and then transformed by operations stored in history.\n*\n* Redo also is very similar to undo. It has its own stack that is filled with undoing (reversed batches). Operations from\n* the batch that is re-done are reversed-back, transformed in proper order and applied to the document.\n*\n* ```\n* History Undo stack Redo stack\n* ================= ================================== ==================================\n* [ operation A1 ] [ batch A ]\n* [ operation B1 ] [ batch B ]\n* [ operation B2 ] [ batch Crr ]\n* [ operation C1 ]\n* [ operation C2 ]\n* [ operation B3 ]\n* [ operation C3 ]\n* [ operation C3r ]\n* [ operation C2' ]\n* [ operation C1' ]\n* [ operation C1'r]\n* [ operation C2'r]\n* [ operation C3rr]\n* ```\n*/\nvar Undo = class extends Plugin {\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get requires() {\n\t\treturn [UndoEditing, UndoUI];\n\t}\n\t/**\n\t* @inheritDoc\n\t*/\n\tstatic get pluginName() {\n\t\treturn \"Undo\";\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 { RedoCommand, Undo, UndoCommand, UndoEditing, UndoRedoBaseCommand, UndoUI };\n//# sourceMappingURL=index.js.map"],"names":["UndoRedoBaseCommand","Command","editor","__publicField","evt","data","options","batch","docSelection","selection","ranges","isBackward","operations","model","document","selectionRanges","transformedRangeGroups","range","allRanges","rangeGroup","transformed","isRangeContainedByAnyOtherRange","normalizeRanges","writer","batchToUndo","undoingBatch","operationsToUndo","operation","operationToUndo","nextBaseVersion","historyOperations","reversedOperations","transformOperationSets","affectedSelectable","NoOperation","a","b","i","joinedRange","otherRange","UndoCommand","batchIndex","item","RedoCommand","redoingBatch","UndoEditing","Plugin","t","args","isRedoBatch","isUndoBatch","undoneBatch","UndoUI","locale","localizedUndoIcon","IconUndo","IconRedo","localizedRedoIcon","name","label","keystroke","Icon","buttonView","ButtonView","MenuBarMenuListItemButtonView","ButtonClass","command","view","Undo"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AASA;AAAA;AAAA;AAAA;AAUG,IAACA,IAAsB,cAAcC,EAAQ;AAAA;AAAA;AAAA;AAAA,EAiB/C,YAAYC,GAAQ;AACnB,UAAMA,CAAM;AAXb;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAC,EAAA,gBAAS,CAAA;AAMT;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,EAAA,yBAAkC,oBAAI,QAAO;AAM5C,SAAK,QAAO,GACZ,KAAK,6BAA6B,IAClC,KAAK,SAASD,EAAO,MAAM,OAAO,CAACE,GAAKC,MAAS;AAChD,MAAAA,EAAK,CAAC,IAAI,EAAE,GAAGA,EAAK,CAAC,EAAC;AACtB,YAAMC,IAAUD,EAAK,CAAC;AACtB,MAAKC,EAAQ,cAAWA,EAAQ,YAAY,EAAE,YAAY,GAAK;AAAA,IAChE,GAAG,EAAE,UAAU,QAAQ,GACvB,KAAK,SAASJ,EAAO,MAAM,OAAO,CAACE,GAAKC,MAAS;AAChD,MAAKA,EAAK,CAAC,EAAE,UAAU,cAAY,KAAK,WAAU;AAAA,IACnD,CAAC;AAAA,EACF;AAAA;AAAA;AAAA;AAAA,EAIA,UAAU;AACT,SAAK,YAAY,KAAK,OAAO,SAAS;AAAA,EACvC;AAAA;AAAA;AAAA;AAAA,EAIA,IAAI,iBAAiB;AACpB,WAAO,KAAK;AAAA,EACb;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,SAASE,GAAO;AACf,UAAMC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