@globalpayments/vega 2.14.0 → 2.15.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/{designToken-3904c6b7.js → designToken-1e1dc648.js} +1 -1
- package/dist/cjs/{elementAppenderSlimmer-31397fa9.js → elementAppenderSlimmer-0590af69.js} +1 -1
- package/dist/cjs/{formFieldControllerSlimmer-769ef4fd.js → formFieldControllerSlimmer-9271a8b8.js} +3 -2
- package/dist/cjs/index-1299d729.js +4 -0
- package/dist/cjs/index-b8881ddc.js +2 -2
- package/dist/cjs/index.cjs.js +3 -2
- package/dist/cjs/{legendInputProcessor-a3cdc806.js → legendInputProcessor-76d1eab6.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mutationObserverFilters-dd88e5fe.js +45 -0
- package/dist/cjs/{mutationObserverFilters-5beee7b8.js → mutationObserverSlimmer-8d99123c.js} +4 -43
- package/dist/cjs/{pixel-b18a8279.js → pixel-98f2a10c.js} +40 -0
- package/dist/cjs/{responsiveFormatFacade-12dd896d.js → responsiveFormatFacade-037c9c80.js} +3 -43
- package/dist/cjs/vega-accordion.cjs.entry.js +3 -2
- package/dist/cjs/vega-app-header-button.cjs.entry.js +3 -2
- package/dist/cjs/vega-bar-chart.cjs.entry.js +3 -3
- package/dist/cjs/vega-box.cjs.entry.js +3 -2
- package/dist/cjs/vega-button-circle.cjs.entry.js +3 -2
- package/dist/cjs/vega-button.cjs.entry.js +2 -1
- package/dist/cjs/vega-calendar_2.cjs.entry.js +1 -1
- package/dist/cjs/vega-card.cjs.entry.js +3 -2
- package/dist/cjs/vega-carousel.cjs.entry.js +2 -1
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +3 -2
- package/dist/cjs/vega-chip.cjs.entry.js +3 -2
- package/dist/cjs/vega-color-picker.cjs.entry.js +3 -2
- package/dist/cjs/vega-combo-box.cjs.entry.js +3 -2
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +6 -4
- package/dist/cjs/vega-dialog_2.cjs.entry.js +3 -2
- package/dist/cjs/vega-divider.cjs.entry.js +3 -2
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +31 -32
- package/dist/cjs/vega-flex.cjs.entry.js +3 -2
- package/dist/cjs/vega-font.cjs.entry.js +3 -2
- package/dist/cjs/vega-form.cjs.entry.js +3 -2
- package/dist/cjs/vega-grid.cjs.entry.js +3 -2
- package/dist/cjs/vega-icon.cjs.entry.js +3 -2
- package/dist/cjs/vega-image-uploader.cjs.entry.js +5 -3
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +3 -2
- package/dist/cjs/vega-input-range.cjs.entry.js +3 -2
- package/dist/cjs/vega-input-select.cjs.entry.js +5 -3
- package/dist/cjs/vega-input.cjs.entry.js +3 -2
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +3 -2
- package/dist/cjs/vega-line-chart.cjs.entry.js +3 -3
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +2 -1
- package/dist/cjs/vega-pie-chart.cjs.entry.js +2 -2
- package/dist/cjs/vega-popover_2.cjs.entry.js +3 -2
- package/dist/cjs/vega-radio_2.cjs.entry.js +4 -3
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +3 -2
- package/dist/cjs/vega-skeleton.cjs.entry.js +326 -0
- package/dist/cjs/vega-stepper.cjs.entry.js +3 -2
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +14 -15
- package/dist/cjs/vega-table_8.cjs.entry.js +7 -5
- package/dist/cjs/vega-textarea.cjs.entry.js +3 -2
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +6 -4
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +3 -2
- package/dist/cjs/vega.cjs.js +1 -1
- package/dist/cjs/{yAxisInputProcessor-62c4e838.js → yAxisInputProcessor-8b437e75.js} +1 -1
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.js +22 -22
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.js +0 -1
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.js +1 -4
- package/dist/collection/components/vega-dropdown/vega-dropdown.js +8 -4
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-ellipse-renderer.js +33 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-full-width-paragraph-renderer.js +29 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-image-renderer.js +33 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-paragraph-renderer.js +31 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-base.abstract.js +23 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-manager.js +49 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-table-renderer.js +42 -0
- package/dist/collection/components/vega-skeleton/slimmers/renderers/vega-skeleton-text-renderer.js +28 -0
- package/dist/collection/components/vega-skeleton/vega-skeleton.css +77 -0
- package/dist/collection/components/vega-skeleton/vega-skeleton.js +163 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.js +11 -12
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.js +1 -1
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +3 -3
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsiveWidthAndHeightFormatter.js +3 -25
- package/dist/collection/helpers/slimmers/mutation-observer/mutationObserverSlimmer.js +4 -1
- package/dist/collection/helpers/vega-telemetry-helper/test/vegaEnvManager.test.js +1 -1
- package/dist/collection/helpers/vega-telemetry-helper/vegaEnvManager.js +2 -2
- package/dist/collection/utils/e2eUtils.js +2 -1
- package/dist/collection/utils/pixel.js +21 -0
- package/dist/collection/utils/test/pixel.test.js +9 -1
- package/dist/esm/{designToken-4459ff64.js → designToken-edc855d6.js} +1 -1
- package/dist/esm/{elementAppenderSlimmer-6bdee603.js → elementAppenderSlimmer-3c05ca9f.js} +1 -1
- package/dist/esm/{formFieldControllerSlimmer-2cc9eec5.js → formFieldControllerSlimmer-85ff874e.js} +2 -1
- package/dist/esm/index-c3505689.js +4 -0
- package/dist/esm/index-dd06e5e7.js +2 -2
- package/dist/esm/index.js +3 -2
- package/dist/esm/{legendInputProcessor-e9c0ddf3.js → legendInputProcessor-644350b4.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mutationObserverFilters-243934f6.js +42 -0
- package/dist/esm/{mutationObserverFilters-17327079.js → mutationObserverSlimmer-2355cedf.js} +5 -42
- package/dist/esm/{pixel-53ad41ea.js → pixel-f32c07ce.js} +40 -1
- package/dist/esm/{responsiveFormatFacade-7072153e.js → responsiveFormatFacade-ac0b91fc.js} +7 -47
- package/dist/esm/vega-accordion.entry.js +3 -2
- package/dist/esm/vega-app-header-button.entry.js +3 -2
- package/dist/esm/vega-bar-chart.entry.js +3 -3
- package/dist/esm/vega-box.entry.js +3 -2
- package/dist/esm/vega-button-circle.entry.js +3 -2
- package/dist/esm/vega-button.entry.js +2 -1
- package/dist/esm/vega-calendar_2.entry.js +1 -1
- package/dist/esm/vega-card.entry.js +3 -2
- package/dist/esm/vega-carousel.entry.js +2 -1
- package/dist/esm/vega-checkbox_2.entry.js +3 -2
- package/dist/esm/vega-chip.entry.js +3 -2
- package/dist/esm/vega-color-picker.entry.js +3 -2
- package/dist/esm/vega-combo-box.entry.js +3 -2
- package/dist/esm/vega-date-picker_2.entry.js +6 -4
- package/dist/esm/vega-dialog_2.entry.js +3 -2
- package/dist/esm/vega-divider.entry.js +3 -2
- package/dist/esm/vega-dropdown_5.entry.js +31 -32
- package/dist/esm/vega-flex.entry.js +3 -2
- package/dist/esm/vega-font.entry.js +3 -2
- package/dist/esm/vega-form.entry.js +3 -2
- package/dist/esm/vega-grid.entry.js +3 -2
- package/dist/esm/vega-icon.entry.js +3 -2
- package/dist/esm/vega-image-uploader.entry.js +5 -3
- package/dist/esm/vega-input-credit-card.entry.js +3 -2
- package/dist/esm/vega-input-range.entry.js +3 -2
- package/dist/esm/vega-input-select.entry.js +5 -3
- package/dist/esm/vega-input.entry.js +3 -2
- package/dist/esm/vega-left-nav_5.entry.js +3 -2
- package/dist/esm/vega-line-chart.entry.js +3 -3
- package/dist/esm/vega-loader-wrapper_2.entry.js +2 -1
- package/dist/esm/vega-pie-chart.entry.js +2 -2
- package/dist/esm/vega-popover_2.entry.js +3 -2
- package/dist/esm/vega-radio_2.entry.js +3 -2
- package/dist/esm/vega-selection-tile_2.entry.js +3 -2
- package/dist/esm/vega-skeleton.entry.js +322 -0
- package/dist/esm/vega-stepper.entry.js +3 -2
- package/dist/esm/vega-tab-group_2.entry.js +14 -15
- package/dist/esm/vega-table_8.entry.js +4 -2
- package/dist/esm/vega-textarea.entry.js +3 -2
- package/dist/esm/vega-time-picker_2.entry.js +6 -4
- package/dist/esm/vega-tooltip_2.entry.js +3 -2
- package/dist/esm/vega.js +1 -1
- package/dist/esm/{yAxisInputProcessor-a2a29991.js → yAxisInputProcessor-2f08ac84.js} +1 -1
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.d.ts +3 -6
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.d.ts +0 -2
- package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +5 -1
- package/dist/types/components/vega-skeleton/interface.d.ts +5 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-ellipse-renderer.d.ts +12 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-full-width-paragraph-renderer.d.ts +11 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-image-renderer.d.ts +12 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-paragraph-renderer.d.ts +12 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-base.abstract.d.ts +13 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-renderer-manager.d.ts +21 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-table-renderer.d.ts +14 -0
- package/dist/types/components/vega-skeleton/slimmers/renderers/vega-skeleton-text-renderer.d.ts +11 -0
- package/dist/types/components/vega-skeleton/vega-skeleton.d.ts +41 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.d.ts +5 -5
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +1 -1
- package/dist/types/components.d.ts +46 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsiveWidthAndHeightFormatter.d.ts +0 -12
- package/dist/types/types/components.type.d.ts +1 -0
- package/dist/types/utils/pixel.d.ts +11 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/p-009405b6.entry.js +1 -0
- package/dist/vega/{p-36ea8012.js → p-01ec38c1.js} +1 -1
- package/dist/vega/p-0c667d6a.js +1 -0
- package/dist/vega/{p-76712540.js → p-13ead830.js} +1 -1
- package/dist/vega/{p-ce0af8db.entry.js → p-1b3a0b54.entry.js} +2 -2
- package/dist/vega/{p-e32b7a38.js → p-1c2646d6.js} +1 -1
- package/dist/vega/p-1ced3ae5.js +1 -0
- package/dist/vega/p-1dfddf03.entry.js +1 -0
- package/dist/vega/p-23422e56.entry.js +1 -0
- package/dist/vega/p-282648c1.entry.js +1 -0
- package/dist/vega/p-2bb1c1c1.entry.js +1 -0
- package/dist/vega/p-2e59a4f1.entry.js +1 -0
- package/dist/vega/p-37d3b80c.entry.js +1 -0
- package/dist/vega/p-38a22eb3.entry.js +1 -0
- package/dist/vega/p-38b01f3f.entry.js +1 -0
- package/dist/vega/p-38d19c4f.entry.js +1 -0
- package/dist/vega/p-3a815548.entry.js +1 -0
- package/dist/vega/p-3efc814a.entry.js +1 -0
- package/dist/vega/p-4365b25e.entry.js +1 -0
- package/dist/vega/{p-72f9ad2e.entry.js → p-449ad98f.entry.js} +1 -1
- package/dist/vega/{p-e02c5199.entry.js → p-4d2859c9.entry.js} +1 -1
- package/dist/vega/p-557516a4.entry.js +1 -0
- package/dist/vega/p-56681feb.js +1 -0
- package/dist/vega/p-57b85af1.entry.js +1 -0
- package/dist/vega/p-592e755b.entry.js +1 -0
- package/dist/vega/p-5eeb2fc1.entry.js +1 -0
- package/dist/vega/p-61c96c79.entry.js +1 -0
- package/dist/vega/p-692df03d.entry.js +1 -0
- package/dist/vega/p-6ad96891.entry.js +1 -0
- package/dist/vega/p-6f7f9cda.entry.js +1 -0
- package/dist/vega/p-7440d7a2.entry.js +1 -0
- package/dist/vega/p-77ff7c72.js +1 -0
- package/dist/vega/p-8c62c493.entry.js +1 -0
- package/dist/vega/{p-ece4decb.entry.js → p-95bdac84.entry.js} +1 -1
- package/dist/vega/p-99c8fe92.js +1 -1
- package/dist/vega/{p-e4d466f0.js → p-9e38810c.js} +1 -1
- package/dist/vega/p-a6cb10e8.entry.js +1 -0
- package/dist/vega/p-af72a212.entry.js +1 -0
- package/dist/vega/p-b3056874.entry.js +1 -0
- package/dist/vega/p-b7bde205.entry.js +1 -0
- package/dist/vega/p-ba37eaad.entry.js +1 -0
- package/dist/vega/p-bb761f8f.js +1 -0
- package/dist/vega/p-bfc3450c.entry.js +1 -0
- package/dist/vega/p-c0ca1a1c.entry.js +1 -0
- package/dist/vega/p-c849236f.entry.js +1 -0
- package/dist/vega/p-d978ee2c.entry.js +1 -0
- package/dist/vega/p-de5db6c9.entry.js +1 -0
- package/dist/vega/p-e1a284b1.entry.js +1 -0
- package/dist/vega/p-e4e60c01.entry.js +1 -0
- package/dist/vega/p-eb709bc0.entry.js +1 -0
- package/dist/vega/p-f723790c.entry.js +1 -0
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +2 -2
- package/dist/vega/p-0bf26a50.entry.js +0 -1
- package/dist/vega/p-10c41ccc.entry.js +0 -1
- package/dist/vega/p-12b4c69a.entry.js +0 -1
- package/dist/vega/p-149e0999.entry.js +0 -1
- package/dist/vega/p-163b8ab5.entry.js +0 -1
- package/dist/vega/p-1b83652c.entry.js +0 -1
- package/dist/vega/p-2969b1c2.js +0 -1
- package/dist/vega/p-2d41b82e.js +0 -1
- package/dist/vega/p-2e871e5b.entry.js +0 -1
- package/dist/vega/p-360ac223.entry.js +0 -1
- package/dist/vega/p-47367768.entry.js +0 -1
- package/dist/vega/p-485e71d4.entry.js +0 -1
- package/dist/vega/p-4949df06.js +0 -1
- package/dist/vega/p-4dacc0b7.entry.js +0 -1
- package/dist/vega/p-50219611.entry.js +0 -1
- package/dist/vega/p-5ba654a4.entry.js +0 -1
- package/dist/vega/p-60f511cf.entry.js +0 -1
- package/dist/vega/p-783bcc7b.entry.js +0 -1
- package/dist/vega/p-85054a3e.entry.js +0 -1
- package/dist/vega/p-87d6e85f.entry.js +0 -1
- package/dist/vega/p-897a3a9b.entry.js +0 -1
- package/dist/vega/p-8bbac798.entry.js +0 -1
- package/dist/vega/p-90d4e1c6.entry.js +0 -1
- package/dist/vega/p-9443e399.entry.js +0 -1
- package/dist/vega/p-969ba15a.entry.js +0 -1
- package/dist/vega/p-9f1151cd.entry.js +0 -1
- package/dist/vega/p-a7c96716.entry.js +0 -1
- package/dist/vega/p-b623aad1.entry.js +0 -1
- package/dist/vega/p-b70b3aae.entry.js +0 -1
- package/dist/vega/p-b77e9b22.entry.js +0 -1
- package/dist/vega/p-b8b4bc6c.entry.js +0 -1
- package/dist/vega/p-ba232064.entry.js +0 -1
- package/dist/vega/p-bb52d620.entry.js +0 -1
- package/dist/vega/p-db60ccf5.entry.js +0 -1
- package/dist/vega/p-e1ecfa0e.entry.js +0 -1
- package/dist/vega/p-e424cbec.entry.js +0 -1
- package/dist/vega/p-ef6e7563.entry.js +0 -1
- package/dist/vega/p-f6c9d17f.entry.js +0 -1
- package/dist/vega/p-fc090247.entry.js +0 -1
- package/dist/vega/p-fc21bd44.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,h as s,H as t,g as m}from"./p-9777b1c1.js";import{F as e}from"./p-f2118771.js";import{s as o}from"./p-b81bd0bb.js";import{f as v,l as r}from"./p-9e38810c.js";import{a as p}from"./p-320642bd.js";import{I as a}from"./p-018d77cc.js";import{V as g,I as z}from"./p-5cad29f5.js";import"./p-61f18887.js";import"./p-112455b1.js";import"./p-1265732f.js";import"./p-3542f8fe.js";import"./p-3c8b2105.js";import"./p-3a0a4d15.js";import"./p-c59042c0.js";import"./p-bb761f8f.js";import"./p-344ee7cb.js";import"./p-0c667d6a.js";import"./p-6bdc4407.js";const x=[{payloadKey:"BREAK_POINT_IS_NONE",payloadDescription:"@deprecated Determines the breakpoint at which the flex direction transitions from row-based layout to column-based layout, or vice versa.",payloadValue:i=>"None"===i.breakpoint},{payloadKey:"BREAK_POINT_IS_DEFAULT",payloadDescription:"@deprecated Determines the breakpoint at which the flex direction transitions from row-based layout to column-based layout, or vice versa.",payloadValue:i=>"default"===i.breakpoint},{payloadKey:"BREAK_POINT_IS_S",payloadDescription:"@deprecated Determines the breakpoint at which the flex direction transitions from row-based layout to column-based layout, or vice versa.",payloadValue:i=>"S"===i.breakpoint},{payloadKey:"BREAK_POINT_IS_M",payloadDescription:"@deprecated Determines the breakpoint at which the flex direction transitions from row-based layout to column-based layout, or vice versa.",payloadValue:i=>"M"===i.breakpoint},{payloadKey:"BREAK_POINT_IS_L",payloadDescription:"@deprecated Determines the breakpoint at which the flex direction transitions from row-based layout to column-based layout, or vice versa.",payloadValue:i=>"L"===i.breakpoint},{payloadKey:"BREAK_POINT_IS_XL",payloadDescription:"@deprecated Determines the breakpoint at which the flex direction transitions from row-based layout to column-based layout, or vice versa.",payloadValue:i=>"XL"===i.breakpoint},{payloadKey:"USE_NATIVE_FLEX_IS_TRUE",payloadDescription:"@deprecated Specifies whether to use the native flex layout.",payloadValue:i=>!0===i.useNativeFlex},{payloadKey:"USE_NATIVE_FLEX_IS_FALSE",payloadDescription:"@deprecated Specifies whether to use the native flex layout.",payloadValue:i=>!1===i.useNativeFlex}];var n=function(i,s,t,m){var e,o=arguments.length,v=o<3?s:null===m?m=Object.getOwnPropertyDescriptor(s,t):m;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)v=Reflect.decorate(i,s,t,m);else for(var r=i.length-1;r>=0;r--)(e=i[r])&&(v=(o<3?e(v):o>3?e(s,t,v):e(s,t))||v);return o>3&&v&&Object.defineProperty(s,t,v),v};const h=class{constructor(s){i(this,s),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new g(x),this.breakpoint="S",this.direction="row",this.useNativeFlex=!0}render(){const i=[v(this.gap,"gap"),v(this.margin,"margin"),"None"===this.breakpoint||e.isEnabled("VEGA_FLEX.ENABLE_DIRECTION_ONLY")?"":r(this.breakpoint),v(this.alignItems,"flexAlignItem"),v(this.justifyContent,"flexJustifyContent"),v(this.flexWrap,"flexWrap"),this.useNativeFlex?"vega-flex-native-based":""];return(e.isEnabled("VEGA_FLEX.ENABLE_DIRECTION_ONLY")||"None"===this.breakpoint)&&(i.push("vega-flex-None"),i.push(v(this.direction,"flexDirection"))),o(s(t,{class:p(i)},s("slot",null)),this.host)}get host(){return m(this)}};n([z()],h.prototype,"globalSlimmers",void 0),n([a()],h.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),h.style=':host(.v-m-0),.v-m-0{margin:0px}:host(.v-mx-0),.v-mx-0{margin-left:0px;margin-right:0px}:host(.v-my-0),.v-my-0{margin-top:0px;margin-bottom:0px}:host(.v-mt-0),.v-mt-0{margin-top:0px}:host(.v-mb-0),.v-mb-0{margin-bottom:0px}:host(.v-mr-0),.v-mr-0{margin-right:0px}:host(.v-ml-0),.v-ml-0{margin-left:0px}:host(.v-m-size-0),.v-m-size-0{margin:0px}:host(.v-mx-size-0),.v-mx-size-0{margin-left:0px;margin-right:0px}:host(.v-my-size-0),.v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.v-mt-size-0),.v-mt-size-0{margin-top:0px}:host(.v-mb-size-0),.v-mb-size-0{margin-bottom:0px}:host(.v-mr-size-0),.v-mr-size-0{margin-right:0px}:host(.v-ml-size-0),.v-ml-size-0{margin-left:0px}:host(.v-m-size-4),.v-m-size-4{margin:4px}:host(.v-mx-size-4),.v-mx-size-4{margin-left:4px;margin-right:4px}:host(.v-my-size-4),.v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.v-mt-size-4),.v-mt-size-4{margin-top:4px}:host(.v-mb-size-4),.v-mb-size-4{margin-bottom:4px}:host(.v-mr-size-4),.v-mr-size-4{margin-right:4px}:host(.v-ml-size-4),.v-ml-size-4{margin-left:4px}:host(.v-m-size-8),.v-m-size-8{margin:8px}:host(.v-mx-size-8),.v-mx-size-8{margin-left:8px;margin-right:8px}:host(.v-my-size-8),.v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.v-mt-size-8),.v-mt-size-8{margin-top:8px}:host(.v-mb-size-8),.v-mb-size-8{margin-bottom:8px}:host(.v-mr-size-8),.v-mr-size-8{margin-right:8px}:host(.v-ml-size-8),.v-ml-size-8{margin-left:8px}:host(.v-m-size-12),.v-m-size-12{margin:12px}:host(.v-mx-size-12),.v-mx-size-12{margin-left:12px;margin-right:12px}:host(.v-my-size-12),.v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.v-mt-size-12),.v-mt-size-12{margin-top:12px}:host(.v-mb-size-12),.v-mb-size-12{margin-bottom:12px}:host(.v-mr-size-12),.v-mr-size-12{margin-right:12px}:host(.v-ml-size-12),.v-ml-size-12{margin-left:12px}:host(.v-m-size-16),.v-m-size-16{margin:16px}:host(.v-mx-size-16),.v-mx-size-16{margin-left:16px;margin-right:16px}:host(.v-my-size-16),.v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.v-mt-size-16),.v-mt-size-16{margin-top:16px}:host(.v-mb-size-16),.v-mb-size-16{margin-bottom:16px}:host(.v-mr-size-16),.v-mr-size-16{margin-right:16px}:host(.v-ml-size-16),.v-ml-size-16{margin-left:16px}:host(.v-m-size-20),.v-m-size-20{margin:20px}:host(.v-mx-size-20),.v-mx-size-20{margin-left:20px;margin-right:20px}:host(.v-my-size-20),.v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.v-mt-size-20),.v-mt-size-20{margin-top:20px}:host(.v-mb-size-20),.v-mb-size-20{margin-bottom:20px}:host(.v-mr-size-20),.v-mr-size-20{margin-right:20px}:host(.v-ml-size-20),.v-ml-size-20{margin-left:20px}:host(.v-m-size-24),.v-m-size-24{margin:24px}:host(.v-mx-size-24),.v-mx-size-24{margin-left:24px;margin-right:24px}:host(.v-my-size-24),.v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.v-mt-size-24),.v-mt-size-24{margin-top:24px}:host(.v-mb-size-24),.v-mb-size-24{margin-bottom:24px}:host(.v-mr-size-24),.v-mr-size-24{margin-right:24px}:host(.v-ml-size-24),.v-ml-size-24{margin-left:24px}:host(.v-m-size-32),.v-m-size-32{margin:32px}:host(.v-mx-size-32),.v-mx-size-32{margin-left:32px;margin-right:32px}:host(.v-my-size-32),.v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.v-mt-size-32),.v-mt-size-32{margin-top:32px}:host(.v-mb-size-32),.v-mb-size-32{margin-bottom:32px}:host(.v-mr-size-32),.v-mr-size-32{margin-right:32px}:host(.v-ml-size-32),.v-ml-size-32{margin-left:32px}:host(.v-m-size-40),.v-m-size-40{margin:40px}:host(.v-mx-size-40),.v-mx-size-40{margin-left:40px;margin-right:40px}:host(.v-my-size-40),.v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.v-mt-size-40),.v-mt-size-40{margin-top:40px}:host(.v-mb-size-40),.v-mb-size-40{margin-bottom:40px}:host(.v-mr-size-40),.v-mr-size-40{margin-right:40px}:host(.v-ml-size-40),.v-ml-size-40{margin-left:40px}:host(.v-m-size-48),.v-m-size-48{margin:48px}:host(.v-mx-size-48),.v-mx-size-48{margin-left:48px;margin-right:48px}:host(.v-my-size-48),.v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.v-mt-size-48),.v-mt-size-48{margin-top:48px}:host(.v-mb-size-48),.v-mb-size-48{margin-bottom:48px}:host(.v-mr-size-48),.v-mr-size-48{margin-right:48px}:host(.v-ml-size-48),.v-ml-size-48{margin-left:48px}:host(.v-m-size-64),.v-m-size-64{margin:64px}:host(.v-mx-size-64),.v-mx-size-64{margin-left:64px;margin-right:64px}:host(.v-my-size-64),.v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.v-mt-size-64),.v-mt-size-64{margin-top:64px}:host(.v-mb-size-64),.v-mb-size-64{margin-bottom:64px}:host(.v-mr-size-64),.v-mr-size-64{margin-right:64px}:host(.v-ml-size-64),.v-ml-size-64{margin-left:64px}:host(.v-m-size-72),.v-m-size-72{margin:72px}:host(.v-mx-size-72),.v-mx-size-72{margin-left:72px;margin-right:72px}:host(.v-my-size-72),.v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.v-mt-size-72),.v-mt-size-72{margin-top:72px}:host(.v-mb-size-72),.v-mb-size-72{margin-bottom:72px}:host(.v-mr-size-72),.v-mr-size-72{margin-right:72px}:host(.v-ml-size-72),.v-ml-size-72{margin-left:72px}:host(.v-m-size-80),.v-m-size-80{margin:80px}:host(.v-mx-size-80),.v-mx-size-80{margin-left:80px;margin-right:80px}:host(.v-my-size-80),.v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.v-mt-size-80),.v-mt-size-80{margin-top:80px}:host(.v-mb-size-80),.v-mb-size-80{margin-bottom:80px}:host(.v-mr-size-80),.v-mr-size-80{margin-right:80px}:host(.v-ml-size-80),.v-ml-size-80{margin-left:80px}:host(.v-m-size-112),.v-m-size-112{margin:112px}:host(.v-mx-size-112),.v-mx-size-112{margin-left:112px;margin-right:112px}:host(.v-my-size-112),.v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.v-mt-size-112),.v-mt-size-112{margin-top:112px}:host(.v-mb-size-112),.v-mb-size-112{margin-bottom:112px}:host(.v-mr-size-112),.v-mr-size-112{margin-right:112px}:host(.v-ml-size-112),.v-ml-size-112{margin-left:112px}:host(.v-m-size-2),.v-m-size-2{margin:2px}:host(.v-mx-size-2),.v-mx-size-2{margin-left:2px;margin-right:2px}:host(.v-my-size-2),.v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.v-mt-size-2),.v-mt-size-2{margin-top:2px}:host(.v-mb-size-2),.v-mb-size-2{margin-bottom:2px}:host(.v-mr-size-2),.v-mr-size-2{margin-right:2px}:host(.v-ml-size-2),.v-ml-size-2{margin-left:2px}@media (min-width: 320px){:host(.S\\:v-m-0),.S\\:v-m-0{margin:0px}:host(.S\\:v-mx-0),.S\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.S\\:v-my-0),.S\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.S\\:v-mt-0),.S\\:v-mt-0{margin-top:0px}:host(.S\\:v-mb-0),.S\\:v-mb-0{margin-bottom:0px}:host(.S\\:v-mr-0),.S\\:v-mr-0{margin-right:0px}:host(.S\\:v-ml-0),.S\\:v-ml-0{margin-left:0px}:host(.S\\:v-m-size-0),.S\\:v-m-size-0{margin:0px}:host(.S\\:v-mx-size-0),.S\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.S\\:v-my-size-0),.S\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.S\\:v-mt-size-0),.S\\:v-mt-size-0{margin-top:0px}:host(.S\\:v-mb-size-0),.S\\:v-mb-size-0{margin-bottom:0px}:host(.S\\:v-mr-size-0),.S\\:v-mr-size-0{margin-right:0px}:host(.S\\:v-ml-size-0),.S\\:v-ml-size-0{margin-left:0px}:host(.S\\:v-m-size-4),.S\\:v-m-size-4{margin:4px}:host(.S\\:v-mx-size-4),.S\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.S\\:v-my-size-4),.S\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.S\\:v-mt-size-4),.S\\:v-mt-size-4{margin-top:4px}:host(.S\\:v-mb-size-4),.S\\:v-mb-size-4{margin-bottom:4px}:host(.S\\:v-mr-size-4),.S\\:v-mr-size-4{margin-right:4px}:host(.S\\:v-ml-size-4),.S\\:v-ml-size-4{margin-left:4px}:host(.S\\:v-m-size-8),.S\\:v-m-size-8{margin:8px}:host(.S\\:v-mx-size-8),.S\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.S\\:v-my-size-8),.S\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.S\\:v-mt-size-8),.S\\:v-mt-size-8{margin-top:8px}:host(.S\\:v-mb-size-8),.S\\:v-mb-size-8{margin-bottom:8px}:host(.S\\:v-mr-size-8),.S\\:v-mr-size-8{margin-right:8px}:host(.S\\:v-ml-size-8),.S\\:v-ml-size-8{margin-left:8px}:host(.S\\:v-m-size-12),.S\\:v-m-size-12{margin:12px}:host(.S\\:v-mx-size-12),.S\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.S\\:v-my-size-12),.S\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.S\\:v-mt-size-12),.S\\:v-mt-size-12{margin-top:12px}:host(.S\\:v-mb-size-12),.S\\:v-mb-size-12{margin-bottom:12px}:host(.S\\:v-mr-size-12),.S\\:v-mr-size-12{margin-right:12px}:host(.S\\:v-ml-size-12),.S\\:v-ml-size-12{margin-left:12px}:host(.S\\:v-m-size-16),.S\\:v-m-size-16{margin:16px}:host(.S\\:v-mx-size-16),.S\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.S\\:v-my-size-16),.S\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.S\\:v-mt-size-16),.S\\:v-mt-size-16{margin-top:16px}:host(.S\\:v-mb-size-16),.S\\:v-mb-size-16{margin-bottom:16px}:host(.S\\:v-mr-size-16),.S\\:v-mr-size-16{margin-right:16px}:host(.S\\:v-ml-size-16),.S\\:v-ml-size-16{margin-left:16px}:host(.S\\:v-m-size-20),.S\\:v-m-size-20{margin:20px}:host(.S\\:v-mx-size-20),.S\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.S\\:v-my-size-20),.S\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.S\\:v-mt-size-20),.S\\:v-mt-size-20{margin-top:20px}:host(.S\\:v-mb-size-20),.S\\:v-mb-size-20{margin-bottom:20px}:host(.S\\:v-mr-size-20),.S\\:v-mr-size-20{margin-right:20px}:host(.S\\:v-ml-size-20),.S\\:v-ml-size-20{margin-left:20px}:host(.S\\:v-m-size-24),.S\\:v-m-size-24{margin:24px}:host(.S\\:v-mx-size-24),.S\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.S\\:v-my-size-24),.S\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.S\\:v-mt-size-24),.S\\:v-mt-size-24{margin-top:24px}:host(.S\\:v-mb-size-24),.S\\:v-mb-size-24{margin-bottom:24px}:host(.S\\:v-mr-size-24),.S\\:v-mr-size-24{margin-right:24px}:host(.S\\:v-ml-size-24),.S\\:v-ml-size-24{margin-left:24px}:host(.S\\:v-m-size-32),.S\\:v-m-size-32{margin:32px}:host(.S\\:v-mx-size-32),.S\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.S\\:v-my-size-32),.S\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.S\\:v-mt-size-32),.S\\:v-mt-size-32{margin-top:32px}:host(.S\\:v-mb-size-32),.S\\:v-mb-size-32{margin-bottom:32px}:host(.S\\:v-mr-size-32),.S\\:v-mr-size-32{margin-right:32px}:host(.S\\:v-ml-size-32),.S\\:v-ml-size-32{margin-left:32px}:host(.S\\:v-m-size-40),.S\\:v-m-size-40{margin:40px}:host(.S\\:v-mx-size-40),.S\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.S\\:v-my-size-40),.S\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.S\\:v-mt-size-40),.S\\:v-mt-size-40{margin-top:40px}:host(.S\\:v-mb-size-40),.S\\:v-mb-size-40{margin-bottom:40px}:host(.S\\:v-mr-size-40),.S\\:v-mr-size-40{margin-right:40px}:host(.S\\:v-ml-size-40),.S\\:v-ml-size-40{margin-left:40px}:host(.S\\:v-m-size-48),.S\\:v-m-size-48{margin:48px}:host(.S\\:v-mx-size-48),.S\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.S\\:v-my-size-48),.S\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.S\\:v-mt-size-48),.S\\:v-mt-size-48{margin-top:48px}:host(.S\\:v-mb-size-48),.S\\:v-mb-size-48{margin-bottom:48px}:host(.S\\:v-mr-size-48),.S\\:v-mr-size-48{margin-right:48px}:host(.S\\:v-ml-size-48),.S\\:v-ml-size-48{margin-left:48px}:host(.S\\:v-m-size-64),.S\\:v-m-size-64{margin:64px}:host(.S\\:v-mx-size-64),.S\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.S\\:v-my-size-64),.S\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.S\\:v-mt-size-64),.S\\:v-mt-size-64{margin-top:64px}:host(.S\\:v-mb-size-64),.S\\:v-mb-size-64{margin-bottom:64px}:host(.S\\:v-mr-size-64),.S\\:v-mr-size-64{margin-right:64px}:host(.S\\:v-ml-size-64),.S\\:v-ml-size-64{margin-left:64px}:host(.S\\:v-m-size-72),.S\\:v-m-size-72{margin:72px}:host(.S\\:v-mx-size-72),.S\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.S\\:v-my-size-72),.S\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.S\\:v-mt-size-72),.S\\:v-mt-size-72{margin-top:72px}:host(.S\\:v-mb-size-72),.S\\:v-mb-size-72{margin-bottom:72px}:host(.S\\:v-mr-size-72),.S\\:v-mr-size-72{margin-right:72px}:host(.S\\:v-ml-size-72),.S\\:v-ml-size-72{margin-left:72px}:host(.S\\:v-m-size-80),.S\\:v-m-size-80{margin:80px}:host(.S\\:v-mx-size-80),.S\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.S\\:v-my-size-80),.S\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.S\\:v-mt-size-80),.S\\:v-mt-size-80{margin-top:80px}:host(.S\\:v-mb-size-80),.S\\:v-mb-size-80{margin-bottom:80px}:host(.S\\:v-mr-size-80),.S\\:v-mr-size-80{margin-right:80px}:host(.S\\:v-ml-size-80),.S\\:v-ml-size-80{margin-left:80px}:host(.S\\:v-m-size-112),.S\\:v-m-size-112{margin:112px}:host(.S\\:v-mx-size-112),.S\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.S\\:v-my-size-112),.S\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.S\\:v-mt-size-112),.S\\:v-mt-size-112{margin-top:112px}:host(.S\\:v-mb-size-112),.S\\:v-mb-size-112{margin-bottom:112px}:host(.S\\:v-mr-size-112),.S\\:v-mr-size-112{margin-right:112px}:host(.S\\:v-ml-size-112),.S\\:v-ml-size-112{margin-left:112px}:host(.S\\:v-m-size-2),.S\\:v-m-size-2{margin:2px}:host(.S\\:v-mx-size-2),.S\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.S\\:v-my-size-2),.S\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.S\\:v-mt-size-2),.S\\:v-mt-size-2{margin-top:2px}:host(.S\\:v-mb-size-2),.S\\:v-mb-size-2{margin-bottom:2px}:host(.S\\:v-mr-size-2),.S\\:v-mr-size-2{margin-right:2px}:host(.S\\:v-ml-size-2),.S\\:v-ml-size-2{margin-left:2px}}@media (min-width: 768px){:host(.M\\:v-m-0),.M\\:v-m-0{margin:0px}:host(.M\\:v-mx-0),.M\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.M\\:v-my-0),.M\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.M\\:v-mt-0),.M\\:v-mt-0{margin-top:0px}:host(.M\\:v-mb-0),.M\\:v-mb-0{margin-bottom:0px}:host(.M\\:v-mr-0),.M\\:v-mr-0{margin-right:0px}:host(.M\\:v-ml-0),.M\\:v-ml-0{margin-left:0px}:host(.M\\:v-m-size-0),.M\\:v-m-size-0{margin:0px}:host(.M\\:v-mx-size-0),.M\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.M\\:v-my-size-0),.M\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.M\\:v-mt-size-0),.M\\:v-mt-size-0{margin-top:0px}:host(.M\\:v-mb-size-0),.M\\:v-mb-size-0{margin-bottom:0px}:host(.M\\:v-mr-size-0),.M\\:v-mr-size-0{margin-right:0px}:host(.M\\:v-ml-size-0),.M\\:v-ml-size-0{margin-left:0px}:host(.M\\:v-m-size-4),.M\\:v-m-size-4{margin:4px}:host(.M\\:v-mx-size-4),.M\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.M\\:v-my-size-4),.M\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.M\\:v-mt-size-4),.M\\:v-mt-size-4{margin-top:4px}:host(.M\\:v-mb-size-4),.M\\:v-mb-size-4{margin-bottom:4px}:host(.M\\:v-mr-size-4),.M\\:v-mr-size-4{margin-right:4px}:host(.M\\:v-ml-size-4),.M\\:v-ml-size-4{margin-left:4px}:host(.M\\:v-m-size-8),.M\\:v-m-size-8{margin:8px}:host(.M\\:v-mx-size-8),.M\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.M\\:v-my-size-8),.M\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.M\\:v-mt-size-8),.M\\:v-mt-size-8{margin-top:8px}:host(.M\\:v-mb-size-8),.M\\:v-mb-size-8{margin-bottom:8px}:host(.M\\:v-mr-size-8),.M\\:v-mr-size-8{margin-right:8px}:host(.M\\:v-ml-size-8),.M\\:v-ml-size-8{margin-left:8px}:host(.M\\:v-m-size-12),.M\\:v-m-size-12{margin:12px}:host(.M\\:v-mx-size-12),.M\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.M\\:v-my-size-12),.M\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.M\\:v-mt-size-12),.M\\:v-mt-size-12{margin-top:12px}:host(.M\\:v-mb-size-12),.M\\:v-mb-size-12{margin-bottom:12px}:host(.M\\:v-mr-size-12),.M\\:v-mr-size-12{margin-right:12px}:host(.M\\:v-ml-size-12),.M\\:v-ml-size-12{margin-left:12px}:host(.M\\:v-m-size-16),.M\\:v-m-size-16{margin:16px}:host(.M\\:v-mx-size-16),.M\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.M\\:v-my-size-16),.M\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.M\\:v-mt-size-16),.M\\:v-mt-size-16{margin-top:16px}:host(.M\\:v-mb-size-16),.M\\:v-mb-size-16{margin-bottom:16px}:host(.M\\:v-mr-size-16),.M\\:v-mr-size-16{margin-right:16px}:host(.M\\:v-ml-size-16),.M\\:v-ml-size-16{margin-left:16px}:host(.M\\:v-m-size-20),.M\\:v-m-size-20{margin:20px}:host(.M\\:v-mx-size-20),.M\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.M\\:v-my-size-20),.M\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.M\\:v-mt-size-20),.M\\:v-mt-size-20{margin-top:20px}:host(.M\\:v-mb-size-20),.M\\:v-mb-size-20{margin-bottom:20px}:host(.M\\:v-mr-size-20),.M\\:v-mr-size-20{margin-right:20px}:host(.M\\:v-ml-size-20),.M\\:v-ml-size-20{margin-left:20px}:host(.M\\:v-m-size-24),.M\\:v-m-size-24{margin:24px}:host(.M\\:v-mx-size-24),.M\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.M\\:v-my-size-24),.M\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.M\\:v-mt-size-24),.M\\:v-mt-size-24{margin-top:24px}:host(.M\\:v-mb-size-24),.M\\:v-mb-size-24{margin-bottom:24px}:host(.M\\:v-mr-size-24),.M\\:v-mr-size-24{margin-right:24px}:host(.M\\:v-ml-size-24),.M\\:v-ml-size-24{margin-left:24px}:host(.M\\:v-m-size-32),.M\\:v-m-size-32{margin:32px}:host(.M\\:v-mx-size-32),.M\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.M\\:v-my-size-32),.M\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.M\\:v-mt-size-32),.M\\:v-mt-size-32{margin-top:32px}:host(.M\\:v-mb-size-32),.M\\:v-mb-size-32{margin-bottom:32px}:host(.M\\:v-mr-size-32),.M\\:v-mr-size-32{margin-right:32px}:host(.M\\:v-ml-size-32),.M\\:v-ml-size-32{margin-left:32px}:host(.M\\:v-m-size-40),.M\\:v-m-size-40{margin:40px}:host(.M\\:v-mx-size-40),.M\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.M\\:v-my-size-40),.M\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.M\\:v-mt-size-40),.M\\:v-mt-size-40{margin-top:40px}:host(.M\\:v-mb-size-40),.M\\:v-mb-size-40{margin-bottom:40px}:host(.M\\:v-mr-size-40),.M\\:v-mr-size-40{margin-right:40px}:host(.M\\:v-ml-size-40),.M\\:v-ml-size-40{margin-left:40px}:host(.M\\:v-m-size-48),.M\\:v-m-size-48{margin:48px}:host(.M\\:v-mx-size-48),.M\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.M\\:v-my-size-48),.M\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.M\\:v-mt-size-48),.M\\:v-mt-size-48{margin-top:48px}:host(.M\\:v-mb-size-48),.M\\:v-mb-size-48{margin-bottom:48px}:host(.M\\:v-mr-size-48),.M\\:v-mr-size-48{margin-right:48px}:host(.M\\:v-ml-size-48),.M\\:v-ml-size-48{margin-left:48px}:host(.M\\:v-m-size-64),.M\\:v-m-size-64{margin:64px}:host(.M\\:v-mx-size-64),.M\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.M\\:v-my-size-64),.M\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.M\\:v-mt-size-64),.M\\:v-mt-size-64{margin-top:64px}:host(.M\\:v-mb-size-64),.M\\:v-mb-size-64{margin-bottom:64px}:host(.M\\:v-mr-size-64),.M\\:v-mr-size-64{margin-right:64px}:host(.M\\:v-ml-size-64),.M\\:v-ml-size-64{margin-left:64px}:host(.M\\:v-m-size-72),.M\\:v-m-size-72{margin:72px}:host(.M\\:v-mx-size-72),.M\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.M\\:v-my-size-72),.M\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.M\\:v-mt-size-72),.M\\:v-mt-size-72{margin-top:72px}:host(.M\\:v-mb-size-72),.M\\:v-mb-size-72{margin-bottom:72px}:host(.M\\:v-mr-size-72),.M\\:v-mr-size-72{margin-right:72px}:host(.M\\:v-ml-size-72),.M\\:v-ml-size-72{margin-left:72px}:host(.M\\:v-m-size-80),.M\\:v-m-size-80{margin:80px}:host(.M\\:v-mx-size-80),.M\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.M\\:v-my-size-80),.M\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.M\\:v-mt-size-80),.M\\:v-mt-size-80{margin-top:80px}:host(.M\\:v-mb-size-80),.M\\:v-mb-size-80{margin-bottom:80px}:host(.M\\:v-mr-size-80),.M\\:v-mr-size-80{margin-right:80px}:host(.M\\:v-ml-size-80),.M\\:v-ml-size-80{margin-left:80px}:host(.M\\:v-m-size-112),.M\\:v-m-size-112{margin:112px}:host(.M\\:v-mx-size-112),.M\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.M\\:v-my-size-112),.M\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.M\\:v-mt-size-112),.M\\:v-mt-size-112{margin-top:112px}:host(.M\\:v-mb-size-112),.M\\:v-mb-size-112{margin-bottom:112px}:host(.M\\:v-mr-size-112),.M\\:v-mr-size-112{margin-right:112px}:host(.M\\:v-ml-size-112),.M\\:v-ml-size-112{margin-left:112px}:host(.M\\:v-m-size-2),.M\\:v-m-size-2{margin:2px}:host(.M\\:v-mx-size-2),.M\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.M\\:v-my-size-2),.M\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.M\\:v-mt-size-2),.M\\:v-mt-size-2{margin-top:2px}:host(.M\\:v-mb-size-2),.M\\:v-mb-size-2{margin-bottom:2px}:host(.M\\:v-mr-size-2),.M\\:v-mr-size-2{margin-right:2px}:host(.M\\:v-ml-size-2),.M\\:v-ml-size-2{margin-left:2px}}@media (min-width: 1024px){:host(.L\\:v-m-0),.L\\:v-m-0{margin:0px}:host(.L\\:v-mx-0),.L\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.L\\:v-my-0),.L\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.L\\:v-mt-0),.L\\:v-mt-0{margin-top:0px}:host(.L\\:v-mb-0),.L\\:v-mb-0{margin-bottom:0px}:host(.L\\:v-mr-0),.L\\:v-mr-0{margin-right:0px}:host(.L\\:v-ml-0),.L\\:v-ml-0{margin-left:0px}:host(.L\\:v-m-size-0),.L\\:v-m-size-0{margin:0px}:host(.L\\:v-mx-size-0),.L\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.L\\:v-my-size-0),.L\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.L\\:v-mt-size-0),.L\\:v-mt-size-0{margin-top:0px}:host(.L\\:v-mb-size-0),.L\\:v-mb-size-0{margin-bottom:0px}:host(.L\\:v-mr-size-0),.L\\:v-mr-size-0{margin-right:0px}:host(.L\\:v-ml-size-0),.L\\:v-ml-size-0{margin-left:0px}:host(.L\\:v-m-size-4),.L\\:v-m-size-4{margin:4px}:host(.L\\:v-mx-size-4),.L\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.L\\:v-my-size-4),.L\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.L\\:v-mt-size-4),.L\\:v-mt-size-4{margin-top:4px}:host(.L\\:v-mb-size-4),.L\\:v-mb-size-4{margin-bottom:4px}:host(.L\\:v-mr-size-4),.L\\:v-mr-size-4{margin-right:4px}:host(.L\\:v-ml-size-4),.L\\:v-ml-size-4{margin-left:4px}:host(.L\\:v-m-size-8),.L\\:v-m-size-8{margin:8px}:host(.L\\:v-mx-size-8),.L\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.L\\:v-my-size-8),.L\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.L\\:v-mt-size-8),.L\\:v-mt-size-8{margin-top:8px}:host(.L\\:v-mb-size-8),.L\\:v-mb-size-8{margin-bottom:8px}:host(.L\\:v-mr-size-8),.L\\:v-mr-size-8{margin-right:8px}:host(.L\\:v-ml-size-8),.L\\:v-ml-size-8{margin-left:8px}:host(.L\\:v-m-size-12),.L\\:v-m-size-12{margin:12px}:host(.L\\:v-mx-size-12),.L\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.L\\:v-my-size-12),.L\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.L\\:v-mt-size-12),.L\\:v-mt-size-12{margin-top:12px}:host(.L\\:v-mb-size-12),.L\\:v-mb-size-12{margin-bottom:12px}:host(.L\\:v-mr-size-12),.L\\:v-mr-size-12{margin-right:12px}:host(.L\\:v-ml-size-12),.L\\:v-ml-size-12{margin-left:12px}:host(.L\\:v-m-size-16),.L\\:v-m-size-16{margin:16px}:host(.L\\:v-mx-size-16),.L\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.L\\:v-my-size-16),.L\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.L\\:v-mt-size-16),.L\\:v-mt-size-16{margin-top:16px}:host(.L\\:v-mb-size-16),.L\\:v-mb-size-16{margin-bottom:16px}:host(.L\\:v-mr-size-16),.L\\:v-mr-size-16{margin-right:16px}:host(.L\\:v-ml-size-16),.L\\:v-ml-size-16{margin-left:16px}:host(.L\\:v-m-size-20),.L\\:v-m-size-20{margin:20px}:host(.L\\:v-mx-size-20),.L\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.L\\:v-my-size-20),.L\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.L\\:v-mt-size-20),.L\\:v-mt-size-20{margin-top:20px}:host(.L\\:v-mb-size-20),.L\\:v-mb-size-20{margin-bottom:20px}:host(.L\\:v-mr-size-20),.L\\:v-mr-size-20{margin-right:20px}:host(.L\\:v-ml-size-20),.L\\:v-ml-size-20{margin-left:20px}:host(.L\\:v-m-size-24),.L\\:v-m-size-24{margin:24px}:host(.L\\:v-mx-size-24),.L\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.L\\:v-my-size-24),.L\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.L\\:v-mt-size-24),.L\\:v-mt-size-24{margin-top:24px}:host(.L\\:v-mb-size-24),.L\\:v-mb-size-24{margin-bottom:24px}:host(.L\\:v-mr-size-24),.L\\:v-mr-size-24{margin-right:24px}:host(.L\\:v-ml-size-24),.L\\:v-ml-size-24{margin-left:24px}:host(.L\\:v-m-size-32),.L\\:v-m-size-32{margin:32px}:host(.L\\:v-mx-size-32),.L\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.L\\:v-my-size-32),.L\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.L\\:v-mt-size-32),.L\\:v-mt-size-32{margin-top:32px}:host(.L\\:v-mb-size-32),.L\\:v-mb-size-32{margin-bottom:32px}:host(.L\\:v-mr-size-32),.L\\:v-mr-size-32{margin-right:32px}:host(.L\\:v-ml-size-32),.L\\:v-ml-size-32{margin-left:32px}:host(.L\\:v-m-size-40),.L\\:v-m-size-40{margin:40px}:host(.L\\:v-mx-size-40),.L\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.L\\:v-my-size-40),.L\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.L\\:v-mt-size-40),.L\\:v-mt-size-40{margin-top:40px}:host(.L\\:v-mb-size-40),.L\\:v-mb-size-40{margin-bottom:40px}:host(.L\\:v-mr-size-40),.L\\:v-mr-size-40{margin-right:40px}:host(.L\\:v-ml-size-40),.L\\:v-ml-size-40{margin-left:40px}:host(.L\\:v-m-size-48),.L\\:v-m-size-48{margin:48px}:host(.L\\:v-mx-size-48),.L\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.L\\:v-my-size-48),.L\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.L\\:v-mt-size-48),.L\\:v-mt-size-48{margin-top:48px}:host(.L\\:v-mb-size-48),.L\\:v-mb-size-48{margin-bottom:48px}:host(.L\\:v-mr-size-48),.L\\:v-mr-size-48{margin-right:48px}:host(.L\\:v-ml-size-48),.L\\:v-ml-size-48{margin-left:48px}:host(.L\\:v-m-size-64),.L\\:v-m-size-64{margin:64px}:host(.L\\:v-mx-size-64),.L\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.L\\:v-my-size-64),.L\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.L\\:v-mt-size-64),.L\\:v-mt-size-64{margin-top:64px}:host(.L\\:v-mb-size-64),.L\\:v-mb-size-64{margin-bottom:64px}:host(.L\\:v-mr-size-64),.L\\:v-mr-size-64{margin-right:64px}:host(.L\\:v-ml-size-64),.L\\:v-ml-size-64{margin-left:64px}:host(.L\\:v-m-size-72),.L\\:v-m-size-72{margin:72px}:host(.L\\:v-mx-size-72),.L\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.L\\:v-my-size-72),.L\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.L\\:v-mt-size-72),.L\\:v-mt-size-72{margin-top:72px}:host(.L\\:v-mb-size-72),.L\\:v-mb-size-72{margin-bottom:72px}:host(.L\\:v-mr-size-72),.L\\:v-mr-size-72{margin-right:72px}:host(.L\\:v-ml-size-72),.L\\:v-ml-size-72{margin-left:72px}:host(.L\\:v-m-size-80),.L\\:v-m-size-80{margin:80px}:host(.L\\:v-mx-size-80),.L\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.L\\:v-my-size-80),.L\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.L\\:v-mt-size-80),.L\\:v-mt-size-80{margin-top:80px}:host(.L\\:v-mb-size-80),.L\\:v-mb-size-80{margin-bottom:80px}:host(.L\\:v-mr-size-80),.L\\:v-mr-size-80{margin-right:80px}:host(.L\\:v-ml-size-80),.L\\:v-ml-size-80{margin-left:80px}:host(.L\\:v-m-size-112),.L\\:v-m-size-112{margin:112px}:host(.L\\:v-mx-size-112),.L\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.L\\:v-my-size-112),.L\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.L\\:v-mt-size-112),.L\\:v-mt-size-112{margin-top:112px}:host(.L\\:v-mb-size-112),.L\\:v-mb-size-112{margin-bottom:112px}:host(.L\\:v-mr-size-112),.L\\:v-mr-size-112{margin-right:112px}:host(.L\\:v-ml-size-112),.L\\:v-ml-size-112{margin-left:112px}:host(.L\\:v-m-size-2),.L\\:v-m-size-2{margin:2px}:host(.L\\:v-mx-size-2),.L\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.L\\:v-my-size-2),.L\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.L\\:v-mt-size-2),.L\\:v-mt-size-2{margin-top:2px}:host(.L\\:v-mb-size-2),.L\\:v-mb-size-2{margin-bottom:2px}:host(.L\\:v-mr-size-2),.L\\:v-mr-size-2{margin-right:2px}:host(.L\\:v-ml-size-2),.L\\:v-ml-size-2{margin-left:2px}}@media (min-width: 1440px){:host(.XL\\:v-m-0),.XL\\:v-m-0{margin:0px}:host(.XL\\:v-mx-0),.XL\\:v-mx-0{margin-left:0px;margin-right:0px}:host(.XL\\:v-my-0),.XL\\:v-my-0{margin-top:0px;margin-bottom:0px}:host(.XL\\:v-mt-0),.XL\\:v-mt-0{margin-top:0px}:host(.XL\\:v-mb-0),.XL\\:v-mb-0{margin-bottom:0px}:host(.XL\\:v-mr-0),.XL\\:v-mr-0{margin-right:0px}:host(.XL\\:v-ml-0),.XL\\:v-ml-0{margin-left:0px}:host(.XL\\:v-m-size-0),.XL\\:v-m-size-0{margin:0px}:host(.XL\\:v-mx-size-0),.XL\\:v-mx-size-0{margin-left:0px;margin-right:0px}:host(.XL\\:v-my-size-0),.XL\\:v-my-size-0{margin-top:0px;margin-bottom:0px}:host(.XL\\:v-mt-size-0),.XL\\:v-mt-size-0{margin-top:0px}:host(.XL\\:v-mb-size-0),.XL\\:v-mb-size-0{margin-bottom:0px}:host(.XL\\:v-mr-size-0),.XL\\:v-mr-size-0{margin-right:0px}:host(.XL\\:v-ml-size-0),.XL\\:v-ml-size-0{margin-left:0px}:host(.XL\\:v-m-size-4),.XL\\:v-m-size-4{margin:4px}:host(.XL\\:v-mx-size-4),.XL\\:v-mx-size-4{margin-left:4px;margin-right:4px}:host(.XL\\:v-my-size-4),.XL\\:v-my-size-4{margin-top:4px;margin-bottom:4px}:host(.XL\\:v-mt-size-4),.XL\\:v-mt-size-4{margin-top:4px}:host(.XL\\:v-mb-size-4),.XL\\:v-mb-size-4{margin-bottom:4px}:host(.XL\\:v-mr-size-4),.XL\\:v-mr-size-4{margin-right:4px}:host(.XL\\:v-ml-size-4),.XL\\:v-ml-size-4{margin-left:4px}:host(.XL\\:v-m-size-8),.XL\\:v-m-size-8{margin:8px}:host(.XL\\:v-mx-size-8),.XL\\:v-mx-size-8{margin-left:8px;margin-right:8px}:host(.XL\\:v-my-size-8),.XL\\:v-my-size-8{margin-top:8px;margin-bottom:8px}:host(.XL\\:v-mt-size-8),.XL\\:v-mt-size-8{margin-top:8px}:host(.XL\\:v-mb-size-8),.XL\\:v-mb-size-8{margin-bottom:8px}:host(.XL\\:v-mr-size-8),.XL\\:v-mr-size-8{margin-right:8px}:host(.XL\\:v-ml-size-8),.XL\\:v-ml-size-8{margin-left:8px}:host(.XL\\:v-m-size-12),.XL\\:v-m-size-12{margin:12px}:host(.XL\\:v-mx-size-12),.XL\\:v-mx-size-12{margin-left:12px;margin-right:12px}:host(.XL\\:v-my-size-12),.XL\\:v-my-size-12{margin-top:12px;margin-bottom:12px}:host(.XL\\:v-mt-size-12),.XL\\:v-mt-size-12{margin-top:12px}:host(.XL\\:v-mb-size-12),.XL\\:v-mb-size-12{margin-bottom:12px}:host(.XL\\:v-mr-size-12),.XL\\:v-mr-size-12{margin-right:12px}:host(.XL\\:v-ml-size-12),.XL\\:v-ml-size-12{margin-left:12px}:host(.XL\\:v-m-size-16),.XL\\:v-m-size-16{margin:16px}:host(.XL\\:v-mx-size-16),.XL\\:v-mx-size-16{margin-left:16px;margin-right:16px}:host(.XL\\:v-my-size-16),.XL\\:v-my-size-16{margin-top:16px;margin-bottom:16px}:host(.XL\\:v-mt-size-16),.XL\\:v-mt-size-16{margin-top:16px}:host(.XL\\:v-mb-size-16),.XL\\:v-mb-size-16{margin-bottom:16px}:host(.XL\\:v-mr-size-16),.XL\\:v-mr-size-16{margin-right:16px}:host(.XL\\:v-ml-size-16),.XL\\:v-ml-size-16{margin-left:16px}:host(.XL\\:v-m-size-20),.XL\\:v-m-size-20{margin:20px}:host(.XL\\:v-mx-size-20),.XL\\:v-mx-size-20{margin-left:20px;margin-right:20px}:host(.XL\\:v-my-size-20),.XL\\:v-my-size-20{margin-top:20px;margin-bottom:20px}:host(.XL\\:v-mt-size-20),.XL\\:v-mt-size-20{margin-top:20px}:host(.XL\\:v-mb-size-20),.XL\\:v-mb-size-20{margin-bottom:20px}:host(.XL\\:v-mr-size-20),.XL\\:v-mr-size-20{margin-right:20px}:host(.XL\\:v-ml-size-20),.XL\\:v-ml-size-20{margin-left:20px}:host(.XL\\:v-m-size-24),.XL\\:v-m-size-24{margin:24px}:host(.XL\\:v-mx-size-24),.XL\\:v-mx-size-24{margin-left:24px;margin-right:24px}:host(.XL\\:v-my-size-24),.XL\\:v-my-size-24{margin-top:24px;margin-bottom:24px}:host(.XL\\:v-mt-size-24),.XL\\:v-mt-size-24{margin-top:24px}:host(.XL\\:v-mb-size-24),.XL\\:v-mb-size-24{margin-bottom:24px}:host(.XL\\:v-mr-size-24),.XL\\:v-mr-size-24{margin-right:24px}:host(.XL\\:v-ml-size-24),.XL\\:v-ml-size-24{margin-left:24px}:host(.XL\\:v-m-size-32),.XL\\:v-m-size-32{margin:32px}:host(.XL\\:v-mx-size-32),.XL\\:v-mx-size-32{margin-left:32px;margin-right:32px}:host(.XL\\:v-my-size-32),.XL\\:v-my-size-32{margin-top:32px;margin-bottom:32px}:host(.XL\\:v-mt-size-32),.XL\\:v-mt-size-32{margin-top:32px}:host(.XL\\:v-mb-size-32),.XL\\:v-mb-size-32{margin-bottom:32px}:host(.XL\\:v-mr-size-32),.XL\\:v-mr-size-32{margin-right:32px}:host(.XL\\:v-ml-size-32),.XL\\:v-ml-size-32{margin-left:32px}:host(.XL\\:v-m-size-40),.XL\\:v-m-size-40{margin:40px}:host(.XL\\:v-mx-size-40),.XL\\:v-mx-size-40{margin-left:40px;margin-right:40px}:host(.XL\\:v-my-size-40),.XL\\:v-my-size-40{margin-top:40px;margin-bottom:40px}:host(.XL\\:v-mt-size-40),.XL\\:v-mt-size-40{margin-top:40px}:host(.XL\\:v-mb-size-40),.XL\\:v-mb-size-40{margin-bottom:40px}:host(.XL\\:v-mr-size-40),.XL\\:v-mr-size-40{margin-right:40px}:host(.XL\\:v-ml-size-40),.XL\\:v-ml-size-40{margin-left:40px}:host(.XL\\:v-m-size-48),.XL\\:v-m-size-48{margin:48px}:host(.XL\\:v-mx-size-48),.XL\\:v-mx-size-48{margin-left:48px;margin-right:48px}:host(.XL\\:v-my-size-48),.XL\\:v-my-size-48{margin-top:48px;margin-bottom:48px}:host(.XL\\:v-mt-size-48),.XL\\:v-mt-size-48{margin-top:48px}:host(.XL\\:v-mb-size-48),.XL\\:v-mb-size-48{margin-bottom:48px}:host(.XL\\:v-mr-size-48),.XL\\:v-mr-size-48{margin-right:48px}:host(.XL\\:v-ml-size-48),.XL\\:v-ml-size-48{margin-left:48px}:host(.XL\\:v-m-size-64),.XL\\:v-m-size-64{margin:64px}:host(.XL\\:v-mx-size-64),.XL\\:v-mx-size-64{margin-left:64px;margin-right:64px}:host(.XL\\:v-my-size-64),.XL\\:v-my-size-64{margin-top:64px;margin-bottom:64px}:host(.XL\\:v-mt-size-64),.XL\\:v-mt-size-64{margin-top:64px}:host(.XL\\:v-mb-size-64),.XL\\:v-mb-size-64{margin-bottom:64px}:host(.XL\\:v-mr-size-64),.XL\\:v-mr-size-64{margin-right:64px}:host(.XL\\:v-ml-size-64),.XL\\:v-ml-size-64{margin-left:64px}:host(.XL\\:v-m-size-72),.XL\\:v-m-size-72{margin:72px}:host(.XL\\:v-mx-size-72),.XL\\:v-mx-size-72{margin-left:72px;margin-right:72px}:host(.XL\\:v-my-size-72),.XL\\:v-my-size-72{margin-top:72px;margin-bottom:72px}:host(.XL\\:v-mt-size-72),.XL\\:v-mt-size-72{margin-top:72px}:host(.XL\\:v-mb-size-72),.XL\\:v-mb-size-72{margin-bottom:72px}:host(.XL\\:v-mr-size-72),.XL\\:v-mr-size-72{margin-right:72px}:host(.XL\\:v-ml-size-72),.XL\\:v-ml-size-72{margin-left:72px}:host(.XL\\:v-m-size-80),.XL\\:v-m-size-80{margin:80px}:host(.XL\\:v-mx-size-80),.XL\\:v-mx-size-80{margin-left:80px;margin-right:80px}:host(.XL\\:v-my-size-80),.XL\\:v-my-size-80{margin-top:80px;margin-bottom:80px}:host(.XL\\:v-mt-size-80),.XL\\:v-mt-size-80{margin-top:80px}:host(.XL\\:v-mb-size-80),.XL\\:v-mb-size-80{margin-bottom:80px}:host(.XL\\:v-mr-size-80),.XL\\:v-mr-size-80{margin-right:80px}:host(.XL\\:v-ml-size-80),.XL\\:v-ml-size-80{margin-left:80px}:host(.XL\\:v-m-size-112),.XL\\:v-m-size-112{margin:112px}:host(.XL\\:v-mx-size-112),.XL\\:v-mx-size-112{margin-left:112px;margin-right:112px}:host(.XL\\:v-my-size-112),.XL\\:v-my-size-112{margin-top:112px;margin-bottom:112px}:host(.XL\\:v-mt-size-112),.XL\\:v-mt-size-112{margin-top:112px}:host(.XL\\:v-mb-size-112),.XL\\:v-mb-size-112{margin-bottom:112px}:host(.XL\\:v-mr-size-112),.XL\\:v-mr-size-112{margin-right:112px}:host(.XL\\:v-ml-size-112),.XL\\:v-ml-size-112{margin-left:112px}:host(.XL\\:v-m-size-2),.XL\\:v-m-size-2{margin:2px}:host(.XL\\:v-mx-size-2),.XL\\:v-mx-size-2{margin-left:2px;margin-right:2px}:host(.XL\\:v-my-size-2),.XL\\:v-my-size-2{margin-top:2px;margin-bottom:2px}:host(.XL\\:v-mt-size-2),.XL\\:v-mt-size-2{margin-top:2px}:host(.XL\\:v-mb-size-2),.XL\\:v-mb-size-2{margin-bottom:2px}:host(.XL\\:v-mr-size-2),.XL\\:v-mr-size-2{margin-right:2px}:host(.XL\\:v-ml-size-2),.XL\\:v-ml-size-2{margin-left:2px}}:host(.v-gap-0),.v-gap-0{gap:0px}:host(.v-gap-size-0),.v-gap-size-0{gap:0px}:host(.v-gap-size-4),.v-gap-size-4{gap:4px}:host(.v-gap-size-8),.v-gap-size-8{gap:8px}:host(.v-gap-size-12),.v-gap-size-12{gap:12px}:host(.v-gap-size-16),.v-gap-size-16{gap:16px}:host(.v-gap-size-20),.v-gap-size-20{gap:20px}:host(.v-gap-size-24),.v-gap-size-24{gap:24px}:host(.v-gap-size-32),.v-gap-size-32{gap:32px}:host(.v-gap-size-40),.v-gap-size-40{gap:40px}:host(.v-gap-size-48),.v-gap-size-48{gap:48px}:host(.v-gap-size-64),.v-gap-size-64{gap:64px}:host(.v-gap-size-72),.v-gap-size-72{gap:72px}:host(.v-gap-size-80),.v-gap-size-80{gap:80px}:host(.v-gap-size-112),.v-gap-size-112{gap:112px}:host(.v-gap-size-2),.v-gap-size-2{gap:2px}@media (min-width: 320px){:host(.S\\:v-gap-0),.S\\:v-gap-0{gap:0px}:host(.S\\:v-gap-size-0),.S\\:v-gap-size-0{gap:0px}:host(.S\\:v-gap-size-4),.S\\:v-gap-size-4{gap:4px}:host(.S\\:v-gap-size-8),.S\\:v-gap-size-8{gap:8px}:host(.S\\:v-gap-size-12),.S\\:v-gap-size-12{gap:12px}:host(.S\\:v-gap-size-16),.S\\:v-gap-size-16{gap:16px}:host(.S\\:v-gap-size-20),.S\\:v-gap-size-20{gap:20px}:host(.S\\:v-gap-size-24),.S\\:v-gap-size-24{gap:24px}:host(.S\\:v-gap-size-32),.S\\:v-gap-size-32{gap:32px}:host(.S\\:v-gap-size-40),.S\\:v-gap-size-40{gap:40px}:host(.S\\:v-gap-size-48),.S\\:v-gap-size-48{gap:48px}:host(.S\\:v-gap-size-64),.S\\:v-gap-size-64{gap:64px}:host(.S\\:v-gap-size-72),.S\\:v-gap-size-72{gap:72px}:host(.S\\:v-gap-size-80),.S\\:v-gap-size-80{gap:80px}:host(.S\\:v-gap-size-112),.S\\:v-gap-size-112{gap:112px}:host(.S\\:v-gap-size-2),.S\\:v-gap-size-2{gap:2px}}@media (min-width: 768px){:host(.M\\:v-gap-0),.M\\:v-gap-0{gap:0px}:host(.M\\:v-gap-size-0),.M\\:v-gap-size-0{gap:0px}:host(.M\\:v-gap-size-4),.M\\:v-gap-size-4{gap:4px}:host(.M\\:v-gap-size-8),.M\\:v-gap-size-8{gap:8px}:host(.M\\:v-gap-size-12),.M\\:v-gap-size-12{gap:12px}:host(.M\\:v-gap-size-16),.M\\:v-gap-size-16{gap:16px}:host(.M\\:v-gap-size-20),.M\\:v-gap-size-20{gap:20px}:host(.M\\:v-gap-size-24),.M\\:v-gap-size-24{gap:24px}:host(.M\\:v-gap-size-32),.M\\:v-gap-size-32{gap:32px}:host(.M\\:v-gap-size-40),.M\\:v-gap-size-40{gap:40px}:host(.M\\:v-gap-size-48),.M\\:v-gap-size-48{gap:48px}:host(.M\\:v-gap-size-64),.M\\:v-gap-size-64{gap:64px}:host(.M\\:v-gap-size-72),.M\\:v-gap-size-72{gap:72px}:host(.M\\:v-gap-size-80),.M\\:v-gap-size-80{gap:80px}:host(.M\\:v-gap-size-112),.M\\:v-gap-size-112{gap:112px}:host(.M\\:v-gap-size-2),.M\\:v-gap-size-2{gap:2px}}@media (min-width: 1024px){:host(.L\\:v-gap-0),.L\\:v-gap-0{gap:0px}:host(.L\\:v-gap-size-0),.L\\:v-gap-size-0{gap:0px}:host(.L\\:v-gap-size-4),.L\\:v-gap-size-4{gap:4px}:host(.L\\:v-gap-size-8),.L\\:v-gap-size-8{gap:8px}:host(.L\\:v-gap-size-12),.L\\:v-gap-size-12{gap:12px}:host(.L\\:v-gap-size-16),.L\\:v-gap-size-16{gap:16px}:host(.L\\:v-gap-size-20),.L\\:v-gap-size-20{gap:20px}:host(.L\\:v-gap-size-24),.L\\:v-gap-size-24{gap:24px}:host(.L\\:v-gap-size-32),.L\\:v-gap-size-32{gap:32px}:host(.L\\:v-gap-size-40),.L\\:v-gap-size-40{gap:40px}:host(.L\\:v-gap-size-48),.L\\:v-gap-size-48{gap:48px}:host(.L\\:v-gap-size-64),.L\\:v-gap-size-64{gap:64px}:host(.L\\:v-gap-size-72),.L\\:v-gap-size-72{gap:72px}:host(.L\\:v-gap-size-80),.L\\:v-gap-size-80{gap:80px}:host(.L\\:v-gap-size-112),.L\\:v-gap-size-112{gap:112px}:host(.L\\:v-gap-size-2),.L\\:v-gap-size-2{gap:2px}}@media (min-width: 1440px){:host(.XL\\:v-gap-0),.XL\\:v-gap-0{gap:0px}:host(.XL\\:v-gap-size-0),.XL\\:v-gap-size-0{gap:0px}:host(.XL\\:v-gap-size-4),.XL\\:v-gap-size-4{gap:4px}:host(.XL\\:v-gap-size-8),.XL\\:v-gap-size-8{gap:8px}:host(.XL\\:v-gap-size-12),.XL\\:v-gap-size-12{gap:12px}:host(.XL\\:v-gap-size-16),.XL\\:v-gap-size-16{gap:16px}:host(.XL\\:v-gap-size-20),.XL\\:v-gap-size-20{gap:20px}:host(.XL\\:v-gap-size-24),.XL\\:v-gap-size-24{gap:24px}:host(.XL\\:v-gap-size-32),.XL\\:v-gap-size-32{gap:32px}:host(.XL\\:v-gap-size-40),.XL\\:v-gap-size-40{gap:40px}:host(.XL\\:v-gap-size-48),.XL\\:v-gap-size-48{gap:48px}:host(.XL\\:v-gap-size-64),.XL\\:v-gap-size-64{gap:64px}:host(.XL\\:v-gap-size-72),.XL\\:v-gap-size-72{gap:72px}:host(.XL\\:v-gap-size-80),.XL\\:v-gap-size-80{gap:80px}:host(.XL\\:v-gap-size-112),.XL\\:v-gap-size-112{gap:112px}:host(.XL\\:v-gap-size-2),.XL\\:v-gap-size-2{gap:2px}}:host{display:flex;flex-direction:column}:host(.vega-flex-native-based:not([class*=v-flex-col],[class*=v-flex-row-reverse])){flex-direction:row}:host>::slotted(.vega-flex-grow){flex-grow:1}:host>::slotted(.vega-flex-grow-0){flex-grow:0}:host>::slotted(.vega-flex-shrink){flex-shrink:1}:host>::slotted(.vega-flex-shrink-0){flex-shrink:0}:host>::slotted(.vega-flex-basis-0){flex-basis:0}:host>::slotted(.v-min-w-min){min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}@media (min-width: 320px){:host>::slotted(.S\\:vega-flex-grow){flex-grow:1}:host>::slotted(.S\\:vega-flex-shrink){flex-shrink:1}:host>::slotted(.S\\:vega-flex-grow-0){flex-grow:0}:host>::slotted(.S\\:vega-flex-shrink-0){flex-shrink:0}}@media (min-width: 768px){:host>::slotted(.M\\:vega-flex-grow){flex-grow:1}:host>::slotted(.M\\:vega-flex-shrink){flex-shrink:1}:host>::slotted(.M\\:vega-flex-grow-0){flex-grow:0}:host>::slotted(.M\\:vega-flex-shrink-0){flex-shrink:0}}@media (min-width: 1024px){:host>::slotted(.L\\:vega-flex-grow){flex-grow:1}:host>::slotted(.L\\:vega-flex-shrink){flex-shrink:1}:host>::slotted(.L\\:vega-flex-grow-0){flex-grow:0}:host>::slotted(.L\\:vega-flex-shrink-0){flex-shrink:0}}@media (min-width: 1440px){:host>::slotted(.XL\\:vega-flex-grow){flex-grow:1}:host>::slotted(.XL\\:vega-flex-shrink){flex-shrink:1}:host>::slotted(.XL\\:vega-flex-grow-0){flex-grow:0}:host>::slotted(.XL\\:vega-flex-shrink-0){flex-shrink:0}}:host(:not(.vega-flex-native-based))>::slotted(*:not([data-shrink="0"],[class*=vega-flex])){width:100%;display:block}:host>::slotted(*[data-shrink="0"]){min-width:100%;flex-shrink:1}@media (min-width: 320px){:host(.vega-flex-S){flex-direction:row}}@media (min-width: 320px){:host(.vega-flex-S)>::slotted(*[data-shrink="0"]){flex-shrink:0;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}}@media (min-width: 768px){:host(.vega-flex-M){flex-direction:row}}@media (min-width: 768px){:host(.vega-flex-M)>::slotted(*[data-shrink="0"]){flex-shrink:0;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}}@media (min-width: 1024px){:host(.vega-flex-L){flex-direction:row}}@media (min-width: 1024px){:host(.vega-flex-L)>::slotted(*[data-shrink="0"]){flex-shrink:0;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}}@media (min-width: 1440px){:host(.vega-flex-XL){flex-direction:row}}@media (min-width: 1440px){:host(.vega-flex-XL)>::slotted(*[data-shrink="0"]){flex-shrink:0;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}}:host(.vega-flex-None)>::slotted(*[data-shrink="0"]){flex-shrink:0;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}:host(.v-flex-row){flex-direction:row}:host(.v-flex-col){flex-direction:column}:host(.v-flex-row-reverse){flex-direction:row-reverse}:host(.v-flex-col-reverse){flex-direction:column-reverse}@media (min-width: 320px){:host(.S\\:v-flex-row){flex-direction:row}:host(.S\\:v-flex-col){flex-direction:column}:host(.S\\:v-flex-row-reverse){flex-direction:row-reverse}:host(.S\\:v-flex-col-reverse){flex-direction:column-reverse}}@media (min-width: 768px){:host(.M\\:v-flex-row){flex-direction:row}:host(.M\\:v-flex-col){flex-direction:column}:host(.M\\:v-flex-row-reverse){flex-direction:row-reverse}:host(.M\\:v-flex-col-reverse){flex-direction:column-reverse}}@media (min-width: 1024px){:host(.L\\:v-flex-row){flex-direction:row}:host(.L\\:v-flex-col){flex-direction:column}:host(.L\\:v-flex-row-reverse){flex-direction:row-reverse}:host(.L\\:v-flex-col-reverse){flex-direction:column-reverse}}@media (min-width: 1440px){:host(.XL\\:v-flex-row){flex-direction:row}:host(.XL\\:v-flex-col){flex-direction:column}:host(.XL\\:v-flex-row-reverse){flex-direction:row-reverse}:host(.XL\\:v-flex-col-reverse){flex-direction:column-reverse}}:host(.v-items-start){align-items:flex-start}:host(.v-items-center){align-items:center}:host(.v-items-end){align-items:flex-end}:host(.v-items-baseline){align-items:baseline}:host(.v-items-stretch){align-items:stretch}@media (min-width: 320px){:host(.S\\:v-items-start){align-items:flex-start}:host(.S\\:v-items-center){align-items:center}:host(.S\\:v-items-end){align-items:flex-end}:host(.S\\:v-items-baseline){align-items:baseline}:host(.S\\:v-items-stretch){align-items:stretch}}@media (min-width: 768px){:host(.M\\:v-items-start){align-items:flex-start}:host(.M\\:v-items-center){align-items:center}:host(.M\\:v-items-end){align-items:flex-end}:host(.M\\:v-items-baseline){align-items:baseline}:host(.M\\:v-items-stretch){align-items:stretch}}@media (min-width: 1024px){:host(.L\\:v-items-start){align-items:flex-start}:host(.L\\:v-items-center){align-items:center}:host(.L\\:v-items-end){align-items:flex-end}:host(.L\\:v-items-baseline){align-items:baseline}:host(.L\\:v-items-stretch){align-items:stretch}}@media (min-width: 1440px){:host(.XL\\:v-items-start){align-items:flex-start}:host(.XL\\:v-items-center){align-items:center}:host(.XL\\:v-items-end){align-items:flex-end}:host(.XL\\:v-items-baseline){align-items:baseline}:host(.XL\\:v-items-stretch){align-items:stretch}}:host(.v-justify-start){justify-content:flex-start}:host(.v-justify-center){justify-content:center}:host(.v-justify-end){justify-content:flex-end}:host(.v-justify-around){justify-content:space-around}:host(.v-justify-between){justify-content:space-between}:host(.v-justify-evenly){justify-content:space-evenly}@media (min-width: 320px){:host(.S\\:v-justify-start){justify-content:flex-start}:host(.S\\:v-justify-center){justify-content:center}:host(.S\\:v-justify-end){justify-content:flex-end}:host(.S\\:v-justify-around){justify-content:space-around}:host(.S\\:v-justify-between){justify-content:space-between}:host(.S\\:v-justify-evenly){justify-content:space-evenly}}@media (min-width: 768px){:host(.M\\:v-justify-start){justify-content:flex-start}:host(.M\\:v-justify-center){justify-content:center}:host(.M\\:v-justify-end){justify-content:flex-end}:host(.M\\:v-justify-around){justify-content:space-around}:host(.M\\:v-justify-between){justify-content:space-between}:host(.M\\:v-justify-evenly){justify-content:space-evenly}}@media (min-width: 1024px){:host(.L\\:v-justify-start){justify-content:flex-start}:host(.L\\:v-justify-center){justify-content:center}:host(.L\\:v-justify-end){justify-content:flex-end}:host(.L\\:v-justify-around){justify-content:space-around}:host(.L\\:v-justify-between){justify-content:space-between}:host(.L\\:v-justify-evenly){justify-content:space-evenly}}@media (min-width: 1440px){:host(.XL\\:v-justify-start){justify-content:flex-start}:host(.XL\\:v-justify-center){justify-content:center}:host(.XL\\:v-justify-end){justify-content:flex-end}:host(.XL\\:v-justify-around){justify-content:space-around}:host(.XL\\:v-justify-between){justify-content:space-between}:host(.XL\\:v-justify-evenly){justify-content:space-evenly}}:host(.v-flex-nowrap){flex-wrap:nowrap}:host(.v-flex-wrap){flex-wrap:wrap}:host(.v-flex-wrap-reverse){flex-wrap:wrap-reverse}@media (min-width: 320px){:host(.S\\:v-flex-nowrap){flex-wrap:nowrap}:host(.S\\:v-flex-wrap){flex-wrap:wrap}:host(.S\\:v-flex-wrap-reverse){flex-wrap:wrap-reverse}}@media (min-width: 768px){:host(.M\\:v-flex-nowrap){flex-wrap:nowrap}:host(.M\\:v-flex-wrap){flex-wrap:wrap}:host(.M\\:v-flex-wrap-reverse){flex-wrap:wrap-reverse}}@media (min-width: 1024px){:host(.L\\:v-flex-nowrap){flex-wrap:nowrap}:host(.L\\:v-flex-wrap){flex-wrap:wrap}:host(.L\\:v-flex-wrap-reverse){flex-wrap:wrap-reverse}}@media (min-width: 1440px){:host(.XL\\:v-flex-nowrap){flex-wrap:nowrap}:host(.XL\\:v-flex-wrap){flex-wrap:wrap}:host(.XL\\:v-flex-wrap-reverse){flex-wrap:wrap-reverse}}';export{h as vega_flex}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e,r as t,c as o,H as r,g as a}from"./p-9777b1c1.js";import{s as p}from"./p-b81bd0bb.js";import{I as s}from"./p-0a43bbd1.js";import{a as i,M as n,V as c,I as v}from"./p-018d77cc.js";import{V as l,I as g}from"./p-5cad29f5.js";import{c as h}from"./p-16608c5a.js";import{z as m,A as d}from"./p-f1d8fd1c.js";import{E as f}from"./p-13ead830.js";import"./p-cf3cfd23.js";import"./p-320642bd.js";import"./p-d3f1d3dd.js";import"./p-bf95b189.js";import"./p-0fd9f03f.js";import"./p-aae8855d.js";import"./p-3c8b2105.js";import"./p-1265732f.js";import"./p-3542f8fe.js";import"./p-3a0a4d15.js";import"./p-c59042c0.js";import"./p-bb761f8f.js";import"./p-344ee7cb.js";import"./p-0c667d6a.js";import"./p-abf5b8f7.js";import"./p-cb13b4e6.js";var b=function(e,t,o,r){var a,p=arguments.length,s=p<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var i=e.length-1;i>=0;i--)(a=e[i])&&(s=(p<3?a(s):p>3?a(t,o,s):a(t,o))||s);return p>3&&s&&Object.defineProperty(t,o,s),s};class w extends c{appendPopoverSlotContent(){const e=this.host.querySelector("[slot='popover']");e&&this.popoverContentBox.appendChild(e)}getPopoverContentBox(){return this.popoverContentBox}render(){return e("vega-popover-content-box",{ref:e=>this.popoverContentBox=e,showArrow:this.showArrow})}}b([i()],w.prototype,"host",void 0),b([i()],w.prototype,"showArrow",void 0),b([n("componentDidRender")],w.prototype,"appendPopoverSlotContent",null);var x=function(e,t,o,r){var a,p=arguments.length,s=p<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var i=e.length-1;i>=0;i--)(a=e[i])&&(s=(p<3?a(s):p>3?a(t,o,s):a(t,o))||s);return p>3&&s&&Object.defineProperty(t,o,s),s};class u extends f{constructor(){super((()=>({target:this.host,appendableElement:this.appenderRenderer.getPopoverContentBox(),positionRelativeTo:this.positionRelativeTo,matchTargetWidth:!1,size:this.size,placement:this.placement,alignment:this.alignment})),(()=>this.trigger),"isPopoverShow")}}x([i()],u.prototype,"host",void 0),x([i()],u.prototype,"trigger",void 0),x([i()],u.prototype,"positionRelativeTo",void 0),x([i()],u.prototype,"placement",void 0),x([i()],u.prototype,"alignment",void 0),x([i()],u.prototype,"size",void 0),x([i({writable:!0})],u.prototype,"isPopoverShow",void 0),x([i()],u.prototype,"appenderRenderer",void 0);var j=function(e,t,o,r){var a,p=arguments.length,s=p<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var i=e.length-1;i>=0;i--)(a=e[i])&&(s=(p<3?a(s):p>3?a(t,o,s):a(t,o))||s);return p>3&&s&&Object.defineProperty(t,o,s),s};const R=class{constructor(e){t(this,e),this.vegaPopoverShow=o(this,"vegaPopoverShow",7),this.popoverShow=o(this,"popoverShow",7),this.vegaPopoverHide=o(this,"vegaPopoverHide",7),this.popoverHide=o(this,"popoverHide",7),this.globalSlimmers={},this.appenderRenderer=new w,this.appenderController=new u,this.popoverShowEventEmitter=h(R,m),this.popoverHideEventEmitter=h(R,d),this.vegaComponentUsageRuntimeMetricsSlimmer=new l,this.isPopoverShow=!1,this.placement="top",this.alignment="center",this.trigger="click",this.showArrow=!0,this.showPopover=()=>{this.appenderController.show()},this.hidePopover=()=>{this.appenderController.hide()}}async watchIsPopoverShow(){this.isPopoverShow?this.popoverShowEventEmitter.emit():this.popoverHideEventEmitter.emit()}watchToRefreshPopover(){this.isPopoverShow&&this.appenderController.show()}componentDidRender(){}async show(){this.isPopoverShow||this.showPopover()}async hide(){this.isPopoverShow&&this.hidePopover()}render(){return p(e(r,null,e("slot",{name:"popover-content"}),this.appenderRenderer.render()),this.host)}get host(){return a(this)}static get watchers(){return{isPopoverShow:["watchIsPopoverShow"],size:["watchToRefreshPopover"],placement:["watchToRefreshPopover"],alignment:["watchToRefreshPopover"]}}};j([g()],R.prototype,"globalSlimmers",void 0),j([v()],R.prototype,"appenderRenderer",void 0),j([v()],R.prototype,"appenderController",void 0),j([v()],R.prototype,"popoverShowEventEmitter",void 0),j([v()],R.prototype,"popoverHideEventEmitter",void 0),j([v()],R.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),j([s((e=>[{keyCode:"Escape",activeElementInScope:[e.host],callback:e.hidePopover},{keyCode:"Tab",activeElementOutScope:[e.host,e.appenderRenderer.getPopoverContentBox()],callback:e.hidePopover},{keyCode:"Tab",activeElementInScope:[e.host],callback:()=>{"hover"===e.trigger&&e.showPopover()}}]))],R.prototype,"host",void 0),R.style=":host{display:inline-block}";var y=function(e,t,o,r){var a,p=arguments.length,s=p<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var i=e.length-1;i>=0;i--)(a=e[i])&&(s=(p<3?a(s):p>3?a(t,o,s):a(t,o))||s);return p>3&&s&&Object.defineProperty(t,o,s),s};const S=class{constructor(e){t(this,e),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new l,this.showArrow=!0}render(){return p(e(r,{class:{"vega-popover":!0,"no-arrow":!this.showArrow},role:"tooltip"},e("div",{class:"vega-popover-content"},e("slot",{name:"popover"}),this.showArrow&&e("div",{class:"vega-arrow"})),e("slot",null)),this.host)}get host(){return a(this)}};y([g()],S.prototype,"globalSlimmers",void 0),y([v()],S.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),S.style=':host{position:absolute}:host(.vega-force-hidden){display:none !important}.vega-popover-content{border-radius:8px;padding:16px;position:relative;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));box-shadow:var(--v-shadow-popover, 0px 0px 88px 0px rgba(2, 2, 15, 0.01), 0px 0px 32px 0px rgba(2, 2, 15, 0.02), 0px 4px 72px 0px rgba(2, 2, 15, 0.06))}.vega-popover-content .vega-arrow{position:absolute}.vega-popover-content .vega-arrow::after{display:inline-block;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));content:"";border-right-width:0px;border-bottom-width:0px;border-radius:4px 1px 0 1px;transform:skewX(18deg);width:18px;height:17.12px;border-right-color:transparent;border-bottom-color:transparent}:host(.vega-placement-left) .vega-arrow{transform:rotate(144deg);right:-9px}:host(.vega-placement-left.vega-alignment-start) .vega-arrow{top:8px}:host(.vega-placement-left.vega-alignment-center) .vega-arrow{top:calc(50% - 14px)}:host(.vega-placement-left.vega-alignment-end) .vega-arrow{bottom:12px}:host(.vega-placement-right) .vega-arrow{transform:rotate(324deg);left:-9px}:host(.vega-placement-right.vega-alignment-start) .vega-arrow{top:12px}:host(.vega-placement-right.vega-alignment-center) .vega-arrow{top:calc(50% - 10px)}:host(.vega-placement-right.vega-alignment-end) .vega-arrow{bottom:8px}:host(.vega-placement-top) .vega-arrow{transform:rotate(234deg);bottom:-10.65px}:host(.vega-placement-top.vega-alignment-start) .vega-arrow{left:24px}:host(.vega-placement-top.vega-alignment-center) .vega-arrow{left:calc(50% - 9px)}:host(.vega-placement-top.vega-alignment-end) .vega-arrow{right:18px}:host(.vega-placement-bottom) .vega-arrow{transform:rotate(54deg);top:-10.65px}:host(.vega-placement-bottom.vega-alignment-start) .vega-arrow{left:18px}:host(.vega-placement-bottom.vega-alignment-center) .vega-arrow{left:calc(50% - 14px)}:host(.vega-placement-bottom.vega-alignment-end) .vega-arrow{right:24px}:host(.vega-placement-top){margin-top:-20px}:host(.vega-placement-bottom){margin-top:20px}:host(.vega-placement-right){margin-left:20px}:host(.vega-placement-left){margin-left:-20px}:host(.no-arrow.vega-placement-top){margin-top:-8px}:host(.no-arrow.vega-placement-bottom){margin-top:8px}:host(.no-arrow.vega-placement-right){margin-left:8px}:host(.no-arrow.vega-placement-left){margin-left:-8px}';export{R as vega_popover,S as vega_popover_content_box}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as e,v as t,n as a,w as s,h as n,x as r,y as o,z as u,A as i,D as l,E as c,G as d,H as f,o as m,I as $,B as v,J as p}from"./p-1265732f.js";import{L as b}from"./p-018d77cc.js";import{g as x,c as h}from"./p-3542f8fe.js";import{i as w}from"./p-344ee7cb.js";import{F as g,b as T,c as y,d as k,e as j,T as A}from"./p-3c8b2105.js";import{p as I}from"./p-0c667d6a.js";class C{format(t){return e(t)?Object.keys(t).map((e=>this.formatToken(t[e],"default"!==e?e:void 0))).join(" "):this.formatToken(t)}}const F={top:"pt",bottom:"pb",left:"pl",right:"pr",x:"px",y:"py"},N=new class extends C{formatToken(e,r){const o=t(r)?`${r}:`:"";return a(e)?`${o}v-p-${e}`:s(e)?Object.keys(e).map((t=>`${o}v-${F[t]}-${e[t]}`)).join(" "):(b.warn(`The padding value ${e} is invalid, it must be a value of: `,n),"")}},O={top:"mt",bottom:"mb",left:"ml",right:"mr",x:"mx",y:"my"},R=new class extends C{formatToken(e,r){const o=t(r)?`${r}:`:"";return a(e)?`${o}v-m-${e}`:s(e)?Object.keys(e).map((t=>`${o}v-${O[t]}-${e[t]}`)).join(" "):(b.warn(`The margin value ${e} is invalid, it must be a value of: `,n),"")}},D=new class extends C{formatToken(e,s){const r=t(s)?`${s}:`:"";return a(e)?`${r}v-gap-${e}`:(b.warn(`The gap value ${e} is invalid, it must be a value of: `,n),"")}},z=[1,2,3,4,5,6,7,8,9,10,11,12,"1-auto","2-auto","3-auto","4-auto","5-auto","6-auto","7-auto","8-auto","9-auto","10-auto","11-auto","12-auto"],E=[1,2,3,4,5,6,7,8,9,10,11,12,"1-auto","2-auto","3-auto","4-auto","5-auto","6-auto","7-auto","8-auto","9-auto","10-auto","11-auto","12-auto"],H=new class extends C{formatToken(e,a){const s=t(a)?`${a}:`:"";return r(e)?`${s}v-grid-cols-${e}`:(b.warn(`The column value ${e} is invalid, it must be a value of: `,E),"")}},J=new class extends C{formatToken(e,a){const s=t(a)?`${a}:`:"";return o(e)?`${s}v-grid-rows-${e}`:(b.warn(`The row value ${e} is invalid, it must be a value of: `,z),"")}},W=new class{format(t){const a=x();return"number"!=typeof t&&"string"!=typeof t||isNaN(t)?"string"==typeof t&&w(t)?t:e(t)?(t=h(t))[a]:null:Number(t)}},B=new class{format(t){if(u(t))return t;if(e(t)){const e=x();return(t=h(t))[e]}return null}},G=new class extends C{formatToken(e,a){const s=t(a)?`${a}:`:"";return"string"==typeof e&&"false"===e||!1===e?`${s}v-hidden`:"string"==typeof e&&"true"===e||!0===e?`${s}v-block`:(b.warn(`The display value ${e} is invalid, it must be a boolean`),"")}},L=new class extends C{formatToken(e,a){const s=t(a)?`${a}:`:"";return i(e)?`${s}v-flex-${e}`:(b.warn(`The direction value ${e} is invalid, it must be a value of: `,g),"")}},q=new class extends C{formatToken(e,a){const s=t(a)?`${a}:`:"";return l(e)?`${s}v-items-${e}`:(b.warn(`The flex alignItem value ${e} is invalid, it must be a value of: `,T),"")}},K=new class extends C{formatToken(e,a){const s=t(a)?`${a}:`:"";return c(e)?`${s}v-justify-${this.mapInput(e)}`:(b.warn(`The flex justifyContent value ${e} is invalid, it must be a value of: `,y),"")}mapInput(e){switch(e){case"start":return"start";case"center":return"center";case"end":return"end";case"space-around":return"around";case"space-between":return"between";case"space-evenly":return"evenly"}}},M=new class extends C{formatToken(e,a){const s=t(a)?`${a}:`:"";return d(e)?`${s}v-flex-${e}`:(b.warn(`The flex flexWrap value ${e} is invalid, it must be a value of: `,k),"")}},P=new class{format(t){const a=x();return e(t)?(t=h(t))[a]:t}},Q=new class extends C{formatToken(e,a){const s=t(a)?`${a}:`:"";return f(e)?"none"==e?`${s}v-hidden`:`${s}v-${e}`:(b.warn(`The box display value ${e} is invalid, it must be a value of: `,j),"")}},S=new class{format(t){const a=x();return e(t)?(t=h(t),I(t[a])):I(t)}},U={top:"t",right:"r",bottom:"b",left:"l","top-left":"tl","top-right":"tr","bottom-left":"bl","bottom-right":"br"},V=new class extends C{formatToken(e,a){const s=t(a)?`${a}:`:"";return m(e)?`${s}v-${this.transformRoundedNoneAndFill(e)}`:$(e)?Object.keys(e).map((t=>`${s}v-rounded-${U[t]}-${this.transformRoundedNoneAndFill(e[t]).replace("rounded-","")}`)).join(" "):(b.warn(`The border radius value ${e} is invalid, it must be a value of: `,v),"")}transformRoundedNoneAndFill(e){return e.replace("rounded-none","rounded-0").replace("rounded-full","rounded-9999")}},X=new class extends C{formatToken(e,a){const s=t(a)?`${a}:`:"";return p(e)?`${s}v-text-${e}`:(b.warn(`The text align value ${e} is invalid, it must be a value of: `,A),"")}},Y=new class{format(e,t){switch(t){case"padding":return N.format(e);case"margin":return R.format(e);case"gap":return D.format(e);case"gridColumn":return H.format(e);case"gridRow":return J.format(e);case"size":return W.format(e);case"translocation":return B.format(e);case"display":return G.format(e);case"flexDirection":return L.format(e);case"flexAlignItem":return q.format(e);case"flexJustifyContent":return K.format(e);case"flexWrap":return M.format(e);case"boxDisplay":return Q.format(e);case"widthAndHeight":return S.format(e);case"corners":return V.format(e);case"textAlign":return X.format(e);default:throw new Error(`Invalid flag ${t} passed into ResponsiveFormatFacade`)}}formatCustom(e){return P.format(e)}};export{Y as R}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as i,g as r}from"./p-9777b1c1.js";import{g as o,I as s}from"./p-16493e5b.js";import{h as v}from"./p-1265732f.js";import{s as a}from"./p-b81bd0bb.js";import{i as n}from"./p-9e38810c.js";import{a as h}from"./p-320642bd.js";import{V as c}from"./p-9d426517.js";import{L as l,I as x}from"./p-018d77cc.js";import{V as p,I as d}from"./p-5cad29f5.js";import"./p-3542f8fe.js";import"./p-3c8b2105.js";import"./p-3a0a4d15.js";import"./p-c59042c0.js";import"./p-bb761f8f.js";import"./p-344ee7cb.js";import"./p-0c667d6a.js";import"./p-6bdc4407.js";var g=function(t,e,i,r){var o,s=arguments.length,v=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)v=Reflect.decorate(t,e,i,r);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(v=(s<3?o(v):s>3?o(e,i,v):o(e,i))||v);return s>3&&v&&Object.defineProperty(e,i,v),v};const b=class{constructor(e){t(this,e),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new p,this.size="size-16",this.cloneFAIconStyles=()=>{if(this.isThirdPartyIcon(this.icon)){const t=this.getIconStyleHTML();t&&this.appendStyles(t);let e=0;const i=window.setInterval((()=>{if(!(e<10))return l.warn("[Vega] Loading Font Awesome timeout.",this.icon),void clearInterval(i);{e++;const t=this.getIconStyleHTML();if(t)return this.appendStyles(t),void clearInterval(i)}}),300)}}}watchIcon(){this.cloneFAIconStyles()}componentWillLoad(){this.cloneFAIconStyles()}render(){const t=s.findIndex((t=>t===this.icon));if(c.hasIcon(this.icon)){const{icon:t,autoSize:e}=c.getIcon(this.icon);return this.renderForVegaIconToken(t,e?null:this.size,e)}return t>-1?this.renderForVegaIconToken(o(this.icon),this.size):this.renderForThirdPartyIcon()}isThirdPartyIcon(t){return!c.hasIcon(t)&&!s.find((e=>e===t))}renderForVegaIconToken(t,r,o=!1){const s=r?this.formatAndValidSize(this.size):null;return a(e(i,{class:h([s,this.color&&n(this.color),o&&"vega-auto-size"]),innerHTML:t},e("slot",null)),this.host)}renderForThirdPartyIcon(){return a(e(i,{class:h([this.color&&n(this.color)]),style:this.formatThirdPartyIconSize(this.size)},e("i",{part:"icon",class:this.icon})),this.host)}formatAndValidSize(t){return`v-w-${t} v-h-${t}`}formatThirdPartyIconSize(t){return{"font-size":`${v[t]}px`}}appendStyles(t){var e;if(t){const i=null!==(e=this.host.shadowRoot.querySelector("#fa-icon-styles"))&&void 0!==e?e:document.createElement("style");i.id="fa-icon-styles",i.innerHTML=t,this.host.shadowRoot.appendChild(i)}}getIconStyleHTML(){var t;if(b.iconStyleCache.has(this.icon))return b.iconStyleCache.get(this.icon);{const e=document.createElement("i");e.className=this.icon,e.style.display="none",document.body.appendChild(e);const i=getComputedStyle(e);if(null===(t=i.fontFamily)||void 0===t?void 0:t.includes("Font Awesome")){const t=getComputedStyle(e,"::before"),r=getComputedStyle(e,"::after"),o=`\n\t\t\t\ti {\n\t\t\t\t\tfont-weight: ${i.fontWeight};\n\t\t\t\t\tfont-family: ${i.fontFamily};\n\t\t\t\t\tfont-style: ${i.fontStyle};\n\t\t\t\t\tposition: ${i.position};\n\t\t\t\t\tletter-spacing: ${i.letterSpacing};\n\t\t\t\t}\n\t\t\t\ti::before {\n\t\t\t\t\tcontent: ${t.content};\n\t\t\t\t\tposition: ${t.position};\n\t\t\t\t\topacity: ${t.opacity};\n\t\t\t\t}\n\t\t\t\ti::after {\n\t\t\t\t\tcontent: ${r.content};\n\t\t\t\t\tposition: ${r.position};\n\t\t\t\t\topacity: ${r.opacity};\n\t\t\t\t}\n\t\t\t`.replace(/[\n\t]/gi,"");return b.iconStyleCache.set(this.icon,o),document.body.removeChild(e),o}return document.body.removeChild(e),null}}get host(){return r(this)}static get watchers(){return{icon:["watchIcon"]}}};b.iconStyleCache=new Map,g([d()],b.prototype,"globalSlimmers",void 0),g([x()],b.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),b.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-w-0),.v-w-0{width:0px}:host(.v-w-size-0),.v-w-size-0{width:0px}:host(.v-w-size-4),.v-w-size-4{width:4px}:host(.v-w-size-8),.v-w-size-8{width:8px}:host(.v-w-size-12),.v-w-size-12{width:12px}:host(.v-w-size-16),.v-w-size-16{width:16px}:host(.v-w-size-20),.v-w-size-20{width:20px}:host(.v-w-size-24),.v-w-size-24{width:24px}:host(.v-w-size-32),.v-w-size-32{width:32px}:host(.v-w-size-40),.v-w-size-40{width:40px}:host(.v-w-size-48),.v-w-size-48{width:48px}:host(.v-w-size-64),.v-w-size-64{width:64px}:host(.v-w-size-72),.v-w-size-72{width:72px}:host(.v-w-size-80),.v-w-size-80{width:80px}:host(.v-w-size-112),.v-w-size-112{width:112px}:host(.v-w-size-2),.v-w-size-2{width:2px}:host(.v-h-0),.v-h-0{height:0px}:host(.v-h-size-0),.v-h-size-0{height:0px}:host(.v-h-size-4),.v-h-size-4{height:4px}:host(.v-h-size-8),.v-h-size-8{height:8px}:host(.v-h-size-12),.v-h-size-12{height:12px}:host(.v-h-size-16),.v-h-size-16{height:16px}:host(.v-h-size-20),.v-h-size-20{height:20px}:host(.v-h-size-24),.v-h-size-24{height:24px}:host(.v-h-size-32),.v-h-size-32{height:32px}:host(.v-h-size-40),.v-h-size-40{height:40px}:host(.v-h-size-48),.v-h-size-48{height:48px}:host(.v-h-size-64),.v-h-size-64{height:64px}:host(.v-h-size-72),.v-h-size-72{height:72px}:host(.v-h-size-80),.v-h-size-80{height:80px}:host(.v-h-size-112),.v-h-size-112{height:112px}:host(.v-h-size-2),.v-h-size-2{height:2px}:host{display:inline-flex;user-select:none}i{line-height:1}:host(:not(.vega-auto-size)) ::slotted(svg){width:100%;height:100%}";export{b as vega_icon}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,H as e,g as a}from"./p-9777b1c1.js";import{c as r}from"./p-86194314.js";import{s as o}from"./p-b81bd0bb.js";import{r as n,e as h}from"./p-ecfa7534.js";import{R as c}from"./p-bb761f8f.js";import{I as d}from"./p-018d77cc.js";import{V as l,I as p}from"./p-5cad29f5.js";import{P as u}from"./p-cb13b4e6.js";import{c as v}from"./p-16608c5a.js";import{f as m}from"./p-f1d8fd1c.js";import{c as g}from"./p-58e79f0e.js";import"./p-1265732f.js";import"./p-3542f8fe.js";import"./p-3c8b2105.js";import"./p-3a0a4d15.js";import"./p-c59042c0.js";import"./p-344ee7cb.js";import"./p-0c667d6a.js";import"./p-d3f1d3dd.js";import"./p-bf95b189.js";import"./p-0fd9f03f.js";import"./p-aae8855d.js";import"./p-47a4c625.js";class b{constructor(){this.queue=[]}async enqueue(t){const s=0===this.queue.length;this.queue.push(t),s&&await this.runTask()}async runTask(){const t=this.queue[0];await t.run(),this.queue.shift(),this.queue.length>0&&await this.runTask()}}var f;!function(t){t.RIGHT="TOUCH_DIR_RIGHT",t.LEFT="TOUCH_DIR_LEFT",t.UP="TOUCH_DIR_UP",t.DOWN="TOUCH_DIR_DOWN"}(f||(f={}));class y{constructor(t){this.touchStart=this.onTouchStart.bind(this),this.touchMove=this.onTouchMove.bind(this),this.touchEnd=this.onTouchEnd.bind(this),this.touchableParams=t,this.attachListeners()}static init(t){return new y(t)}static getTouchDirectionAndDistance(t,s,i,e){const a=i-t,r=e-s;return Math.abs(a)>Math.abs(r)?{direction:a>0?f.RIGHT:f.LEFT,distance:Math.abs(a)}:{direction:r>0?f.UP:f.DOWN,distance:Math.abs(r)}}static getTouchEventCoordinates(t){return{x:t.changedTouches[0].screenX,y:t.changedTouches[0].screenY}}destroy(){this.touchableParams.touchable.removeEventListener("touchstart",this.touchStart),this.touchableParams.touchable.removeEventListener("touchmove",this.touchMove),this.touchableParams.touchable.removeEventListener("touchend",this.touchEnd)}attachListeners(){this.touchableParams.touchable.addEventListener("touchstart",this.touchStart),this.touchableParams.touchable.addEventListener("touchmove",this.touchMove),this.touchableParams.touchable.addEventListener("touchend",this.touchEnd)}onTouchStart(t){var s,i;this.touchStartState=y.getTouchEventCoordinates(t),null===(i=(s=this.touchableParams).onTouchStart)||void 0===i||i.call(s,this.touchStartState.x,this.touchStartState.y)}onTouchMove(t){var s,i;const{x:e,y:a}=y.getTouchEventCoordinates(t),{direction:r,distance:o}=y.getTouchDirectionAndDistance(this.touchStartState.x,this.touchStartState.y,e,a);null===(i=(s=this.touchableParams).onTouchMove)||void 0===i||i.call(s,r,o)}onTouchEnd(t){var s,i;const{x:e,y:a}=y.getTouchEventCoordinates(t),{direction:r}=y.getTouchDirectionAndDistance(this.touchStartState.x,this.touchStartState.y,e,a);null===(i=(s=this.touchableParams).onTouchEnd)||void 0===i||i.call(s,r),this.resetStartState()}resetStartState(){this.touchStartState={x:0,y:0}}}const w=[{payloadKey:"PER_PAGE_IS_ONE",payloadDescription:"@deprecated Specifies the number of elements displayed per page in the carousel.",payloadValue:t=>1===t.perPage},{payloadKey:"PER_PAGE_IS_NOT_ONE",payloadDescription:"@deprecated Specifies the number of elements displayed per page in the carousel.",payloadValue:t=>1!==t.perPage}];var P=function(t,s,i,e){var a,r=arguments.length,o=r<3?s:null===e?e=Object.getOwnPropertyDescriptor(s,i):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,s,i,e);else for(var n=t.length-1;n>=0;n--)(a=t[n])&&(o=(r<3?a(o):r>3?a(s,i,o):a(s,i))||o);return r>3&&o&&Object.defineProperty(s,i,o),o};const j=class{constructor(i){t(this,i),this.vegaPageUpdate=s(this,"vegaPageUpdate",7),this.pageUpdate=s(this,"pageUpdate",7),this.globalSlimmers={},this.vegaComponentUsageRuntimeMetricsSlimmer=new l(w),this.pageResizeObserverSlimmer=new u({callback:()=>{this.getCarouselItemsPerPage()!==this.currentItemsPerPage&&this.updatePageLayout()}}),this.pageUpdateEventEmitter=v(j,m),this.deprecatedPropertySlimmer=g(j,"itemsPerPage","perPage",1),this.carouselContentElements=[],this.slideTaskQueue=new b,this.currentItemsPerPage=1,this.page=1,this.perPage=1,this.itemsPerPage=1,this.showSlider=!0,this.spacing="size-16",this.canSwipe=!0,this.onClickIndicators=async t=>{const s=Number(t.currentTarget.dataset.page);await this.goToPage(s)},this.getTotalPage=()=>Math.ceil(this.carouselContentElements.length/this.currentItemsPerPage),this.updatePageLayout=()=>{this.currentItemsPerPage=this.getCarouselItemsPerPage(),this.totalPages=this.getTotalPage(),this.page=1,this.wrapChildContentAsCarouselItem()},this.initMutationObserver=()=>{this.mutationObserver=new MutationObserver((async()=>{await this.updateContentByObserverSlotChange()})),this.mutationObserver.observe(this.host,{childList:!0})},this.initTouchEvent=()=>{this.touchListener=y.init({touchable:this.listContainer,onTouchEnd:async t=>{const s=this.page+(t===f.RIGHT?-1:t===f.LEFT?1:0);await this.goToPage(s)}})}}watchPage(){this.pageUpdateEventEmitter.emit(this.page)}watchPerPage(){this.updatePageLayout()}watchItemsPerPage(){this.updatePageLayout()}onSpacingPropsChange(){this.host.querySelectorAll("vega-grid").forEach((t=>{t.gap=this.spacing}))}async disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect(),this.touchListener&&this.touchListener.destroy()}componentDidLoad(){this.carouselContentElements=Array.from(this.host.children),this.updatePageLayout(),this.initMutationObserver(),this.initTouchEvent()}async nextPage(){const t=this.page<this.totalPages?this.page+1:this.page;await this.goToPage(t)}async prevPage(){const t=this.page>1?this.page-1:this.page;await this.goToPage(t)}async goToPage(t){await this.goToPageInternal(t)}render(){return o(i(e,null,i("div",{class:{"carousel-inner":!0,"carousel-stop-swipe":!this.canSwipe},ref:t=>this.listContainer=t},i("slot",null)),this.renderIndicatorDom()),this.host)}async goToPageInternal(t,s=!0){t>=1&&t<=this.totalPages&&t!==this.page&&(this.page=t,await this.slideTaskQueue.enqueue({run:()=>this.doSlide(t,s)}))}renderIndicatorDom(){return this.showSlider&&i("div",{class:"vega-carousel-indicators-container"},new Array(this.totalPages).fill("").map(((t,s)=>i("div",{key:s,class:{"vega-carousel-indicator-active":s+1===this.page},"data-page":s+1,role:"button","aria-label":"No label defined",tabIndex:0,onKeyDown:r(),onClick:this.onClickIndicators}))))}async updateContentByObserverSlotChange(){const t=this.page,s=Array.from(this.host.children).filter((t=>!t.classList.contains("carousel-item"))),i=Array.from(this.host.querySelectorAll(".carousel-item vega-grid > div > *"));(i.length!==this.carouselContentElements.length||s.length>0)&&(this.carouselContentElements=i.concat(s),this.updatePageLayout()),await this.goToPageInternal(t,!1)}wrapChildContentAsCarouselItem(){const t=[],s=this.carouselContentElements;for(let i=0;i<this.totalPages;i++){const e=document.createElement("vega-grid");e.setAttribute("gap",this.spacing),e.setAttribute("column",this.currentItemsPerPage.toString()),e.setAttribute("row","1");for(let t=i*this.currentItemsPerPage;t<s.length&&t<this.currentItemsPerPage*(i+1);t++){const i=document.createElement("div");i.appendChild(s[t]),e.appendChild(i)}const a=document.createElement("div");a.classList.add("carousel-item"),0===i&&a.classList.add("active"),a.appendChild(e),t.push(a)}this.host.replaceChildren(...t)}doSlide(t,s){return new Promise(((i,e)=>{const a=this.host.querySelector(".active"),r=t-1>Array.from(this.host.children).indexOf(a),o=this.host.children[t-1],c=r?"carousel-item-start":"carousel-item-end",d=r?"carousel-item-next":"carousel-item-prev";a&&o?s?(o.classList.add(d),n(o),o.classList.add(c),a.classList.add(c),h((()=>{o.classList.remove(c,d),a.classList.remove("active",c),o.classList.add("active"),i()}),a,600)):(a.classList.remove("active"),n(o),o.classList.add("active"),i()):e("Cannot find active and target item in carousel list")}))}getCarouselItemsPerPage(){const t=c.formatCustom(this.deprecatedPropertySlimmer.getValue());return t?Math.max(1,Math.min(4,t,this.carouselContentElements.length)):1}get host(){return a(this)}static get watchers(){return{page:["watchPage"],perPage:["watchPerPage"],itemsPerPage:["watchItemsPerPage"],spacing:["onSpacingPropsChange"]}}};P([p()],j.prototype,"globalSlimmers",void 0),P([d()],j.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),P([d()],j.prototype,"pageResizeObserverSlimmer",void 0),P([d()],j.prototype,"pageUpdateEventEmitter",void 0),P([d()],j.prototype,"deprecatedPropertySlimmer",void 0),j.style=":host{display:block}:host .vega-carousel-indicators-container{display:flex;justify-content:center;align-items:center;margin-top:24px}:host .vega-carousel-indicators-container>div{border-radius:9999px;width:16px;height:16px;border-width:2px;border-style:solid;margin-right:24px;cursor:pointer;border:2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1))}:host .vega-carousel-indicators-container>div:focus{border:2px solid rgba(var(--v-border-secondary-btn-hover, 4, 112, 236, 1));background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1));box-shadow:0 0 0 4px rgba(var(--v-ring-action-focus, 19, 98, 226, 0.25))}:host .vega-carousel-indicators-container>div:hover{border:2px solid rgba(var(--v-border-secondary-btn-hover, 4, 112, 236, 1));background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1))}:host .vega-carousel-indicators-container>div.vega-carousel-indicator-active{background-color:rgba(var(--v-bg-action, 19, 98, 226, 1))}:host .vega-carousel-indicators-container>div.vega-carousel-indicator-active:hover{border:2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1))}:host .vega-carousel-indicators-container>div:last-child{margin-right:0px}:host .carousel-inner{position:relative;width:100%;overflow:hidden}:host .carousel-inner.carousel-stop-swipe{pointer-events:none}:host ::slotted(.carousel-item){width:100%;position:relative;display:none;float:left;transition:transform 0.6s ease;margin-right:-100%}:host ::slotted(.carousel-item.active),:host ::slotted(.carousel-item-next),:host ::slotted(.carousel-item-prev){display:block}:host ::slotted(.carousel-item-next:not(.carousel-item-start)),:host ::slotted(.active.carousel-item-end){transform:translateX(100%)}:host ::slotted(.carousel-item-prev:not(.carousel-item-end)),:host ::slotted(.active.carousel-item-start){transform:translateX(-100%)}";export{j as vega_carousel}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as r,h as a,H as e,g as o}from"./p-9777b1c1.js";import{s as i}from"./p-b81bd0bb.js";import{i as n}from"./p-9e38810c.js";import{C as c}from"./p-bf95b189.js";import{F as v,a as s}from"./p-2fa3841b.js";import{I as l}from"./p-018d77cc.js";import{V as b,I as d}from"./p-5cad29f5.js";import{c as g}from"./p-16608c5a.js";import{a as x}from"./p-f1d8fd1c.js";import{C as p}from"./p-fda33444.js";import"./p-1265732f.js";import"./p-3542f8fe.js";import"./p-3c8b2105.js";import"./p-3a0a4d15.js";import"./p-c59042c0.js";import"./p-bb761f8f.js";import"./p-344ee7cb.js";import"./p-0c667d6a.js";import"./p-6bdc4407.js";import"./p-d3f1d3dd.js";import"./p-0fd9f03f.js";import"./p-aae8855d.js";const h=[{payloadKey:"VARIANT_IS_PRIMARY",payloadDescription:"The circular button is rendered with the bg-action background color, which typically signifies a primary or important action",payloadValue:t=>"primary"===t.variant},{payloadKey:"VARIANT_IS_SECONDARY",payloadDescription:"The circular button is rendered with a transparent background and an action border color. This variant is often used for secondary or less prominent actions",payloadValue:t=>"secondary"===t.variant},{payloadKey:"VARIANT_IS_ICON_ONLY",payloadDescription:"The circular button is rendered with an icon displayed in the default state, and the circle background appears when hovering over the button",payloadValue:t=>"icon-only"===t.variant}];var u=function(t,r,a,e){var o,i=arguments.length,n=i<3?r:null===e?e=Object.getOwnPropertyDescriptor(r,a):e;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,r,a,e);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(n=(i<3?o(n):i>3?o(r,a,n):o(r,a))||n);return i>3&&n&&Object.defineProperty(r,a,n),n};const y=class{constructor(a){t(this,a),this.vegaClick=r(this,"vegaClick",7),this.click=r(this,"click",7),this.globalSlimmers={},this.clickEventEmitter=g(y,x),this.eventPrevent=new p([x],(()=>this.host),{useCapture:!0,customPreventHandle:t=>{this.disabled&&t.stopImmediatePropagation()}}),this.vegaComponentUsageRuntimeMetricsSlimmer=new b(h),this.size="default",this.variant="primary",this.disabled=!1,this.danger=!1,this.type="button",this.iconColor="text-primary",this.showTooltip=!0,this.handleClick=t=>{this.disabled?t.preventDefault():(["submit","reset"].includes(this.type)&&c.notify("submit"===this.type?v:s,{host:this.host}),this.clickEventEmitter.emit(void 0,t))}}componentWillLoad(){this.host.innerHTML=""}render(){var t;return i(a(e,null,a("vega-tooltip",{text:this.label,trigger:this.label&&this.showTooltip&&!this.disabled?"hover":"none",disableInteractive:null===(t=this.tooltip)||void 0===t?void 0:t.disableInteractive},this.renderButton())),this.host)}renderButton(){var t;return a("button",{type:this.type,"aria-label":(null===(t=this.label)||void 0===t?void 0:t.trim())||"No label defined",class:{[`vega-button-circle-size-${this.size}`]:!0,[`vega-button-circle-variant-${this.variant}`]:!0,"vega-button-circle-danger":this.danger,"vega-button-circle-disabled":this.disabled,[`${n(this.iconColor)}`]:"icon-only"==this.variant},onClick:this.handleClick,disabled:this.disabled,part:"button"},this.renderContent())}renderContent(){return a("vega-icon",{icon:this.icon,size:this.getIconSize(this.size),part:"icon"})}getIconSize(t){switch(t){case"large":return"size-24";case"extra-small":return"size-12";default:return"size-16"}}get host(){return o(this)}};u([d()],y.prototype,"globalSlimmers",void 0),u([l()],y.prototype,"clickEventEmitter",void 0),u([l()],y.prototype,"eventPrevent",void 0),u([l()],y.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),y.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{display:inline-block}button{border-radius:9999px;cursor:pointer;outline:2px solid transparent;outline-offset:2px;line-height:normal}button:focus{outline:none}.vega-button-circle-size-extra-small{width:24px;height:24px;padding:6px}.vega-button-circle-size-extra-small vega-icon{vertical-align:top}.vega-button-circle-size-small{width:32px;height:32px;padding:8px}.vega-button-circle-size-default{width:40px;height:40px;padding:12px}.vega-button-circle-size-large{width:56px;height:56px;padding:16px}.vega-button-circle-size-extra-small.vega-button-circle-variant-secondary{padding:4px}.vega-button-circle-size-small.vega-button-circle-variant-secondary{padding:6px}.vega-button-circle-size-default.vega-button-circle-variant-secondary{padding:10px}.vega-button-circle-size-large.vega-button-circle-variant-secondary{padding:14px}.vega-button-circle-variant-primary{border-width:0px;background-color:rgba(var(--v-bg-action, 19, 98, 226, 1));color:rgba(var(--v-text-inverted-primary, 252, 252, 252, 1))}.vega-button-circle-variant-primary:hover{background-color:rgba(var(--v-bg-action-hover, 4, 112, 236, 1))}.vega-button-circle-variant-primary:active{background-color:rgba(var(--v-bg-action-active, 29, 65, 195, 1))}.vega-button-circle-variant-primary:focus-visible{background-color:rgba(var(--v-bg-action-focus, 19, 98, 226, 1));box-shadow:0 0 0 4px rgba(var(--v-ring-action-focus, 19, 98, 226, 0.25))}.vega-button-circle-variant-secondary{border:2px solid rgba(var(--v-border-secondary-btn, 19, 98, 226, 1));background-color:rgba(var(--v-bg-action-secondary, 252, 252, 252, 1));color:rgba(var(--v-text-link, 19, 98, 226, 1))}.vega-button-circle-variant-secondary:hover{border:2px solid rgba(var(--v-border-secondary-btn-hover, 4, 112, 236, 1));background-color:rgba(var(--v-bg-action-secondary-hover, 4, 112, 236, 0.1));color:rgba(var(--v-text-link-hover, 4, 112, 236, 1))}.vega-button-circle-variant-secondary:active{border:2px solid rgba(var(--v-border-secondary-btn-active, 29, 65, 195, 1));color:rgba(var(--v-text-link-active, 29, 65, 195, 1));background-color:rgba(var(--v-bg-action-secondary-active, 29, 65, 195, 0.1))}.vega-button-circle-variant-secondary:focus-visible{box-shadow:0 0 0 4px rgba(var(--v-ring-action-focus, 19, 98, 226, 0.25))}.vega-button-circle-variant-icon-only{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));border-width:0px}.vega-button-circle-variant-icon-only:hover{background-color:rgba(var(--v-bg-action-tertiary-hover, 4, 4, 28, 0.05))}.vega-button-circle-variant-icon-only:active{background-color:rgba(var(--v-bg-action-tertiary-active, 4, 4, 28, 0.1))}.vega-button-circle-variant-icon-only:focus-visible{background-color:rgba(var(--v-bg-action-tertiary, 0, 0, 0, 0));box-shadow:0 0 0 4px rgba(var(--v-ring-action-focus, 19, 98, 226, 0.25))}.vega-button-circle-variant-primary.vega-button-circle-danger{background-color:rgba(var(--v-bg-danger, 189, 41, 71, 1))}.vega-button-circle-variant-primary.vega-button-circle-danger:hover{background-color:rgba(var(--v-bg-danger-hover, 233, 71, 104, 1))}.vega-button-circle-variant-primary.vega-button-circle-danger:active{background-color:rgba(var(--v-bg-danger-active, 230, 50, 87, 1))}.vega-button-circle-variant-primary.vega-button-circle-danger:focus-visible{box-shadow:0 0 0 4px rgba(var(--v-ring-action-danger-focus, 230, 50, 87, 0.25))}.vega-button-circle-variant-secondary.vega-button-circle-danger{border:2px solid rgba(var(--v-border-secondary-danger-btn, 230, 50, 87, 1));color:rgba(var(--v-text-danger-link, 230, 50, 87, 1));background-color:rgba(var(--v-bg-action-secondary, 252, 252, 252, 1))}.vega-button-circle-variant-secondary.vega-button-circle-danger:hover{border:2px solid rgba(var(--v-border-secondary-danger-btn-hover, 255, 87, 114, 1));background-color:rgba(var(--v-bg-danger-tertiary-hover, 255, 87, 114, 0.2));color:rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))}.vega-button-circle-variant-secondary.vega-button-circle-danger:active{border:2px solid rgba(var(--v-border-secondary-danger-btn-active, 189, 41, 71, 1));color:rgba(var(--v-text-danger-link-active, 189, 41, 71, 1));background-color:rgba(var(--v-bg-danger-tertiary-active, 189, 41, 71, 0.2))}.vega-button-circle-variant-secondary.vega-button-circle-danger:focus-visible{box-shadow:0 0 0 4px rgba(var(--v-ring-action-danger-focus, 230, 50, 87, 0.25))}.vega-button-circle-variant-icon-only.vega-button-circle-danger{color:rgba(var(--v-text-danger-link, 230, 50, 87, 1))}.vega-button-circle-variant-icon-only.vega-button-circle-danger:hover{background-color:rgba(var(--v-bg-danger-tertiary-hover, 255, 87, 114, 0.2));color:rgba(var(--v-text-danger-link-hover, 233, 71, 104, 1))}.vega-button-circle-variant-icon-only.vega-button-circle-danger:active{background-color:rgba(var(--v-bg-danger-tertiary-active, 189, 41, 71, 0.2));color:rgba(var(--v-text-danger-link-active, 189, 41, 71, 1))}.vega-button-circle-variant-icon-only.vega-button-circle-danger:focus-visible{background-color:rgba(var(--v-bg-danger-tertiary, 0, 0, 0, 0));box-shadow:0 0 0 4px rgba(var(--v-ring-action-danger-focus, 230, 50, 87, 0.25))}.vega-button-circle-disabled{pointer-events:none}.vega-button-circle-disabled:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0))}.vega-button-circle-variant-primary.vega-button-circle-disabled{background-color:rgba(var(--v-bg-disabled, 176, 180, 181, 1))}.vega-button-circle-variant-secondary.vega-button-circle-disabled{background-color:rgba(var(--v-bg-action-secondary, 252, 252, 252, 1));color:rgba(var(--v-text-disabled, 176, 180, 181, 1));border:2px solid rgba(var(--v-border-secondary-btn-disabled, 176, 180, 181, 1))}.vega-button-circle-variant-icon-only.vega-button-circle-disabled{background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));color:rgba(var(--v-text-disabled, 176, 180, 181, 1));border-width:0px}.vega-button-circle-disabled:focus{box-shadow:unset !important}";export{y as vega_button_circle}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e,f as t,F as i,H as o,r as a,c as l,g as s}from"./p-9777b1c1.js";import{a as r,V as n,L as c,M as d,I as h}from"./p-018d77cc.js";import{m as p,s as b}from"./p-6bd5c49b.js";import{V as v,I as u}from"./p-5cad29f5.js";import{g as f}from"./p-47a4c625.js";import{C as w}from"./p-bf95b189.js";import{j as g,k as m,l as y,m as x}from"./p-2fa3841b.js";import{O as R,D as S}from"./p-0fd9f03f.js";import{f as C,a as k}from"./p-320642bd.js";import{a as j,d as E,y as O,C as T,D,E as A}from"./p-f1d8fd1c.js";import{P as L,r as M}from"./p-1265732f.js";import{R as N}from"./p-bb761f8f.js";import{s as K}from"./p-b81bd0bb.js";import{g as W}from"./p-469bc36e.js";import{g as z,B as _}from"./p-3542f8fe.js";import{M as P}from"./p-1ced3ae5.js";import{T as V}from"./p-56681feb.js";import{P as B}from"./p-cb13b4e6.js";import{c as $,S as I}from"./p-a9c3e9fd.js";import{C as G}from"./p-fda33444.js";import{c as X}from"./p-16608c5a.js";import{I as F}from"./p-8a57f4b0.js";import{F as H}from"./p-f2118771.js";import{Z as U}from"./p-abf5b8f7.js";import{c as q}from"./p-86194314.js";import{V as Y}from"./p-4e5c06ae.js";import{c as Z,a as J}from"./p-faea1620.js";import"./p-3c8b2105.js";import"./p-3a0a4d15.js";import"./p-c59042c0.js";import"./p-344ee7cb.js";import"./p-0c667d6a.js";import"./p-69b28805.js";import"./p-d3f1d3dd.js";import"./p-c47d4933.js";import"./p-aae8855d.js";import"./p-61f18887.js";import"./p-112455b1.js";import"./p-9d426517.js";class Q{constructor(e,t){this.size=0,this.set=new Set,e&&(this.set=e,this.size=e.size),t&&(this.onMutate=t)}onMutate(e){}add(...e){return this.withMutation((t=>{e.forEach((e=>t.add(e)))}))}clear(){this.withMutation((e=>e.clear()))}delete(e){return this.withMutation((t=>{t.delete(e)}))}withMutation(e){const t=new Set(this.set);e(t);const i=new Q(t,this.onMutate);return this.onMutate(i),i}has(e){return this.set.has(e)}toArray(){return[...this.set]}}const ee=["input","input-select","stepper","checkbox","textarea","combo-box","date-picker","time-picker"];var te=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class ie extends n{constructor(){super(...arguments),this.renderTableCellContent=(t,i,o)=>{var a,l;const s=f(i,t.prop),r=this.vegaTableDataSourceController.getRecordKey(i),n=!this.vegaTableDataSourceController.getDataSource().find((e=>this.vegaTableDataSourceController.getRecordKey(e)===r)),d=this.vegaTableEditableController.isEditing(r),h=this.vegaTableEditableController.getRowFormRefMap().get(r);if(d&&h&&t.renderFormItem)return t.renderFormItem(e,t.prop?s:r,i,o,{rowForm:h,isNewRow:n});if(d&&h&&t.editable){const e=null===(a=t.formItemProps)||void 0===a?void 0:a.call(t,h,{record:i,index:o}),r=Object.assign({dataVegaForm:(null==e?void 0:e.dataVegaForm)||t.prop,size:"small",value:s},null===(l=t.formItemProps)||void 0===l?void 0:l.call(t,h,{record:i,index:o}));return this.generateEditComponentByType(t.formItemType,r)}return t.render?t.render(e,t.prop?s:r,i,o):"string"==typeof s||"number"==typeof s?String(s):null==s?"":void c.error(`Column ${t.prop}'s value has a wrong type(${typeof i[t.prop]}) in table cell. Only 'VegaTableNode | string | number' can be rendered in table cell`)},this.generateEditComponentByType=(t="input",i)=>{const o=`vega-${t}`,{dataVegaForm:a}=i,l=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(i[o[a]]=e[o[a]])}return i}(i,["dataVegaForm"]);if(this.isVegaTableEditableFieldType(o))return e(o,Object.assign(Object.assign({},l),{"data-vega-form":a}));c.error(`Type must be one of the form field types. [${ee.join(",")}]`)},this.isVegaTableEditableFieldType=e=>e.toUpperCase().startsWith("VEGA")&&new RegExp(ee.join("|"),"i").test(e)}render(t,i,o){const a=this.vegaTableDataSourceController.getRecordKey(i);return e("vega-table-cell",{key:`${a}_${t.key||t.prop}`,textAlign:t.align,breakpoint:t.breakpoint,overflow:t.overflow},this.renderTableCellContent(t,i,o))}}te([r()],ie.prototype,"rowKey",void 0),te([r()],ie.prototype,"vegaTableDataSourceController",void 0),te([r()],ie.prototype,"vegaTableEditableController",void 0);var oe=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class ae extends n{constructor(){super(...arguments),this.toggleExpandRow=e=>{this.rowExpandable&&this.handleToggleExpandRow(e,!this.isExpanded(e))},this.openExpandRow=e=>{this.rowExpandable&&this.handleToggleExpandRow(e,!0)},this.closeExpandRow=e=>{this.rowExpandable&&this.handleToggleExpandRow(e,!1)},this.closeAllExpandRow=()=>{this.rowExpandable&&this.handleCloseAllExpandRow()},this.isExpanded=e=>this.expandedRowKeySet.has(e),this.handleCloseAllExpandRow=()=>{this.expandedRowKeySet.toArray().forEach((e=>{w.notify(g,{host:this.host,rowKey:e,expanded:!1})})),this.expandedRowKeySet.clear()},this.handleToggleExpandRow=(e,t)=>{t?this.expandedRowKeySet.add(e):this.expandedRowKeySet.delete(e),w.notify(g,{host:this.host,rowKey:e,expanded:t})},this.initMutationObserver=()=>{this.mutationObserver=new MutationObserver((async e=>{this.expandRowSlotGuard(e)&&t(this.host)})),this.mutationObserver.observe(this.host,{childList:!0,subtree:!0})},this.expandRowSlotGuard=e=>{const t=this.vegaTableDataSourceController.getCurrentData().map((e=>`${ae.expandRowSlotNamePrefix}${this.vegaTableDataSourceController.getRecordKey(e)}`)),i=[];for(let o=0;o<e.length;o++)Array.from(e[o].addedNodes).filter((e=>e instanceof HTMLElement&&e.getAttribute("slot"))).forEach((e=>{e.removeAttribute("hidden");const o=e.getAttribute("slot");t.includes(o)?i.push(e):c.warn(`The vega-table expand row slot name '${o}' is not as expected, it must be like: vega-table-expand-row-[rowKey]`)}));return i.length>0}}connectedCallback(){this.initRowExpandObserver()}disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect(),w.unregister(g,this.expandObserver)}componentDidLoad(){this.initMutationObserver()}watchRowExpandable(){this.handleCloseAllExpandRow()}initRowExpandObserver(){this.expandObserver=new R(this.isAcceptableTableRowObserver.bind({host:this.host}),(e=>{e.expanded?this.expandedRowKeySet.add(e.rowKey):this.expandedRowKeySet.delete(e.rowKey)})),w.register(g,this.expandObserver)}isAcceptableTableRowObserver(e){return"VEGA-TABLE-ROW"===e.host.tagName&&this.host===C(e.host,"vega-table")}}ae.expandRowSlotNamePrefix="vega-table-expand-row-",oe([r()],ae.prototype,"host",void 0),oe([r()],ae.prototype,"expandedRowKeySet",void 0),oe([r()],ae.prototype,"rowExpandable",void 0),oe([r()],ae.prototype,"vegaTableDataSourceController",void 0),oe([d("connectedCallback")],ae.prototype,"connectedCallback",null),oe([d("disconnectedCallback")],ae.prototype,"disconnectedCallback",null),oe([d("componentDidLoad")],ae.prototype,"componentDidLoad",null),oe([d("toggleExpandRow")],ae.prototype,"toggleExpandRow",void 0),oe([d("openExpandRow")],ae.prototype,"openExpandRow",void 0),oe([d("closeExpandRow")],ae.prototype,"closeExpandRow",void 0),oe([d("closeAllExpandRow")],ae.prototype,"closeAllExpandRow",void 0),oe([d("watchRowExpandable")],ae.prototype,"watchRowExpandable",null);var le=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class se extends n{constructor(){super(...arguments),this.handleRowSelect=(e,t)=>{const i=this.vegaTableDataSourceController.getRecordKey(t);let o=!1;e?this.selectedRowKeySet.has(i)||(this.selectedRowKeySet.add(i),o=!0):this.selectedRowKeySet.has(i)&&(this.selectedRowKeySet.delete(i),o=!0),o&&this.selectChangeEventEmitter.emit({selected:e,record:t,selectedRows:this.getSelectedRecords()})},this.getRowSelectionType=()=>{if(this.rowSelection)return this.rowSelection.type||"multiple"},this.handleSingleRowSelect=e=>{const t=this.vegaTableDataSourceController.getRecordKey(e);this.isChecked(t)?this.handleRowSelect(!1,e):(this.selectedRowKeySet.clear(),this.handleRowSelect(!0,e))},this.isChecked=e=>this.selectedRowKeySet.has(e),this.handleSelectAll=e=>{if(e){const e=this.vegaTableDataSourceController.getAllRecordKeys();this.selectedRowKeySet.add(...e.filter((e=>!this.selectedRowKeySet.has(e))))}else this.isCheckedAll()&&this.selectedRowKeySet.clear()},this.isCheckedAll=()=>this.selectedRowKeySet.size>0&&this.vegaTableDataSourceController.getCurrentData().every((e=>this.selectedRowKeySet.has(this.vegaTableDataSourceController.getRecordKey(e)))),this.setupRowSelection=e=>{this.rowSelection=Object.assign({hideSelectAll:!1,type:"multiple"},e)},this.getSelectedRecords=()=>this.selectedRowKeySet.toArray().map(this.vegaTableDataSourceController.getRecordByKey).filter(Boolean),this.syncUpSelectedKeySetWithCurrentData=e=>{this.selectedRowKeySet.withMutation((t=>{t.clear(),e.forEach((e=>{const i=this.vegaTableDataSourceController.getRecordKey(e);this.selectedRowKeySet.has(i)&&t.add(i)}))}))}}connectedCallback(){this.initRowSelectionObserver(),this.initRowClickObserver(),this.initRowSelectionAllObserver()}disconnectedCallback(){w.unregister(m,this.rowSelectionObserver),w.unregister(y,this.rowSelectionAllObserver),w.unregister(x,this.rowClickObserver)}componentWillLoad(){this.rowSelection&&this.setupRowSelection(this.rowSelection)}watchRowSelection(e,t){(null==t?void 0:t.type)!==(null==e?void 0:e.type)&&this.clearSelection()}setSelection(e){"single"===this.getRowSelectionType()&&e.splice(1),this.selectedRowKeySet.toArray().forEach((e=>{w.notify(m,{host:this.host,rowKey:e,checked:!1})})),this.selectedRowKeySet.clear(),e.forEach((e=>{this.vegaTableDataSourceController.getRecordByKey(e)&&(this.selectedRowKeySet.add(e),w.notify(m,{host:this.host,rowKey:e,checked:!0}))}))}watchCurrentData(e){this.syncUpSelectedKeySetWithCurrentData(e)}clearSelection(){this.selectedRowKeySet.clear(),w.notify(y,{host:this.host,checked:!1,noneChecked:0===this.selectedRowKeySet.size})}getSelection(){return this.selectedRowKeySet.toArray()}watchSelectedRowKeySet(){this.isSelectedAll=this.isCheckedAll()}watchSelectedAll(){w.notify(y,{host:this.host,checked:this.isCheckedAll(),noneChecked:0===this.selectedRowKeySet.size}),this.selectAllChangeEventEmitter.emit({selected:this.isCheckedAll(),selectedRows:this.getSelectedRecords()})}isAcceptableRowSelectionObserver(e){return"VEGA-TABLE"===e.host.tagName?this.host===e.host:"VEGA-TABLE-ROW"===e.host.tagName?this.host===C(e.host,"vega-table"):void 0}isAcceptableRowSelectionAllObserver(e){return"VEGA-TABLE"===e.host.tagName?this.host===e.host:"VEGA-TABLE-HEAD-ROW"===e.host.tagName?this.host===C(e.host,"vega-table"):void 0}initRowSelectionObserver(){this.rowSelectionObserver=new R(this.isAcceptableRowSelectionObserver.bind(this),(e=>{const{rowKey:t,checked:i}=e,o=this.vegaTableDataSourceController.getRecordByKey(t);this.handleRowSelect(i,o)})),w.register(m,this.rowSelectionObserver)}initRowSelectionAllObserver(){this.rowSelectionAllObserver=new R(this.isAcceptableRowSelectionAllObserver.bind(this),(e=>{this.handleSelectAll(e.checked)})),w.register(y,this.rowSelectionAllObserver)}initRowClickObserver(){this.rowClickObserver=new R(this.isAcceptableRowClickObserver.bind(this),(e=>{if("single"===this.getRowSelectionType()){const t=this.vegaTableDataSourceController.getRecordByKey(e.rowKey);this.handleSingleRowSelect(t)}})),w.register(x,this.rowClickObserver)}isAcceptableRowClickObserver(e){return"VEGA-TABLE-ROW"===e.host.tagName&&this.host===C(e.host,"vega-table")}}le([r()],se.prototype,"host",void 0),le([r({writable:!0})],se.prototype,"isSelectedAll",void 0),le([r()],se.prototype,"selectedRowKeySet",void 0),le([r({writable:!0})],se.prototype,"rowSelection",void 0),le([r()],se.prototype,"rowKey",void 0),le([r()],se.prototype,"selectChangeEventEmitter",void 0),le([r()],se.prototype,"selectAllChangeEventEmitter",void 0),le([r()],se.prototype,"vegaTableDataSourceController",void 0),le([d("connectedCallback")],se.prototype,"connectedCallback",null),le([d("disconnectedCallback")],se.prototype,"disconnectedCallback",null),le([d("componentWillLoad")],se.prototype,"componentWillLoad",null),le([d("watchRowSelection")],se.prototype,"watchRowSelection",null),le([d("setSelection")],se.prototype,"setSelection",null),le([d("watchCurrentData")],se.prototype,"watchCurrentData",null),le([d("clearSelection")],se.prototype,"clearSelection",null),le([d("getSelection")],se.prototype,"getSelection",null),le([d("watchSelectedRowKeySet")],se.prototype,"watchSelectedRowKeySet",null),le([d("watchSelectedAll")],se.prototype,"watchSelectedAll",null);var re=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class ne extends n{constructor(){super(...arguments),this.getRecordKey=e=>null!=e[this.rowKey]?String(e[this.rowKey]):"",this.getRecordByKey=e=>this.currentData.find((t=>this.getRecordKey(t)===e)),this.setCurrentData=e=>{this.currentData=this.tableDataValidation(e)?e:[]}}componentWillLoad(){this.vegaTableSortController.syncSortOrder(),this.syncCurrentData()}watchSortersMap(){this.syncCurrentData()}watchDataSource(){this.syncCurrentData()}getAllRecordKeys(){return this.currentData.map(this.getRecordKey)}getDataSource(){return this.dataSource}setDataSource(e){this.dataSource=e}getCurrentData(){return this.currentData}isCurrentDataEmpty(){return 0===this.currentData.length}tableDataValidation(e){return!e.some((e=>!this.getRecordKey(e)))||(c.error('Each item in dataSource should have a unique "key" prop.'," Otherwise, you should specify the primary key of dataSource item via rowKey."," For more details, please refer to: https://heartlandpayments.github.io/Vega/?path=/docs/components-table-v2--basic-table#rowkey"),!1)}syncCurrentData(){if(this.isTemplateRenderMode)return;const e=this.sortersMap.size>0?this.columns.filter((e=>e.sorter&&"event"!==e.sorter&&this.sortersMap.has(e.prop))):[];if(e.length>0){const t=e[e.length-1].prop,i=this.sortersMap.get(t).order;this.setCurrentData(this.vegaTableSortController.sortData(this.dataSource,t,i))}else this.setCurrentData(this.dataSource)}}re([r()],ne.prototype,"rowKey",void 0),re([r({writable:!0})],ne.prototype,"currentData",void 0),re([r({writable:!0})],ne.prototype,"dataSource",void 0),re([r()],ne.prototype,"columns",void 0),re([r()],ne.prototype,"sortersMap",void 0),re([r()],ne.prototype,"vegaTableSortController",void 0),re([r()],ne.prototype,"vegaTableRenderer",void 0),re([r()],ne.prototype,"isTemplateRenderMode",void 0),re([d("componentWillLoad")],ne.prototype,"componentWillLoad",null),re([d("watchSortersMap")],ne.prototype,"watchSortersMap",null),re([d("watchDataSource")],ne.prototype,"watchDataSource",null);var ce=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class de extends n{constructor(){super(...arguments),this.renderTableBody=t=>e("vega-table-body",null,this.vegaTableDataSourceController.getCurrentData().map(((o,a)=>{const l=this.vegaTableDataSourceController.getRecordKey(o),s=this.vegaTablePaginationController.isRowVisible(a);return e(i,null,this.vegaTableRowRenderer.render({rowKey:l,index:a,record:o,isVisibleInCurrentPage:s},t),this.rowExpandable&&e("vega-table-expand-row",{class:{"v-hidden":!s},key:`vega-table-expanded-row-${l}`,rowKey:l,"data-striped":this.striped&&a%2==1?"striped":void 0},e("slot",{name:`${ae.expandRowSlotNamePrefix}${l}`})))})))}getTableFormRef(){return this.tableFormRef}render(){const t=this.columns.some((e=>e.editable));return t?e("vega-form",{ref:e=>this.tableFormRef=e},this.renderTableBody(t)):this.renderTableBody(!1)}}ce([r()],de.prototype,"striped",void 0),ce([r()],de.prototype,"columns",void 0),ce([r()],de.prototype,"currentBreakpoint",void 0),ce([r()],de.prototype,"rowExpandable",void 0),ce([r()],de.prototype,"rowClickable",void 0),ce([r()],de.prototype,"vegaTableDataSourceController",void 0),ce([r()],de.prototype,"vegaTablePaginationController",void 0),ce([r()],de.prototype,"vegaTableRowSelectionController",void 0),ce([r()],de.prototype,"vegaTableRowRenderer",void 0);var he=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class pe extends n{constructor(){super(...arguments),this.renderHeaderColumnCells=()=>this.columns.map((t=>e("vega-table-head-cell",{key:t.key||t.prop,textAlign:t.align,sorter:t.sorter,sortOrder:t.sortOrder,breakpoint:t.breakpoint,ref:e=>{S.addUniqueObserverToNode(e,j,(e=>{this.vegaTableSortController.handleHeadSortClick(t,e.detail.sortOrder)}))}},t.label)))}render(){var t;return this.showHeader&&e("vega-table-head",null,e("vega-table-head-row",{hideSelectAll:null===(t=this.rowSelection)||void 0===t?void 0:t.hideSelectAll},this.renderHeaderColumnCells()))}}he([r()],pe.prototype,"showHeader",void 0),he([r()],pe.prototype,"columns",void 0),he([r()],pe.prototype,"rowSelection",void 0),he([r()],pe.prototype,"vegaTableSortController",void 0),he([r()],pe.prototype,"vegaTableDataSourceController",void 0);var be=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class ve extends n{constructor(){super(...arguments),this.paginationRefCallback=e=>{S.addUniqueObserverToNode(e,E,this.handlePaginationChange),S.addUniqueObserverToNode(e,O,this.handlePaginationPageSizeChange)},this.handlePaginationChange=e=>{var t,i;this.vegaTablePaginationController.setCurrentPage(e.detail);const o=new CustomEvent("vegaChange",{detail:e.detail});null===(i=(t=this.pagination).vegaChange)||void 0===i||i.call(t,o)},this.handlePaginationPageSizeChange=e=>{var t,i;this.vegaTablePaginationController.setPageSize(e.detail);const o=new CustomEvent("vegaPageSizeChange",{detail:e.detail});null===(i=(t=this.pagination).vegaPageSizeChange)||void 0===i||i.call(t,o)},this.getPaginationConfig=()=>{var e;const t=this.pagination,{position:i}=t,o=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(i[o[a]]=e[o[a]])}return i}(t,["position"]);return Object.assign(Object.assign({},o),{position:(null===(e=this.pagination.extensions)||void 0===e?void 0:e.length)>1?void 0:i||"bottom-center",pageSize:this.pageSize})}}render(){if(!this.pagination)return;const{pageSize:t,position:i,extensions:o,pageSizeSelectorOptions:a}=this.getPaginationConfig(),l=["vega-table-pagination-container",i],s=this.vegaTableDataSourceController.getCurrentData().length;return s>0&&e("div",{class:k(l)},e("vega-pagination",{total:s,pageSize:t,current:this.currentPage,extensions:o,pageSizeSelectorOptions:a,ref:this.paginationRefCallback}))}}be([r()],ve.prototype,"pagination",void 0),be([r()],ve.prototype,"pageSize",void 0),be([r()],ve.prototype,"currentPage",void 0),be([r()],ve.prototype,"vegaTablePaginationController",void 0),be([r()],ve.prototype,"vegaTableDataSourceController",void 0);const ue=({scrollConfig:t={},ref:i},o)=>{const{maxHeight:a}=t,l=L(a);return e("div",{class:"vega-table-scrollable-container",style:{maxHeight:"number"==typeof a?`${a}px`:a},ref:i,onScroll:e=>{if(!l)return;const t=e.target;0!==t.scrollTop?t.scrollTop>0&&!t.classList.contains("scrolled")&&t.classList.add("scrolled"):t.classList.remove("scrolled")}},o)};var fe=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class we extends n{constructor(){super(...arguments),this.scrollContainerToTop=()=>{this.tableScrollContainerRef&&(this.tableScrollContainerRef.scrollTop=0)}}watchCurrentPage(){this.scrollContainerToTop()}render(t){return e(ue,{scrollConfig:this.scrollConfig,ref:e=>this.setTableScrollContainerRef(e)},t)}setTableScrollContainerRef(e){this.tableScrollContainerRef=e}}fe([r()],we.prototype,"scrollConfig",void 0),fe([d("watchCurrentPage")],we.prototype,"watchCurrentPage",null);var ge=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class me extends n{constructor(){super(...arguments),this.renderInternalTable=()=>{const t=this.columns.some((e=>e.overflow))||Array.from(this.host.querySelectorAll("vega-table-cell")).some((e=>e.overflow));return e("table",{class:{"v-table-fixed":t}},this.columns.length>0&&[this.vegaTableColGroupRenderer.render(),this.vegaTableHeaderRenderer.render()],this.dataSource.length>0&&this.vegaTableBodyRenderer.render(),this.isTemplateRenderMode&&e("slot",null))},this.renderEmpty=()=>this.vegaTableDataSourceController.isCurrentDataEmpty()&&this.emptyDescription&&e("div",{class:"vega-table-empty-description"},this.emptyDescription)}render(){const t=k([this.rowDivider&&"row-divider",this.columnDivider&&"column-divider",`density-${N.formatCustom(this.density)}`,this.striped&&"striped"]);return K(e(o,{class:t},this.vegaTableScrollContainerRenderer.render(this.renderInternalTable()),this.vegaTablePaginationRenderer.render(),this.renderEmpty()),this.host)}}ge([r()],me.prototype,"host",void 0),ge([r()],me.prototype,"columns",void 0),ge([r()],me.prototype,"emptyDescription",void 0),ge([r()],me.prototype,"rowDivider",void 0),ge([r()],me.prototype,"columnDivider",void 0),ge([r()],me.prototype,"density",void 0),ge([r()],me.prototype,"dataSource",void 0),ge([r()],me.prototype,"striped",void 0),ge([r()],me.prototype,"vegaTableHeaderRenderer",void 0),ge([r()],me.prototype,"vegaTableBodyRenderer",void 0),ge([r()],me.prototype,"vegaTableColGroupRenderer",void 0),ge([r()],me.prototype,"vegaTableScrollContainerRenderer",void 0),ge([r()],me.prototype,"vegaTablePaginationRenderer",void 0),ge([r()],me.prototype,"vegaTableDataSourceController",void 0),ge([r({writable:!0})],me.prototype,"vegaTableChildrenController",void 0),ge([r()],me.prototype,"isTemplateRenderMode",void 0);var ye=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class xe extends n{componentWillLoad(){var e,t;this.currentPage=(null===(e=this.pagination)||void 0===e?void 0:e.current)||1,this.pageSize=(null===(t=this.pagination)||void 0===t?void 0:t.pageSize)||10}watchPagination(){if(this.pagination){const{pageSize:e,current:t}=this.pagination;e>0&&(this.pageSize=e),t>0&&(this.currentPage=t)}}setPageSize(e){this.pageSize=e}setCurrentPage(e){this.currentPage=e}isRowVisible(e){if(!this.pagination)return!0;const t=this.pageSize,i=this.currentPage;return e>=(i-1)*t&&e<i*t}}ye([r()],xe.prototype,"pagination",void 0),ye([r({writable:!0})],xe.prototype,"pageSize",void 0),ye([r({writable:!0})],xe.prototype,"currentPage",void 0),ye([d("componentWillLoad")],xe.prototype,"componentWillLoad",null),ye([d("watchPagination")],xe.prototype,"watchPagination",null);var Re=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class Se extends n{constructor(){super(...arguments),this.rowFormRefMap=new Map}getRowFormRefMap(){return this.rowFormRefMap}async saveAllEditRows(){const e=this.vegaTableDataSourceController.getCurrentData().slice();for(const t of this.editingRows.toArray()){const i=await this.getRowData(t),o=e.findIndex((e=>this.vegaTableDataSourceController.getRecordKey(e)===t));o>-1&&e.splice(o,1,i)}this.vegaTableDataSourceController.setDataSource([...e]),this.stopAllRowEditMode()}stopAllRowEditMode(){this.editingRows.clear()}watchDataSource(e){this.getEditingRowsKey().forEach((t=>{e.find((e=>e.key===t))||this.stopRowEditMode(t)}))}async saveEditRow(e){const t=await this.getRowData(e),i=this.vegaTableDataSourceController.getCurrentData().slice(),o=i.findIndex((t=>this.vegaTableDataSourceController.getRecordKey(t)===e));o>-1&&(i.splice(o,1,t),this.vegaTableDataSourceController.setDataSource([...i])),this.stopRowEditMode(e)}stopRowEditMode(e){this.editingRows.delete(e)}removeRow(e){this.vegaTableDataSourceController.setDataSource(this.vegaTableDataSourceController.getCurrentData().filter((t=>this.vegaTableDataSourceController.getRecordKey(t)!==e)))}startRowEditMode(e){this.editingRows.add(e)}addNewRow(e={}){var t;const i=(null===(t=e[this.rowKey])||void 0===t?void 0:t.toString())||W(),o=Object.assign({},e);return o[this.rowKey]=i,this.vegaTableDataSourceController.setCurrentData([...this.vegaTableDataSourceController.getCurrentData(),o]),this.editingRows.add(i),i}async getRowsData(){const e=await this.vegaTableBodyRenderer.getTableFormRef().getValue();return[...this.vegaTableDataSourceController.getCurrentData().map((t=>{const i=e[`${Se.rowFormKeyPrefix}${this.vegaTableDataSourceController.getRecordKey(t)}`];return Object.assign(Object.assign({},t),i)}))]}getEditingRowsKey(){return this.editingRows.toArray()}getFormRef(e){return e?this.rowFormRefMap.get(e):this.vegaTableBodyRenderer.getTableFormRef()}async getRowData(e){const t=await this.rowFormRefMap.get(e).getValue();return Object.assign(Object.assign({},this.vegaTableDataSourceController.getRecordByKey(e)),t)}isEditing(e){return this.editingRows.has(e)}}Se.rowFormKeyPrefix="vega-table-row-form-",Re([r()],Se.prototype,"editingRows",void 0),Re([r()],Se.prototype,"rowKey",void 0),Re([r()],Se.prototype,"vegaTableDataSourceController",void 0),Re([r()],Se.prototype,"vegaTableBodyRenderer",void 0),Re([d("saveAllEditRows")],Se.prototype,"saveAllEditRows",null),Re([d("stopAllRowEditMode")],Se.prototype,"stopAllRowEditMode",null),Re([d("watchDataSource")],Se.prototype,"watchDataSource",null),Re([d("saveEditRow")],Se.prototype,"saveEditRow",null),Re([d("stopRowEditMode")],Se.prototype,"stopRowEditMode",null),Re([d("removeRow")],Se.prototype,"removeRow",null),Re([d("startRowEditMode")],Se.prototype,"startRowEditMode",null),Re([d("addNewRow")],Se.prototype,"addNewRow",null),Re([d("getRowsData")],Se.prototype,"getRowsData",null),Re([d("getEditingRowsKey")],Se.prototype,"getEditingRowsKey",null),Re([d("getFormRef")],Se.prototype,"getFormRef",null),Re([d("getRowData")],Se.prototype,"getRowData",null);var Ce=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class ke extends n{constructor(){super(...arguments),this.sortData=(e,t,i)=>{const o=this.columns.find((e=>"function"==typeof e.sorter&&e.prop===t)).sorter,a=e.slice();return i?a.sort(((e,t)=>{const a=o(e,t);return"asc"===i?a:-a})):a}}watchColumns(){this.syncSortOrder()}handleHeadSortClick(e,t){this.sortersMap.has(e.prop)&&this.sortersMap.delete(e.prop),t&&this.sortersMap.set(e.prop,{order:t,prop:e.prop}),"event"!==e.sorter&&this.vegaTableDataSourceController.setCurrentData(this.sortData(this.vegaTableDataSourceController.getDataSource(),e.prop,t)),this.changeEventEmitter.emit({sorters:[...this.sortersMap.values()]})}syncSortOrder(){this.columns.filter((e=>L(e.sorter)&&L(e.sortOrder))).forEach((e=>{this.sortersMap.set(e.prop,{order:e.sortOrder,prop:e.prop})}))}}Ce([r({writable:!0})],ke.prototype,"sortersMap",void 0),Ce([r()],ke.prototype,"columns",void 0),Ce([r()],ke.prototype,"changeEventEmitter",void 0),Ce([r()],ke.prototype,"vegaTableDataSourceController",void 0),Ce([d("watchColumns")],ke.prototype,"watchColumns",null);var je=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class Ee extends n{constructor(){super(...arguments),this.getColResponsiveClass=e=>e.breakpoint&&M(e.breakpoint)?`v-hidden ${e.breakpoint}:v-table-column`:""}render(){return e("colgroup",null,e("col",{style:{minWidth:this.paddingX[0],width:this.paddingX[0]}}),"multiple"===this.vegaTableRowSelectionController.getRowSelectionType()&&e("col",{style:{minWidth:"40px",width:"40px"}}),this.columns.map((t=>{const i=this.getColResponsiveClass(t);return e("col",{class:i,style:{width:t.width?t.width:null}})})),this.rowExpandable&&e("col",{style:{minWidth:"40px",width:"40px"}}),e("col",{style:{minWidth:this.paddingX[1],width:this.paddingX[1]}}))}}je([r()],Ee.prototype,"paddingX",void 0),je([r()],Ee.prototype,"columns",void 0),je([r()],Ee.prototype,"rowExpandable",void 0),je([r()],Ee.prototype,"vegaTableRowSelectionController",void 0);var Oe=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class Te extends n{constructor(){super(...arguments),this.currentDataObserver=new P({target:()=>this.host,options:{childList:!0,subtree:!0},mutationFilter:V("VEGA-TABLE-ROW"),callback:()=>{this.syncUpTableCurrentData(),this.syncUpTableHeadRowProps()}}),this.rowStripedObserver=new P({target:()=>this.host,options:{childList:!0,subtree:!0},mutationFilter:V("VEGA-TABLE-ROW","VEGA-TABLE-EXPAND-ROW"),callback:()=>{this.syncRowStriped()}}),this.syncUpTableCurrentData=()=>{if(!this.isTemplateRenderMode)return;const e=Array.from(this.host.querySelectorAll("vega-table-row")).map((e=>({key:e.rowKey})));this.vegaTableDataSourceController.setCurrentData(e)},this.syncRowStriped=()=>{this.host.querySelectorAll("vega-table-row").forEach(((e,t)=>{this.updateRowStriped(e,t)})),this.host.querySelectorAll("vega-table-expand-row").forEach(((e,t)=>{this.updateRowStriped(e,t)}))},this.syncUpTableHeadRowProps=()=>{var e;if(!this.isTemplateRenderMode)return;const t=this.host.querySelector("vega-table-head-row");t&&(t.hideSelectAll=t.hideSelectAll||(null===(e=this.rowSelection)||void 0===e?void 0:e.hideSelectAll))}}connectedCallback(){}disconnectedCallback(){}componentWillLoad(){this.syncUpTableCurrentData(),this.syncUpTableHeadRowProps(),this.syncRowStriped()}componentDidLoad(){}clearSelection(){w.notify(y,{host:this.host,checked:!1,noneChecked:!0})}watchStriped(){this.syncRowStriped()}updateRowStriped(e,t){this.striped&&t%2==1?e.dataset.striped="striped":delete e.dataset.striped}}Oe([r()],Te.prototype,"host",void 0),Oe([r()],Te.prototype,"columns",void 0),Oe([r()],Te.prototype,"dataSource",void 0),Oe([r()],Te.prototype,"currentData",void 0),Oe([r()],Te.prototype,"rowSelection",void 0),Oe([r()],Te.prototype,"striped",void 0),Oe([r()],Te.prototype,"vegaTableDataSourceController",void 0),Oe([r()],Te.prototype,"vegaTableRenderer",void 0),Oe([r()],Te.prototype,"isTemplateRenderMode",void 0),Oe([h()],Te.prototype,"currentDataObserver",void 0),Oe([h()],Te.prototype,"rowStripedObserver",void 0),Oe([d("connectedCallback")],Te.prototype,"connectedCallback",null),Oe([d("disconnectedCallback")],Te.prototype,"disconnectedCallback",null),Oe([d("componentWillLoad")],Te.prototype,"componentWillLoad",null),Oe([d("componentDidLoad")],Te.prototype,"componentDidLoad",null),Oe([d("clearSelection")],Te.prototype,"clearSelection",null),Oe([d("watchStriped")],Te.prototype,"watchStriped",null);var De=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class Ae extends n{constructor(){super(...arguments),this.renderTableRowComponent=t=>{const{rowKey:i,index:o,record:a,isVisibleInCurrentPage:l}=t;return e("vega-table-row",{class:{"v-hidden":!l},key:`vega-table-row-${i}`,rowKey:i,ref:e=>{S.addUniqueObserverToNode(e,j,(()=>{this.rowClickEventEmitter.emit({record:a,index:o})}))},"data-striped":this.striped&&o%2==1?"striped":void 0},this.columns.map((e=>this.vegaTableCellRenderer.render(e,a,o))))}}render(t,i){const{rowKey:o}=t;return i?e("vega-form",{key:`vega-table-row-form-${o}`,"data-vega-form":`${Se.rowFormKeyPrefix}${o}`,ref:e=>this.vegaTableEditableController.getRowFormRefMap().set(o,e)},this.renderTableRowComponent(t)):this.renderTableRowComponent(t)}}De([r()],Ae.prototype,"columns",void 0),De([r()],Ae.prototype,"rowClickEventEmitter",void 0),De([r()],Ae.prototype,"vegaTableEditableController",void 0),De([r()],Ae.prototype,"vegaTableCellRenderer",void 0),De([r()],Ae.prototype,"striped",void 0);var Le=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class Me extends n{constructor(){super(...arguments),this.currentDataObserver=new P({target:()=>this.host,options:{childList:!0,subtree:!0},mutationFilter:V("VEGA-TABLE-ROW"),callback:()=>{this.isTemplateRenderMode=this.checkIsTemplateRenderMode(this.host)}}),this.checkIsTemplateRenderMode=e=>Array.from(e.children).filter((e=>{var t;return!(null===(t=e.getAttribute("slot"))||void 0===t?void 0:t.startsWith("vega-table-expand-row-"))})).length>0}connectedCallback(){}disconnectedCallback(){}componentWillLoad(){this.isTemplateRenderMode=this.checkIsTemplateRenderMode(this.host)}componentDidLoad(){}}Le([r()],Me.prototype,"host",void 0),Le([r({writable:!0})],Me.prototype,"isTemplateRenderMode",void 0),Le([h()],Me.prototype,"currentDataObserver",void 0),Le([d("connectedCallback")],Me.prototype,"connectedCallback",null),Le([d("disconnectedCallback")],Me.prototype,"disconnectedCallback",null),Le([d("componentWillLoad")],Me.prototype,"componentWillLoad",null),Le([d("componentDidLoad")],Me.prototype,"componentDidLoad",null);const Ne=[{payloadKey:"IS_USING_TEMPLATE",payloadDescription:"Contains the data records to be rendered and displayed within the table",payloadValue:e=>0===e.dataSource.length},{payloadKey:"IS_USING_DATA_SOURCE",payloadDescription:"Contains the data records to be rendered and displayed within the table",payloadValue:e=>e.dataSource.length>0}];var Ke=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};const We=class{constructor(e){a(this,e),this.vegaChange=l(this,"vegaChange",7),this.change=l(this,"change",7),this.vegaRowClick=l(this,"vegaRowClick",7),this.rowClick=l(this,"rowClick",7),this.vegaSelectChange=l(this,"vegaSelectChange",7),this.selectChange=l(this,"selectChange",7),this.vegaSelectAllChange=l(this,"vegaSelectAllChange",7),this.selectAllChange=l(this,"selectAllChange",7),this.globalSlimmers={},this.vegaTableRenderModeController=new Me,this.vegaTableRenderer=new me,this.vegaTableHeaderRenderer=new pe,this.vegaTableBodyRenderer=new de,this.vegaTableRowRenderer=new Ae,this.vegaTableCellRenderer=new ie,this.vegaTablePaginationRenderer=new ve,this.vegaTableScrollContainerRenderer=new we,this.vegaTableExpandRowController=new ae,this.vegaTableRowSelectionController=new se,this.vegaTableDataSourceController=new ne,this.vegaTablePaginationController=new xe,this.vegaTableEditableController=new Se,this.vegaTableSortController=new ke,this.vegaTableColGroupRenderer=new Ee,this.vegaTableChildrenController=new Te,this.pageResizeObserverSlimmer=new B,this.rowSelectionNotifySlimmer=$(We,"rowSelection","watchRowSelection"),this.rowExpandableNotifySlimmer=$(We,"rowExpandable","watchRowExpandable"),this.paddingXNotifySlimmer=$(We,"paddingX","watchPaddingX"),this.rowClickableNotifySlimmer=$(We,"rowClickable","watchRowClickable"),this.scrollConfigNotifySlimmer=$(We,"scrollConfig","watchScrollConfig"),this.paginationEventPrevent=new G([E,O],(()=>this.host)),this.changeEventEmitter=X(We,E),this.selectChangeEventEmitter=X(We,T),this.selectAllChangeEventEmitter=X(We,D),this.rowClickEventEmitter=X(We,A),this.rowDividerNotifySlimmer=$(We,"rowDivider","watchRowDivider"),this.columnDividerNotifySlimmer=$(We,"columnDivider","watchColumnDivider"),this.densityNotifySlimmer=$(We,"density","watchDensity"),this.isTemplateRenderModeNotifySlimmer=$(We,"isTemplateRenderMode","watchTemplateRenderMode"),this.currentDataNotifySlimmer=$(We,"currentData","watchCurrentData"),this.vegaComponentUsageRuntimeMetricsSlimmer=new v(Ne),this.selectedRowKeySet=new Q(new Set,(e=>{this.selectedRowKeySet=e})),this.expandedRowKeySet=new Q(new Set,(e=>{this.expandedRowKeySet=e})),this.currentBreakpoint=z(),this.sortersMap=new F(new Map,(e=>{this.sortersMap=e})),this.currentData=[],this.currentPage=1,this.pageSize=10,this.editingRows=new Q(new Set,(e=>{this.editingRows=e})),this.isSelectedAll=!1,this.columns=[],this.dataSource=[],this.rowSelection=null,this.rowExpandable=!1,this.rowClickable=!1,this.rowDivider=!1,this.columnDivider=!1,this.striped=!0,this.density="default",this.paddingX=["8px","8px"],this.showHeader=!0,this.pagination=null,this.emptyDescription="There is no data to display",this.rowKey="key"}watchSelectedRowKeySet(){}watchSortersMap(){}watchCurrentData(e,t){}watchCurrentPage(){}watchSelectedAll(){}watchTemplateRenderMode(){}watchColumns(){}watchDataSource(){}watchRowSelection(){}watchRowExpandable(){}watchRowClickable(){}watchRowDivider(){}watchColumnDivider(){}watchStriped(){}watchDensity(){}watchPaddingX(){}watchPagination(){}watchScrollConfig(){}async openExpandRow(e){}async closeExpandRow(e){}async closeAllExpandRow(){}async toggleExpandRow(e){}async clearSelection(){}async getSelection(){return p()}async setSelection(e){}async startRowEditMode(e){}async stopRowEditMode(e){}async stopAllRowEditMode(){}async getRowData(e){return p(e)}async getRowsData(){return p()}async getFormRef(e){return p(e)}async addNewRow(e={}){return p(e)}async saveEditRow(e){return p(e)}async saveAllEditRows(){}async getEditingRowsKey(){return p()}async removeRow(e){}render(){return b(e("slot",null)),this.vegaTableRenderer.render()}get host(){return s(this)}static get watchers(){return{selectedRowKeySet:["watchSelectedRowKeySet"],sortersMap:["watchSortersMap"],currentData:["watchCurrentData"],currentPage:["watchCurrentPage"],isSelectedAll:["watchSelectedAll"],isTemplateRenderMode:["watchTemplateRenderMode"],columns:["watchColumns"],dataSource:["watchDataSource"],rowSelection:["watchRowSelection"],rowExpandable:["watchRowExpandable"],rowClickable:["watchRowClickable"],rowDivider:["watchRowDivider"],columnDivider:["watchColumnDivider"],striped:["watchStriped"],density:["watchDensity"],paddingX:["watchPaddingX"],pagination:["watchPagination"],scrollConfig:["watchScrollConfig"]}}};Ke([u()],We.prototype,"globalSlimmers",void 0),Ke([h()],We.prototype,"vegaTableRenderModeController",void 0),Ke([h()],We.prototype,"vegaTableRenderer",void 0),Ke([h()],We.prototype,"vegaTableHeaderRenderer",void 0),Ke([h()],We.prototype,"vegaTableBodyRenderer",void 0),Ke([h()],We.prototype,"vegaTableRowRenderer",void 0),Ke([h()],We.prototype,"vegaTableCellRenderer",void 0),Ke([h()],We.prototype,"vegaTablePaginationRenderer",void 0),Ke([h()],We.prototype,"vegaTableScrollContainerRenderer",void 0),Ke([h()],We.prototype,"vegaTableExpandRowController",void 0),Ke([h()],We.prototype,"vegaTableRowSelectionController",void 0),Ke([h()],We.prototype,"vegaTableDataSourceController",void 0),Ke([h()],We.prototype,"vegaTablePaginationController",void 0),Ke([h()],We.prototype,"vegaTableEditableController",void 0),Ke([h()],We.prototype,"vegaTableSortController",void 0),Ke([h()],We.prototype,"vegaTableColGroupRenderer",void 0),Ke([h()],We.prototype,"vegaTableChildrenController",void 0),Ke([h()],We.prototype,"pageResizeObserverSlimmer",void 0),Ke([h()],We.prototype,"rowSelectionNotifySlimmer",void 0),Ke([h()],We.prototype,"rowExpandableNotifySlimmer",void 0),Ke([h()],We.prototype,"paddingXNotifySlimmer",void 0),Ke([h()],We.prototype,"rowClickableNotifySlimmer",void 0),Ke([h()],We.prototype,"scrollConfigNotifySlimmer",void 0),Ke([h()],We.prototype,"paginationEventPrevent",void 0),Ke([h()],We.prototype,"changeEventEmitter",void 0),Ke([h()],We.prototype,"selectChangeEventEmitter",void 0),Ke([h()],We.prototype,"selectAllChangeEventEmitter",void 0),Ke([h()],We.prototype,"rowClickEventEmitter",void 0),Ke([h()],We.prototype,"rowDividerNotifySlimmer",void 0),Ke([h()],We.prototype,"columnDividerNotifySlimmer",void 0),Ke([h()],We.prototype,"densityNotifySlimmer",void 0),Ke([h()],We.prototype,"isTemplateRenderModeNotifySlimmer",void 0),Ke([h()],We.prototype,"currentDataNotifySlimmer",void 0),Ke([h()],We.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),We.style=':host{display:block}table{width:100%;border-spacing:0}.vega-table-empty-description{text-align:center;padding:24px;font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-table-empty-description{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){.vega-table-empty-description{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){.vega-table-empty-description{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}table.v-table-fixed{table-layout:fixed}.vega-table-scrollable-container{overflow:auto}.vega-table-scrollable-container vega-table-head{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.vega-table-scrollable-container.scrolled vega-table-head.fixed-header{box-shadow:0px 4px 0px rgba(0, 0, 0, 0.1);}vega-form{display:contents}*::part(field-error-message){display:none !important}.vega-table-pagination-container{margin-top:24px}.vega-table-pagination-container.bottom-center{display:flex;justify-content:center}.vega-table-pagination-container.bottom-right{display:flex;justify-content:flex-end}.vega-table-pagination-container.bottom-left{display:flex;justify-content:flex-start}col.v-hidden{display:none}@media (min-width: 320px){col.S\\:v-table-column{display:table-column}}@media (min-width: 768px){col.M\\:v-table-column{display:table-column}}@media (min-width: 1024px){col.L\\:v-table-column{display:table-column}}@media (min-width: 1440px){col.XL\\:v-table-column{display:table-column}}';var ze=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};const _e=class{constructor(e){a(this,e),this.globalSlimmers={},this.childChangeEventPrevent=new G([E],(()=>this.host)),this.vegaComponentUsageRuntimeMetricsSlimmer=new v}render(){return K(e(o,null,e("tbody",null,e("slot",null))),this.host)}get host(){return s(this)}};ze([u()],_e.prototype,"globalSlimmers",void 0),ze([h()],_e.prototype,"childChangeEventPrevent",void 0),ze([h()],_e.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),_e.style=":host{display:contents}";const Pe=(e,t)=>e&&M(e)?`v-hidden ${e}:${t}`:"",Ve=e=>{let t;switch(e){case"center":t="v-text-center";break;case"left":t="v-text-left";break;case"right":t="v-text-right";break;default:t=""}return t};class Be extends I{constructor(){super({parent:"vega-table",subStates:[{subStateName:"density",parentStateName:"density"}]})}}!function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);l>3&&s&&Object.defineProperty(t,i,s)}([r({writable:!0})],Be.prototype,"density",void 0);var $e=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};const Ie=class{constructor(e){a(this,e),this.globalSlimmers={},this.vegaTableCellStateController=new Be,this.pageResizeObserverSlimmer=new B,this.vegaComponentUsageRuntimeMetricsSlimmer=new v,this.currentBreakpoint=z(),this.getCellOverflowClass=()=>{switch(this.overflow){case"ellipsis":return"vega-table-cell-ellipsis";case"scroll":return"vega-table-cell-scroll"}}}render(){const t=Pe(this.breakpoint,"v-table-cell"),i=Ve(this.textAlign),a=this.getCellOverflowClass(),l=[i,"vega-table-cell"];return H.isEnabled("VEGA_TABLE.ENABLE_NEW_CELL_BREAK_WORDS_STYLE")||l.push("break-word"),K(e(o,{class:k([`density-${N.formatCustom(this.density)}`,t]),style:{width:this.width}},e("td",{class:k(l),part:"cell"},e("div",{class:a},e("slot",null)))),this.host)}get host(){return s(this)}};$e([u()],Ie.prototype,"globalSlimmers",void 0),$e([h()],Ie.prototype,"vegaTableCellStateController",void 0),$e([h()],Ie.prototype,"pageResizeObserverSlimmer",void 0),$e([h()],Ie.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),Ie.style=':host(.v-hidden){display:none}@media (min-width: 320px){:host(.S\\:v-table-cell){display:table-cell}}@media (min-width: 768px){:host(.M\\:v-table-cell){display:table-cell}}@media (min-width: 1024px){:host(.L\\:v-table-cell){display:table-cell}}@media (min-width: 1440px){:host(.XL\\:v-table-cell){display:table-cell}}:host{display:table-cell;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));color:rgba(var(--v-text-primary, 32, 54, 69, 1));text-align:left;vertical-align:middle}.vega-table-cell{padding:12px;box-sizing:border-box;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;overflow-wrap:break-word}@media screen and (min-width: 768px) and (max-width: 1023px){.vega-table-cell{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-table-cell{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-table-cell{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px}}.vega-table-cell.break-word{word-break:break-word}td{display:block;padding:0px}td.v-text-center{text-align:center}td.v-text-left{text-align:left}td.v-text-right{text-align:right}:host(.density-default) .vega-table-cell{padding:12px}:host(.density-compact) .vega-table-cell{padding:4px}:host(.density-relaxed) .vega-table-cell{padding:16px}.vega-table-cell-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.vega-table-cell-scroll{overflow:auto}';var Ge=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class Xe extends n{render(){return e("tr",{class:{"vega-table-expanded-row":!0,expanded:this.expanded,checked:this.checked},key:`vega-table-expanded-row-${this.rowKey}`,"data-expanded-row-key":this.rowKey},e("td",null),e("td",{colSpan:this.colSpan,key:`${ae.expandRowSlotNamePrefix}${this.rowKey}`,class:"vega-table-expanded-row-slot-container"},e("slot",null)),e("td",null))}}Ge([r()],Xe.prototype,"rowKey",void 0),Ge([r()],Xe.prototype,"expanded",void 0),Ge([r()],Xe.prototype,"checked",void 0),Ge([r()],Xe.prototype,"colSpan",void 0);var Fe=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class He extends n{connectedCallback(){this.expandObserver=new R(this.isAcceptableTableExpandRowObserver.bind(this),(e=>{e.rowKey===this.rowKey&&(this.expanded=e.expanded)})),w.register(g,this.expandObserver)}disconnectedCallback(){w.unregister(g,this.expandObserver)}isAcceptableTableExpandRowObserver(e){return"VEGA-TABLE"===e.host.tagName?"VEGA-TABLE"===e.host.tagName&&e.host===C(this.host,"vega-table"):"VEGA-TABLE-ROW"===e.host.tagName?C(this.host,"vega-table")===C(e.host,"vega-table"):void 0}}function Ue(e){return"VEGA-TABLE-ROW"===e.host.tagName&&C(this.host,"vega-table")===C(e.host,"vega-table")}function qe(e){return"VEGA-TABLE"===e.host.tagName&&e.host===C(this.host,"vega-table")}Fe([r()],He.prototype,"host",void 0),Fe([r()],He.prototype,"rowKey",void 0),Fe([r({writable:!0})],He.prototype,"expanded",void 0),Fe([d("connectedCallback")],He.prototype,"connectedCallback",null),Fe([d("disconnectedCallback")],He.prototype,"disconnectedCallback",null);var Ye=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class Ze extends n{connectedCallback(){this.rowSelectionObserver=new R(Ue.bind(this),(e=>{e.rowKey===this.rowKey&&(this.checked=e.checked)})),w.register(m,this.rowSelectionObserver)}disconnectedCallback(){w.unregister(m,this.rowSelectionObserver)}}Ye([r({writable:!0})],Ze.prototype,"checked",void 0),Ye([r()],Ze.prototype,"host",void 0),Ye([r()],Ze.prototype,"rowKey",void 0),Ye([d("connectedCallback")],Ze.prototype,"connectedCallback",null),Ye([d("disconnectedCallback")],Ze.prototype,"disconnectedCallback",null);var Je=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class Qe extends I{constructor(){super({parent:"vega-table",subStates:[{subStateName:"withMultipleSelection",parentStateName:"rowSelection",callback:e=>{if(e){const{type:t="multiple"}=e;this.withMultipleSelection="multiple"===t}else this.withMultipleSelection=!1}}]})}}Je([r()],Qe.prototype,"host",void 0),Je([r({writable:!0})],Qe.prototype,"withMultipleSelection",void 0),Je([r()],Qe.prototype,"vegaTableExpandRowColSpanController",void 0);var et=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class tt extends n{constructor(){super(...arguments),this.updateColSpan=()=>{this.colSpan=this.getVisibleColumnsNumber()+(this.withMultipleSelection?2:1)}}componentWillLoad(){this.updateColSpan()}watchCurrentBreakpoint(){this.updateColSpan()}watchWithMultipleSelection(){this.updateColSpan()}getVisibleColumnsNumber(){const e=C(this.host,"vega-table"),t=z(),i=e.children&&Array.from(e.children).filter((e=>{var t;return!(null===(t=e.getAttribute("slot"))||void 0===t?void 0:t.startsWith("vega-table-expand-row-"))})).length>0?e.querySelectorAll("vega-table-row:nth-of-type(1) vega-table-cell"):e.shadowRoot.querySelectorAll("vega-table-row:nth-of-type(1) vega-table-cell");return Array.from(i).filter((e=>!e.breakpoint||"default"!==t&&_[t]>=_[e.breakpoint])).length}}et([r()],tt.prototype,"host",void 0),et([r({writable:!0})],tt.prototype,"colSpan",void 0),et([r()],tt.prototype,"withMultipleSelection",void 0),et([d("componentWillLoad")],tt.prototype,"componentWillLoad",null),et([d("watchCurrentBreakpoint")],tt.prototype,"watchCurrentBreakpoint",null),et([d("watchWithMultipleSelection")],tt.prototype,"watchWithMultipleSelection",null);var it=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};const ot=class{constructor(e){a(this,e),this.globalSlimmers={},this.vegaTableExpandRowRenderer=new Xe,this.vegaTableExpandRowExpandController=new He,this.vegaTableExpandRowSelectionController=new Ze,this.vegaTableExpandRowStateController=new Qe,this.vegaTableExpandRowColSpanController=new tt,this.pageResizeObserverSlimmer=new B,this.vegaComponentUsageRuntimeMetricsSlimmer=new v,this.currentBreakpoint=z(),this.expanded=!1,this.checked=!1}watchCurrentBreakpoint(){}watchWithMultipleSelection(){}render(){return b(e("slot",null)),K(e(o,null,this.vegaTableExpandRowRenderer.render()),this.host)}get host(){return s(this)}static get watchers(){return{currentBreakpoint:["watchCurrentBreakpoint"],withMultipleSelection:["watchWithMultipleSelection"]}}};it([u()],ot.prototype,"globalSlimmers",void 0),it([h()],ot.prototype,"vegaTableExpandRowRenderer",void 0),it([h()],ot.prototype,"vegaTableExpandRowExpandController",void 0),it([h()],ot.prototype,"vegaTableExpandRowSelectionController",void 0),it([h()],ot.prototype,"vegaTableExpandRowStateController",void 0),it([h()],ot.prototype,"vegaTableExpandRowColSpanController",void 0),it([h()],ot.prototype,"pageResizeObserverSlimmer",void 0),it([h()],ot.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),ot.style=":host{display:contents}:host([data-striped=striped]) .vega-table-expanded-row:not(.checked) td{background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1))}:host(.v-hidden){display:none}.vega-table-expanded-row{background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1))}.vega-table-expanded-row:not(.expanded){display:none}.vega-table-expanded-row.expanded td{border-bottom-width:1px;border-top-width:0px;border-right-width:0px;border-left-width:0px;border-style:solid;border-color:rgba(var(--v-border-color-input-field, 171, 198, 216, 1));padding:0px;vertical-align:middle}.vega-table-expanded-row.expanded td:first-of-type{border-left-width:1px;border-bottom-width:1px;border-top-left-radius:12px;border-bottom-left-radius:12px;border-top-left-radius:0px}.vega-table-expanded-row.expanded td:last-of-type{border-right-width:1px;border-bottom-width:1px;border-top-right-radius:12px;border-bottom-right-radius:12px;border-top-right-radius:0px}.vega-table-expanded-row.expanded td.vega-table-expanded-row-slot-container{border-top-width:1px;border-style:solid;border-color:rgba(var(--v-border-color-input-field, 171, 198, 216, 1))}.vega-table-expanded-row.expanded.checked{background-color:rgba(var(--v-bg-table-row-selected-expanded, 229, 239, 255, 1))}";var at=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class lt extends I{constructor(){super({parent:"vega-table",subStates:[{subStateName:"fixed",parentStateName:"scrollConfig",callback:e=>{this.fixed=e&&e.maxHeight&&!1!==e.fixedHeader}}]})}}at([r()],lt.prototype,"host",void 0),at([r({writable:!0})],lt.prototype,"fixed",void 0);var st=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};const rt=class{constructor(e){a(this,e),this.globalSlimmers={},this.vegaTableHeadStateController=new lt,this.vegaComponentUsageRuntimeMetricsSlimmer=new v,this.fixed=!1,this.handleTableHeadRefChange=e=>{this.tableHeadRef&&U.removeZIndex(this.tableHeadRef,"base"),this.fixed&&U.setZIndex(e,"base"),this.tableHeadRef=e}}disconnectedCallback(){U.removeZIndex(this.tableHeadRef,"base")}render(){return K(e(o,{class:{"fixed-header":this.fixed},ref:e=>this.handleTableHeadRefChange(e)},e("thead",null,e("slot",null))),this.host)}get host(){return s(this)}};st([u()],rt.prototype,"globalSlimmers",void 0),st([h()],rt.prototype,"vegaTableHeadStateController",void 0),st([h()],rt.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),rt.style=":host{display:table-header-group;border-top-right-radius:12px;border-bottom-right-radius:12px;border-top-left-radius:12px;border-bottom-left-radius:12px}:host thead{display:contents}:host(.fixed-header){position:sticky;top:0px}";class nt extends I{constructor(){super({parent:"vega-table",subStates:[{subStateName:"density",parentStateName:"density"}]})}}!function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);l>3&&s&&Object.defineProperty(t,i,s)}([r({writable:!0})],nt.prototype,"density",void 0);var ct=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};const dt=class{constructor(t){a(this,t),this.vegaClick=l(this,"vegaClick",7),this.click=l(this,"click",7),this.globalSlimmers={},this.clickEventEmitter=X(dt,j),this.vegaTableHeadCellStateController=new nt,this.pageResizeObserverSlimmer=new B,this.vegaComponentUsageRuntimeMetricsSlimmer=new v,this.currentBreakpoint=z(),this.handleSort=e=>{this.sortOrder=this.getNextSortOrder(this.sortOrder),this.clickEventEmitter.emit({sortOrder:this.sortOrder},e)},this.renderSortIconButton=()=>{if(this.sorter)return e("div",{class:"vega-table-column-sorter"},e("span",{class:this.isSortActive("asc")?"v-text-link":""},e("vega-icon",{icon:Y.getIconKey("chevron-up"),size:"size-8"})),e("span",{class:this.isSortActive("desc")?"v-text-link":""},e("vega-icon",{icon:Y.getIconKey("chevron-down"),size:"size-8"})))},this.isSortActive=e=>this.sortOrder===e,this.getNextSortOrder=e=>{let t;switch(e){case"desc":t="asc";break;case"asc":t=null;break;default:t="desc"}return t}}render(){const t=Ve(this.textAlign),i=this.sorter?{role:"button",onKeyDown:q(),tabIndex:0,onClick:e=>this.handleSort(e)}:null,a=["vega-table-cell",this.sorter?"sortable":null];return H.isEnabled("VEGA_TABLE.ENABLE_NEW_CELL_BREAK_WORDS_STYLE")||a.push("break-word"),K(e(o,{class:{[`density-${N.formatCustom(this.density)}`]:!0,[Pe(this.breakpoint,"v-table-cell")]:!0},style:{width:this.width}},e("th",Object.assign({class:k(a)},i),e("div",{class:"vega-table-column"},e("span",{class:`vega-table-column-label ${t}`},e("slot",null)),this.renderSortIconButton()))),this.host)}get host(){return s(this)}};Y.register({"chevron-up":Z,"chevron-down":J}),ct([u()],dt.prototype,"globalSlimmers",void 0),ct([h()],dt.prototype,"clickEventEmitter",void 0),ct([h()],dt.prototype,"vegaTableHeadCellStateController",void 0),ct([h()],dt.prototype,"pageResizeObserverSlimmer",void 0),ct([h()],dt.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),dt.style=':host(.v-hidden){display:none}@media (min-width: 320px){:host(.S\\:v-table-cell){display:table-cell}}@media (min-width: 768px){:host(.M\\:v-table-cell){display:table-cell}}@media (min-width: 1024px){:host(.L\\:v-table-cell){display:table-cell}}@media (min-width: 1440px){:host(.XL\\:v-table-cell){display:table-cell}}:host{display:table-cell;background-color:rgba(var(--v-bg-table-header, 240, 243, 247, 1));color:rgba(var(--v-text-primary, 32, 54, 69, 1));text-align:left;vertical-align:middle}th{display:block;padding:0px;padding:12px;font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px;overflow-wrap:break-word}@media screen and (min-width: 768px) and (max-width: 1023px){th{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1024px) and (max-width: 1439px){th{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}@media screen and (min-width: 1440px) and (max-width: 9999px){th{font-family:"Inter", sans-serif;font-size:14px;font-weight:700;line-height:18px}}th.break-word{word-break:break-word}th.vega-table-cell.sortable{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vega-table-column{display:flex;align-items:center;justify-content:space-between}.vega-table-column-sorter{display:flex;flex-direction:column;gap:4px;margin-left:4px;cursor:pointer;outline:none}.vega-table-column-sorter span{display:inline-flex}.vega-table-column-sorter span.v-text-link{color:rgba(var(--v-text-link, 19, 98, 226, 1))}.vega-table-column-label{flex-grow:1;min-width:0px}.vega-table-column-label.v-text-center{text-align:center}.vega-table-column-label.v-text-left{text-align:left}.vega-table-column-label.v-text-right{text-align:right}:host(.density-default) .vega-table-cell{padding:12px}:host(.density-compact) .vega-table-cell{padding:4px}:host(.density-relaxed) .vega-table-cell{padding:16px}';var ht=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class pt extends n{constructor(){super(...arguments),this.renderHeaderSelectionCell=()=>{if("multiple"===this.selectionType)return e("th",{class:"vega-table-selection-column"},!this.hideSelectAll&&e("div",{class:"vega-table-checkbox-wrapper"},e("vega-checkbox",{size:"small",disabled:this.isEmptyTable||this.selectAllDisabled,checked:this.checkedAll,ref:e=>{S.addUniqueObserverToNode(e,E,this.handleSelectAll)}})))},this.handleSelectAll=e=>{if("vegaChange"===e.eventName){const t=e.detail;L(t)&&t!==this.checkedAll&&w.notify(y,{host:this.host,checked:t})}},this.renderHeaderExpandableCell=()=>this.expandable&&e("th",{class:"vega-table-expand-action-column"})}connectedCallback(){}disconnectedCallback(){}componentDidLoad(){}render(){var t,i;return e("tr",null,e("th",{style:{width:null===(t=this.paddingX)||void 0===t?void 0:t[0]}}),this.renderHeaderSelectionCell(),e("slot",null),this.renderHeaderExpandableCell(),e("th",{style:{width:null===(i=this.paddingX)||void 0===i?void 0:i[1]}}))}}ht([r()],pt.prototype,"host",void 0),ht([r()],pt.prototype,"paddingX",void 0),ht([r()],pt.prototype,"selectionType",void 0),ht([r()],pt.prototype,"hideSelectAll",void 0),ht([r()],pt.prototype,"selectAllDisabled",void 0),ht([r()],pt.prototype,"checkedAll",void 0),ht([r()],pt.prototype,"expandable",void 0),ht([r()],pt.prototype,"isEmptyTable",void 0),ht([r()],pt.prototype,"isTemplateRenderMode",void 0),ht([d("connectedCallback")],pt.prototype,"connectedCallback",null),ht([d("disconnectedCallback")],pt.prototype,"disconnectedCallback",null),ht([d("componentDidLoad")],pt.prototype,"componentDidLoad",null);var bt=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class vt extends n{connectedCallback(){this.initRowSelectionAllObserver()}disconnectedCallback(){w.unregister(y,this.rowSelectionAllObserver)}initRowSelectionAllObserver(){this.rowSelectionAllObserver=new R(qe.bind({host:this.host}),(e=>{this.checkedAll=e.noneChecked||!1!==e.checked?e.checked:null})),w.register(y,this.rowSelectionAllObserver)}}bt([r()],vt.prototype,"host",void 0),bt([r({writable:!0})],vt.prototype,"checkedAll",void 0),bt([d("connectedCallback")],vt.prototype,"connectedCallback",null),bt([d("disconnectedCallback")],vt.prototype,"disconnectedCallback",null);var ut=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class ft extends I{constructor(){super({parent:"vega-table",subStates:[{subStateName:"expandable",parentStateName:"rowExpandable"},{subStateName:"paddingX",parentStateName:"paddingX",callback:e=>{const t=C(this.host,"vega-table");0!==t.dataSource.length&&0!==t.columns.length||(this.paddingX=e)}},{subStateName:"selectionType",parentStateName:"rowSelection",callback:e=>{this.updateSelectionType(e)}},{subStateName:"columnDivider",parentStateName:"columnDivider"},{subStateName:"density",parentStateName:"density"},{subStateName:"isTemplateRenderMode",parentStateName:"isTemplateRenderMode"},{subStateName:"isEmptyTable",parentStateName:"currentData",callback:e=>{this.isEmptyTable=0===e.length}}]}),this.updateSelectionType=e=>{if(e){const{type:t="multiple"}=e;this.selectionType=t}else this.selectionType=null}}}ut([r()],ft.prototype,"host",void 0),ut([r({writable:!0})],ft.prototype,"expandable",void 0),ut([r({writable:!0})],ft.prototype,"selectionType",void 0),ut([r({writable:!0})],ft.prototype,"paddingX",void 0),ut([r({writable:!0})],ft.prototype,"columnDivider",void 0),ut([r({writable:!0})],ft.prototype,"density",void 0),ut([r({writable:!0})],ft.prototype,"isTemplateRenderMode",void 0),ut([r({writable:!0})],ft.prototype,"isEmptyTable",void 0);var wt=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};const gt=class{constructor(e){a(this,e),this.globalSlimmers={},this.vegaTableHeadRowStateController=new ft,this.vegaTableHeadRowRenderer=new pt,this.vegaTableHeadRowController=new vt,this.headCellEventPrevent=new G([j,E],(()=>this.host)),this.pageResizeObserverSlimmer=new B,this.vegaComponentUsageRuntimeMetricsSlimmer=new v,this.currentBreakpoint=z(),this.expandable=!1}render(){return b(e("slot",null)),K(e(o,{class:{"column-divider":this.columnDivider,[`density-${N.formatCustom(this.density)}`]:!0}},this.vegaTableHeadRowRenderer.render()),this.host)}get host(){return s(this)}};wt([u()],gt.prototype,"globalSlimmers",void 0),wt([h()],gt.prototype,"vegaTableHeadRowStateController",void 0),wt([h()],gt.prototype,"vegaTableHeadRowRenderer",void 0),wt([h()],gt.prototype,"vegaTableHeadRowController",void 0),wt([h()],gt.prototype,"headCellEventPrevent",void 0),wt([h()],gt.prototype,"pageResizeObserverSlimmer",void 0),wt([h()],gt.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),gt.style=":host{display:table-row}:host tr{display:contents}th{background-color:rgba(var(--v-bg-table-header, 240, 243, 247, 1));padding:0px;vertical-align:middle}th:first-of-type{border-top-left-radius:12px;border-bottom-left-radius:12px}th:last-of-type{border-top-right-radius:12px;border-bottom-right-radius:12px}:host(.column-divider) ::slotted(vega-table-head-cell:not(:last-of-type)){border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1));border-right-width:1px;border-right-style:solid}.vega-table-checkbox-wrapper{display:flex;align-items:center;justify-content:center}:host(.density-default) th:first-of-type{border-top-left-radius:12px;border-bottom-left-radius:12px}:host(.density-default) th:last-of-type{border-top-right-radius:12px;border-bottom-right-radius:12px}:host(.density-compact) th:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px}:host(.density-compact) th:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}:host(.density-relaxed) th:first-of-type{border-top-left-radius:12px;border-bottom-left-radius:12px}:host(.density-relaxed) th:last-of-type{border-top-right-radius:12px;border-bottom-right-radius:12px}.vega-table-expand-action-column{width:40px;min-width:40px}.vega-table-selection-column{width:40px;min-width:40px}";var mt=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class yt extends n{constructor(){super(...arguments),this.renderRowSelection=()=>{if("multiple"===this.selectionType)return e("td",{class:"vega-table-selection-column"},e("div",{class:"vega-table-checkbox-wrapper"},e("vega-checkbox",{size:"small",checked:this.checked,onClick:this.stopRowSelectionPropagation,ref:e=>{S.addUniqueObserverToNode(e,E,this.onRowSelectionChange)}})))},this.renderExpandIcon=()=>this.expandable&&e("td",{class:"vega-table-expand-action-column"},e("div",{class:"vega-table-expand-icon-wrapper"},e("vega-icon",{icon:Y.getIconKey("chevron-down"),color:"text-link",onClick:this.onExpandIconClick}))),this.onRowClick=e=>{e.stopPropagation(),this.vegaTableRowClickController.handleRowClick()},this.onRowSelectionChange=e=>{"vegaChange"===e.eventName&&this.vegaTableRowSelectionController.handleRowSelect(e.detail)},this.stopRowSelectionPropagation=e=>{e.stopPropagation()},this.onExpandIconClick=async e=>{e.stopPropagation(),this.vegaTableRowExpandController.handleExpandIconClick()}}render(){var t,o;return e(i,null,this.renderExpandRowSpace(this.rowKey),e("tr",{class:{"vega-table-row":!0,checked:this.checked,clickable:this.clickable,"current-clicked-row":this.clicked,"expand-row":this.expanded},onClick:this.clickable?this.onRowClick:null},e("td",{style:{width:null===(t=this.paddingX)||void 0===t?void 0:t[0]}}),this.renderRowSelection(),e("slot",null),this.renderExpandIcon(),e("td",{style:{width:null===(o=this.paddingX)||void 0===o?void 0:o[1]}})))}renderExpandRowSpace(t){return this.expandable&&e("tr",{key:`vega-table-expand-row-space-${t}`,class:"expand-row-space"})}}Y.register({"chevron-down":J}),mt([r()],yt.prototype,"host",void 0),mt([r()],yt.prototype,"rowKey",void 0),mt([r()],yt.prototype,"checked",void 0),mt([r()],yt.prototype,"clickable",void 0),mt([r()],yt.prototype,"clicked",void 0),mt([r()],yt.prototype,"expanded",void 0),mt([r()],yt.prototype,"paddingX",void 0),mt([r()],yt.prototype,"expandable",void 0),mt([r()],yt.prototype,"vegaClick",void 0),mt([r()],yt.prototype,"selectionType",void 0),mt([r()],yt.prototype,"vegaTableRowSelectionController",void 0),mt([r()],yt.prototype,"vegaTableRowExpandController",void 0),mt([r()],yt.prototype,"vegaTableRowClickController",void 0);var xt=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class Rt extends n{constructor(){super(...arguments),this.handleRowSelect=e=>{this.checked=e,w.notify(m,{host:this.host,checked:e,rowKey:this.rowKey})}}connectedCallback(){this.initRowSelectionObserver()}disconnectedCallback(){w.unregister(y,this.rowSelectionAllObserver),w.unregister(m,this.rowSelectionObserver)}setChecked(e){this.checked=e}initRowSelectionObserver(){this.rowSelectionAllObserver=new R(qe.bind(this),(e=>{(e.checked||!1===e.checked&&e.noneChecked)&&(this.checked=e.checked)})),w.register(y,this.rowSelectionAllObserver),this.rowSelectionObserver=new R(qe.bind(this),(e=>{e.rowKey===this.rowKey&&(this.checked=e.checked)})),w.register(m,this.rowSelectionObserver)}}xt([r()],Rt.prototype,"host",void 0),xt([r()],Rt.prototype,"selectionType",void 0),xt([r()],Rt.prototype,"rowKey",void 0),xt([r({writable:!0})],Rt.prototype,"checked",void 0),xt([d("connectedCallback")],Rt.prototype,"connectedCallback",null),xt([d("disconnectedCallback")],Rt.prototype,"disconnectedCallback",null);var St=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class Ct extends n{connectedCallback(){this.initRowExpandObserver()}disconnectedCallback(){w.unregister(g,this.rowExpandObserver)}handleExpandIconClick(){this.expanded=!this.expanded,w.notify(g,{host:this.host,rowKey:this.rowKey,expanded:this.expanded})}initRowExpandObserver(){this.rowExpandObserver=new R(qe.bind({host:this.host}),(e=>{e.rowKey===this.rowKey&&(this.expanded=e.expanded)})),w.register(g,this.rowExpandObserver)}}St([r()],Ct.prototype,"host",void 0),St([r()],Ct.prototype,"rowKey",void 0),St([r()],Ct.prototype,"expandable",void 0),St([r({writable:!0})],Ct.prototype,"expanded",void 0),St([d("connectedCallback")],Ct.prototype,"connectedCallback",null),St([d("disconnectedCallback")],Ct.prototype,"disconnectedCallback",null);var kt=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class jt extends n{connectedCallback(){this.initRowClickObserver()}disconnectedCallback(){w.unregister(x,this.rowClickObserver)}handleRowClick(){w.notify(x,{host:this.host,rowKey:this.rowKey}),this.clickEventEmitter.emit({rowKey:this.rowKey})}initRowClickObserver(){this.rowClickObserver=new R(Ue.bind(this),(e=>{this.clicked=e.host===this.host,"single"===this.selectionType&&this.vegaTableRowSelectionController.setChecked(e.host===this.host&&!this.checked)})),w.register(x,this.rowClickObserver)}}kt([r()],jt.prototype,"host",void 0),kt([r()],jt.prototype,"rowKey",void 0),kt([r({writable:!0})],jt.prototype,"clicked",void 0),kt([r()],jt.prototype,"checked",void 0),kt([r()],jt.prototype,"selectionType",void 0),kt([r()],jt.prototype,"vegaClick",void 0),kt([r()],jt.prototype,"vegaTableRowSelectionController",void 0),kt([r()],jt.prototype,"clickEventEmitter",void 0),kt([d("connectedCallback")],jt.prototype,"connectedCallback",null),kt([d("disconnectedCallback")],jt.prototype,"disconnectedCallback",null);var Et=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};class Ot extends I{constructor(){super({parent:"vega-table",subStates:[{subStateName:"expandable",parentStateName:"rowExpandable"},{subStateName:"clickable",parentStateName:"rowClickable"},{subStateName:"paddingX",parentStateName:"paddingX",callback:e=>{const t=C(this.host,"vega-table");0!==t.dataSource.length&&0!==t.columns.length||(this.paddingX=e)}},{subStateName:"selectionType",parentStateName:"rowSelection",callback:e=>{if(e){const{type:t="multiple"}=e;this.selectionType=t}else this.selectionType=null}},{subStateName:"rowDivider",parentStateName:"rowDivider"},{subStateName:"columnDivider",parentStateName:"columnDivider"},{subStateName:"density",parentStateName:"density"}]})}watchSelectionType(){this.updateClickable()}handleComponentWillLoad(){this.updateClickable()}updateClickable(){this.selectionType&&(this.clickable="single"===this.selectionType||this.clickable)}}Et([r()],Ot.prototype,"host",void 0),Et([r({writable:!0})],Ot.prototype,"expandable",void 0),Et([r({writable:!0})],Ot.prototype,"clickable",void 0),Et([r({writable:!0})],Ot.prototype,"paddingX",void 0),Et([r({writable:!0})],Ot.prototype,"selectionType",void 0),Et([r({writable:!0})],Ot.prototype,"rowDivider",void 0),Et([r({writable:!0})],Ot.prototype,"columnDivider",void 0),Et([r({writable:!0})],Ot.prototype,"density",void 0),Et([d("watchSelectionType")],Ot.prototype,"watchSelectionType",null),Et([d("componentWillLoad")],Ot.prototype,"handleComponentWillLoad",null);var Tt=function(e,t,i,o){var a,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,o);else for(var r=e.length-1;r>=0;r--)(a=e[r])&&(s=(l<3?a(s):l>3?a(t,i,s):a(t,i))||s);return l>3&&s&&Object.defineProperty(t,i,s),s};const Dt=class{constructor(e){a(this,e),this.vegaClick=l(this,"vegaClick",7),this.click=l(this,"click",7),this.globalSlimmers={},this.vegaTableRowRenderer=new yt,this.vegaTableRowSelectionController=new Rt,this.vegaTableRowExpandController=new Ct,this.vegaTableRowClickController=new jt,this.vegaTableRowStateController=new Ot,this.clickEventEmitter=X(Dt,j),this.checkboxValueChangeEventPrevent=new G([E,j],(()=>this.host)),this.pageResizeObserverSlimmer=new B,this.vegaComponentUsageRuntimeMetricsSlimmer=new v,this.currentBreakpoint=z()}watchSelectionType(){}render(){return b(e("slot",null)),K(e(o,{class:{"row-divider":this.rowDivider,"column-divider":this.columnDivider,[`density-${N.formatCustom(this.density)}`]:!0}},this.vegaTableRowRenderer.render()),this.host)}get host(){return s(this)}static get watchers(){return{selectionType:["watchSelectionType"]}}};Tt([u()],Dt.prototype,"globalSlimmers",void 0),Tt([h()],Dt.prototype,"vegaTableRowRenderer",void 0),Tt([h()],Dt.prototype,"vegaTableRowSelectionController",void 0),Tt([h()],Dt.prototype,"vegaTableRowExpandController",void 0),Tt([h()],Dt.prototype,"vegaTableRowClickController",void 0),Tt([h()],Dt.prototype,"vegaTableRowStateController",void 0),Tt([h()],Dt.prototype,"clickEventEmitter",void 0),Tt([h()],Dt.prototype,"checkboxValueChangeEventPrevent",void 0),Tt([h()],Dt.prototype,"pageResizeObserverSlimmer",void 0),Tt([h()],Dt.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),Dt.style=":host{display:contents}:host(.v-hidden){display:none}td{padding:0px;background-color:rgba(var(--v-bg-primary, 252, 252, 252, 1));vertical-align:middle}td:first-of-type{border-top-left-radius:12px;border-bottom-left-radius:12px}td:last-of-type{border-top-right-radius:12px;border-bottom-right-radius:12px}:host([data-striped=striped]) .vega-table-row:not(.checked):not(.clickable:hover) td,:host([data-striped=striped]) .vega-table-row:not(.checked):not(.clickable:hover) ::slotted(vega-table-cell){background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1))}.checked td,.checked ::slotted(vega-table-cell){background-color:rgba(var(--v-bg-table-selected-row, 204, 223, 255, 1))}:not(.checked).clickable:hover{cursor:pointer}:not(.checked).clickable:hover td,:not(.checked).clickable:hover ::slotted(vega-table-cell){background-color:rgba(var(--v-bg-quaternary, 241, 248, 251, 1))}.vega-table-checkbox-wrapper{display:flex;align-items:center;justify-content:center}.vega-table-row .vega-table-expand-icon-wrapper{display:flex;align-items:center;justify-content:center}.vega-table-row .vega-table-expand-icon-wrapper vega-icon{transition-property:transform;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;cursor:pointer}.vega-table-row.expand-row .vega-table-expand-icon-wrapper vega-icon{transform:rotate(180deg)}:host tr.expand-row td,:host tr.expand-row ::slotted(vega-table-cell){border-top-width:1px;border-left-width:0px;border-right-width:0px;border-bottom-width:0px;border-style:solid;border-color:rgba(var(--v-border-color-input-field, 171, 198, 216, 1))}:host tr.expand-row td:first-of-type{border-left-width:1px;border-top-width:1px;border-bottom-left-radius:0px}:host tr.expand-row td:last-of-type{border-right-width:1px;border-top-width:1px;border-bottom-right-radius:0px}tr.expand-row-space{display:block;padding-top:8px}:host(.row-divider:not(:last-of-type)) td,:host(.row-divider:not(:last-of-type)) ::slotted(vega-table-cell){border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1));border-bottom-width:1px;border-bottom-style:solid}:host(.row-divider:not(:last-of-type)) td:first-of-type,:host(.row-divider:not(:last-of-type)) td:last-of-type{border-radius:0px}:host(.column-divider) ::slotted(vega-table-cell:not(:last-of-type)){border-color:rgba(var(--v-border-color-divider, 171, 198, 216, 1));border-right-width:1px;border-right-style:solid}:host(.density-default) td:first-of-type{border-top-left-radius:12px;border-bottom-left-radius:12px}:host(.density-default) td:last-of-type{border-top-right-radius:12px;border-bottom-right-radius:12px}:host(.density-default) tr.expand-row-space{display:block;padding-top:8px}:host(.density-compact) td:first-of-type{border-top-left-radius:4px;border-bottom-left-radius:4px}:host(.density-compact) td:last-of-type{border-top-right-radius:4px;border-bottom-right-radius:4px}:host(.density-compact) tr.expand-row-space{display:block;padding-top:4px}:host(.density-relaxed) td:first-of-type{border-top-left-radius:12px;border-bottom-left-radius:12px}:host(.density-relaxed) td:last-of-type{border-top-right-radius:12px;border-bottom-right-radius:12px}:host(.density-relaxed) tr.expand-row-space{display:block;padding-top:12px}.vega-table-expand-action-column{width:40px;min-width:40px}.vega-table-selection-column{width:40px;min-width:40px}";export{We as vega_table,_e as vega_table_body,Ie as vega_table_cell,ot as vega_table_expand_row,rt as vega_table_head,dt as vega_table_head_cell,gt as vega_table_head_row,Dt as vega_table_row}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i,H as a,g as r}from"./p-9777b1c1.js";import{M as s,a as n}from"./p-584cce0b.js";import{s as o}from"./p-b81bd0bb.js";import{c as p,n as h}from"./p-344ee7cb.js";import{I as l}from"./p-018d77cc.js";import{V as d,I as c}from"./p-5cad29f5.js";import{F as m}from"./p-77ff7c72.js";import{C as f}from"./p-fda33444.js";import{D as u}from"./p-0fd9f03f.js";import{r as b,d as g,a as v}from"./p-f1d8fd1c.js";import{b as y}from"./p-2fa3841b.js";import{C as x}from"./p-bf95b189.js";import{c as w}from"./p-16608c5a.js";import{a as j}from"./p-320642bd.js";import"./p-0bb29d98.js";import"./p-469bc36e.js";import"./p-d3f1d3dd.js";import"./p-c47d4933.js";import"./p-cb13b4e6.js";import"./p-3542f8fe.js";import"./p-3c8b2105.js";import"./p-1ced3ae5.js";import"./p-56681feb.js";import"./p-69b28805.js";import"./p-aae8855d.js";const I=[{payloadKey:"AUTO_VALIDATION_IS_TRUE",payloadDescription:"Determines whether automatic validation should be implemented for the stepper component",payloadValue:t=>!0===t.autoValidation},{payloadKey:"AUTO_VALIDATION_IS_FALSE",payloadDescription:"Determines whether automatic validation should be implemented for the stepper component",payloadValue:t=>!1===t.autoValidation},{payloadKey:"BUTTON_VARIANT_IS_PRIMARY",payloadDescription:"Specifies the style variant for the stepper buttons.",payloadValue:t=>"primary"===t.buttonVariant},{payloadKey:"BUTTON_VARIANT_IS_SECONDARY",payloadDescription:"Specifies the style variant for the stepper buttons.",payloadValue:t=>"secondary"===t.buttonVariant}];var A=function(t,e,i,a){var r,s=arguments.length,n=s<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,i,a);else for(var o=t.length-1;o>=0;o--)(r=t[o])&&(n=(s<3?r(n):s>3?r(e,i,n):r(e,i))||n);return s>3&&n&&Object.defineProperty(e,i,n),n};const V=class{constructor(i){t(this,i),this.vegaChange=e(this,"vegaChange",7),this.change=e(this,"change",7),this.globalSlimmers={},this.formFieldController=new m({propertyRules:[{propertyName:"min",ruleFactory:t=>new s({minValue:t})},{propertyName:"max",ruleFactory:t=>new n({maxValue:t})}],defaultValue:0,attributeGetter:t=>this[t],touchableAreaGetter:()=>this.touchableAreaGetter(),inputContainerGetter:()=>this.stepperContainerRef}),this.changeEventEmitter=w(V,g),this.inputEventPrevent=new f([b,g],(()=>this.stepperContainerRef)),this.vegaComponentUsageRuntimeMetricsSlimmer=new d(I),this.max=9999,this.min=0,this.value=0,this.label="",this.inputDisabled=null,this.disabled=!1,this.isValid=null,this.autoValidation=!0,this.buttonVariant="primary",this.onDecrease=()=>{this.value>this.max?this.value=this.max:this.value>this.min&&(this.value-=1)},this.onIncrease=()=>{this.value<this.max&&(this.value+=1)},this.onChildInputChange=t=>{""!==t.detail&&(this.value=p(t.detail))},this.handleInputBlur=t=>{""===t.host.value&&(this.value=this.min)},this.touchableAreaGetter=()=>Array.from(this.inputRef.shadowRoot.querySelectorAll("input"))}watchValue(){const t=h(p(this.value,0),this.min,this.max);this.value=t,this.inputRef.value=t.toString(),this.changeEventEmitter.emit(this.value),x.notify(y,{host:this.host,detail:this.value})}render(){return o(i(a,{class:j(["vega-flex-shrink-0",this.inputDisabled||this.disabled?"disabled":""])},this.renderLabelDom(),i("div",{class:{"vega-stepper-container":!0,"vega-stepper-container-edited":this.inputDisabled},ref:t=>this.stepperContainerRef=t},i("vega-button-circle",{label:"Decrease",showTooltip:!1,icon:"minus-sign",ref:t=>{u.addUniqueObserverToNode(t,v,(()=>this.onDecrease()))},disabled:this.value<=this.min||this.disabled,size:"small",variant:"secondary"==this.buttonVariant?"secondary":"primary"}),i("vega-input",{size:"small",type:"number",max:this.max,min:this.min,value:`${this.value}`,disabled:this.inputDisabled||this.disabled,showClearIcon:!1,ref:t=>(u.addUniqueObserverToNode(t,b,(t=>this.handleInputBlur(t))),u.addUniqueObserverToNode(t,g,(t=>this.onChildInputChange(t))),this.inputRef=t)}),i("vega-button-circle",{label:"Increase",showTooltip:!1,ref:t=>{u.addUniqueObserverToNode(t,v,(()=>this.onIncrease()))},icon:"plus-sign",disabled:this.value>=this.max||this.disabled,size:"small",variant:"secondary"==this.buttonVariant?"secondary":"primary"}))),this.host)}renderLabelDom(){return this.label?i("label",{class:"v-text-center v-text-medium-typeset-1",htmlFor:this.stepperId},this.label):null}get host(){return r(this)}static get watchers(){return{value:["watchValue"]}}};A([c()],V.prototype,"globalSlimmers",void 0),A([l()],V.prototype,"formFieldController",void 0),A([l()],V.prototype,"changeEventEmitter",void 0),A([l()],V.prototype,"inputEventPrevent",void 0),A([l()],V.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),V.style=':host{display:inline-block;line-height:normal}:host>label{display:block;font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1));text-align:center}@media screen and (min-width: 768px) and (max-width: 1023px){:host>label{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>label{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>label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host>div{display:inline-flex;justify-content:center;align-items:center;margin-top:8px}:host div.vega-stepper-container-edited vega-input::part(container-wrapper){padding-left:0px;padding-right:0px}:host(.disabled) vega-input::part(input-container){text-align:center;background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));padding:0px;border:0;box-shadow:unset}:host(.disabled) vega-input::part(input-container):hover{border:0}:host(.disabled) vega-input::part(input){background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));color:rgba(var(--v-text-primary, 32, 54, 69, 1));border:0}:host vega-input::part(input){width:48px;text-align:center;-moz-appearance:textfield}:host vega-input::part(input)::-webkit-inner-spin-button{-webkit-appearance:none}:host vega-input::part(input)::-webkit-outer-spin-button{-webkit-appearance:none}:host vega-input::part(error){display:none}:host vega-input::part(container-wrapper){padding-left:8px;padding-right:8px}:host .vega-error{display:none}:host .vega-stepper-container.error vega-input::part(input-container){border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1))}:host .vega-stepper-container.error vega-input::part(input-container):hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1))}:host .vega-stepper-container.error vega-input::part(input-container):focus-within{box-shadow:0 0 0 4px rgba(var(--v-ring-input-danger-focus, 230, 50, 87, 0.25))}';export{V as vega_stepper}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e,r as t,c as i,H as s,g as o}from"./p-9777b1c1.js";import{s as r}from"./p-b81bd0bb.js";import{a as n,V as a,M as l,I as c}from"./p-018d77cc.js";import{V as h,I as d}from"./p-5cad29f5.js";import{c as p}from"./p-86194314.js";import{c as f}from"./p-16608c5a.js";import{d as v}from"./p-f1d8fd1c.js";import{C as b}from"./p-bf95b189.js";import{S as g,C as x,R as m,b as u}from"./p-2fa3841b.js";import{S as w,c as y}from"./p-a9c3e9fd.js";import{V as j}from"./p-c47d4933.js";import{f as k}from"./p-320642bd.js";import{O as R,d as C}from"./p-0fd9f03f.js";import{C as S}from"./p-fda33444.js";import{C as z}from"./p-7d1b4d02.js";import{F as I}from"./p-77ff7c72.js";import{R as O}from"./p-d962b340.js";import"./p-d3f1d3dd.js";import"./p-aae8855d.js";import"./p-0bb29d98.js";import"./p-469bc36e.js";import"./p-cb13b4e6.js";import"./p-3542f8fe.js";import"./p-3c8b2105.js";import"./p-1ced3ae5.js";import"./p-56681feb.js";import"./p-69b28805.js";import"./p-344ee7cb.js";var T=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class V extends a{getSelectorContainerRef(){return this.selectorContainerRef}render(){return e("vega-flex",{"align-items":"start","justify-content":"start",gap:"size-16",class:{"selection-tile":!0,disabled:this.disabled,checked:this.checked,error:this.showError},"aria-label":this.titleText||"No label defined",tabIndex:this.disabled?-1:0,onClick:()=>{"radio"===this.selectType&&this.checked||this.checkedController.onCheck(!this.checked)},onKeyDown:p()},e("div",{class:"vega-flex-grow"},this.renderContent()),this.renderSelect())}renderContent(){return this.hasContentSlot()?e("slot",{name:"content"}):e("vega-flex",{gap:"size-12"},e("vega-flex",{class:"vega-flex-shrink-0"},this.renderPrefixIcon()),e("div",{class:"vega-flex-grow"},this.renderText()))}renderPrefixIcon(){return this.hasPrefixSlot()?e("slot",{name:"prefix"}):this.prefixIcon?e("vega-icon",{icon:this.prefixIcon,size:"size-16",color:this.disabled?"text-secondary":"text-primary",class:"selection-tile-icon"}):void 0}renderText(){return e("vega-flex",{class:"vega-flex-grow",direction:"col","align-items":"start","justify-content":"start"},e("div",{class:"selection-tile-title"},this.titleText),this.note&&e("div",{class:"selection-tile-note"},this.note))}renderSelect(){return e("vega-flex",{"align-items":"start",class:"vega-flex-shrink-0 selection-tile-select",ref:e=>this.selectorContainerRef=e},"checkbox"===this.selectType?this.renderCheckbox():this.renderRadio())}renderCheckbox(){return e("vega-checkbox",{size:"small",disabled:this.disabled,checked:this.checked})}renderRadio(){return e("vega-radio",{size:"small",disabled:this.disabled,checked:this.checked})}hasPrefixSlot(){return null!==this.host.querySelector("[slot=prefix]")}hasContentSlot(){return null!==this.host.querySelector("[slot=content]")}}T([n()],V.prototype,"host",void 0),T([n()],V.prototype,"prefixIcon",void 0),T([n()],V.prototype,"titleText",void 0),T([n()],V.prototype,"note",void 0),T([n()],V.prototype,"selectType",void 0),T([n()],V.prototype,"disabled",void 0),T([n()],V.prototype,"checked",void 0),T([n()],V.prototype,"showError",void 0),T([n()],V.prototype,"checkedController",void 0);var E=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class N extends a{setChecked(e){this.checked=e}onCheck(e){const t=e?this.value:"";this.checked=e,this.changeEventEmitter.emit(t),b.notify(g,{host:this.host,detail:{checked:e,value:this.value}})}}E([n()],N.prototype,"host",void 0),E([n({writable:!0})],N.prototype,"checked",void 0),E([n()],N.prototype,"changeEventEmitter",void 0),E([n()],N.prototype,"value",void 0);var A=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class F extends w{constructor(){super({parent:"vega-selection-tile-group",subStates:[{subStateName:"selectType",parentStateName:"selectType"},{subStateName:"disabled",parentStateName:"disabled",callback:e=>{"boolean"==typeof e&&(this.disabled=e)}},{subStateName:"checked",parentStateName:"value",callback:e=>{this.checkedController.setChecked(Array.isArray(e)?e.includes(this.value):e===this.value)}}]})}}A([n()],F.prototype,"host",void 0),A([n({writable:!0})],F.prototype,"selectType",void 0),A([n({writable:!0})],F.prototype,"disabled",void 0),A([n()],F.prototype,"checked",void 0),A([n()],F.prototype,"value",void 0),A([n()],F.prototype,"checkedController",void 0);var q=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class G extends a{connectedCallback(){this.selectionTileGroup=k(this.host,"vega-selection-tile-group"),this.fieldErrorObserver=new R(this.canAcceptFieldErrorObserver.bind(this),this.fieldErrorObserverListener.bind(this)),b.register(C.getSubject(this.selectionTileGroup||this.host,j),this.fieldErrorObserver)}disconnectedCallback(){b.unregister(C.getSubject(this.selectionTileGroup,j),this.fieldErrorObserver)}canAcceptFieldErrorObserver(){return!0}fieldErrorObserverListener(e){this.showError=e.showError}}q([n({writable:!0})],G.prototype,"showError",void 0),q([n()],G.prototype,"host",void 0),q([l("connectedCallback")],G.prototype,"connectedCallback",null),q([l("disconnectedCallback")],G.prototype,"disconnectedCallback",null);var _=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};const D=class{constructor(e){t(this,e),this.vegaChange=i(this,"vegaChange",7),this.change=i(this,"change",7),this.globalSlimmers={},this.renderer=new V,this.checkedController=new N,this.stateController=new F,this.showErrorController=new G,this.changeEventEmitter=f(D,v),this.checkboxEventPrevent=new S([v],(()=>this.renderer.getSelectorContainerRef())),this.checkboxValueChangeObserver=new z(x,(e=>this.checkedController.onCheck(e.detail))),this.radioValueChangeObserver=new z(m,(e=>{e.detail&&this.checkedController.onCheck(e.detail)})),this.vegaComponentUsageRuntimeMetricsSlimmer=new h,this.showError=!1,this.titleText="",this.disabled=!1,this.selectType="radio"}render(){return r(e(s,null,this.renderer.render()),this.host)}get host(){return o(this)}};_([d()],D.prototype,"globalSlimmers",void 0),_([c()],D.prototype,"renderer",void 0),_([c()],D.prototype,"checkedController",void 0),_([c()],D.prototype,"stateController",void 0),_([c()],D.prototype,"showErrorController",void 0),_([c()],D.prototype,"changeEventEmitter",void 0),_([c()],D.prototype,"checkboxEventPrevent",void 0),_([c()],D.prototype,"checkboxValueChangeObserver",void 0),_([c()],D.prototype,"radioValueChangeObserver",void 0),_([c()],D.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),D.style=':host{display:block}:host .selection-tile{padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:12px;border:1px solid rgba(var(--v-border-input-field, 171, 198, 216, 1));border-radius:8px;background-color:rgba(var(--v-bg-tile, 252, 252, 252, 1));color:rgba(var(--v-text-primary, 32, 54, 69, 1));cursor:pointer;margin:1px}:host .selection-tile:not(.disabled):hover{border:1px solid rgba(var(--v-border-input-field-hover, 115, 160, 190, 1));background-color:rgba(var(--v-bg-tile-hover, 245, 247, 247, 1))}:host .selection-tile:not(.disabled):focus-visible{border:1px solid rgba(var(--v-border-input-field-focus, 19, 98, 226, 1));background-color:rgba(var(--v-bg-tile, 252, 252, 252, 1));outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px}:host .selection-tile:not(.disabled).checked{background-color:rgba(var(--v-bg-tile-selected, 242, 247, 255, 1));border:2px solid rgba(var(--v-border-tile-selected, 19, 98, 226, 1));margin:0px}:host .selection-tile:not(.disabled).checked:hover{border:2px solid rgba(var(--v-border-tile-selected-hover, 4, 112, 236, 1));background-color:rgba(var(--v-bg-tile-selected-hover, 229, 239, 255, 1))}:host .selection-tile:not(.disabled).checked:focus-visible{border:2px solid rgba(var(--v-border-tile-selected, 19, 98, 226, 1));background-color:rgba(var(--v-bg-tile-selected, 242, 247, 255, 1));outline:2px solid rgba(var(--v-border-color-action, 19, 98, 226, 1));outline-offset:2px}:host .selection-tile:not(.disabled).error{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1));background-color:rgba(var(--v-bg-tile, 252, 252, 252, 1))}:host .selection-tile:not(.disabled).error:hover{border:1px solid rgba(var(--v-border-input-field-danger-hover, 255, 87, 114, 1));background-color:rgba(var(--v-bg-tile-hover, 245, 247, 247, 1))}:host .selection-tile:not(.disabled).error:focus-visible{border:1px solid rgba(var(--v-border-input-field-danger, 230, 50, 87, 1));background-color:rgba(var(--v-bg-tile, 252, 252, 252, 1));outline:2px solid rgba(var(--v-border-color-danger, 230, 50, 87, 1));outline-offset:2px}:host .selection-tile.disabled{border:1px solid rgba(var(--v-border-input-field-disabled, 222, 225, 227, 1));background-color:rgba(var(--v-bg-secondary, 245, 247, 247, 1));pointer-events:none}:host .selection-tile.disabled .selection-tile-title,:host .selection-tile.disabled .selection-tile-note{color:rgba(var(--v-text-input-disabled, 107, 116, 125, 1))}:host .selection-tile .selection-tile-title{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px;color:rgba(var(--v-text-primary, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .selection-tile .selection-tile-title{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 .selection-tile .selection-tile-title{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 .selection-tile .selection-tile-title{font-family:"Inter", sans-serif;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0px}}:host .selection-tile .selection-tile-note{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .selection-tile .selection-tile-note{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 .selection-tile .selection-tile-note{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 .selection-tile .selection-tile-note{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .selection-tile .selection-tile-icon{margin-top:4px;margin-bottom:4px}:host .selection-tile .selection-tile-select{height:24px}:host .selection-tile .selection-tile-select vega-checkbox,:host .selection-tile .selection-tile-select vega-radio{margin-top:4px}';var P=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class L extends a{getGroupContainerRef(){return this.groupContainerRef}render(){return e("div",null,this.renderLabel(),this.renderContainer(),this.renderHint())}renderLabel(){return this.label&&e("div",{class:"vega-label"},e("label",{"aria-label":this.label},this.label,this.renderRequire()))}renderRequire(){return this.required&&e("span",{class:"vega-require"},"*")}renderContainer(){return e("div",{class:"container",ref:e=>this.groupContainerRef=e},e("vega-flex",{direction:"horizontal"===this.layout?"row":"col",gap:"size-12"},e("slot",{onSlotchange:()=>this.itemsController.syncTileArrayAndValue()})))}renderHint(){return this.hint&&e("div",{class:"vega-hint"},e("label",null,this.hint))}}P([n()],L.prototype,"host",void 0),P([n()],L.prototype,"label",void 0),P([n()],L.prototype,"required",void 0),P([n()],L.prototype,"hint",void 0),P([n()],L.prototype,"layout",void 0),P([n()],L.prototype,"selectType",void 0),P([n()],L.prototype,"itemsController",void 0);var M=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class H extends a{watchValue(){this.changeEventEmitter.emit(this.value),b.notify(u,{host:this.host,detail:this.value})}onSelectionTilesChanged(){"checkbox"===this.selectType?this.setValueFromCheckboxItems():this.setValueFromRadioItems()}onSelectionTileChecked(e){"checkbox"===this.selectType?this.setValueFromCheckbox(e):this.setValueFromRadio(e)}setValueFromCheckbox(e){e.checked&&!this.value.includes(e.value)?this.value=[...this.value,e.value]:!e.checked&&this.value.includes(e.value)&&(this.value=[...this.value.filter((t=>t!==e.value))])}setValueFromRadio(e){e.checked&&(this.value=e.value)}setValueFromCheckboxItems(){0===this.value.length&&(this.value=this.itemsController.getSelectionTileArray().filter((e=>e.checked)).map((e=>e.value)))}setValueFromRadioItems(){if(!this.value){const e=this.itemsController.getSelectionTileArray().find((e=>e.checked));e&&(this.value=e.value)}}}M([n()],H.prototype,"host",void 0),M([n({writable:!0})],H.prototype,"value",void 0),M([n()],H.prototype,"selectType",void 0),M([n()],H.prototype,"changeEventEmitter",void 0),M([n()],H.prototype,"itemsController",void 0),M([l("watchValue")],H.prototype,"watchValue",null);var U=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class K extends a{constructor(){super(...arguments),this.selectionTileArray=[]}initSelectionTileArray(){this.syncTileArrayAndValue()}getSelectionTileArray(){return this.selectionTileArray}syncTileArrayAndValue(){this.selectionTileArray=Array.from(this.host.querySelectorAll("vega-selection-tile")),this.valueController.onSelectionTilesChanged()}touchableAreaGetter(){const e="checkbox"===this.selectType?"vega-checkbox":"vega-radio";return this.selectionTileArray.map((t=>t.shadowRoot.querySelector(e).shadowRoot.querySelector("input")))}}U([n()],K.prototype,"host",void 0),U([n()],K.prototype,"selectType",void 0),U([n()],K.prototype,"valueController",void 0),U([l("componentWillLoad")],K.prototype,"initSelectionTileArray",null);var W=function(e,t,i,s){var o,r=arguments.length,n=r<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(n=(r<3?o(n):r>3?o(t,i,n):o(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};const B=class{constructor(e){t(this,e),this.vegaChange=i(this,"vegaChange",7),this.change=i(this,"change",7),this.globalSlimmers={},this.renderer=new L,this.itemsController=new K,this.valueController=new H,this.formFieldController=new I({propertyRules:[{propertyName:"required",ruleFactory:e=>e?new O:null}],validationRulesName:"validationRules",inputContainerGetter:()=>this.renderer.getGroupContainerRef(),touchableAreaGetter:()=>this.itemsController.touchableAreaGetter(),defaultValue:e=>"checkbox"===e.selectType?[]:"",attributeGetter:e=>this[e]}),this.changeEventEmitter=f(B,v),this.checkboxEventPrevent=new S([v],(()=>this.renderer.getGroupContainerRef())),this.selectionTileChangeObserver=new z(g,(e=>this.valueController.onSelectionTileChecked(e.detail))),this.selectTypeNotifySlimmer=y(B,"selectType","watchSelectType"),this.disabledNotifySlimmer=y(B,"disabled","watchDisabled"),this.valueNotifySlimmer=y(B,"value","watchValue"),this.vegaComponentUsageRuntimeMetricsSlimmer=new h,this.label="",this.selectType="radio",this.value="checkbox"===this.selectType?[]:"",this.layout="vertical",this.validationRules=[],this.isValid=null}watchSelectType(){}watchValue(){}watchDisabled(){}watchValidationRules(){}render(){return r(e(s,null,this.renderer.render()),this.host)}get host(){return o(this)}static get watchers(){return{selectType:["watchSelectType"],value:["watchValue"],disabled:["watchDisabled"],validationRules:["watchValidationRules"]}}};W([d()],B.prototype,"globalSlimmers",void 0),W([c()],B.prototype,"renderer",void 0),W([c()],B.prototype,"itemsController",void 0),W([c()],B.prototype,"valueController",void 0),W([c()],B.prototype,"formFieldController",void 0),W([c()],B.prototype,"changeEventEmitter",void 0),W([c()],B.prototype,"checkboxEventPrevent",void 0),W([c()],B.prototype,"selectionTileChangeObserver",void 0),W([c()],B.prototype,"selectTypeNotifySlimmer",void 0),W([c()],B.prototype,"disabledNotifySlimmer",void 0),W([c()],B.prototype,"valueNotifySlimmer",void 0),W([c()],B.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),B.style=':host{display:block;text-align:left;line-height:normal}:host .vega-error{display:block;margin-top:12px;font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-error, 189, 41, 71, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .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){:host .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){:host .vega-error{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .vega-hidden{display:none}:host .vega-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px;margin-bottom:16px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-label{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 .vega-label{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 .vega-label{font-family:"Inter", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host .vega-label label{color:rgba(var(--v-text-primary, 32, 54, 69, 1))}:host .vega-label .vega-require{color:rgba(var(--v-text-error, 189, 41, 71, 1));margin-left:4px}:host .vega-hint{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px;color:rgba(var(--v-text-secondary, 107, 116, 125, 1));padding-top:12px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-hint{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 .vega-hint{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 .vega-hint{font-family:"Inter", sans-serif;font-size:14px;font-weight:400;line-height:18px;letter-spacing:0px}}';export{D as vega_selection_tile,B as vega_selection_tile_group}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t,r as e,H as o,g as a}from"./p-9777b1c1.js";import{s as r}from"./p-b81bd0bb.js";import{I as i}from"./p-0a43bbd1.js";import{a as n,M as p,I as l}from"./p-018d77cc.js";import{V as s,I as c}from"./p-5cad29f5.js";import{E as g}from"./p-13ead830.js";import{c as d}from"./p-58e79f0e.js";import"./p-cf3cfd23.js";import"./p-320642bd.js";import"./p-3c8b2105.js";import"./p-1265732f.js";import"./p-3542f8fe.js";import"./p-3a0a4d15.js";import"./p-c59042c0.js";import"./p-bb761f8f.js";import"./p-344ee7cb.js";import"./p-0c667d6a.js";import"./p-abf5b8f7.js";import"./p-d3f1d3dd.js";import"./p-cb13b4e6.js";import"./p-47a4c625.js";var h=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 g{constructor(){super((()=>({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})),(()=>this.trigger),"isTooltipShow",(()=>this.disableInteractive))}watchTrigger(){"none"===this.trigger&&this.hide()}watchToShowTooltip(){this.isTooltipShow&&this.show()}}h([n()],m.prototype,"host",void 0),h([n()],m.prototype,"positionRelativeTo",void 0),h([n()],m.prototype,"size",void 0),h([n()],m.prototype,"minWidth",void 0),h([n()],m.prototype,"maxWidth",void 0),h([n()],m.prototype,"placement",void 0),h([n()],m.prototype,"alignment",void 0),h([n()],m.prototype,"trigger",void 0),h([n()],m.prototype,"disableInteractive",void 0),h([n({writable:!0})],m.prototype,"isTooltipShow",void 0),h([n()],m.prototype,"vegaTooltipContentBoxRenderer",void 0),h([p("watchTrigger")],m.prototype,"watchTrigger",null),h([p("watchToShowTooltip")],m.prototype,"watchToShowTooltip",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=d(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(){}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"],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 u=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()],u.prototype,"globalSlimmers",void 0),w([l()],u.prototype,"vegaComponentUsageRuntimeMetricsSlimmer",void 0),u.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,u as vega_tooltip_content_box}
|