@heartlandone/vega 2.78.0 → 2.80.0
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/align-left-4a76df69.js +22 -0
- package/dist/cjs/app-globals-7a48292d.js +430 -0
- package/dist/cjs/aria-dialog-focusable-trap-slimmer-5a0a78fe.js +272 -0
- package/dist/cjs/auto-run-when-re-render-task-queue-slimmer.abstract-5734634d.js +51 -0
- package/dist/cjs/breakpoints-1cc2c4c6.js +56 -0
- package/dist/cjs/child-nodes-notify-observer-slimmer-a8d13f4c.js +90 -0
- package/dist/cjs/code-block-71a330a1.js +4521 -0
- package/dist/cjs/component-value-history-controller-slimmer.abstract-fd077a6c.js +714 -0
- package/dist/cjs/content-state-afa26456.js +4459 -0
- package/dist/cjs/date-required-rule-9f0e3e99.js +92 -0
- package/dist/cjs/deprecated-property-slimmer-300a3929.js +51 -0
- package/dist/cjs/design-token-3f9589eb.js +402 -0
- package/dist/cjs/dom-node-subject-observer-factory-a3a60da4.js +141 -0
- package/dist/cjs/dto-renderer-manager-ae5fcbba.js +58 -0
- package/dist/cjs/element-appender-slimmer-7a66229b.js +1974 -0
- package/dist/cjs/event-emit-slimmer-024e26bb.js +267 -0
- package/dist/cjs/form-field-controller-slimmer-c487cf2b.js +1266 -0
- package/dist/cjs/image-annotation-action-4e72af4b.js +285 -0
- package/dist/cjs/index-58ea899e.js +4 -0
- package/dist/cjs/index.cjs.js +41 -36
- package/dist/cjs/inject-keyboard-manager-d1a82089.js +37 -0
- package/dist/cjs/internal-translation-controller-9f58a4e4.js +301 -0
- package/dist/cjs/keyboard-manager-9dbbb0d4.js +148 -0
- package/dist/cjs/keyboard-manager-slimmer-68cff676.js +39 -0
- package/dist/cjs/loader.cjs.js +26 -21
- package/dist/cjs/month-view-generator-65a2f883.js +101 -0
- package/dist/cjs/object-b53e9416.js +52 -0
- package/dist/cjs/page-resize-observer-slimmer-273d62ef.js +123 -0
- package/dist/cjs/public-rules-36f202b3.js +46 -0
- package/dist/cjs/range-fa15d524.js +178 -0
- package/dist/cjs/responsive-format-facade-4419b4ae.js +944 -0
- package/dist/cjs/rich-text-editor-required-rule-7d4c2973.js +64 -0
- package/dist/cjs/split-cell-operation-19f98afb.js +2411 -0
- package/dist/cjs/string-format-strategy.abstract-c65d9861.js +63 -0
- package/dist/cjs/string-input-formatter-slimmer-c2e04acc.js +230 -0
- package/dist/cjs/string-mask-strategy-418fc0b8.js +203 -0
- package/dist/cjs/style-formatter-3c9ce0e5.js +34 -0
- package/dist/cjs/sub-state-notify-slimmer-7a4c6061.js +81 -0
- package/dist/cjs/sub-state-observer-slimmer-f728e068.js +134 -0
- package/dist/cjs/time-required-rule-ad091302.js +141 -0
- package/dist/cjs/token-extension-90396de7.js +7438 -0
- package/dist/cjs/translation-slimmer-c069ca84.js +42 -0
- package/dist/cjs/type-guard-d760850a.js +2033 -0
- package/dist/cjs/ui-32120990.js +62 -0
- package/dist/cjs/ui-9e8c9732.js +283 -0
- package/dist/cjs/valid-credit-card-number-rule-5ce8e973.js +173 -0
- package/dist/cjs/vega-accordion.cjs.entry.js +9 -9
- package/dist/cjs/vega-app-header-button.cjs.entry.js +10 -10
- package/dist/cjs/vega-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/vega-banner.cjs.entry.js +3 -3
- package/dist/cjs/vega-box.cjs.entry.js +9 -9
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/vega-button-circle.cjs.entry.js +10 -10
- package/dist/cjs/vega-button-group_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-button-link.cjs.entry.js +3 -3
- package/dist/cjs/vega-button.cjs.entry.js +10 -10
- package/dist/cjs/vega-calendar_4.cjs.entry.js +247 -173
- package/dist/cjs/vega-card.cjs.entry.js +7 -7
- package/dist/cjs/vega-carousel.cjs.entry.js +11 -11
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +11 -11
- package/dist/cjs/vega-chip.cjs.entry.js +10 -10
- package/dist/cjs/vega-code-block.cjs.entry.js +16 -15
- package/dist/cjs/vega-color-picker.cjs.entry.js +10 -10
- package/dist/cjs/vega-combo-box.cjs.entry.js +13 -13
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +109 -36
- package/dist/cjs/vega-dialog_2.cjs.entry.js +53 -15
- package/dist/cjs/vega-divider.cjs.entry.js +7 -7
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +17 -17
- 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 +11 -11
- package/dist/cjs/vega-flag-icon.cjs.entry.js +6 -6
- package/dist/cjs/vega-flex.cjs.entry.js +9 -9
- package/dist/cjs/vega-font.cjs.entry.js +8 -8
- package/dist/cjs/vega-form.cjs.entry.js +13 -13
- package/dist/cjs/vega-grid.cjs.entry.js +9 -8
- package/dist/cjs/vega-icon.cjs.entry.js +7 -7
- package/dist/cjs/vega-image-uploader.cjs.entry.js +13 -13
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +14 -14
- package/dist/cjs/vega-input-numeric.cjs.entry.js +14 -14
- package/dist/cjs/vega-input-passcode.cjs.entry.js +13 -13
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +12 -12
- package/dist/cjs/vega-input-range.cjs.entry.js +11 -11
- package/dist/cjs/vega-input-select.cjs.entry.js +13 -13
- package/dist/cjs/vega-input.cjs.entry.js +56 -33
- package/dist/cjs/vega-internal-event-id-a1837fa2.js +126 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +6 -6
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +15 -15
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +2 -2
- 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 +5 -5
- package/dist/cjs/vega-pagination.cjs.entry.js +11 -11
- package/dist/cjs/vega-popover_2.cjs.entry.js +53 -16
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-radio_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +22 -24
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +217 -252
- package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +1527 -0
- package/dist/cjs/vega-segment-control.cjs.entry.js +6 -6
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +13 -13
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +12 -12
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +12 -12
- package/dist/cjs/vega-signature-capture.cjs.entry.js +15 -15
- package/dist/cjs/vega-stepper.cjs.entry.js +10 -10
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-table_11.cjs.entry.js +14 -14
- package/dist/cjs/vega-text.cjs.entry.js +4 -4
- package/dist/cjs/vega-textarea.cjs.entry.js +10 -10
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +62 -20
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +10 -10
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +14 -14
- package/dist/cjs/vega.cjs.js +26 -21
- package/dist/cjs/wait-for-component-did-render-b6aba2de.js +32 -0
- package/dist/collection/collection-manifest.json +10 -0
- package/dist/collection/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.js +1 -1
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-day-view-focus-slimmer.js +34 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.js +1 -1
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.js +2 -1
- package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.js +28 -7
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.js +4 -4
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.css +15 -12
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +1 -1
- package/dist/collection/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.js +20 -3
- package/dist/collection/components/vega-calendar/vega-calendar.css +1 -1
- package/dist/collection/components/vega-calendar/vega-calendar.js +5 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.js +13 -1
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +28 -2
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-input-renderer-base.abstract.js +7 -1
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.js +15 -2
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.js +1 -1
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.js +18 -1
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +5 -5
- package/dist/collection/components/vega-grid/vega-grid.css +72 -0
- package/dist/collection/components/vega-grid/vega-grid.js +30 -0
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.js +13 -12
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-input-renderer.js +4 -1
- package/dist/collection/components/vega-input/vega-input.js +35 -1
- package/dist/collection/components/vega-modal/slimmers/controllers/vega-modal-open-state-controller.js +34 -1
- package/dist/collection/components/vega-modal/slimmers/renderers/vega-modal-renderer.js +7 -2
- package/dist/collection/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.js +26 -1
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.js +6 -1
- package/dist/collection/components/vega-popover/vega-popover.js +7 -0
- package/dist/collection/components/vega-rich-text-content/vega-rich-text-content.js +9 -1
- package/dist/collection/components/vega-rich-text-editor/dto/action-handle-strategies/action-handle-strategy.abstract.js +10 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/bold-annotation.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/code-annotation.js +13 -6
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/horizontal-alignment-annotation.js +18 -9
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/image-annotation.js +11 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/italic-annotation.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/link-group-annotation.js +12 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/list-annotation.js +12 -4
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/strikethrough-annotation.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-format-default-styles.js +22 -0
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/text-style-annotation.js +43 -32
- package/dist/collection/components/vega-rich-text-editor/dto/annotations/underline-annotation.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/dto/blocks/block.abstract.js +24 -2
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.js +35 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.js +62 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/image-node/image-filter-styles-strategy.js +16 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-block-filter-styles-strategy.js +12 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-item-block-filter-styles-strategy.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/alignment-filter-styles-strategy.js +39 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/code-filter-styles-strategy.js +26 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/link-filter-styles-strategy.js +30 -0
- package/dist/collection/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/text-format-filter-styles-strategy.js +89 -0
- 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/dto/setup.js +18 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/base-extension-renderer.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/base-toolbar-button-renderer.js +10 -5
- package/dist/collection/components/vega-rich-text-editor/extensions/extension.abstract.js +18 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-cell-children-remove-interceptor.js +42 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-cell-content-delete-interceptor.js +26 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-row-insert-interceptor.js +23 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-table-insert-paragraph-interceptor.js +55 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/create-segment-table-cell-strategy.js +33 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/delete-table-block-strategy.js +25 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/delete-table-column-strategy.js +176 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/delete-table-row-strategy.js +154 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-block-strategy.js +54 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-column-strategy.js +163 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-row-into-different-section-strategy.js +83 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-row-into-same-section-strategy.js +55 -0
- 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/replace-table-cell-strategy.js +21 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/select-table-column-strategy.js +33 -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/split-table-cell-strategy.js +45 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/table-column-strategy.abstract.js +27 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/table-row-strategy.abstract.js +296 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/toggle-header-row-strategy.js +274 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/toggle-header-table-column-strategy.js +159 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/update-table-cell-properties-strategy.js +33 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/action-handler-strategies/update-table-properties-strategy.js +36 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/create-segment-table-cell-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/delete-table-block-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/delete-table-column-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/delete-table-row-action.js +18 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/insert-table-block-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/insert-table-column-action.js +19 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/insert-table-row-into-different-section-action.js +21 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/insert-table-row-into-same-section-action.js +27 -0
- 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/replace-table-cell-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/select-table-column-action.js +13 -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/actions/split-table-cell-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-annotations-action.js +18 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-caption-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-cell-annotations-action.js +28 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/table-head-cell-annotations-action.js +17 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/toggle-header-row-action.js +13 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/toggle-header-table-column-action.js +15 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/actions/update-table-properties-action.js +38 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotation-handler/table-annotation-handler-base.js +78 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotation-handler/table-annotation-handler.js +69 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotation-handler/table-cell-annotation-handler.js +108 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotation-handler/table-head-cell-annotation-handler.js +14 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-annotation.js +106 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-caption-annotation.js +69 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/annotations/table-cell-annotation.js +192 -0
- 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 +56 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/constants/styles.constants.js +27 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-block.js +119 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-body-block.js +56 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-caption-block.js +69 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.js +97 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-block.js +60 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.js +53 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/dto/table-row-block.js +60 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/caption-to-caption-block-strategy.js +71 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/table-to-table-block-strategy.js +42 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/tbody-to-table-body-block-strategy.js +42 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/td-to-table-cell-block-strategy.js +93 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/thead-to-table-head-block-strategy.js +42 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/tr-to-table-row-block-strategy.js +42 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-body-renderer.js +15 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-caption-renderer.js +22 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-cell-renderer.js +72 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-dynamic-popover-renderer.js +263 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-head-cell-renderer.js +12 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-head-renderer.js +15 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-popover-base-renderer.js +19 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.js +116 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-row-renderer.js +15 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-setting-popover-renderer.js +148 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/renderers/table-toolbar-popover-renderer.js +178 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/caption-operation.js +78 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/cell-properties-cancel-event-handler.js +17 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/cell-properties-change-event-handler.js +15 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/cell-properties-save-event-handler.js +19 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/cell-properties.js +136 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/column-operation.js +109 -0
- 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/row-operation.js +160 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/setting-event-handler.abstract.js +45 -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/setting-event-handlers/table-properties-cancel-event-handler.js +19 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/table-properties-change-event-handler.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/table-properties-save-event-handler.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/setting-event-handlers/table-properties.js +50 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/table-extension.js +174 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/table-icon.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/table-selection.js +460 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/table-toolbar-button-renderer.js +61 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/utils/table-color-manager.js +55 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/utils/utils.js +436 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/assets/align-bottom.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/assets/align-middle.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/assets/align-top.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/assets/objects-align-center-horizontal.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/assets/objects-align-left.js +3 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/assets/objects-align-right.js +3 -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 +58 -0
- 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 +106 -0
- 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 +291 -0
- 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 +58 -0
- 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 +111 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/vega-rich-text-table-properties.css +149 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/vega-rich-text-table-properties.js +251 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/slimmers/controllers/selection-widget-keyboard-controller.js +36 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/slimmers/renderers/selection-widget-renderer.js +83 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/vega-rich-text-table-selection-widget.css +41 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/vega-rich-text-table-selection-widget.js +80 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/assets/icon.js +20 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/caption-button-slimmer.js +27 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/cell-properties-button-slimmer.js +26 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/column-button-slimmer.js +90 -0
- 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 +103 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/table-properties-button-slimmer.js +26 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/table-setting-button-slimmer.abstract.js +76 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/vega-rich-text-table-setting-renderer.js +55 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/vega-rich-text-table-setting.css +23 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/vega-rich-text-table-setting.js +222 -0
- package/dist/collection/components/vega-rich-text-editor/public-api.js +1 -0
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/extension-controller.js +35 -6
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/bold-annotaion-handler.js +3 -2
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/html-element-to-annotation-generator.js +50 -2
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/italic-annotation-handler.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/strike-through-annotation-handler.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/text-style-annotation-handler.js +3 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/underline-annotation-handler.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/helper/input-event-handler/insert-paragraph-handler.js +2 -1
- package/dist/collection/components/vega-rich-text-editor/slimmers/controllers/selection-controller.js +26 -2
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.css +4 -0
- package/dist/collection/components/vega-rich-text-editor/vega-rich-text-editor.js +0 -5
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.js +5 -2
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.js +4 -1
- package/dist/collection/components/vega-time-picker/vega-time-picker.js +36 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.js +24 -0
- package/dist/collection/constants/ui.js +2 -0
- package/dist/collection/global/scripts/before-vega-load.js +2 -0
- package/dist/collection/helpers/calendar/calendar-date.js +10 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.js +2 -2
- package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +3 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-format-facade.js +3 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-justify-items-formatter.js +29 -0
- package/dist/collection/helpers/formatter/string-formatter/custom-formatter-strategy.js +3 -1
- package/dist/collection/helpers/formatter/string-formatter/number-mask-strategy.js +3 -1
- package/dist/collection/helpers/formatter/string-formatter/number-thousand-comma-strategy.js +3 -2
- package/dist/collection/helpers/formatter/string-formatter/string-format-strategy.abstract.js +4 -1
- package/dist/collection/helpers/formatter/string-formatter/string-mask-strategy.js +38 -7
- package/dist/collection/helpers/formatter/string-formatter/thousand-comma-strategy.js +4 -0
- package/dist/collection/helpers/keyboard/keyboard-manager.js +11 -3
- package/dist/collection/helpers/slimmers/aria-dialog-focusable-trap-slimmer.js +267 -0
- package/dist/collection/helpers/slimmers/position-calculation/base-position-calculation-strategy.js +1 -1
- package/dist/collection/helpers/translation/locales/en.js +2 -0
- package/dist/collection/types/type-guard.js +10 -1
- package/dist/collection/utils/object.js +6 -4
- package/dist/collection/utils/ui.js +28 -2
- package/dist/esm/align-left-7f959adf.js +17 -0
- package/dist/esm/app-globals-e77015e3.js +428 -0
- package/dist/esm/aria-dialog-focusable-trap-slimmer-5a2f92be.js +270 -0
- package/dist/esm/auto-run-when-re-render-task-queue-slimmer.abstract-27820d4c.js +49 -0
- package/dist/esm/breakpoints-332702ed.js +53 -0
- package/dist/esm/child-nodes-event-prevent-slimmer-2ecc3e1f.js +156 -0
- package/dist/esm/child-nodes-notify-observer-slimmer-b7f0e419.js +88 -0
- package/dist/esm/code-block-7d6f231b.js +4455 -0
- package/dist/esm/component-value-history-controller-slimmer.abstract-acf65b17.js +709 -0
- package/dist/esm/content-state-084cd705.js +4439 -0
- package/dist/esm/date-required-rule-29608215.js +90 -0
- package/dist/esm/deprecated-property-slimmer-ea34fa7b.js +49 -0
- package/dist/esm/design-token-edcd787b.js +388 -0
- package/dist/esm/dom-node-subject-observer-factory-cea9248d.js +138 -0
- package/dist/esm/dto-renderer-manager-12bc9121.js +56 -0
- package/dist/esm/element-appender-slimmer-08ec429b.js +1972 -0
- package/dist/esm/event-emit-slimmer-4fba1b35.js +265 -0
- package/dist/esm/form-field-controller-slimmer-8dd39707.js +1264 -0
- package/dist/esm/image-annotation-action-a6b33a81.js +280 -0
- package/dist/esm/index-090d31ca.js +4 -0
- package/dist/esm/index.js +30 -26
- package/dist/esm/inject-keyboard-manager-7557816f.js +35 -0
- package/dist/esm/internal-translation-controller-b08aa9ab.js +298 -0
- package/dist/esm/internal-vega-event-manager-59f5bd47.js +494 -0
- package/dist/esm/keyboard-manager-1846c6a5.js +146 -0
- package/dist/esm/keyboard-manager-slimmer-1ae0aa4d.js +37 -0
- package/dist/esm/loader.js +26 -21
- package/dist/esm/month-view-generator-b700ed08.js +97 -0
- package/dist/esm/object-0c277f57.js +48 -0
- package/dist/esm/page-resize-observer-slimmer-e24d36c5.js +121 -0
- package/dist/esm/public-rules-fe2c7934.js +31 -0
- package/dist/esm/range-00afe462.js +176 -0
- package/dist/esm/responsive-format-facade-37d4d850.js +940 -0
- package/dist/esm/rich-text-editor-required-rule-6487ec94.js +62 -0
- package/dist/esm/split-cell-operation-9445e642.js +2360 -0
- package/dist/esm/string-format-strategy.abstract-ec6d627b.js +61 -0
- package/dist/esm/string-input-formatter-slimmer-959dff7a.js +228 -0
- package/dist/esm/string-mask-strategy-49be41f0.js +201 -0
- package/dist/esm/style-formatter-ad0b2bac.js +32 -0
- package/dist/esm/sub-state-notify-slimmer-ee8c417b.js +79 -0
- package/dist/esm/sub-state-observer-slimmer-4d30fa5c.js +132 -0
- package/dist/esm/time-required-rule-414b1590.js +138 -0
- package/dist/esm/token-extension-600b1c88.js +7417 -0
- package/dist/esm/translation-slimmer-35b1d0fa.js +40 -0
- package/dist/esm/type-guard-23a08026.js +1958 -0
- package/dist/esm/ui-93922c59.js +47 -0
- package/dist/esm/ui-ba5a4758.js +267 -0
- package/dist/esm/valid-credit-card-number-rule-60abddac.js +171 -0
- package/dist/esm/vega-accordion.entry.js +11 -11
- package/dist/esm/vega-app-header-button.entry.js +13 -13
- package/dist/esm/vega-backdrop.entry.js +2 -2
- package/dist/esm/vega-banner.entry.js +5 -5
- package/dist/esm/vega-box.entry.js +9 -9
- package/dist/esm/vega-breadcrumb.entry.js +6 -6
- package/dist/esm/vega-button-circle.entry.js +13 -13
- package/dist/esm/vega-button-group_2.entry.js +9 -9
- package/dist/esm/vega-button-link.entry.js +6 -6
- package/dist/esm/vega-button.entry.js +13 -13
- package/dist/esm/vega-calendar_4.entry.js +250 -176
- package/dist/esm/vega-card.entry.js +7 -7
- package/dist/esm/vega-carousel.entry.js +13 -13
- package/dist/esm/vega-checkbox_2.entry.js +14 -14
- package/dist/esm/vega-chip.entry.js +13 -13
- package/dist/esm/vega-code-block.entry.js +18 -17
- package/dist/esm/vega-color-picker.entry.js +12 -12
- package/dist/esm/vega-combo-box.entry.js +16 -16
- package/dist/esm/vega-date-picker_2.entry.js +112 -39
- package/dist/esm/vega-dialog_2.entry.js +56 -18
- package/dist/esm/vega-divider.entry.js +7 -7
- package/dist/esm/vega-dropdown_5.entry.js +20 -20
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-event-id-4ede557a.js +114 -0
- package/dist/esm/vega-field-label.entry.js +5 -5
- package/dist/esm/vega-file-uploader.entry.js +13 -13
- package/dist/esm/vega-flag-icon.entry.js +6 -6
- package/dist/esm/vega-flex.entry.js +9 -9
- package/dist/esm/vega-font.entry.js +8 -8
- package/dist/esm/vega-form.entry.js +16 -16
- package/dist/esm/vega-grid.entry.js +9 -8
- package/dist/esm/vega-icon.entry.js +7 -7
- package/dist/esm/vega-image-uploader.entry.js +16 -16
- package/dist/esm/vega-input-credit-card.entry.js +17 -17
- package/dist/esm/vega-input-numeric.entry.js +17 -17
- package/dist/esm/vega-input-passcode.entry.js +16 -16
- package/dist/esm/vega-input-phone-number.entry.js +15 -15
- package/dist/esm/vega-input-range.entry.js +14 -14
- package/dist/esm/vega-input-select.entry.js +16 -16
- package/dist/esm/vega-input.entry.js +58 -35
- package/dist/esm/vega-internal-event-id-70bd893d.js +73 -0
- package/dist/esm/vega-item-toggle.entry.js +8 -8
- package/dist/esm/vega-left-nav_5.entry.js +17 -17
- package/dist/esm/vega-loader-wrapper_2.entry.js +7 -7
- package/dist/esm/vega-page-notification_2.entry.js +3 -3
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +6 -6
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +6 -6
- package/dist/esm/vega-pagination.entry.js +14 -14
- package/dist/esm/vega-popover_2.entry.js +55 -18
- package/dist/esm/vega-progress-tracker_2.entry.js +16 -16
- package/dist/esm/vega-radio_2.entry.js +17 -17
- package/dist/esm/vega-rich-text-content.entry.js +21 -23
- package/dist/esm/vega-rich-text-editor_4.entry.js +196 -231
- package/dist/esm/vega-rich-text-table-properties_3.entry.js +1521 -0
- package/dist/esm/vega-segment-control.entry.js +8 -8
- package/dist/esm/vega-selection-chip_2.entry.js +16 -16
- package/dist/esm/vega-selection-tile_2.entry.js +15 -15
- package/dist/esm/vega-sidenav_3.entry.js +14 -14
- package/dist/esm/vega-signature-capture.entry.js +17 -17
- package/dist/esm/vega-stepper.entry.js +13 -13
- package/dist/esm/vega-tab-group_2.entry.js +9 -9
- package/dist/esm/vega-table_11.entry.js +17 -17
- package/dist/esm/vega-text.entry.js +4 -4
- package/dist/esm/vega-textarea.entry.js +13 -13
- package/dist/esm/vega-time-picker_2.entry.js +65 -23
- package/dist/esm/vega-toggle-switch.entry.js +12 -12
- package/dist/esm/vega-tooltip_2.entry.js +14 -14
- package/dist/esm/vega.js +26 -21
- package/dist/esm/wait-for-component-did-render-03e7ccb2.js +30 -0
- package/dist/sri/vega-sri-manifest.json +384 -360
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-day-view-focus-slimmer.d.ts +15 -0
- package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.d.ts +3 -0
- package/dist/types/components/vega-calendar/vega-calendar-event-preview/slimmers/renderers/vega-calendar-event-preview-detail-renderer.d.ts +6 -0
- package/dist/types/components/vega-calendar/vega-calendar.d.ts +2 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-open-state-controller.d.ts +2 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +5 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-input-renderer-base.abstract.d.ts +2 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.d.ts +3 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.d.ts +5 -0
- package/dist/types/components/vega-grid/vega-grid.d.ts +13 -1
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.d.ts +1 -0
- package/dist/types/components/vega-input/slimmers/renderers/vega-input-input-renderer.d.ts +1 -0
- package/dist/types/components/vega-input/types.d.ts +30 -1
- package/dist/types/components/vega-input/vega-input.d.ts +10 -0
- package/dist/types/components/vega-modal/slimmers/controllers/vega-modal-open-state-controller.d.ts +13 -0
- package/dist/types/components/vega-modal/slimmers/renderers/vega-modal-renderer.d.ts +1 -0
- package/dist/types/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.d.ts +7 -0
- 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/action-handle-strategies/action-handle-strategy.abstract.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/annotation.abstract.d.ts +2 -5
- package/dist/types/components/vega-rich-text-editor/dto/annotations/block-annotation.abstract.d.ts +3 -3
- package/dist/types/components/vega-rich-text-editor/dto/annotations/code-annotation.d.ts +6 -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/annotations/horizontal-alignment-annotation.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/image-annotation.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/link-group-annotation.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/list-annotation.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-format-default-styles.d.ts +22 -0
- package/dist/types/components/vega-rich-text-editor/dto/annotations/text-style-annotation.d.ts +7 -0
- package/dist/types/components/vega-rich-text-editor/dto/blocks/block.abstract.d.ts +10 -6
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy-registry.d.ts +28 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/filter-styles-strategy.abstract.d.ts +45 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/image-node/image-filter-styles-strategy.d.ts +10 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-block-filter-styles-strategy.d.ts +8 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/list-block/list-item-block-filter-styles-strategy.d.ts +9 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-block/alignment-filter-styles-strategy.d.ts +27 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/code-filter-styles-strategy.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/link-filter-styles-strategy.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/dto/filter-styles-strategies/text-node/text-format-filter-styles-strategy.d.ts +41 -0
- 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/extension.abstract.d.ts +15 -2
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-cell-children-remove-interceptor.d.ts +25 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-cell-content-delete-interceptor.d.ts +20 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-row-insert-interceptor.d.ts +19 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-interceptors/prevent-table-insert-paragraph-interceptor.d.ts +31 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/create-segment-table-cell-strategy.d.ts +20 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/delete-table-block-strategy.d.ts +14 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/delete-table-column-strategy.d.ts +74 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/delete-table-row-strategy.d.ts +55 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-block-strategy.d.ts +27 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-column-strategy.d.ts +60 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-row-into-different-section-strategy.d.ts +21 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/insert-table-row-into-same-section-strategy.d.ts +13 -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/replace-table-cell-strategy.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/select-table-column-strategy.d.ts +12 -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/action-handler-strategies/split-table-cell-strategy.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/table-column-strategy.abstract.d.ts +23 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/table-row-strategy.abstract.d.ts +120 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/toggle-header-row-strategy.d.ts +86 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/toggle-header-table-column-strategy.d.ts +55 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/update-table-cell-properties-strategy.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/action-handler-strategies/update-table-properties-strategy.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/create-segment-table-cell-action.d.ts +21 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/delete-table-block-action.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/delete-table-column-action.d.ts +15 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/delete-table-row-action.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/insert-table-block-action.d.ts +20 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/insert-table-column-action.d.ts +23 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/insert-table-row-into-different-section-action.d.ts +20 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/insert-table-row-into-same-section-action.d.ts +24 -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/replace-table-cell-action.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/select-table-column-action.d.ts +18 -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/actions/split-table-cell-action.d.ts +22 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-annotations-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-caption-action.d.ts +14 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-cell-annotations-action.d.ts +20 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/table-head-cell-annotations-action.d.ts +14 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/toggle-header-row-action.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/toggle-header-table-column-action.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/actions/update-table-properties-action.d.ts +18 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotation-handler/table-annotation-handler-base.d.ts +36 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotation-handler/table-annotation-handler.d.ts +26 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotation-handler/table-cell-annotation-handler.d.ts +56 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotation-handler/table-head-cell-annotation-handler.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-annotation.d.ts +73 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-caption-annotation.d.ts +32 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-cell-annotation.d.ts +100 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-color-annotation.d.ts +44 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/annotations/table-head-cell-annotation.d.ts +27 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/constants/styles.constants.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-block.d.ts +79 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-body-block.d.ts +42 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-caption-block.d.ts +41 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-cell-block.d.ts +64 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-head-block.d.ts +42 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-head-cell-block.d.ts +34 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/dto/table-row-block.d.ts +44 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/caption-to-caption-block-strategy.d.ts +37 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/table-to-table-block-strategy.d.ts +26 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/tbody-to-table-body-block-strategy.d.ts +26 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/td-to-table-cell-block-strategy.d.ts +35 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/thead-to-table-head-block-strategy.d.ts +26 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/element-to-dto-strategies/tr-to-table-row-block-strategy.d.ts +26 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-body-renderer.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-caption-renderer.d.ts +13 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-cell-renderer.d.ts +30 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-dynamic-popover-renderer.d.ts +81 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-head-cell-renderer.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-head-renderer.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-popover-base-renderer.d.ts +16 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-renderer.d.ts +38 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-row-renderer.d.ts +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-setting-popover-renderer.d.ts +59 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/renderers/table-toolbar-popover-renderer.d.ts +59 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/caption-operation.d.ts +36 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/cell-properties-cancel-event-handler.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/cell-properties-change-event-handler.d.ts +15 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/cell-properties-save-event-handler.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/cell-properties.d.ts +62 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/column-operation.d.ts +55 -0
- 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/row-operation.d.ts +69 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/setting-event-handler.abstract.d.ts +48 -0
- 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/setting-event-handlers/table-properties-cancel-event-handler.d.ts +19 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/table-properties-change-event-handler.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/table-properties-save-event-handler.d.ts +17 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/setting-event-handlers/table-properties.d.ts +33 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/table-extension.d.ts +36 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/table-icon.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/table-selection.d.ts +164 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/table-toolbar-button-renderer.d.ts +26 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/utils/table-color-manager.d.ts +27 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/utils/utils.d.ts +190 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/assets/align-bottom.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/assets/align-middle.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/assets/align-top.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/assets/objects-align-center-horizontal.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/assets/objects-align-left.d.ts +3 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/assets/objects-align-right.d.ts +3 -0
- 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 +29 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/slimmers/renderers/vega-rich-text-cell-properties-form-field-renderer.d.ts +49 -0
- 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 +111 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/slimmers/renderers/vega-rich-text-table-properties-form-field-renderer.d.ts +27 -0
- 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 +39 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-properties/vega-rich-text-table-properties.d.ts +60 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/slimmers/controllers/selection-widget-keyboard-controller.d.ts +15 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/slimmers/renderers/selection-widget-renderer.d.ts +31 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-selection-widget/vega-rich-text-table-selection-widget.d.ts +27 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/assets/icon.d.ts +2 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/caption-button-slimmer.d.ts +11 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/cell-properties-button-slimmer.d.ts +11 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/column-button-slimmer.d.ts +28 -0
- 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/row-button-slimmer.d.ts +36 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/table-properties-button-slimmer.d.ts +11 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/slimmers/renderers/table-setting-button-slimmer.abstract.d.ts +36 -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 +12 -0
- package/dist/types/components/vega-rich-text-editor/extensions/table/vega-rich-text-table-setting/vega-rich-text-table-setting.d.ts +58 -0
- package/dist/types/components/vega-rich-text-editor/interface.d.ts +34 -2
- package/dist/types/components/vega-rich-text-editor/public-api.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/extension-controller.d.ts +10 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/helper/element-to-dto-strategy/annotation-handler/html-element-to-annotation-generator.d.ts +19 -0
- package/dist/types/components/vega-rich-text-editor/slimmers/controllers/selection-controller.d.ts +19 -6
- package/dist/types/components/vega-rich-text-editor/vega-rich-text-editor.d.ts +0 -2
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.d.ts +1 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.d.ts +1 -0
- package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +12 -0
- package/dist/types/components.d.ts +173 -2
- package/dist/types/constants/ui.d.ts +1 -0
- package/dist/types/helpers/calendar/calendar-date.d.ts +7 -0
- package/dist/types/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.d.ts +0 -1
- package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +3 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-grid-justify-items-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/string-formatter/custom-formatter-strategy.d.ts +2 -1
- package/dist/types/helpers/formatter/string-formatter/number-mask-strategy.d.ts +2 -1
- package/dist/types/helpers/formatter/string-formatter/number-thousand-comma-strategy.d.ts +2 -1
- package/dist/types/helpers/formatter/string-formatter/string-format-strategy.abstract.d.ts +1 -0
- package/dist/types/helpers/formatter/string-formatter/string-mask-strategy.d.ts +32 -4
- package/dist/types/helpers/formatter/string-formatter/thousand-comma-strategy.d.ts +1 -0
- package/dist/types/helpers/keyboard/keyboard-manager.d.ts +1 -0
- package/dist/types/helpers/slimmers/aria-dialog-focusable-trap-slimmer.d.ts +112 -0
- package/dist/types/helpers/translation/interface.d.ts +3 -1
- package/dist/types/types/components.type.d.ts +5 -0
- package/dist/types/types/type-guard.d.ts +7 -0
- package/dist/types/types/ui.type.d.ts +13 -1
- package/dist/types/utils/object.d.ts +6 -2
- package/dist/types/utils/ui.d.ts +12 -1
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/p-010b5e74.js +1 -0
- package/dist/vega/p-01883ffc.entry.js +1 -0
- package/dist/vega/p-02578a59.js +1 -0
- package/dist/vega/p-0313393d.entry.js +1 -0
- package/dist/vega/p-043e685a.entry.js +1 -0
- package/dist/vega/p-04e56b0c.entry.js +1 -0
- package/dist/vega/p-07a2b42a.js +1 -0
- package/dist/vega/p-08780df0.entry.js +1 -0
- package/dist/vega/p-10fa4eac.js +1 -0
- package/dist/vega/p-1557ed92.entry.js +1 -0
- package/dist/vega/p-18619467.js +1 -0
- package/dist/vega/p-19ad4f15.entry.js +1 -0
- package/dist/vega/p-1a2f92a3.entry.js +1 -0
- package/dist/vega/p-1c45565d.js +1 -0
- package/dist/vega/p-1feb4f2a.entry.js +1 -0
- package/dist/vega/p-203bc4db.entry.js +1 -0
- package/dist/vega/p-204c7d41.js +1 -0
- package/dist/vega/p-21c9e1ca.entry.js +1 -0
- package/dist/vega/p-22336063.js +1 -0
- package/dist/vega/p-224b67ff.entry.js +1 -0
- package/dist/vega/p-2a9960c9.js +1 -0
- package/dist/vega/p-2c2df248.js +1 -0
- package/dist/vega/p-2d917e2d.entry.js +1 -0
- package/dist/vega/p-2e73582d.entry.js +1 -0
- package/dist/vega/p-3224e47c.js +1 -0
- package/dist/vega/p-334e3b02.entry.js +1 -0
- package/dist/vega/p-33860e54.js +1 -0
- package/dist/vega/p-35386999.entry.js +1 -0
- package/dist/vega/p-365d21ac.entry.js +1 -0
- package/dist/vega/p-367d44d9.entry.js +1 -0
- package/dist/vega/p-382b71a3.entry.js +1 -0
- package/dist/vega/p-3d2d267d.js +1 -0
- package/dist/vega/p-434fc427.entry.js +1 -0
- package/dist/vega/p-44c5cbb7.js +1 -0
- package/dist/vega/p-47ca1f69.entry.js +1 -0
- package/dist/vega/p-49a2e141.js +1 -0
- package/dist/vega/p-4d65756f.js +1 -0
- package/dist/vega/p-4eb282ef.entry.js +1 -0
- package/dist/vega/p-517434d4.entry.js +1 -0
- package/dist/vega/p-559197f8.js +1 -0
- package/dist/vega/p-576fe408.js +1 -0
- package/dist/vega/p-5ae4ea20.entry.js +1 -0
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/p-60cf2a68.js +1 -0
- package/dist/vega/p-612e3ded.js +1 -0
- package/dist/vega/p-65900dbf.entry.js +1 -0
- package/dist/vega/p-68124bc5.js +1 -0
- package/dist/vega/p-68a531cf.js +1 -0
- package/dist/vega/p-6af55f1c.entry.js +1 -0
- package/dist/vega/p-6c5250b3.js +1 -0
- package/dist/vega/p-6f2e5bc6.js +1 -0
- package/dist/vega/p-70f1cf4e.entry.js +1 -0
- package/dist/vega/p-716c71e6.js +1 -0
- package/dist/vega/p-7362723e.entry.js +1 -0
- package/dist/vega/p-7618dde4.js +1 -0
- package/dist/vega/p-76b80a0c.js +1 -0
- package/dist/vega/p-7912741f.entry.js +1 -0
- package/dist/vega/p-7942c042.entry.js +1 -0
- package/dist/vega/p-7c2fecfd.entry.js +1 -0
- package/dist/vega/p-7ceab8c7.entry.js +1 -0
- package/dist/vega/p-81dd00d0.js +1 -0
- package/dist/vega/p-82016096.js +1 -0
- package/dist/vega/p-8327635d.js +1 -0
- package/dist/vega/p-840ad046.entry.js +1 -0
- package/dist/vega/p-878851f6.js +1 -0
- package/dist/vega/p-89e56502.js +1 -0
- package/dist/vega/p-8adf9732.entry.js +1 -0
- package/dist/vega/p-90137c68.entry.js +1 -0
- package/dist/vega/p-9341c1a9.js +1 -0
- package/dist/vega/p-9390a94b.entry.js +1 -0
- package/dist/vega/p-9551da9c.entry.js +1 -0
- package/dist/vega/p-9862d1a8.entry.js +1 -0
- package/dist/vega/p-9dc23325.entry.js +1 -0
- package/dist/vega/p-a4dbf2cc.js +1 -0
- package/dist/vega/p-a841cf13.js +1 -0
- package/dist/vega/p-a99e75a1.entry.js +1 -0
- package/dist/vega/p-ab21fdf6.entry.js +1 -0
- package/dist/vega/p-b3e40faf.js +1 -0
- package/dist/vega/p-b5a6bd0f.entry.js +1 -0
- package/dist/vega/p-b5c2fff3.entry.js +1 -0
- package/dist/vega/p-b696a861.js +1 -0
- package/dist/vega/p-ba415db6.entry.js +1 -0
- package/dist/vega/p-be3517be.entry.js +1 -0
- package/dist/vega/p-c045e4c1.entry.js +1 -0
- package/dist/vega/p-c4e32125.entry.js +1 -0
- package/dist/vega/p-c5b698f6.entry.js +1 -0
- package/dist/vega/p-c5eb0fa6.js +1 -0
- package/dist/vega/p-c61279a7.entry.js +1 -0
- package/dist/vega/p-c6d62f0d.js +1 -0
- package/dist/vega/p-c78fe943.js +1 -0
- package/dist/vega/p-c9201bf4.js +1 -0
- package/dist/vega/p-cc055723.entry.js +1 -0
- package/dist/vega/p-cca5042b.entry.js +1 -0
- package/dist/vega/p-cda45d2a.entry.js +1 -0
- package/dist/vega/p-cdf5b2f0.entry.js +1 -0
- package/dist/vega/p-cf70c57d.js +1 -0
- package/dist/vega/p-d1494c7c.entry.js +1 -0
- package/dist/vega/p-d1ca70a1.js +1 -0
- package/dist/vega/p-d202e69d.entry.js +1 -0
- package/dist/vega/p-d4ea8e22.js +1 -0
- package/dist/vega/p-dc9b5063.entry.js +1 -0
- package/dist/vega/p-dcd18ab1.js +1 -0
- package/dist/vega/p-df5bfbc4.entry.js +1 -0
- package/dist/vega/p-e4726dcd.entry.js +1 -0
- package/dist/vega/p-e84b95d4.js +1 -0
- package/dist/vega/p-ea21462f.js +1 -0
- package/dist/vega/p-ec1d76c6.entry.js +1 -0
- package/dist/vega/p-f3456993.entry.js +1 -0
- package/dist/vega/p-f4190826.entry.js +1 -0
- package/dist/vega/p-f48c43f4.entry.js +1 -0
- package/dist/vega/p-fcabf0dc.js +1 -0
- package/dist/vega/p-fdac91c4.entry.js +1 -0
- package/dist/vega/p-ffa2e3a6.entry.js +1 -0
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +3 -2
- package/dist/cjs/app-globals-55e26945.js +0 -428
- package/dist/cjs/breakpoints-a8ff22f0.js +0 -56
- package/dist/cjs/child-nodes-notify-observer-slimmer-ed39283b.js +0 -90
- package/dist/cjs/code-block-1a5fafed.js +0 -4422
- package/dist/cjs/component-value-history-controller-slimmer.abstract-42683f23.js +0 -736
- package/dist/cjs/date-required-rule-ad536cb5.js +0 -92
- package/dist/cjs/deprecated-property-slimmer-1eb8f031.js +0 -51
- package/dist/cjs/design-token-45ebd5e4.js +0 -402
- package/dist/cjs/dom-node-subject-observer-factory-c62823de.js +0 -141
- package/dist/cjs/dto-renderer-manager-7557d562.js +0 -4119
- package/dist/cjs/element-appender-slimmer-16ec8591.js +0 -1974
- package/dist/cjs/event-emit-slimmer-c84121c8.js +0 -267
- package/dist/cjs/form-field-controller-slimmer-73f5849e.js +0 -1266
- package/dist/cjs/image-annotation-action-f275863e.js +0 -313
- package/dist/cjs/inject-keyboard-manager-6667c0f1.js +0 -37
- package/dist/cjs/internal-translation-controller-24df468f.js +0 -299
- package/dist/cjs/keyboard-manager-7de7ecfd.js +0 -140
- package/dist/cjs/keyboard-manager-slimmer-b44f0dc9.js +0 -39
- package/dist/cjs/month-view-generator-36c42772.js +0 -102
- package/dist/cjs/object-e2e28e3d.js +0 -50
- package/dist/cjs/page-resize-observer-slimmer-e050cd26.js +0 -123
- package/dist/cjs/public-rules-6c6cb4ac.js +0 -46
- package/dist/cjs/range-e298d4aa.js +0 -178
- package/dist/cjs/responsive-format-facade-bddac47c.js +0 -916
- package/dist/cjs/rich-text-editor-required-rule-6346a888.js +0 -64
- package/dist/cjs/string-format-strategy.abstract-814d66c4.js +0 -60
- package/dist/cjs/string-input-formatter-slimmer-749e3cfe.js +0 -230
- package/dist/cjs/string-mask-strategy-d00871c2.js +0 -172
- package/dist/cjs/style-formatter-94c1a1ff.js +0 -34
- package/dist/cjs/sub-state-notify-slimmer-ac1dae32.js +0 -81
- package/dist/cjs/sub-state-observer-slimmer-e692d849.js +0 -134
- package/dist/cjs/time-required-rule-f1f3c8c2.js +0 -141
- package/dist/cjs/token-extension-1e98ddf3.js +0 -3062
- package/dist/cjs/translation-slimmer-3fa03d81.js +0 -42
- package/dist/cjs/type-guard-a0d9ff1f.js +0 -2012
- package/dist/cjs/ui-024696c0.js +0 -59
- package/dist/cjs/ui-234ea151.js +0 -256
- package/dist/cjs/valid-credit-card-number-rule-cba7d66a.js +0 -173
- package/dist/cjs/vega-internal-event-id-e0aeac45.js +0 -120
- package/dist/cjs/wait-for-component-did-render-cbebfc33.js +0 -32
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.js +0 -195
- package/dist/collection/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.js +0 -94
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.js +0 -72
- package/dist/collection/components/vega-code-block/test/code-block-range.test.js +0 -81
- package/dist/collection/components/vega-dropdown/test/share.js +0 -13
- package/dist/collection/components/vega-input-credit-card/test/share.js +0 -21
- package/dist/collection/components/vega-nav/vega-left-nav/test/vega-left-nav-mock-data.js +0 -147
- package/dist/collection/components/vega-rich-text-editor/helpers/extension-context-manager.test.js +0 -19
- 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/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/action-handle-strategy-registry.test.js +0 -71
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-delete-node-content-strategy.test.js +0 -69
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-insert-line-break-with-blocks-strategy.test.js +0 -24
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/code-block-strategy-registry.test.js +0 -20
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/content-state-strategy-registry.test.js +0 -15
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-block-strategy-register.test.js +0 -32
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-set-annotation-map-strategy.test.js +0 -11
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-update-url-strategy.test.js +0 -16
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-block-strategy-register.test.js +0 -20
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-item-strategy-register.test.js +0 -87
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-split-text-strategy.test.js +0 -32
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-update-annotation-map-strategy.test.js +0 -17
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/text-block-strategy-register.test.js +0 -77
- package/dist/collection/components/vega-rich-text-editor/test/dto/action-handle-strategies/update-selected-text-strategy.test.js +0 -23
- package/dist/collection/components/vega-rich-text-editor/test/dto/annotation-actions.test.js +0 -39
- package/dist/collection/components/vega-rich-text-editor/test/dto/annotation-style.test.js +0 -71
- package/dist/collection/components/vega-rich-text-editor/test/dto/annotations.test.js +0 -381
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/code-block.test.js +0 -54
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/html-block.test.js +0 -167
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/image-block.test.js +0 -90
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-block.test.js +0 -176
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/list-item.test.js +0 -188
- package/dist/collection/components/vega-rich-text-editor/test/dto/blocks/text-block.test.js +0 -193
- package/dist/collection/components/vega-rich-text-editor/test/dto/content-state.test.js +0 -3123
- package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/image-node.test.js +0 -108
- package/dist/collection/components/vega-rich-text-editor/test/dto/nodes/text-node.test.js +0 -510
- package/dist/collection/components/vega-rich-text-editor/test/dto/range.test.js +0 -53
- package/dist/collection/components/vega-rich-text-editor/test/e2e-utils.js +0 -182
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/custom-attribute-annotation-handler.test.js +0 -49
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/element-to-text-node-strategy.test.js +0 -38
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/html-element-to-annotation-generator.test.js +0 -26
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/jira-code-to-rte-code-block-strategy.test.js +0 -32
- package/dist/collection/components/vega-rich-text-editor/test/element-to-dto-strategy/vega-code-block-to-rte-code-block-strategy.test.js +0 -61
- package/dist/collection/components/vega-rich-text-editor/test/extensions/extension-test-utils.js +0 -41
- package/dist/collection/components/vega-rich-text-editor/test/fixture.js +0 -257
- package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/html-content-cleaner.test.js +0 -186
- package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-after-opening-tag-processor.test.js +0 -22
- package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-before-closing-tag-processor.test.js +0 -22
- package/dist/collection/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-between-tags-processor.test.js +0 -26
- package/dist/collection/components/vega-rich-text-editor/test/spec-utils.js +0 -32
- package/dist/collection/components/vega-sidenav/test/test.helper.js +0 -68
- package/dist/collection/components/vega-table/slimmers/controllers/dto/test/column-render-input-model.test.js +0 -83
- package/dist/collection/components/vega-table/slimmers/controllers/dto/test/column-structure-model.test.js +0 -147
- package/dist/collection/components/vega-table/test/utils.js +0 -22
- package/dist/collection/components/vega-table/test/vega-table-sorter.test.js +0 -508
- package/dist/collection/constants/tests/validator.test.js +0 -24
- package/dist/collection/decorators/method-decorators/tests/component-load-required.test.js +0 -114
- package/dist/collection/decorators/property-decorators/tests/inject-element-appender-proxy.test.js +0 -237
- package/dist/collection/decorators/property-decorators/tests/inject-keyboard-manager.test.js +0 -91
- package/dist/collection/global/tests/before-vega-load.test.js +0 -62
- package/dist/collection/helpers/calendar/test/calendar-date-time.test.js +0 -27
- package/dist/collection/helpers/calendar/test/calendar-date.test.js +0 -172
- package/dist/collection/helpers/calendar/test/calendar-event.test.js +0 -263
- package/dist/collection/helpers/calendar/test/calendar-period/day-period.test.js +0 -118
- package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +0 -144
- package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +0 -114
- package/dist/collection/helpers/calendar/test/calendar-time.test.js +0 -45
- package/dist/collection/helpers/calendar/test/calendar-view-generator/day-view-generator.test.js +0 -19
- package/dist/collection/helpers/calendar/test/calendar-view-generator/month-view-generator.test.js +0 -123
- package/dist/collection/helpers/calendar/test/calendar-view-generator/week-view-generator.test.js +0 -43
- package/dist/collection/helpers/calendar/test/calendar-view.test.js +0 -9
- package/dist/collection/helpers/calendar/test/index.test.js +0 -13
- package/dist/collection/helpers/calendar/test/utils.test.js +0 -62
- package/dist/collection/helpers/change-manager/test/change-manager.test.js +0 -30
- package/dist/collection/helpers/change-manager/test/dom-node-subject-factory.test.js +0 -38
- package/dist/collection/helpers/chart/test/controllers/chart-dimension-controller.test.js +0 -63
- package/dist/collection/helpers/chart/test/drawers/arc-path-drawer.test.js +0 -55
- package/dist/collection/helpers/chart/test/drawers/legend-drawer.test.js +0 -94
- package/dist/collection/helpers/chart/test/drawers/line-drawer.test.js +0 -25
- package/dist/collection/helpers/chart/test/drawers/path-drawer.test.js +0 -21
- package/dist/collection/helpers/chart/test/drawers/rect-drawer.test.js +0 -78
- package/dist/collection/helpers/chart/test/drawers/text-drawer.test.js +0 -25
- package/dist/collection/helpers/chart/test/drawers/x-axis-drawer.test.js +0 -38
- package/dist/collection/helpers/chart/test/drawers/y-axis-drawer.test.js +0 -44
- package/dist/collection/helpers/chart/test/graph-context-factory.test.js +0 -17
- package/dist/collection/helpers/chart/test/input-processors/format-time-positions-input-processor.test.js +0 -62
- package/dist/collection/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.js +0 -45
- package/dist/collection/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.js +0 -80
- package/dist/collection/helpers/chart/test/input-processors/layout-input-processor.test.js +0 -40
- package/dist/collection/helpers/chart/test/input-processors/line-path-input-processor.test.js +0 -16
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.js +0 -20
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.js +0 -48
- package/dist/collection/helpers/chart/test/input-processors/sort-positions-input-processor.test.js +0 -53
- package/dist/collection/helpers/chart/test/input-processors/x-axis-input-processor.test.js +0 -78
- package/dist/collection/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.js +0 -109
- package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.coverage.test.js +0 -39
- package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.test.js +0 -55
- package/dist/collection/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.js +0 -11
- package/dist/collection/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.js +0 -25
- package/dist/collection/helpers/chart/test/interactors/interactor-factory.test.js +0 -19
- package/dist/collection/helpers/chart/test/interactors/svg-interactor.test.js +0 -48
- package/dist/collection/helpers/chart/test/line-chart.test.js +0 -96
- package/dist/collection/helpers/chart/test/pie-chart.test.js +0 -38
- package/dist/collection/helpers/chart/test/renderers/canvas-renderer.test.js +0 -31
- package/dist/collection/helpers/chart/test/renderers/renderer-factory.test.js +0 -19
- package/dist/collection/helpers/chart/test/renderers/svg-renderer.test.js +0 -99
- package/dist/collection/helpers/code-format/test/code-formatter.test.js +0 -410
- package/dist/collection/helpers/common/test/common.test.js +0 -7
- package/dist/collection/helpers/common/test/wait-for-component-did-render.test.js +0 -67
- package/dist/collection/helpers/common/test/wait-for-vega-handler.test.js +0 -17
- package/dist/collection/helpers/csp/test/styles-preservator.test.js +0 -207
- package/dist/collection/helpers/csp/test/vega-nonce-manager.test.js +0 -177
- package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +0 -114
- package/dist/collection/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.js +0 -209
- package/dist/collection/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.js +0 -81
- package/dist/collection/helpers/event-manager/test/component-event-id-map.test.js +0 -16
- package/dist/collection/helpers/event-manager/test/event-emit-slimmer.test.js +0 -144
- package/dist/collection/helpers/event-manager/test/internal-vega-event-manager.test.js +0 -70
- package/dist/collection/helpers/event-manager/test/jquery-delegated-strategy-controller.test.js +0 -131
- package/dist/collection/helpers/event-manager/test/vega-event-id.test.js +0 -16
- package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +0 -97
- package/dist/collection/helpers/feature-control/tests/feature-flag-controller.test.js +0 -69
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.js +0 -64
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-style-formatter.test.js +0 -32
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.js +0 -31
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.js +0 -17
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.js +0 -23
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.js +0 -19
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.js +0 -19
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.js +0 -43
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.js +0 -29
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.js +0 -23
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.js +0 -27
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.js +0 -43
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-style-formatter.test.js +0 -28
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.js +0 -43
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-style-formatter.test.js +0 -28
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.js +0 -27
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.js +0 -19
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.js +0 -51
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.js +0 -20
- package/dist/collection/helpers/formatter/test/state-formatter/state-background-color-formatter.test.js +0 -18
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-color-formatter.test.js +0 -13
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-formatter.test.js +0 -13
- package/dist/collection/helpers/formatter/test/state-formatter/state-format-facade.test.js +0 -27
- package/dist/collection/helpers/formatter/test/state-formatter/state-shadow-formatter.test.js +0 -13
- package/dist/collection/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.js +0 -13
- package/dist/collection/helpers/formatter/test/string-formatter/number-mask-strategy.test.js +0 -101
- package/dist/collection/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.js +0 -40
- package/dist/collection/helpers/formatter/test/string-formatter/string-mask-strategy.test.js +0 -147
- package/dist/collection/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.js +0 -21
- package/dist/collection/helpers/formatter/test/string-formatter/vega-phone-number-input-strategy.test.js +0 -43
- package/dist/collection/helpers/formatter/test/style-formatter.test.js +0 -16
- package/dist/collection/helpers/icon/test/icon-manager-controller.test.js +0 -101
- package/dist/collection/helpers/icon/test/internal-icon-manager.test.js +0 -18
- package/dist/collection/helpers/immutable/test/immutable-array.test.js +0 -78
- package/dist/collection/helpers/immutable/test/immutable-map.test.js +0 -83
- package/dist/collection/helpers/immutable/test/immutable-set.test.js +0 -87
- package/dist/collection/helpers/keyboard/test/keyboard-manager.test.js +0 -241
- package/dist/collection/helpers/level-tracker/test/nested-level-tracker.test.js +0 -33
- package/dist/collection/helpers/loading-indicator/tests/vega-loader-controller.test.js +0 -192
- package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +0 -165
- package/dist/collection/helpers/paginator/test/value-paginator.test.js +0 -15
- package/dist/collection/helpers/queue/test/synchronize-task-queue.test.js +0 -76
- package/dist/collection/helpers/remote-invocation/remote-invocation-registry.test.js +0 -17
- package/dist/collection/helpers/rte-manager/rte.manager.test.js +0 -94
- package/dist/collection/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.js +0 -194
- package/dist/collection/helpers/slimmers/element-appender/test/element-appender-slimmer.test.js +0 -621
- package/dist/collection/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.js +0 -248
- package/dist/collection/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.js +0 -120
- package/dist/collection/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.js +0 -182
- package/dist/collection/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.js +0 -353
- package/dist/collection/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.js +0 -365
- package/dist/collection/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.js +0 -96
- package/dist/collection/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.js +0 -228
- package/dist/collection/helpers/slimmers/test/auto-run-when-re-render-task-queue-slimmer.test.js +0 -46
- package/dist/collection/helpers/slimmers/test/brand-switch-state-controller-slimmer.test.js +0 -75
- package/dist/collection/helpers/slimmers/test/component-global-style-slimmer.test.js +0 -104
- package/dist/collection/helpers/slimmers/test/component-usage-runtime-metrics.test.js +0 -72
- package/dist/collection/helpers/slimmers/test/dark-mode-state-controller.test.js +0 -65
- package/dist/collection/helpers/slimmers/test/deprecated-property-slimmer.test.js +0 -36
- package/dist/collection/helpers/slimmers/test/field-error-controller-slimmer.test.js +0 -55
- package/dist/collection/helpers/slimmers/test/form-field-controller-slimmer.test.js +0 -278
- package/dist/collection/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.js +0 -106
- package/dist/collection/helpers/slimmers/test/global/vega-nonce-injector-slimmer.test.js +0 -64
- package/dist/collection/helpers/slimmers/test/global/vega-translate-observer-slimmer.test.js +0 -89
- package/dist/collection/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.js +0 -101
- package/dist/collection/helpers/slimmers/test/keyboard-manager-slimmer.test.js +0 -90
- package/dist/collection/helpers/slimmers/test/page-resize-observer-slimmer.test.js +0 -278
- package/dist/collection/helpers/slimmers/test/string-input-formatter-slimmer.test.js +0 -220
- package/dist/collection/helpers/slimmers/test/translation-slimmer.test.js +0 -89
- package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +0 -614
- package/dist/collection/helpers/touch-helper/test/touch-listener.test.js +0 -122
- package/dist/collection/helpers/translation/tests/internal-translation-controller.test.js +0 -286
- package/dist/collection/helpers/translation/tests/translation.test.js +0 -46
- package/dist/collection/helpers/ui/test/element-appender.test.js +0 -530
- package/dist/collection/helpers/validator/test/rules/check-box-required-rule.test.js +0 -88
- package/dist/collection/helpers/validator/test/rules/custom-validation-rule.test.js +0 -56
- package/dist/collection/helpers/validator/test/rules/date-range-rule.test.js +0 -67
- package/dist/collection/helpers/validator/test/rules/date-required-rule.test.js +0 -120
- package/dist/collection/helpers/validator/test/rules/email-field-rule.test.js +0 -69
- package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +0 -7
- package/dist/collection/helpers/validator/test/rules/input-phone-number-required-rule.test.js +0 -105
- package/dist/collection/helpers/validator/test/rules/input-range-min-and-max-rule.test.js +0 -146
- package/dist/collection/helpers/validator/test/rules/input-range-required-rule.test.js +0 -82
- package/dist/collection/helpers/validator/test/rules/input-select-value-in-source-rule.test.js +0 -99
- package/dist/collection/helpers/validator/test/rules/max-number-rule.test.js +0 -97
- package/dist/collection/helpers/validator/test/rules/max-string-length-rule.test.js +0 -85
- package/dist/collection/helpers/validator/test/rules/min-and-max-date-rule.test.js +0 -174
- package/dist/collection/helpers/validator/test/rules/min-number-rule.test.js +0 -97
- package/dist/collection/helpers/validator/test/rules/min-string-length-rule.test.js +0 -85
- package/dist/collection/helpers/validator/test/rules/public-rules.test.js +0 -80
- package/dist/collection/helpers/validator/test/rules/required-field-rule.test.js +0 -126
- package/dist/collection/helpers/validator/test/rules/rich-text-editor-required-rule.test.js +0 -360
- package/dist/collection/helpers/validator/test/rules/time-range-required-rule.test.js +0 -82
- package/dist/collection/helpers/validator/test/rules/time-range-rule.test.js +0 -67
- package/dist/collection/helpers/validator/test/rules/time-required-rule.test.js +0 -116
- package/dist/collection/helpers/validator/test/rules/toggle-switch-required-rule.test.js +0 -72
- package/dist/collection/helpers/validator/test/rules/valid-credit-card-number-rule.test.js +0 -135
- package/dist/collection/helpers/validator/test/rules/valid-phone-number-rule.test.js +0 -95
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.js +0 -65
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.js +0 -82
- package/dist/collection/helpers/validator/test/validator/form-field-controller.test.js +0 -205
- package/dist/collection/helpers/vega-telemetry-helper/test/vega-env-manager.test.js +0 -14
- package/dist/collection/helpers/zindex/test/internal-vega-z-index-manager.test.js +0 -176
- package/dist/collection/helpers/zindex/test/vega-z-index-manager.test.js +0 -46
- package/dist/collection/polyfill/d3/test/d3-array-polyfill.test.js +0 -72
- package/dist/collection/polyfill/d3/test/d3-axis-polyfill.test.js +0 -171
- package/dist/collection/polyfill/d3/test/d3-integration.test.js +0 -137
- package/dist/collection/polyfill/d3/test/d3-scale-polyfill.test.js +0 -382
- package/dist/collection/polyfill/d3/test/d3-selection-polyfill.test.js +0 -239
- package/dist/collection/polyfill/d3/test/d3-shape-polyfill.test.js +0 -225
- package/dist/collection/polyfill/d3/test/d3-time-format-polyfill.test.js +0 -162
- package/dist/collection/polyfill/d3/test/d3-time-polyfill.test.js +0 -76
- package/dist/collection/polyfill/d3/test/index.test.js +0 -78
- package/dist/collection/polyfill/libphonenumber/test/as-you-type.test.js +0 -309
- package/dist/collection/polyfill/libphonenumber/test/format-helpers.test.js +0 -192
- package/dist/collection/polyfill/libphonenumber/test/index.test.js +0 -16
- package/dist/collection/polyfill/libphonenumber/test/metadata.test.js +0 -196
- package/dist/collection/polyfill/libphonenumber/test/parse-phone-number.test.js +0 -218
- package/dist/collection/polyfill/libphonenumber/test/phone-number.test.js +0 -56
- package/dist/collection/polyfill/prism/test/css.test.js +0 -61
- package/dist/collection/polyfill/prism/test/javascript.test.js +0 -113
- package/dist/collection/polyfill/prism/test/jsx.test.js +0 -48
- package/dist/collection/polyfill/prism/test/language-registry.test.js +0 -77
- package/dist/collection/polyfill/prism/test/markup.test.js +0 -57
- package/dist/collection/polyfill/prism/test/test-utils.js +0 -22
- package/dist/collection/polyfill/prism/test/tokenizer.test.js +0 -180
- package/dist/collection/polyfill/prism/test/tsx.test.js +0 -87
- package/dist/collection/polyfill/prism/test/typescript.test.js +0 -86
- package/dist/collection/polyfill/shadow-selection/test/shadow-selection-polyfill.test.js +0 -234
- package/dist/collection/polyfill/test-polyfill/e2e/retry.js +0 -42
- package/dist/collection/polyfill/test-polyfill/unit/create-touch-event.js +0 -31
- package/dist/collection/polyfill/test-polyfill/unit/events.js +0 -100
- package/dist/collection/polyfill/test-polyfill/unit/index.js +0 -3
- package/dist/collection/polyfill/test-polyfill/unit/methods.js +0 -47
- package/dist/collection/polyfill/test-polyfill/unit/range.js +0 -15
- package/dist/collection/polyfill/test-polyfill/unit/shadow-selection.js +0 -17
- package/dist/collection/polyfill/tinycolor/tinycolor-polyfill.test.js +0 -361
- package/dist/collection/test-assets/test-icons.js +0 -5
- package/dist/collection/types/test/type-guard.test.js +0 -46
- package/dist/collection/utils/e2e-utils.js +0 -341
- package/dist/collection/utils/sanitize/test/empty-strategy.test.js +0 -12
- package/dist/collection/utils/sanitize/test/html-sanitizer.test.js +0 -57
- package/dist/collection/utils/sanitize/test/label-strategy.test.js +0 -56
- package/dist/collection/utils/sanitize/test/sanitize-strategy.test.js +0 -85
- package/dist/collection/utils/sanitize/test/sanitize.test.js +0 -22
- package/dist/collection/utils/sanitize/test/serialize-fragment.test.js +0 -25
- package/dist/collection/utils/sanitize/test/style-strategy.test.js +0 -45
- package/dist/collection/utils/spec-utils.js +0 -225
- package/dist/collection/utils/test/accessibility.test.js +0 -40
- package/dist/collection/utils/test/api.test.js +0 -34
- package/dist/collection/utils/test/array.test.js +0 -260
- package/dist/collection/utils/test/breakpoint.test.js +0 -37
- package/dist/collection/utils/test/component.test.js +0 -59
- package/dist/collection/utils/test/date.test.js +0 -104
- package/dist/collection/utils/test/design-token.test.js +0 -91
- package/dist/collection/utils/test/effect.test.js +0 -64
- package/dist/collection/utils/test/local-storage.test.js +0 -38
- package/dist/collection/utils/test/log.test.js +0 -49
- package/dist/collection/utils/test/misc.test.js +0 -40
- package/dist/collection/utils/test/number.test.js +0 -18
- package/dist/collection/utils/test/object.test.js +0 -77
- package/dist/collection/utils/test/pagination.test.js +0 -40
- package/dist/collection/utils/test/pixel.test.js +0 -29
- package/dist/collection/utils/test/safe-document.test.js +0 -13
- package/dist/collection/utils/test/spec-utils.test.js +0 -73
- package/dist/collection/utils/test/string.test.js +0 -8
- package/dist/collection/utils/test/test-utils.test.js +0 -70
- package/dist/collection/utils/test/timer.test.js +0 -16
- package/dist/collection/utils/test/ui.test.js +0 -301
- package/dist/collection/utils/test-utils.js +0 -156
- package/dist/esm/app-globals-3b97bb20.js +0 -426
- package/dist/esm/breakpoints-13353e09.js +0 -53
- package/dist/esm/child-nodes-event-prevent-slimmer-4feabae0.js +0 -156
- package/dist/esm/child-nodes-notify-observer-slimmer-541dd6a4.js +0 -88
- package/dist/esm/code-block-d65bab61.js +0 -4364
- package/dist/esm/component-value-history-controller-slimmer.abstract-556fcf2a.js +0 -730
- package/dist/esm/date-required-rule-4ffd9cae.js +0 -90
- package/dist/esm/deprecated-property-slimmer-2c14df89.js +0 -49
- package/dist/esm/design-token-b518a2aa.js +0 -388
- package/dist/esm/dom-node-subject-observer-factory-82f346e3.js +0 -138
- package/dist/esm/dto-renderer-manager-73df5cbe.js +0 -4101
- package/dist/esm/element-appender-slimmer-36b7a572.js +0 -1972
- package/dist/esm/event-emit-slimmer-f879fd58.js +0 -265
- package/dist/esm/form-field-controller-slimmer-9a880420.js +0 -1264
- package/dist/esm/image-annotation-action-eb3dcad5.js +0 -307
- package/dist/esm/inject-keyboard-manager-e5481833.js +0 -35
- package/dist/esm/internal-translation-controller-0787a7a7.js +0 -296
- package/dist/esm/internal-vega-event-manager-3aebbe55.js +0 -494
- package/dist/esm/keyboard-manager-4dfc625f.js +0 -138
- package/dist/esm/keyboard-manager-slimmer-87bf68f1.js +0 -37
- package/dist/esm/month-view-generator-94134ec5.js +0 -98
- package/dist/esm/object-66c37948.js +0 -46
- package/dist/esm/page-resize-observer-slimmer-e0505250.js +0 -121
- package/dist/esm/public-rules-49912d52.js +0 -31
- package/dist/esm/range-0a22b512.js +0 -176
- package/dist/esm/responsive-format-facade-b3799ff9.js +0 -912
- package/dist/esm/rich-text-editor-required-rule-d86e3a51.js +0 -62
- package/dist/esm/string-format-strategy.abstract-e40a0df7.js +0 -58
- package/dist/esm/string-input-formatter-slimmer-076764fc.js +0 -228
- package/dist/esm/string-mask-strategy-df1f5707.js +0 -170
- package/dist/esm/style-formatter-95255392.js +0 -32
- package/dist/esm/sub-state-notify-slimmer-f4b3b0b9.js +0 -79
- package/dist/esm/sub-state-observer-slimmer-058feaf0.js +0 -132
- package/dist/esm/time-required-rule-b4af75ae.js +0 -138
- package/dist/esm/token-extension-ffd98170.js +0 -3041
- package/dist/esm/translation-slimmer-e788cae4.js +0 -40
- package/dist/esm/type-guard-f69d2935.js +0 -1939
- package/dist/esm/ui-41f725b7.js +0 -45
- package/dist/esm/ui-ee31416b.js +0 -241
- package/dist/esm/valid-credit-card-number-rule-c023326d.js +0 -171
- package/dist/esm/vega-event-id-fdc58a67.js +0 -114
- package/dist/esm/vega-internal-event-id-12783594.js +0 -70
- package/dist/esm/wait-for-component-did-render-4d0a3428.js +0 -30
- package/dist/types/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.d.ts +0 -1
- package/dist/types/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.d.ts +0 -1
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.d.ts +0 -1
- package/dist/types/components/vega-code-block/test/code-block-range.test.d.ts +0 -1
- package/dist/types/components/vega-dropdown/test/share.d.ts +0 -12
- package/dist/types/components/vega-input-credit-card/test/share.d.ts +0 -18
- package/dist/types/components/vega-nav/vega-left-nav/test/vega-left-nav-mock-data.d.ts +0 -4
- package/dist/types/components/vega-rich-text-editor/helpers/extension-context-manager.test.d.ts +0 -1
- 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/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/action-handle-strategy-registry.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-delete-node-content-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/block-insert-line-break-with-blocks-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/code-block-strategy-registry.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/content-state-strategy-registry.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-block-strategy-register.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-set-annotation-map-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/image-update-url-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-block-strategy-register.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/list-item-strategy-register.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-split-text-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/node-update-annotation-map-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/text-block-strategy-register.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/action-handle-strategies/update-selected-text-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/annotation-actions.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/annotation-style.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/annotations.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/code-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/html-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/image-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/list-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/list-item.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/blocks/text-block.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/content-state.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/nodes/image-node.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/nodes/text-node.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/dto/range.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/e2e-utils.d.ts +0 -67
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/custom-attribute-annotation-handler.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/element-to-text-node-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/html-element-to-annotation-generator.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/jira-code-to-rte-code-block-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/element-to-dto-strategy/vega-code-block-to-rte-code-block-strategy.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/extensions/extension-test-utils.d.ts +0 -21
- package/dist/types/components/vega-rich-text-editor/test/fixture.d.ts +0 -19
- package/dist/types/components/vega-rich-text-editor/test/html-cleaner/html-content-cleaner.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-after-opening-tag-processor.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-before-closing-tag-processor.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/html-cleaner/remove-whitespace-between-tags-processor.test.d.ts +0 -1
- package/dist/types/components/vega-rich-text-editor/test/spec-utils.d.ts +0 -15
- package/dist/types/components/vega-sidenav/test/test.helper.d.ts +0 -6
- package/dist/types/components/vega-table/slimmers/controllers/dto/test/column-render-input-model.test.d.ts +0 -1
- package/dist/types/components/vega-table/slimmers/controllers/dto/test/column-structure-model.test.d.ts +0 -1
- package/dist/types/components/vega-table/test/utils.d.ts +0 -9
- package/dist/types/components/vega-table/test/vega-table-sorter.test.d.ts +0 -1
- package/dist/types/constants/tests/validator.test.d.ts +0 -1
- package/dist/types/decorators/method-decorators/tests/component-load-required.test.d.ts +0 -1
- package/dist/types/decorators/property-decorators/tests/inject-element-appender-proxy.test.d.ts +0 -1
- package/dist/types/decorators/property-decorators/tests/inject-keyboard-manager.test.d.ts +0 -1
- package/dist/types/global/tests/before-vega-load.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-date-time.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-date.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-event.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-period/day-period.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-period/month-period.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-period/week-period.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-time.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-view-generator/day-view-generator.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-view-generator/month-view-generator.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-view-generator/week-view-generator.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/calendar-view.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/index.test.d.ts +0 -1
- package/dist/types/helpers/calendar/test/utils.test.d.ts +0 -1
- package/dist/types/helpers/change-manager/test/change-manager.test.d.ts +0 -1
- package/dist/types/helpers/change-manager/test/dom-node-subject-factory.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/controllers/chart-dimension-controller.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/arc-path-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/legend-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/line-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/path-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/rect-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/text-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/x-axis-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/drawers/y-axis-drawer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/graph-context-factory.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/format-time-positions-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/layout-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/line-path-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/sort-positions-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/x-axis-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.coverage.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/interactors/interactor-factory.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/interactors/svg-interactor.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/line-chart.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/pie-chart.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/renderers/canvas-renderer.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/renderers/renderer-factory.test.d.ts +0 -1
- package/dist/types/helpers/chart/test/renderers/svg-renderer.test.d.ts +0 -1
- package/dist/types/helpers/code-format/test/code-formatter.test.d.ts +0 -1
- package/dist/types/helpers/common/test/common.test.d.ts +0 -1
- package/dist/types/helpers/common/test/wait-for-component-did-render.test.d.ts +0 -1
- package/dist/types/helpers/common/test/wait-for-vega-handler.test.d.ts +0 -1
- package/dist/types/helpers/csp/test/styles-preservator.test.d.ts +0 -1
- package/dist/types/helpers/csp/test/vega-nonce-manager.test.d.ts +0 -1
- package/dist/types/helpers/dialog/test/vega-dialog-controller.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/component-event-id-map.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/event-emit-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/internal-vega-event-manager.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/jquery-delegated-strategy-controller.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/vega-event-id.test.d.ts +0 -1
- package/dist/types/helpers/event-manager/test/vega-event-manager.test.d.ts +0 -1
- package/dist/types/helpers/feature-control/tests/feature-flag-controller.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-style-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-style-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-style-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-background-color-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-border-color-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-border-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-format-facade.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/state-formatter/state-shadow-formatter.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/number-mask-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/string-mask-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/string-formatter/vega-phone-number-input-strategy.test.d.ts +0 -1
- package/dist/types/helpers/formatter/test/style-formatter.test.d.ts +0 -1
- package/dist/types/helpers/icon/test/icon-manager-controller.test.d.ts +0 -1
- package/dist/types/helpers/icon/test/internal-icon-manager.test.d.ts +0 -1
- package/dist/types/helpers/immutable/test/immutable-array.test.d.ts +0 -1
- package/dist/types/helpers/immutable/test/immutable-map.test.d.ts +0 -1
- package/dist/types/helpers/immutable/test/immutable-set.test.d.ts +0 -1
- package/dist/types/helpers/keyboard/test/keyboard-manager.test.d.ts +0 -1
- package/dist/types/helpers/level-tracker/test/nested-level-tracker.test.d.ts +0 -1
- package/dist/types/helpers/loading-indicator/tests/vega-loader-controller.test.d.ts +0 -1
- package/dist/types/helpers/notify/tests/vega-notify-controller.test.d.ts +0 -1
- package/dist/types/helpers/paginator/test/value-paginator.test.d.ts +0 -1
- package/dist/types/helpers/queue/test/synchronize-task-queue.test.d.ts +0 -1
- package/dist/types/helpers/remote-invocation/remote-invocation-registry.test.d.ts +0 -1
- package/dist/types/helpers/rte-manager/rte.manager.test.d.ts +0 -1
- package/dist/types/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/element-appender/test/element-appender-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/mutation-observer/test/data-tab-index-value-mapper.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.d.ts +0 -15
- package/dist/types/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/auto-run-when-re-render-task-queue-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/brand-switch-state-controller-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/component-global-style-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/component-usage-runtime-metrics.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/dark-mode-state-controller.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/deprecated-property-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/field-error-controller-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/form-field-controller-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/global/vega-nonce-injector-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/global/vega-translate-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/keyboard-manager-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/page-resize-observer-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/string-input-formatter-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/slimmers/test/translation-slimmer.test.d.ts +0 -1
- package/dist/types/helpers/theme/tests/theme-manager-controller.test.d.ts +0 -1
- package/dist/types/helpers/touch-helper/test/touch-listener.test.d.ts +0 -1
- package/dist/types/helpers/translation/tests/internal-translation-controller.test.d.ts +0 -1
- package/dist/types/helpers/translation/tests/translation.test.d.ts +0 -1
- package/dist/types/helpers/ui/test/element-appender.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/check-box-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/custom-validation-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/date-range-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/date-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/email-field-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/file-uploader-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/input-phone-number-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/input-range-min-and-max-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/input-range-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/input-select-value-in-source-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/max-number-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/max-string-length-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/min-and-max-date-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/min-number-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/min-string-length-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/public-rules.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/required-field-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/rich-text-editor-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/time-range-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/time-range-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/time-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/toggle-switch-required-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/valid-credit-card-number-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/rules/valid-phone-number-rule.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.d.ts +0 -1
- package/dist/types/helpers/validator/test/validator/form-field-controller.test.d.ts +0 -1
- package/dist/types/helpers/vega-telemetry-helper/test/vega-env-manager.test.d.ts +0 -1
- package/dist/types/helpers/zindex/test/internal-vega-z-index-manager.test.d.ts +0 -1
- package/dist/types/helpers/zindex/test/vega-z-index-manager.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-array-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-axis-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-integration.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-scale-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-selection-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-shape-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-time-format-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/d3-time-polyfill.test.d.ts +0 -1
- package/dist/types/polyfill/d3/test/index.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/as-you-type.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/format-helpers.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/index.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/metadata.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/parse-phone-number.test.d.ts +0 -1
- package/dist/types/polyfill/libphonenumber/test/phone-number.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/css.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/javascript.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/jsx.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/language-registry.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/markup.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/test-utils.d.ts +0 -10
- package/dist/types/polyfill/prism/test/tokenizer.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/tsx.test.d.ts +0 -1
- package/dist/types/polyfill/prism/test/typescript.test.d.ts +0 -1
- package/dist/types/polyfill/shadow-selection/test/shadow-selection-polyfill.test.d.ts +0 -0
- package/dist/types/polyfill/test-polyfill/e2e/retry.d.ts +0 -8
- package/dist/types/polyfill/test-polyfill/unit/create-touch-event.d.ts +0 -11
- package/dist/types/polyfill/test-polyfill/unit/events.d.ts +0 -1
- package/dist/types/polyfill/test-polyfill/unit/index.d.ts +0 -3
- package/dist/types/polyfill/test-polyfill/unit/methods.d.ts +0 -1
- package/dist/types/polyfill/test-polyfill/unit/range.d.ts +0 -7
- package/dist/types/polyfill/test-polyfill/unit/shadow-selection.d.ts +0 -0
- package/dist/types/polyfill/tinycolor/tinycolor-polyfill.test.d.ts +0 -1
- package/dist/types/test-assets/test-icons.d.ts +0 -4
- package/dist/types/types/test/type-guard.test.d.ts +0 -1
- package/dist/types/utils/e2e-utils.d.ts +0 -150
- package/dist/types/utils/sanitize/test/empty-strategy.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/html-sanitizer.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/label-strategy.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/sanitize-strategy.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/sanitize.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/serialize-fragment.test.d.ts +0 -1
- package/dist/types/utils/sanitize/test/style-strategy.test.d.ts +0 -1
- package/dist/types/utils/spec-utils.d.ts +0 -108
- package/dist/types/utils/test/accessibility.test.d.ts +0 -1
- package/dist/types/utils/test/api.test.d.ts +0 -1
- package/dist/types/utils/test/array.test.d.ts +0 -1
- package/dist/types/utils/test/breakpoint.test.d.ts +0 -1
- package/dist/types/utils/test/component.test.d.ts +0 -1
- package/dist/types/utils/test/date.test.d.ts +0 -1
- package/dist/types/utils/test/design-token.test.d.ts +0 -1
- package/dist/types/utils/test/effect.test.d.ts +0 -1
- package/dist/types/utils/test/local-storage.test.d.ts +0 -1
- package/dist/types/utils/test/log.test.d.ts +0 -1
- package/dist/types/utils/test/misc.test.d.ts +0 -1
- package/dist/types/utils/test/number.test.d.ts +0 -1
- package/dist/types/utils/test/object.test.d.ts +0 -1
- package/dist/types/utils/test/pagination.test.d.ts +0 -1
- package/dist/types/utils/test/pixel.test.d.ts +0 -1
- package/dist/types/utils/test/safe-document.test.d.ts +0 -1
- package/dist/types/utils/test/spec-utils.test.d.ts +0 -1
- package/dist/types/utils/test/string.test.d.ts +0 -1
- package/dist/types/utils/test/test-utils.test.d.ts +0 -1
- package/dist/types/utils/test/timer.test.d.ts +0 -1
- package/dist/types/utils/test/ui.test.d.ts +0 -1
- package/dist/types/utils/test-utils.d.ts +0 -61
- package/dist/vega/p-0009e0bc.entry.js +0 -1
- package/dist/vega/p-02976501.js +0 -1
- package/dist/vega/p-03280f85.entry.js +0 -1
- package/dist/vega/p-03b1e442.js +0 -1
- package/dist/vega/p-0681ffee.entry.js +0 -1
- package/dist/vega/p-093aa0cb.entry.js +0 -1
- package/dist/vega/p-1828f9e6.entry.js +0 -1
- package/dist/vega/p-19883e27.entry.js +0 -1
- package/dist/vega/p-1e015382.js +0 -1
- package/dist/vega/p-1ff45314.entry.js +0 -1
- package/dist/vega/p-24b4c64f.js +0 -1
- package/dist/vega/p-2e7ec8e0.entry.js +0 -1
- package/dist/vega/p-309b5016.entry.js +0 -1
- package/dist/vega/p-31ac7386.js +0 -1
- package/dist/vega/p-3592a26d.entry.js +0 -1
- package/dist/vega/p-383e235a.entry.js +0 -1
- package/dist/vega/p-3992038a.js +0 -1
- package/dist/vega/p-3a537cd0.js +0 -1
- package/dist/vega/p-3b7ad04b.entry.js +0 -1
- package/dist/vega/p-3d4b8066.entry.js +0 -1
- package/dist/vega/p-3e484d99.entry.js +0 -1
- package/dist/vega/p-3fd3861c.entry.js +0 -1
- package/dist/vega/p-4079e932.js +0 -1
- package/dist/vega/p-43df17a1.js +0 -1
- package/dist/vega/p-473ceda5.entry.js +0 -1
- package/dist/vega/p-474b97cf.entry.js +0 -1
- package/dist/vega/p-47c202eb.entry.js +0 -1
- package/dist/vega/p-4e0344bc.entry.js +0 -1
- package/dist/vega/p-4efe9cd8.entry.js +0 -1
- package/dist/vega/p-536ad3d7.entry.js +0 -1
- package/dist/vega/p-53e0b2bd.entry.js +0 -1
- package/dist/vega/p-57180993.entry.js +0 -1
- package/dist/vega/p-5b238c6d.js +0 -1
- package/dist/vega/p-5ba34330.js +0 -1
- package/dist/vega/p-5e1d0f21.entry.js +0 -1
- package/dist/vega/p-5ed5aa26.js +0 -1
- package/dist/vega/p-5f81beae.js +0 -1
- package/dist/vega/p-6a8ac66d.entry.js +0 -1
- package/dist/vega/p-6b3776ec.js +0 -1
- package/dist/vega/p-6b4021f0.entry.js +0 -1
- package/dist/vega/p-6c170474.js +0 -1
- package/dist/vega/p-6cf28c27.js +0 -1
- package/dist/vega/p-71cd1d9e.entry.js +0 -1
- package/dist/vega/p-7440325c.entry.js +0 -1
- package/dist/vega/p-764425e4.entry.js +0 -1
- package/dist/vega/p-77908e45.entry.js +0 -1
- package/dist/vega/p-7ade785e.js +0 -1
- package/dist/vega/p-7db5e003.js +0 -1
- package/dist/vega/p-7db918f4.js +0 -1
- package/dist/vega/p-7f398d23.entry.js +0 -1
- package/dist/vega/p-7f665911.entry.js +0 -1
- package/dist/vega/p-840f156e.entry.js +0 -1
- package/dist/vega/p-87379d3c.js +0 -1
- package/dist/vega/p-87ed06cd.entry.js +0 -1
- package/dist/vega/p-882a220c.js +0 -1
- package/dist/vega/p-8852361b.js +0 -1
- package/dist/vega/p-898bcb24.js +0 -1
- package/dist/vega/p-8fbb677e.entry.js +0 -1
- package/dist/vega/p-9493d87a.js +0 -1
- package/dist/vega/p-951c0172.js +0 -1
- package/dist/vega/p-95919581.entry.js +0 -1
- package/dist/vega/p-95d1b547.js +0 -1
- package/dist/vega/p-99c8f9a4.entry.js +0 -1
- package/dist/vega/p-9c713bc0.js +0 -1
- package/dist/vega/p-9dc77b66.entry.js +0 -1
- package/dist/vega/p-9f467a59.js +0 -1
- package/dist/vega/p-a113fd15.entry.js +0 -1
- package/dist/vega/p-a253e791.entry.js +0 -1
- package/dist/vega/p-a3272850.entry.js +0 -1
- package/dist/vega/p-a432708d.entry.js +0 -1
- package/dist/vega/p-a57a7ab8.entry.js +0 -1
- package/dist/vega/p-a58bd510.entry.js +0 -1
- package/dist/vega/p-a957e15f.js +0 -1
- package/dist/vega/p-abb81b7b.js +0 -1
- package/dist/vega/p-ae6ed091.entry.js +0 -1
- package/dist/vega/p-b5e31243.entry.js +0 -1
- package/dist/vega/p-b88ca09b.js +0 -1
- package/dist/vega/p-b901d624.js +0 -1
- package/dist/vega/p-ba475520.entry.js +0 -1
- package/dist/vega/p-bf04ff19.js +0 -1
- package/dist/vega/p-bf19682d.js +0 -1
- package/dist/vega/p-c208a3b7.js +0 -1
- package/dist/vega/p-c25577ae.entry.js +0 -1
- package/dist/vega/p-c2560608.entry.js +0 -1
- package/dist/vega/p-c2df94f6.js +0 -1
- package/dist/vega/p-c3eec160.entry.js +0 -1
- package/dist/vega/p-c6031d3f.entry.js +0 -1
- package/dist/vega/p-c72e08c6.entry.js +0 -1
- package/dist/vega/p-c87cf96a.entry.js +0 -1
- package/dist/vega/p-cc243e62.entry.js +0 -1
- package/dist/vega/p-cd3d177b.entry.js +0 -1
- package/dist/vega/p-d0687ec0.js +0 -1
- package/dist/vega/p-d25db724.js +0 -1
- package/dist/vega/p-d42dbe39.js +0 -1
- package/dist/vega/p-d5570331.entry.js +0 -1
- package/dist/vega/p-d5797747.js +0 -1
- package/dist/vega/p-d7434f44.entry.js +0 -1
- package/dist/vega/p-db92453f.entry.js +0 -1
- package/dist/vega/p-e52890db.js +0 -1
- package/dist/vega/p-e5be807b.entry.js +0 -1
- package/dist/vega/p-e6f0097f.js +0 -1
- package/dist/vega/p-e7a8b61e.entry.js +0 -1
- package/dist/vega/p-f46f6679.entry.js +0 -1
- package/dist/vega/p-f49e8cc5.entry.js +0 -1
- package/dist/vega/p-f5b6059d.entry.js +0 -1
- package/dist/vega/p-fb40a829.js +0 -1
|
@@ -0,0 +1,2033 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const breakpoints = require('./breakpoints-ebde4837.js');
|
|
4
|
+
const ui = require('./ui-32120990.js');
|
|
5
|
+
const typography = require('./typography-4560e7f1.js');
|
|
6
|
+
const internalTranslationController = require('./internal-translation-controller-9f58a4e4.js');
|
|
7
|
+
const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
|
|
8
|
+
|
|
9
|
+
const GridRowsRegex = new RegExp(/^([1-9]|1[0-2])(-auto)?$/);
|
|
10
|
+
const GridColumnsRegex = new RegExp(/^([1-9]|1[0-2])(-auto)?$/);
|
|
11
|
+
const VisaRegex = /^4/;
|
|
12
|
+
const MasterCardRegex = /^(5[1-5]|677189)|^(222[1-9]|2[3-6]\d{2}|27[0-1]\d|2720)/;
|
|
13
|
+
const AmexRegex = /^3[47]/;
|
|
14
|
+
const DiscoverRegex = /^(6011|65|64[4-9]|622)/;
|
|
15
|
+
const DateFormatParserRegex = /(\\)?(Y{2,4}|M{1,4}|D{1,2}|d{1,4})/g;
|
|
16
|
+
|
|
17
|
+
/* This file is generated by vega-design 2.0.77 */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
/* tslint:disable */
|
|
20
|
+
// prettier-ignore
|
|
21
|
+
const Colors = ["bg-brand", "bg-page", "bg-primary", "bg-secondary", "bg-tertiary", "bg-quaternary", "bg-inverted-primary", "bg-inverted-secondary", "bg-inverted-tertiary", "bg-inverted-quaternary", "bg-action", "bg-action-hover", "bg-action-focus", "bg-action-active", "bg-action-quaternary", "bg-action-quaternary-hover", "bg-action-quaternary-active", "bg-action-secondary", "bg-action-secondary-hover", "bg-action-secondary-active", "bg-action-tertiary", "bg-action-tertiary-hover", "bg-action-tertiary-active", "bg-app-header", "bg-backdrop-modal", "bg-backdrop-popover", "bg-backdrop-sidebar", "bg-chip", "bg-chip-hover", "bg-chip-active", "bg-danger", "bg-danger-hover", "bg-danger-focus", "bg-danger-active", "bg-danger-tertiary", "bg-danger-tertiary-hover", "bg-danger-tertiary-active", "bg-disabled", "bg-divider", "bg-divider-secondary", "bg-keypad-btn-active", "bg-loading-progress", "bg-loading-track", "bg-segment-hover", "bg-segment-control", "bg-selected", "bg-sidebar", "bg-sidebar-icon", "bg-sidebar-icon-hover", "bg-sidebar-icon-selected", "bg-sidebar-item-hover", "bg-sidebar-item-selected", "bg-site-footer", "bg-site-footer-action", "bg-site-footer-action-hover", "bg-site-footer-action-active", "bg-site-footer-field", "bg-slider-handle", "bg-status-error", "bg-status-info", "bg-status-success", "bg-status-warning", "bg-tab", "bg-tab-hover", "bg-tab-selected", "bg-table-alt-row", "bg-table-header", "bg-table-row-hover", "bg-table-row-selected-expanded", "bg-table-selected-row", "bg-textarea-count", "bg-tile", "bg-tile-hover", "bg-tile-selected", "bg-tile-selected-hover", "bg-toggle-switch", "bg-toggle-switch-hover", "bg-toggle-switch-selected-disabled", "bg-transparent", "bg-accent1-primary", "bg-accent1-secondary", "bg-accent1-tertiary", "bg-accent2-primary", "bg-accent2-secondary", "bg-accent2-tertiary", "bg-accent3-primary", "bg-accent3-secondary", "bg-accent3-tertiary", "bg-accent4-primary", "bg-accent4-secondary", "bg-accent4-tertiary", "bg-accent5-primary", "bg-accent5-secondary", "bg-accent5-tertiary", "bg-accent6-primary", "bg-accent6-secondary", "bg-accent6-tertiary", "bg-accent7-primary", "bg-accent7-secondary", "bg-accent7-tertiary", "bg-accent8-primary", "bg-accent8-secondary", "bg-accent8-tertiary", "bg-accent9-primary", "bg-accent9-secondary", "bg-accent9-tertiary", "bg-accent10-primary", "bg-accent10-secondary", "bg-accent10-tertiary", "bg-date-picker-range", "text-primary", "text-secondary", "text-inverted-primary", "text-inverted-secondary", "text-black", "text-white", "text-brand", "text-danger-link", "text-danger-link-hover", "text-danger-link-active", "text-danger-link-focus", "text-danger-link-visited", "text-disabled", "text-error", "text-input-disabled", "text-input-placeholder", "text-link", "text-link-hover", "text-link-active", "text-link-focus", "text-link-visited", "text-on-action", "text-on-danger", "text-on-disabled", "text-sidebar-link", "text-sidebar-link-hover", "text-sidebar-link-selected", "text-site-footer-link", "text-site-footer-link-hover", "text-site-footer-link-active", "text-success", "text-inverted-success", "text-accent1-primary", "text-accent2-primary", "text-accent3-primary", "text-accent4-primary", "text-accent5-primary", "text-accent6-primary", "text-accent7-primary", "text-accent8-primary", "text-accent9-primary", "text-accent10-primary", "border-color-action", "border-color-action-hover", "border-color-action-active", "border-color-chip", "border-color-danger", "border-color-danger-hover", "border-color-danger-active", "border-color-divider", "border-color-divider-secondary", "border-color-input-field", "border-color-input-field-hover", "border-color-input-field-focus", "border-color-input-field-danger", "border-color-input-field-danger-hover", "border-color-input-field-danger-focus", "border-color-input-field-disabled", "border-color-secondary-btn-disabled", "border-color-sidebar-item-focus", "border-color-slider-handle", "border-color-success", "border-color-table-divider", "border-color-tile", "border-color-tile-hover", "border-color-tile-focus", "border-color-tile-selected-focus", "border-color-tile-selected", "border-color-tile-selected-hover", "border-color-notification-btn", "border-color-notification-btn-dark"];
|
|
22
|
+
// prettier-ignore
|
|
23
|
+
const BackgroundColors = ["bg-brand", "bg-page", "bg-primary", "bg-secondary", "bg-tertiary", "bg-quaternary", "bg-inverted-primary", "bg-inverted-secondary", "bg-inverted-tertiary", "bg-inverted-quaternary", "bg-action", "bg-action-hover", "bg-action-focus", "bg-action-active", "bg-action-quaternary", "bg-action-quaternary-hover", "bg-action-quaternary-active", "bg-action-secondary", "bg-action-secondary-hover", "bg-action-secondary-active", "bg-action-tertiary", "bg-action-tertiary-hover", "bg-action-tertiary-active", "bg-app-header", "bg-backdrop-modal", "bg-backdrop-popover", "bg-backdrop-sidebar", "bg-chip", "bg-chip-hover", "bg-chip-active", "bg-danger", "bg-danger-hover", "bg-danger-focus", "bg-danger-active", "bg-danger-tertiary", "bg-danger-tertiary-hover", "bg-danger-tertiary-active", "bg-disabled", "bg-divider", "bg-divider-secondary", "bg-keypad-btn-active", "bg-loading-progress", "bg-loading-track", "bg-segment-hover", "bg-segment-control", "bg-selected", "bg-sidebar", "bg-sidebar-icon", "bg-sidebar-icon-hover", "bg-sidebar-icon-selected", "bg-sidebar-item-hover", "bg-sidebar-item-selected", "bg-site-footer", "bg-site-footer-action", "bg-site-footer-action-hover", "bg-site-footer-action-active", "bg-site-footer-field", "bg-slider-handle", "bg-status-error", "bg-status-info", "bg-status-success", "bg-status-warning", "bg-tab", "bg-tab-hover", "bg-tab-selected", "bg-table-alt-row", "bg-table-header", "bg-table-row-hover", "bg-table-row-selected-expanded", "bg-table-selected-row", "bg-textarea-count", "bg-tile", "bg-tile-hover", "bg-tile-selected", "bg-tile-selected-hover", "bg-toggle-switch", "bg-toggle-switch-hover", "bg-toggle-switch-selected-disabled", "bg-transparent", "bg-accent1-primary", "bg-accent1-secondary", "bg-accent1-tertiary", "bg-accent2-primary", "bg-accent2-secondary", "bg-accent2-tertiary", "bg-accent3-primary", "bg-accent3-secondary", "bg-accent3-tertiary", "bg-accent4-primary", "bg-accent4-secondary", "bg-accent4-tertiary", "bg-accent5-primary", "bg-accent5-secondary", "bg-accent5-tertiary", "bg-accent6-primary", "bg-accent6-secondary", "bg-accent6-tertiary", "bg-accent7-primary", "bg-accent7-secondary", "bg-accent7-tertiary", "bg-accent8-primary", "bg-accent8-secondary", "bg-accent8-tertiary", "bg-accent9-primary", "bg-accent9-secondary", "bg-accent9-tertiary", "bg-accent10-primary", "bg-accent10-secondary", "bg-accent10-tertiary", "bg-date-picker-range"];
|
|
24
|
+
// prettier-ignore
|
|
25
|
+
const FillBackgroundColors = ["fill-bg-brand", "fill-bg-page", "fill-bg-primary", "fill-bg-secondary", "fill-bg-tertiary", "fill-bg-quaternary", "fill-bg-inverted-primary", "fill-bg-inverted-secondary", "fill-bg-inverted-tertiary", "fill-bg-inverted-quaternary", "fill-bg-action", "fill-bg-action-hover", "fill-bg-action-focus", "fill-bg-action-active", "fill-bg-action-quaternary", "fill-bg-action-quaternary-hover", "fill-bg-action-quaternary-active", "fill-bg-action-secondary", "fill-bg-action-secondary-hover", "fill-bg-action-secondary-active", "fill-bg-action-tertiary", "fill-bg-action-tertiary-hover", "fill-bg-action-tertiary-active", "fill-bg-app-header", "fill-bg-backdrop-modal", "fill-bg-backdrop-popover", "fill-bg-backdrop-sidebar", "fill-bg-chip", "fill-bg-chip-hover", "fill-bg-chip-active", "fill-bg-danger", "fill-bg-danger-hover", "fill-bg-danger-focus", "fill-bg-danger-active", "fill-bg-danger-tertiary", "fill-bg-danger-tertiary-hover", "fill-bg-danger-tertiary-active", "fill-bg-disabled", "fill-bg-divider", "fill-bg-divider-secondary", "fill-bg-keypad-btn-active", "fill-bg-loading-progress", "fill-bg-loading-track", "fill-bg-segment-hover", "fill-bg-segment-control", "fill-bg-selected", "fill-bg-sidebar", "fill-bg-sidebar-icon", "fill-bg-sidebar-icon-hover", "fill-bg-sidebar-icon-selected", "fill-bg-sidebar-item-hover", "fill-bg-sidebar-item-selected", "fill-bg-site-footer", "fill-bg-site-footer-action", "fill-bg-site-footer-action-hover", "fill-bg-site-footer-action-active", "fill-bg-site-footer-field", "fill-bg-slider-handle", "fill-bg-status-error", "fill-bg-status-info", "fill-bg-status-success", "fill-bg-status-warning", "fill-bg-tab", "fill-bg-tab-hover", "fill-bg-tab-selected", "fill-bg-table-alt-row", "fill-bg-table-header", "fill-bg-table-row-hover", "fill-bg-table-row-selected-expanded", "fill-bg-table-selected-row", "fill-bg-textarea-count", "fill-bg-tile", "fill-bg-tile-hover", "fill-bg-tile-selected", "fill-bg-tile-selected-hover", "fill-bg-toggle-switch", "fill-bg-toggle-switch-hover", "fill-bg-toggle-switch-selected-disabled", "fill-bg-transparent", "fill-bg-accent1-primary", "fill-bg-accent1-secondary", "fill-bg-accent1-tertiary", "fill-bg-accent2-primary", "fill-bg-accent2-secondary", "fill-bg-accent2-tertiary", "fill-bg-accent3-primary", "fill-bg-accent3-secondary", "fill-bg-accent3-tertiary", "fill-bg-accent4-primary", "fill-bg-accent4-secondary", "fill-bg-accent4-tertiary", "fill-bg-accent5-primary", "fill-bg-accent5-secondary", "fill-bg-accent5-tertiary", "fill-bg-accent6-primary", "fill-bg-accent6-secondary", "fill-bg-accent6-tertiary", "fill-bg-accent7-primary", "fill-bg-accent7-secondary", "fill-bg-accent7-tertiary", "fill-bg-accent8-primary", "fill-bg-accent8-secondary", "fill-bg-accent8-tertiary", "fill-bg-accent9-primary", "fill-bg-accent9-secondary", "fill-bg-accent9-tertiary", "fill-bg-accent10-primary", "fill-bg-accent10-secondary", "fill-bg-accent10-tertiary", "fill-bg-date-picker-range"];
|
|
26
|
+
// prettier-ignore
|
|
27
|
+
const StrokeBackgroundColors = ["stroke-bg-brand", "stroke-bg-page", "stroke-bg-primary", "stroke-bg-secondary", "stroke-bg-tertiary", "stroke-bg-quaternary", "stroke-bg-inverted-primary", "stroke-bg-inverted-secondary", "stroke-bg-inverted-tertiary", "stroke-bg-inverted-quaternary", "stroke-bg-action", "stroke-bg-action-hover", "stroke-bg-action-focus", "stroke-bg-action-active", "stroke-bg-action-quaternary", "stroke-bg-action-quaternary-hover", "stroke-bg-action-quaternary-active", "stroke-bg-action-secondary", "stroke-bg-action-secondary-hover", "stroke-bg-action-secondary-active", "stroke-bg-action-tertiary", "stroke-bg-action-tertiary-hover", "stroke-bg-action-tertiary-active", "stroke-bg-app-header", "stroke-bg-backdrop-modal", "stroke-bg-backdrop-popover", "stroke-bg-backdrop-sidebar", "stroke-bg-chip", "stroke-bg-chip-hover", "stroke-bg-chip-active", "stroke-bg-danger", "stroke-bg-danger-hover", "stroke-bg-danger-focus", "stroke-bg-danger-active", "stroke-bg-danger-tertiary", "stroke-bg-danger-tertiary-hover", "stroke-bg-danger-tertiary-active", "stroke-bg-disabled", "stroke-bg-divider", "stroke-bg-divider-secondary", "stroke-bg-keypad-btn-active", "stroke-bg-loading-progress", "stroke-bg-loading-track", "stroke-bg-segment-hover", "stroke-bg-segment-control", "stroke-bg-selected", "stroke-bg-sidebar", "stroke-bg-sidebar-icon", "stroke-bg-sidebar-icon-hover", "stroke-bg-sidebar-icon-selected", "stroke-bg-sidebar-item-hover", "stroke-bg-sidebar-item-selected", "stroke-bg-site-footer", "stroke-bg-site-footer-action", "stroke-bg-site-footer-action-hover", "stroke-bg-site-footer-action-active", "stroke-bg-site-footer-field", "stroke-bg-slider-handle", "stroke-bg-status-error", "stroke-bg-status-info", "stroke-bg-status-success", "stroke-bg-status-warning", "stroke-bg-tab", "stroke-bg-tab-hover", "stroke-bg-tab-selected", "stroke-bg-table-alt-row", "stroke-bg-table-header", "stroke-bg-table-row-hover", "stroke-bg-table-row-selected-expanded", "stroke-bg-table-selected-row", "stroke-bg-textarea-count", "stroke-bg-tile", "stroke-bg-tile-hover", "stroke-bg-tile-selected", "stroke-bg-tile-selected-hover", "stroke-bg-toggle-switch", "stroke-bg-toggle-switch-hover", "stroke-bg-toggle-switch-selected-disabled", "stroke-bg-transparent", "stroke-bg-accent1-primary", "stroke-bg-accent1-secondary", "stroke-bg-accent1-tertiary", "stroke-bg-accent2-primary", "stroke-bg-accent2-secondary", "stroke-bg-accent2-tertiary", "stroke-bg-accent3-primary", "stroke-bg-accent3-secondary", "stroke-bg-accent3-tertiary", "stroke-bg-accent4-primary", "stroke-bg-accent4-secondary", "stroke-bg-accent4-tertiary", "stroke-bg-accent5-primary", "stroke-bg-accent5-secondary", "stroke-bg-accent5-tertiary", "stroke-bg-accent6-primary", "stroke-bg-accent6-secondary", "stroke-bg-accent6-tertiary", "stroke-bg-accent7-primary", "stroke-bg-accent7-secondary", "stroke-bg-accent7-tertiary", "stroke-bg-accent8-primary", "stroke-bg-accent8-secondary", "stroke-bg-accent8-tertiary", "stroke-bg-accent9-primary", "stroke-bg-accent9-secondary", "stroke-bg-accent9-tertiary", "stroke-bg-accent10-primary", "stroke-bg-accent10-secondary", "stroke-bg-accent10-tertiary", "stroke-bg-date-picker-range"];
|
|
28
|
+
// prettier-ignore
|
|
29
|
+
const TextColors = ["text-primary", "text-secondary", "text-inverted-primary", "text-inverted-secondary", "text-black", "text-white", "text-brand", "text-danger-link", "text-danger-link-hover", "text-danger-link-active", "text-danger-link-focus", "text-danger-link-visited", "text-disabled", "text-error", "text-input-disabled", "text-input-placeholder", "text-link", "text-link-hover", "text-link-active", "text-link-focus", "text-link-visited", "text-on-action", "text-on-danger", "text-on-disabled", "text-sidebar-link", "text-sidebar-link-hover", "text-sidebar-link-selected", "text-site-footer-link", "text-site-footer-link-hover", "text-site-footer-link-active", "text-success", "text-inverted-success", "text-accent1-primary", "text-accent2-primary", "text-accent3-primary", "text-accent4-primary", "text-accent5-primary", "text-accent6-primary", "text-accent7-primary", "text-accent8-primary", "text-accent9-primary", "text-accent10-primary"];
|
|
30
|
+
// prettier-ignore
|
|
31
|
+
const BorderColors = ["border-color-action", "border-color-action-hover", "border-color-action-active", "border-color-chip", "border-color-danger", "border-color-danger-hover", "border-color-danger-active", "border-color-divider", "border-color-divider-secondary", "border-color-input-field", "border-color-input-field-hover", "border-color-input-field-focus", "border-color-input-field-danger", "border-color-input-field-danger-hover", "border-color-input-field-danger-focus", "border-color-input-field-disabled", "border-color-secondary-btn-disabled", "border-color-sidebar-item-focus", "border-color-slider-handle", "border-color-success", "border-color-table-divider", "border-color-tile", "border-color-tile-hover", "border-color-tile-focus", "border-color-tile-selected-focus", "border-color-tile-selected", "border-color-tile-selected-hover", "border-color-notification-btn", "border-color-notification-btn-dark"];
|
|
32
|
+
// prettier-ignore
|
|
33
|
+
const TextColorMap = {
|
|
34
|
+
'text-primary': 'rgba(var(--v-text-primary, 32, 54, 69, 1))',
|
|
35
|
+
'text-secondary': 'rgba(var(--v-text-secondary, 107, 116, 125, 1))',
|
|
36
|
+
'text-inverted-primary': 'rgba(var(--v-text-inverted-primary, 252, 252, 252, 1))',
|
|
37
|
+
'text-inverted-secondary': 'rgba(var(--v-text-inverted-secondary, 188, 186, 213, 1))',
|
|
38
|
+
'text-black': 'rgba(var(--v-text-black, 32, 54, 69, 1))',
|
|
39
|
+
'text-white': 'rgba(var(--v-text-white, 252, 252, 252, 1))',
|
|
40
|
+
'text-brand': 'rgba(var(--v-text-brand, 51, 57, 61, 1))',
|
|
41
|
+
'text-danger-link': 'rgba(var(--v-text-danger-link, 230, 50, 87, 1))',
|
|
42
|
+
'text-danger-link-hover': 'rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))',
|
|
43
|
+
'text-danger-link-active': 'rgba(var(--v-text-danger-link-active, 189, 41, 71, 1))',
|
|
44
|
+
'text-danger-link-focus': 'rgba(var(--v-text-danger-link-focus, 240, 52, 91, 1))',
|
|
45
|
+
'text-danger-link-visited': 'rgba(var(--v-text-danger-link-visited, 230, 50, 87, 1))',
|
|
46
|
+
'text-disabled': 'rgba(var(--v-text-disabled, 176, 180, 181, 1))',
|
|
47
|
+
'text-error': 'rgba(var(--v-text-error, 189, 41, 71, 1))',
|
|
48
|
+
'text-input-disabled': 'rgba(var(--v-text-input-disabled, 107, 116, 125, 1))',
|
|
49
|
+
'text-input-placeholder': 'rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))',
|
|
50
|
+
'text-link': 'rgba(var(--v-text-link, 19, 98, 226, 1))',
|
|
51
|
+
'text-link-hover': 'rgba(var(--v-text-link-hover, 4, 112, 236, 1))',
|
|
52
|
+
'text-link-active': 'rgba(var(--v-text-link-active, 29, 65, 195, 1))',
|
|
53
|
+
'text-link-focus': 'rgba(var(--v-text-link-focus, 4, 112, 236, 1))',
|
|
54
|
+
'text-link-visited': 'rgba(var(--v-text-link-visited, 95, 56, 206, 1))',
|
|
55
|
+
'text-on-action': 'rgba(var(--v-text-on-action, 252, 252, 252, 1))',
|
|
56
|
+
'text-on-danger': 'rgba(var(--v-text-on-danger, 252, 252, 252, 1))',
|
|
57
|
+
'text-on-disabled': 'rgba(var(--v-text-on-disabled, 252, 252, 252, 1))',
|
|
58
|
+
'text-sidebar-link': 'rgba(var(--v-text-sidebar-link, 188, 186, 213, 1))',
|
|
59
|
+
'text-sidebar-link-hover': 'rgba(var(--v-text-sidebar-link-hover, 18, 18, 39, 1))',
|
|
60
|
+
'text-sidebar-link-selected': 'rgba(var(--v-text-sidebar-link-selected, 252, 252, 252, 1))',
|
|
61
|
+
'text-site-footer-link': 'rgba(var(--v-text-site-footer-link, 171, 198, 216, 1))',
|
|
62
|
+
'text-site-footer-link-hover': 'rgba(var(--v-text-site-footer-link-hover, 199, 217, 229, 1))',
|
|
63
|
+
'text-site-footer-link-active': 'rgba(var(--v-text-site-footer-link-active, 143, 179, 203, 1))',
|
|
64
|
+
'text-success': 'rgba(var(--v-text-success, 1, 128, 31, 1))',
|
|
65
|
+
'text-inverted-success': 'rgba(var(--v-text-inverted-success, 89, 217, 119, 1))',
|
|
66
|
+
'text-accent1-primary': 'rgba(var(--v-text-accent1-primary, 115, 230, 220, 1))',
|
|
67
|
+
'text-accent2-primary': 'rgba(var(--v-text-accent2-primary, 128, 107, 255, 1))',
|
|
68
|
+
'text-accent3-primary': 'rgba(var(--v-text-accent3-primary, 255, 220, 131, 1))',
|
|
69
|
+
'text-accent4-primary': 'rgba(var(--v-text-accent4-primary, 255, 149, 113, 1))',
|
|
70
|
+
'text-accent5-primary': 'rgba(var(--v-text-accent5-primary, 0, 187, 255, 1))',
|
|
71
|
+
'text-accent6-primary': 'rgba(var(--v-text-accent6-primary, 240, 52, 91, 1))',
|
|
72
|
+
'text-accent7-primary': 'rgba(var(--v-text-accent7-primary, 37, 159, 159, 1))',
|
|
73
|
+
'text-accent8-primary': 'rgba(var(--v-text-accent8-primary, 86, 61, 130, 1))',
|
|
74
|
+
'text-accent9-primary': 'rgba(var(--v-text-accent9-primary, 255, 191, 63, 1))',
|
|
75
|
+
'text-accent10-primary': 'rgba(var(--v-text-accent10-primary, 237, 122, 35, 1))'
|
|
76
|
+
};
|
|
77
|
+
// prettier-ignore
|
|
78
|
+
const BackgroundColorMap = {
|
|
79
|
+
'bg-brand': 'rgba(var(--v-bg-brand, 51, 57, 61, 1))',
|
|
80
|
+
'bg-page': 'rgba(var(--v-bg-page, 240, 243, 247, 1))',
|
|
81
|
+
'bg-primary': 'rgba(var(--v-bg-primary, 252, 252, 252, 1))',
|
|
82
|
+
'bg-secondary': 'rgba(var(--v-bg-secondary, 245, 247, 247, 1))',
|
|
83
|
+
'bg-tertiary': 'rgba(var(--v-bg-tertiary, 240, 243, 247, 1))',
|
|
84
|
+
'bg-quaternary': 'rgba(var(--v-bg-quaternary, 241, 248, 251, 1))',
|
|
85
|
+
'bg-inverted-primary': 'rgba(var(--v-bg-inverted-primary, 4, 4, 28, 1))',
|
|
86
|
+
'bg-inverted-secondary': 'rgba(var(--v-bg-inverted-secondary, 18, 18, 39, 1))',
|
|
87
|
+
'bg-inverted-tertiary': 'rgba(var(--v-bg-inverted-tertiary, 24, 24, 48, 1))',
|
|
88
|
+
'bg-inverted-quaternary': 'rgba(var(--v-bg-inverted-quaternary, 70, 71, 101, 1))',
|
|
89
|
+
'bg-action': 'rgba(var(--v-bg-action, 19, 98, 226, 1))',
|
|
90
|
+
'bg-action-hover': 'rgba(var(--v-bg-action-hover, 4, 112, 236, 1))',
|
|
91
|
+
'bg-action-focus': 'rgba(var(--v-bg-action-focus, 19, 98, 226, 1))',
|
|
92
|
+
'bg-action-active': 'rgba(var(--v-bg-action-active, 29, 65, 195, 1))',
|
|
93
|
+
'bg-action-quaternary': 'rgba(var(--v-bg-action-quaternary, 222, 225, 227, 1))',
|
|
94
|
+
'bg-action-quaternary-hover': 'rgba(var(--v-bg-action-quaternary-hover, 239, 239, 239, 1))',
|
|
95
|
+
'bg-action-quaternary-active': 'rgba(var(--v-bg-action-quaternary-active, 205, 209, 211, 1))',
|
|
96
|
+
'bg-action-secondary': 'rgba(var(--v-bg-action-secondary, 252, 252, 252, 1))',
|
|
97
|
+
'bg-action-secondary-hover': 'rgba(var(--v-bg-action-secondary-hover, 4, 112, 236, 0.1))',
|
|
98
|
+
'bg-action-secondary-active': 'rgba(var(--v-bg-action-secondary-active, 29, 65, 195, 0.1))',
|
|
99
|
+
'bg-action-tertiary': 'rgba(var(--v-bg-action-tertiary, 0, 0, 0, 0))',
|
|
100
|
+
'bg-action-tertiary-hover': 'rgba(var(--v-bg-action-tertiary-hover, 4, 4, 28, 0.05))',
|
|
101
|
+
'bg-action-tertiary-active': 'rgba(var(--v-bg-action-tertiary-active, 4, 4, 28, 0.1))',
|
|
102
|
+
'bg-app-header': 'rgba(var(--v-bg-app-header, 240, 243, 247, 0.88))',
|
|
103
|
+
'bg-backdrop-modal': 'rgba(var(--v-bg-backdrop-modal, 18, 18, 39, 0.85))',
|
|
104
|
+
'bg-backdrop-popover': 'rgba(var(--v-bg-backdrop-popover, 32, 54, 69, 0.16))',
|
|
105
|
+
'bg-backdrop-sidebar': 'rgba(var(--v-bg-backdrop-sidebar, 18, 18, 39, 0.85))',
|
|
106
|
+
'bg-chip': 'rgba(var(--v-bg-chip, 32, 54, 69, 0.06))',
|
|
107
|
+
'bg-chip-hover': 'rgba(var(--v-bg-chip-hover, 32, 54, 69, 0.12))',
|
|
108
|
+
'bg-chip-active': 'rgba(var(--v-bg-chip-active, 32, 54, 69, 0.2))',
|
|
109
|
+
'bg-danger': 'rgba(var(--v-bg-danger, 189, 41, 71, 1))',
|
|
110
|
+
'bg-danger-hover': 'rgba(var(--v-bg-danger-hover, 233, 71, 104, 1))',
|
|
111
|
+
'bg-danger-focus': 'rgba(var(--v-bg-danger-focus, 189, 41, 71, 1))',
|
|
112
|
+
'bg-danger-active': 'rgba(var(--v-bg-danger-active, 230, 50, 87, 1))',
|
|
113
|
+
'bg-danger-tertiary': 'rgba(var(--v-bg-danger-tertiary, 0, 0, 0, 0))',
|
|
114
|
+
'bg-danger-tertiary-hover': 'rgba(var(--v-bg-danger-tertiary-hover, 255, 87, 114, 0.2))',
|
|
115
|
+
'bg-danger-tertiary-active': 'rgba(var(--v-bg-danger-tertiary-active, 189, 41, 71, 0.2))',
|
|
116
|
+
'bg-disabled': 'rgba(var(--v-bg-disabled, 176, 180, 181, 1))',
|
|
117
|
+
'bg-divider': 'rgba(var(--v-bg-divider, 171, 198, 216, 1))',
|
|
118
|
+
'bg-divider-secondary': 'rgba(var(--v-bg-divider-secondary, 199, 217, 229, 1))',
|
|
119
|
+
'bg-keypad-btn-active': 'rgba(var(--v-bg-keypad-btn-active, 229, 239, 255, 1))',
|
|
120
|
+
'bg-loading-progress': 'rgba(var(--v-bg-loading-progress, 153, 192, 255, 1))',
|
|
121
|
+
'bg-loading-track': 'rgba(var(--v-bg-loading-track, 229, 239, 255, 1))',
|
|
122
|
+
'bg-segment-hover': 'rgba(var(--v-bg-segment-hover, 205, 209, 211, 1))',
|
|
123
|
+
'bg-segment-control': 'rgba(var(--v-bg-segment-control, 89, 96, 99, 0.1))',
|
|
124
|
+
'bg-selected': 'rgba(var(--v-bg-selected, 0, 151, 255, 0.3))',
|
|
125
|
+
'bg-sidebar': 'rgba(var(--v-bg-sidebar, 18, 18, 39, 1))',
|
|
126
|
+
'bg-sidebar-icon': 'rgba(var(--v-bg-sidebar-icon, 188, 186, 213, 1))',
|
|
127
|
+
'bg-sidebar-icon-hover': 'rgba(var(--v-bg-sidebar-icon-hover, 18, 18, 39, 1))',
|
|
128
|
+
'bg-sidebar-icon-selected': 'rgba(var(--v-bg-sidebar-icon-selected, 252, 252, 252, 1))',
|
|
129
|
+
'bg-sidebar-item-hover': 'rgba(var(--v-bg-sidebar-item-hover, 252, 252, 252, 1))',
|
|
130
|
+
'bg-sidebar-item-selected': 'rgba(var(--v-bg-sidebar-item-selected, 19, 98, 226, 0.4))',
|
|
131
|
+
'bg-site-footer': 'rgba(var(--v-bg-site-footer, 51, 57, 61, 1))',
|
|
132
|
+
'bg-site-footer-action': 'rgba(var(--v-bg-site-footer-action, 171, 198, 216, 1))',
|
|
133
|
+
'bg-site-footer-action-hover': 'rgba(var(--v-bg-site-footer-action-hover, 199, 217, 229, 1))',
|
|
134
|
+
'bg-site-footer-action-active': 'rgba(var(--v-bg-site-footer-action-active, 143, 179, 203, 1))',
|
|
135
|
+
'bg-site-footer-field': 'rgba(var(--v-bg-site-footer-field, 89, 96, 99, 1))',
|
|
136
|
+
'bg-slider-handle': 'rgba(var(--v-bg-slider-handle, 252, 252, 252, 1))',
|
|
137
|
+
'bg-status-error': 'rgba(var(--v-bg-status-error, 255, 110, 139, 1))',
|
|
138
|
+
'bg-status-info': 'rgba(var(--v-bg-status-info, 205, 209, 211, 1))',
|
|
139
|
+
'bg-status-success': 'rgba(var(--v-bg-status-success, 160, 233, 167, 1))',
|
|
140
|
+
'bg-status-warning': 'rgba(var(--v-bg-status-warning, 255, 220, 131, 1))',
|
|
141
|
+
'bg-tab': 'rgba(var(--v-bg-tab, 240, 243, 247, 1))',
|
|
142
|
+
'bg-tab-hover': 'rgba(var(--v-bg-tab-hover, 245, 247, 247, 1))',
|
|
143
|
+
'bg-tab-selected': 'rgba(var(--v-bg-tab-selected, 32, 54, 69, 1))',
|
|
144
|
+
'bg-table-alt-row': 'rgba(var(--v-bg-table-alt-row, 245, 247, 247, 1))',
|
|
145
|
+
'bg-table-header': 'rgba(var(--v-bg-table-header, 240, 243, 247, 1))',
|
|
146
|
+
'bg-table-row-hover': 'rgba(var(--v-bg-table-row-hover, 241, 248, 251, 1))',
|
|
147
|
+
'bg-table-row-selected-expanded': 'rgba(var(--v-bg-table-row-selected-expanded, 229, 239, 255, 1))',
|
|
148
|
+
'bg-table-selected-row': 'rgba(var(--v-bg-table-selected-row, 204, 223, 255, 1))',
|
|
149
|
+
'bg-textarea-count': 'rgba(var(--v-bg-textarea-count, 4, 4, 28, 0.6))',
|
|
150
|
+
'bg-tile': 'rgba(var(--v-bg-tile, 252, 252, 252, 1))',
|
|
151
|
+
'bg-tile-hover': 'rgba(var(--v-bg-tile-hover, 245, 247, 247, 1))',
|
|
152
|
+
'bg-tile-selected': 'rgba(var(--v-bg-tile-selected, 242, 247, 255, 1))',
|
|
153
|
+
'bg-tile-selected-hover': 'rgba(var(--v-bg-tile-selected-hover, 229, 239, 255, 1))',
|
|
154
|
+
'bg-toggle-switch': 'rgba(var(--v-bg-toggle-switch, 107, 116, 125, 0.7))',
|
|
155
|
+
'bg-toggle-switch-hover': 'rgba(var(--v-bg-toggle-switch-hover, 107, 116, 125, 1))',
|
|
156
|
+
'bg-toggle-switch-selected-disabled': 'rgba(var(--v-bg-toggle-switch-selected-disabled, 153, 192, 255, 1))',
|
|
157
|
+
'bg-transparent': 'rgba(var(--v-bg-transparent, 0, 0, 0, 0))',
|
|
158
|
+
'bg-accent1-primary': 'rgba(var(--v-bg-accent1-primary, 115, 230, 220, 1))',
|
|
159
|
+
'bg-accent1-secondary': 'rgba(var(--v-bg-accent1-secondary, 193, 244, 239, 1))',
|
|
160
|
+
'bg-accent1-tertiary': 'rgba(var(--v-bg-accent1-tertiary, 224, 249, 247, 1))',
|
|
161
|
+
'bg-accent2-primary': 'rgba(var(--v-bg-accent2-primary, 128, 107, 255, 1))',
|
|
162
|
+
'bg-accent2-secondary': 'rgba(var(--v-bg-accent2-secondary, 199, 189, 255, 1))',
|
|
163
|
+
'bg-accent2-tertiary': 'rgba(var(--v-bg-accent2-tertiary, 227, 222, 255, 1))',
|
|
164
|
+
'bg-accent3-primary': 'rgba(var(--v-bg-accent3-primary, 255, 220, 131, 1))',
|
|
165
|
+
'bg-accent3-secondary': 'rgba(var(--v-bg-accent3-secondary, 255, 239, 200, 1))',
|
|
166
|
+
'bg-accent3-tertiary': 'rgba(var(--v-bg-accent3-tertiary, 255, 247, 227, 1))',
|
|
167
|
+
'bg-accent4-primary': 'rgba(var(--v-bg-accent4-primary, 255, 149, 113, 1))',
|
|
168
|
+
'bg-accent4-secondary': 'rgba(var(--v-bg-accent4-secondary, 255, 208, 192, 1))',
|
|
169
|
+
'bg-accent4-tertiary': 'rgba(var(--v-bg-accent4-tertiary, 255, 231, 223, 1))',
|
|
170
|
+
'bg-accent5-primary': 'rgba(var(--v-bg-accent5-primary, 0, 187, 255, 1))',
|
|
171
|
+
'bg-accent5-secondary': 'rgba(var(--v-bg-accent5-secondary, 142, 223, 249, 1))',
|
|
172
|
+
'bg-accent5-tertiary': 'rgba(var(--v-bg-accent5-tertiary, 227, 247, 253, 1))',
|
|
173
|
+
'bg-accent6-primary': 'rgba(var(--v-bg-accent6-primary, 255, 130, 201, 1))',
|
|
174
|
+
'bg-accent6-secondary': 'rgba(var(--v-bg-accent6-secondary, 255, 199, 231, 1))',
|
|
175
|
+
'bg-accent6-tertiary': 'rgba(var(--v-bg-accent6-tertiary, 255, 227, 243, 1))',
|
|
176
|
+
'bg-accent7-primary': 'rgba(var(--v-bg-accent7-primary, 37, 159, 159, 1))',
|
|
177
|
+
'bg-accent7-secondary': 'rgba(var(--v-bg-accent7-secondary, 155, 212, 214, 1))',
|
|
178
|
+
'bg-accent7-tertiary': 'rgba(var(--v-bg-accent7-tertiary, 208, 239, 239, 1))',
|
|
179
|
+
'bg-accent8-primary': 'rgba(var(--v-bg-accent8-primary, 86, 61, 130, 1))',
|
|
180
|
+
'bg-accent8-secondary': 'rgba(var(--v-bg-accent8-secondary, 199, 162, 204, 1))',
|
|
181
|
+
'bg-accent8-tertiary': 'rgba(var(--v-bg-accent8-tertiary, 230, 214, 234, 1))',
|
|
182
|
+
'bg-accent9-primary': 'rgba(var(--v-bg-accent9-primary, 255, 191, 63, 1))',
|
|
183
|
+
'bg-accent9-secondary': 'rgba(var(--v-bg-accent9-secondary, 254, 215, 142, 1))',
|
|
184
|
+
'bg-accent9-tertiary': 'rgba(var(--v-bg-accent9-tertiary, 251, 226, 185, 1))',
|
|
185
|
+
'bg-accent10-primary': 'rgba(var(--v-bg-accent10-primary, 237, 122, 35, 1))',
|
|
186
|
+
'bg-accent10-secondary': 'rgba(var(--v-bg-accent10-secondary, 241, 146, 85, 1))',
|
|
187
|
+
'bg-accent10-tertiary': 'rgba(var(--v-bg-accent10-tertiary, 245, 187, 148, 1))',
|
|
188
|
+
'bg-date-picker-range': 'rgba(var(--v-bg-date-picker-range, 229, 239, 255, 1))'
|
|
189
|
+
};
|
|
190
|
+
// prettier-ignore
|
|
191
|
+
const BorderColorMap = {
|
|
192
|
+
'border-color-action': 'rgba(var(--v-border-color-action, 19, 98, 226, 1))',
|
|
193
|
+
'border-color-action-hover': 'rgba(var(--v-border-color-action-hover, 4, 112, 236, 1))',
|
|
194
|
+
'border-color-action-active': 'rgba(var(--v-border-color-action-active, 29, 65, 195, 1))',
|
|
195
|
+
'border-color-chip': 'rgba(var(--v-border-color-chip, 205, 209, 211, 1))',
|
|
196
|
+
'border-color-danger': 'rgba(var(--v-border-color-danger, 230, 50, 87, 1))',
|
|
197
|
+
'border-color-danger-hover': 'rgba(var(--v-border-color-danger-hover, 255, 87, 114, 1))',
|
|
198
|
+
'border-color-danger-active': 'rgba(var(--v-border-color-danger-active, 189, 41, 71, 1))',
|
|
199
|
+
'border-color-divider': 'rgba(var(--v-border-color-divider, 171, 198, 216, 1))',
|
|
200
|
+
'border-color-divider-secondary': 'rgba(var(--v-border-color-divider-secondary, 199, 217, 229, 1))',
|
|
201
|
+
'border-color-input-field': 'rgba(var(--v-border-color-input-field, 171, 198, 216, 1))',
|
|
202
|
+
'border-color-input-field-hover': 'rgba(var(--v-border-color-input-field-hover, 115, 160, 190, 1))',
|
|
203
|
+
'border-color-input-field-focus': 'rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1))',
|
|
204
|
+
'border-color-input-field-danger': 'rgba(var(--v-border-color-input-field-danger, 230, 50, 87, 1))',
|
|
205
|
+
'border-color-input-field-danger-hover': 'rgba(var(--v-border-color-input-field-danger-hover, 255, 87, 114, 1))',
|
|
206
|
+
'border-color-input-field-danger-focus': 'rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1))',
|
|
207
|
+
'border-color-input-field-disabled': 'rgba(var(--v-border-color-input-field-disabled, 222, 225, 227, 1))',
|
|
208
|
+
'border-color-secondary-btn-disabled': 'rgba(var(--v-border-color-secondary-btn-disabled, 176, 180, 181, 1))',
|
|
209
|
+
'border-color-sidebar-item-focus': 'rgba(var(--v-border-color-sidebar-item-focus, 19, 98, 226, 1))',
|
|
210
|
+
'border-color-slider-handle': 'rgba(var(--v-border-color-slider-handle, 199, 217, 229, 1))',
|
|
211
|
+
'border-color-success': 'rgba(var(--v-border-color-success, 1, 128, 31, 1))',
|
|
212
|
+
'border-color-table-divider': 'rgba(var(--v-border-color-table-divider, 171, 198, 216, 1))',
|
|
213
|
+
'border-color-tile': 'rgba(var(--v-border-color-tile, 171, 198, 216, 1))',
|
|
214
|
+
'border-color-tile-hover': 'rgba(var(--v-border-color-tile-hover, 115, 160, 190, 1))',
|
|
215
|
+
'border-color-tile-focus': 'rgba(var(--v-border-color-tile-focus, 19, 98, 226, 1))',
|
|
216
|
+
'border-color-tile-selected-focus': 'rgba(var(--v-border-color-tile-selected-focus, 19, 98, 226, 1))',
|
|
217
|
+
'border-color-tile-selected': 'rgba(var(--v-border-color-tile-selected, 19, 98, 226, 1))',
|
|
218
|
+
'border-color-tile-selected-hover': 'rgba(var(--v-border-color-tile-selected-hover, 4, 112, 236, 1))',
|
|
219
|
+
'border-color-notification-btn': 'rgba(var(--v-border-color-notification-btn, 32, 54, 69, 1))',
|
|
220
|
+
'border-color-notification-btn-dark': 'rgba(var(--v-border-color-notification-btn-dark, 32, 54, 69, 1))'
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
/* This file is generated by vega-design 2.0.77 */
|
|
224
|
+
/* eslint-disable */
|
|
225
|
+
/* tslint:disable */
|
|
226
|
+
// prettier-ignore
|
|
227
|
+
const Spacing = {
|
|
228
|
+
"0": 0,
|
|
229
|
+
"size-4": 4,
|
|
230
|
+
"size-8": 8,
|
|
231
|
+
"size-12": 12,
|
|
232
|
+
"size-16": 16,
|
|
233
|
+
"size-20": 20,
|
|
234
|
+
"size-24": 24,
|
|
235
|
+
"size-32": 32,
|
|
236
|
+
"size-40": 40,
|
|
237
|
+
"size-48": 48,
|
|
238
|
+
"size-64": 64,
|
|
239
|
+
"size-72": 72,
|
|
240
|
+
"size-80": 80,
|
|
241
|
+
"size-112": 112,
|
|
242
|
+
"size-2": 2
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
/* This file is generated by vega-design 2.0.77 */
|
|
246
|
+
/* eslint-disable */
|
|
247
|
+
/* tslint:disable */
|
|
248
|
+
// prettier-ignore
|
|
249
|
+
const Shadows = ["shadow-card", "shadow-modal", "shadow-popover", "shadow-form-field", "shadow-dropdown-menu", "shadow-app-header", "shadow-modal-header", "shadow-modal-footer", "shadow-modal-footer-no-scroll"];
|
|
250
|
+
// prettier-ignore
|
|
251
|
+
const ShadowMap = {
|
|
252
|
+
'shadow-card': 'var(--v-shadow-card, 0px 2px 8px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px 0px rgba(0, 0, 0, 0.02))',
|
|
253
|
+
'shadow-modal': 'var(--v-shadow-modal, 0px 6px 40px 0px rgba(2, 2, 15, 0.04), 0px 4px 24px 0px rgba(2, 2, 15, 0.08), 0px 8px 80px 0px rgba(2, 2, 15, 0.16))',
|
|
254
|
+
'shadow-popover': 'var(--v-shadow-popover, 0px 0px 88px 0px rgba(2, 2, 15, 0.01), 0px 0px 32px 0px rgba(2, 2, 15, 0.02), 0px 4px 72px 0px rgba(2, 2, 15, 0.06))',
|
|
255
|
+
'shadow-form-field': 'var(--v-shadow-form-field, 0px 1px 2px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.1))',
|
|
256
|
+
'shadow-dropdown-menu': 'var(--v-shadow-dropdown-menu, 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1))',
|
|
257
|
+
'shadow-app-header': 'var(--v-shadow-app-header, 0px 1px 0px 0px rgba(45, 76, 97, 0.15))',
|
|
258
|
+
'shadow-modal-header': 'var(--v-shadow-modal-header, 0px 1px 0px 0px rgba(45, 76, 97, 0.15))',
|
|
259
|
+
'shadow-modal-footer': 'var(--v-shadow-modal-footer, 0px -2px 8px 0px rgba(45, 76, 97, 0.2), 0px -1px 0px 0px rgba(45, 76, 97, 0.15))',
|
|
260
|
+
'shadow-modal-footer-no-scroll': 'var(--v-shadow-modal-footer-no-scroll, 0px -1px 0px 0px rgba(45, 76, 97, 0.15))'
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
/* This file is generated by vega-design 2.0.77 */
|
|
264
|
+
/* eslint-disable */
|
|
265
|
+
/* tslint:disable */
|
|
266
|
+
// prettier-ignore
|
|
267
|
+
const BorderRadius = {
|
|
268
|
+
"rounded-none": 0,
|
|
269
|
+
"rounded-full": 9999,
|
|
270
|
+
"rounded-2": 2,
|
|
271
|
+
"rounded-4": 4,
|
|
272
|
+
"rounded-8": 8,
|
|
273
|
+
"rounded-12": 12,
|
|
274
|
+
"rounded-16": 16,
|
|
275
|
+
"rounded-24": 24,
|
|
276
|
+
"rounded-32": 32,
|
|
277
|
+
"rounded-48": 48
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
/* This file is generated by vega-design 2.0.77 */
|
|
281
|
+
/* eslint-disable */
|
|
282
|
+
/* tslint:disable */
|
|
283
|
+
// prettier-ignore
|
|
284
|
+
const Borders = ["border-secondary-btn", "border-secondary-btn-hover", "border-secondary-danger-btn", "border-secondary-btn-active", "border-secondary-danger-btn-hover", "border-secondary-danger-btn-active", "border-input-field", "border-input-field-hover", "border-input-field-focus", "border-input-field-danger", "border-input-field-danger-hover", "border-input-field-danger-focus", "border-sidebar-item-focus", "border-input-field-disabled", "border-success", "border-secondary-btn-disabled", "border-chip", "border-divider", "border-divider-secondary", "border-tile-selected", "border-tile-selected-hover", "border-table-divider", "border-slider-handle", "border-tile", "border-tile-hover", "border-tile-focus", "border-tile-selected-focus", "border-notification-btn", "border-notification-btn-black"];
|
|
285
|
+
// prettier-ignore
|
|
286
|
+
const BorderMap = {
|
|
287
|
+
'border-secondary-btn': '2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1))',
|
|
288
|
+
'border-secondary-btn-hover': '2px solid rgba(var(--v-border-secondary-btn-hover, 4, 112, 236, 1))',
|
|
289
|
+
'border-secondary-danger-btn': '2px solid rgba(var(--v-border-secondary-danger-btn, 230, 50, 87, 1))',
|
|
290
|
+
'border-secondary-btn-active': '2px solid rgba(var(--v-border-secondary-btn-active, 29, 65, 195, 1))',
|
|
291
|
+
'border-secondary-danger-btn-hover': '2px solid rgba(var(--v-border-secondary-danger-btn-hover, 255, 87, 114, 1))',
|
|
292
|
+
'border-secondary-danger-btn-active': '2px solid rgba(var(--v-border-secondary-danger-btn-active, 189, 41, 71, 1))',
|
|
293
|
+
'border-input-field': '1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1))',
|
|
294
|
+
'border-input-field-hover': '1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))',
|
|
295
|
+
'border-input-field-focus': '1px solid rgba(var(--v-border-input-field-focus, 19, 98, 226, 1))',
|
|
296
|
+
'border-input-field-danger': '1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))',
|
|
297
|
+
'border-input-field-danger-hover': '1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))',
|
|
298
|
+
'border-input-field-danger-focus': '1px solid rgba(var(--v-border-input-field-danger-focus, 233, 71, 104, 1))',
|
|
299
|
+
'border-sidebar-item-focus': '2px solid rgba(var(--v-border-sidebar-item-focus, 19, 98, 226, 1))',
|
|
300
|
+
'border-input-field-disabled': '1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))',
|
|
301
|
+
'border-success': '2px solid rgba(var(--v-border-success, 1, 128, 31, 1))',
|
|
302
|
+
'border-secondary-btn-disabled': '2px solid rgba(var(--v-border-secondary-btn-disabled, 176, 180, 181, 1))',
|
|
303
|
+
'border-chip': '1px solid rgba(var(--v-border-chip, 205, 209, 211, 1))',
|
|
304
|
+
'border-divider': '1px solid rgba(var(--v-border-divider, 171, 198, 216, 1))',
|
|
305
|
+
'border-divider-secondary': '1px solid rgba(var(--v-border-divider-secondary, 199, 217, 229, 1))',
|
|
306
|
+
'border-tile-selected': '2px solid rgba(var(--v-border-tile-selected, 19, 98, 226, 1))',
|
|
307
|
+
'border-tile-selected-hover': '2px solid rgba(var(--v-border-tile-selected-hover, 4, 112, 236, 1))',
|
|
308
|
+
'border-table-divider': '1px solid rgba(var(--v-border-table-divider, 171, 198, 216, 1))',
|
|
309
|
+
'border-slider-handle': '1px solid rgba(var(--v-border-slider-handle, 199, 217, 229, 1))',
|
|
310
|
+
'border-tile': '1px solid rgba(var(--v-border-tile, 171, 198, 216, 1))',
|
|
311
|
+
'border-tile-hover': '1px solid rgba(var(--v-border-tile-hover, 115, 160, 190, 1))',
|
|
312
|
+
'border-tile-focus': '1px solid rgba(var(--v-border-tile-focus, 19, 98, 226, 1))',
|
|
313
|
+
'border-tile-selected-focus': '2px solid rgba(var(--v-border-tile-selected-focus, 19, 98, 226, 1))',
|
|
314
|
+
'border-notification-btn': '2px solid rgba(var(--v-border-notification-btn, 32, 54, 69, 1))',
|
|
315
|
+
'border-notification-btn-black': '2px solid rgba(var(--v-border-notification-btn-black, 32, 54, 69, 1))'
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Get a week days array
|
|
320
|
+
*
|
|
321
|
+
* @param {number} firstWeekDay - The first week day (0: Sunday, 1: Monday, ...)
|
|
322
|
+
* @returns {number[]} - The week days array
|
|
323
|
+
*/
|
|
324
|
+
const getWeekdays = (firstWeekDay = 0) => {
|
|
325
|
+
const weekdays = [0, 1, 2, 3, 4, 5, 6];
|
|
326
|
+
return weekdays.concat(weekdays).slice(firstWeekDay, firstWeekDay + 7);
|
|
327
|
+
};
|
|
328
|
+
exports.WeekdayLongNames = void 0;
|
|
329
|
+
(function (WeekdayLongNames) {
|
|
330
|
+
WeekdayLongNames["sun"] = "Sunday";
|
|
331
|
+
WeekdayLongNames["mon"] = "Monday";
|
|
332
|
+
WeekdayLongNames["tue"] = "Tuesday";
|
|
333
|
+
WeekdayLongNames["wed"] = "Wednesday";
|
|
334
|
+
WeekdayLongNames["thu"] = "Thursday";
|
|
335
|
+
WeekdayLongNames["fri"] = "Friday";
|
|
336
|
+
WeekdayLongNames["sat"] = "Saturday";
|
|
337
|
+
})(exports.WeekdayLongNames || (exports.WeekdayLongNames = {}));
|
|
338
|
+
/**
|
|
339
|
+
* Get the system timezone identifier
|
|
340
|
+
*
|
|
341
|
+
* @returns {string} - The system timezone identifier (e.g., "America/New_York")
|
|
342
|
+
*/
|
|
343
|
+
const getSystemTimezone = () => {
|
|
344
|
+
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* Build an aria announcement string for date picker selection.
|
|
348
|
+
* TODO: consider to implement i18n for aria announcement .
|
|
349
|
+
*
|
|
350
|
+
* @param {object} options - The options for building the announcement.
|
|
351
|
+
* @param {'single' | 'range'} options.mode - The date picker selection mode.
|
|
352
|
+
* @param {Nullable<CalendarDate>} options.startDate - The start date.
|
|
353
|
+
* @param {Nullable<CalendarDate>} [options.endDate] - The end date (used in range mode).
|
|
354
|
+
* @returns {string} - The aria announcement string.
|
|
355
|
+
*/
|
|
356
|
+
const buildDatePickerAnnouncement = (options) => {
|
|
357
|
+
const mode = options.mode;
|
|
358
|
+
const startDate = options.startDate;
|
|
359
|
+
const endDate = options.endDate;
|
|
360
|
+
if (!startDate && !endDate) {
|
|
361
|
+
return '';
|
|
362
|
+
}
|
|
363
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
364
|
+
const formatDate = (d) => `${d.getMonthName()} ${d.date} ${d.year}`;
|
|
365
|
+
if (mode === 'single' && startDate) {
|
|
366
|
+
return `${internalTranslationController.VegaInternalTranslation.t('Selected result')}: ${formatDate(startDate)}`;
|
|
367
|
+
}
|
|
368
|
+
if (mode === 'range') {
|
|
369
|
+
const startDateLabel = internalTranslationController.VegaInternalTranslation.t('Start Date');
|
|
370
|
+
const endDateLabel = internalTranslationController.VegaInternalTranslation.t('End Date');
|
|
371
|
+
if (startDate && endDate) {
|
|
372
|
+
return `${internalTranslationController.VegaInternalTranslation.t('Selected result')} ${startDateLabel}: ${formatDate(startDate)}. ${endDateLabel}: ${formatDate(endDate)}.`;
|
|
373
|
+
}
|
|
374
|
+
if (startDate) {
|
|
375
|
+
return `${internalTranslationController.VegaInternalTranslation.t('Selected result')} ${startDateLabel}: ${formatDate(startDate)}.`;
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
return '';
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* CalendarTime represents hours/minutes in 24-hour format and centralizes parsing/formatting logic.
|
|
383
|
+
*/
|
|
384
|
+
class CalendarTime {
|
|
385
|
+
constructor(hours, minutes) {
|
|
386
|
+
this._hours = hours;
|
|
387
|
+
this._minutes = minutes;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* Parse a raw time string into a CalendarTime instance.
|
|
391
|
+
*
|
|
392
|
+
* @param {string} rawTime - Source time value such as "9:00" or "9am".
|
|
393
|
+
* @returns {CalendarTime} Parsed time.
|
|
394
|
+
*/
|
|
395
|
+
static fromString(rawTime) {
|
|
396
|
+
const normalized = this.convertTimeTo24Hour(rawTime);
|
|
397
|
+
const [hourPart, minutePart] = normalized.split(':');
|
|
398
|
+
return new CalendarTime(Number(hourPart), Number(minutePart));
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* Build a CalendarTime from a Date instance while preserving hours/minutes.
|
|
402
|
+
*
|
|
403
|
+
* @param {Date} date - The source date.
|
|
404
|
+
* @returns {CalendarTime} Time representation extracted from the date.
|
|
405
|
+
*/
|
|
406
|
+
static fromDate(date) {
|
|
407
|
+
return new CalendarTime(date.getHours(), date.getMinutes());
|
|
408
|
+
}
|
|
409
|
+
/**
|
|
410
|
+
* Calculate the duration in the requested precision between two CalendarTime values, accounting for overnight spans.
|
|
411
|
+
*
|
|
412
|
+
* @param {CalendarTime} start - Start time of the interval.
|
|
413
|
+
* @param {CalendarTime} end - End time of the interval.
|
|
414
|
+
* @param {'minutes' | 'hours'} precision - Desired unit of measure for the result (defaults to minutes).
|
|
415
|
+
* @returns {number} Duration expressed in the requested precision.
|
|
416
|
+
*/
|
|
417
|
+
static calculateDuration(start, end, precision = 'minutes') {
|
|
418
|
+
const startMinutes = start.totalMinutes;
|
|
419
|
+
let endMinutes = end.totalMinutes;
|
|
420
|
+
if (end.hours === 0 && start.hours !== 0) {
|
|
421
|
+
endMinutes += 24 * 60;
|
|
422
|
+
}
|
|
423
|
+
const durationMinutes = endMinutes - startMinutes;
|
|
424
|
+
return precision === 'hours' ? durationMinutes / 60 : durationMinutes;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Normalize various time inputs (e.g. 9am, 9:30 PM) to a 24-hour HH:mm string.
|
|
428
|
+
*
|
|
429
|
+
* @param {string} timeString - User supplied time value.
|
|
430
|
+
* @returns {string} 24-hour formatted string.
|
|
431
|
+
*/
|
|
432
|
+
static convertTimeTo24Hour(timeString) {
|
|
433
|
+
const normalized = timeString.toLocaleLowerCase();
|
|
434
|
+
if (normalized.includes('am') || normalized.includes('pm')) {
|
|
435
|
+
const isAm = normalized.includes('am');
|
|
436
|
+
const cleaned = normalized.replace('am', '').replace('pm', '').trim();
|
|
437
|
+
const [rawHour, rawMinutes] = cleaned.split(':');
|
|
438
|
+
const minutes = rawMinutes.padStart(2, '0');
|
|
439
|
+
if (isAm) {
|
|
440
|
+
return `${rawHour === '12' ? '00' : rawHour}:${minutes}`;
|
|
441
|
+
}
|
|
442
|
+
else {
|
|
443
|
+
const convertedHour = rawHour === '12' ? '12' : `${Number(rawHour) + 12}`;
|
|
444
|
+
return `${convertedHour}:${minutes}`;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
return timeString;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* Hour component in 24-hour clock.
|
|
451
|
+
*
|
|
452
|
+
* @returns {number} Hours between 0-23.
|
|
453
|
+
*/
|
|
454
|
+
get hours() {
|
|
455
|
+
return this._hours;
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* Minute component.
|
|
459
|
+
*
|
|
460
|
+
* @returns {number} Minutes between 0-59.
|
|
461
|
+
*/
|
|
462
|
+
get minutes() {
|
|
463
|
+
return this._minutes;
|
|
464
|
+
}
|
|
465
|
+
/**
|
|
466
|
+
* Total minutes elapsed since midnight for this time value.
|
|
467
|
+
*
|
|
468
|
+
* @returns {number} Minutes from 00:00.
|
|
469
|
+
*/
|
|
470
|
+
get totalMinutes() {
|
|
471
|
+
return this._hours * 60 + this._minutes;
|
|
472
|
+
}
|
|
473
|
+
/**
|
|
474
|
+
* Format the time into a string using a simple formatter.
|
|
475
|
+
*
|
|
476
|
+
* @param {TimeStringFormat} format - time string Format. Defaults to 'hh:mm'.
|
|
477
|
+
* @returns {string} Formatted time string.
|
|
478
|
+
*/
|
|
479
|
+
toString(format = 'hh:mm') {
|
|
480
|
+
const defaultHours = this._hours.toString().padStart(2, '0');
|
|
481
|
+
const defaultMinutes = this._minutes.toString().padStart(2, '0');
|
|
482
|
+
const normalizedFormat = format.toLowerCase();
|
|
483
|
+
switch (normalizedFormat) {
|
|
484
|
+
case 'hh:m':
|
|
485
|
+
return `${defaultHours}:${this._minutes}`;
|
|
486
|
+
case 'h:mm':
|
|
487
|
+
return `${this._hours}:${defaultMinutes}`;
|
|
488
|
+
case 'h:m':
|
|
489
|
+
return `${this._hours}:${this._minutes}`;
|
|
490
|
+
case '12-hour': {
|
|
491
|
+
const amPm = this._hours >= 12 ? 'pm' : 'am';
|
|
492
|
+
const hour12 = this._hours % 12 || 12;
|
|
493
|
+
return `${hour12}:${defaultMinutes} ${internalTranslationController.VegaInternalTranslation.t(amPm)}`;
|
|
494
|
+
}
|
|
495
|
+
default:
|
|
496
|
+
return `${defaultHours}:${defaultMinutes}`;
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* CalendarDateTime centralizes timezone-aware conversions between native Date instances and calendar helpers.
|
|
503
|
+
*/
|
|
504
|
+
class CalendarDateTime {
|
|
505
|
+
constructor(date, timezone) {
|
|
506
|
+
this.originalDate = date;
|
|
507
|
+
this.timezone = timezone;
|
|
508
|
+
this.syncDateTime();
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* Build a CalendarDateTime from a native Date while the specific timezone.
|
|
512
|
+
*
|
|
513
|
+
* @param {Date} date - The native Date object to convert.
|
|
514
|
+
* @param {string} timezone - The timezone to apply.
|
|
515
|
+
* @returns {CalendarDateTime} A timezone-aware CalendarDateTime instance.
|
|
516
|
+
*/
|
|
517
|
+
static fromDate(date, timezone) {
|
|
518
|
+
return new CalendarDateTime(date, timezone);
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* Build a CalendarDateTime from a date input (Date or string) and optional time metadata.
|
|
522
|
+
*
|
|
523
|
+
* @param {string | Date} date - The input date value (string or Date).
|
|
524
|
+
* @param {CalendarDateTimeOptions} options - Additional options for time, timezone, seconds, etc.
|
|
525
|
+
* @returns {CalendarDateTime} A timezone-aware CalendarDateTime instance.
|
|
526
|
+
*/
|
|
527
|
+
static fromInitDataSource(date, options) {
|
|
528
|
+
const baseDate = new Date(date);
|
|
529
|
+
if (options.time) {
|
|
530
|
+
const calendarTime = CalendarTime.fromString(options.time);
|
|
531
|
+
baseDate.setHours(calendarTime.hours, calendarTime.minutes, 0, 0);
|
|
532
|
+
}
|
|
533
|
+
else if (options.endTimeMissing) {
|
|
534
|
+
baseDate.setHours(23, 59, 59, 0);
|
|
535
|
+
}
|
|
536
|
+
return CalendarDateTime.fromDate(baseDate, options.timezone);
|
|
537
|
+
}
|
|
538
|
+
/**
|
|
539
|
+
* Get the CalendarDate instance representing the date portion.
|
|
540
|
+
*
|
|
541
|
+
* @returns {CalendarDate} The CalendarDate object.
|
|
542
|
+
*/
|
|
543
|
+
get calendarDate() {
|
|
544
|
+
return this.date;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* Get the CalendarTime instance representing the time portion.
|
|
548
|
+
*
|
|
549
|
+
* @returns {CalendarTime} The CalendarTime object.
|
|
550
|
+
*/
|
|
551
|
+
get calendarTime() {
|
|
552
|
+
return this.time;
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* Get a native Date object representing this CalendarDateTime.
|
|
556
|
+
*
|
|
557
|
+
* @returns {Date} The native Date object.
|
|
558
|
+
*/
|
|
559
|
+
toDate() {
|
|
560
|
+
return this.date.toDate();
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* Set a new timezone and update CalendarDate/CalendarTime accordingly.
|
|
564
|
+
*
|
|
565
|
+
* @param {string} newTimezone - The new timezone to set.
|
|
566
|
+
*/
|
|
567
|
+
setTimezone(newTimezone) {
|
|
568
|
+
this.timezone = newTimezone;
|
|
569
|
+
this.syncDateTime();
|
|
570
|
+
}
|
|
571
|
+
/**
|
|
572
|
+
* Sync CalendarDate and CalendarTime with the current originalDate and timezone.
|
|
573
|
+
*/
|
|
574
|
+
syncDateTime() {
|
|
575
|
+
const normalized = this.convertDateToTimezone(this.originalDate);
|
|
576
|
+
this.date = new CalendarDate(normalized.getFullYear(), normalized.getMonth() + 1, normalized.getDate());
|
|
577
|
+
this.time = CalendarTime.fromDate(normalized);
|
|
578
|
+
}
|
|
579
|
+
/**
|
|
580
|
+
* Convert a Date to the specific timezone.
|
|
581
|
+
*
|
|
582
|
+
* @param {Date} date - The date to convert.
|
|
583
|
+
* @returns {Date} The date adjusted to the specific timezone.
|
|
584
|
+
*/
|
|
585
|
+
convertDateToTimezone(date) {
|
|
586
|
+
if (this.timezone === getSystemTimezone()) {
|
|
587
|
+
return date;
|
|
588
|
+
}
|
|
589
|
+
try {
|
|
590
|
+
const formatter = new Intl.DateTimeFormat([], {
|
|
591
|
+
timeZone: this.timezone,
|
|
592
|
+
year: 'numeric',
|
|
593
|
+
month: '2-digit',
|
|
594
|
+
day: '2-digit',
|
|
595
|
+
hour: '2-digit',
|
|
596
|
+
minute: '2-digit',
|
|
597
|
+
second: '2-digit',
|
|
598
|
+
hour12: false,
|
|
599
|
+
});
|
|
600
|
+
const parts = formatter.formatToParts(date);
|
|
601
|
+
const yearPart = this.findDateTimeFormatPart(parts, 'year');
|
|
602
|
+
const monthPart = this.findDateTimeFormatPart(parts, 'month');
|
|
603
|
+
const dayPart = this.findDateTimeFormatPart(parts, 'day');
|
|
604
|
+
const hourPart = this.findDateTimeFormatPart(parts, 'hour');
|
|
605
|
+
const minutePart = this.findDateTimeFormatPart(parts, 'minute');
|
|
606
|
+
const secondPart = this.findDateTimeFormatPart(parts, 'second');
|
|
607
|
+
if (yearPart && monthPart && dayPart && hourPart && minutePart && secondPart) {
|
|
608
|
+
const year = parseInt(yearPart.value, 10);
|
|
609
|
+
const month = parseInt(monthPart.value, 10);
|
|
610
|
+
const day = parseInt(dayPart.value, 10);
|
|
611
|
+
const hour = parseInt(hourPart.value, 10);
|
|
612
|
+
const minute = parseInt(minutePart.value, 10);
|
|
613
|
+
const second = parseInt(secondPart.value, 10);
|
|
614
|
+
return new Date(year, month - 1, day, hour, minute, second);
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
catch (_a) {
|
|
618
|
+
globalSlimmerRegistry.LogUtility.warn('Invalid timezone:', this.timezone);
|
|
619
|
+
}
|
|
620
|
+
return date;
|
|
621
|
+
}
|
|
622
|
+
/**
|
|
623
|
+
* Find a specific part in the Intl.DateTimeFormatPart array.
|
|
624
|
+
*
|
|
625
|
+
* @param {Intl.DateTimeFormatPart[]} parts - The array of date/time format parts.
|
|
626
|
+
* @param {DateTimeFormatPartType} type - The type of part to find (e.g., 'year', 'month').
|
|
627
|
+
* @returns {Intl.DateTimeFormatPart | undefined} The matching part, if found.
|
|
628
|
+
*/
|
|
629
|
+
findDateTimeFormatPart(parts, type) {
|
|
630
|
+
return parts.find((part) => part.type === type);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
// TODO: Need rename calendar-date as vega-date to manage all date operation in vega project
|
|
635
|
+
// https://gethired.atlassian.net/browse/VD-5918
|
|
636
|
+
/**
|
|
637
|
+
* It returns true if the input is a valid date string, and false otherwise.
|
|
638
|
+
* Note:
|
|
639
|
+
* This is not a strict date validation, it just use Date.parse to check the input string can be parsed to a valid date or not.
|
|
640
|
+
* For strict date validation, please use CalendarDate.fromString method in calendar-date.ts
|
|
641
|
+
* Example:
|
|
642
|
+
* For Chrome: Date.parse('Jan/08/2026') => 1767801600000
|
|
643
|
+
* For Safari: Date.parse('Jan/08/2026') => NaN
|
|
644
|
+
* Format is DD/MM/YYYY: Date.parse('20/11/2024') => NaN
|
|
645
|
+
*
|
|
646
|
+
* @param {string} input - The string to check.
|
|
647
|
+
* @returns {boolean} is a valid date string or not
|
|
648
|
+
*/
|
|
649
|
+
const isDateStr = (input) => !isNaN(Date.parse(input));
|
|
650
|
+
/**
|
|
651
|
+
* Compare if the firstDate is after the secondDate
|
|
652
|
+
*
|
|
653
|
+
* @param {Date} firstDate - The first date to compare.
|
|
654
|
+
* @param {Date} secondDate - The date to compare to.
|
|
655
|
+
* @returns {boolean} Return true if the firstDate is after the secondDate, otherwise it returns false.
|
|
656
|
+
*/
|
|
657
|
+
const compareIsAfter = (firstDate, secondDate) => {
|
|
658
|
+
return firstDate.getTime() > secondDate.getTime();
|
|
659
|
+
};
|
|
660
|
+
/**
|
|
661
|
+
* Compare if the firstDate is before the secondDate
|
|
662
|
+
*
|
|
663
|
+
* @param {Date} firstDate - The first date to compare.
|
|
664
|
+
* @param {Date} secondDate - The date to compare to.
|
|
665
|
+
* @returns {boolean} Return true if the firstDate is before the secondDate, otherwise it returns false.
|
|
666
|
+
*/
|
|
667
|
+
const compareIsBefore = (firstDate, secondDate) => {
|
|
668
|
+
return firstDate.getTime() < secondDate.getTime();
|
|
669
|
+
};
|
|
670
|
+
/**
|
|
671
|
+
* Compare if the first date is before or the same as the second date.
|
|
672
|
+
*
|
|
673
|
+
* @param {Date} firstDate - The first date to compare.
|
|
674
|
+
* @param {Date} secondDate - The date to compare against.
|
|
675
|
+
* @returns {boolean} Return true if the firstDate is before or the same as the secondDate, otherwise it returns false.
|
|
676
|
+
*/
|
|
677
|
+
const compareIsSameOrBefore = (firstDate, secondDate) => {
|
|
678
|
+
return firstDate.getTime() <= secondDate.getTime();
|
|
679
|
+
};
|
|
680
|
+
/**
|
|
681
|
+
* It returns true if the input string is a valid time string in the format specified by the timeFormat parameter
|
|
682
|
+
*
|
|
683
|
+
* @param {string} input - The string to be tested.
|
|
684
|
+
* @param {TimeFormat} timeFormat - '12-hour' | '24-hour'
|
|
685
|
+
* @returns {boolean} A boolean value.
|
|
686
|
+
*/
|
|
687
|
+
const isTimeStr = (input, timeFormat) => {
|
|
688
|
+
return timeFormat === '12-hour'
|
|
689
|
+
? new RegExp(/^(1[012]|0[1-9]):[0-5][0-9] ([AP][M])$/).test(input)
|
|
690
|
+
: new RegExp(/^([0-1][0-9]|2[0-3]):[0-5][0-9]$/).test(input);
|
|
691
|
+
};
|
|
692
|
+
/**
|
|
693
|
+
* It takes a number and returns a string
|
|
694
|
+
*
|
|
695
|
+
* @param {number} number - number - The number to pad
|
|
696
|
+
* @param {number} [length=2] - The length of the resulting string.
|
|
697
|
+
* @param {string} [padChar='0'] - The character to pad the number with.
|
|
698
|
+
* @returns {Nullable<string>} A function that takes a number as an argument and returns a nullable string.
|
|
699
|
+
*/
|
|
700
|
+
const pad = (number, length = 2, padChar = '0') => {
|
|
701
|
+
if (number || number === 0) {
|
|
702
|
+
return number.toString().padStart(length, padChar);
|
|
703
|
+
}
|
|
704
|
+
else {
|
|
705
|
+
globalSlimmerRegistry.LogUtility.error(`The input should be a number`);
|
|
706
|
+
}
|
|
707
|
+
};
|
|
708
|
+
/**
|
|
709
|
+
* The `convert12HourTo24HourFormat` function takes a time string in 12-hour format and converts it to 24-hour format.
|
|
710
|
+
*
|
|
711
|
+
* @param {string} time the time string need to convert, the time string should be 12-hour or 24-hour format
|
|
712
|
+
* @returns {string} 24 hour format time string
|
|
713
|
+
*/
|
|
714
|
+
const convert12HourTo24HourFormat = (time) => {
|
|
715
|
+
if (isTimeStr(time, '12-hour')) {
|
|
716
|
+
const [hour, minute, amPm] = time.replace(' ', ':').split(':');
|
|
717
|
+
let convertedHour = parseInt(hour, 10);
|
|
718
|
+
if (amPm === 'PM' && convertedHour !== 12) {
|
|
719
|
+
convertedHour += 12;
|
|
720
|
+
}
|
|
721
|
+
else if (amPm === 'AM' && convertedHour === 12) {
|
|
722
|
+
convertedHour = 0;
|
|
723
|
+
}
|
|
724
|
+
return `${pad(convertedHour)}:${minute}`;
|
|
725
|
+
}
|
|
726
|
+
return time;
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
const WEEKDAYS_SHORT = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
|
|
730
|
+
// TODO: Need rename calendar-date as vega-date to manage all date operation in vega project
|
|
731
|
+
// https://gethired.atlassian.net/browse/VD-5918
|
|
732
|
+
/**
|
|
733
|
+
* Calendar date class
|
|
734
|
+
*/
|
|
735
|
+
class CalendarDate {
|
|
736
|
+
constructor(year, month, date) {
|
|
737
|
+
this._date = date;
|
|
738
|
+
this._month = month;
|
|
739
|
+
this._year = year;
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
* Create a calendar date from a Date object
|
|
743
|
+
*
|
|
744
|
+
* @param {Date} currentDate - The Date object to create CalendarDate from
|
|
745
|
+
* @param {string} timezone - Timezone identifier for timezone-aware date creation. If not provided, uses system timezone.
|
|
746
|
+
* @returns {CalendarDate} - Return a CalendarDate object
|
|
747
|
+
*/
|
|
748
|
+
static from(currentDate, timezone = getSystemTimezone()) {
|
|
749
|
+
return CalendarDateTime.fromDate(currentDate, timezone).calendarDate;
|
|
750
|
+
}
|
|
751
|
+
/**
|
|
752
|
+
* Converts a date string to CalendarDate with optional format and timezone parameters.
|
|
753
|
+
*
|
|
754
|
+
* @param {string} dateString - The string date.
|
|
755
|
+
* @param {string} [format] - The format of string date
|
|
756
|
+
* @param {string} [lang] - lang
|
|
757
|
+
* @returns {Nullable<CalendarDate>} - CalendarDate.
|
|
758
|
+
*/
|
|
759
|
+
static fromString(dateString, format = 'MM/DD/YYYY', lang = 'en-us') {
|
|
760
|
+
if (!dateString)
|
|
761
|
+
return null;
|
|
762
|
+
const formatMatchers = [];
|
|
763
|
+
let formatMatcher = null;
|
|
764
|
+
// Analyze the format and find the corresponding positions for year, month, and day.
|
|
765
|
+
// Data: formatMatchers = [['DD', index: 0, ...], ['MM', index: 3, ...], ['YYYY', index: 7, ...]]
|
|
766
|
+
while ((formatMatcher = DateFormatParserRegex.exec(format)) != null) {
|
|
767
|
+
if (formatMatcher[1] === '\\')
|
|
768
|
+
continue;
|
|
769
|
+
formatMatchers.push(formatMatcher);
|
|
770
|
+
}
|
|
771
|
+
if (formatMatchers.length) {
|
|
772
|
+
const datePattern = {
|
|
773
|
+
year: undefined,
|
|
774
|
+
month: undefined,
|
|
775
|
+
shortMonth: undefined,
|
|
776
|
+
longMonth: undefined,
|
|
777
|
+
day: undefined,
|
|
778
|
+
value: '',
|
|
779
|
+
};
|
|
780
|
+
const firstMatcher = formatMatchers[0];
|
|
781
|
+
if (firstMatcher && firstMatcher.index > 0) {
|
|
782
|
+
datePattern.value += '.*?';
|
|
783
|
+
}
|
|
784
|
+
// According `matchers` to generate a new regex which can parse the date by corresponding year, month and day
|
|
785
|
+
// Data: dateRegex = "(\d{2}).*?(\d{2}).*?(\d{4}).*?"
|
|
786
|
+
// datePattern = {day: 1, longMonth: null, month: 2, shortMonth: null, year: 3, value: "(\d{2}).*?(\d{2}).*?(\d{4}).*?"}
|
|
787
|
+
for (const [k, match] of Object.entries(formatMatchers)) {
|
|
788
|
+
const key = Number(k);
|
|
789
|
+
if (match) {
|
|
790
|
+
const { group, pattern } = this.getPatternByFormatToken(match[0], lang);
|
|
791
|
+
datePattern[group] = key + 1;
|
|
792
|
+
datePattern.value += pattern;
|
|
793
|
+
datePattern.value += '.*?';
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
const dateRegex = new RegExp(`^${datePattern.value}$`);
|
|
797
|
+
if (dateRegex.test(dateString)) {
|
|
798
|
+
// Parse the date
|
|
799
|
+
// Example: parsedDate = ['08-02-2020', '08', '02', '2020']
|
|
800
|
+
const parsedDate = dateRegex.exec(dateString);
|
|
801
|
+
if (parsedDate &&
|
|
802
|
+
datePattern.year &&
|
|
803
|
+
(datePattern.month || datePattern.shortMonth || datePattern.longMonth) &&
|
|
804
|
+
datePattern.day) {
|
|
805
|
+
const year = Number(parsedDate[datePattern.year]);
|
|
806
|
+
let month = 1;
|
|
807
|
+
if (datePattern.month) {
|
|
808
|
+
month = Number(parsedDate[datePattern.month]) - 1;
|
|
809
|
+
}
|
|
810
|
+
else if (datePattern.shortMonth) {
|
|
811
|
+
month = this.shortMonths(lang).indexOf(parsedDate[datePattern.shortMonth]);
|
|
812
|
+
}
|
|
813
|
+
else if (datePattern.longMonth) {
|
|
814
|
+
month = this.longMonths(lang).indexOf(parsedDate[datePattern.longMonth]);
|
|
815
|
+
}
|
|
816
|
+
const day = Number(parsedDate[datePattern.day]);
|
|
817
|
+
const fullYear = Number(pad(year, 4, `${new Date().getFullYear()}`.slice(0, 2)));
|
|
818
|
+
if (isNaN(Date.parse(`${fullYear}-${pad(month + 1)}-${pad(day)}`)))
|
|
819
|
+
return null;
|
|
820
|
+
return this.from(new Date(fullYear, month, day, 0, 0, 0, 0));
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
return this.from(new Date(dateString));
|
|
825
|
+
}
|
|
826
|
+
/**
|
|
827
|
+
* Get regex pattern by format token.
|
|
828
|
+
*
|
|
829
|
+
* @param {string} token - The format token.
|
|
830
|
+
* @param {string} lang - Language.
|
|
831
|
+
* @returns {FormatPatternType} - regex pattern.
|
|
832
|
+
*/
|
|
833
|
+
static getPatternByFormatToken(token, lang) {
|
|
834
|
+
switch (token) {
|
|
835
|
+
case 'YY':
|
|
836
|
+
case 'YYYY':
|
|
837
|
+
return {
|
|
838
|
+
group: 'year',
|
|
839
|
+
pattern: `(\\d{${token.length}})`,
|
|
840
|
+
};
|
|
841
|
+
case 'M':
|
|
842
|
+
return {
|
|
843
|
+
group: 'month',
|
|
844
|
+
pattern: '(\\d{1,2})',
|
|
845
|
+
};
|
|
846
|
+
case 'MM':
|
|
847
|
+
return {
|
|
848
|
+
group: 'month',
|
|
849
|
+
pattern: '(\\d{2})',
|
|
850
|
+
};
|
|
851
|
+
case 'MMM':
|
|
852
|
+
return {
|
|
853
|
+
group: 'shortMonth',
|
|
854
|
+
pattern: `(${this.shortMonths(lang).join('|')})`,
|
|
855
|
+
};
|
|
856
|
+
case 'MMMM':
|
|
857
|
+
return {
|
|
858
|
+
group: 'longMonth',
|
|
859
|
+
pattern: `(${this.longMonths(lang).join('|')})`,
|
|
860
|
+
};
|
|
861
|
+
case 'D':
|
|
862
|
+
return {
|
|
863
|
+
group: 'day',
|
|
864
|
+
pattern: '(\\d{1,2})',
|
|
865
|
+
};
|
|
866
|
+
case 'DD':
|
|
867
|
+
return {
|
|
868
|
+
group: 'day',
|
|
869
|
+
pattern: '(\\d{2})',
|
|
870
|
+
};
|
|
871
|
+
/* istanbul ignore next */
|
|
872
|
+
default: {
|
|
873
|
+
return {
|
|
874
|
+
group: 'unknown',
|
|
875
|
+
pattern: '(.*)',
|
|
876
|
+
};
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
/**
|
|
881
|
+
* Shorts months.
|
|
882
|
+
*
|
|
883
|
+
* @param {string} lang - Language
|
|
884
|
+
* @returns {string[]} - Shorts months.
|
|
885
|
+
*/
|
|
886
|
+
static shortMonths(lang) {
|
|
887
|
+
return this.MONTHS.map((month) => new Date(2019, month).toLocaleString(lang, { month: 'short' }));
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
* Long months.
|
|
891
|
+
*
|
|
892
|
+
* @param {string} lang - Language
|
|
893
|
+
* @returns {string[]} - Long months.
|
|
894
|
+
*/
|
|
895
|
+
static longMonths(lang) {
|
|
896
|
+
return this.MONTHS.map((month) => new Date(2019, month).toLocaleString(lang, { month: 'long' }));
|
|
897
|
+
}
|
|
898
|
+
/**
|
|
899
|
+
* The year of the calendar date
|
|
900
|
+
*
|
|
901
|
+
* @type {number}
|
|
902
|
+
*/
|
|
903
|
+
get year() {
|
|
904
|
+
return this._year;
|
|
905
|
+
}
|
|
906
|
+
set year(value) {
|
|
907
|
+
this._year = value;
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* The month of the calendar date
|
|
911
|
+
*
|
|
912
|
+
* @type {number}
|
|
913
|
+
*/
|
|
914
|
+
get month() {
|
|
915
|
+
return this._month;
|
|
916
|
+
}
|
|
917
|
+
set month(value) {
|
|
918
|
+
this._month = value;
|
|
919
|
+
}
|
|
920
|
+
/**
|
|
921
|
+
* The date of the calendar date
|
|
922
|
+
*
|
|
923
|
+
* @type {number}
|
|
924
|
+
*/
|
|
925
|
+
get date() {
|
|
926
|
+
return this._date;
|
|
927
|
+
}
|
|
928
|
+
set date(value) {
|
|
929
|
+
this._date = value;
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
* Converts CalendarDate to a string with an optional format specifier.
|
|
933
|
+
*
|
|
934
|
+
* @param {string} [format] - The format of string date
|
|
935
|
+
* @param {string} [lang] - Language
|
|
936
|
+
* @returns {string} The string date.
|
|
937
|
+
*/
|
|
938
|
+
toString(format = 'MM/DD/YYYY', lang = 'en-us') {
|
|
939
|
+
let result = '';
|
|
940
|
+
const formatMatchers = [];
|
|
941
|
+
let formatMatcher = null;
|
|
942
|
+
while ((formatMatcher = DateFormatParserRegex.exec(format)) != null) {
|
|
943
|
+
if (formatMatcher[1] === '\\')
|
|
944
|
+
continue;
|
|
945
|
+
formatMatchers.push(formatMatcher);
|
|
946
|
+
}
|
|
947
|
+
if (formatMatchers.length) {
|
|
948
|
+
// add start line of tokens are not at the beginning
|
|
949
|
+
const firstMatcher = formatMatchers[0];
|
|
950
|
+
if (firstMatcher && firstMatcher.index > 0) {
|
|
951
|
+
result += format.substring(0, firstMatcher.index);
|
|
952
|
+
}
|
|
953
|
+
for (const [k, match] of Object.entries(formatMatchers)) {
|
|
954
|
+
const key = Number(k);
|
|
955
|
+
if (match) {
|
|
956
|
+
result += this.getDateItemByFormatToken(match[0], lang);
|
|
957
|
+
const nextMatch = formatMatchers[key + 1];
|
|
958
|
+
if (nextMatch) {
|
|
959
|
+
result += format.substring(match.index + match[0].length, nextMatch.index);
|
|
960
|
+
}
|
|
961
|
+
if (key === formatMatchers.length - 1) {
|
|
962
|
+
result += format.substring(match.index + match[0].length);
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
return result.replace(/\\/g, '');
|
|
968
|
+
}
|
|
969
|
+
/**
|
|
970
|
+
* Verify whether the calendar date is today
|
|
971
|
+
*
|
|
972
|
+
* @param {string} timezone - Timezone to consider when checking today's date. If not provided, uses system timezone.
|
|
973
|
+
* @returns {boolean} - Return true if the calendar date is today. Otherwise, return false.
|
|
974
|
+
*/
|
|
975
|
+
isToday(timezone = getSystemTimezone()) {
|
|
976
|
+
if (timezone === getSystemTimezone()) {
|
|
977
|
+
const today = new Date();
|
|
978
|
+
return (today.getFullYear() === this.year &&
|
|
979
|
+
today.getMonth() + 1 === this.month &&
|
|
980
|
+
today.getDate() === this.date);
|
|
981
|
+
}
|
|
982
|
+
const { year, month, date } = CalendarDateTime.fromDate(new Date(), timezone).calendarDate;
|
|
983
|
+
return year === this.year && month === this.month && date === this.date;
|
|
984
|
+
}
|
|
985
|
+
/**
|
|
986
|
+
* Convert the calendar date to a Date object
|
|
987
|
+
*
|
|
988
|
+
* @returns {Date} - Return a Date object
|
|
989
|
+
*/
|
|
990
|
+
toDate() {
|
|
991
|
+
return new Date(this.year, this.month - 1, this.date);
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* Compare with another calendar date
|
|
995
|
+
*
|
|
996
|
+
* @param {CalendarDate} date - The calendar date to compare with
|
|
997
|
+
* @returns {DateCompareResult} - Return a DateCompareResult object
|
|
998
|
+
*/
|
|
999
|
+
compare(date) {
|
|
1000
|
+
const { year, month } = date;
|
|
1001
|
+
const result = {
|
|
1002
|
+
isPreviousMonth: false,
|
|
1003
|
+
inMonth: false,
|
|
1004
|
+
isNextMonth: false,
|
|
1005
|
+
};
|
|
1006
|
+
if (this.year === year) {
|
|
1007
|
+
if (this.month < month) {
|
|
1008
|
+
result.isPreviousMonth = true;
|
|
1009
|
+
}
|
|
1010
|
+
else if (this.month > month) {
|
|
1011
|
+
result.isNextMonth = true;
|
|
1012
|
+
}
|
|
1013
|
+
else {
|
|
1014
|
+
result.inMonth = true;
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
1017
|
+
else if (this.year > year) {
|
|
1018
|
+
result.isNextMonth = true;
|
|
1019
|
+
}
|
|
1020
|
+
else {
|
|
1021
|
+
result.isPreviousMonth = true;
|
|
1022
|
+
}
|
|
1023
|
+
return result;
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* The function "equal" compares the year, month, and date of two CalendarDate objects and returns true if they are equal.
|
|
1027
|
+
*
|
|
1028
|
+
* @param {Nullable<CalendarDate>} calendarDate - The `equal` method in the code snippet is a function that compares the year, month, and date of the current `CalendarDate` object with another
|
|
1029
|
+
* `CalendarDate` object passed as a parameter. The method returns `true` if all three values (year, month, date) are equal
|
|
1030
|
+
* @returns {boolean} The date is same day with current
|
|
1031
|
+
*/
|
|
1032
|
+
equal(calendarDate) {
|
|
1033
|
+
if (!calendarDate)
|
|
1034
|
+
return false;
|
|
1035
|
+
const { year, month, date } = calendarDate;
|
|
1036
|
+
return this._year === year && this._month === month && this._date === date;
|
|
1037
|
+
}
|
|
1038
|
+
/**
|
|
1039
|
+
* Get month name.
|
|
1040
|
+
*
|
|
1041
|
+
* @param {boolean} isShortName - Whether to get the short name or long name of the month
|
|
1042
|
+
* @returns {string} The name of the month
|
|
1043
|
+
*/
|
|
1044
|
+
getMonthName(isShortName = false) {
|
|
1045
|
+
return internalTranslationController.VegaInternalTranslation.t(this.toDate().toLocaleDateString('en-US', {
|
|
1046
|
+
month: isShortName ? 'short' : 'long',
|
|
1047
|
+
}));
|
|
1048
|
+
}
|
|
1049
|
+
/**
|
|
1050
|
+
* To determine if it is larger than a given `CalendarDate`.
|
|
1051
|
+
*
|
|
1052
|
+
* @param {Nullable<CalendarDate>} calendarDate - A `CalendarDate`
|
|
1053
|
+
* @returns {boolean} - Compared result
|
|
1054
|
+
*/
|
|
1055
|
+
isAfter(calendarDate) {
|
|
1056
|
+
if (!calendarDate)
|
|
1057
|
+
return false;
|
|
1058
|
+
return compareIsAfter(this.toDate(), calendarDate.toDate());
|
|
1059
|
+
}
|
|
1060
|
+
/**
|
|
1061
|
+
* To determine if it is less than a given `CalendarDate`.
|
|
1062
|
+
*
|
|
1063
|
+
* @param {Nullable<CalendarDate>} calendarDate - A `CalendarDate`
|
|
1064
|
+
* @returns {boolean} - Compared result
|
|
1065
|
+
*/
|
|
1066
|
+
isBefore(calendarDate) {
|
|
1067
|
+
if (!calendarDate)
|
|
1068
|
+
return false;
|
|
1069
|
+
return compareIsBefore(this.toDate(), calendarDate.toDate());
|
|
1070
|
+
}
|
|
1071
|
+
/**
|
|
1072
|
+
* Get first day of month.
|
|
1073
|
+
*
|
|
1074
|
+
* @returns {CalendarDate} - First day of month.
|
|
1075
|
+
*/
|
|
1076
|
+
firstDateOfMonth() {
|
|
1077
|
+
return CalendarDate.from(new Date(this.year, this.month - 1, 1));
|
|
1078
|
+
}
|
|
1079
|
+
/**
|
|
1080
|
+
* Get last day of month.
|
|
1081
|
+
*
|
|
1082
|
+
* @returns {CalendarDate} - Last day of month.
|
|
1083
|
+
*/
|
|
1084
|
+
lastDateOfMonth() {
|
|
1085
|
+
return CalendarDate.from(new Date(this.year, this.month, 0));
|
|
1086
|
+
}
|
|
1087
|
+
/**
|
|
1088
|
+
* Adjusts the calendar date by adding the specified number of years, months, and days.
|
|
1089
|
+
*
|
|
1090
|
+
* @param {number} [years=0] - The number of years to add.
|
|
1091
|
+
* @param {number} [months=0] - The number of months to add.
|
|
1092
|
+
* @param {number} [days=0] - The number of days to add.
|
|
1093
|
+
* @returns {CalendarDate} - A new CalendarDate object with the adjusted date.
|
|
1094
|
+
*/
|
|
1095
|
+
add(years = 0, months = 0, days = 0) {
|
|
1096
|
+
const currentDate = this.toDate();
|
|
1097
|
+
const adjustedDate = new Date(currentDate.getFullYear() + years, currentDate.getMonth() + months, currentDate.getDate() + days);
|
|
1098
|
+
return CalendarDate.from(adjustedDate);
|
|
1099
|
+
}
|
|
1100
|
+
/**
|
|
1101
|
+
* Get the short name of the week day for the calendar date.
|
|
1102
|
+
*
|
|
1103
|
+
* @returns {string} - The short name of the week day.
|
|
1104
|
+
*/
|
|
1105
|
+
getWeekDayShortName() {
|
|
1106
|
+
const currentDate = this.toDate();
|
|
1107
|
+
return WEEKDAYS_SHORT[currentDate.getDay()];
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
* Get year, month and day value by format token.
|
|
1111
|
+
*
|
|
1112
|
+
* @param {string} token - The format token.
|
|
1113
|
+
* @param {string} lang - Language.
|
|
1114
|
+
* @returns {string} - year, month and day value.
|
|
1115
|
+
*/
|
|
1116
|
+
getDateItemByFormatToken(token, lang) {
|
|
1117
|
+
switch (token) {
|
|
1118
|
+
case 'YY':
|
|
1119
|
+
return String(this.year).slice(-2);
|
|
1120
|
+
case 'YYYY':
|
|
1121
|
+
return String(this.year);
|
|
1122
|
+
case 'M':
|
|
1123
|
+
return String(this.month);
|
|
1124
|
+
case 'MM':
|
|
1125
|
+
return `0${this.month}`.slice(-2);
|
|
1126
|
+
case 'MMM':
|
|
1127
|
+
return CalendarDate.shortMonths(lang)[this.month - 1];
|
|
1128
|
+
case 'MMMM':
|
|
1129
|
+
return CalendarDate.longMonths(lang)[this.month - 1];
|
|
1130
|
+
case 'D':
|
|
1131
|
+
return String(this.date);
|
|
1132
|
+
case 'DD':
|
|
1133
|
+
return `0${this.date}`.slice(-2);
|
|
1134
|
+
default:
|
|
1135
|
+
return '';
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
CalendarDate.MONTHS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* CalendarPeriod is an abstract class that represents a period of date for calendar.
|
|
1143
|
+
*/
|
|
1144
|
+
class CalendarPeriod {
|
|
1145
|
+
constructor(count, current, timezone) {
|
|
1146
|
+
this._count = count;
|
|
1147
|
+
this._timezone = timezone || getSystemTimezone();
|
|
1148
|
+
this._current = current ? current : CalendarDate.from(new Date(), this._timezone);
|
|
1149
|
+
this.calculatePeriod(this._current);
|
|
1150
|
+
}
|
|
1151
|
+
/**
|
|
1152
|
+
* The current date of the period.
|
|
1153
|
+
*
|
|
1154
|
+
* @type {CalendarDate}
|
|
1155
|
+
*/
|
|
1156
|
+
get current() {
|
|
1157
|
+
return this._current;
|
|
1158
|
+
}
|
|
1159
|
+
/**
|
|
1160
|
+
* The start date of the period
|
|
1161
|
+
*
|
|
1162
|
+
* @type {CalendarDate}
|
|
1163
|
+
*/
|
|
1164
|
+
get startDate() {
|
|
1165
|
+
return this._startDate;
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
* The end date of the period
|
|
1169
|
+
*
|
|
1170
|
+
* @type {CalendarDate}
|
|
1171
|
+
*/
|
|
1172
|
+
get endDate() {
|
|
1173
|
+
return this._endDate;
|
|
1174
|
+
}
|
|
1175
|
+
/**
|
|
1176
|
+
* The count of the period
|
|
1177
|
+
*
|
|
1178
|
+
* @type {number}
|
|
1179
|
+
*/
|
|
1180
|
+
get count() {
|
|
1181
|
+
return this._count;
|
|
1182
|
+
}
|
|
1183
|
+
/**
|
|
1184
|
+
* This function returns the type of the object.
|
|
1185
|
+
*
|
|
1186
|
+
* @type {string}
|
|
1187
|
+
*/
|
|
1188
|
+
get type() {
|
|
1189
|
+
return this._type;
|
|
1190
|
+
}
|
|
1191
|
+
/**
|
|
1192
|
+
* This function returns the showWeekends of the object.
|
|
1193
|
+
*
|
|
1194
|
+
* @type {boolean}
|
|
1195
|
+
*/
|
|
1196
|
+
get showWeekends() {
|
|
1197
|
+
return this._showWeekends;
|
|
1198
|
+
}
|
|
1199
|
+
/**
|
|
1200
|
+
* The timezone of the period.
|
|
1201
|
+
*
|
|
1202
|
+
* @type {string | undefined}
|
|
1203
|
+
*/
|
|
1204
|
+
get timezone() {
|
|
1205
|
+
return this._timezone;
|
|
1206
|
+
}
|
|
1207
|
+
/**
|
|
1208
|
+
* Go to a specific date.
|
|
1209
|
+
*
|
|
1210
|
+
* @param {CalendarDate} date - The date to go to.
|
|
1211
|
+
* @returns {this} - The current period.
|
|
1212
|
+
*/
|
|
1213
|
+
goTo(date) {
|
|
1214
|
+
return this.createBy(date);
|
|
1215
|
+
}
|
|
1216
|
+
/**
|
|
1217
|
+
* Go to now.
|
|
1218
|
+
*
|
|
1219
|
+
* @returns {this} - The current period.
|
|
1220
|
+
*/
|
|
1221
|
+
now() {
|
|
1222
|
+
return this.createBy(CalendarDate.from(new Date(), this._timezone));
|
|
1223
|
+
}
|
|
1224
|
+
/**
|
|
1225
|
+
* Check the give period is equal to current period
|
|
1226
|
+
*
|
|
1227
|
+
* @param {CalendarPeriod} [period] - Give period to compare
|
|
1228
|
+
* @returns {boolean} compare result
|
|
1229
|
+
*/
|
|
1230
|
+
equal(period) {
|
|
1231
|
+
return this.startDate.equal(period.startDate) && this.endDate.equal(period.endDate);
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
* Calculate the period start date and end date.
|
|
1235
|
+
*
|
|
1236
|
+
* @param {CalendarDate} date - The date to calculate the period from.
|
|
1237
|
+
*/
|
|
1238
|
+
calculatePeriod(date) {
|
|
1239
|
+
const cursor = date.toDate();
|
|
1240
|
+
if (this.count > 1) {
|
|
1241
|
+
cursor.setDate(cursor.getDate() - getWeekdays().indexOf(cursor.getDay()));
|
|
1242
|
+
}
|
|
1243
|
+
this._startDate = CalendarDate.from(cursor);
|
|
1244
|
+
cursor.setDate(cursor.getDate() + this.count - 1);
|
|
1245
|
+
this._endDate = CalendarDate.from(cursor);
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* StateVariantFormatter: Format state token to CSS styles
|
|
1251
|
+
*/
|
|
1252
|
+
class StateVariantFormatter {
|
|
1253
|
+
/**
|
|
1254
|
+
* The function `format` takes an input state variant type and returns formatted CSS styles based on
|
|
1255
|
+
* the input.
|
|
1256
|
+
*
|
|
1257
|
+
* @param {StateVariantType} input - The `format` function takes an `input` parameter of type
|
|
1258
|
+
* `StateVariantType<ManagedStateScopeInput[Flag], State>`. This means that the `input` parameter
|
|
1259
|
+
* should be an object that contains styles for different states, where the keys are state names and
|
|
1260
|
+
* the values are the corresponding styles
|
|
1261
|
+
* @returns {string} The `format` function returns a string that contains CSS styles based on the input
|
|
1262
|
+
* provided. If the input is determined to be a state variant token type, the function generates CSS
|
|
1263
|
+
* styles for each state in the input and returns them joined by newlines. If the input is not a state
|
|
1264
|
+
* variant token type, the function generates CSS styles for the default state and returns them.
|
|
1265
|
+
*/
|
|
1266
|
+
format(input) {
|
|
1267
|
+
if (isStateVariantTokenType(input)) {
|
|
1268
|
+
const stateStyles = [];
|
|
1269
|
+
this.getStates().forEach((state) => {
|
|
1270
|
+
const style = this.formatToken(input[state]);
|
|
1271
|
+
if (style) {
|
|
1272
|
+
stateStyles.push(`:host${state === 'default' ? '' : `(:${state})`}{\n\t${style}\n}`);
|
|
1273
|
+
}
|
|
1274
|
+
});
|
|
1275
|
+
return stateStyles.join('\n');
|
|
1276
|
+
}
|
|
1277
|
+
else {
|
|
1278
|
+
const style = this.formatToken(input);
|
|
1279
|
+
return `:host{\n\t${style}\n}`;
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* The `StateBackgroundColorFormatter` class in TypeScript formats background color tokens
|
|
1286
|
+
* and handles different CSS states.
|
|
1287
|
+
*/
|
|
1288
|
+
class StateBackgroundColorFormatter extends StateVariantFormatter {
|
|
1289
|
+
constructor() {
|
|
1290
|
+
super(...arguments);
|
|
1291
|
+
this.states = ['default', 'hover', 'active', 'focus-visible'];
|
|
1292
|
+
}
|
|
1293
|
+
/**
|
|
1294
|
+
* The function `formatToken` takes a `BackgroundColorsTokenType` input, checks if it is a valid
|
|
1295
|
+
* background color token type, and returns the corresponding CSS background color value or logs a
|
|
1296
|
+
* warning if the input is invalid.
|
|
1297
|
+
*
|
|
1298
|
+
* @param {BackgroundColorsTokenType} input - The `input` parameter is of type
|
|
1299
|
+
* `BackgroundColorsTokenType`, which is used to represent different background color tokens.
|
|
1300
|
+
* @returns {string} The `formatToken` function takes a `BackgroundColorsTokenType` input and checks if it is a
|
|
1301
|
+
* valid background color token type. If it is valid, it retrieves the corresponding color value from
|
|
1302
|
+
* the `BackgroundColorMap` and returns a CSS style string with the background color. If the input is
|
|
1303
|
+
* not valid, it logs a warning message using `LogUtility.warn` and returns an empty string.
|
|
1304
|
+
*/
|
|
1305
|
+
formatToken(input) {
|
|
1306
|
+
if (isBackgroundColorTokenType(input)) {
|
|
1307
|
+
const tokenValue = BackgroundColorMap[input];
|
|
1308
|
+
return `background-color: ${tokenValue};`;
|
|
1309
|
+
}
|
|
1310
|
+
else {
|
|
1311
|
+
globalSlimmerRegistry.LogUtility.warn(`The backgroundColor value ${input} is invalid, it must be a value of: `, BackgroundColors);
|
|
1312
|
+
return '';
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
/**
|
|
1316
|
+
* The function `getStates` returns an array of `CssStatesType` objects.
|
|
1317
|
+
*
|
|
1318
|
+
* @returns {CssStatesType[]} An array of objects of type CssStatesType, which represents the states stored in the
|
|
1319
|
+
* variable this.states.
|
|
1320
|
+
*/
|
|
1321
|
+
getStates() {
|
|
1322
|
+
return this.states;
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
const StateBackgroundColorFormatter$1 = new StateBackgroundColorFormatter();
|
|
1326
|
+
|
|
1327
|
+
var DateDirection;
|
|
1328
|
+
(function (DateDirection) {
|
|
1329
|
+
DateDirection["PREVIOUS"] = "-1";
|
|
1330
|
+
DateDirection["NEXT"] = "1";
|
|
1331
|
+
})(DateDirection || (DateDirection = {}));
|
|
1332
|
+
/**
|
|
1333
|
+
* The function `getTimeIndex` calculates the index of a given time string based on a specified time unit.
|
|
1334
|
+
*
|
|
1335
|
+
* @param {string} timeString - A string representing a time in the format "HH:MM", where HH is the hour and MM is the minutes.
|
|
1336
|
+
* @param {number} [unit=15] - The `unit` parameter in the `getTimeIndex` function is used to specify
|
|
1337
|
+
* the interval in minutes for dividing the day. By default, it is set to 15 minutes, meaning that the
|
|
1338
|
+
* day will be divided into 15-minute intervals.
|
|
1339
|
+
* @returns {number} the index of the given time string based on the specified time unit.
|
|
1340
|
+
*/
|
|
1341
|
+
function getTimeIndex(timeString, unit = 15) {
|
|
1342
|
+
const [hour, minutes] = timeString.split(':');
|
|
1343
|
+
return Math.round((Number(hour) * 60 + Number(minutes)) / unit);
|
|
1344
|
+
}
|
|
1345
|
+
/**
|
|
1346
|
+
* Returns a string that includes the event key for a calendar event slot.
|
|
1347
|
+
*
|
|
1348
|
+
* @param {string} eventKey - represents the key or identifier of a calendar event.
|
|
1349
|
+
* @returns {string} a string that is a concatenation of 'vega-calendar-event-slot-' and the eventKey parameter.
|
|
1350
|
+
*/
|
|
1351
|
+
function getCalendarEventSlotName(eventKey) {
|
|
1352
|
+
return 'vega-calendar-event-slot-' + eventKey;
|
|
1353
|
+
}
|
|
1354
|
+
/**
|
|
1355
|
+
* Returns the closest workday to a given calendar date based on a specified direction.
|
|
1356
|
+
*
|
|
1357
|
+
* @param {Date} date - The starting date from which you want to find the closest workday.
|
|
1358
|
+
* @param {'-1' | '1'} [direction=1] - Determines whether to find the closest workday in the past or future. It can have two possible values:
|
|
1359
|
+
* @returns {CalendarDate} The closest workday to the input date
|
|
1360
|
+
*/
|
|
1361
|
+
function getClosestWorkday(date, direction = DateDirection.NEXT) {
|
|
1362
|
+
const day = date.toDate().getDay();
|
|
1363
|
+
if (day === 0 || day === 6) {
|
|
1364
|
+
let nextWorkdayGap = day === 0 ? 1 : 2;
|
|
1365
|
+
if (direction === DateDirection.PREVIOUS) {
|
|
1366
|
+
nextWorkdayGap = day === 0 ? -2 : -1;
|
|
1367
|
+
}
|
|
1368
|
+
return CalendarDate.from(new Date(date.year, date.month - 1, date.date + nextWorkdayGap));
|
|
1369
|
+
}
|
|
1370
|
+
return date;
|
|
1371
|
+
}
|
|
1372
|
+
/**
|
|
1373
|
+
* Get event status background color.
|
|
1374
|
+
*
|
|
1375
|
+
* @param {Nullable<string | BackgroundColorsTokenType>} color the background color
|
|
1376
|
+
* @returns {string} background color style string
|
|
1377
|
+
*/
|
|
1378
|
+
function getEventStatusBgColorStyle(color = 'bg-accent6-primary') {
|
|
1379
|
+
if (isBackgroundColorTokenType(color)) {
|
|
1380
|
+
return `.event-bg-color{${StateBackgroundColorFormatter$1.formatToken(color)}}`;
|
|
1381
|
+
}
|
|
1382
|
+
else {
|
|
1383
|
+
return `.event-bg-color{background-color:${color}}`;
|
|
1384
|
+
}
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Period of day.
|
|
1389
|
+
*/
|
|
1390
|
+
class DayPeriod extends CalendarPeriod {
|
|
1391
|
+
constructor(current, showWeekends, timezone) {
|
|
1392
|
+
super(DayPeriod.DISPLAY_DATE_COUNT, current, timezone);
|
|
1393
|
+
this._type = 'day';
|
|
1394
|
+
this._showWeekends = true;
|
|
1395
|
+
this._showWeekends = showWeekends === false ? false : true;
|
|
1396
|
+
}
|
|
1397
|
+
/**
|
|
1398
|
+
* @inheritDoc
|
|
1399
|
+
*/
|
|
1400
|
+
next() {
|
|
1401
|
+
const nextDate = this.current.toDate();
|
|
1402
|
+
nextDate.setDate(nextDate.getDate() + 1);
|
|
1403
|
+
let calendarDate = CalendarDate.from(nextDate);
|
|
1404
|
+
if (this._showWeekends === false) {
|
|
1405
|
+
calendarDate = getClosestWorkday(calendarDate);
|
|
1406
|
+
}
|
|
1407
|
+
return this.createBy(calendarDate);
|
|
1408
|
+
}
|
|
1409
|
+
/**
|
|
1410
|
+
* @inheritDoc
|
|
1411
|
+
*/
|
|
1412
|
+
previous() {
|
|
1413
|
+
const previousDate = this.current.toDate();
|
|
1414
|
+
previousDate.setDate(previousDate.getDate() - 1);
|
|
1415
|
+
let calendarDate = CalendarDate.from(previousDate);
|
|
1416
|
+
if (this._showWeekends === false) {
|
|
1417
|
+
calendarDate = getClosestWorkday(calendarDate, DateDirection.PREVIOUS);
|
|
1418
|
+
}
|
|
1419
|
+
return this.createBy(calendarDate);
|
|
1420
|
+
}
|
|
1421
|
+
/**
|
|
1422
|
+
* Go to now.
|
|
1423
|
+
*
|
|
1424
|
+
* @returns {this} - The current period.
|
|
1425
|
+
*/
|
|
1426
|
+
now() {
|
|
1427
|
+
let calendarDate = CalendarDate.from(new Date(), this.timezone);
|
|
1428
|
+
if (this._showWeekends === false) {
|
|
1429
|
+
calendarDate = getClosestWorkday(calendarDate);
|
|
1430
|
+
}
|
|
1431
|
+
return this.createBy(calendarDate);
|
|
1432
|
+
}
|
|
1433
|
+
/**
|
|
1434
|
+
* @inheritDoc
|
|
1435
|
+
*/
|
|
1436
|
+
createBy(current) {
|
|
1437
|
+
return new DayPeriod(current, this._showWeekends, this.timezone);
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
DayPeriod.DISPLAY_DATE_COUNT = 1;
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* Period of the week
|
|
1444
|
+
*/
|
|
1445
|
+
class WeekPeriod extends CalendarPeriod {
|
|
1446
|
+
constructor(current, showWeekends, timezone) {
|
|
1447
|
+
super(WeekPeriod.DISPLAY_DATE_COUNT, current, timezone);
|
|
1448
|
+
this._type = 'week';
|
|
1449
|
+
this._showWeekends = true;
|
|
1450
|
+
this._showWeekends = showWeekends === false ? false : true;
|
|
1451
|
+
}
|
|
1452
|
+
/**
|
|
1453
|
+
* @inheritDoc
|
|
1454
|
+
*/
|
|
1455
|
+
next() {
|
|
1456
|
+
const currentDate = this.current.toDate();
|
|
1457
|
+
currentDate.setDate(currentDate.getDate() + 7);
|
|
1458
|
+
return this.createBy(CalendarDate.from(currentDate));
|
|
1459
|
+
}
|
|
1460
|
+
/**
|
|
1461
|
+
* @inheritDoc
|
|
1462
|
+
*/
|
|
1463
|
+
previous() {
|
|
1464
|
+
const currentDate = this.current.toDate();
|
|
1465
|
+
currentDate.setDate(currentDate.getDate() - 7);
|
|
1466
|
+
return this.createBy(CalendarDate.from(currentDate));
|
|
1467
|
+
}
|
|
1468
|
+
/**
|
|
1469
|
+
* @inheritDoc
|
|
1470
|
+
*/
|
|
1471
|
+
createBy(current) {
|
|
1472
|
+
return new WeekPeriod(current, this._showWeekends, this.timezone);
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
WeekPeriod.DISPLAY_DATE_COUNT = 7;
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* Period of month
|
|
1479
|
+
*/
|
|
1480
|
+
class MonthPeriod extends CalendarPeriod {
|
|
1481
|
+
constructor(current, showWeekends, timezone) {
|
|
1482
|
+
super(MonthPeriod.DISPLAY_DATE_COUNT, current, timezone);
|
|
1483
|
+
this._type = 'month';
|
|
1484
|
+
this._showWeekends = true;
|
|
1485
|
+
this._showWeekends = showWeekends === false ? false : true;
|
|
1486
|
+
}
|
|
1487
|
+
/**
|
|
1488
|
+
* The function `getMonthFirstDay` returns the first day of a given month in a calendar.
|
|
1489
|
+
*
|
|
1490
|
+
* @param {CalendarDate} [calendarDate] - The `calendarDate` parameter is an optional parameter of
|
|
1491
|
+
* type `CalendarDate`. It represents a specific date in the calendar. If a `calendarDate` is
|
|
1492
|
+
* provided, the function will use that date to determine the first day of the month. If no
|
|
1493
|
+
* `calendarDate` is provided, the function will use the current date considering timezone.
|
|
1494
|
+
* @param {string} [timezone] - The timezone to use when no calendarDate is provided
|
|
1495
|
+
* @returns {CalendarDate} A new `CalendarDate` object representing the first day of the month from the provided
|
|
1496
|
+
* `calendarDate` parameter or the current date if no parameter is provided.
|
|
1497
|
+
*/
|
|
1498
|
+
static getMonthFirstDay(calendarDate, timezone) {
|
|
1499
|
+
const date = calendarDate || CalendarDate.from(new Date(), timezone);
|
|
1500
|
+
return new CalendarDate(date.year, date.month, 1);
|
|
1501
|
+
}
|
|
1502
|
+
/**
|
|
1503
|
+
* Calculate the period start date and end date.
|
|
1504
|
+
*
|
|
1505
|
+
* @param {CalendarDate} date - The date to calculate the period from.
|
|
1506
|
+
*/
|
|
1507
|
+
calculatePeriod(date) {
|
|
1508
|
+
const firstDay = MonthPeriod.getMonthFirstDay(date);
|
|
1509
|
+
const cursor = firstDay.toDate();
|
|
1510
|
+
cursor.setDate(cursor.getDate() - getWeekdays().indexOf(cursor.getDay()));
|
|
1511
|
+
this._startDate = CalendarDate.from(cursor);
|
|
1512
|
+
cursor.setDate(cursor.getDate() + this.count - 1);
|
|
1513
|
+
this._endDate = CalendarDate.from(cursor);
|
|
1514
|
+
}
|
|
1515
|
+
/**
|
|
1516
|
+
* @inheritDoc
|
|
1517
|
+
*/
|
|
1518
|
+
next() {
|
|
1519
|
+
const current = this.current.toDate();
|
|
1520
|
+
const year = current.getFullYear();
|
|
1521
|
+
const month = current.getMonth() + 1;
|
|
1522
|
+
const day = current.getDate();
|
|
1523
|
+
// Get the last day of the next month
|
|
1524
|
+
const lastDayOfNextMonth = new Date(year, month + 1, 0).getDate();
|
|
1525
|
+
const nextDay = Math.min(day, lastDayOfNextMonth);
|
|
1526
|
+
const next = new Date(year, month, nextDay);
|
|
1527
|
+
return this.createBy(CalendarDate.from(next));
|
|
1528
|
+
}
|
|
1529
|
+
/**
|
|
1530
|
+
* @inheritDoc
|
|
1531
|
+
*/
|
|
1532
|
+
previous() {
|
|
1533
|
+
const current = this.current.toDate();
|
|
1534
|
+
const year = current.getFullYear();
|
|
1535
|
+
const month = current.getMonth() - 1;
|
|
1536
|
+
const day = current.getDate();
|
|
1537
|
+
// Get the last day of the previous month
|
|
1538
|
+
const lastDayOfPreviousMonth = new Date(year, month + 1, 0).getDate();
|
|
1539
|
+
const previousDay = Math.min(day, lastDayOfPreviousMonth);
|
|
1540
|
+
const previous = new Date(year, month, previousDay);
|
|
1541
|
+
return this.createBy(CalendarDate.from(previous));
|
|
1542
|
+
}
|
|
1543
|
+
/**
|
|
1544
|
+
* @inheritDoc
|
|
1545
|
+
*/
|
|
1546
|
+
createBy(current) {
|
|
1547
|
+
return new MonthPeriod(current, this._showWeekends, this.timezone);
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
MonthPeriod.DISPLAY_DATE_COUNT = 6 * 7;
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* Returns true if the input is a string that is one of the four directions.
|
|
1554
|
+
*
|
|
1555
|
+
* @param {unknown} input - The value to check.
|
|
1556
|
+
* @returns {boolean} indicating if the input is type of {@link SpacingDirection}
|
|
1557
|
+
*/
|
|
1558
|
+
const isSpacingDirection = (input) => {
|
|
1559
|
+
return typeof input === 'string' && ['top', 'bottom', 'left', 'right', 'x', 'y'].includes(input);
|
|
1560
|
+
};
|
|
1561
|
+
/**
|
|
1562
|
+
* If the input is a string and the string is a key in the Spacing enum, then the input is a SpacingTokenType.
|
|
1563
|
+
*
|
|
1564
|
+
* @param {unknown} input - The value to check.
|
|
1565
|
+
* @returns {boolean} indicating if the input is type of {@link SpacingTokenType}
|
|
1566
|
+
*/
|
|
1567
|
+
const isSpacingTokenType = (input) => {
|
|
1568
|
+
return typeof input === 'string' && typeof Spacing[input] === 'number';
|
|
1569
|
+
};
|
|
1570
|
+
/**
|
|
1571
|
+
* If every key in the input is a valid spacing direction and every value in the input is a valid spacing value, then the
|
|
1572
|
+
* input is a valid directional spacing type.
|
|
1573
|
+
*
|
|
1574
|
+
* @param {unknown} input - unknown - This is the input value that we want to check.
|
|
1575
|
+
* @returns {boolean} indicating if the input is type of {@link DirectionalSpacingType}
|
|
1576
|
+
*/
|
|
1577
|
+
const isDirectionalSpacingType = (input) => {
|
|
1578
|
+
return (typeof input === 'object' &&
|
|
1579
|
+
input !== null &&
|
|
1580
|
+
Object.keys(input).every(isSpacingDirection) &&
|
|
1581
|
+
Object.values(input).every((paddingValue) => paddingValue in Spacing));
|
|
1582
|
+
};
|
|
1583
|
+
/**
|
|
1584
|
+
* `isResponsiveType` returns true if the input is an object with a `default` property and all other properties are valid
|
|
1585
|
+
* breakpoints
|
|
1586
|
+
*
|
|
1587
|
+
* @param {unknown} input - unknown - this is the input that we want to check if it's a ResponsiveType
|
|
1588
|
+
* @returns {boolean} indicating if the input is type of {@link ResponsiveType<ResponsiveScope>}
|
|
1589
|
+
*/
|
|
1590
|
+
const isResponsiveType = (input) => {
|
|
1591
|
+
return typeof input === 'object' && input !== null && Object.keys(input).every(isBreakpointsTokenType);
|
|
1592
|
+
};
|
|
1593
|
+
/**
|
|
1594
|
+
* If the input is a string and it's either in the Breakpoints enum or it's the string 'default', then it's a
|
|
1595
|
+
* BreakpointsTokenType.
|
|
1596
|
+
*
|
|
1597
|
+
* @param {unknown} input - The value to check.
|
|
1598
|
+
* @returns {boolean} indicating if the input is type of {@link BreakpointsTokenType}
|
|
1599
|
+
*/
|
|
1600
|
+
const isBreakpointsTokenType = (input) => {
|
|
1601
|
+
return typeof input === 'string' && (input in breakpoints.Breakpoints || input === 'default');
|
|
1602
|
+
};
|
|
1603
|
+
/**
|
|
1604
|
+
* This function returns true if the input is a string that is a key in the BorderRadius object.
|
|
1605
|
+
*
|
|
1606
|
+
* @param {unknown} input - unknown - This is the input that will be checked.
|
|
1607
|
+
* @returns {boolean} indicating if the input is type of {@link BorderRadiusTokenType}
|
|
1608
|
+
*/
|
|
1609
|
+
const isBorderRadiusTokenType = (input) => {
|
|
1610
|
+
return typeof input === 'string' && input in BorderRadius;
|
|
1611
|
+
};
|
|
1612
|
+
/**
|
|
1613
|
+
* If the input is a string and it's in the Colors array, then it's a ColorsTokenType.
|
|
1614
|
+
*
|
|
1615
|
+
* @param {unknown} input - unknown - This is the input that we're checking.
|
|
1616
|
+
* @returns {boolean} indicating if the input is type of {@link ColorsTokenType}
|
|
1617
|
+
*/
|
|
1618
|
+
const isColorTokenType = (input) => {
|
|
1619
|
+
return typeof input === 'string' && Colors.includes(input);
|
|
1620
|
+
};
|
|
1621
|
+
/**
|
|
1622
|
+
* It returns true if the input is a string that starts with 'border-color-' and is a valid color token type.
|
|
1623
|
+
*
|
|
1624
|
+
* @param {unknown} input - The value to be tested.
|
|
1625
|
+
* @returns {boolean} indicating if the input is {@link BorderColorsTokenType}
|
|
1626
|
+
*/
|
|
1627
|
+
const isBorderColorTokenType = (input) => {
|
|
1628
|
+
return isColorTokenType(input) && /^border-color-.+$/.test(input);
|
|
1629
|
+
};
|
|
1630
|
+
/**
|
|
1631
|
+
* If the input is a string and it's in the Borders array, then it's a BordersTokenType.
|
|
1632
|
+
*
|
|
1633
|
+
* @param {unknown} input - unknown - This is the input that we're checking.
|
|
1634
|
+
* @returns {boolean} indicating if the input is type of {@link BordersTokenType}
|
|
1635
|
+
*/
|
|
1636
|
+
const isBorderTokenType = (input) => {
|
|
1637
|
+
return typeof input === 'string' && Borders.includes(input);
|
|
1638
|
+
};
|
|
1639
|
+
/**
|
|
1640
|
+
* It returns true if the input is a string that starts with `bg-` and is a valid color token type.
|
|
1641
|
+
*
|
|
1642
|
+
* @param {unknown} input - The value to be tested.
|
|
1643
|
+
* @returns {boolean} indicating if the input is {@link BackgroundColorsTokenType}
|
|
1644
|
+
*/
|
|
1645
|
+
const isBackgroundColorTokenType = (input) => {
|
|
1646
|
+
return isColorTokenType(input) && /^bg-.+$/.test(input);
|
|
1647
|
+
};
|
|
1648
|
+
/**
|
|
1649
|
+
* This function returns true if the input is a string that starts with 'text-' and is a valid color token type.
|
|
1650
|
+
*
|
|
1651
|
+
* @param {unknown} input - The value to check.
|
|
1652
|
+
* @returns {boolean} indicating if the input is {@link TextColorsTokenType}
|
|
1653
|
+
*/
|
|
1654
|
+
const isTextColorTokenType = (input) => {
|
|
1655
|
+
return isColorTokenType(input) && /^text-.+$/.test(input);
|
|
1656
|
+
};
|
|
1657
|
+
/**
|
|
1658
|
+
* If the input is a string and it's in the Shadows array, then it's a ShadowsTokenType.
|
|
1659
|
+
*
|
|
1660
|
+
* @param {unknown} input - unknown - This is the input that will be checked.
|
|
1661
|
+
* @returns {boolean} indicating if the input is {@link ShadowsTokenType}
|
|
1662
|
+
*/
|
|
1663
|
+
const isShadowsTokenType = (input) => {
|
|
1664
|
+
return typeof input === 'string' && Shadows.includes(input);
|
|
1665
|
+
};
|
|
1666
|
+
/**
|
|
1667
|
+
* If the input is a number, it must be between 1 and 12. If the input is a string, it must be in the
|
|
1668
|
+
* format of '1-auto' to '12-auto'.
|
|
1669
|
+
*
|
|
1670
|
+
* @param {unknown} input - The input to be tested.
|
|
1671
|
+
* @returns {boolean} indicating if the input is {@link GridColumnsType}
|
|
1672
|
+
*/
|
|
1673
|
+
const isGridColumnsType = (input) => {
|
|
1674
|
+
return ((typeof input === 'string' || typeof input === 'number') && GridColumnsRegex.test(input.toString()));
|
|
1675
|
+
};
|
|
1676
|
+
/**
|
|
1677
|
+
* If the input is a number, it must be between 1 and 12. If the input is a string, it must be in the
|
|
1678
|
+
* format of '1-auto' to '12-auto'.
|
|
1679
|
+
*
|
|
1680
|
+
* @param {unknown} input - The input to be tested.
|
|
1681
|
+
* @returns {boolean} indicating if the input is {@link GridRowsType}
|
|
1682
|
+
*/
|
|
1683
|
+
const isGridRowsType = (input) => {
|
|
1684
|
+
return (typeof input === 'string' || typeof input === 'number') && GridRowsRegex.test(input.toString());
|
|
1685
|
+
};
|
|
1686
|
+
/**
|
|
1687
|
+
* Checks if the input is a valid GridJustifyItemsType value.
|
|
1688
|
+
*
|
|
1689
|
+
* @param {unknown} input - The input to test.
|
|
1690
|
+
* @returns {boolean} indicating if the input is {@link GridJustifyItemsType}
|
|
1691
|
+
*/
|
|
1692
|
+
const isGridJustifyItemsType = (input) => {
|
|
1693
|
+
return typeof input === 'string' && ui.GridJustifyItems.includes(input);
|
|
1694
|
+
};
|
|
1695
|
+
/**
|
|
1696
|
+
* If the input is a string, and that string is a key in the Breakpoints object, then the input is a GridRowType.
|
|
1697
|
+
*
|
|
1698
|
+
* @param {unknown} input - The value that is being checked.
|
|
1699
|
+
* @returns {boolean} indicating if the input is {@link BreakpointsTokenType}
|
|
1700
|
+
*/
|
|
1701
|
+
const isBreakpointsForPrefixType = (input) => {
|
|
1702
|
+
return Object.keys(breakpoints.Breakpoints).includes(input);
|
|
1703
|
+
};
|
|
1704
|
+
/**
|
|
1705
|
+
* If the input is an object with a number property named X and a number property named Y, then it's a TranslocationType.
|
|
1706
|
+
*
|
|
1707
|
+
* @param {unknown} input - The input to check.
|
|
1708
|
+
* @returns {boolean} indicating if the input is {@link TranslocationType}
|
|
1709
|
+
*/
|
|
1710
|
+
const isTranslocationType = (input) => {
|
|
1711
|
+
return (typeof input === 'object' &&
|
|
1712
|
+
input !== null &&
|
|
1713
|
+
(typeof input['X'] === 'number' ||
|
|
1714
|
+
['start', 'center', 'end'].includes(input['X'])) &&
|
|
1715
|
+
(typeof input['Y'] === 'number' ||
|
|
1716
|
+
['start', 'center', 'end'].includes(input['Y'])));
|
|
1717
|
+
};
|
|
1718
|
+
/**
|
|
1719
|
+
* "If the input is an object with a `groupId` property that is a string, and an `element` property that is an object with
|
|
1720
|
+
* a `tagName` property that is `'VEGA-ACCORDION'`, then return true, otherwise return false."
|
|
1721
|
+
*
|
|
1722
|
+
* The above function is a type guard. It's a function that takes an input of type `unknown` and returns a boolean. If the
|
|
1723
|
+
* input is of the type we're looking for, then the function returns `true`, otherwise it returns `false`
|
|
1724
|
+
*
|
|
1725
|
+
* @param {unknown} input - The input to check.
|
|
1726
|
+
* @returns {boolean} indicating if the input is {@link AccordionObserverPayload}
|
|
1727
|
+
*/
|
|
1728
|
+
const isAccordionObserverPayload = (input) => {
|
|
1729
|
+
return (typeof input['groupId'] === 'string' &&
|
|
1730
|
+
input['element'] &&
|
|
1731
|
+
input['element']['tagName'] === 'VEGA-ACCORDION');
|
|
1732
|
+
};
|
|
1733
|
+
/**
|
|
1734
|
+
* If the input is a string and it's in the list of FlexDirections, then it's a FlexDirectionType.
|
|
1735
|
+
*
|
|
1736
|
+
* @param {unknown} input - unknown - This is the input that we want to check.
|
|
1737
|
+
* @returns {boolean} A function that takes an unknown input and returns a boolean.
|
|
1738
|
+
*/
|
|
1739
|
+
const isFlexDirectionType = (input) => {
|
|
1740
|
+
return typeof input === 'string' && ui.FlexDirections.includes(input);
|
|
1741
|
+
};
|
|
1742
|
+
/**
|
|
1743
|
+
* This TypeScript function checks if an input is a valid FlexAlignItemType.
|
|
1744
|
+
*
|
|
1745
|
+
* @param {unknown} input - The input parameter is of type unknown, which means it can be any type of
|
|
1746
|
+
* value. The function is checking if the input is a string and if it is included in the FlexAlignItem
|
|
1747
|
+
* array. If both conditions are true, it returns true, indicating that the input is of type
|
|
1748
|
+
* FlexAlignItemType
|
|
1749
|
+
* @returns {boolean} The function `isFlexAlignItemType` is returning a boolean value. It checks if the `input`
|
|
1750
|
+
* parameter is a string and if it is included in the `FlexAlignItem` array. If both conditions are
|
|
1751
|
+
* true, it returns `true`, indicating that the `input` is of type `FlexAlignItemType`. Otherwise, it
|
|
1752
|
+
* returns `false`.
|
|
1753
|
+
*/
|
|
1754
|
+
const isFlexAlignItemType = (input) => {
|
|
1755
|
+
return typeof input === 'string' && ui.FlexAlignItem.includes(input);
|
|
1756
|
+
};
|
|
1757
|
+
/**
|
|
1758
|
+
* This TypeScript function checks if an input is a valid FlexJustifyContentType.
|
|
1759
|
+
*
|
|
1760
|
+
* @param {unknown} input - The input parameter is of type unknown, which means it can be any type of
|
|
1761
|
+
* value. The function is checking if the input is a string and if it is one of the values in the
|
|
1762
|
+
* FlexJustifyContent array.
|
|
1763
|
+
* @returns {boolean} A boolean value. The function checks if the input is a string and if it is included in the
|
|
1764
|
+
* `FlexJustifyContent` array, and returns `true` if both conditions are met, indicating that the input
|
|
1765
|
+
* is of type `FlexJustifyContentType`. If either condition is not met, the function returns `false`.
|
|
1766
|
+
*/
|
|
1767
|
+
const isFlexJustifyContentType = (input) => {
|
|
1768
|
+
return typeof input === 'string' && ui.FlexJustifyContent.includes(input);
|
|
1769
|
+
};
|
|
1770
|
+
/**
|
|
1771
|
+
* The function `isFlexWrapType` checks if the input is a valid `FlexWrapType` string.
|
|
1772
|
+
*
|
|
1773
|
+
* @param {unknown} input - The `input` parameter in the `isFlexWrapType` function is of type
|
|
1774
|
+
* `unknown`, which means it can be any type of value. The function checks if the input is a string and
|
|
1775
|
+
* if it is included in the `FlexWrap` array.
|
|
1776
|
+
* @returns {boolean} The `isFlexWrapType` function is returning a boolean value. It checks if the `input` is a
|
|
1777
|
+
* string and if it is included in the `FlexWrap` array, which contains valid `FlexWrapType` values. If
|
|
1778
|
+
* both conditions are met, the function returns `true`, indicating that the `input` is of type
|
|
1779
|
+
* `FlexWrapType`. Otherwise, it returns `false`.
|
|
1780
|
+
*/
|
|
1781
|
+
const isFlexWrapType = (input) => {
|
|
1782
|
+
return typeof input === 'string' && ui.FlexWrap.includes(input);
|
|
1783
|
+
};
|
|
1784
|
+
/**
|
|
1785
|
+
* The function `isTextAlignType` checks if the input is a valid `TextAlignType` string.
|
|
1786
|
+
*
|
|
1787
|
+
* @param {unknown} input - The `input` parameter is of type `unknown`, which means it can be any type
|
|
1788
|
+
* of value.
|
|
1789
|
+
* @returns {boolean} The `isTextAlignType` function is returning a boolean value. It checks if the `input` is a
|
|
1790
|
+
* string and if it is included in the `TextAlign` array, which presumably contains valid
|
|
1791
|
+
* `TextAlignType` values. If both conditions are met, the function returns `true`, indicating that the
|
|
1792
|
+
* `input` is of type `TextAlignType`. Otherwise, it returns `false
|
|
1793
|
+
*/
|
|
1794
|
+
const isTextAlignType = (input) => {
|
|
1795
|
+
return typeof input === 'string' && ui.TextAlign.includes(input);
|
|
1796
|
+
};
|
|
1797
|
+
/**
|
|
1798
|
+
* It takes an array of unknowns and a type guard function, and returns a type guard function that
|
|
1799
|
+
* returns true if the input is an array of the type that the type guard function guards
|
|
1800
|
+
*
|
|
1801
|
+
* @param {unknown} input - unknown - the input to check
|
|
1802
|
+
* @param {Function} itemTypeGuard - (item: unknown) => item is T
|
|
1803
|
+
* @returns {boolean} A function that takes two arguments, input and itemTypeGuard.
|
|
1804
|
+
*/
|
|
1805
|
+
const isArrayOfType = (input, itemTypeGuard) => {
|
|
1806
|
+
return Array.isArray(input) && input.every(itemTypeGuard);
|
|
1807
|
+
};
|
|
1808
|
+
/**
|
|
1809
|
+
* If the input is an object with a label and key property, then it's a DropdownSourceItem.
|
|
1810
|
+
*
|
|
1811
|
+
* @param {unknown} input - The input to check.
|
|
1812
|
+
* @returns {boolean} A function that takes in an unknown input and returns a boolean.
|
|
1813
|
+
*/
|
|
1814
|
+
const isDropdownSourceItemType = (input) => {
|
|
1815
|
+
return (typeof input === 'object' &&
|
|
1816
|
+
Object.prototype.hasOwnProperty.call(input, 'label') &&
|
|
1817
|
+
Object.prototype.hasOwnProperty.call(input, 'key'));
|
|
1818
|
+
};
|
|
1819
|
+
/**
|
|
1820
|
+
* If the input is an object with an id and displayName property, then it's a SelectSourceItem.
|
|
1821
|
+
*
|
|
1822
|
+
* @param {unknown} input - The input to check.
|
|
1823
|
+
* @returns {boolean} A function that takes an input and returns a boolean.
|
|
1824
|
+
*/
|
|
1825
|
+
const isSelectSourceItemType = (input) => {
|
|
1826
|
+
return (typeof input === 'object' &&
|
|
1827
|
+
Object.prototype.hasOwnProperty.call(input, 'id') &&
|
|
1828
|
+
Object.prototype.hasOwnProperty.call(input, 'displayName'));
|
|
1829
|
+
};
|
|
1830
|
+
/**
|
|
1831
|
+
* The function `isBoxDisplayType` checks if the input is a valid BoxDisplayType.
|
|
1832
|
+
*
|
|
1833
|
+
* @param {unknown} input - The input parameter is of type unknown, which means it can be any type.
|
|
1834
|
+
* @returns {boolean} a boolean value.
|
|
1835
|
+
*/
|
|
1836
|
+
const isBoxDisplayType = (input) => {
|
|
1837
|
+
return typeof input === 'string' && ui.BoxDisplay.includes(input);
|
|
1838
|
+
};
|
|
1839
|
+
/**
|
|
1840
|
+
* Check if the input is not null and undefined
|
|
1841
|
+
*
|
|
1842
|
+
* @param {Nullable} input - the value
|
|
1843
|
+
* @returns {boolean} return true if the input is not null and undefined
|
|
1844
|
+
*/
|
|
1845
|
+
const isNonNullable = (input) => {
|
|
1846
|
+
return input !== null && input !== undefined;
|
|
1847
|
+
};
|
|
1848
|
+
/**
|
|
1849
|
+
* The function `isTypographyTokenType` checks if the input is a string and if it is one of the predefined TypographyTokenType values.
|
|
1850
|
+
*
|
|
1851
|
+
* @param {unknown} input - The input parameter is of type unknown, which means it can be any type.
|
|
1852
|
+
* @returns {boolean} a boolean value.
|
|
1853
|
+
*/
|
|
1854
|
+
const isTypographyTokenType = (input) => {
|
|
1855
|
+
return typeof input === 'string' && typography.TypographyKeys.includes(input);
|
|
1856
|
+
};
|
|
1857
|
+
/**
|
|
1858
|
+
* The function `isBorderStyleType` checks if the input is a valid BorderStyleType string.
|
|
1859
|
+
*
|
|
1860
|
+
* @param {unknown} input - The `input` parameter is of type `unknown`, which means it can be any type
|
|
1861
|
+
* of value. The `isBorderStyleType` function is a type guard function that checks if the `input` is of
|
|
1862
|
+
* type `BorderStyleType`.
|
|
1863
|
+
* @returns {boolean} The `isBorderStyleType` function is returning a boolean value. It checks if the `input` is
|
|
1864
|
+
* of type `BorderStyleType` by verifying if it is a string and if it is included in the `BorderStyle`
|
|
1865
|
+
* array. If the condition is met, it returns `true`, indicating that the `input` is of type
|
|
1866
|
+
* `BorderStyleType`. Otherwise, it returns `false`.
|
|
1867
|
+
*/
|
|
1868
|
+
const isBorderStyleType = (input) => {
|
|
1869
|
+
return typeof input === 'string' && ui.BorderStyle.includes(input);
|
|
1870
|
+
};
|
|
1871
|
+
/**
|
|
1872
|
+
* The function `isBorderRadiusDirectionType` checks if the input is a valid `BorderRadiusDirection` type.
|
|
1873
|
+
*
|
|
1874
|
+
* @param {unknown} input - The `input` parameter in the `isBorderRadiusDirectionType` function is of
|
|
1875
|
+
* type `unknown`, which means it can be any type of value. The function checks if the input is a
|
|
1876
|
+
* string and if it matches one of the specified values in the array ['top', 'left', 'right
|
|
1877
|
+
* @returns {boolean} The function `isBorderRadiusDirectionType` is returning a boolean value indicating whether
|
|
1878
|
+
* the `input` is of type `BorderRadiusDirection` or not.
|
|
1879
|
+
*/
|
|
1880
|
+
const isBorderRadiusDirectionType = (input) => {
|
|
1881
|
+
return (typeof input === 'string' &&
|
|
1882
|
+
['top', 'right', 'bottom', 'left', 'top-left', 'top-right', 'bottom-left', 'bottom-right'].includes(input));
|
|
1883
|
+
};
|
|
1884
|
+
/**
|
|
1885
|
+
* The function `isDirectionalBorderRadiusType` checks if the input object conforms to the
|
|
1886
|
+
* `DirectionalBorderRadiusType` type.
|
|
1887
|
+
*
|
|
1888
|
+
* @param {unknown} input - The `input` parameter in the `isDirectionalBorderRadiusType` function is of
|
|
1889
|
+
* type `unknown`, which means it can be any type of value. The function is checking if the input is a
|
|
1890
|
+
* valid `DirectionalBorderRadiusType` by verifying that it is an object, not null,
|
|
1891
|
+
* @returns {boolean} The function `isDirectionalBorderRadiusType` is returning a boolean value.
|
|
1892
|
+
*/
|
|
1893
|
+
const isDirectionalBorderRadiusType = (input) => {
|
|
1894
|
+
return (typeof input === 'object' &&
|
|
1895
|
+
input !== null &&
|
|
1896
|
+
Object.keys(input).every(isBorderRadiusDirectionType) &&
|
|
1897
|
+
Object.values(input).every((value) => value in BorderRadius));
|
|
1898
|
+
};
|
|
1899
|
+
/**
|
|
1900
|
+
* The function `isStateVariantTokenType` checks if the input is an object with keys that are all of
|
|
1901
|
+
* type `CssStatesType`.
|
|
1902
|
+
*
|
|
1903
|
+
* @param {unknown} input - The `input` parameter is a value of type `unknown`, which means it can be
|
|
1904
|
+
* any type of value in TypeScript.
|
|
1905
|
+
* @returns {boolean} The `isStateVariantTokenType` function is returning a boolean value. It checks if the
|
|
1906
|
+
* `input` is an object that is not null and if all the keys of the object pass the `isCssStateType`
|
|
1907
|
+
* check. If these conditions are met, it returns `true`, indicating that the `input` is of type
|
|
1908
|
+
* `StateVariantType<T, CssStatesType>`. Otherwise, it
|
|
1909
|
+
*/
|
|
1910
|
+
const isStateVariantTokenType = (input) => {
|
|
1911
|
+
return typeof input === 'object' && input !== null && Object.keys(input).every(isCssStateType);
|
|
1912
|
+
};
|
|
1913
|
+
/**
|
|
1914
|
+
* The function `isCssStateType` checks if the input is a valid CSS state type by verifying if it is a
|
|
1915
|
+
* string and included in a predefined list of CSS states.
|
|
1916
|
+
*
|
|
1917
|
+
* @param {CssStatesType} input - The `input` parameter in the `isCssStateType` function is of type
|
|
1918
|
+
* `CssStatesType`.
|
|
1919
|
+
* @returns {boolean} The function `isCssStateType` is returning a boolean value.
|
|
1920
|
+
*/
|
|
1921
|
+
const isCssStateType = (input) => {
|
|
1922
|
+
return typeof input === 'string' && ui.CssStates.includes(input);
|
|
1923
|
+
};
|
|
1924
|
+
/**
|
|
1925
|
+
* Checks that the provided value is a non-null object with at least the
|
|
1926
|
+
* required grouping-model properties (`key` and `label`) and that `label`
|
|
1927
|
+
* is a string.
|
|
1928
|
+
*
|
|
1929
|
+
* @param {unknown} input - Value to test.
|
|
1930
|
+
* @returns {input is VegaTableColumnGroupingModel} True when input matches the grouping model shape.
|
|
1931
|
+
*/
|
|
1932
|
+
const isVegaTableColumnGroupingModelType = (input) => {
|
|
1933
|
+
return (typeof input === 'object' &&
|
|
1934
|
+
input !== null &&
|
|
1935
|
+
'key' in input &&
|
|
1936
|
+
'label' in input &&
|
|
1937
|
+
typeof input.label === 'string');
|
|
1938
|
+
};
|
|
1939
|
+
/**
|
|
1940
|
+
* Check is calendar date type
|
|
1941
|
+
*
|
|
1942
|
+
* @param {unknown} input - Value to test.
|
|
1943
|
+
* @returns {input is CalendarDate} True when input matches the calendar date type.
|
|
1944
|
+
*/
|
|
1945
|
+
const isCalendarDateType = (input) => {
|
|
1946
|
+
return input instanceof CalendarDate;
|
|
1947
|
+
};
|
|
1948
|
+
/**
|
|
1949
|
+
* Type guard to check if the provided instance implements the VegaEATriggerStrategy interface
|
|
1950
|
+
*
|
|
1951
|
+
* @param {unknown} instance - The instance to check.
|
|
1952
|
+
* @returns {instance is VegaEATriggerStrategy} True if the instance implements VegaEATriggerStrategy.
|
|
1953
|
+
*/
|
|
1954
|
+
const isEATriggerStrategy = (instance) => {
|
|
1955
|
+
return (!!instance &&
|
|
1956
|
+
typeof instance.evaluate === 'function' &&
|
|
1957
|
+
typeof instance.canEvaluate === 'function');
|
|
1958
|
+
};
|
|
1959
|
+
|
|
1960
|
+
exports.AmexRegex = AmexRegex;
|
|
1961
|
+
exports.BackgroundColorMap = BackgroundColorMap;
|
|
1962
|
+
exports.BackgroundColors = BackgroundColors;
|
|
1963
|
+
exports.BorderColorMap = BorderColorMap;
|
|
1964
|
+
exports.BorderColors = BorderColors;
|
|
1965
|
+
exports.BorderMap = BorderMap;
|
|
1966
|
+
exports.BorderRadius = BorderRadius;
|
|
1967
|
+
exports.Borders = Borders;
|
|
1968
|
+
exports.CalendarDate = CalendarDate;
|
|
1969
|
+
exports.CalendarDateTime = CalendarDateTime;
|
|
1970
|
+
exports.CalendarTime = CalendarTime;
|
|
1971
|
+
exports.Colors = Colors;
|
|
1972
|
+
exports.DayPeriod = DayPeriod;
|
|
1973
|
+
exports.DiscoverRegex = DiscoverRegex;
|
|
1974
|
+
exports.FillBackgroundColors = FillBackgroundColors;
|
|
1975
|
+
exports.MasterCardRegex = MasterCardRegex;
|
|
1976
|
+
exports.MonthPeriod = MonthPeriod;
|
|
1977
|
+
exports.ShadowMap = ShadowMap;
|
|
1978
|
+
exports.Shadows = Shadows;
|
|
1979
|
+
exports.Spacing = Spacing;
|
|
1980
|
+
exports.StateBackgroundColorFormatter = StateBackgroundColorFormatter$1;
|
|
1981
|
+
exports.StateVariantFormatter = StateVariantFormatter;
|
|
1982
|
+
exports.StrokeBackgroundColors = StrokeBackgroundColors;
|
|
1983
|
+
exports.TextColorMap = TextColorMap;
|
|
1984
|
+
exports.TextColors = TextColors;
|
|
1985
|
+
exports.VisaRegex = VisaRegex;
|
|
1986
|
+
exports.WEEKDAYS_SHORT = WEEKDAYS_SHORT;
|
|
1987
|
+
exports.WeekPeriod = WeekPeriod;
|
|
1988
|
+
exports.buildDatePickerAnnouncement = buildDatePickerAnnouncement;
|
|
1989
|
+
exports.compareIsAfter = compareIsAfter;
|
|
1990
|
+
exports.compareIsBefore = compareIsBefore;
|
|
1991
|
+
exports.compareIsSameOrBefore = compareIsSameOrBefore;
|
|
1992
|
+
exports.convert12HourTo24HourFormat = convert12HourTo24HourFormat;
|
|
1993
|
+
exports.getCalendarEventSlotName = getCalendarEventSlotName;
|
|
1994
|
+
exports.getClosestWorkday = getClosestWorkday;
|
|
1995
|
+
exports.getEventStatusBgColorStyle = getEventStatusBgColorStyle;
|
|
1996
|
+
exports.getSystemTimezone = getSystemTimezone;
|
|
1997
|
+
exports.getTimeIndex = getTimeIndex;
|
|
1998
|
+
exports.getWeekdays = getWeekdays;
|
|
1999
|
+
exports.isAccordionObserverPayload = isAccordionObserverPayload;
|
|
2000
|
+
exports.isArrayOfType = isArrayOfType;
|
|
2001
|
+
exports.isBackgroundColorTokenType = isBackgroundColorTokenType;
|
|
2002
|
+
exports.isBorderColorTokenType = isBorderColorTokenType;
|
|
2003
|
+
exports.isBorderRadiusTokenType = isBorderRadiusTokenType;
|
|
2004
|
+
exports.isBorderStyleType = isBorderStyleType;
|
|
2005
|
+
exports.isBorderTokenType = isBorderTokenType;
|
|
2006
|
+
exports.isBoxDisplayType = isBoxDisplayType;
|
|
2007
|
+
exports.isBreakpointsForPrefixType = isBreakpointsForPrefixType;
|
|
2008
|
+
exports.isBreakpointsTokenType = isBreakpointsTokenType;
|
|
2009
|
+
exports.isCalendarDateType = isCalendarDateType;
|
|
2010
|
+
exports.isDateStr = isDateStr;
|
|
2011
|
+
exports.isDirectionalBorderRadiusType = isDirectionalBorderRadiusType;
|
|
2012
|
+
exports.isDirectionalSpacingType = isDirectionalSpacingType;
|
|
2013
|
+
exports.isDropdownSourceItemType = isDropdownSourceItemType;
|
|
2014
|
+
exports.isEATriggerStrategy = isEATriggerStrategy;
|
|
2015
|
+
exports.isFlexAlignItemType = isFlexAlignItemType;
|
|
2016
|
+
exports.isFlexDirectionType = isFlexDirectionType;
|
|
2017
|
+
exports.isFlexJustifyContentType = isFlexJustifyContentType;
|
|
2018
|
+
exports.isFlexWrapType = isFlexWrapType;
|
|
2019
|
+
exports.isGridColumnsType = isGridColumnsType;
|
|
2020
|
+
exports.isGridJustifyItemsType = isGridJustifyItemsType;
|
|
2021
|
+
exports.isGridRowsType = isGridRowsType;
|
|
2022
|
+
exports.isNonNullable = isNonNullable;
|
|
2023
|
+
exports.isResponsiveType = isResponsiveType;
|
|
2024
|
+
exports.isSelectSourceItemType = isSelectSourceItemType;
|
|
2025
|
+
exports.isShadowsTokenType = isShadowsTokenType;
|
|
2026
|
+
exports.isSpacingTokenType = isSpacingTokenType;
|
|
2027
|
+
exports.isTextAlignType = isTextAlignType;
|
|
2028
|
+
exports.isTextColorTokenType = isTextColorTokenType;
|
|
2029
|
+
exports.isTimeStr = isTimeStr;
|
|
2030
|
+
exports.isTranslocationType = isTranslocationType;
|
|
2031
|
+
exports.isTypographyTokenType = isTypographyTokenType;
|
|
2032
|
+
exports.isVegaTableColumnGroupingModelType = isVegaTableColumnGroupingModelType;
|
|
2033
|
+
exports.pad = pad;
|