@heartlandone/vega 2.76.0 → 2.77.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-12b7d808.js → app-globals-04e7024b.js} +2 -2
- package/dist/cjs/aria-attributes-value-mapper-f58c73f8.js +136 -0
- package/dist/cjs/{child-nodes-event-prevent-slimmer-84435957.js → child-nodes-event-prevent-slimmer-cc6d2919.js} +1 -1
- package/dist/cjs/{design-token-41baf118.js → design-token-c49717c8.js} +1 -1
- package/dist/cjs/{element-appender-slimmer-34e4eb56.js → element-appender-slimmer-38583ca9.js} +2 -2
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/legend-input-processor-1e53e5bc.js +2126 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{responsive-format-facade-ea59bdcd.js → responsive-format-facade-acc39a40.js} +1 -1
- package/dist/cjs/{style-formatter-0c3ced39.js → style-formatter-028af284.js} +1 -1
- package/dist/cjs/{token-extension-07cac85d.js → token-extension-ffcaeae0.js} +98 -77
- package/dist/cjs/vega-accordion.cjs.entry.js +5 -5
- package/dist/cjs/vega-app-header-button.cjs.entry.js +18 -143
- package/dist/cjs/vega-banner.cjs.entry.js +1 -1
- package/dist/cjs/vega-bar-chart.cjs.entry.js +2 -2
- package/dist/cjs/vega-box.cjs.entry.js +4 -4
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/vega-button-circle.cjs.entry.js +21 -6
- package/dist/cjs/vega-button-group_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-button-link.cjs.entry.js +2 -2
- package/dist/cjs/vega-button.cjs.entry.js +3 -3
- package/dist/cjs/vega-calendar_4.cjs.entry.js +2 -2
- package/dist/cjs/vega-card.cjs.entry.js +3 -3
- package/dist/cjs/vega-carousel.cjs.entry.js +2 -2
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-chip.cjs.entry.js +4 -4
- package/dist/cjs/vega-code-block.cjs.entry.js +2 -2
- package/dist/cjs/vega-combo-box.cjs.entry.js +2 -2
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +29 -7
- package/dist/cjs/vega-dialog_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-divider.cjs.entry.js +3 -3
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +4 -4
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-flag-icon.cjs.entry.js +3 -3
- package/dist/cjs/vega-flex.cjs.entry.js +4 -4
- package/dist/cjs/vega-font.cjs.entry.js +3 -3
- package/dist/cjs/vega-form.cjs.entry.js +2 -2
- package/dist/cjs/vega-grid.cjs.entry.js +3 -3
- package/dist/cjs/vega-icon.cjs.entry.js +3 -3
- package/dist/cjs/vega-image-uploader.cjs.entry.js +3 -3
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +2 -2
- package/dist/cjs/vega-input-numeric.cjs.entry.js +2 -2
- package/dist/cjs/vega-input-passcode.cjs.entry.js +2 -2
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +4753 -5585
- package/dist/cjs/vega-input-range.cjs.entry.js +2 -2
- package/dist/cjs/vega-input-select.cjs.entry.js +3 -3
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +3 -3
- package/dist/cjs/vega-line-chart.cjs.entry.js +325 -23
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +2 -2
- package/dist/cjs/vega-pagination.cjs.entry.js +3 -3
- package/dist/cjs/vega-pie-chart.cjs.entry.js +5 -88
- package/dist/cjs/vega-popover_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +14 -0
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +2 -2
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +2 -2
- package/dist/cjs/vega-signature-capture.cjs.entry.js +3 -3
- package/dist/cjs/vega-stepper.cjs.entry.js +2 -2
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +2 -2
- package/dist/cjs/vega-table_11.cjs.entry.js +3 -3
- package/dist/cjs/vega-textarea.cjs.entry.js +2 -2
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +3 -3
- package/dist/cjs/vega.cjs.js +4 -4
- package/dist/cjs/y-axis-input-processor-54a26515.js +832 -0
- package/dist/collection/components/vega-accordion/slimmers/vega-accordion-renderer.js +1 -1
- package/dist/collection/components/vega-accordion/vega-accordion.css +5 -0
- package/dist/collection/components/vega-button-circle/vega-button-circle.js +17 -3
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.js +16 -2
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +184 -207
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +32 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/controllers/country-select-controller.js +1 -1
- package/dist/collection/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.js +1 -1
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.js +1 -1
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.js +1 -1
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +4 -4
- package/dist/collection/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.js +15 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/base-extension-renderer.js +11 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/base-toolbar-button-renderer.js +15 -1
- package/dist/collection/components/vega-rich-text-editor/extensions/extension.abstract.js +2 -0
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/function-extension.js +0 -11
- package/dist/collection/components/vega-rich-text-editor/extensions/functions/renderers/function-toolbar-button-renderer.js +23 -23
- package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-extension.js +0 -10
- package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-node-renderer.js +7 -17
- package/dist/collection/components/vega-rich-text-editor/extensions/tokens/token-toolbar-button-renderer.js +12 -16
- package/dist/collection/components/vega-rich-text-editor/helpers/extension-context-manager.js +31 -0
- package/dist/collection/components/vega-rich-text-editor/helpers/extension-context-manager.test.js +19 -0
- package/dist/collection/components/vega-rich-text-editor/test/extensions/extension-test-utils.js +41 -0
- package/dist/collection/helpers/chart/input-processors/format-time-positions-input-processor.js +2 -2
- package/dist/collection/helpers/chart/input-processors/pie-chart-arc-path-input-processor.js +1 -1
- package/dist/collection/helpers/chart/input-processors/x-axis-input-processor.js +5 -3
- package/dist/collection/helpers/chart/input-processors/x-axis-label-formatter-input-processor.js +2 -1
- package/dist/collection/helpers/chart/input-processors/y-axis-input-processor.js +7 -5
- package/dist/collection/helpers/chart/interacting-entry-generator/arc-path-hover-generator.js +1 -1
- package/dist/collection/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.js +1 -1
- package/dist/collection/helpers/chart/renderers/canvas-renderer.js +1 -1
- package/dist/collection/helpers/chart/renderers/svg-renderer.js +1 -1
- package/dist/collection/helpers/chart/test/drawers/arc-path-drawer.test.js +1 -1
- package/dist/collection/helpers/chart/test/input-processors/format-time-positions-input-processor.test.js +1 -1
- package/dist/collection/helpers/chart/test/input-processors/sort-positions-input-processor.test.js +1 -1
- package/dist/collection/helpers/chart/test/input-processors/x-axis-input-processor.test.js +39 -0
- package/dist/collection/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.js +61 -14
- package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.coverage.test.js +39 -0
- package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.test.js +14 -0
- package/dist/collection/helpers/chart/test/renderers/svg-renderer.test.js +1 -1
- package/dist/collection/helpers/common/test/wait-for-component-did-render.test.js +67 -0
- package/dist/collection/helpers/slimmers/mutation-observer/aria-attributes-value-mapper.js +4 -0
- package/dist/collection/helpers/slimmers/mutation-observer/test/aria-attributes-value-mapper.test.js +1 -1
- package/dist/collection/helpers/validator/rules/valid-phone-number-rule.js +1 -1
- package/dist/collection/helpers/validator/test/rules/valid-phone-number-rule.test.js +10 -0
- package/dist/collection/polyfill/d3/d3-array-polyfill.js +89 -0
- package/dist/collection/polyfill/d3/d3-axis-polyfill.js +195 -0
- package/dist/collection/polyfill/d3/d3-scale-polyfill.js +582 -0
- package/dist/collection/polyfill/d3/d3-selection-polyfill.js +274 -0
- package/dist/collection/polyfill/d3/d3-shape-polyfill.js +252 -0
- package/dist/collection/polyfill/d3/d3-time-format-polyfill.js +207 -0
- package/dist/collection/polyfill/d3/d3-time-polyfill.js +99 -0
- package/dist/collection/polyfill/d3/index.js +31 -0
- package/dist/collection/polyfill/d3/test/d3-array-polyfill.test.js +72 -0
- package/dist/collection/polyfill/d3/test/d3-axis-polyfill.test.js +171 -0
- package/dist/collection/polyfill/d3/test/d3-integration.test.js +137 -0
- package/dist/collection/polyfill/d3/test/d3-scale-polyfill.test.js +382 -0
- package/dist/collection/polyfill/d3/test/d3-selection-polyfill.test.js +239 -0
- package/dist/collection/polyfill/d3/test/d3-shape-polyfill.test.js +225 -0
- package/dist/collection/polyfill/d3/test/d3-time-format-polyfill.test.js +162 -0
- package/dist/collection/polyfill/d3/test/d3-time-polyfill.test.js +76 -0
- package/dist/collection/polyfill/d3/test/index.test.js +78 -0
- package/dist/collection/polyfill/libphonenumber/as-you-type.js +405 -0
- package/dist/collection/polyfill/libphonenumber/format-helpers.js +186 -0
- package/dist/collection/polyfill/libphonenumber/index.js +22 -0
- package/dist/collection/polyfill/libphonenumber/metadata.js +150 -0
- package/dist/collection/polyfill/libphonenumber/metadata.json.js +3900 -0
- package/dist/collection/polyfill/libphonenumber/parse-phone-number.js +127 -0
- package/dist/collection/polyfill/libphonenumber/phone-number.js +38 -0
- package/dist/collection/polyfill/libphonenumber/test/as-you-type.test.js +309 -0
- package/dist/collection/polyfill/libphonenumber/test/format-helpers.test.js +192 -0
- package/dist/collection/polyfill/libphonenumber/test/index.test.js +16 -0
- package/dist/collection/polyfill/libphonenumber/test/metadata.test.js +196 -0
- package/dist/collection/polyfill/libphonenumber/test/parse-phone-number.test.js +218 -0
- package/dist/collection/polyfill/libphonenumber/test/phone-number.test.js +56 -0
- package/dist/collection/polyfill/libphonenumber/types.js +23 -0
- package/dist/esm/{app-globals-c0676920.js → app-globals-32055795.js} +2 -2
- package/dist/esm/aria-attributes-value-mapper-d4fef46a.js +134 -0
- package/dist/esm/{child-nodes-event-prevent-slimmer-649b9d30.js → child-nodes-event-prevent-slimmer-331312b8.js} +1 -1
- package/dist/esm/{design-token-4aee1c56.js → design-token-5bc034e1.js} +1 -1
- package/dist/esm/{element-appender-slimmer-e4713a72.js → element-appender-slimmer-9ea377d0.js} +2 -2
- package/dist/esm/index.js +4 -4
- package/dist/esm/legend-input-processor-122008c5.js +2116 -0
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{responsive-format-facade-7a071174.js → responsive-format-facade-aa705823.js} +1 -1
- package/dist/esm/{style-formatter-3d06b72d.js → style-formatter-28138f5c.js} +1 -1
- package/dist/esm/{token-extension-e33fd151.js → token-extension-73e4460a.js} +98 -77
- package/dist/esm/vega-accordion.entry.js +5 -5
- package/dist/esm/vega-app-header-button.entry.js +17 -142
- package/dist/esm/vega-banner.entry.js +1 -1
- package/dist/esm/vega-bar-chart.entry.js +2 -2
- package/dist/esm/vega-box.entry.js +4 -4
- package/dist/esm/vega-breadcrumb.entry.js +2 -2
- package/dist/esm/vega-button-circle.entry.js +21 -6
- package/dist/esm/vega-button-group_2.entry.js +2 -2
- package/dist/esm/vega-button-link.entry.js +2 -2
- package/dist/esm/vega-button.entry.js +3 -3
- package/dist/esm/vega-calendar_4.entry.js +2 -2
- package/dist/esm/vega-card.entry.js +3 -3
- package/dist/esm/vega-carousel.entry.js +2 -2
- package/dist/esm/vega-checkbox_2.entry.js +2 -2
- package/dist/esm/vega-chip.entry.js +4 -4
- package/dist/esm/vega-code-block.entry.js +2 -2
- package/dist/esm/vega-combo-box.entry.js +2 -2
- package/dist/esm/vega-date-picker_2.entry.js +29 -7
- package/dist/esm/vega-dialog_2.entry.js +4 -4
- package/dist/esm/vega-divider.entry.js +3 -3
- package/dist/esm/vega-dropdown_5.entry.js +4 -4
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-flag-icon.entry.js +3 -3
- package/dist/esm/vega-flex.entry.js +4 -4
- package/dist/esm/vega-font.entry.js +3 -3
- package/dist/esm/vega-form.entry.js +2 -2
- package/dist/esm/vega-grid.entry.js +3 -3
- package/dist/esm/vega-icon.entry.js +3 -3
- package/dist/esm/vega-image-uploader.entry.js +3 -3
- package/dist/esm/vega-input-credit-card.entry.js +2 -2
- package/dist/esm/vega-input-numeric.entry.js +2 -2
- package/dist/esm/vega-input-passcode.entry.js +2 -2
- package/dist/esm/vega-input-phone-number.entry.js +4753 -5585
- package/dist/esm/vega-input-range.entry.js +2 -2
- package/dist/esm/vega-input-select.entry.js +3 -3
- package/dist/esm/vega-left-nav_5.entry.js +3 -3
- package/dist/esm/vega-line-chart.entry.js +311 -9
- package/dist/esm/vega-loader-wrapper_2.entry.js +2 -2
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +2 -2
- package/dist/esm/vega-pagination.entry.js +3 -3
- package/dist/esm/vega-pie-chart.entry.js +5 -88
- package/dist/esm/vega-popover_2.entry.js +4 -4
- package/dist/esm/vega-progress-tracker_2.entry.js +2 -2
- package/dist/esm/vega-radio_2.entry.js +2 -2
- package/dist/esm/vega-rich-text-content.entry.js +14 -0
- package/dist/esm/vega-rich-text-editor_4.entry.js +2 -2
- package/dist/esm/vega-selection-chip_2.entry.js +3 -3
- package/dist/esm/vega-selection-tile_2.entry.js +2 -2
- package/dist/esm/vega-sidenav_3.entry.js +2 -2
- package/dist/esm/vega-signature-capture.entry.js +3 -3
- package/dist/esm/vega-stepper.entry.js +2 -2
- package/dist/esm/vega-tab-group_2.entry.js +2 -2
- package/dist/esm/vega-table_11.entry.js +3 -3
- package/dist/esm/vega-textarea.entry.js +2 -2
- package/dist/esm/vega-time-picker_2.entry.js +4 -4
- package/dist/esm/vega-tooltip_2.entry.js +3 -3
- package/dist/esm/vega.js +4 -4
- package/dist/esm/y-axis-input-processor-c7e05353.js +826 -0
- package/dist/sri/vega-sri-manifest.json +234 -230
- package/dist/types/components/vega-button-circle/vega-button-circle.d.ts +2 -0
- package/dist/types/components/vega-date-picker/types.d.ts +14 -0
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/slimmers/renderers/vega-date-picker-month-item-renderer.d.ts +3 -0
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +9 -1
- package/dist/types/components/vega-rich-text-content/slimmers/renderers/vega-rich-text-content-renderer.d.ts +6 -0
- package/dist/types/components/vega-rich-text-editor/extensions/base-extension-renderer.d.ts +9 -1
- package/dist/types/components/vega-rich-text-editor/extensions/base-toolbar-button-renderer.d.ts +9 -1
- package/dist/types/components/vega-rich-text-editor/extensions/functions/function-extension.d.ts +0 -7
- package/dist/types/components/vega-rich-text-editor/extensions/functions/renderers/function-toolbar-button-renderer.d.ts +5 -10
- package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-extension.d.ts +1 -5
- package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-node-renderer.d.ts +3 -8
- package/dist/types/components/vega-rich-text-editor/extensions/tokens/token-toolbar-button-renderer.d.ts +5 -9
- package/dist/types/components/vega-rich-text-editor/helpers/extension-context-manager.d.ts +26 -0
- package/dist/types/components/vega-rich-text-editor/helpers/extension-context-manager.test.d.ts +1 -0
- package/dist/types/components/vega-rich-text-editor/interface.d.ts +4 -0
- package/dist/types/components/vega-rich-text-editor/test/extensions/extension-test-utils.d.ts +21 -0
- package/dist/types/components.d.ts +11 -1
- package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.coverage.test.d.ts +1 -0
- package/dist/types/helpers/common/test/wait-for-component-did-render.test.d.ts +1 -0
- package/dist/types/polyfill/d3/d3-array-polyfill.d.ts +48 -0
- package/dist/types/polyfill/d3/d3-axis-polyfill.d.ts +53 -0
- package/dist/types/polyfill/d3/d3-scale-polyfill.d.ts +42 -0
- package/dist/types/polyfill/d3/d3-selection-polyfill.d.ts +173 -0
- package/dist/types/polyfill/d3/d3-shape-polyfill.d.ts +129 -0
- package/dist/types/polyfill/d3/d3-time-format-polyfill.d.ts +28 -0
- package/dist/types/polyfill/d3/d3-time-polyfill.d.ts +68 -0
- package/dist/types/polyfill/d3/index.d.ts +27 -0
- package/dist/types/polyfill/d3/test/d3-array-polyfill.test.d.ts +1 -0
- package/dist/types/polyfill/d3/test/d3-axis-polyfill.test.d.ts +1 -0
- package/dist/types/polyfill/d3/test/d3-integration.test.d.ts +1 -0
- package/dist/types/polyfill/d3/test/d3-scale-polyfill.test.d.ts +1 -0
- package/dist/types/polyfill/d3/test/d3-selection-polyfill.test.d.ts +1 -0
- package/dist/types/polyfill/d3/test/d3-shape-polyfill.test.d.ts +1 -0
- package/dist/types/polyfill/d3/test/d3-time-format-polyfill.test.d.ts +1 -0
- package/dist/types/polyfill/d3/test/d3-time-polyfill.test.d.ts +1 -0
- package/dist/types/polyfill/d3/test/index.test.d.ts +1 -0
- package/dist/types/polyfill/libphonenumber/as-you-type.d.ts +154 -0
- package/dist/types/polyfill/libphonenumber/format-helpers.d.ts +64 -0
- package/dist/types/polyfill/libphonenumber/index.d.ts +22 -0
- package/dist/types/polyfill/libphonenumber/metadata.d.ts +45 -0
- package/dist/types/polyfill/libphonenumber/metadata.json.d.ts +470 -0
- package/dist/types/polyfill/libphonenumber/parse-phone-number.d.ts +26 -0
- package/dist/types/polyfill/libphonenumber/phone-number.d.ts +24 -0
- package/dist/types/polyfill/libphonenumber/test/as-you-type.test.d.ts +1 -0
- package/dist/types/polyfill/libphonenumber/test/format-helpers.test.d.ts +1 -0
- package/dist/types/polyfill/libphonenumber/test/index.test.d.ts +1 -0
- package/dist/types/polyfill/libphonenumber/test/metadata.test.d.ts +1 -0
- package/dist/types/polyfill/libphonenumber/test/parse-phone-number.test.d.ts +1 -0
- package/dist/types/polyfill/libphonenumber/test/phone-number.test.d.ts +1 -0
- package/dist/types/polyfill/libphonenumber/types.d.ts +77 -0
- package/dist/types/types/components.type.d.ts +1 -0
- package/dist/types/types/flag.type.d.ts +255 -4
- package/dist/types/types/vega-chart.d.ts +10 -11
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-d8fadcdc.entry.js → p-0037068c.entry.js} +1 -1
- package/dist/vega/{p-3d8122ab.entry.js → p-010ff53d.entry.js} +1 -1
- package/dist/vega/{p-bb5e0192.entry.js → p-03004a05.entry.js} +1 -1
- package/dist/vega/{p-f05b8f76.entry.js → p-0572c393.entry.js} +1 -1
- package/dist/vega/{p-02a7d60c.entry.js → p-0a3a285b.entry.js} +1 -1
- package/dist/vega/p-0d4cb1c7.entry.js +1 -0
- package/dist/vega/{p-a7a8a4eb.entry.js → p-100b44c3.entry.js} +1 -1
- package/dist/vega/{p-8dbdd609.entry.js → p-168bb296.entry.js} +1 -1
- package/dist/vega/{p-b136ebba.entry.js → p-1a011d47.entry.js} +1 -1
- package/dist/vega/{p-10734a00.js → p-1a51bf6f.js} +1 -1
- package/dist/vega/{p-6dcdb580.entry.js → p-1deedff2.entry.js} +1 -1
- package/dist/vega/{p-3244c605.entry.js → p-1fa0c7da.entry.js} +1 -1
- package/dist/vega/{p-dd3a94f4.entry.js → p-22056609.entry.js} +1 -1
- package/dist/vega/{p-c29068fb.entry.js → p-2b142818.entry.js} +1 -1
- package/dist/vega/{p-2ba78982.entry.js → p-34bcf4ed.entry.js} +1 -1
- package/dist/vega/{p-94a77fbe.entry.js → p-36a09524.entry.js} +1 -1
- package/dist/vega/{p-154f9cf7.entry.js → p-3c05abd9.entry.js} +1 -1
- package/dist/vega/{p-fd7ddd64.entry.js → p-3ce2b05c.entry.js} +1 -1
- package/dist/vega/{p-28ad1864.entry.js → p-43ff48c0.entry.js} +1 -1
- package/dist/vega/{p-ca5898dc.entry.js → p-4742feef.entry.js} +1 -1
- package/dist/vega/{p-eda988d5.entry.js → p-4aa52ed2.entry.js} +1 -1
- package/dist/vega/{p-d555f677.entry.js → p-4aa94940.entry.js} +1 -1
- package/dist/vega/p-4bee4202.entry.js +1 -0
- package/dist/vega/{p-01d58eb8.entry.js → p-50d074ed.entry.js} +1 -1
- package/dist/vega/{p-033c31d8.entry.js → p-5485c387.entry.js} +1 -1
- package/dist/vega/{p-f14a5eae.entry.js → p-560d2f48.entry.js} +1 -1
- package/dist/vega/{p-bebfbe95.entry.js → p-5833f33b.entry.js} +1 -1
- package/dist/vega/{p-b366deff.entry.js → p-592296d7.entry.js} +1 -1
- package/dist/vega/{p-5831d6d3.entry.js → p-5cfce62d.entry.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-e1431c14.entry.js → p-60f77f5f.entry.js} +1 -1
- package/dist/vega/p-641cdb5c.entry.js +1 -0
- package/dist/vega/{p-32183637.entry.js → p-67745549.entry.js} +1 -1
- package/dist/vega/{p-087ea379.entry.js → p-70df91fb.entry.js} +1 -1
- package/dist/vega/{p-76181a70.entry.js → p-7425cedc.entry.js} +1 -1
- package/dist/vega/{p-89f2e16d.entry.js → p-857069a5.entry.js} +1 -1
- package/dist/vega/p-8e34b266.js +1 -0
- package/dist/vega/{p-32faa460.entry.js → p-9441f2ba.entry.js} +1 -1
- package/dist/vega/{p-2b49686d.entry.js → p-9fb877c1.entry.js} +1 -1
- package/dist/vega/p-a46e977b.entry.js +1 -0
- package/dist/vega/p-ac82b9f9.entry.js +1 -0
- package/dist/vega/p-b1773281.entry.js +1 -0
- package/dist/vega/{p-6d60b66a.entry.js → p-b54dc37c.entry.js} +1 -1
- package/dist/vega/{p-179aad4f.entry.js → p-b5f18f4b.entry.js} +1 -1
- package/dist/vega/{p-7181861a.js → p-bff57aa4.js} +1 -1
- package/dist/vega/{p-d7a78c5e.entry.js → p-c165232c.entry.js} +1 -1
- package/dist/vega/{p-8950987b.entry.js → p-c292ade4.entry.js} +1 -1
- package/dist/vega/p-c2d2faa0.js +1 -0
- package/dist/vega/{p-fc1fa345.js → p-cc5eaa1b.js} +1 -1
- package/dist/vega/p-cccd7648.entry.js +1 -0
- package/dist/vega/{p-7958614a.entry.js → p-cfecc1cb.entry.js} +1 -1
- package/dist/vega/{p-57927b10.entry.js → p-d07f5d5a.entry.js} +1 -1
- package/dist/vega/{p-9a137bab.entry.js → p-d1cfe972.entry.js} +1 -1
- package/dist/vega/{p-d6dbbe61.entry.js → p-d2ee5711.entry.js} +1 -1
- package/dist/vega/{p-b256b7a4.js → p-d78f6ede.js} +1 -1
- package/dist/vega/p-d8180e42.entry.js +1 -0
- package/dist/vega/{p-8b153acd.entry.js → p-daa60a59.entry.js} +1 -1
- package/dist/vega/{p-249df6d2.entry.js → p-db5fa164.entry.js} +1 -1
- package/dist/vega/p-de64f6e6.js +1 -0
- package/dist/vega/p-e4917e76.js +1 -0
- package/dist/vega/{p-2cc9d126.entry.js → p-e6cf2ace.entry.js} +1 -1
- package/dist/vega/p-e7fbef97.js +1 -0
- package/dist/vega/p-f3e6483c.js +1 -0
- package/dist/vega/{p-a560d8c5.entry.js → p-f428086c.entry.js} +1 -1
- package/dist/vega/{p-4e017458.entry.js → p-fc9ac6e9.entry.js} +1 -1
- package/dist/vega/{p-e2af0e24.entry.js → p-ffd48e37.entry.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +2 -6
- package/dist/cjs/legend-input-processor-27c65353.js +0 -4759
- package/dist/cjs/y-axis-input-processor-9fbfd5e7.js +0 -2302
- package/dist/esm/legend-input-processor-5ecae3a7.js +0 -4742
- package/dist/esm/y-axis-input-processor-bc54314a.js +0 -2290
- package/dist/vega/p-1f5e35dc.entry.js +0 -1
- package/dist/vega/p-2e91295d.entry.js +0 -1
- package/dist/vega/p-32033e7a.js +0 -1
- package/dist/vega/p-46b077d9.js +0 -1
- package/dist/vega/p-4e4a0228.entry.js +0 -1
- package/dist/vega/p-644f701a.js +0 -1
- package/dist/vega/p-6a62e476.entry.js +0 -1
- package/dist/vega/p-a13a73fa.entry.js +0 -1
- package/dist/vega/p-be23bef2.js +0 -1
- package/dist/vega/p-c1d13eec.entry.js +0 -1
- package/dist/vega/p-e89e3ede.entry.js +0 -1
- package/dist/vega/p-f3d0f2dc.js +0 -1
- package/dist/vega/p-f5bafc45.entry.js +0 -1
- /package/dist/cjs/{feature-flag-controller-04cb1e69.js → feature-flag-controller-9129ef52.js} +0 -0
- /package/dist/esm/{feature-flag-controller-09ea7e87.js → feature-flag-controller-30f7b625.js} +0 -0
- /package/dist/vega/{p-07cb0243.js → p-18e8d9b7.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,H as e,r as n,g as r}from"./p-6b2342e0.js";import{c as i,M as s,V as o,I as a}from"./p-6e1ab235.js";import{V as c,I as l}from"./p-4415ad28.js";import{s as h}from"./p-519a7d55.js";import{a as d}from"./p-8ac2d165.js";import{T as p,I as f,a as u}from"./p-49845a91.js";import{R as x,g,V as m}from"./p-f2b0b58a.js";import{s as v,y as b,Z as w,M as y,k as j,W as k,j as O,X as C,N as R,z,Y as T,_ as I,x as E}from"./p-a0b66c25.js";import{V as S}from"./p-a7b5f497.js";import{c as M}from"./p-86194314.js";import{D as B}from"./p-31ac7386.js";import{f as L,l as N}from"./p-d64fab3d.js";import{i as V}from"./p-415ffa35.js";import{u as P}from"./p-7c39ce96.js";import{t as W}from"./p-b75ee3ba.js";import{v as K}from"./p-4866e390.js";import{S as A}from"./p-5eb7f382.js";import{f as U}from"./p-6c170474.js";import{w as _}from"./p-be1a210b.js";import{i as $}from"./p-d27ae9ff.js";import"./p-a528714c.js";import"./p-2d0d575f.js";import"./p-331a62d5.js";import"./p-f0e828d8.js";import"./p-e1fbfd20.js";import"./p-e6adf829.js";import"./p-593e0f80.js";import"./p-6a334573.js";import"./p-8b5d3a52.js";import"./p-02841589.js";import"./p-bf19682d.js";import"./p-ed45b3b6.js";import"./p-40f39194.js";import"./p-d884c644.js";import"./p-dad3ba5f.js";import"./p-262ec334.js";class D extends S{registerRef(t,e){t&&v.register(t,e)}getCustomAttrs(t){var e;return(null===(e=t.getCustomAttributesAnnotation())||void 0===e?void 0:e.render())||{}}}class F extends S{registerRef(t,e){t&&v.register(t,e)}}const X=new class extends F{render(t){const e=t.getAnnotationByType(b.INLINE_HTML),n=this.renderText(t);return e?this.renderWithWrapper(n,e):n}registerRef(t,e){if(super.registerRef(t,e),t){const n=e.getAnnotationByType("TEXT_COLOR");n&&p.register(t,n)}}renderWithWrapper(e,n){const{htmlTag:r,customStyle:i,customAttribute:s,customClass:o}=n,a=Object.assign(Object.assign({},null==s?void 0:s.render()),{style:null==i?void 0:i.renderStyle(),class:null==o?void 0:o.renderClass().join(" ")});return t(r,Object.assign({},a),n.child?this.renderWithWrapper(e,n.child):e)}renderText(e){var n,r;const i=(null===(n=e.getAnnotationByType(b.CODE))||void 0===n?void 0:n.code)?"code":"span",s=Object.assign(Object.assign({},null===(r=e.getCustomAttributesAnnotation())||void 0===r?void 0:r.render()),{key:e.id,style:e.getStyles(),class:e.getClasses(),ref:t=>this.registerRef(t,e)});return t(i,Object.assign({},s),e.text||w)}};class G extends y{constructor(t){super(),this.type=j.UNLINK_LINK_GROUP,this.groupKey=t}}const H=new class{constructor(){this.handleChange=({detail:t},e,n)=>{switch(t.action){case"link":{const{url:r,text:i}=t.payload,s=i!==e;return void n.forEach((t=>{const e=t.getAnnotationByType(b.LINK).link.groupKey,o=new k({link:{href:r,groupKey:e},newText:s?i:void 0,needMergeNode:s&&n.length>1,doSplit:!1,type:"update_link"});t.apply(o)}))}case"unlink":return void n.forEach((t=>{t.parent.apply(new G(t.annotationMap.get(b.LINK).link.groupKey)),t.deleteAnnotationByType(b.LINK)}))}}}render(e,n,{editable:r}){return this.groupNodesByLink(e).flatMap((e=>{if(this.isLinkGroup(e)){let t;return e.find((e=>{const n=e.getAnnotationByType(b.LINK);if(n)return t=n,!0})),r?this.renderLinkEditorWrapper(e,t,n):this.renderLink(e,t,n)}const i=x.getRTERenderer(e.type);if(i)return i.render(e,{editable:r},t)})).filter(V)}groupNodesByLink(t){return t.reduce(((t,e)=>{const n=e.getAnnotationByType(b.LINK),r=t[t.length-1];return V(n)?r&&this.isLinkGroup(r)&&r[0].getAnnotationByType(b.LINK).toEqual(n)?r.push(e):t.push([e]):t.push(e),t}),[])}isLinkGroup(t){return Array.isArray(t)}renderLinkEditorWrapper(e,n,r){const{href:i}=n.link,s=e.map((t=>t.text)).join("");let o;return t("span",{class:"link-editor-wrapper",role:"link",tabIndex:0,onKeyDown:M(),ref:t=>{t&&(o=t,v.removeDirtyDomRef(t))}},this.renderLink(e,n,r),t("vega-rich-text-link-editor",{record:{text:s,url:i},ref:t=>{t&&(t.target=o,B.addUniqueObserverToNode(t,L,(t=>{this.handleChange(t,s,e)})))}}))}renderLink(e,n,r){return t("a",Object.assign({},r.toJsx(n)),e.map((t=>X.render(t))))}};class Y extends D{renderNodes(e,n){const r=e.getAnnotationByType(O.LINK_GROUP);return r?H.render(e.children,r,n):e.children.map((e=>{const r=x.getRTERenderer(e.type);if(r)return r.render(e,n,t)}))}}const Z=new class extends Y{render(e,n){const r=e.getBlockTag();return t(r,Object.assign({},this.getCustomAttrs(e),{key:e.id,ref:t=>super.registerRef(t,e),style:e.getStyles(),class:e.getClasses()}),super.renderNodes(e,n))}},q=new class extends F{constructor(){super(...arguments),this.handleChange=({detail:t},e)=>{switch(t.action){case"edit":e.apply(new f(t.payload.size,t.payload.alt));break;case"delete":{const t=new InputEvent("beforeinput",{inputType:"deleteContentBackward",bubbles:!0});setTimeout((()=>{v.getDOMByEntity(e).dispatchEvent(t)}),50);break}}}}render(e,n){const r=e.getAnnotationByType(b.IMAGE)||new g("md","");return n.editable?t("vega-rich-text-image-editor",{key:e.id,class:this.getClassesForImageEditor(e),size:r.size,alt:r.alt,ref:t=>{B.addUniqueObserverToNode(t,L,(t=>this.handleChange(t,e)))}},this.renderImage(r,e,n)):this.renderImage(r,e,n)}renderImage(e,n,r){var i;return t("img",Object.assign({},null===(i=n.getCustomAttributesAnnotation())||void 0===i?void 0:i.render({filterAttributes:["width","height"]}),{class:this.getClassesForImageNode(n,r.editable),style:Object.assign(Object.assign({},n.getStyles()),r.editable?{width:"100%"}:e.renderStyle({standalone:!0})),alt:e.alt,"data-size":e.size,src:n.url,ref:t=>super.registerRef(t,n)}))}getCommonClasses(t){const e=t.getAnnotationByType(C.CUSTOM_CLASS);return e?e.customClass.filter(V).reduce(((t,e)=>[t,e].join(" ").trim()),""):null}getClasses(t,e={standalone:!1}){return Array.from(t.annotationMap.values()).filter((t=>t instanceof R)).map((t=>t.renderClass(e))).filter(V).reduce(((t,e)=>[t,e].join(" ").trim()),"")}getClassesForImageNode(t,e){var n;return e?`${z.DECORATOR_NODE_CLASS} ${null!==(n=this.getCommonClasses(t))&&void 0!==n?n:""}`:t.getClasses()}getClassesForImageEditor(t){return`${z.DECORATOR_CONTAINER_CLASS} ${this.getClasses(t)}`}},J=new class extends D{render(e,n){return t("div",Object.assign({},this.getCustomAttrs(e),{key:e.id,ref:t=>super.registerRef(t,e),style:e.getStyles(),class:e.getClasses()}),e.children.map((t=>q.render(t,n))))}},Q=new class extends Y{render(e,n){return t("li",Object.assign({},this.getCustomAttrs(e),{key:e.id,ref:t=>super.registerRef(t,e),style:e.getStyles(),class:e.getClasses()}),super.renderNodes(e,n),this.renderChildren(e.nestList,n))}renderChildren(t,e){return null==t?void 0:t.map((t=>tt.render(t,e)))}},tt=new class extends D{render(e,n){const r=e.getBlockTag();return t(r,Object.assign({},this.getCustomAttrs(e),{key:e.id,ref:t=>super.registerRef(t,e),style:e.getStyles(),class:e.getClasses()}),e.children.map((t=>Q.render(t,n))))}};class et extends y{constructor(t,e){super(),this.isFlushable=!0,this.type=j.SWITCH_OUT_FROM_CODE_BLOCK,this.content=t,this.language=e}}class nt extends y{constructor(){super(...arguments),this.isFlushable=!0,this.type=j.DELETE_CODE_BLOCK}}const rt=new class extends F{render(e,n){const{text:r,language:i}=e;return t("vega-code-block",{key:e.id,value:{code:r,language:i},readOnly:!n.editable,"data-content":r,"data-language":i,ref:t=>{this.registerRef(t,e),B.addUniqueObserverToNode(t,L,(t=>this.handleCodeContentChange(t.detail,e))),B.addUniqueObserverToNode(t,N,(t=>this.handleCodeBlockRemove(t,e))),B.addUniqueObserverToNode(t,P,(t=>this.handleSelectionChange(t.detail,e)))}})}handleCodeContentChange(t,e){const{code:n,language:r}=t;if(this.shouldSwitchOutOfCodeBlock(e.text,n)){const t=new et(n,r);e.parent.apply(t)}else e.apply(new T(n,r))}handleCodeBlockRemove(t,e){t.preventDefault(),e.parent.apply(new nt)}shouldSwitchOutOfCodeBlock(t,e){const n=e.split("\n");return e.length>t.length&&n.length>4&&""===n.slice(n.length-4).join("")}handleSelectionChange(t,e){t?e.apply(new I(null)):e.annotationMap.delete(O.SELECTION_RANGE)}},it=new class extends D{constructor(){super(...arguments),this.preventParentDoFocus=t=>{t.stopPropagation(),"keydown"===t.type&&this.dispatchMockKeydownEvent(t)}}render(e,n){const{id:r,children:i}=e;return t("pre",{key:r,class:"code-block-container",ref:t=>this.registerRef(t,e),onKeyDown:this.preventParentDoFocus,onClick:this.preventParentDoFocus,"data-language":i[0].language},this.renderPlaceholderElement("TOP"),rt.render(i[0],n),this.renderPlaceholderElement("BOTTOM"))}renderPlaceholderElement(e){return t("span",{class:E.CODE_BLOCK_PLACEHOLDER_CLASS_NAME,style:{display:"block",height:"1px",overflow:"hidden",zIndex:"1",marginTop:"BOTTOM"===e?"-1px":"0px",marginBottom:"BOTTOM"===e?"0px":"-1px"}},w)}dispatchMockKeydownEvent(t){const e=W();if(e){const{type:n,code:r,metaKey:i,ctrlKey:s,shiftKey:o}=t,a=new Event(n,{bubbles:!1,cancelable:!0});a.code=r,a.metaKey=i,a.ctrlKey=s,a.shiftKey=o,e.dispatchEvent(a)}}},st=new class extends D{render(e,n){return t(e.htmlTag,Object.assign({},this.getCustomAttrs(e),{key:e.id,ref:t=>super.registerRef(t,e),style:e.getStyles(),class:e.getClasses()}),e.children.map((e=>x.getRTERenderer(e.type).render(e,n,t))))}},ot=new class{constructor(){x.registerRTEDTORenderer("title",Z),x.registerRTEDTORenderer("subtitle",Z),x.registerRTEDTORenderer("paragraph",Z),x.registerRTEDTORenderer("heading-1",Z),x.registerRTEDTORenderer("heading-2",Z),x.registerRTEDTORenderer("heading-3",Z),x.registerRTEDTORenderer("heading-4",Z),x.registerRTEDTORenderer("heading-5",Z),x.registerRTEDTORenderer("heading-6",Z),x.registerRTEDTORenderer("bullet-list",tt),x.registerRTEDTORenderer("number-list",tt),x.registerRTEDTORenderer("list-item",Q),x.registerRTEDTORenderer("image",J),x.registerRTEDTORenderer("code-block",it),x.registerRTEDTORenderer("html-block",st),x.registerRTEDTORenderer("TEXT",X),x.registerRTEDTORenderer("IMAGE",q)}getBlockRenderer(t){return x.getRTERenderer(t)}};var at=function(t,e,n,r){var i,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,n,o):i(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o};class ct extends o{constructor(){super(),d.registerCustomDarkModeColor(u.formatDarkModeColor())}componentWillLoad(){this.setRTEContent()}watchValueUpdate(){this.setRTEContent()}getRichTextContentRef(){return this.richTextContentRef}render(){return t(e,null,this.extensionStyles?t("style",{nonce:K.nonce,class:"rte-extension-styles"},this.extensionStyles):null,this.renderRichTextContent())}setRTEContent(){!this.content||this.content instanceof m||(this.content=m.fromJSON(this.content))}renderRichTextContent(){const e=this.shouldShowPlaceholder();return t("div",{ref:t=>this.richTextContentRef=t,class:{showPlaceholder:e,"rich-text-content":!0},"data-placeholder":this.placeholder,contenteditable:this.contentEditable},this.renderContent())}renderContent(){var e;const n={editable:this.contentEditable};return null===(e=this.content)||void 0===e?void 0:e.children.map((e=>{const r=ot.getBlockRenderer(e.type);if(r)return r.render(e,n,t)}))}shouldShowPlaceholder(){var t;const e=null===(t=this.content)||void 0===t?void 0:t.children;if(e){if(e.length>1)return!1;for(const t of e)if(t.isNotEmpty())return!1}return!0}}at([i()],ct.prototype,"placeholder",void 0),at([i()],ct.prototype,"contentEditable",void 0),at([i({writable:!0})],ct.prototype,"content",void 0),at([i()],ct.prototype,"extensionStyles",void 0),at([s("componentWillLoad")],ct.prototype,"componentWillLoad",null),at([s("watchValueUpdate")],ct.prototype,"watchValueUpdate",null);var lt=function(t,e,n,r){var i,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,n,o):i(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o};class ht extends A{constructor(){super({parent:"vega-rich-text-editor",subStates:[{subStateName:"placeholder",parentStateName:"placeholder"},{subStateName:"contentEditable",parentStateName:"richTextContentEditable"}]})}}lt([i()],ht.prototype,"host",void 0),lt([i({writable:!0})],ht.prototype,"placeholder",void 0),lt([i({writable:!0})],ht.prototype,"contentEditable",void 0);var dt=function(t,e,n,r){var i,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,n,o):i(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o};class pt extends o{attachExtensionStyles(){this.attachStylesToHost()}handleExtensionsChange(t,e){$(t,e,!1,((t,e)=>t===e?0:1))||this.attachStylesToHost()}attachStylesToHost(){if(this.extensions){let t="";for(const e of this.extensions){const n=e.collectExtensionRendererStyles();n&&(t+=`${n}\n`)}this.extensionStyles=t}}}dt([i()],pt.prototype,"extensions",void 0),dt([i()],pt.prototype,"host",void 0),dt([i({writable:!0})],pt.prototype,"extensionStyles",void 0),dt([s("componentWillLoad")],pt.prototype,"attachExtensionStyles",null),dt([s("watchExtensions")],pt.prototype,"handleExtensionsChange",null);var ft=function(t,e,n,r){var i,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,n,o):i(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o};const ut=class{constructor(t){n(this,t),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new c,this.vegaRichTextContentRenderer=new ct,this.vegaRichTextContentStateController=new ht,this.vegaRichTextContentExtensionsStylesController=new pt,this.contentEditable=!1,this.extensionStyles="",this.extensions=[]}watchValueUpdate(){}watchExtensions(t,e){}async vegaFocus(){this.vegaRichTextContentRenderer.getRichTextContentRef().focus();const t=U(this.host,"vega-rich-text-editor");t&&await _(t)}render(){return h(this.vegaRichTextContentRenderer.render(),this.host)}get host(){return r(this)}static get watchers(){return{content:["watchValueUpdate"],extensions:["watchExtensions"]}}};ft([l()],ut.prototype,"globalSlimmers",void 0),ft([a()],ut.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),ft([a()],ut.prototype,"vegaRichTextContentRenderer",void 0),ft([a()],ut.prototype,"vegaRichTextContentStateController",void 0),ft([a()],ut.prototype,"vegaRichTextContentExtensionsStylesController",void 0),ut.style=':host{display:flex;flex-direction:column;width:100%}:host .rich-text-content{position:relative;height:100%;outline:2px solid transparent;outline-offset:2px;font-weight:500;color:var(--v-rich-text-editor-black, #111128);overflow-wrap:break-word;white-space:pre-wrap}:host .rich-text-content.showPlaceholder::before{position:absolute;content:attr(data-placeholder);font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .rich-text-content.showPlaceholder::before{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){:host .rich-text-content.showPlaceholder::before{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){:host .rich-text-content.showPlaceholder::before{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .rich-text-content a.v-rte--link{color:rgba(var(--v-text-link, 19, 98, 226, 1));outline:none}:host .rich-text-content a.v-rte--link:visited{color:rgba(var(--v-text-link-visited, 95, 56, 206, 1))}:host .rich-text-content a.v-rte--link:hover{color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}:host .rich-text-content a.v-rte--link:active{color:rgba(var(--v-text-link-active, 29, 65, 195, 1))}:host .rich-text-content a.v-rte--link:focus-visible{color:rgba(var(--v-text-link-focus, 4, 112, 236, 1));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));border-radius:8px}:host .rich-text-content .v-rte--underline{text-decoration:underline}:host .rich-text-content .v-rte--strikethrough{text-decoration:line-through}:host .rich-text-content .v-rte--underline.v-rte--strikethrough{text-decoration:underline line-through}:host .rich-text-content .v-rte--horizontal-alignment-right{text-align:right}:host .rich-text-content .v-rte--horizontal-alignment-left{text-align:left}:host .rich-text-content .v-rte--horizontal-alignment-center{text-align:center}:host .rich-text-content .v-rte--horizontal-alignment-justify{text-align:justify}:host .rich-text-content .v-rte--code{font-family:"Roboto Mono";white-space:pre-wrap}:host .rich-text-content img{cursor:pointer}:host .rich-text-content ul.v-rte--list,:host .rich-text-content ol.v-rte--list{padding-left:8px;margin-left:16px}:host .rich-text-content .link-editor-wrapper{position:relative;outline:2px solid transparent;outline-offset:2px}:host .rich-text-content .link-editor-wrapper vega-rich-text-link-editor{position:absolute;bottom:0;left:0;right:0}:host .rich-text-content .code-block-container{margin-top:22px;margin-bottom:22px}:host .rich-text-content vega-code-block.focus{outline:none}:host .rich-text-content .v-rte--bold{font-weight:700}:host .rich-text-content .v-rte--italic{font-style:italic}:host .rich-text-content .v-rte--image-base img,:host .rich-text-content .v-rte--image-size-lg img,:host .rich-text-content .v-rte--image-size-md img,:host .rich-text-content .v-rte--image-size-sm img{vertical-align:bottom}:host .rich-text-content .v-rte--image-size-sm{width:25%}:host .rich-text-content .v-rte--image-size-md{width:50%}:host .rich-text-content .v-rte--image-size-lg{width:100%}:host .rich-text-content .v-rte--text-style-paragraph{font-family:"Inter";font-size:16px;line-height:22px;font-weight:500;margin:0}:host .rich-text-content .v-rte--text-style-title{font-family:"Inter";font-size:36px;line-height:40px;font-weight:500}:host .rich-text-content .v-rte--text-style-subtitle{font-family:"Inter";font-size:28px;line-height:32px;font-weight:500}:host .rich-text-content .v-rte--text-style-heading-1{font-family:"Inter";font-size:22px;line-height:24px;font-weight:500;margin:0}:host .rich-text-content .v-rte--text-style-heading-2{font-family:"Inter";font-size:20px;line-height:24px;font-weight:500;margin:0}:host .rich-text-content .v-rte--text-style-heading-3{font-family:"Inter";font-size:18px;line-height:22px;font-weight:500;margin:0}:host .rich-text-content .v-rte--text-style-heading-4{font-family:"Inter";font-size:16px;line-height:22px;font-weight:500;margin:0}:host .rich-text-content .v-rte--text-style-heading-5{font-family:"Inter";font-size:14px;line-height:22px;font-weight:500;margin:0}:host .rich-text-content .v-rte--text-style-heading-6{font-family:"Inter";font-size:12px;line-height:22px;font-weight:500;margin:0}';export{ut as vega_rich_text_content}
|
|
1
|
+
import{h as t,H as e,r as n,g as r}from"./p-6b2342e0.js";import{c as i,M as s,V as o,I as a}from"./p-6e1ab235.js";import{V as c,I as l}from"./p-4415ad28.js";import{s as h}from"./p-519a7d55.js";import{a as d}from"./p-8ac2d165.js";import{T as p,I as f,a as u}from"./p-49845a91.js";import{R as x,g,V as m}from"./p-f2b0b58a.js";import{s as v,y as b,Z as w,M as y,k as j,W as k,j as O,X as C,N as R,z,Y as T,_ as I,x as E}from"./p-a0b66c25.js";import{V as S}from"./p-a7b5f497.js";import{c as M}from"./p-86194314.js";import{D as B}from"./p-31ac7386.js";import{f as L,l as N}from"./p-d64fab3d.js";import{i as V}from"./p-415ffa35.js";import{u as P}from"./p-7c39ce96.js";import{t as W}from"./p-b75ee3ba.js";import{v as K}from"./p-4866e390.js";import{S as A}from"./p-5eb7f382.js";import{f as U}from"./p-6c170474.js";import{w as _}from"./p-be1a210b.js";import{i as $}from"./p-d27ae9ff.js";import"./p-a528714c.js";import"./p-2d0d575f.js";import"./p-331a62d5.js";import"./p-f0e828d8.js";import"./p-e1fbfd20.js";import"./p-e6adf829.js";import"./p-593e0f80.js";import"./p-6a334573.js";import"./p-8b5d3a52.js";import"./p-02841589.js";import"./p-bf19682d.js";import"./p-ed45b3b6.js";import"./p-40f39194.js";import"./p-d884c644.js";import"./p-dad3ba5f.js";import"./p-262ec334.js";class D extends S{registerRef(t,e){t&&v.register(t,e)}getCustomAttrs(t){var e;return(null===(e=t.getCustomAttributesAnnotation())||void 0===e?void 0:e.render())||{}}}class F extends S{registerRef(t,e){t&&v.register(t,e)}}const X=new class extends F{render(t){const e=t.getAnnotationByType(b.INLINE_HTML),n=this.renderText(t);return e?this.renderWithWrapper(n,e):n}registerRef(t,e){if(super.registerRef(t,e),t){const n=e.getAnnotationByType("TEXT_COLOR");n&&p.register(t,n)}}renderWithWrapper(e,n){const{htmlTag:r,customStyle:i,customAttribute:s,customClass:o}=n,a=Object.assign(Object.assign({},null==s?void 0:s.render()),{style:null==i?void 0:i.renderStyle(),class:null==o?void 0:o.renderClass().join(" ")});return t(r,Object.assign({},a),n.child?this.renderWithWrapper(e,n.child):e)}renderText(e){var n,r;const i=(null===(n=e.getAnnotationByType(b.CODE))||void 0===n?void 0:n.code)?"code":"span",s=Object.assign(Object.assign({},null===(r=e.getCustomAttributesAnnotation())||void 0===r?void 0:r.render()),{key:e.id,style:e.getStyles(),class:e.getClasses(),ref:t=>this.registerRef(t,e)});return t(i,Object.assign({},s),e.text||w)}};class G extends y{constructor(t){super(),this.type=j.UNLINK_LINK_GROUP,this.groupKey=t}}const H=new class{constructor(){this.handleChange=({detail:t},e,n)=>{switch(t.action){case"link":{const{url:r,text:i}=t.payload,s=i!==e;return void n.forEach((t=>{const e=t.getAnnotationByType(b.LINK).link.groupKey,o=new k({link:{href:r,groupKey:e},newText:s?i:void 0,needMergeNode:s&&n.length>1,doSplit:!1,type:"update_link"});t.apply(o)}))}case"unlink":return void n.forEach((t=>{t.parent.apply(new G(t.annotationMap.get(b.LINK).link.groupKey)),t.deleteAnnotationByType(b.LINK)}))}}}render(e,n,{editable:r}){return this.groupNodesByLink(e).flatMap((e=>{if(this.isLinkGroup(e)){let t;return e.find((e=>{const n=e.getAnnotationByType(b.LINK);if(n)return t=n,!0})),r?this.renderLinkEditorWrapper(e,t,n):this.renderLink(e,t,n)}const i=x.getRTERenderer(e.type);if(i)return i.render(e,{editable:r},t)})).filter(V)}groupNodesByLink(t){return t.reduce(((t,e)=>{const n=e.getAnnotationByType(b.LINK),r=t[t.length-1];return V(n)?r&&this.isLinkGroup(r)&&r[0].getAnnotationByType(b.LINK).toEqual(n)?r.push(e):t.push([e]):t.push(e),t}),[])}isLinkGroup(t){return Array.isArray(t)}renderLinkEditorWrapper(e,n,r){const{href:i}=n.link,s=e.map((t=>t.text)).join("");let o;return t("span",{class:"link-editor-wrapper",role:"link",tabIndex:0,onKeyDown:M(),ref:t=>{t&&(o=t,v.removeDirtyDomRef(t))}},this.renderLink(e,n,r),t("vega-rich-text-link-editor",{record:{text:s,url:i},ref:t=>{t&&(t.target=o,B.addUniqueObserverToNode(t,L,(t=>{this.handleChange(t,s,e)})))}}))}renderLink(e,n,r){return t("a",Object.assign({},r.toJsx(n)),e.map((t=>X.render(t))))}};class Y extends D{renderNodes(e,n){const r=e.getAnnotationByType(O.LINK_GROUP);return r?H.render(e.children,r,n):e.children.map((e=>{const r=x.getRTERenderer(e.type);if(r)return r.render(e,n,t)}))}}const Z=new class extends Y{render(e,n){const r=e.getBlockTag();return t(r,Object.assign({},this.getCustomAttrs(e),{key:e.id,ref:t=>super.registerRef(t,e),style:e.getStyles(),class:e.getClasses()}),super.renderNodes(e,n))}},q=new class extends F{constructor(){super(...arguments),this.handleChange=({detail:t},e)=>{switch(t.action){case"edit":e.apply(new f(t.payload.size,t.payload.alt));break;case"delete":{const t=new InputEvent("beforeinput",{inputType:"deleteContentBackward",bubbles:!0});setTimeout((()=>{v.getDOMByEntity(e).dispatchEvent(t)}),50);break}}}}render(e,n){const r=e.getAnnotationByType(b.IMAGE)||new g("md","");return n.editable?t("vega-rich-text-image-editor",{key:e.id,class:this.getClassesForImageEditor(e),size:r.size,alt:r.alt,ref:t=>{B.addUniqueObserverToNode(t,L,(t=>this.handleChange(t,e)))}},this.renderImage(r,e,n)):this.renderImage(r,e,n)}renderImage(e,n,r){var i;return t("img",Object.assign({},null===(i=n.getCustomAttributesAnnotation())||void 0===i?void 0:i.render({filterAttributes:["width","height"]}),{class:this.getClassesForImageNode(n,r.editable),style:Object.assign(Object.assign({},n.getStyles()),r.editable?{width:"100%"}:e.renderStyle({standalone:!0})),alt:e.alt,"data-size":e.size,src:n.url,ref:t=>super.registerRef(t,n)}))}getCommonClasses(t){const e=t.getAnnotationByType(C.CUSTOM_CLASS);return e?e.customClass.filter(V).reduce(((t,e)=>[t,e].join(" ").trim()),""):null}getClasses(t,e={standalone:!1}){return Array.from(t.annotationMap.values()).filter((t=>t instanceof R)).map((t=>t.renderClass(e))).filter(V).reduce(((t,e)=>[t,e].join(" ").trim()),"")}getClassesForImageNode(t,e){var n;return e?`${z.DECORATOR_NODE_CLASS} ${null!==(n=this.getCommonClasses(t))&&void 0!==n?n:""}`:t.getClasses()}getClassesForImageEditor(t){return`${z.DECORATOR_CONTAINER_CLASS} ${this.getClasses(t)}`}},J=new class extends D{render(e,n){return t("div",Object.assign({},this.getCustomAttrs(e),{key:e.id,ref:t=>super.registerRef(t,e),style:e.getStyles(),class:e.getClasses()}),e.children.map((t=>q.render(t,n))))}},Q=new class extends Y{render(e,n){return t("li",Object.assign({},this.getCustomAttrs(e),{key:e.id,ref:t=>super.registerRef(t,e),style:e.getStyles(),class:e.getClasses()}),super.renderNodes(e,n),this.renderChildren(e.nestList,n))}renderChildren(t,e){return null==t?void 0:t.map((t=>tt.render(t,e)))}},tt=new class extends D{render(e,n){const r=e.getBlockTag();return t(r,Object.assign({},this.getCustomAttrs(e),{key:e.id,ref:t=>super.registerRef(t,e),style:e.getStyles(),class:e.getClasses()}),e.children.map((t=>Q.render(t,n))))}};class et extends y{constructor(t,e){super(),this.isFlushable=!0,this.type=j.SWITCH_OUT_FROM_CODE_BLOCK,this.content=t,this.language=e}}class nt extends y{constructor(){super(...arguments),this.isFlushable=!0,this.type=j.DELETE_CODE_BLOCK}}const rt=new class extends F{render(e,n){const{text:r,language:i}=e;return t("vega-code-block",{key:e.id,value:{code:r,language:i},readOnly:!n.editable,"data-content":r,"data-language":i,ref:t=>{this.registerRef(t,e),B.addUniqueObserverToNode(t,L,(t=>this.handleCodeContentChange(t.detail,e))),B.addUniqueObserverToNode(t,N,(t=>this.handleCodeBlockRemove(t,e))),B.addUniqueObserverToNode(t,P,(t=>this.handleSelectionChange(t.detail,e)))}})}handleCodeContentChange(t,e){const{code:n,language:r}=t;if(this.shouldSwitchOutOfCodeBlock(e.text,n)){const t=new et(n,r);e.parent.apply(t)}else e.apply(new T(n,r))}handleCodeBlockRemove(t,e){t.preventDefault(),e.parent.apply(new nt)}shouldSwitchOutOfCodeBlock(t,e){const n=e.split("\n");return e.length>t.length&&n.length>4&&""===n.slice(n.length-4).join("")}handleSelectionChange(t,e){t?e.apply(new I(null)):e.annotationMap.delete(O.SELECTION_RANGE)}},it=new class extends D{constructor(){super(...arguments),this.preventParentDoFocus=t=>{t.stopPropagation(),"keydown"===t.type&&this.dispatchMockKeydownEvent(t)}}render(e,n){const{id:r,children:i}=e;return t("pre",{key:r,class:"code-block-container",ref:t=>this.registerRef(t,e),onKeyDown:this.preventParentDoFocus,onClick:this.preventParentDoFocus,"data-language":i[0].language},this.renderPlaceholderElement("TOP"),rt.render(i[0],n),this.renderPlaceholderElement("BOTTOM"))}renderPlaceholderElement(e){return t("span",{class:E.CODE_BLOCK_PLACEHOLDER_CLASS_NAME,style:{display:"block",height:"1px",overflow:"hidden",zIndex:"1",marginTop:"BOTTOM"===e?"-1px":"0px",marginBottom:"BOTTOM"===e?"0px":"-1px"}},w)}dispatchMockKeydownEvent(t){const e=W();if(e){const{type:n,code:r,metaKey:i,ctrlKey:s,shiftKey:o}=t,a=new Event(n,{bubbles:!1,cancelable:!0});a.code=r,a.metaKey=i,a.ctrlKey=s,a.shiftKey=o,e.dispatchEvent(a)}}},st=new class extends D{render(e,n){return t(e.htmlTag,Object.assign({},this.getCustomAttrs(e),{key:e.id,ref:t=>super.registerRef(t,e),style:e.getStyles(),class:e.getClasses()}),e.children.map((e=>x.getRTERenderer(e.type).render(e,n,t))))}},ot=new class{constructor(){x.registerRTEDTORenderer("title",Z),x.registerRTEDTORenderer("subtitle",Z),x.registerRTEDTORenderer("paragraph",Z),x.registerRTEDTORenderer("heading-1",Z),x.registerRTEDTORenderer("heading-2",Z),x.registerRTEDTORenderer("heading-3",Z),x.registerRTEDTORenderer("heading-4",Z),x.registerRTEDTORenderer("heading-5",Z),x.registerRTEDTORenderer("heading-6",Z),x.registerRTEDTORenderer("bullet-list",tt),x.registerRTEDTORenderer("number-list",tt),x.registerRTEDTORenderer("list-item",Q),x.registerRTEDTORenderer("image",J),x.registerRTEDTORenderer("code-block",it),x.registerRTEDTORenderer("html-block",st),x.registerRTEDTORenderer("TEXT",X),x.registerRTEDTORenderer("IMAGE",q)}getBlockRenderer(t){return x.getRTERenderer(t)}};var at=function(t,e,n,r){var i,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,n,o):i(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o};class ct extends o{constructor(){super(),d.registerCustomDarkModeColor(u.formatDarkModeColor())}componentWillLoad(){this.setRTEContent()}watchValueUpdate(){this.setRTEContent()}getRichTextContentRef(){return this.richTextContentRef}render(){return t(e,null,this.extensionStyles?t("style",{nonce:K.nonce,class:"rte-extension-styles"},this.extensionStyles):null,this.renderRichTextContent())}setRTEContent(){!this.content||this.content instanceof m||(this.content=m.fromJSON(this.content))}renderRichTextContent(){const e=this.shouldShowPlaceholder();return t("div",{ref:t=>this.richTextContentRef=t,class:{showPlaceholder:e,"rich-text-content":!0},"data-placeholder":this.placeholder,contenteditable:this.contentEditable},this.renderContent())}renderContent(){var e;const n={editable:this.contentEditable};return this.injectRTERefIntoContext(n),null===(e=this.content)||void 0===e?void 0:e.children.map((e=>{const r=ot.getBlockRenderer(e.type);if(r)return r.render(e,n,t)}))}shouldShowPlaceholder(){var t;const e=null===(t=this.content)||void 0===t?void 0:t.children;if(e){if(e.length>1)return!1;for(const t of e)if(t.isNotEmpty())return!1}return!0}injectRTERefIntoContext(t){const e=this.content;if(e){const n=v.getDOMByEntity(e);n&&(t.host=n)}}}at([i()],ct.prototype,"placeholder",void 0),at([i()],ct.prototype,"contentEditable",void 0),at([i({writable:!0})],ct.prototype,"content",void 0),at([i()],ct.prototype,"extensionStyles",void 0),at([s("componentWillLoad")],ct.prototype,"componentWillLoad",null),at([s("watchValueUpdate")],ct.prototype,"watchValueUpdate",null);var lt=function(t,e,n,r){var i,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,n,o):i(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o};class ht extends A{constructor(){super({parent:"vega-rich-text-editor",subStates:[{subStateName:"placeholder",parentStateName:"placeholder"},{subStateName:"contentEditable",parentStateName:"richTextContentEditable"}]})}}lt([i()],ht.prototype,"host",void 0),lt([i({writable:!0})],ht.prototype,"placeholder",void 0),lt([i({writable:!0})],ht.prototype,"contentEditable",void 0);var dt=function(t,e,n,r){var i,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,n,o):i(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o};class pt extends o{attachExtensionStyles(){this.attachStylesToHost()}handleExtensionsChange(t,e){$(t,e,!1,((t,e)=>t===e?0:1))||this.attachStylesToHost()}attachStylesToHost(){if(this.extensions){let t="";for(const e of this.extensions){const n=e.collectExtensionRendererStyles();n&&(t+=`${n}\n`)}this.extensionStyles=t}}}dt([i()],pt.prototype,"extensions",void 0),dt([i()],pt.prototype,"host",void 0),dt([i({writable:!0})],pt.prototype,"extensionStyles",void 0),dt([s("componentWillLoad")],pt.prototype,"attachExtensionStyles",null),dt([s("watchExtensions")],pt.prototype,"handleExtensionsChange",null);var ft=function(t,e,n,r){var i,s=arguments.length,o=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,r);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(o=(s<3?i(o):s>3?i(e,n,o):i(e,n))||o);return s>3&&o&&Object.defineProperty(e,n,o),o};const ut=class{constructor(t){n(this,t),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new c,this.vegaRichTextContentRenderer=new ct,this.vegaRichTextContentStateController=new ht,this.vegaRichTextContentExtensionsStylesController=new pt,this.contentEditable=!1,this.extensionStyles="",this.extensions=[]}watchValueUpdate(){}watchExtensions(t,e){}async vegaFocus(){this.vegaRichTextContentRenderer.getRichTextContentRef().focus();const t=U(this.host,"vega-rich-text-editor");t&&await _(t)}render(){return h(this.vegaRichTextContentRenderer.render(),this.host)}get host(){return r(this)}static get watchers(){return{content:["watchValueUpdate"],extensions:["watchExtensions"]}}};ft([l()],ut.prototype,"globalSlimmers",void 0),ft([a()],ut.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),ft([a()],ut.prototype,"vegaRichTextContentRenderer",void 0),ft([a()],ut.prototype,"vegaRichTextContentStateController",void 0),ft([a()],ut.prototype,"vegaRichTextContentExtensionsStylesController",void 0),ut.style=':host{display:flex;flex-direction:column;width:100%}:host .rich-text-content{position:relative;height:100%;outline:2px solid transparent;outline-offset:2px;font-weight:500;color:var(--v-rich-text-editor-black, #111128);overflow-wrap:break-word;white-space:pre-wrap}:host .rich-text-content.showPlaceholder::before{position:absolute;content:attr(data-placeholder);font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .rich-text-content.showPlaceholder::before{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){:host .rich-text-content.showPlaceholder::before{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){:host .rich-text-content.showPlaceholder::before{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .rich-text-content a.v-rte--link{color:rgba(var(--v-text-link, 19, 98, 226, 1));outline:none}:host .rich-text-content a.v-rte--link:visited{color:rgba(var(--v-text-link-visited, 95, 56, 206, 1))}:host .rich-text-content a.v-rte--link:hover{color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}:host .rich-text-content a.v-rte--link:active{color:rgba(var(--v-text-link-active, 29, 65, 195, 1))}:host .rich-text-content a.v-rte--link:focus-visible{color:rgba(var(--v-text-link-focus, 4, 112, 236, 1));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));border-radius:8px}:host .rich-text-content .v-rte--underline{text-decoration:underline}:host .rich-text-content .v-rte--strikethrough{text-decoration:line-through}:host .rich-text-content .v-rte--underline.v-rte--strikethrough{text-decoration:underline line-through}:host .rich-text-content .v-rte--horizontal-alignment-right{text-align:right}:host .rich-text-content .v-rte--horizontal-alignment-left{text-align:left}:host .rich-text-content .v-rte--horizontal-alignment-center{text-align:center}:host .rich-text-content .v-rte--horizontal-alignment-justify{text-align:justify}:host .rich-text-content .v-rte--code{font-family:"Roboto Mono";white-space:pre-wrap}:host .rich-text-content img{cursor:pointer}:host .rich-text-content ul.v-rte--list,:host .rich-text-content ol.v-rte--list{padding-left:8px;margin-left:16px}:host .rich-text-content .link-editor-wrapper{position:relative;outline:2px solid transparent;outline-offset:2px}:host .rich-text-content .link-editor-wrapper vega-rich-text-link-editor{position:absolute;bottom:0;left:0;right:0}:host .rich-text-content .code-block-container{margin-top:22px;margin-bottom:22px}:host .rich-text-content vega-code-block.focus{outline:none}:host .rich-text-content .v-rte--bold{font-weight:700}:host .rich-text-content .v-rte--italic{font-style:italic}:host .rich-text-content .v-rte--image-base img,:host .rich-text-content .v-rte--image-size-lg img,:host .rich-text-content .v-rte--image-size-md img,:host .rich-text-content .v-rte--image-size-sm img{vertical-align:bottom}:host .rich-text-content .v-rte--image-size-sm{width:25%}:host .rich-text-content .v-rte--image-size-md{width:50%}:host .rich-text-content .v-rte--image-size-lg{width:100%}:host .rich-text-content .v-rte--text-style-paragraph{font-family:"Inter";font-size:16px;line-height:22px;font-weight:500;margin:0}:host .rich-text-content .v-rte--text-style-title{font-family:"Inter";font-size:36px;line-height:40px;font-weight:500}:host .rich-text-content .v-rte--text-style-subtitle{font-family:"Inter";font-size:28px;line-height:32px;font-weight:500}:host .rich-text-content .v-rte--text-style-heading-1{font-family:"Inter";font-size:22px;line-height:24px;font-weight:500;margin:0}:host .rich-text-content .v-rte--text-style-heading-2{font-family:"Inter";font-size:20px;line-height:24px;font-weight:500;margin:0}:host .rich-text-content .v-rte--text-style-heading-3{font-family:"Inter";font-size:18px;line-height:22px;font-weight:500;margin:0}:host .rich-text-content .v-rte--text-style-heading-4{font-family:"Inter";font-size:16px;line-height:22px;font-weight:500;margin:0}:host .rich-text-content .v-rte--text-style-heading-5{font-family:"Inter";font-size:14px;line-height:22px;font-weight:500;margin:0}:host .rich-text-content .v-rte--text-style-heading-6{font-family:"Inter";font-size:12px;line-height:22px;font-weight:500;margin:0}';export{ut as vega_rich_text_content}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as e,c as i,H as s,g as a}from"./p-6b2342e0.js";import{C as o}from"./p-2d0d575f.js";import{d as r,e as n,F as l,b as c,a as d,c as h}from"./p-a528714c.js";import{s as m}from"./p-519a7d55.js";import{c as f,M as u,V as p,I as v}from"./p-6e1ab235.js";import{m as b}from"./p-6bd5c49b.js";import{V as j,I as g}from"./p-4415ad28.js";import{c as V}from"./p-02c9796a.js";import{C as F}from"./p-10734a00.js";import{z as w,A as y,B as C}from"./p-d64fab3d.js";import{c as R}from"./p-e827d56d.js";import{S as O}from"./p-5eb7f382.js";import{F as S}from"./p-a8792e3d.js";import{t as k}from"./p-b75ee3ba.js";import{c as E,f as M,d as B}from"./p-7c39ce96.js";import{d as P}from"./p-31ac7386.js";import{O as I}from"./p-331a62d5.js";import{f as A,b as N,d as x}from"./p-6c170474.js";import{i as D}from"./p-415ffa35.js";import{I as H}from"./p-b28d4f7d.js";import{C as $}from"./p-e52890db.js";import{d as T}from"./p-d27ae9ff.js";import"./p-6a334573.js";import"./p-b7f3221f.js";import"./p-5f377954.js";import"./p-07cb0243.js";import"./p-5a25014f.js";import"./p-02841589.js";import"./p-8b5d3a52.js";import"./p-dad3ba5f.js";import"./p-f0e828d8.js";import"./p-021d4ae4.js";import"./p-ab834f06.js";import"./p-40f39194.js";import"./p-ed45b3b6.js";import"./p-abd7aeaa.js";import"./p-78a57a17.js";import"./p-52b8f2d2.js";import"./p-d884c644.js";import"./p-262ec334.js";var W=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};class z extends O{constructor(){super({parent:"vega-form",subStates:[{subStateName:"disableBlurValidation",parentStateName:"disableBlurValidation"}]})}}W([f()],z.prototype,"host",void 0),W([f({writable:!0})],z.prototype,"disableBlurValidation",void 0);var G=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};class U extends p{setValidationStates(t){0!==t.length?t.forEach((t=>{const e=this.getHostByFieldName(t.fieldName);e&&this.updateFieldValidationState(e,{isValid:t.isValid,errorMessage:t.isValid?"":t.errorMessage})})):Array.from(this.host.querySelectorAll("[data-vega-form]")).filter((t=>S.isValidFormField(t))).forEach((t=>{this.updateFieldValidationState(t,{isValid:!0})}))}getHostByFieldName(t){const e=t.split(".");let i=this.host;for(const t of e){const e=i.querySelector(`[data-vega-form="${t}"]`);if(!S.isValidFormField(e))return null;i=e}return i}updateFieldValidationState(t,{isValid:e,errorMessage:i}){t.isValid=e,o.notify(r,{host:t,message:e?"":i,isValid:e}),o.notify(n,{host:t,detail:e})}}G([f()],U.prototype,"host",void 0),G([u("setValidationStates")],U.prototype,"setValidationStates",null);var _=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};class q extends p{getNativeFormRef(){return this.nativeFormRef}render(){return t("form",{action:this.action,method:this.method,ref:t=>{t&&(this.nativeFormRef=t)}},t("slot",null))}}_([f()],q.prototype,"method",void 0),_([f()],q.prototype,"action",void 0);var J=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};class K extends p{connectedCallback(){this.registerFormSubmitChangeManager()}disconnectedCallback(){this.unregisterFormSubmitChangeManager()}async submitWithFormData(){if(!this.useNativeForm)return;const t=await this.host.getValue();for(const e in t)if("object"==typeof t[e]){const i=this.flattenObjectWithBrackets({[e]:t[e]});for(const t in i){const e=this.createHiddenInput(t,i[t]);this.nativeFormRenderer.getNativeFormRef().append(e)}}else{const i=this.createHiddenInput(e,t[e]);this.nativeFormRenderer.getNativeFormRef().append(i)}this.nativeFormRenderer.getNativeFormRef().requestSubmit()}createHiddenInput(t,e){const i=k().createElement("input");return i.type="hidden",i.name=t,i.value=D(e)?String(e):"",i}registerFormSubmitChangeManager(){var t;this.formSubmitEventObserver=new I(this.canAcceptFormSubmitEvent.bind(this),this.handleSubmitEvents.bind(this));const e=null!==(t=A(this.host,"vega-form",{outerMost:!0}))&&void 0!==t?t:this.host;o.register(P.getSubject(e,E),this.formSubmitEventObserver)}unregisterFormSubmitChangeManager(){var t;const e=null!==(t=A(this.host,"vega-form",{outerMost:!0}))&&void 0!==t?t:this.host;o.unregister(P.getSubject(e,E),this.formSubmitEventObserver)}canAcceptFormSubmitEvent(t){return this.vegaFormFieldController.isElementInCurrentForm(t.host)}async handleSubmitEvents(){if((await this.host.valid()).isValid){const t=await this.host.getValue();this.submitEventEmitter.emit(t).defaultPrevented||await this.submitWithFormData()}}flattenObjectWithBrackets(t,e="",i={}){return Object.entries(t).forEach((([t,s])=>{const a=e?`${e}[${t}]`:t;Array.isArray(s)?s.forEach(((t,e)=>{const s=`${a}[${e}]`;"object"==typeof t&&null!==t?this.flattenObjectWithBrackets(t,s,i):i[s]=t})):D(s)&&"object"==typeof s?this.flattenObjectWithBrackets(s,a,i):i[a]=s})),i}}J([f()],K.prototype,"host",void 0),J([f()],K.prototype,"useNativeForm",void 0),J([f()],K.prototype,"nativeFormRenderer",void 0),J([f()],K.prototype,"submitEventEmitter",void 0),J([f()],K.prototype,"vegaFormFieldController",void 0),J([u("connectedCallback")],K.prototype,"connectedCallback",null),J([u("disconnectedCallback")],K.prototype,"disconnectedCallback",null);var L=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};class Q extends p{constructor(){super(...arguments),this.childNotifyObserver=new $(n,(t=>this.updateInternalValidStatus(t))),this.childNodeValueChangeObserver=new $(l,(()=>{this.isTouched=!0})),this._invalidFieldPathMap=new H(new Map,(t=>{this._invalidFieldPathMap=t,this.updateIsValidFlag()})),this._pendingValidFieldPathMap=new H(new Map,(t=>{this._pendingValidFieldPathMap=t,this.updateIsValidFlag()})),this.updateInternalValidStatus=t=>{if(t.host!==this.host){const e=t.host,i=t.detail;S.isValidFormField(e)&&this.shouldVisitElement(e,!1,!1)&&(i?this.invalidFieldPathMap.delete(e):this.invalidFieldPathMap.set(e,e.dataset.vegaForm))}}}connectedCallback(){this.initFormFieldDisconnectedObserver(),this.registerFormFieldPendingValid()}disconnectedCallback(){o.notify(c,{host:this.host}),o.unregister(c,this.formFieldDisconnectedObserver),o.unregister(d,this.formFieldPendingValidObserver)}async getValue(t){const e={};return await this.navigateVegaFormChildren((async(i,s)=>{const a=this.getFormFieldName(i);e[a]=s?await i.getValue(t):this.getFormFieldValue(i)}),t),T(e)?Object.values(e):e}async setValue(t,e){t&&(await this.navigateVegaFormChildren((async(i,s)=>{const a=this.getFormFieldName(i);s?await i.setValue(t[a],e):(await i.componentOnReady(),void 0!==t[a]&&("function"==typeof i.setValue?await i.setValue(t[a]):i.value=t[a]))}),e),this.isTouched=!1)}async valid(t=!0){const e={isValid:!0,invalidFields:[]};return await this.navigateVegaFormChildren((async(i,s)=>{if("function"==typeof i.valid&&s){const s=await i.valid(t);s.isValid||(e.isValid=!1,e.invalidFields.push(...s.invalidFields),e.invalidFieldsErrorMessages=Object.assign(Object.assign({},e.invalidFieldsErrorMessages),s.invalidFieldsErrorMessages))}else{const{isValid:s,message:a}=await this.handleChildFormFieldElementValid(i,t);s||(e.isValid=!1,e.invalidFields.push(this.getFormFieldName(i)),e.invalidFieldsErrorMessages||(e.invalidFieldsErrorMessages={}),e.invalidFieldsErrorMessages[this.getFormFieldName(i)]=a)}})),e}get invalidFieldPathMap(){return this._invalidFieldPathMap}get pendingValidFieldPathMap(){return this._pendingValidFieldPathMap}setIsTouched(t){this.isTouched=t}getFormFieldName(t){return t.dataset.vegaForm}isElementInCurrentForm(t){return this.invalidFieldPathMap.has(t)||N(t,this.host)}async navigateVegaFormChildren(t,e,i=this.host){const s=[];Array.from(i.children).forEach((i=>{S.isValidFormField(i)?this.shouldVisitElement(i,null==e?void 0:e.skipDisabled,null==e?void 0:e.skipInvisible)&&s.push(t(i,"VEGA-FORM"===i.tagName)):s.push(this.navigateVegaFormChildren(t,e,i))})),await Promise.all(s)}updateIsValidFlag(){this.isValid=this.pendingValidFieldPathMap.size>0?null:0===this.invalidFieldPathMap.size}registerFormFieldPendingValid(){this.formFieldPendingValidObserver=new I(this.canAcceptFormFieldPendingValid.bind(this),this.handleFieldPendingValid.bind(this)),o.register(d,this.formFieldPendingValidObserver)}canAcceptFormFieldPendingValid(t){return this.isElementInCurrentForm(t.host)}handleFieldPendingValid(t){"boolean"==typeof t.detail?this.pendingValidFieldPathMap.delete(t.host):this.pendingValidFieldPathMap.set(t.host,t.host.dataset.vegaForm)}initFormFieldDisconnectedObserver(){this.formFieldDisconnectedObserver=new I(this.canAcceptFormFieldDisconnectedOperation.bind(this),this.updateInvalidFieldPath.bind(this)),o.register(c,this.formFieldDisconnectedObserver)}canAcceptFormFieldDisconnectedOperation(t){return this.invalidFieldPathMap.has(t.host)}async updateInvalidFieldPath(t){this.invalidFieldPathMap.delete(t.host),this.pendingValidFieldPathMap.delete(t.host)}shouldVisitElement(t,e,i){return this.getFormFieldName(t)&&(!e||!t.disabled)&&(!i||x(t))}getFormFieldValue(t){return void 0===t.value?t.getAttribute("value"):t.value}async handleChildFormFieldElementValid(t,e){const i=P.getSubject(t,M),{isValid:s,message:a}=await new Promise((s=>{const a=setTimeout((()=>{s({isValid:!0,message:""})}),2e3);o.notify(i,{host:t,message:e,promiseResolve:s,timerId:a})}));return{isValid:s,message:a}}}L([f()],Q.prototype,"host",void 0),L([f({writable:!0})],Q.prototype,"isValid",void 0),L([f({writable:!0})],Q.prototype,"isTouched",void 0),L([v()],Q.prototype,"childNotifyObserver",void 0),L([v()],Q.prototype,"childNodeValueChangeObserver",void 0),L([u("connectedCallback")],Q.prototype,"connectedCallback",null),L([u("disconnectedCallback")],Q.prototype,"disconnectedCallback",null),L([u("getValue")],Q.prototype,"getValue",null),L([u("setValue")],Q.prototype,"setValue",null),L([u("valid")],Q.prototype,"valid",null);var X=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};class Y extends p{connectedCallback(){this.registerFormResetChangeManager()}disconnectedCallback(){this.unregisterFormResetChangeManager()}async reset(t={},e){await this.vegaFormFieldController.navigateVegaFormChildren((async(i,s)=>{const a=this.vegaFormFieldController.getFormFieldName(i);s&&await i.reset(t[a]||{},e)}),e),o.notify(h,{host:this.host,defaultValueMap:t,option:e}),this.vegaFormFieldController.setIsTouched(!1)}registerFormResetChangeManager(){var t;const e=null!==(t=A(this.host,"vega-form",{outerMost:!0}))&&void 0!==t?t:this.host;this.formResetEventObserver=new I(this.canAcceptFormResetEvent.bind(this),this.handleResetEvents.bind(this)),o.register(P.getSubject(e,B),this.formResetEventObserver)}unregisterFormResetChangeManager(){var t;const e=null!==(t=A(this.host,"vega-form",{outerMost:!0}))&&void 0!==t?t:this.host;o.unregister(P.getSubject(e,B),this.formResetEventObserver)}canAcceptFormResetEvent(t){return this.vegaFormFieldController.isElementInCurrentForm(t.host)}async handleResetEvents(){await this.host.reset(),this.resetEventEmitter.emit()}}X([f()],Y.prototype,"host",void 0),X([f()],Y.prototype,"vegaFormFieldController",void 0),X([f()],Y.prototype,"resetEventEmitter",void 0),X([u("connectedCallback")],Y.prototype,"connectedCallback",null),X([u("disconnectedCallback")],Y.prototype,"disconnectedCallback",null),X([u("reset")],Y.prototype,"reset",null);var Z=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};const tt=class{constructor(t){e(this,t),this.vegaValidate=i(this,"vegaValidate",7),this.validate=i(this,"validate",7),this.vegaFormSubmit=i(this,"vegaFormSubmit",7),this.formSubmit=i(this,"formSubmit",7),this.vegaFormReset=i(this,"vegaFormReset",7),this.formReset=i(this,"formReset",7),this.globalSlimmers={},this.submitEventEmitter=V(tt,w),this.resetEventEmitter=V(tt,y),this.validateEventEmitter=V(tt,C),this.disableBlurValidationNotifySlimmer=R(tt,"disableBlurValidation","watchDisableBlurValidation"),this.stateController=new z,this.childEventPrevent=new F([w,y],(()=>this.host.querySelector("vega-form")),{customPreventHandle:t=>{t.stopPropagation()}}),this.childFormValidateEventPrevent=new F([C],(()=>this.host),{customPreventHandle:t=>{t.stopPropagation()}}),this.vegaComponentUsageRuntimeMetricsSlimmer=new j,this.vegaFormFieldValidationStateController=new U,this.nativeFormRenderer=new q,this.vegaFormSubmitController=new K,this.vegaFormResetController=new Y,this.vegaFormFieldController=new Q,this.isValid=null,this.isTouched=!1,this.disableBlurValidation=!1,this.useNativeForm=!1,this.method="get"}watchIsValid(){this.validateEventEmitter.emit(this.isValid),o.notify(n,{host:this.host,detail:this.isValid})}watchDisableBlurValidation(){}async valid(t=!0){return b(t)}async getValue(t){return b(t)}async setValue(t,e){}async reset(t={},e){}async setValidationStates(t){}render(){return m(t(s,null,this.useNativeForm?this.nativeFormRenderer.render():t("slot",null)),this.host)}get host(){return a(this)}static get watchers(){return{isValid:["watchIsValid"],disableBlurValidation:["watchDisableBlurValidation"]}}};Z([g()],tt.prototype,"globalSlimmers",void 0),Z([v()],tt.prototype,"submitEventEmitter",void 0),Z([v()],tt.prototype,"resetEventEmitter",void 0),Z([v()],tt.prototype,"validateEventEmitter",void 0),Z([v()],tt.prototype,"disableBlurValidationNotifySlimmer",void 0),Z([v()],tt.prototype,"stateController",void 0),Z([v()],tt.prototype,"childEventPrevent",void 0),Z([v()],tt.prototype,"childFormValidateEventPrevent",void 0),Z([v()],tt.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),Z([v()],tt.prototype,"vegaFormFieldValidationStateController",void 0),Z([v()],tt.prototype,"nativeFormRenderer",void 0),Z([v()],tt.prototype,"vegaFormSubmitController",void 0),Z([v()],tt.prototype,"vegaFormResetController",void 0),Z([v()],tt.prototype,"vegaFormFieldController",void 0),tt.style=":host{display:block}";export{tt as vega_form}
|
|
1
|
+
import{h as t,r as e,c as i,H as s,g as a}from"./p-6b2342e0.js";import{C as o}from"./p-2d0d575f.js";import{d as r,e as n,F as l,b as c,a as d,c as h}from"./p-a528714c.js";import{s as m}from"./p-519a7d55.js";import{c as f,M as u,V as p,I as v}from"./p-6e1ab235.js";import{m as b}from"./p-6bd5c49b.js";import{V as j,I as g}from"./p-4415ad28.js";import{c as V}from"./p-02c9796a.js";import{C as F}from"./p-1a51bf6f.js";import{z as w,A as y,B as C}from"./p-d64fab3d.js";import{c as R}from"./p-e827d56d.js";import{S as O}from"./p-5eb7f382.js";import{F as S}from"./p-a8792e3d.js";import{t as k}from"./p-b75ee3ba.js";import{c as E,f as M,d as B}from"./p-7c39ce96.js";import{d as P}from"./p-31ac7386.js";import{O as I}from"./p-331a62d5.js";import{f as A,b as N,d as x}from"./p-6c170474.js";import{i as D}from"./p-415ffa35.js";import{I as H}from"./p-b28d4f7d.js";import{C as $}from"./p-e52890db.js";import{d as T}from"./p-d27ae9ff.js";import"./p-6a334573.js";import"./p-b7f3221f.js";import"./p-5f377954.js";import"./p-18e8d9b7.js";import"./p-5a25014f.js";import"./p-02841589.js";import"./p-8b5d3a52.js";import"./p-dad3ba5f.js";import"./p-f0e828d8.js";import"./p-021d4ae4.js";import"./p-ab834f06.js";import"./p-40f39194.js";import"./p-ed45b3b6.js";import"./p-abd7aeaa.js";import"./p-78a57a17.js";import"./p-52b8f2d2.js";import"./p-d884c644.js";import"./p-262ec334.js";var W=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};class z extends O{constructor(){super({parent:"vega-form",subStates:[{subStateName:"disableBlurValidation",parentStateName:"disableBlurValidation"}]})}}W([f()],z.prototype,"host",void 0),W([f({writable:!0})],z.prototype,"disableBlurValidation",void 0);var G=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};class U extends p{setValidationStates(t){0!==t.length?t.forEach((t=>{const e=this.getHostByFieldName(t.fieldName);e&&this.updateFieldValidationState(e,{isValid:t.isValid,errorMessage:t.isValid?"":t.errorMessage})})):Array.from(this.host.querySelectorAll("[data-vega-form]")).filter((t=>S.isValidFormField(t))).forEach((t=>{this.updateFieldValidationState(t,{isValid:!0})}))}getHostByFieldName(t){const e=t.split(".");let i=this.host;for(const t of e){const e=i.querySelector(`[data-vega-form="${t}"]`);if(!S.isValidFormField(e))return null;i=e}return i}updateFieldValidationState(t,{isValid:e,errorMessage:i}){t.isValid=e,o.notify(r,{host:t,message:e?"":i,isValid:e}),o.notify(n,{host:t,detail:e})}}G([f()],U.prototype,"host",void 0),G([u("setValidationStates")],U.prototype,"setValidationStates",null);var _=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};class q extends p{getNativeFormRef(){return this.nativeFormRef}render(){return t("form",{action:this.action,method:this.method,ref:t=>{t&&(this.nativeFormRef=t)}},t("slot",null))}}_([f()],q.prototype,"method",void 0),_([f()],q.prototype,"action",void 0);var J=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};class K extends p{connectedCallback(){this.registerFormSubmitChangeManager()}disconnectedCallback(){this.unregisterFormSubmitChangeManager()}async submitWithFormData(){if(!this.useNativeForm)return;const t=await this.host.getValue();for(const e in t)if("object"==typeof t[e]){const i=this.flattenObjectWithBrackets({[e]:t[e]});for(const t in i){const e=this.createHiddenInput(t,i[t]);this.nativeFormRenderer.getNativeFormRef().append(e)}}else{const i=this.createHiddenInput(e,t[e]);this.nativeFormRenderer.getNativeFormRef().append(i)}this.nativeFormRenderer.getNativeFormRef().requestSubmit()}createHiddenInput(t,e){const i=k().createElement("input");return i.type="hidden",i.name=t,i.value=D(e)?String(e):"",i}registerFormSubmitChangeManager(){var t;this.formSubmitEventObserver=new I(this.canAcceptFormSubmitEvent.bind(this),this.handleSubmitEvents.bind(this));const e=null!==(t=A(this.host,"vega-form",{outerMost:!0}))&&void 0!==t?t:this.host;o.register(P.getSubject(e,E),this.formSubmitEventObserver)}unregisterFormSubmitChangeManager(){var t;const e=null!==(t=A(this.host,"vega-form",{outerMost:!0}))&&void 0!==t?t:this.host;o.unregister(P.getSubject(e,E),this.formSubmitEventObserver)}canAcceptFormSubmitEvent(t){return this.vegaFormFieldController.isElementInCurrentForm(t.host)}async handleSubmitEvents(){if((await this.host.valid()).isValid){const t=await this.host.getValue();this.submitEventEmitter.emit(t).defaultPrevented||await this.submitWithFormData()}}flattenObjectWithBrackets(t,e="",i={}){return Object.entries(t).forEach((([t,s])=>{const a=e?`${e}[${t}]`:t;Array.isArray(s)?s.forEach(((t,e)=>{const s=`${a}[${e}]`;"object"==typeof t&&null!==t?this.flattenObjectWithBrackets(t,s,i):i[s]=t})):D(s)&&"object"==typeof s?this.flattenObjectWithBrackets(s,a,i):i[a]=s})),i}}J([f()],K.prototype,"host",void 0),J([f()],K.prototype,"useNativeForm",void 0),J([f()],K.prototype,"nativeFormRenderer",void 0),J([f()],K.prototype,"submitEventEmitter",void 0),J([f()],K.prototype,"vegaFormFieldController",void 0),J([u("connectedCallback")],K.prototype,"connectedCallback",null),J([u("disconnectedCallback")],K.prototype,"disconnectedCallback",null);var L=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};class Q extends p{constructor(){super(...arguments),this.childNotifyObserver=new $(n,(t=>this.updateInternalValidStatus(t))),this.childNodeValueChangeObserver=new $(l,(()=>{this.isTouched=!0})),this._invalidFieldPathMap=new H(new Map,(t=>{this._invalidFieldPathMap=t,this.updateIsValidFlag()})),this._pendingValidFieldPathMap=new H(new Map,(t=>{this._pendingValidFieldPathMap=t,this.updateIsValidFlag()})),this.updateInternalValidStatus=t=>{if(t.host!==this.host){const e=t.host,i=t.detail;S.isValidFormField(e)&&this.shouldVisitElement(e,!1,!1)&&(i?this.invalidFieldPathMap.delete(e):this.invalidFieldPathMap.set(e,e.dataset.vegaForm))}}}connectedCallback(){this.initFormFieldDisconnectedObserver(),this.registerFormFieldPendingValid()}disconnectedCallback(){o.notify(c,{host:this.host}),o.unregister(c,this.formFieldDisconnectedObserver),o.unregister(d,this.formFieldPendingValidObserver)}async getValue(t){const e={};return await this.navigateVegaFormChildren((async(i,s)=>{const a=this.getFormFieldName(i);e[a]=s?await i.getValue(t):this.getFormFieldValue(i)}),t),T(e)?Object.values(e):e}async setValue(t,e){t&&(await this.navigateVegaFormChildren((async(i,s)=>{const a=this.getFormFieldName(i);s?await i.setValue(t[a],e):(await i.componentOnReady(),void 0!==t[a]&&("function"==typeof i.setValue?await i.setValue(t[a]):i.value=t[a]))}),e),this.isTouched=!1)}async valid(t=!0){const e={isValid:!0,invalidFields:[]};return await this.navigateVegaFormChildren((async(i,s)=>{if("function"==typeof i.valid&&s){const s=await i.valid(t);s.isValid||(e.isValid=!1,e.invalidFields.push(...s.invalidFields),e.invalidFieldsErrorMessages=Object.assign(Object.assign({},e.invalidFieldsErrorMessages),s.invalidFieldsErrorMessages))}else{const{isValid:s,message:a}=await this.handleChildFormFieldElementValid(i,t);s||(e.isValid=!1,e.invalidFields.push(this.getFormFieldName(i)),e.invalidFieldsErrorMessages||(e.invalidFieldsErrorMessages={}),e.invalidFieldsErrorMessages[this.getFormFieldName(i)]=a)}})),e}get invalidFieldPathMap(){return this._invalidFieldPathMap}get pendingValidFieldPathMap(){return this._pendingValidFieldPathMap}setIsTouched(t){this.isTouched=t}getFormFieldName(t){return t.dataset.vegaForm}isElementInCurrentForm(t){return this.invalidFieldPathMap.has(t)||N(t,this.host)}async navigateVegaFormChildren(t,e,i=this.host){const s=[];Array.from(i.children).forEach((i=>{S.isValidFormField(i)?this.shouldVisitElement(i,null==e?void 0:e.skipDisabled,null==e?void 0:e.skipInvisible)&&s.push(t(i,"VEGA-FORM"===i.tagName)):s.push(this.navigateVegaFormChildren(t,e,i))})),await Promise.all(s)}updateIsValidFlag(){this.isValid=this.pendingValidFieldPathMap.size>0?null:0===this.invalidFieldPathMap.size}registerFormFieldPendingValid(){this.formFieldPendingValidObserver=new I(this.canAcceptFormFieldPendingValid.bind(this),this.handleFieldPendingValid.bind(this)),o.register(d,this.formFieldPendingValidObserver)}canAcceptFormFieldPendingValid(t){return this.isElementInCurrentForm(t.host)}handleFieldPendingValid(t){"boolean"==typeof t.detail?this.pendingValidFieldPathMap.delete(t.host):this.pendingValidFieldPathMap.set(t.host,t.host.dataset.vegaForm)}initFormFieldDisconnectedObserver(){this.formFieldDisconnectedObserver=new I(this.canAcceptFormFieldDisconnectedOperation.bind(this),this.updateInvalidFieldPath.bind(this)),o.register(c,this.formFieldDisconnectedObserver)}canAcceptFormFieldDisconnectedOperation(t){return this.invalidFieldPathMap.has(t.host)}async updateInvalidFieldPath(t){this.invalidFieldPathMap.delete(t.host),this.pendingValidFieldPathMap.delete(t.host)}shouldVisitElement(t,e,i){return this.getFormFieldName(t)&&(!e||!t.disabled)&&(!i||x(t))}getFormFieldValue(t){return void 0===t.value?t.getAttribute("value"):t.value}async handleChildFormFieldElementValid(t,e){const i=P.getSubject(t,M),{isValid:s,message:a}=await new Promise((s=>{const a=setTimeout((()=>{s({isValid:!0,message:""})}),2e3);o.notify(i,{host:t,message:e,promiseResolve:s,timerId:a})}));return{isValid:s,message:a}}}L([f()],Q.prototype,"host",void 0),L([f({writable:!0})],Q.prototype,"isValid",void 0),L([f({writable:!0})],Q.prototype,"isTouched",void 0),L([v()],Q.prototype,"childNotifyObserver",void 0),L([v()],Q.prototype,"childNodeValueChangeObserver",void 0),L([u("connectedCallback")],Q.prototype,"connectedCallback",null),L([u("disconnectedCallback")],Q.prototype,"disconnectedCallback",null),L([u("getValue")],Q.prototype,"getValue",null),L([u("setValue")],Q.prototype,"setValue",null),L([u("valid")],Q.prototype,"valid",null);var X=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};class Y extends p{connectedCallback(){this.registerFormResetChangeManager()}disconnectedCallback(){this.unregisterFormResetChangeManager()}async reset(t={},e){await this.vegaFormFieldController.navigateVegaFormChildren((async(i,s)=>{const a=this.vegaFormFieldController.getFormFieldName(i);s&&await i.reset(t[a]||{},e)}),e),o.notify(h,{host:this.host,defaultValueMap:t,option:e}),this.vegaFormFieldController.setIsTouched(!1)}registerFormResetChangeManager(){var t;const e=null!==(t=A(this.host,"vega-form",{outerMost:!0}))&&void 0!==t?t:this.host;this.formResetEventObserver=new I(this.canAcceptFormResetEvent.bind(this),this.handleResetEvents.bind(this)),o.register(P.getSubject(e,B),this.formResetEventObserver)}unregisterFormResetChangeManager(){var t;const e=null!==(t=A(this.host,"vega-form",{outerMost:!0}))&&void 0!==t?t:this.host;o.unregister(P.getSubject(e,B),this.formResetEventObserver)}canAcceptFormResetEvent(t){return this.vegaFormFieldController.isElementInCurrentForm(t.host)}async handleResetEvents(){await this.host.reset(),this.resetEventEmitter.emit()}}X([f()],Y.prototype,"host",void 0),X([f()],Y.prototype,"vegaFormFieldController",void 0),X([f()],Y.prototype,"resetEventEmitter",void 0),X([u("connectedCallback")],Y.prototype,"connectedCallback",null),X([u("disconnectedCallback")],Y.prototype,"disconnectedCallback",null),X([u("reset")],Y.prototype,"reset",null);var Z=function(t,e,i,s){var a,o=arguments.length,r=o<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i,s);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(r=(o<3?a(r):o>3?a(e,i,r):a(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r};const tt=class{constructor(t){e(this,t),this.vegaValidate=i(this,"vegaValidate",7),this.validate=i(this,"validate",7),this.vegaFormSubmit=i(this,"vegaFormSubmit",7),this.formSubmit=i(this,"formSubmit",7),this.vegaFormReset=i(this,"vegaFormReset",7),this.formReset=i(this,"formReset",7),this.globalSlimmers={},this.submitEventEmitter=V(tt,w),this.resetEventEmitter=V(tt,y),this.validateEventEmitter=V(tt,C),this.disableBlurValidationNotifySlimmer=R(tt,"disableBlurValidation","watchDisableBlurValidation"),this.stateController=new z,this.childEventPrevent=new F([w,y],(()=>this.host.querySelector("vega-form")),{customPreventHandle:t=>{t.stopPropagation()}}),this.childFormValidateEventPrevent=new F([C],(()=>this.host),{customPreventHandle:t=>{t.stopPropagation()}}),this.vegaComponentUsageRuntimeMetricsSlimmer=new j,this.vegaFormFieldValidationStateController=new U,this.nativeFormRenderer=new q,this.vegaFormSubmitController=new K,this.vegaFormResetController=new Y,this.vegaFormFieldController=new Q,this.isValid=null,this.isTouched=!1,this.disableBlurValidation=!1,this.useNativeForm=!1,this.method="get"}watchIsValid(){this.validateEventEmitter.emit(this.isValid),o.notify(n,{host:this.host,detail:this.isValid})}watchDisableBlurValidation(){}async valid(t=!0){return b(t)}async getValue(t){return b(t)}async setValue(t,e){}async reset(t={},e){}async setValidationStates(t){}render(){return m(t(s,null,this.useNativeForm?this.nativeFormRenderer.render():t("slot",null)),this.host)}get host(){return a(this)}static get watchers(){return{isValid:["watchIsValid"],disableBlurValidation:["watchDisableBlurValidation"]}}};Z([g()],tt.prototype,"globalSlimmers",void 0),Z([v()],tt.prototype,"submitEventEmitter",void 0),Z([v()],tt.prototype,"resetEventEmitter",void 0),Z([v()],tt.prototype,"validateEventEmitter",void 0),Z([v()],tt.prototype,"disableBlurValidationNotifySlimmer",void 0),Z([v()],tt.prototype,"stateController",void 0),Z([v()],tt.prototype,"childEventPrevent",void 0),Z([v()],tt.prototype,"childFormValidateEventPrevent",void 0),Z([v()],tt.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),Z([v()],tt.prototype,"vegaFormFieldValidationStateController",void 0),Z([v()],tt.prototype,"nativeFormRenderer",void 0),Z([v()],tt.prototype,"vegaFormSubmitController",void 0),Z([v()],tt.prototype,"vegaFormResetController",void 0),Z([v()],tt.prototype,"vegaFormFieldController",void 0),tt.style=":host{display:block}";export{tt as vega_form}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as e,H as o,g as a}from"./p-6b2342e0.js";import{s as r}from"./p-519a7d55.js";import{I as i}from"./p-4bffdb28.js";import{c as n,M as p,I as l}from"./p-6e1ab235.js";import{V as s,I as c}from"./p-4415ad28.js";import{E as h}from"./p-
|
|
1
|
+
import{h as t,r as e,H as o,g as a}from"./p-6b2342e0.js";import{s as r}from"./p-519a7d55.js";import{I as i}from"./p-4bffdb28.js";import{c as n,M as p,I as l}from"./p-6e1ab235.js";import{V as s,I as c}from"./p-4415ad28.js";import{E as h}from"./p-cc5eaa1b.js";import{c as g}from"./p-8852361b.js";import"./p-95528b47.js";import"./p-6c170474.js";import"./p-415ffa35.js";import"./p-ed45b3b6.js";import"./p-40f39194.js";import"./p-d884c644.js";import"./p-dad3ba5f.js";import"./p-2d0d575f.js";import"./p-a528714c.js";import"./p-781fd6e0.js";import"./p-262ec334.js";import"./p-6a334573.js";import"./p-021d4ae4.js";import"./p-ab834f06.js";import"./p-b75ee3ba.js";import"./p-d78f6ede.js";import"./p-0c667d6a.js";import"./p-d27ae9ff.js";import"./p-18e8d9b7.js";import"./p-5a25014f.js";import"./p-331a62d5.js";import"./p-31ac7386.js";import"./p-7c39ce96.js";import"./p-bf19682d.js";var d=function(t,e,o,a){var r,i=arguments.length,n=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,a);else for(var p=t.length-1;p>=0;p--)(r=t[p])&&(n=(i<3?r(n):i>3?r(e,o,n):r(e,o))||n);return i>3&&n&&Object.defineProperty(e,o,n),n};class m extends h{constructor(){super((()=>this.getShowConfig()),(()=>this.trigger),"isTooltipShow",(()=>this.disableInteractive)),this.getShowConfig=()=>({target:this.host,appendableElement:this.vegaTooltipContentBoxRenderer.getTooltipContentBoxRef(),positionRelativeTo:this.positionRelativeTo,matchTargetWidth:!1,size:this.size,minWidth:this.minWidth,maxWidth:this.maxWidth,placement:this.placement,alignment:this.alignment})}watchTrigger(){"none"===this.trigger&&this.hide()}watchToShowTooltip(){this.isTooltipShow&&this.show()}watchTextChange(t,e){!t&&e&&this.isTooltipShow&&this.hide()}show(){this.deprecatedPropertySlimmer.getValue()&&super.show()}}d([n()],m.prototype,"host",void 0),d([n()],m.prototype,"positionRelativeTo",void 0),d([n()],m.prototype,"size",void 0),d([n()],m.prototype,"minWidth",void 0),d([n()],m.prototype,"maxWidth",void 0),d([n()],m.prototype,"placement",void 0),d([n()],m.prototype,"alignment",void 0),d([n()],m.prototype,"trigger",void 0),d([n()],m.prototype,"disableInteractive",void 0),d([n()],m.prototype,"deprecatedPropertySlimmer",void 0),d([n({writable:!0})],m.prototype,"isTooltipShow",void 0),d([n()],m.prototype,"vegaTooltipContentBoxRenderer",void 0),d([p("watchTrigger")],m.prototype,"watchTrigger",null),d([p("watchToShowTooltip")],m.prototype,"watchToShowTooltip",null),d([p("watchTextChange")],m.prototype,"watchTextChange",null);class v{getTooltipContentBoxRef(){return this.tooltip}render(){return t("vega-tooltip-content-box",{ref:t=>this.tooltip=t,text:this.deprecatedPropertySlimmer.getValue()})}}!function(t,e,o,a){var r,i=arguments.length,n=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,a);else for(var p=t.length-1;p>=0;p--)(r=t[p])&&(n=(i<3?r(n):i>3?r(e,o,n):r(e,o))||n);i>3&&n&&Object.defineProperty(e,o,n)}([n()],v.prototype,"deprecatedPropertySlimmer",void 0);const f=[{payloadKey:"CONTENT_IS_EMPTY",payloadDescription:"@deprecated Specifies the content that is displayed inside the tooltip.",payloadValue:t=>void 0===t.content||""===t.content},{payloadKey:"CONTENT_IS_NOT_EMPTY",payloadDescription:"@deprecated Specifies the content that is displayed inside the tooltip.",payloadValue:t=>void 0!==t.content&&""!==t.content}];var b=function(t,e,o,a){var r,i=arguments.length,n=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,a);else for(var p=t.length-1;p>=0;p--)(r=t[p])&&(n=(i<3?r(n):i>3?r(e,o,n):r(e,o))||n);return i>3&&n&&Object.defineProperty(e,o,n),n};const x=class{constructor(t){e(this,t),this.globalSlimmers={},this.vegaTooltipElementAppenderController=new m,this.vegaTooltipContentBoxRenderer=new v,this.deprecatedPropertySlimmer=g(x,"text","content",void 0),this.vegaComponentUsageRuntimeMetricsSlimmer=new s(f),this.isTooltipShow=!1,this.trigger="hover",this.placement="top",this.alignment="center",this.disableInteractive=!1}watchTrigger(){}watchTextChange(){}watchToShowTooltip(){}render(){return r(t(o,null,t("slot",null),this.vegaTooltipContentBoxRenderer.render()),this.host)}get host(){return a(this)}static get watchers(){return{trigger:["watchTrigger"],content:["watchTextChange"],text:["watchTextChange"],size:["watchToShowTooltip"],placement:["watchToShowTooltip"],alignment:["watchToShowTooltip"]}}};b([c()],x.prototype,"globalSlimmers",void 0),b([l()],x.prototype,"vegaTooltipElementAppenderController",void 0),b([l()],x.prototype,"vegaTooltipContentBoxRenderer",void 0),b([i((t=>[{keyCode:"Tab",activeElementInScope:[t.host],callback:()=>"hover"===t.trigger&&t.vegaTooltipElementAppenderController.show()},{keyCode:"Escape",activeElementInScope:[t.host,t.vegaTooltipContentBoxRenderer.getTooltipContentBoxRef()],callback:()=>t.vegaTooltipElementAppenderController.hide()},{keyCode:"Tab",activeElementOutScope:[t.host,t.vegaTooltipContentBoxRenderer.getTooltipContentBoxRef()],callback:()=>t.isTooltipShow&&t.vegaTooltipElementAppenderController.hide()}])),l()],x.prototype,"deprecatedPropertySlimmer",void 0),b([l()],x.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),x.style=":host{display:inline-block}";var w=function(t,e,o,a){var r,i=arguments.length,n=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,o,a);else for(var p=t.length-1;p>=0;p--)(r=t[p])&&(n=(i<3?r(n):i>3?r(e,o,n):r(e,o))||n);return i>3&&n&&Object.defineProperty(e,o,n),n};const j=class{constructor(t){e(this,t),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new s}render(){return r(t(o,{class:"vega-tooltip",role:"tooltip"},t("div",{class:"vega-tooltip-content"},this.text)),this.host)}get host(){return a(this)}};w([c()],j.prototype,"globalSlimmers",void 0),w([l()],j.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),j.style=':host{position:absolute}:host(.vega-force-hidden){display:none !important}:host(.vega-placement-bottom){margin-top:8px}:host(.vega-placement-left){margin-left:-8px}:host(.vega-placement-right){margin-left:8px}:host(.vega-placement-top){margin-top:-8px}.vega-tooltip-content{border-radius:4px;padding-left:12px;padding-right:12px;padding-top:8px;padding-bottom:8px;overflow-wrap:break-word;background-color:rgba(var(--v-bg-inverted-primary, 4, 4, 28, 1));color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1));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-tooltip-content{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-tooltip-content{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-tooltip-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}.vega-tooltip-content::after{content:"";position:absolute;border-style:solid}:host(.vega-placement-bottom) .vega-tooltip-content::after{top:-4px;border-width:0 5px 4px 5px;border-bottom-color:rgba(var(--v-bg-inverted-primary, 4, 4, 28, 1));border-top-color:transparent;border-left-color:transparent;border-right-color:transparent}:host(.vega-placement-left) .vega-tooltip-content::after{left:100%;border-width:5px 0 5px 4px;border-left-color:rgba(var(--v-bg-inverted-primary, 4, 4, 28, 1));border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent}:host(.vega-placement-right) .vega-tooltip-content::after{left:-4px;border-width:5px 4px 5px 0;border-right-color:rgba(var(--v-bg-inverted-primary, 4, 4, 28, 1));border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent}:host(.vega-placement-top) .vega-tooltip-content::after{bottom:-4px;border-width:4px 5px 0px 5px;border-top-color:rgba(var(--v-bg-inverted-primary, 4, 4, 28, 1));border-bottom-color:transparent;border-left-color:transparent;border-right-color:transparent}:host(.vega-placement-bottom.vega-alignment-start) .vega-tooltip-content::after,:host(.vega-placement-top.vega-alignment-start) .vega-tooltip-content::after{left:8px}:host(.vega-placement-bottom.vega-alignment-center) .vega-tooltip-content::after,:host(.vega-placement-top.vega-alignment-center) .vega-tooltip-content::after{left:calc(50% - 5px)}:host(.vega-placement-bottom.vega-alignment-end) .vega-tooltip-content::after,:host(.vega-placement-top.vega-alignment-end) .vega-tooltip-content::after{right:8px}:host(.vega-placement-left.vega-alignment-start) .vega-tooltip-content::after,:host(.vega-placement-right.vega-alignment-start) .vega-tooltip-content::after{top:8px}:host(.vega-placement-left.vega-alignment-center) .vega-tooltip-content::after,:host(.vega-placement-right.vega-alignment-center) .vega-tooltip-content::after{top:calc(50% - 5px)}:host(.vega-placement-left.vega-alignment-end) .vega-tooltip-content::after,:host(.vega-placement-right.vega-alignment-end) .vega-tooltip-content::after{bottom:8px}';export{x as vega_tooltip,j as vega_tooltip_content_box}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e,F as i,r as t,c as r,H as n,g as a}from"./p-6b2342e0.js";import{s as o}from"./p-519a7d55.js";import{c as s,V as p,M as l,I as d}from"./p-6e1ab235.js";import{V as u,I as h}from"./p-4415ad28.js";import{c}from"./p-02c9796a.js";import{f as g}from"./p-d64fab3d.js";import{F as v}from"./p-a8792e3d.js";import{i as f}from"./p-d27ae9ff.js";import{C as b}from"./p-2d0d575f.js";import{F as m}from"./p-a528714c.js";import{g as x,D as w}from"./p-6c170474.js";import{D as y}from"./p-31ac7386.js";import{C as j}from"./p-10734a00.js";import{I as R}from"./p-f396c69a.js";import{I}from"./p-abd7aeaa.js";import{c as C}from"./p-86194314.js";import{T as V}from"./p-6b6f0fb4.js";import"./p-6a334573.js";import"./p-b7f3221f.js";import"./p-b75ee3ba.js";import"./p-02841589.js";import"./p-331a62d5.js";import"./p-8b5d3a52.js";import"./p-7c39ce96.js";import"./p-dad3ba5f.js";import"./p-f0e828d8.js";import"./p-021d4ae4.js";import"./p-ab834f06.js";import"./p-40f39194.js";import"./p-ed45b3b6.js";import"./p-78a57a17.js";import"./p-52b8f2d2.js";import"./p-5eb7f382.js";import"./p-262ec334.js";import"./p-5f377954.js";import"./p-07cb0243.js";import"./p-5a25014f.js";var N=function(e,i,t,r){var n,a=arguments.length,o=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(a<3?n(o):a>3?n(i,t,o):n(i,t))||o);return a>3&&o&&Object.defineProperty(i,t,o),o};class k extends p{getInputRangeContainerRef(){return this.inputRangeContainerRef}render(){return e(i,null,e("vega-flex",{class:"vega-input-range-container",direction:"horizontal"!==this.stack?"col":"row",alignItems:"horizontal"!==this.stack?"start":"center",gap:"size-8",ref:e=>this.inputRangeContainerRef=e},e("vega-field-label",{onClick:this.inputRangeInputRenderer.focusFirstInput,isFieldRequired:this.required,disabled:this.disabled,label:this.label}),this.inputRangeInputRenderer.render()),this.renderHintDom())}renderHintDom(){if(this.hint)return e("label",{class:"vega-input-range-hint"},e("vega-font",{variant:"font-footnote1-short",color:"text-secondary"},this.hint))}}N([s()],k.prototype,"required",void 0),N([s()],k.prototype,"disabled",void 0),N([s()],k.prototype,"label",void 0),N([s()],k.prototype,"hint",void 0),N([s()],k.prototype,"stack",void 0),N([s()],k.prototype,"inputRangeInputRenderer",void 0);var z=function(e,i,t,r){var n,a=arguments.length,o=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(a<3?n(o):a>3?n(i,t,o):n(i,t))||o);return a>3&&o&&Object.defineProperty(i,t,o),o};class O extends p{emitEventAndNotifyAfterValueChange(e,i){f(e,i)||(this.changeEventEmitter.emit(e),b.notify(m,{host:this.host,detail:e}))}updateValueByRangeIndex(e,i){let t=this.value;t=0===i?[e,Array.isArray(this.value)&&!isNaN(Number(this.value[1]))?this.value[1]:""]:[Array.isArray(this.value)&&!isNaN(Number(this.value[0]))?this.value[0]:"",e],f(t,this.value)||this.setValue(t)}setValue(e){this.valueGuard(e)&&(this.value=e)}valueGuard(e){return Array.isArray(e)&&2===e.length}}z([s({writable:!0})],O.prototype,"value",void 0),z([s()],O.prototype,"host",void 0),z([s()],O.prototype,"changeEventEmitter",void 0),z([l("watchValue")],O.prototype,"emitEventAndNotifyAfterValueChange",null);var A=function(e,i,t,r){var n,a=arguments.length,o=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(a<3?n(o):a>3?n(i,t,o):n(i,t))||o);return a>3&&o&&Object.defineProperty(i,t,o),o};class E extends p{constructor(){super(...arguments),this.isMobileDevice=x()===w.MOBILE,this.focusFirstInput=()=>{this.minFieldInputRef.doFocus()},this.inputValueChange=e=>{this.valueController.updateValueByRangeIndex(e.detail,"0"===e.host.dataset.index?0:1)}}getInputRefByIndex(e){return[this.minFieldInputRef,this.maxFieldInputRef][e]}render(){return e("vega-box",{class:{"vega-input-range-input-container":!0,"input-range-disabled":this.disabled,"input-range-mobile":this.isMobileDevice,"input-range-with-clear-icon":this.showClearIcon&&!this.disabled},corners:"rounded-8",backgroundColor:this.disabled?"bg-secondary":"bg-primary"},e("vega-flex",{"align-items":"center",direction:this.isMobileDevice?"col":"row"},e("vega-input",Object.assign({prefixIcon:this.prefixIcon},this.getInputPropsByRangeIndex(0),{ref:e=>{y.addUniqueObserverToNode(e,g,this.inputValueChange),this.minFieldInputRef=e}})),e("span",{class:"vega-input-range-divider"}),e("vega-input",Object.assign({class:{"with-left-padding-in-mobile":!!this.prefixIcon&&this.isMobileDevice}},this.getInputPropsByRangeIndex(1),{ref:e=>{y.addUniqueObserverToNode(e,g,this.inputValueChange),this.maxFieldInputRef=e}}))),this.clearIconRenderer.render())}getInputPropsByRangeIndex(e){return{type:"number","data-index":e,placeholder:this.getPlaceholderByIndex(e),showClearIcon:!1,disabled:this.disabled,size:this.size,min:this.min,max:this.max,value:this.getDefaultValueByIndex(e)}}getPlaceholderByIndex(e){return this.translationSlimmer.t((this.placeholder||E.defaultPlaceholder)[e])}getDefaultValueByIndex(e){return(this.value||["",""])[e]}}E.defaultPlaceholder=["Minimum","Maximum"],A([s()],E.prototype,"value",void 0),A([s()],E.prototype,"prefixIcon",void 0),A([s()],E.prototype,"disabled",void 0),A([s()],E.prototype,"min",void 0),A([s()],E.prototype,"max",void 0),A([s()],E.prototype,"size",void 0),A([s()],E.prototype,"placeholder",void 0),A([s()],E.prototype,"showClearIcon",void 0),A([s()],E.prototype,"valueController",void 0),A([s()],E.prototype,"clearIconRenderer",void 0),A([s()],E.prototype,"translationSlimmer",void 0);class F extends I{constructor(e){super(),this.invalidResult=e=>({isValid:!1,message:e}),this.validResult=()=>({isValid:!0,message:""}),this.minValue=0===e.minValue||e.minValue?Number(e.minValue):null,this.maxValue=0===e.maxValue||e.maxValue?Number(e.maxValue):null}canEvaluate(e,i){return i?this.isAcceptedInputType(e)&&!i.disabled&&i.visible:this.isAcceptedInputType(e)}evaluate(e){if(!this.isAcceptedInputType(e))throw new Error(`Unexpected type of input: ${typeof e}: ${e}`);const i=Number(e[0]),t=Number(e[1]);return null!==this.minValue&&(""!==e[0]&&i<this.minValue||""!==e[1]&&t<this.minValue)?this.invalidResult({key:"The minimum input value is {0}",args:[this.minValue]}):null!==this.maxValue&&(""!==e[0]&&i>this.maxValue||""!==e[1]&&t>this.maxValue)?this.invalidResult({key:"The maximum input value is {0}",args:[this.maxValue]}):""!==e[0]&&""!==e[1]&&i>t?this.invalidResult("The end value should be greater than the start value"):this.validResult()}shouldShowError(e){return!e.disabled&&e.visible&&(e.touched||e.modified)}isAcceptedInputType(e){return Array.isArray(e)&&2===e.length&&e.every((e=>"number"==typeof Number(e)))}}var M=function(e,i,t,r){var n,a=arguments.length,o=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(a<3?n(o):a>3?n(i,t,o):n(i,t))||o);return a>3&&o&&Object.defineProperty(i,t,o),o};class S extends p{constructor(){super(...arguments),this.clearInputRangeValue=()=>{this.valueController.setValue(["",""]),this.inputRangeInputRenderer.focusFirstInput()}}render(){return e("div",{class:{"vega-input-range-clear-icon":!0,invisible:!this.shouldShowClearIcon()},"aria-label":"clear input range",role:"button",tabindex:this.disabled?-1:0,onClick:this.clearInputRangeValue,onKeyDown:C()},e("vega-icon",{icon:"close"}))}shouldShowClearIcon(){return this.showClearIcon&&!this.disabled&&Array.isArray(this.value)&&this.value.some((e=>!!e))}}M([s()],S.prototype,"showClearIcon",void 0),M([s()],S.prototype,"value",void 0),M([s()],S.prototype,"disabled",void 0),M([s()],S.prototype,"inputRangeInputRenderer",void 0),M([s()],S.prototype,"valueController",void 0);var B=function(e,i,t,r){var n,a=arguments.length,o=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(a<3?n(o):a>3?n(i,t,o):n(i,t))||o);return a>3&&o&&Object.defineProperty(i,t,o),o};const D=class{constructor(e){t(this,e),this.vegaChange=r(this,"vegaChange",7),this.change=r(this,"change",7),this.globalSlimmers={},this.translationSlimmer=new V,this.formFieldController=new v({propertyRules:[{propertyName:"required",ruleFactory:e=>e?new R:null},{propertyName:"min",ruleFactory:(e,i)=>new F({minValue:e,maxValue:i}),dependence:"max"},{propertyName:"max",ruleFactory:(e,i)=>new F({minValue:i,maxValue:e}),dependence:"min"}],validationRulesName:"validationRules",defaultValue:["",""],attributeGetter:e=>this[e],inputContainerGetter:()=>this.inputRangeRenderer.getInputRangeContainerRef(),touchableAreaGetter:()=>[this.inputRangeInputRenderer.getInputRefByIndex(0),this.inputRangeInputRenderer.getInputRefByIndex(1)]}),this.inputRangeInputRenderer=new E,this.clearIconRenderer=new S,this.inputRangeRenderer=new k,this.valueController=new O,this.inputChangeEventPrevent=new j([g],(()=>this.inputRangeRenderer.getInputRangeContainerRef())),this.changeEventEmitter=c(D,g),this.vegaComponentUsageRuntimeMetricsSlimmer=new u,this.label="",this.value=["",""],this.showClearIcon=!0,this.min=null,this.max=null,this.required=!1,this.isValid=null,this.autoValidation=!0,this.validationRules=[],this.size="default",this.placeholder=["Minimum","Maximum"],this.disabled=!1,this.hint="",this.stack="vertical"}watchValue(e,i){}watchValidationRules(){}render(){return o(e(n,{class:{disabled:this.disabled}},this.inputRangeRenderer.render()),this.host)}get host(){return a(this)}static get watchers(){return{value:["watchValue"],validationRules:["watchValidationRules"]}}};B([h()],D.prototype,"globalSlimmers",void 0),B([d()],D.prototype,"translationSlimmer",void 0),B([d()],D.prototype,"formFieldController",void 0),B([d()],D.prototype,"inputRangeInputRenderer",void 0),B([d()],D.prototype,"clearIconRenderer",void 0),B([d()],D.prototype,"inputRangeRenderer",void 0),B([d()],D.prototype,"valueController",void 0),B([d()],D.prototype,"inputChangeEventPrevent",void 0),B([d()],D.prototype,"changeEventEmitter",void 0),B([d()],D.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),D.style=':host{display:inline-block;width:100%}.vega-input-range-input-container{position:relative;width:100%;flex:1 1 0%;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));box-sizing:border-box;min-width:50%}.vega-input-range-input-container:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}.vega-input-range-input-container .vega-input-range-divider{display:inline-block;width:0px;height:24px;border-color:rgba(var(--v-border-color-input-field, 171, 198, 216, 1));border-style:solid;border-right-width:1px;border-left-width:0px;flex-shrink:0}.vega-input-range-input-container:focus-within .vega-input-range-divider{opacity:0}.vega-input-range-input-container .vega-input-range-clear-icon{position:absolute;width:16px;height:16px;cursor:pointer;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));top:50%;right:16px;transform:translateY(-50%);z-index:2}.vega-input-range-input-container .vega-input-range-clear-icon.invisible{visibility:hidden}.vega-input-range-input-container .vega-input-range-clear-icon:focus-within{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px;border-radius:4px;padding:2px}.vega-input-range-input-container vega-input::part(input-container){border-width:0px}.vega-input-range-input-container vega-input::part(input-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));position:relative;box-shadow:0 0 0;margin:-1px;z-index:1}.vega-input-range-input-container.input-range-with-clear-icon vega-input:last-child::part(input){padding-right:24px}.vega-input-range-input-container.input-range-disabled{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-input-range-input-container.input-range-disabled:hover{border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}.vega-input-range-input-container.input-range-disabled .vega-input-range-divider{border-color:rgba(var(--v-border-color-input-field-disabled, 222, 225, 227, 1))}.vega-input-range-input-container.input-range-mobile .vega-input-range-divider{width:100%;height:0px;border-right-width:0px;border-left-width:0px;border-top-width:0px;border-bottom-width:1px}.vega-input-range-input-container.input-range-mobile:focus-within .vega-input-range-divider{opacity:1}.vega-input-range-input-container.input-range-mobile .with-left-padding-in-mobile::part(input){padding-left:26px}.vega-input-range-input-container.input-range-mobile .vega-input-range-clear-icon{top:25%}.vega-input-range-input-container.input-range-mobile.input-range-with-clear-icon vega-input:first-child::part(input){padding-right:24px}.vega-input-range-input-container.input-range-mobile.input-range-with-clear-icon vega-input:last-child::part(input){padding-right:2px}.vega-input-range-container.error .vega-input-range-input-container{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}.vega-input-range-container.error .vega-input-range-input-container:hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}.vega-input-range-container.error .vega-input-range-input-container .vega-input-range-clear-icon:focus-within{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:2px}.vega-input-range-container.error vega-input::part(input-container):focus-within{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1))}.vega-input-range-hint{display:inline-block;padding-top:12px;padding-right:8px;padding-left:8px}.vega-error{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));display:block;padding-top:12px;padding-right:8px;padding-left:8px}@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}';export{D as vega_input_range}
|
|
1
|
+
import{h as e,F as i,r as t,c as r,H as n,g as a}from"./p-6b2342e0.js";import{s as o}from"./p-519a7d55.js";import{c as s,V as p,M as l,I as d}from"./p-6e1ab235.js";import{V as u,I as h}from"./p-4415ad28.js";import{c}from"./p-02c9796a.js";import{f as g}from"./p-d64fab3d.js";import{F as v}from"./p-a8792e3d.js";import{i as f}from"./p-d27ae9ff.js";import{C as b}from"./p-2d0d575f.js";import{F as m}from"./p-a528714c.js";import{g as x,D as w}from"./p-6c170474.js";import{D as y}from"./p-31ac7386.js";import{C as j}from"./p-1a51bf6f.js";import{I as R}from"./p-f396c69a.js";import{I}from"./p-abd7aeaa.js";import{c as C}from"./p-86194314.js";import{T as V}from"./p-6b6f0fb4.js";import"./p-6a334573.js";import"./p-b7f3221f.js";import"./p-b75ee3ba.js";import"./p-02841589.js";import"./p-331a62d5.js";import"./p-8b5d3a52.js";import"./p-7c39ce96.js";import"./p-dad3ba5f.js";import"./p-f0e828d8.js";import"./p-021d4ae4.js";import"./p-ab834f06.js";import"./p-40f39194.js";import"./p-ed45b3b6.js";import"./p-78a57a17.js";import"./p-52b8f2d2.js";import"./p-5eb7f382.js";import"./p-262ec334.js";import"./p-5f377954.js";import"./p-18e8d9b7.js";import"./p-5a25014f.js";var N=function(e,i,t,r){var n,a=arguments.length,o=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(a<3?n(o):a>3?n(i,t,o):n(i,t))||o);return a>3&&o&&Object.defineProperty(i,t,o),o};class k extends p{getInputRangeContainerRef(){return this.inputRangeContainerRef}render(){return e(i,null,e("vega-flex",{class:"vega-input-range-container",direction:"horizontal"!==this.stack?"col":"row",alignItems:"horizontal"!==this.stack?"start":"center",gap:"size-8",ref:e=>this.inputRangeContainerRef=e},e("vega-field-label",{onClick:this.inputRangeInputRenderer.focusFirstInput,isFieldRequired:this.required,disabled:this.disabled,label:this.label}),this.inputRangeInputRenderer.render()),this.renderHintDom())}renderHintDom(){if(this.hint)return e("label",{class:"vega-input-range-hint"},e("vega-font",{variant:"font-footnote1-short",color:"text-secondary"},this.hint))}}N([s()],k.prototype,"required",void 0),N([s()],k.prototype,"disabled",void 0),N([s()],k.prototype,"label",void 0),N([s()],k.prototype,"hint",void 0),N([s()],k.prototype,"stack",void 0),N([s()],k.prototype,"inputRangeInputRenderer",void 0);var z=function(e,i,t,r){var n,a=arguments.length,o=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(a<3?n(o):a>3?n(i,t,o):n(i,t))||o);return a>3&&o&&Object.defineProperty(i,t,o),o};class O extends p{emitEventAndNotifyAfterValueChange(e,i){f(e,i)||(this.changeEventEmitter.emit(e),b.notify(m,{host:this.host,detail:e}))}updateValueByRangeIndex(e,i){let t=this.value;t=0===i?[e,Array.isArray(this.value)&&!isNaN(Number(this.value[1]))?this.value[1]:""]:[Array.isArray(this.value)&&!isNaN(Number(this.value[0]))?this.value[0]:"",e],f(t,this.value)||this.setValue(t)}setValue(e){this.valueGuard(e)&&(this.value=e)}valueGuard(e){return Array.isArray(e)&&2===e.length}}z([s({writable:!0})],O.prototype,"value",void 0),z([s()],O.prototype,"host",void 0),z([s()],O.prototype,"changeEventEmitter",void 0),z([l("watchValue")],O.prototype,"emitEventAndNotifyAfterValueChange",null);var A=function(e,i,t,r){var n,a=arguments.length,o=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(a<3?n(o):a>3?n(i,t,o):n(i,t))||o);return a>3&&o&&Object.defineProperty(i,t,o),o};class E extends p{constructor(){super(...arguments),this.isMobileDevice=x()===w.MOBILE,this.focusFirstInput=()=>{this.minFieldInputRef.doFocus()},this.inputValueChange=e=>{this.valueController.updateValueByRangeIndex(e.detail,"0"===e.host.dataset.index?0:1)}}getInputRefByIndex(e){return[this.minFieldInputRef,this.maxFieldInputRef][e]}render(){return e("vega-box",{class:{"vega-input-range-input-container":!0,"input-range-disabled":this.disabled,"input-range-mobile":this.isMobileDevice,"input-range-with-clear-icon":this.showClearIcon&&!this.disabled},corners:"rounded-8",backgroundColor:this.disabled?"bg-secondary":"bg-primary"},e("vega-flex",{"align-items":"center",direction:this.isMobileDevice?"col":"row"},e("vega-input",Object.assign({prefixIcon:this.prefixIcon},this.getInputPropsByRangeIndex(0),{ref:e=>{y.addUniqueObserverToNode(e,g,this.inputValueChange),this.minFieldInputRef=e}})),e("span",{class:"vega-input-range-divider"}),e("vega-input",Object.assign({class:{"with-left-padding-in-mobile":!!this.prefixIcon&&this.isMobileDevice}},this.getInputPropsByRangeIndex(1),{ref:e=>{y.addUniqueObserverToNode(e,g,this.inputValueChange),this.maxFieldInputRef=e}}))),this.clearIconRenderer.render())}getInputPropsByRangeIndex(e){return{type:"number","data-index":e,placeholder:this.getPlaceholderByIndex(e),showClearIcon:!1,disabled:this.disabled,size:this.size,min:this.min,max:this.max,value:this.getDefaultValueByIndex(e)}}getPlaceholderByIndex(e){return this.translationSlimmer.t((this.placeholder||E.defaultPlaceholder)[e])}getDefaultValueByIndex(e){return(this.value||["",""])[e]}}E.defaultPlaceholder=["Minimum","Maximum"],A([s()],E.prototype,"value",void 0),A([s()],E.prototype,"prefixIcon",void 0),A([s()],E.prototype,"disabled",void 0),A([s()],E.prototype,"min",void 0),A([s()],E.prototype,"max",void 0),A([s()],E.prototype,"size",void 0),A([s()],E.prototype,"placeholder",void 0),A([s()],E.prototype,"showClearIcon",void 0),A([s()],E.prototype,"valueController",void 0),A([s()],E.prototype,"clearIconRenderer",void 0),A([s()],E.prototype,"translationSlimmer",void 0);class F extends I{constructor(e){super(),this.invalidResult=e=>({isValid:!1,message:e}),this.validResult=()=>({isValid:!0,message:""}),this.minValue=0===e.minValue||e.minValue?Number(e.minValue):null,this.maxValue=0===e.maxValue||e.maxValue?Number(e.maxValue):null}canEvaluate(e,i){return i?this.isAcceptedInputType(e)&&!i.disabled&&i.visible:this.isAcceptedInputType(e)}evaluate(e){if(!this.isAcceptedInputType(e))throw new Error(`Unexpected type of input: ${typeof e}: ${e}`);const i=Number(e[0]),t=Number(e[1]);return null!==this.minValue&&(""!==e[0]&&i<this.minValue||""!==e[1]&&t<this.minValue)?this.invalidResult({key:"The minimum input value is {0}",args:[this.minValue]}):null!==this.maxValue&&(""!==e[0]&&i>this.maxValue||""!==e[1]&&t>this.maxValue)?this.invalidResult({key:"The maximum input value is {0}",args:[this.maxValue]}):""!==e[0]&&""!==e[1]&&i>t?this.invalidResult("The end value should be greater than the start value"):this.validResult()}shouldShowError(e){return!e.disabled&&e.visible&&(e.touched||e.modified)}isAcceptedInputType(e){return Array.isArray(e)&&2===e.length&&e.every((e=>"number"==typeof Number(e)))}}var M=function(e,i,t,r){var n,a=arguments.length,o=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(a<3?n(o):a>3?n(i,t,o):n(i,t))||o);return a>3&&o&&Object.defineProperty(i,t,o),o};class S extends p{constructor(){super(...arguments),this.clearInputRangeValue=()=>{this.valueController.setValue(["",""]),this.inputRangeInputRenderer.focusFirstInput()}}render(){return e("div",{class:{"vega-input-range-clear-icon":!0,invisible:!this.shouldShowClearIcon()},"aria-label":"clear input range",role:"button",tabindex:this.disabled?-1:0,onClick:this.clearInputRangeValue,onKeyDown:C()},e("vega-icon",{icon:"close"}))}shouldShowClearIcon(){return this.showClearIcon&&!this.disabled&&Array.isArray(this.value)&&this.value.some((e=>!!e))}}M([s()],S.prototype,"showClearIcon",void 0),M([s()],S.prototype,"value",void 0),M([s()],S.prototype,"disabled",void 0),M([s()],S.prototype,"inputRangeInputRenderer",void 0),M([s()],S.prototype,"valueController",void 0);var B=function(e,i,t,r){var n,a=arguments.length,o=a<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(o=(a<3?n(o):a>3?n(i,t,o):n(i,t))||o);return a>3&&o&&Object.defineProperty(i,t,o),o};const D=class{constructor(e){t(this,e),this.vegaChange=r(this,"vegaChange",7),this.change=r(this,"change",7),this.globalSlimmers={},this.translationSlimmer=new V,this.formFieldController=new v({propertyRules:[{propertyName:"required",ruleFactory:e=>e?new R:null},{propertyName:"min",ruleFactory:(e,i)=>new F({minValue:e,maxValue:i}),dependence:"max"},{propertyName:"max",ruleFactory:(e,i)=>new F({minValue:i,maxValue:e}),dependence:"min"}],validationRulesName:"validationRules",defaultValue:["",""],attributeGetter:e=>this[e],inputContainerGetter:()=>this.inputRangeRenderer.getInputRangeContainerRef(),touchableAreaGetter:()=>[this.inputRangeInputRenderer.getInputRefByIndex(0),this.inputRangeInputRenderer.getInputRefByIndex(1)]}),this.inputRangeInputRenderer=new E,this.clearIconRenderer=new S,this.inputRangeRenderer=new k,this.valueController=new O,this.inputChangeEventPrevent=new j([g],(()=>this.inputRangeRenderer.getInputRangeContainerRef())),this.changeEventEmitter=c(D,g),this.vegaComponentUsageRuntimeMetricsSlimmer=new u,this.label="",this.value=["",""],this.showClearIcon=!0,this.min=null,this.max=null,this.required=!1,this.isValid=null,this.autoValidation=!0,this.validationRules=[],this.size="default",this.placeholder=["Minimum","Maximum"],this.disabled=!1,this.hint="",this.stack="vertical"}watchValue(e,i){}watchValidationRules(){}render(){return o(e(n,{class:{disabled:this.disabled}},this.inputRangeRenderer.render()),this.host)}get host(){return a(this)}static get watchers(){return{value:["watchValue"],validationRules:["watchValidationRules"]}}};B([h()],D.prototype,"globalSlimmers",void 0),B([d()],D.prototype,"translationSlimmer",void 0),B([d()],D.prototype,"formFieldController",void 0),B([d()],D.prototype,"inputRangeInputRenderer",void 0),B([d()],D.prototype,"clearIconRenderer",void 0),B([d()],D.prototype,"inputRangeRenderer",void 0),B([d()],D.prototype,"valueController",void 0),B([d()],D.prototype,"inputChangeEventPrevent",void 0),B([d()],D.prototype,"changeEventEmitter",void 0),B([d()],D.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),D.style=':host{display:inline-block;width:100%}.vega-input-range-input-container{position:relative;width:100%;flex:1 1 0%;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));box-sizing:border-box;min-width:50%}.vega-input-range-input-container:hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1))}.vega-input-range-input-container .vega-input-range-divider{display:inline-block;width:0px;height:24px;border-color:rgba(var(--v-border-color-input-field, 171, 198, 216, 1));border-style:solid;border-right-width:1px;border-left-width:0px;flex-shrink:0}.vega-input-range-input-container:focus-within .vega-input-range-divider{opacity:0}.vega-input-range-input-container .vega-input-range-clear-icon{position:absolute;width:16px;height:16px;cursor:pointer;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));top:50%;right:16px;transform:translateY(-50%);z-index:2}.vega-input-range-input-container .vega-input-range-clear-icon.invisible{visibility:hidden}.vega-input-range-input-container .vega-input-range-clear-icon:focus-within{outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px;border-radius:4px;padding:2px}.vega-input-range-input-container vega-input::part(input-container){border-width:0px}.vega-input-range-input-container vega-input::part(input-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));position:relative;box-shadow:0 0 0;margin:-1px;z-index:1}.vega-input-range-input-container.input-range-with-clear-icon vega-input:last-child::part(input){padding-right:24px}.vega-input-range-input-container.input-range-disabled{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-input-range-input-container.input-range-disabled:hover{border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1))}.vega-input-range-input-container.input-range-disabled .vega-input-range-divider{border-color:rgba(var(--v-border-color-input-field-disabled, 222, 225, 227, 1))}.vega-input-range-input-container.input-range-mobile .vega-input-range-divider{width:100%;height:0px;border-right-width:0px;border-left-width:0px;border-top-width:0px;border-bottom-width:1px}.vega-input-range-input-container.input-range-mobile:focus-within .vega-input-range-divider{opacity:1}.vega-input-range-input-container.input-range-mobile .with-left-padding-in-mobile::part(input){padding-left:26px}.vega-input-range-input-container.input-range-mobile .vega-input-range-clear-icon{top:25%}.vega-input-range-input-container.input-range-mobile.input-range-with-clear-icon vega-input:first-child::part(input){padding-right:24px}.vega-input-range-input-container.input-range-mobile.input-range-with-clear-icon vega-input:last-child::part(input){padding-right:2px}.vega-input-range-container.error .vega-input-range-input-container{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}.vega-input-range-container.error .vega-input-range-input-container:hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}.vega-input-range-container.error .vega-input-range-input-container .vega-input-range-clear-icon:focus-within{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:2px}.vega-input-range-container.error vega-input::part(input-container):focus-within{outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:3px;border:1px solid rgba(var(--v-border-color-input-field-danger-focus, 233, 71, 104, 1))}.vega-input-range-hint{display:inline-block;padding-top:12px;padding-right:8px;padding-left:8px}.vega-error{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));display:block;padding-top:12px;padding-right:8px;padding-left:8px}@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}';export{D as vega_input_range}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t,r as e,c as i,H as s,g as o}from"./p-6b2342e0.js";import{s as r}from"./p-519a7d55.js";import{c as a,V as p,M as n,I as l}from"./p-6e1ab235.js";import{V as h,I as f}from"./p-4415ad28.js";import{D as m}from"./p-31ac7386.js";import{f as c,F as u}from"./p-d64fab3d.js";import{n as d,c as v,b as j}from"./p-262ec334.js";import{C as b}from"./p-1a51bf6f.js";import{c as w}from"./p-02c9796a.js";import{F as x}from"./p-a528714c.js";import{C as y}from"./p-2d0d575f.js";import{K as R}from"./p-0e679d8c.js";import{F as C}from"./p-a8792e3d.js";import{R as g}from"./p-280cbcdb.js";import{c as I}from"./p-e827d56d.js";import{M as V,a as N}from"./p-f0ff4463.js";import"./p-331a62d5.js";import"./p-6c170474.js";import"./p-b7f3221f.js";import"./p-5f377954.js";import"./p-18e8d9b7.js";import"./p-5a25014f.js";import"./p-6a334573.js";import"./p-b75ee3ba.js";import"./p-95528b47.js";import"./p-415ffa35.js";import"./p-ed45b3b6.js";import"./p-40f39194.js";import"./p-d884c644.js";import"./p-dad3ba5f.js";import"./p-02841589.js";import"./p-8b5d3a52.js";import"./p-7c39ce96.js";import"./p-f0e828d8.js";import"./p-021d4ae4.js";import"./p-ab834f06.js";import"./p-abd7aeaa.js";import"./p-78a57a17.js";import"./p-52b8f2d2.js";import"./p-d27ae9ff.js";import"./p-5eb7f382.js";var T=function(t,e,i,s){var o,r=arguments.length,a=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var p=t.length-1;p>=0;p--)(o=t[p])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};class S extends p{constructor(){super(...arguments),this.onInputChange=t=>{this.valueController.updateValue(t.detail)},this.onInputBlur=t=>{const e=t.host.value.replace(/,/g,"");if(""!==e&&!isNaN(e)){let t=d(Number(e),this.min,this.max);this.integerOnly&&(t===this.min?t=Math.ceil(this.min):t===this.max&&(t=Math.floor(this.max))),t!==Number(e)&&this.valueController.updateValue(t.toString())}}}getInputRef(){return this.vegaInputRef.shadowRoot.querySelector("input")}getContainerRef(){return this.vegaInputRef.shadowRoot.querySelector(".vega-input-container")}render(){const e={thousandComma:this.thousandComma};return this.integerOnly&&(e.precision=0),t("vega-input",{value:this.value||"",showClearIcon:this.showClearIcon,disabled:this.disabled,label:this.label,hint:this.hint,required:this.required,type:"number",placeholder:this.placeholder,size:"small"===this.size?"small":"default",prefixIcon:this.prefixIcon,ref:t=>{this.vegaInputRef=t,m.addUniqueObserverToNode(t,c,(t=>this.onInputChange(t))),m.addUniqueObserverToNode(t,u,(t=>this.onInputBlur(t)))},maskConfig:{type:"number",options:e}})}}T([a()],S.prototype,"prefixIcon",void 0),T([a()],S.prototype,"showClearIcon",void 0),T([a()],S.prototype,"value",void 0),T([a()],S.prototype,"size",void 0),T([a()],S.prototype,"disabled",void 0),T([a()],S.prototype,"placeholder",void 0),T([a()],S.prototype,"label",void 0),T([a()],S.prototype,"hint",void 0),T([a()],S.prototype,"required",void 0),T([a()],S.prototype,"thousandComma",void 0),T([a()],S.prototype,"integerOnly",void 0),T([a()],S.prototype,"min",void 0),T([a()],S.prototype,"max",void 0),T([a()],S.prototype,"valueController",void 0);var O=function(t,e,i,s){var o,r=arguments.length,a=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var p=t.length-1;p>=0;p--)(o=t[p])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};class k extends p{watchValue(){this.changeEventEmitter.emit(this.value),y.notify(x,{host:this.host,detail:this.value})}updateValue(t){this.value=t}}O([a()],k.prototype,"host",void 0),O([a({writable:!0})],k.prototype,"value",void 0),O([a()],k.prototype,"changeEventEmitter",void 0),O([n("watchValue")],k.prototype,"watchValue",null);var E=function(t,e,i,s){var o,r=arguments.length,a=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var p=t.length-1;p>=0;p--)(o=t[p])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};class F extends R{constructor(){super((t=>[{keyCode:["ArrowUp","ArrowDown"],activeElementInScope:[t.host],callback:t.onArrowUpOrDown},{keyCode:["ArrowUp"],eventName:"keydown",activeElementInScope:[t.host],callback:t=>{t.preventDefault()}}])),this.onArrowUpOrDown=t=>{const e=t.shiftKey?this.majorIncrement:this.minorIncrement,i=v(this.value.replace(/,/g,""))||0,s=Math.max(j(i),j(e));"ArrowUp"===t.code?this.valueController.updateValue(`${(i+e).toFixed(s)}`):"ArrowDown"===t.code&&this.valueController.updateValue(`${(i-e).toFixed(s)}`)}}}E([a()],F.prototype,"host",void 0),E([a()],F.prototype,"value",void 0),E([a()],F.prototype,"minorIncrement",void 0),E([a()],F.prototype,"majorIncrement",void 0),E([a()],F.prototype,"valueController",void 0);var A=function(t,e,i,s){var o,r=arguments.length,a=r<3?e:null===s?s=Object.getOwnPropertyDescriptor(e,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,s);else for(var p=t.length-1;p>=0;p--)(o=t[p])&&(a=(r<3?o(a):r>3?o(e,i,a):o(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a};const M=class{constructor(t){e(this,t),this.vegaChange=i(this,"vegaChange",7),this.change=i(this,"change",7),this.globalSlimmers={},this.valueController=new k,this.keyboardController=new F,this.renderer=new S,this.changeEventEmitter=w(M,c),this.inputEventPrevent=new b([c],(()=>this.host),{useCapture:!0}),this.formFieldController=new C({propertyRules:[{propertyName:"required",ruleFactory:t=>t?new g:null},{propertyName:"min",ruleFactory:t=>"number"==typeof t?new V({minValue:t}):null},{propertyName:"max",ruleFactory:t=>"number"==typeof t?new N({maxValue:t}):null}],validationRulesName:"validationRules",inputContainerGetter:()=>this.renderer.getContainerRef(),touchableAreaGetter:()=>[this.renderer.getInputRef()],defaultValue:"",attributeGetter:t=>this[t]}),this.prefixTextNotifySlimmer=I(M,"prefixText","watchPrefixText"),this.suffixTextNotifySlimmer=I(M,"suffixText","watchSuffixText"),this.isCompactInputWidthNotifySlimmer=I(M,"isCompactInputWidth"),this.vegaComponentUsageRuntimeMetricsSlimmer=new h,this.isCompactInputWidth=!0,this.prefixText="",this.value="",this.size="medium",this.thousandComma=!1,this.integerOnly=!1,this.disabled=!1,this.minorIncrement=1,this.majorIncrement=10,this.label="",this.validationRules=[],this.isValid=null,this.autoValidation=!0,this.showClearIcon=!0,this.min=null,this.max=null}watchPrefixText(){}watchSuffixText(){}watchValue(){}watchValidationRules(){}render(){return r(t(s,null,this.renderer.render()),this.host)}get host(){return o(this)}static get watchers(){return{prefixText:["watchPrefixText"],suffixText:["watchSuffixText"],value:["watchValue"],validationRules:["watchValidationRules"]}}};A([f()],M.prototype,"globalSlimmers",void 0),A([l()],M.prototype,"valueController",void 0),A([l()],M.prototype,"keyboardController",void 0),A([l()],M.prototype,"renderer",void 0),A([l()],M.prototype,"changeEventEmitter",void 0),A([l()],M.prototype,"inputEventPrevent",void 0),A([l()],M.prototype,"formFieldController",void 0),A([l()],M.prototype,"prefixTextNotifySlimmer",void 0),A([l()],M.prototype,"suffixTextNotifySlimmer",void 0),A([l()],M.prototype,"isCompactInputWidthNotifySlimmer",void 0),A([l()],M.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),M.style=":host{display:inline-block;width:100%}";export{M as vega_input_numeric}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e,r as t,H as n,g as i}from"./p-6b2342e0.js";import{s}from"./p-519a7d55.js";import{c as o,V as a,L as l,I as f}from"./p-6e1ab235.js";import{s as r}from"./p-6bd5c49b.js";import{V as p,I as d}from"./p-4415ad28.js";import{P as h}from"./p-021d4ae4.js";import{g as x}from"./p-ab834f06.js";import{C as v}from"./p-75b58efe.js";import{R as m}from"./p-b256b7a4.js";import{a as g}from"./p-6c170474.js";import{m as b,i as c,f as w}from"./p-7181861a.js";import"./p-b75ee3ba.js";import"./p-40f39194.js";import"./p-ed45b3b6.js";import"./p-415ffa35.js";import"./p-d884c644.js";import"./p-dad3ba5f.js";import"./p-2d0d575f.js";import"./p-a528714c.js";import"./p-262ec334.js";import"./p-0c667d6a.js";import"./p-d27ae9ff.js";import"./p-07cb0243.js";import"./p-5a25014f.js";class y extends a{getFontTokenByBreakpoint(){return m.formatCustom(this.variant)}}!function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([o()],y.prototype,"variant",void 0);const I=["h1","h2","h3","h4","h5","h6","i","p","span","q","s","del","em","cite","b","abbr",""];class z extends a{getTagNameFromPropAs(){const e=m.formatCustom(this.as)||"";return this.isSafeAs(e)?e:(l.warn(`The as value ${e} is invalid, it must be a value of: `,I),"")}isSafeAs(e){return!!I.includes(e)}}!function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([o()],z.prototype,"as",void 0);var u=function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};class k extends a{getClassName(){const e=this.variantController.getFontTokenByBreakpoint(),t=[];return e&&t.push(b(e)),this.color&&t.push(c(this.color)),this.disableResponsive&&t.push("disable-responsive"),this.textAlign&&t.push(w(this.textAlign,"textAlign")),g(t)}}u([o()],k.prototype,"color",void 0),u([o()],k.prototype,"disableResponsive",void 0),u([o()],k.prototype,"variantController",void 0),u([o()],k.prototype,"textAlign",void 0);class j extends a{render(t){const n=this.asController.getTagNameFromPropAs();return n?e(n,{class:t},e("slot",null)):e("slot",null)}}!function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([o()],j.prototype,"asController",void 0);const L=[{payloadKey:"VARIANT_IS_FONT_FIELD_LABEL",payloadDescription:"Specifies the typography token used for styling the text within this component. A typography token includes values for font size and line height",payloadValue:e=>"font-field-label"===e.variant},{payloadKey:"VARIANT_IS_NOT_FONT_FIELD_LABEL",payloadDescription:"Specifies the typography token used for styling the text within this component. A typography token includes values for font size and line height",payloadValue:e=>"font-field-label"!==e.variant}];var R=function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};const S=class{constructor(e){t(this,e),this.globalSlimmers={},this.pageResizeSlimmer=new h,this.variantController=new y,this.asController=new z,this.classesController=new k,this.renderer=new j,this.vegaComponentUsageRuntimeMetricsSlimmer=new p(L),this.currentBreakpoint=x(),this.variant="font-field-label",this.color="text-primary",this.disableResponsive=!1,this.as=""}watchAsChange(e){}componentDidLoad(){}componentDidUpdate(){}render(){const t=this.classesController.getClassName();return r(e("slot",null)),s(e(n,{class:t},this.renderer.render(t)),this.host)}get host(){return i(this)}static get watchers(){return{as:["watchAsChange"]}}};R([d()],S.prototype,"globalSlimmers",void 0),R([f()],S.prototype,"pageResizeSlimmer",void 0),R([f()],S.prototype,"variantController",void 0),R([f()],S.prototype,"asController",void 0),R([f()],S.prototype,"classesController",void 0),R([f()],S.prototype,"renderer",void 0),R([f()],S.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),R([v()],S.prototype,"watchAsChange",null),S.style=':host(.v-text-primary),.v-text-primary{color:rgba(var(--v-text-primary, 32, 54, 69, 1))}:host(.v-text-secondary),.v-text-secondary{color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}:host(.v-text-inverted-primary),.v-text-inverted-primary{color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1))}:host(.v-text-inverted-secondary),.v-text-inverted-secondary{color:rgba(var(--v-text-inverted-secondary, 188, 186, 213, 1))}:host(.v-text-black),.v-text-black{color:rgba(var(--v-text-black, 32, 54, 69, 1))}:host(.v-text-white),.v-text-white{color:rgba(var(--v-text-white, 252, 252, 252, 1))}:host(.v-text-brand),.v-text-brand{color:rgba(var(--v-text-brand, 51, 57, 61, 1))}:host(.v-text-danger-link),.v-text-danger-link{color:rgba(var(--v-text-danger-link, 230, 50, 87, 1))}:host(.v-text-danger-link-hover),.v-text-danger-link-hover{color:rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))}:host(.v-text-danger-link-active),.v-text-danger-link-active{color:rgba(var(--v-text-danger-link-active, 189, 41, 71, 1))}:host(.v-text-danger-link-focus),.v-text-danger-link-focus{color:rgba(var(--v-text-danger-link-focus, 240, 52, 91, 1))}:host(.v-text-danger-link-visited),.v-text-danger-link-visited{color:rgba(var(--v-text-danger-link-visited, 230, 50, 87, 1))}:host(.v-text-disabled),.v-text-disabled{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host(.v-text-error),.v-text-error{color:rgba(var(--v-text-error, 189, 41, 71, 1))}:host(.v-text-input-disabled),.v-text-input-disabled{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1))}:host(.v-text-input-placeholder),.v-text-input-placeholder{color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}:host(.v-text-link),.v-text-link{color:rgba(var(--v-text-link, 19, 98, 226, 1))}:host(.v-text-link-hover),.v-text-link-hover{color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}:host(.v-text-link-active),.v-text-link-active{color:rgba(var(--v-text-link-active, 29, 65, 195, 1))}:host(.v-text-link-focus),.v-text-link-focus{color:rgba(var(--v-text-link-focus, 4, 112, 236, 1))}:host(.v-text-link-visited),.v-text-link-visited{color:rgba(var(--v-text-link-visited, 95, 56, 206, 1))}:host(.v-text-on-action),.v-text-on-action{color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}:host(.v-text-on-danger),.v-text-on-danger{color:rgba(var(--v-text-on-danger, 252, 252, 252, 1))}:host(.v-text-on-disabled),.v-text-on-disabled{color:rgba(var(--v-text-on-disabled, 252, 252, 252, 1))}:host(.v-text-sidebar-link),.v-text-sidebar-link{color:rgba(var(--v-text-sidebar-link, 188, 186, 213, 1))}:host(.v-text-sidebar-link-hover),.v-text-sidebar-link-hover{color:rgba(var(--v-text-sidebar-link-hover, 18, 18, 39, 1))}:host(.v-text-sidebar-link-selected),.v-text-sidebar-link-selected{color:rgba(var(--v-text-sidebar-link-selected, 252, 252, 252, 1))}:host(.v-text-site-footer-link),.v-text-site-footer-link{color:rgba(var(--v-text-site-footer-link, 171, 198, 216, 1))}:host(.v-text-site-footer-link-hover),.v-text-site-footer-link-hover{color:rgba(var(--v-text-site-footer-link-hover, 199, 217, 229, 1))}:host(.v-text-site-footer-link-active),.v-text-site-footer-link-active{color:rgba(var(--v-text-site-footer-link-active, 143, 179, 203, 1))}:host(.v-text-success),.v-text-success{color:rgba(var(--v-text-success, 1, 128, 31, 1))}:host(.v-text-inverted-success),.v-text-inverted-success{color:rgba(var(--v-text-inverted-success, 89, 217, 119, 1))}:host(.v-text-accent1-primary),.v-text-accent1-primary{color:rgba(var(--v-text-accent1-primary, 115, 230, 220, 1))}:host(.v-text-accent2-primary),.v-text-accent2-primary{color:rgba(var(--v-text-accent2-primary, 128, 107, 255, 1))}:host(.v-text-accent3-primary),.v-text-accent3-primary{color:rgba(var(--v-text-accent3-primary, 255, 220, 131, 1))}:host(.v-text-accent4-primary),.v-text-accent4-primary{color:rgba(var(--v-text-accent4-primary, 255, 149, 113, 1))}:host(.v-text-accent5-primary),.v-text-accent5-primary{color:rgba(var(--v-text-accent5-primary, 0, 187, 255, 1))}:host(.v-text-accent6-primary),.v-text-accent6-primary{color:rgba(var(--v-text-accent6-primary, 240, 52, 91, 1))}:host(.v-text-accent7-primary),.v-text-accent7-primary{color:rgba(var(--v-text-accent7-primary, 37, 159, 159, 1))}:host(.v-text-accent8-primary),.v-text-accent8-primary{color:rgba(var(--v-text-accent8-primary, 86, 61, 130, 1))}:host(.v-text-accent9-primary),.v-text-accent9-primary{color:rgba(var(--v-text-accent9-primary, 255, 191, 63, 1))}:host(.v-text-accent10-primary),.v-text-accent10-primary{color:rgba(var(--v-text-accent10-primary, 237, 122, 35, 1))}:host(.v-font-h1),.v-font-h1{font-family:"Inter", sans-serif;font-size:42px;font-weight:700;line-height:50px;letter-spacing:0.42px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h1:not(.disable-responsive)),.v-font-h1:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:42px;font-weight:700;line-height:50px;letter-spacing:2.52px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h1:not(.disable-responsive)),.v-font-h1:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:48px;font-weight:700;line-height:56px;letter-spacing:0.96px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h1:not(.disable-responsive)),.v-font-h1:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:60px;font-weight:700;line-height:70px;letter-spacing:1.8px}}:host(.v-font-h2),.v-font-h2{font-family:"Inter", sans-serif;font-size:32px;font-weight:700;line-height:40px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h2:not(.disable-responsive)),.v-font-h2:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:32px;font-weight:700;line-height:40px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h2:not(.disable-responsive)),.v-font-h2:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:36px;font-weight:700;line-height:44px;letter-spacing:1.8px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h2:not(.disable-responsive)),.v-font-h2:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:42px;font-weight:700;line-height:52px;letter-spacing:0.42px}}:host(.v-font-h3),.v-font-h3{font-family:"Inter", sans-serif;font-size:28px;font-weight:500;line-height:36px;letter-spacing:0.28px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h3:not(.disable-responsive)),.v-font-h3:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:28px;font-weight:500;line-height:36px;letter-spacing:0.28px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h3:not(.disable-responsive)),.v-font-h3:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:28px;font-weight:500;line-height:36px;letter-spacing:0.28px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h3:not(.disable-responsive)),.v-font-h3:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:32px;font-weight:500;line-height:44px;letter-spacing:0.32px}}:host(.v-font-h4),.v-font-h4{font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h4:not(.disable-responsive)),.v-font-h4:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h4:not(.disable-responsive)),.v-font-h4:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h4:not(.disable-responsive)),.v-font-h4:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:28px;font-weight:700;line-height:36px;letter-spacing:0px}}:host(.v-font-h5),.v-font-h5{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h5:not(.disable-responsive)),.v-font-h5:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h5:not(.disable-responsive)),.v-font-h5:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h5:not(.disable-responsive)),.v-font-h5:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}:host(.v-font-h6),.v-font-h6{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h6:not(.disable-responsive)),.v-font-h6:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h6:not(.disable-responsive)),.v-font-h6:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h6:not(.disable-responsive)),.v-font-h6:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}:host(.v-font-p1-short),.v-font-p1-short{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p1-short:not(.disable-responsive)),.v-font-p1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:27px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-p1-short:not(.disable-responsive)),.v-font-p1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:27px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-p1-short:not(.disable-responsive)),.v-font-p1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:27px;letter-spacing:0px}}:host(.v-font-p1-long),.v-font-p1-long{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:32px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p1-long:not(.disable-responsive)),.v-font-p1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:30px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-p1-long:not(.disable-responsive)),.v-font-p1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:30px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-p1-long:not(.disable-responsive)),.v-font-p1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:30px;letter-spacing:0px}}:host(.v-font-p2-short),.v-font-p2-short{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p2-short:not(.disable-responsive)),.v-font-p2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-p2-short:not(.disable-responsive)),.v-font-p2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-p2-short:not(.disable-responsive)),.v-font-p2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.v-font-p2-long),.v-font-p2-long{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:30px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p2-long:not(.disable-responsive)),.v-font-p2-long:not(.disable-responsive){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){:host(.v-font-p2-long:not(.disable-responsive)),.v-font-p2-long:not(.disable-responsive){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){:host(.v-font-p2-long:not(.disable-responsive)),.v-font-p2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}:host(.v-font-btn-label),.v-font-btn-label{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-label:not(.disable-responsive)),.v-font-btn-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-label:not(.disable-responsive)),.v-font-btn-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-label:not(.disable-responsive)),.v-font-btn-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-btn-label-lg),.v-font-btn-label-lg{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-label-lg:not(.disable-responsive)),.v-font-btn-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-label-lg:not(.disable-responsive)),.v-font-btn-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-label-lg:not(.disable-responsive)),.v-font-btn-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-btn-label-sm),.v-font-btn-label-sm{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-label-sm:not(.disable-responsive)),.v-font-btn-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-label-sm:not(.disable-responsive)),.v-font-btn-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-label-sm:not(.disable-responsive)),.v-font-btn-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}:host(.v-font-btn-link-label),.v-font-btn-link-label{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-link-label:not(.disable-responsive)),.v-font-btn-link-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-link-label:not(.disable-responsive)),.v-font-btn-link-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-link-label:not(.disable-responsive)),.v-font-btn-link-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}:host(.v-font-btn-link-label-lg),.v-font-btn-link-label-lg{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-link-label-lg:not(.disable-responsive)),.v-font-btn-link-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-link-label-lg:not(.disable-responsive)),.v-font-btn-link-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-link-label-lg:not(.disable-responsive)),.v-font-btn-link-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:22px;letter-spacing:0px}}:host(.v-font-btn-link-label-sm),.v-font-btn-link-label-sm{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-link-label-sm:not(.disable-responsive)),.v-font-btn-link-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-link-label-sm:not(.disable-responsive)),.v-font-btn-link-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-link-label-sm:not(.disable-responsive)),.v-font-btn-link-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}:host(.v-font-field-label),.v-font-field-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label:not(.disable-responsive)),.v-font-field-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label:not(.disable-responsive)),.v-font-field-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label:not(.disable-responsive)),.v-font-field-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.v-font-field-label-sm),.v-font-field-label-sm{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-sm:not(.disable-responsive)),.v-font-field-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-sm:not(.disable-responsive)),.v-font-field-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-sm:not(.disable-responsive)),.v-font-field-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}:host(.v-font-field-label-xs),.v-font-field-label-xs{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-xs:not(.disable-responsive)),.v-font-field-label-xs:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-xs:not(.disable-responsive)),.v-font-field-label-xs:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-xs:not(.disable-responsive)),.v-font-field-label-xs:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host(.v-font-field-label-lg),.v-font-field-label-lg{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-lg:not(.disable-responsive)),.v-font-field-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-lg:not(.disable-responsive)),.v-font-field-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-lg:not(.disable-responsive)),.v-font-field-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}:host(.v-font-field-label-em),.v-font-field-label-em{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-em:not(.disable-responsive)),.v-font-field-label-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-em:not(.disable-responsive)),.v-font-field-label-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-em:not(.disable-responsive)),.v-font-field-label-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}:host(.v-font-field-label-sm-em),.v-font-field-label-sm-em{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-sm-em:not(.disable-responsive)),.v-font-field-label-sm-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-sm-em:not(.disable-responsive)),.v-font-field-label-sm-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-sm-em:not(.disable-responsive)),.v-font-field-label-sm-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.v-font-field-label-xs-em),.v-font-field-label-xs-em{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-xs-em:not(.disable-responsive)),.v-font-field-label-xs-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-xs-em:not(.disable-responsive)),.v-font-field-label-xs-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-xs-em:not(.disable-responsive)),.v-font-field-label-xs-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.v-font-field-label-lg-em),.v-font-field-label-lg-em{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-lg-em:not(.disable-responsive)),.v-font-field-label-lg-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-lg-em:not(.disable-responsive)),.v-font-field-label-lg-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-lg-em:not(.disable-responsive)),.v-font-field-label-lg-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-field-value),.v-font-field-value{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){:host(.v-font-field-value:not(.disable-responsive)),.v-font-field-value:not(.disable-responsive){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){:host(.v-font-field-value:not(.disable-responsive)),.v-font-field-value:not(.disable-responsive){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){:host(.v-font-field-value:not(.disable-responsive)),.v-font-field-value:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host(.v-font-field-value-sm),.v-font-field-value-sm{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-value-sm:not(.disable-responsive)),.v-font-field-value-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-value-sm:not(.disable-responsive)),.v-font-field-value-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-value-sm:not(.disable-responsive)),.v-font-field-value-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}:host(.v-font-field-value-em),.v-font-field-value-em{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-value-em:not(.disable-responsive)),.v-font-field-value-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-value-em:not(.disable-responsive)),.v-font-field-value-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-value-em:not(.disable-responsive)),.v-font-field-value-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}:host(.v-font-field-value-disabled),.v-font-field-value-disabled{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){:host(.v-font-field-value-disabled:not(.disable-responsive)),.v-font-field-value-disabled:not(.disable-responsive){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){:host(.v-font-field-value-disabled:not(.disable-responsive)),.v-font-field-value-disabled:not(.disable-responsive){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){:host(.v-font-field-value-disabled:not(.disable-responsive)),.v-font-field-value-disabled:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host(.v-font-sidebar-link),.v-font-sidebar-link{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-sidebar-link:not(.disable-responsive)),.v-font-sidebar-link:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-sidebar-link:not(.disable-responsive)),.v-font-sidebar-link:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-sidebar-link:not(.disable-responsive)),.v-font-sidebar-link:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}}:host(.v-font-sidebar-link-em),.v-font-sidebar-link-em{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-sidebar-link-em:not(.disable-responsive)),.v-font-sidebar-link-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-sidebar-link-em:not(.disable-responsive)),.v-font-sidebar-link-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-sidebar-link-em:not(.disable-responsive)),.v-font-sidebar-link-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-footnote1-short),.v-font-footnote1-short{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote1-short:not(.disable-responsive)),.v-font-footnote1-short:not(.disable-responsive){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){:host(.v-font-footnote1-short:not(.disable-responsive)),.v-font-footnote1-short:not(.disable-responsive){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){:host(.v-font-footnote1-short:not(.disable-responsive)),.v-font-footnote1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host(.v-font-footnote1-long),.v-font-footnote1-long{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote1-long:not(.disable-responsive)),.v-font-footnote1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-footnote1-long:not(.disable-responsive)),.v-font-footnote1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-footnote1-long:not(.disable-responsive)),.v-font-footnote1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}:host(.v-font-footnote2-short),.v-font-footnote2-short{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote2-short:not(.disable-responsive)),.v-font-footnote2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-footnote2-short:not(.disable-responsive)),.v-font-footnote2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-footnote2-short:not(.disable-responsive)),.v-font-footnote2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}}:host(.v-font-footnote2-long),.v-font-footnote2-long{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote2-long:not(.disable-responsive)),.v-font-footnote2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-footnote2-long:not(.disable-responsive)),.v-font-footnote2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-footnote2-long:not(.disable-responsive)),.v-font-footnote2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}:host(.v-font-h-modal),.v-font-h-modal{font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h-modal:not(.disable-responsive)),.v-font-h-modal:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h-modal:not(.disable-responsive)),.v-font-h-modal:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h-modal:not(.disable-responsive)),.v-font-h-modal:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}}:host(.v-font-keypad-label),.v-font-keypad-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-keypad-label:not(.disable-responsive)),.v-font-keypad-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-keypad-label:not(.disable-responsive)),.v-font-keypad-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-keypad-label:not(.disable-responsive)),.v-font-keypad-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}:host(.v-font-keypad-label-large),.v-font-keypad-label-large{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-keypad-label-large:not(.disable-responsive)),.v-font-keypad-label-large:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-keypad-label-large:not(.disable-responsive)),.v-font-keypad-label-large:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-keypad-label-large:not(.disable-responsive)),.v-font-keypad-label-large:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}}:host(.v-font-notification-content),.v-font-notification-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-notification-content:not(.disable-responsive)),.v-font-notification-content:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-notification-content:not(.disable-responsive)),.v-font-notification-content:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-notification-content:not(.disable-responsive)),.v-font-notification-content:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.v-font-counter-badge-label),.v-font-counter-badge-label{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-counter-badge-label:not(.disable-responsive)),.v-font-counter-badge-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-counter-badge-label:not(.disable-responsive)),.v-font-counter-badge-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-counter-badge-label:not(.disable-responsive)),.v-font-counter-badge-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}}:host(.v-text-start),.v-text-start{text-align:start}:host(.v-text-end),.v-text-end{text-align:end}:host(.v-text-left),.v-text-left{text-align:left}:host(.v-text-right),.v-text-right{text-align:right}:host(.v-text-center),.v-text-center{text-align:center}:host(.v-text-justify),.v-text-justify{text-align:justify}@media (min-width: 320px){:host(.S\\:v-text-start),.S\\:v-text-start{text-align:start}:host(.S\\:v-text-end),.S\\:v-text-end{text-align:end}:host(.S\\:v-text-left),.S\\:v-text-left{text-align:left}:host(.S\\:v-text-right),.S\\:v-text-right{text-align:right}:host(.S\\:v-text-center),.S\\:v-text-center{text-align:center}:host(.S\\:v-text-justify),.S\\:v-text-justify{text-align:justify}}@media (min-width: 768px){:host(.M\\:v-text-start),.M\\:v-text-start{text-align:start}:host(.M\\:v-text-end),.M\\:v-text-end{text-align:end}:host(.M\\:v-text-left),.M\\:v-text-left{text-align:left}:host(.M\\:v-text-right),.M\\:v-text-right{text-align:right}:host(.M\\:v-text-center),.M\\:v-text-center{text-align:center}:host(.M\\:v-text-justify),.M\\:v-text-justify{text-align:justify}}@media (min-width: 1024px){:host(.L\\:v-text-start),.L\\:v-text-start{text-align:start}:host(.L\\:v-text-end),.L\\:v-text-end{text-align:end}:host(.L\\:v-text-left),.L\\:v-text-left{text-align:left}:host(.L\\:v-text-right),.L\\:v-text-right{text-align:right}:host(.L\\:v-text-center),.L\\:v-text-center{text-align:center}:host(.L\\:v-text-justify),.L\\:v-text-justify{text-align:justify}}@media (min-width: 1440px){:host(.XL\\:v-text-start),.XL\\:v-text-start{text-align:start}:host(.XL\\:v-text-end),.XL\\:v-text-end{text-align:end}:host(.XL\\:v-text-left),.XL\\:v-text-left{text-align:left}:host(.XL\\:v-text-right),.XL\\:v-text-right{text-align:right}:host(.XL\\:v-text-center),.XL\\:v-text-center{text-align:center}:host(.XL\\:v-text-justify),.XL\\:v-text-justify{text-align:justify}}';export{S as vega_font}
|
|
1
|
+
import{h as e,r as t,H as n,g as i}from"./p-6b2342e0.js";import{s}from"./p-519a7d55.js";import{c as o,V as a,L as l,I as f}from"./p-6e1ab235.js";import{s as r}from"./p-6bd5c49b.js";import{V as p,I as d}from"./p-4415ad28.js";import{P as h}from"./p-021d4ae4.js";import{g as x}from"./p-ab834f06.js";import{C as v}from"./p-75b58efe.js";import{R as m}from"./p-d78f6ede.js";import{a as g}from"./p-6c170474.js";import{m as b,i as c,f as w}from"./p-bff57aa4.js";import"./p-b75ee3ba.js";import"./p-40f39194.js";import"./p-ed45b3b6.js";import"./p-415ffa35.js";import"./p-d884c644.js";import"./p-dad3ba5f.js";import"./p-2d0d575f.js";import"./p-a528714c.js";import"./p-262ec334.js";import"./p-0c667d6a.js";import"./p-d27ae9ff.js";import"./p-18e8d9b7.js";import"./p-5a25014f.js";class y extends a{getFontTokenByBreakpoint(){return m.formatCustom(this.variant)}}!function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([o()],y.prototype,"variant",void 0);const I=["h1","h2","h3","h4","h5","h6","i","p","span","q","s","del","em","cite","b","abbr",""];class z extends a{getTagNameFromPropAs(){const e=m.formatCustom(this.as)||"";return this.isSafeAs(e)?e:(l.warn(`The as value ${e} is invalid, it must be a value of: `,I),"")}isSafeAs(e){return!!I.includes(e)}}!function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([o()],z.prototype,"as",void 0);var u=function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};class k extends a{getClassName(){const e=this.variantController.getFontTokenByBreakpoint(),t=[];return e&&t.push(b(e)),this.color&&t.push(c(this.color)),this.disableResponsive&&t.push("disable-responsive"),this.textAlign&&t.push(w(this.textAlign,"textAlign")),g(t)}}u([o()],k.prototype,"color",void 0),u([o()],k.prototype,"disableResponsive",void 0),u([o()],k.prototype,"variantController",void 0),u([o()],k.prototype,"textAlign",void 0);class j extends a{render(t){const n=this.asController.getTagNameFromPropAs();return n?e(n,{class:t},e("slot",null)):e("slot",null)}}!function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);o>3&&a&&Object.defineProperty(t,n,a)}([o()],j.prototype,"asController",void 0);const L=[{payloadKey:"VARIANT_IS_FONT_FIELD_LABEL",payloadDescription:"Specifies the typography token used for styling the text within this component. A typography token includes values for font size and line height",payloadValue:e=>"font-field-label"===e.variant},{payloadKey:"VARIANT_IS_NOT_FONT_FIELD_LABEL",payloadDescription:"Specifies the typography token used for styling the text within this component. A typography token includes values for font size and line height",payloadValue:e=>"font-field-label"!==e.variant}];var R=function(e,t,n,i){var s,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(o<3?s(a):o>3?s(t,n,a):s(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a};const S=class{constructor(e){t(this,e),this.globalSlimmers={},this.pageResizeSlimmer=new h,this.variantController=new y,this.asController=new z,this.classesController=new k,this.renderer=new j,this.vegaComponentUsageRuntimeMetricsSlimmer=new p(L),this.currentBreakpoint=x(),this.variant="font-field-label",this.color="text-primary",this.disableResponsive=!1,this.as=""}watchAsChange(e){}componentDidLoad(){}componentDidUpdate(){}render(){const t=this.classesController.getClassName();return r(e("slot",null)),s(e(n,{class:t},this.renderer.render(t)),this.host)}get host(){return i(this)}static get watchers(){return{as:["watchAsChange"]}}};R([d()],S.prototype,"globalSlimmers",void 0),R([f()],S.prototype,"pageResizeSlimmer",void 0),R([f()],S.prototype,"variantController",void 0),R([f()],S.prototype,"asController",void 0),R([f()],S.prototype,"classesController",void 0),R([f()],S.prototype,"renderer",void 0),R([f()],S.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),R([v()],S.prototype,"watchAsChange",null),S.style=':host(.v-text-primary),.v-text-primary{color:rgba(var(--v-text-primary, 32, 54, 69, 1))}:host(.v-text-secondary),.v-text-secondary{color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}:host(.v-text-inverted-primary),.v-text-inverted-primary{color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1))}:host(.v-text-inverted-secondary),.v-text-inverted-secondary{color:rgba(var(--v-text-inverted-secondary, 188, 186, 213, 1))}:host(.v-text-black),.v-text-black{color:rgba(var(--v-text-black, 32, 54, 69, 1))}:host(.v-text-white),.v-text-white{color:rgba(var(--v-text-white, 252, 252, 252, 1))}:host(.v-text-brand),.v-text-brand{color:rgba(var(--v-text-brand, 51, 57, 61, 1))}:host(.v-text-danger-link),.v-text-danger-link{color:rgba(var(--v-text-danger-link, 230, 50, 87, 1))}:host(.v-text-danger-link-hover),.v-text-danger-link-hover{color:rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))}:host(.v-text-danger-link-active),.v-text-danger-link-active{color:rgba(var(--v-text-danger-link-active, 189, 41, 71, 1))}:host(.v-text-danger-link-focus),.v-text-danger-link-focus{color:rgba(var(--v-text-danger-link-focus, 240, 52, 91, 1))}:host(.v-text-danger-link-visited),.v-text-danger-link-visited{color:rgba(var(--v-text-danger-link-visited, 230, 50, 87, 1))}:host(.v-text-disabled),.v-text-disabled{color:rgba(var(--v-text-disabled, 176, 180, 181, 1))}:host(.v-text-error),.v-text-error{color:rgba(var(--v-text-error, 189, 41, 71, 1))}:host(.v-text-input-disabled),.v-text-input-disabled{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1))}:host(.v-text-input-placeholder),.v-text-input-placeholder{color:rgba(var(--v-text-input-placeholder, 176, 180, 181, 1))}:host(.v-text-link),.v-text-link{color:rgba(var(--v-text-link, 19, 98, 226, 1))}:host(.v-text-link-hover),.v-text-link-hover{color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}:host(.v-text-link-active),.v-text-link-active{color:rgba(var(--v-text-link-active, 29, 65, 195, 1))}:host(.v-text-link-focus),.v-text-link-focus{color:rgba(var(--v-text-link-focus, 4, 112, 236, 1))}:host(.v-text-link-visited),.v-text-link-visited{color:rgba(var(--v-text-link-visited, 95, 56, 206, 1))}:host(.v-text-on-action),.v-text-on-action{color:rgba(var(--v-text-on-action, 252, 252, 252, 1))}:host(.v-text-on-danger),.v-text-on-danger{color:rgba(var(--v-text-on-danger, 252, 252, 252, 1))}:host(.v-text-on-disabled),.v-text-on-disabled{color:rgba(var(--v-text-on-disabled, 252, 252, 252, 1))}:host(.v-text-sidebar-link),.v-text-sidebar-link{color:rgba(var(--v-text-sidebar-link, 188, 186, 213, 1))}:host(.v-text-sidebar-link-hover),.v-text-sidebar-link-hover{color:rgba(var(--v-text-sidebar-link-hover, 18, 18, 39, 1))}:host(.v-text-sidebar-link-selected),.v-text-sidebar-link-selected{color:rgba(var(--v-text-sidebar-link-selected, 252, 252, 252, 1))}:host(.v-text-site-footer-link),.v-text-site-footer-link{color:rgba(var(--v-text-site-footer-link, 171, 198, 216, 1))}:host(.v-text-site-footer-link-hover),.v-text-site-footer-link-hover{color:rgba(var(--v-text-site-footer-link-hover, 199, 217, 229, 1))}:host(.v-text-site-footer-link-active),.v-text-site-footer-link-active{color:rgba(var(--v-text-site-footer-link-active, 143, 179, 203, 1))}:host(.v-text-success),.v-text-success{color:rgba(var(--v-text-success, 1, 128, 31, 1))}:host(.v-text-inverted-success),.v-text-inverted-success{color:rgba(var(--v-text-inverted-success, 89, 217, 119, 1))}:host(.v-text-accent1-primary),.v-text-accent1-primary{color:rgba(var(--v-text-accent1-primary, 115, 230, 220, 1))}:host(.v-text-accent2-primary),.v-text-accent2-primary{color:rgba(var(--v-text-accent2-primary, 128, 107, 255, 1))}:host(.v-text-accent3-primary),.v-text-accent3-primary{color:rgba(var(--v-text-accent3-primary, 255, 220, 131, 1))}:host(.v-text-accent4-primary),.v-text-accent4-primary{color:rgba(var(--v-text-accent4-primary, 255, 149, 113, 1))}:host(.v-text-accent5-primary),.v-text-accent5-primary{color:rgba(var(--v-text-accent5-primary, 0, 187, 255, 1))}:host(.v-text-accent6-primary),.v-text-accent6-primary{color:rgba(var(--v-text-accent6-primary, 240, 52, 91, 1))}:host(.v-text-accent7-primary),.v-text-accent7-primary{color:rgba(var(--v-text-accent7-primary, 37, 159, 159, 1))}:host(.v-text-accent8-primary),.v-text-accent8-primary{color:rgba(var(--v-text-accent8-primary, 86, 61, 130, 1))}:host(.v-text-accent9-primary),.v-text-accent9-primary{color:rgba(var(--v-text-accent9-primary, 255, 191, 63, 1))}:host(.v-text-accent10-primary),.v-text-accent10-primary{color:rgba(var(--v-text-accent10-primary, 237, 122, 35, 1))}:host(.v-font-h1),.v-font-h1{font-family:"Inter", sans-serif;font-size:42px;font-weight:700;line-height:50px;letter-spacing:0.42px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h1:not(.disable-responsive)),.v-font-h1:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:42px;font-weight:700;line-height:50px;letter-spacing:2.52px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h1:not(.disable-responsive)),.v-font-h1:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:48px;font-weight:700;line-height:56px;letter-spacing:0.96px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h1:not(.disable-responsive)),.v-font-h1:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:60px;font-weight:700;line-height:70px;letter-spacing:1.8px}}:host(.v-font-h2),.v-font-h2{font-family:"Inter", sans-serif;font-size:32px;font-weight:700;line-height:40px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h2:not(.disable-responsive)),.v-font-h2:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:32px;font-weight:700;line-height:40px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h2:not(.disable-responsive)),.v-font-h2:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:36px;font-weight:700;line-height:44px;letter-spacing:1.8px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h2:not(.disable-responsive)),.v-font-h2:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:42px;font-weight:700;line-height:52px;letter-spacing:0.42px}}:host(.v-font-h3),.v-font-h3{font-family:"Inter", sans-serif;font-size:28px;font-weight:500;line-height:36px;letter-spacing:0.28px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h3:not(.disable-responsive)),.v-font-h3:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:28px;font-weight:500;line-height:36px;letter-spacing:0.28px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h3:not(.disable-responsive)),.v-font-h3:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:28px;font-weight:500;line-height:36px;letter-spacing:0.28px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h3:not(.disable-responsive)),.v-font-h3:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:32px;font-weight:500;line-height:44px;letter-spacing:0.32px}}:host(.v-font-h4),.v-font-h4{font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h4:not(.disable-responsive)),.v-font-h4:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h4:not(.disable-responsive)),.v-font-h4:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h4:not(.disable-responsive)),.v-font-h4:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:28px;font-weight:700;line-height:36px;letter-spacing:0px}}:host(.v-font-h5),.v-font-h5{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h5:not(.disable-responsive)),.v-font-h5:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h5:not(.disable-responsive)),.v-font-h5:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h5:not(.disable-responsive)),.v-font-h5:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}:host(.v-font-h6),.v-font-h6{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h6:not(.disable-responsive)),.v-font-h6:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h6:not(.disable-responsive)),.v-font-h6:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h6:not(.disable-responsive)),.v-font-h6:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}:host(.v-font-p1-short),.v-font-p1-short{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p1-short:not(.disable-responsive)),.v-font-p1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:27px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-p1-short:not(.disable-responsive)),.v-font-p1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:27px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-p1-short:not(.disable-responsive)),.v-font-p1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:27px;letter-spacing:0px}}:host(.v-font-p1-long),.v-font-p1-long{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:32px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p1-long:not(.disable-responsive)),.v-font-p1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:30px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-p1-long:not(.disable-responsive)),.v-font-p1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:30px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-p1-long:not(.disable-responsive)),.v-font-p1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:30px;letter-spacing:0px}}:host(.v-font-p2-short),.v-font-p2-short{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p2-short:not(.disable-responsive)),.v-font-p2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-p2-short:not(.disable-responsive)),.v-font-p2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-p2-short:not(.disable-responsive)),.v-font-p2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.v-font-p2-long),.v-font-p2-long{font-family:"Inter", sans-serif;font-size:18px;font-weight:500;line-height:30px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-p2-long:not(.disable-responsive)),.v-font-p2-long:not(.disable-responsive){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){:host(.v-font-p2-long:not(.disable-responsive)),.v-font-p2-long:not(.disable-responsive){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){:host(.v-font-p2-long:not(.disable-responsive)),.v-font-p2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:28px;letter-spacing:0px}}:host(.v-font-btn-label),.v-font-btn-label{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-label:not(.disable-responsive)),.v-font-btn-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-label:not(.disable-responsive)),.v-font-btn-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-label:not(.disable-responsive)),.v-font-btn-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-btn-label-lg),.v-font-btn-label-lg{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-label-lg:not(.disable-responsive)),.v-font-btn-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-label-lg:not(.disable-responsive)),.v-font-btn-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-label-lg:not(.disable-responsive)),.v-font-btn-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-btn-label-sm),.v-font-btn-label-sm{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-label-sm:not(.disable-responsive)),.v-font-btn-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-label-sm:not(.disable-responsive)),.v-font-btn-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-label-sm:not(.disable-responsive)),.v-font-btn-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}:host(.v-font-btn-link-label),.v-font-btn-link-label{font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-link-label:not(.disable-responsive)),.v-font-btn-link-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-link-label:not(.disable-responsive)),.v-font-btn-link-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-link-label:not(.disable-responsive)),.v-font-btn-link-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}:host(.v-font-btn-link-label-lg),.v-font-btn-link-label-lg{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-link-label-lg:not(.disable-responsive)),.v-font-btn-link-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-link-label-lg:not(.disable-responsive)),.v-font-btn-link-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-link-label-lg:not(.disable-responsive)),.v-font-btn-link-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:18px;font-weight:700;line-height:22px;letter-spacing:0px}}:host(.v-font-btn-link-label-sm),.v-font-btn-link-label-sm{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-btn-link-label-sm:not(.disable-responsive)),.v-font-btn-link-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-btn-link-label-sm:not(.disable-responsive)),.v-font-btn-link-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-btn-link-label-sm:not(.disable-responsive)),.v-font-btn-link-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;letter-spacing:0px}}:host(.v-font-field-label),.v-font-field-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label:not(.disable-responsive)),.v-font-field-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label:not(.disable-responsive)),.v-font-field-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label:not(.disable-responsive)),.v-font-field-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.v-font-field-label-sm),.v-font-field-label-sm{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-sm:not(.disable-responsive)),.v-font-field-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-sm:not(.disable-responsive)),.v-font-field-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-sm:not(.disable-responsive)),.v-font-field-label-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}:host(.v-font-field-label-xs),.v-font-field-label-xs{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-xs:not(.disable-responsive)),.v-font-field-label-xs:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-xs:not(.disable-responsive)),.v-font-field-label-xs:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-xs:not(.disable-responsive)),.v-font-field-label-xs:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px}}:host(.v-font-field-label-lg),.v-font-field-label-lg{font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-lg:not(.disable-responsive)),.v-font-field-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-lg:not(.disable-responsive)),.v-font-field-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-lg:not(.disable-responsive)),.v-font-field-label-lg:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:500;line-height:24px;letter-spacing:0px}}:host(.v-font-field-label-em),.v-font-field-label-em{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-em:not(.disable-responsive)),.v-font-field-label-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-em:not(.disable-responsive)),.v-font-field-label-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-em:not(.disable-responsive)),.v-font-field-label-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}:host(.v-font-field-label-sm-em),.v-font-field-label-sm-em{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-sm-em:not(.disable-responsive)),.v-font-field-label-sm-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-sm-em:not(.disable-responsive)),.v-font-field-label-sm-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-sm-em:not(.disable-responsive)),.v-font-field-label-sm-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}:host(.v-font-field-label-xs-em),.v-font-field-label-xs-em{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-xs-em:not(.disable-responsive)),.v-font-field-label-xs-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-xs-em:not(.disable-responsive)),.v-font-field-label-xs-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-xs-em:not(.disable-responsive)),.v-font-field-label-xs-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px;letter-spacing:0px}}:host(.v-font-field-label-lg-em),.v-font-field-label-lg-em{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-label-lg-em:not(.disable-responsive)),.v-font-field-label-lg-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-label-lg-em:not(.disable-responsive)),.v-font-field-label-lg-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-label-lg-em:not(.disable-responsive)),.v-font-field-label-lg-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-field-value),.v-font-field-value{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){:host(.v-font-field-value:not(.disable-responsive)),.v-font-field-value:not(.disable-responsive){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){:host(.v-font-field-value:not(.disable-responsive)),.v-font-field-value:not(.disable-responsive){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){:host(.v-font-field-value:not(.disable-responsive)),.v-font-field-value:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host(.v-font-field-value-sm),.v-font-field-value-sm{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-value-sm:not(.disable-responsive)),.v-font-field-value-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-value-sm:not(.disable-responsive)),.v-font-field-value-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-value-sm:not(.disable-responsive)),.v-font-field-value-sm:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:16px}}:host(.v-font-field-value-em),.v-font-field-value-em{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-field-value-em:not(.disable-responsive)),.v-font-field-value-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-field-value-em:not(.disable-responsive)),.v-font-field-value-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-field-value-em:not(.disable-responsive)),.v-font-field-value-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:22px;letter-spacing:0px}}:host(.v-font-field-value-disabled),.v-font-field-value-disabled{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){:host(.v-font-field-value-disabled:not(.disable-responsive)),.v-font-field-value-disabled:not(.disable-responsive){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){:host(.v-font-field-value-disabled:not(.disable-responsive)),.v-font-field-value-disabled:not(.disable-responsive){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){:host(.v-font-field-value-disabled:not(.disable-responsive)),.v-font-field-value-disabled:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host(.v-font-sidebar-link),.v-font-sidebar-link{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-sidebar-link:not(.disable-responsive)),.v-font-sidebar-link:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-sidebar-link:not(.disable-responsive)),.v-font-sidebar-link:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-sidebar-link:not(.disable-responsive)),.v-font-sidebar-link:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0px}}:host(.v-font-sidebar-link-em),.v-font-sidebar-link-em{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-sidebar-link-em:not(.disable-responsive)),.v-font-sidebar-link-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-sidebar-link-em:not(.disable-responsive)),.v-font-sidebar-link-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-sidebar-link-em:not(.disable-responsive)),.v-font-sidebar-link-em:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.v-font-footnote1-short),.v-font-footnote1-short{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote1-short:not(.disable-responsive)),.v-font-footnote1-short:not(.disable-responsive){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){:host(.v-font-footnote1-short:not(.disable-responsive)),.v-font-footnote1-short:not(.disable-responsive){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){:host(.v-font-footnote1-short:not(.disable-responsive)),.v-font-footnote1-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host(.v-font-footnote1-long),.v-font-footnote1-long{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote1-long:not(.disable-responsive)),.v-font-footnote1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-footnote1-long:not(.disable-responsive)),.v-font-footnote1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-footnote1-long:not(.disable-responsive)),.v-font-footnote1-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}:host(.v-font-footnote2-short),.v-font-footnote2-short{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote2-short:not(.disable-responsive)),.v-font-footnote2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-footnote2-short:not(.disable-responsive)),.v-font-footnote2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-footnote2-short:not(.disable-responsive)),.v-font-footnote2-short:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:16px;letter-spacing:0px}}:host(.v-font-footnote2-long),.v-font-footnote2-long{font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-footnote2-long:not(.disable-responsive)),.v-font-footnote2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-footnote2-long:not(.disable-responsive)),.v-font-footnote2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-footnote2-long:not(.disable-responsive)),.v-font-footnote2-long:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}:host(.v-font-h-modal),.v-font-h-modal{font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-h-modal:not(.disable-responsive)),.v-font-h-modal:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-h-modal:not(.disable-responsive)),.v-font-h-modal:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-h-modal:not(.disable-responsive)),.v-font-h-modal:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:24px;font-weight:700;line-height:32px}}:host(.v-font-keypad-label),.v-font-keypad-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-keypad-label:not(.disable-responsive)),.v-font-keypad-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-keypad-label:not(.disable-responsive)),.v-font-keypad-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-keypad-label:not(.disable-responsive)),.v-font-keypad-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:700;line-height:24px}}:host(.v-font-keypad-label-large),.v-font-keypad-label-large{font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-keypad-label-large:not(.disable-responsive)),.v-font-keypad-label-large:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-keypad-label-large:not(.disable-responsive)),.v-font-keypad-label-large:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-keypad-label-large:not(.disable-responsive)),.v-font-keypad-label-large:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:20px;font-weight:700;line-height:24px}}:host(.v-font-notification-content),.v-font-notification-content{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-notification-content:not(.disable-responsive)),.v-font-notification-content:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-notification-content:not(.disable-responsive)),.v-font-notification-content:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-notification-content:not(.disable-responsive)),.v-font-notification-content:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.v-font-counter-badge-label),.v-font-counter-badge-label{font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.v-font-counter-badge-label:not(.disable-responsive)),.v-font-counter-badge-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.v-font-counter-badge-label:not(.disable-responsive)),.v-font-counter-badge-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.v-font-counter-badge-label:not(.disable-responsive)),.v-font-counter-badge-label:not(.disable-responsive){font-family:"Inter", sans-serif;font-size:12px;font-weight:700;line-height:16px}}:host(.v-text-start),.v-text-start{text-align:start}:host(.v-text-end),.v-text-end{text-align:end}:host(.v-text-left),.v-text-left{text-align:left}:host(.v-text-right),.v-text-right{text-align:right}:host(.v-text-center),.v-text-center{text-align:center}:host(.v-text-justify),.v-text-justify{text-align:justify}@media (min-width: 320px){:host(.S\\:v-text-start),.S\\:v-text-start{text-align:start}:host(.S\\:v-text-end),.S\\:v-text-end{text-align:end}:host(.S\\:v-text-left),.S\\:v-text-left{text-align:left}:host(.S\\:v-text-right),.S\\:v-text-right{text-align:right}:host(.S\\:v-text-center),.S\\:v-text-center{text-align:center}:host(.S\\:v-text-justify),.S\\:v-text-justify{text-align:justify}}@media (min-width: 768px){:host(.M\\:v-text-start),.M\\:v-text-start{text-align:start}:host(.M\\:v-text-end),.M\\:v-text-end{text-align:end}:host(.M\\:v-text-left),.M\\:v-text-left{text-align:left}:host(.M\\:v-text-right),.M\\:v-text-right{text-align:right}:host(.M\\:v-text-center),.M\\:v-text-center{text-align:center}:host(.M\\:v-text-justify),.M\\:v-text-justify{text-align:justify}}@media (min-width: 1024px){:host(.L\\:v-text-start),.L\\:v-text-start{text-align:start}:host(.L\\:v-text-end),.L\\:v-text-end{text-align:end}:host(.L\\:v-text-left),.L\\:v-text-left{text-align:left}:host(.L\\:v-text-right),.L\\:v-text-right{text-align:right}:host(.L\\:v-text-center),.L\\:v-text-center{text-align:center}:host(.L\\:v-text-justify),.L\\:v-text-justify{text-align:justify}}@media (min-width: 1440px){:host(.XL\\:v-text-start),.XL\\:v-text-start{text-align:start}:host(.XL\\:v-text-end),.XL\\:v-text-end{text-align:end}:host(.XL\\:v-text-left),.XL\\:v-text-left{text-align:left}:host(.XL\\:v-text-right),.XL\\:v-text-right{text-align:right}:host(.XL\\:v-text-center),.XL\\:v-text-center{text-align:center}:host(.XL\\:v-text-justify),.XL\\:v-text-justify{text-align:justify}}';export{S as vega_font}
|