@esri/solutions-components 0.10.15 → 0.10.17
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-63855ea7.js +115 -0
- package/dist/cjs/FloatingArrow-4afc0a27.js +48 -0
- package/dist/cjs/Heading-f01dc40c.js +25 -0
- package/dist/cjs/Validation-c52e0b30.js +20 -0
- package/dist/cjs/app-globals-587d5fc5.js +67 -0
- package/dist/cjs/ar-406e323c.js +106 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/array-7ee883b3.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +6 -6
- package/dist/cjs/bg-56abe1a2.js +84 -0
- package/dist/cjs/browser-e9eb8b2e.js +35 -0
- package/dist/cjs/bs-43ed4dcb.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +7 -7
- package/dist/cjs/ca-ad58f302.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 +598 -0
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action_2.cjs.entry.js +371 -92
- package/dist/cjs/calcite-alert_5.cjs.entry.js +1882 -0
- 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 +33 -36
- 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 +23 -23
- 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 +1122 -0
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-icon_2.cjs.entry.js +317 -0
- 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-83bcd60f.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 +15 -15
- 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 +734 -0
- 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 +122 -0
- 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 +36 -36
- 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 +245 -23
- package/dist/cjs/component-ab59efe0.js +33 -0
- package/dist/cjs/conditionalSlot-e7b1e80b.js +54 -0
- package/dist/cjs/config-90915d7e.js +40 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +21 -36
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +12 -12
- package/dist/cjs/cs-eef992e9.js +149 -0
- package/dist/cjs/da-4957191f.js +69 -0
- package/dist/cjs/date-09eabd7c.js +264 -0
- package/dist/cjs/de-64947d33.js +93 -0
- package/dist/cjs/de-at-976bd625.js +92 -0
- package/dist/cjs/de-ch-9c2f85be.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-5fd0c11a.js +1215 -0
- package/dist/cjs/downloadUtils-b1bc6031.js +3163 -0
- package/dist/cjs/el-17064e96.js +68 -0
- package/dist/cjs/en-au-bf34aa99.js +68 -0
- package/dist/cjs/en-ca-20b7aeab.js +67 -0
- package/dist/cjs/en-gb-72ebc333.js +71 -0
- package/dist/cjs/es-996df974.js +68 -0
- package/dist/cjs/es-mx-cf34d408.js +67 -0
- package/dist/cjs/et-fe1aba97.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 +6 -6
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-154d8730.js +117 -0
- package/dist/cjs/filter-1906ce7b.js +778 -0
- package/dist/cjs/floating-ui-b477f602.js +2373 -0
- package/dist/cjs/focusTrapComponent-01de8e72.js +1018 -0
- package/dist/cjs/form-fba99326.js +381 -0
- package/dist/cjs/fr-21a56733.js +70 -0
- package/dist/cjs/fr-ch-66f7a5c9.js +68 -0
- package/dist/cjs/guid-81a8c49f.js +26 -0
- package/dist/cjs/he-249d58b9.js +107 -0
- package/dist/cjs/helpers-3cfcbb0d.js +940 -0
- package/dist/cjs/hi-7015dbc4.js +67 -0
- package/dist/cjs/hr-e57553fd.js +82 -0
- package/dist/cjs/hu-e0a32fbd.js +90 -0
- package/dist/cjs/id-6eeb6f33.js +68 -0
- package/dist/cjs/index.es-5ad1b7be.js +11317 -0
- package/dist/cjs/input-cb7565cc.js +60 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +5 -3
- package/dist/cjs/instant-apps-create.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +6 -4
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -4
- package/dist/cjs/interactive-d349d0f0.js +167 -0
- package/dist/cjs/it-21b9179c.js +68 -0
- package/dist/cjs/it-ch-ed862b1c.js +68 -0
- package/dist/cjs/ja-a5d93dac.js +74 -0
- package/dist/cjs/key-a0f7c4f3.js +19 -0
- package/dist/cjs/ko-1913cf25.js +74 -0
- package/dist/cjs/label-dc906a73.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-d9a2a731.js +98 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-4d172288.js +605 -0
- package/dist/cjs/locale-a965a573.js +120 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/logger-dc99f85b.js +61 -0
- package/dist/cjs/lt-aeec2286.js +99 -0
- package/dist/cjs/lv-9055202a.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +16 -6
- package/dist/cjs/mapViewUtils-18c46b84.js +515 -0
- package/dist/cjs/math-8d9588b6.js +60 -0
- package/dist/cjs/mk-98948b48.js +68 -0
- package/dist/cjs/nb-d88ea8dc.js +69 -0
- package/dist/cjs/nl-a8df29cd.js +69 -0
- package/dist/cjs/observers-b83abbfc.js +58 -0
- package/dist/cjs/openCloseComponent-a2a2a773.js +65 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-0c9cc2cf.js +116 -0
- package/dist/cjs/popupUtils-948e8990.js +121 -0
- package/dist/cjs/pt-5d70043e.js +69 -0
- package/dist/cjs/pt-br-fed6323a.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +6 -4
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/resources-03698411.js +39 -0
- package/dist/cjs/resources-085b5a9c.js +23 -0
- package/dist/cjs/resources-08ceff44.js +21 -0
- package/dist/cjs/resources-32b7c652.js +23 -0
- package/dist/cjs/resources-3e7e7fb7.js +26 -0
- package/dist/cjs/resources-44438f5c.js +68 -0
- package/dist/cjs/resources-b4193681.js +27 -0
- package/dist/cjs/resources-bcc3f2b2.js +68 -0
- package/dist/cjs/resources-e3a7e2f5.js +29 -0
- package/dist/cjs/resources-e5bab826.js +39 -0
- package/dist/cjs/ro-021065c9.js +68 -0
- package/dist/cjs/ru-9ec3c8de.js +128 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-79567fc0.js +361 -0
- package/dist/cjs/sk-09cbe5ba.js +150 -0
- package/dist/cjs/sl-3a4381a4.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/sortableComponent-abdb9e28.js +2748 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/cjs/sr-c18bc63a.js +103 -0
- package/dist/cjs/sv-e721be29.js +73 -0
- package/dist/cjs/t9n-c8d7a2ec.js +108 -0
- package/dist/cjs/th-baa740bc.js +67 -0
- package/dist/cjs/time-087f0346.js +301 -0
- package/dist/cjs/tr-c0b17a53.js +68 -0
- package/dist/cjs/uk-68a75a5a.js +106 -0
- package/dist/cjs/utils-8f400dfd.js +78 -0
- package/dist/cjs/utils-9343bd5b.js +130 -0
- package/dist/cjs/utils-9a063f23.js +2304 -0
- package/dist/cjs/vi-bf3bf360.js +72 -0
- package/dist/cjs/zh-cn-f36908e8.js +96 -0
- package/dist/cjs/zh-hk-79863fdd.js +94 -0
- package/dist/cjs/zh-tw-eb1f3b17.js +94 -0
- package/dist/collection/assets/t9n/card-manager/resources.json +4 -1
- package/dist/collection/assets/t9n/card-manager/resources_en.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ar.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_bg.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_bs.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ca.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_cs.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_da.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_de.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_el.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_es.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_et.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_fi.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_fr.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_he.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_hr.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_hu.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_id.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_it.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ja.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ko.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_lt.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_lv.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_nb.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_nl.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pl.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-BR.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_pt-PT.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ro.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_ru.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sk.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sl.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sr.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_sv.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_th.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_tr.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_uk.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_vi.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-CN.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-HK.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_zh-TW.json +5 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ar.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bg.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_bs.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ca.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_cs.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_da.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_de.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_el.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_es.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_et.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fi.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_fr.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_he.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hr.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_hu.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_id.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_it.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ja.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ko.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lt.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_lv.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nb.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_nl.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pl.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-BR.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_pt-PT.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ro.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_ru.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sk.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sl.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sr.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_sv.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_th.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_tr.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_uk.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_vi.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-CN.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-HK.json +3 -1
- package/dist/collection/assets/t9n/crowdsource-reporter/resources_zh-TW.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ar.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_bg.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_bs.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ca.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_cs.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_da.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_de.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_el.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_es.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_et.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_fi.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_fr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_he.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_hr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_hu.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_id.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_it.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ja.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ko.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_lt.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_lv.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_nb.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_nl.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_pl.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_pt-BR.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_pt-PT.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ro.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_ru.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sk.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sl.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_sv.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_th.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_tr.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_uk.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_vi.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_zh-CN.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_zh-HK.json +3 -1
- package/dist/collection/assets/t9n/feature-list/resources_zh-TW.json +3 -1
- package/dist/collection/assets/t9n/layer-table/resources.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_ar.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_bg.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_bs.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_ca.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_cs.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_da.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_de.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_el.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_en.json +2 -1
- package/dist/collection/assets/t9n/layer-table/resources_es.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_et.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_fi.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_fr.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_he.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_hr.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_hu.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_id.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_it.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_ja.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_ko.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_lt.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_lv.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_nb.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_nl.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_pl.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_pt-BR.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_pt-PT.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_ro.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_ru.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_sk.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_sl.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_sr.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_sv.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_th.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_tr.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_uk.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_vi.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_zh-CN.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_zh-HK.json +1 -0
- package/dist/collection/assets/t9n/layer-table/resources_zh-TW.json +1 -0
- package/dist/collection/assets/t9n/map-card/resources_ar.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_bg.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_bs.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_ca.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_cs.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_da.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_de.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_el.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_es.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_et.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_fi.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_fr.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_he.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_hr.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_hu.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_id.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_it.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_ja.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_ko.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_lt.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_lv.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_nb.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_nl.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_pl.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_pt-BR.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_pt-PT.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_ro.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_ru.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_sk.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_sl.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_sr.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_sv.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_th.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_tr.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_uk.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_vi.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-CN.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-HK.json +6 -1
- package/dist/collection/assets/t9n/map-card/resources_zh-TW.json +6 -1
- package/dist/collection/components/arcgis-login/arcgis-login.css +1 -1
- package/dist/collection/components/arcgis-login/arcgis-login.js +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.css +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.css +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
- package/dist/collection/components/card-manager/card-manager.css +9 -1
- package/dist/collection/components/card-manager/card-manager.js +154 -3
- package/dist/collection/components/consent-manager/consent-manager.css +1 -1
- package/dist/collection/components/create-feature/create-feature.css +5 -5
- package/dist/collection/components/create-feature/create-feature.js +58 -27
- package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +13 -5
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -60
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +46 -12
- package/dist/collection/components/deduct-calculator/deduct-calculator.css +1 -1
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.css +1 -1
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/edit-card/edit-card.css +5 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.css +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.css +2 -2
- package/dist/collection/components/feature-details/feature-details.js +6 -6
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.css +1 -1
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.css +1 -1
- package/dist/collection/components/feature-list/feature-list.js +3 -3
- package/dist/collection/components/features-flow-item/features-flow-item.css +1 -1
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/floor-filter/floor-filter.css +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-list/layer-list.css +1 -1
- package/dist/collection/components/layer-list/layer-list.js +3 -3
- package/dist/collection/components/layer-table/layer-table.css +2 -2
- package/dist/collection/components/layer-table/layer-table.js +154 -16
- package/dist/collection/components/layout-manager/layout-manager.css +1 -1
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.css +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.css +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.css +3 -2
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.css +5 -5
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.css +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.css +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +2 -2
- package/dist/collection/components/map-legend/map-legend.css +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.css +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.css +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.css +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +47 -1
- package/dist/collection/components/map-tools/map-tools.css +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.css +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.css +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.css +1 -1
- package/dist/collection/components/public-notification/public-notification.js +40 -2
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.css +1 -1
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.css +7 -5
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.css +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/browse-solutions.html +124 -124
- package/dist/collection/demos/buffer-tools.html +60 -61
- package/dist/collection/demos/card-manager.html +93 -93
- package/dist/collection/demos/create-feature.html +64 -65
- package/dist/collection/demos/crowdsource-manager.html +8 -8
- package/dist/collection/demos/crowdsource-reporter.html +271 -266
- package/dist/collection/demos/deduct-calculator.html +30 -30
- package/dist/collection/demos/demo-map.html +26 -30
- package/dist/collection/demos/edit-card.html +16 -17
- package/dist/collection/demos/feature-list.html +66 -67
- package/dist/collection/demos/index.html +50 -22
- package/dist/collection/demos/info-card.html +41 -41
- package/dist/collection/demos/json-editor-2.html +35 -31
- package/dist/collection/demos/json-editor.html +49 -44
- package/dist/collection/demos/layer-list.html +65 -62
- package/dist/collection/demos/layer-table.html +62 -63
- package/dist/collection/demos/list-item.html +57 -59
- package/dist/collection/demos/map-card.html +47 -49
- package/dist/collection/demos/map-draw-tools.html +57 -59
- package/dist/collection/demos/map-layer-picker.html +59 -61
- package/dist/collection/demos/map-select-tools.html +60 -61
- package/dist/collection/demos/monacoConfig.js +16 -16
- package/dist/collection/demos/new-public-notification.html +115 -113
- package/dist/collection/demos/new-solution-configuration.html +163 -145
- package/dist/collection/demos/pci-calculator.html +30 -30
- package/dist/collection/demos/pdf-download.html +53 -50
- package/dist/collection/demos/solution-configuration.html +132 -121
- package/dist/collection/demos/solution-contents.html +37 -32
- package/dist/collection/demos/solution-group-details.html +21 -18
- package/dist/collection/demos/solution-item-details.html +21 -18
- package/dist/collection/demos/solution-item-icon.html +22 -19
- package/dist/collection/demos/solution-item-sharing.html +10 -8
- package/dist/collection/demos/solution-item.html +42 -39
- package/dist/collection/demos/solution-organization-variables.html +37 -32
- package/dist/collection/demos/solution-resource-item.html +11 -9
- package/dist/collection/demos/solution-spatial-ref.html +35 -29
- package/dist/collection/demos/solution-template-data.html +33 -29
- package/dist/collection/demos/solution-variables.html +37 -32
- package/dist/collection/demos/spatial-ref.html +9 -5
- package/dist/collection/utils/common.ts +2 -2
- package/dist/collection/utils/downloadUtils.ts +37 -37
- package/dist/collection/utils/interfaces.ts +18 -18
- package/dist/collection/utils/locale.ts +4 -4
- package/dist/collection/utils/pciUtils.ts +3 -3
- package/dist/collection/utils/popupUtils.ts +1 -1
- package/dist/collection/utils/queryUtils.js +3 -0
- package/dist/collection/utils/queryUtils.ts +7 -4
- package/dist/collection/utils/solution-store.ts +9 -10
- package/dist/collection/utils/templates.ts +9 -9
- 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/arcgis-login.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/block.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/buffer-tools2.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 +2 -2
- 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/card-manager2.js +134 -33
- 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/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +1 -1
- package/dist/components/create-feature2.js +42 -28
- package/dist/components/create-related-feature2.js +1 -1
- package/dist/components/crowdsource-manager.js +122 -126
- package/dist/components/crowdsource-reporter.js +13 -11
- 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/dropdown.js +1 -1
- package/dist/components/edit-card2.js +2 -2
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +6 -6
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +3 -3
- 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/helpers.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +2 -2
- 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-filter-list2.js +6 -8
- package/dist/components/instant-apps-language-translator-item2.js +3 -1
- package/dist/components/instant-apps-sign-in2.js +6 -3
- package/dist/components/instant-apps-time-filter.js +4 -3
- 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-list2.js +3 -3
- package/dist/components/layer-table2.js +200 -56
- 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 +2 -2
- package/dist/components/locale2.js +2 -2
- package/dist/components/locale3.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 +2 -2
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +2 -2
- 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 +13 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/modal.js +5 -15
- 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 +12 -5
- 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 +6 -2
- package/dist/components/queryUtils.js +3 -0
- package/dist/components/radio-button.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +2 -2
- 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/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 +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/solution-configuration.js +3 -3
- 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 +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -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/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/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/value-list-item.js +1 -1
- package/dist/components/value-list.js +2 -2
- package/dist/esm/ExpandToggle-f909e195.js +108 -0
- package/dist/esm/FloatingArrow-4dbed45e.js +46 -0
- package/dist/esm/Heading-19e46a14.js +22 -0
- package/dist/esm/Validation-0b8675a8.js +18 -0
- package/dist/esm/app-globals-0fc0d343.js +65 -0
- package/dist/esm/ar-2b7701c9.js +104 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/array-0d5d845c.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +6 -6
- package/dist/esm/bg-cfd918d6.js +82 -0
- package/dist/esm/browser-d0009bfe.js +32 -0
- package/dist/esm/bs-6e26541f.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +7 -7
- package/dist/esm/ca-3edf7b06.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 +593 -0
- package/dist/esm/calcite-action-pad_2.entry.js +14 -14
- package/dist/esm/calcite-action_2.entry.js +372 -93
- package/dist/esm/calcite-alert_5.entry.js +1874 -0
- 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 +33 -36
- 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 +23 -23
- 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 +1115 -0
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-icon_2.entry.js +312 -0
- 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-c5ee10a4.js +1858 -0
- package/dist/esm/calcite-input-time-picker.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +15 -15
- 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 +728 -0
- 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 +118 -0
- 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 +36 -36
- 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 +246 -24
- package/dist/esm/component-0f26d27a.js +30 -0
- package/dist/esm/conditionalSlot-56fa9723.js +51 -0
- package/dist/esm/config-e0237f7c.js +36 -0
- package/dist/esm/crowdsource-manager.entry.js +21 -36
- package/dist/esm/crowdsource-reporter.entry.js +12 -12
- package/dist/esm/cs-93a3355b.js +147 -0
- package/dist/esm/da-f4d05bf2.js +67 -0
- package/dist/esm/date-dd3d9d2f.js +248 -0
- package/dist/esm/de-04f477b6.js +91 -0
- package/dist/esm/de-at-1b4e56b9.js +90 -0
- package/dist/esm/de-ch-59c96703.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-9e8610a2.js +1180 -0
- package/dist/esm/downloadUtils-ee2d6a99.js +3156 -0
- package/dist/esm/el-134dd039.js +66 -0
- package/dist/esm/en-au-ec33ef70.js +66 -0
- package/dist/esm/en-ca-ab1fbea4.js +65 -0
- package/dist/esm/en-gb-ceb65f79.js +69 -0
- package/dist/esm/es-e023cfc8.js +66 -0
- package/dist/esm/es-mx-e0a5ee8c.js +65 -0
- package/dist/esm/et-572b1e56.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 +6 -6
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-f13fae4c.js +115 -0
- package/dist/esm/filter-3c649b00.js +775 -0
- package/dist/esm/floating-ui-9d9558a6.js +2365 -0
- package/dist/esm/focusTrapComponent-a9be9a5f.js +1013 -0
- package/dist/esm/form-a992bc7e.js +372 -0
- package/dist/esm/fr-ch-a1f8ebbf.js +66 -0
- package/dist/esm/fr-e9b456c3.js +68 -0
- package/dist/esm/guid-52aae62c.js +24 -0
- package/dist/esm/he-dfaa7ea1.js +105 -0
- package/dist/esm/helpers-22ae4484.js +913 -0
- package/dist/esm/hi-efa0d8e7.js +65 -0
- package/dist/esm/hr-7c04c969.js +80 -0
- package/dist/esm/hu-fc6efaba.js +88 -0
- package/dist/esm/id-2d884294.js +66 -0
- package/dist/esm/index.es-6d52a4cf.js +11230 -0
- package/dist/esm/input-b18c3393.js +58 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +5 -3
- package/dist/esm/instant-apps-create.entry.js +1 -1
- package/dist/esm/instant-apps-export-views.entry.js +1 -1
- package/dist/esm/instant-apps-export.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend.entry.js +2 -2
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +2 -2
- package/dist/esm/instant-apps-language-translator.entry.js +2 -2
- package/dist/esm/instant-apps-measurement.entry.js +1 -1
- package/dist/esm/instant-apps-popover.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
- package/dist/esm/instant-apps-sign-in.entry.js +6 -4
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/instant-apps-time-filter.entry.js +5 -4
- package/dist/esm/interactive-353bf495.js +162 -0
- package/dist/esm/it-913dabbb.js +66 -0
- package/dist/esm/it-ch-d4c2b23e.js +66 -0
- package/dist/esm/ja-b6c332b1.js +72 -0
- package/dist/esm/key-a9ffa61d.js +16 -0
- package/dist/esm/ko-b220c903.js +72 -0
- package/dist/esm/label-026b99b7.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-4841127f.js +93 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-8a2aae09.js +591 -0
- package/dist/esm/locale-a34f9f04.js +115 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/logger-29d1dc0e.js +59 -0
- package/dist/esm/lt-e97a19a7.js +97 -0
- package/dist/esm/lv-c4e1d066.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +16 -6
- package/dist/esm/mapViewUtils-f54edae3.js +497 -0
- package/dist/esm/math-dd484f87.js +54 -0
- package/dist/esm/mk-fec9b21d.js +66 -0
- package/dist/esm/nb-28189f31.js +67 -0
- package/dist/esm/nl-194a064e.js +67 -0
- package/dist/esm/observers-3af27a40.js +56 -0
- package/dist/esm/openCloseComponent-00e6186d.js +63 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-c0a7eacf.js +114 -0
- package/dist/esm/popupUtils-75294be5.js +119 -0
- package/dist/esm/pt-48180eaa.js +67 -0
- package/dist/esm/pt-br-e378640f.js +65 -0
- package/dist/esm/public-notification.entry.js +6 -4
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/resources-0b9430f0.js +21 -0
- package/dist/esm/resources-2117aee0.js +63 -0
- package/dist/esm/resources-29504413.js +34 -0
- package/dist/esm/resources-37d6b520.js +35 -0
- package/dist/esm/resources-75518fcf.js +23 -0
- package/dist/esm/resources-8e7f2865.js +22 -0
- package/dist/esm/resources-8fe9ef4a.js +20 -0
- package/dist/esm/resources-966e32ad.js +62 -0
- package/dist/esm/resources-a1cc283e.js +24 -0
- package/dist/esm/resources-f4406546.js +19 -0
- package/dist/esm/ro-a116f43c.js +66 -0
- package/dist/esm/ru-53b48473.js +126 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-7df95a79.js +339 -0
- package/dist/esm/sk-6e16e781.js +148 -0
- package/dist/esm/sl-0b5a108a.js +168 -0
- package/dist/esm/solution-configuration.entry.js +3 -3
- package/dist/esm/solution-contents_3.entry.js +3 -3
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/sortableComponent-fc3d2fcf.js +2745 -0
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/esm/sr-c91ad375.js +101 -0
- package/dist/esm/sv-99a8436f.js +71 -0
- package/dist/esm/t9n-d5539b3a.js +103 -0
- package/dist/esm/th-f448c101.js +65 -0
- package/dist/esm/time-8f4af53a.js +286 -0
- package/dist/esm/tr-1c4d126e.js +66 -0
- package/dist/esm/uk-afcd7307.js +104 -0
- package/dist/esm/utils-057404c5.js +2274 -0
- package/dist/esm/utils-6391b35c.js +65 -0
- package/dist/esm/utils-6493bff2.js +121 -0
- package/dist/esm/vi-13e0626d.js +70 -0
- package/dist/esm/zh-cn-80512388.js +94 -0
- package/dist/esm/zh-hk-220c6f50.js +92 -0
- package/dist/esm/zh-tw-f9a73c0d.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 +10 -10
- 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 +5 -5
- 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 +5 -5
- 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.json +4 -1
- package/dist/solutions-components/assets/t9n/card-manager/resources_en.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ar.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bg.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_bs.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ca.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_cs.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_da.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_de.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_el.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_es.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_et.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fi.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_fr.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_he.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hr.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_hu.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_id.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_it.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ja.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ko.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lt.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_lv.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nb.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_nl.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pl.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-BR.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_pt-PT.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ro.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_ru.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sk.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sl.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sr.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_sv.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_th.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_tr.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_uk.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_vi.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-CN.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-HK.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_zh-TW.json +5 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ar.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bg.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_bs.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ca.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_cs.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_da.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_de.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_el.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_es.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_et.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fi.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_fr.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_he.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hr.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_hu.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_id.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_it.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ja.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ko.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lt.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_lv.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nb.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_nl.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pl.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-BR.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_pt-PT.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ro.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_ru.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sk.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sl.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sr.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_sv.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_th.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_tr.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_uk.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_vi.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-CN.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-HK.json +3 -1
- package/dist/solutions-components/assets/t9n/crowdsource-reporter/resources_zh-TW.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ar.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_bg.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_bs.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ca.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_cs.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_da.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_de.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_el.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_es.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_et.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_fi.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_fr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_he.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_hr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_hu.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_id.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_it.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ja.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ko.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_lt.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_lv.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_nb.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_nl.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_pl.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_pt-BR.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_pt-PT.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ro.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_ru.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sk.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sl.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_sv.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_th.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_tr.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_uk.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_vi.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-CN.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-HK.json +3 -1
- package/dist/solutions-components/assets/t9n/feature-list/resources_zh-TW.json +3 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_ar.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_bg.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_bs.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_ca.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_cs.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_da.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_de.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_el.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_en.json +2 -1
- package/dist/solutions-components/assets/t9n/layer-table/resources_es.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_et.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_fi.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_fr.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_he.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_hr.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_hu.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_id.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_it.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_ja.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_ko.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_lt.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_lv.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_nb.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_nl.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_pl.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-BR.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_pt-PT.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_ro.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_ru.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_sk.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_sl.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_sr.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_sv.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_th.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_tr.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_uk.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_vi.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-CN.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-HK.json +1 -0
- package/dist/solutions-components/assets/t9n/layer-table/resources_zh-TW.json +1 -0
- package/dist/solutions-components/assets/t9n/map-card/resources_ar.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_bg.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_bs.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ca.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_cs.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_da.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_de.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_el.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_es.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_et.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_fi.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_fr.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_he.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_hr.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_hu.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_id.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_it.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ja.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ko.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_lt.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_lv.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_nb.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_nl.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pl.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pt-BR.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_pt-PT.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ro.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_ru.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sk.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sl.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sr.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_sv.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_th.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_tr.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_uk.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_vi.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-CN.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-HK.json +6 -1
- package/dist/solutions-components/assets/t9n/map-card/resources_zh-TW.json +6 -1
- package/dist/solutions-components/demos/browse-solutions.html +124 -124
- package/dist/solutions-components/demos/buffer-tools.html +60 -61
- package/dist/solutions-components/demos/card-manager.html +93 -93
- package/dist/solutions-components/demos/create-feature.html +64 -65
- package/dist/solutions-components/demos/crowdsource-manager.html +8 -8
- package/dist/solutions-components/demos/crowdsource-reporter.html +271 -266
- package/dist/solutions-components/demos/deduct-calculator.html +30 -30
- package/dist/solutions-components/demos/demo-map.html +26 -30
- package/dist/solutions-components/demos/edit-card.html +16 -17
- package/dist/solutions-components/demos/feature-list.html +66 -67
- package/dist/solutions-components/demos/index.html +50 -22
- package/dist/solutions-components/demos/info-card.html +41 -41
- package/dist/solutions-components/demos/json-editor-2.html +35 -31
- package/dist/solutions-components/demos/json-editor.html +49 -44
- package/dist/solutions-components/demos/layer-list.html +65 -62
- package/dist/solutions-components/demos/layer-table.html +62 -63
- package/dist/solutions-components/demos/list-item.html +57 -59
- package/dist/solutions-components/demos/map-card.html +47 -49
- package/dist/solutions-components/demos/map-draw-tools.html +57 -59
- package/dist/solutions-components/demos/map-layer-picker.html +59 -61
- package/dist/solutions-components/demos/map-select-tools.html +60 -61
- package/dist/solutions-components/demos/monacoConfig.js +16 -16
- package/dist/solutions-components/demos/new-public-notification.html +115 -113
- package/dist/solutions-components/demos/new-solution-configuration.html +163 -145
- package/dist/solutions-components/demos/pci-calculator.html +30 -30
- package/dist/solutions-components/demos/pdf-download.html +53 -50
- package/dist/solutions-components/demos/solution-configuration.html +132 -121
- package/dist/solutions-components/demos/solution-contents.html +37 -32
- package/dist/solutions-components/demos/solution-group-details.html +21 -18
- package/dist/solutions-components/demos/solution-item-details.html +21 -18
- package/dist/solutions-components/demos/solution-item-icon.html +22 -19
- package/dist/solutions-components/demos/solution-item-sharing.html +10 -8
- package/dist/solutions-components/demos/solution-item.html +42 -39
- package/dist/solutions-components/demos/solution-organization-variables.html +37 -32
- package/dist/solutions-components/demos/solution-resource-item.html +11 -9
- package/dist/solutions-components/demos/solution-spatial-ref.html +35 -29
- package/dist/solutions-components/demos/solution-template-data.html +33 -29
- package/dist/solutions-components/demos/solution-variables.html +37 -32
- package/dist/solutions-components/demos/spatial-ref.html +9 -5
- package/dist/solutions-components/p-0129abe8.entry.js +11 -0
- package/dist/solutions-components/p-0238f68c.js +6 -0
- package/dist/solutions-components/p-034291c9.entry.js +11 -0
- package/dist/solutions-components/p-042c0134.entry.js +11 -0
- package/dist/solutions-components/p-052d1165.js +11 -0
- package/dist/solutions-components/p-06c581b3.js +6 -0
- package/dist/solutions-components/p-071a80fb.js +11 -0
- package/dist/solutions-components/p-0ac3d6fb.js +6 -0
- package/dist/solutions-components/p-0afbf455.js +11 -0
- package/dist/solutions-components/p-0b0d30a9.entry.js +11 -0
- package/dist/solutions-components/p-0c8cf779.js +6 -0
- package/dist/solutions-components/p-0cdda3a9.js +6 -0
- package/dist/solutions-components/p-10a4512a.entry.js +6 -0
- package/dist/solutions-components/p-11149179.js +6 -0
- package/dist/solutions-components/p-111ff298.entry.js +29 -0
- package/dist/solutions-components/p-131ca2b1.js +11 -0
- package/dist/solutions-components/p-13ac2814.js +6 -0
- package/dist/solutions-components/p-14ac7f32.js +17 -0
- package/dist/solutions-components/p-15105f4c.js +6 -0
- package/dist/solutions-components/p-15cbdc2c.entry.js +6 -0
- package/dist/solutions-components/p-16af273f.entry.js +6 -0
- package/dist/solutions-components/p-17f35552.entry.js +6 -0
- package/dist/solutions-components/p-1803e66b.entry.js +21 -0
- package/dist/solutions-components/p-18103eee.entry.js +11 -0
- package/dist/solutions-components/p-190de825.js +6 -0
- package/dist/solutions-components/p-19879c48.entry.js +6 -0
- package/dist/solutions-components/p-1b147794.js +11 -0
- package/dist/solutions-components/p-1c45b737.entry.js +6 -0
- package/dist/solutions-components/p-1e4aca17.js +6 -0
- package/dist/solutions-components/p-1fcd444d.entry.js +6 -0
- package/dist/solutions-components/p-23c70a46.entry.js +17 -0
- package/dist/solutions-components/p-2483d087.entry.js +11 -0
- package/dist/solutions-components/p-254f6e23.entry.js +6 -0
- package/dist/solutions-components/p-26a3ba5e.entry.js +6 -0
- package/dist/solutions-components/p-26ccfcc6.entry.js +6 -0
- package/dist/solutions-components/p-27a25ece.entry.js +6 -0
- package/dist/solutions-components/p-27bc7520.js +6 -0
- package/dist/solutions-components/p-27eca753.js +6 -0
- package/dist/solutions-components/p-2866ef30.js +11 -0
- package/dist/solutions-components/p-288599db.entry.js +16 -0
- package/dist/solutions-components/p-28b4de12.js +6 -0
- package/dist/solutions-components/p-29a24832.entry.js +6 -0
- package/dist/solutions-components/p-2c7a600b.js +6 -0
- package/dist/solutions-components/p-2d2386dd.entry.js +6 -0
- package/dist/solutions-components/p-2df01fbd.js +6 -0
- package/dist/solutions-components/p-30448906.entry.js +6 -0
- package/dist/solutions-components/p-30903105.entry.js +6 -0
- package/dist/solutions-components/p-313fcf40.entry.js +6 -0
- package/dist/solutions-components/p-32539121.js +16 -0
- package/dist/solutions-components/p-32b1bb0a.entry.js +11 -0
- package/dist/solutions-components/p-33601437.js +6 -0
- package/dist/solutions-components/p-351b4ea6.js +61 -0
- package/dist/solutions-components/p-363c89e1.js +6 -0
- package/dist/solutions-components/p-3795ce25.js +18 -0
- package/dist/solutions-components/p-3832f6b0.js +11 -0
- package/dist/solutions-components/p-38346d75.js +6 -0
- package/dist/solutions-components/p-39bc5b60.js +6 -0
- package/dist/solutions-components/p-3a4f0ef6.js +6 -0
- package/dist/solutions-components/p-3a4fbcf6.entry.js +6 -0
- package/dist/solutions-components/p-3a839252.entry.js +6 -0
- package/dist/solutions-components/p-3ab1d999.js +6 -0
- package/dist/solutions-components/p-3ae3fb2d.entry.js +6 -0
- package/dist/solutions-components/p-3d0e9be4.js +6 -0
- package/dist/solutions-components/p-3edf491f.js +11 -0
- package/dist/solutions-components/p-3f23fa58.js +6 -0
- package/dist/solutions-components/p-416c0818.js +11 -0
- package/dist/solutions-components/p-41c34a67.js +6 -0
- package/dist/solutions-components/p-42903dc4.entry.js +11 -0
- package/dist/solutions-components/p-432d7aac.entry.js +11 -0
- package/dist/solutions-components/p-443bb48a.js +6 -0
- package/dist/solutions-components/p-44b455ac.js +21 -0
- package/dist/solutions-components/p-458a3f01.entry.js +6 -0
- package/dist/solutions-components/p-461d72a9.entry.js +11 -0
- package/dist/solutions-components/p-4a5f4c12.js +6 -0
- package/dist/solutions-components/p-4a8da1a3.entry.js +6 -0
- package/dist/solutions-components/p-4dd4e1f5.js +11 -0
- package/dist/solutions-components/p-4e44d681.entry.js +6 -0
- package/dist/solutions-components/p-4ebde78c.entry.js +6 -0
- package/dist/solutions-components/p-517bc39b.entry.js +6 -0
- package/dist/solutions-components/p-51b004f6.js +11 -0
- package/dist/solutions-components/p-51eb6427.entry.js +11 -0
- package/dist/solutions-components/p-51f2cd4b.entry.js +6 -0
- package/dist/solutions-components/p-53e0faf4.js +12 -0
- package/dist/solutions-components/p-54713c54.js +11 -0
- package/dist/solutions-components/p-5501cb25.entry.js +17 -0
- package/dist/solutions-components/p-57729067.entry.js +11 -0
- package/dist/solutions-components/p-58d0a9e8.js +11 -0
- package/dist/solutions-components/p-5a76a4c8.entry.js +6 -0
- package/dist/solutions-components/p-5ae7ca10.js +6 -0
- package/dist/solutions-components/p-5cd51ba9.js +6 -0
- package/dist/solutions-components/p-5e901f4d.js +6 -0
- package/dist/solutions-components/p-5ea0c09b.js +6 -0
- package/dist/solutions-components/p-5fcdc5af.entry.js +12 -0
- package/dist/solutions-components/p-632a3328.js +6 -0
- package/dist/solutions-components/p-64e8c883.js +11 -0
- package/dist/solutions-components/p-667f4b68.js +6 -0
- package/dist/solutions-components/p-6b2ea220.entry.js +11 -0
- package/dist/solutions-components/p-6c44ba5f.js +16 -0
- package/dist/solutions-components/p-6d369f32.entry.js +22 -0
- package/dist/solutions-components/p-6d4f59df.js +6 -0
- package/dist/solutions-components/p-6def4549.js +11 -0
- package/dist/solutions-components/p-6df7b770.js +11 -0
- package/dist/solutions-components/p-6eaba85e.js +11 -0
- package/dist/solutions-components/p-6eba7557.entry.js +11 -0
- package/dist/solutions-components/p-6ef00d3c.js +6 -0
- package/dist/solutions-components/p-6f98db75.entry.js +11 -0
- package/dist/solutions-components/p-7090b8bc.entry.js +11 -0
- package/dist/solutions-components/p-72b4bf7a.entry.js +23 -0
- package/dist/solutions-components/p-74bd8ced.entry.js +11 -0
- package/dist/solutions-components/p-76c08334.js +16 -0
- package/dist/solutions-components/p-792a8e91.entry.js +17 -0
- package/dist/solutions-components/p-7a641e36.entry.js +6 -0
- package/dist/solutions-components/p-7b0448b1.js +6 -0
- package/dist/solutions-components/p-7c19f274.js +6 -0
- package/dist/solutions-components/p-7fa53f88.entry.js +6 -0
- package/dist/solutions-components/p-81012aaa.entry.js +6 -0
- package/dist/solutions-components/p-8145011e.entry.js +11 -0
- package/dist/solutions-components/p-8343f841.entry.js +17 -0
- package/dist/solutions-components/p-85002390.js +11 -0
- package/dist/solutions-components/p-860452b5.entry.js +11 -0
- package/dist/solutions-components/p-8704c6df.entry.js +11 -0
- package/dist/solutions-components/p-871b9b39.entry.js +6 -0
- package/dist/solutions-components/p-873a5fd1.entry.js +29 -0
- package/dist/solutions-components/p-8817162f.js +17 -0
- package/dist/solutions-components/p-886fbbe3.entry.js +6 -0
- package/dist/solutions-components/p-88934d2b.js +11 -0
- package/dist/solutions-components/p-88e391ab.entry.js +6 -0
- package/dist/solutions-components/p-89bd8016.entry.js +22 -0
- package/dist/solutions-components/p-8ad16e95.js +16 -0
- package/dist/solutions-components/p-8b54465a.js +11 -0
- package/dist/solutions-components/p-8e85d818.js +6 -0
- package/dist/solutions-components/p-8feb21be.entry.js +17 -0
- package/dist/solutions-components/p-9099acb6.js +6 -0
- package/dist/solutions-components/p-93c9be09.entry.js +17 -0
- package/dist/solutions-components/p-93d8ef73.entry.js +6 -0
- package/dist/solutions-components/p-941ec574.entry.js +6 -0
- package/dist/solutions-components/p-949a8cb7.entry.js +11 -0
- package/dist/solutions-components/p-952a4ed2.js +6 -0
- package/dist/solutions-components/p-960a4993.entry.js +6 -0
- package/dist/solutions-components/p-96a7e73d.js +11 -0
- package/dist/solutions-components/p-981ab7fc.entry.js +6 -0
- package/dist/solutions-components/p-9905a2cd.js +6 -0
- package/dist/solutions-components/p-9a4f0ae3.entry.js +11 -0
- package/dist/solutions-components/p-9ab5fbed.entry.js +17 -0
- package/dist/solutions-components/p-9bfb0a88.entry.js +17 -0
- package/dist/solutions-components/p-9edd6de9.entry.js +16 -0
- package/dist/solutions-components/p-9f943f1a.js +6 -0
- package/dist/solutions-components/p-a0b62b46.entry.js +6 -0
- package/dist/solutions-components/p-a2613102.entry.js +11 -0
- package/dist/solutions-components/p-a2c467d7.js +6 -0
- package/dist/solutions-components/p-a704be29.js +6 -0
- package/dist/solutions-components/p-a7ca67b9.js +11 -0
- package/dist/solutions-components/p-a8638d44.entry.js +11 -0
- package/dist/solutions-components/p-abafd987.entry.js +47 -0
- package/dist/solutions-components/p-abd443e4.entry.js +11 -0
- package/dist/solutions-components/p-abd99f2b.entry.js +11 -0
- package/dist/solutions-components/p-ac40d2a6.entry.js +11 -0
- package/dist/solutions-components/p-ade4a0c0.entry.js +6 -0
- package/dist/solutions-components/p-ae53daf0.js +11 -0
- package/dist/solutions-components/p-ae8ed06a.entry.js +6 -0
- package/dist/solutions-components/p-b134cc53.entry.js +11 -0
- package/dist/solutions-components/p-b1a053c7.entry.js +6 -0
- package/dist/solutions-components/p-b1b88bb9.entry.js +11 -0
- package/dist/solutions-components/p-b24985b0.entry.js +11 -0
- package/dist/solutions-components/p-b4d92441.entry.js +6 -0
- package/dist/solutions-components/p-b4f15b86.entry.js +11 -0
- package/dist/solutions-components/p-b51111e1.js +11 -0
- package/dist/solutions-components/p-b6ac459a.entry.js +11 -0
- package/dist/solutions-components/p-b715fe7e.entry.js +11 -0
- package/dist/solutions-components/p-bd989e41.js +11 -0
- package/dist/solutions-components/p-c58a3ade.entry.js +11 -0
- package/dist/solutions-components/p-c6296ee6.js +11 -0
- package/dist/solutions-components/p-c62bd2a0.entry.js +17 -0
- package/dist/solutions-components/p-c6fe3b6c.js +6 -0
- package/dist/solutions-components/p-c897ea6a.entry.js +11 -0
- package/dist/solutions-components/p-c9193d36.entry.js +6 -0
- package/dist/solutions-components/p-caa665a4.js +11 -0
- package/dist/solutions-components/p-cb860e39.js +11 -0
- package/dist/solutions-components/p-cc5e8fec.entry.js +11 -0
- package/dist/solutions-components/p-ccc3f0c4.entry.js +6 -0
- package/dist/solutions-components/p-cde4f891.entry.js +11 -0
- package/dist/solutions-components/p-cefb0487.js +489 -0
- package/dist/solutions-components/p-d29843c1.js +6 -0
- package/dist/solutions-components/p-d34db378.entry.js +21 -0
- package/dist/solutions-components/p-d3b61974.entry.js +11 -0
- package/dist/solutions-components/p-d7f00451.entry.js +11 -0
- package/dist/solutions-components/p-d81f19b5.js +6 -0
- package/dist/solutions-components/p-d9110df1.entry.js +11 -0
- package/dist/solutions-components/p-e060bbf4.entry.js +6 -0
- package/dist/solutions-components/p-e191b864.entry.js +11 -0
- package/dist/solutions-components/p-e2263afa.entry.js +11 -0
- package/dist/solutions-components/p-e2d9c1e4.entry.js +12 -0
- package/dist/solutions-components/p-e46f6b68.js +11 -0
- package/dist/solutions-components/p-e5736093.entry.js +6 -0
- package/dist/solutions-components/p-e683e142.js +6 -0
- package/dist/solutions-components/p-e6ac93e5.entry.js +11 -0
- package/dist/solutions-components/p-e7ce7ab5.entry.js +11 -0
- package/dist/solutions-components/p-e85ca9f5.entry.js +11 -0
- package/dist/solutions-components/p-e9488a2a.js +6 -0
- package/dist/solutions-components/p-eacb5b05.js +11 -0
- package/dist/solutions-components/p-ed000576.js +6 -0
- package/dist/solutions-components/p-eec49294.entry.js +11 -0
- package/dist/solutions-components/p-f123e913.entry.js +6 -0
- package/dist/solutions-components/p-f2139e1f.js +11 -0
- package/dist/solutions-components/p-f2e30760.entry.js +11 -0
- package/dist/solutions-components/p-f3cd6339.entry.js +11 -0
- package/dist/solutions-components/p-f42cdeb6.entry.js +6 -0
- package/dist/solutions-components/p-f44c8764.js +6 -0
- package/dist/solutions-components/p-f6a94b55.js +11 -0
- package/dist/solutions-components/p-f6c2f78c.js +6 -0
- package/dist/solutions-components/p-f97b2291.js +6 -0
- package/dist/solutions-components/p-fbd8a250.entry.js +12 -0
- package/dist/solutions-components/p-fc62c04b.entry.js +6 -0
- package/dist/solutions-components/p-fc68aaf4.js +6 -0
- package/dist/solutions-components/p-fc8d6dcf.js +11 -0
- package/dist/solutions-components/p-fc9301a3.entry.js +6 -0
- package/dist/solutions-components/p-fde2ea30.entry.js +6 -0
- package/dist/solutions-components/p-fe82bd8a.js +11 -0
- package/dist/solutions-components/p-ffbe2075.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/common.ts +2 -2
- package/dist/solutions-components/utils/downloadUtils.ts +37 -37
- package/dist/solutions-components/utils/interfaces.ts +18 -18
- package/dist/solutions-components/utils/locale.ts +4 -4
- package/dist/solutions-components/utils/pciUtils.ts +3 -3
- package/dist/solutions-components/utils/popupUtils.ts +1 -1
- package/dist/solutions-components/utils/queryUtils.ts +7 -4
- package/dist/solutions-components/utils/solution-store.ts +9 -10
- package/dist/solutions-components/utils/templates.ts +9 -9
- package/dist/types/components/card-manager/card-manager.d.ts +53 -0
- package/dist/types/components/create-feature/create-feature.d.ts +8 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -16
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +12 -6
- package/dist/types/components/layer-table/layer-table.d.ts +68 -6
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +8 -0
- package/dist/types/components/public-notification/public-notification.d.ts +8 -0
- package/dist/types/components.d.ts +95 -10
- package/dist/types/preact.d.ts +5 -1
- package/dist/types/utils/queryUtils.d.ts +3 -0
- package/package.json +2 -2
- package/dist/cjs/ExpandToggle-4bf03edc.js +0 -115
- package/dist/cjs/FloatingArrow-7eca410a.js +0 -48
- package/dist/cjs/Heading-2333bcd2.js +0 -25
- package/dist/cjs/Validation-aa47298a.js +0 -20
- package/dist/cjs/app-globals-7f35a2ee.js +0 -67
- package/dist/cjs/ar-cecfe7a4.js +0 -106
- package/dist/cjs/array-59824898.js +0 -17
- package/dist/cjs/bg-4fc20839.js +0 -84
- package/dist/cjs/browser-69696af0.js +0 -35
- package/dist/cjs/bs-3bffda26.js +0 -53
- package/dist/cjs/ca-368f111b.js +0 -73
- package/dist/cjs/calcite-action-menu_3.cjs.entry.js +0 -794
- package/dist/cjs/calcite-alert_4.cjs.entry.js +0 -1211
- package/dist/cjs/calcite-flow_6.cjs.entry.js +0 -1935
- package/dist/cjs/calcite-icon.cjs.entry.js +0 -199
- package/dist/cjs/calcite-input-time-picker-de202530.js +0 -1861
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -403
- package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -507
- package/dist/cjs/component-a4c6a35d.js +0 -33
- package/dist/cjs/conditionalSlot-6b5d9b84.js +0 -54
- package/dist/cjs/config-afe9063b.js +0 -40
- package/dist/cjs/cs-1386c8b8.js +0 -149
- package/dist/cjs/da-68d9e5ce.js +0 -69
- package/dist/cjs/date-5a57b606.js +0 -264
- package/dist/cjs/de-at-017d79c1.js +0 -92
- package/dist/cjs/de-ch-f892b97a.js +0 -92
- package/dist/cjs/de-f3b48b7d.js +0 -93
- package/dist/cjs/dom-6a9b6275.js +0 -1215
- package/dist/cjs/downloadUtils-e6e2f8c4.js +0 -3163
- package/dist/cjs/el-16691582.js +0 -68
- package/dist/cjs/en-au-3cba8189.js +0 -68
- package/dist/cjs/en-ca-e63c64a3.js +0 -67
- package/dist/cjs/en-gb-66e297eb.js +0 -71
- package/dist/cjs/es-473df127.js +0 -68
- package/dist/cjs/es-mx-b8fc355d.js +0 -67
- package/dist/cjs/et-dfe831e4.js +0 -94
- package/dist/cjs/fi-8ab8c685.js +0 -117
- package/dist/cjs/filter-1f98198b.js +0 -778
- package/dist/cjs/floating-ui-b20fd1f7.js +0 -2373
- package/dist/cjs/focusTrapComponent-a4531bc7.js +0 -1018
- package/dist/cjs/form-5229f1c8.js +0 -381
- package/dist/cjs/fr-ch-9cdf5409.js +0 -68
- package/dist/cjs/fr-fbc089e3.js +0 -70
- package/dist/cjs/guid-02e5380f.js +0 -26
- package/dist/cjs/he-33e82ae7.js +0 -107
- package/dist/cjs/helpers-3a8234e8.js +0 -940
- package/dist/cjs/hi-bc15c04d.js +0 -67
- package/dist/cjs/hr-94438cce.js +0 -82
- package/dist/cjs/hu-e076cebf.js +0 -90
- package/dist/cjs/id-81a2fef0.js +0 -68
- package/dist/cjs/index.es-fa362797.js +0 -11317
- package/dist/cjs/input-33270a99.js +0 -60
- package/dist/cjs/interactive-89f913ba.js +0 -167
- package/dist/cjs/it-549faba6.js +0 -68
- package/dist/cjs/it-ch-f2165d11.js +0 -68
- package/dist/cjs/ja-2c7ee1fb.js +0 -74
- package/dist/cjs/key-d6da79d8.js +0 -19
- package/dist/cjs/ko-ac460bc7.js +0 -74
- package/dist/cjs/label-26ee0ddb.js +0 -186
- package/dist/cjs/loadable-2e2626dc.js +0 -98
- package/dist/cjs/locale-42c21404.js +0 -605
- package/dist/cjs/locale-a1bcb6eb.js +0 -120
- package/dist/cjs/logger-1c9bfcfd.js +0 -61
- package/dist/cjs/lt-8fd46749.js +0 -99
- package/dist/cjs/lv-49bc9ddb.js +0 -68
- package/dist/cjs/mapViewUtils-8d4da732.js +0 -512
- package/dist/cjs/math-2911c0c9.js +0 -60
- package/dist/cjs/mk-5a82adab.js +0 -68
- package/dist/cjs/nb-24cd76dd.js +0 -69
- package/dist/cjs/nl-f6394232.js +0 -69
- package/dist/cjs/observers-8fed90f3.js +0 -58
- package/dist/cjs/openCloseComponent-14628d11.js +0 -65
- package/dist/cjs/pl-1b2c1ac1.js +0 -116
- package/dist/cjs/popupUtils-47bd97e7.js +0 -121
- package/dist/cjs/pt-b9970ff4.js +0 -69
- package/dist/cjs/pt-br-bfdc1da5.js +0 -67
- package/dist/cjs/resources-151788f3.js +0 -23
- package/dist/cjs/resources-3eec4ddc.js +0 -27
- package/dist/cjs/resources-41443a57.js +0 -26
- package/dist/cjs/resources-44478618.js +0 -29
- package/dist/cjs/resources-9fb1bc89.js +0 -68
- package/dist/cjs/resources-dfe71ff2.js +0 -39
- package/dist/cjs/resources-e23d63db.js +0 -39
- package/dist/cjs/resources-e96455bb.js +0 -68
- package/dist/cjs/resources-ed5f0434.js +0 -21
- package/dist/cjs/resources-fac4579f.js +0 -23
- package/dist/cjs/ro-d3dcee3e.js +0 -68
- package/dist/cjs/ru-86dc7992.js +0 -128
- package/dist/cjs/shared-list-render-54fa8d30.js +0 -361
- package/dist/cjs/sk-f4477e9e.js +0 -150
- package/dist/cjs/sl-056c7a3e.js +0 -170
- package/dist/cjs/sortableComponent-9bfb9488.js +0 -2748
- package/dist/cjs/sr-98be5235.js +0 -103
- package/dist/cjs/sv-cb8dd245.js +0 -73
- package/dist/cjs/t9n-42ba6ea3.js +0 -108
- package/dist/cjs/th-9d1805bf.js +0 -67
- package/dist/cjs/time-d48f5d3e.js +0 -301
- package/dist/cjs/tr-833a6ecc.js +0 -68
- package/dist/cjs/uk-df027a8a.js +0 -106
- package/dist/cjs/utils-051e0119.js +0 -78
- package/dist/cjs/utils-357c41eb.js +0 -2304
- package/dist/cjs/utils-a2799a10.js +0 -130
- package/dist/cjs/vi-2f15ae72.js +0 -72
- package/dist/cjs/zh-cn-ede80e9d.js +0 -96
- package/dist/cjs/zh-hk-5de99bec.js +0 -94
- package/dist/cjs/zh-tw-9cf1d1bd.js +0 -94
- package/dist/esm/ExpandToggle-bddb5e82.js +0 -108
- package/dist/esm/FloatingArrow-adf66cf8.js +0 -46
- package/dist/esm/Heading-20345c69.js +0 -22
- package/dist/esm/Validation-63949b7d.js +0 -18
- package/dist/esm/app-globals-5d3ac5ed.js +0 -65
- package/dist/esm/ar-c466a382.js +0 -104
- package/dist/esm/array-dd6e2c7d.js +0 -15
- package/dist/esm/bg-9cb15225.js +0 -82
- package/dist/esm/browser-552eb2d0.js +0 -32
- package/dist/esm/bs-f5629d7c.js +0 -51
- package/dist/esm/ca-4bf4a8d1.js +0 -71
- package/dist/esm/calcite-action-menu_3.entry.js +0 -788
- package/dist/esm/calcite-alert_4.entry.js +0 -1204
- package/dist/esm/calcite-flow_6.entry.js +0 -1926
- package/dist/esm/calcite-icon.entry.js +0 -195
- package/dist/esm/calcite-input-time-picker-60dbdc25.js +0 -1858
- package/dist/esm/calcite-modal.entry.js +0 -399
- package/dist/esm/calcite-panel_2.entry.js +0 -502
- package/dist/esm/component-c2c32481.js +0 -30
- package/dist/esm/conditionalSlot-60e775f3.js +0 -51
- package/dist/esm/config-2fa7bb77.js +0 -36
- package/dist/esm/cs-41ed0d89.js +0 -147
- package/dist/esm/da-a8c74a48.js +0 -67
- package/dist/esm/date-45f24c42.js +0 -248
- package/dist/esm/de-9a636f1a.js +0 -91
- package/dist/esm/de-at-26352836.js +0 -90
- package/dist/esm/de-ch-25495449.js +0 -90
- package/dist/esm/dom-b5c50286.js +0 -1180
- package/dist/esm/downloadUtils-74bc82ae.js +0 -3156
- package/dist/esm/el-82ffddec.js +0 -66
- package/dist/esm/en-au-0f081a3c.js +0 -66
- package/dist/esm/en-ca-f04aeac2.js +0 -65
- package/dist/esm/en-gb-81e968d6.js +0 -69
- package/dist/esm/es-e058977a.js +0 -66
- package/dist/esm/es-mx-14a1f320.js +0 -65
- package/dist/esm/et-4a06c642.js +0 -92
- package/dist/esm/fi-9673a0e6.js +0 -115
- package/dist/esm/filter-23b3858b.js +0 -775
- package/dist/esm/floating-ui-ba0acfca.js +0 -2365
- package/dist/esm/focusTrapComponent-6ec0f681.js +0 -1013
- package/dist/esm/form-ba965042.js +0 -372
- package/dist/esm/fr-94ff7253.js +0 -68
- package/dist/esm/fr-ch-00b7e60e.js +0 -66
- package/dist/esm/guid-4c746a7f.js +0 -24
- package/dist/esm/he-faefbd69.js +0 -105
- package/dist/esm/helpers-3be8dbbc.js +0 -913
- package/dist/esm/hi-923b9ffd.js +0 -65
- package/dist/esm/hr-6ed6939b.js +0 -80
- package/dist/esm/hu-25918d1e.js +0 -88
- package/dist/esm/id-520427a1.js +0 -66
- package/dist/esm/index.es-40ce1695.js +0 -11230
- package/dist/esm/input-d11f5ac8.js +0 -58
- package/dist/esm/interactive-742ba555.js +0 -162
- package/dist/esm/it-7751f7dc.js +0 -66
- package/dist/esm/it-ch-cec3226b.js +0 -66
- package/dist/esm/ja-1df4233a.js +0 -72
- package/dist/esm/key-58898f0a.js +0 -16
- package/dist/esm/ko-a104769f.js +0 -72
- package/dist/esm/label-0b82858a.js +0 -179
- package/dist/esm/loadable-73f289b6.js +0 -93
- package/dist/esm/locale-21e40b0c.js +0 -591
- package/dist/esm/locale-adb5ff0b.js +0 -115
- package/dist/esm/logger-0d6e5bfe.js +0 -59
- package/dist/esm/lt-747213da.js +0 -97
- package/dist/esm/lv-06088b99.js +0 -66
- package/dist/esm/mapViewUtils-3e3d33ea.js +0 -494
- package/dist/esm/math-8c04292e.js +0 -54
- package/dist/esm/mk-5f581ea0.js +0 -66
- package/dist/esm/nb-f9d01bec.js +0 -67
- package/dist/esm/nl-48b9338d.js +0 -67
- package/dist/esm/observers-e2484555.js +0 -56
- package/dist/esm/openCloseComponent-7b8f2e24.js +0 -63
- package/dist/esm/pl-2ff50be7.js +0 -114
- package/dist/esm/popupUtils-349a26e6.js +0 -119
- package/dist/esm/pt-br-45ae496b.js +0 -65
- package/dist/esm/pt-ed25c80b.js +0 -67
- package/dist/esm/resources-2d6e35cf.js +0 -20
- package/dist/esm/resources-30b747d4.js +0 -23
- package/dist/esm/resources-5ba50a1d.js +0 -19
- package/dist/esm/resources-64237427.js +0 -63
- package/dist/esm/resources-8665df6b.js +0 -62
- package/dist/esm/resources-896b6b00.js +0 -35
- package/dist/esm/resources-8f90cf93.js +0 -22
- package/dist/esm/resources-bc5c2adb.js +0 -21
- package/dist/esm/resources-cfbcc1ed.js +0 -24
- package/dist/esm/resources-defbb49f.js +0 -34
- package/dist/esm/ro-c5727d93.js +0 -66
- package/dist/esm/ru-ecb35906.js +0 -126
- package/dist/esm/shared-list-render-4053f1dc.js +0 -339
- package/dist/esm/sk-e9c31458.js +0 -148
- package/dist/esm/sl-063df216.js +0 -168
- package/dist/esm/sortableComponent-3f9e9322.js +0 -2745
- package/dist/esm/sr-68f70e45.js +0 -101
- package/dist/esm/sv-b5a85ee5.js +0 -71
- package/dist/esm/t9n-2fb3af62.js +0 -103
- package/dist/esm/th-3a5ed31b.js +0 -65
- package/dist/esm/time-a215e415.js +0 -286
- package/dist/esm/tr-b8829177.js +0 -66
- package/dist/esm/uk-c74df043.js +0 -104
- package/dist/esm/utils-13c5908e.js +0 -65
- package/dist/esm/utils-1f0d1828.js +0 -2274
- package/dist/esm/utils-5b977646.js +0 -121
- package/dist/esm/vi-a5092b10.js +0 -70
- package/dist/esm/zh-cn-f1e998fb.js +0 -94
- package/dist/esm/zh-hk-3ec32fe3.js +0 -92
- package/dist/esm/zh-tw-33f4a290.js +0 -92
- package/dist/solutions-components/p-0005175a.js +0 -16
- package/dist/solutions-components/p-00d131cd.entry.js +0 -11
- package/dist/solutions-components/p-013188f8.entry.js +0 -6
- package/dist/solutions-components/p-01df774b.js +0 -11
- package/dist/solutions-components/p-0215daed.js +0 -6
- package/dist/solutions-components/p-022c49af.js +0 -489
- package/dist/solutions-components/p-04f09e7f.entry.js +0 -11
- package/dist/solutions-components/p-05b7d3ce.js +0 -6
- package/dist/solutions-components/p-06084e6c.js +0 -11
- package/dist/solutions-components/p-089bc565.js +0 -11
- package/dist/solutions-components/p-0fe5de6b.entry.js +0 -6
- package/dist/solutions-components/p-1061076b.js +0 -6
- package/dist/solutions-components/p-14fbc662.js +0 -11
- package/dist/solutions-components/p-1500d4c7.js +0 -6
- package/dist/solutions-components/p-15622ace.entry.js +0 -11
- package/dist/solutions-components/p-16d4eb72.entry.js +0 -16
- package/dist/solutions-components/p-172fcecd.entry.js +0 -11
- package/dist/solutions-components/p-1892c357.js +0 -11
- package/dist/solutions-components/p-18f18ab3.js +0 -11
- package/dist/solutions-components/p-1900269a.entry.js +0 -6
- package/dist/solutions-components/p-19a942c4.entry.js +0 -16
- package/dist/solutions-components/p-1a9a47a0.js +0 -11
- package/dist/solutions-components/p-1bbe9e22.js +0 -6
- package/dist/solutions-components/p-1d71e81f.js +0 -11
- package/dist/solutions-components/p-1d99dfcd.entry.js +0 -11
- package/dist/solutions-components/p-1e455668.js +0 -6
- package/dist/solutions-components/p-1ed47f10.entry.js +0 -21
- package/dist/solutions-components/p-207b4e70.entry.js +0 -11
- package/dist/solutions-components/p-24997e81.js +0 -6
- package/dist/solutions-components/p-25a1fe4d.js +0 -6
- package/dist/solutions-components/p-25c584f4.entry.js +0 -17
- package/dist/solutions-components/p-26eb6f09.js +0 -6
- package/dist/solutions-components/p-274cad02.entry.js +0 -6
- package/dist/solutions-components/p-2ab773ed.js +0 -6
- package/dist/solutions-components/p-2ed8e994.entry.js +0 -17
- package/dist/solutions-components/p-3110db7a.entry.js +0 -6
- package/dist/solutions-components/p-31f7dd8e.entry.js +0 -6
- package/dist/solutions-components/p-32be7387.js +0 -6
- package/dist/solutions-components/p-336b8f46.js +0 -6
- package/dist/solutions-components/p-371dbb0f.entry.js +0 -6
- package/dist/solutions-components/p-388725c2.entry.js +0 -6
- package/dist/solutions-components/p-3917c6f8.entry.js +0 -11
- package/dist/solutions-components/p-3a74aab6.entry.js +0 -6
- package/dist/solutions-components/p-3c1945a9.js +0 -6
- package/dist/solutions-components/p-3d0666fe.js +0 -6
- package/dist/solutions-components/p-3d6b18ec.entry.js +0 -11
- package/dist/solutions-components/p-3df511e0.entry.js +0 -6
- package/dist/solutions-components/p-3eff6da3.js +0 -11
- package/dist/solutions-components/p-3f9238e9.entry.js +0 -11
- package/dist/solutions-components/p-40724bfb.js +0 -11
- package/dist/solutions-components/p-40d7e510.js +0 -6
- package/dist/solutions-components/p-415cf05e.js +0 -12
- package/dist/solutions-components/p-4216af0e.js +0 -6
- package/dist/solutions-components/p-42a8493c.entry.js +0 -6
- package/dist/solutions-components/p-44240d03.js +0 -18
- package/dist/solutions-components/p-4514dc6f.entry.js +0 -11
- package/dist/solutions-components/p-47f6f996.entry.js +0 -6
- package/dist/solutions-components/p-49118e69.js +0 -6
- package/dist/solutions-components/p-4d44410b.entry.js +0 -6
- package/dist/solutions-components/p-4de4fff6.entry.js +0 -6
- package/dist/solutions-components/p-4f06e105.entry.js +0 -11
- package/dist/solutions-components/p-4f074a84.entry.js +0 -11
- package/dist/solutions-components/p-4f474f64.js +0 -6
- package/dist/solutions-components/p-4fc5ab17.js +0 -6
- package/dist/solutions-components/p-51270f04.entry.js +0 -6
- package/dist/solutions-components/p-52576649.entry.js +0 -17
- package/dist/solutions-components/p-534cd147.js +0 -6
- package/dist/solutions-components/p-544cd7fd.entry.js +0 -11
- package/dist/solutions-components/p-56601650.js +0 -11
- package/dist/solutions-components/p-569ccf2c.entry.js +0 -11
- package/dist/solutions-components/p-56b9dc0d.entry.js +0 -11
- package/dist/solutions-components/p-580a4537.js +0 -11
- package/dist/solutions-components/p-58405b19.entry.js +0 -11
- package/dist/solutions-components/p-5a473f0d.js +0 -21
- package/dist/solutions-components/p-5c1366f7.entry.js +0 -11
- package/dist/solutions-components/p-5cca7ef7.entry.js +0 -17
- package/dist/solutions-components/p-6070857c.js +0 -6
- package/dist/solutions-components/p-61f47dfa.entry.js +0 -11
- package/dist/solutions-components/p-621e306e.js +0 -6
- package/dist/solutions-components/p-62c6764c.js +0 -6
- package/dist/solutions-components/p-66be22db.entry.js +0 -11
- package/dist/solutions-components/p-682d053f.entry.js +0 -6
- package/dist/solutions-components/p-68ec5c15.js +0 -17
- package/dist/solutions-components/p-6d6c3d56.js +0 -6
- package/dist/solutions-components/p-6f253995.js +0 -61
- package/dist/solutions-components/p-6fb5c228.entry.js +0 -11
- package/dist/solutions-components/p-712269bc.entry.js +0 -29
- package/dist/solutions-components/p-7324cb9f.js +0 -6
- package/dist/solutions-components/p-7699e80b.js +0 -11
- package/dist/solutions-components/p-7a61d771.entry.js +0 -11
- package/dist/solutions-components/p-7b0b9681.js +0 -6
- package/dist/solutions-components/p-7b68d1ea.js +0 -6
- package/dist/solutions-components/p-7bfecd07.js +0 -6
- package/dist/solutions-components/p-7c00971f.js +0 -6
- package/dist/solutions-components/p-7ca6f4d5.entry.js +0 -6
- package/dist/solutions-components/p-7d32b6a4.entry.js +0 -11
- package/dist/solutions-components/p-7d484762.entry.js +0 -6
- package/dist/solutions-components/p-81790f41.js +0 -6
- package/dist/solutions-components/p-8241cd35.js +0 -11
- package/dist/solutions-components/p-83786108.js +0 -6
- package/dist/solutions-components/p-84a049f7.entry.js +0 -6
- package/dist/solutions-components/p-8524bacc.js +0 -11
- package/dist/solutions-components/p-86d877d8.entry.js +0 -17
- package/dist/solutions-components/p-89195780.entry.js +0 -29
- package/dist/solutions-components/p-8a177acd.entry.js +0 -11
- package/dist/solutions-components/p-8c2d05c1.js +0 -6
- package/dist/solutions-components/p-8ce7e559.entry.js +0 -11
- package/dist/solutions-components/p-8d576a9a.js +0 -6
- package/dist/solutions-components/p-8df67871.entry.js +0 -11
- package/dist/solutions-components/p-8efa9edf.entry.js +0 -6
- package/dist/solutions-components/p-8f07cef3.entry.js +0 -11
- package/dist/solutions-components/p-8f0ee4b0.js +0 -17
- package/dist/solutions-components/p-8f218bfe.entry.js +0 -11
- package/dist/solutions-components/p-92baaf77.entry.js +0 -11
- package/dist/solutions-components/p-939bc1b4.js +0 -16
- package/dist/solutions-components/p-93fd86cd.entry.js +0 -6
- package/dist/solutions-components/p-969008d8.entry.js +0 -6
- package/dist/solutions-components/p-97331a60.entry.js +0 -12
- package/dist/solutions-components/p-977f2314.entry.js +0 -6
- package/dist/solutions-components/p-99af3f50.js +0 -6
- package/dist/solutions-components/p-9ab3df4f.js +0 -11
- package/dist/solutions-components/p-9b83e593.entry.js +0 -6
- package/dist/solutions-components/p-9d0528ac.js +0 -6
- package/dist/solutions-components/p-9dc4186e.entry.js +0 -11
- package/dist/solutions-components/p-9ec1aa8c.js +0 -6
- package/dist/solutions-components/p-9f0b8f8b.js +0 -11
- package/dist/solutions-components/p-9f574f86.entry.js +0 -6
- package/dist/solutions-components/p-9f63a45c.js +0 -11
- package/dist/solutions-components/p-9f8b30b5.entry.js +0 -11
- package/dist/solutions-components/p-a0db88ed.js +0 -6
- package/dist/solutions-components/p-a2246051.entry.js +0 -17
- package/dist/solutions-components/p-a432f638.entry.js +0 -6
- package/dist/solutions-components/p-a474882d.js +0 -6
- package/dist/solutions-components/p-a5609b81.js +0 -11
- package/dist/solutions-components/p-a6935ddf.js +0 -6
- package/dist/solutions-components/p-a72f5cc6.js +0 -6
- package/dist/solutions-components/p-a84b3d50.js +0 -6
- package/dist/solutions-components/p-a858460b.entry.js +0 -47
- package/dist/solutions-components/p-a94a0072.js +0 -6
- package/dist/solutions-components/p-a957cdd8.entry.js +0 -11
- package/dist/solutions-components/p-aa0ac2d2.js +0 -16
- package/dist/solutions-components/p-aa3140aa.entry.js +0 -6
- package/dist/solutions-components/p-aa71106f.entry.js +0 -11
- package/dist/solutions-components/p-abd3e579.entry.js +0 -6
- package/dist/solutions-components/p-ac52e0ba.js +0 -11
- package/dist/solutions-components/p-acaae81d.js +0 -11
- package/dist/solutions-components/p-aeb86188.js +0 -11
- package/dist/solutions-components/p-afcd5996.js +0 -11
- package/dist/solutions-components/p-b12af1e0.entry.js +0 -17
- package/dist/solutions-components/p-b1bc21ac.js +0 -11
- package/dist/solutions-components/p-b39c5275.js +0 -11
- package/dist/solutions-components/p-b3f2bb6f.js +0 -6
- package/dist/solutions-components/p-b448a7a7.js +0 -6
- package/dist/solutions-components/p-b5963a0f.js +0 -6
- package/dist/solutions-components/p-b7c200a0.entry.js +0 -12
- package/dist/solutions-components/p-bb9ac684.entry.js +0 -6
- package/dist/solutions-components/p-bc0aaf2f.entry.js +0 -11
- package/dist/solutions-components/p-bc14b643.entry.js +0 -12
- package/dist/solutions-components/p-bc1d8894.js +0 -11
- package/dist/solutions-components/p-bc33d298.js +0 -6
- package/dist/solutions-components/p-bcc79697.js +0 -11
- package/dist/solutions-components/p-beb23ced.entry.js +0 -6
- package/dist/solutions-components/p-bef2141e.entry.js +0 -6
- package/dist/solutions-components/p-bfa395e9.js +0 -6
- package/dist/solutions-components/p-c2964e00.entry.js +0 -11
- package/dist/solutions-components/p-c5e13ebc.js +0 -11
- package/dist/solutions-components/p-c638d28e.js +0 -11
- package/dist/solutions-components/p-c71745d0.entry.js +0 -6
- package/dist/solutions-components/p-c7e2d3e6.entry.js +0 -6
- package/dist/solutions-components/p-c89f1175.entry.js +0 -11
- package/dist/solutions-components/p-c8b149b8.entry.js +0 -6
- package/dist/solutions-components/p-c911c46d.entry.js +0 -11
- package/dist/solutions-components/p-c9a45311.entry.js +0 -6
- package/dist/solutions-components/p-ca3430fd.entry.js +0 -21
- package/dist/solutions-components/p-ca65d7ff.entry.js +0 -12
- package/dist/solutions-components/p-cabc6e5c.entry.js +0 -17
- package/dist/solutions-components/p-cb5ddaae.js +0 -6
- package/dist/solutions-components/p-cb5de432.entry.js +0 -11
- package/dist/solutions-components/p-d3453ce8.entry.js +0 -6
- package/dist/solutions-components/p-d4d4b4e3.entry.js +0 -6
- package/dist/solutions-components/p-d4e58347.entry.js +0 -6
- package/dist/solutions-components/p-d52da3ad.js +0 -6
- package/dist/solutions-components/p-d559f79c.js +0 -11
- package/dist/solutions-components/p-d5dae468.js +0 -6
- package/dist/solutions-components/p-d62336e2.entry.js +0 -6
- package/dist/solutions-components/p-d6e62ea2.js +0 -6
- package/dist/solutions-components/p-da713b07.entry.js +0 -6
- package/dist/solutions-components/p-da9cee72.entry.js +0 -11
- package/dist/solutions-components/p-dc58c4da.entry.js +0 -6
- package/dist/solutions-components/p-dc7710b5.js +0 -11
- package/dist/solutions-components/p-dd3530da.entry.js +0 -11
- package/dist/solutions-components/p-de02a060.entry.js +0 -11
- package/dist/solutions-components/p-de197552.js +0 -6
- package/dist/solutions-components/p-df191993.entry.js +0 -11
- package/dist/solutions-components/p-e1917512.js +0 -6
- package/dist/solutions-components/p-e33e07a4.entry.js +0 -11
- package/dist/solutions-components/p-e83d2d34.entry.js +0 -24
- package/dist/solutions-components/p-e98c4f93.js +0 -11
- package/dist/solutions-components/p-ead8696c.js +0 -16
- package/dist/solutions-components/p-ec702c30.entry.js +0 -11
- package/dist/solutions-components/p-ed60dff0.entry.js +0 -11
- package/dist/solutions-components/p-ed7cba2a.entry.js +0 -11
- package/dist/solutions-components/p-ee157540.entry.js +0 -22
- package/dist/solutions-components/p-eeaa122b.entry.js +0 -11
- package/dist/solutions-components/p-ef4f2c1d.entry.js +0 -6
- package/dist/solutions-components/p-f0345689.entry.js +0 -16
- package/dist/solutions-components/p-f25d5c18.entry.js +0 -6
- package/dist/solutions-components/p-f31a44b7.js +0 -11
- package/dist/solutions-components/p-f32f57a3.entry.js +0 -6
- package/dist/solutions-components/p-f4750f05.entry.js +0 -17
- package/dist/solutions-components/p-f47d6a10.entry.js +0 -11
- package/dist/solutions-components/p-f6bc95b3.entry.js +0 -11
- package/dist/solutions-components/p-f89104bc.entry.js +0 -6
- package/dist/solutions-components/p-f91ae108.entry.js +0 -6
- package/dist/solutions-components/p-f9393949.entry.js +0 -6
- package/dist/solutions-components/p-fc58da4b.entry.js +0 -6
- package/dist/solutions-components/p-fce978b9.entry.js +0 -6
- package/dist/solutions-components/p-fe6f7734.js +0 -11
- package/dist/solutions-components/p-ff8343ec.js +0 -11
- /package/dist/solutions-components/{p-eb483242.js → p-d572627c.js} +0 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,h as i,H as s,g as o}from"./p-6eb37ed2.js";import{f as a,t as n,d as c,e as r}from"./p-8817162f.js";import{f as l,c as d,d as h,a as p,F as f,r as m}from"./p-e46f6b68.js";import{g as b}from"./p-c6296ee6.js";import{c as u,u as w,d as g,I as v}from"./p-53e0faf4.js";import{i as y}from"./p-b51111e1.js";import{c as k,s as x,a as D}from"./p-1b147794.js";import{c as I}from"./p-3832f6b0.js";import{o as z}from"./p-071a80fb.js";import{g as E}from"./p-0afbf455.js";import{C}from"./p-51b004f6.js";import"./p-3edf491f.js";import"./p-416c0818.js";import"./p-c8d3207e.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){t(this,i),this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=e(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=I("mutation",(()=>this.updateItems())),this.resizeObserver=I("resize",(t=>this.resizeObserverCallback(t))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${b()}`,this.setFilteredPlacements=()=>{const{el:t,flipPlacements:e}=this;this.filteredFlipPlacements=e?l(e,t):null},this.updateTriggers=t=>{this.triggers=t.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((t=>Array.from(t?.querySelectorAll("calcite-dropdown-item")))).reduce(((t,e)=>[...t,...e]),[]),this.updateSelectedItems(),this.reposition(!0),this.items.forEach((t=>t.scale=this.scale))},this.updateGroups=t=>{const e=t.target.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-dropdown-group")));this.groups=e,this.updateItems(),this.updateGroupScale()},this.resizeObserverCallback=t=>{t.forEach((t=>{const{target:e}=t;e===this.referenceEl?this.setDropdownWidth():e===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:t,scrollerEl:e}=this,i=t?.clientWidth;i&&e&&(e.style.minWidth=`${i}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:t}=this;if(!t)return;this.reposition(!0);const e=this.getMaxScrollerHeight();t.style.maxHeight=e>0?`${e}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=t=>{this.resizeObserver.observe(t),this.scrollerEl=t,this.transitionEl=t},this.setReferenceEl=t=>{this.referenceEl=t,d(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(t)},this.setFloatingEl=t=>{this.floatingEl=t,d(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=t=>{if(!t.composedPath().includes(this.referenceEl))return;const{defaultPrevented:e,key:i}=t;if(!e){if(this.open){if("Escape"===i)return this.closeCalciteDropdown(),void t.preventDefault();if(t.shiftKey&&"Tab"===i)return this.closeCalciteDropdown(),void t.preventDefault()}y(i)?(this.openCalciteDropdown(),t.preventDefault()):"Escape"===i&&(this.closeCalciteDropdown(),t.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.getTraversableItems().find((t=>t.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=h,this.selectedItems=[],this.type="click",this.widthScale=void 0,this.scale="m"}openHandler(){z(this),this.disabled?this.open=!1:this.reposition(!0)}handleDisabledChange(t){t||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems(),this.updateGroupScale()}async setFocus(){await k(this),a(this.referenceEl)}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.open&&(this.openHandler(),z(this)),u(this),this.updateItems(),d(this,this.referenceEl,this.floatingEl)}componentWillLoad(){x(this)}componentDidLoad(){D(this),d(this,this.referenceEl,this.floatingEl)}componentDidRender(){w(this)}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),g(this),p(this,this.referenceEl,this.floatingEl)}render(){const{open:t,guid:e}=this;return i(s,{key:"4b3349c1645b7d39263a20b688f7645d92148f23"},i(v,{key:"db1d56073b9f9db2fbf6eaef824e3f12411dd174",disabled:this.disabled},i("div",{key:"05de1bb5f3641147441f18eaeae104acb06e47c6",class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},i("slot",{key:"39b976c808c4f44983f2d6a056bb128537cf1aae","aria-controls":`${e}-menu`,"aria-expanded":n(t),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),i("div",{key:"57ba0f8d3632febcab69b706a73a910f54f09b62","aria-hidden":n(!t),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},i("div",{key:"ae7505fa472d323ad6aed6ea0dd2ab7fdf8e7e59","aria-labelledby":`${e}-menubutton`,class:{"calcite-dropdown-content":!0,[f.animation]:!0,[f.animationActive]:t},id:`${e}-menu`,ref:this.setScrollerAndTransitionEl,role:"menu"},i("slot",{key:"ae94137311b106fbed88dfde346002d87e4efcbb",onSlotchange:this.updateGroups})))))}async reposition(t=!1){const{floatingEl:e,referenceEl:i,placement:s,overlayPositioning:o,filteredFlipPlacements:a}=this;return m(this,{floatingEl:e,referenceEl:i,overlayPositioning:o,placement:s,flipPlacements:a,type:"menu"},t)}closeCalciteDropdownOnClick(t){this.disabled||!this.open||t.composedPath().includes(this.el)||this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(t){this.closeCalciteDropdown(),t.stopPropagation()}closeCalciteDropdownOnOpenEvent(t){t.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.openCalciteDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}getTraversableItems(){return this.items.filter((t=>!t.disabled&&!t.hidden))}calciteInternalDropdownItemKeyEvent(t){const{keyboardEvent:e}=t.detail,i=e.target,s=this.getTraversableItems();switch(e.key){case"Tab":this.open=!1,this.updateTabIndexOfItems(i);break;case"ArrowDown":c(s,i,"next");break;case"ArrowUp":c(s,i,"previous");break;case"Home":c(s,i,"first");break;case"End":c(s,i,"last")}t.stopPropagation()}handleItemSelect(t){this.updateSelectedItems(),t.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==t.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),t.stopPropagation()}updateGroupScale(){this.groups?.forEach((t=>t.scale=this.scale))}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((t=>t.selected))}getMaxScrollerHeight(){const{maxItems:t,items:e}=this;let i,s=0,o=0;return this.groups.forEach((e=>{t>0&&s<t&&Array.from(e.children).forEach(((e,a)=>{0===a&&(isNaN(i)&&(i=e.offsetTop),o+=i),s<t&&(o+=e.offsetHeight,s+=1)}))})),e.length>t?o:0}closeCalciteDropdown(t=!0){this.open=!1,t&&r(this.triggers[0])}getFocusableElement(t){t&&r(t)}updateTabIndexOfItems(t){this.items.forEach((e=>{e.tabIndex=t!==e?-1:0}))}static get delegatesFocus(){return!0}get el(){return o(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};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{display:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .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}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{left:5px}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;block-size:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width-scale=s]){--calcite-dropdown-width:12rem}:host([width-scale=m]){--calcite-dropdown-width:14rem}:host([width-scale=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";const j=class{constructor(i){t(this,i),this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6),this.disabled=!1,this.href=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.label=void 0,this.rel=void 0,this.selected=!1,this.target=void 0,this.selectionMode="single",this.scale="m"}async setFocus(){await k(this),this.el?.focus()}componentWillLoad(){x(this),this.initialize()}componentDidLoad(){D(this)}connectedCallback(){this.initialize()}componentDidRender(){w(this)}render(){const{href:t,selectionMode:e,label:o,iconFlipRtl:a}=this,c=i("calcite-icon",{key:"46fd6784a80e78a149e6796018f495f33c9fe172",class:C.iconStart,flipRtl:"start"===a||"both"===a,icon:this.iconStart,scale:E(this.scale)}),r=i("span",{key:"feee494a9e26fad963b71e5aacf3abf9084ec463",class:C.itemContent},i("slot",{key:"33e49b095819a250f469d457279f6a340ff31fd4"})),l=i("calcite-icon",{key:"ea58bc58292cf76bcda6826e3c402079b0d3ad69",class:C.iconEnd,flipRtl:"end"===a||"both"===a,icon:this.iconEnd,scale:E(this.scale)}),d=this.iconStart&&this.iconEnd?[c,r,l]:this.iconStart?[c,r]:this.iconEnd?[r,l]:r,h=t?i("a",{"aria-label":o,class:C.link,href:t,ref:t=>this.childLink=t,rel:this.rel,tabIndex:-1,target:this.target},d):d,p=t?null:"single"===e?"menuitemradio":"multiple"===e?"menuitemcheckbox":"menuitem",f="none"!==e?n(this.selected):null,{disabled:m}=this;return i(s,{key:"269693a7a036a7e39f4f8d529695df44f34df22a","aria-checked":f,"aria-label":t?"":o,role:p,tabIndex:m?-1:0},i(v,{key:"0c644e048c9e30b8062cd60f7574c3e8fb631b4c",disabled:m},i("div",{key:"d5c9098d6c3007d5f05b28770074f6833a43d53f",class:{[C.container]:!0,[C.containerNone]:"none"===e}},"none"!==e?i("calcite-icon",{class:C.icon,icon:"multiple"===e?"check":"bullet-point",scale:E(this.scale)}):null,h)))}onClick(){this.emitRequestedItem()}keyDownHandler(t){switch(t.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),t.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),t.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":t.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:t})}}updateActiveItemOnChange(t){t.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.determineActiveItem()),t.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return o(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{position:relative;display:flex;flex-grow:1;align-items:center;outline-color:transparent}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.container a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-color-text-3);text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem}.dropdown-item-icon{position:relative;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}:host([scale=s]) .container{padding-block:0.25rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .dropdown-item-icon,:host([scale=s]) .dropdown-item-icon--start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .dropdown-item-icon--end{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .dropdown-item-icon,:host([scale=m]) .dropdown-item-icon--start{padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .dropdown-item-icon--end{padding-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-block:0.625rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .dropdown-item-icon,:host([scale=l]) .dropdown-item-icon--start{padding-inline-end:var(--calcite-spacing-xl)}:host([scale=l]) .dropdown-item-icon--end{padding-inline-start:var(--calcite-spacing-xl)}:host(:focus){outline:2px solid transparent;outline-offset:2px;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(:focus) .container{color:var(--calcite-color-text-1);text-decoration-line:none}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host(:hover:not([disabled])) .dropdown-link,:host(:active:not([disabled])) .dropdown-link{color:var(--calcite-color-text-1)}:host(:active:not([disabled])) .container{background-color:var(--calcite-color-foreground-3)}:host([selected]) .container:not(.container--none-selection),:host([selected]) .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .dropdown-link calcite-icon{color:var(--calcite-color-brand)}:host(:hover:not([disabled])) .dropdown-item-icon{color:var(--calcite-color-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-color-brand);opacity:1}: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{H as calcite_dropdown,j as calcite_dropdown_item}
|
@@ -0,0 +1,17 @@
|
|
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 t,H as i,g as c}from"./p-6eb37ed2.js";import{s as l,a as s,c as a}from"./p-1b147794.js";import{u as o,s as n,c as r,d}from"./p-2866ef30.js";import{c as h,u as b,d as v,I as f}from"./p-53e0faf4.js";import{c as p,d as g}from"./p-32539121.js";import{a as u}from"./p-8817162f.js";import{C as m}from"./p-3edf491f.js";import{g as x}from"./p-0afbf455.js";import"./p-416c0818.js";import"./p-b51111e1.js";import"./p-3832f6b0.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 k="content-cell",w="number-cell",y="footer-cell",C="selection-cell",$="selected-cell",z="last-cell",S="static-cell",j=class{constructor(t){e(this,t),this.updateScreenReaderContentsText=()=>{this.contentsText=this.el.textContent},this.onContainerBlur=()=>{this.focused=!1},this.onContainerFocus=()=>{this.focused=!0},this.alignment="start",this.colSpan=void 0,this.rowSpan=void 0,this.disabled=void 0,this.interactionMode="interactive",this.lastCell=void 0,this.numberCell=void 0,this.parentRowIsSelected=void 0,this.parentRowAlignment="start",this.parentRowPositionLocalized=void 0,this.parentRowType=void 0,this.positionInRow=void 0,this.readCellContentsToAT=void 0,this.scale="m",this.selectionCell=void 0,this.messages=void 0,this.messageOverrides=void 0,this.contentsText="",this.defaultMessages=void 0,this.focused=!1,this.selectionText="",this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderSelectionText()}onMessagesChange(){}effectiveLocaleChange(){o(this,this.effectiveLocale)}async componentWillLoad(){l(this),await n(this),this.updateScreenReaderContentsText(),this.updateScreenReaderSelectionText()}componentDidLoad(){s(this)}connectedCallback(){p(this),r(this),h(this)}componentDidRender(){b(this)}disconnectedCallback(){g(this),d(this),v(this)}async setFocus(){await a(this),this.containerEl.focus()}updateScreenReaderSelectionText(){this.selectionText=this.parentRowIsSelected?`${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.selected} ${this.messages?.keyboardDeselect}`:`${this.messages?.row} ${this.parentRowPositionLocalized} ${this.messages?.unselected} ${this.messages?.keyboardSelect}`}render(){const e=u(this.el),c=this.disabled||"static"===this.interactionMode&&(!this.selectionCell||this.selectionCell&&"foot"===this.parentRowType);return t(i,{key:"4d52967c0b56ad11ae0cd2f2bcda584a4c32d7aa"},t(f,{key:"38dc03f0b7b46647d55510c954da818991134923",disabled:this.disabled},t("td",{key:"f33e06346894caae2199743b02b3d82d45227a9c","aria-disabled":this.disabled,class:{[y]:"foot"===this.parentRowType,[k]:!this.numberCell&&!this.selectionCell,[w]:this.numberCell,[C]:this.selectionCell,[$]:this.parentRowIsSelected,[z]:this.lastCell&&(!this.rowSpan||this.colSpan&&!!this.rowSpan),[m.rtl]:"rtl"===e,[S]:c,[this.parentRowAlignment]:"start"===this.parentRowAlignment||"end"===this.parentRowAlignment},colSpan:this.colSpan,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:e=>this.containerEl=e,role:"interactive"===this.interactionMode?"gridcell":"cell",rowSpan:this.rowSpan,tabIndex:c?-1:0},(this.selectionCell||this.readCellContentsToAT)&&t("span",{key:"09f8419edf6633fec643980debdab653cfa1aa18","aria-hidden":!0,"aria-live":this.focused?"polite":"off",class:"assistive-text"},this.selectionCell&&this.selectionText,this.readCellContentsToAT&&!this.selectionCell&&this.contentsText),t("slot",{key:"05f0410a867cb1cfab5a01b1d4e374002314493d",onSlotchange:this.updateScreenReaderContentsText}))))}static get assetsDirs(){return["assets"]}get el(){return c(this)}static get watchers(){return{parentRowIsSelected:["onSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};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{--calcite-internal-table-cell-background:var(--calcite-table-cell-background, transparent);display:contents}:host([alignment=center]) td:not(.selection-cell):not(.number-cell){text-align:center}:host([alignment=end]) td:not(.selection-cell):not(.number-cell){text-align:end}.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}td{white-space:normal;text-align:start;vertical-align:middle;color:var(--calcite-color-text-1);background:var(--calcite-internal-table-cell-background);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-color-border-3);padding:var(--calcite-internal-table-cell-padding)}td:not(.static-cell){outline-color:transparent}td:not(.static-cell):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 )}td.start.content-cell{vertical-align:top}td.end.content-cell{vertical-align:bottom}td.last-cell{border-inline-end:0}.number-cell{background-color:var(--calcite-color-foreground-2)}.footer-cell{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);border-block-start:1px solid var(--calcite-color-border-3)}.number-cell,.selection-cell{text-align:center;border-inline-end:1px solid var(--calcite-color-border-3);inline-size:2rem;min-inline-size:2rem}.selection-cell{color:var(--calcite-color-text-3);inset-inline-start:2rem}.selection-cell:not(.footer-cell){cursor:pointer}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-cell-background:var(--calcite-color-foreground-current)}.selection-cell.selected-cell{box-shadow:inset 0.25rem 0 0 0 var(--calcite-color-brand);color:var(--calcite-color-brand)}.selection-cell.selected-cell calcite-icon{color:var(--calcite-color-brand)}.calcite--rtl.selection-cell.selected-cell{box-shadow:inset -0.25rem 0 0 0 var(--calcite-color-brand)}.selection-cell{vertical-align:middle}.selection-cell ::slotted(calcite-icon){pointer-events:none;margin-block-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}";
|
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 L="content-cell",R="number-cell",D="selection-cell",F="body-row",I="footer-row",M="cell--multiple-selection",_="active",q="selected-cell",B="last-cell",O="static-cell",T=class{constructor(t){e(this,t),this.onContainerBlur=()=>{this.focused=!1},this.onContainerFocus=()=>{this.focused=!0},this.alignment="start",this.colSpan=void 0,this.description=void 0,this.heading=void 0,this.rowSpan=void 0,this.interactionMode="interactive",this.lastCell=void 0,this.numberCell=!1,this.parentRowAlignment="start",this.parentRowIsSelected=void 0,this.parentRowType=void 0,this.positionInRow=void 0,this.scale=void 0,this.selectedRowCount=void 0,this.selectedRowCountLocalized=void 0,this.selectionCell=!1,this.selectionMode=void 0,this.bodyRowCount=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.focused=!1,this.screenReaderText="",this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderText()}onMessagesChange(){}async componentWillLoad(){l(this),await n(this),this.updateScreenReaderText()}componentDidLoad(){s(this)}connectedCallback(){p(this),r(this)}disconnectedCallback(){g(this),d(this)}effectiveLocaleChange(){o(this,this.effectiveLocale)}async setFocus(){await a(this),this.containerEl.focus()}updateScreenReaderText(){let e="";const t=`${this.selectedRowCountLocalized} ${this.messages?.selected}`;e=this.numberCell?this.messages?.rowNumber:"single"===this.selectionMode?`${this.messages?.selectionColumn}. ${t}`:this.bodyRowCount===this.selectedRowCount?`${this.messages?.selectionColumn}. ${this.messages?.all} ${t} ${this.messages?.keyboardDeselectAll}`:`${this.messages?.selectionColumn}. ${t} ${this.messages?.keyboardSelectAll}`,this.screenReaderText=e}render(){const e=this.rowSpan?"rowgroup":this.colSpan?"colgroup":"body"===this.parentRowType?"row":"col",c=this.selectedRowCount===this.bodyRowCount,l=this.selectedRowCount>0,s=c?"check-square-f":l?"minus-square-f":"square",a="static"===this.interactionMode&&!this.selectionCell;return t(i,{key:"55805e40fd5617971301fe6c3df52fd45ff4486e"},t("th",{key:"2f7c756603386e578a871558645daac673fd6cdc","aria-colindex":"head"===this.parentRowType?this.positionInRow:void 0,class:{[F]:"body"===this.parentRowType,[I]:"foot"===this.parentRowType,[L]:!this.numberCell&&!this.selectionCell,[R]:this.numberCell,[D]:this.selectionCell,[q]:this.parentRowIsSelected,[M]:"multiple"===this.selectionMode,[O]:a,[B]:this.lastCell&&(!this.rowSpan||this.colSpan&&!!this.rowSpan),[this.parentRowAlignment]:"center"===this.parentRowAlignment||"end"===this.parentRowAlignment},colSpan:this.colSpan,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:e=>this.containerEl=e,role:"head"===this.parentRowType?"columnheader":"rowheader",rowSpan:this.rowSpan,scope:e,tabIndex:this.selectionCell?0:a?-1:0},this.heading&&t("div",{key:"e347778a1676cf40c5f4c2937a590ac8b6c1fde0",class:"heading"},this.heading),this.description&&t("div",{key:"13c5d2ec28bf68132c1217be299aa4363794f370",class:"description"},this.description),this.selectionCell&&"multiple"===this.selectionMode&&t("calcite-icon",{key:"11f84e3c1c3cb8be33c8c5aa4a2cc4f5d01fbbfa",class:{[_]:l||c},icon:s,scale:x(this.scale)}),(this.selectionCell||this.numberCell)&&t("span",{key:"23c2914de335aa02bf99b1d9286ad2b2ad38cccb","aria-hidden":!0,"aria-live":this.focused?"polite":"off",class:"assistive-text"},this.screenReaderText)))}static get assetsDirs(){return["assets"]}get el(){return c(this)}static get watchers(){return{selectedRowCount:["onSelectedChange"],selectedRowCountLocalized:["onSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};T.style=":host{--calcite-internal-table-header-background:var(--calcite-table-header-background, var(--calcite-color-foreground-2));--calcite-internal-table-header-border-color:var(--calcite-table-border-color, var(--calcite-color-border-3));display:contents}:host([alignment=center]) th{text-align:center}:host([alignment=end]) th{text-align:end}.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}th{white-space:normal;text-align:start;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-internal-table-header-border-color);border-block-end:1px solid var(--calcite-internal-table-header-border-color);padding-block:calc(var(--calcite-internal-table-cell-padding) * 1.5);padding-inline:var(--calcite-internal-table-cell-padding);background-color:var(--calcite-internal-table-header-background)}th:not(.static-cell){outline-color:transparent}th:not(.static-cell):not(.static-cell):focus-within{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 )}th:not(.center):not(.end).content-cell{vertical-align:top}th.center{vertical-align:middle}th.end.content-cell{vertical-align:bottom}th.body-row,th.footer-row{padding-block:var(--calcite-internal-table-cell-padding);border-block-end:0}th.footer-row{border-block-start:1px solid var(--calcite-internal-table-header-border-color)}th.last-cell{border-inline-end:0}.cell--multiple-selection{cursor:pointer;vertical-align:middle;color:var(--calcite-color-text-3)}.cell--multiple-selection:not(.end){vertical-align:middle}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-header-background:var(--calcite-color-foreground-current)}.number-cell,.selection-cell{color:var(--calcite-color-text-2);inline-size:2rem;min-inline-size:2rem}.selection-cell calcite-icon.active{color:var(--calcite-color-brand)}.number-cell calcite-icon,.selection-cell calcite-icon{margin-inline-start:auto;margin-inline-end:auto;vertical-align:middle}.heading{color:var(--calcite-color-text-1)}.description{color:var(--calcite-color-text-3);font-size:var(--calcite-internal-table-cell-font-size-secondary)}";export{j as calcite_table_cell,T as calcite_table_header}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{l as e}from"./p-a7ca67b9.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 n=new Set,r={trace:0,debug:1,info:2,warn:4,error:8,off:10};function o(n,...o){(function(n){return r[n]>=r[e]})(n)&&console[n].call(this,"%ccalcite","background: #007AC2; color: #fff; border-radius: 4px; padding: 2px 4px;",...o)}let t;const a={debug:e=>o("debug",e),info:e=>o("info",e),warn:e=>o("warn",e),error:e=>o("error",e),trace:e=>o("trace",e),deprecated:function(e,{component:r,name:a,suggested:c,removalVersion:i}){const s=`${e}:${"component"===e?"":r}${a}`;if(n.has(s))return;n.add(s);const d=Array.isArray(c);d&&!t&&(t=new Intl.ListFormat("en",{style:"long",type:"disjunction"})),o("warn",`[${a}] ${e} is deprecated and will be removed in ${"future"===i?"a future version":`v${i}`}.${c?` Use ${d?t.format(c.map((e=>`"${e}"`))):`"${c}"`} instead.`:""}`)}};export{a as l}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,f as e,h as o,H as s,g as a}from"./p-6eb37ed2.js";import{g as c}from"./p-f6a94b55.js";import{a as r,e as n,t as d}from"./p-8817162f.js";import{c as h,d as l,H as b}from"./p-eacb5b05.js";import{g as p}from"./p-c6296ee6.js";import{c as u,d as f,u as m,I as v}from"./p-53e0faf4.js";import{c as k,d as x,g}from"./p-cb860e39.js";import{c as w,s as y,a as z}from"./p-1b147794.js";import"./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 C=class{constructor(e){t(this,e),this.calciteInternalRadioButtonBlur=i(this,"calciteInternalRadioButtonBlur",6),this.calciteRadioButtonChange=i(this,"calciteRadioButtonChange",6),this.calciteInternalRadioButtonCheckedChange=i(this,"calciteInternalRadioButtonCheckedChange",6),this.calciteInternalRadioButtonFocus=i(this,"calciteInternalRadioButtonFocus",6),this.selectItem=(t,i)=>{t[i].click()},this.queryButtons=()=>Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name)),this.isFocusable=()=>{const t=this.queryButtons(),i=t.find((t=>!t.disabled)),e=t.find((t=>t.checked));return i===this.el&&!e},this.check=()=>{this.disabled||(this.focused=!0,this.setFocus(),this.checked||(this.uncheckAllRadioButtonsInGroup(),this.checked=!0,this.calciteRadioButtonChange.emit()))},this.clickHandler=()=>{this.disabled||this.check()},this.setContainerEl=t=>{this.containerEl=t},this.handleKeyDown=t=>{const{key:i}=t,{el:e}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(i))return;if(" "===i)return this.check(),void t.preventDefault();let o=i;"rtl"===r(e)&&("ArrowRight"===i&&(o="ArrowLeft"),"ArrowLeft"===i&&(o="ArrowRight"));const s=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter((t=>t.name===this.name));let a=0;const n=s.length;switch(s.some(((t,i)=>{if(t.checked)return a=i,!0})),o){case"ArrowLeft":case"ArrowUp":return t.preventDefault(),void this.selectItem(s,c(Math.max(a-1,-1),n));case"ArrowRight":case"ArrowDown":return t.preventDefault(),void this.selectItem(s,c(a+1,n));default:return}},this.onContainerBlur=()=>{this.focused=!1,this.calciteInternalRadioButtonBlur.emit()},this.onContainerFocus=()=>{this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())},this.checked=!1,this.disabled=!1,this.focused=!1,this.form=void 0,this.guid=void 0,this.hovered=!1,this.label=void 0,this.name=void 0,this.required=!1,this.scale="m",this.value=void 0}handleHiddenChange(){this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(t){t&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}disabledChanged(){this.updateTabIndexOfOtherRadioButtonsInGroup()}nameChanged(){this.checkLastRadioButton()}async setFocus(){await w(this),this.disabled||n(this.containerEl)}syncHiddenFormInput(t){t.type="radio"}onLabelClick(t){if(this.disabled||this.el.hidden)return;const i=t.currentTarget,e=i.for?this.rootNode.querySelector(`calcite-radio-button[id="${i.for}"]`):i.querySelector(`calcite-radio-button[name="${this.name}"]`);e&&(e.focused=!0,this.setFocus(),e.checked||(this.uncheckOtherRadioButtonsInGroup(),e.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){const t=this.queryButtons().filter((t=>t.checked));if(t?.length>1){const i=t[t.length-1];t.filter((t=>t!==i)).forEach((t=>{t.checked=!1,t.emitCheckedChange()}))}}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}uncheckAllRadioButtonsInGroup(){this.queryButtons().forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid)).forEach((t=>{t.checked&&(t.checked=!1,t.focused=!1)}))}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter((t=>t.guid!==this.guid&&!t.disabled)).forEach((t=>{e(t)}))}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}connectedCallback(){this.rootNode=this.el.getRootNode(),this.guid=this.el.id||`calcite-radio-button-${p()}`,this.name&&this.checkLastRadioButton(),u(this),k(this),h(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentWillLoad(){y(this)}componentDidLoad(){z(this),this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){f(this),x(this),l(this),this.updateTabIndexOfOtherRadioButtonsInGroup()}componentDidRender(){m(this)}render(){const t=this.getTabIndex();return o(s,{key:"ba3eb165cc92980ff2dbc1ad92b96e05e67c7738",onClick:this.clickHandler,onKeyDown:this.handleKeyDown},o(v,{key:"cc34b939f2d7461239102e360d862e7b770b4f51",disabled:this.disabled},o("div",{key:"9fe5d157ecf61a7dfbb68b174c0a072cafa7fb93","aria-checked":d(this.checked),"aria-label":g(this),class:"container",onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,ref:this.setContainerEl,role:"radio",tabIndex:t},o("div",{key:"82e64cb36cd384a2b05b6768c996cba67490db48",class:"radio"})),o(b,{key:"aec9b59e49dbb867432a4fd006cf32db53306d1c",component:this})))}get el(){return a(this)}static get watchers(){return{hidden:["handleHiddenChange"],checked:["checkedChanged"],disabled:["disabledChanged"],name:["nameChanged"]}}};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;cursor:pointer}:host .container{position:relative;outline:2px solid transparent;outline-offset:2px}:host .radio{cursor:pointer;border-radius:9999px;background-color:var(--calcite-color-foreground-1);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;box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 2px var(--calcite-color-brand)}:host([focused]) .radio{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([disabled]) .radio{cursor:default;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 1px var(--calcite-color-border-input)}:host([scale=s]){--calcite-radio-size:var(--calcite-font-size--2)}:host([scale=m]){--calcite-radio-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-radio-size:var(--calcite-font-size-0)}.radio{block-size:var(--calcite-radio-size);max-inline-size:var(--calcite-radio-size);min-inline-size:var(--calcite-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand)}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 4px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand)}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand)}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-color-brand), 0 0 0 2px var(--calcite-color-foreground-1)}@media (forced-colors: active){:host([checked]) .radio::after,:host([checked][disabled]) .radio::after{content:"";inline-size:var(--calcite-radio-size);block-size:var(--calcite-radio-size);background-color:windowText;display:block}}::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{C as calcite_radio_button}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,c as i,h as c,g as t}from"./p-6eb37ed2.js";import{c as n}from"./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 a="accordion",r="accordion--transparent",o=class{constructor(c){e(this,c),this.calciteInternalAccordionChange=i(this,"calciteInternalAccordionChange",6),this.mutationObserver=n("mutation",(()=>this.updateAccordionItems())),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}handlePropsChange(){this.updateAccordionItems()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0}),this.updateAccordionItems()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const e="transparent"===this.appearance;return c("div",{key:"1399ab312fad432bde78fdedd0435848b53109ef",class:{[r]:e,[a]:!e}},c("slot",{key:"3ab7863d23eabb6c5ce499de42dab74df885ccdd"}))}updateActiveItemOnChange(e){this.calciteInternalAccordionChange.emit({requestedAccordionItem:e.detail.requestedAccordionItem}),e.stopPropagation()}updateAccordionItems(){this.el.querySelectorAll("calcite-accordion-item").forEach((e=>{e.iconPosition=this.iconPosition,e.iconType=this.iconType,e.scale=this.scale})),document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"))}get el(){return t(this)}static get watchers(){return{iconPosition:["handlePropsChange"],iconType:["handlePropsChange"],scale:["handlePropsChange"],selectionMode:["handlePropsChange"]}}};o.style=":host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2));background-color:var(--calcite-accordion-background-color, var(--calcite-color-foreground-1))}.accordion--transparent{--calcite-accordion-border-color:transparent;border-color:var(--calcite-color-transparent);background-color:var(--calcite-color-transparent)}:host([scale=s]){--calcite-internal-accordion-item-spacing-unit:0.25rem;--calcite-internal-accordion-icon-margin:0.5rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-accordion-item-spacing-unit:0.5rem;--calcite-internal-accordion-icon-margin:0.75rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-accordion-item-spacing-unit:0.75rem;--calcite-internal-accordion-icon-margin:1rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([hidden]){display:none}[hidden]{display:none}";export{o as calcite_accordion}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as s,h as i,g as e}from"./p-6eb37ed2.js";import{C as a,n,h as o,a as l,o as h,b as r,c,D as d,d as p,e as u,g as f,p as b,f as m,i as g,R as v,H as w,O as C,t as x,j as y,k,S as A,l as S,m as D}from"./p-88934d2b.js";import{i as j,a as $,f as z}from"./p-8817162f.js";import{c as F,d as O,u as I,I as L}from"./p-53e0faf4.js";import{i as N}from"./p-b51111e1.js";import{c as M,s as P,a as K}from"./p-1b147794.js";import{c as U,d as E}from"./p-32539121.js";import{r as H,c as R,a as T}from"./p-fc8d6dcf.js";import{u as q,s as B,c as V,d as J}from"./p-2866ef30.js";import{t as W}from"./p-29edb87c.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-416c0818.js";import"./p-3832f6b0.js";import"./p-c8d3207e.js";const X=class{constructor(e){t(this,e),this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.isActiveChannelInputEmpty=!1,this.mode=a.HEX,this.shiftKeyChannelAdjustment=0,this.upOrDownArrowKeyTracker=null,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[s]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===s||"ArrowUp"===s?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[s].x||0,this.colorFieldScopeTop+i[s].y||0,!1))},this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(e[i]){t.preventDefault();const a=e[i]*s,n=this.baseColorFieldColor.hue(),o=this.baseColorFieldColor.hue(n+a);this.internalColorSet(o,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{isClearable:s,color:i}=this,e=t.target.value;!s||e?e!==(i&&n(o(i,u(this.mode))))&&this.internalColorSet(l(e)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(l(t.currentTarget.color))},this.handleChannelInput=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=3===i?C.max:"rgb"===this.channelMode?v[Object.keys(v)[i]]:w[Object.keys(w)[i]];let a;if(s.value){const t=Number(s.value);a=R(t+this.shiftKeyChannelAdjustment,0,e).toString()}else a="",this.isActiveChannelInputEmpty=!0,this.upOrDownArrowKeyTracker=null;s.value=a,(""!==a&&0!==this.shiftKeyChannelAdjustment||""!==a)&&this.handleChannelChange(t)},this.handleChannelBlur=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];!s.value&&!this.isClearable&&(s.value=e[i]?.toString())},this.handleChannelFocus=t=>{t.currentTarget.selectText()},this.handleChannelChange=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];if(this.isClearable&&!s.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const a=3===i;this.isActiveChannelInputEmpty&&this.upOrDownArrowKeyTracker&&(s.value="up"===this.upOrDownArrowKeyTracker?(e[i]+1<=this.getChannelInputLimit(i)?e[i]+1:this.getChannelInputLimit(i)).toString():(e[i]-1>=0?e[i]-1:0).toString(),this.isActiveChannelInputEmpty=!1,this.upOrDownArrowKeyTracker=null);const n=s.value?Number(s.value):e[i];e[i]=a?h(n):n,this.updateColorFromChannels(e)},this.handleSavedColorKeyDown=t=>{N(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{this.handleCanvasControlPointerDown(t,this.colorFieldRenderingContext,this.captureColorFieldColor,this.colorFieldScopeNode)},this.handleHueSliderPointerDown=t=>{this.handleCanvasControlPointerDown(t,this.hueSliderRenderingContext,this.captureHueSliderColor,this.hueScopeNode)},this.handleOpacitySliderPointerDown=t=>{this.handleCanvasControlPointerDown(t,this.opacitySliderRenderingContext,this.captureOpacitySliderValue,this.opacityScopeNode)},this.globalPointerUpHandler=t=>{if(!j(t))return;const s=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),s&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:i}=this;if(!i.isConnected||!s)return;const{context:e,bounds:a}=s;let n,o;const{clientX:l,clientY:h}=t;e.canvas.matches(":hover")?(n=l-a.x,o=h-a.y):(n=l<a.x+a.width&&l>a.x?l-a.x:l<a.x?0:a.width,o=h<a.y+a.height&&h>a.y?h-a.y:h<a.y?0:a.height),e===this.colorFieldRenderingContext?this.captureColorFieldColor(n,o,!1):e===this.hueSliderRenderingContext?this.captureHueSliderColor(n):e===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(n)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:e}=this;return i("calcite-tab-title",{class:r.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===s},"rgb"===t?e.rgb:e.hsv)},this.renderChannelsTab=t=>{const{isClearable:s,channelMode:e,channels:a,messages:n,alphaChannel:o}=this,l=t===e,h="rgb"===t?[n.red,n.green,n.blue]:[n.hue,n.saturation,n.value],d=$(this.el),p=o?a:a.slice(0,3);return i("calcite-tab",{class:r.control,key:t,selected:l},i("div",{class:r.channels,dir:"ltr"},p.map(((t,i)=>{const e=3===i;return e&&(t=s&&!t?t:c(t)),this.renderChannel(t,i,h[i],d,e?"%":"")}))))},this.renderChannel=(t,s,e,a,n)=>i("calcite-input-number",{class:r.channel,"data-channel-index":s,dir:a,key:s,label:e,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onCalciteInternalInputNumberBlur:this.handleChannelBlur,onCalciteInternalInputNumberFocus:this.handleChannelFocus,onKeyDown:this.handleKeyDown,scale:"l"===this.scale?"m":"s",style:{marginLeft:s>0&&("s"!==this.scale||!this.alphaChannel||3!==s)?"-1px":""},suffixText:n,value:t?.toString()}),this.deleteColor=()=>{const t=o(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const s=this.savedColors.filter((s=>s!==t));this.savedColors=s,this.storageId&&localStorage.setItem(`${S}${this.storageId}`,JSON.stringify(s))},this.saveColor=()=>{const t=o(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const s=[...this.savedColors,t];this.savedColors=s,this.storageId&&localStorage.setItem(`${S}${this.storageId}`,JSON.stringify(s))},this.drawColorControls=W(((t="all")=>{"all"!==t&&"color-field"!==t||!this.colorFieldRenderingContext||this.drawColorField(),"all"!==t&&"hue-slider"!==t||!this.hueSliderRenderingContext||this.drawHueSlider(),this.alphaChannel&&("all"===t||"opacity-slider"===t)&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()}),16),this.captureColorFieldColor=(t,s,i=!0)=>{const{dimensions:{colorField:{height:e,width:a}}}=this,n=Math.round(w.s/a*t),o=Math.round(w.v/e*(e-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(n).value(o),i)},this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls()},this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider()},this.initOpacitySlider=t=>{t&&(this.opacitySliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())},this.storeOpacityScope=t=>{this.opacityScopeNode=t},this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(e[i]){t.preventDefault();const a=e[i]*s,n=this.baseColorFieldColor.alpha(),o=this.baseColorFieldColor.alpha(n+a);this.internalColorSet(o,!1)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.clearable=!1,this.color=d,this.disabled=!1,this.format="auto",this.hideChannels=!1,this.hexDisabled=!1,this.hideHex=!1,this.hideSaved=!1,this.savedDisabled=!1,this.scale="m",this.storageId=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.value=n(o(d,this.alphaChannel)),this.channelMode="rgb",this.channels=this.toChannels(d),this.defaultMessages=void 0,this.dimensions=p.m,this.effectiveLocale="",this.messages=void 0,this.savedColors=[],this.colorFieldScopeTop=void 0,this.colorFieldScopeLeft=void 0,this.hueScopeLeft=void 0,this.opacityScopeLeft=void 0,this.scopeOrientation=void 0}handleAllowEmptyOrClearableChange(){this.isClearable=this.clearable||this.allowEmpty}handleAlphaChannelChange(t){const{format:s}=this;t&&"auto"!==s&&!u(s)&&(console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`),this.alphaChannel=!1)}handleAlphaChannelDimensionsChange(){this.effectiveSliderWidth=f(this.dimensions,this.alphaChannel),this.drawColorControls()}handleColorChange(t,s){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=s}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){this.updateDimensions(t),this.updateCanvasSize("all"),this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{isClearable:i,format:e}=this;let a=!1;if(!i||t){const i=b(t);if(!i||"auto"!==e&&i!==e)return this.showIncompatibleColorWarning(t,e),void(this.value=s);a=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const n=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(n||this.calciteColorPickerChange.emit());const o=i&&!t?null:l(null!=t&&"object"==typeof t&&u(this.mode)?m(t):t),h=!g(o,this.color);(a||h)&&this.internalColorSet(o,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||d}effectiveLocaleChange(){q(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if("ArrowUp"!==s&&"ArrowDown"!==s||!t.composedPath().some((t=>t.classList?.contains(r.channel))))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===s&&i?9:"ArrowDown"===s&&i?-9:0,"ArrowUp"===s&&(this.upOrDownArrowKeyTracker="up"),"ArrowDown"===s&&(this.upOrDownArrowKeyTracker="down")}getChannelInputLimit(t){return"rgb"===this.channelMode?v[Object.keys(v)[t]]:w[Object.keys(w)[t]]}focusScope(t){requestAnimationFrame((()=>{t.focus()}))}handleCanvasControlPointerDown(t,s,i,e){j(t)&&(window.addEventListener("pointermove",this.globalPointerMoveHandler),window.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:s,bounds:s.canvas.getBoundingClientRect()},i.call(this,t.offsetX,t.offsetY),this.focusScope(e))}async setFocus(){await M(this),z(this.el)}async componentWillLoad(){P(this),this.handleAllowEmptyOrClearableChange(),this.handleAlphaChannelDimensionsChange();const{isClearable:t,color:s,format:i,value:e}=this,a=t&&!e,n=b(e),o=a||"auto"===i&&n||i===n,h=a?null:o?l(e):s;o||this.showIncompatibleColorWarning(e,i),this.setMode(i,!1),this.internalColorSet(h,!1,"initial"),this.updateDimensions(this.scale);const r=`${S}${this.storageId}`;this.storageId&&localStorage.getItem(r)&&(this.savedColors=JSON.parse(localStorage.getItem(r))),await B(this)}connectedCallback(){F(this),U(this),V(this)}componentDidLoad(){K(this)}disconnectedCallback(){window.removeEventListener("pointermove",this.globalPointerMoveHandler),window.removeEventListener("pointerup",this.globalPointerUpHandler),O(this),E(this),J(this)}componentDidRender(){I(this)}render(){const{channelsDisabled:t,color:s,colorFieldScopeLeft:e,colorFieldScopeTop:a,dimensions:{thumb:{radius:n}},hexDisabled:l,hideChannels:h,hideHex:p,hideSaved:u,hueScopeLeft:f,messages:b,alphaChannel:m,opacityScopeLeft:g,savedColors:v,savedDisabled:x,scale:y,scopeOrientation:k}=this,A=this.effectiveSliderWidth,S=s?o(s,m):null,D=n,j=f??A*d.hue()/w.h,$=n,z=g??A*c(d.alpha())/C.max,F=null===s,O="vertical"===k,I=l||p,N=t||h,M=x||u,[P,K]=this.getAdjustedScopePosition(e,a),[U,E]=this.getAdjustedScopePosition(j,D),[H,R]=this.getAdjustedScopePosition(z,$);return i(L,{key:"cd7c2469429382b1adee89c87c4774160795203c",disabled:this.disabled},i("div",{key:"dd6809c82d3ffe64b8eaebd0669e7f61c0ea87d1",class:r.container},i("div",{key:"888c08c46fec112861b076c3cf24b9be7b4a66cd",class:r.controlAndScope},i("canvas",{key:"23631c824c61abb2a3ca74e35bffc8be0364a052",class:r.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{key:"a5271bbe3c4f45e3cf7736dd8f4201f54420bfb7","aria-label":O?b.value:b.saturation,"aria-valuemax":O?w.v:w.s,"aria-valuemin":"0","aria-valuenow":(O?s?.saturationv():s?.value())||"0",class:{[r.scope]:!0,[r.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,ref:this.storeColorFieldScope,role:"slider",style:{top:`${K||0}px`,left:`${P||0}px`},tabindex:"0"})),i("div",{key:"eee6c10107513fd46316d2ba7510977b72771cd2",class:r.previewAndSliders},i("calcite-color-picker-swatch",{key:"964481e1c6c6c050df076e8cdc9d7e5b2cbeec79",class:r.preview,color:S,scale:this.alphaChannel?"l":this.scale}),i("div",{key:"f915032fe532e140005b0ff1253b0a971a17b079",class:r.sliders},i("div",{key:"2bcb609ce36df2d0f75abb767ee6dc88c0c9ea3b",class:r.controlAndScope},i("canvas",{key:"99e268a194b785a8ec97fed67a523c602def2a94",class:{[r.slider]:!0,[r.hueSlider]:!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{key:"4cdc0f98048a48e070430bf4f1f817571534f31b","aria-label":b.hue,"aria-valuemax":w.h,"aria-valuemin":"0","aria-valuenow":s?.round().hue()||d.round().hue(),class:{[r.scope]:!0,[r.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,ref:this.storeHueScope,role:"slider",style:{top:`${E}px`,left:`${U}px`},tabindex:"0"})),m?i("div",{class:r.controlAndScope},i("canvas",{class:{[r.slider]:!0,[r.opacitySlider]:!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":b.opacity,"aria-valuemax":C.max,"aria-valuemin":C.min,"aria-valuenow":(s||d).round().alpha(),class:{[r.scope]:!0,[r.opacityScope]:!0},onKeyDown:this.handleOpacityScopeKeyDown,ref:this.storeOpacityScope,role:"slider",style:{top:`${R}px`,left:`${H}px`},tabindex:"0"})):null)),I&&N?null:i("div",{class:{[r.controlSection]:!0,[r.section]:!0}},i("div",{class:r.hexAndChannelsGroup},I?null:i("div",{class:r.hexOptions},i("calcite-color-picker-hex-input",{allowEmpty:this.isClearable,alphaChannel:m,class:r.control,messages:b,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:y,value:S})),N?null:i("calcite-tabs",{class:{[r.colorModeContainer]:!0,[r.splitSection]:!0},scale:"l"===y?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),M?null:i("div",{class:{[r.savedColorsSection]:!0,[r.section]:!0}},i("div",{class:r.header},i("label",null,b.saved),i("div",{class:r.savedColorsButtons},i("calcite-button",{appearance:"transparent",class:r.deleteColor,disabled:F,iconStart:"minus",kind:"neutral",label:b.deleteColor,onClick:this.deleteColor,scale:y,type:"button"}),i("calcite-button",{appearance:"transparent",class:r.saveColor,disabled:F,iconStart:"plus",kind:"neutral",label:b.saveColor,onClick:this.saveColor,scale:y,type:"button"}))),v.length>0?i("div",{class:r.savedColors},[...v.map((t=>i("calcite-color-picker-swatch",{class:r.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:y,tabIndex:0})))]):null)))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,s)}ensureCompatibleMode(t,s){const{alphaChannel:i}=this,e=u(t);if(i&&!e){const i=D(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&e){const i=x(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){this.internalColorSet(this.baseColorFieldColor.hue(k/this.effectiveSliderWidth*t),!1)}captureOpacitySliderValue(t){const s=h(C.max/this.effectiveSliderWidth*t);this.internalColorSet(this.baseColorFieldColor.alpha(s),!1)}internalColorSet(t,s=!0,i="user-interaction"){s&&g(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,s=this.mode){if(!t)return null;if(s.includes("hex")){const i=s===a.HEXA;return n(o(t.round(),i),i)}if(s.includes("-css")){const i=t[s.replace("-css","").replace("a","")]().round().string();return(s.endsWith("a")||s.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[x(s)]().round().object();return s.endsWith("a")?y(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return 2*s-t}updateDimensions(t="m"){this.dimensions=p[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:s,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,s);const e=t.createLinearGradient(0,0,i,0);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=e,t.fillRect(0,0,i,s);const a=t.createLinearGradient(0,0,0,s);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=a,t.fillRect(0,0,i,s),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:i}){if(!t)return;const e=window.devicePixelRatio||1;t.width=i*e,t.height=s*e,t.style.height=`${s}px`,t.style.width=`${i}px`,t.getContext("2d").scale(e,e)}updateCanvasSize(t="all"){const{dimensions:s}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(this.colorFieldRenderingContext?.canvas,s.colorField);const i={width:this.effectiveSliderWidth,height:s.slider.height+2*(s.thumb.radius-s.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(this.hueSliderRenderingContext?.canvas,i),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(this.opacitySliderRenderingContext?.canvas,i)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const s=t.hsv(),{dimensions:{colorField:{height:i,width:e},thumb:{radius:a}}}=this,n=s.saturationv()/(w.s/e),o=i-s.value()/(w.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=n,this.colorFieldScopeTop=o})),this.drawThumb(this.colorFieldRenderingContext,a,n,o,s,!1)}drawThumb(t,s,i,e,a,n){const o=2*Math.PI;if(t.beginPath(),t.arc(i,e,s,0,o),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),n&&a.alpha()<1){const a=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.beginPath(),t.arc(i,e,s-3,0,o),t.fillStyle=a,t.fill()}t.globalCompositeOperation="source-atop",t.beginPath(),t.arc(i,e,s-3,0,o);const l=n?a.alpha():1;t.fillStyle=a.rgb().alpha(l).string(),t.fill(),t.globalCompositeOperation="source-over"}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const s=t.hsv().saturationv(100).value(100),{dimensions:{thumb:{radius:i}}}=this,e=this.effectiveSliderWidth,a=s.hue()/(k/e),n=i,o=this.getSliderBoundX(a,e,i);requestAnimationFrame((()=>{this.hueScopeLeft=o})),this.drawThumb(this.hueSliderRenderingContext,i,o,n,s,!1)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:s},thumb:{radius:i}}}=this,e=i-s/2,a=this.effectiveSliderWidth,n=t.createLinearGradient(0,0,a,0),o=["red","yellow","lime","cyan","blue","magenta","#ff0004"],h=1/(o.length-1);let r=0;o.forEach((t=>{n.addColorStop(r,l(t).string()),r+=h})),t.clearRect(0,0,a,s+2*this.getSliderCapSpacing()),this.drawSliderPath(t,s,a,0,e),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:s,dimensions:{slider:{height:i},thumb:{radius:e}}}=this,a=e-i/2,n=this.effectiveSliderWidth;t.clearRect(0,0,n,i+2*this.getSliderCapSpacing());const o=t.createLinearGradient(0,a,n,0),l=s.rgb().alpha(0),h=s.rgb().alpha(.5),r=s.rgb().alpha(1);o.addColorStop(0,l.string()),o.addColorStop(.5,h.string()),o.addColorStop(1,r.string()),this.drawSliderPath(t,i,n,0,a);const c=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=c,t.fill(),t.fillStyle=o,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,i,e,a){const n=s/2+1;t.beginPath(),t.moveTo(e+n,a),t.lineTo(e+i-n,a),t.quadraticCurveTo(e+i,a,e+i,a+n),t.lineTo(e+i,a+s-n),t.quadraticCurveTo(e+i,a+s,e+i-n,a+s),t.lineTo(e+n,a+s),t.quadraticCurveTo(e,a+s,e,a+s-n),t.lineTo(e,a+n),t.quadraticCurveTo(e,a,e+n,a),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const s=t.getContext("2d");return s.fillStyle="#ccc",s.fillRect(0,0,10,10),s.fillStyle="#fff",s.fillRect(0,0,5,5),s.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const s=t,{dimensions:{thumb:{radius:i}}}=this,e=this.effectiveSliderWidth,a=c(s.alpha())/(C.max/e),n=i,o=this.getSliderBoundX(a,e,i);requestAnimationFrame((()=>{this.opacityScopeLeft=o})),this.drawThumb(this.opacitySliderRenderingContext,i,o,n,s,!0)}getSliderBoundX(t,s,i){const e=T(t,s,i);return 0===e?t:-1===e?H(t,0,s,i,2*i):H(t,0,s,s-2*i,s-i)}updateColorFromChannels(t){this.internalColorSet(l(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this,i=t[s]().array().map(((t,s)=>3===s?t:Math.floor(t)));return 3===i.length&&i.push(1),i}getAdjustedScopePosition(t,s){return[t-A/2,s-A/2]}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{allowEmpty:["handleAllowEmptyOrClearableChange"],clearable:["handleAllowEmptyOrClearableChange"],alphaChannel:["handleAlphaChannelChange","handleAlphaChannelDimensionsChange","handleFormatOrAlphaChannelChange"],dimensions:["handleAlphaChannelDimensionsChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};X.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-color-foreground-1);display:inline-block;border:1px solid var(--calcite-color-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.color-field,.control-and-scope{-webkit-user-select:none;-moz-user-select:none;user-select:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope: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 );outline-offset:6px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing);gap:var(--calcite-spacing-xxs)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-color-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-color-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';export{X as calcite_color_picker}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,h as e,H as s,g as a,a as n}from"./p-6eb37ed2.js";import{c as o,d as l}from"./p-131ca2b1.js";import{s as r,f as c,g as h,t as d}from"./p-8817162f.js";import{c as p,d as u,u as v,I as m}from"./p-53e0faf4.js";import{c as f,d as g,g as b,n as x,a as y,f as w,b as _}from"./p-32539121.js";import{u as k,c as $,d as C,s as D}from"./p-2866ef30.js";import{H as z}from"./p-54713c54.js";import{c as E,s as I,a as L}from"./p-1b147794.js";import{o as F}from"./p-071a80fb.js";import{d as P,g as S,a as R,b as A,s as j,c as O,e as M,f as T,i as B}from"./p-6def4549.js";import{i as N}from"./p-416c0818.js";import{f as H,c as W,d as U,r as V,a as q,F as K}from"./p-e46f6b68.js";import{s as Z,c as G,d as Q,H as Y}from"./p-eacb5b05.js";import{n as J}from"./p-b51111e1.js";import{c as X,d as tt}from"./p-cb860e39.js";import{c as it,d as et,a as st}from"./p-6c44ba5f.js";import{g as at}from"./p-c6296ee6.js";import{g as nt}from"./p-0afbf455.js";import{V as ot}from"./p-96a7e73d.js";import{s as lt}from"./p-fe82bd8a.js";import{l as rt}from"./p-4cd4cb85.js";import{g as ct}from"./p-3d0e9be4.js";import{g as ht}from"./p-a9a72626.js";import"./p-3832f6b0.js";import"./p-3edf491f.js";import"./p-c8d3207e.js";import"./p-a7ca67b9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.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 dt="content",pt="toggle",ut="header",vt="container",mt="header",ft="header--has-text",gt="icon",bt="icon-end-container",xt="invalid",yt="status-icon",wt="valid",_t="control",kt="header-menu-actions",$t="icon",Ct={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},Dt=class{constructor(e){t(this,e),this.calciteBlockBeforeClose=i(this,"calciteBlockBeforeClose",6),this.calciteBlockBeforeOpen=i(this,"calciteBlockBeforeOpen",6),this.calciteBlockClose=i(this,"calciteBlockClose",6),this.calciteBlockOpen=i(this,"calciteBlockOpen",6),this.calciteBlockToggle=i(this,"calciteBlockToggle",6),this.openTransitionProp="margin-top",this.onHeaderClick=()=>{this.open=!this.open,this.calciteBlockToggle.emit()},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=r(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=r(t)},this.collapsible=!1,this.disabled=!1,this.dragHandle=!1,this.heading=void 0,this.headingLevel=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.loading=!1,this.open=!1,this.status=void 0,this.description=void 0,this.messages=void 0,this.messageOverrides=void 0,this.overlayPositioning="absolute",this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasContentStart=!1,this.hasEndActions=!1}openHandler(){F(this)}onMessagesChange(){}async setFocus(){await E(this),c(this.el)}onBeforeOpen(){this.calciteBlockBeforeOpen.emit()}onOpen(){this.calciteBlockOpen.emit()}onBeforeClose(){this.calciteBlockBeforeClose.emit()}onClose(){this.calciteBlockClose.emit()}effectiveLocaleChange(){k(this,this.effectiveLocale)}connectedCallback(){o(this),p(this),f(this),$(this),this.transitionEl=this.el}disconnectedCallback(){u(this),g(this),C(this),l(this)}async componentWillLoad(){await D(this),I(this),this.open&&F(this)}componentDidLoad(){L(this)}componentDidRender(){v(this)}renderScrim(){const{loading:t}=this,i=e("slot",null);return[t?e("calcite-scrim",{loading:t}):null,i]}renderLoaderStatusIcon(){const{loading:t,messages:i,status:s}=this,a=!!h(this.el,$t);return t?e("div",{class:gt,key:"loader"},e("calcite-loader",{inline:!0,label:i.loading})):s?e("div",{class:gt,key:"status-icon"},e("calcite-icon",{class:{[yt]:!0,[wt]:"valid"==s,[xt]:"invalid"==s},icon:Ct[s],scale:"s"})):a?e("div",{class:gt,key:"icon-slot"},e("slot",{key:"icon-slot",name:$t})):null}renderActionsEnd(){return e("div",{class:"actions-end"},e("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderContentStart(){const{hasContentStart:t}=this;return e("div",{class:"content-start",hidden:!t},e("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderTitle(){const{heading:t,headingLevel:i,description:s}=this;return t||s?e("div",{class:"title"},e(z,{class:"heading",level:i},t),s?e("div",{class:"description"},s):null):null}renderIcon(t){const{iconFlipRtl:i}=this,s="start"===t?this.iconStart:this.iconEnd;if(s)return e("calcite-icon",{class:"start"===t?"icon--start":"icon--end",flipRtl:"both"===i||"start"===t?"start"===i:"end"===i,icon:s,key:s,scale:"s"})}render(){const{collapsible:t,el:i,loading:a,open:n,heading:o,messages:l,description:r}=this,c=n?l.collapse:l.expand,p=e("header",{key:"91deb640f5a591cd70dbb6328cdc588a40b600d5",class:{[mt]:!0,[ft]:!(!o&&!r)},id:ut},this.renderIcon("start"),this.renderContentStart(),this.renderLoaderStatusIcon(),this.renderTitle()),u=!!h(i,_t),v=!!h(i,kt),f=n?Ct.opened:Ct.closed,g=e("div",{key:"ebba82b4e065978eaa9ed1e59f05ad80843cc9ab",class:"header-container"},this.dragHandle?e("calcite-handle",{label:o}):null,t?e("button",{"aria-controls":dt,"aria-describedby":ut,"aria-expanded":t?d(n):null,class:"toggle",id:pt,onClick:this.onHeaderClick,title:c},p,e("div",{class:bt},this.renderIcon("end"),e("calcite-icon",{class:"toggle-icon",icon:f,scale:"s"}))):this.iconEnd?e("div",null,p,e("div",{class:bt},this.renderIcon("end"))):p,u?e("div",{"aria-labelledby":ut,class:"control-container"},e("slot",{name:_t})):null,v?e("calcite-action-menu",{label:l.options,overlayPositioning:this.overlayPositioning},e("slot",{name:kt})):null,this.renderActionsEnd());return e(s,{key:"b5c12059b36785bf45ce61e7309a35278b928088"},e(m,{key:"90a5013ca2e30dadbd76c146700a53391f3aea62",disabled:this.disabled},e("article",{key:"825f15336afb992c7ea8c718b5ffad7c4bf2507e","aria-busy":d(a),class:{[vt]:!0}},g,e("section",{key:"4f690563d78615b68a225456aaae593af6adb826","aria-labelledby":pt,class:"content",hidden:!n,id:dt},this.renderScrim()))))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Dt.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{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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:flex;flex-shrink:0;flex-grow:0;flex-direction:column;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding:0px;transition-property:margin;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);flex-basis:auto;transition-duration:var(--calcite-animation-timing)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.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}.header{justify-content:flex-start}.header--has-text{padding:var(--calcite-spacing-md)}.header,.toggle{grid-area:header}.header-container{display:grid;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu actions-end";grid-column:header-start/actions-end;grid-row:1/2}.content-start,.icon,.icon--start,.icon--end{margin-inline-end:var(--calcite-spacing-md)}.icon calcite-loader{margin-inline-end:var(--calcite-spacing-xxxs)}.icon--start,.icon--end{color:var(--calcite-color-text-3)}.actions-end{grid-area:actions-end}.toggle{margin:0px;display:flex;cursor:pointer;flex-wrap:nowrap;align-items:center;justify-content:space-between;border-style:none;padding:0px;font-family:var(--calcite-font-family);outline-color:transparent;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-color-foreground-2)}.toggle: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 )}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-color-text-2);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.description{margin-block-start:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);word-wrap:break-word;word-break:break-word}.icon{display:flex}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}@keyframes spin{0%{transform:rotate(0deg)}50%{transform:rotate(180deg)}100%{transform:rotate(360deg)}}.icon-end-container{display:flex;align-items:center;margin-inline-start:auto}.toggle-icon{align-self:center;justify-self:end;color:var(--calcite-color-text-3);transition-property:color;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-spacing-md)}.toggle:hover .toggle-icon{color:var(--calcite-color-text-1)}.container{position:relative;display:flex;block-size:100%;flex-direction:column}.content{position:relative;min-block-size:0px;flex:1 1 0%}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-block:var(--calcite-block-padding, var(--calcite-spacing-sm));padding-inline:var(--calcite-block-padding, var(--calcite-spacing-md))}.content-start{display:flex;align-items:center;color:var(--calcite-color-text-3)}.control-container{margin:0px;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}.actions-end{display:flex;align-items:stretch}:host([open]){margin-block:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-color-text-1)}: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 zt={dateStyle:"full"},Et={},It={};async function Lt(t){const i=b(t);if(Et[i])return Et[i];It[i]||(It[i]=fetch(n(`./assets/date-picker/nls/${i}.json`)).then((t=>t.json())).catch((()=>(console.error(`Translations for "${i}" not found or invalid, falling back to english`),Lt("en")))));const e=await It[i];return Et[i]=e,e}function Ft(t){return t.map(((t,i)=>P(t,1===i)))}const Pt=class{constructor(e){t(this,e),this.calciteDatePickerChange=i(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=i(this,"calciteDatePickerRangeChange",6),this.keyDownHandler=t=>{"Escape"===t.key&&this.resetActiveDates()},this.monthHeaderSelectChange=t=>{const i=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=i:this.activeStartDate=i,this.mostRecentRangeValue=i):this.activeDate=i},this.monthActiveDateChange=t=>{const i=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=i:this.activeStartDate=i,this.mostRecentRangeValue=i):this.activeDate=i},this.monthHoverChange=t=>{if(!this.range)return void(this.hoverRange=void 0);const{valueAsDate:i}=this,e=Array.isArray(i)&&i[0],s=Array.isArray(i)&&i[1],a=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:e,end:s},this.proximitySelectionDisabled)s&&e||!s&&a>=e?(this.hoverRange.focused="end",this.hoverRange.end=a):this.hoverRange=!s&&a<e?{focused:"start",start:a,end:e}:void 0;else if(e&&s){const t=S(a,e),i=S(a,s);i>0?(this.hoverRange.end=a,this.hoverRange.focused="end"):t<0||t>i?(this.hoverRange.start=a,this.hoverRange.focused="start"):(this.hoverRange.end=a,this.hoverRange.focused="end")}else e&&(a<e?this.hoverRange={focused:"start",start:a,end:e}:(this.hoverRange.end=a,this.hoverRange.focused="end"));t.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.resetActiveDates=()=>{const{valueAsDate:t}=this;!Array.isArray(t)&&t&&t!==this.activeDate&&(this.activeDate=new Date(t)),Array.isArray(t)&&(t[0]&&t[0]!==this.activeStartDate&&(this.activeStartDate=new Date(t[0])),t[1]&&t[1]!==this.activeEndDate&&(this.activeEndDate=new Date(t[1])))},this.monthDateChange=t=>{const i=new Date(t.detail),e=R(i);if(!this.range&&e===R(this.valueAsDate))return;if(!this.range)return this.value=e||"",this.valueAsDate=i||null,this.activeDate=i||null,void this.calciteDatePickerChange.emit();const s=this.getStartDate(),a=this.getEndDate();if(!s||!a&&i<s)s&&this.setEndDate(new Date(s)),"end"==this.activeRange?this.setEndDate(i):this.setStartDate(i);else if(a)if(this.proximitySelectionDisabled)this.setStartDate(i),this.setEndDate(null);else if(this.activeRange)"end"==this.activeRange?this.setEndDate(i):this.setStartDate(i);else{const t=S(i,s),e=S(i,a);0===e||t<0?this.setStartDate(i):0===t||e<0?this.setEndDate(i):t<e?this.setStartDate(i):this.setEndDate(i)}else this.setEndDate(i);this.calciteDatePickerChange.emit()},this.activeDate=void 0,this.activeRange=void 0,this.value=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.numberingSystem=void 0,this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.messageOverrides=void 0,this.messages=void 0,this.activeEndDate=void 0,this.activeStartDate=void 0,this.dateTimeFormat=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.endAsDate=void 0,this.hoverRange=void 0,this.localeData=void 0,this.mostRecentRangeValue=void 0,this.startAsDate=void 0}activeDateWatcher(t){"end"===this.activeRange&&(this.activeEndDate=t)}valueAsDateWatcher(t){if(this.range&&Array.isArray(t)){const{activeStartDate:i,activeEndDate:e}=this,s=t[0],a=t[1];this.activeStartDate=i!==s&&s,this.activeEndDate=e!==a&&a}else t&&t!==this.activeDate&&(this.activeDate=t)}onMinChanged(t){this.minAsDate=P(t)}onMaxChanged(t){this.maxAsDate=P(t)}onMessagesChange(){}async setFocus(){await E(this),this.el.focus()}async reset(){this.resetActiveDates(),this.mostRecentRangeValue=void 0}connectedCallback(){f(this),$(this),Array.isArray(this.value)?this.valueAsDate=Ft(this.value):this.value&&(this.valueAsDate=P(this.value)),this.min&&(this.minAsDate=P(this.min)),this.max&&(this.maxAsDate=P(this.max))}disconnectedCallback(){g(this),C(this)}async componentWillLoad(){I(this),await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max),await D(this)}componentDidLoad(){L(this)}render(){const t=A(this.range&&Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate);let i=this.getActiveDate(t,this.minAsDate,this.maxAsDate);const a=this.range&&Array.isArray(this.valueAsDate)?A(this.valueAsDate[1],this.minAsDate,this.maxAsDate):null,n=this.getActiveEndDate(a,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==this.hoverRange?.focused||this.proximitySelectionDisabled&&!a)||!n||(i=n),this.range&&this.mostRecentRangeValue&&(i=this.mostRecentRangeValue),e(s,{key:"52087d405fc20cd885910944004caef0e4b4e33b",onBlur:this.resetActiveDates,onKeyDown:this.keyDownHandler},this.renderCalendar(i,this.range&&this.activeRange&&"start"===this.activeRange&&a||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:t||this.minAsDate:this.minAsDate,t,a))}effectiveLocaleChange(){k(this,this.effectiveLocale)}valueHandler(t){Array.isArray(t)?this.valueAsDate=Ft(t):t&&(this.valueAsDate=P(t))}async loadLocaleData(){N()&&(x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await Lt(this.effectiveLocale),this.dateTimeFormat=y(this.effectiveLocale,zt))}renderCalendar(t,i,s,a,n){return this.localeData&&[e("calcite-date-picker-month-header",{activeDate:t,headingLevel:this.headingLevel||2,localeData:this.localeData,max:i,messages:this.messages,min:s,onCalciteInternalDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?n:a||new Date}),e("calcite-date-picker-month",{activeDate:t,dateTimeFormat:this.dateTimeFormat,endDate:this.range?n:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:i,min:s,onCalciteInternalDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,onCalciteInternalDatePickerSelect:this.monthDateChange,scale:this.scale,selectedDate:"end"===this.activeRange?n:a,startDate:this.range?a:void 0})]}getEndDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0}setEndDate(t){const i=this.getStartDate(),e=t?j(t):t;this.value=[R(i),R(t)],this.valueAsDate=[i,t],this.mostRecentRangeValue=e,this.calciteDatePickerRangeChange.emit(),this.activeEndDate=t||null}getStartDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[0]}setStartDate(t){const i=this.getEndDate();this.value=[R(t),R(i)],this.valueAsDate=[t,i],this.mostRecentRangeValue=t,this.calciteDatePickerRangeChange.emit(),this.activeStartDate=t||null}getActiveDate(t,i,e){return A(this.activeDate,i,e)||t||A(new Date,i,e)}getActiveEndDate(t,i,e){return A(this.activeEndDate,i,e)||t||A(new Date,i,e)}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{activeDate:["activeDateWatcher"],valueAsDate:["valueAsDateWatcher"],min:["onMinChanged"],max:["onMaxChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","loadLocaleData"],value:["valueHandler"]}}};Pt.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{display:inline-block;inline-size:auto;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);vertical-align:top}:host([scale=s]){inline-size:234px;min-inline-size:216px;max-inline-size:380px}:host([scale=m]){inline-size:304px;min-inline-size:272px;max-inline-size:480px}:host([scale=l]){inline-size:370px;min-inline-size:320px;max-inline-size:600px}:host([hidden]){display:none}[hidden]{display:none}";
|
18
|
+
/*!
|
19
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
21
|
+
* v2.12.1
|
22
|
+
*/
|
23
|
+
const St="calendar-wrapper",Rt="calendar-wrapper--end",At="border-top-color-one",jt="no-bottom-border",Ot="input-wrapper",Mt="input",Tt="menu-container",Bt="menu-container--active",Nt="toggle-icon",Ht="inputDatePickerValidationMessage",Wt=class{constructor(e){t(this,e),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.calciteInternalInputInputHandler=t=>{const i=t.target,e=i.value,s=this.parseNumerals(e),a=this.formatNumerals(s);i.value=a;const{year:n}=M(e,this.localeData);if(n&&n.length<4)return;const o=T(e,this.localeData);B(o,this.min,this.max)&&(this.datePickerActiveDate=o)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.dialogId=`date-picker-dialog--${at()}`,this.focusOnOpen=!1,this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.placeholderTextId=`calcite-input-date-picker-placeholder-${at()}`,this.onInputWrapperPointerDown=()=>{this.currentOpenInput=this.focusedInput},this.onInputWrapperClick=t=>{const{range:i,endInput:e,startInput:s,currentOpenInput:a}=this,n=t.currentTarget.getAttribute("data-position");t.composedPath().find((t=>t.classList?.contains(Nt)))&&("start"===n?s:e).setFocus(),i&&this.open&&a!==n||(this.open=!this.open)},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?H(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.blurHandler=()=>{this.open=!1},this.keyDownHandler=t=>{const{defaultPrevented:i,key:e}=t;i||("Enter"===e?(t.preventDefault(),this.commitValue(),this.shouldFocusRangeEnd()?this.endInput?.setFocus():this.shouldFocusRangeStart()&&this.startInput?.setFocus(),Z(this)&&this.restoreInputFocus()):"ArrowDown"===e?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===e&&(this.open=!1,t.preventDefault(),this.restoreInputFocus()))},this.startInputFocus=()=>{this.focusedInput="start"},this.endInputFocus=()=>{this.focusedInput="end"},this.setFloatingEl=t=>{this.floatingEl=t,W(this,this.referenceEl,this.floatingEl)},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.setDatePickerRef=t=>{this.datePickerEl=t,it(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.handleDateChange=t=>{this.range||(t.stopPropagation(),this.setValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.handleDateRangeChange=t=>{this.range&&(t.stopPropagation(),this.setRangeValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.setInputValue=(t,i="start")=>{const e=this[`${i}Input`];e&&(e.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,e=Array.isArray(i),s=Array.isArray(t);let a=s?R(s?t[0]:null):"";a&&(a=this.getNormalizedDate(a));let n=s?R(s?t[1]:null):"";n&&(n=this.getNormalizedDate(n));const o=a||n?[a,n]:"";if(o===i)return;this.userChangedValue=!0,this.value=o,this.valueAsDate=o?Ft(o):void 0;const l=this.calciteInputDatePickerChange.emit();l&&l.defaultPrevented&&(this.value=i,e?(this.setInputValue(i[0],"start"),this.setInputValue(i[1],"end")):(this.value=i,this.setInputValue(i)))},this.setValue=t=>{if(this.range)return;const i=this.value;let e=R(t);e=this.getNormalizedDate(e),e!==i&&(this.userChangedValue=!0,this.valueAsDate=e?P(e):void 0,this.value=e||"",this.calciteInputDatePickerChange.emit().defaultPrevented&&(this.value=i,this.setInputValue(i)))},this.commonDateSeparators=[".","-","/"],this.formatNumerals=t=>t?t.split("").map((t=>this.commonDateSeparators?.includes(t)?this.localeData?.separator:J?.includes(t)?x?.numberFormatter?.format(Number(t)):t)).join(""):"",this.parseNumerals=t=>t?t.split("").map((t=>J.includes(t)?x.delocalize(t):t)).join(""):"",this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.value="",this.flipPlacements=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.messageOverrides=void 0,this.messages=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.open=!1,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.numberingSystem=void 0,this.scale="m",this.status="idle",this.placement=U,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.datePickerActiveDate=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.focusedInput="start",this.localeData=void 0}handleFocusTrapDisabled(t){this.open&&(t?et(this):st(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;i=Array.isArray(t)?Ft(t):t?P(t):void 0,this.valueAsDateChangedExternally||i===this.valueAsDate||(this.valueAsDate=i),this.localizeInputValues()}this.userChangedValue=!1}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[R(t[0]),R(t[1])]:R(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}onMinChanged(t){this.minAsDate=P(t)}onMaxChanged(t){this.maxAsDate=P(t)}openHandler(){F(this),this.disabled||this.readOnly?this.open=!1:this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){await E(this),c(this.el)}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:n}=this;return V(this,{floatingEl:i,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:n,type:"menu"},t)}connectedCallback(){p(this),f(this),this.handleDateTimeFormatChange();const{open:t}=this;if(t&&this.openHandler(),this.min&&(this.minAsDate=P(this.min)),this.max&&(this.maxAsDate=P(this.max)),Array.isArray(this.value))this.valueAsDate=Ft(this.value);else if(this.value)try{const t=P(this.value),i=A(t,this.minAsDate,this.maxAsDate);this.valueAsDate=i}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}else this.valueAsDate&&(this.range?this.setRangeValue(this.valueAsDate):Array.isArray(this.valueAsDate)||(this.value=R(this.valueAsDate)));X(this),G(this),$(this),this.setFilteredPlacements(),x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.open&&F(this),W(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){I(this),await Promise.all([this.loadLocaleData(),D(this)]),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){L(this),this.localizeInputValues(),W(this,this.referenceEl,this.floatingEl)}disconnectedCallback(){et(this),u(this),tt(this),Q(this),q(this,this.referenceEl,this.floatingEl),g(this),C(this)}componentDidRender(){v(this)}render(){const{disabled:t,effectiveLocale:i,messages:a,numberingSystem:n,readOnly:o}=this;return x.numberFormatOptions={numberingSystem:n,locale:i,useGrouping:!1},e(s,{key:"38f3ea7b3206b0b5d404c6691d54811ce9e09753",onBlur:this.blurHandler,onKeyDown:this.keyDownHandler},e(m,{key:"64296d7cf55e492e041eee729d969733f0aeeede",disabled:this.disabled},this.localeData&&e("div",{key:"bb1244e8a1ac6e32bc71f08a98d8007b17a3332d",class:"input-container"},e("div",{key:"fcb3e2430616bae57d9e09ea1f631bdb6c9810f0",class:Ot,"data-position":"start",onClick:this.onInputWrapperClick,onPointerDown:this.onInputWrapperPointerDown,ref:this.setStartWrapper},e("calcite-input-text",{key:"4c1e9dea4f553f206251bafefd05993b5c897b41","aria-autocomplete":"none","aria-controls":this.dialogId,"aria-describedby":this.placeholderTextId,"aria-errormessage":Ht,"aria-expanded":d(this.open),"aria-haspopup":"dialog","aria-invalid":d("invalid"===this.status),class:{[Mt]:!0,[jt]:"vertical"===this.layout&&this.range},disabled:t,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.startInputFocus,placeholder:this.localeData?.placeholder,readOnly:o,ref:this.setStartInput,role:"combobox",scale:this.scale,status:this.status}),!this.readOnly&&this.renderToggleIcon(this.open&&"start"===this.focusedInput),e("span",{key:"705abe452a2f49cc167f1051ca193b397d6cef9f","aria-hidden":"true",class:"assistive-text",id:this.placeholderTextId},"Date Format: ",this.localeData?.placeholder)),e("div",{key:"bf71124065fdfefa0a6024e245aee31eee3a5b5e","aria-hidden":d(!this.open),"aria-label":a.chooseDate,"aria-live":"polite","aria-modal":"true",class:{[Tt]:!0,[Bt]:this.open},id:this.dialogId,ref:this.setFloatingEl,role:"dialog"},e("div",{key:"9803f72d5454230914a2604cceb3b1d30fd32083",class:{[St]:!0,[Rt]:"end"===this.focusedInput,[K.animation]:!0,[K.animationActive]:this.open},ref:this.setTransitionEl},e("calcite-date-picker",{key:"667c3488db40269e60d79f28f374a6cf9ff610da",activeDate:this.datePickerActiveDate,activeRange:this.focusedInput,headingLevel:this.headingLevel,max:this.max,maxAsDate:this.maxAsDate,messageOverrides:this.messageOverrides,min:this.min,minAsDate:this.minAsDate,numberingSystem:n,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,ref:this.setDatePickerRef,scale:this.scale,tabIndex:this.open?void 0:-1,valueAsDate:this.valueAsDate}))),this.range&&"horizontal"===this.layout&&e("div",{key:"1c657ea9c4b667035d58a13bffb784489586bbdd",class:"horizontal-arrow-container"},e("calcite-icon",{key:"970d61e19c5372d503ef070fcbd30817b2231c86",flipRtl:!0,icon:"arrow-right",scale:nt(this.scale)})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&e("div",{key:"b5c83aafbddb396900c44b97d642b0c1c7b2a27b",class:"vertical-arrow-container"},e("calcite-icon",{key:"b00438be61ed6f73b1c0b074ff1a8b26ce32e7e2",icon:"arrow-down",scale:nt(this.scale)})),this.range&&e("div",{key:"38a7533192d085470cef7e59d091cebe8088980d",class:Ot,"data-position":"end",onClick:this.onInputWrapperClick,onPointerDown:this.onInputWrapperPointerDown,ref:this.setEndWrapper},e("calcite-input-text",{key:"03fbeddd6785ce5e6abb29d9c40ee34842376e31","aria-autocomplete":"none","aria-controls":this.dialogId,"aria-errormessage":Ht,"aria-expanded":d(this.open),"aria-haspopup":"dialog","aria-invalid":d("invalid"===this.status),class:{[Mt]:!0,[At]:"vertical"===this.layout&&this.range},disabled:t,icon:"calendar",onCalciteInputTextInput:this.calciteInternalInputInputHandler,onCalciteInternalInputTextBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputTextFocus:this.endInputFocus,placeholder:this.localeData?.placeholder,readOnly:o,ref:this.setEndInput,role:"combobox",scale:this.scale,status:this.status}),!this.readOnly&&this.renderToggleIcon(this.open&&"end"===this.focusedInput))),e(Y,{key:"9086e6f1f425cb7c583bf8f195b877e42c6a6aa6",component:this}),this.validationMessage&&"invalid"===this.status?e(ot,{icon:this.validationIcon,id:Ht,message:this.validationMessage,scale:this.scale,status:this.status}):null))}renderToggleIcon(t){return e("span",{class:Nt,tabIndex:-1},e("calcite-icon",{class:"chevron-icon",icon:t?"chevron-up":"chevron-down",scale:nt(this.scale)}))}effectiveLocaleChange(){k(this,this.effectiveLocale),this.loadLocaleData()}handleDateTimeFormatChange(){const t={numberingSystem:_(this.numberingSystem)};this.dateTimeFormat=new Intl.DateTimeFormat(w(this.effectiveLocale),t)}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:e,startWrapper:s}=this;this.referenceEl="end"===t||"vertical"===i?e||s:s||e,requestAnimationFrame((()=>W(this,this.referenceEl,this.floatingEl)))}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){st(this,{onActivate:()=>{this.focusOnOpen&&(this.datePickerEl.setFocus(),this.focusOnOpen=!1)}}),this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit(),et(this),this.restoreInputFocus(),this.focusOnOpen=!1,this.datePickerEl.reset()}syncHiddenFormInput(t){lt("date",this,t)}commitValue(){const{focusedInput:t,value:i}=this,e=T(this[`${t}Input`].value,this.localeData),s=R(e),a=Array.isArray(i);if(this.range)if(a){if(s===i["start"===t?0:1])return;e?(this.setRangeValue(["start"===t?e:P(i[0]),"end"===t?e:P(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&P(i[0]),"start"===t&&P(i[1])])}else e&&(this.setRangeValue(["start"===t?e:P(i[0]),"end"===t?e:P(i[1])]),this.localizeInputValues());else{if(s===i)return;this.setValue(e),this.localizeInputValues()}}async loadLocaleData(){N()&&(x.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await Lt(this.effectiveLocale),this.localizeInputValues())}shouldFocusRangeStart(){return!(!this.value[1]||this.value[0]||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.value[0]||this.value[1]||"start"!==this.focusedInput||!this.endInput)}restoreInputFocus(){this.range?("start"===this.focusedInput?this.startInput:this.endInput).setFocus():this.startInput.setFocus()}localizeInputValues(){const t=A(this.range?Array.isArray(this.valueAsDate)&&this.valueAsDate[0]||void 0:this.valueAsDate,this.minAsDate,this.maxAsDate),i=this.range?A(Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0,this.minAsDate,this.maxAsDate):null;this.setInputValue((t&&this.dateTimeFormat.format(t))??"","start"),this.setInputValue((this.range&&i&&this.dateTimeFormat.format(i))??"","end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "YYYY-MM-DD".`)}getNormalizedDate(t){if(!t)return"";if(!
|
24
|
+
/*!
|
25
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
26
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
27
|
+
* v2.12.1
|
28
|
+
*/
|
29
|
+
function(t){if(!t)return!1;const{year:i}=O(t);return Number(i)<100}(t))return t;const{day:i,month:e,year:s}=O(t);return`${function(t){const i=(new Date).getFullYear();return 100*Math.floor(i/100)+t}(Number(s))}-${e}-${i}`}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueWatcher"],valueAsDate:["valueAsDateWatcher"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],min:["onMinChanged"],max:["onMaxChanged"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],effectiveLocale:["effectiveLocaleChange","handleDateTimeFormatChange"],numberingSystem:["handleDateTimeFormatChange"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"]}}};Wt.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-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}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}:host([scale=s]){--calcite-toggle-spacing:0.5rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calendar-wrapper{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}.input-wrapper .chevron-icon{color:var(--calcite-color-text-3)}.input-wrapper:focus-within .chevron-icon,.input-wrapper:active .chevron-icon,.input-wrapper:hover .chevron-icon{color:var(--calcite-color-text-1)}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:var(--calcite-z-index);margin-inline:1px;background-color:var(--calcite-color-foreground-1);padding-inline:0.625rem;inset-inline-start:0}.menu-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}.menu-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}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.menu-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.menu-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.menu-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}.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}.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}:host([hidden]){display:none}[hidden]{display:none}";const Ut="instant-apps-filter-list calcite-mode-light",Vt=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function qt(t){return t.replaceAll("'","''")}function Kt(t,i=!1){if(t){const e=new Date(t),s=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`;return i?`${s} ${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`:s}}function Zt(t){var i;if(null!=t){t.value=["",""];const e=null===(i=t.shadowRoot)||void 0===i?void 0:i.querySelectorAll("calcite-input");if(null!=e)for(const t of e)t.value=""}}const Gt="instant-apps-filter-list__item-container--user-input",Qt=class{constructor(e){t(this,e),this.filterListReset=i(this,"filterListReset",7),this.filterUpdate=i(this,"filterUpdate",7),this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.comboboxOverlayPositioning="absolute",this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.filterCount=0,this.view=void 0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=Ut,this.disabled=!0,this.hasLayerExpression=!1,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.hasLayerExpression||(this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate(),this.hasLayerExpression=!0)}getFilterInitState(){return Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}forceReset(){return this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit(),Promise.resolve()}restoreFilters(t,i){this.filterLayerExpressions=structuredClone(this.layerExpressions),this.initDefExpressions=i.initDefExpressions,this.initMapImageExpressions=i.initMapImageExpressions,this.initPointCloudFilters=i.initPointCloudFilters;const e=null==t?void 0:t.split(";").map((t=>JSON.parse(t)));return e&&(this.filterCount=this.applyFilters(e)),this.initExpressions()}async componentWillLoad(){var t;this.baseClass="dark"===ht(this.el)?"instant-apps-filter-list calcite-mode-dark":Ut,await this.initializeModules(),ct(this),this.hasLayerExpression=null!=this.layerExpressions,this.filterLayerExpressions=null!=this.layerExpressions?structuredClone(this.layerExpressions):[],this.disabled=!(null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)||void 0,this.reactiveUtils.whenOnce((()=>this.view)).then((()=>this.handleLayerExpressionsUpdate()))}componentShouldUpdate(t,i,e){"view"===e&&null!=t?this.handleWhenView():"layerExpressions"===e&&(this.hasLayerExpression&&this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate(),this.hasLayerExpression=!0)}componentWillRender(){var t;this.disabled=!((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0)||void 0}disconnectedCallback(){this.resetFiltersOnDisconnect&&(this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){const[t,i,e]=await rt(["esri/intl","esri/geometry/support/jsonUtils","esri/core/reactiveUtils"]);this.geometryJsonUtils=i,this.reactiveUtils=e,this.locale=t.getLocale(),this.intl=t}render(){const t=this.loading?this.renderLoading():this.initFilterConfig(),i=this.renderFooter(this.closeBtn,this.resetBtn);return e(s,{key:"1cc3609c3ba5760b5e4e83fe9d86e391b7126fa2"},e("calcite-panel",{key:"a88f98d7650a53faf227e8cb0aeabfb59981932e",class:this.baseClass,ref:t=>this.panelEl=t},e("slot",{key:"094a5c5eb771ee7cdb140c505eb9ca825607ddc7",slot:"header-content",name:"filter-header-content"}),e("slot",{key:"5850fabcfe9826db945b2f8e8d43d9aa9d6b9aed",slot:"header-actions-end",name:"filter-header-actions-end"}),e("div",{key:"filter-container",class:"instant-apps-filter-list__container"},t,i)))}renderLoading(){return e("calcite-loader",{label:"Loading filters..."})}renderFilter(t){const{id:i}=t;return t.expressions.map(((s,a)=>"checkbox"==s.type||null==s.type?e("div",{key:`${i}-${a}`,class:"instant-apps-filter-list__item-container"},e("div",{class:"instant-apps-filter-list__title"},e("p",null,s.name)),e("div",{class:"instant-apps-filter-list__checkbox-container"},e("calcite-checkbox",{id:s.id.toString(),scale:"l",checked:null==s?void 0:s.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,t,s)}))):this.initInput(t,s)))}renderLayerBlock(){return this.filterLayerExpressions.map((t=>this.renderFilterBlocks(t)))}renderFilterBlocks(t){var i;const s=this.renderFilter(t),{operator:a}=t,n="OR"===(null==a?void 0:a.trim())?"orOperator":"andOperator",o=this.renderZoomTo(t);return e("calcite-block",{key:t.id,heading:t.title,description:null===(i=this.messages)||void 0===i?void 0:i[n],open:!!this.openFilters||void 0,collapsible:!0},o,s)}renderCombobox(t,i){var s;return e("label",{key:"combo-select",class:Gt},e("span",null,i.name),e("calcite-combobox",{id:i.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,i,t),label:i.name,placeholder:i.placeholder,selectionMode:"multiple","max-items":"6",scale:"s",overlayPositioning:this.comboboxOverlayPositioning},null===(s=i.fields)||void 0===s?void 0:s.map(((t,e)=>this.renderComboboxItem(i,t,e)))))}renderComboboxItem(t,i,s){var a;const n=this.createLabel(t,i),o=null==t?void 0:t.selectedFields,l=null!==(a=null==o?void 0:o.includes(i))&&void 0!==a&&a;return e("calcite-combobox-item",{key:`${n}-${s}`,value:i,textLabel:`${n}`,selected:l})}initFilterConfig(){var t,i;if((null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.length)>0){if(1===this.filterLayerExpressions.length){const{operator:t}=this.filterLayerExpressions[0],s="OR"===(null==t?void 0:t.trim())?"orOperator":"andOperator",a=this.renderZoomTo(this.filterLayerExpressions[0]);return e("calcite-block",{class:"instant-apps-filter-list__operator-description",heading:null===(i=this.messages)||void 0===i?void 0:i[s],open:!0},a,this.renderFilter(this.filterLayerExpressions[0]))}if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(t,i){var s,a,n,o,l,r,c,h;const d=null==i?void 0:i.min,p=null==i?void 0:i.max,u=(null==i?void 0:i.step)?i.step:1,v=null!==(s=null==i?void 0:i.field)&&void 0!==s?s:"",m=[null!=(null===(a=null==i?void 0:i.range)||void 0===a?void 0:a.min)?i.range.min:d,null!=(null===(n=null==i?void 0:i.range)||void 0===n?void 0:n.max)?i.range.max:p];return null!=d&&null!=p?e("label",{key:null==i?void 0:i.id.toString(),class:Gt},e("span",null,null==i?void 0:i.name),e("div",{class:"instant-apps-filter-list__number-input-container"},e("calcite-slider",{id:null==i?void 0:i.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,i,t),min:d,max:p,minValue:d,maxValue:p,"min-label":null===(l=null===(o=this.messages)||void 0===o?void 0:o.minSlider)||void 0===l?void 0:l.replace("{field}",v),"max-label":null===(c=null===(r=this.messages)||void 0===r?void 0:r.maxSlider)||void 0===c?void 0:c.replace("{field}",v),step:u,labelHandles:!0,snap:!0,value:m,"group-separator":null===(h=null==i?void 0:i.format)||void 0===h?void 0:h.digitSeparator}))):void 0}renderDatePicker(t,i){var s,a,n,o;const{min:l,max:r}=i,c=[null===(s=null==i?void 0:i.range)||void 0===s?void 0:s.min,null===(a=null==i?void 0:i.range)||void 0===a?void 0:a.max];return null!=l&&null!=r?e("label",{class:Gt},e("span",null,null==i?void 0:i.name),e("div",{class:"instant-apps-filter-list__date-picker-input-container"},e("calcite-input-date-picker",{id:null==i?void 0:i.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,i,t),min:l,max:r,"overlay-positioning":"fixed",lang:null!==(n=this.locale)&&void 0!==n?n:"en",layout:"vertical",value:c,range:!0}),e("calcite-action",{onClick:this.handleResetDatePicker.bind(this,i,t),icon:"reset",text:null===(o=this.messages)||void 0===o?void 0:o.resetDatePicker,scale:"s"}))):null}renderFooter(t,i){var s,a,n;const o=null!=this.closeBtnText?this.closeBtnText:null===(s=this.messages)||void 0===s?void 0:s.close;return e("div",{class:"instant-apps-filter-list__footer",slot:"footer"},i?e("calcite-button",{appearance:"outline",width:"half",disabled:this.disabled,onClick:this.handleResetFilter.bind(this)},null===(a=this.messages)||void 0===a?void 0:a.resetFilter):void 0,t?e("calcite-button",{appearance:"solid",width:"half",kind:"brand",onClick:null===(n=this.closeBtnOnClick)||void 0===n?void 0:n.bind(this)},o):void 0)}renderZoomTo(t){var i;return this.zoomBtn?e("div",{class:"instant-apps-filter-list__zoom-to"},e("calcite-button",{id:(null==t?void 0:t.sublayerId)?`zoom-to-${t.id}-${t.sublayerId}`:`zoom-to-${t.id}`,appearance:"transparent",kind:"neutral",scale:"s",iconStart:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,t)},null===(i=this.messages)||void 0===i?void 0:i.zoomTo)):void 0}handleResetDatePicker(t,i){Zt(this.panelEl.querySelector(`[id='${t.id}']`)),t.active=!1,t.definitionExpression=void 0,t.range=void 0,this.generateOutput(i)}initInput(t,i){const{type:e,numDisplayOption:s,displayOption:a}=i;return"string"!==e&&"coded-value"!==e&&("number"!==e&&"range"!==e&&"date"!==e||"drop-down"!==s&&"drop-down"!==a)?"number"===e||"range"===e?this.renderNumberSlider(t,i):"date"===e?this.renderDatePicker(t,i):void 0:this.renderCombobox(t,i)}async initExpressions(){if(this.loading=!0,null==this.filterLayerExpressions)return;const t=await this.processExpressions();this.loading=!1,this.filterLayerExpressions=[...t]}async processExpressions(){var t;if(!this.filterLayerExpressions)return[];for(const i of this.filterLayerExpressions)for(const e of i.expressions||[])e.active=null!==(t=e.active)&&void 0!==t?t:null!=e.definitionExpression,await this.setInitExpression(i,e);return this.filterLayerExpressions}handleResetFilter(){var t;null===(t=this.filterLayerExpressions)||void 0===t||t.forEach((t=>{var i;null===(i=t.expressions)||void 0===i||i.forEach((t=>{const{type:i,numDisplayOption:e,displayOption:s}=t;let a="";"string"!==i&&"coded-value"!==i&&("date"!==i||"drop-down"!==e&&"drop-down"!==s)&&("number"!==i&&"range"!==i||"drop-down"!==e&&"drop-down"!==s)?"date"===i?a="datePicker":"number"!==i&&"range"!==i||(a="numberRange"):a="combobox",a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1}))})),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressionUI(t,i){const{id:e}=i;switch(t){case"combobox":i.selectedFields=void 0;const t=this.panelEl.querySelector(`[id='${e}']`);t&&Array.from(t.children).forEach((t=>{t.selected=!1}));break;case"datePicker":i.range=void 0,Zt(this.panelEl.querySelector(`[id='${e}']`));break;case"numberRange":i.range=void 0;const s=this.panelEl.querySelector(`[id='${e}']`);s&&(s.minValue=i.min,s.maxValue=i.max)}}resetCheckbox(t){const{id:i}=t,e=this.panelEl.querySelector(`[id='${i}']`);null!=e&&(e.checked=!1)}resetAllFilters(){var t,i,e,s,a;const n=null===(e=null===(i=null===(t=this.view)||void 0===t?void 0:t.map)||void 0===i?void 0:i.allLayers)||void 0===e?void 0:e.concat(null===(a=null===(s=this.view)||void 0===s?void 0:s.map)||void 0===a?void 0:a.allTables);null==n||n.forEach((t=>{var i,e;if(!Vt.includes(t.type))return;const s=t;"point-cloud"===s.type?s.filters=null===(i=this.initPointCloudFilters)||void 0===i?void 0:i[s.id]:"map-image"===s.type?s.allSublayers.forEach((t=>{var i,e;t.definitionExpression=null===(e=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[s.id])||void 0===e?void 0:e[t.id]})):s.definitionExpression=null===(e=this.initDefExpressions)||void 0===e?void 0:e[s.id]}))}async updateStringExpression(t,i){const e=this.findFilterLayer(t);return await this.getFeatureAttributes(e,i),this.handleDateField(e,i),!!(null==i?void 0:i.selectedFields)&&(i.definitionExpression=this.createDefinitionExpression(i),!0)}handleDateField(t,i){if("date"===i.type){const e=t.fields.find((({name:t})=>t===i.field));"date-only"===(null==e?void 0:e.type)&&(i.dateOnly=!0)}}createDefinitionExpression(t){var i;if(!(null===(i=t.selectedFields)||void 0===i?void 0:i.length))return"";const e=t.selectedFields.map((t=>"number"==typeof t?t:`'${qt(t)}'`));return`${t.field} IN (${e.join(",")})`}async updateNumberExpression(t,i){var e,s;if(!(null==i?void 0:i.min)&&0!==(null==i?void 0:i.min)||!(null==i?void 0:i.max)&&0!==(null==i?void 0:i.max)){const a=this.findFilterLayer(t),{field:n}=i;if(null!=n)if(this.setExpressionFormat(a,i,n),"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption))await this.getFeatureAttributes(a,i);else{const t=await this.calculateMinMaxStatistics(a,n),o=null===(e=null==t?void 0:t[0])||void 0===e?void 0:e.attributes;if(null!=(null===(s=i.format)||void 0===s?void 0:s.places)?(i.min=this.roundMinNumberDown(o[`min${n}`],i.format.places),i.max=this.roundMaxNumberUp(o[`max${n}`],i.format.places)):(i.min=o[`min${n}`],i.max=o[`max${n}`]),(null==i?void 0:i.range)&&Object.keys(i.range).length){const{min:t,max:e}=i.range;return i.definitionExpression=`${i.field} BETWEEN ${t} AND ${e}`,!0}}}return!1}async updateDateExpression(t,i){var e;const{field:s,range:a}=i,n=this.findFilterLayer(t),o=await this.calculateMinMaxStatistics(n,s),l=null===(e=null==o?void 0:o[0])||void 0===e?void 0:e.attributes;if(i.min=Kt(l[`min${s}`]),i.max=Kt(l[`max${s}`]),null!=a&&(null!=(null==a?void 0:a.max)||null!=(null==a?void 0:a.min))){let{min:t,max:e}=a;if(t=null==t?void 0:t.replace("+"," "),e=null==e?void 0:e.replace("+"," "),t||e){const a=e&&!t?"<":!e&&t?">":null;return i.definitionExpression=a?`${s} ${a} '${null!=t?t:e}'`:`${s} BETWEEN '${t}' AND '${e}'`,!0}}return!1}updateCodedValueExpression(t,i){var e,s;if(!(null==i?void 0:i.domain)||"coded-value"!==(null===(e=null==i?void 0:i.domain)||void 0===e?void 0:e.type))return!1;const a=i.domain.codedValues.reduce(((t,{code:i,name:e})=>(t[i]=e,t)),{});if(t.codedValues=a,t.fields=Object.keys(a),null===(s=t.selectedFields)||void 0===s?void 0:s.length){const i=t.selectedFields.map((t=>"number"==typeof t?t:`'${qt(t)}'`)).join(",");return t.definitionExpression=`${t.field} IN (${i})`,!0}return!1}updateRangeExpression(t,i){var e;if(!(null==i?void 0:i.domain)||"range"!==(null===(e=null==i?void 0:i.domain)||void 0===e?void 0:e.type))return!1;const{field:s,range:a}=t;return t.min=i.domain.minValue,t.max=i.domain.maxValue,!(!a||!Object.keys(a).length||(t.definitionExpression=`${s} BETWEEN ${a.min} AND ${a.max}`,0))}async getFeatureAttributes(t,i){if(!this.isLayerSupported(t))return void(i.fields=[]);const e=await this.getQueryLayer(t),{maxRecordCount:s,supportsMaxRecordCountFactor:a}=this.extractQueryCapabilities(t),n=await e.queryFeatureCount(),o=this.createQuery(e,i);await this.queryDistinctFeatures(e,o,i),this.shouldPaginate(s,n,a)&&this.handlePagination(e,o,s,a,n,i)}isLayerSupported(t){return t&&Vt.includes(t.type)}extractQueryCapabilities(t){var i,e,s,a,n,o;return{maxRecordCount:null!==(s=null===(e=null===(i=t.capabilities)||void 0===i?void 0:i.query)||void 0===e?void 0:e.maxRecordCount)&&void 0!==s?s:null===(a=t.sourceJSON)||void 0===a?void 0:a.maxRecordCount,supportsMaxRecordCountFactor:null===(o=null===(n=t.capabilities)||void 0===n?void 0:n.query)||void 0===o?void 0:o.supportsMaxRecordCountFactor}}createQuery(t,i){const e=t.createQuery();this.applyCacheHint(t,e);const s=null==i?void 0:i.field;if(s){const i=this.getInitDefExprFromLayer(t);e.where=i||"1=1",e.outFields=[s],e.orderByFields=[`${s} ASC`],e.returnDistinctValues=!0,e.returnGeometry=!1,e.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(e)}return e}async queryDistinctFeatures(t,i,e){if(!i.outFields)return;const s=await this.queryForFeatures(t,i,i.outFields[0]);(null==s?void 0:s.length)&&(e.fields=[...new Set(s)],"string"===e.type?e.fields=e.fields.sort():"number"===e.type&&(e.fields=e.fields.sort(((t,i)=>t-i))))}getQueryCount(t,i){return i?5*t:t}shouldPaginate(t,i,e){const s=this.getQueryCount(t,e);return null!=t&&i>s}async handlePagination(t,i,e,s,a,n){const o=this.getQueryCount(e,s),l=[];for(let s=o;s<a;s+=o){const a=i.clone();a.num=e,a.start=s,l.push(this.queryForFeatures(t,a,i.outFields[0]))}Promise.all(l).then((t=>{t.forEach((t=>{(null==t?void 0:t.length)&&n.fields&&n.fields.push(...t)})),n.fields=[...new Set(n.fields)].sort(),this.filterLayerExpressions=[...this.filterLayerExpressions]}))}async queryForFeatures(t,i,e){const s=await t.queryFeatures(i),a=null==s?void 0:s.features.filter((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[e]}));return null==a?void 0:a.map((t=>{var i;return null===(i=t.attributes)||void 0===i?void 0:i[e]}))}async calculateMinMaxStatistics(t,i){if(!t||!Vt.includes(t.type)||!i)return[];const e=this.createStatisticsQuery(t,i),s=await t.queryFeatures(e);return(null==s?void 0:s.features)||[]}createStatisticsQuery(t,i){const e=t.createQuery();return e.where=this.getInitDefExprFromLayer(t)||"1=1",this.applyCacheHint(t,e),e.outStatistics=[{onStatisticField:i,outStatisticFieldName:`max${i}`,statisticType:"max"},{onStatisticField:i,outStatisticFieldName:`min${i}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(e),e}getExtent(t,i){if(t&&i){const{constraints:t}=i;let e=Object.assign({},t);const s=null==e?void 0:e.geometry;if(s){const t="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if("extent"===(null==t?void 0:t.type)||"polygon"===(null==t?void 0:t.type))return t}}}async setInitExpression(t,i){if(!i.field||!i.type)return void await this.updateExpression(t,i,void 0);const e=this.findFilterLayer(t);e&&("not-loaded"!==e.loadStatus&&"failed"!==e.loadStatus||await e.load(),await e.when((async()=>{var s,a;const n=null===(s=e.fields)||void 0===s?void 0:s.find((({name:t})=>t===i.field)),o=null===(a=null==n?void 0:n.domain)||void 0===a?void 0:a.type;i.type="coded-value"===o||"range"===o?o:i.type,await this.updateExpression(t,i,n)})))}async updateExpression(t,i,e){await this.handleExpressionType(t,i,e)&&this.generateOutput(t)}async handleExpressionType(t,i,e){var s;switch(i.type){case"string":return await this.updateStringExpression(t,i);case"number":return await this.updateNumberExpression(t,i);case"date":return this.updateDateExpressionBasedOnDisplayOption(t,i);case"coded-value":return this.updateCodedValueExpression(i,e);case"range":return this.updateRangeExpressionBasedOnDisplayOption(t,i,e);case"checkbox":case null:return null!==(s=i.active)&&void 0!==s&&s;default:return!1}}async updateDateExpressionBasedOnDisplayOption(t,i){return"drop-down"===i.displayOption?await this.updateStringExpression(t,i):await this.updateDateExpression(t,i)}async updateRangeExpressionBasedOnDisplayOption(t,i,e){return"drop-down"===i.displayOption?await this.updateStringExpression(t,i):this.updateRangeExpression(i,e)}updateRangeExpressions(t,i,e,s){const a=this.getInitDefExprFromLayerExpression(i);!s&&0!==s||!e&&0!==e||(s===(null==t?void 0:t.min)&&e===(null==t?void 0:t.max)?(t.definitionExpression=void 0,t.active=!1):(t.definitionExpression=a?`(${a}) AND ${null==t?void 0:t.field} BETWEEN ${s} AND ${e}`:`${null==t?void 0:t.field} BETWEEN ${s} AND ${e}`,t.active=!0)),t.range={min:s,max:e}}handleCheckboxChange(t,i,e){i.active=e.target.checked,this.generateOutput(t)}handleSliderChange(t,i,e){const{maxValue:s,minValue:a}=e.target;this.updateRangeExpressions(t,i,s,a),this.generateOutput(i)}handleComboSelect(t,i,e){const s=e.target.selectedItems,{field:a,type:n}=t;if(t.selectedFields=s.map((({value:t})=>t)),s.length){const i=s.map((({value:t})=>"number"==typeof t?t:`'${qt(t)}'`));t.definitionExpression="date"===n?i.map((t=>this.buildDateExpression(t,a))).join(" OR "):`${a} IN (${i.join(",")})`,t.active=!0}else t.definitionExpression=void 0,t.active=!1;this.generateOutput(i)}handleDatePickerRangeChange(t,i,e){const s=e.target,[a,n]=s.valueAsDate,o=a?Kt(Math.floor(a.getTime()),!0):void 0,l=n?Kt(Math.floor(n.getTime()),!0):void 0;(o||l)&&(t.definitionExpression=this.constructDefinitionExpression(t.field,o,l),t.range={min:o,max:l},t.active=!0,this.generateOutput(i))}constructDefinitionExpression(t,i,e){return i?e?`${t} BETWEEN '${i}' AND '${e}'`:`${t} > '${i}'`:`${t} < '${e}'`}handleURLParams(){if(!("URLSearchParams"in window))return;const t=new URLSearchParams(document.location.search).get("filter");if(!t)return void(this.filterCount=0);const i=t.split(";").map((t=>JSON.parse(t)));this.filterCount=this.applyFilters(i)}applyFilters(t){let i=0;return t.forEach((t=>{var e,s;const a=null===(e=this.filterLayerExpressions)||void 0===e?void 0:e.find((i=>i.id===t.layerId));a&&(null===(s=a.expressions)||void 0===s||s.forEach((e=>{var s,a;(null===(s=e.id)||void 0===s?void 0:s.toString())===(null===(a=t.expressionId)||void 0===a?void 0:a.toString())&&(this.activateExpression(e,t),i++)})))})),i}activateExpression(t,i){t.active=!0,"range"===i.type?t.range=i.range:"select"===i.type&&(t.selectedFields=i.selectedFields)}createURLParamExpression(t,i){const{id:e,range:s,selectedFields:a,type:n}=i;return"string"===n||"coded-value"===n||"drop-down"===(null==i?void 0:i.numDisplayOption)||"drop-down"===(null==i?void 0:i.displayOption)?{type:"select",layerId:t.id,expressionId:e.toString(),selectedFields:a}:"number"===n||"range"===n||"date"===n?{type:"range",layerId:t.id,expressionId:e.toString(),range:s}:{layerId:t.id,expressionId:e.toString()}}autoUpdateURLCheck(t){if(this.autoUpdateUrl){const i=t.toString()?`${window.location.pathname}?${t}`.trim():window.location.pathname;window.history.replaceState({},"",i)}}generateURLParams(){var t;if(!("URLSearchParams"in window))return;const i=new URLSearchParams(window.location.search),e=(null===(t=this.filterLayerExpressions)||void 0===t?void 0:t.flatMap((t=>{var i;return(null===(i=null==t?void 0:t.expressions)||void 0===i?void 0:i.filter((t=>t.active)).map((i=>JSON.stringify(this.createURLParamExpression(t,i)))))||[]})))||[];this.filterCount=e.length,e.length>0?i.set("filter",e.join(";")):i.delete("filter"),this.autoUpdateURLCheck(i),this.urlParams=i}updateFilter(t,i,e){const{id:s}=t,a=this.view.map.findLayerById(s)||this.view.map.findTableById(s);if(null!=a)if("point-cloud"===a.type)this.updateFilterLayerPCLFilter(a,e);else if("map-image"===a.type){const e=a.findSublayerById(null==t?void 0:t.sublayerId);null!=e&&this.updateFilterLayerDefExpression(e,i,t)}else this.updateFilterLayerDefExpression(a,i,t)}updateFilterLayerDefExpression(t,i,e){const{operator:s}=e;let a=this.getInitDefExprFromLayer(t);const n=(null==i?void 0:i.length)>0&&null!=a?`(${i.join(s)}) AND (${a})`:i.length>0?i.join(s):a;t.definitionExpression=n}updateFilterLayerPCLFilter(t,i){t.filters=i}async handleWhenView(){if(null==this.view)return;const t=this.view.map;await t.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){if(null==this.view)return;const t=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},t.allLayers.concat(t.allTables).forEach((t=>{if(!Vt.includes(t.type))return;const i=t;"point-cloud"===i.type?this.initPointCloudFilters[i.id]=i.filters:"map-image"===i.type?this.initMapImageExpressions[i.id]=i.allSublayers.reduce(((t,i)=>(t[i.id]=i.definitionExpression,t)),{}):this.initDefExpressions[i.id]=i.definitionExpression})),this.initExpressions(),this.handleURLParams()}async handleZoomTo(t){const i=this.panelEl.querySelector((null==t?void 0:t.sublayerId)?`#zoom-to-${t.id}-${t.sublayerId}`:`#zoom-to-${t.id}`),e=(t,e)=>{i&&(i.loading=t,i.disabled=e)};e(!0,!0),await this.getZoomToExtent(t);const s="point"===this.zoomToExtent.type&&1===this.zoomToExtent.count?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(s),e(!1,!1)}async getZoomToExtent(t){var i;const e=this.view.allLayerViews.find((({layer:i})=>i.id===t.id)),s=e.layer,a="map-image"===s.type?s.findSublayerById(t.sublayerId):s;if("point-cloud"!==a.type&&Vt.includes(null==a?void 0:a.type)){const t=await this.getQueryLayer(a),e=t.createQuery();e.where=null!==(i=t.definitionExpression)&&void 0!==i?i:"1=1";const s=await t.queryExtent(e);this.zoomToExtent=Object.assign(Object.assign({},s),{type:t.geometryType})}}applyFilterToQuery(t,i){var e,s;const a=this.view.allLayerViews.find((({layer:t})=>t.id===i.id)),n=null!==(s=null===(e=null==a?void 0:a.featureEffect)||void 0===e?void 0:e.filter)&&void 0!==s?s:a.filter;n&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach((i=>{null!=n[i]&&(t[i]=n[i])}))}generateOutput(t){if(null==this.view)return;const i=[];let e=[];if(t){for(const s of t.expressions){const{active:t,definitionExpression:a,pointCloudFilters:n}=s;t&&a&&i.push(`(${a})`),t&&null!=n&&n.length>0&&(e=e.concat(n))}this.updateFilter(t,i,e),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(t){return t.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(t,i,e){if(null==t)return;let s;if(String(t).includes("e")){const[a,n]=String(t).split("e").map((t=>Number(t)));s=Math[e](+`${a}e${n+i}`)*Math.pow(10,-i)}else s=Math[e](t*Math.pow(10,i))/Math.pow(10,i);return+s.toFixed(i)}roundMinNumberDown(t,i){return this.scientificRounding(t,i,"floor")}roundMaxNumberUp(t,i){return this.scientificRounding(t,i,"ceil")}roundNumber(t,i){var e;return null!==(e=this.scientificRounding(t,i,"round"))&&void 0!==e?e:t}setExpressionFormat(t,i,e){if(null!=(null==t?void 0:t.popupTemplate)){const s=t.popupTemplate.fieldInfos.find((({fieldName:t})=>t===e));i.format=null==s?void 0:s.format}}getInitDefExprFromLayer(t){var i,e,s;return"sublayer"===t.type?null===(e=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.layer.id])||void 0===e?void 0:e[t.id]:null===(s=this.initDefExpressions)||void 0===s?void 0:s[t.id]}getInitDefExprFromLayerExpression(t){var i,e,s;return null!=(null==t?void 0:t.sublayerId)?null===(e=null===(i=this.initMapImageExpressions)||void 0===i?void 0:i[t.id])||void 0===e?void 0:e[t.sublayerId]:null===(s=this.initDefExpressions)||void 0===s?void 0:s[t.id]}findFilterLayer(t){const i=this.view.map.allLayers.concat(this.view.map.allTables).find((({id:i})=>i===t.id));return"map-image"===i.type?null==i?void 0:i.findSublayerById(t.sublayerId):i}createLabel(t,i){var e,s,a;if("coded-value"===t.type)return null===(e=t.codedValues)||void 0===e?void 0:e[i];if("number"===t.type&&"number"==typeof i){let e=i;return null!=(null===(s=t.format)||void 0===s?void 0:s.places)&&(e=this.roundNumber(i,t.format.places)),(null===(a=t.format)||void 0===a?void 0:a.digitSeparator)?this.numberWithCommas(e):e}if("date"===t.type&&!t.dateOnly){const t=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(i,t)}return i}buildDateExpression(t,i){if(t){const e=new Date(t),s=new Date(t),a=new Date(s.setDate(e.getDate()+1)),n=`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`,o=`${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`,l=`${a.getHours()}:${a.getMinutes()}:${a.getSeconds()}`;return`${i} BETWEEN '${n} ${o}' AND '${a.getFullYear()}-${a.getMonth()+1}-${a.getDate()} ${l}'`}}async getQueryLayer(t){return"sublayer"===t.type?await t.createFeatureLayer():t}applyCacheHint(t,i){var e,s;(null===(s=null===(e=null==t?void 0:t.capabilities)||void 0===e?void 0:e.query)||void 0===s?void 0:s.supportsCacheHint)&&(i.cacheHint=!0)}applyQueryGeometryFromExtentSelector(t){if(!this.extentSelector||!this.extentSelectorConfig)return;const i=this.getExtent(this.extentSelector,this.extentSelectorConfig);i&&(t.geometry=i,t.spatialRelationship="intersects")}get el(){return a(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};Qt.style=":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height:24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:64px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list__zoom-to{display:flex;justify-content:flex-end;margin:8px 0 20px}.instant-apps-filter-list__zoom-to calcite-action{width:-moz-min-content;width:min-content}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1:16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}";const Yt="instant-apps-social-share",Jt=".calcite-mode-dark",Xt={base:Yt,dialog:`${Yt}__dialog`,dialogEmbed:`${Yt}__dialog-embed`,dialogContent:`${Yt}__dialog-content`,options:`${Yt}__options`,tipContainer:`${Yt}__tip`,tipHeader:`${Yt}__tip-header`,tipContent:`${Yt}__tip-content`,icon:`${Yt}__icon`,iconContainer:`${Yt}__icon-container`,optionText:`${Yt}__option-text`,popoverButton:`${Yt}__popover-button`,layout:{vertical:`${Yt}__layout--vertical`,horizontal:`${Yt}__layout--horizontal`},xLogo:{light:`${Yt}__x-logo--light`,dark:`${Yt}__x-logo--dark`},success:{container:`${Yt}__success`,header:`${Yt}__success-header`,message:`${Yt}__success-message`,icon:`${Yt}__success-icon`},embed:{container:`${Yt}__embed`,header:`${Yt}__embed-header`,embedCode:{container:`${Yt}__embed-code`,textArea:`${Yt}__embed-code-text-area`,copyButton:`${Yt}__embed-code-copy-button`},textAreaText:`${Yt}__embed-text-area-text`,dimensions:{container:`${Yt}__embed-dimensions`,input:`${Yt}__embed-dimensions-input`}},rtl:{optionText:`${Yt}__option-text--rtl`,textArea:`${Yt}__text-area--rtl`}},ti={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?url={url}"},ii=class{constructor(i){t(this,i),this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale=void 0,this.iframeInnerText="",this.popoverButtonIconScale="m",this.view=void 0,this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.messages=void 0,this.opened=!1,this.copied=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600}componentDidLoad(){var t,i;ct(this),this.setupAutoCloseListeners(),"popover"===this.mode&&(this.opened&&(this.popoverRef.open=!0),this.popoverRef.addEventListener("calcitePopoverOpen",(()=>{this.shareListRef&&this.shareListRef.children[0].focus()})),this.popoverRef.addEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))),this.embed&&(null===(t=this.embedWidthRef)||void 0===t||t.addEventListener("change",this.updateDimensions.bind(this,"width")),null===(i=this.embedHeightRef)||void 0===i||i.addEventListener("change",this.updateDimensions.bind(this,"height")))}disconnectedCallback(){var t,i,e;document.documentElement.removeEventListener("click",this.autoCloseCallback.bind(this)),"popover"===this.mode?null!=this.popoverRef&&(this.popoverRef.removeEventListener("click",this.stopPropagationCallback.bind(this)),this.popoverRef.removeEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this)),this.popoverRef.removeEventListener("keydown",this.handlePopoverRefKeyDown.bind(this))):(null===(t=this.embedWidthRef)||void 0===t||t.removeEventListener("change",this.updateDimensions.bind(this)),null===(i=this.embedHeightRef)||void 0===i||i.removeEventListener("change",this.updateDimensions.bind(this)),null===(e=this.dialogContentRef)||void 0===e||e.removeEventListener("click",this.stopPropagationCallback.bind(this)))}setupAutoCloseListeners(){var t,i,e;document.documentElement.addEventListener("click",this.autoCloseCallback.bind(this)),"popover"===this.mode?(null===(t=this.popoverRef)||void 0===t||t.addEventListener("click",this.stopPropagationCallback.bind(this)),null===(i=this.popoverRef)||void 0===i||i.addEventListener("calcitePopoverClose",this.resetPopoverCopyState.bind(this))):null===(e=this.dialogContentRef)||void 0===e||e.addEventListener("click",this.stopPropagationCallback.bind(this))}handlePopoverRefKeyDown(t){var i,e;if("Tab"===t.code){if(!this.shareListRef)return;const e=t.target,s=this.shareListRef.children[0],a=this.shareListRef.children[(null===(i=this.shareListRef)||void 0===i?void 0:i.children.length)-1];t.shiftKey&&e===s?(t.preventDefault(),a.focus()):t.shiftKey||e!==a||(t.preventDefault(),s.focus())}else"Escape"===t.code&&(this.closePopover(),null===(e=this.popoverButtonRef)||void 0===e||e.setFocus())}autoCloseCallback(){"popover"===this.mode?(this.opened=!1,this.popoverRef.open=this.opened):(this.copyLinkPopoverRef&&(this.copyLinkPopoverRef.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef&&(this.copyEmbedPopoverRef.open=!1),this.inlineCopyEmbedOpened=!1)}stopPropagationCallback(t){t.stopPropagation()}resetPopoverCopyState(){var t;null===(t=this.popoverButtonRef)||void 0===t||t.setFocus(),setTimeout((()=>{this.copied=!1}),200)}updateDimensions(t){var i,e;if("width"===t){const t=null===(i=this.embedWidthRef)||void 0===i?void 0:i.value;this.embedWidth=parseInt(t)}else{const t=null===(e=this.embedHeightRef)||void 0===e?void 0:e.value;this.embedHeight=parseInt(t)}}render(){var t,i,a,n,o,l;const r=this.copied&&"popover"===this.mode?this.renderSuccess():e("div",{class:Xt.dialogContent},this.renderOptions(),this.displayTipText?this.renderTip():null,this.embed?this.renderEmbed():null),c="vertical"===this.shareIconsLayout?` ${Xt.layout.vertical}`:` ${Xt.layout.horizontal}`,h=" calcite-mode-"+(this.el.closest(Jt)?"dark":"light"),d=e("div",{key:"1d10b5a2fb75584357c9c0f4fbd75e4904ad20ef",ref:t=>this.dialogContentRef=t,class:`${Xt.dialog}${c}${h}`},r);return e(s,{key:"75f577c38604ff752062434134a04d6d85263c16"},"popover"===this.mode?[e("calcite-popover",{ref:t=>this.popoverRef=t,label:null===(i=null===(t=this.messages)||void 0===t?void 0:t.share)||void 0===i?void 0:i.label,referenceElement:"shareButton",placement:"bottom-start",scale:this.scale,"overlay-positioning":this.popoverPositioning,"offset-distance":this.removePopoverOffset?0:6,"pointer-disabled":this.removePopoverOffset},d),this.renderButton()]:[d,e("calcite-popover",{ref:t=>this.copyLinkPopoverRef=t,label:null===(n=null===(a=this.messages)||void 0===a?void 0:a.share)||void 0===n?void 0:n.label,referenceElement:"copyToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderSuccess()),e("calcite-popover",{ref:t=>this.copyEmbedPopoverRef=t,label:null===(l=null===(o=this.messages)||void 0===o?void 0:o.share)||void 0===l?void 0:l.label,referenceElement:"copyEmbedToClipboard",placement:this.inlineSuccessPopoverPlacement,scale:this.scale},this.renderEmbedSuccess())])}renderButton(){var t,i,s,a,n,o,l,r;const c=null!=this.shareButtonScale?this.shareButtonScale:this.scale;return"button"===this.shareButtonType?e("calcite-button",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:Xt.popoverButton,kind:this.shareButtonColor,appearance:"transparent",label:null===(i=null===(t=this.messages)||void 0===t?void 0:t.share)||void 0===i?void 0:i.label,title:null===(a=null===(s=this.messages)||void 0===s?void 0:s.share)||void 0===a?void 0:a.label,scale:c},e("div",{class:Xt.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale}))):e("calcite-action",{ref:t=>this.popoverButtonRef=t,onClick:this.togglePopover.bind(this),id:"shareButton",class:Xt.popoverButton,appearance:"transparent",label:null===(o=null===(n=this.messages)||void 0===n?void 0:n.share)||void 0===o?void 0:o.label,title:null===(r=null===(l=this.messages)||void 0===l?void 0:l.share)||void 0===r?void 0:r.label,scale:c,text:"",alignment:"center"},e("div",{class:Xt.iconContainer},e("calcite-icon",{icon:"share",scale:this.popoverButtonIconScale})))}renderSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return e("div",{class:Xt.success.container},e("span",{class:Xt.success.header},e("span",{class:Xt.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),e("span",{class:Xt.success.message},this.successMessage||(null==i?void 0:i.url)))}renderEmbedSuccess(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.success;return e("div",{class:Xt.success.container},e("span",{class:Xt.success.header},e("span",{class:Xt.success.icon},e("calcite-icon",{icon:"check-circle-f",scale:this.scale})),null==i?void 0:i.label),e("span",{class:Xt.success.message},null==i?void 0:i.embed))}renderOptions(){var t,i,s,a;const n=null===(t=this.messages)||void 0===t?void 0:t.options,o="rtl"===document.dir?` ${Xt.rtl.optionText}`:"";return e("ul",{ref:t=>this.shareListRef=t,class:Xt.options,role:"menu"},e("li",{id:"copyToClipboard",onClick:this.handleShareItem.bind(this,"link"),onKeyDown:this.handleOptionKeyDown("link"),role:"menuitem",tabindex:"0"},e("span",{class:Xt.icon},e("calcite-icon",{icon:"link",scale:this.scale})),e("span",{class:`${Xt.optionText}${o}`},null===(i=null==n?void 0:n.link)||void 0===i?void 0:i.label)),this.socialMedia?[e("li",{onClick:this.handleShareItem.bind(this,"facebook"),onKeyDown:this.handleOptionKeyDown("facebook"),role:"menuitem",tabindex:"0"},e("span",{class:Xt.icon},this.renderFacebookIcon()),e("span",{class:`${Xt.optionText}${o}`},null===(s=null==n?void 0:n.facebook)||void 0===s?void 0:s.label)),e("li",{onClick:this.handleShareItem.bind(this,"x"),onKeyDown:this.handleOptionKeyDown("x"),role:"menuitem",tabindex:"0"},e("span",{class:Xt.icon},this.renderXIcon()),e("span",{class:`${Xt.optionText}${o}`},"X")),e("li",{onClick:this.handleShareItem.bind(this,"linkedIn"),onKeyDown:this.handleOptionKeyDown("linkedIn"),role:"menuitem",tabindex:"0"},e("span",{class:Xt.icon},this.renderLinkedInIcon()),e("span",{class:`${Xt.optionText}${o}`},null===(a=null==n?void 0:n.linkedIn)||void 0===a?void 0:a.label))]:null)}handleOptionKeyDown(t){return i=>{const e=i.code;("Space"===e||"Enter"===e)&&this.handleShareItem(t)}}renderFacebookIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",null,e("path",{d:"M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z",style:{fill:"#1877f2",fillRule:"nonzero"}}),e("path",{d:"M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z",style:{fill:"#fff",fillRule:"nonzero"}})))}renderXIcon(){const t=!!this.el.closest(Jt);return e("svg",{class:t?Xt.xLogo.dark:Xt.xLogo.light,viewBox:"0 0 1200 1227",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("rect",{height:"400",style:{fill:"none"},width:"400",x:"56",y:"56"}),e("path",{d:"M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z",fill:t?"white":"black"}))}renderLinkedInIcon(){return e("svg",{height:"100%",style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"},version:"1.1",viewBox:"0 0 512 512",width:"100%",xmlns:"http://www.w3.org/2000/svg"},e("g",{id:"g5891"},e("path",{d:"M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z",id:"background",style:{fill:"#2867b2"}}),e("g",{id:"shapes"},e("rect",{height:"257.962",id:"rect11",style:{fill:"#fff"},width:"85.76",x:"61.053",y:"178.667"}),e("path",{d:"M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z",id:"path13-0",style:{fill:"#fff",fillRule:"nonzero"}}),e("path",{d:"M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z",id:"path15",style:{fill:"#fff",fillRule:"nonzero"}}))))}renderTip(){var t;const i=null===(t=this.messages)||void 0===t?void 0:t.info;return e("div",{class:Xt.tipContainer},e("span",{class:Xt.tipHeader},e("calcite-icon",{icon:"lightbulb",scale:this.scale}),e("span",null,null==i?void 0:i.label)),e("p",{class:Xt.tipContent},null==i?void 0:i.tooltip))}renderEmbed(){var t,i,s;const a=null===(t=this.messages)||void 0===t?void 0:t.embed,n="rtl"===document.dir?` ${Xt.rtl.textArea}`:"";return e("div",{class:Xt.embed.container},e("span",{class:Xt.embed.header},e("calcite-icon",{icon:"code",scale:this.scale}),e("span",null,null===(s=null===(i=this.messages)||void 0===i?void 0:i.embed)||void 0===s?void 0:s.label)),e("div",{class:Xt.embed.embedCode.container},e("div",{class:Xt.embed.embedCode.textArea},e("textarea",{ref:t=>this.embedCodeRef=t,cols:30,rows:5,readonly:!0,class:n,value:this.getEmbedCode()}),e("button",{id:"copyEmbedToClipboard",onClick:this.copyEmbedCode.bind(this),class:Xt.embed.embedCode.copyButton},e("calcite-icon",{icon:"copy",scale:this.scale}),e("span",null,null==a?void 0:a.copy))),e("span",{class:Xt.embed.textAreaText},e("slot",{name:"text-area-text"})),e("div",{class:Xt.embed.dimensions.container},e("label",{class:Xt.embed.dimensions.input},e("span",null,null==a?void 0:a.width),e("input",{ref:t=>this.embedWidthRef=t,type:"number",onKeyDown:t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),onChange:this.handleNumberInputOnChange("width"),value:this.embedWidth,min:"1"})),e("label",{class:Xt.embed.dimensions.input},e("span",null,null==a?void 0:a.height),e("input",{ref:t=>this.embedHeightRef=t,type:"number",onKeyDown:t=>["e","E","+","-"].includes(t.key)&&t.preventDefault(),onChange:this.handleNumberInputOnChange("height"),value:this.embedHeight,min:"1"})))))}handleNumberInputOnChange(t){const i="width"===t?this.embedWidthRef:this.embedHeightRef,e="width"===t?"embedWidth":"embedHeight";return()=>{i&&parseFloat(i.value)<=0&&(this[e]=parseInt("1"),i.value="1")}}togglePopover(t){t.stopPropagation(),this.opened=!this.opened,this.popoverRef.open=this.opened}closePopover(){this.opened=!1,this.popoverRef.open=this.opened}async handleShareItem(t){var i,e,s,a;this.shareUrl=await this.generateShareUrl();let n=null;const o=null!==(e=null===(i=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===i?void 0:i.includes("Chrome"))&&void 0!==e&&e,l=null!==(a=null===(s=null===navigator||void 0===navigator?void 0:navigator.userAgent)||void 0===s?void 0:s.includes("Safari"))&&void 0!==a&&a&&!o;!l&&this.shortenShareUrl&&(n=await this.shortenUrl(this.shareUrl));let r=n||this.shareUrl;switch(t){case"link":return navigator.clipboard.writeText(r),this.embed&&(this.copyEmbedPopoverRef.open=!1,this.inlineCopyEmbedOpened=!1),"inline"===this.mode&&(this.copyLinkPopoverRef.open=!0,setTimeout((()=>this.copyLinkPopoverRef.open=!1),3e3)),this.inlineCopyLinkOpened=!0,this.copied=!0,void("popover"===this.mode&&setTimeout((()=>this.closePopover()),2e3));case"facebook":case"x":case"linkedIn":let i;l&&(i=window.open("","_blank"),this.shortenShareUrl&&(r=await this.shortenUrl(this.shareUrl)||r));const e={url:encodeURI(r)},s="x"===t?Object.assign(Object.assign({},e),{text:this.shareText}):e,[a]=await rt(["esri/intl"]),n=a.substitute(ti[t],s);return"popover"===this.mode&&this.closePopover(),void(l&&i?(i.location=n,i.focus()):window.open(encodeURI(n),"_blank"))}}async shortenUrl(t){var i,e;const[s]=await rt(["esri/request"]),a=await s("https://arcg.is/prod/shorten",{query:{longUrl:t,f:"json"}}),n=null===(e=null===(i=null==a?void 0:a.data)||void 0===i?void 0:i.data)||void 0===e?void 0:e.url;if(n)return n.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}copyEmbedCode(){navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.open=!1,this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.open=!0,setTimeout((()=>this.copyEmbedPopoverRef.open=!1),3e3),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){var t;if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view||!(null===(t=this.view)||void 0===t?void 0:t.ready))return this.shareUrl;const{x:i,y:e}=this.view.center,{spatialReference:s}=this.view,[a,n]=await rt(["esri/geometry/Point","esri/geometry/SpatialReference"]),o=new a({x:i,y:e,spatialReference:new n(Object.assign({},s.toJSON()))}),l=await this.processPoint(o),{isWGS84:r,isWebMercator:c}=l.spatialReference;return this.generateShareUrlParams(l,r||c)}async processPoint(t){const{isWGS84:i,isWebMercator:e}=t.spatialReference;if(i||e)return t;const[s,a]=await rt(["esri/geometry/SpatialReference","esri/geometry/projection"]),n=new s({wkid:4326});try{await a.load();const i=a.project(t,n);return Promise.resolve(i)}catch(t){return console.error("Failed to project point",t),Promise.reject(null)}}generateShareUrlParams(t,i){var e,s,a,n,o;const{longitude:l,latitude:r,x:c,y:h}=t;if(void 0===l||void 0===r)return this.shareUrl;const d=this.roundValue(i?l:c),p=this.roundValue(i?r:h),{zoom:u}=this.view,v=this.roundValue(u),m=null===(s=null===(e=this.view)||void 0===e?void 0:e.popup)||void 0===s?void 0:s.selectedFeature,f=null===(n=null===(a=this.view)||void 0===a?void 0:a.popup)||void 0===n?void 0:n.visible;let g,b,x;if(m&&f&&"feature"===(null===(o=null==m?void 0:m.layer)||void 0===o?void 0:o.type)){const t=null==m?void 0:m.layer;g=null==t?void 0:t.id,b=m.attributes[t.objectIdField]}x=this.view.map.allLayers.filter((t=>!t.visible)).toArray().map((t=>t.id)).toString().replaceAll(",",";");const{type:y}=this.view,{defaultUrlParams:w}=this,_=new URL(this.shareUrl),{searchParams:k}=_;if(k.get("center")&&k.delete("center"),k.get("level")&&k.delete("level"),k.get("selectedFeature")&&k.delete("selectedFeature"),k.get("hiddenLayers")&&k.delete("hiddenLayers"),k.get("viewpoint")&&k.delete("viewpoint"),"3d"===y){const{camera:t}=this.view,{heading:i,position:e,tilt:s}=t,{longitude:a,latitude:n,z:o}=e,l={longitude:this.roundValue(a,8),latitude:this.roundValue(n,8),z:this.roundValue(o,3),heading:this.roundValue(i,3),tilt:this.roundValue(s,3)};return!1!==(null==w?void 0:w.viewpoint)&&_.searchParams.set("viewpoint",`cam:${l.longitude},${l.latitude},${l.z};${l.heading},${l.tilt}`),g&&b&&!1!==(null==w?void 0:w.selectedFeature)&&_.searchParams.set("selectedFeature",`${g};${b}`),x&&!1!==(null==w?void 0:w.hiddenLayers)&&_.searchParams.set("hiddenLayers",x),_.search=decodeURIComponent(_.search),_.href}return!1!==(null==w?void 0:w.center)&&_.searchParams.set("center",`${d};${p}`),!1!==(null==w?void 0:w.level)&&_.searchParams.set("level",`${v}`),g&&b&&!1!==(null==w?void 0:w.selectedFeature)&&_.searchParams.set("selectedFeature",`${g};${b}`),x&&!1!==(null==w?void 0:w.hiddenLayers)&&_.searchParams.set("hiddenLayers",x),_.search=decodeURIComponent(_.search),_.href}roundValue(t,i=4){return parseFloat(t.toFixed(i))}get el(){return a(this)}};ii.style=":host{display:block;--instant-apps-social-share-action-width:initial;--instant-apps-social-share-width--s:200px;--instant-apps-social-share-width--m:280px;--instant-apps-social-share-width--l:320px;--instant-apps-social-share-width-horizontal--s:300px;--instant-apps-social-share-width-horizontal--m:380px;--instant-apps-social-share-width-horizontal--l:420px;--instant-apps-social-share-background-color:var(--calcite-color-foreground-1);--instant-apps-social-share-popover-button-background-color:transparent;--instant-apps-social-share-popover-button-icon-color:var(--calcite-ui-icon-color);--instant-apps-social-share-embed-border:1px solid $border;--instant-apps-social-share-embed-text-area-text:#468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#ffffff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1% 5%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px 0}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:bold;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color 0.15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}";export{Dt as calcite_block,Pt as calcite_date_picker,Wt as calcite_input_date_picker,Qt as instant_apps_filter_list,ii as instant_apps_social_share}
|
@@ -0,0 +1,17 @@
|
|
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{g as n}from"./p-c6296ee6.js";import{C as t}from"./p-3edf491f.js";
|
7
|
+
/*!
|
8
|
+
* tabbable 6.2.0
|
9
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
10
|
+
*/
|
11
|
+
var r=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],e=r.join(","),o="undefined"==typeof Element,i=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!o&&Element.prototype.getRootNode?function(n){var t;return null==n||null===(t=n.getRootNode)||void 0===t?void 0:t.call(n)}:function(n){return null==n?void 0:n.ownerDocument},a=function n(t,r){var e;void 0===r&&(r=!0);var o=null==t||null===(e=t.getAttribute)||void 0===e?void 0:e.call(t,"inert");return""===o||"true"===o||r&&t&&n(t.parentNode)},f=function(n,t,r){if(a(n))return[];var o=Array.prototype.slice.apply(n.querySelectorAll(e));return t&&i.call(n,e)&&o.unshift(n),o.filter(r)},c=function n(t,r,o){for(var u=[],f=Array.from(t);f.length;){var c=f.shift();if(!a(c,!1))if("SLOT"===c.tagName){var s=c.assignedElements(),l=n(s.length?s:c.children,!0,o);o.flatten?u.push.apply(u,l):u.push({scopeParent:c,candidates:l})}else{i.call(c,e)&&o.filter(c)&&(r||!t.includes(c))&&u.push(c);var d=c.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(c),v=!a(d,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(c));if(d&&v){var p=n(!0===d?c.children:d.children,!0,o);o.flatten?u.push.apply(u,p):u.push({scopeParent:c,candidates:p})}else f.unshift.apply(f,c.children)}}return u},s=function(n){return!isNaN(parseInt(n.getAttribute("tabindex"),10))},l=function(n){if(!n)throw new Error("No node provided");return n.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||function(n){var t,r=null==n||null===(t=n.getAttribute)||void 0===t?void 0:t.call(n,"contenteditable");return""===r||"true"===r}(n))&&!s(n)?0:n.tabIndex},d=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},v=function(n){return"INPUT"===n.tagName},p=function(n){var t=n.getBoundingClientRect();return 0===t.width&&0===t.height},y=function(n,t){return!(t.disabled||a(t)||function(n){return v(n)&&"hidden"===n.type}(t)||function(n,t){var r=t.displayCheck,e=t.getShadowRoot;if("hidden"===getComputedStyle(n).visibility)return!0;var o=i.call(n,"details>summary:first-of-type");if(i.call(o?n.parentElement:n,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return p(n)}else{if("function"==typeof e){for(var a=n;n;){var f=n.parentElement,c=u(n);if(f&&!f.shadowRoot&&!0===e(f))return p(n);n=n.assignedSlot?n.assignedSlot:f||c===n.ownerDocument?f:c.host}n=a}if(function(n){var t,r,e,o,i=n&&u(n),a=null===(t=i)||void 0===t?void 0:t.host,f=!1;if(i&&i!==n)for(f=!!(null!==(r=a)&&void 0!==r&&null!==(e=r.ownerDocument)&&void 0!==e&&e.contains(a)||null!=n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(n));!f&&a;){var c,s,l;f=!(null===(s=a=null===(c=i=u(a))||void 0===c?void 0:c.host)||void 0===s||null===(l=s.ownerDocument)||void 0===l||!l.contains(a))}return f}(n))return!n.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,n)||function(n){return"DETAILS"===n.tagName&&Array.prototype.slice.apply(n.children).some((function(n){return"SUMMARY"===n.tagName}))}(t)||function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var e=t.children.item(r);if("LEGEND"===e.tagName)return!!i.call(t,"fieldset[disabled] *")||!e.contains(n)}return!0}t=t.parentElement}return!1}(t))},m=function(n,t){return!(function(n){return function(n){return v(n)&&"radio"===n.type}(n)&&!function(n){if(!n.name)return!0;var t,r=n.form||u(n),e=function(n){return r.querySelectorAll('input[type="radio"][name="'+n+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=e(window.CSS.escape(n.name));else try{t=e(n.name)}catch(n){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",n.message),!1}var o=function(n,t){for(var r=0;r<n.length;r++)if(n[r].checked&&n[r].form===t)return n[r]}(t,n.form);return!o||o===n}(n)}(t)||l(t)<0||!y(n,t))},w=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},A=function n(t){var r=[],e=[];return t.forEach((function(t,o){var i=!!t.scopeParent,u=i?t.scopeParent:t,a=function(n,t){var r=l(n);return r<0&&t&&!s(n)?0:r}(u,i),f=i?n(t.candidates):u;0===a?i?r.push.apply(r,f):r.push(u):e.push({documentOrder:o,tabIndex:a,item:t,isScope:i,content:f})})),e.sort(d).reduce((function(n,t){return t.isScope?n.push.apply(n,t.content):n.push(t.content),n}),[]).concat(r)},E=function(n,t){var r;return r=(t=t||{}).getShadowRoot?c([n],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:w}):f(n,t.includeContainer,m.bind(null,t)),A(r)},h=function(n,t){return(t=t||{}).getShadowRoot?c([n],t.includeContainer,{filter:y.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):f(n,t.includeContainer,y.bind(null,t))},S=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==i.call(n,e)&&m(t,n)},g=r.concat("iframe").join(","),N=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return!1!==i.call(n,g)&&y(t,n)};
|
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 b={getShadowRoot:!0};function I(t){return t?t.id=t.id||`${t.tagName.toLowerCase()}-${n()}`:""}function T(n){return Array.isArray(n)?n:Array.from(n)}function x(n){const r=O(n,`.${t.darkMode}, .${t.lightMode}`);return r?.classList.contains("calcite-mode-dark")?"dark":"light"}function $(n){const t=O(n,"[dir]");return t?t.getAttribute("dir"):"ltr"}function C(n){return n?parseFloat(getComputedStyle(n).inlineSize):0}function D(n){return n.getRootNode()}function F(n){const t=D(n);return"host"in t?t:null}function L(n,t){if(!n)return 0;const r=document.createElement("canvas").getContext("2d");return r.font=t,r.measureText(n).width}function R(n){return n.host||null}function k(n,{selector:t,id:r}){return function n(e){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);const o=D(e),i=r?"getElementById"in o?o.getElementById(r):null:t?o.querySelector(t):null,u=R(o);return i||(u?n(u):null)}(n)}function O(n,t){return function n(r){return r?r.closest(t)||n(R(D(r))):null}(n)}function P(n,t){return U(n,t)}function U(n,t){if(!n)return;const r=t(n);if(void 0!==r)return r;const{parentNode:e}=n;return U(e instanceof ShadowRoot?e.host:e,t)}function B(n,t){return!!P(t,(t=>t===n||void 0))}async function j(n){if(n)return function(n){return"function"==typeof n?.setFocus}(n)?n.setFocus():n.focus()}function q(n){if(n)return E(n,b)[0]??n}function z(n){q(n)?.focus()}const G=":not([slot])";function M(n,t,r){t&&!Array.isArray(t)&&"string"!=typeof t&&(r=t,t=null);const e=t?Array.isArray(t)?t.map((n=>`[slot="${n}"]`)).join(","):`[slot="${t}"]`:G;return r?.all?function(n,t,r){let e=t===G?H(n,G):Array.from(n.querySelectorAll(t));e=r&&!1===r.direct?e:e.filter((t=>t.parentElement===n)),e=r?.matches?e.filter((n=>n?.matches(r.matches))):e;const o=r?.selector;return o?e.map((n=>Array.from(n.querySelectorAll(o)))).reduce(((n,t)=>[...n,...t]),[]).filter((n=>!!n)):e}(n,e,r):function(n,t,r){let e=t===G?H(n,G)[0]||null:n.querySelector(t);e=r&&!1===r.direct||e?.parentElement===n?e:null,e=r?.matches?e?.matches(r.matches)?e:null:e;const o=r?.selector;return o?e?.querySelector(o):e}(n,e,r)}function H(n,t){return n?Array.from(n.children||[]).filter((n=>n?.matches(t))):[]}function V(n,t){return Array.from(n.children).filter((n=>n.matches(t)))}function X(n,t,r){return"string"==typeof t&&""!==t?t:""===t?n[r]:void 0}function Y(n,t){return!(t.left>n.right||t.right<n.left||t.top>n.bottom||t.bottom<n.top)}function J(n){return Boolean(n).toString()}function K(n){return Q(n)||function(n){return!!function(n){return function(n){return n.currentTarget.assignedNodes({flatten:!0})}(n).filter((n=>n.nodeType===Node.TEXT_NODE)).map((n=>n.textContent)).join("").trim()}(n)}(n)}function Q(n){return!!W(n).length}function W(n,t){return Z(n.target,t)}function Z(n,t){const r=n.assignedElements({flatten:!0});return t?function(n,t){return n.filter((n=>n.matches(t)))}(r,t):r}function _(n){return!(!n.isPrimary||0!==n.button)}function nn(n){return 0===n.detail}const tn=(n,t,r,e=!0)=>{const o=n.indexOf(t);let i;return e&&(r="previous"===r&&0===o?"last":"next"===r&&o===n.length-1?"first":r),i="previous"===r?n[o-1]||n[e?n.length-1:o]:"next"===r?n[o+1]||n[e?0:o]:"last"===r?n[n.length-1]:n[0],j(i),i};function rn(n,t){if(n.parentNode!==t.parentNode)return!1;const r=Array.from(n.parentNode.children);return r.indexOf(n)<r.indexOf(t)}async function en(n,t,r,e){return un(n,t,"animation",r,e)}async function on(n,t,r,e){return un(n,t,"transition",r,e)}async function un(n,t,r,e,o){const i=window.getComputedStyle(n),u="transition"===r?i.transitionProperty:i.animationName,a=("transition"===r?i.transitionDuration:i.animationDuration).split(","),f=a[u.split(",").map((n=>n.trim())).indexOf(t)]??a[0];function c(){requestAnimationFrame((()=>{e?.(),requestAnimationFrame((()=>o?.()))}))}if("0s"===f)return void c();const s="transition"===r?"transitionstart":"animationstart",l="transition"===r?"transitionend":"animationend",d="transition"===r?"transitioncancel":"animationcancel";return new Promise((r=>{const i=window.setTimeout((()=>{n.removeEventListener(s,u),n.removeEventListener(l,a),n.removeEventListener(d,a),c(),r()}),1e3*parseFloat(f));function u(r){r.target===n&&an(r)===t&&(window.clearTimeout(i),n.removeEventListener(s,u),e?.())}function a(e){e.target===n&&an(e)===t&&(n.removeEventListener(l,a),n.removeEventListener(d,a),o?.(),r())}n.addEventListener(s,u),n.addEventListener(l,a),n.addEventListener(d,a)}))}function an(n){return function(n){return"propertyName"in n}(n)?n.propertyName:n.animationName}export{K as A,V as B,Z as C,C as D,L as E,q as F,F as G,nn as H,$ as a,B as b,O as c,tn as d,j as e,z as f,M as g,W as h,_ as i,N as j,E as k,h as l,S as m,l as n,b as o,on as p,rn as q,k as r,Q as s,J as t,Y as u,I as v,en as w,x,T as y,X as z}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,h as i,H as s,g as l}from"./p-6eb37ed2.js";import{g as o}from"./p-3d0e9be4.js";import"./p-4cd4cb85.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const a=class{constructor(i){t(this,i),this.messages=void 0,this.view=void 0}render(){var t,l,o,a,e,n,d;const h="2d"!==(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.type)&&(null==this?void 0:this.view)?this._getSceneViewCommands():this._getMapViewCommands(),r=this._isMacLike()?"Option":"Alt";return i(s,{key:"f8e209f996c4743ad1bfc91deef5952c8ac34f90"},i("calcite-block",{key:"b0a69ae1ba6c989c344daa2d2fa51e6943ff6e49",open:!0,class:"instant-apps-keyboard-shortcuts__content",heading:null===(o=null===(l=null==this?void 0:this.messages)||void 0===l?void 0:l.generalShortcuts)||void 0===o?void 0:o.label},i("table",{key:"5820bb1e99ba3ffc926dea0c60ae6cba9fb71461"},this.renderTableHeader(),i("tr",{key:"b3664317e370d732f405325f6094f5ed2baad197"},i("td",{key:"3e3367b5fe5e8e5f3deddbb850acdf8c6eae9841"},`${r} + M`),i("td",{key:"a426d5c5514d99dec89e8d8298b00cfb7addfb06"},null===(e=null===(a=null==this?void 0:this.messages)||void 0===a?void 0:a.generalShortcuts)||void 0===e?void 0:e.title))),i("calcite-label",{key:"b33865ff795dac7277db16c128abc4b8667b2faf"},null===(d=null===(n=null==this?void 0:this.messages)||void 0===n?void 0:n.generalShortcuts)||void 0===d?void 0:d.title),i("table",{key:"72cbeee022de4c2c895eb78a94cf708d3f2f653c"},this.renderTableHeader(),h.map((t=>i("tr",null,i("td",null,t.alias),i("td",null,t.title)))))))}componentDidLoad(){o(this)}renderTableHeader(){var t,s;return(null==this?void 0:this.messages)?i("tr",null,i("th",null,null===(t=null==this?void 0:this.messages)||void 0===t?void 0:t.generalShortcuts.shortcut),i("th",null,null===(s=null==this?void 0:this.messages)||void 0===s?void 0:s.generalShortcuts.action)):null}_getMapViewCommands(){return(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge},{alias:"N",title:null==this?void 0:this.messages.mapShortcuts.N},{alias:"A",title:null==this?void 0:this.messages.mapShortcuts.A},{alias:"D",title:null==this?void 0:this.messages.mapShortcuts.D},{alias:"+",title:null==this?void 0:this.messages.mapShortcuts.plus},{alias:"-",title:null==this?void 0:this.messages.mapShortcuts.minus}]:[]}_getSceneViewCommands(){var t;const i="global"===(null===(t=null==this?void 0:this.view)||void 0===t?void 0:t.viewingMode),s=(null==this?void 0:this.messages)?[{alias:null==this?void 0:this.messages.mapShortcuts.arrowKeys,title:null==this?void 0:this.messages.mapShortcuts.nudge,show:!!i},{alias:"P",title:null==this?void 0:this.messages.sceneShortcuts.P,show:!0},{alias:"N",title:null==this?void 0:this.messages.sceneShortcuts.N,show:!0},{alias:"W",title:null==this?void 0:this.messages.sceneShortcuts.W,show:!0},{alias:"A",title:null==this?void 0:this.messages.sceneShortcuts.A,show:!0},{alias:"D",title:null==this?void 0:this.messages.sceneShortcuts.D,show:!0},{alias:"S",title:null==this?void 0:this.messages.sceneShortcuts.S,show:!0},{alias:"J",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.J,show:!!i},{alias:"U",title:null==this?void 0:this.messages.sceneShortcuts.globalCommands.U,show:!!i}]:[];return(null==this?void 0:this.messages)?null==s?void 0:s.filter((t=>t.show)):[]}_isMacLike(){return/(Mac)/i.test(navigator.platform)}get el(){return l(this)}};a.style=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}";export{a as instant_apps_keyboard_shortcuts}
|