@ncino/web-components 4.3.0-preview.11 → 4.3.0-preview.2

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 (173) hide show
  1. package/dist/_virtual/index10.js +1 -1
  2. package/dist/_virtual/index11.js +1 -1
  3. package/dist/_virtual/index12.js +1 -1
  4. package/dist/_virtual/index4.js +1 -1
  5. package/dist/_virtual/index5.js +1 -1
  6. package/dist/_virtual/index6.js +1 -1
  7. package/dist/_virtual/index7.js +1 -1
  8. package/dist/_virtual/index8.js +1 -1
  9. package/dist/_virtual/index9.js +1 -1
  10. package/dist/assets/node_modules/.pnpm/{ckeditor5@45.2.1 → ckeditor5@45.2.0}/node_modules/ckeditor5/dist/ckeditor5.css +1 -1
  11. package/dist/components/banner/gator/banner.gator.js +5 -6
  12. package/dist/components/button/gator/button.gator.figma.js +4 -12
  13. package/dist/components/checkbox/checkbox.gator.js +6 -9
  14. package/dist/components/icon/gator/icon.gator.figma.js +2 -7
  15. package/dist/components/input/gator/dropdown/input-dropdown.gator.js +1 -1
  16. package/dist/components/input/gator/input-date/input-date.gator.js +1 -1
  17. package/dist/components/input/gator/input-time/input-time.gator.js +1 -1
  18. package/dist/components/input-rich-text/ckeditor-config.js +1 -1
  19. package/dist/components/input-rich-text/input-rich-text.slds.js +2 -2
  20. package/dist/components/menu/base/gator/menu.gator.js +1 -1
  21. package/dist/components/menu/menu-item/gator/menu-item.gator.js +2 -2
  22. package/dist/components/panel/gator/panel.storybook-test.js +1 -1
  23. package/dist/components/popover/gator/popover.gator.js +1 -1
  24. package/dist/components/table/gator/__tests__/test-table-data.js +1 -1
  25. package/dist/components/table/gator/table.gator.js +32 -77
  26. package/dist/components/tooltip/gator/tooltip.gator.js +1 -1
  27. package/dist/components/tooltip/slds/tooltip.slds.js +1 -1
  28. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-alignment@45.2.1 → @ckeditor_ckeditor5-alignment@45.2.0}/node_modules/@ckeditor/ckeditor5-alignment/dist/index.js +1 -1
  29. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-autoformat@45.2.1 → @ckeditor_ckeditor5-autoformat@45.2.0}/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js +1 -1
  30. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-autosave@45.2.1 → @ckeditor_ckeditor5-autosave@45.2.0}/node_modules/@ckeditor/ckeditor5-autosave/dist/index.js +1 -1
  31. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-basic-styles@45.2.1 → @ckeditor_ckeditor5-basic-styles@45.2.0}/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js +1 -1
  32. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-block-quote@45.2.1 → @ckeditor_ckeditor5-block-quote@45.2.0}/node_modules/@ckeditor/ckeditor5-block-quote/dist/index.js +1 -1
  33. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-clipboard@45.2.1 → @ckeditor_ckeditor5-clipboard@45.2.0}/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js +1 -1
  34. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-cloud-services@45.2.1 → @ckeditor_ckeditor5-cloud-services@45.2.0}/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js +1 -1
  35. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-code-block@45.2.1 → @ckeditor_ckeditor5-code-block@45.2.0}/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js +1 -1
  36. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-core@45.2.1 → @ckeditor_ckeditor5-core@45.2.0}/node_modules/@ckeditor/ckeditor5-core/dist/index.js +1 -1
  37. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-editor-classic@45.2.1 → @ckeditor_ckeditor5-editor-classic@45.2.0}/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js +1 -1
  38. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-engine@45.2.1 → @ckeditor_ckeditor5-engine@45.2.0}/node_modules/@ckeditor/ckeditor5-engine/dist/index.js +11 -11
  39. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-enter@45.2.1 → @ckeditor_ckeditor5-enter@45.2.0}/node_modules/@ckeditor/ckeditor5-enter/dist/index.js +1 -1
  40. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-essentials@45.2.1 → @ckeditor_ckeditor5-essentials@45.2.0}/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js +1 -1
  41. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-find-and-replace@45.2.1 → @ckeditor_ckeditor5-find-and-replace@45.2.0}/node_modules/@ckeditor/ckeditor5-find-and-replace/dist/index.js +1 -1
  42. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-font@45.2.1 → @ckeditor_ckeditor5-font@45.2.0}/node_modules/@ckeditor/ckeditor5-font/dist/index.js +1 -1
  43. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-heading@45.2.1 → @ckeditor_ckeditor5-heading@45.2.0}/node_modules/@ckeditor/ckeditor5-heading/dist/index.js +1 -1
  44. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-highlight@45.2.1 → @ckeditor_ckeditor5-highlight@45.2.0}/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js +1 -1
  45. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-horizontal-line@45.2.1 → @ckeditor_ckeditor5-horizontal-line@45.2.0}/node_modules/@ckeditor/ckeditor5-horizontal-line/dist/index.js +1 -1
  46. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-html-embed@45.2.1 → @ckeditor_ckeditor5-html-embed@45.2.0}/node_modules/@ckeditor/ckeditor5-html-embed/dist/index.js +1 -1
  47. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-html-support@45.2.1 → @ckeditor_ckeditor5-html-support@45.2.0}/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js +1 -1
  48. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-image@45.2.1 → @ckeditor_ckeditor5-image@45.2.0}/node_modules/@ckeditor/ckeditor5-image/dist/index.js +1 -1
  49. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-indent@45.2.1 → @ckeditor_ckeditor5-indent@45.2.0}/node_modules/@ckeditor/ckeditor5-indent/dist/index.js +1 -1
  50. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-language@45.2.1 → @ckeditor_ckeditor5-language@45.2.0}/node_modules/@ckeditor/ckeditor5-language/dist/index.js +1 -1
  51. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-link@45.2.1 → @ckeditor_ckeditor5-link@45.2.0}/node_modules/@ckeditor/ckeditor5-link/dist/index.js +1 -1
  52. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-list@45.2.1 → @ckeditor_ckeditor5-list@45.2.0}/node_modules/@ckeditor/ckeditor5-list/dist/index.js +1 -1
  53. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-markdown-gfm@45.2.1 → @ckeditor_ckeditor5-markdown-gfm@45.2.0}/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js +1 -1
  54. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-media-embed@45.2.1 → @ckeditor_ckeditor5-media-embed@45.2.0}/node_modules/@ckeditor/ckeditor5-media-embed/dist/index.js +1 -1
  55. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-mention@45.2.1 → @ckeditor_ckeditor5-mention@45.2.0}/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +1 -1
  56. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-page-break@45.2.1 → @ckeditor_ckeditor5-page-break@45.2.0}/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js +1 -1
  57. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-paragraph@45.2.1 → @ckeditor_ckeditor5-paragraph@45.2.0}/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +1 -1
  58. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-paste-from-office@45.2.1 → @ckeditor_ckeditor5-paste-from-office@45.2.0}/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js +1 -1
  59. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-remove-format@45.2.1 → @ckeditor_ckeditor5-remove-format@45.2.0}/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js +1 -1
  60. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-select-all@45.2.1 → @ckeditor_ckeditor5-select-all@45.2.0}/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js +1 -1
  61. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-show-blocks@45.2.1 → @ckeditor_ckeditor5-show-blocks@45.2.0}/node_modules/@ckeditor/ckeditor5-show-blocks/dist/index.js +1 -1
  62. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-source-editing@45.2.1 → @ckeditor_ckeditor5-source-editing@45.2.0}/node_modules/@ckeditor/ckeditor5-source-editing/dist/index.js +1 -1
  63. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-special-characters@45.2.1 → @ckeditor_ckeditor5-special-characters@45.2.0}/node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js +1 -1
  64. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-style@45.2.1 → @ckeditor_ckeditor5-style@45.2.0}/node_modules/@ckeditor/ckeditor5-style/dist/index.js +1 -1
  65. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-table@45.2.1 → @ckeditor_ckeditor5-table@45.2.0}/node_modules/@ckeditor/ckeditor5-table/dist/index.js +1 -1
  66. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-typing@45.2.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js +13 -0
  67. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-ui@45.2.1 → @ckeditor_ckeditor5-ui@45.2.0}/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +1 -1
  68. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-undo@45.2.1 → @ckeditor_ckeditor5-undo@45.2.0}/node_modules/@ckeditor/ckeditor5-undo/dist/index.js +1 -1
  69. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-upload@45.2.1 → @ckeditor_ckeditor5-upload@45.2.0}/node_modules/@ckeditor/ckeditor5-upload/dist/index.js +1 -1
  70. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-utils@45.2.1 → @ckeditor_ckeditor5-utils@45.2.0}/node_modules/@ckeditor/ckeditor5-utils/dist/index.js +1 -1
  71. package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-widget@45.2.1 → @ckeditor_ckeditor5-widget@45.2.0}/node_modules/@ckeditor/ckeditor5-widget/dist/index.js +1 -1
  72. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.3/node_modules/@figma/code-connect/dist/client/external.js +1 -1
  73. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.3/node_modules/@figma/code-connect/dist/common/updates.js +1 -1
  74. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.1/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -0
  75. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -0
  76. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +1 -0
  77. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +1 -0
  78. package/dist/node_modules/.pnpm/{@storybook_instrumenter@8.6.14_storybook@8.6.14_prettier@3.6.2_ → @storybook_instrumenter@8.6.14_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/instrumenter/dist/index.js +1 -1
  79. package/dist/node_modules/.pnpm/{@storybook_test@8.6.14_storybook@8.6.14_prettier@3.6.2_ → @storybook_test@8.6.14_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/test/dist/index.js +1 -1
  80. package/dist/node_modules/.pnpm/{@vitest_expect@3.2.4 → @vitest_expect@3.2.3}/node_modules/@vitest/expect/dist/index.js +10 -10
  81. package/dist/node_modules/.pnpm/{@vitest_runner@3.2.4 → @vitest_runner@3.2.3}/node_modules/@vitest/runner/dist/chunk-hooks.js +3 -3
  82. package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.3/node_modules/@vitest/snapshot/dist/index.js +27 -0
  83. package/dist/node_modules/.pnpm/@vitest_spy@3.2.3/node_modules/@vitest/spy/dist/index.js +1 -0
  84. package/dist/node_modules/.pnpm/{@vitest_utils@3.2.4 → @vitest_utils@3.2.3}/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +1 -1
  85. package/dist/node_modules/.pnpm/{@vitest_utils@3.2.4 → @vitest_utils@3.2.3}/node_modules/@vitest/utils/dist/diff.js +1 -1
  86. package/dist/node_modules/.pnpm/@vitest_utils@3.2.3/node_modules/@vitest/utils/dist/error.js +2 -0
  87. package/dist/node_modules/.pnpm/{@vitest_utils@3.2.4 → @vitest_utils@3.2.3}/node_modules/@vitest/utils/dist/helpers.js +1 -1
  88. package/dist/node_modules/.pnpm/@vitest_utils@3.2.3/node_modules/@vitest/utils/dist/index.js +1 -0
  89. package/dist/node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js +1 -1
  90. package/dist/node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js +1 -1
  91. package/dist/node_modules/.pnpm/buffer@5.7.1/node_modules/buffer/index.js +1 -1
  92. package/dist/node_modules/.pnpm/call-bind@1.0.8/node_modules/call-bind/index.js +1 -1
  93. package/dist/node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js +1 -1
  94. package/dist/node_modules/.pnpm/loupe@3.1.3/node_modules/loupe/lib/html.js +2 -0
  95. package/dist/node_modules/.pnpm/loupe@3.1.3/node_modules/loupe/lib/index.js +1 -0
  96. package/dist/node_modules/.pnpm/safe-buffer@5.1.2/node_modules/safe-buffer/index.js +1 -1
  97. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/index.js +1 -1
  98. package/dist/node_modules/.pnpm/undici@5.29.0/node_modules/undici/lib/api/index.js +1 -1
  99. package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.7_@vitest_browser@3.2.4_@vitest_ui@3._93f645c93c51b497c065da8f21fff0a5 → vitest@3.2.3_@types_debug@4.1.12_@types_node@24.0.1_@vitest_browser@3.2.3_@vitest_ui@3._a591a0367320796449cdd25961131eb5}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +1 -1
  100. package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.7_@vitest_browser@3.2.4_@vitest_ui@3._93f645c93c51b497c065da8f21fff0a5 → vitest@3.2.3_@types_debug@4.1.12_@types_node@24.0.1_@vitest_browser@3.2.3_@vitest_ui@3._a591a0367320796449cdd25961131eb5}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +1 -1
  101. package/dist/packages/web-components/src/components/banner/gator/banner.gator.scss.js +1 -1
  102. package/dist/packages/web-components/src/components/table/gator/table.gator.scss.js +1 -1
  103. package/dist/types/components/banner/gator/banner.gator.d.ts +0 -5
  104. package/dist/types/components/checkbox/checkbox.gator.d.ts +0 -4
  105. package/dist/types/components/menu/menu-item/gator/menu-item.gator.d.ts +0 -1
  106. package/dist/types/components/table/gator/__tests__/test-table-data.d.ts +0 -31
  107. package/dist/types/components/table/gator/table.gator.d.ts +0 -5
  108. package/dist/types/components/table/table.d.ts +0 -2
  109. package/dist/utils/vitest-a11y-utils.js +1 -1
  110. package/package.json +20 -21
  111. package/web-types.json +1 -11
  112. package/dist/_virtual/external3.js +0 -1
  113. package/dist/_virtual/index13.js +0 -1
  114. package/dist/_virtual/index_react.js +0 -1
  115. package/dist/_virtual/index_react2.js +0 -1
  116. package/dist/_virtual/react.production.js +0 -1
  117. package/dist/components/alert/alert.gator.figma.js +0 -7
  118. package/dist/components/avatar/gator/avatar.gator.figma.js +0 -9
  119. package/dist/components/banner/gator/banner.gator.figma.js +0 -8
  120. package/dist/components/boolean/boolean.gator.figma.js +0 -11
  121. package/dist/components/button-group/gator/button-group.gator.figma.js +0 -7
  122. package/dist/components/icon/gator/icons.gator.figma.js +0 -1
  123. package/dist/node_modules/.pnpm/@ckeditor_ckeditor5-typing@45.2.1/node_modules/@ckeditor/ckeditor5-typing/dist/index.js +0 -13
  124. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.3/node_modules/@figma/code-connect/dist/react/external.js +0 -1
  125. package/dist/node_modules/.pnpm/@figma_code-connect@1.3.3/node_modules/@figma/code-connect/dist/react/index_react.js +0 -1
  126. package/dist/node_modules/.pnpm/@floating-ui_core@1.7.2/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -1
  127. package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -1
  128. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -1
  129. package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -1
  130. package/dist/node_modules/.pnpm/@vitest_snapshot@3.2.4/node_modules/@vitest/snapshot/dist/index.js +0 -27
  131. package/dist/node_modules/.pnpm/@vitest_spy@3.2.4/node_modules/@vitest/spy/dist/index.js +0 -1
  132. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/error.js +0 -2
  133. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.js +0 -1
  134. package/dist/node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/html.js +0 -2
  135. package/dist/node_modules/.pnpm/loupe@3.1.4/node_modules/loupe/lib/index.js +0 -1
  136. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/cjs/react.production.js +0 -9
  137. package/dist/node_modules/.pnpm/react@19.1.0/node_modules/react/index.js +0 -1
  138. package/dist/types/components/alert/alert.gator.figma.d.ts +0 -1
  139. package/dist/types/components/avatar/gator/avatar.gator.figma.d.ts +0 -1
  140. package/dist/types/components/banner/gator/banner.gator.figma.d.ts +0 -1
  141. package/dist/types/components/boolean/boolean.gator.figma.d.ts +0 -1
  142. package/dist/types/components/button-group/gator/button-group.gator.figma.d.ts +0 -1
  143. package/dist/types/components/icon/gator/icons.gator.figma.d.ts +0 -1
  144. /package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-icons@45.2.1 → @ckeditor_ckeditor5-icons@45.2.0}/node_modules/@ckeditor/ckeditor5-icons/dist/index.js +0 -0
  145. /package/dist/node_modules/.pnpm/{@ckeditor_ckeditor5-watchdog@45.2.1 → @ckeditor_ckeditor5-watchdog@45.2.0}/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js +0 -0
  146. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.14_prettier@3.6.2_storybook@8.6.14_prettier@3.6.2_ → @storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/core/dist/channels/index.js +0 -0
  147. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.14_prettier@3.6.2_storybook@8.6.14_prettier@3.6.2_ → @storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/core/dist/client-logger/index.js +0 -0
  148. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.14_prettier@3.6.2_storybook@8.6.14_prettier@3.6.2_ → @storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/core/dist/core-events/index.js +0 -0
  149. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.14_prettier@3.6.2_storybook@8.6.14_prettier@3.6.2_ → @storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/core/dist/csf/index.js +0 -0
  150. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.14_prettier@3.6.2_storybook@8.6.14_prettier@3.6.2_ → @storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/core/dist/preview-api/index.js +0 -0
  151. /package/dist/node_modules/.pnpm/{@storybook_core@8.6.14_prettier@3.6.2_storybook@8.6.14_prettier@3.6.2_ → @storybook_core@8.6.14_prettier@3.5.3_storybook@8.6.14_prettier@3.5.3_}/node_modules/@storybook/core/dist/preview-errors.js +0 -0
  152. /package/dist/node_modules/.pnpm/{@vitest_browser@3.2.4_msw@2.7.3_@types_node@24.0.7_typescript@5.8.3__playwright@1.53.1__894c207534f0ba223b8299d9f5ff1049 → @vitest_browser@3.2.3_msw@2.7.3_@types_node@24.0.1_typescript@5.8.3__playwright@1.52.0__43e5121a65d82cd327038d090e2dfb2c}/node_modules/@vitest/browser/context.js +0 -0
  153. /package/dist/node_modules/.pnpm/{@vitest_pretty-format@3.2.4 → @vitest_pretty-format@3.2.3}/node_modules/@vitest/pretty-format/dist/index.js +0 -0
  154. /package/dist/node_modules/.pnpm/{@vitest_utils@3.2.4 → @vitest_utils@3.2.3}/node_modules/@vitest/utils/dist/source-map.js +0 -0
  155. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/arguments.js +0 -0
  156. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/array.js +0 -0
  157. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/bigint.js +0 -0
  158. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/class.js +0 -0
  159. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/date.js +0 -0
  160. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/error.js +0 -0
  161. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/function.js +0 -0
  162. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/helpers.js +0 -0
  163. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/map.js +0 -0
  164. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/number.js +0 -0
  165. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/object.js +0 -0
  166. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/promise.js +0 -0
  167. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/regexp.js +0 -0
  168. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/set.js +0 -0
  169. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/string.js +0 -0
  170. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/symbol.js +0 -0
  171. /package/dist/node_modules/.pnpm/{loupe@3.1.4 → loupe@3.1.3}/node_modules/loupe/lib/typedarray.js +0 -0
  172. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.7_@vitest_browser@3.2.4_@vitest_ui@3._93f645c93c51b497c065da8f21fff0a5 → vitest@3.2.3_@types_debug@4.1.12_@types_node@24.0.1_@vitest_browser@3.2.3_@vitest_ui@3._a591a0367320796449cdd25961131eb5}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +0 -0
  173. /package/dist/node_modules/.pnpm/{vitest@3.2.4_@types_debug@4.1.12_@types_node@24.0.7_@vitest_browser@3.2.4_@vitest_ui@3._93f645c93c51b497c065da8f21fff0a5 → vitest@3.2.3_@types_debug@4.1.12_@types_node@24.0.1_@vitest_browser@3.2.3_@vitest_ui@3._a591a0367320796449cdd25961131eb5}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +0 -0
