@esri/solutions-components 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/card-manager/resources.json +2 -1
- package/dist/assets/t9n/card-manager/resources_en.json +2 -1
- package/dist/assets/t9n/comment-card/resources.json +2 -1
- package/dist/assets/t9n/comment-card/resources_en.json +2 -1
- package/dist/assets/t9n/crowdsource-manager/resources.json +2 -1
- package/dist/assets/t9n/crowdsource-manager/resources_en.json +2 -1
- package/dist/assets/t9n/edit-card/resources.json +3 -0
- package/dist/assets/t9n/edit-card/resources_en.json +3 -0
- package/dist/assets/t9n/info-card/resources.json +6 -0
- package/dist/assets/t9n/info-card/resources_en.json +6 -0
- package/dist/assets/t9n/layer-table/resources.json +10 -1
- package/dist/assets/t9n/layer-table/resources_en.json +10 -1
- package/dist/assets/t9n/map-card/resources.json +1 -7
- package/dist/assets/t9n/map-card/resources_en.json +1 -7
- package/dist/assets/t9n/map-tools/resources.json +9 -0
- package/dist/assets/t9n/map-tools/resources_en.json +9 -0
- package/dist/assets/t9n/media-card/resources.json +2 -1
- package/dist/assets/t9n/media-card/resources_en.json +2 -1
- package/dist/cjs/ExpandToggle-df2e8eee.js +117 -0
- package/dist/cjs/FloatingArrow-d1fa2c13.js +48 -0
- package/dist/cjs/Heading-9abe4b02.js +25 -0
- package/dist/cjs/app-globals-953584e9.js +64 -0
- package/dist/cjs/ar-88fbb2bf.js +98 -0
- package/dist/cjs/array-38a9541f.js +17 -0
- package/dist/cjs/bg-53305961.js +79 -0
- package/dist/cjs/browser-e514d838.js +24 -0
- package/dist/cjs/bs-8fb0c8a8.js +48 -0
- package/dist/cjs/buffer-tools_4.cjs.entry.js +17 -14
- package/dist/cjs/ca-33170ec7.js +68 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +10 -7
- package/dist/cjs/calcite-action-bar_2.cjs.entry.js +655 -0
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +384 -0
- package/dist/cjs/calcite-action-pad.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action_2.cjs.entry.js +407 -69
- package/dist/cjs/calcite-alert.cjs.entry.js +23 -12
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block-section.cjs.entry.js +8 -8
- package/dist/cjs/calcite-block.cjs.entry.js +170 -0
- package/dist/cjs/calcite-button.cjs.entry.js +15 -12
- package/dist/cjs/calcite-card.cjs.entry.js +9 -9
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -8
- package/dist/cjs/calcite-chip-group.cjs.entry.js +9 -6
- package/dist/cjs/calcite-chip.cjs.entry.js +14 -11
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +15 -12
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +1868 -0
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +17 -10
- package/dist/cjs/calcite-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-fab.cjs.entry.js +13 -6
- package/dist/cjs/calcite-filter_3.cjs.entry.js +778 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -11
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph.cjs.entry.js +3 -3
- package/dist/cjs/calcite-handle.cjs.entry.js +136 -0
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +14 -11
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +23 -19
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -13
- package/dist/cjs/calcite-input-text_4.cjs.entry.js +1852 -0
- package/dist/cjs/calcite-input-time-picker-a27cc51a.js +1624 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +15 -14
- package/dist/cjs/calcite-input_2.cjs.entry.js +16 -13
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +12 -5
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +8 -3
- package/dist/cjs/calcite-loader.cjs.entry.js +80 -0
- package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +14 -14
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +5 -5
- package/dist/cjs/calcite-notice.cjs.entry.js +139 -0
- package/dist/cjs/calcite-option_2.cjs.entry.js +12 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +9 -9
- package/dist/cjs/calcite-panel_2.cjs.entry.js +17 -14
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -12
- package/dist/cjs/calcite-pick-list.cjs.entry.js +146 -0
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +35 -6
- package/dist/cjs/calcite-radio-button.cjs.entry.js +56 -26
- package/dist/cjs/calcite-rating.cjs.entry.js +15 -12
- package/dist/cjs/calcite-scrim.cjs.entry.js +44 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +258 -0
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +32 -25
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +10 -7
- package/dist/cjs/calcite-split-button.cjs.entry.js +122 -0
- package/dist/cjs/calcite-stack.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -8
- package/dist/cjs/calcite-stepper.cjs.entry.js +3 -3
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -8
- package/dist/cjs/calcite-text-area.cjs.entry.js +15 -12
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +8 -1
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +10 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_3.cjs.entry.js +15 -48
- package/dist/cjs/card-manager_3.cjs.entry.js +658 -0
- package/dist/cjs/conditionalSlot-981d22ef.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +22 -10
- package/dist/cjs/cs-00bf51dd.js +144 -0
- package/dist/cjs/da-b4fe1bf6.js +63 -0
- package/dist/cjs/date-c378755c.js +250 -0
- package/dist/cjs/de-9df08c96.js +88 -0
- package/dist/cjs/de-at-dac7c3a1.js +87 -0
- package/dist/cjs/de-ch-2e005f38.js +87 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +3 -3
- package/dist/cjs/dom-af578b3b.js +954 -0
- package/dist/cjs/downloadUtils-6d4e269f.js +2729 -0
- package/dist/cjs/edit-card_2.cjs.entry.js +339 -0
- package/dist/cjs/el-bea67f78.js +63 -0
- package/dist/cjs/en-au-1d459a65.js +63 -0
- package/dist/cjs/en-ca-edc65793.js +62 -0
- package/dist/cjs/en-gb-6346d6a4.js +66 -0
- package/dist/cjs/es-aa822160.js +63 -0
- package/dist/cjs/es-mx-64988455.js +62 -0
- package/dist/cjs/et-e5a47682.js +89 -0
- package/dist/cjs/fi-92ac3b85.js +112 -0
- package/dist/cjs/filter-56d64d02.js +765 -0
- package/dist/cjs/floating-ui-b2a26a9a.js +1874 -0
- package/dist/cjs/focusTrapComponent-65d39be9.js +851 -0
- package/dist/cjs/form-f62ca3df.js +288 -0
- package/dist/cjs/fr-1c9ab5db.js +65 -0
- package/dist/cjs/fr-ch-67ccddcd.js +63 -0
- package/dist/cjs/guid-100bd1be.js +26 -0
- package/dist/cjs/he-2306f19e.js +102 -0
- package/dist/cjs/hi-18b2364f.js +62 -0
- package/dist/cjs/hr-f47dfd73.js +77 -0
- package/dist/cjs/hu-9533083e.js +85 -0
- package/dist/cjs/id-b98eb252.js +63 -0
- package/dist/cjs/index.es-fc923796.js +10808 -0
- package/dist/cjs/interactive-e8f05d26.js +147 -0
- package/dist/cjs/interfaces-ad03ec39.js +85 -0
- package/dist/cjs/it-43222f60.js +63 -0
- package/dist/cjs/it-ch-f9eb4007.js +63 -0
- package/dist/cjs/ja-8c6ec082.js +69 -0
- package/dist/cjs/key-2522c20b.js +19 -0
- package/dist/cjs/ko-d2889748.js +69 -0
- package/dist/cjs/label-71d4d3b5.js +136 -0
- package/dist/cjs/loadable-6571b6b9.js +69 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/locale-83870af6.js +570 -0
- package/dist/cjs/lt-1ebac21f.js +94 -0
- package/dist/cjs/lv-cb236d46.js +63 -0
- package/dist/cjs/map-tools.cjs.entry.js +111 -0
- package/dist/cjs/mapViewUtils-efc49df7.js +369 -0
- package/dist/cjs/math-0eb2ec5c.js +28 -0
- package/dist/cjs/mk-00e34bda.js +63 -0
- package/dist/cjs/nb-6e0d9b4c.js +64 -0
- package/dist/cjs/nl-bb4f7d59.js +64 -0
- package/dist/cjs/observers-5c9538b2.js +53 -0
- package/dist/cjs/openCloseComponent-0b7ace48.js +100 -0
- package/dist/cjs/pl-2cf4efab.js +111 -0
- package/dist/cjs/pt-4c4a3aa2.js +64 -0
- package/dist/cjs/pt-br-6abb7f76.js +62 -0
- package/dist/cjs/public-notification.cjs.entry.js +18 -5
- package/dist/cjs/resources-11930a56.js +22 -0
- package/dist/cjs/resources-31971fd8.js +39 -0
- package/dist/cjs/resources-3910592f.js +20 -0
- package/dist/cjs/resources-3a47be9f.js +32 -0
- package/dist/cjs/resources-6c4c932c.js +2057 -0
- package/dist/cjs/resources-c751bdd1.js +50 -0
- package/dist/cjs/resources-d4061075.js +27 -0
- package/dist/cjs/resources-d8a4240f.js +23 -0
- package/dist/cjs/resources-e4e8d49f.js +27 -0
- package/dist/cjs/ro-c257efaf.js +63 -0
- package/dist/cjs/ru-e31a6ee1.js +123 -0
- package/dist/cjs/shared-list-render-d4e4e7b1.js +364 -0
- package/dist/cjs/sk-4d6d340c.js +145 -0
- package/dist/cjs/sl-01804d73.js +63 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +2 -2
- package/dist/cjs/solution-contents_3.cjs.entry.js +2 -2
- package/dist/cjs/solution-store-bd956f06.js +4100 -0
- package/dist/cjs/solutions-components.cjs.js +3 -3
- package/dist/cjs/sortableComponent-76967993.js +3087 -0
- package/dist/cjs/sr-76730aad.js +98 -0
- package/dist/cjs/sv-c1e40108.js +68 -0
- package/dist/cjs/t9n-f82f4304.js +100 -0
- package/dist/cjs/th-758abef8.js +62 -0
- package/dist/cjs/time-a1d60db6.js +208 -0
- package/dist/cjs/tr-36efd084.js +63 -0
- package/dist/cjs/uk-f5a49848.js +101 -0
- package/dist/cjs/utils-300573e5.js +64 -0
- package/dist/cjs/utils-369d7746.js +218 -0
- package/dist/cjs/utils-46e2a6ec.js +55 -0
- package/dist/cjs/utils-cedf26ae.js +87 -0
- package/dist/cjs/vi-f87def37.js +67 -0
- package/dist/cjs/zh-cn-6d3c38fc.js +91 -0
- package/dist/cjs/zh-hk-1bd0e62f.js +68 -0
- package/dist/cjs/zh-tw-40912bdf.js +89 -0
- package/dist/collection/collection-manifest.json +2 -5
- package/dist/collection/components/card-manager/card-manager.css +26 -9
- package/dist/collection/components/card-manager/card-manager.js +96 -29
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +39 -7
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +22 -10
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +5 -5
- package/dist/collection/components/edit-card/edit-card.css +54 -0
- package/dist/collection/components/edit-card/edit-card.js +294 -0
- package/dist/collection/components/info-card/info-card.css +21 -0
- package/dist/collection/components/info-card/info-card.js +199 -36
- package/dist/collection/components/layer-table/layer-table.css +19 -2
- package/dist/collection/components/layer-table/layer-table.js +222 -75
- package/dist/collection/components/map-card/map-card.css +8 -2
- package/dist/collection/components/map-card/map-card.js +24 -93
- package/dist/collection/components/map-layer-picker/map-layer-picker.css +9 -0
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +145 -45
- package/dist/collection/components/map-select-tools/map-select-tools.js +3 -4
- package/dist/collection/components/map-tools/map-tools.css +31 -0
- package/dist/collection/components/map-tools/map-tools.js +196 -0
- package/dist/collection/components/pdf-download/pdf-download.js +19 -1
- package/dist/collection/components/public-notification/public-notification.js +51 -3
- package/dist/collection/components/refine-selection/refine-selection.js +2 -2
- package/dist/collection/demos/buffer-tools.html +2 -2
- package/dist/collection/demos/card-manager.html +49 -3
- package/dist/collection/demos/crowdsource-manager.html +15 -5
- package/dist/collection/demos/crowdsource-reporter.html +2 -2
- package/dist/collection/demos/demo-map.html +2 -2
- package/dist/collection/demos/edit-card.html +34 -0
- package/dist/collection/demos/index.html +1 -1
- package/dist/collection/demos/layer-table.html +2 -2
- package/dist/collection/demos/list-item.html +2 -2
- package/dist/collection/demos/map-card.html +2 -2
- package/dist/collection/demos/map-draw-tools.html +2 -2
- package/dist/collection/demos/map-layer-picker.html +2 -2
- package/dist/collection/demos/map-select-tools.html +2 -2
- package/dist/collection/utils/downloadUtils.js +1 -1
- package/dist/collection/utils/downloadUtils.ts +1 -1
- package/dist/collection/utils/interfaces.js +5 -0
- package/dist/collection/utils/interfaces.ts +18 -6
- package/dist/collection/utils/queryUtils.js +39 -2
- package/dist/collection/utils/queryUtils.ts +48 -3
- package/dist/components/ExpandToggle.js +5 -7
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-bar.js +19 -19
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +2 -2
- package/dist/components/action.js +4 -2
- package/dist/components/alert.js +328 -0
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/browser.js +21 -0
- package/dist/components/button.js +4 -2
- package/dist/components/calcite-accordion-item.js +6 -3
- package/dist/components/calcite-action-pad.js +3 -3
- package/dist/components/calcite-alert.js +1 -310
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +227 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-chip-group.js +4 -2
- package/dist/components/calcite-color-picker.js +3 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-fab.js +9 -3
- package/dist/components/calcite-flow-item.js +4 -2
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-inline-editable.js +4 -2
- package/dist/components/calcite-input-date-picker.js +7 -4
- package/dist/components/calcite-input-time-picker.js +5 -3
- package/dist/components/calcite-list-item-group.js +6 -2
- package/dist/components/calcite-menu-item.js +2 -2
- package/dist/components/calcite-modal.js +408 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +2 -2
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-pick-list.js +159 -1
- package/dist/components/calcite-radio-button-group.js +38 -7
- package/dist/components/calcite-radio-button.js +50 -21
- package/dist/components/calcite-rating.js +4 -2
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +5 -3
- package/dist/components/calcite-split-button.js +167 -1
- package/dist/components/calcite-stack.js +2 -2
- package/dist/components/calcite-stepper-item.js +3 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-text-area.js +5 -3
- package/dist/components/calcite-tile-select-group.js +7 -1
- package/dist/components/calcite-tile-select.js +4 -2
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/card-manager.js +1 -133
- package/dist/components/card-manager2.js +177 -0
- package/dist/components/checkbox.js +3 -1
- package/dist/components/chip.js +5 -3
- package/dist/components/color-picker-hex-input.js +3 -3
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/combobox-item.js +4 -2
- package/dist/components/combobox.js +5 -3
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/crowdsource-manager.js +93 -69
- package/dist/components/date-picker-day.js +8 -2
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/deduct-calculator2.js +3 -3
- package/dist/components/dom.js +3 -3
- package/dist/components/downloadUtils.js +2 -2
- package/dist/components/dropdown-group.js +1 -1
- package/dist/components/dropdown-item.js +1 -1
- package/dist/components/dropdown.js +6 -4
- package/dist/components/edit-card.d.ts +11 -0
- package/dist/components/edit-card.js +11 -0
- package/dist/components/edit-card2.js +201 -0
- package/dist/components/filter.js +4 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +228 -179
- package/dist/components/focusTrapComponent.js +47 -5
- package/dist/components/form.js +2 -2
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.d.ts +2 -5
- package/dist/components/index.js +3 -6
- package/dist/components/info-card2.js +183 -28
- package/dist/components/input-message.js +2 -2
- package/dist/components/input-number.js +6 -4
- package/dist/components/input-text.js +5 -3
- package/dist/components/input.js +6 -4
- package/dist/components/interactive.js +80 -10
- package/dist/components/interfaces.js +6 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +2 -2
- package/dist/components/layer-table2.js +221 -117
- package/dist/components/link.js +8 -2
- package/dist/components/list-item2.js +7 -7
- package/dist/components/list.js +8 -8
- package/dist/components/loadable.js +1 -1
- package/dist/components/locale2.js +7 -4
- package/dist/components/map-card2.js +65 -92
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-layer-picker2.js +133 -239
- package/dist/components/map-select-tools2.js +38 -14
- package/dist/components/map-tools.d.ts +11 -0
- package/dist/components/map-tools.js +11 -0
- package/dist/components/map-tools2.js +176 -0
- package/dist/components/mapViewUtils.js +204 -0
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +2 -2
- package/dist/components/notice.js +2 -2
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +5 -3
- package/dist/components/pdf-download2.js +3 -1
- package/dist/components/pick-list-item.js +4 -2
- package/dist/components/popover.js +3 -3
- package/dist/components/public-notification.js +57 -23
- package/dist/components/queryUtils.js +11 -17
- package/dist/components/refine-selection2.js +36 -11
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +39 -2
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +3 -1
- package/dist/components/select.js +5 -3
- package/dist/components/shared-list-render.js +3 -3
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +2 -2
- package/dist/components/slider.js +4 -2
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/switch.js +4 -2
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +4 -2
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +4 -2
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +45 -28
- package/dist/components/tree-item.js +9 -43
- package/dist/components/tree.js +2 -2
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +3 -3
- package/dist/components/utils3.js +2 -2
- package/dist/components/value-list-item.js +4 -2
- package/dist/components/value-list.js +6 -4
- package/dist/esm/ExpandToggle-4683a6dc.js +109 -0
- package/dist/esm/FloatingArrow-fa0da351.js +46 -0
- package/dist/esm/Heading-14bfe249.js +22 -0
- package/dist/esm/app-globals-b5877644.js +62 -0
- package/dist/esm/ar-8e6281b5.js +96 -0
- package/dist/esm/array-e32fb269.js +15 -0
- package/dist/esm/bg-89c46a11.js +77 -0
- package/dist/esm/browser-f8ca09b7.js +21 -0
- package/dist/esm/bs-567a72ac.js +46 -0
- package/dist/esm/buffer-tools_4.entry.js +17 -14
- package/dist/esm/ca-0d08cce0.js +66 -0
- package/dist/esm/calcite-accordion-item.entry.js +10 -7
- package/dist/esm/calcite-action-bar_2.entry.js +650 -0
- package/dist/esm/calcite-action-group_2.entry.js +379 -0
- package/dist/esm/calcite-action-pad.entry.js +15 -15
- package/dist/esm/calcite-action_2.entry.js +408 -70
- package/dist/esm/calcite-alert.entry.js +23 -12
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block-section.entry.js +8 -8
- package/dist/esm/calcite-block.entry.js +166 -0
- package/dist/esm/calcite-button.entry.js +15 -12
- package/dist/esm/calcite-card.entry.js +9 -9
- package/dist/esm/calcite-checkbox.entry.js +11 -8
- package/dist/esm/calcite-chip-group.entry.js +9 -6
- package/dist/esm/calcite-chip.entry.js +14 -11
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +15 -12
- package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
- package/dist/esm/calcite-combobox_6.entry.js +1859 -0
- package/dist/esm/calcite-date-picker-day_3.entry.js +17 -10
- package/dist/esm/calcite-date-picker.entry.js +11 -11
- package/dist/esm/calcite-fab.entry.js +13 -6
- package/dist/esm/calcite-filter_3.entry.js +772 -0
- package/dist/esm/calcite-flow-item.entry.js +14 -11
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph.entry.js +3 -3
- package/dist/esm/calcite-handle.entry.js +132 -0
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +14 -11
- package/dist/esm/calcite-input-date-picker.entry.js +23 -19
- package/dist/esm/calcite-input-number.entry.js +16 -13
- package/dist/esm/calcite-input-text_4.entry.js +1845 -0
- package/dist/esm/calcite-input-time-picker-d5606a45.js +1621 -0
- package/dist/esm/calcite-input-time-picker.entry.js +15 -14
- package/dist/esm/calcite-input_2.entry.js +16 -13
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +12 -5
- package/dist/esm/calcite-list-item-group.entry.js +8 -3
- package/dist/esm/calcite-loader.entry.js +76 -0
- package/dist/esm/calcite-menu-item.entry.js +10 -10
- package/dist/esm/calcite-menu.entry.js +9 -9
- package/dist/esm/calcite-modal.entry.js +14 -14
- package/dist/esm/calcite-navigation-logo.entry.js +2 -2
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +5 -5
- package/dist/esm/calcite-notice.entry.js +135 -0
- package/dist/esm/calcite-option_2.entry.js +12 -9
- package/dist/esm/calcite-pagination.entry.js +9 -9
- package/dist/esm/calcite-panel_2.entry.js +17 -14
- package/dist/esm/calcite-pick-list-group.entry.js +7 -7
- package/dist/esm/calcite-pick-list-item.entry.js +15 -12
- package/dist/esm/calcite-pick-list.entry.js +142 -0
- package/dist/esm/calcite-radio-button-group.entry.js +35 -6
- package/dist/esm/calcite-radio-button.entry.js +57 -27
- package/dist/esm/calcite-rating.entry.js +15 -12
- package/dist/esm/calcite-scrim.entry.js +44 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +253 -0
- package/dist/esm/calcite-shell-center-row.entry.js +6 -6
- package/dist/esm/calcite-shell-panel_14.entry.js +32 -25
- package/dist/esm/calcite-sortable-list.entry.js +10 -7
- package/dist/esm/calcite-split-button.entry.js +118 -0
- package/dist/esm/calcite-stack.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +11 -8
- package/dist/esm/calcite-stepper.entry.js +3 -3
- package/dist/esm/calcite-switch.entry.js +11 -8
- package/dist/esm/calcite-text-area.entry.js +15 -12
- package/dist/esm/calcite-tile-select-group.entry.js +8 -1
- package/dist/esm/calcite-tile-select.entry.js +7 -4
- package/dist/esm/calcite-tile.entry.js +10 -7
- package/dist/esm/calcite-time-picker.entry.js +10 -10
- package/dist/esm/calcite-tip-manager.entry.js +9 -9
- package/dist/esm/calcite-tip.entry.js +10 -10
- package/dist/esm/calcite-tree_3.entry.js +15 -48
- package/dist/esm/card-manager_3.entry.js +652 -0
- package/dist/esm/conditionalSlot-b651e48a.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +22 -10
- package/dist/esm/cs-4ea5bb28.js +142 -0
- package/dist/esm/da-8121b2c6.js +61 -0
- package/dist/esm/date-3f48db3f.js +235 -0
- package/dist/esm/de-4f0e6db4.js +86 -0
- package/dist/esm/de-at-6f914992.js +85 -0
- package/dist/esm/de-ch-ba51285a.js +85 -0
- package/dist/esm/deduct-calculator.entry.js +3 -3
- package/dist/esm/dom-03275741.js +927 -0
- package/dist/esm/downloadUtils-1092cb0f.js +2723 -0
- package/dist/esm/edit-card_2.entry.js +334 -0
- package/dist/esm/el-2fb644ad.js +61 -0
- package/dist/esm/en-au-469a4963.js +61 -0
- package/dist/esm/en-ca-a110f04a.js +60 -0
- package/dist/esm/en-gb-04dd59df.js +64 -0
- package/dist/esm/es-901bbd11.js +61 -0
- package/dist/esm/es-mx-c3cff8d1.js +60 -0
- package/dist/esm/et-0ded5035.js +87 -0
- package/dist/esm/fi-767e7505.js +110 -0
- package/dist/esm/filter-4ba3be5f.js +763 -0
- package/dist/esm/floating-ui-1e70279f.js +1866 -0
- package/dist/esm/focusTrapComponent-eaa62505.js +846 -0
- package/dist/esm/form-8396f037.js +280 -0
- package/dist/esm/fr-ch-8c34f192.js +61 -0
- package/dist/esm/fr-e6bda0a2.js +63 -0
- package/dist/esm/guid-1fbbc894.js +24 -0
- package/dist/esm/he-00779397.js +100 -0
- package/dist/esm/hi-f3d5ecb7.js +60 -0
- package/dist/esm/hr-1d8c2cad.js +75 -0
- package/dist/esm/hu-4290c5fe.js +83 -0
- package/dist/esm/id-58d1a3cb.js +61 -0
- package/dist/esm/index.es-08a48fdd.js +10722 -0
- package/dist/esm/interactive-e5b2cca0.js +143 -0
- package/dist/esm/interfaces-bf20e69c.js +85 -0
- package/dist/esm/it-ch-74c5b6dd.js +61 -0
- package/dist/esm/it-ef33898d.js +61 -0
- package/dist/esm/ja-7f21d57b.js +67 -0
- package/dist/esm/key-d6bc268b.js +16 -0
- package/dist/esm/ko-0790a2d9.js +67 -0
- package/dist/esm/label-6db1573f.js +130 -0
- package/dist/esm/loadable-3cf62971.js +65 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/locale-ead7fa24.js +558 -0
- package/dist/esm/lt-6e66fa4a.js +92 -0
- package/dist/esm/lv-0c39ca8e.js +61 -0
- package/dist/esm/map-tools.entry.js +107 -0
- package/dist/esm/mapViewUtils-a787c6a8.js +356 -0
- package/dist/esm/math-5e1080da.js +25 -0
- package/dist/esm/mk-0e1b5772.js +61 -0
- package/dist/esm/nb-8b0c8dcb.js +62 -0
- package/dist/esm/nl-89c00bbe.js +62 -0
- package/dist/esm/observers-76deadbc.js +51 -0
- package/dist/esm/openCloseComponent-7d3ca222.js +96 -0
- package/dist/esm/pl-2c7583e1.js +109 -0
- package/dist/esm/pt-br-0544aa11.js +60 -0
- package/dist/esm/pt-eb653341.js +62 -0
- package/dist/esm/public-notification.entry.js +18 -5
- package/dist/esm/resources-3600c05b.js +46 -0
- package/dist/esm/resources-4d6ec614.js +24 -0
- package/dist/esm/resources-684bbbfe.js +23 -0
- package/dist/esm/resources-85e89a13.js +19 -0
- package/dist/esm/resources-885142d2.js +2048 -0
- package/dist/esm/resources-a3b9b875.js +20 -0
- package/dist/esm/resources-e7e4115c.js +35 -0
- package/dist/esm/resources-ee3b03a3.js +28 -0
- package/dist/esm/resources-f5948e92.js +20 -0
- package/dist/esm/ro-f5c8d5e2.js +61 -0
- package/dist/esm/ru-7725d9a9.js +121 -0
- package/dist/esm/shared-list-render-19de1661.js +342 -0
- package/dist/esm/sk-606ae6cd.js +143 -0
- package/dist/esm/sl-8a06145d.js +61 -0
- package/dist/esm/solution-configuration.entry.js +2 -2
- package/dist/esm/solution-contents_3.entry.js +2 -2
- package/dist/esm/solution-store-c107ca4d.js +4092 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/sortableComponent-dab8ef70.js +3082 -0
- package/dist/esm/sr-7eff7ca4.js +96 -0
- package/dist/esm/sv-0ab2f707.js +66 -0
- package/dist/esm/t9n-ece1047e.js +95 -0
- package/dist/esm/th-29a9e340.js +60 -0
- package/dist/esm/time-7b08c631.js +195 -0
- package/dist/esm/tr-6748b764.js +61 -0
- package/dist/esm/uk-de4e1b64.js +99 -0
- package/dist/esm/utils-33f2d835.js +200 -0
- package/dist/esm/utils-43f27af6.js +61 -0
- package/dist/esm/utils-a29ac888.js +45 -0
- package/dist/esm/utils-d1d9ff93.js +79 -0
- package/dist/esm/vi-6830c744.js +65 -0
- package/dist/esm/zh-cn-ad4dc9be.js +89 -0
- package/dist/esm/zh-hk-81513d7a.js +66 -0
- package/dist/esm/zh-tw-4ff4db52.js +87 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +11 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +1 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +3 -2
- package/dist/solutions-components/assets/icon/circlePause16.json +1 -0
- package/dist/solutions-components/assets/icon/circlePause16F.json +1 -0
- package/dist/solutions-components/assets/icon/circlePause24.json +1 -0
- package/dist/solutions-components/assets/icon/circlePause24F.json +1 -0
- package/dist/solutions-components/assets/icon/circlePause32.json +1 -0
- package/dist/solutions-components/assets/icon/circlePause32F.json +1 -0
- package/dist/solutions-components/assets/icon/h3Hexagon16.json +1 -0
- package/dist/solutions-components/assets/icon/h3Hexagon24.json +1 -0
- package/dist/solutions-components/assets/icon/h3Hexagon32.json +1 -0
- package/dist/solutions-components/assets/icon/merge216.json +1 -0
- package/dist/solutions-components/assets/icon/merge224.json +1 -0
- package/dist/solutions-components/assets/icon/merge232.json +1 -0
- package/dist/solutions-components/assets/icon/recycleBin16.json +1 -0
- package/dist/solutions-components/assets/icon/recycleBin24.json +1 -0
- package/dist/solutions-components/assets/icon/recycleBin32.json +1 -0
- package/dist/solutions-components/assets/icon/transverseHexagon16.json +1 -0
- package/dist/solutions-components/assets/icon/transverseHexagon24.json +1 -0
- package/dist/solutions-components/assets/icon/transverseHexagon32.json +1 -0
- package/dist/solutions-components/assets/icon/unmerge16.json +1 -0
- package/dist/solutions-components/assets/icon/unmerge24.json +1 -0
- package/dist/solutions-components/assets/icon/unmerge32.json +1 -0
- package/dist/solutions-components/demos/buffer-tools.html +2 -2
- package/dist/solutions-components/demos/card-manager.html +49 -3
- package/dist/solutions-components/demos/crowdsource-manager.html +15 -5
- package/dist/solutions-components/demos/crowdsource-reporter.html +2 -2
- package/dist/solutions-components/demos/demo-map.html +2 -2
- package/dist/solutions-components/demos/edit-card.html +34 -0
- package/dist/solutions-components/demos/index.html +1 -1
- package/dist/solutions-components/demos/layer-table.html +2 -2
- package/dist/solutions-components/demos/list-item.html +2 -2
- package/dist/solutions-components/demos/map-card.html +2 -2
- package/dist/solutions-components/demos/map-draw-tools.html +2 -2
- package/dist/solutions-components/demos/map-layer-picker.html +2 -2
- package/dist/solutions-components/demos/map-select-tools.html +2 -2
- package/dist/solutions-components/p-0036e829.js +11 -0
- package/dist/solutions-components/p-004eb0a6.entry.js +6 -0
- package/dist/solutions-components/p-04c41e35.js +6 -0
- package/dist/solutions-components/p-058f02c9.js +6 -0
- package/dist/solutions-components/p-05f6859f.js +11 -0
- package/dist/solutions-components/p-0641aa9b.js +36 -0
- package/dist/solutions-components/p-0bb57140.js +16 -0
- package/dist/solutions-components/p-0d2c9050.js +6 -0
- package/dist/solutions-components/p-0e024d20.entry.js +11 -0
- package/dist/solutions-components/p-0ef9e367.entry.js +17 -0
- package/dist/solutions-components/p-0ff7b311.js +16 -0
- package/dist/solutions-components/p-1085b789.js +11 -0
- package/dist/solutions-components/p-10dd03be.js +6 -0
- package/dist/solutions-components/p-10e93b31.entry.js +11 -0
- package/dist/solutions-components/p-132843d2.entry.js +11 -0
- package/dist/solutions-components/p-13a8349e.js +6 -0
- package/dist/solutions-components/p-16146013.js +6 -0
- package/dist/solutions-components/p-161ac069.entry.js +6 -0
- package/dist/solutions-components/p-16643fca.entry.js +11 -0
- package/dist/solutions-components/p-1aca2237.js +17 -0
- package/dist/solutions-components/p-1b69c50d.entry.js +11 -0
- package/dist/solutions-components/p-1d81a92e.entry.js +11 -0
- package/dist/solutions-components/p-1f1bd18d.js +11 -0
- package/dist/solutions-components/p-214657d6.entry.js +6 -0
- package/dist/solutions-components/p-2284cd37.js +11 -0
- package/dist/solutions-components/p-22c4225f.entry.js +11 -0
- package/dist/solutions-components/p-2455a61f.entry.js +11 -0
- package/dist/solutions-components/p-293a0267.entry.js +11 -0
- package/dist/solutions-components/p-2c049a6d.entry.js +37 -0
- package/dist/solutions-components/p-2d651417.js +6 -0
- package/dist/solutions-components/p-2f632334.entry.js +11 -0
- package/dist/solutions-components/p-309d3096.js +6 -0
- package/dist/solutions-components/p-34737573.js +6 -0
- package/dist/solutions-components/p-35195436.entry.js +11 -0
- package/dist/solutions-components/p-37a78329.js +6 -0
- package/dist/solutions-components/p-386dbde1.js +6 -0
- package/dist/solutions-components/p-3b57fcc6.js +11 -0
- package/dist/solutions-components/p-40bdd836.js +11 -0
- package/dist/solutions-components/p-41f5a5fc.js +12 -0
- package/dist/solutions-components/p-438560cf.js +6 -0
- package/dist/solutions-components/p-474b00d7.entry.js +11 -0
- package/dist/solutions-components/p-4766a668.entry.js +6 -0
- package/dist/solutions-components/p-4989e987.js +6 -0
- package/dist/solutions-components/p-4aab2c0d.entry.js +6 -0
- package/dist/solutions-components/p-4b738e52.entry.js +11 -0
- package/dist/solutions-components/p-4ea9094a.js +6 -0
- package/dist/solutions-components/p-5173b841.js +11 -0
- package/dist/solutions-components/p-5652bbda.js +6 -0
- package/dist/solutions-components/p-57fa8ff3.entry.js +6 -0
- package/dist/solutions-components/p-58448ac4.entry.js +11 -0
- package/dist/solutions-components/p-5a6ca63b.entry.js +35 -0
- package/dist/solutions-components/p-5a6f8f15.entry.js +17 -0
- package/dist/solutions-components/p-5b260e5f.js +61 -0
- package/dist/solutions-components/p-5bab0d9d.entry.js +11 -0
- package/dist/solutions-components/p-5ca01455.entry.js +11 -0
- package/dist/solutions-components/p-5f05045a.entry.js +6 -0
- package/dist/solutions-components/p-5fc99541.js +257 -0
- package/dist/solutions-components/p-60dba0cb.js +11 -0
- package/dist/solutions-components/p-610ff7ca.js +6 -0
- package/dist/solutions-components/p-612c38cc.js +6 -0
- package/dist/solutions-components/p-628f2a83.entry.js +11 -0
- package/dist/solutions-components/p-62a49383.js +6 -0
- package/dist/solutions-components/p-6305f474.entry.js +18 -0
- package/dist/solutions-components/p-67d0ce8c.entry.js +11 -0
- package/dist/solutions-components/p-67d75135.js +6 -0
- package/dist/solutions-components/p-693bafa4.js +6 -0
- package/dist/solutions-components/p-6960ce47.js +6 -0
- package/dist/solutions-components/p-696de9a4.entry.js +6 -0
- package/dist/solutions-components/p-69cd4b76.entry.js +17 -0
- package/dist/solutions-components/p-6c1d694f.js +6 -0
- package/dist/solutions-components/p-743451a5.entry.js +6 -0
- package/dist/solutions-components/p-7479f322.entry.js +28 -0
- package/dist/solutions-components/p-74a2d025.entry.js +6 -0
- package/dist/solutions-components/p-75ed8af0.entry.js +12 -0
- package/dist/solutions-components/p-76716055.js +6 -0
- package/dist/solutions-components/p-77649e3a.js +11 -0
- package/dist/solutions-components/p-7764def7.js +11 -0
- package/dist/solutions-components/p-781480c2.entry.js +6 -0
- package/dist/solutions-components/p-7a42ffab.js +11 -0
- package/dist/solutions-components/p-7ab9d4a8.js +11 -0
- package/dist/solutions-components/p-7cbe5354.js +6 -0
- package/dist/solutions-components/p-7f3c3a5d.entry.js +11 -0
- package/dist/solutions-components/p-7fd8e783.js +18 -0
- package/dist/solutions-components/p-800e94cb.entry.js +11 -0
- package/dist/solutions-components/p-81c695d6.entry.js +11 -0
- package/dist/solutions-components/p-8249c47b.js +11 -0
- package/dist/solutions-components/p-82922f3a.entry.js +37 -0
- package/dist/solutions-components/p-841a5f97.entry.js +6 -0
- package/dist/solutions-components/p-84d9dacf.entry.js +11 -0
- package/dist/solutions-components/p-87cc78f1.js +6 -0
- package/dist/solutions-components/p-892d0a1d.js +6 -0
- package/dist/solutions-components/p-8bf81a2e.js +11 -0
- package/dist/solutions-components/p-8e003792.js +6 -0
- package/dist/solutions-components/p-8e541da0.js +6 -0
- package/dist/solutions-components/p-944c2f33.entry.js +11 -0
- package/dist/solutions-components/p-9630e3b7.js +11 -0
- package/dist/solutions-components/p-96bd78ec.entry.js +11 -0
- package/dist/solutions-components/p-978b9ba3.entry.js +6 -0
- package/dist/solutions-components/p-99b55177.js +11 -0
- package/dist/solutions-components/p-9a19cfb6.js +6 -0
- package/dist/solutions-components/p-9ab03591.js +21 -0
- package/dist/solutions-components/p-9bc20eff.entry.js +6 -0
- package/dist/solutions-components/p-9c42e5ca.js +6 -0
- package/dist/solutions-components/p-9ed9ea6a.js +6 -0
- package/dist/solutions-components/p-9f214b82.entry.js +11 -0
- package/dist/solutions-components/p-a3b55d2b.js +6 -0
- package/dist/solutions-components/p-a5d44d7d.js +11 -0
- package/dist/solutions-components/p-a62c1b3c.entry.js +6 -0
- package/dist/solutions-components/p-a6730996.js +6 -0
- package/dist/solutions-components/p-a738e38f.js +11 -0
- package/dist/solutions-components/p-a74094e4.js +17 -0
- package/dist/solutions-components/p-a8253173.js +6 -0
- package/dist/solutions-components/p-a94f0d7b.entry.js +11 -0
- package/dist/solutions-components/p-a9dab418.entry.js +11 -0
- package/dist/solutions-components/p-ac36a101.js +6 -0
- package/dist/solutions-components/p-ad60a547.js +474 -0
- package/dist/solutions-components/p-b018bd03.js +6 -0
- package/dist/solutions-components/p-b39e12ab.js +6 -0
- package/dist/solutions-components/p-b4c65a27.entry.js +6 -0
- package/dist/solutions-components/p-b64401a3.entry.js +6 -0
- package/dist/solutions-components/p-b70a3d8d.entry.js +11 -0
- package/dist/solutions-components/p-b940aa2f.entry.js +6 -0
- package/dist/solutions-components/p-b9a21972.js +6 -0
- package/dist/solutions-components/p-ba34ef55.js +6 -0
- package/dist/solutions-components/p-ba8ec9b6.entry.js +35 -0
- package/dist/solutions-components/p-bb322078.entry.js +11 -0
- package/dist/solutions-components/p-bc6ce0ff.js +6 -0
- package/dist/solutions-components/p-c0738483.entry.js +11 -0
- package/dist/solutions-components/p-c2316631.entry.js +16 -0
- package/dist/solutions-components/p-c2a141cc.js +11 -0
- package/dist/solutions-components/p-c2d148da.js +11 -0
- package/dist/solutions-components/p-c52de940.entry.js +11 -0
- package/dist/solutions-components/p-c844e615.js +12 -0
- package/dist/solutions-components/p-c8835780.js +11 -0
- package/dist/solutions-components/p-ca67597d.js +6 -0
- package/dist/solutions-components/p-ca6edad0.js +11 -0
- package/dist/solutions-components/p-ccf5c0ff.entry.js +11 -0
- package/dist/solutions-components/p-cd9579c6.js +11 -0
- package/dist/solutions-components/p-ce57ecf3.entry.js +6 -0
- package/dist/solutions-components/p-d042dd6a.entry.js +12 -0
- package/dist/solutions-components/p-d088d13a.entry.js +6 -0
- package/dist/solutions-components/p-d102a71f.js +6 -0
- package/dist/solutions-components/p-d164a8b0.entry.js +12 -0
- package/dist/solutions-components/p-d17b0020.entry.js +11 -0
- package/dist/solutions-components/p-d4c9dda7.entry.js +11 -0
- package/dist/solutions-components/p-d5104492.js +6 -0
- package/dist/solutions-components/p-d60a77a4.js +11 -0
- package/dist/solutions-components/p-d866ff25.js +11 -0
- package/dist/solutions-components/p-dac4f4cb.js +6 -0
- package/dist/solutions-components/p-db08ef87.js +11 -0
- package/dist/solutions-components/p-db546438.entry.js +11 -0
- package/dist/solutions-components/p-de9d2167.entry.js +11 -0
- package/dist/solutions-components/p-e0af78a4.js +6 -0
- package/dist/solutions-components/p-e13ba5ae.js +6 -0
- package/dist/solutions-components/p-e320f0ed.entry.js +11 -0
- package/dist/solutions-components/p-e5d839f8.js +6 -0
- package/dist/solutions-components/p-e5e20990.js +11 -0
- package/dist/solutions-components/p-e617f6e9.js +6 -0
- package/dist/solutions-components/p-ea7c74b7.entry.js +11 -0
- package/dist/solutions-components/p-eafc4b73.js +11 -0
- package/dist/solutions-components/p-ed2eea7f.entry.js +23 -0
- package/dist/solutions-components/p-ed65f44c.entry.js +11 -0
- package/dist/solutions-components/p-f08e454f.entry.js +11 -0
- package/dist/solutions-components/p-f1d4f341.js +6 -0
- package/dist/solutions-components/p-f54ca1e4.entry.js +11 -0
- package/dist/solutions-components/p-f62c655b.entry.js +11 -0
- package/dist/solutions-components/p-f68a8cd4.entry.js +11 -0
- package/dist/solutions-components/p-f6ec5e80.js +11 -0
- package/dist/solutions-components/p-f9b91640.js +11 -0
- package/dist/solutions-components/p-fae853e9.js +16 -0
- package/dist/solutions-components/p-fb233add.entry.js +6 -0
- package/dist/solutions-components/p-ff27b297.js +11 -0
- package/dist/solutions-components/p-ffb12960.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +1 -1
- package/dist/solutions-components/utils/interfaces.ts +18 -6
- package/dist/solutions-components/utils/queryUtils.ts +48 -3
- package/dist/types/components/card-manager/card-manager.d.ts +33 -5
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +12 -4
- package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +2 -2
- package/dist/types/components/edit-card/edit-card.d.ts +136 -0
- package/dist/types/components/info-card/info-card.d.ts +89 -9
- package/dist/types/components/layer-table/layer-table.d.ts +102 -33
- package/dist/types/components/map-card/map-card.d.ts +12 -42
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +50 -11
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +1 -1
- package/dist/types/components/map-tools/map-tools.d.ts +87 -0
- package/dist/types/components/pdf-download/pdf-download.d.ts +4 -0
- package/dist/types/components/public-notification/public-notification.d.ts +18 -2
- package/dist/types/components/refine-selection/refine-selection.d.ts +1 -1
- package/dist/types/components.d.ts +169 -117
- package/dist/types/preact.d.ts +10 -13
- package/dist/types/utils/interfaces.d.ts +16 -4
- package/dist/types/utils/queryUtils.d.ts +17 -1
- package/package.json +2 -2
- package/dist/assets/t9n/edit-record-modal/resources.json +0 -8
- package/dist/assets/t9n/edit-record-modal/resources_en.json +0 -8
- package/dist/cjs/ExpandToggle-8e23a37e.js +0 -119
- package/dist/cjs/FloatingArrow-7747dddf.js +0 -48
- package/dist/cjs/Heading-52c0152b.js +0 -25
- package/dist/cjs/add-record-modal.cjs.entry.js +0 -106
- package/dist/cjs/app-globals-cd063150.js +0 -64
- package/dist/cjs/ar-06e23092.js +0 -97
- package/dist/cjs/array-cb509bfb.js +0 -17
- package/dist/cjs/bg-b197c685.js +0 -78
- package/dist/cjs/bs-b7279fd9.js +0 -47
- package/dist/cjs/ca-c127e2c7.js +0 -67
- package/dist/cjs/calcite-action-bar_4.cjs.entry.js +0 -629
- package/dist/cjs/calcite-action-group.cjs.entry.js +0 -116
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +0 -691
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +0 -1156
- package/dist/cjs/calcite-dropdown_5.cjs.entry.js +0 -866
- package/dist/cjs/calcite-filter_5.cjs.entry.js +0 -1014
- package/dist/cjs/calcite-input-text_5.cjs.entry.js +0 -1969
- package/dist/cjs/calcite-input-time-picker-1c90d5aa.js +0 -1622
- package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -413
- package/dist/cjs/card-manager.cjs.entry.js +0 -91
- package/dist/cjs/comment-card.cjs.entry.js +0 -75
- package/dist/cjs/conditionalSlot-df3ccf68.js +0 -63
- package/dist/cjs/cs-f482fe72.js +0 -143
- package/dist/cjs/da-b8ab4c7b.js +0 -62
- package/dist/cjs/date-23702871.js +0 -250
- package/dist/cjs/de-6bc1f7ac.js +0 -87
- package/dist/cjs/de-at-46963b6b.js +0 -86
- package/dist/cjs/de-ch-160af810.js +0 -86
- package/dist/cjs/dom-5fd13fa0.js +0 -954
- package/dist/cjs/downloadUtils-fd585157.js +0 -2729
- package/dist/cjs/el-64fa4e5b.js +0 -62
- package/dist/cjs/en-au-d6d05b1c.js +0 -62
- package/dist/cjs/en-ca-e4c76e21.js +0 -61
- package/dist/cjs/en-gb-bbc542f7.js +0 -65
- package/dist/cjs/es-13c046da.js +0 -62
- package/dist/cjs/es-mx-bc0dcd4b.js +0 -61
- package/dist/cjs/et-96792c05.js +0 -88
- package/dist/cjs/fi-228557cc.js +0 -111
- package/dist/cjs/filter-8be5307a.js +0 -765
- package/dist/cjs/floating-ui-72d35286.js +0 -1825
- package/dist/cjs/focusTrapComponent-8e851fe9.js +0 -809
- package/dist/cjs/form-bbb48e39.js +0 -288
- package/dist/cjs/fr-cfe747ac.js +0 -64
- package/dist/cjs/fr-ch-ff5aa897.js +0 -62
- package/dist/cjs/guid-66679eda.js +0 -26
- package/dist/cjs/he-fb6d2d39.js +0 -101
- package/dist/cjs/hi-30c7826f.js +0 -61
- package/dist/cjs/hr-c1eab940.js +0 -76
- package/dist/cjs/hu-fba39a67.js +0 -84
- package/dist/cjs/id-b5e6f8ba.js +0 -62
- package/dist/cjs/index.es-d125163b.js +0 -10808
- package/dist/cjs/info-card_2.cjs.entry.js +0 -203
- package/dist/cjs/interactive-39ec70c2.js +0 -75
- package/dist/cjs/interfaces-842c84a1.js +0 -80
- package/dist/cjs/it-ca0d0aac.js +0 -62
- package/dist/cjs/it-ch-65c41132.js +0 -62
- package/dist/cjs/ja-a5f9afc7.js +0 -68
- package/dist/cjs/key-5b33d77d.js +0 -19
- package/dist/cjs/ko-852f5312.js +0 -68
- package/dist/cjs/label-345b79b7.js +0 -136
- package/dist/cjs/layer-table_2.cjs.entry.js +0 -517
- package/dist/cjs/loadable-30ee9cda.js +0 -69
- package/dist/cjs/locale-180f4242.js +0 -567
- package/dist/cjs/lt-255c3b01.js +0 -93
- package/dist/cjs/lv-7ed56721.js +0 -62
- package/dist/cjs/map-search.cjs.entry.js +0 -176
- package/dist/cjs/mapViewUtils-9c67134b.js +0 -375
- package/dist/cjs/math-c948c17d.js +0 -28
- package/dist/cjs/mk-f6d33563.js +0 -62
- package/dist/cjs/nb-bd0ca554.js +0 -63
- package/dist/cjs/nl-eadfdfb4.js +0 -63
- package/dist/cjs/observers-f7aad52c.js +0 -53
- package/dist/cjs/openCloseComponent-84b60d30.js +0 -100
- package/dist/cjs/pl-c9d0eeb6.js +0 -110
- package/dist/cjs/pt-abc4d582.js +0 -63
- package/dist/cjs/pt-br-217ada13.js +0 -61
- package/dist/cjs/resources-1687ac3b.js +0 -27
- package/dist/cjs/resources-17e31c94.js +0 -32
- package/dist/cjs/resources-2194e840.js +0 -2057
- package/dist/cjs/resources-5d9c0817.js +0 -23
- package/dist/cjs/resources-840442cb.js +0 -22
- package/dist/cjs/resources-8f85e83e.js +0 -27
- package/dist/cjs/resources-b2a52eac.js +0 -50
- package/dist/cjs/resources-b9022801.js +0 -39
- package/dist/cjs/resources-c050c6cd.js +0 -20
- package/dist/cjs/ro-1618e102.js +0 -62
- package/dist/cjs/ru-a23bea65.js +0 -122
- package/dist/cjs/shared-list-render-e49ee33c.js +0 -364
- package/dist/cjs/sk-dcacc22d.js +0 -144
- package/dist/cjs/sl-313d5585.js +0 -62
- package/dist/cjs/solution-store-ca4639d5.js +0 -4100
- package/dist/cjs/sortableComponent-e91c4b54.js +0 -3087
- package/dist/cjs/sr-c7b2c043.js +0 -97
- package/dist/cjs/sv-d8327a96.js +0 -67
- package/dist/cjs/t9n-44f8e750.js +0 -100
- package/dist/cjs/th-871548cb.js +0 -61
- package/dist/cjs/time-0ae619db.js +0 -208
- package/dist/cjs/tr-799e3306.js +0 -62
- package/dist/cjs/uk-eb7261c3.js +0 -100
- package/dist/cjs/utils-3c384fb2.js +0 -55
- package/dist/cjs/utils-49d0aa19.js +0 -218
- package/dist/cjs/utils-5c1c33cf.js +0 -64
- package/dist/cjs/utils-da61890c.js +0 -87
- package/dist/cjs/vi-ebbac61c.js +0 -66
- package/dist/cjs/zh-cn-dfcfe1fe.js +0 -90
- package/dist/cjs/zh-hk-64eeb0f6.js +0 -67
- package/dist/cjs/zh-tw-3d6f9661.js +0 -88
- package/dist/collection/components/add-record-modal/add-record-modal.css +0 -36
- package/dist/collection/components/add-record-modal/add-record-modal.js +0 -149
- package/dist/collection/components/comment-card/comment-card.css +0 -19
- package/dist/collection/components/comment-card/comment-card.js +0 -89
- package/dist/collection/components/edit-record-modal/edit-record-modal.css +0 -35
- package/dist/collection/components/edit-record-modal/edit-record-modal.js +0 -141
- package/dist/collection/components/map-search/map-search.css +0 -24
- package/dist/collection/components/map-search/map-search.js +0 -284
- package/dist/collection/components/media-card/media-card.css +0 -58
- package/dist/collection/components/media-card/media-card.js +0 -187
- package/dist/collection/demos/add-record-modal.html +0 -34
- package/dist/collection/demos/comment-card.html +0 -81
- package/dist/collection/demos/edit-record-modal.html +0 -34
- package/dist/collection/demos/map-search.html +0 -81
- package/dist/collection/demos/media-card.html +0 -71
- package/dist/components/add-record-modal.d.ts +0 -11
- package/dist/components/add-record-modal.js +0 -171
- package/dist/components/block.js +0 -232
- package/dist/components/comment-card.d.ts +0 -11
- package/dist/components/comment-card.js +0 -90
- package/dist/components/edit-record-modal.d.ts +0 -11
- package/dist/components/edit-record-modal.js +0 -11
- package/dist/components/edit-record-modal2.js +0 -161
- package/dist/components/map-search.d.ts +0 -11
- package/dist/components/map-search.js +0 -195
- package/dist/components/media-card.d.ts +0 -11
- package/dist/components/media-card.js +0 -11
- package/dist/components/media-card2.js +0 -177
- package/dist/components/modal.js +0 -415
- package/dist/components/pick-list.js +0 -164
- package/dist/components/split-button.js +0 -168
- package/dist/esm/ExpandToggle-ed0c4899.js +0 -111
- package/dist/esm/FloatingArrow-e769cdda.js +0 -46
- package/dist/esm/Heading-c36f4400.js +0 -22
- package/dist/esm/add-record-modal.entry.js +0 -102
- package/dist/esm/app-globals-4c1c4b90.js +0 -62
- package/dist/esm/ar-5fce09b4.js +0 -95
- package/dist/esm/array-af5e433b.js +0 -15
- package/dist/esm/bg-88930ab8.js +0 -76
- package/dist/esm/bs-83095544.js +0 -45
- package/dist/esm/ca-2452be3f.js +0 -65
- package/dist/esm/calcite-action-bar_4.entry.js +0 -622
- package/dist/esm/calcite-action-group.entry.js +0 -112
- package/dist/esm/calcite-action-menu_2.entry.js +0 -686
- package/dist/esm/calcite-combobox_3.entry.js +0 -1150
- package/dist/esm/calcite-dropdown_5.entry.js +0 -858
- package/dist/esm/calcite-filter_5.entry.js +0 -1006
- package/dist/esm/calcite-input-text_5.entry.js +0 -1961
- package/dist/esm/calcite-input-time-picker-379ab2c4.js +0 -1619
- package/dist/esm/calcite-tooltip.entry.js +0 -409
- package/dist/esm/card-manager.entry.js +0 -87
- package/dist/esm/comment-card.entry.js +0 -71
- package/dist/esm/conditionalSlot-e9ec914f.js +0 -60
- package/dist/esm/cs-c4999998.js +0 -141
- package/dist/esm/da-6e7eb415.js +0 -60
- package/dist/esm/date-85b54b18.js +0 -235
- package/dist/esm/de-39db71ff.js +0 -85
- package/dist/esm/de-at-0b43fa52.js +0 -84
- package/dist/esm/de-ch-345e1007.js +0 -84
- package/dist/esm/dom-e14bb980.js +0 -927
- package/dist/esm/downloadUtils-c4d8f012.js +0 -2723
- package/dist/esm/el-3d3eb2d9.js +0 -60
- package/dist/esm/en-au-f85fb0f9.js +0 -60
- package/dist/esm/en-ca-ae24e23b.js +0 -59
- package/dist/esm/en-gb-9f56a48f.js +0 -63
- package/dist/esm/es-00ec702d.js +0 -60
- package/dist/esm/es-mx-5fb19224.js +0 -59
- package/dist/esm/et-1a294618.js +0 -86
- package/dist/esm/fi-1bcfd731.js +0 -109
- package/dist/esm/filter-09439c1d.js +0 -763
- package/dist/esm/floating-ui-421b8ed2.js +0 -1817
- package/dist/esm/focusTrapComponent-45081255.js +0 -804
- package/dist/esm/form-58f5ab7c.js +0 -280
- package/dist/esm/fr-3a844513.js +0 -62
- package/dist/esm/fr-ch-32438415.js +0 -60
- package/dist/esm/guid-5c8ddb45.js +0 -24
- package/dist/esm/he-4d2d41f5.js +0 -99
- package/dist/esm/hi-e5a5cf07.js +0 -59
- package/dist/esm/hr-003c79cb.js +0 -74
- package/dist/esm/hu-a679b97b.js +0 -82
- package/dist/esm/id-8ce09f04.js +0 -60
- package/dist/esm/index.es-ba252f56.js +0 -10722
- package/dist/esm/info-card_2.entry.js +0 -198
- package/dist/esm/interactive-eaa1e00b.js +0 -73
- package/dist/esm/interfaces-523c6558.js +0 -80
- package/dist/esm/it-8a20f6f9.js +0 -60
- package/dist/esm/it-ch-b829ceb9.js +0 -60
- package/dist/esm/ja-ab479dce.js +0 -66
- package/dist/esm/key-2c25459c.js +0 -16
- package/dist/esm/ko-a523df7c.js +0 -66
- package/dist/esm/label-10a81bc6.js +0 -130
- package/dist/esm/layer-table_2.entry.js +0 -512
- package/dist/esm/loadable-fca3f617.js +0 -65
- package/dist/esm/locale-b550eae4.js +0 -555
- package/dist/esm/lt-6061d0cc.js +0 -91
- package/dist/esm/lv-c8234418.js +0 -60
- package/dist/esm/map-search.entry.js +0 -172
- package/dist/esm/mapViewUtils-06a77be9.js +0 -362
- package/dist/esm/math-778f9699.js +0 -25
- package/dist/esm/mk-d08e7df4.js +0 -60
- package/dist/esm/nb-35ca03d9.js +0 -61
- package/dist/esm/nl-e815c488.js +0 -61
- package/dist/esm/observers-b17e5da7.js +0 -51
- package/dist/esm/openCloseComponent-1aef0328.js +0 -96
- package/dist/esm/pl-a1c11e8b.js +0 -108
- package/dist/esm/pt-8874bd08.js +0 -61
- package/dist/esm/pt-br-cb76472e.js +0 -59
- package/dist/esm/resources-09757d0c.js +0 -23
- package/dist/esm/resources-23bce35b.js +0 -20
- package/dist/esm/resources-6c49ff61.js +0 -2048
- package/dist/esm/resources-78b20773.js +0 -20
- package/dist/esm/resources-a9874e81.js +0 -28
- package/dist/esm/resources-ac65ccee.js +0 -35
- package/dist/esm/resources-bf1eeffc.js +0 -24
- package/dist/esm/resources-c59151a8.js +0 -19
- package/dist/esm/resources-f5fec753.js +0 -46
- package/dist/esm/ro-0e8b863a.js +0 -60
- package/dist/esm/ru-f3224893.js +0 -120
- package/dist/esm/shared-list-render-86d8dcb7.js +0 -342
- package/dist/esm/sk-eccf534f.js +0 -142
- package/dist/esm/sl-a8e0c24f.js +0 -60
- package/dist/esm/solution-store-70f874f8.js +0 -4092
- package/dist/esm/sortableComponent-267e5853.js +0 -3082
- package/dist/esm/sr-0e5973cb.js +0 -95
- package/dist/esm/sv-ff8fbe95.js +0 -65
- package/dist/esm/t9n-4c43412c.js +0 -95
- package/dist/esm/th-90f7d79c.js +0 -59
- package/dist/esm/time-18f4bea6.js +0 -195
- package/dist/esm/tr-8a61ecaa.js +0 -60
- package/dist/esm/uk-cb40a88d.js +0 -98
- package/dist/esm/utils-701a66a0.js +0 -45
- package/dist/esm/utils-d5304067.js +0 -200
- package/dist/esm/utils-e59e3392.js +0 -79
- package/dist/esm/utils-fbb44364.js +0 -61
- package/dist/esm/vi-03f26f71.js +0 -64
- package/dist/esm/zh-cn-b40fefb9.js +0 -88
- package/dist/esm/zh-hk-846adb7a.js +0 -65
- package/dist/esm/zh-tw-5e6c0c4c.js +0 -86
- package/dist/solutions-components/demos/add-record-modal.html +0 -34
- package/dist/solutions-components/demos/comment-card.html +0 -81
- package/dist/solutions-components/demos/edit-record-modal.html +0 -34
- package/dist/solutions-components/demos/map-search.html +0 -81
- package/dist/solutions-components/demos/media-card.html +0 -71
- package/dist/solutions-components/p-0004c7cf.js +0 -11
- package/dist/solutions-components/p-028fe399.js +0 -11
- package/dist/solutions-components/p-02934a73.js +0 -6
- package/dist/solutions-components/p-0350a94c.js +0 -6
- package/dist/solutions-components/p-03630cc2.js +0 -11
- package/dist/solutions-components/p-0c0ae47e.entry.js +0 -6
- package/dist/solutions-components/p-100a644d.js +0 -6
- package/dist/solutions-components/p-10ee8954.js +0 -11
- package/dist/solutions-components/p-14b581f0.js +0 -6
- package/dist/solutions-components/p-156616b5.js +0 -6
- package/dist/solutions-components/p-163f9453.entry.js +0 -22
- package/dist/solutions-components/p-16a85289.entry.js +0 -11
- package/dist/solutions-components/p-18c285a2.entry.js +0 -6
- package/dist/solutions-components/p-1c6b3fcc.js +0 -11
- package/dist/solutions-components/p-1ff86baf.js +0 -6
- package/dist/solutions-components/p-21894ee1.entry.js +0 -6
- package/dist/solutions-components/p-21d890eb.js +0 -11
- package/dist/solutions-components/p-22367f3b.entry.js +0 -11
- package/dist/solutions-components/p-224fc498.js +0 -6
- package/dist/solutions-components/p-253c9105.entry.js +0 -11
- package/dist/solutions-components/p-274e2b43.entry.js +0 -16
- package/dist/solutions-components/p-29de380e.entry.js +0 -23
- package/dist/solutions-components/p-2ab62909.entry.js +0 -12
- package/dist/solutions-components/p-2ba08c44.js +0 -11
- package/dist/solutions-components/p-2c91149c.entry.js +0 -17
- package/dist/solutions-components/p-2d79dcaa.entry.js +0 -6
- package/dist/solutions-components/p-2e02d0c6.js +0 -6
- package/dist/solutions-components/p-2fb33412.js +0 -6
- package/dist/solutions-components/p-2ff245e3.entry.js +0 -11
- package/dist/solutions-components/p-309ab62c.entry.js +0 -6
- package/dist/solutions-components/p-30fff23a.js +0 -6
- package/dist/solutions-components/p-31084785.entry.js +0 -11
- package/dist/solutions-components/p-322657e1.js +0 -6
- package/dist/solutions-components/p-333fece7.js +0 -11
- package/dist/solutions-components/p-33f7b5ad.entry.js +0 -12
- package/dist/solutions-components/p-34b5fd3f.js +0 -11
- package/dist/solutions-components/p-354a1a55.js +0 -16
- package/dist/solutions-components/p-360652a6.js +0 -6
- package/dist/solutions-components/p-361a2107.js +0 -6
- package/dist/solutions-components/p-36b68fb9.js +0 -11
- package/dist/solutions-components/p-3918da18.js +0 -6
- package/dist/solutions-components/p-3965e731.js +0 -6
- package/dist/solutions-components/p-3b2f8f0d.entry.js +0 -11
- package/dist/solutions-components/p-3ed956eb.js +0 -36
- package/dist/solutions-components/p-3fba8b91.js +0 -6
- package/dist/solutions-components/p-40494687.js +0 -11
- package/dist/solutions-components/p-441a995d.js +0 -11
- package/dist/solutions-components/p-453cd5e4.entry.js +0 -11
- package/dist/solutions-components/p-460d4659.entry.js +0 -11
- package/dist/solutions-components/p-486ea405.js +0 -11
- package/dist/solutions-components/p-48fd5600.entry.js +0 -11
- package/dist/solutions-components/p-4a0899a1.entry.js +0 -6
- package/dist/solutions-components/p-4a7214b3.js +0 -6
- package/dist/solutions-components/p-4a86a776.js +0 -474
- package/dist/solutions-components/p-4f308c0c.entry.js +0 -11
- package/dist/solutions-components/p-50ebdbe1.entry.js +0 -6
- package/dist/solutions-components/p-55a4d846.entry.js +0 -18
- package/dist/solutions-components/p-563863b1.entry.js +0 -11
- package/dist/solutions-components/p-56ee8fcf.entry.js +0 -6
- package/dist/solutions-components/p-5730082b.entry.js +0 -17
- package/dist/solutions-components/p-5798a8e1.entry.js +0 -11
- package/dist/solutions-components/p-5a9f7d1d.entry.js +0 -11
- package/dist/solutions-components/p-5dc70753.entry.js +0 -6
- package/dist/solutions-components/p-5ed755a2.entry.js +0 -37
- package/dist/solutions-components/p-5f9044e9.entry.js +0 -6
- package/dist/solutions-components/p-67dce98d.js +0 -11
- package/dist/solutions-components/p-681822de.entry.js +0 -11
- package/dist/solutions-components/p-68ae67e2.js +0 -6
- package/dist/solutions-components/p-6aabe903.entry.js +0 -6
- package/dist/solutions-components/p-6aeb2614.entry.js +0 -6
- package/dist/solutions-components/p-6b0437e2.js +0 -11
- package/dist/solutions-components/p-6b16e621.js +0 -17
- package/dist/solutions-components/p-6bca27ae.entry.js +0 -6
- package/dist/solutions-components/p-6e8fc013.js +0 -11
- package/dist/solutions-components/p-6f090d92.entry.js +0 -11
- package/dist/solutions-components/p-71f15882.js +0 -6
- package/dist/solutions-components/p-72bd2198.js +0 -6
- package/dist/solutions-components/p-734fb637.entry.js +0 -11
- package/dist/solutions-components/p-737ebddb.js +0 -6
- package/dist/solutions-components/p-74ab524f.entry.js +0 -17
- package/dist/solutions-components/p-751105bf.entry.js +0 -11
- package/dist/solutions-components/p-758a5902.js +0 -6
- package/dist/solutions-components/p-75d44bac.entry.js +0 -11
- package/dist/solutions-components/p-76fd5733.js +0 -11
- package/dist/solutions-components/p-78315271.entry.js +0 -11
- package/dist/solutions-components/p-78719506.js +0 -257
- package/dist/solutions-components/p-7903b163.js +0 -12
- package/dist/solutions-components/p-7b49e5e3.js +0 -11
- package/dist/solutions-components/p-7b4a714b.js +0 -11
- package/dist/solutions-components/p-7b7091d4.js +0 -16
- package/dist/solutions-components/p-7c96a204.entry.js +0 -11
- package/dist/solutions-components/p-7d1fd0ab.js +0 -11
- package/dist/solutions-components/p-7d3582a2.js +0 -18
- package/dist/solutions-components/p-7d5a1cdb.js +0 -11
- package/dist/solutions-components/p-7dfb2d00.entry.js +0 -17
- package/dist/solutions-components/p-7ed79fea.entry.js +0 -6
- package/dist/solutions-components/p-805d62b8.js +0 -6
- package/dist/solutions-components/p-817b174b.js +0 -6
- package/dist/solutions-components/p-851fd101.entry.js +0 -6
- package/dist/solutions-components/p-85706e85.js +0 -11
- package/dist/solutions-components/p-8b1bac08.entry.js +0 -11
- package/dist/solutions-components/p-90abad32.js +0 -6
- package/dist/solutions-components/p-9151a991.js +0 -17
- package/dist/solutions-components/p-918b08f8.js +0 -6
- package/dist/solutions-components/p-92123a6f.js +0 -6
- package/dist/solutions-components/p-92de1de9.js +0 -21
- package/dist/solutions-components/p-93015b7f.entry.js +0 -29
- package/dist/solutions-components/p-963026b1.js +0 -11
- package/dist/solutions-components/p-96601723.entry.js +0 -11
- package/dist/solutions-components/p-966deb61.js +0 -16
- package/dist/solutions-components/p-987fc85a.js +0 -6
- package/dist/solutions-components/p-9ae83468.js +0 -6
- package/dist/solutions-components/p-9d8ba56e.js +0 -11
- package/dist/solutions-components/p-a3539120.js +0 -11
- package/dist/solutions-components/p-a36a4f4c.entry.js +0 -11
- package/dist/solutions-components/p-a390ad52.js +0 -6
- package/dist/solutions-components/p-a4f6cb03.js +0 -6
- package/dist/solutions-components/p-a58a83f5.entry.js +0 -11
- package/dist/solutions-components/p-a5f966da.js +0 -6
- package/dist/solutions-components/p-a717b838.entry.js +0 -11
- package/dist/solutions-components/p-aa2b508b.js +0 -6
- package/dist/solutions-components/p-ad77361c.entry.js +0 -11
- package/dist/solutions-components/p-b05c0dab.js +0 -6
- package/dist/solutions-components/p-b2175b0f.js +0 -11
- package/dist/solutions-components/p-b32b130a.entry.js +0 -11
- package/dist/solutions-components/p-b34f269f.entry.js +0 -6
- package/dist/solutions-components/p-b4b19fd3.entry.js +0 -37
- package/dist/solutions-components/p-b62c14e9.entry.js +0 -23
- package/dist/solutions-components/p-b85c70ff.js +0 -6
- package/dist/solutions-components/p-b9569aa8.js +0 -6
- package/dist/solutions-components/p-b9df29d5.entry.js +0 -6
- package/dist/solutions-components/p-c68c6cfc.js +0 -6
- package/dist/solutions-components/p-c7f63eae.entry.js +0 -6
- package/dist/solutions-components/p-c80b582f.js +0 -11
- package/dist/solutions-components/p-c9c400b0.js +0 -6
- package/dist/solutions-components/p-cfdcbbc4.entry.js +0 -11
- package/dist/solutions-components/p-d0a0d58e.js +0 -6
- package/dist/solutions-components/p-d0bd5dc8.js +0 -11
- package/dist/solutions-components/p-d13c5d43.js +0 -6
- package/dist/solutions-components/p-d2dfbb78.entry.js +0 -11
- package/dist/solutions-components/p-d4c7b0b0.entry.js +0 -11
- package/dist/solutions-components/p-d54d34a3.entry.js +0 -11
- package/dist/solutions-components/p-d6c1abd1.js +0 -11
- package/dist/solutions-components/p-d7e59435.entry.js +0 -35
- package/dist/solutions-components/p-dadd5bfb.js +0 -11
- package/dist/solutions-components/p-dc9c209f.entry.js +0 -11
- package/dist/solutions-components/p-e12458f7.js +0 -6
- package/dist/solutions-components/p-e1384eb6.entry.js +0 -6
- package/dist/solutions-components/p-e13bc246.entry.js +0 -18
- package/dist/solutions-components/p-e19a5718.entry.js +0 -11
- package/dist/solutions-components/p-e470b2c7.entry.js +0 -6
- package/dist/solutions-components/p-e4e33d1c.js +0 -6
- package/dist/solutions-components/p-e6330f55.entry.js +0 -11
- package/dist/solutions-components/p-e7b96c06.js +0 -11
- package/dist/solutions-components/p-e84ff0f8.entry.js +0 -6
- package/dist/solutions-components/p-e90f8998.entry.js +0 -11
- package/dist/solutions-components/p-e9f43fe1.entry.js +0 -11
- package/dist/solutions-components/p-ebd369cf.js +0 -6
- package/dist/solutions-components/p-eda91258.entry.js +0 -11
- package/dist/solutions-components/p-ee853883.entry.js +0 -11
- package/dist/solutions-components/p-eea493bc.js +0 -6
- package/dist/solutions-components/p-eec28f93.js +0 -6
- package/dist/solutions-components/p-eee3969d.entry.js +0 -11
- package/dist/solutions-components/p-f03a6d9c.js +0 -61
- package/dist/solutions-components/p-f1aaf8d9.entry.js +0 -6
- package/dist/solutions-components/p-f226673c.js +0 -11
- package/dist/solutions-components/p-f546e45d.js +0 -6
- package/dist/solutions-components/p-fa3d2b1f.js +0 -6
- package/dist/solutions-components/p-fb33ea5f.js +0 -6
- package/dist/solutions-components/p-fb553e61.js +0 -6
- package/dist/solutions-components/p-fb8aa15c.entry.js +0 -11
- package/dist/types/components/add-record-modal/add-record-modal.d.ts +0 -68
- package/dist/types/components/comment-card/comment-card.d.ts +0 -26
- package/dist/types/components/edit-record-modal/edit-record-modal.d.ts +0 -49
- package/dist/types/components/map-search/map-search.d.ts +0 -120
- package/dist/types/components/media-card/media-card.d.ts +0 -80
@@ -1,1622 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
'use strict';
|
7
|
-
|
8
|
-
const index = require('./index-6654298b.js');
|
9
|
-
const form = require('./form-bbb48e39.js');
|
10
|
-
const guid = require('./guid-66679eda.js');
|
11
|
-
const interactive = require('./interactive-39ec70c2.js');
|
12
|
-
const key = require('./key-5b33d77d.js');
|
13
|
-
const label = require('./label-345b79b7.js');
|
14
|
-
const loadable = require('./loadable-30ee9cda.js');
|
15
|
-
const locale$1 = require('./locale-180f4242.js');
|
16
|
-
const focusTrapComponent = require('./focusTrapComponent-8e851fe9.js');
|
17
|
-
const time = require('./time-0ae619db.js');
|
18
|
-
const t9n = require('./t9n-44f8e750.js');
|
19
|
-
|
20
|
-
/*!
|
21
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
22
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
23
|
-
* v1.4.2
|
24
|
-
*/
|
25
|
-
const CSS = {
|
26
|
-
toggleIcon: "toggle-icon"
|
27
|
-
};
|
28
|
-
|
29
|
-
var SECONDS_A_MINUTE = 60;
|
30
|
-
var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
|
31
|
-
var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
|
32
|
-
var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
|
33
|
-
var MILLISECONDS_A_SECOND = 1e3;
|
34
|
-
var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
|
35
|
-
var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
|
36
|
-
var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
|
37
|
-
var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
|
38
|
-
|
39
|
-
var MS = 'millisecond';
|
40
|
-
var S = 'second';
|
41
|
-
var MIN = 'minute';
|
42
|
-
var H = 'hour';
|
43
|
-
var D = 'day';
|
44
|
-
var W = 'week';
|
45
|
-
var M = 'month';
|
46
|
-
var Q = 'quarter';
|
47
|
-
var Y = 'year';
|
48
|
-
var DATE = 'date';
|
49
|
-
var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
|
50
|
-
var INVALID_DATE_STRING = 'Invalid Date'; // regex
|
51
|
-
|
52
|
-
var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
|
53
|
-
var REGEX_FORMAT = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
|
54
|
-
|
55
|
-
// English [en]
|
56
|
-
// We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
|
57
|
-
const en = {
|
58
|
-
name: 'en',
|
59
|
-
weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
|
60
|
-
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
|
61
|
-
ordinal: function ordinal(n) {
|
62
|
-
var s = ['th', 'st', 'nd', 'rd'];
|
63
|
-
var v = n % 100;
|
64
|
-
return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
|
65
|
-
}
|
66
|
-
};
|
67
|
-
|
68
|
-
const en$1 = /*#__PURE__*/Object.freeze({
|
69
|
-
__proto__: null,
|
70
|
-
'default': en
|
71
|
-
});
|
72
|
-
|
73
|
-
var padStart = function padStart(string, length, pad) {
|
74
|
-
var s = String(string);
|
75
|
-
if (!s || s.length >= length) return string;
|
76
|
-
return "" + Array(length + 1 - s.length).join(pad) + string;
|
77
|
-
};
|
78
|
-
|
79
|
-
var padZoneStr = function padZoneStr(instance) {
|
80
|
-
var negMinutes = -instance.utcOffset();
|
81
|
-
var minutes = Math.abs(negMinutes);
|
82
|
-
var hourOffset = Math.floor(minutes / 60);
|
83
|
-
var minuteOffset = minutes % 60;
|
84
|
-
return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
|
85
|
-
};
|
86
|
-
|
87
|
-
var monthDiff = function monthDiff(a, b) {
|
88
|
-
// function from moment.js in order to keep the same result
|
89
|
-
if (a.date() < b.date()) return -monthDiff(b, a);
|
90
|
-
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
|
91
|
-
var anchor = a.clone().add(wholeMonthDiff, M);
|
92
|
-
var c = b - anchor < 0;
|
93
|
-
var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
|
94
|
-
return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
|
95
|
-
};
|
96
|
-
|
97
|
-
var absFloor = function absFloor(n) {
|
98
|
-
return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
|
99
|
-
};
|
100
|
-
|
101
|
-
var prettyUnit = function prettyUnit(u) {
|
102
|
-
var special = {
|
103
|
-
M: M,
|
104
|
-
y: Y,
|
105
|
-
w: W,
|
106
|
-
d: D,
|
107
|
-
D: DATE,
|
108
|
-
h: H,
|
109
|
-
m: MIN,
|
110
|
-
s: S,
|
111
|
-
ms: MS,
|
112
|
-
Q: Q
|
113
|
-
};
|
114
|
-
return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
|
115
|
-
};
|
116
|
-
|
117
|
-
var isUndefined = function isUndefined(s) {
|
118
|
-
return s === undefined;
|
119
|
-
};
|
120
|
-
|
121
|
-
const U = {
|
122
|
-
s: padStart,
|
123
|
-
z: padZoneStr,
|
124
|
-
m: monthDiff,
|
125
|
-
a: absFloor,
|
126
|
-
p: prettyUnit,
|
127
|
-
u: isUndefined
|
128
|
-
};
|
129
|
-
|
130
|
-
var L = 'en'; // global locale
|
131
|
-
|
132
|
-
var Ls = {}; // global loaded locale
|
133
|
-
|
134
|
-
Ls[L] = en;
|
135
|
-
|
136
|
-
var isDayjs = function isDayjs(d) {
|
137
|
-
return d instanceof Dayjs;
|
138
|
-
}; // eslint-disable-line no-use-before-define
|
139
|
-
|
140
|
-
|
141
|
-
var parseLocale = function parseLocale(preset, object, isLocal) {
|
142
|
-
var l;
|
143
|
-
if (!preset) return L;
|
144
|
-
|
145
|
-
if (typeof preset === 'string') {
|
146
|
-
var presetLower = preset.toLowerCase();
|
147
|
-
|
148
|
-
if (Ls[presetLower]) {
|
149
|
-
l = presetLower;
|
150
|
-
}
|
151
|
-
|
152
|
-
if (object) {
|
153
|
-
Ls[presetLower] = object;
|
154
|
-
l = presetLower;
|
155
|
-
}
|
156
|
-
|
157
|
-
var presetSplit = preset.split('-');
|
158
|
-
|
159
|
-
if (!l && presetSplit.length > 1) {
|
160
|
-
return parseLocale(presetSplit[0]);
|
161
|
-
}
|
162
|
-
} else {
|
163
|
-
var name = preset.name;
|
164
|
-
Ls[name] = preset;
|
165
|
-
l = name;
|
166
|
-
}
|
167
|
-
|
168
|
-
if (!isLocal && l) L = l;
|
169
|
-
return l || !isLocal && L;
|
170
|
-
};
|
171
|
-
|
172
|
-
var dayjs = function dayjs(date, c) {
|
173
|
-
if (isDayjs(date)) {
|
174
|
-
return date.clone();
|
175
|
-
} // eslint-disable-next-line no-nested-ternary
|
176
|
-
|
177
|
-
|
178
|
-
var cfg = typeof c === 'object' ? c : {};
|
179
|
-
cfg.date = date;
|
180
|
-
cfg.args = arguments; // eslint-disable-line prefer-rest-params
|
181
|
-
|
182
|
-
return new Dayjs(cfg); // eslint-disable-line no-use-before-define
|
183
|
-
};
|
184
|
-
|
185
|
-
var wrapper = function wrapper(date, instance) {
|
186
|
-
return dayjs(date, {
|
187
|
-
locale: instance.$L,
|
188
|
-
utc: instance.$u,
|
189
|
-
x: instance.$x,
|
190
|
-
$offset: instance.$offset // todo: refactor; do not use this.$offset in you code
|
191
|
-
|
192
|
-
});
|
193
|
-
};
|
194
|
-
|
195
|
-
var Utils = U; // for plugin use
|
196
|
-
|
197
|
-
Utils.l = parseLocale;
|
198
|
-
Utils.i = isDayjs;
|
199
|
-
Utils.w = wrapper;
|
200
|
-
|
201
|
-
var parseDate = function parseDate(cfg) {
|
202
|
-
var date = cfg.date,
|
203
|
-
utc = cfg.utc;
|
204
|
-
if (date === null) return new Date(NaN); // null is invalid
|
205
|
-
|
206
|
-
if (Utils.u(date)) return new Date(); // today
|
207
|
-
|
208
|
-
if (date instanceof Date) return new Date(date);
|
209
|
-
|
210
|
-
if (typeof date === 'string' && !/Z$/i.test(date)) {
|
211
|
-
var d = date.match(REGEX_PARSE);
|
212
|
-
|
213
|
-
if (d) {
|
214
|
-
var m = d[2] - 1 || 0;
|
215
|
-
var ms = (d[7] || '0').substring(0, 3);
|
216
|
-
|
217
|
-
if (utc) {
|
218
|
-
return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
|
219
|
-
}
|
220
|
-
|
221
|
-
return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
|
222
|
-
}
|
223
|
-
}
|
224
|
-
|
225
|
-
return new Date(date); // everything else
|
226
|
-
};
|
227
|
-
|
228
|
-
var Dayjs = /*#__PURE__*/function () {
|
229
|
-
function Dayjs(cfg) {
|
230
|
-
this.$L = parseLocale(cfg.locale, null, true);
|
231
|
-
this.parse(cfg); // for plugin
|
232
|
-
}
|
233
|
-
|
234
|
-
var _proto = Dayjs.prototype;
|
235
|
-
|
236
|
-
_proto.parse = function parse(cfg) {
|
237
|
-
this.$d = parseDate(cfg);
|
238
|
-
this.$x = cfg.x || {};
|
239
|
-
this.init();
|
240
|
-
};
|
241
|
-
|
242
|
-
_proto.init = function init() {
|
243
|
-
var $d = this.$d;
|
244
|
-
this.$y = $d.getFullYear();
|
245
|
-
this.$M = $d.getMonth();
|
246
|
-
this.$D = $d.getDate();
|
247
|
-
this.$W = $d.getDay();
|
248
|
-
this.$H = $d.getHours();
|
249
|
-
this.$m = $d.getMinutes();
|
250
|
-
this.$s = $d.getSeconds();
|
251
|
-
this.$ms = $d.getMilliseconds();
|
252
|
-
} // eslint-disable-next-line class-methods-use-this
|
253
|
-
;
|
254
|
-
|
255
|
-
_proto.$utils = function $utils() {
|
256
|
-
return Utils;
|
257
|
-
};
|
258
|
-
|
259
|
-
_proto.isValid = function isValid() {
|
260
|
-
return !(this.$d.toString() === INVALID_DATE_STRING);
|
261
|
-
};
|
262
|
-
|
263
|
-
_proto.isSame = function isSame(that, units) {
|
264
|
-
var other = dayjs(that);
|
265
|
-
return this.startOf(units) <= other && other <= this.endOf(units);
|
266
|
-
};
|
267
|
-
|
268
|
-
_proto.isAfter = function isAfter(that, units) {
|
269
|
-
return dayjs(that) < this.startOf(units);
|
270
|
-
};
|
271
|
-
|
272
|
-
_proto.isBefore = function isBefore(that, units) {
|
273
|
-
return this.endOf(units) < dayjs(that);
|
274
|
-
};
|
275
|
-
|
276
|
-
_proto.$g = function $g(input, get, set) {
|
277
|
-
if (Utils.u(input)) return this[get];
|
278
|
-
return this.set(set, input);
|
279
|
-
};
|
280
|
-
|
281
|
-
_proto.unix = function unix() {
|
282
|
-
return Math.floor(this.valueOf() / 1000);
|
283
|
-
};
|
284
|
-
|
285
|
-
_proto.valueOf = function valueOf() {
|
286
|
-
// timezone(hour) * 60 * 60 * 1000 => ms
|
287
|
-
return this.$d.getTime();
|
288
|
-
};
|
289
|
-
|
290
|
-
_proto.startOf = function startOf(units, _startOf) {
|
291
|
-
var _this = this;
|
292
|
-
|
293
|
-
// startOf -> endOf
|
294
|
-
var isStartOf = !Utils.u(_startOf) ? _startOf : true;
|
295
|
-
var unit = Utils.p(units);
|
296
|
-
|
297
|
-
var instanceFactory = function instanceFactory(d, m) {
|
298
|
-
var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
|
299
|
-
return isStartOf ? ins : ins.endOf(D);
|
300
|
-
};
|
301
|
-
|
302
|
-
var instanceFactorySet = function instanceFactorySet(method, slice) {
|
303
|
-
var argumentStart = [0, 0, 0, 0];
|
304
|
-
var argumentEnd = [23, 59, 59, 999];
|
305
|
-
return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
|
306
|
-
_this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
|
307
|
-
};
|
308
|
-
|
309
|
-
var $W = this.$W,
|
310
|
-
$M = this.$M,
|
311
|
-
$D = this.$D;
|
312
|
-
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
313
|
-
|
314
|
-
switch (unit) {
|
315
|
-
case Y:
|
316
|
-
return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
|
317
|
-
|
318
|
-
case M:
|
319
|
-
return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
|
320
|
-
|
321
|
-
case W:
|
322
|
-
{
|
323
|
-
var weekStart = this.$locale().weekStart || 0;
|
324
|
-
var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
|
325
|
-
return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
|
326
|
-
}
|
327
|
-
|
328
|
-
case D:
|
329
|
-
case DATE:
|
330
|
-
return instanceFactorySet(utcPad + "Hours", 0);
|
331
|
-
|
332
|
-
case H:
|
333
|
-
return instanceFactorySet(utcPad + "Minutes", 1);
|
334
|
-
|
335
|
-
case MIN:
|
336
|
-
return instanceFactorySet(utcPad + "Seconds", 2);
|
337
|
-
|
338
|
-
case S:
|
339
|
-
return instanceFactorySet(utcPad + "Milliseconds", 3);
|
340
|
-
|
341
|
-
default:
|
342
|
-
return this.clone();
|
343
|
-
}
|
344
|
-
};
|
345
|
-
|
346
|
-
_proto.endOf = function endOf(arg) {
|
347
|
-
return this.startOf(arg, false);
|
348
|
-
};
|
349
|
-
|
350
|
-
_proto.$set = function $set(units, _int) {
|
351
|
-
var _C$D$C$DATE$C$M$C$Y$C;
|
352
|
-
|
353
|
-
// private set
|
354
|
-
var unit = Utils.p(units);
|
355
|
-
var utcPad = "set" + (this.$u ? 'UTC' : '');
|
356
|
-
var name = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit];
|
357
|
-
var arg = unit === D ? this.$D + (_int - this.$W) : _int;
|
358
|
-
|
359
|
-
if (unit === M || unit === Y) {
|
360
|
-
// clone is for badMutable plugin
|
361
|
-
var date = this.clone().set(DATE, 1);
|
362
|
-
date.$d[name](arg);
|
363
|
-
date.init();
|
364
|
-
this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
|
365
|
-
} else if (name) this.$d[name](arg);
|
366
|
-
|
367
|
-
this.init();
|
368
|
-
return this;
|
369
|
-
};
|
370
|
-
|
371
|
-
_proto.set = function set(string, _int2) {
|
372
|
-
return this.clone().$set(string, _int2);
|
373
|
-
};
|
374
|
-
|
375
|
-
_proto.get = function get(unit) {
|
376
|
-
return this[Utils.p(unit)]();
|
377
|
-
};
|
378
|
-
|
379
|
-
_proto.add = function add(number, units) {
|
380
|
-
var _this2 = this,
|
381
|
-
_C$MIN$C$H$C$S$unit;
|
382
|
-
|
383
|
-
number = Number(number); // eslint-disable-line no-param-reassign
|
384
|
-
|
385
|
-
var unit = Utils.p(units);
|
386
|
-
|
387
|
-
var instanceFactorySet = function instanceFactorySet(n) {
|
388
|
-
var d = dayjs(_this2);
|
389
|
-
return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
|
390
|
-
};
|
391
|
-
|
392
|
-
if (unit === M) {
|
393
|
-
return this.set(M, this.$M + number);
|
394
|
-
}
|
395
|
-
|
396
|
-
if (unit === Y) {
|
397
|
-
return this.set(Y, this.$y + number);
|
398
|
-
}
|
399
|
-
|
400
|
-
if (unit === D) {
|
401
|
-
return instanceFactorySet(1);
|
402
|
-
}
|
403
|
-
|
404
|
-
if (unit === W) {
|
405
|
-
return instanceFactorySet(7);
|
406
|
-
}
|
407
|
-
|
408
|
-
var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[MIN] = MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[H] = MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[S] = MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1; // ms
|
409
|
-
|
410
|
-
var nextTimeStamp = this.$d.getTime() + number * step;
|
411
|
-
return Utils.w(nextTimeStamp, this);
|
412
|
-
};
|
413
|
-
|
414
|
-
_proto.subtract = function subtract(number, string) {
|
415
|
-
return this.add(number * -1, string);
|
416
|
-
};
|
417
|
-
|
418
|
-
_proto.format = function format(formatStr) {
|
419
|
-
var _this3 = this;
|
420
|
-
|
421
|
-
var locale = this.$locale();
|
422
|
-
if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
|
423
|
-
var str = formatStr || FORMAT_DEFAULT;
|
424
|
-
var zoneStr = Utils.z(this);
|
425
|
-
var $H = this.$H,
|
426
|
-
$m = this.$m,
|
427
|
-
$M = this.$M;
|
428
|
-
var weekdays = locale.weekdays,
|
429
|
-
months = locale.months,
|
430
|
-
meridiem = locale.meridiem;
|
431
|
-
|
432
|
-
var getShort = function getShort(arr, index, full, length) {
|
433
|
-
return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
|
434
|
-
};
|
435
|
-
|
436
|
-
var get$H = function get$H(num) {
|
437
|
-
return Utils.s($H % 12 || 12, num, '0');
|
438
|
-
};
|
439
|
-
|
440
|
-
var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
|
441
|
-
var m = hour < 12 ? 'AM' : 'PM';
|
442
|
-
return isLowercase ? m.toLowerCase() : m;
|
443
|
-
};
|
444
|
-
|
445
|
-
var matches = {
|
446
|
-
YY: String(this.$y).slice(-2),
|
447
|
-
YYYY: this.$y,
|
448
|
-
M: $M + 1,
|
449
|
-
MM: Utils.s($M + 1, 2, '0'),
|
450
|
-
MMM: getShort(locale.monthsShort, $M, months, 3),
|
451
|
-
MMMM: getShort(months, $M),
|
452
|
-
D: this.$D,
|
453
|
-
DD: Utils.s(this.$D, 2, '0'),
|
454
|
-
d: String(this.$W),
|
455
|
-
dd: getShort(locale.weekdaysMin, this.$W, weekdays, 2),
|
456
|
-
ddd: getShort(locale.weekdaysShort, this.$W, weekdays, 3),
|
457
|
-
dddd: weekdays[this.$W],
|
458
|
-
H: String($H),
|
459
|
-
HH: Utils.s($H, 2, '0'),
|
460
|
-
h: get$H(1),
|
461
|
-
hh: get$H(2),
|
462
|
-
a: meridiemFunc($H, $m, true),
|
463
|
-
A: meridiemFunc($H, $m, false),
|
464
|
-
m: String($m),
|
465
|
-
mm: Utils.s($m, 2, '0'),
|
466
|
-
s: String(this.$s),
|
467
|
-
ss: Utils.s(this.$s, 2, '0'),
|
468
|
-
SSS: Utils.s(this.$ms, 3, '0'),
|
469
|
-
Z: zoneStr // 'ZZ' logic below
|
470
|
-
|
471
|
-
};
|
472
|
-
return str.replace(REGEX_FORMAT, function (match, $1) {
|
473
|
-
return $1 || matches[match] || zoneStr.replace(':', '');
|
474
|
-
}); // 'ZZ'
|
475
|
-
};
|
476
|
-
|
477
|
-
_proto.utcOffset = function utcOffset() {
|
478
|
-
// Because a bug at FF24, we're rounding the timezone offset around 15 minutes
|
479
|
-
// https://github.com/moment/moment/pull/1871
|
480
|
-
return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
|
481
|
-
};
|
482
|
-
|
483
|
-
_proto.diff = function diff(input, units, _float) {
|
484
|
-
var _C$Y$C$M$C$Q$C$W$C$D$;
|
485
|
-
|
486
|
-
var unit = Utils.p(units);
|
487
|
-
var that = dayjs(input);
|
488
|
-
var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
|
489
|
-
var diff = this - that;
|
490
|
-
var result = Utils.m(this, that);
|
491
|
-
result = (_C$Y$C$M$C$Q$C$W$C$D$ = {}, _C$Y$C$M$C$Q$C$W$C$D$[Y] = result / 12, _C$Y$C$M$C$Q$C$W$C$D$[M] = result, _C$Y$C$M$C$Q$C$W$C$D$[Q] = result / 3, _C$Y$C$M$C$Q$C$W$C$D$[W] = (diff - zoneDelta) / MILLISECONDS_A_WEEK, _C$Y$C$M$C$Q$C$W$C$D$[D] = (diff - zoneDelta) / MILLISECONDS_A_DAY, _C$Y$C$M$C$Q$C$W$C$D$[H] = diff / MILLISECONDS_A_HOUR, _C$Y$C$M$C$Q$C$W$C$D$[MIN] = diff / MILLISECONDS_A_MINUTE, _C$Y$C$M$C$Q$C$W$C$D$[S] = diff / MILLISECONDS_A_SECOND, _C$Y$C$M$C$Q$C$W$C$D$)[unit] || diff; // milliseconds
|
492
|
-
|
493
|
-
return _float ? result : Utils.a(result);
|
494
|
-
};
|
495
|
-
|
496
|
-
_proto.daysInMonth = function daysInMonth() {
|
497
|
-
return this.endOf(M).$D;
|
498
|
-
};
|
499
|
-
|
500
|
-
_proto.$locale = function $locale() {
|
501
|
-
// get locale object
|
502
|
-
return Ls[this.$L];
|
503
|
-
};
|
504
|
-
|
505
|
-
_proto.locale = function locale(preset, object) {
|
506
|
-
if (!preset) return this.$L;
|
507
|
-
var that = this.clone();
|
508
|
-
var nextLocaleName = parseLocale(preset, object, true);
|
509
|
-
if (nextLocaleName) that.$L = nextLocaleName;
|
510
|
-
return that;
|
511
|
-
};
|
512
|
-
|
513
|
-
_proto.clone = function clone() {
|
514
|
-
return Utils.w(this.$d, this);
|
515
|
-
};
|
516
|
-
|
517
|
-
_proto.toDate = function toDate() {
|
518
|
-
return new Date(this.valueOf());
|
519
|
-
};
|
520
|
-
|
521
|
-
_proto.toJSON = function toJSON() {
|
522
|
-
return this.isValid() ? this.toISOString() : null;
|
523
|
-
};
|
524
|
-
|
525
|
-
_proto.toISOString = function toISOString() {
|
526
|
-
// ie 8 return
|
527
|
-
// new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
|
528
|
-
// .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
|
529
|
-
return this.$d.toISOString();
|
530
|
-
};
|
531
|
-
|
532
|
-
_proto.toString = function toString() {
|
533
|
-
return this.$d.toUTCString();
|
534
|
-
};
|
535
|
-
|
536
|
-
return Dayjs;
|
537
|
-
}();
|
538
|
-
|
539
|
-
var proto = Dayjs.prototype;
|
540
|
-
dayjs.prototype = proto;
|
541
|
-
[['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
|
542
|
-
proto[g[1]] = function (input) {
|
543
|
-
return this.$g(input, g[0], g[1]);
|
544
|
-
};
|
545
|
-
});
|
546
|
-
|
547
|
-
dayjs.extend = function (plugin, option) {
|
548
|
-
if (!plugin.$i) {
|
549
|
-
// install plugin only once
|
550
|
-
plugin(option, Dayjs, dayjs);
|
551
|
-
plugin.$i = true;
|
552
|
-
}
|
553
|
-
|
554
|
-
return dayjs;
|
555
|
-
};
|
556
|
-
|
557
|
-
dayjs.locale = parseLocale;
|
558
|
-
dayjs.isDayjs = isDayjs;
|
559
|
-
|
560
|
-
dayjs.unix = function (timestamp) {
|
561
|
-
return dayjs(timestamp * 1e3);
|
562
|
-
};
|
563
|
-
|
564
|
-
dayjs.en = Ls[L];
|
565
|
-
dayjs.Ls = Ls;
|
566
|
-
dayjs.p = {};
|
567
|
-
|
568
|
-
// eslint-disable-next-line import/prefer-default-export
|
569
|
-
var t = function t(format) {
|
570
|
-
return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
|
571
|
-
return a || b.slice(1);
|
572
|
-
});
|
573
|
-
};
|
574
|
-
var englishFormats = {
|
575
|
-
LTS: 'h:mm:ss A',
|
576
|
-
LT: 'h:mm A',
|
577
|
-
L: 'MM/DD/YYYY',
|
578
|
-
LL: 'MMMM D, YYYY',
|
579
|
-
LLL: 'MMMM D, YYYY h:mm A',
|
580
|
-
LLLL: 'dddd, MMMM D, YYYY h:mm A'
|
581
|
-
};
|
582
|
-
var u = function u(formatStr, formats) {
|
583
|
-
return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
|
584
|
-
var B = b && b.toUpperCase();
|
585
|
-
return a || formats[b] || englishFormats[b] || t(formats[B]);
|
586
|
-
});
|
587
|
-
};
|
588
|
-
|
589
|
-
var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
|
590
|
-
var match1 = /\d/; // 0 - 9
|
591
|
-
|
592
|
-
var match2 = /\d\d/; // 00 - 99
|
593
|
-
|
594
|
-
var match3 = /\d{3}/; // 000 - 999
|
595
|
-
|
596
|
-
var match4 = /\d{4}/; // 0000 - 9999
|
597
|
-
|
598
|
-
var match1to2 = /\d\d?/; // 0 - 99
|
599
|
-
|
600
|
-
var matchSigned = /[+-]?\d+/; // -inf - inf
|
601
|
-
|
602
|
-
var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
|
603
|
-
|
604
|
-
var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
|
605
|
-
|
606
|
-
var locale = {};
|
607
|
-
|
608
|
-
var parseTwoDigitYear = function parseTwoDigitYear(input) {
|
609
|
-
input = +input;
|
610
|
-
return input + (input > 68 ? 1900 : 2000);
|
611
|
-
};
|
612
|
-
|
613
|
-
function offsetFromString(string) {
|
614
|
-
if (!string) return 0;
|
615
|
-
if (string === 'Z') return 0;
|
616
|
-
var parts = string.match(/([+-]|\d\d)/g);
|
617
|
-
var minutes = +(parts[1] * 60) + (+parts[2] || 0);
|
618
|
-
return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
|
619
|
-
}
|
620
|
-
|
621
|
-
var addInput = function addInput(property) {
|
622
|
-
return function (input) {
|
623
|
-
this[property] = +input;
|
624
|
-
};
|
625
|
-
};
|
626
|
-
|
627
|
-
var zoneExpressions = [matchOffset, function (input) {
|
628
|
-
var zone = this.zone || (this.zone = {});
|
629
|
-
zone.offset = offsetFromString(input);
|
630
|
-
}];
|
631
|
-
|
632
|
-
var getLocalePart = function getLocalePart(name) {
|
633
|
-
var part = locale[name];
|
634
|
-
return part && (part.indexOf ? part : part.s.concat(part.f));
|
635
|
-
};
|
636
|
-
|
637
|
-
var meridiemMatch = function meridiemMatch(input, isLowerCase) {
|
638
|
-
var isAfternoon;
|
639
|
-
var _locale = locale,
|
640
|
-
meridiem = _locale.meridiem;
|
641
|
-
|
642
|
-
if (!meridiem) {
|
643
|
-
isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
|
644
|
-
} else {
|
645
|
-
for (var i = 1; i <= 24; i += 1) {
|
646
|
-
// todo: fix input === meridiem(i, 0, isLowerCase)
|
647
|
-
if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
|
648
|
-
isAfternoon = i > 12;
|
649
|
-
break;
|
650
|
-
}
|
651
|
-
}
|
652
|
-
}
|
653
|
-
|
654
|
-
return isAfternoon;
|
655
|
-
};
|
656
|
-
|
657
|
-
var expressions = {
|
658
|
-
A: [matchWord, function (input) {
|
659
|
-
this.afternoon = meridiemMatch(input, false);
|
660
|
-
}],
|
661
|
-
a: [matchWord, function (input) {
|
662
|
-
this.afternoon = meridiemMatch(input, true);
|
663
|
-
}],
|
664
|
-
S: [match1, function (input) {
|
665
|
-
this.milliseconds = +input * 100;
|
666
|
-
}],
|
667
|
-
SS: [match2, function (input) {
|
668
|
-
this.milliseconds = +input * 10;
|
669
|
-
}],
|
670
|
-
SSS: [match3, function (input) {
|
671
|
-
this.milliseconds = +input;
|
672
|
-
}],
|
673
|
-
s: [match1to2, addInput('seconds')],
|
674
|
-
ss: [match1to2, addInput('seconds')],
|
675
|
-
m: [match1to2, addInput('minutes')],
|
676
|
-
mm: [match1to2, addInput('minutes')],
|
677
|
-
H: [match1to2, addInput('hours')],
|
678
|
-
h: [match1to2, addInput('hours')],
|
679
|
-
HH: [match1to2, addInput('hours')],
|
680
|
-
hh: [match1to2, addInput('hours')],
|
681
|
-
D: [match1to2, addInput('day')],
|
682
|
-
DD: [match2, addInput('day')],
|
683
|
-
Do: [matchWord, function (input) {
|
684
|
-
var _locale2 = locale,
|
685
|
-
ordinal = _locale2.ordinal;
|
686
|
-
|
687
|
-
var _input$match = input.match(/\d+/);
|
688
|
-
|
689
|
-
this.day = _input$match[0];
|
690
|
-
if (!ordinal) return;
|
691
|
-
|
692
|
-
for (var i = 1; i <= 31; i += 1) {
|
693
|
-
if (ordinal(i).replace(/\[|\]/g, '') === input) {
|
694
|
-
this.day = i;
|
695
|
-
}
|
696
|
-
}
|
697
|
-
}],
|
698
|
-
M: [match1to2, addInput('month')],
|
699
|
-
MM: [match2, addInput('month')],
|
700
|
-
MMM: [matchWord, function (input) {
|
701
|
-
var months = getLocalePart('months');
|
702
|
-
var monthsShort = getLocalePart('monthsShort');
|
703
|
-
var matchIndex = (monthsShort || months.map(function (_) {
|
704
|
-
return _.slice(0, 3);
|
705
|
-
})).indexOf(input) + 1;
|
706
|
-
|
707
|
-
if (matchIndex < 1) {
|
708
|
-
throw new Error();
|
709
|
-
}
|
710
|
-
|
711
|
-
this.month = matchIndex % 12 || matchIndex;
|
712
|
-
}],
|
713
|
-
MMMM: [matchWord, function (input) {
|
714
|
-
var months = getLocalePart('months');
|
715
|
-
var matchIndex = months.indexOf(input) + 1;
|
716
|
-
|
717
|
-
if (matchIndex < 1) {
|
718
|
-
throw new Error();
|
719
|
-
}
|
720
|
-
|
721
|
-
this.month = matchIndex % 12 || matchIndex;
|
722
|
-
}],
|
723
|
-
Y: [matchSigned, addInput('year')],
|
724
|
-
YY: [match2, function (input) {
|
725
|
-
this.year = parseTwoDigitYear(input);
|
726
|
-
}],
|
727
|
-
YYYY: [match4, addInput('year')],
|
728
|
-
Z: zoneExpressions,
|
729
|
-
ZZ: zoneExpressions
|
730
|
-
};
|
731
|
-
|
732
|
-
function correctHours(time) {
|
733
|
-
var afternoon = time.afternoon;
|
734
|
-
|
735
|
-
if (afternoon !== undefined) {
|
736
|
-
var hours = time.hours;
|
737
|
-
|
738
|
-
if (afternoon) {
|
739
|
-
if (hours < 12) {
|
740
|
-
time.hours += 12;
|
741
|
-
}
|
742
|
-
} else if (hours === 12) {
|
743
|
-
time.hours = 0;
|
744
|
-
}
|
745
|
-
|
746
|
-
delete time.afternoon;
|
747
|
-
}
|
748
|
-
}
|
749
|
-
|
750
|
-
function makeParser(format) {
|
751
|
-
format = u(format, locale && locale.formats);
|
752
|
-
var array = format.match(formattingTokens);
|
753
|
-
var length = array.length;
|
754
|
-
|
755
|
-
for (var i = 0; i < length; i += 1) {
|
756
|
-
var token = array[i];
|
757
|
-
var parseTo = expressions[token];
|
758
|
-
var regex = parseTo && parseTo[0];
|
759
|
-
var parser = parseTo && parseTo[1];
|
760
|
-
|
761
|
-
if (parser) {
|
762
|
-
array[i] = {
|
763
|
-
regex: regex,
|
764
|
-
parser: parser
|
765
|
-
};
|
766
|
-
} else {
|
767
|
-
array[i] = token.replace(/^\[|\]$/g, '');
|
768
|
-
}
|
769
|
-
}
|
770
|
-
|
771
|
-
return function (input) {
|
772
|
-
var time = {};
|
773
|
-
|
774
|
-
for (var _i = 0, start = 0; _i < length; _i += 1) {
|
775
|
-
var _token = array[_i];
|
776
|
-
|
777
|
-
if (typeof _token === 'string') {
|
778
|
-
start += _token.length;
|
779
|
-
} else {
|
780
|
-
var _regex = _token.regex,
|
781
|
-
_parser = _token.parser;
|
782
|
-
var part = input.slice(start);
|
783
|
-
|
784
|
-
var match = _regex.exec(part);
|
785
|
-
|
786
|
-
var value = match[0];
|
787
|
-
|
788
|
-
_parser.call(time, value);
|
789
|
-
|
790
|
-
input = input.replace(value, '');
|
791
|
-
}
|
792
|
-
}
|
793
|
-
|
794
|
-
correctHours(time);
|
795
|
-
return time;
|
796
|
-
};
|
797
|
-
}
|
798
|
-
|
799
|
-
var parseFormattedInput = function parseFormattedInput(input, format, utc) {
|
800
|
-
try {
|
801
|
-
if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
|
802
|
-
var parser = makeParser(format);
|
803
|
-
|
804
|
-
var _parser2 = parser(input),
|
805
|
-
year = _parser2.year,
|
806
|
-
month = _parser2.month,
|
807
|
-
day = _parser2.day,
|
808
|
-
hours = _parser2.hours,
|
809
|
-
minutes = _parser2.minutes,
|
810
|
-
seconds = _parser2.seconds,
|
811
|
-
milliseconds = _parser2.milliseconds,
|
812
|
-
zone = _parser2.zone;
|
813
|
-
|
814
|
-
var now = new Date();
|
815
|
-
var d = day || (!year && !month ? now.getDate() : 1);
|
816
|
-
var y = year || now.getFullYear();
|
817
|
-
var M = 0;
|
818
|
-
|
819
|
-
if (!(year && !month)) {
|
820
|
-
M = month > 0 ? month - 1 : now.getMonth();
|
821
|
-
}
|
822
|
-
|
823
|
-
var h = hours || 0;
|
824
|
-
var m = minutes || 0;
|
825
|
-
var s = seconds || 0;
|
826
|
-
var ms = milliseconds || 0;
|
827
|
-
|
828
|
-
if (zone) {
|
829
|
-
return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
|
830
|
-
}
|
831
|
-
|
832
|
-
if (utc) {
|
833
|
-
return new Date(Date.UTC(y, M, d, h, m, s, ms));
|
834
|
-
}
|
835
|
-
|
836
|
-
return new Date(y, M, d, h, m, s, ms);
|
837
|
-
} catch (e) {
|
838
|
-
return new Date(''); // Invalid Date
|
839
|
-
}
|
840
|
-
};
|
841
|
-
|
842
|
-
const customParseFormat = (function (o, C, d) {
|
843
|
-
d.p.customParseFormat = true;
|
844
|
-
|
845
|
-
if (o && o.parseTwoDigitYear) {
|
846
|
-
parseTwoDigitYear = o.parseTwoDigitYear;
|
847
|
-
}
|
848
|
-
|
849
|
-
var proto = C.prototype;
|
850
|
-
var oldParse = proto.parse;
|
851
|
-
|
852
|
-
proto.parse = function (cfg) {
|
853
|
-
var date = cfg.date,
|
854
|
-
utc = cfg.utc,
|
855
|
-
args = cfg.args;
|
856
|
-
this.$u = utc;
|
857
|
-
var format = args[1];
|
858
|
-
|
859
|
-
if (typeof format === 'string') {
|
860
|
-
var isStrictWithoutLocale = args[2] === true;
|
861
|
-
var isStrictWithLocale = args[3] === true;
|
862
|
-
var isStrict = isStrictWithoutLocale || isStrictWithLocale;
|
863
|
-
var pl = args[2];
|
864
|
-
|
865
|
-
if (isStrictWithLocale) {
|
866
|
-
pl = args[2];
|
867
|
-
}
|
868
|
-
|
869
|
-
locale = this.$locale();
|
870
|
-
|
871
|
-
if (!isStrictWithoutLocale && pl) {
|
872
|
-
locale = d.Ls[pl];
|
873
|
-
}
|
874
|
-
|
875
|
-
this.$d = parseFormattedInput(date, format, utc);
|
876
|
-
this.init();
|
877
|
-
if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
|
878
|
-
// input number 1410715640579 and format string '1410715640579' equal
|
879
|
-
// eslint-disable-next-line eqeqeq
|
880
|
-
|
881
|
-
if (isStrict && date != this.format(format)) {
|
882
|
-
this.$d = new Date('');
|
883
|
-
} // reset global locale to make parallel unit test
|
884
|
-
|
885
|
-
|
886
|
-
locale = {};
|
887
|
-
} else if (format instanceof Array) {
|
888
|
-
var len = format.length;
|
889
|
-
|
890
|
-
for (var i = 1; i <= len; i += 1) {
|
891
|
-
args[1] = format[i - 1];
|
892
|
-
var result = d.apply(this, args);
|
893
|
-
|
894
|
-
if (result.isValid()) {
|
895
|
-
this.$d = result.$d;
|
896
|
-
this.$L = result.$L;
|
897
|
-
this.init();
|
898
|
-
break;
|
899
|
-
}
|
900
|
-
|
901
|
-
if (i === len) this.$d = new Date('');
|
902
|
-
}
|
903
|
-
} else {
|
904
|
-
oldParse.call(this, cfg);
|
905
|
-
}
|
906
|
-
};
|
907
|
-
});
|
908
|
-
|
909
|
-
const localeData = (function (o, c, dayjs) {
|
910
|
-
// locale needed later
|
911
|
-
var proto = c.prototype;
|
912
|
-
|
913
|
-
var getLocalePart = function getLocalePart(part) {
|
914
|
-
return part && (part.indexOf ? part : part.s);
|
915
|
-
};
|
916
|
-
|
917
|
-
var getShort = function getShort(ins, target, full, num, localeOrder) {
|
918
|
-
var locale = ins.name ? ins : ins.$locale();
|
919
|
-
var targetLocale = getLocalePart(locale[target]);
|
920
|
-
var fullLocale = getLocalePart(locale[full]);
|
921
|
-
var result = targetLocale || fullLocale.map(function (f) {
|
922
|
-
return f.slice(0, num);
|
923
|
-
});
|
924
|
-
if (!localeOrder) return result;
|
925
|
-
var weekStart = locale.weekStart;
|
926
|
-
return result.map(function (_, index) {
|
927
|
-
return result[(index + (weekStart || 0)) % 7];
|
928
|
-
});
|
929
|
-
};
|
930
|
-
|
931
|
-
var getDayjsLocaleObject = function getDayjsLocaleObject() {
|
932
|
-
return dayjs.Ls[dayjs.locale()];
|
933
|
-
};
|
934
|
-
|
935
|
-
var getLongDateFormat = function getLongDateFormat(l, format) {
|
936
|
-
return l.formats[format] || t(l.formats[format.toUpperCase()]);
|
937
|
-
};
|
938
|
-
|
939
|
-
var localeData = function localeData() {
|
940
|
-
var _this = this;
|
941
|
-
|
942
|
-
return {
|
943
|
-
months: function months(instance) {
|
944
|
-
return instance ? instance.format('MMMM') : getShort(_this, 'months');
|
945
|
-
},
|
946
|
-
monthsShort: function monthsShort(instance) {
|
947
|
-
return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
|
948
|
-
},
|
949
|
-
firstDayOfWeek: function firstDayOfWeek() {
|
950
|
-
return _this.$locale().weekStart || 0;
|
951
|
-
},
|
952
|
-
weekdays: function weekdays(instance) {
|
953
|
-
return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
|
954
|
-
},
|
955
|
-
weekdaysMin: function weekdaysMin(instance) {
|
956
|
-
return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
|
957
|
-
},
|
958
|
-
weekdaysShort: function weekdaysShort(instance) {
|
959
|
-
return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
|
960
|
-
},
|
961
|
-
longDateFormat: function longDateFormat(format) {
|
962
|
-
return getLongDateFormat(_this.$locale(), format);
|
963
|
-
},
|
964
|
-
meridiem: this.$locale().meridiem,
|
965
|
-
ordinal: this.$locale().ordinal
|
966
|
-
};
|
967
|
-
};
|
968
|
-
|
969
|
-
proto.localeData = function () {
|
970
|
-
return localeData.bind(this)();
|
971
|
-
};
|
972
|
-
|
973
|
-
dayjs.localeData = function () {
|
974
|
-
var localeObject = getDayjsLocaleObject();
|
975
|
-
return {
|
976
|
-
firstDayOfWeek: function firstDayOfWeek() {
|
977
|
-
return localeObject.weekStart || 0;
|
978
|
-
},
|
979
|
-
weekdays: function weekdays() {
|
980
|
-
return dayjs.weekdays();
|
981
|
-
},
|
982
|
-
weekdaysShort: function weekdaysShort() {
|
983
|
-
return dayjs.weekdaysShort();
|
984
|
-
},
|
985
|
-
weekdaysMin: function weekdaysMin() {
|
986
|
-
return dayjs.weekdaysMin();
|
987
|
-
},
|
988
|
-
months: function months() {
|
989
|
-
return dayjs.months();
|
990
|
-
},
|
991
|
-
monthsShort: function monthsShort() {
|
992
|
-
return dayjs.monthsShort();
|
993
|
-
},
|
994
|
-
longDateFormat: function longDateFormat(format) {
|
995
|
-
return getLongDateFormat(localeObject, format);
|
996
|
-
},
|
997
|
-
meridiem: localeObject.meridiem,
|
998
|
-
ordinal: localeObject.ordinal
|
999
|
-
};
|
1000
|
-
};
|
1001
|
-
|
1002
|
-
dayjs.months = function () {
|
1003
|
-
return getShort(getDayjsLocaleObject(), 'months');
|
1004
|
-
};
|
1005
|
-
|
1006
|
-
dayjs.monthsShort = function () {
|
1007
|
-
return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
|
1008
|
-
};
|
1009
|
-
|
1010
|
-
dayjs.weekdays = function (localeOrder) {
|
1011
|
-
return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
|
1012
|
-
};
|
1013
|
-
|
1014
|
-
dayjs.weekdaysShort = function (localeOrder) {
|
1015
|
-
return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
|
1016
|
-
};
|
1017
|
-
|
1018
|
-
dayjs.weekdaysMin = function (localeOrder) {
|
1019
|
-
return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
|
1020
|
-
};
|
1021
|
-
});
|
1022
|
-
|
1023
|
-
const localizedFormat = (function (o, c, d) {
|
1024
|
-
var proto = c.prototype;
|
1025
|
-
var oldFormat = proto.format;
|
1026
|
-
d.en.formats = englishFormats;
|
1027
|
-
|
1028
|
-
proto.format = function (formatStr) {
|
1029
|
-
if (formatStr === void 0) {
|
1030
|
-
formatStr = FORMAT_DEFAULT;
|
1031
|
-
}
|
1032
|
-
|
1033
|
-
var _this$$locale = this.$locale(),
|
1034
|
-
_this$$locale$formats = _this$$locale.formats,
|
1035
|
-
formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
|
1036
|
-
|
1037
|
-
var result = u(formatStr, formats);
|
1038
|
-
return oldFormat.call(this, result);
|
1039
|
-
};
|
1040
|
-
});
|
1041
|
-
|
1042
|
-
// Plugin template from https://day.js.org/docs/en/plugin/plugin
|
1043
|
-
const preParsePostFormat = (function (option, dayjsClass) {
|
1044
|
-
var oldParse = dayjsClass.prototype.parse;
|
1045
|
-
|
1046
|
-
dayjsClass.prototype.parse = function (cfg) {
|
1047
|
-
if (typeof cfg.date === 'string') {
|
1048
|
-
var locale = this.$locale();
|
1049
|
-
cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
|
1050
|
-
} // original parse result
|
1051
|
-
|
1052
|
-
|
1053
|
-
return oldParse.bind(this)(cfg);
|
1054
|
-
}; // // overriding existing API
|
1055
|
-
// // e.g. extend dayjs().format()
|
1056
|
-
|
1057
|
-
|
1058
|
-
var oldFormat = dayjsClass.prototype.format;
|
1059
|
-
|
1060
|
-
dayjsClass.prototype.format = function () {
|
1061
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
1062
|
-
args[_key] = arguments[_key];
|
1063
|
-
}
|
1064
|
-
|
1065
|
-
// original format result
|
1066
|
-
var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
|
1067
|
-
|
1068
|
-
var locale = this.$locale();
|
1069
|
-
return locale && locale.postformat ? locale.postformat(result) : result;
|
1070
|
-
};
|
1071
|
-
|
1072
|
-
var oldFromTo = dayjsClass.prototype.fromToBase;
|
1073
|
-
|
1074
|
-
if (oldFromTo) {
|
1075
|
-
dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
|
1076
|
-
var locale = this.$locale() || instance.$locale(); // original format result
|
1077
|
-
|
1078
|
-
return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
|
1079
|
-
};
|
1080
|
-
}
|
1081
|
-
});
|
1082
|
-
|
1083
|
-
const updateLocale = (function (option, Dayjs, dayjs) {
|
1084
|
-
dayjs.updateLocale = function (locale, customConfig) {
|
1085
|
-
var localeList = dayjs.Ls;
|
1086
|
-
var localeConfig = localeList[locale];
|
1087
|
-
if (!localeConfig) return;
|
1088
|
-
var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
|
1089
|
-
customConfigKeys.forEach(function (c) {
|
1090
|
-
localeConfig[c] = customConfig[c];
|
1091
|
-
});
|
1092
|
-
return localeConfig; // eslint-disable-line consistent-return
|
1093
|
-
};
|
1094
|
-
});
|
1095
|
-
|
1096
|
-
const inputTimePickerCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px, 0, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing);--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown)}:host([hidden]){display:none}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}";
|
1097
|
-
|
1098
|
-
// some bundlers (e.g., Webpack) need dynamic import paths to be static
|
1099
|
-
const supportedDayJsLocaleToLocaleConfigImport = new Map([
|
1100
|
-
["ar", () => Promise.resolve().then(function () { return require('./ar-06e23092.js'); })],
|
1101
|
-
["bg", () => Promise.resolve().then(function () { return require('./bg-b197c685.js'); })],
|
1102
|
-
["bs", () => Promise.resolve().then(function () { return require('./bs-b7279fd9.js'); })],
|
1103
|
-
["ca", () => Promise.resolve().then(function () { return require('./ca-c127e2c7.js'); })],
|
1104
|
-
["cs", () => Promise.resolve().then(function () { return require('./cs-f482fe72.js'); })],
|
1105
|
-
["da", () => Promise.resolve().then(function () { return require('./da-b8ab4c7b.js'); })],
|
1106
|
-
["de", () => Promise.resolve().then(function () { return require('./de-6bc1f7ac.js'); })],
|
1107
|
-
["de-at", () => Promise.resolve().then(function () { return require('./de-at-46963b6b.js'); })],
|
1108
|
-
["de-ch", () => Promise.resolve().then(function () { return require('./de-ch-160af810.js'); })],
|
1109
|
-
["el", () => Promise.resolve().then(function () { return require('./el-64fa4e5b.js'); })],
|
1110
|
-
["en", () => Promise.resolve().then(function () { return en$1; })],
|
1111
|
-
["en-au", () => Promise.resolve().then(function () { return require('./en-au-d6d05b1c.js'); })],
|
1112
|
-
["en-ca", () => Promise.resolve().then(function () { return require('./en-ca-e4c76e21.js'); })],
|
1113
|
-
["en-gb", () => Promise.resolve().then(function () { return require('./en-gb-bbc542f7.js'); })],
|
1114
|
-
["es", () => Promise.resolve().then(function () { return require('./es-13c046da.js'); })],
|
1115
|
-
["es-mx", () => Promise.resolve().then(function () { return require('./es-mx-bc0dcd4b.js'); })],
|
1116
|
-
["et", () => Promise.resolve().then(function () { return require('./et-96792c05.js'); })],
|
1117
|
-
["fi", () => Promise.resolve().then(function () { return require('./fi-228557cc.js'); })],
|
1118
|
-
["fr", () => Promise.resolve().then(function () { return require('./fr-cfe747ac.js'); })],
|
1119
|
-
["fr-ch", () => Promise.resolve().then(function () { return require('./fr-ch-ff5aa897.js'); })],
|
1120
|
-
["he", () => Promise.resolve().then(function () { return require('./he-fb6d2d39.js'); })],
|
1121
|
-
["hi", () => Promise.resolve().then(function () { return require('./hi-30c7826f.js'); })],
|
1122
|
-
["hr", () => Promise.resolve().then(function () { return require('./hr-c1eab940.js'); })],
|
1123
|
-
["hu", () => Promise.resolve().then(function () { return require('./hu-fba39a67.js'); })],
|
1124
|
-
["id", () => Promise.resolve().then(function () { return require('./id-b5e6f8ba.js'); })],
|
1125
|
-
["it", () => Promise.resolve().then(function () { return require('./it-ca0d0aac.js'); })],
|
1126
|
-
["it-ch", () => Promise.resolve().then(function () { return require('./it-ch-65c41132.js'); })],
|
1127
|
-
["ja", () => Promise.resolve().then(function () { return require('./ja-a5f9afc7.js'); })],
|
1128
|
-
["ko", () => Promise.resolve().then(function () { return require('./ko-852f5312.js'); })],
|
1129
|
-
["lt", () => Promise.resolve().then(function () { return require('./lt-255c3b01.js'); })],
|
1130
|
-
["lv", () => Promise.resolve().then(function () { return require('./lv-7ed56721.js'); })],
|
1131
|
-
["mk", () => Promise.resolve().then(function () { return require('./mk-f6d33563.js'); })],
|
1132
|
-
["nl", () => Promise.resolve().then(function () { return require('./nl-eadfdfb4.js'); })],
|
1133
|
-
["nb", () => Promise.resolve().then(function () { return require('./nb-bd0ca554.js'); })],
|
1134
|
-
["pl", () => Promise.resolve().then(function () { return require('./pl-c9d0eeb6.js'); })],
|
1135
|
-
["pt", () => Promise.resolve().then(function () { return require('./pt-abc4d582.js'); })],
|
1136
|
-
["pt-br", () => Promise.resolve().then(function () { return require('./pt-br-217ada13.js'); })],
|
1137
|
-
["ro", () => Promise.resolve().then(function () { return require('./ro-1618e102.js'); })],
|
1138
|
-
["ru", () => Promise.resolve().then(function () { return require('./ru-a23bea65.js'); })],
|
1139
|
-
["sk", () => Promise.resolve().then(function () { return require('./sk-dcacc22d.js'); })],
|
1140
|
-
["sl", () => Promise.resolve().then(function () { return require('./sl-313d5585.js'); })],
|
1141
|
-
["sr", () => Promise.resolve().then(function () { return require('./sr-c7b2c043.js'); })],
|
1142
|
-
["sv", () => Promise.resolve().then(function () { return require('./sv-d8327a96.js'); })],
|
1143
|
-
["th", () => Promise.resolve().then(function () { return require('./th-871548cb.js'); })],
|
1144
|
-
["tr", () => Promise.resolve().then(function () { return require('./tr-799e3306.js'); })],
|
1145
|
-
["uk", () => Promise.resolve().then(function () { return require('./uk-eb7261c3.js'); })],
|
1146
|
-
["vi", () => Promise.resolve().then(function () { return require('./vi-ebbac61c.js'); })],
|
1147
|
-
["zh-cn", () => Promise.resolve().then(function () { return require('./zh-cn-dfcfe1fe.js'); })],
|
1148
|
-
["zh-hk", () => Promise.resolve().then(function () { return require('./zh-hk-64eeb0f6.js'); })],
|
1149
|
-
["zh-tw", () => Promise.resolve().then(function () { return require('./zh-tw-3d6f9661.js'); })]
|
1150
|
-
]);
|
1151
|
-
dayjs.extend(customParseFormat);
|
1152
|
-
dayjs.extend(localeData);
|
1153
|
-
dayjs.extend(localizedFormat);
|
1154
|
-
dayjs.extend(preParsePostFormat);
|
1155
|
-
dayjs.extend(updateLocale);
|
1156
|
-
const InputTimePicker = class {
|
1157
|
-
constructor(hostRef) {
|
1158
|
-
index.registerInstance(this, hostRef);
|
1159
|
-
this.calciteInputTimePickerChange = index.createEvent(this, "calciteInputTimePickerChange", 7);
|
1160
|
-
this.focusOnOpen = false;
|
1161
|
-
this.dialogId = `time-picker-dialog--${guid.guid()}`;
|
1162
|
-
/** whether the value of the input was changed as a result of user typing or not */
|
1163
|
-
this.userChangedValue = false;
|
1164
|
-
this.referenceElementId = `input-time-picker-${guid.guid()}`;
|
1165
|
-
//--------------------------------------------------------------------------
|
1166
|
-
//
|
1167
|
-
// Event Listeners
|
1168
|
-
//
|
1169
|
-
//--------------------------------------------------------------------------
|
1170
|
-
this.hostBlurHandler = () => {
|
1171
|
-
const inputValue = this.calciteInputEl.value;
|
1172
|
-
const delocalizedInputValue = this.delocalizeTimeString(inputValue);
|
1173
|
-
if (!delocalizedInputValue) {
|
1174
|
-
this.setValue("");
|
1175
|
-
return;
|
1176
|
-
}
|
1177
|
-
if (delocalizedInputValue !== this.value) {
|
1178
|
-
this.setValue(delocalizedInputValue);
|
1179
|
-
}
|
1180
|
-
const localizedTimeString = time.localizeTimeString({
|
1181
|
-
value: this.value,
|
1182
|
-
locale: this.effectiveLocale,
|
1183
|
-
numberingSystem: this.numberingSystem,
|
1184
|
-
includeSeconds: this.shouldIncludeSeconds()
|
1185
|
-
});
|
1186
|
-
if (localizedTimeString !== inputValue) {
|
1187
|
-
this.setInputValue(localizedTimeString);
|
1188
|
-
}
|
1189
|
-
this.deactivate();
|
1190
|
-
};
|
1191
|
-
this.calciteInternalInputFocusHandler = (event) => {
|
1192
|
-
if (!this.readOnly) {
|
1193
|
-
event.stopPropagation();
|
1194
|
-
}
|
1195
|
-
};
|
1196
|
-
this.calciteInternalInputInputHandler = (event) => {
|
1197
|
-
const { effectiveLocale: locale, numberingSystem } = this;
|
1198
|
-
if (numberingSystem && numberingSystem !== "latn") {
|
1199
|
-
const target = event.target;
|
1200
|
-
locale$1.numberStringFormatter.numberFormatOptions = {
|
1201
|
-
locale,
|
1202
|
-
numberingSystem,
|
1203
|
-
useGrouping: false
|
1204
|
-
};
|
1205
|
-
const valueInNumberingSystem = locale$1.numberStringFormatter
|
1206
|
-
.delocalize(target.value)
|
1207
|
-
.split("")
|
1208
|
-
.map((char) => key.numberKeys.includes(char)
|
1209
|
-
? locale$1.numberStringFormatter.numberFormatter.format(Number(char))
|
1210
|
-
: char)
|
1211
|
-
.join("");
|
1212
|
-
this.setInputValue(valueInNumberingSystem);
|
1213
|
-
}
|
1214
|
-
};
|
1215
|
-
this.timePickerChangeHandler = (event) => {
|
1216
|
-
event.stopPropagation();
|
1217
|
-
const target = event.target;
|
1218
|
-
const value = target.value;
|
1219
|
-
const includeSeconds = this.shouldIncludeSeconds();
|
1220
|
-
this.setValue(time.toISOTimeString(value, includeSeconds));
|
1221
|
-
this.setInputValue(time.localizeTimeString({
|
1222
|
-
value,
|
1223
|
-
locale: this.effectiveLocale,
|
1224
|
-
numberingSystem: this.numberingSystem,
|
1225
|
-
includeSeconds
|
1226
|
-
}));
|
1227
|
-
};
|
1228
|
-
this.popoverCloseHandler = () => {
|
1229
|
-
focusTrapComponent.deactivateFocusTrap(this, {
|
1230
|
-
onDeactivate: () => {
|
1231
|
-
this.calciteInputEl.setFocus();
|
1232
|
-
this.focusOnOpen = false;
|
1233
|
-
}
|
1234
|
-
});
|
1235
|
-
};
|
1236
|
-
this.popoverOpenHandler = () => {
|
1237
|
-
focusTrapComponent.activateFocusTrap(this, {
|
1238
|
-
onActivate: () => {
|
1239
|
-
if (this.focusOnOpen) {
|
1240
|
-
this.calciteTimePickerEl.setFocus();
|
1241
|
-
this.focusOnOpen = false;
|
1242
|
-
}
|
1243
|
-
}
|
1244
|
-
});
|
1245
|
-
};
|
1246
|
-
this.keyDownHandler = (event) => {
|
1247
|
-
const { defaultPrevented, key } = event;
|
1248
|
-
if (defaultPrevented) {
|
1249
|
-
return;
|
1250
|
-
}
|
1251
|
-
if (key === "Enter") {
|
1252
|
-
if (form.submitForm(this)) {
|
1253
|
-
event.preventDefault();
|
1254
|
-
this.calciteInputEl.setFocus();
|
1255
|
-
}
|
1256
|
-
if (event.composedPath().includes(this.calciteTimePickerEl)) {
|
1257
|
-
return;
|
1258
|
-
}
|
1259
|
-
const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
|
1260
|
-
this.setValue(newValue);
|
1261
|
-
const localizedTimeString = time.localizeTimeString({
|
1262
|
-
value: this.value,
|
1263
|
-
locale: this.effectiveLocale,
|
1264
|
-
numberingSystem: this.numberingSystem,
|
1265
|
-
includeSeconds: this.shouldIncludeSeconds()
|
1266
|
-
});
|
1267
|
-
if (newValue && this.calciteInputEl.value !== localizedTimeString) {
|
1268
|
-
this.setInputValue(localizedTimeString);
|
1269
|
-
}
|
1270
|
-
}
|
1271
|
-
else if (key === "ArrowDown") {
|
1272
|
-
this.open = true;
|
1273
|
-
this.focusOnOpen = true;
|
1274
|
-
event.preventDefault();
|
1275
|
-
}
|
1276
|
-
else if (key === "Escape" && this.open) {
|
1277
|
-
this.open = false;
|
1278
|
-
event.preventDefault();
|
1279
|
-
this.calciteInputEl.setFocus();
|
1280
|
-
}
|
1281
|
-
};
|
1282
|
-
this.setCalcitePopoverEl = (el) => {
|
1283
|
-
this.popoverEl = el;
|
1284
|
-
};
|
1285
|
-
this.setCalciteInputEl = (el) => {
|
1286
|
-
this.calciteInputEl = el;
|
1287
|
-
};
|
1288
|
-
this.setCalciteTimePickerEl = (el) => {
|
1289
|
-
this.calciteTimePickerEl = el;
|
1290
|
-
focusTrapComponent.connectFocusTrap(this, {
|
1291
|
-
focusTrapEl: el,
|
1292
|
-
focusTrapOptions: {
|
1293
|
-
initialFocus: false,
|
1294
|
-
setReturnFocus: false
|
1295
|
-
}
|
1296
|
-
});
|
1297
|
-
};
|
1298
|
-
this.setInputValue = (newInputValue) => {
|
1299
|
-
if (!this.calciteInputEl) {
|
1300
|
-
return;
|
1301
|
-
}
|
1302
|
-
this.calciteInputEl.value = newInputValue;
|
1303
|
-
};
|
1304
|
-
/**
|
1305
|
-
* Sets the value and emits a change event.
|
1306
|
-
* This is used to update the value as a result of user interaction.
|
1307
|
-
*
|
1308
|
-
* @param value
|
1309
|
-
*/
|
1310
|
-
this.setValue = (value) => {
|
1311
|
-
const oldValue = this.value;
|
1312
|
-
const newValue = time.formatTimeString(value) || "";
|
1313
|
-
if (newValue === oldValue) {
|
1314
|
-
return;
|
1315
|
-
}
|
1316
|
-
this.userChangedValue = true;
|
1317
|
-
this.value = newValue || "";
|
1318
|
-
const changeEvent = this.calciteInputTimePickerChange.emit();
|
1319
|
-
if (changeEvent.defaultPrevented) {
|
1320
|
-
this.userChangedValue = false;
|
1321
|
-
this.value = oldValue;
|
1322
|
-
this.setInputValue(time.localizeTimeString({
|
1323
|
-
value: oldValue,
|
1324
|
-
locale: this.effectiveLocale,
|
1325
|
-
numberingSystem: this.numberingSystem,
|
1326
|
-
includeSeconds: this.shouldIncludeSeconds()
|
1327
|
-
}));
|
1328
|
-
}
|
1329
|
-
};
|
1330
|
-
/**
|
1331
|
-
* Sets the value directly without emitting a change event.
|
1332
|
-
* This is used to update the value on initial load and when props change that are not the result of user interaction.
|
1333
|
-
*
|
1334
|
-
* @param value
|
1335
|
-
*/
|
1336
|
-
this.setValueDirectly = (value) => {
|
1337
|
-
const includeSeconds = this.shouldIncludeSeconds();
|
1338
|
-
this.value = time.toISOTimeString(value, includeSeconds);
|
1339
|
-
this.setInputValue(this.value
|
1340
|
-
? time.localizeTimeString({
|
1341
|
-
value: this.value,
|
1342
|
-
includeSeconds,
|
1343
|
-
locale: this.effectiveLocale,
|
1344
|
-
numberingSystem: this.numberingSystem
|
1345
|
-
})
|
1346
|
-
: "");
|
1347
|
-
};
|
1348
|
-
this.onInputWrapperClick = () => {
|
1349
|
-
this.open = !this.open;
|
1350
|
-
};
|
1351
|
-
this.deactivate = () => {
|
1352
|
-
this.open = false;
|
1353
|
-
};
|
1354
|
-
this.open = false;
|
1355
|
-
this.disabled = false;
|
1356
|
-
this.focusTrapDisabled = false;
|
1357
|
-
this.form = undefined;
|
1358
|
-
this.readOnly = false;
|
1359
|
-
this.messageOverrides = undefined;
|
1360
|
-
this.messages = undefined;
|
1361
|
-
this.name = undefined;
|
1362
|
-
this.numberingSystem = undefined;
|
1363
|
-
this.required = false;
|
1364
|
-
this.scale = "m";
|
1365
|
-
this.overlayPositioning = "absolute";
|
1366
|
-
this.placement = "auto";
|
1367
|
-
this.step = 60;
|
1368
|
-
this.value = null;
|
1369
|
-
this.defaultMessages = undefined;
|
1370
|
-
this.effectiveLocale = "";
|
1371
|
-
}
|
1372
|
-
openHandler(value) {
|
1373
|
-
if (this.disabled || this.readOnly) {
|
1374
|
-
this.open = false;
|
1375
|
-
return;
|
1376
|
-
}
|
1377
|
-
if (value) {
|
1378
|
-
this.reposition(true);
|
1379
|
-
}
|
1380
|
-
}
|
1381
|
-
handleFocusTrapDisabled(focusTrapDisabled) {
|
1382
|
-
if (!this.open) {
|
1383
|
-
return;
|
1384
|
-
}
|
1385
|
-
focusTrapDisabled ? focusTrapComponent.deactivateFocusTrap(this) : focusTrapComponent.activateFocusTrap(this);
|
1386
|
-
}
|
1387
|
-
handleDisabledAndReadOnlyChange(value) {
|
1388
|
-
if (!value) {
|
1389
|
-
this.open = false;
|
1390
|
-
}
|
1391
|
-
}
|
1392
|
-
onMessagesChange() {
|
1393
|
-
/* wired up by t9n util */
|
1394
|
-
}
|
1395
|
-
numberingSystemWatcher(numberingSystem) {
|
1396
|
-
this.setInputValue(time.localizeTimeString({
|
1397
|
-
value: this.value,
|
1398
|
-
locale: this.effectiveLocale,
|
1399
|
-
numberingSystem,
|
1400
|
-
includeSeconds: this.shouldIncludeSeconds()
|
1401
|
-
}));
|
1402
|
-
}
|
1403
|
-
stepWatcher(newStep, oldStep) {
|
1404
|
-
if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
|
1405
|
-
(newStep >= 60 && oldStep > 0 && oldStep < 60)) {
|
1406
|
-
this.setValueDirectly(this.value);
|
1407
|
-
}
|
1408
|
-
}
|
1409
|
-
valueWatcher(newValue) {
|
1410
|
-
if (!this.userChangedValue) {
|
1411
|
-
this.setValueDirectly(newValue);
|
1412
|
-
}
|
1413
|
-
this.userChangedValue = false;
|
1414
|
-
}
|
1415
|
-
async effectiveLocaleWatcher(locale) {
|
1416
|
-
await this.loadDateTimeLocaleData();
|
1417
|
-
this.setInputValue(time.localizeTimeString({
|
1418
|
-
value: this.value,
|
1419
|
-
locale,
|
1420
|
-
numberingSystem: this.numberingSystem,
|
1421
|
-
includeSeconds: this.shouldIncludeSeconds()
|
1422
|
-
}));
|
1423
|
-
}
|
1424
|
-
// --------------------------------------------------------------------------
|
1425
|
-
//
|
1426
|
-
// Public Methods
|
1427
|
-
//
|
1428
|
-
// --------------------------------------------------------------------------
|
1429
|
-
/** Sets focus on the component. */
|
1430
|
-
async setFocus() {
|
1431
|
-
await loadable.componentLoaded(this);
|
1432
|
-
this.el.focus();
|
1433
|
-
}
|
1434
|
-
/**
|
1435
|
-
* Updates the position of the component.
|
1436
|
-
*
|
1437
|
-
* @param delayed
|
1438
|
-
*/
|
1439
|
-
async reposition(delayed = false) {
|
1440
|
-
var _a;
|
1441
|
-
(_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
|
1442
|
-
}
|
1443
|
-
// --------------------------------------------------------------------------
|
1444
|
-
//
|
1445
|
-
// Private Methods
|
1446
|
-
//
|
1447
|
-
// --------------------------------------------------------------------------
|
1448
|
-
delocalizeTimeString(value) {
|
1449
|
-
// we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
|
1450
|
-
dayjs.locale(this.effectiveLocale.toLowerCase());
|
1451
|
-
const dayjsParseResult = dayjs(value, ["LTS", "LT"]);
|
1452
|
-
if (dayjsParseResult.isValid()) {
|
1453
|
-
let unformattedTimeString = `${dayjsParseResult.get("hour")}:${dayjsParseResult.get("minute")}`;
|
1454
|
-
if (this.shouldIncludeSeconds()) {
|
1455
|
-
unformattedTimeString += `:${dayjsParseResult.get("seconds") || 0}`;
|
1456
|
-
}
|
1457
|
-
return time.formatTimeString(unformattedTimeString) || "";
|
1458
|
-
}
|
1459
|
-
return "";
|
1460
|
-
}
|
1461
|
-
async loadDateTimeLocaleData() {
|
1462
|
-
let supportedLocale = locale$1.getSupportedLocale(this.effectiveLocale).toLowerCase();
|
1463
|
-
if (supportedLocale === "no") {
|
1464
|
-
supportedLocale = "nb";
|
1465
|
-
}
|
1466
|
-
if (supportedLocale === "pt-pt") {
|
1467
|
-
supportedLocale = "pt";
|
1468
|
-
}
|
1469
|
-
const { default: localeConfig } = await supportedDayJsLocaleToLocaleConfigImport.get(supportedLocale)();
|
1470
|
-
dayjs.locale(localeConfig, null, true);
|
1471
|
-
dayjs.updateLocale(supportedLocale, this.getExtendedLocaleConfig(supportedLocale));
|
1472
|
-
}
|
1473
|
-
getExtendedLocaleConfig(locale) {
|
1474
|
-
if (locale === "ar") {
|
1475
|
-
return {
|
1476
|
-
meridiem: (hour) => (hour > 12 ? "م" : "ص"),
|
1477
|
-
formats: {
|
1478
|
-
LT: "HH:mm A",
|
1479
|
-
LTS: "HH:mm:ss A",
|
1480
|
-
L: "DD/MM/YYYY",
|
1481
|
-
LL: "D MMMM YYYY",
|
1482
|
-
LLL: "D MMMM YYYY HH:mm A",
|
1483
|
-
LLLL: "dddd D MMMM YYYY HH:mm A"
|
1484
|
-
}
|
1485
|
-
};
|
1486
|
-
}
|
1487
|
-
if (locale === "en-au") {
|
1488
|
-
return {
|
1489
|
-
meridiem: (hour) => (hour > 12 ? "pm" : "am")
|
1490
|
-
};
|
1491
|
-
}
|
1492
|
-
if (locale === "en-ca") {
|
1493
|
-
return {
|
1494
|
-
meridiem: (hour) => (hour > 12 ? "p.m." : "a.m.")
|
1495
|
-
};
|
1496
|
-
}
|
1497
|
-
if (locale === "el") {
|
1498
|
-
return {
|
1499
|
-
meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ.")
|
1500
|
-
};
|
1501
|
-
}
|
1502
|
-
if (locale === "hi") {
|
1503
|
-
return {
|
1504
|
-
formats: {
|
1505
|
-
LT: "h:mm A",
|
1506
|
-
LTS: "h:mm:ss A",
|
1507
|
-
L: "DD/MM/YYYY",
|
1508
|
-
LL: "D MMMM YYYY",
|
1509
|
-
LLL: "D MMMM YYYY, h:mm A",
|
1510
|
-
LLLL: "dddd, D MMMM YYYY, h:mm A"
|
1511
|
-
},
|
1512
|
-
meridiem: (hour) => (hour > 12 ? "pm" : "am")
|
1513
|
-
};
|
1514
|
-
}
|
1515
|
-
if (locale === "ko") {
|
1516
|
-
return {
|
1517
|
-
meridiem: (hour) => (hour > 12 ? "오후" : "오전")
|
1518
|
-
};
|
1519
|
-
}
|
1520
|
-
if (locale === "zh-tw") {
|
1521
|
-
return {
|
1522
|
-
formats: {
|
1523
|
-
LT: "AHH:mm",
|
1524
|
-
LTS: "AHH:mm:ss"
|
1525
|
-
}
|
1526
|
-
};
|
1527
|
-
}
|
1528
|
-
if (locale === "zh-hk") {
|
1529
|
-
return {
|
1530
|
-
formats: {
|
1531
|
-
LT: "AHH:mm",
|
1532
|
-
LTS: "AHH:mm:ss"
|
1533
|
-
},
|
1534
|
-
meridiem: (hour) => (hour > 12 ? "下午" : "上午")
|
1535
|
-
};
|
1536
|
-
}
|
1537
|
-
}
|
1538
|
-
onLabelClick() {
|
1539
|
-
this.setFocus();
|
1540
|
-
}
|
1541
|
-
shouldIncludeSeconds() {
|
1542
|
-
return this.step < 60;
|
1543
|
-
}
|
1544
|
-
//--------------------------------------------------------------------------
|
1545
|
-
//
|
1546
|
-
// Lifecycle
|
1547
|
-
//
|
1548
|
-
//--------------------------------------------------------------------------
|
1549
|
-
connectedCallback() {
|
1550
|
-
locale$1.connectLocalized(this);
|
1551
|
-
if (time.isValidTime(this.value)) {
|
1552
|
-
this.setValueDirectly(this.value);
|
1553
|
-
}
|
1554
|
-
else {
|
1555
|
-
this.value = undefined;
|
1556
|
-
}
|
1557
|
-
label.connectLabel(this);
|
1558
|
-
form.connectForm(this);
|
1559
|
-
t9n.connectMessages(this);
|
1560
|
-
}
|
1561
|
-
async componentWillLoad() {
|
1562
|
-
loadable.setUpLoadableComponent(this);
|
1563
|
-
await Promise.all([t9n.setUpMessages(this), this.loadDateTimeLocaleData()]);
|
1564
|
-
}
|
1565
|
-
componentDidLoad() {
|
1566
|
-
loadable.setComponentLoaded(this);
|
1567
|
-
if (time.isValidTime(this.value)) {
|
1568
|
-
this.setInputValue(time.localizeTimeString({
|
1569
|
-
value: this.value,
|
1570
|
-
locale: this.effectiveLocale,
|
1571
|
-
numberingSystem: this.numberingSystem,
|
1572
|
-
includeSeconds: this.shouldIncludeSeconds()
|
1573
|
-
}));
|
1574
|
-
}
|
1575
|
-
}
|
1576
|
-
disconnectedCallback() {
|
1577
|
-
label.disconnectLabel(this);
|
1578
|
-
form.disconnectForm(this);
|
1579
|
-
locale$1.disconnectLocalized(this);
|
1580
|
-
focusTrapComponent.deactivateFocusTrap(this);
|
1581
|
-
t9n.disconnectMessages(this);
|
1582
|
-
}
|
1583
|
-
componentDidRender() {
|
1584
|
-
interactive.updateHostInteraction(this);
|
1585
|
-
}
|
1586
|
-
// --------------------------------------------------------------------------
|
1587
|
-
//
|
1588
|
-
// Render Methods
|
1589
|
-
//
|
1590
|
-
// --------------------------------------------------------------------------
|
1591
|
-
render() {
|
1592
|
-
const { disabled, messages, readOnly, dialogId } = this;
|
1593
|
-
return (index.h(index.Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, index.h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, index.h("calcite-input", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: label.getLabelText(this), lang: this.effectiveLocale, onCalciteInputInput: this.calciteInternalInputInputHandler, onCalciteInternalInputFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, step: this.step,
|
1594
|
-
// eslint-disable-next-line react/jsx-sort-props
|
1595
|
-
ref: this.setCalciteInputEl }), this.renderToggleIcon(this.open)), index.h("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
|
1596
|
-
// eslint-disable-next-line react/jsx-sort-props
|
1597
|
-
ref: this.setCalcitePopoverEl }, index.h("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
|
1598
|
-
// eslint-disable-next-line react/jsx-sort-props
|
1599
|
-
ref: this.setCalciteTimePickerEl })), index.h(form.HiddenFormInputSlot, { component: this })));
|
1600
|
-
}
|
1601
|
-
renderToggleIcon(open) {
|
1602
|
-
return (index.h("span", { class: CSS.toggleIcon }, index.h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: "s" })));
|
1603
|
-
}
|
1604
|
-
static get delegatesFocus() { return true; }
|
1605
|
-
static get assetsDirs() { return ["assets"]; }
|
1606
|
-
get el() { return index.getElement(this); }
|
1607
|
-
static get watchers() { return {
|
1608
|
-
"open": ["openHandler"],
|
1609
|
-
"focusTrapDisabled": ["handleFocusTrapDisabled"],
|
1610
|
-
"disabled": ["handleDisabledAndReadOnlyChange"],
|
1611
|
-
"readOnly": ["handleDisabledAndReadOnlyChange"],
|
1612
|
-
"messageOverrides": ["onMessagesChange"],
|
1613
|
-
"numberingSystem": ["numberingSystemWatcher"],
|
1614
|
-
"step": ["stepWatcher"],
|
1615
|
-
"value": ["valueWatcher"],
|
1616
|
-
"effectiveLocale": ["effectiveLocaleWatcher"]
|
1617
|
-
}; }
|
1618
|
-
};
|
1619
|
-
InputTimePicker.style = inputTimePickerCss;
|
1620
|
-
|
1621
|
-
exports.InputTimePicker = InputTimePicker;
|
1622
|
-
exports.dayjs = dayjs;
|