@heartlandone/vega 2.74.0-RTE-table-preview → 2.75.0-RTE-table-preview
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-be2e868e.js → app-globals-6c9a0e62.js} +11 -10
- package/dist/cjs/{child-nodes-event-prevent-slimmer-536d29fc.js → child-nodes-event-prevent-slimmer-aca87dac.js} +1 -1
- package/dist/cjs/click-outside-only-to-dismiss-strategy-407f6d1e.js +32 -0
- package/dist/cjs/{code-block-22ee2550.js → code-block-d9001f03.js} +2 -2
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-3486cbc0.js → component-value-history-controller-slimmer.abstract-b00e9f58.js} +4 -4
- package/dist/cjs/{content-state-0be6fda3.js → content-state-466f277f.js} +3 -3
- package/dist/cjs/{date-required-rule-99cca681.js → date-required-rule-30ee62d0.js} +1 -1
- package/dist/cjs/{design-token-505997df.js → design-token-a569577e.js} +2 -2
- package/dist/cjs/{dom-node-subject-observer-factory-1c8f7880.js → dom-node-subject-observer-factory-b5e71bf6.js} +4 -0
- package/dist/cjs/{element-appender-slimmer-26420c09.js → element-appender-slimmer-b7fdd82e.js} +160 -36
- package/dist/cjs/{event-emit-slimmer-6a591353.js → event-emit-slimmer-2dacabbd.js} +2 -2
- package/dist/cjs/{form-field-controller-slimmer-56c551ea.js → form-field-controller-slimmer-3ea2464a.js} +2 -2
- package/dist/cjs/{image-annotation-action-462fd073.js → image-annotation-action-4435d531.js} +3 -31
- package/dist/cjs/{index-fc538f17.js → index-19e5b936.js} +1 -1
- package/dist/cjs/index.cjs.js +22 -22
- package/dist/cjs/{inject-keyboard-manager-a6101379.js → inject-keyboard-manager-d21b4387.js} +1 -1
- package/dist/cjs/{internal-vega-event-manager-d587a33c.js → internal-vega-event-manager-6befeb34.js} +13 -2
- package/dist/cjs/{keyboard-manager-d8adb0ed.js → keyboard-manager-3dea6b28.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-15e65357.js → keyboard-manager-slimmer-0d45f944.js} +1 -1
- package/dist/cjs/{language-extension-414149c2.js → language-extension-26331915.js} +2 -2
- package/dist/cjs/loader.cjs.js +15 -15
- package/dist/cjs/{month-view-generator-706c5477.js → month-view-generator-49cc5fc2.js} +1 -1
- package/dist/cjs/{public-rules-2d18cf41.js → public-rules-942bd931.js} +7 -7
- package/dist/cjs/{range-439a0c0c.js → range-cafe69a9.js} +1 -1
- package/dist/cjs/{responsive-format-facade-0ececeb3.js → responsive-format-facade-6c22bbbd.js} +5 -4
- package/dist/cjs/{rich-text-editor-required-rule-5a4f3626.js → rich-text-editor-required-rule-0dcb08c8.js} +1 -1
- package/dist/cjs/sanitize-fb222510.js +131 -0
- package/dist/cjs/{styles.constants-3aff0b56.js → split-cell-operation-9930fde8.js} +1230 -403
- package/dist/cjs/{string-format-strategy.abstract-a8264fca.js → string-format-strategy.abstract-63514c60.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-a8f4a9b1.js → string-input-formatter-slimmer-655d0322.js} +3 -3
- package/dist/cjs/{string-mask-strategy-4e7d3780.js → string-mask-strategy-d23ac21a.js} +2 -2
- package/dist/cjs/{style-formatter-142500c0.js → style-formatter-0e0ae896.js} +2 -2
- package/dist/cjs/{sub-state-notify-slimmer-011866d9.js → sub-state-notify-slimmer-3fa87162.js} +1 -1
- package/dist/cjs/{sub-state-observer-slimmer-23d43f1e.js → sub-state-observer-slimmer-77deba40.js} +1 -1
- package/dist/cjs/{table-extension-2a20da57.js → table-extension-5f27207f.js} +676 -373
- package/dist/cjs/{time-required-rule-9d39a620.js → time-required-rule-c96ecdc9.js} +1 -1
- package/dist/cjs/{type-guard-69d2cf01.js → type-guard-a0f026d8.js} +12 -0
- package/dist/cjs/{valid-credit-card-number-rule-9f40d1d9.js → valid-credit-card-number-rule-c854bed9.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +12 -12
- package/dist/cjs/vega-app-header-button.cjs.entry.js +13 -13
- package/dist/cjs/vega-banner.cjs.entry.js +3 -3
- package/dist/cjs/vega-box.cjs.entry.js +12 -12
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/vega-button-circle.cjs.entry.js +12 -12
- package/dist/cjs/vega-button-group_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-button-link.cjs.entry.js +4 -4
- package/dist/cjs/vega-button.cjs.entry.js +11 -11
- package/dist/cjs/vega-calendar_4.cjs.entry.js +8 -8
- package/dist/cjs/vega-card.cjs.entry.js +12 -12
- package/dist/cjs/vega-carousel.cjs.entry.js +11 -11
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-chip.cjs.entry.js +13 -13
- package/dist/cjs/vega-code-block.cjs.entry.js +10 -10
- package/dist/cjs/vega-color-picker.cjs.entry.js +5 -5
- package/dist/cjs/vega-combo-box.cjs.entry.js +11 -10
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +392 -345
- package/dist/cjs/vega-dialog_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-divider.cjs.entry.js +13 -13
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +40 -22
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-field-label.cjs.entry.js +3 -3
- package/dist/cjs/vega-file-uploader.cjs.entry.js +5 -5
- package/dist/cjs/vega-flag-icon.cjs.entry.js +11 -11
- package/dist/cjs/vega-flex.cjs.entry.js +13 -13
- package/dist/cjs/vega-font.cjs.entry.js +12 -12
- package/dist/cjs/vega-form.cjs.entry.js +8 -8
- package/dist/cjs/vega-grid.cjs.entry.js +12 -12
- package/dist/cjs/vega-icon.cjs.entry.js +12 -12
- package/dist/cjs/vega-image-uploader.cjs.entry.js +14 -14
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +10 -10
- package/dist/cjs/vega-input-numeric.cjs.entry.js +10 -10
- package/dist/cjs/vega-input-passcode.cjs.entry.js +9 -9
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +14 -14
- package/dist/cjs/vega-input-range.cjs.entry.js +6 -6
- package/dist/cjs/vega-input-select.cjs.entry.js +21 -16
- package/dist/cjs/vega-input.cjs.entry.js +339 -98
- package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -3
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +12 -12
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +13 -13
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +1 -1
- package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +3 -3
- package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +1 -1
- package/dist/cjs/vega-pagination.cjs.entry.js +13 -13
- package/dist/cjs/vega-popover_2.cjs.entry.js +15 -15
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +12 -12
- package/dist/cjs/vega-radio_2.cjs.entry.js +9 -9
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +13 -16
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +143 -194
- package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +312 -104
- package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +15 -15
- package/dist/cjs/vega-signature-capture.cjs.entry.js +14 -14
- package/dist/cjs/vega-stepper.cjs.entry.js +6 -6
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-table_11.cjs.entry.js +13 -13
- package/dist/cjs/vega-textarea.cjs.entry.js +6 -6
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +19 -18
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +5 -5
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +14 -14
- package/dist/cjs/vega.cjs.js +15 -15
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +1 -1
- package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.js +1 -1
- package/dist/collection/components/vega-calendar/vega-calendar.js +1 -1
- package/dist/collection/components/vega-combo-box/slimmers/renderers/vega-combo-box-dropdown-renderer.js +2 -1
- package/dist/collection/components/vega-date-picker/assets/icons.js +4 -1
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.js +2 -1
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +2 -2
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-header-render.js +109 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.js +4 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.js +42 -70
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +12 -56
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +435 -108
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +5 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.js +5 -1
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.js +7 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.js +3 -2
- package/dist/collection/components/vega-dropdown/vega-dropdown.js +21 -6
- package/dist/collection/components/vega-field-label/vega-field-label.js +1 -1
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-render-mode-controller.js +51 -0
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-renderer.js +6 -0
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-suggestions-renderer.js +142 -0
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-renderer.js +12 -1
- package/dist/collection/components/vega-input/vega-input.js +200 -3
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.js +8 -3
- package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.js +9 -1
- package/dist/collection/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.js +0 -10
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-row-strategy.js +74 -28
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/merge-cells-strategy.js +120 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/split-cell-horizontally-strategy.js +143 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/split-cell-vertically-strategy.js +80 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/update-table-cell-properties-strategy.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/update-table-properties-strategy.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/merge-cells-action.js +17 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/split-cell-horizontally-action.js +12 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/split-cell-vertically-action.js +12 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotation-handler/table-annotation-handler-base.js +9 -30
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotation-handler/table-cell-annotation-handler.js +26 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-annotation.js +26 -11
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-cell-annotation.js +52 -12
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-color-annotation.js +66 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-head-cell-annotation.js +11 -6
- package/dist/collection/components/vega-rich-text-editor/extensions/table/constants/styles.constants.js +8 -8
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-block.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.js +32 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/td-to-table-cell-block-strategy.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-cell-renderer.js +3 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.js +2 -9
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-setting-popover-renderer.js +4 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/cell-properties.js +19 -15
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/merge-cells-operation.js +100 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/setting-event-handler.abstract.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/split-cell-operation.js +57 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/table-extension.js +14 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/table/table-selection.js +102 -13
- package/dist/collection/components/vega-rich-text-editor/extensions/table/utils/table-color-manager.js +51 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/utils/utils.js +253 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/slimmers/controllers/vega-rich-text-table-properties-color-controller.js +33 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/slimmers/renderers/vega-rich-text-cell-properties-form-field-renderer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/slimmers/renderers/vega-rich-text-table-properties-basic-form-field-renderer.abstract.js +38 -6
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/slimmers/renderers/vega-rich-text-table-properties-form-field-renderer.js +1 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/slimmers/renderers/vega-rich-text-table-properties-form-renderer.js +20 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/vega-rich-text-table-properties.css +1 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/vega-rich-text-table-properties.js +24 -14
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/vega-rich-text-table-selection-widget.js +2 -2
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/merge-cells-button-slimmer.js +117 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/row-button-slimmer.js +6 -4
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/vega-rich-text-table-setting-renderer.js +6 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/vega-rich-text-table-setting.js +15 -8
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-annotation-handler.test.js +41 -46
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-cell-annotation-handler.test.js +69 -48
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-head-cell-annotation-handler.test.js +50 -54
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-annotation.test.js +106 -14
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-cell-annotation.test.js +204 -9
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-color-annotation.test.js +32 -0
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-dto.test.js +583 -6
- package/dist/collection/components/vega-rich-text-editor/test/extensions/table/table-element-to-dto-strategies.test.js +114 -25
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +0 -5
- package/dist/collection/components/vega-selection-chip/vega-selection-chip.js +1 -1
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.js +2 -1
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.js +2 -1
- package/dist/collection/constants/ui.js +2 -0
- package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +13 -2
- package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +2 -0
- package/dist/collection/helpers/event-manager/test/component-event-id-map.test.js +3 -1
- package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +3 -1
- package/dist/collection/helpers/slimmers/element-appender/element-appender-slimmer.js +60 -32
- package/dist/collection/helpers/slimmers/element-appender/test/element-appender-slimmer.test.js +3 -2
- package/dist/collection/helpers/slimmers/element-appender/trigger-strategies/click-outside-only-to-dismiss-strategy.js +28 -0
- package/dist/collection/helpers/slimmers/element-appender/trigger-strategies/click-trigger-strategy.js +33 -0
- package/dist/collection/helpers/slimmers/element-appender/trigger-strategies/hover-trigger-strategy.js +42 -0
- package/dist/collection/helpers/slimmers/element-appender/trigger-strategies/none-trigger-strategy.js +22 -0
- package/dist/collection/helpers/slimmers/element-appender/trigger-strategies/trigger-strategy.interface.js +1 -0
- package/dist/collection/types/test/type-guard.test.js +8 -1
- package/dist/collection/types/type-guard.js +11 -0
- package/dist/collection/utils/sanitize.js +126 -0
- package/dist/collection/utils/test/sanitize.test.js +65 -0
- package/dist/esm/{app-globals-8b873b6f.js → app-globals-4146c01c.js} +9 -8
- package/dist/esm/{child-nodes-event-prevent-slimmer-a6afdb1e.js → child-nodes-event-prevent-slimmer-225e7b58.js} +1 -1
- package/dist/esm/click-outside-only-to-dismiss-strategy-3d286c1b.js +30 -0
- package/dist/esm/{code-block-76b29be1.js → code-block-36393b45.js} +3 -3
- package/dist/esm/{component-value-history-controller-slimmer.abstract-e1b0e163.js → component-value-history-controller-slimmer.abstract-82339b2b.js} +4 -4
- package/dist/esm/{content-state-03f1d302.js → content-state-e8ef033a.js} +3 -3
- package/dist/esm/{date-required-rule-a9980386.js → date-required-rule-47ecc28f.js} +1 -1
- package/dist/esm/{design-token-8fedb532.js → design-token-c57a58b4.js} +2 -2
- package/dist/esm/{dom-node-subject-observer-factory-e998eba4.js → dom-node-subject-observer-factory-d4e16f66.js} +3 -1
- package/dist/esm/{element-appender-slimmer-7b9326e2.js → element-appender-slimmer-a7341fc1.js} +160 -36
- package/dist/esm/{event-emit-slimmer-bbf6668c.js → event-emit-slimmer-1bb4b533.js} +2 -2
- package/dist/esm/{form-field-controller-slimmer-a0cff4d3.js → form-field-controller-slimmer-907bf7c2.js} +2 -2
- package/dist/esm/{image-annotation-action-47cdc068.js → image-annotation-action-82cef6e4.js} +4 -31
- package/dist/esm/{index-da7e5fe5.js → index-2466b0c0.js} +1 -1
- package/dist/esm/index.js +21 -21
- package/dist/esm/{inject-keyboard-manager-9241968c.js → inject-keyboard-manager-83d76ff5.js} +1 -1
- package/dist/esm/{internal-vega-event-manager-e799c54a.js → internal-vega-event-manager-2cbb828a.js} +13 -2
- package/dist/esm/{keyboard-manager-89acac79.js → keyboard-manager-c92808d8.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-e303cb7d.js → keyboard-manager-slimmer-79c78ce8.js} +1 -1
- package/dist/esm/{language-extension-de6e6caf.js → language-extension-dcc43702.js} +2 -2
- package/dist/esm/loader.js +15 -15
- package/dist/esm/{month-view-generator-4bec99fd.js → month-view-generator-16192182.js} +1 -1
- package/dist/esm/{public-rules-c48cc5c9.js → public-rules-b8ea651f.js} +7 -7
- package/dist/esm/{range-af6150a8.js → range-872aad9f.js} +1 -1
- package/dist/esm/{responsive-format-facade-16da4623.js → responsive-format-facade-9278eae4.js} +5 -4
- package/dist/esm/{rich-text-editor-required-rule-7255832e.js → rich-text-editor-required-rule-36dd4242.js} +1 -1
- package/dist/esm/sanitize-fd0cb40d.js +129 -0
- package/dist/esm/{styles.constants-0dd6f7fa.js → split-cell-operation-6749f654.js} +1218 -405
- package/dist/esm/{string-format-strategy.abstract-75540c16.js → string-format-strategy.abstract-fc60db79.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-82f85b0b.js → string-input-formatter-slimmer-7a1e8754.js} +3 -3
- package/dist/esm/{string-mask-strategy-4a18ed1a.js → string-mask-strategy-0b0accaa.js} +2 -2
- package/dist/esm/{style-formatter-6ca58f6b.js → style-formatter-e937952a.js} +2 -2
- package/dist/esm/{sub-state-notify-slimmer-4060c333.js → sub-state-notify-slimmer-2ecdba12.js} +1 -1
- package/dist/esm/{sub-state-observer-slimmer-bfa5e63e.js → sub-state-observer-slimmer-2d5dba8d.js} +1 -1
- package/dist/esm/{table-extension-c83b7a56.js → table-extension-6b31754b.js} +587 -283
- package/dist/esm/{time-required-rule-8ec1faf5.js → time-required-rule-5fa43804.js} +1 -1
- package/dist/esm/{type-guard-b48aec98.js → type-guard-c65a227d.js} +12 -1
- package/dist/esm/{valid-credit-card-number-rule-96eaf9b1.js → valid-credit-card-number-rule-666c415d.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +12 -12
- package/dist/esm/vega-app-header-button.entry.js +13 -13
- package/dist/esm/vega-banner.entry.js +3 -3
- package/dist/esm/vega-box.entry.js +12 -12
- package/dist/esm/vega-breadcrumb.entry.js +4 -4
- package/dist/esm/vega-button-circle.entry.js +12 -12
- package/dist/esm/vega-button-group_2.entry.js +6 -6
- package/dist/esm/vega-button-link.entry.js +4 -4
- package/dist/esm/vega-button.entry.js +11 -11
- package/dist/esm/vega-calendar_4.entry.js +8 -8
- package/dist/esm/vega-card.entry.js +12 -12
- package/dist/esm/vega-carousel.entry.js +11 -11
- package/dist/esm/vega-checkbox_2.entry.js +6 -6
- package/dist/esm/vega-chip.entry.js +13 -13
- package/dist/esm/vega-code-block.entry.js +10 -10
- package/dist/esm/vega-color-picker.entry.js +5 -5
- package/dist/esm/vega-combo-box.entry.js +11 -10
- package/dist/esm/vega-date-picker_2.entry.js +392 -345
- package/dist/esm/vega-dialog_2.entry.js +14 -14
- package/dist/esm/vega-divider.entry.js +13 -13
- package/dist/esm/vega-dropdown_5.entry.js +40 -22
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-field-label.entry.js +3 -3
- package/dist/esm/vega-file-uploader.entry.js +5 -5
- package/dist/esm/vega-flag-icon.entry.js +11 -11
- package/dist/esm/vega-flex.entry.js +13 -13
- package/dist/esm/vega-font.entry.js +12 -12
- package/dist/esm/vega-form.entry.js +8 -8
- package/dist/esm/vega-grid.entry.js +12 -12
- package/dist/esm/vega-icon.entry.js +12 -12
- package/dist/esm/vega-image-uploader.entry.js +14 -14
- package/dist/esm/vega-input-credit-card.entry.js +10 -10
- package/dist/esm/vega-input-numeric.entry.js +10 -10
- package/dist/esm/vega-input-passcode.entry.js +9 -9
- package/dist/esm/vega-input-phone-number.entry.js +14 -14
- package/dist/esm/vega-input-range.entry.js +6 -6
- package/dist/esm/vega-input-select.entry.js +21 -16
- package/dist/esm/vega-input.entry.js +340 -99
- package/dist/esm/vega-item-toggle.entry.js +3 -3
- package/dist/esm/vega-left-nav_5.entry.js +12 -12
- package/dist/esm/vega-loader-wrapper_2.entry.js +13 -13
- package/dist/esm/vega-page-notification_2.entry.js +1 -1
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +3 -3
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +1 -1
- package/dist/esm/vega-pagination.entry.js +13 -13
- package/dist/esm/vega-popover_2.entry.js +15 -15
- package/dist/esm/vega-progress-tracker_2.entry.js +12 -12
- package/dist/esm/vega-radio_2.entry.js +9 -9
- package/dist/esm/vega-rich-text-content.entry.js +14 -17
- package/dist/esm/vega-rich-text-editor_4.entry.js +144 -195
- package/dist/esm/vega-rich-text-table-properties_3.entry.js +293 -85
- package/dist/esm/vega-segment-control.entry.js +3 -3
- package/dist/esm/vega-selection-chip_2.entry.js +14 -14
- package/dist/esm/vega-selection-tile_2.entry.js +7 -7
- package/dist/esm/vega-sidenav_3.entry.js +15 -15
- package/dist/esm/vega-signature-capture.entry.js +14 -14
- package/dist/esm/vega-stepper.entry.js +6 -6
- package/dist/esm/vega-tab-group_2.entry.js +4 -4
- package/dist/esm/vega-table_11.entry.js +13 -13
- package/dist/esm/vega-textarea.entry.js +6 -6
- package/dist/esm/vega-time-picker_2.entry.js +19 -18
- package/dist/esm/vega-toggle-switch.entry.js +5 -5
- package/dist/esm/vega-tooltip_2.entry.js +14 -14
- package/dist/esm/vega.js +15 -15
- package/dist/sri/vega-sri-manifest.json +339 -715
- package/dist/types/components/vega-date-picker/assets/icons.d.ts +1 -1
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-header-render.d.ts +20 -0
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +1 -0
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-calendar-year-month-switcher-renderer.d.ts +4 -11
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.d.ts +4 -9
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +2 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.d.ts +2 -0
- package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +9 -4
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-render-mode-controller.d.ts +27 -0
- package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-renderer.d.ts +1 -0
- package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-suggestions-renderer.d.ts +40 -0
- package/dist/types/components/vega-input/slimmers/renderers/vega-input-renderer.d.ts +3 -0
- package/dist/types/components/vega-input/types.d.ts +4 -0
- package/dist/types/components/vega-input/vega-input.d.ts +55 -1
- package/dist/types/components/vega-rich-text-content/vega-rich-text-content.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/custom-attribute-annotation.d.ts +1 -1
- package/dist/types/components/vega-rich-text-editor/dto/renderers/nodes/text-node-renderer.d.ts +0 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-row-strategy.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/merge-cells-strategy.d.ts +38 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/split-cell-horizontally-strategy.d.ts +43 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/split-cell-vertically-strategy.d.ts +27 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/merge-cells-action.d.ts +33 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/split-cell-horizontally-action.d.ts +10 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/split-cell-vertically-action.d.ts +10 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotation-handler/table-annotation-handler-base.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotation-handler/table-cell-annotation-handler.d.ts +14 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-annotation.d.ts +15 -6
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-cell-annotation.d.ts +11 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-color-annotation.d.ts +43 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-head-cell-annotation.d.ts +2 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/constants/styles.constants.d.ts +2 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.d.ts +19 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-dynamic-popover-renderer.d.ts +2 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.d.ts +1 -8
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/merge-cells-operation.d.ts +44 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/setting-event-handler.abstract.d.ts +2 -1
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/split-cell-operation.d.ts +31 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/table-extension.d.ts +3 -3
- package/dist/types/components/vega-rich-text-editor/extensions/table/table-selection.d.ts +15 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/utils/table-color-manager.d.ts +26 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/utils/utils.d.ts +102 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/slimmers/controllers/vega-rich-text-table-properties-color-controller.d.ts +16 -1
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/slimmers/renderers/vega-rich-text-table-properties-basic-form-field-renderer.abstract.d.ts +18 -6
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/slimmers/renderers/vega-rich-text-table-properties-form-renderer.d.ts +7 -1
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/vega-rich-text-table-properties.d.ts +14 -11
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/vega-rich-text-table-selection-widget.d.ts +3 -3
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/merge-cells-button-slimmer.d.ts +23 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/vega-rich-text-table-setting-renderer.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/vega-rich-text-table-setting.d.ts +9 -6
- package/dist/types/components/vega-rich-text-editor/interface.d.ts +0 -5
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/annotation-handler/table-cell-annotation-handler.test.d.ts +8 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/table/table-color-annotation.test.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +0 -2
- package/dist/types/components.d.ts +72 -30
- package/dist/types/constants/ui.d.ts +1 -1
- package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +2 -0
- package/dist/types/helpers/slimmers/element-appender/element-appender-slimmer.d.ts +4 -9
- package/dist/types/helpers/slimmers/element-appender/trigger-strategies/click-outside-only-to-dismiss-strategy.d.ts +21 -0
- package/dist/types/helpers/slimmers/element-appender/trigger-strategies/click-trigger-strategy.d.ts +21 -0
- package/dist/types/helpers/slimmers/element-appender/trigger-strategies/hover-trigger-strategy.d.ts +22 -0
- package/dist/types/helpers/slimmers/element-appender/trigger-strategies/none-trigger-strategy.d.ts +18 -0
- package/dist/types/helpers/slimmers/element-appender/trigger-strategies/trigger-strategy.interface.d.ts +37 -0
- package/dist/types/types/components.type.d.ts +3 -1
- package/dist/types/types/type-guard.d.ts +8 -0
- package/dist/types/types/ui.type.d.ts +9 -0
- package/dist/types/utils/sanitize.d.ts +71 -0
- package/dist/types/utils/spec-utils.d.ts +2 -0
- package/dist/types/utils/test/sanitize.test.d.ts +1 -0
- package/dist/vega/index.esm.js +1 -57
- package/dist/vega/{p-780cbfb0.entry.js → p-01dc2e48.entry.js} +1 -1
- package/dist/vega/p-0459a474.entry.js +1 -0
- package/dist/vega/p-0770a0eb.entry.js +1 -0
- package/dist/vega/{p-a924c1e2.entry.js → p-0bf4a3a7.entry.js} +1 -1
- package/dist/vega/{p-ff9a0e6e.js → p-0d57293b.js} +1 -1
- package/dist/vega/{p-22da15d7.entry.js → p-1199ebf6.entry.js} +1 -1
- package/dist/vega/p-11a6c1b7.js +1 -0
- package/dist/vega/{p-79e8236a.entry.js → p-1415d93b.entry.js} +1 -1
- package/dist/vega/p-1431c8b9.js +1 -0
- package/dist/vega/p-18560714.entry.js +1 -0
- package/dist/vega/{p-a007b493.entry.js → p-1a161082.entry.js} +1 -1
- package/dist/vega/{p-161b9c5b.js → p-1f83cebf.js} +1 -1
- package/dist/vega/{p-16af7681.js → p-20010bd6.js} +1 -1
- package/dist/vega/p-205d8401.js +1 -0
- package/dist/vega/{p-29a9c8f5.entry.js → p-20a98a99.entry.js} +1 -1
- package/dist/vega/{p-86caa739.entry.js → p-228784f7.entry.js} +1 -1
- package/dist/vega/{p-b91c2c9d.js → p-22989693.js} +1 -1
- package/dist/vega/{p-1bda4016.entry.js → p-273911b2.entry.js} +1 -1
- package/dist/vega/{p-e797bf8d.entry.js → p-28e630b2.entry.js} +1 -1
- package/dist/vega/{p-d466baf7.js → p-29f6b2d5.js} +1 -1
- package/dist/vega/{p-6d9731c1.entry.js → p-2af2e1ad.entry.js} +1 -1
- package/dist/vega/{p-d55365b9.entry.js → p-2af78c38.entry.js} +1 -1
- package/dist/vega/{p-c3d388b5.entry.js → p-2c830cba.entry.js} +1 -1
- package/dist/vega/{p-61ae4e9c.entry.js → p-3224d794.entry.js} +1 -1
- package/dist/vega/{p-216f3436.entry.js → p-326b5392.entry.js} +1 -1
- package/dist/vega/{p-69af3422.entry.js → p-3413a678.entry.js} +1 -1
- package/dist/vega/p-3532aa12.js +1 -0
- package/dist/vega/p-395cdd84.entry.js +1 -0
- package/dist/vega/{p-9aac9879.entry.js → p-3a6ff599.entry.js} +1 -1
- package/dist/vega/p-3be82c0f.entry.js +1 -0
- package/dist/vega/p-3c0f55f7.entry.js +1 -0
- package/dist/vega/{p-10ffb765.js → p-3e30567a.js} +1 -1
- package/dist/vega/p-3e5f362f.js +1 -0
- package/dist/vega/p-42cd1fde.js +1 -0
- package/dist/vega/p-476a173a.js +1 -0
- package/dist/vega/p-4b6c60cb.entry.js +1 -0
- package/dist/vega/{p-12a97dad.entry.js → p-4c36b528.entry.js} +1 -1
- package/dist/vega/{p-fa34ace2.entry.js → p-4ecf0ee7.entry.js} +1 -1
- package/dist/vega/{p-813b2915.entry.js → p-4f4c7593.entry.js} +1 -1
- package/dist/vega/p-585edae4.entry.js +1 -0
- package/dist/vega/{p-39d56e3d.js → p-5b048141.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-63246470.js → p-5fdb9047.js} +1 -1
- package/dist/vega/{p-d4e35d2e.entry.js → p-60483e3d.entry.js} +1 -1
- package/dist/vega/{p-de70aac1.js → p-60851f9d.js} +1 -1
- package/dist/vega/{p-73688c4e.entry.js → p-61145506.entry.js} +1 -1
- package/dist/vega/{p-8162980c.js → p-61ddae59.js} +1 -1
- package/dist/vega/{p-98b78c75.entry.js → p-64386be8.entry.js} +1 -1
- package/dist/vega/{p-73689ec0.entry.js → p-6490b69a.entry.js} +1 -1
- package/dist/vega/{p-50a506ea.entry.js → p-6bc1552e.entry.js} +1 -1
- package/dist/vega/{p-206245d2.entry.js → p-6e4e7192.entry.js} +1 -1
- package/dist/vega/{p-8ac453cb.entry.js → p-76d144f5.entry.js} +1 -1
- package/dist/vega/{p-dc2813eb.entry.js → p-76eb9cd0.entry.js} +1 -1
- package/dist/vega/{p-e788598a.entry.js → p-77c9949d.entry.js} +1 -1
- package/dist/vega/p-8187878e.js +1 -0
- package/dist/vega/p-8198a77c.js +1 -0
- package/dist/vega/{p-0e4cecbd.entry.js → p-82ad1006.entry.js} +1 -1
- package/dist/vega/{p-8a4d8139.entry.js → p-839c9d62.entry.js} +1 -1
- package/dist/vega/{p-d07d04e0.entry.js → p-849f78a7.entry.js} +1 -1
- package/dist/vega/{p-ac4bd1f8.js → p-85bfa0f7.js} +1 -1
- package/dist/vega/{p-dd5d917b.entry.js → p-87764570.entry.js} +1 -1
- package/dist/vega/{p-abf871cd.entry.js → p-88c894e8.entry.js} +1 -1
- package/dist/vega/{p-c00adad9.js → p-89083d63.js} +1 -1
- package/dist/vega/{p-a8dad05d.js → p-920719ad.js} +1 -1
- package/dist/vega/p-9472d19a.js +1 -0
- package/dist/vega/{p-c6d98c60.entry.js → p-96657262.entry.js} +1 -1
- package/dist/vega/p-979e4bd4.entry.js +1 -0
- package/dist/vega/{p-f6eab527.entry.js → p-9c624e03.entry.js} +1 -1
- package/dist/vega/{p-088f4613.entry.js → p-a01f985f.entry.js} +1 -1
- package/dist/vega/{p-a4ec6575.js → p-a2aeb646.js} +1 -1
- package/dist/vega/{p-22c76be7.entry.js → p-a495463f.entry.js} +1 -1
- package/dist/vega/p-b4ea3fad.js +1 -0
- package/dist/vega/{p-151b1deb.js → p-b56b0b89.js} +1 -1
- package/dist/vega/{p-3bc7e162.entry.js → p-b5b75a2f.entry.js} +1 -1
- package/dist/vega/{p-d991fb11.js → p-badad9ed.js} +1 -1
- package/dist/vega/{p-24766b9d.entry.js → p-bccaf3d2.entry.js} +1 -1
- package/dist/vega/{p-e13c163c.entry.js → p-bde5c990.entry.js} +1 -1
- package/dist/vega/{p-ab0e013c.entry.js → p-beb6c1ce.entry.js} +1 -1
- package/dist/vega/{p-068ee55e.entry.js → p-c02b01ec.entry.js} +1 -1
- package/dist/vega/p-c1fdcb62.js +1 -0
- package/dist/vega/{p-5d2704c1.entry.js → p-c5e7035b.entry.js} +1 -1
- package/dist/vega/{p-5367eaab.js → p-c841be8d.js} +1 -1
- package/dist/vega/{p-6f08e3e1.entry.js → p-cd078909.entry.js} +1 -1
- package/dist/vega/{p-d1d0f08a.js → p-d0e31633.js} +1 -1
- package/dist/vega/{p-a439e59b.entry.js → p-d5c09a94.entry.js} +1 -1
- package/dist/vega/{p-c8ad47c9.js → p-d907f8a2.js} +1 -1
- package/dist/vega/{p-6c1ef2ed.js → p-dd11f735.js} +1 -1
- package/dist/vega/{p-c9541fc2.entry.js → p-de850e98.entry.js} +1 -1
- package/dist/vega/{p-3d85411d.js → p-e16b3adf.js} +1 -1
- package/dist/vega/{p-34a994a1.entry.js → p-e1dd23f8.entry.js} +1 -1
- package/dist/vega/{p-7ca9f6f1.js → p-e1de1cdc.js} +1 -1
- package/dist/vega/{p-1f4a814e.entry.js → p-e7cfb6b6.entry.js} +1 -1
- package/dist/vega/{p-ddf81373.js → p-e819940c.js} +1 -1
- package/dist/vega/{p-e0cefd90.entry.js → p-e95ed6f3.entry.js} +1 -1
- package/dist/vega/p-ebb14c84.js +1 -0
- package/dist/vega/{p-f519cdc3.entry.js → p-f0a8aed3.entry.js} +1 -1
- package/dist/vega/p-f2b8abd3.entry.js +1 -0
- package/dist/vega/{p-d4719c14.entry.js → p-fb238751.entry.js} +1 -1
- package/dist/vega/p-fdebc47f.entry.js +1 -0
- package/dist/vega/vega.esm.js +1 -172
- package/package.json +1 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/text-node-color-controller.js +0 -51
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/text-node-rendering-registry.js +0 -26
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/text-node-color-controller.d.ts +0 -22
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/text-node-rendering-registry.d.ts +0 -22
- package/dist/vega/app-globals-955a2b3b.js +0 -427
- package/dist/vega/child-nodes-event-prevent-slimmer-a604a6dd.js +0 -156
- package/dist/vega/design-token-56b26205.js +0 -402
- package/dist/vega/element-appender-slimmer-8355fb28.js +0 -1508
- package/dist/vega/event-emit-slimmer-7a14f5e9.js +0 -265
- package/dist/vega/internal-vega-event-manager-8c62c88e.js +0 -458
- package/dist/vega/p-08b4d097.entry.js +0 -1
- package/dist/vega/p-207cfa6a.js +0 -1
- package/dist/vega/p-213be5e9.entry.js +0 -1
- package/dist/vega/p-224a4f3f.entry.js +0 -1
- package/dist/vega/p-40660c09.js +0 -1
- package/dist/vega/p-550ce71a.entry.js +0 -1
- package/dist/vega/p-6665d083.entry.js +0 -1
- package/dist/vega/p-7172332a.entry.js +0 -1
- package/dist/vega/p-82ec9721.entry.js +0 -1
- package/dist/vega/p-99e3dcab.js +0 -1
- package/dist/vega/p-9a83a6b0.js +0 -1
- package/dist/vega/p-a4d0ab07.js +0 -1
- package/dist/vega/p-a6e03df4.entry.js +0 -1
- package/dist/vega/p-c335088c.js +0 -1
- package/dist/vega/p-c674b07c.js +0 -1
- package/dist/vega/p-d1349401.entry.js +0 -1
- package/dist/vega/p-d2033624.js +0 -1
- package/dist/vega/p-db482ee1.js +0 -1
- package/dist/vega/p-f4b46f6b.entry.js +0 -1
- package/dist/vega/p-fbfb4c70.entry.js +0 -1
- package/dist/vega/p-ff57c872.js +0 -1
- package/dist/vega/p-ff921d10.js +0 -1
- package/dist/vega/public-api-8dd022fa.js +0 -6043
- package/dist/vega/public-api-baaf7593.js +0 -4
- package/dist/vega/responsive-format-facade-98596535.js +0 -913
- package/dist/vega/style-formatter-0ae102e9.js +0 -32
- package/dist/vega/vega-accordion.entry.js +0 -291
- package/dist/vega/vega-app-header-button.entry.js +0 -452
- package/dist/vega/vega-banner.entry.js +0 -351
- package/dist/vega/vega-box.entry.js +0 -353
- package/dist/vega/vega-breadcrumb.entry.js +0 -249
- package/dist/vega/vega-button-circle.entry.js +0 -245
- package/dist/vega/vega-button-group.entry.js +0 -203
- package/dist/vega/vega-button-link.entry.js +0 -226
- package/dist/vega/vega-button.entry.js +0 -259
- package/dist/vega/vega-calendar.entry.js +0 -3884
- package/dist/vega/vega-card.entry.js +0 -226
- package/dist/vega/vega-carousel.entry.js +0 -540
- package/dist/vega/vega-checkbox-group.entry.js +0 -266
- package/dist/vega/vega-checkbox.entry.js +0 -335
- package/dist/vega/vega-chip.entry.js +0 -321
- package/dist/vega/vega-code-block.entry.js +0 -4372
- package/dist/vega/vega-color-picker.entry.js +0 -258
- package/dist/vega/vega-combo-box.entry.js +0 -748
- package/dist/vega/vega-date-picker-calendar.entry.js +0 -1381
- package/dist/vega/vega-date-picker.entry.js +0 -1646
- package/dist/vega/vega-dialog.entry.js +0 -158
- package/dist/vega/vega-divider.entry.js +0 -179
- package/dist/vega/vega-dropdown-content-box.entry.js +0 -57
- package/dist/vega/vega-dropdown-item.entry.js +0 -352
- package/dist/vega/vega-dropdown.entry.js +0 -2136
- package/dist/vega/vega-field-label.entry.js +0 -182
- package/dist/vega/vega-file-uploader.entry.js +0 -751
- package/dist/vega/vega-flag-icon.entry.js +0 -216
- package/dist/vega/vega-flex.entry.js +0 -224
- package/dist/vega/vega-font.entry.js +0 -327
- package/dist/vega/vega-form.entry.js +0 -1008
- package/dist/vega/vega-grid.entry.js +0 -129
- package/dist/vega/vega-icon.entry.js +0 -256
- package/dist/vega/vega-image-uploader.entry.js +0 -977
- package/dist/vega/vega-input-credit-card.entry.js +0 -549
- package/dist/vega/vega-input-numeric.entry.js +0 -471
- package/dist/vega/vega-input-passcode.entry.js +0 -728
- package/dist/vega/vega-input-phone-number.entry.js +0 -9143
- package/dist/vega/vega-input-range.entry.js +0 -693
- package/dist/vega/vega-input-select.entry.js +0 -1268
- package/dist/vega/vega-input.entry.js +0 -1735
- package/dist/vega/vega-item-toggle.entry.js +0 -190
- package/dist/vega/vega-left-nav-group.entry.js +0 -433
- package/dist/vega/vega-left-nav-link.entry.js +0 -317
- package/dist/vega/vega-left-nav-section.entry.js +0 -97
- package/dist/vega/vega-left-nav.entry.js +0 -654
- package/dist/vega/vega-loading-indicator.entry.js +0 -209
- package/dist/vega/vega-modal.entry.js +0 -1287
- package/dist/vega/vega-nav-card.entry.js +0 -163
- package/dist/vega/vega-pagination-page-selector-mobile.entry.js +0 -214
- package/dist/vega/vega-pagination.entry.js +0 -629
- package/dist/vega/vega-popover-content-box.entry.js +0 -101
- package/dist/vega/vega-popover.entry.js +0 -362
- package/dist/vega/vega-progress-tracker.entry.js +0 -757
- package/dist/vega/vega-radio-group.entry.js +0 -496
- package/dist/vega/vega-radio.entry.js +0 -272
- package/dist/vega/vega-rich-text-editor-toolbar-button.entry.js +0 -169
- package/dist/vega/vega-rich-text-editor.entry.js +0 -4107
- package/dist/vega/vega-rich-text-image-editor.entry.js +0 -216
- package/dist/vega/vega-rich-text-link-editor.entry.js +0 -238
- package/dist/vega/vega-rich-text-table-properties.entry.js +0 -641
- package/dist/vega/vega-rich-text-table-setting.entry.js +0 -525
- package/dist/vega/vega-segment-control.entry.js +0 -350
- package/dist/vega/vega-selection-chip-group.entry.js +0 -447
- package/dist/vega/vega-selection-chip.entry.js +0 -443
- package/dist/vega/vega-selection-tile-group.entry.js +0 -438
- package/dist/vega/vega-selection-tile.entry.js +0 -409
- package/dist/vega/vega-sidenav-link.entry.js +0 -160
- package/dist/vega/vega-sidenav.entry.js +0 -766
- package/dist/vega/vega-signature-capture.entry.js +0 -589
- package/dist/vega/vega-stepper.entry.js +0 -292
- package/dist/vega/vega-tab-group-panel.entry.js +0 -79
- package/dist/vega/vega-tab-group.entry.js +0 -1281
- package/dist/vega/vega-table-body.entry.js +0 -48
- package/dist/vega/vega-table-cell.entry.js +0 -243
- package/dist/vega/vega-table-foot-cell.entry.js +0 -169
- package/dist/vega/vega-table-foot-row.entry.js +0 -219
- package/dist/vega/vega-table-foot.entry.js +0 -136
- package/dist/vega/vega-table-head-cell.entry.js +0 -339
- package/dist/vega/vega-table-head-row.entry.js +0 -416
- package/dist/vega/vega-table-head.entry.js +0 -113
- package/dist/vega/vega-table-row.entry.js +0 -666
- package/dist/vega/vega-table.entry.js +0 -3707
- package/dist/vega/vega-textarea.entry.js +0 -329
- package/dist/vega/vega-time-picker.entry.js +0 -2039
- package/dist/vega/vega-toggle-switch.entry.js +0 -194
- package/dist/vega/vega-tooltip.entry.js +0 -339
|
@@ -18,6 +18,20 @@ export declare class TableCellAnnotationHandler extends TableAnnotationHandlerBa
|
|
|
18
18
|
* @returns {VegaRTEAnnotations} - Extracted table cell annotation.
|
|
19
19
|
*/
|
|
20
20
|
handle(element: HTMLElement): VegaRTEAnnotations;
|
|
21
|
+
/**
|
|
22
|
+
* Extract minimum width from element.
|
|
23
|
+
*
|
|
24
|
+
* @param {HTMLElement} element - Table cell element.
|
|
25
|
+
* @returns {Nullable<string>} Minimum width value.
|
|
26
|
+
*/
|
|
27
|
+
protected getMinWidth(element: HTMLElement): Nullable<string>;
|
|
28
|
+
/**
|
|
29
|
+
* Extract box sizing from element.
|
|
30
|
+
*
|
|
31
|
+
* @param {HTMLElement} element - Table cell element.
|
|
32
|
+
* @returns {Nullable<string>} Box sizing value.
|
|
33
|
+
*/
|
|
34
|
+
protected getBoxSizing(element: HTMLElement): Nullable<string>;
|
|
21
35
|
/**
|
|
22
36
|
* Extract padding from element.
|
|
23
37
|
*
|
|
@@ -1,38 +1,47 @@
|
|
|
1
1
|
import { Nullable } from '../../../../../types/general';
|
|
2
2
|
import { BlockAnnotation } from '../../../dto/annotations/block-annotation.abstract';
|
|
3
|
+
import { RTETableColorAnnotation } from './table-color-annotation';
|
|
3
4
|
export declare type VegaRTETableAnnotation = {
|
|
4
5
|
backgroundColor?: Nullable<string>;
|
|
5
6
|
border?: Nullable<VegaRTETableBorderType>;
|
|
6
7
|
width?: Nullable<string>;
|
|
7
8
|
height?: Nullable<string>;
|
|
8
9
|
alignment?: Nullable<VegaRTETableAlignment>;
|
|
10
|
+
borderCollapse?: Nullable<string>;
|
|
9
11
|
};
|
|
10
12
|
export declare type VegaRTETableBorderType = {
|
|
11
|
-
style
|
|
12
|
-
width
|
|
13
|
-
color
|
|
13
|
+
style?: string;
|
|
14
|
+
width?: string;
|
|
15
|
+
color?: string;
|
|
14
16
|
};
|
|
15
17
|
export declare enum RTETableExtensionAnnotationTypeEnum {
|
|
16
18
|
TABLE = "EXTENSION_TABLE",
|
|
17
19
|
CELL = "EXTENSION_TABLE_CELL",
|
|
18
|
-
CAPTION = "EXTENSION_TABLE_CAPTION"
|
|
20
|
+
CAPTION = "EXTENSION_TABLE_CAPTION",
|
|
21
|
+
COLOR = "EXTENSION_TABLE_COLOR"
|
|
19
22
|
}
|
|
20
23
|
export declare type VegaRTETableAlignment = 'left' | 'center' | 'right';
|
|
21
24
|
/**
|
|
22
25
|
* Class representing a table annotation in the rich text editor.
|
|
23
26
|
*/
|
|
24
27
|
export declare class RTETableAnnotation extends BlockAnnotation<RTETableExtensionAnnotationTypeEnum.TABLE> {
|
|
28
|
+
static readonly DEFAULT_BORDER_COLLAPSE: string;
|
|
29
|
+
static readonly DEFAULT_ALIGNMENT: VegaRTETableAlignment;
|
|
25
30
|
readonly type: RTETableExtensionAnnotationTypeEnum.TABLE;
|
|
26
31
|
backgroundColor?: Nullable<string>;
|
|
27
32
|
border?: Nullable<VegaRTETableBorderType>;
|
|
33
|
+
backgroundColorAnnotation: RTETableColorAnnotation;
|
|
34
|
+
borderColorAnnotation: RTETableColorAnnotation;
|
|
28
35
|
width?: Nullable<string>;
|
|
29
36
|
height?: Nullable<string>;
|
|
30
37
|
alignment?: Nullable<VegaRTETableAlignment>;
|
|
31
|
-
|
|
38
|
+
borderCollapse?: Nullable<string>;
|
|
39
|
+
useInternalStyle: boolean;
|
|
40
|
+
constructor({ backgroundColor, border, width, height, alignment, borderCollapse }?: VegaRTETableAnnotation, useInternalStyle?: boolean);
|
|
32
41
|
/**
|
|
33
42
|
* @inheritDoc
|
|
34
43
|
*/
|
|
35
|
-
static from(value: VegaRTETableAnnotation): [RTETableExtensionAnnotationTypeEnum.TABLE, RTETableAnnotation];
|
|
44
|
+
static from(value: VegaRTETableAnnotation, useInternalStyle?: boolean): [RTETableExtensionAnnotationTypeEnum.TABLE, RTETableAnnotation];
|
|
36
45
|
/**
|
|
37
46
|
* Generates the CSS border string from the border properties.
|
|
38
47
|
*
|
|
@@ -2,6 +2,7 @@ import { Nullable } from '../../../../../types/general';
|
|
|
2
2
|
import { RTETableExtensionAnnotationTypeEnum, VegaRTETableBorderType } from './table-annotation';
|
|
3
3
|
import { BlockAnnotation } from '../../../dto/annotations/block-annotation.abstract';
|
|
4
4
|
import { RTERenderContext } from '../../../interface';
|
|
5
|
+
import { RTETableColorAnnotation } from './table-color-annotation';
|
|
5
6
|
export declare type VegaRTETableCellAnnotation = {
|
|
6
7
|
backgroundColor?: Nullable<string>;
|
|
7
8
|
padding?: Nullable<string>;
|
|
@@ -10,6 +11,8 @@ export declare type VegaRTETableCellAnnotation = {
|
|
|
10
11
|
height?: Nullable<string>;
|
|
11
12
|
textAlign?: Nullable<VegaRTETableTextAlignType>;
|
|
12
13
|
verticalAlign?: Nullable<VegaRTETableVerticalAlignType>;
|
|
14
|
+
minWidth?: Nullable<string>;
|
|
15
|
+
boxSizing?: Nullable<string>;
|
|
13
16
|
};
|
|
14
17
|
export declare type VegaRTETableTextAlignType = 'left' | 'center' | 'right' | 'justify';
|
|
15
18
|
export declare type VegaRTETableVerticalAlignType = 'top' | 'middle' | 'bottom';
|
|
@@ -22,6 +25,7 @@ export declare class RTETableCellAnnotation extends BlockAnnotation<RTETableExte
|
|
|
22
25
|
static readonly DEFAULT_HORIZONTAL_TEXT_ALIGN: VegaRTETableTextAlignType;
|
|
23
26
|
static readonly DEFAULT_VERTICAL_TEXT_ALIGN: VegaRTETableVerticalAlignType;
|
|
24
27
|
static readonly DEFAULT_CELL_MIN_WIDTH: string;
|
|
28
|
+
static readonly DEFAULT_BOX_SIZING: string;
|
|
25
29
|
readonly type: RTETableExtensionAnnotationTypeEnum.CELL;
|
|
26
30
|
backgroundColor?: Nullable<string>;
|
|
27
31
|
padding?: Nullable<string>;
|
|
@@ -30,11 +34,16 @@ export declare class RTETableCellAnnotation extends BlockAnnotation<RTETableExte
|
|
|
30
34
|
height?: Nullable<string>;
|
|
31
35
|
textAlign?: Nullable<VegaRTETableTextAlignType>;
|
|
32
36
|
verticalAlign?: Nullable<VegaRTETableVerticalAlignType>;
|
|
33
|
-
|
|
37
|
+
backgroundColorAnnotation: RTETableColorAnnotation;
|
|
38
|
+
borderColorAnnotation: RTETableColorAnnotation;
|
|
39
|
+
minWidth?: Nullable<string>;
|
|
40
|
+
boxSizing?: Nullable<string>;
|
|
41
|
+
useInternalStyle: boolean;
|
|
42
|
+
constructor({ backgroundColor, padding, border, width, height, textAlign, verticalAlign, minWidth, boxSizing, }?: VegaRTETableCellAnnotation, useInternalStyle?: boolean);
|
|
34
43
|
/**
|
|
35
44
|
* @inheritDoc
|
|
36
45
|
*/
|
|
37
|
-
static from(cellAnnotation: VegaRTETableCellAnnotation): [RTETableExtensionAnnotationTypeEnum.CELL, RTETableCellAnnotation];
|
|
46
|
+
static from(cellAnnotation: VegaRTETableCellAnnotation, useInternalStyle?: boolean): [RTETableExtensionAnnotationTypeEnum.CELL, RTETableCellAnnotation];
|
|
38
47
|
/**
|
|
39
48
|
* Generates the CSS border string from the border properties.
|
|
40
49
|
*
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Nullable } from '../../../../../types/general';
|
|
2
|
+
import { BlockAnnotation } from '../../../dto/annotations/block-annotation.abstract';
|
|
3
|
+
import { AnnotationStyle } from '../../../interface';
|
|
4
|
+
import { RTETableExtensionAnnotationTypeEnum } from './table-annotation';
|
|
5
|
+
/**
|
|
6
|
+
* Class representing a table color annotation in the rich text editor.
|
|
7
|
+
*/
|
|
8
|
+
export declare class RTETableColorAnnotation extends BlockAnnotation<RTETableExtensionAnnotationTypeEnum.COLOR> {
|
|
9
|
+
type: RTETableExtensionAnnotationTypeEnum.COLOR;
|
|
10
|
+
private color;
|
|
11
|
+
constructor(colorKey?: string);
|
|
12
|
+
/**
|
|
13
|
+
* Render the style for the annotation
|
|
14
|
+
*
|
|
15
|
+
* @returns {AnnotationStyle} The style object containing the color
|
|
16
|
+
*/
|
|
17
|
+
renderStyle(): AnnotationStyle;
|
|
18
|
+
/**
|
|
19
|
+
* Render the CSS class for the annotation
|
|
20
|
+
*
|
|
21
|
+
* @returns {Nullable<string>} Always returns null as no CSS class is used
|
|
22
|
+
*/
|
|
23
|
+
renderClass(): Nullable<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Convert the annotation to a JSON representation
|
|
26
|
+
*
|
|
27
|
+
* @returns {Record<string, string>} A JSON object containing the color key
|
|
28
|
+
*/
|
|
29
|
+
toJSON(): Record<string, string>;
|
|
30
|
+
/**
|
|
31
|
+
* Clone the current annotation
|
|
32
|
+
*
|
|
33
|
+
* @returns {BlockAnnotation<RTETableExtensionAnnotationTypeEnum.COLOR>} A new instance of RTETableColorAnnotation with the same color key
|
|
34
|
+
*/
|
|
35
|
+
clone(): BlockAnnotation<RTETableExtensionAnnotationTypeEnum.COLOR>;
|
|
36
|
+
/**
|
|
37
|
+
* format table color
|
|
38
|
+
*
|
|
39
|
+
* @param {string} colorKey - table color
|
|
40
|
+
* @returns {Nullable<VegaRTEColorSchema>} - VegaRTEColorSchema
|
|
41
|
+
*/
|
|
42
|
+
private formatColor;
|
|
43
|
+
}
|
|
@@ -6,11 +6,11 @@ import { RTETableCellAnnotation, VegaRTETableCellAnnotation } from './table-cell
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class RTETableHeadCellAnnotation extends RTETableCellAnnotation {
|
|
8
8
|
static readonly DEFAULT_BACKGROUND_COLOR: string;
|
|
9
|
-
constructor(annotation?: VegaRTETableCellAnnotation);
|
|
9
|
+
constructor(annotation?: VegaRTETableCellAnnotation, useInternalStyle?: boolean);
|
|
10
10
|
/**
|
|
11
11
|
* @inheritDoc
|
|
12
12
|
*/
|
|
13
|
-
static from(cellAnnotation: VegaRTETableCellAnnotation): [RTETableExtensionAnnotationTypeEnum.CELL, RTETableHeadCellAnnotation];
|
|
13
|
+
static from(cellAnnotation: VegaRTETableCellAnnotation, useInternalStyle?: boolean): [RTETableExtensionAnnotationTypeEnum.CELL, RTETableHeadCellAnnotation];
|
|
14
14
|
/**
|
|
15
15
|
* @inheritDoc
|
|
16
16
|
*/
|
package/dist/types/components/vega-rich-text-editor/extensions/table/constants/styles.constants.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VegaRTEColorSchema } from '../../../interface';
|
|
2
2
|
export declare const RTE_TABLE_BORDER_STYLES: string[];
|
|
3
|
-
export declare const RTE_TABLE_DEFAULT_COLORS:
|
|
3
|
+
export declare const RTE_TABLE_DEFAULT_COLORS: VegaRTEColorSchema[];
|
package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.d.ts
CHANGED
|
@@ -34,6 +34,18 @@ export declare class RTETableCellBlock extends RTEBlock<RTETableRowBlock, RTEBlo
|
|
|
34
34
|
* @inheritDoc
|
|
35
35
|
*/
|
|
36
36
|
isNotEmpty(): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Get the rowSpan of the table cell
|
|
39
|
+
*
|
|
40
|
+
* @returns {number} - rowSpan value
|
|
41
|
+
*/
|
|
42
|
+
get rowSpan(): number;
|
|
43
|
+
/**
|
|
44
|
+
* Get the colSpan of the table cell
|
|
45
|
+
*
|
|
46
|
+
* @returns {number} - colSpan value
|
|
47
|
+
*/
|
|
48
|
+
get colSpan(): number;
|
|
37
49
|
/**
|
|
38
50
|
* @inheritDoc
|
|
39
51
|
*/
|
|
@@ -42,4 +54,11 @@ export declare class RTETableCellBlock extends RTEBlock<RTETableRowBlock, RTEBlo
|
|
|
42
54
|
* @inheritDoc
|
|
43
55
|
*/
|
|
44
56
|
toJSON(): VegaRTETableCellBlock;
|
|
57
|
+
/**
|
|
58
|
+
* Get custom attribute by name
|
|
59
|
+
*
|
|
60
|
+
* @param {string} attrName - attribute name
|
|
61
|
+
* @returns {Nullable<string>} - attribute value
|
|
62
|
+
*/
|
|
63
|
+
private getCustomAttributeByName;
|
|
45
64
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VegaRTEColorSchema, VegaRTECreateElementFunction, VegaRTERenderResult } from '../../../interface';
|
|
2
2
|
import { Nullable } from '../../../../../types/general';
|
|
3
3
|
import type { RTETableExtensionContext } from '../table-extension';
|
|
4
4
|
import { RTETableBlock } from '../dto/table-block';
|
|
@@ -21,7 +21,7 @@ export declare class TableDynamicPopoverRenderer {
|
|
|
21
21
|
private popoverCloseType;
|
|
22
22
|
private tablePropertiesHandlerMap;
|
|
23
23
|
private cellPropertiesHandlerMap;
|
|
24
|
-
constructor(colors:
|
|
24
|
+
constructor(colors: VegaRTEColorSchema[]);
|
|
25
25
|
/**
|
|
26
26
|
* removes the multi-cell selection anchor element from the DOM, if present,
|
|
27
27
|
* and clears the internal reference.
|
package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RTERenderContext, VegaRTECreateElementFunction, VegaRTERenderResult } from '../../../interface';
|
|
2
2
|
import { VegaRTEExtensionRenderer } from '../../base-extension-renderer';
|
|
3
3
|
import { RTETableBlock } from '../dto/table-block';
|
|
4
4
|
import type { RTETableExtensionContext } from '../table-extension';
|
|
@@ -7,7 +7,6 @@ import type { RTETableExtensionContext } from '../table-extension';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class RTETableBlockRenderer extends VegaRTEExtensionRenderer {
|
|
9
9
|
private extensionContext;
|
|
10
|
-
private tableColorSchema;
|
|
11
10
|
private popoverRenders;
|
|
12
11
|
/**
|
|
13
12
|
* @inheritDoc
|
|
@@ -23,12 +22,6 @@ export declare class RTETableBlockRenderer extends VegaRTEExtensionRenderer {
|
|
|
23
22
|
* @param {RTETableExtensionContext} context - The RTE extension context.
|
|
24
23
|
*/
|
|
25
24
|
injectExtensionContext(context: RTETableExtensionContext): void;
|
|
26
|
-
/**
|
|
27
|
-
* Updates the table color schema.
|
|
28
|
-
*
|
|
29
|
-
* @param {RTETableColorSchema[]} colors - The new table color schema.
|
|
30
|
-
*/
|
|
31
|
-
updateTableColorSchema(colors: RTETableColorSchema[]): void;
|
|
32
25
|
/**
|
|
33
26
|
* Renders the table element.
|
|
34
27
|
*
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { RTETableExtensionContext } from '../table-extension';
|
|
2
|
+
import { SettingEventHandler } from './setting-event-handler.abstract';
|
|
3
|
+
export declare enum MergeCellsOperationType {
|
|
4
|
+
MERGE_CELLS = "MERGE_CELLS",
|
|
5
|
+
MERGE_CELL_UP = "MERGE_CELL_UP",
|
|
6
|
+
MERGE_CELL_RIGHT = "MERGE_CELL_RIGHT",
|
|
7
|
+
MERGE_CELL_DOWN = "MERGE_CELL_DOWN",
|
|
8
|
+
MERGE_CELL_LEFT = "MERGE_CELL_LEFT"
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Event handler for merge cells operations in a table.
|
|
12
|
+
*/
|
|
13
|
+
export declare class MergeCellsOperationEventHandler extends SettingEventHandler {
|
|
14
|
+
/**
|
|
15
|
+
* @inheritDoc
|
|
16
|
+
*/
|
|
17
|
+
canHandle(action: Array<string>): boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
execute(action: Array<string>, extensionContext: RTETableExtensionContext): void;
|
|
22
|
+
/**
|
|
23
|
+
* Get the adjacent cell in the specified direction.
|
|
24
|
+
*
|
|
25
|
+
* @param {MergeCellsOperationType} direction - The direction to look for the adjacent cell.
|
|
26
|
+
* @param {RTETableCellBlock | RTETableHeadCellBlock} cell - The current cell.
|
|
27
|
+
* @returns {Array<RTETableCellBlock | RTETableHeadCellBlock>} Array containing the cells to merge.
|
|
28
|
+
*/
|
|
29
|
+
private getDirectionMergeCells;
|
|
30
|
+
/**
|
|
31
|
+
* Handle the merge cells operation by creating and applying a MergeCellsAction.
|
|
32
|
+
*
|
|
33
|
+
* @param {Array<RTETableCellBlock | RTETableHeadCellBlock>} mergeCells - The cells to merge.
|
|
34
|
+
* @param {MergeCellsOperationType} direction - The merge cell direction.
|
|
35
|
+
*/
|
|
36
|
+
private handleMergeCells;
|
|
37
|
+
/**
|
|
38
|
+
* Apply the specified action on the table containing the selected cell.
|
|
39
|
+
*
|
|
40
|
+
* @param {MergeCellsAction} action - The action to apply.
|
|
41
|
+
* @param {RTETableCellBlock | RTETableHeadCellBlock} selectedCell - The selected table cell.
|
|
42
|
+
*/
|
|
43
|
+
private applyActionOnTable;
|
|
44
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { RTETableExtensionContext } from '../table-extension';
|
|
2
|
+
import { SettingEventHandler } from './setting-event-handler.abstract';
|
|
3
|
+
export declare enum SplitCellOperationType {
|
|
4
|
+
SPLIT_CELL_HORIZONTALLY = "SPLIT_CELL_HORIZONTALLY",
|
|
5
|
+
SPLIT_CELL_VERTICALLY = "SPLIT_CELL_VERTICALLY"
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Event handler for split cell operations in a table.
|
|
9
|
+
*/
|
|
10
|
+
export declare class SplitCellOperationEventHandler extends SettingEventHandler {
|
|
11
|
+
/**
|
|
12
|
+
* @inheritDoc
|
|
13
|
+
*/
|
|
14
|
+
canHandle(action: Array<string>): boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @inheritDoc
|
|
17
|
+
*/
|
|
18
|
+
execute(action: Array<string>, extensionContext: RTETableExtensionContext): void;
|
|
19
|
+
/**
|
|
20
|
+
* Splits the selected table cell horizontally (split top/bottom).
|
|
21
|
+
*
|
|
22
|
+
* @param {RTETableCellBlock | RTETableHeadCellBlock} selectedCell - The table cell block to split.
|
|
23
|
+
*/
|
|
24
|
+
private handleSplitCellHorizontally;
|
|
25
|
+
/**
|
|
26
|
+
* Splits the selected table cell vertically (split left/right).
|
|
27
|
+
*
|
|
28
|
+
* @param {RTETableCellBlock | RTETableHeadCellBlock} selectedCell - The table cell block to split.
|
|
29
|
+
*/
|
|
30
|
+
private handleSplitCellVertically;
|
|
31
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VegaRTEExtension } from '../extension.abstract';
|
|
2
|
-
import { RTEExtensionContext,
|
|
2
|
+
import { RTEExtensionContext, VegaRTEColorSchema } from '../../interface';
|
|
3
3
|
import { RTETableSelection } from './table-selection';
|
|
4
4
|
export declare type RTETableExtensionContext = RTEExtensionContext & {
|
|
5
5
|
/**
|
|
@@ -20,9 +20,9 @@ export declare class VegaRTETableExtension extends VegaRTEExtension {
|
|
|
20
20
|
/**
|
|
21
21
|
* Instantiate the table extension
|
|
22
22
|
*
|
|
23
|
-
* @param {
|
|
23
|
+
* @param {VegaRTEColorSchema[]} colors - The table border color and background color list.
|
|
24
24
|
*/
|
|
25
|
-
constructor(colors?:
|
|
25
|
+
constructor(colors?: VegaRTEColorSchema[]);
|
|
26
26
|
/**
|
|
27
27
|
* Initializes the extension with the given context
|
|
28
28
|
*
|
|
@@ -34,6 +34,21 @@ export declare class RTETableSelection {
|
|
|
34
34
|
* @returns {(RTETableCellBlock | RTETableHeadCellBlock)[]} All cells in the rectangular selection area.
|
|
35
35
|
*/
|
|
36
36
|
static computeRectRange(anchor: RTETableCellBlock | RTETableHeadCellBlock, focus: RTETableCellBlock | RTETableHeadCellBlock): (RTETableCellBlock | RTETableHeadCellBlock)[];
|
|
37
|
+
/**
|
|
38
|
+
* Get the rowSpan and colSpan attributes from a cell's DOM element.
|
|
39
|
+
*
|
|
40
|
+
* @param {RTETableCellBlock} cell - The cell to get span values from.
|
|
41
|
+
* @returns {CellSpanType} Object with rowSpan and colSpan properties.
|
|
42
|
+
*/
|
|
43
|
+
private static getCellSpan;
|
|
44
|
+
/**
|
|
45
|
+
* Build a grid representation of the table that accounts for rowSpan and colSpan.
|
|
46
|
+
* Each cell in the grid array points to the actual cell block that occupies that position.
|
|
47
|
+
*
|
|
48
|
+
* @param {RTETableRowBlock[]} allRows - All rows in the table.
|
|
49
|
+
* @returns {CellGridMetaType} Object with grid and cellMeta properties.
|
|
50
|
+
*/
|
|
51
|
+
private static buildCellGrid;
|
|
37
52
|
/**
|
|
38
53
|
* Clean up event listeners.
|
|
39
54
|
*/
|
package/dist/types/components/vega-rich-text-editor/extensions/table/utils/table-color-manager.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { VegaRTEColorSchema } from '../../../interface';
|
|
2
|
+
/**
|
|
3
|
+
* Manages table colors for the rich text editor.
|
|
4
|
+
*/
|
|
5
|
+
export declare class RTETableColorManager {
|
|
6
|
+
static TABLE_COLORS: VegaRTEColorSchema[];
|
|
7
|
+
/**
|
|
8
|
+
* Get the list of table colors.
|
|
9
|
+
*
|
|
10
|
+
* @returns {VegaRTEColorSchema[]} - Array of table colors.
|
|
11
|
+
*/
|
|
12
|
+
static getTableColors(): VegaRTEColorSchema[];
|
|
13
|
+
/**
|
|
14
|
+
* Set the list of table colors.
|
|
15
|
+
*
|
|
16
|
+
* @param {VegaRTEColorSchema[]} colors - Array of table colors.
|
|
17
|
+
*/
|
|
18
|
+
static setTableColors(colors: VegaRTEColorSchema[]): void;
|
|
19
|
+
/**
|
|
20
|
+
* Get color key from color value
|
|
21
|
+
*
|
|
22
|
+
* @param {string} colorValue - color value
|
|
23
|
+
* @returns {string} - color key
|
|
24
|
+
*/
|
|
25
|
+
static getColorKey(colorValue: string): string;
|
|
26
|
+
}
|
|
@@ -4,8 +4,10 @@ import { RTEBlock } from '../../../dto/blocks/block.abstract';
|
|
|
4
4
|
import { RTENode } from '../../../dto/nodes/node.abstract';
|
|
5
5
|
import { RTETableBlock } from '../dto/table-block';
|
|
6
6
|
import { VegaRTETableBodyBlock } from '../dto/table-body-block';
|
|
7
|
-
import { VegaRTETableCellBlock } from '../dto/table-cell-block';
|
|
8
|
-
import {
|
|
7
|
+
import { RTETableCellBlock, VegaRTETableCellBlock } from '../dto/table-cell-block';
|
|
8
|
+
import { RTETableRowBlock, VegaRTETableRowBlock } from '../dto/table-row-block';
|
|
9
|
+
import { RTETableHeadCellBlock } from '../dto/table-head-cell-block';
|
|
10
|
+
import { MergeCellsOperationType } from '../setting-event-handlers/merge-cells-operation';
|
|
9
11
|
/**
|
|
10
12
|
* Recursively searches for a parent block of a specific type.
|
|
11
13
|
*
|
|
@@ -51,3 +53,101 @@ export declare function getFirstNode(block: Nullable<RTEBlock>): Nullable<RTENod
|
|
|
51
53
|
* @returns {VegaRTETableCellBlock} The default cell block template.
|
|
52
54
|
*/
|
|
53
55
|
export declare function getDefaultCellBlockTemplate(cellType: string): VegaRTETableCellBlock;
|
|
56
|
+
export declare type CellSpan = {
|
|
57
|
+
colSpan: number;
|
|
58
|
+
rowSpan: number;
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Get the actual col span and row span of a cell.
|
|
62
|
+
*
|
|
63
|
+
* @param {RTETableCellBlock | RTETableHeadCellBlock} cell - The cell to check.
|
|
64
|
+
* @returns {CellSpan} The actual span values.
|
|
65
|
+
*/
|
|
66
|
+
export declare function getCellSpan(cell: RTETableCellBlock | RTETableHeadCellBlock): CellSpan;
|
|
67
|
+
/**
|
|
68
|
+
* Get the actual column position of a cell considering previous cells' colspan
|
|
69
|
+
* and cells from previous rows with rowspan that extend into the current row.
|
|
70
|
+
*
|
|
71
|
+
* @param {RTETableCellBlock | RTETableHeadCellBlock} cell - The cell to check.
|
|
72
|
+
* @param {RTETableRowBlock[]} allRows - The table all rows.
|
|
73
|
+
* @returns {number} The actual column position.
|
|
74
|
+
*/
|
|
75
|
+
export declare function getActualColumnPosition(cell: RTETableCellBlock | RTETableHeadCellBlock, allRows: RTETableRowBlock[]): number;
|
|
76
|
+
/**
|
|
77
|
+
* Build a 2D grid representation of a table section where each occupied position
|
|
78
|
+
* contains the cell id covering that (row, col) coordinate, accounting for colSpan/rowSpan.
|
|
79
|
+
*
|
|
80
|
+
* @param {RTETableRowBlock[]} allRows - All rows in the current table section.
|
|
81
|
+
* @returns {string[][]} The table grid.
|
|
82
|
+
*/
|
|
83
|
+
export declare function buildTableGrid(allRows: RTETableRowBlock[]): string[][];
|
|
84
|
+
export declare type AdjacentCellDirection = 'up' | 'right' | 'down' | 'left';
|
|
85
|
+
/**
|
|
86
|
+
* Get the adjacent cell in the specified direction based on the table matrix.
|
|
87
|
+
*
|
|
88
|
+
* @param {RTETableCellBlock | RTETableHeadCellBlock} cell - The current cell.
|
|
89
|
+
* @param {AdjacentCellDirection} direction - The direction to locate the adjacent cell.
|
|
90
|
+
* @returns {RTETableCellBlock | RTETableHeadCellBlock | null} The adjacent cell or null.
|
|
91
|
+
*/
|
|
92
|
+
export declare function getAdjacentCell(cell: RTETableCellBlock | RTETableHeadCellBlock, direction: MergeCellsOperationType): RTETableCellBlock | RTETableHeadCellBlock | null;
|
|
93
|
+
/**
|
|
94
|
+
* Find the cell that covers the specified matrix position.
|
|
95
|
+
*
|
|
96
|
+
* @param {RTETableRowBlock[]} rows - Rows in the current table section.
|
|
97
|
+
* @param {number} targetRowIndex - Target matrix row index.
|
|
98
|
+
* @param {number} targetColPosition - Target matrix column position.
|
|
99
|
+
* @returns {RTETableCellBlock | RTETableHeadCellBlock | null} The covering cell or null.
|
|
100
|
+
*/
|
|
101
|
+
export declare function findCellAtPosition(rows: RTETableRowBlock[], targetRowIndex: number, targetColPosition: number): RTETableCellBlock | RTETableHeadCellBlock | null;
|
|
102
|
+
/**
|
|
103
|
+
* Rectangular bounds information for selected table cells.
|
|
104
|
+
*/
|
|
105
|
+
export declare type RectangularBounds = {
|
|
106
|
+
minRow: number;
|
|
107
|
+
maxRow: number;
|
|
108
|
+
minCol: number;
|
|
109
|
+
maxCol: number;
|
|
110
|
+
targetCell: RTETableCellBlock | RTETableHeadCellBlock;
|
|
111
|
+
coveredPositions: Set<string>;
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Get the rectangular bounds of selected cells.
|
|
115
|
+
* Calculates the bounding box (minRow, maxRow, minCol, maxCol) and returns related information.
|
|
116
|
+
*
|
|
117
|
+
* @param {RTETableCellBlock[] | RTETableHeadCellBlock[]} selectedCells - The selected table cells.
|
|
118
|
+
* @returns {RectangularBounds} The rectangular bounds' information.
|
|
119
|
+
*/
|
|
120
|
+
export declare function getRectangularBounds(selectedCells: RTETableCellBlock[] | RTETableHeadCellBlock[]): RectangularBounds;
|
|
121
|
+
/**
|
|
122
|
+
* Calculate the total number of columns in the table.
|
|
123
|
+
* Accounts for cells with col span.
|
|
124
|
+
*
|
|
125
|
+
* @param {RTETableBlock} table - The table block.
|
|
126
|
+
* @returns {number} The total number of columns in the table.
|
|
127
|
+
*/
|
|
128
|
+
export declare function getTableColumnCount(table: RTETableBlock): number;
|
|
129
|
+
/**
|
|
130
|
+
* Check if the selected cells form a rectangular area.
|
|
131
|
+
* Considers cells with col span and row span.
|
|
132
|
+
*
|
|
133
|
+
* @param {RTETableCellBlock[] | RTETableHeadCellBlock[]} selectedCells - The selected table cells.
|
|
134
|
+
* @returns {boolean} True if the selected cells form a rectangle, false otherwise.
|
|
135
|
+
*/
|
|
136
|
+
export declare function isRectangularSelection(selectedCells: RTETableCellBlock[] | RTETableHeadCellBlock[]): boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Set the col span and row span attributes for a target cell.
|
|
139
|
+
* When colSpan equals the table's total columns, rowSpan is removed.
|
|
140
|
+
*
|
|
141
|
+
* @param {RTETableCellBlock | RTETableHeadCellBlock} targetCell - The target cell to set attributes on.
|
|
142
|
+
* @param {number} colSpan - The column span value.
|
|
143
|
+
* @param {number} rowSpan - The row span value.
|
|
144
|
+
* @param {RTETableBlock} table - The table block.
|
|
145
|
+
*/
|
|
146
|
+
export declare function setSpanAttributes(targetCell: RTETableCellBlock | RTETableHeadCellBlock, colSpan: number, rowSpan: number, table: RTETableBlock): void;
|
|
147
|
+
/**
|
|
148
|
+
* Create a new cell of the specified type.
|
|
149
|
+
*
|
|
150
|
+
* @param {string} cellType - The type of cell ('table-cell' or 'table-head-cell').
|
|
151
|
+
* @returns {RTETableCellBlock | RTETableHeadCellBlock} The newly created cell.
|
|
152
|
+
*/
|
|
153
|
+
export declare function createNewCell(cellType: string): RTETableCellBlock | RTETableHeadCellBlock;
|
|
@@ -5,10 +5,25 @@ import { VegaRichTextTableProperties } from '../../vega-rich-text-table-properti
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class TableColorController extends VegaSlimmer {
|
|
7
7
|
protected colors: VegaRichTextTableProperties['colors'];
|
|
8
|
+
protected isInDarkMode: VegaRichTextTableProperties['isInDarkMode'];
|
|
8
9
|
/**
|
|
9
10
|
* Returns an array of light color values from the color schema.
|
|
10
11
|
*
|
|
11
12
|
* @returns {string[]} An array of light color strings.
|
|
12
13
|
*/
|
|
13
|
-
|
|
14
|
+
getColors(): string[];
|
|
15
|
+
/**
|
|
16
|
+
* Returns the color key corresponding to the provided color value.
|
|
17
|
+
*
|
|
18
|
+
* @param {string} color - The color value to find the key for.
|
|
19
|
+
* @returns {string} The key of the color schema that matches the provided color value.
|
|
20
|
+
*/
|
|
21
|
+
getColorKey(color: string): string;
|
|
22
|
+
/**
|
|
23
|
+
* Returns the color value corresponding to the provided color key.
|
|
24
|
+
*
|
|
25
|
+
* @param {string} colorKey - The color key to find the value for.
|
|
26
|
+
* @returns {string} The value of the color schema that matches the provided color key.
|
|
27
|
+
*/
|
|
28
|
+
getColorByKey(colorKey: string): string;
|
|
14
29
|
}
|
|
@@ -34,12 +34,6 @@ export declare abstract class VegaRichTextTablePropertiesBaseFormFieldRenderer e
|
|
|
34
34
|
* @returns { HTMLElement } The dimension fields element.
|
|
35
35
|
*/
|
|
36
36
|
protected renderDimensionFields(withPadding?: boolean): HTMLElement;
|
|
37
|
-
/**
|
|
38
|
-
* Emit a change event on each form field value change.
|
|
39
|
-
*
|
|
40
|
-
* @param {HTMLElement} el - The form field element.
|
|
41
|
-
*/
|
|
42
|
-
protected handleFormChange: (el: HTMLElement) => void;
|
|
43
37
|
protected renderAlignmentField(alignmentList: string[], iconPrefix: string, formFieldName: string): HTMLElement;
|
|
44
38
|
/**
|
|
45
39
|
* Render save and cancel action buttons.
|
|
@@ -47,6 +41,12 @@ export declare abstract class VegaRichTextTablePropertiesBaseFormFieldRenderer e
|
|
|
47
41
|
* @returns {HTMLElement} The action buttons element.
|
|
48
42
|
*/
|
|
49
43
|
protected renderActionButtons(): HTMLElement;
|
|
44
|
+
/**
|
|
45
|
+
* Emit a change event on each form field value change.
|
|
46
|
+
*
|
|
47
|
+
* @param {HTMLElement} el - The form field element.
|
|
48
|
+
*/
|
|
49
|
+
protected handleFormChange: (el: HTMLElement) => void;
|
|
50
50
|
/**
|
|
51
51
|
* Emit a change event on each form field value change.
|
|
52
52
|
*
|
|
@@ -84,6 +84,18 @@ export declare abstract class VegaRichTextTablePropertiesBaseFormFieldRenderer e
|
|
|
84
84
|
* @param {HTMLElement} colorPickerRef - The border color field element.
|
|
85
85
|
*/
|
|
86
86
|
private updateBorderDisplayColor;
|
|
87
|
+
/**
|
|
88
|
+
* Handle background color picker change event.
|
|
89
|
+
*
|
|
90
|
+
* @param {HTMLElement} el - The background color picker element.
|
|
91
|
+
*/
|
|
92
|
+
private handleBackgroundColorPickerChange;
|
|
93
|
+
/**
|
|
94
|
+
* Update the background color display when background color changes.
|
|
95
|
+
*
|
|
96
|
+
* @param {HTMLElement} colorInput - The background color field element.
|
|
97
|
+
*/
|
|
98
|
+
private updateBackgroundDisplayColor;
|
|
87
99
|
/**
|
|
88
100
|
* Clear background color value.
|
|
89
101
|
*
|
|
@@ -7,7 +7,7 @@ export declare class VegaRichTextTablePropertiesRenderer extends VegaSlimmer {
|
|
|
7
7
|
protected cellFormRenderer: VegaRichTextTableProperties['cellFormRenderer'];
|
|
8
8
|
private formRef;
|
|
9
9
|
private formTouched;
|
|
10
|
-
|
|
10
|
+
initialFormState(newValue: RTETablePropertiesType): void;
|
|
11
11
|
getFormRef(): HTMLVegaFormElement;
|
|
12
12
|
/**
|
|
13
13
|
* Mark the form as touched.
|
|
@@ -30,4 +30,10 @@ export declare class VegaRichTextTablePropertiesRenderer extends VegaSlimmer {
|
|
|
30
30
|
* Reset the touch state.
|
|
31
31
|
*/
|
|
32
32
|
private resetTouchedState;
|
|
33
|
+
/**
|
|
34
|
+
* Handle color related fields before setting form value to ensure change event is triggered.
|
|
35
|
+
*
|
|
36
|
+
* @param {RTETablePropertiesType} formValue - The form value to be set.
|
|
37
|
+
*/
|
|
38
|
+
private resetColorRelatedFields;
|
|
33
39
|
}
|