@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
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{h as t,r as i,c as e,H as s,g as a}from"./p-6eb37ed2.js";import{d as o}from"./p-e3196917.js";import{f as n,e as l}from"./p-ffbe2075.js";import{D as c,E as h,t as r}from"./p-8817162f.js";import{d,f as p,c as b,r as m,a as u,F as g}from"./p-e46f6b68.js";import{s as f,c as v,a as x,d as y,H as w}from"./p-eacb5b05.js";import{g as C}from"./p-c6296ee6.js";import{c as k,u as I,d as z,I as j}from"./p-53e0faf4.js";import{c as S,d as $,g as H}from"./p-cb860e39.js";import{b as D,c as E,s as A,a as L}from"./p-1b147794.js";import{c as O,d as _}from"./p-32539121.js";import{c as P}from"./p-3832f6b0.js";import{o as F}from"./p-071a80fb.js";import{D as M}from"./p-3edf491f.js";import{c as W,s as T,d as V,u as B}from"./p-2866ef30.js";import{g as G,c as R}from"./p-0afbf455.js";import{V as N}from"./p-96a7e73d.js";import{i as U,h as q,C as J,b as K,c as Q,d as X,e as Y,f as Z,j as tt,I as it}from"./p-14ac7f32.js";import{d as et}from"./p-c8d3207e.js";import{C as st}from"./p-51b004f6.js";import{g as at}from"./p-2058b5d9.js";import{d as ot,p as nt}from"./p-d572627c.js";import{s as lt}from"./p-5dcec135.js";import"./p-416c0818.js";import"./p-b51111e1.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-720a12c0.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.1
|
11
|
-
*/const ct="x-button",ht=({disabled:i,key:e,label:s,onClick:a,ref:o,scale:n})=>t("button",{"aria-label":s,class:ct,disabled:i,key:e,onClick:a,ref:o,tabIndex:-1,type:"button"},t("calcite-icon",{icon:"x",scale:G(n)})),rt="combobox-item-",dt="combobox-chip-",pt="combobox-label-",bt="combobox-listbox-",mt="combobox-input-",ut=class{constructor(t){i(this,t),this.calciteComboboxChange=e(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=e(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6),this.placement=d,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=P("mutation",(()=>this.updateItems())),this.resizeObserver=P("resize",(()=>{this.setMaxScrollerHeight(),this.refreshSelectionDisplay()})),this.guid=C(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?p(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>t?.value?.toString()));return t?.length?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=t=>{if(this.readOnly)return;const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.filterText?(this.addCustomChip(this.filterText,!0),t.preventDefault()):this.open?(this.open=!1,t.preventDefault()):!this.allowCustomValues&&this.filterText&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1));break;case"ArrowLeft":-1===this.activeChipIndex&&0!==this.textInput.selectionStart||(this.previousChip(),t.preventDefault());break;case"ArrowRight":-1!==this.activeChipIndex&&(this.nextChip(),t.preventDefault());break;case"ArrowUp":this.filteredItems.length&&(t.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView());break;case"ArrowDown":this.filteredItems.length&&(t.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView());break;case" ":this.textInput.value||t.defaultPrevented||(this.open||(this.open=!0,this.shiftActiveItemIndex(1)),t.preventDefault());break;case"Home":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.clearDisabled||this.open||this.clearValue(),this.open=!1,t.preventDefault();break;case"Enter":this.open&&this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),t.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),t.preventDefault()):this.allowCustomValues&&this.filterText?(this.addCustomChip(this.filterText,!0),t.preventDefault()):t.defaultPrevented||f(this)&&t.preventDefault();break;case"Delete":case"Backspace":if("single"===this.selectionDisplay||"fit"===this.selectionDisplay&&this.selectedHiddenChipsCount>0)return;this.activeChipIndex>-1?(t.preventDefault(),this.removeActiveChip()):!this.filterText&&this.isMulti()&&(t.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:t,open:i,referenceEl:e}=this;if(!t||!i)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"",t.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=t=>{this.open=!1;const i=this.items.find((i=>i===t));i&&this.toggleSelection(i,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=t=>{if(this.readOnly)return;const i=t.composedPath();return i.some((t=>"CALCITE-CHIP"===t.tagName))?(this.open=!1,void t.preventDefault()):i.some((t=>t.classList?.contains(ct)))?(this.clearValue(),void t.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.refreshSelectionDisplay=async()=>{if(await D(this),U(this.selectionMode))return;if(!this.textInput)return;const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:a,textInput:n}=this,l=parseInt(getComputedStyle(i).gap.replace("px","")),r=c(i),{fontSize:d,fontFamily:p}=getComputedStyle(n),b=(h(s,`${d} ${p}`)||parseInt(o))+l,m=c(t),u=c(a),g=Math.max(m,u);if(this.setCompactSelectionDisplay({chipContainerElGap:l,chipContainerElWidth:r,inputWidth:b,largestSelectedIndicatorChipWidth:g}),"fit"===e){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable)),i=Math.round(r-((this.selectedHiddenChipsCount>0?u:0)+l+b+l));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:l,chipEls:t}),this.setVisibleAndHiddenChips(t)}},this.setFloatingEl=t=>{this.floatingEl=t,b(this,this.referenceEl,this.floatingEl)},this.setContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t,this.transitionEl=t},this.setChipContainerEl=t=>{this.resizeObserver.observe(t),this.chipContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t,b(this,this.referenceEl,this.floatingEl)},this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t},this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t},this.inputHandler=t=>{this.filterText=t.target.value},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>t.tagName===tt?i===t.label:e===t.value&&i===t.textLabel));return et(((i,e=!1,s=!0)=>{const a=n(this.data,i),o=this.getItemsAndGroups(),c=""===i;o.forEach((i=>{if(c)return void(i.hidden=!1);const e=!t(i,a);i.hidden=e;const[s,o]=i.ancestors;(t(s,a)||t(o,a))&&(i.hidden=!1),e||i.ancestors.forEach((t=>t.hidden=!1))})),this.filterTextMatchPattern=this.filterText&&new RegExp(`(${l(this.filterText)})`,"i"),this.filteredItems=this.getFilteredItems(),this.filteredItems.forEach((t=>{t.filterTextMatchPattern=this.filterTextMatchPattern})),e&&(this.open=this.filterText.trim().length>0&&this.filteredItems.length>0),s&&this.calciteComboboxFilterChange.emit()}),M.filter)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=et(this.internalComboboxChangeEvent,0),this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!q(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),s=this.selectedItems.indexOf(i);return e>-1&&s>-1?e-s:s-e}))},this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getFilteredItems(),this.needsIcon=this.getNeedsIcon(),this.items.forEach((t=>{t.selectionMode=this.selectionMode,t.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((t,i,e)=>{0===i&&(t.afterEmptyGroup=!1);const s=e[i+1];s&&(s.afterEmptyGroup=0===t.children.length)}))},this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t)return;const i=this.calculateScrollerHeight(t),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<s&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{this.disabled||this.textInput?.focus()},this.clearDisabled=!1,this.filterText="",this.selectionDisplay="all",this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=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.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.status="idle",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.readOnly=!1,this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.compactSelectionDisplay=!1,this.selectedHiddenChipsCount=0,this.selectedVisibleChipsCount=0,this.effectiveLocale=void 0,this.defaultMessages=void 0}filterTextChange(t){this.updateActiveItemIndex(-1),this.filterItems(t,!0)}openHandler(){F(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(t){t||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}async documentClickHandler(t){this.disabled||t.composedPath().includes(this.el)||(await R(this.el),!this.allowCustomValues&&this.filterText&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),this.allowCustomValues&&this.filterText.trim().length&&this.addCustomChip(this.filterText),this.open=!1)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}calciteInternalComboboxItemChangeHandler(t){t.stopPropagation(),this.updateItems()}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:o}=this;return m(this,{floatingEl:i,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:o,type:"menu"},t)}async setFocus(){await E(this),this.textInput?.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){k(this),O(this),W(this),S(this),v(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.open&&(this.openHandler(),F(this)),b(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){A(this),this.updateItems(),await T(this),this.filterItems(this.filterText,!1,!1)}componentDidLoad(){x(this,this.getValue()),b(this,this.referenceEl,this.floatingEl),L(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),I(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),z(this),$(this),y(this),u(this,this.referenceEl,this.floatingEl),_(this),V(this)}effectiveLocaleChange(){B(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((t=>t.selected=!1)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}clearInputValue(){this.textInput.value="",this.filterText=""}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:t}=this,i=0===t.length?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(J.chipInvisible)}showChip(t){t.classList.remove(J.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(t.selected){const s=c(t);if(s&&s<i)return i-=s+e,void this.showChip(t)}else this.hideChip(t);this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const a=Math.round(s+t+e);(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<a)&&(this.maxCompactBreakpoint=a),this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{t.selected&&!t.classList.contains(J.chipInvisible)&&i++})),i!==this.selectedVisibleChipsCount&&(this.selectedVisibleChipsCount=i);const e=this.getSelectedItems().length-i;e!==this.selectedHiddenChipsCount&&(this.selectedHiddenChipsCount=e)}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,s=0;return t.length>i&&t.forEach((t=>{if(e<i){const i=this.calculateScrollerHeight(t);i>0&&(s+=i,e++)}})),s}calculateScrollerHeight(t){if(t)return t.getBoundingClientRect().height-Array.from(t.querySelectorAll(K)).reduce(((t,i)=>t+i.getBoundingClientRect().height),0)}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){!t||"single-persist"===this.selectionMode&&t.selected&&t.value===this.value||(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=Q(t)),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=X(t),e=Y(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{q(t)||(t.selected=!1)})))}getFilteredItems(){return""===this.filterText?this.items:this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({description:t.description,filterDisabled:t.filterDisabled,label:t.textLabel,metadata:t.metadata,shortHeading:t.shortHeading,value:t.value})))}getNeedsIcon(){return U(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.filterText=""}getItems(){return Array.from(this.el.querySelectorAll(Z)).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(tt))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement("calcite-combobox-item");e.value=t,e.textLabel=t,e.selected=!0,this.el.prepend(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.open=!0,this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){const t=this.selectedItems[this.activeChipIndex]?.guid,i=t?this.referenceEl.querySelector(`#${dt}${t}`):null;i?.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{s===t?(e.active=!0,i=`${rt}${e.guid}`):e.active=!1})),this.activeDescendant=i,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!U(this.selectionMode)}renderChips(){const{activeChipIndex:i,readOnly:e,scale:s,selectionMode:a,messages:o}=this;return this.selectedItems.map(((n,l)=>{const c={chip:!0,"chip--active":i===l},h=[...X(n)].reverse(),r=Q(n),d=[...h,n].map((t=>Q(t))),p="ancestors"!==a?r:d.join(" / ");return t("calcite-chip",{appearance:e?"outline":"solid",class:c,closable:!e,"data-test-id":`chip-${l}`,icon:n.icon,iconFlipRtl:n.iconFlipRtl,id:n.guid?`${dt}${n.guid}`:null,key:r,messageOverrides:{dismissLabel:o.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(n),onFocusin:()=>this.activeChipIndex=l,scale:s,selected:n.selected,tabindex:i===l?0:-1,title:p,value:n.value},p)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:a}=this,o=this.messages.allSelected;return t("calcite-chip",{class:{chip:!0,[J.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},ref:a,scale:e,title:o,value:""},o)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this,a=this.messages.all||"All";return t("calcite-chip",{class:{chip:!0,[J.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:a,value:""},a)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:a,selectedHiddenChipsCount:o,selectedVisibleChipsCount:n,setSelectedIndicatorChipEl:l}=this;let c,h;if(i)c=!0;else if("single"===e){const t=s().length;c=!(!this.isAllSelected()&&t>0),h=`${t} ${this.messages.selected}`}else"fit"===e&&(c=!!(this.isAllSelected()&&0===n||0===o),h=n>0?`+${o}`:`${o} ${this.messages.selected}`);return t("calcite-chip",{class:{chip:!0,[J.chipInvisible]:c},ref:l,scale:a,title:h,value:""},h)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:a,selectedHiddenChipsCount:o}=this;let n,l;if(i){const t=s().length;this.isAllSelected()?n=!0:"fit"===e?(n=!(o>0),l=`${o||0}`):"single"===e&&(n=!(t>0),l=`${t}`)}else n=!0;return t("calcite-chip",{class:{chip:!0,[J.chipInvisible]:n},scale:a,title:l,value:""},l)}get showingInlineIcon(){const{placeholderIcon:t,selectionMode:i,selectedItems:e,open:s}=this,a=e[0],o=a?.icon,n=U(i);return!s&&a?!!o&&n:!!t&&(!a||n)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:a,selectedItems:o,open:n}=this,l=U(a),c=o[0],h=!n&&l&&!!c;return t("span",{class:{"input-wrap":!0,"input-wrap--single":l}},h&&t("span",{class:{label:!0,"label--icon":!!c?.icon},key:"label"},Q(c)),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${bt}${i}`,"aria-errormessage":it.validationMessage,"aria-expanded":r(n),"aria-haspopup":"listbox","aria-invalid":r("invalid"===this.status),"aria-label":H(this),"aria-owns":`${bt}${i}`,class:{[J.input]:!0,"input--single":!0,"input--hidden":h,"input--icon":this.showingInlineIcon&&!!this.placeholderIcon},"data-test-id":"input",disabled:e,id:`${mt}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,readOnly:this.readOnly,ref:t=>this.textInput=t,role:"combobox",tabindex:-1===this.activeChipIndex?0:-1,type:"text",value:this.filterText}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":r(i.selected),id:i.guid?`${rt}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;return t("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:i},t("div",{class:{[J.listContainer]:!0,[g.animation]:!0,[g.animationActive]:s},ref:e},t("ul",{class:{list:!0,"list--hide":!s}},t("slot",null))))}renderSelectedOrPlaceholderIcon(){const{open:i,placeholderIcon:e,placeholderIconFlipRtl:s,selectedItems:a}=this,o=a[0],n=o?.icon,l=e&&(i||!o);return this.showingInlineIcon&&t("span",{class:"icon-start",key:"selected-placeholder-icon"},t("calcite-icon",{class:{[J.selectedIcon]:!l,[J.placeholderIcon]:l},flipRtl:l?s:o.iconFlipRtl,icon:l?e:n,scale:G(this.scale)}))}renderChevronIcon(){const{open:i}=this;return t("span",{class:"icon-end",key:"chevron"},t("calcite-icon",{class:J.icon,icon:i?"chevron-up":"chevron-down",scale:G(this.scale)}))}render(){const{selectionDisplay:i,guid:e,label:a,open:o,readOnly:n}=this,l=U(this.selectionMode),c="all"===i,h="single"===i,r=!l&&"fit"===i,d=!this.clearDisabled&&this.value?.length>0;return t(s,{key:"24749edfdb12a51e6e34c78d3428f83de7ac0457",onClick:this.comboboxFocusHandler},t(j,{key:"7300de366d86bcad91501f1124aed5f311820c37",disabled:this.disabled},t("div",{key:"fc8981935ffdd46fc5386517fce51170d41179a5","aria-live":"polite",class:{wrapper:!0,"wrapper--single":l||!this.selectedItems.length,"wrapper--active":o},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},this.renderSelectedOrPlaceholderIcon(),t("div",{class:{"grid-input":!0,[J.selectionDisplayFit]:r,[J.selectionDisplaySingle]:h},key:"grid",ref:this.setChipContainerEl},!l&&!h&&this.renderChips(),!l&&!c&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{key:"60ca38b6b84d8ccd3e11419ca494c8a3b310e631",class:"screen-readers-only",htmlFor:`${mt}${e}`,id:`${pt}${e}`},a),this.renderInput()),!n&&d?t(ht,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,!n&&this.renderChevronIcon()),t("ul",{key:"bb750b55b33af3a317ac7883d4f8ef88a23bf1c6","aria-labelledby":`${pt}${e}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${bt}${e}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t(w,{key:"bf9a9f0dc62822568377ee1e602e24ca14b9c895",component:this}),this.validationMessage&&"invalid"===this.status?t(N,{icon:this.validationIcon,id:it.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{filterText:["filterTextChange"],open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],effectiveLocale:["effectiveLocaleChange"]}}};ut.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:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;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;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.wrapper:hover .icon{color:var(--calcite-color-text-1)}:host(:focus-within) .wrapper,.wrapper--active{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([read-only]) .wrapper{background-color:var(--calcite-color-background)}:host([read-only]) .label{font-weight:var(--calcite-font-weight-medium)}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{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 )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s);margin-inline-end:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:-moz-placeholder-shown{text-overflow:ellipsis}.input:placeholder-shown{text-overflow:ellipsis}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.placeholder-icon{color:var(--calcite-color-text-3)}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.icon-end .icon{color:var(--calcite-color-text-3)}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset, left, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width, 100%)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}.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}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";const gt=class{constructor(t){i(this,t),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))},this.mutationObserver=P("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){this.updateItems(),this.mutationObserver?.observe(this.el,{childList:!0})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const i=this.groupTitle?t("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?t("div",{class:"dropdown-separator",role:"separator"}):null;return t(s,{key:"5e46ca1eb8f37e5af6f9ff4f417a9290c84f2f69","aria-label":this.groupTitle,role:"group"},t("div",{key:"af52f0ab422c21b0c10620b61fc7b6445d277878",class:{[st.container]:!0}},e,i,t("slot",{key:"e320a38a327d6ca9802c9664c93907df2705fbf3"})))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};gt.style=":host{position:relative;display:block}.container{text-align:start}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .dropdown-title{padding:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .dropdown-title{padding:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .dropdown-title{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}";const ft=class{constructor(t){i(this,t),this.idsFound=e(this,"idsFound",7),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return a(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_tableNameHash;async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];t!==this.selectedIds[0]&&this._setSelectedLayer(t)}}render(){const i="map-layer-picker";let e=this.height>0?{height:`${this.height.toString()}px`}:{};return e={...e,display:this.display},t(s,{key:"cd5647231dd3ed44a0acb155b00dbdfd25b54ab3"},t("div",{key:"9468d551facd02669c12a6b6b75c89fab9efa1da",class:"map-layer-picker-container",style:e},t("div",{key:"d434b15e27476b2207bcdaf00c1f06b746dc352b",class:"map-layer-picker",style:e},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(i):"select"===this.type?this._getSelect(i):this._getDropdown(i):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return t("div",null,t("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},t("div",{slot:"message"},this._translations.noLayersFound)),t("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},t("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){return t("div",{class:"layer-picker-label-container cursor-default"},t("calcite-icon",{icon:"layers",scale:"s"}),t("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(i){return t("calcite-select",{id:i,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(i){return t("calcite-combobox",{clearDisabled:!0,id:i,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(i){return t("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(i),t("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(i){return t("calcite-action",{id:i,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){return t("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:"layers",kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},t("div",null,this.selectedName))}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(i,e){const s="layer"===e?this._layerNameHash[i]:this._tableNameHash[i],a=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name,n=this.selectedIds.indexOf(i)>-1;return"combobox"===this.type?t("calcite-combobox-item",{disabled:a,selected:n,textLabel:o,value:i}):"select"===this.type?t("calcite-option",{disabled:a,label:o,selected:n,value:i}):t("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},t("calcite-dropdown-item",{"icon-start":e,onClick:a?void 0:()=>{this._setSelectedLayer(i)},selected:n},o))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds)}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await ot(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await nt(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(lt.managedLayers).indexOf(i)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const i=this._tableNameHash[t]?.name,e=i&&this.showTables;return e?lt.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(){const t=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(t)!==JSON.stringify([""])&&(this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const t=await at(this.el);this._translations=t[0]}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};ft.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{ut as calcite_combobox,gt as calcite_dropdown_group,ft as map_layer_picker}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,h as i,F as t,g as o}from"./p-6eb37ed2.js";import{c as a,d as r}from"./p-131ca2b1.js";import{g as s}from"./p-8817162f.js";import{H as c,c as n}from"./p-54713c54.js";import{l}from"./p-85002390.js";import{S as d,C as p}from"./p-58d0a9e8.js";import"./p-3832f6b0.js";import"./p-416c0818.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-a7ca67b9.js";l.deprecated("component",{name:"pick-list-group",removalVersion:3,suggested:"list-item-group"});const m=class{constructor(i){e(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){a(this)}disconnectedCallback(){r(this)}render(){const{el:e,groupTitle:o,headingLevel:a}=this,r=null!==s(e,d.parentItem),l={[p.container]:!0,[p.indented]:r},m=o,f=e.closest("calcite-pick-list")?.headingLevel,g=f?n(f+1):null;return i(t,{key:"ed20e87abe8e3b68153c0e132869953e379e76cd"},m?i(c,{class:p.heading,level:a||g},m):null,i("slot",{key:"cf2218ff15bf2d69ab1710bf7b272d0a32283bba",name:d.parentItem}),i("section",{key:"bbf9c988f97a38d8319feaf544090c35fb388f3e",class:l},i("slot",{key:"1a67fc5febf55333069ddc02577900f5e4e98171"})))}get el(){return o(this)}};m.style=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-color-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";export{m as calcite_pick_list_group}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
/*!
|
7
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
9
|
-
* v2.12.1
|
10
|
-
*/
|
11
|
-
const t={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},n={checked:"check",remove:"x"},a={actionsEnd:"actions-end",actionsStart:"actions-start"};export{t as C,n as I,a as S}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as s,h as i,g as e}from"./p-6eb37ed2.js";import{g as a}from"./p-8817162f.js";import{c,d as o,u as n,I as h}from"./p-53e0faf4.js";import{c as r,d as l,g as d}from"./p-cb860e39.js";import{s as b,a as p,c as f}from"./p-1b147794.js";import{c as u,d as m}from"./p-32539121.js";import{c as y}from"./p-3832f6b0.js";import{c as g,s as k,d as w,u as v}from"./p-2866ef30.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-416c0818.js";import"./p-0afbf455.js";import"./p-b51111e1.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.1
|
11
|
-
*/const C=class{constructor(i){t(this,i),this.calciteInlineEditableEditCancel=s(this,"calciteInlineEditableEditCancel",6),this.calciteInlineEditableEditConfirm=s(this,"calciteInlineEditableEditConfirm",6),this.calciteInternalInlineEditableEnableEditingChange=s(this,"calciteInternalInlineEditableEnableEditingChange",6),this.mutationObserver=y("mutation",(()=>this.mutationObserverCallback())),this.enableEditing=()=>{this.valuePriorToEditing=this.inputElement?.value,this.editingEnabled=!0,this.inputElement?.setFocus(),this.calciteInternalInlineEditableEnableEditingChange.emit()},this.disableEditing=()=>{this.editingEnabled=!1},this.cancelEditing=()=>{this.inputElement&&(this.inputElement.value=this.valuePriorToEditing),this.disableEditing(),this.enableEditingButton.setFocus(),!this.editingEnabled&&this.shouldEmitCancel&&this.calciteInlineEditableEditCancel.emit()},this.escapeKeyHandler=async t=>{t.defaultPrevented||("Escape"===t.key&&(t.preventDefault(),this.cancelEditing()),"Tab"===t.key&&this.shouldShowControls&&(t.shiftKey||t.target!==this.inputElement||(t.preventDefault(),this.cancelEditingButton.setFocus()),t.shiftKey&&t.target===this.cancelEditingButton&&(t.preventDefault(),this.inputElement?.setFocus())))},this.cancelEditingHandler=async t=>{t.preventDefault(),this.cancelEditing()},this.enableEditingHandler=async t=>{this.disabled||t.target===this.cancelEditingButton||t.target===this.confirmEditingButton||(t.preventDefault(),this.editingEnabled||this.enableEditing())},this.confirmChangesHandler=async t=>{t.preventDefault(),this.calciteInlineEditableEditConfirm.emit();try{this.afterConfirm&&(this.loading=!0,await this.afterConfirm(),this.disableEditing(),this.enableEditingButton.setFocus())}catch(t){}finally{this.loading=!1}},this.disabled=!1,this.editingEnabled=!1,this.loading=!1,this.controls=!1,this.scale=void 0,this.afterConfirm=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0}disabledWatcher(t){this.inputElement&&(this.inputElement.disabled=t)}editingEnabledWatcher(t,s){this.inputElement&&(this.inputElement.editingEnabled=t),!t&&s&&(this.shouldEmitCancel=!0)}onMessagesChange(){}connectedCallback(){c(this),r(this),u(this),g(this),this.mutationObserver?.observe(this.el,{childList:!0}),this.mutationObserverCallback()}async componentWillLoad(){b(this),await k(this)}componentDidLoad(){p(this)}disconnectedCallback(){o(this),l(this),m(this),w(this),this.mutationObserver?.disconnect()}componentDidRender(){n(this)}render(){return i(h,{key:"679bc60f370860de292d87bc9557f451f3674a4a",disabled:this.disabled},i("div",{key:"fa5d6c787837eeb8174dc45d7bcdc61b7e1c1851",class:"wrapper",onClick:this.enableEditingHandler,onKeyDown:this.escapeKeyHandler},i("div",{key:"2a432c9940c1652490168333d15c19396d149a10",class:"input-wrapper"},i("slot",{key:"80a11e4a0c3ace9a4ef5578f797e4a6b4b3f72e9"})),i("div",{key:"540e6cf43d413ebe15345a37902b110094010d57",class:"controls-wrapper"},i("calcite-button",{key:"1ee7fa765b9bd7745424bb8f8f524c0a9ba6c44e",appearance:"transparent",class:"enable-editing-button",disabled:this.disabled,iconStart:"pencil",kind:"neutral",label:this.messages.enableEditing,onClick:this.enableEditingHandler,ref:t=>this.enableEditingButton=t,scale:this.scale,style:{opacity:this.editingEnabled?"0":"1",width:this.editingEnabled?"0":"inherit"},type:"button"}),this.shouldShowControls&&[i("div",{key:"d9eb2bfc9affd4c7fb6510448476c5b83399a2ca",class:"cancel-editing-button-wrapper"},i("calcite-button",{key:"03243abe113f8e441e05f87feef164215082feda",appearance:"transparent",class:"cancel-editing-button",disabled:this.disabled,iconStart:"x",kind:"neutral",label:this.messages.cancelEditing,onClick:this.cancelEditingHandler,ref:t=>this.cancelEditingButton=t,scale:this.scale,type:"button"})),i("calcite-button",{key:"92bdc973c915fbf4980a1fb01ffd4cf9a9f41557",appearance:"solid",class:"confirm-changes-button",disabled:this.disabled,iconStart:"check",kind:"brand",label:this.messages.confirmChanges,loading:this.loading,onClick:this.confirmChangesHandler,ref:t=>this.confirmEditingButton=t,scale:this.scale,type:"button"})])))}blurHandler(){this.controls||this.disableEditing()}effectiveLocaleChange(){v(this,this.effectiveLocale)}async setFocus(){await f(this),this.el?.focus()}mutationObserverCallback(){this.updateSlottedInput(),this.scale=this.scale||this.inputElement?.scale}onLabelClick(){this.setFocus()}updateSlottedInput(){const t=a(this.el,{matches:"calcite-input"});this.inputElement=t,t&&(this.inputElement.disabled=this.disabled,this.inputElement.label=this.inputElement.label||d(this))}get shouldShowControls(){return this.editingEnabled&&this.controls}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{disabled:["disabledWatcher"],editingEnabled:["editingEnabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};C.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]) .controls-wrapper{block-size:1.5rem}:host([scale=m]) .controls-wrapper{block-size:2rem}:host([scale=l]) .controls-wrapper{block-size:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-color-foreground-2)}.wrapper{box-sizing:border-box;display:flex;justify-content:space-between;background-color:var(--calcite-color-foreground-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}.wrapper .input-wrapper{flex:1 1 0%}.controls-wrapper{display:flex}:host([disabled]) .cancel-editing-button-wrapper{border-color:var(--calcite-color-border-2)}: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{C as calcite_inline_editable}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as s,g as e,h as t,H as c}from"./p-6eb37ed2.js";const r=class{constructor(e){s(this,e)}get el(){return e(this)}render(){return t(c,{key:"184c77ba240a38a47fa12fdd7a5fd294ff0cc4e5"},t("slot",{key:"67984b53c6b441e16f624bff775b83cc56ddbcf2"}))}};r.style=":host{display:block}";export{r as list_flow_item}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as i,c as e,h as t,H as c,g as n}from"./p-6eb37ed2.js";import{c as o,d as a}from"./p-131ca2b1.js";import{g as r,a as s,t as l,c as d}from"./p-8817162f.js";import{C as h}from"./p-3edf491f.js";import{g as p}from"./p-0afbf455.js";import{s as m,a as v,c as f}from"./p-1b147794.js";import"./p-3832f6b0.js";import"./p-416c0818.js";import"./p-c6296ee6.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.1
|
11
|
-
*/const g="actions-start",b="actions-end",x="header",u="icon",k="icon--end",y="icon--start",w="section",j="section-toggle",I=class{constructor(t){i(this,t),this.calciteInternalAccordionItemSelect=e(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=e(this,"calciteInternalAccordionItemClose",6),this.storeHeaderEl=i=>{this.headerEl=i},this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconPosition=void 0,this.iconType=void 0,this.accordionParent=void 0,this.scale=void 0}connectedCallback(){o(this)}componentWillLoad(){m(this)}componentDidLoad(){v(this)}disconnectedCallback(){a(this)}renderActionsStart(){const{el:i}=this;return r(i,g)?t("div",{class:"actions-start"},t("slot",{name:g})):null}renderActionsEnd(){const{el:i}=this;return r(i,b)?t("div",{class:"actions-end"},t("slot",{name:b})):null}render(){const{iconFlipRtl:i}=this,e=s(this.el),n=this.iconStart?t("calcite-icon",{class:{[u]:!0,[y]:!0},flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:p(this.scale)}):null,o=this.iconEnd?t("calcite-icon",{class:{[k]:!0,[u]:!0},flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:p(this.scale)}):null,{description:a}=this;return t(c,{key:"814d4825cae2104f75b2f9929536082846cf57bd"},t("div",{key:"2db2128ea0666b97849c6dae790540f233c9d0c1",class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},t("div",{key:"64fe888d6f47db3f9338327280b3e321bb770518",class:{[x]:!0,[h.rtl]:"rtl"===e}},this.renderActionsStart(),t("div",{key:"9b76d09efa231d1840c913245832a10bedd8ea4b","aria-controls":w,"aria-expanded":l(this.expanded),class:"header-content",id:j,onClick:this.itemHeaderClickHandler,ref:this.storeHeaderEl,role:"button",tabindex:"0"},t("div",{key:"59c73bc01a0321f23b296b12fa4bd9476084ce4b",class:"header-container"},n,t("div",{key:"c9d3551a823a31d4cc54934f780272e437f38ef1",class:"header-text"},t("span",{key:"350ea0660f827ced975b326287dc285ad1417b4c",class:"heading"},this.heading),a?t("span",{class:"description"},a):null),o),t("calcite-icon",{key:"497edd46ef65a4ac27a844f7c6c5de5cfb2cb0e7",class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:p(this.scale)})),this.renderActionsEnd()),t("section",{key:"1b7cd480d664d6b3f65c145e19c5866107d19413","aria-labelledby":j,class:"content",id:w},t("slot",{key:"1156f3056966f11ee0836a5185cce700911c8c8b"}))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){const[e]=i.composedPath(),t=d(this.el,"calcite-accordion");e===t&&(this.determineActiveItem(t.selectionMode,i.detail.requestedAccordionItem),i.stopPropagation())}accordionItemSyncHandler(i){const[e]=i.composedPath(),t=this.el;if(t.parentElement===e)return;const c=d(t,"calcite-accordion");e===c&&(t.iconPosition=c.iconPosition,t.iconType=c.iconType,t.scale=c.scale,i.stopPropagation())}async setFocus(){await f(this),this.headerEl.focus()}determineActiveItem(i,e){switch(i){case"multiple":this.el===e&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===e&&!this.expanded;break;case"single-persist":this.expanded=this.el===e}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}get el(){return n(this)}};I.style=".icon-position--end,.icon-position--start{--calcite-internal-accordion-item-icon-rotation:calc(90deg * -1);--calcite-internal-accordion-item-active-icon-rotation:0deg;--calcite-internal-accordion-item-icon-rotation-rtl:90deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:0deg}:host{position:relative;display:flex;flex-direction:column;text-decoration-line:none;color:var(--calcite-accordion-text-color, var(--calcite-color-text-3));border-width:0}.icon-position--start{--calcite-internal-accordion-item-flex-direction:row-reverse;--calcite-internal-accordion-item-icon-spacing-start:0;--calcite-internal-accordion-item-icon-spacing-end:var(--calcite-internal-accordion-icon-margin)}.icon-position--end{--calcite-internal-accordion-item-flex-direction:row;--calcite-internal-accordion-item-icon-spacing-start:var(--calcite-internal-accordion-icon-margin);--calcite-internal-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-internal-accordion-item-icon-rotation:0deg;--calcite-internal-accordion-item-active-icon-rotation:180deg;--calcite-internal-accordion-item-icon-rotation-rtl:0deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}.content,.header{border-block-end-width:var(--calcite-border-width-sm);border-block-end-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2))}.header-content,.content{padding:var(--calcite-accordion-item-content-space, var(--calcite-internal-accordion-item-padding, var(--calcite-internal-accordion-item-spacing-unit, 0.5rem 0.75rem)))}.header{display:flex;align-items:stretch}.header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.header-content{flex-grow:1;cursor:pointer;outline-color:transparent;flex-direction:var(--calcite-internal-accordion-item-flex-direction)}.header-content: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 )}.header-content:focus,.header-content:hover,.header-content:active{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}.header-content:focus .expand-icon,.header-content:focus .heading,.header-content:hover .expand-icon,.header-content:hover .heading,.header-content:active .expand-icon,.header-content:active .heading{color:var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))}.header-container{inline-size:100%}.header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}.heading,.description{display:flex;inline-size:100%}.heading{font-weight:var(--calcite-font-weight-medium)}.actions-start,.actions-end{display:flex;align-items:center}.icon{display:flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-end)}.icon--start{margin-inline-end:var(--calcite-internal-accordion-icon-margin)}.icon--end{margin-inline-end:var(--calcite-internal-accordion-icon-margin);margin-inline-start:var(--calcite-internal-accordion-icon-margin)}.expand-icon{color:var(--calcite-accordion-text-color, var(--calcite-color-text-3));margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-internal-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-icon-rotation-rtl))}.description{margin-block-start:0.25rem}.content{display:none;padding-block-start:0px;text-align:initial}:host(:not(:focus):not(:hover):not([expanded])) .heading{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}:host([expanded]){color:var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))}:host([expanded]) .header{border-block-end-color:transparent}:host([expanded]) .expand-icon{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2));transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation-rtl))}:host([expanded]) .description{color:var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2))}:host([expanded]) .content{display:block}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}.header-content:hover .heading,.header-content:focus .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";export{I as calcite_accordion_item}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,c as t,h as i,g as s}from"./p-6eb37ed2.js";import{c as a,u as c,d as n,I as o}from"./p-53e0faf4.js";import{c as r}from"./p-3832f6b0.js";import{d as l}from"./p-8817162f.js";import"./p-416c0818.js";import"./p-c6296ee6.js";import"./p-3edf491f.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.1
|
11
|
-
*/const h=class{constructor(i){e(this,i),this.calciteTileGroupSelect=t(this,"calciteTileGroupSelect",6),this.items=[],this.getSlottedTiles=()=>this.slotEl?.assignedElements({flatten:!0}).filter((e=>e?.matches("calcite-tile"))),this.mutationObserver=r("mutation",(()=>this.updateTiles())),this.selectItem=e=>{e&&(this.items?.forEach((t=>{const i=e===t;switch(this.selectionMode){case"multiple":i&&(t.selected=!t.selected);break;case"single":t.selected=i&&!t.selected;break;case"single-persist":t.selected=!!i}})),this.updateSelectedItems(),this.calciteTileGroupSelect.emit())},this.setSlotEl=e=>{this.slotEl=e},this.updateSelectedItems=()=>{const e=this.items?.filter((e=>e.selected));("single"===this.selectionMode||"single-persist"===this.selectionMode)&&e?.length>1?(this.selectedItems=[e.pop()],this.items?.forEach((e=>{-1===this.selectedItems.indexOf(e)&&(e.selected=!1)}))):this.selectedItems=e??[]},this.updateTiles=()=>{this.items=this.getSlottedTiles(),this.items?.forEach((e=>{e.alignment=this.alignment,e.interactive=!0,e.layout=this.layout,e.scale=this.scale,e.selectionAppearance=this.selectionAppearance,e.selectionMode=this.selectionMode})),this.updateSelectedItems()},this.alignment="start",this.disabled=!1,this.label=void 0,this.layout="horizontal",this.scale="m",this.selectedItems=[],this.selectionAppearance="icon",this.selectionMode="none"}scaleWatcher(){this.updateTiles()}handleSelectionModeOrAppearanceChange(){this.updateTiles()}connectedCallback(){a(this),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateTiles()}componentDidRender(){c(this)}disconnectedCallback(){n(this),this.mutationObserver?.disconnect()}calciteInternalTileKeyEventListener(e){if(e.composedPath().includes(this.el)){e.preventDefault(),e.stopPropagation();const t=this.items?.filter((e=>!e.disabled));switch(e.detail.key){case"ArrowDown":case"ArrowRight":l(t,e.detail.target,"next");break;case"ArrowUp":case"ArrowLeft":l(t,e.detail.target,"previous");break;case"Home":l(t,e.detail.target,"first");break;case"End":l(t,e.detail.target,"last")}}}calciteTileSelectHandler(e){e.composedPath().includes(this.el)&&this.selectItem(e.target)}render(){return i(o,{key:"85de45a7ce2b724d46e4e7a6456e94da0b34ddb9",disabled:this.disabled},i("div",{key:"97b55eb827e1bd60b999eb42483119ff32a364a1","aria-label":this.label,class:"container",role:"none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup"},i("slot",{key:"ae45a8ec397c2a71c8e363eb4a37106b79807d6e",onSlotchange:this.updateTiles,ref:this.setSlotEl})))}get el(){return s(this)}static get watchers(){return{scale:["scaleWatcher"],selectionMode:["handleSelectionModeOrAppearanceChange"],selectionAppearance:["handleSelectionModeOrAppearanceChange"]}}};h.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{box-sizing:border-box;display:inline-block}:host ::slotted(calcite-tile){margin-block-end:var(--calcite-spacing-px);margin-inline-end:var(--calcite-spacing-px)}.container{display:grid;grid-auto-rows:minmax(auto, 1fr)}:host([scale=s]) .container{grid-template-columns:repeat(auto-fit, minmax(100px, 1fr))}:host([scale=m]) .container{grid-template-columns:repeat(auto-fit, minmax(140px, 1fr))}:host([scale=l]) .container{grid-template-columns:repeat(auto-fit, minmax(160px, 1fr))}:host([layout=vertical]) .container{display:flex;flex-direction:column}: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{h as calcite_tile_group}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as e,h as i,H as s,g as a}from"./p-6eb37ed2.js";import{s as n,a as l}from"./p-1b147794.js";import{u as c,s as o,c as h,d as r}from"./p-2866ef30.js";import{n as d,c as b,d as p}from"./p-32539121.js";import{g as f}from"./p-416c0818.js";import"./p-8817162f.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-b51111e1.js";import"./p-3832f6b0.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.1
|
11
|
-
*/const g="bordered",m="striped",u="table-container",v="table--fixed",y=class{constructor(i){t(this,i),this.calciteTableSelect=e(this,"calciteTableSelect",6),this.calciteTablePageChange=e(this,"calciteTablePageChange",6),this.calciteInternalTableRowFocusChange=e(this,"calciteInternalTableRowFocusChange",6),this.getSlottedRows=t=>t?.assignedElements({flatten:!0})?.filter((t=>t?.matches("calcite-table-row"))),this.updateRows=()=>{const t=this.getSlottedRows(this.tableHeadSlotEl)||[],e=this.getSlottedRows(this.tableBodySlotEl)||[],i=this.getSlottedRows(this.tableFootSlotEl)||[],s=[...t,...e,...i];t?.forEach((e=>{const i=t?.indexOf(e);e.rowType="head",e.positionSection=i,e.positionSectionLocalized=this.localizeNumber((i+1).toString())})),e?.forEach((t=>{const i=e?.indexOf(t);t.rowType="body",t.positionSection=i,t.positionSectionLocalized=this.localizeNumber((i+1).toString())})),i?.forEach((t=>{const e=i?.indexOf(t);t.rowType="foot",t.positionSection=e,t.positionSectionLocalized=this.localizeNumber((e+1).toString())})),s?.forEach((t=>{t.interactionMode=this.interactionMode,t.selectionMode=this.selectionMode,t.bodyRowCount=e?.length,t.positionAll=s?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT,t.lastVisibleRow=s?.indexOf(t)===s.length-1}));const a=t[0]?.cellCount||t[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=a,this.headRows=t,this.bodyRows=e,this.footRows=i,this.allRows=s,this.updateSelectedItems(),this.paginateRows()},this.handlePaginationChange=()=>{const t=this.paginationEl?.startItem;this.pageStartRow=t||1,this.calciteTablePageChange.emit(),this.updateRows()},this.paginateRows=()=>{this.bodyRows?.forEach((t=>{const e=t.positionSection+1;t.hidden=this.pageSize>0&&!(e>=this.pageStartRow&&e<this.pageStartRow+this.pageSize)&&!this.footRows.includes(t),t.lastVisibleRow=e===this.pageStartRow+this.pageSize-1||e===this.bodyRows.length}))},this.updateSelectedItems=t=>{const e=this.bodyRows?.filter((t=>t.selected));this.selectedItems=e,this.selectedCount=e?.length,this.allRows?.forEach((t=>{t.selectedRowCount=this.selectedCount,t.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)})),t&&this.calciteTableSelect.emit()},this.handleDeselectAllRows=()=>{this.bodyRows?.forEach((t=>{t.selected=!1})),this.updateSelectedItems(!0)},this.setSelectedItems=t=>{this.bodyRows?.forEach((e=>{e.selected="head"===t?.rowType?this.selectedCount!==this.bodyRows?.length:t===e?!e.selected:"multiple"===this.selectionMode&&e.selected})),this.updateSelectedItems(!0)},this.localizeNumber=t=>(d.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},d.localize(t.toString())),this.bordered=!1,this.caption=void 0,this.groupSeparator=!1,this.interactionMode="interactive",this.layout="auto",this.numbered=!1,this.numberingSystem=void 0,this.pageSize=0,this.scale="m",this.selectionMode="none",this.selectionDisplay="top",this.zebra=!1,this.striped=!1,this.selectedItems=[],this.messages=void 0,this.messageOverrides=void 0,this.colCount=0,this.pageStartRow=1,this.selectedCount=0,this.readCellContentsToAT=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}handleNumberedChange(){this.updateRows()}onMessagesChange(){}effectiveLocaleChange(){c(this,this.effectiveLocale)}async componentWillLoad(){n(this),await o(this),this.readCellContentsToAT=/safari/i.test(f()),this.updateRows()}componentDidLoad(){l(this)}connectedCallback(){b(this),h(this)}disconnectedCallback(){p(this),r(this)}calciteChipSelectListener(t){t.composedPath().includes(this.el)&&this.setSelectedItems(t.target)}calciteInternalTableRowFocusEvent(t){const e=t.detail.cellPosition,i=t.detail.rowPosition,s=t.detail.destination,a=t.detail.lastCell,n=this.bodyRows?.filter((t=>!t.hidden)),l=this.allRows?.filter((t=>!t.hidden)),c=this.headRows[this.headRows.length-1]?.positionAll,o=n[0]?.positionAll,h=n[n.length-1]?.positionAll,r=this.footRows[0]?.positionAll,d=l[l.length-1]?.positionAll,b="next"===s&&i===c,p="previous"===s&&i===r,f="previous"===s&&i===o,g="next"===s&&i===h;let m;switch(s){case"first":m=0;break;case"last":m=d;break;case"next":m=b?o:g?r:i+1;break;case"previous":m=p?h:f?c:i-1}const u=this.allRows?.find((t=>t.positionAll===m))?.cellCount;void 0!==m&&this.calciteInternalTableRowFocusChange.emit({cellPosition:e>u?u:e,rowPosition:m,destination:s,lastCell:a})}renderSelectionArea(){const t=this.selectedItems?.filter((t=>t.hidden))?.length,e=this.localizeNumber(t?.toString()),s=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,a=`${e} ${this.messages.hiddenSelected}`;return i("div",{class:"selection-area"},i("calcite-chip",{kind:this.selectedCount>0?"brand":"neutral",scale:this.scale,value:s},s),t>0&&i("calcite-chip",{icon:"hide-empty",scale:this.scale,title:a,value:a},e),this.selectedCount>0&&i("calcite-button",{"icon-start":"x",kind:"neutral",onClick:this.handleDeselectAllRows,round:!0,scale:this.scale,title:`${this.messages.clear} ${s} ${this.messages.row}`},this.messages.clear),i("div",{class:"selection-actions"},i("slot",{name:"selection-actions"})))}renderPaginationArea(){return i("div",{class:"pagination-area"},i("calcite-pagination",{groupSeparator:this.groupSeparator,numberingSystem:this.numberingSystem,onCalcitePaginationChange:this.handlePaginationChange,pageSize:this.pageSize,ref:t=>this.paginationEl=t,scale:this.scale,startItem:1,totalItems:this.bodyRows?.length}))}renderTHead(){return i("thead",null,i("slot",{name:"table-header",onSlotchange:this.updateRows,ref:t=>this.tableHeadSlotEl=t}))}renderTBody(){return i("tbody",null,i("slot",{onSlotchange:this.updateRows,ref:t=>this.tableBodySlotEl=t}))}renderTFoot(){return i("tfoot",null,i("slot",{name:"table-footer",onSlotchange:this.updateRows,ref:t=>this.tableFootSlotEl=t}))}render(){return i(s,{key:"977fbb58c0ee0fdb506ebed869b136767dc43873"},i("div",{key:"c9c0885932328c3d703abb32632f599404f8ac20",class:"container"},"none"!==this.selectionMode&&"none"!==this.selectionDisplay&&this.renderSelectionArea(),i("div",{key:"a6b5739bb1b0f6eafeb37959bc21e54374c4da23",class:{[g]:this.bordered,[m]:this.striped||this.zebra,[u]:!0}},i("table",{key:"209d92a0bdd6ca12f8571ba5ca325c993afc247d","aria-colcount":this.colCount,"aria-multiselectable":"multiple"===this.selectionMode,"aria-rowcount":this.allRows?.length,class:{[v]:"fixed"===this.layout},role:"interactive"===this.interactionMode?"grid":"table"},i("caption",{key:"099e0d60343af59b0e59f1baf6fbfb36ed4498ad",class:"assistive-text"},this.caption),this.renderTHead(),this.renderTBody(),this.renderTFoot())),this.pageSize>0&&this.renderPaginationArea()))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{groupSeparator:["handleNumberedChange"],interactionMode:["handleNumberedChange"],numbered:["handleNumberedChange"],numberingSystem:["handleNumberedChange"],pageSize:["handleNumberedChange"],scale:["handleNumberedChange"],selectionMode:["handleNumberedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=":host([scale=s]){--calcite-internal-table-cell-padding:0.25rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding:0.5rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding:1rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;block-size:100%;inline-size:100%;flex-direction:column}.table-container{overflow:auto;white-space:nowrap;border:1px solid var(--calcite-color-border-3)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color:var(--calcite-color-border-3)}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background:var(--calcite-color-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:0.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:0.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_table}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
/*!
|
7
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
9
|
-
* v2.12.1
|
10
|
-
*/
|
11
|
-
function n(n){return"Enter"===n||" "===n}const t=["0","1","2","3","4","5","6","7","8","9"];export{n as i,t as n}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
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-8817162f.js";import{c as s,d as l}from"./p-32539121.js";import{c as d,d as h,s as p,u as b}from"./p-2866ef30.js";import{c as f,a as m,s as v}from"./p-1b147794.js";import{c as g,u,d as k,I as w}from"./p-53e0faf4.js";import{i as x}from"./p-b51111e1.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-3832f6b0.js";import"./p-416c0818.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.1
|
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}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as e,h as s,H as o,g as i}from"./p-6eb37ed2.js";import{a,t as c}from"./p-8817162f.js";import{c as n,d as r,H as l}from"./p-eacb5b05.js";import{g as h}from"./p-c6296ee6.js";import{c as d,d as b,u as p,I as f}from"./p-53e0faf4.js";import{i as m}from"./p-b51111e1.js";import{c as g,d as u,g as k}from"./p-cb860e39.js";import{c as v,s as x,a as y}from"./p-1b147794.js";import{C as z}from"./p-3edf491f.js";import"./p-416c0818.js";import"./p-0afbf455.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.1
|
11
|
-
*/const w="toggle",j=class{constructor(s){t(this,s),this.calciteInternalCheckboxBlur=e(this,"calciteInternalCheckboxBlur",6),this.calciteCheckboxChange=e(this,"calciteCheckboxChange",6),this.calciteInternalCheckboxFocus=e(this,"calciteInternalCheckboxFocus",6),this.checkedPath="M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z",this.indeterminatePath="M13 8v1H3V8z",this.getPath=()=>this.indeterminate?this.indeterminatePath:this.checked?this.checkedPath:"",this.toggle=()=>{this.disabled||(this.checked=!this.checked,this.setFocus(),this.indeterminate=!1,this.calciteCheckboxChange.emit())},this.keyDownHandler=t=>{m(t.key)&&(this.toggle(),t.preventDefault())},this.clickHandler=()=>{this.disabled||this.toggle()},this.onToggleBlur=()=>{this.calciteInternalCheckboxBlur.emit(!1)},this.onToggleFocus=()=>{this.calciteInternalCheckboxFocus.emit(!0)},this.onLabelClick=()=>{this.toggle()},this.checked=!1,this.disabled=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.indeterminate=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.status="idle",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.value=void 0}async setFocus(){await v(this),this.toggleEl?.focus()}syncHiddenFormInput(t){t.type="checkbox"}connectedCallback(){this.guid=this.el.id||`calcite-checkbox-${h()}`,d(this),g(this),n(this)}disconnectedCallback(){b(this),u(this),r(this)}componentWillLoad(){x(this)}componentDidLoad(){y(this)}componentDidRender(){p(this)}render(){const t="rtl"===a(this.el);return s(o,{key:"29feebf02ef9c71ea9e6dafe0f5ed11b0cb89848",onClick:this.clickHandler,onKeyDown:this.keyDownHandler},s(f,{key:"e89b0df0f5638181e233bce9c454e48c6963de19",disabled:this.disabled},s("div",{key:"25a91677124b2b77e6e30bf371afce3153c26761","aria-checked":c(this.checked),"aria-label":k(this),class:{[w]:!0,[z.rtl]:t},onBlur:this.onToggleBlur,onFocus:this.onToggleFocus,ref:t=>this.toggleEl=t,role:"checkbox",tabIndex:this.disabled?void 0:0},s("svg",{key:"1aae8a62a1f771e2d3e7fb731bae49e608f15617","aria-hidden":"true",class:"check-svg",viewBox:"0 0 16 16"},s("path",{key:"27ea5db7e99c8f82f5e7773b684f64e9d9a8101a",d:this.getPath()})),s("slot",{key:"c6ea3d961bc6b3b7018378b8044691b88d65f2d3"})),s(l,{key:"bf3c47ad291541078a94dd46205e912622e85411",component:this})))}get el(){return i(this)}};j.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([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-color-foreground-1);fill:currentColor;stroke:currentColor;stroke-width: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;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input);color:var(--calcite-color-background)}:host([status=invalid]:not([checked])) .check-svg{box-shadow:inset 0 0 0 1px var(--calcite-color-status-danger)}:host([status=invalid]:not([checked])) .toggle: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([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-color-brand);box-shadow:inset 0 0 0 1px var(--calcite-color-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}.toggle{position:relative;outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{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 )}.toggle::after,.toggle::before{inset-block-start:50%;inset-inline-start:50%;min-block-size:1.5rem;min-inline-size:1.5rem;position:absolute}.toggle:not(.calcite--rtl)::after{content:"";transform:translateX(-50%) translateY(-50%)}.toggle.calcite--rtl::before{content:"";transform:translateX(50%) translateY(-50%)}: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([hidden]){display:none}[hidden]{display:none}';export{j as calcite_checkbox}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{f as t,h as e}from"./p-6eb37ed2.js";import{a as o}from"./p-8817162f.js";import{S as a}from"./p-8b54465a.js";import{S as n}from"./p-64e8c883.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.1
|
11
|
-
*/const i=t=>t.reduce(((t,e)=>t+e),0)/t.length,c=t=>{const e=t.filter((t=>t.slot!==a.menuActions)),o=e?.length;return{actionWidth:o?i(e.map((t=>t.clientWidth||0))):0,actionHeight:o?i(e.map((t=>t.clientHeight||0))):0}},l=({layout:t,actionCount:e,actionWidth:o,width:a,actionHeight:n,height:i,groupCount:c})=>Math.max(e-(({width:t,actionWidth:e,layout:o,height:a,actionHeight:n,groupCount:i})=>Math.floor((("horizontal"===o?t:a)-2*i)/("horizontal"===o?e:n)))({width:a,actionWidth:o,layout:t,height:i,actionHeight:n,groupCount:c}),0),r=t=>Array.from(t.querySelectorAll("calcite-action")).filter((t=>!t.closest("calcite-action-menu")||t.slot===n.trigger)),s=({actionGroups:e,expanded:o,overflowCount:n})=>{let i=n;e.reverse().forEach((e=>{let n=0;const c=r(e).reverse();c.forEach((t=>{t.slot===a.menuActions&&(t.removeAttribute("slot"),t.textEnabled=o)})),i>0&&c.some((t=>(c.filter((t=>!t.slot)).length>1&&c.length>2&&!t.closest("calcite-action-menu")&&(t.textEnabled=!0,t.setAttribute("slot",a.menuActions),n++,n>1&&i--),i<1))),t(e)}))};function p({el:t,expanded:e}){r(t).filter((t=>t.slot!==a.menuActions)).forEach((t=>t.textEnabled=e)),t.querySelectorAll("calcite-action-group, calcite-action-menu").forEach((t=>t.expanded=e))}const h=({expanded:t,expandText:a,collapseText:n,expandLabel:i,collapseLabel:c,toggle:l,el:r,position:s,tooltip:p,ref:h,scale:d})=>{const u="rtl"===o(r),g=t?n:a,f=t?c:i,m=["chevrons-left","chevrons-right"];u&&m.reverse();const x="end"===function(t,e){return t||e.closest("calcite-shell-panel")?.position||"start"}(s,r),b=e("calcite-action",{icon:t?x?m[1]:m[0]:x?m[0]:m[1],id:"expand-toggle",label:f,onClick:l,ref:e=>(({tooltip:t,referenceElement:e,expanded:o,ref:a})=>(t&&(t.referenceElement=!o&&e?e:null),a&&a(e),e))({tooltip:p,referenceElement:e,expanded:t,ref:h}),scale:d,text:g,textEnabled:t,title:t||p?null:g});return b};export{h as E,l as a,c as g,s as o,r as q,p as t}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
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-3832f6b0.js";import{c,s as n,a as o}from"./p-1b147794.js";import{l as r,f as l,g 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-416c0818.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.1
|
11
|
-
*/const y="frame",g="frame--advancing",u="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,c=e[h-1],n=e[h-2];if(h&&c&&e.forEach((t=>{t.showBackButton=t===c&&h>1,t.hidden=t!==c})),n&&(n.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 c(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(){n(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,[g]:"advancing"===t,[u]:"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._editorLoading=!1}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.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(){return i("calcite-loader",{key:"1238dfb67ae2c92cf4ca901b004421275921d7e4",class:this._editorLoading?"":"display-none",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],c={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:h};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(c),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 c=this.table.fields.find((t=>t.name.toLocaleLowerCase()===h.toLocaleLowerCase()));return h=c.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)))}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}";const v=class{constructor(i){t(this,i),this.loadingStatus=e(this,"loadingStatus",7),this.commentSelect=e(this,"commentSelect",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;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:"78ec0511a7742789b79b74014bb5f75e6730d03c","full-height":!0},i("info-card",{key:"79e5e23332c59b7ba069f7c0f9e61f58b8ffa247",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:"338d23e04cfe6c5ddc9b6c4aaedd0206fff700cd",class:"buttons-container"},this._commentsAvailable&&i("div",{key:"b62d2329ff2fe44ff55615e9b9dd7e39c9bf6a5d",class:"comment-btn"},i("span",{key:"62788ce338216eda2d531457a2978cbd959a2ad9"},this._relatedFeaturesOIDs.length),i("calcite-icon",{key:"84238a392ca1b96372882a1b40daf8969ab48338",icon:"speech-bubble",scale:"s"})),this._likeFieldAvailable&&i("calcite-button",{key:"0662c0cb848b8c72085efb7ded35071cbf47a9a6",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:"ef7c692a0e213c833cf3503441eb995afed02087",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:"9f335cea513da6483f3a4fc18e7c678ae6fdde36",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=t.relationships[0].relatedTableId,s=(await f(this.mapView)).filter((s=>t.url===s.url&&i===s.layerId)),e=s?.length>0?s[0]:null;if(this.relatedTableId=e?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],s=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:t.relationships[0].id}),a=await t.queryRelatedFeatures(s).catch((t=>{console.error(t)})),h=[];a[i]&&a[i].features.forEach((t=>{h.push(t.attributes[e.objectIdField])})),this._relatedFeaturesOIDs=h,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 c={updateFeatures:[h]};await e.applyEdits(c).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1}),(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)}.comment-btn{display:flex;gap:10px;font-size:var(--calcite-font-size--1);align-items:center;padding:7px 0.75rem}";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 l(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 d(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}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
/*!
|
7
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
9
|
-
* v2.12.1
|
10
|
-
*/
|
11
|
-
const t=()=>[2,1,1,1,3].map((t=>{let e="";for(let r=0;r<t;r++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return e})).join("-");export{t as g}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as e,h as i,H as o,g as a,F as n}from"./p-6eb37ed2.js";import{c as s,d as l}from"./p-131ca2b1.js";import{g as r,s as c,f as d,v as h,h as m}from"./p-8817162f.js";import{d as p,a as b,c as f,u}from"./p-6c44ba5f.js";import{s as x,a as g,c as v}from"./p-1b147794.js";import{c as w}from"./p-3832f6b0.js";import{o as k}from"./p-071a80fb.js";import{c as y,d as z}from"./p-32539121.js";import{s as C,c as j,d as S,u as M}from"./p-2866ef30.js";import{g as $,c as L}from"./p-0afbf455.js";import{l as O}from"./p-85002390.js";import{g as D}from"./p-2058b5d9.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-a7ca67b9.js";import"./p-416c0818.js";import"./p-b51111e1.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.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.1
|
11
|
-
*/const T="modal",E="header",F="container",H="container--open",B="container--embedded",A="content",I="content--no-footer",_="modal--opening-idle",P="modal--opening-active",W="modal--closing-idle",R="modal--closing-active",q="content",G="back",V="secondary",J="primary";let K=0,N="";O.deprecated("component",{name:"modal",removalVersion:4,suggested:"dialog"});const Q=class{constructor(i){t(this,i),this.calciteModalBeforeClose=e(this,"calciteModalBeforeClose",6),this.calciteModalClose=e(this,"calciteModalClose",6),this.calciteModalBeforeOpen=e(this,"calciteModalBeforeOpen",6),this.calciteModalOpen=e(this,"calciteModalOpen",6),this.ignoreOpenChange=!1,this.mutationObserver=w("mutation",(()=>this.handleMutationObserver())),this.cssVarObserver=w("mutation",(()=>{this.updateSizeCssVars()})),this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.openEnd=()=>{this.setFocus(),this.el.removeEventListener("calciteModalOpen",this.openEnd)},this.handleCloseClick=()=>{this.open=!1},this.handleOutsideClose=()=>{this.outsideCloseDisabled||(this.open=!1)},this.closeModal=async()=>{if(this.beforeClose)try{await this.beforeClose(this.el)}catch(t){return void requestAnimationFrame((()=>{this.ignoreOpenChange=!0,this.open=!0,this.ignoreOpenChange=!1}))}K--,this.opened=!1,this.removeOverflowHiddenClass()},this.handleMutationObserver=()=>{this.updateFooterVisibility(),this.updateFocusTrapElements()},this.updateFooterVisibility=()=>{this.hasFooter=!!r(this.el,[G,J,V])},this.updateSizeCssVars=()=>{this.cssWidth=getComputedStyle(this.el).getPropertyValue("--calcite-modal-width"),this.cssHeight=getComputedStyle(this.el).getPropertyValue("--calcite-modal-height")},this.contentTopSlotChangeHandler=t=>{this.hasContentTop=c(t)},this.contentBottomSlotChangeHandler=t=>{this.hasContentBottom=c(t)},this.open=!1,this.opened=!1,this.beforeClose=void 0,this.closeButtonDisabled=!1,this.focusTrapDisabled=!1,this.outsideCloseDisabled=!1,this.docked=void 0,this.embedded=!1,this.escapeDisabled=!1,this.scale="m",this.widthScale="m",this.fullscreen=void 0,this.kind=void 0,this.messages=void 0,this.messageOverrides=void 0,this.cssWidth=void 0,this.cssHeight=void 0,this.hasFooter=!0,this.hasContentTop=!1,this.hasContentBottom=!1,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(t){this.open&&(t?p(this):b(this))}onMessagesChange(){}async componentWillLoad(){await C(this),x(this),this.open&&this.openModal()}componentDidLoad(){g(this)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.cssVarObserver?.observe(this.el,{attributeFilter:["style"]}),this.updateSizeCssVars(),this.updateFooterVisibility(),s(this),y(this),j(this),f(this)}disconnectedCallback(){this.removeOverflowHiddenClass(),this.mutationObserver?.disconnect(),this.cssVarObserver?.disconnect(),l(this),p(this),z(this),S(this),this.embedded=!1}render(){return i(o,{key:"d40092ac4db27ed1c0e6daca0c14fd04ddb31d9a","aria-describedby":this.contentId,"aria-labelledby":this.titleId,"aria-modal":"true",role:"dialog"},i("div",{key:"4c83a7e297d6fffe5c2474470d5978f82845d6cd",class:{[F]:!0,[H]:this.opened,[B]:this.embedded}},i("calcite-scrim",{key:"a44f73d132b0b98006f537830d4f4f9aa7d511cd",class:"scrim",onClick:this.handleOutsideClose}),this.renderStyle(),i("div",{key:"3c08fd60cb8f90ba69a1293a4525fbd1c0262a02",class:{[T]:!0},ref:this.setTransitionEl},i("div",{key:"11e69d8bbc52b3cb58eccebb73729fa344b5e734",class:E},this.renderCloseButton(),i("header",{key:"30a4fb2e0cc53ce639fb40ec1b7956b262a5884c",class:"title"},i("slot",{key:"3782f2b397e46f3dd8e0d4253b1071b1d98ffb65",name:E}))),this.renderContentTop(),i("div",{key:"271a0f1f18e0e20614425005ec905201db0ec6db",class:{[A]:!0,[I]:!this.hasFooter},ref:t=>this.modalContent=t},i("slot",{key:"e5e55e5af91ab8d3971cb74c005656d9beb06e2f",name:q})),this.renderContentBottom(),this.renderFooter())))}renderFooter(){return this.hasFooter?i("div",{class:"footer",key:"footer"},i("span",{class:"back"},i("slot",{name:G})),i("span",{class:"secondary"},i("slot",{name:V})),i("span",{class:"primary"},i("slot",{name:J}))):null}renderContentTop(){return i("div",{class:"content-top",hidden:!this.hasContentTop},i("slot",{name:"content-top",onSlotchange:this.contentTopSlotChangeHandler}))}renderContentBottom(){return i("div",{class:"content-bottom",hidden:!this.hasContentBottom},i("slot",{name:"content-bottom",onSlotchange:this.contentBottomSlotChangeHandler}))}renderCloseButton(){return this.closeButtonDisabled?null:i("button",{"aria-label":this.messages.close,class:"close",key:"button",onClick:this.handleCloseClick,ref:t=>this.closeButtonEl=t,title:this.messages.close},i("calcite-icon",{icon:"x",scale:$(this.scale)}))}renderStyle(){if(!this.fullscreen&&(this.cssWidth||this.cssHeight))return i("style",null,`.${F} {\n ${this.docked&&this.cssWidth?"align-items: center !important;":""}\n }\n .${T} {\n block-size: ${this.cssHeight?this.cssHeight:"auto"} !important;\n ${this.cssWidth?`inline-size: ${this.cssWidth} !important;`:""}\n ${this.cssWidth?`max-inline-size: ${this.cssWidth} !important;`:""}\n ${this.docked?"border-radius: var(--calcite-border-radius) !important;":""}\n }\n @media screen and (max-width: ${this.cssWidth}) {\n .${F} {\n ${this.docked?"align-items: flex-end !important;":""}\n }\n .${T} {\n max-block-size: 100% !important;\n inline-size: 100% !important;\n max-inline-size: 100% !important;\n min-inline-size: 100% !important;\n margin: 0 !important;\n ${this.docked?"":"block-size: 100% !important;"}\n ${this.docked?"":"border-radius: 0 !important;"}\n ${this.docked?"border-radius: var(--calcite-border-radius) var(--calcite-border-radius) 0 0 !important;":""}\n }\n }\n `)}effectiveLocaleChange(){M(this,this.effectiveLocale)}handleEscape(t){!this.open||this.escapeDisabled||"Escape"!==t.key||t.defaultPrevented||(this.open=!1,t.preventDefault())}async setFocus(){await v(this),d(this.el)}async updateFocusTrapElements(){u(this)}async scrollContent(t=0,e=0){this.modalContent&&(this.modalContent.scrollTo?this.modalContent.scrollTo({top:t,left:e,behavior:"smooth"}):(this.modalContent.scrollTop=t,this.modalContent.scrollLeft=e))}onBeforeOpen(){this.transitionEl.classList.add(P),this.calciteModalBeforeOpen.emit()}onOpen(){this.transitionEl.classList.remove(_,P),this.calciteModalOpen.emit(),b(this)}onBeforeClose(){this.transitionEl.classList.add(R),this.calciteModalBeforeClose.emit()}onClose(){this.transitionEl.classList.remove(W,R),this.calciteModalClose.emit(),p(this)}toggleModal(t){this.ignoreOpenChange||(t?this.openModal():this.closeModal())}handleOpenedChange(t){this.transitionEl.classList.add(t?_:W),k(this)}async openModal(){await L(this.el),this.el.addEventListener("calciteModalOpen",this.openEnd),this.opened=!0;const t=r(this.el,"header"),e=r(this.el,q);this.titleId=h(t),this.contentId=h(e),this.embedded||(0===K&&(N=document.documentElement.style.overflow),K++,document.documentElement.style.setProperty("overflow","hidden"))}removeOverflowHiddenClass(){document.documentElement.style.setProperty("overflow",N)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],open:["toggleModal"],opened:["handleOpenedChange"]}}};Q.style=":host{--calcite-modal-scrim-background:rgba(0, 0, 0, 0.85);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-scrim-background-internal:rgba(0, 0, 0, 0.85)}.content-top[hidden],.content-bottom[hidden]{display:none}.container{position:fixed;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;align-items:center;justify-content:center;overflow-y:hidden;color:var(--calcite-color-text-2);opacity:0;visibility:hidden !important;transition:visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88)}:host([scale=s]){--calcite-modal-padding-internal:0.75rem;--calcite-modal-padding-large-internal:1rem;--calcite-modal-title-text-internal:var(--calcite-font-size-1);--calcite-modal-content-text-internal:var(--calcite-font-size--1)}:host([scale=m]){--calcite-modal-padding-internal:1rem;--calcite-modal-padding-large-internal:1.25rem;--calcite-modal-title-text-internal:var(--calcite-font-size-2);--calcite-modal-content-text-internal:var(--calcite-font-size-0)}:host([scale=l]){--calcite-modal-padding-internal:1.25rem;--calcite-modal-padding-large-internal:1.5rem;--calcite-modal-title-text-internal:var(--calcite-font-size-3);--calcite-modal-content-text-internal:var(--calcite-font-size-1)}.scrim{--calcite-scrim-background:var(--calcite-modal-scrim-background, var(--calcite-color-transparent-scrim));position:fixed;inset:0px;display:flex;overflow-y:hidden}.modal{pointer-events:none;z-index:var(--calcite-z-index-modal);float:none;margin:1.5rem;box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;overflow:hidden;border-radius:0.25rem;background-color:var(--calcite-color-foreground-1);opacity:0;--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);-webkit-overflow-scrolling:touch;visibility:hidden;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear var(--calcite-internal-animation-timing-slow), opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);--calcite-modal-hidden-position:translate3d(0, 20px, 0);--calcite-modal-shown-position:translate3d(0, 0, 0)}.modal--opening-idle{transform:var(--calcite-modal-hidden-position)}.modal--opening-active{transform:var(--calcite-modal-shown-position)}.modal--closing-idle{transform:var(--calcite-modal-shown-position)}.modal--closing-active{transform:var(--calcite-modal-hidden-position)}:host([opened]){opacity:1;visibility:visible !important;transition-delay:0ms}.container--open{opacity:1;visibility:visible !important;transition-delay:0ms}.container--open .modal{pointer-events:auto;visibility:visible;opacity:1;transition:transform var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), visibility 0ms linear, opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-inline-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), max-block-size var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88);transition-delay:0ms}.header{z-index:var(--calcite-z-index-header);display:flex;min-inline-size:0px;max-inline-size:100%;border-start-start-radius:0.25rem;border-start-end-radius:0.25rem;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto}.close{order:2;margin:0px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;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;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-internal);flex:0 0 auto}.close calcite-icon{pointer-events:none;vertical-align:-2px}.close: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 )}.close:hover,.close:focus,.close:active{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.title{order:1;display:flex;min-inline-size:0px;align-items:center;flex:1 1 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}slot[name=header]::slotted(*),*::slotted([slot=header]){margin:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1);font-size:var(--calcite-modal-title-text-internal)}.content{position:relative;box-sizing:border-box;display:block;block-size:100%;overflow:auto;padding:0px;background-color:var(--calcite-modal-content-background, var(--calcite-color-foreground-1));max-block-size:100%;padding:var(--calcite-modal-content-padding, var(--calcite-modal-padding-internal))}.content-top,.content-bottom{z-index:var(--calcite-z-index-header);display:flex;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding:var(--calcite-modal-padding-internal)}.content-top{min-inline-size:0px;max-inline-size:100%;border-block-end-width:1px}.content-bottom{margin-block-start:auto;box-sizing:border-box;inline-size:100%;justify-content:space-between;border-block-start-width:1px}.content-top:not(.header~.content-top){border-start-start-radius:0.25rem;border-start-end-radius:0.25rem}.content-bottom:not(.content-bottom~.footer),.content--no-footer{border-end-end-radius:0.25rem;border-end-start-radius:0.25rem}slot[name=content]::slotted(*),*::slotted([slot=content]){font-size:var(--calcite-modal-context-text-internal)}.footer{z-index:var(--calcite-z-index-header);margin-block-start:auto;box-sizing:border-box;display:flex;inline-size:100%;justify-content:space-between;border-end-end-radius:0.25rem;border-end-start-radius:0.25rem;border-width:0px;border-block-start-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1);flex:0 0 auto;padding-block:var(--calcite-modal-padding-internal);padding-inline:var(--calcite-modal-padding-large-internal)}.footer--hide-back .back,.footer--hide-secondary .secondary{display:none}.back{display:block;margin-inline-end:auto}.secondary{margin-inline:0.25rem;display:block}slot[name=primary]{display:block}:host([width=small]) .modal{inline-size:auto}:host([width-scale=s]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 32rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 35rem){:host([width-scale=s]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=s]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=s][docked]) .container{align-items:flex-end}}:host([width-scale=m]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 48rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 51rem){:host([width-scale=m]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=m]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=m][docked]) .container{align-items:flex-end}}:host([width-scale=l]) .modal{max-block-size:100%;max-inline-size:100%;inline-size:var(--calcite-modal-width, 94rem);block-size:var(--calcite-modal-height, auto)}@media screen and (max-width: 97rem){:host([width-scale=l]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%}:host([width-scale=l]) .content{flex:1 1 auto;max-block-size:unset}:host([width-scale=l][docked]) .container{align-items:flex-end}}:host([fullscreen]) .modal{margin:0px;block-size:100%;max-block-size:100%;inline-size:100%;max-inline-size:100%;border-radius:0px;--calcite-modal-hidden-position:translate3D(0, 20px, 0) scale(0.95);--calcite-modal-shown-position:translate3D(0, 0, 0) scale(1)}:host([fullscreen]) .content{max-block-size:100%;flex:1 1 auto}:host([opened][fullscreen]) .header,:host([opened][fullscreen]) .footer,:host([opened][fullscreen]) .content-top,:host([opened][fullscreen]) .content-bottom{border-radius:0}:host([docked]) .modal{block-size:var(--calcite-modal-height, auto)}:host([docked]) .content{block-size:auto;flex:1 1 auto}:host([kind=brand]) .modal{border-color:var(--calcite-color-brand)}:host([kind=danger]) .modal{border-color:var(--calcite-color-status-danger)}:host([kind=info]) .modal{border-color:var(--calcite-color-status-info)}:host([kind=success]) .modal{border-color:var(--calcite-color-status-success)}:host([kind=warning]) .modal{border-color:var(--calcite-color-status-warning)}:host([kind=brand]) .modal,:host([kind=danger]) .modal,:host([kind=info]) .modal,:host([kind=success]) .modal,:host([kind=warning]) .modal{border-width:0px;border-block-start-width:4px;border-style:solid}:host([kind=brand]) .header,:host([kind=brand]) .content-top,:host([kind=danger]) .header,:host([kind=danger]) .content-top,:host([kind=info]) .header,:host([kind=info]) .content-top,:host([kind=success]) .header,:host([kind=success]) .content-top,:host([kind=warning]) .header,:host([kind=warning]) .content-top{border-radius:0.25rem;border-end-end-radius:0px;border-end-start-radius:0px}@media screen and (max-width: 860px){* slot[name=header]::slotted(content-top),* content-top::slotted([slot=header]){font-size:var(--calcite-font-size-1)}.footer,.content-bottom{position:sticky;inset-block-end:0px}}@media screen and (max-width: 480px){.footer,.content-bottom{flex-direction:column}.back,.secondary{margin:0px;margin-block-end:0.25rem}}.container--embedded{position:absolute;pointer-events:auto}.container--embedded calcite-scrim{position:absolute}:host([hidden]){display:none}[hidden]{display:none}";
|
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.1
|
16
|
-
*/
|
17
|
-
const U="content",X="content--behind",Y="content-bottom",Z="center-content",tt=class{constructor(e){t(this,e),this.handleHeaderSlotChange=t=>{this.hasHeader=!!c(t)},this.handleFooterSlotChange=t=>{this.hasFooter=!!c(t)},this.handleAlertsSlotChange=t=>{this.hasAlerts=!!c(t),m(t)?.map((t=>{"CALCITE-ALERT"===t.tagName&&(t.embedded=!0)}))},this.handleSheetsSlotChange=t=>{this.hasSheets=!!c(t),m(t)?.map((t=>{"CALCITE-SHEET"===t.tagName&&(t.embedded=!0)}))},this.handleModalsSlotChange=t=>{this.hasModals=!!c(t),m(t)?.map((t=>{"CALCITE-MODAL"===t.tagName&&(t.embedded=!0)}))},this.handlePanelTopChange=t=>{this.hasPanelTop=c(t)},this.handlePanelBottomChange=t=>{this.hasPanelBottom=c(t)},this.handleDialogsSlotChange=t=>{this.hasDialogs=!!c(t),m(t)?.map((t=>{"CALCITE-DIALOG"===t.tagName&&(t.embedded=!0)}))},this.contentBehind=!1,this.hasHeader=!1,this.hasFooter=!1,this.hasAlerts=!1,this.hasModals=!1,this.hasDialogs=!1,this.hasSheets=!1,this.hasPanelTop=!1,this.hasPanelBottom=!1,this.hasOnlyPanelBottom=!1,this.panelIsResizing=!1}handleCalciteInternalShellPanelResizeStart(t){this.panelIsResizing=!0,t.stopPropagation()}handleCalciteInternalShellPanelResizeEnd(t){this.panelIsResizing=!1,t.stopPropagation()}updateHasOnlyPanelBottom(){this.hasOnlyPanelBottom=!this.hasPanelTop&&this.hasPanelBottom}connectedCallback(){s(this)}disconnectedCallback(){l(this)}renderHeader(){return i("div",{hidden:!this.hasHeader},i("slot",{key:"header",name:"header",onSlotchange:this.handleHeaderSlotChange}))}renderFooter(){return i("div",{class:"footer",hidden:!this.hasFooter,key:"footer"},i("slot",{name:"footer",onSlotchange:this.handleFooterSlotChange}))}renderAlerts(){return i("div",{hidden:!this.hasAlerts},i("slot",{key:"alerts",name:"alerts",onSlotchange:this.handleAlertsSlotChange}))}renderSheets(){return i("div",{hidden:!this.hasSheets},i("slot",{key:"sheets",name:"sheets",onSlotchange:this.handleSheetsSlotChange}))}renderModals(){return i("div",{hidden:!this.hasModals},i("slot",{key:"modals",name:"modals",onSlotchange:this.handleModalsSlotChange}))}renderDialogs(){return i("div",{hidden:!this.hasDialogs},i("slot",{key:"dialogs",name:"dialogs",onSlotchange:this.handleDialogsSlotChange}))}renderContent(){const{panelIsResizing:t}=this,e=i("slot",{key:"default-slot"}),o=t?i("div",{class:"content--non-interactive"},e):e,a=i("slot",{key:"center-row-slot",name:"center-row"}),n=i("slot",{key:"panel-bottom-slot",name:"panel-bottom",onSlotchange:this.handlePanelBottomChange}),s=i("slot",{key:"panel-top-slot",name:"panel-top",onSlotchange:this.handlePanelTopChange}),l="content-container";return this.contentBehind?[i("div",{class:{[U]:!0,[X]:!0},key:l},o),i("div",{class:{[Z]:!0,[Y]:this.hasOnlyPanelBottom}},s,n,a)]:[i("div",{class:{[U]:!0,[Y]:this.hasOnlyPanelBottom},key:l},s,o,n,a)]}renderMain(){return i("div",{class:"main"},i("slot",{name:"panel-start"}),this.renderContent(),i("slot",{name:"panel-end"}))}renderPositionedSlots(){return i("div",{class:"positioned-slot-wrapper"},this.renderAlerts(),this.renderModals(),this.renderDialogs(),this.renderSheets())}render(){return i(n,{key:"d5aba67d8b89161985cdf81c74b8532a522b3fda"},this.renderHeader(),this.renderMain(),this.renderFooter(),this.renderPositionedSlots())}get el(){return a(this)}static get watchers(){return{hasPanelTop:["updateHasOnlyPanelBottom"],hasPanelBottom:["updateHasOnlyPanelBottom"]}}};tt.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:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto;justify-content:space-between}.content ::slotted(:not(calcite-tip-manager)){position:relative;z-index:var(--calcite-z-index)}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(var(--calcite-z-index) - 1);display:initial}.content--non-interactive{pointer-events:none;display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-start]::slotted(calcite-shell-panel),slot[name=panel-end]::slotted(calcite-shell-panel){position:relative;z-index:var(--calcite-z-index-header)}slot[name=panel-end]::slotted(calcite-shell-panel){margin-inline-start:auto}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-top]::slotted(calcite-shell-center-row:not([detached])),slot[name=panel-bottom]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-color-border-3)}.center-content{display:flex;flex-direction:column;justify-content:space-between;block-size:100%;inline-size:100%;min-inline-size:0}.content-bottom{justify-content:flex-end}::slotted(calcite-shell-center-row){flex:none;align-self:stretch}::slotted(calcite-tip-manager){position:absolute;z-index:var(--calcite-z-index-toast);box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--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);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}slot[name=center-row]::slotted(calcite-shell-center-row),slot[name=panel-bottom]::slotted(calcite-shell-center-row){margin-block-start:auto}slot[name=panel-top]::slotted(calcite-shell-center-row){margin-block-end:auto}.position-wrapper{position:absolute;pointer-events:none;inset:0}:host([hidden]){display:none}[hidden]{display:none}";const et=class{constructor(i){t(this,i),this.editsComplete=e(this,"editsComplete",7),this.buttonType="button",this.disabled=!1,this.icon=void 0,this.ids=[],this.layer=void 0,this._confirmDelete=!1,this._deleteEndabled=!1,this._isDeleting=!1,this._supportsDelete=void 0,this._translations=void 0}get el(){return a(this)}async idsWatchHandler(){this._setDeleteEnabled()}async layerWatchHandler(){this._setDeleteEnabled()}editsComplete;async componentWillLoad(){await this._getTranslations()}render(){return i(o,{key:"9f2d463fab02c9081fea71102634bacd3ac57ac2"},"button"===this.buttonType?i("calcite-button",{appearance:"outline",disabled:!this._deleteEndabled,id:"solutions-delete",kind:"danger",onClick:()=>this._delete(),width:"full"},this._translations.deleteCount.replace("{{n}}",this.ids.length.toString())):i("calcite-action",{appearance:"solid",compact:!0,disabled:!this._deleteEndabled,id:this.icon,onClick:()=>this._delete(),scale:"s",text:this._translations.delete},i("calcite-button",{appearance:"transparent",iconStart:this.icon,kind:"danger"},this._translations.delete)),this._deleteMessage())}async componentDidLoad(){this._setDeleteEnabled()}_setDeleteEnabled(){this._supportsDelete=this.layer?.editingEnabled&&this.layer?.capabilities?.operations?.supportsDelete,this._deleteEndabled=!this.disabled||this._supportsDelete&&this.ids.length>0}_delete(){this._confirmDelete=!0}_deleteMessage(){const t=1===this.ids.length?this._translations.confirmSingle:this._translations.confirmMultiple;return i("calcite-modal",{"aria-labelledby":"modal-title",class:"delete-modal",kind:"danger",onCalciteModalClose:()=>this._deleteClosed(),open:this._confirmDelete},i("div",{class:"display-flex align-center",id:"modal-title",slot:"header"},this._translations.deleteFeature),i("div",{slot:"content"},t),i("calcite-button",{appearance:"outline",kind:"danger",onClick:()=>this._deleteClosed(),slot:"secondary",width:"full"},this._translations.cancel),i("calcite-button",{kind:"danger",loading:this._isDeleting,onClick:()=>{this._deleteFeatures()},slot:"primary",width:"full"},this._translations.delete))}async _deleteFeatures(){this._isDeleting=!0;const t=this.ids.map((t=>({objectId:t})));await this.layer.applyEdits({deleteFeatures:t}),this._isDeleting=!1,this._deleteClosed(),this.editsComplete.emit("delete")}_deleteClosed(){this._confirmDelete=!1}async _getTranslations(){const t=await D(this.el);this._translations=t[0]}static get watchers(){return{ids:["idsWatchHandler"],layer:["layerWatchHandler"]}}};et.style=":host{display:block}.delete-modal{position:fixed}";export{Q as calcite_modal,tt as calcite_shell,et as delete_button}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{d as e}from"./p-363c89e1.js";import"./p-6eb37ed2.js";import"./p-eacb5b05.js";import"./p-8817162f.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-53e0faf4.js";import"./p-416c0818.js";import"./p-b51111e1.js";import"./p-cb860e39.js";import"./p-0afbf455.js";import"./p-1b147794.js";import"./p-32539121.js";import"./p-3832f6b0.js";import"./p-6c44ba5f.js";import"./p-a7ca67b9.js";import"./p-6df7b770.js";import"./p-fc8d6dcf.js";import"./p-2866ef30.js";import"./p-96a7e73d.js";import"./p-fe82bd8a.js";var o={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(o,null,!0);export{o as default}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as i,h as s,H as o,g as e}from"./p-6eb37ed2.js";import{c as a,d as n}from"./p-131ca2b1.js";import{h,s as l,f as c}from"./p-8817162f.js";import{a as r,s as d,c as p}from"./p-1b147794.js";import{c as u,d as g}from"./p-32539121.js";import{c as f}from"./p-3832f6b0.js";import{u as b,c as m,s as x,d as v}from"./p-2866ef30.js";import{t as y,q as w,g as j,o as z,E as H,a as C}from"./p-bd989e41.js";import{D}from"./p-3edf491f.js";import{d as L}from"./p-c8d3207e.js";import"./p-c6296ee6.js";import"./p-416c0818.js";import"./p-b51111e1.js";import"./p-8b54465a.js";import"./p-64e8c883.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.1
|
11
|
-
*/const A=class{constructor(s){t(this,s),this.calciteActionBarToggle=i(this,"calciteActionBarToggle",6),this.mutationObserver=f("mutation",(()=>{const{el:t,expanded:i}=this;y({el:t,expanded:i}),this.overflowActions()})),this.resizeObserver=f("resize",(t=>this.resizeHandlerEntries(t))),this.actionMenuOpenHandler=t=>{if(t.target.menuOpen){const i=t.composedPath();Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((t=>{i.includes(t)||(t.menuOpen=!1)}))}},this.resizeHandlerEntries=t=>{t.forEach(this.resizeHandler)},this.resizeHandler=t=>{const{width:i,height:s}=t.contentRect;this.resize({width:i,height:s})},this.resize=L((({width:t,height:i})=>{const{el:s,expanded:o,expandDisabled:e,layout:a,overflowActionsDisabled:n}=this;if(n||"vertical"===a&&!i||"horizontal"===a&&!t)return;const h=w(s),l=e?h.length:h.length+1,c=Array.from(s.querySelectorAll("calcite-action-group"));this.setGroupLayout(c);const r=this.hasActionsEnd||this.hasBottomActions||!e?c.length+1:c.length,{actionHeight:d,actionWidth:p}=j(h),u=C({layout:a,actionCount:l,actionHeight:d,actionWidth:p,height:i,width:t,groupCount:r});z({actionGroups:c,expanded:o,overflowCount:u})}),D.resize),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.setExpandToggleRef=t=>{this.expandToggleEl=t},this.handleDefaultSlotChange=t=>{const i=h(t).filter((t=>t.matches("calcite-action-group")));this.setGroupLayout(i)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=l(t)},this.handleBottomActionsSlotChange=t=>{this.hasBottomActions=l(t)},this.handleTooltipSlotChange=t=>{const i=h(t).filter((t=>t?.matches("calcite-tooltip")));this.expandTooltip=i[0]},this.actionsEndGroupLabel=void 0,this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.overlayPositioning="absolute",this.position=void 0,this.scale=void 0,this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.hasActionsEnd=!1,this.hasBottomActions=!1,this.expandTooltip=void 0,this.defaultMessages=void 0}expandHandler(){this.overflowActions()}expandedHandler(){const{el:t,expanded:i}=this;y({el:t,expanded:i}),this.overflowActions()}layoutHandler(){this.updateGroups()}overflowDisabledHandler(t){t?this.resizeObserver?.disconnect():(this.resizeObserver?.observe(this.el),this.overflowActions())}onMessagesChange(){}effectiveLocaleChange(){b(this,this.effectiveLocale)}componentDidLoad(){const{el:t,expanded:i}=this;r(this),y({el:t,expanded:i}),this.overflowActions()}connectedCallback(){const{el:t,expanded:i}=this;u(this),m(this),y({el:t,expanded:i}),this.mutationObserver?.observe(t,{childList:!0,subtree:!0}),this.overflowActionsDisabled||this.resizeObserver?.observe(t),this.overflowActions(),a(this)}async componentWillLoad(){d(this),await x(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),n(this),g(this),v(this)}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await p(this),c(this.el)}updateGroups(){this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")))}setGroupLayout(t){t.forEach((t=>t.layout=this.layout))}renderBottomActionGroup(){const{expanded:t,expandDisabled:i,el:o,position:e,toggleExpand:a,scale:n,layout:h,messages:l,actionsEndGroupLabel:c,overlayPositioning:r}=this,d=i?null:s(H,{collapseLabel:l.collapseLabel,collapseText:l.collapse,el:o,expandLabel:l.expandLabel,expandText:l.expand,expanded:t,position:e,ref:this.setExpandToggleRef,scale:n,toggle:a,tooltip:this.expandTooltip});return s("calcite-action-group",{class:"action-group--end",hidden:this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions),label:c,layout:h,overlayPositioning:r,scale:n},s("slot",{name:"actions-end",onSlotchange:this.handleActionsEndSlotChange}),s("slot",{name:"bottom-actions",onSlotchange:this.handleBottomActionsSlotChange}),s("slot",{name:"expand-tooltip",onSlotchange:this.handleTooltipSlotChange}),d)}render(){return s(o,{key:"b0627d0daa2f500a979aaacc8981814284c437ad",onCalciteActionMenuOpen:this.actionMenuOpenHandler},s("slot",{key:"b1831e21404b85f1632d47f280d0357f5897ebc7",onSlotchange:this.handleDefaultSlotChange}),this.renderBottomActionGroup())}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{expandDisabled:["expandHandler"],expanded:["expandedHandler"],layout:["layoutHandler"],overflowActionsDisabled:["overflowDisabledHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};A.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{pointer-events:auto;display:inline-flex;align-self:stretch;gap:var(--calcite-action-bar-items-space, 0)}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]){overflow-y:auto}:host([layout=vertical]):host([expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]){overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:var(--calcite-border-width-sm)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}";export{A as calcite_action_bar}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as s,h as i,g as e}from"./p-6eb37ed2.js";import{S as o}from"./p-36c1c370.js";import{g as n}from"./p-3d0e9be4.js";import"./p-4cd4cb85.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";function l(t){var s;return!!(null===(s=null===window||void 0===window?void 0:window.localStorage)||void 0===s?void 0:s.getItem(t))}const a=class{constructor(i){var e;t(this,i),this.splashClose=s(this,"splashClose",7),this._sanitizer=null==(e=o)||"function"!=typeof e?null:new e({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"]}},!0),this.localStorageKey=void 0,this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.secondaryButtonText=void 0,this.secondaryButtonIcon=void 0,this.secondaryButtonCallback=void 0,this.messages=void 0}sanitizeContent(){this.content=this._sanitizer.sanitize(this.content)}componentWillLoad(){let t;const{localStorageKey:s}=this;t=s?this.open&&!l(this.localStorageKey):this.open,this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}componentDidLoad(){n(this)}render(){return i("calcite-modal",{key:"6d98522026f0aba032808d486474ac04501e9a81",onCalciteModalClose:this.close.bind(this),open:this.open,closeButtonDisabled:this.closeButtonDisabled,outsideCloseDisabled:this.outsideCloseDisabled},this.renderHeader(),this.renderContent(),this.localStorageKey?this.renderDontShowThisAgainCheckbox():null,this.renderPrimaryButton(),this.secondaryButton?this.renderSecondaryButton():null)}renderHeader(){const{titleText:t}=this;return i("header",{slot:"header"},t)}renderContent(){const{content:t}=this;return i("div",{slot:"content",innerHTML:t},i("slot",{name:"custom-action"}))}renderDontShowThisAgainCheckbox(){const{localStorageKey:t,messages:s}=this,e=!!l(t)||null;return i("div",{class:"instant-apps-splash__back-content",slot:"back"},i("calcite-label",{layout:"inline"},i("calcite-checkbox",{onCalciteCheckboxChange:this.handleDontShowThisAgain.bind(this),checked:null!=e?e:void 0}),null==s?void 0:s.dontShowThisAgain))}renderPrimaryButton(){const{primaryButtonText:t}=this;return i("calcite-button",{onClick:this.close.bind(this),slot:"primary"},t||"Enter")}renderSecondaryButton(){var t;return i("calcite-button",{onClick:null===(t=this.secondaryButtonCallback)||void 0===t?void 0:t.bind(this),slot:"secondary","icon-start":this.secondaryButtonIcon,appearance:"outline"},this.secondaryButtonText)}close(){this.open=!1,this.splashClose.emit()}handleDontShowThisAgain(t){const{localStorageKey:s}=this;if(!s)return;const i=t.target,{checked:e}=i;e?null===window||void 0===window||window.localStorage.setItem(s,"false"):function(t){var s;null===(s=null===window||void 0===window?void 0:window.localStorage)||void 0===s||s.removeItem(t)}(s)}get el(){return e(this)}static get watchers(){return{content:["sanitizeContent"]}}};a.style=":host{display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}";export{a as instant_apps_splash}
|