@esri/solutions-components 0.10.18 → 0.10.19
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-54ca6b91.js +115 -0
- package/dist/cjs/FloatingArrow-28f6bb91.js +48 -0
- package/dist/cjs/Heading-63b5c82c.js +25 -0
- package/dist/cjs/Validation-9bab9a69.js +20 -0
- package/dist/cjs/app-globals-d2085e28.js +67 -0
- package/dist/cjs/ar-ce94723b.js +106 -0
- package/dist/cjs/array-708fd433.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +15 -7
- package/dist/cjs/bg-8ab5661c.js +84 -0
- package/dist/cjs/browser-2893460e.js +35 -0
- package/dist/cjs/bs-f15b7a3d.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/ca-321e7e4f.js +73 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-accordion.cjs.entry.js +3 -3
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-alert_5.cjs.entry.js +55 -27
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
- package/dist/cjs/calcite-block_5.cjs.entry.js +27 -27
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-card.cjs.entry.js +11 -11
- package/dist/cjs/calcite-carousel-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-carousel.cjs.entry.js +12 -12
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-chip_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +21 -21
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dialog.cjs.entry.js +15 -15
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_5.cjs.entry.js +18 -18
- package/dist/cjs/calcite-flow_4.cjs.entry.js +49 -17
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-icon_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-time-picker-d63d914b.js +1861 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +23 -17
- package/dist/cjs/calcite-input_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- 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-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal_3.cjs.entry.js +19 -19
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +14 -14
- package/dist/cjs/calcite-option_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +40 -39
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -11
- package/dist/cjs/calcite-stepper.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +8 -8
- package/dist/cjs/calcite-table.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_3.cjs.entry.js +11 -11
- package/dist/cjs/card-manager_3.cjs.entry.js +8 -7
- package/dist/cjs/common-eee0c33f.js +38 -0
- package/dist/cjs/component-7f2bd646.js +33 -0
- package/dist/cjs/conditionalSlot-2d2541f4.js +54 -0
- package/dist/cjs/config-7c16c710.js +40 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +71 -32
- package/dist/cjs/cs-66742e3a.js +149 -0
- package/dist/cjs/da-933e7031.js +69 -0
- package/dist/cjs/date-e01a99aa.js +264 -0
- package/dist/cjs/de-87706bda.js +93 -0
- package/dist/cjs/de-at-752f7be1.js +92 -0
- package/dist/cjs/de-ch-41dc3fef.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-3d3a8f25.js +1215 -0
- package/dist/cjs/downloadUtils-5864e6b2.js +3164 -0
- package/dist/cjs/el-23b7e02b.js +68 -0
- package/dist/cjs/en-au-4f9fe083.js +68 -0
- package/dist/cjs/en-ca-afba9508.js +67 -0
- package/dist/cjs/en-gb-78a49c6a.js +71 -0
- package/dist/cjs/es-ea5faae0.js +68 -0
- package/dist/cjs/es-mx-47a5667a.js +67 -0
- package/dist/cjs/et-72505ea1.js +94 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +25 -12
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-7b4ac88c.js +117 -0
- package/dist/cjs/filter-a9429bde.js +778 -0
- package/dist/cjs/floating-ui-9ff03df8.js +2373 -0
- package/dist/cjs/focusTrapComponent-86ebd41d.js +1018 -0
- package/dist/cjs/form-8132060d.js +381 -0
- package/dist/cjs/fr-8077e2e8.js +70 -0
- package/dist/cjs/fr-ch-04f427a0.js +68 -0
- package/dist/cjs/guid-42cda8c9.js +26 -0
- package/dist/cjs/he-93b37a58.js +107 -0
- package/dist/cjs/hi-cb320ba3.js +67 -0
- package/dist/cjs/hr-15e455d9.js +82 -0
- package/dist/cjs/hu-10c42dd5.js +90 -0
- package/dist/cjs/id-813844ef.js +68 -0
- package/dist/cjs/index.es-c82ac9f0.js +11318 -0
- package/dist/cjs/input-3efc5a5e.js +60 -0
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +9 -9
- package/dist/cjs/interactive-3b85d8df.js +167 -0
- package/dist/cjs/it-090375c5.js +68 -0
- package/dist/cjs/it-ch-6cc91215.js +68 -0
- package/dist/cjs/ja-e6697420.js +74 -0
- package/dist/cjs/key-82084ef6.js +19 -0
- package/dist/cjs/ko-522250be.js +74 -0
- package/dist/cjs/label-e7d3c371.js +186 -0
- package/dist/cjs/layout-manager.cjs.entry.js +1 -1
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadable-0e357195.js +98 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-351282c5.js +605 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/logger-309df5d9.js +61 -0
- package/dist/cjs/lt-c2f9fd21.js +99 -0
- package/dist/cjs/lv-a1930986.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +7 -6
- package/dist/cjs/math-14740338.js +60 -0
- package/dist/cjs/mk-deb11706.js +68 -0
- package/dist/cjs/nb-3859b631.js +69 -0
- package/dist/cjs/nl-6c2c838d.js +69 -0
- package/dist/cjs/observers-5f9f67ee.js +58 -0
- package/dist/cjs/openCloseComponent-b66f10f5.js +65 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-fcb7899e.js +116 -0
- package/dist/cjs/popupUtils-f92ecd7f.js +121 -0
- package/dist/cjs/pt-416d2cf8.js +69 -0
- package/dist/cjs/pt-br-bae3d576.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +6 -5
- package/dist/cjs/purify-0805e9f8.js +1562 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/resources-4446499e.js +39 -0
- package/dist/cjs/resources-4c3e1c50.js +68 -0
- package/dist/cjs/resources-6f65a67f.js +29 -0
- package/dist/cjs/resources-87ed79dd.js +23 -0
- package/dist/cjs/resources-9b04cd8c.js +23 -0
- package/dist/cjs/resources-a1ca0958.js +27 -0
- package/dist/cjs/resources-c5f09989.js +68 -0
- package/dist/cjs/resources-dbc687b5.js +26 -0
- package/dist/cjs/resources-f11e9bd6.js +39 -0
- package/dist/cjs/resources-f8785f51.js +21 -0
- package/dist/cjs/restHelpersGet-5c2245a3.js +991 -0
- package/dist/cjs/ro-bda94f37.js +68 -0
- package/dist/cjs/ru-7258ce51.js +128 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-d4b7311f.js +361 -0
- package/dist/cjs/sk-3a398547.js +150 -0
- package/dist/cjs/sl-bfb5a728.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +31 -30
- package/dist/cjs/solution-contents_3.cjs.entry.js +8 -7
- package/dist/cjs/solution-resource-40e70253.js +145 -0
- package/dist/cjs/solution-store-2cd6a8c3.js +1354 -0
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/sortableComponent-8684e273.js +2748 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +4 -3
- package/dist/cjs/sr-58554054.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +5 -4
- package/dist/cjs/sv-335a4402.js +73 -0
- package/dist/cjs/t9n-e41672d2.js +108 -0
- package/dist/cjs/templates-0b7f886f.js +408 -0
- package/dist/cjs/th-14ebad2e.js +67 -0
- package/dist/cjs/time-9a5e2f2d.js +301 -0
- package/dist/cjs/tr-36bcc20f.js +68 -0
- package/dist/cjs/uk-dcff92bd.js +106 -0
- package/dist/cjs/utils-29c97686.js +2304 -0
- package/dist/cjs/utils-edb4e372.js +78 -0
- package/dist/cjs/vi-284fec96.js +72 -0
- package/dist/cjs/zh-cn-1f4ab46b.js +96 -0
- package/dist/cjs/zh-hk-39cf1fdd.js +94 -0
- package/dist/cjs/zh-tw-e0b3117d.js +94 -0
- package/dist/collection/assets/t9n/card-manager/resources_ar.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_bg.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_bs.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ca.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_cs.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_da.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_de.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_el.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_es.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_et.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_fi.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_fr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_he.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_hr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_hu.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_id.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_it.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ja.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ko.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_lt.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_lv.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_nb.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_nl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pt-BR.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_pt-PT.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ro.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_ru.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sk.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sl.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_sv.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_th.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_tr.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_uk.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_vi.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-CN.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-HK.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_zh-TW.json +4 -1
- package/dist/collection/assets/t9n/create-feature/resources.json +5 -0
- package/dist/collection/assets/t9n/create-feature/resources_en.json +5 -0
- package/dist/collection/assets/t9n/create-related-feature/resources.json +3 -0
- package/dist/collection/assets/t9n/create-related-feature/resources_en.json +3 -0
- package/dist/collection/assets/t9n/crowdsource-reporter/resources.json +0 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
- package/dist/collection/assets/t9n/layer-table/resources_ar.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_bg.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_bs.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ca.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_cs.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_da.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_de.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_el.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_es.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_et.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_fi.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_fr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_he.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_hr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_hu.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_id.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_it.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ja.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ko.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_lt.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_lv.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_nb.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_nl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ro.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ru.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sk.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sl.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_sv.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_th.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_tr.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_uk.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_vi.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +2 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +11 -1
- package/dist/collection/components/create-feature/create-feature.css +6 -1
- package/dist/collection/components/create-feature/create-feature.js +50 -3
- package/dist/collection/components/create-related-feature/create-related-feature.css +10 -0
- package/dist/collection/components/create-related-feature/create-related-feature.js +35 -3
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +72 -31
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.css +0 -8
- package/dist/collection/components/feature-details/feature-details.js +58 -10
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +29 -10
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +3 -3
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +2 -2
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/crowdsource-reporter.html +24 -25
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/action-bar.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-pad.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/basemap-gallery2.js +10 -1
- package/dist/components/block.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-carousel-item.js +1 -1
- package/dist/components/calcite-carousel.js +1 -1
- package/dist/components/calcite-dialog.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +11 -4
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item-group.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/common.js +1 -0
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +1 -1
- package/dist/components/create-feature2.js +47 -5
- package/dist/components/create-related-feature2.js +32 -5
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/crowdsource-reporter.js +73 -33
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/downloadUtils.js +27 -26
- package/dist/components/dropdown.js +1 -1
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +31 -11
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +20 -8
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/flow-item.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- 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.js +2 -2
- package/dist/components/index2.js +2117 -162
- package/dist/components/index3.js +162 -2117
- package/dist/components/info-card2.js +2 -2
- package/dist/components/input-date-picker.js +2 -2
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/instant-apps-header2.js +1 -1
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/instant-apps-time-filter.js +10 -10
- package/dist/components/interactive.js +1 -1
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +3 -3
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale2.js +2 -2
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/logger.js +1 -1
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/navigation-user.js +1 -1
- package/dist/components/notice.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +2 -2
- package/dist/components/panel.js +2 -2
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/public-notification.js +2 -2
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/purify.js +275 -429
- package/dist/components/radio-button.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/restHelpersGet.js +16 -0
- package/dist/components/scrim.js +1 -1
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/solution-configuration.js +27 -26
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +2 -1
- package/dist/components/solution-resource.js +1 -1699
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +2 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/store.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/templates.js +1 -0
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tree-item.js +1 -1
- package/dist/components/tree.js +1 -1
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/utils4.js +1 -1
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +2 -2
- package/dist/esm/ExpandToggle-b5147279.js +108 -0
- package/dist/esm/FloatingArrow-9a505e89.js +46 -0
- package/dist/esm/Heading-cae0b34c.js +22 -0
- package/dist/esm/Validation-bd0a53ec.js +18 -0
- package/dist/esm/app-globals-530c75ff.js +65 -0
- package/dist/esm/ar-e0e64e78.js +104 -0
- package/dist/esm/array-ddb2593b.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +15 -7
- package/dist/esm/bg-d2d8dbe0.js +82 -0
- package/dist/esm/browser-a791205e.js +32 -0
- package/dist/esm/bs-d883901d.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +5 -5
- package/dist/esm/ca-064729ad.js +71 -0
- package/dist/esm/calcite-accordion-item.entry.js +9 -9
- package/dist/esm/calcite-accordion.entry.js +3 -3
- package/dist/esm/calcite-action-bar.entry.js +14 -14
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu_2.entry.js +15 -15
- package/dist/esm/calcite-action-pad_2.entry.js +14 -14
- package/dist/esm/calcite-action_2.entry.js +20 -20
- package/dist/esm/calcite-alert_5.entry.js +55 -27
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block-section.entry.js +10 -10
- package/dist/esm/calcite-block_5.entry.js +27 -27
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card-group.entry.js +6 -6
- package/dist/esm/calcite-card.entry.js +11 -11
- package/dist/esm/calcite-carousel-item.entry.js +2 -2
- package/dist/esm/calcite-carousel.entry.js +12 -12
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +6 -6
- package/dist/esm/calcite-chip_2.entry.js +15 -15
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +12 -12
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
- package/dist/esm/calcite-combobox_3.entry.js +21 -21
- package/dist/esm/calcite-date-picker-day_3.entry.js +13 -13
- package/dist/esm/calcite-dialog.entry.js +15 -15
- package/dist/esm/calcite-dropdown_2.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_5.entry.js +18 -18
- package/dist/esm/calcite-flow_4.entry.js +50 -18
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-icon_2.entry.js +10 -10
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-number.entry.js +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/calcite-input-time-picker-66e7a9f3.js +1858 -0
- package/dist/esm/calcite-input-time-picker.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +23 -17
- package/dist/esm/calcite-input_2.entry.js +16 -16
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-menu-item.entry.js +10 -10
- package/dist/esm/calcite-menu.entry.js +9 -9
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal_3.entry.js +19 -19
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation-user.entry.js +3 -3
- package/dist/esm/calcite-navigation.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +14 -14
- package/dist/esm/calcite-option_2.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pick-list-group.entry.js +10 -10
- package/dist/esm/calcite-pick-list-item.entry.js +15 -15
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-radio-button-group.entry.js +8 -8
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +13 -13
- package/dist/esm/calcite-sheet.entry.js +10 -10
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +40 -39
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +11 -11
- package/dist/esm/calcite-stepper.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +8 -8
- package/dist/esm/calcite-table.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-group.entry.js +7 -7
- package/dist/esm/calcite-tile-select-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-time-picker.entry.js +13 -13
- package/dist/esm/calcite-tip-group.entry.js +2 -2
- package/dist/esm/calcite-tip-manager.entry.js +12 -12
- package/dist/esm/calcite-tip.entry.js +13 -13
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_3.entry.js +11 -11
- package/dist/esm/card-manager_3.entry.js +8 -7
- package/dist/esm/common-c3bbba83.js +36 -0
- package/dist/esm/component-d35983a4.js +30 -0
- package/dist/esm/conditionalSlot-0cbc7172.js +51 -0
- package/dist/esm/config-8d1c3431.js +36 -0
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +71 -32
- package/dist/esm/cs-3751e560.js +147 -0
- package/dist/esm/da-227f8ad5.js +67 -0
- package/dist/esm/date-87a67cb4.js +248 -0
- package/dist/esm/de-a5d2b25b.js +91 -0
- package/dist/esm/de-at-66232b80.js +90 -0
- package/dist/esm/de-ch-1264ed4c.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-63d2d41c.js +1180 -0
- package/dist/esm/downloadUtils-a065e9cd.js +3157 -0
- package/dist/esm/el-f5bf7ca3.js +66 -0
- package/dist/esm/en-au-2ac8f62e.js +66 -0
- package/dist/esm/en-ca-a1602b49.js +65 -0
- package/dist/esm/en-gb-28354b2e.js +69 -0
- package/dist/esm/es-feb7aad2.js +66 -0
- package/dist/esm/es-mx-5d64f899.js +65 -0
- package/dist/esm/et-173d2f49.js +92 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +25 -12
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-ff9bb719.js +115 -0
- package/dist/esm/filter-6ee02739.js +775 -0
- package/dist/esm/floating-ui-c7ae81d9.js +2365 -0
- package/dist/esm/focusTrapComponent-833b1234.js +1013 -0
- package/dist/esm/form-08e1bcb7.js +372 -0
- package/dist/esm/fr-ch-491f1abe.js +66 -0
- package/dist/esm/fr-e3af6835.js +68 -0
- package/dist/esm/guid-42656051.js +24 -0
- package/dist/esm/he-47aa8dde.js +105 -0
- package/dist/esm/hi-1700df3e.js +65 -0
- package/dist/esm/hr-68b828f5.js +80 -0
- package/dist/esm/hu-df6a8f29.js +88 -0
- package/dist/esm/id-8091582d.js +66 -0
- package/dist/esm/index.es-4b7e52e4.js +11231 -0
- package/dist/esm/input-7f3fc18b.js +58 -0
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +9 -9
- package/dist/esm/interactive-b2a41b8b.js +162 -0
- package/dist/esm/it-1f5e149d.js +66 -0
- package/dist/esm/it-ch-bf7fcac6.js +66 -0
- package/dist/esm/ja-a5117166.js +72 -0
- package/dist/esm/key-d6dfb50e.js +16 -0
- package/dist/esm/ko-9d7a9e79.js +72 -0
- package/dist/esm/label-4c4e06d6.js +179 -0
- package/dist/esm/layout-manager.entry.js +1 -1
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadable-1a9b14b8.js +93 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-4441c976.js +591 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/logger-3188b9c3.js +59 -0
- package/dist/esm/lt-2e1c53de.js +97 -0
- package/dist/esm/lv-ca1ba866.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +7 -6
- package/dist/esm/math-9afe1f6d.js +54 -0
- package/dist/esm/mk-421d0d41.js +66 -0
- package/dist/esm/nb-5b103e32.js +67 -0
- package/dist/esm/nl-eac33461.js +67 -0
- package/dist/esm/observers-6cac5525.js +56 -0
- package/dist/esm/openCloseComponent-c8c8645b.js +63 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-03531ccb.js +114 -0
- package/dist/esm/popupUtils-07732cb9.js +119 -0
- package/dist/esm/pt-b5d8bffc.js +67 -0
- package/dist/esm/pt-br-dee45728.js +65 -0
- package/dist/esm/public-notification.entry.js +6 -5
- package/dist/esm/purify-cb56797a.js +1560 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/resources-119ae117.js +23 -0
- package/dist/esm/resources-244d70ca.js +22 -0
- package/dist/esm/resources-3f56d4e7.js +19 -0
- package/dist/esm/resources-57625076.js +63 -0
- package/dist/esm/resources-5b213c89.js +35 -0
- package/dist/esm/resources-61eab899.js +20 -0
- package/dist/esm/resources-745dec87.js +34 -0
- package/dist/esm/resources-9494c015.js +21 -0
- package/dist/esm/resources-d6566b8a.js +62 -0
- package/dist/esm/resources-d7e0fbbf.js +24 -0
- package/dist/esm/restHelpersGet-48113381.js +976 -0
- package/dist/esm/ro-df6cb584.js +66 -0
- package/dist/esm/ru-e7c02faa.js +126 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-cadae2eb.js +339 -0
- package/dist/esm/sk-cae387d2.js +148 -0
- package/dist/esm/sl-2892ad87.js +168 -0
- package/dist/esm/solution-configuration.entry.js +31 -30
- package/dist/esm/solution-contents_3.entry.js +8 -7
- package/dist/esm/solution-resource-f5809979.js +142 -0
- package/dist/esm/solution-store-ca4d55de.js +1352 -0
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/sortableComponent-52b99f0f.js +2745 -0
- package/dist/esm/spatial-ref.entry.js +4 -3
- package/dist/esm/sr-11e6839f.js +101 -0
- package/dist/esm/store-manager.entry.js +5 -4
- package/dist/esm/sv-fd5c6ca5.js +71 -0
- package/dist/esm/t9n-b7ea1a61.js +103 -0
- package/dist/esm/templates-0b442208.js +402 -0
- package/dist/esm/th-170cf6b1.js +65 -0
- package/dist/esm/time-a7f1020b.js +286 -0
- package/dist/esm/tr-1d6ca382.js +66 -0
- package/dist/esm/uk-35eec84e.js +104 -0
- package/dist/esm/utils-62514064.js +65 -0
- package/dist/esm/utils-d2524a35.js +2274 -0
- package/dist/esm/vi-2713ee26.js +70 -0
- package/dist/esm/zh-cn-ed066014.js +94 -0
- package/dist/esm/zh-hk-a118dced.js +92 -0
- package/dist/esm/zh-tw-c9bbf220.js +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +6 -22
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/solutions-components/assets/t9n/card-manager/resources_ar.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_bg.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_bs.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ca.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_cs.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_da.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_de.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_el.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_es.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_et.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_fi.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_fr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_he.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_hr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_hu.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_id.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_it.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ja.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ko.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_lt.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_lv.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_nb.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_nl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pt-BR.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_pt-PT.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ro.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_ru.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sk.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sl.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_sv.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_th.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_tr.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_uk.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_vi.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-CN.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-HK.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_zh-TW.json +4 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources.json +5 -0
- package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +5 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources.json +3 -0
- package/dist/solutions-components/assets/t9n/create-related-feature/resources_en.json +3 -0
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources.json +0 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +2 -1
- package/dist/solutions-components/demos/crowdsource-reporter.html +24 -25
- package/dist/solutions-components/p-01588d2c.js +61 -0
- package/dist/solutions-components/p-01bdd59d.entry.js +6 -0
- package/dist/solutions-components/p-01dae909.js +6 -0
- package/dist/solutions-components/p-02ea30d1.entry.js +11 -0
- package/dist/solutions-components/p-040b6e44.entry.js +6 -0
- package/dist/solutions-components/p-04294b8e.js +6 -0
- package/dist/solutions-components/p-062e5705.entry.js +6 -0
- package/dist/solutions-components/p-062f4457.js +6 -0
- package/dist/solutions-components/p-07d30a6b.entry.js +11 -0
- package/dist/solutions-components/p-08d1cc1f.js +11 -0
- package/dist/solutions-components/p-0a165419.js +18 -0
- package/dist/solutions-components/p-0b6e5486.js +6 -0
- package/dist/solutions-components/p-0d6b3f44.js +6 -0
- package/dist/solutions-components/p-0dc73313.js +6 -0
- package/dist/solutions-components/p-0e851a4b.js +6 -0
- package/dist/solutions-components/p-0ef9d36b.js +11 -0
- package/dist/solutions-components/p-1017609e.js +11 -0
- package/dist/solutions-components/p-14f027b5.js +11 -0
- package/dist/solutions-components/p-150394be.js +11 -0
- package/dist/solutions-components/p-16a3f7ca.entry.js +6 -0
- package/dist/solutions-components/p-16b24981.entry.js +11 -0
- package/dist/solutions-components/p-19b466d0.js +6 -0
- package/dist/solutions-components/p-1a06bf01.js +6 -0
- package/dist/solutions-components/p-1b0fe5b1.entry.js +6 -0
- package/dist/solutions-components/p-1b229454.js +11 -0
- package/dist/solutions-components/p-1c249530.js +11 -0
- package/dist/solutions-components/p-1ce2608d.js +12 -0
- package/dist/solutions-components/p-1ef6a1c2.entry.js +6 -0
- package/dist/solutions-components/p-2007eaa4.entry.js +6 -0
- package/dist/solutions-components/p-222e0445.entry.js +11 -0
- package/dist/solutions-components/p-2230d4cc.js +11 -0
- package/dist/solutions-components/p-2264e8d5.entry.js +11 -0
- package/dist/solutions-components/p-23ce9afa.entry.js +11 -0
- package/dist/solutions-components/p-23dd68de.entry.js +17 -0
- package/dist/solutions-components/p-245c35ce.js +6 -0
- package/dist/solutions-components/p-24a813a4.entry.js +6 -0
- package/dist/solutions-components/p-25b5ffea.js +6 -0
- package/dist/solutions-components/p-267ef1b8.entry.js +11 -0
- package/dist/solutions-components/p-270ead49.js +16 -0
- package/dist/solutions-components/p-27d462c0.js +11 -0
- package/dist/solutions-components/p-2868a42b.js +11 -0
- package/dist/solutions-components/p-29a09798.js +17 -0
- package/dist/solutions-components/p-2a53ba0d.js +489 -0
- package/dist/solutions-components/p-2aa44a02.entry.js +11 -0
- package/dist/solutions-components/p-2d17790c.js +6 -0
- package/dist/solutions-components/p-2e06ec97.js +6 -0
- package/dist/solutions-components/p-304cef31.js +16 -0
- package/dist/solutions-components/p-33db098c.js +6 -0
- package/dist/solutions-components/p-347d9ce0.js +6 -0
- package/dist/solutions-components/p-36e59391.js +143 -0
- package/dist/solutions-components/p-3792492a.js +11 -0
- package/dist/solutions-components/p-38a87c63.js +11 -0
- package/dist/solutions-components/p-39ca5896.entry.js +6 -0
- package/dist/solutions-components/p-3a47fde6.entry.js +11 -0
- package/dist/solutions-components/p-3c1ecf85.entry.js +29 -0
- package/dist/solutions-components/p-3c89bfe5.entry.js +6 -0
- package/dist/solutions-components/p-3e828614.js +11 -0
- package/dist/solutions-components/p-40175313.entry.js +11 -0
- package/dist/solutions-components/p-40f5df15.entry.js +11 -0
- package/dist/solutions-components/p-42cd083f.entry.js +20 -0
- package/dist/solutions-components/p-47a0be20.js +11 -0
- package/dist/solutions-components/p-4920ee12.js +11 -0
- package/dist/solutions-components/p-49bbe45e.js +6 -0
- package/dist/solutions-components/p-4b9b7778.js +11 -0
- package/dist/solutions-components/p-4c179300.entry.js +11 -0
- package/dist/solutions-components/p-4e7aa926.js +6 -0
- package/dist/solutions-components/p-4fe5e9c3.entry.js +22 -0
- package/dist/solutions-components/p-508b2b7b.js +6 -0
- package/dist/solutions-components/p-52f19286.entry.js +11 -0
- package/dist/solutions-components/p-53b5a39e.js +6 -0
- package/dist/solutions-components/p-5440c8dd.js +6 -0
- package/dist/solutions-components/p-54a9017c.entry.js +11 -0
- package/dist/solutions-components/p-54b7e680.js +6 -0
- package/dist/solutions-components/p-550da58b.js +6 -0
- package/dist/solutions-components/p-5612aa0c.entry.js +6 -0
- package/dist/solutions-components/p-57025491.entry.js +6 -0
- package/dist/solutions-components/p-5a3cab12.entry.js +17 -0
- package/dist/solutions-components/p-5de67b86.js +11 -0
- package/dist/solutions-components/p-5e71e72a.js +21 -0
- package/dist/solutions-components/p-5f705984.js +6 -0
- package/dist/solutions-components/p-5f7c1e49.js +6 -0
- package/dist/solutions-components/p-6147cfb4.entry.js +6 -0
- package/dist/solutions-components/p-6319ca20.js +6 -0
- package/dist/solutions-components/p-64a34d92.js +11 -0
- package/dist/solutions-components/p-64bf4d2e.entry.js +11 -0
- package/dist/solutions-components/p-66afdfdd.entry.js +17 -0
- package/dist/solutions-components/p-66b01781.js +11 -0
- package/dist/solutions-components/p-67c34d05.entry.js +16 -0
- package/dist/solutions-components/p-6b0fa1eb.entry.js +17 -0
- package/dist/solutions-components/p-6c080ac7.entry.js +11 -0
- package/dist/solutions-components/p-707ee1d1.entry.js +11 -0
- package/dist/solutions-components/p-712873f0.js +6 -0
- package/dist/solutions-components/p-732bb88c.entry.js +6 -0
- package/dist/solutions-components/p-744d9575.js +11 -0
- package/dist/solutions-components/p-7586e1de.entry.js +6 -0
- package/dist/solutions-components/p-770a0e12.js +6 -0
- package/dist/solutions-components/p-793f1b14.entry.js +11 -0
- package/dist/solutions-components/p-798b9928.entry.js +11 -0
- package/dist/solutions-components/p-79f5a8be.js +11 -0
- package/dist/solutions-components/p-79f78acc.entry.js +11 -0
- package/dist/solutions-components/p-7ae41cd8.js +6 -0
- package/dist/solutions-components/p-7b2ef872.entry.js +11 -0
- package/dist/solutions-components/p-7c854814.js +11 -0
- package/dist/solutions-components/p-7fce703f.entry.js +12 -0
- package/dist/solutions-components/p-80f49acc.js +6 -0
- package/dist/solutions-components/p-8537518d.entry.js +11 -0
- package/dist/solutions-components/p-8614d1a0.entry.js +11 -0
- package/dist/solutions-components/p-87f928a5.entry.js +17 -0
- package/dist/solutions-components/p-8bb2c169.js +11 -0
- package/dist/solutions-components/p-8bce991a.js +11 -0
- package/dist/solutions-components/p-8bfa18b7.js +11 -0
- package/dist/solutions-components/p-8c6a301f.entry.js +47 -0
- package/dist/solutions-components/p-8da5aeea.entry.js +11 -0
- package/dist/solutions-components/p-8fb06a85.entry.js +11 -0
- package/dist/solutions-components/p-919e9de7.entry.js +11 -0
- package/dist/solutions-components/p-91b7a7dc.entry.js +11 -0
- package/dist/solutions-components/p-924ec704.js +6 -0
- package/dist/solutions-components/p-9277a339.entry.js +22 -0
- package/dist/solutions-components/p-92ba99ff.js +6 -0
- package/dist/solutions-components/p-936037e4.js +6 -0
- package/dist/solutions-components/p-9384cc65.entry.js +11 -0
- package/dist/solutions-components/p-94ae78d6.js +6 -0
- package/dist/solutions-components/p-9524e5e4.js +6 -0
- package/dist/solutions-components/p-9560a1fd.entry.js +6 -0
- package/dist/solutions-components/p-95c3b305.entry.js +12 -0
- package/dist/solutions-components/p-986ff43b.entry.js +17 -0
- package/dist/solutions-components/p-990d8b4b.js +6 -0
- package/dist/solutions-components/p-996daf05.entry.js +6 -0
- package/dist/solutions-components/p-9bb44f57.js +65 -0
- package/dist/solutions-components/p-9bc84681.js +6 -0
- package/dist/solutions-components/p-9c5f4347.js +6 -0
- package/dist/solutions-components/p-9db30b19.entry.js +6 -0
- package/dist/solutions-components/p-9fa7a7ad.entry.js +6 -0
- package/dist/solutions-components/p-a37d1b17.entry.js +6 -0
- package/dist/solutions-components/p-a471ceb6.js +11 -0
- package/dist/solutions-components/p-a4e35c2d.entry.js +6 -0
- package/dist/solutions-components/p-a5e64f6b.entry.js +6 -0
- package/dist/solutions-components/p-a79f4c52.entry.js +12 -0
- package/dist/solutions-components/p-a8b42e35.entry.js +6 -0
- package/dist/solutions-components/p-aa341d46.entry.js +11 -0
- package/dist/solutions-components/p-aa68a36e.entry.js +11 -0
- package/dist/solutions-components/p-aa85b136.entry.js +6 -0
- package/dist/solutions-components/p-aaa56cbf.js +11 -0
- package/dist/solutions-components/p-abd1cb78.js +21 -0
- package/dist/solutions-components/p-ac11cf8f.entry.js +11 -0
- package/dist/solutions-components/p-aef41a6d.entry.js +11 -0
- package/dist/solutions-components/p-b3e8da19.entry.js +11 -0
- package/dist/solutions-components/p-b5575639.js +11 -0
- package/dist/solutions-components/p-b5b66530.js +11 -0
- package/dist/solutions-components/p-b75c4db2.entry.js +6 -0
- package/dist/solutions-components/p-b76ed1c7.entry.js +11 -0
- package/dist/solutions-components/p-b8b78283.entry.js +29 -0
- package/dist/solutions-components/p-b8ce880d.js +6 -0
- package/dist/solutions-components/p-b8f33145.js +6 -0
- package/dist/solutions-components/p-bae65813.entry.js +6 -0
- package/dist/solutions-components/p-bb0f549a.js +6 -0
- package/dist/solutions-components/p-bc6cf10f.entry.js +11 -0
- package/dist/solutions-components/p-c0d25be5.entry.js +21 -0
- package/dist/solutions-components/p-c151da98.entry.js +11 -0
- package/dist/solutions-components/p-c163b67f.js +6 -0
- package/dist/solutions-components/p-c1fa5dae.entry.js +11 -0
- package/dist/solutions-components/p-c25e8c35.js +17 -0
- package/dist/solutions-components/p-c40b0ec5.js +16 -0
- package/dist/solutions-components/p-c4953b5e.entry.js +11 -0
- package/dist/solutions-components/p-c5facecd.entry.js +6 -0
- package/dist/solutions-components/p-c6255e3c.entry.js +6 -0
- package/dist/solutions-components/p-c7eaade6.entry.js +11 -0
- package/dist/solutions-components/p-ca6055a3.js +6 -0
- package/dist/solutions-components/p-cadbe907.entry.js +11 -0
- package/dist/solutions-components/p-cb07016a.entry.js +11 -0
- package/dist/solutions-components/p-cd6eee11.js +6 -0
- package/dist/solutions-components/p-cf9e6515.entry.js +11 -0
- package/dist/solutions-components/p-d0d020a5.js +37 -0
- package/dist/solutions-components/p-d1cc620f.entry.js +11 -0
- package/dist/solutions-components/p-d36878db.js +11 -0
- package/dist/solutions-components/p-d47abf9b.entry.js +16 -0
- package/dist/solutions-components/p-d75ef009.entry.js +11 -0
- package/dist/solutions-components/p-d784f756.entry.js +23 -0
- package/dist/solutions-components/p-d9e930c8.js +11 -0
- package/dist/solutions-components/p-da80cfbc.entry.js +11 -0
- package/dist/solutions-components/p-dcef5e1a.entry.js +6 -0
- package/dist/solutions-components/p-de3ee7a6.entry.js +17 -0
- package/dist/solutions-components/p-de8121a4.js +6 -0
- package/dist/solutions-components/p-dfeb6a2e.entry.js +11 -0
- package/dist/solutions-components/p-e0ee0556.entry.js +11 -0
- package/dist/solutions-components/p-e378184f.entry.js +6 -0
- package/dist/solutions-components/p-e3fe81ae.js +7 -0
- package/dist/solutions-components/p-e4ef6f49.js +6 -0
- package/dist/solutions-components/p-e74bc7b3.js +6 -0
- package/dist/solutions-components/p-e9d3365f.js +22 -0
- package/dist/solutions-components/p-eb2859d6.js +6 -0
- package/dist/solutions-components/p-ec8f8ff9.entry.js +17 -0
- package/dist/solutions-components/p-ee9b7fab.js +6 -0
- package/dist/solutions-components/p-ef67c743.js +11 -0
- package/dist/solutions-components/p-f222a84e.entry.js +6 -0
- package/dist/solutions-components/p-f3166d51.entry.js +6 -0
- package/dist/solutions-components/p-f550ebc1.entry.js +6 -0
- package/dist/solutions-components/p-f6c3501c.js +16 -0
- package/dist/solutions-components/p-f6f2018a.js +11 -0
- package/dist/solutions-components/p-f7bc99fb.entry.js +17 -0
- package/dist/solutions-components/p-f88c3477.entry.js +6 -0
- package/dist/solutions-components/p-f8d23498.js +11 -0
- package/dist/solutions-components/p-fa56b7c2.js +11 -0
- package/dist/solutions-components/p-fa68f43a.entry.js +6 -0
- package/dist/solutions-components/p-fb3e0eae.js +6 -0
- package/dist/solutions-components/p-fcd33b4f.js +6 -0
- package/dist/solutions-components/p-fedbf657.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +1 -0
- package/dist/types/components/create-feature/create-feature.d.ts +20 -0
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +16 -0
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +19 -3
- package/dist/types/components/feature-details/feature-details.d.ts +8 -0
- package/dist/types/components/feature-list/feature-list.d.ts +3 -1
- package/dist/types/components/layer-table/layer-table.d.ts +1 -1
- package/dist/types/components.d.ts +28 -1
- package/dist/types/preact.d.ts +3 -1
- package/package.json +8 -7
- package/dist/cjs/ExpandToggle-63855ea7.js +0 -115
- package/dist/cjs/FloatingArrow-4afc0a27.js +0 -48
- package/dist/cjs/Heading-f01dc40c.js +0 -25
- package/dist/cjs/Validation-c52e0b30.js +0 -20
- package/dist/cjs/app-globals-587d5fc5.js +0 -67
- package/dist/cjs/ar-406e323c.js +0 -106
- package/dist/cjs/array-7ee883b3.js +0 -17
- package/dist/cjs/bg-56abe1a2.js +0 -84
- package/dist/cjs/browser-e9eb8b2e.js +0 -35
- package/dist/cjs/bs-43ed4dcb.js +0 -53
- package/dist/cjs/ca-ad58f302.js +0 -73
- package/dist/cjs/calcite-input-time-picker-83bcd60f.js +0 -1861
- package/dist/cjs/common-4d4cf291.js +0 -37
- package/dist/cjs/component-ab59efe0.js +0 -33
- package/dist/cjs/conditionalSlot-e7b1e80b.js +0 -54
- package/dist/cjs/config-90915d7e.js +0 -40
- package/dist/cjs/cs-eef992e9.js +0 -149
- package/dist/cjs/da-4957191f.js +0 -69
- package/dist/cjs/date-09eabd7c.js +0 -264
- package/dist/cjs/de-64947d33.js +0 -93
- package/dist/cjs/de-at-976bd625.js +0 -92
- package/dist/cjs/de-ch-9c2f85be.js +0 -92
- package/dist/cjs/dom-5fd0c11a.js +0 -1215
- package/dist/cjs/downloadUtils-b1bc6031.js +0 -3163
- package/dist/cjs/el-17064e96.js +0 -68
- package/dist/cjs/en-au-bf34aa99.js +0 -68
- package/dist/cjs/en-ca-20b7aeab.js +0 -67
- package/dist/cjs/en-gb-72ebc333.js +0 -71
- package/dist/cjs/es-996df974.js +0 -68
- package/dist/cjs/es-mx-cf34d408.js +0 -67
- package/dist/cjs/et-fe1aba97.js +0 -94
- package/dist/cjs/fi-154d8730.js +0 -117
- package/dist/cjs/filter-1906ce7b.js +0 -778
- package/dist/cjs/floating-ui-b477f602.js +0 -2373
- package/dist/cjs/focusTrapComponent-01de8e72.js +0 -1018
- package/dist/cjs/form-fba99326.js +0 -381
- package/dist/cjs/fr-21a56733.js +0 -70
- package/dist/cjs/fr-ch-66f7a5c9.js +0 -68
- package/dist/cjs/guid-81a8c49f.js +0 -26
- package/dist/cjs/he-249d58b9.js +0 -107
- package/dist/cjs/hi-7015dbc4.js +0 -67
- package/dist/cjs/hr-e57553fd.js +0 -82
- package/dist/cjs/hu-e0a32fbd.js +0 -90
- package/dist/cjs/id-6eeb6f33.js +0 -68
- package/dist/cjs/index.es-5ad1b7be.js +0 -11317
- package/dist/cjs/input-cb7565cc.js +0 -60
- package/dist/cjs/interactive-d349d0f0.js +0 -167
- package/dist/cjs/it-21b9179c.js +0 -68
- package/dist/cjs/it-ch-ed862b1c.js +0 -68
- package/dist/cjs/ja-a5d93dac.js +0 -74
- package/dist/cjs/key-a0f7c4f3.js +0 -19
- package/dist/cjs/ko-1913cf25.js +0 -74
- package/dist/cjs/label-dc906a73.js +0 -186
- package/dist/cjs/loadable-d9a2a731.js +0 -98
- package/dist/cjs/locale-4d172288.js +0 -605
- package/dist/cjs/logger-dc99f85b.js +0 -61
- package/dist/cjs/lt-aeec2286.js +0 -99
- package/dist/cjs/lv-9055202a.js +0 -68
- package/dist/cjs/math-8d9588b6.js +0 -60
- package/dist/cjs/mk-98948b48.js +0 -68
- package/dist/cjs/nb-d88ea8dc.js +0 -69
- package/dist/cjs/nl-a8df29cd.js +0 -69
- package/dist/cjs/observers-b83abbfc.js +0 -58
- package/dist/cjs/openCloseComponent-a2a2a773.js +0 -65
- package/dist/cjs/pl-0c9cc2cf.js +0 -116
- package/dist/cjs/popupUtils-948e8990.js +0 -121
- package/dist/cjs/pt-5d70043e.js +0 -69
- package/dist/cjs/pt-br-fed6323a.js +0 -67
- package/dist/cjs/purify-17c0fc4a.js +0 -1716
- package/dist/cjs/resources-03698411.js +0 -39
- package/dist/cjs/resources-085b5a9c.js +0 -23
- package/dist/cjs/resources-08ceff44.js +0 -21
- package/dist/cjs/resources-32b7c652.js +0 -23
- package/dist/cjs/resources-3e7e7fb7.js +0 -26
- package/dist/cjs/resources-44438f5c.js +0 -68
- package/dist/cjs/resources-b4193681.js +0 -27
- package/dist/cjs/resources-bcc3f2b2.js +0 -68
- package/dist/cjs/resources-e3a7e2f5.js +0 -29
- package/dist/cjs/resources-e5bab826.js +0 -39
- package/dist/cjs/restHelpersGet-88ba0e25.js +0 -975
- package/dist/cjs/ro-021065c9.js +0 -68
- package/dist/cjs/ru-9ec3c8de.js +0 -128
- package/dist/cjs/shared-list-render-79567fc0.js +0 -361
- package/dist/cjs/sk-09cbe5ba.js +0 -150
- package/dist/cjs/sl-3a4381a4.js +0 -170
- package/dist/cjs/solution-resource-16c7510c.js +0 -1843
- package/dist/cjs/solution-store-1218246d.js +0 -1353
- package/dist/cjs/sortableComponent-abdb9e28.js +0 -2748
- package/dist/cjs/sr-c18bc63a.js +0 -103
- package/dist/cjs/sv-e721be29.js +0 -73
- package/dist/cjs/t9n-c8d7a2ec.js +0 -108
- package/dist/cjs/templates-2f44c01b.js +0 -407
- package/dist/cjs/th-baa740bc.js +0 -67
- package/dist/cjs/time-087f0346.js +0 -301
- package/dist/cjs/tr-c0b17a53.js +0 -68
- package/dist/cjs/uk-68a75a5a.js +0 -106
- package/dist/cjs/utils-8f400dfd.js +0 -78
- package/dist/cjs/utils-9a063f23.js +0 -2304
- package/dist/cjs/vi-bf3bf360.js +0 -72
- package/dist/cjs/zh-cn-f36908e8.js +0 -96
- package/dist/cjs/zh-hk-79863fdd.js +0 -94
- package/dist/cjs/zh-tw-eb1f3b17.js +0 -94
- package/dist/esm/ExpandToggle-f909e195.js +0 -108
- package/dist/esm/FloatingArrow-4dbed45e.js +0 -46
- package/dist/esm/Heading-19e46a14.js +0 -22
- package/dist/esm/Validation-0b8675a8.js +0 -18
- package/dist/esm/app-globals-0fc0d343.js +0 -65
- package/dist/esm/ar-2b7701c9.js +0 -104
- package/dist/esm/array-0d5d845c.js +0 -15
- package/dist/esm/bg-cfd918d6.js +0 -82
- package/dist/esm/browser-d0009bfe.js +0 -32
- package/dist/esm/bs-6e26541f.js +0 -51
- package/dist/esm/ca-3edf7b06.js +0 -71
- package/dist/esm/calcite-input-time-picker-c5ee10a4.js +0 -1858
- package/dist/esm/common-3b99e350.js +0 -35
- package/dist/esm/component-0f26d27a.js +0 -30
- package/dist/esm/conditionalSlot-56fa9723.js +0 -51
- package/dist/esm/config-e0237f7c.js +0 -36
- package/dist/esm/cs-93a3355b.js +0 -147
- package/dist/esm/da-f4d05bf2.js +0 -67
- package/dist/esm/date-dd3d9d2f.js +0 -248
- package/dist/esm/de-04f477b6.js +0 -91
- package/dist/esm/de-at-1b4e56b9.js +0 -90
- package/dist/esm/de-ch-59c96703.js +0 -90
- package/dist/esm/dom-9e8610a2.js +0 -1180
- package/dist/esm/downloadUtils-ee2d6a99.js +0 -3156
- package/dist/esm/el-134dd039.js +0 -66
- package/dist/esm/en-au-ec33ef70.js +0 -66
- package/dist/esm/en-ca-ab1fbea4.js +0 -65
- package/dist/esm/en-gb-ceb65f79.js +0 -69
- package/dist/esm/es-e023cfc8.js +0 -66
- package/dist/esm/es-mx-e0a5ee8c.js +0 -65
- package/dist/esm/et-572b1e56.js +0 -92
- package/dist/esm/fi-f13fae4c.js +0 -115
- package/dist/esm/filter-3c649b00.js +0 -775
- package/dist/esm/floating-ui-9d9558a6.js +0 -2365
- package/dist/esm/focusTrapComponent-a9be9a5f.js +0 -1013
- package/dist/esm/form-a992bc7e.js +0 -372
- package/dist/esm/fr-ch-a1f8ebbf.js +0 -66
- package/dist/esm/fr-e9b456c3.js +0 -68
- package/dist/esm/guid-52aae62c.js +0 -24
- package/dist/esm/he-dfaa7ea1.js +0 -105
- package/dist/esm/hi-efa0d8e7.js +0 -65
- package/dist/esm/hr-7c04c969.js +0 -80
- package/dist/esm/hu-fc6efaba.js +0 -88
- package/dist/esm/id-2d884294.js +0 -66
- package/dist/esm/index.es-6d52a4cf.js +0 -11230
- package/dist/esm/input-b18c3393.js +0 -58
- package/dist/esm/interactive-353bf495.js +0 -162
- package/dist/esm/it-913dabbb.js +0 -66
- package/dist/esm/it-ch-d4c2b23e.js +0 -66
- package/dist/esm/ja-b6c332b1.js +0 -72
- package/dist/esm/key-a9ffa61d.js +0 -16
- package/dist/esm/ko-b220c903.js +0 -72
- package/dist/esm/label-026b99b7.js +0 -179
- package/dist/esm/loadable-4841127f.js +0 -93
- package/dist/esm/locale-8a2aae09.js +0 -591
- package/dist/esm/logger-29d1dc0e.js +0 -59
- package/dist/esm/lt-e97a19a7.js +0 -97
- package/dist/esm/lv-c4e1d066.js +0 -66
- package/dist/esm/math-dd484f87.js +0 -54
- package/dist/esm/mk-fec9b21d.js +0 -66
- package/dist/esm/nb-28189f31.js +0 -67
- package/dist/esm/nl-194a064e.js +0 -67
- package/dist/esm/observers-3af27a40.js +0 -56
- package/dist/esm/openCloseComponent-00e6186d.js +0 -63
- package/dist/esm/pl-c0a7eacf.js +0 -114
- package/dist/esm/popupUtils-75294be5.js +0 -119
- package/dist/esm/pt-48180eaa.js +0 -67
- package/dist/esm/pt-br-e378640f.js +0 -65
- package/dist/esm/purify-72515357.js +0 -1714
- package/dist/esm/resources-0b9430f0.js +0 -21
- package/dist/esm/resources-2117aee0.js +0 -63
- package/dist/esm/resources-29504413.js +0 -34
- package/dist/esm/resources-37d6b520.js +0 -35
- package/dist/esm/resources-75518fcf.js +0 -23
- package/dist/esm/resources-8e7f2865.js +0 -22
- package/dist/esm/resources-8fe9ef4a.js +0 -20
- package/dist/esm/resources-966e32ad.js +0 -62
- package/dist/esm/resources-a1cc283e.js +0 -24
- package/dist/esm/resources-f4406546.js +0 -19
- package/dist/esm/restHelpersGet-788d7f7b.js +0 -960
- package/dist/esm/ro-a116f43c.js +0 -66
- package/dist/esm/ru-53b48473.js +0 -126
- package/dist/esm/shared-list-render-7df95a79.js +0 -339
- package/dist/esm/sk-6e16e781.js +0 -148
- package/dist/esm/sl-0b5a108a.js +0 -168
- package/dist/esm/solution-resource-966f8511.js +0 -1840
- package/dist/esm/solution-store-61fd39ea.js +0 -1351
- package/dist/esm/sortableComponent-fc3d2fcf.js +0 -2745
- package/dist/esm/sr-c91ad375.js +0 -101
- package/dist/esm/sv-99a8436f.js +0 -71
- package/dist/esm/t9n-d5539b3a.js +0 -103
- package/dist/esm/templates-9330d7b8.js +0 -401
- package/dist/esm/th-f448c101.js +0 -65
- package/dist/esm/time-8f4af53a.js +0 -286
- package/dist/esm/tr-1c4d126e.js +0 -66
- package/dist/esm/uk-afcd7307.js +0 -104
- package/dist/esm/utils-057404c5.js +0 -2274
- package/dist/esm/utils-6391b35c.js +0 -65
- package/dist/esm/vi-13e0626d.js +0 -70
- package/dist/esm/zh-cn-80512388.js +0 -94
- package/dist/esm/zh-hk-220c6f50.js +0 -92
- package/dist/esm/zh-tw-f9a73c0d.js +0 -92
- package/dist/solutions-components/p-0129abe8.entry.js +0 -11
- package/dist/solutions-components/p-0238f68c.js +0 -6
- package/dist/solutions-components/p-034291c9.entry.js +0 -11
- package/dist/solutions-components/p-042c0134.entry.js +0 -11
- package/dist/solutions-components/p-052d1165.js +0 -11
- package/dist/solutions-components/p-0558fbc7.js +0 -143
- package/dist/solutions-components/p-06c581b3.js +0 -6
- package/dist/solutions-components/p-071a80fb.js +0 -11
- package/dist/solutions-components/p-0ac3d6fb.js +0 -6
- package/dist/solutions-components/p-0afbf455.js +0 -11
- package/dist/solutions-components/p-0b0d30a9.entry.js +0 -11
- package/dist/solutions-components/p-0c8cf779.js +0 -6
- package/dist/solutions-components/p-0cdda3a9.js +0 -6
- package/dist/solutions-components/p-10a4512a.entry.js +0 -6
- package/dist/solutions-components/p-11149179.js +0 -6
- package/dist/solutions-components/p-111ff298.entry.js +0 -29
- package/dist/solutions-components/p-131ca2b1.js +0 -11
- package/dist/solutions-components/p-13ac2814.js +0 -6
- package/dist/solutions-components/p-14ac7f32.js +0 -17
- package/dist/solutions-components/p-15105f4c.js +0 -6
- package/dist/solutions-components/p-15cbdc2c.entry.js +0 -6
- package/dist/solutions-components/p-16af273f.entry.js +0 -6
- package/dist/solutions-components/p-17f35552.entry.js +0 -6
- package/dist/solutions-components/p-1803e66b.entry.js +0 -21
- package/dist/solutions-components/p-18103eee.entry.js +0 -11
- package/dist/solutions-components/p-190de825.js +0 -6
- package/dist/solutions-components/p-19879c48.entry.js +0 -6
- package/dist/solutions-components/p-1b147794.js +0 -11
- package/dist/solutions-components/p-1c45b737.entry.js +0 -6
- package/dist/solutions-components/p-1fcd444d.entry.js +0 -6
- package/dist/solutions-components/p-23c70a46.entry.js +0 -17
- package/dist/solutions-components/p-2483d087.entry.js +0 -11
- package/dist/solutions-components/p-26ccfcc6.entry.js +0 -6
- package/dist/solutions-components/p-27bc7520.js +0 -6
- package/dist/solutions-components/p-27eca753.js +0 -6
- package/dist/solutions-components/p-2866ef30.js +0 -11
- package/dist/solutions-components/p-288599db.entry.js +0 -16
- package/dist/solutions-components/p-28b4de12.js +0 -6
- package/dist/solutions-components/p-29a24832.entry.js +0 -6
- package/dist/solutions-components/p-2c7a600b.js +0 -6
- package/dist/solutions-components/p-2cff27c5.js +0 -22
- package/dist/solutions-components/p-2df01fbd.js +0 -6
- package/dist/solutions-components/p-30448906.entry.js +0 -6
- package/dist/solutions-components/p-32539121.js +0 -16
- package/dist/solutions-components/p-32b1bb0a.entry.js +0 -11
- package/dist/solutions-components/p-33601437.js +0 -6
- package/dist/solutions-components/p-351b4ea6.js +0 -61
- package/dist/solutions-components/p-363c89e1.js +0 -6
- package/dist/solutions-components/p-3795ce25.js +0 -18
- package/dist/solutions-components/p-3832f6b0.js +0 -11
- package/dist/solutions-components/p-38346d75.js +0 -6
- package/dist/solutions-components/p-39bc5b60.js +0 -6
- package/dist/solutions-components/p-3a4f0ef6.js +0 -6
- package/dist/solutions-components/p-3a839252.entry.js +0 -6
- package/dist/solutions-components/p-3ab1d999.js +0 -6
- package/dist/solutions-components/p-3ae3fb2d.entry.js +0 -6
- package/dist/solutions-components/p-3edf491f.js +0 -11
- package/dist/solutions-components/p-3f23fa58.js +0 -6
- package/dist/solutions-components/p-4115fcd2.entry.js +0 -6
- package/dist/solutions-components/p-416c0818.js +0 -11
- package/dist/solutions-components/p-42903dc4.entry.js +0 -11
- package/dist/solutions-components/p-432d7aac.entry.js +0 -11
- package/dist/solutions-components/p-443bb48a.js +0 -6
- package/dist/solutions-components/p-44b455ac.js +0 -21
- package/dist/solutions-components/p-461d72a9.entry.js +0 -11
- package/dist/solutions-components/p-4a5f4c12.js +0 -6
- package/dist/solutions-components/p-4a8da1a3.entry.js +0 -6
- package/dist/solutions-components/p-4dd4e1f5.js +0 -11
- package/dist/solutions-components/p-4e44d681.entry.js +0 -6
- package/dist/solutions-components/p-4ebde78c.entry.js +0 -6
- package/dist/solutions-components/p-517bc39b.entry.js +0 -6
- package/dist/solutions-components/p-51b004f6.js +0 -11
- package/dist/solutions-components/p-51eb6427.entry.js +0 -11
- package/dist/solutions-components/p-51f2cd4b.entry.js +0 -6
- package/dist/solutions-components/p-53e0faf4.js +0 -12
- package/dist/solutions-components/p-54713c54.js +0 -11
- package/dist/solutions-components/p-5501cb25.entry.js +0 -17
- package/dist/solutions-components/p-57729067.entry.js +0 -11
- package/dist/solutions-components/p-58d0a9e8.js +0 -11
- package/dist/solutions-components/p-5ae7ca10.js +0 -6
- package/dist/solutions-components/p-5cd51ba9.js +0 -6
- package/dist/solutions-components/p-5e901f4d.js +0 -6
- package/dist/solutions-components/p-5ea0c09b.js +0 -6
- package/dist/solutions-components/p-5fcdc5af.entry.js +0 -12
- package/dist/solutions-components/p-632a3328.js +0 -6
- package/dist/solutions-components/p-64e8c883.js +0 -11
- package/dist/solutions-components/p-659678f1.js +0 -43
- package/dist/solutions-components/p-667f4b68.js +0 -6
- package/dist/solutions-components/p-6b2ea220.entry.js +0 -11
- package/dist/solutions-components/p-6c44ba5f.js +0 -16
- package/dist/solutions-components/p-6d369f32.entry.js +0 -22
- package/dist/solutions-components/p-6d4f59df.js +0 -6
- package/dist/solutions-components/p-6def4549.js +0 -11
- package/dist/solutions-components/p-6df7b770.js +0 -11
- package/dist/solutions-components/p-6eaba85e.js +0 -11
- package/dist/solutions-components/p-6eba7557.entry.js +0 -11
- package/dist/solutions-components/p-6ef00d3c.js +0 -6
- package/dist/solutions-components/p-6f98db75.entry.js +0 -11
- package/dist/solutions-components/p-7090b8bc.entry.js +0 -11
- package/dist/solutions-components/p-72b4bf7a.entry.js +0 -23
- package/dist/solutions-components/p-74bd8ced.entry.js +0 -11
- package/dist/solutions-components/p-76c08334.js +0 -16
- package/dist/solutions-components/p-792a8e91.entry.js +0 -17
- package/dist/solutions-components/p-7b0448b1.js +0 -6
- package/dist/solutions-components/p-7c19f274.js +0 -6
- package/dist/solutions-components/p-7c583516.js +0 -50
- package/dist/solutions-components/p-7fa53f88.entry.js +0 -6
- package/dist/solutions-components/p-81012aaa.entry.js +0 -6
- package/dist/solutions-components/p-8145011e.entry.js +0 -11
- package/dist/solutions-components/p-8343f841.entry.js +0 -17
- package/dist/solutions-components/p-85002390.js +0 -11
- package/dist/solutions-components/p-860452b5.entry.js +0 -11
- package/dist/solutions-components/p-8704c6df.entry.js +0 -11
- package/dist/solutions-components/p-871b9b39.entry.js +0 -6
- package/dist/solutions-components/p-873a5fd1.entry.js +0 -29
- package/dist/solutions-components/p-8817162f.js +0 -17
- package/dist/solutions-components/p-88934d2b.js +0 -11
- package/dist/solutions-components/p-88e391ab.entry.js +0 -6
- package/dist/solutions-components/p-89bd8016.entry.js +0 -22
- package/dist/solutions-components/p-8ad16e95.js +0 -16
- package/dist/solutions-components/p-8b54465a.js +0 -11
- package/dist/solutions-components/p-8e85d818.js +0 -6
- package/dist/solutions-components/p-8feb21be.entry.js +0 -17
- package/dist/solutions-components/p-9099acb6.js +0 -6
- package/dist/solutions-components/p-93c9be09.entry.js +0 -17
- package/dist/solutions-components/p-941ec574.entry.js +0 -6
- package/dist/solutions-components/p-949a8cb7.entry.js +0 -11
- package/dist/solutions-components/p-952a4ed2.js +0 -6
- package/dist/solutions-components/p-960baebc.entry.js +0 -6
- package/dist/solutions-components/p-96a7e73d.js +0 -11
- package/dist/solutions-components/p-9905a2cd.js +0 -6
- package/dist/solutions-components/p-9a4f0ae3.entry.js +0 -11
- package/dist/solutions-components/p-9ab5fbed.entry.js +0 -17
- package/dist/solutions-components/p-9bfb0a88.entry.js +0 -17
- package/dist/solutions-components/p-9edd6de9.entry.js +0 -16
- package/dist/solutions-components/p-9f943f1a.js +0 -6
- package/dist/solutions-components/p-a2613102.entry.js +0 -11
- package/dist/solutions-components/p-a2c467d7.js +0 -6
- package/dist/solutions-components/p-a6aba7d4.entry.js +0 -6
- package/dist/solutions-components/p-a704be29.js +0 -6
- package/dist/solutions-components/p-a7ca67b9.js +0 -11
- package/dist/solutions-components/p-a8638d44.entry.js +0 -11
- package/dist/solutions-components/p-abafd987.entry.js +0 -47
- package/dist/solutions-components/p-abd443e4.entry.js +0 -11
- package/dist/solutions-components/p-abd99f2b.entry.js +0 -11
- package/dist/solutions-components/p-ac40d2a6.entry.js +0 -11
- package/dist/solutions-components/p-ade4a0c0.entry.js +0 -6
- package/dist/solutions-components/p-ae53daf0.js +0 -11
- package/dist/solutions-components/p-b134cc53.entry.js +0 -11
- package/dist/solutions-components/p-b1a053c7.entry.js +0 -6
- package/dist/solutions-components/p-b1b88bb9.entry.js +0 -11
- package/dist/solutions-components/p-b24985b0.entry.js +0 -11
- package/dist/solutions-components/p-b4f15b86.entry.js +0 -11
- package/dist/solutions-components/p-b51111e1.js +0 -11
- package/dist/solutions-components/p-b6ac459a.entry.js +0 -11
- package/dist/solutions-components/p-b715fe7e.entry.js +0 -11
- package/dist/solutions-components/p-bd989e41.js +0 -11
- package/dist/solutions-components/p-c58a3ade.entry.js +0 -11
- package/dist/solutions-components/p-c6296ee6.js +0 -11
- package/dist/solutions-components/p-c62bd2a0.entry.js +0 -17
- package/dist/solutions-components/p-c6fe3b6c.js +0 -6
- package/dist/solutions-components/p-c897ea6a.entry.js +0 -11
- package/dist/solutions-components/p-c9193d36.entry.js +0 -6
- package/dist/solutions-components/p-caa665a4.js +0 -11
- package/dist/solutions-components/p-cb860e39.js +0 -11
- package/dist/solutions-components/p-cc5e8fec.entry.js +0 -11
- package/dist/solutions-components/p-ccc3f0c4.entry.js +0 -6
- package/dist/solutions-components/p-cde4f891.entry.js +0 -11
- package/dist/solutions-components/p-cefb0487.js +0 -489
- package/dist/solutions-components/p-d29843c1.js +0 -6
- package/dist/solutions-components/p-d34db378.entry.js +0 -21
- package/dist/solutions-components/p-d3b61974.entry.js +0 -11
- package/dist/solutions-components/p-d7f00451.entry.js +0 -11
- package/dist/solutions-components/p-d81f19b5.js +0 -6
- package/dist/solutions-components/p-d9110df1.entry.js +0 -11
- package/dist/solutions-components/p-e060bbf4.entry.js +0 -6
- package/dist/solutions-components/p-e191b864.entry.js +0 -11
- package/dist/solutions-components/p-e2263afa.entry.js +0 -11
- package/dist/solutions-components/p-e2d9c1e4.entry.js +0 -12
- package/dist/solutions-components/p-e46f6b68.js +0 -11
- package/dist/solutions-components/p-e683e142.js +0 -6
- package/dist/solutions-components/p-e6ac93e5.entry.js +0 -11
- package/dist/solutions-components/p-e7ce7ab5.entry.js +0 -11
- package/dist/solutions-components/p-e85ca9f5.entry.js +0 -11
- package/dist/solutions-components/p-e9488a2a.js +0 -6
- package/dist/solutions-components/p-eacb5b05.js +0 -11
- package/dist/solutions-components/p-ed000576.js +0 -6
- package/dist/solutions-components/p-eec49294.entry.js +0 -11
- package/dist/solutions-components/p-f067a46c.js +0 -21
- package/dist/solutions-components/p-f123e913.entry.js +0 -6
- package/dist/solutions-components/p-f2139e1f.js +0 -11
- package/dist/solutions-components/p-f2e30760.entry.js +0 -11
- package/dist/solutions-components/p-f3cd6339.entry.js +0 -11
- package/dist/solutions-components/p-f42cdeb6.entry.js +0 -6
- package/dist/solutions-components/p-f44c8764.js +0 -6
- package/dist/solutions-components/p-f6a94b55.js +0 -11
- package/dist/solutions-components/p-f6c2f78c.js +0 -6
- package/dist/solutions-components/p-f97b2291.js +0 -6
- package/dist/solutions-components/p-fbd8a250.entry.js +0 -12
- package/dist/solutions-components/p-fc62c04b.entry.js +0 -6
- package/dist/solutions-components/p-fc68aaf4.js +0 -6
- package/dist/solutions-components/p-fc8d6dcf.js +0 -11
- package/dist/solutions-components/p-fc9301a3.entry.js +0 -6
- package/dist/solutions-components/p-fde2ea30.entry.js +0 -6
- package/dist/solutions-components/p-fe82bd8a.js +0 -11
- package/dist/solutions-components/p-ff87b9de.js +0 -7
- package/dist/solutions-components/p-ffbe2075.js +0 -11
- /package/dist/cjs/{index-5f864f65.js → index-f052f656.js} +0 -0
- /package/dist/esm/{index-dc62418d.js → index-e14fade9.js} +0 -0
- /package/dist/solutions-components/{p-36c1c370.js → p-7530a02f.js} +0 -0
@@ -0,0 +1,11 @@
|
|
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
|
+
import{r as t,c as i,h as e,g as s}from"./p-6eb37ed2.js";import{n as a}from"./p-64a34d92.js";import{i as c,c as o,d as h}from"./p-304cef31.js";import{u as n,c as r,s as l,d}from"./p-1017609e.js";import{a as u,p as b,i as p,b as m,g as f,c as k,d as v,e as w,h as g,j as y,m as x}from"./p-f6f2018a.js";import{g as S}from"./p-27d462c0.js";import{c as D,s as $,a as I}from"./p-3e828614.js";import{d as z,g as A}from"./p-d9e930c8.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1c249530.js";import"./p-4b9b7778.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.2
|
11
|
+
*/const C={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonFractionalSecondDown:"button--fractionalSecond-down",buttonFractionalSecondUp:"button--fractionalSecond-up",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",delimiter:"delimiter",fractionalSecond:"fractionalSecond",hour:"hour",input:"input",inputFocus:"inputFocus",meridiem:"meridiem",minute:"minute",second:"second",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"},M=class{constructor(e){t(this,e),this.calciteInternalTimePickerBlur=i(this,"calciteInternalTimePickerBlur",6),this.calciteInternalTimePickerChange=i(this,"calciteInternalTimePickerChange",6),this.calciteInternalTimePickerFocus=i(this,"calciteInternalTimePickerFocus",6),this.pointerActivated=!1,this.decrementHour=()=>{const t=this.hour?"00"===this.hour?23:parseInt(this.hour)-1:0;this.setValuePart("hour",t)},this.decrementMeridiem=()=>{this.setValuePart("meridiem","PM"===this.meridiem?"AM":"PM")},this.decrementMinuteOrSecond=t=>{let i;if(c(this[t])){const e=parseInt(this[t]);i=0===e?59:e-1}else i=59;this.setValuePart(t,i)},this.decrementMinute=()=>{this.decrementMinuteOrSecond("minute")},this.decrementSecond=()=>{this.decrementMinuteOrSecond("second")},this.focusHandler=t=>{this.pointerActivated||(this.activeEl=t.currentTarget)},this.fractionalSecondKeyDownHandler=t=>{const{key:i}=t;if(a.includes(i)){const t=z(this.step),e=parseInt(this.fractionalSecond),s=e.toString().length;let a;s>=t?a=i.padStart(t,"0"):s<t&&(a=`${e}${i}`.padStart(t,"0")),this.setValuePart("fractionalSecond",parseFloat(`0.${a}`))}else switch(i){case"Backspace":case"Delete":this.setValuePart("fractionalSecond",null);break;case"ArrowDown":t.preventDefault(),this.nudgeFractionalSecond("down");break;case"ArrowUp":t.preventDefault(),this.nudgeFractionalSecond("up");break;case" ":t.preventDefault()}},this.fractionalSecondDownClickHandler=()=>{this.activeEl=this.fractionalSecondEl,this.fractionalSecondEl.focus(),this.nudgeFractionalSecond("down")},this.fractionalSecondUpClickHandler=()=>{this.activeEl=this.fractionalSecondEl,this.fractionalSecondEl.focus(),this.nudgeFractionalSecond("up")},this.hourDownClickHandler=()=>{this.activeEl=this.hourEl,this.hourEl.focus(),this.decrementHour()},this.hourKeyDownHandler=t=>{const{key:i}=t;if(a.includes(i)){const t=parseInt(i);let e;if(c(this.hour))switch(this.hourCycle){case"12":e="01"===this.hour&&t>=0&&t<=2?`1${t}`:t;break;case"24":e="01"===this.hour?`1${t}`:"02"===this.hour&&t>=0&&t<=3?`2${t}`:t}else e=t;this.setValuePart("hour",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("hour",null);break;case"ArrowDown":t.preventDefault(),this.decrementHour();break;case"ArrowUp":t.preventDefault(),this.incrementHour();break;case" ":t.preventDefault()}},this.hourUpClickHandler=()=>{this.activeEl=this.hourEl,this.hourEl.focus(),this.incrementHour()},this.incrementMeridiem=()=>{this.setValuePart("meridiem","AM"===this.meridiem?"PM":"AM")},this.incrementHour=()=>{const t=c(this.hour)?"23"===this.hour?0:parseInt(this.hour)+1:1;this.setValuePart("hour",t)},this.incrementMinuteOrSecond=t=>{const i=c(this[t])?"59"===this[t]?0:parseInt(this[t])+1:0;this.setValuePart(t,i)},this.incrementMinute=()=>{this.incrementMinuteOrSecond("minute")},this.incrementSecond=()=>{this.incrementMinuteOrSecond("second")},this.inputClickHandler=t=>{this.activeEl=t.target},this.meridiemUpClickHandler=()=>{this.activeEl=this.meridiemEl,this.meridiemEl.focus(),this.incrementMeridiem()},this.meridiemKeyDownHandler=t=>{switch(t.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":this.setValuePart("meridiem",null);break;case"ArrowUp":t.preventDefault(),this.incrementMeridiem();break;case"ArrowDown":t.preventDefault(),this.decrementMeridiem();break;case" ":t.preventDefault()}},this.meridiemDownClickHandler=()=>{this.activeEl=this.meridiemEl,this.meridiemEl.focus(),this.decrementMeridiem()},this.minuteDownClickHandler=()=>{this.activeEl=this.minuteEl,this.minuteEl.focus(),this.decrementMinute()},this.minuteUpClickHandler=()=>{this.activeEl=this.minuteEl,this.minuteEl.focus(),this.incrementMinute()},this.minuteKeyDownHandler=t=>{const{key:i}=t;if(a.includes(i)){const t=parseInt(i);let e;if(c(this.minute)&&this.minute.startsWith("0")){const i=parseInt(this.minute);e=i>x?t:`${i}${t}`}else e=t;this.setValuePart("minute",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("minute",null);break;case"ArrowDown":t.preventDefault(),this.decrementMinute();break;case"ArrowUp":t.preventDefault(),this.incrementMinute();break;case" ":t.preventDefault()}},this.nudgeFractionalSecond=t=>{const i=A(this.step),e=z(this.step),s=parseInt(this.fractionalSecond),a=parseFloat(`0.${this.fractionalSecond}`);let c,o,h,n;"up"===t&&(c=isNaN(s)?0:a+i,o=parseFloat(c.toFixed(e)),h=A(o),n=o<1&&z(h)>0?u(h,e):"".padStart(e,"0")),"down"===t&&(c=isNaN(s)||0===s?1-i:a-i,o=parseFloat(c.toFixed(e)),h=A(o),n=o<1&&z(h)>0&&1===Math.sign(h)?u(h,e):"".padStart(e,"0")),this.setValuePart("fractionalSecond",n)},this.sanitizeValue=t=>{const{hour:i,minute:e,second:s,fractionalSecond:a}=b(t);return a?`${i}:${e}:${s}.${this.sanitizeFractionalSecond(a)}`:p(t)&&t},this.sanitizeFractionalSecond=t=>t&&z(this.step)!==t.length?parseFloat(`0.${t}`).toFixed(z(this.step)).replace("0.",""):t,this.secondKeyDownHandler=t=>{const{key:i}=t;if(a.includes(i)){const t=parseInt(i);let e;if(c(this.second)&&this.second.startsWith("0")){const i=parseInt(this.second);e=i>x?t:`${i}${t}`}else e=t;this.setValuePart("second",e)}else switch(i){case"Backspace":case"Delete":this.setValuePart("second",null);break;case"ArrowDown":t.preventDefault(),this.decrementSecond();break;case"ArrowUp":t.preventDefault(),this.incrementSecond();break;case" ":t.preventDefault()}},this.secondDownClickHandler=()=>{this.activeEl=this.secondEl,this.secondEl.focus(),this.decrementSecond()},this.secondUpClickHandler=()=>{this.activeEl=this.secondEl,this.secondEl.focus(),this.incrementSecond()},this.setHourEl=t=>this.hourEl=t,this.setMeridiemEl=t=>this.meridiemEl=t,this.setMinuteEl=t=>this.minuteEl=t,this.setSecondEl=t=>this.secondEl=t,this.setFractionalSecondEl=t=>this.fractionalSecondEl=t,this.setValue=t=>{if(p(t)){const{hour:i,minute:e,second:s,fractionalSecond:a}=b(t),{effectiveLocale:c,numberingSystem:o}=this,{localizedHour:h,localizedHourSuffix:n,localizedMinute:r,localizedMinuteSuffix:l,localizedSecond:d,localizedDecimalSeparator:u,localizedFractionalSecond:p,localizedSecondSuffix:k,localizedMeridiem:v}=m({value:t,locale:c,numberingSystem:o});this.hour=i,this.minute=e,this.second=s,this.fractionalSecond=this.sanitizeFractionalSecond(a),this.localizedHour=h,this.localizedHourSuffix=n,this.localizedMinute=r,this.localizedMinuteSuffix=l,this.localizedSecond=d,this.localizedDecimalSeparator=u,this.localizedFractionalSecond=p,this.localizedSecondSuffix=k,v&&(this.localizedMeridiem=v,this.meridiem=f(this.hour))}else this.hour=null,this.fractionalSecond=null,this.localizedHour=null,this.localizedHourSuffix=k("hour",this.effectiveLocale,this.numberingSystem),this.localizedMeridiem=null,this.localizedMinute=null,this.localizedMinuteSuffix=k("minute",this.effectiveLocale,this.numberingSystem),this.localizedSecond=null,this.localizedDecimalSeparator=v(this.effectiveLocale,this.numberingSystem),this.localizedFractionalSecond=null,this.localizedSecondSuffix=k("second",this.effectiveLocale,this.numberingSystem),this.meridiem=null,this.minute=null,this.second=null,this.value=null},this.setValuePart=(t,i)=>{const{effectiveLocale:e,numberingSystem:s}=this;if("meridiem"===t){if(this.meridiem=i,c(this.hour)){const t=parseInt(this.hour);switch(i){case"AM":t>=12&&(this.hour=u(t-12));break;case"PM":t<12&&(this.hour=u(t+12))}this.localizedHour=w({value:this.hour,part:"hour",locale:e,numberingSystem:s})}}else if("fractionalSecond"===t){const t=z(this.step);this.fractionalSecond="number"==typeof i?0===i?"".padStart(t,"0"):u(i,t):i,this.localizedFractionalSecond=w({value:this.fractionalSecond,part:"fractionalSecond",locale:e,numberingSystem:s})}else this[t]="number"==typeof i?u(i):i,this[`localized${a=t,a.charAt(0).toUpperCase()+a.slice(1)}`]=w({value:this[t],part:t,locale:e,numberingSystem:s});var a;let o,h=!1;this.hour&&this.minute?(o=`${this.hour}:${this.minute}`,this.showSecond&&(o=`${o}:${this.second??"00"}`,this.showFractionalSecond&&this.fractionalSecond&&(o=`${o}.${this.fractionalSecond}`))):o=null,this.value!==o&&(h=!0),this.value=o,this.localizedMeridiem=this.value?m({value:this.value,locale:e,numberingSystem:s})?.localizedMeridiem||null:w({value:this.meridiem,part:"meridiem",locale:e,numberingSystem:s}),h&&this.calciteInternalTimePickerChange.emit()},this.scale="m",this.step=60,this.numberingSystem=void 0,this.value=null,this.messages=void 0,this.messageOverrides=void 0,this.activeEl=void 0,this.effectiveLocale="",this.fractionalSecond=void 0,this.hour=void 0,this.hourCycle=void 0,this.localizedDecimalSeparator=".",this.localizedHour=void 0,this.localizedHourSuffix=void 0,this.localizedMeridiem=void 0,this.localizedFractionalSecond=void 0,this.localizedMinute=void 0,this.localizedMinuteSuffix=void 0,this.localizedSecond=void 0,this.localizedSecondSuffix=void 0,this.meridiem=void 0,this.minute=void 0,this.second=void 0,this.showFractionalSecond=void 0,this.showSecond=void 0,this.defaultMessages=void 0}stepChange(){this.toggleSecond()}valueWatcher(t){this.setValue(t)}onMessagesChange(){}effectiveLocaleWatcher(){this.updateLocale()}blurHandler(){this.activeEl=void 0,this.pointerActivated=!1,this.calciteInternalTimePickerBlur.emit()}hostFocusHandler(){this.calciteInternalTimePickerFocus.emit()}keyDownHandler(t){this.pointerActivated=!1;const{defaultPrevented:i,key:e}=t;if(!i)switch(this.activeEl){case this.hourEl:"ArrowRight"===e&&(this.focusPart("minute"),t.preventDefault());break;case this.minuteEl:switch(e){case"ArrowLeft":this.focusPart("hour"),t.preventDefault();break;case"ArrowRight":60!==this.step?(this.focusPart("second"),t.preventDefault()):"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.secondEl:switch(e){case"ArrowLeft":this.focusPart("minute"),t.preventDefault();break;case"ArrowRight":this.showFractionalSecond?this.focusPart("fractionalSecond"):"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.fractionalSecondEl:switch(e){case"ArrowLeft":this.focusPart("second"),t.preventDefault();break;case"ArrowRight":"12"===this.hourCycle&&(this.focusPart("meridiem"),t.preventDefault())}break;case this.meridiemEl:"ArrowLeft"===e&&(this.showFractionalSecond?this.focusPart("fractionalSecond"):60!==this.step?(this.focusPart("second"),t.preventDefault()):(this.focusPart("minute"),t.preventDefault()))}}pointerDownHandler(){this.pointerActivated=!0}async setFocus(){await D(this),this.el?.focus()}async focusPart(t){await D(this),this[`${t||"hour"}El`]?.focus()}toggleSecond(){this.showSecond=this.step<60,this.showFractionalSecond=z(this.step)>0}updateLocale(){n(this,this.effectiveLocale),this.hourCycle=g(this.effectiveLocale,this.numberingSystem),this.localizedDecimalSeparator=v(this.effectiveLocale,this.numberingSystem),this.meridiemOrder=y(this.effectiveLocale),this.setValue(this.sanitizeValue(this.value))}connectedCallback(){o(this),this.updateLocale(),r(this),this.toggleSecond()}async componentWillLoad(){$(this),await l(this)}componentDidLoad(){I(this)}disconnectedCallback(){h(this),d(this)}render(){const t=c(this.hour),i=S(this.scale),s=c(this.minute),a=c(this.second),o=c(this.fractionalSecond),h="12"===this.hourCycle;return e("div",{key:"b896c9e080ebc7d8810c48581026aec7159b6490",class:{[C.timePicker]:!0,[C.showMeridiem]:h,[C.showSecond]:this.showSecond,[C[`scale-${this.scale}`]]:!0},dir:"ltr"},e("div",{key:"785e1bce4a2440bcc89c6f3e71e224be8aac636a",class:C.column,role:"group"},e("span",{key:"ed2a6cff185d1589aad531730a9064c3d86abb8f","aria-label":this.messages.hourUp,class:{[C.button]:!0,[C.buttonHourUp]:!0,[C.buttonTopLeft]:!0},onClick:this.hourUpClickHandler,role:"button"},e("calcite-icon",{key:"cd8fff81bab8a40771f1f889f8e2a31dfd751c23",icon:"chevron-up",scale:i})),e("span",{key:"137872f9897924e5d803a6c8691e76d97b9849ca","aria-label":this.messages.hour,"aria-valuemax":"23","aria-valuemin":"1","aria-valuenow":t&&parseInt(this.hour)||"0","aria-valuetext":this.hour,class:{[C.input]:!0,[C.hour]:!0,[C.inputFocus]:this.activeEl&&this.activeEl===this.hourEl},onClick:this.inputClickHandler,onFocus:this.focusHandler,onKeyDown:this.hourKeyDownHandler,ref:this.setHourEl,role:"spinbutton",tabIndex:0},this.localizedHour||"--"),e("span",{key:"29fb9c92a013801bad2653a993b5c33764c10d12","aria-label":this.messages.hourDown,class:{[C.button]:!0,[C.buttonHourDown]:!0,[C.buttonBottomLeft]:!0},onClick:this.hourDownClickHandler,role:"button"},e("calcite-icon",{key:"557650c90ba66405b6d254a913281001d9553ccd",icon:"chevron-down",scale:i}))),e("span",{key:"186666854fd27680137a6dcfffc708257f7296a1",class:C.delimiter},this.localizedHourSuffix),e("div",{key:"68d54624a648d15fe9248abb5a2b7d47ebb8d4ae",class:C.column,role:"group"},e("span",{key:"412d6dc40d3a5df85334e87c986ff22a2a4a89b2","aria-label":this.messages.minuteUp,class:{[C.button]:!0,[C.buttonMinuteUp]:!0},onClick:this.minuteUpClickHandler,role:"button"},e("calcite-icon",{key:"73ce5f6e4f296fedb75facd98806aaa0f9264f9e",icon:"chevron-up",scale:i})),e("span",{key:"9e12170f05aba47a11f64b4986038588ba0d2526","aria-label":this.messages.minute,"aria-valuemax":"12","aria-valuemin":"1","aria-valuenow":s&&parseInt(this.minute)||"0","aria-valuetext":this.minute,class:{[C.input]:!0,[C.minute]:!0,[C.inputFocus]:this.activeEl&&this.activeEl===this.minuteEl},onClick:this.inputClickHandler,onFocus:this.focusHandler,onKeyDown:this.minuteKeyDownHandler,ref:this.setMinuteEl,role:"spinbutton",tabIndex:0},this.localizedMinute||"--"),e("span",{key:"a46f2686fc2b9c4e00b5917380ce32d00c426c13","aria-label":this.messages.minuteDown,class:{[C.button]:!0,[C.buttonMinuteDown]:!0},onClick:this.minuteDownClickHandler,role:"button"},e("calcite-icon",{key:"0442e7441c06408b4fbd08e5b9929ec28e292e2f",icon:"chevron-down",scale:i}))),this.showSecond&&e("span",{key:"3fa42032693c411259214cfeb2e8cb1b4b00e8ad",class:C.delimiter},this.localizedMinuteSuffix),this.showSecond&&e("div",{key:"b56d1df519432c1ed12a97c2ca0104dd9b0e10fc",class:C.column,role:"group"},e("span",{key:"ecfdd7599b18acc92b0367743878cb43b5124c8b","aria-label":this.messages.secondUp,class:{[C.button]:!0,[C.buttonSecondUp]:!0},onClick:this.secondUpClickHandler,role:"button"},e("calcite-icon",{key:"745355c72d3cc9acb8ae31c773ab210183335b4e",icon:"chevron-up",scale:i})),e("span",{key:"8214dc9a5f44b758406e3914c562f3622c0111be","aria-label":this.messages.second,"aria-valuemax":"59","aria-valuemin":"0","aria-valuenow":a&&parseInt(this.second)||"0","aria-valuetext":this.second,class:{[C.input]:!0,[C.second]:!0,[C.inputFocus]:this.activeEl&&this.activeEl===this.secondEl},onClick:this.inputClickHandler,onFocus:this.focusHandler,onKeyDown:this.secondKeyDownHandler,ref:this.setSecondEl,role:"spinbutton",tabIndex:0},this.localizedSecond||"--"),e("span",{key:"9cf088e25e010c520aa3f1cec8744926b310bce6","aria-label":this.messages.secondDown,class:{[C.button]:!0,[C.buttonSecondDown]:!0},onClick:this.secondDownClickHandler,role:"button"},e("calcite-icon",{key:"cbb0e61bef5ff64b65a68ffd96003a35cc49c778",icon:"chevron-down",scale:i}))),this.showFractionalSecond&&e("span",{key:"d544b2a64681f299b898d98c4c9484851b022a67",class:C.delimiter},this.localizedDecimalSeparator),this.showFractionalSecond&&e("div",{key:"f74e8b291e21da12b89ce47e0e6ca98c5f87c53c",class:C.column,role:"group"},e("span",{key:"742053eb033a078a338221e2ec37db9b3dcab106","aria-label":this.messages.fractionalSecondUp,class:{[C.button]:!0,[C.buttonFractionalSecondUp]:!0},onClick:this.fractionalSecondUpClickHandler,role:"button"},e("calcite-icon",{key:"b4f4e9d78b27e7e49a18cffe87c53b5d983a7a24",icon:"chevron-up",scale:i})),e("span",{key:"a643735e771f0bfac44bc8fa70a7f7f44a2bd995","aria-label":this.messages.fractionalSecond,"aria-valuemax":"999","aria-valuemin":"1","aria-valuenow":o&&parseInt(this.fractionalSecond)||"0","aria-valuetext":this.localizedFractionalSecond,class:{[C.input]:!0,[C.fractionalSecond]:!0,[C.inputFocus]:this.activeEl&&this.activeEl===this.fractionalSecondEl},onClick:this.inputClickHandler,onFocus:this.focusHandler,onKeyDown:this.fractionalSecondKeyDownHandler,ref:this.setFractionalSecondEl,role:"spinbutton",tabIndex:0},this.localizedFractionalSecond||"--"),e("span",{key:"606fa4272030adb287794834025c8ea5ab64b775","aria-label":this.messages.fractionalSecondDown,class:{[C.button]:!0,[C.buttonFractionalSecondDown]:!0},onClick:this.fractionalSecondDownClickHandler,role:"button"},e("calcite-icon",{key:"6088c70fbd84ba6628dd03ccc14bc8761b1474b0",icon:"chevron-down",scale:i}))),this.localizedSecondSuffix&&e("span",{key:"896a343dcbc4fd063453978ab4ba23152c1d5b02",class:C.delimiter},this.localizedSecondSuffix),h&&e("div",{key:"279201865dd76e7b3403f7d9950cc35b12314c4e",class:{[C.column]:!0,[C.meridiemStart]:0===this.meridiemOrder},role:"group"},e("span",{key:"9c9d8fc7d24826a04ced761072d3a462e17960c6","aria-label":this.messages.meridiemUp,class:{[C.button]:!0,[C.buttonMeridiemUp]:!0,[C.buttonTopRight]:!0},onClick:this.meridiemUpClickHandler,role:"button"},e("calcite-icon",{key:"8fc5b56ff6d42d03362ad4a61ef3097c0f518a7b",icon:"chevron-up",scale:i})),e("span",{key:"9566bd9ba5d3154d873454e2b665ce60fa3cef87","aria-label":this.messages.meridiem,"aria-valuemax":"2","aria-valuemin":"1","aria-valuenow":"PM"===this.meridiem?"2":"1","aria-valuetext":this.meridiem,class:{[C.input]:!0,[C.meridiem]:!0,[C.inputFocus]:this.activeEl&&this.activeEl===this.meridiemEl},onClick:this.inputClickHandler,onFocus:this.focusHandler,onKeyDown:this.meridiemKeyDownHandler,ref:this.setMeridiemEl,role:"spinbutton",tabIndex:0},this.localizedMeridiem||"--"),e("span",{key:"f19c68761eebad472f944ce66be8a44d4c1b9b94","aria-label":this.messages.meridiemDown,class:{[C.button]:!0,[C.buttonMeridiemDown]:!0,[C.buttonBottomRight]:!0},onClick:this.meridiemDownClickHandler,role:"button"},e("calcite-icon",{key:"7592f3288984a22f0fc1d4b8df3967483768c05a",icon:"chevron-down",scale:i}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{step:["stepChange"],value:["valueWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleWatcher"]}}};M.style=":host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:center;background-color:var(--calcite-color-foreground-1);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius)}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1)}.time-picker .button:hover,.time-picker .button:focus{background-color:var(--calcite-color-foreground-2);outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-z-index-header);outline-offset:0}.time-picker .button:active{background-color:var(--calcite-color-foreground-3)}.time-picker .button.top-left{border-start-start-radius:var(--calcite-border-radius)}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-border-radius)}.time-picker .button.top-right{border-start-end-radius:var(--calcite-border-radius)}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-border-radius)}.time-picker .button calcite-icon{color:var(--calcite-color-text-3)}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);font-weight:var(--calcite-font-weight-medium)}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-color-foreground-2);z-index:var(--calcite-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;outline-offset:0}.time-picker .input.inputFocus,.time-picker .input:hover.inputFocus{box-shadow:inset 0 0 0 2px var(--calcite-color-brand);z-index:var(--calcite-z-index-header)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:0.75rem;padding-block:0.25rem}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:0.75rem}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:1rem;padding-block:0.5rem}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1rem}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:1.25rem;padding-block:0.75rem}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:1.25rem}:host([hidden]){display:none}[hidden]{display:none}";export{M as calcite_time_picker}
|
@@ -0,0 +1,11 @@
|
|
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
|
+
import{r as t,c as i,f as e,h as o,H as n,g as s}from"./p-6eb37ed2.js";import{i as r,z as a,g as c,a as l,t as h}from"./p-c25e8c35.js";import{s as d,c as u,i as b,d as m,H as p}from"./p-66b01781.js";import{c as f,d as v,u as g,I as x}from"./p-1ce2608d.js";import{n as k}from"./p-64a34d92.js";import{c as y,d as w,g as z}from"./p-7c854814.js";import{a as j,s as I,c as C}from"./p-3e828614.js";import{n as E,i as D,p as L,s as N,e as W,c as A,d as M,B as G}from"./p-304cef31.js";import{c as V}from"./p-1c249530.js";import{C as F}from"./p-8bfa18b7.js";import{u as P,c as $,d as O,s as S}from"./p-1017609e.js";import{g as U}from"./p-27d462c0.js";import{V as B}from"./p-ef67c743.js";import{s as K}from"./p-14f027b5.js";import"./p-aaa56cbf.js";import"./p-4b9b7778.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.2
|
11
|
+
*/const R="number-button-item--horizontal",H="wrapper",T="number-button-item",q="inputNumberValidationMessage",_=class{constructor(e){t(this,e),this.calciteInternalInputNumberFocus=i(this,"calciteInternalInputNumberFocus",6),this.calciteInternalInputNumberBlur=i(this,"calciteInternalInputNumberBlur",6),this.calciteInputNumberInput=i(this,"calciteInputNumberInput",7),this.calciteInputNumberChange=i(this,"calciteInputNumberChange",6),this.previousValueOrigin="initial",this.mutationObserver=V("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||t.defaultPrevented||(this.isClearable&&"Escape"===t.key&&(this.clearInputValue(t),t.preventDefault()),"Enter"===t.key&&d(this)&&t.preventDefault())},this.clearInputValue=t=>{this.setNumberValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedNumberValue&&(this.calciteInputNumberChange.emit(),this.setPreviousEmittedNumberValue(this.value))},this.inputNumberBlurHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId),this.calciteInternalInputNumberBlur.emit(),this.emitChangeIfUserModified()},this.clickHandler=t=>{if(this.disabled)return;const i=t.composedPath();i.includes(this.inputWrapperEl)&&!i.includes(this.actionWrapperEl)&&this.setFocus()},this.inputNumberFocusHandler=()=>{this.calciteInternalInputNumberFocus.emit()},this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly)return;if("Infinity"===this.value||"-Infinity"===this.value)return;const i=t.target.value;E.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const e=E.delocalize(i);"insertFromPaste"===t.inputType?((!D(e)||this.integer&&(e.includes("e")||e.includes(".")))&&t.preventDefault(),this.setNumberValue({nativeEvent:t,origin:"user",value:L(e)}),this.childNumberEl.value=this.displayedValue):this.setNumberValue({nativeEvent:t,origin:"user",value:e})},this.inputNumberKeyDownHandler=t=>{if(this.disabled||this.readOnly)return;if("Infinity"===this.value||"-Infinity"===this.value)return t.preventDefault(),void("Backspace"!==t.key&&"Delete"!==t.key||this.clearInputValue(t));if("ArrowUp"===t.key)return t.preventDefault(),void this.nudgeNumberValue("up",t);if("ArrowDown"===t.key)return void this.nudgeNumberValue("down",t);const i=[...k,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(t.altKey||t.ctrlKey||t.metaKey)return;const e=t.shiftKey&&"Tab"===t.key;if(i.includes(t.key)||e)"Enter"===t.key&&this.emitChangeIfUserModified();else{if(E.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},t.key===E.decimal&&!this.integer){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&-1===this.childNumberEl.value.indexOf(E.decimal))return}if(/[eE]/.test(t.key)&&!this.integer){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&!/[eE]/.test(this.childNumberEl.value))return}if("-"===t.key){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&this.childNumberEl.value.split("-").length<=2)return}t.preventDefault()}},this.nudgeNumberValue=(t,i)=>{if(i instanceof KeyboardEvent&&i.repeat)return;const e=this.maxString?parseFloat(this.maxString):null,o=this.minString?parseFloat(this.minString):null;this.incrementOrDecrementNumberValue(t,e,o,i),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let n=!0;this.nudgeNumberValueIntervalId=window.setInterval((()=>{n?n=!1:this.incrementOrDecrementNumberValue(t,e,o,i)}),150)},this.nudgeButtonPointerUpHandler=t=>{r(t)&&window.clearInterval(this.nudgeNumberValueIntervalId)},this.nudgeButtonPointerOutHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.nudgeButtonPointerDownHandler=t=>{r(t)&&(t.preventDefault(),this.disabled||this.nudgeNumberValue(t.target.dataset.adjustment,t))},this.onHiddenFormInputInput=t=>{t.target.name===this.name&&this.setNumberValue({value:t.target.value,origin:"direct"}),this.setFocus(),t.stopPropagation()},this.setChildNumberElRef=t=>{this.childNumberEl=t},this.setInputNumberValue=t=>{this.childNumberEl&&(this.childNumberEl.value=t)},this.setPreviousEmittedNumberValue=t=>{this.previousEmittedNumberValue=this.normalizeValue(t)},this.setPreviousNumberValue=t=>{this.previousValue=this.normalizeValue(t)},this.setNumberValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:o,value:n})=>{E.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const s=this.previousValue?.length>n.length||this.value?.length>n.length,r=this.integer?n.replace(/[e.]/g,""):n,a="."===r.charAt(r.length-1),c=a&&s?r:N(r),l=n&&!c?D(this.previousValue)?this.previousValue:"":c;let h=E.localize(l);"connected"===e||a||(h=W(h,l,E)),this.displayedValue=a&&s?`${h}${E.decimal}`:h,this.setPreviousNumberValue(o??this.value),this.previousValueOrigin=e,this.userChangedValue="user"===e&&this.value!==l,this.value=["-","."].includes(l)?"":l,"direct"===e&&(this.setInputNumberValue(h),this.setPreviousEmittedNumberValue(h)),i&&(this.calciteInputNumberInput.emit().defaultPrevented?(this.value=this.previousValue,this.displayedValue=E.localize(this.previousValue)):t&&this.emitChangeIfUserModified())},this.inputNumberKeyUpHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.alignment="start",this.autofocus=void 0,this.clearable=!1,this.disabled=!1,this.enterKeyHint=void 0,this.form=void 0,this.groupSeparator=!1,this.icon=void 0,this.iconFlipRtl=!1,this.inputMode=void 0,this.integer=!1,this.label=void 0,this.loading=!1,this.numberingSystem=void 0,this.localeFormat=!1,this.max=void 0,this.min=void 0,this.maxLength=void 0,this.minLength=void 0,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.numberButtonType="vertical",this.placeholder=void 0,this.prefixText=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=void 0,this.autocomplete=void 0,this.suffixText=void 0,this.editingEnabled=!1,this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.displayedValue=void 0,this.slottedActionElDisabledInternally=!1}handleGlobalAttributesChanged(){e(this)}disabledWatcher(){this.setDisabledAction()}maxWatcher(){this.maxString=this.max?.toString()||null}minWatcher(){this.minString=this.min?.toString()||null}onMessagesChange(){}valueWatcher(t,i){if(!this.userChangedValue){if("Infinity"===t||"-Infinity"===t)return this.displayedValue=t,void(this.previousEmittedNumberValue=t);this.setNumberValue({origin:"direct",previousValue:i,value:null==t||""==t?"":D(t)?t:this.previousValue||""}),this.warnAboutInvalidNumberValue(t)}this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=a({},this.icon,"number")}get isClearable(){return this.clearable&&this.value.length>0}effectiveLocaleWatcher(t){P(this,this.effectiveLocale),E.numberFormatOptions={locale:t,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){f(this),A(this),$(this),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),y(this),u(this),this.mutationObserver?.observe(this.el,{childList:!0}),this.setDisabledAction(),this.el.addEventListener(b,this.onHiddenFormInputInput)}componentDidLoad(){j(this)}disconnectedCallback(){v(this),w(this),m(this),M(this),O(this),this.mutationObserver?.disconnect(),this.el.removeEventListener(b,this.onHiddenFormInputInput)}async componentWillLoad(){I(this),this.maxString=this.max?.toString(),this.minString=this.min?.toString(),this.requestedIcon=a({},this.icon,"number"),await S(this),this.setPreviousEmittedNumberValue(this.value),this.setPreviousNumberValue(this.value),this.warnAboutInvalidNumberValue(this.value),"Infinity"===this.value||"-Infinity"===this.value?(this.displayedValue=this.value,this.previousEmittedNumberValue=this.value):this.setNumberValue({origin:"connected",value:D(this.value)?this.value:""})}componentShouldUpdate(t,i,e){return!("value"===e&&t&&!D(t)&&(this.setNumberValue({origin:"reset",value:i}),1))}componentDidRender(){g(this)}async setFocus(){await C(this),this.childNumberEl?.focus()}async selectText(){this.childNumberEl?.select()}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(t,i,e,o){const{value:n}=this;if("Infinity"===n||"-Infinity"===n)return;const s="up"===t?1:-1,r=this.integer&&"any"!==this.step?Math.round(this.step):this.step,a="any"===r?1:Math.abs(r||1),c=new G(""!==n?n:"0").add(""+a*s),l="number"==typeof e&&!isNaN(e)&&c.subtract(`${e}`).isNegative?`${e}`:"number"!=typeof i||isNaN(i)||c.subtract(`${i}`).isNegative?c.toString():`${i}`;this.setNumberValue({committing:!0,nativeEvent:o,origin:"user",value:l})}syncHiddenFormInput(t){K("number",this,t)}setDisabledAction(){const t=c(this.el,"action");t&&(this.disabled?(null==t.getAttribute("disabled")&&(this.slottedActionElDisabledInternally=!0),t.setAttribute("disabled","")):this.slottedActionElDisabledInternally&&(t.removeAttribute("disabled"),this.slottedActionElDisabledInternally=!1))}normalizeValue(t){return D(t)?t:""}warnAboutInvalidNumberValue(t){t&&!D(t)&&console.warn(`The specified value "${t}" cannot be parsed, or is out of range.`)}render(){const t=l(this.el),i=o("div",{key:"4afc447c454d130ac4e983faa2a5a4390e500134",class:"loader"},o("calcite-progress",{key:"8f14d3e88b4a3f9d1069b2f10a3b5377353b37cd",label:this.messages.loading,type:"indeterminate"})),e=o("button",{key:"60622dbfee3b9d3b96f779f37590d02863a5b395","aria-label":this.messages.clear,class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputValue,tabIndex:-1,type:"button"},o("calcite-icon",{key:"98e61619db4e6cd25353bbb4cd3e998b47debdef",icon:"x",scale:U(this.scale)})),s=o("calcite-icon",{key:"bd8c940cd1a47cc4051d9cbb30e19ce32748f82d",class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:U(this.scale)}),r="horizontal"===this.numberButtonType,a=o("button",{key:"a33a45b1576ed55847411d9c0e493a4354188cee","aria-hidden":"true",class:{[T]:!0,[R]:r},"data-adjustment":"up",disabled:this.disabled||this.readOnly,onPointerDown:this.nudgeButtonPointerDownHandler,onPointerOut:this.nudgeButtonPointerOutHandler,onPointerUp:this.nudgeButtonPointerUpHandler,tabIndex:-1,type:"button"},o("calcite-icon",{key:"b05ed816a0472df584918e6cdbeefca0f4ebccb6",icon:"chevron-up",scale:U(this.scale)})),c=o("button",{key:"7e8466f04ec12caccd6703701934c8e6864e2ad1","aria-hidden":"true",class:{[T]:!0,[R]:r},"data-adjustment":"down",disabled:this.disabled||this.readOnly,onPointerDown:this.nudgeButtonPointerDownHandler,onPointerOut:this.nudgeButtonPointerOutHandler,onPointerUp:this.nudgeButtonPointerUpHandler,tabIndex:-1,type:"button"},o("calcite-icon",{key:"b796613a0510d88c5a9a88e19f204dd1cfa3ae79",icon:"chevron-down",scale:U(this.scale)})),d=o("div",{key:"7c0d61831b7d00d383b08bc69d130c93e4b41708",class:"number-button-wrapper"},a,c),u=o("div",{key:"bde995b58c2be304e0f97751864932f4aba8b560",class:"prefix"},this.prefixText),b=o("div",{key:"09ecebb64862cc87c42f6a07eb43f4f492aafff9",class:"suffix"},this.suffixText),m=o("input",{"aria-errormessage":q,"aria-invalid":h("invalid"===this.status),"aria-label":z(this),autocomplete:this.autocomplete,autofocus:!!this.el.autofocus||null,defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.el.enterKeyHint||this.el.getAttribute("enterkeyhint"),inputMode:this.el.inputMode||this.el.getAttribute("inputmode")||"decimal",key:"localized-input",maxLength:this.maxLength,minLength:this.minLength,name:void 0,onBlur:this.inputNumberBlurHandler,onFocus:this.inputNumberFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,onKeyUp:this.inputNumberKeyUpHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,ref:this.setChildNumberElRef,type:"text",value:this.displayedValue});return o(n,{key:"8bbe5d61c4d825064c541d69720c3dec29397bb6",onClick:this.clickHandler,onKeyDown:this.keyDownHandler},o(x,{key:"88981ec407b3ca3dc30e1f4639cc165f125a2e4f",disabled:this.disabled},o("div",{key:"b5147afb965eb8950451efd0188de34a126cb42a",class:{[H]:!0,[F.rtl]:"rtl"===t},ref:t=>this.inputWrapperEl=t},"horizontal"!==this.numberButtonType||this.readOnly?null:c,this.prefixText?u:null,o("div",{key:"ae8cfb188f1e67b2b26fd994e075b9d65f193aed",class:"element-wrapper"},m,this.isClearable?e:null,this.requestedIcon?s:null,this.loading?i:null),o("div",{key:"68e1e75159411ccc36981c488411741ba4f4863f",class:"action-wrapper",ref:t=>this.actionWrapperEl=t},o("slot",{key:"68ffd29dc928221cf0e4f1b1e79fc71dc1cdbfa2",name:"action"})),"vertical"!==this.numberButtonType||this.readOnly?null:d,this.suffixText?b:null,"horizontal"!==this.numberButtonType||this.readOnly?null:a,o(p,{key:"5efb494ebcff2e85bd0cb306ca1653dea1a79e36",component:this})),this.validationMessage&&"invalid"===this.status?o(B,{icon:this.validationIcon,id:q,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{autofocus:["handleGlobalAttributesChanged"],enterkeyhint:["handleGlobalAttributesChanged"],inputmode:["handleGlobalAttributesChanged"],disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],messageOverrides:["onMessagesChange"],value:["valueWatcher"],icon:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleWatcher"]}}};_.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0px;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:-moz-placeholder-shown{text-overflow:ellipsis}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px}.suffix{order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);padding-block:0px;padding-inline:0.5rem;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.number-button-item:focus{background-color:var(--calcite-color-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-color-text-1)}.number-button-item:active{background-color:var(--calcite-color-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::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([hidden]){display:none}[hidden]{display:none}";export{_ as calcite_input_number}
|
@@ -0,0 +1,11 @@
|
|
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
|
+
import{r as i,c as e,h as t,H as a,g as n}from"./p-6eb37ed2.js";import{v as s,a as o,f as c}from"./p-c25e8c35.js";import{d as l,a as h,c as r,u as d}from"./p-c40b0ec5.js";import{s as p,a as m,c as b}from"./p-3e828614.js";import{c as x}from"./p-1c249530.js";import{o as v}from"./p-79f5a8be.js";import{C as g}from"./p-8bfa18b7.js";import"./p-aaa56cbf.js";import"./p-0ef9d36b.js";import"./p-4b9b7778.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.2
|
11
|
+
*/const f="container",w="container--open",y="content",u="container--embedded",k=class{constructor(t){i(this,t),this.calciteSheetBeforeClose=e(this,"calciteSheetBeforeClose",6),this.calciteSheetClose=e(this,"calciteSheetClose",6),this.calciteSheetBeforeOpen=e(this,"calciteSheetBeforeOpen",6),this.calciteSheetOpen=e(this,"calciteSheetOpen",6),this.openTransitionProp="opacity",this.ignoreOpenChange=!1,this.mutationObserver=x("mutation",(()=>this.handleMutationObserver())),this.setContentId=i=>{this.contentId=s(i)},this.setTransitionEl=i=>{this.transitionEl=i},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteSheetOpen",this.openEnd)},this.handleOutsideClose=()=>{this.outsideCloseDisabled||(this.open=!1)},this.closeSheet=async()=>{if(this.beforeClose)try{await this.beforeClose(this.el)}catch(i){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}this.opened=!1,this.removeOverflowHiddenClass()},this.beforeClose=void 0,this.displayMode="overlay",this.embedded=!1,this.escapeDisabled=!1,this.heightScale="m",this.focusTrapDisabled=!1,this.label=void 0,this.open=!1,this.opened=!1,this.outsideCloseDisabled=!1,this.position="inline-start",this.widthScale="m"}handleFocusTrapDisabled(i){this.open&&(i?l(this):h(this))}toggleSheet(i){this.ignoreOpenChange||(i?this.openSheet():this.closeSheet())}handleOpenedChange(){v(this)}async componentWillLoad(){p(this),this.open&&requestAnimationFrame((()=>this.openSheet()))}componentDidLoad(){m(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),r(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),l(this),this.embedded=!1}render(){const i=o(this.el);return t(a,{key:"682efb5e9586947743259232dfed9a90ef44b4c2","aria-describedby":this.contentId,"aria-label":this.label,"aria-modal":"true",role:"dialog"},t("div",{key:"ed1647113f217d7fe34ec91fdbc7fa60310c33a2",class:{[f]:!0,[w]:this.opened,[u]:this.embedded,[g.rtl]:"rtl"===i},ref:this.setTransitionEl},t("calcite-scrim",{key:"a5dd8c8d81bb5d5536a43113f09120dfb708cf14",class:"scrim",onClick:this.handleOutsideClose}),t("div",{key:"350faeae89f75b8e52079cd68c28ee66c1162762",class:{[y]:!0},ref:this.setContentId},t("slot",{key:"8a0e9e782232088a62efa78881f6f165e2d01d4e"}))))}handleEscape(i){!this.open||this.escapeDisabled||"Escape"!==i.key||i.defaultPrevented||(this.open=!1,i.preventDefault())}async setFocus(){await b(this),c(this.el)}async updateFocusTrapElements(){d(this)}onBeforeOpen(){this.calciteSheetBeforeOpen.emit()}onOpen(){this.calciteSheetOpen.emit(),h(this)}onBeforeClose(){this.calciteSheetBeforeClose.emit()}onClose(){this.calciteSheetClose.emit(),l(this)}openSheet(){this.el.addEventListener("calciteSheetOpen",this.openEnd),this.opened=!0,this.embedded||(this.initialOverflowCSS=document.documentElement.style.overflow,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",this.initialOverflowCSS)}handleMutationObserver(){this.updateFocusTrapElements()}get el(){return n(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],open:["toggleSheet"],opened:["handleOpenedChange"]}}};k.style=":host{position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;visibility:hidden !important;--calcite-sheet-scrim-background-internal:rgba(0, 0, 0, 0.85);--calcite-scrim-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08), 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl{--calcite-scrim-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08), -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-scrim-shadow-inline-end-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08), 2px 0 4px -1px rgba(0, 0, 0, 0.04)}.container{visibility:hidden;position:fixed;z-index:var(--calcite-z-index-overlay);display:flex;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;transition:visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([position=inline-start]) .container{justify-content:flex-start;inset-block:0;inset-inline:0 auto;--calcite-sheet-hidden-position-internal:translate3d(-1rem, 0, 0)}:host([position=inline-end]) .container{justify-content:flex-end;inset-block:0;inset-inline:auto 0;--calcite-sheet-hidden-position-internal:translate3d(1rem, 0, 0)}:host([position=block-start]) .container{align-items:flex-start;inset-block:0 auto;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, -1rem, 0)}:host([position=block-end]) .container{align-items:flex-end;inset-block:auto 0;inset-inline:0;--calcite-sheet-hidden-position-internal:translate3d(0, 1rem, 0)}:host([display-mode=float]) .content{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([display-mode=overlay][position=inline-start]) .container{box-shadow:var(--calcite-scrim-shadow-inline-start-internal)}:host([display-mode=overlay][position=inline-end]) .container{box-shadow:var(--calcite-scrim-shadow-inline-end-internal)}:host([display-mode=overlay][position=block-start]) .container{box-shadow:var(--calcite-scrim-shadow-block-start-internal)}:host([display-mode=overlay][position=block-end]) .container{box-shadow:var(--calcite-scrim-shadow-block-end-internal)}:host([position^=inline]) .container,:host([position^=inline]) .content{inline-size:var(--calcite-sheet-width-internal);max-inline-size:var(--calcite-sheet-max-width-internal);min-inline-size:var(--calcite-sheet-min-width-internal)}:host([position^=block]) .container,:host([position^=block]) .content{block-size:var(--calcite-sheet-height-internal);max-block-size:var(--calcite-sheet-max-height-internal);min-block-size:var(--calcite-sheet-min-height-internal)}:host([display-mode=float][position^=inline]) .container{block-size:calc(100% - 1.5rem);max-block-size:calc(100% - 1.5rem);min-block-size:calc(100% - 1.5rem)}:host([display-mode=float][position^=block]) .container{inline-size:calc(100% - 1.5rem);max-inline-size:calc(100% - 1.5rem);min-inline-size:calc(100% - 1.5rem)}:host([position^=inline][width-scale=s]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 15vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 360px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 260px)}:host([position^=inline][width-scale=m]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 25vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 420px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 300px)}:host([position^=inline][width-scale=l]){--calcite-sheet-width-internal:var(--calcite-sheet-width, 45vw);--calcite-sheet-max-width-internal:var(--calcite-sheet-max-width, 680px);--calcite-sheet-min-width-internal:var(--calcite-sheet-min-width, 340px)}:host([position^=block][height-scale=s]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 160px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 30vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 30vh)}:host([position^=block][height-scale=m]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 200px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 45vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 50vh)}:host([position^=block][height-scale=l]){--calcite-sheet-min-height-internal:var(--calcite-sheet-min-height, 240px);--calcite-sheet-height-internal:var(--calcite-sheet-height, 60vh);--calcite-sheet-max-height-internal:var(--calcite-sheet-max-height, 70vh)}.scrim{--calcite-scrim-background:var(--calcite-sheet-scrim-background, var(--calcite-sheet-scrim-background-internal));position:fixed;inset:0px;display:flex;overflow-y:hidden}:host([opened]){visibility:visible !important}.content{position:relative;z-index:var(--calcite-z-index-modal);box-sizing:border-box;display:block;max-inline-size:100%;overflow-y:hidden;padding:0px;background-color:var(--calcite-color-foreground-1);max-block-size:100%;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-medium), opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transform:var(--calcite-sheet-hidden-position-internal)}.container--open .content{transform:translate3d(0, 0, 0)}:host([display-mode=float]) .content,:host([display-mode=float]) .container{border-radius:0.25rem}:host([display-mode=float]) .container{padding:0.75rem}.container--open{visibility:visible;opacity:1;transition-delay:0ms}.container--open .content{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-medium) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}:host([position=inline-start]) .content,:host([position=inline-end]) .content{block-size:100%}:host([position=block-start]) .content,:host([position=block-end]) .content{inline-size:100%}:host([position]) .container--embedded{pointer-events:auto;position:absolute;inline-size:100%;max-inline-size:100%;min-inline-size:100%;block-size:100%;max-block-size:100%;min-block-size:100%}:host([position]) .container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_sheet}
|
@@ -0,0 +1,11 @@
|
|
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
|
+
import{r as e,c as t,h as c,H as o,g as i}from"./p-6eb37ed2.js";import{s as a,g as n,t as r}from"./p-c25e8c35.js";import{c as s,d as l}from"./p-304cef31.js";import{c as d,d as h,s as p,u as b}from"./p-1017609e.js";import{c as f,a as m,s as v}from"./p-3e828614.js";import{c as g,u,d as k,I as w}from"./p-1ce2608d.js";import{i as x}from"./p-64a34d92.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1c249530.js";import"./p-4b9b7778.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.2
|
11
|
+
*/const y="container",z="content-wrapper",j="card-content",C="has-slotted-content",D="thumbnail",L="heading",I="description",E="footer-start",H="footer-end",K="title",S="subtitle",q=class{constructor(c){e(this,c),this.calciteCardSelect=t(this,"calciteCardSelect",6),this.calciteInternalCardKeyEvent=t(this,"calciteInternalCardKeyEvent",6),this.handleDefaultSlotChange=e=>{this.hasContent=a(e)},this.keyDownHandler=e=>{if(e.target===this.containerEl&&!this.selectable&&!this.disabled)if(x(e.key)&&"none"!==this.selectionMode)this.calciteCardSelect.emit(),e.preventDefault();else switch(e.key){case"ArrowRight":case"ArrowLeft":case"Home":case"End":this.calciteInternalCardKeyEvent.emit(e),e.preventDefault()}},this.cardBodyClickHandler=e=>{e.target!==this.containerEl||this.selectable||this.disabled||"none"===this.selectionMode||this.calciteCardSelect.emit()},this.cardSelectKeyDownDeprecated=e=>{switch(e.key){case" ":case"Enter":this.selectCardDeprecated(),e.preventDefault()}},this.selectCardDeprecated=()=>{this.selected=!this.selected,this.calciteCardSelect.emit()},this.cardSelectClick=e=>{this.disabled||(e.preventDefault(),this.calciteCardSelect.emit(),this.setFocus())},this.loading=!1,this.thumbnailPosition="block-start",this.disabled=!1,this.label=void 0,this.selectable=!1,this.selected=!1,this.messages=void 0,this.selectionMode="none",this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0,this.hasContent=!1}onMessagesChange(){}async setFocus(){await f(this),this.disabled||this.containerEl?.focus()}connectedCallback(){g(this),s(this),d(this)}componentDidLoad(){m(this)}componentDidRender(){u(this)}disconnectedCallback(){k(this),l(this),h(this)}async componentWillLoad(){v(this),await p(this)}effectiveLocaleChange(){b(this,this.effectiveLocale)}renderCheckboxDeprecated(){return c("calcite-label",{class:"checkbox-wrapper-deprecated"},c("calcite-checkbox",{checked:this.selected,label:this.messages.select,onClick:this.selectCardDeprecated,onKeyDown:this.cardSelectKeyDownDeprecated}))}renderThumbnail(){return n(this.el,D)?c("section",{class:"thumbnail-wrapper"},c("slot",{name:D})):null}renderSelectionIcon(){return c("div",{class:"checkbox-wrapper",onPointerDown:this.cardSelectClick,tabIndex:-1},c("calcite-icon",{icon:"multiple"===this.selectionMode&&this.selected?"check-square-f":"multiple"===this.selectionMode?"square":this.selected?"circle-f":"circle",scale:"s"}))}renderHeader(){const{el:e}=this,t=n(e,L),o=n(e,I),i=t||o,a=n(e,S),r=n(e,K);return i||a||r?c("header",{class:"header"},this.selectable?this.renderCheckboxDeprecated():null,c("div",{class:"header-text-container"},c("slot",{key:"heading-slot",name:L}),c("slot",{key:"description-slot",name:I}),c("slot",{key:"deprecated-title-slot",name:K}),c("slot",{key:"deprecated-subtitle-slot",name:S})),"none"!==this.selectionMode&&this.renderSelectionIcon()):null}renderFooter(){const{el:e}=this,t=n(e,E),o=n(e,H);return t||o?c("footer",{class:"footer"},c("slot",{name:E}),c("slot",{name:H})):null}render(){const e=this.thumbnailPosition.startsWith("inline"),t=this.thumbnailPosition.endsWith("start"),i="multiple"===this.selectionMode?"checkbox":"none"!==this.selectionMode?"radio":void 0;return c(o,{key:"e33b76130cd91d3caa6662f1f58b79d238c708fb"},c(w,{key:"772da2a3a1274eb467d1febb915ffb97953beae7",disabled:this.disabled},c("div",{key:"b9fdbb51cfb07964479d0f723add39b8a2384f86","aria-checked":"none"!==this.selectionMode?r(this.selected):void 0,"aria-disabled":this.disabled,"aria-label":this.label,class:{[z]:!0,inline:e},onClick:this.cardBodyClickHandler,onKeyDown:this.keyDownHandler,ref:e=>this.containerEl=e,role:i,tabIndex:!this.selectable||this.disabled?0:-1},this.loading?c("div",{"aria-live":"polite",class:"calcite-card-loader-container"},c("calcite-loader",{label:this.messages.loading})):null,t&&this.renderThumbnail(),c("section",{key:"51cfe132a589ec65b39544b4c1246545b0b864f2","aria-busy":r(this.loading),class:{[y]:!0}},this.renderHeader(),c("div",{key:"c256998e330a949d47a12b23127c68cba081854e",class:{[j]:!0,[C]:this.hasContent}},c("slot",{key:"17fb9b0a9919f09a474d3c54818e770be9a85b77",onSlotchange:this.handleDefaultSlotChange})),this.renderFooter()),!t&&this.renderThumbnail())))}static get assetsDirs(){return["assets"]}get el(){return i(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};q.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;max-inline-size:100%;--calcite-card-corner-radius:var(--calcite-corner-radius-sharp);--calcite-card-background-color:var(--calcite-color-foreground-1);--calcite-card-border-color:var(--calcite-color-border-3);--calcite-card-shadow:var(--calcite-shadow-none);--calcite-card-accent-color-selected:var(--calcite-color-brand);--calcite-card-selection-background-color:transparent;--calcite-card-selection-background-color-hover:var(--calcite-color-transparent-hover);--calcite-card-selection-background-color-active:var(--calcite-color-transparent-press);--calcite-card-selection-background-color-selected:transparent;--calcite-card-selection-icon-color:var(--calcite-color-text-3);--calcite-card-selection-icon-color-hover:var(--calcite-color-text-2);--calcite-card-selection-icon-color-selected:var(--calcite-color-brand)}.content-wrapper{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border:var(--calcite-border-width-sm) solid var(--calcite-card-border-color);border-radius:var(--calcite-card-corner-radius);background-color:var(--calcite-card-background-color);box-shadow:var(--calcite-card-shadow);pointer-events:none}::slotted(*){pointer-events:auto}:host(:not([selectable])) .content-wrapper:not(.non-interactive){outline-color:transparent}:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .content-wrapper *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header{display:flex;flex-direction:row;align-items:flex-start}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:var(--calcite-spacing-md);padding-block-start:var(--calcite-spacing-xxs);padding-block-end:var(--calcite-spacing-md)}.header-text-container{display:flex;inline-size:100%;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem}.header-text-container:not(:only-child){padding-inline-end:0.125rem}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{block-size:auto;font-size:var(--calcite-font-size--2);line-height:1.375}.has-slotted-content{padding:0.75rem}:host([selected]) .content-wrapper{box-shadow:inset 0 -4px 0 0 var(--calcite-card-accent-color-selected)}:host([selectable]) .header{padding-inline-end:var(--calcite-spacing-xxxl)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-block-start:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}slot[name=heading]::slotted(*),*::slotted([slot=heading]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=description]::slotted(*),*::slotted([slot=description]){margin:0px;margin-block-start:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper-deprecated{pointer-events:auto;position:absolute;inset-block-start:var(--calcite-spacing-sm);inset-inline-end:var(--calcite-spacing-sm);margin:0;padding:0}.checkbox-wrapper{pointer-events:auto;margin:0.5rem;cursor:pointer;padding:0.5rem;outline-color:transparent;background-color:var(--calcite-card-selection-background-color);display:flex;align-items:center;justify-items:center;--calcite-icon-color:var(--calcite-card-selection-icon-color)}.checkbox-wrapper:hover{background-color:var(--calcite-card-selection-background-color-hover);--calcite-icon-color:var(--calcite-card-selection-icon-color-hover)}.checkbox-wrapper:active{background-color:var(--calcite-card-selection-background-color-active)}.checkbox-wrapper calcite-icon{pointer-events:none}:host([selected]) .checkbox-wrapper{--calcite-icon-color:var(--calcite-card-selection-icon-color-selected);background-color:var(--calcite-card-selection-background-color-selected)}:host([selected]) .checkbox-wrapper:hover{background-color:var(--calcite-card-selection-background-color-hover)}:host([selected]) .checkbox-wrapper:active{background-color:var(--calcite-card-selection-background-color-active)}:host(:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-hover);--calcite-icon-color:var(--calcite-card-selection-icon-color-hover)}:host([selected]:not([selectable])) .content-wrapper:not(.non-interactive):focus .checkbox-wrapper{background-color:var(--calcite-card-selection-background-color-active);--calcite-icon-color:var(--calcite-card-selection-icon-color-selected)}.thumbnail-wrapper{display:flex}.content-wrapper.inline{flex-direction:row}.content-wrapper.inline>.container{inline-size:60%}.content-wrapper.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.content-wrapper.inline slot[name=thumbnail]::slotted(img),.content-wrapper.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";export{q as calcite_card}
|
@@ -0,0 +1,6 @@
|
|
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
|
+
import{r as t,c as i,h as e,H as s,g as n}from"./p-6eb37ed2.js";import{s as r,c as a,d as o,H as c}from"./p-66b01781.js";import{g as h}from"./p-aaa56cbf.js";import{c as u,d,u as l,I as f}from"./p-1ce2608d.js";import{n as m}from"./p-64a34d92.js";import{c as p,d as v,g}from"./p-7c854814.js";import{c as b,s as M,a as y}from"./p-3e828614.js";import{n as D,g as S,c as Y,d as j}from"./p-304cef31.js";import{a as k,d as w,c as L}from"./p-c40b0ec5.js";import{l as T,t as H,i as A,f as C,a as _}from"./p-f6f2018a.js";import{u as x,c as $,s as I,d as O}from"./p-1017609e.js";import{d as P}from"./p-d9e930c8.js";import{g as F}from"./p-27d462c0.js";import{V as W}from"./p-ef67c743.js";import{f as z,t as Z}from"./p-c25e8c35.js";import{s as E}from"./p-14f027b5.js";var B=6e4,N=36e5,R="millisecond",J="second",U="minute",V="hour",X="day",q="week",G="month",K="quarter",Q="year",tt="date",it="YYYY-MM-DDTHH:mm:ssZ",et="Invalid Date",st=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,nt=/\[([^\]]+)]|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;const rt={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var i=["th","st","nd","rd"],e=t%100;return"["+t+(i[(e-20)%10]||i[e]||i[0])+"]"}},at=Object.freeze({__proto__:null,default:rt});var ot=function(t,i,e){var s=String(t);return!s||s.length>=i?t:""+Array(i+1-s.length).join(e)+t};const ct={s:ot,z:function(t){var i=-t.utcOffset(),e=Math.abs(i),s=Math.floor(e/60),n=e%60;return(i<=0?"+":"-")+ot(s,2,"0")+":"+ot(n,2,"0")},m:function t(i,e){if(i.date()<e.date())return-t(e,i);var s=12*(e.year()-i.year())+(e.month()-i.month()),n=i.clone().add(s,G),r=e-n<0,a=i.clone().add(s+(r?-1:1),G);return+(-(s+(e-n)/(r?n-a:a-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:G,y:Q,w:q,d:X,D:tt,h:V,m:U,s:J,ms:R,Q:K}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};var ht="en",ut={};ut[ht]=rt;var dt="$isDayjsObject",lt=function(t){return t instanceof vt||!(!t||!t[dt])},ft=function t(i,e,s){var n;if(!i)return ht;if("string"==typeof i){var r=i.toLowerCase();ut[r]&&(n=r),e&&(ut[r]=e,n=r);var a=i.split("-");if(!n&&a.length>1)return t(a[0])}else{var o=i.name;ut[o]=i,n=o}return!s&&n&&(ht=n),n||!s&&ht},mt=function(t,i){if(lt(t))return t.clone();var e="object"==typeof i?i:{};return e.date=t,e.args=arguments,new vt(e)},pt=ct;pt.l=ft,pt.i=lt,pt.w=function(t,i){return mt(t,{locale:i.$L,utc:i.$u,x:i.$x,$offset:i.$offset})};var vt=function(){function t(t){this.$L=ft(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[dt]=!0}var i=t.prototype;return i.parse=function(t){this.$d=function(t){var i=t.date,e=t.utc;if(null===i)return new Date(NaN);if(pt.u(i))return new Date;if(i instanceof Date)return new Date(i);if("string"==typeof i&&!/Z$/i.test(i)){var s=i.match(st);if(s){var n=s[2]-1||0,r=(s[7]||"0").substring(0,3);return e?new Date(Date.UTC(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,r)):new Date(s[1],n,s[3]||1,s[4]||0,s[5]||0,s[6]||0,r)}}return new Date(i)}(t),this.init()},i.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},i.$utils=function(){return pt},i.isValid=function(){return!(this.$d.toString()===et)},i.isSame=function(t,i){var e=mt(t);return this.startOf(i)<=e&&e<=this.endOf(i)},i.isAfter=function(t,i){return mt(t)<this.startOf(i)},i.isBefore=function(t,i){return this.endOf(i)<mt(t)},i.$g=function(t,i,e){return pt.u(t)?this[i]:this.set(e,t)},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this.$d.getTime()},i.startOf=function(t,i){var e=this,s=!!pt.u(i)||i,n=pt.p(t),r=function(t,i){var n=pt.w(e.$u?Date.UTC(e.$y,i,t):new Date(e.$y,i,t),e);return s?n:n.endOf(X)},a=function(t,i){return pt.w(e.toDate()[t].apply(e.toDate("s"),(s?[0,0,0,0]:[23,59,59,999]).slice(i)),e)},o=this.$W,c=this.$M,h=this.$D,u="set"+(this.$u?"UTC":"");switch(n){case Q:return s?r(1,0):r(31,11);case G:return s?r(1,c):r(0,c+1);case q:var d=this.$locale().weekStart||0,l=(o<d?o+7:o)-d;return r(s?h-l:h+(6-l),c);case X:case tt:return a(u+"Hours",0);case V:return a(u+"Minutes",1);case U:return a(u+"Seconds",2);case J:return a(u+"Milliseconds",3);default:return this.clone()}},i.endOf=function(t){return this.startOf(t,!1)},i.$set=function(t,i){var e,s=pt.p(t),n="set"+(this.$u?"UTC":""),r=(e={},e[X]=n+"Date",e[tt]=n+"Date",e[G]=n+"Month",e[Q]=n+"FullYear",e[V]=n+"Hours",e[U]=n+"Minutes",e[J]=n+"Seconds",e[R]=n+"Milliseconds",e)[s],a=s===X?this.$D+(i-this.$W):i;if(s===G||s===Q){var o=this.clone().set(tt,1);o.$d[r](a),o.init(),this.$d=o.set(tt,Math.min(this.$D,o.daysInMonth())).$d}else r&&this.$d[r](a);return this.init(),this},i.set=function(t,i){return this.clone().$set(t,i)},i.get=function(t){return this[pt.p(t)]()},i.add=function(t,i){var e,s=this;t=Number(t);var n=pt.p(i),r=function(i){var e=mt(s);return pt.w(e.date(e.date()+Math.round(i*t)),s)};if(n===G)return this.set(G,this.$M+t);if(n===Q)return this.set(Q,this.$y+t);if(n===X)return r(1);if(n===q)return r(7);var a=(e={},e[U]=B,e[V]=N,e[J]=1e3,e)[n]||1,o=this.$d.getTime()+t*a;return pt.w(o,this)},i.subtract=function(t,i){return this.add(-1*t,i)},i.format=function(t){var i=this,e=this.$locale();if(!this.isValid())return e.invalidDate||et;var s=t||it,n=pt.z(this),r=this.$H,a=this.$m,o=this.$M,c=e.weekdays,h=e.months,u=function(t,e,n,r){return t&&(t[e]||t(i,s))||n[e].slice(0,r)},d=function(t){return pt.s(r%12||12,t,"0")},l=e.meridiem||function(t,i,e){var s=t<12?"AM":"PM";return e?s.toLowerCase():s};return s.replace(nt,(function(t,s){return s||function(t){switch(t){case"YY":return String(i.$y).slice(-2);case"YYYY":return pt.s(i.$y,4,"0");case"M":return o+1;case"MM":return pt.s(o+1,2,"0");case"MMM":return u(e.monthsShort,o,h,3);case"MMMM":return u(h,o);case"D":return i.$D;case"DD":return pt.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return u(e.weekdaysMin,i.$W,c,2);case"ddd":return u(e.weekdaysShort,i.$W,c,3);case"dddd":return c[i.$W];case"H":return String(r);case"HH":return pt.s(r,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return l(r,a,!0);case"A":return l(r,a,!1);case"m":return String(a);case"mm":return pt.s(a,2,"0");case"s":return String(i.$s);case"ss":return pt.s(i.$s,2,"0");case"SSS":return pt.s(i.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},i.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},i.diff=function(t,i,e){var s,n=this,r=pt.p(i),a=mt(t),o=(a.utcOffset()-this.utcOffset())*B,c=this-a,h=function(){return pt.m(n,a)};switch(r){case Q:s=h()/12;break;case G:s=h();break;case K:s=h()/3;break;case q:s=(c-o)/6048e5;break;case X:s=(c-o)/864e5;break;case V:s=c/N;break;case U:s=c/B;break;case J:s=c/1e3;break;default:s=c}return e?s:pt.a(s)},i.daysInMonth=function(){return this.endOf(G).$D},i.$locale=function(){return ut[this.$L]},i.locale=function(t,i){if(!t)return this.$L;var e=this.clone(),s=ft(t,i,!0);return s&&(e.$L=s),e},i.clone=function(){return pt.w(this.$d,this)},i.toDate=function(){return new Date(this.valueOf())},i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toISOString=function(){return this.$d.toISOString()},i.toString=function(){return this.$d.toUTCString()},t}(),gt=vt.prototype;mt.prototype=gt,[["$ms",R],["$s",J],["$m",U],["$H",V],["$W",X],["$M",G],["$y",Q],["$D",tt]].forEach((function(t){gt[t[1]]=function(i){return this.$g(i,t[0],t[1])}})),mt.extend=function(t,i){return t.$i||(t(i,vt,mt),t.$i=!0),mt},mt.locale=ft,mt.isDayjs=lt,mt.unix=function(t){return mt(1e3*t)},mt.en=ut[ht],mt.Ls=ut,mt.p={};var bt=function(t){return t.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,i,e){return i||e.slice(1)}))},Mt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},yt=function(t,i){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,e,s){var n=s&&s.toUpperCase();return e||i[s]||Mt[s]||bt(i[n])}))},Dt=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,St=/\d\d/,Yt=/\d\d?/,jt=/\d*[^-_:/,()\s\d]+/,kt={},wt=function(t){return(t=+t)+(t>68?1900:2e3)},Lt=function(t){return function(i){this[t]=+i}},Tt=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var i=t.match(/([+-]|\d\d)/g),e=60*i[1]+(+i[2]||0);return 0===e?0:"+"===i[0]?-e:e}(t)}],Ht=function(t){var i=kt[t];return i&&(i.indexOf?i:i.s.concat(i.f))},At=function(t,i){var e,s=kt.meridiem;if(s){for(var n=1;n<=24;n+=1)if(t.indexOf(s(n,0,i))>-1){e=n>12;break}}else e=t===(i?"pm":"PM");return e},Ct={A:[jt,function(t){this.afternoon=At(t,!1)}],a:[jt,function(t){this.afternoon=At(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[St,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[Yt,Lt("seconds")],ss:[Yt,Lt("seconds")],m:[Yt,Lt("minutes")],mm:[Yt,Lt("minutes")],H:[Yt,Lt("hours")],h:[Yt,Lt("hours")],HH:[Yt,Lt("hours")],hh:[Yt,Lt("hours")],D:[Yt,Lt("day")],DD:[St,Lt("day")],Do:[jt,function(t){var i=kt.ordinal,e=t.match(/\d+/);if(this.day=e[0],i)for(var s=1;s<=31;s+=1)i(s).replace(/\[|\]/g,"")===t&&(this.day=s)}],M:[Yt,Lt("month")],MM:[St,Lt("month")],MMM:[jt,function(t){var i=Ht("months"),e=(Ht("monthsShort")||i.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],MMMM:[jt,function(t){var i=Ht("months").indexOf(t)+1;if(i<1)throw new Error;this.month=i%12||i}],Y:[/[+-]?\d+/,Lt("year")],YY:[St,function(t){this.year=wt(t)}],YYYY:[/\d{4}/,Lt("year")],Z:Tt,ZZ:Tt};const _t="inputTimePickerValidationMessage",xt=new Map([["ar",()=>import("./p-5440c8dd.js")],["bg",()=>import("./p-fcd33b4f.js")],["bs",()=>import("./p-b8ce880d.js")],["ca",()=>import("./p-49bbe45e.js")],["cs",()=>import("./p-25b5ffea.js")],["da",()=>import("./p-770a0e12.js")],["de",()=>import("./p-7ae41cd8.js")],["de-at",()=>import("./p-19b466d0.js")],["de-ch",()=>import("./p-0dc73313.js")],["el",()=>import("./p-94ae78d6.js")],["en",()=>Promise.resolve().then((function(){return at}))],["en-au",()=>import("./p-eb2859d6.js")],["en-ca",()=>import("./p-936037e4.js")],["en-gb",()=>import("./p-5f705984.js")],["es",()=>import("./p-9524e5e4.js")],["es-mx",()=>import("./p-c163b67f.js")],["et",()=>import("./p-2d17790c.js")],["fi",()=>import("./p-4e7aa926.js")],["fr",()=>import("./p-54b7e680.js")],["fr-ch",()=>import("./p-80f49acc.js")],["he",()=>import("./p-53b5a39e.js")],["hi",()=>import("./p-92ba99ff.js")],["hr",()=>import("./p-04294b8e.js")],["hu",()=>import("./p-33db098c.js")],["id",()=>import("./p-712873f0.js")],["it",()=>import("./p-e4ef6f49.js")],["it-ch",()=>import("./p-ee9b7fab.js")],["ja",()=>import("./p-508b2b7b.js")],["ko",()=>import("./p-de8121a4.js")],["lt",()=>import("./p-062f4457.js")],["lv",()=>import("./p-6319ca20.js")],["mk",()=>import("./p-9c5f4347.js")],["nl",()=>import("./p-347d9ce0.js")],["nb",()=>import("./p-1a06bf01.js")],["pl",()=>import("./p-b8f33145.js")],["pt",()=>import("./p-245c35ce.js")],["pt-br",()=>import("./p-01dae909.js")],["ro",()=>import("./p-0d6b3f44.js")],["ru",()=>import("./p-9bc84681.js")],["sk",()=>import("./p-2e06ec97.js")],["sl",()=>import("./p-0b6e5486.js")],["sr",()=>import("./p-cd6eee11.js")],["sv",()=>import("./p-990d8b4b.js")],["th",()=>import("./p-fb3e0eae.js")],["tr",()=>import("./p-e74bc7b3.js")],["uk",()=>import("./p-bb0f549a.js")],["vi",()=>import("./p-5f7c1e49.js")],["zh-cn",()=>import("./p-0e851a4b.js")],["zh-hk",()=>import("./p-ca6055a3.js")],["zh-tw",()=>import("./p-550da58b.js")]]);mt.extend((function(t,i,e){e.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(wt=t.parseTwoDigitYear);var s=i.prototype,n=s.parse;s.parse=function(t){var i=t.date,s=t.utc,r=t.args;this.$u=s;var a=r[1];if("string"==typeof a){var o=!0===r[2],c=!0===r[3],h=o||c,u=r[2];c&&(u=r[2]),kt=this.$locale(),!o&&u&&(kt=e.Ls[u]),this.$d=function(t,i,e){try{if(["x","X"].indexOf(i)>-1)return new Date(("X"===i?1e3:1)*t);var s=function(t){for(var i=(t=yt(t,kt&&kt.formats)).match(Dt),e=i.length,s=0;s<e;s+=1){var n=i[s],r=Ct[n],a=r&&r[1];i[s]=a?{regex:r&&r[0],parser:a}:n.replace(/^\[|\]$/g,"")}return function(t){for(var s={},n=0,r=0;n<e;n+=1){var a=i[n];if("string"==typeof a)r+=a.length;else{var o=a.regex,c=a.parser,h=t.slice(r),u=o.exec(h)[0];c.call(s,u),t=t.replace(u,"")}}return function(t){var i=t.afternoon;if(void 0!==i){var e=t.hours;i?e<12&&(t.hours+=12):12===e&&(t.hours=0),delete t.afternoon}}(s),s}}(i),n=s(t),r=n.year,a=n.month,o=n.day,c=n.hours,h=n.minutes,u=n.seconds,d=n.milliseconds,l=n.zone,f=new Date,m=o||(r||a?1:f.getDate()),p=r||f.getFullYear(),v=0;r&&!a||(v=a>0?a-1:f.getMonth());var g=c||0,b=h||0,M=u||0,y=d||0;return l?new Date(Date.UTC(p,v,m,g,b,M,y+60*l.offset*1e3)):e?new Date(Date.UTC(p,v,m,g,b,M,y)):new Date(p,v,m,g,b,M,y)}catch(t){return new Date("")}}(i,a,s),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),h&&i!=this.format(a)&&(this.$d=new Date("")),kt={}}else if(a instanceof Array)for(var d=a.length,l=1;l<=d;l+=1){r[1]=a[l-1];var f=e.apply(this,r);if(f.isValid()){this.$d=f.$d,this.$L=f.$L,this.init();break}l===d&&(this.$d=new Date(""))}else n.call(this,t)}})),mt.extend((function(t,i,e){var s=function(t){return t&&(t.indexOf?t:t.s)},n=function(t,i,e,n,r){var a=t.name?t:t.$locale(),o=s(a[i]),c=s(a[e]),h=o||c.map((function(t){return t.slice(0,n)}));if(!r)return h;var u=a.weekStart;return h.map((function(t,i){return h[(i+(u||0))%7]}))},r=function(){return e.Ls[e.locale()]},a=function(t,i){return t.formats[i]||bt(t.formats[i.toUpperCase()])},o=function(){var t=this;return{months:function(i){return i?i.format("MMMM"):n(t,"months")},monthsShort:function(i){return i?i.format("MMM"):n(t,"monthsShort","months",3)},firstDayOfWeek:function(){return t.$locale().weekStart||0},weekdays:function(i){return i?i.format("dddd"):n(t,"weekdays")},weekdaysMin:function(i){return i?i.format("dd"):n(t,"weekdaysMin","weekdays",2)},weekdaysShort:function(i){return i?i.format("ddd"):n(t,"weekdaysShort","weekdays",3)},longDateFormat:function(i){return a(t.$locale(),i)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.prototype.localeData=function(){return o.bind(this)()},e.localeData=function(){var t=r();return{firstDayOfWeek:function(){return t.weekStart||0},weekdays:function(){return e.weekdays()},weekdaysShort:function(){return e.weekdaysShort()},weekdaysMin:function(){return e.weekdaysMin()},months:function(){return e.months()},monthsShort:function(){return e.monthsShort()},longDateFormat:function(i){return a(t,i)},meridiem:t.meridiem,ordinal:t.ordinal}},e.months=function(){return n(r(),"months")},e.monthsShort=function(){return n(r(),"monthsShort","months",3)},e.weekdays=function(t){return n(r(),"weekdays",null,null,t)},e.weekdaysShort=function(t){return n(r(),"weekdaysShort","weekdays",3,t)},e.weekdaysMin=function(t){return n(r(),"weekdaysMin","weekdays",2,t)}})),mt.extend((function(t,i,e){var s=i.prototype,n=s.format;e.en.formats=Mt,s.format=function(t){void 0===t&&(t=it);var i=this.$locale().formats,e=yt(t,void 0===i?{}:i);return n.call(this,e)}})),mt.extend((function(t,i){var e=i.prototype.parse;i.prototype.parse=function(t){if("string"==typeof t.date){var i=this.$locale();t.date=i&&i.preparse?i.preparse(t.date):t.date}return e.bind(this)(t)};var s=i.prototype.format;i.prototype.format=function(){for(var t=arguments.length,i=new Array(t),e=0;e<t;e++)i[e]=arguments[e];var n=s.call.apply(s,[this].concat(i)),r=this.$locale();return r&&r.postformat?r.postformat(n):n};var n=i.prototype.fromToBase;n&&(i.prototype.fromToBase=function(t,i,e,s){var r=this.$locale()||e.$locale();return n.call(this,t,i,e,s,r&&r.postformat)})})),mt.extend((function(t,i,e){e.updateLocale=function(t,i){var s=e.Ls[t];if(s)return(i?Object.keys(i):[]).forEach((function(t){s[t]=i[t]})),s}}));const $t=class{constructor(e){t(this,e),this.calciteInputTimePickerBeforeClose=i(this,"calciteInputTimePickerBeforeClose",6),this.calciteInputTimePickerBeforeOpen=i(this,"calciteInputTimePickerBeforeOpen",6),this.calciteInputTimePickerChange=i(this,"calciteInputTimePickerChange",7),this.calciteInputTimePickerClose=i(this,"calciteInputTimePickerClose",6),this.calciteInputTimePickerOpen=i(this,"calciteInputTimePickerOpen",6),this.focusOnOpen=!1,this.dialogId=`time-picker-dialog--${h()}`,this.userChangedValue=!1,this.referenceElementId=`input-time-picker-${h()}`,this.hostBlurHandler=()=>{const t=this.calciteInputEl.value,i=this.delocalizeTimeString(t);if(!i)return void this.setValue("");i!==this.value&&this.setValue(i);const e=T({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:P(this.step)});e!==t&&this.setInputValue(e),this.deactivate()},this.calciteInternalInputFocusHandler=t=>{this.readOnly||t.stopPropagation()},this.calciteInternalInputInputHandler=t=>{const{effectiveLocale:i,numberingSystem:e}=this;if(e&&"latn"!==e){const s=t.target;D.numberFormatOptions={locale:i,numberingSystem:e,useGrouping:!1};const n=D.delocalize(s.value).split("").map((t=>m.includes(t)?D.numberFormatter.format(Number(t)):t)).join("");this.setInputValue(n)}},this.timePickerChangeHandler=t=>{t.stopPropagation();const i=t.target.value,e=this.shouldIncludeSeconds();this.setValue(H(i,e)),this.setInputValue(T({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:e,fractionalSecondDigits:P(this.step)}))},this.popoverBeforeOpenHandler=t=>{t.stopPropagation(),this.calciteInputTimePickerBeforeOpen.emit()},this.popoverOpenHandler=t=>{t.stopPropagation(),this.calciteInputTimePickerOpen.emit(),k(this,{onActivate:()=>{this.focusOnOpen&&(this.calciteTimePickerEl.setFocus(),this.focusOnOpen=!1)}})},this.popoverBeforeCloseHandler=t=>{t.stopPropagation(),this.calciteInputTimePickerBeforeClose.emit()},this.popoverCloseHandler=t=>{t.stopPropagation(),this.calciteInputTimePickerClose.emit(),w(this,{onDeactivate:()=>{this.calciteInputEl.setFocus(),this.focusOnOpen=!1}}),this.open=!1},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;if(!i)if("Enter"===e){if(r(this)&&(t.preventDefault(),this.calciteInputEl.setFocus()),t.composedPath().includes(this.calciteTimePickerEl))return;const i=this.delocalizeTimeString(this.calciteInputEl.value);if(A(i)){this.setValue(i);const t=T({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:P(this.step)});i&&this.calciteInputEl.value!==t&&this.setInputValue(t)}}else"ArrowDown"===e?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===e&&this.open&&(this.open=!1,t.preventDefault(),this.calciteInputEl.setFocus())},this.setCalcitePopoverEl=t=>{this.popoverEl=t},this.setInputEl=t=>{this.calciteInputEl=t},this.setCalciteTimePickerEl=t=>{this.calciteTimePickerEl=t,L(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.setInputValue=t=>{this.calciteInputEl&&(this.calciteInputEl.value=t)},this.setValue=t=>{const i=this.value,e=C(t)||"";e!==i&&(this.userChangedValue=!0,this.value=e||"",this.calciteInputTimePickerChange.emit().defaultPrevented&&(this.userChangedValue=!1,this.value=i,this.setInputValue(T({value:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:P(this.step)}))))},this.setValueDirectly=t=>{const i=this.shouldIncludeSeconds();this.value=H(t,i),this.setInputValue(this.value?T({value:this.value,includeSeconds:i,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,fractionalSecondDigits:P(this.step)}):"")},this.onInputWrapperClick=()=>{this.open=!this.open},this.deactivate=()=>{this.open=!1},this.open=!1,this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.max=void 0,this.min=void 0,this.messageOverrides=void 0,this.messages=void 0,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.numberingSystem=void 0,this.required=!1,this.scale="m",this.status="idle",this.overlayPositioning="absolute",this.placement="auto",this.step=60,this.value=null,this.defaultMessages=void 0,this.effectiveLocale=""}openHandler(){this.disabled||this.readOnly?this.open=!1:this.popoverEl.open=this.open}handleFocusTrapDisabled(t){this.open&&(t?w(this):k(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}onMessagesChange(){}numberingSystemWatcher(t){this.setInputValue(T({value:this.value,locale:this.effectiveLocale,numberingSystem:t,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:P(this.step)}))}stepWatcher(t,i){(i>=60&&t>0&&t<60||t>=60&&i>0&&i<60)&&this.setValueDirectly(this.value)}valueWatcher(t){this.userChangedValue||this.setValueDirectly(t),this.userChangedValue=!1}async effectiveLocaleWatcher(t){await Promise.all([this.loadDateTimeLocaleData(),x(this,this.effectiveLocale)]),this.setInputValue(T({value:this.value,locale:t,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:P(this.step)}))}async setFocus(){await b(this),z(this.el)}async reposition(t=!1){this.popoverEl?.reposition(t)}syncHiddenFormInput(t){E("time",this,t)}delocalizeTimeString(t){mt.locale(this.effectiveLocale.toLowerCase());const i=this.delocalizeTimeStringToParts(t);let e;if(this.shouldIncludeFractionalSeconds()){const s=P(this.step),n=this.delocalizeTimeStringToParts(t,"S");if(1===s)e=this.getTimeStringFromParts(0!==n.millisecond?n:i);else{const r=this.delocalizeTimeStringToParts(t,"SS");if(2===s)e=this.getTimeStringFromParts(0!==r.millisecond?r:0!==n.millisecond?n:i);else if(s>=3){const s=this.delocalizeTimeStringToParts(t,"SSS");e=this.getTimeStringFromParts(0!==s.millisecond?s:0!==r.millisecond?r:0!==n.millisecond?n:i)}}}else e=this.getTimeStringFromParts(i);return e}delocalizeTimeStringToParts(t,i){const e=this.localeConfig?.formats?.LTS,s=e.match(/ss\.*(S+)/g);if(i&&this.shouldIncludeFractionalSeconds()){this.localeConfig.formats.LTS=e.replace(s?s[0]:"ss",`ss.${i}`)}else s&&(this.localeConfig.formats.LTS=e.replace(s[0],"ss"));mt.updateLocale(this.getSupportedDayjsLocale(S(this.effectiveLocale)),this.localeConfig);const n=mt(t,["LTS","LT"]);return n.isValid()?{hour:n.get("hour"),minute:n.get("minute"),second:n.get("second"),millisecond:n.get("millisecond")}:{hour:null,minute:null,second:null,millisecond:null}}getTimeStringFromParts(t){let i="";return t?(null!==t.hour&&null!==t.minute&&(i=`${_(t.hour)}:${_(t.minute)}`,this.shouldIncludeSeconds()&&null!==t.second&&(i+=`:${_(t.second)}`,this.shouldIncludeFractionalSeconds()&&null!==t.millisecond))&&(i+=`.${(.001*t.millisecond).toFixed(P(this.step)).toString().replace("0.","")}`),i):i}getSupportedDayjsLocale(t){const i=t.toLowerCase();return"no"===i?"nb":"pt-pt"===i?"pt":i}async loadDateTimeLocaleData(){let t=S(this.effectiveLocale).toLowerCase();t=this.getSupportedDayjsLocale(t);const{default:i}=await xt.get(t)();this.localeConfig=i,mt.locale(this.localeConfig,null,!0),mt.updateLocale(t,this.getExtendedLocaleConfig(t))}getExtendedLocaleConfig(t){return"ar"===t?{meridiem:t=>t>12?"م":"ص",formats:{LT:"HH:mm A",LTS:"HH:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm A",LLLL:"dddd D MMMM YYYY HH:mm A"}}:"en-au"===t?{meridiem:t=>t>12?"pm":"am"}:"en-ca"===t?{meridiem:t=>t>12?"p.m.":"a.m."}:"el"===t?{meridiem:t=>t>12?"μ.μ.":"π.μ."}:"hi"===t?{formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, h:mm A",LLLL:"dddd, D MMMM YYYY, h:mm A"},meridiem:t=>t>12?"pm":"am"}:"ko"===t?{meridiem:t=>t>12?"오후":"오전"}:"zh-tw"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"}}:"zh-hk"===t?{formats:{LT:"AHH:mm",LTS:"AHH:mm:ss"},meridiem:t=>t>12?"下午":"上午"}:void 0}onLabelClick(){this.setFocus()}shouldIncludeSeconds(){return this.step<60}shouldIncludeFractionalSeconds(){return P(this.step)>0}connectedCallback(){u(this),Y(this),A(this.value)?this.setValueDirectly(this.value):this.value=void 0,p(this),a(this),$(this)}async componentWillLoad(){M(this),await Promise.all([I(this),this.loadDateTimeLocaleData()])}componentDidLoad(){y(this),A(this.value)&&this.setInputValue(T({value:this.value,locale:this.effectiveLocale,numberingSystem:this.numberingSystem,includeSeconds:this.shouldIncludeSeconds(),fractionalSecondDigits:P(this.step)})),this.openHandler()}disconnectedCallback(){d(this),v(this),o(this),j(this),w(this),O(this)}componentDidRender(){l(this)}render(){const{disabled:t,messages:i,readOnly:n,dialogId:r}=this;return e(s,{key:"5bf59228db214a262663f204d9633c77b969dcc2",onBlur:this.hostBlurHandler,onKeyDown:this.keyDownHandler},e(f,{key:"0ba712e725695bfae5c3d2bcfe151f5b3abe0baa",disabled:this.disabled},e("div",{key:"ac841ee97c7e970353494103f22ad596d7e8d080",class:"input-wrapper",onClick:this.onInputWrapperClick},e("calcite-input-text",{key:"d5e3ee19763195c57b75f7001301d9233d011c94","aria-autocomplete":"none","aria-errormessage":_t,"aria-haspopup":"dialog","aria-invalid":Z("invalid"===this.status),disabled:t,icon:"clock",id:this.referenceElementId,label:g(this),lang:this.effectiveLocale,onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextFocus:this.calciteInternalInputFocusHandler,readOnly:n,ref:this.setInputEl,role:"combobox",scale:this.scale,status:this.status}),!this.readOnly&&this.renderToggleIcon(this.open)),e("calcite-popover",{key:"c86106dcc1410ec7be8fdf4ced44a00a2bf3aa93",focusTrapDisabled:!0,id:r,label:i.chooseTime,lang:this.effectiveLocale,onCalcitePopoverBeforeClose:this.popoverBeforeCloseHandler,onCalcitePopoverBeforeOpen:this.popoverBeforeOpenHandler,onCalcitePopoverClose:this.popoverCloseHandler,onCalcitePopoverOpen:this.popoverOpenHandler,overlayPositioning:this.overlayPositioning,placement:this.placement,ref:this.setCalcitePopoverEl,referenceElement:this.referenceElementId,triggerDisabled:!0},e("calcite-time-picker",{key:"85d96849fc7e3859a72d2e738a67307d16faadb2",lang:this.effectiveLocale,messageOverrides:this.messageOverrides,numberingSystem:this.numberingSystem,onCalciteInternalTimePickerChange:this.timePickerChangeHandler,ref:this.setCalciteTimePickerEl,scale:this.scale,step:this.step,tabIndex:this.open?void 0:-1,value:this.value})),e(c,{key:"d63640ad5ab2acae003d02c7e22938e1875004cf",component:this}),this.validationMessage&&"invalid"===this.status?e(W,{icon:this.validationIcon,id:_t,message:this.validationMessage,scale:this.scale,status:this.status}):null))}renderToggleIcon(t){return e("span",{class:"toggle-icon"},e("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:F(this.scale)}))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],messageOverrides:["onMessagesChange"],numberingSystem:["numberingSystemWatcher"],step:["stepWatcher"],value:["valueWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};$t.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-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}.interaction-container{display:contents}::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;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing);--calcite-icon-color:var(--calcite-color-text-3)}.input-wrapper:hover .toggle-icon,calcite-input-text:focus+.toggle-icon{--calcite-icon-color:var(--calcite-color-text-1)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}:host([hidden]){display:none}[hidden]{display:none}";export{$t as I,mt as d}
|
@@ -0,0 +1,22 @@
|
|
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
|
+
import{a as e,r as a,h as i,H as t,g as r}from"./p-6eb37ed2.js";import{a as n,t as o}from"./p-c25e8c35.js";import{c as l}from"./p-1c249530.js";import{i as s}from"./p-4b9b7778.js";import{g as c}from"./p-aaa56cbf.js";import{c as d,d as m}from"./p-304cef31.js";import"./p-8bfa18b7.js";import"./p-64a34d92.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.2
|
11
|
+
*/const h="flip-rtl",f={},v={},p={s:16,m:24,l:32};
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
+
* v2.12.2
|
16
|
+
*/function g({icon:e,scale:a}){const i=p[a],t=function(e){const a=!isNaN(Number(e.charAt(0))),i=e.split("-");if(i.length>0){const a=/[a-z]/i;e=i.map(((e,i)=>e.replace(a,(function(e,a){return 0===i&&0===a?e:e.toUpperCase()})))).join("")}return a?`i${e}`:e}(e),r="F"===t.charAt(t.length-1);return`${r?t.substring(0,t.length-1):t}${i}${r?"F":""}`}function u(e){return f[e]}const b=class{constructor(e){a(this,e),this.icon=null,this.flipRtl=!1,this.scale="m",this.textLabel=void 0,this.pathData=void 0,this.visible=!1}connectedCallback(){this.visible||this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){this.intersectionObserver?.disconnect(),this.intersectionObserver=null}render(){const{el:e,flipRtl:a,pathData:r,scale:l,textLabel:s}=this,c=n(e),d=p[l],m=!!s,f=[].concat(r||"");return i(t,{key:"41c9d3006a5887061fdb2144102447b2f490eb72","aria-hidden":o(!m),"aria-label":m?s:null,role:m?"img":null},i("svg",{key:"9fc84ba4eac40fc822babbfe276b2add5ee1c952","aria-hidden":"true",class:{[h]:"rtl"===c&&a,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${d} ${d}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},f.map((e=>i("path","string"==typeof e?{d:e}:{d:e.d,opacity:"opacity"in e?e.opacity:1})))))}async loadIconPathData(){const{icon:a,scale:i,visible:t}=this;if(!s()||!a||!t)return;const r={icon:a,scale:i},n=u(g(r))||await async function(a){const i=g(a),t=u(i);if(t)return t;v[i]||(v[i]=fetch(e(`./assets/icon/${i}.json`)).then((e=>e.json())).catch((()=>(console.error(`"${i}" is not a valid calcite-ui-icon name`),""))));const r=await v[i];return f[i]=r,r}(r);a===this.icon&&(this.pathData=n)}waitUntilVisible(e){this.intersectionObserver=l("intersection",(a=>{a.forEach((a=>{a.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,e())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):e()}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};b.style=":host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}";
|
17
|
+
/*!
|
18
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
19
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
20
|
+
* v2.12.2
|
21
|
+
*/
|
22
|
+
const k={loader:"loader",loaderParts:"loader__svgs",loaderPart:"loader__svg",loaderPartId:e=>`${k.loaderPart}--${e}`,loaderText:"loader__text",loaderPercentage:"loader__percentage"},z=class{constructor(e){a(this,e),this.formatValue=()=>"determinate-value"!==this.type?`${this.value}`:this.formatter.format(this.value/100),this.inline=!1,this.label=void 0,this.scale="m",this.type=void 0,this.value=0,this.text="",this.effectiveLocale=""}connectedCallback(){d(this),this.updateFormatter()}disconnectedCallback(){m(this)}render(){const{el:e,inline:a,label:r,scale:n,text:o,type:l,value:s}=this,d=e.id||c(),m=a?this.getInlineSize(n):this.getSize(n),h=.45*m,f=`0 0 ${m} ${m}`,v=l?.startsWith("determinate"),p=2*h*Math.PI,g=s/100*p,u=p-g,b=Math.floor(s),z={r:h,cx:m/2,cy:m/2},y={"stroke-dasharray":`${g} ${u}`};return i(t,{key:"b84a28c551e2484735b2cb7bad89a7a1d608fe13","aria-label":r,id:d,role:"progressbar",...v?{"aria-valuenow":b,"aria-valuemin":0,"aria-valuemax":100,complete:100===b}:{}},i("div",{key:"7ea0d6f2a742c8950cff2196bc454cc8ec3be037",class:k.loaderParts},[1,2,3].map((e=>i("svg",{"aria-hidden":"true",class:{[k.loaderPart]:!0,[k.loaderPartId(e)]:!0},key:e,viewBox:f,...3===e&&v?{style:y}:{}},i("circle",{...z})))),v&&i("div",{key:"2732fc9cbbaade638eb6241776b2aecea6177ed5",class:k.loaderPercentage},this.formatValue())),o&&i("div",{key:"5050af5bb4d979e4f83ac997f0f98aa69be86f52",class:k.loaderText},o))}formatterPropsChange(){this.updateFormatter()}getSize(e){return{s:32,m:56,l:80}[e]}getInlineSize(e){return{s:12,m:16,l:20}[e]}updateFormatter(){"determinate-value"===this.type&&this.formatter?.resolvedOptions().locale!==this.effectiveLocale&&(this.formatter=new Intl.NumberFormat(this.effectiveLocale,{style:"percent"}))}get el(){return r(this)}static get watchers(){return{effectiveLocale:["formatterPropsChange"],type:["formatterPropsChange"]}}};z.style='@charset "UTF-8";@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0}}:host{position:relative;margin-inline:auto;display:none;align-items:center;justify-content:center;opacity:1;min-block-size:var(--calcite-loader-size);font-size:var(--calcite-loader-font-size);stroke:var(--calcite-color-brand);stroke-width:3;fill:none;transform:scale(1, 1);animation:loader-color-shift calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 2 / var(--calcite-internal-duration-factor)) alternate-reverse infinite linear;padding-block:var(--calcite-loader-padding, 4rem);will-change:contents}:host([scale=s]){--calcite-loader-font-size:var(--calcite-font-size--3);--calcite-loader-size:2rem;--calcite-loader-size-inline:0.75rem;--calcite-internal-loader-value-line-height:0.625rem}:host([scale=m]){--calcite-loader-font-size:var(--calcite-font-size-0);--calcite-loader-size:4rem;--calcite-loader-size-inline:1rem;--calcite-internal-loader-value-line-height:1.375rem}:host([scale=l]){--calcite-loader-font-size:var(--calcite-font-size-2);--calcite-loader-size:6rem;--calcite-loader-size-inline:1.5rem;--calcite-internal-loader-value-line-height:1.71875rem}:host([no-padding]){padding-block:0px}:host{display:flex}.loader__text{display:block;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-color-text-1);margin-block-start:calc(var(--calcite-loader-size) + 1.5rem)}.loader__percentage{display:block;text-align:center;color:var(--calcite-color-text-1);font-size:var(--calcite-loader-font-size);inline-size:var(--calcite-loader-size);line-height:var(--calcite-internal-loader-value-line-height);align-self:center}.loader__svgs{position:absolute;overflow:visible;opacity:1;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);inset-inline-start:50%;margin-inline-start:calc(var(--calcite-loader-size) / 2 * -1);animation-iteration-count:infinite;animation-timing-function:linear;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 6.66 / var(--calcite-internal-duration-factor));animation-name:loader-clockwise;display:flex}.loader__svg{position:absolute;inset-block-start:0px;transform-origin:center;overflow:visible;inset-inline-start:0;inline-size:var(--calcite-loader-size);block-size:var(--calcite-loader-size);animation-iteration-count:infinite;animation-timing-function:linear}.loader__svg--1{animation-name:loader-offset-1}.loader__svg--2{animation-name:loader-offset-2}.loader__svg--3{animation-name:loader-offset-3}:host([type=determinate]),:host([type=determinate-value]){animation:none;stroke:var(--calcite-color-border-3)}:host([type=determinate]) .loader__svgs,:host([type=determinate-value]) .loader__svgs{animation:none}:host([type=determinate]) .loader__svg--3,:host([type=determinate-value]) .loader__svg--3{animation:none;stroke:var(--calcite-color-brand);stroke-dasharray:150.79632;transform:rotate(-90deg);transition:all var(--calcite-internal-animation-timing-fast) linear}:host([inline]){position:relative;margin:0px;animation:none;stroke:currentColor;stroke-width:2;padding-block:0px;block-size:var(--calcite-loader-size-inline);min-block-size:var(--calcite-loader-size-inline);inline-size:var(--calcite-loader-size-inline);margin-inline-end:calc(var(--calcite-loader-size-inline) * 0.5);vertical-align:calc(var(--calcite-loader-size-inline) * -1 * 0.2)}:host([inline]) .loader__svgs{inset-block-start:0px;margin:0px;inset-inline-start:0;inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([inline]) .loader__svg{inline-size:var(--calcite-loader-size-inline);block-size:var(--calcite-loader-size-inline)}:host([complete]){opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity var(--calcite-internal-animation-timing-medium) linear 1000ms, transform var(--calcite-internal-animation-timing-medium) linear 1000ms}:host([complete]) .loader__svgs{opacity:0;transform:scale(0.75, 0.75);transform-origin:center;transition:opacity calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms, transform calc(180ms * var(--calcite-internal-duration-factor)) linear 800ms}:host([complete]) .loader__percentage{color:var(--calcite-color-brand);transform:scale(1.05, 1.05);transform-origin:center;transition:color var(--calcite-internal-animation-timing-medium) linear, transform var(--calcite-internal-animation-timing-medium) linear}.loader__svg--1{stroke-dasharray:27.9252444444 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 4.8 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-1{0%{stroke-dasharray:27.9252444444 251.3272;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-83.7757333333}100%{stroke-dasharray:27.9252444444 251.3272;stroke-dashoffset:-279.2524444444}}.loader__svg--2{stroke-dasharray:55.8504888889 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 6.4 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-2{0%{stroke-dasharray:55.8504888889 223.4019555556;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-97.7383555556}100%{stroke-dasharray:55.8504888889 223.4019555556;stroke-dashoffset:-279.2524444444}}.loader__svg--3{stroke-dasharray:13.9626222222 139.6262222222;animation-duration:calc(var(--calcite-internal-animation-timing-slow) / var(--calcite-internal-duration-factor) * 7.734 / var(--calcite-internal-duration-factor))}@keyframes loader-offset-3{0%{stroke-dasharray:13.9626222222 265.2898222222;stroke-dashoffset:0}50%{stroke-dasharray:139.6262222222 139.6262222222;stroke-dashoffset:-76.7944222222}100%{stroke-dasharray:13.9626222222 265.2898222222;stroke-dashoffset:-279.2524444444}}@keyframes loader-color-shift{0%{stroke:var(--calcite-color-brand)}33%{stroke:var(--calcite-color-brand-press)}66%{stroke:var(--calcite-color-brand-hover)}100%{stroke:var(--calcite-color-brand)}}@keyframes loader-clockwise{100%{transform:rotate(360deg)}}:host([hidden]){display:none}[hidden]{display:none}';export{b as calcite_icon,z as calcite_loader}
|
@@ -0,0 +1,6 @@
|
|
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
|
+
import{d as _}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var p={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(_){return _},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};_.locale(p,null,!0);export{p as default}
|
@@ -0,0 +1,6 @@
|
|
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
|
+
import{d as e}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var r={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};e.locale(r,null,!0);export{r as default}
|
@@ -0,0 +1,11 @@
|
|
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
|
+
import{r as t,h as i,g as s,c as e,F as a}from"./p-6eb37ed2.js";import{c as h}from"./p-1c249530.js";import{c as n,s as c,a as o}from"./p-3e828614.js";import{l as r,g as l,f as d}from"./p-2058b5d9.js";import{b as f,d as p,a as m,c as b}from"./p-d572627c.js";import"./p-4b9b7778.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.2
|
11
|
+
*/const y="frame",u="frame--advancing",g="frame--retreating",w=class{constructor(i){t(this,i),this.itemMutationObserver=h("mutation",(()=>this.updateFlowProps())),this.getFlowDirection=(t,i)=>t&&i>1||t>1?i<t?"retreating":"advancing":null,this.updateFlowProps=()=>{const{customItemSelectors:t,el:i,items:s}=this,e=Array.from(i.querySelectorAll("calcite-flow-item"+(t?`,${t}`:""))).filter((t=>t.closest("calcite-flow")===i)),a=s.length,h=e.length,n=e[h-1],c=e[h-2];if(h&&n&&e.forEach((t=>{t.showBackButton=t===n&&h>1,t.hidden=t!==n})),c&&(c.menuOpen=!1),this.items=e,a!==h){const t=this.getFlowDirection(a,h);this.itemCount=h,this.flowDirection=t}},this.customItemSelectors=void 0,this.flowDirection=null,this.itemCount=0,this.items=[]}async back(){const{items:t}=this,i=t[t.length-1];if(!i)return;const s=i.beforeBack?i.beforeBack:()=>Promise.resolve();try{await s.call(i)}catch(t){return}return i.remove(),i}async setFocus(){await n(this);const{items:t}=this,i=t[t.length-1];return i?.setFocus()}connectedCallback(){this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateFlowProps()}async componentWillLoad(){c(this)}componentDidLoad(){o(this)}disconnectedCallback(){this.itemMutationObserver?.disconnect()}async handleItemBackClick(t){if(!t.defaultPrevented)return await this.back(),this.setFocus()}render(){const{flowDirection:t}=this;return i("div",{key:"93590e2eec869cef65a59c01aa2c6001b431da9a",class:{[y]:!0,[u]:"advancing"===t,[g]:"retreating"===t}},i("slot",{key:"5b97e4147abb053391f170f5e36bac4670934072"}))}get el(){return s(this)}};w.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}:host ::slotted(calcite-flow-item),:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";const k=class{constructor(i){t(this,i),this.success=e(this,"success",7),this.fail=e(this,"fail",7),this.isActionPending=e(this,"isActionPending",7),this.formReady=e(this,"formReady",7),this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=void 0}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async close(){this._editor&&this._editor.destroy()}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this._getTranslations(),await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await r(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){const t=this._editorLoading?"":"display-none";return i(a,{key:"707536f66fc4de711e3f519a8869507bf2d6f566"},this.showGuidingMsg&&i("calcite-notice",{key:"c3fb5a706d250b6db7dac9ab20b949a81eeb0c5f",class:"notice-msg",icon:"lightbulb",kind:"success",open:!0},i("div",{key:"a9aa0a8137a256240c5e8d0c77dc364b31b5b2a1",slot:"message"},this._translations.provideDetailsMsg)),i("calcite-loader",{key:"4e1295a1a867da2c9f1fe4428bdc115bd8643f75",class:t,label:"",scale:"s"}))}async componentDidLoad(){await this.init()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),h=i.templates[0],n={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(n),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let h=s.keyField;const n=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=n.name,{[h]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}static get watchers(){return{mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};k.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";const v=class{constructor(i){t(this,i),this.loadingStatus=e(this,"loadingStatus",7),this.commentSelect=e(this,"commentSelect",7),this.addComment=e(this,"addComment",7),this.likeOrDislikeClicked=e(this,"likeOrDislikeClicked",7),this.featureSelectionChange=e(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.showUserImageInCommentsList=!1,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;addComment;likeOrDislikeClicked;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return i("calcite-panel",{key:"440e745ef61e578f88381920a3aeca1b54048612","full-height":!0},i("info-card",{key:"a1bb7f4809dbed25c34bd4307ad13b9a09c66b65",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&i("div",{key:"3caf1242f3c0f09b86ea146c9fb49bcea9306087",class:"buttons-container"},this._commentsAvailable&&i("calcite-button",{key:"e8873a1d0bd7132ced40543a0e6a9c3a8c7c72e1",appearance:"transparent",iconEnd:"speech-bubble",kind:"neutral",onClick:()=>{this.addComment.emit()},scale:"m"},this._relatedFeaturesOIDs.length),this._likeFieldAvailable&&i("calcite-button",{key:"cbbb6cf9c50cb360241d6e7f5d33c1713ec99017",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&i("calcite-button",{key:"92f4c79093e6793d9b4036f99837a9ad19efb3be",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&i("feature-list",{key:"95e25a9d10d7baea4a40c4fbbe5d9b19609d2790",class:"height-full",mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await r(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=await f(this.mapView);let s=null,e=null;if(i.some((i=>{if(t.url===i.url){const a=t.relationships.filter((t=>i.layerId===t.relatedTableId));if(a?.length)return s=i,e=a[0].id,!0}})),this.relatedTableId=s?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],a=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:e}),h=await t.queryRelatedFeatures(a).catch((t=>{console.error(t)})),n=[];h[i]&&h[i].features.forEach((t=>{n.push(t.attributes[s.objectIdField])})),this._relatedFeaturesOIDs=n,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((h=>{this._validFieldTypes.indexOf(h.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(h.name===e&&this.reportingOptions[t.id].like?i=!0:h.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const h=new this.Graphic;h.attributes=s;const n={updateFeatures:[h]};await e.applyEdits(n).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1,this.likeOrDislikeClicked.emit()}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};v.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}";const L=class{constructor(i){t(this,i),this.layerSelect=e(this,"layerSelect",7),this.layersListLoaded=e(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations(),this._isLoading=!0}async componentDidLoad(){await this.setLayers(),this._isLoading=!1}render(){return i(a,{key:"96f61a2b92d352cdc341961c54b9fdfb06bab6fc"},this._isLoading&&i("calcite-loader",{key:"948c5a101fe19294dbc99a5d015c4f08c3db7f24",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&i("calcite-notice",{key:"23a73833e78b0c0009453ecfbf9bc000f2f7ff33",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},i("div",{key:"da338486c22d7d70499713e22d45bd343c752e38",slot:"title"},this._translations.error),i("div",{key:"751c99a20af04f7253a518181d02a353e7f1b6b8",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&i("calcite-list",{key:"09c24ccb0ce715bc0606302af41571b5594e64b5","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&await this.initLayerHash()}async initLayerHash(){const t=[];this._layerItemsHash=await p(this.mapView,!0);const i=await m(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await b(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await d(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const s=this._layerItemsHash[t].formattedFeatureCount;return i("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},i("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==s&&""!==s&&i("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+s+")"),this.showNextIcon&&i("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await l(this.el);this._translations=t[0]}};L.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{w as calcite_flow,k as create_related_feature,v as feature_details,L as layer_list}
|
@@ -0,0 +1,6 @@
|
|
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
|
+
import{d as _}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var p={name:"el",weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),months:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαι_Ιουν_Ιουλ_Αυγ_Σεπτ_Οκτ_Νοε_Δεκ".split("_"),ordinal:function(_){return _},weekStart:1,relativeTime:{future:"σε %s",past:"πριν %s",s:"μερικά δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένα μήνα",MM:"%d μήνες",y:"ένα χρόνο",yy:"%d χρόνια"},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"}};_.locale(p,null,!0);export{p as default}
|
@@ -0,0 +1,6 @@
|
|
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
|
+
import{d as e}from"./p-924ec704.js";import"./p-6eb37ed2.js";import"./p-66b01781.js";import"./p-c25e8c35.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-1ce2608d.js";import"./p-4b9b7778.js";import"./p-64a34d92.js";import"./p-7c854814.js";import"./p-27d462c0.js";import"./p-3e828614.js";import"./p-304cef31.js";import"./p-1c249530.js";import"./p-c40b0ec5.js";import"./p-0ef9d36b.js";import"./p-f6f2018a.js";import"./p-d9e930c8.js";import"./p-1017609e.js";import"./p-ef67c743.js";import"./p-14f027b5.js";var m={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:function(e){return e+"º"}};e.locale(m,null,!0);export{m as default}
|
@@ -0,0 +1,6 @@
|
|
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
|
+
import{r as e,c as t,h as s,H as a,g as i}from"./p-6eb37ed2.js";import{d as c,e as o,t as r}from"./p-c25e8c35.js";import{c as d,u as n,d as h,I as l}from"./p-1ce2608d.js";import{a as p,s as b,b as f}from"./p-3e828614.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";const u=class{constructor(s){e(this,s),this.calciteCardGroupSelect=t(this,"calciteCardGroupSelect",6),this.items=[],this.udpateItemsOnSelectionModeChange=()=>{this.updateSlottedItems(this.slotRefEl),this.updateSelectedItems()},this.updateItemsOnSlotChange=e=>{this.updateSlottedItems(e.target),this.updateSelectedItems()},this.updateSlottedItems=e=>{this.items=e.assignedElements({flatten:!0}).filter((e=>e?.matches("calcite-card")))},this.updateSelectedItems=()=>{this.items.forEach((e=>{e.selectionMode=this.selectionMode})),this.setSelectedItems(!1)},this.setSelectedItems=(e,t)=>{t&&this.items.forEach((e=>{const s=t===e;switch(this.selectionMode){case"multiple":s&&(e.selected=!e.selected);break;case"single":e.selected=!!s&&!e.selected;break;case"single-persist":e.selected=!!s}})),this.selectedItems=this.items.filter((e=>e.selected)),e&&"none"!==this.selectionMode&&!this.disabled&&this.calciteCardGroupSelect.emit()},this.disabled=!1,this.label=void 0,this.selectionMode="none",this.selectedItems=[]}onSelectionModeChange(){this.udpateItemsOnSelectionModeChange()}connectedCallback(){d(this)}componentDidRender(){n(this)}componentDidLoad(){p(this)}disconnectedCallback(){h(this)}async componentWillLoad(){b(this)}calciteInternalCardKeyEventListener(e){if(e.composedPath().includes(this.el)){const t=this.items.filter((e=>!e.disabled));switch(e.detail.key){case"ArrowRight":c(t,e.target,"next");break;case"ArrowLeft":c(t,e.target,"previous");break;case"Home":c(t,e.target,"first");break;case"End":c(t,e.target,"last")}}}calciteCardSelectListener(e){e.composedPath().includes(this.el)&&!e.target.selectable&&this.setSelectedItems(!0,e.target)}async setFocus(){await f(this),this.disabled||o(this.items[0])}render(){const e="none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup";return s(a,{key:"f7d72ac0d0c8b0cec9b1c5c048ed2a8ee304d9e2"},s(l,{key:"b477bbced684168f1e68c1fe0d8511a689653995",disabled:this.disabled},s("div",{key:"ce0aa841b96ad23886e109203a14ac2b0e54b948","aria-disabled":r(this.disabled),"aria-label":this.label,class:"container",role:e},s("slot",{key:"338c12be0a5a675daf911aad6049aff6319d3064",onSlotchange:this.updateItemsOnSlotChange,ref:e=>this.slotRefEl=e}))))}get el(){return i(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};u.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{--calcite-card-group-gap:var(--calcite-size-md);display:block}.container{display:flex;flex-wrap:wrap;gap:var(--calcite-card-group-gap)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{u as calcite_card_group}
|
@@ -0,0 +1,12 @@
|
|
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
|
+
import{r as e,c as t,h as a,H as r,g as i,F as s}from"./p-6eb37ed2.js";import{a as o,h as n,b as c,i as h,j as d,n as l,p,k as f,l as g}from"./p-d36878db.js";import{c as v,t as u}from"./p-c25e8c35.js";import{I as y,c as b,u as m,d as w}from"./p-1ce2608d.js";import{i as x}from"./p-64a34d92.js";import{n as k}from"./p-304cef31.js";import{s as z,a as D,c as j}from"./p-3e828614.js";import{H as I}from"./p-1b229454.js";import{g as C}from"./p-27d462c0.js";import"./p-aaa56cbf.js";import"./p-8bfa18b7.js";import"./p-4b9b7778.js";import"./p-1c249530.js";const S=class{constructor(a){e(this,a),this.calciteDaySelect=t(this,"calciteDaySelect",6),this.calciteInternalDayHover=t(this,"calciteInternalDayHover",6),this.onClick=()=>{this.disabled||this.calciteDaySelect.emit()},this.keyDownHandler=e=>{x(e.key)&&(!this.disabled&&this.calciteDaySelect.emit(),e.preventDefault())},this.day=void 0,this.dateTimeFormat=void 0,this.disabled=!1,this.currentMonth=!1,this.selected=!1,this.highlighted=!1,this.range=!1,this.rangeEdge=void 0,this.startOfRange=!1,this.endOfRange=!1,this.rangeHover=!1,this.active=!1,this.scale=void 0,this.value=void 0}pointerOverHandler(){this.disabled||this.calciteInternalDayHover.emit()}async componentWillLoad(){z(this),this.parentDatePickerEl=v(this.el,"calcite-date-picker")}componentDidLoad(){D(this)}async setFocus(){await j(this),this.el.focus()}render(){const e=o(this.value).replaceAll("-","");if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;k.numberFormatOptions={useGrouping:!1,...e&&{numberingSystem:e},...t&&{locale:t}}}const t=k.localize(String(this.day)),i=this.dateTimeFormat.format(this.value);return a(r,{key:"21762e1ba60bf298f05cb5c0499eb57bfc5a279d","aria-disabled":u(this.disabled),"aria-label":i,"aria-selected":u(this.active),id:e,onClick:this.onClick,onKeyDown:this.keyDownHandler,role:"button",tabIndex:this.active&&!this.disabled?0:-1},a(y,{key:"449226e496db81d7a029172ae69e1bf9da229603",disabled:this.disabled},a("div",{key:"147f12c8bc782776df768e01ab8e6de0a6a2eb9f","aria-hidden":"true",class:{"day-v-wrapper":!0}},a("div",{key:"e38b3d2b999df042c92a609474a35ef2937dd024",class:"day-wrapper"},a("span",{key:"f8e97122b32053d78ff43ef85771fbeb8ff7b180",class:"day"},a("span",{key:"a10f30dea71f9774bdf10b55b3564f54c62e7970",class:"text"},t))))))}connectedCallback(){b(this)}componentDidRender(){m(this)}disconnectedCallback(){w(this)}get el(){return i(this)}};S.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;cursor:pointer;color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.day-v-wrapper{flex:1 1 auto}.day-wrapper{position:relative;display:flex;flex-direction:column;align-items:center}:host([range]) .day-wrapper::before,:host([range]) .day-wrapper::after,:host([range-hover]) .day-wrapper::before,:host([range-hover]) .day-wrapper::after{pointer-events:none;position:absolute;inset-block:0;content:"";block-size:var(--calcite-internal-day-size);inline-size:var(--calcite-internal-day-size)}.day{z-index:var(--calcite-z-index);display:flex;align-items:center;justify-content:center;border-radius:9999px;font-size:var(--calcite-font-size--2);line-height:1rem;line-height:1;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;background:none;box-shadow:0 0 0 2px transparent;block-size:var(--calcite-internal-day-size);inline-size:var(--calcite-internal-day-size)}.text{margin-block:1px 0px;margin-inline-start:0px}:host([scale=s]){--calcite-internal-day-size:27px}:host([scale=s]) .day-v-wrapper{padding-block:0.125rem}:host([scale=s]) .day-wrapper{padding:0px}:host([scale=s]) .day{font-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-internal-day-size:33px}:host([scale=m]) .day-v-wrapper{padding-block:0.25rem}:host([scale=m]) .day-wrapper{padding:0px}:host([scale=m]) .day{font-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-internal-day-size:43px}:host([scale=l]) .day-v-wrapper{padding-block:0.25rem}:host([scale=l]) .day-wrapper{padding-inline:0.25rem}:host([scale=l]) .day{font-size:var(--calcite-font-size-0)}:host(:not([current-month])) .day{opacity:var(--calcite-opacity-disabled)}:host(:hover:not([disabled]):not([selected])) .day,:host([active]:not([range]):not([selected])) .day{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:focus),:host([active]){outline:2px solid transparent;outline-offset:2px}:host(:focus:not([disabled])) .day{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([selected]) .day{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-color-brand);color:var(--calcite-color-foreground-1)}:host(:focus:not([disabled])) .day,:host([start-of-range]:not(:focus)) .day,:host([end-of-range]:not(:focus)) .day{box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}:host([range-hover]:not([selected])) .day-wrapper::before,:host([highlighted]:not([selected])) .day-wrapper::before{inset-inline-end:50%;border-radius:0}:host([range-hover]:not([selected])) .day-wrapper::after,:host([highlighted]:not([selected])) .day-wrapper::after{inset-inline-start:50%;border-radius:0}:host([range-hover]:not([selected])) .day,:host([highlighted]:not([selected])) .day{color:var(--calcite-color-text-1)}:host([highlighted]) .day-wrapper::before,:host([highlighted]) .day-wrapper::after,:host([selected]:not(.hover--outside-range)) .day-wrapper::before,:host([selected]:not(.hover--outside-range)) .day-wrapper::after{background-color:var(--calcite-color-foreground-current)}:host([range-hover]:not([selected])) .day-wrapper::before,:host([range-hover]:not([selected])) .day-wrapper::after{background-color:var(--calcite-color-foreground-2)}:host(:hover[range-hover]:not([selected]).focused--end) .day-wrapper::before,:host([highlighted][end-of-range]) .day-wrapper::before,:host([highlighted][range-edge=end]) .day-wrapper::before,:host([range-hover][range-edge=end]) .day-wrapper::before,:host(:hover[range-hover].focused--end.hover--outside-range) .day-wrapper::before{inset-inline-end:50%}:host(:hover[range-hover]:not([selected]).focused--end) .day-wrapper::after,:host([highlighted][end-of-range]) .day-wrapper::after,:host([highlighted][range-edge=end]) .day-wrapper::after,:host([range-hover][range-edge=end]) .day-wrapper::after,:host(:hover[range-hover].focused--end.hover--outside-range) .day-wrapper::after{inset-inline-start:50%;border-start-end-radius:var(--calcite-internal-day-size);border-end-end-radius:var(--calcite-internal-day-size);inline-size:calc(var(--calcite-internal-day-size) / 2)}:host([highlighted][start-of-range]) .day-wrapper::before,:host([highlighted][range-edge=start]) .day-wrapper::before,:host([range-hover][range-edge=start]) .day-wrapper::before,:host(:hover[range-hover]:not([selected]).focused--start) .day-wrapper::before,:host([start-of-range].hover--inside-range) .day-wrapper::before,:host(:hover[range-hover].focused--start.hover--outside-range) .day-wrapper::before{inset-inline-end:50%;border-start-start-radius:var(--calcite-internal-day-size);border-end-start-radius:var(--calcite-internal-day-size);inline-size:calc(var(--calcite-internal-day-size) / 2)}:host([highlighted][start-of-range]) .day-wrapper::after,:host([highlighted][range-edge=start]) .day-wrapper::after,:host([range-hover][range-edge=start]) .day-wrapper::after,:host(:hover[range-hover]:not([selected]).focused--start) .day-wrapper::after,:host([start-of-range].hover--inside-range) .day-wrapper::after,:host(:hover[range-hover].focused--start.hover--outside-range) .day-wrapper::after{inset-inline-start:50%}:host([range-hover][start-of-range][range-edge=end]) .day-wrapper::after,:host([range-hover][start-of-range][range-edge=end]) .day-wrapper::before,:host([range-hover][end-of-range][range-edge=start]) .day-wrapper::after,:host([range-hover][end-of-range][range-edge=start]) .day-wrapper::before,:host([start-of-range][range-edge=end].hover--inside-range) .day-wrapper::after,:host([start-of-range][range-edge=end].hover--inside-range) .day-wrapper::before,:host([end-of-range]) .day-wrapper::after,:host([end-of-range]) .day-wrapper::before{content:unset}:host(:hover[range-hover]:not([selected]).focused--start) .day,:host(:hover[range-hover]:not([selected]).focused--end) .day,:host(:hover[range-hover]:not([selected]).focused--start.hover--outside-range) .day,:host(:hover[range-hover]:not([selected]).focused--end.hover--outside-range) .day{box-shadow:0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){.day{border-radius:0px}:host([selected]){outline:2px solid canvasText}:host(:hover:not([selected])) .day{border-radius:50%}:host([range][selected]) .day-wrapper::before,:host([range][selected]) .day-wrapper::after,:host([highlighted]) .day-wrapper::before,:host([highlighted]) .day-wrapper::after,:host([range-hover]:not([selected])) .day-wrapper::before,:host([range-hover]:not([selected])) .day-wrapper::after{background-color:highlight}:host([range-hover]) .day-wrapper::before,:host([range-hover]) .day-wrapper::after,:host([range][selected][start-of-range]) .day-wrapper::before,:host([range][selected][start-of-range]) .day-wrapper::after,:host([range][selected][end-of-range]) .day-wrapper::before,:host([range][selected][end-of-range]) .day-wrapper::after{background-color:canvas}}:host([hidden]){display:none}[hidden]{display:none}';const M=class{constructor(a){e(this,a),this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6),this.calciteInternalDatePickerHover=t(this,"calciteInternalDatePickerHover",6),this.calciteInternalDatePickerActiveDateChange=t(this,"calciteInternalDatePickerActiveDateChange",6),this.calciteInternalDatePickerMouseOut=t(this,"calciteInternalDatePickerMouseOut",6),this.keyDownHandler=e=>{if(e.defaultPrevented)return;const t="rtl"===this.el.dir;switch(e.key){case"ArrowUp":e.preventDefault(),this.addDays(-7);break;case"ArrowRight":e.preventDefault(),this.addDays(t?-1:1);break;case"ArrowDown":e.preventDefault(),this.addDays(7);break;case"ArrowLeft":e.preventDefault(),this.addDays(t?1:-1);break;case"PageUp":e.preventDefault(),this.addMonths(-1);break;case"PageDown":e.preventDefault(),this.addMonths(1);break;case"Home":e.preventDefault(),this.activeDate.setDate(1),this.addDays();break;case"End":e.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays();break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=!1}},this.disableActiveFocus=()=>{this.activeFocus=!1},this.dayHover=e=>{const t=e.target;t.disabled?this.calciteInternalDatePickerMouseOut.emit():this.calciteInternalDatePickerHover.emit(t.value),e.stopPropagation()},this.daySelect=e=>{this.calciteInternalDatePickerSelect.emit(e.target.value)},this.dateTimeFormat=void 0,this.selectedDate=void 0,this.activeDate=new Date,this.startDate=void 0,this.endDate=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.hoverRange=void 0}pointerOutHandler(){this.calciteInternalDatePickerMouseOut.emit()}render(){const e=this.activeDate.getMonth(),t=this.activeDate.getFullYear(),i=this.localeData.weekStart%7,{abbreviated:s,short:o,narrow:c}=this.localeData.days,h="s"===this.scale?c||o||s:o||s||c,d=[...h.slice(i,7),...h.slice(0,i)],l=this.getCurrentMonthDays(e,t),p=this.getPreviousMonthDays(e,t,i),f=this.getNextMonthDays(e,t,i);let g=0;const v=()=>g++%7,u=[...p.map((a=>({active:!1,day:a,dayInWeek:v(),date:new Date(t,e-1,a)}))),...l.map((a=>{const r=new Date(t,e,a);return{active:n(r,this.activeDate),currentMonth:!0,day:a,dayInWeek:v(),date:r,ref:!0}})),...f.map((a=>({active:!1,day:a,dayInWeek:v(),date:new Date(t,e+1,a)})))];return a(r,{onFocusout:this.disableActiveFocus,onKeyDown:this.keyDownHandler},a("div",{class:"calendar",role:"grid"},a("div",{class:"week-headers",role:"row"},d.map((e=>a("span",{class:"week-header",role:"columnheader"},e)))),a("div",{class:"week-days",role:"row"},u.map(((e,t)=>this.renderDateDay(e,t))))))}addMonths(e){const t=new Date(this.activeDate);t.setMonth(this.activeDate.getMonth()+e),this.calciteInternalDatePickerActiveDateChange.emit(c(t,this.min,this.max)),this.activeFocus=!0}addDays(e=0){const t=new Date(this.activeDate);t.setDate(this.activeDate.getDate()+e),this.calciteInternalDatePickerActiveDateChange.emit(c(t,this.min,this.max)),this.activeFocus=!0}getPreviousMonthDays(e,t,a){const r=new Date(t,e,0),i=r.getDate(),s=r.getDay(),o=[];if(s===(a+6)%7)return o;if(s===a)return[i];for(let e=(7+s-a)%7;e>=0;e--)o.push(i-e);return o}getCurrentMonthDays(e,t){const a=new Date(t,e+1,0).getDate(),r=[];for(let e=0;e<a;e++)r.push(e+1);return r}getNextMonthDays(e,t,a){const r=new Date(t,e+1,0).getDay(),i=[];if(r===(a+6)%7)return i;for(let e=0;e<(6-(r-a))%7;e++)i.push(e+1);return i}betweenSelectedRange(e){return!(!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate)||this.isRangeHover(e))}isSelected(e){return!!(n(e,this.selectedDate)||this.startDate&&n(e,this.startDate)||this.endDate&&n(e,this.endDate))}isStartOfRange(e){return!(!this.startDate||n(this.startDate,this.endDate)||!n(this.startDate,e)||this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!n(this.startDate,this.endDate)&&n(this.endDate,e)||!this.endDate&&this.hoverRange&&n(this.startDate,this.hoverRange.end)&&n(e,this.hoverRange.end))}renderDateDay({active:e,currentMonth:t,date:r,day:i,dayInWeek:s,ref:o},c){const d=this.isFocusedOnStart(),l=this.isHoverInRange()||!this.endDate&&this.hoverRange&&n(this.hoverRange?.end,this.startDate);return a("div",{class:"day",key:c,role:"gridcell"},a("calcite-date-picker-day",{active:e,class:{"hover--inside-range":this.startDate&&l,"hover--outside-range":this.startDate&&!l,"focused--start":d,"focused--end":!d},currentMonth:t,dateTimeFormat:this.dateTimeFormat,day:i,disabled:!h(r,this.min,this.max),endOfRange:this.isEndOfRange(r),highlighted:this.betweenSelectedRange(r),onCalciteDaySelect:this.daySelect,onCalciteInternalDayHover:this.dayHover,range:!!this.startDate&&!!this.endDate&&!n(this.startDate,this.endDate),rangeEdge:0===s?"start":6===s?"end":void 0,rangeHover:this.isRangeHover(r),ref:t=>{o&&e&&this.activeFocus&&t?.setFocus()},scale:this.scale,selected:this.isSelected(r),startOfRange:this.isStartOfRange(r),value:r}))}isFocusedOnStart(){return"start"===this.hoverRange?.focused}isHoverInRange(){if(!this.hoverRange)return!1;const{start:e,end:t}=this.hoverRange;return!!(!this.isFocusedOnStart()&&this.startDate&&(!this.endDate||t<this.endDate)||this.isFocusedOnStart()&&this.startDate&&e>this.startDate)}isRangeHover(e){if(!this.hoverRange)return!1;const{start:t,end:a}=this.hoverRange,r=this.isFocusedOnStart(),i=this.isHoverInRange(),s=i&&(!r&&e>this.startDate&&(e<a||n(e,a))||r&&e<this.endDate&&(e>t||n(e,t))),o=!i&&(!r&&e>=this.endDate&&(e<a||n(e,a))||r&&(this.startDate&&e<this.startDate||this.endDate&&n(e,this.startDate))&&(t&&e>t||n(e,t)));return s||o}get el(){return i(this)}};M.style=":host([hidden]){display:none}[hidden]{display:none}.calendar{margin-block-end:0.25rem}.week-headers{display:flex;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;padding-inline:0.25rem}.week-header{text-align:center;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-3);inline-size:14.2857142857%}.day{display:flex;min-inline-size:0px;justify-content:center;inline-size:100%}.day calcite-date-picker-day{inline-size:100%}:host([scale=s]) .week-header{padding-inline:0px;padding-block:0.5rem 0.75rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .week-header{padding-inline:0px;padding-block:0.75rem 1rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]) .week-header{padding-inline:0px;padding-block:1rem 1.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}.week-days{display:grid;grid-template-columns:repeat(7, 1fr);grid-auto-rows:1fr;padding-block:0;padding-inline:6px}.week-days:focus{outline:2px solid transparent;outline-offset:2px}";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.2
|
11
|
+
*/
|
12
|
+
const P="chevron",H="year--suffix",R="text--reverse",Y=class{constructor(a){e(this,a),this.calciteInternalDatePickerSelect=t(this,"calciteInternalDatePickerSelect",6),this.onYearKey=e=>{const t=this.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault(),this.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault(),this.setYear({localizedYear:t,offset:1})}},this.onYearChange=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value)})},this.onYearInput=e=>{this.setYear({localizedYear:this.parseCalendarYear(e.target.value),commit:!1})},this.prevMonthClick=e=>{this.handleArrowClick(e,this.prevMonthDate)},this.prevMonthKeydown=e=>{x(e.key)&&this.prevMonthClick(e)},this.nextMonthClick=e=>{this.handleArrowClick(e,this.nextMonthDate)},this.nextMonthKeydown=e=>{x(e.key)&&this.nextMonthClick(e)},this.handleArrowClick=(e,t)=>{e.preventDefault(),this.calciteInternalDatePickerSelect.emit(t)},this.selectedDate=void 0,this.activeDate=void 0,this.headingLevel=void 0,this.min=void 0,this.max=void 0,this.scale=void 0,this.localeData=void 0,this.messages=void 0,this.nextMonthDate=void 0,this.prevMonthDate=void 0}componentWillLoad(){this.parentDatePickerEl=v(this.el,"calcite-date-picker")}connectedCallback(){this.setNextPrevMonthDates()}render(){return a("div",{key:"6e1476a12ba6ea69e21a6e2ad307ed524bdf3841",class:"header"},this.renderContent())}renderContent(){const{messages:e,localeData:t,activeDate:r}=this;if(!r||!t)return null;if(this.parentDatePickerEl){const{numberingSystem:e,lang:t}=this.parentDatePickerEl;k.numberFormatOptions={useGrouping:!1,...e&&{numberingSystem:e},...t&&{locale:t}}}const i=r.getMonth(),{months:o,unitOrder:n}=t,c=(o.wide||o.narrow||o.abbreviated)[i],h=this.formatCalendarYear(r.getFullYear()),l=d(n),p=l.indexOf("y")<l.indexOf("m"),f=t.year?.suffix;return a(s,null,a("a",{"aria-disabled":`${this.prevMonthDate.getMonth()===i}`,"aria-label":e.prevMonth,class:P,href:"#",onClick:this.prevMonthClick,onKeyDown:this.prevMonthKeydown,role:"button",tabindex:this.prevMonthDate.getMonth()===i?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-left",scale:C(this.scale)})),a("div",{class:{text:!0,[R]:p}},a(I,{class:"month",level:this.headingLevel},c),a("span",{class:"year-wrap"},a("input",{"aria-label":e.year,class:{year:!0,[H]:!!f},inputmode:"numeric",maxlength:"4",minlength:"1",onChange:this.onYearChange,onInput:this.onYearInput,onKeyDown:this.onYearKey,pattern:"\\d*",ref:e=>this.yearInput=e,type:"text",value:h}),f&&a("span",{class:"suffix"},f))),a("a",{"aria-disabled":`${this.nextMonthDate.getMonth()===i}`,"aria-label":e.nextMonth,class:P,href:"#",onClick:this.nextMonthClick,onKeyDown:this.nextMonthKeydown,role:"button",tabindex:this.nextMonthDate.getMonth()===i?-1:0},a("calcite-icon",{"flip-rtl":!0,icon:"chevron-right",scale:C(this.scale)})))}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=c(l(this.activeDate),this.min,this.max),this.prevMonthDate=c(p(this.activeDate),this.min,this.max))}formatCalendarYear(e){return k.localize(`${f(e,this.localeData)}`)}parseCalendarYear(e){return k.localize(`${g(Number(k.delocalize(e)),this.localeData)}`)}getInRangeDate({localizedYear:e,offset:t=0}){const{min:a,max:r,activeDate:i}=this,s=Number(k.delocalize(e)),o=s.toString().length,n=!isNaN(s)&&s+t,h=n&&(!a||a.getFullYear()<=n)&&(!r||r.getFullYear()>=n);if(n&&h&&o===e.length){const e=new Date(i);return e.setFullYear(n),c(e,a,r)}}setYear({localizedYear:e,commit:t=!0,offset:a=0}){const{yearInput:r,activeDate:i}=this,s=this.getInRangeDate({localizedYear:e,offset:a});s&&this.calciteInternalDatePickerSelect.emit(s),t&&(r.value=this.formatCalendarYear((s||i).getFullYear()))}get el(){return i(this)}static get watchers(){return{min:["setNextPrevMonthDates"],max:["setNextPrevMonthDates"],activeDate:["setNextPrevMonthDates"]}}};Y.style=":host{display:block}.header{display:flex;justify-content:space-between;padding-block:0px;padding-inline:0.25rem}:host([scale=s]) .text{margin-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .chevron{block-size:2.25rem}:host([scale=m]) .text{margin-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .chevron{block-size:3rem}:host([scale=l]) .text{margin-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .chevron{block-size:3.5rem}.chevron{margin-inline:-0.25rem;box-sizing:content-box;display:flex;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;background-color:var(--calcite-color-foreground-1);padding-inline:0.25rem;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inline-size:14.2857142857%}.chevron:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.chevron:hover,.chevron:focus{background-color:var(--calcite-color-foreground-2);fill:var(--calcite-color-text-1);color:var(--calcite-color-text-1)}.chevron:active{background-color:var(--calcite-color-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none;opacity:0}.text{margin-block:auto;display:flex;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:center;text-align:center;line-height:1}.text--reverse{flex-direction:row-reverse}.month,.year,.suffix{margin-inline:0.25rem;margin-block:auto;display:inline-block;background-color:var(--calcite-color-foreground-1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-color-text-1);font-size:inherit}.year{position:relative;inline-size:2.5rem;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent}.year:hover{transition-duration:100ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-property:outline-color;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}.year:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.year--suffix{text-align:start}.year-wrap{position:relative}.suffix{inset-block-start:0px;white-space:nowrap;text-align:start;inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}";export{S as calcite_date_picker_day,M as calcite_date_picker_month,Y as calcite_date_picker_month_header}
|