@globalpayments/vega 2.86.0-beta.0 → 2.87.0-beta.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/{app-globals-844163e7.js → app-globals-a6271a58.js} +11 -11
- package/dist/cjs/{child-nodes-event-prevent-slimmer-f3979a03.js → child-nodes-event-prevent-slimmer-d04eaffc.js} +1 -1
- package/dist/cjs/{code-block-0ec03cd3.js → code-block-8855ce20.js} +1 -1
- package/dist/cjs/{component-usage-runtime-metrics-4572c5b7.js → component-usage-runtime-metrics-389d1548.js} +1 -1
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-b243e1e3.js → component-value-history-controller-slimmer.abstract-487eba5f.js} +3 -3
- package/dist/cjs/{content-state-8898e96d.js → content-state-71df26bc.js} +2 -2
- package/dist/cjs/{create-public-api-runtime-metrics-slimmer-9cb09fb2.js → create-public-api-runtime-metrics-slimmer-122350c3.js} +1 -1
- package/dist/cjs/{date-required-rule-0dd83683.js → date-required-rule-1fa16774.js} +1 -1
- package/dist/cjs/{design-token-4b3509dd.js → design-token-514f0a48.js} +3 -3
- package/dist/cjs/{element-appender-slimmer-2355d6f6.js → element-appender-slimmer-a399a2b4.js} +3 -3
- package/dist/cjs/{feature-flag-controller-9129ef52.js → feature-flag-controller-5fa21654.js} +1 -1
- package/dist/cjs/{form-field-controller-slimmer-595f4138.js → form-field-controller-slimmer-95e39415.js} +1 -1
- package/dist/cjs/{icon-manager-c12c6ea9.js → icon-manager-e855446d.js} +1 -1
- package/dist/cjs/{image-annotation-action-37434c42.js → image-annotation-action-de9ea6fe.js} +3 -3
- package/dist/cjs/index.cjs.js +20 -20
- package/dist/cjs/{inject-keyboard-manager-98ae7ce1.js → inject-keyboard-manager-c40fc223.js} +1 -1
- package/dist/cjs/{internal-icon-manager-c989189a.js → internal-icon-manager-66c48800.js} +1 -1
- package/dist/cjs/{internal-translation-controller-8360a89c.js → internal-translation-controller-df8d3728.js} +4 -0
- package/dist/cjs/{keyboard-manager-d3cc662c.js → keyboard-manager-32f720fe.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-3824781d.js → keyboard-manager-slimmer-2f0a5145.js} +1 -1
- package/dist/cjs/loader.cjs.js +14 -14
- package/dist/cjs/{month-view-generator-41b6c6b6.js → month-view-generator-48f8ad07.js} +1 -1
- package/dist/cjs/{public-rules-60e4dfda.js → public-rules-f9a0910c.js} +7 -7
- package/dist/cjs/{range-a6c15539.js → range-b60eea23.js} +1 -1
- package/dist/cjs/{responsive-format-facade-5f6cd211.js → responsive-format-facade-d8605493.js} +2 -2
- package/dist/cjs/{rich-text-editor-required-rule-f69c62ea.js → rich-text-editor-required-rule-980f64a3.js} +1 -1
- package/dist/cjs/{split-cell-operation-7920e3a1.js → split-cell-operation-d1ea2acb.js} +4 -4
- package/dist/cjs/{state-border-formatter-d1c80c1d.js → state-border-formatter-6d647199.js} +1 -1
- package/dist/cjs/{string-format-strategy.abstract-b39da0dd.js → string-format-strategy.abstract-54ec0c41.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-fd2fb154.js → string-input-formatter-slimmer-a32cae65.js} +1 -1
- package/dist/cjs/{string-mask-strategy-524d0f69.js → string-mask-strategy-c5174484.js} +2 -2
- package/dist/cjs/{style-formatter-c201e7d0.js → style-formatter-8de53cdb.js} +2 -2
- package/dist/cjs/{time-required-rule-ecb45905.js → time-required-rule-51c21042.js} +1 -1
- package/dist/cjs/{token-extension-364972cd.js → token-extension-f66fbf99.js} +7 -7
- package/dist/cjs/{translation-slimmer-3cd7d3b2.js → translation-slimmer-96c518cd.js} +1 -1
- package/dist/cjs/{type-guard-2e97fc56.js → type-guard-2c1ef8c7.js} +1 -1
- package/dist/cjs/{valid-credit-card-number-rule-2d7d20ce.js → valid-credit-card-number-rule-772a3763.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +30 -12
- package/dist/cjs/vega-app-footer.cjs.entry.js +1 -1
- package/dist/cjs/vega-app-header-button.cjs.entry.js +12 -12
- package/dist/cjs/vega-backdrop.cjs.entry.js +1 -1
- package/dist/cjs/vega-banner.cjs.entry.js +6 -6
- package/dist/cjs/vega-bar-chart.cjs.entry.js +1 -1
- package/dist/cjs/vega-box.cjs.entry.js +9 -9
- package/dist/cjs/vega-brand-logo.cjs.entry.js +4 -4
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +4 -4
- package/dist/cjs/vega-button-circle.cjs.entry.js +9 -9
- package/dist/cjs/vega-button-group_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-button-link.cjs.entry.js +4 -4
- package/dist/cjs/vega-button.cjs.entry.js +7 -7
- package/dist/cjs/vega-calendar_4.cjs.entry.js +11 -11
- package/dist/cjs/vega-card.cjs.entry.js +8 -8
- package/dist/cjs/vega-carousel.cjs.entry.js +6 -6
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-chip.cjs.entry.js +9 -9
- package/dist/cjs/vega-code-block.cjs.entry.js +15 -15
- package/dist/cjs/vega-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/vega-color-swatch-picker.cjs.entry.js +10 -10
- package/dist/cjs/vega-color-swatch.cjs.entry.js +3 -3
- package/dist/cjs/vega-combo-box.cjs.entry.js +9 -9
- package/dist/cjs/vega-counter-badge.cjs.entry.js +1 -1
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/{vega-dialog-controller-03ef4d9a.js → vega-dialog-controller-6df7825e.js} +1 -1
- package/dist/cjs/vega-dialog_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-divider.cjs.entry.js +8 -8
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +11 -11
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-field-error.cjs.entry.js +1 -1
- package/dist/cjs/vega-field-label.cjs.entry.js +1 -1
- package/dist/cjs/vega-file-uploader.cjs.entry.js +7 -7
- package/dist/cjs/vega-flag-icon.cjs.entry.js +11 -11
- 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 +7 -7
- package/dist/cjs/vega-grid.cjs.entry.js +8 -8
- package/dist/cjs/vega-hint.cjs.entry.js +1 -1
- package/dist/cjs/vega-icon.cjs.entry.js +10 -10
- package/dist/cjs/vega-image-uploader.cjs.entry.js +11 -11
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +13 -13
- package/dist/cjs/vega-input-numeric.cjs.entry.js +9 -9
- package/dist/cjs/vega-input-passcode.cjs.entry.js +9 -9
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +11 -11
- package/dist/cjs/vega-input-range.cjs.entry.js +7 -7
- package/dist/cjs/vega-input-select.cjs.entry.js +12 -12
- package/dist/cjs/vega-input.cjs.entry.js +10 -10
- package/dist/cjs/vega-item-toggle.cjs.entry.js +1 -1
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +13 -13
- package/dist/cjs/vega-line-chart.cjs.entry.js +2 -2
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +1 -1
- package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +4 -4
- package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +3 -3
- package/dist/cjs/vega-pagination.cjs.entry.js +8 -8
- package/dist/cjs/vega-pie-chart.cjs.entry.js +1 -1
- package/dist/cjs/vega-popover_2.cjs.entry.js +11 -11
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-radio_2.cjs.entry.js +9 -9
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +9 -9
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +19 -19
- package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +15 -15
- package/dist/cjs/vega-section-title.cjs.entry.js +1 -1
- package/dist/cjs/vega-segment-control.cjs.entry.js +1 -1
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +9 -9
- package/dist/cjs/vega-signature-capture.cjs.entry.js +13 -13
- package/dist/cjs/vega-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/vega-slot-container.cjs.entry.js +1 -1
- package/dist/cjs/vega-stepper.cjs.entry.js +6 -6
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-table_11.cjs.entry.js +11 -11
- package/dist/cjs/vega-text.cjs.entry.js +1 -1
- package/dist/cjs/vega-textarea.cjs.entry.js +6 -6
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +13 -13
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +9 -9
- package/dist/cjs/vega.cjs.js +14 -14
- package/dist/collection/components/vega-accordion/slimmers/vega-accordion-renderer.js +14 -1
- package/dist/collection/components/vega-accordion/vega-accordion.js +5 -0
- package/dist/collection/global/scripts/before-vega-load.js +1 -1
- package/dist/collection/helpers/feature-control/feature-flag-controller.js +1 -1
- package/dist/collection/helpers/slimmers/component-usage-runtime-metrics.js +1 -1
- package/dist/collection/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.js +1 -1
- package/dist/collection/helpers/translation/locales/en.js +4 -0
- package/dist/collection/polyfill/d3/d3-time-format-polyfill.js +1 -1
- package/dist/esm/{app-globals-c5b58e3c.js → app-globals-265fcdbc.js} +11 -11
- package/dist/esm/{child-nodes-event-prevent-slimmer-75f93d85.js → child-nodes-event-prevent-slimmer-a1266ec2.js} +1 -1
- package/dist/esm/{code-block-3af53bbb.js → code-block-f9e55f6c.js} +1 -1
- package/dist/esm/{component-usage-runtime-metrics-46020a03.js → component-usage-runtime-metrics-4b1afd04.js} +1 -1
- package/dist/esm/{component-value-history-controller-slimmer.abstract-7f35b770.js → component-value-history-controller-slimmer.abstract-27448796.js} +3 -3
- package/dist/esm/{content-state-b3d319b4.js → content-state-8cf47f00.js} +2 -2
- package/dist/esm/{create-public-api-runtime-metrics-slimmer-aaadaa08.js → create-public-api-runtime-metrics-slimmer-da6615bf.js} +1 -1
- package/dist/esm/{date-required-rule-a84c21d4.js → date-required-rule-8c4c975c.js} +1 -1
- package/dist/esm/{design-token-57de4f4f.js → design-token-d0627261.js} +3 -3
- package/dist/esm/{element-appender-slimmer-b20308aa.js → element-appender-slimmer-fcb459a0.js} +3 -3
- package/dist/esm/{feature-flag-controller-30f7b625.js → feature-flag-controller-5ebc0cec.js} +1 -1
- package/dist/esm/{form-field-controller-slimmer-4c1976c9.js → form-field-controller-slimmer-18bbfc1a.js} +1 -1
- package/dist/esm/{icon-manager-539d7cf7.js → icon-manager-691c8682.js} +1 -1
- package/dist/esm/{image-annotation-action-0287d7f6.js → image-annotation-action-d43ab271.js} +3 -3
- package/dist/esm/index.js +20 -20
- package/dist/esm/{inject-keyboard-manager-2ec31cf2.js → inject-keyboard-manager-af4ae60e.js} +1 -1
- package/dist/esm/{internal-icon-manager-bd80b3bb.js → internal-icon-manager-276f968f.js} +1 -1
- package/dist/esm/{internal-translation-controller-d7dee4a0.js → internal-translation-controller-18b9070e.js} +4 -0
- package/dist/esm/{keyboard-manager-394883fe.js → keyboard-manager-0c6ad52a.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-71d1c602.js → keyboard-manager-slimmer-1479c490.js} +1 -1
- package/dist/esm/loader.js +14 -14
- package/dist/esm/{month-view-generator-70c597a6.js → month-view-generator-f8aac785.js} +1 -1
- package/dist/esm/{public-rules-ae0099c8.js → public-rules-413db36c.js} +7 -7
- package/dist/esm/{range-dfb5388f.js → range-6be16f3a.js} +1 -1
- package/dist/esm/{responsive-format-facade-456a9f16.js → responsive-format-facade-c0801780.js} +2 -2
- package/dist/esm/{rich-text-editor-required-rule-cfc7aef8.js → rich-text-editor-required-rule-99260118.js} +1 -1
- package/dist/esm/{split-cell-operation-8045ac1d.js → split-cell-operation-a144ff33.js} +4 -4
- package/dist/esm/{state-border-formatter-afac8d33.js → state-border-formatter-39a4831a.js} +1 -1
- package/dist/esm/{string-format-strategy.abstract-f9907969.js → string-format-strategy.abstract-0125337f.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-27ef1fc6.js → string-input-formatter-slimmer-17ddd6c8.js} +1 -1
- package/dist/esm/{string-mask-strategy-5f655300.js → string-mask-strategy-a7384963.js} +2 -2
- package/dist/esm/{style-formatter-ee52d8d0.js → style-formatter-80825302.js} +2 -2
- package/dist/esm/{time-required-rule-db873c19.js → time-required-rule-23692991.js} +1 -1
- package/dist/esm/{token-extension-3c07558d.js → token-extension-2b778fdf.js} +7 -7
- package/dist/esm/{translation-slimmer-5e2bff5f.js → translation-slimmer-daf97b4b.js} +1 -1
- package/dist/esm/{type-guard-adc244fd.js → type-guard-78c4233f.js} +1 -1
- package/dist/esm/{valid-credit-card-number-rule-a826dd49.js → valid-credit-card-number-rule-3fdaa507.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +30 -12
- package/dist/esm/vega-app-footer.entry.js +1 -1
- package/dist/esm/vega-app-header-button.entry.js +12 -12
- package/dist/esm/vega-backdrop.entry.js +1 -1
- package/dist/esm/vega-banner.entry.js +6 -6
- package/dist/esm/vega-bar-chart.entry.js +1 -1
- package/dist/esm/vega-box.entry.js +9 -9
- package/dist/esm/vega-brand-logo.entry.js +4 -4
- package/dist/esm/vega-breadcrumb.entry.js +4 -4
- package/dist/esm/vega-button-circle.entry.js +9 -9
- package/dist/esm/vega-button-group_2.entry.js +4 -4
- package/dist/esm/vega-button-link.entry.js +4 -4
- package/dist/esm/vega-button.entry.js +7 -7
- package/dist/esm/vega-calendar_4.entry.js +11 -11
- package/dist/esm/vega-card.entry.js +8 -8
- package/dist/esm/vega-carousel.entry.js +6 -6
- package/dist/esm/vega-checkbox_2.entry.js +6 -6
- package/dist/esm/vega-chip.entry.js +9 -9
- package/dist/esm/vega-code-block.entry.js +15 -15
- package/dist/esm/vega-color-picker.entry.js +3 -3
- package/dist/esm/vega-color-swatch-picker.entry.js +10 -10
- package/dist/esm/vega-color-swatch.entry.js +3 -3
- package/dist/esm/vega-combo-box.entry.js +9 -9
- package/dist/esm/vega-counter-badge.entry.js +1 -1
- package/dist/esm/vega-date-picker_2.entry.js +20 -20
- package/dist/esm/{vega-dialog-controller-bbb2fc52.js → vega-dialog-controller-389e7f7c.js} +1 -1
- package/dist/esm/vega-dialog_2.entry.js +7 -7
- package/dist/esm/vega-divider.entry.js +8 -8
- package/dist/esm/vega-dropdown_5.entry.js +11 -11
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-field-error.entry.js +1 -1
- package/dist/esm/vega-field-label.entry.js +1 -1
- package/dist/esm/vega-file-uploader.entry.js +7 -7
- package/dist/esm/vega-flag-icon.entry.js +11 -11
- 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 +7 -7
- package/dist/esm/vega-grid.entry.js +8 -8
- package/dist/esm/vega-hint.entry.js +1 -1
- package/dist/esm/vega-icon.entry.js +10 -10
- package/dist/esm/vega-image-uploader.entry.js +11 -11
- package/dist/esm/vega-input-credit-card.entry.js +13 -13
- package/dist/esm/vega-input-numeric.entry.js +9 -9
- package/dist/esm/vega-input-passcode.entry.js +9 -9
- package/dist/esm/vega-input-phone-number.entry.js +11 -11
- package/dist/esm/vega-input-range.entry.js +7 -7
- package/dist/esm/vega-input-select.entry.js +12 -12
- package/dist/esm/vega-input.entry.js +10 -10
- package/dist/esm/vega-item-toggle.entry.js +1 -1
- package/dist/esm/vega-left-nav_5.entry.js +13 -13
- package/dist/esm/vega-line-chart.entry.js +2 -2
- package/dist/esm/vega-loader-wrapper_2.entry.js +6 -6
- package/dist/esm/vega-page-notification_2.entry.js +1 -1
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +4 -4
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +3 -3
- package/dist/esm/vega-pagination.entry.js +8 -8
- package/dist/esm/vega-pie-chart.entry.js +1 -1
- package/dist/esm/vega-popover_2.entry.js +11 -11
- package/dist/esm/vega-progress-tracker_2.entry.js +6 -6
- package/dist/esm/vega-radio_2.entry.js +9 -9
- package/dist/esm/vega-rich-text-content.entry.js +9 -9
- package/dist/esm/vega-rich-text-editor_4.entry.js +19 -19
- package/dist/esm/vega-rich-text-table-properties_3.entry.js +15 -15
- package/dist/esm/vega-section-title.entry.js +1 -1
- package/dist/esm/vega-segment-control.entry.js +1 -1
- package/dist/esm/vega-selection-chip_2.entry.js +8 -8
- package/dist/esm/vega-selection-tile_2.entry.js +6 -6
- package/dist/esm/vega-sidenav_3.entry.js +9 -9
- package/dist/esm/vega-signature-capture.entry.js +13 -13
- package/dist/esm/vega-skeleton.entry.js +1 -1
- package/dist/esm/vega-slot-container.entry.js +1 -1
- package/dist/esm/vega-stepper.entry.js +6 -6
- package/dist/esm/vega-tab-group_2.entry.js +4 -4
- package/dist/esm/vega-table_11.entry.js +11 -11
- package/dist/esm/vega-text.entry.js +1 -1
- package/dist/esm/vega-textarea.entry.js +6 -6
- package/dist/esm/vega-time-picker_2.entry.js +13 -13
- package/dist/esm/vega-toggle-switch.entry.js +3 -3
- package/dist/esm/vega-tooltip_2.entry.js +9 -9
- package/dist/esm/vega.js +14 -14
- package/dist/sri/vega-sri-manifest.json +380 -380
- package/dist/types/components/vega-accordion/slimmers/vega-accordion-renderer.d.ts +2 -0
- package/dist/types/components/vega-accordion/vega-accordion.d.ts +2 -0
- package/dist/types/helpers/translation/interface.d.ts +4 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-c95dbf11.js → p-0177417f.js} +1 -1
- package/dist/vega/{p-d8180e42.entry.js → p-018756ad.entry.js} +1 -1
- package/dist/vega/{p-becddd0b.js → p-028329be.js} +1 -1
- package/dist/vega/{p-97f9ad6c.js → p-047d7881.js} +1 -1
- package/dist/vega/{p-a3e40e66.entry.js → p-05140666.entry.js} +1 -1
- package/dist/vega/{p-7931e6e6.entry.js → p-073d8581.entry.js} +1 -1
- package/dist/vega/{p-87ddb52c.entry.js → p-09af8a35.entry.js} +1 -1
- package/dist/vega/p-0fc93a05.js +1 -0
- package/dist/vega/{p-91f82047.entry.js → p-1163a68c.entry.js} +1 -1
- package/dist/vega/{p-63b585de.entry.js → p-11757645.entry.js} +1 -1
- package/dist/vega/{p-2c1a85dd.entry.js → p-1250b1ab.entry.js} +1 -1
- package/dist/vega/{p-8283bf6e.entry.js → p-1663d2ac.entry.js} +1 -1
- package/dist/vega/{p-e6adf829.js → p-1704ff25.js} +1 -1
- package/dist/vega/{p-e4fdccb9.entry.js → p-1868d138.entry.js} +1 -1
- package/dist/vega/{p-0bb0b521.entry.js → p-1960a4f9.entry.js} +1 -1
- package/dist/vega/{p-2c8a205d.js → p-1aee9480.js} +1 -1
- package/dist/vega/{p-21919f19.entry.js → p-1b2e4a2d.entry.js} +1 -1
- package/dist/vega/{p-a46e977b.entry.js → p-1be90bab.entry.js} +1 -1
- package/dist/vega/{p-1a869f0e.js → p-1c5bf527.js} +1 -1
- package/dist/vega/{p-758f9809.entry.js → p-1e3ecefb.entry.js} +1 -1
- package/dist/vega/{p-cfede0b1.entry.js → p-200aa886.entry.js} +1 -1
- package/dist/vega/{p-e703a770.entry.js → p-23d881c0.entry.js} +1 -1
- package/dist/vega/{p-e4c4ea35.js → p-25983017.js} +1 -1
- package/dist/vega/{p-2d9ac3d7.entry.js → p-272308f0.entry.js} +1 -1
- package/dist/vega/{p-a4cdcdcf.entry.js → p-2852823c.entry.js} +1 -1
- package/dist/vega/{p-75636420.entry.js → p-2880b48c.entry.js} +1 -1
- package/dist/vega/{p-089ad8ac.entry.js → p-2fe20901.entry.js} +1 -1
- package/dist/vega/{p-ecbcbdab.entry.js → p-33cb4317.entry.js} +1 -1
- package/dist/vega/{p-dba16739.js → p-3432909d.js} +1 -1
- package/dist/vega/{p-c85e743d.js → p-34cb5cbd.js} +1 -1
- package/dist/vega/{p-f1eccec7.entry.js → p-35c9fca8.entry.js} +1 -1
- package/dist/vega/{p-b7721666.js → p-39090ec9.js} +1 -1
- package/dist/vega/{p-83e5600a.entry.js → p-3967fa98.entry.js} +1 -1
- package/dist/vega/{p-26c56c5c.entry.js → p-3a265f16.entry.js} +1 -1
- package/dist/vega/{p-96301146.entry.js → p-41a7aa47.entry.js} +1 -1
- package/dist/vega/{p-3b791b5d.js → p-43ed14c4.js} +1 -1
- package/dist/vega/{p-9dd58ae8.js → p-45f19787.js} +1 -1
- package/dist/vega/{p-3749e29b.entry.js → p-478a6229.entry.js} +1 -1
- package/dist/vega/{p-3b3f2e16.entry.js → p-48a182c9.entry.js} +1 -1
- package/dist/vega/{p-5bf3ab33.js → p-4b30ad1f.js} +1 -1
- package/dist/vega/{p-2b518ca7.entry.js → p-4f1a5522.entry.js} +1 -1
- package/dist/vega/{p-f9d33494.entry.js → p-4f91b230.entry.js} +1 -1
- package/dist/vega/{p-120376f6.entry.js → p-502b1318.entry.js} +1 -1
- package/dist/vega/{p-331c3e77.js → p-52bf9fa1.js} +1 -1
- package/dist/vega/{p-9aeff9b4.js → p-5302889d.js} +1 -1
- package/dist/vega/{p-e695657d.entry.js → p-5364c9a2.entry.js} +1 -1
- package/dist/vega/{p-bfafd175.entry.js → p-54de12bb.entry.js} +1 -1
- package/dist/vega/p-55e4e3d4.entry.js +1 -0
- package/dist/vega/{p-e1d2c60d.js → p-593d1a2a.js} +1 -1
- package/dist/vega/p-5a71d7bc.js +1 -0
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/p-610aace7.js +1 -0
- package/dist/vega/{p-dfc9f226.entry.js → p-6826ad74.entry.js} +1 -1
- package/dist/vega/{p-f90ec132.entry.js → p-704fdd95.entry.js} +1 -1
- package/dist/vega/{p-e1fbfd20.js → p-724df1f5.js} +1 -1
- package/dist/vega/{p-1deedff2.entry.js → p-740f3325.entry.js} +1 -1
- package/dist/vega/{p-264b3309.entry.js → p-76075a1c.entry.js} +1 -1
- package/dist/vega/{p-70cd4efd.js → p-78ca326c.js} +1 -1
- package/dist/vega/{p-db90512c.entry.js → p-7bc5f81e.entry.js} +1 -1
- package/dist/vega/{p-95681890.js → p-82e9febb.js} +1 -1
- package/dist/vega/{p-031c0cf7.js → p-8561537b.js} +1 -1
- package/dist/vega/{p-1985f011.entry.js → p-8c351b5f.entry.js} +1 -1
- package/dist/vega/p-8c7a9085.entry.js +1 -0
- package/dist/vega/{p-247308c9.entry.js → p-8ccbd291.entry.js} +1 -1
- package/dist/vega/p-8ce9e214.js +1 -0
- package/dist/vega/{p-ce5b32e8.entry.js → p-915f6e4d.entry.js} +1 -1
- package/dist/vega/{p-f30d8248.entry.js → p-93252b83.entry.js} +1 -1
- package/dist/vega/{p-5373c5e6.entry.js → p-94b085b4.entry.js} +1 -1
- package/dist/vega/{p-202207a2.entry.js → p-983dfd1d.entry.js} +1 -1
- package/dist/vega/{p-1a6f0a51.js → p-98b77a21.js} +1 -1
- package/dist/vega/p-9a6bd32c.js +1 -0
- package/dist/vega/p-9e0f8b46.entry.js +1 -0
- package/dist/vega/{p-34964a53.js → p-a1b0b94f.js} +1 -1
- package/dist/vega/{p-f89d14c9.entry.js → p-a44a9a1b.entry.js} +1 -1
- package/dist/vega/{p-d7ef3516.entry.js → p-a6022174.entry.js} +1 -1
- package/dist/vega/{p-45aaaef6.entry.js → p-a94bffca.entry.js} +1 -1
- package/dist/vega/{p-7f46cc1e.entry.js → p-adc64ff6.entry.js} +1 -1
- package/dist/vega/{p-5c54bb05.entry.js → p-b340a890.entry.js} +1 -1
- package/dist/vega/{p-98e2c103.entry.js → p-b36dc726.entry.js} +1 -1
- package/dist/vega/p-b4bcc41c.entry.js +1 -0
- package/dist/vega/{p-c801c85d.js → p-b6be1f33.js} +1 -1
- package/dist/vega/{p-57edff7d.entry.js → p-b7ecd62d.entry.js} +1 -1
- package/dist/vega/{p-d564ff1e.entry.js → p-b8fc5f38.entry.js} +1 -1
- package/dist/vega/{p-0b4880bd.entry.js → p-be783294.entry.js} +1 -1
- package/dist/vega/{p-57f220b5.js → p-c0a4f6d0.js} +1 -1
- package/dist/vega/{p-12bd4bab.entry.js → p-c44cc5f0.entry.js} +1 -1
- package/dist/vega/p-c4e71db7.js +1 -0
- package/dist/vega/{p-3cea9c0f.entry.js → p-cbb78c3d.entry.js} +1 -1
- package/dist/vega/{p-b042c46d.entry.js → p-d1f19c20.entry.js} +1 -1
- package/dist/vega/{p-dc965280.entry.js → p-d4367e80.entry.js} +1 -1
- package/dist/vega/{p-b208a7cb.entry.js → p-d750c93a.entry.js} +1 -1
- package/dist/vega/{p-33a6a38d.entry.js → p-d78f3135.entry.js} +1 -1
- package/dist/vega/{p-a8a34c79.entry.js → p-d8d76aca.entry.js} +1 -1
- package/dist/vega/{p-13330f58.js → p-d8e1d97d.js} +1 -1
- package/dist/vega/{p-18e8d9b7.js → p-dcf162e9.js} +1 -1
- package/dist/vega/{p-3f854e0a.entry.js → p-de6d28b7.entry.js} +1 -1
- package/dist/vega/{p-89b2a865.entry.js → p-e01d5ee1.entry.js} +1 -1
- package/dist/vega/{p-0ef6ceee.entry.js → p-e234d51a.entry.js} +1 -1
- package/dist/vega/{p-0be4fe08.entry.js → p-e334dc8a.entry.js} +1 -1
- package/dist/vega/p-e5226de6.entry.js +1 -0
- package/dist/vega/{p-99d05b8f.entry.js → p-ea0b1a77.entry.js} +1 -1
- package/dist/vega/{p-0adb76a2.entry.js → p-eb78a2f2.entry.js} +1 -1
- package/dist/vega/{p-e27626f6.js → p-eca16761.js} +1 -1
- package/dist/vega/{p-4c210e31.entry.js → p-eee880c2.entry.js} +1 -1
- package/dist/vega/{p-801ee68b.js → p-f39bd4b1.js} +1 -1
- package/dist/vega/{p-9f99a5d7.entry.js → p-f8077fbd.entry.js} +1 -1
- package/dist/vega/{p-2946f85e.entry.js → p-f8e617fd.entry.js} +1 -1
- package/dist/vega/{p-b6d7faa2.entry.js → p-fbcfdeb5.entry.js} +1 -1
- package/dist/vega/{p-60c7ed92.entry.js → p-fd8c9a92.entry.js} +1 -1
- package/dist/vega/{p-f235be72.js → p-fda81c61.js} +1 -1
- package/dist/vega/{p-295326ca.entry.js → p-fe220f3a.entry.js} +1 -1
- package/dist/vega/p-feb6718c.entry.js +1 -0
- package/dist/vega/{p-115d6053.entry.js → p-ff5208f5.entry.js} +1 -1
- package/dist/vega/{p-b2df5cb1.js → p-ffc58d14.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +4 -4
- package/dist/vega/p-329541e0.js +0 -1
- package/dist/vega/p-358b4a06.entry.js +0 -1
- package/dist/vega/p-3f566d54.js +0 -1
- package/dist/vega/p-4415ad28.js +0 -1
- package/dist/vega/p-51fcb07f.entry.js +0 -1
- package/dist/vega/p-593e0f80.js +0 -1
- package/dist/vega/p-7b7a70b5.entry.js +0 -1
- package/dist/vega/p-9f728e0b.js +0 -1
- package/dist/vega/p-dbdc9e35.js +0 -1
- package/dist/vega/p-ef44af22.entry.js +0 -1
- package/dist/vega/p-f0388529.entry.js +0 -1
- package/dist/vega/p-fa17fe93.entry.js +0 -1
- /package/dist/cjs/{index-f054eb5d.js → index-3ca118c4.js} +0 -0
- /package/dist/esm/{index-bfc6dfa2.js → index-9c9865c0.js} +0 -0
- /package/dist/vega/{p-5a25014f.js → p-982747ef.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e,F as t,r as o,c as i,H as r,g as s}from"./p-6b2342e0.js";import{c as n,M as l,V as a,I as c}from"./p-6e1ab235.js";import{V as d,I as h}from"./p-4415ad28.js";import{T as p}from"./p-57f220b5.js";import{s as g}from"./p-519a7d55.js";import{V as m}from"./p-e1fbfd20.js";import{A as u,a as v,b as f,c as b}from"./p-c78fe943.js";import{C as w}from"./p-e27626f6.js";import{i as x,G as y,a as C,c as j,V as k,u as z,v as R}from"./p-9af0e2e7.js";import{D as S}from"./p-11e2dcf5.js";import{c as H}from"./p-6ac8e655.js";import{Z as V,T as M,_ as I,O as L,$ as F,v as B,m as A,h as D,a0 as O,k as _,l as P,a1 as K,a2 as W,z as T,a3 as E}from"./p-97f9ad6c.js";import{V as N}from"./p-8aee6b74.js";import{D as $}from"./p-a5713178.js";import{f as q,a as U}from"./p-ec2a1d4c.js";import{K as G}from"./p-dbdc9e35.js";import{c as Z}from"./p-613ddaab.js";import{b as J}from"./p-6c43d54a.js";import{i as Q}from"./p-d27ae9ff.js";import"./p-3b791b5d.js";import"./p-2d0d575f.js";import"./p-a528714c.js";import"./p-e6adf829.js";import"./p-593e0f80.js";import"./p-6a334573.js";import"./p-8b5d3a52.js";import"./p-f1c672e4.js";import"./p-5f377954.js";import"./p-18e8d9b7.js";import"./p-5a25014f.js";import"./p-331a62d5.js";import"./p-f235be72.js";import"./p-02841589.js";import"./p-e4c4ea35.js";import"./p-ed45b3b6.js";import"./p-d4ea8e22.js";import"./p-d884c644.js";import"./p-a841cf13.js";import"./p-becddd0b.js";import"./p-fb5ea4b2.js";import"./p-4866e390.js";import"./p-b75ee3ba.js";import"./p-f0e828d8.js";import"./p-70cd4efd.js";import"./p-262ec334.js";var X=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};class Y extends a{constructor(){super(...arguments),this.formTouched=!1,this.markFormTouched=()=>{this.formTouched=!0},this.resetTouchedState=()=>{this.formTouched=!1}}initialFormState(e){this.resetTouchedState(),this.resetColorRelatedFields(e),this.setFormFieldValues(e)}getFormRef(){return this.formRef}isFormTouched(){return this.formTouched}render(){return e("vega-form",{class:"table-properties-form",ref:e=>this.formRef=e,onMouseDown:this.markFormTouched},"TABLE"===this.type?this.tableFormRenderer.renderPropertiesFields():this.cellFormRenderer.renderPropertiesFields())}setFormFieldValues(e){this.formRef&&this.formRef.reset(e)}resetColorRelatedFields(e){if(this.formRef){if(e.borderColor){const e=this.formRef.querySelector('[data-vega-form="borderColor"]');e&&(e.value="")}if(e.backgroundColor){const e=this.formRef.querySelector('[data-vega-form="backgroundColor"]');e&&(e.value="")}}}}m.register({"align-center":u,"align-justify":v,"align-left":f,"align-right":b,"align-top":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M24 0H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H24C10.7 48 0 37.3 0 24S10.7 0 24 0zM64 176c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48H112c-26.5 0-48-21.5-48-48V176zm224 0c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48V336c0 26.5-21.5 48-48 48H336c-26.5 0-48-21.5-48-48V176z"/></svg>'},"align-bottom":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M24 512l464 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 464c-13.3 0-24 10.7-24 24s10.7 24 24 24zM64 336c0 26.5 21.5 48 48 48h64c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48H112C85.5 0 64 21.5 64 48l0 288zm224 0c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-160c0-26.5-21.5-48-48-48H336c-26.5 0-48 21.5-48 48l0 160z"/></svg>'},"align-middle":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M64 80c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48V232h64V144c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48v88h40c13.3 0 24 10.7 24 24s-10.7 24-24 24H448v88c0 26.5-21.5 48-48 48H336c-26.5 0-48-21.5-48-48V280H224V432c0 26.5-21.5 48-48 48H112c-26.5 0-48-21.5-48-48V280H24c-13.3 0-24-10.7-24-24s10.7-24 24-24H64V80z"/></svg>'},"objects-align-left":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill=\'currentColor\' d="M0 24C0 10.7 10.7 0 24 0S48 10.7 48 24l0 464c0 13.3-10.7 24-24 24s-24-10.7-24-24L0 24zM176 176l288 0 0-64-288 0 0 64zm-48-64c0-26.5 21.5-48 48-48l288 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-288 0c-26.5 0-48-21.5-48-48l0-64zm48 288l160 0 0-64-160 0 0 64zm-48-64c0-26.5 21.5-48 48-48l160 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-160 0c-26.5 0-48-21.5-48-48l0-64z"/></svg>'},"objects-align-center":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill=\'currentColor\' d="M400 176L48 176l0-64 352 0 0 64zm48-64c0-26.5-21.5-48-48-48L248 64l0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L48 64C21.5 64 0 85.5 0 112l0 64c0 26.5 21.5 48 48 48l152 0 0 64-88 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l88 0 0 40c0 13.3 10.7 24 24 24s24-10.7 24-24l0-40 88 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-88 0 0-64 152 0c26.5 0 48-21.5 48-48l0-64zM336 400l-224 0 0-64 224 0 0 64z"/></svg>'},"objects-align-right":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill=\'currentColor\' d="M512 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 464c0 13.3 10.7 24 24 24s24-10.7 24-24l0-464zM336 176L48 176l0-64 288 0 0 64zm48-64c0-26.5-21.5-48-48-48L48 64C21.5 64 0 85.5 0 112l0 64c0 26.5 21.5 48 48 48l288 0c26.5 0 48-21.5 48-48l0-64zM336 400l-160 0 0-64 160 0 0 64zm48-64c0-26.5-21.5-48-48-48l-160 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l160 0c26.5 0 48-21.5 48-48l0-64z"/></svg>'}}),X([n()],Y.prototype,"type",void 0),X([n()],Y.prototype,"tableFormRenderer",void 0),X([n()],Y.prototype,"cellFormRenderer",void 0),X([l("watchDefaultValueChange")],Y.prototype,"initialFormState",null);var ee=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};class te extends a{getColors(){let e=[];return this.colors&&(e=this.colors.map((e=>this.isInDarkMode?e.dark:e.light))),e}getColorKey(e){let t="";if(this.colors){const o=this.colors.find((t=>this.isInDarkMode?t.dark===e:t.light===e));t=o?o.key:""}return t}getColorByKey(e){let t="";if(this.colors){const o=this.colors.find((t=>t.key===e));t=o?this.isInDarkMode?o.dark:o.light:""}return t}}ee([n()],te.prototype,"colors",void 0),ee([n({writable:!0})],te.prototype,"isInDarkMode",void 0);var oe=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};class ie extends a{constructor(){super(...arguments),this.dimensionFieldValidationRule=[{canEvaluate:e=>!!e,shouldShowError:()=>!0,evaluate:e=>({isValid:/^[0-9]*\.?[0-9]+(px|em|rem|%)?$/.test(e),message:""})}],this.handleFormChange=e=>{S.addUniqueObserverToNode(e,x,(async t=>{if(this.formRef){if((await this.formRef.valid()).isValid&&this.renderer.isFormTouched()){const t=await this.formRef.getValue();this.emitFormDataChange(e.dataset.vegaForm,t)}this.updateBorderDisplayColor(t.host),this.updateBackgroundDisplayColor(t.host)}})),e&&"VEGA-INPUT"===e.tagName&&S.addUniqueObserverToNode(e,y,this.markFormTouched)},this.emitFormDataChange=(e,t)=>{this.vegaChange.emit(t)},this.handleAlignmentButtonClick=async e=>{const t=e.currentTarget,o=t.dataset.formFieldName;this.formRef&&await this.formRef.setValue({[o]:t.dataset.id},{skipInvisible:!1})},this.clearBorderColor=e=>{S.addUniqueObserverToNode(e,C,(()=>{this.borderColorPickerRef&&(this.borderColorPickerRef.value="",this.formRef&&this.formRef.setValue({borderColor:""})),this.colorPickerPopoverRef&&this.colorPickerPopoverRef.hide()}))},this.applyBorderColor=e=>{S.addUniqueObserverToNode(e,C,(()=>{this.borderColorPickerRef&&this.formRef&&this.formRef.setValue({borderColor:this.controller.getColorKey(this.borderColorPickerRef.value)}),this.colorPickerPopoverRef&&this.colorPickerPopoverRef.hide()}))},this.handleBackgroundColorPickerChange=e=>{S.addUniqueObserverToNode(e,x,(e=>{const t=e.detail,o=this.controller.getColorKey(t)||t;this.formRef&&this.formRef.setValue({backgroundColor:o})}))},this.clearBackgroundColor=e=>{e.stopPropagation(),this.formRef&&this.formRef.setValue({backgroundColor:null})},this.markFormTouched=()=>{this.renderer.markFormTouched()}}get formRef(){return this.renderer.getFormRef()}renderBorderFields(){return e("vega-flex",{gap:"size-16",direction:"row",alignItems:"center"},e("vega-input-select",{"data-vega-form":"borderStyle",label:"Border Style",placeholder:"Select style",vegaDropdownProps:{searchable:!1,matchTargetWidth:!1},source:ie.TABLE_BORDER_STYLES,ref:this.handleFormChange}),e("vega-input",{ref:this.handleFormChange,"data-vega-form":"borderWidth",label:"Weight",validationRules:this.dimensionFieldValidationRule}),this.renderBorderColorPicker())}renderBackgroundColorPicker(){return e("div",{class:"background-color-group"},e("vega-font",{class:"field-label",variant:"font-field-label",color:"text-primary"},"Background Color"),e("div",{class:"color-picker-container"},e("span",{role:"button",tabIndex:0,"aria-label":"Clear background color",onClick:this.clearBackgroundColor,onKeyDown:H(),class:"color-none"}),e("vega-divider",{direction:"vertical"}),e("vega-color-picker",{isInline:!0,ref:this.handleBackgroundColorPickerChange,colors:this.controller.getColors()}),e("vega-input",{ref:this.handleFormChange,type:"hidden","data-vega-form":"backgroundColor"})))}renderDimensionFields(t=!1){return e("vega-flex",{gap:"size-16",direction:"row",alignItems:"end"},e("vega-input",{ref:this.handleFormChange,"data-vega-form":"width",label:"Width",validationRules:this.dimensionFieldValidationRule}),e("vega-input",{ref:this.handleFormChange,"data-vega-form":"height",label:"Height",validationRules:this.dimensionFieldValidationRule}),t&&e("vega-input",{ref:this.handleFormChange,"data-vega-form":"padding",label:"Padding",validationRules:this.dimensionFieldValidationRule}))}renderAlignmentField(t,o,i){return e("vega-flex",{direction:"row",gap:"0",class:"text-alignment-button-group"},e("vega-input",{ref:this.handleFormChange,"data-vega-form":i,type:"hidden"}),t.map((t=>e("button",{"data-id":t,"data-form-field-name":i,class:`text-alignment-${t}`,onClick:this.handleAlignmentButtonClick},e("vega-icon",{icon:m.getIconKey(`${o}${t}`)})))))}renderActionButtons(){return e("div",{class:"action-buttons"},e("vega-button-link",{ref:this.handleSave},"Save"),e("vega-button-link",{ref:this.handleCancel},"Cancel"))}renderBorderColorPicker(){return e("div",{class:"color-picker-group"},e("vega-font",{class:"field-label",variant:"font-field-label",color:"text-primary"},"Color"),e("vega-popover",{ref:e=>{this.colorPickerPopoverRef=e,S.addUniqueObserverToNode(e,j,(async()=>{if(this.formRef&&this.borderColorPickerRef){const e=await this.formRef.getValue();this.borderColorPickerRef.value=this.controller.getColorByKey(e.borderColor)}}))},trigger:"click"},e("div",{slot:"popover-content",class:"color-picker-container"},e("vega-input",{ref:this.handleFormChange,"data-vega-form":"borderColor",type:"hidden"}),e("span",{role:"button",tabIndex:0,"aria-label":"Clear border color",onKeyDown:H(),class:"display-color-placeholder color-none"})),e("vega-box",{slot:"popover"},e("vega-color-picker",{ref:e=>{this.borderColorPickerRef=e},isInline:!0,colors:this.controller.getColors()}),e("vega-flex",{margin:{top:"size-16"},justifyContent:"end",gap:"size-16"},e("vega-button-link",{ref:this.clearBorderColor},"Clear"),e("vega-button-link",{ref:this.applyBorderColor},"Apply")))))}updateBorderDisplayColor(e){if(e&&"borderColor"===e.dataset.vegaForm){const t=this.controller.getColorByKey(e.value),o=e.nextElementSibling;o.style.backgroundColor=t,t?o.classList.remove("color-none"):o.classList.add("color-none"),this.borderColorPickerRef&&t!==this.borderColorPickerRef.value&&(this.borderColorPickerRef.value=t)}}updateBackgroundDisplayColor(e){if(e&&"backgroundColor"===e.dataset.vegaForm){const t=this.controller.getColorByKey(e.value);e.previousElementSibling.value=t}}}ie.TABLE_BORDER_STYLES=V.map((e=>({id:e,displayName:e.charAt(0).toUpperCase()+e.slice(1)}))),oe([n()],ie.prototype,"controller",void 0),oe([n()],ie.prototype,"defaultValue",void 0),oe([n()],ie.prototype,"renderer",void 0),oe([n()],ie.prototype,"styleMap",void 0),oe([n()],ie.prototype,"vegaChange",void 0),oe([n()],ie.prototype,"vegaCancel",void 0),oe([n()],ie.prototype,"vegaSave",void 0);class re extends ie{constructor(){super(...arguments),this.handleSave=e=>{S.addUniqueObserverToNode(e,C,(()=>{this.vegaSave.emit()}))},this.handleCancel=e=>{S.addUniqueObserverToNode(e,C,(()=>{this.vegaCancel.emit(this.defaultValue)}))}}renderPropertiesFields(){return e(t,null,e("vega-font",{variant:"font-h6",color:"text-primary"},"Table properties"),e("vega-divider",{direction:"horizontal"}),this.renderBorderFields(),e("vega-divider",{direction:"horizontal"}),this.renderBackgroundColorPicker(),e("vega-divider",{direction:"horizontal"}),this.renderDimensionFields(),e("vega-divider",{direction:"horizontal"}),this.renderTextAlignmentField(),e("vega-divider",{direction:"horizontal"}),this.renderActionButtons())}renderTextAlignmentField(){return e("div",{class:"text-alignment-container"},e("vega-font",{variant:"font-field-label",color:"text-primary"},"Alignment"),e("vega-flex",{direction:"row",gap:"size-16"},this.renderAlignmentField(["left","center","right"],"objects-align-","textAlign")))}}class se extends ie{constructor(){super(...arguments),this.changesNeedApply={},this.emitFormDataChange=(e,t)=>{this.vegaChange.emit(this.mergeFormDataWithStyleMap({[e]:t[e]}))},this.handleSave=e=>{S.addUniqueObserverToNode(e,C,(()=>{this.vegaSave.emit()}))},this.handleCancel=e=>{S.addUniqueObserverToNode(e,C,(()=>{this.vegaCancel.emit(this.styleMap)}))}}onDefaultValueChange(){this.resetChangesNeedApply()}renderPropertiesFields(){return e(t,null,e("vega-font",{variant:"font-h6",color:"text-primary"},"Cell properties"),e("vega-divider",{direction:"horizontal"}),super.renderBorderFields(),e("vega-divider",{direction:"horizontal"}),super.renderBackgroundColorPicker(),e("vega-divider",{direction:"horizontal"}),this.renderDimensionFields(!0),e("vega-divider",{direction:"horizontal"}),this.renderTextAlignmentField(),e("vega-divider",{direction:"horizontal"}),this.renderActionButtons())}renderTextAlignmentField(){return e("div",{class:"text-alignment-container"},e("vega-font",{variant:"font-field-label",color:"text-primary"},"Text Alignment"),e("vega-flex",{direction:"row",gap:"size-16"},this.renderAlignmentField(["left","center","right","justify"],"align-","textAlign"),this.renderAlignmentField(["top","middle","bottom"],"align-","verticalAlign")))}mergeFormDataWithStyleMap(e){this.changesNeedApply=Object.assign(Object.assign({},this.changesNeedApply),e);const t={};for(const e in this.styleMap)t[e]=Object.assign(Object.assign({},this.styleMap[e]),this.changesNeedApply);return t}resetChangesNeedApply(){this.changesNeedApply={}}}!function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);s>3&&n&&Object.defineProperty(t,o,n)}([l("watchDefaultValueChange")],se.prototype,"onDefaultValueChange",null);var ne=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};const le=class{constructor(e){o(this,e),this.vegaChange=i(this,"vegaChange",1),this.vegaCancel=i(this,"vegaCancel",1),this.vegaSave=i(this,"vegaSave",1),this.globalSlimmers={},this.translationSlimmer=new p,this.vegaComponentUsageRuntimeMetricsSlimmer=new d,this.renderer=new Y,this.tableFormRenderer=new re,this.cellFormRenderer=new se,this.controller=new te,this.darkModeStateSlimmer=new $,this.changeEventPreventSlimmer=new w([x],(()=>this.renderer.getFormRef())),this.isInDarkMode=N.isDarkMode(),this.type="TABLE",this.colors=[]}watchDefaultValueChange(e){}render(){return g(e(r,null,this.renderer.render()),this.host)}get host(){return s(this)}static get watchers(){return{defaultValue:["watchDefaultValueChange"]}}};ne([h()],le.prototype,"globalSlimmers",void 0),ne([c()],le.prototype,"translationSlimmer",void 0),ne([c()],le.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),ne([c()],le.prototype,"renderer",void 0),ne([c()],le.prototype,"tableFormRenderer",void 0),ne([c()],le.prototype,"cellFormRenderer",void 0),ne([c()],le.prototype,"controller",void 0),ne([c()],le.prototype,"darkModeStateSlimmer",void 0),ne([c()],le.prototype,"changeEventPreventSlimmer",void 0),le.style=':host{display:block;max-width:420px}:host .table-properties-form{display:flex;flex-direction:column;gap:16px}:host .color-picker-group{display:flex;gap:8px;flex-direction:column}:host .color-picker-group .color-picker-container{flex-shrink:0}:host .color-picker-group .display-color-placeholder{display:block;box-sizing:border-box;border-radius:4px;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));width:24px;height:24px}:host .color-picker-group .display-color-placeholder.color-none{box-sizing:content-box}:host .text-alignment-container>vega-font{display:block;margin-bottom:8px}:host .text-alignment-button-group button{display:flex;justify-content:center;align-items:center;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));padding-top:16px;padding-bottom:16px;padding-left:16px;padding-right:16px;position:relative;cursor:pointer;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));color:rgba(var(--v-text-primary, 32, 54, 69, 1))}:host .text-alignment-button-group button:not(:first-of-type){margin-left:-1px}:host .text-alignment-button-group button:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px}:host .text-alignment-button-group button:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}:host .text-alignment-button-group button:hover{background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1));border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1));z-index:1}:host .text-alignment-button-group button:active{border:1px solid rgba(var(--v-border-input-field-focus, 19, 98, 226, 1));background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1));z-index:1}:host .text-alignment-button-group vega-input[value=left]~.text-alignment-left,:host .text-alignment-button-group vega-input[value=center]~.text-alignment-center,:host .text-alignment-button-group vega-input[value=right]~.text-alignment-right,:host .text-alignment-button-group vega-input[value=justify]~.text-alignment-justify,:host .text-alignment-button-group vega-input[value=top]~.text-alignment-top,:host .text-alignment-button-group vega-input[value=middle]~.text-alignment-middle,:host .text-alignment-button-group vega-input[value=bottom]~.text-alignment-bottom{border:1px solid rgba(var(--v-border-input-field-focus, 19, 98, 226, 1));background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1));z-index:1}:host .action-buttons{text-align:right}:host .action-buttons vega-button-link{margin-left:24px}:host .background-color-group{display:flex;gap:8px;flex-direction:column}:host .color-picker-container{box-sizing:border-box;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));border-radius:8px;padding-left:12px;padding-right:12px;display:flex;gap:8px;align-items:center;padding-top:11px;padding-bottom:11px}:host .color-picker-container:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}:host .color-picker-container:focus-within{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1))}:host .color-picker-container vega-divider{height:24px !important}:host .color-picker-container .color-none{display:block;box-sizing:border-box;border-radius:4px;width:24px;height:24px;border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1));overflow:hidden;cursor:pointer;position:relative}:host .color-picker-container .color-none:hover{box-shadow:0 0 0 4px rgba(230, 50, 87, 0.25)}:host .color-picker-container .color-none:before{content:"";position:absolute;border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1));border-left-width:0px;border-right-width:0px;border-bottom-width:0px;top:0;left:-10px;width:32px;height:0;transform-origin:top right;transform:rotate(-45deg)}:host(.vega-hidden){display:none}';var ae=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};class ce extends a{constructor(){super(...arguments),this.handleWidgetSelection=e=>{e.stopPropagation(),this.isSelected=!0},this.handleEditorContentClick=()=>{this.isSelected=!1},this.registerEditorContentClickListener=()=>{this.editorContentContainerRef&&this.editorContentContainerRef.addEventListener("mousedown",this.handleEditorContentClick)},this.unRegisterEditorContentClickListener=()=>{this.editorContentContainerRef&&this.editorContentContainerRef.removeEventListener("mousedown",this.handleEditorContentClick)}}connectedCallback(){this.editorContentContainerRef=q(this.host,".rich-text-editor-container")}disconnectedCallback(){this.unRegisterEditorContentClickListener()}watchIsSelected(e){e?this.registerEditorContentClickListener():this.unRegisterEditorContentClickListener()}getWidgetHandleRef(){return this.widgetHandleRef}render(){return e("div",{class:U(["v-rte-widget__selection",this.isSelected?"selected":""]),contentEditable:!1},e("button",{tabIndex:0,class:"v-rte-widget__selection-handle",ref:e=>this.widgetHandleRef=e,onClick:this.handleWidgetSelection}),e("div",{class:"v-rte-widget__selection-content"},e("slot",null)))}}ae([n()],ce.prototype,"host",void 0),ae([n({writable:!0})],ce.prototype,"isSelected",void 0),ae([l("connectedCallback")],ce.prototype,"connectedCallback",null),ae([l("disconnectedCallback")],ce.prototype,"disconnectedCallback",null),ae([l("watchIsSelected")],ce.prototype,"watchIsSelected",null);var de=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};class he extends G{constructor(){super((()=>[{keyCode:"Backspace",eventName:"keydown",activeElementInScope:[this.selectionWidgetRenderer.getWidgetHandleRef()],callback:this.handleDeleteKeyDown}])),this.handleDeleteKeyDown=()=>{this.vegaRemove.emit()}}}de([n()],he.prototype,"vegaRemove",void 0),de([n()],he.prototype,"selectionWidgetRenderer",void 0);var pe=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};const ge=class{constructor(e){o(this,e),this.vegaRemove=i(this,"vegaRemove",7),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new d,this.selectionWidgetRenderer=new ce,this.keyboardController=new he,this.isSelected=!1}watchIsSelected(e){}render(){return g(e(r,null,this.selectionWidgetRenderer.render()),this.host)}get host(){return s(this)}static get watchers(){return{isSelected:["watchIsSelected"]}}};pe([h()],ge.prototype,"globalSlimmers",void 0),pe([c()],ge.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),pe([c()],ge.prototype,"selectionWidgetRenderer",void 0),pe([c()],ge.prototype,"keyboardController",void 0),ge.style=':host{display:block;position:relative;padding-top:19px}:host(:hover) .v-rte-widget__selection-content{outline:2px solid rgb(255, 200, 61)}:host(:hover) .v-rte-widget__selection-handle{display:revert;background:rgb(255, 200, 61)}.v-rte-widget__selection.selected .v-rte-widget__selection-content{outline:2px solid rgb(38, 42, 255)}.v-rte-widget__selection.selected .v-rte-widget__selection-handle{display:revert;background:rgb(38, 42, 255)}.v-rte-widget__selection-handle{border:none;outline:none;width:15px;height:15px;position:absolute;top:2px;left:-2px;padding:2px;box-sizing:border-box;display:none}.v-rte-widget__selection-handle:after{content:"";border:1px dashed rgb(255, 255, 255);width:auto;height:100%;display:block}';var me=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};const ue=["rte-table-column","rte-table-row","rte-table-merge-cells","rte-table-properties","rte-table-cell-properties","rte-table-caption"];class ve extends a{render(){return e("vega-flex",{gap:"size-8",class:"rte-table-setting-content"},ue.map((e=>this.renderButton(e))))}renderButton(e){switch(e){case"rte-table-column":return this.columnButtonSlimmer.render();case"rte-table-row":return this.rowButtonSlimmer.render();case"rte-table-merge-cells":return this.mergeCellsButtonSlimmer.render();case"rte-table-properties":return this.tablePropertiesButtonSlimmer.render();case"rte-table-cell-properties":return this.cellPropertiesButtonSlimmer.render();default:return this.captionButtonSlimmer.render()}}}me([n()],ve.prototype,"captionButtonSlimmer",void 0),me([n()],ve.prototype,"columnButtonSlimmer",void 0),me([n()],ve.prototype,"rowButtonSlimmer",void 0),me([n()],ve.prototype,"tablePropertiesButtonSlimmer",void 0),me([n()],ve.prototype,"cellPropertiesButtonSlimmer",void 0),me([n()],ve.prototype,"mergeCellsButtonSlimmer",void 0);var fe=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};class be extends a{constructor({icon:t,title:o,showArrowIcon:i}){super(),this.renderBtn=()=>{const t=this.isSelected(),o=this.isDisabled();return e("vega-tooltip",{key:`table-setting-${this.icon}`,text:this.getTitle(),placement:["bottom","top"],trigger:"hover"},e("button",{type:"button",class:{"rte-table-setting-item":!0,"rte-table-setting-item-disabled":o,"rte-table-setting-item-selected":t},disabled:o,onClick:e=>{o||this.handleClick(e)},onKeyDown:this.preventDefaultEvent,onMouseDown:this.preventDefaultEvent},e("vega-flex",{alignItems:"center",justifyContent:"center"},e("vega-icon",{icon:m.getIconKey(this.icon),size:"size-16",color:this.getIconColor()}),this.showArrowIcon?e("vega-icon",{size:"size-8",style:{marginLeft:"8px"},icon:m.getIconKey("chevron-down"),color:this.getIconColor()}):null)))},this.icon=t,this.title=o,this.showArrowIcon=i}render(){return"function"==typeof this.renderBtnWrapper?this.renderBtnWrapper(this.renderBtn):this.renderBtn()}emitClickEvent(e){this.vegaClick.emit(e)}preventDefaultEvent(e){e.preventDefault()}getTitle(){return this.title}getIconColor(){const e=this.isSelected(),t=this.isDisabled();return e?"text-link-active":t?"text-disabled":"text-primary"}}fe([n()],be.prototype,"hasCaption",void 0),fe([n()],be.prototype,"vegaClick",void 0),fe([n()],be.prototype,"selectedCells",void 0);class we extends be{constructor(){super({icon:"rte-table-caption",title:"caption off",showArrowIcon:!1})}isSelected(){return this.hasCaption}isDisabled(){return!1}handleClick(){this.emitClickEvent([M.CAPTION,this.hasCaption?"":"rte-table-caption"])}getTitle(){return this.hasCaption?"caption on":"caption off"}}class xe extends be{constructor(){super({icon:"rte-table-column",title:"Column",showArrowIcon:!0}),this.handleDropdownItemClick=e=>{this.emitClickEvent([M.COLUMN,e.detail])},this.handleDropdownVisibilityChange=({eventName:e})=>{this.isColumnDropdownOpen=e.toLocaleLowerCase().indexOf("show")>=0}}renderBtnWrapper(t){return e("vega-dropdown",{isScreenPosition:!0,minWidth:210,trigger:"click",ref:e=>{S.addUniqueObserverToNode(e,k,this.handleDropdownItemClick),S.addUniqueObserverToNode(e,z,this.handleDropdownVisibilityChange),S.addUniqueObserverToNode(e,R,this.handleDropdownVisibilityChange)}},t(),this.renderActionList())}isSelected(){return this.isColumnDropdownOpen}isDisabled(){return 0===this.selectedCells.length}handleClick(){}renderActionList(){return e("div",{tabIndex:0,role:"menu",slot:"items",onMouseDown:this.preventDefaultEvent,onKeyDown:this.preventDefaultEvent},e("vega-dropdown-item",{itemKey:I.HEADER_COLUMN},e("vega-flex",{alignItems:"center",gap:"size-8"},e("vega-toggle-switch",{checked:L.isFullHeaderSelection(this.selectedCells),size:"small"}),"Header Column")),e("vega-dropdown-item",{itemKey:I.ADD_COLUMN_LEFT},"Insert column left"),e("vega-dropdown-item",{itemKey:I.ADD_COLUMN_RIGHT},"Insert column right"),e("vega-dropdown-item",{itemKey:I.DELETE_COLUMN,disabled:this.allColumnSelected(this.selectedCells)},"Delete column"),e("vega-dropdown-item",{itemKey:I.SELECT_COLUMN},"Select column"))}allColumnSelected(e){if(0===e.length)return!1;const t=A(e[0],D);if(!t)return!1;const[o,i]=F(e,t);return i-o+1===B(t)}}!function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);s>3&&n&&Object.defineProperty(t,o,n)}([n({writable:!0})],xe.prototype,"isColumnDropdownOpen",void 0);class ye extends be{constructor(){super({icon:"rte-table-properties",title:"table properties",showArrowIcon:!1})}renderBtnWrapper(e){return e()}isSelected(){return!1}isDisabled(){return!1}handleClick(){this.emitClickEvent([M.TABLE])}}class Ce extends be{constructor(){super({icon:"rte-table-row",title:"Row",showArrowIcon:!0}),this.handleDropdownItemClick=e=>{this.emitClickEvent([M.ROW,e.detail])}}renderBtnWrapper(t){return e("vega-dropdown",{isScreenPosition:!0,minWidth:180,trigger:"click",ref:e=>{S.addUniqueObserverToNode(e,k,this.handleDropdownItemClick)}},t(),this.renderActionList())}isDisabled(){return 0===this.selectedCells.length}isSelected(){return!1}handleClick(){}renderActionList(){const t=this.areSelectedRowsHeaderRows();return e("div",{tabIndex:0,role:"menu",slot:"items",onMouseDown:this.preventDefaultEvent,onKeyDown:this.preventDefaultEvent},e("vega-dropdown-item",{itemKey:O.HEADER_ROW},e("vega-flex",{alignItems:"center",direction:"row",gap:"size-8"},e("vega-toggle-switch",{key:t.toString(),size:"small",checked:t}),e("span",null,"Header row"))),e("vega-dropdown-item",{itemKey:O.ADD_ROW_ABOVE},"Insert row above"),e("vega-dropdown-item",{itemKey:O.ADD_ROW_BELOW},"Insert row below"),e("vega-dropdown-item",{disabled:this.areAllRowsSelected(),itemKey:O.DELETE_ROW},"Delete row"),e("vega-dropdown-item",{itemKey:O.SELECT_ROW},"Select row"))}areSelectedRowsHeaderRows(){const e=this.getSelectedRows();return e.length>0&&e.every((e=>e.parent instanceof _))}areAllRowsSelected(){let e=!1;const t=this.getSelectedRows();if(t.length){const o=A(t[0],D);if(o){const i=o.children.filter((e=>e instanceof _||e instanceof P)).flatMap((e=>e.children));e=t.length===i.length}}return e}getSelectedRows(){const e=new Set;return this.selectedCells&&this.selectedCells.length&&this.selectedCells.forEach((t=>{t.parent&&e.add(t.parent)})),Array.from(e)}}class je extends be{constructor(){super({icon:"rte-table-cell-properties",title:"cell properties",showArrowIcon:!1})}renderBtnWrapper(e){return e()}isSelected(){return!1}isDisabled(){return 0===this.selectedCells.length}handleClick(){this.emitClickEvent([M.CELL])}}class ke extends be{constructor(){super({icon:"rte-table-merge-cells",title:"Merge cells",showArrowIcon:!0}),this.handleDropdownItemClick=e=>{Object.values(K).includes(e.detail)?this.emitClickEvent([M.SPLIT_CELL,e.detail]):this.emitClickEvent([M.MERGE_CELLS,e.detail])},this.handleDropdownVisibilityChange=({eventName:e})=>{this.isMergeCellsDropdownOpen=e.toLocaleLowerCase().indexOf("show")>=0}}renderBtnWrapper(t){return e("vega-dropdown",{isScreenPosition:!0,minWidth:150,trigger:"click",ref:e=>{S.addUniqueObserverToNode(e,k,this.handleDropdownItemClick),S.addUniqueObserverToNode(e,z,this.handleDropdownVisibilityChange),S.addUniqueObserverToNode(e,R,this.handleDropdownVisibilityChange)}},t(),this.renderActionList())}isSelected(){return this.isMergeCellsDropdownOpen}isDisabled(){if(0===this.selectedCells.length)return!0;const e=this.selectedCells.some((e=>"table-cell"===e.type)),t=this.selectedCells.some((e=>"table-head-cell"===e.type));return!(!e||!t)||!W(this.selectedCells)}handleClick(){this.isMergeCellsDropdownOpen=!0}renderActionList(){const t=this.getMergeDirectionDisabledMap();return e("div",{tabIndex:0,role:"menu",slot:"items",onMouseDown:this.preventDefaultEvent,onKeyDown:this.preventDefaultEvent},e("vega-dropdown-item",{itemKey:T.MERGE_CELLS},"Merge cells"),e("vega-dropdown-item",{itemKey:T.MERGE_CELL_UP,disabled:t[T.MERGE_CELL_UP]},"Merge cell up"),e("vega-dropdown-item",{itemKey:T.MERGE_CELL_RIGHT,disabled:t[T.MERGE_CELL_RIGHT]},"Merge cell right"),e("vega-dropdown-item",{itemKey:T.MERGE_CELL_DOWN,disabled:t[T.MERGE_CELL_DOWN]},"Merge cell down"),e("vega-dropdown-item",{itemKey:T.MERGE_CELL_LEFT,disabled:t[T.MERGE_CELL_LEFT]},"Merge cell left"),e("vega-dropdown-item",{itemKey:K.SPLIT_CELL_VERTICALLY,disabled:!this.selectSingleCell()},"Split cell vertically"),e("vega-dropdown-item",{itemKey:K.SPLIT_CELL_HORIZONTALLY,disabled:!this.selectSingleCell()},"Split cell horizontally"))}selectSingleCell(){return 1===this.selectedCells.length}getMergeDirectionDisabledMap(){if(1!==this.selectedCells.length)return{[T.MERGE_CELL_UP]:!0,[T.MERGE_CELL_RIGHT]:!0,[T.MERGE_CELL_DOWN]:!0,[T.MERGE_CELL_LEFT]:!0};const e=this.selectedCells[0],t=e.parent,o=t.parent,i=o.children.indexOf(t),r=t.children.indexOf(e),s=i===o.children.length-1,n=0===r,l=r===t.children.length-1,a=(t,o)=>{if(o)return!0;const i=E(e,t);return!i||!W([e,i])};return{[T.MERGE_CELL_UP]:a(T.MERGE_CELL_UP,0===i),[T.MERGE_CELL_RIGHT]:a(T.MERGE_CELL_RIGHT,l),[T.MERGE_CELL_DOWN]:a(T.MERGE_CELL_DOWN,s),[T.MERGE_CELL_LEFT]:a(T.MERGE_CELL_LEFT,n)}}}!function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);s>3&&n&&Object.defineProperty(t,o,n)}([n({writable:!0})],ke.prototype,"isMergeCellsDropdownOpen",void 0);var ze=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};const Re=class{constructor(e){o(this,e),this.vegaClick=i(this,"vegaClick",7),this.globalSlimmers={},this.translationSlimmer=new p,this.vegaComponentUsageRuntimeMetricsSlimmer=new d,this.renderer=new ve,this.captionButtonSlimmer=new we,this.columnButtonSlimmer=new xe,this.tablePropertiesButtonSlimmer=new ye,this.rowButtonSlimmer=new Ce,this.cellPropertiesButtonSlimmer=new je,this.mergeCellsButtonSlimmer=new ke,this.isColumnDropdownOpen=!1,this.isMergeCellsDropdownOpen=!1,this.hasCaption=!1,this.selectedCells=[]}connectedCallback(){this.registerTableCellSelectionChangeObserver()}disconnectedCallback(){this.target&&S.removeUniqueObserverFromNode(this.target,J)}render(){return g(e(r,null,this.renderer.render()),this.host)}registerTableCellSelectionChangeObserver(){this.target&&S.addUniqueObserverToNode(this.target,J,(e=>{Q(this.selectedCells,e.detail)||(this.selectedCells=e.detail)}))}get host(){return s(this)}};m.register(Object.assign(Object.assign({},{"rte-table-column":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M48 416V160H232V432H64c-8.8 0-16-7.2-16-16zm232 16V160H464V416c0 8.8-7.2 16-16 16H280zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"/></svg>'},"rte-table-row":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M448 432l-320 0 0-152 336 0 0 136c0 8.8-7.2 16-16 16zm16-200l-336 0 0-152 320 0c8.8 0 16 7.2 16 16l0 136zM0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416z"/></svg>'},"rte-table-merge-cells":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M464 416c0 8.8-7.2 16-16 16H128V192H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H160V160H464V416zM64 32C28.7 32 0 60.7 0 96v64H128V32H64zM414.8 246.1c2.5-6 1.1-12.9-3.5-17.4l-32-32c-6.2-6.2-16.4-6.2-22.6 0l-32 32c-4.6 4.6-5.9 11.5-3.5 17.4s8.3 9.9 14.8 9.9h16v48c0 8.8-7.2 16-16 16H288V304c0-6.5-3.9-12.3-9.9-14.8s-12.9-1.1-17.4 3.5l-32 32c-6.2 6.2-6.2 16.4 0 22.6l32 32c4.6 4.6 11.5 5.9 17.4 3.5s9.9-8.3 9.9-14.8V352h48c26.5 0 48-21.5 48-48V256h16c6.5 0 12.3-3.9 14.8-9.9z"/></svg>'},"rte-table-properties":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M48 160V416c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V160H128v64c0 8.8 7.2 16 16 16h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-5.6 0-11-1-16-2.7V320c0 8.8 7.2 16 16 16h96c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-26.5 0-48-21.5-48-48V224 160H48zM0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM224 240c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H240c-8.8 0-16-7.2-16-16V240zm80 80h96c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H304c-8.8 0-16-7.2-16-16V336c0-8.8 7.2-16 16-16z"/></svg>'},"rte-table-cell-properties":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M360 80v88H464V96c0-8.8-7.2-16-16-16H360zm-48 0H200v88H312V80zM152 80H64c-8.8 0-16 7.2-16 16v72H152V80zM48 216v80H152V216H48zm0 128v72c0 8.8 7.2 16 16 16h88V344H48zm152 88H312V344H200v88zm160 0h88c8.8 0 16-7.2 16-16V344H360v88zM464 296V216H360v80H464zM0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM200 296H312V216H200v80z"/></svg>'},"rte-table-caption":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M464 224c0-8.8-7.2-16-16-16L64 208c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16l384 0c8.8 0 16-7.2 16-16l0-224zm-16-64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64l384 0zm-8-80c13.3 0 24 10.7 24 24s-10.7 24-24 24L72 128c-13.3 0-24-10.7-24-24s10.7-24 24-24l368 0zM392 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L120 48c-13.3 0-24-10.7-24-24s10.7-24 24-24L392 0z"/></svg>'}}),{"chevron-down":Z})),ze([h()],Re.prototype,"globalSlimmers",void 0),ze([c()],Re.prototype,"translationSlimmer",void 0),ze([c()],Re.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),ze([c()],Re.prototype,"renderer",void 0),ze([c()],Re.prototype,"captionButtonSlimmer",void 0),ze([c()],Re.prototype,"columnButtonSlimmer",void 0),ze([c()],Re.prototype,"tablePropertiesButtonSlimmer",void 0),ze([c()],Re.prototype,"rowButtonSlimmer",void 0),ze([c()],Re.prototype,"cellPropertiesButtonSlimmer",void 0),ze([c()],Re.prototype,"mergeCellsButtonSlimmer",void 0),ze([l("connectedCallback")],Re.prototype,"connectedCallback",null),ze([l("disconnectedCallback")],Re.prototype,"disconnectedCallback",null),Re.style=":host .rte-table-setting-item{border:none;padding-top:4px;padding-bottom:4px;padding-left:4px;padding-right:4px;cursor:pointer;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}:host .rte-table-setting-item:not(.rte-table-setting-item-disabled,.rte-table-setting-item-selected):hover{background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1))}:host .rte-table-setting-item-disabled{cursor:default}:host .rte-table-setting-item-selected{background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1))}";export{le as vega_rich_text_table_properties,ge as vega_rich_text_table_selection_widget,Re as vega_rich_text_table_setting}
|
|
1
|
+
import{h as e,F as t,r as o,c as i,H as r,g as s}from"./p-6b2342e0.js";import{c as n,M as l,V as a,I as c}from"./p-6e1ab235.js";import{V as d,I as h}from"./p-8ce9e214.js";import{T as p}from"./p-c0a4f6d0.js";import{s as g}from"./p-519a7d55.js";import{V as m}from"./p-724df1f5.js";import{A as u,a as v,b as f,c as b}from"./p-c78fe943.js";import{C as w}from"./p-eca16761.js";import{i as x,G as y,a as C,c as j,V as k,u as z,v as R}from"./p-9af0e2e7.js";import{D as S}from"./p-11e2dcf5.js";import{c as H}from"./p-6ac8e655.js";import{Z as V,T as M,_ as I,O as L,$ as F,v as B,m as A,h as D,a0 as O,k as _,l as P,a1 as K,a2 as W,z as T,a3 as E}from"./p-047d7881.js";import{V as N}from"./p-8aee6b74.js";import{D as $}from"./p-a5713178.js";import{f as q,a as U}from"./p-ec2a1d4c.js";import{K as G}from"./p-c4e71db7.js";import{c as Z}from"./p-613ddaab.js";import{b as J}from"./p-6c43d54a.js";import{i as Q}from"./p-d27ae9ff.js";import"./p-43ed14c4.js";import"./p-2d0d575f.js";import"./p-a528714c.js";import"./p-1704ff25.js";import"./p-9a6bd32c.js";import"./p-6a334573.js";import"./p-8b5d3a52.js";import"./p-f1c672e4.js";import"./p-5f377954.js";import"./p-dcf162e9.js";import"./p-982747ef.js";import"./p-331a62d5.js";import"./p-fda81c61.js";import"./p-02841589.js";import"./p-25983017.js";import"./p-ed45b3b6.js";import"./p-d4ea8e22.js";import"./p-d884c644.js";import"./p-a841cf13.js";import"./p-028329be.js";import"./p-fb5ea4b2.js";import"./p-4866e390.js";import"./p-b75ee3ba.js";import"./p-f0e828d8.js";import"./p-78ca326c.js";import"./p-262ec334.js";var X=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};class Y extends a{constructor(){super(...arguments),this.formTouched=!1,this.markFormTouched=()=>{this.formTouched=!0},this.resetTouchedState=()=>{this.formTouched=!1}}initialFormState(e){this.resetTouchedState(),this.resetColorRelatedFields(e),this.setFormFieldValues(e)}getFormRef(){return this.formRef}isFormTouched(){return this.formTouched}render(){return e("vega-form",{class:"table-properties-form",ref:e=>this.formRef=e,onMouseDown:this.markFormTouched},"TABLE"===this.type?this.tableFormRenderer.renderPropertiesFields():this.cellFormRenderer.renderPropertiesFields())}setFormFieldValues(e){this.formRef&&this.formRef.reset(e)}resetColorRelatedFields(e){if(this.formRef){if(e.borderColor){const e=this.formRef.querySelector('[data-vega-form="borderColor"]');e&&(e.value="")}if(e.backgroundColor){const e=this.formRef.querySelector('[data-vega-form="backgroundColor"]');e&&(e.value="")}}}}m.register({"align-center":u,"align-justify":v,"align-left":f,"align-right":b,"align-top":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M24 0H488c13.3 0 24 10.7 24 24s-10.7 24-24 24H24C10.7 48 0 37.3 0 24S10.7 0 24 0zM64 176c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48V464c0 26.5-21.5 48-48 48H112c-26.5 0-48-21.5-48-48V176zm224 0c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48V336c0 26.5-21.5 48-48 48H336c-26.5 0-48-21.5-48-48V176z"/></svg>'},"align-bottom":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M24 512l464 0c13.3 0 24-10.7 24-24s-10.7-24-24-24L24 464c-13.3 0-24 10.7-24 24s10.7 24 24 24zM64 336c0 26.5 21.5 48 48 48h64c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48H112C85.5 0 64 21.5 64 48l0 288zm224 0c0 26.5 21.5 48 48 48l64 0c26.5 0 48-21.5 48-48l0-160c0-26.5-21.5-48-48-48H336c-26.5 0-48 21.5-48 48l0 160z"/></svg>'},"align-middle":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M64 80c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48V232h64V144c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48v88h40c13.3 0 24 10.7 24 24s-10.7 24-24 24H448v88c0 26.5-21.5 48-48 48H336c-26.5 0-48-21.5-48-48V280H224V432c0 26.5-21.5 48-48 48H112c-26.5 0-48-21.5-48-48V280H24c-13.3 0-24-10.7-24-24s10.7-24 24-24H64V80z"/></svg>'},"objects-align-left":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill=\'currentColor\' d="M0 24C0 10.7 10.7 0 24 0S48 10.7 48 24l0 464c0 13.3-10.7 24-24 24s-24-10.7-24-24L0 24zM176 176l288 0 0-64-288 0 0 64zm-48-64c0-26.5 21.5-48 48-48l288 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-288 0c-26.5 0-48-21.5-48-48l0-64zm48 288l160 0 0-64-160 0 0 64zm-48-64c0-26.5 21.5-48 48-48l160 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-160 0c-26.5 0-48-21.5-48-48l0-64z"/></svg>'},"objects-align-center":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill=\'currentColor\' d="M400 176L48 176l0-64 352 0 0 64zm48-64c0-26.5-21.5-48-48-48L248 64l0-40c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 40L48 64C21.5 64 0 85.5 0 112l0 64c0 26.5 21.5 48 48 48l152 0 0 64-88 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l88 0 0 40c0 13.3 10.7 24 24 24s24-10.7 24-24l0-40 88 0c26.5 0 48-21.5 48-48l0-64c0-26.5-21.5-48-48-48l-88 0 0-64 152 0c26.5 0 48-21.5 48-48l0-64zM336 400l-224 0 0-64 224 0 0 64z"/></svg>'},"objects-align-right":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill=\'currentColor\' d="M512 24c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 464c0 13.3 10.7 24 24 24s24-10.7 24-24l0-464zM336 176L48 176l0-64 288 0 0 64zm48-64c0-26.5-21.5-48-48-48L48 64C21.5 64 0 85.5 0 112l0 64c0 26.5 21.5 48 48 48l288 0c26.5 0 48-21.5 48-48l0-64zM336 400l-160 0 0-64 160 0 0 64zm48-64c0-26.5-21.5-48-48-48l-160 0c-26.5 0-48 21.5-48 48l0 64c0 26.5 21.5 48 48 48l160 0c26.5 0 48-21.5 48-48l0-64z"/></svg>'}}),X([n()],Y.prototype,"type",void 0),X([n()],Y.prototype,"tableFormRenderer",void 0),X([n()],Y.prototype,"cellFormRenderer",void 0),X([l("watchDefaultValueChange")],Y.prototype,"initialFormState",null);var ee=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};class te extends a{getColors(){let e=[];return this.colors&&(e=this.colors.map((e=>this.isInDarkMode?e.dark:e.light))),e}getColorKey(e){let t="";if(this.colors){const o=this.colors.find((t=>this.isInDarkMode?t.dark===e:t.light===e));t=o?o.key:""}return t}getColorByKey(e){let t="";if(this.colors){const o=this.colors.find((t=>t.key===e));t=o?this.isInDarkMode?o.dark:o.light:""}return t}}ee([n()],te.prototype,"colors",void 0),ee([n({writable:!0})],te.prototype,"isInDarkMode",void 0);var oe=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};class ie extends a{constructor(){super(...arguments),this.dimensionFieldValidationRule=[{canEvaluate:e=>!!e,shouldShowError:()=>!0,evaluate:e=>({isValid:/^[0-9]*\.?[0-9]+(px|em|rem|%)?$/.test(e),message:""})}],this.handleFormChange=e=>{S.addUniqueObserverToNode(e,x,(async t=>{if(this.formRef){if((await this.formRef.valid()).isValid&&this.renderer.isFormTouched()){const t=await this.formRef.getValue();this.emitFormDataChange(e.dataset.vegaForm,t)}this.updateBorderDisplayColor(t.host),this.updateBackgroundDisplayColor(t.host)}})),e&&"VEGA-INPUT"===e.tagName&&S.addUniqueObserverToNode(e,y,this.markFormTouched)},this.emitFormDataChange=(e,t)=>{this.vegaChange.emit(t)},this.handleAlignmentButtonClick=async e=>{const t=e.currentTarget,o=t.dataset.formFieldName;this.formRef&&await this.formRef.setValue({[o]:t.dataset.id},{skipInvisible:!1})},this.clearBorderColor=e=>{S.addUniqueObserverToNode(e,C,(()=>{this.borderColorPickerRef&&(this.borderColorPickerRef.value="",this.formRef&&this.formRef.setValue({borderColor:""})),this.colorPickerPopoverRef&&this.colorPickerPopoverRef.hide()}))},this.applyBorderColor=e=>{S.addUniqueObserverToNode(e,C,(()=>{this.borderColorPickerRef&&this.formRef&&this.formRef.setValue({borderColor:this.controller.getColorKey(this.borderColorPickerRef.value)}),this.colorPickerPopoverRef&&this.colorPickerPopoverRef.hide()}))},this.handleBackgroundColorPickerChange=e=>{S.addUniqueObserverToNode(e,x,(e=>{const t=e.detail,o=this.controller.getColorKey(t)||t;this.formRef&&this.formRef.setValue({backgroundColor:o})}))},this.clearBackgroundColor=e=>{e.stopPropagation(),this.formRef&&this.formRef.setValue({backgroundColor:null})},this.markFormTouched=()=>{this.renderer.markFormTouched()}}get formRef(){return this.renderer.getFormRef()}renderBorderFields(){return e("vega-flex",{gap:"size-16",direction:"row",alignItems:"center"},e("vega-input-select",{"data-vega-form":"borderStyle",label:"Border Style",placeholder:"Select style",vegaDropdownProps:{searchable:!1,matchTargetWidth:!1},source:ie.TABLE_BORDER_STYLES,ref:this.handleFormChange}),e("vega-input",{ref:this.handleFormChange,"data-vega-form":"borderWidth",label:"Weight",validationRules:this.dimensionFieldValidationRule}),this.renderBorderColorPicker())}renderBackgroundColorPicker(){return e("div",{class:"background-color-group"},e("vega-font",{class:"field-label",variant:"font-field-label",color:"text-primary"},"Background Color"),e("div",{class:"color-picker-container"},e("span",{role:"button",tabIndex:0,"aria-label":"Clear background color",onClick:this.clearBackgroundColor,onKeyDown:H(),class:"color-none"}),e("vega-divider",{direction:"vertical"}),e("vega-color-picker",{isInline:!0,ref:this.handleBackgroundColorPickerChange,colors:this.controller.getColors()}),e("vega-input",{ref:this.handleFormChange,type:"hidden","data-vega-form":"backgroundColor"})))}renderDimensionFields(t=!1){return e("vega-flex",{gap:"size-16",direction:"row",alignItems:"end"},e("vega-input",{ref:this.handleFormChange,"data-vega-form":"width",label:"Width",validationRules:this.dimensionFieldValidationRule}),e("vega-input",{ref:this.handleFormChange,"data-vega-form":"height",label:"Height",validationRules:this.dimensionFieldValidationRule}),t&&e("vega-input",{ref:this.handleFormChange,"data-vega-form":"padding",label:"Padding",validationRules:this.dimensionFieldValidationRule}))}renderAlignmentField(t,o,i){return e("vega-flex",{direction:"row",gap:"0",class:"text-alignment-button-group"},e("vega-input",{ref:this.handleFormChange,"data-vega-form":i,type:"hidden"}),t.map((t=>e("button",{"data-id":t,"data-form-field-name":i,class:`text-alignment-${t}`,onClick:this.handleAlignmentButtonClick},e("vega-icon",{icon:m.getIconKey(`${o}${t}`)})))))}renderActionButtons(){return e("div",{class:"action-buttons"},e("vega-button-link",{ref:this.handleSave},"Save"),e("vega-button-link",{ref:this.handleCancel},"Cancel"))}renderBorderColorPicker(){return e("div",{class:"color-picker-group"},e("vega-font",{class:"field-label",variant:"font-field-label",color:"text-primary"},"Color"),e("vega-popover",{ref:e=>{this.colorPickerPopoverRef=e,S.addUniqueObserverToNode(e,j,(async()=>{if(this.formRef&&this.borderColorPickerRef){const e=await this.formRef.getValue();this.borderColorPickerRef.value=this.controller.getColorByKey(e.borderColor)}}))},trigger:"click"},e("div",{slot:"popover-content",class:"color-picker-container"},e("vega-input",{ref:this.handleFormChange,"data-vega-form":"borderColor",type:"hidden"}),e("span",{role:"button",tabIndex:0,"aria-label":"Clear border color",onKeyDown:H(),class:"display-color-placeholder color-none"})),e("vega-box",{slot:"popover"},e("vega-color-picker",{ref:e=>{this.borderColorPickerRef=e},isInline:!0,colors:this.controller.getColors()}),e("vega-flex",{margin:{top:"size-16"},justifyContent:"end",gap:"size-16"},e("vega-button-link",{ref:this.clearBorderColor},"Clear"),e("vega-button-link",{ref:this.applyBorderColor},"Apply")))))}updateBorderDisplayColor(e){if(e&&"borderColor"===e.dataset.vegaForm){const t=this.controller.getColorByKey(e.value),o=e.nextElementSibling;o.style.backgroundColor=t,t?o.classList.remove("color-none"):o.classList.add("color-none"),this.borderColorPickerRef&&t!==this.borderColorPickerRef.value&&(this.borderColorPickerRef.value=t)}}updateBackgroundDisplayColor(e){if(e&&"backgroundColor"===e.dataset.vegaForm){const t=this.controller.getColorByKey(e.value);e.previousElementSibling.value=t}}}ie.TABLE_BORDER_STYLES=V.map((e=>({id:e,displayName:e.charAt(0).toUpperCase()+e.slice(1)}))),oe([n()],ie.prototype,"controller",void 0),oe([n()],ie.prototype,"defaultValue",void 0),oe([n()],ie.prototype,"renderer",void 0),oe([n()],ie.prototype,"styleMap",void 0),oe([n()],ie.prototype,"vegaChange",void 0),oe([n()],ie.prototype,"vegaCancel",void 0),oe([n()],ie.prototype,"vegaSave",void 0);class re extends ie{constructor(){super(...arguments),this.handleSave=e=>{S.addUniqueObserverToNode(e,C,(()=>{this.vegaSave.emit()}))},this.handleCancel=e=>{S.addUniqueObserverToNode(e,C,(()=>{this.vegaCancel.emit(this.defaultValue)}))}}renderPropertiesFields(){return e(t,null,e("vega-font",{variant:"font-h6",color:"text-primary"},"Table properties"),e("vega-divider",{direction:"horizontal"}),this.renderBorderFields(),e("vega-divider",{direction:"horizontal"}),this.renderBackgroundColorPicker(),e("vega-divider",{direction:"horizontal"}),this.renderDimensionFields(),e("vega-divider",{direction:"horizontal"}),this.renderTextAlignmentField(),e("vega-divider",{direction:"horizontal"}),this.renderActionButtons())}renderTextAlignmentField(){return e("div",{class:"text-alignment-container"},e("vega-font",{variant:"font-field-label",color:"text-primary"},"Alignment"),e("vega-flex",{direction:"row",gap:"size-16"},this.renderAlignmentField(["left","center","right"],"objects-align-","textAlign")))}}class se extends ie{constructor(){super(...arguments),this.changesNeedApply={},this.emitFormDataChange=(e,t)=>{this.vegaChange.emit(this.mergeFormDataWithStyleMap({[e]:t[e]}))},this.handleSave=e=>{S.addUniqueObserverToNode(e,C,(()=>{this.vegaSave.emit()}))},this.handleCancel=e=>{S.addUniqueObserverToNode(e,C,(()=>{this.vegaCancel.emit(this.styleMap)}))}}onDefaultValueChange(){this.resetChangesNeedApply()}renderPropertiesFields(){return e(t,null,e("vega-font",{variant:"font-h6",color:"text-primary"},"Cell properties"),e("vega-divider",{direction:"horizontal"}),super.renderBorderFields(),e("vega-divider",{direction:"horizontal"}),super.renderBackgroundColorPicker(),e("vega-divider",{direction:"horizontal"}),this.renderDimensionFields(!0),e("vega-divider",{direction:"horizontal"}),this.renderTextAlignmentField(),e("vega-divider",{direction:"horizontal"}),this.renderActionButtons())}renderTextAlignmentField(){return e("div",{class:"text-alignment-container"},e("vega-font",{variant:"font-field-label",color:"text-primary"},"Text Alignment"),e("vega-flex",{direction:"row",gap:"size-16"},this.renderAlignmentField(["left","center","right","justify"],"align-","textAlign"),this.renderAlignmentField(["top","middle","bottom"],"align-","verticalAlign")))}mergeFormDataWithStyleMap(e){this.changesNeedApply=Object.assign(Object.assign({},this.changesNeedApply),e);const t={};for(const e in this.styleMap)t[e]=Object.assign(Object.assign({},this.styleMap[e]),this.changesNeedApply);return t}resetChangesNeedApply(){this.changesNeedApply={}}}!function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);s>3&&n&&Object.defineProperty(t,o,n)}([l("watchDefaultValueChange")],se.prototype,"onDefaultValueChange",null);var ne=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};const le=class{constructor(e){o(this,e),this.vegaChange=i(this,"vegaChange",1),this.vegaCancel=i(this,"vegaCancel",1),this.vegaSave=i(this,"vegaSave",1),this.globalSlimmers={},this.translationSlimmer=new p,this.vegaComponentUsageRuntimeMetricsSlimmer=new d,this.renderer=new Y,this.tableFormRenderer=new re,this.cellFormRenderer=new se,this.controller=new te,this.darkModeStateSlimmer=new $,this.changeEventPreventSlimmer=new w([x],(()=>this.renderer.getFormRef())),this.isInDarkMode=N.isDarkMode(),this.type="TABLE",this.colors=[]}watchDefaultValueChange(e){}render(){return g(e(r,null,this.renderer.render()),this.host)}get host(){return s(this)}static get watchers(){return{defaultValue:["watchDefaultValueChange"]}}};ne([h()],le.prototype,"globalSlimmers",void 0),ne([c()],le.prototype,"translationSlimmer",void 0),ne([c()],le.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),ne([c()],le.prototype,"renderer",void 0),ne([c()],le.prototype,"tableFormRenderer",void 0),ne([c()],le.prototype,"cellFormRenderer",void 0),ne([c()],le.prototype,"controller",void 0),ne([c()],le.prototype,"darkModeStateSlimmer",void 0),ne([c()],le.prototype,"changeEventPreventSlimmer",void 0),le.style=':host{display:block;max-width:420px}:host .table-properties-form{display:flex;flex-direction:column;gap:16px}:host .color-picker-group{display:flex;gap:8px;flex-direction:column}:host .color-picker-group .color-picker-container{flex-shrink:0}:host .color-picker-group .display-color-placeholder{display:block;box-sizing:border-box;border-radius:4px;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));width:24px;height:24px}:host .color-picker-group .display-color-placeholder.color-none{box-sizing:content-box}:host .text-alignment-container>vega-font{display:block;margin-bottom:8px}:host .text-alignment-button-group button{display:flex;justify-content:center;align-items:center;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));padding-top:16px;padding-bottom:16px;padding-left:16px;padding-right:16px;position:relative;cursor:pointer;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));color:rgba(var(--v-text-primary, 32, 54, 69, 1))}:host .text-alignment-button-group button:not(:first-of-type){margin-left:-1px}:host .text-alignment-button-group button:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px}:host .text-alignment-button-group button:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}:host .text-alignment-button-group button:hover{background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1));border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1));z-index:1}:host .text-alignment-button-group button:active{border:1px solid rgba(var(--v-border-input-field-focus, 19, 98, 226, 1));background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1));z-index:1}:host .text-alignment-button-group vega-input[value=left]~.text-alignment-left,:host .text-alignment-button-group vega-input[value=center]~.text-alignment-center,:host .text-alignment-button-group vega-input[value=right]~.text-alignment-right,:host .text-alignment-button-group vega-input[value=justify]~.text-alignment-justify,:host .text-alignment-button-group vega-input[value=top]~.text-alignment-top,:host .text-alignment-button-group vega-input[value=middle]~.text-alignment-middle,:host .text-alignment-button-group vega-input[value=bottom]~.text-alignment-bottom{border:1px solid rgba(var(--v-border-input-field-focus, 19, 98, 226, 1));background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1));z-index:1}:host .action-buttons{text-align:right}:host .action-buttons vega-button-link{margin-left:24px}:host .background-color-group{display:flex;gap:8px;flex-direction:column}:host .color-picker-container{box-sizing:border-box;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));border-radius:8px;padding-left:12px;padding-right:12px;display:flex;gap:8px;align-items:center;padding-top:11px;padding-bottom:11px}:host .color-picker-container:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}:host .color-picker-container:focus-within{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-focus, 19, 98, 226, 1))}:host .color-picker-container vega-divider{height:24px !important}:host .color-picker-container .color-none{display:block;box-sizing:border-box;border-radius:4px;width:24px;height:24px;border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1));overflow:hidden;cursor:pointer;position:relative}:host .color-picker-container .color-none:hover{box-shadow:0 0 0 4px rgba(230, 50, 87, 0.25)}:host .color-picker-container .color-none:before{content:"";position:absolute;border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1));border-left-width:0px;border-right-width:0px;border-bottom-width:0px;top:0;left:-10px;width:32px;height:0;transform-origin:top right;transform:rotate(-45deg)}:host(.vega-hidden){display:none}';var ae=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};class ce extends a{constructor(){super(...arguments),this.handleWidgetSelection=e=>{e.stopPropagation(),this.isSelected=!0},this.handleEditorContentClick=()=>{this.isSelected=!1},this.registerEditorContentClickListener=()=>{this.editorContentContainerRef&&this.editorContentContainerRef.addEventListener("mousedown",this.handleEditorContentClick)},this.unRegisterEditorContentClickListener=()=>{this.editorContentContainerRef&&this.editorContentContainerRef.removeEventListener("mousedown",this.handleEditorContentClick)}}connectedCallback(){this.editorContentContainerRef=q(this.host,".rich-text-editor-container")}disconnectedCallback(){this.unRegisterEditorContentClickListener()}watchIsSelected(e){e?this.registerEditorContentClickListener():this.unRegisterEditorContentClickListener()}getWidgetHandleRef(){return this.widgetHandleRef}render(){return e("div",{class:U(["v-rte-widget__selection",this.isSelected?"selected":""]),contentEditable:!1},e("button",{tabIndex:0,class:"v-rte-widget__selection-handle",ref:e=>this.widgetHandleRef=e,onClick:this.handleWidgetSelection}),e("div",{class:"v-rte-widget__selection-content"},e("slot",null)))}}ae([n()],ce.prototype,"host",void 0),ae([n({writable:!0})],ce.prototype,"isSelected",void 0),ae([l("connectedCallback")],ce.prototype,"connectedCallback",null),ae([l("disconnectedCallback")],ce.prototype,"disconnectedCallback",null),ae([l("watchIsSelected")],ce.prototype,"watchIsSelected",null);var de=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};class he extends G{constructor(){super((()=>[{keyCode:"Backspace",eventName:"keydown",activeElementInScope:[this.selectionWidgetRenderer.getWidgetHandleRef()],callback:this.handleDeleteKeyDown}])),this.handleDeleteKeyDown=()=>{this.vegaRemove.emit()}}}de([n()],he.prototype,"vegaRemove",void 0),de([n()],he.prototype,"selectionWidgetRenderer",void 0);var pe=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};const ge=class{constructor(e){o(this,e),this.vegaRemove=i(this,"vegaRemove",7),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new d,this.selectionWidgetRenderer=new ce,this.keyboardController=new he,this.isSelected=!1}watchIsSelected(e){}render(){return g(e(r,null,this.selectionWidgetRenderer.render()),this.host)}get host(){return s(this)}static get watchers(){return{isSelected:["watchIsSelected"]}}};pe([h()],ge.prototype,"globalSlimmers",void 0),pe([c()],ge.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),pe([c()],ge.prototype,"selectionWidgetRenderer",void 0),pe([c()],ge.prototype,"keyboardController",void 0),ge.style=':host{display:block;position:relative;padding-top:19px}:host(:hover) .v-rte-widget__selection-content{outline:2px solid rgb(255, 200, 61)}:host(:hover) .v-rte-widget__selection-handle{display:revert;background:rgb(255, 200, 61)}.v-rte-widget__selection.selected .v-rte-widget__selection-content{outline:2px solid rgb(38, 42, 255)}.v-rte-widget__selection.selected .v-rte-widget__selection-handle{display:revert;background:rgb(38, 42, 255)}.v-rte-widget__selection-handle{border:none;outline:none;width:15px;height:15px;position:absolute;top:2px;left:-2px;padding:2px;box-sizing:border-box;display:none}.v-rte-widget__selection-handle:after{content:"";border:1px dashed rgb(255, 255, 255);width:auto;height:100%;display:block}';var me=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};const ue=["rte-table-column","rte-table-row","rte-table-merge-cells","rte-table-properties","rte-table-cell-properties","rte-table-caption"];class ve extends a{render(){return e("vega-flex",{gap:"size-8",class:"rte-table-setting-content"},ue.map((e=>this.renderButton(e))))}renderButton(e){switch(e){case"rte-table-column":return this.columnButtonSlimmer.render();case"rte-table-row":return this.rowButtonSlimmer.render();case"rte-table-merge-cells":return this.mergeCellsButtonSlimmer.render();case"rte-table-properties":return this.tablePropertiesButtonSlimmer.render();case"rte-table-cell-properties":return this.cellPropertiesButtonSlimmer.render();default:return this.captionButtonSlimmer.render()}}}me([n()],ve.prototype,"captionButtonSlimmer",void 0),me([n()],ve.prototype,"columnButtonSlimmer",void 0),me([n()],ve.prototype,"rowButtonSlimmer",void 0),me([n()],ve.prototype,"tablePropertiesButtonSlimmer",void 0),me([n()],ve.prototype,"cellPropertiesButtonSlimmer",void 0),me([n()],ve.prototype,"mergeCellsButtonSlimmer",void 0);var fe=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};class be extends a{constructor({icon:t,title:o,showArrowIcon:i}){super(),this.renderBtn=()=>{const t=this.isSelected(),o=this.isDisabled();return e("vega-tooltip",{key:`table-setting-${this.icon}`,text:this.getTitle(),placement:["bottom","top"],trigger:"hover"},e("button",{type:"button",class:{"rte-table-setting-item":!0,"rte-table-setting-item-disabled":o,"rte-table-setting-item-selected":t},disabled:o,onClick:e=>{o||this.handleClick(e)},onKeyDown:this.preventDefaultEvent,onMouseDown:this.preventDefaultEvent},e("vega-flex",{alignItems:"center",justifyContent:"center"},e("vega-icon",{icon:m.getIconKey(this.icon),size:"size-16",color:this.getIconColor()}),this.showArrowIcon?e("vega-icon",{size:"size-8",style:{marginLeft:"8px"},icon:m.getIconKey("chevron-down"),color:this.getIconColor()}):null)))},this.icon=t,this.title=o,this.showArrowIcon=i}render(){return"function"==typeof this.renderBtnWrapper?this.renderBtnWrapper(this.renderBtn):this.renderBtn()}emitClickEvent(e){this.vegaClick.emit(e)}preventDefaultEvent(e){e.preventDefault()}getTitle(){return this.title}getIconColor(){const e=this.isSelected(),t=this.isDisabled();return e?"text-link-active":t?"text-disabled":"text-primary"}}fe([n()],be.prototype,"hasCaption",void 0),fe([n()],be.prototype,"vegaClick",void 0),fe([n()],be.prototype,"selectedCells",void 0);class we extends be{constructor(){super({icon:"rte-table-caption",title:"caption off",showArrowIcon:!1})}isSelected(){return this.hasCaption}isDisabled(){return!1}handleClick(){this.emitClickEvent([M.CAPTION,this.hasCaption?"":"rte-table-caption"])}getTitle(){return this.hasCaption?"caption on":"caption off"}}class xe extends be{constructor(){super({icon:"rte-table-column",title:"Column",showArrowIcon:!0}),this.handleDropdownItemClick=e=>{this.emitClickEvent([M.COLUMN,e.detail])},this.handleDropdownVisibilityChange=({eventName:e})=>{this.isColumnDropdownOpen=e.toLocaleLowerCase().indexOf("show")>=0}}renderBtnWrapper(t){return e("vega-dropdown",{isScreenPosition:!0,minWidth:210,trigger:"click",ref:e=>{S.addUniqueObserverToNode(e,k,this.handleDropdownItemClick),S.addUniqueObserverToNode(e,z,this.handleDropdownVisibilityChange),S.addUniqueObserverToNode(e,R,this.handleDropdownVisibilityChange)}},t(),this.renderActionList())}isSelected(){return this.isColumnDropdownOpen}isDisabled(){return 0===this.selectedCells.length}handleClick(){}renderActionList(){return e("div",{tabIndex:0,role:"menu",slot:"items",onMouseDown:this.preventDefaultEvent,onKeyDown:this.preventDefaultEvent},e("vega-dropdown-item",{itemKey:I.HEADER_COLUMN},e("vega-flex",{alignItems:"center",gap:"size-8"},e("vega-toggle-switch",{checked:L.isFullHeaderSelection(this.selectedCells),size:"small"}),"Header Column")),e("vega-dropdown-item",{itemKey:I.ADD_COLUMN_LEFT},"Insert column left"),e("vega-dropdown-item",{itemKey:I.ADD_COLUMN_RIGHT},"Insert column right"),e("vega-dropdown-item",{itemKey:I.DELETE_COLUMN,disabled:this.allColumnSelected(this.selectedCells)},"Delete column"),e("vega-dropdown-item",{itemKey:I.SELECT_COLUMN},"Select column"))}allColumnSelected(e){if(0===e.length)return!1;const t=A(e[0],D);if(!t)return!1;const[o,i]=F(e,t);return i-o+1===B(t)}}!function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);s>3&&n&&Object.defineProperty(t,o,n)}([n({writable:!0})],xe.prototype,"isColumnDropdownOpen",void 0);class ye extends be{constructor(){super({icon:"rte-table-properties",title:"table properties",showArrowIcon:!1})}renderBtnWrapper(e){return e()}isSelected(){return!1}isDisabled(){return!1}handleClick(){this.emitClickEvent([M.TABLE])}}class Ce extends be{constructor(){super({icon:"rte-table-row",title:"Row",showArrowIcon:!0}),this.handleDropdownItemClick=e=>{this.emitClickEvent([M.ROW,e.detail])}}renderBtnWrapper(t){return e("vega-dropdown",{isScreenPosition:!0,minWidth:180,trigger:"click",ref:e=>{S.addUniqueObserverToNode(e,k,this.handleDropdownItemClick)}},t(),this.renderActionList())}isDisabled(){return 0===this.selectedCells.length}isSelected(){return!1}handleClick(){}renderActionList(){const t=this.areSelectedRowsHeaderRows();return e("div",{tabIndex:0,role:"menu",slot:"items",onMouseDown:this.preventDefaultEvent,onKeyDown:this.preventDefaultEvent},e("vega-dropdown-item",{itemKey:O.HEADER_ROW},e("vega-flex",{alignItems:"center",direction:"row",gap:"size-8"},e("vega-toggle-switch",{key:t.toString(),size:"small",checked:t}),e("span",null,"Header row"))),e("vega-dropdown-item",{itemKey:O.ADD_ROW_ABOVE},"Insert row above"),e("vega-dropdown-item",{itemKey:O.ADD_ROW_BELOW},"Insert row below"),e("vega-dropdown-item",{disabled:this.areAllRowsSelected(),itemKey:O.DELETE_ROW},"Delete row"),e("vega-dropdown-item",{itemKey:O.SELECT_ROW},"Select row"))}areSelectedRowsHeaderRows(){const e=this.getSelectedRows();return e.length>0&&e.every((e=>e.parent instanceof _))}areAllRowsSelected(){let e=!1;const t=this.getSelectedRows();if(t.length){const o=A(t[0],D);if(o){const i=o.children.filter((e=>e instanceof _||e instanceof P)).flatMap((e=>e.children));e=t.length===i.length}}return e}getSelectedRows(){const e=new Set;return this.selectedCells&&this.selectedCells.length&&this.selectedCells.forEach((t=>{t.parent&&e.add(t.parent)})),Array.from(e)}}class je extends be{constructor(){super({icon:"rte-table-cell-properties",title:"cell properties",showArrowIcon:!1})}renderBtnWrapper(e){return e()}isSelected(){return!1}isDisabled(){return 0===this.selectedCells.length}handleClick(){this.emitClickEvent([M.CELL])}}class ke extends be{constructor(){super({icon:"rte-table-merge-cells",title:"Merge cells",showArrowIcon:!0}),this.handleDropdownItemClick=e=>{Object.values(K).includes(e.detail)?this.emitClickEvent([M.SPLIT_CELL,e.detail]):this.emitClickEvent([M.MERGE_CELLS,e.detail])},this.handleDropdownVisibilityChange=({eventName:e})=>{this.isMergeCellsDropdownOpen=e.toLocaleLowerCase().indexOf("show")>=0}}renderBtnWrapper(t){return e("vega-dropdown",{isScreenPosition:!0,minWidth:150,trigger:"click",ref:e=>{S.addUniqueObserverToNode(e,k,this.handleDropdownItemClick),S.addUniqueObserverToNode(e,z,this.handleDropdownVisibilityChange),S.addUniqueObserverToNode(e,R,this.handleDropdownVisibilityChange)}},t(),this.renderActionList())}isSelected(){return this.isMergeCellsDropdownOpen}isDisabled(){if(0===this.selectedCells.length)return!0;const e=this.selectedCells.some((e=>"table-cell"===e.type)),t=this.selectedCells.some((e=>"table-head-cell"===e.type));return!(!e||!t)||!W(this.selectedCells)}handleClick(){this.isMergeCellsDropdownOpen=!0}renderActionList(){const t=this.getMergeDirectionDisabledMap();return e("div",{tabIndex:0,role:"menu",slot:"items",onMouseDown:this.preventDefaultEvent,onKeyDown:this.preventDefaultEvent},e("vega-dropdown-item",{itemKey:T.MERGE_CELLS},"Merge cells"),e("vega-dropdown-item",{itemKey:T.MERGE_CELL_UP,disabled:t[T.MERGE_CELL_UP]},"Merge cell up"),e("vega-dropdown-item",{itemKey:T.MERGE_CELL_RIGHT,disabled:t[T.MERGE_CELL_RIGHT]},"Merge cell right"),e("vega-dropdown-item",{itemKey:T.MERGE_CELL_DOWN,disabled:t[T.MERGE_CELL_DOWN]},"Merge cell down"),e("vega-dropdown-item",{itemKey:T.MERGE_CELL_LEFT,disabled:t[T.MERGE_CELL_LEFT]},"Merge cell left"),e("vega-dropdown-item",{itemKey:K.SPLIT_CELL_VERTICALLY,disabled:!this.selectSingleCell()},"Split cell vertically"),e("vega-dropdown-item",{itemKey:K.SPLIT_CELL_HORIZONTALLY,disabled:!this.selectSingleCell()},"Split cell horizontally"))}selectSingleCell(){return 1===this.selectedCells.length}getMergeDirectionDisabledMap(){if(1!==this.selectedCells.length)return{[T.MERGE_CELL_UP]:!0,[T.MERGE_CELL_RIGHT]:!0,[T.MERGE_CELL_DOWN]:!0,[T.MERGE_CELL_LEFT]:!0};const e=this.selectedCells[0],t=e.parent,o=t.parent,i=o.children.indexOf(t),r=t.children.indexOf(e),s=i===o.children.length-1,n=0===r,l=r===t.children.length-1,a=(t,o)=>{if(o)return!0;const i=E(e,t);return!i||!W([e,i])};return{[T.MERGE_CELL_UP]:a(T.MERGE_CELL_UP,0===i),[T.MERGE_CELL_RIGHT]:a(T.MERGE_CELL_RIGHT,l),[T.MERGE_CELL_DOWN]:a(T.MERGE_CELL_DOWN,s),[T.MERGE_CELL_LEFT]:a(T.MERGE_CELL_LEFT,n)}}}!function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);s>3&&n&&Object.defineProperty(t,o,n)}([n({writable:!0})],ke.prototype,"isMergeCellsDropdownOpen",void 0);var ze=function(e,t,o,i){var r,s=arguments.length,n=s<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(n=(s<3?r(n):s>3?r(t,o,n):r(t,o))||n);return s>3&&n&&Object.defineProperty(t,o,n),n};const Re=class{constructor(e){o(this,e),this.vegaClick=i(this,"vegaClick",7),this.globalSlimmers={},this.translationSlimmer=new p,this.vegaComponentUsageRuntimeMetricsSlimmer=new d,this.renderer=new ve,this.captionButtonSlimmer=new we,this.columnButtonSlimmer=new xe,this.tablePropertiesButtonSlimmer=new ye,this.rowButtonSlimmer=new Ce,this.cellPropertiesButtonSlimmer=new je,this.mergeCellsButtonSlimmer=new ke,this.isColumnDropdownOpen=!1,this.isMergeCellsDropdownOpen=!1,this.hasCaption=!1,this.selectedCells=[]}connectedCallback(){this.registerTableCellSelectionChangeObserver()}disconnectedCallback(){this.target&&S.removeUniqueObserverFromNode(this.target,J)}render(){return g(e(r,null,this.renderer.render()),this.host)}registerTableCellSelectionChangeObserver(){this.target&&S.addUniqueObserverToNode(this.target,J,(e=>{Q(this.selectedCells,e.detail)||(this.selectedCells=e.detail)}))}get host(){return s(this)}};m.register(Object.assign(Object.assign({},{"rte-table-column":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M48 416V160H232V432H64c-8.8 0-16-7.2-16-16zm232 16V160H464V416c0 8.8-7.2 16-16 16H280zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"/></svg>'},"rte-table-row":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M448 432l-320 0 0-152 336 0 0 136c0 8.8-7.2 16-16 16zm16-200l-336 0 0-152 320 0c8.8 0 16 7.2 16 16l0 136zM0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416z"/></svg>'},"rte-table-merge-cells":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M464 416c0 8.8-7.2 16-16 16H128V192H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H160V160H464V416zM64 32C28.7 32 0 60.7 0 96v64H128V32H64zM414.8 246.1c2.5-6 1.1-12.9-3.5-17.4l-32-32c-6.2-6.2-16.4-6.2-22.6 0l-32 32c-4.6 4.6-5.9 11.5-3.5 17.4s8.3 9.9 14.8 9.9h16v48c0 8.8-7.2 16-16 16H288V304c0-6.5-3.9-12.3-9.9-14.8s-12.9-1.1-17.4 3.5l-32 32c-6.2 6.2-6.2 16.4 0 22.6l32 32c4.6 4.6 11.5 5.9 17.4 3.5s9.9-8.3 9.9-14.8V352h48c26.5 0 48-21.5 48-48V256h16c6.5 0 12.3-3.9 14.8-9.9z"/></svg>'},"rte-table-properties":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M48 160V416c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V160H128v64c0 8.8 7.2 16 16 16h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-5.6 0-11-1-16-2.7V320c0 8.8 7.2 16 16 16h96c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-26.5 0-48-21.5-48-48V224 160H48zM0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM224 240c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H240c-8.8 0-16-7.2-16-16V240zm80 80h96c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H304c-8.8 0-16-7.2-16-16V336c0-8.8 7.2-16 16-16z"/></svg>'},"rte-table-cell-properties":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M360 80v88H464V96c0-8.8-7.2-16-16-16H360zm-48 0H200v88H312V80zM152 80H64c-8.8 0-16 7.2-16 16v72H152V80zM48 216v80H152V216H48zm0 128v72c0 8.8 7.2 16 16 16h88V344H48zm152 88H312V344H200v88zm160 0h88c8.8 0 16-7.2 16-16V344H360v88zM464 296V216H360v80H464zM0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM200 296H312V216H200v80z"/></svg>'},"rte-table-caption":{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">\x3c!--! Font Awesome Pro 6.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --\x3e<path fill="currentColor" d="M464 224c0-8.8-7.2-16-16-16L64 208c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16l384 0c8.8 0 16-7.2 16-16l0-224zm-16-64c35.3 0 64 28.7 64 64l0 224c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 224c0-35.3 28.7-64 64-64l384 0zm-8-80c13.3 0 24 10.7 24 24s-10.7 24-24 24L72 128c-13.3 0-24-10.7-24-24s10.7-24 24-24l368 0zM392 0c13.3 0 24 10.7 24 24s-10.7 24-24 24L120 48c-13.3 0-24-10.7-24-24s10.7-24 24-24L392 0z"/></svg>'}}),{"chevron-down":Z})),ze([h()],Re.prototype,"globalSlimmers",void 0),ze([c()],Re.prototype,"translationSlimmer",void 0),ze([c()],Re.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),ze([c()],Re.prototype,"renderer",void 0),ze([c()],Re.prototype,"captionButtonSlimmer",void 0),ze([c()],Re.prototype,"columnButtonSlimmer",void 0),ze([c()],Re.prototype,"tablePropertiesButtonSlimmer",void 0),ze([c()],Re.prototype,"rowButtonSlimmer",void 0),ze([c()],Re.prototype,"cellPropertiesButtonSlimmer",void 0),ze([c()],Re.prototype,"mergeCellsButtonSlimmer",void 0),ze([l("connectedCallback")],Re.prototype,"connectedCallback",null),ze([l("disconnectedCallback")],Re.prototype,"disconnectedCallback",null),Re.style=":host .rte-table-setting-item{border:none;padding-top:4px;padding-bottom:4px;padding-left:4px;padding-right:4px;cursor:pointer;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}:host .rte-table-setting-item:not(.rte-table-setting-item-disabled,.rte-table-setting-item-selected):hover{background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1))}:host .rte-table-setting-item-disabled{cursor:default}:host .rte-table-setting-item-selected{background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1))}";export{le as vega_rich_text_table_properties,ge as vega_rich_text_table_selection_widget,Re as vega_rich_text_table_setting}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as e,H as i,g as o}from"./p-6b2342e0.js";import{c as r,V as s,I as a}from"./p-6e1ab235.js";import{V as n,I as l}from"./p-
|
|
1
|
+
import{h as t,r as e,H as i,g as o}from"./p-6b2342e0.js";import{c as r,V as s,I as a}from"./p-6e1ab235.js";import{V as n,I as l}from"./p-8ce9e214.js";import{s as c}from"./p-519a7d55.js";import{D as f,d as p}from"./p-11e2dcf5.js";import{B as h,H as v,a as d,i as m}from"./p-9af0e2e7.js";import{n as u,c as g}from"./p-262ec334.js";import{f as b}from"./p-ec2a1d4c.js";import{C as j}from"./p-2d0d575f.js";import{u as y}from"./p-6c43d54a.js";import{C as x}from"./p-eca16761.js";import"./p-331a62d5.js";import"./p-f1c672e4.js";import"./p-5f377954.js";import"./p-dcf162e9.js";import"./p-982747ef.js";var R=function(t,e,i,o){var r,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(s<3?r(a):s>3?r(e,i,a):r(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};class C extends s{constructor(){super(...arguments),this.handleChange=()=>{if(this.inputRef.value){const t=u(g(this.inputRef.value,1),1,this.pageCount);this.inputRef.value=t.toString(),this.prevAndNextButtonRenderer.notifyParentPagination(t.toString())}}}render(){return"pageSelectorMobile"===this.type?this.renderPageSelectorMobile():this.renderPageSelectorMobileAndGoTo()}renderPageSelectorMobile(){return t("vega-flex",{alignItems:"center",justifyContent:"center",gap:"size-8"},this.prevAndNextButtonRenderer.render("prev"),t("vega-font",{variant:"font-field-label",color:"text-primary"},this.current.toString()),t("vega-font",{variant:"font-field-label",color:"text-primary"},"/"),t("vega-font",{variant:"font-field-label",color:"text-primary"},this.pageCount.toString()),this.prevAndNextButtonRenderer.render("next"))}renderPageSelectorMobileAndGoTo(){return t("vega-flex",{alignItems:"center",justifyContent:"center",gap:"size-8"},this.prevAndNextButtonRenderer.render("prev"),t("vega-form",{ref:t=>{f.addUniqueObserverToNode(t,h,this.handleChange)}},t("vega-input",{"data-vega-form":"pageSelectorMobile_goTo",size:"small",autocomplete:"on",showClearIcon:!1,style:{width:"54px"},maskConfig:{type:"number",options:{allowNegative:!1,precision:0}},value:this.current.toString(),ref:t=>{this.inputRef=t,f.addUniqueObserverToNode(t,v,this.handleChange)}})),t("vega-font",{variant:"font-field-label",color:"text-primary"},"/"),t("vega-font",{variant:"font-field-label",color:"text-primary"},this.pageCount.toString()),this.prevAndNextButtonRenderer.render("next"))}}R([r()],C.prototype,"host",void 0),R([r()],C.prototype,"type",void 0),R([r()],C.prototype,"current",void 0),R([r()],C.prototype,"pageCount",void 0),R([r()],C.prototype,"prevAndNextButtonRenderer",void 0);var w=function(t,e,i,o){var r,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(s<3?r(a):s>3?r(e,i,a):r(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};class S extends s{constructor(){super(...arguments),this.pagerButton=(e,i,o)=>t("vega-button-circle",{variant:"icon-only",icon:e,iconColor:"text-link",size:"small",disabled:i,ref:t=>{f.addUniqueObserverToNode(t,d,o)}}),this.renderPrevButton=()=>this.pagerButton("chevron-left",0===this.total||1===this.current,(()=>{this.notifyParentPagination((this.current-1).toString())})),this.renderNextButton=()=>this.pagerButton("chevron-right",0===this.total||this.current===this.pageCount,(()=>{this.notifyParentPagination((this.current+1).toString())}))}notifyParentPagination(t){const e=b(this.host,"vega-pagination");e&&j.notify(p.getSubject(e,y),{host:this.host,detail:t})}render(t){return"prev"===t?this.renderPrevButton():this.renderNextButton()}}w([r()],S.prototype,"host",void 0),w([r()],S.prototype,"current",void 0),w([r()],S.prototype,"total",void 0),w([r()],S.prototype,"pageCount",void 0);var M=function(t,e,i,o){var r,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var n=t.length-1;n>=0;n--)(r=t[n])&&(a=(s<3?r(a):s>3?r(e,i,a):r(e,i))||a);return s>3&&a&&Object.defineProperty(e,i,a),a};const O=class{constructor(t){e(this,t),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new n,this.childEventPrevent=new x([m],(()=>this.host)),this.pageSelectorMobileRenderer=new C,this.prevAndNextButtonRenderer=new S,this.pageCount=0,this.current=1,this.total=0}render(){return c(t(i,null,this.pageSelectorMobileRenderer.render()),this.host)}get host(){return o(this)}};M([l()],O.prototype,"globalSlimmers",void 0),M([a()],O.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),M([a()],O.prototype,"childEventPrevent",void 0),M([a()],O.prototype,"pageSelectorMobileRenderer",void 0),M([a()],O.prototype,"prevAndNextButtonRenderer",void 0),O.style=":host{display:inline-block}";export{O as vega_pagination_page_selector_mobile}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,h as i,H as t,g as s}from"./p-6b2342e0.js";import{s as e}from"./p-519a7d55.js";import{c as o,V as v,I as r}from"./p-6e1ab235.js";import{V as z,I as g}from"./p-4415ad28.js";import{R as p}from"./p-031c0cf7.js";import{h as a}from"./p-e4c4ea35.js";import{f as x}from"./p-c85e743d.js";import{P as n}from"./p-81dd00d0.js";import{g as h}from"./p-49a2e141.js";import"./p-d4ea8e22.js";import"./p-262ec334.js";import"./p-0c667d6a.js";import"./p-ed45b3b6.js";import"./p-d27ae9ff.js";import"./p-18e8d9b7.js";import"./p-5a25014f.js";import"./p-d884c644.js";import"./p-3b791b5d.js";import"./p-2d0d575f.js";import"./p-a528714c.js";import"./p-1a869f0e.js";import"./p-b75ee3ba.js";var L=function(m,i,t,s){var e,o=arguments.length,v=o<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,t):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)v=Reflect.decorate(m,i,t,s);else for(var r=m.length-1;r>=0;r--)(e=m[r])&&(v=(o<3?e(v):o>3?e(i,t,v):e(i,t))||v);return o>3&&v&&Object.defineProperty(i,t,v),v};class l extends v{getSize(){const m={},i=p.formatCustom(this.direction),t=p.formatCustom(this.margin);return"vertical"===i?m.height=`calc(100% - ${this.getDirectionMargin(t,"top")}px - ${this.getDirectionMargin(t,"bottom")}px)`:m.width=`calc(100% - ${this.getDirectionMargin(t,"left")}px - ${this.getDirectionMargin(t,"right")}px)`,m}getDirectionMargin(m,i){const t="string"==typeof m?m:["top","bottom"].includes(i)?m.y||m[i]:m.x||m[i];return t&&"auto"!==t?a[t]:0}}L([o()],l.prototype,"host",void 0),L([o()],l.prototype,"direction",void 0),L([o()],l.prototype,"margin",void 0);var b=function(m,i,t,s){var e,o=arguments.length,v=o<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,t):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)v=Reflect.decorate(m,i,t,s);else for(var r=m.length-1;r>=0;r--)(e=m[r])&&(v=(o<3?e(v):o>3?e(i,t,v):e(i,t))||v);return o>3&&v&&Object.defineProperty(i,t,v),v};const S=class{constructor(i){m(this,i),this.globalSlimmers={},this.pageResizeObserverSlimmer=new n,this.sizeController=new l,this.vegaComponentUsageRuntimeMetricsSlimmer=new z,this.currentBreakpoint=h(),this.direction="horizontal",this.variant="primary",this.margin="0"}render(){return e(i(t,{class:{[`vega-divider-${p.formatCustom(this.direction)}`]:!0,[`vega-divider-${this.variant}`]:!0,[x(this.margin,"margin")]:!0},style:this.sizeController.getSize()}),this.host)}get host(){return s(this)}};b([g()],S.prototype,"globalSlimmers",void 0),b([r()],S.prototype,"pageResizeObserverSlimmer",void 0),b([r()],S.prototype,"sizeController",void 0),b([r()],S.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),S.style=":host(.v-m-0),.v-m-0{margin:0px}:host(.v-mx-0),.v-mx-0{margin-left:0px;margin-right:0px}:host(.v-my-0),.v-my-0{margin-top:0px;margin-bottom:0px}:host(.v-mt-0),.v-mt-0{margin-top:0px}:host(.v-mb-0),.v-mb-0{margin-bottom:0px}:host(.v-mr-0),.v-mr-0{margin-right:0px}:host(.v-ml-0),.v-ml-0{margin-left:0px}:host(.v-m-size-0),.v-m-size-0{margin:0px}:host(.v-mx-size-0),.v-mx-size-0{margin-left:0px;margin-right:0px}:host(.v-my-size-0),.v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.v-mt-size-0),.v-mt-size-0{margin-top:0px}:host(.v-mb-size-0),.v-mb-size-0{margin-bottom:0px}:host(.v-mr-size-0),.v-mr-size-0{margin-right:0px}:host(.v-ml-size-0),.v-ml-size-0{margin-left:0px}:host(.v-m-size-4),.v-m-size-4{margin:4px}:host(.v-mx-size-4),.v-mx-size-4{margin-left:4px;margin-right:4px}:host(.v-my-size-4),.v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.v-mt-size-4),.v-mt-size-4{margin-top:4px}:host(.v-mb-size-4),.v-mb-size-4{margin-bottom:4px}:host(.v-mr-size-4),.v-mr-size-4{margin-right:4px}:host(.v-ml-size-4),.v-ml-size-4{margin-left:4px}:host(.v-m-size-8),.v-m-size-8{margin:8px}:host(.v-mx-size-8),.v-mx-size-8{margin-left:8px;margin-right:8px}:host(.v-my-size-8),.v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.v-mt-size-8),.v-mt-size-8{margin-top:8px}:host(.v-mb-size-8),.v-mb-size-8{margin-bottom:8px}:host(.v-mr-size-8),.v-mr-size-8{margin-right:8px}:host(.v-ml-size-8),.v-ml-size-8{margin-left:8px}:host(.v-m-size-12),.v-m-size-12{margin:12px}:host(.v-mx-size-12),.v-mx-size-12{margin-left:12px;margin-right:12px}:host(.v-my-size-12),.v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.v-mt-size-12),.v-mt-size-12{margin-top:12px}:host(.v-mb-size-12),.v-mb-size-12{margin-bottom:12px}:host(.v-mr-size-12),.v-mr-size-12{margin-right:12px}:host(.v-ml-size-12),.v-ml-size-12{margin-left:12px}:host(.v-m-size-16),.v-m-size-16{margin:16px}:host(.v-mx-size-16),.v-mx-size-16{margin-left:16px;margin-right:16px}:host(.v-my-size-16),.v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.v-mt-size-16),.v-mt-size-16{margin-top:16px}:host(.v-mb-size-16),.v-mb-size-16{margin-bottom:16px}:host(.v-mr-size-16),.v-mr-size-16{margin-right:16px}:host(.v-ml-size-16),.v-ml-size-16{margin-left:16px}:host(.v-m-size-20),.v-m-size-20{margin:20px}:host(.v-mx-size-20),.v-mx-size-20{margin-left:20px;margin-right:20px}:host(.v-my-size-20),.v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.v-mt-size-20),.v-mt-size-20{margin-top:20px}:host(.v-mb-size-20),.v-mb-size-20{margin-bottom:20px}:host(.v-mr-size-20),.v-mr-size-20{margin-right:20px}:host(.v-ml-size-20),.v-ml-size-20{margin-left:20px}:host(.v-m-size-24),.v-m-size-24{margin:24px}:host(.v-mx-size-24),.v-mx-size-24{margin-left:24px;margin-right:24px}:host(.v-my-size-24),.v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.v-mt-size-24),.v-mt-size-24{margin-top:24px}:host(.v-mb-size-24),.v-mb-size-24{margin-bottom:24px}:host(.v-mr-size-24),.v-mr-size-24{margin-right:24px}:host(.v-ml-size-24),.v-ml-size-24{margin-left:24px}:host(.v-m-size-32),.v-m-size-32{margin:32px}:host(.v-mx-size-32),.v-mx-size-32{margin-left:32px;margin-right:32px}:host(.v-my-size-32),.v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.v-mt-size-32),.v-mt-size-32{margin-top:32px}:host(.v-mb-size-32),.v-mb-size-32{margin-bottom:32px}:host(.v-mr-size-32),.v-mr-size-32{margin-right:32px}:host(.v-ml-size-32),.v-ml-size-32{margin-left:32px}:host(.v-m-size-40),.v-m-size-40{margin:40px}:host(.v-mx-size-40),.v-mx-size-40{margin-left:40px;margin-right:40px}:host(.v-my-size-40),.v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.v-mt-size-40),.v-mt-size-40{margin-top:40px}:host(.v-mb-size-40),.v-mb-size-40{margin-bottom:40px}:host(.v-mr-size-40),.v-mr-size-40{margin-right:40px}:host(.v-ml-size-40),.v-ml-size-40{margin-left:40px}:host(.v-m-size-48),.v-m-size-48{margin:48px}:host(.v-mx-size-48),.v-mx-size-48{margin-left:48px;margin-right:48px}:host(.v-my-size-48),.v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.v-mt-size-48),.v-mt-size-48{margin-top:48px}:host(.v-mb-size-48),.v-mb-size-48{margin-bottom:48px}:host(.v-mr-size-48),.v-mr-size-48{margin-right:48px}:host(.v-ml-size-48),.v-ml-size-48{margin-left:48px}:host(.v-m-size-64),.v-m-size-64{margin:64px}:host(.v-mx-size-64),.v-mx-size-64{margin-left:64px;margin-right:64px}:host(.v-my-size-64),.v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.v-mt-size-64),.v-mt-size-64{margin-top:64px}:host(.v-mb-size-64),.v-mb-size-64{margin-bottom:64px}:host(.v-mr-size-64),.v-mr-size-64{margin-right:64px}:host(.v-ml-size-64),.v-ml-size-64{margin-left:64px}:host(.v-m-size-72),.v-m-size-72{margin:72px}:host(.v-mx-size-72),.v-mx-size-72{margin-left:72px;margin-right:72px}:host(.v-my-size-72),.v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.v-mt-size-72),.v-mt-size-72{margin-top:72px}:host(.v-mb-size-72),.v-mb-size-72{margin-bottom:72px}:host(.v-mr-size-72),.v-mr-size-72{margin-right:72px}:host(.v-ml-size-72),.v-ml-size-72{margin-left:72px}:host(.v-m-size-80),.v-m-size-80{margin:80px}:host(.v-mx-size-80),.v-mx-size-80{margin-left:80px;margin-right:80px}:host(.v-my-size-80),.v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.v-mt-size-80),.v-mt-size-80{margin-top:80px}:host(.v-mb-size-80),.v-mb-size-80{margin-bottom:80px}:host(.v-mr-size-80),.v-mr-size-80{margin-right:80px}:host(.v-ml-size-80),.v-ml-size-80{margin-left:80px}:host(.v-m-size-112),.v-m-size-112{margin:112px}:host(.v-mx-size-112),.v-mx-size-112{margin-left:112px;margin-right:112px}:host(.v-my-size-112),.v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.v-mt-size-112),.v-mt-size-112{margin-top:112px}:host(.v-mb-size-112),.v-mb-size-112{margin-bottom:112px}:host(.v-mr-size-112),.v-mr-size-112{margin-right:112px}:host(.v-ml-size-112),.v-ml-size-112{margin-left:112px}:host(.v-m-size-2),.v-m-size-2{margin:2px}:host(.v-mx-size-2),.v-mx-size-2{margin-left:2px;margin-right:2px}:host(.v-my-size-2),.v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.v-mt-size-2),.v-mt-size-2{margin-top:2px}:host(.v-mb-size-2),.v-mb-size-2{margin-bottom:2px}:host(.v-mr-size-2),.v-mr-size-2{margin-right:2px}:host(.v-ml-size-2),.v-ml-size-2{margin-left:2px}:host(.v-m-auto),.v-m-auto{margin:auto}:host(.v-mx-auto),.v-mx-auto{margin-left:auto;margin-right:auto}:host(.v-my-auto),.v-my-auto{margin-top:auto;margin-bottom:auto}:host(.v-mt-auto),.v-mt-auto{margin-top:auto}:host(.v-mb-auto),.v-mb-auto{margin-bottom:auto}:host(.v-mr-auto),.v-mr-auto{margin-right:auto}:host(.v-ml-auto),.v-ml-auto{margin-left:auto}@media (min-width: 320px){:host(.S\\:v-m-0),.S\\:v-m-0{margin:0px}:host(.S\\:v-mx-0),.S\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.S\\:v-my-0),.S\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.S\\:v-mt-0),.S\\:v-mt-0{margin-top:0px}:host(.S\\:v-mb-0),.S\\:v-mb-0{margin-bottom:0px}:host(.S\\:v-mr-0),.S\\:v-mr-0{margin-right:0px}:host(.S\\:v-ml-0),.S\\:v-ml-0{margin-left:0px}:host(.S\\:v-m-size-0),.S\\:v-m-size-0{margin:0px}:host(.S\\:v-mx-size-0),.S\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.S\\:v-my-size-0),.S\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.S\\:v-mt-size-0),.S\\:v-mt-size-0{margin-top:0px}:host(.S\\:v-mb-size-0),.S\\:v-mb-size-0{margin-bottom:0px}:host(.S\\:v-mr-size-0),.S\\:v-mr-size-0{margin-right:0px}:host(.S\\:v-ml-size-0),.S\\:v-ml-size-0{margin-left:0px}:host(.S\\:v-m-size-4),.S\\:v-m-size-4{margin:4px}:host(.S\\:v-mx-size-4),.S\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.S\\:v-my-size-4),.S\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.S\\:v-mt-size-4),.S\\:v-mt-size-4{margin-top:4px}:host(.S\\:v-mb-size-4),.S\\:v-mb-size-4{margin-bottom:4px}:host(.S\\:v-mr-size-4),.S\\:v-mr-size-4{margin-right:4px}:host(.S\\:v-ml-size-4),.S\\:v-ml-size-4{margin-left:4px}:host(.S\\:v-m-size-8),.S\\:v-m-size-8{margin:8px}:host(.S\\:v-mx-size-8),.S\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.S\\:v-my-size-8),.S\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.S\\:v-mt-size-8),.S\\:v-mt-size-8{margin-top:8px}:host(.S\\:v-mb-size-8),.S\\:v-mb-size-8{margin-bottom:8px}:host(.S\\:v-mr-size-8),.S\\:v-mr-size-8{margin-right:8px}:host(.S\\:v-ml-size-8),.S\\:v-ml-size-8{margin-left:8px}:host(.S\\:v-m-size-12),.S\\:v-m-size-12{margin:12px}:host(.S\\:v-mx-size-12),.S\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.S\\:v-my-size-12),.S\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.S\\:v-mt-size-12),.S\\:v-mt-size-12{margin-top:12px}:host(.S\\:v-mb-size-12),.S\\:v-mb-size-12{margin-bottom:12px}:host(.S\\:v-mr-size-12),.S\\:v-mr-size-12{margin-right:12px}:host(.S\\:v-ml-size-12),.S\\:v-ml-size-12{margin-left:12px}:host(.S\\:v-m-size-16),.S\\:v-m-size-16{margin:16px}:host(.S\\:v-mx-size-16),.S\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.S\\:v-my-size-16),.S\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.S\\:v-mt-size-16),.S\\:v-mt-size-16{margin-top:16px}:host(.S\\:v-mb-size-16),.S\\:v-mb-size-16{margin-bottom:16px}:host(.S\\:v-mr-size-16),.S\\:v-mr-size-16{margin-right:16px}:host(.S\\:v-ml-size-16),.S\\:v-ml-size-16{margin-left:16px}:host(.S\\:v-m-size-20),.S\\:v-m-size-20{margin:20px}:host(.S\\:v-mx-size-20),.S\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.S\\:v-my-size-20),.S\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.S\\:v-mt-size-20),.S\\:v-mt-size-20{margin-top:20px}:host(.S\\:v-mb-size-20),.S\\:v-mb-size-20{margin-bottom:20px}:host(.S\\:v-mr-size-20),.S\\:v-mr-size-20{margin-right:20px}:host(.S\\:v-ml-size-20),.S\\:v-ml-size-20{margin-left:20px}:host(.S\\:v-m-size-24),.S\\:v-m-size-24{margin:24px}:host(.S\\:v-mx-size-24),.S\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.S\\:v-my-size-24),.S\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.S\\:v-mt-size-24),.S\\:v-mt-size-24{margin-top:24px}:host(.S\\:v-mb-size-24),.S\\:v-mb-size-24{margin-bottom:24px}:host(.S\\:v-mr-size-24),.S\\:v-mr-size-24{margin-right:24px}:host(.S\\:v-ml-size-24),.S\\:v-ml-size-24{margin-left:24px}:host(.S\\:v-m-size-32),.S\\:v-m-size-32{margin:32px}:host(.S\\:v-mx-size-32),.S\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.S\\:v-my-size-32),.S\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.S\\:v-mt-size-32),.S\\:v-mt-size-32{margin-top:32px}:host(.S\\:v-mb-size-32),.S\\:v-mb-size-32{margin-bottom:32px}:host(.S\\:v-mr-size-32),.S\\:v-mr-size-32{margin-right:32px}:host(.S\\:v-ml-size-32),.S\\:v-ml-size-32{margin-left:32px}:host(.S\\:v-m-size-40),.S\\:v-m-size-40{margin:40px}:host(.S\\:v-mx-size-40),.S\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.S\\:v-my-size-40),.S\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.S\\:v-mt-size-40),.S\\:v-mt-size-40{margin-top:40px}:host(.S\\:v-mb-size-40),.S\\:v-mb-size-40{margin-bottom:40px}:host(.S\\:v-mr-size-40),.S\\:v-mr-size-40{margin-right:40px}:host(.S\\:v-ml-size-40),.S\\:v-ml-size-40{margin-left:40px}:host(.S\\:v-m-size-48),.S\\:v-m-size-48{margin:48px}:host(.S\\:v-mx-size-48),.S\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.S\\:v-my-size-48),.S\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.S\\:v-mt-size-48),.S\\:v-mt-size-48{margin-top:48px}:host(.S\\:v-mb-size-48),.S\\:v-mb-size-48{margin-bottom:48px}:host(.S\\:v-mr-size-48),.S\\:v-mr-size-48{margin-right:48px}:host(.S\\:v-ml-size-48),.S\\:v-ml-size-48{margin-left:48px}:host(.S\\:v-m-size-64),.S\\:v-m-size-64{margin:64px}:host(.S\\:v-mx-size-64),.S\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.S\\:v-my-size-64),.S\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.S\\:v-mt-size-64),.S\\:v-mt-size-64{margin-top:64px}:host(.S\\:v-mb-size-64),.S\\:v-mb-size-64{margin-bottom:64px}:host(.S\\:v-mr-size-64),.S\\:v-mr-size-64{margin-right:64px}:host(.S\\:v-ml-size-64),.S\\:v-ml-size-64{margin-left:64px}:host(.S\\:v-m-size-72),.S\\:v-m-size-72{margin:72px}:host(.S\\:v-mx-size-72),.S\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.S\\:v-my-size-72),.S\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.S\\:v-mt-size-72),.S\\:v-mt-size-72{margin-top:72px}:host(.S\\:v-mb-size-72),.S\\:v-mb-size-72{margin-bottom:72px}:host(.S\\:v-mr-size-72),.S\\:v-mr-size-72{margin-right:72px}:host(.S\\:v-ml-size-72),.S\\:v-ml-size-72{margin-left:72px}:host(.S\\:v-m-size-80),.S\\:v-m-size-80{margin:80px}:host(.S\\:v-mx-size-80),.S\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.S\\:v-my-size-80),.S\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.S\\:v-mt-size-80),.S\\:v-mt-size-80{margin-top:80px}:host(.S\\:v-mb-size-80),.S\\:v-mb-size-80{margin-bottom:80px}:host(.S\\:v-mr-size-80),.S\\:v-mr-size-80{margin-right:80px}:host(.S\\:v-ml-size-80),.S\\:v-ml-size-80{margin-left:80px}:host(.S\\:v-m-size-112),.S\\:v-m-size-112{margin:112px}:host(.S\\:v-mx-size-112),.S\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.S\\:v-my-size-112),.S\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.S\\:v-mt-size-112),.S\\:v-mt-size-112{margin-top:112px}:host(.S\\:v-mb-size-112),.S\\:v-mb-size-112{margin-bottom:112px}:host(.S\\:v-mr-size-112),.S\\:v-mr-size-112{margin-right:112px}:host(.S\\:v-ml-size-112),.S\\:v-ml-size-112{margin-left:112px}:host(.S\\:v-m-size-2),.S\\:v-m-size-2{margin:2px}:host(.S\\:v-mx-size-2),.S\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.S\\:v-my-size-2),.S\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.S\\:v-mt-size-2),.S\\:v-mt-size-2{margin-top:2px}:host(.S\\:v-mb-size-2),.S\\:v-mb-size-2{margin-bottom:2px}:host(.S\\:v-mr-size-2),.S\\:v-mr-size-2{margin-right:2px}:host(.S\\:v-ml-size-2),.S\\:v-ml-size-2{margin-left:2px}:host(.S\\:v-m-auto),.S\\:v-m-auto{margin:auto}:host(.S\\:v-mx-auto),.S\\:v-mx-auto{margin-left:auto;margin-right:auto}:host(.S\\:v-my-auto),.S\\:v-my-auto{margin-top:auto;margin-bottom:auto}:host(.S\\:v-mt-auto),.S\\:v-mt-auto{margin-top:auto}:host(.S\\:v-mb-auto),.S\\:v-mb-auto{margin-bottom:auto}:host(.S\\:v-mr-auto),.S\\:v-mr-auto{margin-right:auto}:host(.S\\:v-ml-auto),.S\\:v-ml-auto{margin-left:auto}}@media (min-width: 768px){:host(.M\\:v-m-0),.M\\:v-m-0{margin:0px}:host(.M\\:v-mx-0),.M\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.M\\:v-my-0),.M\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.M\\:v-mt-0),.M\\:v-mt-0{margin-top:0px}:host(.M\\:v-mb-0),.M\\:v-mb-0{margin-bottom:0px}:host(.M\\:v-mr-0),.M\\:v-mr-0{margin-right:0px}:host(.M\\:v-ml-0),.M\\:v-ml-0{margin-left:0px}:host(.M\\:v-m-size-0),.M\\:v-m-size-0{margin:0px}:host(.M\\:v-mx-size-0),.M\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.M\\:v-my-size-0),.M\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.M\\:v-mt-size-0),.M\\:v-mt-size-0{margin-top:0px}:host(.M\\:v-mb-size-0),.M\\:v-mb-size-0{margin-bottom:0px}:host(.M\\:v-mr-size-0),.M\\:v-mr-size-0{margin-right:0px}:host(.M\\:v-ml-size-0),.M\\:v-ml-size-0{margin-left:0px}:host(.M\\:v-m-size-4),.M\\:v-m-size-4{margin:4px}:host(.M\\:v-mx-size-4),.M\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.M\\:v-my-size-4),.M\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.M\\:v-mt-size-4),.M\\:v-mt-size-4{margin-top:4px}:host(.M\\:v-mb-size-4),.M\\:v-mb-size-4{margin-bottom:4px}:host(.M\\:v-mr-size-4),.M\\:v-mr-size-4{margin-right:4px}:host(.M\\:v-ml-size-4),.M\\:v-ml-size-4{margin-left:4px}:host(.M\\:v-m-size-8),.M\\:v-m-size-8{margin:8px}:host(.M\\:v-mx-size-8),.M\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.M\\:v-my-size-8),.M\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.M\\:v-mt-size-8),.M\\:v-mt-size-8{margin-top:8px}:host(.M\\:v-mb-size-8),.M\\:v-mb-size-8{margin-bottom:8px}:host(.M\\:v-mr-size-8),.M\\:v-mr-size-8{margin-right:8px}:host(.M\\:v-ml-size-8),.M\\:v-ml-size-8{margin-left:8px}:host(.M\\:v-m-size-12),.M\\:v-m-size-12{margin:12px}:host(.M\\:v-mx-size-12),.M\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.M\\:v-my-size-12),.M\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.M\\:v-mt-size-12),.M\\:v-mt-size-12{margin-top:12px}:host(.M\\:v-mb-size-12),.M\\:v-mb-size-12{margin-bottom:12px}:host(.M\\:v-mr-size-12),.M\\:v-mr-size-12{margin-right:12px}:host(.M\\:v-ml-size-12),.M\\:v-ml-size-12{margin-left:12px}:host(.M\\:v-m-size-16),.M\\:v-m-size-16{margin:16px}:host(.M\\:v-mx-size-16),.M\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.M\\:v-my-size-16),.M\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.M\\:v-mt-size-16),.M\\:v-mt-size-16{margin-top:16px}:host(.M\\:v-mb-size-16),.M\\:v-mb-size-16{margin-bottom:16px}:host(.M\\:v-mr-size-16),.M\\:v-mr-size-16{margin-right:16px}:host(.M\\:v-ml-size-16),.M\\:v-ml-size-16{margin-left:16px}:host(.M\\:v-m-size-20),.M\\:v-m-size-20{margin:20px}:host(.M\\:v-mx-size-20),.M\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.M\\:v-my-size-20),.M\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.M\\:v-mt-size-20),.M\\:v-mt-size-20{margin-top:20px}:host(.M\\:v-mb-size-20),.M\\:v-mb-size-20{margin-bottom:20px}:host(.M\\:v-mr-size-20),.M\\:v-mr-size-20{margin-right:20px}:host(.M\\:v-ml-size-20),.M\\:v-ml-size-20{margin-left:20px}:host(.M\\:v-m-size-24),.M\\:v-m-size-24{margin:24px}:host(.M\\:v-mx-size-24),.M\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.M\\:v-my-size-24),.M\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.M\\:v-mt-size-24),.M\\:v-mt-size-24{margin-top:24px}:host(.M\\:v-mb-size-24),.M\\:v-mb-size-24{margin-bottom:24px}:host(.M\\:v-mr-size-24),.M\\:v-mr-size-24{margin-right:24px}:host(.M\\:v-ml-size-24),.M\\:v-ml-size-24{margin-left:24px}:host(.M\\:v-m-size-32),.M\\:v-m-size-32{margin:32px}:host(.M\\:v-mx-size-32),.M\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.M\\:v-my-size-32),.M\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.M\\:v-mt-size-32),.M\\:v-mt-size-32{margin-top:32px}:host(.M\\:v-mb-size-32),.M\\:v-mb-size-32{margin-bottom:32px}:host(.M\\:v-mr-size-32),.M\\:v-mr-size-32{margin-right:32px}:host(.M\\:v-ml-size-32),.M\\:v-ml-size-32{margin-left:32px}:host(.M\\:v-m-size-40),.M\\:v-m-size-40{margin:40px}:host(.M\\:v-mx-size-40),.M\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.M\\:v-my-size-40),.M\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.M\\:v-mt-size-40),.M\\:v-mt-size-40{margin-top:40px}:host(.M\\:v-mb-size-40),.M\\:v-mb-size-40{margin-bottom:40px}:host(.M\\:v-mr-size-40),.M\\:v-mr-size-40{margin-right:40px}:host(.M\\:v-ml-size-40),.M\\:v-ml-size-40{margin-left:40px}:host(.M\\:v-m-size-48),.M\\:v-m-size-48{margin:48px}:host(.M\\:v-mx-size-48),.M\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.M\\:v-my-size-48),.M\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.M\\:v-mt-size-48),.M\\:v-mt-size-48{margin-top:48px}:host(.M\\:v-mb-size-48),.M\\:v-mb-size-48{margin-bottom:48px}:host(.M\\:v-mr-size-48),.M\\:v-mr-size-48{margin-right:48px}:host(.M\\:v-ml-size-48),.M\\:v-ml-size-48{margin-left:48px}:host(.M\\:v-m-size-64),.M\\:v-m-size-64{margin:64px}:host(.M\\:v-mx-size-64),.M\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.M\\:v-my-size-64),.M\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.M\\:v-mt-size-64),.M\\:v-mt-size-64{margin-top:64px}:host(.M\\:v-mb-size-64),.M\\:v-mb-size-64{margin-bottom:64px}:host(.M\\:v-mr-size-64),.M\\:v-mr-size-64{margin-right:64px}:host(.M\\:v-ml-size-64),.M\\:v-ml-size-64{margin-left:64px}:host(.M\\:v-m-size-72),.M\\:v-m-size-72{margin:72px}:host(.M\\:v-mx-size-72),.M\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.M\\:v-my-size-72),.M\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.M\\:v-mt-size-72),.M\\:v-mt-size-72{margin-top:72px}:host(.M\\:v-mb-size-72),.M\\:v-mb-size-72{margin-bottom:72px}:host(.M\\:v-mr-size-72),.M\\:v-mr-size-72{margin-right:72px}:host(.M\\:v-ml-size-72),.M\\:v-ml-size-72{margin-left:72px}:host(.M\\:v-m-size-80),.M\\:v-m-size-80{margin:80px}:host(.M\\:v-mx-size-80),.M\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.M\\:v-my-size-80),.M\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.M\\:v-mt-size-80),.M\\:v-mt-size-80{margin-top:80px}:host(.M\\:v-mb-size-80),.M\\:v-mb-size-80{margin-bottom:80px}:host(.M\\:v-mr-size-80),.M\\:v-mr-size-80{margin-right:80px}:host(.M\\:v-ml-size-80),.M\\:v-ml-size-80{margin-left:80px}:host(.M\\:v-m-size-112),.M\\:v-m-size-112{margin:112px}:host(.M\\:v-mx-size-112),.M\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.M\\:v-my-size-112),.M\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.M\\:v-mt-size-112),.M\\:v-mt-size-112{margin-top:112px}:host(.M\\:v-mb-size-112),.M\\:v-mb-size-112{margin-bottom:112px}:host(.M\\:v-mr-size-112),.M\\:v-mr-size-112{margin-right:112px}:host(.M\\:v-ml-size-112),.M\\:v-ml-size-112{margin-left:112px}:host(.M\\:v-m-size-2),.M\\:v-m-size-2{margin:2px}:host(.M\\:v-mx-size-2),.M\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.M\\:v-my-size-2),.M\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.M\\:v-mt-size-2),.M\\:v-mt-size-2{margin-top:2px}:host(.M\\:v-mb-size-2),.M\\:v-mb-size-2{margin-bottom:2px}:host(.M\\:v-mr-size-2),.M\\:v-mr-size-2{margin-right:2px}:host(.M\\:v-ml-size-2),.M\\:v-ml-size-2{margin-left:2px}:host(.M\\:v-m-auto),.M\\:v-m-auto{margin:auto}:host(.M\\:v-mx-auto),.M\\:v-mx-auto{margin-left:auto;margin-right:auto}:host(.M\\:v-my-auto),.M\\:v-my-auto{margin-top:auto;margin-bottom:auto}:host(.M\\:v-mt-auto),.M\\:v-mt-auto{margin-top:auto}:host(.M\\:v-mb-auto),.M\\:v-mb-auto{margin-bottom:auto}:host(.M\\:v-mr-auto),.M\\:v-mr-auto{margin-right:auto}:host(.M\\:v-ml-auto),.M\\:v-ml-auto{margin-left:auto}}@media (min-width: 1024px){:host(.L\\:v-m-0),.L\\:v-m-0{margin:0px}:host(.L\\:v-mx-0),.L\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.L\\:v-my-0),.L\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.L\\:v-mt-0),.L\\:v-mt-0{margin-top:0px}:host(.L\\:v-mb-0),.L\\:v-mb-0{margin-bottom:0px}:host(.L\\:v-mr-0),.L\\:v-mr-0{margin-right:0px}:host(.L\\:v-ml-0),.L\\:v-ml-0{margin-left:0px}:host(.L\\:v-m-size-0),.L\\:v-m-size-0{margin:0px}:host(.L\\:v-mx-size-0),.L\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.L\\:v-my-size-0),.L\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.L\\:v-mt-size-0),.L\\:v-mt-size-0{margin-top:0px}:host(.L\\:v-mb-size-0),.L\\:v-mb-size-0{margin-bottom:0px}:host(.L\\:v-mr-size-0),.L\\:v-mr-size-0{margin-right:0px}:host(.L\\:v-ml-size-0),.L\\:v-ml-size-0{margin-left:0px}:host(.L\\:v-m-size-4),.L\\:v-m-size-4{margin:4px}:host(.L\\:v-mx-size-4),.L\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.L\\:v-my-size-4),.L\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.L\\:v-mt-size-4),.L\\:v-mt-size-4{margin-top:4px}:host(.L\\:v-mb-size-4),.L\\:v-mb-size-4{margin-bottom:4px}:host(.L\\:v-mr-size-4),.L\\:v-mr-size-4{margin-right:4px}:host(.L\\:v-ml-size-4),.L\\:v-ml-size-4{margin-left:4px}:host(.L\\:v-m-size-8),.L\\:v-m-size-8{margin:8px}:host(.L\\:v-mx-size-8),.L\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.L\\:v-my-size-8),.L\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.L\\:v-mt-size-8),.L\\:v-mt-size-8{margin-top:8px}:host(.L\\:v-mb-size-8),.L\\:v-mb-size-8{margin-bottom:8px}:host(.L\\:v-mr-size-8),.L\\:v-mr-size-8{margin-right:8px}:host(.L\\:v-ml-size-8),.L\\:v-ml-size-8{margin-left:8px}:host(.L\\:v-m-size-12),.L\\:v-m-size-12{margin:12px}:host(.L\\:v-mx-size-12),.L\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.L\\:v-my-size-12),.L\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.L\\:v-mt-size-12),.L\\:v-mt-size-12{margin-top:12px}:host(.L\\:v-mb-size-12),.L\\:v-mb-size-12{margin-bottom:12px}:host(.L\\:v-mr-size-12),.L\\:v-mr-size-12{margin-right:12px}:host(.L\\:v-ml-size-12),.L\\:v-ml-size-12{margin-left:12px}:host(.L\\:v-m-size-16),.L\\:v-m-size-16{margin:16px}:host(.L\\:v-mx-size-16),.L\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.L\\:v-my-size-16),.L\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.L\\:v-mt-size-16),.L\\:v-mt-size-16{margin-top:16px}:host(.L\\:v-mb-size-16),.L\\:v-mb-size-16{margin-bottom:16px}:host(.L\\:v-mr-size-16),.L\\:v-mr-size-16{margin-right:16px}:host(.L\\:v-ml-size-16),.L\\:v-ml-size-16{margin-left:16px}:host(.L\\:v-m-size-20),.L\\:v-m-size-20{margin:20px}:host(.L\\:v-mx-size-20),.L\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.L\\:v-my-size-20),.L\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.L\\:v-mt-size-20),.L\\:v-mt-size-20{margin-top:20px}:host(.L\\:v-mb-size-20),.L\\:v-mb-size-20{margin-bottom:20px}:host(.L\\:v-mr-size-20),.L\\:v-mr-size-20{margin-right:20px}:host(.L\\:v-ml-size-20),.L\\:v-ml-size-20{margin-left:20px}:host(.L\\:v-m-size-24),.L\\:v-m-size-24{margin:24px}:host(.L\\:v-mx-size-24),.L\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.L\\:v-my-size-24),.L\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.L\\:v-mt-size-24),.L\\:v-mt-size-24{margin-top:24px}:host(.L\\:v-mb-size-24),.L\\:v-mb-size-24{margin-bottom:24px}:host(.L\\:v-mr-size-24),.L\\:v-mr-size-24{margin-right:24px}:host(.L\\:v-ml-size-24),.L\\:v-ml-size-24{margin-left:24px}:host(.L\\:v-m-size-32),.L\\:v-m-size-32{margin:32px}:host(.L\\:v-mx-size-32),.L\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.L\\:v-my-size-32),.L\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.L\\:v-mt-size-32),.L\\:v-mt-size-32{margin-top:32px}:host(.L\\:v-mb-size-32),.L\\:v-mb-size-32{margin-bottom:32px}:host(.L\\:v-mr-size-32),.L\\:v-mr-size-32{margin-right:32px}:host(.L\\:v-ml-size-32),.L\\:v-ml-size-32{margin-left:32px}:host(.L\\:v-m-size-40),.L\\:v-m-size-40{margin:40px}:host(.L\\:v-mx-size-40),.L\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.L\\:v-my-size-40),.L\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.L\\:v-mt-size-40),.L\\:v-mt-size-40{margin-top:40px}:host(.L\\:v-mb-size-40),.L\\:v-mb-size-40{margin-bottom:40px}:host(.L\\:v-mr-size-40),.L\\:v-mr-size-40{margin-right:40px}:host(.L\\:v-ml-size-40),.L\\:v-ml-size-40{margin-left:40px}:host(.L\\:v-m-size-48),.L\\:v-m-size-48{margin:48px}:host(.L\\:v-mx-size-48),.L\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.L\\:v-my-size-48),.L\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.L\\:v-mt-size-48),.L\\:v-mt-size-48{margin-top:48px}:host(.L\\:v-mb-size-48),.L\\:v-mb-size-48{margin-bottom:48px}:host(.L\\:v-mr-size-48),.L\\:v-mr-size-48{margin-right:48px}:host(.L\\:v-ml-size-48),.L\\:v-ml-size-48{margin-left:48px}:host(.L\\:v-m-size-64),.L\\:v-m-size-64{margin:64px}:host(.L\\:v-mx-size-64),.L\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.L\\:v-my-size-64),.L\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.L\\:v-mt-size-64),.L\\:v-mt-size-64{margin-top:64px}:host(.L\\:v-mb-size-64),.L\\:v-mb-size-64{margin-bottom:64px}:host(.L\\:v-mr-size-64),.L\\:v-mr-size-64{margin-right:64px}:host(.L\\:v-ml-size-64),.L\\:v-ml-size-64{margin-left:64px}:host(.L\\:v-m-size-72),.L\\:v-m-size-72{margin:72px}:host(.L\\:v-mx-size-72),.L\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.L\\:v-my-size-72),.L\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.L\\:v-mt-size-72),.L\\:v-mt-size-72{margin-top:72px}:host(.L\\:v-mb-size-72),.L\\:v-mb-size-72{margin-bottom:72px}:host(.L\\:v-mr-size-72),.L\\:v-mr-size-72{margin-right:72px}:host(.L\\:v-ml-size-72),.L\\:v-ml-size-72{margin-left:72px}:host(.L\\:v-m-size-80),.L\\:v-m-size-80{margin:80px}:host(.L\\:v-mx-size-80),.L\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.L\\:v-my-size-80),.L\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.L\\:v-mt-size-80),.L\\:v-mt-size-80{margin-top:80px}:host(.L\\:v-mb-size-80),.L\\:v-mb-size-80{margin-bottom:80px}:host(.L\\:v-mr-size-80),.L\\:v-mr-size-80{margin-right:80px}:host(.L\\:v-ml-size-80),.L\\:v-ml-size-80{margin-left:80px}:host(.L\\:v-m-size-112),.L\\:v-m-size-112{margin:112px}:host(.L\\:v-mx-size-112),.L\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.L\\:v-my-size-112),.L\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.L\\:v-mt-size-112),.L\\:v-mt-size-112{margin-top:112px}:host(.L\\:v-mb-size-112),.L\\:v-mb-size-112{margin-bottom:112px}:host(.L\\:v-mr-size-112),.L\\:v-mr-size-112{margin-right:112px}:host(.L\\:v-ml-size-112),.L\\:v-ml-size-112{margin-left:112px}:host(.L\\:v-m-size-2),.L\\:v-m-size-2{margin:2px}:host(.L\\:v-mx-size-2),.L\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.L\\:v-my-size-2),.L\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.L\\:v-mt-size-2),.L\\:v-mt-size-2{margin-top:2px}:host(.L\\:v-mb-size-2),.L\\:v-mb-size-2{margin-bottom:2px}:host(.L\\:v-mr-size-2),.L\\:v-mr-size-2{margin-right:2px}:host(.L\\:v-ml-size-2),.L\\:v-ml-size-2{margin-left:2px}:host(.L\\:v-m-auto),.L\\:v-m-auto{margin:auto}:host(.L\\:v-mx-auto),.L\\:v-mx-auto{margin-left:auto;margin-right:auto}:host(.L\\:v-my-auto),.L\\:v-my-auto{margin-top:auto;margin-bottom:auto}:host(.L\\:v-mt-auto),.L\\:v-mt-auto{margin-top:auto}:host(.L\\:v-mb-auto),.L\\:v-mb-auto{margin-bottom:auto}:host(.L\\:v-mr-auto),.L\\:v-mr-auto{margin-right:auto}:host(.L\\:v-ml-auto),.L\\:v-ml-auto{margin-left:auto}}@media (min-width: 1440px){:host(.XL\\:v-m-0),.XL\\:v-m-0{margin:0px}:host(.XL\\:v-mx-0),.XL\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.XL\\:v-my-0),.XL\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.XL\\:v-mt-0),.XL\\:v-mt-0{margin-top:0px}:host(.XL\\:v-mb-0),.XL\\:v-mb-0{margin-bottom:0px}:host(.XL\\:v-mr-0),.XL\\:v-mr-0{margin-right:0px}:host(.XL\\:v-ml-0),.XL\\:v-ml-0{margin-left:0px}:host(.XL\\:v-m-size-0),.XL\\:v-m-size-0{margin:0px}:host(.XL\\:v-mx-size-0),.XL\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.XL\\:v-my-size-0),.XL\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.XL\\:v-mt-size-0),.XL\\:v-mt-size-0{margin-top:0px}:host(.XL\\:v-mb-size-0),.XL\\:v-mb-size-0{margin-bottom:0px}:host(.XL\\:v-mr-size-0),.XL\\:v-mr-size-0{margin-right:0px}:host(.XL\\:v-ml-size-0),.XL\\:v-ml-size-0{margin-left:0px}:host(.XL\\:v-m-size-4),.XL\\:v-m-size-4{margin:4px}:host(.XL\\:v-mx-size-4),.XL\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.XL\\:v-my-size-4),.XL\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.XL\\:v-mt-size-4),.XL\\:v-mt-size-4{margin-top:4px}:host(.XL\\:v-mb-size-4),.XL\\:v-mb-size-4{margin-bottom:4px}:host(.XL\\:v-mr-size-4),.XL\\:v-mr-size-4{margin-right:4px}:host(.XL\\:v-ml-size-4),.XL\\:v-ml-size-4{margin-left:4px}:host(.XL\\:v-m-size-8),.XL\\:v-m-size-8{margin:8px}:host(.XL\\:v-mx-size-8),.XL\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.XL\\:v-my-size-8),.XL\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.XL\\:v-mt-size-8),.XL\\:v-mt-size-8{margin-top:8px}:host(.XL\\:v-mb-size-8),.XL\\:v-mb-size-8{margin-bottom:8px}:host(.XL\\:v-mr-size-8),.XL\\:v-mr-size-8{margin-right:8px}:host(.XL\\:v-ml-size-8),.XL\\:v-ml-size-8{margin-left:8px}:host(.XL\\:v-m-size-12),.XL\\:v-m-size-12{margin:12px}:host(.XL\\:v-mx-size-12),.XL\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.XL\\:v-my-size-12),.XL\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.XL\\:v-mt-size-12),.XL\\:v-mt-size-12{margin-top:12px}:host(.XL\\:v-mb-size-12),.XL\\:v-mb-size-12{margin-bottom:12px}:host(.XL\\:v-mr-size-12),.XL\\:v-mr-size-12{margin-right:12px}:host(.XL\\:v-ml-size-12),.XL\\:v-ml-size-12{margin-left:12px}:host(.XL\\:v-m-size-16),.XL\\:v-m-size-16{margin:16px}:host(.XL\\:v-mx-size-16),.XL\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.XL\\:v-my-size-16),.XL\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.XL\\:v-mt-size-16),.XL\\:v-mt-size-16{margin-top:16px}:host(.XL\\:v-mb-size-16),.XL\\:v-mb-size-16{margin-bottom:16px}:host(.XL\\:v-mr-size-16),.XL\\:v-mr-size-16{margin-right:16px}:host(.XL\\:v-ml-size-16),.XL\\:v-ml-size-16{margin-left:16px}:host(.XL\\:v-m-size-20),.XL\\:v-m-size-20{margin:20px}:host(.XL\\:v-mx-size-20),.XL\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.XL\\:v-my-size-20),.XL\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.XL\\:v-mt-size-20),.XL\\:v-mt-size-20{margin-top:20px}:host(.XL\\:v-mb-size-20),.XL\\:v-mb-size-20{margin-bottom:20px}:host(.XL\\:v-mr-size-20),.XL\\:v-mr-size-20{margin-right:20px}:host(.XL\\:v-ml-size-20),.XL\\:v-ml-size-20{margin-left:20px}:host(.XL\\:v-m-size-24),.XL\\:v-m-size-24{margin:24px}:host(.XL\\:v-mx-size-24),.XL\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.XL\\:v-my-size-24),.XL\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.XL\\:v-mt-size-24),.XL\\:v-mt-size-24{margin-top:24px}:host(.XL\\:v-mb-size-24),.XL\\:v-mb-size-24{margin-bottom:24px}:host(.XL\\:v-mr-size-24),.XL\\:v-mr-size-24{margin-right:24px}:host(.XL\\:v-ml-size-24),.XL\\:v-ml-size-24{margin-left:24px}:host(.XL\\:v-m-size-32),.XL\\:v-m-size-32{margin:32px}:host(.XL\\:v-mx-size-32),.XL\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.XL\\:v-my-size-32),.XL\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.XL\\:v-mt-size-32),.XL\\:v-mt-size-32{margin-top:32px}:host(.XL\\:v-mb-size-32),.XL\\:v-mb-size-32{margin-bottom:32px}:host(.XL\\:v-mr-size-32),.XL\\:v-mr-size-32{margin-right:32px}:host(.XL\\:v-ml-size-32),.XL\\:v-ml-size-32{margin-left:32px}:host(.XL\\:v-m-size-40),.XL\\:v-m-size-40{margin:40px}:host(.XL\\:v-mx-size-40),.XL\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.XL\\:v-my-size-40),.XL\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.XL\\:v-mt-size-40),.XL\\:v-mt-size-40{margin-top:40px}:host(.XL\\:v-mb-size-40),.XL\\:v-mb-size-40{margin-bottom:40px}:host(.XL\\:v-mr-size-40),.XL\\:v-mr-size-40{margin-right:40px}:host(.XL\\:v-ml-size-40),.XL\\:v-ml-size-40{margin-left:40px}:host(.XL\\:v-m-size-48),.XL\\:v-m-size-48{margin:48px}:host(.XL\\:v-mx-size-48),.XL\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.XL\\:v-my-size-48),.XL\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.XL\\:v-mt-size-48),.XL\\:v-mt-size-48{margin-top:48px}:host(.XL\\:v-mb-size-48),.XL\\:v-mb-size-48{margin-bottom:48px}:host(.XL\\:v-mr-size-48),.XL\\:v-mr-size-48{margin-right:48px}:host(.XL\\:v-ml-size-48),.XL\\:v-ml-size-48{margin-left:48px}:host(.XL\\:v-m-size-64),.XL\\:v-m-size-64{margin:64px}:host(.XL\\:v-mx-size-64),.XL\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.XL\\:v-my-size-64),.XL\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.XL\\:v-mt-size-64),.XL\\:v-mt-size-64{margin-top:64px}:host(.XL\\:v-mb-size-64),.XL\\:v-mb-size-64{margin-bottom:64px}:host(.XL\\:v-mr-size-64),.XL\\:v-mr-size-64{margin-right:64px}:host(.XL\\:v-ml-size-64),.XL\\:v-ml-size-64{margin-left:64px}:host(.XL\\:v-m-size-72),.XL\\:v-m-size-72{margin:72px}:host(.XL\\:v-mx-size-72),.XL\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.XL\\:v-my-size-72),.XL\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.XL\\:v-mt-size-72),.XL\\:v-mt-size-72{margin-top:72px}:host(.XL\\:v-mb-size-72),.XL\\:v-mb-size-72{margin-bottom:72px}:host(.XL\\:v-mr-size-72),.XL\\:v-mr-size-72{margin-right:72px}:host(.XL\\:v-ml-size-72),.XL\\:v-ml-size-72{margin-left:72px}:host(.XL\\:v-m-size-80),.XL\\:v-m-size-80{margin:80px}:host(.XL\\:v-mx-size-80),.XL\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.XL\\:v-my-size-80),.XL\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.XL\\:v-mt-size-80),.XL\\:v-mt-size-80{margin-top:80px}:host(.XL\\:v-mb-size-80),.XL\\:v-mb-size-80{margin-bottom:80px}:host(.XL\\:v-mr-size-80),.XL\\:v-mr-size-80{margin-right:80px}:host(.XL\\:v-ml-size-80),.XL\\:v-ml-size-80{margin-left:80px}:host(.XL\\:v-m-size-112),.XL\\:v-m-size-112{margin:112px}:host(.XL\\:v-mx-size-112),.XL\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.XL\\:v-my-size-112),.XL\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.XL\\:v-mt-size-112),.XL\\:v-mt-size-112{margin-top:112px}:host(.XL\\:v-mb-size-112),.XL\\:v-mb-size-112{margin-bottom:112px}:host(.XL\\:v-mr-size-112),.XL\\:v-mr-size-112{margin-right:112px}:host(.XL\\:v-ml-size-112),.XL\\:v-ml-size-112{margin-left:112px}:host(.XL\\:v-m-size-2),.XL\\:v-m-size-2{margin:2px}:host(.XL\\:v-mx-size-2),.XL\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.XL\\:v-my-size-2),.XL\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.XL\\:v-mt-size-2),.XL\\:v-mt-size-2{margin-top:2px}:host(.XL\\:v-mb-size-2),.XL\\:v-mb-size-2{margin-bottom:2px}:host(.XL\\:v-mr-size-2),.XL\\:v-mr-size-2{margin-right:2px}:host(.XL\\:v-ml-size-2),.XL\\:v-ml-size-2{margin-left:2px}:host(.XL\\:v-m-auto),.XL\\:v-m-auto{margin:auto}:host(.XL\\:v-mx-auto),.XL\\:v-mx-auto{margin-left:auto;margin-right:auto}:host(.XL\\:v-my-auto),.XL\\:v-my-auto{margin-top:auto;margin-bottom:auto}:host(.XL\\:v-mt-auto),.XL\\:v-mt-auto{margin-top:auto}:host(.XL\\:v-mb-auto),.XL\\:v-mb-auto{margin-bottom:auto}:host(.XL\\:v-mr-auto),.XL\\:v-mr-auto{margin-right:auto}:host(.XL\\:v-ml-auto),.XL\\:v-ml-auto{margin-left:auto}}:host(.vega-divider-horizontal){display:block;height:1px;width:100%}:host(.vega-divider-vertical){display:inline-block;width:1px;height:100%}:host(.vega-divider-primary){background-color:rgba(var(--v-bg-divider, 171, 198, 216, 1))}:host(.vega-divider-secondary){background-color:rgba(var(--v-bg-divider-secondary, 199, 217, 229, 1))}";export{S as vega_divider}
|
|
1
|
+
import{r as m,h as i,H as t,g as s}from"./p-6b2342e0.js";import{s as e}from"./p-519a7d55.js";import{c as o,V as v,I as r}from"./p-6e1ab235.js";import{V as z,I as g}from"./p-8ce9e214.js";import{R as p}from"./p-8561537b.js";import{h as a}from"./p-25983017.js";import{f as x}from"./p-34cb5cbd.js";import{P as n}from"./p-81dd00d0.js";import{g as h}from"./p-49a2e141.js";import"./p-d4ea8e22.js";import"./p-262ec334.js";import"./p-0c667d6a.js";import"./p-ed45b3b6.js";import"./p-d27ae9ff.js";import"./p-dcf162e9.js";import"./p-982747ef.js";import"./p-d884c644.js";import"./p-43ed14c4.js";import"./p-2d0d575f.js";import"./p-a528714c.js";import"./p-1c5bf527.js";import"./p-b75ee3ba.js";var L=function(m,i,t,s){var e,o=arguments.length,v=o<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,t):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)v=Reflect.decorate(m,i,t,s);else for(var r=m.length-1;r>=0;r--)(e=m[r])&&(v=(o<3?e(v):o>3?e(i,t,v):e(i,t))||v);return o>3&&v&&Object.defineProperty(i,t,v),v};class l extends v{getSize(){const m={},i=p.formatCustom(this.direction),t=p.formatCustom(this.margin);return"vertical"===i?m.height=`calc(100% - ${this.getDirectionMargin(t,"top")}px - ${this.getDirectionMargin(t,"bottom")}px)`:m.width=`calc(100% - ${this.getDirectionMargin(t,"left")}px - ${this.getDirectionMargin(t,"right")}px)`,m}getDirectionMargin(m,i){const t="string"==typeof m?m:["top","bottom"].includes(i)?m.y||m[i]:m.x||m[i];return t&&"auto"!==t?a[t]:0}}L([o()],l.prototype,"host",void 0),L([o()],l.prototype,"direction",void 0),L([o()],l.prototype,"margin",void 0);var b=function(m,i,t,s){var e,o=arguments.length,v=o<3?i:null===s?s=Object.getOwnPropertyDescriptor(i,t):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)v=Reflect.decorate(m,i,t,s);else for(var r=m.length-1;r>=0;r--)(e=m[r])&&(v=(o<3?e(v):o>3?e(i,t,v):e(i,t))||v);return o>3&&v&&Object.defineProperty(i,t,v),v};const S=class{constructor(i){m(this,i),this.globalSlimmers={},this.pageResizeObserverSlimmer=new n,this.sizeController=new l,this.vegaComponentUsageRuntimeMetricsSlimmer=new z,this.currentBreakpoint=h(),this.direction="horizontal",this.variant="primary",this.margin="0"}render(){return e(i(t,{class:{[`vega-divider-${p.formatCustom(this.direction)}`]:!0,[`vega-divider-${this.variant}`]:!0,[x(this.margin,"margin")]:!0},style:this.sizeController.getSize()}),this.host)}get host(){return s(this)}};b([g()],S.prototype,"globalSlimmers",void 0),b([r()],S.prototype,"pageResizeObserverSlimmer",void 0),b([r()],S.prototype,"sizeController",void 0),b([r()],S.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),S.style=":host(.v-m-0),.v-m-0{margin:0px}:host(.v-mx-0),.v-mx-0{margin-left:0px;margin-right:0px}:host(.v-my-0),.v-my-0{margin-top:0px;margin-bottom:0px}:host(.v-mt-0),.v-mt-0{margin-top:0px}:host(.v-mb-0),.v-mb-0{margin-bottom:0px}:host(.v-mr-0),.v-mr-0{margin-right:0px}:host(.v-ml-0),.v-ml-0{margin-left:0px}:host(.v-m-size-0),.v-m-size-0{margin:0px}:host(.v-mx-size-0),.v-mx-size-0{margin-left:0px;margin-right:0px}:host(.v-my-size-0),.v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.v-mt-size-0),.v-mt-size-0{margin-top:0px}:host(.v-mb-size-0),.v-mb-size-0{margin-bottom:0px}:host(.v-mr-size-0),.v-mr-size-0{margin-right:0px}:host(.v-ml-size-0),.v-ml-size-0{margin-left:0px}:host(.v-m-size-4),.v-m-size-4{margin:4px}:host(.v-mx-size-4),.v-mx-size-4{margin-left:4px;margin-right:4px}:host(.v-my-size-4),.v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.v-mt-size-4),.v-mt-size-4{margin-top:4px}:host(.v-mb-size-4),.v-mb-size-4{margin-bottom:4px}:host(.v-mr-size-4),.v-mr-size-4{margin-right:4px}:host(.v-ml-size-4),.v-ml-size-4{margin-left:4px}:host(.v-m-size-8),.v-m-size-8{margin:8px}:host(.v-mx-size-8),.v-mx-size-8{margin-left:8px;margin-right:8px}:host(.v-my-size-8),.v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.v-mt-size-8),.v-mt-size-8{margin-top:8px}:host(.v-mb-size-8),.v-mb-size-8{margin-bottom:8px}:host(.v-mr-size-8),.v-mr-size-8{margin-right:8px}:host(.v-ml-size-8),.v-ml-size-8{margin-left:8px}:host(.v-m-size-12),.v-m-size-12{margin:12px}:host(.v-mx-size-12),.v-mx-size-12{margin-left:12px;margin-right:12px}:host(.v-my-size-12),.v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.v-mt-size-12),.v-mt-size-12{margin-top:12px}:host(.v-mb-size-12),.v-mb-size-12{margin-bottom:12px}:host(.v-mr-size-12),.v-mr-size-12{margin-right:12px}:host(.v-ml-size-12),.v-ml-size-12{margin-left:12px}:host(.v-m-size-16),.v-m-size-16{margin:16px}:host(.v-mx-size-16),.v-mx-size-16{margin-left:16px;margin-right:16px}:host(.v-my-size-16),.v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.v-mt-size-16),.v-mt-size-16{margin-top:16px}:host(.v-mb-size-16),.v-mb-size-16{margin-bottom:16px}:host(.v-mr-size-16),.v-mr-size-16{margin-right:16px}:host(.v-ml-size-16),.v-ml-size-16{margin-left:16px}:host(.v-m-size-20),.v-m-size-20{margin:20px}:host(.v-mx-size-20),.v-mx-size-20{margin-left:20px;margin-right:20px}:host(.v-my-size-20),.v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.v-mt-size-20),.v-mt-size-20{margin-top:20px}:host(.v-mb-size-20),.v-mb-size-20{margin-bottom:20px}:host(.v-mr-size-20),.v-mr-size-20{margin-right:20px}:host(.v-ml-size-20),.v-ml-size-20{margin-left:20px}:host(.v-m-size-24),.v-m-size-24{margin:24px}:host(.v-mx-size-24),.v-mx-size-24{margin-left:24px;margin-right:24px}:host(.v-my-size-24),.v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.v-mt-size-24),.v-mt-size-24{margin-top:24px}:host(.v-mb-size-24),.v-mb-size-24{margin-bottom:24px}:host(.v-mr-size-24),.v-mr-size-24{margin-right:24px}:host(.v-ml-size-24),.v-ml-size-24{margin-left:24px}:host(.v-m-size-32),.v-m-size-32{margin:32px}:host(.v-mx-size-32),.v-mx-size-32{margin-left:32px;margin-right:32px}:host(.v-my-size-32),.v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.v-mt-size-32),.v-mt-size-32{margin-top:32px}:host(.v-mb-size-32),.v-mb-size-32{margin-bottom:32px}:host(.v-mr-size-32),.v-mr-size-32{margin-right:32px}:host(.v-ml-size-32),.v-ml-size-32{margin-left:32px}:host(.v-m-size-40),.v-m-size-40{margin:40px}:host(.v-mx-size-40),.v-mx-size-40{margin-left:40px;margin-right:40px}:host(.v-my-size-40),.v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.v-mt-size-40),.v-mt-size-40{margin-top:40px}:host(.v-mb-size-40),.v-mb-size-40{margin-bottom:40px}:host(.v-mr-size-40),.v-mr-size-40{margin-right:40px}:host(.v-ml-size-40),.v-ml-size-40{margin-left:40px}:host(.v-m-size-48),.v-m-size-48{margin:48px}:host(.v-mx-size-48),.v-mx-size-48{margin-left:48px;margin-right:48px}:host(.v-my-size-48),.v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.v-mt-size-48),.v-mt-size-48{margin-top:48px}:host(.v-mb-size-48),.v-mb-size-48{margin-bottom:48px}:host(.v-mr-size-48),.v-mr-size-48{margin-right:48px}:host(.v-ml-size-48),.v-ml-size-48{margin-left:48px}:host(.v-m-size-64),.v-m-size-64{margin:64px}:host(.v-mx-size-64),.v-mx-size-64{margin-left:64px;margin-right:64px}:host(.v-my-size-64),.v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.v-mt-size-64),.v-mt-size-64{margin-top:64px}:host(.v-mb-size-64),.v-mb-size-64{margin-bottom:64px}:host(.v-mr-size-64),.v-mr-size-64{margin-right:64px}:host(.v-ml-size-64),.v-ml-size-64{margin-left:64px}:host(.v-m-size-72),.v-m-size-72{margin:72px}:host(.v-mx-size-72),.v-mx-size-72{margin-left:72px;margin-right:72px}:host(.v-my-size-72),.v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.v-mt-size-72),.v-mt-size-72{margin-top:72px}:host(.v-mb-size-72),.v-mb-size-72{margin-bottom:72px}:host(.v-mr-size-72),.v-mr-size-72{margin-right:72px}:host(.v-ml-size-72),.v-ml-size-72{margin-left:72px}:host(.v-m-size-80),.v-m-size-80{margin:80px}:host(.v-mx-size-80),.v-mx-size-80{margin-left:80px;margin-right:80px}:host(.v-my-size-80),.v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.v-mt-size-80),.v-mt-size-80{margin-top:80px}:host(.v-mb-size-80),.v-mb-size-80{margin-bottom:80px}:host(.v-mr-size-80),.v-mr-size-80{margin-right:80px}:host(.v-ml-size-80),.v-ml-size-80{margin-left:80px}:host(.v-m-size-112),.v-m-size-112{margin:112px}:host(.v-mx-size-112),.v-mx-size-112{margin-left:112px;margin-right:112px}:host(.v-my-size-112),.v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.v-mt-size-112),.v-mt-size-112{margin-top:112px}:host(.v-mb-size-112),.v-mb-size-112{margin-bottom:112px}:host(.v-mr-size-112),.v-mr-size-112{margin-right:112px}:host(.v-ml-size-112),.v-ml-size-112{margin-left:112px}:host(.v-m-size-2),.v-m-size-2{margin:2px}:host(.v-mx-size-2),.v-mx-size-2{margin-left:2px;margin-right:2px}:host(.v-my-size-2),.v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.v-mt-size-2),.v-mt-size-2{margin-top:2px}:host(.v-mb-size-2),.v-mb-size-2{margin-bottom:2px}:host(.v-mr-size-2),.v-mr-size-2{margin-right:2px}:host(.v-ml-size-2),.v-ml-size-2{margin-left:2px}:host(.v-m-auto),.v-m-auto{margin:auto}:host(.v-mx-auto),.v-mx-auto{margin-left:auto;margin-right:auto}:host(.v-my-auto),.v-my-auto{margin-top:auto;margin-bottom:auto}:host(.v-mt-auto),.v-mt-auto{margin-top:auto}:host(.v-mb-auto),.v-mb-auto{margin-bottom:auto}:host(.v-mr-auto),.v-mr-auto{margin-right:auto}:host(.v-ml-auto),.v-ml-auto{margin-left:auto}@media (min-width: 320px){:host(.S\\:v-m-0),.S\\:v-m-0{margin:0px}:host(.S\\:v-mx-0),.S\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.S\\:v-my-0),.S\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.S\\:v-mt-0),.S\\:v-mt-0{margin-top:0px}:host(.S\\:v-mb-0),.S\\:v-mb-0{margin-bottom:0px}:host(.S\\:v-mr-0),.S\\:v-mr-0{margin-right:0px}:host(.S\\:v-ml-0),.S\\:v-ml-0{margin-left:0px}:host(.S\\:v-m-size-0),.S\\:v-m-size-0{margin:0px}:host(.S\\:v-mx-size-0),.S\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.S\\:v-my-size-0),.S\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.S\\:v-mt-size-0),.S\\:v-mt-size-0{margin-top:0px}:host(.S\\:v-mb-size-0),.S\\:v-mb-size-0{margin-bottom:0px}:host(.S\\:v-mr-size-0),.S\\:v-mr-size-0{margin-right:0px}:host(.S\\:v-ml-size-0),.S\\:v-ml-size-0{margin-left:0px}:host(.S\\:v-m-size-4),.S\\:v-m-size-4{margin:4px}:host(.S\\:v-mx-size-4),.S\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.S\\:v-my-size-4),.S\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.S\\:v-mt-size-4),.S\\:v-mt-size-4{margin-top:4px}:host(.S\\:v-mb-size-4),.S\\:v-mb-size-4{margin-bottom:4px}:host(.S\\:v-mr-size-4),.S\\:v-mr-size-4{margin-right:4px}:host(.S\\:v-ml-size-4),.S\\:v-ml-size-4{margin-left:4px}:host(.S\\:v-m-size-8),.S\\:v-m-size-8{margin:8px}:host(.S\\:v-mx-size-8),.S\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.S\\:v-my-size-8),.S\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.S\\:v-mt-size-8),.S\\:v-mt-size-8{margin-top:8px}:host(.S\\:v-mb-size-8),.S\\:v-mb-size-8{margin-bottom:8px}:host(.S\\:v-mr-size-8),.S\\:v-mr-size-8{margin-right:8px}:host(.S\\:v-ml-size-8),.S\\:v-ml-size-8{margin-left:8px}:host(.S\\:v-m-size-12),.S\\:v-m-size-12{margin:12px}:host(.S\\:v-mx-size-12),.S\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.S\\:v-my-size-12),.S\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.S\\:v-mt-size-12),.S\\:v-mt-size-12{margin-top:12px}:host(.S\\:v-mb-size-12),.S\\:v-mb-size-12{margin-bottom:12px}:host(.S\\:v-mr-size-12),.S\\:v-mr-size-12{margin-right:12px}:host(.S\\:v-ml-size-12),.S\\:v-ml-size-12{margin-left:12px}:host(.S\\:v-m-size-16),.S\\:v-m-size-16{margin:16px}:host(.S\\:v-mx-size-16),.S\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.S\\:v-my-size-16),.S\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.S\\:v-mt-size-16),.S\\:v-mt-size-16{margin-top:16px}:host(.S\\:v-mb-size-16),.S\\:v-mb-size-16{margin-bottom:16px}:host(.S\\:v-mr-size-16),.S\\:v-mr-size-16{margin-right:16px}:host(.S\\:v-ml-size-16),.S\\:v-ml-size-16{margin-left:16px}:host(.S\\:v-m-size-20),.S\\:v-m-size-20{margin:20px}:host(.S\\:v-mx-size-20),.S\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.S\\:v-my-size-20),.S\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.S\\:v-mt-size-20),.S\\:v-mt-size-20{margin-top:20px}:host(.S\\:v-mb-size-20),.S\\:v-mb-size-20{margin-bottom:20px}:host(.S\\:v-mr-size-20),.S\\:v-mr-size-20{margin-right:20px}:host(.S\\:v-ml-size-20),.S\\:v-ml-size-20{margin-left:20px}:host(.S\\:v-m-size-24),.S\\:v-m-size-24{margin:24px}:host(.S\\:v-mx-size-24),.S\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.S\\:v-my-size-24),.S\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.S\\:v-mt-size-24),.S\\:v-mt-size-24{margin-top:24px}:host(.S\\:v-mb-size-24),.S\\:v-mb-size-24{margin-bottom:24px}:host(.S\\:v-mr-size-24),.S\\:v-mr-size-24{margin-right:24px}:host(.S\\:v-ml-size-24),.S\\:v-ml-size-24{margin-left:24px}:host(.S\\:v-m-size-32),.S\\:v-m-size-32{margin:32px}:host(.S\\:v-mx-size-32),.S\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.S\\:v-my-size-32),.S\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.S\\:v-mt-size-32),.S\\:v-mt-size-32{margin-top:32px}:host(.S\\:v-mb-size-32),.S\\:v-mb-size-32{margin-bottom:32px}:host(.S\\:v-mr-size-32),.S\\:v-mr-size-32{margin-right:32px}:host(.S\\:v-ml-size-32),.S\\:v-ml-size-32{margin-left:32px}:host(.S\\:v-m-size-40),.S\\:v-m-size-40{margin:40px}:host(.S\\:v-mx-size-40),.S\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.S\\:v-my-size-40),.S\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.S\\:v-mt-size-40),.S\\:v-mt-size-40{margin-top:40px}:host(.S\\:v-mb-size-40),.S\\:v-mb-size-40{margin-bottom:40px}:host(.S\\:v-mr-size-40),.S\\:v-mr-size-40{margin-right:40px}:host(.S\\:v-ml-size-40),.S\\:v-ml-size-40{margin-left:40px}:host(.S\\:v-m-size-48),.S\\:v-m-size-48{margin:48px}:host(.S\\:v-mx-size-48),.S\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.S\\:v-my-size-48),.S\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.S\\:v-mt-size-48),.S\\:v-mt-size-48{margin-top:48px}:host(.S\\:v-mb-size-48),.S\\:v-mb-size-48{margin-bottom:48px}:host(.S\\:v-mr-size-48),.S\\:v-mr-size-48{margin-right:48px}:host(.S\\:v-ml-size-48),.S\\:v-ml-size-48{margin-left:48px}:host(.S\\:v-m-size-64),.S\\:v-m-size-64{margin:64px}:host(.S\\:v-mx-size-64),.S\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.S\\:v-my-size-64),.S\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.S\\:v-mt-size-64),.S\\:v-mt-size-64{margin-top:64px}:host(.S\\:v-mb-size-64),.S\\:v-mb-size-64{margin-bottom:64px}:host(.S\\:v-mr-size-64),.S\\:v-mr-size-64{margin-right:64px}:host(.S\\:v-ml-size-64),.S\\:v-ml-size-64{margin-left:64px}:host(.S\\:v-m-size-72),.S\\:v-m-size-72{margin:72px}:host(.S\\:v-mx-size-72),.S\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.S\\:v-my-size-72),.S\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.S\\:v-mt-size-72),.S\\:v-mt-size-72{margin-top:72px}:host(.S\\:v-mb-size-72),.S\\:v-mb-size-72{margin-bottom:72px}:host(.S\\:v-mr-size-72),.S\\:v-mr-size-72{margin-right:72px}:host(.S\\:v-ml-size-72),.S\\:v-ml-size-72{margin-left:72px}:host(.S\\:v-m-size-80),.S\\:v-m-size-80{margin:80px}:host(.S\\:v-mx-size-80),.S\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.S\\:v-my-size-80),.S\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.S\\:v-mt-size-80),.S\\:v-mt-size-80{margin-top:80px}:host(.S\\:v-mb-size-80),.S\\:v-mb-size-80{margin-bottom:80px}:host(.S\\:v-mr-size-80),.S\\:v-mr-size-80{margin-right:80px}:host(.S\\:v-ml-size-80),.S\\:v-ml-size-80{margin-left:80px}:host(.S\\:v-m-size-112),.S\\:v-m-size-112{margin:112px}:host(.S\\:v-mx-size-112),.S\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.S\\:v-my-size-112),.S\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.S\\:v-mt-size-112),.S\\:v-mt-size-112{margin-top:112px}:host(.S\\:v-mb-size-112),.S\\:v-mb-size-112{margin-bottom:112px}:host(.S\\:v-mr-size-112),.S\\:v-mr-size-112{margin-right:112px}:host(.S\\:v-ml-size-112),.S\\:v-ml-size-112{margin-left:112px}:host(.S\\:v-m-size-2),.S\\:v-m-size-2{margin:2px}:host(.S\\:v-mx-size-2),.S\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.S\\:v-my-size-2),.S\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.S\\:v-mt-size-2),.S\\:v-mt-size-2{margin-top:2px}:host(.S\\:v-mb-size-2),.S\\:v-mb-size-2{margin-bottom:2px}:host(.S\\:v-mr-size-2),.S\\:v-mr-size-2{margin-right:2px}:host(.S\\:v-ml-size-2),.S\\:v-ml-size-2{margin-left:2px}:host(.S\\:v-m-auto),.S\\:v-m-auto{margin:auto}:host(.S\\:v-mx-auto),.S\\:v-mx-auto{margin-left:auto;margin-right:auto}:host(.S\\:v-my-auto),.S\\:v-my-auto{margin-top:auto;margin-bottom:auto}:host(.S\\:v-mt-auto),.S\\:v-mt-auto{margin-top:auto}:host(.S\\:v-mb-auto),.S\\:v-mb-auto{margin-bottom:auto}:host(.S\\:v-mr-auto),.S\\:v-mr-auto{margin-right:auto}:host(.S\\:v-ml-auto),.S\\:v-ml-auto{margin-left:auto}}@media (min-width: 768px){:host(.M\\:v-m-0),.M\\:v-m-0{margin:0px}:host(.M\\:v-mx-0),.M\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.M\\:v-my-0),.M\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.M\\:v-mt-0),.M\\:v-mt-0{margin-top:0px}:host(.M\\:v-mb-0),.M\\:v-mb-0{margin-bottom:0px}:host(.M\\:v-mr-0),.M\\:v-mr-0{margin-right:0px}:host(.M\\:v-ml-0),.M\\:v-ml-0{margin-left:0px}:host(.M\\:v-m-size-0),.M\\:v-m-size-0{margin:0px}:host(.M\\:v-mx-size-0),.M\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.M\\:v-my-size-0),.M\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.M\\:v-mt-size-0),.M\\:v-mt-size-0{margin-top:0px}:host(.M\\:v-mb-size-0),.M\\:v-mb-size-0{margin-bottom:0px}:host(.M\\:v-mr-size-0),.M\\:v-mr-size-0{margin-right:0px}:host(.M\\:v-ml-size-0),.M\\:v-ml-size-0{margin-left:0px}:host(.M\\:v-m-size-4),.M\\:v-m-size-4{margin:4px}:host(.M\\:v-mx-size-4),.M\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.M\\:v-my-size-4),.M\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.M\\:v-mt-size-4),.M\\:v-mt-size-4{margin-top:4px}:host(.M\\:v-mb-size-4),.M\\:v-mb-size-4{margin-bottom:4px}:host(.M\\:v-mr-size-4),.M\\:v-mr-size-4{margin-right:4px}:host(.M\\:v-ml-size-4),.M\\:v-ml-size-4{margin-left:4px}:host(.M\\:v-m-size-8),.M\\:v-m-size-8{margin:8px}:host(.M\\:v-mx-size-8),.M\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.M\\:v-my-size-8),.M\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.M\\:v-mt-size-8),.M\\:v-mt-size-8{margin-top:8px}:host(.M\\:v-mb-size-8),.M\\:v-mb-size-8{margin-bottom:8px}:host(.M\\:v-mr-size-8),.M\\:v-mr-size-8{margin-right:8px}:host(.M\\:v-ml-size-8),.M\\:v-ml-size-8{margin-left:8px}:host(.M\\:v-m-size-12),.M\\:v-m-size-12{margin:12px}:host(.M\\:v-mx-size-12),.M\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.M\\:v-my-size-12),.M\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.M\\:v-mt-size-12),.M\\:v-mt-size-12{margin-top:12px}:host(.M\\:v-mb-size-12),.M\\:v-mb-size-12{margin-bottom:12px}:host(.M\\:v-mr-size-12),.M\\:v-mr-size-12{margin-right:12px}:host(.M\\:v-ml-size-12),.M\\:v-ml-size-12{margin-left:12px}:host(.M\\:v-m-size-16),.M\\:v-m-size-16{margin:16px}:host(.M\\:v-mx-size-16),.M\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.M\\:v-my-size-16),.M\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.M\\:v-mt-size-16),.M\\:v-mt-size-16{margin-top:16px}:host(.M\\:v-mb-size-16),.M\\:v-mb-size-16{margin-bottom:16px}:host(.M\\:v-mr-size-16),.M\\:v-mr-size-16{margin-right:16px}:host(.M\\:v-ml-size-16),.M\\:v-ml-size-16{margin-left:16px}:host(.M\\:v-m-size-20),.M\\:v-m-size-20{margin:20px}:host(.M\\:v-mx-size-20),.M\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.M\\:v-my-size-20),.M\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.M\\:v-mt-size-20),.M\\:v-mt-size-20{margin-top:20px}:host(.M\\:v-mb-size-20),.M\\:v-mb-size-20{margin-bottom:20px}:host(.M\\:v-mr-size-20),.M\\:v-mr-size-20{margin-right:20px}:host(.M\\:v-ml-size-20),.M\\:v-ml-size-20{margin-left:20px}:host(.M\\:v-m-size-24),.M\\:v-m-size-24{margin:24px}:host(.M\\:v-mx-size-24),.M\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.M\\:v-my-size-24),.M\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.M\\:v-mt-size-24),.M\\:v-mt-size-24{margin-top:24px}:host(.M\\:v-mb-size-24),.M\\:v-mb-size-24{margin-bottom:24px}:host(.M\\:v-mr-size-24),.M\\:v-mr-size-24{margin-right:24px}:host(.M\\:v-ml-size-24),.M\\:v-ml-size-24{margin-left:24px}:host(.M\\:v-m-size-32),.M\\:v-m-size-32{margin:32px}:host(.M\\:v-mx-size-32),.M\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.M\\:v-my-size-32),.M\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.M\\:v-mt-size-32),.M\\:v-mt-size-32{margin-top:32px}:host(.M\\:v-mb-size-32),.M\\:v-mb-size-32{margin-bottom:32px}:host(.M\\:v-mr-size-32),.M\\:v-mr-size-32{margin-right:32px}:host(.M\\:v-ml-size-32),.M\\:v-ml-size-32{margin-left:32px}:host(.M\\:v-m-size-40),.M\\:v-m-size-40{margin:40px}:host(.M\\:v-mx-size-40),.M\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.M\\:v-my-size-40),.M\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.M\\:v-mt-size-40),.M\\:v-mt-size-40{margin-top:40px}:host(.M\\:v-mb-size-40),.M\\:v-mb-size-40{margin-bottom:40px}:host(.M\\:v-mr-size-40),.M\\:v-mr-size-40{margin-right:40px}:host(.M\\:v-ml-size-40),.M\\:v-ml-size-40{margin-left:40px}:host(.M\\:v-m-size-48),.M\\:v-m-size-48{margin:48px}:host(.M\\:v-mx-size-48),.M\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.M\\:v-my-size-48),.M\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.M\\:v-mt-size-48),.M\\:v-mt-size-48{margin-top:48px}:host(.M\\:v-mb-size-48),.M\\:v-mb-size-48{margin-bottom:48px}:host(.M\\:v-mr-size-48),.M\\:v-mr-size-48{margin-right:48px}:host(.M\\:v-ml-size-48),.M\\:v-ml-size-48{margin-left:48px}:host(.M\\:v-m-size-64),.M\\:v-m-size-64{margin:64px}:host(.M\\:v-mx-size-64),.M\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.M\\:v-my-size-64),.M\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.M\\:v-mt-size-64),.M\\:v-mt-size-64{margin-top:64px}:host(.M\\:v-mb-size-64),.M\\:v-mb-size-64{margin-bottom:64px}:host(.M\\:v-mr-size-64),.M\\:v-mr-size-64{margin-right:64px}:host(.M\\:v-ml-size-64),.M\\:v-ml-size-64{margin-left:64px}:host(.M\\:v-m-size-72),.M\\:v-m-size-72{margin:72px}:host(.M\\:v-mx-size-72),.M\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.M\\:v-my-size-72),.M\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.M\\:v-mt-size-72),.M\\:v-mt-size-72{margin-top:72px}:host(.M\\:v-mb-size-72),.M\\:v-mb-size-72{margin-bottom:72px}:host(.M\\:v-mr-size-72),.M\\:v-mr-size-72{margin-right:72px}:host(.M\\:v-ml-size-72),.M\\:v-ml-size-72{margin-left:72px}:host(.M\\:v-m-size-80),.M\\:v-m-size-80{margin:80px}:host(.M\\:v-mx-size-80),.M\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.M\\:v-my-size-80),.M\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.M\\:v-mt-size-80),.M\\:v-mt-size-80{margin-top:80px}:host(.M\\:v-mb-size-80),.M\\:v-mb-size-80{margin-bottom:80px}:host(.M\\:v-mr-size-80),.M\\:v-mr-size-80{margin-right:80px}:host(.M\\:v-ml-size-80),.M\\:v-ml-size-80{margin-left:80px}:host(.M\\:v-m-size-112),.M\\:v-m-size-112{margin:112px}:host(.M\\:v-mx-size-112),.M\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.M\\:v-my-size-112),.M\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.M\\:v-mt-size-112),.M\\:v-mt-size-112{margin-top:112px}:host(.M\\:v-mb-size-112),.M\\:v-mb-size-112{margin-bottom:112px}:host(.M\\:v-mr-size-112),.M\\:v-mr-size-112{margin-right:112px}:host(.M\\:v-ml-size-112),.M\\:v-ml-size-112{margin-left:112px}:host(.M\\:v-m-size-2),.M\\:v-m-size-2{margin:2px}:host(.M\\:v-mx-size-2),.M\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.M\\:v-my-size-2),.M\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.M\\:v-mt-size-2),.M\\:v-mt-size-2{margin-top:2px}:host(.M\\:v-mb-size-2),.M\\:v-mb-size-2{margin-bottom:2px}:host(.M\\:v-mr-size-2),.M\\:v-mr-size-2{margin-right:2px}:host(.M\\:v-ml-size-2),.M\\:v-ml-size-2{margin-left:2px}:host(.M\\:v-m-auto),.M\\:v-m-auto{margin:auto}:host(.M\\:v-mx-auto),.M\\:v-mx-auto{margin-left:auto;margin-right:auto}:host(.M\\:v-my-auto),.M\\:v-my-auto{margin-top:auto;margin-bottom:auto}:host(.M\\:v-mt-auto),.M\\:v-mt-auto{margin-top:auto}:host(.M\\:v-mb-auto),.M\\:v-mb-auto{margin-bottom:auto}:host(.M\\:v-mr-auto),.M\\:v-mr-auto{margin-right:auto}:host(.M\\:v-ml-auto),.M\\:v-ml-auto{margin-left:auto}}@media (min-width: 1024px){:host(.L\\:v-m-0),.L\\:v-m-0{margin:0px}:host(.L\\:v-mx-0),.L\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.L\\:v-my-0),.L\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.L\\:v-mt-0),.L\\:v-mt-0{margin-top:0px}:host(.L\\:v-mb-0),.L\\:v-mb-0{margin-bottom:0px}:host(.L\\:v-mr-0),.L\\:v-mr-0{margin-right:0px}:host(.L\\:v-ml-0),.L\\:v-ml-0{margin-left:0px}:host(.L\\:v-m-size-0),.L\\:v-m-size-0{margin:0px}:host(.L\\:v-mx-size-0),.L\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.L\\:v-my-size-0),.L\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.L\\:v-mt-size-0),.L\\:v-mt-size-0{margin-top:0px}:host(.L\\:v-mb-size-0),.L\\:v-mb-size-0{margin-bottom:0px}:host(.L\\:v-mr-size-0),.L\\:v-mr-size-0{margin-right:0px}:host(.L\\:v-ml-size-0),.L\\:v-ml-size-0{margin-left:0px}:host(.L\\:v-m-size-4),.L\\:v-m-size-4{margin:4px}:host(.L\\:v-mx-size-4),.L\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.L\\:v-my-size-4),.L\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.L\\:v-mt-size-4),.L\\:v-mt-size-4{margin-top:4px}:host(.L\\:v-mb-size-4),.L\\:v-mb-size-4{margin-bottom:4px}:host(.L\\:v-mr-size-4),.L\\:v-mr-size-4{margin-right:4px}:host(.L\\:v-ml-size-4),.L\\:v-ml-size-4{margin-left:4px}:host(.L\\:v-m-size-8),.L\\:v-m-size-8{margin:8px}:host(.L\\:v-mx-size-8),.L\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.L\\:v-my-size-8),.L\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.L\\:v-mt-size-8),.L\\:v-mt-size-8{margin-top:8px}:host(.L\\:v-mb-size-8),.L\\:v-mb-size-8{margin-bottom:8px}:host(.L\\:v-mr-size-8),.L\\:v-mr-size-8{margin-right:8px}:host(.L\\:v-ml-size-8),.L\\:v-ml-size-8{margin-left:8px}:host(.L\\:v-m-size-12),.L\\:v-m-size-12{margin:12px}:host(.L\\:v-mx-size-12),.L\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.L\\:v-my-size-12),.L\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.L\\:v-mt-size-12),.L\\:v-mt-size-12{margin-top:12px}:host(.L\\:v-mb-size-12),.L\\:v-mb-size-12{margin-bottom:12px}:host(.L\\:v-mr-size-12),.L\\:v-mr-size-12{margin-right:12px}:host(.L\\:v-ml-size-12),.L\\:v-ml-size-12{margin-left:12px}:host(.L\\:v-m-size-16),.L\\:v-m-size-16{margin:16px}:host(.L\\:v-mx-size-16),.L\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.L\\:v-my-size-16),.L\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.L\\:v-mt-size-16),.L\\:v-mt-size-16{margin-top:16px}:host(.L\\:v-mb-size-16),.L\\:v-mb-size-16{margin-bottom:16px}:host(.L\\:v-mr-size-16),.L\\:v-mr-size-16{margin-right:16px}:host(.L\\:v-ml-size-16),.L\\:v-ml-size-16{margin-left:16px}:host(.L\\:v-m-size-20),.L\\:v-m-size-20{margin:20px}:host(.L\\:v-mx-size-20),.L\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.L\\:v-my-size-20),.L\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.L\\:v-mt-size-20),.L\\:v-mt-size-20{margin-top:20px}:host(.L\\:v-mb-size-20),.L\\:v-mb-size-20{margin-bottom:20px}:host(.L\\:v-mr-size-20),.L\\:v-mr-size-20{margin-right:20px}:host(.L\\:v-ml-size-20),.L\\:v-ml-size-20{margin-left:20px}:host(.L\\:v-m-size-24),.L\\:v-m-size-24{margin:24px}:host(.L\\:v-mx-size-24),.L\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.L\\:v-my-size-24),.L\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.L\\:v-mt-size-24),.L\\:v-mt-size-24{margin-top:24px}:host(.L\\:v-mb-size-24),.L\\:v-mb-size-24{margin-bottom:24px}:host(.L\\:v-mr-size-24),.L\\:v-mr-size-24{margin-right:24px}:host(.L\\:v-ml-size-24),.L\\:v-ml-size-24{margin-left:24px}:host(.L\\:v-m-size-32),.L\\:v-m-size-32{margin:32px}:host(.L\\:v-mx-size-32),.L\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.L\\:v-my-size-32),.L\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.L\\:v-mt-size-32),.L\\:v-mt-size-32{margin-top:32px}:host(.L\\:v-mb-size-32),.L\\:v-mb-size-32{margin-bottom:32px}:host(.L\\:v-mr-size-32),.L\\:v-mr-size-32{margin-right:32px}:host(.L\\:v-ml-size-32),.L\\:v-ml-size-32{margin-left:32px}:host(.L\\:v-m-size-40),.L\\:v-m-size-40{margin:40px}:host(.L\\:v-mx-size-40),.L\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.L\\:v-my-size-40),.L\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.L\\:v-mt-size-40),.L\\:v-mt-size-40{margin-top:40px}:host(.L\\:v-mb-size-40),.L\\:v-mb-size-40{margin-bottom:40px}:host(.L\\:v-mr-size-40),.L\\:v-mr-size-40{margin-right:40px}:host(.L\\:v-ml-size-40),.L\\:v-ml-size-40{margin-left:40px}:host(.L\\:v-m-size-48),.L\\:v-m-size-48{margin:48px}:host(.L\\:v-mx-size-48),.L\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.L\\:v-my-size-48),.L\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.L\\:v-mt-size-48),.L\\:v-mt-size-48{margin-top:48px}:host(.L\\:v-mb-size-48),.L\\:v-mb-size-48{margin-bottom:48px}:host(.L\\:v-mr-size-48),.L\\:v-mr-size-48{margin-right:48px}:host(.L\\:v-ml-size-48),.L\\:v-ml-size-48{margin-left:48px}:host(.L\\:v-m-size-64),.L\\:v-m-size-64{margin:64px}:host(.L\\:v-mx-size-64),.L\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.L\\:v-my-size-64),.L\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.L\\:v-mt-size-64),.L\\:v-mt-size-64{margin-top:64px}:host(.L\\:v-mb-size-64),.L\\:v-mb-size-64{margin-bottom:64px}:host(.L\\:v-mr-size-64),.L\\:v-mr-size-64{margin-right:64px}:host(.L\\:v-ml-size-64),.L\\:v-ml-size-64{margin-left:64px}:host(.L\\:v-m-size-72),.L\\:v-m-size-72{margin:72px}:host(.L\\:v-mx-size-72),.L\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.L\\:v-my-size-72),.L\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.L\\:v-mt-size-72),.L\\:v-mt-size-72{margin-top:72px}:host(.L\\:v-mb-size-72),.L\\:v-mb-size-72{margin-bottom:72px}:host(.L\\:v-mr-size-72),.L\\:v-mr-size-72{margin-right:72px}:host(.L\\:v-ml-size-72),.L\\:v-ml-size-72{margin-left:72px}:host(.L\\:v-m-size-80),.L\\:v-m-size-80{margin:80px}:host(.L\\:v-mx-size-80),.L\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.L\\:v-my-size-80),.L\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.L\\:v-mt-size-80),.L\\:v-mt-size-80{margin-top:80px}:host(.L\\:v-mb-size-80),.L\\:v-mb-size-80{margin-bottom:80px}:host(.L\\:v-mr-size-80),.L\\:v-mr-size-80{margin-right:80px}:host(.L\\:v-ml-size-80),.L\\:v-ml-size-80{margin-left:80px}:host(.L\\:v-m-size-112),.L\\:v-m-size-112{margin:112px}:host(.L\\:v-mx-size-112),.L\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.L\\:v-my-size-112),.L\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.L\\:v-mt-size-112),.L\\:v-mt-size-112{margin-top:112px}:host(.L\\:v-mb-size-112),.L\\:v-mb-size-112{margin-bottom:112px}:host(.L\\:v-mr-size-112),.L\\:v-mr-size-112{margin-right:112px}:host(.L\\:v-ml-size-112),.L\\:v-ml-size-112{margin-left:112px}:host(.L\\:v-m-size-2),.L\\:v-m-size-2{margin:2px}:host(.L\\:v-mx-size-2),.L\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.L\\:v-my-size-2),.L\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.L\\:v-mt-size-2),.L\\:v-mt-size-2{margin-top:2px}:host(.L\\:v-mb-size-2),.L\\:v-mb-size-2{margin-bottom:2px}:host(.L\\:v-mr-size-2),.L\\:v-mr-size-2{margin-right:2px}:host(.L\\:v-ml-size-2),.L\\:v-ml-size-2{margin-left:2px}:host(.L\\:v-m-auto),.L\\:v-m-auto{margin:auto}:host(.L\\:v-mx-auto),.L\\:v-mx-auto{margin-left:auto;margin-right:auto}:host(.L\\:v-my-auto),.L\\:v-my-auto{margin-top:auto;margin-bottom:auto}:host(.L\\:v-mt-auto),.L\\:v-mt-auto{margin-top:auto}:host(.L\\:v-mb-auto),.L\\:v-mb-auto{margin-bottom:auto}:host(.L\\:v-mr-auto),.L\\:v-mr-auto{margin-right:auto}:host(.L\\:v-ml-auto),.L\\:v-ml-auto{margin-left:auto}}@media (min-width: 1440px){:host(.XL\\:v-m-0),.XL\\:v-m-0{margin:0px}:host(.XL\\:v-mx-0),.XL\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.XL\\:v-my-0),.XL\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.XL\\:v-mt-0),.XL\\:v-mt-0{margin-top:0px}:host(.XL\\:v-mb-0),.XL\\:v-mb-0{margin-bottom:0px}:host(.XL\\:v-mr-0),.XL\\:v-mr-0{margin-right:0px}:host(.XL\\:v-ml-0),.XL\\:v-ml-0{margin-left:0px}:host(.XL\\:v-m-size-0),.XL\\:v-m-size-0{margin:0px}:host(.XL\\:v-mx-size-0),.XL\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.XL\\:v-my-size-0),.XL\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.XL\\:v-mt-size-0),.XL\\:v-mt-size-0{margin-top:0px}:host(.XL\\:v-mb-size-0),.XL\\:v-mb-size-0{margin-bottom:0px}:host(.XL\\:v-mr-size-0),.XL\\:v-mr-size-0{margin-right:0px}:host(.XL\\:v-ml-size-0),.XL\\:v-ml-size-0{margin-left:0px}:host(.XL\\:v-m-size-4),.XL\\:v-m-size-4{margin:4px}:host(.XL\\:v-mx-size-4),.XL\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.XL\\:v-my-size-4),.XL\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.XL\\:v-mt-size-4),.XL\\:v-mt-size-4{margin-top:4px}:host(.XL\\:v-mb-size-4),.XL\\:v-mb-size-4{margin-bottom:4px}:host(.XL\\:v-mr-size-4),.XL\\:v-mr-size-4{margin-right:4px}:host(.XL\\:v-ml-size-4),.XL\\:v-ml-size-4{margin-left:4px}:host(.XL\\:v-m-size-8),.XL\\:v-m-size-8{margin:8px}:host(.XL\\:v-mx-size-8),.XL\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.XL\\:v-my-size-8),.XL\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.XL\\:v-mt-size-8),.XL\\:v-mt-size-8{margin-top:8px}:host(.XL\\:v-mb-size-8),.XL\\:v-mb-size-8{margin-bottom:8px}:host(.XL\\:v-mr-size-8),.XL\\:v-mr-size-8{margin-right:8px}:host(.XL\\:v-ml-size-8),.XL\\:v-ml-size-8{margin-left:8px}:host(.XL\\:v-m-size-12),.XL\\:v-m-size-12{margin:12px}:host(.XL\\:v-mx-size-12),.XL\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.XL\\:v-my-size-12),.XL\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.XL\\:v-mt-size-12),.XL\\:v-mt-size-12{margin-top:12px}:host(.XL\\:v-mb-size-12),.XL\\:v-mb-size-12{margin-bottom:12px}:host(.XL\\:v-mr-size-12),.XL\\:v-mr-size-12{margin-right:12px}:host(.XL\\:v-ml-size-12),.XL\\:v-ml-size-12{margin-left:12px}:host(.XL\\:v-m-size-16),.XL\\:v-m-size-16{margin:16px}:host(.XL\\:v-mx-size-16),.XL\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.XL\\:v-my-size-16),.XL\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.XL\\:v-mt-size-16),.XL\\:v-mt-size-16{margin-top:16px}:host(.XL\\:v-mb-size-16),.XL\\:v-mb-size-16{margin-bottom:16px}:host(.XL\\:v-mr-size-16),.XL\\:v-mr-size-16{margin-right:16px}:host(.XL\\:v-ml-size-16),.XL\\:v-ml-size-16{margin-left:16px}:host(.XL\\:v-m-size-20),.XL\\:v-m-size-20{margin:20px}:host(.XL\\:v-mx-size-20),.XL\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.XL\\:v-my-size-20),.XL\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.XL\\:v-mt-size-20),.XL\\:v-mt-size-20{margin-top:20px}:host(.XL\\:v-mb-size-20),.XL\\:v-mb-size-20{margin-bottom:20px}:host(.XL\\:v-mr-size-20),.XL\\:v-mr-size-20{margin-right:20px}:host(.XL\\:v-ml-size-20),.XL\\:v-ml-size-20{margin-left:20px}:host(.XL\\:v-m-size-24),.XL\\:v-m-size-24{margin:24px}:host(.XL\\:v-mx-size-24),.XL\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.XL\\:v-my-size-24),.XL\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.XL\\:v-mt-size-24),.XL\\:v-mt-size-24{margin-top:24px}:host(.XL\\:v-mb-size-24),.XL\\:v-mb-size-24{margin-bottom:24px}:host(.XL\\:v-mr-size-24),.XL\\:v-mr-size-24{margin-right:24px}:host(.XL\\:v-ml-size-24),.XL\\:v-ml-size-24{margin-left:24px}:host(.XL\\:v-m-size-32),.XL\\:v-m-size-32{margin:32px}:host(.XL\\:v-mx-size-32),.XL\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.XL\\:v-my-size-32),.XL\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.XL\\:v-mt-size-32),.XL\\:v-mt-size-32{margin-top:32px}:host(.XL\\:v-mb-size-32),.XL\\:v-mb-size-32{margin-bottom:32px}:host(.XL\\:v-mr-size-32),.XL\\:v-mr-size-32{margin-right:32px}:host(.XL\\:v-ml-size-32),.XL\\:v-ml-size-32{margin-left:32px}:host(.XL\\:v-m-size-40),.XL\\:v-m-size-40{margin:40px}:host(.XL\\:v-mx-size-40),.XL\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.XL\\:v-my-size-40),.XL\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.XL\\:v-mt-size-40),.XL\\:v-mt-size-40{margin-top:40px}:host(.XL\\:v-mb-size-40),.XL\\:v-mb-size-40{margin-bottom:40px}:host(.XL\\:v-mr-size-40),.XL\\:v-mr-size-40{margin-right:40px}:host(.XL\\:v-ml-size-40),.XL\\:v-ml-size-40{margin-left:40px}:host(.XL\\:v-m-size-48),.XL\\:v-m-size-48{margin:48px}:host(.XL\\:v-mx-size-48),.XL\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.XL\\:v-my-size-48),.XL\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.XL\\:v-mt-size-48),.XL\\:v-mt-size-48{margin-top:48px}:host(.XL\\:v-mb-size-48),.XL\\:v-mb-size-48{margin-bottom:48px}:host(.XL\\:v-mr-size-48),.XL\\:v-mr-size-48{margin-right:48px}:host(.XL\\:v-ml-size-48),.XL\\:v-ml-size-48{margin-left:48px}:host(.XL\\:v-m-size-64),.XL\\:v-m-size-64{margin:64px}:host(.XL\\:v-mx-size-64),.XL\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.XL\\:v-my-size-64),.XL\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.XL\\:v-mt-size-64),.XL\\:v-mt-size-64{margin-top:64px}:host(.XL\\:v-mb-size-64),.XL\\:v-mb-size-64{margin-bottom:64px}:host(.XL\\:v-mr-size-64),.XL\\:v-mr-size-64{margin-right:64px}:host(.XL\\:v-ml-size-64),.XL\\:v-ml-size-64{margin-left:64px}:host(.XL\\:v-m-size-72),.XL\\:v-m-size-72{margin:72px}:host(.XL\\:v-mx-size-72),.XL\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.XL\\:v-my-size-72),.XL\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.XL\\:v-mt-size-72),.XL\\:v-mt-size-72{margin-top:72px}:host(.XL\\:v-mb-size-72),.XL\\:v-mb-size-72{margin-bottom:72px}:host(.XL\\:v-mr-size-72),.XL\\:v-mr-size-72{margin-right:72px}:host(.XL\\:v-ml-size-72),.XL\\:v-ml-size-72{margin-left:72px}:host(.XL\\:v-m-size-80),.XL\\:v-m-size-80{margin:80px}:host(.XL\\:v-mx-size-80),.XL\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.XL\\:v-my-size-80),.XL\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.XL\\:v-mt-size-80),.XL\\:v-mt-size-80{margin-top:80px}:host(.XL\\:v-mb-size-80),.XL\\:v-mb-size-80{margin-bottom:80px}:host(.XL\\:v-mr-size-80),.XL\\:v-mr-size-80{margin-right:80px}:host(.XL\\:v-ml-size-80),.XL\\:v-ml-size-80{margin-left:80px}:host(.XL\\:v-m-size-112),.XL\\:v-m-size-112{margin:112px}:host(.XL\\:v-mx-size-112),.XL\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.XL\\:v-my-size-112),.XL\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.XL\\:v-mt-size-112),.XL\\:v-mt-size-112{margin-top:112px}:host(.XL\\:v-mb-size-112),.XL\\:v-mb-size-112{margin-bottom:112px}:host(.XL\\:v-mr-size-112),.XL\\:v-mr-size-112{margin-right:112px}:host(.XL\\:v-ml-size-112),.XL\\:v-ml-size-112{margin-left:112px}:host(.XL\\:v-m-size-2),.XL\\:v-m-size-2{margin:2px}:host(.XL\\:v-mx-size-2),.XL\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.XL\\:v-my-size-2),.XL\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.XL\\:v-mt-size-2),.XL\\:v-mt-size-2{margin-top:2px}:host(.XL\\:v-mb-size-2),.XL\\:v-mb-size-2{margin-bottom:2px}:host(.XL\\:v-mr-size-2),.XL\\:v-mr-size-2{margin-right:2px}:host(.XL\\:v-ml-size-2),.XL\\:v-ml-size-2{margin-left:2px}:host(.XL\\:v-m-auto),.XL\\:v-m-auto{margin:auto}:host(.XL\\:v-mx-auto),.XL\\:v-mx-auto{margin-left:auto;margin-right:auto}:host(.XL\\:v-my-auto),.XL\\:v-my-auto{margin-top:auto;margin-bottom:auto}:host(.XL\\:v-mt-auto),.XL\\:v-mt-auto{margin-top:auto}:host(.XL\\:v-mb-auto),.XL\\:v-mb-auto{margin-bottom:auto}:host(.XL\\:v-mr-auto),.XL\\:v-mr-auto{margin-right:auto}:host(.XL\\:v-ml-auto),.XL\\:v-ml-auto{margin-left:auto}}:host(.vega-divider-horizontal){display:block;height:1px;width:100%}:host(.vega-divider-vertical){display:inline-block;width:1px;height:100%}:host(.vega-divider-primary){background-color:rgba(var(--v-bg-divider, 171, 198, 216, 1))}:host(.vega-divider-secondary){background-color:rgba(var(--v-bg-divider-secondary, 199, 217, 229, 1))}";export{S as vega_divider}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as o,g as s}from"./p-6b2342e0.js";import{I as r}from"./p-6e1ab235.js";import{V as a,I as n}from"./p-
|
|
1
|
+
import{r as t,h as e,H as o,g as s}from"./p-6b2342e0.js";import{I as r}from"./p-6e1ab235.js";import{V as a,I as n}from"./p-8ce9e214.js";import{s as i}from"./p-519a7d55.js";var l=function(t,e,o,s){var r,a=arguments.length,n=a<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,o):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,s);else for(var i=t.length-1;i>=0;i--)(r=t[i])&&(n=(a<3?r(n):a>3?r(e,o,n):r(e,o))||n);return a>3&&n&&Object.defineProperty(e,o,n),n};const c=class{constructor(e){t(this,e),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new a}render(){return i(e(o,null,e("vega-box",{padding:{x:"size-8",top:"size-4"}},e("vega-font",{variant:"font-footnote1-short",color:"text-secondary"},e("slot",null)))),this.host)}get host(){return s(this)}};l([n()],c.prototype,"globalSlimmers",void 0),l([r()],c.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0);export{c as vega_hint}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as i,h as t,H as a,g as r}from"./p-6b2342e0.js";import{c as o}from"./p-6ac8e655.js";import{s as n}from"./p-519a7d55.js";import{C as s}from"./p-2d0d575f.js";import{R as l,h as d,F as h}from"./p-a528714c.js";import{O as c}from"./p-331a62d5.js";import{f as p}from"./p-ec2a1d4c.js";import{c as g,M as v,V as f,I as b}from"./p-6e1ab235.js";import{V as m,I as u}from"./p-4415ad28.js";import{c as x}from"./p-de7109d3.js";import{i as w,G as y,H as j}from"./p-9af0e2e7.js";import{h as R}from"./p-6c43d54a.js";import{d as k}from"./p-11e2dcf5.js";import{R as I}from"./p-280cbcdb.js";import{C}from"./p-75b58efe.js";import{F as O}from"./p-b2df5cb1.js";import{C as E}from"./p-77fb5d5c.js";import{C as A}from"./p-e27626f6.js";import{K as V}from"./p-dbdc9e35.js";import{M as z}from"./p-78a57a17.js";import{T as D}from"./p-52b8f2d2.js";import"./p-6a334573.js";import"./p-f1c672e4.js";import"./p-b75ee3ba.js";import"./p-abd7aeaa.js";import"./p-02841589.js";import"./p-8b5d3a52.js";import"./p-3b791b5d.js";import"./p-f0e828d8.js";import"./p-81dd00d0.js";import"./p-49a2e141.js";import"./p-d4ea8e22.js";import"./p-ed45b3b6.js";import"./p-d27ae9ff.js";import"./p-262ec334.js";import"./p-158108ea.js";import"./p-5f377954.js";import"./p-18e8d9b7.js";import"./p-5a25014f.js";import"./p-70cd4efd.js";import"./p-e4c4ea35.js";import"./p-d884c644.js";var G=function(e,i,t,a){var r,o=arguments.length,n=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(o<3?r(n):o>3?r(i,t,n):r(i,t))||n);return o>3&&n&&Object.defineProperty(i,t,n),n};class F extends f{connectedCallback(){this.radioGroup=p(this.host,"vega-radio-group")||p(this.host,"vega-selection-tile-group"),this.radioGroup&&(this.fieldErrorObserver=new c(this.canAcceptFieldErrorObserver.bind(this),this.fieldErrorObserverListener.bind(this)),s.register(k.getSubject(this.radioGroup,R),this.fieldErrorObserver))}disconnectedCallback(){this.radioGroup&&s.unregister(k.getSubject(this.radioGroup,R),this.fieldErrorObserver)}canAcceptFieldErrorObserver(e){return("VEGA-RADIO-GROUP"===e.host.tagName||"VEGA-SELECTION-TILE-GROUP"===e.host.tagName)&&this.radioGroup===e.host}fieldErrorObserverListener(e){this.showError=e.showError}}G([g({writable:!0})],F.prototype,"showError",void 0),G([g()],F.prototype,"host",void 0),G([v("connectedCallback")],F.prototype,"connectedCallback",null),G([v("disconnectedCallback")],F.prototype,"disconnectedCallback",null);var L=function(e,i,t,a){var r,o=arguments.length,n=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(o<3?r(n):o>3?r(i,t,n):r(i,t))||n);return o>3&&n&&Object.defineProperty(i,t,n),n};const N=class{constructor(t){e(this,t),this.vegaFocus=i(this,"vegaFocus",7),this.focus=i(this,"focus",7),this.vegaBlur=i(this,"vegaBlur",7),this.blur=i(this,"blur",7),this.vegaChange=i(this,"vegaChange",7),this.change=i(this,"change",7),this.globalSlimmers={},this.changeEventEmitter=x(N,w),this.focusEventEmitter=x(N,y),this.blurEventEmitter=x(N,j),this.vegaRadioShowErrorController=new F,this.vegaComponentUsageRuntimeMetricsSlimmer=new m,this.groupDisabled=!1,this.showError=!1,this.value="",this.checked=!1,this.disabled=!1,this.size="default",this.updateValue=e=>{this.checked=e.currentTarget.checked,e.stopPropagation()},this.handleFocus=e=>{this.focusEventEmitter.emit(e,e)},this.handleBlur=e=>{this.blurEventEmitter.emit(e,e)},this.handleClick=e=>{e.stopPropagation()}}watchCheckedChange(){this.changeEventEmitter.emit(this.checked),s.notify(l,{host:this.host,detail:this.checked})}connectedCallback(){this.ariaLabel=this.host.textContent,""==this.ariaLabel&&(this.ariaLabel=this.value)}disconnectedCallback(){this.unRegisterGroupDisabledObserver()}componentDidLoad(){""===this.host.textContent&&this.labelElement.classList.add("vega-hidden"),this.initAndRegisterGroupDisabledObserver()}render(){var e;const i="VEGA-RADIO-GROUP"==(null===(e=this.host.parentElement)||void 0===e?void 0:e.nodeName);return n(t(a,{class:{"vega-flex-shrink-0 v-min-w-min":i}},t("label",{class:{"vega-radio-container":!0,[this.size]:!0,"vega-radio-checked":this.checked,"vega-radio-disabled":this.isDisabled(),error:this.showError}},t("input",{type:"radio",name:this.name,checked:this.checked,value:this.value,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleClick,onChange:this.updateValue,"aria-label":this.ariaLabel||"No label defined",disabled:this.isDisabled(),tabIndex:this.isDisabled()?-1:0,onKeyDown:o()}),t("span",{class:"vega-radio-icon"},t("span",{class:"vega-radio-circle"})),t("div",{class:"vega-radio-label",ref:e=>this.labelElement=e},t("slot",null)))),this.host)}isDisabled(){return this.disabled||this.groupDisabled}canAcceptGroupDisabledObserver(e){return p(this.host,"vega-radio-group")===e.host}groupDisabledObserverListener(e){this.groupDisabled=e.host.disabled}initAndRegisterGroupDisabledObserver(){p(this.host,"vega-radio-group")&&(this.groupDisabledObserver=new c(this.canAcceptGroupDisabledObserver.bind(this),this.groupDisabledObserverListener.bind(this)),s.register(d,this.groupDisabledObserver))}unRegisterGroupDisabledObserver(){this.groupDisabledObserver&&s.unregister(d,this.groupDisabledObserver)}get host(){return r(this)}static get watchers(){return{checked:["watchCheckedChange"]}}};L([u()],N.prototype,"globalSlimmers",void 0),L([b()],N.prototype,"changeEventEmitter",void 0),L([b()],N.prototype,"focusEventEmitter",void 0),L([b()],N.prototype,"blurEventEmitter",void 0),L([b()],N.prototype,"vegaRadioShowErrorController",void 0),L([b()],N.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),N.style=':host{display:inline-block;box-sizing:border-box;height:24px}.vega-radio-container{position:relative;display:inline-flex;gap:8px;cursor:not-allowed}.vega-radio-container:not(.vega-radio-disabled){cursor:pointer}.vega-radio-container input{position:absolute;left:0px;top:0px;opacity:0}.vega-radio-icon{display:inline-block;box-sizing:border-box;border-style:solid;border-radius:9999px;position:relative;left:0px;flex-shrink:0;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}.vega-radio-icon:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}.vega-radio-container.default .vega-radio-icon{width:24px;height:24px;padding:5px}.vega-radio-container.small .vega-radio-icon{width:16px;height:16px;padding:4px}.vega-radio-checked:hover .vega-radio-circle{background-color:rgba(var(--v-bg-action-hover, 4, 112, 236, 1))}.vega-radio-container input[type=radio]:focus-visible+.vega-radio-icon{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px}.vega-radio-container:not(.vega-radio-disabled):active .vega-radio-icon{border-width:1px;border-style:solid;border-color:rgba(var(--v-border-color-action-active, 29, 65, 195, 1))}.vega-radio-checked:active .vega-radio-circle{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1))}.vega-radio-checked .vega-radio-circle{display:block;width:100%;height:100%;border-radius:9999px;background-color:rgba(var(--v-bg-action, 19, 98, 226, 1))}.vega-radio-disabled .vega-radio-icon{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}.vega-radio-disabled .vega-radio-circle{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1))}.vega-radio-disabled:hover .vega-radio-circle{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1))}.vega-radio-container .vega-radio-label{display:inline-block;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}.vega-radio-container .vega-radio-label.vega-hidden{display:none}.vega-radio-container.default .vega-radio-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-radio-container.default .vega-radio-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-radio-container.default .vega-radio-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-radio-container.default .vega-radio-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}.vega-radio-container.small .vega-radio-label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-radio-container.small .vega-radio-label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-radio-container.small .vega-radio-label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-radio-container.small .vega-radio-label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}.vega-radio-disabled .vega-radio-label{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}label{-webkit-tap-highlight-color:transparent}.vega-radio-container.error .vega-radio-icon{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}.vega-radio-container.error:hover .vega-radio-icon{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}.vega-radio-container.error input[type=radio]:focus-visible+.vega-radio-icon{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:3px}.vega-radio-container.error:active .vega-radio-icon{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:3px}.vega-radio-checked.error .vega-radio-circle{background-color:rgba(var(--v-bg-danger, 189, 41, 71, 1))}.vega-radio-checked.error:hover .vega-radio-circle{background-color:rgba(var(--v-bg-danger-hover, 233, 71, 104, 1))}.vega-radio-checked.error:active .vega-radio-circle{background-color:rgba(var(--v-bg-danger-active, 230, 50, 87, 1))}';class S extends V{constructor(){super((e=>(e.setRadioArrayTabIndex(),[{keyCode:["ArrowUp","ArrowDown"],activeElementInScope:[e.host],callback:e=>{this.updateRadioFocusStates(e)}}])))}setRadioArrayTabIndex(){const e=this.getNotDisabledRadioArray();if(e){const i=e.findIndex((e=>e.checked)),t=i>-1?i:0;e.forEach(((e,i)=>{const a=i===t?"0":"-1";e.shadowRoot.querySelector("input").setAttribute("tabIndex",a)}))}}updateRadioFocusStates(e){const i=e.key,t=this.getNotDisabledRadioArray();if(!t||0===t.length)return;t.forEach((e=>e.shadowRoot.querySelector("input").setAttribute("tabIndex","-1")));const a=t.findIndex((i=>i===e.target));let r;"ArrowDown"===i?r=a===t.length-1?t[0]:t[a+1]:"ArrowUp"===i&&(r=0===a?t[t.length-1]:t[a-1]),r&&(r.shadowRoot.querySelector("input").focus(),r.checked=!0,r.shadowRoot.querySelector("input").tabIndex=0)}getNotDisabledRadioArray(){const e=Array.from(this.host.querySelectorAll("vega-radio"));if(e.length>0)return e.filter((e=>!e.disabled))}}!function(e,i,t,a){var r,o=arguments.length,n=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(o<3?r(n):o>3?r(i,t,n):r(i,t))||n);o>3&&n&&Object.defineProperty(i,t,n)}([g()],S.prototype,"host",void 0);var P=function(e,i,t,a){var r,o=arguments.length,n=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(o<3?r(n):o>3?r(i,t,n):r(i,t))||n);return o>3&&n&&Object.defineProperty(i,t,n),n};class U extends f{emitEventAndNotifyValueChangeSubject(e){this.changeEventEmitter.emit(e),s.notify(h,{host:this.host,detail:e})}setValue(e){this.value=e}}P([g()],U.prototype,"host",void 0),P([g({writable:!0})],U.prototype,"value",void 0),P([g()],U.prototype,"changeEventEmitter",void 0),P([g()],U.prototype,"radioItemsController",void 0),P([v("watchValue")],U.prototype,"emitEventAndNotifyValueChangeSubject",null);var M=function(e,i,t,a){var r,o=arguments.length,n=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(o<3?r(n):o>3?r(i,t,n):r(i,t))||n);return o>3&&n&&Object.defineProperty(i,t,n),n};class q extends f{constructor(){super(...arguments),this.vegaRadioArray=[]}componentWillLoad(){this.syncRadioArrayAndValue()}setRadioItemName(){this.vegaRadioArray.forEach((e=>{e.name=this.name?this.name:e.getAttribute("name")}))}setRadioItemCheckedByValue(e){this.vegaRadioArray.forEach((i=>{i.checked=i.value===e}))}syncRadioItemsStatus(){this.setRadioItemCheckedByValue(this.value),this.setRadioItemName()}getRadioItemsArray(){return this.vegaRadioArray}syncRadioArrayAndValue(){this.vegaRadioArray=Array.from(this.host.querySelectorAll("vega-radio")),this.vegaRadioArray.forEach((e=>{e.checked&&this.valueController.setValue(e.value)}))}}M([g()],q.prototype,"host",void 0),M([g()],q.prototype,"value",void 0),M([g()],q.prototype,"name",void 0),M([g()],q.prototype,"valueController",void 0),M([v("componentWillLoad")],q.prototype,"componentWillLoad",null),M([v("watchName")],q.prototype,"setRadioItemName",null),M([v("watchValue")],q.prototype,"setRadioItemCheckedByValue",null),M([v("componentDidLoad")],q.prototype,"syncRadioItemsStatus",null);var B=function(e,i,t,a){var r,o=arguments.length,n=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(o<3?r(n):o>3?r(i,t,n):r(i,t))||n);return o>3&&n&&Object.defineProperty(i,t,n),n};const T=class{constructor(t){e(this,t),this.vegaChange=i(this,"vegaChange",7),this.change=i(this,"change",7),this.globalSlimmers={},this.formFieldController=new O({propertyRules:[{propertyName:"required",ruleFactory:e=>e?new I:null}],inputContainerGetter:()=>this.inputContainerRef,touchableAreaGetter:()=>this.radioItemsController.getRadioItemsArray().map((e=>e.shadowRoot.querySelector("input"))),defaultValue:"",attributeGetter:e=>this[e],validationRulesName:"validationRules"}),this.radioValueChangeObserver=new E(l,(e=>this.childRadioValueChange(e))),this.radioEventPrevent=new A([w],(()=>this.vegaFlexElement)),this.slotMutationObserver=new z({options:{childList:!0},mutationFilter:D("VEGA-RADIO"),callback:()=>this.radioItemsController.syncRadioArrayAndValue()}),this.changeEventEmitter=x(T,w),this.keyboardController=new S,this.radioItemsController=new q,this.valueController=new U,this.vegaComponentUsageRuntimeMetricsSlimmer=new m,this.label="",this.value="",this.vegaFlexProp={},this.required=!1,this.hint="",this.isValid=null,this.disabled=!1,this.autoValidation=!0,this.validationRules=[],this.childRadioValueChange=e=>{e.detail&&this.valueController.setValue(e.host.value)}}async watchValue(e){}watchName(){}watchVegaFlexProp(){this.setVegaFlexProperty()}async watchDisabled(){this.notifyGroupDisabledChange()}watchValidationRules(){}componentWillLoad(){}componentDidLoad(){this.setVegaFlexProperty(),this.disabled&&this.notifyGroupDisabledChange()}render(){return n(t(a,{role:"radiogroup"},this.renderLabelDom(),t("div",{class:"vega-radio-container",ref:e=>this.inputContainerRef=e},t("vega-flex",{ref:e=>{this.vegaFlexElement=e}},t("slot",null))),this.renderHintDom()),this.host)}renderLabelDom(){return this.label&&t("div",{class:"vega-label"},t("label",{"aria-label":this.label},this.label,this.renderRequireDom()))}renderRequireDom(){return this.required?t("span",{class:"vega-require"},"*"):null}renderHintDom(){return this.hint&&t("div",{class:"vega-hint"},t("label",null,this.hint))}setVegaFlexProperty(){this.vegaFlexProp&&Object.assign(this.vegaFlexElement,{gap:"size-16",direction:"col"},this.vegaFlexProp)}notifyGroupDisabledChange(){s.notify(d,{host:this.host})}get host(){return r(this)}static get watchers(){return{value:["watchValue"],name:["watchName"],vegaFlexProp:["watchVegaFlexProp"],disabled:["watchDisabled"],validationRules:["watchValidationRules"]}}};B([u()],T.prototype,"globalSlimmers",void 0),B([b()],T.prototype,"formFieldController",void 0),B([b()],T.prototype,"radioValueChangeObserver",void 0),B([b()],T.prototype,"radioEventPrevent",void 0),B([b()],T.prototype,"slotMutationObserver",void 0),B([b()],T.prototype,"changeEventEmitter",void 0),B([b()],T.prototype,"keyboardController",void 0),B([b()],T.prototype,"radioItemsController",void 0),B([b()],T.prototype,"valueController",void 0),B([b()],T.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),B([C()],T.prototype,"watchVegaFlexProp",null),T.style=':host{display:block;text-align:left;line-height:normal}.vega-error{display:block;margin-top:12px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-error, 189, 41, 71, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}.vega-hidden{display:none}.vega-label{margin-bottom:16px}.vega-label label{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:30px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-label label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-label label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-label label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}.vega-require{color:rgba(var(--v-text-error, 189, 41, 71, 1));margin-left:4px}.vega-hint{padding-top:12px}.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}';export{N as vega_radio,T as vega_radio_group}
|
|
1
|
+
import{r as e,c as i,h as t,H as a,g as r}from"./p-6b2342e0.js";import{c as o}from"./p-6ac8e655.js";import{s as n}from"./p-519a7d55.js";import{C as s}from"./p-2d0d575f.js";import{R as l,h as d,F as c}from"./p-a528714c.js";import{O as h}from"./p-331a62d5.js";import{f as p}from"./p-ec2a1d4c.js";import{c as g,M as v,V as f,I as b}from"./p-6e1ab235.js";import{V as m,I as u}from"./p-8ce9e214.js";import{c as x}from"./p-de7109d3.js";import{i as w,G as y,H as j}from"./p-9af0e2e7.js";import{h as R}from"./p-6c43d54a.js";import{d as k}from"./p-11e2dcf5.js";import{R as I}from"./p-280cbcdb.js";import{C}from"./p-75b58efe.js";import{F as O}from"./p-ffc58d14.js";import{C as E}from"./p-77fb5d5c.js";import{C as A}from"./p-eca16761.js";import{K as V}from"./p-c4e71db7.js";import{M as z}from"./p-78a57a17.js";import{T as D}from"./p-52b8f2d2.js";import"./p-6a334573.js";import"./p-f1c672e4.js";import"./p-b75ee3ba.js";import"./p-abd7aeaa.js";import"./p-02841589.js";import"./p-8b5d3a52.js";import"./p-43ed14c4.js";import"./p-f0e828d8.js";import"./p-81dd00d0.js";import"./p-49a2e141.js";import"./p-d4ea8e22.js";import"./p-ed45b3b6.js";import"./p-d27ae9ff.js";import"./p-262ec334.js";import"./p-158108ea.js";import"./p-5f377954.js";import"./p-dcf162e9.js";import"./p-982747ef.js";import"./p-78ca326c.js";import"./p-25983017.js";import"./p-d884c644.js";var G=function(e,i,t,a){var r,o=arguments.length,n=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(o<3?r(n):o>3?r(i,t,n):r(i,t))||n);return o>3&&n&&Object.defineProperty(i,t,n),n};class F extends f{connectedCallback(){this.radioGroup=p(this.host,"vega-radio-group")||p(this.host,"vega-selection-tile-group"),this.radioGroup&&(this.fieldErrorObserver=new h(this.canAcceptFieldErrorObserver.bind(this),this.fieldErrorObserverListener.bind(this)),s.register(k.getSubject(this.radioGroup,R),this.fieldErrorObserver))}disconnectedCallback(){this.radioGroup&&s.unregister(k.getSubject(this.radioGroup,R),this.fieldErrorObserver)}canAcceptFieldErrorObserver(e){return("VEGA-RADIO-GROUP"===e.host.tagName||"VEGA-SELECTION-TILE-GROUP"===e.host.tagName)&&this.radioGroup===e.host}fieldErrorObserverListener(e){this.showError=e.showError}}G([g({writable:!0})],F.prototype,"showError",void 0),G([g()],F.prototype,"host",void 0),G([v("connectedCallback")],F.prototype,"connectedCallback",null),G([v("disconnectedCallback")],F.prototype,"disconnectedCallback",null);var L=function(e,i,t,a){var r,o=arguments.length,n=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(o<3?r(n):o>3?r(i,t,n):r(i,t))||n);return o>3&&n&&Object.defineProperty(i,t,n),n};const N=class{constructor(t){e(this,t),this.vegaFocus=i(this,"vegaFocus",7),this.focus=i(this,"focus",7),this.vegaBlur=i(this,"vegaBlur",7),this.blur=i(this,"blur",7),this.vegaChange=i(this,"vegaChange",7),this.change=i(this,"change",7),this.globalSlimmers={},this.changeEventEmitter=x(N,w),this.focusEventEmitter=x(N,y),this.blurEventEmitter=x(N,j),this.vegaRadioShowErrorController=new F,this.vegaComponentUsageRuntimeMetricsSlimmer=new m,this.groupDisabled=!1,this.showError=!1,this.value="",this.checked=!1,this.disabled=!1,this.size="default",this.updateValue=e=>{this.checked=e.currentTarget.checked,e.stopPropagation()},this.handleFocus=e=>{this.focusEventEmitter.emit(e,e)},this.handleBlur=e=>{this.blurEventEmitter.emit(e,e)},this.handleClick=e=>{e.stopPropagation()}}watchCheckedChange(){this.changeEventEmitter.emit(this.checked),s.notify(l,{host:this.host,detail:this.checked})}connectedCallback(){this.ariaLabel=this.host.textContent,""==this.ariaLabel&&(this.ariaLabel=this.value)}disconnectedCallback(){this.unRegisterGroupDisabledObserver()}componentDidLoad(){""===this.host.textContent&&this.labelElement.classList.add("vega-hidden"),this.initAndRegisterGroupDisabledObserver()}render(){var e;const i="VEGA-RADIO-GROUP"==(null===(e=this.host.parentElement)||void 0===e?void 0:e.nodeName);return n(t(a,{class:{"vega-flex-shrink-0 v-min-w-min":i}},t("label",{class:{"vega-radio-container":!0,[this.size]:!0,"vega-radio-checked":this.checked,"vega-radio-disabled":this.isDisabled(),error:this.showError}},t("input",{type:"radio",name:this.name,checked:this.checked,value:this.value,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleClick,onChange:this.updateValue,"aria-label":this.ariaLabel||"No label defined",disabled:this.isDisabled(),tabIndex:this.isDisabled()?-1:0,onKeyDown:o()}),t("span",{class:"vega-radio-icon"},t("span",{class:"vega-radio-circle"})),t("div",{class:"vega-radio-label",ref:e=>this.labelElement=e},t("slot",null)))),this.host)}isDisabled(){return this.disabled||this.groupDisabled}canAcceptGroupDisabledObserver(e){return p(this.host,"vega-radio-group")===e.host}groupDisabledObserverListener(e){this.groupDisabled=e.host.disabled}initAndRegisterGroupDisabledObserver(){p(this.host,"vega-radio-group")&&(this.groupDisabledObserver=new h(this.canAcceptGroupDisabledObserver.bind(this),this.groupDisabledObserverListener.bind(this)),s.register(d,this.groupDisabledObserver))}unRegisterGroupDisabledObserver(){this.groupDisabledObserver&&s.unregister(d,this.groupDisabledObserver)}get host(){return r(this)}static get watchers(){return{checked:["watchCheckedChange"]}}};L([u()],N.prototype,"globalSlimmers",void 0),L([b()],N.prototype,"changeEventEmitter",void 0),L([b()],N.prototype,"focusEventEmitter",void 0),L([b()],N.prototype,"blurEventEmitter",void 0),L([b()],N.prototype,"vegaRadioShowErrorController",void 0),L([b()],N.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),N.style=':host{display:inline-block;box-sizing:border-box;height:24px}.vega-radio-container{position:relative;display:inline-flex;gap:8px;cursor:not-allowed}.vega-radio-container:not(.vega-radio-disabled){cursor:pointer}.vega-radio-container input{position:absolute;left:0px;top:0px;opacity:0}.vega-radio-icon{display:inline-block;box-sizing:border-box;border-style:solid;border-radius:9999px;position:relative;left:0px;flex-shrink:0;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}.vega-radio-icon:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}.vega-radio-container.default .vega-radio-icon{width:24px;height:24px;padding:5px}.vega-radio-container.small .vega-radio-icon{width:16px;height:16px;padding:4px}.vega-radio-checked:hover .vega-radio-circle{background-color:rgba(var(--v-bg-action-hover, 4, 112, 236, 1))}.vega-radio-container input[type=radio]:focus-visible+.vega-radio-icon{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:3px}.vega-radio-container:not(.vega-radio-disabled):active .vega-radio-icon{border-width:1px;border-style:solid;border-color:rgba(var(--v-border-color-action-active, 29, 65, 195, 1))}.vega-radio-checked:active .vega-radio-circle{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1))}.vega-radio-checked .vega-radio-circle{display:block;width:100%;height:100%;border-radius:9999px;background-color:rgba(var(--v-bg-action, 19, 98, 226, 1))}.vega-radio-disabled .vega-radio-icon{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}.vega-radio-disabled .vega-radio-circle{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1))}.vega-radio-disabled:hover .vega-radio-circle{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1))}.vega-radio-container .vega-radio-label{display:inline-block;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}.vega-radio-container .vega-radio-label.vega-hidden{display:none}.vega-radio-container.default .vega-radio-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-radio-container.default .vega-radio-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-radio-container.default .vega-radio-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-radio-container.default .vega-radio-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}.vega-radio-container.small .vega-radio-label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-radio-container.small .vega-radio-label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-radio-container.small .vega-radio-label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-radio-container.small .vega-radio-label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}.vega-radio-disabled .vega-radio-label{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}label{-webkit-tap-highlight-color:transparent}.vega-radio-container.error .vega-radio-icon{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}.vega-radio-container.error:hover .vega-radio-icon{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}.vega-radio-container.error input[type=radio]:focus-visible+.vega-radio-icon{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:3px}.vega-radio-container.error:active .vega-radio-icon{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:3px}.vega-radio-checked.error .vega-radio-circle{background-color:rgba(var(--v-bg-danger, 189, 41, 71, 1))}.vega-radio-checked.error:hover .vega-radio-circle{background-color:rgba(var(--v-bg-danger-hover, 233, 71, 104, 1))}.vega-radio-checked.error:active .vega-radio-circle{background-color:rgba(var(--v-bg-danger-active, 230, 50, 87, 1))}';class S extends V{constructor(){super((e=>(e.setRadioArrayTabIndex(),[{keyCode:["ArrowUp","ArrowDown"],activeElementInScope:[e.host],callback:e=>{this.updateRadioFocusStates(e)}}])))}setRadioArrayTabIndex(){const e=this.getNotDisabledRadioArray();if(e){const i=e.findIndex((e=>e.checked)),t=i>-1?i:0;e.forEach(((e,i)=>{const a=i===t?"0":"-1";e.shadowRoot.querySelector("input").setAttribute("tabIndex",a)}))}}updateRadioFocusStates(e){const i=e.key,t=this.getNotDisabledRadioArray();if(!t||0===t.length)return;t.forEach((e=>e.shadowRoot.querySelector("input").setAttribute("tabIndex","-1")));const a=t.findIndex((i=>i===e.target));let r;"ArrowDown"===i?r=a===t.length-1?t[0]:t[a+1]:"ArrowUp"===i&&(r=0===a?t[t.length-1]:t[a-1]),r&&(r.shadowRoot.querySelector("input").focus(),r.checked=!0,r.shadowRoot.querySelector("input").tabIndex=0)}getNotDisabledRadioArray(){const e=Array.from(this.host.querySelectorAll("vega-radio"));if(e.length>0)return e.filter((e=>!e.disabled))}}!function(e,i,t,a){var r,o=arguments.length,n=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(o<3?r(n):o>3?r(i,t,n):r(i,t))||n);o>3&&n&&Object.defineProperty(i,t,n)}([g()],S.prototype,"host",void 0);var P=function(e,i,t,a){var r,o=arguments.length,n=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(o<3?r(n):o>3?r(i,t,n):r(i,t))||n);return o>3&&n&&Object.defineProperty(i,t,n),n};class U extends f{emitEventAndNotifyValueChangeSubject(e){this.changeEventEmitter.emit(e),s.notify(c,{host:this.host,detail:e})}setValue(e){this.value=e}}P([g()],U.prototype,"host",void 0),P([g({writable:!0})],U.prototype,"value",void 0),P([g()],U.prototype,"changeEventEmitter",void 0),P([g()],U.prototype,"radioItemsController",void 0),P([v("watchValue")],U.prototype,"emitEventAndNotifyValueChangeSubject",null);var M=function(e,i,t,a){var r,o=arguments.length,n=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(o<3?r(n):o>3?r(i,t,n):r(i,t))||n);return o>3&&n&&Object.defineProperty(i,t,n),n};class q extends f{constructor(){super(...arguments),this.vegaRadioArray=[]}componentWillLoad(){this.syncRadioArrayAndValue()}setRadioItemName(){this.vegaRadioArray.forEach((e=>{e.name=this.name?this.name:e.getAttribute("name")}))}setRadioItemCheckedByValue(e){this.vegaRadioArray.forEach((i=>{i.checked=i.value===e}))}syncRadioItemsStatus(){this.setRadioItemCheckedByValue(this.value),this.setRadioItemName()}getRadioItemsArray(){return this.vegaRadioArray}syncRadioArrayAndValue(){this.vegaRadioArray=Array.from(this.host.querySelectorAll("vega-radio")),this.vegaRadioArray.forEach((e=>{e.checked&&this.valueController.setValue(e.value)}))}}M([g()],q.prototype,"host",void 0),M([g()],q.prototype,"value",void 0),M([g()],q.prototype,"name",void 0),M([g()],q.prototype,"valueController",void 0),M([v("componentWillLoad")],q.prototype,"componentWillLoad",null),M([v("watchName")],q.prototype,"setRadioItemName",null),M([v("watchValue")],q.prototype,"setRadioItemCheckedByValue",null),M([v("componentDidLoad")],q.prototype,"syncRadioItemsStatus",null);var B=function(e,i,t,a){var r,o=arguments.length,n=o<3?i:null===a?a=Object.getOwnPropertyDescriptor(i,t):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,i,t,a);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(n=(o<3?r(n):o>3?r(i,t,n):r(i,t))||n);return o>3&&n&&Object.defineProperty(i,t,n),n};const T=class{constructor(t){e(this,t),this.vegaChange=i(this,"vegaChange",7),this.change=i(this,"change",7),this.globalSlimmers={},this.formFieldController=new O({propertyRules:[{propertyName:"required",ruleFactory:e=>e?new I:null}],inputContainerGetter:()=>this.inputContainerRef,touchableAreaGetter:()=>this.radioItemsController.getRadioItemsArray().map((e=>e.shadowRoot.querySelector("input"))),defaultValue:"",attributeGetter:e=>this[e],validationRulesName:"validationRules"}),this.radioValueChangeObserver=new E(l,(e=>this.childRadioValueChange(e))),this.radioEventPrevent=new A([w],(()=>this.vegaFlexElement)),this.slotMutationObserver=new z({options:{childList:!0},mutationFilter:D("VEGA-RADIO"),callback:()=>this.radioItemsController.syncRadioArrayAndValue()}),this.changeEventEmitter=x(T,w),this.keyboardController=new S,this.radioItemsController=new q,this.valueController=new U,this.vegaComponentUsageRuntimeMetricsSlimmer=new m,this.label="",this.value="",this.vegaFlexProp={},this.required=!1,this.hint="",this.isValid=null,this.disabled=!1,this.autoValidation=!0,this.validationRules=[],this.childRadioValueChange=e=>{e.detail&&this.valueController.setValue(e.host.value)}}async watchValue(e){}watchName(){}watchVegaFlexProp(){this.setVegaFlexProperty()}async watchDisabled(){this.notifyGroupDisabledChange()}watchValidationRules(){}componentWillLoad(){}componentDidLoad(){this.setVegaFlexProperty(),this.disabled&&this.notifyGroupDisabledChange()}render(){return n(t(a,{role:"radiogroup"},this.renderLabelDom(),t("div",{class:"vega-radio-container",ref:e=>this.inputContainerRef=e},t("vega-flex",{ref:e=>{this.vegaFlexElement=e}},t("slot",null))),this.renderHintDom()),this.host)}renderLabelDom(){return this.label&&t("div",{class:"vega-label"},t("label",{"aria-label":this.label},this.label,this.renderRequireDom()))}renderRequireDom(){return this.required?t("span",{class:"vega-require"},"*"):null}renderHintDom(){return this.hint&&t("div",{class:"vega-hint"},t("label",null,this.hint))}setVegaFlexProperty(){this.vegaFlexProp&&Object.assign(this.vegaFlexElement,{gap:"size-16",direction:"col"},this.vegaFlexProp)}notifyGroupDisabledChange(){s.notify(d,{host:this.host})}get host(){return r(this)}static get watchers(){return{value:["watchValue"],name:["watchName"],vegaFlexProp:["watchVegaFlexProp"],disabled:["watchDisabled"],validationRules:["watchValidationRules"]}}};B([u()],T.prototype,"globalSlimmers",void 0),B([b()],T.prototype,"formFieldController",void 0),B([b()],T.prototype,"radioValueChangeObserver",void 0),B([b()],T.prototype,"radioEventPrevent",void 0),B([b()],T.prototype,"slotMutationObserver",void 0),B([b()],T.prototype,"changeEventEmitter",void 0),B([b()],T.prototype,"keyboardController",void 0),B([b()],T.prototype,"radioItemsController",void 0),B([b()],T.prototype,"valueController",void 0),B([b()],T.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),B([C()],T.prototype,"watchVegaFlexProp",null),T.style=':host{display:block;text-align:left;line-height:normal}.vega-error{display:block;margin-top:12px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-error, 189, 41, 71, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}.vega-hidden{display:none}.vega-label{margin-bottom:16px}.vega-label label{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:30px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-label label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-label label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-label label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}.vega-require{color:rgba(var(--v-text-error, 189, 41, 71, 1));margin-left:4px}.vega-hint{padding-top:12px}.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-hint>label{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}';export{N as vega_radio,T as vega_radio_group}
|