@heartlandone/vega-sandbox-pr-1457-26ca806e919492b9064caacdcb37782f4b5aeb1c 2.25.0
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +21 -0
- package/dist/cjs/accessibility-bfa227f6.js +17 -0
- package/dist/cjs/app-globals-3b59f0a2.js +252 -0
- package/dist/cjs/array-6e559cde.js +178 -0
- package/dist/cjs/breakpoints-cb3291ba.js +66 -0
- package/dist/cjs/change-manager-a297e4d2.js +78 -0
- package/dist/cjs/chevron-down-ca2fa88e.js +12 -0
- package/dist/cjs/child-nodes-event-prevent-slimmer-35bb64e4.js +158 -0
- package/dist/cjs/child-nodes-notify-observer-slimmer-c144a963.js +90 -0
- package/dist/cjs/component-73a88c4e.js +117 -0
- package/dist/cjs/component-global-style-slimmer-6749808c.js +87 -0
- package/dist/cjs/component-load-required-16d76afa.js +48 -0
- package/dist/cjs/component-usage-runtime-metrics-1ee24991.js +122 -0
- package/dist/cjs/create-public-api-runtime-metrics-slimmer-d2d49ff5.js +171 -0
- package/dist/cjs/date-0a6bb035.js +95 -0
- package/dist/cjs/deprecated-property-slimmer-fc729fd9.js +49 -0
- package/dist/cjs/design-token-2c2cdd7d.js +403 -0
- package/dist/cjs/dom-node-subject-observer-factory-d2698876.js +170 -0
- package/dist/cjs/dynamic-slimmer-f31fdfd7.js +63 -0
- package/dist/cjs/effect-37695d3d.js +52 -0
- package/dist/cjs/element-appender-slimmer-5fa9ff52.js +1109 -0
- package/dist/cjs/event-emit-slimmer-54616105.js +257 -0
- package/dist/cjs/feature-flag-controller-0e5235e1.js +305 -0
- package/dist/cjs/form-field-controller-slimmer-8b314ba2.js +1095 -0
- package/dist/cjs/global-slimmer-registry-b3bce7e0.js +297 -0
- package/dist/cjs/icon-manager-2c3cf5ba.js +119 -0
- package/dist/cjs/icons-dbc3eb9c.js +520 -0
- package/dist/cjs/immutable-map-adf398cc.js +117 -0
- package/dist/cjs/index-09acd3c9.js +1755 -0
- package/dist/cjs/index-5792390b.js +1024 -0
- package/dist/cjs/index.cjs.js +92 -0
- package/dist/cjs/inject-keyboard-manager-e79a1ade.js +37 -0
- package/dist/cjs/internal-icon-manager-3dd4faeb.js +45 -0
- package/dist/cjs/internal-vega-event-manager-627b1328.js +460 -0
- package/dist/cjs/internal-vega-z-index-manager-23051df4.js +180 -0
- package/dist/cjs/keyboard-manager-34b78600.js +106 -0
- package/dist/cjs/keyboard-manager-slimmer-8e2d4b5d.js +39 -0
- package/dist/cjs/legend-input-processor-6ab8782a.js +4756 -0
- package/dist/cjs/loader.cjs.js +44 -0
- package/dist/cjs/min-number-rule-0ce5347c.js +138 -0
- package/dist/cjs/min-string-length-rule-d1a1ea94.js +136 -0
- package/dist/cjs/misc-3d30df91.js +41 -0
- package/dist/cjs/mobilefriendly-aa2e50e9.js +13 -0
- package/dist/cjs/mutation-observer-filters-79b60f28.js +58 -0
- package/dist/cjs/mutation-observer-slimmer-895b3d3e.js +85 -0
- package/dist/cjs/number-459031f7.js +92 -0
- package/dist/cjs/object-bbd4ed7f.js +37 -0
- package/dist/cjs/page-resize-observer-slimmer-1e404fc7.js +122 -0
- package/dist/cjs/pixel-98f2a10c.js +72 -0
- package/dist/cjs/placeholder-cb6d37ad.js +27 -0
- package/dist/cjs/regex-c1f70fd4.js +15 -0
- package/dist/cjs/remote-invocation-registry-162044d5.js +64 -0
- package/dist/cjs/required-field-rule-8655758f.js +83 -0
- package/dist/cjs/responsive-format-facade-aa849dc7.js +718 -0
- package/dist/cjs/state-background-color-formatter-33ae4282.js +85 -0
- package/dist/cjs/static-subject-title-35e2a92c.js +67 -0
- package/dist/cjs/string-21427167.js +13 -0
- package/dist/cjs/string-input-formatter-slimmer-0ac6e18a.js +364 -0
- package/dist/cjs/style-formatter-dc0682a4.js +34 -0
- package/dist/cjs/sub-state-observer-slimmer-58217668.js +203 -0
- package/dist/cjs/synchronize-task-queue-8977cf10.js +41 -0
- package/dist/cjs/timer-5f33058b.js +24 -0
- package/dist/cjs/type-guard-4d05d4b2.js +716 -0
- package/dist/cjs/typography-4560e7f1.js +1080 -0
- package/dist/cjs/ui-077fc009.js +52 -0
- package/dist/cjs/ui-08f33116.js +200 -0
- package/dist/cjs/valid-credit-card-number-rule-8d8f04f1.js +172 -0
- package/dist/cjs/vega-accordion.cjs.entry.js +269 -0
- package/dist/cjs/vega-app-footer.cjs.entry.js +149 -0
- package/dist/cjs/vega-app-header-button.cjs.entry.js +314 -0
- package/dist/cjs/vega-backdrop.cjs.entry.js +156 -0
- package/dist/cjs/vega-banner.cjs.entry.js +354 -0
- package/dist/cjs/vega-bar-chart.cjs.entry.js +238 -0
- package/dist/cjs/vega-box.cjs.entry.js +208 -0
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +267 -0
- package/dist/cjs/vega-button-circle.cjs.entry.js +221 -0
- package/dist/cjs/vega-button-group_2.cjs.entry.js +423 -0
- package/dist/cjs/vega-button-link.cjs.entry.js +215 -0
- package/dist/cjs/vega-button.cjs.entry.js +233 -0
- package/dist/cjs/vega-calendar_3.cjs.entry.js +4016 -0
- package/dist/cjs/vega-card.cjs.entry.js +196 -0
- package/dist/cjs/vega-carousel.cjs.entry.js +514 -0
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +623 -0
- package/dist/cjs/vega-chip.cjs.entry.js +300 -0
- package/dist/cjs/vega-color-picker.cjs.entry.js +247 -0
- package/dist/cjs/vega-combo-box.cjs.entry.js +436 -0
- package/dist/cjs/vega-counter-badge.cjs.entry.js +90 -0
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +2082 -0
- package/dist/cjs/vega-dialog-controller-cb07e697.js +81 -0
- package/dist/cjs/vega-dialog_2.cjs.entry.js +715 -0
- package/dist/cjs/vega-divider.cjs.entry.js +149 -0
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +2895 -0
- package/dist/cjs/vega-env-manager-23b8b23c.js +41 -0
- package/dist/cjs/vega-event-id-e40ac8f0.js +144 -0
- package/dist/cjs/vega-field-error.cjs.entry.js +102 -0
- package/dist/cjs/vega-field-label.cjs.entry.js +165 -0
- package/dist/cjs/vega-file-uploader.cjs.entry.js +678 -0
- package/dist/cjs/vega-flex.cjs.entry.js +197 -0
- package/dist/cjs/vega-font.cjs.entry.js +289 -0
- package/dist/cjs/vega-form.cjs.entry.js +483 -0
- package/dist/cjs/vega-grid.cjs.entry.js +99 -0
- package/dist/cjs/vega-hint.cjs.entry.js +38 -0
- package/dist/cjs/vega-icon.cjs.entry.js +229 -0
- package/dist/cjs/vega-image-uploader.cjs.entry.js +926 -0
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +411 -0
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +9218 -0
- package/dist/cjs/vega-input-range.cjs.entry.js +736 -0
- package/dist/cjs/vega-input-select.cjs.entry.js +870 -0
- package/dist/cjs/vega-input.cjs.entry.js +1013 -0
- package/dist/cjs/vega-internal-event-id-c98e9a7d.js +50 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +190 -0
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +1170 -0
- package/dist/cjs/vega-line-chart.cjs.entry.js +382 -0
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +211 -0
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +182 -0
- package/dist/cjs/vega-pagination.cjs.entry.js +377 -0
- package/dist/cjs/vega-pie-chart.cjs.entry.js +443 -0
- package/dist/cjs/vega-popover_2.cjs.entry.js +320 -0
- package/dist/cjs/vega-progress-tracker.cjs.entry.js +251 -0
- package/dist/cjs/vega-radio_2.cjs.entry.js +741 -0
- package/dist/cjs/vega-section-title.cjs.entry.js +112 -0
- package/dist/cjs/vega-segment-control.cjs.entry.js +347 -0
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +834 -0
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +793 -0
- package/dist/cjs/vega-signature-capture.cjs.entry.js +563 -0
- package/dist/cjs/vega-skeleton-loader-controller-cb631f0e.js +3883 -0
- package/dist/cjs/vega-skeleton.cjs.entry.js +330 -0
- package/dist/cjs/vega-slot-container.cjs.entry.js +40 -0
- package/dist/cjs/vega-stepper.cjs.entry.js +290 -0
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +1244 -0
- package/dist/cjs/vega-table_8.cjs.entry.js +4515 -0
- package/dist/cjs/vega-text.cjs.entry.js +232 -0
- package/dist/cjs/vega-textarea.cjs.entry.js +300 -0
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +2140 -0
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +246 -0
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +300 -0
- package/dist/cjs/vega.cjs.js +42 -0
- package/dist/cjs/y-axis-input-processor-cc6e9196.js +2302 -0
- package/dist/collection/collection-manifest.json +457 -0
- package/dist/collection/components/vega-accordion/slimmers/vega-accordion-expand-controller.js +61 -0
- package/dist/collection/components/vega-accordion/slimmers/vega-accordion-renderer.js +98 -0
- package/dist/collection/components/vega-accordion/vega-accordion.css +170 -0
- package/dist/collection/components/vega-accordion/vega-accordion.js +310 -0
- package/dist/collection/components/vega-app-footer/vega-app-footer.css +167 -0
- package/dist/collection/components/vega-app-footer/vega-app-footer.js +420 -0
- package/dist/collection/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.js +26 -0
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.css +2087 -0
- package/dist/collection/components/vega-app-header-button/vega-app-header-button.js +564 -0
- package/dist/collection/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.js +59 -0
- package/dist/collection/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.js +31 -0
- package/dist/collection/components/vega-backdrop/vega-backdrop.css +28 -0
- package/dist/collection/components/vega-backdrop/vega-backdrop.js +149 -0
- package/dist/collection/components/vega-banner/slimmers/controllers/vega-banner-icon-controller.js +51 -0
- package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-action-button-renderer.js +51 -0
- package/dist/collection/components/vega-banner/slimmers/renderers/vega-banner-renderer.js +120 -0
- package/dist/collection/components/vega-banner/vega-banner.css +167 -0
- package/dist/collection/components/vega-banner/vega-banner.js +355 -0
- package/dist/collection/components/vega-box/interface.js +1 -0
- package/dist/collection/components/vega-box/slimmers/controllers/vega-box-state-styles-controller.js +117 -0
- package/dist/collection/components/vega-box/vega-box.css +7226 -0
- package/dist/collection/components/vega-box/vega-box.js +798 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.js +43 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.js +29 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.js +46 -0
- package/dist/collection/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.js +60 -0
- package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.css +182 -0
- package/dist/collection/components/vega-breadcrumb/vega-breadcrumb.js +190 -0
- package/dist/collection/components/vega-button/slimmers/renderers/vega-button-loading-renderer.js +24 -0
- package/dist/collection/components/vega-button/vega-button.css +199 -0
- package/dist/collection/components/vega-button/vega-button.js +481 -0
- package/dist/collection/components/vega-button-circle/vega-button-circle.css +402 -0
- package/dist/collection/components/vega-button-circle/vega-button-circle.js +434 -0
- package/dist/collection/components/vega-button-group/slimmers/controllers/vega-button-group-click-controller.js +38 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.js +42 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.js +153 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.css +73 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.js +194 -0
- package/dist/collection/components/vega-button-group/vega-button-group.css +26 -0
- package/dist/collection/components/vega-button-group/vega-button-group.js +229 -0
- package/dist/collection/components/vega-button-link/vega-button-link.css +335 -0
- package/dist/collection/components/vega-button-link/vega-button-link.js +415 -0
- package/dist/collection/components/vega-calendar/icons/clock-three.js +3 -0
- package/dist/collection/components/vega-calendar/icons/ellipsis-vertical.js +3 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.js +117 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.js +124 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-responsive-controller.js +74 -0
- package/dist/collection/components/vega-calendar/slimmers/common/controllers/vega-calendar-view-controller.js +70 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/calendar-event-sorter.js +91 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/base-repeat-pattern.js +61 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-daily-repeat-pattern.js +70 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-monthly-repeat-pattern.js +90 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-repeat-pattern-factory.js +60 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-weekly-repeat-pattern.js +163 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-yearly-repeat-pattern.js +92 -0
- package/dist/collection/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.js +105 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout-cell.js +43 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout-generator.js +23 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/base-event-layout.js +11 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout-generator.js +84 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout-row.js +41 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/full-day-event-layout.js +42 -0
- package/dist/collection/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.js +94 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.js +43 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-full-day-event-layout-renderer.js +99 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-renderer.js +27 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.js +182 -0
- package/dist/collection/components/vega-calendar/slimmers/common/renderers/vega-calendar-view-renderer.js +30 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-more-button-renderer.js +46 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-renderer.js +86 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-column.js +50 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-generator.js +29 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout.js +35 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.js +72 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-day-event-layout-renderer.js +70 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-timed-event-renderer.js +52 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-time-line-renderer.js +152 -0
- package/dist/collection/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.js +105 -0
- package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.js +179 -0
- package/dist/collection/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.js +116 -0
- package/dist/collection/components/vega-calendar/utils/index.js +32 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-bg-color-controller.js +29 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-slot-controller.js +76 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-title-max-height-controller.js +37 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.js +42 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.js +208 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.css +371 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +110 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.css +10 -0
- package/dist/collection/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.js +61 -0
- package/dist/collection/components/vega-calendar/vega-calendar.css +658 -0
- package/dist/collection/components/vega-calendar/vega-calendar.js +547 -0
- package/dist/collection/components/vega-card/vega-card.css +6713 -0
- package/dist/collection/components/vega-card/vega-card.js +193 -0
- package/dist/collection/components/vega-carousel/vega-carousel.css +81 -0
- package/dist/collection/components/vega-carousel/vega-carousel.js +586 -0
- package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.css +16 -0
- package/dist/collection/components/vega-chart/vega-bar-chart/vega-bar-chart.js +106 -0
- package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.css +16 -0
- package/dist/collection/components/vega-chart/vega-line-chart/vega-line-chart.js +142 -0
- package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.css +16 -0
- package/dist/collection/components/vega-chart/vega-pie-chart/vega-pie-chart.js +142 -0
- package/dist/collection/components/vega-checkbox/slimmers/controllers/vega-checkbox-show-error-controller.js +59 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.css +137 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.js +492 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox.css +261 -0
- package/dist/collection/components/vega-checkbox/vega-checkbox.js +478 -0
- package/dist/collection/components/vega-chip/vega-chip.css +2338 -0
- package/dist/collection/components/vega-chip/vega-chip.js +617 -0
- package/dist/collection/components/vega-color-picker/vega-color-picker.css +152 -0
- package/dist/collection/components/vega-color-picker/vega-color-picker.js +442 -0
- package/dist/collection/components/vega-combo-box/vega-combo-box.css +229 -0
- package/dist/collection/components/vega-combo-box/vega-combo-box.js +838 -0
- package/dist/collection/components/vega-counter-badge/vega-counter-badge.css +54 -0
- package/dist/collection/components/vega-counter-badge/vega-counter-badge.js +172 -0
- package/dist/collection/components/vega-date-picker/assets/icons.js +11 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.js +260 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.js +33 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.js +136 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.js +48 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.js +53 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.js +176 -0
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.js +49 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.js +335 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.js +114 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.js +107 -0
- package/dist/collection/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.js +83 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.css +640 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.js +36 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker.css +287 -0
- package/dist/collection/components/vega-date-picker/vega-date-picker.js +806 -0
- package/dist/collection/components/vega-dialog/vega-dialog.css +64 -0
- package/dist/collection/components/vega-dialog/vega-dialog.js +331 -0
- package/dist/collection/components/vega-divider/interface.js +1 -0
- package/dist/collection/components/vega-divider/slimmers/controllers/vega-divider-size-controller.js +62 -0
- package/dist/collection/components/vega-divider/vega-divider.css +2545 -0
- package/dist/collection/components/vega-divider/vega-divider.js +170 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.js +124 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.js +174 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-keyboard-conttroller.js +85 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-remote-invocation-controller.js +54 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-render-mode-controller.js +51 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-scrollable-controller.js +142 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.js +107 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.js +222 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.js +68 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-create-renderer.js +50 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-group-level-renderer.js +19 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.js +37 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.js +98 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.js +137 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.js +80 -0
- package/dist/collection/components/vega-dropdown/test/share.js +13 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.css +237 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.js +44 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-group/slimmers/renderers/vega-dropdown-group-renderer.js +32 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.css +62 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.js +93 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-click-controller.js +37 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-state-controller.js +80 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.js +103 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.css +129 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.js +291 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown.css +8 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown.js +1244 -0
- package/dist/collection/components/vega-field-error/slimmers/controllers/vega-field-error-message-controller.js +45 -0
- package/dist/collection/components/vega-field-error/vega-field-error.css +8 -0
- package/dist/collection/components/vega-field-error/vega-field-error.js +81 -0
- package/dist/collection/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.js +50 -0
- package/dist/collection/components/vega-field-label/vega-field-label.css +72 -0
- package/dist/collection/components/vega-field-label/vega-field-label.js +260 -0
- package/dist/collection/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.js +51 -0
- package/dist/collection/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-value-controller.js +49 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-container-renderer.js +168 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.js +114 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-status-renderer.js +26 -0
- package/dist/collection/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-renderer.js +42 -0
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.css +154 -0
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +660 -0
- package/dist/collection/components/vega-flex/vega-flex.css +4024 -0
- package/dist/collection/components/vega-flex/vega-flex.js +435 -0
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-as-controller.js +66 -0
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-classes-controller.js +46 -0
- package/dist/collection/components/vega-font/slimmers/controllers/vega-font-variant-controller.js +22 -0
- package/dist/collection/components/vega-font/slimmers/renderers/vega-font-renderer.js +18 -0
- package/dist/collection/components/vega-font/vega-font.css +1837 -0
- package/dist/collection/components/vega-font/vega-font.js +251 -0
- package/dist/collection/components/vega-form/vega-form.css +8 -0
- package/dist/collection/components/vega-form/vega-form.js +812 -0
- package/dist/collection/components/vega-grid/vega-grid.css +1811 -0
- package/dist/collection/components/vega-grid/vega-grid.js +178 -0
- package/dist/collection/components/vega-hint/vega-hint.js +39 -0
- package/dist/collection/components/vega-icon/vega-icon.css +391 -0
- package/dist/collection/components/vega-icon/vega-icon.js +291 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-actions-visibility-controller.js +46 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-input-controller.js +30 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-preview-controller.js +93 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.js +59 -0
- package/dist/collection/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-value-controller.js +46 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.js +120 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.js +42 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-input-renderer.js +47 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.js +29 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-renderer.js +96 -0
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.js +40 -0
- package/dist/collection/components/vega-image-uploader/vega-image-uploader.css +383 -0
- package/dist/collection/components/vega-image-uploader/vega-image-uploader.js +789 -0
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-copy-paste-controller.js +43 -0
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.js +143 -0
- package/dist/collection/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.js +37 -0
- package/dist/collection/components/vega-input/vega-input.css +274 -0
- package/dist/collection/components/vega-input/vega-input.js +1147 -0
- package/dist/collection/components/vega-input-credit-card/assets/icons.js +22 -0
- package/dist/collection/components/vega-input-credit-card/test/share.js +21 -0
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.css +11 -0
- package/dist/collection/components/vega-input-credit-card/vega-input-credit-card.js +635 -0
- package/dist/collection/components/vega-input-phone-number/assets/countries.js +247 -0
- package/dist/collection/components/vega-input-phone-number/assets/country-flags.js +493 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ac.js +692 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ad.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ae.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/af.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ag.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ai.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/al.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/am.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ao.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ar.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/as.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/at.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/au.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/aw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ax.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/az.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ba.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/be.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/br.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bs.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/by.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/bz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ca.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ch.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ci.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ck.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/co.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cx.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/cz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/de.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/do.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/dz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ec.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ee.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/eg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/eh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/er.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/es.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/et.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/fr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ga.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ge.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/gy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ht.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/hu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/id.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ie.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/il.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/im.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/in.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/io.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/iq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ir.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/is.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/it.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/je.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/jm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/jo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/jp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ke.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ki.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/km.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ky.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/kz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/la.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/li.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ls.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/lv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ly.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ma.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/md.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/me.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mh.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ml.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mo.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mp.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mq.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ms.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mx.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/my.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/mz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/na.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ne.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ng.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ni.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/no.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/np.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/nz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/om.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pa.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pe.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ph.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ps.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/pw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/py.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/qa.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/re.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ro.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/rs.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ru.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/rw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sa.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sb.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sd.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/se.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sh.js +167 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/si.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/so.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ss.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/st.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sx.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/sz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ta.js +79 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/td.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/th.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tj.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tl.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/to.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tr.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tv.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/tz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ua.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ug.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/us.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/uy.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/uz.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/va.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vc.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ve.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vg.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vi.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vn.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/vu.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/wf.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ws.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/xk.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/ye.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/yt.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/za.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/zm.js +4 -0
- package/dist/collection/components/vega-input-phone-number/assets/flags/zw.js +4 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/controllers/country-select-controller.js +62 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.js +154 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.js +174 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.js +102 -0
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/vega-input-phone-number-renderer.js +60 -0
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.css +89 -0
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +561 -0
- package/dist/collection/components/vega-input-range/slimmers/controllers/vega-input-range-value-controller.js +84 -0
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-clear-icon-renderer.js +59 -0
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.js +140 -0
- package/dist/collection/components/vega-input-range/slimmers/renderers/vega-input-range-renderer.js +66 -0
- package/dist/collection/components/vega-input-range/vega-input-range.css +161 -0
- package/dist/collection/components/vega-input-range/vega-input-range.js +597 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.js +77 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-items-slot-controler.js +62 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-lazy-load-controller.js +70 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-source-controller.js +48 -0
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-value-controller.js +100 -0
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.js +142 -0
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-renderer.js +55 -0
- package/dist/collection/components/vega-input-select/vega-input-select.css +310 -0
- package/dist/collection/components/vega-input-select/vega-input-select.js +812 -0
- package/dist/collection/components/vega-item-toggle/vega-item-toggle.css +102 -0
- package/dist/collection/components/vega-item-toggle/vega-item-toggle.js +263 -0
- package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.css +26 -0
- package/dist/collection/components/vega-loader-wrapper/vega-loader-wrapper.js +37 -0
- package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.css +238 -0
- package/dist/collection/components/vega-loading-indicator/vega-loading-indicator.js +313 -0
- package/dist/collection/components/vega-modal/slimmers/controllers/vega-nested-modal-controller.js +33 -0
- package/dist/collection/components/vega-modal/vega-modal.css +2668 -0
- package/dist/collection/components/vega-modal/vega-modal.js +954 -0
- package/dist/collection/components/vega-nav/interface.js +1 -0
- package/dist/collection/components/vega-nav/slimmers/renderers/vega-nav-list-renderer.js +44 -0
- package/dist/collection/components/vega-nav/slimmers/vega-nav-observer-slimmer.js +52 -0
- package/dist/collection/components/vega-nav/vega-left-nav/assets/icons.js +6 -0
- package/dist/collection/components/vega-nav/vega-left-nav/internal/vega-left-nav-separator.js +5 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.js +50 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.js +96 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.js +128 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.js +44 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-footer-renderer.js +31 -0
- package/dist/collection/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.js +39 -0
- package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.css +199 -0
- package/dist/collection/components/vega-nav/vega-left-nav/vega-left-nav.js +354 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/slimmers/controllers/vega-left-nav-group-controller.js +30 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/slimmers/renderers/vega-left-nav-group-renderer.js +60 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.css +110 -0
- package/dist/collection/components/vega-nav/vega-left-nav-group/vega-left-nav-group.js +141 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/controllers/vega-left-nav-link-controller.js +44 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.js +75 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.css +103 -0
- package/dist/collection/components/vega-nav/vega-left-nav-link/vega-left-nav-link.js +193 -0
- package/dist/collection/components/vega-nav/vega-left-nav-section/slimmers/renderers/vega-left-nav-section-renderer.js +40 -0
- package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.css +75 -0
- package/dist/collection/components/vega-nav/vega-left-nav-section/vega-left-nav-section.js +114 -0
- package/dist/collection/components/vega-nav/vega-nav-card/slimmers/controllers/vega-nav-card-max-height-controller.js +38 -0
- package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.css +34 -0
- package/dist/collection/components/vega-nav/vega-nav-card/vega-nav-card.js +115 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.css +25 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.js +37 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification.css +317 -0
- package/dist/collection/components/vega-page-notification/vega-page-notification.js +313 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-current-page-label.js +6 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-go-to.js +40 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-page-selector.js +62 -0
- package/dist/collection/components/vega-pagination/internal/vega-pagination-page-size-selector.js +22 -0
- package/dist/collection/components/vega-pagination/vega-pagination.css +163 -0
- package/dist/collection/components/vega-pagination/vega-pagination.js +399 -0
- package/dist/collection/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.js +49 -0
- package/dist/collection/components/vega-popover/slimmers/renderers/vega-popover-appender-renderer.js +45 -0
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.css +140 -0
- package/dist/collection/components/vega-popover/vega-popover-content-box/vega-popover-content-box.js +73 -0
- package/dist/collection/components/vega-popover/vega-popover.css +8 -0
- package/dist/collection/components/vega-popover/vega-popover.js +441 -0
- package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.css +430 -0
- package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +473 -0
- package/dist/collection/components/vega-radio/slimmers/controllers/vega-radio-show-error-controller.js +65 -0
- package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-keyboard-controller.js +99 -0
- package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-radio-items-controller.js +95 -0
- package/dist/collection/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-value-controller.js +47 -0
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.css +137 -0
- package/dist/collection/components/vega-radio/vega-radio-group/vega-radio-group.js +509 -0
- package/dist/collection/components/vega-radio/vega-radio.css +203 -0
- package/dist/collection/components/vega-radio/vega-radio.js +434 -0
- package/dist/collection/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.js +54 -0
- package/dist/collection/components/vega-section-title/vega-section-title.css +91 -0
- package/dist/collection/components/vega-section-title/vega-section-title.js +145 -0
- package/dist/collection/components/vega-segment-control/slimmers/controllers/vega-segment-control-selected-controller.js +49 -0
- package/dist/collection/components/vega-segment-control/slimmers/controllers/vega-segment-overflow-controller.js +68 -0
- package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-control-renderer.js +22 -0
- package/dist/collection/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.js +68 -0
- package/dist/collection/components/vega-segment-control/vega-segment-control.css +130 -0
- package/dist/collection/components/vega-segment-control/vega-segment-control.js +302 -0
- package/dist/collection/components/vega-selection-chip/interface.js +1 -0
- package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-checked-cotroller.js +42 -0
- package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-show-error-controller.js +63 -0
- package/dist/collection/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-state-controller.js +77 -0
- package/dist/collection/components/vega-selection-chip/slimmers/renderers/vega-selection-chip-renderer.js +102 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/interface.js +1 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-items-controller.js +170 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-value-controller.js +68 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.js +45 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.css +91 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.js +369 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip.css +175 -0
- package/dist/collection/components/vega-selection-chip/vega-selection-chip.js +383 -0
- package/dist/collection/components/vega-selection-tile/interface.js +1 -0
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-checked-cotroller.js +56 -0
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-show-error-controller.js +60 -0
- package/dist/collection/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.js +73 -0
- package/dist/collection/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.js +95 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-items-controller.js +61 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-value-controller.js +112 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.js +66 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.css +128 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.js +403 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile.css +149 -0
- package/dist/collection/components/vega-selection-tile/vega-selection-tile.js +300 -0
- package/dist/collection/components/vega-signature-capture/assets/icons.js +5 -0
- package/dist/collection/components/vega-signature-capture/slimmers/renderers/vega-signature-capture-renderer.js +19 -0
- package/dist/collection/components/vega-signature-capture/slimmers/written-mode/controllers/written-mode-svg-controller.js +222 -0
- package/dist/collection/components/vega-signature-capture/slimmers/written-mode/renderers/written-mode-renderer.js +112 -0
- package/dist/collection/components/vega-signature-capture/vega-signature-capture.css +154 -0
- package/dist/collection/components/vega-signature-capture/vega-signature-capture.js +542 -0
- 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 +80 -0
- package/dist/collection/components/vega-skeleton/vega-skeleton.js +182 -0
- package/dist/collection/components/vega-slot-container/vega-slot-container.css +3 -0
- package/dist/collection/components/vega-slot-container/vega-slot-container.js +37 -0
- package/dist/collection/components/vega-stepper/vega-stepper.css +110 -0
- package/dist/collection/components/vega-stepper/vega-stepper.js +478 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.js +87 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.js +216 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.js +146 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.js +35 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.js +95 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.js +60 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-content-renderer.js +24 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.js +91 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.js +48 -0
- package/dist/collection/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.js +91 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.css +12 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.js +98 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.css +222 -0
- package/dist/collection/components/vega-tab-group/vega-tab-group.js +389 -0
- package/dist/collection/components/vega-table/interface.js +10 -0
- package/dist/collection/components/vega-table/internal/vega-table-scrollable-container.js +23 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-children-controller.js +214 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-data-source-controller.js +175 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-editable-controller.js +284 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.js +244 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-pagination-controller.js +80 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.js +83 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.js +407 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sort-controller.js +91 -0
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sorter.js +41 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-body-renderer.js +67 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-cell-renderer.js +103 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.js +42 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-header-renderer.js +51 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.js +86 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-renderer.js +93 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-row-renderer.js +49 -0
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-scroll-container-renderer.js +34 -0
- package/dist/collection/components/vega-table/test/utils.js +22 -0
- package/dist/collection/components/vega-table/test/vega-table-sorter.test.js +508 -0
- package/dist/collection/components/vega-table/type-guard.js +20 -0
- package/dist/collection/components/vega-table/utils.js +44 -0
- package/dist/collection/components/vega-table/vega-table-body/vega-table-body.css +8 -0
- package/dist/collection/components/vega-table/vega-table-body/vega-table-body.js +45 -0
- package/dist/collection/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.js +28 -0
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.css +116 -0
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.js +165 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.js +88 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-expand-controller.js +63 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-selection-controller.js +48 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.js +44 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.js +34 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.css +55 -0
- package/dist/collection/components/vega-table/vega-table-expand-row/vega-table-expand-row.js +125 -0
- package/dist/collection/components/vega-table/vega-table-head/slimmers/controllers/vega-table-head-state-controller.js +36 -0
- package/dist/collection/components/vega-table/vega-table-head/vega-table-head.css +20 -0
- package/dist/collection/components/vega-table/vega-table-head/vega-table-head.js +72 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.js +28 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.css +134 -0
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +298 -0
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.js +54 -0
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.js +103 -0
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.js +119 -0
- package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.css +74 -0
- package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.js +127 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.js +95 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.js +81 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.js +88 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.js +119 -0
- package/dist/collection/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.js +147 -0
- package/dist/collection/components/vega-table/vega-table-row/vega-table-row.css +156 -0
- package/dist/collection/components/vega-table/vega-table-row/vega-table-row.js +231 -0
- package/dist/collection/components/vega-table/vega-table.css +114 -0
- package/dist/collection/components/vega-table/vega-table.js +1846 -0
- package/dist/collection/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.js +163 -0
- package/dist/collection/components/vega-text/vega-text.css +16 -0
- package/dist/collection/components/vega-text/vega-text.js +118 -0
- package/dist/collection/components/vega-textarea/vega-textarea.css +287 -0
- package/dist/collection/components/vega-textarea/vega-textarea.js +630 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-dropdown-selected-items-controller.js +199 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-input-mask-controller.js +45 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-keyboard-controller.js +117 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.js +90 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.js +160 -0
- package/dist/collection/components/vega-time-picker/slimmers/controllers/vega-time-picker-value-controller.js +230 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-label-renderer.js +48 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.js +51 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-dropdown-renderer.js +208 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.js +173 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-dropdown-renderer.js +153 -0
- package/dist/collection/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.js +98 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.css +148 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.js +37 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker.css +170 -0
- package/dist/collection/components/vega-time-picker/vega-time-picker.js +658 -0
- package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.css +149 -0
- package/dist/collection/components/vega-toggle-switch/vega-toggle-switch.js +411 -0
- package/dist/collection/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.js +84 -0
- package/dist/collection/components/vega-tooltip/slimmers/renderers/vega-tooltip-content-box-renderer.js +19 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.css +146 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.js +60 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip.css +8 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip.js +384 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-mode-controller.js +70 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-position-controller.js +171 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.js +199 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-loading-indicator-renderer.js +23 -0
- package/dist/collection/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-renderer.js +66 -0
- package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.css +11 -0
- package/dist/collection/components/vega-virtual-scroll/vega-virtual-scroll.js +322 -0
- package/dist/collection/constants/card-config.js +60 -0
- package/dist/collection/constants/locale.js +238 -0
- package/dist/collection/constants/misc.js +6 -0
- package/dist/collection/constants/public-api.js +9 -0
- package/dist/collection/constants/regex.js +6 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/IconManager/runtime-metrics-payload-definition.js +62 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.js +82 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaDialogController/runtime-metrics-payload-definition.js +22 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaEventManager/runtime-metrics-payload-definition.js +213 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaLoaderController/runtime-metrics-payload-definition.js +42 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaNotifyController/runtime-metrics-payload-definition.js +62 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/VegaSkeletonLoader/runtime-metrics-payload-definition.js +62 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/WaitForVegaHandler/runtime-metrics-payload-definition.js +22 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/public-api/zindex-manager/runtime-metrics-payload-definition.js +43 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-circle/runtime-metrics-payload-definition.js +38 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-group/runtime-metrics-payload-definition.js +38 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-button-link/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-card/runtime-metrics-payload-definition.js +38 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-carousel/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-chip/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-color-picker/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-combo-box/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-date-picker/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-dropdown/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-flex/runtime-metrics-payload-definition.js +98 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-font/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-image-uploader/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-input/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-credit-card/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-item-toggle/runtime-metrics-payload-definition.js +36 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-left-nav/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-loading-indicator/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-modal/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-nav-card/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-progress-tracker/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-stepper/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-tab-group/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-table/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-textarea/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.js +50 -0
- package/dist/collection/constants/runtime-metrics-payload-definition/vega-tooltip/runtime-metrics-payload-definition.js +26 -0
- package/dist/collection/constants/tests/validator.test.js +24 -0
- package/dist/collection/constants/tokens/border-radius.js +16 -0
- package/dist/collection/constants/tokens/borders.js +37 -0
- package/dist/collection/constants/tokens/breakpoints.js +10 -0
- package/dist/collection/constants/tokens/colors-mapping.js +229 -0
- package/dist/collection/constants/tokens/colors.js +205 -0
- package/dist/collection/constants/tokens/icons.js +515 -0
- package/dist/collection/constants/tokens/overridable-border-tokens.js +305 -0
- package/dist/collection/constants/tokens/overridable-color-tokens.js +835 -0
- package/dist/collection/constants/tokens/overridable-ring-tokens.js +49 -0
- package/dist/collection/constants/tokens/rings.js +5 -0
- package/dist/collection/constants/tokens/shadows.js +17 -0
- package/dist/collection/constants/tokens/spacing.js +21 -0
- package/dist/collection/constants/tokens/tailwind.extend.js +56 -0
- package/dist/collection/constants/tokens/themes/dark-mode-border-tokens.js +32 -0
- package/dist/collection/constants/tokens/themes/dark-mode-color-tokens.js +184 -0
- package/dist/collection/constants/tokens/themes/dark-mode-ring-tokens.js +7 -0
- package/dist/collection/constants/tokens/themes/dark-mode-shadow-tokens.js +12 -0
- package/dist/collection/constants/tokens/typography.js +1074 -0
- package/dist/collection/constants/ui.js +85 -0
- package/dist/collection/constants/validator.js +7 -0
- package/dist/collection/decorators/method-decorators/component-load-required.js +44 -0
- package/dist/collection/decorators/method-decorators/tests/component-load-required.test.js +114 -0
- package/dist/collection/decorators/property-decorators/inject-element-appender.js +203 -0
- package/dist/collection/decorators/property-decorators/inject-keyboard-manager.js +32 -0
- package/dist/collection/decorators/property-decorators/tests/inject-element-appender-proxy.test.js +237 -0
- package/dist/collection/decorators/property-decorators/tests/inject-keyboard-manager.test.js +91 -0
- package/dist/collection/global/icons/arrow-rotate-right.js +3 -0
- package/dist/collection/global/icons/arrow-up-from-line.js +3 -0
- package/dist/collection/global/icons/chevron-down.js +3 -0
- package/dist/collection/global/icons/chevron-left.js +3 -0
- package/dist/collection/global/icons/chevron-right.js +3 -0
- package/dist/collection/global/icons/chevron-up.js +3 -0
- package/dist/collection/global/icons/circle-check-regular.js +3 -0
- package/dist/collection/global/icons/circle-check.js +3 -0
- package/dist/collection/global/icons/circle-info.js +3 -0
- package/dist/collection/global/icons/circle-question.js +3 -0
- package/dist/collection/global/icons/circle-xmark.js +3 -0
- package/dist/collection/global/icons/trash-can.js +3 -0
- package/dist/collection/global/icons/triangle-exclamation.js +3 -0
- package/dist/collection/global/icons/xmark-large.js +3 -0
- package/dist/collection/global/scripts/before-vega-load.js +156 -0
- package/dist/collection/global/tests/before-vega-load.test.js +55 -0
- package/dist/collection/helpers/calendar/calendar-date.js +114 -0
- package/dist/collection/helpers/calendar/calendar-event.js +305 -0
- package/dist/collection/helpers/calendar/calendar-period/calendar-period.abstract.js +83 -0
- package/dist/collection/helpers/calendar/calendar-period/day-period.js +34 -0
- package/dist/collection/helpers/calendar/calendar-period/month-period.js +48 -0
- package/dist/collection/helpers/calendar/calendar-period/week-period.js +35 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.js +41 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/day-view-generator.js +13 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/month-view-generator.js +24 -0
- package/dist/collection/helpers/calendar/calendar-view-generator/week-view-generator.js +15 -0
- package/dist/collection/helpers/calendar/calendar-view.js +25 -0
- package/dist/collection/helpers/calendar/index.js +10 -0
- package/dist/collection/helpers/calendar/test/calendar-date.test.js +71 -0
- package/dist/collection/helpers/calendar/test/calendar-event.test.js +133 -0
- package/dist/collection/helpers/calendar/test/calendar-period/day-period.test.js +65 -0
- package/dist/collection/helpers/calendar/test/calendar-period/month-period.test.js +60 -0
- package/dist/collection/helpers/calendar/test/calendar-period/week-period.test.js +60 -0
- package/dist/collection/helpers/calendar/test/calendar-view-generator/day-view-generator.test.js +19 -0
- package/dist/collection/helpers/calendar/test/calendar-view-generator/month-view-generator.test.js +73 -0
- package/dist/collection/helpers/calendar/test/calendar-view-generator/week-view-generator.test.js +28 -0
- package/dist/collection/helpers/calendar/test/calendar-view.test.js +9 -0
- package/dist/collection/helpers/calendar/test/index.test.js +13 -0
- package/dist/collection/helpers/calendar/test/utils.test.js +9 -0
- package/dist/collection/helpers/calendar/utils.js +10 -0
- package/dist/collection/helpers/change-manager/change-manager.js +73 -0
- package/dist/collection/helpers/change-manager/observer/observer.js +28 -0
- package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory.js +72 -0
- package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory.js +40 -0
- package/dist/collection/helpers/change-manager/subject/dom-node-subject/dom-node-subject.js +23 -0
- package/dist/collection/helpers/change-manager/subject/static-subject/static-subject-title.js +25 -0
- package/dist/collection/helpers/change-manager/subject/static-subject/static-subject.js +21 -0
- package/dist/collection/helpers/change-manager/subject/subject-interface.js +1 -0
- package/dist/collection/helpers/change-manager/test/change-manager.test.js +30 -0
- package/dist/collection/helpers/change-manager/test/dom-node-subject-factory.test.js +38 -0
- package/dist/collection/helpers/chart/bar-chart.js +67 -0
- package/dist/collection/helpers/chart/base-chart.js +88 -0
- package/dist/collection/helpers/chart/controllers/chart-dimension-controller.js +113 -0
- package/dist/collection/helpers/chart/drawers/arc-path-drawer.js +32 -0
- package/dist/collection/helpers/chart/drawers/base-drawer.js +81 -0
- package/dist/collection/helpers/chart/drawers/legend-drawer.js +88 -0
- package/dist/collection/helpers/chart/drawers/line-drawer.js +14 -0
- package/dist/collection/helpers/chart/drawers/path-drawer.js +24 -0
- package/dist/collection/helpers/chart/drawers/rect-drawer.js +31 -0
- package/dist/collection/helpers/chart/drawers/text-drawer.js +17 -0
- package/dist/collection/helpers/chart/drawers/x-axis-drawer.js +15 -0
- package/dist/collection/helpers/chart/drawers/y-axis-drawer.js +13 -0
- package/dist/collection/helpers/chart/graph-context-factory.js +36 -0
- package/dist/collection/helpers/chart/input-processors/format-time-positions-input-processor.js +44 -0
- package/dist/collection/helpers/chart/input-processors/horizontal-x-axis-input-processor.js +31 -0
- package/dist/collection/helpers/chart/input-processors/horizontal-y-axis-input-processor.js +31 -0
- package/dist/collection/helpers/chart/input-processors/input-processor.js +1 -0
- package/dist/collection/helpers/chart/input-processors/layout-input-processor.js +27 -0
- package/dist/collection/helpers/chart/input-processors/legend-input-processor.js +30 -0
- package/dist/collection/helpers/chart/input-processors/line-path-input-processor.js +54 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-arc-path-input-processor.js +24 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-filter-input-processor.js +17 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-radius-input-processor.js +28 -0
- package/dist/collection/helpers/chart/input-processors/pie-chart-text-input-processor.js +22 -0
- package/dist/collection/helpers/chart/input-processors/processor-chain.js +28 -0
- package/dist/collection/helpers/chart/input-processors/sort-positions-input-processor.js +31 -0
- package/dist/collection/helpers/chart/input-processors/x-axis-input-processor.js +60 -0
- package/dist/collection/helpers/chart/input-processors/x-axis-label-formatter-input-processor.js +67 -0
- package/dist/collection/helpers/chart/input-processors/y-axis-input-processor.js +59 -0
- package/dist/collection/helpers/chart/interacting-entry-generator/arc-path-hover-generator.js +69 -0
- package/dist/collection/helpers/chart/interacting-entry-generator/interacting-entry-generator.js +16 -0
- package/dist/collection/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.js +76 -0
- package/dist/collection/helpers/chart/interactors/base-interactor.js +92 -0
- package/dist/collection/helpers/chart/interactors/canvas-interactor.js +6 -0
- package/dist/collection/helpers/chart/interactors/interactor-factory.js +26 -0
- package/dist/collection/helpers/chart/interactors/svg-interactor.js +29 -0
- package/dist/collection/helpers/chart/line-chart.js +65 -0
- package/dist/collection/helpers/chart/pie-chart.js +56 -0
- package/dist/collection/helpers/chart/renderers/base-renderer.js +16 -0
- package/dist/collection/helpers/chart/renderers/canvas-renderer.js +198 -0
- package/dist/collection/helpers/chart/renderers/renderer-factory.js +25 -0
- package/dist/collection/helpers/chart/renderers/svg-renderer.js +297 -0
- package/dist/collection/helpers/chart/test/controllers/chart-dimension-controller.test.js +63 -0
- package/dist/collection/helpers/chart/test/drawers/arc-path-drawer.test.js +55 -0
- package/dist/collection/helpers/chart/test/drawers/legend-drawer.test.js +94 -0
- package/dist/collection/helpers/chart/test/drawers/line-drawer.test.js +25 -0
- package/dist/collection/helpers/chart/test/drawers/path-drawer.test.js +21 -0
- package/dist/collection/helpers/chart/test/drawers/rect-drawer.test.js +78 -0
- package/dist/collection/helpers/chart/test/drawers/text-drawer.test.js +25 -0
- package/dist/collection/helpers/chart/test/drawers/x-axis-drawer.test.js +38 -0
- package/dist/collection/helpers/chart/test/drawers/y-axis-drawer.test.js +44 -0
- package/dist/collection/helpers/chart/test/graph-context-factory.test.js +17 -0
- package/dist/collection/helpers/chart/test/input-processors/format-time-positions-input-processor.test.js +62 -0
- package/dist/collection/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.js +45 -0
- package/dist/collection/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.js +80 -0
- package/dist/collection/helpers/chart/test/input-processors/layout-input-processor.test.js +40 -0
- package/dist/collection/helpers/chart/test/input-processors/line-path-input-processor.test.js +16 -0
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.js +20 -0
- package/dist/collection/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.js +48 -0
- package/dist/collection/helpers/chart/test/input-processors/sort-positions-input-processor.test.js +53 -0
- package/dist/collection/helpers/chart/test/input-processors/x-axis-input-processor.test.js +39 -0
- package/dist/collection/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.js +62 -0
- package/dist/collection/helpers/chart/test/input-processors/y-axis-input-processor.test.js +41 -0
- package/dist/collection/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.js +11 -0
- package/dist/collection/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.js +25 -0
- package/dist/collection/helpers/chart/test/interactors/interactor-factory.test.js +19 -0
- package/dist/collection/helpers/chart/test/interactors/svg-interactor.test.js +48 -0
- package/dist/collection/helpers/chart/test/line-chart.test.js +96 -0
- package/dist/collection/helpers/chart/test/pie-chart.test.js +38 -0
- package/dist/collection/helpers/chart/test/renderers/canvas-renderer.test.js +31 -0
- package/dist/collection/helpers/chart/test/renderers/renderer-factory.test.js +19 -0
- package/dist/collection/helpers/chart/test/renderers/svg-renderer.test.js +99 -0
- package/dist/collection/helpers/common/index.js +10 -0
- package/dist/collection/helpers/common/test/common.test.js +7 -0
- package/dist/collection/helpers/common/test/wait-for-vega-handler.test.js +17 -0
- package/dist/collection/helpers/common/wait-for-vega-handler.js +32 -0
- package/dist/collection/helpers/dialog/test/vega-dialog-controller.test.js +96 -0
- package/dist/collection/helpers/dialog/vega-dialog-controller.js +54 -0
- package/dist/collection/helpers/event-manager/event-delegated/base-strategy.js +77 -0
- package/dist/collection/helpers/event-manager/event-delegated/jquery-delegated-event-strategy.js +1 -0
- package/dist/collection/helpers/event-manager/event-delegated/jquery-delegated-strategy-controller.js +97 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-button-click-strategy.js +23 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-checkbox-change-strategy.js +23 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-input-select-change-strategy.js +24 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-input-strategy.js +30 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-radio-change-strategy.js +23 -0
- package/dist/collection/helpers/event-manager/event-delegated/vega-textarea-change-strategy.js +21 -0
- package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +70 -0
- package/dist/collection/helpers/event-manager/event-id/vega-event-id-interface.js +1 -0
- package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +100 -0
- package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +33 -0
- package/dist/collection/helpers/event-manager/internal-vega-event-manager.js +70 -0
- package/dist/collection/helpers/event-manager/slimmers/child-nodes-event-prevent-slimmer.js +155 -0
- package/dist/collection/helpers/event-manager/slimmers/child-nodes-notify-observer-slimmer.js +85 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/event-emit-handler.js +1 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/jquery-delegated-event-emit-handler.js +54 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/native-event-emit-handler.js +40 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-handlers/vega-event-emit-handler.js +39 -0
- package/dist/collection/helpers/event-manager/slimmers/event-emit-slimmer.js +123 -0
- package/dist/collection/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.js +209 -0
- package/dist/collection/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.js +81 -0
- package/dist/collection/helpers/event-manager/test/component-event-id-map.test.js +13 -0
- package/dist/collection/helpers/event-manager/test/event-emit-slimmer.test.js +107 -0
- package/dist/collection/helpers/event-manager/test/internal-vega-event-manager.test.js +70 -0
- package/dist/collection/helpers/event-manager/test/jquery-delegated-strategy-controller.test.js +131 -0
- package/dist/collection/helpers/event-manager/test/vega-event-id.test.js +16 -0
- package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +92 -0
- package/dist/collection/helpers/event-manager/vega-event-manager.js +55 -0
- package/dist/collection/helpers/feature-control/feature-flag-controller.js +121 -0
- package/dist/collection/helpers/feature-control/feature-flags-map.js +179 -0
- package/dist/collection/helpers/feature-control/tests/feature-flag-controller.test.js +69 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.js +56 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-box-display-formatter.js +32 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-class-string-formatter.js +27 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-custom-formatter.js +28 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-display-formatter.js +31 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-align-item-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-direction-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-justify-content-formatter.js +57 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-flex-wrap-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-format-facade.js +85 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-gap-formatter.js +40 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-columns-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-grid-rows-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.js +44 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.js +44 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-size-formatter.js +34 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-text-align-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-translocation-formatter.js +29 -0
- package/dist/collection/helpers/formatter/responsive-map-formatter/responsive-width-and-height-formatter.js +30 -0
- package/dist/collection/helpers/formatter/state-formatter/state-background-color-formatter.js +46 -0
- package/dist/collection/helpers/formatter/state-formatter/state-border-color-formatter.js +45 -0
- package/dist/collection/helpers/formatter/state-formatter/state-border-formatter.js +47 -0
- package/dist/collection/helpers/formatter/state-formatter/state-format-facade.js +42 -0
- package/dist/collection/helpers/formatter/state-formatter/state-shadow-formatter.js +42 -0
- package/dist/collection/helpers/formatter/state-formatter/state-variant-formatter.js +35 -0
- package/dist/collection/helpers/formatter/string-formatter/custom-formatter-strategy.js +60 -0
- package/dist/collection/helpers/formatter/string-formatter/number-mask-strategy.js +77 -0
- package/dist/collection/helpers/formatter/string-formatter/number-thousand-comma-strategy.js +69 -0
- package/dist/collection/helpers/formatter/string-formatter/string-mask-strategy.js +160 -0
- package/dist/collection/helpers/formatter/string-formatter/thousand-comma-strategy.js +37 -0
- package/dist/collection/helpers/formatter/style-formatter.js +29 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.js +64 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.js +17 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.js +23 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.js +29 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.js +23 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.js +27 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.js +43 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.js +27 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.js +19 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.js +51 -0
- package/dist/collection/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.js +20 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-background-color-formatter.test.js +18 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-color-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-border-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-format-facade.test.js +27 -0
- package/dist/collection/helpers/formatter/test/state-formatter/state-shadow-formatter.test.js +13 -0
- package/dist/collection/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.js +12 -0
- package/dist/collection/helpers/formatter/test/string-formatter/number-mask-strategy.test.js +83 -0
- package/dist/collection/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.js +30 -0
- package/dist/collection/helpers/formatter/test/string-formatter/string-mask-strategy.test.js +89 -0
- package/dist/collection/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.js +21 -0
- package/dist/collection/helpers/formatter/test/style-formatter.test.js +16 -0
- package/dist/collection/helpers/icon/icon-manager.js +52 -0
- package/dist/collection/helpers/icon/internal-icon-manager.js +40 -0
- package/dist/collection/helpers/icon/test/icon-manager-controller.test.js +101 -0
- package/dist/collection/helpers/icon/test/internal-icon-manager.test.js +18 -0
- package/dist/collection/helpers/immutable/immutable-map.js +113 -0
- package/dist/collection/helpers/immutable/immutable-set.js +95 -0
- package/dist/collection/helpers/immutable/test/immutable-map.test.js +83 -0
- package/dist/collection/helpers/immutable/test/immutable-set.test.js +87 -0
- package/dist/collection/helpers/keyboard/keyboard-manager.js +101 -0
- package/dist/collection/helpers/keyboard/test/keyboard-manager.test.js +107 -0
- package/dist/collection/helpers/level-tracker/nested-level-tracker.js +61 -0
- package/dist/collection/helpers/level-tracker/test/nested-level-tracker.test.js +33 -0
- package/dist/collection/helpers/loading-indicator/tests/vega-loader-controller.test.js +165 -0
- package/dist/collection/helpers/loading-indicator/vega-loader-controller.js +122 -0
- package/dist/collection/helpers/notify/tests/vega-notify-controller.test.js +165 -0
- package/dist/collection/helpers/notify/vega-notify-controller.js +116 -0
- package/dist/collection/helpers/paginator/test/value-paginator.test.js +15 -0
- package/dist/collection/helpers/paginator/value-paginator.js +78 -0
- package/dist/collection/helpers/public-api.js +15 -0
- package/dist/collection/helpers/queue/synchronize-task-queue.js +37 -0
- package/dist/collection/helpers/queue/test/synchronize-task-queue.test.js +48 -0
- package/dist/collection/helpers/remote-invocation/remote-invocation-registry.js +59 -0
- package/dist/collection/helpers/remote-invocation/remote-invocation-registry.test.js +17 -0
- package/dist/collection/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.js +194 -0
- package/dist/collection/helpers/skeleton-loader/vega-skeleton-loader-controller.js +100 -0
- package/dist/collection/helpers/slimmers/component-global-style-slimmer.js +82 -0
- package/dist/collection/helpers/slimmers/component-usage-runtime-metrics.js +77 -0
- package/dist/collection/helpers/slimmers/deprecated-property-slimmer.js +43 -0
- package/dist/collection/helpers/slimmers/element-appender-container/default-wrapper.js +35 -0
- package/dist/collection/helpers/slimmers/element-appender-container/element-appender-container-controller.js +67 -0
- package/dist/collection/helpers/slimmers/element-appender-container/position-relative-to-wrapper.js +38 -0
- package/dist/collection/helpers/slimmers/element-appender-container/vega-modal-wrapper.js +62 -0
- package/dist/collection/helpers/slimmers/element-appender-container/vega-popover-wrapper.js +36 -0
- package/dist/collection/helpers/slimmers/element-appender-slimmer.js +186 -0
- package/dist/collection/helpers/slimmers/field-error-controller-silmmer.js +74 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-slimmer.js +89 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy.js +25 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy.js +19 -0
- package/dist/collection/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy.js +23 -0
- package/dist/collection/helpers/slimmers/form-field-controller-slimmer.js +209 -0
- package/dist/collection/helpers/slimmers/form-field-valid-invoke-slimmer.js +55 -0
- package/dist/collection/helpers/slimmers/global/vega-watch-method-cancel-slimmer.js +98 -0
- package/dist/collection/helpers/slimmers/keyboard-manager-slimmer.js +34 -0
- package/dist/collection/helpers/slimmers/mutation-observer/mutation-observer-filters.js +51 -0
- package/dist/collection/helpers/slimmers/mutation-observer/mutation-observer-slimmer.js +80 -0
- package/dist/collection/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.js +168 -0
- package/dist/collection/helpers/slimmers/page-resize-observer-slimmer.js +117 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.js +23 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.js +74 -0
- package/dist/collection/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.js +96 -0
- package/dist/collection/helpers/slimmers/string-input-formatter-slimmer.js +198 -0
- package/dist/collection/helpers/slimmers/sub-state/sub-state-notify-slimmer-base.js +49 -0
- package/dist/collection/helpers/slimmers/sub-state/sub-state-notify-slimmer.js +24 -0
- package/dist/collection/helpers/slimmers/sub-state/sub-state-observer-slimmer.js +129 -0
- package/dist/collection/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.js +204 -0
- package/dist/collection/helpers/slimmers/test/component-global-style-slimmer.test.js +63 -0
- package/dist/collection/helpers/slimmers/test/component-usage-runtime-metrics.test.js +72 -0
- package/dist/collection/helpers/slimmers/test/deprecated-property-slimmer.test.js +36 -0
- package/dist/collection/helpers/slimmers/test/element-appender-slimmer.test.js +310 -0
- package/dist/collection/helpers/slimmers/test/field-error-controller-slimmer.test.js +54 -0
- package/dist/collection/helpers/slimmers/test/form-field-controller-slimmer.test.js +278 -0
- package/dist/collection/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.js +106 -0
- package/dist/collection/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.js +101 -0
- package/dist/collection/helpers/slimmers/test/keyboard-manager-slimmer.test.js +90 -0
- package/dist/collection/helpers/slimmers/test/page-resize-observer-slimmer.test.js +222 -0
- package/dist/collection/helpers/slimmers/test/string-input-formatter-slimmer.test.js +186 -0
- package/dist/collection/helpers/theme/controllers/color-schema-overriding-controller.js +74 -0
- package/dist/collection/helpers/theme/controllers/dark-mode-style-controller.js +44 -0
- package/dist/collection/helpers/theme/tests/theme-manager-controller.test.js +565 -0
- package/dist/collection/helpers/theme/theme-manager.js +63 -0
- package/dist/collection/helpers/touch-helper/test/touch-listener.test.js +122 -0
- package/dist/collection/helpers/touch-helper/touch-listener.js +133 -0
- package/dist/collection/helpers/ui/element-appender.js +319 -0
- package/dist/collection/helpers/ui/test/element-appender.test.js +425 -0
- package/dist/collection/helpers/validator/form-field-controller.js +445 -0
- package/dist/collection/helpers/validator/rules/check-box-required-rule.js +64 -0
- package/dist/collection/helpers/validator/rules/date-range-rule.js +54 -0
- package/dist/collection/helpers/validator/rules/date-required-rule.js +85 -0
- package/dist/collection/helpers/validator/rules/email-field-rule.js +55 -0
- package/dist/collection/helpers/validator/rules/file-uploader-required-rule.js +16 -0
- package/dist/collection/helpers/validator/rules/input-phone-number-required-rule.js +58 -0
- package/dist/collection/helpers/validator/rules/input-range-min-and-max-rule.js +92 -0
- package/dist/collection/helpers/validator/rules/input-range-required-rule.js +57 -0
- package/dist/collection/helpers/validator/rules/max-number-rule.js +66 -0
- package/dist/collection/helpers/validator/rules/max-string-length-rule.js +65 -0
- package/dist/collection/helpers/validator/rules/min-and-max-date-rule.js +123 -0
- package/dist/collection/helpers/validator/rules/min-number-rule.js +66 -0
- package/dist/collection/helpers/validator/rules/min-string-length-rule.js +65 -0
- package/dist/collection/helpers/validator/rules/required-field-rule.js +79 -0
- package/dist/collection/helpers/validator/rules/time-range-required-rule.js +67 -0
- package/dist/collection/helpers/validator/rules/time-range-rule.js +79 -0
- package/dist/collection/helpers/validator/rules/time-required-rule.js +65 -0
- package/dist/collection/helpers/validator/rules/toggle-switch-required-rule.js +60 -0
- package/dist/collection/helpers/validator/rules/valid-credit-card-number-rule.js +167 -0
- package/dist/collection/helpers/validator/rules/valid-phone-number-rule.js +108 -0
- package/dist/collection/helpers/validator/test/rules/check-box-required-rule.test.js +88 -0
- package/dist/collection/helpers/validator/test/rules/date-range-rule.test.js +67 -0
- package/dist/collection/helpers/validator/test/rules/date-required-rule.test.js +120 -0
- package/dist/collection/helpers/validator/test/rules/email-field-rule.test.js +69 -0
- package/dist/collection/helpers/validator/test/rules/file-uploader-required-rule.test.js +7 -0
- package/dist/collection/helpers/validator/test/rules/input-phone-number-required-rule.test.js +105 -0
- package/dist/collection/helpers/validator/test/rules/input-range-min-and-max-rule.test.js +146 -0
- package/dist/collection/helpers/validator/test/rules/input-range-required-rule.test.js +82 -0
- package/dist/collection/helpers/validator/test/rules/max-number-rule.test.js +97 -0
- package/dist/collection/helpers/validator/test/rules/max-string-length-rule.test.js +85 -0
- package/dist/collection/helpers/validator/test/rules/min-and-max-date-rule.test.js +174 -0
- package/dist/collection/helpers/validator/test/rules/min-number-rule.test.js +97 -0
- package/dist/collection/helpers/validator/test/rules/min-string-length-rule.test.js +85 -0
- package/dist/collection/helpers/validator/test/rules/required-field-rule.test.js +115 -0
- package/dist/collection/helpers/validator/test/rules/time-range-required-rule.test.js +82 -0
- package/dist/collection/helpers/validator/test/rules/time-range-rule.test.js +67 -0
- package/dist/collection/helpers/validator/test/rules/time-required-rule.test.js +116 -0
- package/dist/collection/helpers/validator/test/rules/toggle-switch-required-rule.test.js +72 -0
- package/dist/collection/helpers/validator/test/rules/valid-credit-card-number-rule.test.js +79 -0
- package/dist/collection/helpers/validator/test/rules/valid-phone-number-rule.test.js +74 -0
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.js +65 -0
- package/dist/collection/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.js +82 -0
- package/dist/collection/helpers/validator/test/validator/form-field-controller.test.js +193 -0
- package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.js +101 -0
- package/dist/collection/helpers/validator/validation-rule-handler/form-field-validation-rule-handler.js +66 -0
- package/dist/collection/helpers/vega-telemetry-helper/test/vega-env-manager.test.js +14 -0
- package/dist/collection/helpers/vega-telemetry-helper/vega-env-manager.js +37 -0
- package/dist/collection/helpers/zindex/internal-vega-z-index-manager.js +175 -0
- package/dist/collection/helpers/zindex/test/internal-vega-z-index-manager.test.js +176 -0
- package/dist/collection/helpers/zindex/test/vega-z-index-manager.test.js +46 -0
- package/dist/collection/helpers/zindex/vega-z-index-manager.js +32 -0
- package/dist/collection/index.js +5 -0
- package/dist/collection/polyfill/test-polyfill/e2e/retry.js +42 -0
- package/dist/collection/polyfill/test-polyfill/unit/create-touch-event.js +31 -0
- package/dist/collection/polyfill/test-polyfill/unit/events.js +100 -0
- package/dist/collection/polyfill/test-polyfill/unit/index.js +2 -0
- package/dist/collection/polyfill/test-polyfill/unit/methods.js +29 -0
- package/dist/collection/test-assets/test-icons.js +5 -0
- package/dist/collection/types/class.type.js +1 -0
- package/dist/collection/types/design-token.type.js +1 -0
- package/dist/collection/types/public-api.js +1 -0
- package/dist/collection/types/test/type-guard.test.js +39 -0
- package/dist/collection/types/type-guard.js +372 -0
- package/dist/collection/types/ui.type.js +6 -0
- package/dist/collection/utils/accessibility.js +13 -0
- package/dist/collection/utils/api.js +60 -0
- package/dist/collection/utils/array.js +177 -0
- package/dist/collection/utils/breakpoints.js +49 -0
- package/dist/collection/utils/component.js +131 -0
- package/dist/collection/utils/date.js +84 -0
- package/dist/collection/utils/design-token.js +241 -0
- package/dist/collection/utils/e2e-utils.js +319 -0
- package/dist/collection/utils/effect.js +74 -0
- package/dist/collection/utils/local-storage.js +24 -0
- package/dist/collection/utils/log.js +67 -0
- package/dist/collection/utils/misc.js +35 -0
- package/dist/collection/utils/number.js +83 -0
- package/dist/collection/utils/object.js +32 -0
- package/dist/collection/utils/pagination.js +40 -0
- package/dist/collection/utils/pixel.js +48 -0
- package/dist/collection/utils/position.js +373 -0
- package/dist/collection/utils/public-api.js +4 -0
- package/dist/collection/utils/spec-utils.js +168 -0
- package/dist/collection/utils/string.js +9 -0
- package/dist/collection/utils/test/accessibility.test.js +40 -0
- package/dist/collection/utils/test/api.test.js +34 -0
- package/dist/collection/utils/test/array.test.js +198 -0
- package/dist/collection/utils/test/breakpoint.test.js +37 -0
- package/dist/collection/utils/test/component.test.js +59 -0
- package/dist/collection/utils/test/date.test.js +102 -0
- package/dist/collection/utils/test/design-token.test.js +91 -0
- package/dist/collection/utils/test/effect.test.js +64 -0
- package/dist/collection/utils/test/local-storage.test.js +38 -0
- package/dist/collection/utils/test/log.test.js +49 -0
- package/dist/collection/utils/test/misc.test.js +40 -0
- package/dist/collection/utils/test/number.test.js +14 -0
- package/dist/collection/utils/test/object.test.js +51 -0
- package/dist/collection/utils/test/pagination.test.js +40 -0
- package/dist/collection/utils/test/pixel.test.js +29 -0
- package/dist/collection/utils/test/position.test.js +262 -0
- package/dist/collection/utils/test/spec-utils.test.js +73 -0
- package/dist/collection/utils/test/string.test.js +8 -0
- package/dist/collection/utils/test/test-utils.test.js +70 -0
- package/dist/collection/utils/test/timer.test.js +16 -0
- package/dist/collection/utils/test/ui.test.js +241 -0
- package/dist/collection/utils/test-utils.js +134 -0
- package/dist/collection/utils/timer.js +20 -0
- package/dist/collection/utils/ui.js +200 -0
- package/dist/collection/value-model-adapters/angular-ng-model-accessor-adapter.js +35 -0
- package/dist/collection/value-model-adapters/vue-component-v-model-adaptor.js +30 -0
- package/dist/esm/accessibility-e5fd0fab.js +15 -0
- package/dist/esm/app-globals-07ba32cc.js +250 -0
- package/dist/esm/array-506b88b9.js +169 -0
- package/dist/esm/breakpoints-e59edf8d.js +62 -0
- package/dist/esm/change-manager-6a7eb88c.js +76 -0
- package/dist/esm/chevron-down-4303bddb.js +9 -0
- package/dist/esm/child-nodes-event-prevent-slimmer-501cdd87.js +156 -0
- package/dist/esm/child-nodes-notify-observer-slimmer-50cd94b9.js +88 -0
- package/dist/esm/component-cae24190.js +114 -0
- package/dist/esm/component-global-style-slimmer-000e0c11.js +85 -0
- package/dist/esm/component-load-required-ce710ef5.js +46 -0
- package/dist/esm/component-usage-runtime-metrics-b3f6ac79.js +119 -0
- package/dist/esm/create-public-api-runtime-metrics-slimmer-dc9af92b.js +168 -0
- package/dist/esm/date-732bc749.js +87 -0
- package/dist/esm/deprecated-property-slimmer-43d184b3.js +47 -0
- package/dist/esm/design-token-44525832.js +389 -0
- package/dist/esm/dom-node-subject-observer-factory-0d4b85b8.js +166 -0
- package/dist/esm/dynamic-slimmer-90b8af32.js +61 -0
- package/dist/esm/effect-8efd2c3c.js +49 -0
- package/dist/esm/element-appender-slimmer-1aa00c06.js +1107 -0
- package/dist/esm/event-emit-slimmer-0315fa00.js +255 -0
- package/dist/esm/feature-flag-controller-9be58397.js +303 -0
- package/dist/esm/form-field-controller-slimmer-bf7441bd.js +1093 -0
- package/dist/esm/global-slimmer-registry-17c4efd4.js +283 -0
- package/dist/esm/icon-manager-754cda3f.js +117 -0
- package/dist/esm/icons-8627925e.js +517 -0
- package/dist/esm/immutable-map-f545ed1a.js +115 -0
- package/dist/esm/index-0863eec6.js +1019 -0
- package/dist/esm/index-187f71d1.js +1725 -0
- package/dist/esm/index.js +36 -0
- package/dist/esm/inject-keyboard-manager-8a82e8c9.js +35 -0
- package/dist/esm/internal-icon-manager-ebe6ecf4.js +43 -0
- package/dist/esm/internal-vega-event-manager-722461c1.js +456 -0
- package/dist/esm/internal-vega-z-index-manager-0553458e.js +178 -0
- package/dist/esm/keyboard-manager-d1f9ddc1.js +104 -0
- package/dist/esm/keyboard-manager-slimmer-8723f20f.js +37 -0
- package/dist/esm/legend-input-processor-abb0b4f4.js +4739 -0
- package/dist/esm/loader.js +40 -0
- package/dist/esm/min-number-rule-88e546e5.js +135 -0
- package/dist/esm/min-string-length-rule-27a8ba07.js +133 -0
- package/dist/esm/misc-9fdbcfbb.js +37 -0
- package/dist/esm/mobilefriendly-c5d0573d.js +11 -0
- package/dist/esm/mutation-observer-filters-9086b5cc.js +54 -0
- package/dist/esm/mutation-observer-slimmer-6cef9549.js +83 -0
- package/dist/esm/number-e2519d1c.js +85 -0
- package/dist/esm/object-261e7344.js +34 -0
- package/dist/esm/page-resize-observer-slimmer-8caeb03b.js +120 -0
- package/dist/esm/pixel-f32c07ce.js +68 -0
- package/dist/esm/placeholder-bf562081.js +24 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/regex-dfe11abf.js +8 -0
- package/dist/esm/remote-invocation-registry-cf9c81bb.js +62 -0
- package/dist/esm/required-field-rule-f438a73f.js +81 -0
- package/dist/esm/responsive-format-facade-4488d609.js +716 -0
- package/dist/esm/state-background-color-formatter-de7e6522.js +82 -0
- package/dist/esm/static-subject-title-2a4d6602.js +45 -0
- package/dist/esm/string-be824360.js +11 -0
- package/dist/esm/string-input-formatter-slimmer-633271ed.js +361 -0
- package/dist/esm/style-formatter-391b4f97.js +32 -0
- package/dist/esm/sub-state-observer-slimmer-46abe492.js +200 -0
- package/dist/esm/synchronize-task-queue-8f5fbbd9.js +39 -0
- package/dist/esm/timer-9321173b.js +22 -0
- package/dist/esm/type-guard-467c9e3e.js +671 -0
- package/dist/esm/typography-a8fc4764.js +1076 -0
- package/dist/esm/ui-0132dbb5.js +187 -0
- package/dist/esm/ui-df46cc20.js +38 -0
- package/dist/esm/valid-credit-card-number-rule-232f2986.js +170 -0
- package/dist/esm/vega-accordion.entry.js +265 -0
- package/dist/esm/vega-app-footer.entry.js +145 -0
- package/dist/esm/vega-app-header-button.entry.js +310 -0
- package/dist/esm/vega-backdrop.entry.js +152 -0
- package/dist/esm/vega-banner.entry.js +350 -0
- package/dist/esm/vega-bar-chart.entry.js +234 -0
- package/dist/esm/vega-box.entry.js +204 -0
- package/dist/esm/vega-breadcrumb.entry.js +263 -0
- package/dist/esm/vega-button-circle.entry.js +217 -0
- package/dist/esm/vega-button-group_2.entry.js +418 -0
- package/dist/esm/vega-button-link.entry.js +211 -0
- package/dist/esm/vega-button.entry.js +229 -0
- package/dist/esm/vega-calendar_3.entry.js +4010 -0
- package/dist/esm/vega-card.entry.js +192 -0
- package/dist/esm/vega-carousel.entry.js +510 -0
- package/dist/esm/vega-checkbox_2.entry.js +618 -0
- package/dist/esm/vega-chip.entry.js +296 -0
- package/dist/esm/vega-color-picker.entry.js +243 -0
- package/dist/esm/vega-combo-box.entry.js +432 -0
- package/dist/esm/vega-counter-badge.entry.js +86 -0
- package/dist/esm/vega-date-picker_2.entry.js +2077 -0
- package/dist/esm/vega-dialog-controller-fb1a8e21.js +79 -0
- package/dist/esm/vega-dialog_2.entry.js +710 -0
- package/dist/esm/vega-divider.entry.js +145 -0
- package/dist/esm/vega-dropdown_5.entry.js +2887 -0
- package/dist/esm/vega-env-manager-8f8dc473.js +39 -0
- package/dist/esm/vega-event-id-7465a011.js +100 -0
- package/dist/esm/vega-field-error.entry.js +98 -0
- package/dist/esm/vega-field-label.entry.js +161 -0
- package/dist/esm/vega-file-uploader.entry.js +674 -0
- package/dist/esm/vega-flex.entry.js +193 -0
- package/dist/esm/vega-font.entry.js +285 -0
- package/dist/esm/vega-form.entry.js +479 -0
- package/dist/esm/vega-grid.entry.js +95 -0
- package/dist/esm/vega-hint.entry.js +34 -0
- package/dist/esm/vega-icon.entry.js +225 -0
- package/dist/esm/vega-image-uploader.entry.js +922 -0
- package/dist/esm/vega-input-credit-card.entry.js +407 -0
- package/dist/esm/vega-input-phone-number.entry.js +9214 -0
- package/dist/esm/vega-input-range.entry.js +732 -0
- package/dist/esm/vega-input-select.entry.js +866 -0
- package/dist/esm/vega-input.entry.js +1009 -0
- package/dist/esm/vega-internal-event-id-7e05cf4a.js +35 -0
- package/dist/esm/vega-item-toggle.entry.js +186 -0
- package/dist/esm/vega-left-nav_5.entry.js +1162 -0
- package/dist/esm/vega-line-chart.entry.js +378 -0
- package/dist/esm/vega-loader-wrapper_2.entry.js +206 -0
- package/dist/esm/vega-page-notification_2.entry.js +177 -0
- package/dist/esm/vega-pagination.entry.js +373 -0
- package/dist/esm/vega-pie-chart.entry.js +439 -0
- package/dist/esm/vega-popover_2.entry.js +315 -0
- package/dist/esm/vega-progress-tracker.entry.js +247 -0
- package/dist/esm/vega-radio_2.entry.js +736 -0
- package/dist/esm/vega-section-title.entry.js +108 -0
- package/dist/esm/vega-segment-control.entry.js +343 -0
- package/dist/esm/vega-selection-chip_2.entry.js +829 -0
- package/dist/esm/vega-selection-tile_2.entry.js +788 -0
- package/dist/esm/vega-signature-capture.entry.js +559 -0
- package/dist/esm/vega-skeleton-loader-controller-74e3d189.js +3875 -0
- package/dist/esm/vega-skeleton.entry.js +326 -0
- package/dist/esm/vega-slot-container.entry.js +36 -0
- package/dist/esm/vega-stepper.entry.js +286 -0
- package/dist/esm/vega-tab-group_2.entry.js +1239 -0
- package/dist/esm/vega-table_8.entry.js +4504 -0
- package/dist/esm/vega-text.entry.js +228 -0
- package/dist/esm/vega-textarea.entry.js +296 -0
- package/dist/esm/vega-time-picker_2.entry.js +2135 -0
- package/dist/esm/vega-toggle-switch.entry.js +242 -0
- package/dist/esm/vega-tooltip_2.entry.js +295 -0
- package/dist/esm/vega.js +40 -0
- package/dist/esm/y-axis-input-processor-08c89594.js +2290 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/vega-accordion/slimmers/vega-accordion-expand-controller.d.ts +14 -0
- package/dist/types/components/vega-accordion/slimmers/vega-accordion-renderer.d.ts +19 -0
- package/dist/types/components/vega-accordion/vega-accordion.d.ts +95 -0
- package/dist/types/components/vega-app-footer/types.d.ts +7 -0
- package/dist/types/components/vega-app-footer/vega-app-footer.d.ts +102 -0
- package/dist/types/components/vega-app-header-button/slimmers/renderers/vega-menu-arrow-icon-renderer.d.ts +6 -0
- package/dist/types/components/vega-app-header-button/types.d.ts +27 -0
- package/dist/types/components/vega-app-header-button/vega-app-header-button.d.ts +155 -0
- package/dist/types/components/vega-backdrop/slimmers/controller/vega-backdrop-visible-controller.d.ts +23 -0
- package/dist/types/components/vega-backdrop/slimmers/renerers/vega-backdrop-renderer.d.ts +9 -0
- package/dist/types/components/vega-backdrop/vega-backdrop.d.ts +41 -0
- package/dist/types/components/vega-banner/slimmers/controllers/vega-banner-icon-controller.d.ts +24 -0
- package/dist/types/components/vega-banner/slimmers/renderers/vega-banner-action-button-renderer.d.ts +22 -0
- package/dist/types/components/vega-banner/slimmers/renderers/vega-banner-renderer.d.ts +50 -0
- package/dist/types/components/vega-banner/types.d.ts +11 -0
- package/dist/types/components/vega-banner/vega-banner.d.ts +92 -0
- package/dist/types/components/vega-box/interface.d.ts +22 -0
- package/dist/types/components/vega-box/slimmers/controllers/vega-box-state-styles-controller.d.ts +53 -0
- package/dist/types/components/vega-box/vega-box.d.ts +231 -0
- package/dist/types/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.d.ts +26 -0
- package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-collapsed-item-renderer.d.ts +7 -0
- package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-item-renderer.d.ts +11 -0
- package/dist/types/components/vega-breadcrumb/slimmers/renderers/vega-breadcrumb-renderer.d.ts +19 -0
- package/dist/types/components/vega-breadcrumb/types.d.ts +11 -0
- package/dist/types/components/vega-breadcrumb/vega-breadcrumb.d.ts +57 -0
- package/dist/types/components/vega-button/slimmers/renderers/vega-button-loading-renderer.d.ts +13 -0
- package/dist/types/components/vega-button/types.d.ts +4 -0
- package/dist/types/components/vega-button/vega-button.d.ts +129 -0
- package/dist/types/components/vega-button-circle/types.d.ts +9 -0
- package/dist/types/components/vega-button-circle/vega-button-circle.d.ts +120 -0
- package/dist/types/components/vega-button-group/slimmers/controllers/vega-button-group-click-controller.d.ts +15 -0
- package/dist/types/components/vega-button-group/types.d.ts +21 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.d.ts +12 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.d.ts +67 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/vega-button-group-item.d.ts +58 -0
- package/dist/types/components/vega-button-group/vega-button-group.d.ts +60 -0
- package/dist/types/components/vega-button-link/vega-button-link.d.ts +113 -0
- package/dist/types/components/vega-calendar/icons/clock-three.d.ts +3 -0
- package/dist/types/components/vega-calendar/icons/ellipsis-vertical.d.ts +3 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-current-period-controller.d.ts +48 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-controller.d.ts +56 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-event-responsive-controller.d.ts +25 -0
- package/dist/types/components/vega-calendar/slimmers/common/controllers/vega-calendar-view-controller.d.ts +35 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/calendar-event-sorter.d.ts +38 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/base-repeat-pattern.d.ts +50 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-daily-repeat-pattern.d.ts +43 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-monthly-repeat-pattern.d.ts +55 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-repeat-pattern-factory.d.ts +34 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-weekly-repeat-pattern.d.ts +99 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/repeat-pattern/calendar-event-yearly-repeat-pattern.d.ts +57 -0
- package/dist/types/components/vega-calendar/slimmers/common/helpers/test/calendar-event-repeat-pattern-factory.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout-cell.d.ts +40 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout-generator.d.ts +16 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/base-event-layout.d.ts +11 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout-generator.d.ts +39 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout-row.d.ts +26 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/full-day-event-layout.d.ts +30 -0
- package/dist/types/components/vega-calendar/slimmers/common/layout/test/long-event-layout-generator.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-event-item-renderer.d.ts +24 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-full-day-event-layout-renderer.d.ts +39 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-renderer.d.ts +13 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-switch-panel.d.ts +81 -0
- package/dist/types/components/vega-calendar/slimmers/common/renderers/vega-calendar-view-renderer.d.ts +14 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-more-button-renderer.d.ts +23 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/full-day-event/vega-calendar-full-day-event-renderer.d.ts +34 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-column.d.ts +28 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout-generator.d.ts +20 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/day-view-timed-event-layout.d.ts +20 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/layout/test/day-view-event-layout-generator.test.d.ts +1 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-day-event-layout-renderer.d.ts +27 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/timed-event/vega-calendar-timed-event-renderer.d.ts +23 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-time-line-renderer.d.ts +63 -0
- package/dist/types/components/vega-calendar/slimmers/day-view/renderers/vega-calendar-view-with-time-renderer.d.ts +45 -0
- package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-event-renderer.d.ts +66 -0
- package/dist/types/components/vega-calendar/slimmers/month-view/renderers/vega-calendar-month-view-renderer.d.ts +52 -0
- package/dist/types/components/vega-calendar/types.d.ts +80 -0
- package/dist/types/components/vega-calendar/utils/index.d.ts +25 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-bg-color-controller.d.ts +12 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-slot-controller.d.ts +30 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-event-title-max-height-controller.d.ts +13 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.d.ts +11 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.d.ts +88 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/vega-calendar-event.d.ts +34 -0
- package/dist/types/components/vega-calendar/vega-calendar-event-slot/vega-calendar-event-slot.d.ts +17 -0
- package/dist/types/components/vega-calendar/vega-calendar.d.ts +177 -0
- package/dist/types/components/vega-card/vega-card.d.ts +54 -0
- package/dist/types/components/vega-carousel/vega-carousel.d.ts +157 -0
- package/dist/types/components/vega-chart/vega-bar-chart/types.d.ts +4 -0
- package/dist/types/components/vega-chart/vega-bar-chart/vega-bar-chart.d.ts +27 -0
- package/dist/types/components/vega-chart/vega-line-chart/vega-line-chart.d.ts +38 -0
- package/dist/types/components/vega-chart/vega-pie-chart/vega-pie-chart.d.ts +38 -0
- package/dist/types/components/vega-checkbox/slimmers/controllers/vega-checkbox-show-error-controller.d.ts +29 -0
- package/dist/types/components/vega-checkbox/vega-checkbox-group/vega-checkbox-group.d.ts +136 -0
- package/dist/types/components/vega-checkbox/vega-checkbox.d.ts +152 -0
- package/dist/types/components/vega-chip/types.d.ts +4 -0
- package/dist/types/components/vega-chip/vega-chip.d.ts +164 -0
- package/dist/types/components/vega-color-picker/vega-color-picker.d.ts +106 -0
- package/dist/types/components/vega-combo-box/types.d.ts +9 -0
- package/dist/types/components/vega-combo-box/vega-combo-box.d.ts +233 -0
- package/dist/types/components/vega-counter-badge/vega-counter-badge.d.ts +44 -0
- package/dist/types/components/vega-date-picker/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-calendar-controller.d.ts +110 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.d.ts +12 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-format-controller.d.ts +75 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-keyboard-controller.d.ts +10 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-mobile-controller.d.ts +18 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-value-controller.d.ts +52 -0
- package/dist/types/components/vega-date-picker/slimmers/controllers/vega-date-picker-zindex-controller.d.ts +15 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-calendar-renderer.d.ts +88 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-range-input-renderer.d.ts +30 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-renderer.d.ts +31 -0
- package/dist/types/components/vega-date-picker/slimmers/renderers/vega-date-picker-single-input-renderer.d.ts +23 -0
- package/dist/types/components/vega-date-picker/types.d.ts +10 -0
- package/dist/types/components/vega-date-picker/vega-date-picker-calendar/vega-date-picker-calendar.d.ts +11 -0
- package/dist/types/components/vega-date-picker/vega-date-picker.d.ts +211 -0
- package/dist/types/components/vega-dialog/types.d.ts +14 -0
- package/dist/types/components/vega-dialog/vega-dialog.d.ts +89 -0
- package/dist/types/components/vega-divider/interface.d.ts +6 -0
- package/dist/types/components/vega-divider/slimmers/controllers/vega-divider-size-controller.d.ts +26 -0
- package/dist/types/components/vega-divider/vega-divider.d.ts +43 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-appender-controller.d.ts +43 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-children-controller.d.ts +74 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-keyboard-conttroller.d.ts +28 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-remote-invocation-controller.d.ts +28 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-render-mode-controller.d.ts +29 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-scrollable-controller.d.ts +57 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.d.ts +65 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-selected-controller.d.ts +99 -0
- package/dist/types/components/vega-dropdown/slimmers/controllers/vega-dropdown-source-controller.d.ts +33 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-create-renderer.d.ts +13 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-group-level-renderer.d.ts +8 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.d.ts +13 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-list-renderer.d.ts +28 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-renderer.d.ts +32 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.d.ts +19 -0
- package/dist/types/components/vega-dropdown/test/share.d.ts +12 -0
- package/dist/types/components/vega-dropdown/types.d.ts +21 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-content-box/vega-dropdown-content-box.d.ts +13 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-group/slimmers/renderers/vega-dropdown-group-renderer.d.ts +10 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-group/vega-dropdown-group.d.ts +26 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-click-controller.d.ts +19 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-state-controller.d.ts +14 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.d.ts +25 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/types.d.ts +1 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.d.ts +97 -0
- package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +377 -0
- package/dist/types/components/vega-field-error/slimmers/controllers/vega-field-error-message-controller.d.ts +19 -0
- package/dist/types/components/vega-field-error/types.d.ts +4 -0
- package/dist/types/components/vega-field-error/vega-field-error.d.ts +21 -0
- package/dist/types/components/vega-field-label/slimmers/renderers/vega-field-label-suffix-element-renderer.d.ts +27 -0
- package/dist/types/components/vega-field-label/types.d.ts +5 -0
- package/dist/types/components/vega-field-label/vega-field-label.d.ts +71 -0
- package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.d.ts +22 -0
- package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-value-controller.d.ts +21 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-container-renderer.d.ts +77 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-list-renderer.d.ts +38 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-file-status-renderer.d.ts +7 -0
- package/dist/types/components/vega-file-uploader/slimmers/renderers/vega-file-uploader-renderer.d.ts +18 -0
- package/dist/types/components/vega-file-uploader/types.d.ts +15 -0
- package/dist/types/components/vega-file-uploader/vega-file-uploader.d.ts +179 -0
- package/dist/types/components/vega-flex/vega-flex.d.ts +107 -0
- package/dist/types/components/vega-font/slimmers/controllers/vega-font-as-controller.d.ts +23 -0
- package/dist/types/components/vega-font/slimmers/controllers/vega-font-classes-controller.d.ts +15 -0
- package/dist/types/components/vega-font/slimmers/controllers/vega-font-variant-controller.d.ts +13 -0
- package/dist/types/components/vega-font/slimmers/renderers/vega-font-renderer.d.ts +6 -0
- package/dist/types/components/vega-font/types.d.ts +18 -0
- package/dist/types/components/vega-font/vega-font.d.ts +64 -0
- package/dist/types/components/vega-form/types.d.ts +9 -0
- package/dist/types/components/vega-form/vega-form.d.ts +235 -0
- package/dist/types/components/vega-grid/vega-grid.d.ts +66 -0
- package/dist/types/components/vega-hint/vega-hint.d.ts +12 -0
- package/dist/types/components/vega-icon/vega-icon.d.ts +76 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-actions-visibility-controller.d.ts +14 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-input-controller.d.ts +15 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-preview-controller.d.ts +36 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-remove-controller.d.ts +18 -0
- package/dist/types/components/vega-image-uploader/slimmers/controllers/vega-image-uploader-value-controller.d.ts +18 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-actions-renderer.d.ts +40 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.d.ts +16 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-input-renderer.d.ts +23 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.d.ts +13 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-renderer.d.ts +30 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-uploading-content-renderer.d.ts +15 -0
- package/dist/types/components/vega-image-uploader/types.d.ts +21 -0
- package/dist/types/components/vega-image-uploader/vega-image-uploader.d.ts +208 -0
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-copy-paste-controller.d.ts +23 -0
- package/dist/types/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.d.ts +59 -0
- package/dist/types/components/vega-input/slimmers/renderers/vega-input-prefix-slot-renderer.d.ts +16 -0
- package/dist/types/components/vega-input/types.d.ts +12 -0
- package/dist/types/components/vega-input/vega-input.d.ts +319 -0
- package/dist/types/components/vega-input-credit-card/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-input-credit-card/test/share.d.ts +18 -0
- package/dist/types/components/vega-input-credit-card/vega-input-credit-card.d.ts +163 -0
- package/dist/types/components/vega-input-phone-number/assets/countries.d.ts +2 -0
- package/dist/types/components/vega-input-phone-number/assets/country-flags.d.ts +5 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ac.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ad.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ae.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/af.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ag.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ai.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/al.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/am.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ao.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ar.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/as.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/at.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/au.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/aw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ax.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/az.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ba.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/be.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/br.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bs.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/by.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/bz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ca.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ch.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ci.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ck.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/co.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cx.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/cz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/de.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/do.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/dz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ec.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ee.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/eg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/eh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/er.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/es.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/et.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/fr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ga.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ge.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/gy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ht.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/hu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/id.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ie.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/il.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/im.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/in.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/io.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/iq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ir.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/is.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/it.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/je.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/jm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/jo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/jp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ke.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ki.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/km.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ky.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/kz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/la.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/li.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ls.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/lv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ly.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ma.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/md.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/me.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ml.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mo.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mp.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mq.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ms.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mx.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/my.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/mz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/na.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ne.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ng.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ni.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/no.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/np.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/nz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/om.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pa.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pe.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ph.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ps.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/pw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/py.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/qa.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/re.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ro.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/rs.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ru.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/rw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sa.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sb.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sd.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/se.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sh.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/si.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/so.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ss.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/st.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sx.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/sz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ta.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/td.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/th.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tj.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tl.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/to.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tr.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tv.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/tz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ua.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ug.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/us.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/uy.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/uz.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/va.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vc.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ve.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vg.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vi.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vn.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/vu.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/wf.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ws.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/xk.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/ye.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/yt.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/za.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/zm.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/assets/flags/zw.d.ts +3 -0
- package/dist/types/components/vega-input-phone-number/slimmers/controllers/country-select-controller.d.ts +36 -0
- package/dist/types/components/vega-input-phone-number/slimmers/controllers/vega-input-phone-number-value-controller.d.ts +80 -0
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.d.ts +77 -0
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.d.ts +37 -0
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/vega-input-phone-number-renderer.d.ts +27 -0
- package/dist/types/components/vega-input-phone-number/types.d.ts +13 -0
- package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +142 -0
- package/dist/types/components/vega-input-range/slimmers/controllers/vega-input-range-value-controller.d.ts +40 -0
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-clear-icon-renderer.d.ts +25 -0
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-input-renderer.d.ts +63 -0
- package/dist/types/components/vega-input-range/slimmers/renderers/vega-input-range-renderer.d.ts +36 -0
- package/dist/types/components/vega-input-range/types.d.ts +5 -0
- package/dist/types/components/vega-input-range/vega-input-range.d.ts +167 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.d.ts +21 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-items-slot-controler.d.ts +19 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-lazy-load-controller.d.ts +28 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-source-controller.d.ts +29 -0
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-value-controller.d.ts +31 -0
- package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.d.ts +36 -0
- package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-renderer.d.ts +15 -0
- package/dist/types/components/vega-input-select/types.d.ts +35 -0
- package/dist/types/components/vega-input-select/vega-input-select.d.ts +215 -0
- package/dist/types/components/vega-item-toggle/types.d.ts +8 -0
- package/dist/types/components/vega-item-toggle/vega-item-toggle.d.ts +57 -0
- package/dist/types/components/vega-loader-wrapper/vega-loader-wrapper.d.ts +11 -0
- package/dist/types/components/vega-loading-indicator/types.d.ts +1 -0
- package/dist/types/components/vega-loading-indicator/vega-loading-indicator.d.ts +78 -0
- package/dist/types/components/vega-modal/slimmers/controllers/vega-nested-modal-controller.d.ts +17 -0
- package/dist/types/components/vega-modal/types.d.ts +2 -0
- package/dist/types/components/vega-modal/vega-modal.d.ts +294 -0
- package/dist/types/components/vega-nav/interface.d.ts +36 -0
- package/dist/types/components/vega-nav/slimmers/renderers/vega-nav-list-renderer.d.ts +12 -0
- package/dist/types/components/vega-nav/slimmers/vega-nav-observer-slimmer.d.ts +24 -0
- package/dist/types/components/vega-nav/vega-left-nav/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-nav/vega-left-nav/internal/vega-left-nav-separator.d.ts +2 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-auto-collapse-controller.d.ts +13 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-backdrop-controller.d.ts +27 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-open-state-controller.d.ts +35 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/controllers/vega-left-nav-zindex-controller.d.ts +13 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-footer-renderer.d.ts +10 -0
- package/dist/types/components/vega-nav/vega-left-nav/slimmers/renderers/vega-left-nav-header-renderer.d.ts +10 -0
- package/dist/types/components/vega-nav/vega-left-nav/vega-left-nav.d.ts +100 -0
- package/dist/types/components/vega-nav/vega-left-nav-group/slimmers/controllers/vega-left-nav-group-controller.d.ts +11 -0
- package/dist/types/components/vega-nav/vega-left-nav-group/slimmers/renderers/vega-left-nav-group-renderer.d.ts +16 -0
- package/dist/types/components/vega-nav/vega-left-nav-group/vega-left-nav-group.d.ts +37 -0
- package/dist/types/components/vega-nav/vega-left-nav-link/slimmers/controllers/vega-left-nav-link-controller.d.ts +17 -0
- package/dist/types/components/vega-nav/vega-left-nav-link/slimmers/renderers/vega-left-nav-link-renderer.d.ts +19 -0
- package/dist/types/components/vega-nav/vega-left-nav-link/vega-left-nav-link.d.ts +51 -0
- package/dist/types/components/vega-nav/vega-left-nav-section/slimmers/renderers/vega-left-nav-section-renderer.d.ts +9 -0
- package/dist/types/components/vega-nav/vega-left-nav-section/vega-left-nav-section.d.ts +34 -0
- package/dist/types/components/vega-nav/vega-nav-card/slimmers/controllers/vega-nav-card-max-height-controller.d.ts +13 -0
- package/dist/types/components/vega-nav/vega-nav-card/vega-nav-card.d.ts +40 -0
- package/dist/types/components/vega-page-notification/types.d.ts +10 -0
- package/dist/types/components/vega-page-notification/vega-page-notification-list/vega-page-notification-list.d.ts +11 -0
- package/dist/types/components/vega-page-notification/vega-page-notification.d.ts +80 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-current-page-label.d.ts +8 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-go-to.d.ts +7 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-page-selector.d.ts +9 -0
- package/dist/types/components/vega-pagination/internal/vega-pagination-page-size-selector.d.ts +8 -0
- package/dist/types/components/vega-pagination/types.d.ts +1 -0
- package/dist/types/components/vega-pagination/vega-pagination.d.ts +102 -0
- package/dist/types/components/vega-popover/slimmers/controllers/vega-popover-appender-controller.d.ts +17 -0
- package/dist/types/components/vega-popover/slimmers/renderers/vega-popover-appender-renderer.d.ts +24 -0
- package/dist/types/components/vega-popover/vega-popover-content-box/vega-popover-content-box.d.ts +17 -0
- package/dist/types/components/vega-popover/vega-popover.d.ts +120 -0
- package/dist/types/components/vega-progress-tracker/vega-progress-tracker.d.ts +124 -0
- package/dist/types/components/vega-radio/slimmers/controllers/vega-radio-show-error-controller.d.ts +30 -0
- package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-keyboard-controller.d.ts +26 -0
- package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-radio-items-controller.d.ts +40 -0
- package/dist/types/components/vega-radio/vega-radio-group/slimmers/controllers/vega-radio-group-value-controller.d.ts +21 -0
- package/dist/types/components/vega-radio/vega-radio-group/vega-radio-group.d.ts +131 -0
- package/dist/types/components/vega-radio/vega-radio.d.ts +152 -0
- package/dist/types/components/vega-section-title/slimmers/renderers/vega-section-title-renderer.d.ts +16 -0
- package/dist/types/components/vega-section-title/vega-section-title.d.ts +41 -0
- package/dist/types/components/vega-segment-control/slimmers/controllers/vega-segment-control-selected-controller.d.ts +16 -0
- package/dist/types/components/vega-segment-control/slimmers/controllers/vega-segment-overflow-controller.d.ts +23 -0
- package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-control-renderer.d.ts +7 -0
- package/dist/types/components/vega-segment-control/slimmers/renderers/vega-segment-renderer.d.ts +20 -0
- package/dist/types/components/vega-segment-control/types.d.ts +8 -0
- package/dist/types/components/vega-segment-control/vega-segment-control.d.ts +91 -0
- package/dist/types/components/vega-selection-chip/interface.d.ts +4 -0
- package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-checked-cotroller.d.ts +23 -0
- package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-show-error-controller.d.ts +31 -0
- package/dist/types/components/vega-selection-chip/slimmers/controllers/vega-selection-chip-state-controller.d.ts +13 -0
- package/dist/types/components/vega-selection-chip/slimmers/renderers/vega-selection-chip-renderer.d.ts +26 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/interface.d.ts +1 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-items-controller.d.ts +72 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/controllers/vega-selection-chip-group-value-controller.d.ts +29 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/slimmers/renderers/vega-selection-chip-group-renderer.d.ts +15 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip-group/vega-selection-chip-group.d.ts +104 -0
- package/dist/types/components/vega-selection-chip/vega-selection-chip.d.ts +115 -0
- package/dist/types/components/vega-selection-tile/interface.d.ts +4 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-checked-cotroller.d.ts +28 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-show-error-controller.d.ts +32 -0
- package/dist/types/components/vega-selection-tile/slimmers/controllers/vega-selection-tile-state-controller.d.ts +15 -0
- package/dist/types/components/vega-selection-tile/slimmers/renderers/vega-selection-tile-renderer.d.ts +24 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-items-controller.d.ts +34 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/controllers/vega-selection-tile-group-value-controller.d.ts +56 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/slimmers/renderers/vega-selection-tile-group-renderer.d.ts +18 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile-group/vega-selection-tile-group.d.ts +117 -0
- package/dist/types/components/vega-selection-tile/vega-selection-tile.d.ts +96 -0
- package/dist/types/components/vega-signature-capture/assets/icons.d.ts +4 -0
- package/dist/types/components/vega-signature-capture/slimmers/renderers/vega-signature-capture-renderer.d.ts +7 -0
- package/dist/types/components/vega-signature-capture/slimmers/written-mode/controllers/written-mode-svg-controller.d.ts +89 -0
- package/dist/types/components/vega-signature-capture/slimmers/written-mode/renderers/written-mode-renderer.d.ts +28 -0
- package/dist/types/components/vega-signature-capture/types.d.ts +5 -0
- package/dist/types/components/vega-signature-capture/vega-signature-capture.d.ts +136 -0
- 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 +52 -0
- package/dist/types/components/vega-slot-container/vega-slot-container.d.ts +11 -0
- package/dist/types/components/vega-stepper/vega-stepper.d.ts +128 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-page-index-controller.d.ts +31 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-pages-controller.d.ts +83 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-panel-controller.d.ts +57 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-selected-target-controller.d.ts +19 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/controllers/vega-tab-group-slider-state-controller.d.ts +50 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-close-button-renderer.d.ts +10 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-content-renderer.d.ts +6 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-direction-button-renderer.d.ts +18 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-renderer.d.ts +16 -0
- package/dist/types/components/vega-tab-group/slimmers/vega-tab-group/renderers/vega-tab-group-tab-list-renderer.d.ts +24 -0
- package/dist/types/components/vega-tab-group/types.d.ts +12 -0
- package/dist/types/components/vega-tab-group/vega-tab-group-panel/vega-tab-group-panel.d.ts +34 -0
- package/dist/types/components/vega-tab-group/vega-tab-group.d.ts +131 -0
- package/dist/types/components/vega-table/interface.d.ts +221 -0
- package/dist/types/components/vega-table/internal/vega-table-scrollable-container.d.ts +8 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-children-controller.d.ts +62 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-data-source-controller.d.ts +90 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-editable-controller.d.ts +114 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-expand-row-controller.d.ts +93 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-pagination-controller.d.ts +37 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-render-mode-controller.d.ts +34 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-row-selection-controller.d.ts +160 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-sort-controller.d.ts +37 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-sorter.d.ts +33 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-body-renderer.d.ts +18 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-cell-renderer.d.ts +25 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-col-group-renderer.d.ts +10 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-header-renderer.d.ts +12 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-pagination-renderer.d.ts +24 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-renderer.d.ts +23 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-row-renderer.d.ts +12 -0
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-scroll-container-renderer.d.ts +10 -0
- package/dist/types/components/vega-table/test/utils.d.ts +9 -0
- package/dist/types/components/vega-table/test/vega-table-sorter.test.d.ts +1 -0
- package/dist/types/components/vega-table/type-guard.d.ts +14 -0
- package/dist/types/components/vega-table/utils.d.ts +25 -0
- package/dist/types/components/vega-table/vega-table-body/vega-table-body.d.ts +13 -0
- package/dist/types/components/vega-table/vega-table-cell/slimmers/controllers/vega-table-cell-state-controller.d.ts +9 -0
- package/dist/types/components/vega-table/vega-table-cell/vega-table-cell.d.ts +52 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-col-span-controller.d.ts +32 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-expand-controller.d.ts +26 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-selection-controller.d.ts +19 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/controllers/vega-table-expand-row-state-controller.d.ts +12 -0
- package/dist/types/components/vega-table/vega-table-expand-row/slimmers/renderers/vega-table-expand-row-renderer.d.ts +9 -0
- package/dist/types/components/vega-table/vega-table-expand-row/types.d.ts +3 -0
- package/dist/types/components/vega-table/vega-table-expand-row/vega-table-expand-row.d.ts +49 -0
- package/dist/types/components/vega-table/vega-table-head/slimmers/controllers/vega-table-head-state-controller.d.ts +10 -0
- package/dist/types/components/vega-table/vega-table-head/types.d.ts +4 -0
- package/dist/types/components/vega-table/vega-table-head/vega-table-head.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-cell/slimmers/controllers/vega-table-head-cell-state-controller.d.ts +9 -0
- package/dist/types/components/vega-table/vega-table-head-cell/vega-table-head-cell.d.ts +80 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-controller.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/controllers/vega-table-head-row-state-controller.d.ts +22 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.d.ts +30 -0
- package/dist/types/components/vega-table/vega-table-head-row/types.d.ts +5 -0
- package/dist/types/components/vega-table/vega-table-head-row/vega-table-head-row.d.ts +70 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-click-controller.d.ts +33 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-expand-controller.d.ts +29 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-selection-controller.d.ts +37 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/controllers/vega-table-row-state-controller.d.ts +30 -0
- package/dist/types/components/vega-table/vega-table-row/slimmers/renderers/vega-table-row-renderer.d.ts +31 -0
- package/dist/types/components/vega-table/vega-table-row/types.d.ts +7 -0
- package/dist/types/components/vega-table/vega-table-row/vega-table-row.d.ts +104 -0
- package/dist/types/components/vega-table/vega-table.d.ts +498 -0
- package/dist/types/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.d.ts +63 -0
- package/dist/types/components/vega-text/types.d.ts +3 -0
- package/dist/types/components/vega-text/vega-text.d.ts +34 -0
- package/dist/types/components/vega-textarea/vega-textarea.d.ts +167 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-dropdown-selected-items-controller.d.ts +78 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-input-mask-controller.d.ts +13 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-keyboard-controller.d.ts +28 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-range-dropdown-controller.d.ts +29 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-single-dropdown-controller.d.ts +56 -0
- package/dist/types/components/vega-time-picker/slimmers/controllers/vega-time-picker-value-controller.d.ts +82 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-label-renderer.d.ts +16 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-clear-button-renderer.d.ts +18 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-dropdown-renderer.d.ts +70 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-range-input-renderer.d.ts +56 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-dropdown-renderer.d.ts +46 -0
- package/dist/types/components/vega-time-picker/slimmers/renderers/vega-time-picker-single-input-renderer.d.ts +42 -0
- package/dist/types/components/vega-time-picker/types.d.ts +21 -0
- package/dist/types/components/vega-time-picker/vega-time-picker-dropdown/vega-time-picker-dropdown.d.ts +11 -0
- package/dist/types/components/vega-time-picker/vega-time-picker.d.ts +177 -0
- package/dist/types/components/vega-toggle-switch/vega-toggle-switch.d.ts +103 -0
- package/dist/types/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.d.ts +30 -0
- package/dist/types/components/vega-tooltip/slimmers/renderers/vega-tooltip-content-box-renderer.d.ts +7 -0
- package/dist/types/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.d.ts +17 -0
- package/dist/types/components/vega-tooltip/vega-tooltip.d.ts +105 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-mode-controller.d.ts +34 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-position-controller.d.ts +88 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/controllers/vega-virtual-scroll-scrollable-controller.d.ts +97 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-loading-indicator-renderer.d.ts +10 -0
- package/dist/types/components/vega-virtual-scroll/slimmers/renderers/vega-virtual-scroll-renderer.d.ts +16 -0
- package/dist/types/components/vega-virtual-scroll/types.d.ts +14 -0
- package/dist/types/components/vega-virtual-scroll/vega-virtual-scroll.d.ts +76 -0
- package/dist/types/components.d.ts +8894 -0
- package/dist/types/constants/card-config.d.ts +8 -0
- package/dist/types/constants/locale.d.ts +5 -0
- package/dist/types/constants/misc.d.ts +6 -0
- package/dist/types/constants/public-api.d.ts +9 -0
- package/dist/types/constants/regex.d.ts +6 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/IconManager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/ThemeManager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaDialogController/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaEventManager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaLoaderController/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaNotifyController/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/VegaSkeletonLoader/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/WaitForVegaHandler/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/public-api/zindex-manager/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-button-circle/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-button-group/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-button-link/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-card/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-carousel/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-chip/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-color-picker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-combo-box/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-date-picker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-dropdown/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-flex/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-font/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-image-uploader/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-input/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-input-credit-card/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-input-select/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-item-toggle/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-left-nav/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-loading-indicator/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-modal/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-nav-card/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-progress-tracker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-stepper/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-tab-group/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-table/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-textarea/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-time-picker/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/runtime-metrics-payload-definition/vega-tooltip/runtime-metrics-payload-definition.d.ts +2 -0
- package/dist/types/constants/tests/validator.test.d.ts +1 -0
- package/dist/types/constants/tokens/border-radius.d.ts +3 -0
- package/dist/types/constants/tokens/borders.d.ts +4 -0
- package/dist/types/constants/tokens/breakpoints.d.ts +3 -0
- package/dist/types/constants/tokens/colors-mapping.d.ts +6 -0
- package/dist/types/constants/tokens/colors.d.ts +193 -0
- package/dist/types/constants/tokens/icons.d.ts +2 -0
- package/dist/types/constants/tokens/overridable-border-tokens.d.ts +31 -0
- package/dist/types/constants/tokens/overridable-color-tokens.d.ts +31 -0
- package/dist/types/constants/tokens/overridable-ring-tokens.d.ts +31 -0
- package/dist/types/constants/tokens/rings.d.ts +1 -0
- package/dist/types/constants/tokens/shadows.d.ts +4 -0
- package/dist/types/constants/tokens/spacing.d.ts +3 -0
- package/dist/types/constants/tokens/tailwind.extend.d.ts +27 -0
- package/dist/types/constants/tokens/themes/dark-mode-border-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/themes/dark-mode-color-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/themes/dark-mode-ring-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/themes/dark-mode-shadow-tokens.d.ts +1 -0
- package/dist/types/constants/tokens/typography.d.ts +10 -0
- package/dist/types/constants/ui.d.ts +16 -0
- package/dist/types/constants/validator.d.ts +5 -0
- package/dist/types/decorators/method-decorators/component-load-required.d.ts +9 -0
- package/dist/types/decorators/method-decorators/tests/component-load-required.test.d.ts +1 -0
- package/dist/types/decorators/property-decorators/inject-element-appender.d.ts +24 -0
- package/dist/types/decorators/property-decorators/inject-keyboard-manager.d.ts +12 -0
- package/dist/types/decorators/property-decorators/tests/inject-element-appender-proxy.test.d.ts +1 -0
- package/dist/types/decorators/property-decorators/tests/inject-keyboard-manager.test.d.ts +1 -0
- package/dist/types/global/icons/arrow-rotate-right.d.ts +3 -0
- package/dist/types/global/icons/arrow-up-from-line.d.ts +3 -0
- package/dist/types/global/icons/chevron-down.d.ts +3 -0
- package/dist/types/global/icons/chevron-left.d.ts +3 -0
- package/dist/types/global/icons/chevron-right.d.ts +3 -0
- package/dist/types/global/icons/chevron-up.d.ts +3 -0
- package/dist/types/global/icons/circle-check-regular.d.ts +3 -0
- package/dist/types/global/icons/circle-check.d.ts +3 -0
- package/dist/types/global/icons/circle-info.d.ts +3 -0
- package/dist/types/global/icons/circle-question.d.ts +3 -0
- package/dist/types/global/icons/circle-xmark.d.ts +3 -0
- package/dist/types/global/icons/trash-can.d.ts +3 -0
- package/dist/types/global/icons/triangle-exclamation.d.ts +3 -0
- package/dist/types/global/icons/xmark-large.d.ts +3 -0
- package/dist/types/global/scripts/before-vega-load.d.ts +5 -0
- package/dist/types/global/tests/before-vega-load.test.d.ts +1 -0
- package/dist/types/helpers/calendar/calendar-date.d.ts +69 -0
- package/dist/types/helpers/calendar/calendar-event.d.ts +182 -0
- package/dist/types/helpers/calendar/calendar-period/calendar-period.abstract.d.ts +81 -0
- package/dist/types/helpers/calendar/calendar-period/day-period.d.ts +22 -0
- package/dist/types/helpers/calendar/calendar-period/month-period.d.ts +33 -0
- package/dist/types/helpers/calendar/calendar-period/week-period.d.ts +22 -0
- package/dist/types/helpers/calendar/calendar-view-generator/calendar-view-generator.abstract.d.ts +35 -0
- package/dist/types/helpers/calendar/calendar-view-generator/day-view-generator.d.ts +12 -0
- package/dist/types/helpers/calendar/calendar-view-generator/month-view-generator.d.ts +12 -0
- package/dist/types/helpers/calendar/calendar-view-generator/week-view-generator.d.ts +12 -0
- package/dist/types/helpers/calendar/calendar-view.d.ts +21 -0
- package/dist/types/helpers/calendar/index.d.ts +10 -0
- package/dist/types/helpers/calendar/test/calendar-date.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-event.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-period/day-period.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-period/month-period.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-period/week-period.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view-generator/day-view-generator.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view-generator/month-view-generator.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view-generator/week-view-generator.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/calendar-view.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/index.test.d.ts +1 -0
- package/dist/types/helpers/calendar/test/utils.test.d.ts +1 -0
- package/dist/types/helpers/calendar/utils.d.ts +7 -0
- package/dist/types/helpers/change-manager/change-manager.d.ts +43 -0
- package/dist/types/helpers/change-manager/observer/observer.d.ts +23 -0
- package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject-factory.d.ts +41 -0
- package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject-observer-factory.d.ts +20 -0
- package/dist/types/helpers/change-manager/subject/dom-node-subject/dom-node-subject.d.ts +22 -0
- package/dist/types/helpers/change-manager/subject/static-subject/static-subject-title.d.ts +26 -0
- package/dist/types/helpers/change-manager/subject/static-subject/static-subject.d.ts +20 -0
- package/dist/types/helpers/change-manager/subject/subject-interface.d.ts +3 -0
- package/dist/types/helpers/change-manager/test/change-manager.test.d.ts +1 -0
- package/dist/types/helpers/change-manager/test/dom-node-subject-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/bar-chart.d.ts +30 -0
- package/dist/types/helpers/chart/base-chart.d.ts +61 -0
- package/dist/types/helpers/chart/controllers/chart-dimension-controller.d.ts +80 -0
- package/dist/types/helpers/chart/drawers/arc-path-drawer.d.ts +21 -0
- package/dist/types/helpers/chart/drawers/base-drawer.d.ts +54 -0
- package/dist/types/helpers/chart/drawers/legend-drawer.d.ts +49 -0
- package/dist/types/helpers/chart/drawers/line-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/drawers/path-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/drawers/rect-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/drawers/text-drawer.d.ts +18 -0
- package/dist/types/helpers/chart/drawers/x-axis-drawer.d.ts +13 -0
- package/dist/types/helpers/chart/drawers/y-axis-drawer.d.ts +11 -0
- package/dist/types/helpers/chart/graph-context-factory.d.ts +12 -0
- package/dist/types/helpers/chart/input-processors/format-time-positions-input-processor.d.ts +20 -0
- package/dist/types/helpers/chart/input-processors/horizontal-x-axis-input-processor.d.ts +20 -0
- package/dist/types/helpers/chart/input-processors/horizontal-y-axis-input-processor.d.ts +19 -0
- package/dist/types/helpers/chart/input-processors/input-processor.d.ts +3 -0
- package/dist/types/helpers/chart/input-processors/layout-input-processor.d.ts +23 -0
- package/dist/types/helpers/chart/input-processors/legend-input-processor.d.ts +24 -0
- package/dist/types/helpers/chart/input-processors/line-path-input-processor.d.ts +32 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-arc-path-input-processor.d.ts +15 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-filter-input-processor.d.ts +15 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-radius-input-processor.d.ts +25 -0
- package/dist/types/helpers/chart/input-processors/pie-chart-text-input-processor.d.ts +14 -0
- package/dist/types/helpers/chart/input-processors/processor-chain.d.ts +22 -0
- package/dist/types/helpers/chart/input-processors/sort-positions-input-processor.d.ts +16 -0
- package/dist/types/helpers/chart/input-processors/x-axis-input-processor.d.ts +29 -0
- package/dist/types/helpers/chart/input-processors/x-axis-label-formatter-input-processor.d.ts +37 -0
- package/dist/types/helpers/chart/input-processors/y-axis-input-processor.d.ts +31 -0
- package/dist/types/helpers/chart/interacting-entry-generator/arc-path-hover-generator.d.ts +38 -0
- package/dist/types/helpers/chart/interacting-entry-generator/interacting-entry-generator.d.ts +17 -0
- package/dist/types/helpers/chart/interacting-entry-generator/pie-legend-hover-generator.d.ts +42 -0
- package/dist/types/helpers/chart/interactors/base-interactor.d.ts +54 -0
- package/dist/types/helpers/chart/interactors/canvas-interactor.d.ts +6 -0
- package/dist/types/helpers/chart/interactors/interactor-factory.d.ts +15 -0
- package/dist/types/helpers/chart/interactors/svg-interactor.d.ts +19 -0
- package/dist/types/helpers/chart/line-chart.d.ts +27 -0
- package/dist/types/helpers/chart/pie-chart.d.ts +26 -0
- package/dist/types/helpers/chart/renderers/base-renderer.d.ts +27 -0
- package/dist/types/helpers/chart/renderers/canvas-renderer.d.ts +137 -0
- package/dist/types/helpers/chart/renderers/renderer-factory.d.ts +14 -0
- package/dist/types/helpers/chart/renderers/svg-renderer.d.ts +144 -0
- package/dist/types/helpers/chart/test/controllers/chart-dimension-controller.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/arc-path-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/legend-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/line-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/path-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/rect-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/text-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/x-axis-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/drawers/y-axis-drawer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/graph-context-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/format-time-positions-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/horizontal-x-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/horizontal-y-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/layout-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/line-path-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/pie-chart-filter-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/pie-chart-radius-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/sort-positions-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/x-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/x-axis-label-formatter-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/input-processors/y-axis-input-processor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interacting-entry-generator/arc-path-hover-generator.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interacting-entry-generator/pie-legend-hover-generator.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interactors/interactor-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/interactors/svg-interactor.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/line-chart.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/pie-chart.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/renderers/canvas-renderer.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/renderers/renderer-factory.test.d.ts +1 -0
- package/dist/types/helpers/chart/test/renderers/svg-renderer.test.d.ts +1 -0
- package/dist/types/helpers/common/index.d.ts +7 -0
- package/dist/types/helpers/common/test/common.test.d.ts +1 -0
- package/dist/types/helpers/common/test/wait-for-vega-handler.test.d.ts +1 -0
- package/dist/types/helpers/common/wait-for-vega-handler.d.ts +17 -0
- package/dist/types/helpers/dialog/test/vega-dialog-controller.test.d.ts +1 -0
- package/dist/types/helpers/dialog/vega-dialog-controller.d.ts +29 -0
- package/dist/types/helpers/event-manager/event-delegated/base-strategy.d.ts +60 -0
- package/dist/types/helpers/event-manager/event-delegated/jquery-delegated-event-strategy.d.ts +7 -0
- package/dist/types/helpers/event-manager/event-delegated/jquery-delegated-strategy-controller.d.ts +44 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-button-click-strategy.d.ts +16 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-checkbox-change-strategy.d.ts +15 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-input-select-change-strategy.d.ts +15 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-input-strategy.d.ts +23 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-radio-change-strategy.d.ts +15 -0
- package/dist/types/helpers/event-manager/event-delegated/vega-textarea-change-strategy.d.ts +14 -0
- package/dist/types/helpers/event-manager/event-id/component-event-id-map.d.ts +3 -0
- package/dist/types/helpers/event-manager/event-id/vega-event-id-interface.d.ts +3 -0
- package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +92 -0
- package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +31 -0
- package/dist/types/helpers/event-manager/internal-vega-event-manager.d.ts +63 -0
- package/dist/types/helpers/event-manager/slimmers/child-nodes-event-prevent-slimmer.d.ts +86 -0
- package/dist/types/helpers/event-manager/slimmers/child-nodes-notify-observer-slimmer.d.ts +47 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/event-emit-handler.d.ts +7 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/jquery-delegated-event-emit-handler.d.ts +33 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/native-event-emit-handler.d.ts +25 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-handlers/vega-event-emit-handler.d.ts +25 -0
- package/dist/types/helpers/event-manager/slimmers/event-emit-slimmer.d.ts +63 -0
- package/dist/types/helpers/event-manager/test/child-nodes-event-prevent-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/child-nodes-notify-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/component-event-id-map.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/event-emit-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/internal-vega-event-manager.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/jquery-delegated-strategy-controller.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/vega-event-id.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/test/vega-event-manager.test.d.ts +1 -0
- package/dist/types/helpers/event-manager/vega-event-manager.d.ts +40 -0
- package/dist/types/helpers/feature-control/feature-flag-controller.d.ts +79 -0
- package/dist/types/helpers/feature-control/feature-flag.d.ts +52 -0
- package/dist/types/helpers/feature-control/feature-flags-map.d.ts +3 -0
- package/dist/types/helpers/feature-control/tests/feature-flag-controller.test.d.ts +1 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsiv-border-radius-formatter.d.ts +27 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-box-display-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-class-string-formatter.d.ts +17 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-custom-formatter.d.ts +20 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-display-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-align-item-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-direction-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-justify-content-formatter.d.ts +31 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-flex-wrap-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-format-facade.d.ts +31 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-formatter.d.ts +5 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-gap-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-grid-columns-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-grid-rows-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-margin-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-padding-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-size-formatter.d.ts +18 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-text-align-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-translocation-formatter.d.ts +19 -0
- package/dist/types/helpers/formatter/responsive-map-formatter/responsive-width-and-height-formatter.d.ts +21 -0
- package/dist/types/helpers/formatter/state-formatter/state-background-color-formatter.d.ts +32 -0
- package/dist/types/helpers/formatter/state-formatter/state-border-color-formatter.d.ts +31 -0
- package/dist/types/helpers/formatter/state-formatter/state-border-formatter.d.ts +33 -0
- package/dist/types/helpers/formatter/state-formatter/state-format-facade.d.ts +27 -0
- package/dist/types/helpers/formatter/state-formatter/state-formatter.d.ts +3 -0
- package/dist/types/helpers/formatter/state-formatter/state-shadow-formatter.d.ts +28 -0
- package/dist/types/helpers/formatter/state-formatter/state-variant-formatter.d.ts +23 -0
- package/dist/types/helpers/formatter/string-formatter/custom-formatter-strategy.d.ts +47 -0
- package/dist/types/helpers/formatter/string-formatter/number-mask-strategy.d.ts +56 -0
- package/dist/types/helpers/formatter/string-formatter/number-thousand-comma-strategy.d.ts +34 -0
- package/dist/types/helpers/formatter/string-formatter/string-format-strategy.d.ts +12 -0
- package/dist/types/helpers/formatter/string-formatter/string-mask-strategy.d.ts +94 -0
- package/dist/types/helpers/formatter/string-formatter/thousand-comma-strategy.d.ts +23 -0
- package/dist/types/helpers/formatter/style-formatter.d.ts +14 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-border-radius-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-box-display-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-custom-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-display-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-direction-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-flex-wrap-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-format-mediator.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-gap-formatter.ts.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-column-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-grid-row-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-margin-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-padding-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-size-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-text-align-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-translocation-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/responsive-map-formatter/responsive-width-and-height-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-background-color-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-border-color-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-border-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-format-facade.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/state-formatter/state-shadow-formatter.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/number-mask-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/number-thousand-comma-mask-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/string-mask-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/string-formatter/thousand-comma-strategy.test.d.ts +1 -0
- package/dist/types/helpers/formatter/test/style-formatter.test.d.ts +1 -0
- package/dist/types/helpers/icon/icon-manager.d.ts +32 -0
- package/dist/types/helpers/icon/interface.d.ts +10 -0
- package/dist/types/helpers/icon/internal-icon-manager.d.ts +30 -0
- package/dist/types/helpers/icon/test/icon-manager-controller.test.d.ts +1 -0
- package/dist/types/helpers/icon/test/internal-icon-manager.test.d.ts +1 -0
- package/dist/types/helpers/immutable/immutable-map.d.ts +78 -0
- package/dist/types/helpers/immutable/immutable-set.d.ts +65 -0
- package/dist/types/helpers/immutable/immutable.d.ts +3 -0
- package/dist/types/helpers/immutable/test/immutable-map.test.d.ts +1 -0
- package/dist/types/helpers/immutable/test/immutable-set.test.d.ts +1 -0
- package/dist/types/helpers/keyboard/keyboard-manager.d.ts +60 -0
- package/dist/types/helpers/keyboard/test/keyboard-manager.test.d.ts +1 -0
- package/dist/types/helpers/level-tracker/nested-level-tracker.d.ts +36 -0
- package/dist/types/helpers/level-tracker/test/nested-level-tracker.test.d.ts +1 -0
- package/dist/types/helpers/loading-indicator/tests/vega-loader-controller.test.d.ts +1 -0
- package/dist/types/helpers/loading-indicator/vega-loader-controller.d.ts +53 -0
- package/dist/types/helpers/loading-indicator/vega-loader.d.ts +17 -0
- package/dist/types/helpers/notify/tests/vega-notify-controller.test.d.ts +1 -0
- package/dist/types/helpers/notify/vega-notify-controller.d.ts +48 -0
- package/dist/types/helpers/notify/vega-notify.d.ts +13 -0
- package/dist/types/helpers/paginator/test/value-paginator.test.d.ts +1 -0
- package/dist/types/helpers/paginator/value-paginator.d.ts +45 -0
- package/dist/types/helpers/public-api.d.ts +16 -0
- package/dist/types/helpers/queue/queue.d.ts +4 -0
- package/dist/types/helpers/queue/synchronize-task-queue.d.ts +24 -0
- package/dist/types/helpers/queue/test/synchronize-task-queue.test.d.ts +1 -0
- package/dist/types/helpers/remote-invocation/remote-invocation-registry.d.ts +39 -0
- package/dist/types/helpers/remote-invocation/remote-invocation-registry.test.d.ts +1 -0
- package/dist/types/helpers/skeleton-loader/interface.d.ts +16 -0
- package/dist/types/helpers/skeleton-loader/tests/vega-skeleton-loader-controller.test.d.ts +1 -0
- package/dist/types/helpers/skeleton-loader/vega-skeleton-loader-controller.d.ts +50 -0
- package/dist/types/helpers/slimmers/component-global-style-slimmer.d.ts +33 -0
- package/dist/types/helpers/slimmers/component-usage-runtime-metrics.d.ts +43 -0
- package/dist/types/helpers/slimmers/deprecated-property-slimmer.d.ts +34 -0
- package/dist/types/helpers/slimmers/element-appender-container/default-wrapper.d.ts +20 -0
- package/dist/types/helpers/slimmers/element-appender-container/element-appender-container-controller.d.ts +33 -0
- package/dist/types/helpers/slimmers/element-appender-container/position-relative-to-wrapper.d.ts +22 -0
- package/dist/types/helpers/slimmers/element-appender-container/vega-modal-wrapper.d.ts +35 -0
- package/dist/types/helpers/slimmers/element-appender-container/vega-popover-wrapper.d.ts +22 -0
- package/dist/types/helpers/slimmers/element-appender-slimmer.d.ts +56 -0
- package/dist/types/helpers/slimmers/field-error-controller-silmmer.d.ts +31 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-slimmer.d.ts +34 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/field-error-ui-controller-strategy.d.ts +6 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-error-label-container-retrieval-strategy.d.ts +16 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-nested-error-container-retrieval-strategy.d.ts +15 -0
- package/dist/types/helpers/slimmers/field-error-ui-controller-strategies/sibling-container-self-retrieval-strategy.d.ts +14 -0
- package/dist/types/helpers/slimmers/form-field-controller-slimmer.d.ts +106 -0
- package/dist/types/helpers/slimmers/form-field-valid-invoke-slimmer.d.ts +22 -0
- package/dist/types/helpers/slimmers/global/vega-watch-method-cancel-slimmer.d.ts +39 -0
- package/dist/types/helpers/slimmers/keyboard-manager-slimmer.d.ts +13 -0
- package/dist/types/helpers/slimmers/mutation-observer/mutation-observer-filters.d.ts +30 -0
- package/dist/types/helpers/slimmers/mutation-observer/mutation-observer-slimmer.d.ts +48 -0
- package/dist/types/helpers/slimmers/mutation-observer/test/mutation-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/page-resize-observer-slimmer.d.ts +63 -0
- package/dist/types/helpers/slimmers/runtime-metrics/create-public-api-runtime-metrics-slimmer.d.ts +16 -0
- package/dist/types/helpers/slimmers/runtime-metrics/public-api-runtime-metrics-slimmer-base.d.ts +48 -0
- package/dist/types/helpers/slimmers/runtime-metrics/test/public-api-runtime-metrics-slimmer-base.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/string-input-formatter-slimmer.d.ts +84 -0
- package/dist/types/helpers/slimmers/sub-state/sub-state-notify-slimmer-base.d.ts +32 -0
- package/dist/types/helpers/slimmers/sub-state/sub-state-notify-slimmer.d.ts +12 -0
- package/dist/types/helpers/slimmers/sub-state/sub-state-observer-slimmer.d.ts +76 -0
- package/dist/types/helpers/slimmers/sub-state/test/sub-state-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/component-global-style-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/component-usage-runtime-metrics.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/deprecated-property-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/element-appender-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/field-error-controller-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/form-field-controller-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/form-field-valid-invoke-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/global/vega-watch-method-cancel-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/keyboard-manager-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/page-resize-observer-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/test/string-input-formatter-slimmer.test.d.ts +1 -0
- package/dist/types/helpers/slimmers/types.d.ts +5 -0
- package/dist/types/helpers/theme/controllers/color-schema-overriding-controller.d.ts +41 -0
- package/dist/types/helpers/theme/controllers/dark-mode-style-controller.d.ts +17 -0
- package/dist/types/helpers/theme/tests/theme-manager-controller.test.d.ts +1 -0
- package/dist/types/helpers/theme/theme-manager.d.ts +35 -0
- package/dist/types/helpers/theme/theme.d.ts +18 -0
- package/dist/types/helpers/touch-helper/test/touch-listener.test.d.ts +1 -0
- package/dist/types/helpers/touch-helper/touch-listener.d.ts +90 -0
- package/dist/types/helpers/ui/element-appender.d.ts +154 -0
- package/dist/types/helpers/ui/test/element-appender.test.d.ts +1 -0
- package/dist/types/helpers/validator/form-field-controller.d.ts +244 -0
- package/dist/types/helpers/validator/form-validator.d.ts +8 -0
- package/dist/types/helpers/validator/rules/check-box-required-rule.d.ts +39 -0
- package/dist/types/helpers/validator/rules/date-range-rule.d.ts +36 -0
- package/dist/types/helpers/validator/rules/date-required-rule.d.ts +50 -0
- package/dist/types/helpers/validator/rules/email-field-rule.d.ts +38 -0
- package/dist/types/helpers/validator/rules/file-uploader-required-rule.d.ts +13 -0
- package/dist/types/helpers/validator/rules/form-field-validation-rule.d.ts +28 -0
- package/dist/types/helpers/validator/rules/input-phone-number-required-rule.d.ts +39 -0
- package/dist/types/helpers/validator/rules/input-range-min-and-max-rule.d.ts +62 -0
- package/dist/types/helpers/validator/rules/input-range-required-rule.d.ts +37 -0
- package/dist/types/helpers/validator/rules/max-number-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/max-string-length-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/min-and-max-date-rule.d.ts +78 -0
- package/dist/types/helpers/validator/rules/min-number-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/min-string-length-rule.d.ts +49 -0
- package/dist/types/helpers/validator/rules/required-field-rule.d.ts +44 -0
- package/dist/types/helpers/validator/rules/time-range-required-rule.d.ts +48 -0
- package/dist/types/helpers/validator/rules/time-range-rule.d.ts +55 -0
- package/dist/types/helpers/validator/rules/time-required-rule.d.ts +48 -0
- package/dist/types/helpers/validator/rules/toggle-switch-required-rule.d.ts +38 -0
- package/dist/types/helpers/validator/rules/valid-credit-card-number-rule.d.ts +108 -0
- package/dist/types/helpers/validator/rules/valid-phone-number-rule.d.ts +73 -0
- package/dist/types/helpers/validator/rules/validation-rule.d.ts +9 -0
- package/dist/types/helpers/validator/test/rules/check-box-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/date-range-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/date-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/email-field-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/file-uploader-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/input-phone-number-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/input-range-min-and-max-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/input-range-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/max-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/max-string-length-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/min-and-max-date-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/min-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/min-string-length-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/required-field-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/time-range-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/time-range-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/time-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/toggle-switch-required-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/valid-credit-card-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/rules/valid-phone-number-rule.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler-chain.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/validation-rule-handler/form-field-validation-rule-handler.test.d.ts +1 -0
- package/dist/types/helpers/validator/test/validator/form-field-controller.test.d.ts +1 -0
- package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler-chain.d.ts +57 -0
- package/dist/types/helpers/validator/validation-rule-handler/form-field-validation-rule-handler.d.ts +47 -0
- package/dist/types/helpers/validator/validator.d.ts +8 -0
- package/dist/types/helpers/vega-telemetry-helper/test/vega-env-manager.test.d.ts +1 -0
- package/dist/types/helpers/vega-telemetry-helper/vega-env-manager.d.ts +30 -0
- package/dist/types/helpers/zindex/internal-vega-z-index-manager.d.ts +87 -0
- package/dist/types/helpers/zindex/test/internal-vega-z-index-manager.test.d.ts +1 -0
- package/dist/types/helpers/zindex/test/vega-z-index-manager.test.d.ts +1 -0
- package/dist/types/helpers/zindex/vega-z-index-manager.d.ts +21 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/polyfill/test-polyfill/e2e/retry.d.ts +8 -0
- package/dist/types/polyfill/test-polyfill/unit/create-touch-event.d.ts +11 -0
- package/dist/types/polyfill/test-polyfill/unit/events.d.ts +1 -0
- package/dist/types/polyfill/test-polyfill/unit/index.d.ts +2 -0
- package/dist/types/polyfill/test-polyfill/unit/methods.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/test-assets/test-icons.d.ts +4 -0
- package/dist/types/types/class.type.d.ts +8 -0
- package/dist/types/types/components.type.d.ts +191 -0
- package/dist/types/types/design-token.type.d.ts +21 -0
- package/dist/types/types/general.d.ts +7 -0
- package/dist/types/types/public-api.d.ts +16 -0
- package/dist/types/types/test/type-guard.test.d.ts +1 -0
- package/dist/types/types/test-polyfill.d.ts +8 -0
- package/dist/types/types/type-guard.d.ts +284 -0
- package/dist/types/types/ui.type.d.ts +152 -0
- package/dist/types/types/vega-chart.d.ts +149 -0
- package/dist/types/utils/accessibility.d.ts +6 -0
- package/dist/types/utils/api.d.ts +35 -0
- package/dist/types/utils/array.d.ts +100 -0
- package/dist/types/utils/breakpoints.d.ts +27 -0
- package/dist/types/utils/component.d.ts +34 -0
- package/dist/types/utils/date.d.ts +54 -0
- package/dist/types/utils/design-token.d.ts +115 -0
- package/dist/types/utils/e2e-utils.d.ts +139 -0
- package/dist/types/utils/effect.d.ts +30 -0
- package/dist/types/utils/local-storage.d.ts +14 -0
- package/dist/types/utils/log.d.ts +48 -0
- package/dist/types/utils/misc.d.ts +20 -0
- package/dist/types/utils/number.d.ts +58 -0
- package/dist/types/utils/object.d.ts +20 -0
- package/dist/types/utils/pagination.d.ts +13 -0
- package/dist/types/utils/pixel.d.ts +30 -0
- package/dist/types/utils/position.d.ts +17 -0
- package/dist/types/utils/public-api.d.ts +4 -0
- package/dist/types/utils/spec-utils.d.ts +93 -0
- package/dist/types/utils/string.d.ts +7 -0
- package/dist/types/utils/test/accessibility.test.d.ts +1 -0
- package/dist/types/utils/test/api.test.d.ts +1 -0
- package/dist/types/utils/test/array.test.d.ts +1 -0
- package/dist/types/utils/test/breakpoint.test.d.ts +1 -0
- package/dist/types/utils/test/component.test.d.ts +1 -0
- package/dist/types/utils/test/date.test.d.ts +1 -0
- package/dist/types/utils/test/design-token.test.d.ts +1 -0
- package/dist/types/utils/test/effect.test.d.ts +1 -0
- package/dist/types/utils/test/local-storage.test.d.ts +1 -0
- package/dist/types/utils/test/log.test.d.ts +1 -0
- package/dist/types/utils/test/misc.test.d.ts +1 -0
- package/dist/types/utils/test/number.test.d.ts +1 -0
- package/dist/types/utils/test/object.test.d.ts +1 -0
- package/dist/types/utils/test/pagination.test.d.ts +1 -0
- package/dist/types/utils/test/pixel.test.d.ts +1 -0
- package/dist/types/utils/test/position.test.d.ts +1 -0
- package/dist/types/utils/test/spec-utils.test.d.ts +1 -0
- package/dist/types/utils/test/string.test.d.ts +1 -0
- package/dist/types/utils/test/test-utils.test.d.ts +1 -0
- package/dist/types/utils/test/timer.test.d.ts +1 -0
- package/dist/types/utils/test/ui.test.d.ts +1 -0
- package/dist/types/utils/test-utils.d.ts +55 -0
- package/dist/types/utils/timer.d.ts +11 -0
- package/dist/types/utils/ui.d.ts +108 -0
- package/dist/types/value-model-adapters/angular-ng-model-accessor-adapter.d.ts +2 -0
- package/dist/types/value-model-adapters/vue-component-v-model-adaptor.d.ts +2 -0
- package/dist/types/vega-slimmer/src/common/helpers/dynamic-slimmer.d.ts +37 -0
- package/dist/types/vega-slimmer/src/common/helpers/global-slimmer-registry.d.ts +12 -0
- package/dist/types/vega-slimmer/src/common/symbols/decorator.d.ts +4 -0
- package/dist/types/vega-slimmer/src/common/types/decorator.type.d.ts +11 -0
- package/dist/types/vega-slimmer/src/common/utils/log.d.ts +25 -0
- package/dist/types/vega-slimmer/src/common/utils/placeholder.d.ts +14 -0
- package/dist/types/vega-slimmer/src/decorators/inject-vega-global-slimmer.d.ts +7 -0
- package/dist/types/vega-slimmer/src/decorators/inject-vega-slimmer.d.ts +22 -0
- package/dist/types/vega-slimmer/src/decorators/inject-vega-telemetry-slimmer.d.ts +15 -0
- package/dist/types/vega-slimmer/src/decorators/map-to-component-field.d.ts +13 -0
- package/dist/types/vega-slimmer/src/decorators/map-to-component-method.d.ts +9 -0
- package/dist/types/vega-slimmer/src/decorators/vega-slimmer.d.ts +5 -0
- package/dist/types/vega-slimmer/vega-slimmer-core.d.ts +10 -0
- package/dist/vega/index.esm.js +1 -0
- package/dist/vega/p-0134e8c5.js +1 -0
- package/dist/vega/p-016045b0.js +1 -0
- package/dist/vega/p-020baf8d.entry.js +1 -0
- package/dist/vega/p-04fcce24.entry.js +1 -0
- package/dist/vega/p-0702f6c0.entry.js +1 -0
- package/dist/vega/p-08ba0d4a.entry.js +1 -0
- package/dist/vega/p-0bb29d98.js +1 -0
- package/dist/vega/p-0c667d6a.js +1 -0
- package/dist/vega/p-0e9c4fd8.js +1 -0
- package/dist/vega/p-13f2c41c.entry.js +1 -0
- package/dist/vega/p-152393dd.js +1 -0
- package/dist/vega/p-16493e5b.js +1 -0
- package/dist/vega/p-1a0f6c99.entry.js +1 -0
- package/dist/vega/p-1bc5b3bc.js +1 -0
- package/dist/vega/p-1c1805aa.js +1 -0
- package/dist/vega/p-1c298d5a.js +2 -0
- package/dist/vega/p-1daef8ab.entry.js +1 -0
- package/dist/vega/p-1e33c6e3.entry.js +1 -0
- package/dist/vega/p-1f712313.js +1 -0
- package/dist/vega/p-23ec14fe.js +1 -0
- package/dist/vega/p-2675fb06.entry.js +1 -0
- package/dist/vega/p-28b1a294.entry.js +1 -0
- package/dist/vega/p-29ac203a.js +1 -0
- package/dist/vega/p-2b08a30e.entry.js +1 -0
- package/dist/vega/p-2d0d575f.js +1 -0
- package/dist/vega/p-2df25c7f.js +1 -0
- package/dist/vega/p-2e9c3333.entry.js +1 -0
- package/dist/vega/p-33596687.js +1 -0
- package/dist/vega/p-344ee7cb.js +1 -0
- package/dist/vega/p-3542f8fe.js +1 -0
- package/dist/vega/p-356de764.entry.js +1 -0
- package/dist/vega/p-389b3388.entry.js +1 -0
- package/dist/vega/p-38d81bde.js +1 -0
- package/dist/vega/p-3a0a4d15.js +1 -0
- package/dist/vega/p-3c8b2105.js +1 -0
- package/dist/vega/p-3e6e7fe0.entry.js +1 -0
- package/dist/vega/p-3f5e44c1.js +1 -0
- package/dist/vega/p-4163c2c2.js +1 -0
- package/dist/vega/p-462a6417.entry.js +1 -0
- package/dist/vega/p-47a4c625.js +1 -0
- package/dist/vega/p-47d106e7.js +1 -0
- package/dist/vega/p-4925ec08.entry.js +1 -0
- package/dist/vega/p-4b29a9c2.entry.js +1 -0
- package/dist/vega/p-4d36f758.entry.js +1 -0
- package/dist/vega/p-5041624e.entry.js +1 -0
- package/dist/vega/p-526de2f9.entry.js +1 -0
- package/dist/vega/p-53361f4c.entry.js +1 -0
- package/dist/vega/p-5453f591.js +1 -0
- package/dist/vega/p-54f87b68.entry.js +1 -0
- package/dist/vega/p-55ccc669.entry.js +1 -0
- package/dist/vega/p-5871524b.entry.js +1 -0
- package/dist/vega/p-5915634b.js +1 -0
- package/dist/vega/p-59a75a4e.js +1 -0
- package/dist/vega/p-5f377954.js +1 -0
- package/dist/vega/p-6168c1e7.js +1 -0
- package/dist/vega/p-61f6167c.js +1 -0
- package/dist/vega/p-65421306.entry.js +1 -0
- package/dist/vega/p-66098cf8.js +1 -0
- package/dist/vega/p-67f1d4fa.entry.js +1 -0
- package/dist/vega/p-69d0479b.entry.js +1 -0
- package/dist/vega/p-6a334573.js +1 -0
- package/dist/vega/p-6bd5c49b.js +1 -0
- package/dist/vega/p-6e1ab235.js +1 -0
- package/dist/vega/p-764be3f6.entry.js +1 -0
- package/dist/vega/p-770c736e.js +1 -0
- package/dist/vega/p-7a858cb9.entry.js +1 -0
- package/dist/vega/p-7b40ac07.js +1 -0
- package/dist/vega/p-7cbd8367.entry.js +1 -0
- package/dist/vega/p-810ba5c3.entry.js +1 -0
- package/dist/vega/p-84fa8466.js +1 -0
- package/dist/vega/p-86194314.js +1 -0
- package/dist/vega/p-8686c915.entry.js +1 -0
- package/dist/vega/p-86dd6e75.entry.js +1 -0
- package/dist/vega/p-883a939b.js +1 -0
- package/dist/vega/p-8b084bf9.entry.js +1 -0
- package/dist/vega/p-8b5d3a52.js +1 -0
- package/dist/vega/p-8ca2b2a6.js +1 -0
- package/dist/vega/p-8f0af276.entry.js +13 -0
- package/dist/vega/p-957e2de2.js +1 -0
- package/dist/vega/p-961e1ecd.js +1 -0
- package/dist/vega/p-987fbbd0.js +1 -0
- package/dist/vega/p-9909e768.js +1 -0
- package/dist/vega/p-9b797118.js +1 -0
- package/dist/vega/p-9ba085c1.entry.js +1 -0
- package/dist/vega/p-9d7f6c9e.entry.js +1 -0
- package/dist/vega/p-9df32d78.entry.js +1 -0
- package/dist/vega/p-a10b9f2e.js +12 -0
- package/dist/vega/p-a1f7484f.js +1 -0
- package/dist/vega/p-a2169994.entry.js +1 -0
- package/dist/vega/p-a3e7face.entry.js +1 -0
- package/dist/vega/p-a4dfbf5d.entry.js +1 -0
- package/dist/vega/p-a73c06f0.js +1 -0
- package/dist/vega/p-a7fdb16a.js +1 -0
- package/dist/vega/p-af26780d.js +1 -0
- package/dist/vega/p-af7a3154.js +1 -0
- package/dist/vega/p-b0ca612e.entry.js +1 -0
- package/dist/vega/p-b4e92130.entry.js +1 -0
- package/dist/vega/p-b5990090.js +1 -0
- package/dist/vega/p-b6ef48be.entry.js +1 -0
- package/dist/vega/p-b86e8c8b.entry.js +1 -0
- package/dist/vega/p-b8e42c11.entry.js +1 -0
- package/dist/vega/p-b9cb9098.entry.js +1 -0
- package/dist/vega/p-bb491bed.js +1 -0
- package/dist/vega/p-bb953c8e.js +1 -0
- package/dist/vega/p-bc5ce560.entry.js +1 -0
- package/dist/vega/p-be893ca7.entry.js +1 -0
- package/dist/vega/p-bf8c1fe3.js +1 -0
- package/dist/vega/p-bfd1969c.entry.js +1 -0
- package/dist/vega/p-c093f5d2.js +1 -0
- package/dist/vega/p-c1dfdc13.js +1 -0
- package/dist/vega/p-c3ef9d64.js +1 -0
- package/dist/vega/p-c59042c0.js +1 -0
- package/dist/vega/p-d26f7423.entry.js +1 -0
- package/dist/vega/p-d9fc1fff.entry.js +1 -0
- package/dist/vega/p-dce434e6.entry.js +1 -0
- package/dist/vega/p-ddc70a7b.js +1 -0
- package/dist/vega/p-e28d884d.entry.js +1 -0
- package/dist/vega/p-e467de3f.entry.js +1 -0
- package/dist/vega/p-ea1f50c9.entry.js +1 -0
- package/dist/vega/p-ead1a647.js +1 -0
- package/dist/vega/p-eae4a1c1.js +1 -0
- package/dist/vega/p-ecfa7534.js +1 -0
- package/dist/vega/p-ed4a57a8.js +1 -0
- package/dist/vega/p-eddcb385.entry.js +1 -0
- package/dist/vega/p-ee68920f.js +1 -0
- package/dist/vega/p-f01ad03a.entry.js +1 -0
- package/dist/vega/p-f1a59ae3.entry.js +1 -0
- package/dist/vega/p-f23d06c5.entry.js +1 -0
- package/dist/vega/p-f404aa83.js +1 -0
- package/dist/vega/p-f6fa60f9.entry.js +1 -0
- package/dist/vega/p-f71aa49e.entry.js +1 -0
- package/dist/vega/p-f7728ead.entry.js +1 -0
- package/dist/vega/p-f9e456a6.js +1 -0
- package/dist/vega/p-faea1620.js +1 -0
- package/dist/vega/vega.css +1 -0
- package/dist/vega/vega.esm.js +1 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +130 -0
- package/readme.md +182 -0
- package/style/vega.css +1 -0
@@ -0,0 +1,4515 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
const index = require('./index-09acd3c9.js');
|
6
|
+
const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
|
7
|
+
const placeholder = require('./placeholder-cb6d37ad.js');
|
8
|
+
const componentUsageRuntimeMetrics = require('./component-usage-runtime-metrics-1ee24991.js');
|
9
|
+
const object = require('./object-bbd4ed7f.js');
|
10
|
+
const changeManager = require('./change-manager-a297e4d2.js');
|
11
|
+
const staticSubjectTitle = require('./static-subject-title-35e2a92c.js');
|
12
|
+
const domNodeSubjectObserverFactory = require('./dom-node-subject-observer-factory-d2698876.js');
|
13
|
+
const ui = require('./ui-08f33116.js');
|
14
|
+
const remoteInvocationRegistry = require('./remote-invocation-registry-162044d5.js');
|
15
|
+
const vegaInternalEventId = require('./vega-internal-event-id-c98e9a7d.js');
|
16
|
+
const vegaEventId = require('./vega-event-id-e40ac8f0.js');
|
17
|
+
const typeGuard = require('./type-guard-4d05d4b2.js');
|
18
|
+
const responsiveFormatFacade = require('./responsive-format-facade-aa849dc7.js');
|
19
|
+
const component = require('./component-73a88c4e.js');
|
20
|
+
const misc = require('./misc-3d30df91.js');
|
21
|
+
const breakpoints = require('./breakpoints-cb3291ba.js');
|
22
|
+
const mutationObserverSlimmer = require('./mutation-observer-slimmer-895b3d3e.js');
|
23
|
+
const mutationObserverFilters = require('./mutation-observer-filters-79b60f28.js');
|
24
|
+
const pageResizeObserverSlimmer = require('./page-resize-observer-slimmer-1e404fc7.js');
|
25
|
+
const subStateObserverSlimmer = require('./sub-state-observer-slimmer-58217668.js');
|
26
|
+
const childNodesEventPreventSlimmer = require('./child-nodes-event-prevent-slimmer-35bb64e4.js');
|
27
|
+
const eventEmitSlimmer = require('./event-emit-slimmer-54616105.js');
|
28
|
+
const immutableMap = require('./immutable-map-adf398cc.js');
|
29
|
+
const featureFlagController = require('./feature-flag-controller-0e5235e1.js');
|
30
|
+
const internalVegaZIndexManager = require('./internal-vega-z-index-manager-23051df4.js');
|
31
|
+
const accessibility = require('./accessibility-bfa227f6.js');
|
32
|
+
const internalIconManager = require('./internal-icon-manager-3dd4faeb.js');
|
33
|
+
const chevronDown = require('./chevron-down-ca2fa88e.js');
|
34
|
+
require('./ui-077fc009.js');
|
35
|
+
require('./regex-c1f70fd4.js');
|
36
|
+
require('./typography-4560e7f1.js');
|
37
|
+
require('./number-459031f7.js');
|
38
|
+
require('./pixel-98f2a10c.js');
|
39
|
+
require('./array-6e559cde.js');
|
40
|
+
require('./dynamic-slimmer-f31fdfd7.js');
|
41
|
+
require('./internal-vega-event-manager-627b1328.js');
|
42
|
+
require('./vega-env-manager-23b8b23c.js');
|
43
|
+
require('./index-5792390b.js');
|
44
|
+
require('./icon-manager-2c3cf5ba.js');
|
45
|
+
require('./create-public-api-runtime-metrics-slimmer-d2d49ff5.js');
|
46
|
+
|
47
|
+
/**
|
48
|
+
* Immutable Set cannot be changed once created
|
49
|
+
*/
|
50
|
+
class ImmutableSet {
|
51
|
+
/**
|
52
|
+
* The constructor of ImmutableSet
|
53
|
+
*
|
54
|
+
* @typedef T generic type parameter
|
55
|
+
* @param {Set<T>} initialSet - The initial set to use. If not provided, the set will be empty.
|
56
|
+
* @param {() => void} onMutate - A callback function that will be called whenever the set is mutated.
|
57
|
+
*/
|
58
|
+
constructor(initialSet, onMutate) {
|
59
|
+
this.size = 0;
|
60
|
+
this.set = new Set();
|
61
|
+
if (initialSet) {
|
62
|
+
this.set = initialSet;
|
63
|
+
this.size = initialSet.size;
|
64
|
+
}
|
65
|
+
if (onMutate) {
|
66
|
+
this.onMutate = onMutate;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
/**
|
70
|
+
* The function is called when the set is mutated
|
71
|
+
*
|
72
|
+
* @param {Immutable<Set<T>>} _newSet - The new set that was created.
|
73
|
+
*/
|
74
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
75
|
+
onMutate(_newSet) {
|
76
|
+
return;
|
77
|
+
}
|
78
|
+
/**
|
79
|
+
* Add new items to the set, and then call the onMutate with the new ImmutableSet
|
80
|
+
*
|
81
|
+
* @typedef T generic type parameter
|
82
|
+
* @param {T[]} value - The items to add to the set.
|
83
|
+
* @returns {ImmutableSet<T>} A new ImmutableSet with the new items added.
|
84
|
+
*/
|
85
|
+
add(...value) {
|
86
|
+
return this.withMutation((set) => {
|
87
|
+
value.forEach((value) => set.add(value));
|
88
|
+
});
|
89
|
+
}
|
90
|
+
/**
|
91
|
+
* clear the set values
|
92
|
+
*
|
93
|
+
* @typedef T generic type parameter
|
94
|
+
*/
|
95
|
+
clear() {
|
96
|
+
this.withMutation((set) => set.clear());
|
97
|
+
}
|
98
|
+
/**
|
99
|
+
* delete item from set
|
100
|
+
*
|
101
|
+
* @typedef T generic type parameter
|
102
|
+
* @param {T} value - The key to delete from the set.
|
103
|
+
* @returns {ImmutableSet<T>} A new ImmutableSet
|
104
|
+
*/
|
105
|
+
delete(value) {
|
106
|
+
return this.withMutation((set) => {
|
107
|
+
set.delete(value);
|
108
|
+
});
|
109
|
+
}
|
110
|
+
/**
|
111
|
+
* It takes a function that mutates a set, and returns a new immutable set that is the result of that mutation
|
112
|
+
*
|
113
|
+
* @param {(set: Set<T>) => void} fn - (set: Set<T>) => void
|
114
|
+
* @returns {ImmutableSet<T>} A new ImmutableSet
|
115
|
+
*/
|
116
|
+
withMutation(fn) {
|
117
|
+
const newSet = new Set(this.set);
|
118
|
+
fn(newSet);
|
119
|
+
const newImmutableSet = new ImmutableSet(newSet, this.onMutate);
|
120
|
+
this.onMutate(newImmutableSet);
|
121
|
+
return newImmutableSet;
|
122
|
+
}
|
123
|
+
/**
|
124
|
+
* It returns true if the value is in the set, and false otherwise
|
125
|
+
*
|
126
|
+
* @typedef T generic type parameter
|
127
|
+
* @param {T} value - The value to check for.
|
128
|
+
* @returns {boolean} A boolean value.
|
129
|
+
*/
|
130
|
+
has(value) {
|
131
|
+
return this.set.has(value);
|
132
|
+
}
|
133
|
+
/**
|
134
|
+
* It returns an array of the values in the set
|
135
|
+
*
|
136
|
+
* @returns {T[]} An array of the values in the set.
|
137
|
+
*/
|
138
|
+
toArray() {
|
139
|
+
return [...this.set];
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
const VegaTableEditableFieldTypes = [
|
144
|
+
'input',
|
145
|
+
'input-select',
|
146
|
+
'stepper',
|
147
|
+
'checkbox',
|
148
|
+
'textarea',
|
149
|
+
'combo-box',
|
150
|
+
'date-picker',
|
151
|
+
'time-picker',
|
152
|
+
];
|
153
|
+
|
154
|
+
var __decorate$D = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
155
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
156
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
157
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
158
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
159
|
+
};
|
160
|
+
var __rest$1 = (undefined && undefined.__rest) || function (s, e) {
|
161
|
+
var t = {};
|
162
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
163
|
+
t[p] = s[p];
|
164
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
165
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
166
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
167
|
+
t[p[i]] = s[p[i]];
|
168
|
+
}
|
169
|
+
return t;
|
170
|
+
};
|
171
|
+
class VegaTableCellRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
172
|
+
constructor() {
|
173
|
+
super(...arguments);
|
174
|
+
this.renderTableCellContent = (column, record, index$1) => {
|
175
|
+
var _a, _b;
|
176
|
+
const value = object.getValueByPath(record, column.prop);
|
177
|
+
const rowKey = this.vegaTableDataSourceController.getRecordKey(record);
|
178
|
+
const isNewRow = !this.vegaTableDataSourceController
|
179
|
+
.getDataSource()
|
180
|
+
.find((item) => this.vegaTableDataSourceController.getRecordKey(item) === rowKey);
|
181
|
+
const editing = this.vegaTableEditableController.isEditing(rowKey);
|
182
|
+
const rowForm = this.vegaTableEditableController.getRowFormRefMap().get(rowKey);
|
183
|
+
if (editing && rowForm && column.renderFormItem) {
|
184
|
+
return column.renderFormItem(index.h, column.prop ? value : rowKey, record, index$1, {
|
185
|
+
rowForm,
|
186
|
+
isNewRow,
|
187
|
+
});
|
188
|
+
}
|
189
|
+
if (editing && rowForm && column.editable) {
|
190
|
+
const formItemProps = (_a = column.formItemProps) === null || _a === void 0 ? void 0 : _a.call(column, rowForm, {
|
191
|
+
record,
|
192
|
+
index: index$1,
|
193
|
+
});
|
194
|
+
const mergedProps = Object.assign({ dataVegaForm: (formItemProps === null || formItemProps === void 0 ? void 0 : formItemProps.dataVegaForm) || column.prop, size: 'small', value: value }, (_b = column.formItemProps) === null || _b === void 0 ? void 0 : _b.call(column, rowForm, { record, index: index$1 }));
|
195
|
+
return this.generateEditComponentByType(column.formItemType, mergedProps);
|
196
|
+
}
|
197
|
+
if (column.render) {
|
198
|
+
return column.render(index.h, column.prop ? value : rowKey, record, index$1);
|
199
|
+
}
|
200
|
+
if (typeof value === 'string' || typeof value === 'number') {
|
201
|
+
return String(value);
|
202
|
+
}
|
203
|
+
else if (typeof value === 'undefined' || value === null) {
|
204
|
+
return '';
|
205
|
+
}
|
206
|
+
else {
|
207
|
+
globalSlimmerRegistry.LogUtility.error(`Column ${column.prop}'s value has a wrong type(${typeof record[column.prop]}) in table cell. Only 'VegaTableNode | string | number' can be rendered in table cell`);
|
208
|
+
}
|
209
|
+
};
|
210
|
+
/**
|
211
|
+
* Generate edit component by
|
212
|
+
*
|
213
|
+
* @param {VegaTableFormItemType} type - The type of the vega components
|
214
|
+
* @param {VegaTableEditComponentProps} props - The component props
|
215
|
+
* @returns {VegaTableNode} The node of VegaTable
|
216
|
+
*/
|
217
|
+
this.generateEditComponentByType = (type = 'input', props) => {
|
218
|
+
const tagName = `vega-${type}`;
|
219
|
+
const { dataVegaForm } = props, componentProps = __rest$1(props, ["dataVegaForm"]);
|
220
|
+
if (!this.isVegaTableEditableFieldType(tagName)) {
|
221
|
+
globalSlimmerRegistry.LogUtility.error(`Type must be one of the form field types. [${VegaTableEditableFieldTypes.join(',')}]`);
|
222
|
+
return;
|
223
|
+
}
|
224
|
+
return index.h(tagName, Object.assign(Object.assign({}, componentProps), { 'data-vega-form': dataVegaForm }));
|
225
|
+
};
|
226
|
+
/**
|
227
|
+
* Verify the tagName is editable field type
|
228
|
+
*
|
229
|
+
* @param {string} tagName The component tag name
|
230
|
+
* @returns {boolean} return true if the tagName is editable field in VegaTable
|
231
|
+
*/
|
232
|
+
this.isVegaTableEditableFieldType = (tagName) => {
|
233
|
+
return (tagName.toUpperCase().startsWith('VEGA') &&
|
234
|
+
new RegExp(VegaTableEditableFieldTypes.join('|'), 'i').test(tagName));
|
235
|
+
};
|
236
|
+
}
|
237
|
+
render(column, record, index$1) {
|
238
|
+
const rowKey = this.vegaTableDataSourceController.getRecordKey(record);
|
239
|
+
const columnKey = `${rowKey}_${column.key || column.prop}`;
|
240
|
+
return (index.h("vega-table-cell", { key: columnKey, textAlign: column.align, breakpoint: column.breakpoint, overflow: column.overflow }, this.renderTableCellContent(column, record, index$1)));
|
241
|
+
}
|
242
|
+
}
|
243
|
+
__decorate$D([
|
244
|
+
globalSlimmerRegistry.MapToComponentField()
|
245
|
+
], VegaTableCellRenderer.prototype, "rowKey", void 0);
|
246
|
+
__decorate$D([
|
247
|
+
globalSlimmerRegistry.MapToComponentField()
|
248
|
+
], VegaTableCellRenderer.prototype, "vegaTableDataSourceController", void 0);
|
249
|
+
__decorate$D([
|
250
|
+
globalSlimmerRegistry.MapToComponentField()
|
251
|
+
], VegaTableCellRenderer.prototype, "vegaTableEditableController", void 0);
|
252
|
+
|
253
|
+
var __decorate$C = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
254
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
255
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
256
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
257
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
258
|
+
};
|
259
|
+
/**
|
260
|
+
* The expand row controller of VegaTable
|
261
|
+
*/
|
262
|
+
class VegaTableExpandRowController extends globalSlimmerRegistry.VegaSlimmer {
|
263
|
+
constructor() {
|
264
|
+
super(...arguments);
|
265
|
+
/**
|
266
|
+
* Toggle expandable row by rowKey
|
267
|
+
*
|
268
|
+
* @param {string} rowKey - The row key of the row
|
269
|
+
*/
|
270
|
+
this.toggleExpandRow = (rowKey) => {
|
271
|
+
this.rowExpandable && this.handleToggleExpandRow(rowKey, !this.isExpanded(rowKey));
|
272
|
+
};
|
273
|
+
/**
|
274
|
+
* Open expandable row by rowKey
|
275
|
+
*
|
276
|
+
* @param {string} rowKey - The row key of the row
|
277
|
+
*/
|
278
|
+
this.openExpandRow = (rowKey) => {
|
279
|
+
this.rowExpandable && this.handleToggleExpandRow(rowKey, true);
|
280
|
+
};
|
281
|
+
/**
|
282
|
+
* Close expanded row by rowKey
|
283
|
+
*
|
284
|
+
* @param {string} rowKey - The row key of the row
|
285
|
+
*/
|
286
|
+
this.closeExpandRow = (rowKey) => {
|
287
|
+
this.rowExpandable && this.handleToggleExpandRow(rowKey, false);
|
288
|
+
};
|
289
|
+
/**
|
290
|
+
* Close all expanded row
|
291
|
+
*/
|
292
|
+
this.closeAllExpandRow = () => {
|
293
|
+
this.rowExpandable && this.handleCloseAllExpandRow();
|
294
|
+
};
|
295
|
+
/**
|
296
|
+
* Whether the row is expandable
|
297
|
+
*
|
298
|
+
* @param {string} rowKey - The row key of the row
|
299
|
+
* @returns {boolean} Return true if the row is expandable
|
300
|
+
*/
|
301
|
+
this.isExpanded = (rowKey) => {
|
302
|
+
return this.expandedRowKeySet.has(rowKey);
|
303
|
+
};
|
304
|
+
/**
|
305
|
+
* Close all expand row
|
306
|
+
*/
|
307
|
+
this.handleCloseAllExpandRow = () => {
|
308
|
+
this.expandedRowKeySet.toArray().forEach((rowKey) => {
|
309
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_EXPAND_ROW, {
|
310
|
+
host: this.host,
|
311
|
+
rowKey: rowKey,
|
312
|
+
expanded: false,
|
313
|
+
});
|
314
|
+
});
|
315
|
+
this.expandedRowKeySet.clear();
|
316
|
+
};
|
317
|
+
/**
|
318
|
+
* Toggle expand row
|
319
|
+
*
|
320
|
+
* @param {string} rowKey - The row key of the row
|
321
|
+
* @param {boolean} open - set open true if you want to open the expand row, otherwise false
|
322
|
+
*/
|
323
|
+
this.handleToggleExpandRow = (rowKey, open) => {
|
324
|
+
if (open) {
|
325
|
+
this.expandedRowKeySet.add(rowKey);
|
326
|
+
}
|
327
|
+
else {
|
328
|
+
this.expandedRowKeySet.delete(rowKey);
|
329
|
+
}
|
330
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_EXPAND_ROW, {
|
331
|
+
host: this.host,
|
332
|
+
rowKey: rowKey,
|
333
|
+
expanded: open,
|
334
|
+
});
|
335
|
+
};
|
336
|
+
/*
|
337
|
+
* The below method is e2e-test covered in
|
338
|
+
*
|
339
|
+
* @see{module:vega-table-new-slot-content-change}
|
340
|
+
* @see{module:vega-table-wrong-slot-content-change}
|
341
|
+
*/
|
342
|
+
/* istanbul ignore next */
|
343
|
+
/**
|
344
|
+
* Init the mutation observer of expand row slot
|
345
|
+
*/
|
346
|
+
this.initMutationObserver = () => {
|
347
|
+
this.mutationObserver = new MutationObserver(async (mutations) => {
|
348
|
+
const needForceUpdate = this.expandRowSlotGuard(mutations);
|
349
|
+
if (needForceUpdate) {
|
350
|
+
index.forceUpdate(this.host);
|
351
|
+
}
|
352
|
+
});
|
353
|
+
this.mutationObserver.observe(this.host, { childList: true, subtree: true });
|
354
|
+
};
|
355
|
+
/*
|
356
|
+
* The below method is e2e-test covered in
|
357
|
+
* @see{module:vega-table-new-slot-content-change}
|
358
|
+
* @see{module:vega-table-wrong-slot-content-change}
|
359
|
+
*/
|
360
|
+
/* istanbul ignore next */
|
361
|
+
/**
|
362
|
+
* Monitoring the slot children used for expanded row
|
363
|
+
*
|
364
|
+
* @param {MutationRecord[]} mutations - The mutations of the observer
|
365
|
+
* @returns {boolean} return true if it needs force update
|
366
|
+
*/
|
367
|
+
this.expandRowSlotGuard = (mutations) => {
|
368
|
+
const expectSlotNames = this.vegaTableDataSourceController
|
369
|
+
.getCurrentData()
|
370
|
+
.map((item) => `${VegaTableExpandRowController.expandRowSlotNamePrefix}${this.vegaTableDataSourceController.getRecordKey(item)}`);
|
371
|
+
const expandRowSlotList = [];
|
372
|
+
for (let i = 0; i < mutations.length; i++) {
|
373
|
+
const slotNodes = Array.from(mutations[i].addedNodes).filter((item) => item instanceof HTMLElement && item.getAttribute('slot'));
|
374
|
+
slotNodes.forEach((item) => {
|
375
|
+
item.removeAttribute('hidden'); // node doesn't have a slot home to go to, so will be hidden https://github.com/ionic-team/stencil/blob/main/src/runtime/vdom/vdom-render.ts#L964
|
376
|
+
const slotName = item.getAttribute('slot');
|
377
|
+
if (expectSlotNames.includes(slotName)) {
|
378
|
+
expandRowSlotList.push(item);
|
379
|
+
}
|
380
|
+
else {
|
381
|
+
globalSlimmerRegistry.LogUtility.warn(`The vega-table expand row slot name '${slotName}' is not as expected, it must be like: vega-table-expand-row-[rowKey]`);
|
382
|
+
}
|
383
|
+
});
|
384
|
+
}
|
385
|
+
return expandRowSlotList.length > 0;
|
386
|
+
};
|
387
|
+
}
|
388
|
+
/**
|
389
|
+
* Component lifecycle - connectedCallback
|
390
|
+
*/
|
391
|
+
connectedCallback() {
|
392
|
+
this.initRowExpandObserver();
|
393
|
+
}
|
394
|
+
/**
|
395
|
+
* Component lifecycle - disconnectedCallback
|
396
|
+
*/
|
397
|
+
disconnectedCallback() {
|
398
|
+
if (this.mutationObserver) {
|
399
|
+
this.mutationObserver.disconnect();
|
400
|
+
}
|
401
|
+
changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_EXPAND_ROW, this.expandObserver);
|
402
|
+
remoteInvocationRegistry.remoteInvocationRegistry.unRegister(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalTableRowExpand));
|
403
|
+
}
|
404
|
+
/**
|
405
|
+
* Component lifecycle - componentDidLoad
|
406
|
+
*/
|
407
|
+
componentDidLoad() {
|
408
|
+
this.initMutationObserver();
|
409
|
+
}
|
410
|
+
/**
|
411
|
+
* The callback to handle [watchRowExpandable]{@link VegaTable.watchRowExpandable}
|
412
|
+
*/
|
413
|
+
watchRowExpandable() {
|
414
|
+
this.handleCloseAllExpandRow();
|
415
|
+
}
|
416
|
+
/**
|
417
|
+
* Initializes row expand observer
|
418
|
+
*/
|
419
|
+
initRowExpandObserver() {
|
420
|
+
this.expandObserver = new domNodeSubjectObserverFactory.Observer(this.isAcceptableTableRowObserver.bind({ host: this.host }), (payload) => {
|
421
|
+
if (payload.expanded) {
|
422
|
+
this.expandedRowKeySet.add(payload.rowKey);
|
423
|
+
}
|
424
|
+
else {
|
425
|
+
this.expandedRowKeySet.delete(payload.rowKey);
|
426
|
+
}
|
427
|
+
});
|
428
|
+
changeManager.ChangeManager.register(staticSubjectTitle.TABLE_EXPAND_ROW, this.expandObserver);
|
429
|
+
remoteInvocationRegistry.remoteInvocationRegistry.register(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalTableRowExpand), ({ rowKey, expanded }) => {
|
430
|
+
return this.rowExpandEventEmitter.emit({
|
431
|
+
record: this.vegaTableDataSourceController.getRecordByKey(rowKey),
|
432
|
+
expanded: expanded,
|
433
|
+
});
|
434
|
+
});
|
435
|
+
}
|
436
|
+
/**
|
437
|
+
* The function checks if the input is an acceptable row observer.
|
438
|
+
*
|
439
|
+
* @param {unknown} input - The input parameter is of type unknown, which means it can be any type.
|
440
|
+
* @returns {boolean} a boolean value indicating whether the input is acceptable observer.
|
441
|
+
*/
|
442
|
+
isAcceptableTableRowObserver(input) {
|
443
|
+
return (input['host']['tagName'] === 'VEGA-TABLE-ROW' &&
|
444
|
+
this.host === ui.findParent(input['host'], 'vega-table'));
|
445
|
+
}
|
446
|
+
}
|
447
|
+
VegaTableExpandRowController.expandRowSlotNamePrefix = 'vega-table-expand-row-';
|
448
|
+
__decorate$C([
|
449
|
+
globalSlimmerRegistry.MapToComponentField()
|
450
|
+
], VegaTableExpandRowController.prototype, "host", void 0);
|
451
|
+
__decorate$C([
|
452
|
+
globalSlimmerRegistry.MapToComponentField()
|
453
|
+
], VegaTableExpandRowController.prototype, "expandedRowKeySet", void 0);
|
454
|
+
__decorate$C([
|
455
|
+
globalSlimmerRegistry.MapToComponentField()
|
456
|
+
], VegaTableExpandRowController.prototype, "rowExpandable", void 0);
|
457
|
+
__decorate$C([
|
458
|
+
globalSlimmerRegistry.MapToComponentField()
|
459
|
+
], VegaTableExpandRowController.prototype, "rowExpandEventEmitter", void 0);
|
460
|
+
__decorate$C([
|
461
|
+
globalSlimmerRegistry.MapToComponentField()
|
462
|
+
], VegaTableExpandRowController.prototype, "vegaTableDataSourceController", void 0);
|
463
|
+
__decorate$C([
|
464
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
465
|
+
], VegaTableExpandRowController.prototype, "connectedCallback", null);
|
466
|
+
__decorate$C([
|
467
|
+
globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
|
468
|
+
], VegaTableExpandRowController.prototype, "disconnectedCallback", null);
|
469
|
+
__decorate$C([
|
470
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
|
471
|
+
], VegaTableExpandRowController.prototype, "componentDidLoad", null);
|
472
|
+
__decorate$C([
|
473
|
+
globalSlimmerRegistry.MapToComponentMethod('toggleExpandRow')
|
474
|
+
], VegaTableExpandRowController.prototype, "toggleExpandRow", void 0);
|
475
|
+
__decorate$C([
|
476
|
+
globalSlimmerRegistry.MapToComponentMethod('openExpandRow')
|
477
|
+
], VegaTableExpandRowController.prototype, "openExpandRow", void 0);
|
478
|
+
__decorate$C([
|
479
|
+
globalSlimmerRegistry.MapToComponentMethod('closeExpandRow')
|
480
|
+
], VegaTableExpandRowController.prototype, "closeExpandRow", void 0);
|
481
|
+
__decorate$C([
|
482
|
+
globalSlimmerRegistry.MapToComponentMethod('closeAllExpandRow')
|
483
|
+
], VegaTableExpandRowController.prototype, "closeAllExpandRow", void 0);
|
484
|
+
__decorate$C([
|
485
|
+
globalSlimmerRegistry.MapToComponentMethod('watchRowExpandable')
|
486
|
+
], VegaTableExpandRowController.prototype, "watchRowExpandable", null);
|
487
|
+
|
488
|
+
var __decorate$B = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
489
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
490
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
491
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
492
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
493
|
+
};
|
494
|
+
/**
|
495
|
+
*
|
496
|
+
*/
|
497
|
+
class VegaTableRowSelectionController$1 extends globalSlimmerRegistry.VegaSlimmer {
|
498
|
+
constructor() {
|
499
|
+
super(...arguments);
|
500
|
+
/**
|
501
|
+
* The method for handling row selection change
|
502
|
+
*
|
503
|
+
* @param {boolean} checked - true: the row is selected, otherwise not selected
|
504
|
+
* @param {VegaTableDataSourceItem} record - The record of the changed row
|
505
|
+
*/
|
506
|
+
this.handleRowSelect = (checked, record) => {
|
507
|
+
const rowKey = this.vegaTableDataSourceController.getRecordKey(record);
|
508
|
+
let isChanged = false;
|
509
|
+
if (checked) {
|
510
|
+
if (!this.selectedRowKeySet.has(rowKey)) {
|
511
|
+
this.selectedRowKeySet.add(rowKey);
|
512
|
+
isChanged = true;
|
513
|
+
}
|
514
|
+
}
|
515
|
+
else {
|
516
|
+
if (this.selectedRowKeySet.has(rowKey)) {
|
517
|
+
this.selectedRowKeySet.delete(rowKey);
|
518
|
+
isChanged = true;
|
519
|
+
}
|
520
|
+
}
|
521
|
+
if (isChanged) {
|
522
|
+
this.selectChangeEventEmitter.emit({
|
523
|
+
selected: checked,
|
524
|
+
record: record,
|
525
|
+
selectedRows: this.getSelectedRecords(),
|
526
|
+
});
|
527
|
+
}
|
528
|
+
};
|
529
|
+
/**
|
530
|
+
* Get the row selection type
|
531
|
+
*
|
532
|
+
* @returns {'multiple' | 'single'} Return the type of the row selection
|
533
|
+
*/
|
534
|
+
this.getRowSelectionType = () => {
|
535
|
+
if (!this.rowSelection)
|
536
|
+
return;
|
537
|
+
return this.rowSelection.type || 'multiple';
|
538
|
+
};
|
539
|
+
/**
|
540
|
+
* The method for handing the single row selection
|
541
|
+
*
|
542
|
+
* @param {VegaTableDataSourceItem} record - The record of the single selected row
|
543
|
+
*/
|
544
|
+
this.handleSingleRowSelect = (record) => {
|
545
|
+
const rowKey = this.vegaTableDataSourceController.getRecordKey(record);
|
546
|
+
if (this.isChecked(rowKey)) {
|
547
|
+
this.handleRowSelect(false, record);
|
548
|
+
}
|
549
|
+
else {
|
550
|
+
this.selectedRowKeySet.clear();
|
551
|
+
this.handleRowSelect(true, record);
|
552
|
+
}
|
553
|
+
};
|
554
|
+
/**
|
555
|
+
* Verify the row is checked or not for row selection
|
556
|
+
*
|
557
|
+
* @param {string} key - The row key of the row
|
558
|
+
* @returns {boolean} Return true if the row is selected, otherwise false
|
559
|
+
*/
|
560
|
+
this.isChecked = (key) => {
|
561
|
+
return this.selectedRowKeySet.has(key);
|
562
|
+
};
|
563
|
+
/**
|
564
|
+
* The method to handling select all rows
|
565
|
+
*
|
566
|
+
* @param {boolean} checkedAll - true: all rows are selected; false: not selected all rows
|
567
|
+
*/
|
568
|
+
this.handleSelectAll = (checkedAll) => {
|
569
|
+
if (checkedAll) {
|
570
|
+
const recordKeys = this.vegaTableDataSourceController.getAllRecordKeys();
|
571
|
+
this.selectedRowKeySet.add(...recordKeys.filter((key) => !this.selectedRowKeySet.has(key)));
|
572
|
+
}
|
573
|
+
else {
|
574
|
+
if (this.isCheckedAll()) {
|
575
|
+
this.selectedRowKeySet.clear();
|
576
|
+
}
|
577
|
+
}
|
578
|
+
};
|
579
|
+
/**
|
580
|
+
* Verify if all rows are selected
|
581
|
+
*
|
582
|
+
* @returns {boolean} return true if all rows are selected, otherwise false
|
583
|
+
*/
|
584
|
+
this.isCheckedAll = () => {
|
585
|
+
return (this.selectedRowKeySet.size > 0 &&
|
586
|
+
this.vegaTableDataSourceController
|
587
|
+
.getCurrentData()
|
588
|
+
.every((record) => this.selectedRowKeySet.has(this.vegaTableDataSourceController.getRecordKey(record))));
|
589
|
+
};
|
590
|
+
/**
|
591
|
+
* Set up the row selection config
|
592
|
+
*
|
593
|
+
* @param {VegaTableRowSelectionConfig} config - The config of the row selection
|
594
|
+
*/
|
595
|
+
this.setupRowSelection = (config) => {
|
596
|
+
this.rowSelection = Object.assign({ hideSelectAll: false, type: 'multiple' }, config);
|
597
|
+
};
|
598
|
+
/**
|
599
|
+
* Get the selected rows records array
|
600
|
+
*
|
601
|
+
* @returns {VegaTableDataSourceItem[]} The array of the all selected row's records
|
602
|
+
*/
|
603
|
+
this.getSelectedRecords = () => {
|
604
|
+
return this.selectedRowKeySet
|
605
|
+
.toArray()
|
606
|
+
.map(this.vegaTableDataSourceController.getRecordByKey)
|
607
|
+
.filter(Boolean);
|
608
|
+
};
|
609
|
+
/**
|
610
|
+
* Sync up the selected row's key when current data changed
|
611
|
+
*
|
612
|
+
* @param {VegaTableDataSourceItem[]} currentData - The current data of the source
|
613
|
+
*/
|
614
|
+
this.syncUpSelectedKeySetWithCurrentData = (currentData) => {
|
615
|
+
this.selectedRowKeySet.withMutation((set) => {
|
616
|
+
set.clear();
|
617
|
+
currentData.forEach((item) => {
|
618
|
+
const rowKey = this.vegaTableDataSourceController.getRecordKey(item);
|
619
|
+
if (this.selectedRowKeySet.has(rowKey)) {
|
620
|
+
set.add(rowKey);
|
621
|
+
}
|
622
|
+
});
|
623
|
+
});
|
624
|
+
};
|
625
|
+
}
|
626
|
+
/**
|
627
|
+
* Component lifecycle - connectedCallback
|
628
|
+
*/
|
629
|
+
connectedCallback() {
|
630
|
+
this.initRowSelection();
|
631
|
+
this.initRowClickObserver();
|
632
|
+
this.initRowSelectionAllObserver();
|
633
|
+
}
|
634
|
+
/**
|
635
|
+
*
|
636
|
+
*/
|
637
|
+
disconnectedCallback() {
|
638
|
+
changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_SELECTION, this.rowSelectionObserver);
|
639
|
+
changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, this.rowSelectionAllObserver);
|
640
|
+
changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_CLICK, this.rowClickObserver);
|
641
|
+
remoteInvocationRegistry.remoteInvocationRegistry.unRegister(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalTableRowSelect));
|
642
|
+
remoteInvocationRegistry.remoteInvocationRegistry.unRegister(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalTableRowSelectAll));
|
643
|
+
}
|
644
|
+
/**
|
645
|
+
* Component lifecycle - componentWillLoad
|
646
|
+
*/
|
647
|
+
componentWillLoad() {
|
648
|
+
if (this.rowSelection) {
|
649
|
+
this.setupRowSelection(this.rowSelection);
|
650
|
+
}
|
651
|
+
}
|
652
|
+
/**
|
653
|
+
* The callback to handle [watchRowSelection]{@link VegaTable.watchRowSelection}
|
654
|
+
*
|
655
|
+
* @param {VegaTableRowSelectionConfig} newValue - The changed value of rowSelection
|
656
|
+
* @param {VegaTableRowSelectionConfig} oldValue - The value of rowSelection before changing
|
657
|
+
*/
|
658
|
+
watchRowSelection(newValue, oldValue) {
|
659
|
+
if ((oldValue === null || oldValue === void 0 ? void 0 : oldValue.type) !== (newValue === null || newValue === void 0 ? void 0 : newValue.type)) {
|
660
|
+
void this.clearSelection();
|
661
|
+
}
|
662
|
+
}
|
663
|
+
/**
|
664
|
+
* The callback to handle [setSelection]{@link VegaTable.setSelection}
|
665
|
+
*
|
666
|
+
* @param {string[]} keys - The keys array of which you want to select
|
667
|
+
*/
|
668
|
+
setSelection(keys) {
|
669
|
+
if (this.getRowSelectionType() === 'single') {
|
670
|
+
keys.splice(1);
|
671
|
+
}
|
672
|
+
this.selectedRowKeySet.toArray().forEach((key) => {
|
673
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION, {
|
674
|
+
host: this.host,
|
675
|
+
rowKey: key,
|
676
|
+
checked: false,
|
677
|
+
});
|
678
|
+
});
|
679
|
+
this.selectedRowKeySet.clear();
|
680
|
+
keys.forEach((key) => {
|
681
|
+
if (this.vegaTableDataSourceController.getRecordByKey(key)) {
|
682
|
+
this.selectedRowKeySet.add(key);
|
683
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION, {
|
684
|
+
host: this.host,
|
685
|
+
rowKey: key,
|
686
|
+
checked: true,
|
687
|
+
});
|
688
|
+
}
|
689
|
+
});
|
690
|
+
}
|
691
|
+
/**
|
692
|
+
* The callback to handle [watchCurrentData]{@link VegaTable.watchCurrentData}
|
693
|
+
*
|
694
|
+
* @param {VegaTableDataSourceItem} currentData - The changed value of currentData
|
695
|
+
*/
|
696
|
+
watchCurrentData(currentData) {
|
697
|
+
this.syncUpSelectedKeySetWithCurrentData(currentData);
|
698
|
+
}
|
699
|
+
/**
|
700
|
+
* The callback to handle [clearSelection]{@link VegaTable.clearSelection}
|
701
|
+
*/
|
702
|
+
clearSelection() {
|
703
|
+
this.selectedRowKeySet.clear();
|
704
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, {
|
705
|
+
host: this.host,
|
706
|
+
checked: false,
|
707
|
+
noneChecked: this.selectedRowKeySet.size === 0,
|
708
|
+
});
|
709
|
+
}
|
710
|
+
/**
|
711
|
+
* The callback to handle [getSelection]{@link VegaTable.getSelection}
|
712
|
+
*
|
713
|
+
* @returns {string[]} The selected row keys array
|
714
|
+
*/
|
715
|
+
getSelection() {
|
716
|
+
return this.selectedRowKeySet.toArray();
|
717
|
+
}
|
718
|
+
/**
|
719
|
+
*
|
720
|
+
*/
|
721
|
+
watchSelectedRowKeySet() {
|
722
|
+
this.isSelectedAll = this.isCheckedAll();
|
723
|
+
}
|
724
|
+
/**
|
725
|
+
*
|
726
|
+
*/
|
727
|
+
watchSelectedAll() {
|
728
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, {
|
729
|
+
host: this.host,
|
730
|
+
checked: this.isCheckedAll(),
|
731
|
+
noneChecked: this.selectedRowKeySet.size === 0,
|
732
|
+
});
|
733
|
+
this.selectAllChangeEventEmitter.emit({
|
734
|
+
selected: this.isCheckedAll(),
|
735
|
+
selectedRows: this.getSelectedRecords(),
|
736
|
+
});
|
737
|
+
}
|
738
|
+
/**
|
739
|
+
* The function checks if the input is an acceptable table row observer by verifying its host tag name and ensuring it is a child of a vega-table element.
|
740
|
+
*
|
741
|
+
* @param {unknown} input - The `input` parameter is of type `unknown`, which means it can be any type.
|
742
|
+
* @returns {boolean} boolean value indicating whether the input is of type T and satisfies certain conditions.
|
743
|
+
*/
|
744
|
+
isAcceptableRowSelectionObserver(input) {
|
745
|
+
if (input['host']['tagName'] === 'VEGA-TABLE') {
|
746
|
+
return this.host === input['host'];
|
747
|
+
}
|
748
|
+
if (input['host']['tagName'] === 'VEGA-TABLE-ROW') {
|
749
|
+
return this.host === ui.findParent(input['host'], 'vega-table');
|
750
|
+
}
|
751
|
+
}
|
752
|
+
/**
|
753
|
+
* The function checks if the input is an acceptable observer for a table head row in a Vega table.
|
754
|
+
*
|
755
|
+
* @param {unknown} input - The `input` parameter is of type `unknown`, which means it can be any type.
|
756
|
+
* @returns {boolean} boolean value.
|
757
|
+
*/
|
758
|
+
isAcceptableRowSelectionAllObserver(input) {
|
759
|
+
if (input['host']['tagName'] === 'VEGA-TABLE') {
|
760
|
+
return this.host === input['host'];
|
761
|
+
}
|
762
|
+
if (input['host']['tagName'] === 'VEGA-TABLE-HEAD-ROW') {
|
763
|
+
return this.host === ui.findParent(input['host'], 'vega-table');
|
764
|
+
}
|
765
|
+
}
|
766
|
+
/**
|
767
|
+
* The function initializes a row selection.
|
768
|
+
*/
|
769
|
+
initRowSelection() {
|
770
|
+
this.rowSelectionObserver = new domNodeSubjectObserverFactory.Observer(this.isAcceptableRowSelectionObserver.bind(this), (payload) => {
|
771
|
+
const { rowKey, checked } = payload;
|
772
|
+
const record = this.vegaTableDataSourceController.getRecordByKey(rowKey);
|
773
|
+
this.handleRowSelect(checked, record);
|
774
|
+
});
|
775
|
+
changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_SELECTION, this.rowSelectionObserver);
|
776
|
+
remoteInvocationRegistry.remoteInvocationRegistry.register(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalTableRowSelect), ({ rowKey, checked }) => {
|
777
|
+
return this.rowSelectEventEmitter.emit({
|
778
|
+
selected: checked,
|
779
|
+
record: this.vegaTableDataSourceController.getRecordByKey(rowKey),
|
780
|
+
selectedRows: this.getSelectedRecords(),
|
781
|
+
});
|
782
|
+
});
|
783
|
+
remoteInvocationRegistry.remoteInvocationRegistry.register(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.host, vegaInternalEventId.VegaInternalTableRowSelectAll), ({ checked }) => {
|
784
|
+
return this.rowSelectAllEventEmitter.emit({
|
785
|
+
selected: checked,
|
786
|
+
selectedRows: this.getSelectedRecords(),
|
787
|
+
changedRows: checked
|
788
|
+
? this.vegaTableDataSourceController
|
789
|
+
.getCurrentData()
|
790
|
+
.filter((record) => !this.selectedRowKeySet.has(record.key))
|
791
|
+
: this.getSelectedRecords(),
|
792
|
+
});
|
793
|
+
});
|
794
|
+
}
|
795
|
+
/**
|
796
|
+
* The function initializes an observer for row selection all in a table
|
797
|
+
*/
|
798
|
+
initRowSelectionAllObserver() {
|
799
|
+
this.rowSelectionAllObserver = new domNodeSubjectObserverFactory.Observer(this.isAcceptableRowSelectionAllObserver.bind(this), (payload) => {
|
800
|
+
this.handleSelectAll(payload.checked);
|
801
|
+
});
|
802
|
+
changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, this.rowSelectionAllObserver);
|
803
|
+
}
|
804
|
+
/**
|
805
|
+
* The function initializes a row click observer that handles row selection in a table.
|
806
|
+
*/
|
807
|
+
initRowClickObserver() {
|
808
|
+
this.rowClickObserver = new domNodeSubjectObserverFactory.Observer(this.isAcceptableRowClickObserver.bind(this), (payload) => {
|
809
|
+
if (this.getRowSelectionType() === 'single') {
|
810
|
+
const record = this.vegaTableDataSourceController.getRecordByKey(payload.rowKey);
|
811
|
+
this.handleSingleRowSelect(record);
|
812
|
+
}
|
813
|
+
});
|
814
|
+
changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_CLICK, this.rowClickObserver);
|
815
|
+
}
|
816
|
+
/**
|
817
|
+
* The function checks if the input is an acceptable row click observer.
|
818
|
+
*
|
819
|
+
* @param {unknown} input - The input parameter is of type unknown, which means it can be any type.
|
820
|
+
* @returns {boolean} a boolean value indicating whether the input is acceptable observer.
|
821
|
+
*/
|
822
|
+
isAcceptableRowClickObserver(input) {
|
823
|
+
return (input['host']['tagName'] === 'VEGA-TABLE-ROW' &&
|
824
|
+
this.host === ui.findParent(input['host'], 'vega-table'));
|
825
|
+
}
|
826
|
+
}
|
827
|
+
__decorate$B([
|
828
|
+
globalSlimmerRegistry.MapToComponentField()
|
829
|
+
], VegaTableRowSelectionController$1.prototype, "host", void 0);
|
830
|
+
__decorate$B([
|
831
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
832
|
+
], VegaTableRowSelectionController$1.prototype, "isSelectedAll", void 0);
|
833
|
+
__decorate$B([
|
834
|
+
globalSlimmerRegistry.MapToComponentField()
|
835
|
+
], VegaTableRowSelectionController$1.prototype, "selectedRowKeySet", void 0);
|
836
|
+
__decorate$B([
|
837
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
838
|
+
], VegaTableRowSelectionController$1.prototype, "rowSelection", void 0);
|
839
|
+
__decorate$B([
|
840
|
+
globalSlimmerRegistry.MapToComponentField()
|
841
|
+
], VegaTableRowSelectionController$1.prototype, "rowKey", void 0);
|
842
|
+
__decorate$B([
|
843
|
+
globalSlimmerRegistry.MapToComponentField()
|
844
|
+
], VegaTableRowSelectionController$1.prototype, "selectChangeEventEmitter", void 0);
|
845
|
+
__decorate$B([
|
846
|
+
globalSlimmerRegistry.MapToComponentField()
|
847
|
+
], VegaTableRowSelectionController$1.prototype, "selectAllChangeEventEmitter", void 0);
|
848
|
+
__decorate$B([
|
849
|
+
globalSlimmerRegistry.MapToComponentField()
|
850
|
+
], VegaTableRowSelectionController$1.prototype, "vegaTableDataSourceController", void 0);
|
851
|
+
__decorate$B([
|
852
|
+
globalSlimmerRegistry.MapToComponentField()
|
853
|
+
], VegaTableRowSelectionController$1.prototype, "rowSelectEventEmitter", void 0);
|
854
|
+
__decorate$B([
|
855
|
+
globalSlimmerRegistry.MapToComponentField()
|
856
|
+
], VegaTableRowSelectionController$1.prototype, "rowSelectAllEventEmitter", void 0);
|
857
|
+
__decorate$B([
|
858
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
859
|
+
], VegaTableRowSelectionController$1.prototype, "connectedCallback", null);
|
860
|
+
__decorate$B([
|
861
|
+
globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
|
862
|
+
], VegaTableRowSelectionController$1.prototype, "disconnectedCallback", null);
|
863
|
+
__decorate$B([
|
864
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
865
|
+
], VegaTableRowSelectionController$1.prototype, "componentWillLoad", null);
|
866
|
+
__decorate$B([
|
867
|
+
globalSlimmerRegistry.MapToComponentMethod('watchRowSelection')
|
868
|
+
], VegaTableRowSelectionController$1.prototype, "watchRowSelection", null);
|
869
|
+
__decorate$B([
|
870
|
+
globalSlimmerRegistry.MapToComponentMethod('setSelection')
|
871
|
+
], VegaTableRowSelectionController$1.prototype, "setSelection", null);
|
872
|
+
__decorate$B([
|
873
|
+
globalSlimmerRegistry.MapToComponentMethod('watchCurrentData')
|
874
|
+
], VegaTableRowSelectionController$1.prototype, "watchCurrentData", null);
|
875
|
+
__decorate$B([
|
876
|
+
globalSlimmerRegistry.MapToComponentMethod('clearSelection')
|
877
|
+
], VegaTableRowSelectionController$1.prototype, "clearSelection", null);
|
878
|
+
__decorate$B([
|
879
|
+
globalSlimmerRegistry.MapToComponentMethod('getSelection')
|
880
|
+
], VegaTableRowSelectionController$1.prototype, "getSelection", null);
|
881
|
+
__decorate$B([
|
882
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSelectedRowKeySet')
|
883
|
+
], VegaTableRowSelectionController$1.prototype, "watchSelectedRowKeySet", null);
|
884
|
+
__decorate$B([
|
885
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSelectedAll')
|
886
|
+
], VegaTableRowSelectionController$1.prototype, "watchSelectedAll", null);
|
887
|
+
|
888
|
+
var __decorate$A = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
889
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
890
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
891
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
892
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
893
|
+
};
|
894
|
+
/**
|
895
|
+
* The dataSource controller for the vega-table
|
896
|
+
*/
|
897
|
+
class VegaTableDataSourceController extends globalSlimmerRegistry.VegaSlimmer {
|
898
|
+
constructor() {
|
899
|
+
super(...arguments);
|
900
|
+
/**
|
901
|
+
* Get the key of the record
|
902
|
+
*
|
903
|
+
* @param {VegaTableDataSourceItem} record - The record of the dataSource
|
904
|
+
* @returns {string} The key of the record
|
905
|
+
*/
|
906
|
+
this.getRecordKey = (record) => {
|
907
|
+
if (record[this.rowKey] !== undefined && record[this.rowKey] !== null) {
|
908
|
+
return String(record[this.rowKey]);
|
909
|
+
}
|
910
|
+
else {
|
911
|
+
return '';
|
912
|
+
}
|
913
|
+
};
|
914
|
+
/**
|
915
|
+
* Get the record from [currentData]{@link currentData} by key
|
916
|
+
*
|
917
|
+
* @param {string} key - The key of the record
|
918
|
+
* @returns {VegaTableDataSourceItem} The record of the [currentData]{@link currentData}
|
919
|
+
*/
|
920
|
+
this.getRecordByKey = (key) => {
|
921
|
+
return this.currentData.find((record) => this.getRecordKey(record) === key);
|
922
|
+
};
|
923
|
+
/**
|
924
|
+
* Update the [currentData]{@link currentData} by new data source
|
925
|
+
*
|
926
|
+
* @param {VegaTableDataSourceItem[]} data - New data source
|
927
|
+
*/
|
928
|
+
this.setCurrentData = (data) => {
|
929
|
+
if (this.tableDataValidation(data)) {
|
930
|
+
this.currentData = data;
|
931
|
+
}
|
932
|
+
else {
|
933
|
+
this.currentData = [];
|
934
|
+
}
|
935
|
+
};
|
936
|
+
}
|
937
|
+
/**
|
938
|
+
* Component lifecycle - componentWillLoad
|
939
|
+
*/
|
940
|
+
componentWillLoad() {
|
941
|
+
this.vegaTableSortController.syncSortOrder();
|
942
|
+
this.syncCurrentData();
|
943
|
+
}
|
944
|
+
/**
|
945
|
+
* The callback of [watchSortersMap]{@link VegaTable.watchSortersMap}
|
946
|
+
*/
|
947
|
+
watchSortersMap() {
|
948
|
+
this.syncCurrentData();
|
949
|
+
}
|
950
|
+
/**
|
951
|
+
* The callback of watchDataSource
|
952
|
+
*/
|
953
|
+
watchDataSource() {
|
954
|
+
this.syncCurrentData();
|
955
|
+
}
|
956
|
+
/**
|
957
|
+
* Get currentData item keys
|
958
|
+
*
|
959
|
+
* @returns {string[]} The key array of currentData
|
960
|
+
*/
|
961
|
+
getAllRecordKeys() {
|
962
|
+
return this.currentData.map(this.getRecordKey);
|
963
|
+
}
|
964
|
+
/**
|
965
|
+
* The getter of dataSource
|
966
|
+
*
|
967
|
+
* @returns {VegaTableDataSourceItem[]} The value of dataSource
|
968
|
+
*/
|
969
|
+
getDataSource() {
|
970
|
+
return this.dataSource;
|
971
|
+
}
|
972
|
+
/**
|
973
|
+
* The setter of [dataSource]{@link dataSource}
|
974
|
+
*
|
975
|
+
* @param {VegaTableDataSourceItem[]} data - The new data source
|
976
|
+
*/
|
977
|
+
setDataSource(data) {
|
978
|
+
this.dataSource = data;
|
979
|
+
}
|
980
|
+
/**
|
981
|
+
* The getter of [currentData]{@link currentData}
|
982
|
+
*
|
983
|
+
* @returns {VegaTableDataSourceItem[]} the value of currentData
|
984
|
+
*/
|
985
|
+
getCurrentData() {
|
986
|
+
return this.currentData;
|
987
|
+
}
|
988
|
+
/**
|
989
|
+
* Check whether the currentData is empty
|
990
|
+
*
|
991
|
+
* @returns {boolean} return true if the currentData is empty
|
992
|
+
*/
|
993
|
+
isCurrentDataEmpty() {
|
994
|
+
return this.currentData.length === 0;
|
995
|
+
}
|
996
|
+
/**
|
997
|
+
* Verify whether the data is valid
|
998
|
+
*
|
999
|
+
* @param {VegaTableDataSourceItem[]} data - The data source
|
1000
|
+
* @returns {boolean} Return true if the data is valid, otherwise false
|
1001
|
+
*/
|
1002
|
+
tableDataValidation(data) {
|
1003
|
+
if (data.some((item) => !this.getRecordKey(item))) {
|
1004
|
+
globalSlimmerRegistry.LogUtility.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');
|
1005
|
+
return false;
|
1006
|
+
}
|
1007
|
+
return true;
|
1008
|
+
}
|
1009
|
+
/**
|
1010
|
+
* Update the currentData with sorted data if there is sorted status.
|
1011
|
+
* Otherwise, update with the dataSource directly
|
1012
|
+
*/
|
1013
|
+
syncCurrentData() {
|
1014
|
+
if (this.isTemplateRenderMode) {
|
1015
|
+
return;
|
1016
|
+
}
|
1017
|
+
const sortedColumns = this.sortersMap.size > 0
|
1018
|
+
? this.columns.filter((column) => column.sorter && column.sorter !== 'event' && this.sortersMap.has(column.prop))
|
1019
|
+
: [];
|
1020
|
+
if (sortedColumns.length > 0) {
|
1021
|
+
this.setCurrentData(this.vegaTableSortController.sortData(this.dataSource, Array.from(this.sortersMap.values())));
|
1022
|
+
}
|
1023
|
+
else {
|
1024
|
+
this.setCurrentData(this.dataSource);
|
1025
|
+
}
|
1026
|
+
}
|
1027
|
+
}
|
1028
|
+
__decorate$A([
|
1029
|
+
globalSlimmerRegistry.MapToComponentField()
|
1030
|
+
], VegaTableDataSourceController.prototype, "rowKey", void 0);
|
1031
|
+
__decorate$A([
|
1032
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
1033
|
+
], VegaTableDataSourceController.prototype, "currentData", void 0);
|
1034
|
+
__decorate$A([
|
1035
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
1036
|
+
], VegaTableDataSourceController.prototype, "dataSource", void 0);
|
1037
|
+
__decorate$A([
|
1038
|
+
globalSlimmerRegistry.MapToComponentField()
|
1039
|
+
], VegaTableDataSourceController.prototype, "columns", void 0);
|
1040
|
+
__decorate$A([
|
1041
|
+
globalSlimmerRegistry.MapToComponentField()
|
1042
|
+
], VegaTableDataSourceController.prototype, "sortersMap", void 0);
|
1043
|
+
__decorate$A([
|
1044
|
+
globalSlimmerRegistry.MapToComponentField()
|
1045
|
+
], VegaTableDataSourceController.prototype, "vegaTableSortController", void 0);
|
1046
|
+
__decorate$A([
|
1047
|
+
globalSlimmerRegistry.MapToComponentField()
|
1048
|
+
], VegaTableDataSourceController.prototype, "vegaTableRenderer", void 0);
|
1049
|
+
__decorate$A([
|
1050
|
+
globalSlimmerRegistry.MapToComponentField()
|
1051
|
+
], VegaTableDataSourceController.prototype, "isTemplateRenderMode", void 0);
|
1052
|
+
__decorate$A([
|
1053
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
1054
|
+
], VegaTableDataSourceController.prototype, "componentWillLoad", null);
|
1055
|
+
__decorate$A([
|
1056
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSortersMap')
|
1057
|
+
], VegaTableDataSourceController.prototype, "watchSortersMap", null);
|
1058
|
+
__decorate$A([
|
1059
|
+
globalSlimmerRegistry.MapToComponentMethod('watchDataSource')
|
1060
|
+
], VegaTableDataSourceController.prototype, "watchDataSource", null);
|
1061
|
+
|
1062
|
+
var __decorate$z = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1063
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1064
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1065
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1066
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1067
|
+
};
|
1068
|
+
class VegaTableBodyRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
1069
|
+
constructor() {
|
1070
|
+
super(...arguments);
|
1071
|
+
this.renderTableBody = (editable) => {
|
1072
|
+
return (index.h("vega-table-body", null, this.vegaTableDataSourceController
|
1073
|
+
.getCurrentData()
|
1074
|
+
.map((record, index$1) => {
|
1075
|
+
const rowKey = this.vegaTableDataSourceController.getRecordKey(record);
|
1076
|
+
const isVisibleInCurrentPage = this.vegaTablePaginationController.isRowVisible(index$1);
|
1077
|
+
return (index.h(index.Fragment, null,
|
1078
|
+
this.vegaTableRowRenderer.render({
|
1079
|
+
rowKey,
|
1080
|
+
index: index$1,
|
1081
|
+
record,
|
1082
|
+
isVisibleInCurrentPage,
|
1083
|
+
}, editable),
|
1084
|
+
this.rowExpandable && (index.h("vega-table-expand-row", { class: {
|
1085
|
+
'v-hidden': !isVisibleInCurrentPage,
|
1086
|
+
}, key: `vega-table-expanded-row-${rowKey}`, rowKey: rowKey, "data-striped": this.striped && index$1 % 2 === 1 ? 'striped' : undefined },
|
1087
|
+
index.h("slot", { name: `${VegaTableExpandRowController.expandRowSlotNamePrefix}${rowKey}` })))));
|
1088
|
+
})));
|
1089
|
+
};
|
1090
|
+
}
|
1091
|
+
getTableFormRef() {
|
1092
|
+
return this.tableFormRef;
|
1093
|
+
}
|
1094
|
+
render() {
|
1095
|
+
const editable = this.columns.some((item) => item.editable);
|
1096
|
+
return editable ? (index.h("vega-form", { ref: (ref) => (this.tableFormRef = ref) }, this.renderTableBody(editable))) : (this.renderTableBody(false));
|
1097
|
+
}
|
1098
|
+
}
|
1099
|
+
__decorate$z([
|
1100
|
+
globalSlimmerRegistry.MapToComponentField()
|
1101
|
+
], VegaTableBodyRenderer.prototype, "striped", void 0);
|
1102
|
+
__decorate$z([
|
1103
|
+
globalSlimmerRegistry.MapToComponentField()
|
1104
|
+
], VegaTableBodyRenderer.prototype, "columns", void 0);
|
1105
|
+
__decorate$z([
|
1106
|
+
globalSlimmerRegistry.MapToComponentField()
|
1107
|
+
], VegaTableBodyRenderer.prototype, "currentBreakpoint", void 0);
|
1108
|
+
__decorate$z([
|
1109
|
+
globalSlimmerRegistry.MapToComponentField()
|
1110
|
+
], VegaTableBodyRenderer.prototype, "rowExpandable", void 0);
|
1111
|
+
__decorate$z([
|
1112
|
+
globalSlimmerRegistry.MapToComponentField()
|
1113
|
+
], VegaTableBodyRenderer.prototype, "rowClickable", void 0);
|
1114
|
+
__decorate$z([
|
1115
|
+
globalSlimmerRegistry.MapToComponentField()
|
1116
|
+
], VegaTableBodyRenderer.prototype, "vegaTableDataSourceController", void 0);
|
1117
|
+
__decorate$z([
|
1118
|
+
globalSlimmerRegistry.MapToComponentField()
|
1119
|
+
], VegaTableBodyRenderer.prototype, "vegaTablePaginationController", void 0);
|
1120
|
+
__decorate$z([
|
1121
|
+
globalSlimmerRegistry.MapToComponentField()
|
1122
|
+
], VegaTableBodyRenderer.prototype, "vegaTableRowSelectionController", void 0);
|
1123
|
+
__decorate$z([
|
1124
|
+
globalSlimmerRegistry.MapToComponentField()
|
1125
|
+
], VegaTableBodyRenderer.prototype, "vegaTableRowRenderer", void 0);
|
1126
|
+
|
1127
|
+
var __decorate$y = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1128
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1129
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1130
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1131
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1132
|
+
};
|
1133
|
+
class VegaTableHeaderRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
1134
|
+
constructor() {
|
1135
|
+
super(...arguments);
|
1136
|
+
this.renderHeaderColumnCells = () => {
|
1137
|
+
return this.columns.map((column) => {
|
1138
|
+
var _a;
|
1139
|
+
return (index.h("vega-table-head-cell", { key: column.key || column.prop, textAlign: column.align, sorter: column.sorter, sortOrder: (_a = this.sortersMap.get(column.prop)) === null || _a === void 0 ? void 0 : _a.getSortOrder(), breakpoint: column.breakpoint,
|
1140
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
1141
|
+
ref: (ref) => {
|
1142
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaClick, (input) => {
|
1143
|
+
const sortOrder = input.detail.sortOrder;
|
1144
|
+
this.vegaTableSortController.handleHeadSortClick(column, sortOrder);
|
1145
|
+
});
|
1146
|
+
} }, column.label));
|
1147
|
+
});
|
1148
|
+
};
|
1149
|
+
}
|
1150
|
+
render() {
|
1151
|
+
var _a;
|
1152
|
+
return (this.showHeader && (index.h("vega-table-head", null,
|
1153
|
+
index.h("vega-table-head-row", { hideSelectAll: (_a = this.rowSelection) === null || _a === void 0 ? void 0 : _a.hideSelectAll }, this.renderHeaderColumnCells()))));
|
1154
|
+
}
|
1155
|
+
}
|
1156
|
+
__decorate$y([
|
1157
|
+
globalSlimmerRegistry.MapToComponentField()
|
1158
|
+
], VegaTableHeaderRenderer.prototype, "showHeader", void 0);
|
1159
|
+
__decorate$y([
|
1160
|
+
globalSlimmerRegistry.MapToComponentField()
|
1161
|
+
], VegaTableHeaderRenderer.prototype, "sortersMap", void 0);
|
1162
|
+
__decorate$y([
|
1163
|
+
globalSlimmerRegistry.MapToComponentField()
|
1164
|
+
], VegaTableHeaderRenderer.prototype, "columns", void 0);
|
1165
|
+
__decorate$y([
|
1166
|
+
globalSlimmerRegistry.MapToComponentField()
|
1167
|
+
], VegaTableHeaderRenderer.prototype, "rowSelection", void 0);
|
1168
|
+
__decorate$y([
|
1169
|
+
globalSlimmerRegistry.MapToComponentField()
|
1170
|
+
], VegaTableHeaderRenderer.prototype, "vegaTableSortController", void 0);
|
1171
|
+
__decorate$y([
|
1172
|
+
globalSlimmerRegistry.MapToComponentField()
|
1173
|
+
], VegaTableHeaderRenderer.prototype, "vegaTableDataSourceController", void 0);
|
1174
|
+
|
1175
|
+
var __decorate$x = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1176
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1177
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1178
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1179
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1180
|
+
};
|
1181
|
+
var __rest = (undefined && undefined.__rest) || function (s, e) {
|
1182
|
+
var t = {};
|
1183
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
1184
|
+
t[p] = s[p];
|
1185
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
1186
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
1187
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
1188
|
+
t[p[i]] = s[p[i]];
|
1189
|
+
}
|
1190
|
+
return t;
|
1191
|
+
};
|
1192
|
+
class VegaTablePaginationRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
1193
|
+
constructor() {
|
1194
|
+
super(...arguments);
|
1195
|
+
this.paginationRefCallback = (ref) => {
|
1196
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaChange, this.handlePaginationChange);
|
1197
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaPageSizeChange, this.handlePaginationPageSizeChange);
|
1198
|
+
};
|
1199
|
+
/**
|
1200
|
+
* handle the pagination page change after observer the notify
|
1201
|
+
*
|
1202
|
+
* @param {NotifyObserverPayload<number>} input payload message, detail is the current page index
|
1203
|
+
*/
|
1204
|
+
this.handlePaginationChange = (input) => {
|
1205
|
+
var _a, _b;
|
1206
|
+
this.vegaTablePaginationController.setCurrentPage(input.detail);
|
1207
|
+
const event = new CustomEvent('vegaChange', { detail: input.detail });
|
1208
|
+
(_b = (_a = this.pagination).vegaChange) === null || _b === void 0 ? void 0 : _b.call(_a, event);
|
1209
|
+
};
|
1210
|
+
/**
|
1211
|
+
* handle the pagination page size change after observer the notify
|
1212
|
+
*
|
1213
|
+
* @param {NotifyObserverPayload<number>} input payload message, detail is the current page size
|
1214
|
+
*/
|
1215
|
+
this.handlePaginationPageSizeChange = (input) => {
|
1216
|
+
var _a, _b;
|
1217
|
+
this.vegaTablePaginationController.setPageSize(input.detail);
|
1218
|
+
const event = new CustomEvent('vegaPageSizeChange', {
|
1219
|
+
detail: input.detail,
|
1220
|
+
});
|
1221
|
+
(_b = (_a = this.pagination).vegaPageSizeChange) === null || _b === void 0 ? void 0 : _b.call(_a, event);
|
1222
|
+
};
|
1223
|
+
this.getPaginationConfig = () => {
|
1224
|
+
var _a;
|
1225
|
+
const _b = this.pagination, { position } = _b, otherProps = __rest(_b, ["position"]);
|
1226
|
+
return Object.assign(Object.assign({}, otherProps), { position: ((_a = this.pagination.extensions) === null || _a === void 0 ? void 0 : _a.length) > 1 ? undefined : position || 'bottom-center', pageSize: this.pageSize });
|
1227
|
+
};
|
1228
|
+
}
|
1229
|
+
render() {
|
1230
|
+
if (!this.pagination)
|
1231
|
+
return;
|
1232
|
+
const { pageSize, position, extensions, pageSizeSelectorOptions } = this.getPaginationConfig();
|
1233
|
+
const paginationWrapperClasses = ['vega-table-pagination-container', position];
|
1234
|
+
const total = this.vegaTableDataSourceController.getCurrentData().length;
|
1235
|
+
return (total > 0 && (index.h("div", { class: ui.arrayToClassString(paginationWrapperClasses) },
|
1236
|
+
index.h("vega-pagination", { total: total, pageSize: pageSize, current: this.currentPage, extensions: extensions, pageSizeSelectorOptions: pageSizeSelectorOptions,
|
1237
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
1238
|
+
ref: this.paginationRefCallback }))));
|
1239
|
+
}
|
1240
|
+
}
|
1241
|
+
__decorate$x([
|
1242
|
+
globalSlimmerRegistry.MapToComponentField()
|
1243
|
+
], VegaTablePaginationRenderer.prototype, "pagination", void 0);
|
1244
|
+
__decorate$x([
|
1245
|
+
globalSlimmerRegistry.MapToComponentField()
|
1246
|
+
], VegaTablePaginationRenderer.prototype, "pageSize", void 0);
|
1247
|
+
__decorate$x([
|
1248
|
+
globalSlimmerRegistry.MapToComponentField()
|
1249
|
+
], VegaTablePaginationRenderer.prototype, "currentPage", void 0);
|
1250
|
+
__decorate$x([
|
1251
|
+
globalSlimmerRegistry.MapToComponentField()
|
1252
|
+
], VegaTablePaginationRenderer.prototype, "vegaTablePaginationController", void 0);
|
1253
|
+
__decorate$x([
|
1254
|
+
globalSlimmerRegistry.MapToComponentField()
|
1255
|
+
], VegaTablePaginationRenderer.prototype, "vegaTableDataSourceController", void 0);
|
1256
|
+
|
1257
|
+
const VegaTableScrollableContainer = ({ scrollConfig = {}, ref }, children) => {
|
1258
|
+
const { maxHeight } = scrollConfig;
|
1259
|
+
const isVerticalScrollable = typeGuard.isNonNullable(maxHeight);
|
1260
|
+
const handleVerticalScroll = (e) => {
|
1261
|
+
if (!isVerticalScrollable)
|
1262
|
+
return;
|
1263
|
+
const target = e.target;
|
1264
|
+
if (target.scrollTop === 0) {
|
1265
|
+
target.classList.remove('scrolled');
|
1266
|
+
return;
|
1267
|
+
}
|
1268
|
+
if (target.scrollTop > 0 && !target.classList.contains('scrolled')) {
|
1269
|
+
target.classList.add('scrolled');
|
1270
|
+
}
|
1271
|
+
};
|
1272
|
+
return (index.h("div", { class: "vega-table-scrollable-container", style: {
|
1273
|
+
maxHeight: typeof maxHeight === 'number' ? `${maxHeight}px` : maxHeight,
|
1274
|
+
}, ref: ref,
|
1275
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
1276
|
+
onScroll: handleVerticalScroll }, children));
|
1277
|
+
};
|
1278
|
+
|
1279
|
+
var __decorate$w = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1280
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1281
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1282
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1283
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1284
|
+
};
|
1285
|
+
class VegaTableScrollContainerRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
1286
|
+
constructor() {
|
1287
|
+
super(...arguments);
|
1288
|
+
this.scrollContainerToTop = () => {
|
1289
|
+
if (this.tableScrollContainerRef) {
|
1290
|
+
this.tableScrollContainerRef.scrollTop = 0;
|
1291
|
+
}
|
1292
|
+
};
|
1293
|
+
}
|
1294
|
+
watchCurrentPage() {
|
1295
|
+
this.scrollContainerToTop();
|
1296
|
+
}
|
1297
|
+
render(children) {
|
1298
|
+
return (index.h(VegaTableScrollableContainer, { scrollConfig: this.scrollConfig, ref: (ref) => this.setTableScrollContainerRef(ref) }, children));
|
1299
|
+
}
|
1300
|
+
setTableScrollContainerRef(ref) {
|
1301
|
+
this.tableScrollContainerRef = ref;
|
1302
|
+
}
|
1303
|
+
}
|
1304
|
+
__decorate$w([
|
1305
|
+
globalSlimmerRegistry.MapToComponentField()
|
1306
|
+
], VegaTableScrollContainerRenderer.prototype, "scrollConfig", void 0);
|
1307
|
+
__decorate$w([
|
1308
|
+
globalSlimmerRegistry.MapToComponentMethod('watchCurrentPage')
|
1309
|
+
], VegaTableScrollContainerRenderer.prototype, "watchCurrentPage", null);
|
1310
|
+
|
1311
|
+
var __decorate$v = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1312
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1313
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1314
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1315
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1316
|
+
};
|
1317
|
+
class VegaTableRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
1318
|
+
constructor() {
|
1319
|
+
super(...arguments);
|
1320
|
+
this.renderInternalTable = () => {
|
1321
|
+
const tableLayoutFixed = this.columns.some((column) => column.overflow) ||
|
1322
|
+
Array.from(this.host.querySelectorAll('vega-table-cell')).some((cell) => cell.overflow);
|
1323
|
+
return (index.h("table", { class: {
|
1324
|
+
'v-table-fixed': tableLayoutFixed,
|
1325
|
+
} },
|
1326
|
+
this.columns.length > 0 && [
|
1327
|
+
this.vegaTableColGroupRenderer.render(),
|
1328
|
+
this.vegaTableHeaderRenderer.render(),
|
1329
|
+
],
|
1330
|
+
this.dataSource.length > 0 && this.vegaTableBodyRenderer.render(),
|
1331
|
+
this.isTemplateRenderMode && index.h("slot", null)));
|
1332
|
+
};
|
1333
|
+
this.renderEmpty = () => {
|
1334
|
+
return (this.vegaTableDataSourceController.isCurrentDataEmpty() &&
|
1335
|
+
this.emptyDescription && index.h("div", { class: "vega-table-empty-description" }, this.emptyDescription));
|
1336
|
+
};
|
1337
|
+
}
|
1338
|
+
render() {
|
1339
|
+
const hostClasses = ui.arrayToClassString([
|
1340
|
+
this.rowDivider && 'row-divider',
|
1341
|
+
this.columnDivider && 'column-divider',
|
1342
|
+
`density-${responsiveFormatFacade.ResponsiveFormatFacade.formatCustom(this.density)}`,
|
1343
|
+
this.striped && 'striped',
|
1344
|
+
]);
|
1345
|
+
return component.sanitizeVegaComponent(index.h(index.Host, { class: hostClasses },
|
1346
|
+
this.vegaTableScrollContainerRenderer.render(this.renderInternalTable()),
|
1347
|
+
this.vegaTablePaginationRenderer.render(),
|
1348
|
+
this.renderEmpty()), this.host);
|
1349
|
+
}
|
1350
|
+
}
|
1351
|
+
__decorate$v([
|
1352
|
+
globalSlimmerRegistry.MapToComponentField()
|
1353
|
+
], VegaTableRenderer.prototype, "host", void 0);
|
1354
|
+
__decorate$v([
|
1355
|
+
globalSlimmerRegistry.MapToComponentField()
|
1356
|
+
], VegaTableRenderer.prototype, "columns", void 0);
|
1357
|
+
__decorate$v([
|
1358
|
+
globalSlimmerRegistry.MapToComponentField()
|
1359
|
+
], VegaTableRenderer.prototype, "emptyDescription", void 0);
|
1360
|
+
__decorate$v([
|
1361
|
+
globalSlimmerRegistry.MapToComponentField()
|
1362
|
+
], VegaTableRenderer.prototype, "rowDivider", void 0);
|
1363
|
+
__decorate$v([
|
1364
|
+
globalSlimmerRegistry.MapToComponentField()
|
1365
|
+
], VegaTableRenderer.prototype, "columnDivider", void 0);
|
1366
|
+
__decorate$v([
|
1367
|
+
globalSlimmerRegistry.MapToComponentField()
|
1368
|
+
], VegaTableRenderer.prototype, "density", void 0);
|
1369
|
+
__decorate$v([
|
1370
|
+
globalSlimmerRegistry.MapToComponentField()
|
1371
|
+
], VegaTableRenderer.prototype, "dataSource", void 0);
|
1372
|
+
__decorate$v([
|
1373
|
+
globalSlimmerRegistry.MapToComponentField()
|
1374
|
+
], VegaTableRenderer.prototype, "striped", void 0);
|
1375
|
+
__decorate$v([
|
1376
|
+
globalSlimmerRegistry.MapToComponentField()
|
1377
|
+
], VegaTableRenderer.prototype, "vegaTableHeaderRenderer", void 0);
|
1378
|
+
__decorate$v([
|
1379
|
+
globalSlimmerRegistry.MapToComponentField()
|
1380
|
+
], VegaTableRenderer.prototype, "vegaTableBodyRenderer", void 0);
|
1381
|
+
__decorate$v([
|
1382
|
+
globalSlimmerRegistry.MapToComponentField()
|
1383
|
+
], VegaTableRenderer.prototype, "vegaTableColGroupRenderer", void 0);
|
1384
|
+
__decorate$v([
|
1385
|
+
globalSlimmerRegistry.MapToComponentField()
|
1386
|
+
], VegaTableRenderer.prototype, "vegaTableScrollContainerRenderer", void 0);
|
1387
|
+
__decorate$v([
|
1388
|
+
globalSlimmerRegistry.MapToComponentField()
|
1389
|
+
], VegaTableRenderer.prototype, "vegaTablePaginationRenderer", void 0);
|
1390
|
+
__decorate$v([
|
1391
|
+
globalSlimmerRegistry.MapToComponentField()
|
1392
|
+
], VegaTableRenderer.prototype, "vegaTableDataSourceController", void 0);
|
1393
|
+
__decorate$v([
|
1394
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
1395
|
+
], VegaTableRenderer.prototype, "vegaTableChildrenController", void 0);
|
1396
|
+
__decorate$v([
|
1397
|
+
globalSlimmerRegistry.MapToComponentField()
|
1398
|
+
], VegaTableRenderer.prototype, "isTemplateRenderMode", void 0);
|
1399
|
+
|
1400
|
+
var __decorate$u = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1401
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1402
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1403
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1404
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1405
|
+
};
|
1406
|
+
/**
|
1407
|
+
* The table pagination of VegaTable
|
1408
|
+
*/
|
1409
|
+
class VegaTablePaginationController extends globalSlimmerRegistry.VegaSlimmer {
|
1410
|
+
/**
|
1411
|
+
* Component lifecycle - componentWillLoad
|
1412
|
+
*/
|
1413
|
+
componentWillLoad() {
|
1414
|
+
var _a, _b;
|
1415
|
+
this.currentPage = ((_a = this.pagination) === null || _a === void 0 ? void 0 : _a.current) || 1;
|
1416
|
+
this.pageSize = ((_b = this.pagination) === null || _b === void 0 ? void 0 : _b.pageSize) || 10;
|
1417
|
+
}
|
1418
|
+
/**
|
1419
|
+
*
|
1420
|
+
*/
|
1421
|
+
watchPagination() {
|
1422
|
+
if (this.pagination) {
|
1423
|
+
const { pageSize, current } = this.pagination;
|
1424
|
+
if (pageSize > 0) {
|
1425
|
+
this.pageSize = pageSize;
|
1426
|
+
}
|
1427
|
+
if (current > 0) {
|
1428
|
+
this.currentPage = current;
|
1429
|
+
}
|
1430
|
+
}
|
1431
|
+
}
|
1432
|
+
/**
|
1433
|
+
* Set pageSize value
|
1434
|
+
*
|
1435
|
+
* @param {number} pageSize - New value for pageSize
|
1436
|
+
*/
|
1437
|
+
setPageSize(pageSize) {
|
1438
|
+
this.pageSize = pageSize;
|
1439
|
+
}
|
1440
|
+
/**
|
1441
|
+
* Set currentPage value
|
1442
|
+
*
|
1443
|
+
* @param {number} currentPage - New value for currentPage
|
1444
|
+
*/
|
1445
|
+
setCurrentPage(currentPage) {
|
1446
|
+
this.currentPage = currentPage;
|
1447
|
+
}
|
1448
|
+
/**
|
1449
|
+
* Whether the row is visible in current page
|
1450
|
+
*
|
1451
|
+
* @param {number} index - The record index of the currentData
|
1452
|
+
* @returns {boolean} Return true if the row is visible
|
1453
|
+
*/
|
1454
|
+
isRowVisible(index) {
|
1455
|
+
if (!this.pagination)
|
1456
|
+
return true;
|
1457
|
+
const pageSize = this.pageSize;
|
1458
|
+
const current = this.currentPage;
|
1459
|
+
const start = (current - 1) * pageSize;
|
1460
|
+
const end = current * pageSize;
|
1461
|
+
return index >= start && index < end;
|
1462
|
+
}
|
1463
|
+
}
|
1464
|
+
__decorate$u([
|
1465
|
+
globalSlimmerRegistry.MapToComponentField()
|
1466
|
+
], VegaTablePaginationController.prototype, "pagination", void 0);
|
1467
|
+
__decorate$u([
|
1468
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
1469
|
+
], VegaTablePaginationController.prototype, "pageSize", void 0);
|
1470
|
+
__decorate$u([
|
1471
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
1472
|
+
], VegaTablePaginationController.prototype, "currentPage", void 0);
|
1473
|
+
__decorate$u([
|
1474
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
1475
|
+
], VegaTablePaginationController.prototype, "componentWillLoad", null);
|
1476
|
+
__decorate$u([
|
1477
|
+
globalSlimmerRegistry.MapToComponentMethod('watchPagination')
|
1478
|
+
], VegaTablePaginationController.prototype, "watchPagination", null);
|
1479
|
+
|
1480
|
+
var __decorate$t = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1481
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1482
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1483
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1484
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1485
|
+
};
|
1486
|
+
/**
|
1487
|
+
* Edit table controller
|
1488
|
+
*/
|
1489
|
+
class VegaTableEditableController extends globalSlimmerRegistry.VegaSlimmer {
|
1490
|
+
constructor() {
|
1491
|
+
super(...arguments);
|
1492
|
+
this.rowFormRefMap = new Map();
|
1493
|
+
}
|
1494
|
+
/**
|
1495
|
+
* Get the map of the row form refs
|
1496
|
+
*
|
1497
|
+
* @returns {Map} The map of row form refs
|
1498
|
+
*/
|
1499
|
+
getRowFormRefMap() {
|
1500
|
+
return this.rowFormRefMap;
|
1501
|
+
}
|
1502
|
+
/**
|
1503
|
+
* The callback to handle [saveAllEditRows]{@link VegaTable.saveAllEditRows}
|
1504
|
+
*/
|
1505
|
+
async saveAllEditRows() {
|
1506
|
+
if (!this.canMethodBeInvokedInCurrentState('saveAllEditRows')) {
|
1507
|
+
return;
|
1508
|
+
}
|
1509
|
+
const currentData = this.vegaTableDataSourceController
|
1510
|
+
.getCurrentData()
|
1511
|
+
.slice();
|
1512
|
+
for (const rowKey of this.editingRows.toArray()) {
|
1513
|
+
const rowData = await this.getRowData(rowKey);
|
1514
|
+
const index = currentData.findIndex((item) => this.vegaTableDataSourceController.getRecordKey(item) === rowKey);
|
1515
|
+
if (index > -1) {
|
1516
|
+
currentData.splice(index, 1, rowData);
|
1517
|
+
}
|
1518
|
+
}
|
1519
|
+
this.vegaTableDataSourceController.setDataSource([...currentData]);
|
1520
|
+
void this.stopAllRowEditMode();
|
1521
|
+
}
|
1522
|
+
/**
|
1523
|
+
* The callback to handle [stopAllRowEditMode]{@link VegaTable.stopAllRowEditMode}
|
1524
|
+
*/
|
1525
|
+
stopAllRowEditMode() {
|
1526
|
+
if (!this.canMethodBeInvokedInCurrentState('stopAllRowEditMode')) {
|
1527
|
+
return;
|
1528
|
+
}
|
1529
|
+
this.editingRows.clear();
|
1530
|
+
}
|
1531
|
+
/**
|
1532
|
+
* Stop the removed editing row when the data source changed
|
1533
|
+
*
|
1534
|
+
* @param {VegaTableDataSourceItem[]} newValue - The new data source
|
1535
|
+
*/
|
1536
|
+
watchDataSource(newValue) {
|
1537
|
+
if (this.isEditableTable()) {
|
1538
|
+
this.getEditingRowsKey().forEach((rowKey) => {
|
1539
|
+
if (!newValue.find((item) => item.key === rowKey)) {
|
1540
|
+
this.stopRowEditMode(rowKey);
|
1541
|
+
}
|
1542
|
+
});
|
1543
|
+
}
|
1544
|
+
}
|
1545
|
+
/**
|
1546
|
+
* The callback to handle [saveEditRow]{@link VegaTable.saveEditRow}
|
1547
|
+
*
|
1548
|
+
* @param {string} rowKey - The key of the row's record
|
1549
|
+
*/
|
1550
|
+
async saveEditRow(rowKey) {
|
1551
|
+
if (!this.canMethodBeInvokedInCurrentState('saveEditRow')) {
|
1552
|
+
return;
|
1553
|
+
}
|
1554
|
+
const rowData = await this.getRowData(rowKey);
|
1555
|
+
const currentData = this.vegaTableDataSourceController
|
1556
|
+
.getCurrentData()
|
1557
|
+
.slice();
|
1558
|
+
const index = currentData.findIndex((item) => this.vegaTableDataSourceController.getRecordKey(item) === rowKey);
|
1559
|
+
if (index > -1) {
|
1560
|
+
currentData.splice(index, 1, rowData);
|
1561
|
+
this.vegaTableDataSourceController.setDataSource([...currentData]);
|
1562
|
+
}
|
1563
|
+
void this.stopRowEditMode(rowKey);
|
1564
|
+
}
|
1565
|
+
/**
|
1566
|
+
* The callback to handle [stopRowEditMode]{@link VegaTable.stopRowEditMode}
|
1567
|
+
*
|
1568
|
+
* @param {string} rowKey - The key of the row's record
|
1569
|
+
*/
|
1570
|
+
stopRowEditMode(rowKey) {
|
1571
|
+
if (!this.canMethodBeInvokedInCurrentState('stopRowEditMode')) {
|
1572
|
+
return;
|
1573
|
+
}
|
1574
|
+
this.editingRows.delete(rowKey);
|
1575
|
+
}
|
1576
|
+
/**
|
1577
|
+
* The callback to handle [removeRow]{@link VegaTable.removeRow}
|
1578
|
+
*
|
1579
|
+
* @param {string} rowKey - The key of the row's record
|
1580
|
+
*/
|
1581
|
+
removeRow(rowKey) {
|
1582
|
+
if (!this.canMethodBeInvokedInCurrentState('removeRow')) {
|
1583
|
+
return;
|
1584
|
+
}
|
1585
|
+
this.vegaTableDataSourceController.setDataSource(this.vegaTableDataSourceController
|
1586
|
+
.getCurrentData()
|
1587
|
+
.filter((item) => this.vegaTableDataSourceController.getRecordKey(item) !== rowKey));
|
1588
|
+
}
|
1589
|
+
/**
|
1590
|
+
* The callback to handle [startRowEditMode]{@link VegaTable.startRowEditMode}
|
1591
|
+
*
|
1592
|
+
* @param {string} rowKey - The key of the row's record
|
1593
|
+
*/
|
1594
|
+
startRowEditMode(rowKey) {
|
1595
|
+
if (!this.canMethodBeInvokedInCurrentState('startRowEditMode')) {
|
1596
|
+
return;
|
1597
|
+
}
|
1598
|
+
this.editingRows.add(rowKey);
|
1599
|
+
}
|
1600
|
+
/**
|
1601
|
+
* The callback to handle [addNewRow]{@link VegaTable.addNewRow}
|
1602
|
+
*
|
1603
|
+
* @param {VegaTableDataSourceItem} record - The record for adding
|
1604
|
+
* @returns {string} The rowKey of the new added row record
|
1605
|
+
*/
|
1606
|
+
addNewRow(record = {}) {
|
1607
|
+
var _a;
|
1608
|
+
if (!this.canMethodBeInvokedInCurrentState('addNewRow')) {
|
1609
|
+
return;
|
1610
|
+
}
|
1611
|
+
const rowKey = ((_a = record[this.rowKey]) === null || _a === void 0 ? void 0 : _a.toString()) || misc.generateUUID();
|
1612
|
+
const newRowItem = Object.assign({}, record);
|
1613
|
+
newRowItem[this.rowKey] = rowKey;
|
1614
|
+
this.vegaTableDataSourceController.setCurrentData([
|
1615
|
+
...this.vegaTableDataSourceController.getCurrentData(),
|
1616
|
+
newRowItem,
|
1617
|
+
]);
|
1618
|
+
this.editingRows.add(rowKey);
|
1619
|
+
return rowKey;
|
1620
|
+
}
|
1621
|
+
/**
|
1622
|
+
* The callback to handle [getRowsData]{@link VegaTable.getRowsData}
|
1623
|
+
*/
|
1624
|
+
async getRowsData() {
|
1625
|
+
if (!this.canMethodBeInvokedInCurrentState('getRowsData')) {
|
1626
|
+
return;
|
1627
|
+
}
|
1628
|
+
const formValues = await this.vegaTableBodyRenderer
|
1629
|
+
.getTableFormRef()
|
1630
|
+
.getValue();
|
1631
|
+
return [
|
1632
|
+
...this.vegaTableDataSourceController.getCurrentData().map((record) => {
|
1633
|
+
const value = formValues[`${VegaTableEditableController.rowFormKeyPrefix}${this.vegaTableDataSourceController.getRecordKey(record)}`];
|
1634
|
+
return Object.assign(Object.assign({}, record), value);
|
1635
|
+
}),
|
1636
|
+
];
|
1637
|
+
}
|
1638
|
+
/**
|
1639
|
+
* The callback to handle [getEditingRowsKey]{@link VegaTable.getEditingRowsKey}
|
1640
|
+
*
|
1641
|
+
* @returns {string[]} The key of the rows which is editing
|
1642
|
+
*/
|
1643
|
+
getEditingRowsKey() {
|
1644
|
+
if (!this.canMethodBeInvokedInCurrentState('getEditingRowsKey')) {
|
1645
|
+
return;
|
1646
|
+
}
|
1647
|
+
return this.editingRows.toArray();
|
1648
|
+
}
|
1649
|
+
/**
|
1650
|
+
* The callback to handle [getFormRef]{@link VegaTable.getFormRef}
|
1651
|
+
*
|
1652
|
+
* @param {string} rowKey - The key of the row's record
|
1653
|
+
* @returns {HTMLElement} The form ref of the row
|
1654
|
+
*/
|
1655
|
+
getFormRef(rowKey) {
|
1656
|
+
if (!this.canMethodBeInvokedInCurrentState('getFormRef')) {
|
1657
|
+
return;
|
1658
|
+
}
|
1659
|
+
return rowKey ? this.rowFormRefMap.get(rowKey) : this.vegaTableBodyRenderer.getTableFormRef();
|
1660
|
+
}
|
1661
|
+
/**
|
1662
|
+
* The callback to handle [getRowData]{@link VegaTable.getRowData}
|
1663
|
+
*
|
1664
|
+
* @param {string} rowKey - The key of the row's record
|
1665
|
+
* @returns {Promise<VegaTableDataSourceItem>} The promise of the row data
|
1666
|
+
*/
|
1667
|
+
async getRowData(rowKey) {
|
1668
|
+
if (!this.canMethodBeInvokedInCurrentState('getRowData')) {
|
1669
|
+
return;
|
1670
|
+
}
|
1671
|
+
const formValue = await this.rowFormRefMap.get(rowKey).getValue();
|
1672
|
+
return Object.assign(Object.assign({}, this.vegaTableDataSourceController.getRecordByKey(rowKey)), formValue);
|
1673
|
+
}
|
1674
|
+
/**
|
1675
|
+
* Whether the row is in editing status
|
1676
|
+
*
|
1677
|
+
* @param {string} rowKey - The key of the row's record
|
1678
|
+
* @returns {boolean} return true if the row is in editing status, otherwise false
|
1679
|
+
*/
|
1680
|
+
isEditing(rowKey) {
|
1681
|
+
return this.editingRows.has(rowKey);
|
1682
|
+
}
|
1683
|
+
/**
|
1684
|
+
* The function `isEditableTable` checks if any column in a table is editable.
|
1685
|
+
*
|
1686
|
+
* @returns {boolean} The `isEditableTable` method is returning a boolean value. It checks if any of the columns
|
1687
|
+
* in the `columns` array have the `editable` property set to true. If at least one column is editable,
|
1688
|
+
* the method returns `true`, otherwise it returns `false`.
|
1689
|
+
*/
|
1690
|
+
isEditableTable() {
|
1691
|
+
return this.columns.some((item) => item.editable);
|
1692
|
+
}
|
1693
|
+
/**
|
1694
|
+
* The function `canMethodBeInvokedInCurrentState` checks if the table is editable and logs a warning message if not.
|
1695
|
+
*
|
1696
|
+
* @param {string} methodName - The `methodName` parameter is a string that represents the name of the
|
1697
|
+
* method being processed in the `canMethodBeInvokedInCurrentState` function.
|
1698
|
+
* @returns {boolean} The method `canMethodBeInvokedInCurrentState` is returning a boolean value. If the table is not editable,
|
1699
|
+
* it will log a warning message and return `false`. Otherwise, it will return `true`.
|
1700
|
+
*/
|
1701
|
+
canMethodBeInvokedInCurrentState(methodName) {
|
1702
|
+
if (!this.isEditableTable()) {
|
1703
|
+
globalSlimmerRegistry.LogUtility.warn(`Method ${methodName} only works with editable tables`);
|
1704
|
+
return false;
|
1705
|
+
}
|
1706
|
+
return true;
|
1707
|
+
}
|
1708
|
+
}
|
1709
|
+
VegaTableEditableController.rowFormKeyPrefix = 'vega-table-row-form-';
|
1710
|
+
__decorate$t([
|
1711
|
+
globalSlimmerRegistry.MapToComponentField()
|
1712
|
+
], VegaTableEditableController.prototype, "editingRows", void 0);
|
1713
|
+
__decorate$t([
|
1714
|
+
globalSlimmerRegistry.MapToComponentField()
|
1715
|
+
], VegaTableEditableController.prototype, "rowKey", void 0);
|
1716
|
+
__decorate$t([
|
1717
|
+
globalSlimmerRegistry.MapToComponentField()
|
1718
|
+
], VegaTableEditableController.prototype, "columns", void 0);
|
1719
|
+
__decorate$t([
|
1720
|
+
globalSlimmerRegistry.MapToComponentField()
|
1721
|
+
], VegaTableEditableController.prototype, "vegaTableDataSourceController", void 0);
|
1722
|
+
__decorate$t([
|
1723
|
+
globalSlimmerRegistry.MapToComponentField()
|
1724
|
+
], VegaTableEditableController.prototype, "vegaTableBodyRenderer", void 0);
|
1725
|
+
__decorate$t([
|
1726
|
+
globalSlimmerRegistry.MapToComponentMethod('saveAllEditRows')
|
1727
|
+
], VegaTableEditableController.prototype, "saveAllEditRows", null);
|
1728
|
+
__decorate$t([
|
1729
|
+
globalSlimmerRegistry.MapToComponentMethod('stopAllRowEditMode')
|
1730
|
+
], VegaTableEditableController.prototype, "stopAllRowEditMode", null);
|
1731
|
+
__decorate$t([
|
1732
|
+
globalSlimmerRegistry.MapToComponentMethod('watchDataSource')
|
1733
|
+
], VegaTableEditableController.prototype, "watchDataSource", null);
|
1734
|
+
__decorate$t([
|
1735
|
+
globalSlimmerRegistry.MapToComponentMethod('saveEditRow')
|
1736
|
+
], VegaTableEditableController.prototype, "saveEditRow", null);
|
1737
|
+
__decorate$t([
|
1738
|
+
globalSlimmerRegistry.MapToComponentMethod('stopRowEditMode')
|
1739
|
+
], VegaTableEditableController.prototype, "stopRowEditMode", null);
|
1740
|
+
__decorate$t([
|
1741
|
+
globalSlimmerRegistry.MapToComponentMethod('removeRow')
|
1742
|
+
], VegaTableEditableController.prototype, "removeRow", null);
|
1743
|
+
__decorate$t([
|
1744
|
+
globalSlimmerRegistry.MapToComponentMethod('startRowEditMode')
|
1745
|
+
], VegaTableEditableController.prototype, "startRowEditMode", null);
|
1746
|
+
__decorate$t([
|
1747
|
+
globalSlimmerRegistry.MapToComponentMethod('addNewRow')
|
1748
|
+
], VegaTableEditableController.prototype, "addNewRow", null);
|
1749
|
+
__decorate$t([
|
1750
|
+
globalSlimmerRegistry.MapToComponentMethod('getRowsData')
|
1751
|
+
], VegaTableEditableController.prototype, "getRowsData", null);
|
1752
|
+
__decorate$t([
|
1753
|
+
globalSlimmerRegistry.MapToComponentMethod('getEditingRowsKey')
|
1754
|
+
], VegaTableEditableController.prototype, "getEditingRowsKey", null);
|
1755
|
+
__decorate$t([
|
1756
|
+
globalSlimmerRegistry.MapToComponentMethod('getFormRef')
|
1757
|
+
], VegaTableEditableController.prototype, "getFormRef", null);
|
1758
|
+
__decorate$t([
|
1759
|
+
globalSlimmerRegistry.MapToComponentMethod('getRowData')
|
1760
|
+
], VegaTableEditableController.prototype, "getRowData", null);
|
1761
|
+
|
1762
|
+
/**
|
1763
|
+
* Vega Table Sorter
|
1764
|
+
* This is a helper class for sorting table data based on defined columns to be sorted
|
1765
|
+
* Supports multi-column sorting
|
1766
|
+
*/
|
1767
|
+
class VegaTableSorter {
|
1768
|
+
constructor(prop, order, sorter) {
|
1769
|
+
this.prop = prop;
|
1770
|
+
this.order = order;
|
1771
|
+
this.sorter = sorter;
|
1772
|
+
}
|
1773
|
+
/**
|
1774
|
+
* Sort utility
|
1775
|
+
*
|
1776
|
+
* @param {VegaTableDataSourceItem} a column value
|
1777
|
+
* @param {VegaTableDataSourceItem} b column value
|
1778
|
+
* @returns {Nullable<number>} compare result
|
1779
|
+
*/
|
1780
|
+
sort(a, b) {
|
1781
|
+
const compareResult = this.sorter(a, b);
|
1782
|
+
if (compareResult !== 0) {
|
1783
|
+
return this.order === 'asc' ? compareResult : -compareResult;
|
1784
|
+
}
|
1785
|
+
}
|
1786
|
+
/**
|
1787
|
+
* Get params from sorter object for external use
|
1788
|
+
*
|
1789
|
+
* @returns {{VegaTableSorterType}} sorter prop and order
|
1790
|
+
*/
|
1791
|
+
toExternalFormat() {
|
1792
|
+
return { prop: this.prop, order: this.order };
|
1793
|
+
}
|
1794
|
+
/**
|
1795
|
+
* Get sorter order value
|
1796
|
+
*
|
1797
|
+
* @returns {{VegaTableSortOrderType}} sorter order
|
1798
|
+
*/
|
1799
|
+
getSortOrder() {
|
1800
|
+
return this.order;
|
1801
|
+
}
|
1802
|
+
}
|
1803
|
+
|
1804
|
+
var __decorate$s = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1805
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1806
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1807
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1808
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1809
|
+
};
|
1810
|
+
/**
|
1811
|
+
* The sort controller for the vega-table
|
1812
|
+
*/
|
1813
|
+
class VegaTableSortController extends globalSlimmerRegistry.VegaSlimmer {
|
1814
|
+
/**
|
1815
|
+
* The callback of [watchColumns]{@link VegaTable.watchColumns}
|
1816
|
+
*/
|
1817
|
+
watchColumns() {
|
1818
|
+
this.syncSortOrder();
|
1819
|
+
}
|
1820
|
+
/**
|
1821
|
+
* The method for header cell sort click
|
1822
|
+
*
|
1823
|
+
* @param {VegaTableColumnConfig} column - The column for sorting
|
1824
|
+
* @param {VegaTableSortOrderType} nextSortOrder - The next sorter order
|
1825
|
+
*/
|
1826
|
+
handleHeadSortClick(column, nextSortOrder) {
|
1827
|
+
if (this.sortConfig.type === 'single') {
|
1828
|
+
this.sortersMap.clear();
|
1829
|
+
}
|
1830
|
+
if (!nextSortOrder) {
|
1831
|
+
if (this.sortersMap.has(column.prop)) {
|
1832
|
+
this.sortersMap.delete(column.prop);
|
1833
|
+
}
|
1834
|
+
}
|
1835
|
+
else {
|
1836
|
+
this.sortersMap.set(column.prop, new VegaTableSorter(column.prop, nextSortOrder, column.sorter));
|
1837
|
+
}
|
1838
|
+
if (column.sorter !== 'event') {
|
1839
|
+
this.vegaTableDataSourceController.setCurrentData(this.sortData(this.vegaTableDataSourceController.getDataSource(), Array.from(this.sortersMap.values())));
|
1840
|
+
}
|
1841
|
+
this.changeEventEmitter.emit({
|
1842
|
+
sorters: Array.from(this.sortersMap.values()).map((s) => s.toExternalFormat()),
|
1843
|
+
});
|
1844
|
+
}
|
1845
|
+
/**
|
1846
|
+
* Sync the default sort order from the columns
|
1847
|
+
*/
|
1848
|
+
syncSortOrder() {
|
1849
|
+
this.columns
|
1850
|
+
.filter((column) => typeGuard.isNonNullable(column.sorter) && typeGuard.isNonNullable(column.sortOrder))
|
1851
|
+
.forEach((item) => {
|
1852
|
+
this.sortersMap.set(item.prop, new VegaTableSorter(item.prop, item.sortOrder, item.sorter));
|
1853
|
+
});
|
1854
|
+
}
|
1855
|
+
/**
|
1856
|
+
* The method to sort the data by sorter which include prop name and order
|
1857
|
+
*
|
1858
|
+
* @param {VegaTableDataSourceItem[]} data - The source that will be sorted
|
1859
|
+
* @param {VegaTableSorter[]} sorters - array of sorters ordered by sequence of columns to be sorted
|
1860
|
+
* @returns {VegaTableDataSourceItem[]} The sorted data source
|
1861
|
+
*/
|
1862
|
+
sortData(data, sorters) {
|
1863
|
+
return [...data].sort((a, b) => {
|
1864
|
+
for (const sorter of sorters) {
|
1865
|
+
const result = sorter.sort(a, b);
|
1866
|
+
if (typeGuard.isNonNullable(result)) {
|
1867
|
+
return result;
|
1868
|
+
}
|
1869
|
+
}
|
1870
|
+
return 0;
|
1871
|
+
});
|
1872
|
+
}
|
1873
|
+
}
|
1874
|
+
__decorate$s([
|
1875
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
1876
|
+
], VegaTableSortController.prototype, "sortersMap", void 0);
|
1877
|
+
__decorate$s([
|
1878
|
+
globalSlimmerRegistry.MapToComponentField()
|
1879
|
+
], VegaTableSortController.prototype, "columns", void 0);
|
1880
|
+
__decorate$s([
|
1881
|
+
globalSlimmerRegistry.MapToComponentField()
|
1882
|
+
], VegaTableSortController.prototype, "changeEventEmitter", void 0);
|
1883
|
+
__decorate$s([
|
1884
|
+
globalSlimmerRegistry.MapToComponentField()
|
1885
|
+
], VegaTableSortController.prototype, "vegaTableDataSourceController", void 0);
|
1886
|
+
__decorate$s([
|
1887
|
+
globalSlimmerRegistry.MapToComponentField()
|
1888
|
+
], VegaTableSortController.prototype, "sortConfig", void 0);
|
1889
|
+
__decorate$s([
|
1890
|
+
globalSlimmerRegistry.MapToComponentMethod('watchColumns')
|
1891
|
+
], VegaTableSortController.prototype, "watchColumns", null);
|
1892
|
+
|
1893
|
+
var __decorate$r = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1894
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1895
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1896
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1897
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1898
|
+
};
|
1899
|
+
class VegaTableColGroupRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
1900
|
+
constructor() {
|
1901
|
+
super(...arguments);
|
1902
|
+
this.getColResponsiveClass = (column) => {
|
1903
|
+
return column.breakpoint && typeGuard.isBreakpointsTokenType(column.breakpoint)
|
1904
|
+
? `v-hidden ${column.breakpoint}:v-table-column`
|
1905
|
+
: '';
|
1906
|
+
};
|
1907
|
+
}
|
1908
|
+
render() {
|
1909
|
+
return (index.h("colgroup", null,
|
1910
|
+
index.h("col", { style: { minWidth: this.paddingX[0], width: this.paddingX[0] } }),
|
1911
|
+
this.vegaTableRowSelectionController.getRowSelectionType() === 'multiple' && (index.h("col", { style: { minWidth: '40px', width: '40px' } })),
|
1912
|
+
this.columns.map((column) => {
|
1913
|
+
const responsiveClass = this.getColResponsiveClass(column);
|
1914
|
+
return (index.h("col", { class: responsiveClass, style: { width: column.width ? column.width : null } }));
|
1915
|
+
}),
|
1916
|
+
this.rowExpandable && index.h("col", { style: { minWidth: '40px', width: '40px' } }),
|
1917
|
+
index.h("col", { style: { minWidth: this.paddingX[1], width: this.paddingX[1] } })));
|
1918
|
+
}
|
1919
|
+
}
|
1920
|
+
__decorate$r([
|
1921
|
+
globalSlimmerRegistry.MapToComponentField()
|
1922
|
+
], VegaTableColGroupRenderer.prototype, "paddingX", void 0);
|
1923
|
+
__decorate$r([
|
1924
|
+
globalSlimmerRegistry.MapToComponentField()
|
1925
|
+
], VegaTableColGroupRenderer.prototype, "columns", void 0);
|
1926
|
+
__decorate$r([
|
1927
|
+
globalSlimmerRegistry.MapToComponentField()
|
1928
|
+
], VegaTableColGroupRenderer.prototype, "rowExpandable", void 0);
|
1929
|
+
__decorate$r([
|
1930
|
+
globalSlimmerRegistry.MapToComponentField()
|
1931
|
+
], VegaTableColGroupRenderer.prototype, "vegaTableRowSelectionController", void 0);
|
1932
|
+
|
1933
|
+
var __decorate$q = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
1934
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
1935
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
1936
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
1937
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
1938
|
+
};
|
1939
|
+
/**
|
1940
|
+
* The controller for the table children components.
|
1941
|
+
*/
|
1942
|
+
class VegaTableChildrenController extends globalSlimmerRegistry.VegaSlimmer {
|
1943
|
+
constructor() {
|
1944
|
+
super(...arguments);
|
1945
|
+
this.currentDataObserver = new mutationObserverSlimmer.MutationObserverSlimmer({
|
1946
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
1947
|
+
target: () => this.host,
|
1948
|
+
options: { childList: true, subtree: true },
|
1949
|
+
/*
|
1950
|
+
* The below method is e2e-test covered in
|
1951
|
+
* @see{module:should-render-striped-rows-and-not-show-empty-message-when-lazy-render-table-body-with-table-rows}
|
1952
|
+
*/
|
1953
|
+
mutationFilter: mutationObserverFilters.TagNameMutationFilter('VEGA-TABLE-BODY', 'VEGA-TABLE-ROW'),
|
1954
|
+
callback:
|
1955
|
+
/*
|
1956
|
+
* The below method is e2e-test covered in
|
1957
|
+
* @see{module:should-not-render-empty-message-when-async-render-table-rows}
|
1958
|
+
*/
|
1959
|
+
/* istanbul ignore next */
|
1960
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
1961
|
+
() => {
|
1962
|
+
this.syncUpTableCurrentData();
|
1963
|
+
this.syncUpTableHeadRowProps();
|
1964
|
+
},
|
1965
|
+
});
|
1966
|
+
this.rowStripedObserver = new mutationObserverSlimmer.MutationObserverSlimmer({
|
1967
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
1968
|
+
target: () => this.host,
|
1969
|
+
options: { childList: true, subtree: true },
|
1970
|
+
/*
|
1971
|
+
* The below method is e2e-test covered in
|
1972
|
+
* @see{module:should-render-striped-rows-and-not-show-empty-message-when-lazy-render-table-body-with-table-rows}
|
1973
|
+
*/
|
1974
|
+
mutationFilter: mutationObserverFilters.TagNameMutationFilter('VEGA-TABLE-BODY', 'VEGA-TABLE-ROW', 'VEGA-TABLE-EXPAND-ROW'),
|
1975
|
+
callback:
|
1976
|
+
/*
|
1977
|
+
* The below method is e2e-test covered in
|
1978
|
+
* @see{module:should-render-striped-row-when-async-render-table-rows}
|
1979
|
+
* @see{module:should-render-striped-row-and-expanded-row-when-async-render-table-rows}
|
1980
|
+
*/
|
1981
|
+
/* istanbul ignore next */
|
1982
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
1983
|
+
() => {
|
1984
|
+
this.syncRowStriped();
|
1985
|
+
},
|
1986
|
+
});
|
1987
|
+
/**
|
1988
|
+
* Syncs up the properties of vega-table-row
|
1989
|
+
*/
|
1990
|
+
this.syncUpTableCurrentData = () => {
|
1991
|
+
if (!this.isTemplateRenderMode)
|
1992
|
+
return;
|
1993
|
+
const currentData = Array.from(this.host.querySelectorAll('vega-table-row')).map((row) => {
|
1994
|
+
return { key: row.rowKey };
|
1995
|
+
});
|
1996
|
+
this.vegaTableDataSourceController.setCurrentData(currentData);
|
1997
|
+
};
|
1998
|
+
/**
|
1999
|
+
* Sync up the properties of vega-table-expand-row
|
2000
|
+
*/
|
2001
|
+
this.syncRowStriped = () => {
|
2002
|
+
this.host
|
2003
|
+
.querySelectorAll('vega-table-row')
|
2004
|
+
.forEach((row, index) => {
|
2005
|
+
this.updateRowStriped(row, index);
|
2006
|
+
});
|
2007
|
+
this.host
|
2008
|
+
.querySelectorAll('vega-table-expand-row')
|
2009
|
+
.forEach((row, index) => {
|
2010
|
+
this.updateRowStriped(row, index);
|
2011
|
+
});
|
2012
|
+
};
|
2013
|
+
/**
|
2014
|
+
* Syncs up the properties of vega-table-head-row
|
2015
|
+
*/
|
2016
|
+
this.syncUpTableHeadRowProps = () => {
|
2017
|
+
var _a;
|
2018
|
+
if (!this.isTemplateRenderMode)
|
2019
|
+
return;
|
2020
|
+
const headRow = this.host.querySelector('vega-table-head-row');
|
2021
|
+
if (headRow) {
|
2022
|
+
headRow.hideSelectAll = headRow.hideSelectAll || ((_a = this.rowSelection) === null || _a === void 0 ? void 0 : _a.hideSelectAll);
|
2023
|
+
}
|
2024
|
+
};
|
2025
|
+
}
|
2026
|
+
/*
|
2027
|
+
* The below method is e2e-test covered in
|
2028
|
+
* @see module:should-render-striped-row-as-expected-when-component-re-attached
|
2029
|
+
*/
|
2030
|
+
/**
|
2031
|
+
* Used by rowStripedObserver{@link rowStripedObserver} and currentDataObserver{@link currentDataObserver}
|
2032
|
+
*/
|
2033
|
+
connectedCallback() {
|
2034
|
+
}
|
2035
|
+
/*
|
2036
|
+
* The below method is e2e-test covered in
|
2037
|
+
* @see module:should-render-striped-row-as-expected-when-component-re-attached
|
2038
|
+
*/
|
2039
|
+
/**
|
2040
|
+
* Used by rowStripedObserver{@link rowStripedObserver} and currentDataObserver{@link currentDataObserver}
|
2041
|
+
*/
|
2042
|
+
disconnectedCallback() {
|
2043
|
+
}
|
2044
|
+
/**
|
2045
|
+
* Component lifecycle - [componentWillLoad]{@link VegaTable.componentWillLoad}
|
2046
|
+
*/
|
2047
|
+
componentWillLoad() {
|
2048
|
+
this.syncUpTableCurrentData();
|
2049
|
+
this.syncUpTableHeadRowProps();
|
2050
|
+
this.syncRowStriped();
|
2051
|
+
}
|
2052
|
+
/**
|
2053
|
+
* Used by rowStripedObserver{@link rowStripedObserver} and currentDataObserver{@link currentDataObserver}
|
2054
|
+
*/
|
2055
|
+
componentDidLoad() {
|
2056
|
+
}
|
2057
|
+
/**
|
2058
|
+
* The callback to handle [clearSelection]{@link VegaTable.clearSelection}
|
2059
|
+
*/
|
2060
|
+
clearSelection() {
|
2061
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, {
|
2062
|
+
host: this.host,
|
2063
|
+
checked: false,
|
2064
|
+
noneChecked: true,
|
2065
|
+
});
|
2066
|
+
}
|
2067
|
+
/**
|
2068
|
+
* {@link VegaTable.watchStriped}
|
2069
|
+
*/
|
2070
|
+
watchStriped() {
|
2071
|
+
this.syncRowStriped();
|
2072
|
+
}
|
2073
|
+
/**
|
2074
|
+
* Update the row striped attr
|
2075
|
+
*
|
2076
|
+
* @param {HTMLElement} row - row or expand row element
|
2077
|
+
* @param {number} index - index of the row
|
2078
|
+
*/
|
2079
|
+
updateRowStriped(row, index) {
|
2080
|
+
if (this.striped && index % 2 === 1) {
|
2081
|
+
row.dataset['striped'] = 'striped';
|
2082
|
+
}
|
2083
|
+
else {
|
2084
|
+
delete row.dataset['striped'];
|
2085
|
+
}
|
2086
|
+
}
|
2087
|
+
}
|
2088
|
+
__decorate$q([
|
2089
|
+
globalSlimmerRegistry.MapToComponentField()
|
2090
|
+
], VegaTableChildrenController.prototype, "host", void 0);
|
2091
|
+
__decorate$q([
|
2092
|
+
globalSlimmerRegistry.MapToComponentField()
|
2093
|
+
], VegaTableChildrenController.prototype, "columns", void 0);
|
2094
|
+
__decorate$q([
|
2095
|
+
globalSlimmerRegistry.MapToComponentField()
|
2096
|
+
], VegaTableChildrenController.prototype, "dataSource", void 0);
|
2097
|
+
__decorate$q([
|
2098
|
+
globalSlimmerRegistry.MapToComponentField()
|
2099
|
+
], VegaTableChildrenController.prototype, "currentData", void 0);
|
2100
|
+
__decorate$q([
|
2101
|
+
globalSlimmerRegistry.MapToComponentField()
|
2102
|
+
], VegaTableChildrenController.prototype, "rowSelection", void 0);
|
2103
|
+
__decorate$q([
|
2104
|
+
globalSlimmerRegistry.MapToComponentField()
|
2105
|
+
], VegaTableChildrenController.prototype, "striped", void 0);
|
2106
|
+
__decorate$q([
|
2107
|
+
globalSlimmerRegistry.MapToComponentField()
|
2108
|
+
], VegaTableChildrenController.prototype, "vegaTableDataSourceController", void 0);
|
2109
|
+
__decorate$q([
|
2110
|
+
globalSlimmerRegistry.MapToComponentField()
|
2111
|
+
], VegaTableChildrenController.prototype, "vegaTableRenderer", void 0);
|
2112
|
+
__decorate$q([
|
2113
|
+
globalSlimmerRegistry.MapToComponentField()
|
2114
|
+
], VegaTableChildrenController.prototype, "isTemplateRenderMode", void 0);
|
2115
|
+
__decorate$q([
|
2116
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2117
|
+
], VegaTableChildrenController.prototype, "currentDataObserver", void 0);
|
2118
|
+
__decorate$q([
|
2119
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2120
|
+
], VegaTableChildrenController.prototype, "rowStripedObserver", void 0);
|
2121
|
+
__decorate$q([
|
2122
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
2123
|
+
], VegaTableChildrenController.prototype, "connectedCallback", null);
|
2124
|
+
__decorate$q([
|
2125
|
+
globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
|
2126
|
+
], VegaTableChildrenController.prototype, "disconnectedCallback", null);
|
2127
|
+
__decorate$q([
|
2128
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
2129
|
+
], VegaTableChildrenController.prototype, "componentWillLoad", null);
|
2130
|
+
__decorate$q([
|
2131
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
|
2132
|
+
], VegaTableChildrenController.prototype, "componentDidLoad", null);
|
2133
|
+
__decorate$q([
|
2134
|
+
globalSlimmerRegistry.MapToComponentMethod('clearSelection')
|
2135
|
+
], VegaTableChildrenController.prototype, "clearSelection", null);
|
2136
|
+
__decorate$q([
|
2137
|
+
globalSlimmerRegistry.MapToComponentMethod('watchStriped')
|
2138
|
+
], VegaTableChildrenController.prototype, "watchStriped", null);
|
2139
|
+
|
2140
|
+
var __decorate$p = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2141
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2142
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
2143
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
2144
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2145
|
+
};
|
2146
|
+
class VegaTableRowRenderer$1 extends globalSlimmerRegistry.VegaSlimmer {
|
2147
|
+
constructor() {
|
2148
|
+
super(...arguments);
|
2149
|
+
this.renderTableRowComponent = (rowProps) => {
|
2150
|
+
const { rowKey, index: index$1, record, isVisibleInCurrentPage } = rowProps;
|
2151
|
+
return (index.h("vega-table-row", { class: {
|
2152
|
+
'v-hidden': !isVisibleInCurrentPage,
|
2153
|
+
}, key: `vega-table-row-${rowKey}`, rowKey: rowKey,
|
2154
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
2155
|
+
ref: (ref) => {
|
2156
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaClick, () => {
|
2157
|
+
this.rowClickEventEmitter.emit({ record: record, index: index$1 });
|
2158
|
+
});
|
2159
|
+
}, "data-striped": this.striped && index$1 % 2 === 1 ? 'striped' : undefined }, this.columns.map((column) => {
|
2160
|
+
return this.vegaTableCellRenderer.render(column, record, index$1);
|
2161
|
+
})));
|
2162
|
+
};
|
2163
|
+
}
|
2164
|
+
render(rowProps, editable) {
|
2165
|
+
const { rowKey } = rowProps;
|
2166
|
+
return editable ? (index.h("vega-form", { key: `vega-table-row-form-${rowKey}`, "data-vega-form": `${VegaTableEditableController.rowFormKeyPrefix}${rowKey}`, ref: (ref) => this.vegaTableEditableController.getRowFormRefMap().set(rowKey, ref) }, this.renderTableRowComponent(rowProps))) : (this.renderTableRowComponent(rowProps));
|
2167
|
+
}
|
2168
|
+
}
|
2169
|
+
__decorate$p([
|
2170
|
+
globalSlimmerRegistry.MapToComponentField()
|
2171
|
+
], VegaTableRowRenderer$1.prototype, "columns", void 0);
|
2172
|
+
__decorate$p([
|
2173
|
+
globalSlimmerRegistry.MapToComponentField()
|
2174
|
+
], VegaTableRowRenderer$1.prototype, "rowClickEventEmitter", void 0);
|
2175
|
+
__decorate$p([
|
2176
|
+
globalSlimmerRegistry.MapToComponentField()
|
2177
|
+
], VegaTableRowRenderer$1.prototype, "vegaTableEditableController", void 0);
|
2178
|
+
__decorate$p([
|
2179
|
+
globalSlimmerRegistry.MapToComponentField()
|
2180
|
+
], VegaTableRowRenderer$1.prototype, "vegaTableCellRenderer", void 0);
|
2181
|
+
__decorate$p([
|
2182
|
+
globalSlimmerRegistry.MapToComponentField()
|
2183
|
+
], VegaTableRowRenderer$1.prototype, "striped", void 0);
|
2184
|
+
|
2185
|
+
var __decorate$o = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2186
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2187
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
2188
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
2189
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2190
|
+
};
|
2191
|
+
/**
|
2192
|
+
* The render mode controller of the table
|
2193
|
+
*/
|
2194
|
+
class VegaTableRenderModeController extends globalSlimmerRegistry.VegaSlimmer {
|
2195
|
+
constructor() {
|
2196
|
+
super(...arguments);
|
2197
|
+
this.currentDataObserver = new mutationObserverSlimmer.MutationObserverSlimmer({
|
2198
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
2199
|
+
target: () => this.host,
|
2200
|
+
options: { childList: true, subtree: true },
|
2201
|
+
mutationFilter: mutationObserverFilters.TagNameMutationFilter('VEGA-TABLE-ROW'),
|
2202
|
+
callback:
|
2203
|
+
/* istanbul ignore next */
|
2204
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
2205
|
+
() => {
|
2206
|
+
this.isTemplateRenderMode = this.checkIsTemplateRenderMode(this.host);
|
2207
|
+
},
|
2208
|
+
});
|
2209
|
+
/**
|
2210
|
+
* Check whether render mode is template render
|
2211
|
+
*
|
2212
|
+
* @param {HTMLElement} tableRef - VegaTable ref
|
2213
|
+
* @returns {boolean} return true if the mode is template, otherwise false
|
2214
|
+
*/
|
2215
|
+
this.checkIsTemplateRenderMode = (tableRef) => {
|
2216
|
+
return Array.from(tableRef.children).some((el) => el.tagName.startsWith('VEGA-TABLE-'));
|
2217
|
+
};
|
2218
|
+
}
|
2219
|
+
/**
|
2220
|
+
* Used by {@link currentDataObserver}
|
2221
|
+
*/
|
2222
|
+
connectedCallback() {
|
2223
|
+
}
|
2224
|
+
/**
|
2225
|
+
* Used by {@link currentDataObserver}
|
2226
|
+
*/
|
2227
|
+
disconnectedCallback() {
|
2228
|
+
}
|
2229
|
+
/**
|
2230
|
+
* init the isTemplateRenderMode value
|
2231
|
+
*/
|
2232
|
+
componentWillLoad() {
|
2233
|
+
this.isTemplateRenderMode = this.checkIsTemplateRenderMode(this.host);
|
2234
|
+
}
|
2235
|
+
/**
|
2236
|
+
* Used by {@link currentDataObserver}
|
2237
|
+
*/
|
2238
|
+
componentDidLoad() {
|
2239
|
+
}
|
2240
|
+
}
|
2241
|
+
__decorate$o([
|
2242
|
+
globalSlimmerRegistry.MapToComponentField()
|
2243
|
+
], VegaTableRenderModeController.prototype, "host", void 0);
|
2244
|
+
__decorate$o([
|
2245
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
2246
|
+
], VegaTableRenderModeController.prototype, "isTemplateRenderMode", void 0);
|
2247
|
+
__decorate$o([
|
2248
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2249
|
+
], VegaTableRenderModeController.prototype, "currentDataObserver", void 0);
|
2250
|
+
__decorate$o([
|
2251
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
2252
|
+
], VegaTableRenderModeController.prototype, "connectedCallback", null);
|
2253
|
+
__decorate$o([
|
2254
|
+
globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
|
2255
|
+
], VegaTableRenderModeController.prototype, "disconnectedCallback", null);
|
2256
|
+
__decorate$o([
|
2257
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
2258
|
+
], VegaTableRenderModeController.prototype, "componentWillLoad", null);
|
2259
|
+
__decorate$o([
|
2260
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
|
2261
|
+
], VegaTableRenderModeController.prototype, "componentDidLoad", null);
|
2262
|
+
|
2263
|
+
const VegaTableRuntimeMetricsPayloadDefinition = [
|
2264
|
+
{
|
2265
|
+
payloadKey: 'IS_USING_TEMPLATE',
|
2266
|
+
payloadDescription: 'Contains the data records to be rendered and displayed within the table',
|
2267
|
+
/**
|
2268
|
+
* The function checks if the length `dataSource` property of the `host` element is equal to '0'.
|
2269
|
+
* If it is, the function will return `true`.
|
2270
|
+
*
|
2271
|
+
* @param {HTMLElement} host - The element to check
|
2272
|
+
* @returns {boolean} A boolean value
|
2273
|
+
*/
|
2274
|
+
payloadValue: (host) => host.dataSource.length === 0,
|
2275
|
+
},
|
2276
|
+
{
|
2277
|
+
payloadKey: 'IS_USING_DATA_SOURCE',
|
2278
|
+
payloadDescription: 'Contains the data records to be rendered and displayed within the table',
|
2279
|
+
/**
|
2280
|
+
* The function checks if the length `dataSource` property of the `host` element is not equal to '0'.
|
2281
|
+
* If it is, the function will return `true`.
|
2282
|
+
*
|
2283
|
+
* @param {HTMLElement} host - The element to check
|
2284
|
+
* @returns {boolean} A boolean value
|
2285
|
+
*/
|
2286
|
+
payloadValue: (host) => host.dataSource.length > 0,
|
2287
|
+
},
|
2288
|
+
];
|
2289
|
+
|
2290
|
+
const vegaTableCss = ":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}}";
|
2291
|
+
|
2292
|
+
var __decorate$n = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2293
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2294
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
2295
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
2296
|
+
else
|
2297
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
2298
|
+
if (d = decorators[i])
|
2299
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
2300
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2301
|
+
};
|
2302
|
+
const VegaTable = class {
|
2303
|
+
constructor(hostRef) {
|
2304
|
+
index.registerInstance(this, hostRef);
|
2305
|
+
this.vegaChange = index.createEvent(this, "vegaChange", 7);
|
2306
|
+
this.change = index.createEvent(this, "change", 7);
|
2307
|
+
this.vegaRowClick = index.createEvent(this, "vegaRowClick", 7);
|
2308
|
+
this.rowClick = index.createEvent(this, "rowClick", 7);
|
2309
|
+
this.vegaRowExpand = index.createEvent(this, "vegaRowExpand", 7);
|
2310
|
+
this.rowExpand = index.createEvent(this, "rowExpand", 7);
|
2311
|
+
this.vegaSelectChange = index.createEvent(this, "vegaSelectChange", 7);
|
2312
|
+
this.selectChange = index.createEvent(this, "selectChange", 7);
|
2313
|
+
this.vegaSelectAllChange = index.createEvent(this, "vegaSelectAllChange", 7);
|
2314
|
+
this.selectAllChange = index.createEvent(this, "selectAllChange", 7);
|
2315
|
+
this.vegaRowSelect = index.createEvent(this, "vegaRowSelect", 7);
|
2316
|
+
this.rowSelect = index.createEvent(this, "rowSelect", 7);
|
2317
|
+
this.vegaRowSelectAll = index.createEvent(this, "vegaRowSelectAll", 7);
|
2318
|
+
this.rowSelectAll = index.createEvent(this, "rowSelectAll", 7);
|
2319
|
+
this.globalSlimmers = {};
|
2320
|
+
this.vegaTableRenderModeController = new VegaTableRenderModeController();
|
2321
|
+
this.vegaTableRenderer = new VegaTableRenderer();
|
2322
|
+
this.vegaTableHeaderRenderer = new VegaTableHeaderRenderer();
|
2323
|
+
this.vegaTableBodyRenderer = new VegaTableBodyRenderer();
|
2324
|
+
this.vegaTableRowRenderer = new VegaTableRowRenderer$1();
|
2325
|
+
this.vegaTableCellRenderer = new VegaTableCellRenderer();
|
2326
|
+
this.vegaTablePaginationRenderer = new VegaTablePaginationRenderer();
|
2327
|
+
this.vegaTableScrollContainerRenderer = new VegaTableScrollContainerRenderer();
|
2328
|
+
this.vegaTableExpandRowController = new VegaTableExpandRowController();
|
2329
|
+
this.vegaTableRowSelectionController = new VegaTableRowSelectionController$1();
|
2330
|
+
this.vegaTableDataSourceController = new VegaTableDataSourceController();
|
2331
|
+
this.vegaTablePaginationController = new VegaTablePaginationController();
|
2332
|
+
this.vegaTableEditableController = new VegaTableEditableController();
|
2333
|
+
this.vegaTableSortController = new VegaTableSortController();
|
2334
|
+
this.vegaTableColGroupRenderer = new VegaTableColGroupRenderer();
|
2335
|
+
this.vegaTableChildrenController = new VegaTableChildrenController();
|
2336
|
+
/**
|
2337
|
+
* The below method is e2e-test covered in
|
2338
|
+
* @see{module:should-render-responsive-columns-with-expandable-row-and-current-breakpoint-is-smaller-than-S}
|
2339
|
+
*/
|
2340
|
+
this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer();
|
2341
|
+
this.rowSelectionNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'rowSelection', 'watchRowSelection');
|
2342
|
+
this.rowExpandableNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'rowExpandable', 'watchRowExpandable');
|
2343
|
+
this.paddingXNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'paddingX', 'watchPaddingX');
|
2344
|
+
this.rowClickableNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'rowClickable', 'watchRowClickable');
|
2345
|
+
this.scrollConfigNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'scrollConfig', 'watchScrollConfig');
|
2346
|
+
this.eventsPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaChange, vegaEventId.VegaPageSizeChange, vegaEventId.VegaExpand], () => this.host);
|
2347
|
+
this.changeEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaChange);
|
2348
|
+
this.selectChangeEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaSelectChange);
|
2349
|
+
this.selectAllChangeEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaSelectAllChange);
|
2350
|
+
this.rowClickEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaRowClick);
|
2351
|
+
this.rowExpandEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaRowExpand);
|
2352
|
+
this.rowDividerNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'rowDivider', 'watchRowDivider');
|
2353
|
+
this.columnDividerNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'columnDivider', 'watchColumnDivider');
|
2354
|
+
this.densityNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'density', 'watchDensity');
|
2355
|
+
this.isTemplateRenderModeNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'isTemplateRenderMode', 'watchTemplateRenderMode');
|
2356
|
+
this.currentDataNotifySlimmer = subStateObserverSlimmer.createSubStateNotifySlimmer(VegaTable, 'currentData', 'watchCurrentData');
|
2357
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer(VegaTableRuntimeMetricsPayloadDefinition);
|
2358
|
+
this.rowSelectEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaRowSelect);
|
2359
|
+
this.rowSelectAllEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTable, vegaEventId.VegaRowSelectAll);
|
2360
|
+
this.selectedRowKeySet = new ImmutableSet(new Set(), (newSet) => {
|
2361
|
+
this.selectedRowKeySet = newSet;
|
2362
|
+
});
|
2363
|
+
this.expandedRowKeySet = new ImmutableSet(new Set(), (newSet) => {
|
2364
|
+
this.expandedRowKeySet = newSet;
|
2365
|
+
});
|
2366
|
+
this.currentBreakpoint = breakpoints.getCurrentBreakpoint();
|
2367
|
+
/** Current running sorters */
|
2368
|
+
this.sortersMap = new immutableMap.ImmutableMap(new Map(), (newMap) => {
|
2369
|
+
this.sortersMap = newMap;
|
2370
|
+
});
|
2371
|
+
/** The data for vega-table to render */
|
2372
|
+
this.currentData = [];
|
2373
|
+
/** Current page number of the table pagination */
|
2374
|
+
this.currentPage = 1;
|
2375
|
+
/**
|
2376
|
+
* The page size of the table pagination
|
2377
|
+
*/
|
2378
|
+
this.pageSize = 10;
|
2379
|
+
this.editingRows = new ImmutableSet(new Set(), (newSet) => {
|
2380
|
+
this.editingRows = newSet;
|
2381
|
+
});
|
2382
|
+
this.isSelectedAll = false;
|
2383
|
+
/**
|
2384
|
+
* Defines the columns of the table.
|
2385
|
+
*
|
2386
|
+
* @version 1.3.0
|
2387
|
+
*/
|
2388
|
+
this.columns = [];
|
2389
|
+
/**
|
2390
|
+
* Contains the data records to be rendered and
|
2391
|
+
* displayed within the table.
|
2392
|
+
*
|
2393
|
+
* @version 1.3.0
|
2394
|
+
*/
|
2395
|
+
/* eslint-disable-next-line @stencil/strict-mutable */
|
2396
|
+
this.dataSource = [];
|
2397
|
+
/**
|
2398
|
+
* Defines the behavior and options related to
|
2399
|
+
* row selection in the table.
|
2400
|
+
*
|
2401
|
+
* It allows users to select one or more rows in
|
2402
|
+
* the table for further actions or processing.
|
2403
|
+
*
|
2404
|
+
* @version 1.3.0
|
2405
|
+
*/
|
2406
|
+
/* eslint-disable-next-line @stencil/strict-mutable */
|
2407
|
+
this.rowSelection = null;
|
2408
|
+
/**
|
2409
|
+
* Specifies whether rows in the table can be expanded
|
2410
|
+
* to show additional content or details.
|
2411
|
+
*/
|
2412
|
+
/**
|
2413
|
+
* Indicates whether the row is expandable.
|
2414
|
+
*
|
2415
|
+
* @version 1.3.0
|
2416
|
+
*/
|
2417
|
+
this.rowExpandable = false;
|
2418
|
+
/**
|
2419
|
+
* Specifies whether rows in the table can be clicked.
|
2420
|
+
* If enabled, a `vegaRowClick` event will be
|
2421
|
+
* dispatched when a row is clicked.
|
2422
|
+
*
|
2423
|
+
* @version 1.3.0
|
2424
|
+
*/
|
2425
|
+
this.rowClickable = false;
|
2426
|
+
/**
|
2427
|
+
* Specifies whether dividers should be displayed
|
2428
|
+
* between rows in the table.
|
2429
|
+
*
|
2430
|
+
* @version 1.3.0
|
2431
|
+
*/
|
2432
|
+
this.rowDivider = false;
|
2433
|
+
/**
|
2434
|
+
* Specifies whether dividers should be displayed
|
2435
|
+
* between columns in the table.
|
2436
|
+
*
|
2437
|
+
* @version 1.3.0
|
2438
|
+
*/
|
2439
|
+
this.columnDivider = false;
|
2440
|
+
/**
|
2441
|
+
* Specifies whether alternate colors should be applied
|
2442
|
+
* to the rows of the table.
|
2443
|
+
*
|
2444
|
+
* @version 1.3.0
|
2445
|
+
*/
|
2446
|
+
this.striped = true;
|
2447
|
+
/**
|
2448
|
+
* Specifies the negative space within the table's cells.
|
2449
|
+
*
|
2450
|
+
* @version 1.3.0
|
2451
|
+
*/
|
2452
|
+
this.density = 'default';
|
2453
|
+
/**
|
2454
|
+
* Controls the amount of horizontal padding applied to the table.
|
2455
|
+
*
|
2456
|
+
* @version 1.3.0
|
2457
|
+
*/
|
2458
|
+
this.paddingX = ['8px', '8px'];
|
2459
|
+
/**
|
2460
|
+
* Specifies whether the table header should be displayed.
|
2461
|
+
*
|
2462
|
+
* @version 1.3.0
|
2463
|
+
*/
|
2464
|
+
this.showHeader = true;
|
2465
|
+
/**
|
2466
|
+
* Specifies the pagination configuration.
|
2467
|
+
*
|
2468
|
+
* @version 1.5.0
|
2469
|
+
*/
|
2470
|
+
this.pagination = null;
|
2471
|
+
/**
|
2472
|
+
* Provides a customized message or description that is
|
2473
|
+
* shown when the table's data source is empty.
|
2474
|
+
*
|
2475
|
+
* @version 1.7.0
|
2476
|
+
*/
|
2477
|
+
this.emptyDescription = 'There is no data to display';
|
2478
|
+
/**
|
2479
|
+
* Defines a unique key for each row in the table.
|
2480
|
+
*
|
2481
|
+
* @version 1.9.2
|
2482
|
+
*/
|
2483
|
+
this.rowKey = 'key';
|
2484
|
+
/**
|
2485
|
+
* Defines the column sorting options
|
2486
|
+
* Has optional property type: single | multiple
|
2487
|
+
* If not specified, it defaults to multiple column sorting
|
2488
|
+
*
|
2489
|
+
* @version 2.22.0
|
2490
|
+
*/
|
2491
|
+
this.sortConfig = { type: 'multiple' };
|
2492
|
+
}
|
2493
|
+
watchSelectedRowKeySet() {
|
2494
|
+
}
|
2495
|
+
watchSortersMap() {
|
2496
|
+
}
|
2497
|
+
watchCurrentData(newValue, oldValue) {
|
2498
|
+
}
|
2499
|
+
watchCurrentPage() {
|
2500
|
+
}
|
2501
|
+
watchSelectedAll() {
|
2502
|
+
}
|
2503
|
+
watchTemplateRenderMode() {
|
2504
|
+
}
|
2505
|
+
watchColumns() {
|
2506
|
+
}
|
2507
|
+
watchDataSource() {
|
2508
|
+
}
|
2509
|
+
watchRowSelection() {
|
2510
|
+
}
|
2511
|
+
watchRowExpandable() {
|
2512
|
+
}
|
2513
|
+
watchRowClickable() {
|
2514
|
+
}
|
2515
|
+
watchRowDivider() {
|
2516
|
+
}
|
2517
|
+
watchColumnDivider() {
|
2518
|
+
}
|
2519
|
+
watchStriped() {
|
2520
|
+
}
|
2521
|
+
watchDensity() {
|
2522
|
+
}
|
2523
|
+
watchPaddingX() {
|
2524
|
+
}
|
2525
|
+
watchPagination() {
|
2526
|
+
}
|
2527
|
+
watchScrollConfig() {
|
2528
|
+
}
|
2529
|
+
/**
|
2530
|
+
* Invoke this method to expand the row with the specified `rowKey`,
|
2531
|
+
* revealing additional content.
|
2532
|
+
*
|
2533
|
+
* @param rowKey
|
2534
|
+
* @version 1.3.0
|
2535
|
+
*/
|
2536
|
+
async openExpandRow(rowKey) {
|
2537
|
+
}
|
2538
|
+
/**
|
2539
|
+
* Invoke this method to close the expanded row with the specified `rowKey`.
|
2540
|
+
*
|
2541
|
+
* @param rowKey
|
2542
|
+
* @version 1.3.0
|
2543
|
+
*/
|
2544
|
+
async closeExpandRow(rowKey) {
|
2545
|
+
}
|
2546
|
+
/**
|
2547
|
+
* Invoke this method to close all expanded rows.
|
2548
|
+
*
|
2549
|
+
* @version 1.3.0
|
2550
|
+
*/
|
2551
|
+
async closeAllExpandRow() {
|
2552
|
+
}
|
2553
|
+
/**
|
2554
|
+
* Invoke this method to toggle the expandable row with the
|
2555
|
+
* specified `rowKey`, expanding it if it is currently
|
2556
|
+
* collapsed and collapsing it if it is currently expanded.
|
2557
|
+
*
|
2558
|
+
* @param rowKey
|
2559
|
+
* @version 1.3.0
|
2560
|
+
*/
|
2561
|
+
async toggleExpandRow(rowKey) {
|
2562
|
+
}
|
2563
|
+
/**
|
2564
|
+
* Invoke this method to clear the selected row keys,
|
2565
|
+
* removing any current selection.
|
2566
|
+
*
|
2567
|
+
* @version 1.3.0
|
2568
|
+
*/
|
2569
|
+
async clearSelection() {
|
2570
|
+
}
|
2571
|
+
/**
|
2572
|
+
* Invoke this method to retrieve the selected row keys,
|
2573
|
+
* provided an array or list of the keys representing
|
2574
|
+
* the currently selected rows.
|
2575
|
+
*
|
2576
|
+
* @version 1.3.0
|
2577
|
+
*/
|
2578
|
+
async getSelection() {
|
2579
|
+
return placeholder.methodPlaceholder();
|
2580
|
+
}
|
2581
|
+
/**
|
2582
|
+
* Invoke this method to set the selected row keys,
|
2583
|
+
* specifying an array or list of keys to represent
|
2584
|
+
* the desired selected rows.
|
2585
|
+
*
|
2586
|
+
* @param {string[]} keys - Row keys to be set as selected.
|
2587
|
+
* @version 1.3.0
|
2588
|
+
*/
|
2589
|
+
async setSelection(keys) {
|
2590
|
+
}
|
2591
|
+
/**
|
2592
|
+
* Invoke this method to start the edit mode for the row
|
2593
|
+
* with the specified `rowKey`.
|
2594
|
+
*
|
2595
|
+
* @VegaWarning Note: This method only works with editable tables.
|
2596
|
+
*
|
2597
|
+
* @version 1.19.0
|
2598
|
+
*/
|
2599
|
+
async startRowEditMode(rowKey) {
|
2600
|
+
}
|
2601
|
+
/**
|
2602
|
+
* Invoke this method to stop the edit mode for the row
|
2603
|
+
* with the specified `rowKey`.
|
2604
|
+
*
|
2605
|
+
* @VegaWarning Note: This method only works with editable tables.
|
2606
|
+
*
|
2607
|
+
* @version 1.19.0
|
2608
|
+
*/
|
2609
|
+
async stopRowEditMode(rowKey) {
|
2610
|
+
}
|
2611
|
+
/**
|
2612
|
+
* Invoke this method to stop the edit mode for all rows,
|
2613
|
+
* exiting the edit mode for each row currently
|
2614
|
+
* in the editing state.
|
2615
|
+
*
|
2616
|
+
* @VegaWarning Note: This method only works with editable tables.
|
2617
|
+
*
|
2618
|
+
* @version 1.19.0
|
2619
|
+
*/
|
2620
|
+
async stopAllRowEditMode() {
|
2621
|
+
}
|
2622
|
+
/**
|
2623
|
+
* Invoke this method to retrieve the data of the row with
|
2624
|
+
* the specified `rowKey`, obtaining the complete set of
|
2625
|
+
* information associated with that row.
|
2626
|
+
*
|
2627
|
+
* @param rowKey The row's unique key.
|
2628
|
+
*
|
2629
|
+
* @VegaWarning Note: This method only works with editable tables.
|
2630
|
+
*
|
2631
|
+
* @version 1.19.0
|
2632
|
+
*/
|
2633
|
+
async getRowData(rowKey) {
|
2634
|
+
return placeholder.methodPlaceholder(rowKey);
|
2635
|
+
}
|
2636
|
+
/**
|
2637
|
+
* Invoke this method to retrieve all rows of data,
|
2638
|
+
* obtaining the complete set of information
|
2639
|
+
* associated with each row.
|
2640
|
+
*
|
2641
|
+
* @VegaWarning Note: This method only works with editable tables.
|
2642
|
+
*
|
2643
|
+
* @version 1.19.0
|
2644
|
+
*/
|
2645
|
+
async getRowsData() {
|
2646
|
+
return placeholder.methodPlaceholder();
|
2647
|
+
}
|
2648
|
+
/**
|
2649
|
+
* Invoke this method to retrieve the table row reference
|
2650
|
+
* based on the provided `rowKey`.
|
2651
|
+
*
|
2652
|
+
* If the `rowKey` is empty, this method will return the
|
2653
|
+
* reference to the table form.
|
2654
|
+
*
|
2655
|
+
* @param optional rowKey
|
2656
|
+
*
|
2657
|
+
* @VegaWarning Note: This method only works with editable tables.
|
2658
|
+
*
|
2659
|
+
* @version 1.19.0
|
2660
|
+
*/
|
2661
|
+
async getFormRef(rowKey) {
|
2662
|
+
return placeholder.methodPlaceholder(rowKey);
|
2663
|
+
}
|
2664
|
+
/**
|
2665
|
+
* Invoke this method to add a new row to the editable table.
|
2666
|
+
*
|
2667
|
+
* @param record the default record of the new row
|
2668
|
+
* @returns {Promise<string>} the rowKey of the new row
|
2669
|
+
*
|
2670
|
+
* @VegaWarning Note: This method only works with editable tables.
|
2671
|
+
*
|
2672
|
+
* @version 1.19.0
|
2673
|
+
*/
|
2674
|
+
async addNewRow(record = {}) {
|
2675
|
+
return placeholder.methodPlaceholder(record);
|
2676
|
+
}
|
2677
|
+
/**
|
2678
|
+
* Invoke this method to save the edited row data to
|
2679
|
+
* the `currentData` and stop the edit mode
|
2680
|
+
* for that row.
|
2681
|
+
*
|
2682
|
+
* This action will not affect the editing mode of other rows.
|
2683
|
+
*
|
2684
|
+
* @VegaWarning Note: This method only works with editable tables.
|
2685
|
+
*
|
2686
|
+
* @version 1.19.0
|
2687
|
+
*/
|
2688
|
+
async saveEditRow(rowKey) {
|
2689
|
+
return placeholder.methodPlaceholder(rowKey);
|
2690
|
+
}
|
2691
|
+
/**
|
2692
|
+
* Invoke this method to save the data of all edited rows to
|
2693
|
+
* the `currentData` and stop the edit mode for
|
2694
|
+
* all rows in the table.
|
2695
|
+
*
|
2696
|
+
* @VegaWarning Note: This method only works with editable tables.
|
2697
|
+
*
|
2698
|
+
* @version 1.19.0
|
2699
|
+
*/
|
2700
|
+
async saveAllEditRows() {
|
2701
|
+
}
|
2702
|
+
/**
|
2703
|
+
* Invoke this method to obtain the keys of the rows currently
|
2704
|
+
* in the editing mode in the table.
|
2705
|
+
*
|
2706
|
+
* @VegaWarning Note: This method only works with editable tables.
|
2707
|
+
*
|
2708
|
+
* @version 1.19.0
|
2709
|
+
*/
|
2710
|
+
async getEditingRowsKey() {
|
2711
|
+
return placeholder.methodPlaceholder();
|
2712
|
+
}
|
2713
|
+
/**
|
2714
|
+
* Invoke this method to remove a row from the `currentData`
|
2715
|
+
* based on the specified `rowKey` in the table.
|
2716
|
+
*
|
2717
|
+
* @param rowKey The rowKey of the row to remove.
|
2718
|
+
*
|
2719
|
+
* @VegaWarning Note: This method only works with editable tables.
|
2720
|
+
*
|
2721
|
+
* @version 1.19.0
|
2722
|
+
*/
|
2723
|
+
async removeRow(rowKey) {
|
2724
|
+
}
|
2725
|
+
render() {
|
2726
|
+
placeholder.slotPlaceholder(index.h("slot", null));
|
2727
|
+
return this.vegaTableRenderer.render();
|
2728
|
+
}
|
2729
|
+
get host() { return index.getElement(this); }
|
2730
|
+
static get watchers() { return {
|
2731
|
+
"selectedRowKeySet": ["watchSelectedRowKeySet"],
|
2732
|
+
"sortersMap": ["watchSortersMap"],
|
2733
|
+
"currentData": ["watchCurrentData"],
|
2734
|
+
"currentPage": ["watchCurrentPage"],
|
2735
|
+
"isSelectedAll": ["watchSelectedAll"],
|
2736
|
+
"isTemplateRenderMode": ["watchTemplateRenderMode"],
|
2737
|
+
"columns": ["watchColumns"],
|
2738
|
+
"dataSource": ["watchDataSource"],
|
2739
|
+
"rowSelection": ["watchRowSelection"],
|
2740
|
+
"rowExpandable": ["watchRowExpandable"],
|
2741
|
+
"rowClickable": ["watchRowClickable"],
|
2742
|
+
"rowDivider": ["watchRowDivider"],
|
2743
|
+
"columnDivider": ["watchColumnDivider"],
|
2744
|
+
"striped": ["watchStriped"],
|
2745
|
+
"density": ["watchDensity"],
|
2746
|
+
"paddingX": ["watchPaddingX"],
|
2747
|
+
"pagination": ["watchPagination"],
|
2748
|
+
"scrollConfig": ["watchScrollConfig"]
|
2749
|
+
}; }
|
2750
|
+
};
|
2751
|
+
__decorate$n([
|
2752
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
2753
|
+
], VegaTable.prototype, "globalSlimmers", void 0);
|
2754
|
+
__decorate$n([
|
2755
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2756
|
+
], VegaTable.prototype, "vegaTableRenderModeController", void 0);
|
2757
|
+
__decorate$n([
|
2758
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2759
|
+
], VegaTable.prototype, "vegaTableRenderer", void 0);
|
2760
|
+
__decorate$n([
|
2761
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2762
|
+
], VegaTable.prototype, "vegaTableHeaderRenderer", void 0);
|
2763
|
+
__decorate$n([
|
2764
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2765
|
+
], VegaTable.prototype, "vegaTableBodyRenderer", void 0);
|
2766
|
+
__decorate$n([
|
2767
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2768
|
+
], VegaTable.prototype, "vegaTableRowRenderer", void 0);
|
2769
|
+
__decorate$n([
|
2770
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2771
|
+
], VegaTable.prototype, "vegaTableCellRenderer", void 0);
|
2772
|
+
__decorate$n([
|
2773
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2774
|
+
], VegaTable.prototype, "vegaTablePaginationRenderer", void 0);
|
2775
|
+
__decorate$n([
|
2776
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2777
|
+
], VegaTable.prototype, "vegaTableScrollContainerRenderer", void 0);
|
2778
|
+
__decorate$n([
|
2779
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2780
|
+
], VegaTable.prototype, "vegaTableExpandRowController", void 0);
|
2781
|
+
__decorate$n([
|
2782
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2783
|
+
], VegaTable.prototype, "vegaTableRowSelectionController", void 0);
|
2784
|
+
__decorate$n([
|
2785
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2786
|
+
], VegaTable.prototype, "vegaTableDataSourceController", void 0);
|
2787
|
+
__decorate$n([
|
2788
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2789
|
+
], VegaTable.prototype, "vegaTablePaginationController", void 0);
|
2790
|
+
__decorate$n([
|
2791
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2792
|
+
], VegaTable.prototype, "vegaTableEditableController", void 0);
|
2793
|
+
__decorate$n([
|
2794
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2795
|
+
], VegaTable.prototype, "vegaTableSortController", void 0);
|
2796
|
+
__decorate$n([
|
2797
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2798
|
+
], VegaTable.prototype, "vegaTableColGroupRenderer", void 0);
|
2799
|
+
__decorate$n([
|
2800
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2801
|
+
], VegaTable.prototype, "vegaTableChildrenController", void 0);
|
2802
|
+
__decorate$n([
|
2803
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2804
|
+
], VegaTable.prototype, "pageResizeObserverSlimmer", void 0);
|
2805
|
+
__decorate$n([
|
2806
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2807
|
+
], VegaTable.prototype, "rowSelectionNotifySlimmer", void 0);
|
2808
|
+
__decorate$n([
|
2809
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2810
|
+
], VegaTable.prototype, "rowExpandableNotifySlimmer", void 0);
|
2811
|
+
__decorate$n([
|
2812
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2813
|
+
], VegaTable.prototype, "paddingXNotifySlimmer", void 0);
|
2814
|
+
__decorate$n([
|
2815
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2816
|
+
], VegaTable.prototype, "rowClickableNotifySlimmer", void 0);
|
2817
|
+
__decorate$n([
|
2818
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2819
|
+
], VegaTable.prototype, "scrollConfigNotifySlimmer", void 0);
|
2820
|
+
__decorate$n([
|
2821
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2822
|
+
], VegaTable.prototype, "eventsPrevent", void 0);
|
2823
|
+
__decorate$n([
|
2824
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2825
|
+
], VegaTable.prototype, "changeEventEmitter", void 0);
|
2826
|
+
__decorate$n([
|
2827
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2828
|
+
], VegaTable.prototype, "selectChangeEventEmitter", void 0);
|
2829
|
+
__decorate$n([
|
2830
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2831
|
+
], VegaTable.prototype, "selectAllChangeEventEmitter", void 0);
|
2832
|
+
__decorate$n([
|
2833
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2834
|
+
], VegaTable.prototype, "rowClickEventEmitter", void 0);
|
2835
|
+
__decorate$n([
|
2836
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2837
|
+
], VegaTable.prototype, "rowExpandEventEmitter", void 0);
|
2838
|
+
__decorate$n([
|
2839
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2840
|
+
], VegaTable.prototype, "rowDividerNotifySlimmer", void 0);
|
2841
|
+
__decorate$n([
|
2842
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2843
|
+
], VegaTable.prototype, "columnDividerNotifySlimmer", void 0);
|
2844
|
+
__decorate$n([
|
2845
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2846
|
+
], VegaTable.prototype, "densityNotifySlimmer", void 0);
|
2847
|
+
__decorate$n([
|
2848
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2849
|
+
], VegaTable.prototype, "isTemplateRenderModeNotifySlimmer", void 0);
|
2850
|
+
__decorate$n([
|
2851
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2852
|
+
], VegaTable.prototype, "currentDataNotifySlimmer", void 0);
|
2853
|
+
__decorate$n([
|
2854
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2855
|
+
], VegaTable.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
2856
|
+
__decorate$n([
|
2857
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2858
|
+
], VegaTable.prototype, "rowSelectEventEmitter", void 0);
|
2859
|
+
__decorate$n([
|
2860
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2861
|
+
], VegaTable.prototype, "rowSelectAllEventEmitter", void 0);
|
2862
|
+
VegaTable.style = vegaTableCss;
|
2863
|
+
|
2864
|
+
const vegaTableBodyCss = ":host{display:contents}";
|
2865
|
+
|
2866
|
+
var __decorate$m = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2867
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2868
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
2869
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
2870
|
+
else
|
2871
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
2872
|
+
if (d = decorators[i])
|
2873
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
2874
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2875
|
+
};
|
2876
|
+
const VegaTableBody = class {
|
2877
|
+
constructor(hostRef) {
|
2878
|
+
index.registerInstance(this, hostRef);
|
2879
|
+
this.globalSlimmers = {};
|
2880
|
+
this.childChangeEventPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaChange], () => this.host);
|
2881
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
|
2882
|
+
}
|
2883
|
+
render() {
|
2884
|
+
return component.sanitizeVegaComponent(index.h(index.Host, null, index.h("tbody", null, index.h("slot", null))), this.host);
|
2885
|
+
}
|
2886
|
+
get host() { return index.getElement(this); }
|
2887
|
+
};
|
2888
|
+
__decorate$m([
|
2889
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
2890
|
+
], VegaTableBody.prototype, "globalSlimmers", void 0);
|
2891
|
+
__decorate$m([
|
2892
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2893
|
+
], VegaTableBody.prototype, "childChangeEventPrevent", void 0);
|
2894
|
+
__decorate$m([
|
2895
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
2896
|
+
], VegaTableBody.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
2897
|
+
VegaTableBody.style = vegaTableBodyCss;
|
2898
|
+
|
2899
|
+
/**
|
2900
|
+
* Input a breakpoint, return the responsive style classes of the breakpoint
|
2901
|
+
*
|
2902
|
+
* @param {BreakpointsTokenType} breakpoint - The breakpoint as an input
|
2903
|
+
* @param {string} className - The input class that will be formatted to responsive classes
|
2904
|
+
* @returns {string} The style classes for the breakpoint
|
2905
|
+
*/
|
2906
|
+
const generateResponsiveClass = (breakpoint, className) => {
|
2907
|
+
return breakpoint && typeGuard.isBreakpointsTokenType(breakpoint) ? `v-hidden ${breakpoint}:${className}` : '';
|
2908
|
+
};
|
2909
|
+
/**
|
2910
|
+
* Input an align, return the style class of the alignment
|
2911
|
+
*
|
2912
|
+
* @param {ColumnAlignType} align - The align type
|
2913
|
+
* @returns {string} The alignment style classes
|
2914
|
+
*/
|
2915
|
+
const generateTextAlignClass = (align) => {
|
2916
|
+
let alignClass;
|
2917
|
+
switch (align) {
|
2918
|
+
case 'center':
|
2919
|
+
alignClass = 'v-text-center';
|
2920
|
+
break;
|
2921
|
+
case 'left':
|
2922
|
+
alignClass = 'v-text-left';
|
2923
|
+
break;
|
2924
|
+
case 'right':
|
2925
|
+
alignClass = 'v-text-right';
|
2926
|
+
break;
|
2927
|
+
default:
|
2928
|
+
alignClass = '';
|
2929
|
+
}
|
2930
|
+
return alignClass;
|
2931
|
+
};
|
2932
|
+
/**
|
2933
|
+
* The function `generateColSpan` calculates the column span based on the length of columns and whether multiple selection is enabled.
|
2934
|
+
*
|
2935
|
+
* @param {number} columnLength - The number of columns in a table or grid.
|
2936
|
+
* @param {boolean} withMultipleSelection - A boolean value indicating whether the table has a column for multiple selection.
|
2937
|
+
* @returns {number} the value of `columnLength` plus 2 if `withMultipleSelection` is true, or plus 1 if `withMultipleSelection` is false.
|
2938
|
+
*/
|
2939
|
+
const generateColSpan = (columnLength, withMultipleSelection) => {
|
2940
|
+
return columnLength + (withMultipleSelection ? 2 : 1);
|
2941
|
+
};
|
2942
|
+
|
2943
|
+
var __decorate$l = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2944
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2945
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
2946
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
2947
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2948
|
+
};
|
2949
|
+
/**
|
2950
|
+
* Controller for the table row states
|
2951
|
+
*/
|
2952
|
+
class VegaTableCellStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
|
2953
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
2954
|
+
constructor() {
|
2955
|
+
super({
|
2956
|
+
parent: 'vega-table',
|
2957
|
+
subStates: [
|
2958
|
+
{
|
2959
|
+
subStateName: 'density',
|
2960
|
+
parentStateName: 'density',
|
2961
|
+
},
|
2962
|
+
],
|
2963
|
+
});
|
2964
|
+
}
|
2965
|
+
}
|
2966
|
+
__decorate$l([
|
2967
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
2968
|
+
], VegaTableCellStateController.prototype, "density", void 0);
|
2969
|
+
|
2970
|
+
const vegaTableCellCss = ":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}";
|
2971
|
+
|
2972
|
+
var __decorate$k = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
2973
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
2974
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
2975
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
2976
|
+
else
|
2977
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
2978
|
+
if (d = decorators[i])
|
2979
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
2980
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
2981
|
+
};
|
2982
|
+
const VegaTableCell = class {
|
2983
|
+
constructor(hostRef) {
|
2984
|
+
index.registerInstance(this, hostRef);
|
2985
|
+
this.globalSlimmers = {};
|
2986
|
+
this.vegaTableCellStateController = new VegaTableCellStateController();
|
2987
|
+
this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer();
|
2988
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
|
2989
|
+
this.currentBreakpoint = breakpoints.getCurrentBreakpoint();
|
2990
|
+
this.getCellOverflowClass = () => {
|
2991
|
+
switch (this.overflow) {
|
2992
|
+
case 'ellipsis':
|
2993
|
+
return 'vega-table-cell-ellipsis';
|
2994
|
+
case 'scroll':
|
2995
|
+
return 'vega-table-cell-scroll';
|
2996
|
+
}
|
2997
|
+
};
|
2998
|
+
}
|
2999
|
+
render() {
|
3000
|
+
const responsiveClass = generateResponsiveClass(this.breakpoint, 'v-table-cell');
|
3001
|
+
const columnAlignClass = generateTextAlignClass(this.textAlign);
|
3002
|
+
const overflowClass = this.getCellOverflowClass();
|
3003
|
+
const columnClasses = [columnAlignClass, 'vega-table-cell'];
|
3004
|
+
if (!featureFlagController.FeatureFlag.isEnabled('VEGA_TABLE.ENABLE_NEW_CELL_BREAK_WORDS_STYLE')) {
|
3005
|
+
columnClasses.push('break-word');
|
3006
|
+
}
|
3007
|
+
return component.sanitizeVegaComponent(index.h(index.Host, { class: ui.arrayToClassString([
|
3008
|
+
`density-${responsiveFormatFacade.ResponsiveFormatFacade.formatCustom(this.density)}`,
|
3009
|
+
responsiveClass,
|
3010
|
+
]), style: { width: this.width } }, index.h("td", { class: ui.arrayToClassString(columnClasses), part: "cell" }, index.h("div", { class: overflowClass }, index.h("slot", null)))), this.host);
|
3011
|
+
}
|
3012
|
+
get host() { return index.getElement(this); }
|
3013
|
+
};
|
3014
|
+
__decorate$k([
|
3015
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
3016
|
+
], VegaTableCell.prototype, "globalSlimmers", void 0);
|
3017
|
+
__decorate$k([
|
3018
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3019
|
+
], VegaTableCell.prototype, "vegaTableCellStateController", void 0);
|
3020
|
+
__decorate$k([
|
3021
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3022
|
+
], VegaTableCell.prototype, "pageResizeObserverSlimmer", void 0);
|
3023
|
+
__decorate$k([
|
3024
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3025
|
+
], VegaTableCell.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
3026
|
+
VegaTableCell.style = vegaTableCellCss;
|
3027
|
+
|
3028
|
+
var __decorate$j = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3029
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3030
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3031
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3032
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3033
|
+
};
|
3034
|
+
class VegaTableExpandRowRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
3035
|
+
render() {
|
3036
|
+
return (index.h("tr", { class: {
|
3037
|
+
'vega-table-expanded-row': true,
|
3038
|
+
'expanded': this.expanded,
|
3039
|
+
'checked': this.checked,
|
3040
|
+
}, key: `vega-table-expanded-row-${this.rowKey}`, "data-expanded-row-key": this.rowKey },
|
3041
|
+
index.h("td", null),
|
3042
|
+
index.h("td", { colSpan: this.colSpan, key: `${VegaTableExpandRowController.expandRowSlotNamePrefix}${this.rowKey}`, class: "vega-table-expanded-row-slot-container" },
|
3043
|
+
index.h("slot", null)),
|
3044
|
+
index.h("td", null)));
|
3045
|
+
}
|
3046
|
+
}
|
3047
|
+
__decorate$j([
|
3048
|
+
globalSlimmerRegistry.MapToComponentField()
|
3049
|
+
], VegaTableExpandRowRenderer.prototype, "rowKey", void 0);
|
3050
|
+
__decorate$j([
|
3051
|
+
globalSlimmerRegistry.MapToComponentField()
|
3052
|
+
], VegaTableExpandRowRenderer.prototype, "expanded", void 0);
|
3053
|
+
__decorate$j([
|
3054
|
+
globalSlimmerRegistry.MapToComponentField()
|
3055
|
+
], VegaTableExpandRowRenderer.prototype, "checked", void 0);
|
3056
|
+
__decorate$j([
|
3057
|
+
globalSlimmerRegistry.MapToComponentField()
|
3058
|
+
], VegaTableExpandRowRenderer.prototype, "colSpan", void 0);
|
3059
|
+
|
3060
|
+
var __decorate$i = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3061
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3062
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3063
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3064
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3065
|
+
};
|
3066
|
+
/**
|
3067
|
+
* The controller for expand row.
|
3068
|
+
*/
|
3069
|
+
class VegaTableExpandRowExpandController extends globalSlimmerRegistry.VegaSlimmer {
|
3070
|
+
/**
|
3071
|
+
* Component lifecycle - [connectedCallback]{@link VegaTableExpandRow.connectedCallback}
|
3072
|
+
*/
|
3073
|
+
connectedCallback() {
|
3074
|
+
this.expandObserver = new domNodeSubjectObserverFactory.Observer(this.isAcceptableTableExpandRowObserver.bind(this), (payload) => {
|
3075
|
+
if (payload.rowKey === this.rowKey) {
|
3076
|
+
this.expanded = payload.expanded;
|
3077
|
+
}
|
3078
|
+
});
|
3079
|
+
changeManager.ChangeManager.register(staticSubjectTitle.TABLE_EXPAND_ROW, this.expandObserver);
|
3080
|
+
}
|
3081
|
+
/**
|
3082
|
+
* Component lifecycle - [disconnectedCallback]{@link VegaTableExpandRow.disconnectedCallback}
|
3083
|
+
*/
|
3084
|
+
disconnectedCallback() {
|
3085
|
+
changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_EXPAND_ROW, this.expandObserver);
|
3086
|
+
}
|
3087
|
+
/**
|
3088
|
+
* The function checks if the input is an acceptable payload for a VegaTableExpandRowObserver.
|
3089
|
+
*
|
3090
|
+
* @param {unknown} input - The `input` parameter is of type `unknown`, which means it can be any type.
|
3091
|
+
* @returns {boolean} a boolean value indicating whether the input is of type VegaTableExpandRowObserverPayload.
|
3092
|
+
*/
|
3093
|
+
isAcceptableTableExpandRowObserver(input) {
|
3094
|
+
if (input['host']['tagName'] === 'VEGA-TABLE') {
|
3095
|
+
return (input['host']['tagName'] === 'VEGA-TABLE' &&
|
3096
|
+
input['host'] === ui.findParent(this.host, 'vega-table'));
|
3097
|
+
}
|
3098
|
+
if (input['host']['tagName'] === 'VEGA-TABLE-ROW') {
|
3099
|
+
return ui.findParent(this.host, 'vega-table') === ui.findParent(input['host'], 'vega-table');
|
3100
|
+
}
|
3101
|
+
}
|
3102
|
+
}
|
3103
|
+
__decorate$i([
|
3104
|
+
globalSlimmerRegistry.MapToComponentField()
|
3105
|
+
], VegaTableExpandRowExpandController.prototype, "host", void 0);
|
3106
|
+
__decorate$i([
|
3107
|
+
globalSlimmerRegistry.MapToComponentField()
|
3108
|
+
], VegaTableExpandRowExpandController.prototype, "rowKey", void 0);
|
3109
|
+
__decorate$i([
|
3110
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3111
|
+
], VegaTableExpandRowExpandController.prototype, "expanded", void 0);
|
3112
|
+
__decorate$i([
|
3113
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
3114
|
+
], VegaTableExpandRowExpandController.prototype, "connectedCallback", null);
|
3115
|
+
__decorate$i([
|
3116
|
+
globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
|
3117
|
+
], VegaTableExpandRowExpandController.prototype, "disconnectedCallback", null);
|
3118
|
+
|
3119
|
+
/**
|
3120
|
+
* The function checks if the input is an acceptable table row observer by comparing the host tag name and finding the parent vega-table element.
|
3121
|
+
*
|
3122
|
+
* @param {unknown} input - The `input` parameter is of type `unknown`, which means it can be any type.
|
3123
|
+
* @returns {boolean} a boolean value.
|
3124
|
+
*/
|
3125
|
+
function isAcceptableTableRowObserver(input) {
|
3126
|
+
return (input['host']['tagName'] === 'VEGA-TABLE-ROW' &&
|
3127
|
+
ui.findParent(this.host, 'vega-table') === ui.findParent(input['host'], 'vega-table'));
|
3128
|
+
}
|
3129
|
+
/**
|
3130
|
+
* The function checks if the input is an acceptable table observer by verifying if it has a host with a tagName of 'VEGA-TABLE' and if the host is the parent of the current host.
|
3131
|
+
*
|
3132
|
+
* @param {unknown} input - The `input` parameter is of type `unknown`, which means it can be any type.
|
3133
|
+
* @returns {boolean} a boolean value indicating whether the input is an acceptable table observer.
|
3134
|
+
*/
|
3135
|
+
function isAcceptableTableObserver(input) {
|
3136
|
+
return input['host']['tagName'] === 'VEGA-TABLE' && input['host'] === ui.findParent(this.host, 'vega-table');
|
3137
|
+
}
|
3138
|
+
|
3139
|
+
var __decorate$h = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3140
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3141
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3142
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3143
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3144
|
+
};
|
3145
|
+
/**
|
3146
|
+
* The row selection controller for the expand row.
|
3147
|
+
*/
|
3148
|
+
class VegaTableExpandRowSelectionController extends globalSlimmerRegistry.VegaSlimmer {
|
3149
|
+
/**
|
3150
|
+
* Component lifecycle - [connectedCallback]{@link VegaTableExpandRow.connectedCallback}
|
3151
|
+
*/
|
3152
|
+
connectedCallback() {
|
3153
|
+
this.rowSelectionObserver = new domNodeSubjectObserverFactory.Observer(isAcceptableTableRowObserver.bind(this), (payload) => {
|
3154
|
+
if (payload.rowKey === this.rowKey) {
|
3155
|
+
this.checked = payload.checked;
|
3156
|
+
}
|
3157
|
+
});
|
3158
|
+
changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_SELECTION, this.rowSelectionObserver);
|
3159
|
+
}
|
3160
|
+
/**
|
3161
|
+
* Component lifecycle - [disconnectedCallback]{@link VegaTableExpandRow.disconnectedCallback}
|
3162
|
+
*/
|
3163
|
+
disconnectedCallback() {
|
3164
|
+
changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_SELECTION, this.rowSelectionObserver);
|
3165
|
+
}
|
3166
|
+
}
|
3167
|
+
__decorate$h([
|
3168
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3169
|
+
], VegaTableExpandRowSelectionController.prototype, "checked", void 0);
|
3170
|
+
__decorate$h([
|
3171
|
+
globalSlimmerRegistry.MapToComponentField()
|
3172
|
+
], VegaTableExpandRowSelectionController.prototype, "host", void 0);
|
3173
|
+
__decorate$h([
|
3174
|
+
globalSlimmerRegistry.MapToComponentField()
|
3175
|
+
], VegaTableExpandRowSelectionController.prototype, "rowKey", void 0);
|
3176
|
+
__decorate$h([
|
3177
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
3178
|
+
], VegaTableExpandRowSelectionController.prototype, "connectedCallback", null);
|
3179
|
+
__decorate$h([
|
3180
|
+
globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
|
3181
|
+
], VegaTableExpandRowSelectionController.prototype, "disconnectedCallback", null);
|
3182
|
+
|
3183
|
+
var __decorate$g = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3184
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3185
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3186
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3187
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3188
|
+
};
|
3189
|
+
/**
|
3190
|
+
* Controller for expand row state
|
3191
|
+
*/
|
3192
|
+
class VegaTableExpandRowStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
|
3193
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
3194
|
+
constructor() {
|
3195
|
+
super({
|
3196
|
+
parent: 'vega-table',
|
3197
|
+
subStates: [
|
3198
|
+
{
|
3199
|
+
subStateName: 'withMultipleSelection',
|
3200
|
+
parentStateName: 'rowSelection',
|
3201
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
3202
|
+
callback: (rowSelection) => {
|
3203
|
+
if (rowSelection) {
|
3204
|
+
const { type = 'multiple' } = rowSelection;
|
3205
|
+
this.withMultipleSelection = type === 'multiple';
|
3206
|
+
}
|
3207
|
+
else {
|
3208
|
+
this.withMultipleSelection = false;
|
3209
|
+
}
|
3210
|
+
},
|
3211
|
+
},
|
3212
|
+
],
|
3213
|
+
});
|
3214
|
+
}
|
3215
|
+
}
|
3216
|
+
__decorate$g([
|
3217
|
+
globalSlimmerRegistry.MapToComponentField()
|
3218
|
+
], VegaTableExpandRowStateController.prototype, "host", void 0);
|
3219
|
+
__decorate$g([
|
3220
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3221
|
+
], VegaTableExpandRowStateController.prototype, "withMultipleSelection", void 0);
|
3222
|
+
__decorate$g([
|
3223
|
+
globalSlimmerRegistry.MapToComponentField()
|
3224
|
+
], VegaTableExpandRowStateController.prototype, "vegaTableExpandRowColSpanController", void 0);
|
3225
|
+
|
3226
|
+
var __decorate$f = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3227
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3228
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3229
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3230
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3231
|
+
};
|
3232
|
+
/*
|
3233
|
+
* The next line is covered in e2e-test
|
3234
|
+
* @see{should-render-responsive-columns-with-expandable-row-and-current-breakpoint-is-smaller-than-S}
|
3235
|
+
* @see{should-render-responsive-columns-with-expandable-row-and-current-breakpoint-changed}
|
3236
|
+
*/
|
3237
|
+
/* istanbul ignore next */
|
3238
|
+
/**
|
3239
|
+
* The controller for expand row col span.
|
3240
|
+
*/
|
3241
|
+
class VegaTableExpandRowColSpanController extends globalSlimmerRegistry.VegaSlimmer {
|
3242
|
+
constructor() {
|
3243
|
+
super(...arguments);
|
3244
|
+
/**
|
3245
|
+
* Update state colSpan
|
3246
|
+
*/
|
3247
|
+
this.updateColSpan = () => {
|
3248
|
+
this.colSpan = generateColSpan(this.getVisibleColumnsNumber(), this.withMultipleSelection);
|
3249
|
+
};
|
3250
|
+
}
|
3251
|
+
/**
|
3252
|
+
* Update the expand row content col span when component will load
|
3253
|
+
*/
|
3254
|
+
componentWillLoad() {
|
3255
|
+
this.updateColSpan();
|
3256
|
+
}
|
3257
|
+
/**
|
3258
|
+
* Update the expand row content col span when current breakpoint changed
|
3259
|
+
*/
|
3260
|
+
watchCurrentBreakpoint() {
|
3261
|
+
this.updateColSpan();
|
3262
|
+
}
|
3263
|
+
/**
|
3264
|
+
* Update the expand row content col span when selection type changed
|
3265
|
+
*/
|
3266
|
+
watchWithMultipleSelection() {
|
3267
|
+
this.updateColSpan();
|
3268
|
+
}
|
3269
|
+
/**
|
3270
|
+
* Get visual columns number, it will be changed by the breakpoints
|
3271
|
+
*
|
3272
|
+
* @returns {number} The visible columns number
|
3273
|
+
*/
|
3274
|
+
getVisibleColumnsNumber() {
|
3275
|
+
const table = ui.findParent(this.host, 'vega-table');
|
3276
|
+
const currentBreakpoint = breakpoints.getCurrentBreakpoint();
|
3277
|
+
const isTemplateRenderMode = table.children &&
|
3278
|
+
Array.from(table.children).filter((item) => { var _a; return !((_a = item.getAttribute('slot')) === null || _a === void 0 ? void 0 : _a.startsWith('vega-table-expand-row-')); }).length > 0;
|
3279
|
+
const cells = isTemplateRenderMode
|
3280
|
+
? table.querySelectorAll('vega-table-row:nth-of-type(1) vega-table-cell')
|
3281
|
+
: table.shadowRoot.querySelectorAll('vega-table-row:nth-of-type(1) vega-table-cell');
|
3282
|
+
return Array.from(cells).filter((cell) => {
|
3283
|
+
if (!cell.breakpoint)
|
3284
|
+
return true;
|
3285
|
+
if (currentBreakpoint === 'default')
|
3286
|
+
return false;
|
3287
|
+
return breakpoints.Breakpoints[currentBreakpoint] >= breakpoints.Breakpoints[cell.breakpoint];
|
3288
|
+
}).length;
|
3289
|
+
}
|
3290
|
+
}
|
3291
|
+
__decorate$f([
|
3292
|
+
globalSlimmerRegistry.MapToComponentField()
|
3293
|
+
], VegaTableExpandRowColSpanController.prototype, "host", void 0);
|
3294
|
+
__decorate$f([
|
3295
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3296
|
+
], VegaTableExpandRowColSpanController.prototype, "colSpan", void 0);
|
3297
|
+
__decorate$f([
|
3298
|
+
globalSlimmerRegistry.MapToComponentField()
|
3299
|
+
], VegaTableExpandRowColSpanController.prototype, "withMultipleSelection", void 0);
|
3300
|
+
__decorate$f([
|
3301
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
3302
|
+
], VegaTableExpandRowColSpanController.prototype, "componentWillLoad", null);
|
3303
|
+
__decorate$f([
|
3304
|
+
globalSlimmerRegistry.MapToComponentMethod('watchCurrentBreakpoint')
|
3305
|
+
], VegaTableExpandRowColSpanController.prototype, "watchCurrentBreakpoint", null);
|
3306
|
+
__decorate$f([
|
3307
|
+
globalSlimmerRegistry.MapToComponentMethod('watchWithMultipleSelection')
|
3308
|
+
], VegaTableExpandRowColSpanController.prototype, "watchWithMultipleSelection", null);
|
3309
|
+
|
3310
|
+
const vegaTableExpandRowCss = ":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))}";
|
3311
|
+
|
3312
|
+
var __decorate$e = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3313
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3314
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
3315
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
3316
|
+
else
|
3317
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
3318
|
+
if (d = decorators[i])
|
3319
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3320
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3321
|
+
};
|
3322
|
+
const VegaTableExpandRow = class {
|
3323
|
+
constructor(hostRef) {
|
3324
|
+
index.registerInstance(this, hostRef);
|
3325
|
+
this.globalSlimmers = {};
|
3326
|
+
this.vegaTableExpandRowRenderer = new VegaTableExpandRowRenderer();
|
3327
|
+
this.vegaTableExpandRowExpandController = new VegaTableExpandRowExpandController();
|
3328
|
+
this.vegaTableExpandRowSelectionController = new VegaTableExpandRowSelectionController();
|
3329
|
+
this.vegaTableExpandRowStateController = new VegaTableExpandRowStateController();
|
3330
|
+
this.vegaTableExpandRowColSpanController = new VegaTableExpandRowColSpanController();
|
3331
|
+
this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer();
|
3332
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
|
3333
|
+
this.currentBreakpoint = breakpoints.getCurrentBreakpoint();
|
3334
|
+
/**
|
3335
|
+
* Indicates whether the row is expanded.
|
3336
|
+
*/
|
3337
|
+
this.expanded = false;
|
3338
|
+
/**
|
3339
|
+
* Indicates whether the row's checkbox is checked.
|
3340
|
+
*/
|
3341
|
+
this.checked = false;
|
3342
|
+
}
|
3343
|
+
/*
|
3344
|
+
* The next line is covered in e2e-test
|
3345
|
+
* @see{should-render-responsive-columns-with-expandable-row-and-current-breakpoint-changed}
|
3346
|
+
*/
|
3347
|
+
/* istanbul ignore next */
|
3348
|
+
watchCurrentBreakpoint() {
|
3349
|
+
}
|
3350
|
+
watchWithMultipleSelection() {
|
3351
|
+
}
|
3352
|
+
render() {
|
3353
|
+
placeholder.slotPlaceholder(index.h("slot", null));
|
3354
|
+
return component.sanitizeVegaComponent(index.h(index.Host, null, this.vegaTableExpandRowRenderer.render()), this.host);
|
3355
|
+
}
|
3356
|
+
get host() { return index.getElement(this); }
|
3357
|
+
static get watchers() { return {
|
3358
|
+
"currentBreakpoint": ["watchCurrentBreakpoint"],
|
3359
|
+
"withMultipleSelection": ["watchWithMultipleSelection"]
|
3360
|
+
}; }
|
3361
|
+
};
|
3362
|
+
__decorate$e([
|
3363
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
3364
|
+
], VegaTableExpandRow.prototype, "globalSlimmers", void 0);
|
3365
|
+
__decorate$e([
|
3366
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3367
|
+
], VegaTableExpandRow.prototype, "vegaTableExpandRowRenderer", void 0);
|
3368
|
+
__decorate$e([
|
3369
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3370
|
+
], VegaTableExpandRow.prototype, "vegaTableExpandRowExpandController", void 0);
|
3371
|
+
__decorate$e([
|
3372
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3373
|
+
], VegaTableExpandRow.prototype, "vegaTableExpandRowSelectionController", void 0);
|
3374
|
+
__decorate$e([
|
3375
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3376
|
+
], VegaTableExpandRow.prototype, "vegaTableExpandRowStateController", void 0);
|
3377
|
+
__decorate$e([
|
3378
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3379
|
+
], VegaTableExpandRow.prototype, "vegaTableExpandRowColSpanController", void 0);
|
3380
|
+
__decorate$e([
|
3381
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3382
|
+
], VegaTableExpandRow.prototype, "pageResizeObserverSlimmer", void 0);
|
3383
|
+
__decorate$e([
|
3384
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3385
|
+
], VegaTableExpandRow.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
3386
|
+
VegaTableExpandRow.style = vegaTableExpandRowCss;
|
3387
|
+
|
3388
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3389
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3390
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3391
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3392
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3393
|
+
};
|
3394
|
+
/**
|
3395
|
+
* Controller for the table head states.
|
3396
|
+
*/
|
3397
|
+
class VegaTableHeadStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
|
3398
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
3399
|
+
constructor() {
|
3400
|
+
super({
|
3401
|
+
parent: 'vega-table',
|
3402
|
+
subStates: [
|
3403
|
+
{
|
3404
|
+
subStateName: 'fixed',
|
3405
|
+
parentStateName: 'scrollConfig',
|
3406
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
3407
|
+
callback: (scrollConfig) => {
|
3408
|
+
this.fixed =
|
3409
|
+
scrollConfig && scrollConfig.maxHeight && scrollConfig.fixedHeader !== false;
|
3410
|
+
},
|
3411
|
+
},
|
3412
|
+
],
|
3413
|
+
});
|
3414
|
+
}
|
3415
|
+
}
|
3416
|
+
__decorate$d([
|
3417
|
+
globalSlimmerRegistry.MapToComponentField()
|
3418
|
+
], VegaTableHeadStateController.prototype, "host", void 0);
|
3419
|
+
__decorate$d([
|
3420
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3421
|
+
], VegaTableHeadStateController.prototype, "fixed", void 0);
|
3422
|
+
|
3423
|
+
const vegaTableHeadCss = ":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}";
|
3424
|
+
|
3425
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3426
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3427
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
3428
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
3429
|
+
else
|
3430
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
3431
|
+
if (d = decorators[i])
|
3432
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3433
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3434
|
+
};
|
3435
|
+
const VegaTableHead = class {
|
3436
|
+
constructor(hostRef) {
|
3437
|
+
index.registerInstance(this, hostRef);
|
3438
|
+
this.globalSlimmers = {};
|
3439
|
+
this.vegaTableHeadStateController = new VegaTableHeadStateController();
|
3440
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
|
3441
|
+
this.headCellEventPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaChange], () => this.host);
|
3442
|
+
/**
|
3443
|
+
* Indicates whether the table header is fixed.
|
3444
|
+
*/
|
3445
|
+
this.fixed = false;
|
3446
|
+
this.handleTableHeadRefChange = (ref) => {
|
3447
|
+
if (this.tableHeadRef) {
|
3448
|
+
internalVegaZIndexManager.InternalVegaZIndexManager.removeZIndex(this.tableHeadRef, 'base');
|
3449
|
+
}
|
3450
|
+
if (this.fixed) {
|
3451
|
+
internalVegaZIndexManager.InternalVegaZIndexManager.setZIndex(ref, 'base');
|
3452
|
+
}
|
3453
|
+
this.tableHeadRef = ref;
|
3454
|
+
};
|
3455
|
+
}
|
3456
|
+
disconnectedCallback() {
|
3457
|
+
internalVegaZIndexManager.InternalVegaZIndexManager.removeZIndex(this.tableHeadRef, 'base');
|
3458
|
+
}
|
3459
|
+
render() {
|
3460
|
+
return component.sanitizeVegaComponent(index.h(index.Host, { class: {
|
3461
|
+
'fixed-header': this.fixed,
|
3462
|
+
}, ref: (ref) => this.handleTableHeadRefChange(ref) }, index.h("thead", null, index.h("slot", null))), this.host);
|
3463
|
+
}
|
3464
|
+
get host() { return index.getElement(this); }
|
3465
|
+
};
|
3466
|
+
__decorate$c([
|
3467
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
3468
|
+
], VegaTableHead.prototype, "globalSlimmers", void 0);
|
3469
|
+
__decorate$c([
|
3470
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3471
|
+
], VegaTableHead.prototype, "vegaTableHeadStateController", void 0);
|
3472
|
+
__decorate$c([
|
3473
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3474
|
+
], VegaTableHead.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
3475
|
+
__decorate$c([
|
3476
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3477
|
+
], VegaTableHead.prototype, "headCellEventPrevent", void 0);
|
3478
|
+
VegaTableHead.style = vegaTableHeadCss;
|
3479
|
+
|
3480
|
+
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3481
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3482
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3483
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3484
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3485
|
+
};
|
3486
|
+
/**
|
3487
|
+
* Controller for the table row states
|
3488
|
+
*/
|
3489
|
+
class VegaTableHeadCellStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
|
3490
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
3491
|
+
constructor() {
|
3492
|
+
super({
|
3493
|
+
parent: 'vega-table',
|
3494
|
+
subStates: [
|
3495
|
+
{
|
3496
|
+
subStateName: 'density',
|
3497
|
+
parentStateName: 'density',
|
3498
|
+
},
|
3499
|
+
],
|
3500
|
+
});
|
3501
|
+
}
|
3502
|
+
}
|
3503
|
+
__decorate$b([
|
3504
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3505
|
+
], VegaTableHeadCellStateController.prototype, "density", void 0);
|
3506
|
+
|
3507
|
+
const vegaTableHeadCellCss = ":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}";
|
3508
|
+
|
3509
|
+
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3510
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3511
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
3512
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
3513
|
+
else
|
3514
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
3515
|
+
if (d = decorators[i])
|
3516
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3517
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3518
|
+
};
|
3519
|
+
const VegaTableHeadCell = class {
|
3520
|
+
constructor(hostRef) {
|
3521
|
+
index.registerInstance(this, hostRef);
|
3522
|
+
this.vegaClick = index.createEvent(this, "vegaClick", 7);
|
3523
|
+
this.click = index.createEvent(this, "click", 7);
|
3524
|
+
this.globalSlimmers = {};
|
3525
|
+
this.clickEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTableHeadCell, vegaEventId.VegaClick);
|
3526
|
+
this.vegaTableHeadCellStateController = new VegaTableHeadCellStateController();
|
3527
|
+
this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer();
|
3528
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
|
3529
|
+
this.currentBreakpoint = breakpoints.getCurrentBreakpoint();
|
3530
|
+
this.handleSort = (e) => {
|
3531
|
+
this.sortOrder = this.getNextSortOrder(this.sortOrder);
|
3532
|
+
this.clickEventEmitter.emit({ sortOrder: this.sortOrder }, e);
|
3533
|
+
};
|
3534
|
+
this.renderSortIconButton = () => {
|
3535
|
+
if (!this.sorter)
|
3536
|
+
return;
|
3537
|
+
return (index.h("div", { class: "vega-table-column-sorter" }, index.h("span", { class: this.isSortActive('asc') ? 'v-text-link' : '' }, index.h("vega-icon", { icon: internalIconManager.VegaInternalIconManager.getIconKey('chevron-up'), size: "size-8" })), index.h("span", { class: this.isSortActive('desc') ? 'v-text-link' : '' }, index.h("vega-icon", { icon: internalIconManager.VegaInternalIconManager.getIconKey('chevron-down'), size: "size-8" }))));
|
3538
|
+
};
|
3539
|
+
this.isSortActive = (order) => {
|
3540
|
+
return this.sortOrder === order;
|
3541
|
+
};
|
3542
|
+
/**
|
3543
|
+
* Get the next sorter order
|
3544
|
+
*
|
3545
|
+
* @param {string} sortOrder - The prop name of which sorter is sorted by
|
3546
|
+
* @returns {Nullable<'desc' | 'asc'>} Return the next sorter order
|
3547
|
+
*/
|
3548
|
+
this.getNextSortOrder = (sortOrder) => {
|
3549
|
+
let nextSortOrder;
|
3550
|
+
switch (sortOrder) {
|
3551
|
+
case 'desc':
|
3552
|
+
nextSortOrder = 'asc';
|
3553
|
+
break;
|
3554
|
+
case 'asc':
|
3555
|
+
nextSortOrder = null;
|
3556
|
+
break;
|
3557
|
+
default:
|
3558
|
+
nextSortOrder = 'desc';
|
3559
|
+
break;
|
3560
|
+
}
|
3561
|
+
return nextSortOrder;
|
3562
|
+
};
|
3563
|
+
}
|
3564
|
+
render() {
|
3565
|
+
const labelAlignClassName = generateTextAlignClass(this.textAlign);
|
3566
|
+
const sortableConfig = this.sorter
|
3567
|
+
? {
|
3568
|
+
role: 'button',
|
3569
|
+
onKeyDown: accessibility.createEnterKeyHandlerToTriggerClick(),
|
3570
|
+
tabIndex: 0,
|
3571
|
+
onClick: (e) => this.handleSort(e),
|
3572
|
+
}
|
3573
|
+
: null;
|
3574
|
+
const cellClassNames = ['vega-table-cell', this.sorter ? 'sortable' : null];
|
3575
|
+
if (!featureFlagController.FeatureFlag.isEnabled('VEGA_TABLE.ENABLE_NEW_CELL_BREAK_WORDS_STYLE')) {
|
3576
|
+
cellClassNames.push('break-word');
|
3577
|
+
}
|
3578
|
+
return component.sanitizeVegaComponent(index.h(index.Host, { class: {
|
3579
|
+
[`density-${responsiveFormatFacade.ResponsiveFormatFacade.formatCustom(this.density)}`]: true,
|
3580
|
+
[generateResponsiveClass(this.breakpoint, 'v-table-cell')]: true,
|
3581
|
+
}, style: { width: this.width } }, index.h("th", Object.assign({ class: ui.arrayToClassString(cellClassNames) }, sortableConfig), index.h("div", { class: "vega-table-column" }, index.h("span", { class: `vega-table-column-label ${labelAlignClassName}` }, index.h("slot", null)), this.renderSortIconButton()))), this.host);
|
3582
|
+
}
|
3583
|
+
get host() { return index.getElement(this); }
|
3584
|
+
};
|
3585
|
+
(() => {
|
3586
|
+
internalIconManager.VegaInternalIconManager.register({
|
3587
|
+
'chevron-up': chevronDown.chevronUp,
|
3588
|
+
'chevron-down': chevronDown.chevronDown,
|
3589
|
+
});
|
3590
|
+
})();
|
3591
|
+
__decorate$a([
|
3592
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
3593
|
+
], VegaTableHeadCell.prototype, "globalSlimmers", void 0);
|
3594
|
+
__decorate$a([
|
3595
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3596
|
+
], VegaTableHeadCell.prototype, "clickEventEmitter", void 0);
|
3597
|
+
__decorate$a([
|
3598
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3599
|
+
], VegaTableHeadCell.prototype, "vegaTableHeadCellStateController", void 0);
|
3600
|
+
__decorate$a([
|
3601
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3602
|
+
], VegaTableHeadCell.prototype, "pageResizeObserverSlimmer", void 0);
|
3603
|
+
__decorate$a([
|
3604
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3605
|
+
], VegaTableHeadCell.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
3606
|
+
VegaTableHeadCell.style = vegaTableHeadCellCss;
|
3607
|
+
|
3608
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3609
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3610
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3611
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3612
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3613
|
+
};
|
3614
|
+
class VegaTableHeadRowRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
3615
|
+
constructor() {
|
3616
|
+
super(...arguments);
|
3617
|
+
this.renderHeaderSelectionCell = () => {
|
3618
|
+
if (this.selectionType !== 'multiple')
|
3619
|
+
return;
|
3620
|
+
return (index.h("th", { class: "vega-table-selection-column" }, !this.hideSelectAll && (index.h("div", { class: "vega-table-checkbox-wrapper" },
|
3621
|
+
index.h("vega-checkbox", { size: "small", disabled: this.isEmptyTable || this.selectAllDisabled, checked: this.checkedAll, onClick: this.handleClick,
|
3622
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
3623
|
+
ref: (ref) => {
|
3624
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaChange, this.handleSelectAll);
|
3625
|
+
} })))));
|
3626
|
+
};
|
3627
|
+
this.handleSelectAll = (input) => {
|
3628
|
+
if (input.eventName === 'vegaChange') {
|
3629
|
+
const checked = input.detail;
|
3630
|
+
if (typeGuard.isNonNullable(checked) && checked !== this.checkedAll) {
|
3631
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, {
|
3632
|
+
host: this.host,
|
3633
|
+
checked: checked,
|
3634
|
+
});
|
3635
|
+
}
|
3636
|
+
}
|
3637
|
+
};
|
3638
|
+
this.renderHeaderExpandableCell = () => {
|
3639
|
+
return this.expandable && index.h("th", { class: "vega-table-expand-action-column" });
|
3640
|
+
};
|
3641
|
+
this.handleClick = (e) => {
|
3642
|
+
e.stopPropagation();
|
3643
|
+
const event = remoteInvocationRegistry.remoteInvocationRegistry.call(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(ui.findParent(this.host, 'vega-table'), vegaInternalEventId.VegaInternalTableRowSelectAll), {
|
3644
|
+
host: this.host,
|
3645
|
+
checked: !this.checkedAll,
|
3646
|
+
});
|
3647
|
+
if (event.defaultPrevented) {
|
3648
|
+
e.preventDefault();
|
3649
|
+
}
|
3650
|
+
};
|
3651
|
+
}
|
3652
|
+
/**
|
3653
|
+
* Used by {@link currentDataObserver}
|
3654
|
+
*/
|
3655
|
+
connectedCallback() {
|
3656
|
+
}
|
3657
|
+
/**
|
3658
|
+
* Used by {@link currentDataObserver}
|
3659
|
+
*/
|
3660
|
+
disconnectedCallback() {
|
3661
|
+
}
|
3662
|
+
/**
|
3663
|
+
* Used by {@link currentDataObserver}
|
3664
|
+
*/
|
3665
|
+
componentDidLoad() {
|
3666
|
+
}
|
3667
|
+
render() {
|
3668
|
+
var _a, _b;
|
3669
|
+
return (index.h("tr", null,
|
3670
|
+
index.h("th", { style: { width: (_a = this.paddingX) === null || _a === void 0 ? void 0 : _a[0] } }),
|
3671
|
+
this.renderHeaderSelectionCell(),
|
3672
|
+
index.h("slot", null),
|
3673
|
+
this.renderHeaderExpandableCell(),
|
3674
|
+
index.h("th", { style: { width: (_b = this.paddingX) === null || _b === void 0 ? void 0 : _b[1] } })));
|
3675
|
+
}
|
3676
|
+
}
|
3677
|
+
__decorate$9([
|
3678
|
+
globalSlimmerRegistry.MapToComponentField()
|
3679
|
+
], VegaTableHeadRowRenderer.prototype, "host", void 0);
|
3680
|
+
__decorate$9([
|
3681
|
+
globalSlimmerRegistry.MapToComponentField()
|
3682
|
+
], VegaTableHeadRowRenderer.prototype, "paddingX", void 0);
|
3683
|
+
__decorate$9([
|
3684
|
+
globalSlimmerRegistry.MapToComponentField()
|
3685
|
+
], VegaTableHeadRowRenderer.prototype, "selectionType", void 0);
|
3686
|
+
__decorate$9([
|
3687
|
+
globalSlimmerRegistry.MapToComponentField()
|
3688
|
+
], VegaTableHeadRowRenderer.prototype, "hideSelectAll", void 0);
|
3689
|
+
__decorate$9([
|
3690
|
+
globalSlimmerRegistry.MapToComponentField()
|
3691
|
+
], VegaTableHeadRowRenderer.prototype, "selectAllDisabled", void 0);
|
3692
|
+
__decorate$9([
|
3693
|
+
globalSlimmerRegistry.MapToComponentField()
|
3694
|
+
], VegaTableHeadRowRenderer.prototype, "checkedAll", void 0);
|
3695
|
+
__decorate$9([
|
3696
|
+
globalSlimmerRegistry.MapToComponentField()
|
3697
|
+
], VegaTableHeadRowRenderer.prototype, "expandable", void 0);
|
3698
|
+
__decorate$9([
|
3699
|
+
globalSlimmerRegistry.MapToComponentField()
|
3700
|
+
], VegaTableHeadRowRenderer.prototype, "isEmptyTable", void 0);
|
3701
|
+
__decorate$9([
|
3702
|
+
globalSlimmerRegistry.MapToComponentField()
|
3703
|
+
], VegaTableHeadRowRenderer.prototype, "isTemplateRenderMode", void 0);
|
3704
|
+
__decorate$9([
|
3705
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
3706
|
+
], VegaTableHeadRowRenderer.prototype, "connectedCallback", null);
|
3707
|
+
__decorate$9([
|
3708
|
+
globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
|
3709
|
+
], VegaTableHeadRowRenderer.prototype, "disconnectedCallback", null);
|
3710
|
+
__decorate$9([
|
3711
|
+
globalSlimmerRegistry.MapToComponentMethod('componentDidLoad')
|
3712
|
+
], VegaTableHeadRowRenderer.prototype, "componentDidLoad", null);
|
3713
|
+
|
3714
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3715
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3716
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3717
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3718
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3719
|
+
};
|
3720
|
+
/**
|
3721
|
+
*
|
3722
|
+
*/
|
3723
|
+
class VegaTableHeadRowController extends globalSlimmerRegistry.VegaSlimmer {
|
3724
|
+
/**
|
3725
|
+
* Component lifecycle - [connectedCallback]{@link VegaTableHeadRow.connectedCallback}
|
3726
|
+
*/
|
3727
|
+
connectedCallback() {
|
3728
|
+
this.initRowSelectionAllObserver();
|
3729
|
+
}
|
3730
|
+
/**
|
3731
|
+
* Component lifecycle - [disconnectedCallback]{@link VegaTableHeadRow.disconnectedCallback}
|
3732
|
+
*/
|
3733
|
+
disconnectedCallback() {
|
3734
|
+
changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, this.rowSelectionAllObserver);
|
3735
|
+
}
|
3736
|
+
/**
|
3737
|
+
* Initialize the row selection all observer.
|
3738
|
+
*/
|
3739
|
+
initRowSelectionAllObserver() {
|
3740
|
+
this.rowSelectionAllObserver = new domNodeSubjectObserverFactory.Observer(isAcceptableTableObserver.bind({ host: this.host }), (payload) => {
|
3741
|
+
if (!payload.noneChecked && payload.checked === false) {
|
3742
|
+
this.checkedAll = null; // indeterminate status
|
3743
|
+
}
|
3744
|
+
else {
|
3745
|
+
this.checkedAll = payload.checked;
|
3746
|
+
}
|
3747
|
+
});
|
3748
|
+
changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, this.rowSelectionAllObserver);
|
3749
|
+
}
|
3750
|
+
}
|
3751
|
+
__decorate$8([
|
3752
|
+
globalSlimmerRegistry.MapToComponentField()
|
3753
|
+
], VegaTableHeadRowController.prototype, "host", void 0);
|
3754
|
+
__decorate$8([
|
3755
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3756
|
+
], VegaTableHeadRowController.prototype, "checkedAll", void 0);
|
3757
|
+
__decorate$8([
|
3758
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
3759
|
+
], VegaTableHeadRowController.prototype, "connectedCallback", null);
|
3760
|
+
__decorate$8([
|
3761
|
+
globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
|
3762
|
+
], VegaTableHeadRowController.prototype, "disconnectedCallback", null);
|
3763
|
+
|
3764
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3765
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3766
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3767
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3768
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3769
|
+
};
|
3770
|
+
/**
|
3771
|
+
* Controller for the table head row
|
3772
|
+
*/
|
3773
|
+
class VegaTableHeadRowStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
|
3774
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
3775
|
+
constructor() {
|
3776
|
+
super({
|
3777
|
+
parent: 'vega-table',
|
3778
|
+
subStates: [
|
3779
|
+
{
|
3780
|
+
subStateName: 'expandable',
|
3781
|
+
parentStateName: 'rowExpandable',
|
3782
|
+
},
|
3783
|
+
{
|
3784
|
+
subStateName: 'paddingX',
|
3785
|
+
parentStateName: 'paddingX',
|
3786
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
3787
|
+
callback: (value) => {
|
3788
|
+
const table = ui.findParent(this.host, 'vega-table');
|
3789
|
+
if (table.dataSource.length === 0 || table.columns.length === 0) {
|
3790
|
+
this.paddingX = value;
|
3791
|
+
}
|
3792
|
+
},
|
3793
|
+
},
|
3794
|
+
{
|
3795
|
+
subStateName: 'selectionType',
|
3796
|
+
parentStateName: 'rowSelection',
|
3797
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
3798
|
+
callback: (rowSelection) => {
|
3799
|
+
this.updateSelectionType(rowSelection);
|
3800
|
+
},
|
3801
|
+
},
|
3802
|
+
{
|
3803
|
+
subStateName: 'columnDivider',
|
3804
|
+
parentStateName: 'columnDivider',
|
3805
|
+
},
|
3806
|
+
{
|
3807
|
+
subStateName: 'density',
|
3808
|
+
parentStateName: 'density',
|
3809
|
+
},
|
3810
|
+
{
|
3811
|
+
subStateName: 'isTemplateRenderMode',
|
3812
|
+
parentStateName: 'isTemplateRenderMode',
|
3813
|
+
},
|
3814
|
+
{
|
3815
|
+
subStateName: 'isEmptyTable',
|
3816
|
+
parentStateName: 'currentData',
|
3817
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
3818
|
+
callback: (currentData) => {
|
3819
|
+
this.isEmptyTable = currentData.length === 0;
|
3820
|
+
},
|
3821
|
+
},
|
3822
|
+
],
|
3823
|
+
});
|
3824
|
+
/**
|
3825
|
+
* Update the selection config with the new config
|
3826
|
+
*
|
3827
|
+
* @param {VegaTableRowSelectionConfig} rowSelection - The updated row selection config.
|
3828
|
+
*/
|
3829
|
+
this.updateSelectionType = (rowSelection) => {
|
3830
|
+
if (rowSelection) {
|
3831
|
+
const { type = 'multiple' } = rowSelection;
|
3832
|
+
this.selectionType = type;
|
3833
|
+
}
|
3834
|
+
else {
|
3835
|
+
this.selectionType = null;
|
3836
|
+
}
|
3837
|
+
};
|
3838
|
+
}
|
3839
|
+
}
|
3840
|
+
__decorate$7([
|
3841
|
+
globalSlimmerRegistry.MapToComponentField()
|
3842
|
+
], VegaTableHeadRowStateController.prototype, "host", void 0);
|
3843
|
+
__decorate$7([
|
3844
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3845
|
+
], VegaTableHeadRowStateController.prototype, "expandable", void 0);
|
3846
|
+
__decorate$7([
|
3847
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3848
|
+
], VegaTableHeadRowStateController.prototype, "selectionType", void 0);
|
3849
|
+
__decorate$7([
|
3850
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3851
|
+
], VegaTableHeadRowStateController.prototype, "paddingX", void 0);
|
3852
|
+
__decorate$7([
|
3853
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3854
|
+
], VegaTableHeadRowStateController.prototype, "columnDivider", void 0);
|
3855
|
+
__decorate$7([
|
3856
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3857
|
+
], VegaTableHeadRowStateController.prototype, "density", void 0);
|
3858
|
+
__decorate$7([
|
3859
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3860
|
+
], VegaTableHeadRowStateController.prototype, "isTemplateRenderMode", void 0);
|
3861
|
+
__decorate$7([
|
3862
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
3863
|
+
], VegaTableHeadRowStateController.prototype, "isEmptyTable", void 0);
|
3864
|
+
|
3865
|
+
const vegaTableHeadRowCss = ":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}";
|
3866
|
+
|
3867
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3868
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3869
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
3870
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
3871
|
+
else
|
3872
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
3873
|
+
if (d = decorators[i])
|
3874
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3875
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3876
|
+
};
|
3877
|
+
const VegaTableHeadRow = class {
|
3878
|
+
constructor(hostRef) {
|
3879
|
+
index.registerInstance(this, hostRef);
|
3880
|
+
this.globalSlimmers = {};
|
3881
|
+
this.vegaTableHeadRowStateController = new VegaTableHeadRowStateController();
|
3882
|
+
this.vegaTableHeadRowRenderer = new VegaTableHeadRowRenderer();
|
3883
|
+
this.vegaTableHeadRowController = new VegaTableHeadRowController();
|
3884
|
+
this.headCellEventPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaClick], () => this.host, undefined, true);
|
3885
|
+
this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer();
|
3886
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
|
3887
|
+
this.currentBreakpoint = breakpoints.getCurrentBreakpoint();
|
3888
|
+
/**
|
3889
|
+
* Indicates whether the row is expandable.
|
3890
|
+
*/
|
3891
|
+
this.expandable = false;
|
3892
|
+
}
|
3893
|
+
render() {
|
3894
|
+
placeholder.slotPlaceholder(index.h("slot", null));
|
3895
|
+
return component.sanitizeVegaComponent(index.h(index.Host, { class: {
|
3896
|
+
'column-divider': this.columnDivider,
|
3897
|
+
[`density-${responsiveFormatFacade.ResponsiveFormatFacade.formatCustom(this.density)}`]: true,
|
3898
|
+
} }, this.vegaTableHeadRowRenderer.render()), this.host);
|
3899
|
+
}
|
3900
|
+
get host() { return index.getElement(this); }
|
3901
|
+
};
|
3902
|
+
__decorate$6([
|
3903
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
3904
|
+
], VegaTableHeadRow.prototype, "globalSlimmers", void 0);
|
3905
|
+
__decorate$6([
|
3906
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3907
|
+
], VegaTableHeadRow.prototype, "vegaTableHeadRowStateController", void 0);
|
3908
|
+
__decorate$6([
|
3909
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3910
|
+
], VegaTableHeadRow.prototype, "vegaTableHeadRowRenderer", void 0);
|
3911
|
+
__decorate$6([
|
3912
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3913
|
+
], VegaTableHeadRow.prototype, "vegaTableHeadRowController", void 0);
|
3914
|
+
__decorate$6([
|
3915
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3916
|
+
], VegaTableHeadRow.prototype, "headCellEventPrevent", void 0);
|
3917
|
+
__decorate$6([
|
3918
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3919
|
+
], VegaTableHeadRow.prototype, "pageResizeObserverSlimmer", void 0);
|
3920
|
+
__decorate$6([
|
3921
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
3922
|
+
], VegaTableHeadRow.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
3923
|
+
VegaTableHeadRow.style = vegaTableHeadRowCss;
|
3924
|
+
|
3925
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
3926
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
3927
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
3928
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
3929
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
3930
|
+
};
|
3931
|
+
class VegaTableRowRenderer extends globalSlimmerRegistry.VegaSlimmer {
|
3932
|
+
constructor() {
|
3933
|
+
super(...arguments);
|
3934
|
+
this.renderRowSelection = () => {
|
3935
|
+
if (this.selectionType !== 'multiple')
|
3936
|
+
return;
|
3937
|
+
return (index.h("td", { class: "vega-table-selection-column" },
|
3938
|
+
index.h("div", { class: "vega-table-checkbox-wrapper" },
|
3939
|
+
index.h("vega-checkbox", { size: "small", checked: this.checked,
|
3940
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
3941
|
+
onClick: this.handleClick,
|
3942
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
3943
|
+
ref: (ref) => {
|
3944
|
+
domNodeSubjectObserverFactory.DomNodeSubjectObserverFactory.addUniqueObserverToNode(ref, vegaEventId.VegaChange, this.onRowSelectionChange);
|
3945
|
+
} }))));
|
3946
|
+
};
|
3947
|
+
this.renderExpandIcon = () => {
|
3948
|
+
return (this.expandable && (index.h("td", { class: "vega-table-expand-action-column" },
|
3949
|
+
index.h("div", { class: "vega-table-expand-icon-wrapper" },
|
3950
|
+
index.h("vega-icon", { icon: internalIconManager.VegaInternalIconManager.getIconKey('chevron-down'), color: "text-link", onClick: this.onExpandIconClick })))));
|
3951
|
+
};
|
3952
|
+
this.onRowClick = () => {
|
3953
|
+
this.vegaTableRowClickController.handleRowClick();
|
3954
|
+
};
|
3955
|
+
this.onRowSelectionChange = (input) => {
|
3956
|
+
if (input.eventName === 'vegaChange') {
|
3957
|
+
this.vegaTableRowSelectionController.handleRowSelect(input.detail);
|
3958
|
+
}
|
3959
|
+
};
|
3960
|
+
this.handleClick = (e) => {
|
3961
|
+
e.stopPropagation();
|
3962
|
+
const rowSelectEvent = remoteInvocationRegistry.remoteInvocationRegistry.call(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.parentTableRef, vegaInternalEventId.VegaInternalTableRowSelect), {
|
3963
|
+
host: this.host,
|
3964
|
+
rowKey: this.rowKey,
|
3965
|
+
checked: !this.checked,
|
3966
|
+
});
|
3967
|
+
if (rowSelectEvent.defaultPrevented) {
|
3968
|
+
e.preventDefault();
|
3969
|
+
}
|
3970
|
+
};
|
3971
|
+
this.onExpandIconClick = async (e) => {
|
3972
|
+
e.stopPropagation();
|
3973
|
+
const expandEvent = this.expandEventEmitter.emit({
|
3974
|
+
expanded: !this.expanded,
|
3975
|
+
rowKey: this.rowKey,
|
3976
|
+
});
|
3977
|
+
if (expandEvent && !expandEvent.defaultPrevented) {
|
3978
|
+
this.vegaTableRowExpandController.handleExpandIconClick();
|
3979
|
+
}
|
3980
|
+
};
|
3981
|
+
}
|
3982
|
+
connectedCallback() {
|
3983
|
+
this.setParentTableRef();
|
3984
|
+
}
|
3985
|
+
getParentTableRef() {
|
3986
|
+
return this.parentTableRef;
|
3987
|
+
}
|
3988
|
+
render() {
|
3989
|
+
var _a, _b;
|
3990
|
+
return (index.h(index.Fragment, null,
|
3991
|
+
this.renderExpandRowSpace(this.rowKey),
|
3992
|
+
index.h("tr", { class: {
|
3993
|
+
'vega-table-row': true,
|
3994
|
+
'checked': this.checked,
|
3995
|
+
'clickable': this.clickable,
|
3996
|
+
'current-clicked-row': this.clicked,
|
3997
|
+
'expand-row': this.expanded,
|
3998
|
+
},
|
3999
|
+
/* eslint-disable-next-line react/jsx-no-bind */
|
4000
|
+
onClick: this.clickable ? this.onRowClick : null },
|
4001
|
+
index.h("td", { style: { width: (_a = this.paddingX) === null || _a === void 0 ? void 0 : _a[0] } }),
|
4002
|
+
this.renderRowSelection(),
|
4003
|
+
index.h("slot", null),
|
4004
|
+
this.renderExpandIcon(),
|
4005
|
+
index.h("td", { style: { width: (_b = this.paddingX) === null || _b === void 0 ? void 0 : _b[1] } }))));
|
4006
|
+
}
|
4007
|
+
renderExpandRowSpace(rowKey) {
|
4008
|
+
return (this.expandable && (index.h("tr", { key: `vega-table-expand-row-space-${rowKey}`, class: "expand-row-space" })));
|
4009
|
+
}
|
4010
|
+
setParentTableRef() {
|
4011
|
+
this.parentTableRef = ui.findParent(this.host, 'vega-table');
|
4012
|
+
}
|
4013
|
+
}
|
4014
|
+
(() => {
|
4015
|
+
internalIconManager.VegaInternalIconManager.register({ 'chevron-down': chevronDown.chevronDown });
|
4016
|
+
})();
|
4017
|
+
__decorate$5([
|
4018
|
+
globalSlimmerRegistry.MapToComponentField()
|
4019
|
+
], VegaTableRowRenderer.prototype, "host", void 0);
|
4020
|
+
__decorate$5([
|
4021
|
+
globalSlimmerRegistry.MapToComponentField()
|
4022
|
+
], VegaTableRowRenderer.prototype, "rowKey", void 0);
|
4023
|
+
__decorate$5([
|
4024
|
+
globalSlimmerRegistry.MapToComponentField()
|
4025
|
+
], VegaTableRowRenderer.prototype, "checked", void 0);
|
4026
|
+
__decorate$5([
|
4027
|
+
globalSlimmerRegistry.MapToComponentField()
|
4028
|
+
], VegaTableRowRenderer.prototype, "clickable", void 0);
|
4029
|
+
__decorate$5([
|
4030
|
+
globalSlimmerRegistry.MapToComponentField()
|
4031
|
+
], VegaTableRowRenderer.prototype, "clicked", void 0);
|
4032
|
+
__decorate$5([
|
4033
|
+
globalSlimmerRegistry.MapToComponentField()
|
4034
|
+
], VegaTableRowRenderer.prototype, "expanded", void 0);
|
4035
|
+
__decorate$5([
|
4036
|
+
globalSlimmerRegistry.MapToComponentField()
|
4037
|
+
], VegaTableRowRenderer.prototype, "paddingX", void 0);
|
4038
|
+
__decorate$5([
|
4039
|
+
globalSlimmerRegistry.MapToComponentField()
|
4040
|
+
], VegaTableRowRenderer.prototype, "expandable", void 0);
|
4041
|
+
__decorate$5([
|
4042
|
+
globalSlimmerRegistry.MapToComponentField()
|
4043
|
+
], VegaTableRowRenderer.prototype, "vegaClick", void 0);
|
4044
|
+
__decorate$5([
|
4045
|
+
globalSlimmerRegistry.MapToComponentField()
|
4046
|
+
], VegaTableRowRenderer.prototype, "selectionType", void 0);
|
4047
|
+
__decorate$5([
|
4048
|
+
globalSlimmerRegistry.MapToComponentField()
|
4049
|
+
], VegaTableRowRenderer.prototype, "vegaTableRowSelectionController", void 0);
|
4050
|
+
__decorate$5([
|
4051
|
+
globalSlimmerRegistry.MapToComponentField()
|
4052
|
+
], VegaTableRowRenderer.prototype, "vegaTableRowExpandController", void 0);
|
4053
|
+
__decorate$5([
|
4054
|
+
globalSlimmerRegistry.MapToComponentField()
|
4055
|
+
], VegaTableRowRenderer.prototype, "vegaTableRowClickController", void 0);
|
4056
|
+
__decorate$5([
|
4057
|
+
globalSlimmerRegistry.MapToComponentField()
|
4058
|
+
], VegaTableRowRenderer.prototype, "expandEventEmitter", void 0);
|
4059
|
+
__decorate$5([
|
4060
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
4061
|
+
], VegaTableRowRenderer.prototype, "connectedCallback", null);
|
4062
|
+
|
4063
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
4064
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4065
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
4066
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
4067
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
4068
|
+
};
|
4069
|
+
/**
|
4070
|
+
* The row selection controller for the table row
|
4071
|
+
*/
|
4072
|
+
class VegaTableRowSelectionController extends globalSlimmerRegistry.VegaSlimmer {
|
4073
|
+
constructor() {
|
4074
|
+
super(...arguments);
|
4075
|
+
/**
|
4076
|
+
* Handles the row selection event.
|
4077
|
+
*
|
4078
|
+
* @param {boolean} checked - The "checked" parameter is a boolean value that indicates whether an item is checked or not.
|
4079
|
+
*/
|
4080
|
+
this.handleRowSelect = (checked) => {
|
4081
|
+
this.checked = checked;
|
4082
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_SELECTION, {
|
4083
|
+
host: this.host,
|
4084
|
+
checked: checked,
|
4085
|
+
rowKey: this.rowKey,
|
4086
|
+
});
|
4087
|
+
};
|
4088
|
+
}
|
4089
|
+
/**
|
4090
|
+
* Component lifecycle - [connectedCallback]{@link VegaTableRow.connectedCallback}
|
4091
|
+
*/
|
4092
|
+
connectedCallback() {
|
4093
|
+
this.initRowSelectionObserver();
|
4094
|
+
}
|
4095
|
+
/**
|
4096
|
+
* Component lifecycle - [disconnectedCallback]{@link VegaTableRow.disconnectedCallback}
|
4097
|
+
*/
|
4098
|
+
disconnectedCallback() {
|
4099
|
+
changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, this.rowSelectionAllObserver);
|
4100
|
+
changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_SELECTION, this.rowSelectionObserver);
|
4101
|
+
}
|
4102
|
+
/**
|
4103
|
+
* The function sets the value of the "checked" property to the provided boolean value.
|
4104
|
+
*
|
4105
|
+
* @param {boolean} checked - The "checked" parameter is a boolean value that indicates whether an item is checked or not.
|
4106
|
+
*/
|
4107
|
+
setChecked(checked) {
|
4108
|
+
this.checked = checked;
|
4109
|
+
}
|
4110
|
+
/**
|
4111
|
+
* Initialize the row selection observer.
|
4112
|
+
*/
|
4113
|
+
initRowSelectionObserver() {
|
4114
|
+
this.rowSelectionAllObserver = new domNodeSubjectObserverFactory.Observer(isAcceptableTableObserver.bind(this), (payload) => {
|
4115
|
+
if (payload.checked || (payload.checked === false && payload.noneChecked)) {
|
4116
|
+
this.checked = payload.checked;
|
4117
|
+
}
|
4118
|
+
});
|
4119
|
+
changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_SELECTION_ALL, this.rowSelectionAllObserver);
|
4120
|
+
this.rowSelectionObserver = new domNodeSubjectObserverFactory.Observer(isAcceptableTableObserver.bind(this), (payload) => {
|
4121
|
+
if (payload.rowKey === this.rowKey) {
|
4122
|
+
this.checked = payload.checked;
|
4123
|
+
}
|
4124
|
+
});
|
4125
|
+
changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_SELECTION, this.rowSelectionObserver);
|
4126
|
+
}
|
4127
|
+
}
|
4128
|
+
__decorate$4([
|
4129
|
+
globalSlimmerRegistry.MapToComponentField()
|
4130
|
+
], VegaTableRowSelectionController.prototype, "host", void 0);
|
4131
|
+
__decorate$4([
|
4132
|
+
globalSlimmerRegistry.MapToComponentField()
|
4133
|
+
], VegaTableRowSelectionController.prototype, "selectionType", void 0);
|
4134
|
+
__decorate$4([
|
4135
|
+
globalSlimmerRegistry.MapToComponentField()
|
4136
|
+
], VegaTableRowSelectionController.prototype, "rowKey", void 0);
|
4137
|
+
__decorate$4([
|
4138
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
4139
|
+
], VegaTableRowSelectionController.prototype, "checked", void 0);
|
4140
|
+
__decorate$4([
|
4141
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
4142
|
+
], VegaTableRowSelectionController.prototype, "connectedCallback", null);
|
4143
|
+
__decorate$4([
|
4144
|
+
globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
|
4145
|
+
], VegaTableRowSelectionController.prototype, "disconnectedCallback", null);
|
4146
|
+
|
4147
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
4148
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4149
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
4150
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
4151
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
4152
|
+
};
|
4153
|
+
/**
|
4154
|
+
* The row expand controller for expandable table row.
|
4155
|
+
*/
|
4156
|
+
class VegaTableRowExpandController extends globalSlimmerRegistry.VegaSlimmer {
|
4157
|
+
/**
|
4158
|
+
* Component lifecycle - [connectedCallback]{@link VegaTableRow.connectedCallback}
|
4159
|
+
*/
|
4160
|
+
connectedCallback() {
|
4161
|
+
this.initRowExpandObserver();
|
4162
|
+
}
|
4163
|
+
/**
|
4164
|
+
* Component lifecycle - [disconnectedCallback]{@link VegaTableRow.disconnectedCallback}
|
4165
|
+
*/
|
4166
|
+
disconnectedCallback() {
|
4167
|
+
changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_EXPAND_ROW, this.rowExpandObserver);
|
4168
|
+
}
|
4169
|
+
/**
|
4170
|
+
* The handler for expand icon click event.
|
4171
|
+
*/
|
4172
|
+
handleExpandIconClick() {
|
4173
|
+
const rowExpandEvent = remoteInvocationRegistry.remoteInvocationRegistry.call(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.vegaTableRowRenderer.getParentTableRef(), vegaInternalEventId.VegaInternalTableRowExpand), {
|
4174
|
+
host: this.host,
|
4175
|
+
rowKey: this.rowKey,
|
4176
|
+
expanded: !this.expanded,
|
4177
|
+
});
|
4178
|
+
if (!rowExpandEvent.defaultPrevented) {
|
4179
|
+
this.expanded = !this.expanded;
|
4180
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_EXPAND_ROW, {
|
4181
|
+
host: this.host,
|
4182
|
+
rowKey: this.rowKey,
|
4183
|
+
expanded: this.expanded,
|
4184
|
+
});
|
4185
|
+
}
|
4186
|
+
}
|
4187
|
+
/**
|
4188
|
+
* Initialize the row expand observer.
|
4189
|
+
*/
|
4190
|
+
initRowExpandObserver() {
|
4191
|
+
this.rowExpandObserver = new domNodeSubjectObserverFactory.Observer(isAcceptableTableObserver.bind({ host: this.host }), (payload) => {
|
4192
|
+
if (payload.rowKey === this.rowKey) {
|
4193
|
+
this.expanded = payload.expanded;
|
4194
|
+
}
|
4195
|
+
});
|
4196
|
+
changeManager.ChangeManager.register(staticSubjectTitle.TABLE_EXPAND_ROW, this.rowExpandObserver);
|
4197
|
+
}
|
4198
|
+
}
|
4199
|
+
__decorate$3([
|
4200
|
+
globalSlimmerRegistry.MapToComponentField()
|
4201
|
+
], VegaTableRowExpandController.prototype, "host", void 0);
|
4202
|
+
__decorate$3([
|
4203
|
+
globalSlimmerRegistry.MapToComponentField()
|
4204
|
+
], VegaTableRowExpandController.prototype, "rowKey", void 0);
|
4205
|
+
__decorate$3([
|
4206
|
+
globalSlimmerRegistry.MapToComponentField()
|
4207
|
+
], VegaTableRowExpandController.prototype, "expandable", void 0);
|
4208
|
+
__decorate$3([
|
4209
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
4210
|
+
], VegaTableRowExpandController.prototype, "expanded", void 0);
|
4211
|
+
__decorate$3([
|
4212
|
+
globalSlimmerRegistry.MapToComponentField()
|
4213
|
+
], VegaTableRowExpandController.prototype, "vegaTableRowRenderer", void 0);
|
4214
|
+
__decorate$3([
|
4215
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
4216
|
+
], VegaTableRowExpandController.prototype, "connectedCallback", null);
|
4217
|
+
__decorate$3([
|
4218
|
+
globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
|
4219
|
+
], VegaTableRowExpandController.prototype, "disconnectedCallback", null);
|
4220
|
+
|
4221
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
4222
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4223
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
4224
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
4225
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
4226
|
+
};
|
4227
|
+
/**
|
4228
|
+
* The row click controller for table row
|
4229
|
+
*/
|
4230
|
+
class VegaTableRowClickController extends globalSlimmerRegistry.VegaSlimmer {
|
4231
|
+
/**
|
4232
|
+
* Component lifecycle - [connectedCallback]{@link VegaTableRow.connectedCallback}
|
4233
|
+
*/
|
4234
|
+
connectedCallback() {
|
4235
|
+
this.initRowClickObserver();
|
4236
|
+
}
|
4237
|
+
/**
|
4238
|
+
* Component lifecycle - [disconnectedCallback]{@link VegaTableRow.disconnectedCallback}
|
4239
|
+
*/
|
4240
|
+
disconnectedCallback() {
|
4241
|
+
changeManager.ChangeManager.unregister(staticSubjectTitle.TABLE_ROW_CLICK, this.rowClickObserver);
|
4242
|
+
}
|
4243
|
+
/**
|
4244
|
+
* Row click handler
|
4245
|
+
*/
|
4246
|
+
handleRowClick() {
|
4247
|
+
const rowSelectEvent = remoteInvocationRegistry.remoteInvocationRegistry.call(domNodeSubjectObserverFactory.domNodeSubjectFactory.getSubject(this.vegaTableRowRenderer.getParentTableRef(), vegaInternalEventId.VegaInternalTableRowSelect), {
|
4248
|
+
host: this.host,
|
4249
|
+
rowKey: this.rowKey,
|
4250
|
+
checked: !this.checked,
|
4251
|
+
});
|
4252
|
+
if (!rowSelectEvent.defaultPrevented) {
|
4253
|
+
changeManager.ChangeManager.notify(staticSubjectTitle.TABLE_ROW_CLICK, { host: this.host, rowKey: this.rowKey });
|
4254
|
+
this.clickEventEmitter.emit({ rowKey: this.rowKey });
|
4255
|
+
}
|
4256
|
+
}
|
4257
|
+
/**
|
4258
|
+
* Initialize row click observer
|
4259
|
+
*/
|
4260
|
+
initRowClickObserver() {
|
4261
|
+
this.rowClickObserver = new domNodeSubjectObserverFactory.Observer(isAcceptableTableRowObserver.bind(this), (payload) => {
|
4262
|
+
this.clicked = payload.host === this.host;
|
4263
|
+
if (this.selectionType === 'single') {
|
4264
|
+
if (payload.host === this.host) {
|
4265
|
+
this.vegaTableRowSelectionController.setChecked(!this.checked);
|
4266
|
+
}
|
4267
|
+
else {
|
4268
|
+
this.vegaTableRowSelectionController.setChecked(false);
|
4269
|
+
}
|
4270
|
+
}
|
4271
|
+
});
|
4272
|
+
changeManager.ChangeManager.register(staticSubjectTitle.TABLE_ROW_CLICK, this.rowClickObserver);
|
4273
|
+
}
|
4274
|
+
}
|
4275
|
+
__decorate$2([
|
4276
|
+
globalSlimmerRegistry.MapToComponentField()
|
4277
|
+
], VegaTableRowClickController.prototype, "host", void 0);
|
4278
|
+
__decorate$2([
|
4279
|
+
globalSlimmerRegistry.MapToComponentField()
|
4280
|
+
], VegaTableRowClickController.prototype, "rowKey", void 0);
|
4281
|
+
__decorate$2([
|
4282
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
4283
|
+
], VegaTableRowClickController.prototype, "clicked", void 0);
|
4284
|
+
__decorate$2([
|
4285
|
+
globalSlimmerRegistry.MapToComponentField()
|
4286
|
+
], VegaTableRowClickController.prototype, "checked", void 0);
|
4287
|
+
__decorate$2([
|
4288
|
+
globalSlimmerRegistry.MapToComponentField()
|
4289
|
+
], VegaTableRowClickController.prototype, "selectionType", void 0);
|
4290
|
+
__decorate$2([
|
4291
|
+
globalSlimmerRegistry.MapToComponentField()
|
4292
|
+
], VegaTableRowClickController.prototype, "vegaClick", void 0);
|
4293
|
+
__decorate$2([
|
4294
|
+
globalSlimmerRegistry.MapToComponentField()
|
4295
|
+
], VegaTableRowClickController.prototype, "vegaTableRowSelectionController", void 0);
|
4296
|
+
__decorate$2([
|
4297
|
+
globalSlimmerRegistry.MapToComponentField()
|
4298
|
+
], VegaTableRowClickController.prototype, "clickEventEmitter", void 0);
|
4299
|
+
__decorate$2([
|
4300
|
+
globalSlimmerRegistry.MapToComponentField()
|
4301
|
+
], VegaTableRowClickController.prototype, "vegaTableRowRenderer", void 0);
|
4302
|
+
__decorate$2([
|
4303
|
+
globalSlimmerRegistry.MapToComponentMethod('connectedCallback')
|
4304
|
+
], VegaTableRowClickController.prototype, "connectedCallback", null);
|
4305
|
+
__decorate$2([
|
4306
|
+
globalSlimmerRegistry.MapToComponentMethod('disconnectedCallback')
|
4307
|
+
], VegaTableRowClickController.prototype, "disconnectedCallback", null);
|
4308
|
+
|
4309
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
4310
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4311
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
4312
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
4313
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
4314
|
+
};
|
4315
|
+
/**
|
4316
|
+
* Controller for the table row states
|
4317
|
+
*/
|
4318
|
+
class VegaTableRowStateController extends subStateObserverSlimmer.SubStateObserverSlimmer {
|
4319
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
4320
|
+
constructor() {
|
4321
|
+
super({
|
4322
|
+
parent: 'vega-table',
|
4323
|
+
subStates: [
|
4324
|
+
{
|
4325
|
+
subStateName: 'expandable',
|
4326
|
+
parentStateName: 'rowExpandable',
|
4327
|
+
},
|
4328
|
+
{
|
4329
|
+
subStateName: 'clickable',
|
4330
|
+
parentStateName: 'rowClickable',
|
4331
|
+
},
|
4332
|
+
{
|
4333
|
+
subStateName: 'paddingX',
|
4334
|
+
parentStateName: 'paddingX',
|
4335
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
4336
|
+
callback: (value) => {
|
4337
|
+
const table = ui.findParent(this.host, 'vega-table');
|
4338
|
+
if (table.dataSource.length === 0 || table.columns.length === 0) {
|
4339
|
+
this.paddingX = value;
|
4340
|
+
}
|
4341
|
+
},
|
4342
|
+
},
|
4343
|
+
{
|
4344
|
+
subStateName: 'selectionType',
|
4345
|
+
parentStateName: 'rowSelection',
|
4346
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
4347
|
+
callback: (value) => {
|
4348
|
+
if (value) {
|
4349
|
+
const { type = 'multiple' } = value;
|
4350
|
+
this.selectionType = type;
|
4351
|
+
}
|
4352
|
+
else {
|
4353
|
+
this.selectionType = null;
|
4354
|
+
}
|
4355
|
+
},
|
4356
|
+
},
|
4357
|
+
{
|
4358
|
+
subStateName: 'rowDivider',
|
4359
|
+
parentStateName: 'rowDivider',
|
4360
|
+
},
|
4361
|
+
{
|
4362
|
+
subStateName: 'columnDivider',
|
4363
|
+
parentStateName: 'columnDivider',
|
4364
|
+
},
|
4365
|
+
{
|
4366
|
+
subStateName: 'density',
|
4367
|
+
parentStateName: 'density',
|
4368
|
+
},
|
4369
|
+
],
|
4370
|
+
});
|
4371
|
+
}
|
4372
|
+
/**
|
4373
|
+
* Component watch method - [watchRowSelection]{@link VegaTableRow.watchSelectionType}
|
4374
|
+
*/
|
4375
|
+
watchSelectionType() {
|
4376
|
+
this.updateClickable();
|
4377
|
+
}
|
4378
|
+
/**
|
4379
|
+
* The `@MapToComponentMethod('componentWillLoad')` decorator is used to map the `handleComponentWillLoad` method
|
4380
|
+
* to the `componentWillLoad` lifecycle hook of the component.
|
4381
|
+
*/
|
4382
|
+
handleComponentWillLoad() {
|
4383
|
+
this.updateClickable();
|
4384
|
+
}
|
4385
|
+
/**
|
4386
|
+
* The function updates the value of the "clickable" property based on the value of the
|
4387
|
+
* "selectionType" property.
|
4388
|
+
*/
|
4389
|
+
updateClickable() {
|
4390
|
+
if (this.selectionType) {
|
4391
|
+
this.clickable = this.selectionType === 'single' || this.clickable;
|
4392
|
+
}
|
4393
|
+
}
|
4394
|
+
}
|
4395
|
+
__decorate$1([
|
4396
|
+
globalSlimmerRegistry.MapToComponentField()
|
4397
|
+
], VegaTableRowStateController.prototype, "host", void 0);
|
4398
|
+
__decorate$1([
|
4399
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
4400
|
+
], VegaTableRowStateController.prototype, "expandable", void 0);
|
4401
|
+
__decorate$1([
|
4402
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
4403
|
+
], VegaTableRowStateController.prototype, "clickable", void 0);
|
4404
|
+
__decorate$1([
|
4405
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
4406
|
+
], VegaTableRowStateController.prototype, "paddingX", void 0);
|
4407
|
+
__decorate$1([
|
4408
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
4409
|
+
], VegaTableRowStateController.prototype, "selectionType", void 0);
|
4410
|
+
__decorate$1([
|
4411
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
4412
|
+
], VegaTableRowStateController.prototype, "rowDivider", void 0);
|
4413
|
+
__decorate$1([
|
4414
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
4415
|
+
], VegaTableRowStateController.prototype, "columnDivider", void 0);
|
4416
|
+
__decorate$1([
|
4417
|
+
globalSlimmerRegistry.MapToComponentField({ writable: true })
|
4418
|
+
], VegaTableRowStateController.prototype, "density", void 0);
|
4419
|
+
__decorate$1([
|
4420
|
+
globalSlimmerRegistry.MapToComponentMethod('watchSelectionType')
|
4421
|
+
], VegaTableRowStateController.prototype, "watchSelectionType", null);
|
4422
|
+
__decorate$1([
|
4423
|
+
globalSlimmerRegistry.MapToComponentMethod('componentWillLoad')
|
4424
|
+
], VegaTableRowStateController.prototype, "handleComponentWillLoad", null);
|
4425
|
+
|
4426
|
+
const vegaTableRowCss = ":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}";
|
4427
|
+
|
4428
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
4429
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4430
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
4431
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
4432
|
+
else
|
4433
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
4434
|
+
if (d = decorators[i])
|
4435
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
4436
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
4437
|
+
};
|
4438
|
+
const VegaTableRow = class {
|
4439
|
+
constructor(hostRef) {
|
4440
|
+
index.registerInstance(this, hostRef);
|
4441
|
+
this.vegaClick = index.createEvent(this, "vegaClick", 7);
|
4442
|
+
this.click = index.createEvent(this, "click", 7);
|
4443
|
+
this.vegaExpand = index.createEvent(this, "vegaExpand", 7);
|
4444
|
+
this.expand = index.createEvent(this, "expand", 7);
|
4445
|
+
this.globalSlimmers = {};
|
4446
|
+
this.vegaTableRowRenderer = new VegaTableRowRenderer();
|
4447
|
+
this.vegaTableRowSelectionController = new VegaTableRowSelectionController();
|
4448
|
+
this.vegaTableRowExpandController = new VegaTableRowExpandController();
|
4449
|
+
this.vegaTableRowClickController = new VegaTableRowClickController();
|
4450
|
+
this.vegaTableRowStateController = new VegaTableRowStateController();
|
4451
|
+
this.clickEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTableRow, vegaEventId.VegaClick);
|
4452
|
+
this.expandEventEmitter = eventEmitSlimmer.createEventEmitSlimmer(VegaTableRow, vegaEventId.VegaExpand);
|
4453
|
+
this.checkboxValueChangeEventPrevent = new childNodesEventPreventSlimmer.ChildNodesEventPreventSlimmer([vegaEventId.VegaClick], () => this.host, undefined, true);
|
4454
|
+
this.pageResizeObserverSlimmer = new pageResizeObserverSlimmer.PageResizeObserverSlimmer();
|
4455
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new componentUsageRuntimeMetrics.VegaComponentUsageRuntimeMetricsSlimmer();
|
4456
|
+
this.currentBreakpoint = breakpoints.getCurrentBreakpoint();
|
4457
|
+
}
|
4458
|
+
watchSelectionType() {
|
4459
|
+
}
|
4460
|
+
render() {
|
4461
|
+
placeholder.slotPlaceholder(index.h("slot", null));
|
4462
|
+
return component.sanitizeVegaComponent(index.h(index.Host, { class: {
|
4463
|
+
'row-divider': this.rowDivider,
|
4464
|
+
'column-divider': this.columnDivider,
|
4465
|
+
[`density-${responsiveFormatFacade.ResponsiveFormatFacade.formatCustom(this.density)}`]: true,
|
4466
|
+
} }, this.vegaTableRowRenderer.render()), this.host);
|
4467
|
+
}
|
4468
|
+
get host() { return index.getElement(this); }
|
4469
|
+
static get watchers() { return {
|
4470
|
+
"selectionType": ["watchSelectionType"]
|
4471
|
+
}; }
|
4472
|
+
};
|
4473
|
+
__decorate([
|
4474
|
+
componentUsageRuntimeMetrics.InjectVegaGlobalSlimmer()
|
4475
|
+
], VegaTableRow.prototype, "globalSlimmers", void 0);
|
4476
|
+
__decorate([
|
4477
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
4478
|
+
], VegaTableRow.prototype, "vegaTableRowRenderer", void 0);
|
4479
|
+
__decorate([
|
4480
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
4481
|
+
], VegaTableRow.prototype, "vegaTableRowSelectionController", void 0);
|
4482
|
+
__decorate([
|
4483
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
4484
|
+
], VegaTableRow.prototype, "vegaTableRowExpandController", void 0);
|
4485
|
+
__decorate([
|
4486
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
4487
|
+
], VegaTableRow.prototype, "vegaTableRowClickController", void 0);
|
4488
|
+
__decorate([
|
4489
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
4490
|
+
], VegaTableRow.prototype, "vegaTableRowStateController", void 0);
|
4491
|
+
__decorate([
|
4492
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
4493
|
+
], VegaTableRow.prototype, "clickEventEmitter", void 0);
|
4494
|
+
__decorate([
|
4495
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
4496
|
+
], VegaTableRow.prototype, "expandEventEmitter", void 0);
|
4497
|
+
__decorate([
|
4498
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
4499
|
+
], VegaTableRow.prototype, "checkboxValueChangeEventPrevent", void 0);
|
4500
|
+
__decorate([
|
4501
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
4502
|
+
], VegaTableRow.prototype, "pageResizeObserverSlimmer", void 0);
|
4503
|
+
__decorate([
|
4504
|
+
globalSlimmerRegistry.InjectVegaSlimmer()
|
4505
|
+
], VegaTableRow.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
4506
|
+
VegaTableRow.style = vegaTableRowCss;
|
4507
|
+
|
4508
|
+
exports.vega_table = VegaTable;
|
4509
|
+
exports.vega_table_body = VegaTableBody;
|
4510
|
+
exports.vega_table_cell = VegaTableCell;
|
4511
|
+
exports.vega_table_expand_row = VegaTableExpandRow;
|
4512
|
+
exports.vega_table_head = VegaTableHead;
|
4513
|
+
exports.vega_table_head_cell = VegaTableHeadCell;
|
4514
|
+
exports.vega_table_head_row = VegaTableHeadRow;
|
4515
|
+
exports.vega_table_row = VegaTableRow;
|