@@ -1 +1 @@
1
- import"../../node_modules/.pnpm/@ckeditor_ckeditor5-core@45.2.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Base64UploadAdapter as e}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-upload@45.2.1/node_modules/@ckeditor/ckeditor5-upload/dist/index.js";import{Alignment as t}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-alignment@45.2.1/node_modules/@ckeditor/ckeditor5-alignment/dist/index.js";import{Autoformat as o}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-autoformat@45.2.1/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js";import{Autosave as r}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-autosave@45.2.1/node_modules/@ckeditor/ckeditor5-autosave/dist/index.js";import{Bold as a,Code as i,Italic as l,Strikethrough as m,Subscript as n,Superscript as s,Underline as p}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-basic-styles@45.2.1/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js";import{BlockQuote as d}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-block-quote@45.2.1/node_modules/@ckeditor/ckeditor5-block-quote/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-widget@45.2.1/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{AccessibilityHelp as c}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-ui@45.2.1/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-utils@45.2.1/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-engine@45.2.1/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import{CloudServices as g}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-cloud-services@45.2.1/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js";import{CodeBlock as f}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-code-block@45.2.1/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js";import{Essentials as h}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-essentials@45.2.1/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js";import{FindAndReplace as u}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-find-and-replace@45.2.1/node_modules/@ckeditor/ckeditor5-find-and-replace/dist/index.js";import{FontBackgroundColor as b,FontColor as k,FontFamily as S,FontSize as C}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-font@45.2.1/node_modules/@ckeditor/ckeditor5-font/dist/index.js";import{Heading as T}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-heading@45.2.1/node_modules/@ckeditor/ckeditor5-heading/dist/index.js";import{Highlight as I}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-highlight@45.2.1/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js";import{HorizontalLine as y}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-horizontal-line@45.2.1/node_modules/@ckeditor/ckeditor5-horizontal-line/dist/index.js";import{HtmlEmbed as w}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-html-embed@45.2.1/node_modules/@ckeditor/ckeditor5-html-embed/dist/index.js";import{FullPage as A,GeneralHtmlSupport as F,HtmlComment as v}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-html-support@45.2.1/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js";import{AutoImage as x,ImageBlock as H,ImageCaption as P,ImageInline as L,ImageInsert as B,ImageInsertViaUrl as z,ImageResize as E,ImageStyle as _,ImageTextAlternative as M,ImageToolbar as R,ImageUpload as U}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-image@45.2.1/node_modules/@ckeditor/ckeditor5-image/dist/index.js";import{Indent as q,IndentBlock as V}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-indent@45.2.1/node_modules/@ckeditor/ckeditor5-indent/dist/index.js";import{TextPartLanguage as D}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-language@45.2.1/node_modules/@ckeditor/ckeditor5-language/dist/index.js";import{AutoLink as G,Link as N,LinkImage as O}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-link@45.2.1/node_modules/@ckeditor/ckeditor5-link/dist/index.js";import{List as Q,ListProperties as W,TodoList as $}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-list@45.2.1/node_modules/@ckeditor/ckeditor5-list/dist/index.js";import{Markdown as j,PasteFromMarkdownExperimental as J}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-markdown-gfm@45.2.1/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js";import{MediaEmbed as K}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-media-embed@45.2.1/node_modules/@ckeditor/ckeditor5-media-embed/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-mention@45.2.1/node_modules/@ckeditor/ckeditor5-mention/dist/index.js";import{PageBreak as X}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-page-break@45.2.1/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js";import{Paragraph as Y}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-paragraph@45.2.1/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js";import{PasteFromOffice as Z}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-paste-from-office@45.2.1/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js";import{RemoveFormat as ee}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-remove-format@45.2.1/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js";import{SelectAll as te}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-select-all@45.2.1/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js";import{ShowBlocks as oe}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-show-blocks@45.2.1/node_modules/@ckeditor/ckeditor5-show-blocks/dist/index.js";import{SourceEditing as re}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-source-editing@45.2.1/node_modules/@ckeditor/ckeditor5-source-editing/dist/index.js";import{SpecialCharacters as ae,SpecialCharactersArrows as ie,SpecialCharactersCurrency as le,SpecialCharactersEssentials as me,SpecialCharactersLatin as ne,SpecialCharactersMathematical as se,SpecialCharactersText as pe}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-special-characters@45.2.1/node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js";import{Style as de}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-style@45.2.1/node_modules/@ckeditor/ckeditor5-style/dist/index.js";import{Table as ce,TableCaption as ge,TableCellProperties as fe,TableColumnResize as he,TableProperties as ue,TableToolbar as be}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-table@45.2.1/node_modules/@ckeditor/ckeditor5-table/dist/index.js";import{TextTransformation as ke}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-typing@45.2.1/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{Undo as Se}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-undo@45.2.1/node_modules/@ckeditor/ckeditor5-undo/dist/index.js";const mt={toolbar:{items:["fontFamily","fontSize","|","bold","italic","underline","strikethrough","fontColor","|","alignment","indent","outdent","bulletedList","numberedList","|","link","insertImage","insertTable","|","removeFormat"],shouldNotGroupWhenFull:!0},plugins:[c,t,o,x,G,r,e,d,a,g,i,f,h,u,b,k,S,C,A,F,T,I,y,v,w,H,P,L,B,z,E,_,M,R,U,q,V,l,N,O,Q,W,j,K,X,Y,J,Z,ee,te,oe,re,ae,ie,le,me,ne,se,pe,m,de,n,s,ce,ge,fe,he,ue,be,D,ke,$,p,Se],fontFamily:{supportAllValues:!0},fontSize:{options:[10,12,14,"default",18,20,22],supportAllValues:!0},heading:{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h1",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h2",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h3",title:"Heading 3",class:"ck-heading_heading3"},{model:"heading4",view:"h4",title:"Heading 4",class:"ck-heading_heading4"},{model:"heading5",view:"h5",title:"Heading 5",class:"ck-heading_heading5"},{model:"heading6",view:"h6",title:"Heading 6",class:"ck-heading_heading6"}]},htmlSupport:{allow:[{name:/^.*$/,styles:!0,attributes:!0,classes:!0}]},image:{toolbar:["toggleImageCaption","imageTextAlternative","|","imageStyle:inline","imageStyle:wrapText","imageStyle:breakText","|","resizeImage"]},link:{addTargetToExternalLinks:!0,defaultProtocol:"https://",decorators:{toggleDownloadable:{mode:"manual",label:"Downloadable",attributes:{download:"file"}}}},list:{properties:{styles:!0,startIndex:!0,reversed:!0}},placeholder:"Type or paste your content here!",style:{definitions:[{name:"Article category",element:"h3",classes:["category"]},{name:"Title",element:"h2",classes:["document-title"]},{name:"Subtitle",element:"h3",classes:["document-subtitle"]},{name:"Info box",element:"p",classes:["info-box"]},{name:"Side quote",element:"blockquote",classes:["side-quote"]},{name:"Marker",element:"span",classes:["marker"]},{name:"Spoiler",element:"span",classes:["spoiler"]},{name:"Code (dark)",element:"pre",classes:["fancy-code","fancy-code-dark"]},{name:"Code (bright)",element:"pre",classes:["fancy-code","fancy-code-bright"]}]},table:{contentToolbar:["tableColumn","tableRow","mergeTableCells","tableProperties","tableCellProperties"]}};export{mt as editorConfig};
1
+ import"../../node_modules/.pnpm/@ckeditor_ckeditor5-core@45.2.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Base64UploadAdapter as e}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-upload@45.2.0/node_modules/@ckeditor/ckeditor5-upload/dist/index.js";import{Alignment as t}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-alignment@45.2.0/node_modules/@ckeditor/ckeditor5-alignment/dist/index.js";import{Autoformat as o}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-autoformat@45.2.0/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js";import{Autosave as r}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-autosave@45.2.0/node_modules/@ckeditor/ckeditor5-autosave/dist/index.js";import{Bold as a,Code as i,Italic as l,Strikethrough as m,Subscript as n,Superscript as s,Underline as p}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-basic-styles@45.2.0/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js";import{BlockQuote as d}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-block-quote@45.2.0/node_modules/@ckeditor/ckeditor5-block-quote/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-widget@45.2.0/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{AccessibilityHelp as c}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-ui@45.2.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-utils@45.2.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-engine@45.2.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import{CloudServices as g}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-cloud-services@45.2.0/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js";import{CodeBlock as f}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-code-block@45.2.0/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js";import{Essentials as h}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-essentials@45.2.0/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js";import{FindAndReplace as u}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-find-and-replace@45.2.0/node_modules/@ckeditor/ckeditor5-find-and-replace/dist/index.js";import{FontBackgroundColor as b,FontColor as k,FontFamily as S,FontSize as C}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-font@45.2.0/node_modules/@ckeditor/ckeditor5-font/dist/index.js";import{Heading as T}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-heading@45.2.0/node_modules/@ckeditor/ckeditor5-heading/dist/index.js";import{Highlight as I}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-highlight@45.2.0/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js";import{HorizontalLine as y}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-horizontal-line@45.2.0/node_modules/@ckeditor/ckeditor5-horizontal-line/dist/index.js";import{HtmlEmbed as w}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-html-embed@45.2.0/node_modules/@ckeditor/ckeditor5-html-embed/dist/index.js";import{FullPage as A,GeneralHtmlSupport as F,HtmlComment as v}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-html-support@45.2.0/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js";import{AutoImage as x,ImageBlock as H,ImageCaption as P,ImageInline as L,ImageInsert as B,ImageInsertViaUrl as z,ImageResize as E,ImageStyle as _,ImageTextAlternative as M,ImageToolbar as R,ImageUpload as U}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-image@45.2.0/node_modules/@ckeditor/ckeditor5-image/dist/index.js";import{Indent as q,IndentBlock as V}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-indent@45.2.0/node_modules/@ckeditor/ckeditor5-indent/dist/index.js";import{TextPartLanguage as D}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-language@45.2.0/node_modules/@ckeditor/ckeditor5-language/dist/index.js";import{AutoLink as G,Link as N,LinkImage as O}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-link@45.2.0/node_modules/@ckeditor/ckeditor5-link/dist/index.js";import{List as Q,ListProperties as W,TodoList as $}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-list@45.2.0/node_modules/@ckeditor/ckeditor5-list/dist/index.js";import{Markdown as j,PasteFromMarkdownExperimental as J}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-markdown-gfm@45.2.0/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js";import{MediaEmbed as K}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-media-embed@45.2.0/node_modules/@ckeditor/ckeditor5-media-embed/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-mention@45.2.0/node_modules/@ckeditor/ckeditor5-mention/dist/index.js";import{PageBreak as X}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-page-break@45.2.0/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js";import{Paragraph as Y}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-paragraph@45.2.0/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js";import{PasteFromOffice as Z}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-paste-from-office@45.2.0/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js";import{RemoveFormat as ee}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-remove-format@45.2.0/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js";import{SelectAll as te}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-select-all@45.2.0/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js";import{ShowBlocks as oe}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-show-blocks@45.2.0/node_modules/@ckeditor/ckeditor5-show-blocks/dist/index.js";import{SourceEditing as re}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-source-editing@45.2.0/node_modules/@ckeditor/ckeditor5-source-editing/dist/index.js";import{SpecialCharacters as ae,SpecialCharactersArrows as ie,SpecialCharactersCurrency as le,SpecialCharactersEssentials as me,SpecialCharactersLatin as ne,SpecialCharactersMathematical as se,SpecialCharactersText as pe}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-special-characters@45.2.0/node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js";import{Style as de}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-style@45.2.0/node_modules/@ckeditor/ckeditor5-style/dist/index.js";import{Table as ce,TableCaption as ge,TableCellProperties as fe,TableColumnResize as he,TableProperties as ue,TableToolbar as be}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-table@45.2.0/node_modules/@ckeditor/ckeditor5-table/dist/index.js";import{TextTransformation as ke}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-typing@45.2.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{Undo as Se}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-undo@45.2.0/node_modules/@ckeditor/ckeditor5-undo/dist/index.js";const mt={toolbar:{items:["fontFamily","fontSize","|","bold","italic","underline","strikethrough","fontColor","|","alignment","indent","outdent","bulletedList","numberedList","|","link","insertImage","insertTable","|","removeFormat"],shouldNotGroupWhenFull:!0},plugins:[c,t,o,x,G,r,e,d,a,g,i,f,h,u,b,k,S,C,A,F,T,I,y,v,w,H,P,L,B,z,E,_,M,R,U,q,V,l,N,O,Q,W,j,K,X,Y,J,Z,ee,te,oe,re,ae,ie,le,me,ne,se,pe,m,de,n,s,ce,ge,fe,he,ue,be,D,ke,$,p,Se],fontFamily:{supportAllValues:!0},fontSize:{options:[10,12,14,"default",18,20,22],supportAllValues:!0},heading:{options:[{model:"paragraph",title:"Paragraph",class:"ck-heading_paragraph"},{model:"heading1",view:"h1",title:"Heading 1",class:"ck-heading_heading1"},{model:"heading2",view:"h2",title:"Heading 2",class:"ck-heading_heading2"},{model:"heading3",view:"h3",title:"Heading 3",class:"ck-heading_heading3"},{model:"heading4",view:"h4",title:"Heading 4",class:"ck-heading_heading4"},{model:"heading5",view:"h5",title:"Heading 5",class:"ck-heading_heading5"},{model:"heading6",view:"h6",title:"Heading 6",class:"ck-heading_heading6"}]},htmlSupport:{allow:[{name:/^.*$/,styles:!0,attributes:!0,classes:!0}]},image:{toolbar:["toggleImageCaption","imageTextAlternative","|","imageStyle:inline","imageStyle:wrapText","imageStyle:breakText","|","resizeImage"]},link:{addTargetToExternalLinks:!0,defaultProtocol:"https://",decorators:{toggleDownloadable:{mode:"manual",label:"Downloadable",attributes:{download:"file"}}}},list:{properties:{styles:!0,startIndex:!0,reversed:!0}},placeholder:"Type or paste your content here!",style:{definitions:[{name:"Article category",element:"h3",classes:["category"]},{name:"Title",element:"h2",classes:["document-title"]},{name:"Subtitle",element:"h3",classes:["document-subtitle"]},{name:"Info box",element:"p",classes:["info-box"]},{name:"Side quote",element:"blockquote",classes:["side-quote"]},{name:"Marker",element:"span",classes:["marker"]},{name:"Spoiler",element:"span",classes:["spoiler"]},{name:"Code (dark)",element:"pre",classes:["fancy-code","fancy-code-dark"]},{name:"Code (bright)",element:"pre",classes:["fancy-code","fancy-code-bright"]}]},table:{contentToolbar:["tableColumn","tableRow","mergeTableCells","tableProperties","tableCellProperties"]}};export{mt as editorConfig};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["components/input-rich-text/ckeditor-config.js","node_modules/.pnpm/@ckeditor_ckeditor5-core@45.2.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-utils@45.2.1/node_modules/@ckeditor/ckeditor5-utils/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isObject.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isString.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isFunction.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isElement.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/object/cloneDeepWith.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/getTag.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/tags.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isPrimitive.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isTypedArray.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/merge.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/mergeWith.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/cloneDeep.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/object/clone.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isArguments.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/function/noop.js","node_modules/.pnpm/@ckeditor_ckeditor5-engine@45.2.1/node_modules/@ckeditor/ckeditor5-engine/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isEqual.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isEqualWith.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isPlainObject.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/eq.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/unset.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/get.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/toKey.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/toPath.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/assignIn.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/keysIn.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isBuffer.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isLength.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/times.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/toInteger.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/toFinite.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/toNumber.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/set.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/isIndex.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/function/after.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/debounce.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/function/debounce.js","node_modules/.pnpm/@ckeditor_ckeditor5-watchdog@45.2.1/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/throttle.js","node_modules/.pnpm/@ckeditor_ckeditor5-upload@45.2.1/node_modules/@ckeditor/ckeditor5-upload/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-alignment@45.2.1/node_modules/@ckeditor/ckeditor5-alignment/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-ui@45.2.1/node_modules/@ckeditor/ckeditor5-ui/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-icons@45.2.1/node_modules/@ckeditor/ckeditor5-icons/dist/index.js","node_modules/.pnpm/color-parse@1.4.2/node_modules/color-parse/index.js","_virtual/index3.js","_virtual/_commonjsHelpers.js","node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js","_virtual/index.js","node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js","node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js","node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/entrypoints/hex.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/components/color-picker.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/compare.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/convert.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/math.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/dom.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/components/hue.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/components/slider.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/components/saturation.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/styles/color-picker.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/styles/hue.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/styles/saturation.js","node_modules/.pnpm/@ckeditor_ckeditor5-autoformat@45.2.1/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-typing@45.2.1/node_modules/@ckeditor/ckeditor5-typing/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/string/escapeRegExp.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/string/escapeRegExp.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/toString.js","node_modules/.pnpm/@ckeditor_ckeditor5-autosave@45.2.1/node_modules/@ckeditor/ckeditor5-autosave/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-basic-styles@45.2.1/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-block-quote@45.2.1/node_modules/@ckeditor/ckeditor5-block-quote/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-enter@45.2.1/node_modules/@ckeditor/ckeditor5-enter/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-widget@45.2.1/node_modules/@ckeditor/ckeditor5-widget/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-cloud-services@45.2.1/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-code-block@45.2.1/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-clipboard@45.2.1/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/mapValues.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/property.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/function/identity.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/object/mapValues.js","node_modules/.pnpm/@ckeditor_ckeditor5-essentials@45.2.1/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-select-all@45.2.1/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-undo@45.2.1/node_modules/@ckeditor/ckeditor5-undo/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-find-and-replace@45.2.1/node_modules/@ckeditor/ckeditor5-find-and-replace/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-font@45.2.1/node_modules/@ckeditor/ckeditor5-font/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-heading@45.2.1/node_modules/@ckeditor/ckeditor5-heading/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-paragraph@45.2.1/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-highlight@45.2.1/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-horizontal-line@45.2.1/node_modules/@ckeditor/ckeditor5-horizontal-line/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-html-embed@45.2.1/node_modules/@ckeditor/ckeditor5-html-embed/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-html-support@45.2.1/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/string/startCase.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/string/words.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/normalizeForCase.js","node_modules/.pnpm/@ckeditor_ckeditor5-image@45.2.1/node_modules/@ckeditor/ckeditor5-image/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-indent@45.2.1/node_modules/@ckeditor/ckeditor5-indent/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-language@45.2.1/node_modules/@ckeditor/ckeditor5-language/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-link@45.2.1/node_modules/@ckeditor/ckeditor5-link/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/string/upperFirst.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/string/upperFirst.js","node_modules/.pnpm/@ckeditor_ckeditor5-list@45.2.1/node_modules/@ckeditor/ckeditor5-list/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-markdown-gfm@45.2.1/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js","node_modules/.pnpm/marked@4.0.12/node_modules/marked/lib/marked.esm.js","node_modules/.pnpm/turndown@7.2.0/node_modules/turndown/lib/turndown.browser.es.js","node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.js","node_modules/.pnpm/@ckeditor_ckeditor5-media-embed@45.2.1/node_modules/@ckeditor/ckeditor5-media-embed/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-mention@45.2.1/node_modules/@ckeditor/ckeditor5-mention/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-page-break@45.2.1/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-paste-from-office@45.2.1/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-remove-format@45.2.1/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-show-blocks@45.2.1/node_modules/@ckeditor/ckeditor5-show-blocks/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-source-editing@45.2.1/node_modules/@ckeditor/ckeditor5-source-editing/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-special-characters@45.2.1/node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-style@45.2.1/node_modules/@ckeditor/ckeditor5-style/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-table@45.2.1/node_modules/@ckeditor/ckeditor5-table/dist/index.js"])))=>i.map(i=>d[i]);
2
- import{__vitePreload as d}from"../../_virtual/preload-helper.js";import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as l}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{createRef as c,ref as h}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{customElement as p}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import"../input/slds/input-label/input-label.slds.js";/* empty css *//* empty css */import"../../node_modules/.pnpm/@ckeditor_ckeditor5-core@45.2.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-utils@45.2.1/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-engine@45.2.1/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-widget@45.2.1/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{ClassicEditor as m}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-editor-classic@45.2.1/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-list@45.2.1/node_modules/@ckeditor/ckeditor5-list/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-mention@45.2.1/node_modules/@ckeditor/ckeditor5-mention/dist/index.js";import{NjcInputRichText as u}from"./input-rich-text.js";import{debounce as f}from"../../utils/reactivity-utils.js";var v=Object.getOwnPropertyDescriptor,_=(t,e,i,r)=>{for(var o=r>1?void 0:r?v(e,i):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(o=s(o)||o);return o};let n=class extends u{constructor(){super(...arguments),this._ckEditor=void 0,this._editorRef=c(),this._externalDataChange=!1}createRenderRoot(){return this}async firstUpdated(){let{editorConfig:t}=await d(async()=>{const{editorConfig:r}=await import("./ckeditor-config.js");return{editorConfig:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127]));const e=this._editorRef.value;if(e===void 0){console.error("CKEditor host element is undefined");return}const i=await m.create(e,{...t,licenseKey:"GPL",placeholder:this.placeholder??void 0});i.setData(this.value??""),this._registerCKEditorEvents(i),this._ckEditor=i}_registerCKEditorEvents(t){let e=i=>{this._externalDataChange||this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{value:i}})),this._externalDataChange=!1};this.debounce>0&&(e=f(e,this.debounce)),t.model.document.on("change:data",()=>e(t.getData()))}updated(t){if(super.updated(t),this._ckEditor!==void 0&&(t.get("value")!==this.value&&this._ckEditor.getData()!==this.value&&(this._externalDataChange=!0,this._ckEditor.setData(this.value??"")),t.get("placeholder")!==this.placeholder)){const e=this._ckEditor.editing.view.document.getRoot("main");e.placeholder=this.placeholder??void 0}}render(){return l`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["components/input-rich-text/ckeditor-config.js","node_modules/.pnpm/@ckeditor_ckeditor5-core@45.2.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-utils@45.2.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isObject.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isString.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isFunction.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isElement.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isPlainObject.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/object/cloneDeepWith.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/getTag.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/tags.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isPrimitive.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isTypedArray.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/merge.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/mergeWith.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/cloneDeep.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/object/clone.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isArguments.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isTypedArray.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/function/noop.js","node_modules/.pnpm/@ckeditor_ckeditor5-engine@45.2.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isEqual.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isEqualWith.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isPlainObject.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/eq.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/unset.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/get.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/toKey.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/toPath.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/assignIn.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/keysIn.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isBuffer.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/isPrototype.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/predicate/isLength.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/times.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/toInteger.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/toFinite.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/toNumber.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/set.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/isIndex.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/predicate/isEqualWith.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/function/after.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/debounce.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/function/debounce.js","node_modules/.pnpm/@ckeditor_ckeditor5-watchdog@45.2.0/node_modules/@ckeditor/ckeditor5-watchdog/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/throttle.js","node_modules/.pnpm/@ckeditor_ckeditor5-upload@45.2.0/node_modules/@ckeditor/ckeditor5-upload/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-alignment@45.2.0/node_modules/@ckeditor/ckeditor5-alignment/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-ui@45.2.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-icons@45.2.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js","node_modules/.pnpm/color-parse@1.4.2/node_modules/color-parse/index.js","_virtual/index3.js","_virtual/_commonjsHelpers.js","node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js","_virtual/index.js","node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js","node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js","node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/entrypoints/hex.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/components/color-picker.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/compare.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/convert.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/math.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/utils/dom.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/components/hue.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/components/slider.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/components/saturation.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/styles/color-picker.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/styles/hue.js","node_modules/.pnpm/vanilla-colorful@0.7.2/node_modules/vanilla-colorful/lib/styles/saturation.js","node_modules/.pnpm/@ckeditor_ckeditor5-autoformat@45.2.0/node_modules/@ckeditor/ckeditor5-autoformat/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-typing@45.2.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/string/escapeRegExp.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/string/escapeRegExp.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/util/toString.js","node_modules/.pnpm/@ckeditor_ckeditor5-autosave@45.2.0/node_modules/@ckeditor/ckeditor5-autosave/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-basic-styles@45.2.0/node_modules/@ckeditor/ckeditor5-basic-styles/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-block-quote@45.2.0/node_modules/@ckeditor/ckeditor5-block-quote/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-enter@45.2.0/node_modules/@ckeditor/ckeditor5-enter/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-widget@45.2.0/node_modules/@ckeditor/ckeditor5-widget/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-cloud-services@45.2.0/node_modules/@ckeditor/ckeditor5-cloud-services/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-code-block@45.2.0/node_modules/@ckeditor/ckeditor5-code-block/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-clipboard@45.2.0/node_modules/@ckeditor/ckeditor5-clipboard/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/mapValues.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/property.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/function/identity.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/object/mapValues.js","node_modules/.pnpm/@ckeditor_ckeditor5-essentials@45.2.0/node_modules/@ckeditor/ckeditor5-essentials/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-select-all@45.2.0/node_modules/@ckeditor/ckeditor5-select-all/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-undo@45.2.0/node_modules/@ckeditor/ckeditor5-undo/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-find-and-replace@45.2.0/node_modules/@ckeditor/ckeditor5-find-and-replace/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-font@45.2.0/node_modules/@ckeditor/ckeditor5-font/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-heading@45.2.0/node_modules/@ckeditor/ckeditor5-heading/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-paragraph@45.2.0/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-highlight@45.2.0/node_modules/@ckeditor/ckeditor5-highlight/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-horizontal-line@45.2.0/node_modules/@ckeditor/ckeditor5-horizontal-line/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-html-embed@45.2.0/node_modules/@ckeditor/ckeditor5-html-embed/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-html-support@45.2.0/node_modules/@ckeditor/ckeditor5-html-support/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/string/startCase.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/string/words.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/_internal/normalizeForCase.js","node_modules/.pnpm/@ckeditor_ckeditor5-image@45.2.0/node_modules/@ckeditor/ckeditor5-image/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-indent@45.2.0/node_modules/@ckeditor/ckeditor5-indent/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-language@45.2.0/node_modules/@ckeditor/ckeditor5-language/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-link@45.2.0/node_modules/@ckeditor/ckeditor5-link/dist/index.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/string/upperFirst.js","node_modules/.pnpm/es-toolkit@1.32.0/node_modules/es-toolkit/dist/string/upperFirst.js","node_modules/.pnpm/@ckeditor_ckeditor5-list@45.2.0/node_modules/@ckeditor/ckeditor5-list/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-markdown-gfm@45.2.0/node_modules/@ckeditor/ckeditor5-markdown-gfm/dist/index.js","node_modules/.pnpm/marked@4.0.12/node_modules/marked/lib/marked.esm.js","node_modules/.pnpm/turndown@7.2.0/node_modules/turndown/lib/turndown.browser.es.js","node_modules/.pnpm/turndown-plugin-gfm@1.0.2/node_modules/turndown-plugin-gfm/lib/turndown-plugin-gfm.es.js","node_modules/.pnpm/@ckeditor_ckeditor5-media-embed@45.2.0/node_modules/@ckeditor/ckeditor5-media-embed/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-mention@45.2.0/node_modules/@ckeditor/ckeditor5-mention/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-page-break@45.2.0/node_modules/@ckeditor/ckeditor5-page-break/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-paste-from-office@45.2.0/node_modules/@ckeditor/ckeditor5-paste-from-office/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-remove-format@45.2.0/node_modules/@ckeditor/ckeditor5-remove-format/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-show-blocks@45.2.0/node_modules/@ckeditor/ckeditor5-show-blocks/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-source-editing@45.2.0/node_modules/@ckeditor/ckeditor5-source-editing/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-special-characters@45.2.0/node_modules/@ckeditor/ckeditor5-special-characters/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-style@45.2.0/node_modules/@ckeditor/ckeditor5-style/dist/index.js","node_modules/.pnpm/@ckeditor_ckeditor5-table@45.2.0/node_modules/@ckeditor/ckeditor5-table/dist/index.js"])))=>i.map(i=>d[i]);
2
+ import{__vitePreload as d}from"../../_virtual/preload-helper.js";import"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as l}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{createRef as c,ref as h}from"../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{customElement as p}from"../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import"../input/slds/input-label/input-label.slds.js";/* empty css *//* empty css */import"../../node_modules/.pnpm/@ckeditor_ckeditor5-core@45.2.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-utils@45.2.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-engine@45.2.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-widget@45.2.0/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{ClassicEditor as m}from"../../node_modules/.pnpm/@ckeditor_ckeditor5-editor-classic@45.2.0/node_modules/@ckeditor/ckeditor5-editor-classic/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-list@45.2.0/node_modules/@ckeditor/ckeditor5-list/dist/index.js";import"../../node_modules/.pnpm/@ckeditor_ckeditor5-mention@45.2.0/node_modules/@ckeditor/ckeditor5-mention/dist/index.js";import{NjcInputRichText as u}from"./input-rich-text.js";import{debounce as f}from"../../utils/reactivity-utils.js";var v=Object.getOwnPropertyDescriptor,_=(t,e,i,r)=>{for(var o=r>1?void 0:r?v(e,i):e,a=t.length-1,s;a>=0;a--)(s=t[a])&&(o=s(o)||o);return o};let n=class extends u{constructor(){super(...arguments),this._ckEditor=void 0,this._editorRef=c(),this._externalDataChange=!1}createRenderRoot(){return this}async firstUpdated(){let{editorConfig:t}=await d(async()=>{const{editorConfig:r}=await import("./ckeditor-config.js");return{editorConfig:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127]));const e=this._editorRef.value;if(e===void 0){console.error("CKEditor host element is undefined");return}const i=await m.create(e,{...t,licenseKey:"GPL",placeholder:this.placeholder??void 0});i.setData(this.value??""),this._registerCKEditorEvents(i),this._ckEditor=i}_registerCKEditorEvents(t){let e=i=>{this._externalDataChange||this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{value:i}})),this._externalDataChange=!1};this.debounce>0&&(e=f(e,this.debounce)),t.model.document.on("change:data",()=>e(t.getData()))}updated(t){if(super.updated(t),this._ckEditor!==void 0&&(t.get("value")!==this.value&&this._ckEditor.getData()!==this.value&&(this._externalDataChange=!0,this._ckEditor.setData(this.value??"")),t.get("placeholder")!==this.placeholder)){const e=this._ckEditor.editing.view.document.getRoot("main");e.placeholder=this.placeholder??void 0}}render(){return l`
3
3
  <nsc-input-label>${this.label}</nsc-input-label>
4
4
  <div ${h(this._editorRef)}></div>
5
5
  `}};n=_([p("nsc-input-rich-text")],n);export{n as NscInputRichText};
@@ -1,4 +1,4 @@
1
- import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as w}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import _ from"../../../../packages/web-components/src/components/menu/base/gator/menu.gator.scss.js";import v from"../../../../packages/web-components/src/components/menu/menu.tokens.scss.js";import{customElement as y}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{NjcMenu as x}from"../menu.js";import{handleDataTestid as u}from"../../../../utils/datatestid-utils.js";import{autoUpdate as A,computePosition as I}from"../../../../node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";import{ref as g}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import"../../menu-item/gator/menu-item.gator.js";import{unsafeCSS as b}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var R=Object.getOwnPropertyDescriptor,k=(t,e,o,n)=>{for(var s=n>1?void 0:n?R(e,o):e,i=t.length-1,a;i>=0;i--)(a=t[i])&&(s=a(s)||s);return s};let l=class extends x{constructor(){super(...arguments),this._dropdownRef=g()}render(){return w`
1
+ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as w}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import _ from"../../../../packages/web-components/src/components/menu/base/gator/menu.gator.scss.js";import v from"../../../../packages/web-components/src/components/menu/menu.tokens.scss.js";import{customElement as y}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{NjcMenu as x}from"../menu.js";import{handleDataTestid as u}from"../../../../utils/datatestid-utils.js";import{autoUpdate as A,computePosition as I}from"../../../../node_modules/.pnpm/@floating-ui_dom@1.7.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";import{ref as g}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import"../../menu-item/gator/menu-item.gator.js";import{unsafeCSS as b}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var R=Object.getOwnPropertyDescriptor,k=(t,e,o,n)=>{for(var s=n>1?void 0:n?R(e,o):e,i=t.length-1,a;i>=0;i--)(a=t[i])&&(s=a(s)||s);return s};let l=class extends x{constructor(){super(...arguments),this._dropdownRef=g()}render(){return w`
2
2
  <div class="gator-dropdown-trigger" @focusout=${this._topLevelFocusOut}>
3
3
  <slot @slotchange="${this.handleTriggerSlotChange}" name="trigger"></slot>
4
4
  <div class="gator-dropdown" ${g(this._dropdownRef)}>
@@ -1,4 +1,4 @@
1
- import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as m}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as a}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{NjcMenuItem as h}from"../menu-item.js";import"../../../list/gator/list-item/list-item.gator.js";import{KEY_CONSTANTS as n}from"../../../../consts/key-constants.js";var u=Object.getOwnPropertyDescriptor,d=(e,t,o,i)=>{for(var r=i>1?void 0:i?u(t,o):t,c=e.length-1,s;c>=0;c--)(s=e[c])&&(r=s(r)||r);return r};let l=class extends h{constructor(){super()}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menuitem"),this.addEventListener("keydown",this.handleKeydown)}render(){return m`
1
+ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as m}from"../../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as h}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{NjcMenuItem as a}from"../menu-item.js";import"../../../list/gator/list-item/list-item.gator.js";import{KEY_CONSTANTS as n}from"../../../../consts/key-constants.js";var u=Object.getOwnPropertyDescriptor,d=(e,t,r,s)=>{for(var o=s>1?void 0:s?u(t,r):t,i=e.length-1,c;i>=0;i--)(c=e[i])&&(o=c(o)||o);return o};let l=class extends a{constructor(){super(),this.setAttribute("role","menuitem"),this.addEventListener("keydown",this.handleKeydown)}render(){return m`
2
2
  <ngc-list-item
3
3
  @click="${this.handleItemClick}"
4
4
  text="${this.value}"
@@ -7,4 +7,4 @@ import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@
7
7
  role="presentation"
8
8
  faux-focus
9
9
  ></ngc-list-item>
10
- `}focus(){var e,t;(t=(e=this.shadowRoot)==null?void 0:e.querySelector("ngc-list-item"))==null||t.focus()}click(){var e,t;(t=(e=this.shadowRoot)==null?void 0:e.querySelector("ngc-list-item"))==null||t.click()}handleKeydown(e){var t,o;(e.key===n.SPACE||e.key===n.ENTER)&&(this.handleItemKeydown(e),(o=(t=this.shadowRoot)==null?void 0:t.querySelector("ngc-list-item"))==null||o.click())}};l=d([a("ngc-menu-item")],l);export{l as NgcMenuItem};
10
+ `}focus(){var e,t;(t=(e=this.shadowRoot)==null?void 0:e.querySelector("ngc-list-item"))==null||t.focus()}click(){var e,t;(t=(e=this.shadowRoot)==null?void 0:e.querySelector("ngc-list-item"))==null||t.click()}handleKeydown(e){var t,r;(e.key===n.SPACE||e.key===n.ENTER)&&(this.handleItemKeydown(e),(r=(t=this.shadowRoot)==null?void 0:t.querySelector("ngc-list-item"))==null||r.click())}};l=d([h("ngc-menu-item")],l);export{l as NgcMenuItem};
@@ -1 +1 @@
1
- import{within as h,waitFor as d,expect as n,userEvent as s}from"../../../node_modules/.pnpm/@storybook_test@8.6.14_storybook@8.6.14_prettier@3.6.2_/node_modules/@storybook/test/dist/index.js";import{getShadowRootElementByDataTestId as p}from"../../../utils/vitest-utils.js";const f=async({canvasElement:w,step:t})=>{const i=h(w);let l,e,c,a;await t("Scenario: Nested Panel Functionality",async()=>{await t("GIVEN the Story renders with the first panel open and the second panel closed",async()=>{l=await i.findByTestId("first-panel"),e=p(l,"first-panel-panel"),c=await i.findByTestId("second-panel"),a=p(c,"second-panel-panel"),await d(()=>n(e).toBeVisible()),n(a).not.toBeVisible()}),await t("WHEN I click on the list item with nested content to open the second panel",async()=>{i.getByTestId("list-item-with-nested").click()}),await t("THEN the second panel is opened relative to the first panel",async()=>{await d(()=>n(a).toBeVisible());const o=e==null?void 0:e.offsetWidth;n(window.getComputedStyle(a).left).toBe(`${o}px`)}),await t("WHEN I click the collapse button in the first panel",async()=>{const o=i.getByText("Collapse");await s.click(o)}),await t("THEN I expect the second panel to have moved with the first panel",async()=>{n(window.getComputedStyle(e).width).toBe("56px"),n(window.getComputedStyle(a).left).toBe(`${e.offsetWidth}px`)}),await t("WHEN I click the expand button in the first panel",async()=>{const o=i.getByTestId("expand-button");await s.click(o)}),await t("THEN I expect the first panel to expand and the second panel to move with it",async()=>{n(window.getComputedStyle(e).width).toBe("280px"),n(window.getComputedStyle(a).left).toBe(`${e.offsetWidth}px`)}),await t("WHEN I click on the close button in the second panel",async()=>{const o=i.getByTestId("close-button");await s.click(o)}),await t("THEN I expect the second panel to be closed",async()=>{a.addEventListener("animationend",()=>{n(a).not.toBeVisible()},{once:!0})})})};export{f as nestedPanelTests};
1
+ import{within as h,waitFor as d,expect as n,userEvent as s}from"../../../node_modules/.pnpm/@storybook_test@8.6.14_storybook@8.6.14_prettier@3.5.3_/node_modules/@storybook/test/dist/index.js";import{getShadowRootElementByDataTestId as p}from"../../../utils/vitest-utils.js";const f=async({canvasElement:w,step:t})=>{const i=h(w);let l,e,c,a;await t("Scenario: Nested Panel Functionality",async()=>{await t("GIVEN the Story renders with the first panel open and the second panel closed",async()=>{l=await i.findByTestId("first-panel"),e=p(l,"first-panel-panel"),c=await i.findByTestId("second-panel"),a=p(c,"second-panel-panel"),await d(()=>n(e).toBeVisible()),n(a).not.toBeVisible()}),await t("WHEN I click on the list item with nested content to open the second panel",async()=>{i.getByTestId("list-item-with-nested").click()}),await t("THEN the second panel is opened relative to the first panel",async()=>{await d(()=>n(a).toBeVisible());const o=e==null?void 0:e.offsetWidth;n(window.getComputedStyle(a).left).toBe(`${o}px`)}),await t("WHEN I click the collapse button in the first panel",async()=>{const o=i.getByText("Collapse");await s.click(o)}),await t("THEN I expect the second panel to have moved with the first panel",async()=>{n(window.getComputedStyle(e).width).toBe("56px"),n(window.getComputedStyle(a).left).toBe(`${e.offsetWidth}px`)}),await t("WHEN I click the expand button in the first panel",async()=>{const o=i.getByTestId("expand-button");await s.click(o)}),await t("THEN I expect the first panel to expand and the second panel to move with it",async()=>{n(window.getComputedStyle(e).width).toBe("280px"),n(window.getComputedStyle(a).left).toBe(`${e.offsetWidth}px`)}),await t("WHEN I click on the close button in the second panel",async()=>{const o=i.getByTestId("close-button");await s.click(o)}),await t("THEN I expect the second panel to be closed",async()=>{a.addEventListener("animationend",()=>{n(a).not.toBeVisible()},{once:!0})})})};export{f as nestedPanelTests};
@@ -1,4 +1,4 @@
1
- import{NjcPopover as g}from"../popover.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as p,nothing as u}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as v}from"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{ref as b}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{customElement as _}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import y from"../../../packages/web-components/src/components/popover/gator/popover.gator.scss.js";import P from"../../../packages/web-components/src/components/popover/popover.scss.js";import E from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import k from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{autoUpdate as w,computePosition as O,autoPlacement as S}from"../../../node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";import $ from"../../../packages/web-components/public/styles/gator/gator-global-styles.css.js";import{KEY_CONSTANTS as l}from"../../../consts/key-constants.js";import{msg as x}from"../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import"../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{unsafeCSS as h}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var R=Object.getOwnPropertyDescriptor,C=(t,e,i,r)=>{for(var o=r>1?void 0:r?R(e,i):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(o=n(o)||o);return o};let m=class extends g{render(){return p`
1
+ import{NjcPopover as g}from"../popover.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as p,nothing as u}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as v}from"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{ref as b}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{customElement as _}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import y from"../../../packages/web-components/src/components/popover/gator/popover.gator.scss.js";import P from"../../../packages/web-components/src/components/popover/popover.scss.js";import E from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import k from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{autoUpdate as w,computePosition as O,autoPlacement as S}from"../../../node_modules/.pnpm/@floating-ui_dom@1.7.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";import $ from"../../../packages/web-components/public/styles/gator/gator-global-styles.css.js";import{KEY_CONSTANTS as l}from"../../../consts/key-constants.js";import{msg as x}from"../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import"../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{unsafeCSS as h}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var R=Object.getOwnPropertyDescriptor,C=(t,e,i,r)=>{for(var o=r>1?void 0:r?R(e,i):e,s=t.length-1,n;s>=0;s--)(n=t[s])&&(o=n(o)||o);return o};let m=class extends g{render(){return p`
2
2
  <div
3
3
  ${b(this._popoverRef)}
4
4
  id="${this.popoverId}"
@@ -1 +1 @@
1
- function t(){return[{amount:"392.62",date:"2012-02-01T23:00:00.000Z",business:"Mohr Group",name:"Auto Loan Account 8145",type:"withdrawal",account:"99082877",selected:!0},{amount:"393.59",date:"2012-02-01T23:00:00.000Z",business:"Goodwin - Johnson",name:"Personal Loan Account 0538",type:"deposit",account:"12225144"},{amount:"964.47",date:"2012-02-01T23:00:00.000Z",business:"Nienow - Strosin",name:"Savings Account 8691",type:"payment",account:"98822518"},{amount:"51.38",date:"2012-02-01T23:00:00.000Z",business:"Rosenbaum Inc",name:"Money Market Account 4536",type:"deposit",account:"26946392",selected:!0},{amount:"691.89",date:"2012-02-01T23:00:00.000Z",business:"Yundt Group",name:"Personal Loan Account 0201",type:"deposit",account:"02532136"},{amount:"675.05",date:"2012-02-01T23:00:00.000Z",business:"Mertz - Krajcik",name:"Personal Loan Account 3150",type:"withdrawal",account:"56962516"},{amount:"304.58",date:"2012-02-01T23:00:00.000Z",business:"Doyle - Baumbach",name:"Money Market Account 9760",type:"withdrawal",account:"77263343"},{amount:"415.99",date:"2012-02-01T23:00:00.000Z",business:"King - Mitchell",name:"Credit Card Account 2820",type:"withdrawal",account:"26728093"},{amount:"538.01",date:"2012-02-01T23:00:00.000Z",business:"Gibson, Marks and Borer",name:"Checking Account 4107",type:"withdrawal",account:"33480290"},{amount:"395.43",date:"2012-02-01T23:00:00.000Z",business:"Graham Group",name:"Investment Account 8159",type:"payment",account:"10021492"},{amount:"643.06",date:"2012-02-01T23:00:00.000Z",business:"Harris - Zulauf",name:"Auto Loan Account 6205",type:"withdrawal",account:"37757471"},{amount:"100.00",date:"2012-02-01T23:00:00.000Z",business:"Hahn, Krajcik and Krajcik",name:"Credit Card Account 1950",type:"payment",account:"10021492"},{amount:"100.00",date:"2012-02-01T23:00:00.000Z",business:"Hahn, Krajcik and Krajcik",name:"Credit Card Account 1950",type:"payment",account:"10021492"},{amount:"140.00",date:"2014-02-01T23:00:00.000Z",business:"nCino",name:"Credit Card Account 1950",type:"payment",account:"10052192"}]}function a(){return[{amount:"392.62",date:"2012-02-01T23:00:00.000Z",business:"Mohr Group",name:"Auto Loan Account 8145",type:"withdrawal",account:"99082877",selected:!0},{amount:"393.59",date:"2012-02-01T23:00:00.000Z",business:"Goodwin - Johnson",name:"Personal Loan Account 0538",type:"deposit",account:"12225144"},{isTableHeader:!0,headerText:"Some Category"},{amount:"964.47",date:"2012-02-01T23:00:00.000Z",business:"Nienow - Strosin",name:"Savings Account 8691",type:"payment",account:"98822518"},{amount:"51.38",date:"2012-02-01T23:00:00.000Z",business:"Rosenbaum Inc",name:"Money Market Account 4536",type:"deposit",account:"26946392",selected:!0},{amount:"691.89",date:"2012-02-01T23:00:00.000Z",business:"Yundt Group",name:"Personal Loan Account 0201",type:"deposit",account:"02532136"},{amount:"415.99",date:"2012-02-01T23:00:00.000Z",business:"King - Mitchell",name:"Credit Card Account 2820",type:"withdrawal",account:"26728093"},{isTableHeader:!0,headerText:"Some Other Category"},{amount:"100.00",date:"2012-02-01T23:00:00.000Z",business:"Hahn, Krajcik and Krajcik",name:"Credit Card Account 1950",type:"payment",account:"10021492"},{amount:"100.00",date:"2012-02-01T23:00:00.000Z",business:"Hahn, Krajcik and Krajcik",name:"Credit Card Account 1950",type:"payment",account:"10021492"},{amount:"140.00",date:"2014-02-01T23:00:00.000Z",business:"nCino",name:"Credit Card Account 1950",type:"payment",account:"10052192"}]}export{t as getTestData,a as getTestDataWithHeader};
1
+ function n(){return[{amount:"392.62",date:"2012-02-01T23:00:00.000Z",business:"Mohr Group",name:"Auto Loan Account 8145",type:"withdrawal",account:"99082877",selected:!0},{amount:"393.59",date:"2012-02-01T23:00:00.000Z",business:"Goodwin - Johnson",name:"Personal Loan Account 0538",type:"deposit",account:"12225144"},{amount:"964.47",date:"2012-02-01T23:00:00.000Z",business:"Nienow - Strosin",name:"Savings Account 8691",type:"payment",account:"98822518"},{amount:"51.38",date:"2012-02-01T23:00:00.000Z",business:"Rosenbaum Inc",name:"Money Market Account 4536",type:"deposit",account:"26946392",selected:!0},{amount:"691.89",date:"2012-02-01T23:00:00.000Z",business:"Yundt Group",name:"Personal Loan Account 0201",type:"deposit",account:"02532136"},{amount:"675.05",date:"2012-02-01T23:00:00.000Z",business:"Mertz - Krajcik",name:"Personal Loan Account 3150",type:"withdrawal",account:"56962516"},{amount:"304.58",date:"2012-02-01T23:00:00.000Z",business:"Doyle - Baumbach",name:"Money Market Account 9760",type:"withdrawal",account:"77263343"},{amount:"415.99",date:"2012-02-01T23:00:00.000Z",business:"King - Mitchell",name:"Credit Card Account 2820",type:"withdrawal",account:"26728093"},{amount:"538.01",date:"2012-02-01T23:00:00.000Z",business:"Gibson, Marks and Borer",name:"Checking Account 4107",type:"withdrawal",account:"33480290"},{amount:"395.43",date:"2012-02-01T23:00:00.000Z",business:"Graham Group",name:"Investment Account 8159",type:"payment",account:"10021492"},{amount:"643.06",date:"2012-02-01T23:00:00.000Z",business:"Harris - Zulauf",name:"Auto Loan Account 6205",type:"withdrawal",account:"37757471"},{amount:"100.00",date:"2012-02-01T23:00:00.000Z",business:"Hahn, Krajcik and Krajcik",name:"Credit Card Account 1950",type:"payment",account:"10021492"},{amount:"100.00",date:"2012-02-01T23:00:00.000Z",business:"Hahn, Krajcik and Krajcik",name:"Credit Card Account 1950",type:"payment",account:"10021492"},{amount:"140.00",date:"2014-02-01T23:00:00.000Z",business:"nCino",name:"Credit Card Account 1950",type:"payment",account:"10052192"}]}export{n as getTestData};
@@ -1,9 +1,8 @@
1
- import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{nothing as f,html as r}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as m}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as b}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{state as $}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js";import w from"../../../packages/web-components/src/components/table/table.tokens.scss.js";import T from"../../../packages/web-components/src/components/table/gator/table.gator.scss.js";import P from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import y from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{NjcTable as C}from"../table.js";import"../../checkbox/checkbox.gator.js";import{unsafeHTML as R}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/unsafe-html.js";import{msg as x}from"../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js";import"../../../node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js";import{unsafeCSS as g}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var B=Object.defineProperty,v=Object.getOwnPropertyDescriptor,p=(t,e,l,s)=>{for(var a=s>1?void 0:s?v(e,l):e,i=t.length-1,d;i>=0;i--)(d=t[i])&&(a=(s?d(e,l,a):d(a))||a);return s&&a&&B(e,l,a),a};let c=class extends C{constructor(){super(...arguments),this.elevated=!1,this.includePagination=!1,this.selectedRows=[],this._currentPage=1}render(){return this.columns?this.renderWrapper(this.getTableHeader(this.columns),this.getTableBody(this.columns,this.displayedRowData)):null}get tableElevatedClass(){return this.elevated?"gator-table-elevated":""}renderWrapper(t,e){return r`
2
- <table class="gator-table ${this.tableElevatedClass}" role="grid"
3
- aria-labelledby="${this.tableAriaLabelledBy}">
4
- ${t} ${e}
1
+ import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{nothing as g,html as a}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{customElement as p}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as h}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/property.js";import{state as m}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/state.js";import u from"../../../packages/web-components/src/components/table/table.tokens.scss.js";import b from"../../../packages/web-components/src/components/table/gator/table.gator.scss.js";import f from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import P from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{NjcTable as y}from"../table.js";import"../../checkbox/checkbox.gator.js";import{unsafeHTML as $}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/unsafe-html.js";import{unsafeCSS as o}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var w=Object.defineProperty,R=Object.getOwnPropertyDescriptor,d=(e,t,l,s)=>{for(var r=s>1?void 0:s?R(t,l):t,n=e.length-1,c;n>=0;n--)(c=e[n])&&(r=(s?c(t,l,r):c(r))||r);return s&&r&&w(t,l,r),r};let i=class extends y{constructor(){super(...arguments),this.elevated=!1,this.includePagination=!1,this.selectedRows=[],this._currentPage=1}render(){return this.columns?this.renderWrapper(this.getTableHeader(this.columns),this.getTableBody(this.columns,this.displayedRowData)):null}get tableElevatedClass(){return this.elevated?"gator-table-elevated":""}renderWrapper(e,t){return a`
2
+ <table class="gator-table ${this.tableElevatedClass}" role="grid" aria-labelledby="${this.tableAriaLabelledBy}">
3
+ ${e} ${t}
5
4
  </table>
6
- ${this.includePagination?r`
5
+ ${this.includePagination?a`
7
6
  <ngc-table-pagination
8
7
  items-per-page="${this.itemsPerPage}"
9
8
  total-items="${this.data.length}"
@@ -11,77 +10,33 @@ import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit
11
10
  @pagechanged="${this.handlePageChanged}"
12
11
  @itemsperpagechanged="${this.handleItemsPerPageChanged}"
13
12
  ></ngc-table-pagination>
14
- `:f}
15
- `}handlePageChanged(t){this._currentPage=t.detail.page}handleItemsPerPageChanged(t){this.itemsPerPage=t.detail.itemsPerPage}getTableHeader(t){const e=t.map(this.getTableHeaderColumn);return this.selectable&&e.unshift(r`
16
- <th id="col-select" scope="col">
17
- <ngc-checkbox
18
- title-text="${x("Select All")}"
19
- hide-label
20
- ?selected="${this.selectedRows.length===this.data.length}"
21
- @change="${l=>this.handleSelectAll(l)}"
22
- ></ngc-checkbox>
23
- </th>`),r`
24
- <thead role="rowgroup">
13
+ `:g}
14
+ `}handlePageChanged(e){this._currentPage=e.detail.page}handleItemsPerPageChanged(e){this.itemsPerPage=e.detail.itemsPerPage}getTableHeader(e){const t=e.map(this.getTableHeaderColumn);return this.selectable&&t.unshift(a`<th role="gridcell">
15
+ <ngc-checkbox
16
+ ?selected="${this.selectedRows.length===this.data.length}"
17
+ @change="${l=>this.handleSelectAll(l)}"
18
+ ></ngc-checkbox>
19
+ </th>`),a`
20
+ <thead role="rowgroup">
25
21
  <tr role="row">
26
- ${e}
22
+ ${t}
27
23
  </tr>
28
- </thead>
29
- `}handleSelectAll(t){t.detail.selected?(this.selectedRows=[...this.data],this.data.forEach(e=>{e.selected=t.detail.selected})):(this.selectedRows=[],this.data.forEach(e=>{e.selected=!1})),this.dispatchEvent(new CustomEvent("selectall",{bubbles:!0,detail:{selectedRows:this.selectedRows}})),this.requestUpdate()}getTableHeaderColumn(t){const e=`col-${t.field}`;return r`
30
- <th id="${e}" scope="col">${t.name}</th>`}getTableBody(t,e){const l=[];let s={rows:[]};return e.forEach(a=>{a.isTableHeader?((s.rows.length>0||s.header)&&l.push(s),s={header:a,rows:[]}):s.rows.push(a)}),(s.rows.length>0||s.header)&&l.push(s),l.length===0&&e.length>0&&l.push({rows:e}),r`
31
- ${l.map(a=>this.getCategoryBody(a,t))}
32
- `}getCategoryBody(t,e){let l="",s="",a="";t.header&&(l=t.header.headerText||t.header.categoryText||t.header.name||"Category",a=`category-${l.toLowerCase().replace(/\s+/g,"-")}`,s=a);const i=t.header?this.getTableHeaderRow(e,t.header):"",d=t.rows.map(n=>this.getTableBodyRow(n,e,a)),u=e.some(n=>n.includedInTotals===!0),o=t.rows.length>0&&u?this.getTotalRow(t.rows,e,a):"";return r`
33
- <tbody role="rowgroup" ${s?r`aria-labelledby="${s}"`:""}>
34
- ${i}
35
- ${d}
36
- ${o}
37
- </tbody>
38
- `}getTotalRow(t,e,l){const s={};e.forEach(o=>{s[o.field]=0,o.includedInTotals&&t.forEach(n=>{const h=this.parseNumericValue(n[o.field]);h!==null&&(s[o.field]+=h)})});const a=l?`${l}-total`:"total-row",i=r`
39
- <th
40
- id="${a}"
41
- scope="row"
42
- class="gator-table-total-label"
43
- >
44
- Total
45
- </th>
46
- `,d=e.map(o=>{const n=`col-${o.field}`,h=[a,l,n].filter(Boolean).join(" ");return o.includedInTotals?r`
47
- <td
48
- role="gridcell"
49
- headers="${h}"
50
- class="gator-table-total-cell"
51
- >
52
- ${this.formatTotal(s[o.field],o)}
53
- </td>
54
- `:r`
55
- <td
56
- role="gridcell"
57
- class="gator-table-total-cell"
58
- >
59
- &nbsp;
60
- </td>
61
- `}),u=this.selectable?[i,...d]:[i,...d.slice(1)];return r`
62
- <tr role="row" class="gator-table-total-row">
63
- ${u}
64
- </tr>
65
- `}parseNumericValue(t){if(typeof t=="number")return t;if(typeof t=="string"){const e=t.replace(/[^0-9.-]/g,""),l=parseFloat(e);if(!isNaN(l))return l}return null}formatTotal(t,e){const l=typeof e.decimalPlaces=="number"?e.decimalPlaces:2,s=t.toFixed(l);return typeof e.cellRenderer=="function"?e.cellRenderer({[e.field]:s}):s}getTableBodyRow(t,e,l){const s=e.map(a=>this.getTableBodyCell(t,a,l));if(this.selectable){const a=l?`col-select ${l}`:"col-select";s.unshift(r`
66
- <td role="gridcell" class="gator-table-checkbox-column" headers="${a}">
67
- <ngc-checkbox
68
- label="test"
69
- ?selected="${t.selected}"
70
- @change="${i=>this.handleTableBodyRowSelected(i,t)}"
71
- ></ngc-checkbox>
72
- </td>`)}return r`
73
- <tr role="row" class="${this.selectable&&t.selected?"gator-table-row-selected":""}">
74
- ${s}
75
- </tr>
76
- `}getTableHeaderRow(t,e){const l=this.selectable?t.length+1:t.length,s=e.headerText||e.categoryText||e.name||"Category";return r`
77
- <tr role="row" class="gator-table-category-header">
78
- <th role="rowheader" colspan="${l}" scope="rowgroup" class="gator-table-header-cell"
79
- id="${`category-${s.toLowerCase().replace(/\s+/g,"-")}`}">
80
- ${s}
81
- </th>
82
- </tr>
83
- `}handleTableBodyRowSelected(t,e){t.detail.selected?(e.selected=!0,this.selectedRows.push(e)):(e.selected=!1,this.selectedRows=this.selectedRows.filter(l=>l!==e)),this.dispatchEvent(new CustomEvent("rowselected",{bubbles:!0,detail:{data:e,selectedRows:this.selectedRows}})),this.requestUpdate()}get displayedRowData(){if(!this.includePagination)return this.data;const t=(this._currentPage-1)*this.itemsPerPage,e=t+this.itemsPerPage;return this.data.slice(t,e)}getTableBodyCell(t,e,l){const s=`col-${e.field}`,a=l?`${s} ${l}`:s;return r`
84
- <td role="gridcell" headers="${a}">
85
- ${R(this.getValueForCell(t,e))}
86
- </td>
87
- `}getValueForCell(t,e){return typeof e.cellRenderer=="function"?e.cellRenderer(t):t[e.field]}};c.styles=[g(y),g(P),g(w),g(T)];p([b({type:Boolean})],c.prototype,"elevated",2);p([b({type:Boolean,attribute:"include-pagination"})],c.prototype,"includePagination",2);p([$()],c.prototype,"_currentPage",2);c=p([m("ngc-table")],c);export{c as NgcTable};
24
+ </thead>
25
+ `}handleSelectAll(e){e.detail.selected?(this.selectedRows=[...this.data],this.data.forEach(t=>{t.selected=e.detail.selected})):(this.selectedRows=[],this.data.forEach(t=>{t.selected=!1})),this.dispatchEvent(new CustomEvent("selectall",{bubbles:!0,detail:{selectedRows:this.selectedRows}})),this.requestUpdate()}getTableHeaderColumn(e){return a`<th>${e.name}</th>`}getTableBody(e,t){const l=t.map(s=>this.getTableBodyRow(s,e));return a`
26
+ <tbody role="rowgroup">
27
+ ${l}
28
+ </tbody>
29
+ `}getTableBodyRow(e,t){const l=t.map(s=>this.getTableBodyCell(e,s));return this.selectable&&l.unshift(a`<td role="gridcell" class="gator-table-checkbox-column">
30
+ <ngc-checkbox
31
+ ?selected="${e.selected}"
32
+ @change="${s=>this.handleTableBodyRowSelected(s,e)}"
33
+ ></ngc-checkbox>
34
+ </td>`),a`
35
+ <tr role="row" class="${this.selectable&&e.selected?"gator-table-row-selected":""}">
36
+ ${l}
37
+ </tr>
38
+ `}handleTableBodyRowSelected(e,t){e.detail.selected?(t.selected=!0,this.selectedRows.push(t)):(t.selected=!1,this.selectedRows=this.selectedRows.filter(l=>l!==t)),this.dispatchEvent(new CustomEvent("rowselected",{bubbles:!0,detail:{data:t,selectedRows:this.selectedRows}})),this.requestUpdate()}get displayedRowData(){if(!this.includePagination)return this.data;const e=(this._currentPage-1)*this.itemsPerPage,t=e+this.itemsPerPage;return this.data.slice(e,t)}getTableBodyCell(e,t){return a`
39
+ <td role="gridcell">
40
+ ${$(this.getValueForCell(e,t))}
41
+ </td>
42
+ `}getValueForCell(e,t){return typeof t.cellRenderer=="function"?t.cellRenderer(e):e[t.field]}};i.styles=[o(P),o(f),o(u),o(b)];d([h({type:Boolean})],i.prototype,"elevated",2);d([h({type:Boolean,attribute:"include-pagination"})],i.prototype,"includePagination",2);d([m()],i.prototype,"_currentPage",2);i=d([p("ngc-table")],i);export{i as NgcTable};
@@ -1,4 +1,4 @@
1
- import{NjcTooltip as f}from"../tooltip.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as a}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as m}from"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{ref as u}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{customElement as c}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import h from"../../../packages/web-components/src/components/tooltip/gator/tooltip.gator.scss.js";import g from"../../../packages/web-components/src/components/tooltip/tooltip.scss.js";import b from"../../../packages/web-components/src/components/tooltip/tooltip.tokens.scss.js";import d from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import _ from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{autoUpdate as v,computePosition as O}from"../../../node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";import{unsafeCSS as o}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var y=Object.getOwnPropertyDescriptor,x=(t,e,r,l)=>{for(var i=l>1?void 0:l?y(e,r):e,n=t.length-1,p;n>=0;n--)(p=t[n])&&(i=p(i)||i);return i};let s=class extends f{render(){return a`
1
+ import{NjcTooltip as f}from"../tooltip.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as a}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import{LitElement as m}from"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{ref as u}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{customElement as c}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import h from"../../../packages/web-components/src/components/tooltip/gator/tooltip.gator.scss.js";import g from"../../../packages/web-components/src/components/tooltip/tooltip.scss.js";import b from"../../../packages/web-components/src/components/tooltip/tooltip.tokens.scss.js";import d from"../../../packages/web-components/src/tokens/primitive.tokens.scss.js";import _ from"../../../packages/web-components/src/tokens/semantic.tokens.scss.js";import{autoUpdate as v,computePosition as O}from"../../../node_modules/.pnpm/@floating-ui_dom@1.7.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";import{unsafeCSS as o}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var y=Object.getOwnPropertyDescriptor,x=(t,e,r,l)=>{for(var i=l>1?void 0:l?y(e,r):e,n=t.length-1,p;n>=0;n--)(p=t[n])&&(i=p(i)||i);return i};let s=class extends f{render(){return a`
2
2
  <div ${u(this._tooltipRef)} class="gator-tooltip ${this.nubbinPositionClass}" role="tooltip" id="${this.tooltipId}">
3
3
  <div class="gator-tooltip-body">
4
4
  <slot></slot>
@@ -1,4 +1,4 @@
1
- import{NjcTooltip as u}from"../tooltip.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as a}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{ref as f}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{customElement as c}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import m from"../../../packages/web-components/src/index.slds.scss.js";import b from"../../../packages/web-components/src/components/tooltip/tooltip.scss.js";import{autoUpdate as d,computePosition as h}from"../../../node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";import{unsafeCSS as p}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var _=Object.getOwnPropertyDescriptor,v=(t,e,o,n)=>{for(var s=n>1?void 0:n?_(e,o):e,i=t.length-1,l;i>=0;i--)(l=t[i])&&(s=l(s)||s);return s};let r=class extends u{render(){return a`
1
+ import{NjcTooltip as u}from"../tooltip.js";import"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/reactive-element.js";import{html as a}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/lit-html.js";import"../../../node_modules/.pnpm/lit-element@4.2.0/node_modules/lit-element/lit-element.js";import{ref as f}from"../../../node_modules/.pnpm/lit-html@3.3.0/node_modules/lit-html/directives/ref.js";import{customElement as c}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/decorators/custom-element.js";import m from"../../../packages/web-components/src/index.slds.scss.js";import b from"../../../packages/web-components/src/components/tooltip/tooltip.scss.js";import{autoUpdate as d,computePosition as h}from"../../../node_modules/.pnpm/@floating-ui_dom@1.7.1/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";import{unsafeCSS as p}from"../../../node_modules/.pnpm/@lit_reactive-element@2.1.0/node_modules/@lit/reactive-element/css-tag.js";var _=Object.getOwnPropertyDescriptor,v=(t,e,o,n)=>{for(var s=n>1?void 0:n?_(e,o):e,i=t.length-1,l;i>=0;i--)(l=t[i])&&(s=l(s)||s);return s};let r=class extends u{render(){return a`
2
2
  <div data-id="tooltip" ${f(this._tooltipRef)} class="slds-popover slds-popover_tooltip ${this.nubbinPositionClass}" role="tooltip">
3
3
  <div class="slds-popover__body">
4
4
  <slot></slot>
@@ -1,4 +1,4 @@
1
- import{Plugin as f,Command as v}from"../../../../../@ckeditor_ckeditor5-core@45.2.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{logWarning as y,CKEditorError as g,first as x}from"../../../../../@ckeditor_ckeditor5-utils@45.2.1/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{ButtonView as B,createDropdown as T,addToolbarToDropdown as E,MenuBarMenuView as k,MenuBarMenuListView as D,MenuBarMenuListItemView as V,MenuBarMenuListItemButtonView as I}from"../../../../../@ckeditor_ckeditor5-ui@45.2.1/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{IconAlignLeft as M,IconAlignRight as N,IconAlignCenter as L,IconAlignJustify as O}from"../../../../../@ckeditor_ckeditor5-icons@45.2.1/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";/**
1
+ import{Plugin as f,Command as v}from"../../../../../@ckeditor_ckeditor5-core@45.2.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{logWarning as y,CKEditorError as g,first as x}from"../../../../../@ckeditor_ckeditor5-utils@45.2.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{ButtonView as B,createDropdown as T,addToolbarToDropdown as E,MenuBarMenuView as k,MenuBarMenuListView as D,MenuBarMenuListItemView as V,MenuBarMenuListItemButtonView as I}from"../../../../../@ckeditor_ckeditor5-ui@45.2.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{IconAlignLeft as M,IconAlignRight as N,IconAlignCenter as L,IconAlignJustify as O}from"../../../../../@ckeditor_ckeditor5-icons@45.2.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */const b=["left","right","center","justify"];function p(i){return b.includes(i)}function w(i,e){return e.contentLanguageDirection=="rtl"?i==="right":i==="left"}function A(i){const e=i.map(t=>{let o;return typeof t=="string"?o={name:t}:o=t,o}).filter(t=>{const o=b.includes(t.name);return o||y("alignment-config-name-not-recognized",{option:t}),o}),n=e.filter(t=>!!t.className).length;if(n&&n<e.length)throw new g("alignment-config-classnames-are-missing",{configuredOptions:i});return e.forEach((t,o,a)=>{const s=a.slice(o+1);if(s.some(r=>r.name==t.name))throw new g("alignment-config-name-already-defined",{option:t,configuredOptions:i});if(t.className&&s.some(l=>l.className==t.className))throw new g("alignment-config-classname-already-defined",{option:t,configuredOptions:i})}),e}const h="alignment";class _ extends v{refresh(){const n=this.editor.locale,t=x(this.editor.model.document.selection.getSelectedBlocks());this.isEnabled=!!t&&this._canBeAligned(t),this.isEnabled&&t.hasAttribute("alignment")?this.value=t.getAttribute("alignment"):this.value=n.contentLanguageDirection==="rtl"?"right":"left"}execute(e={}){const n=this.editor,t=n.locale,o=n.model,a=o.document,s=e.value;o.change(c=>{const r=Array.from(a.selection.getSelectedBlocks()).filter(d=>this._canBeAligned(d)),l=r[0].getAttribute("alignment");w(s,t)||l===s||!s?C(r,c):z(r,c,s)})}_canBeAligned(e){return this.editor.model.schema.checkAttribute(e,h)}}function C(i,e){for(const n of i)e.removeAttribute(h,n)}function z(i,e,n){for(const t of i)e.setAttribute(h,n,t)}class F extends f{static get pluginName(){return"AlignmentEditing"}static get isOfficialPlugin(){return!0}constructor(e){super(e),e.config.define("alignment",{options:b.map(n=>({name:n}))})}init(){const e=this.editor,n=e.locale,t=e.model.schema,a=A(e.config.get("alignment.options")).filter(l=>p(l.name)&&!w(l.name,n)),s=a.some(l=>!!l.className);t.extend("$block",{allowAttributes:"alignment"}),e.model.schema.setAttributeProperties("alignment",{isFormatting:!0}),s?e.conversion.attributeToAttribute(j(a)):e.conversion.for("downcast").attributeToAttribute(P(a));const c=S(a);for(const l of c)e.conversion.for("upcast").attributeToAttribute(l);const r=U(a);for(const l of r)e.conversion.for("upcast").attributeToAttribute(l);e.commands.add("alignment",new _(e))}}function P(i){const e={};for(const{name:t}of i)e[t]={key:"style",value:{"text-align":t}};return{model:{key:"alignment",values:i.map(t=>t.name)},view:e}}function S(i){const e=[];for(const{name:n}of i)e.push({view:{key:"style",value:{"text-align":n}},model:{key:"alignment",value:n}});return e}function U(i){const e=[];for(const{name:n}of i)e.push({view:{key:"align",value:n},model:{key:"alignment",value:n}});return e}function j(i){const e={};for(const t of i)e[t.name]={key:"class",value:t.className};return{model:{key:"alignment",values:i.map(t=>t.name)},view:e}}const u=new Map([["left",M],["right",N],["center",L],["justify",O]]);class J extends f{get localizedOptionTitles(){const e=this.editor.t;return{left:e("Align left"),right:e("Align right"),center:e("Align center"),justify:e("Justify")}}static get pluginName(){return"AlignmentUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor,n=A(e.config.get("alignment.options"));n.map(t=>t.name).filter(p).forEach(t=>this._addButton(t)),this._addToolbarDropdown(n),this._addMenuBarMenu(n)}_addButton(e){this.editor.ui.componentFactory.add(`alignment:${e}`,t=>this._createButton(t,e))}_createButton(e,n,t={}){const o=this.editor,a=o.commands.get("alignment"),s=new B(e);return s.set({label:this.localizedOptionTitles[n],icon:u.get(n),tooltip:!0,isToggleable:!0,...t}),s.bind("isEnabled").to(a),s.bind("isOn").to(a,"value",c=>c===n),this.listenTo(s,"execute",()=>{o.execute("alignment",{value:n}),o.editing.view.focus()}),s}_addToolbarDropdown(e){const n=this.editor;n.ui.componentFactory.add("alignment",o=>{const a=T(o),s=o.uiLanguageDirection==="rtl"?"w":"e",c=o.t;E(a,()=>e.map(m=>this._createButton(o,m.name,{tooltipPosition:s})),{enableActiveItemFocusOnDropdownOpen:!0,isVertical:!0,ariaLabel:c("Text alignment toolbar")}),a.buttonView.set({label:c("Text alignment"),tooltip:!0}),a.extendTemplate({attributes:{class:"ck-alignment-dropdown"}});const r=o.contentLanguageDirection==="rtl"?u.get("right"):u.get("left"),l=n.commands.get("alignment");return a.buttonView.bind("icon").to(l,"value",m=>u.get(m)||r),a.bind("isEnabled").to(l,"isEnabled"),this.listenTo(a,"execute",()=>{n.editing.view.focus()}),a})}_addMenuBarMenu(e){const n=this.editor;n.ui.componentFactory.add("menuBar:alignment",t=>{const o=n.commands.get("alignment"),a=t.t,s=new k(t),c=new D(t);s.bind("isEnabled").to(o),c.set({ariaLabel:a("Text alignment"),role:"menu"}),s.buttonView.set({label:a("Text alignment")});for(const r of e){const l=new V(t,s),m=new I(t);m.delegate("execute").to(s),m.set({label:this.localizedOptionTitles[r.name],icon:u.get(r.name),role:"menuitemcheckbox",isToggleable:!0}),m.on("execute",()=>{n.execute("alignment",{value:r.name}),n.editing.view.focus()}),m.bind("isOn").to(o,"value",d=>d===r.name),m.bind("isEnabled").to(o,"isEnabled"),l.children.add(m),c.items.add(l)}return s.panelView.children.add(c),s})}}class K extends f{static get requires(){return[F,J]}static get pluginName(){return"Alignment"}static get isOfficialPlugin(){return!0}}export{K as Alignment,F as AlignmentEditing,J as AlignmentUI};
@@ -1,4 +1,4 @@
1
- import{Plugin as C}from"../../../../../@ckeditor_ckeditor5-core@45.2.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Delete as E}from"../../../../../@ckeditor_ckeditor5-typing@45.2.1/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{LiveRange as y}from"../../../../../@ckeditor_ckeditor5-engine@45.2.1/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import{first as B}from"../../../../../@ckeditor_ckeditor5-utils@45.2.1/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
1
+ import{Plugin as C}from"../../../../../@ckeditor_ckeditor5-core@45.2.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Delete as E}from"../../../../../@ckeditor_ckeditor5-typing@45.2.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{LiveRange as y}from"../../../../../@ckeditor_ckeditor5-engine@45.2.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import{first as B}from"../../../../../@ckeditor_ckeditor5-utils@45.2.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */function h(o,t,e,n){let c,i=null;typeof n=="function"?c=n:(i=o.commands.get(n),c=()=>{o.execute(n)}),o.model.document.on("change:data",(k,d)=>{if(i&&!i.isEnabled||!t.isEnabled)return;const r=B(o.model.document.selection.getRanges());if(!r.isCollapsed||d.isUndo||!d.isLocal)return;const g=Array.from(o.model.document.differ.getChanges()),a=g[0];if(g.length!=1||a.type!=="insert"||a.name!="$text"||a.length!=1)return;const s=a.position.parent;if(s.is("element","codeBlock")||s.is("element","listItem")&&typeof n!="function"&&!["numberedList","bulletedList","todoList"].includes(n)||i&&i.value===!0)return;const l=s.getChild(0),f=o.model.createRangeOn(l);if(!f.containsRange(r)&&!r.end.isEqual(f.end))return;const m=e.exec(l.data.substr(0,r.end.offset));m&&o.model.enqueueChange(u=>{const p=u.createPositionAt(s,0),x=u.createPositionAt(s,m[0].length),b=new y(p,x);if(c({match:m})!==!1){u.remove(b);const _=o.model.document.selection.getFirstRange(),L=u.createRangeIn(s);s.isEmpty&&!L.isEqual(_)&&!L.containsRange(_,!0)&&u.remove(s)}b.detach(),o.model.enqueueChange(()=>{o.plugins.get("Delete").requestUndoOnBackspace()})})})}/**
@@ -1,4 +1,4 @@
1
- var h=Object.defineProperty;var c=(s,i,t)=>i in s?h(s,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[i]=t;var e=(s,i,t)=>c(s,typeof i!="symbol"?i+"":i,t);import{Plugin as d,PendingActions as r}from"../../../../../@ckeditor_ckeditor5-core@45.2.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{DomEmitterMixin as m}from"../../../../../@ckeditor_ckeditor5-utils@45.2.1/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{debounce as _}from"../../../../../es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/debounce.js";/**
1
+ var h=Object.defineProperty;var c=(s,i,t)=>i in s?h(s,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[i]=t;var e=(s,i,t)=>c(s,typeof i!="symbol"?i+"":i,t);import{Plugin as d,PendingActions as r}from"../../../../../@ckeditor_ckeditor5-core@45.2.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{DomEmitterMixin as m}from"../../../../../@ckeditor_ckeditor5-utils@45.2.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{debounce as _}from"../../../../../es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/debounce.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */class f extends d{constructor(t){super(t);e(this,"adapter");e(this,"_debouncedSave");e(this,"_lastDocumentVersion");e(this,"_savePromise");e(this,"_domEmitter");e(this,"_config");e(this,"_pendingActions");e(this,"_makeImmediateSave");e(this,"_action",null);const n=t.config.get("autosave")||{},a=n.waitingTime||1e3;this.set("state","synchronized"),this._debouncedSave=_(this._save.bind(this),a),this._lastDocumentVersion=t.model.document.version,this._savePromise=null,this._domEmitter=new(m()),this._config=n,this._pendingActions=t.plugins.get(r),this._makeImmediateSave=!1}static get pluginName(){return"Autosave"}static get isOfficialPlugin(){return!0}static get requires(){return[r]}init(){const t=this.editor,n=t.model.document;this.listenTo(t,"ready",()=>{this.listenTo(n,"change:data",(a,o)=>{this._saveCallbacks.length&&o.isLocal&&(this.state==="synchronized"&&(this.state="waiting",this._setPendingAction()),this.state==="waiting"&&this._debouncedSave())})}),this.listenTo(t,"destroy",()=>this._flush(),{priority:"highest"});/* istanbul ignore next -- @preserve */this._domEmitter.listenTo(window,"beforeunload",(a,o)=>{this._pendingActions.hasAny&&(o.returnValue=this._pendingActions.first.message)})}destroy(){this._domEmitter.stopListening(),super.destroy()}save(){return this._debouncedSave.cancel(),this._save()}_flush(){this._debouncedSave.flush()}_save(){return this._savePromise?(this._makeImmediateSave=this.editor.model.document.version>this._lastDocumentVersion,this._savePromise):(this._setPendingAction(),this.state="saving",this._lastDocumentVersion=this.editor.model.document.version,this._savePromise=Promise.resolve().then(()=>Promise.all(this._saveCallbacks.map(t=>t(this.editor)))).finally(()=>{this._savePromise=null}).then(()=>{if(this._makeImmediateSave)return this._makeImmediateSave=!1,this._save();this.editor.model.document.version>this._lastDocumentVersion?(this.state="waiting",this._debouncedSave()):(this.state="synchronized",this._pendingActions.remove(this._action),this._action=null)}).catch(t=>{throw this.state="error",this.state="saving",this._debouncedSave(),t}),this._savePromise)}_setPendingAction(){const t=this.editor.t;this._action||(this._action=this._pendingActions.add(t("Saving changes")))}get _saveCallbacks(){const t=[];return this.adapter&&this.adapter.save&&t.push(this.adapter.save),this._config.save&&t.push(this._config.save),t}}export{f as Autosave};
@@ -1,4 +1,4 @@
1
- var U=Object.defineProperty;var w=(s,t,e)=>t in s?U(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var B=(s,t,e)=>w(s,typeof t!="symbol"?t+"":t,e);import{Plugin as r,Command as F}from"../../../../../@ckeditor_ckeditor5-core@45.2.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{IconBold as R,IconCode as v,IconItalic as L,IconStrikethrough as K,IconSubscript as $,IconSuperscript as H,IconUnderline as q}from"../../../../../@ckeditor_ckeditor5-icons@45.2.1/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as d,MenuBarMenuListItemButtonView as a}from"../../../../../@ckeditor_ckeditor5-ui@45.2.1/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{TwoStepCaretMovement as N,inlineHighlight as V}from"../../../../../@ckeditor_ckeditor5-typing@45.2.1/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";/**
1
+ var U=Object.defineProperty;var w=(s,t,e)=>t in s?U(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e;var B=(s,t,e)=>w(s,typeof t!="symbol"?t+"":t,e);import{Plugin as r,Command as F}from"../../../../../@ckeditor_ckeditor5-core@45.2.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{IconBold as R,IconCode as v,IconItalic as L,IconStrikethrough as K,IconSubscript as $,IconSuperscript as H,IconUnderline as q}from"../../../../../@ckeditor_ckeditor5-icons@45.2.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as d,MenuBarMenuListItemButtonView as a}from"../../../../../@ckeditor_ckeditor5-ui@45.2.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{TwoStepCaretMovement as N,inlineHighlight as V}from"../../../../../@ckeditor_ckeditor5-typing@45.2.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */class g extends F{constructor(e,i){super(e);B(this,"attributeKey");this.attributeKey=i}refresh(){const e=this.editor.model,i=e.document;this.value=this._getValueFromFirstAllowedNode(),this.isEnabled=e.schema.checkAttributeInSelection(i.selection,this.attributeKey)}execute(e={}){const i=this.editor.model,p=i.document.selection,c=e.forceValue===void 0?!this.value:e.forceValue;i.change(u=>{if(p.isCollapsed)c?u.setSelectionAttribute(this.attributeKey,!0):u.removeSelectionAttribute(this.attributeKey);else{const o=i.schema.getValidRanges(p.getRanges(),this.attributeKey);for(const P of o)c?u.setAttribute(this.attributeKey,c,P):u.removeAttribute(this.attributeKey,P)}})}_getValueFromFirstAllowedNode(){const e=this.editor.model,i=e.schema,n=e.document.selection;if(n.isCollapsed)return n.hasAttribute(this.attributeKey);for(const p of n.getRanges())for(const c of p.getItems())if(i.checkAttribute(c,this.attributeKey))return c.hasAttribute(this.attributeKey);return!1}}const h="bold";class D extends r{static get pluginName(){return"BoldEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=this.editor.t;t.model.schema.extend("$text",{allowAttributes:h}),t.model.schema.setAttributeProperties(h,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:h,view:"strong",upcastAlso:["b",i=>{const n=i.getStyle("font-weight");return n&&(n=="bold"||Number(n)>=600)?{name:!0,styles:["font-weight"]}:null}]}),t.commands.add(h,new g(t,h)),t.keystrokes.set("CTRL+B",h),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Bold text"),keystroke:"CTRL+B"}]})}}function m({editor:s,commandName:t,plugin:e,icon:i,label:n,keystroke:p}){return c=>{const u=s.commands.get(t),o=new c(s.locale);return o.set({label:n,icon:i,keystroke:p,isToggleable:!0}),o.bind("isEnabled").to(u,"isEnabled"),o.bind("isOn").to(u,"value"),o instanceof a?o.set({role:"menuitemcheckbox"}):o.set({tooltip:!0}),e.listenTo(o,"execute",()=>{s.execute(t),s.editing.view.focus()}),o}}const x="bold";class G extends r{static get pluginName(){return"BoldUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=m({editor:t,commandName:x,plugin:this,icon:R,label:e("Bold"),keystroke:"CTRL+B"});t.ui.componentFactory.add(x,()=>i(d)),t.ui.componentFactory.add("menuBar:"+x,()=>i(a))}}class at extends r{static get requires(){return[D,G]}static get pluginName(){return"Bold"}static get isOfficialPlugin(){return!0}}const l="code",M="ck-code_selected";class _ extends r{static get pluginName(){return"CodeEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[N]}init(){const t=this.editor,e=this.editor.t;t.model.schema.extend("$text",{allowAttributes:l}),t.model.schema.setAttributeProperties(l,{isFormatting:!0,copyOnEnter:!1}),t.conversion.attributeToElement({model:l,view:"code"}),t.commands.add(l,new g(t,l)),t.plugins.get(N).registerAttribute(l),V(t,l,"code",M),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Move out of an inline code style"),keystroke:[["arrowleft","arrowleft"],["arrowright","arrowright"]]}]})}}const S="code";class X extends r{static get pluginName(){return"CodeUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=m({editor:t,commandName:S,plugin:this,icon:v,label:e("Code")});t.ui.componentFactory.add(S,()=>i(d)),t.ui.componentFactory.add("menuBar:"+S,()=>i(a))}}class ut extends r{static get requires(){return[_,X]}static get pluginName(){return"Code"}static get isOfficialPlugin(){return!0}}const b="italic";class W extends r{static get pluginName(){return"ItalicEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=this.editor.t;t.model.schema.extend("$text",{allowAttributes:b}),t.model.schema.setAttributeProperties(b,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:b,view:"i",upcastAlso:["em",{styles:{"font-style":"italic"}}]}),t.commands.add(b,new g(t,b)),t.keystrokes.set("CTRL+I",b),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Italic text"),keystroke:"CTRL+I"}]})}}const E="italic";class j extends r{static get pluginName(){return"ItalicUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=m({editor:t,commandName:E,plugin:this,icon:L,keystroke:"CTRL+I",label:e("Italic")});t.ui.componentFactory.add(E,()=>i(d)),t.ui.componentFactory.add("menuBar:"+E,()=>i(a))}}class lt extends r{static get requires(){return[W,j]}static get pluginName(){return"Italic"}static get isOfficialPlugin(){return!0}}const f="strikethrough";class z extends r{static get pluginName(){return"StrikethroughEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=this.editor.t;t.model.schema.extend("$text",{allowAttributes:f}),t.model.schema.setAttributeProperties(f,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:f,view:"s",upcastAlso:["del","strike",{styles:{"text-decoration":"line-through"}}]}),t.commands.add(f,new g(t,f)),t.keystrokes.set("CTRL+SHIFT+X","strikethrough"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Strikethrough text"),keystroke:"CTRL+SHIFT+X"}]})}}const T="strikethrough";class J extends r{static get pluginName(){return"StrikethroughUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=m({editor:t,commandName:T,plugin:this,icon:K,keystroke:"CTRL+SHIFT+X",label:e("Strikethrough")});t.ui.componentFactory.add(T,()=>i(d)),t.ui.componentFactory.add("menuBar:"+T,()=>i(a))}}class dt extends r{static get requires(){return[z,J]}static get pluginName(){return"Strikethrough"}static get isOfficialPlugin(){return!0}}const y="subscript";class Q extends r{static get pluginName(){return"SubscriptEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:y}),t.model.schema.setAttributeProperties(y,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:y,view:"sub",upcastAlso:[{styles:{"vertical-align":"sub"}}]}),t.commands.add(y,new g(t,y))}}const A="subscript";class Y extends r{static get pluginName(){return"SubscriptUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=m({editor:t,commandName:A,plugin:this,icon:$,label:e("Subscript")});t.ui.componentFactory.add(A,()=>i(d)),t.ui.componentFactory.add("menuBar:"+A,()=>i(a))}}class gt extends r{static get requires(){return[Q,Y]}static get pluginName(){return"Subscript"}static get isOfficialPlugin(){return!0}}const k="superscript";class Z extends r{static get pluginName(){return"SuperscriptEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor;t.model.schema.extend("$text",{allowAttributes:k}),t.model.schema.setAttributeProperties(k,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:k,view:"sup",upcastAlso:[{styles:{"vertical-align":"super"}}]}),t.commands.add(k,new g(t,k))}}const C="superscript";class tt extends r{static get pluginName(){return"SuperscriptUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=m({editor:t,commandName:C,plugin:this,icon:H,label:e("Superscript")});t.ui.componentFactory.add(C,()=>i(d)),t.ui.componentFactory.add("menuBar:"+C,()=>i(a))}}class mt extends r{static get requires(){return[Z,tt]}static get pluginName(){return"Superscript"}static get isOfficialPlugin(){return!0}}const I="underline";class et extends r{static get pluginName(){return"UnderlineEditing"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=this.editor.t;t.model.schema.extend("$text",{allowAttributes:I}),t.model.schema.setAttributeProperties(I,{isFormatting:!0,copyOnEnter:!0}),t.conversion.attributeToElement({model:I,view:"u",upcastAlso:{styles:{"text-decoration":"underline"}}}),t.commands.add(I,new g(t,I)),t.keystrokes.set("CTRL+U","underline"),t.accessibility.addKeystrokeInfos({keystrokes:[{label:e("Underline text"),keystroke:"CTRL+U"}]})}}const O="underline";class it extends r{static get pluginName(){return"UnderlineUI"}static get isOfficialPlugin(){return!0}init(){const t=this.editor,e=t.locale.t,i=m({editor:t,commandName:O,plugin:this,icon:q,label:e("Underline"),keystroke:"CTRL+U"});t.ui.componentFactory.add(O,()=>i(d)),t.ui.componentFactory.add("menuBar:"+O,()=>i(a))}}class pt extends r{static get requires(){return[et,it]}static get pluginName(){return"Underline"}static get isOfficialPlugin(){return!0}}export{g as AttributeCommand,at as Bold,D as BoldEditing,G as BoldUI,ut as Code,_ as CodeEditing,X as CodeUI,lt as Italic,W as ItalicEditing,j as ItalicUI,dt as Strikethrough,z as StrikethroughEditing,J as StrikethroughUI,gt as Subscript,Q as SubscriptEditing,Y as SubscriptUI,mt as Superscript,Z as SuperscriptEditing,tt as SuperscriptUI,pt as Underline,et as UnderlineEditing,it as UnderlineUI};
@@ -1,4 +1,4 @@
1
- import{Plugin as m,Command as b}from"../../../../../@ckeditor_ckeditor5-core@45.2.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Enter as Q}from"../../../../../@ckeditor_ckeditor5-enter@45.2.1/node_modules/@ckeditor/ckeditor5-enter/dist/index.js";import{Delete as g}from"../../../../../@ckeditor_ckeditor5-typing@45.2.1/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{first as f}from"../../../../../@ckeditor_ckeditor5-utils@45.2.1/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{IconQuote as B}from"../../../../../@ckeditor_ckeditor5-icons@45.2.1/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as v,MenuBarMenuListItemButtonView as E}from"../../../../../@ckeditor_ckeditor5-ui@45.2.1/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";/**
1
+ import{Plugin as m,Command as b}from"../../../../../@ckeditor_ckeditor5-core@45.2.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{Enter as Q}from"../../../../../@ckeditor_ckeditor5-enter@45.2.0/node_modules/@ckeditor/ckeditor5-enter/dist/index.js";import{Delete as g}from"../../../../../@ckeditor_ckeditor5-typing@45.2.0/node_modules/@ckeditor/ckeditor5-typing/dist/index.js";import{first as f}from"../../../../../@ckeditor_ckeditor5-utils@45.2.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{IconQuote as B}from"../../../../../@ckeditor_ckeditor5-icons@45.2.0/node_modules/@ckeditor/ckeditor5-icons/dist/index.js";import{ButtonView as v,MenuBarMenuListItemButtonView as E}from"../../../../../@ckeditor_ckeditor5-ui@45.2.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */class x extends b{refresh(){this.value=this._getValue(),this.isEnabled=this._checkEnabled()}execute(e={}){const t=this.editor.model,o=t.schema,i=t.document.selection,n=Array.from(i.getSelectedBlocks()),s=e.forceValue===void 0?!this.value:e.forceValue;t.change(u=>{if(!s)this._removeQuote(u,n.filter(d));else{const r=n.filter(c=>d(c)||k(o,c));this._applyQuote(u,r)}})}_getValue(){const e=this.editor.model.document.selection,t=f(e.getSelectedBlocks());return!!(t&&d(t))}_checkEnabled(){if(this.value)return!0;const e=this.editor.model.document.selection,t=this.editor.model.schema,o=f(e.getSelectedBlocks());return o?k(t,o):!1}_removeQuote(e,t){h(e,t).reverse().forEach(o=>{if(o.start.isAtStart&&o.end.isAtEnd){e.unwrap(o.start.parent);return}if(o.start.isAtStart){const n=e.createPositionBefore(o.start.parent);e.move(o,n);return}o.end.isAtEnd||e.split(o.end);const i=e.createPositionAfter(o.end.parent);e.move(o,i)})}_applyQuote(e,t){const o=[];h(e,t).reverse().forEach(i=>{let n=d(i.start);n||(n=e.createElement("blockQuote"),e.wrap(i,n)),o.push(n)}),o.reverse().reduce((i,n)=>i.nextSibling==n?(e.merge(e.createPositionAfter(i)),i):n)}}function d(l){return l.parent.name=="blockQuote"?l.parent:null}function h(l,e){let t,o=0;const i=[];for(;o<e.length;){const n=e[o],s=e[o+1];t||(t=l.createPositionBefore(n)),(!s||n.nextSibling!=s)&&(i.push(l.createRange(t,l.createPositionAfter(n))),t=null),o++}return i}function k(l,e){const t=l.checkChild(e.parent,"blockQuote"),o=l.checkChild(["$root","blockQuote"],e);return t&&o}class P extends m{static get pluginName(){return"BlockQuoteEditing"}static get isOfficialPlugin(){return!0}static get requires(){return[Q,g]}init(){const e=this.editor,t=e.model.schema;e.commands.add("blockQuote",new x(e)),t.register("blockQuote",{inheritAllFrom:"$container"}),e.conversion.elementToElement({model:"blockQuote",view:"blockquote"}),e.model.document.registerPostFixer(s=>{const u=e.model.document.differ.getChanges();for(const r of u)if(r.type=="insert"){const c=r.position.nodeAfter;if(!c)continue;if(c.is("element","blockQuote")&&c.isEmpty)return s.remove(c),!0;if(c.is("element","blockQuote")&&!t.checkChild(r.position,c))return s.unwrap(c),!0;if(c.is("element")){const p=s.createRangeIn(c);for(const a of p.getItems())if(a.is("element","blockQuote")&&!t.checkChild(s.createPositionBefore(a),a))return s.unwrap(a),!0}}else if(r.type=="remove"){const c=r.position.parent;if(c.is("element","blockQuote")&&c.isEmpty)return s.remove(c),!0}return!1});const o=this.editor.editing.view.document,i=e.model.document.selection,n=e.commands.get("blockQuote");this.listenTo(o,"enter",(s,u)=>{if(!i.isCollapsed||!n.value)return;i.getLastPosition().parent.isEmpty&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),u.preventDefault(),s.stop())},{context:"blockquote"}),this.listenTo(o,"delete",(s,u)=>{if(u.direction!="backward"||!i.isCollapsed||!n.value)return;const r=i.getLastPosition().parent;r.isEmpty&&!r.previousSibling&&(e.execute("blockQuote"),e.editing.view.scrollToTheSelection(),u.preventDefault(),s.stop())},{context:"blockquote"})}}class A extends m{static get pluginName(){return"BlockQuoteUI"}static get isOfficialPlugin(){return!0}init(){const e=this.editor;e.ui.componentFactory.add("blockQuote",()=>{const t=this._createButton(v);return t.set({tooltip:!0}),t}),e.ui.componentFactory.add("menuBar:blockQuote",()=>{const t=this._createButton(E);return t.set({role:"menuitemcheckbox"}),t})}_createButton(e){const t=this.editor,o=t.locale,i=t.commands.get("blockQuote"),n=new e(t.locale),s=o.t;return n.set({label:s("Block quote"),icon:B,isToggleable:!0}),n.bind("isEnabled").to(i,"isEnabled"),n.bind("isOn").to(i,"value"),this.listenTo(n,"execute",()=>{t.execute("blockQuote"),t.editing.view.focus()}),n}}class V extends m{static get requires(){return[P,A]}static get pluginName(){return"BlockQuote"}static get isOfficialPlugin(){return!0}}export{V as BlockQuote,P as BlockQuoteEditing,A as BlockQuoteUI};
@@ -1,4 +1,4 @@
1
- var re=Object.defineProperty;var ne=(l,a,e)=>a in l?re(l,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[a]=e;var m=(l,a,e)=>ne(l,typeof a!="symbol"?a+"":a,e);import{Plugin as _}from"../../../../../@ckeditor_ckeditor5-core@45.2.1/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{EventInfo as j,uid as H,delay as K,DomEmitterMixin as S,env as b,global as f,createElement as B,Rect as k,getRangeFromMouseEvent as ie,ResizeObserver as oe,toUnit as se}from"../../../../../@ckeditor_ckeditor5-utils@45.2.1/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{MouseObserver as ae,LiveRange as w,DomEventObserver as le,DataTransfer as ce,Range as de}from"../../../../../@ckeditor_ckeditor5-engine@45.2.1/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import{Widget as ge,isWidget as y}from"../../../../../@ckeditor_ckeditor5-widget@45.2.1/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{View as pe}from"../../../../../@ckeditor_ckeditor5-ui@45.2.1/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{mapValues as me}from"../../../../../es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/mapValues.js";import{throttle as L}from"../../../../../es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/throttle.js";/**
1
+ var re=Object.defineProperty;var ne=(l,a,e)=>a in l?re(l,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):l[a]=e;var m=(l,a,e)=>ne(l,typeof a!="symbol"?a+"":a,e);import{Plugin as _}from"../../../../../@ckeditor_ckeditor5-core@45.2.0/node_modules/@ckeditor/ckeditor5-core/dist/index.js";import{EventInfo as j,uid as H,delay as K,DomEmitterMixin as S,env as b,global as f,createElement as B,Rect as k,getRangeFromMouseEvent as ie,ResizeObserver as oe,toUnit as se}from"../../../../../@ckeditor_ckeditor5-utils@45.2.0/node_modules/@ckeditor/ckeditor5-utils/dist/index.js";import{MouseObserver as ae,LiveRange as w,DomEventObserver as le,DataTransfer as ce,Range as de}from"../../../../../@ckeditor_ckeditor5-engine@45.2.0/node_modules/@ckeditor/ckeditor5-engine/dist/index.js";import{Widget as ge,isWidget as y}from"../../../../../@ckeditor_ckeditor5-widget@45.2.0/node_modules/@ckeditor/ckeditor5-widget/dist/index.js";import{View as pe}from"../../../../../@ckeditor_ckeditor5-ui@45.2.0/node_modules/@ckeditor/ckeditor5-ui/dist/index.js";import{mapValues as me}from"../../../../../es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/object/mapValues.js";import{throttle as L}from"../../../../../es-toolkit@1.32.0/node_modules/es-toolkit/dist/compat/function/throttle.js";/**
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */class D extends le{constructor(e){super(e);m(this,"domEventType",["paste","copy","cut","drop","dragover","dragstart","dragend","dragenter","dragleave"]);const n=this.document;this.listenTo(n,"paste",t("clipboardInput"),{priority:"low"}),this.listenTo(n,"drop",t("clipboardInput"),{priority:"low"}),this.listenTo(n,"dragover",t("dragging"),{priority:"low"});function t(i){return(o,r)=>{r.preventDefault();const s=r.dropRange?[r.dropRange]:null,c=new j(n,i);n.fire(c,{dataTransfer:r.dataTransfer,method:o.name,targetRanges:s,target:r.target,domEvent:r.domEvent}),c.stop.called&&r.stopPropagation()}}}onDomEvent(e){const n="clipboardData"in e?e.clipboardData:e.dataTransfer,t=e.type=="drop"||e.type=="paste",i={dataTransfer:new ce(n,{cacheFiles:t})};if(e.type=="drop"||e.type=="dragover"){const o=ie(e);i.dropRange=o&&this.view.domConverter.domRangeToView(o)}this.fire(e.type,e,i)}}/**