@globalpayments/vega 2.20.0 → 2.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-c199ea5e.js → app-globals-f7f3c776.js} +2 -2
- package/dist/cjs/{child-nodes-event-prevent-slimmer-1a9ac556.js → child-nodes-event-prevent-slimmer-18814356.js} +1 -1
- package/dist/cjs/{event-emit-slimmer-69a0ae5b.js → event-emit-slimmer-95dfc7c2.js} +1 -1
- package/dist/cjs/{form-field-controller-slimmer-8e71addd.js → form-field-controller-slimmer-db68a8da.js} +10 -4
- package/dist/cjs/index-1299d729.js +4 -0
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{internal-vega-event-manager-908ef630.js → internal-vega-event-manager-6ba0e3ab.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/static-remote-invocation-call-registry-d231186a.js +64 -0
- package/dist/cjs/{static-subject-title-35e2a92c.js → static-subject-title-41c88385.js} +4 -0
- package/dist/cjs/vega-accordion.cjs.entry.js +5 -5
- package/dist/cjs/vega-app-header-button.cjs.entry.js +4 -4
- package/dist/cjs/vega-banner.cjs.entry.js +3 -3
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +6 -8
- package/dist/cjs/vega-button-circle.cjs.entry.js +5 -5
- package/dist/cjs/vega-button-group_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-button-link.cjs.entry.js +4 -4
- package/dist/cjs/vega-button.cjs.entry.js +5 -5
- package/dist/cjs/vega-calendar_3.cjs.entry.js +52 -16
- package/dist/cjs/vega-carousel.cjs.entry.js +3 -3
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-chip.cjs.entry.js +4 -4
- package/dist/cjs/vega-color-picker.cjs.entry.js +5 -5
- package/dist/cjs/vega-combo-box.cjs.entry.js +6 -6
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-dialog_2.cjs.entry.js +4 -4
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +23 -5
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/{vega-event-id-a05199e1.js → vega-event-id-99d9343f.js} +1 -1
- package/dist/cjs/vega-field-error.cjs.entry.js +1 -1
- package/dist/cjs/vega-field-label.cjs.entry.js +4 -4
- package/dist/cjs/vega-form.cjs.entry.js +6 -6
- package/dist/cjs/vega-hint.cjs.entry.js +38 -0
- package/dist/cjs/vega-image-uploader.cjs.entry.js +6 -6
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +6 -6
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +46 -50
- package/dist/cjs/vega-input-range.cjs.entry.js +6 -6
- package/dist/cjs/vega-input-select.cjs.entry.js +6 -6
- package/dist/cjs/vega-input.cjs.entry.js +22 -11
- package/dist/cjs/vega-item-toggle.cjs.entry.js +3 -3
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +4 -4
- package/dist/cjs/vega-page-notification_2.cjs.entry.js +1 -1
- package/dist/cjs/vega-pagination.cjs.entry.js +10 -6
- package/dist/cjs/vega-popover_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-progress-tracker.cjs.entry.js +3 -3
- package/dist/cjs/vega-radio_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-signature-capture.cjs.entry.js +5 -5
- package/dist/cjs/{vega-skeleton-loader-controller-38ab6039.js → vega-skeleton-loader-controller-aa3e09d6.js} +1 -1
- package/dist/cjs/vega-stepper.cjs.entry.js +6 -6
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-table_8.cjs.entry.js +69 -37
- package/dist/cjs/vega-textarea.cjs.entry.js +6 -6
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +6 -6
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/vega.cjs.js +5 -5
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/vega-accordion/vega-accordion.js +1 -1
- package/dist/collection/components/vega-breadcrumb/slimmers/controllers/vega-breadcrumb-click-controller.js +2 -4
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.js +15 -1
- package/dist/collection/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.js +15 -10
- package/dist/collection/components/vega-calendar/vega-calendar-event/vega-calendar-event.js +3 -1
- package/dist/collection/components/vega-calendar/vega-calendar.js +37 -0
- package/dist/collection/components/vega-dropdown/slimmers/controllers/vega-dropdown-search-controller.js +6 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.js +15 -0
- package/dist/collection/components/vega-hint/vega-hint.js +38 -0
- package/dist/collection/components/vega-input/slimmers/controllers/vega-input-mask-config-controller.js +1 -1
- package/dist/collection/components/vega-input/vega-input.js +1 -1
- package/dist/collection/components/vega-input-phone-number/slimmers/controllers/country-select-controller.js +18 -8
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.js +26 -36
- package/dist/collection/components/vega-input-phone-number/slimmers/renderers/phone-number-input-renderer.js +1 -0
- package/dist/collection/components/vega-input-phone-number/vega-input-phone-number.js +0 -2
- package/dist/collection/components/vega-input-select/vega-input-select.js +1 -1
- package/dist/collection/components/vega-pagination/vega-pagination.js +6 -2
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-data-source-controller.js +1 -3
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sort-controller.js +30 -29
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-sorter.js +33 -0
- package/dist/collection/components/vega-table/test/vega-table-sorter.test.js +508 -0
- package/dist/collection/constants/ui.js +1 -0
- package/dist/collection/helpers/change-manager/subject/static-remote-invocation-subject/static-remote-invocation-call-registry.js +3 -3
- package/dist/collection/helpers/change-manager/subject/static-subject/static-subject-title.js +1 -0
- package/dist/collection/helpers/change-manager/test/static-remote-invocation-subject.test.js +3 -3
- package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +1 -1
- package/dist/collection/helpers/formatter/string-formatter/custom-formatter-strategy.js +16 -4
- package/dist/collection/helpers/formatter/test/string-formatter/custom-formatter-strategy.test.js +7 -2
- package/dist/collection/helpers/slimmers/form-field-controller-slimmer.js +9 -3
- package/dist/collection/helpers/slimmers/test/form-field-controller-slimmer.test.js +17 -0
- package/dist/collection/helpers/vega-telemetry-helper/test/vega-env-manager.test.js +1 -1
- package/dist/collection/helpers/vega-telemetry-helper/vega-env-manager.js +2 -2
- package/dist/collection/utils/e2e-utils.js +6 -2
- package/dist/esm/{app-globals-f06cad68.js → app-globals-565328e2.js} +2 -2
- package/dist/esm/{array-8c82516c.js → array-506b88b9.js} +1 -1
- package/dist/esm/{child-nodes-event-prevent-slimmer-64aa84be.js → child-nodes-event-prevent-slimmer-75851864.js} +1 -1
- package/dist/esm/{event-emit-slimmer-61856017.js → event-emit-slimmer-929b3e70.js} +1 -1
- package/dist/esm/{form-field-controller-slimmer-f8f42321.js → form-field-controller-slimmer-b237bb58.js} +11 -5
- package/dist/esm/index-c3505689.js +4 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/{internal-vega-event-manager-16ece1ab.js → internal-vega-event-manager-b0d04798.js} +1 -1
- package/dist/esm/{legend-input-processor-ea4840cb.js → legend-input-processor-abb0b4f4.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{mutation-observer-filters-8e5cb1e0.js → mutation-observer-filters-a484f098.js} +1 -1
- package/dist/esm/static-remote-invocation-call-registry-56d7e6b2.js +62 -0
- package/dist/esm/{static-subject-title-2a4d6602.js → static-subject-title-2e153754.js} +3 -1
- package/dist/esm/vega-accordion.entry.js +5 -5
- package/dist/esm/vega-app-header-button.entry.js +4 -4
- package/dist/esm/vega-banner.entry.js +3 -3
- package/dist/esm/vega-bar-chart.entry.js +3 -3
- package/dist/esm/vega-breadcrumb.entry.js +6 -8
- package/dist/esm/vega-button-circle.entry.js +5 -5
- package/dist/esm/vega-button-group_2.entry.js +4 -4
- package/dist/esm/vega-button-link.entry.js +4 -4
- package/dist/esm/vega-button.entry.js +5 -5
- package/dist/esm/vega-calendar_3.entry.js +53 -17
- package/dist/esm/vega-carousel.entry.js +3 -3
- package/dist/esm/vega-checkbox_2.entry.js +8 -8
- package/dist/esm/vega-chip.entry.js +4 -4
- package/dist/esm/vega-color-picker.entry.js +7 -7
- package/dist/esm/vega-combo-box.entry.js +8 -8
- package/dist/esm/vega-date-picker_2.entry.js +8 -8
- package/dist/esm/vega-dialog_2.entry.js +4 -4
- package/dist/esm/vega-dropdown_5.entry.js +24 -6
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/{vega-event-id-e2ea4301.js → vega-event-id-13e22d1e.js} +1 -1
- package/dist/esm/vega-field-error.entry.js +1 -1
- package/dist/esm/vega-field-label.entry.js +4 -4
- package/dist/esm/vega-form.entry.js +8 -8
- package/dist/esm/vega-hint.entry.js +34 -0
- package/dist/esm/vega-image-uploader.entry.js +8 -8
- package/dist/esm/vega-input-credit-card.entry.js +8 -8
- package/dist/esm/vega-input-phone-number.entry.js +48 -52
- package/dist/esm/vega-input-range.entry.js +8 -8
- package/dist/esm/vega-input-select.entry.js +8 -8
- package/dist/esm/vega-input.entry.js +24 -13
- package/dist/esm/vega-item-toggle.entry.js +3 -3
- package/dist/esm/vega-left-nav_5.entry.js +4 -4
- package/dist/esm/vega-line-chart.entry.js +3 -3
- package/dist/esm/vega-page-notification_2.entry.js +1 -1
- package/dist/esm/vega-pagination.entry.js +10 -6
- package/dist/esm/vega-pie-chart.entry.js +2 -2
- package/dist/esm/vega-popover_2.entry.js +3 -3
- package/dist/esm/vega-progress-tracker.entry.js +3 -3
- package/dist/esm/vega-radio_2.entry.js +9 -9
- package/dist/esm/vega-segment-control.entry.js +3 -3
- package/dist/esm/vega-selection-tile_2.entry.js +8 -8
- package/dist/esm/vega-signature-capture.entry.js +7 -7
- package/dist/esm/{vega-skeleton-loader-controller-5ac7211f.js → vega-skeleton-loader-controller-7378a2e4.js} +1 -1
- package/dist/esm/vega-stepper.entry.js +8 -8
- package/dist/esm/vega-tab-group_2.entry.js +5 -5
- package/dist/esm/vega-table_8.entry.js +71 -39
- package/dist/esm/vega-textarea.entry.js +8 -8
- package/dist/esm/vega-time-picker_2.entry.js +8 -8
- package/dist/esm/vega-toggle-switch.entry.js +3 -3
- package/dist/esm/vega.js +5 -5
- package/dist/esm/{y-axis-input-processor-1d9192ae.js → y-axis-input-processor-08c89594.js} +2 -2
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/controllers/vega-calendar-sub-state-controller.d.ts +1 -0
- package/dist/types/components/vega-calendar/vega-calendar-event/slimmers/renderers/vega-calendar-event-renderer.d.ts +2 -1
- package/dist/types/components/vega-calendar/vega-calendar-event/vega-calendar-event.d.ts +1 -0
- package/dist/types/components/vega-calendar/vega-calendar.d.ts +11 -0
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-item-level-renderer.d.ts +3 -0
- package/dist/types/components/vega-hint/vega-hint.d.ts +11 -0
- package/dist/types/components/vega-input/types.d.ts +1 -0
- package/dist/types/components/vega-input-phone-number/slimmers/controllers/country-select-controller.d.ts +9 -5
- package/dist/types/components/vega-input-phone-number/slimmers/renderers/country-select-renderer.d.ts +3 -13
- package/dist/types/components/vega-input-phone-number/vega-input-phone-number.d.ts +0 -1
- package/dist/types/components/vega-input-select/types.d.ts +1 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-sort-controller.d.ts +3 -3
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-sorter.d.ts +27 -0
- package/dist/types/components/vega-table/test/vega-table-sorter.test.d.ts +1 -0
- package/dist/types/components/vega-table/vega-table.d.ts +3 -2
- package/dist/types/components.d.ts +21 -0
- package/dist/types/constants/ui.d.ts +1 -1
- package/dist/types/helpers/change-manager/subject/static-remote-invocation-subject/static-remote-invocation-call-registry.d.ts +3 -3
- package/dist/types/helpers/change-manager/subject/static-subject/static-subject-title.d.ts +2 -1
- package/dist/types/helpers/formatter/string-formatter/custom-formatter-strategy.d.ts +6 -3
- package/dist/types/helpers/slimmers/form-field-controller-slimmer.d.ts +4 -1
- package/dist/types/utils/e2e-utils.d.ts +2 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-b0cbbf88.entry.js → p-0629c827.entry.js} +1 -1
- package/dist/vega/{p-2a08269c.entry.js → p-0a157187.entry.js} +1 -1
- package/dist/vega/{p-9eef4b8c.entry.js → p-0fdbffc4.entry.js} +1 -1
- package/dist/vega/{p-ce48be2b.entry.js → p-10456650.entry.js} +1 -1
- package/dist/vega/{p-4b1ed9e1.entry.js → p-1496ae4a.entry.js} +1 -1
- package/dist/vega/{p-72f38014.entry.js → p-15604d96.entry.js} +1 -1
- package/dist/vega/{p-0776022d.entry.js → p-1e7118b1.entry.js} +1 -1
- package/dist/vega/p-1f52fbdc.entry.js +1 -0
- package/dist/vega/{p-a2c10ac6.entry.js → p-2113e8a0.entry.js} +1 -1
- package/dist/vega/{p-52171abe.entry.js → p-21688c09.entry.js} +1 -1
- package/dist/vega/p-22cffbcc.entry.js +1 -0
- package/dist/vega/{p-f8975f50.js → p-33596687.js} +1 -1
- package/dist/vega/{p-96fda429.entry.js → p-394a4289.entry.js} +1 -1
- package/dist/vega/{p-27327fc6.js → p-3f20d9f0.js} +1 -1
- package/dist/vega/{p-91077f54.entry.js → p-4c919221.entry.js} +1 -1
- package/dist/vega/{p-75a78fcb.entry.js → p-4cf6fea1.entry.js} +1 -1
- package/dist/vega/p-4d4648f8.js +1 -0
- package/dist/vega/{p-88b42b8e.js → p-4dc711c1.js} +1 -1
- package/dist/vega/p-507d3a25.js +1 -0
- package/dist/vega/p-5f136969.entry.js +1 -0
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-dcf93050.entry.js → p-68ead15a.entry.js} +1 -1
- package/dist/vega/{p-f155aba3.entry.js → p-6aab349d.entry.js} +1 -1
- package/dist/vega/{p-59373fa3.entry.js → p-6d7fa33c.entry.js} +1 -1
- package/dist/vega/p-7b2315b5.entry.js +1 -0
- package/dist/vega/{p-f7236eef.entry.js → p-8f13530c.entry.js} +1 -1
- package/dist/vega/{p-9e0314dd.entry.js → p-9c3ed69a.entry.js} +1 -1
- package/dist/vega/{p-1951d74f.entry.js → p-9d58efb1.entry.js} +1 -1
- package/dist/vega/{p-fbc0f4fd.js → p-9fc2882a.js} +1 -1
- package/dist/vega/{p-0477bb3e.entry.js → p-a1557df0.entry.js} +1 -1
- package/dist/vega/{p-beaeeaaf.entry.js → p-a8b216c0.entry.js} +1 -1
- package/dist/vega/{p-122dd21c.entry.js → p-a8f406e3.entry.js} +1 -1
- package/dist/vega/p-ae403881.entry.js +1 -0
- package/dist/vega/p-af4e1120.entry.js +1 -0
- package/dist/vega/{p-9ddfbe02.entry.js → p-b211ca98.entry.js} +1 -1
- package/dist/vega/{p-8250b935.js → p-b32611f0.js} +1 -1
- package/dist/vega/p-b8a63b73.js +1 -0
- package/dist/vega/{p-37e34b11.entry.js → p-b8e45e21.entry.js} +1 -1
- package/dist/vega/p-bb63021c.entry.js +1 -0
- package/dist/vega/{p-d77148c0.entry.js → p-bc37ab37.entry.js} +1 -1
- package/dist/vega/{p-d87980fe.js → p-c216dfc3.js} +1 -1
- package/dist/vega/{p-5ebb355b.js → p-c4542d96.js} +1 -1
- package/dist/vega/{p-6f62b38f.entry.js → p-ca905ecc.entry.js} +1 -1
- package/dist/vega/{p-11e7deae.entry.js → p-cbb1c0a7.entry.js} +1 -1
- package/dist/vega/{p-516b24fc.entry.js → p-cee7b0e6.entry.js} +1 -1
- package/dist/vega/{p-9d75e265.entry.js → p-cf0c2937.entry.js} +1 -1
- package/dist/vega/{p-bd19100b.entry.js → p-d5e0c79c.entry.js} +1 -1
- package/dist/vega/{p-1c1ebbbf.entry.js → p-d7b21179.entry.js} +1 -1
- package/dist/vega/{p-0d7d26a1.entry.js → p-db129cbf.entry.js} +1 -1
- package/dist/vega/{p-7d2ef81d.js → p-ddc70a7b.js} +1 -1
- package/dist/vega/{p-8b4e8250.entry.js → p-e48c71be.entry.js} +1 -1
- package/dist/vega/p-e66d54c5.entry.js +1 -0
- package/dist/vega/{p-f9dc62a3.entry.js → p-e9851b18.entry.js} +1 -1
- package/dist/vega/{p-f3f22a96.entry.js → p-ed0d4be8.entry.js} +1 -1
- package/dist/vega/{p-69b28805.js → p-ee68920f.js} +1 -1
- package/dist/vega/{p-be57a828.entry.js → p-f58e4e4a.entry.js} +1 -1
- package/dist/vega/p-f5ebc64a.js +1 -0
- package/dist/vega/{p-4aa84e12.entry.js → p-faf4cfd8.entry.js} +1 -1
- package/dist/vega/{p-2295b3e5.entry.js → p-fb7ca3e4.entry.js} +1 -1
- package/dist/vega/{p-dcde7c0f.entry.js → p-fbd75ce7.entry.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/dist/vega/p-08c6ec82.entry.js +0 -1
- package/dist/vega/p-277e29a4.entry.js +0 -1
- package/dist/vega/p-53f24899.entry.js +0 -1
- package/dist/vega/p-6ddc92df.entry.js +0 -1
- package/dist/vega/p-b07f0e8c.entry.js +0 -1
- package/dist/vega/p-bb491bed.js +0 -1
- package/dist/vega/p-cbeb3e3c.entry.js +0 -1
- package/dist/vega/p-d165d4b7.js +0 -1
- package/dist/vega/p-dd9e0b55.entry.js +0 -1
- package/dist/vega/p-ec045268.js +0 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host, g as getElement } from './index-c3505689.js';
|
|
2
|
+
import { I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
3
|
+
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
4
|
+
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
5
|
+
|
|
6
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
9
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
10
|
+
else
|
|
11
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
12
|
+
if (d = decorators[i])
|
|
13
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
14
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
|
+
};
|
|
16
|
+
const VegaHint = class {
|
|
17
|
+
constructor(hostRef) {
|
|
18
|
+
registerInstance(this, hostRef);
|
|
19
|
+
this.globalSlimmers = {};
|
|
20
|
+
this.vegaComponentUsageRuntimeMetricsSlimmer = new VegaComponentUsageRuntimeMetricsSlimmer();
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
return sanitizeVegaComponent(h(Host, null, h("vega-box", { padding: { x: 'size-8', top: 'size-4' } }, h("vega-font", { variant: "font-footnote1-short", color: "text-secondary" }, h("slot", null)))), this.host);
|
|
24
|
+
}
|
|
25
|
+
get host() { return getElement(this); }
|
|
26
|
+
};
|
|
27
|
+
__decorate([
|
|
28
|
+
InjectVegaGlobalSlimmer()
|
|
29
|
+
], VegaHint.prototype, "globalSlimmers", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
InjectVegaSlimmer()
|
|
32
|
+
], VegaHint.prototype, "vegaComponentUsageRuntimeMetricsSlimmer", void 0);
|
|
33
|
+
|
|
34
|
+
export { VegaHint as vega_hint };
|
|
@@ -6,15 +6,15 @@ import { R as ResponsiveFormatFacade } from './responsive-format-facade-b96ca811
|
|
|
6
6
|
import { m as methodPlaceholder } from './placeholder-bf562081.js';
|
|
7
7
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
8
8
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-4c0f1048.js';
|
|
9
|
-
import { a as VegaClick, e as VegaChange, r as VegaRemove, s as VegaCancel } from './vega-event-id-
|
|
10
|
-
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-
|
|
9
|
+
import { a as VegaClick, e as VegaChange, r as VegaRemove, s as VegaCancel } from './vega-event-id-13e22d1e.js';
|
|
10
|
+
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-2e153754.js';
|
|
11
11
|
import { C as ChangeManager } from './change-manager-8ddd9afe.js';
|
|
12
12
|
import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0fab.js';
|
|
13
13
|
import { V as VegaDialog } from './vega-dialog-controller-1f5923a6.js';
|
|
14
|
-
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-
|
|
14
|
+
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-b237bb58.js';
|
|
15
15
|
import { f as findParent, d as getDeepActiveElementInShadow } from './ui-28499aab.js';
|
|
16
|
-
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-
|
|
17
|
-
import { c as createEventEmitSlimmer } from './event-emit-slimmer-
|
|
16
|
+
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-75851864.js';
|
|
17
|
+
import { c as createEventEmitSlimmer } from './event-emit-slimmer-929b3e70.js';
|
|
18
18
|
import './type-guard-4bc3fbf5.js';
|
|
19
19
|
import './breakpoints-e59edf8d.js';
|
|
20
20
|
import './ui-df46cc20.js';
|
|
@@ -28,9 +28,9 @@ import './dynamic-slimmer-ef83e258.js';
|
|
|
28
28
|
import './vega-internal-event-id-3c684f5c.js';
|
|
29
29
|
import './page-resize-observer-slimmer-e2e9f248.js';
|
|
30
30
|
import './mutation-observer-slimmer-a4dbad26.js';
|
|
31
|
-
import './mutation-observer-filters-
|
|
32
|
-
import './array-
|
|
33
|
-
import './internal-vega-event-manager-
|
|
31
|
+
import './mutation-observer-filters-a484f098.js';
|
|
32
|
+
import './array-506b88b9.js';
|
|
33
|
+
import './internal-vega-event-manager-b0d04798.js';
|
|
34
34
|
import './vega-env-manager-8f8dc473.js';
|
|
35
35
|
import './feature-flag-controller-9818c025.js';
|
|
36
36
|
import './index-dc8f8d91.js';
|
|
@@ -6,13 +6,13 @@ import { V as ValidCreditCardNumberRule } from './valid-credit-card-number-rule-
|
|
|
6
6
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
7
7
|
import { I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
8
8
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
9
|
-
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-
|
|
10
|
-
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-
|
|
9
|
+
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-b237bb58.js';
|
|
10
|
+
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-2e153754.js';
|
|
11
11
|
import { C as ChangeManager } from './change-manager-8ddd9afe.js';
|
|
12
|
-
import { c as createEventEmitSlimmer } from './event-emit-slimmer-
|
|
13
|
-
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-
|
|
12
|
+
import { c as createEventEmitSlimmer } from './event-emit-slimmer-929b3e70.js';
|
|
13
|
+
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-75851864.js';
|
|
14
14
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-4c0f1048.js';
|
|
15
|
-
import { e as VegaChange, t as VegaFocus, u as VegaBlur } from './vega-event-id-
|
|
15
|
+
import { e as VegaChange, t as VegaFocus, u as VegaBlur } from './vega-event-id-13e22d1e.js';
|
|
16
16
|
import { V as VegaInternalIconManager } from './internal-icon-manager-ca269960.js';
|
|
17
17
|
import './index-dc8f8d91.js';
|
|
18
18
|
import './number-e2519d1c.js';
|
|
@@ -25,9 +25,9 @@ import './page-resize-observer-slimmer-e2e9f248.js';
|
|
|
25
25
|
import './breakpoints-e59edf8d.js';
|
|
26
26
|
import './ui-df46cc20.js';
|
|
27
27
|
import './mutation-observer-slimmer-a4dbad26.js';
|
|
28
|
-
import './mutation-observer-filters-
|
|
29
|
-
import './array-
|
|
30
|
-
import './internal-vega-event-manager-
|
|
28
|
+
import './mutation-observer-filters-a484f098.js';
|
|
29
|
+
import './array-506b88b9.js';
|
|
30
|
+
import './internal-vega-event-manager-b0d04798.js';
|
|
31
31
|
import './vega-env-manager-8f8dc473.js';
|
|
32
32
|
import './icon-manager-6ac84741.js';
|
|
33
33
|
|
|
@@ -3,13 +3,14 @@ import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
|
3
3
|
import { a as MapToComponentField, V as VegaSlimmer, M as MapToComponentMethod, I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
4
4
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
5
5
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-4c0f1048.js';
|
|
6
|
-
import { e as VegaChange,
|
|
6
|
+
import { e as VegaChange, v as VegaCountryChange } from './vega-event-id-13e22d1e.js';
|
|
7
7
|
import { V as VegaInternalIconManager } from './internal-icon-manager-ca269960.js';
|
|
8
|
-
import {
|
|
8
|
+
import { s as staticRemoteInvocationCallRegistry } from './static-remote-invocation-call-registry-56d7e6b2.js';
|
|
9
|
+
import { D as DROPDOWN_RENDER_ITEM_INTERNAL_OVERRIDEN, h as DROPDOWN_SEARCH_INTERNAL_OVERRIDEN, b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-2e153754.js';
|
|
9
10
|
import { C as ChangeManager } from './change-manager-8ddd9afe.js';
|
|
10
|
-
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-
|
|
11
|
-
import { c as createEventEmitSlimmer } from './event-emit-slimmer-
|
|
12
|
-
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-
|
|
11
|
+
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-b237bb58.js';
|
|
12
|
+
import { c as createEventEmitSlimmer } from './event-emit-slimmer-929b3e70.js';
|
|
13
|
+
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-75851864.js';
|
|
13
14
|
import './icon-manager-6ac84741.js';
|
|
14
15
|
import './string-be824360.js';
|
|
15
16
|
import './ui-28499aab.js';
|
|
@@ -20,10 +21,10 @@ import './page-resize-observer-slimmer-e2e9f248.js';
|
|
|
20
21
|
import './breakpoints-e59edf8d.js';
|
|
21
22
|
import './ui-df46cc20.js';
|
|
22
23
|
import './mutation-observer-slimmer-a4dbad26.js';
|
|
23
|
-
import './mutation-observer-filters-
|
|
24
|
-
import './array-
|
|
24
|
+
import './mutation-observer-filters-a484f098.js';
|
|
25
|
+
import './array-506b88b9.js';
|
|
25
26
|
import './number-e2519d1c.js';
|
|
26
|
-
import './internal-vega-event-manager-
|
|
27
|
+
import './internal-vega-event-manager-b0d04798.js';
|
|
27
28
|
import './vega-env-manager-8f8dc473.js';
|
|
28
29
|
import './feature-flag-controller-9818c025.js';
|
|
29
30
|
import './index-dc8f8d91.js';
|
|
@@ -8408,31 +8409,15 @@ class CountrySelectRenderer extends VegaSlimmer {
|
|
|
8408
8409
|
void this.inputSelectRef.doOpen();
|
|
8409
8410
|
};
|
|
8410
8411
|
/**
|
|
8411
|
-
* This `
|
|
8412
|
+
* This `renderDropdownItem` function is responsible for rendering a dropdown item for a specific country in
|
|
8412
8413
|
* the `VegaInputPhoneNumberCountryCodeRenderer` component.
|
|
8413
8414
|
*/
|
|
8414
|
-
this.
|
|
8415
|
-
|
|
8416
|
-
const callingCodeWithPrefix = `+${callingCode}`;
|
|
8417
|
-
return (h("vega-dropdown-item", { label: callingCodeWithPrefix, itemKey: countryCode, key: countryCode },
|
|
8415
|
+
this.renderDropdownItem = (item, fixHeight) => {
|
|
8416
|
+
return (h("vega-dropdown-item", { height: fixHeight, label: item.label, itemKey: item.key, key: item.key },
|
|
8418
8417
|
h("vega-flex", { alignItems: "center", gap: "size-12" },
|
|
8419
|
-
h("vega-icon", { icon: VegaInternalIconManager.getIconKey(
|
|
8420
|
-
h("vega-font", { variant: "font-field-value", color: "text-primary" },
|
|
8421
|
-
h("vega-font", { variant: "font-field-value", color: "text-primary" }, `(${
|
|
8422
|
-
};
|
|
8423
|
-
/**
|
|
8424
|
-
* The `private countrySearchFilter` function is a filter function defined within the
|
|
8425
|
-
* `CountrySelectController` class. It takes a `VegaCountryType` object as input and returns a boolean
|
|
8426
|
-
* value based on whether the country matches the search criteria specified by the `countryCodeSearchString`
|
|
8427
|
-
* property of the class.
|
|
8428
|
-
*
|
|
8429
|
-
* @param {VegaCountryType} country - the country to be searched
|
|
8430
|
-
* @returns {boolean} the boolean return value
|
|
8431
|
-
*/
|
|
8432
|
-
this.countrySearchFilter = (country) => {
|
|
8433
|
-
return this.countryCodeSearchString
|
|
8434
|
-
? `${country.name.toLowerCase()} +${country.callingCode}`.includes(this.countryCodeSearchString.toLowerCase())
|
|
8435
|
-
: true;
|
|
8418
|
+
h("vega-icon", { icon: VegaInternalIconManager.getIconKey(item.key), size: "size-16" }),
|
|
8419
|
+
h("vega-font", { variant: "font-field-value", color: "text-primary" }, COUNTRIES[item.key]),
|
|
8420
|
+
h("vega-font", { variant: "font-field-value", color: "text-primary" }, `(${item.label})`))));
|
|
8436
8421
|
};
|
|
8437
8422
|
/**
|
|
8438
8423
|
* The `private customCountriesFilter` function is a custom filter function used to filter out
|
|
@@ -8466,8 +8451,15 @@ class CountrySelectRenderer extends VegaSlimmer {
|
|
|
8466
8451
|
* rendering the JSX structure of the component. Here's a breakdown of what it is doing:
|
|
8467
8452
|
*/
|
|
8468
8453
|
render() {
|
|
8454
|
+
const countries = this.getCountrySelectOptions();
|
|
8469
8455
|
return (h("vega-box", null,
|
|
8470
|
-
h("vega-input-select", {
|
|
8456
|
+
h("vega-input-select", { source: countries.map((country) => ({
|
|
8457
|
+
id: country.countryCode,
|
|
8458
|
+
displayName: `+${country.callingCode}`,
|
|
8459
|
+
})), vegaDropdownProps: {
|
|
8460
|
+
matchTargetWidth: false,
|
|
8461
|
+
size: this.estimateMaxWidthOfCountries(countries),
|
|
8462
|
+
}, size: this.size, prefixIcon: VegaInternalIconManager.getIconKey(this.countryCode), disabled: this.disabled, placeholder: "", ref: (inputSelect) => {
|
|
8471
8463
|
this.inputSelectRef = inputSelect;
|
|
8472
8464
|
DomNodeSubjectObserverFactory.addUniqueObserverToNode(inputSelect, VegaChange,
|
|
8473
8465
|
/*
|
|
@@ -8478,12 +8470,8 @@ class CountrySelectRenderer extends VegaSlimmer {
|
|
|
8478
8470
|
(e) => {
|
|
8479
8471
|
this.handleCountrySelectChange(e.detail);
|
|
8480
8472
|
});
|
|
8481
|
-
|
|
8482
|
-
|
|
8483
|
-
});
|
|
8484
|
-
}, value: this.countryCode },
|
|
8485
|
-
h("div", { slot: "items" },
|
|
8486
|
-
h("div", null, this.getCountrySelectOptions().map((country) => this.renderOption(country)))))));
|
|
8473
|
+
staticRemoteInvocationCallRegistry.register(DROPDOWN_RENDER_ITEM_INTERNAL_OVERRIDEN, this.renderDropdownItem.bind(this));
|
|
8474
|
+
}, value: this.countryCode })));
|
|
8487
8475
|
}
|
|
8488
8476
|
/*
|
|
8489
8477
|
* The below method is e2e-test covered in
|
|
@@ -8507,9 +8495,7 @@ class CountrySelectRenderer extends VegaSlimmer {
|
|
|
8507
8495
|
* `countrySearchFilter` filters.
|
|
8508
8496
|
*/
|
|
8509
8497
|
getCountrySelectOptions() {
|
|
8510
|
-
return this.constructCountryArray(CountrySelectRenderer.allCountries)
|
|
8511
|
-
.filter(this.customCountriesFilter)
|
|
8512
|
-
.filter(this.countrySearchFilter);
|
|
8498
|
+
return this.constructCountryArray(CountrySelectRenderer.allCountries).filter(this.customCountriesFilter);
|
|
8513
8499
|
}
|
|
8514
8500
|
/**
|
|
8515
8501
|
* The function constructCountryArray takes a list of country names and returns an array of country
|
|
@@ -8530,6 +8516,12 @@ class CountrySelectRenderer extends VegaSlimmer {
|
|
|
8530
8516
|
name: countries[country],
|
|
8531
8517
|
}));
|
|
8532
8518
|
}
|
|
8519
|
+
estimateMaxWidthOfCountries(countries) {
|
|
8520
|
+
const maxLength = Math.max(...countries.map((country) => country.name.length));
|
|
8521
|
+
// 162 is extra element width in dropdown-item, includes checked icon, country icon, country calling code,
|
|
8522
|
+
// and gap of item, padding of item.
|
|
8523
|
+
return maxLength * 8.5 + 162;
|
|
8524
|
+
}
|
|
8533
8525
|
}
|
|
8534
8526
|
(() => {
|
|
8535
8527
|
VegaInternalIconManager.register(CountryFlags);
|
|
@@ -8547,9 +8539,6 @@ __decorate$4([
|
|
|
8547
8539
|
__decorate$4([
|
|
8548
8540
|
MapToComponentField()
|
|
8549
8541
|
], CountrySelectRenderer.prototype, "allowedCountryCodes", void 0);
|
|
8550
|
-
__decorate$4([
|
|
8551
|
-
MapToComponentField()
|
|
8552
|
-
], CountrySelectRenderer.prototype, "countryCodeSearchString", void 0);
|
|
8553
8542
|
__decorate$4([
|
|
8554
8543
|
MapToComponentField()
|
|
8555
8544
|
], CountrySelectRenderer.prototype, "countrySelectController", void 0);
|
|
@@ -8614,6 +8603,7 @@ class PhoneNumberInputRenderer extends VegaSlimmer {
|
|
|
8614
8603
|
}, value: this.phoneNumberInputValue, maskConfig: {
|
|
8615
8604
|
type: 'custom-formatter',
|
|
8616
8605
|
formatter: this.phoneNumberMaskFormatter,
|
|
8606
|
+
resetCaretPosition: true,
|
|
8617
8607
|
} })));
|
|
8618
8608
|
}
|
|
8619
8609
|
/**
|
|
@@ -8672,13 +8662,22 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
8672
8662
|
*/
|
|
8673
8663
|
class CountrySelectController extends VegaSlimmer {
|
|
8674
8664
|
/**
|
|
8675
|
-
*
|
|
8665
|
+
* Registers a remote invocation call for a dropdown search.
|
|
8666
|
+
*/
|
|
8667
|
+
static registerRemoteDropdownSearch() {
|
|
8668
|
+
staticRemoteInvocationCallRegistry.register(DROPDOWN_SEARCH_INTERNAL_OVERRIDEN, this.filterDropdownSourcesBySearchString.bind(this));
|
|
8669
|
+
}
|
|
8670
|
+
/**
|
|
8671
|
+
* Remote invocation call for a dropdown search.
|
|
8676
8672
|
*
|
|
8677
|
-
* @param {
|
|
8678
|
-
*
|
|
8673
|
+
* @param {DropdownSourceItem[]} source - Source of dropdown.
|
|
8674
|
+
* @param {string} searchString - Searching string of dropdown.
|
|
8675
|
+
* @returns {DropdownSourceItem[]} The searched source.
|
|
8679
8676
|
*/
|
|
8680
|
-
|
|
8681
|
-
|
|
8677
|
+
static filterDropdownSourcesBySearchString(source, searchString) {
|
|
8678
|
+
return source.filter((item) => `${COUNTRIES[item.key].toLowerCase()} +${item.label}`
|
|
8679
|
+
.toLowerCase()
|
|
8680
|
+
.includes(searchString.toLowerCase()));
|
|
8682
8681
|
}
|
|
8683
8682
|
/**
|
|
8684
8683
|
* The function `setCountryCode` sets the countryCode property of an object to the specified VegaCountryCode value.
|
|
@@ -8692,12 +8691,10 @@ class CountrySelectController extends VegaSlimmer {
|
|
|
8692
8691
|
}
|
|
8693
8692
|
CountrySelectController.defaultCountryCode = 'US';
|
|
8694
8693
|
CountrySelectController.defaultAllowedCountryCodes = getCountries();
|
|
8695
|
-
__decorate$2([
|
|
8696
|
-
MapToComponentField({ writable: true })
|
|
8697
|
-
], CountrySelectController.prototype, "countryCodeSearchString", void 0);
|
|
8698
8694
|
__decorate$2([
|
|
8699
8695
|
MapToComponentField({ writable: true })
|
|
8700
8696
|
], CountrySelectController.prototype, "countryCode", void 0);
|
|
8697
|
+
CountrySelectController.registerRemoteDropdownSearch();
|
|
8701
8698
|
|
|
8702
8699
|
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
8703
8700
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -9061,7 +9058,6 @@ const VegaInputPhoneNumber = class {
|
|
|
9061
9058
|
inputContainerGetter: () => this.inputPhoneNumberRenderer.getInputPhoneNumberContainerRef(),
|
|
9062
9059
|
touchableAreaGetter: () => [this.phoneNumberInputRenderer.getInputRef()],
|
|
9063
9060
|
});
|
|
9064
|
-
this.countryCodeSearchString = '';
|
|
9065
9061
|
this.phoneNumberInputValue = '';
|
|
9066
9062
|
/**
|
|
9067
9063
|
* Specifies the label or title for the phone number input field.
|
|
@@ -2,18 +2,18 @@ import { h, F as Fragment, r as registerInstance, c as createEvent, H as Host, g
|
|
|
2
2
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
3
3
|
import { a as MapToComponentField, V as VegaSlimmer, M as MapToComponentMethod, I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
4
4
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
5
|
-
import { c as createEventEmitSlimmer } from './event-emit-slimmer-
|
|
6
|
-
import { e as VegaChange } from './vega-event-id-
|
|
7
|
-
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-
|
|
8
|
-
import {
|
|
5
|
+
import { c as createEventEmitSlimmer } from './event-emit-slimmer-929b3e70.js';
|
|
6
|
+
import { e as VegaChange } from './vega-event-id-13e22d1e.js';
|
|
7
|
+
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-b237bb58.js';
|
|
8
|
+
import { i as isArrayEqual } from './array-506b88b9.js';
|
|
9
9
|
import { C as ChangeManager } from './change-manager-8ddd9afe.js';
|
|
10
|
-
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-
|
|
10
|
+
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-2e153754.js';
|
|
11
11
|
import { g as getDeviceType, D as DeviceType } from './ui-28499aab.js';
|
|
12
12
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-4c0f1048.js';
|
|
13
|
-
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-
|
|
13
|
+
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-75851864.js';
|
|
14
14
|
import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0fab.js';
|
|
15
15
|
import './dynamic-slimmer-ef83e258.js';
|
|
16
|
-
import './internal-vega-event-manager-
|
|
16
|
+
import './internal-vega-event-manager-b0d04798.js';
|
|
17
17
|
import './string-be824360.js';
|
|
18
18
|
import './misc-c21a85c9.js';
|
|
19
19
|
import './vega-internal-event-id-3c684f5c.js';
|
|
@@ -21,7 +21,7 @@ import './page-resize-observer-slimmer-e2e9f248.js';
|
|
|
21
21
|
import './breakpoints-e59edf8d.js';
|
|
22
22
|
import './ui-df46cc20.js';
|
|
23
23
|
import './mutation-observer-slimmer-a4dbad26.js';
|
|
24
|
-
import './mutation-observer-filters-
|
|
24
|
+
import './mutation-observer-filters-a484f098.js';
|
|
25
25
|
import './number-e2519d1c.js';
|
|
26
26
|
import './vega-env-manager-8f8dc473.js';
|
|
27
27
|
import './feature-flag-controller-9818c025.js';
|
|
@@ -7,21 +7,21 @@ import { a as arrayToClassString } from './ui-28499aab.js';
|
|
|
7
7
|
import { R as ResponsiveFormatFacade } from './responsive-format-facade-b96ca811.js';
|
|
8
8
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
9
9
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-4c0f1048.js';
|
|
10
|
-
import { l as VegaDropdownShow, m as VegaDropdownHide, b as VegaDropdownClick, n as VegaDropdownSearch, k as VegaSearch, e as VegaChange } from './vega-event-id-
|
|
10
|
+
import { l as VegaDropdownShow, m as VegaDropdownHide, b as VegaDropdownClick, n as VegaDropdownSearch, k as VegaSearch, e as VegaChange } from './vega-event-id-13e22d1e.js';
|
|
11
11
|
import { b as VegaInternalDropdownTemplateItemsChange, c as VegaInternalVirtualScrollToBottom } from './vega-internal-event-id-3c684f5c.js';
|
|
12
|
-
import {
|
|
12
|
+
import { i as isArrayEqual } from './array-506b88b9.js';
|
|
13
13
|
import { C as ChangeManager } from './change-manager-8ddd9afe.js';
|
|
14
|
-
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-
|
|
14
|
+
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-2e153754.js';
|
|
15
15
|
import { c as createEnterKeyHandlerToTriggerClick } from './accessibility-e5fd0fab.js';
|
|
16
16
|
import { c as chevronUp, a as chevronDown } from './chevron-down-4303bddb.js';
|
|
17
17
|
import { V as VegaInternalIconManager } from './internal-icon-manager-ca269960.js';
|
|
18
|
-
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-
|
|
18
|
+
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-b237bb58.js';
|
|
19
19
|
import { P as PageResizeObserverSlimmer } from './page-resize-observer-slimmer-e2e9f248.js';
|
|
20
|
-
import { c as createEventEmitSlimmer } from './event-emit-slimmer-
|
|
21
|
-
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-
|
|
20
|
+
import { c as createEventEmitSlimmer } from './event-emit-slimmer-929b3e70.js';
|
|
21
|
+
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-75851864.js';
|
|
22
22
|
import { M as isArrayOfType, O as isSelectSourceItemType } from './type-guard-4bc3fbf5.js';
|
|
23
23
|
import { M as MutationObserverSlimmer } from './mutation-observer-slimmer-a4dbad26.js';
|
|
24
|
-
import { T as TagNameMutationFilter } from './mutation-observer-filters-
|
|
24
|
+
import { T as TagNameMutationFilter } from './mutation-observer-filters-a484f098.js';
|
|
25
25
|
import './ui-df46cc20.js';
|
|
26
26
|
import './number-e2519d1c.js';
|
|
27
27
|
import './pixel-f32c07ce.js';
|
|
@@ -29,7 +29,7 @@ import './icon-manager-6ac84741.js';
|
|
|
29
29
|
import './string-be824360.js';
|
|
30
30
|
import './misc-c21a85c9.js';
|
|
31
31
|
import './dynamic-slimmer-ef83e258.js';
|
|
32
|
-
import './internal-vega-event-manager-
|
|
32
|
+
import './internal-vega-event-manager-b0d04798.js';
|
|
33
33
|
import './vega-env-manager-8f8dc473.js';
|
|
34
34
|
import './feature-flag-controller-9818c025.js';
|
|
35
35
|
import './index-dc8f8d91.js';
|
|
@@ -8,12 +8,13 @@ import { C as ComponentLoadRequired } from './component-load-required-ce710ef5.j
|
|
|
8
8
|
import { a as MapToComponentField, V as VegaSlimmer, I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
9
9
|
import { s as slotPlaceholder } from './placeholder-bf562081.js';
|
|
10
10
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
11
|
-
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-
|
|
12
|
-
import { c as createEventEmitSlimmer } from './event-emit-slimmer-
|
|
13
|
-
import { e as VegaChange, t as VegaFocus, u as VegaBlur } from './vega-event-id-
|
|
14
|
-
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-
|
|
11
|
+
import { F as FormFieldControllerSlimmer } from './form-field-controller-slimmer-b237bb58.js';
|
|
12
|
+
import { c as createEventEmitSlimmer } from './event-emit-slimmer-929b3e70.js';
|
|
13
|
+
import { e as VegaChange, t as VegaFocus, u as VegaBlur } from './vega-event-id-13e22d1e.js';
|
|
14
|
+
import { b as FORM_ELEMENT_VALUE_CHANGE } from './static-subject-title-2e153754.js';
|
|
15
15
|
import { C as ChangeManager } from './change-manager-8ddd9afe.js';
|
|
16
16
|
import { S as StringInputFormatterSlimmer, a as StringMaskStrategy } from './string-input-formatter-slimmer-c5d422e3.js';
|
|
17
|
+
import { P as isNonNullable } from './type-guard-4bc3fbf5.js';
|
|
17
18
|
import './number-e2519d1c.js';
|
|
18
19
|
import './string-be824360.js';
|
|
19
20
|
import './dom-node-subject-observer-factory-4c0f1048.js';
|
|
@@ -25,10 +26,9 @@ import './page-resize-observer-slimmer-e2e9f248.js';
|
|
|
25
26
|
import './breakpoints-e59edf8d.js';
|
|
26
27
|
import './ui-df46cc20.js';
|
|
27
28
|
import './mutation-observer-slimmer-a4dbad26.js';
|
|
28
|
-
import './mutation-observer-filters-
|
|
29
|
-
import './array-
|
|
30
|
-
import './internal-vega-event-manager-
|
|
31
|
-
import './type-guard-4bc3fbf5.js';
|
|
29
|
+
import './mutation-observer-filters-a484f098.js';
|
|
30
|
+
import './array-506b88b9.js';
|
|
31
|
+
import './internal-vega-event-manager-b0d04798.js';
|
|
32
32
|
import './regex-dfe11abf.js';
|
|
33
33
|
import './typography-a8fc4764.js';
|
|
34
34
|
|
|
@@ -302,9 +302,12 @@ class CustomFormatterStrategy {
|
|
|
302
302
|
* string formatter class that you are passing to the constructor of the class. This custom string
|
|
303
303
|
* formatter class likely contains methods or properties related to formatting strings in a specific
|
|
304
304
|
* way according to your requirements.
|
|
305
|
+
* @param {boolean} resetCaretPosition - The caret position should update to the last or keep the current position after format
|
|
305
306
|
*/
|
|
306
|
-
constructor(formatter) {
|
|
307
|
+
constructor(formatter, resetCaretPosition = false) {
|
|
308
|
+
this.resetCaretPositionFlag = false;
|
|
307
309
|
this.formatter = formatter;
|
|
310
|
+
this.resetCaretPositionFlag = resetCaretPosition;
|
|
308
311
|
}
|
|
309
312
|
/**
|
|
310
313
|
* The format function in TypeScript takes a string input and returns the formatted output using a
|
|
@@ -323,16 +326,24 @@ class CustomFormatterStrategy {
|
|
|
323
326
|
*
|
|
324
327
|
* @param {string} input - The `input` parameter in the `calculateCaretPosition` function is a string
|
|
325
328
|
* that represents the text input where you want to calculate the caret position.
|
|
329
|
+
* @param {number} caretPosition - The current position of caret
|
|
326
330
|
* @returns {Nullable<number>} The `calculateCaretPosition` function is returning the length of the formatted input
|
|
327
331
|
* string.
|
|
328
332
|
*/
|
|
329
|
-
calculateCaretPosition(input) {
|
|
330
|
-
|
|
333
|
+
calculateCaretPosition(input, caretPosition) {
|
|
334
|
+
if (this.resetCaretPositionFlag === true) {
|
|
335
|
+
return this.format(input).length;
|
|
336
|
+
}
|
|
337
|
+
else if (isNonNullable(caretPosition)) {
|
|
338
|
+
const startValue = input.substring(0, caretPosition);
|
|
339
|
+
const maskedStartValue = this.format(startValue);
|
|
340
|
+
return caretPosition + (maskedStartValue.length - startValue.length);
|
|
341
|
+
}
|
|
331
342
|
}
|
|
332
343
|
/**
|
|
333
344
|
* Trigger the formatter at init
|
|
334
345
|
*
|
|
335
|
-
* @returns {boolean} true
|
|
346
|
+
* @returns {boolean} true or false
|
|
336
347
|
*/
|
|
337
348
|
shouldTriggerAtInit() {
|
|
338
349
|
return true;
|
|
@@ -433,7 +444,7 @@ class VegaInputMaskConfigController extends StringInputFormatterSlimmer {
|
|
|
433
444
|
stringFormatStrategy = new StringMaskStrategy(maskConfig.options);
|
|
434
445
|
break;
|
|
435
446
|
case 'custom-formatter':
|
|
436
|
-
stringFormatStrategy = new CustomFormatterStrategy(maskConfig.formatter);
|
|
447
|
+
stringFormatStrategy = new CustomFormatterStrategy(maskConfig.formatter, maskConfig.resetCaretPosition);
|
|
437
448
|
break;
|
|
438
449
|
}
|
|
439
450
|
if (this.type === 'number' && maskTrigger === 'input' && !maskConfig) {
|
|
@@ -2,14 +2,14 @@ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
|
|
|
2
2
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
3
3
|
import { I as ItemToggleTransitionMillisecond } from './ui-df46cc20.js';
|
|
4
4
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-4c0f1048.js';
|
|
5
|
-
import { a as VegaClick, w as VegaToggleStatus } from './vega-event-id-
|
|
6
|
-
import { c as createEventEmitSlimmer } from './event-emit-slimmer-
|
|
5
|
+
import { a as VegaClick, w as VegaToggleStatus } from './vega-event-id-13e22d1e.js';
|
|
6
|
+
import { c as createEventEmitSlimmer } from './event-emit-slimmer-929b3e70.js';
|
|
7
7
|
import { I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
8
8
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
9
9
|
import { c as createDeprecatedPropertySlimmer } from './deprecated-property-slimmer-4b33f760.js';
|
|
10
10
|
import './change-manager-8ddd9afe.js';
|
|
11
11
|
import './dynamic-slimmer-ef83e258.js';
|
|
12
|
-
import './internal-vega-event-manager-
|
|
12
|
+
import './internal-vega-event-manager-b0d04798.js';
|
|
13
13
|
import './object-261e7344.js';
|
|
14
14
|
|
|
15
15
|
const VegaItemToggleRuntimeMetricsPayloadDefinition = [
|
|
@@ -8,13 +8,13 @@ import { e as executeAfterTransition } from './effect-8efd2c3c.js';
|
|
|
8
8
|
import { V as VegaInternalIconManager } from './internal-icon-manager-ca269960.js';
|
|
9
9
|
import { Z as ZIndexManager } from './z-index-manager-7179cb75.js';
|
|
10
10
|
import { g as getCurrentBreakpoint } from './breakpoints-e59edf8d.js';
|
|
11
|
-
import { c as createEventEmitSlimmer } from './event-emit-slimmer-
|
|
12
|
-
import { y as VegaStateUpdate, z as VegaGroupClick, A as VegaMenuClick, a as VegaClick, B as VegaActionClick } from './vega-event-id-
|
|
11
|
+
import { c as createEventEmitSlimmer } from './event-emit-slimmer-929b3e70.js';
|
|
12
|
+
import { y as VegaStateUpdate, z as VegaGroupClick, A as VegaMenuClick, a as VegaClick, B as VegaActionClick } from './vega-event-id-13e22d1e.js';
|
|
13
13
|
import { C as ComponentGlobalStyleSlimmer } from './component-global-style-slimmer-120bf3c8.js';
|
|
14
14
|
import { D as DomNodeSubjectObserverFactory, O as Observer, d as domNodeSubjectFactory } from './dom-node-subject-observer-factory-4c0f1048.js';
|
|
15
15
|
import { h as VegaInternalLeftNavLinkClick } from './vega-internal-event-id-3c684f5c.js';
|
|
16
16
|
import { c as chevronUp, a as chevronDown } from './chevron-down-4303bddb.js';
|
|
17
|
-
import { L as LEFT_NAV_LINK_SELECTED_TOPIC } from './static-subject-title-
|
|
17
|
+
import { L as LEFT_NAV_LINK_SELECTED_TOPIC } from './static-subject-title-2e153754.js';
|
|
18
18
|
import { C as ChangeManager } from './change-manager-8ddd9afe.js';
|
|
19
19
|
import { f as findParent } from './ui-28499aab.js';
|
|
20
20
|
import { c as createDeprecatedPropertySlimmer } from './deprecated-property-slimmer-4b33f760.js';
|
|
@@ -23,7 +23,7 @@ import './icon-manager-6ac84741.js';
|
|
|
23
23
|
import './number-e2519d1c.js';
|
|
24
24
|
import './ui-df46cc20.js';
|
|
25
25
|
import './dynamic-slimmer-ef83e258.js';
|
|
26
|
-
import './internal-vega-event-manager-
|
|
26
|
+
import './internal-vega-event-manager-b0d04798.js';
|
|
27
27
|
import './object-261e7344.js';
|
|
28
28
|
import './type-guard-4bc3fbf5.js';
|
|
29
29
|
import './regex-dfe11abf.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement, H as Host } from './index-c3505689.js';
|
|
2
|
-
import { B as BaseDrawer, a as BaseChart, L as LayoutInputProcessor, P as ProcessorChain, b as LegendInputProcessor, c as LegendDrawer } from './legend-input-processor-
|
|
3
|
-
import { t as timeParse, a as timeFormat, s as second, b as timeMinute, c as timeHour, d as timeDay, e as timeMonth, f as timeSunday, g as timeYear, X as XAxisInputProcessor, Y as YAxisInputProcessor, h as XAxisDrawer, i as YAxisDrawer } from './y-axis-input-processor-
|
|
4
|
-
import { f as flatNestedArray, c as convertArrayToNestedArray, s as sortAsExistArray, a as sortArrayOrNestedArray } from './array-
|
|
2
|
+
import { B as BaseDrawer, a as BaseChart, L as LayoutInputProcessor, P as ProcessorChain, b as LegendInputProcessor, c as LegendDrawer } from './legend-input-processor-abb0b4f4.js';
|
|
3
|
+
import { t as timeParse, a as timeFormat, s as second, b as timeMinute, c as timeHour, d as timeDay, e as timeMonth, f as timeSunday, g as timeYear, X as XAxisInputProcessor, Y as YAxisInputProcessor, h as XAxisDrawer, i as YAxisDrawer } from './y-axis-input-processor-08c89594.js';
|
|
4
|
+
import { f as flatNestedArray, c as convertArrayToNestedArray, s as sortAsExistArray, a as sortArrayOrNestedArray } from './array-506b88b9.js';
|
|
5
5
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
6
6
|
import { I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
7
7
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
@@ -5,7 +5,7 @@ import { g as getDeviceType, D as DeviceType, a as arrayToClassString } from './
|
|
|
5
5
|
import { I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
6
6
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
7
7
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-4c0f1048.js';
|
|
8
|
-
import { a as VegaClick } from './vega-event-id-
|
|
8
|
+
import { a as VegaClick } from './vega-event-id-13e22d1e.js';
|
|
9
9
|
import './change-manager-8ddd9afe.js';
|
|
10
10
|
|
|
11
11
|
const vegaPageNotificationCss = ":host{display:inline-block;box-sizing:border-box;border-radius:12px;max-width:480px;box-shadow:0 4px 8px rgba(2, 2, 15, 0.1), 0 12px 20px rgba(2, 2, 15, 0.15);animation:fade-in-right 300ms ease-in-out}:host(.mobile){width:100%;max-width:100%;animation:fade-in-up 300ms ease-in-out}:host(.vega-page-notification-fade-out){opacity:0;animation:fade-out 300ms ease-in-out}:host vega-icon{color:rgba(var(--v-text-page-notification-content, 32, 54, 69, 1))}:host .vega-page-notification-prefix{display:flex}:host(.mobile) .vega-page-notification-prefix{padding-top:4px}:host .vega-page-notification-content{flex:1 1 0%;overflow:auto}:host .vega-page-notification-close-btn{cursor:pointer;display:inline-flex;margin-top:4px}:host(.mobile) .vega-page-notification-close-btn{padding:2px}:host .vega-page-notification-actions-container{display:flex;align-items:flex-end;flex-wrap:wrap;gap:16px;justify-content:flex-end;margin-top:24px}:host(.mobile) .vega-page-notification-actions-container{margin-top:16px}:host .vega-page-notification-title{color:rgba(var(--v-text-page-notification-content, 32, 54, 69, 1));font-family:\"Inter\", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-page-notification-title{font-family:\"Inter\", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-page-notification-title{font-family:\"Inter\", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-page-notification-title{font-family:\"Inter\", sans-serif;font-size:20px;font-weight:700;line-height:28px;letter-spacing:0px}}:host(.mobile) .vega-page-notification-title{font-family:\"Inter\", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px;overflow-wrap:break-word}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.mobile) .vega-page-notification-title{font-family:\"Inter\", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.mobile) .vega-page-notification-title{font-family:\"Inter\", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.mobile) .vega-page-notification-title{font-family:\"Inter\", sans-serif;font-size:18px;font-weight:700;line-height:25px;letter-spacing:0px}}:host .vega-page-notification-message{color:rgba(var(--v-text-page-notification-content, 32, 54, 69, 1));font-family:\"Inter\", sans-serif;font-size:18px;font-weight:500;line-height:28px;letter-spacing:0px;overflow-wrap:break-word;margin-top:2px}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-page-notification-message{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-page-notification-message{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-page-notification-message{font-family:\"Inter\", sans-serif;font-size:16px;font-weight:500;line-height:22px;letter-spacing:0px}}:host(.mobile) .vega-page-notification-message{font-family:\"Inter\", sans-serif;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px}@media screen and (min-width: 768px) and (max-width: 1023px){:host(.mobile) .vega-page-notification-message{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host(.mobile) .vega-page-notification-message{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host(.mobile) .vega-page-notification-message{font-family:\"Inter\", sans-serif;font-size:12px;font-weight:400;line-height:18px;letter-spacing:0px}}:host .vega-page-notification-actions-container vega-button::part(button):hover,:host .vega-page-notification-actions-container vega-button::part(button){font-family:\"Inter\", sans-serif;font-size:18px;font-weight:700;line-height:24px;letter-spacing:0px;background-color:rgba(var(--v-bg-transparent, 0, 0, 0, 0));color:rgba(var(--v-text-page-notification-content, 32, 54, 69, 1));border:2px solid rgba(var(--v-text-page-notification-content, 32, 54, 69, 1))}@media screen and (min-width: 768px) and (max-width: 1023px){:host .vega-page-notification-actions-container vega-button::part(button):hover,:host .vega-page-notification-actions-container vega-button::part(button){font-family:\"Inter\", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1024px) and (max-width: 1439px){:host .vega-page-notification-actions-container vega-button::part(button):hover,:host .vega-page-notification-actions-container vega-button::part(button){font-family:\"Inter\", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}@media screen and (min-width: 1440px) and (max-width: 9999px){:host .vega-page-notification-actions-container vega-button::part(button):hover,:host .vega-page-notification-actions-container vega-button::part(button){font-family:\"Inter\", sans-serif;font-size:16px;font-weight:700;line-height:24px;letter-spacing:0px}}:host(.success){background-color:rgba(var(--v-bg-status-success, 160, 233, 167, 1))}:host(.warning){background-color:rgba(var(--v-bg-status-warning, 255, 220, 131, 1))}:host(.error){background-color:rgba(var(--v-bg-status-error, 255, 110, 139, 1))}:host(.info){background-color:rgba(var(--v-bg-status-info, 205, 209, 211, 1))}.vega-page-notification-list{display:flex;flex-direction:column;align-items:flex-end;position:fixed}.vega-page-notification-list-topRight{top:24px;right:24px}.vega-page-notification-list-bottom{left:0px;right:0px;padding-left:16px;padding-right:16px;align-items:center;bottom:0px}@keyframes fade-in-right{from{opacity:0;transform:translateX(100%)}to{opacity:1;transform:none}}@keyframes fade-in-up{from{opacity:0;transform:translateY(100%)}to{opacity:1;transform:none}}@keyframes fade-out{from{opacity:1}to{opacity:0}}";
|
|
@@ -2,14 +2,14 @@ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement
|
|
|
2
2
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
3
3
|
import { n as normalizeNumberByRanger, c as convertToNumber } from './number-e2519d1c.js';
|
|
4
4
|
import { D as DomNodeSubjectObserverFactory } from './dom-node-subject-observer-factory-4c0f1048.js';
|
|
5
|
-
import { o as VegaFormSubmit, u as VegaBlur, e as VegaChange, a as VegaClick, C as VegaPageSizeChange } from './vega-event-id-
|
|
5
|
+
import { o as VegaFormSubmit, u as VegaBlur, e as VegaChange, a as VegaClick, C as VegaPageSizeChange } from './vega-event-id-13e22d1e.js';
|
|
6
6
|
import { a as arrayToClassString } from './ui-28499aab.js';
|
|
7
|
-
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-
|
|
8
|
-
import { c as createEventEmitSlimmer } from './event-emit-slimmer-
|
|
7
|
+
import { C as ChildNodesEventPreventSlimmer } from './child-nodes-event-prevent-slimmer-75851864.js';
|
|
8
|
+
import { c as createEventEmitSlimmer } from './event-emit-slimmer-929b3e70.js';
|
|
9
9
|
import { I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
10
10
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
11
11
|
import './change-manager-8ddd9afe.js';
|
|
12
|
-
import './internal-vega-event-manager-
|
|
12
|
+
import './internal-vega-event-manager-b0d04798.js';
|
|
13
13
|
import './vega-env-manager-8f8dc473.js';
|
|
14
14
|
import './feature-flag-controller-9818c025.js';
|
|
15
15
|
import './index-dc8f8d91.js';
|
|
@@ -248,8 +248,12 @@ const VegaPagination = class {
|
|
|
248
248
|
switch (item) {
|
|
249
249
|
case 'currentPageLabel':
|
|
250
250
|
return (h(VegaPaginationCurrentPageLabel, { total: this.total, current: this.current, pageSize: this.pageSize }));
|
|
251
|
-
case 'pageSizeSelector':
|
|
252
|
-
|
|
251
|
+
case 'pageSizeSelector': {
|
|
252
|
+
const pageSizeSelectorOptions = this.pageSizeSelectorOptions.includes(this.pageSize)
|
|
253
|
+
? this.pageSizeSelectorOptions
|
|
254
|
+
: [...this.pageSizeSelectorOptions, this.pageSize];
|
|
255
|
+
return (h(VegaPaginationPageSizeSelector, { pageSize: this.pageSize, pageSizeSelectorOptions: pageSizeSelectorOptions, onChange: this.onPageSizeSelectorChange }));
|
|
256
|
+
}
|
|
253
257
|
case 'pageSelector':
|
|
254
258
|
return (h(VegaPaginationPageSelector, { current: this.current, total: this.total, onChange: this.onPageSelectorChange, pageCount: this.pageCount }));
|
|
255
259
|
case 'goTo':
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement, H as Host } from './index-c3505689.js';
|
|
2
|
-
import { h as array, t as tau, j as constant, I as InteractingEntryGenerator, k as d3Select, B as BaseDrawer, a as BaseChart, L as LayoutInputProcessor, P as ProcessorChain, b as LegendInputProcessor, c as LegendDrawer } from './legend-input-processor-
|
|
2
|
+
import { h as array, t as tau, j as constant, I as InteractingEntryGenerator, k as d3Select, B as BaseDrawer, a as BaseChart, L as LayoutInputProcessor, P as ProcessorChain, b as LegendInputProcessor, c as LegendDrawer } from './legend-input-processor-abb0b4f4.js';
|
|
3
3
|
import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
4
4
|
import { I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
5
5
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
6
|
-
import './array-
|
|
6
|
+
import './array-506b88b9.js';
|
|
7
7
|
import './number-e2519d1c.js';
|
|
8
8
|
import './typography-a8fc4764.js';
|
|
9
9
|
import './pixel-f32c07ce.js';
|
|
@@ -3,15 +3,15 @@ import { s as sanitizeVegaComponent } from './component-40be4402.js';
|
|
|
3
3
|
import { I as InjectKeyboardManager } from './inject-keyboard-manager-09215243.js';
|
|
4
4
|
import { a as MapToComponentField, M as MapToComponentMethod, V as VegaSlimmer, I as InjectVegaSlimmer } from './global-slimmer-registry-16fd7452.js';
|
|
5
5
|
import { V as VegaComponentUsageRuntimeMetricsSlimmer, I as InjectVegaGlobalSlimmer } from './component-usage-runtime-metrics-ac372454.js';
|
|
6
|
-
import { c as createEventEmitSlimmer } from './event-emit-slimmer-
|
|
7
|
-
import { D as VegaPopoverShow, E as VegaPopoverHide } from './vega-event-id-
|
|
6
|
+
import { c as createEventEmitSlimmer } from './event-emit-slimmer-929b3e70.js';
|
|
7
|
+
import { D as VegaPopoverShow, E as VegaPopoverHide } from './vega-event-id-13e22d1e.js';
|
|
8
8
|
import { E as ElementAppenderSlimmer } from './element-appender-slimmer-4b08a52e.js';
|
|
9
9
|
import './keyboard-manager-bf9284d2.js';
|
|
10
10
|
import './ui-28499aab.js';
|
|
11
11
|
import './dynamic-slimmer-ef83e258.js';
|
|
12
12
|
import './change-manager-8ddd9afe.js';
|
|
13
13
|
import './dom-node-subject-observer-factory-4c0f1048.js';
|
|
14
|
-
import './internal-vega-event-manager-
|
|
14
|
+
import './internal-vega-event-manager-b0d04798.js';
|
|
15
15
|
import './ui-df46cc20.js';
|
|
16
16
|
import './type-guard-4bc3fbf5.js';
|
|
17
17
|
import './breakpoints-e59edf8d.js';
|