@globalpayments/vega 2.29.0 → 2.30.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-46ab4eb3.js → app-globals-391d9a14.js} +4 -3
- package/dist/cjs/{child-nodes-event-prevent-slimmer-0245d631.js → child-nodes-event-prevent-slimmer-bed95a1b.js} +2 -2
- package/dist/cjs/{element-appender-slimmer-2b251c0a.js → element-appender-slimmer-415d261a.js} +725 -536
- package/dist/cjs/{event-emit-slimmer-d409d0ac.js → event-emit-slimmer-b321e3f5.js} +1 -1
- package/dist/cjs/{feature-flag-controller-078da332.js → feature-flag-controller-f0619cc7.js} +5 -0
- package/dist/cjs/index-d6bf3435.js +15 -0
- package/dist/cjs/index.cjs.js +6 -5
- package/dist/cjs/{internal-vega-event-manager-4d9a8e67.js → internal-vega-event-manager-9ffb3ed1.js} +10 -3
- package/dist/cjs/loader.cjs.js +7 -6
- package/dist/cjs/vega-accordion.cjs.entry.js +3 -3
- package/dist/cjs/vega-app-header-button.cjs.entry.js +5 -5
- package/dist/cjs/vega-banner.cjs.entry.js +4 -4
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +5 -5
- package/dist/cjs/vega-button-circle.cjs.entry.js +5 -5
- package/dist/cjs/vega-button-group_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-button-link.cjs.entry.js +5 -5
- package/dist/cjs/vega-button.cjs.entry.js +5 -5
- package/dist/cjs/vega-calendar_3.cjs.entry.js +5 -5
- package/dist/cjs/vega-carousel.cjs.entry.js +3 -3
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-chip.cjs.entry.js +5 -5
- package/dist/cjs/vega-color-picker.cjs.entry.js +11 -5
- package/dist/cjs/vega-combo-box.cjs.entry.js +359 -175
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +12 -9
- package/dist/cjs/vega-dialog_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +34 -20
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/{vega-event-id-e40ac8f0.js → vega-event-id-419d36a8.js} +2 -0
- package/dist/cjs/vega-field-label.cjs.entry.js +3 -3
- package/dist/cjs/vega-file-uploader.cjs.entry.js +3 -3
- package/dist/cjs/vega-flex.cjs.entry.js +1 -1
- package/dist/cjs/vega-form.cjs.entry.js +5 -5
- package/dist/cjs/vega-image-uploader.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-numeric.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-range.cjs.entry.js +5 -5
- package/dist/cjs/vega-input-select.cjs.entry.js +18 -6
- package/dist/cjs/vega-input.cjs.entry.js +3 -3
- 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 +7 -7
- package/dist/cjs/vega-popover_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-progress-tracker.cjs.entry.js +3 -3
- package/dist/cjs/vega-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-segment-control.cjs.entry.js +3 -3
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +10 -10
- package/dist/cjs/vega-signature-capture.cjs.entry.js +3 -3
- package/dist/cjs/{vega-skeleton-loader-controller-4bd8cc88.js → vega-skeleton-loader-controller-4a016b04.js} +2 -12
- package/dist/cjs/vega-stepper.cjs.entry.js +5 -5
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +5 -5
- package/dist/cjs/vega-table_8.cjs.entry.js +5 -5
- package/dist/cjs/vega-textarea.cjs.entry.js +5 -5
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +3 -3
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +6 -6
- package/dist/cjs/vega.cjs.js +7 -6
- package/dist/collection/components/vega-color-picker/vega-color-picker.css +8 -8
- package/dist/collection/components/vega-color-picker/vega-color-picker.js +30 -3
- package/dist/collection/components/vega-combo-box/slimmers/controllers/vega-combo-box-keyboard-controller.js +114 -0
- package/dist/collection/components/vega-combo-box/slimmers/controllers/vega-combo-box-value-controller.js +23 -0
- package/dist/collection/components/vega-combo-box/slimmers/renderers/vega-combo-box-dropdown-renderer.js +147 -0
- package/dist/collection/components/vega-combo-box/slimmers/renderers/vega-combo-box-renderer.js +50 -0
- package/dist/collection/components/vega-combo-box/vega-combo-box.js +30 -177
- package/dist/collection/components/vega-date-picker/slimmers/controllers/vega-date-picker-element-appender-controller.js +2 -0
- package/dist/collection/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.js +19 -5
- package/dist/collection/components/vega-dropdown/vega-dropdown.js +55 -9
- package/dist/collection/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.js +7 -1
- package/dist/collection/components/vega-input-select/vega-input-select.js +55 -2
- package/dist/collection/components/vega-sidenav/vega-sidenav-group/vega-sidenav-group.js +4 -4
- package/dist/collection/components/vega-sidenav/vega-sidenav-link/vega-sidenav-link.js +9 -9
- package/dist/collection/components/vega-sidenav/vega-sidenav.js +12 -12
- package/dist/collection/constants/ui.js +1 -0
- package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +10 -3
- package/dist/collection/helpers/event-manager/event-id/vega-event-id.js +1 -0
- package/dist/collection/helpers/event-manager/test/vega-event-manager.test.js +2 -1
- package/dist/collection/helpers/feature-control/feature-flags-map.js +5 -0
- package/dist/collection/helpers/slimmers/element-appender-container/body-positioned-wrapper/body-positioned-wrapper.abstract.js +13 -0
- package/dist/collection/helpers/slimmers/element-appender-container/{position-relative-to-wrapper.js → body-positioned-wrapper/position-relative-to-wrapper.js} +23 -21
- package/dist/collection/helpers/slimmers/element-appender-container/{vega-modal-wrapper.js → body-positioned-wrapper/vega-modal-wrapper.js} +18 -15
- package/dist/collection/helpers/slimmers/element-appender-container/{vega-popover-wrapper.js → body-positioned-wrapper/vega-popover-wrapper.js} +20 -19
- package/dist/collection/helpers/slimmers/element-appender-container/default-wrapper.js +19 -19
- package/dist/collection/helpers/slimmers/element-appender-container/element-appender-container-controller.js +3 -3
- package/dist/collection/helpers/slimmers/element-appender-slimmer.js +10 -0
- package/dist/collection/helpers/slimmers/position-calculation/base-position-calculation-strategy.js +345 -0
- package/dist/collection/helpers/slimmers/position-calculation/body-position-calculation-strategy.js +66 -0
- package/dist/collection/helpers/slimmers/position-calculation/position-calculation-controller.js +121 -0
- package/dist/collection/helpers/slimmers/position-calculation/screen-position-calculation-strategy.js +59 -0
- package/dist/collection/{utils/test/position.test.js → helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.js} +135 -45
- package/dist/collection/helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.js +113 -0
- package/dist/collection/helpers/ui/element-appender.js +21 -70
- package/dist/collection/helpers/ui/test/element-appender.test.js +53 -0
- package/dist/collection/utils/pagination.js +2 -2
- package/dist/esm/{app-globals-d90e7905.js → app-globals-00a57fbe.js} +3 -2
- package/dist/esm/{child-nodes-event-prevent-slimmer-4ecbc8aa.js → child-nodes-event-prevent-slimmer-db288af1.js} +2 -2
- package/dist/esm/{element-appender-slimmer-6cf76806.js → element-appender-slimmer-48d826b2.js} +719 -530
- package/dist/esm/{event-emit-slimmer-cb9d6f6c.js → event-emit-slimmer-44cb4573.js} +1 -1
- package/dist/esm/{feature-flag-controller-10780eeb.js → feature-flag-controller-297c4b9b.js} +5 -0
- package/dist/esm/index-fda6b5ee.js +13 -0
- package/dist/esm/index.js +5 -4
- package/dist/esm/{internal-vega-event-manager-1ebfd1eb.js → internal-vega-event-manager-8154661e.js} +10 -3
- package/dist/esm/loader.js +7 -6
- package/dist/esm/vega-accordion.entry.js +3 -3
- package/dist/esm/vega-app-header-button.entry.js +5 -5
- package/dist/esm/vega-banner.entry.js +4 -4
- package/dist/esm/vega-breadcrumb.entry.js +5 -5
- package/dist/esm/vega-button-circle.entry.js +5 -5
- package/dist/esm/vega-button-group_2.entry.js +5 -5
- package/dist/esm/vega-button-link.entry.js +5 -5
- package/dist/esm/vega-button.entry.js +5 -5
- package/dist/esm/vega-calendar_3.entry.js +5 -5
- package/dist/esm/vega-carousel.entry.js +3 -3
- package/dist/esm/vega-checkbox_2.entry.js +5 -5
- package/dist/esm/vega-chip.entry.js +5 -5
- package/dist/esm/vega-color-picker.entry.js +12 -6
- package/dist/esm/vega-combo-box.entry.js +362 -178
- package/dist/esm/vega-date-picker_2.entry.js +12 -9
- package/dist/esm/vega-dialog_2.entry.js +5 -5
- package/dist/esm/vega-dropdown_5.entry.js +34 -20
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/{vega-event-id-7465a011.js → vega-event-id-b1655cbc.js} +2 -1
- package/dist/esm/vega-field-label.entry.js +3 -3
- package/dist/esm/vega-file-uploader.entry.js +3 -3
- package/dist/esm/vega-flex.entry.js +1 -1
- package/dist/esm/vega-form.entry.js +5 -5
- package/dist/esm/vega-image-uploader.entry.js +5 -5
- package/dist/esm/vega-input-credit-card.entry.js +5 -5
- package/dist/esm/vega-input-numeric.entry.js +5 -5
- package/dist/esm/vega-input-phone-number.entry.js +5 -5
- package/dist/esm/vega-input-range.entry.js +5 -5
- package/dist/esm/vega-input-select.entry.js +18 -6
- package/dist/esm/vega-input.entry.js +3 -3
- 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-page-notification_2.entry.js +1 -1
- package/dist/esm/vega-pagination.entry.js +7 -7
- package/dist/esm/vega-popover_2.entry.js +8 -8
- package/dist/esm/vega-progress-tracker.entry.js +3 -3
- package/dist/esm/vega-radio_2.entry.js +5 -5
- package/dist/esm/vega-segment-control.entry.js +3 -3
- package/dist/esm/vega-selection-chip_2.entry.js +5 -5
- package/dist/esm/vega-selection-tile_2.entry.js +5 -5
- package/dist/esm/vega-sidenav_3.entry.js +10 -10
- package/dist/esm/vega-signature-capture.entry.js +3 -3
- package/dist/esm/{vega-skeleton-loader-controller-def7bf3f.js → vega-skeleton-loader-controller-cec6753f.js} +2 -12
- package/dist/esm/vega-stepper.entry.js +5 -5
- package/dist/esm/vega-tab-group_2.entry.js +5 -5
- package/dist/esm/vega-table_8.entry.js +5 -5
- package/dist/esm/vega-textarea.entry.js +5 -5
- package/dist/esm/vega-time-picker_2.entry.js +7 -7
- package/dist/esm/vega-toggle-switch.entry.js +3 -3
- package/dist/esm/vega-tooltip_2.entry.js +6 -6
- package/dist/esm/vega.js +7 -6
- package/dist/types/components/vega-color-picker/vega-color-picker.d.ts +6 -0
- package/dist/types/components/vega-combo-box/slimmers/controllers/vega-combo-box-keyboard-controller.d.ts +29 -0
- package/dist/types/components/vega-combo-box/slimmers/controllers/vega-combo-box-value-controller.d.ts +14 -0
- package/dist/types/components/vega-combo-box/slimmers/renderers/vega-combo-box-dropdown-renderer.d.ts +41 -0
- package/dist/types/components/vega-combo-box/slimmers/renderers/vega-combo-box-renderer.d.ts +17 -0
- package/dist/types/components/vega-combo-box/vega-combo-box.d.ts +8 -48
- package/dist/types/components/vega-dropdown/slimmers/renderers/vega-dropdown-search-renderer.d.ts +1 -0
- package/dist/types/components/vega-dropdown/types.d.ts +5 -0
- package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +21 -1
- package/dist/types/components/vega-input-select/slimmers/controllers/vega-input-select-dropdown-controller.d.ts +1 -0
- package/dist/types/components/vega-input-select/vega-input-select.d.ts +20 -0
- package/dist/types/components/vega-sidenav/vega-sidenav-group/vega-sidenav-group.d.ts +3 -3
- package/dist/types/components/vega-sidenav/vega-sidenav-link/vega-sidenav-link.d.ts +7 -7
- package/dist/types/components/vega-sidenav/vega-sidenav.d.ts +8 -8
- package/dist/types/components.d.ts +58 -26
- package/dist/types/constants/ui.d.ts +1 -1
- package/dist/types/helpers/event-manager/event-id/vega-event-id.d.ts +1 -0
- package/dist/types/helpers/feature-control/feature-flag.d.ts +2 -1
- package/dist/types/helpers/slimmers/element-appender-container/body-positioned-wrapper/body-positioned-wrapper.abstract.d.ts +15 -0
- package/dist/types/helpers/slimmers/element-appender-container/{position-relative-to-wrapper.d.ts → body-positioned-wrapper/position-relative-to-wrapper.d.ts} +5 -5
- package/dist/types/helpers/slimmers/element-appender-container/{vega-modal-wrapper.d.ts → body-positioned-wrapper/vega-modal-wrapper.d.ts} +5 -5
- package/dist/types/helpers/slimmers/element-appender-container/{vega-popover-wrapper.d.ts → body-positioned-wrapper/vega-popover-wrapper.d.ts} +5 -5
- package/dist/types/helpers/slimmers/element-appender-container/default-wrapper.d.ts +2 -2
- package/dist/types/helpers/slimmers/element-appender-container/element-appender-container-controller.d.ts +3 -3
- package/dist/types/helpers/slimmers/element-appender-slimmer.d.ts +1 -0
- package/dist/types/helpers/slimmers/position-calculation/base-position-calculation-strategy.d.ts +138 -0
- package/dist/types/helpers/slimmers/position-calculation/body-position-calculation-strategy.d.ts +34 -0
- package/dist/types/helpers/slimmers/position-calculation/position-calculation-controller.d.ts +54 -0
- package/dist/types/helpers/slimmers/position-calculation/screen-position-calculation-strategy.d.ts +34 -0
- package/dist/types/helpers/slimmers/position-calculation/test/body-position-calculation-strategy.test.d.ts +15 -0
- package/dist/types/helpers/ui/element-appender.d.ts +9 -24
- package/dist/types/types/components.type.d.ts +1 -0
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-cf998fc5.entry.js → p-00c5aee5.entry.js} +1 -1
- package/dist/vega/{p-f6d4c1ff.entry.js → p-042b4b3f.entry.js} +1 -1
- package/dist/vega/{p-817a83c6.entry.js → p-07a8cf89.entry.js} +1 -1
- package/dist/vega/p-0abe1ade.entry.js +1 -0
- package/dist/vega/{p-74fcdbc6.entry.js → p-0f0e4198.entry.js} +1 -1
- package/dist/vega/{p-d7800ca2.entry.js → p-14f5a9ad.entry.js} +1 -1
- package/dist/vega/p-15023bad.entry.js +1 -0
- package/dist/vega/{p-38f26c82.entry.js → p-1be2fd46.entry.js} +1 -1
- package/dist/vega/p-1bfcb6b7.entry.js +1 -0
- package/dist/vega/{p-b0a6421a.entry.js → p-20d9c07c.entry.js} +1 -1
- package/dist/vega/p-2306c736.js +1 -0
- package/dist/vega/{p-8ef03eed.js → p-302e7589.js} +1 -1
- package/dist/vega/p-34710a3c.entry.js +1 -0
- package/dist/vega/p-3903ce7a.entry.js +1 -0
- package/dist/vega/{p-0bbcc81a.entry.js → p-438caeb3.entry.js} +1 -1
- package/dist/vega/{p-319efe6c.js → p-4ffd7493.js} +1 -1
- package/dist/vega/{p-ed4a26e7.entry.js → p-57d9bde6.entry.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-ff7bd85f.entry.js → p-623fe226.entry.js} +1 -1
- package/dist/vega/{p-1d94428c.entry.js → p-63bee4f1.entry.js} +1 -1
- package/dist/vega/{p-6ac3ba21.entry.js → p-64ff6318.entry.js} +1 -1
- package/dist/vega/{p-86eda597.entry.js → p-72ecc510.entry.js} +1 -1
- package/dist/vega/p-79019d08.js +1 -0
- package/dist/vega/p-7941701a.entry.js +1 -0
- package/dist/vega/{p-689ee038.entry.js → p-799cb0a4.entry.js} +1 -1
- package/dist/vega/{p-1678b69f.entry.js → p-7a6a0740.entry.js} +1 -1
- package/dist/vega/p-80785fcf.entry.js +1 -0
- package/dist/vega/{p-0ae9b900.entry.js → p-83ef4c13.entry.js} +1 -1
- package/dist/vega/{p-ad31be2c.entry.js → p-87cd0d6a.entry.js} +1 -1
- package/dist/vega/{p-b771268b.entry.js → p-8cfe4027.entry.js} +1 -1
- package/dist/vega/{p-5dbcab1b.entry.js → p-9281cdb2.entry.js} +1 -1
- package/dist/vega/p-95b25b97.entry.js +1 -0
- package/dist/vega/p-9b45e5dc.entry.js +1 -0
- package/dist/vega/{p-0a91f217.entry.js → p-9b9c0afb.entry.js} +1 -1
- package/dist/vega/{p-92aaed64.entry.js → p-9ba68531.entry.js} +2 -2
- package/dist/vega/{p-dacf5572.entry.js → p-a66ea015.entry.js} +1 -1
- package/dist/vega/{p-d0756d70.entry.js → p-a67748c6.entry.js} +1 -1
- package/dist/vega/{p-53bb8cde.entry.js → p-a6e1d9bc.entry.js} +1 -1
- package/dist/vega/{p-8b0533c4.entry.js → p-b1a249ef.entry.js} +1 -1
- package/dist/vega/{p-cf4fea44.entry.js → p-b6e49ee9.entry.js} +1 -1
- package/dist/vega/{p-d045099d.entry.js → p-be6041fc.entry.js} +1 -1
- package/dist/vega/{p-2ae04da9.entry.js → p-bf38199b.entry.js} +1 -1
- package/dist/vega/p-bf3fbb9b.js +1 -0
- package/dist/vega/p-c06e7880.js +1 -0
- package/dist/vega/{p-e42a2a12.entry.js → p-c3c2890e.entry.js} +1 -1
- package/dist/vega/{p-b3417358.entry.js → p-c6ed1982.entry.js} +1 -1
- package/dist/vega/p-cdebfee7.entry.js +1 -0
- package/dist/vega/p-cea70476.entry.js +1 -0
- package/dist/vega/{p-e4d6e2c8.entry.js → p-d3c07efa.entry.js} +1 -1
- package/dist/vega/p-d71f968e.entry.js +1 -0
- package/dist/vega/{p-30693931.entry.js → p-e165c9f1.entry.js} +1 -1
- package/dist/vega/{p-19769aba.js → p-e5d7b4b8.js} +1 -1
- package/dist/vega/{p-ebb93b96.entry.js → p-e6f91767.entry.js} +1 -1
- package/dist/vega/p-ed237efc.js +1 -0
- package/dist/vega/{p-a105e4de.js → p-f2851f16.js} +1 -1
- package/dist/vega/{p-975c5a3a.entry.js → p-fb3233db.entry.js} +1 -1
- package/dist/vega/{p-a0f5d2cc.entry.js → p-ff22a95f.entry.js} +1 -1
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +4 -2
- package/dist/collection/utils/position.js +0 -373
- package/dist/types/utils/position.d.ts +0 -17
- package/dist/vega/p-001c0b51.entry.js +0 -1
- package/dist/vega/p-0064f5b1.entry.js +0 -1
- package/dist/vega/p-19ef612a.js +0 -1
- package/dist/vega/p-1f03b576.entry.js +0 -1
- package/dist/vega/p-270b0d1a.entry.js +0 -1
- package/dist/vega/p-28c78b79.entry.js +0 -1
- package/dist/vega/p-31d530d2.entry.js +0 -1
- package/dist/vega/p-3f5e44c1.js +0 -1
- package/dist/vega/p-651e5c7d.entry.js +0 -1
- package/dist/vega/p-68823025.js +0 -1
- package/dist/vega/p-6b8277eb.js +0 -1
- package/dist/vega/p-7d02f723.entry.js +0 -1
- package/dist/vega/p-8bd09712.entry.js +0 -1
- package/dist/vega/p-a14be625.entry.js +0 -1
- package/dist/vega/p-cc272fbc.entry.js +0 -1
- package/dist/vega/p-e2c25432.entry.js +0 -1
- /package/dist/types/{utils/test/position.test.d.ts → helpers/slimmers/position-calculation/test/screen-position-calculation-strategy.test.d.ts} +0 -0
package/dist/vega/vega.esm.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-1c298d5a.js";import{g as i}from"./p-68823025.js";import"./p-319efe6c.js";import"./p-6e1ab235.js";import"./p-f404aa83.js";import"./p-a105e4de.js";import"./p-5440344e.js";import"./p-6a334573.js";import"./p-4163c2c2.js";import"./p-781fd6e0.js";import"./p-262ec334.js";import"./p-47c87634.js";import"./p-f46c930f.js";import"./p-74168615.js";import"./p-19ef612a.js";import"./p-3f5e44c1.js";import"./p-bdb94242.js";import"./p-5f377954.js";import"./p-4d25df7d.js";import"./p-9f3b1d77.js";import"./p-2d0d575f.js";import"./p-32f651f7.js";import"./p-c59042c0.js";import"./p-74958b1a.js";import"./p-3a0a4d15.js";import"./p-331a62d5.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((e=>(i(),a(JSON.parse('[["p-31d530d2",[[1,"vega-pagination",{"current":[1538],"total":[2],"pageSize":[1026,"page-size"],"extensions":[16],"pageSizeSelectorOptions":[1040],"pageCount":[32]}]]],["p-28c78b79",[[1,"vega-combo-box",{"label":[1],"required":[516],"source":[1040],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"disabled":[516],"placeholder":[1],"hint":[1],"size":[1],"vegaDropdownProps":[16],"useDefaultFilter":[4,"use-default-filter"],"close":[64],"open":[64]}]]],["p-b771268b",[[1,"vega-stepper",{"stepperId":[513,"id"],"max":[514],"min":[514],"value":[1538],"label":[1],"inputDisabled":[4,"input-disabled"],"disabled":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"buttonVariant":[1,"button-variant"]}]]],["p-8b0533c4",[[1,"vega-page-notification",{"notificationTitle":[1,"title"],"message":[1],"type":[1],"duration":[2],"showCloseButton":[4,"show-close-button"],"actionButtons":[16],"close":[64]}],[1,"vega-page-notification-list"]]],["p-a14be625",[[1,"vega-color-picker",{"value":[1537],"hint":[1],"disabled":[516],"required":[516],"label":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"colors":[16]}]]],["p-0a91f217",[[1,"vega-app-header-button",{"dropdown":[16],"size":[1],"label":[1],"showLabel":[4,"show-label"],"avatar":[16],"avatarPosition":[1,"avatar-position"],"showBorder":[4,"show-border"],"showMenuArrowIcon":[4,"show-menu-arrow-icon"],"selected":[4],"isDropdownShow":[32],"currentBreakpoint":[32]}]]],["p-30693931",[[1,"vega-button-link",{"link":[1],"size":[1],"icon":[513],"iconType":[1,"icon-type"],"iconAlign":[1,"icon-align"],"label":[1025],"disabled":[4],"danger":[4],"eventful":[4]}]]],["p-e2c25432",[[1,"vega-input-credit-card",{"required":[1540],"disabled":[516],"label":[1],"hint":[1],"size":[1],"placeholder":[1],"hideCardNumberOnBlur":[4,"hide-card-number-on-blur"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"isValid":[1540,"is-valid"],"value":[1537]}]]],["p-5dbcab1b",[[1,"vega-item-toggle",{"itemToggleStatusMap":[16],"statusMap":[16],"isToggled":[1028,"is-toggled"],"toggleItemStatus":[32]}]]],["p-cf4fea44",[[1,"vega-progress-tracker",{"current":[2],"direction":[1],"steps":[16],"completedStepArray":[16],"completedSteps":[16],"canClickStep":[4,"can-click-step"],"nextStep":[64],"prevStep":[64],"setCurrent":[64],"getCurrent":[64]}]]],["p-d045099d",[[1,"vega-checkbox",{"identifier":[1],"value":[1032],"checked":[1028],"disabled":[516],"size":[1],"required":[516],"isValid":[1540,"is-valid"],"groupDisabled":[32],"showError":[32],"setValue":[64]}],[1,"vega-checkbox-group",{"label":[1],"value":[1040],"vegaFlexProp":[16],"disabled":[516],"required":[516],"hint":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16]}]]],["p-810ba5c3",[[1,"vega-hint"]]],["p-dacf5572",[[1,"vega-button-group",{"variant":[1],"size":[1],"iconAlign":[1,"icon-align"]}],[1,"vega-button-group-item",{"icon":[1],"label":[1],"iconOnly":[4,"icon-only"],"itemKey":[1,"item-key"],"dropdownProps":[16],"dropdownSource":[16],"variant":[32],"size":[32],"iconAlign":[32]}]]],["p-bb6f8b70",[[1,"vega-loading-indicator",{"shape":[1],"size":[1],"mode":[1],"percent":[2],"label":[1],"hint":[1],"status":[1],"currentBreakpoint":[32]}],[1,"vega-loader-wrapper"]]],["p-1f03b576",[[1,"vega-radio-group",{"label":[1],"value":[1537],"name":[1],"vegaFlexProp":[16],"required":[516],"hint":[1],"isValid":[1540,"is-valid"],"disabled":[516],"autoValidation":[516,"auto-validation"],"validationRules":[16]}],[1,"vega-radio",{"value":[1],"name":[1],"checked":[1028],"disabled":[4],"size":[1],"groupDisabled":[32],"showError":[32]}]]],["p-7d02f723",[[1,"vega-table",{"columns":[16],"dataSource":[1040],"rowSelection":[1040],"rowExpandable":[4,"row-expandable"],"rowClickable":[4,"row-clickable"],"rowDivider":[4,"row-divider"],"columnDivider":[4,"column-divider"],"striped":[4],"density":[1],"paddingX":[16],"showHeader":[4,"show-header"],"pagination":[16],"emptyDescription":[1,"empty-description"],"rowKey":[1,"row-key"],"scrollConfig":[16],"sortConfig":[16],"selectedRowKeySet":[32],"expandedRowKeySet":[32],"currentBreakpoint":[32],"sortersMap":[32],"currentData":[32],"currentClickedRowKey":[32],"currentPage":[32],"pageSize":[32],"editingRows":[32],"isSelectedAll":[32],"isTemplateRenderMode":[32],"openExpandRow":[64],"closeExpandRow":[64],"closeAllExpandRow":[64],"toggleExpandRow":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64],"startRowEditMode":[64],"stopRowEditMode":[64],"stopAllRowEditMode":[64],"getRowData":[64],"getRowsData":[64],"getFormRef":[64],"addNewRow":[64],"saveEditRow":[64],"saveAllEditRows":[64],"getEditingRowsKey":[64],"removeRow":[64]}],[1,"vega-table-body"],[1,"vega-table-cell",{"textAlign":[1,"text-align"],"breakpoint":[1],"overflow":[1],"width":[1],"currentBreakpoint":[32],"density":[32]}],[1,"vega-table-expand-row",{"rowKey":[1,"row-key"],"currentBreakpoint":[32],"withMultipleSelection":[32],"expanded":[32],"checked":[32],"colSpan":[32]}],[1,"vega-table-head",{"fixed":[32]}],[1,"vega-table-head-cell",{"breakpoint":[1],"sorter":[1],"sortOrder":[1025,"sort-order"],"textAlign":[1,"text-align"],"width":[1],"currentBreakpoint":[32],"density":[32]}],[1,"vega-table-head-row",{"selectAllDisabled":[4,"select-all-disabled"],"hideSelectAll":[4,"hide-select-all"],"currentBreakpoint":[32],"expandable":[32],"selectionType":[32],"paddingX":[32],"checkedAll":[32],"columnDivider":[32],"density":[32],"isEmptyTable":[32],"isTemplateRenderMode":[32]}],[1,"vega-table-row",{"rowKey":[1,"row-key"],"currentBreakpoint":[32],"clicked":[32],"expandable":[32],"clickable":[32],"paddingX":[32],"selectionType":[32],"checked":[32],"expanded":[32],"rowDivider":[32],"columnDivider":[32],"density":[32]}]]],["p-001c0b51",[[1,"vega-left-nav",{"open":[1028],"headerConfig":[16],"source":[16],"footnote":[1],"showAsOverlay":[4,"show-as-overlay"],"autoCollapseOnOverlay":[4,"auto-collapse-on-overlay"],"openState":[32],"toggle":[64]}],[1,"vega-left-nav-group",{"icon":[1],"label":[1]}],[1,"vega-left-nav-link",{"icon":[1],"selected":[1540],"url":[1],"counterBadge":[16]}],[1,"vega-left-nav-section",{"sectionHeader":[16]}],[1,"vega-nav-card",{"source":[16],"maxHeight":[520,"max-height"],"currentMaxHeight":[32]}]]],["p-74fcdbc6",[[1,"vega-calendar",{"viewMode":[1025,"view-mode"],"events":[16],"timeFormat":[1,"time-format"],"moreActionDropdownProps":[16],"showEventColorBar":[4,"show-event-color-bar"],"showWeekends":[4,"show-weekends"],"calendarView":[32],"currentPeriod":[32],"showAllEventsInDayOrWeekView":[32],"calendarEvents":[32]}],[1,"vega-calendar-event",{"calendarEvent":[16],"timeFormat":[32],"slotMode":[32],"showColorBar":[32]}],[1,"vega-calendar-event-slot",{"eventKey":[513,"event-key"]}]]],["p-92aaed64",[[1,"vega-date-picker",{"mode":[1],"value":[1537],"label":[1],"required":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"format":[1],"size":[1],"validationRules":[16],"minDate":[1537,"min-date"],"maxDate":[1537,"max-date"],"placeholder":[1],"clearButton":[4,"clear-button"],"readOnly":[4,"read-only"],"allowRepick":[4,"allow-repick"],"dropdownConfig":[16],"disabled":[516],"doClose":[64],"doOpen":[64]}],[1,"vega-date-picker-calendar"]]],["p-b3417358",[[1,"vega-accordion",{"drawsBackground":[4,"draws-background"],"prefixIcon":[1,"prefix-icon"],"accordionTitle":[1,"accordion-title"],"expandIconAlign":[1,"expand-icon-align"],"expand":[1028],"iconPosition":[1,"icon-position"],"showExpandIcon":[4,"show-expand-icon"],"groupId":[1,"group-id"]}]]],["p-f7728ead",[[1,"vega-app-footer",{"content":[1],"termOfUseLabel":[1,"term-of-use-label"],"termOfUseUrl":[1,"term-of-use-url"],"termOfUseUrlTarget":[1,"term-of-use-url-target"],"privacyPolicyLabel":[1,"privacy-policy-label"],"privacyPolicyUrl":[1,"privacy-policy-url"],"privacyPolicyUrlTarget":[1,"privacy-policy-url-target"],"hideDefaultLinks":[4,"hide-default-links"],"additionalLinks":[16],"showDisclaimer":[4,"show-disclaimer"],"disclaimerUrlTarget":[1,"disclaimer-url-target"]}]]],["p-7372cd79",[[1,"vega-bar-chart",{"options":[16]}]]],["p-53bb8cde",[[1,"vega-breadcrumb",{"maxItems":[8,"max-items"],"items":[16]}]]],["p-760283d1",[[1,"vega-card",{"padding":[1],"margin":[1],"variant":[1],"backgroundColor":[1,"background-color"]}]]],["p-9ba085c1",[[1,"vega-counter-badge",{"dot":[4],"color":[1],"count":[2],"offset":[16]}]]],["p-b3e754da",[[1,"vega-field-error",{"message":[1]}]]],["p-0064f5b1",[[1,"vega-image-uploader",{"value":[1040],"accept":[1],"status":[1537],"showPreviewButton":[4,"show-preview-button"],"showRemoveButton":[4,"show-remove-button"],"showReplaceButton":[4,"show-replace-button"],"disabled":[516],"required":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"label":[1],"hint":[1],"actionTitle":[1,"action-title"],"actionSubTitle":[1,"action-sub-title"],"width":[8],"height":[8],"getContentURL":[64]}]]],["p-11786565",[[1,"vega-line-chart",{"options":[16],"reRender":[64]}]]],["p-87640a4d",[[1,"vega-pie-chart",{"options":[16],"reRender":[64]}]]],["p-1d94428c",[[1,"vega-segment-control",{"block":[4],"size":[1],"segments":[16],"selected":[1025],"variant":[1],"isOverflowBlockSegments":[32]}]]],["p-eddcb385",[[1,"vega-slot-container"]]],["p-84118b6d",[[1,"vega-text",{"overflow":[1],"tooltip":[16]}]]],["p-e4d6e2c8",[[1,"vega-textarea",{"placeholder":[1],"hint":[1],"disabled":[516],"label":[1],"showCounter":[4,"show-counter"],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"required":[1540],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"resizable":[4],"validationRules":[16],"currentCharCount":[32]},[[0,"input","handleValueTextarea"]]]]],["p-6ac3ba21",[[1,"vega-toggle-switch",{"checked":[1540],"value":[1540],"size":[1],"label":[1],"required":[516],"disabled":[516],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"]}]]],["p-ad31be2c",[[1,"vega-popover",{"size":[8],"placement":[1],"alignment":[1],"positionRelativeTo":[1,"position-relative-to"],"trigger":[1],"showArrow":[4,"show-arrow"],"isPopoverShow":[32],"show":[64],"hide":[64]}],[1,"vega-popover-content-box",{"showArrow":[4,"show-arrow"]}]]],["p-d0756d70",[[1,"vega-selection-chip",{"label":[1],"size":[1],"variant":[1],"disabled":[1028],"checked":[1540],"block":[4],"disabledTooltip":[16],"swatchColor":[1,"swatch-color"],"value":[1],"showError":[32],"currentBreakpoint":[32],"selectType":[32]}],[1,"vega-selection-chip-group",{"label":[1],"hint":[1],"selectType":[1,"select-type"],"value":[1025],"required":[4],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-38f26c82",[[1,"vega-selection-tile",{"titleText":[1,"title"],"note":[1],"prefixIcon":[1,"prefix-icon"],"disabled":[1028],"checked":[1028],"selectType":[1025,"select-type"],"value":[1],"showError":[32]}],[1,"vega-selection-tile-group",{"label":[1],"hint":[1],"selectType":[1,"select-type"],"value":[1025],"layout":[1],"required":[4],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-975c5a3a",[[1,"vega-tab-group",{"selectedTabDataTarget":[1025,"selected-tab-data-target"],"gap":[1],"showCloseButton":[4,"show-close-button"],"tabItems":[1040],"positionRelativeTo":[1,"position-relative-to"],"variant":[1],"tabPages":[32],"tabWidthArray":[32],"currentPageIndex":[32]}],[1,"vega-tab-group-panel",{"isActive":[4,"is-active"]}]]],["p-cc272fbc",[[1,"vega-time-picker",{"label":[1],"mode":[1],"required":[516],"placeholder":[1],"increments":[2],"timeFormat":[513,"time-format"],"value":[1537],"size":[1],"disabled":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"positionRelativeTo":[1,"position-relative-to"],"dropdownSource":[32],"isDropdownShow":[32],"selectedTimeValue":[32]}],[1,"vega-time-picker-dropdown"]]],["p-cf998fc5",[[1,"vega-banner",{"type":[1],"bannerTitle":[1,"banner-title"],"content":[1],"actionButtons":[16],"showCloseButton":[4,"show-close-button"],"isOpen":[4,"is-open"],"doClose":[64]}]]],["p-f64fb740",[[1,"vega-divider",{"direction":[1],"variant":[1],"margin":[1],"currentBreakpoint":[32]}]]],["p-2ae04da9",[[1,"vega-file-uploader",{"label":[1],"variant":[1],"hint":[1],"value":[1040],"disabled":[4],"required":[4],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"],"accept":[1]}]]],["p-f6d4c1ff",[[1,"vega-input-numeric",{"prefixText":[1,"prefix-text"],"suffixText":[1,"suffix-text"],"prefixIcon":[1,"prefix-icon"],"value":[1025],"size":[1],"placeholder":[1],"thousandComma":[4,"thousand-comma"],"integerOnly":[4,"integer-only"],"disabled":[4],"minorIncrement":[2,"minor-increment"],"majorIncrement":[2,"major-increment"],"label":[1],"hint":[1],"required":[4],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"isCompactInputWidth":[32]}]]],["p-b0a6421a",[[1,"vega-input-phone-number",{"label":[1],"size":[1],"required":[1540],"disabled":[516],"countryCode":[1537,"country-code"],"allowedCountryCodes":[16],"value":[1537],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"placeholder":[1],"hint":[1],"phoneNumberInputValue":[32]}]]],["p-1678b69f",[[1,"vega-input-range",{"label":[1],"value":[1040],"prefixIcon":[513,"prefix-icon"],"showClearIcon":[4,"show-clear-icon"],"min":[514],"max":[514],"required":[1540],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[16],"disabled":[516],"hint":[1],"stack":[1]}]]],["p-8b084bf9",[[1,"vega-section-title",{"titleText":[1,"title"],"description":[1],"icon":[1],"iconAlign":[1,"icon-align"]}]]],["p-0ae9b900",[[1,"vega-signature-capture",{"mode":[1],"label":[1],"required":[516],"showClearBtn":[4,"show-clear-btn"],"placeholder":[1],"placeholderIcon":[1,"placeholder-icon"],"disabled":[4],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"height":[8],"currentBreakpoint":[32],"isDrawing":[32],"clear":[64]}]]],["p-b8e42c11",[[1,"vega-skeleton",{"type":[513],"width":[8],"height":[8],"animated":[4]}]]],["p-e42a2a12",[[1,"vega-dialog",{"dialogTitle":[1,"dialog-title"],"content":[1],"type":[1],"okButton":[16],"handleOk":[16],"cancelButton":[16],"handleCancel":[16],"showCancel":[4,"show-cancel"],"modalProps":[16],"currentBreakpoint":[32]}],[1,"vega-modal",{"backdrop":[1],"size":[8],"open":[1028],"animation":[4],"modalTitle":[1,"modal-title"],"backdropColor":[1,"backdrop-color"],"isVerticallyCenter":[4,"is-vertically-center"],"isVerticallyCentered":[4,"is-vertically-centered"],"showCloseButton":[4,"show-close-button"],"padding":[1],"contentMaxHeight":[2,"content-max-height"],"handleClose":[16],"currentBreakpoint":[32],"modal":[64]},[[10,"click","listenDataTarget"],[0,"click","listenDataDismiss"]]]]],["p-ed4a26e7",[[1,"vega-chip",{"text":[1],"clickable":[4],"variant":[1],"size":[1],"bgColor":[1,"bg-color"],"textColor":[1,"text-color"],"statusColor":[1,"status-color"],"chipType":[1,"chip-type"],"showCloseIcon":[4,"show-close-icon"],"icon":[1],"iconAlign":[1,"icon-align"],"currentBreakpoint":[32],"currentSize":[32]}]]],["p-689ee038",[[1,"vega-carousel",{"perPage":[2,"per-page"],"itemsPerPage":[2,"items-per-page"],"showSlider":[4,"show-slider"],"spacing":[1],"canSwipe":[4,"can-swipe"],"page":[32],"totalPages":[32],"nextPage":[64],"prevPage":[64],"goToPage":[64]}]]],["p-69e63d21",[[1,"vega-font",{"variant":[1],"color":[1],"disableResponsive":[4,"disable-responsive"],"textAlign":[1,"text-align"],"as":[1],"currentBreakpoint":[32]}]]],["p-a0f5d2cc",[[1,"vega-form",{"isValid":[1028,"is-valid"],"isTouched":[1028,"is-touched"],"valid":[64],"getValue":[64],"setValue":[64],"reset":[64]}]]],["p-8bd09712",[[1,"vega-input-select",{"label":[1],"required":[516],"selectedLabel":[16],"selectType":[1,"select-type"],"source":[1040],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[4,"auto-validation"],"validationRules":[16],"prefixIcon":[1,"prefix-icon"],"disabled":[516],"placeholder":[1],"hint":[1],"vegaDropdownProps":[16],"size":[1],"sourceLazyLoadCallback":[16],"isDropdownShow":[32],"currentBreakpoint":[32],"isLazyLoading":[32],"doClose":[64],"doOpen":[64],"doChange":[64]}]]],["p-ebb93b96",[[1,"vega-sidenav",{"source":[16],"footnote":[1],"headerConfig":[16],"openByDefault":[1,"open-by-default"],"openState":[32],"toggle":[64]},[[10,"click","collapseSidenavByBackDropClick"]]],[1,"vega-sidenav-group",{"icon":[1],"label":[1],"openState":[32]}],[1,"vega-sidenav-link",{"icon":[1],"selected":[1540],"url":[1],"showSideBarOnClickLink":[4,"show-side-bar-on-click-link"],"openState":[32]}]]],["p-ff7bd85f",[[1,"vega-button",{"size":[1],"variant":[1],"icon":[1],"iconAlign":[1,"icon-align"],"label":[1025],"disabled":[4],"danger":[4],"block":[4],"type":[1],"loading":[4],"currentBreakpoint":[32]}]]],["p-270b0d1a",[[1,"vega-dropdown-content-box"],[1,"vega-dropdown-group",{"label":[1],"divide":[4]}],[1,"vega-dropdown-item",{"label":[1],"itemKey":[513,"item-key"],"count":[2],"prefixIcon":[1,"prefix-icon"],"disabled":[4],"height":[2],"danger":[4],"selectType":[32],"prefixIconSlot":[32],"selected":[32],"itemDisplayRule":[32]}],[1,"vega-virtual-scroll",{"source":[16],"approxItemHeight":[2,"approx-item-height"],"viewportMaxHeight":[2,"viewport-max-height"],"isLoading":[4,"is-loading"],"virtualizationThreshold":[2,"virtualization-threshold"],"sourceItemIdentifier":[1,"source-item-identifier"],"renderItem":[16],"positionConfig":[32],"scrollTop":[32],"scrollToIndex":[64]}],[1,"vega-dropdown",{"size":[8],"trigger":[1],"translocation":[16],"source":[1040],"positionRelativeTo":[1,"position-relative-to"],"selectType":[1,"select-type"],"selectedSourceKey":[1025,"selected-source-key"],"prefixIconSlot":[4,"prefix-icon-slot"],"maxHeight":[2,"max-height"],"searchable":[4],"matchTargetWidth":[4,"match-target-width"],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"itemDisplayRule":[1,"item-display-rule"],"matchContainerHeight":[4,"match-container-height"],"caseSensitive":[4,"case-sensitive"],"dynamicOption":[4,"dynamic-option"],"useDefaultFilter":[4,"use-default-filter"],"isLoading":[4,"is-loading"],"placement":[1],"alignment":[1],"isLazyLoading":[4,"is-lazy-loading"],"searchTriggerBy":[1,"search-trigger-by"],"searchString":[32],"isDropdownShow":[32],"sourceForRender":[32],"show":[64],"hide":[64],"search":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64]}]]],["p-b4e92130",[[1,"vega-backdrop",{"color":[1],"visible":[4],"duration":[2]}]]],["p-4022f395",[[1,"vega-box",{"padding":[1],"margin":[1],"display":[1],"border":[1],"borderStyle":[1,"border-style"],"shadow":[1],"borderColor":[1,"border-color"],"backgroundColor":[1,"background-color"],"width":[8],"height":[8],"minHeight":[8,"min-height"],"maxHeight":[8,"max-height"],"responsiveClass":[1,"responsive-class"],"corners":[1],"flexBasis":[1,"flex-basis"],"flexGrow":[8,"flex-grow"],"flexShrink":[8,"flex-shrink"],"order":[8],"flex":[8],"alignSelf":[1,"align-self"],"justifySelf":[1,"justify-self"],"gridColumn":[8,"grid-column"],"gridRow":[8,"grid-row"],"gridArea":[8,"grid-area"],"currentBreakpoint":[32]}]]],["p-f2685ec5",[[1,"vega-grid",{"column":[8],"row":[8],"gap":[1]}]]],["p-817a83c6",[[1,"vega-tooltip-content-box",{"text":[1]}],[1,"vega-tooltip",{"size":[8],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"trigger":[1],"content":[1],"text":[1],"placement":[1],"alignment":[1],"positionRelativeTo":[1,"position-relative-to"],"disableInteractive":[4,"disable-interactive"],"isTooltipShow":[32]}]]],["p-7df3aa44",[[1,"vega-icon",{"icon":[513],"size":[1],"color":[1]}]]],["p-86eda597",[[1,"vega-button-circle",{"size":[1],"variant":[1],"icon":[513],"label":[1],"disabled":[4],"danger":[4],"type":[1],"iconColor":[1,"icon-color"],"showTooltip":[4,"show-tooltip"],"tooltip":[16]}]]],["p-0bbcc81a",[[1,"vega-field-label",{"suffixButtonProps":[16],"label":[1025],"isFieldRequired":[4,"is-field-required"],"disabled":[4]}]]],["p-651e5c7d",[[1,"vega-input",{"label":[1],"labelSuffixButtonProps":[16],"value":[1537],"valueUpdateTrigger":[1,"value-update-trigger"],"type":[513],"name":[1],"autocomplete":[1],"prefixIcon":[513,"prefix-icon"],"email":[516],"required":[1540],"min":[514],"max":[514],"minLength":[514,"min-length"],"maxLength":[514,"max-length"],"showClearIcon":[4,"show-clear-icon"],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[1],"disabled":[516],"hint":[1],"maskConfig":[16],"disableCopyPaste":[4,"disable-copy-paste"],"prefixText":[32],"suffixText":[32],"isCompactInputWidth":[32],"doFocus":[64],"doBlur":[64]}]]],["p-d7800ca2",[[1,"vega-flex",{"gap":[1],"margin":[1],"breakpoint":[1],"direction":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"],"flexWrap":[1,"flex-wrap"],"flex":[8],"flexBasis":[1,"flex-basis"],"flexGrow":[8,"flex-grow"],"flexShrink":[8,"flex-shrink"],"useNativeFlex":[4,"use-native-flex"],"currentBreakpoint":[32]}]]]]'),e))));
|
|
1
|
+
import{p as e,b as a}from"./p-1c298d5a.js";import{g as i}from"./p-c06e7880.js";import"./p-4ffd7493.js";import"./p-6e1ab235.js";import"./p-f404aa83.js";import"./p-f2851f16.js";import"./p-5440344e.js";import"./p-6a334573.js";import"./p-4163c2c2.js";import"./p-781fd6e0.js";import"./p-262ec334.js";import"./p-47c87634.js";import"./p-f46c930f.js";import"./p-74168615.js";import"./p-2306c736.js";import"./p-bf3fbb9b.js";import"./p-bdb94242.js";import"./p-5f377954.js";import"./p-4d25df7d.js";import"./p-9f3b1d77.js";import"./p-2d0d575f.js";import"./p-32f651f7.js";import"./p-c59042c0.js";import"./p-74958b1a.js";import"./p-3a0a4d15.js";import"./p-79019d08.js";import"./p-331a62d5.js";(()=>{const a=import.meta.url,i={};return""!==a&&(i.resourcesUrl=new URL(".",a).href),e(i)})().then((e=>(i(),a(JSON.parse('[["p-15023bad",[[1,"vega-pagination",{"current":[1538],"total":[2],"pageSize":[1026,"page-size"],"extensions":[16],"pageSizeSelectorOptions":[1040],"pageCount":[32]}]]],["p-8cfe4027",[[1,"vega-stepper",{"stepperId":[513,"id"],"max":[514],"min":[514],"value":[1538],"label":[1],"inputDisabled":[4,"input-disabled"],"disabled":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"buttonVariant":[1,"button-variant"]}]]],["p-b1a249ef",[[1,"vega-page-notification",{"notificationTitle":[1,"title"],"message":[1],"type":[1],"duration":[2],"showCloseButton":[4,"show-close-button"],"actionButtons":[16],"close":[64]}],[1,"vega-page-notification-list"]]],["p-9b45e5dc",[[1,"vega-color-picker",{"value":[1537],"hint":[1],"disabled":[516],"required":[516],"label":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"colors":[16],"isInline":[4,"is-inline"]}]]],["p-9b9c0afb",[[1,"vega-app-header-button",{"dropdown":[16],"size":[1],"label":[1],"showLabel":[4,"show-label"],"avatar":[16],"avatarPosition":[1,"avatar-position"],"showBorder":[4,"show-border"],"showMenuArrowIcon":[4,"show-menu-arrow-icon"],"selected":[4],"isDropdownShow":[32],"currentBreakpoint":[32]}]]],["p-e165c9f1",[[1,"vega-button-link",{"link":[1],"size":[1],"icon":[513],"iconType":[1,"icon-type"],"iconAlign":[1,"icon-align"],"label":[1025],"disabled":[4],"danger":[4],"eventful":[4]}]]],["p-57d9bde6",[[1,"vega-chip",{"text":[1],"clickable":[4],"variant":[1],"size":[1],"bgColor":[1,"bg-color"],"textColor":[1,"text-color"],"statusColor":[1,"status-color"],"chipType":[1,"chip-type"],"showCloseIcon":[4,"show-close-icon"],"icon":[1],"iconAlign":[1,"icon-align"],"currentBreakpoint":[32],"currentSize":[32]}]]],["p-1bfcb6b7",[[1,"vega-input-credit-card",{"required":[1540],"disabled":[516],"label":[1],"hint":[1],"size":[1],"placeholder":[1],"hideCardNumberOnBlur":[4,"hide-card-number-on-blur"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"isValid":[1540,"is-valid"],"value":[1537]}]]],["p-9281cdb2",[[1,"vega-item-toggle",{"itemToggleStatusMap":[16],"statusMap":[16],"isToggled":[1028,"is-toggled"],"toggleItemStatus":[32]}]]],["p-b6e49ee9",[[1,"vega-progress-tracker",{"current":[2],"direction":[1],"steps":[16],"completedStepArray":[16],"completedSteps":[16],"canClickStep":[4,"can-click-step"],"nextStep":[64],"prevStep":[64],"setCurrent":[64],"getCurrent":[64]}]]],["p-be6041fc",[[1,"vega-checkbox",{"identifier":[1],"value":[1032],"checked":[1028],"disabled":[516],"size":[1],"required":[516],"isValid":[1540,"is-valid"],"groupDisabled":[32],"showError":[32],"setValue":[64]}],[1,"vega-checkbox-group",{"label":[1],"value":[1040],"vegaFlexProp":[16],"disabled":[516],"required":[516],"hint":[1],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16]}]]],["p-810ba5c3",[[1,"vega-hint"]]],["p-a66ea015",[[1,"vega-button-group",{"variant":[1],"size":[1],"iconAlign":[1,"icon-align"]}],[1,"vega-button-group-item",{"icon":[1],"label":[1],"iconOnly":[4,"icon-only"],"itemKey":[1,"item-key"],"dropdownProps":[16],"dropdownSource":[16],"variant":[32],"size":[32],"iconAlign":[32]}]]],["p-bb6f8b70",[[1,"vega-loading-indicator",{"shape":[1],"size":[1],"mode":[1],"percent":[2],"label":[1],"hint":[1],"status":[1],"currentBreakpoint":[32]}],[1,"vega-loader-wrapper"]]],["p-0abe1ade",[[1,"vega-radio-group",{"label":[1],"value":[1537],"name":[1],"vegaFlexProp":[16],"required":[516],"hint":[1],"isValid":[1540,"is-valid"],"disabled":[516],"autoValidation":[516,"auto-validation"],"validationRules":[16]}],[1,"vega-radio",{"value":[1],"name":[1],"checked":[1028],"disabled":[4],"size":[1],"groupDisabled":[32],"showError":[32]}]]],["p-7941701a",[[1,"vega-table",{"columns":[16],"dataSource":[1040],"rowSelection":[1040],"rowExpandable":[4,"row-expandable"],"rowClickable":[4,"row-clickable"],"rowDivider":[4,"row-divider"],"columnDivider":[4,"column-divider"],"striped":[4],"density":[1],"paddingX":[16],"showHeader":[4,"show-header"],"pagination":[16],"emptyDescription":[1,"empty-description"],"rowKey":[1,"row-key"],"scrollConfig":[16],"sortConfig":[16],"selectedRowKeySet":[32],"expandedRowKeySet":[32],"currentBreakpoint":[32],"sortersMap":[32],"currentData":[32],"currentClickedRowKey":[32],"currentPage":[32],"pageSize":[32],"editingRows":[32],"isSelectedAll":[32],"isTemplateRenderMode":[32],"openExpandRow":[64],"closeExpandRow":[64],"closeAllExpandRow":[64],"toggleExpandRow":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64],"startRowEditMode":[64],"stopRowEditMode":[64],"stopAllRowEditMode":[64],"getRowData":[64],"getRowsData":[64],"getFormRef":[64],"addNewRow":[64],"saveEditRow":[64],"saveAllEditRows":[64],"getEditingRowsKey":[64],"removeRow":[64]}],[1,"vega-table-body"],[1,"vega-table-cell",{"textAlign":[1,"text-align"],"breakpoint":[1],"overflow":[1],"width":[1],"currentBreakpoint":[32],"density":[32]}],[1,"vega-table-expand-row",{"rowKey":[1,"row-key"],"currentBreakpoint":[32],"withMultipleSelection":[32],"expanded":[32],"checked":[32],"colSpan":[32]}],[1,"vega-table-head",{"fixed":[32]}],[1,"vega-table-head-cell",{"breakpoint":[1],"sorter":[1],"sortOrder":[1025,"sort-order"],"textAlign":[1,"text-align"],"width":[1],"currentBreakpoint":[32],"density":[32]}],[1,"vega-table-head-row",{"selectAllDisabled":[4,"select-all-disabled"],"hideSelectAll":[4,"hide-select-all"],"currentBreakpoint":[32],"expandable":[32],"selectionType":[32],"paddingX":[32],"checkedAll":[32],"columnDivider":[32],"density":[32],"isEmptyTable":[32],"isTemplateRenderMode":[32]}],[1,"vega-table-row",{"rowKey":[1,"row-key"],"currentBreakpoint":[32],"clicked":[32],"expandable":[32],"clickable":[32],"paddingX":[32],"selectionType":[32],"checked":[32],"expanded":[32],"rowDivider":[32],"columnDivider":[32],"density":[32]}]]],["p-d71f968e",[[1,"vega-left-nav",{"open":[1028],"headerConfig":[16],"source":[16],"footnote":[1],"showAsOverlay":[4,"show-as-overlay"],"autoCollapseOnOverlay":[4,"auto-collapse-on-overlay"],"openState":[32],"toggle":[64]}],[1,"vega-left-nav-group",{"icon":[1],"label":[1]}],[1,"vega-left-nav-link",{"icon":[1],"selected":[1540],"url":[1],"counterBadge":[16]}],[1,"vega-left-nav-section",{"sectionHeader":[16]}],[1,"vega-nav-card",{"source":[16],"maxHeight":[520,"max-height"],"currentMaxHeight":[32]}]]],["p-0f0e4198",[[1,"vega-calendar",{"viewMode":[1025,"view-mode"],"events":[16],"timeFormat":[1,"time-format"],"moreActionDropdownProps":[16],"showEventColorBar":[4,"show-event-color-bar"],"showWeekends":[4,"show-weekends"],"calendarView":[32],"currentPeriod":[32],"showAllEventsInDayOrWeekView":[32],"calendarEvents":[32]}],[1,"vega-calendar-event",{"calendarEvent":[16],"timeFormat":[32],"slotMode":[32],"showColorBar":[32]}],[1,"vega-calendar-event-slot",{"eventKey":[513,"event-key"]}]]],["p-9ba68531",[[1,"vega-date-picker",{"mode":[1],"value":[1537],"label":[1],"required":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"format":[1],"size":[1],"validationRules":[16],"minDate":[1537,"min-date"],"maxDate":[1537,"max-date"],"placeholder":[1],"clearButton":[4,"clear-button"],"readOnly":[4,"read-only"],"allowRepick":[4,"allow-repick"],"dropdownConfig":[16],"disabled":[516],"doClose":[64],"doOpen":[64]}],[1,"vega-date-picker-calendar"]]],["p-63bee4f1",[[1,"vega-segment-control",{"block":[4],"size":[1],"segments":[16],"selected":[1025],"variant":[1],"isOverflowBlockSegments":[32]}]]],["p-84118b6d",[[1,"vega-text",{"overflow":[1],"tooltip":[16]}]]],["p-d3c07efa",[[1,"vega-textarea",{"placeholder":[1],"hint":[1],"disabled":[516],"label":[1],"showCounter":[4,"show-counter"],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"required":[1540],"maxLength":[514,"max-length"],"minLength":[514,"min-length"],"resizable":[4],"validationRules":[16],"currentCharCount":[32]},[[0,"input","handleValueTextarea"]]]]],["p-64ff6318",[[1,"vega-toggle-switch",{"checked":[1540],"value":[1540],"size":[1],"label":[1],"required":[516],"disabled":[516],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"]}]]],["p-87cd0d6a",[[1,"vega-popover",{"size":[8],"placement":[1],"alignment":[1],"positionRelativeTo":[1,"position-relative-to"],"trigger":[1],"showArrow":[4,"show-arrow"],"isPopoverShow":[32],"show":[64],"hide":[64]}],[1,"vega-popover-content-box",{"showArrow":[4,"show-arrow"]}]]],["p-a67748c6",[[1,"vega-selection-chip",{"label":[1],"size":[1],"variant":[1],"disabled":[1028],"checked":[1540],"block":[4],"disabledTooltip":[16],"swatchColor":[1,"swatch-color"],"value":[1],"showError":[32],"currentBreakpoint":[32],"selectType":[32]}],[1,"vega-selection-chip-group",{"label":[1],"hint":[1],"selectType":[1,"select-type"],"value":[1025],"required":[4],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-1be2fd46",[[1,"vega-selection-tile",{"titleText":[1,"title"],"note":[1],"prefixIcon":[1,"prefix-icon"],"disabled":[1028],"checked":[1028],"selectType":[1025,"select-type"],"value":[1],"showError":[32]}],[1,"vega-selection-tile-group",{"label":[1],"hint":[1],"selectType":[1,"select-type"],"value":[1025],"layout":[1],"required":[4],"disabled":[4],"validationRules":[16],"isValid":[1540,"is-valid"]}]]],["p-fb3233db",[[1,"vega-tab-group",{"selectedTabDataTarget":[1025,"selected-tab-data-target"],"gap":[1],"showCloseButton":[4,"show-close-button"],"tabItems":[1040],"positionRelativeTo":[1,"position-relative-to"],"variant":[1],"tabPages":[32],"tabWidthArray":[32],"currentPageIndex":[32]}],[1,"vega-tab-group-panel",{"isActive":[4,"is-active"]}]]],["p-34710a3c",[[1,"vega-time-picker",{"label":[1],"mode":[1],"required":[516],"placeholder":[1],"increments":[2],"timeFormat":[513,"time-format"],"value":[1537],"size":[1],"disabled":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"positionRelativeTo":[1,"position-relative-to"],"dropdownSource":[32],"isDropdownShow":[32],"selectedTimeValue":[32]}],[1,"vega-time-picker-dropdown"]]],["p-c6ed1982",[[1,"vega-accordion",{"drawsBackground":[4,"draws-background"],"prefixIcon":[1,"prefix-icon"],"accordionTitle":[1,"accordion-title"],"expandIconAlign":[1,"expand-icon-align"],"expand":[1028],"iconPosition":[1,"icon-position"],"showExpandIcon":[4,"show-expand-icon"],"groupId":[1,"group-id"]}]]],["p-f7728ead",[[1,"vega-app-footer",{"content":[1],"termOfUseLabel":[1,"term-of-use-label"],"termOfUseUrl":[1,"term-of-use-url"],"termOfUseUrlTarget":[1,"term-of-use-url-target"],"privacyPolicyLabel":[1,"privacy-policy-label"],"privacyPolicyUrl":[1,"privacy-policy-url"],"privacyPolicyUrlTarget":[1,"privacy-policy-url-target"],"hideDefaultLinks":[4,"hide-default-links"],"additionalLinks":[16],"showDisclaimer":[4,"show-disclaimer"],"disclaimerUrlTarget":[1,"disclaimer-url-target"]}]]],["p-00c5aee5",[[1,"vega-banner",{"type":[1],"bannerTitle":[1,"banner-title"],"content":[1],"actionButtons":[16],"showCloseButton":[4,"show-close-button"],"isOpen":[4,"is-open"],"doClose":[64]}]]],["p-7372cd79",[[1,"vega-bar-chart",{"options":[16]}]]],["p-a6e1d9bc",[[1,"vega-breadcrumb",{"maxItems":[8,"max-items"],"items":[16]}]]],["p-760283d1",[[1,"vega-card",{"padding":[1],"margin":[1],"variant":[1],"backgroundColor":[1,"background-color"]}]]],["p-cea70476",[[1,"vega-combo-box",{"label":[1],"required":[516],"source":[1040],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"disabled":[516],"placeholder":[1],"hint":[1],"size":[1],"vegaDropdownProps":[16],"useDefaultFilter":[4,"use-default-filter"],"close":[64],"open":[64]}]]],["p-9ba085c1",[[1,"vega-counter-badge",{"dot":[4],"color":[1],"count":[2],"offset":[16]}]]],["p-f64fb740",[[1,"vega-divider",{"direction":[1],"variant":[1],"margin":[1],"currentBreakpoint":[32]}]]],["p-b3e754da",[[1,"vega-field-error",{"message":[1]}]]],["p-bf38199b",[[1,"vega-file-uploader",{"label":[1],"variant":[1],"hint":[1],"value":[1040],"disabled":[4],"required":[4],"validationRules":[16],"autoValidation":[516,"auto-validation"],"isValid":[1540,"is-valid"],"accept":[1]}]]],["p-95b25b97",[[1,"vega-image-uploader",{"value":[1040],"accept":[1],"status":[1537],"showPreviewButton":[4,"show-preview-button"],"showRemoveButton":[4,"show-remove-button"],"showReplaceButton":[4,"show-replace-button"],"disabled":[516],"required":[516],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"label":[1],"hint":[1],"actionTitle":[1,"action-title"],"actionSubTitle":[1,"action-sub-title"],"width":[8],"height":[8],"getContentURL":[64]}]]],["p-042b4b3f",[[1,"vega-input-numeric",{"prefixText":[1,"prefix-text"],"suffixText":[1,"suffix-text"],"prefixIcon":[1,"prefix-icon"],"value":[1025],"size":[1],"placeholder":[1],"thousandComma":[4,"thousand-comma"],"integerOnly":[4,"integer-only"],"disabled":[4],"minorIncrement":[2,"minor-increment"],"majorIncrement":[2,"major-increment"],"label":[1],"hint":[1],"required":[4],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"isCompactInputWidth":[32]}]]],["p-20d9c07c",[[1,"vega-input-phone-number",{"label":[1],"size":[1],"required":[1540],"disabled":[516],"countryCode":[1537,"country-code"],"allowedCountryCodes":[16],"value":[1537],"validationRules":[16],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"placeholder":[1],"hint":[1],"phoneNumberInputValue":[32]}]]],["p-7a6a0740",[[1,"vega-input-range",{"label":[1],"value":[1040],"prefixIcon":[513,"prefix-icon"],"showClearIcon":[4,"show-clear-icon"],"min":[514],"max":[514],"required":[1540],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[16],"disabled":[516],"hint":[1],"stack":[1]}]]],["p-11786565",[[1,"vega-line-chart",{"options":[16],"reRender":[64]}]]],["p-87640a4d",[[1,"vega-pie-chart",{"options":[16],"reRender":[64]}]]],["p-8b084bf9",[[1,"vega-section-title",{"titleText":[1,"title"],"description":[1],"icon":[1],"iconAlign":[1,"icon-align"]}]]],["p-83ef4c13",[[1,"vega-signature-capture",{"mode":[1],"label":[1],"required":[516],"showClearBtn":[4,"show-clear-btn"],"placeholder":[1],"placeholderIcon":[1,"placeholder-icon"],"disabled":[4],"value":[1040],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"height":[8],"currentBreakpoint":[32],"isDrawing":[32],"clear":[64]}]]],["p-b8e42c11",[[1,"vega-skeleton",{"type":[513],"width":[8],"height":[8],"animated":[4]}]]],["p-eddcb385",[[1,"vega-slot-container"]]],["p-c3c2890e",[[1,"vega-dialog",{"dialogTitle":[1,"dialog-title"],"content":[1],"type":[1],"okButton":[16],"handleOk":[16],"cancelButton":[16],"handleCancel":[16],"showCancel":[4,"show-cancel"],"modalProps":[16],"currentBreakpoint":[32]}],[1,"vega-modal",{"backdrop":[1],"size":[8],"open":[1028],"animation":[4],"modalTitle":[1,"modal-title"],"backdropColor":[1,"backdrop-color"],"isVerticallyCenter":[4,"is-vertically-center"],"isVerticallyCentered":[4,"is-vertically-centered"],"showCloseButton":[4,"show-close-button"],"padding":[1],"contentMaxHeight":[2,"content-max-height"],"handleClose":[16],"currentBreakpoint":[32],"modal":[64]},[[10,"click","listenDataTarget"],[0,"click","listenDataDismiss"]]]]],["p-799cb0a4",[[1,"vega-carousel",{"perPage":[2,"per-page"],"itemsPerPage":[2,"items-per-page"],"showSlider":[4,"show-slider"],"spacing":[1],"canSwipe":[4,"can-swipe"],"page":[32],"totalPages":[32],"nextPage":[64],"prevPage":[64],"goToPage":[64]}]]],["p-3903ce7a",[[1,"vega-dropdown-content-box"],[1,"vega-dropdown-group",{"label":[1],"divide":[4]}],[1,"vega-dropdown-item",{"label":[1],"itemKey":[513,"item-key"],"count":[2],"prefixIcon":[1,"prefix-icon"],"disabled":[4],"height":[2],"danger":[4],"selectType":[32],"prefixIconSlot":[32],"selected":[32],"itemDisplayRule":[32]}],[1,"vega-virtual-scroll",{"source":[16],"approxItemHeight":[2,"approx-item-height"],"viewportMaxHeight":[2,"viewport-max-height"],"isLoading":[4,"is-loading"],"virtualizationThreshold":[2,"virtualization-threshold"],"sourceItemIdentifier":[1,"source-item-identifier"],"renderItem":[16],"positionConfig":[32],"scrollTop":[32],"scrollToIndex":[64]}],[1,"vega-dropdown",{"size":[8],"trigger":[1],"translocation":[16],"source":[1040],"positionRelativeTo":[1,"position-relative-to"],"selectType":[1,"select-type"],"selectedSourceKey":[1025,"selected-source-key"],"prefixIconSlot":[4,"prefix-icon-slot"],"maxHeight":[2,"max-height"],"searchable":[4],"matchTargetWidth":[4,"match-target-width"],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"itemDisplayRule":[1,"item-display-rule"],"matchContainerHeight":[4,"match-container-height"],"caseSensitive":[4,"case-sensitive"],"dynamicOption":[4,"dynamic-option"],"useDefaultFilter":[4,"use-default-filter"],"isLoading":[4,"is-loading"],"placement":[1],"alignment":[1],"isLazyLoading":[4,"is-lazy-loading"],"searchTriggerBy":[1,"search-trigger-by"],"searchString":[32],"isDropdownShow":[32],"sourceForRender":[32],"show":[64],"hide":[64],"search":[64],"clearSelection":[64],"getSelection":[64],"setSelection":[64]}]]],["p-69e63d21",[[1,"vega-font",{"variant":[1],"color":[1],"disableResponsive":[4,"disable-responsive"],"textAlign":[1,"text-align"],"as":[1],"currentBreakpoint":[32]}]]],["p-ff22a95f",[[1,"vega-form",{"isValid":[1028,"is-valid"],"isTouched":[1028,"is-touched"],"valid":[64],"getValue":[64],"setValue":[64],"reset":[64]}]]],["p-80785fcf",[[1,"vega-input-select",{"label":[1],"required":[516],"selectedLabel":[16],"selectType":[1,"select-type"],"source":[1040],"value":[1537],"isValid":[1540,"is-valid"],"autoValidation":[4,"auto-validation"],"validationRules":[16],"prefixIcon":[1,"prefix-icon"],"disabled":[516],"placeholder":[1],"hint":[1],"vegaDropdownProps":[16],"size":[1],"sourceLazyLoadCallback":[16],"isDropdownShow":[32],"currentBreakpoint":[32],"isLazyLoading":[32],"doClose":[64],"doOpen":[64],"doChange":[64]}]]],["p-e6f91767",[[1,"vega-sidenav",{"source":[16],"footnote":[1],"headerConfig":[16],"openByDefault":[1,"open-by-default"],"openState":[32],"toggle":[64]},[[10,"click","collapseSidenavByBackDropClick"]]],[1,"vega-sidenav-group",{"icon":[1],"label":[1],"openState":[32]}],[1,"vega-sidenav-link",{"icon":[1],"selected":[1540],"url":[1],"showSideBarOnClickLink":[4,"show-side-bar-on-click-link"],"openState":[32]}]]],["p-623fe226",[[1,"vega-button",{"size":[1],"variant":[1],"icon":[1],"iconAlign":[1,"icon-align"],"label":[1025],"disabled":[4],"danger":[4],"block":[4],"type":[1],"loading":[4],"currentBreakpoint":[32]}]]],["p-b4e92130",[[1,"vega-backdrop",{"color":[1],"visible":[4],"duration":[2]}]]],["p-4022f395",[[1,"vega-box",{"padding":[1],"margin":[1],"display":[1],"border":[1],"borderStyle":[1,"border-style"],"shadow":[1],"borderColor":[1,"border-color"],"backgroundColor":[1,"background-color"],"width":[8],"height":[8],"minHeight":[8,"min-height"],"maxHeight":[8,"max-height"],"responsiveClass":[1,"responsive-class"],"corners":[1],"flexBasis":[1,"flex-basis"],"flexGrow":[8,"flex-grow"],"flexShrink":[8,"flex-shrink"],"order":[8],"flex":[8],"alignSelf":[1,"align-self"],"justifySelf":[1,"justify-self"],"gridColumn":[8,"grid-column"],"gridRow":[8,"grid-row"],"gridArea":[8,"grid-area"],"currentBreakpoint":[32]}]]],["p-f2685ec5",[[1,"vega-grid",{"column":[8],"row":[8],"gap":[1]}]]],["p-07a8cf89",[[1,"vega-tooltip-content-box",{"text":[1]}],[1,"vega-tooltip",{"size":[8],"minWidth":[8,"min-width"],"maxWidth":[8,"max-width"],"trigger":[1],"content":[1],"text":[1],"placement":[1],"alignment":[1],"positionRelativeTo":[1,"position-relative-to"],"disableInteractive":[4,"disable-interactive"],"isTooltipShow":[32]}]]],["p-7df3aa44",[[1,"vega-icon",{"icon":[513],"size":[1],"color":[1]}]]],["p-72ecc510",[[1,"vega-button-circle",{"size":[1],"variant":[1],"icon":[513],"label":[1],"disabled":[4],"danger":[4],"type":[1],"iconColor":[1,"icon-color"],"showTooltip":[4,"show-tooltip"],"tooltip":[16]}]]],["p-438caeb3",[[1,"vega-field-label",{"suffixButtonProps":[16],"label":[1025],"isFieldRequired":[4,"is-field-required"],"disabled":[4]}]]],["p-cdebfee7",[[1,"vega-input",{"label":[1],"labelSuffixButtonProps":[16],"value":[1537],"valueUpdateTrigger":[1,"value-update-trigger"],"type":[513],"name":[1],"autocomplete":[1],"prefixIcon":[513,"prefix-icon"],"email":[516],"required":[1540],"min":[514],"max":[514],"minLength":[514,"min-length"],"maxLength":[514,"max-length"],"showClearIcon":[4,"show-clear-icon"],"isValid":[1540,"is-valid"],"autoValidation":[516,"auto-validation"],"validationRules":[16],"size":[1],"placeholder":[1],"disabled":[516],"hint":[1],"maskConfig":[16],"disableCopyPaste":[4,"disable-copy-paste"],"prefixText":[32],"suffixText":[32],"isCompactInputWidth":[32],"doFocus":[64],"doBlur":[64]}]]],["p-14f5a9ad",[[1,"vega-flex",{"gap":[1],"margin":[1],"breakpoint":[1],"direction":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"],"flexWrap":[1,"flex-wrap"],"flex":[8],"flexBasis":[1,"flex-basis"],"flexGrow":[8,"flex-grow"],"flexShrink":[8,"flex-shrink"],"useNativeFlex":[4,"use-native-flex"],"currentBreakpoint":[32]}]]]]'),e))));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@globalpayments/vega",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.30.0",
|
|
4
4
|
"description": "Vega - the design system of Heartland Payment Systems",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"build-migration": "node ./scripts/build-migration.js",
|
|
64
64
|
"pr-codesandbox-auto": "node ../scripts/pr-codesandbox-auto/change-package-name.js",
|
|
65
65
|
"build-components-definition": "npm run build:base -- --docs-json docs/components-definition.json",
|
|
66
|
+
"build-components-type-definition": "npx typedoc src/types/public-api.ts --json docs/components-type-definition.json",
|
|
66
67
|
"build-feature-flags": "node ./scripts/build-feature-flags.js"
|
|
67
68
|
},
|
|
68
69
|
"license": "MIT",
|
|
@@ -117,7 +118,8 @@
|
|
|
117
118
|
"tailwindcss": "^2.2.16",
|
|
118
119
|
"ts-node": "^10.9.1",
|
|
119
120
|
"typescript": "^4.5.5",
|
|
120
|
-
"workbox-build": "^4.3.1"
|
|
121
|
+
"workbox-build": "^4.3.1",
|
|
122
|
+
"typedoc": "^0.27.2"
|
|
121
123
|
},
|
|
122
124
|
"dependencies": {
|
|
123
125
|
"@globalpayments/vega-telemetry-install-ledgers": "^1.0.6",
|
|
@@ -1,373 +0,0 @@
|
|
|
1
|
-
import { LogUtility } from './log';
|
|
2
|
-
import { Alignments, Placements } from '../constants/ui';
|
|
3
|
-
import { isTranslocationType } from '../types/type-guard';
|
|
4
|
-
/**
|
|
5
|
-
* Get the position of the element in the container according to the target element and the placement
|
|
6
|
-
* If give a translocation, it will apply the translocation to the result.
|
|
7
|
-
* Note: If you use this method to calculate the position, you should make container as relative position at first.
|
|
8
|
-
*
|
|
9
|
-
* @param {HTMLElement} container - The container element of the element to be positioned.
|
|
10
|
-
* @param {HTMLElement} element - The element to be positioned.
|
|
11
|
-
* @param {HTMLElement} target - The element to be positioned.
|
|
12
|
-
* @param {PlacementType | PlacementType[]} [placement] - The placement of the element, which can be a
|
|
13
|
-
* single placement or an array of placements.
|
|
14
|
-
* @param {PositionAlignmentType | PositionAlignmentType[]} alignment - The alignment of the element
|
|
15
|
-
* @param {TranslocationType} [translocation] - The offset of the element relative to the target.
|
|
16
|
-
* @returns {ElementPositionBox} A function that takes in a container, element, target, placement, and translocation and
|
|
17
|
-
* returns an ElementPositionBox.
|
|
18
|
-
*/
|
|
19
|
-
export const getPositionBox = (container, element, target, placement, alignment, translocation = { X: 0, Y: 0 }) => {
|
|
20
|
-
const containerStyle = window.getComputedStyle(container);
|
|
21
|
-
if (containerStyle.position !== 'relative') {
|
|
22
|
-
LogUtility.warn(`Calculate position should make container as 'position: relative', otherwise the result might not be accurate.`);
|
|
23
|
-
}
|
|
24
|
-
const placements = getPlacements(placement);
|
|
25
|
-
const alignments = getAlignments(alignment);
|
|
26
|
-
const targetBox = getTargetBoundBox(target, container);
|
|
27
|
-
const elementBox = getElementBoundBox(element);
|
|
28
|
-
const containerBox = getElementScrollDimension(container);
|
|
29
|
-
const suitablePlacement = getSuitablePlacement(containerBox, elementBox, targetBox, placements);
|
|
30
|
-
const suitableAlignment = getSuitableAlignment(containerBox, elementBox, targetBox, suitablePlacement, alignments);
|
|
31
|
-
const positionBox = calculatePosition(elementBox, targetBox, suitablePlacement, suitableAlignment);
|
|
32
|
-
const translocationBox = getTranslocationBox(Array.isArray(placement) ? placement[0] : placement, suitablePlacement, translocation);
|
|
33
|
-
positionBox.placement = suitablePlacement;
|
|
34
|
-
positionBox.alignment = suitableAlignment;
|
|
35
|
-
positionBox.left += translocationBox.X;
|
|
36
|
-
positionBox.top += translocationBox.Y;
|
|
37
|
-
return positionBox;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* It returns the translocation of the element relative to the target element
|
|
41
|
-
*
|
|
42
|
-
* @param {Nullable<PlacementType>} originPlacement - The origin placement of the element.
|
|
43
|
-
* @param {PlacementType} placement - The suitable placement of the element.
|
|
44
|
-
* @param {TranslocationType} translocation - TranslocationType
|
|
45
|
-
* @returns {TranslocationType} A translocation object with X and Y properties.
|
|
46
|
-
*/
|
|
47
|
-
function getTranslocationBox(originPlacement, placement, translocation) {
|
|
48
|
-
const result = { X: 0, Y: 0 };
|
|
49
|
-
if (isTranslocationType(translocation)) {
|
|
50
|
-
let xValue = translocation.X;
|
|
51
|
-
let yValue = translocation.Y;
|
|
52
|
-
// If originPlacement and placement is not in same axis, it should reverse axis.
|
|
53
|
-
if ((originPlacement &&
|
|
54
|
-
['left', 'right'].includes(originPlacement) &&
|
|
55
|
-
['top', 'bottom'].includes(placement)) ||
|
|
56
|
-
(originPlacement &&
|
|
57
|
-
['top', 'bottom'].includes(originPlacement) &&
|
|
58
|
-
['left', 'right'].includes(placement))) {
|
|
59
|
-
xValue = translocation.Y;
|
|
60
|
-
yValue = translocation.X;
|
|
61
|
-
}
|
|
62
|
-
if (['bottom', 'top'].includes(placement)) {
|
|
63
|
-
result.Y = placement === 'top' ? -yValue : yValue;
|
|
64
|
-
result.X = xValue;
|
|
65
|
-
}
|
|
66
|
-
if (['left', 'right'].includes(placement)) {
|
|
67
|
-
result.X = placement === 'left' ? -xValue : xValue;
|
|
68
|
-
result.Y = yValue;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
return result;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* It takes a placement string or array of placements and returns an array of placements
|
|
75
|
-
* if given placement is single, we should completion the placements with the default {@link Placements}
|
|
76
|
-
* and make given placement as default.
|
|
77
|
-
* if given placement is array, we should use it directly, even it partial of {@link Placements}.
|
|
78
|
-
* if not placement give. we should use {@link Placements}.
|
|
79
|
-
*
|
|
80
|
-
* @param {PlacementType | PlacementType[]} [placement] - The placement of the tooltip.
|
|
81
|
-
* @returns {PlacementType[]} ordered placements.
|
|
82
|
-
*/
|
|
83
|
-
function getPlacements(placement) {
|
|
84
|
-
if (typeof placement === 'string') {
|
|
85
|
-
const partial = Placements.filter((direction) => direction !== placement);
|
|
86
|
-
return [placement, ...partial];
|
|
87
|
-
}
|
|
88
|
-
else if (Array.isArray(placement)) {
|
|
89
|
-
return placement;
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
return [...Placements];
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* It returns acceptable alignments.
|
|
97
|
-
*
|
|
98
|
-
* @param {PositionAlignmentType | PositionAlignmentType[]} [alignment] - The alignment of the popup.
|
|
99
|
-
* @returns {PositionAlignmentType[]} acceptable alignments
|
|
100
|
-
*/
|
|
101
|
-
function getAlignments(alignment) {
|
|
102
|
-
if (typeof alignment === 'string') {
|
|
103
|
-
const partial = Alignments.filter((item) => item !== alignment);
|
|
104
|
-
return [alignment, ...partial];
|
|
105
|
-
}
|
|
106
|
-
else if (Array.isArray(alignment)) {
|
|
107
|
-
return alignment;
|
|
108
|
-
}
|
|
109
|
-
else {
|
|
110
|
-
return [...Alignments];
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* It takes a placement, a target box, and a element box, and returns an element box
|
|
115
|
-
*
|
|
116
|
-
* @param {ElementBoundBox} elementBox - The position of the element element.
|
|
117
|
-
* @param {ElementBoundBox} targetBox - The position of the target element.
|
|
118
|
-
* @param {PlacementType} placement - The placement of the element.
|
|
119
|
-
* @param {PositionAlignmentType} alignment - The alignment of the element
|
|
120
|
-
* @returns {ElementPositionBox} An object with top and left properties.
|
|
121
|
-
*/
|
|
122
|
-
function calculatePosition(elementBox, targetBox, placement, alignment) {
|
|
123
|
-
return {
|
|
124
|
-
top: calculateTop(elementBox, targetBox, placement, alignment),
|
|
125
|
-
left: calculateLeft(elementBox, targetBox, placement, alignment),
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* Calculate the left position of the element
|
|
130
|
-
*
|
|
131
|
-
* @param {ElementBoundBox} elementBox - The position box of the element.
|
|
132
|
-
* @param {ElementBoundBox} targetBox - The position box of the target element that is attached to.
|
|
133
|
-
* @param {PlacementType} placement - The placement of the element.
|
|
134
|
-
* @param {PositionAlignmentType} alignment - The alignment of the element
|
|
135
|
-
* @returns {number} The left position of the element.
|
|
136
|
-
*/
|
|
137
|
-
function calculateLeft(elementBox, targetBox, placement, alignment) {
|
|
138
|
-
switch (placement) {
|
|
139
|
-
case 'top':
|
|
140
|
-
case 'bottom': {
|
|
141
|
-
if (alignment === 'end') {
|
|
142
|
-
return targetBox.left + targetBox.width - elementBox.width;
|
|
143
|
-
}
|
|
144
|
-
else if (alignment === 'center') {
|
|
145
|
-
return targetBox.left - (elementBox.width - targetBox.width) / 2;
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
return targetBox.left;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
case 'left': {
|
|
152
|
-
return targetBox.left - elementBox.width;
|
|
153
|
-
}
|
|
154
|
-
case 'right': {
|
|
155
|
-
return targetBox.left + targetBox.width;
|
|
156
|
-
}
|
|
157
|
-
/* istanbul ignore next */
|
|
158
|
-
default:
|
|
159
|
-
throw new Error(`Unexpected placement: ${placement}. Expected values are top, bottom, left, or right.`);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* Calculate the top position of the element
|
|
164
|
-
*
|
|
165
|
-
* @param {ElementBoundBox} elementBox - The position box of the element.
|
|
166
|
-
* @param {ElementBoundBox} targetBox - The position box of the target element that is attached to.
|
|
167
|
-
* @param {PlacementType} placement - The placement of the element.
|
|
168
|
-
* @param {PositionAlignmentType} alignment - The alignment of the element
|
|
169
|
-
* @returns {number} the top position of the element.
|
|
170
|
-
*/
|
|
171
|
-
function calculateTop(elementBox, targetBox, placement, alignment) {
|
|
172
|
-
switch (placement) {
|
|
173
|
-
case 'left':
|
|
174
|
-
case 'right': {
|
|
175
|
-
if (alignment === 'end') {
|
|
176
|
-
return targetBox.top + targetBox.height - elementBox.height;
|
|
177
|
-
}
|
|
178
|
-
else if (alignment === 'center') {
|
|
179
|
-
return targetBox.top - (elementBox.height - targetBox.height) / 2;
|
|
180
|
-
}
|
|
181
|
-
else {
|
|
182
|
-
return targetBox.top;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
case 'top': {
|
|
186
|
-
return targetBox.top - elementBox.height;
|
|
187
|
-
}
|
|
188
|
-
case 'bottom': {
|
|
189
|
-
return targetBox.top + targetBox.height;
|
|
190
|
-
}
|
|
191
|
-
/* istanbul ignore next */
|
|
192
|
-
default:
|
|
193
|
-
throw new Error(`Unexpected placement: ${placement}. Expected values are top, bottom, left, or right.`);
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
/**
|
|
197
|
-
* It takes a list of placements and returns the first placement that has enough space to place the
|
|
198
|
-
* element
|
|
199
|
-
*
|
|
200
|
-
* @param {ElementScrollDimension} containerBox - The box of the container element.
|
|
201
|
-
* @param {ElementBoundBox} elementBox - The box of the element to be placed.
|
|
202
|
-
* @param {ElementBoundBox} targetBox - The box of the target element.
|
|
203
|
-
* @param {PlacementType[]} placements - The placements that we want to try.
|
|
204
|
-
* @returns {PlacementType} A function that takes in a containerBox, elementBox, targetBox, placements, and element.
|
|
205
|
-
*/
|
|
206
|
-
function getSuitablePlacement(containerBox, elementBox, targetBox, placements) {
|
|
207
|
-
const defaultPlacement = placements[0];
|
|
208
|
-
const suitablePlacement = placements.find((placement) => hasEnoughSpace(containerBox, placement, targetBox, elementBox));
|
|
209
|
-
if (suitablePlacement) {
|
|
210
|
-
return suitablePlacement;
|
|
211
|
-
}
|
|
212
|
-
else {
|
|
213
|
-
LogUtility.warn(`
|
|
214
|
-
No enough space found for placing element and we will keep using the defined placement:
|
|
215
|
-
${defaultPlacement}
|
|
216
|
-
`);
|
|
217
|
-
return defaultPlacement;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* It takes a list of alignments and returns the suitable one that has enough space to fit the element
|
|
222
|
-
*
|
|
223
|
-
* @param {ElementScrollDimension} containerBox - The bounding box of the container element.
|
|
224
|
-
* @param {ElementBoundBox} elementBox - The box of the element that we want to position.
|
|
225
|
-
* @param {ElementBoundBox} targetBox - The box of the element that the element to be positioned is aligned to.
|
|
226
|
-
* @param {PlacementType} placement - The placement of the element relative to the target.
|
|
227
|
-
* @param {PositionAlignmentType[]} alignments - An array of alignments to try.
|
|
228
|
-
* @returns {PositionAlignmentType} the alignment that is suitable for the element.
|
|
229
|
-
*/
|
|
230
|
-
const getSuitableAlignment = (containerBox, elementBox, targetBox, placement, alignments) => {
|
|
231
|
-
const defaultAlignment = alignments[0];
|
|
232
|
-
const suitableAlignment = alignments.find((alignment) => hasEnoughAlignmentSpace(containerBox, targetBox, elementBox, placement, alignment));
|
|
233
|
-
if (suitableAlignment) {
|
|
234
|
-
return suitableAlignment;
|
|
235
|
-
}
|
|
236
|
-
else {
|
|
237
|
-
LogUtility.warn(`
|
|
238
|
-
No enough space found for placing element and we will keep using the defined alignment:
|
|
239
|
-
${defaultAlignment}
|
|
240
|
-
`);
|
|
241
|
-
return defaultAlignment;
|
|
242
|
-
}
|
|
243
|
-
};
|
|
244
|
-
/**
|
|
245
|
-
* Whether the alignment space is enough
|
|
246
|
-
*
|
|
247
|
-
* @param {ElementScrollDimension} containerBox - The bounding box of the container element.
|
|
248
|
-
* @param {ElementBoundBox} targetBox - The position of the target element.
|
|
249
|
-
* @param {ElementBoundBox} elementBox - The box of the element that we're trying to position.
|
|
250
|
-
* @param {PlacementType} placement - The placement of the element relative to the target.
|
|
251
|
-
* @param {PlacementType} alignment - The alignment of the element relative to the target.
|
|
252
|
-
* @returns {boolean} return true if it has enough space, otherwise false
|
|
253
|
-
*/
|
|
254
|
-
function hasEnoughAlignmentSpace(containerBox, targetBox, elementBox, placement, alignment) {
|
|
255
|
-
if (['top', 'bottom'].includes(placement)) {
|
|
256
|
-
switch (alignment) {
|
|
257
|
-
case 'start': {
|
|
258
|
-
return targetBox.left + elementBox.width <= containerBox.width;
|
|
259
|
-
}
|
|
260
|
-
case 'center': {
|
|
261
|
-
return (targetBox.left >= elementBox.width - targetBox.width &&
|
|
262
|
-
targetBox.left + targetBox.width / 2 + elementBox.width / 2 <= containerBox.width);
|
|
263
|
-
}
|
|
264
|
-
case 'end': {
|
|
265
|
-
return targetBox.left + targetBox.width >= elementBox.width;
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
if (['right', 'left'].includes(placement)) {
|
|
270
|
-
switch (alignment) {
|
|
271
|
-
case 'start': {
|
|
272
|
-
return targetBox.top + elementBox.height <= containerBox.height;
|
|
273
|
-
}
|
|
274
|
-
case 'center': {
|
|
275
|
-
return (targetBox.top >= elementBox.height - targetBox.height &&
|
|
276
|
-
targetBox.top + targetBox.height / 2 + elementBox.height / 2 <= containerBox.height);
|
|
277
|
-
}
|
|
278
|
-
case 'end': {
|
|
279
|
-
return targetBox.top + targetBox.height >= elementBox.height;
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
/* istanbul ignore next */
|
|
284
|
-
return false;
|
|
285
|
-
}
|
|
286
|
-
/**
|
|
287
|
-
* If the placement is top or left, then the target's top or left position must be greater than or
|
|
288
|
-
* equal to the element's height or width. If the placement is bottom or right, then the container's
|
|
289
|
-
* height or width minus the target's top or left position minus the target's height or width must be
|
|
290
|
-
* greater than or equal to the element's height or width.
|
|
291
|
-
*
|
|
292
|
-
* @param {ElementScrollDimension} containerBox - The bounding box of the container element.
|
|
293
|
-
* @param {PlacementType} placement - The placement of the element.
|
|
294
|
-
* @param {ElementBoundBox} targetBox - The position of the target element.
|
|
295
|
-
* @param {ElementBoundBox} elementBox - The dimensions of the element to be positioned.
|
|
296
|
-
* @returns {boolean} A boolean value.
|
|
297
|
-
*/
|
|
298
|
-
function hasEnoughSpace(containerBox, placement, targetBox, elementBox) {
|
|
299
|
-
switch (placement) {
|
|
300
|
-
case 'top':
|
|
301
|
-
return targetBox.top >= elementBox.height;
|
|
302
|
-
case 'bottom':
|
|
303
|
-
return containerBox.height - targetBox.top - targetBox.height >= elementBox.height;
|
|
304
|
-
case 'left':
|
|
305
|
-
return targetBox.left >= elementBox.width;
|
|
306
|
-
case 'right':
|
|
307
|
-
return containerBox.width - targetBox.left - targetBox.width >= elementBox.width;
|
|
308
|
-
/* istanbul ignore next */
|
|
309
|
-
default:
|
|
310
|
-
return false;
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* It returns the position of an element relative to its container and also includes the scroll height of container.
|
|
315
|
-
*
|
|
316
|
-
* @param {HTMLElement} target - The element that you want to position.
|
|
317
|
-
* @param {HTMLElement} container - The container element that the target element is inside of.
|
|
318
|
-
* @returns {ElementBoundBox} An object with the properties width, height, top, and left.
|
|
319
|
-
*/
|
|
320
|
-
function getTargetBoundBox(target, container) {
|
|
321
|
-
const containerRect = container.getBoundingClientRect();
|
|
322
|
-
const targetRect = target.getBoundingClientRect();
|
|
323
|
-
const targetTop = targetRect.top - containerRect.top + container.scrollTop;
|
|
324
|
-
const targetLeft = targetRect.left - containerRect.left + container.scrollLeft;
|
|
325
|
-
return {
|
|
326
|
-
width: targetRect.width,
|
|
327
|
-
height: targetRect.height,
|
|
328
|
-
top: targetTop,
|
|
329
|
-
left: targetLeft,
|
|
330
|
-
};
|
|
331
|
-
}
|
|
332
|
-
/**
|
|
333
|
-
* "Get the width, height, and top position of an element."
|
|
334
|
-
*
|
|
335
|
-
* The function takes an element as an argument and returns an object with three properties: width,
|
|
336
|
-
* height, and top.
|
|
337
|
-
*
|
|
338
|
-
* Note: If element is hide, we should temporary change it to `block` to get the bounding client rect of element,
|
|
339
|
-
* After do that, this element will change to origin `hide`, if not, it will be contained in the calculate of `document.documentElement.scrollHeight`
|
|
340
|
-
*
|
|
341
|
-
* @param {HTMLElement} element - HTMLElement - The element to get the position box for.
|
|
342
|
-
* @returns {ElementBoundBox} An object with the width, height, and top properties of the element.
|
|
343
|
-
*/
|
|
344
|
-
function getElementBoundBox(element) {
|
|
345
|
-
const isElementHide = element.classList.contains('vega-force-hidden');
|
|
346
|
-
if (isElementHide)
|
|
347
|
-
element.classList.remove('vega-force-hidden');
|
|
348
|
-
const elementRect = element.getBoundingClientRect();
|
|
349
|
-
if (isElementHide)
|
|
350
|
-
element.classList.add('vega-force-hidden');
|
|
351
|
-
return {
|
|
352
|
-
width: elementRect.width,
|
|
353
|
-
height: elementRect.height,
|
|
354
|
-
left: elementRect.left,
|
|
355
|
-
top: elementRect.top,
|
|
356
|
-
};
|
|
357
|
-
}
|
|
358
|
-
/**
|
|
359
|
-
* "Get the width and height of an element."
|
|
360
|
-
*
|
|
361
|
-
* The function takes a single parameter, a container element, and returns an object with two
|
|
362
|
-
* properties: width and height
|
|
363
|
-
*
|
|
364
|
-
* @param {HTMLElement} container - The container element that the tooltip will be positioned relative
|
|
365
|
-
* to.
|
|
366
|
-
* @returns {ElementScrollDimension} An object with two properties: width and height.
|
|
367
|
-
*/
|
|
368
|
-
function getElementScrollDimension(container) {
|
|
369
|
-
return {
|
|
370
|
-
width: container.scrollWidth,
|
|
371
|
-
height: container.scrollHeight,
|
|
372
|
-
};
|
|
373
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PlacementType, ElementPositionBox, TranslocationType, PositionAlignmentType } from '../types/ui.type';
|
|
2
|
-
/**
|
|
3
|
-
* Get the position of the element in the container according to the target element and the placement
|
|
4
|
-
* If give a translocation, it will apply the translocation to the result.
|
|
5
|
-
* Note: If you use this method to calculate the position, you should make container as relative position at first.
|
|
6
|
-
*
|
|
7
|
-
* @param {HTMLElement} container - The container element of the element to be positioned.
|
|
8
|
-
* @param {HTMLElement} element - The element to be positioned.
|
|
9
|
-
* @param {HTMLElement} target - The element to be positioned.
|
|
10
|
-
* @param {PlacementType | PlacementType[]} [placement] - The placement of the element, which can be a
|
|
11
|
-
* single placement or an array of placements.
|
|
12
|
-
* @param {PositionAlignmentType | PositionAlignmentType[]} alignment - The alignment of the element
|
|
13
|
-
* @param {TranslocationType} [translocation] - The offset of the element relative to the target.
|
|
14
|
-
* @returns {ElementPositionBox} A function that takes in a container, element, target, placement, and translocation and
|
|
15
|
-
* returns an ElementPositionBox.
|
|
16
|
-
*/
|
|
17
|
-
export declare const getPositionBox: (container: HTMLElement, element: HTMLElement, target: HTMLElement, placement?: PlacementType | PlacementType[], alignment?: PositionAlignmentType | PositionAlignmentType[], translocation?: TranslocationType) => ElementPositionBox;
|