@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
@@ -1,24 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,c as t,h as i,F as s,g as a,f as n,H as o}from"./p-6eb37ed2.js";import{g as c}from"./p-e98c4f93.js";import{t as r,e as l,H as h,f as d,r as f,A as p}from"./p-68ec5c15.js";import{g as m}from"./p-ff8343ec.js";import{i as u}from"./p-fe6f7734.js";import{s as b,a as v,c as g}from"./p-18f18ab3.js";import{a as x,C as y,I as w,S as k}from"./p-c5e13ebc.js";import{f as E,c as z,b as C,a as H,r as P,F as j}from"./p-a5609b81.js";import{d as D,a as I,c as A,u as L}from"./p-ead8696c.js";import{o as M}from"./p-580a4537.js";import{H as O}from"./p-14fbc662.js";import{c as S,d as B}from"./p-939bc1b4.js";import{u as F,c as R,s as $,d as T}from"./p-1a9a47a0.js";import{c as _}from"./p-c638d28e.js";import{F as U}from"./p-1892c357.js";import{g as W}from"./p-d559f79c.js";import"./p-b39c5275.js";import"./p-acaae81d.js";import"./p-c8d3207e.js";import"./p-aeb86188.js";const q=["ArrowUp","ArrowDown","End","Home"],K=class{constructor(i){e(this,i),this.calciteActionMenuOpen=t(this,"calciteActionMenuOpen",6),this.actionElements=[],this.guid=`calcite-action-menu-${m()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:e,menuId:t,open:i,label:s}=this,a=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==a&&(this.disconnectMenuButtonEl(),this.menuButtonEl=a,this.setTooltipReferenceElement(),a&&(a.active=i,a.setAttribute("aria-controls",t),a.setAttribute("aria-expanded",r(i)),a.setAttribute("aria-haspopup","true"),a.id||(a.id=e),a.label||(a.label=s),a.text||(a.text=s),a.addEventListener("click",this.menuButtonClick),a.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:e}=this;e&&(e.removeEventListener("click",this.menuButtonClick),e.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=e=>{const t=e.target.assignedElements({flatten:!0}).filter((e=>e?.matches("calcite-action")));this.slottedMenuButtonEl=t[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=e=>{this.defaultMenuButtonEl=e,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=()=>{this.toggleOpen()},this.updateTooltip=e=>{const t=e.target.assignedElements({flatten:!0}).filter((e=>e?.matches("calcite-tooltip")));this.tooltipEl=t[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:e,expanded:t,menuButtonEl:i,open:s}=this;e&&(e.referenceElement=t||s?null:i)},this.updateAction=(e,t)=>{const{guid:i,activeMenuItemIndex:s}=this,a=`${i}-action-${t}`;e.tabIndex=-1,e.setAttribute("role","menuitem"),e.id||(e.id=a),e.toggleAttribute(x,t===s)},this.updateActions=e=>{e?.forEach(this.updateAction)},this.handleDefaultSlotChange=e=>{const t=e.target.assignedElements({flatten:!0}).reduce(((e,t)=>t?.matches("calcite-action")?(e.push(t),e):t?.matches("calcite-action-group")?e.concat(Array.from(t.querySelectorAll("calcite-action"))):e),[]);this.actionElements=t.filter((e=>!e.disabled&&!e.hidden))},this.menuButtonKeyDown=e=>{const{key:t}=e,{actionElements:i,activeMenuItemIndex:s,open:a}=this;if(i.length){if(u(t)){if(e.preventDefault(),!a)return void this.toggleOpen();const t=i[s];t?t.click():this.toggleOpen(!1)}if("Tab"!==t)return"Escape"===t?(this.toggleOpen(!1),void e.preventDefault()):void this.handleActionNavigation(e,t,i);this.open=!1}},this.handleActionNavigation=(e,t,i)=>{if(!this.isValidKey(t,q))return;if(e.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==t&&"ArrowDown"!==t||(this.activeMenuItemIndex=0),void("End"!==t&&"ArrowUp"!==t||(this.activeMenuItemIndex=i.length-1));"Home"===t&&(this.activeMenuItemIndex=0),"End"===t&&(this.activeMenuItemIndex=i.length-1);const s=this.activeMenuItemIndex;"ArrowUp"===t&&(this.activeMenuItemIndex=c(Math.max(s-1,-1),i.length)),"ArrowDown"===t&&(this.activeMenuItemIndex=c(s+1,i.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(e=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=e},this.handlePopoverOpen=()=>{this.open=!0},this.handlePopoverClose=()=>{this.open=!1},this.appearance="solid",this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}connectedCallback(){this.connectMenuButtonEl()}componentWillLoad(){b(this)}componentDidLoad(){v(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(e){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=e),this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){return await g(this),l(this.menuButtonEl)}renderMenuButton(){const{appearance:e,label:t,scale:s,expanded:a}=this;return i("slot",{name:k.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{appearance:e,class:y.defaultTrigger,icon:w.menu,ref:this.setDefaultMenuButtonEl,scale:s,text:t,textEnabled:a}))}renderMenuItems(){const{actionElements:e,activeMenuItemIndex:t,open:s,menuId:a,menuButtonEl:n,label:o,placement:c,overlayPositioning:r,flipPlacements:l}=this,h=e[t];return i("calcite-popover",{autoClose:!0,flipPlacements:l,focusTrapDisabled:!0,label:o,offsetDistance:0,onCalcitePopoverClose:this.handlePopoverClose,onCalcitePopoverOpen:this.handlePopoverOpen,open:s,overlayPositioning:r,placement:c,pointerDisabled:!0,referenceElement:n},i("div",{"aria-activedescendant":h?.id||null,"aria-labelledby":n?.id,class:y.menu,id:a,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return i(s,{key:"9feaace5a0750686cc4ad4e7ac83859cc26a7a20"},this.renderMenuButton(),this.renderMenuItems(),i("slot",{key:"ba73adb74c8c729467f300fd4ff33c7af23f2ad7",name:k.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(e,t){return!!t.find((t=>t===e))}get el(){return a(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};K.style=":host{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-1)}::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{display:flex;max-block-size:45vh;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;outline:2px solid transparent;outline-offset:2px;gap:var(--calcite-action-menu-items-space, 0)}:host([hidden]){display:none}[hidden]{display:none}";
|
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.0
|
11
|
-
*/
|
12
|
-
const V="container",G="close-button-container",J="has-header",N="header",Q="aria-controls",X="aria-expanded",Y=new
|
13
|
-
/*!
|
14
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
15
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
16
|
-
* v2.12.0
|
17
|
-
*/
|
18
|
-
class{constructor(){this.registeredElements=new Map,this.registeredElementCount=0,this.queryPopover=e=>{const{registeredElements:t}=this,i=e.find((e=>t.has(e)));return t.get(i)},this.togglePopovers=e=>{const t=e.composedPath(),i=this.queryPopover(t);i&&!i.triggerDisabled&&(i.open=!i.open),Array.from(this.registeredElements.values()).filter((e=>e!==i&&e.autoClose&&e.open&&!t.includes(e))).forEach((e=>e.open=!1))},this.keyDownHandler=e=>{e.defaultPrevented||("Escape"===e.key?this.closeAllPopovers():u(e.key)&&this.togglePopovers(e))},this.clickHandler=e=>{h(e)||this.togglePopovers(e)}}registerElement(e,t){this.registeredElementCount++,this.registeredElements.set(e,t),1===this.registeredElementCount&&this.addListeners()}unregisterElement(e){this.registeredElements.delete(e)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}closeAllPopovers(){Array.from(this.registeredElements.values()).forEach((e=>e.open=!1))}addListeners(){window.addEventListener("click",this.clickHandler),window.addEventListener("keydown",this.keyDownHandler)}removeListeners(){window.removeEventListener("click",this.clickHandler),window.removeEventListener("keydown",this.keyDownHandler)}},Z=class{constructor(i){e(this,i),this.calcitePopoverBeforeClose=t(this,"calcitePopoverBeforeClose",6),this.calcitePopoverClose=t(this,"calcitePopoverClose",6),this.calcitePopoverBeforeOpen=t(this,"calcitePopoverBeforeOpen",6),this.calcitePopoverOpen=t(this,"calcitePopoverOpen",6),this.mutationObserver=_("mutation",(()=>this.updateFocusTrapElements())),this.guid=`calcite-popover-${m()}`,this.openTransitionProp="opacity",this.hasLoaded=!1,this.setTransitionEl=e=>{this.transitionEl=e},this.setFilteredPlacements=()=>{const{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?E(t,e):null},this.setUpReferenceElement=(e=!0)=>{this.removeReferences(),this.effectiveReferenceElement=this.getReferenceElement(),z(this,this.effectiveReferenceElement,this.el);const{el:t,referenceElement:i,effectiveReferenceElement:s}=this;e&&i&&!s&&console.warn(`${t.tagName}: reference-element id "${i}" was not found.`,{el:t}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.setExpandedAttr=()=>{const{effectiveReferenceElement:e,open:t}=this;e&&"setAttribute"in e&&e.setAttribute(X,r(t))},this.addReferences=()=>{const{effectiveReferenceElement:e}=this;if(!e)return;const t=this.getId();"setAttribute"in e&&e.setAttribute(Q,t),Y.registerElement(e,this.el),this.setExpandedAttr()},this.removeReferences=()=>{const{effectiveReferenceElement:e}=this;e&&("removeAttribute"in e&&(e.removeAttribute(Q),e.removeAttribute(X)),Y.unregisterElement(e))},this.hide=()=>{this.open=!1},this.storeArrowEl=e=>{this.arrowEl=e,this.reposition(!0)},this.autoClose=!1,this.closable=!1,this.flipDisabled=!1,this.focusTrapDisabled=!1,this.pointerDisabled=!1,this.flipPlacements=void 0,this.heading=void 0,this.headingLevel=void 0,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.offsetDistance=C,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.scale="m",this.triggerDisabled=!1,this.effectiveLocale="",this.floatingLayout="vertical",this.effectiveReferenceElement=void 0,this.defaultMessages=void 0}handleFocusTrapDisabled(e){this.open&&(e?D(this):I(this))}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(){M(this),this.reposition(!0),this.setExpandedAttr()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement(),this.reposition(!0)}effectiveLocaleChange(){F(this,this.effectiveLocale)}connectedCallback(){this.setFilteredPlacements(),S(this),R(this),A(this),requestAnimationFrame((()=>this.setUpReferenceElement(this.hasLoaded)))}async componentWillLoad(){await $(this),b(this)}componentDidLoad(){v(this),this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.open&&M(this),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),B(this),T(this),H(this,this.effectiveReferenceElement,this.el),D(this)}async reposition(e=!1){const{el:t,effectiveReferenceElement:i,placement:s,overlayPositioning:a,flipDisabled:n,filteredFlipPlacements:o,offsetDistance:c,offsetSkidding:r,arrowEl:l}=this;return P(this,{floatingEl:t,referenceEl:i,overlayPositioning:a,placement:s,flipDisabled:n,flipPlacements:o,offsetDistance:c,offsetSkidding:r,arrowEl:l,type:"popover"},e)}async setFocus(){await g(this),n(this.el),d(this.el)}async updateFocusTrapElements(){L(this)}getReferenceElement(){const{referenceElement:e,el:t}=this;return("string"==typeof e?f(t,{id:e}):e)||null}onBeforeOpen(){this.calcitePopoverBeforeOpen.emit()}onOpen(){this.calcitePopoverOpen.emit(),I(this)}onBeforeClose(){this.calcitePopoverBeforeClose.emit()}onClose(){this.calcitePopoverClose.emit(),D(this)}renderCloseButton(){const{messages:e,closable:t}=this;return t?i("div",{class:G,key:G},i("calcite-action",{appearance:"transparent",class:"close-button",onClick:this.hide,ref:e=>this.closeButtonEl=e,scale:this.scale,text:e.close},i("calcite-icon",{icon:"x",scale:W(this.scale)}))):null}renderHeader(){const{heading:e,headingLevel:t}=this,s=e?i(O,{class:"heading",level:t},e):null;return s?i("div",{class:N,key:N},s,this.renderCloseButton()):null}render(){const{effectiveReferenceElement:e,heading:t,label:s,open:a,pointerDisabled:n,floatingLayout:c}=this,l=e&&a,h=!l,d=n?null:i(U,{floatingLayout:c,key:"floating-arrow",ref:this.storeArrowEl});return i(o,{key:"6308b6043eae5d988238c1f4ab3427b903aba9b2","aria-hidden":r(h),"aria-label":s,"aria-live":"polite","calcite-hydrated-hidden":h,id:this.getId(),role:"dialog"},i("div",{key:"241c19ccc94188c7819080dad91534e0f329d470",class:{[j.animation]:!0,[j.animationActive]:l},ref:this.setTransitionEl},d,i("div",{key:"0ca3856260eea02f75aceaa490519b596b8f1c29",class:{[J]:!!t,[V]:!0}},this.renderHeader(),i("div",{key:"cc3e385ce8ffda4d8dc8fa12866b80c28f621594",class:"content"},i("slot",{key:"b99e560f5ad3a74ae4f3421e1f3d6035de67fad0"})),t?null:this.renderCloseButton())))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"],effectiveLocale:["effectiveLocaleChange"]}}};Z.style=":host{--calcite-floating-ui-z-index:var(--calcite-popover-z-index, var(--calcite-z-index-popup));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.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([data-placement^=bottom]) .calcite-floating-ui-anim{inset-block-start:-5px}:host([data-placement^=top]) .calcite-floating-ui-anim{inset-block-start:5px}:host([data-placement^=left]) .calcite-floating-ui-anim{left:5px}:host([data-placement^=right]) .calcite-floating-ui-anim{left:-5px}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}:host([scale=s]) .heading{padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .heading{padding-inline:1rem;padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .heading{padding-inline:1.25rem;padding-block:1rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host{pointer-events:none}:host([open]){pointer-events:initial}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1)}.arrow::before{outline:1px solid var(--calcite-color-border-3)}.header{display:flex;flex:1 1 auto;align-items:stretch;justify-content:flex-start;border-width:0px;border-block-end-width:1px;border-style:solid;border-block-end-color:var(--calcite-color-border-3)}.heading{margin:0px;display:block;flex:1 1 auto;align-self:center;white-space:normal;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);word-wrap:break-word;word-break:break-word}.container{position:relative;display:flex;block-size:100%;flex-direction:row;flex-wrap:nowrap;border-radius:0.25rem;color:var(--calcite-color-text-1)}.container.has-header{flex-direction:column}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;align-self:center;word-wrap:break-word;word-break:break-word}.close-button-container{display:flex;overflow:hidden;flex:0 0 auto;border-start-end-radius:0.25rem;border-end-end-radius:0.25rem}.has-header .close-button-container{border-end-end-radius:none}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%}:host([hidden]){display:none}[hidden]{display:none}";
|
19
|
-
/*!
|
20
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
21
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
22
|
-
* v2.12.0
|
23
|
-
*/
|
24
|
-
const ee=class{constructor(t){e(this,t),this.resizeObserver=_("resize",(()=>this.handleResize())),this.handleDefaultSlotChange=e=>{this.hasContent=p(e)},this.storeLoaderEl=e=>{this.loaderEl=e,this.handleResize()},this.loading=!1,this.messages=void 0,this.messageOverrides=void 0,this.loaderScale=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasContent=!1}onMessagesChange(){}effectiveLocaleChange(){F(this,this.effectiveLocale)}connectedCallback(){S(this),R(this),this.resizeObserver?.observe(this.el)}async componentWillLoad(){await $(this)}disconnectedCallback(){B(this),T(this),this.resizeObserver?.disconnect()}render(){const{hasContent:e,loading:t,messages:s}=this;return i("div",{key:"e31839948c0689b6daeac22f3b2471fb049c834b",class:"scrim"},t?i("calcite-loader",{label:s.loading,ref:this.storeLoaderEl,scale:this.loaderScale}):null,i("div",{key:"500b2dcbdcb6c3287ea613fd0f1357de7f3ff347",class:"content",hidden:!e},i("slot",{key:"eea29ac4a454cf3cd51933a73911b70114ab6f77",onSlotchange:this.handleDefaultSlotChange})))}getScale(e){return e<72?"s":e>=480?"l":"m"}handleResize(){const{loaderEl:e,el:t}=this;e&&(this.loaderScale=this.getScale(Math.min(t.clientHeight,t.clientWidth)??0))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};ee.style=":host{--calcite-scrim-background:var(--calcite-color-transparent-scrim);position:absolute;inset:0px;z-index:var(--calcite-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity:0}100%{--tw-text-opacity:1}}.scrim{position:absolute;inset:0px;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-color-transparent-scrim))}.content{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}";export{K as calcite_action_menu,Z as calcite_popover,ee as calcite_scrim}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
/*!
|
7
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
9
|
-
* v2.12.0
|
10
|
-
*/
|
11
|
-
function n(n,r){return(n+r)%r}export{n as g}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{j as n,k as t,l as e,m as r,n as o,e as i,o as u}from"./p-68ec5c15.js";import{f as a}from"./p-aeb86188.js";
|
7
|
-
/*!
|
8
|
-
* focus-trap 7.5.4
|
9
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
10
|
-
*/function c(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function s(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?c(Object(e),!0).forEach((function(t){var r,o,i;r=n,i=e[t],(o=function(n){var t=function(n){if("object"!=typeof n||null===n)return n;var t=n[Symbol.toPrimitive];if(void 0!==t){var e=t.call(n,"string");if("object"!=typeof e)return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"==typeof t?t:String(t)}(o=t))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}var f=function(n){return"Tab"===(null==n?void 0:n.key)||9===(null==n?void 0:n.keyCode)},v=function(n){return f(n)&&!n.shiftKey},l=function(n){return f(n)&&n.shiftKey},d=function(n){return setTimeout(n,0)},b=function(n,t){var e=-1;return n.every((function(n,r){return!t(n)||(e=r,!1)})),e},p=function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];return"function"==typeof n?n.apply(void 0,e):n},w=function(n){return n.target.shadowRoot&&"function"==typeof n.composedPath?n.composedPath()[0]:n.target},m=[];
|
11
|
-
/*!
|
12
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
13
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
14
|
-
* v2.12.0
|
15
|
-
*/
|
16
|
-
function h(c,h){const{el:y}=c,F=h?.focusTrapEl||y;if(!F)return;const k={clickOutsideDeactivates:!0,escapeDeactivates:!1,fallbackFocus:F,setReturnFocus:n=>(i(n),!1),...h?.focusTrapOptions,document:y.ownerDocument,tabbableOptions:u,trapStack:a};var O,j,D,T,g,E,N,P,A,x,B,R,S,C,I,G,K,M,U,Y,L,q,z,H;c.focusTrap=(O=F,T=(null==(j=k)?void 0:j.document)||document,g=(null==j?void 0:j.trapStack)||m,E=s({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:v,isKeyBackward:l},j),N={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},P=function(n,t,e){return n&&void 0!==n[t]?n[t]:E[e||t]},A=function(n,t){var e="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return N.containerGroups.findIndex((function(t){var r=t.container,o=t.tabbableNodes;return r.contains(n)||(null==e?void 0:e.includes(r))||o.find((function(t){return t===n}))}))},x=function(n){var t=E[n];if("function"==typeof t){for(var e=arguments.length,r=new Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(n,"` was specified but was not a node, or did not return a node"))}var i=t;if("string"==typeof t&&!(i=T.querySelector(t)))throw new Error("`".concat(n,"` as selector refers to no known node"));return i},B=function(){var t=x("initialFocus");if(!1===t)return!1;if(void 0===t||!n(t,E.tabbableOptions))if(A(T.activeElement)>=0)t=T.activeElement;else{var e=N.tabbableGroups[0];t=e&&e.firstTabbableNode||x("fallbackFocus")}if(!t)throw new Error("Your focus-trap needs to have at least one focusable element");return t},R=function(){if(N.containerGroups=N.containers.map((function(n){var i=t(n,E.tabbableOptions),u=e(n,E.tabbableOptions),a=i.length>0?i[0]:void 0,c=i.length>0?i[i.length-1]:void 0,s=u.find((function(n){return r(n)})),f=u.slice().reverse().find((function(n){return r(n)})),v=!!i.find((function(n){return o(n)>0}));return{container:n,tabbableNodes:i,focusableNodes:u,posTabIndexesFound:v,firstTabbableNode:a,lastTabbableNode:c,firstDomTabbableNode:s,lastDomTabbableNode:f,nextTabbableNode:function(n){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],e=i.indexOf(n);return e<0?t?u.slice(u.indexOf(n)+1).find((function(n){return r(n)})):u.slice(0,u.indexOf(n)).reverse().find((function(n){return r(n)})):i[e+(t?1:-1)]}}})),N.tabbableGroups=N.containerGroups.filter((function(n){return n.tabbableNodes.length>0})),N.tabbableGroups.length<=0&&!x("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(N.containerGroups.find((function(n){return n.posTabIndexesFound}))&&N.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},S=function n(t){var e=t.activeElement;if(e)return e.shadowRoot&&null!==e.shadowRoot.activeElement?n(e.shadowRoot):e},C=function n(t){!1!==t&&t!==S(document)&&(t&&t.focus?(t.focus({preventScroll:!!E.preventScroll}),N.mostRecentlyFocusedNode=t,function(n){return n.tagName&&"input"===n.tagName.toLowerCase()&&"function"==typeof n.select}(t)&&t.select()):n(B()))},I=function(n){var t=x("setReturnFocus",n);return t||!1!==t&&n},G=function(t){var e=t.target,i=t.event,u=t.isBackward,a=void 0!==u&&u;e=e||w(i),R();var c=null;if(N.tabbableGroups.length>0){var s=A(e,i),v=s>=0?N.containerGroups[s]:void 0;if(s<0)c=a?N.tabbableGroups[N.tabbableGroups.length-1].lastTabbableNode:N.tabbableGroups[0].firstTabbableNode;else if(a){var l=b(N.tabbableGroups,(function(n){return e===n.firstTabbableNode}));if(l<0&&(v.container===e||n(e,E.tabbableOptions)&&!r(e,E.tabbableOptions)&&!v.nextTabbableNode(e,!1))&&(l=s),l>=0){var d=N.tabbableGroups[0===l?N.tabbableGroups.length-1:l-1];c=o(e)>=0?d.lastTabbableNode:d.lastDomTabbableNode}else f(i)||(c=v.nextTabbableNode(e,!1))}else{var p=b(N.tabbableGroups,(function(n){return e===n.lastTabbableNode}));if(p<0&&(v.container===e||n(e,E.tabbableOptions)&&!r(e,E.tabbableOptions)&&!v.nextTabbableNode(e))&&(p=s),p>=0){var m=N.tabbableGroups[p===N.tabbableGroups.length-1?0:p+1];c=o(e)>=0?m.firstTabbableNode:m.firstDomTabbableNode}else f(i)||(c=v.nextTabbableNode(e))}}else c=x("fallbackFocus");return c},K=function(n){var t=w(n);A(t,n)>=0||(p(E.clickOutsideDeactivates,n)?D.deactivate({returnFocus:E.returnFocusOnDeactivate}):p(E.allowOutsideClick,n)||n.preventDefault())},M=function(n){var t=w(n),e=A(t,n)>=0;if(e||t instanceof Document)e&&(N.mostRecentlyFocusedNode=t);else{var r;n.stopImmediatePropagation();var i=!0;if(N.mostRecentlyFocusedNode)if(o(N.mostRecentlyFocusedNode)>0){var u=A(N.mostRecentlyFocusedNode),a=N.containerGroups[u].tabbableNodes;if(a.length>0){var c=a.findIndex((function(n){return n===N.mostRecentlyFocusedNode}));c>=0&&(E.isKeyForward(N.recentNavEvent)?c+1<a.length&&(r=a[c+1],i=!1):c-1>=0&&(r=a[c-1],i=!1))}}else N.containerGroups.some((function(n){return n.tabbableNodes.some((function(n){return o(n)>0}))}))||(i=!1);else i=!1;i&&(r=G({target:N.mostRecentlyFocusedNode,isBackward:E.isKeyBackward(N.recentNavEvent)})),C(r||N.mostRecentlyFocusedNode||B())}N.recentNavEvent=void 0},U=function(n){if(("Escape"===(null==(t=n)?void 0:t.key)||"Esc"===(null==t?void 0:t.key)||27===(null==t?void 0:t.keyCode))&&!1!==p(E.escapeDeactivates,n))return n.preventDefault(),void D.deactivate();var t;(E.isKeyForward(n)||E.isKeyBackward(n))&&function(n){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];N.recentNavEvent=n;var e=G({event:n,isBackward:t});e&&(f(n)&&n.preventDefault(),C(e))}(n,E.isKeyBackward(n))},Y=function(n){var t=w(n);A(t,n)>=0||p(E.clickOutsideDeactivates,n)||p(E.allowOutsideClick,n)||(n.preventDefault(),n.stopImmediatePropagation())},L=function(){if(N.active)return function(n,t){if(n.length>0){var e=n[n.length-1];e!==t&&e.pause()}var r=n.indexOf(t);-1===r||n.splice(r,1),n.push(t)}(g,D),N.delayInitialFocusTimer=E.delayInitialFocus?d((function(){C(B())})):C(B()),T.addEventListener("focusin",M,!0),T.addEventListener("mousedown",K,{capture:!0,passive:!1}),T.addEventListener("touchstart",K,{capture:!0,passive:!1}),T.addEventListener("click",Y,{capture:!0,passive:!1}),T.addEventListener("keydown",U,{capture:!0,passive:!1}),D},q=function(){if(N.active)return T.removeEventListener("focusin",M,!0),T.removeEventListener("mousedown",K,!0),T.removeEventListener("touchstart",K,!0),T.removeEventListener("click",Y,!0),T.removeEventListener("keydown",U,!0),D},z="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(n){n.some((function(n){return Array.from(n.removedNodes).some((function(n){return n===N.mostRecentlyFocusedNode}))}))&&C(B())})):void 0,H=function(){z&&(z.disconnect(),N.active&&!N.paused&&N.containers.map((function(n){z.observe(n,{subtree:!0,childList:!0})})))},(D={get active(){return N.active},get paused(){return N.paused},activate:function(n){if(N.active)return this;var t=P(n,"onActivate"),e=P(n,"onPostActivate"),r=P(n,"checkCanFocusTrap");r||R(),N.active=!0,N.paused=!1,N.nodeFocusedBeforeActivation=T.activeElement,null==t||t();var o=function(){r&&R(),L(),H(),null==e||e()};return r?(r(N.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(n){if(!N.active)return this;var t=s({onDeactivate:E.onDeactivate,onPostDeactivate:E.onPostDeactivate,checkCanReturnFocus:E.checkCanReturnFocus},n);clearTimeout(N.delayInitialFocusTimer),N.delayInitialFocusTimer=void 0,q(),N.active=!1,N.paused=!1,H(),function(n,t){var e=n.indexOf(t);-1!==e&&n.splice(e,1),n.length>0&&n[n.length-1].unpause()}(g,D);var e=P(t,"onDeactivate"),r=P(t,"onPostDeactivate"),o=P(t,"checkCanReturnFocus"),i=P(t,"returnFocus","returnFocusOnDeactivate");null==e||e();var u=function(){d((function(){i&&C(I(N.nodeFocusedBeforeActivation)),null==r||r()}))};return i&&o?(o(I(N.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(n){if(N.paused||!N.active)return this;var t=P(n,"onPause"),e=P(n,"onPostPause");return N.paused=!0,null==t||t(),q(),H(),null==e||e(),this},unpause:function(n){if(!N.paused||!N.active)return this;var t=P(n,"onUnpause"),e=P(n,"onPostUnpause");return N.paused=!1,null==t||t(),R(),L(),H(),null==e||e(),this},updateContainerElements:function(n){var t=[].concat(n).filter(Boolean);return N.containers=t.map((function(n){return"string"==typeof n?T.querySelector(n):n})),N.active&&R(),H(),this}}).updateContainerElements(O),D)}function y(n,t){n.focusTrapDisabled||n.focusTrap?.activate(t)}function F(n,t){n.focusTrap?.deactivate(t)}function k(n){n.focusTrap?.updateContainerElements(n.el)}export{y as a,h as c,F as d,k as u}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,h as i,H as t,g as a}from"./p-6eb37ed2.js";import{s as l,a as n}from"./p-18f18ab3.js";import{a as s,c as r,d as c}from"./p-9f63a45c.js";import{g as o,n as h,c as d,d as b}from"./p-939bc1b4.js";import{u}from"./p-68ec5c15.js";import{c as p}from"./p-c638d28e.js";import"./p-acaae81d.js";import"./p-fe6f7734.js";import"./p-ff8343ec.js";import"./p-b39c5275.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.0
|
11
|
-
*/const g="container",m="fill",v="label",f="label-range",y="label-value",L="unit-label",x="steps-visible",w="value-visible",k="fill-success",z=class{constructor(i){e(this,i),this.labelFlipMax=.8,this.labelFlipProximity=.15,this.maxPercent=100,this.minPercent=0,this.resizeObserver=p("resize",(()=>this.resizeHandler())),this.formatLabel=(e,i)=>{if("percent"===i){if(!this.percentFormatting){const e=o(this.effectiveLocale),i=new Intl.NumberFormat(e,{useGrouping:this.groupSeparator,style:"percent"});this.percentFormatting={formatter:i,locale:e}}return this.percentFormatting.formatter.format(e)}return h.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},h.localize(e.toString())},this.appearance="outline-fill",this.disabled=!1,this.fillType="range",this.form=void 0,this.groupSeparator=!1,this.high=void 0,this.label=void 0,this.low=void 0,this.max=100,this.min=0,this.name=void 0,this.numberingSystem=void 0,this.rangeLabels=!1,this.rangeLabelType="percent",this.scale="m",this.unitLabel="",this.value=void 0,this.valueLabel=!1,this.valueLabelType="percent",this.currentPercent=void 0,this.effectiveLocale=void 0,this.highActive=void 0,this.highPercent=void 0,this.lowActive=void 0,this.lowPercent=void 0}handleRangeChange(){this.calculateValues(),this.updateLabels()}handleLabelChange(){this.updateLabels()}async componentWillLoad(){l(this),this.calculateValues(),s(this,this.value)}componentDidLoad(){n(this),this.updateLabels()}connectedCallback(){d(this),r(this),this.resizeObserver?.observe(this.el)}disconnectedCallback(){b(this),c(this),this.resizeObserver?.disconnect()}resizeHandler(){this.updateLabels()}updateLabels(){this.valueLabelEl&&this.determineValueLabelPosition(),this.rangeLabels&&this.determineVisibleLabels()}calculateValues(){const{min:e,max:i,low:t,high:a,value:l}=this,n=100*(t-e)/(i-e),s=100*(a-e)/(i-e),r=100*(l-e)/(i-e);(!t||t<e||t>a||t>i)&&(this.low=e),(!a||a>i||a<t||a<e)&&(this.high=i),l||(this.value=e),this.lowPercent=n,this.highPercent=s,this.currentPercent=l?r:0,this.lowActive=!!t&&t>e&&(!l||t>l)&&(!a||t<a),this.highActive=!!a&&e<=a&&a<i&&(!l||a>l)&&(!t||a>t)}getMeterKindCssClass(){const{low:e,high:i,min:t,max:a,value:l}=this,n=e||t,s=i||a,r=l<s;return!l||!e&&r||l<n?k:l>=n&&r?"fill-warning":l>=s?"fill-danger":k}intersects(e,i){return e&&i&&u(e.getBoundingClientRect(),i.getBoundingClientRect())}determineVisibleLabels(){const{minLabelEl:e,lowLabelEl:i,highLabelEl:t,maxLabelEl:a}=this,l=this.intersects(t,a),n=this.intersects(i,t),s=this.intersects(i,a),r=this.intersects(e,t),c=this.intersects(e,i),o=this.intersects(e,a),h="label-hidden";i&&(c||s||n?i.classList.add(h):i.classList.remove(h)),t&&(r||s||l?t.classList.add(h):t.classList.remove(h)),e&&a&&(o?a.classList.add(h):a.classList.remove(h))}determineValueLabelPosition(){const{valueLabelEl:e,meterContainerEl:i,currentPercent:t}=this,a=t>100?100:t>0?t:0;a+100*(e.getBoundingClientRect().width-0)/(i.getBoundingClientRect().width-0)>=100?(e.style.insetInlineEnd="0%",e.style.removeProperty("inset-inline-start")):(e.style.insetInlineStart=`${a}% `,e.style.removeProperty("inset-inline-end"))}renderMeterFill(){const{currentPercent:e,fillType:t}=this,a=this.getMeterKindCssClass();return i("div",{class:{[m]:!0,[a]:"single"!==t},style:{width:`${e}%`}})}renderRangeLine(e){return i("div",{class:"step-line",style:{insetInlineStart:`${e}%`}})}renderValueLabel(){const{currentPercent:e,valueLabelType:t,unitLabel:a,value:l}=this,n=this.formatLabel("percent"===t?e/100:l||0,t);return i("div",{class:{[v]:!0,[y]:!0},key:"low-label-line",ref:e=>this.valueLabelEl=e},n,a&&"percent"!==t&&i("span",{class:L}," ",a))}renderMinLabel(){const{rangeLabelType:e,min:t,minPercent:a,unitLabel:l}=this,n={insetInlineStart:`${a}%`},s=this.formatLabel("percent"===e?a:t,e);return i("div",{class:{[v]:!0,[f]:!0},key:"min-label-line",ref:e=>this.minLabelEl=e,style:n},s,l&&"percent"!==e&&i("span",{class:L}," ",l))}renderLowLabel(){const{rangeLabelType:e,low:t,lowPercent:a,highPercent:l,labelFlipProximity:n}=this,s=t?this.formatLabel("percent"===e?a/100:t,e):"",r=(l-a)/100<n?{insetInlineEnd:100-a+"%"}:{insetInlineStart:`${a}%`};return i("div",{class:{[v]:!0,[f]:!0},key:"low-label-line",ref:e=>this.lowLabelEl=e,style:r},s)}renderHighLabel(){const{rangeLabelType:e,high:t,highPercent:a,labelFlipMax:l}=this,n=t?this.formatLabel("percent"===e?a/100:t,e):"",s=a/100>=l?{insetInlineEnd:100-a+"%"}:{insetInlineStart:`${a}%`};return i("div",{class:{[v]:!0,[f]:!0},key:"high-label-line",ref:e=>this.highLabelEl=e,style:s},n)}renderMaxLabel(){const{rangeLabelType:e,max:t,maxPercent:a}=this,l={insetInlineEnd:100-a+"%"},n=this.formatLabel("percent"===e?a/100:t,e);return i("div",{class:{[v]:!0,[f]:!0},key:"max-label-line",ref:e=>this.maxLabelEl=e,style:l},n)}render(){const{appearance:e,currentPercent:a,highActive:l,highPercent:n,label:s,lowActive:r,lowPercent:c,max:o,maxPercent:h,min:d,minPercent:b,rangeLabels:u,rangeLabelType:p,unitLabel:m,value:v,valueLabel:f,valueLabelType:y}=this,L=this.formatLabel(a/100,"percent");return i(t,{key:"63487d7e530d66178ca535feed2ff2c149fef627"},i("div",{key:"98b299ee370f14bdb266e69d9b9c8d303b580de9","aria-label":s,"aria-valuemax":"percent"===p?h:o,"aria-valuemin":"percent"===p?b:d,"aria-valuenow":"percent"===y?a:v,"aria-valuetext":"percent"===y?L:m?`${v} ${m}`:void 0,class:{[g]:!0,[x]:u,[w]:f,[e]:"outline-fill"!==e},ref:e=>this.meterContainerEl=e,role:"meter"},this.renderMeterFill(),f&&this.renderValueLabel(),r&&this.renderRangeLine(c),l&&this.renderRangeLine(n),u&&this.renderMinLabel(),u&&r&&this.renderLowLabel(),u&&l&&this.renderHighLabel(),u&&this.renderMaxLabel()))}get el(){return a(this)}static get watchers(){return{min:["handleRangeChange"],max:["handleRangeChange"],low:["handleRangeChange"],high:["handleRangeChange"],value:["handleRangeChange"],rangeLabels:["handleLabelChange"],rangeLabelType:["handleLabelChange"],unitLabel:["handleLabelChange"],valueLabel:["handleLabelChange"],valueLabelType:["handleLabelChange"]}}};z.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([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-meter-space-internal:0.125rem;--calcite-meter-height-internal:1rem;--calcite-meter-font-size-internal:var(--calcite-font-size--1)}:host([scale=s]){--calcite-meter-height-internal:0.75rem;--calcite-meter-font-size-internal:var(--calcite-font-size--2)}:host([scale=l]){--calcite-meter-height-internal:1.5rem;--calcite-meter-font-size-internal:var(--calcite-font-size-0)}.container{position:relative;margin:0px;display:flex;inline-size:100%;align-items:center;block-size:var(--calcite-meter-height-internal);background-color:var(--calcite-color-foreground-2);border:1px solid var(--calcite-color-border-3);border-radius:var(--calcite-meter-height-internal)}.solid{border:1px solid var(--calcite-color-foreground-3);background-color:var(--calcite-color-foreground-3)}.outline{background-color:transparent}.value-visible{margin-block-start:1.5rem}.steps-visible{margin-block-end:1.5rem}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-meter-space-internal);background-color:var(--calcite-color-border-3)}.label{position:absolute;font-size:var(--calcite-meter-font-size-internal)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + 0.5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.label-range{color:var(--calcite-color-text-3);inset-block-start:calc(100% + 0.5em)}.unit-label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-3)}.label-value .unit-label{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;background-color:var(--calcite-color-brand);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-inline-start:var(--calcite-meter-space-internal);inset-block:var(--calcite-meter-space-internal);border-radius:var(--calcite-meter-height-internal);max-inline-size:calc(100% - var(--calcite-meter-space-internal) * 2);min-inline-size:calc(var(--calcite-meter-height-internal) - var(--calcite-meter-space-internal) * 2);transition-property:inline-size, background-color, box-shadow}.fill-danger{background-color:var(--calcite-color-status-danger)}.fill-success{background-color:var(--calcite-color-status-success)}.fill-warning{background-color:var(--calcite-color-status-warning)}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-meter-height-internal));box-shadow:0 0 0 1px var(--calcite-color-brand)}.solid .fill-danger{box-shadow:0 0 0 1px var(--calcite-color-status-danger)}.solid .fill-success{box-shadow:0 0 0 1px var(--calcite-color-status-success)}.solid .fill-warning{box-shadow:0 0 0 1px var(--calcite-color-status-warning)}";export{z as calcite_meter}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,h as a,g as s}from"./p-6eb37ed2.js";import{e as o}from"./p-68ec5c15.js";import{c as e,u as d,d as i,I as l}from"./p-415cf05e.js";import{s as c,a as r,c as n}from"./p-18f18ab3.js";import"./p-ff8343ec.js";import"./p-b39c5275.js";import"./p-acaae81d.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.0
|
11
|
-
*/const h=class{constructor(a){t(this,a),this.appearance="solid",this.kind="brand",this.disabled=!1,this.icon="plus",this.iconFlipRtl=!1,this.label=void 0,this.loading=!1,this.scale="m",this.text=void 0,this.textEnabled=!1}connectedCallback(){e(this)}componentWillLoad(){c(this)}componentDidLoad(){r(this)}componentDidRender(){d(this)}disconnectedCallback(){i(this)}async setFocus(){await n(this),o(this.buttonEl)}render(){const{appearance:t,kind:s,disabled:o,loading:e,scale:d,textEnabled:i,icon:c,label:r,text:n,iconFlipRtl:h}=this;return a(l,{key:"a3f179f9542d93366d6befded12604369f905580",disabled:o},a("calcite-button",{key:"2adc3c8d6408743bfa905995ce75c7ed4d241733",appearance:"solid"===t?"solid":"outline-fill",class:"button",disabled:o,iconFlipRtl:h?"start":null,iconStart:c,kind:s,label:r,loading:e,ref:t=>{this.buttonEl=t},round:!0,scale:d,title:i?null:r||n||null,type:"button",width:"auto"},this.textEnabled?this.text:null))}get el(){return s(this)}};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:flex;background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}calcite-button{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:hover{--tw-shadow:var(--calcite-shadow-md);--tw-shadow-colored:var(--calcite-shadow-md);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}calcite-button:active{--tw-shadow:0 2px 12px -4px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.16);--tw-shadow-colored:0 2px 12px -4px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([hidden]){display:none}[hidden]{display:none}";export{h as calcite_fab}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,h as i,g as t}from"./p-6eb37ed2.js";import{g as o}from"./p-ff8343ec.js";import{g as c,a}from"./p-8f0ee4b0.js";import"./p-68ec5c15.js";import"./p-b39c5275.js";import"./p-acaae81d.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.0
|
11
|
-
*/const l="list",n="label",s=class{constructor(i){e(this,i),this.guid=o(),this.afterEmptyGroup=!1,this.ancestors=void 0,this.label=void 0,this.scale="m"}connectedCallback(){this.ancestors=c(this.el)}render(){const{el:e,scale:t}=this,o=a(e);return i("ul",{key:"e57f7805f680b7d8b89f1f72c98197d81ad743dd","aria-labelledby":this.guid,class:{[l]:!0,[`scale--${t}`]:!0},role:"group"},i("li",{key:"45ab46a79eb035a0785ea9d2665a3fce8cf7c183",class:{[n]:!0},id:this.guid,role:"presentation",style:{"--calcite-combobox-item-spacing-indent-multiplier":`${o}`}},i("span",{key:"380bfd8d85a132df1252e88971adca1b50104801",class:"title"},this.label)),i("slot",{key:"e0fd9bec45fc259ee2b439a0b80665c742fb5632"}))}get el(){return t(this)}};s.style=".scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}:host,.list{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),.list:focus{outline:2px solid transparent;outline-offset:2px}.label{box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:0px;max-inline-size:100%;color:var(--calcite-color-text-3)}.title{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n );border:0 solid;display:block;flex:1 1 0%;border-block-end-width:1px;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2);word-wrap:break-word;word-break:break-word;border-block-end-color:var(--calcite-color-border-3);padding-block:var(--calcite-combobox-item-spacing-unit-l);padding-inline:var(--calcite-combobox-item-spacing-unit-s);margin-inline-start:var(--calcite-combobox-item-indent-value)}::slotted(calcite-combobox-item-group:not([after-empty-group])){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}:host([hidden]){display:none}[hidden]{display:none}";export{s as calcite_combobox_item_group}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as e,h as i,H as s,g as o}from"./p-6eb37ed2.js";import{r as n,G as a,t as r}from"./p-68ec5c15.js";import{c,b as l,a as h,r as d,F as f}from"./p-a5609b81.js";import{g as p}from"./p-ff8343ec.js";import{o as u}from"./p-580a4537.js";import{F as m}from"./p-1892c357.js";import"./p-b39c5275.js";import"./p-acaae81d.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.0
|
11
|
-
*/const b="aria-describedby";
|
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.0
|
16
|
-
*/
|
17
|
-
function g(t){const{referenceElement:e}=t;return("string"==typeof e?n(t,{id:e}):e)||null}
|
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.0
|
22
|
-
*/const v=new class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.activeTooltip=null,this.registeredElementCount=0,this.queryTooltip=t=>{const{registeredElements:e}=this,i=t.find((t=>e.has(t)));return e.get(i)},this.keyDownHandler=t=>{if("Escape"===t.key&&!t.defaultPrevented){const{activeTooltip:e}=this;if(e?.open){this.clearHoverTimeout(),this.closeActiveTooltip();const i=g(e);i instanceof Element&&i.contains(t.target)&&t.preventDefault()}}},this.pointerMoveHandler=t=>{const e=t.composedPath(),{activeTooltip:i}=this,s=this.queryTooltip(e);this.pathHasOpenTooltip(s,e)?this.clearHoverTimeout():s?this.openHoveredTooltip(s):i?.open&&this.closeHoveredTooltip()},this.clickHandler=t=>{const e=t.composedPath(),i=this.queryTooltip(e);this.pathHasOpenTooltip(i,e)?this.clearHoverTimeout():(this.closeActiveTooltip(),i&&(this.clearHoverTimeout(),this.toggleTooltip(i,!i.closeOnClick)))},this.blurHandler=()=>{this.closeActiveTooltip()},this.focusInHandler=t=>{const e=t.composedPath(),i=this.queryTooltip(e);this.pathHasOpenTooltip(i,e)?this.clearHoverTimeout():(this.closeTooltipIfNotActive(i),i&&this.toggleFocusedTooltip(i,!0))},this.openHoveredTooltip=t=>{this.hoverOpenTimeout=window.setTimeout((()=>{null!==this.hoverOpenTimeout&&(this.clearHoverCloseTimeout(),this.closeTooltipIfNotActive(t),this.toggleTooltip(t,!0))}),this.activeTooltip?.open?0:300)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout((()=>{null!==this.hoverCloseTimeout&&this.closeActiveTooltip()}),500)}}registerElement(t,e){this.registeredElementCount++,this.registeredElements.set(t,e);const i=this.getReferenceElShadowRootNode(t);i&&this.registerShadowRoot(i),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){const e=this.getReferenceElShadowRootNode(t);e&&this.unregisterShadowRoot(e),this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}pathHasOpenTooltip(t,e){const{activeTooltip:i}=this;return i?.open&&e.includes(i)||t?.open&&e.includes(t)}addShadowListeners(t){t.addEventListener("focusin",this.focusInHandler,{capture:!0})}removeShadowListeners(t){t.removeEventListener("focusin",this.focusInHandler,{capture:!0})}addListeners(){window.addEventListener("keydown",this.keyDownHandler,{capture:!0}),window.addEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),window.addEventListener("click",this.clickHandler,{capture:!0}),window.addEventListener("focusin",this.focusInHandler,{capture:!0}),window.addEventListener("blur",this.blurHandler)}removeListeners(){window.removeEventListener("keydown",this.keyDownHandler,{capture:!0}),window.removeEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),window.removeEventListener("click",this.clickHandler,{capture:!0}),window.removeEventListener("focusin",this.focusInHandler,{capture:!0}),window.removeEventListener("blur",this.blurHandler)}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeTooltipIfNotActive(t){this.activeTooltip!==t&&this.closeActiveTooltip()}closeActiveTooltip(){const{activeTooltip:t}=this;t?.open&&this.toggleTooltip(t,!1)}toggleFocusedTooltip(t,e){e&&this.clearHoverTimeout(),this.toggleTooltip(t,e)}toggleTooltip(t,e){t.open=e,this.activeTooltip=e?t:null}registerShadowRoot(t){const{registeredShadowRootCounts:e}=this,i=e.get(t),s=Math.min(("number"==typeof i?i:0)+1,1);1===s&&this.addShadowListeners(t),e.set(t,s)}unregisterShadowRoot(t){const{registeredShadowRootCounts:e}=this,i=e.get(t),s=Math.max(("number"==typeof i?i:1)-1,0);0===s&&this.removeShadowListeners(t),e.set(t,s)}getReferenceElShadowRootNode(t){return t instanceof Element?a(t):null}},w=class{constructor(i){t(this,i),this.calciteTooltipBeforeClose=e(this,"calciteTooltipBeforeClose",6),this.calciteTooltipClose=e(this,"calciteTooltipClose",6),this.calciteTooltipBeforeOpen=e(this,"calciteTooltipBeforeOpen",6),this.calciteTooltipOpen=e(this,"calciteTooltipOpen",6),this.guid=`calcite-tooltip-${p()}`,this.hasLoaded=!1,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=g(this.el),c(this,this.effectiveReferenceElement,this.el);const{el:e,referenceElement:i,effectiveReferenceElement:s}=this;t&&i&&!s&&console.warn(`${e.tagName}: reference-element id "${i}" was not found.`,{el:e}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();"setAttribute"in t&&t.setAttribute(b,e),v.registerElement(t,this.el)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&t.removeAttribute(b),v.unregisterElement(t))},this.closeOnClick=!1,this.label=void 0,this.offsetDistance=l,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.effectiveReferenceElement=void 0,this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(){u(this),this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setUpReferenceElement(!0),this.open&&u(this)}async componentWillLoad(){this.open&&u(this)}componentDidLoad(){this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),h(this,this.effectiveReferenceElement,this.el)}async reposition(t=!1){const{el:e,effectiveReferenceElement:i,placement:s,overlayPositioning:o,offsetDistance:n,offsetSkidding:a,arrowEl:r}=this;return d(this,{floatingEl:e,referenceEl:i,overlayPositioning:o,placement:s,offsetDistance:n,offsetSkidding:a,arrowEl:r,type:"tooltip"},t)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit()}render(){const{effectiveReferenceElement:t,label:e,open:o,floatingLayout:n}=this,a=t&&o,c=!a;return i(s,{key:"d189a57bce7fe93c1849a831e365f087e43d8623","aria-hidden":r(c),"aria-label":e,"aria-live":"polite","calcite-hydrated-hidden":c,id:this.getId(),role:"tooltip"},i("div",{key:"b23b791dffa0536f818158db19c028082e13b63f",class:{[f.animation]:!0,[f.animationActive]:a},ref:this.setTransitionEl},i(m,{key:"612554abba2e6ad14eb7f4436d9df9d56ab14075",floatingLayout:n,ref:t=>this.arrowEl=t}),i("div",{key:"9b9148345f27e5d6b9b16195cce60cf8238be59e",class:"container"},i("slot",{key:"9a60e176af5b7c53bb87562ca82115e44581b6ca"}))))}get el(){return o(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};w.style=":host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, var(--calcite-z-index-tooltip));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.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([data-placement^=bottom]) .calcite-floating-ui-anim{inset-block-start:-5px}:host([data-placement^=top]) .calcite-floating-ui-anim{inset-block-start:5px}:host([data-placement^=left]) .calcite-floating-ui-anim{left:5px}:host([data-placement^=right]) .calcite-floating-ui-anim{left:-5px}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-z-index) * -1);fill:var(--calcite-color-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-color-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1)}.arrow::before{outline:1px solid var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_tooltip}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,c as s,h as i,g as e}from"./p-6eb37ed2.js";import{g as a}from"./p-68ec5c15.js";import{c,d as o,u as n,I as h}from"./p-415cf05e.js";import{c as r,d as l,g as d}from"./p-ac52e0ba.js";import{s as b,a as p,c as f}from"./p-18f18ab3.js";import{c as u,d as m}from"./p-939bc1b4.js";import{c as y}from"./p-c638d28e.js";import{c as g,s as k,d as w,u as v}from"./p-1a9a47a0.js";import"./p-ff8343ec.js";import"./p-b39c5275.js";import"./p-acaae81d.js";import"./p-d559f79c.js";import"./p-fe6f7734.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.0
|
11
|
-
*/const C=class{constructor(i){t(this,i),this.calciteInlineEditableEditCancel=s(this,"calciteInlineEditableEditCancel",6),this.calciteInlineEditableEditConfirm=s(this,"calciteInlineEditableEditConfirm",6),this.calciteInternalInlineEditableEnableEditingChange=s(this,"calciteInternalInlineEditableEnableEditingChange",6),this.mutationObserver=y("mutation",(()=>this.mutationObserverCallback())),this.enableEditing=()=>{this.valuePriorToEditing=this.inputElement?.value,this.editingEnabled=!0,this.inputElement?.setFocus(),this.calciteInternalInlineEditableEnableEditingChange.emit()},this.disableEditing=()=>{this.editingEnabled=!1},this.cancelEditing=()=>{this.inputElement&&(this.inputElement.value=this.valuePriorToEditing),this.disableEditing(),this.enableEditingButton.setFocus(),!this.editingEnabled&&this.shouldEmitCancel&&this.calciteInlineEditableEditCancel.emit()},this.escapeKeyHandler=async t=>{t.defaultPrevented||("Escape"===t.key&&(t.preventDefault(),this.cancelEditing()),"Tab"===t.key&&this.shouldShowControls&&(t.shiftKey||t.target!==this.inputElement||(t.preventDefault(),this.cancelEditingButton.setFocus()),t.shiftKey&&t.target===this.cancelEditingButton&&(t.preventDefault(),this.inputElement?.setFocus())))},this.cancelEditingHandler=async t=>{t.preventDefault(),this.cancelEditing()},this.enableEditingHandler=async t=>{this.disabled||t.target===this.cancelEditingButton||t.target===this.confirmEditingButton||(t.preventDefault(),this.editingEnabled||this.enableEditing())},this.confirmChangesHandler=async t=>{t.preventDefault(),this.calciteInlineEditableEditConfirm.emit();try{this.afterConfirm&&(this.loading=!0,await this.afterConfirm(),this.disableEditing(),this.enableEditingButton.setFocus())}catch(t){}finally{this.loading=!1}},this.disabled=!1,this.editingEnabled=!1,this.loading=!1,this.controls=!1,this.scale=void 0,this.afterConfirm=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0}disabledWatcher(t){this.inputElement&&(this.inputElement.disabled=t)}editingEnabledWatcher(t,s){this.inputElement&&(this.inputElement.editingEnabled=t),!t&&s&&(this.shouldEmitCancel=!0)}onMessagesChange(){}connectedCallback(){c(this),r(this),u(this),g(this),this.mutationObserver?.observe(this.el,{childList:!0}),this.mutationObserverCallback()}async componentWillLoad(){b(this),await k(this)}componentDidLoad(){p(this)}disconnectedCallback(){o(this),l(this),m(this),w(this),this.mutationObserver?.disconnect()}componentDidRender(){n(this)}render(){return i(h,{key:"679bc60f370860de292d87bc9557f451f3674a4a",disabled:this.disabled},i("div",{key:"fa5d6c787837eeb8174dc45d7bcdc61b7e1c1851",class:"wrapper",onClick:this.enableEditingHandler,onKeyDown:this.escapeKeyHandler},i("div",{key:"2a432c9940c1652490168333d15c19396d149a10",class:"input-wrapper"},i("slot",{key:"80a11e4a0c3ace9a4ef5578f797e4a6b4b3f72e9"})),i("div",{key:"540e6cf43d413ebe15345a37902b110094010d57",class:"controls-wrapper"},i("calcite-button",{key:"1ee7fa765b9bd7745424bb8f8f524c0a9ba6c44e",appearance:"transparent",class:"enable-editing-button",disabled:this.disabled,iconStart:"pencil",kind:"neutral",label:this.messages.enableEditing,onClick:this.enableEditingHandler,ref:t=>this.enableEditingButton=t,scale:this.scale,style:{opacity:this.editingEnabled?"0":"1",width:this.editingEnabled?"0":"inherit"},type:"button"}),this.shouldShowControls&&[i("div",{key:"d9eb2bfc9affd4c7fb6510448476c5b83399a2ca",class:"cancel-editing-button-wrapper"},i("calcite-button",{key:"03243abe113f8e441e05f87feef164215082feda",appearance:"transparent",class:"cancel-editing-button",disabled:this.disabled,iconStart:"x",kind:"neutral",label:this.messages.cancelEditing,onClick:this.cancelEditingHandler,ref:t=>this.cancelEditingButton=t,scale:this.scale,type:"button"})),i("calcite-button",{key:"92bdc973c915fbf4980a1fb01ffd4cf9a9f41557",appearance:"solid",class:"confirm-changes-button",disabled:this.disabled,iconStart:"check",kind:"brand",label:this.messages.confirmChanges,loading:this.loading,onClick:this.confirmChangesHandler,ref:t=>this.confirmEditingButton=t,scale:this.scale,type:"button"})])))}blurHandler(){this.controls||this.disableEditing()}effectiveLocaleChange(){v(this,this.effectiveLocale)}async setFocus(){await f(this),this.el?.focus()}mutationObserverCallback(){this.updateSlottedInput(),this.scale=this.scale||this.inputElement?.scale}onLabelClick(){this.setFocus()}updateSlottedInput(){const t=a(this.el,{matches:"calcite-input"});this.inputElement=t,t&&(this.inputElement.disabled=this.disabled,this.inputElement.label=this.inputElement.label||d(this))}get shouldShowControls(){return this.editingEnabled&&this.controls}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{disabled:["disabledWatcher"],editingEnabled:["editingEnabledWatcher"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};C.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) .controls-wrapper{block-size:1.5rem}:host([scale=m]) .controls-wrapper{block-size:2rem}:host([scale=l]) .controls-wrapper{block-size:2.75rem}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-color-foreground-2)}.wrapper{box-sizing:border-box;display:flex;justify-content:space-between;background-color:var(--calcite-color-foreground-1);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.wrapper .input-wrapper{flex:1 1 0%}.controls-wrapper{display:flex}:host([disabled]) .cancel-editing-button-wrapper{border-color:var(--calcite-color-border-2)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{C as calcite_inline_editable}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as e,f as t,h as i,g as n,c as s}from"./p-6eb37ed2.js";import{g as a,m as l,s as o,i as d,a as c,z as r,n as p,l as h,o as v,u as g,p as u,q as f}from"./p-336b8f46.js";import{l as m}from"./p-4cd4cb85.js";import"./p-720a12c0.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";const y=class{constructor(t){e(this,t),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){var e;this.expanded=!!(null===(e=this.layerCaption)||void 0===e?void 0:e.expanded)}async componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0})}render(){return i("div",{key:"5294fd647e506c8fb1c10bc39178dd1701df0a13",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:"esri-legend__service esri-legend__group-layer"},i("instant-apps-interactive-legend-layer-element-caption",{key:"5fa320a7a12179a85e157ccbabb5ff0d3fb75ea2",ref:e=>this.layerCaption=e,class:a(this.el),legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:this.isChild}),i("div",{key:"68f702a841bf7a89a0534a252465b742c872aa94",class:"esri-legend__group-content "+(!1===this.expanded?"hide":"show")},i("slot",{key:"7b632a4264a3aead0f53949b972169827b11a4c0",name:"content"})))}get el(){return n(this)}};y.style=".sc-instant-apps-interactive-legend-group-legend-element-h{display:block}.sc-instant-apps-interactive-legend-group-legend-element-h .esri-legend__service.sc-instant-apps-interactive-legend-group-legend-element{margin:0;padding:0}.sc-instant-apps-interactive-legend-group-legend-element-h .hide.sc-instant-apps-interactive-legend-group-legend-element{display:none}";const b=class{constructor(t){e(this,t),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=void 0,this.expanded=!0}layerCaptionElementExpandUpdatedEmitted(){this.expanded=this.layerCaption.expanded}componentWillLoad(){new MutationObserver((()=>{t(this.el)})).observe(this.el,{attributes:!0})}render(){var e,t;return i("div",{key:"14f04807f3c36d4ef8dc2337d126b9657fc8edec",style:{borderLeft:"1px solid var(--calcite-color-border-3)"},class:"esri-legend__service"+(this.activeLayerInfo.parent?" esri-legend__group-layer-child":""),tabIndex:0},i("instant-apps-interactive-legend-layer-element-caption",{key:"3917bafae2f4c5d5050d402ab2a3e9257ecfc678",ref:e=>this.layerCaption=e,legendvm:this.legendvm,"feature-count":this.featureCount,activeLayerInfo:this.activeLayerInfo,messages:this.messages,isChild:!!this.isChild,class:a(this.el)}),i("div",{key:"8eb250a7a3404561a5ab349406fbfce8dac00608",id:`${null===(t=null===(e=this.activeLayerInfo)||void 0===e?void 0:e.layer)||void 0===t?void 0:t.id}-legend-layer`,class:"esri-legend__layer"+(!1===this.expanded?" hide":" show")},i("slot",{key:"94f10f632b9409a25f6f5eaf65c7a2e50ecedc29",name:"content"})))}get el(){return n(this)}};b.style=".sc-instant-apps-interactive-legend-layer-element-h{display:block}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__service.sc-instant-apps-interactive-legend-layer-element{padding:0}.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-layer-element,.sc-instant-apps-interactive-legend-layer-element-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-layer-element{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-layer-element-h .hide.sc-instant-apps-interactive-legend-layer-element{display:none}";const _=class{constructor(t){e(this,t),this.activeLayerInfo=void 0,this.isSizeRamp=void 0,this.isChild=void 0,this.isColorRamp=void 0,this.isRelationshipRamp=void 0,this.isInteractive=void 0,this.zoomTo=void 0,this.legendElement=void 0,this.titleText=void 0,this.legendvm=void 0,this.legendElementIndex=void 0,this.messages=void 0,this.expanded=!0}legendLayerExpandUpdatedEmitted(){this.expanded=this.legendLayerCaption.expanded}render(){var e,t,n,s,a,d,c,r,p;const h=this.isChild?"esri-legend__layer-child-table":"esri-legend__layer-table",v=1===(null===(t=null===(e=this.legendElement)||void 0===e?void 0:e.infos)||void 0===t?void 0:t.length)&&!(null===(a=null===(s=null===(n=this.activeLayerInfo)||void 0===n?void 0:n.layer)||void 0===s?void 0:s.renderer)||void 0===a?void 0:a.field),g=!this.isSizeRamp&&this.isChild||this.isColorRamp?"":" esri-legend__layer-table--size-ramp",u=this.isInteractive?"":" instant-apps-interactive-legend__non-interactive",f=l(this.activeLayerInfo)?" instant-apps-interactive-legend__nested-unique-symbol":"";let m=!(!v||this.expanded||this.zoomTo)||this.expanded;return this.isRelationshipRamp&&(m=o.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id]),i("div",{key:"4c84ceeed6021b53975ce59397b7942efe0fd861",class:`${h}${g}${u}${f}`},i("div",{key:"71a9a54047a3880f8a800b5c5ada44bd44ddcd37",id:`${null===(c=null===(d=this.activeLayerInfo)||void 0===d?void 0:d.layer)||void 0===c?void 0:c.id}-legend-element-caption`,class:this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&v?"hide":"show"},i("instant-apps-interactive-legend-legend-element-caption",{key:"3f4dedbe202011c88d80269e877de1a137985b04",ref:e=>this.legendLayerCaption=e,legendvm:this.legendvm,activeLayerInfo:this.activeLayerInfo,layer:this.activeLayerInfo.layer,titleText:this.titleText,legendElement:this.legendElement,legendElementIndex:this.legendElementIndex,zoomTo:this.zoomTo,isInteractive:this.isInteractive,messages:this.messages})),i("div",{key:"content",id:`${null===(p=null===(r=this.activeLayerInfo)||void 0===r?void 0:r.layer)||void 0===p?void 0:p.id}-legend-element-content-${this.legendElementIndex}`,class:!1===m?"hide":"show"},i("slot",{key:"8b402e2c6dbf5e657cb4518c95bb43220de0a68d",name:"content"})))}};_.style=".sc-instant-apps-interactive-legend-legend-element-h{display:block}.sc-instant-apps-interactive-legend-legend-element-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-legend-element,.sc-instant-apps-interactive-legend-legend-element-h .instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-legend-element{margin:0}.sc-instant-apps-interactive-legend-legend-element-h .hide.sc-instant-apps-interactive-legend-legend-element{display:none}";const L=class{constructor(t){e(this,t),this.showAllSelectedEvent=s(this,"showAllSelected",7),this.legendLayerExpandUpdatedEvent=s(this,"legendLayerExpandUpdated",7),this.legendvm=void 0,this.activeLayerInfo=void 0,this.layer=void 0,this.titleText=void 0,this.legendElementIndex=void 0,this.zoomTo=void 0,this.isInteractive=void 0,this.legendElement=void 0,this.expanded=!0,this.messages=void 0}render(){var e,t,n,s;const a=l(this.activeLayerInfo),o=p(this.activeLayerInfo),{expanded:d}=this;return a&&!this.titleText?null:i("div",{class:"esri-legend__layer-caption"},i("calcite-action",{onClick:this.toggleExpanded(),icon:!1===d?"chevron-up":"chevron-down",appearance:"transparent",text:!1===d?null===(e=this.messages)||void 0===e?void 0:e.expand:null===(t=this.messages)||void 0===t?void 0:t.collapse,label:!1===d?null===(n=this.messages)||void 0===n?void 0:n.expand:null===(s=this.messages)||void 0===s?void 0:s.collapse,scale:"s"}),this.isInteractive||o?this.renderLegendElementCaptionControls():null,this.titleText?i("span",{class:"instant-apps-interactive-legend__legend-layer-caption-text",title:this.titleText},this.titleText):null)}renderLegendElementCaptionControls(){var e,t,n,s,a,l,o,c,r,p;const h=this.titleText?"":" instant-apps-interactive-legend__layer-caption-btn-container--no-text",v=(null===(s=null===(n=null===(e=d.data)||void 0===e?void 0:e[null===(t=this.layer)||void 0===t?void 0:t.id])||void 0===n?void 0:n.categories)||void 0===s?void 0:s.size)>1?i("calcite-button",{key:"show-all-button",id:"showAll",onClick:this.handleShowAll(),"icon-start":"list-check-all",appearance:"outline",round:!0,label:null===(a=this.messages)||void 0===a?void 0:a.showAll}):null,g=i("calcite-button",{key:"zoom-to-button",id:"zoomTo",onClick:this.handleZoomTo(),"icon-start":"magnifying-glass-plus",appearance:"outline",round:!0,label:null===(l=this.messages)||void 0===l?void 0:l.zoomTo});return i("div",{key:"layer-caption-btn-container",class:`instant-apps-interactive-legend__layer-caption-btn-container${h}`},v,i("calcite-tooltip",{"reference-element":"showAll",placement:"top",label:null===(o=this.messages)||void 0===o?void 0:o.showAll},null===(c=this.messages)||void 0===c?void 0:c.showAll),this.zoomTo?[g,i("calcite-tooltip",{"reference-element":"zoomTo",placement:"top",label:null===(r=this.messages)||void 0===r?void 0:r.zoomTo},null===(p=this.messages)||void 0===p?void 0:p.zoomTo)]:null)}toggleExpanded(){return()=>{var e,t;this.expanded=!this.expanded,this.legendLayerExpandUpdatedEvent.emit(),(null===(t=null===(e=this.activeLayerInfo)||void 0===e?void 0:e.legendElements)||void 0===t?void 0:t.filter((e=>"relationship-ramp"===e.type))).length>0&&o.set("relationshipRampExpandStates",Object.assign(Object.assign({},d.relationshipRampExpandStates),{[this.activeLayerInfo.layer.id]:this.expanded}))}}handleZoomTo(){return()=>{const e=h(this.layer),t=c(e,this.legendElement);r(e,this.legendvm.view,t)}}handleShowAll(){return()=>{var e,t;const i=null===(e=d.data)||void 0===e?void 0:e[null===(t=this.layer)||void 0===t?void 0:t.id];c(i,this.legendElement)?(()=>{const e=v(i,this.legendElement.title);g({intLegendLayerData:e,layerId:this.layer.id})})():((()=>{const e=u(i);g({intLegendLayerData:e,layerId:this.layer.id})})(),this.showAllSelectedEvent.emit())}}get el(){return n(this)}};L.style=".sc-instant-apps-interactive-legend-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:20px}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__legend-layer-caption-text.sc-instant-apps-interactive-legend-legend-element-caption{display:inline-block;margin-left:5px;margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption{white-space:nowrap}.sc-instant-apps-interactive-legend-legend-element-caption-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-legend-element-caption calcite-button.sc-instant-apps-interactive-legend-legend-element-caption{margin:2px}.sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight);padding:var(--instant-apps-interactive-legend-ui-padding)}html[dir=rtl] .sc-instant-apps-interactive-legend-legend-element-caption-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-legend-element-caption calcite-action.sc-instant-apps-interactive-legend-legend-element-caption{margin-left:unset;margin-right:20px}";const $=".esri-relationship-ramp--diamond__middle-column--ramp svg g",k=class{constructor(t){e(this,t),this.cellNodeCounter=0,this.filterMode=void 0,this.activeLayerInfo=void 0,this.legendElement=void 0,this.messages=void 0}applyInteractivity(){this.applyRelationshipRampInteractivity()}showAllSelectedEmitted(){const e=0===d.data[this.activeLayerInfo.layer.id].queryExpressions.length,t=this.relationshipRamp.querySelector($).children,i=t?Array.from(t):null;e&&(null==i||i.forEach((e=>{e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.classList.remove("esri-interactive-legend--selected-cell")})))}async componentWillLoad(){const[e]=await m(["esri/symbols/support/symbolUtils"]);this.symbolUtils=e}render(){var e,t;return i("div",{key:"1f7588d95a9f87cd0d1574d2c8823e4fec7ff20a",ref:e=>{if(!(null==e?void 0:e.querySelector("relationshipStyles"))){const t=document.createElement("style");t.id="relationshipStyles",t.innerHTML="\n rect:hover {\n cursor: pointer;\n opacity: 0.8;\n }\n ",null==e||e.appendChild(t)}}},i("span",{key:"a5c554b5bda46d827f60aba19f0e74ce5a81efe5",class:"instant-apps-interactive-legend-relationship__instructional-text"},null===(t=null===(e=this.messages)||void 0===e?void 0:e.relationship)||void 0===t?void 0:t.instructionalText),this.renderRelationshipRamp())}renderRelationshipRamp(){var e;const t=(null===(e=this.activeLayerInfo)||void 0===e?void 0:e.layer).renderer,n=this.symbolUtils.renderRelationshipRampPreviewHTML(t);return i("div",{ref:e=>{this.relationshipRamp=e,this.applyRelationshipRampInteractivity()},key:"relationship-ramp-diamond",innerHTML:`${null==n?void 0:n.outerHTML}`})}applyRelationshipRampInteractivity(){if(!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&d.data))return;let e=setInterval((()=>{const t=this.relationshipRamp.querySelector($);t&&(clearInterval(e),this.setupRelationshipDrawingStyle(t.children))}),10)}setupRelationshipDrawingStyle(e){const t=e?Array.from(e):null;if(!t)return;t.map(((e,t)=>{var i,n;const s=(null===(n=null===(i=this.activeLayerInfo)||void 0===i?void 0:i.layer)||void 0===n?void 0:n.renderer).uniqueValueInfos;if(s[t]){const i=s[t].symbol.color;s.forEach(((t,n)=>{const s=t.symbol.color;i.r===s.r&&i.g===s.g&&i.b===s.b&&i.a===s.a&&this.setCellAttributes(e,n)})),e.classList.add("esri-interactive-legend__svg-rect-element")}}));const i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){const i=this.activeLayerInfo.layer.renderer.uniqueValueInfos,n=this.generateIndexPattern(t);i[n]&&(e.setAttribute("data-color",`${i[n].symbol.color}`),e.setAttribute("data-cell-index",`${n}`),e.setAttribute("tabindex","0"))}generateIndexPattern(e){const{focus:t,numClasses:i}=this.legendElement;return"HL"===t?e:2===i?this.twoClasses(e,t):3===i?this.threeClasses(e,t):4===i?this.fourClasses(e,t):null}twoClasses(e,t){return"HH"===t||null===t?0===e||2===e?e+1:1===e||3===e?e-1:null:"LH"===t?0===e?e+3:1===e?e+1:2===e?e-1:3===e?e-3:4===e?e+0:null:"LL"===t?0===e||1===e?e+2:2===e||3===e?e-2:null:void 0}threeClasses(e,t){return"HH"===t||null===t?0===e||3===e||6===e?e+2:2===e||5===e||8===e?e-2:e:"LH"===t?0===e?e+8:1===e?e+6:2===e?e+4:3===e?e+2:5===e?e-2:6===e?e-4:7===e?e-6:8===e?e-8:e:"LL"===t?0===e||1===e||2===e?e+6:6===e||7===e||8===e?e-6:e:void 0}fourClasses(e,t){return"HH"===t||null===t?0===e||4===e||8===e||12===e?e+3:1===e||5===e||9===e||13===e?e+1:2===e||6===e||10===e||14===e?e-1:3===e||7===e||11===e||15===e?e-3:null:"LH"===t?0===e?e+15:1===e?e+13:2===e?e+11:3===e?e+9:4===e?e+7:5===e?e+5:6===e?e+3:7===e?e+1:8===e?e-1:9===e?e-3:10===e?e-5:11===e?e-7:12===e?e-9:13===e?e-11:14===e?e-13:15===e?e-15:null:"LL"===t?0===e||1===e||2===e||3===e?e+12:4===e||5===e||6===e||7===e?e+4:8===e||9===e||10===e||11===e?e-4:12===e||13===e||14===e||15===e?e-12:null:void 0}reorderCellNodes(e){const t=[];for(;this.cellNodeCounter<=e.length-1;)e.map((e=>{parseInt(e.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(e)})),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){const{focus:t,numClasses:i}=this.legendElement;"HH"===t||null===t?this.relationshipFocusIsHighHigh(e,i):"LL"===t?this.relationshipFocusIsLowLow(e,i):"LH"===t?this.relationshipFocusIsLowHigh(e,i):"HL"===t&&this.relationshipFocusIsHighLow(e,i),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let i=t-1;i>=0;i--)for(let n=t-1;n>=0;n--)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let i=0;i<t;i++)for(let n=0;n<t;n++)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let i=0;i<t;i++)for(let n=t-1;n>=0;n--)this.setDataAttributes(e,i,n,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let i=t-1;i>=0;i--)for(let n=0;n<t;n++)this.setDataAttributes(e,n,i,t),this.cellNodeCounter++}setDataAttributes(e,t,i,n){const s=e[this.cellNodeCounter];2===n?this.twoClassAttributes(s,t,i):3===n?this.threeClassAttributes(s,t,i):this.fourClassAttributes(s,t,i)}twoClassAttributes(e,t,i){const{legendElement:n}=this;"HL"===n.focus?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i)}threeClassAttributes(e,t,i){const{legendElement:n}=this;1===this.cellNodeCounter||3===this.cellNodeCounter||5===this.cellNodeCounter||7===this.cellNodeCounter?"HL"===n.focus?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==n.focus?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}fourClassAttributes(e,t,i){const{legendElement:n}=this,{focus:s}=n;1===this.cellNodeCounter||2===this.cellNodeCounter||4===this.cellNodeCounter||5===this.cellNodeCounter||7===this.cellNodeCounter||8===this.cellNodeCounter||10===this.cellNodeCounter||11===this.cellNodeCounter||13===this.cellNodeCounter||14===this.cellNodeCounter?"HL"===s?this.swapDataFeatureIndexes(e,t,i):this.setDataFeatureIndexes(e,t,i):"HL"!==s?this.setDataFeatureIndexes(e,t,i):this.swapDataFeatureIndexes(e,t,i)}setDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${i}`),this.setDataCellFocus(e,t,i)}swapDataFeatureIndexes(e,t,i){e.setAttribute("data-feature-i",`${i}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocus(e,i,t)}setDataCellFocus(e,t,i){const{numClasses:n}=this.legendElement;2===n?this.setDataCellFocusForTwoClasses(e,t,i):3===n?this.setDataCellFocusForThreeClasses(e,t,i):4===n&&this.setDataCellFocusForFourClasses(e,t,i)}setDataCellFocusForTwoClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","HL"):1===t&&1===i&&e.setAttribute("data-cell-focus","HH")}setDataCellFocusForThreeClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LM"):0===t&&2===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","ML"):1===t&&1===i?e.setAttribute("data-cell-focus","MM"):1===t&&2===i?e.setAttribute("data-cell-focus","MH"):2===t&&0===i?e.setAttribute("data-cell-focus","HL"):2===t&&1===i?e.setAttribute("data-cell-focus","HM"):2===t&&2===i&&e.setAttribute("data-cell-focus","HH")}setDataCellFocusForFourClasses(e,t,i){0===t&&0===i?e.setAttribute("data-cell-focus","LL"):0===t&&1===i?e.setAttribute("data-cell-focus","LM1"):0===t&&2===i?e.setAttribute("data-cell-focus","LM2"):0===t&&3===i?e.setAttribute("data-cell-focus","LH"):1===t&&0===i?e.setAttribute("data-cell-focus","M1L"):1===t&&1===i?e.setAttribute("data-cell-focus","M1M1"):1===t&&2===i?e.setAttribute("data-cell-focus","M1M2"):1===t&&3===i?e.setAttribute("data-cell-focus","M1H"):2===t&&0===i?e.setAttribute("data-cell-focus","M2L"):2===t&&1===i?e.setAttribute("data-cell-focus","M2M1"):2===t&&2===i?e.setAttribute("data-cell-focus","M2M2"):2===t&&3===i?e.setAttribute("data-cell-focus","M2H"):3===t&&0===i?e.setAttribute("data-cell-focus","HL"):3===t&&1===i?e.setAttribute("data-cell-focus","HM1"):3===t&&2===i?e.setAttribute("data-cell-focus","HM2"):3===t&&3===i&&e.setAttribute("data-cell-focus","HH")}applyEventHandlers(){const e=document.querySelectorAll(".esri-interactive-legend__svg-rect-element");Array.from(e).map((e=>{const t=e.getAttribute("data-feature-i"),i=e.getAttribute("data-feature-j"),n=e.getAttribute("data-cell-focus");e.onclick=()=>{this.handleFilter(t,i,n),this.handleSelectedElement(e)},e.onkeydown=s=>{const{key:a}=s;("Enter"===a||"Space"===a)&&(this.handleFilter(t,i,n),this.handleSelectedElement(e))}}))}async handleFilter(e,t,i){var n,s,a,l,o;const c=this.activeLayerInfo.layer,{authoringInfo:r}=c.renderer,{field1:p,field2:h}=r,{queryExpressions:v,fLayerView:g}=d.data[this.activeLayerInfo.layer.id];if("relationship-ramp"===this.legendElement.type&&r&&p&&h){const d=this.generateExpressionParams(p,h,r,e,t,i),c=this.generateExpressionForRelationship(d);0===v.length?v[0]=c:-1===v.indexOf(c)?v.push(c):v.splice(v.indexOf(c),1);const u=v.join(" OR "),y=null!==(s=null===(n=null==g?void 0:g.filter)||void 0===n?void 0:n.timeExtent)&&void 0!==s?s:null,[b,_]=await m(["esri/layers/support/FeatureFilter","esri/layers/support/FeatureEffect"]);if("filter"===(null===(a=this.filterMode)||void 0===a?void 0:a.type))g.filter=new b({where:u,timeExtent:(null===(l=null==g?void 0:g.filter)||void 0===l?void 0:l.timeExtent)?g.filter.timeExtent:null});else if(null===(o=this.filterMode)||void 0===o?void 0:o.effect){const{includedEffect:e,excludedEffect:t}=this.filterMode.effect,i=await f(t,g,"excludedEffect"),n=await f(e,g,"includedEffect");g.featureEffect=new _({filter:new b({where:u,timeExtent:y}),includedEffect:n,excludedEffect:i})}}}generateExpressionParams(e,t,i,n,s,a){const l=[],o=e.field,d=t.field,c=e.classBreakInfos,r=t.classBreakInfos,p=i.field1.hasOwnProperty("normalizationField")?i.field1.normalizationField:null,h=i.field2.hasOwnProperty("normalizationField")?i.field2.normalizationField:null;return c.forEach(((e,t)=>{const i=[];r.forEach(((e,n)=>{i.push([c[t],r[n]])})),l.push(i)})),{data:l,i:n,j:s,field1:p?`(${o}/${p})`:`${o}`,field2:h?`(${d}/${h})`:`${d}`,focus:a}}generateExpressionForRelationship(e){const{focus:t,field1:i,field2:n,data:s,i:a,j:l}=e;return"LL"===t?`${i} >= ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} >= ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:"LM"===t||"LM1"===t||"LM2"===t||"LH"===t?`${i} >= ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} > ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:"ML"===t||"M1L"===t||"M2L"===t||"HL"===t?`${i} > ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} >= ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`:`${i} > ${s[a][l][0].minValue} AND ${i} <= ${s[a][l][0].maxValue} AND ${n} > ${s[a][l][1].minValue} AND ${n} <= ${s[a][l][1].maxValue}`}handleSelectedElement(e){const t=e.classList;t.contains("esri-interactive-legend--selected-cell")?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),t.remove("esri-interactive-legend--selected-cell")):(t.add("esri-interactive-legend--selected-cell"),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"))}};k.style=".sc-instant-apps-interactive-legend-relationship-h{display:block}.sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark .sc-instant-apps-interactive-legend-relationship-h .instant-apps-interactive-legend-relationship__instructional-text.sc-instant-apps-interactive-legend-relationship{background-color:var(--calcite-color-brand);color:#151515}";export{y as instant_apps_interactive_legend_group_legend_element,b as instant_apps_interactive_legend_layer_element,_ as instant_apps_interactive_legend_legend_element,L as instant_apps_interactive_legend_legend_element_caption,k as instant_apps_interactive_legend_relationship}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{h as t,r as e,c as i,H as s,d as n,g as a}from"./p-6eb37ed2.js";import{h as o,d as r}from"./p-68ec5c15.js";import{c}from"./p-c638d28e.js";import{g as l}from"./p-ff8343ec.js";import{c as h,d as p}from"./p-939bc1b4.js";import{c as d,s as m,d as b,u as f}from"./p-1a9a47a0.js";import"./p-b39c5275.js";import"./p-acaae81d.js";import"./p-fe6f7734.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.0
|
11
|
-
*/const g="action-icon",u="action-container",y="step-bar-container",v="single-view",z="step-bar",k="step-bar--active",x="step-bar--complete",S="step-bar--disabled",C="step-bar--error",w="step-bar--inactive",I=({disabled:e,active:i,complete:s,error:n,key:a})=>t("svg",{class:{[z]:!0},key:a},t("rect",{class:{[k]:i,[x]:s,[S]:e,[C]:n,[w]:!0},width:"100%",x:"0",y:"0"})),P=class{constructor(t){e(this,t),this.calciteStepperChange=i(this,"calciteStepperChange",6),this.calciteStepperItemChange=i(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",6),this.enabledItems=[],this.itemMap=new Map,this.items=[],this.mutationObserver=c("mutation",(()=>this.updateItems())),this.multipleViewMode=!1,this.guid=`calcite-stepper-action-${l()}`,this.handleActionClick=t=>{const e=this.currentActivePosition;"start"===t.target.getAttribute("data-position")?this.prevStep():this.nextStep(),"number"!=typeof this.currentActivePosition||e===this.currentActivePosition||this.items[this.currentActivePosition].disabled||this.emitItemSelect()},this.setContainerEl=t=>{this.containerEl=t},this.handleDefaultSlotChange=t=>{const e=o(t).filter((t=>"CALCITE-STEPPER-ITEM"===t?.tagName));this.items=e;const i=Array(e.length).fill("1fr").join(" ");this.containerEl.style.gridTemplateAreas=i,this.containerEl.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()},this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.messages=void 0,this.numberingSystem=void 0,this.selectedItem=null,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.currentActivePosition=void 0}handleItemPropChange(){this.updateItems(),this.determineActiveStepper()}numberingSystemChange(){this.setStepperItemNumberingSystem()}onMessagesChange(){}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0}),this.updateItems(),d(this),h(this)}async componentWillLoad(){await m(this)}componentDidLoad(){if("number"!=typeof this.currentActivePosition){const t=this.getFirstEnabledStepperPosition();0===t&&(this.currentActivePosition=t),this.calciteInternalStepperItemChange.emit({position:t})}}disconnectedCallback(){b(this),p(this),this.mutationObserver?.disconnect()}render(){return t(s,{key:"bd7571b5c3af662f4a2bde52e9742e2328fc7c8f","aria-label":this.messages.label,role:"region"},t("div",{key:"9e1d066b9f3ec7fa1df9f55e6e742d0c26cd4ec2",class:{container:!0,[v]:"horizontal-single"===this.layout},ref:this.setContainerEl},"horizontal-single"===this.layout&&t("div",{key:"49ccb52be5e2c1c747cbe634d3049fc5677ac7c2",class:{[y]:!0}},this.items.map(((e,i)=>t(I,{active:i===this.currentActivePosition,complete:e.complete&&i!==this.currentActivePosition&&!e.error,disabled:e.disabled&&i!==this.currentActivePosition,error:e.error&&i!==this.currentActivePosition,key:i})))),"horizontal-single"===this.layout&&t("div",{key:"d771370bda9cfc17412208ea9de36c52f9c9fabd",class:{[u]:!0}},this.renderAction("start"),this.renderAction("end")),t("slot",{key:"8c9f00eda6193622c72943bc459b8e3adf69fe77",onSlotchange:this.handleDefaultSlotChange})))}calciteInternalStepperItemKeyEvent(t){const e=t.target;switch(t.detail.item.key){case"ArrowDown":case"ArrowRight":r(this.enabledItems,e,"next");break;case"ArrowUp":case"ArrowLeft":r(this.enabledItems,e,"previous");break;case"Home":r(this.enabledItems,e,"first");break;case"End":r(this.enabledItems,e,"last")}t.stopPropagation()}registerItem(t){const e=t.target,{content:i,position:s}=t.detail;this.itemMap.set(e,{position:s,content:i}),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{position:e}=t.detail;"number"==typeof e&&(this.currentActivePosition=e,this.selectedItem=t.target),this.calciteInternalStepperItemChange.emit({position:e})}handleItemSelect(){this.emitItemSelect()}async nextStep(){const t=this.getEnabledStepIndex(this.currentActivePosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentActivePosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const e=t-1;this.currentActivePosition!==e&&this.updateStep(e)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}effectiveLocaleChange(){f(this,this.effectiveLocale)}handlePositionChange(){n((()=>{this.determineActiveStepper()}))}emitItemSelect(){this.calciteStepperItemChange.emit(),this.calciteStepperChange.emit()}updateItems(){this.el.querySelectorAll("calcite-stepper-item").forEach((t=>{t.icon=this.icon,t.numbered=this.numbered,t.layout=this.layout,t.scale=this.scale}))}determineActiveStepper(){const{items:t}=this;if(t.length<2)return;const{currentActivePosition:e,layout:i}=this;this.multipleViewMode="horizontal-single"!==i,t.forEach(((t,s)=>{t.hidden="horizontal-single"===i&&s!==(e||0)}))}getEnabledStepIndex(t,e="next"){const{items:i,currentActivePosition:s}=this;let n=t;for(;i[n]?.disabled&&"horizontal-single"!==this.layout;)n+="previous"===e?-1:1;return n!==s&&n<i.length&&n>=0?n:null}updateStep(t){this.currentActivePosition=t,this.calciteInternalStepperItemChange.emit({position:t})}filterItems(){return this.items.filter((t=>!t.disabled))}setStepperItemNumberingSystem(){this.items.forEach((t=>{t.numberingSystem=this.numberingSystem}))}renderAction(e){const i="start"===e,s=i?"chevron-left":"chevron-right",{currentActivePosition:n,multipleViewMode:a,layout:o}=this,r=this.items.length,c=`${this.guid}-${i?"start":"end"}`;return"horizontal-single"!==o||a?null:t("calcite-action",{alignment:"center",appearance:"transparent",class:{[g]:!0},compact:!0,"data-position":e,disabled:0===n&&i||n===r-1&&!i,icon:s,iconFlipRtl:!0,id:c,onClick:this.handleActionClick,scale:this.scale,text:i?this.messages.previousStep:this.messages.nextStep})}getFirstEnabledStepperPosition(){const t=this.items.findIndex((t=>!t.disabled));return t>-1?t:0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{icon:["handleItemPropChange"],layout:["handleItemPropChange"],numbered:["handleItemPropChange"],scale:["handleItemPropChange"],numberingSystem:["numberingSystemChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],currentActivePosition:["handlePositionChange"]}}};
|
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.0
|
16
|
-
*/P.style=':host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s:0.25rem;--calcite-internal-stepper-action-block-size:2.75rem;--calcite-internal-stepper-action-inline-size:2rem;--calcite-internal-step-bar-gap:0.25rem}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s:0.5rem;--calcite-internal-stepper-action-block-size:3.25rem;--calcite-internal-stepper-action-inline-size:2.5rem}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s:0.75rem;--calcite-internal-stepper-action-block-size:4rem;--calcite-internal-stepper-action-inline-size:3rem;--calcite-internal-step-bar-gap:0.75rem}:host{display:flex}.container{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]) .container{flex:1 1 auto;flex-direction:column}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:grid;grid-template-areas:"items" "content";gap:0.5rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=s]) .container,:host([layout=horizontal-single][scale=s]) .container{gap:0.25rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .container,:host([layout=horizontal-single][scale=l]) .container{gap:0.75rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .container.single-view{display:flex;grid-template-columns:none}.action-icon{position:relative;display:flex;flex-grow:0;block-size:var(--calcite-internal-stepper-action-block-size);inline-size:var(--calcite-internal-stepper-action-inline-size)}.action-container{position:absolute;display:flex;justify-content:space-between;padding-block:0.25rem;inline-size:100%}.step-bar{display:flex;block-size:100%;inline-size:100%}.step-bar-container{position:absolute;display:flex;align-items:flex-start;justify-content:space-between;block-size:0.125rem;inline-size:100%;gap:var(--calcite-internal-step-bar-gap, 0.5rem)}.step-bar--inactive{fill:var(--calcite-color-border-3, #dfdfdf);fill-opacity:1;block-size:100%}.step-bar--active{fill:var(--calcite-color-brand)}.step-bar--complete{fill:var(--calcite-color-brand);fill-opacity:0.5}.step-bar--error{fill:var(--calcite-color-status-danger)}.step-bar--disabled{opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}';export{P as calcite_stepper}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as i,h as t,g as n,H as a}from"./p-6eb37ed2.js";import{l as s}from"./p-4cd4cb85.js";import{g as o}from"./p-7bfecd07.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const e="instant-apps-sign-in__entry-button",r=class{constructor(t){i(this,t),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=void 0,this.landingPage=void 0,this.isSignedIn=void 0,this.user=void 0,this.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.closeLandingPage=void 0,this.ready=!1,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){o(this),await this.initSignIn()}render(){const i=this.ready?this.renderContent():null;return t(a,{key:"f2e2d8eb7db6b7817dd5b7d943cb602e2474431a"},i)}renderContent(){return"landingPage"===this.type?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return t("div",{class:"instant-apps-sign-in__container"},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){var i,n,a,s,o,e,r;return t("calcite-dropdown",{placement:"bottom-end",scale:"navigation"===this.type?"m":"s"},"navigation"===this.type?t("calcite-navigation-user",{slot:"trigger",thumbnail:null===(i=this.user)||void 0===i?void 0:i.thumbnailUrl,"full-name":null===(n=this.user)||void 0===n?void 0:n.fullName,username:null===(a=this.user)||void 0===a?void 0:a.username,textDisabled:!0}):t("button",{slot:"trigger"},t("calcite-avatar",{thumbnail:null===(s=this.user)||void 0===s?void 0:s.thumbnailUrl,"full-name":null===(o=this.user)||void 0===o?void 0:o.fullName,username:null===(e=this.user)||void 0===e?void 0:e.username})),t("calcite-dropdown-group",{"selection-mode":"none"},t("calcite-dropdown-item",{onClick:this.signOut.bind(this)},null===(r=this.messages)||void 0===r?void 0:r.signOut)))}renderSignInButton(){var i;const n="navigation"===this.type?"transparent":"solid";return t("calcite-button",{class:"navigation"===this.type?"instant-apps-sign-in__sign-in-btn":"",onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:n},null===(i=this.messages)||void 0===i?void 0:i.signIn)}renderLandingPageSignIn(){var i,n;return t("div",{class:"instant-apps-sign-in__entry-button-container"},t("calcite-button",{class:e,scale:"l",appearance:"outline-fill",width:"half",onClick:this.landingPageSignIn.bind(this)},null===(i=this.messages)||void 0===i?void 0:i.signIn),t("calcite-button",{class:e,scale:"l",appearance:"outline-fill",width:"half",onClick:this.guestOnClick.bind(this)},null===(n=this.messages)||void 0===n?void 0:n.continueAsGuest))}async initSignIn(){if(null==this.portal||null==this.oauthappid)return;const[i,t,n]=await s(["esri/identity/OAuthInfo","esri/identity/IdentityManager","esri/core/reactiveUtils"]);this.idManager=t,this.info=new i({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,await n.whenOnce((()=>this.portal.user)),this.user=this.portal.user,this.ready=!0}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){var i;null===(i=this.portal.credential)||void 0===i||i.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;const t=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${t}`}async landingPageSignIn(){await this.signIn(),null!=this.closeLandingPage&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():null!=this.closeLandingPage&&this.closeLandingPage()}async checkSignInStatus(){try{const i=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=i,!0}catch(i){return this.portal.credential=null,!1}}setSignInLocalStorage(){const i=new Date;localStorage.setItem("signing-in",i.getTime().toString()),setTimeout((()=>{localStorage.removeItem("signing-in")}),2e3)}get el(){return n(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};r.style=":host{display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}";export{r as instant_apps_sign_in}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{n,a as e,i as t,b as r}from"./p-939bc1b4.js";import{d as u}from"./p-9f0b8f8b.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.0
|
11
|
-
*/const i=5;function o(n,t,u=!0,i){const o={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:r(t)};return u&&(o.second="2-digit",i&&(o.fractionalSecondDigits=i)),e(n,o)}function a(n,e){if(null==n)return;const t=n.toString(),r=u(n);if(n<1&&r>0&&r<4){const n=t.replace("0.","");return e&&n.length!==e&&n.length<e?n.padEnd(e,"0"):n}return n>=0&&n<10?t.padStart(2,"0"):n>=10?t:void 0}function l(n){if(!S(n))return null;const{hour:e,minute:t,second:r,fractionalSecond:u}=h(n);let i=`${a(parseInt(e))}:${a(parseInt(t))}`;return r&&(i+=`:${a(parseInt(r))}`,u&&(i+=`.${u}`)),i}function c(n,e){return d("meridiem",o(n,e).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}function s(e,t){return n.numberFormatOptions={locale:e,numberingSystem:t},n.localize("1.1").split("")[1]}function f(n,e,t="latn"){return d(`${n}Suffix`,o(e,t).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))}function d(n,e){if(!n||!e)return null;if("hourSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"hour"===n))),t=e.indexOf(e.find((({type:n})=>"minute"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("minuteSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"minute"===n))),t=e.indexOf(e.find((({type:n})=>"second"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("secondSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"second"===n))),t=e[n+1];return t&&"literal"===t.type&&t.value?.trim()||null}return e.find((({type:e})=>"meridiem"==n?"dayPeriod"===e:e===n))?.value||null}function m(n){if(!t(n))return null;const e=parseInt(n);return e>=0&&e<=11?"AM":"PM"}function p(n){if("ar"===n||"he"===n)return 0;const e=function({value:n,locale:e,numberingSystem:t}){if(!S(n))return null;const{hour:r,minute:u,second:i="0"}=h(n),a=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(u),parseInt(i)));return a?o(e,t).formatToParts(a):null}({value:"00:00:00",locale:n,numberingSystem:"latn"});return e.findIndex((n=>"dayPeriod"===n.type))}function S(n){if(!n||n.startsWith(":")||n.endsWith(":"))return!1;const e=n.split(":");if(!(e.length>1&&e.length<4))return!1;const[r,u,i]=e,o=parseInt(e[0]),a=parseInt(e[1]),l=parseInt(e[2]),c=t(r)&&o>=0&&o<24,s=t(u)&&a>=0&&a<60,f=t(i)&&l>=0&&l<60;return!!(c&&s&&!i||c&&s&&f)||void 0}function I({value:e,part:r,locale:u,numberingSystem:i}){if("fractionalSecond"===r){const t=s(u,i);let r=null;if(e){n.numberFormatOptions={locale:u,numberingSystem:i};const o=n.localize("0");0===parseInt(e)?r="".padStart(e.length,o):(r=n.localize(`0.${e}`).replace(`${o}${t}`,""),r.length<e.length&&(r=r.padEnd(e.length,o)))}return r}if(!function(n,e){if("meridiem"===e)return"AM"===n||"PM"===n;if(!t(n))return!1;const r=Number(n);return"hour"===e?r>=0&&r<24:r>=0&&r<60}(e,r))return;const a=parseInt(e),l=new Date(Date.UTC(0,0,0,"hour"===r?a:"meridiem"===r?"AM"===e?0:12:0,"minute"===r?a:0,"second"===r?a:0));return l?d(r,o(u,i).formatToParts(l)):void 0}function y({value:n,locale:e,numberingSystem:t,includeSeconds:r=!0,fractionalSecondDigits:u}){if(!S(n))return null;const{hour:i,minute:a,second:l="0",fractionalSecond:c}=h(n),s=new Date(Date.UTC(0,0,0,parseInt(i),parseInt(a),parseInt(l),c&&parseInt((parseFloat(`0.${c}`)/.001).toFixed(3))));return o(e,t,r,u).format(s)||null}function b({value:n,locale:e,numberingSystem:t="latn"}){if(!S(n))return null;const{hour:r,minute:u,second:i="0",fractionalSecond:a}=h(n),l=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(u),parseInt(i)));if(l){const n=o(e,t).formatToParts(l);return{localizedHour:d("hour",n),localizedHourSuffix:d("hourSuffix",n),localizedMinute:d("minute",n),localizedMinuteSuffix:d("minuteSuffix",n),localizedSecond:d("second",n),localizedDecimalSeparator:s(e,t),localizedFractionalSecond:I({value:a,part:"fractionalSecond",locale:e,numberingSystem:t}),localizedSecondSuffix:d("secondSuffix",n),localizedMeridiem:d("meridiem",n)}}return null}function h(n){if(S(n)){const[e,t,r]=n.split(":");let u=r,i=null;return r?.includes(".")&&([u,i]=r.split(".")),{fractionalSecond:i,hour:e,minute:t,second:u}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function g(n,e=!0){if(!S(n))return"";const{hour:t,minute:r,second:u,fractionalSecond:i}=h(n);let o=`${a(parseInt(t))}:${a(parseInt(r))}`;return e&&(o+=`:${a(parseInt(e&&u||"0"))}`,i&&(o+=`.${i}`)),o}export{a,b,f as c,s as d,I as e,l as f,m as g,c as h,S as i,p as j,y as l,i as m,h as p,g as t}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as a,c as t,h as n,H as s,F as e,g as i}from"./p-6eb37ed2.js";import{g as r,a as l,s as o,E as c,b as p,l as g,c as u}from"./p-6070857c.js";import{l as d}from"./p-4cd4cb85.js";import{c as h}from"./p-7bfecd07.js";import{g as v,f as m,L as _}from"./p-7eb5d31a.js";import"./p-720a12c0.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const b="instant-apps-language-translator",f={BASE:b,header:`${b}__header`,headerText:`${b}__header-text`,savingIndicator:`${b}__saving-indicator`,closeButton:`${b}__close-button`,headerTip:`${b}__header-tip`,topBar:`${b}__top-bar`,topBarSection:`${b}__top-bar-section`,collapseSearchContainer:`${b}__collapse-search-container`,userLangText:`${b}__user-lang-text`,lastItem:`${b}--last-item`,writingIcon:`${b}__writing-icon`},x=class{constructor(n){a(this,n),this.translatorDataUpdated=t(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}async componentDidLoad(){this.initialize()}async initialize(){const[a,t]=await d(["esri/intl","esri/request"]);this.intl=a,this.request=t,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{const{el:a}=this,t=await r(a);return this.messages=t,Promise.resolve()}catch(a){return Promise.reject()}}initUIData(){const{appSettings:a,locales:t}=this,n=l(a,t);o.set("uiData",n)}initSelectLanguage(){var a,t;if(!this.intl)return;const{locales:n}=this,s=null!==(t=null===(a=null==n?void 0:n[0])||void 0===a?void 0:a.locale)&&void 0!==t?t:this.intl.getLocale(),e=o.get("currentLanguage");0===this.locales.filter((a=>a.locale===e)).length&&o.set("currentLanguage",s)}async initPortalItemResourceT9nData(){try{const a=await v(this.portalItem);o.set("portalItemResource",a);const t=await m(this.request,a);o.set("portalItemResourceT9n",null!=t?t:{})}catch(a){}}render(){return n(s,{key:"2c017345058f822812f4f26d7360e40fa8a4cab1"},this.renderModal(),this.renderPopoverTip())}renderModal(){return n("calcite-modal",{open:this.open,scale:"l",fullscreen:!0,onCalciteModalClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryButton())}renderPopoverTip(){var a;return n("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},n("div",{class:f.headerTip},null===(a=this.messages)||void 0===a?void 0:a.headerTip))}renderHeader(){const a=o.get("saving");return n("header",{class:f.header,slot:"header"},this.renderHeaderText(),a?this.renderSavingIndicator():null)}renderHeaderText(){const{messages:a}=this;return n("div",{class:f.headerText},n("span",null,null==a?void 0:a.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:c.Popover,scale:"s"})))}renderSavingIndicator(){var a;const t=o.get("saving"),s=null===(a=this.messages)||void 0===a?void 0:a.saving;return n("div",{class:f.savingIndicator},t?n("calcite-loader",{label:s,inline:!0}):null,n("span",null,s))}renderContent(){const a=p(this.locales);return n("div",{slot:"content"},this.renderTopBar(),(null==a?void 0:a.length)>0?this.renderUIData():this.renderNotice())}renderTopBar(){return n("div",{class:f.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:f.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.languages,s=h();return n("div",{class:f.userLangText},null==t?void 0:t[s])}renderCollapseSearchContainer(){return n("div",{class:f.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){const{isCollapse:a,messages:t}=this,s=a?null==t?void 0:t.collapseAll:null==t?void 0:t.expandAll;return n(e,null,n("slot",{name:"primary-custom-action"}),n("slot",{name:"secondary-custom-action"}),n("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":c.ExpandCollapse},s))}renderSearch(){var a;return n("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:null===(a=this.messages)||void 0===a?void 0:a.searchPlaceholder})}renderTrailingTopBarSection(){return n("div",{class:f.topBarSection},this.renderLanguageSelection(),n("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){var a;return n("calcite-label",{layout:"inline"},null===(a=this.messages)||void 0===a?void 0:a.translatedLanguage,n("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){const a=o.get("uiData"),t=null==a?void 0:a.get("locales"),s=p(t),e=Object.keys(_.partial);return null==s?void 0:s.map((a=>{const t=-1!==e.indexOf(a),s=_[t?"partial":"full"],{language:i,translated:r}=s[a];return n("calcite-option",{key:`translated-lang-option-${a}`,value:a},`${i} - ${r}`)}))}renderUIData(){if(!(null==g?void 0:g.uiData))return;const a=u();return n("div",null,null==a?void 0:a.map(((t,n)=>this.renderUIDataItem(t,n,a.length))))}renderNotice(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.noLanguage;return n("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},n("div",{slot:"title"},null==t?void 0:t.title),n("div",{slot:"message"},null==t?void 0:t.message))}renderUIDataItem(a,t,s){var e,i;const r=null===(i=null===(e=this.appSettings)||void 0===e?void 0:e.translatedLanguageLabels)||void 0===i?void 0:i[g.currentLanguage],l=`${t===s-1?f.lastItem:""}`,o=this.appSettings.content.filter((t=>t.id===a))[0];return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:l,fieldName:a,translatedLanguageLabels:r,setting:o,userLocaleInputOnChangeCallback:this.userLocaleInputOnChangeCallback,translatedLocaleInputOnChangeCallback:this.translatedLocaleInputOnChangeCallback})}renderPrimaryButton(){var a;return n("calcite-button",{onClick:()=>this.open=!1,slot:"primary",class:f.closeButton},null===(a=this.messages)||void 0===a?void 0:a.close)}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(g.uiData);u().forEach((t=>a.get(t).expanded=this.isCollapse)),o.set("uiData",a)}onSuggestionSelect(a){const t=a.detail,n=new Map(g.uiData);u().forEach((a=>{n.get(a).selected=a===t})),o.set("uiData",n)}close(){this.open=!1}handleLanguageSelection(a){o.set("currentLanguage",a.target.value)}async getTranslationData(){return o.get("portalItemResourceT9n")}async setTranslationData(a){return o.set("portalItemResourceT9n",a)}async getPortalItemResource(){return o.get("portalItemResource")}async batchWriteToPortalItemResource(a){o.set("saving",!0);try{const t=await this.getPortalItemResource(),n=JSON.stringify(a),s=new Blob([n],{type:"application/json"});return await t.update(s),setTimeout((()=>o.set("saving",!1)),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),o.set("saving",!1),Promise.reject()}}get el(){return i(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};x.style=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:0;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}";export{x as instant_apps_language_translator}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import{r as t,h as i,g as s,c as e,H as a,F as o}from"./p-6eb37ed2.js";import{c as h}from"./p-c638d28e.js";import{c as n,s as c,a as r}from"./p-18f18ab3.js";import{a as l}from"./p-68ec5c15.js";import{c as d,u as f,d as p,I as m}from"./p-415cf05e.js";import{c as b,d as y}from"./p-939bc1b4.js";import{c as g,s as u,d as w,u as v}from"./p-1a9a47a0.js";import{S as k}from"./p-56601650.js";import{l as _,f as x,g as L}from"./p-2058b5d9.js";import{a as C,g as S,b as E,d as I,c as F}from"./p-eb483242.js";import"./p-acaae81d.js";import"./p-ff8343ec.js";import"./p-b39c5275.js";import"./p-fe6f7734.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";
|
7
|
-
/*!
|
8
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.12.0
|
11
|
-
*/const W="frame",j="frame--advancing",M="frame--retreating",D=class{constructor(i){t(this,i),this.itemMutationObserver=h("mutation",(()=>this.updateFlowProps())),this.getFlowDirection=(t,i)=>t&&i>1||t>1?i<t?"retreating":"advancing":null,this.updateFlowProps=()=>{const{customItemSelectors:t,el:i,items:s}=this,e=Array.from(i.querySelectorAll("calcite-flow-item"+(t?`,${t}`:""))).filter((t=>t.closest("calcite-flow")===i)),a=s.length,o=e.length,h=e[o-1],n=e[o-2];if(o&&h&&e.forEach((t=>{t.showBackButton=t===h&&o>1,t.hidden=t!==h})),n&&(n.menuOpen=!1),this.items=e,a!==o){const t=this.getFlowDirection(a,o);this.itemCount=o,this.flowDirection=t}},this.customItemSelectors=void 0,this.flowDirection=null,this.itemCount=0,this.items=[]}async back(){const{items:t}=this,i=t[t.length-1];if(!i)return;const s=i.beforeBack?i.beforeBack:()=>Promise.resolve();try{await s.call(i)}catch(t){return}return i.remove(),i}async setFocus(){await n(this);const{items:t}=this,i=t[t.length-1];return i?.setFocus()}connectedCallback(){this.itemMutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateFlowProps()}async componentWillLoad(){c(this)}componentDidLoad(){r(this)}disconnectedCallback(){this.itemMutationObserver?.disconnect()}async handleItemBackClick(t){if(!t.defaultPrevented)return await this.back(),this.setFocus()}render(){const{flowDirection:t}=this;return i("div",{key:"93590e2eec869cef65a59c01aa2c6001b431da9a",class:{[W]:!0,[j]:"advancing"===t,[M]:"retreating"===t}},i("slot",{key:"5b97e4147abb053391f170f5e36bac4670934072"}))}get el(){return s(this)}};D.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0px}:host ::slotted(calcite-flow-item),:host ::slotted(calcite-panel){block-size:100%}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation:calcite-frame-advance var(--calcite-animation-timing)}:host .frame--retreating{animation:calcite-frame-retreat var(--calcite-animation-timing)}@keyframes calcite-frame-advance{0%{--tw-bg-opacity:0.5;transform:translate3d(50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity:0.5;transform:translate3d(-50px, 0, 0)}100%{--tw-bg-opacity:1;transform:translate3d(0, 0, 0)}}:host([hidden]){display:none}[hidden]{display:none}";
|
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.0
|
16
|
-
*/
|
17
|
-
const z=class{constructor(i){t(this,i),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",7),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.calciteFlowItemToggle=e(this,"calciteFlowItemToggle",6),this.handleInternalPanelScroll=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.calciteFlowItemScroll.emit())},this.handleInternalPanelClose=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.closed=!0,this.calciteFlowItemClose.emit())},this.handleInternalPanelToggle=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.collapsed=t.target.collapsed,this.calciteFlowItemToggle.emit())},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.beforeBack=void 0,this.beforeClose=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.overlayPositioning="absolute",this.scale="m",this.showBackButton=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){d(this),b(this),g(this)}async componentWillLoad(){await u(this),c(this)}componentDidRender(){f(this)}disconnectedCallback(){p(this),y(this),w(this)}componentDidLoad(){r(this)}effectiveLocaleChange(){v(this,this.effectiveLocale)}async setFocus(){await n(this);const{backButtonEl:t,containerEl:i}=this;return t?t.setFocus():i?i.setFocus():void 0}async scrollContentTo(t){await(this.containerEl?.scrollContentTo(t))}renderBackButton(){const{el:t}=this,s="rtl"===l(t),{showBackButton:e,backButtonClick:a,messages:o}=this,h=o.back;return e?i("calcite-action",{"aria-label":h,class:"back-button",icon:s?"chevron-right":"chevron-left",key:"flow-back-button",onClick:a,ref:this.setBackRef,scale:"s",slot:"header-actions-start",text:h,title:h}):null}render(){const{collapsed:t,collapseDirection:s,collapsible:e,closable:o,closed:h,description:n,disabled:c,heading:r,headingLevel:l,loading:d,menuOpen:f,messages:p,overlayPositioning:b,beforeClose:y}=this;return i(a,{key:"166a2f53829cecc09019a7fa3fe670b5e4e42146"},i(m,{key:"53f00fb0e5ec53b8a19efde1592e1bff176302d1",disabled:c},i("calcite-panel",{key:"a24ff76af240b1403ebfa5810bc8fe0443901040",beforeClose:y,closable:o,closed:h,collapseDirection:s,collapsed:t,collapsible:e,description:n,disabled:c,heading:r,headingLevel:l,loading:d,menuOpen:f,messageOverrides:p,onCalcitePanelClose:this.handleInternalPanelClose,onCalcitePanelScroll:this.handleInternalPanelScroll,onCalcitePanelToggle:this.handleInternalPanelToggle,overlayPositioning:b,ref:this.setContainerRef,scale:this.scale},this.renderBackButton(),i("slot",{key:"9051287e5b89eaca28b440816cbcddc03cefed73",name:"action-bar",slot:k.actionBar}),i("slot",{key:"566fb396078d3eac17fbff69e0cd43fb5b8ca13e",name:"alerts",slot:k.alerts}),i("slot",{key:"88ced257238e369cd99250c9d5a93fa03746fbd5",name:"header-actions-start",slot:k.headerActionsStart}),i("slot",{key:"beab9f93af9deed383adc8250ec943b883e058b8",name:"header-actions-end",slot:k.headerActionsEnd}),i("slot",{key:"1f1c7579d1ac1085004b08d2f57ec8b9e0641e35",name:"header-content",slot:k.headerContent}),i("slot",{key:"3696e4a7e80db48581f438336007a1b63a201040",name:"header-menu-actions",slot:k.headerMenuActions}),i("slot",{key:"370e0817cbc13d7cf4c8adaccff8fe9d7c91c859",name:"fab",slot:k.fab}),i("slot",{key:"d55cc859cb1c9c6cc80a63521aad955f6e23d31c",name:"content-top",slot:k.contentTop}),i("slot",{key:"7cea1750cd59d1fdda66516c9b4c78884127dde5",name:"content-bottom",slot:k.contentBottom}),i("slot",{key:"d07ed2f97623023312cdb0a5a01b909286f34373",name:"footer-start",slot:k.footerStart}),i("slot",{key:"fdc209c1e77fd62cadaaad0ee576e71a1f0419d8",name:"footer",slot:k.footer}),i("slot",{key:"5348d32cc42b7fa3b07e4b5ef711863f6ce812bc",name:"footer-end",slot:k.footerEnd}),i("slot",{key:"bad7644787a3ad19ef40931fb38cfe9c18962b27",name:"footer-actions",slot:k.footerActions}),i("slot",{key:"97675398537cc86f41a219126e17bcf24cf4682b"}))))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};z.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([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;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding);--calcite-panel-header-border-block-end:var(--calcite-flow-item-header-border-block-end)}:host([hidden]){display:none}[hidden]{display:none}";const T=class{constructor(i){t(this,i),this.success=e(this,"success",7),this.fail=e(this,"fail",7),this.drawComplete=e(this,"drawComplete",7),this.editingAttachment=e(this,"editingAttachment",7),this.progressStatus=e(this,"progressStatus",7),this.modeChanged=e(this,"modeChanged",7),this.mapView=void 0,this.selectedLayerId=void 0,this.customizeSubmit=!1,this.searchConfiguration=void 0,this.isMobile=void 0,this.floorLevel=void 0,this.formElements=void 0,this._editorLoading=!1,this._showSearchWidget=void 0}get el(){return s(this)}Editor;ExpressionInfo;FieldElement;FormTemplate;_editor;FeatureLayer;MapView;_updatedMapView;Search;_search;reactiveUtils;_addingAttachment;_container;_mapViewContainer;_isSubmitBtnClicked=!1;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async close(){this._editor&&this._editor.destroy()}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(t){this._editor&&this._setFloorLevel(t)}success;fail;drawComplete;editingAttachment;progressStatus;modeChanged;async componentWillLoad(){await this.initModules()}async componentDidLoad(){await this.init()}render(){const t=this._showSearchWidget?"":"display-none",s=this._editorLoading?"display-none":"",e=this.isMobile?"show-map":"display-none";return i(o,{key:"aac8fd8fe4ba5d7fb67a2b74a86147e053c1b0b8"},i("calcite-loader",{key:"e440bd2e0f4cf5acf4fd6941ada508c8ac5a0380",class:this._editorLoading?"":"display-none",label:"",scale:"s"}),i("div",{key:"055a4e4b30b1fe24e0735257fa54fa9845cbaf2f",class:s,id:"feature-form"}),i("div",{key:"342847f06ba99ad3c9693026bc83a8ac18b6c05f",class:`search-widget ${t} ${s}`,id:"search-widget-ref"}),i("div",{key:"0acb837b4604d8d590bbfbcd738a3e09a099c362",class:`${e}`,ref:t=>{this._mapViewContainer=t}}))}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){const[t,i,s,e,a,o,h]=await _(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=t,this.reactiveUtils=i,this.Search=s,this.ExpressionInfo=e,this.FieldElement=a,this.FormTemplate=o,this.MapView=h}async createMobileMapView(){this._mapViewContainer.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer}).when((t=>{this._updatedMapView=t,this._loadWidgets()}),(t=>{console.log(t)}))}async _loadWidgets(){await this.createEditorWidget(),await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();const t=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),(await C(this._updatedMapView)).forEach((async i=>{t.push({layer:i,enabled:"feature"===i?.type&&i?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._editor=new this.Editor({allowedWorkflows:"create-features",view:this._updatedMapView,layerInfos:t,visibleElements:{snappingControls:!1},container:this._container}),this._mapViewContainer?this.el.insertBefore(this._container,this._mapViewContainer):this.el.appendChild(this._container);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{console.log(`this._editor.viewModel.state: ${t}`),console.log(`this._editor.viewModel?.activeWorkflow?.type: ${this._editor.viewModel?.activeWorkflow?.type}`),"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{console.log(`this._editor.viewModel.featureTemplatesViewModel.state: ${t}`),console.log(`this._editor.viewModel?.activeWorkflow?.type: ${this._editor.viewModel?.activeWorkflow?.type}`),"ready"===t&&"create-features"!==this._editor.viewModel?.activeWorkflow?.type&&(this.progressStatus.emit(.5),this._editorLoading=!0)}));this._editor.viewModel.addHandles(s);const e=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&(this._mapViewContainer?.classList?.replace("show-map","hide-map"),this._setFloorLevel(this.floorLevel),this._showSearchWidget=!1,this.progressStatus.emit(1),this.drawComplete.emit())}));this._editor.viewModel.addHandles(e);const a=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{console.log(`==============================this._editor.viewModel.state: ${t}`),"creating-features"===t&&(this._mapViewContainer?.classList?.replace("hide-map","show-map"),this._showSearchWidget=!0)}));this._editor.viewModel.addHandles(a)}async startCreate(){return console.log("========================startCreate=============================="),await this.hideEditorsElements(),new Promise(((t,i)=>{if(this._editor.viewModel.featureTemplatesViewModel.items?.length){const s=this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");this._editor.viewModel.featureTemplatesViewModel.on("select",(()=>{this.progressStatus.emit(.75),setTimeout((()=>{this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)),this.hideEditorsElements().then((()=>{t({})}),(t=>i(t)))}),700)})),1===s.length&&this._editor.viewModel.featureTemplatesViewModel.select(s[0]);const e=s.length>1;this.hideEditorsElements().then((()=>{e&&t({})}),(t=>e&&i(t)))}}))}async createSearchWidget(){let t={view:this._updatedMapView};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(t),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;const i=await S(this._updatedMapView,this.selectedLayerId);let s=null;this._search.on("search-complete",(t=>{this._updatedMapView.goTo(t.results[0].results[0].extent),"point"===i.geometryType&&(s=t.results[0].results[0]?.feature.geometry)}));const e=this.reactiveUtils.watch((()=>this._search.viewModel.state),(t=>{"ready"===t&&setTimeout((()=>{this._editor.viewModel.sketchViewModel.createGraphic&&s&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",s),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())}),100)}));this._search.viewModel.addHandles(e)}_getSearchConfig(t,i){const s=t.sources;return s?.length>0?(t.includeDefaultSources=!1,s.forEach((t=>{if(t.hasOwnProperty("layer")){const s=t,e=s.layer?.id,a=e?i.map.findLayerById(e):null,o=s?.layer?.url;a?s.layer=a:o&&(s.layer=new this.FeatureLayer(o))}})),s?.forEach((t=>{if(t.hasOwnProperty("locator")){const i=t;"ArcGIS World Geocoding Service"===i?.name&&(i.outFields=i.outFields||["Addr_type","Match_addr","StAddr","City"],i.singleLineFieldName="SingleLine"),i.url=i.url,delete i.url}}))):t={...t,includeDefaultSources:!0},t}async _setFloorLevel(t){if(!t)return;const i=await S(this._updatedMapView,this.selectedLayerId);if(i?.floorInfo?.floorField){const s=i.fields.find((t=>t.name===i.floorInfo.floorField));if(s&&!i?.formTemplate)this._editor.viewModel.featureFormViewModel.setValue(s.name,t),s.editable=!1;else if(i.formTemplate&&this.formElements){const s=new this.ExpressionInfo({expression:`"${t}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),e=new this.FieldElement({label:i.floorInfo.floorField,editableExpression:"false",fieldName:i.floorInfo.floorField,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:s.name});this._updatedMapView.map.editableLayers.forEach((t=>{const i=this.formElements.orgExpressionInfos,a=[...this.formElements.orgElements];a.push(e);const o=new this.FormTemplate({title:t.formTemplate.title,description:t.formTemplate.description,elements:a,expressionInfos:[s].concat(i)});t.formTemplate=o}))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}static get watchers(){return{mapView:["mapViewWatchHandler"],isMobile:["isMobileHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};T.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.esri-editor__update-actions{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 0 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute;bottom:0;width:calc(100% - 22px);height:50%}";const H=class{constructor(i){t(this,i),this.success=e(this,"success",7),this.fail=e(this,"fail",7),this.isActionPending=e(this,"isActionPending",7),this.formReady=e(this,"formReady",7),this.mapView=void 0,this.table=void 0,this.selectedFeature=void 0,this.customizeSubmit=!1,this._editorLoading=!1}get el(){return s(this)}Editor;_editor;reactiveUtils;_container;_addingAttachment;_isSubmitBtnClicked=!1;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async close(){this._editor&&this._editor.destroy()}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}success;fail;isActionPending;formReady;async componentWillLoad(){await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){const[t,i]=await _(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=i}render(){return i("calcite-loader",{key:"f78b296f74ee01aadc0443abd0bb78b68a7d9f3e",class:this._editorLoading?"":"display-none",label:"",scale:"s"})}async componentDidLoad(){await this.init()}async createEditorWidget(){this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this._editor=new this.Editor({view:this.mapView,visibleElements:{snappingControls:!1},container:this._container}),this.el.appendChild(this._container);const t=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&(this._editorLoading=!0)}));this._editor.viewModel.addHandles(t);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&this.formReady.emit()}));this._editor.viewModel.addHandles(s)}async startCreate(){const t=this.selectedFeature.layer,i=this.table,s=t.relationships[0],e=i.relationships.find((i=>t.layerId===i.relatedTableId)),a=await t.queryFeatures({objectIds:[this.selectedFeature.getObjectId()],outFields:[t.objectIdField,s.keyField]}),o=i.templates[0],h={attributeOverrides:this.makeAttributesForRelatedFeature(a.features[0],s,e),layer:i,template:o};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(h),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const i=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");i?.querySelector("header")?.setAttribute("style","display: none"),i?.querySelector("footer")?.setAttribute("style","display: none")})))}makeAttributesForRelatedFeature(t,i,s){const e=i.keyField;let a;t.attributes.hasOwnProperty(e)?a=t.getAttribute(e):t.attributes.hasOwnProperty(e.toLowerCase())?a=t.getAttribute(e.toLowerCase()):t.attributes.hasOwnProperty(e.toUpperCase())&&(a=t.getAttribute(e.toUpperCase()));let o=s.keyField;const h=this.table.fields.find((t=>t.name.toLocaleLowerCase()===o.toLocaleLowerCase()));return o=h.name,{[o]:a}}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((i=>setTimeout(i,t)))}static get watchers(){return{mapView:["mapViewWatchHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};H.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}";const V=class{constructor(i){t(this,i),this.loadingStatus=e(this,"loadingStatus",7),this.commentSelect=e(this,"commentSelect",7),this.featureSelectionChange=e(this,"featureSelectionChange",7),this.mapView=void 0,this.graphics=void 0,this.reportingOptions=void 0,this.layerItemsHash=void 0,this.showUserImageInCommentsList=!1,this._likeFieldAvailable=!1,this._likeCount=0,this._disLikeCount=0,this._dislikeFieldAvailable=!1,this._commentsAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._relatedFeaturesOIDs=void 0,this._updating=!1}get el(){return s(this)}_infoCard;_commentsList;_selectedGraphic;_likeField;_dislikeField;Graphic;RelationshipQuery;_validFieldTypes=["small-integer","integer","big-integer","single","long"];relatedTableId;async graphicsWatchHandler(){await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}async refresh(t){await this.getCompleteGraphic(t),await this.processComments(),this.isLikeDislikeConfigured(t.layer)?t&&this.graphics.length>1&&this.checkLikeDislikeFields():(this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1)}async back(){this._infoCard.back()}async next(){this._infoCard.next()}async toggleListView(){this._infoCard.toggleListView()}loadingStatus;commentSelect;featureSelectionChange;async componentWillLoad(){await this._initModules(),await this.getCompleteGraphic(this.graphics[0]),this.checkLikeDislikeFields(),await this.processComments()}render(){const t=this._relatedFeaturesOIDs?.length>0?`objectId in(${this._relatedFeaturesOIDs})`:"1=0";return i("calcite-panel",{key:"a2d31f643b1a361343eb502ede98a35ea954f244","full-height":!0},i("info-card",{key:"4ba44decfa3f155034d3edfdf8ab3e7df5f1ea8a",allowEditing:!1,graphics:this.graphics,highlightEnabled:!1,isLoading:!1,isMobile:!1,mapView:this.mapView,onSelectionChanged:t=>{this.featureSelectionChange.emit(t.detail)},paginationEnabled:!1,position:"relative",ref:t=>this._infoCard=t}),(this._likeFieldAvailable||this._dislikeFieldAvailable||this._commentsAvailable)&&i("div",{key:"0f7af99fd964da408f3131385cfd617138f40151",class:"buttons-container"},this._commentsAvailable&&i("div",{key:"6ce7b090a07db23c542fc7aaacf9cc8a39987483",class:"comment-btn"},i("span",{key:"fcce9266efa253c679dcb69f308c07950f5e2693"},this._relatedFeaturesOIDs.length),i("calcite-icon",{key:"25355a5c195824e473a390f196d28c909c1348eb",icon:"speech-bubble",scale:"s"})),this._likeFieldAvailable&&i("calcite-button",{key:"6dca1c0f2ca14f662de98362cbe7ef0993fad6b8",appearance:"transparent",iconEnd:"thumbs-up",kind:this._isLikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onLikeButtonClick.bind(this),scale:"m"},this._likeCount??this._selectedGraphic.attributes[this._likeField]??0),this._dislikeFieldAvailable&&i("calcite-button",{key:"9d1c0a5938806645a24a757f06e31b13587912dc",appearance:"transparent",iconEnd:"thumbs-down",kind:this._isDislikeBtnClicked?"brand":"neutral",loading:this._updating,onClick:this.onDislikeButtonClick.bind(this),scale:"m"},this._disLikeCount??this._selectedGraphic.attributes[this._dislikeField]??0)),this.relatedTableId&&this._commentsAvailable&&i("feature-list",{key:"73f81c666a054b2c9f02246fcc7ea4811494c106",class:"height-full",mapView:this.mapView,onFeatureSelect:t=>{this.commentSelect.emit(t.detail)},pageSize:5,ref:t=>this._commentsList=t,selectedLayerId:this.relatedTableId,showErrorWhenNoFeatures:!1,showInitialLoading:!1,showUserImageInList:this.showUserImageInCommentsList,textSize:"small",whereClause:t}))}async _initModules(){const[t,i]=await _(["esri/rest/support/RelationshipQuery","esri/Graphic"]);this.RelationshipQuery=t,this.Graphic=i}async getCompleteGraphic(t){const i=t.layer,s=i.createQuery();s.objectIds=[t.getObjectId()];const e=await i.queryFeatures(s);this._selectedGraphic=e.features[0]}async processComments(){const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]&&this.reportingOptions[t.id].comment&&t.relationships?.length>0){const i=t.relationships[0].relatedTableId,s=(await E(this.mapView)).filter((s=>t.url===s.url&&i===s.layerId)),e=s?.length>0?s[0]:null;if(this.relatedTableId=e?.id??"",this.relatedTableId){const i=this._selectedGraphic.attributes[t.objectIdField],s=new this.RelationshipQuery({objectIds:[i],outFields:["*"],relationshipId:t.relationships[0].id}),a=await t.queryRelatedFeatures(s).catch((t=>{console.error(t)})),o=[];a[i]&&a[i].features.forEach((t=>{o.push(t.attributes[e.objectIdField])})),this._relatedFeaturesOIDs=o,this._commentsAvailable=!0}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1}else this._relatedFeaturesOIDs=[],this._commentsAvailable=!1,this.relatedTableId=""}isLikeDislikeConfigured(t){let i=!1,s=!1;if(this.reportingOptions&&this.reportingOptions[t.id]){if(!this.reportingOptions[t.id].like&&!this.reportingOptions[t.id].dislike)return!1;const e=this.reportingOptions[t.id].likeField,a=this.reportingOptions[t.id].dislikeField;if(!e&&!a)return!1;t.fields.forEach((o=>{this._validFieldTypes.indexOf(o.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(o.name===e&&this.reportingOptions[t.id].like?i=!0:o.name===a&&this.reportingOptions[t.id].dislike&&(s=!0))}))}return i||s}checkLikeDislikeFields(){this._likeFieldAvailable=!1,this._dislikeFieldAvailable=!1,this._isLikeBtnClicked=!1,this._isDislikeBtnClicked=!1,this._likeCount=0,this._disLikeCount=0;const t=this._selectedGraphic.layer;if(this.reportingOptions&&this.reportingOptions[t.id]){if(this._likeField=this.reportingOptions[t.id].likeField,this._dislikeField=this.reportingOptions[t.id].dislikeField,!this._likeField&&!this._dislikeField)return;t.fields.forEach((i=>{this._validFieldTypes.indexOf(i.type)>-1&&this.layerItemsHash[t.id].supportsUpdate&&(i.name===this._likeField&&this.reportingOptions[t.id].like?(this._likeFieldAvailable=!0,this._likeCount=this._selectedGraphic.attributes[i.name]):i.name===this._dislikeField&&this.reportingOptions[t.id].dislike&&(this._dislikeFieldAvailable=!0,this._disLikeCount=this._selectedGraphic.attributes[i.name]))})),this.getFromLocalStorage()}}onLikeButtonClick(){this._isDislikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].dislike&&this.onDislikeButtonClick(),this._isLikeBtnClicked=!this._isLikeBtnClicked,this._isLikeBtnClicked?this._likeCount++:this._likeCount--,this.updateFeaturesLikeDislikeField(this._likeField,this._isLikeBtnClicked)}onDislikeButtonClick(){this._isLikeBtnClicked&&this.reportingOptions[this._selectedGraphic.layer.id].like&&this.onLikeButtonClick(),this._isDislikeBtnClicked=!this._isDislikeBtnClicked,this._isDislikeBtnClicked?this._disLikeCount++:this._disLikeCount--,this.updateFeaturesLikeDislikeField(this._dislikeField,this._isDislikeBtnClicked)}async updateFeaturesLikeDislikeField(t,i){const s={},e=this._selectedGraphic.layer;this._updating=!0;const a=this._selectedGraphic;a.attributes[t]=Number(a.attributes[t])+(i?1:-1),s[e.objectIdField]=a.attributes[e.objectIdField],s[t]=a.attributes[t];const o=new this.Graphic;o.attributes=s;const h={updateFeatures:[o]};await e.applyEdits(h).then((()=>{this._selectedGraphic=a,this.setInLocalStorage(),this._updating=!1}),(t=>{this._updating=!1,console.log(t)}))}getFromLocalStorage(){const t=localStorage[this._selectedGraphic.layer.id];if(t){const i=JSON.parse(t).filter((t=>t.id===this._selectedGraphic.getObjectId()));i.length>0&&(this._isLikeBtnClicked=i[0].like,this._isDislikeBtnClicked=i[0].dislike)}}setInLocalStorage(){const t=this._selectedGraphic.layer.id,i=localStorage[t];let s=[];if(i){s=JSON.parse(i);const t=s.findIndex((t=>t.id===this._selectedGraphic.getObjectId()));t>=0&&s.splice(t,1)}s.push({id:this._selectedGraphic.getObjectId(),like:this._isLikeBtnClicked&&0!==this._likeCount,dislike:this._isDislikeBtnClicked&&0!==this._disLikeCount}),localStorage.setItem(t,JSON.stringify(s))}static get watchers(){return{graphics:["graphicsWatchHandler"]}}};V.style=":host{display:block}.buttons-container{align-items:center;display:flex;padding:4px;color:var(--calcite-color-text-1) !important;background-color:var(--calcite-color-foreground-1) !important;border-block-start:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3)}.comment-btn{display:flex;gap:10px;font-size:var(--calcite-font-size--1);align-items:center;padding:7px 0.75rem}";const A=class{constructor(i){t(this,i),this.layerSelect=e(this,"layerSelect",7),this.layersListLoaded=e(this,"layersListLoaded",7),this.mapView=void 0,this.layers=void 0,this.showFeatureCount=!0,this.showNextIcon=!1,this.applyLayerViewFilter=!1,this._noLayersToDisplay=!1,this._mapLayerIds=[],this._isLoading=!1,this._translations=void 0}get el(){return s(this)}_layerItemsHash;async refresh(){await this.setLayers()}layerSelect;layersListLoaded;async componentWillLoad(){await this._getTranslations(),this._isLoading=!0}async componentDidLoad(){await this.setLayers(),this._isLoading=!1}render(){return i(o,{key:"19f68b9a5d0b6c85832544e4281e1c4a1707ba86"},this._isLoading&&i("calcite-loader",{key:"c908f311165f8f520f267a0dcde0bd954863ba6b",label:"",scale:"m"}),!this._isLoading&&this.mapView&&this._noLayersToDisplay&&i("calcite-notice",{key:"56dfb252f998333ed6a671cccddd5683f08ad63d",class:"error-msg",icon:"layers-reference",kind:"danger",open:!0},i("div",{key:"a27ad45ac2b1984152af5a80da36583f7c375be6",slot:"title"},this._translations.error),i("div",{key:"a9466cb560b6ee2c72ebd18130ce21371f9e7cdf",slot:"message"},this._translations.noLayerToDisplayErrorMsg)),!this._isLoading&&this.mapView&&i("calcite-list",{key:"40e54ba92d2f48a97dd0987808f4b7fdefd266bb","selection-appearance":"border","selection-mode":"none"},this.renderLayerList()))}async setLayers(){this.mapView&&await this.initLayerHash()}async initLayerHash(){const t=[];this._layerItemsHash=await I(this.mapView,!0);const i=await C(this.mapView);for(const s of i)if("feature"===s?.type&&this.showFeatureCount){const i=s.createQuery();if(s?.definitionExpression&&(i.where=i.where+" AND "+s.definitionExpression),this.applyLayerViewFilter){const t=await F(this.mapView,s.id);t?.filter?.where&&(i.where=i.where?i.where+" AND "+t.filter.where:t.filter.where)}const e=s.queryFeatureCount(i);t.push(e),e.then((async t=>{const i=isNaN(t)?"":await x(t,{places:0,api:4,type:"decimal"});this._layerItemsHash[s.id].formattedFeatureCount=i}))}await Promise.all(t).then((()=>{const t=this.getLayersToBeShownInList(this._layerItemsHash);this._mapLayerIds=t.reverse(),this.handleNoLayersToDisplay()}),(()=>{this._mapLayerIds=[],this.handleNoLayersToDisplay()}))}handleNoLayersToDisplay(){this._noLayersToDisplay=!(this._mapLayerIds.length>0),this.layersListLoaded.emit(this._mapLayerIds)}getLayersToBeShownInList(t){const i=this.layers?.length>0?this.layers:[];return Object.keys(t).reduce(((t,s)=>(i.indexOf(s)>-1&&t.push(s),t)),[])}renderLayerList(){return this._mapLayerIds.length>0&&this._mapLayerIds.reduce(((t,i)=>(this._layerItemsHash[i]&&t.push(this.getLayerListItem(i)),t)),[])}getLayerListItem(t){const s=this._layerItemsHash[t].formattedFeatureCount;return i("calcite-list-item",{onCalciteListItemSelect:()=>{this.onLayerItemSelected(t)}},i("div",{class:"layer-name",slot:"content-start"},this._layerItemsHash[t].name),this.showFeatureCount&&void 0!==s&&""!==s&&i("div",{class:this.showNextIcon?"":"feature-count",slot:"content-end"},"("+s+")"),this.showNextIcon&&i("calcite-icon",{flipRtl:!0,icon:"chevron-right",scale:"s",slot:"content-end"}))}onLayerItemSelected(t){this.layerSelect.emit({layerId:t,layerName:this._layerItemsHash[t].name})}async _getTranslations(){const t=await L(this.el);this._translations=t[0]}};A.style=":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";export{D as calcite_flow,z as calcite_flow_item,T as create_feature,H as create_related_feature,V as feature_details,A as layer_list}
|