@esri/solutions-components 0.10.16 → 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 +9 -11
- 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 +6 -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 +3 -3
- 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 -20
- 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 +9 -11
- 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 +1 -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 +1 -1
- 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 -21
- package/dist/components/create-related-feature2.js +1 -1
- package/dist/components/crowdsource-manager.js +122 -126
- package/dist/components/crowdsource-reporter.js +8 -10
- 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 +1 -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 +1 -1
- 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 +9 -11
- 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 +6 -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 +3 -3
- 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 +4 -6
- package/dist/types/components/layer-table/layer-table.d.ts +68 -6
- package/dist/types/components.d.ts +47 -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 -1928
- 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 -1919
- 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-2737e44e.entry.js +0 -17
- 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-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-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-5907d17d.entry.js +0 -6
- 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-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-c5e05351.entry.js +0 -6
- 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-f0a23f46.entry.js +0 -6
- 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-f47d6a10.entry.js +0 -11
- package/dist/solutions-components/p-f6bc95b3.entry.js +0 -11
- package/dist/solutions-components/p-f89104bc.entry.js +0 -6
- package/dist/solutions-components/p-f91ae108.entry.js +0 -6
- package/dist/solutions-components/p-f9393949.entry.js +0 -6
- package/dist/solutions-components/p-fc58da4b.entry.js +0 -6
- package/dist/solutions-components/p-fce978b9.entry.js +0 -6
- package/dist/solutions-components/p-fe6f7734.js +0 -11
- package/dist/solutions-components/p-ff8343ec.js +0 -11
- /package/dist/solutions-components/{p-eb483242.js → p-d572627c.js} +0 -0
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as t}from"./p-363c89e1.js";import"./p-6eb37ed2.js";import"./p-eacb5b05.js";import"./p-8817162f.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-53e0faf4.js";import"./p-416c0818.js";import"./p-b51111e1.js";import"./p-cb860e39.js";import"./p-0afbf455.js";import"./p-1b147794.js";import"./p-32539121.js";import"./p-3832f6b0.js";import"./p-6c44ba5f.js";import"./p-a7ca67b9.js";import"./p-6df7b770.js";import"./p-fc8d6dcf.js";import"./p-2866ef30.js";import"./p-96a7e73d.js";import"./p-fe82bd8a.js";var m={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function(t){return t},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}};t.locale(m,null,!0);export{m as default}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import"./p-6eb37ed2.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.1
|
11
|
+
*/const _=globalThis.calciteConfig,o=_?.focusTrapStack||[],s=_?.logLevel||"info",e="__CALCITE_VERSION__";function i(){if(_&&_.version)return;console.info(`Using Calcite Components ${e} [Date: __CALCITE_BUILD_DATE__, Revision: __CALCITE_REVISION__]`);const o=_||globalThis.calciteConfig||{};Object.defineProperty(o,"version",{value:e,writable:!1}),globalThis.calciteConfig=o}export{o as f,s as l,i as s}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,c as t,h as a,H as i,g as n}from"./p-6eb37ed2.js";import{a as s,l as o,b as l}from"./p-cb860e39.js";import"./p-8817162f.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-0afbf455.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.1
|
11
|
+
*/const c=class{constructor(a){e(this,a),this.calciteInternalLabelClick=t(this,"calciteInternalLabelClick",2),this.labelClickHandler=e=>{"Range"!==window.getSelection()?.type&&this.calciteInternalLabelClick.emit({sourceEvent:e})},this.alignment="start",this.for=void 0,this.scale="m",this.layout="default"}handleForChange(){s(this.el)}connectedCallback(){document.dispatchEvent(new CustomEvent(o))}disconnectedCallback(){document.dispatchEvent(new CustomEvent(l))}render(){return a(i,{key:"739ed848a243f79c054a6f54053c51f9242894d3",onClick:this.labelClickHandler},a("div",{key:"8120cfb138e2400638a63a11e734fad32116bc4a",class:"container"},a("slot",{key:"b46b9328d7b02ed9e959d8db45e4fdb9711e969a"})))}get el(){return n(this)}static get watchers(){return{for:["handleForChange"]}}};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:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.5rem)}:host([scale=m]) .container{gap:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-block-end:var(--calcite-label-margin-bottom, 0.75rem)}:host([scale=l]) .container{gap:0.5rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1)}:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:0.5rem}:host([layout=inline][scale=l]) .container{gap:0.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity:1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity:0}: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_label}
|
@@ -0,0 +1,47 @@
|
|
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,f as a,g as o,H as s,d as n,F as l}from"./p-6eb37ed2.js";import{c,d as r}from"./p-131ca2b1.js";import{a as d,i as h,h as b,s as p,y as u,d as f,B as m,t as v,C as g,e as w,g as y}from"./p-8817162f.js";import{c as x,d as k}from"./p-32539121.js";import{c as z}from"./p-fc8d6dcf.js";import{c as C,s as _,d as I,u as T}from"./p-2866ef30.js";import{C as L}from"./p-3edf491f.js";import{g as H}from"./p-c6296ee6.js";import{c as S,a as j,b as W}from"./p-e3196917.js";import{c as D}from"./p-3832f6b0.js";import{c as A,d as E,I as F,u as M}from"./p-53e0faf4.js";import{g as R}from"./p-0afbf455.js";import{i as $}from"./p-416c0818.js";import{s as N,a as B,c as O}from"./p-1b147794.js";import{q as P,m as V,d as U,a as J,s as q,h as G,b as K,g as X,k as Y,t as Q,i as Z,c as tt,f as et,e as it,n as at,r as ot,j as st,l as nt,o as lt,p as ct,L as rt}from"./p-8ad16e95.js";import{d as dt,c as ht}from"./p-3795ce25.js";import{l as bt}from"./p-85002390.js";import{C as pt,S as ut}from"./p-ae53daf0.js";import{I as ft}from"./p-caa665a4.js";import{g as mt}from"./p-2058b5d9.js";import{s as vt}from"./p-0558fbc7.js";import{d as gt}from"./p-80cb7c73.js";import{E as wt}from"./p-659678f1.js";import"./p-b51111e1.js";import"./p-f6a94b55.js";import"./p-58d0a9e8.js";import"./p-c8d3207e.js";import"./p-a7ca67b9.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-720a12c0.js";import"./p-7c583516.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.1
|
11
|
+
*/const yt="container",xt="content",kt="float--content",zt="content--overlay",Ct="float-all",_t=class{constructor(i){t(this,i),this.calciteInternalShellPanelResizeStart=e(this,"calciteInternalShellPanelResizeStart",6),this.calciteInternalShellPanelResizeEnd=e(this,"calciteInternalShellPanelResizeEnd",6),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:i,step:a,stepMultiplier:o,layout:s,contentWidthMin:n,contentWidthMax:l,initialContentWidth:c,initialContentHeight:r,contentHeightMin:h,contentHeightMax:b,position:p}=this,u=a*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const f=["ArrowLeft","ArrowRight"],m=["ArrowDown","ArrowUp"],v="rtl"===d(i)&&f.includes(e)?-1:1;if("horizontal"===s?"end"===p?e===m[1]||e===f[0]:e===m[0]||e===f[1]:e===m[1]||("end"===p?e===f[0]:e===f[1])){const e=t.shiftKey?u:a;return"horizontal"===s?r+v*e:c+v*e}if("horizontal"===s?"end"===p?e===m[0]||e===f[0]:e===m[1]||e===f[1]:e===m[0]||("end"===p?e===f[1]:e===f[0])){const e=t.shiftKey?u:a;return"horizontal"===s?r-v*e:c-v*e}return"Home"===e&&"horizontal"===s&&"number"==typeof h?h:"Home"===e&&"vertical"===s&&"number"==typeof n?n:"End"===e&&"horizontal"===s&&"number"==typeof b?b:"End"===e&&"vertical"===s&&"number"==typeof l?l:"PageDown"===e?"horizontal"===s?r-u:c-u:"PageUp"===e?"horizontal"===s?r+u:c+u:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:i,initialContentWidth:a,initialContentHeight:o,position:s,initialClientX:n,initialClientY:l}=this,c="horizontal"===i?t.clientY-l:t.clientX-n,r="vertical"===i&&"rtl"===d(e)?-1:1,h="end"===s?-r*c:r*c;"horizontal"===i?this.setContentHeight(o+h):this.setContentWidth(a+h)},this.separatorPointerUp=t=>{h(t)&&(this.calciteInternalShellPanelResizeEnd.emit(),t.preventDefault(),window.removeEventListener("pointerup",this.separatorPointerUp),window.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!h(t))return;this.calciteInternalShellPanelResizeStart.emit(),t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),window.addEventListener("pointerup",this.separatorPointerUp),window.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t?.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=b(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.handleHeaderSlotChange=t=>{this.hasHeader=p(t)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale="",this.hasHeader=!1}handleDetached(t){t?this.displayMode="float-content":"float-content"!==this.displayMode&&"float"!==this.displayMode||(this.displayMode="dock")}handleDisplayMode(t){this.detached="float-content"===t||"float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){c(this),x(this),C(this)}async componentWillLoad(){await _(this)}disconnectedCallback(){r(this),this.disconnectSeparator(),k(this),I(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){T(this,this.effectiveLocale)}renderHeader(){return i("div",{class:"content__header",hidden:!this.hasHeader,key:"header"},i("slot",{name:"header",onSlotchange:this.handleHeaderSlotChange}))}render(){const{collapsed:t,position:e,initialContentWidth:a,initialContentHeight:o,contentWidth:s,contentWidthMax:n,contentWidthMin:l,contentHeight:c,contentHeightMax:r,contentHeightMin:h,resizable:b,layout:p,displayMode:u}=this,f=d(this.el),m="float-content"!==u&&"float"!==u&&b,v=m?"horizontal"===p?c?{height:`${c}px`}:null:s?{width:`${s}px`}:null:null,g=!t&&m?i("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===p?"vertical":"horizontal","aria-valuemax":"horizontal"==p?r:n,"aria-valuemin":"horizontal"==p?h:l,"aria-valuenow":"horizontal"==p?c??o:s??a,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null,w=i("div",{class:{[L.rtl]:"rtl"===f,[xt]:!0,[zt]:"overlay"===u,[kt]:"float-content"===u||"float"===u,[L.calciteAnimate]:"overlay"===u,[(()=>"horizontal"===p?"start"===e?L.calciteAnimateInDown:L.calciteAnimateInUp:"ltr"===f&&"end"===e||"rtl"===f&&"start"===e?L.calciteAnimateInLeft:L.calciteAnimateInRight)()]:"overlay"===u},hidden:t,key:"content",ref:this.storeContentEl,style:v},this.renderHeader(),i("div",{class:"content__body"},i("slot",null)),g),y=[i("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),w];return"end"===e&&y.reverse(),i("div",{class:{[yt]:!0,[Ct]:"float-all"===u}},y)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,a=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?z(a,i,e):a}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),a(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,a=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?z(a,i,e):a}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),a=parseInt(t.getPropertyValue("width"),10);"number"!=typeof a||isNaN(a)||(this.initialContentWidth=a),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),i=parseInt(t.getPropertyValue("min-height"),10),a=parseInt(t.getPropertyValue("height"),10);"number"!=typeof a||isNaN(a)||(this.initialContentHeight=a),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};_t.style=":host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-internal-shell-panel-shadow-block-start:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-block-end:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-inline-start:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-inline-end:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-inline-end:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical][width-scale=s]:not([display-mode=float-all])) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width:var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=s][display-mode=float-all]) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]:not([display-mode=float-all])) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width:var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=m][display-mode=float-all]) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]:not([display-mode=float-all])) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width:var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][width-scale=l][display-mode=float-all]) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-internal-shell-panel-max-height:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-min-height:var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-internal-shell-panel-max-height:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}.container *{box-sizing:border-box}.container.float-all{margin-block:0.5rem;margin-inline:0.5rem}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-color-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;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;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-color-border-2)}.separator:focus{background-color:var(--calcite-color-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-color-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px 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([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem))}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:0.5rem}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]:not([display-mode=float-all])) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]:not([display-mode=float-all])) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]:not([display-mode=float-all])) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end: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.1
|
16
|
+
*/
|
17
|
+
const It="container",Tt=class{constructor(e){t(this,e),this.guid=`calcite-tab-title-${H()}`,this.tab=void 0,this.selected=!1,this.scale="m",this.labeledBy=void 0}render(){return i(s,{key:"781e0b82d69d7ea6b2bd6e15ed0d1c5248f24d05","aria-labelledby":this.labeledBy,id:this.el.id||this.guid},i("div",{key:"58a6be23b29e8bee598ecf0cd97ef0578fd4e197",class:{[It]:!0,[`scale-${this.scale}`]:!0},role:"tabpanel",tabIndex:this.selected?0:-1},i("section",{key:"fbff1dec6ca2494f2485528679c14b4b0741abd8",class:"content"},i("slot",{key:"fc52db6fd58bd87f137e887837df5c08772809a3"}))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}async getTabIndex(){return Array.prototype.indexOf.call(u(this.el.parentElement.children).filter((t=>t.matches("calcite-tab"))),this.el)}async updateAriaInfo(t=[],e=[]){this.labeledBy=e[t.indexOf(this.el.id)]||null}get el(){return o(this)}};Tt.style=":host([selected]) section,:host([selected]) .container{display:block}:host{display:none;block-size:100%;inline-size:100%}:host([selected]){display:block;block-size:100%;inline-size:100%;overflow:auto}.content{box-sizing:border-box;padding-block:var(--calcite-internal-tab-content-block-padding)}.scale-s{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.25rem);font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.5rem);font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.625rem);font-size:var(--calcite-font-size-0);line-height:1.25rem}section,.container{display:none;block-size:100%;inline-size:100%}.container{outline-color:transparent}.container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([hidden]){display:none}[hidden]{display:none}";
|
18
|
+
/*!
|
19
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
21
|
+
* v2.12.1
|
22
|
+
*/
|
23
|
+
const Lt="tab-nav",Ht="tab-nav--end-overflow",St="tab-nav--start-overflow",jt="scroll-button",Wt="scroll-button-container",Dt="scroll-button-container--backward",At="scroll-button-container--forward",Et="tab-titles-slot-wrapper",Ft=class{constructor(a){t(this,a),this.calciteTabChange=e(this,"calciteTabChange",6),this.calciteInternalTabNavSlotChange=e(this,"calciteInternalTabNavSlotChange",7),this.calciteInternalTabChange=e(this,"calciteInternalTabChange",6),this.effectiveDir="ltr",this.lastScrollWheelAxis="x",this.resizeObserver=D("resize",(()=>{this.updateScrollingState()})),this.onTabTitleWheel=t=>{t.preventDefault();const{deltaX:e,deltaY:i}=t,a=Math.abs(e),o=Math.abs(i);let s;a===o?s="x"===this.lastScrollWheelAxis?e:i:a>o?(s=e,this.lastScrollWheelAxis="x"):(s=i,this.lastScrollWheelAxis="y"),t.currentTarget.scrollBy(("rtl"===this.effectiveDir?-1:1)*s,0)},this.onSlotChange=t=>{this.intersectionObserver?.disconnect();const e=b(t,"calcite-tab-title");e.forEach((t=>{this.intersectionObserver?.observe(t)})),this.calciteInternalTabNavSlotChange.emit(e)},this.storeTabTitleWrapperRef=t=>{this.tabTitleContainerEl=t,this.intersectionObserver=D("intersection",(()=>this.updateScrollingState()),{root:t,threshold:[0,.5,1]})},this.scrollToTabTitles=t=>{n((()=>{const e=this.tabTitleContainerEl,i=e.getBoundingClientRect(),a=Array.from(this.el.querySelectorAll("calcite-tab-title")),{effectiveDir:o}=this;"forward"===t&&a.reverse();let s=null;if(a.forEach((e=>{const a=e.getBoundingClientRect(),n=i.x+i.width,l=a.x+a.width;"forward"===t&&"ltr"===o||"backward"===t&&"rtl"===o?(a.x>n||l>n&&a.x>i.x)&&(s=e):(l<i.x||l<n&&a.x<i.x)&&(s=e)})),s){const{scrollerButtonWidth:i}=this;e.scrollTo({left:s.offsetLeft+("forward"===t&&"ltr"===o||"backward"===t&&"rtl"===o?-i:s.offsetWidth-e.clientWidth+i),behavior:"smooth"})}}))},this.scrollToNextTabTitles=()=>this.scrollToTabTitles("forward"),this.scrollToPreviousTabTitles=()=>this.scrollToTabTitles("backward"),this.handleTabFocus=(t,e,i)=>{const a=f(this.enabledTabTitles,e,i);this.scrollTabTitleIntoView(a,"instant"),t.stopPropagation()},this.onTabTitleScroll=()=>{this.updateScrollingState()},this.renderScrollButton=t=>{const{bordered:e,messages:a,hasOverflowingStartTabTitle:o,hasOverflowingEndTabTitle:s,scale:n}=this,l="end"===t;return i("div",{class:{[Wt]:!0,[Dt]:!l,[At]:l},hidden:l&&!s||!l&&!o,key:t},i("calcite-button",{appearance:e?"outline-fill":"transparent","aria-label":l?a.nextTabTitles:a.previousTabTitles,class:{[jt]:!0},iconFlipRtl:"both",iconStart:l?"chevron-right":"chevron-left",kind:"neutral",onClick:l?this.scrollToNextTabTitles:this.scrollToPreviousTabTitles,scale:n,tabIndex:-1}))},this.storageId=void 0,this.syncId=void 0,this.selectedTitle=null,this.scale="m",this.layout="inline",this.position="bottom",this.bordered=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasOverflowingStartTabTitle=!1,this.hasOverflowingEndTabTitle=!1,this.selectedTabId=void 0}selectedTitleChanged(){this.calciteInternalTabChange.emit({tab:this.selectedTabId})}onMessagesChange(){}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs"),this.resizeObserver?.observe(this.el),x(this),C(this)}async componentWillLoad(){const t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){const e=JSON.parse(localStorage.getItem(t));this.selectedTabId=e}await _(this)}componentDidLoad(){this.scrollTabTitleIntoView(this.selectedTitle,"instant")}componentWillRender(){const{parentTabsEl:t}=this;this.layout=t?.layout,this.bordered=t?.bordered,this.effectiveDir=d(this.el)}componentDidRender(){this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId&&this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}disconnectedCallback(){this.resizeObserver?.disconnect(),k(this),I(this)}render(){return i(s,{key:"e2e130cc399d8bb88201f283de2eef17a46882fc",role:"tablist"},i("div",{key:"2beae02bec71c759201063e4820ce19cacd1c432",class:{[Lt]:!0,[St]:!!this.hasOverflowingStartTabTitle,[Ht]:!!this.hasOverflowingEndTabTitle,[`scale-${this.scale}`]:!0,[`position-${this.position}`]:!0,[L.rtl]:"rtl"===this.effectiveDir}},this.renderScrollButton("start"),i("div",{key:"609a5b8efc1bd46810217ab17256aaad7432586b",class:{[Et]:!0},onScroll:this.onTabTitleScroll,onWheel:this.onTabTitleWheel,ref:this.storeTabTitleWrapperRef},i("slot",{key:"7436f2fcacf2b483a77c741a2449f783c9c4c148",onSlotchange:this.onSlotChange})),this.renderScrollButton("end")))}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){const e=t.target;this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(e),t.stopPropagation(),this.selectedTitle=e,this.scrollTabTitleIntoView(e)}scrollTabTitleIntoView(t,e="smooth"){t&&n((()=>{const i="ltr"===this.effectiveDir,a=this.tabTitleContainerEl,o=a.getBoundingClientRect(),s=t.getBoundingClientRect(),n=a.scrollLeft,l=i?this.hasOverflowingEndTabTitle:this.hasOverflowingStartTabTitle;s.left<o.left+((i?this.hasOverflowingStartTabTitle:this.hasOverflowingEndTabTitle)?this.scrollerButtonWidth:0)?a.scrollTo({left:n+(s.left-o.left)-this.scrollerButtonWidth,behavior:e}):s.right>o.right-(l?this.scrollerButtonWidth:0)&&a.scrollTo({left:n+(s.right-o.right)+this.scrollerButtonWidth,behavior:e})}))}activateTabHandler(t){this.calciteTabChange.emit(),t.stopPropagation()}internalCloseTabHandler(t){this.handleTabTitleClose(t.target),t.stopPropagation()}async updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail,this.selectedTitle=await this.getTabTitleById(this.selectedTabId))}globalInternalTabChangeHandler(t){this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab&&(this.selectedTabId=t.detail.tab),t.stopPropagation()}effectiveLocaleChange(){T(this,this.effectiveLocale)}async selectedTabIdChanged(){localStorage&&this.storageId&&null!=this.selectedTabId&&localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId)),this.calciteInternalTabChange.emit({tab:this.selectedTabId})}get scrollerButtonWidth(){const{scale:t}=this;return parseInt("s"===t?S:"m"===t?j:W)}updateScrollingState(){const t=this.tabTitleContainerEl;if(!t)return;let e,i;const a=t.scrollLeft,o=t.clientWidth,s=t.scrollWidth;"ltr"===this.effectiveDir?(e=a>0,i=a+o<s):(e=a<0,i=a!==-(s-o)),this.hasOverflowingStartTabTitle=e,this.hasOverflowingEndTabTitle=i}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}async getTabTitleById(t){return Promise.all(this.tabTitles.map((t=>t.getTabIdentifier()))).then((e=>this.tabTitles[e.indexOf(t)]))}get tabTitles(){return m(this.el,"calcite-tab-title")}get enabledTabTitles(){return m(this.el,"calcite-tab-title:not([disabled])").filter((t=>!t.closed))}handleTabTitleClose(t){const{tabTitles:e}=this,i=t.selected,a=e.reduce(((t,e,i)=>e.closed?t:[...t,i]),[]),o=a.length;if(1===o&&e[a[0]].closable)e[a[0]].closable=!1,this.selectedTabId=a[0],i&&e[a[0]].activateTab();else if(o>1){const i=e.findIndex((e=>e===t)),s=a.find((t=>t>i));this.selectedTabId===i&&(this.selectedTabId=s||o-1,e[this.selectedTabId].activateTab())}requestAnimationFrame((()=>{e[this.selectedTabId].focus()}))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selectedTitle:["selectedTitleChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],selectedTabId:["selectedTabIdChanged"]}}};Ft.style=':host{--calcite-internal-tab-nav-gradient-start-side:left;--calcite-internal-tab-nav-gradient-end-side:right;position:relative;display:flex}.scale-s{--calcite-internal-tab-nav-scroller-button-width:24px;min-block-size:1.5rem}.scale-m{--calcite-internal-tab-nav-scroller-button-width:32px;min-block-size:2rem}.scale-l{--calcite-internal-tab-nav-scroller-button-width:44px;min-block-size:2.75rem}.calcite--rtl{--calcite-internal-tab-nav-gradient-start-side:right;--calcite-internal-tab-nav-gradient-end-side:left}.tab-nav--start-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--end-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--start-overflow.tab-nav--end-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%), linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%), linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%)}.tab-nav::-webkit-scrollbar{display:none;-ms-overflow-style:none;scrollbar-width:none}:host([layout=center]) ::slotted(calcite-tab-title){display:flex;flex-grow:1;flex-shrink:0;min-inline-size:auto;white-space:nowrap}:host([layout=center]) ::slotted(calcite-tab-title[selected]){overflow:unset}:host(:not([bordered])) .scale-l{--calcite-internal-tab-nav-gap:var(--calcite-size-xxl)}:host(:not([bordered])) .scale-m{--calcite-internal-tab-nav-gap:var(--calcite-size-xl)}:host(:not([bordered])) .scale-s{--calcite-internal-tab-nav-gap:var(--calcite-size-lg)}:host(:not([bordered])) .tab-titles-slot-wrapper{gap:var(--calcite-internal-tab-nav-gap)}:host([layout=center]:not([bordered])) .tab-titles-slot-wrapper{padding-inline:var(--calcite-spacing-xxl)}.tab-nav,.tab-titles-slot-wrapper{display:flex;inline-size:100%;justify-content:flex-start;overflow:hidden;white-space:nowrap}.scroll-button-container{position:absolute;inset-block:0px}.scroll-button-container calcite-button{--calcite-offset-invert-focus:1;--calcite-color-text-1:var(--calcite-color-text-3);block-size:100%}.scroll-button-container calcite-button:hover{--calcite-color-text-1:unset;--calcite-color-foreground-1:var(--calcite-color-transparent-hover);--calcite-color-foreground-3:var(--calcite-color-transparent)}.scroll-button-container--forward{inset-inline-end:0;z-index:var(--calcite-z-index)}.scroll-button-container--backward{inset-inline-start:0;z-index:var(--calcite-z-index)}:host(:not([bordered])) .scroll-button-container--backward::before,:host(:not([bordered])) .scroll-button-container--forward::before{background-color:var(--calcite-color-border-3);content:"";inline-size:var(--calcite-border-width-sm);inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);position:absolute}:host(:not([bordered])) .scroll-button-container--backward::before{inset-inline-end:0}:host(:not([bordered])) .scroll-button-container--forward::before{inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}';
|
24
|
+
/*!
|
25
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
26
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
27
|
+
* v2.12.1
|
28
|
+
*/
|
29
|
+
const Mt="close-button",Rt="container",$t="container--bottom",Nt="content",Bt="content--has-text",Ot="icon-end",Pt="icon-present",Vt="icon-start",Ut="calcite-tab-title--icon",Jt=t=>`scale-${t}`,qt=class{constructor(i){t(this,i),this.calciteTabsActivate=e(this,"calciteTabsActivate",6),this.calciteInternalTabsActivate=e(this,"calciteInternalTabsActivate",6),this.calciteTabsClose=e(this,"calciteTabsClose",6),this.calciteInternalTabsClose=e(this,"calciteInternalTabsClose",6),this.calciteInternalTabsFocusNext=e(this,"calciteInternalTabsFocusNext",6),this.calciteInternalTabsFocusPrevious=e(this,"calciteInternalTabsFocusPrevious",6),this.calciteInternalTabsFocusFirst=e(this,"calciteInternalTabsFocusFirst",6),this.calciteInternalTabsFocusLast=e(this,"calciteInternalTabsFocusLast",6),this.calciteInternalTabTitleRegister=e(this,"calciteInternalTabTitleRegister",6),this.calciteInternalTabIconChanged=e(this,"calciteInternalTabIconChanged",6),this.closeClickHandler=()=>{this.closeTabTitleAndNotify()},this.mutationObserver=D("mutation",(()=>this.updateHasText())),this.resizeObserver=D("resize",(()=>{this.calciteInternalTabIconChanged.emit()})),this.guid=`calcite-tab-title-${H()}`,this.selected=!1,this.closable=!1,this.closed=!1,this.disabled=!1,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.layout=void 0,this.position="top",this.scale="m",this.bordered=!1,this.tab=void 0,this.messages=void 0,this.messageOverrides=void 0,this.controls=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1}selectedHandler(){this.selected&&this.activateTab(!1)}onMessagesChange(){}connectedCallback(){A(this),x(this),C(this),this.setupTextContentObserver(),this.parentTabNavEl=this.el.closest("calcite-tab-nav"),this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){this.mutationObserver?.disconnect(),document.body?.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el})),this.resizeObserver?.disconnect(),E(this),k(this),I(this)}async componentWillLoad(){await _(this),$()&&this.updateHasText(),this.tab&&this.selected&&this.activateTab(!1)}componentWillRender(){this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.bordered=this.parentTabsEl.bordered)}render(){const{el:t,closed:e}=this,a=t.id||this.guid,o=i("calcite-icon",{key:"20ea18dabdb4cabe8a032d0799f3c757bc90c91d",class:{[Ut]:!0,[Vt]:!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:R(this.scale)}),n=i("calcite-icon",{key:"ebd3913a334a959e8962addd45e5077ee82f2ca8",class:{[Ut]:!0,[Ot]:!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:R(this.scale)});return i(s,{key:"58a72fa4a6e961c3414dfe224a4e235892784707","aria-controls":this.controls,"aria-selected":v(this.selected),id:a,role:"tab",tabIndex:this.selected&&!this.disabled?0:-1},i(F,{key:"fe7662ade3001579b664772b4672d6bebd06a82b",disabled:this.disabled},i("div",{key:"ea226b71436922de6bae2e8e542ae0adf08add1b",class:{[Rt]:!0,[$t]:"bottom"===this.position,[Pt]:!!this.iconStart||!!this.iconEnd,[Jt(this.scale)]:!0},hidden:e,ref:t=>this.resizeObserver?.observe(t)},i("div",{key:"737609daa04d9dc18b46872c49b82cf211ba9b5a",class:{[Nt]:!0,[Bt]:this.hasText}},this.iconStart?o:null,i("slot",{key:"fb500a910e5c6bfcd8571e2d109331dd88f2544d"}),this.iconEnd?n:null),this.renderCloseButton(),i("div",{key:"3fd13c6f459e05cea88c40809b7220369866a2b9",class:"selected-indicator"}))))}renderCloseButton(){const{closable:t,messages:e}=this;return t?i("button",{"aria-label":e.close,class:Mt,disabled:!1,key:Mt,onClick:this.closeClickHandler,ref:t=>this.closeButtonEl=t,title:e.close,type:"button"},i("calcite-icon",{icon:"x",scale:R(this.scale)})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){M(this)}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}onClick(){this.activateTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":t.composedPath().includes(this.closeButtonEl)||(this.activateTab(),t.preventDefault());break;case"ArrowRight":t.preventDefault(),"ltr"===d(this.el)?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":t.preventDefault(),"ltr"===d(this.el)?this.calciteInternalTabsFocusPrevious.emit():this.calciteInternalTabsFocusNext.emit();break;case"Home":t.preventDefault(),this.calciteInternalTabsFocusFirst.emit();break;case"End":t.preventDefault(),this.calciteInternalTabsFocusLast.emit()}}async getTabIndex(){return Array.prototype.indexOf.call(u(this.el.parentElement.children).filter((t=>t.matches("calcite-tab-title"))),this.el)}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async updateAriaInfo(t=[],e=[]){this.controls=t[e.indexOf(this.el.id)]||null}async activateTab(t=!0){this.disabled||this.closed||(this.calciteInternalTabsActivate.emit({tab:this.tab}),t&&requestAnimationFrame((()=>this.calciteTabsActivate.emit())))}effectiveLocaleChange(){T(this,this.effectiveLocale)}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}closeTabTitleAndNotify(){this.closed=!0,this.calciteInternalTabsClose.emit({tab:this.tab}),this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};qt.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;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}.content{position:relative;margin-block-end:0.125rem;box-sizing:border-box;display:flex;block-size:100%;align-items:center;justify-content:center}.scale-s .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}.scale-s .close-button{inline-size:1.25rem}.scale-m .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}.scale-m .close-button{inline-size:1.75rem}.scale-l .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.scale-l .close-button{inline-size:2rem}:host([closable]) .content{border-block-end-color:transparent}:host([layout=inline]) .content,:host([layout=center]) .content{padding-inline:0.25rem}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;justify-content:center;text-align:center}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{flex:1 1 auto;flex-grow:1}.container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.selected-indicator{position:absolute;display:block;block-size:0.125rem;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;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;inline-size:100%}.container--bottom .selected-indicator{inset-block-end:unset;inset-block-start:0}:host([bordered]) .selected-indicator{inset-block-start:0;inset-block-end:unset;inset-inline-start:-1px;inset-inline-end:0;inline-size:calc(100% + var(--calcite-spacing-base))}:host([bordered]) .container:not(.container--bottom){border-block-end:1px solid transparent}:host([bordered]:not([selected]):hover) .container:not(.container--bottom){border-block-end:1px solid var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .selected-indicator{background-color:var(--calcite-color-foreground-2)}:host([bordered]:not([selected]):hover:not(:focus)) .container:not(.container--bottom) .selected-indicator{box-shadow:inset 0 1px var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .container.container--bottom .selected-indicator{box-shadow:inset 0 -1px var(--calcite-color-border-1)}:host([bordered][selected]) .container::after{position:absolute;display:block;block-size:0.125rem;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;inset-block-end:-1px;inset-inline-start:0;inset-inline-end:0;inline-size:100%;background:var(--calcite-color-foreground-1);content:""}:host([bordered][selected]) .container.container--bottom::after{inset-block-start:-1px}:host([bordered][selected]:hover) .container::after{background:var(--calcite-color-foreground-2)}:host([bordered][selected]:focus) .container::after{background:transparent}:host([bordered]) .container--bottom .selected-indicator{inset-block-start:unset;inset-block-end:0}:host([selected]) .selected-indicator,:host([selected]:hover) .selected-indicator{background-color:var(--calcite-color-brand)}:host(:hover) .selected-indicator{background-color:var(--calcite-color-border-3)}:host(:focus) .selected-indicator,:host(:active) .selected-indicator{background-color:var(--calcite-color-brand)}@media (forced-colors: active){.selected-indicator{background-color:highlight}}:host([closed]){display:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-color-text-1)}:host(:focus) .container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host(:focus) .container:focus-within{outline-color:transparent}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-color-border-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{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}.content--has-text{padding:0.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:var(--calcite-spacing-sm)}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:var(--calcite-spacing-sm)}.close-button{display:flex;block-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-start:var(--calcite-spacing-sm);margin-inline-end:var(--calcite-spacing-px);block-size:calc(100% - var(--calcite-spacing-xxs))}.close-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand))}.close-button:focus,.close-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button:active{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button calcite-icon{color:inherit}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:var(--calcite-spacing-sm)}:host([bordered]) .container:not(.container--bottom) .close-button{block-size:calc(100% - var(--calcite-spacing-px));margin-block-start:-1px}:host([bordered]) .container .close-button calcite-icon{margin-block-start:var(--calcite-spacing-px)}:host([bordered]) .container .close-button:focus,:host([bordered]) .container .close-button:hover,:host([bordered]) .container .close-button:active{box-shadow:0 2px 0 0 var(--calcite-color-foreground-3)}:host([bordered]) .container.container--bottom .close-button{box-shadow:0 -2px 0 0 transparent}:host([bordered]) .container.container--bottom .close-button calcite-icon{margin-block-end:var(--calcite-spacing-px)}:host([bordered]) .container.container--bottom .close-button:focus,:host([bordered]) .container.container--bottom .close-button:hover,:host([bordered]) .container.container--bottom .close-button:active{box-shadow:0 -2px 0 0 var(--calcite-color-foreground-3)}:host([bordered][selected]){box-shadow:inset 0 -1px var(--calcite-color-foreground-1)}:host([bordered]:not([selected])) .container .close-button{box-shadow:0 2px 0 0 transparent}:host([bordered]:hover) .container{background-color:var(--calcite-color-foreground-2)}:host([bordered]) .container{border-inline:var(--calcite-spacing-px) solid transparent}:host([selected][bordered]) .container{border-inline-color:var(--calcite-color-border-1)}:host([layout=inline][bordered]) .scale-m .content,:host([layout=center][bordered]) .scale-m .content{padding-inline:0.75rem}:host([layout=inline][bordered]) .scale-s .content,:host([layout=center][bordered]) .scale-s .content{padding-inline:0.5rem}:host([layout=inline][bordered]) .scale-l .content,:host([layout=center][bordered]) .scale-l .content{padding-inline:1rem}:host([layout=inline][closable]) .scale-s .content,:host([layout=inline][closable]) .scale-m .content,:host([layout=inline][closable]) .scale-l .content{padding-inline-end:0}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered]) .container{border-block-end-style:solid}:host([bordered]) .container--bottom{border-block-start-style:solid}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][selected]) .container--bottom{border-block-start-style:none}.close-button{z-index:var(--calcite-z-index)}}:host([hidden]){display:none}[hidden]{display:none}';
|
30
|
+
/*!
|
31
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
32
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
33
|
+
* v2.12.1
|
34
|
+
*/
|
35
|
+
const Gt=class{constructor(e){t(this,e),this.defaultSlotChangeHandler=t=>{this.tabs=b(t,"calcite-tab")},this.setDefaultSlotRef=t=>this.slotEl=t,this.layout="inline",this.position="top",this.scale="m",this.bordered=!1,this.titles=[],this.tabs=[]}handleInheritableProps(){this.updateItems()}calciteInternalTabNavSlotChangeHandler(t){t.stopPropagation(),t.detail.length!==this.titles.length&&(this.titles=t.detail)}titlesWatcher(){this.updateAriaSettings(),this.updateItems()}tabsWatcher(){this.updateAriaSettings(),this.updateItems()}async updateAriaSettings(){let t,e;const i=g(this.slotEl,"calcite-tab");if(i.some((t=>t.tab))||this.titles.some((t=>t.tab)))t=i.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id)),e=this.titles.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id));else{const a=await Promise.all(i.map((t=>t.getTabIndex()))),o=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=a.reduce(((t,e,a)=>(t[e]=i[a].id,t)),[]),e=o.reduce(((t,e,i)=>(t[e]=this.titles[i].id,t)),[])}i.forEach((i=>i.updateAriaInfo(t,e))),this.titles.forEach((i=>i.updateAriaInfo(t,e)))}updateItems(){const{position:t,scale:e}=this,i=this.el.querySelector("calcite-tab-nav");i&&(i.position=t,i.scale=e),Array.from(this.el.querySelectorAll("calcite-tab")).forEach((t=>{t.parentElement===this.el&&(t.scale=e)})),Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach((i=>{i.position=t,i.scale=e}))}connectedCallback(){this.updateItems()}async componentWillLoad(){this.updateItems()}disconnectedCallback(){}render(){return i(l,{key:"300872682f4f969586b06b6bbfa5cccb5a005e03"},i("slot",{key:"9b8c09c2f93725349a98d13fb0167c88b82ef413",name:"title-group"}),i("section",{key:"bf1b19251ca8ab3ba4c3c3fa15995889d71d9355"},i("slot",{key:"e1008e065225b4f0cb1b4fbe2ec91ab761db1144",onSlotchange:this.defaultSlotChangeHandler,ref:this.setDefaultSlotRef})))}get el(){return o(this)}static get watchers(){return{position:["handleInheritableProps"],scale:["handleInheritableProps"],titles:["titlesWatcher"],tabs:["tabsWatcher"]}}};Gt.style=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1), inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}";
|
36
|
+
/*!
|
37
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
38
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
39
|
+
* v2.12.1
|
40
|
+
*/
|
41
|
+
function Kt(t,e,i){const{items:a,messages:o}=i,s=a.length,n=P(i,t)+1;return function(t,e,i,a){return t.replace("{position}",i.toString()).replace("{itemLabel}",e).replace("{total}",a.toString())}("idle"===e?o.dragHandleIdle:"active"===e?o.dragHandleActive:"change"===e?o.dragHandleChange:o.dragHandleCommit,t.label,n,s)}function Xt(t){return{handle:t.composedPath().find((t=>void 0!==t.dataset?.jsHandle)),item:t.composedPath().find((t=>"calcite-value-list-item"===t.tagName?.toLowerCase()))}}bt.deprecated("component",{name:"value-list",removalVersion:3,suggested:"list"});const Yt=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=D("mutation",V.bind(this)),this.handleSelector=".handle",this.dragSelector="calcite-value-list-item",this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=U.bind(this),this.deselectSiblingItems=J.bind(this),this.selectSiblings=q.bind(this),this.handleFilter=G.bind(this),this.handleFilterEvent=K.bind(this),this.getItemData=X.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:e,item:i}=Xt(t);if(e&&!i.handleActivated&&" "===t.key&&this.updateScreenReaderText(Kt(i,"commit",this)),!e||!i.handleActivated)return void Y.call(this,t);t.preventDefault();const{items:a}=this;if(" "===t.key&&this.updateScreenReaderText(Kt(i,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||a.length<=1)return;const{el:o}=this,s=Q(this,i,"ArrowUp"===t.key?"up":"down");if(s===a.length-1)o.appendChild(i);else{const t=o.children[s];o.insertBefore(i,t===i.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>w(e))),i.handleActivated=!0,this.updateHandleAriaLabel(e,Kt(i,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:e,item:i}=Xt(t);!i?.handleActivated&&i&&e&&this.updateHandleAriaLabel(e,Kt(i,"idle",this))},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.group=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.messageOverrides=void 0,this.messages=void 0,this.dataForFilter=[],this.defaultMessages=void 0,this.effectiveLocale="",this.selectedValues=new Map}onMessagesChange(){}effectiveLocaleChange(){T(this,this.effectiveLocale)}connectedCallback(){A(this),x(this),C(this),Z.call(this),tt.call(this),this.setUpSorting()}async componentWillLoad(){N(this),await _(this)}componentDidLoad(){B(this),et.call(this)}componentDidRender(){M(this)}disconnectedCallback(){E(this),dt(this),k(this),I(this),it.call(this)}calciteListFocusOutHandler(t){at.call(this,t)}calciteListItemRemoveHandler(t){ot.call(this,t)}calciteListItemChangeHandler(t){st.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){nt.call(this,t),t.stopPropagation()}onGlobalDragStart(){it.call(this)}onGlobalDragEnd(){tt.call(this)}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}getItems(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))}setUpItems(){lt.call(this,"calcite-value-list-item"),this.setUpSorting()}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpSorting(){const{dragEnabled:t}=this;t&&ht(this)}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await O(this),ct.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t="grip"),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,e){t.ariaLabel=e}handleValueListItemBlur(t){const{item:e,handle:i}=t.detail;!e?.handleActivated&&e&&this.updateHandleAriaLabel(i,Kt(e,"idle",this)),t.stopPropagation()}render(){return i(rt,{key:"226659128d8b783ff03fabc4ad086291d3ec749c",onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Yt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}calcite-value-list-item:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 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([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky)}calcite-filter{margin-block-end:1px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";
|
42
|
+
/*!
|
43
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
44
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
45
|
+
* v2.12.1
|
46
|
+
*/
|
47
|
+
const Qt="actions-end",Zt="actions-start";bt.deprecated("component",{name:"value-list-item",removalVersion:3,suggested:"list-item"});const te=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=e(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${H()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1,this.calciteValueListItemDragHandleBlur.emit({item:this.el,handle:this.handleEl})},this.handleSelectChange=t=>{this.selected=t.detail.selected},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0}connectedCallback(){c(this),A(this)}disconnectedCallback(){r(this),E(this)}componentWillLoad(){N(this)}componentDidLoad(){B(this)}componentDidRender(){M(this)}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){return await O(this),this.pickListItem?.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return y(t,Qt)?i("slot",{name:Qt,slot:ut.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return y(t,Zt)?i("slot",{name:Zt,slot:ut.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:e}=this;if(t===ft.grip)return i("span",{class:{[pt.handle]:!0,[pt.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:t=>this.handleEl=t,role:"button",tabindex:"0"},i("calcite-icon",{flipRtl:e,icon:"drag",scale:"s"}))}render(){return i(s,{key:"5800bb42bb126d69868f664845be9d912cc16a1e",id:this.el.id||this.guid},i(F,{key:"3fd26470647b3ec37edaf80d83d8b74b4a0dbcb0",disabled:this.disabled},this.renderHandle(),i("calcite-pick-list-item",{key:"772821bab106c95accaa215e05164371760f2ac0",description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,ref:this.getPickListRef,removable:this.removable,selected:this.selected,value:this.value},this.renderActionsStart(),this.renderActionsEnd())))}get el(){return o(this)}};te.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{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-color-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-color-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const ee=class{constructor(e){t(this,e),this.hasChanges=!1,this.hasErrors=!1,this.instanceid="",this.value=""}get el(){return o(this)}componentDidLoad(){const t=document.getElementById(`${this.instanceid}-container`);if(t){this._editor=monaco.editor.create(t,{value:this.value,language:"json",theme:"vs",minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1}),this._currentModel=this._editor.getModel(),this._contentChanged=this._currentModel.onDidChangeContent(this._onEditorChange.bind(this));const e=monaco.editor.setModelMarkers,i=this;monaco.editor.setModelMarkers=function(t,a,o){t.id===i._currentModel.id&&(i._flagEditorHasErrors(o.length>0),i.hasErrors||(i._flagEditorHasChanges(i._currentModel?.canUndo()),i._currentModel?.canUndo()&&i._flagEditorContentChanged()),document.getElementById(`${i.instanceid}-errorFlag`).style.visibility=i.hasErrors?"visible":"hidden"),e.call(monaco.editor,t,a,o)},this._diffEditor=monaco.editor.createDiffEditor(document.getElementById(`${this.instanceid}-diff-container`),{automaticLayout:!0}),this._setDiffModel(),this._loaded=!0,this._toggleUndoRedo()}}async componentWillLoad(){this._initValueObserver(),await this._getTranslations()}render(){return i(s,{key:"2fd22babaed7afb3f36a969dd851647aee6c314c"},i("div",{key:"cf86700a99c9ec6d94787d3a312950cb4981bc74",id:`${this.instanceid}-editor-container`,class:"editor-container padding-right"},i("div",{key:"a2fe047ce3d446e1e19ff9c6d1a6cf8663e709e2",class:"editor-controls"},i("div",{key:"96f89ae7ded81e5d4dd2f40384dab407398082ef",class:"editor-buttons"},i("calcite-icon",{key:"15beba29161b151abdad39a8a9082ef91e5bef63",id:`${this.instanceid}-errorFlag`,icon:"exclamation-mark-triangle",title:this._translations.errorFlag,scale:"s",class:"edit-error-flag"}),i("calcite-button",{key:"83854df89361aa8576d11cf9ac70e4696d9c5b1e",id:`${this.instanceid}-undo`,color:"blue",appearance:"solid",title:this._translations.undo,onClick:()=>this._undo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"95f5aa78cd57aaae8ec626249769b805f24a5f9c",icon:"undo",scale:"s"})),i("calcite-button",{key:"a42752361c684b30a31eceade8009fc9bb2ce5d2",id:`${this.instanceid}-redo`,color:"blue",appearance:"solid",title:this._translations.redo,onClick:()=>this._redo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"3a03a0ae3c375d0be032d9ce4669631be0d596b8",icon:"redo",scale:"s"})),i("calcite-button",{key:"234ddc8d1ba7b42c033e45650fe137292d6838d9",id:`${this.instanceid}-diff`,color:"blue",appearance:"solid",title:this._translations.diff,onClick:()=>this._toggleEditor(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"ab10706d7b62154805b1a5c50d2bee63169a5860",icon:"compare",scale:"s"})),i("calcite-button",{key:"52cb4b32b14ac265dd4cd7f3943bbb23c1d939fa",id:`${this.instanceid}-search`,appearance:"outline",color:"blue",title:this._translations.search,onClick:()=>this._search(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"525f805a2cdc8d7b58b529cb4d9e472629cb0a45",icon:"search",scale:"s"})),i("calcite-button",{key:"752467c7e12242efcc97f465a66593a0fb3a72e8",id:`${this.instanceid}-reset`,color:"blue",appearance:"solid",disabled:!0,title:this._translations.cancelEdits,onClick:()=>this._reset(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"1bb105e06a9cca9bd3116fc9c4d353f9679bb8ff",icon:"reset",scale:"s"})))),i("div",{key:"4ef626c366c89b494fcd5f1dfa41e602e65d592a",class:"edit-parent"},i("div",{key:"ffe9e40ed3da5627ffde778e9d0e9df222e37b63",id:`${this.instanceid}-container`,class:"json-edit-container"}),i("div",{key:"418010cb1b16de4e00e0cb7a9463f76c5de18a25",id:`${this.instanceid}-diff-container`,class:"json-edit-container display-none"}))))}_cancelEditsBtnHandler;_contentChanged;_currentModel;_diffEditor;_editor;_loaded=!1;_searchBtnHandler;_translations;_useDiffEditor=!1;_valueObserver;async getEditorContents(){return new Promise(((t,e)=>{try{t(this._currentModel.getValue())}catch(t){e(t)}}))}async prepareForDeletion(){this._searchBtnHandler?.removeEventListener("click",this._search),this._cancelEditsBtnHandler?.removeEventListener("click",this._reset),this._valueObserver?.disconnect(),this._contentChanged?.dispose(),this._editor?.dispose()}async replaceCurrentSelection(t){const e=this._editor.getSelection();this._editor.executeEdits("",[{range:e,text:t}])}async reset(){return new Promise(((t,e)=>{try{this._reset(),t({success:!0})}catch(t){e(t)}}))}_disableButton(t){document.getElementById(t)?.setAttribute("disabled","")}_enableButton(t){document.getElementById(t)?.removeAttribute("disabled")}_flagEditorContentChanged(){window.dispatchEvent(new CustomEvent("solutionEditorContentChanged",{detail:{id:this.instanceid,contents:this._currentModel.getValue()},bubbles:!0,cancelable:!1,composed:!0}))}_flagEditorHasChanges(t){this.hasChanges!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasChanges=t)}_flagEditorHasErrors(t){this.hasErrors!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasErrors",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasErrors=t)}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"value"===t.attributeName&&t.target[t.attributeName]!==t.oldValue&&this._loaded&&this._currentModel.setValue(this.value)}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}_onEditorChange(){this._toggleUndoRedo()}_redo(){this._currentModel?.canRedo()&&(this._currentModel.redo(),this._toggleUndoRedo())}_reset(){this._currentModel.setValue(this.value),this._toggleUndoRedo()}_search(){this._editor.trigger("toggleFind","actions.find")}_setDiffModel(){this._diffEditor&&this._diffEditor.setModel({original:monaco.editor.createModel(this.value,"json"),modified:this._editor.getModel()})}_toggleEditor(){this._useDiffEditor=!this._useDiffEditor;let t=document.getElementById(`${this.instanceid}-diff-container`),e=document.getElementById(`${this.instanceid}-container`);this._useDiffEditor?(this._setDiffModel(),t.classList.remove("display-none"),e.classList.add("display-none")):(t.classList.add("display-none"),e.classList.remove("display-none"))}_toggleUndoRedo(){this._currentModel?.canUndo()?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),this._currentModel?.canUndo()||this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){this._currentModel?.canUndo()&&(this._currentModel.undo(),this._toggleUndoRedo())}static get assetsDirs(){return["assets"]}};ee.style=":host{display:block}.editor-container{position:relative;height:100%}.editor-controls{height:2.75rem;padding-right:0.5rem;background-color:#F4F4F4}.editor-buttons{float:right}html[dir=rtl] .editor-buttons{float:left}.edit-error-flag{padding-top:0.5rem;color:red;visibility:hidden}.edit-button{padding-inline-start:0.5rem}.editor-text{width:100%;overflow-y:auto;background-color:#FFFFFF}.edit-width{width:100%}.edit-parent{box-sizing:border-box;width:100%;height:calc(100% - 46px)}.json-edit-container{height:100%;width:100%;border:1px #808080 solid}.padding-right{padding-inline-end:0.125rem}.btn{margin-bottom:1rem;display:flex;align-content:center;height:25px;width:120px}.select-ctrl{margin-bottom:1rem}.all-edits{margin-top:4rem}.floating-title{font-size:2rem;z-index:100;position:absolute;left:0.5rem;pointer-events:none}.floating-title-button{pointer-events:auto}.json-editor-position1{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:100%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2a{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2b{position:absolute;right:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}";const ie=class{constructor(e){t(this,e),this.itemId="",this.itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""},this.itemEdit=void 0,this._translations=void 0,this.thumbnail=void 0,this.thumbnailContainer=void 0}get el(){return o(this)}async componentWillLoad(){return this._getTranslations()}async componentWillRender(){return this.itemEdit=vt.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type),Promise.resolve()}render(){return i(s,{key:"6b78f55823c036225fefa64d944772982374a561"},i("div",{key:"97cd3ab0f1fff7c9f7b17751cfa78e74d84b96ce",class:"parent-container"},i("div",{key:"676610f19d178749a686f70059c8d93728b5e24e",class:"inputBottomSeparation"},i("calcite-input",{key:"becadbbf9a755ac37e532e43a289ba6189b97347",id:"item-title",value:this.itemDetails.title})),i("div",{key:"56d64320d804d1ea531822ced14f7844a55deeff",class:"inputBottomSeparation"},i("input",{key:"151457132136b1f772c58f6bdce8cf522c6abd30",accept:".jpg,.gif,.png,image/jpg,image/gif,image/png",class:"display-none",onChange:t=>this._updateThumbnail(t),ref:t=>this.browseForThumbnail=t,type:"file"}),i("button",{key:"4d8d78dc33f871c47153f6bc63218b116cc29d7a",class:"font-size--3 btn-link inline-block trailer-quarter",onClick:()=>this._getThumbnail()},i("svg",{key:"80dcd9ab0e38bcb365132dd7387bcc761c2d3f92",class:"icon-inline icon-inline--on-left",height:"16",viewBox:"0 0 16 16",width:"16"},i("path",{key:"a931ba4c9895571ec5a77b3208b1c9b773404fcc",d:"M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z"})),this._translations.editThumbnail),i("div",{key:"25bc986e9f2333eb04101591073f61f61f1d5619",class:"flex"},i("div",{key:"645e915e4e82a6a1e98c66b3ec1b73ddf8558057",class:"img-container",ref:t=>this.thumbnailContainer=t},i("img",{key:"3cf05a69f1d7a26a7f411076c1d1cf389609133a",class:"scale-down",height:"133",id:"item-thumbnail",ref:t=>this.thumbnail=t,width:"200"})),i("div",{key:"5765892d1686bb96b4eac94a848cd4c9e3e62a99",class:"snippet-count-container"},i("calcite-input",{key:"70cc1c9abde2ce27bda62a316dc47314feeac8af",id:"item-snippet",maxLength:250,type:"textarea",value:this.itemDetails.snippet}),i("label",{key:"703ca7d01f0d385fb710942f263424b964b5ec7d",class:"font-size--3",id:"item-snippet-count",ref:t=>this.itemSnippetCount=t})))),i("calcite-label",{key:"549f0879c77b2c2bf739125130ddf7443307fcd4"},this._translations.description,i("label",{key:"071856696fbbe67bc8d2c22525e06abf3a215e0d",id:"item-description-label"},i("calcite-input",{key:"1f463f01af1cd6ab5fdabebc13863a695a48fe48",id:"item-description",type:"textarea",value:this.itemDetails.description}))),i("calcite-label",{key:"43c9564b8e014c8114969d09de717156de36807c"},this._translations.tags,i("label",{key:"100a40466eae1b95ea2725e9b6dd31ade3baa44f",id:"item-tags-label"},i("calcite-input",{key:"cc3f9176dc28a1d072913ff7c408dfad160c35b8",id:"item-tags",value:(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}))),"Group"!==this.itemType?i("calcite-label",null,this._translations.credits,i("label",{id:"item-credits-label"},i("calcite-input",{id:"item-credits",value:this.itemDetails.accessInformation}))):null,"Group"!==this.itemType?i("calcite-label",null,i("label",{id:"item-terms-label"},this._translations.termsOfUse,i("calcite-input",{id:"item-terms",type:"textarea",value:this.itemDetails.licenseInfo}))):null))}componentDidRender(){this._loadThumb()}browseForThumbnail;itemType;itemSnippetCount;inputReceivedHandler(t){switch(t.target.id){case"item-title":this.itemDetails.title=t.target.value,this._updateStore();break;case"item-snippet":t.target.value.length>250&&(t.target.value=t.target.value.substring(0,250)),this.itemDetails.snippet=t.target.value,this._updateLengthLabel(this.itemDetails.snippet),this._updateStore();break;case"item-description":this.itemDetails.description=t.target.value,this._updateStore();break;case"item-tags":this.itemDetails.tags=t.target.value,this._updateStore();break;case"item-credits":this.itemDetails.accessInformation=t.target.value,this._updateStore();break;case"item-terms":this.itemDetails.licenseInfo=t.target.value,this._updateStore()}}_getThumbnail(){this.browseForThumbnail.click()}_loadThumb(){this.thumbnail&&this.itemEdit?.thumbnail?(this.thumbnail.src=URL.createObjectURL(this.itemEdit.thumbnail),this.thumbnailContainer.classList.remove("empty-box"),this.thumbnail.classList.remove("display-none")):(this.thumbnailContainer.classList.add("empty-box"),this.thumbnail.classList.add("display-none"))}_updateLengthLabel(t){this.itemSnippetCount.innerText=this._translations.snippetCountPattern.replace("{{n}}",t.length.toString())}_updateStore(){this.itemEdit=vt.getItemInfo(this.itemId),this.itemEdit.item=this.itemDetails,vt.setItemInfo(this.itemEdit)}_updateThumbnail(t){const e=t.target.files;e&&e[0]&&this.thumbnail&&(this.thumbnail.src=URL.createObjectURL(e[0]),this.itemEdit=vt.getItemInfo(this.itemId),this.itemEdit.thumbnail=e[0],vt.replaceItemThumbnail(this.itemEdit))}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}};ie.style=".inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.icon-inline--on-left,.icon-inline--on-right{display:inline;vertical-align:middle;margin-inline-end:0.375rem;fill:#0079c1}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.img-container{display:inline;margin-inline-end:1rem;max-width:363px}.summary-count-container{display:inline;flex-grow:1;margin-inline-start:0.75rem}.snippet-count-container{width:calc(100vw - 363px)}.parent-container{max-width:100%;padding:1rem}label{position:relative;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem;display:block;min-width:-moz-min-content;min-width:min-content}";const ae=class{constructor(e){t(this,e),this.groupId="",this._translations=void 0,this.sharing=[]}get el(){return o(this)}itemIdWatchHandler(){const t=vt.getItemInfo(this.groupId);this.sharing=t.groupDetails}async componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"68ef98760b3c6dd795b3d864028277af6358558c"},i("div",{key:"1f58fc3d9d0420c912fa83bfc6d2f149d5ab20fd",class:"container-border"},i("calcite-label",{key:"5f32937549629cd7a411f91635d3a635c90346ac"},this._translations.groupInfo),this._renderItems(this.sharing)))}async getShareInfo(){return this.sharing}_renderItems(t){return t&&t.length>0?t.map((t=>i("calcite-label",{layout:"inline"},i("calcite-switch",{checked:t.shareItem,id:t.id,name:"setting",onCalciteSwitchChange:t=>this._updateItem(t),scale:"m",value:"enabled"}),i("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),i("span",{class:"icon-text",title:t.title},t.title)))):null}_updateItem(t){const e=t.target.id;this.sharing=this.sharing.map((i=>{if(i.id===e){i.shareItem=t.target.checked;const a=vt.getItemInfo(e);if(i.shareItem)a.groups?a.groups.indexOf(this.groupId)<0&&a.groups.push(this.groupId):a.groups=[this.groupId];else if(a.groups){const t=a.groups.indexOf(this.groupId);t>-1&&a.groups.splice(t,1)}vt.setItemInfo(a)}return i}))}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{groupId:["itemIdWatchHandler"]}}};ae.style=":host{display:block}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const oe=class{constructor(i){t(this,i),this.organizationVariableSelected=e(this,"organizationVariableSelected",7),this.value="",this._organizationVariables=[],this._translations=void 0}get el(){return o(this)}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}async componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"a75074ddcfb2b062acd764f49a025fe40dc8fb29"},i("div",{key:"b7b4a3676353c1beb1a506172554d7ea5716fc35"},i("h4",{key:"0fc675887d6773aa30d4c13c1f806679dd783602",class:"org-var-header"},this._translations.orgVariables)),i("div",{key:"3a90393b2cfaec1956fcf6dd49f5c3cbe32f5251",class:"container-border"},i("calcite-tree",{key:"2053090e06375e7ba2989e5f864d4dc5b32e2c5b",id:"variable-label"},this._renderHierarchy(this._organizationVariables))))}organizationVariableSelected;_renderHierarchy(t){return t.map((t=>i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.organizationVariableSelected.emit({itemId:t,value:e})}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{value:["valueWatchHandler"]}}};oe.style=":host{display:block}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";const se=class{constructor(e){t(this,e),this.authentication=void 0,this.itemId="",this.resourceFilePaths=[],this.resources=[],this._translations=void 0}get el(){return o(this)}itemIdWatchHandler(){const t=vt.getItemInfo(this.itemId);this.resourceFilePaths=t.resourceFilePaths,this.resources=t.resources.map((t=>t.substring(t.lastIndexOf("/")+1)))}componentWillLoad(){return this._getTranslations()}render(){const t=this._hasValidResources();return i(s,{key:"e30e9d44463801ad20901d7ccc49e693595455c4"},i("div",{key:"9f5e60f98ac140dd0324da3bc68d3879f2fc13a7",class:"resource-item"},i("div",{key:"3dd09b9e95e7200eaee6546afd4de49e36cbfbca",class:"margin-bottom-1"},i("calcite-button",{key:"80eb4bc0b1fe88b30bf75b4abf6e2c0ea9f685cb",appearance:"solid",class:"resource-button",color:"blue",onClick:()=>this._addNewResource()},this._translations.addResource),i("calcite-button",{key:"d5d0fe43214ab5a4af7f81d3e5b55349535469a6",appearance:"solid",color:"blue",disabled:!t,onClick:()=>this._downloadAll()},this._translations.downloadAll)),i("div",{key:"05c3ee3f168779477baeef75af789e977ae0e564",class:"resources-container",style:{display:t?"inherit":"none"}},this._renderResourceList())))}_removedResources={};_renderResourceList(){return i("calcite-value-list",{multiple:!0},this.resourceFilePaths.reduce(((t,e)=>(e.type!==wt.Thumbnail&&t.push(this._renderResource(e)),t)),[]))}_renderResource(t){const e=t.updateType===gt.Remove;return i("calcite-value-list-item",{class:e?"disabled":"",label:t.folder?t.folder+"/"+t.filename:t.filename,nonInteractive:!0,value:t.url},i("calcite-action-group",{"expand-disabled":"true",layout:"horizontal",slot:"actions-end"},i("calcite-action",{disabled:e,icon:"download",label:this._translations.download,onClick:()=>this._download(t.url,t.filename),scale:"m",text:this._translations.download,title:this._translations.download}),i("calcite-action",{disabled:e,icon:"upload-to",label:this._translations.update,onClick:()=>this._upload(t),scale:"m",text:this._translations.update,title:this._translations.update}),i("calcite-action",{disabled:e,icon:"trash",label:this._translations.delete,onClick:()=>this._delete(t),scale:"m",text:this._translations.delete,title:this._translations.delete}),e?i("calcite-action",{icon:"reset",label:this._translations.reset,onClick:()=>this._reset(t.filename),scale:"m",text:this._translations.reset,title:this._translations.reset}):i("div",{class:"display-none"})))}_delete(t){t.updateType=gt.Remove,this.resourceFilePaths=[...this.resourceFilePaths],this._updateStore()}_reset(t){this.resourceFilePaths=this.resources.some((e=>e===t))?this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=gt.None),e))):this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=gt.Add),e))),this._updateStore()}_downloadAll(){this.resourceFilePaths.forEach((t=>{this._download(t.url,t.filename)}))}_download(t,e){t.startsWith("blob")?this.downloadFile(t,e):this.fetchAndDownload(`${t}?token=${this.authentication.token}`,e)}downloadFile(t,e){const i=document.createElement("a");i.href=t,i.download=e,i.target="_blank",i.click()}_hasValidResources(){return this.resourceFilePaths.some((t=>t.url.indexOf("_info_thumbnail")<0))}async fetchAndDownload(t,e){const i=await fetch(t),a=await i.blob(),o=URL.createObjectURL(a);this.downloadFile(o,e)}_upload(t){const e=document.createElement("input");e.classList.add("display-none"),e.onchange=this._updateResource.bind(this,t),e.type="file",e.click()}_addNewResource(){const t=document.createElement("input");t.classList.add("display-none"),t.onchange=this._add.bind(this),t.type="file",t.click()}_updateResource(t,e){const i=e.target.files;i&&i[0]&&(t.blob=i[0],t.updateType=gt.Update,this._updateStore())}_add(t){const e=t.target.files;if(e&&e[0]){const t=URL.createObjectURL(e[0]),i=e[0].name;this.resourceFilePaths.some((e=>e.filename===i&&e.url===t))||(this.resourceFilePaths=[...this.resourceFilePaths,{url:t,type:wt.Data,folder:void 0,filename:i,blob:e[0],updateType:gt.Add}],this._updateStore())}}_updateStore(){const t=vt.getItemInfo(this.itemId);t.resourceFilePaths=this.resourceFilePaths,vt.setItemInfo(t)}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};se.style=":host{display:block}.resource-item{padding:1rem}.resource-button{margin-inline-end:1rem}.resource-progress{padding-top:1rem}.resources-container{border:1px #808080 solid}.margin-bottom-1{margin-bottom:1rem}";const ne=class{get el(){return o(this)}itemIdWatchHandler(){this._initializing=!0,this.value=JSON.stringify("data"===this.instanceid?vt.getItemInfo(this.itemId).data:vt.getItemInfo(this.itemId).properties,null,2)}constructor(e){t(this,e),this.instanceid="",this.itemId="",this.organizationVariables="",this.solutionVariables="",this.varsOpen=!0,this._translations=void 0,this.value="",window.addEventListener("solutionEditorContentChanged",(t=>{if(this.itemId){const{id:e,contents:i}=t.detail,[a,o]=e.split("|");if(a==this.itemId&&o===this.instanceid){if(!this._initializing&&i.length>0){const t=vt.getItemInfo(a);"data"===o?t.data=JSON.parse(i):t.properties=JSON.parse(i),vt.setItemInfo(t)}this._initializing=!1}}}))}componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"380588bf427a11776781495b484c168cfd918cbb"},i("div",{key:"aae764d536425f28cd02e9407d392c5a77a7928c",class:"solution-data-container"},i("calcite-shell",{key:"1d4331bcd65345505bb974d057125fa5ef0ceade",class:"light var-container",dir:"ltr"},i("calcite-panel",{key:"6137bbf5506a298f47c705d220e37fa87f11376f",class:"json-editor"},i("div",{key:"95b9a7348353f9c7840d33e38c13abf63d1a5202",class:"solution-data-child-container calcite-match-height"},i("json-editor",{key:"7058719c8f4d52662fe6803d22c25d7e8f5247c7",class:"solution-data-editor-container",instanceid:this.itemId+"|"+this.instanceid,value:this.value}))),i("calcite-shell-panel",{key:"f1300f76c2d1582ae1f4b5fbce376f6271a4f7fa","height-scale":"l",position:"end",slot:"contextual-panel","width-scale":"xs"},i("div",{key:"5ff7f54a246e6a349e78aef06ff5dd305d8ff023",class:this.varsOpen?"solution-data-child-container":"solution-data-child-container-collapsed"},i("calcite-button",{key:"40354bd59a3bd94536e319c69c1b4acc3a0dcc89",appearance:"transparent",class:"collapse-btn","icon-start":this.varsOpen?"chevrons-right":"chevrons-left",id:"collapse-vars",onClick:()=>this._toggleVars(),scale:"s",title:this.varsOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"99fa3a0e4086c1513f4b7519c989104022b3a899",class:this.varsOpen?"org-vars":"org-vars display-none",id:"orgVars"},i("solution-organization-variables",{key:"f41ccb5a4407da56b067f9e0090784de8e92e6f5",value:this.organizationVariables})),i("div",{key:"d3807d2cbc87e7a7af1331cb971d2c49faea6932",class:this.varsOpen?"sol-vars":"sol-vars display-none",id:"solVars"},i("solution-variables",{key:"43d3d42805cd793b25d0dcb1ab6fe19cf3f36d3c",value:this.solutionVariables})))))))}_initializing=!1;_toggleVars(){this.varsOpen=!this.varsOpen}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};ne.style=":host{display:flexbox}.solution-data-container{position:absolute;height:-moz-available;height:calc(100% - 48px);height:-webkit-fill-available;height:stretch;width:-moz-available;width:100%;width:-webkit-fill-available;width:stretch}.solution-data-child-container{display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.solution-data-editor-container{height:100%}.solution-data-child-container-collapsed{display:flex;height:100%;flex-direction:column;overflow:auto;width:50px}.inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.json-editor{margin:1rem;width:auto;width:-webkit-fill-available -moz-available}.collapse-btn{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.org-vars{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.sol-vars{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;min-height:45%}.padding-1{padding:1rem}.light{background-color:#F4F4F4}";const le=class{constructor(i){t(this,i),this.solutionVariableSelected=e(this,"solutionVariableSelected",7),this.value="",this._solutionVariables=[],this._translations=void 0}get el(){return o(this)}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"5002564d17298781fbda56a17013ecbce40ded88"},i("div",{key:"9b7bba21c17c4b6ee3d7fac8f55eaeddceaca91e"},i("h4",{key:"788f5eb1a908e8f8f8d6a1b291fce3baba31b6d1",class:"org-var-header"},this._translations.solVariables)),i("div",{key:"3fd5e3e1963e950af5c2d2f40ec6e36c45662161",class:"container-border"},i("calcite-tree",{key:"10a7ac7f746310f80c20bc949e5bc29d65bc8656",id:"variable-label"},this._renderHierarchy(this._solutionVariables))))}solutionVariableSelected;_renderHierarchy(t){return t.map((t=>t.dependencies&&t.dependencies.length>0?i("calcite-tree-item",{onClick:t=>this._toggleExpand(t)},i("solution-item-icon",{type:t.type}),i("span",{class:"icon-text",title:t.title},t.title),i("calcite-tree",{slot:"children"},this._renderHierarchy(t.dependencies))):i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.solutionVariableSelected.emit({itemId:t,value:e})}_toggleExpand(t){const e=t?.target?.closest("calcite-tree-item");e&&(e.expanded=!e.expanded)}async _getTranslations(){const t=await mt(this.el);this._translations=t[0]}static get watchers(){return{value:["valueWatchHandler"]}}};le.style=":host{display:block}.container-border{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";export{_t as calcite_shell_panel,Tt as calcite_tab,Ft as calcite_tab_nav,qt as calcite_tab_title,Gt as calcite_tabs,Yt as calcite_value_list,te as calcite_value_list_item,ee as json_editor,ie as solution_item_details,ae as solution_item_sharing,oe as solution_organization_variables,se as solution_resource_item,ne as solution_template_data,le as solution_variables}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{h as t,r as i,c as s,H as e,g as a}from"./p-6eb37ed2.js";import{c as n,d as o,H as r}from"./p-eacb5b05.js";import{g as c}from"./p-c6296ee6.js";import{c as l,d as h,u as d,I as p}from"./p-53e0faf4.js";import{c as u,d as b}from"./p-cb860e39.js";import{s as f,a as m,c as v}from"./p-1b147794.js";import{c as g,d as y}from"./p-32539121.js";import{u as k,c as w,s as x,d as j}from"./p-2866ef30.js";import{f as z}from"./p-8817162f.js";import"./p-416c0818.js";import"./p-0afbf455.js";import"./p-b51111e1.js";import"./p-3832f6b0.js";import"./p-3edf491f.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.1
|
11
|
+
*/const C=({full:i,scale:s,partial:e})=>t("calcite-icon",{class:e?void 0:"icon",icon:i?"star-f":"star",scale:s}),L=class{constructor(t){i(this,t),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleLabelKeyDown=t=>{const i=this.getValueFromLabelEvent(t),s=t.key,e=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(e))switch(s){case"Enter":case" ":this.value=this.required||this.value!==i?i:0;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(i),this.updateFocus(),t.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(i),this.updateFocus(),t.preventDefault();break;case"Tab":this.hoverValue=null}else(!this.required&&e>=0&&e<=this.max||this.required&&e>0&&e<=this.max)&&(this.value=e),this.updateFocus()},this.handleInputChange=t=>{if(!0===this.isKeyboardInteraction){const i=Number(t.target.value);this.hoverValue=i,this.value=i}},this.handleLabelPointerOver=t=>{this.hoverValue=this.getValueFromLabelEvent(t)},this.handleLabelPointerDown=t=>{const i=t.currentTarget,s=this.getValueFromLabelEvent(t);this.hoverValue=s,this.emit=!0,this.value=this.required||this.value!==s?s:0,i.focus()},this.handleLabelClick=t=>{t.preventDefault()},this.handleLabelFocus=t=>{const i=this.getValueFromLabelEvent(t);this.hoverValue=i},this.setLabelEl=t=>{this.labelElements.push(t)},this.emit=!1,this.guid=`calcite-ratings-${c()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0}onMessagesChange(){}handleValueUpdate(t){this.hoverValue=t,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){k(this,this.effectiveLocale)}connectedCallback(){l(this),g(this),w(this),u(this),n(this)}async componentWillLoad(){await x(this),f(this)}componentWillRender(){this.starsMap=Array.from({length:this.max},((t,i)=>{const s=i+1,e=this.average&&this.average+1-s,a=s<=this.hoverValue;return{average:!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,fraction:e,hovered:a,id:`${this.guid}-${s}`,partial:!this.hoverValue&&!this.value&&!a&&e>0&&e<1,selected:this.value>=s,value:s,tabIndex:this.getTabIndex(s)}}))}componentDidLoad(){m(this)}disconnectedCallback(){h(this),y(this),j(this),b(this),o(this)}componentDidRender(){d(this)}render(){return t(e,{key:"9c08ab0a8eee6854a1d88fd2ed538e1a95ce5d62",onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},t(p,{key:"fc3a022e1943f0e52eaba60423ac44eb58011326",disabled:this.disabled},t("span",{key:"89dba59e95b9bdc552d5557df7e7df32b71ac4e4",class:"wrapper"},t("fieldset",{key:"69a2c7a774dc7a19c15fd2e9b36f4da8f088b1ef",class:"fieldset",disabled:this.disabled},t("legend",{key:"9266db4c44647a70b367581bff35c67e0a5ba3be",class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:i,checked:s,fraction:e,hovered:a,id:n,partial:o,selected:r,value:c,tabIndex:l})=>t("label",{class:{star:!0,selected:r,hovered:a,average:i,partial:o},"data-value":c,htmlFor:n,onClick:this.handleLabelClick,onFocus:this.handleLabelFocus,onKeyDown:this.handleLabelKeyDown,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver,ref:this.setLabelEl,tabIndex:l},t("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:n,name:this.guid,onChange:this.handleInputChange,tabIndex:-1,type:"radio",value:c}),t(C,{full:r||i,scale:this.scale}),o&&t("div",{class:"fraction",style:{width:100*e+"%"}},t(C,{full:!0,partial:!0,scale:this.scale})),t("span",{class:"visually-hidden"},this.messages.stars.replace("{num}",`${c}`))))),(this.count||this.average)&&this.showChip?t("calcite-chip",{scale:this.scale,value:this.count?.toString()},!!this.average&&t("span",{class:"number--average"},this.average.toString()),!!this.count&&t("span",{class:"number--count"},"(",this.count?.toString(),")")):null),t(r,{key:"80020e22ccaacc218647bf50d7a3aa6fbfadf5fb",component:this}))))}onLabelClick(){this.setFocus()}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(t){return this.readOnly||this.value!==t&&(this.value||1!==t)?-1:0}getValueFromLabelEvent(t){return Number(t.currentTarget.getAttribute("data-value"))}getNextRatingValue(t){return 5===t?1:t+1}getPreviousRatingValue(t){return 1===t?5:t-1}async setFocus(){await v(this),z(this.el)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};L.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{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;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-color-border-input)}.star:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.average,.fraction{color:var(--calcite-color-status-warning)}.hovered,.selected{color:var(--calcite-color-brand)}.fraction{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;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-color-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{L as calcite_rating}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,h as i,g as n}from"./p-6eb37ed2.js";import{g as o}from"./p-c6296ee6.js";import{c as a,d as c,u as l,I as s}from"./p-53e0faf4.js";import{c as r,s as d,a as h}from"./p-1b147794.js";import{l as u}from"./p-85002390.js";import"./p-416c0818.js";import"./p-a7ca67b9.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.1
|
11
|
+
*/const p="description",b="description-only",g="heading",m="heading-only",f="icon",v="icon-only",x="input-alignment-end",k="input-alignment-start",y="input-enabled",w="large-visual",z="tile",C="tile--large-visual",B="width-auto",j="width-full";u.deprecated("component",{name:"tile-select",removalVersion:4,suggested:["tile","tile-group"]});const H=class{constructor(i){t(this,i),this.calciteTileSelectChange=e(this,"calciteTileSelectChange",6),this.guid=`calcite-tile-select-${o()}`,this.checked=!1,this.description=void 0,this.disabled=!1,this.heading=void 0,this.icon=void 0,this.iconFlipRtl=!1,this.name=void 0,this.inputEnabled=!1,this.inputAlignment="start",this.type="radio",this.value=void 0,this.width="auto",this.focused=!1}checkedChanged(t){this.input.checked=t}nameChanged(t){this.input.name=t}async setFocus(){return await r(this),this.input?.setFocus()}checkboxChangeHandler(t){const e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}checkboxFocusBlurHandler(t){t.target===this.input&&(this.focused=t.detail),t.stopPropagation()}radioButtonChangeHandler(t){const e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation(),this.calciteTileSelectChange.emit()}radioButtonCheckedChangeHandler(t){const e=t.target;e===this.input&&(this.checked=e.checked),t.stopPropagation()}radioButtonFocusBlurHandler(t){const e=t.target;e===this.input&&(this.focused=e.focused),t.stopPropagation()}clickHandler(t){this.disabled||["calcite-tile","calcite-tile-select"].includes(t.target.localName)&&this.input.click()}pointerEnterHandler(){if(this.disabled)return;const{localName:t}=this.input;"calcite-radio-button"!==t&&"calcite-checkbox"!==t||(this.input.hovered=!0)}pointerLeaveHandler(){if(this.disabled)return;const{localName:t}=this.input;"calcite-radio-button"!==t&&"calcite-checkbox"!==t||(this.input.hovered=!1)}connectedCallback(){this.renderInput(),a(this)}componentWillLoad(){d(this)}componentDidLoad(){h(this)}disconnectedCallback(){this.input.parentNode.removeChild(this.input),c(this)}componentDidRender(){l(this)}renderInput(){this.input="radio"===this.type?document.createElement("calcite-radio-button"):document.createElement("calcite-checkbox"),this.input.checked=this.checked,this.input.disabled=this.disabled,this.input.hidden=this.el.hidden,this.input.id=this.guid,this.input.label=this.heading||this.name||"",this.name&&(this.input.name=this.name),this.value&&(this.input.value=null!=this.value?this.value.toString():""),this.el.insertAdjacentElement("beforeend",this.input)}render(){const{checked:t,description:e,disabled:n,focused:o,heading:a,icon:c,inputAlignment:l,inputEnabled:r,width:d,iconFlipRtl:h}=this,u=a&&c&&!e,H=Boolean(c);return i(s,{key:"fb4ce458ff761b577b3c588a7b2b17ab9db17927",disabled:n},i("div",{key:"3963753f3f75f8e063287f65819dbcc558e49b03",class:{checked:t,container:!0,[p]:Boolean(e),[b]:Boolean(!a&&!c&&e),disabled:n,focused:o,[g]:Boolean(a),[m]:a&&!c&&!e,[f]:H,[v]:!a&&c&&!e,[x]:"end"===l,[k]:"start"===l,[y]:r,[w]:u,[B]:"auto"===d,[j]:"full"===d}},i("div",{key:"b4d6877710cb5da729a9e9f8e9ca0e1fbc6bbab0",class:{[z]:!0,[C]:u}},c&&i("div",{key:"b44c56e0db0efe86143620701bfeed24ded091f4",class:{[f]:H}},i("calcite-icon",{key:"756ffa642f294d7e0d7dbf947739d3d50f73480c",flipRtl:h,icon:c,scale:"l"})),i("div",{key:"9ab6110c94d707582dd9b1e0a2bbf0b852f87b89",class:"tile-content-container"},i("div",{key:"bf74512102c70a1716afc9ebc27ad7f3f5a18b3f",class:"tile-content"},a&&i("div",{key:"1359f1524bfa52f3f4b0620680cf9c62bcdafe6e",class:"tile-heading"},a),e&&i("div",{key:"01950e547acfe81b946fac0583df493a6f05ee8d",class:"tile-description"},e)))),i("slot",{key:"d9bbd06c7808673fad6480de536a7b153574956b"})))}get el(){return n(this)}static get watchers(){return{checked:["checkedChanged"],name:["nameChanged"]}}};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:block}:host .container{background-color:var(--calcite-color-foreground-1);box-shadow:0 0 0 1px var(--calcite-color-border-2);box-sizing:border-box;cursor:pointer;display:inline-block;block-size:100%;max-inline-size:300px;padding:0.75rem;position:relative;vertical-align:top;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host .container.checked{z-index:var(--calcite-z-index);box-shadow:0 0 0 1px var(--calcite-color-brand)}:host .container.heading-only{align-items:center}:host .container:not(.input-enabled) ::slotted(calcite-checkbox),:host .container:not(.input-enabled) ::slotted(calcite-radio-button){position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host .container.focused{outline-color:transparent}:host .container.focused:not(.disabled):not(.input-enabled){outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );outline-offset:-4px;box-shadow:0 0 0 1px var(--calcite-color-brand), inset 0 0 0 2px var(--calcite-color-foreground-1)}:host .container.input-enabled.input-alignment-start.width-auto.heading-only,:host .container.input-enabled.input-alignment-start.width-auto.icon-only,:host .container.input-enabled.input-alignment-start.width-auto.description-only,:host .container.input-enabled.input-alignment-start.width-auto.heading.description,:host .container.input-enabled.input-alignment-start.width-auto.icon.description,:host .container.input-enabled.input-alignment-start.width-auto.heading.icon.description{display:inline-grid;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-start.heading-only,:host .container.input-enabled.input-alignment-start.icon-only,:host .container.input-enabled.input-alignment-start.description-only,:host .container.input-enabled.input-alignment-start.heading.description,:host .container.input-enabled.input-alignment-start.icon.description,:host .container.input-enabled.input-alignment-start.heading.icon.description{gap:0.75rem}:host .container.input-enabled.input-alignment-start .tile{order:1}:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-start.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-start:0.75rem}:host .container.input-enabled.input-alignment-end.width-auto.heading-only,:host .container.input-enabled.input-alignment-end.width-auto.icon-only{display:inline-grid;grid-gap:0.75rem;grid-template-columns:max-content 1fr}:host .container.input-enabled.input-alignment-end.heading-only,:host .container.input-enabled.input-alignment-end.icon-only{gap:0.75rem}:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.description-only ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.icon.description ::slotted(calcite-radio-button),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.heading.icon.description ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-checkbox),:host .container.input-enabled.input-alignment-end.large-visual ::slotted(calcite-radio-button){position:absolute;inset-block-start:0.75rem;inset-inline-end:0.75rem}:host .container.width-full{display:flex;max-inline-size:none}:host .container.width-full .tile{flex:1 1 auto}.tile{pointer-events:none;box-sizing:border-box;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-direction:column;gap:0.5rem;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.tile-content-container{display:flex;inline-size:100%;align-items:stretch;padding:0px;color:var(--calcite-color-text-2);outline-color:transparent}.tile-content{display:flex;flex:1 1 auto;flex-direction:column;gap:0.5rem;inline-size:10%}.tile-heading{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.tile-description{pointer-events:none;overflow-wrap:break-word;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-color-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.tile--large-visual{display:grid;justify-content:center;text-align:center;min-block-size:12rem}.tile--large-visual .icon{align-self:flex-end}.tile--large-visual calcite-icon{block-size:64px;inline-size:64px}.tile--large-visual .tile-content-container{align-self:center}:host(:hover) .container:not(.input-enabled){box-shadow:0 0 0 1px var(--calcite-color-brand)}:host(:hover) .tile-heading,.checked .tile-heading{color:var(--calcite-color-text-1)}:host(:hover) .tile-description,.checked .tile-description{color:var(--calcite-color-text-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{H as calcite_tile_select}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{h as t,r as i,c as e,H as s,g as a}from"./p-6eb37ed2.js";import{d as o}from"./p-e3196917.js";import{f as n,e as l}from"./p-ffbe2075.js";import{D as c,E as h,t as r}from"./p-8817162f.js";import{d,f as p,c as b,r as m,a as u,F as g}from"./p-e46f6b68.js";import{s as f,c as v,a as x,d as y,H as w}from"./p-eacb5b05.js";import{g as C}from"./p-c6296ee6.js";import{c as k,u as I,d as z,I as j}from"./p-53e0faf4.js";import{c as S,d as $,g as H}from"./p-cb860e39.js";import{b as D,c as E,s as A,a as L}from"./p-1b147794.js";import{c as O,d as _}from"./p-32539121.js";import{c as P}from"./p-3832f6b0.js";import{o as F}from"./p-071a80fb.js";import{D as M}from"./p-3edf491f.js";import{c as W,s as T,d as V,u as B}from"./p-2866ef30.js";import{g as G,c as R}from"./p-0afbf455.js";import{V as N}from"./p-96a7e73d.js";import{i as U,h as q,C as J,b as K,c as Q,d as X,e as Y,f as Z,j as tt,I as it}from"./p-14ac7f32.js";import{d as et}from"./p-c8d3207e.js";import{C as st}from"./p-51b004f6.js";import{g as at}from"./p-2058b5d9.js";import{d as ot,p as nt}from"./p-d572627c.js";import{s as lt}from"./p-5dcec135.js";import"./p-416c0818.js";import"./p-b51111e1.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-720a12c0.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.1
|
11
|
+
*/const ct="x-button",ht=({disabled:i,key:e,label:s,onClick:a,ref:o,scale:n})=>t("button",{"aria-label":s,class:ct,disabled:i,key:e,onClick:a,ref:o,tabIndex:-1,type:"button"},t("calcite-icon",{icon:"x",scale:G(n)})),rt="combobox-item-",dt="combobox-chip-",pt="combobox-label-",bt="combobox-listbox-",mt="combobox-input-",ut=class{constructor(t){i(this,t),this.calciteComboboxChange=e(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=e(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6),this.placement=d,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=P("mutation",(()=>this.updateItems())),this.resizeObserver=P("resize",(()=>{this.setMaxScrollerHeight(),this.refreshSelectionDisplay()})),this.guid=C(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?p(i,t):null},this.getValue=()=>{const t=this.selectedItems.map((t=>t?.value?.toString()));return t?.length?t.length>1?t:t[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=t=>{if(this.readOnly)return;const{key:i}=t;switch(i){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.filterText?(this.addCustomChip(this.filterText,!0),t.preventDefault()):this.open?(this.open=!1,t.preventDefault()):!this.allowCustomValues&&this.filterText&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1));break;case"ArrowLeft":-1===this.activeChipIndex&&0!==this.textInput.selectionStart||(this.previousChip(),t.preventDefault());break;case"ArrowRight":-1!==this.activeChipIndex&&(this.nextChip(),t.preventDefault());break;case"ArrowUp":this.filteredItems.length&&(t.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView());break;case"ArrowDown":this.filteredItems.length&&(t.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView());break;case" ":this.textInput.value||t.defaultPrevented||(this.open||(this.open=!0,this.shiftActiveItemIndex(1)),t.preventDefault());break;case"Home":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;t.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.clearDisabled||this.open||this.clearValue(),this.open=!1,t.preventDefault();break;case"Enter":this.open&&this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),t.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),t.preventDefault()):this.allowCustomValues&&this.filterText?(this.addCustomChip(this.filterText,!0),t.preventDefault()):t.defaultPrevented||f(this)&&t.preventDefault();break;case"Delete":case"Backspace":if("single"===this.selectionDisplay||"fit"===this.selectionDisplay&&this.selectedHiddenChipsCount>0)return;this.activeChipIndex>-1?(t.preventDefault(),this.removeActiveChip()):!this.filterText&&this.isMulti()&&(t.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:t,open:i,referenceEl:e}=this;if(!t||!i)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();t.style.maxHeight=s>0?`${s}px`:"",t.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=t=>{this.open=!1;const i=this.items.find((i=>i===t));i&&this.toggleSelection(i,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=t=>{if(this.readOnly)return;const i=t.composedPath();return i.some((t=>"CALCITE-CHIP"===t.tagName))?(this.open=!1,void t.preventDefault()):i.some((t=>t.classList?.contains(ct)))?(this.clearValue(),void t.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.refreshSelectionDisplay=async()=>{if(await D(this),U(this.selectionMode))return;if(!this.textInput)return;const{allSelectedIndicatorChipEl:t,chipContainerEl:i,selectionDisplay:e,placeholder:s,selectedIndicatorChipEl:a,textInput:n}=this,l=parseInt(getComputedStyle(i).gap.replace("px","")),r=c(i),{fontSize:d,fontFamily:p}=getComputedStyle(n),b=(h(s,`${d} ${p}`)||parseInt(o))+l,m=c(t),u=c(a),g=Math.max(m,u);if(this.setCompactSelectionDisplay({chipContainerElGap:l,chipContainerElWidth:r,inputWidth:b,largestSelectedIndicatorChipWidth:g}),"fit"===e){const t=Array.from(this.el.shadowRoot.querySelectorAll("calcite-chip")).filter((t=>t.closable)),i=Math.round(r-((this.selectedHiddenChipsCount>0?u:0)+l+b+l));this.refreshChipDisplay({availableHorizontalChipElSpace:i,chipContainerElGap:l,chipEls:t}),this.setVisibleAndHiddenChips(t)}},this.setFloatingEl=t=>{this.floatingEl=t,b(this,this.referenceEl,this.floatingEl)},this.setContainerEl=t=>{this.resizeObserver.observe(t),this.listContainerEl=t,this.transitionEl=t},this.setChipContainerEl=t=>{this.resizeObserver.observe(t),this.chipContainerEl=t},this.setReferenceEl=t=>{this.referenceEl=t,b(this,this.referenceEl,this.floatingEl)},this.setAllSelectedIndicatorChipEl=t=>{this.allSelectedIndicatorChipEl=t},this.setSelectedIndicatorChipEl=t=>{this.selectedIndicatorChipEl=t},this.inputHandler=t=>{this.filterText=t.target.value},this.filterItems=(()=>{const t=(t,i)=>t&&i.some((({label:i,value:e})=>t.tagName===tt?i===t.label:e===t.value&&i===t.textLabel));return et(((i,e=!1,s=!0)=>{const a=n(this.data,i),o=this.getItemsAndGroups(),c=""===i;o.forEach((i=>{if(c)return void(i.hidden=!1);const e=!t(i,a);i.hidden=e;const[s,o]=i.ancestors;(t(s,a)||t(o,a))&&(i.hidden=!1),e||i.ancestors.forEach((t=>t.hidden=!1))})),this.filterTextMatchPattern=this.filterText&&new RegExp(`(${l(this.filterText)})`,"i"),this.filteredItems=this.getFilteredItems(),this.filteredItems.forEach((t=>{t.filterTextMatchPattern=this.filterTextMatchPattern})),e&&(this.open=this.filterText.trim().length>0&&this.filteredItems.length>0),s&&this.calciteComboboxFilterChange.emit()}),M.filter)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=et(this.internalComboboxChangeEvent,0),this.getSelectedItems=()=>{if(!this.isMulti()){const t=this.items.find((({selected:t})=>t));return t?[t]:[]}return this.items.filter((t=>t.selected&&("ancestors"!==this.selectionMode||!q(t)))).sort(((t,i)=>{const e=this.selectedItems.indexOf(t),s=this.selectedItems.indexOf(i);return e>-1&&s>-1?e-s:s-e}))},this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getFilteredItems(),this.needsIcon=this.getNeedsIcon(),this.items.forEach((t=>{t.selectionMode=this.selectionMode,t.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((t,i,e)=>{0===i&&(t.afterEmptyGroup=!1);const s=e[i+1];s&&(s.afterEmptyGroup=0===t.children.length)}))},this.scrollToActiveItem=()=>{const t=this.filteredItems[this.activeItemIndex];if(!t)return;const i=this.calculateScrollerHeight(t),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<t.offsetTop+i?this.listContainerEl.scrollTop=t.offsetTop-e+i:t.offsetTop<s&&(this.listContainerEl.scrollTop=t.offsetTop)},this.comboboxFocusHandler=()=>{this.disabled||this.textInput?.focus()},this.clearDisabled=!1,this.filterText="",this.selectionDisplay="all",this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=0,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.status="idle",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.readOnly=!1,this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.compactSelectionDisplay=!1,this.selectedHiddenChipsCount=0,this.selectedVisibleChipsCount=0,this.effectiveLocale=void 0,this.defaultMessages=void 0}filterTextChange(t){this.updateActiveItemIndex(-1),this.filterItems(t,!0)}openHandler(){F(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(t){t||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(t){if(!this.internalValueChangeFlag){const i=this.getItems();Array.isArray(t)?i.forEach((i=>i.selected=t.includes(i.value))):i.forEach(t?i=>i.selected=t===i.value:t=>t.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}async documentClickHandler(t){this.disabled||t.composedPath().includes(this.el)||(await R(this.el),!this.allowCustomValues&&this.filterText&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),this.allowCustomValues&&this.filterText.trim().length&&this.addCustomChip(this.filterText),this.open=!1)}calciteComboboxItemChangeHandler(t){if(this.ignoreSelectedEventsFlag)return;const i=t.target,e=this.filteredItems.indexOf(i);this.updateActiveItemIndex(e),this.toggleSelection(i,i.selected)}calciteInternalComboboxItemChangeHandler(t){t.stopPropagation(),this.updateItems()}async reposition(t=!1){const{floatingEl:i,referenceEl:e,placement:s,overlayPositioning:a,filteredFlipPlacements:o}=this;return m(this,{floatingEl:i,referenceEl:e,overlayPositioning:a,placement:s,flipPlacements:o,type:"menu"},t)}async setFocus(){await E(this),this.textInput?.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){k(this),O(this),W(this),S(this),v(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.open&&(this.openHandler(),F(this)),b(this,this.referenceEl,this.floatingEl)}async componentWillLoad(){A(this),this.updateItems(),await T(this),this.filterItems(this.filterText,!1,!1)}componentDidLoad(){x(this,this.getValue()),b(this,this.referenceEl,this.floatingEl),L(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),I(this)}componentDidUpdate(){this.refreshSelectionDisplay()}disconnectedCallback(){this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),z(this),$(this),y(this),u(this,this.referenceEl,this.floatingEl),_(this),V(this)}effectiveLocaleChange(){B(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((t=>t.selected=!1)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}clearInputValue(){this.textInput.value="",this.filterText=""}comboboxInViewport(){const t=this.el.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.right<=(window.innerWidth||document.documentElement.clientWidth)&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:t}=this,i=0===t.length?0:this.items.indexOf(t[t.length-1]);this.updateActiveItemIndex(i)}hideChip(t){t.classList.add(J.chipInvisible)}showChip(t){t.classList.remove(J.chipInvisible)}refreshChipDisplay({chipEls:t,availableHorizontalChipElSpace:i,chipContainerElGap:e}){t.forEach((t=>{if(t.selected){const s=c(t);if(s&&s<i)return i-=s+e,void this.showChip(t)}else this.hideChip(t);this.hideChip(t)}))}setCompactSelectionDisplay({chipContainerElGap:t,chipContainerElWidth:i,inputWidth:e,largestSelectedIndicatorChipWidth:s}){const a=Math.round(s+t+e);(!this.maxCompactBreakpoint||this.maxCompactBreakpoint<a)&&(this.maxCompactBreakpoint=a),this.compactSelectionDisplay=i<this.maxCompactBreakpoint}setVisibleAndHiddenChips(t){let i=0;t.forEach((t=>{t.selected&&!t.classList.contains(J.chipInvisible)&&i++})),i!==this.selectedVisibleChipsCount&&(this.selectedVisibleChipsCount=i);const e=this.getSelectedItems().length-i;e!==this.selectedHiddenChipsCount&&(this.selectedHiddenChipsCount=e)}getMaxScrollerHeight(){const t=this.getItemsAndGroups().filter((t=>!t.hidden)),{maxItems:i}=this;let e=0,s=0;return t.length>i&&t.forEach((t=>{if(e<i){const i=this.calculateScrollerHeight(t);i>0&&(s+=i,e++)}})),s}calculateScrollerHeight(t){if(t)return t.getBoundingClientRect().height-Array.from(t.querySelectorAll(K)).reduce(((t,i)=>t+i.getBoundingClientRect().height),0)}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(t,i=!t.selected){!t||"single-persist"===this.selectionMode&&t.selected&&t.value===this.value||(this.isMulti()?(t.selected=i,this.updateAncestors(t),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===t&&i)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=Q(t)),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(t){if("ancestors"!==this.selectionMode)return;const i=X(t),e=Y(t);t.selected?i.forEach((t=>{t.selected=!0})):(e.forEach((t=>t.selected=!1)),[...i].forEach((t=>{q(t)||(t.selected=!1)})))}getFilteredItems(){return""===this.filterText?this.items:this.items.filter((t=>!t.hidden))}getData(){return this.items.map((t=>({description:t.description,filterDisabled:t.filterDisabled,label:t.textLabel,metadata:t.metadata,shortHeading:t.shortHeading,value:t.value})))}getNeedsIcon(){return U(this.selectionMode)&&this.items.some((t=>t.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.filterText=""}getItems(){return Array.from(this.el.querySelectorAll(Z)).filter((t=>!t.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(tt))}addCustomChip(t,i){const e=this.items.find((i=>i.textLabel===t));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement("calcite-combobox-item");e.value=t,e.textLabel=t,e.selected=!0,this.el.prepend(e),this.resetText(),i&&this.setFocus(),this.updateItems(),this.filterItems(""),this.open=!0,this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){const t=this.activeChipIndex;this.activeChipIndex=-1===t?this.selectedItems.length-1:Math.max(t-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){const t=this.activeChipIndex+1;t>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=t,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){const t=this.selectedItems[this.activeChipIndex]?.guid,i=t?this.referenceEl.querySelector(`#${dt}${t}`):null;i?.setFocus()}shiftActiveItemIndex(t){const{length:i}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+i+t)%i),this.scrollToActiveItem()}updateActiveItemIndex(t){this.activeItemIndex=t;let i=null;this.filteredItems.forEach(((e,s)=>{s===t?(e.active=!0,i=`${rt}${e.guid}`):e.active=!1})),this.activeDescendant=i,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isAllSelected(){return this.getItems().length===this.getSelectedItems().length}isMulti(){return!U(this.selectionMode)}renderChips(){const{activeChipIndex:i,readOnly:e,scale:s,selectionMode:a,messages:o}=this;return this.selectedItems.map(((n,l)=>{const c={chip:!0,"chip--active":i===l},h=[...X(n)].reverse(),r=Q(n),d=[...h,n].map((t=>Q(t))),p="ancestors"!==a?r:d.join(" / ");return t("calcite-chip",{appearance:e?"outline":"solid",class:c,closable:!e,"data-test-id":`chip-${l}`,icon:n.icon,iconFlipRtl:n.iconFlipRtl,id:n.guid?`${dt}${n.guid}`:null,key:r,messageOverrides:{dismissLabel:o.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(n),onFocusin:()=>this.activeChipIndex=l,scale:s,selected:n.selected,tabindex:i===l?0:-1,title:p,value:n.value},p)}))}renderAllSelectedIndicatorChip(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s,setAllSelectedIndicatorChipEl:a}=this,o=this.messages.allSelected;return t("calcite-chip",{class:{chip:!0,[J.chipInvisible]:!(this.isAllSelected()&&!s&&!i)},ref:a,scale:e,title:o,value:""},o)}renderAllSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,scale:e,selectedVisibleChipsCount:s}=this,a=this.messages.all||"All";return t("calcite-chip",{class:{chip:!0,[J.chipInvisible]:!(this.isAllSelected()&&!s&&i)},scale:e,title:a,value:""},a)}renderSelectedIndicatorChip(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:a,selectedHiddenChipsCount:o,selectedVisibleChipsCount:n,setSelectedIndicatorChipEl:l}=this;let c,h;if(i)c=!0;else if("single"===e){const t=s().length;c=!(!this.isAllSelected()&&t>0),h=`${t} ${this.messages.selected}`}else"fit"===e&&(c=!!(this.isAllSelected()&&0===n||0===o),h=n>0?`+${o}`:`${o} ${this.messages.selected}`);return t("calcite-chip",{class:{chip:!0,[J.chipInvisible]:c},ref:l,scale:a,title:h,value:""},h)}renderSelectedIndicatorChipCompact(){const{compactSelectionDisplay:i,selectionDisplay:e,getSelectedItems:s,scale:a,selectedHiddenChipsCount:o}=this;let n,l;if(i){const t=s().length;this.isAllSelected()?n=!0:"fit"===e?(n=!(o>0),l=`${o||0}`):"single"===e&&(n=!(t>0),l=`${t}`)}else n=!0;return t("calcite-chip",{class:{chip:!0,[J.chipInvisible]:n},scale:a,title:l,value:""},l)}get showingInlineIcon(){const{placeholderIcon:t,selectionMode:i,selectedItems:e,open:s}=this,a=e[0],o=a?.icon,n=U(i);return!s&&a?!!o&&n:!!t&&(!a||n)}renderInput(){const{guid:i,disabled:e,placeholder:s,selectionMode:a,selectedItems:o,open:n}=this,l=U(a),c=o[0],h=!n&&l&&!!c;return t("span",{class:{"input-wrap":!0,"input-wrap--single":l}},h&&t("span",{class:{label:!0,"label--icon":!!c?.icon},key:"label"},Q(c)),t("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${bt}${i}`,"aria-errormessage":it.validationMessage,"aria-expanded":r(n),"aria-haspopup":"listbox","aria-invalid":r("invalid"===this.status),"aria-label":H(this),"aria-owns":`${bt}${i}`,class:{[J.input]:!0,"input--single":!0,"input--hidden":h,"input--icon":this.showingInlineIcon&&!!this.placeholderIcon},"data-test-id":"input",disabled:e,id:`${mt}${i}`,key:"input",onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,readOnly:this.readOnly,ref:t=>this.textInput=t,role:"combobox",tabindex:-1===this.activeChipIndex?0:-1,type:"text",value:this.filterText}))}renderListBoxOptions(){return this.filteredItems.map((i=>t("li",{"aria-selected":r(i.selected),id:i.guid?`${rt}${i.guid}`:null,role:"option",tabindex:"-1"},i.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:i,setContainerEl:e,open:s}=this;return t("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:i},t("div",{class:{[J.listContainer]:!0,[g.animation]:!0,[g.animationActive]:s},ref:e},t("ul",{class:{list:!0,"list--hide":!s}},t("slot",null))))}renderSelectedOrPlaceholderIcon(){const{open:i,placeholderIcon:e,placeholderIconFlipRtl:s,selectedItems:a}=this,o=a[0],n=o?.icon,l=e&&(i||!o);return this.showingInlineIcon&&t("span",{class:"icon-start",key:"selected-placeholder-icon"},t("calcite-icon",{class:{[J.selectedIcon]:!l,[J.placeholderIcon]:l},flipRtl:l?s:o.iconFlipRtl,icon:l?e:n,scale:G(this.scale)}))}renderChevronIcon(){const{open:i}=this;return t("span",{class:"icon-end",key:"chevron"},t("calcite-icon",{class:J.icon,icon:i?"chevron-up":"chevron-down",scale:G(this.scale)}))}render(){const{selectionDisplay:i,guid:e,label:a,open:o,readOnly:n}=this,l=U(this.selectionMode),c="all"===i,h="single"===i,r=!l&&"fit"===i,d=!this.clearDisabled&&this.value?.length>0;return t(s,{key:"24749edfdb12a51e6e34c78d3428f83de7ac0457",onClick:this.comboboxFocusHandler},t(j,{key:"7300de366d86bcad91501f1124aed5f311820c37",disabled:this.disabled},t("div",{key:"fc8981935ffdd46fc5386517fce51170d41179a5","aria-live":"polite",class:{wrapper:!0,"wrapper--single":l||!this.selectedItems.length,"wrapper--active":o},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},this.renderSelectedOrPlaceholderIcon(),t("div",{class:{"grid-input":!0,[J.selectionDisplayFit]:r,[J.selectionDisplaySingle]:h},key:"grid",ref:this.setChipContainerEl},!l&&!h&&this.renderChips(),!l&&!c&&[this.renderSelectedIndicatorChip(),this.renderSelectedIndicatorChipCompact(),this.renderAllSelectedIndicatorChip(),this.renderAllSelectedIndicatorChipCompact()],t("label",{key:"60ca38b6b84d8ccd3e11419ca494c8a3b310e631",class:"screen-readers-only",htmlFor:`${mt}${e}`,id:`${pt}${e}`},a),this.renderInput()),!n&&d?t(ht,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,!n&&this.renderChevronIcon()),t("ul",{key:"bb750b55b33af3a317ac7883d4f8ef88a23bf1c6","aria-labelledby":`${pt}${e}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${bt}${e}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),t(w,{key:"bf9a9f0dc62822568377ee1e602e24ca14b9c895",component:this}),this.validationMessage&&"invalid"===this.status?t(N,{icon:this.validationIcon,id:it.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{filterText:["filterTextChange"],open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],effectiveLocale:["effectiveLocaleChange"]}}};ut.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-color-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-color-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.wrapper:hover .icon{color:var(--calcite-color-text-1)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([read-only]) .wrapper{background-color:var(--calcite-color-background)}:host([read-only]) .label{font-weight:var(--calcite-font-weight-medium)}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;gap:var(--calcite-combobox-item-spacing-unit-s);margin-inline-end:var(--calcite-combobox-item-spacing-unit-s)}.grid-input.selection-display-fit,.grid-input.selection-display-single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-combobox-item-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:-moz-placeholder-shown{text-overflow:ellipsis}.input:placeholder-shown{text-overflow:ellipsis}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.placeholder-icon{color:var(--calcite-color-text-3)}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.icon-end .icon{color:var(--calcite-color-text-3)}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset, left, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block:0;left:0}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width, 100%)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}calcite-chip{--calcite-animation-timing:0}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);max-inline-size:100%}.chip--active{background-color:var(--calcite-color-foreground-3)}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";const gt=class{constructor(t){i(this,t),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((t=>t.selectionMode=this.selectionMode))},this.mutationObserver=P("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){this.updateItems(),this.mutationObserver?.observe(this.el,{childList:!0})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const i=this.groupTitle?t("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?t("div",{class:"dropdown-separator",role:"separator"}):null;return t(s,{key:"5e46ca1eb8f37e5af6f9ff4f417a9290c84f2f69","aria-label":this.groupTitle,role:"group"},t("div",{key:"af52f0ab422c21b0c10620b61fc7b6445d277878",class:{[st.container]:!0}},e,i,t("slot",{key:"e320a38a327d6ca9802c9664c93907df2705fbf3"})))}updateActiveItemOnChange(t){this.requestedDropdownGroup=t.detail.requestedDropdownGroup,this.requestedDropdownItem=t.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return a(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};gt.style=":host{position:relative;display:block}.container{text-align:start}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-color-border-3)}:host([scale=s]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .dropdown-title{padding:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .dropdown-title{padding:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .dropdown-title{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}";const ft=class{constructor(t){i(this,t),this.idsFound=e(this,"idsFound",7),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.height=void 0,this.isMobile=void 0,this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.showSingleLayerAsLabel=!1,this.type="select",this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=void 0,this.ids=[],this.selectedName="",this._translations=void 0}get el(){return a(this)}defaultLayerHonored=!1;_layerElement;_layerNameHash;_tableNameHash;async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}idsFound;noLayersFound;layerSelectionChange;async componentWillLoad(){await this._getTranslations(),await this._setLayers()}async componentWillRender(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];t!==this.selectedIds[0]&&this._setSelectedLayer(t)}}render(){const i="map-layer-picker";let e=this.height>0?{height:`${this.height.toString()}px`}:{};return e={...e,display:this.display},t(s,{key:"cd5647231dd3ed44a0acb155b00dbdfd25b54ab3"},t("div",{key:"9468d551facd02669c12a6b6b75c89fab9efa1da",class:"map-layer-picker-container",style:e},t("div",{key:"d434b15e27476b2207bcdaf00c1f06b746dc352b",class:"map-layer-picker",style:e},this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():"combobox"===this.type?this._getCombobox(i):"select"===this.type?this._getSelect(i):this._getDropdown(i):this._getInvalidPlaceholder())))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const t=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=t:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t].name:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t].name:"")}}_getInvalidPlaceholder(){return t("div",null,t("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},t("div",{slot:"message"},this._translations.noLayersFound)),t("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},t("span",null,this._translations.enableEditUpdate)))}_getSingleLayerPlaceholder(){return t("div",{class:"layer-picker-label-container cursor-default"},t("calcite-icon",{icon:"layers",scale:"s"}),t("calcite-label",{class:"no-bottom-margin padding-start-1"},this.selectedName))}_getSelect(i){return t("calcite-select",{id:i,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:t=>{this._layerElement=t},scale:this.scale},this._getMapLayerOptions())}_getCombobox(i){return t("calcite-combobox",{clearDisabled:!0,id:i,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:t=>{this._layerElement=t},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(i){return t("calcite-dropdown",{class:"layer-picker-dropdown",onCalciteDropdownBeforeClose:()=>this._isDropdownOpen=!1,onCalciteDropdownBeforeOpen:()=>this._isDropdownOpen=!0},this.isMobile?this._getDropdownButton():this._getActionDropdownButton(i),t("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getActionDropdownButton(i){return t("calcite-action",{id:i,slot:"trigger",text:""},this._getDropdownButton())}_getDropdownButton(){return t("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:this.isMobile?"":"max-width-350",iconEnd:this._isDropdownOpen?"chevron-up":"chevron-down",iconStart:"layers",kind:"neutral",slot:this.isMobile?"trigger":"",width:"full"},t("div",null,this.selectedName))}_getMapLayerOptions(){return this.ids.reduce(((t,i)=>(this._validLayer(i)?t.push(this._getItem(i,"layer")):this._validTable(i)&&t.push(this._getItem(i,"table")),t)),[])}_getItem(i,e){const s="layer"===e?this._layerNameHash[i]:this._tableNameHash[i],a=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name,n=this.selectedIds.indexOf(i)>-1;return"combobox"===this.type?t("calcite-combobox-item",{disabled:a,selected:n,textLabel:o,value:i}):"select"===this.type?t("calcite-option",{disabled:a,label:o,selected:n,value:i}):t("calcite-dropdown-group",{class:a?"disabled":"",selectionMode:a?"none":"single"},t("calcite-dropdown-item",{"icon-start":e,onClick:a?void 0:()=>{this._setSelectedLayer(i)},selected:n},o))}_setSelectedLayer(t){let i;this.defaultLayerId&&!this.defaultLayerHonored&&(i=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=void 0!==i,t=this.defaultLayerHonored?this.defaultLayerId:t),i=i||this._getLayerFromHash(t),this.selectedName=i?.name,this.selectedIds=[t],this.layerSelectionChange.emit(this.selectedIds)}_getLayerFromHash(t){return Object.keys(this._layerNameHash).indexOf(t)>-1?this._layerNameHash[t]:Object.keys(this._tableNameHash).indexOf(t)>-1?this._tableNameHash[t]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const t=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),i=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...t.reverse().filter((t=>!(this.enabledLayerIds?.length>0)||this.enabledLayerIds.reverse().indexOf(t)>-1)),...i.reverse().filter((t=>!(this.enabledTableIds?.length>0)||this.enabledTableIds.reverse().indexOf(t)>-1))],this.idsFound.emit({layerIds:t,tableIds:i})}}_getEditableIds(t){return Object.keys(t).reduce(((i,e)=>(t[e].supportsUpdate&&i.push(e),i)),[])}async _initLayerTableHash(){this._layerNameHash=await ot(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await nt(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(t){const i=this._layerNameHash[t]?.name;return i&&Object.keys(lt.managedLayers).indexOf(i)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(t)>-1)}_validTable(t){const i=this._tableNameHash[t]?.name,e=i&&this.showTables;return e?lt.managedTables.indexOf(i)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(t)>-1):e}_layerSelectionChange(){const t=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(t)!==JSON.stringify([""])&&(this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const t=await at(this.el);this._translations=t[0]}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};ft.style=":host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom:0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}";export{ut as calcite_combobox,gt as calcite_dropdown_group,ft as map_layer_picker}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as e,h as i,F as t,g as o}from"./p-6eb37ed2.js";import{c as a,d as r}from"./p-131ca2b1.js";import{g as s}from"./p-8817162f.js";import{H as c,c as n}from"./p-54713c54.js";import{l}from"./p-85002390.js";import{S as d,C as p}from"./p-58d0a9e8.js";import"./p-3832f6b0.js";import"./p-416c0818.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-a7ca67b9.js";l.deprecated("component",{name:"pick-list-group",removalVersion:3,suggested:"list-item-group"});const m=class{constructor(i){e(this,i),this.groupTitle=void 0,this.headingLevel=void 0}connectedCallback(){a(this)}disconnectedCallback(){r(this)}render(){const{el:e,groupTitle:o,headingLevel:a}=this,r=null!==s(e,d.parentItem),l={[p.container]:!0,[p.indented]:r},m=o,f=e.closest("calcite-pick-list")?.headingLevel,g=f?n(f+1):null;return i(t,{key:"ed20e87abe8e3b68153c0e132869953e379e76cd"},m?i(c,{class:p.heading,level:a||g},m):null,i("slot",{key:"cf2218ff15bf2d69ab1710bf7b272d0a32283bba",name:d.parentItem}),i("section",{key:"bbf9c988f97a38d8319feaf544090c35fb388f3e",class:l},i("slot",{key:"1a67fc5febf55333069ddc02577900f5e4e98171"})))}get el(){return o(this)}};m.style=":host{margin-block-end:0.25rem;box-sizing:border-box;display:block;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host(:last-child){margin-block-end:0px}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.heading{margin-block:0.5rem;margin-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-size:var(--calcite-font-size--1);line-height:1.375;color:var(--calcite-color-text-3)}.container--indented{margin-inline-start:1.5rem}:host([hidden]){display:none}[hidden]{display:none}";export{m as calcite_pick_list_group}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
/*!
|
7
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
9
|
+
* v2.12.1
|
10
|
+
*/
|
11
|
+
const t={actions:"actions",actionsEnd:"actions--end",actionsStart:"actions--start",description:"description",handle:"handle",handleActivated:"handle--activated",highlight:"highlight",icon:"icon",iconDot:"icon-dot",label:"label",remove:"remove",title:"title",textContainer:"text-container"},n={checked:"check",remove:"x"},a={actionsEnd:"actions-end",actionsStart:"actions-start"};export{t as C,n as I,a as S}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as n,c as t,h as i,H as e,g as a}from"./p-6eb37ed2.js";import{l as o}from"./p-4cd4cb85.js";import{g as s}from"./p-3d0e9be4.js";import{g as r}from"./p-a9a72626.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const p="instant-apps-export calcite-mode-light",l="instant-apps-export-print",c="instant-apps-export-print__legend-container",d="instant-apps-export-print__compass-container",h="instant-apps-export-print__scale-bar-container",u="instant-apps-export-print__popup-container",v="instant-apps-export-print__popup-content",_="instant-apps-export-print__popup-title",x="instant-apps-export-print__view",b="instant-apps-export-print__view-container",g="instant-apps-export-print__views-container",f="instant-apps-export-print__view-wrapper",m="instant-apps-export-print__view-content",w="instant-apps-export-print__view-header",k=class{constructor(i){n(this,i),this.exportOutputUpdated=t(this,"exportOutputUpdated",7),this.legends={},this.compasses={},this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.includeHeader=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showIncludeHeader=!0,this.showScaleBar=!1,this.exportViews=void 0,this.baseClass=p,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(n){var t;n&&(null===(t=this.exportViews)||void 0===t||t.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);null!=i&&this.updateLegend(n,t,i)})))}watchView(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}async componentWillLoad(){this.baseClass="dark"===r(this.el)?"instant-apps-export calcite-mode-dark":p,s(this),await this.initializeModules()}componentDidLoad(){var n;this.printContainerEl.prepend(this.printEl),null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleIncludePopup(n,t)}))}componentDidUpdate(){var n;null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{const i=this.printEl.querySelector(`#legend-${t}`);this.updateLegend(n,t,i)}))}async initializeModules(){const[n,t]=await o(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new n,this.reactiveUtils=t,Promise.resolve()}render(){const n="popover"===this.mode?this.renderPopover():this.renderPanel();return i(e,{key:"1b0428743837a0f1c176cba3e58af38104f4ac7b"},i("div",{key:"8d39535015a0e5ab498a66c8757c28ae556bd326",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},n))}renderPopover(){var n,t,e;const a=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(n=this.messages)||void 0===n?void 0:n.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:n=>this.popoverEl=n},a),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(t=this.messages)||void 0===t?void 0:t.exportBtn,text:null===(e=this.messages)||void 0===e?void 0:e.exportBtn})]}renderPanel(){var n;const t=this.showIncludeMap?this.renderSwitch("includeMap"):null,e=this.includeMap?this.renderMapOptions():null,a=this.renderPrint();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},t,e,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},null===(n=this.messages)||void 0===n?void 0:n.export),a)}renderSwitch(n,t){var e;const a=null!=t?t:null===(e=this.messages)||void 0===e?void 0:e[n];return i("calcite-label",{layout:"inline-space-between"},a,i("calcite-switch",{checked:this[n],value:n,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){const n=this.showIncludeHeader?this.renderSwitch("includeHeader","Include header"):null,t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,e=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,n,t,e)}renderPrint(){var n;return i("div",{ref:n=>this.printContainerEl=n},i("div",{class:l,ref:n=>this.printEl=n},i("div",{class:g},null===(n=this.exportViews)||void 0===n?void 0:n.map((({title:n,view:t},e)=>{var a,o;const s=null===(o=null===(a=t.map)||void 0===a?void 0:a.portalItem)||void 0===o?void 0:o.id,r=this.includeMap?this.renderPrintMap(n,e):null,p=this.includeMap&&this.showIncludeLegend?this.renderLegend(e):null,l=this.includeMap&&this.showIncludePopup?this.renderPopup(e):null;return i("div",{key:s,id:`print-${e}`,class:m},r,p,l)})))))}renderPrintMap(n,t){return i("div",{id:`view-container-${t}`,class:b},i("div",{id:`view-wrapper-${t}`,class:f},this.includeHeader&&n?i("div",{class:w},i("h1",null,n)):null,i("img",{id:`view-${t}`,class:x}),i("div",{id:`scalebar-container-${t}`,class:h})))}renderLegend(n){return i("div",{id:`legend-${n}`,class:c})}renderCompass(n){return i("div",{id:`compass-${n}`,class:d})}renderPopup(n){return i("div",{id:`popup-${n}`,class:u},i("div",{id:`popup-title-${n}`,class:_}),i("div",{id:`popup-content-${n}`,class:v}))}optionOnChange(n){const{checked:t,value:i}=n.target;this[i]=t,this.updateExportOutput()}async exportOnClick(){var n;await this.beforeExport(),(null===(n=this.exportViews)||void 0===n?void 0:n.length)?(this.addPrintStyling(),document.body.prepend(this.printEl),this.exportViews.forEach((({view:n},t)=>{this.handleViewExportOnClick(n,t)})),this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}async handleViewExportOnClick(n,t){this.includeMap&&(this.updateScaleBar(n,t),this.updatePopupToPrint(n,t),this.viewScreenshot(n,t),this.handleLegendSetup(t))}addPrintStyling(){null==this.printStyleEl&&(this.printStyleEl=document.createElement("style"),this.printStyleEl.innerHTML='\n @media print {\n @page {\n size: Portrait;\n margin: .25in;\n }\n\n html, body {\n padding: 0;\n margin: 0;\n height: 100%;\n width: 100%;\n }\n\n body > *:not(.instant-apps-export-print) { display: none; }\n }\n\n * {\n -webkit-print-color-adjust: exact;\n color-adjust: exact;\n }\n\n instant-apps-header {\n height: 50px;\n display: block;\n }\n\n\n .instant-apps-export-print {\n z-index: -999;\n color: #323232 !important;\n display: grid;\n grid-auto-flow: row;\n --esri-calcite-mode-name: "light";\n position: absolute;\n }\n\n .instant-apps-export-print__view-header {\n background: #fff;\n }\n\n .instant-apps-export-print__view-header h1 {\n font-size: 16px;\n font-weight: 500;\n color: #323232;\n margin: 6px;\n }\n\n .instant-apps-export-print__views-container {\n height: 100%;\n width: 100%;\n display: flex;\n flex-direction: column;\n }\n\n .instant-apps-export-print__view-content:first-child {\n page-break-before: unset;\n } \n\n .instant-apps-export-print__view-content {\n height: 100%;\n display: flex;\n flex-direction: column;\n gap: 32px;\n page-break-before: always;\n }\n\n .instant-apps-export-print, .instant-apps-export-print * {\n box-sizing: border-box;\n }\n\n .instant-apps-export-print__view-section {\n height: 100%;\n }\n\n .instant-apps-export-print__view-container {\n height: 100%;\n width: 100%;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: min-content;\n position: relative;\n display: flex;\n flex-direction: column;\n border: 2pt solid #323232;\n overflow: hidden;\n }\n\n .instant-apps-export-print__view {\n max-height: 60vh;\n max-width: calc(100vw - .25in);\n object-fit: contain;\n }\n\n .instant-apps-export-print__popup-container {\n height: min-content;\n max-width: 350px;\n display: none;\n color: #323232;\n background: #fff;\n border: 1pt solid #323232;\n break-inside: avoid;\n }\n\n .instant-apps-export-print__popup-title {\n border-bottom: 1pt solid #323232;\n }\n\n .instant-apps-export-print__popup-content {\n background: #fff;\n padding-top: 8pt;\n }\n\n .instant-apps-export-print__popup-content .esri-feature-media__chart {\n background: #fff;\n }\n\n .instant-apps-export-print__legend-container {\n height: min-content;\n background: #fff;\n overflow: unset;\n }\n\n .esri-legend--card, .esri-legend--card__service-content {\n flex-flow: row wrap;\n }\n\n .instant-apps-export-print .esri-widget > *:not(.esri-scale-bar.esri-widget > *) {\n background: #fff;\n color: #323232;\n }\n\n .instant-apps-export-print__popup-content * {\n color: #323232;\n }\n\n .instant-apps-export-print .esri-widget__heading {\n margin: 2pt 7pt;\n padding: 0;\n color: #323232;\n }\n\n .instant-apps-export-print .esri-legend__ramp-label:before {\n border-color: rgba(0,0,0,0) rgba(50,50,50,.8) rgba(0,0,0,0) rgba(0,0,0,0);\n }\n\n .instant-apps-export-print .esri-legend--card__section {\n padding: 4pt 0 4pt;\n min-width: unset;\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__section:first-child {\n border-left: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service {\n border: none;\n flex: 0 1 auto;\n break-inside: avoid;\n }\n\n .instant-apps-export-print .esri-legend--card {\n border: none;\n gap: 6pt 12pt;\n }\n\n .instant-apps-export-print .esri-legend--card:not(:first-child),\n .instant-apps-export-print .esri-compass.esri-widget:not(:first-child) {\n display: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-container {\n height: unset;\n padding: 0;\n border-bottom: none;\n }\n\n .instant-apps-export-print .esri-legend--card__service-caption-text {\n padding-bottom: 4px;\n }\n\n .instant-apps-export-print__compass-container {\n position: absolute;\n top: 65px;\n left: 15px;\n background: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n --calcite-ui-icon-color: #000;\n border-radius: 50%;\n height: fit-content;\n }\n\n .instant-apps-export-print__compass-container .esri-compass {\n background: #fff;\n }\n\n .instant-apps-export-print__compass-container .esri-compass__icon.esri-icon-compass {\n color: #000;\n }\n\n .instant-apps-export-print__compass-container.esri-compass.esri-widget--button {\n background: #fff;\n }\n\n .instant-apps-export-print__scale-bar-container {\n width: 100%;\n position: absolute;\n bottom: 15px;\n margin: 0 15px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label {\n color: #323232;\n font-size: 10px;\n padding: 0 4px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--line {\n height: 16px;\n overflow: hidden;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__label-container--top {\n bottom: 1px;\n }\n \n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label {\n height: 10px;\n padding: 0 2px;\n line-height: 11px;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__bar-container:nth-child(1n+3) {\n display: none;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__bar-container.esri-scale-bar__bar-container--line {\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line {\n background-color: rgba(255, 255, 255, 0.66);\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top {\n width: var(--instant-apps-scale-bar-top) !important;\n border-bottom: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom {\n width: var(--instant-apps-scale-bar-bottom) !important;\n border-top: 2px solid #323232;\n }\n\n .instant-apps-export-print__scale-bar-container--position .esri-scale-bar__label-container--line {\n position: unset;\n margin: 0 2px;\n background-color: rgba(255, 255, 255, 0.66);\n height: 10px;\n display: flex;\n align-items: center;\n }\n\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--top:after,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:before,\n .instant-apps-export-print__scale-bar-container .esri-scale-bar__line--bottom:after {\n background-color: #323232;\n border-right: 2px solid #323232;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__item-navigation {\n display: none;\n }\n\n .instant-apps-export-print__popup-container .esri-feature-media__chart.esri-feature-media__chart--rendered * {\n width: 100%!important;\n }\n\n .instant-apps-export-print__popup-content .esri-popup__content {\n margin: 0;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()}),1500)}resetPrintContent(){}async updatePopupToPrint(n,t){var i,e;const a=this.printEl.querySelector(`#popup-${t}`);if(null!=a&&(a.style.display=this.includePopup&&n.popup.visible?"block":"none",this.checkPopupOpen(n,t)),n.popup.visible&&null!=n.popup.selectedFeature){const a=document.createElement(`h${null!==(i=n.popup.headingLevel)&&void 0!==i?i:2}`);a.innerHTML=null!==(e=n.popup.title)&&void 0!==e?e:"",a.className="esri-widget__heading esri-popup__header-title";const o=this.printEl.querySelector(`#popup-title-${t}`);null!=o&&(o.style.display=n.popup.title?"block":"none",o.innerHTML="",o.prepend(a))}}updateExportOutput(){this.output={},this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.showIncludeHeader&&(this.output.includeHeader=this.includeHeader),this.exportOutputUpdated.emit()}setupViewPrintElements(){const n=document.title;window.print(),document.title=n,setTimeout((()=>{this.resetPrintContent()}),1e3)}handleLegendSetup(n){var t;const i=this.printEl.querySelector(`#legend-${n}`);if(this.showIncludeLegend&&this.includeMap&&i){const e=this.legends[n],a=null!=e&&(null===(t=e.activeLayerInfos)||void 0===t?void 0:t.length)>0;i.style.display=this.includeLegend&&a?"block":"none"}}handleWidgetCreation(){var n;this.includeMap&&(null===(n=this.exportViews)||void 0===n||n.forEach((({view:n},t)=>{this.handleLegendCreation(n,t)})))}handleIncludePopup(n,t){var i,e;if(this.showIncludePopup){const a=`includePopup-${t}`;null===(i=this.handles)||void 0===i||i.remove(a),null===(e=this.reactiveUtils)||void 0===e||e.whenOnce((()=>null==n?void 0:n.ready)).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t;return null===(t=null==n?void 0:n.popup)||void 0===t?void 0:t.visible}),(n=>{this.includePopup=n})),a)}))}}handleLegendCreation(n,t){var i,e,a,o;const s=this.printEl.querySelector(`#legend-${t}`);if(this.showIncludeLegend&&null!=s){const r=n.map,p=this.legends[t],l=null===(i=null==p?void 0:p.view)||void 0===i?void 0:i.map;null!=(null===(e=null==r?void 0:r.portalItem)||void 0===e?void 0:e.id)&&(null===(a=null==r?void 0:r.portalItem)||void 0===a?void 0:a.id)===(null===(o=null==l?void 0:l.portalItem)||void 0===o?void 0:o.id)||this.updateLegend(n,t,s)}}async updateLegend(n,t,i){null==n||n.when((async n=>{if(null==this.legends[t]&&null!=i){i.innerHTML="";const e=document.createElement("div");i.append(e);const[a]=await o(["esri/widgets/Legend"]);this.legends[t]=new a({id:`legend-widget-${t}`,container:e,view:n,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(n,t){var i,e,a;const o=this.compassContainerEl.querySelector(`#compass-${t}`);if(null!=o){const s=n.map,r=this.compasses[t],p=null===(i=null==r?void 0:r.view)||void 0===i?void 0:i.map;(null===(e=null==s?void 0:s.portalItem)||void 0===e?void 0:e.id)===(null===(a=null==p?void 0:p.portalItem)||void 0===a?void 0:a.id)||this.updateCompass(n,t,o)}}updateCompass(n,t,i){null==n||n.when((async n=>{const e=document.createElement("div");if(null==i)return;i.append(e);const[a]=await o(["esri/widgets/Compass"]);this.compasses[t]=new a({id:`compass-widget-${t}`,container:e,view:n})}))}updateScaleBar(n,t){const i=this.printEl.querySelector(`#scalebar-container-${t}`);if(i&&null!=n&&(i.innerHTML="",this.showScaleBar)){const t=n.ui.getComponents(),e=null==t?void 0:t.find((({container:n})=>{var t;return null===(t=null==n?void 0:n.className)||void 0===t?void 0:t.includes("esri-scale-bar")}));null!=(null==e?void 0:e.container)&&"string"!=typeof e.container&&i.append(e.container.cloneNode(!0))}}async viewScreenshot(n,t){if(this.includeMap){const i=this.printEl.querySelector(`#scalebar-container-${t}`);null==i||i.classList.toggle("instant-apps-export-print__scale-bar-container--position",n.width>1e3);const e=await n.takeScreenshot({width:2*n.width,height:2*n.height});this.handleScaleBarSize(n,e,i);const a=this.printEl.querySelector(`#view-${t}`);null!=e&&null!=a&&(a.src=e.dataUrl)}}checkPopupOpen(n,t){const i=n.popup.container,e=null==i?void 0:i.querySelector(".esri-popup .esri-feature__main-container");if(null!=e){const n=e.querySelectorAll("canvas"),i=this.printEl.querySelector(`#popup-content-${t}`);if(null==i)return;i.innerHTML="",i.append(e.cloneNode(!0));const a=i.querySelectorAll("canvas");n.forEach(((n,t)=>{var i;const e=n.toDataURL(),o=document.createElement("img");o.src=e;const s=n.getAttribute("style");s&&o.setAttribute("style",s);const r=a[t];null!=r&&(r.replaceWith(o),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(i=o.parentElement)||void 0===i?void 0:i.parentElement)&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))}))}}handleScaleBarSize(n,t,i){if(this.showScaleBar&&"2d"===(null==n?void 0:n.type)&&null!=i){const n=i.querySelector(".esri-scale-bar__line--top"),e=i.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,i,n,"top"),this.setScalebarWidth(t,i,e,"bottom")}}setScalebarWidth(n,t,i,e){if(null!=i&&null!=n){const a=n.data.width/2,o=Number(i.style.width.replace("px",""));null==t||t.style.setProperty(`--instant-apps-scale-bar-${e}`,o/a*100+"%")}}get el(){return a(this)}static get watchers(){return{includeMap:["watchIncludeMap"],exportViews:["watchView"]}}};k.style=":host{display:block;--instant-apps-export-action-background:var(--calcite-color-foreground-1);--instant-apps-export-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-export-action-background-press:var(--calcite-color-foreground-3);--instant-apps-export-action-height:100%;--instant-apps-export-action-width:fit-content;--instant-apps-export-action-icon-color:var(--calcite-color-text-3);--instant-apps-export-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-export-background:var(--calcite-color-foreground-1);--instant-apps-export-text-color:var(--calcite-color-text-1);--instant-apps-export-popover-width:250px}.instant-apps-export{height:100%}.instant-apps-export *{box-sizing:border-box}.instant-apps-export__popover-container,.instant-apps-export__inline-container{padding:12px;background:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export__popover-container{width:var(--instant-apps-export-popover-width)}.instant-apps-export calcite-action{height:var(--instant-apps-export-action-height);width:var(--instant-apps-export-action-width);--calcite-color-foreground-1:var(--instant-apps-export-action-background);--calcite-color-foreground-2:var(--instant-apps-export-action-background-hover);--calcite-color-foreground-3:var(--instant-apps-export-action-background-press);--calcite-color-text-3:var(--instant-apps-export-action-icon-color);--calcite-color-text-1:var(--instant-apps-export-action-icon-hover-color)}.instant-apps-export .instant-apps-export-print{display:none}.instant-apps-export__visually-hidden{position:absolute;top:0;z-index:-1;visibility:hidden}.instant-apps-export calcite-input{--calcite-color-foreground-1:var(--instant-apps-export-background);--calcite-color-text-1:var(--instant-apps-export-text-color)}.instant-apps-export calcite-popover{--calcite-color-foreground-1:var(--instant-apps-export-background)}.instant-apps-export calcite-switch{--calcite-color-foreground-1:#fff;--calcite-color-foreground-2:#f3f3f3}.instant-apps-export calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-export .calcite-mode-dark calcite-switch{--calcite-color-foreground-1:#2b2b2b;--calcite-color-foreground-2:#202020}.instant-apps-export__compass-container.esri-widget{background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3)}.instant-apps-export__compass-container.esri-widget .esri-compass__icon.esri-icon-compass{color:#6e6e6e}.hide{display:none}.screenshotCursor{cursor:crosshair}";export{k as instant_apps_export_views}
|