@esri/solutions-components 0.10.16 → 0.10.18
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 +19 -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 +19 -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 +273 -267
- 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 +18 -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 +19 -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 +273 -267
- 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-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-4115fcd2.entry.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 +5 -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 +4 -4
- 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 _}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:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(_,m){return"W"===m?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"},meridiem:function(_,m){var p=100*_+m;return p<600?"凌晨":p<900?"早上":p<1100?"上午":p<1300?"中午":p<1800?"下午":"晚上"}};_.locale(m,null,!0);export{m as default}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as a,h as n,H as s,g as e,F as i}from"./p-6eb37ed2.js";import{d as r,i as o,e as l,s as c,f as p,E as u,l as g,h as d,c as h}from"./p-41c34a67.js";import"./p-3d0e9be4.js";import"./p-4cd4cb85.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";import"./p-720a12c0.js";const m="instant-apps-components__ckeditor-wrapper",v=class{constructor(n){t(this,n),this.isFocused=a(this,"isFocused",7),this.dataChanged=a(this,"dataChanged",7),this.value=void 0,this.editorInstance=void 0,this.config=void 0}updateValue(){this.value&&this.editorInstance.setData(this.value)}async componentDidLoad(){this.init()}componentDidUpdate(){this.editorInstance.setData(this.value)}render(){return n(s,{key:"4a000cee4310d40e940c97d16f24c78415083f1b"},n("div",{key:"55b2e7ddd6b259b58e19f8946d2198df1fd7b579"}))}init(){this.applyStyles(),this.initEditor()}applyStyles(){if(document.getElementById(m))return;const t=document.createElement("style");t.id=m,t.innerHTML="\n .ck.ck-reset.ck-editor.ck-rounded-corners {\n margin-top: 10px !important;\n margin-left: 55px !important;\n }\n .ck-editor__editable {\n height: 70px !important;\n font-size: 0.875rem !important;\n line-height: \t1.375 !important;\n color: var(--calcite-color-text-1) !important;\n }\n\n .ck.ck-editor__editable_inline>:first-child,\n .ck.ck-editor__editable_inline>:last-child {\n --ck-spacing-large: 0.5rem !important;\n }\n\n .ck.ck-balloon-panel.ck-powered-by-balloon {\n --ck-z-modal: 700;\n z-index: 700;\n }\n\n .calcite-mode-dark .ck-editor__editable {\n color: var(--calcite-color-text-inverse) !important;\n }\n",document.head.prepend(t)}async initEditor(){const t=await this.createEditor();t&&(this.editorInstance=t,(this.value||""===this.value)&&t.setData(this.value),t.editing.view.document.on("change:isFocused",this.getEditorFocusedCallback(t)))}async createEditor(){try{let t;return t=this.config?await ClassicEditor.create(this.el,this.config):await ClassicEditor.create(this.el),this.editorInstance=t,Promise.resolve(t)}catch(t){return console.error(t),Promise.reject(null)}}getEditorFocusedCallback(t){return(a,n,s)=>{if(s)this.isFocused.emit();else{const a=t.getData();this.value!==a&&(this.value=a,this.dataChanged.emit(a))}}}get el(){return e(this)}static get watchers(){return{value:["updateValue"]}}};v.style=":host{display:block}";const _="instant-apps-language-translator-item",b={section:`${_}__section`,selected:`${_}__section--selected`,collapsed:`${_}__section--collapsed`,topRow:`${_}__top-row`,labelContainer:`${_}__label-container`,label:`${_}__label`,uiLocationPopoverContent:`${_}__ui-location-popover-content`,uiLocationItems:`${_}__ui-location-items`,uiLocationItem:`${_}__ui-location-item`,infoIcon:`${_}__info-icon`,infoButton:`${_}__info-button`,tip:`${_}__tip`,nestedInput:`${_}__nested-input`},f=class{constructor(n){t(this,n),this.translatorItemDataUpdated=a(this,"translatorItemDataUpdated",7),this.userInputs={},this.translatedInputs={},this.fieldName=void 0,this.translatedLanguageLabels=void 0,this.setting=void 0,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0}get isTextEditor(){return this.setting.type===r.TextEditor}get calciteMode(){return o()?l.Dark:l.Light}get hasNestedContent(){var t;return!!(null===(t=this.setting)||void 0===t?void 0:t.content)}get tipID(){return`${this.fieldName}goTo`}componentDidLoad(){this.isTextEditor&&c.onChange("uiData",(()=>this.handleEditorCollapse()))}render(){var t;return"content"in this.setting&&(null===(t=this.setting.content)||void 0===t?void 0:t.every((t=>{var a;return 0===(null===(a=null==t?void 0:t.content)||void 0===a?void 0:a.length)})))?n(i,null):n(s,{class:this.calciteMode},this.renderBase(),this.renderPopover())}renderBase(){return n("div",{class:_},this.renderUserLocaleSection(),this.renderTranslatedLanguageSection())}renderPopover(){const t=this.getTip();return n("calcite-popover",{referenceElement:this.tipID,label:"","auto-close":"true",placement:"trailing",closable:!0},n("span",{class:b.uiLocationPopoverContent},n("span",{class:b.uiLocationItems},this.getUILocation()),t?n("span",{class:b.tip},t):null))}renderUserLocaleSection(){const t=this.getUIDataItem(),a=null==t?void 0:t.userLocaleData,s=null==a?void 0:a.value,e=this.setting.id;return n("div",{class:`${b.section}${(null==t?void 0:t.selected)?` ${b.selected}`:""}`},this.renderItemHeader(p.User,null==a?void 0:a.label,e),this.handleInputRender(p.User,s,e))}renderTranslatedLanguageSection(){var t,a;const s=this.getUIDataItem(),e=this.setting.id,i=c.get("currentLanguage"),r=c.get("portalItemResourceT9n"),o=null===(t=this.translatedLanguageLabels)||void 0===t?void 0:t[this.fieldName],l=null===(a=null==r?void 0:r[i])||void 0===a?void 0:a[e];return n("div",{class:`${b.section}${(null==s?void 0:s.selected)?` ${b.selected}`:""}`},this.renderItemHeader(p.Translation,o,e),this.handleInputRender(p.Translation,l,e))}handleInputRender(t,a,n){const s=this.getUIDataItem();return(null==s?void 0:s.expanded)?this.hasNestedContent?this.renderNestedInputs(t):this.renderInput(t,a,n):null}renderNestedInputs(t,a){const n=null!=a?a:this.setting,{content:s}=n;return null==s?void 0:s.map((a=>a.hasOwnProperty("content")?this.renderNestedInputs(t,a):this.renderNestedInput(t,a)))}renderNestedInput(t,a){var s;const e=c.get("currentLanguage"),i=c.get("portalItemResourceT9n"),r=null==a?void 0:a.id,o=null==i?void 0:i[e],l=null==o?void 0:o[r],{label:u,value:g,id:d}=a,h=t===p.Translation?null===(s=this.translatedLanguageLabels)||void 0===s?void 0:s[d]:u,m=t===p.User?g:l;return n("div",{class:b.nestedInput},this.renderItemHeader(t,h,r,a),this.renderInput(t,m,r,a))}renderItemHeader(t,a,s,e){const i=!this.hasNestedContent||!!e;return n("div",{class:b.topRow},this.renderItemHeaderLabel(t,a,e),i?this.renderCopyButton(t,s):null)}renderItemHeaderLabel(t,a,s){const e=t===p.User&&!s;return n("div",{class:b.labelContainer},s?null:this.renderExpandCollapseButton(),n("calcite-icon",{icon:this.getIcon(s),scale:"s"}),n("span",{class:b.label},a),e?this.renderInfoButton():null)}renderExpandCollapseButton(){const t=this.getUIDataItem(),a=(null==t?void 0:t.expanded)?u.Expanded:u.Collapsed;return n("calcite-action",{onClick:this.handleExpand.bind(this,t),icon:a,scale:"s",appearance:"transparent",text:""})}renderInfoButton(){return n("button",{id:this.tipID,class:b.infoButton},n("calcite-icon",{class:b.infoIcon,icon:u.Popover,scale:"s"}))}renderCopyButton(t,a){return n("calcite-action",{class:this.calciteMode,onClick:this.copySelection.bind(this,t,a),slot:"action",icon:u.Copy,appearance:"transparent",text:""})}renderInput(t,a,n,s){const e=null!=s?s:this.setting;return"string"===e.type||"textarea"===e.type?t===p.User?this.renderUserLocaleInput(a,n):this.renderTranslatedLanguageInput(a,n):this.renderTextEditor(a,t,n)}renderUserLocaleInput(t,a){return n("calcite-input",{ref:t=>this.userInputs[a]=t,key:a,id:a,class:l.Light,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleUserInputChange.bind(this)})}renderTranslatedLanguageInput(t,a){return n("calcite-input",{ref:t=>this.translatedInputs[a]=t,key:a,id:a,class:l.Light,"data-field-name":this.fieldName,value:t,onFocus:this.handleSelection,onCalciteInputChange:this.handleTranslatedInputChange.bind(this)})}renderTextEditor(t,a,s){return n("instant-apps-ckeditor-wrapper",{id:s,ref:this.setEditor.bind(this,a),onDataChanged:this.handleTextEditorDataChange.bind(this,a),onIsFocused:this.handleSelection,value:null!=t?t:"","data-field-name":this.fieldName,config:{toolbar:[]}})}getUIDataItem(){if(g.uiData)return g.uiData.get(this.fieldName)}updateT9nStore(t,a){const n=c.get("currentLanguage"),s=d(n,{[t]:a});c.set("portalItemResourceT9n",s)}handleExpand(){const t=this.getUIDataItem();t.expanded=!t.expanded;const a=new Map(g.uiData);a.set(this.fieldName,t),c.set("uiData",a)}handleEditorCollapse(){var t,a;const n=c.get("uiData"),s=null==n?void 0:n.get(this.fieldName);if(!(null==s?void 0:s.expanded)&&(null===(t=this.userEditorWrapper)||void 0===t?void 0:t.editorInstance)&&(null===(a=this.translatedEditorWrapper)||void 0===a?void 0:a.editorInstance)){const{userEditorWrapper:t,translatedEditorWrapper:a}=this,n=t.editorInstance.getData();t.value=n;const s=a.editorInstance.getData();a.value=s,t.editorInstance.destroy(),a.editorInstance.destroy()}}handleSelection(t){const a=new Map(g.uiData),n=h();n.forEach((t=>{(null==a?void 0:a.get(t)).selected=!1})),n.forEach((n=>{const s=null==t?void 0:t.target;n===(null==s?void 0:s.getAttribute("data-field-name"))&&((null==a?void 0:a.get(n)).selected=!0)})),c.set("uiData",a)}getUILocation(){const t=this.getUIDataItem(),{uiLocation:a,userLocaleData:s}=t,{section:e,subsection:i}=a,r=[e.label,i.label,s.label].filter((t=>!!t));return r.map(((t,a)=>n("span",{class:b.uiLocationItem},n("span",null,t),a!==r.length-1?n("calcite-icon",{icon:"chevron-right",scale:"s"}):null)))}getTip(){const t=this.getUIDataItem(),{tip:a}=t;return a}copySelection(t,a){this.setting.type===r.TextEditor?this.copyTextEditorContent(t):this.copyCalciteInputContent(a,t)}copyTextEditorContent(t){var a,n;const s=t===p.User?null===(a=this.userEditorWrapper)||void 0===a?void 0:a.editorInstance:null===(n=this.translatedEditorWrapper)||void 0===n?void 0:n.editorInstance;setTimeout((()=>{this.selectContent(s),setTimeout((()=>this.selectContent(s)),50)}),50),this.copyContent(s)}selectContent(t){t.editing.view.focus();const{model:a}=t,n=a.createRangeIn(a.document.getRoot());a.change((t=>t.setSelection(n)))}copyContent(t){const a=t.getData(),n=document.createElement("div");n.contentEditable="true",n.innerHTML=a,document.body.appendChild(n);const s=document.createRange();s.selectNodeContents(n);const e=window.getSelection();null==e||e.removeAllRanges(),null==e||e.addRange(s),document.execCommand("copy"),document.body.removeChild(n)}copyCalciteInputContent(t,a){const n=a===p.User?this.userInputs[t]:this.translatedInputs[t];n&&(n.selectText(),navigator.clipboard.writeText(n.value))}setEditor(t,a){t===p.User?this.userEditorWrapper=a:this.translatedEditorWrapper=a}async handleUserInputChange(t){c.set("saving",!0);try{const a=t.target,n=a.id,s=a.value;this.getUIDataItem().userLocaleData.value=s,await this.userLocaleInputOnChangeCallback(n,s),c.set("saving",!1)}catch(t){c.set("saving",!1)}}async handleUserTextEditorChange(t){c.set("saving",!0);try{const a=t.detail,n=t.target.id;this.getUIDataItem().userLocaleData.value=a,await this.userLocaleInputOnChangeCallback(n,a),c.set("saving",!1)}catch(t){c.set("saving",!1)}}async handleTranslatedInputChange(t){c.set("saving",!0);try{const a=t.composedPath()[0],n=a.id;this.updateT9nStore(n,a.value);const{locale:s,resource:e}=this.getTranslatedLocaleCallbackData(),i=t.target.value;await this.translatedLocaleInputOnChangeCallback(n,i,s,e),setTimeout((()=>c.set("saving",!1)),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),c.set("saving",!1)}}async handleTranslatedTextEditorChange(t){c.set("saving",!0);try{const a=t.target.id;this.updateT9nStore(a,t.detail);const{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),e=t.detail;await this.translatedLocaleInputOnChangeCallback(a,e,n,s),setTimeout((()=>c.set("saving",!1)),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),c.set("saving",!1)}}handleTextEditorDataChange(t,a){t===p.User?this.handleUserTextEditorChange(a):this.handleTranslatedTextEditorChange(a)}getTranslatedLocaleCallbackData(){return{locale:c.get("currentLanguage"),resource:c.get("portalItemResource")}}getIcon(t){switch((null!=t?t:this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}};f.style=".sc-instant-apps-language-translator-item-h{display:block}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__top-row.sc-instant-apps-language-translator-item{display:flex;align-items:center;justify-content:space-between}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label-container.sc-instant-apps-language-translator-item{display:flex;align-items:center}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item .instant-apps-language-translator-item__label.sc-instant-apps-language-translator-item{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-top:10px;margin-left:55px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--last-item.sc-instant-apps-language-translator-item{border-bottom:none}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item:first-child{margin-right:1%}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-popover-content.sc-instant-apps-language-translator-item{display:inline-block;padding:10px;max-width:400px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-items.sc-instant-apps-language-translator-item{display:flex}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__ui-location-item.sc-instant-apps-language-translator-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__tip.sc-instant-apps-language-translator-item{display:inline-block;font-size:14px;line-height:22px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__info-button.sc-instant-apps-language-translator-item{border:0;background-color:transparent;cursor:pointer}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__nested-input.sc-instant-apps-language-translator-item{margin-left:60px;margin-top:8px}.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__nested-input.sc-instant-apps-language-translator-item calcite-input.sc-instant-apps-language-translator-item{margin-left:30px}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-action.sc-instant-apps-language-translator-item{--calcite-ui-icon-color:var(--calcite-color-text-inverse)}.calcite-mode-dark.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section--selected.sc-instant-apps-language-translator-item calcite-icon.sc-instant-apps-language-translator-item{color:var(--calcite-color-text-inverse)}.instant-apps-language-translator--last-item.sc-instant-apps-language-translator-item-h .instant-apps-language-translator-item__section.sc-instant-apps-language-translator-item{border-bottom:none}";const x="instant-apps-language-translator-search",k={base:x,input:`${x}__input`,suggestionList:`${x}__suggestion-list`,suggestionListItem:`${x}__suggestion-list-item`},y=class{constructor(n){t(this,n),this.suggestionSelected=a(this,"suggestionSelected",7),this.t9nPlaceholder=void 0,this.results=[]}render(){return n(s,{key:"71fa373371b7b33faa8f3d91959dc50b1e3b0f34"},this.renderSearchInput(),this.renderSuggestions())}renderSearchInput(){return n("calcite-input",{ref:t=>this.searchInput=t,class:k.input,onCalciteInputInput:this.handleSearch.bind(this),type:"search",placeholder:this.t9nPlaceholder,icon:"search"})}renderSuggestions(){return this.results.length>0?this.renderSuggestionList():null}renderSuggestionList(){return n("ul",{class:k.suggestionList},this.results.map((t=>this.renderSuggestionListItem(t))))}renderSuggestionListItem(t){return n("li",{onClick:this.selectSuggestion.bind(this),class:k.suggestionListItem,"data-field-name":t.fieldName},t.userLocaleData.label)}handleSearch(t){var a,n;const s=null===(n=null===(a=t.target.value)||void 0===a?void 0:a.toLowerCase())||void 0===n?void 0:n.trim(),e=c.get("uiData"),i=h(),r=c.get("portalItemResourceT9n"),o=c.get("currentLanguage"),l=r[o],p=this.getSettingDataItems(i).filter(this.matchedResultsCallback(e,l,s,o));this.results=[...p.map((t=>Object.assign({fieldName:t},e.get(t))))]}matchedResultsCallback(t,a,n,s){return e=>{var i;const r=t.get(e),{label:o}=r.userLocaleData,{value:l}=r.userLocaleData,c=t.get("translatedLanguageLabels"),p=null===(i=null==c?void 0:c[s])||void 0===i?void 0:i[e],u=null==a?void 0:a[e],g=this.testUserInput(o,n),d=this.testUserInput(l,n),h=this.testUserInput(p,n),m=this.testUserInput(u,n);return g||d||h||m}}getSettingDataItems(t){return t.filter((t=>"locales"!==t&&"translatedLanguageLabels"!==t))}testUserInput(t,a){var n;return!!(null==t?void 0:t.trim())&&!!(null==a?void 0:a.trim())&&-1!==(null===(n=null==t?void 0:t.toLowerCase())||void 0===n?void 0:n.search(a))}selectSuggestion(t){const a=t.target.getAttribute("data-field-name");this.suggestionSelected.emit(a),this.resetSearchInput()}resetSearchInput(){this.searchInput.value="",this.results=[]}};y.style=".sc-instant-apps-language-translator-search-h{display:block;position:relative}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__input.sc-instant-apps-language-translator-search{width:235.5px}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list.sc-instant-apps-language-translator-search{position:absolute;margin:0;padding:0;width:100%;max-height:30vh;overflow:auto;border-left:none;background-color:var(--calcite-color-foreground-1);border:1px solid #c0c0c0;z-index:702}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:first-child{border:none}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search{margin-top:0;padding:0.8em 1em;border-top:solid 1px rgba(110, 110, 110, 0.3);display:flex;flex-direction:column;cursor:pointer;word-break:break-word}.sc-instant-apps-language-translator-search-h .instant-apps-language-translator-search__suggestion-list-item.sc-instant-apps-language-translator-search:hover{background-color:var(--calcite-color-foreground-2)}";export{v as instant_apps_ckeditor_wrapper,f as instant_apps_language_translator_item,y as instant_apps_language_translator_search}
|
@@ -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 s}from"./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 a=({scale:a,status:i,id:e,icon:t,message:c})=>s("div",{class:"validation-container"},s("calcite-input-message",{"aria-live":"polite",icon:t,id:e,scale:a,status:i},c));export{a as V}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as n,h as i,H as s,g as e}from"./p-6eb37ed2.js";import{l as o}from"./p-4cd4cb85.js";import{g as a}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",h="instant-apps-export-print__content-container",c="instant-apps-export-print__extra-container",d="instant-apps-export-print__legend-container",u="instant-apps-export-print__compass-container",v="instant-apps-export-print__scale-bar-container",x="instant-apps-export-print__popup-container",b="instant-apps-export-print__popup-content",_="instant-apps-export-print__popup-title",g="instant-apps-export-print__view",f="instant-apps-export-print__view-container",m="instant-apps-export-print__view-wrapper",w="instant-app-export-drag",k=class{constructor(i){t(this,i),this.exportOutputUpdated=n(this,"exportOutputUpdated",7),this.output=void 0,this.beforeExport=()=>Promise.resolve(),this.popoverIcon="export",this.extraContent=void 0,this.extraContentLabel=void 0,this.headerTitle="",this.includeExtraContent=!0,this.includeLegend=!0,this.includeMap=!0,this.includePopup=!1,this.mode="popover",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.scale="m",this.showHeaderTitle=!0,this.showIncludeLegend=!0,this.showIncludeMap=!1,this.showIncludePopup=!0,this.showScaleBar=!1,this.view=void 0,this.maskBackground="rgba(255, 51, 0, 0.1)",this.maskBorder="2px dashed rgb(255, 51, 0)",this.baseClass=p,this.exportIsLoading=void 0,this.messages=void 0}watchIncludeMap(t){t&&this.updateLegend()}watchView(){this.handleIncludePopup()}async componentWillLoad(){this.baseClass="dark"===r(this.el)?"instant-apps-export calcite-mode-dark":p,a(this),await this.initializeModules()}componentDidLoad(){this.printContainerEl.prepend(this.printEl),this.handleIncludePopup()}async initializeModules(){const[t,n]=await o(["esri/core/Handles","esri/core/reactiveUtils"]);return this.handles=new t,this.reactiveUtils=n,Promise.resolve()}render(){const t="popover"===this.mode?this.renderPopover():this.renderPanel(),n=this.renderCompass();return i(s,{key:"d561a14661edad3e4ad5f0041537acdc1fb724a1"},i("div",{key:"917848051ac8114c4ba527332c8688791a9c75d0",class:this.baseClass,onMouseEnter:this.handleWidgetCreation.bind(this),onFocusin:this.handleWidgetCreation.bind(this)},t,i("div",{key:"3421d8bde7ce6f91062b538f087c155946358e01",class:"instant-apps-export__visually-hidden"},n)))}renderPopover(){var t,n,s;const e=this.renderPanel();return[i("calcite-popover",{referenceElement:"export-popover-btn",label:null===(t=this.messages)||void 0===t?void 0:t.exportPopover,overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:t=>this.popoverEl=t},e),i("calcite-action",{id:"export-popover-btn",alignment:"center",icon:this.popoverIcon,scale:this.scale,title:null===(n=this.messages)||void 0===n?void 0:n.exportBtn,text:null===(s=this.messages)||void 0===s?void 0:s.exportBtn})]}renderPanel(){var t,n;const s=this.showHeaderTitle?this.renderTitle():null,e=null!=this.extraContent?this.renderSwitch("includeExtraContent",this.extraContentLabel):null,o=this.showIncludeMap?this.renderSwitch("includeMap"):null,a=this.includeMap?this.renderMapOptions():null,r=this.renderPrint();return i("div",{class:"inline"===this.mode?"instant-apps-export__inline-container":"instant-apps-export__popover-container"},s,e,o,a,this.includeMap?i("calcite-button",{appearance:"transparent",width:"full",onClick:this.setMapAreaOnClick.bind(this),disabled:this.exportIsLoading},null===(t=this.messages)||void 0===t?void 0:t.setMapArea):null,i("calcite-button",{width:"full",onClick:this.exportOnClick.bind(this),disabled:this.exportIsLoading},null===(n=this.messages)||void 0===n?void 0:n.export),r)}renderTitle(){var t;return i("calcite-label",null,null===(t=this.messages)||void 0===t?void 0:t.title,i("calcite-input",{value:this.headerTitle,onCalciteInputInput:this.updateHeaderTitle.bind(this)}))}renderSwitch(t,n){var s;const e=null!=n?n:null===(s=this.messages)||void 0===s?void 0:s[t];return i("calcite-label",{layout:"inline-space-between"},e,i("calcite-switch",{checked:this[t],value:t,onCalciteSwitchChange:this.optionOnChange.bind(this)}))}renderMapOptions(){const t=this.showIncludeLegend?this.renderSwitch("includeLegend"):null,n=this.showIncludePopup?this.renderSwitch("includePopup"):null;return i("div",null,t,n)}renderPrint(){const t=this.includeMap?this.renderPrintMap():null,n=this.renderExtraContent(),s=this.includeMap&&this.showIncludeLegend?this.renderLegend():null,e=this.includeMap&&this.showIncludePopup?this.renderPopup():null;return i("div",{ref:t=>this.printContainerEl=t},i("div",{class:l,ref:t=>this.printEl=t},t,s,i("div",{class:h},e,n)))}renderPrintMap(){return i("div",{class:f,ref:t=>this.viewContainerEl=t},i("div",{class:m,ref:t=>this.viewWrapperEl=t},this.headerTitle?i("instant-apps-header",{titleText:this.headerTitle,backgroundColor:"#fff",textColor:"#323232"}):null,i("img",{class:g,ref:t=>this.viewEl=t}),i("div",{class:v,ref:t=>this.scaleBarContainerEl=t})))}renderLegend(){return i("div",{class:d,ref:t=>this.legendContainerEl=t})}renderCompass(){return i("div",{class:u,ref:t=>this.compassContainerEl=t})}renderPopup(){return i("div",{class:x,ref:t=>this.popupContainerEl=t},i("div",{ref:t=>this.popupTitleEl=t,class:_}),i("div",{ref:t=>this.popupContentEl=t,class:b}))}renderExtraContent(){return i("div",{class:c,id:"export-content",ref:t=>this.extraContainerEl=t})}optionOnChange(t){const{checked:n,value:i}=t.target;this[i]=n,this.updateExportOutput()}updateHeaderTitle(t){this.headerTitle=t.target.value,this.updateExportOutput()}async exportOnClick(){this.removeScreenshotElements(),await this.beforeExport(),null==this.viewWrapperEl||this.viewWrapperEl.contains(this.compassContainerEl)||this.viewWrapperEl.append(this.compassContainerEl),this.handleViewExportOnClick(),null!=this.popoverEl&&(this.popoverEl.open=!1)}async handleViewExportOnClick(){null!=this.view?(this.addPrintStyling(),document.body.prepend(this.printEl),this.handleExtraContent(),this.includeMap?(this.updateScaleBar(),this.updatePopupToPrint(),this.viewScreenshot(),this.handleImgLoaded()):this.handleImgLoaded()):null!=this.popoverEl&&(this.popoverEl.open=!1)}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\n .instant-apps-export-print {\n height: 100%;\n width: 100%;\n position: absolute;\n z-index: -999;\n color: #323232 !important;\n display: grid;\n gap: 24px;\n grid-auto-flow: row;\n --esri-calcite-mode-name: "light";\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 display: flex;\n justify-content: center;\n }\n\n .instant-apps-export-print__view-wrapper {\n height: fit-content;\n width: fit-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 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--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 }\n\n .instant-apps-export-print__content-container {\n display: flex;\n gap: 24px;\n break-inside: avoid;\n break-before: auto;\n }',document.body.prepend(this.printStyleEl))}handleImgLoaded(){this.exportIsLoading=!0,setTimeout((()=>{this.exportIsLoading=void 0,this.setupViewPrintElements()}),1500)}handleExtraContent(){const t=this.printEl.querySelector("#export-content");null!=t&&(t.innerHTML="",null!=this.extraContent&&this.includeExtraContent?(t.style.display="block",t.append(this.extraContent.cloneNode(!0))):t.style.display="none")}resetPrintContent(){var t,n;if(null!=this.view){this.screenshot=null,null===(t=this.printContainerEl)||void 0===t||t.prepend(this.printEl),null===(n=this.printStyleEl)||void 0===n||n.remove(),this.printStyleEl=void 0;const i=this.printEl.querySelector("#export-content");i&&(i.innerHTML="")}}async updatePopupToPrint(){var t,n;if(null!=this.view&&(null!=this.popupContainerEl&&(this.popupContainerEl.style.display=this.includePopup&&this.view.popup.visible?"block":"none",this.checkPopupOpen()),this.view.popup.visible&&null!=this.view.popup.selectedFeature)){const i=document.createElement(`h${null!==(t=this.view.popup.headingLevel)&&void 0!==t?t:2}`);i.innerHTML=null!==(n=this.view.popup.title)&&void 0!==n?n:"",i.className="esri-widget__heading esri-popup__header-title",null!=this.popupTitleEl&&(this.popupTitleEl.style.display=this.view.popup.title?"block":"none",this.popupTitleEl.innerHTML="",this.popupTitleEl.prepend(i))}}updateExportOutput(){this.output={},this.showHeaderTitle&&(this.output.headerTitle=this.headerTitle),this.showIncludeLegend&&(this.output.includeLegend=this.includeLegend),this.showIncludeMap&&(this.output.includeMap=this.includeMap),this.showIncludePopup&&(this.output.includePopup=this.includePopup),this.exportOutputUpdated.emit()}setupViewPrintElements(){if(null!=this.view){this.handleLegendSetup();const t=document.title;this.showHeaderTitle&&this.headerTitle&&(document.title=this.headerTitle),window.print(),document.title=t,setTimeout((()=>{this.resetPrintContent()}),1e3)}}handleLegendSetup(){var t;if(this.showIncludeLegend&&null!=this.view&&this.includeMap&&null!=this.legendContainerEl){const n=null!=this.legend&&(null===(t=this.legend.activeLayerInfos)||void 0===t?void 0:t.length)>0;this.legendContainerEl.style.display=this.includeLegend&&n?"block":"none"}}handleWidgetCreation(){this.includeMap&&(this.handleLegendCreation(),this.handleCompassCreation())}handleIncludePopup(){var t,n;if(this.showIncludePopup){const i="includePopup";null===(t=this.handles)||void 0===t||t.remove(i),null===(n=this.reactiveUtils)||void 0===n||n.whenOnce((()=>{var t;return null===(t=this.view)||void 0===t?void 0:t.ready})).then((()=>{var t;null===(t=this.handles)||void 0===t||t.add(this.reactiveUtils.watch((()=>{var t,n;return null===(n=null===(t=this.view)||void 0===t?void 0:t.popup)||void 0===n?void 0:n.visible}),(t=>{this.includePopup=t})),i)}))}}handleLegendCreation(){var t,n,i,s,e;if(null!=this.view&&this.showIncludeLegend&&null!=this.legendContainerEl){const o=this.view.map,a=null===(n=null===(t=this.legend)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;null!=(null===(i=null==o?void 0:o.portalItem)||void 0===i?void 0:i.id)&&(null===(s=null==o?void 0:o.portalItem)||void 0===s?void 0:s.id)===(null===(e=null==a?void 0:a.portalItem)||void 0===e?void 0:e.id)||this.updateLegend()}}updateLegend(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{if(null!=this.legend&&(this.legend.destroy(),this.legend=null),null!=this.legendContainerEl){this.legendContainerEl.innerHTML="";const n=document.createElement("div");this.legendContainerEl.append(n);const[i]=await o(["esri/widgets/Legend"]);this.legend=new i({container:n,view:t,style:{type:"card",layout:"side-by-side"}})}}))}handleCompassCreation(){var t,n,i,s;if(null!=this.view&&null!=this.compassContainerEl){const e=this.view.map,o=null===(n=null===(t=this.compass)||void 0===t?void 0:t.view)||void 0===n?void 0:n.map;(null===(i=null==e?void 0:e.portalItem)||void 0===i?void 0:i.id)===(null===(s=null==o?void 0:o.portalItem)||void 0===s?void 0:s.id)||this.updateCompass()}}updateCompass(){var t;null===(t=this.view)||void 0===t||t.when((async t=>{var n;null===(n=this.compass)||void 0===n||n.destroy(),this.compass=null;const i=document.createElement("div");this.compassContainerEl.append(i);const[s]=await o(["esri/widgets/Compass"]);this.compass=new s({container:i,view:t})}))}updateScaleBar(){if(this.scaleBarContainerEl&&null!=this.view&&(this.scaleBarContainerEl.innerHTML="",this.showScaleBar)){const t=this.view.ui.getComponents(),n=null==t?void 0:t.find((({container:t})=>{var n;return null===(n=null==t?void 0:t.className)||void 0===n?void 0:n.includes("esri-scale-bar")}));null!=(null==n?void 0:n.container)&&"string"!=typeof n.container&&this.scaleBarContainerEl.append(n.container.cloneNode(!0))}}async viewScreenshot(){var t;if(null!=this.view&&this.includeMap&&(null==this.screenshot&&(null===(t=this.scaleBarContainerEl)||void 0===t||t.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3),this.screenshot=await this.view.takeScreenshot({width:2*this.view.width,height:2*this.view.height})),this.handleScaleBarSize(),null!=this.viewEl&&null!=this.viewWrapperEl)){const{height:t,width:n}=this.screenshot.data;t>n?this.setMaxRowHeightOnViewContainer():this.setMaxWidthOnViewContainer(),this.viewEl.src=this.screenshot.dataUrl}}setMaxRowHeightOnViewContainer(){this.printEl.style.gridTemplateRows="minmax(auto, 70%)",this.viewEl.style.height="100%",this.viewEl.style.width="",this.viewWrapperEl.style.height="100%",this.viewWrapperEl.style.width="fit-content"}setMaxWidthOnViewContainer(){this.printEl.style.gridTemplateRows="",this.viewEl.style.width="100%",this.viewEl.style.height="",this.viewWrapperEl.style.height="fit-content",this.viewWrapperEl.style.width="100%"}checkPopupOpen(){if(null!=this.view){const t=this.view.popup.container,n=null==t?void 0:t.querySelector(".esri-popup .esri-feature__main-container");if(null!=n){const t=n.querySelectorAll("canvas");this.popupContentEl.innerHTML="",this.popupContentEl.append(n.cloneNode(!0));const i=this.popupContentEl.querySelectorAll("canvas");t.forEach(((t,n)=>{var s;const e=t.toDataURL(),o=document.createElement("img");o.src=e;const a=t.getAttribute("style");a&&o.setAttribute("style",a);const r=i[n];null!=r&&(r.replaceWith(o),document.querySelector("link[href*='esri/themes/dark/main.css']")&&null!=(null===(s=o.parentElement)||void 0===s?void 0:s.parentElement)&&(o.parentElement.style.background="#242424",o.parentElement.parentElement.style.background="#242424"))}))}}}createScreenshot(){var t,n;if(null!=this.view){this.screenshotPreview=document.createElement("div"),this.screenshotPreview.className="screenshot-preview hide",this.screenshotImgContainer=document.createElement("div"),this.screenshotImgContainer.className="screenshot-img-container",this.screenshotImg=document.createElement("img");const i=document.createElement("div"),s=document.createElement("calcite-button"),e=document.createElement("calcite-button");s.innerHTML=null===(t=this.messages)||void 0===t?void 0:t.export,e.innerHTML=null===(n=this.messages)||void 0===n?void 0:n.returnToMap,e.appearance="outline-fill",s.onclick=this.exportOnClick.bind(this),e.onclick=this.screenshotReturn.bind(this),i.append(e,s),this.screenshotImgContainer.append(this.screenshotImg,i),this.screenshotPreview.append(this.screenshotImgContainer),this.view.container.append(this.screenshotPreview)}}createMaskDiv(){null!=this.view&&(this.maskDivEl=document.createElement("div"),this.maskDivEl.id="screenshot-mask",this.maskDivEl.className="hide screenshot-cursor",this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-background",this.maskBackground),this.maskDivEl.style.setProperty("--instant-apps-screenshot-mask-border",this.maskBorder),this.screenshotStyle=document.createElement("style"),this.screenshotStyle.innerHTML="\n.screenshot-preview.hide, .hide {\n display: none;\n}\n\n.screenshot-cursor {\n cursor: crosshair;\n}\n\n.relative {\n position: relative;\n}\n\n#screenshot-mask {\n position: absolute;\n background: var(--instant-apps-screenshot-mask-background);\n border: var(--instant-apps-screenshot-mask-border);\n}\n\n.screenshot-preview {\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n text-align: center;\n background-color: rgba(0, 0, 0, 0.75);\n}\n\n.screenshot-preview * {\n box-sizing: border-box;\n}\n\n.screenshot-img-container img {\n max-height: 75%;\n max-width: 75%;\n object-fit: contain;\n border: 10px solid white;\n box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5);\n margin-bottom: 0.5em;\n}\n\n.screenshot-img-container {\n height: 100%;\n width: 100%;\n overflow-y: auto;\n margin-bottom: 8px;\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n}\n\n.screenshot-img-container calcite-button {\n margin: 5px;\n}",this.view.container.append(this.screenshotStyle),this.view.container.append(this.maskDivEl))}screenshotReturn(){this.removeScreenshotElements(),this.exportIsLoading=!1,this.screenshot=null}setMapAreaOnClick(){null!=this.view&&(this.exportIsLoading=!0,this.createMaskDiv(),this.createScreenshot(),this.view.container.classList.add("screenshot-cursor","relative"),this.view.addHandles(this.view.on("drag",(async t=>{null!=this.view&&(t.stopPropagation(),"end"!==t.action?this.updateMaskSize(t):this.maskScreenshot())})),w))}updateMaskSize(t){if(null!=this.view){const n=this.clamp(Math.min(t.origin.x,t.x),0,this.view.width),i=this.clamp(Math.max(t.origin.x,t.x),0,this.view.width),s=this.clamp(Math.min(t.origin.y,t.y),0,this.view.height),e=this.clamp(Math.max(t.origin.y,t.y),0,this.view.height);this.area={x:n,y:s,width:i-n,height:e-s},this.setMaskPosition(this.area)}}maskScreenshot(){var t;if(null!=this.view&&null!=this.area){this.view.removeHandles(w);const n=this.area.height,i=this.area.width;this.showScaleBar&&(null===(t=this.scaleBarContainerEl)||void 0===t||t.classList.toggle("instant-apps-export-print__scale-bar-container--position",this.view.width>1e3&&.75*this.view.width<i)),this.view.takeScreenshot({area:this.area,width:2*i,height:2*n,format:"jpg"}).then((t=>{var n;this.screenshot=t,this.showPreview(),null===(n=this.view)||void 0===n||n.container.classList.remove("screenshot-cursor"),this.setMaskPosition(null)}))}}setMaskPosition(t){null!=t?(this.maskDivEl.classList.remove("hide"),this.maskDivEl.style.left=`${t.x}px`,this.maskDivEl.style.top=`${t.y}px`,this.maskDivEl.style.width=`${t.width}px`,this.maskDivEl.style.height=`${t.height}px`):this.maskDivEl.remove()}clamp(t,n,i){return t<n?n:t>i?i:t}showPreview(){this.screenshotPreview.classList.remove("hide"),null!=this.screenshotImg&&null!=this.screenshot&&(this.screenshotImg.src=this.screenshot.dataUrl)}handleScaleBarSize(){var t;if(this.showScaleBar&&"2d"===(null===(t=this.view)||void 0===t?void 0:t.type)&&null!=this.scaleBarContainerEl){const t=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--top"),n=this.scaleBarContainerEl.querySelector(".esri-scale-bar__line--bottom");this.setScalebarWidth(t,"top"),this.setScalebarWidth(n,"bottom")}}setScalebarWidth(t,n){var i;if(null!=t&&null!=this.screenshot){const s=this.screenshot.data.width/2,e=Number(t.style.width.replace("px",""));null===(i=this.scaleBarContainerEl)||void 0===i||i.style.setProperty(`--instant-apps-scale-bar-${n}`,e/s*100+"%")}}removeScreenshotElements(){var t,n;null===(t=this.screenshotPreview)||void 0===t||t.remove(),null===(n=this.screenshotStyle)||void 0===n||n.remove()}get el(){return e(this)}static get watchers(){return{includeMap:["watchIncludeMap"],view:["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}
|
@@ -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 r}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 e={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(r){return r+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(r,e,t,p){return"néhány másodperc"+(p||e?"":"e")},m:function(r,e,t,p){return"egy perc"+(p||e?"":"e")},mm:function(r,e,t,p){return r+" perc"+(p||e?"":"e")},h:function(r,e,t,p){return"egy "+(p||e?"óra":"órája")},hh:function(r,e,t,p){return r+" "+(p||e?"óra":"órája")},d:function(r,e,t,p){return"egy "+(p||e?"nap":"napja")},dd:function(r,e,t,p){return r+" "+(p||e?"nap":"napja")},M:function(r,e,t,p){return"egy "+(p||e?"hónap":"hónapja")},MM:function(r,e,t,p){return r+" "+(p||e?"hónap":"hónapja")},y:function(r,e,t,p){return"egy "+(p||e?"év":"éve")},yy:function(r,e,t,p){return r+" "+(p||e?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};r.locale(e,null,!0);export{e as default}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as i,f as e,h as o,H as n,g as s}from"./p-6eb37ed2.js";import{i as r,z as a,g as c,a as l,t as h}from"./p-8817162f.js";import{s as d,c as u,i as b,d as m,H as p}from"./p-eacb5b05.js";import{c as f,d as v,u as g,I as x}from"./p-53e0faf4.js";import{n as k}from"./p-b51111e1.js";import{c as y,d as w,g as z}from"./p-cb860e39.js";import{a as j,s as I,c as C}from"./p-1b147794.js";import{n as E,i as D,p as L,s as N,e as W,c as A,d as M,B as G}from"./p-32539121.js";import{c as V}from"./p-3832f6b0.js";import{C as F}from"./p-3edf491f.js";import{u as P,c as $,d as O,s as S}from"./p-2866ef30.js";import{g as U}from"./p-0afbf455.js";import{V as B}from"./p-96a7e73d.js";import{s as K}from"./p-fe82bd8a.js";import"./p-c6296ee6.js";import"./p-416c0818.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.1
|
11
|
+
*/const R="number-button-item--horizontal",H="wrapper",T="number-button-item",q="inputNumberValidationMessage",_=class{constructor(e){t(this,e),this.calciteInternalInputNumberFocus=i(this,"calciteInternalInputNumberFocus",6),this.calciteInternalInputNumberBlur=i(this,"calciteInternalInputNumberBlur",6),this.calciteInputNumberInput=i(this,"calciteInputNumberInput",7),this.calciteInputNumberChange=i(this,"calciteInputNumberChange",6),this.previousValueOrigin="initial",this.mutationObserver=V("mutation",(()=>this.setDisabledAction())),this.userChangedValue=!1,this.keyDownHandler=t=>{this.readOnly||this.disabled||t.defaultPrevented||(this.isClearable&&"Escape"===t.key&&(this.clearInputValue(t),t.preventDefault()),"Enter"===t.key&&d(this)&&t.preventDefault())},this.clearInputValue=t=>{this.setNumberValue({committing:!0,nativeEvent:t,origin:"user",value:""})},this.emitChangeIfUserModified=()=>{"user"===this.previousValueOrigin&&this.value!==this.previousEmittedNumberValue&&(this.calciteInputNumberChange.emit(),this.setPreviousEmittedNumberValue(this.value))},this.inputNumberBlurHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId),this.calciteInternalInputNumberBlur.emit(),this.emitChangeIfUserModified()},this.clickHandler=t=>{if(this.disabled)return;const i=t.composedPath();i.includes(this.inputWrapperEl)&&!i.includes(this.actionWrapperEl)&&this.setFocus()},this.inputNumberFocusHandler=()=>{this.calciteInternalInputNumberFocus.emit()},this.inputNumberInputHandler=t=>{if(this.disabled||this.readOnly)return;if("Infinity"===this.value||"-Infinity"===this.value)return;const i=t.target.value;E.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const e=E.delocalize(i);"insertFromPaste"===t.inputType?((!D(e)||this.integer&&(e.includes("e")||e.includes(".")))&&t.preventDefault(),this.setNumberValue({nativeEvent:t,origin:"user",value:L(e)}),this.childNumberEl.value=this.displayedValue):this.setNumberValue({nativeEvent:t,origin:"user",value:e})},this.inputNumberKeyDownHandler=t=>{if(this.disabled||this.readOnly)return;if("Infinity"===this.value||"-Infinity"===this.value)return t.preventDefault(),void("Backspace"!==t.key&&"Delete"!==t.key||this.clearInputValue(t));if("ArrowUp"===t.key)return t.preventDefault(),void this.nudgeNumberValue("up",t);if("ArrowDown"===t.key)return void this.nudgeNumberValue("down",t);const i=[...k,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(t.altKey||t.ctrlKey||t.metaKey)return;const e=t.shiftKey&&"Tab"===t.key;if(i.includes(t.key)||e)"Enter"===t.key&&this.emitChangeIfUserModified();else{if(E.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},t.key===E.decimal&&!this.integer){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&-1===this.childNumberEl.value.indexOf(E.decimal))return}if(/[eE]/.test(t.key)&&!this.integer){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&!/[eE]/.test(this.childNumberEl.value))return}if("-"===t.key){if(!this.value&&!this.childNumberEl.value)return;if(this.value&&this.childNumberEl.value.split("-").length<=2)return}t.preventDefault()}},this.nudgeNumberValue=(t,i)=>{if(i instanceof KeyboardEvent&&i.repeat)return;const e=this.maxString?parseFloat(this.maxString):null,o=this.minString?parseFloat(this.minString):null;this.incrementOrDecrementNumberValue(t,e,o,i),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let n=!0;this.nudgeNumberValueIntervalId=window.setInterval((()=>{n?n=!1:this.incrementOrDecrementNumberValue(t,e,o,i)}),150)},this.nudgeButtonPointerUpHandler=t=>{r(t)&&window.clearInterval(this.nudgeNumberValueIntervalId)},this.nudgeButtonPointerOutHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.nudgeButtonPointerDownHandler=t=>{r(t)&&(t.preventDefault(),this.disabled||this.nudgeNumberValue(t.target.dataset.adjustment,t))},this.onHiddenFormInputInput=t=>{t.target.name===this.name&&this.setNumberValue({value:t.target.value,origin:"direct"}),this.setFocus(),t.stopPropagation()},this.setChildNumberElRef=t=>{this.childNumberEl=t},this.setInputNumberValue=t=>{this.childNumberEl&&(this.childNumberEl.value=t)},this.setPreviousEmittedNumberValue=t=>{this.previousEmittedNumberValue=this.normalizeValue(t)},this.setPreviousNumberValue=t=>{this.previousValue=this.normalizeValue(t)},this.setNumberValue=({committing:t=!1,nativeEvent:i,origin:e,previousValue:o,value:n})=>{E.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const s=this.previousValue?.length>n.length||this.value?.length>n.length,r=this.integer?n.replace(/[e.]/g,""):n,a="."===r.charAt(r.length-1),c=a&&s?r:N(r),l=n&&!c?D(this.previousValue)?this.previousValue:"":c;let h=E.localize(l);"connected"===e||a||(h=W(h,l,E)),this.displayedValue=a&&s?`${h}${E.decimal}`:h,this.setPreviousNumberValue(o??this.value),this.previousValueOrigin=e,this.userChangedValue="user"===e&&this.value!==l,this.value=["-","."].includes(l)?"":l,"direct"===e&&(this.setInputNumberValue(h),this.setPreviousEmittedNumberValue(h)),i&&(this.calciteInputNumberInput.emit().defaultPrevented?(this.value=this.previousValue,this.displayedValue=E.localize(this.previousValue)):t&&this.emitChangeIfUserModified())},this.inputNumberKeyUpHandler=()=>{window.clearInterval(this.nudgeNumberValueIntervalId)},this.alignment="start",this.autofocus=void 0,this.clearable=!1,this.disabled=!1,this.enterKeyHint=void 0,this.form=void 0,this.groupSeparator=!1,this.icon=void 0,this.iconFlipRtl=!1,this.inputMode=void 0,this.integer=!1,this.label=void 0,this.loading=!1,this.numberingSystem=void 0,this.localeFormat=!1,this.max=void 0,this.min=void 0,this.maxLength=void 0,this.minLength=void 0,this.validationMessage=void 0,this.validationIcon=void 0,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.name=void 0,this.numberButtonType="vertical",this.placeholder=void 0,this.prefixText=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=void 0,this.autocomplete=void 0,this.suffixText=void 0,this.editingEnabled=!1,this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.displayedValue=void 0,this.slottedActionElDisabledInternally=!1}handleGlobalAttributesChanged(){e(this)}disabledWatcher(){this.setDisabledAction()}maxWatcher(){this.maxString=this.max?.toString()||null}minWatcher(){this.minString=this.min?.toString()||null}onMessagesChange(){}valueWatcher(t,i){if(!this.userChangedValue){if("Infinity"===t||"-Infinity"===t)return this.displayedValue=t,void(this.previousEmittedNumberValue=t);this.setNumberValue({origin:"direct",previousValue:i,value:null==t||""==t?"":D(t)?t:this.previousValue||""}),this.warnAboutInvalidNumberValue(t)}this.userChangedValue=!1}updateRequestedIcon(){this.requestedIcon=a({},this.icon,"number")}get isClearable(){return this.clearable&&this.value.length>0}effectiveLocaleWatcher(t){P(this,this.effectiveLocale),E.numberFormatOptions={locale:t,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){f(this),A(this),$(this),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),y(this),u(this),this.mutationObserver?.observe(this.el,{childList:!0}),this.setDisabledAction(),this.el.addEventListener(b,this.onHiddenFormInputInput)}componentDidLoad(){j(this)}disconnectedCallback(){v(this),w(this),m(this),M(this),O(this),this.mutationObserver?.disconnect(),this.el.removeEventListener(b,this.onHiddenFormInputInput)}async componentWillLoad(){I(this),this.maxString=this.max?.toString(),this.minString=this.min?.toString(),this.requestedIcon=a({},this.icon,"number"),await S(this),this.setPreviousEmittedNumberValue(this.value),this.setPreviousNumberValue(this.value),this.warnAboutInvalidNumberValue(this.value),"Infinity"===this.value||"-Infinity"===this.value?(this.displayedValue=this.value,this.previousEmittedNumberValue=this.value):this.setNumberValue({origin:"connected",value:D(this.value)?this.value:""})}componentShouldUpdate(t,i,e){return!("value"===e&&t&&!D(t)&&(this.setNumberValue({origin:"reset",value:i}),1))}componentDidRender(){g(this)}async setFocus(){await C(this),this.childNumberEl?.focus()}async selectText(){this.childNumberEl?.select()}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(t,i,e,o){const{value:n}=this;if("Infinity"===n||"-Infinity"===n)return;const s="up"===t?1:-1,r=this.integer&&"any"!==this.step?Math.round(this.step):this.step,a="any"===r?1:Math.abs(r||1),c=new G(""!==n?n:"0").add(""+a*s),l="number"==typeof e&&!isNaN(e)&&c.subtract(`${e}`).isNegative?`${e}`:"number"!=typeof i||isNaN(i)||c.subtract(`${i}`).isNegative?c.toString():`${i}`;this.setNumberValue({committing:!0,nativeEvent:o,origin:"user",value:l})}syncHiddenFormInput(t){K("number",this,t)}setDisabledAction(){const t=c(this.el,"action");t&&(this.disabled?(null==t.getAttribute("disabled")&&(this.slottedActionElDisabledInternally=!0),t.setAttribute("disabled","")):this.slottedActionElDisabledInternally&&(t.removeAttribute("disabled"),this.slottedActionElDisabledInternally=!1))}normalizeValue(t){return D(t)?t:""}warnAboutInvalidNumberValue(t){t&&!D(t)&&console.warn(`The specified value "${t}" cannot be parsed, or is out of range.`)}render(){const t=l(this.el),i=o("div",{key:"4afc447c454d130ac4e983faa2a5a4390e500134",class:"loader"},o("calcite-progress",{key:"8f14d3e88b4a3f9d1069b2f10a3b5377353b37cd",label:this.messages.loading,type:"indeterminate"})),e=o("button",{key:"60622dbfee3b9d3b96f779f37590d02863a5b395","aria-label":this.messages.clear,class:"clear-button",disabled:this.disabled||this.readOnly,onClick:this.clearInputValue,tabIndex:-1,type:"button"},o("calcite-icon",{key:"98e61619db4e6cd25353bbb4cd3e998b47debdef",icon:"x",scale:U(this.scale)})),s=o("calcite-icon",{key:"bd8c940cd1a47cc4051d9cbb30e19ce32748f82d",class:"icon",flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:U(this.scale)}),r="horizontal"===this.numberButtonType,a=o("button",{key:"a33a45b1576ed55847411d9c0e493a4354188cee","aria-hidden":"true",class:{[T]:!0,[R]:r},"data-adjustment":"up",disabled:this.disabled||this.readOnly,onPointerDown:this.nudgeButtonPointerDownHandler,onPointerOut:this.nudgeButtonPointerOutHandler,onPointerUp:this.nudgeButtonPointerUpHandler,tabIndex:-1,type:"button"},o("calcite-icon",{key:"b05ed816a0472df584918e6cdbeefca0f4ebccb6",icon:"chevron-up",scale:U(this.scale)})),c=o("button",{key:"7e8466f04ec12caccd6703701934c8e6864e2ad1","aria-hidden":"true",class:{[T]:!0,[R]:r},"data-adjustment":"down",disabled:this.disabled||this.readOnly,onPointerDown:this.nudgeButtonPointerDownHandler,onPointerOut:this.nudgeButtonPointerOutHandler,onPointerUp:this.nudgeButtonPointerUpHandler,tabIndex:-1,type:"button"},o("calcite-icon",{key:"b796613a0510d88c5a9a88e19f204dd1cfa3ae79",icon:"chevron-down",scale:U(this.scale)})),d=o("div",{key:"7c0d61831b7d00d383b08bc69d130c93e4b41708",class:"number-button-wrapper"},a,c),u=o("div",{key:"bde995b58c2be304e0f97751864932f4aba8b560",class:"prefix"},this.prefixText),b=o("div",{key:"09ecebb64862cc87c42f6a07eb43f4f492aafff9",class:"suffix"},this.suffixText),m=o("input",{"aria-errormessage":q,"aria-invalid":h("invalid"===this.status),"aria-label":z(this),autocomplete:this.autocomplete,autofocus:!!this.el.autofocus||null,defaultValue:this.defaultValue,disabled:!!this.disabled||null,enterKeyHint:this.el.enterKeyHint||this.el.getAttribute("enterkeyhint"),inputMode:this.el.inputMode||this.el.getAttribute("inputmode")||"decimal",key:"localized-input",maxLength:this.maxLength,minLength:this.minLength,name:void 0,onBlur:this.inputNumberBlurHandler,onFocus:this.inputNumberFocusHandler,onInput:this.inputNumberInputHandler,onKeyDown:this.inputNumberKeyDownHandler,onKeyUp:this.inputNumberKeyUpHandler,placeholder:this.placeholder||"",readOnly:this.readOnly,ref:this.setChildNumberElRef,type:"text",value:this.displayedValue});return o(n,{key:"8bbe5d61c4d825064c541d69720c3dec29397bb6",onClick:this.clickHandler,onKeyDown:this.keyDownHandler},o(x,{key:"88981ec407b3ca3dc30e1f4639cc165f125a2e4f",disabled:this.disabled},o("div",{key:"b5147afb965eb8950451efd0188de34a126cb42a",class:{[H]:!0,[F.rtl]:"rtl"===t},ref:t=>this.inputWrapperEl=t},"horizontal"!==this.numberButtonType||this.readOnly?null:c,this.prefixText?u:null,o("div",{key:"ae8cfb188f1e67b2b26fd994e075b9d65f193aed",class:"element-wrapper"},m,this.isClearable?e:null,this.requestedIcon?s:null,this.loading?i:null),o("div",{key:"68e1e75159411ccc36981c488411741ba4f4863f",class:"action-wrapper",ref:t=>this.actionWrapperEl=t},o("slot",{key:"68ffd29dc928221cf0e4f1b1e79fc71dc1cdbfa2",name:"action"})),"vertical"!==this.numberButtonType||this.readOnly?null:d,this.suffixText?b:null,"horizontal"!==this.numberButtonType||this.readOnly?null:a,o(p,{key:"5efb494ebcff2e85bd0cb306ca1653dea1a79e36",component:this})),this.validationMessage&&"invalid"===this.status?o(B,{icon:this.validationIcon,id:q,message:this.validationMessage,scale:this.scale,status:this.status}):null))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{autofocus:["handleGlobalAttributesChanged"],enterkeyhint:["handleGlobalAttributesChanged"],inputmode:["handleGlobalAttributesChanged"],disabled:["disabledWatcher"],max:["maxWatcher"],min:["minWatcher"],messageOverrides:["onMessagesChange"],value:["valueWatcher"],icon:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleWatcher"]}}};_.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{transition:var(--calcite-animation-timing), block-size 0, outline-offset 0s;-webkit-appearance:none;position:relative;margin:0px;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0px;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:-moz-placeholder-shown{text-overflow:ellipsis}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}:host([scale=s]) .icon{inset-inline-start:0.5rem}:host([scale=m]) .icon{inset-inline-start:0.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button{pointer-events:initial;order:4;margin:0px;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px}.suffix{order:5;border-inline-start-width:0px}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down],.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:1;max-block-size:100%;min-block-size:100%;align-self:stretch}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}.number-button-item.number-button-item--horizontal[data-adjustment=up]{order:5}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}.number-button-item.number-button-item--horizontal[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover{background-color:var(--calcite-color-foreground-2)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]:hover calcite-icon{color:var(--calcite-color-text-1)}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0px;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);padding-block:0px;padding-inline:0.5rem;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.number-button-item:focus{background-color:var(--calcite-color-foreground-2)}.number-button-item:focus calcite-icon{color:var(--calcite-color-text-1)}.number-button-item:active{background-color:var(--calcite-color-foreground-3)}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";export{_ as calcite_input_number}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,c as e,h as i,H as s,g as a,F as o}from"./p-6eb37ed2.js";import{s as n,t as c,g as l,z as r,a as h}from"./p-8817162f.js";import{g as d}from"./p-0afbf455.js";import{s as p,a as f,c as m}from"./p-1b147794.js";import{N as b,c as u,d as g}from"./p-32539121.js";import{o as y}from"./p-071a80fb.js";import{c as v,s as w,d as k,u as x}from"./p-2866ef30.js";import{K as _}from"./p-f2139e1f.js";import{c as C,u as z,d as E,I as j}from"./p-53e0faf4.js";import{S as F}from"./p-052d1165.js";import{l as L,g as S}from"./p-2058b5d9.js";import{a as W,g as H}from"./p-d572627c.js";import{P as D}from"./p-44b455ac.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-416c0818.js";import"./p-b51111e1.js";import"./p-3832f6b0.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-80cb7c73.js";import"./p-cefb0487.js";import"./p-659678f1.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 M={slow:14e3,medium:1e4,fast:6e3},A="container",I="container--active",P="container--embedded",B="queue-count",V="queue-count--active",T="focused",O=new class{constructor(){this.registeredElements=[],this.queueTimeoutId=null}registerElement(t){const{registeredElements:e}=this;if(!e.includes(t)){switch(t.queue){case"immediate":e.unshift(t);break;case"next":e.splice(1,0,t);break;case"last":e.push(t)}this.updateAlerts()}}unregisterElement(t){const{registeredElements:e}=this,i=e.indexOf(t);-1!==i&&e.splice(i,1),t.active=!1,this.updateAlerts()}updateAlerts(){window.clearTimeout(this.queueTimeoutId),this.queueTimeoutId=null,this.registeredElements.forEach(((t,e)=>{t.openAlertCount=this.registeredElements.length,0===e?this.queueTimeoutId=window.setTimeout((()=>t.active=!0),300):t.active=!1}))}},q=class{constructor(i){t(this,i),this.calciteAlertBeforeClose=e(this,"calciteAlertBeforeClose",6),this.calciteAlertClose=e(this,"calciteAlertClose",6),this.calciteAlertBeforeOpen=e(this,"calciteAlertBeforeOpen",6),this.calciteAlertOpen=e(this,"calciteAlertOpen",6),this.handleKeyBoardFocus=()=>{this.isFocused=!0,this.handleFocus()},this.handleKeyBoardBlur=()=>{this.isFocused=!1,this.isHovered||this.handleBlur()},this.autoCloseTimeoutId=null,this.totalOpenTime=0,this.totalHoverTime=0,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.closeAlert=()=>{this.open=!1,this.clearAutoCloseTimeout()},this.actionsEndSlotChangeHandler=t=>{this.hasEndActions=n(t)},this.handleMouseOver=()=>{this.isHovered=!0,this.handleFocus()},this.handleMouseLeave=()=>{this.isHovered=!1,this.isFocused||this.handleBlur()},this.handleFocus=()=>{this.clearAutoCloseTimeout(),this.totalOpenTime=Date.now()-this.initialOpenTime,this.lastMouseOverBegin=Date.now()},this.handleBlur=()=>{const t=Date.now()-this.lastMouseOverBegin,e=M[this.autoCloseDuration]-this.totalOpenTime+this.totalHoverTime;this.totalHoverTime=this.totalHoverTime?t+this.totalHoverTime:t,this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),e)},this.active=!1,this.openAlertCount=0,this.open=!1,this.autoClose=!1,this.autoCloseDuration="medium",this.embedded=!1,this.kind="brand",this.icon=void 0,this.iconFlipRtl=!1,this.label=void 0,this.numberingSystem=void 0,this.placement="bottom",this.scale="m",this.messages=void 0,this.messageOverrides=void 0,this.queue="last",this.defaultMessages=void 0,this.effectiveLocale="",this.numberStringFormatter=new b,this.hasEndActions=!1,this.isFocused=!1}handleActiveChange(){this.clearAutoCloseTimeout(),this.active&&this.autoClose&&!this.autoCloseTimeoutId&&(this.initialOpenTime=Date.now(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),M[this.autoCloseDuration]))}openHandler(){y(this),this.open?O.registerElement(this.el):O.unregisterElement(this.el)}updateDuration(){this.autoClose&&this.autoCloseTimeoutId&&(this.clearAutoCloseTimeout(),this.autoCloseTimeoutId=window.setTimeout((()=>this.closeAlert()),M[this.autoCloseDuration]))}onMessagesChange(){}handleQueueChange(){this.open&&(O.unregisterElement(this.el),O.registerElement(this.el))}connectedCallback(){u(this),v(this),this.open&&O.registerElement(this.el),this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}async componentWillLoad(){p(this),await w(this),this.open&&y(this)}componentDidLoad(){f(this)}disconnectedCallback(){O.unregisterElement(this.el),this.clearAutoCloseTimeout(),g(this),k(this),this.embedded=!1}render(){const{open:t,autoClose:e,label:a,placement:o,active:n,openAlertCount:l}=this,h=e?"alert":"alertdialog",d=!t,p=r(_,this.icon,this.kind),f=l>1;return i(s,{key:"925efaa1db32fd70f778106456e1dbb11d5a33b1","aria-hidden":c(d),"aria-label":a,"calcite-hydrated-hidden":d,role:h},i("div",{key:"fc92bdb0f32f2e5461144fcc95d4cf77f1f1c916",class:{[A]:!0,[I]:n,[`${A}--${o}`]:!0,[P]:this.embedded,[T]:this.isFocused},onPointerEnter:this.autoClose&&this.autoCloseTimeoutId?this.handleMouseOver:null,onPointerLeave:this.autoClose?this.handleMouseLeave:null,ref:this.setTransitionEl},p&&this.renderIcon(p),i("div",{key:"52fe536e5f4feb0714431c5a46e0a0a2dbf27110",class:"text-container",onFocusin:this.autoClose&&this.autoCloseTimeoutId?this.handleKeyBoardFocus:null,onFocusout:this.autoClose?this.handleKeyBoardBlur:null},i("slot",{key:"6037f775c962ba14084e8ec8b86c7a177fef037f",name:"title"}),i("slot",{key:"736344f5602889a2a4a8fc0d22963b827a41519a",name:"message"}),i("slot",{key:"8eea607803b78c9ff554682bb36fbea3e1693d6e",name:"link"})),this.renderActionsEnd(),f?this.renderQueueCount():null,this.renderCloseButton(),t&&n&&e?i("div",{class:"dismiss-progress"}):null))}renderCloseButton(){return i("button",{"aria-label":this.messages.close,class:"close",key:"close",onClick:this.closeAlert,onFocusin:this.autoClose?this.handleKeyBoardFocus:null,onFocusout:this.autoClose?this.handleKeyBoardBlur:null,ref:t=>this.closeButton=t,type:"button"},i("calcite-icon",{icon:"x",scale:d(this.scale)}))}renderQueueCount(){const{openAlertCount:t}=this,e=this.numberStringFormatter.numberFormatter.format(t>2?t-1:1);return i("div",{class:{[B]:!0,[V]:t>1},key:"queue-count"},i("calcite-chip",{scale:this.scale,value:e},e))}renderActionsEnd(){return i("div",{class:"actions-end"},i("slot",{name:"actions-end",onSlotchange:this.actionsEndSlotChangeHandler}))}renderIcon(t){return i("div",{class:"icon"},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:t,scale:d(this.scale)}))}async setFocus(){await m(this);const t=l(this.el,{selector:"calcite-link"});if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}effectiveLocaleChange(){x(this,this.effectiveLocale),this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}numberingSystemChange(){this.numberStringFormatter.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,signDisplay:"always"}}clearAutoCloseTimeout(){window.clearTimeout(this.autoCloseTimeoutId),this.autoCloseTimeoutId=null}onBeforeOpen(){this.calciteAlertBeforeOpen.emit()}onOpen(){this.calciteAlertOpen.emit()}onBeforeClose(){this.calciteAlertBeforeClose.emit()}onClose(){this.calciteAlertClose.emit()}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{active:["handleActiveChange"],open:["openHandler"],autoCloseDuration:["updateDuration"],messageOverrides:["onMessagesChange"],queue:["handleQueueChange"],effectiveLocale:["effectiveLocaleChange"],numberingSystem:["numberingSystemChange"]}}};q.style=':host{--calcite-alert-edge-distance:2rem;--calcite-alert-dismiss-progress-background:var(--calcite-color-transparent-tint);display:block}.container{pointer-events:none;position:fixed;z-index:var(--calcite-z-index-toast);margin-inline:auto;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:-moz-min-content;min-inline-size:min-content;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);text-align:start;opacity:0;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);border-radius:var(--calcite-border-radius);border-block-start:0 solid transparent;border-inline:1px solid var(--calcite-color-border-3);border-block-end:1px solid var(--calcite-color-border-3);inline-size:var(--calcite-alert-width);max-inline-size:calc(100% - var(--calcite-alert-edge-distance) * 2);transition:opacity var(--calcite-internal-animation-timing-slow) cubic-bezier(0.215, 0.44, 0.42, 0.88), all var(--calcite-animation-timing) ease-in-out}.container--bottom,.container--top{inset-inline-end:0;inset-inline-start:0}.container[class*=bottom]{transform:translate3d(0, var(--calcite-alert-edge-distance), 0);inset-block-end:var(--calcite-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), 0);inset-block-start:var(--calcite-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-alert-edge-distance);inset-inline-start:auto}.icon{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0px;margin-block:auto;margin-inline-end:auto;padding-inline-start:var(--calcite-alert-spacing-token-large)}.close{display:flex;cursor:pointer;align-items:center;justify-content:flex-end;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline:2px solid transparent;outline-offset:2px;-webkit-appearance:none;padding:var(--calcite-alert-spacing-token-large);outline-color:transparent}.close:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.close:hover,.close:focus{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.close:active{background-color:var(--calcite-color-foreground-3)}.queue-count{visibility:hidden;display:flex;min-inline-size:-moz-min-content;min-inline-size:min-content;cursor:default;align-items:center;justify-content:space-around;align-self:stretch;overflow:hidden;background-color:var(--calcite-color-foreground-1);text-align:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);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;border-inline:0 solid transparent;border-start-end-radius:0}.queue-count--active{visibility:visible;opacity:1}.dismiss-progress{position:absolute;display:block;inline-size:100%;overflow:hidden;inset-inline:0;inset-block-start:-2px;block-size:2px;border-radius:var(--calcite-border-radius) var(--calcite-border-radius) 0 0}.dismiss-progress::after{position:absolute;inset-block-start:0px;display:block;block-size:2px;content:"";background-color:var(--calcite-alert-dismiss-progress-background);inset-inline-end:0}.actions-end{display:flex;align-self:stretch}.text-container{box-sizing:border-box;display:flex;min-inline-size:0px;flex:1 1 auto;flex-direction:column;overflow-wrap:break-word;padding-block:var(--calcite-alert-spacing-token-small);padding-inline:var(--calcite-alert-spacing-token-large) var(--calcite-alert-spacing-token-small)}.footer{position:relative;display:flex;inline-size:auto;justify-content:flex-end;align-self:stretch;padding-block-start:1px;block-size:inherit}:host([scale=s]){--calcite-alert-width:40em;--calcite-alert-spacing-token-small:0.5rem;--calcite-alert-spacing-token-large:0.75rem;--calcite-alert-footer-height:2rem;--calcite-alert-footer-divider-gap:0.125rem}:host([scale=s]) slot[name=title]::slotted(*),:host([scale=s]) *::slotted([slot=title]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) slot[name=message]::slotted(*),:host([scale=s]) *::slotted([slot=message]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) slot[name=link]::slotted(*),:host([scale=s]) *::slotted([slot=link]){font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .queue-count{margin-inline:0.5rem}:host([scale=s]) .container{--calcite-alert-min-height:3.5rem}:host([scale=m]){--calcite-alert-width:50em;--calcite-alert-spacing-token-small:0.75rem;--calcite-alert-spacing-token-large:1rem;--calcite-alert-footer-height:3rem;--calcite-alert-footer-divider-gap:0.25rem}:host([scale=m]) slot[name=title]::slotted(*),:host([scale=m]) *::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) slot[name=message]::slotted(*),:host([scale=m]) *::slotted([slot=message]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) slot[name=link]::slotted(*),:host([scale=m]) *::slotted([slot=link]){font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) .queue-count{margin-inline:0.75rem}:host([scale=m]) .container{--calcite-alert-min-height:4.1875rem}:host([scale=l]){--calcite-alert-width:60em;--calcite-alert-spacing-token-small:1rem;--calcite-alert-spacing-token-large:1.25rem;--calcite-alert-footer-height:4rem;--calcite-alert-footer-divider-gap:0.5rem}:host([scale=l]) slot[name=title]::slotted(*),:host([scale=l]) *::slotted([slot=title]){margin-block-end:0.25rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) slot[name=message]::slotted(*),:host([scale=l]) *::slotted([slot=message]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) slot[name=link]::slotted(*),:host([scale=l]) *::slotted([slot=link]){font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) .queue-count{margin-inline:1rem}:host([scale=l]) .container{--calcite-alert-min-height:5.625rem}:host([open]) .container--active{border-block-start-width:2px;opacity:1;pointer-events:initial}:host([open]) .container--active[class*=bottom]{transform:translate3d(0, calc(-1 * var(--calcite-alert-edge-distance)), inherit)}:host([open]) .container--active[class*=top]{transform:translate3d(0, var(--calcite-alert-edge-distance), inherit)}:host([auto-close])>.queue-count{border-inline-end:0 solid transparent}slot[name=title]::slotted(*),*::slotted([slot=title]){font-size:var(--calcite-font-size-0);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}slot[name=message]::slotted(*),*::slotted([slot=message]){margin:0px;display:inline;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);margin-inline-end:0.5rem}slot[name=link]::slotted(*),*::slotted([slot=link]){display:inline-flex;color:var(--calcite-color-text-link)}:host([kind=brand]) .container{border-block-start-color:var(--calcite-color-brand)}:host([kind=brand]) .container .icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-block-start-color:var(--calcite-color-status-info)}:host([kind=info]) .container .icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-block-start-color:var(--calcite-color-status-success)}:host([kind=success]) .container .icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-block-start-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .icon{color:var(--calcite-color-status-warning)}:host([auto-close-duration=fast]) .dismiss-progress:after{animation:dismissProgress 6000ms ease-out}:host(:hover[auto-close-duration=fast]) .dismiss-progress:after,:host(:focus[auto-close-duration=fast]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=medium]) .dismiss-progress:after{animation:dismissProgress 10000ms ease-out}:host(:hover[auto-close-duration=medium]) .dismiss-progress:after,:host(:focus[auto-close-duration=medium]) .dismiss-progress:after{animation-play-state:paused}:host([auto-close-duration=slow]) .dismiss-progress:after{animation:dismissProgress 14000ms ease-out}:host(:hover[auto-close-duration=slow]) .dismiss-progress:after,:host(:focus[auto-close-duration=slow]) .dismiss-progress:after{animation-play-state:paused}.container.focused .dismiss-progress::after{animation-play-state:paused}@keyframes dismissProgress{0%{inline-size:0px;opacity:0.75}100%{inline-size:100%;opacity:1}}.container--embedded{position:absolute}:host([hidden]){display:none}[hidden]{display:none}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events: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 R=class{constructor(i){t(this,i),this.calciteFlowItemBack=e(this,"calciteFlowItemBack",7),this.calciteFlowItemScroll=e(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=e(this,"calciteFlowItemClose",6),this.calciteFlowItemToggle=e(this,"calciteFlowItemToggle",6),this.handleInternalPanelScroll=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.calciteFlowItemScroll.emit())},this.handleInternalPanelClose=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.closed=!0,this.calciteFlowItemClose.emit())},this.handleInternalPanelToggle=t=>{t.target===this.containerEl&&(t.stopPropagation(),this.collapsed=t.target.collapsed,this.calciteFlowItemToggle.emit())},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=t=>{this.backButtonEl=t},this.setContainerRef=t=>{this.containerEl=t},this.closable=!1,this.closed=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.beforeBack=void 0,this.beforeClose=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.overlayPositioning="absolute",this.scale="m",this.showBackButton=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){C(this),u(this),v(this)}async componentWillLoad(){await w(this),p(this)}componentDidRender(){z(this)}disconnectedCallback(){E(this),g(this),k(this)}componentDidLoad(){f(this)}effectiveLocaleChange(){x(this,this.effectiveLocale)}async setFocus(){await m(this);const{backButtonEl:t,containerEl:e}=this;return t?t.setFocus():e?e.setFocus():void 0}async scrollContentTo(t){await(this.containerEl?.scrollContentTo(t))}renderBackButton(){const{el:t}=this,e="rtl"===h(t),{showBackButton:s,backButtonClick:a,messages:o}=this,n=o.back;return s?i("calcite-action",{"aria-label":n,class:"back-button",icon:e?"chevron-right":"chevron-left",key:"flow-back-button",onClick:a,ref:this.setBackRef,scale:"s",slot:"header-actions-start",text:n,title:n}):null}render(){const{collapsed:t,collapseDirection:e,collapsible:a,closable:o,closed:n,description:c,disabled:l,heading:r,headingLevel:h,loading:d,menuOpen:p,messages:f,overlayPositioning:m,beforeClose:b}=this;return i(s,{key:"166a2f53829cecc09019a7fa3fe670b5e4e42146"},i(j,{key:"53f00fb0e5ec53b8a19efde1592e1bff176302d1",disabled:l},i("calcite-panel",{key:"a24ff76af240b1403ebfa5810bc8fe0443901040",beforeClose:b,closable:o,closed:n,collapseDirection:e,collapsed:t,collapsible:a,description:c,disabled:l,heading:r,headingLevel:h,loading:d,menuOpen:p,messageOverrides:f,onCalcitePanelClose:this.handleInternalPanelClose,onCalcitePanelScroll:this.handleInternalPanelScroll,onCalcitePanelToggle:this.handleInternalPanelToggle,overlayPositioning:m,ref:this.setContainerRef,scale:this.scale},this.renderBackButton(),i("slot",{key:"9051287e5b89eaca28b440816cbcddc03cefed73",name:"action-bar",slot:F.actionBar}),i("slot",{key:"566fb396078d3eac17fbff69e0cd43fb5b8ca13e",name:"alerts",slot:F.alerts}),i("slot",{key:"88ced257238e369cd99250c9d5a93fa03746fbd5",name:"header-actions-start",slot:F.headerActionsStart}),i("slot",{key:"beab9f93af9deed383adc8250ec943b883e058b8",name:"header-actions-end",slot:F.headerActionsEnd}),i("slot",{key:"1f1c7579d1ac1085004b08d2f57ec8b9e0641e35",name:"header-content",slot:F.headerContent}),i("slot",{key:"3696e4a7e80db48581f438336007a1b63a201040",name:"header-menu-actions",slot:F.headerMenuActions}),i("slot",{key:"370e0817cbc13d7cf4c8adaccff8fe9d7c91c859",name:"fab",slot:F.fab}),i("slot",{key:"d55cc859cb1c9c6cc80a63521aad955f6e23d31c",name:"content-top",slot:F.contentTop}),i("slot",{key:"7cea1750cd59d1fdda66516c9b4c78884127dde5",name:"content-bottom",slot:F.contentBottom}),i("slot",{key:"d07ed2f97623023312cdb0a5a01b909286f34373",name:"footer-start",slot:F.footerStart}),i("slot",{key:"fdc209c1e77fd62cadaaad0ee576e71a1f0419d8",name:"footer",slot:F.footer}),i("slot",{key:"5348d32cc42b7fa3b07e4b5ef711863f6ce812bc",name:"footer-end",slot:F.footerEnd}),i("slot",{key:"bad7644787a3ad19ef40931fb38cfe9c18962b27",name:"footer-actions",slot:F.footerActions}),i("slot",{key:"97675398537cc86f41a219126e17bcf24cf4682b"}))))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};R.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding);--calcite-panel-header-border-block-end:var(--calcite-flow-item-header-border-block-end)}:host([hidden]){display:none}[hidden]{display:none}";const U=class{constructor(i){t(this,i),this.success=e(this,"success",7),this.fail=e(this,"fail",7),this.drawComplete=e(this,"drawComplete",7),this.editingAttachment=e(this,"editingAttachment",7),this.progressStatus=e(this,"progressStatus",7),this.modeChanged=e(this,"modeChanged",7),this.mapView=void 0,this.selectedLayerId=void 0,this.customizeSubmit=!1,this.searchConfiguration=void 0,this.isMobile=void 0,this.floorLevel=void 0,this.formElements=void 0,this.enableSearch=!1,this._editorLoading=!1,this._showSearchWidget=void 0}get el(){return a(this)}Editor;ExpressionInfo;FieldElement;FormTemplate;_editor;FeatureLayer;MapView;_updatedMapView;Search;_search;reactiveUtils;_addingAttachment;_container;_mapViewContainer;_isSubmitBtnClicked=!1;_selectedLayer;async mapViewWatchHandler(){await this.mapView.when((async()=>{await this.init()}))}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(t){if(t){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){const t={layer:this._selectedLayer,template:this._selectedLayer.templates[0]};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(t),await this.hideEditorsElements()}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async close(){this._editor&&this._editor.destroy()}async submit(){this._editor&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(t){this._editor&&this._setFloorLevel(t)}success;fail;drawComplete;editingAttachment;progressStatus;modeChanged;async componentWillLoad(){await this.initModules()}async componentDidLoad(){await this.init()}render(){const t=this._showSearchWidget?"":"display-none",e=this._editorLoading?"display-none":"",s=this.isMobile?"show-map":"display-none";return i(o,{key:"df6ae442c5d339f1cd0922ac32c646e819cc5a0e"},i("calcite-loader",{key:"f5d23d229486da63e6fef61edc96af549344985a",class:this._editorLoading?"":"display-none",label:"",scale:"s"}),i("div",{key:"3e33def6c7f9fed3c503c239c46a05e3cad13915",class:e,id:"feature-form"}),this.enableSearch&&i("div",{key:"77f674b79cf54e9f84fac68bcc4294df3727c6e2",class:`search-widget ${t} ${e}`,id:"search-widget-ref"}),i("div",{key:"8babe32f8d3ad74130ba538f202f896d546f6913",class:`${s}`,ref:t=>{this._mapViewContainer=t}}))}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){const[t,e,i,s,a,o,n]=await L(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=t,this.reactiveUtils=e,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=o,this.MapView=n}async createMobileMapView(){this._mapViewContainer.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer}).when((t=>{this._updatedMapView=t,this._loadWidgets()}),(t=>{console.log(t)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();const t=[];this._container=document.createElement("div"),this._container?.classList.add("display-none");const e=await W(this._updatedMapView);this._selectedLayer=await H(this.mapView,this.selectedLayerId),this._selectedLayer?.isTable||e.forEach((async e=>{t.push({layer:e,enabled:"feature"===e?.type&&e?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this._editor=new this.Editor({view:this._updatedMapView,layerInfos:t,visibleElements:{snappingControls:!1,createFeaturesSection:!0,editFeaturesSection:!1},container:this._container}),this._mapViewContainer?this.el.insertBefore(this._container,this._mapViewContainer):this.el.appendChild(this._container);const i=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"adding-attachment"===t||"editing-attachment"===t?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)}));this._editor.viewModel.addHandles(i);const s=this.reactiveUtils.watch((()=>this._editor.viewModel.featureTemplatesViewModel.state),(t=>{"ready"===t&&"create-features"!==this._editor.viewModel?.activeWorkflow?.type&&(this.progressStatus.emit(.5),this._editorLoading=!0)}));this._editor.viewModel.addHandles(s);const a=this.reactiveUtils.watch((()=>this._editor.viewModel.featureFormViewModel?.state),(t=>{"ready"===t&&(this._mapViewContainer?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)),this._setFloorLevel(this.floorLevel),this._showSearchWidget=!1,this.progressStatus.emit(1),this.drawComplete.emit())}));this._editor.viewModel.addHandles(a);const o=this.reactiveUtils.watch((()=>this._editor.viewModel.state),(t=>{"creating-features"===t&&(this._mapViewContainer?.classList?.replace("hide-map","show-map"),this._showSearchWidget=!0)}));this._editor.viewModel.addHandles(o)}async startCreate(){return await this.hideEditorsElements(),new Promise(((t,e)=>{if(this._editor.viewModel.featureTemplatesViewModel.items?.length){const i=this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");this._editor.viewModel.featureTemplatesViewModel.on("select",(()=>{this.progressStatus.emit(.75),setTimeout((()=>{this.hideEditorsElements().then((()=>{t({})}),(t=>e(t)))}),700)})),1===i.length&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);const s=i.length>1;this.hideEditorsElements().then((()=>{s&&t({})}),(t=>s&&e(t)))}}))}async createSearchWidget(){let t={view:this._updatedMapView};this.searchConfiguration&&(t={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(t),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let e=null;this._search.on("search-complete",(t=>{this._updatedMapView.goTo(t.results[0].results[0].extent),"point"===this._selectedLayer.geometryType&&(e=t.results[0].results[0]?.feature.geometry)}));const i=this.reactiveUtils.watch((()=>this._search.viewModel.state),(t=>{"ready"===t&&setTimeout((()=>{this._editor.viewModel.sketchViewModel.createGraphic&&e&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",e),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())}),100)}));this._search.viewModel.addHandles(i)}_getSearchConfig(t,e){const i=t.sources;return i?.length>0?(t.includeDefaultSources=!1,i.forEach((t=>{if(t.hasOwnProperty("layer")){const i=t,s=i.layer?.id,a=s?e.map.findLayerById(s):null,o=i?.layer?.url;a?i.layer=a:o&&(i.layer=new this.FeatureLayer(o))}})),i?.forEach((t=>{if(t.hasOwnProperty("locator")){const e=t;"ArcGIS World Geocoding Service"===e?.name&&(e.outFields=e.outFields||["Addr_type","Match_addr","StAddr","City"],e.singleLineFieldName="SingleLine"),e.url=e.url,delete e.url}}))):t={...t,includeDefaultSources:!0},t}async _setFloorLevel(t){if(!t)return;const e=this._selectedLayer;if(e?.floorInfo?.floorField){const i=e.fields.find((t=>t.name===e.floorInfo.floorField));if(i&&!e?.formTemplate)this._editor.viewModel.featureFormViewModel.setValue(i.name,t),i.editable=!1;else if(e.formTemplate&&this.formElements){const i=new this.ExpressionInfo({expression:`"${t}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),s=new this.FieldElement({label:e.floorInfo.floorField,editableExpression:"false",fieldName:e.floorInfo.floorField,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:i.name});this._updatedMapView.map.editableLayers.forEach((t=>{const e=this.formElements.orgExpressionInfos,a=[...this.formElements.orgElements];a.push(s);const o=new this.FormTemplate({title:t.formTemplate.title,description:t.formTemplate.description,elements:a,expressionInfos:[i].concat(e)});t.formTemplate=o}))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach((t=>{const e=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");e?.querySelector("header")?.setAttribute("style","display: none"),e?.querySelector("footer")?.setAttribute("style","display: none")})))}async submitted(t){if(t.invalid.length)this._isSubmitBtnClicked=!1;else if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some((t=>{if(t.error)throw t.error}))}catch(t){return void this.fail.emit(t)}this.success.emit()}}timeout(t){return new Promise((e=>setTimeout(e,t)))}static get watchers(){return{mapView:["mapViewWatchHandler"],isMobile:["isMobileHandler"],_editorLoading:["_editorLoadingWatchHandler"]}}};U.style=":host{display:block}.esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 0 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute;bottom:0;width:calc(100% - 22px);height:50%}.esri-editor__panel-content{padding-block:10px !important}";const G=class{constructor(i){t(this,i),this.closeEdit=e(this,"closeEdit",7),this.editsComplete=e(this,"editsComplete",7),this.refreshGraphics=e(this,"refreshGraphics",7),this.enableEditGeometry=!1,this.graphics=void 0,this.mapView=void 0,this.open=!1,this.graphicIndex=0,this._editorLoading=!1,this._translations=void 0}get el(){return a(this)}_activeWorkflowHandle;_addRelatedRecordHandle;_attachmentHandle;_editHandle;_layerEditHandle;Editor;_editor;_layer;_editContainer;_editControlElements;_editingDisabled;_shouldClose=!1;reactiveUtils;async graphicsWatchHandler(){0===this.graphics.length&&this.open&&await this._closeEdit(!0)}async openWatchHandler(t){t&&this.graphics?.length>0&&this.graphicIndex>-1&&(this._editorLoading=!0,await this._initEditorWidget(),this.graphicIndex>-1&&this.graphics.length>0&&this.open&&!this._shouldClose&&await this._startUpdate(),this._editorLoading=!1),t||await this._closeEdit(!0)}closeEdit;editsComplete;refreshGraphics;async featureSelectionChange(){this.open&&await this._closeEdit(!1)}async componentWillLoad(){await this._initModules(),await this._getTranslations()}async componentWillRender(){this.graphics?.length>0&&this.graphics[0]?.layer&&(this._layer=this.graphics[0].layer,this._layerEditHandle&&this._layerEditHandle.remove(),this._layerEditHandle=this._layer.on("edits",(()=>{this.editsComplete.emit()})))}render(){const t=this._editorLoading?"display-none":"position-absolute",e=this._editorLoading?"":"display-none";return i(s,{key:"702d90ff413f7559cfc85b1e8e709e1076ec00d6"},i("div",{key:"8a2469c080aee5cc466e587ede8de7a60e6db7bb",class:"position-absolute"},this.graphics?.length>0&&this.graphics[0]&&this.graphics[0].layer.editingEnabled?void 0:i("calcite-notice",{kind:"warning",open:!0,slot:"content-top",width:"full"},i("div",{slot:"message"},this._translations.enableEditing)),i("div",{key:"f9fce7512f023aed9151f8f6022202819e9378cd",class:"position-absolute"},i("div",{key:"4f5e6afd20e6adb5f34a3940a193c0d858212d88",class:t,id:"feature-form",ref:t=>this._editContainer=t}),i("calcite-loader",{key:"437c74efd97d1cbea536fc33fabab9b46ff2812b",class:e,label:"",scale:"s"}))))}async _initModules(){const[t,e]=await L(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=e}async _initEditorWidget(){if(this.mapView&&this.graphics&&this.graphics.length>0&&this.graphics[0]){this._editor&&this._editor.destroy();const t=document.createElement("div"),e=(await W(this.mapView)).map((t=>({layer:t,geometryUpdatesEnabled:this.enableEditGeometry})));this._editor=new this.Editor({allowedWorkflows:"update",view:this.mapView,layerInfos:e,visibleElements:{snappingControls:!1},container:t}),this._attachmentHandle&&this._activeWorkflowHandle&&(this._attachmentHandle.remove(),this._activeWorkflowHandle.remove()),this._attachmentHandle=this.reactiveUtils.when((()=>"adding-attachment"===this._editor.viewModel.state||"editing-attachment"===this._editor.viewModel.state||"creating-features"===this._editor.viewModel.state),(()=>{this._shouldClose=!1})),this._activeWorkflowHandle=this.reactiveUtils.watch((()=>this._editor.viewModel.activeWorkflow?.activeWorkflow),(t=>{"update-table-record"!==t?.type&&"create-features"!==t?.type||(this._shouldClose=!1),(t?.type||t?.hasPendingEdits||this._editor.activeWorkflow)&&this._editor?.activeWorkflow?.started||(this.open=!1)})),this._editContainer.appendChild(t)}}async _closeEdit(t){this._shouldClose=!0,t&&this._editor?.activeWorkflow?(this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits&&(await this._editor.activeWorkflow.reset(),await this._editor.cancelWorkflow()),this._editor.destroy()):this.graphicIndex>-1&&this.graphics?.length>0&&this.refreshGraphics.emit(this.graphics),this._shouldClose=!1,this.closeEdit.emit()}async _startUpdate(){await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]),this._shouldClose=!0}async _getTranslations(){const t=await S(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],open:["openWatchHandler"]}}};G.style=":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-editor__panel-content{padding-block:10px !important}";const $=class{constructor(i){t(this,i),this.popupClosed=e(this,"popupClosed",7),this.selectionChanged=e(this,"selectionChanged",7),this.enableEditGeometry=!1,this.graphics=void 0,this.isLoading=!1,this.isMobile=void 0,this.mapView=void 0,this.allowEditing=!0,this.highlightEnabled=!0,this.paginationEnabled=!0,this.position="absolute",this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=void 0}get el(){return a(this)}Features;_editEnabled;_features;_layer;_popupUtils;_featuresNodeId="features-node"+(new Date).getMilliseconds().toString();reactiveUtils;async graphicsWatchHandler(){await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features.previous(),this._count=this._getCount()}async next(){this._features.next(),this._count=this._getCount()}async toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async updateCurrentGraphic(t){this._features.selectedFeatureWidget.graphic=t}popupClosed;selectionChanged;async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(t){this.graphics=[...t.detail]}async componentWillLoad(){await this._initModules(),await this._getTranslations(),this._popupUtils=new D}async componentDidLoad(){this.graphics?.length>0&&await this.setGraphics()}render(){const t=this.isLoading?"":"display-none",e=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",a=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",o=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",n=this._features?.features?.length<2,c=this.isMobile?"display-none":"",l=this._features?.selectedFeature?.getObjectId(),r=parseInt(l?.toString(),10)>-1?[l]:[],h=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete;return i(s,{key:"6f425d1817646bd9a9e4a600d391097677026f25"},i("calcite-shell",{key:"e717377ce155936033cdcc9ae21de8355cca08ca",style:{position:this.position}},this._getHeader(),i("calcite-loader",{key:"b5281d2fea94193f85d24019ac02425f9fe7e09d",class:t,label:this._translations.fetchingData}),i("div",{key:"9cc87e384a838a324ebd45bd35c48ff508628eb7",class:"esri-widget feature-node "+e,id:this._featuresNodeId}),i("div",{key:"3919d8b734caf6639d2a42eb675eecd35c5e5097",class:`${o} width-100`,slot:"footer"},this.allowEditing&&i("div",{key:"f07c11a195aaba15a277b9ab0ebd7d0a36d33820",class:"display-flex top-border padding-1-2"},i("calcite-button",{key:"15791bdca2014ddd1a09e4ed145b9e871a431636",appearance:"solid",id:"solutions-edit",onClick:()=>this._openEditRecord(),width:"full"},this._translations.edit),this.isMobile&&h?i("delete-button",{class:"padding-inline-start-1 width-100",id:"solutions-delete",ids:r,layer:this._layer,onEditsComplete:()=>this._closePopup()}):void 0,i("calcite-tooltip",{key:"5e86460a3af8b4e24e3c64f03e83a975045ced17",placement:"bottom","reference-element":"solutions-edit"},i("span",{key:"2f0915508a261e76980f7bbd550b73dc5888ef3e"},this._translations.edit)),this.isMobile?i("calcite-tooltip",{placement:"bottom","reference-element":"solutions-delete"},i("span",null,this._translations.delete)):void 0),this.paginationEnabled&&!n&&i("div",{key:"461230a7f8096d3f6f53b422d724a1fdb406fe92",class:`display-flex padding-1-2 button-container top-border ${c}`},i("div",{key:"7e9f6d377d776951759c0a7eac4512eda1101088"},i("calcite-button",{key:"a3cf2ee2e28f9d2da4a2d0c74f83cd55c3f882cb",appearance:"transparent",disabled:n,iconFlipRtl:"both",iconStart:"chevron-left",id:"solutions-back",onClick:()=>this._back(),width:"full"}),i("calcite-tooltip",{key:"6cc374cd4dc943fdf09940fc9a7d4c1e13421567",placement:"top","reference-element":"solutions-back"},i("span",{key:"67caf535d71dc664c64a1d6b9f7f3512f157d143"},this._translations.back))),i("calcite-action",{key:"90901930abe85183cd6fb8c7dd850385a6f2f8f8",class:"pagination-action",iconFlipRtl:!0,onClick:()=>this._toggleListView(),scale:"s",text:"",textEnabled:!0},i("span",{key:"99ee44c6f416b9315fbe157d32f2c64ef5f91ba3",class:"pagination-count"},this._count)),i("div",{key:"b96ee80ab7668193b7e29c635692b96d61da07ba"},i("calcite-button",{key:"d0257d2159d1e18ecebaad7952a76b1534164996",appearance:"transparent",disabled:n,iconFlipRtl:"both",iconStart:"chevron-right",id:"solutions-next",onClick:()=>this._next(),width:"full"}),i("calcite-tooltip",{key:"5f7476d0c42127bbf7a2533d422399a6887d308b",placement:"top","reference-element":"solutions-next"},i("span",{key:"cc4d1da8990996ebea70688b9a8fa0ccaeeea4cb"},this._translations.next))))),i("edit-card",{key:"2189a272fae0b15aaa563daa2b8ae411d8e61fb0",class:a,enableEditGeometry:this.enableEditGeometry,graphicIndex:this._features?.selectedFeatureIndex,graphics:this.graphics,mapView:this.mapView,open:this._editRecordOpen}),i("calcite-alert",{key:"fb557a7cf23b8711aec88da6483ab385372d9db4",icon:"layer-broken",kind:"warning",label:"",onCalciteAlertClose:()=>this._alertClosed(),open:this._alertOpen,placement:"top"},i("div",{key:"a3aa6e09d43f045d69c630d6e8b8c0c5c2eee55e",slot:"title"},this._translations.editDisabled),i("div",{key:"a76fd3260afcd35d42091a18690950be44f11365",slot:"message"},this._translations.enableEditing))))}async _initModules(){const[t,e]=await L(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=t,this.reactiveUtils=e}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=this._layer.editingEnabled&&this._layer.capabilities.operations.supportsUpdate,this._mobileTitle=await this._popupUtils.getPopupTitle(this.graphics[0],this.mapView.map),this._features.open({features:this.graphics})):(this._features.clear(),this._features.close()),this._count=this._getCount()}async _initFeaturesWidget(){return void 0!==this.isMobile?await(this.mapView?.when((()=>{this._features?(this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!1,this._features.visibleElements.heading=!this.isMobile):(this._features=new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:!1,heading:!this.isMobile}}),this._features.viewModel.highlightEnabled=this.highlightEnabled,this.reactiveUtils.watch((()=>this._features.viewModel.featureMenuOpen),(t=>{this._count=this._getCount(),t||(this._showListView=t)})),this.reactiveUtils.watch((()=>this._features.selectedFeatureIndex),(t=>{t>-1&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})})))}))):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?i("calcite-panel",{class:"border-width-0",slot:"header"},i("calcite-action",{class:"end-border",icon:"chevron-left",iconFlipRtl:!0,onClick:()=>this._closePopup(),scale:"s",slot:"header-actions-start",text:""}),i("span",{class:"font-bold",slot:"header-content"},this._mobileTitle)):void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features.previous(),this._count=this._getCount()}_next(){this._features.next(),this._count=this._getCount()}_getCount(){const t=(this._features?.viewModel.selectedFeatureIndex+1).toString(),e=this._features?.features?.length.toString();return this._translations.indexOfTotal.replace("{{index}}",t).replace("{{total}}",e)}_toggleListView(){this._showListView=!this._showListView;const t=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=t}async _getTranslations(){const t=await S(this.el);this._translations=t[0]}static get watchers(){return{graphics:["graphicsWatchHandler"],isMobile:["isMobileWatchHandler"],mapView:["mapViewWatchHandler"]}}};$.style=":host{display:block;--calcite-label-margin-bottom:0}.padding-1-2{padding:0.5rem}.display-none{display:none !important}.display-flex{display:flex}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.feature-node{position:relative !important}.feature-node .esri-features__footer{display:none !important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:0.5rem !important;background-color:var(--calcite-color-foreground-1) !important;height:100% !important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:bold}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:bold}";export{q as calcite_alert,R as calcite_flow_item,U as create_feature,G as edit_card,$ as info_card}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as t,f as e,h as i,g as s,c as a,H as l}from"./p-6eb37ed2.js";import{g as n}from"./p-c6296ee6.js";import{c as h}from"./p-3832f6b0.js";import{i as r,u as o}from"./p-8817162f.js";import{c,d,a as m,H as u}from"./p-eacb5b05.js";import{c as b,d as p,u as f,I as g}from"./p-53e0faf4.js";import{i as v}from"./p-b51111e1.js";import{c as x,d as k,g as _}from"./p-cb860e39.js";import{s as $,a as y,c as w}from"./p-1b147794.js";import{n as z,c as M,d as V,B as L}from"./p-32539121.js";import{d as H,c as j}from"./p-fc8d6dcf.js";import"./p-416c0818.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
|
+
*/function X(t,e,i){const s=e[0]-t[0];return s?(3*(e[1]-t[1])/s-i)/2:i}function T(t,e,i,s,a){const[l,n]=t,[h,r]=e,o=(h-l)/3;return`C ${a([l+o,n+o*i]).join(",")} ${a([h-o,r-o*s]).join(",")} ${a([h,r]).join(",")}`}const D=class{constructor(i){t(this,i),this.graphId=`calcite-graph-${n()}`,this.resizeObserver=h("resize",(()=>e(this))),this.data=[],this.colorStops=void 0,this.highlightMin=void 0,this.highlightMax=void 0,this.min=void 0,this.max=void 0}connectedCallback(){this.resizeObserver?.observe(this.el)}disconnectedCallback(){this.resizeObserver?.disconnect()}render(){const{data:t,colorStops:e,el:s,highlightMax:a,highlightMin:l,min:n,max:h}=this,r=this.graphId,{clientHeight:o,clientWidth:c}=s;if(!t||0===t.length)return i("svg",{"aria-hidden":"true",class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c});const{min:d,max:m}=function(t){const[e,i]=t[0];return t.reduce((({min:t,max:e},[i,s])=>({min:[Math.min(t[0],i),Math.min(t[1],s)],max:[Math.max(e[0],i),Math.max(e[1],s)]})),{min:[e,i],max:[e,i]})}(t);let u=d,b=m;(n<d[0]||n>d[0])&&(u=[n,0]),(h>m[0]||h<m[0])&&(b=[h,m[1]]);const p=function({width:t,height:e,min:i,max:s}){const a=s[0]-i[0],l=s[1]-i[1];return s=>[(s[0]-i[0])/a*t,e-s[1]/l*e]}({min:u,max:b,width:c,height:o}),[f]=p([l,b[1]]),[g]=p([a,b[1]]),v=function({data:t,min:e,max:i,t:s}){if(0===t.length)return"";const[a,l]=s(t[0]),[n,h]=s(e),[r]=s(i);let o,c,d;const m=t.reduce(((e,i,a)=>{if(c=t[a-2],d=t[a-1],a>1){const t=function(t,e,i){const s=e[0]-t[0],a=i[0]-e[0],l=(e[1]-t[1])/(s||a<0&&0),n=(i[1]-e[1])/(a||s<0&&0),h=(l*a+n*s)/(s+a);return(Math.sign(l)+Math.sign(n))*Math.min(Math.abs(l),Math.abs(n),.5*Math.abs(h))||0}(c,d,i),a=void 0===o?X(c,d,t):o,l=T(c,d,a,t,s);return o=t,`${e} ${l}`}return e}),`M ${n},${h} L ${n},${l} L ${a},${l}`),u=t[t.length-1];return`${m} ${T(d,u,o,X(d,u,o),s)} L ${r},${h} Z`}({data:t,min:d,max:m,t:p}),x=e?`url(#linear-gradient-${r})`:void 0;return i("svg",{"aria-hidden":"true",class:"svg",height:o,preserveAspectRatio:"none",viewBox:`0 0 ${c} ${o}`,width:c},e?i("defs",null,i("linearGradient",{id:`linear-gradient-${r}`,x1:"0",x2:"1",y1:"0",y2:"0"},e.map((({offset:t,color:e,opacity:s})=>i("stop",{offset:100*t+"%","stop-color":e,"stop-opacity":s}))))):null,void 0!==l?[i("mask",{height:"100%",id:`${r}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${f-1},0\n L ${f-1},${o}\n L 0,${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${r}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${f+1},0\n L ${g-1},0\n L ${g-1},${o}\n L ${f+1}, ${o}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${r}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${g+1},0\n L ${c},0\n L ${c},${o}\n L ${g+1}, ${o}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:v,fill:x,mask:`url(#${r}1)`}),i("path",{class:"graph-path--highlight",d:v,fill:x,mask:`url(#${r}2)`}),i("path",{class:"graph-path",d:v,fill:x,mask:`url(#${r}3)`})]:i("path",{class:"graph-path",d:v,fill:x}))}get el(){return s(this)}};D.style=":host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;block-size:100%;inline-size:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-color-brand);opacity:0.5}: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 C="container",S="container--range",I="hyphen",A="hyphen--wrap",F="thumb",P="thumb--active",R="thumb--minValue",O="thumb--precise",N="thumb--value",W="tick",B="tick--active",U="tick__label",Z="tick__label--max",G="tick__label--min";function E(t){return Array.isArray(t)}const K=class{constructor(e){t(this,e),this.calciteSliderInput=a(this,"calciteSliderInput",6),this.calciteSliderChange=a(this,"calciteSliderChange",6),this.handleKeyDown=t=>{const e=this.shouldMirror(),{activeProp:i,max:s,min:a,pageStep:l,step:n}=this,h=this[i],{key:r}=t;if(v(r))return void t.preventDefault();let o;if("ArrowUp"===r||"ArrowRight"===r?o=h+n*(e&&"ArrowRight"===r?-1:1):"ArrowDown"===r||"ArrowLeft"===r?o=h-n*(e&&"ArrowLeft"===r?-1:1):"PageUp"===r?l&&(o=h+l):"PageDown"===r?l&&(o=h-l):"Home"===r?o=a:"End"===r&&(o=s),isNaN(o))return;t.preventDefault();const c=Number(o.toFixed(H(n)));this.setValue({[i]:this.clamp(c,i)})},this.activeProp="value",this.guid=`calcite-slider-${n()}`,this.onThumbBlur=()=>{this.activeProp=null},this.onThumbFocus=t=>{this.activeProp=t.currentTarget.getAttribute("data-value-prop")},this.onThumbPointerDown=t=>{this.pointerDownDragStart(t,t.currentTarget.getAttribute("data-value-prop"))},this.onTrackPointerDown=t=>{this.pointerDownDragStart(t,"minMaxValue")},this.dragUpdate=t=>{if(!this.disabled&&(t.preventDefault(),this.dragProp)){const e=this.translate(t.clientX||t.pageX);if(E(this.value)&&"minMaxValue"===this.dragProp)if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){const t=e-this.minValueDragRange,i=e+this.maxValueDragRange;i<=this.max&&t>=this.min&&i-t===this.minMaxValueRange&&this.setValue({minValue:this.clamp(t,"minValue"),maxValue:this.clamp(i,"maxValue")})}else this.minValueDragRange=e-this.minValue,this.maxValueDragRange=this.maxValue-e,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(e,this.dragProp)})}},this.pointerUpDragEnd=t=>{!this.disabled&&r(t)&&this.dragEnd(t)},this.dragEnd=t=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(t.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.storeTrackRef=t=>{this.trackEl=t},this.storeThumbRef=t=>{t&&("minValue"===t.getAttribute("data-value-prop")?this.minHandle=t:this.maxHandle=t)},this.formatValue=t=>(z.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},z.localize(t.toString())),this.disabled=!1,this.fillPlacement="start",this.form=void 0,this.groupSeparator=!1,this.hasHistogram=!1,this.histogram=void 0,this.histogramStops=void 0,this.labelHandles=!1,this.labelFormatter=void 0,this.labelTicks=!1,this.max=100,this.maxLabel=void 0,this.maxValue=void 0,this.min=0,this.minLabel=void 0,this.minValue=void 0,this.mirrored=!1,this.name=void 0,this.numberingSystem=void 0,this.pageStep=void 0,this.precise=!1,this.required=!1,this.snap=!1,this.step=1,this.ticks=void 0,this.value=0,this.scale="m",this.effectiveLocale="",this.minMaxValueRange=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.tickValues=[]}histogramWatcher(t){this.hasHistogram=!!t}ticksWatcher(){this.tickValues=this.generateTickValues()}valueHandler(){this.setMinMaxFromValue()}minMaxValueHandler(){this.setValueFromMinMax()}connectedCallback(){b(this),M(this),this.setMinMaxFromValue(),this.setValueFromMinMax(),x(this),c(this)}disconnectedCallback(){p(this),k(this),d(this),V(this),this.removeDragListeners()}componentWillLoad(){$(this),E(this.value)||(this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)),this.ticksWatcher(),this.histogramWatcher(this.histogram),m(this,this.value)}componentDidLoad(){y(this)}componentDidRender(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),E(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),f(this)}render(){const t=this.el.id||this.guid,e=E(this.value)?this.maxValue:this.value,s=this.minValue||this.min,a=this.shouldUseMinValue(),n=100*this.getUnitInterval(a?this.minValue:s),h=100*this.getUnitInterval(e),r=this.shouldMirror(),o=E(this.value),c=this.buildThumbType("max"),d=this.renderThumb({type:c,thumbPlacement:c.includes("histogram")?"below":"above",maxInterval:h,minInterval:n,mirror:r}),m=this.buildThumbType("min"),b=o&&this.renderThumb({type:m,thumbPlacement:m.includes("histogram")||m.includes("precise")?"below":"above",maxInterval:h,minInterval:n,mirror:r}),p=o?"start":this.fillPlacement,f="none"===p?{left:"unset",right:"unset"}:"end"===p?{left:`${r?n:h}%`,right:`${r?h:n}%`}:{left:`${r?100-h:n}%`,right:`${r?n:100-h}%`};return i(l,{key:"c0ebc9073b3609d1d47379b5efccbe31c68915ed",id:t,onKeyDown:this.handleKeyDown,onTouchStart:this.handleTouchStart},i(g,{key:"1f6930631e4c83e5b47ae1d5c64c10dbe58ed8e7",disabled:this.disabled},i("div",{key:"09a30ae372ca5e52fde36a0a85adc76d14ca1461","aria-label":_(this),class:{[C]:!0,[S]:o,[`scale--${this.scale}`]:!0}},this.renderGraph(),i("div",{key:"e996119bc9bba42340d24b2dc8b2ad7daaf02e6e",class:"track",ref:this.storeTrackRef},i("div",{key:"fb768d8462137621d7a891d0767e2e27864307fc",class:"track__range",onPointerDown:this.onTrackPointerDown,style:f}),i("div",{key:"408a0a05ef7503b1af724cfd95e3fb40f94bcbf8",class:"ticks"},this.tickValues.map((t=>{const l=100*this.getUnitInterval(t)+"%";let n=!1;return"start"!==p&&"end"!==p||(n=a?t>=this.minValue&&t<=this.maxValue:t>=("start"===p?s:e)&&t<=("start"===p?e:this.max)),i("span",{class:{[W]:!0,[B]:n},style:{left:r?"":l,right:r?l:""}},this.renderTickLabel(t))})))),i("div",{key:"c511ee11206dadb2b23199708abf2d2703423559",class:"thumb-container"},b,d,i(u,{key:"f6684d5f25ade745730db775a5e51298b5eb8048",component:this})))))}renderThumb({type:t,mirror:e,thumbPlacement:s,minInterval:a,maxInterval:l}){const n=t.includes("labeled"),h=t.includes("precise"),r=t.includes("min"),o=E(this.value),c=r?this.minValue:o?this.maxValue:this.value,d=r?"minValue":o?"maxValue":"value",m=r?this.minLabel:o?this.maxLabel:this.minLabel,u=r?this.minValue:c,b="minValue"===d?this.internalLabelFormatter(this.minValue,"min"):"maxValue"===d?this.internalLabelFormatter(this.maxValue,"max"):this.internalLabelFormatter(c,"value"),p=r?{left:`${e?100-a:a}%`}:{right:`${e?l:100-l}%`},f="handle__label "+(r?"handle__label--minValue":"handle__label--value"),g=[...n?[i("span",{"aria-hidden":"true",class:f},b),i("span",{"aria-hidden":"true",class:`${f} static`},b),i("span",{"aria-hidden":"true",class:`${f} transformed`},b)]:[],i("div",{class:"handle"}),h&&i("div",{class:"handle-extension"})];return"below"===s&&g.reverse(),i("div",{"aria-disabled":this.disabled,"aria-label":m,"aria-orientation":"horizontal","aria-valuemax":this.max,"aria-valuemin":this.min,"aria-valuenow":u,class:{[F]:!0,[N]:!r,[P]:"minMaxValue"!==this.lastDragProp&&this.dragProp===d,[O]:h,[R]:r},"data-value-prop":d,key:t,onBlur:this.onThumbBlur,onFocus:this.onThumbFocus,onPointerDown:this.onThumbPointerDown,ref:this.storeThumbRef,role:"slider",style:p,tabIndex:0},g)}renderGraph(){return this.histogram?i("calcite-graph",{class:"graph",colorStops:this.histogramStops,data:this.histogram,highlightMax:E(this.value)?this.maxValue:this.value,highlightMin:E(this.value)?this.minValue:this.min,max:this.max,min:this.min}):null}renderTickLabel(t){const{hasHistogram:e,labelHandles:s,labelTicks:a,max:l,min:n,precise:h,value:r}=this,o=E(r),c=t===n,d=t===l,m=c||d;return!a||(e||!m&&h&&o)&&(!e||!m&&(h||s))?null:i("span",{class:{[U]:!0,[G]:c,[Z]:d}},this.internalLabelFormatter(t,"tick"))}pointerDownHandler(t){if(this.disabled||!r(t))return;const e=t.clientX||t.pageX,i=this.translate(e);let s="value";E(this.value)&&(s=i>=this.minValue&&i<=this.maxValue&&"minMaxValue"===this.lastDragProp?"minMaxValue":Math.abs(this.maxValue-i)<Math.abs(this.minValue-i)||i>=this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[s],this.dragStart(s),this.el.shadowRoot.querySelector(`.${F}:active`)||this.setValue({[s]:this.clamp(i,s)}),this.focusActiveHandle(e)}handleTouchStart(t){t.preventDefault()}async setFocus(){await w(this);const t=this.minHandle?this.minHandle:this.maxHandle;t?.focus()}buildThumbType(t){const e=[t];return this.labelHandles&&e.push("labeled"),this.precise&&e.push("precise"),this.hasHistogram&&e.push("histogram"),e.join("-")}setValueFromMinMax(){const{minValue:t,maxValue:e}=this;"number"==typeof t&&"number"==typeof e&&(this.value=[t,e])}setMinMaxFromValue(){const{value:t}=this;E(t)&&(this.minValue=t[0],this.maxValue=t[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return!!E(this.value)&&(this.hasHistogram&&0===this.maxValue||!this.hasHistogram&&0===this.minValue)}getTickDensity(){const t=(this.max-this.min)/this.ticks/250;return t<1?1:t}generateTickValues(){const t=this.ticks??0;if(t<=0)return[];const e=[this.min],i=t*this.getTickDensity();let s=this.min;for(;s<this.max;)s+=i,e.push(Math.min(s,this.max));return e.includes(this.max)||e.push(this.max),e}pointerDownDragStart(t,e){r(t)&&this.dragStart(e)}dragStart(t){this.dragProp=t,this.lastDragProp=this.dragProp,this.activeProp=t,window.addEventListener("pointermove",this.dragUpdate),window.addEventListener("pointerup",this.pointerUpDragEnd),window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(t){"minValue"===this.dragProp?this.minHandle.focus():"maxValue"===this.dragProp||"value"===this.dragProp?this.maxHandle.focus():"minMaxValue"===this.dragProp&&this.getClosestHandle(t).focus()}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate),window.removeEventListener("pointerup",this.pointerUpDragEnd),window.removeEventListener("pointercancel",this.dragEnd)}setValue(t){let e;Object.keys(t).forEach((i=>{const s=t[i];e||(e=this[i]!==s),this[i]=s})),e&&(this.dragProp||this.emitChange(),this.emitInput())}clamp(t,e){return t=j(t,this.min,this.max),"maxValue"===e&&(t=Math.max(t,this.minValue)),"minValue"===e&&(t=Math.min(t,this.maxValue)),t}translate(t){const e=this.max-this.min,{left:i,width:s}=this.trackEl.getBoundingClientRect(),a=(t-i)/s,l=this.shouldMirror(),n=this.clamp(this.min+e*(l?1-a:a)),h=Number(n.toFixed(H(this.step)));return this.snap&&this.step?this.getClosestStep(h):h}getClosestStep(t){const{max:e,min:i,step:s}=this,a=new L(`${Math.floor((t-i)/s)}`).multiply(`${s}`).add(`${i}`).toString();let l=this.clamp(Number(a));return l>e&&(l-=s),l}getClosestHandle(t){return this.getDistanceX(this.maxHandle,t)>this.getDistanceX(this.minHandle,t)?this.minHandle:this.maxHandle}getDistanceX(t,e){return Math.abs(t.getBoundingClientRect().left-e)}getFontSizeForElement(t){return Number(window.getComputedStyle(t).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(t){return((t=this.clamp(t))-this.min)/(this.max-this.min)}adjustHostObscuredHandleLabel(t){const e=this.el.shadowRoot.querySelector(`.handle__label--${t}`),i=this.el.shadowRoot.querySelector(`.handle__label--${t}.static`),s=this.el.shadowRoot.querySelector(`.handle__label--${t}.transformed`),a=i.getBoundingClientRect(),l=this.getHostOffset(a.left,a.right);e.style.transform=`translateX(${l}px)`,s.style.transform=`translateX(${l}px)`}hyphenateCollidingRangeHandleLabels(){const{shadowRoot:t}=this.el,e=this.shouldMirror(),i=e?"value":"minValue",s=e?"minValue":"value",a=t.querySelector(`.handle__label--${i}`),l=t.querySelector(`.handle__label--${i}.static`),n=t.querySelector(`.handle__label--${i}.transformed`),h=this.getHostOffset(l.getBoundingClientRect().left,l.getBoundingClientRect().right),r=t.querySelector(`.handle__label--${s}`),o=t.querySelector(`.handle__label--${s}.static`),c=t.querySelector(`.handle__label--${s}.transformed`),d=this.getHostOffset(o.getBoundingClientRect().left,o.getBoundingClientRect().right),m=this.getFontSizeForElement(a),u=this.getRangeLabelOverlap(n,c),b=a,p=m/2;if(u>0){if(b.classList.add(I,A),0===d&&0===h){let t=u/2-p;t=-1===Math.sign(t)?Math.abs(t):-t;const e=this.getHostOffset(n.getBoundingClientRect().left+t-p,n.getBoundingClientRect().right+t-p);let i=u/2;const s=this.getHostOffset(c.getBoundingClientRect().left+i,c.getBoundingClientRect().right+i);0!==e&&(t+=e,i+=e),0!==s&&(t+=s,i+=s),a.style.transform=`translateX(${t}px)`,n.style.transform=`translateX(${t-p}px)`,r.style.transform=`translateX(${i}px)`,c.style.transform=`translateX(${i}px)`}else if(h>0||d>0)a.style.transform=`translateX(${h+p}px)`,r.style.transform=`translateX(${u+d}px)`,c.style.transform=`translateX(${u+d}px)`;else if(h<0||d<0){let t=Math.abs(h)+u-p;t=-1===Math.sign(t)?Math.abs(t):-t,a.style.transform=`translateX(${t}px)`,n.style.transform=`translateX(${t-p}px)`}}else b.classList.remove(I,A),a.style.transform=`translateX(${h}px)`,n.style.transform=`translateX(${h}px)`,r.style.transform=`translateX(${d}px)`,c.style.transform=`translateX(${d}px)`}hideObscuredBoundingTickLabels(){const t=E(this.value);if(!(this.hasHistogram||t||this.labelHandles||this.precise))return;if(!this.hasHistogram&&!t&&this.labelHandles&&!this.precise)return;if(!this.hasHistogram&&!t&&!this.labelHandles&&this.precise)return;if(!this.hasHistogram&&!t&&this.labelHandles&&this.precise)return;if(!this.hasHistogram&&t&&!this.precise)return;if(this.hasHistogram&&!this.precise&&!this.labelHandles)return;const e=this.el.shadowRoot.querySelector(`.${R}`),i=this.el.shadowRoot.querySelector(`.${N}`),s=this.el.shadowRoot.querySelector(`.${G}`),a=this.el.shadowRoot.querySelector(`.${Z}`);!e&&i&&s&&a&&(s.style.opacity=this.isMinTickLabelObscured(s,i)?"0":"1",a.style.opacity=this.isMaxTickLabelObscured(a,i)?"0":"1"),e&&i&&s&&a&&(s.style.opacity=this.isMinTickLabelObscured(s,e)||this.isMinTickLabelObscured(s,i)?"0":"1",a.style.opacity=this.isMaxTickLabelObscured(a,e)||this.isMaxTickLabelObscured(a,i)&&this.hasHistogram?"0":"1")}getHostOffset(t,e){const i=this.el.getBoundingClientRect();return t+7<i.left?i.left-t-7:e-7>i.right?7-(e-i.right):0}getRangeLabelOverlap(t,e){const i=t.getBoundingClientRect(),s=e.getBoundingClientRect(),a=this.getFontSizeForElement(t);return Math.max(i.right+a-s.left,0)}isMinTickLabelObscured(t,e){const i=t.getBoundingClientRect(),s=e.getBoundingClientRect();return o(i,s)}isMaxTickLabelObscured(t,e){const i=t.getBoundingClientRect(),s=e.getBoundingClientRect();return o(i,s)}internalLabelFormatter(t,e){const i=this.labelFormatter;if(!i)return this.formatValue(t);const s=i(t,e,this.formatValue);return null==s?this.formatValue(t):s}static get delegatesFocus(){return!0}get el(){return s(this)}static get watchers(){return{histogram:["histogramWatcher"],ticks:["ticksWatcher"],value:["valueHandler"],minValue:["minMaxValueHandler"],maxValue:["minMaxValueHandler"]}}};K.style='@charset "UTF-8";: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}.scale--s{--calcite-slider-handle-size:0.625rem;--calcite-slider-handle-extension-height:0.4rem;--calcite-slider-container-font-size:var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size:0.875rem;--calcite-slider-handle-extension-height:0.5rem;--calcite-slider-container-font-size:var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size:1rem;--calcite-slider-handle-extension-height:0.65rem;--calcite-slider-container-font-size:var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-2);font-size:var(--calcite-slider-container-font-size)}:host{display:block}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * 0.5);padding-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-block:calc(var(--calcite-slider-handle-size) * 0.5);margin-inline:0;--calcite-slider-full-handle-height:calc(\n var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height)\n );touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-0.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset:calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset:calc(var(--calcite-slider-handle-size) * 0.5);position:absolute;margin:0px;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0px;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset), var(--calcite-slider-thumb-y-offset))}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen::after{content:"—";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;background-color:var(--calcite-color-foreground-1);outline-color:transparent;block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease, background-color var(--calcite-internal-animation-timing-medium) ease, box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:0.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-color-text-3)}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-color-brand)}.thumb:focus .handle{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 )}.thumb:focus .handle-extension{background-color:var(--calcite-color-brand)}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1), var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset:-0.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset:50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset:-2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:0.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:0.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset:-2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset:-2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset:-3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-color-brand);box-shadow:0 0 8px 0 rgba(0, 0, 0, 0.16)}.thumb:hover.thumb--precise::after,.thumb:focus.thumb--precise::after,.thumb--active.thumb--precise::after{background-color:var(--calcite-color-brand)}.track{position:relative;block-size:0.125rem;border-radius:0px;background-color:var(--calcite-color-border-2);transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:0.125rem;background-color:var(--calcite-color-brand)}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range::after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * 0.5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:0.25rem;inline-size:0.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-color-border-input);border-color:var(--calcite-color-foreground-1);inset-block-start:-2px;pointer-events:none;margin-inline-start:calc(-1 * 0.125rem)}.tick--active{background-color:var(--calcite-color-brand)}.tick__label{pointer-events:none;margin-block-start:0.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-color-foreground-3);block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(0.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * 0.5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}::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{D as calcite_graph,K as calcite_slider}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{h as t,r as e,c as i,H as s,d as n,g as a}from"./p-6eb37ed2.js";import{h as o,d as r}from"./p-8817162f.js";import{c}from"./p-3832f6b0.js";import{g as l}from"./p-c6296ee6.js";import{c as h,d as p}from"./p-32539121.js";import{c as d,s as m,d as f,u as b}from"./p-2866ef30.js";import"./p-3edf491f.js";import"./p-416c0818.js";import"./p-b51111e1.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
+
* v2.12.1
|
11
|
+
*/const g="action-icon",u="action-container",y="step-bar-container",v="single-view",z="step-bar",k="step-bar--active",x="step-bar--complete",S="step-bar--disabled",C="step-bar--error",w="step-bar--inactive",I=({disabled:e,active:i,complete:s,error:n,key:a})=>t("svg",{class:{[z]:!0},key:a},t("rect",{class:{[k]:i,[x]:s,[S]:e,[C]:n,[w]:!0},width:"100%",x:"0",y:"0"})),P=class{constructor(t){e(this,t),this.calciteStepperChange=i(this,"calciteStepperChange",6),this.calciteStepperItemChange=i(this,"calciteStepperItemChange",6),this.calciteInternalStepperItemChange=i(this,"calciteInternalStepperItemChange",6),this.enabledItems=[],this.itemMap=new Map,this.items=[],this.mutationObserver=c("mutation",(()=>this.updateItems())),this.multipleViewMode=!1,this.guid=`calcite-stepper-action-${l()}`,this.handleActionClick=t=>{const e=this.currentActivePosition;"start"===t.target.getAttribute("data-position")?this.prevStep():this.nextStep(),"number"!=typeof this.currentActivePosition||e===this.currentActivePosition||this.items[this.currentActivePosition].disabled||this.emitItemSelect()},this.setContainerEl=t=>{this.containerEl=t},this.handleDefaultSlotChange=t=>{const e=o(t).filter((t=>"CALCITE-STEPPER-ITEM"===t?.tagName));this.items=e;const i=Array(e.length).fill("1fr").join(" ");this.containerEl.style.gridTemplateAreas=i,this.containerEl.style.gridTemplateColumns=i,this.setStepperItemNumberingSystem()},this.icon=!1,this.layout="horizontal",this.numbered=!1,this.scale="m",this.messages=void 0,this.numberingSystem=void 0,this.selectedItem=null,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.currentActivePosition=void 0}handleItemPropChange(){this.updateItems(),this.determineActiveStepper()}numberingSystemChange(){this.setStepperItemNumberingSystem()}onMessagesChange(){}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0}),this.updateItems(),d(this),h(this)}async componentWillLoad(){await m(this)}componentDidLoad(){if("number"!=typeof this.currentActivePosition){const t=this.getFirstEnabledStepperPosition();0===t&&(this.currentActivePosition=t),this.calciteInternalStepperItemChange.emit({position:t})}}disconnectedCallback(){f(this),p(this),this.mutationObserver?.disconnect()}render(){return t(s,{key:"bd7571b5c3af662f4a2bde52e9742e2328fc7c8f","aria-label":this.messages.label,role:"region"},t("div",{key:"9e1d066b9f3ec7fa1df9f55e6e742d0c26cd4ec2",class:{container:!0,[v]:"horizontal-single"===this.layout},ref:this.setContainerEl},"horizontal-single"===this.layout&&t("div",{key:"49ccb52be5e2c1c747cbe634d3049fc5677ac7c2",class:{[y]:!0}},this.items.map(((e,i)=>t(I,{active:i===this.currentActivePosition,complete:e.complete&&i!==this.currentActivePosition&&!e.error,disabled:e.disabled&&i!==this.currentActivePosition,error:e.error&&i!==this.currentActivePosition,key:i})))),"horizontal-single"===this.layout&&t("div",{key:"d771370bda9cfc17412208ea9de36c52f9c9fabd",class:{[u]:!0}},this.renderAction("start"),this.renderAction("end")),t("slot",{key:"8c9f00eda6193622c72943bc459b8e3adf69fe77",onSlotchange:this.handleDefaultSlotChange})))}calciteInternalStepperItemKeyEvent(t){const e=t.target;switch(t.detail.item.key){case"ArrowDown":case"ArrowRight":r(this.enabledItems,e,"next");break;case"ArrowUp":case"ArrowLeft":r(this.enabledItems,e,"previous");break;case"Home":r(this.enabledItems,e,"first");break;case"End":r(this.enabledItems,e,"last")}t.stopPropagation()}registerItem(t){const e=t.target,{content:i,position:s}=t.detail;this.itemMap.set(e,{position:s,content:i}),this.enabledItems=this.filterItems(),t.stopPropagation()}updateItem(t){const{position:e}=t.detail;"number"==typeof e&&(this.currentActivePosition=e,this.selectedItem=t.target),this.calciteInternalStepperItemChange.emit({position:e})}handleItemSelect(){this.emitItemSelect()}async nextStep(){const t=this.getEnabledStepIndex(this.currentActivePosition+1,"next");"number"==typeof t&&this.updateStep(t)}async prevStep(){const t=this.getEnabledStepIndex(this.currentActivePosition-1,"previous");"number"==typeof t&&this.updateStep(t)}async goToStep(t){const e=t-1;this.currentActivePosition!==e&&this.updateStep(e)}async startStep(){const t=this.getEnabledStepIndex(0,"next");"number"==typeof t&&this.updateStep(t)}async endStep(){const t=this.getEnabledStepIndex(this.items.length-1,"previous");"number"==typeof t&&this.updateStep(t)}effectiveLocaleChange(){b(this,this.effectiveLocale)}handlePositionChange(){n((()=>{this.determineActiveStepper()}))}emitItemSelect(){this.calciteStepperItemChange.emit(),this.calciteStepperChange.emit()}updateItems(){this.el.querySelectorAll("calcite-stepper-item").forEach((t=>{t.icon=this.icon,t.numbered=this.numbered,t.layout=this.layout,t.scale=this.scale}))}determineActiveStepper(){const{items:t}=this;if(t.length<2)return;const{currentActivePosition:e,layout:i}=this;this.multipleViewMode="horizontal-single"!==i,t.forEach(((t,s)=>{t.hidden="horizontal-single"===i&&s!==(e||0)}))}getEnabledStepIndex(t,e="next"){const{items:i,currentActivePosition:s}=this;let n=t;for(;i[n]?.disabled&&"horizontal-single"!==this.layout;)n+="previous"===e?-1:1;return n!==s&&n<i.length&&n>=0?n:null}updateStep(t){this.currentActivePosition=t,this.calciteInternalStepperItemChange.emit({position:t})}filterItems(){return this.items.filter((t=>!t.disabled))}setStepperItemNumberingSystem(){this.items.forEach((t=>{t.numberingSystem=this.numberingSystem}))}renderAction(e){const i="start"===e,s=i?"chevron-left":"chevron-right",{currentActivePosition:n,multipleViewMode:a,layout:o}=this,r=this.items.length,c=`${this.guid}-${i?"start":"end"}`;return"horizontal-single"!==o||a?null:t("calcite-action",{alignment:"center",appearance:"transparent",class:{[g]:!0},compact:!0,"data-position":e,disabled:0===n&&i||n===r-1&&!i,icon:s,iconFlipRtl:!0,id:c,onClick:this.handleActionClick,scale:this.scale,text:i?this.messages.previousStep:this.messages.nextStep})}getFirstEnabledStepperPosition(){const t=this.items.findIndex((t=>!t.disabled));return t>-1?t:0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{icon:["handleItemPropChange"],layout:["handleItemPropChange"],numbered:["handleItemPropChange"],scale:["handleItemPropChange"],numberingSystem:["numberingSystemChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],currentActivePosition:["handlePositionChange"]}}};
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
+
* v2.12.1
|
16
|
+
*/P.style=':host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s:0.25rem;--calcite-internal-stepper-action-block-size:2.75rem;--calcite-internal-stepper-action-inline-size:2rem;--calcite-internal-step-bar-gap:0.25rem}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s:0.5rem;--calcite-internal-stepper-action-block-size:3.25rem;--calcite-internal-stepper-action-inline-size:2.5rem}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s:0.75rem;--calcite-internal-stepper-action-block-size:4rem;--calcite-internal-stepper-action-inline-size:3rem;--calcite-internal-step-bar-gap:0.75rem}:host{display:flex}.container{position:relative;display:flex;inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content;flex-direction:row;flex-wrap:wrap;align-items:stretch;justify-content:space-between}:host([layout=vertical]) .container{flex:1 1 auto;flex-direction:column}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:grid;grid-template-areas:"items" "content";gap:0.5rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=s]) .container,:host([layout=horizontal-single][scale=s]) .container{gap:0.25rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .container,:host([layout=horizontal-single][scale=l]) .container{gap:0.75rem var(--calcite-internal-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .container.single-view{display:flex;grid-template-columns:none}.action-icon{position:relative;display:flex;flex-grow:0;block-size:var(--calcite-internal-stepper-action-block-size);inline-size:var(--calcite-internal-stepper-action-inline-size)}.action-container{position:absolute;display:flex;justify-content:space-between;padding-block:0.25rem;inline-size:100%}.step-bar{display:flex;block-size:100%;inline-size:100%}.step-bar-container{position:absolute;display:flex;align-items:flex-start;justify-content:space-between;block-size:0.125rem;inline-size:100%;gap:var(--calcite-internal-step-bar-gap, 0.5rem)}.step-bar--inactive{fill:var(--calcite-color-border-3, #dfdfdf);fill-opacity:1;block-size:100%}.step-bar--active{fill:var(--calcite-color-brand)}.step-bar--complete{fill:var(--calcite-color-brand);fill-opacity:0.5}.step-bar--error{fill:var(--calcite-color-status-danger)}.step-bar--disabled{opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}';export{P as calcite_stepper}
|
@@ -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 o}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 e={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(o){return o+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};o.locale(e,null,!0);export{e as default}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{r as a,c as t,h as n,H as s,F as e,g as i}from"./p-6eb37ed2.js";import{g as r,a as l,s as o,E as c,b as p,l as g,c as u}from"./p-41c34a67.js";import{l as d}from"./p-4cd4cb85.js";import{c as h}from"./p-3d0e9be4.js";import{g as v,f as m,L as _}from"./p-7eb5d31a.js";import"./p-720a12c0.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-ac122d9e.js";const b="instant-apps-language-translator",f={BASE:b,header:`${b}__header`,headerText:`${b}__header-text`,savingIndicator:`${b}__saving-indicator`,closeButton:`${b}__close-button`,headerTip:`${b}__header-tip`,topBar:`${b}__top-bar`,topBarSection:`${b}__top-bar-section`,collapseSearchContainer:`${b}__collapse-search-container`,userLangText:`${b}__user-lang-text`,lastItem:`${b}--last-item`,writingIcon:`${b}__writing-icon`},x=class{constructor(n){a(this,n),this.translatorDataUpdated=t(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}async componentDidLoad(){this.initialize()}async initialize(){const[a,t]=await d(["esri/intl","esri/request"]);this.intl=a,this.request=t,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{const{el:a}=this,t=await r(a);return this.messages=t,Promise.resolve()}catch(a){return Promise.reject()}}initUIData(){const{appSettings:a,locales:t}=this,n=l(a,t);o.set("uiData",n)}initSelectLanguage(){var a,t;if(!this.intl)return;const{locales:n}=this,s=null!==(t=null===(a=null==n?void 0:n[0])||void 0===a?void 0:a.locale)&&void 0!==t?t:this.intl.getLocale(),e=o.get("currentLanguage");0===this.locales.filter((a=>a.locale===e)).length&&o.set("currentLanguage",s)}async initPortalItemResourceT9nData(){try{const a=await v(this.portalItem);o.set("portalItemResource",a);const t=await m(this.request,a);o.set("portalItemResourceT9n",null!=t?t:{})}catch(a){}}render(){return n(s,{key:"2c017345058f822812f4f26d7360e40fa8a4cab1"},this.renderModal(),this.renderPopoverTip())}renderModal(){return n("calcite-modal",{open:this.open,scale:"l",fullscreen:!0,onCalciteModalClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryButton())}renderPopoverTip(){var a;return n("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},n("div",{class:f.headerTip},null===(a=this.messages)||void 0===a?void 0:a.headerTip))}renderHeader(){const a=o.get("saving");return n("header",{class:f.header,slot:"header"},this.renderHeaderText(),a?this.renderSavingIndicator():null)}renderHeaderText(){const{messages:a}=this;return n("div",{class:f.headerText},n("span",null,null==a?void 0:a.header),n("calcite-button",{id:"headerTip",appearance:"transparent"},n("calcite-icon",{icon:c.Popover,scale:"s"})))}renderSavingIndicator(){var a;const t=o.get("saving"),s=null===(a=this.messages)||void 0===a?void 0:a.saving;return n("div",{class:f.savingIndicator},t?n("calcite-loader",{label:s,inline:!0}):null,n("span",null,s))}renderContent(){const a=p(this.locales);return n("div",{slot:"content"},this.renderTopBar(),(null==a?void 0:a.length)>0?this.renderUIData():this.renderNotice())}renderTopBar(){return n("div",{class:f.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return n("div",{class:f.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.languages,s=h();return n("div",{class:f.userLangText},null==t?void 0:t[s])}renderCollapseSearchContainer(){return n("div",{class:f.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){const{isCollapse:a,messages:t}=this,s=a?null==t?void 0:t.collapseAll:null==t?void 0:t.expandAll;return n(e,null,n("slot",{name:"primary-custom-action"}),n("slot",{name:"secondary-custom-action"}),n("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":c.ExpandCollapse},s))}renderSearch(){var a;return n("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:null===(a=this.messages)||void 0===a?void 0:a.searchPlaceholder})}renderTrailingTopBarSection(){return n("div",{class:f.topBarSection},this.renderLanguageSelection(),n("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){var a;return n("calcite-label",{layout:"inline"},null===(a=this.messages)||void 0===a?void 0:a.translatedLanguage,n("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){const a=o.get("uiData"),t=null==a?void 0:a.get("locales"),s=p(t),e=Object.keys(_.partial);return null==s?void 0:s.map((a=>{const t=-1!==e.indexOf(a),s=_[t?"partial":"full"],{language:i,translated:r}=s[a];return n("calcite-option",{key:`translated-lang-option-${a}`,value:a},`${i} - ${r}`)}))}renderUIData(){if(!(null==g?void 0:g.uiData))return;const a=u();return n("div",null,null==a?void 0:a.map(((t,n)=>this.renderUIDataItem(t,n,a.length))))}renderNotice(){var a;const t=null===(a=this.messages)||void 0===a?void 0:a.noLanguage;return n("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},n("div",{slot:"title"},null==t?void 0:t.title),n("div",{slot:"message"},null==t?void 0:t.message))}renderUIDataItem(a,t,s){var e,i;const r=null===(i=null===(e=this.appSettings)||void 0===e?void 0:e.translatedLanguageLabels)||void 0===i?void 0:i[g.currentLanguage],l=`${t===s-1?f.lastItem:""}`,o=this.appSettings.content.filter((t=>t.id===a))[0];return n("instant-apps-language-translator-item",{key:`${a}-${t}`,class:l,fieldName:a,translatedLanguageLabels:r,setting:o,userLocaleInputOnChangeCallback:this.userLocaleInputOnChangeCallback,translatedLocaleInputOnChangeCallback:this.translatedLocaleInputOnChangeCallback})}renderPrimaryButton(){var a;return n("calcite-button",{onClick:()=>this.open=!1,slot:"primary",class:f.closeButton},null===(a=this.messages)||void 0===a?void 0:a.close)}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;const a=new Map(g.uiData);u().forEach((t=>a.get(t).expanded=this.isCollapse)),o.set("uiData",a)}onSuggestionSelect(a){const t=a.detail,n=new Map(g.uiData);u().forEach((a=>{n.get(a).selected=a===t})),o.set("uiData",n)}close(){this.open=!1}handleLanguageSelection(a){o.set("currentLanguage",a.target.value)}async getTranslationData(){return o.get("portalItemResourceT9n")}async setTranslationData(a){return o.set("portalItemResourceT9n",a)}async getPortalItemResource(){return o.get("portalItemResource")}async batchWriteToPortalItemResource(a){o.set("saving",!0);try{const t=await this.getPortalItemResource(),n=JSON.stringify(a),s=new Blob([n],{type:"application/json"});return await t.update(s),setTimeout((()=>o.set("saving",!1)),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),o.set("saving",!1),Promise.reject()}}get el(){return i(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};x.style=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:0;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}";export{x as instant_apps_language_translator}
|
@@ -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 a}from"./p-6eb37ed2.js";import{a as s,t as n}from"./p-8817162f.js";import{c as o,d as c}from"./p-32539121.js";import{c as r}from"./p-3832f6b0.js";import{u as l,c as h,s as d,d as p}from"./p-2866ef30.js";import{H as g}from"./p-54713c54.js";import{l as m}from"./p-85002390.js";import"./p-c6296ee6.js";import"./p-3edf491f.js";import"./p-b51111e1.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 f="tip-container",v="tip-container--advancing",x="tip-container--retreating",u="chevron-left",b="chevron-right";m.deprecated("component",{name:"tip-manager",removalVersion:4,suggested:"carousel"});const y=class{constructor(i){t(this,i),this.calciteTipManagerClose=e(this,"calciteTipManagerClose",6),this.mutationObserver=r("mutation",(()=>this.setUpTips())),this.hideTipManager=()=>{this.closed=!0,this.calciteTipManagerClose.emit()},this.previousClicked=()=>{this.previousTip()},this.nextClicked=()=>{this.nextTip()},this.tipManagerKeyDownHandler=t=>{if(t.target===this.container)switch(t.key){case"ArrowRight":t.preventDefault(),this.nextTip();break;case"ArrowLeft":t.preventDefault(),this.previousTip();break;case"Home":t.preventDefault(),this.selectedIndex=0;break;case"End":t.preventDefault(),this.selectedIndex=this.total-1}},this.storeContainerRef=t=>{this.container=t},this.closed=!1,this.headingLevel=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedIndex=void 0,this.tips=void 0,this.total=void 0,this.direction=void 0,this.groupTitle=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}closedChangeHandler(){this.direction=null}onMessagesChange(){}selectedChangeHandler(){this.showSelectedTip(),this.updateGroupTitle()}async effectiveLocaleChange(){await l(this,this.effectiveLocale),this.updateGroupTitle()}connectedCallback(){o(this),h(this),this.setUpTips(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){await d(this),this.updateGroupTitle()}disconnectedCallback(){this.mutationObserver?.disconnect(),c(this),p(this)}async nextTip(){this.direction="advancing",this.selectedIndex=(this.selectedIndex+1+this.total)%this.total}async previousTip(){this.direction="retreating",this.selectedIndex=(this.selectedIndex-1+this.total)%this.total}setUpTips(){const t=Array.from(this.el.querySelectorAll("calcite-tip"));if(this.total=t.length,0===this.total)return;const e=this.el.querySelector("calcite-tip[selected]");this.tips=t,this.selectedIndex=e?t.indexOf(e):0,t.forEach((t=>{t.closeDisabled=!0})),this.showSelectedTip()}showSelectedTip(){this.tips.forEach(((t,e)=>{const i=this.selectedIndex===e;t.selected=i,t.hidden=!i}))}updateGroupTitle(){if(this.tips){const t=this.tips[this.selectedIndex].closest("calcite-tip-group");this.groupTitle=t?.groupTitle||this.messages?.defaultGroupTitle}}renderPagination(){const t=s(this.el),{selectedIndex:e,tips:a,total:n,messages:o}=this,c=o.next,r=o.defaultPaginationLabel;return a.length>1?i("footer",{class:"pagination"},i("calcite-action",{class:"page-previous",icon:"ltr"===t?u:b,onClick:this.previousClicked,scale:"m",text:o.previous}),i("span",{class:"page-position"},`${r} ${e+1}/${n}`),i("calcite-action",{class:"page-next",icon:"ltr"===t?b:u,onClick:this.nextClicked,scale:"m",text:c})):null}render(){const{closed:t,direction:e,headingLevel:a,groupTitle:s,selectedIndex:o,messages:c,total:r}=this,l=c.close;return 0===r?null:i("section",{"aria-hidden":n(t),class:"container",hidden:t,onKeyDown:this.tipManagerKeyDownHandler,ref:this.storeContainerRef,tabIndex:0},i("header",{class:"header"},i(g,{class:"heading",level:a},s),i("calcite-action",{class:"close",onClick:this.hideTipManager,scale:"m",text:l},i("calcite-icon",{icon:"x",scale:"m"}))),i("div",{class:{[f]:!0,[v]:!t&&"advancing"===e,[x]:!t&&"retreating"===e},key:o,tabIndex:0},i("slot",null)),this.renderPagination())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{closed:["closedChangeHandler"],messageOverrides:["onMessagesChange"],selectedIndex:["selectedChangeHandler"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2);--calcite-tip-manager-height:19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;padding-inline-end:0px;padding-inline-start:1rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.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 )}.tip-container{margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:1rem;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-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 )}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_tip_manager}
|