@esri/solutions-components 0.10.48 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ExpandToggle-44886935.js +115 -0
- package/dist/cjs/FloatingArrow-d7ea2b0f.js +48 -0
- package/dist/cjs/Heading-ee0aa171.js +25 -0
- package/dist/cjs/IdentityManager-d84c82f1.js +2047 -0
- package/dist/cjs/Validation-9515ef0c.js +20 -0
- package/dist/cjs/app-globals-03a6ab9b.js +67 -0
- package/dist/cjs/ar-180cd9b0.js +106 -0
- package/dist/cjs/asyncToGenerator-c7fc3ee4.js +92 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +37 -12
- package/dist/cjs/bg-fd095c86.js +84 -0
- package/dist/cjs/browser-717f77af.js +35 -0
- package/dist/cjs/bs-11fa6f0d.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +6 -6
- package/dist/cjs/ca-0685b1cc.js +73 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert_2.cjs.entry.js +500 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_5.cjs.entry.js +17 -17
- package/dist/cjs/calcite-button-de2c2e75.js +282 -0
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +66 -20
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-dialog-a5c288bb.js +5876 -0
- package/dist/cjs/calcite-dialog.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
- package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow-item_5.cjs.entry.js +1752 -0
- package/dist/cjs/calcite-flow_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-graph_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-icon_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-945ec162.js +1001 -0
- package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker-3aeef2d4.js +1870 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-label-e7b67a86.js +111 -0
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +4 -4
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-menu-item.cjs.entry.js +6 -6
- package/dist/cjs/calcite-menu.cjs.entry.js +6 -6
- package/dist/cjs/calcite-meter.cjs.entry.js +6 -6
- package/dist/cjs/calcite-modal_4.cjs.entry.js +972 -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 +3 -3
- package/dist/cjs/calcite-notice-a48cc9e7.js +261 -0
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -5
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +24 -24
- package/dist/cjs/calcite-shell.cjs.entry.js +4 -4
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-stepper.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-table-row.cjs.entry.js +2 -2
- package/dist/cjs/calcite-table.cjs.entry.js +6 -6
- package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
- package/dist/cjs/calcite-time-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -5
- package/dist/cjs/card-manager_3.cjs.entry.js +194 -51
- package/dist/cjs/common-10d11a29.js +37 -0
- package/dist/cjs/component-69260f95.js +1073 -0
- package/dist/cjs/conditionalSlot-130cce71.js +54 -0
- package/dist/cjs/config-c999f8fc.js +40 -0
- package/dist/cjs/consent-manager.cjs.entry.js +7914 -45
- package/dist/cjs/crowdsource-manager.cjs.entry.js +6 -6
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
- package/dist/cjs/cs-70e8ba01.js +149 -0
- package/dist/cjs/da-e8eb9ff4.js +69 -0
- package/dist/cjs/date-40a80298.js +264 -0
- package/dist/cjs/de-4b8310d2.js +93 -0
- package/dist/cjs/de-at-dc8ed8c3.js +92 -0
- package/dist/cjs/de-ch-c5971940.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-b6490537.js +3223 -0
- package/dist/cjs/el-a70d9f12.js +68 -0
- package/dist/cjs/en-au-88ddb80f.js +68 -0
- package/dist/cjs/en-ca-5a29b95b.js +67 -0
- package/dist/cjs/en-gb-3c763a84.js +71 -0
- package/dist/cjs/es-e83e8ff5.js +68 -0
- package/dist/cjs/es-mx-2ea879ef.js +67 -0
- package/dist/cjs/et-7b00c80d.js +94 -0
- package/dist/cjs/feature-list.cjs.entry.js +12 -10
- package/dist/cjs/fi-92ca007b.js +117 -0
- package/dist/cjs/floating-ui-7fa9e006.js +2413 -0
- package/dist/cjs/focusTrapComponent-a7cfa6da.js +1013 -0
- package/dist/cjs/form-dd5380da.js +370 -0
- package/dist/cjs/form-f2a43327.js +381 -0
- package/dist/cjs/fr-a1f5dfd4.js +70 -0
- package/dist/cjs/fr-ch-8a4a9d67.js +68 -0
- package/dist/cjs/he-38b2b883.js +107 -0
- package/dist/cjs/helpers-47465fc2.js +940 -0
- package/dist/cjs/hi-a517b1a8.js +67 -0
- package/dist/cjs/hr-c1e34de1.js +82 -0
- package/dist/cjs/hu-e46e8ae7.js +90 -0
- package/dist/cjs/icon-f45e7fbb.js +979 -0
- package/dist/cjs/id-bfc376d8.js +68 -0
- package/dist/cjs/index-1ab17699.js +201 -0
- package/dist/cjs/index-3bae5121.js +1789 -0
- package/dist/cjs/index-5d8d6ae2.js +2157 -0
- package/dist/cjs/index.es-5fc7bebc.js +11221 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +16 -20
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +13 -13
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -59
- package/dist/cjs/interactive-b59e6294.js +86 -0
- package/dist/cjs/interactive-e1c3ccf2.js +85 -0
- package/dist/cjs/it-6d8c8360.js +68 -0
- package/dist/cjs/it-ch-2b05812c.js +68 -0
- package/dist/cjs/ja-eb46f963.js +74 -0
- package/dist/cjs/ko-dbe28d19.js +74 -0
- package/dist/cjs/label-7f519bd9.js +186 -0
- package/dist/cjs/languageSwitcher-bca9ab2c.js +52 -0
- package/dist/cjs/loadable-19ab5827.js +98 -0
- package/dist/cjs/loader-97bb6b45.js +176 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-3a817e03.js +1488 -0
- package/dist/cjs/locale-80aff4b9.js +605 -0
- package/dist/cjs/locale-a79da367.js +160 -0
- package/dist/cjs/logger-780b61e8.js +61 -0
- package/dist/cjs/lt-651bfa9c.js +99 -0
- package/dist/cjs/lv-f6fe37a3.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +15 -13
- package/dist/cjs/mk-1f0ffdf6.js +68 -0
- package/dist/cjs/nb-8b7b39ed.js +69 -0
- package/dist/cjs/nl-27515721.js +69 -0
- package/dist/cjs/observers-902ebe13.js +58 -0
- package/dist/cjs/openCloseComponent-039ee139.js +65 -0
- package/dist/cjs/openCloseComponent-e8e50700.js +66 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
- package/dist/cjs/pl-d2098514.js +116 -0
- package/dist/cjs/popupUtils-72d48968.js +121 -0
- package/dist/cjs/pt-a3304010.js +69 -0
- package/dist/cjs/pt-br-09d60ba8.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +12 -10
- package/dist/cjs/publicNotificationStore-04b6837d.js +47 -0
- package/dist/cjs/request-19fdbaaa.js +21 -0
- package/dist/cjs/restHelpersGet-e4639890.js +507 -0
- package/dist/cjs/ro-2ea54b1c.js +68 -0
- package/dist/cjs/ru-f94ee202.js +128 -0
- package/dist/cjs/shared-list-render-fb08b2af.js +361 -0
- package/dist/cjs/sk-3cdf67d8.js +150 -0
- package/dist/cjs/sl-075daf42.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +53 -53
- package/dist/cjs/solution-contents_3.cjs.entry.js +11 -11
- package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
- package/dist/cjs/solution-item-icon.cjs.entry.js +2 -2
- package/dist/cjs/solution-resource-d0a2f7fe.js +1845 -0
- package/dist/cjs/solution-store-4e602251.js +1105 -0
- package/dist/cjs/solutions-components.cjs.js +6 -6
- package/dist/cjs/spatial-ref.cjs.entry.js +5 -6
- package/dist/cjs/sr-2f08967b.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +7 -7
- package/dist/cjs/sv-65f0e21c.js +73 -0
- package/dist/cjs/t9n-0195f685.js +108 -0
- package/dist/cjs/templates-1e84847a.js +407 -0
- package/dist/cjs/th-db63e592.js +67 -0
- package/dist/cjs/time-caa0abbe.js +301 -0
- package/dist/cjs/tr-b6401cac.js +68 -0
- package/dist/cjs/typeof-2a7e2dec.js +28 -0
- package/dist/cjs/uk-d00c351d.js +106 -0
- package/dist/cjs/update-243ea407.js +783 -0
- package/dist/cjs/utils-7eb34f90.js +153 -0
- package/dist/cjs/utils-d2bcba4f.js +79 -0
- package/dist/cjs/vi-efe4ad72.js +72 -0
- package/dist/cjs/zh-cn-63f07390.js +96 -0
- package/dist/cjs/zh-hk-84a86ab9.js +94 -0
- package/dist/cjs/zh-tw-894f1adf.js +94 -0
- package/dist/collection/assets/t9n/consent-manager/resources.json +3 -10
- package/dist/collection/assets/t9n/consent-manager/resources_en.json +3 -10
- package/dist/collection/collection-manifest.json +2 -4
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
- package/dist/collection/components/card-manager/card-manager.js +1 -1
- package/dist/collection/components/consent-manager/consent-manager.js +113 -37
- package/dist/collection/components/create-feature/create-feature.js +2 -2
- package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -3
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +2 -2
- package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +26 -2
- package/dist/collection/components/feature-details/feature-details.js +6 -6
- package/dist/collection/components/feature-list/feature-list.js +3 -3
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +224 -47
- package/dist/collection/components/map-card/map-card.js +2 -2
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +121 -5
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +53 -4
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +3 -3
- package/dist/collection/components/map-tools/map-tools.js +2 -2
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +2 -2
- package/dist/collection/components/refine-selection/refine-selection.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-accordion/solution-item-accordion.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/consent-manager.html +56 -0
- package/dist/collection/utils/interfaces.ts +14 -0
- package/dist/components/IdentityManager.js +339 -0
- package/dist/components/asyncToGenerator.js +88 -0
- package/dist/components/basemap-gallery2.js +1 -1
- package/dist/components/buffer-tools2.js +1 -1
- package/dist/components/calcite-button2.js +273 -0
- package/dist/components/calcite-dialog.js +1 -663
- package/dist/components/calcite-dialog2.js +5867 -0
- package/dist/components/calcite-input2.js +992 -0
- package/dist/components/calcite-label2.js +100 -0
- package/dist/components/calcite-notice2.js +251 -0
- package/dist/components/card-manager2.js +10 -10
- package/dist/components/common.js +0 -1
- package/dist/components/component2.js +1048 -0
- package/dist/components/consent-manager.js +8053 -203
- package/dist/components/create-feature2.js +2 -2
- package/dist/components/create-related-feature2.js +1 -1
- package/dist/components/crowdsource-manager.js +37 -37
- package/dist/components/crowdsource-reporter.js +28 -28
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +29 -11
- package/dist/components/delete-dialog2.js +33 -9
- package/dist/components/dialog.js +670 -0
- package/dist/components/downloadUtils.js +10 -26
- package/dist/components/edit-card2.js +7 -2
- package/dist/components/feature-details2.js +23 -23
- package/dist/components/feature-list2.js +3 -3
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/form2.js +362 -0
- package/dist/components/icon2.js +960 -0
- package/dist/components/index.es.js +25 -104
- package/dist/components/index2.js +6 -5
- package/dist/components/info-card2.js +9 -9
- package/dist/components/instant-apps-language-switcher.js +6 -10
- package/dist/components/instant-apps-language-translator2.js +2 -809
- package/dist/components/instant-apps-time-filter.js +3 -57
- package/dist/components/interactive2.js +83 -0
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/label3.js +179 -0
- package/dist/components/layer-table2.js +212 -69
- package/dist/components/loader2.js +173 -0
- package/dist/components/locale3.js +1311 -3
- package/dist/components/map-card2.js +2 -2
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +53 -5
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +28 -3
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +3 -3
- package/dist/components/map-tools2.js +2 -2
- package/dist/components/openCloseComponent2.js +64 -0
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +2 -2
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/request.js +14 -0
- package/dist/components/restHelpersGet.js +74 -557
- package/dist/components/solution-configuration.js +27 -28
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.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 -2
- package/dist/components/solution-resource.js +1701 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +36 -285
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/components/templates.js +0 -1
- package/dist/components/typeof.js +25 -0
- package/dist/components/update.js +773 -0
- package/dist/esm/ExpandToggle-324f556e.js +108 -0
- package/dist/esm/FloatingArrow-cd37b366.js +46 -0
- package/dist/esm/Heading-b6b7a8a6.js +22 -0
- package/dist/esm/IdentityManager-6880e890.js +2012 -0
- package/dist/esm/Validation-b62abebe.js +18 -0
- package/dist/esm/app-globals-b6ef4076.js +65 -0
- package/dist/esm/ar-aa347a04.js +104 -0
- package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
- package/dist/esm/basemap-gallery_7.entry.js +37 -12
- package/dist/esm/bg-b56e89f6.js +82 -0
- package/dist/esm/browser-e42b9848.js +32 -0
- package/dist/esm/bs-62486009.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +7 -7
- package/dist/esm/ca-db6a81f3.js +71 -0
- package/dist/esm/calcite-accordion_2.entry.js +6 -6
- package/dist/esm/calcite-action-bar.entry.js +9 -9
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu_2.entry.js +10 -10
- package/dist/esm/calcite-action-pad_2.entry.js +9 -9
- package/dist/esm/calcite-action_2.entry.js +14 -14
- package/dist/esm/calcite-alert_2.entry.js +495 -0
- package/dist/esm/calcite-avatar.entry.js +2 -2
- package/dist/esm/calcite-block-section.entry.js +7 -7
- package/dist/esm/calcite-block_5.entry.js +19 -19
- package/dist/esm/calcite-button-e86d99b3.js +279 -0
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card-group.entry.js +5 -5
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-carousel_2.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip-group.entry.js +5 -5
- package/dist/esm/calcite-chip_2.entry.js +10 -10
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +4 -4
- package/dist/esm/calcite-color-picker.entry.js +8 -8
- package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
- package/dist/esm/calcite-combobox_3.entry.js +68 -22
- package/dist/esm/calcite-date-picker-day_3.entry.js +9 -9
- package/dist/esm/calcite-dialog-f5f9cfea.js +5873 -0
- package/dist/esm/calcite-dialog.entry.js +10 -10
- package/dist/esm/calcite-dropdown_2.entry.js +8 -8
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter_5.entry.js +8 -8
- package/dist/esm/calcite-flow-item_5.entry.js +1744 -0
- package/dist/esm/calcite-flow_4.entry.js +12 -12
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-icon_2.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-1f12bce0.js +998 -0
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-text.entry.js +11 -11
- package/dist/esm/calcite-input-time-picker-07db9ed7.js +1867 -0
- package/dist/esm/calcite-input-time-picker.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +10 -10
- package/dist/esm/calcite-input_2.entry.js +11 -11
- package/dist/esm/calcite-label-d80f6f1c.js +108 -0
- package/dist/esm/calcite-label.entry.js +3 -3
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list-item-group.entry.js +2 -2
- package/dist/esm/calcite-menu-item.entry.js +7 -7
- package/dist/esm/calcite-menu.entry.js +7 -7
- package/dist/esm/calcite-meter.entry.js +7 -7
- package/dist/esm/calcite-modal_4.entry.js +965 -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 +4 -4
- package/dist/esm/calcite-notice-acc12411.js +258 -0
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +7 -7
- package/dist/esm/calcite-pick-list-group.entry.js +8 -8
- package/dist/esm/calcite-pick-list-item.entry.js +11 -11
- package/dist/esm/calcite-pick-list.entry.js +9 -9
- package/dist/esm/calcite-radio-button-group.entry.js +6 -6
- package/dist/esm/calcite-radio-button.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +6 -6
- package/dist/esm/calcite-segmented-control_2.entry.js +8 -8
- package/dist/esm/calcite-sheet.entry.js +8 -8
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +25 -25
- package/dist/esm/calcite-shell.entry.js +5 -5
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +8 -8
- package/dist/esm/calcite-stepper.entry.js +6 -6
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-table-cell_2.entry.js +8 -8
- package/dist/esm/calcite-table-row.entry.js +3 -3
- package/dist/esm/calcite-table.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +11 -11
- package/dist/esm/calcite-tile-group.entry.js +5 -5
- package/dist/esm/calcite-tile-select-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +5 -5
- package/dist/esm/calcite-time-picker.entry.js +8 -8
- package/dist/esm/calcite-tip-group.entry.js +3 -3
- package/dist/esm/calcite-tip-manager.entry.js +9 -9
- package/dist/esm/calcite-tip.entry.js +10 -10
- package/dist/esm/calcite-tooltip.entry.js +6 -6
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/card-manager_3.entry.js +194 -51
- package/dist/esm/common-c8dc0e85.js +35 -0
- package/dist/esm/component-85f22c99.js +1048 -0
- package/dist/esm/conditionalSlot-2e16b206.js +51 -0
- package/dist/esm/config-e6645458.js +36 -0
- package/dist/esm/consent-manager.entry.js +7910 -41
- package/dist/esm/crowdsource-manager.entry.js +6 -6
- package/dist/esm/crowdsource-reporter.entry.js +3 -3
- package/dist/esm/cs-250e21c6.js +147 -0
- package/dist/esm/da-bab8eb4e.js +67 -0
- package/dist/esm/date-272939fd.js +248 -0
- package/dist/esm/de-808a43dc.js +91 -0
- package/dist/esm/de-at-9c396c81.js +90 -0
- package/dist/esm/de-ch-415303cf.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +2 -2
- package/dist/esm/dom-66c5cd46.js +1165 -0
- package/dist/esm/downloadUtils-8ba094d7.js +3217 -0
- package/dist/esm/el-3d1eaeb8.js +66 -0
- package/dist/esm/en-au-e6b00a93.js +66 -0
- package/dist/esm/en-ca-29b94ea2.js +65 -0
- package/dist/esm/en-gb-09267176.js +69 -0
- package/dist/esm/es-95fef748.js +66 -0
- package/dist/esm/es-mx-9b70cfc9.js +65 -0
- package/dist/esm/et-08cbe214.js +92 -0
- package/dist/esm/feature-list.entry.js +12 -10
- package/dist/esm/fi-e850e58b.js +115 -0
- package/dist/esm/floating-ui-1a431a21.js +2404 -0
- package/dist/esm/focusTrapComponent-e80b8863.js +1008 -0
- package/dist/esm/form-1528db83.js +362 -0
- package/dist/esm/form-99398da6.js +372 -0
- package/dist/esm/fr-c71b6844.js +68 -0
- package/dist/esm/fr-ch-7ac7a7eb.js +66 -0
- package/dist/esm/he-311cb5ba.js +105 -0
- package/dist/esm/helpers-f52a734a.js +913 -0
- package/dist/esm/hi-c41f0938.js +65 -0
- package/dist/esm/hr-f42cc721.js +80 -0
- package/dist/esm/hu-d1d33b21.js +88 -0
- package/dist/esm/icon-18c0eb17.js +959 -0
- package/dist/esm/id-1867967d.js +66 -0
- package/dist/esm/index-38bde943.js +199 -0
- package/dist/esm/index-d233c7a2.js +1753 -0
- package/dist/esm/index-d88c3eb6.js +2155 -0
- package/dist/esm/index.es-d286eecc.js +11134 -0
- package/dist/esm/instant-apps-app-guide.entry.js +2 -2
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-create.entry.js +2 -2
- package/dist/esm/instant-apps-export-views.entry.js +2 -2
- package/dist/esm/instant-apps-export.entry.js +2 -2
- package/dist/esm/instant-apps-header.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +9 -13
- package/dist/esm/instant-apps-language-translator.entry.js +5 -5
- package/dist/esm/instant-apps-measurement.entry.js +2 -2
- package/dist/esm/instant-apps-popover.entry.js +2 -2
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
- package/dist/esm/instant-apps-sign-in.entry.js +2 -2
- package/dist/esm/instant-apps-splash.entry.js +3 -3
- package/dist/esm/instant-apps-time-filter.entry.js +3 -57
- package/dist/esm/interactive-5139f8d7.js +83 -0
- package/dist/esm/interactive-cad37709.js +82 -0
- package/dist/esm/it-6a7495d8.js +66 -0
- package/dist/esm/it-ch-89fa3c82.js +66 -0
- package/dist/esm/ja-f87a1f44.js +72 -0
- package/dist/esm/ko-0f4c7a11.js +72 -0
- package/dist/esm/label-56002f24.js +179 -0
- package/dist/esm/label-7f52ca53.js +179 -0
- package/dist/esm/languageSwitcher-d0ca5d6f.js +49 -0
- package/dist/esm/loadable-dc3f24a8.js +93 -0
- package/dist/esm/loader-bae2aa52.js +173 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-586d9375.js +155 -0
- package/dist/esm/locale-911eca09.js +591 -0
- package/dist/esm/locale-be7fd298.js +1423 -0
- package/dist/esm/logger-ff14b12f.js +59 -0
- package/dist/esm/lt-a4b14416.js +97 -0
- package/dist/esm/lv-3901862d.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +15 -13
- package/dist/esm/mk-886d280d.js +66 -0
- package/dist/esm/nb-b667a0e1.js +67 -0
- package/dist/esm/nl-d357a092.js +67 -0
- package/dist/esm/observers-ab3d6528.js +56 -0
- package/dist/esm/openCloseComponent-0e1e6768.js +64 -0
- package/dist/esm/openCloseComponent-c3f79463.js +63 -0
- package/dist/esm/pci-calculator.entry.js +2 -2
- package/dist/esm/pl-75d54069.js +114 -0
- package/dist/esm/popupUtils-ddb1f6fa.js +119 -0
- package/dist/esm/pt-32bd5da2.js +67 -0
- package/dist/esm/pt-br-6f32314d.js +65 -0
- package/dist/esm/public-notification.entry.js +12 -10
- package/dist/esm/publicNotificationStore-8b54bf6f.js +45 -0
- package/dist/esm/request-2dbb152a.js +19 -0
- package/dist/esm/restHelpersGet-a7fda344.js +493 -0
- package/dist/esm/ro-d238055e.js +66 -0
- package/dist/esm/ru-ef7165ff.js +126 -0
- package/dist/esm/shared-list-render-5f202c55.js +339 -0
- package/dist/esm/sk-959dbca1.js +148 -0
- package/dist/esm/sl-96436015.js +168 -0
- package/dist/esm/solution-configuration.entry.js +34 -34
- package/dist/esm/solution-contents_3.entry.js +11 -11
- package/dist/esm/solution-item-accordion.entry.js +3 -3
- package/dist/esm/solution-item-icon.entry.js +2 -2
- package/dist/esm/solution-resource-30a29505.js +1842 -0
- package/dist/esm/solution-store-f252cb74.js +1103 -0
- package/dist/esm/solutions-components.js +7 -7
- package/dist/esm/spatial-ref.entry.js +5 -6
- package/dist/esm/sr-73033c89.js +101 -0
- package/dist/esm/store-manager.entry.js +7 -7
- package/dist/esm/sv-b1153aa8.js +71 -0
- package/dist/esm/t9n-1698878e.js +103 -0
- package/dist/esm/templates-60f33938.js +401 -0
- package/dist/esm/th-e1a074e2.js +65 -0
- package/dist/esm/time-bca5f70b.js +286 -0
- package/dist/esm/tr-1350f529.js +66 -0
- package/dist/esm/typeof-ef2a007d.js +25 -0
- package/dist/esm/uk-18ded66c.js +104 -0
- package/dist/esm/update-ad0b88fa.js +773 -0
- package/dist/esm/utils-0da093e1.js +142 -0
- package/dist/esm/utils-30c4c8ca.js +66 -0
- package/dist/esm/vi-cee99413.js +70 -0
- package/dist/esm/zh-cn-6e204128.js +94 -0
- package/dist/esm/zh-hk-ffb02673.js +92 -0
- package/dist/esm/zh-tw-0f52dd8c.js +92 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources.json +3 -10
- package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +3 -10
- package/dist/solutions-components/demos/consent-manager.html +56 -0
- package/dist/solutions-components/p-0094924f.entry.js +6 -0
- package/dist/solutions-components/p-00ea0ccc.entry.js +11 -0
- package/dist/solutions-components/p-018d1f95.entry.js +6 -0
- package/dist/solutions-components/p-025af0b3.entry.js +21 -0
- package/dist/solutions-components/p-0549a65c.js +6 -0
- package/dist/solutions-components/p-058d0542.js +17 -0
- package/dist/solutions-components/p-0668e30d.js +34 -0
- package/dist/solutions-components/p-066fc169.js +6 -0
- package/dist/solutions-components/p-067e36b2.entry.js +6 -0
- package/dist/solutions-components/p-0681b29b.entry.js +11 -0
- package/dist/solutions-components/p-0691d1af.entry.js +22 -0
- package/dist/solutions-components/p-088a5dca.js +67 -0
- package/dist/solutions-components/p-097b80df.js +6 -0
- package/dist/solutions-components/p-0a0902c4.entry.js +6 -0
- package/dist/solutions-components/p-0a71f549.entry.js +29 -0
- package/dist/solutions-components/p-0ac9cc4a.entry.js +21 -0
- package/dist/solutions-components/p-0b1fb6ae.js +36 -0
- package/dist/solutions-components/p-0d82ed7b.entry.js +11 -0
- package/dist/solutions-components/p-0e307601.entry.js +11 -0
- package/dist/solutions-components/p-0ece17fc.entry.js +6 -0
- package/dist/solutions-components/p-0f58bb3a.entry.js +11 -0
- package/dist/solutions-components/p-0f9f7528.entry.js +11 -0
- package/dist/solutions-components/p-135b2aba.js +16 -0
- package/dist/solutions-components/p-13bdb2c0.js +6 -0
- package/dist/solutions-components/p-14519a8a.entry.js +11 -0
- package/dist/solutions-components/p-1482f3cf.js +20 -0
- package/dist/solutions-components/p-1492bb6d.js +6 -0
- package/dist/solutions-components/p-1664573a.entry.js +6 -0
- package/dist/solutions-components/p-1900f9b1.js +11 -0
- package/dist/solutions-components/p-1984f2c7.entry.js +17 -0
- package/dist/solutions-components/p-1c1842b0.entry.js +6 -0
- package/dist/solutions-components/p-1f9d927b.entry.js +6 -0
- package/dist/solutions-components/p-1fb3756b.js +6 -0
- package/dist/solutions-components/p-208b5cc4.entry.js +6 -0
- package/dist/solutions-components/p-20cda8ef.entry.js +6 -0
- package/dist/solutions-components/p-2130a063.entry.js +17 -0
- package/dist/solutions-components/p-21f90019.js +21 -0
- package/dist/solutions-components/p-230f7315.entry.js +6 -0
- package/dist/solutions-components/p-24b42859.entry.js +47 -0
- package/dist/solutions-components/p-26f9f9c8.js +11 -0
- package/dist/solutions-components/p-270ca219.entry.js +6 -0
- package/dist/solutions-components/p-27a91364.entry.js +17 -0
- package/dist/solutions-components/p-28498868.entry.js +11 -0
- package/dist/solutions-components/p-2a5a5bfd.entry.js +11 -0
- package/dist/solutions-components/p-2ac553f6.js +6 -0
- package/dist/solutions-components/p-2b1e6acb.entry.js +6 -0
- package/dist/solutions-components/p-2bc98cb0.js +30 -0
- package/dist/solutions-components/p-2d96fdb9.js +6 -0
- package/dist/solutions-components/p-2dd8e49c.js +11 -0
- package/dist/solutions-components/p-30a16b7e.entry.js +11 -0
- package/dist/solutions-components/p-3212300b.entry.js +6 -0
- package/dist/solutions-components/p-35245316.entry.js +6 -0
- package/dist/solutions-components/p-3643a87a.entry.js +6 -0
- package/dist/solutions-components/p-3708cbdc.entry.js +6 -0
- package/dist/solutions-components/p-3828e77b.js +11 -0
- package/dist/solutions-components/p-38e0f88b.js +17 -0
- package/dist/solutions-components/p-3b3bfba5.entry.js +6 -0
- package/dist/solutions-components/p-3ba80c7c.js +6 -0
- package/dist/solutions-components/p-3d1f0434.js +21 -0
- package/dist/solutions-components/p-3ffc4738.js +6 -0
- package/dist/solutions-components/p-409401ce.js +11 -0
- package/dist/solutions-components/p-419df1ac.js +11 -0
- package/dist/solutions-components/p-46159285.js +6 -0
- package/dist/solutions-components/p-49a67314.entry.js +6 -0
- package/dist/solutions-components/p-4cbdea35.js +129 -0
- package/dist/solutions-components/p-4dfc2fc4.js +11 -0
- package/dist/solutions-components/p-4f236b5d.js +43 -0
- package/dist/solutions-components/p-4f50385f.js +16 -0
- package/dist/solutions-components/p-4fe489cf.js +6 -0
- package/dist/solutions-components/p-50239e15.entry.js +6 -0
- package/dist/solutions-components/p-531f66c7.entry.js +6 -0
- package/dist/solutions-components/p-570754a4.js +6 -0
- package/dist/solutions-components/p-570b13d9.js +67 -0
- package/dist/solutions-components/p-58d53a46.entry.js +6 -0
- package/dist/solutions-components/p-59970898.js +6 -0
- package/dist/solutions-components/p-59d02697.entry.js +11 -0
- package/dist/solutions-components/p-5b2ae6c4.js +6 -0
- package/dist/solutions-components/p-5b9783e6.entry.js +23 -0
- package/dist/solutions-components/p-5c5cbe3c.js +6 -0
- package/dist/solutions-components/p-5c692ed6.entry.js +11 -0
- package/dist/solutions-components/p-5cfa35f8.js +6 -0
- package/dist/solutions-components/p-5d581b7e.entry.js +6 -0
- package/dist/solutions-components/p-5df09fe4.js +31 -0
- package/dist/solutions-components/p-5ee359f1.entry.js +11 -0
- package/dist/solutions-components/p-5f099cd2.js +6 -0
- package/dist/solutions-components/p-60123545.js +6 -0
- package/dist/solutions-components/p-6148468f.js +11 -0
- package/dist/solutions-components/p-617d2160.js +6 -0
- package/dist/solutions-components/p-619a1ad0.js +6 -0
- package/dist/solutions-components/p-61d2582e.entry.js +6 -0
- package/dist/solutions-components/p-662cf7fa.entry.js +11 -0
- package/dist/solutions-components/p-6708060e.js +11 -0
- package/dist/solutions-components/p-676a2d60.entry.js +6 -0
- package/dist/solutions-components/p-68b5ec37.js +11 -0
- package/dist/solutions-components/p-68cf5134.entry.js +12 -0
- package/dist/solutions-components/p-694cfe4c.js +6 -0
- package/dist/solutions-components/p-6bcde3c4.js +6 -0
- package/dist/solutions-components/p-6c73f067.js +16 -0
- package/dist/solutions-components/p-6d56f75e.js +11 -0
- package/dist/solutions-components/p-6db88e16.entry.js +11 -0
- package/dist/solutions-components/p-6f93ec3e.entry.js +6 -0
- package/dist/solutions-components/p-7053b20e.entry.js +6 -0
- package/dist/solutions-components/p-741151d4.js +6 -0
- package/dist/solutions-components/p-749fe711.js +6 -0
- package/dist/solutions-components/p-7518e92a.js +6 -0
- package/dist/solutions-components/p-7802efa1.entry.js +11 -0
- package/dist/solutions-components/p-782c71a7.js +6 -0
- package/dist/solutions-components/p-78aa10b0.js +6 -0
- package/dist/solutions-components/p-7a8edc01.entry.js +11 -0
- package/dist/solutions-components/p-7a9e773b.js +6 -0
- package/dist/solutions-components/p-7aa5b402.entry.js +11 -0
- package/dist/solutions-components/p-7aafba66.js +11 -0
- package/dist/solutions-components/p-7d619b04.entry.js +11 -0
- package/dist/solutions-components/p-7dc37540.js +11 -0
- package/dist/solutions-components/p-7e3a6a0b.entry.js +11 -0
- package/dist/solutions-components/p-7fd55161.entry.js +6 -0
- package/dist/solutions-components/p-80168ff4.entry.js +11 -0
- package/dist/solutions-components/p-823684a3.js +6 -0
- package/dist/solutions-components/p-825ef4a7.js +6 -0
- package/dist/solutions-components/p-82d93164.js +11 -0
- package/dist/solutions-components/p-82f661c7.entry.js +11 -0
- package/dist/solutions-components/p-8378852e.js +6 -0
- package/dist/solutions-components/p-85bb5908.js +11 -0
- package/dist/solutions-components/p-866a2fad.js +11 -0
- package/dist/solutions-components/p-8744fe2a.entry.js +6 -0
- package/dist/solutions-components/p-8850bd21.js +21 -0
- package/dist/solutions-components/p-896a5fce.entry.js +11 -0
- package/dist/solutions-components/p-8df5939f.js +6 -0
- package/dist/solutions-components/p-8ec56f08.entry.js +11 -0
- package/dist/solutions-components/p-8ff2cba2.entry.js +11 -0
- package/dist/solutions-components/p-8ff4b2aa.js +488 -0
- package/dist/solutions-components/p-926e65eb.js +6 -0
- package/dist/solutions-components/p-94ad391c.js +40 -0
- package/dist/solutions-components/p-958c68c2.js +61 -0
- package/dist/solutions-components/p-95fcb607.js +6 -0
- package/dist/solutions-components/p-97df5300.js +27 -0
- package/dist/solutions-components/p-98079396.js +21 -0
- package/dist/solutions-components/p-98b1c057.entry.js +6 -0
- package/dist/solutions-components/p-9d4f62ca.js +6 -0
- package/dist/solutions-components/p-9d733373.entry.js +17 -0
- package/dist/solutions-components/p-9d9df87f.entry.js +6 -0
- package/dist/solutions-components/p-9e5d59aa.entry.js +11 -0
- package/dist/solutions-components/p-9f89901b.entry.js +6 -0
- package/dist/solutions-components/p-9fa8da35.entry.js +11 -0
- package/dist/solutions-components/p-a28502ac.entry.js +6 -0
- package/dist/solutions-components/p-a5df8093.entry.js +11 -0
- package/dist/solutions-components/p-a757bf75.js +16 -0
- package/dist/solutions-components/p-a7eded8f.entry.js +11 -0
- package/dist/solutions-components/p-a91fc014.entry.js +6 -0
- package/dist/solutions-components/p-aa6656f0.js +6 -0
- package/dist/solutions-components/p-abe60b81.entry.js +6 -0
- package/dist/solutions-components/p-ad66b010.entry.js +11 -0
- package/dist/solutions-components/p-adb57e25.entry.js +6 -0
- package/dist/solutions-components/p-add122e7.js +6 -0
- package/dist/solutions-components/p-ae357552.entry.js +11 -0
- package/dist/solutions-components/p-af4f2d4a.js +11 -0
- package/dist/solutions-components/p-b0d0022c.entry.js +11 -0
- package/dist/solutions-components/p-b14d2423.entry.js +11 -0
- package/dist/solutions-components/p-b1546c15.js +17 -0
- package/dist/solutions-components/p-b1c45ef8.entry.js +6 -0
- package/dist/solutions-components/p-b1f3c713.js +6 -0
- package/dist/solutions-components/p-b22046db.js +11 -0
- package/dist/solutions-components/p-b290affa.js +17 -0
- package/dist/solutions-components/p-b3b70f6b.entry.js +12 -0
- package/dist/solutions-components/p-b4a94ffe.entry.js +6 -0
- package/dist/solutions-components/p-b62871c3.entry.js +11 -0
- package/dist/solutions-components/p-b6a36bfe.js +6 -0
- package/dist/solutions-components/p-b915029b.js +6 -0
- package/dist/solutions-components/p-b98e9479.js +11 -0
- package/dist/solutions-components/p-b9bc3e7b.entry.js +17 -0
- package/dist/solutions-components/p-ba539e5a.entry.js +11 -0
- package/dist/solutions-components/p-bad614c0.entry.js +11 -0
- package/dist/solutions-components/p-bb158785.entry.js +11 -0
- package/dist/solutions-components/p-bc281e3b.js +6 -0
- package/dist/solutions-components/p-bc2b747e.js +6 -0
- package/dist/solutions-components/p-be78bc15.entry.js +6 -0
- package/dist/solutions-components/p-bf154e41.js +6 -0
- package/dist/solutions-components/p-c0f30138.entry.js +11 -0
- package/dist/solutions-components/p-c109e720.js +6 -0
- package/dist/solutions-components/p-c115215d.entry.js +6 -0
- package/dist/solutions-components/p-c433cc38.js +6 -0
- package/dist/solutions-components/p-c43fdf49.entry.js +16 -0
- package/dist/solutions-components/p-c5e0e5ef.js +6 -0
- package/dist/solutions-components/p-c766823c.entry.js +11 -0
- package/dist/solutions-components/p-c8a2c326.entry.js +29 -0
- package/dist/solutions-components/p-c8b26c56.js +6 -0
- package/dist/solutions-components/p-c900e9e8.entry.js +17 -0
- package/dist/solutions-components/p-c9dae6fb.entry.js +6 -0
- package/dist/solutions-components/p-cbf0769a.entry.js +11 -0
- package/dist/solutions-components/p-cc7d784e.entry.js +6 -0
- package/dist/solutions-components/p-ce8a69ef.entry.js +11 -0
- package/dist/solutions-components/p-cea51591.js +16 -0
- package/dist/solutions-components/p-d0b1d33f.js +6 -0
- package/dist/solutions-components/p-d0b36f2e.entry.js +6 -0
- package/dist/solutions-components/p-d2a6e970.js +6 -0
- package/dist/solutions-components/p-d2dc7d65.entry.js +11 -0
- package/dist/solutions-components/p-d60dc1f1.entry.js +11 -0
- package/dist/solutions-components/p-d654b676.entry.js +11 -0
- package/dist/solutions-components/p-d65f8b73.js +6 -0
- package/dist/solutions-components/p-d82ee2f9.entry.js +6 -0
- package/dist/solutions-components/p-d96fe526.entry.js +22 -0
- package/dist/solutions-components/p-da0cb140.entry.js +11 -0
- package/dist/solutions-components/p-da36faca.entry.js +6 -0
- package/dist/solutions-components/p-daf6a012.entry.js +6 -0
- package/dist/solutions-components/p-dba4704c.js +11 -0
- package/dist/solutions-components/p-dd16d94e.js +6 -0
- package/dist/solutions-components/p-dd689226.js +11 -0
- package/dist/solutions-components/p-dd6a34c6.entry.js +17 -0
- package/dist/solutions-components/p-df4bfe45.js +6 -0
- package/dist/solutions-components/p-dfe18931.js +6 -0
- package/dist/solutions-components/p-e2570a80.js +11 -0
- package/dist/solutions-components/p-ea9e0a79.js +6 -0
- package/dist/solutions-components/p-eb88fddc.js +6 -0
- package/dist/solutions-components/p-ed4fb4a1.entry.js +6 -0
- package/dist/solutions-components/p-ef0c43dc.js +6 -0
- package/dist/solutions-components/p-f05bbd82.entry.js +11 -0
- package/dist/solutions-components/p-f0ceb675.entry.js +11 -0
- package/dist/solutions-components/p-f1f356f0.js +7 -0
- package/dist/solutions-components/p-f46f7da7.entry.js +12 -0
- package/dist/solutions-components/p-f6e3d19a.entry.js +11 -0
- package/dist/solutions-components/p-f6e81cf8.js +22 -0
- package/dist/solutions-components/p-f7085e9e.entry.js +17 -0
- package/dist/solutions-components/p-f8ea8e73.js +6 -0
- package/dist/solutions-components/p-fb6ca6dd.entry.js +11 -0
- package/dist/solutions-components/p-fdaf1290.entry.js +11 -0
- package/dist/solutions-components/p-fe719f16.entry.js +6 -0
- package/dist/solutions-components/p-feebdac9.entry.js +17 -0
- package/dist/solutions-components/p-ff15447c.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +14 -0
- package/dist/types/components/consent-manager/consent-manager.d.ts +23 -20
- package/dist/types/components/delete-button/delete-button.d.ts +1 -1
- package/dist/types/components/edit-card/edit-card.d.ts +4 -0
- package/dist/types/components/layer-table/layer-table.d.ts +55 -7
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +18 -2
- package/dist/types/components/map-picker/map-picker.d.ts +10 -2
- package/dist/types/components.d.ts +67 -34
- package/dist/types/preact.d.ts +6 -7
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/utils/interfaces.d.ts +12 -0
- package/package.json +13 -13
- package/dist/cjs/ExpandToggle-c5e409ce.js +0 -115
- package/dist/cjs/FloatingArrow-c2b50d47.js +0 -48
- package/dist/cjs/Heading-3e2d46fd.js +0 -25
- package/dist/cjs/Validation-c065b988.js +0 -20
- package/dist/cjs/app-globals-09eb9eb5.js +0 -67
- package/dist/cjs/ar-0afb390b.js +0 -106
- package/dist/cjs/arcgis-login.cjs.entry.js +0 -61
- package/dist/cjs/bg-b1be4ef3.js +0 -84
- package/dist/cjs/browser-0bedacf5.js +0 -35
- package/dist/cjs/bs-a314390f.js +0 -53
- package/dist/cjs/ca-b8e89e47.js +0 -73
- package/dist/cjs/calcite-alert_6.cjs.entry.js +0 -2105
- package/dist/cjs/calcite-input-time-picker-42ed419f.js +0 -1870
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -393
- package/dist/cjs/common-eee0c33f.js +0 -38
- package/dist/cjs/conditionalSlot-003e6975.js +0 -54
- package/dist/cjs/config-2282fdac.js +0 -40
- package/dist/cjs/constants-bed33322.js +0 -860
- package/dist/cjs/cs-f14626e8.js +0 -149
- package/dist/cjs/da-2fce32d4.js +0 -69
- package/dist/cjs/date-e763caec.js +0 -264
- package/dist/cjs/de-2c1fce6f.js +0 -93
- package/dist/cjs/de-at-94de293d.js +0 -92
- package/dist/cjs/de-ch-d42f4faf.js +0 -92
- package/dist/cjs/delete-dialog.cjs.entry.js +0 -131
- package/dist/cjs/downloadUtils-76bc7e30.js +0 -3240
- package/dist/cjs/el-8092eeb9.js +0 -68
- package/dist/cjs/en-au-9bc4467f.js +0 -68
- package/dist/cjs/en-ca-d9140239.js +0 -67
- package/dist/cjs/en-gb-f5e2af8e.js +0 -71
- package/dist/cjs/es-4b6327d7.js +0 -68
- package/dist/cjs/es-mx-f729412a.js +0 -67
- package/dist/cjs/et-ec115eb3.js +0 -94
- package/dist/cjs/fi-95701850.js +0 -117
- package/dist/cjs/floating-ui-a8693586.js +0 -2413
- package/dist/cjs/focusTrapComponent-48fdd3f6.js +0 -1013
- package/dist/cjs/form-a36bd0e5.js +0 -381
- package/dist/cjs/fr-ch-a231f229.js +0 -68
- package/dist/cjs/fr-e22a2684.js +0 -70
- package/dist/cjs/he-d0070eb9.js +0 -107
- package/dist/cjs/helpers-0493759d.js +0 -940
- package/dist/cjs/hi-04615e27.js +0 -67
- package/dist/cjs/hr-27fefb6d.js +0 -82
- package/dist/cjs/hu-63da9819.js +0 -90
- package/dist/cjs/id-d4fe65cd.js +0 -68
- package/dist/cjs/index-2b13a4d5.js +0 -201
- package/dist/cjs/index-4b68e4b4.js +0 -1770
- package/dist/cjs/index-f052f656.js +0 -2156
- package/dist/cjs/index.es-8336efed.js +0 -11307
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +0 -590
- package/dist/cjs/interactive-7ccdd728.js +0 -85
- package/dist/cjs/it-418a53bf.js +0 -68
- package/dist/cjs/it-ch-7f4632ab.js +0 -68
- package/dist/cjs/ja-6c5d5c7d.js +0 -74
- package/dist/cjs/ko-e4154b91.js +0 -74
- package/dist/cjs/loadable-f3fe73a2.js +0 -98
- package/dist/cjs/locale-339b55f0.js +0 -160
- package/dist/cjs/locale-4b820602.js +0 -120
- package/dist/cjs/locale-7eb2f603.js +0 -605
- package/dist/cjs/logger-912d7f26.js +0 -61
- package/dist/cjs/lt-d6dae6fd.js +0 -99
- package/dist/cjs/lv-bcf9724a.js +0 -68
- package/dist/cjs/mk-171505d2.js +0 -68
- package/dist/cjs/nb-0dcee19c.js +0 -69
- package/dist/cjs/nl-dace5864.js +0 -69
- package/dist/cjs/observers-affd684f.js +0 -58
- package/dist/cjs/openCloseComponent-044883e4.js +0 -65
- package/dist/cjs/pl-7755a609.js +0 -116
- package/dist/cjs/popupUtils-bc762034.js +0 -121
- package/dist/cjs/pt-3121cc39.js +0 -69
- package/dist/cjs/pt-br-67b16e3a.js +0 -67
- package/dist/cjs/publicNotificationStore-570204c1.js +0 -47
- package/dist/cjs/restHelpersGet-5c2245a3.js +0 -991
- package/dist/cjs/ro-7f726306.js +0 -68
- package/dist/cjs/ru-fc11963d.js +0 -128
- package/dist/cjs/share-item.cjs.entry.js +0 -61
- package/dist/cjs/shared-list-render-3d6ec3ca.js +0 -361
- package/dist/cjs/sk-e85b9c15.js +0 -150
- package/dist/cjs/sl-9eb375c2.js +0 -170
- package/dist/cjs/solution-resource-40e70253.js +0 -145
- package/dist/cjs/solution-store-4de89072.js +0 -1354
- package/dist/cjs/sr-1d2513be.js +0 -103
- package/dist/cjs/sv-f7693c9f.js +0 -73
- package/dist/cjs/t9n-64df74f3.js +0 -108
- package/dist/cjs/templates-0b7f886f.js +0 -408
- package/dist/cjs/th-0d2328bb.js +0 -67
- package/dist/cjs/time-513586eb.js +0 -301
- package/dist/cjs/tr-2c074411.js +0 -68
- package/dist/cjs/uk-5e16db67.js +0 -106
- package/dist/cjs/utils-3f10ea6b.js +0 -153
- package/dist/cjs/utils-d0049d76.js +0 -79
- package/dist/cjs/vi-2a4d8334.js +0 -72
- package/dist/cjs/zh-cn-126bcbc0.js +0 -96
- package/dist/cjs/zh-hk-aeeba861.js +0 -94
- package/dist/cjs/zh-tw-0cfb6e20.js +0 -94
- package/dist/collection/components/arcgis-login/arcgis-login.css +0 -19
- package/dist/collection/components/arcgis-login/arcgis-login.js +0 -80
- package/dist/collection/components/share-item/share-item.css +0 -19
- package/dist/collection/components/share-item/share-item.js +0 -80
- package/dist/components/arcgis-login.d.ts +0 -11
- package/dist/components/arcgis-login.js +0 -76
- package/dist/components/share-item.d.ts +0 -11
- package/dist/components/share-item.js +0 -76
- package/dist/esm/ExpandToggle-d2cde0b5.js +0 -108
- package/dist/esm/FloatingArrow-1ba04e83.js +0 -46
- package/dist/esm/Heading-82d9e017.js +0 -22
- package/dist/esm/Validation-594a63f5.js +0 -18
- package/dist/esm/app-globals-177bd1cd.js +0 -65
- package/dist/esm/ar-a85b5d05.js +0 -104
- package/dist/esm/arcgis-login.entry.js +0 -57
- package/dist/esm/bg-def28c6d.js +0 -82
- package/dist/esm/browser-e3f463e1.js +0 -32
- package/dist/esm/bs-86bb2bcb.js +0 -51
- package/dist/esm/ca-823e6ba8.js +0 -71
- package/dist/esm/calcite-alert_6.entry.js +0 -2096
- package/dist/esm/calcite-input-time-picker-c45e1964.js +0 -1867
- package/dist/esm/calcite-modal.entry.js +0 -389
- package/dist/esm/common-c3bbba83.js +0 -36
- package/dist/esm/conditionalSlot-720a3c33.js +0 -51
- package/dist/esm/config-3af0e436.js +0 -36
- package/dist/esm/constants-637a40f5.js +0 -856
- package/dist/esm/cs-87414fd8.js +0 -147
- package/dist/esm/da-f7060594.js +0 -67
- package/dist/esm/date-8f6c3f50.js +0 -248
- package/dist/esm/de-18aa2195.js +0 -91
- package/dist/esm/de-at-00f0ce55.js +0 -90
- package/dist/esm/de-ch-2bf886c0.js +0 -90
- package/dist/esm/delete-dialog.entry.js +0 -127
- package/dist/esm/dom-6f6759df.js +0 -1165
- package/dist/esm/downloadUtils-bc7a4ba1.js +0 -3233
- package/dist/esm/el-0c5df4ce.js +0 -66
- package/dist/esm/en-au-947d067e.js +0 -66
- package/dist/esm/en-ca-d80eb647.js +0 -65
- package/dist/esm/en-gb-78272f13.js +0 -69
- package/dist/esm/es-6b8b399b.js +0 -66
- package/dist/esm/es-mx-4f12df51.js +0 -65
- package/dist/esm/et-11aeba76.js +0 -92
- package/dist/esm/fi-c44d11d6.js +0 -115
- package/dist/esm/floating-ui-d21020a0.js +0 -2404
- package/dist/esm/focusTrapComponent-1ddc67c5.js +0 -1008
- package/dist/esm/form-e9b1ad9a.js +0 -372
- package/dist/esm/fr-cac28d20.js +0 -68
- package/dist/esm/fr-ch-a324bd02.js +0 -66
- package/dist/esm/he-eab95e66.js +0 -105
- package/dist/esm/helpers-91ca0f44.js +0 -913
- package/dist/esm/hi-cefe2a7e.js +0 -65
- package/dist/esm/hr-f863024d.js +0 -80
- package/dist/esm/hu-2921d1d5.js +0 -88
- package/dist/esm/id-4e25c1e7.js +0 -66
- package/dist/esm/index-39bc2e6d.js +0 -199
- package/dist/esm/index-904bc599.js +0 -1736
- package/dist/esm/index-e14fade9.js +0 -2154
- package/dist/esm/index.es-0d189a34.js +0 -11220
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +0 -584
- package/dist/esm/interactive-949b348f.js +0 -82
- package/dist/esm/it-1f2ce2fc.js +0 -66
- package/dist/esm/it-ch-fa4f6a28.js +0 -66
- package/dist/esm/ja-dd6ac9b5.js +0 -72
- package/dist/esm/ko-3c269b4f.js +0 -72
- package/dist/esm/label-1ef4763d.js +0 -179
- package/dist/esm/loadable-421e634e.js +0 -93
- package/dist/esm/locale-0d06fca0.js +0 -155
- package/dist/esm/locale-77038bee.js +0 -115
- package/dist/esm/locale-a75d14ff.js +0 -591
- package/dist/esm/logger-5c7a2fec.js +0 -59
- package/dist/esm/lt-8f5fd3eb.js +0 -97
- package/dist/esm/lv-d1afc7ed.js +0 -66
- package/dist/esm/mk-794650fc.js +0 -66
- package/dist/esm/nb-800989aa.js +0 -67
- package/dist/esm/nl-634b9b85.js +0 -67
- package/dist/esm/observers-2d4fa9e3.js +0 -56
- package/dist/esm/openCloseComponent-4621d4ae.js +0 -63
- package/dist/esm/pl-45fb968c.js +0 -114
- package/dist/esm/popupUtils-03dc398a.js +0 -119
- package/dist/esm/pt-bd7887a6.js +0 -67
- package/dist/esm/pt-br-d9181dce.js +0 -65
- package/dist/esm/publicNotificationStore-8f6b0f93.js +0 -45
- package/dist/esm/restHelpersGet-48113381.js +0 -976
- package/dist/esm/ro-31fe0dcc.js +0 -66
- package/dist/esm/ru-e73bc075.js +0 -126
- package/dist/esm/share-item.entry.js +0 -57
- package/dist/esm/shared-list-render-83bb7274.js +0 -339
- package/dist/esm/sk-e7e24146.js +0 -148
- package/dist/esm/sl-ad96d047.js +0 -168
- package/dist/esm/solution-resource-f5809979.js +0 -142
- package/dist/esm/solution-store-ff13861b.js +0 -1352
- package/dist/esm/sr-785166a3.js +0 -101
- package/dist/esm/sv-9f422817.js +0 -71
- package/dist/esm/t9n-23649a4a.js +0 -103
- package/dist/esm/templates-0b442208.js +0 -402
- package/dist/esm/th-7e8b3dad.js +0 -65
- package/dist/esm/time-5ca488ba.js +0 -286
- package/dist/esm/tr-1b1dd6db.js +0 -66
- package/dist/esm/uk-13d0afbf.js +0 -104
- package/dist/esm/utils-0a78d3c9.js +0 -142
- package/dist/esm/utils-a564ca55.js +0 -66
- package/dist/esm/vi-82ec876c.js +0 -70
- package/dist/esm/zh-cn-c4181895.js +0 -94
- package/dist/esm/zh-hk-752cc263.js +0 -92
- package/dist/esm/zh-tw-e653ba6c.js +0 -92
- package/dist/solutions-components/p-053effee.entry.js +0 -6
- package/dist/solutions-components/p-05ae2b11.entry.js +0 -6
- package/dist/solutions-components/p-087c3740.entry.js +0 -6
- package/dist/solutions-components/p-08c18450.js +0 -11
- package/dist/solutions-components/p-09543b4e.js +0 -6
- package/dist/solutions-components/p-09d34b2b.entry.js +0 -11
- package/dist/solutions-components/p-0af967af.js +0 -6
- package/dist/solutions-components/p-0f8241d2.entry.js +0 -6
- package/dist/solutions-components/p-10a158fd.entry.js +0 -11
- package/dist/solutions-components/p-115af8e4.entry.js +0 -11
- package/dist/solutions-components/p-11c2426d.entry.js +0 -20
- package/dist/solutions-components/p-1336a071.entry.js +0 -6
- package/dist/solutions-components/p-1588fad8.entry.js +0 -6
- package/dist/solutions-components/p-177b4cbc.js +0 -16
- package/dist/solutions-components/p-184b270d.entry.js +0 -11
- package/dist/solutions-components/p-191f30e1.entry.js +0 -11
- package/dist/solutions-components/p-19e89591.entry.js +0 -12
- package/dist/solutions-components/p-1afc5947.entry.js +0 -11
- package/dist/solutions-components/p-1b1ff60a.entry.js +0 -6
- package/dist/solutions-components/p-1e8af7ed.js +0 -6
- package/dist/solutions-components/p-1f65aed7.js +0 -6
- package/dist/solutions-components/p-1fafdc23.entry.js +0 -11
- package/dist/solutions-components/p-20ed3f7f.entry.js +0 -11
- package/dist/solutions-components/p-2105e658.entry.js +0 -6
- package/dist/solutions-components/p-25f30972.entry.js +0 -11
- package/dist/solutions-components/p-26ba0cc7.js +0 -17
- package/dist/solutions-components/p-2714a658.entry.js +0 -6
- package/dist/solutions-components/p-2714ede8.entry.js +0 -16
- package/dist/solutions-components/p-274aa753.entry.js +0 -6
- package/dist/solutions-components/p-294cd25c.js +0 -6
- package/dist/solutions-components/p-2b9f9f7d.js +0 -16
- package/dist/solutions-components/p-2d9072d8.entry.js +0 -11
- package/dist/solutions-components/p-2e0aea4e.entry.js +0 -11
- package/dist/solutions-components/p-2e42f34c.js +0 -6
- package/dist/solutions-components/p-2f1ef41d.entry.js +0 -6
- package/dist/solutions-components/p-2f784608.entry.js +0 -6
- package/dist/solutions-components/p-351c7cbf.entry.js +0 -6
- package/dist/solutions-components/p-368902f1.entry.js +0 -6
- package/dist/solutions-components/p-39e21b70.js +0 -6
- package/dist/solutions-components/p-3aee989b.js +0 -11
- package/dist/solutions-components/p-3af39767.entry.js +0 -6
- package/dist/solutions-components/p-3ba388b6.entry.js +0 -17
- package/dist/solutions-components/p-3d999f0f.entry.js +0 -6
- package/dist/solutions-components/p-3e44cfab.entry.js +0 -6
- package/dist/solutions-components/p-3e87c19c.js +0 -6
- package/dist/solutions-components/p-3f9ec755.js +0 -6
- package/dist/solutions-components/p-3fe6c230.entry.js +0 -6
- package/dist/solutions-components/p-41503b16.entry.js +0 -6
- package/dist/solutions-components/p-4416d650.entry.js +0 -17
- package/dist/solutions-components/p-443be7fe.js +0 -6
- package/dist/solutions-components/p-44dc3dec.entry.js +0 -6
- package/dist/solutions-components/p-4695cfab.js +0 -6
- package/dist/solutions-components/p-499489c5.entry.js +0 -6
- package/dist/solutions-components/p-49df6eb3.entry.js +0 -11
- package/dist/solutions-components/p-4a665563.js +0 -6
- package/dist/solutions-components/p-4b15f4a4.entry.js +0 -11
- package/dist/solutions-components/p-4b47caf1.entry.js +0 -11
- package/dist/solutions-components/p-4d6e359e.entry.js +0 -11
- package/dist/solutions-components/p-4e3a18b1.js +0 -6
- package/dist/solutions-components/p-4e6eb06e.js +0 -7
- package/dist/solutions-components/p-4ff35ed4.js +0 -6
- package/dist/solutions-components/p-5104cc98.js +0 -6
- package/dist/solutions-components/p-51c6e6fe.js +0 -21
- package/dist/solutions-components/p-545a48dc.entry.js +0 -11
- package/dist/solutions-components/p-55bbfdbc.entry.js +0 -6
- package/dist/solutions-components/p-5804e6e1.entry.js +0 -22
- package/dist/solutions-components/p-58cff07f.entry.js +0 -11
- package/dist/solutions-components/p-592ab45c.js +0 -6
- package/dist/solutions-components/p-592f2000.entry.js +0 -6
- package/dist/solutions-components/p-5b5b78c0.js +0 -6
- package/dist/solutions-components/p-5e71e72a.js +0 -21
- package/dist/solutions-components/p-614a66c4.entry.js +0 -11
- package/dist/solutions-components/p-6166d8b4.js +0 -16
- package/dist/solutions-components/p-61cc2efe.js +0 -6
- package/dist/solutions-components/p-62c10928.entry.js +0 -6
- package/dist/solutions-components/p-63d334b2.entry.js +0 -6
- package/dist/solutions-components/p-677db47a.js +0 -6
- package/dist/solutions-components/p-68375137.js +0 -6
- package/dist/solutions-components/p-6a3f2249.entry.js +0 -6
- package/dist/solutions-components/p-6acd19c5.entry.js +0 -12
- package/dist/solutions-components/p-6b5b52c1.entry.js +0 -21
- package/dist/solutions-components/p-6cad2a22.js +0 -6
- package/dist/solutions-components/p-6f606cdb.js +0 -61
- package/dist/solutions-components/p-7059fc40.js +0 -6
- package/dist/solutions-components/p-70eba636.entry.js +0 -6
- package/dist/solutions-components/p-71f31d39.js +0 -6
- package/dist/solutions-components/p-74720d2b.js +0 -6
- package/dist/solutions-components/p-7530a02f.js +0 -30
- package/dist/solutions-components/p-764ff506.entry.js +0 -11
- package/dist/solutions-components/p-76a1236d.entry.js +0 -6
- package/dist/solutions-components/p-770a5a64.js +0 -11
- package/dist/solutions-components/p-77865541.entry.js +0 -11
- package/dist/solutions-components/p-78b6d3fe.entry.js +0 -6
- package/dist/solutions-components/p-78df7603.entry.js +0 -11
- package/dist/solutions-components/p-78e09c03.js +0 -6
- package/dist/solutions-components/p-7a7951bd.entry.js +0 -11
- package/dist/solutions-components/p-7bcfe068.entry.js +0 -6
- package/dist/solutions-components/p-7cc8e95a.js +0 -11
- package/dist/solutions-components/p-7d5d1b0a.js +0 -11
- package/dist/solutions-components/p-7eee9aa8.js +0 -11
- package/dist/solutions-components/p-7f68e6a4.js +0 -11
- package/dist/solutions-components/p-7fb51464.entry.js +0 -17
- package/dist/solutions-components/p-80ff858b.js +0 -6
- package/dist/solutions-components/p-8304ce4b.js +0 -17
- package/dist/solutions-components/p-85c068fd.js +0 -6
- package/dist/solutions-components/p-85c3237c.js +0 -11
- package/dist/solutions-components/p-860099d5.js +0 -6
- package/dist/solutions-components/p-86a5caf8.js +0 -6
- package/dist/solutions-components/p-86db882f.js +0 -6
- package/dist/solutions-components/p-872986ce.entry.js +0 -11
- package/dist/solutions-components/p-8a2ccb1e.js +0 -6
- package/dist/solutions-components/p-8cb9ecf6.js +0 -6
- package/dist/solutions-components/p-8d811472.js +0 -6
- package/dist/solutions-components/p-8dc9d5b6.entry.js +0 -6
- package/dist/solutions-components/p-8f8c7045.entry.js +0 -6
- package/dist/solutions-components/p-8ff43000.entry.js +0 -11
- package/dist/solutions-components/p-91a83986.entry.js +0 -47
- package/dist/solutions-components/p-928f0b5e.entry.js +0 -6
- package/dist/solutions-components/p-93d03bf0.js +0 -11
- package/dist/solutions-components/p-94e51621.entry.js +0 -6
- package/dist/solutions-components/p-977c099e.js +0 -11
- package/dist/solutions-components/p-9bb44f57.js +0 -65
- package/dist/solutions-components/p-9c25ee2c.entry.js +0 -6
- package/dist/solutions-components/p-9c5d5171.js +0 -11
- package/dist/solutions-components/p-9ce8e34f.js +0 -11
- package/dist/solutions-components/p-9d86dd68.js +0 -6
- package/dist/solutions-components/p-9d9e0e74.entry.js +0 -6
- package/dist/solutions-components/p-9e8d7c1d.entry.js +0 -17
- package/dist/solutions-components/p-9e996faa.js +0 -6
- package/dist/solutions-components/p-a1473254.entry.js +0 -11
- package/dist/solutions-components/p-a1ed15b8.entry.js +0 -11
- package/dist/solutions-components/p-a329f05c.entry.js +0 -6
- package/dist/solutions-components/p-a52fa87b.entry.js +0 -11
- package/dist/solutions-components/p-a5f6a4b9.entry.js +0 -23
- package/dist/solutions-components/p-a6790373.entry.js +0 -11
- package/dist/solutions-components/p-a693aa25.entry.js +0 -17
- package/dist/solutions-components/p-a7d249d9.js +0 -6
- package/dist/solutions-components/p-a7d4b1a4.js +0 -6
- package/dist/solutions-components/p-ac9c4111.entry.js +0 -12
- package/dist/solutions-components/p-acc4d847.entry.js +0 -11
- package/dist/solutions-components/p-adabe68e.entry.js +0 -6
- package/dist/solutions-components/p-ae5ea416.entry.js +0 -6
- package/dist/solutions-components/p-b138a65e.js +0 -11
- package/dist/solutions-components/p-b49e1a78.js +0 -6
- package/dist/solutions-components/p-b5a5da41.entry.js +0 -17
- package/dist/solutions-components/p-b6d50640.entry.js +0 -6
- package/dist/solutions-components/p-b8d1b57a.entry.js +0 -6
- package/dist/solutions-components/p-b90978d2.js +0 -6
- package/dist/solutions-components/p-b95968fa.entry.js +0 -6
- package/dist/solutions-components/p-bab47a85.entry.js +0 -29
- package/dist/solutions-components/p-bd35725f.js +0 -6
- package/dist/solutions-components/p-be6cd650.entry.js +0 -11
- package/dist/solutions-components/p-c0ceb17a.js +0 -6
- package/dist/solutions-components/p-c2ceb29c.js +0 -6
- package/dist/solutions-components/p-c350eacb.js +0 -143
- package/dist/solutions-components/p-c399f2b8.entry.js +0 -6
- package/dist/solutions-components/p-c604728b.js +0 -6
- package/dist/solutions-components/p-c63451e1.entry.js +0 -11
- package/dist/solutions-components/p-c7f86f73.entry.js +0 -6
- package/dist/solutions-components/p-c8e22575.entry.js +0 -22
- package/dist/solutions-components/p-c9422007.js +0 -6
- package/dist/solutions-components/p-c9715704.entry.js +0 -11
- package/dist/solutions-components/p-cb8d90d1.js +0 -11
- package/dist/solutions-components/p-cc6f6e41.entry.js +0 -17
- package/dist/solutions-components/p-cd482a33.js +0 -21
- package/dist/solutions-components/p-cdc63710.entry.js +0 -11
- package/dist/solutions-components/p-ce7b0b1a.entry.js +0 -11
- package/dist/solutions-components/p-cf2947f6.entry.js +0 -11
- package/dist/solutions-components/p-d02fb95c.entry.js +0 -17
- package/dist/solutions-components/p-d031cf50.entry.js +0 -11
- package/dist/solutions-components/p-d0d020a5.js +0 -37
- package/dist/solutions-components/p-d0ebd10d.js +0 -6
- package/dist/solutions-components/p-d154b5a1.entry.js +0 -11
- package/dist/solutions-components/p-d1b2484b.entry.js +0 -17
- package/dist/solutions-components/p-d2c2a105.entry.js +0 -11
- package/dist/solutions-components/p-d2f8d8a8.entry.js +0 -6
- package/dist/solutions-components/p-d37a68f7.entry.js +0 -6
- package/dist/solutions-components/p-d390df76.entry.js +0 -11
- package/dist/solutions-components/p-d3e1cc81.js +0 -6
- package/dist/solutions-components/p-d851b11e.js +0 -6
- package/dist/solutions-components/p-d9d25da8.entry.js +0 -11
- package/dist/solutions-components/p-d9e9fe80.js +0 -16
- package/dist/solutions-components/p-d9f3778e.js +0 -6
- package/dist/solutions-components/p-daae2ae7.js +0 -6
- package/dist/solutions-components/p-db7d5db8.entry.js +0 -6
- package/dist/solutions-components/p-dc9d4be3.js +0 -6
- package/dist/solutions-components/p-ddb37cba.entry.js +0 -11
- package/dist/solutions-components/p-df062602.entry.js +0 -11
- package/dist/solutions-components/p-e29e57db.entry.js +0 -6
- package/dist/solutions-components/p-e2fd2e29.js +0 -6
- package/dist/solutions-components/p-e3111b70.js +0 -6
- package/dist/solutions-components/p-e37e117f.js +0 -11
- package/dist/solutions-components/p-e4be63b6.entry.js +0 -11
- package/dist/solutions-components/p-e4e7add2.js +0 -11
- package/dist/solutions-components/p-e625aa69.entry.js +0 -6
- package/dist/solutions-components/p-e93a531c.entry.js +0 -11
- package/dist/solutions-components/p-e9a0d2f3.entry.js +0 -6
- package/dist/solutions-components/p-e9d3365f.js +0 -22
- package/dist/solutions-components/p-e9fcc194.entry.js +0 -6
- package/dist/solutions-components/p-ee487e75.entry.js +0 -11
- package/dist/solutions-components/p-ef773a13.js +0 -11
- package/dist/solutions-components/p-f09744aa.entry.js +0 -6
- package/dist/solutions-components/p-f3119757.entry.js +0 -11
- package/dist/solutions-components/p-f4aadb3b.js +0 -36
- package/dist/solutions-components/p-f5789e08.entry.js +0 -29
- package/dist/solutions-components/p-f57978f3.entry.js +0 -6
- package/dist/solutions-components/p-f6cc1cf8.entry.js +0 -17
- package/dist/solutions-components/p-f845da58.js +0 -6
- package/dist/solutions-components/p-fbf63d14.entry.js +0 -6
- package/dist/solutions-components/p-fc7c88c8.js +0 -6
- package/dist/solutions-components/p-fd019d15.js +0 -11
- package/dist/solutions-components/p-fd40d066.js +0 -6
- package/dist/solutions-components/p-febf9f75.entry.js +0 -11
- package/dist/solutions-components/p-ff9e28d1.js +0 -488
- package/dist/types/components/arcgis-login/arcgis-login.d.ts +0 -19
- package/dist/types/components/share-item/share-item.d.ts +0 -19
@@ -1,2096 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement, F as Fragment } from './index-904bc599.js';
|
7
|
-
import { s as slotChangeHasAssignedElement, t as toAriaBoolean, o as getSlotted, z as setRequestedIcon, g as getElementDir } from './dom-6f6759df.js';
|
8
|
-
import { g as getIconScale } from './component-09697fb8.js';
|
9
|
-
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-421e634e.js';
|
10
|
-
import { N as NumberStringFormat, c as connectLocalized, d as disconnectLocalized } from './locale-a75d14ff.js';
|
11
|
-
import { o as onToggleOpenCloseComponent } from './openCloseComponent-4621d4ae.js';
|
12
|
-
import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n-23649a4a.js';
|
13
|
-
import { K as KindIcons } from './resources-833bf39f.js';
|
14
|
-
import { u as updateHostInteraction, I as InteractiveContainer } from './interactive-949b348f.js';
|
15
|
-
import { S as SLOTS$2 } from './resources-bc66182e.js';
|
16
|
-
import { l as loadModules, g as getLocaleComponentStrings } from './locale-0d06fca0.js';
|
17
|
-
import { a as getAllLayers, g as getLayerOrTable } from './mapViewUtils-f54edae3.js';
|
18
|
-
import { P as PopupUtils } from './popupUtils-03dc398a.js';
|
19
|
-
import './guid-45e997d8.js';
|
20
|
-
import './resources-ab131744.js';
|
21
|
-
import './browser-e3f463e1.js';
|
22
|
-
import './key-2e7789c2.js';
|
23
|
-
import './observers-2d4fa9e3.js';
|
24
|
-
import './esri-loader-c6842c6b.js';
|
25
|
-
import './_commonjsHelpers-089957fe.js';
|
26
|
-
import './interfaces-659e3836.js';
|
27
|
-
import './downloadUtils-bc7a4ba1.js';
|
28
|
-
import './index-e14fade9.js';
|
29
|
-
import './solution-resource-f5809979.js';
|
30
|
-
import './restHelpersGet-48113381.js';
|
31
|
-
|
32
|
-
/*!
|
33
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
34
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
35
|
-
* v2.13.2
|
36
|
-
*/
|
37
|
-
const DURATIONS = {
|
38
|
-
slow: 14000,
|
39
|
-
medium: 10000,
|
40
|
-
fast: 6000,
|
41
|
-
};
|
42
|
-
const SLOTS$1 = {
|
43
|
-
actionsEnd: "actions-end",
|
44
|
-
title: "title",
|
45
|
-
message: "message",
|
46
|
-
link: "link",
|
47
|
-
};
|
48
|
-
const CSS$1 = {
|
49
|
-
actionsEnd: "actions-end",
|
50
|
-
close: "close",
|
51
|
-
container: "container",
|
52
|
-
containerBottom: "container--bottom",
|
53
|
-
containerBottomEnd: "container--bottom-end",
|
54
|
-
containerBottomStart: "container--bottom-start",
|
55
|
-
containerActive: "container--active",
|
56
|
-
containerTop: "container--top",
|
57
|
-
containerTopEnd: "container--top-end",
|
58
|
-
containerTopStart: "container--top-start",
|
59
|
-
content: "content",
|
60
|
-
contentContainer: "content-container",
|
61
|
-
dismissProgress: "dismiss-progress",
|
62
|
-
footer: "footer",
|
63
|
-
icon: "icon",
|
64
|
-
containerEmbedded: "container--embedded",
|
65
|
-
queueCount: "queue-count",
|
66
|
-
queueCountActive: "queue-count--active",
|
67
|
-
textContainer: "text-container",
|
68
|
-
focused: "focused",
|
69
|
-
};
|
70
|
-
|
71
|
-
/*!
|
72
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
73
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
74
|
-
* v2.13.2
|
75
|
-
*/
|
76
|
-
const alertQueueTimeoutMs = 300;
|
77
|
-
class AlertManager {
|
78
|
-
constructor() {
|
79
|
-
// --------------------------------------------------------------------------
|
80
|
-
//
|
81
|
-
// Private Properties
|
82
|
-
//
|
83
|
-
// --------------------------------------------------------------------------
|
84
|
-
this.registeredElements = [];
|
85
|
-
this.queueTimeoutId = null;
|
86
|
-
}
|
87
|
-
// --------------------------------------------------------------------------
|
88
|
-
//
|
89
|
-
// Public Methods
|
90
|
-
//
|
91
|
-
// --------------------------------------------------------------------------
|
92
|
-
registerElement(alert) {
|
93
|
-
const { registeredElements } = this;
|
94
|
-
if (!registeredElements.includes(alert)) {
|
95
|
-
switch (alert.queue) {
|
96
|
-
case "immediate":
|
97
|
-
registeredElements.unshift(alert);
|
98
|
-
break;
|
99
|
-
case "next":
|
100
|
-
registeredElements.splice(1, 0, alert);
|
101
|
-
break;
|
102
|
-
case "last":
|
103
|
-
registeredElements.push(alert);
|
104
|
-
break;
|
105
|
-
}
|
106
|
-
this.updateAlerts();
|
107
|
-
}
|
108
|
-
}
|
109
|
-
unregisterElement(alert) {
|
110
|
-
const { registeredElements } = this;
|
111
|
-
const index = registeredElements.indexOf(alert);
|
112
|
-
if (index !== -1) {
|
113
|
-
registeredElements.splice(index, 1);
|
114
|
-
}
|
115
|
-
alert.active = false;
|
116
|
-
this.updateAlerts();
|
117
|
-
}
|
118
|
-
// --------------------------------------------------------------------------
|
119
|
-
//
|
120
|
-
// Private Methods
|
121
|
-
//
|
122
|
-
// --------------------------------------------------------------------------
|
123
|
-
updateAlerts() {
|
124
|
-
window.clearTimeout(this.queueTimeoutId);
|
125
|
-
this.queueTimeoutId = null;
|
126
|
-
this.registeredElements.forEach((alert, index) => {
|
127
|
-
alert.openAlertCount = this.registeredElements.length;
|
128
|
-
if (index === 0) {
|
129
|
-
this.queueTimeoutId = window.setTimeout(() => (alert.active = true), alertQueueTimeoutMs);
|
130
|
-
}
|
131
|
-
else {
|
132
|
-
alert.active = false;
|
133
|
-
}
|
134
|
-
});
|
135
|
-
}
|
136
|
-
}
|
137
|
-
|
138
|
-
const alertCss = ":host{--calcite-internal-alert-edge-distance:2rem;display:block;inline-size:var(--calcite-alert-width)}.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;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(--calcite-alert-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow));background-color:var(--calcite-alert-background-color, var(--calcite-color-foreground-1));border-radius:var(--calcite-alert-corner-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);max-inline-size:calc(100% - var(--calcite-internal-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-internal-alert-edge-distance), 0);inset-block-end:var(--calcite-internal-alert-edge-distance)}.container[class*=top]{transform:translate3d(0, calc(-1 * var(--calcite-internal-alert-edge-distance)), 0);inset-block-start:var(--calcite-internal-alert-edge-distance)}.container[class*=start]{inset-inline-start:var(--calcite-internal-alert-edge-distance);inset-inline-end:auto}.container[class*=end]{inset-inline-end:var(--calcite-internal-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}.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;border-start-end-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));border-end-end-radius:var(--calcite-alert-corner-radius, var(--calcite-border-radius));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{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-2)}.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;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-color-transparent-tint);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}.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]) 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-internal-alert-min-height:3.5rem;inline-size:var(--calcite-alert-width, 40em)}:host([scale=s]) .close{padding:0.75rem}:host([scale=s]) .icon{padding-inline-start:0.75rem}:host([scale=s]) .text-container{padding-block:0.5rem;padding-inline:0.75rem 0.5rem}: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-internal-alert-min-height:4.1875rem;inline-size:var(--calcite-alert-width, 50em)}:host([scale=m]) .close{padding:1rem}:host([scale=m]) .icon{padding-inline-start:1rem}:host([scale=m]) .text-container{padding-block:0.75rem;padding-inline:1rem 0.75rem}: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-internal-alert-min-height:5.625rem;inline-size:var(--calcite-alert-width, 60em)}:host([scale=l]) .close{padding:1.25rem}:host([scale=l]) .icon{padding-inline-start:1.25rem}:host([scale=l]) .text-container{padding-block:1rem;padding-inline:1.25rem 1rem}: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-internal-alert-edge-distance)), inherit)}:host([open]) .container--active[class*=top]{transform:translate3d(0, var(--calcite-internal-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);margin-inline-end:0.5rem;color:var(--calcite-color-text-2)}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}";
|
139
|
-
const CalciteAlertStyle0 = alertCss;
|
140
|
-
|
141
|
-
const manager = new AlertManager();
|
142
|
-
const Alert = class {
|
143
|
-
constructor(hostRef) {
|
144
|
-
registerInstance(this, hostRef);
|
145
|
-
this.calciteAlertBeforeClose = createEvent(this, "calciteAlertBeforeClose", 6);
|
146
|
-
this.calciteAlertClose = createEvent(this, "calciteAlertClose", 6);
|
147
|
-
this.calciteAlertBeforeOpen = createEvent(this, "calciteAlertBeforeOpen", 6);
|
148
|
-
this.calciteAlertOpen = createEvent(this, "calciteAlertOpen", 6);
|
149
|
-
this.handleKeyBoardFocus = () => {
|
150
|
-
this.isFocused = true;
|
151
|
-
this.handleFocus();
|
152
|
-
};
|
153
|
-
this.handleKeyBoardBlur = () => {
|
154
|
-
this.isFocused = false;
|
155
|
-
if (!this.isHovered) {
|
156
|
-
this.handleBlur();
|
157
|
-
}
|
158
|
-
};
|
159
|
-
this.autoCloseTimeoutId = null;
|
160
|
-
this.totalOpenTime = 0;
|
161
|
-
this.totalHoverTime = 0;
|
162
|
-
this.openTransitionProp = "opacity";
|
163
|
-
this.setTransitionEl = (el) => {
|
164
|
-
this.transitionEl = el;
|
165
|
-
};
|
166
|
-
/** close and emit calciteInternalAlertSync event with the updated queue payload */
|
167
|
-
this.closeAlert = () => {
|
168
|
-
this.open = false;
|
169
|
-
this.clearAutoCloseTimeout();
|
170
|
-
};
|
171
|
-
this.actionsEndSlotChangeHandler = (event) => {
|
172
|
-
this.hasEndActions = slotChangeHasAssignedElement(event);
|
173
|
-
};
|
174
|
-
this.handleMouseOver = () => {
|
175
|
-
this.isHovered = true;
|
176
|
-
this.handleFocus();
|
177
|
-
};
|
178
|
-
this.handleMouseLeave = () => {
|
179
|
-
this.isHovered = false;
|
180
|
-
if (!this.isFocused) {
|
181
|
-
this.handleBlur();
|
182
|
-
}
|
183
|
-
};
|
184
|
-
this.handleFocus = () => {
|
185
|
-
this.clearAutoCloseTimeout();
|
186
|
-
this.totalOpenTime = Date.now() - this.initialOpenTime;
|
187
|
-
this.lastMouseOverBegin = Date.now();
|
188
|
-
};
|
189
|
-
this.handleBlur = () => {
|
190
|
-
const hoverDuration = Date.now() - this.lastMouseOverBegin;
|
191
|
-
const timeRemaining = DURATIONS[this.autoCloseDuration] - this.totalOpenTime + this.totalHoverTime;
|
192
|
-
this.totalHoverTime = this.totalHoverTime ? hoverDuration + this.totalHoverTime : hoverDuration;
|
193
|
-
this.autoCloseTimeoutId = window.setTimeout(() => this.closeAlert(), timeRemaining);
|
194
|
-
};
|
195
|
-
this.active = false;
|
196
|
-
this.openAlertCount = 0;
|
197
|
-
this.open = false;
|
198
|
-
this.autoClose = false;
|
199
|
-
this.autoCloseDuration = "medium";
|
200
|
-
this.embedded = false;
|
201
|
-
this.kind = "brand";
|
202
|
-
this.icon = undefined;
|
203
|
-
this.iconFlipRtl = false;
|
204
|
-
this.label = undefined;
|
205
|
-
this.numberingSystem = undefined;
|
206
|
-
this.placement = "bottom";
|
207
|
-
this.scale = "m";
|
208
|
-
this.messages = undefined;
|
209
|
-
this.messageOverrides = undefined;
|
210
|
-
this.queue = "last";
|
211
|
-
this.defaultMessages = undefined;
|
212
|
-
this.effectiveLocale = "";
|
213
|
-
this.numberStringFormatter = new NumberStringFormat();
|
214
|
-
this.hasEndActions = false;
|
215
|
-
this.isFocused = false;
|
216
|
-
}
|
217
|
-
handleActiveChange() {
|
218
|
-
this.clearAutoCloseTimeout();
|
219
|
-
if (this.active && this.autoClose && !this.autoCloseTimeoutId) {
|
220
|
-
this.initialOpenTime = Date.now();
|
221
|
-
this.autoCloseTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoCloseDuration]);
|
222
|
-
}
|
223
|
-
}
|
224
|
-
openHandler() {
|
225
|
-
onToggleOpenCloseComponent(this);
|
226
|
-
if (this.open) {
|
227
|
-
manager.registerElement(this.el);
|
228
|
-
}
|
229
|
-
else {
|
230
|
-
manager.unregisterElement(this.el);
|
231
|
-
}
|
232
|
-
}
|
233
|
-
updateDuration() {
|
234
|
-
if (this.autoClose && this.autoCloseTimeoutId) {
|
235
|
-
this.clearAutoCloseTimeout();
|
236
|
-
this.autoCloseTimeoutId = window.setTimeout(() => this.closeAlert(), DURATIONS[this.autoCloseDuration]);
|
237
|
-
}
|
238
|
-
}
|
239
|
-
onMessagesChange() {
|
240
|
-
/* wired up by t9n util */
|
241
|
-
}
|
242
|
-
handleQueueChange() {
|
243
|
-
if (this.open) {
|
244
|
-
manager.unregisterElement(this.el);
|
245
|
-
manager.registerElement(this.el);
|
246
|
-
}
|
247
|
-
}
|
248
|
-
//--------------------------------------------------------------------------
|
249
|
-
//
|
250
|
-
// Lifecycle
|
251
|
-
//
|
252
|
-
//--------------------------------------------------------------------------
|
253
|
-
connectedCallback() {
|
254
|
-
connectLocalized(this);
|
255
|
-
connectMessages(this);
|
256
|
-
const open = this.open;
|
257
|
-
if (open) {
|
258
|
-
manager.registerElement(this.el);
|
259
|
-
}
|
260
|
-
this.numberStringFormatter.numberFormatOptions = {
|
261
|
-
locale: this.effectiveLocale,
|
262
|
-
numberingSystem: this.numberingSystem,
|
263
|
-
signDisplay: "always",
|
264
|
-
};
|
265
|
-
}
|
266
|
-
async componentWillLoad() {
|
267
|
-
setUpLoadableComponent(this);
|
268
|
-
await setUpMessages(this);
|
269
|
-
if (this.open) {
|
270
|
-
onToggleOpenCloseComponent(this);
|
271
|
-
}
|
272
|
-
}
|
273
|
-
componentDidLoad() {
|
274
|
-
setComponentLoaded(this);
|
275
|
-
}
|
276
|
-
disconnectedCallback() {
|
277
|
-
manager.unregisterElement(this.el);
|
278
|
-
this.clearAutoCloseTimeout();
|
279
|
-
disconnectLocalized(this);
|
280
|
-
disconnectMessages(this);
|
281
|
-
this.embedded = false;
|
282
|
-
}
|
283
|
-
render() {
|
284
|
-
const { open, autoClose, label, placement, active, openAlertCount } = this;
|
285
|
-
const role = autoClose ? "alert" : "alertdialog";
|
286
|
-
const hidden = !open;
|
287
|
-
const effectiveIcon = setRequestedIcon(KindIcons, this.icon, this.kind);
|
288
|
-
const hasQueuedAlerts = openAlertCount > 1;
|
289
|
-
return (h(Host, { key: 'cecedeaa678e4f6e22fd2aabc4d29bc8589430f6', "aria-hidden": toAriaBoolean(hidden), "aria-label": label, "calcite-hydrated-hidden": hidden, role: role }, h("div", { key: 'ca85d5f5ec313f3a305e01dcc8cbbad9647dd516', class: {
|
290
|
-
[CSS$1.container]: true,
|
291
|
-
[CSS$1.containerActive]: active,
|
292
|
-
[`${CSS$1.container}--${placement}`]: true,
|
293
|
-
[CSS$1.containerEmbedded]: this.embedded,
|
294
|
-
[CSS$1.focused]: this.isFocused,
|
295
|
-
}, onPointerEnter: this.autoClose && this.autoCloseTimeoutId ? this.handleMouseOver : null, onPointerLeave: this.autoClose ? this.handleMouseLeave : null, ref: this.setTransitionEl }, effectiveIcon && this.renderIcon(effectiveIcon), h("div", { key: '1f72f255c3e0630eed63bb62d3d50f4a2ba6a528', class: CSS$1.textContainer, onFocusin: this.autoClose && this.autoCloseTimeoutId ? this.handleKeyBoardFocus : null, onFocusout: this.autoClose ? this.handleKeyBoardBlur : null }, h("slot", { key: 'aade607960adea0a10f5eac85b119444085c9cf9', name: SLOTS$1.title }), h("slot", { key: '1f47158cfbf8c0626cd49246142fb750311b1d4a', name: SLOTS$1.message }), h("slot", { key: '5ba06e024b517f23168311828cc8ce41c21926a6', name: SLOTS$1.link })), this.renderActionsEnd(), hasQueuedAlerts ? this.renderQueueCount() : null, this.renderCloseButton(), open && active && autoClose ? h("div", { class: CSS$1.dismissProgress }) : null)));
|
296
|
-
}
|
297
|
-
renderCloseButton() {
|
298
|
-
return (h("button", { "aria-label": this.messages.close, class: CSS$1.close, key: "close", onClick: this.closeAlert, onFocusin: this.autoClose ? this.handleKeyBoardFocus : null, onFocusout: this.autoClose ? this.handleKeyBoardBlur : null, ref: (el) => (this.closeButton = el), type: "button" }, h("calcite-icon", { icon: "x", scale: getIconScale(this.scale) })));
|
299
|
-
}
|
300
|
-
renderQueueCount() {
|
301
|
-
const { openAlertCount } = this;
|
302
|
-
const queueNumber = openAlertCount > 2 ? openAlertCount - 1 : 1;
|
303
|
-
const queueText = this.numberStringFormatter.numberFormatter.format(queueNumber);
|
304
|
-
return (h("div", { class: {
|
305
|
-
[CSS$1.queueCount]: true,
|
306
|
-
[CSS$1.queueCountActive]: openAlertCount > 1,
|
307
|
-
}, key: "queue-count" }, h("calcite-chip", { scale: this.scale, value: queueText }, queueText)));
|
308
|
-
}
|
309
|
-
renderActionsEnd() {
|
310
|
-
return (h("div", { class: CSS$1.actionsEnd }, h("slot", { name: SLOTS$1.actionsEnd, onSlotchange: this.actionsEndSlotChangeHandler })));
|
311
|
-
}
|
312
|
-
renderIcon(icon) {
|
313
|
-
return (h("div", { class: CSS$1.icon }, h("calcite-icon", { flipRtl: this.iconFlipRtl, icon: icon, scale: getIconScale(this.scale) })));
|
314
|
-
}
|
315
|
-
//--------------------------------------------------------------------------
|
316
|
-
//
|
317
|
-
// Public Methods
|
318
|
-
//
|
319
|
-
//--------------------------------------------------------------------------
|
320
|
-
/**
|
321
|
-
* Sets focus on the component's "close" button, the first focusable item.
|
322
|
-
*
|
323
|
-
@returns {Promise<void>}
|
324
|
-
*/
|
325
|
-
async setFocus() {
|
326
|
-
await componentFocusable(this);
|
327
|
-
const alertLinkEl = getSlotted(this.el, { selector: "calcite-link" });
|
328
|
-
if (!this.closeButton && !alertLinkEl) {
|
329
|
-
return;
|
330
|
-
}
|
331
|
-
else if (alertLinkEl) {
|
332
|
-
return alertLinkEl.setFocus();
|
333
|
-
}
|
334
|
-
else if (this.closeButton) {
|
335
|
-
this.closeButton.focus();
|
336
|
-
}
|
337
|
-
}
|
338
|
-
effectiveLocaleChange() {
|
339
|
-
updateMessages(this, this.effectiveLocale);
|
340
|
-
this.numberStringFormatter.numberFormatOptions = {
|
341
|
-
locale: this.effectiveLocale,
|
342
|
-
numberingSystem: this.numberingSystem,
|
343
|
-
signDisplay: "always",
|
344
|
-
};
|
345
|
-
}
|
346
|
-
numberingSystemChange() {
|
347
|
-
this.numberStringFormatter.numberFormatOptions = {
|
348
|
-
locale: this.effectiveLocale,
|
349
|
-
numberingSystem: this.numberingSystem,
|
350
|
-
signDisplay: "always",
|
351
|
-
};
|
352
|
-
}
|
353
|
-
//--------------------------------------------------------------------------
|
354
|
-
//
|
355
|
-
// Private Methods
|
356
|
-
//
|
357
|
-
//--------------------------------------------------------------------------
|
358
|
-
clearAutoCloseTimeout() {
|
359
|
-
window.clearTimeout(this.autoCloseTimeoutId);
|
360
|
-
this.autoCloseTimeoutId = null;
|
361
|
-
}
|
362
|
-
onBeforeOpen() {
|
363
|
-
this.calciteAlertBeforeOpen.emit();
|
364
|
-
}
|
365
|
-
onOpen() {
|
366
|
-
this.calciteAlertOpen.emit();
|
367
|
-
}
|
368
|
-
onBeforeClose() {
|
369
|
-
this.calciteAlertBeforeClose.emit();
|
370
|
-
}
|
371
|
-
onClose() {
|
372
|
-
this.calciteAlertClose.emit();
|
373
|
-
}
|
374
|
-
static get assetsDirs() { return ["assets"]; }
|
375
|
-
get el() { return getElement(this); }
|
376
|
-
static get watchers() { return {
|
377
|
-
"active": ["handleActiveChange"],
|
378
|
-
"open": ["openHandler"],
|
379
|
-
"autoCloseDuration": ["updateDuration"],
|
380
|
-
"messageOverrides": ["onMessagesChange"],
|
381
|
-
"queue": ["handleQueueChange"],
|
382
|
-
"effectiveLocale": ["effectiveLocaleChange"],
|
383
|
-
"numberingSystem": ["numberingSystemChange"]
|
384
|
-
}; }
|
385
|
-
};
|
386
|
-
Alert.style = CalciteAlertStyle0;
|
387
|
-
|
388
|
-
/*!
|
389
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
390
|
-
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
391
|
-
* v2.13.2
|
392
|
-
*/
|
393
|
-
const CSS = {
|
394
|
-
backButton: "back-button",
|
395
|
-
};
|
396
|
-
const ICONS = {
|
397
|
-
backLeft: "chevron-left",
|
398
|
-
backRight: "chevron-right",
|
399
|
-
};
|
400
|
-
const SLOTS = {
|
401
|
-
actionBar: "action-bar",
|
402
|
-
alerts: "alerts",
|
403
|
-
contentTop: "content-top",
|
404
|
-
contentBottom: "content-bottom",
|
405
|
-
headerActionsStart: "header-actions-start",
|
406
|
-
headerActionsEnd: "header-actions-end",
|
407
|
-
headerMenuActions: "header-menu-actions",
|
408
|
-
headerContent: "header-content",
|
409
|
-
fab: "fab",
|
410
|
-
footer: "footer",
|
411
|
-
footerActions: "footer-actions",
|
412
|
-
footerEnd: "footer-end",
|
413
|
-
footerStart: "footer-start",
|
414
|
-
};
|
415
|
-
|
416
|
-
const flowItemCss = ":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}";
|
417
|
-
const CalciteFlowItemStyle0 = flowItemCss;
|
418
|
-
|
419
|
-
const FlowItem = class {
|
420
|
-
constructor(hostRef) {
|
421
|
-
registerInstance(this, hostRef);
|
422
|
-
this.calciteFlowItemBack = createEvent(this, "calciteFlowItemBack", 7);
|
423
|
-
this.calciteFlowItemScroll = createEvent(this, "calciteFlowItemScroll", 6);
|
424
|
-
this.calciteFlowItemClose = createEvent(this, "calciteFlowItemClose", 6);
|
425
|
-
this.calciteFlowItemToggle = createEvent(this, "calciteFlowItemToggle", 6);
|
426
|
-
// --------------------------------------------------------------------------
|
427
|
-
//
|
428
|
-
// Private Methods
|
429
|
-
//
|
430
|
-
// --------------------------------------------------------------------------
|
431
|
-
this.handleInternalPanelScroll = (event) => {
|
432
|
-
if (event.target !== this.containerEl) {
|
433
|
-
return;
|
434
|
-
}
|
435
|
-
event.stopPropagation();
|
436
|
-
this.calciteFlowItemScroll.emit();
|
437
|
-
};
|
438
|
-
this.handleInternalPanelClose = (event) => {
|
439
|
-
if (event.target !== this.containerEl) {
|
440
|
-
return;
|
441
|
-
}
|
442
|
-
event.stopPropagation();
|
443
|
-
this.closed = true;
|
444
|
-
this.calciteFlowItemClose.emit();
|
445
|
-
};
|
446
|
-
this.handleInternalPanelToggle = (event) => {
|
447
|
-
if (event.target !== this.containerEl) {
|
448
|
-
return;
|
449
|
-
}
|
450
|
-
event.stopPropagation();
|
451
|
-
this.collapsed = event.target.collapsed;
|
452
|
-
this.calciteFlowItemToggle.emit();
|
453
|
-
};
|
454
|
-
this.backButtonClick = () => {
|
455
|
-
this.calciteFlowItemBack.emit();
|
456
|
-
};
|
457
|
-
this.setBackRef = (node) => {
|
458
|
-
this.backButtonEl = node;
|
459
|
-
};
|
460
|
-
this.setContainerRef = (node) => {
|
461
|
-
this.containerEl = node;
|
462
|
-
};
|
463
|
-
this.closable = false;
|
464
|
-
this.closed = false;
|
465
|
-
this.collapsed = false;
|
466
|
-
this.collapseDirection = "down";
|
467
|
-
this.collapsible = false;
|
468
|
-
this.beforeBack = undefined;
|
469
|
-
this.beforeClose = undefined;
|
470
|
-
this.description = undefined;
|
471
|
-
this.disabled = false;
|
472
|
-
this.heading = undefined;
|
473
|
-
this.headingLevel = undefined;
|
474
|
-
this.loading = false;
|
475
|
-
this.menuOpen = false;
|
476
|
-
this.messageOverrides = undefined;
|
477
|
-
this.messages = undefined;
|
478
|
-
this.overlayPositioning = "absolute";
|
479
|
-
this.scale = "m";
|
480
|
-
this.showBackButton = false;
|
481
|
-
this.defaultMessages = undefined;
|
482
|
-
this.effectiveLocale = "";
|
483
|
-
}
|
484
|
-
onMessagesChange() {
|
485
|
-
/* wired up by t9n util */
|
486
|
-
}
|
487
|
-
//--------------------------------------------------------------------------
|
488
|
-
//
|
489
|
-
// Lifecycle
|
490
|
-
//
|
491
|
-
//--------------------------------------------------------------------------
|
492
|
-
connectedCallback() {
|
493
|
-
connectLocalized(this);
|
494
|
-
connectMessages(this);
|
495
|
-
}
|
496
|
-
async componentWillLoad() {
|
497
|
-
await setUpMessages(this);
|
498
|
-
setUpLoadableComponent(this);
|
499
|
-
}
|
500
|
-
componentDidRender() {
|
501
|
-
updateHostInteraction(this);
|
502
|
-
}
|
503
|
-
disconnectedCallback() {
|
504
|
-
disconnectLocalized(this);
|
505
|
-
disconnectMessages(this);
|
506
|
-
}
|
507
|
-
componentDidLoad() {
|
508
|
-
setComponentLoaded(this);
|
509
|
-
}
|
510
|
-
effectiveLocaleChange() {
|
511
|
-
updateMessages(this, this.effectiveLocale);
|
512
|
-
}
|
513
|
-
// --------------------------------------------------------------------------
|
514
|
-
//
|
515
|
-
// Methods
|
516
|
-
//
|
517
|
-
// --------------------------------------------------------------------------
|
518
|
-
/**
|
519
|
-
* Sets focus on the component.
|
520
|
-
*
|
521
|
-
* @returns promise.
|
522
|
-
*/
|
523
|
-
async setFocus() {
|
524
|
-
await componentFocusable(this);
|
525
|
-
const { backButtonEl, containerEl } = this;
|
526
|
-
if (backButtonEl) {
|
527
|
-
return backButtonEl.setFocus();
|
528
|
-
}
|
529
|
-
else if (containerEl) {
|
530
|
-
return containerEl.setFocus();
|
531
|
-
}
|
532
|
-
}
|
533
|
-
/**
|
534
|
-
* Scrolls the component's content to a specified set of coordinates.
|
535
|
-
*
|
536
|
-
* @example
|
537
|
-
* myCalciteFlowItem.scrollContentTo({
|
538
|
-
* left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
|
539
|
-
* top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
|
540
|
-
* behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
|
541
|
-
* });
|
542
|
-
* @param options - allows specific coordinates to be defined.
|
543
|
-
* @returns - promise that resolves once the content is scrolled to.
|
544
|
-
*/
|
545
|
-
async scrollContentTo(options) {
|
546
|
-
await this.containerEl?.scrollContentTo(options);
|
547
|
-
}
|
548
|
-
// --------------------------------------------------------------------------
|
549
|
-
//
|
550
|
-
// Render Methods
|
551
|
-
//
|
552
|
-
// --------------------------------------------------------------------------
|
553
|
-
renderBackButton() {
|
554
|
-
const { el } = this;
|
555
|
-
const rtl = getElementDir(el) === "rtl";
|
556
|
-
const { showBackButton, backButtonClick, messages } = this;
|
557
|
-
const label = messages.back;
|
558
|
-
const icon = rtl ? ICONS.backRight : ICONS.backLeft;
|
559
|
-
return showBackButton ? (h("calcite-action", { "aria-label": label, class: CSS.backButton, icon: icon, key: "flow-back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: "header-actions-start", text: label, title: label })) : null;
|
560
|
-
}
|
561
|
-
render() {
|
562
|
-
const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messages, overlayPositioning, beforeClose, } = this;
|
563
|
-
return (h(Host, { key: '2e7872bb2687db0b67ddbf375f8ec0beaabbda36' }, h(InteractiveContainer, { key: 'a9418954405a2cec2092bae3be5d77f02306e3c9', disabled: disabled }, h("calcite-panel", { key: 'd563c751421bf2d66c03286deaa613e09f585546', beforeClose: beforeClose, closable: closable, closed: closed, collapseDirection: collapseDirection, collapsed: collapsed, collapsible: collapsible, description: description, disabled: disabled, heading: heading, headingLevel: headingLevel, loading: loading, menuOpen: menuOpen, messageOverrides: messages, onCalcitePanelClose: this.handleInternalPanelClose, onCalcitePanelScroll: this.handleInternalPanelScroll, onCalcitePanelToggle: this.handleInternalPanelToggle, overlayPositioning: overlayPositioning, ref: this.setContainerRef, scale: this.scale }, this.renderBackButton(), h("slot", { key: 'c506ec8bb4debbd6a9da6c7941878de49776f614', name: SLOTS.actionBar, slot: SLOTS$2.actionBar }), h("slot", { key: 'e76e55e654ff878acff734bdf387402a9e262159', name: SLOTS.alerts, slot: SLOTS$2.alerts }), h("slot", { key: 'f7ab8839d7b101e31087130ebf3e36af1ec7da24', name: SLOTS.headerActionsStart, slot: SLOTS$2.headerActionsStart }), h("slot", { key: '2932c4c15b168732356b8e55fcc3064f5b3f4cf5', name: SLOTS.headerActionsEnd, slot: SLOTS$2.headerActionsEnd }), h("slot", { key: '1ef8a9050683022733695445092f8c626487d87b', name: SLOTS.headerContent, slot: SLOTS$2.headerContent }), h("slot", { key: '24c0ab570a601a6c0edfb0c820e580fd24b158ce', name: SLOTS.headerMenuActions, slot: SLOTS$2.headerMenuActions }), h("slot", { key: 'ec55bbe7ba939a6efb35225850c37a1aadb97275', name: SLOTS.fab, slot: SLOTS$2.fab }), h("slot", { key: 'aa0bfec47656ef9f7f575cd933897a7909e5badc', name: SLOTS.contentTop, slot: SLOTS$2.contentTop }), h("slot", { key: 'e23532d080e2df529c2aeb6af043c6efe7a0ab6d', name: SLOTS.contentBottom, slot: SLOTS$2.contentBottom }), h("slot", { key: 'db6ffc0d9300c77067a4c88ab277de685c7713af', name: SLOTS.footerStart, slot: SLOTS$2.footerStart }), h("slot", { key: '5f249356da9292f34c4036d0d0741f048fe999e9', name: SLOTS.footer, slot: SLOTS$2.footer }), h("slot", { key: '7476137bacc0f3be5c97682c5027f74d73254765', name: SLOTS.footerEnd, slot: SLOTS$2.footerEnd }), h("slot", { key: '58f60a46c42a05abe9b100a57d478d991e4f25bc', name: SLOTS.footerActions, slot: SLOTS$2.footerActions }), h("slot", { key: '926a8d94b76b6fcdef6dfd219ba8180c44f81c35' })))));
|
564
|
-
}
|
565
|
-
static get assetsDirs() { return ["assets"]; }
|
566
|
-
get el() { return getElement(this); }
|
567
|
-
static get watchers() { return {
|
568
|
-
"messageOverrides": ["onMessagesChange"],
|
569
|
-
"effectiveLocale": ["effectiveLocaleChange"]
|
570
|
-
}; }
|
571
|
-
};
|
572
|
-
FlowItem.style = CalciteFlowItemStyle0;
|
573
|
-
|
574
|
-
const createFeatureCss = ":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 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute !important;bottom:0;height:auto !important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0 !important;min-height:0 !important}}";
|
575
|
-
const CreateFeatureStyle0 = createFeatureCss;
|
576
|
-
|
577
|
-
const CreateFeature = class {
|
578
|
-
constructor(hostRef) {
|
579
|
-
registerInstance(this, hostRef);
|
580
|
-
this.success = createEvent(this, "success", 7);
|
581
|
-
this.fail = createEvent(this, "fail", 7);
|
582
|
-
this.drawComplete = createEvent(this, "drawComplete", 7);
|
583
|
-
this.editingAttachment = createEvent(this, "editingAttachment", 7);
|
584
|
-
this.progressStatus = createEvent(this, "progressStatus", 7);
|
585
|
-
this.modeChanged = createEvent(this, "modeChanged", 7);
|
586
|
-
this.mapView = undefined;
|
587
|
-
this.selectedLayerId = undefined;
|
588
|
-
this.customizeSubmit = false;
|
589
|
-
this.locale = undefined;
|
590
|
-
this.searchConfiguration = undefined;
|
591
|
-
this.isMobile = undefined;
|
592
|
-
this.floorLevel = undefined;
|
593
|
-
this.formElements = undefined;
|
594
|
-
this.enableSearch = false;
|
595
|
-
this.showGuidingMsg = true;
|
596
|
-
this.showGuidingMsgWhileDrawing = true;
|
597
|
-
this._editorLoading = false;
|
598
|
-
this._currentPage = "templatePicker";
|
599
|
-
this._translations = undefined;
|
600
|
-
}
|
601
|
-
get el() { return getElement(this); }
|
602
|
-
//--------------------------------------------------------------------------
|
603
|
-
//
|
604
|
-
// Properties (protected)
|
605
|
-
//
|
606
|
-
//--------------------------------------------------------------------------
|
607
|
-
/**
|
608
|
-
* esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
|
609
|
-
* The Editor constructor
|
610
|
-
*/
|
611
|
-
Editor;
|
612
|
-
/**
|
613
|
-
* esri/form/ExpressionInfo: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html
|
614
|
-
* The ExpressionInfo constructor
|
615
|
-
*/
|
616
|
-
ExpressionInfo;
|
617
|
-
/**
|
618
|
-
* esri/form/elements/FieldElement: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html
|
619
|
-
* The FieldElement constructor
|
620
|
-
*/
|
621
|
-
FieldElement;
|
622
|
-
/**
|
623
|
-
* esri/form/FormTemplate: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html
|
624
|
-
*/
|
625
|
-
FormTemplate;
|
626
|
-
/**
|
627
|
-
* esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
|
628
|
-
* The Editor instance
|
629
|
-
*/
|
630
|
-
_editor;
|
631
|
-
/**
|
632
|
-
* https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
633
|
-
* The Feature layer instance
|
634
|
-
*/
|
635
|
-
FeatureLayer;
|
636
|
-
/**
|
637
|
-
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
638
|
-
* The MapView instance
|
639
|
-
*/
|
640
|
-
MapView;
|
641
|
-
/**
|
642
|
-
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
643
|
-
* Updated map view instance
|
644
|
-
*/
|
645
|
-
_updatedMapView;
|
646
|
-
/**
|
647
|
-
* esri/widgets/Search: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
|
648
|
-
* The Search instance
|
649
|
-
*/
|
650
|
-
Search;
|
651
|
-
/**
|
652
|
-
* "esri/widgets/Search": https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
|
653
|
-
* The Search instance
|
654
|
-
*/
|
655
|
-
_search;
|
656
|
-
/**
|
657
|
-
* esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
|
658
|
-
*/
|
659
|
-
reactiveUtils;
|
660
|
-
/**
|
661
|
-
* boolean: Flag to maintain the add attachment
|
662
|
-
*/
|
663
|
-
_addingAttachment;
|
664
|
-
/**
|
665
|
-
* HTMLDivElement: The node the editor will be added to
|
666
|
-
*/
|
667
|
-
_container;
|
668
|
-
/**
|
669
|
-
* HTMLDivElement: The node for the map view
|
670
|
-
*/
|
671
|
-
_mapViewContainer;
|
672
|
-
/**
|
673
|
-
* boolean: Flag to maintain form submission using submit button
|
674
|
-
*/
|
675
|
-
_isSubmitBtnClicked = false;
|
676
|
-
/**
|
677
|
-
* __esri.FeatureLayer: selected feature layer;
|
678
|
-
*/
|
679
|
-
_selectedLayer;
|
680
|
-
/**
|
681
|
-
* HTMLDivElement: refrence for search div element
|
682
|
-
*/
|
683
|
-
_searchDiv;
|
684
|
-
/**
|
685
|
-
* HTMLCalciteNoticeElement: calcite notice refrence element
|
686
|
-
*/
|
687
|
-
_calciteNotice;
|
688
|
-
//--------------------------------------------------------------------------
|
689
|
-
//
|
690
|
-
// Watch handlers
|
691
|
-
//
|
692
|
-
//--------------------------------------------------------------------------
|
693
|
-
/**
|
694
|
-
* Fetch translations when the locale is updated
|
695
|
-
*/
|
696
|
-
async localeWatchHandler() {
|
697
|
-
// to support url param and language switcher
|
698
|
-
this.el.lang = this.locale;
|
699
|
-
await this._getTranslations();
|
700
|
-
}
|
701
|
-
/**
|
702
|
-
* Called each time the mapView prop is changed.
|
703
|
-
*/
|
704
|
-
async mapViewWatchHandler() {
|
705
|
-
await this.mapView.when(async () => {
|
706
|
-
await this.init();
|
707
|
-
});
|
708
|
-
}
|
709
|
-
/**
|
710
|
-
* Called each time when isMobile prop is changed.
|
711
|
-
*/
|
712
|
-
async isMobileHandler() {
|
713
|
-
// emit an event when mode is changed to back to the feature selection panel (to avoid multiple maps conflict)
|
714
|
-
this.modeChanged.emit();
|
715
|
-
}
|
716
|
-
/**
|
717
|
-
* When _editorLoading is true the container node will be hidden while starting the create workflow
|
718
|
-
*/
|
719
|
-
async _editorLoadingWatchHandler(v) {
|
720
|
-
if (v) {
|
721
|
-
this._container?.classList.add("display-none");
|
722
|
-
if (this._selectedLayer?.isTable) {
|
723
|
-
const template = this._selectedLayer.templates[0];
|
724
|
-
const creationInfo = {
|
725
|
-
layer: this._selectedLayer,
|
726
|
-
template
|
727
|
-
};
|
728
|
-
await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(creationInfo);
|
729
|
-
await this.hideEditorsElements();
|
730
|
-
}
|
731
|
-
else {
|
732
|
-
await this.startCreate();
|
733
|
-
}
|
734
|
-
this._container?.classList.remove("display-none");
|
735
|
-
this._editorLoading = false;
|
736
|
-
}
|
737
|
-
}
|
738
|
-
//--------------------------------------------------------------------------
|
739
|
-
//
|
740
|
-
// Methods (public)
|
741
|
-
//
|
742
|
-
//--------------------------------------------------------------------------
|
743
|
-
/**
|
744
|
-
* Submit the created feature
|
745
|
-
* @returns Promise that resolves when the operation is complete
|
746
|
-
*/
|
747
|
-
async submit() {
|
748
|
-
if (this._editor) {
|
749
|
-
this._isSubmitBtnClicked = true;
|
750
|
-
this._editor.viewModel.featureFormViewModel.submit();
|
751
|
-
}
|
752
|
-
}
|
753
|
-
/**
|
754
|
-
* refresh the feature form
|
755
|
-
* @returns Promise that resolves when the operation is complete
|
756
|
-
*/
|
757
|
-
async refresh(floorLevel) {
|
758
|
-
if (this._editor) {
|
759
|
-
void this._setFloorLevel(floorLevel);
|
760
|
-
}
|
761
|
-
}
|
762
|
-
//--------------------------------------------------------------------------
|
763
|
-
//
|
764
|
-
// Events (public)
|
765
|
-
//
|
766
|
-
//--------------------------------------------------------------------------
|
767
|
-
/**
|
768
|
-
* Emitted on demand when the feature is created successfully
|
769
|
-
*/
|
770
|
-
success;
|
771
|
-
/**
|
772
|
-
* Emitted on demand when the feature creation is failed
|
773
|
-
*/
|
774
|
-
fail;
|
775
|
-
/**
|
776
|
-
* Emitted on demand when drawing is completed
|
777
|
-
*/
|
778
|
-
drawComplete;
|
779
|
-
/**
|
780
|
-
* Emitted on demand when editing attachments
|
781
|
-
*/
|
782
|
-
editingAttachment;
|
783
|
-
/**
|
784
|
-
* Emitted on demand when editor panel changes
|
785
|
-
*/
|
786
|
-
progressStatus;
|
787
|
-
/**
|
788
|
-
* Emitted on switched form mobile to desktop or vice versa
|
789
|
-
*/
|
790
|
-
modeChanged;
|
791
|
-
//--------------------------------------------------------------------------
|
792
|
-
//
|
793
|
-
// Functions (lifecycle)
|
794
|
-
//
|
795
|
-
//--------------------------------------------------------------------------
|
796
|
-
/**
|
797
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
798
|
-
* @returns Promise when complete
|
799
|
-
*/
|
800
|
-
async componentWillLoad() {
|
801
|
-
await this._getTranslations();
|
802
|
-
await this.initModules();
|
803
|
-
}
|
804
|
-
/**
|
805
|
-
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
806
|
-
*/
|
807
|
-
async componentDidLoad() {
|
808
|
-
await this.init();
|
809
|
-
}
|
810
|
-
/**
|
811
|
-
* Called after each render
|
812
|
-
* Used to adjust the map top in case of mobile
|
813
|
-
*/
|
814
|
-
componentDidRender() {
|
815
|
-
// update the map top according to space occupied by notice msg and search
|
816
|
-
if (this.isMobile) {
|
817
|
-
// get the height of notice, search and add 80px(editor msg) height to adjust the map top
|
818
|
-
const top = this._calciteNotice.offsetHeight + this._searchDiv.offsetHeight + 80;
|
819
|
-
this._mapViewContainer.style.top = `${top}px`;
|
820
|
-
}
|
821
|
-
}
|
822
|
-
/**
|
823
|
-
* StencilJS: Called every time the component is disconnected from the DOM,
|
824
|
-
*/
|
825
|
-
disconnectedCallback() {
|
826
|
-
if (this._editor) {
|
827
|
-
this._editor.destroy();
|
828
|
-
}
|
829
|
-
}
|
830
|
-
/**
|
831
|
-
* Renders the component.
|
832
|
-
*/
|
833
|
-
render() {
|
834
|
-
const showSearchWidget = this._currentPage === 'drawing' ? "" : "display-none";
|
835
|
-
const loaderClass = this._editorLoading ? "" : "display-none";
|
836
|
-
const featureFormClass = this._editorLoading ? "display-none" : "";
|
837
|
-
const mobileMapClass = this.isMobile ? "show-map" : "display-none";
|
838
|
-
// hide guiding msg for drawing page when showGuidingMsgWhileDrawing is false
|
839
|
-
const showGuidingMsg = this.showGuidingMsg && (this.showGuidingMsgWhileDrawing || this._currentPage !== "drawing");
|
840
|
-
let guidingMsg = this._translations.chooseCategoryMsg;
|
841
|
-
if (this._currentPage === 'drawing') {
|
842
|
-
guidingMsg = this._translations.provideLocationMsg;
|
843
|
-
}
|
844
|
-
else if (this._currentPage === 'featureForm') {
|
845
|
-
guidingMsg = this._translations.provideDetailsMsg;
|
846
|
-
}
|
847
|
-
return (h(Fragment, { key: '788b2ebb85b603452d4b4de05711510f7480c895' }, showGuidingMsg && h("calcite-notice", { key: 'cf41e701f5a7605531fa6351acf13ea20e219f7a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '1bb493a8e5a962c8a8c75ac37156edbf866c3916', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '5d2e9a465cb7c6dbde8d941497fda87b4fc7c258', class: loaderClass, label: "", scale: "s" }), h("div", { key: '23b8651f4040443ba731173d1818b515b718b754', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
|
848
|
-
h("div", { key: '7f628d09111295d46fbf7b9605999c2ef88c258d', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '3def9aaab0a2f03076a6c4c645cf5a080bbb9e75', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
|
849
|
-
}
|
850
|
-
//--------------------------------------------------------------------------
|
851
|
-
//
|
852
|
-
// Functions (protected)
|
853
|
-
//
|
854
|
-
//--------------------------------------------------------------------------
|
855
|
-
/**
|
856
|
-
* Init Editor widget and Search widget
|
857
|
-
*/
|
858
|
-
async init() {
|
859
|
-
if (this.mapView && this.selectedLayerId) {
|
860
|
-
this._updatedMapView = this.mapView;
|
861
|
-
// In mobile mode show the map in panel
|
862
|
-
await (this.isMobile ? this.createMobileMapView() : this._loadWidgets());
|
863
|
-
}
|
864
|
-
}
|
865
|
-
/**
|
866
|
-
* Load esri javascript api modules
|
867
|
-
* @returns Promise resolving when function is done
|
868
|
-
* @protected
|
869
|
-
*/
|
870
|
-
async initModules() {
|
871
|
-
const [Editor, reactiveUtils, Search, ExpressionInfo, FieldElement, FormTemplate, MapView] = await loadModules([
|
872
|
-
"esri/widgets/Editor",
|
873
|
-
"esri/core/reactiveUtils",
|
874
|
-
"esri/widgets/Search",
|
875
|
-
"esri/form/ExpressionInfo",
|
876
|
-
"esri/form/elements/FieldElement",
|
877
|
-
"esri/form/FormTemplate",
|
878
|
-
"esri/views/MapView"
|
879
|
-
]);
|
880
|
-
this.Editor = Editor;
|
881
|
-
this.reactiveUtils = reactiveUtils;
|
882
|
-
this.Search = Search;
|
883
|
-
this.ExpressionInfo = ExpressionInfo;
|
884
|
-
this.FieldElement = FieldElement;
|
885
|
-
this.FormTemplate = FormTemplate;
|
886
|
-
this.MapView = MapView;
|
887
|
-
}
|
888
|
-
/**
|
889
|
-
* updates the map view (in case of mobile)
|
890
|
-
* @protected
|
891
|
-
*/
|
892
|
-
async createMobileMapView() {
|
893
|
-
this._mapViewContainer.classList.add('hide-map');
|
894
|
-
await new this.MapView({
|
895
|
-
map: this.mapView.map,
|
896
|
-
container: this._mapViewContainer,
|
897
|
-
zoom: this.mapView.zoom
|
898
|
-
}).when((view) => {
|
899
|
-
// update the mapView and load all widgets
|
900
|
-
this._updatedMapView = view;
|
901
|
-
void this._loadWidgets();
|
902
|
-
}, (e) => {
|
903
|
-
console.log(e);
|
904
|
-
});
|
905
|
-
}
|
906
|
-
/**
|
907
|
-
* Loads the Editor and Search widgets
|
908
|
-
* @protected
|
909
|
-
*/
|
910
|
-
async _loadWidgets() {
|
911
|
-
await this.createEditorWidget();
|
912
|
-
if (this.enableSearch) {
|
913
|
-
await this.createSearchWidget();
|
914
|
-
}
|
915
|
-
}
|
916
|
-
/**
|
917
|
-
* Display editor widget to create the new feature
|
918
|
-
* @protected
|
919
|
-
*/
|
920
|
-
async createEditorWidget() {
|
921
|
-
if (this._editor) {
|
922
|
-
this._editor.destroy();
|
923
|
-
}
|
924
|
-
const layerInfos = [];
|
925
|
-
this._container = document.createElement("div");
|
926
|
-
this._container?.classList.add("display-none");
|
927
|
-
const allMapLayers = await getAllLayers(this._updatedMapView);
|
928
|
-
this._selectedLayer = await getLayerOrTable(this.mapView, this.selectedLayerId);
|
929
|
-
// if layer is selected then only use the layerInfos while initializing the editor widget
|
930
|
-
if (!this._selectedLayer?.isTable) {
|
931
|
-
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
932
|
-
allMapLayers.forEach(async (eachLayer) => {
|
933
|
-
layerInfos.push({
|
934
|
-
layer: eachLayer,
|
935
|
-
enabled: eachLayer?.type === "feature" && eachLayer?.id === this.selectedLayerId,
|
936
|
-
addEnabled: true, // default is true, set to false to disable the ability to add a new feature
|
937
|
-
updateEnabled: false, // if true, enable ability to edit an existing feature
|
938
|
-
deleteEnabled: false // default is true, set to false to disable the ability to delete features
|
939
|
-
});
|
940
|
-
});
|
941
|
-
}
|
942
|
-
this._editor = new this.Editor({
|
943
|
-
view: this._updatedMapView,
|
944
|
-
layerInfos: layerInfos,
|
945
|
-
visibleElements: {
|
946
|
-
snappingControls: false,
|
947
|
-
createFeaturesSection: true,
|
948
|
-
editFeaturesSection: false
|
949
|
-
},
|
950
|
-
container: this._container
|
951
|
-
});
|
952
|
-
if (this._mapViewContainer) {
|
953
|
-
this.el.insertBefore(this._container, this._mapViewContainer);
|
954
|
-
}
|
955
|
-
else {
|
956
|
-
this.el.appendChild(this._container);
|
957
|
-
}
|
958
|
-
//Add handle to watch if attachments are added/edited
|
959
|
-
const attachmentHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
|
960
|
-
if (state === 'adding-attachment' || state === 'editing-attachment') {
|
961
|
-
this._addingAttachment = true;
|
962
|
-
this.editingAttachment.emit(true);
|
963
|
-
}
|
964
|
-
else {
|
965
|
-
if (this._addingAttachment) {
|
966
|
-
this.editingAttachment.emit(false);
|
967
|
-
this._addingAttachment = false;
|
968
|
-
}
|
969
|
-
}
|
970
|
-
});
|
971
|
-
this._editor.viewModel.addHandles(attachmentHandle);
|
972
|
-
//Add handle to watch featureTemplatesViewModel ready state and then start the creation
|
973
|
-
const handle = this.reactiveUtils.watch(() => this._editor.viewModel.featureTemplatesViewModel.state, (state) => {
|
974
|
-
if (state === 'ready' && this._editor.viewModel?.activeWorkflow?.type !== "create-features") {
|
975
|
-
this.progressStatus.emit(0.5);
|
976
|
-
this._editorLoading = true;
|
977
|
-
}
|
978
|
-
});
|
979
|
-
this._editor.viewModel.addHandles(handle);
|
980
|
-
//Add handle to watch featureFormViewModel ready state
|
981
|
-
const formHandle = this.reactiveUtils.watch(() => this._editor.viewModel.featureFormViewModel?.state, (state) => {
|
982
|
-
if (state === 'ready') {
|
983
|
-
this._mapViewContainer?.classList?.replace("show-map", "hide-map");
|
984
|
-
this._editor.viewModel.featureFormViewModel.on('submit', this.submitted.bind(this));
|
985
|
-
setTimeout(() => {
|
986
|
-
void this._setFloorLevel(this.floorLevel);
|
987
|
-
}, 50);
|
988
|
-
this._currentPage = 'featureForm';
|
989
|
-
this.progressStatus.emit(1);
|
990
|
-
this.drawComplete.emit();
|
991
|
-
}
|
992
|
-
});
|
993
|
-
this._editor.viewModel.addHandles(formHandle);
|
994
|
-
//Add handle to watch editor viewmodel state and then show the search widget
|
995
|
-
const createFeatureHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
|
996
|
-
if (state === 'creating-features') {
|
997
|
-
if (this._editor.viewModel.featureFormViewModel.state === 'disabled') {
|
998
|
-
this._mapViewContainer?.classList?.replace("hide-map", "show-map");
|
999
|
-
if (this._selectedLayer && !this._selectedLayer.isTable) {
|
1000
|
-
this._currentPage = 'drawing';
|
1001
|
-
}
|
1002
|
-
}
|
1003
|
-
}
|
1004
|
-
});
|
1005
|
-
this._editor.viewModel.addHandles(createFeatureHandle);
|
1006
|
-
}
|
1007
|
-
/**
|
1008
|
-
* Start creating the feature
|
1009
|
-
* @protected
|
1010
|
-
*/
|
1011
|
-
async startCreate() {
|
1012
|
-
// hides the header elements on template picker page
|
1013
|
-
await this.hideEditorsElements();
|
1014
|
-
return new Promise((resolve, reject) => {
|
1015
|
-
if (this._editor.viewModel.featureTemplatesViewModel.items?.length) {
|
1016
|
-
const items = this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");
|
1017
|
-
//once the feature template is selected handle the event for formSubmit and sketch complete
|
1018
|
-
//also, hide the headers and footer in the editor as we will be showing our own submit and cancel button
|
1019
|
-
this._editor.viewModel.featureTemplatesViewModel.on('select', () => {
|
1020
|
-
this.progressStatus.emit(0.75);
|
1021
|
-
setTimeout(() => {
|
1022
|
-
//hides the header and footer elements in editor widget
|
1023
|
-
this.hideEditorsElements().then(() => {
|
1024
|
-
resolve({});
|
1025
|
-
}, e => reject(e));
|
1026
|
-
}, 700);
|
1027
|
-
});
|
1028
|
-
//if only one feature template then directly start geometry creation for that
|
1029
|
-
if (items.length === 1) {
|
1030
|
-
this._editor.viewModel.featureTemplatesViewModel.select(items[0]);
|
1031
|
-
}
|
1032
|
-
const resolvePromise = items.length > 1;
|
1033
|
-
this.hideEditorsElements().then(() => {
|
1034
|
-
if (resolvePromise) {
|
1035
|
-
resolve({});
|
1036
|
-
}
|
1037
|
-
}, e => resolvePromise && reject(e));
|
1038
|
-
}
|
1039
|
-
});
|
1040
|
-
}
|
1041
|
-
/**
|
1042
|
-
* Display search widget to search location
|
1043
|
-
* @protected
|
1044
|
-
*/
|
1045
|
-
async createSearchWidget() {
|
1046
|
-
let searchOptions = {
|
1047
|
-
view: this._updatedMapView,
|
1048
|
-
};
|
1049
|
-
if (this.searchConfiguration) {
|
1050
|
-
const searchConfiguration = this._getSearchConfig(this.searchConfiguration, this._updatedMapView);
|
1051
|
-
searchOptions = {
|
1052
|
-
...searchConfiguration
|
1053
|
-
};
|
1054
|
-
}
|
1055
|
-
this._search = new this.Search(searchOptions);
|
1056
|
-
this._search.container = 'search-widget-ref';
|
1057
|
-
this._search.popupEnabled = false;
|
1058
|
-
this._search.resultGraphicEnabled = false;
|
1059
|
-
let pointGeometry = null;
|
1060
|
-
// on search get the geometry of the searched location and pass it in sketchViewModel and go to featureForm page
|
1061
|
-
this._search.on('search-complete', (e) => {
|
1062
|
-
void this._updatedMapView.goTo(e.results[0].results[0].extent);
|
1063
|
-
if (this._selectedLayer.geometryType === 'point') {
|
1064
|
-
pointGeometry = e.results[0].results[0]?.feature.geometry;
|
1065
|
-
}
|
1066
|
-
});
|
1067
|
-
//Add handle to watch if search viewModel state is ready
|
1068
|
-
const createFeatureHandle = this.reactiveUtils.watch(() => this._search.viewModel.state, (state) => {
|
1069
|
-
if (state === 'ready') {
|
1070
|
-
setTimeout(() => {
|
1071
|
-
if (this._editor.viewModel.sketchViewModel.createGraphic && pointGeometry) {
|
1072
|
-
this._editor.viewModel.sketchViewModel.createGraphic.set('geometry', pointGeometry);
|
1073
|
-
this._editor.viewModel.sketchViewModel.complete();
|
1074
|
-
void this.hideEditorsElements();
|
1075
|
-
}
|
1076
|
-
}, 100);
|
1077
|
-
}
|
1078
|
-
});
|
1079
|
-
this._search.viewModel.addHandles(createFeatureHandle);
|
1080
|
-
}
|
1081
|
-
/**
|
1082
|
-
* Initialize the search widget based on user defined configuration
|
1083
|
-
*
|
1084
|
-
* @param searchConfiguration search configuration defined by the user
|
1085
|
-
* @param view the current map view
|
1086
|
-
*
|
1087
|
-
* @protected
|
1088
|
-
*/
|
1089
|
-
_getSearchConfig(searchConfiguration, view) {
|
1090
|
-
const INCLUDE_DEFAULT_SOURCES = "includeDefaultSources";
|
1091
|
-
const sources = searchConfiguration.sources;
|
1092
|
-
if (sources?.length > 0) {
|
1093
|
-
searchConfiguration[INCLUDE_DEFAULT_SOURCES] = false;
|
1094
|
-
sources.forEach((source) => {
|
1095
|
-
const isLayerSource = source.hasOwnProperty("layer");
|
1096
|
-
if (isLayerSource) {
|
1097
|
-
const layerSource = source;
|
1098
|
-
const layerId = layerSource.layer?.id;
|
1099
|
-
const layerFromMap = layerId ? view.map.findLayerById(layerId) : null;
|
1100
|
-
const layerUrl = layerSource?.layer?.url;
|
1101
|
-
if (layerFromMap) {
|
1102
|
-
layerSource.layer = layerFromMap;
|
1103
|
-
}
|
1104
|
-
else if (layerUrl) {
|
1105
|
-
layerSource.layer = new this.FeatureLayer(layerUrl);
|
1106
|
-
}
|
1107
|
-
}
|
1108
|
-
});
|
1109
|
-
sources?.forEach((source) => {
|
1110
|
-
const isLocatorSource = source.hasOwnProperty("locator");
|
1111
|
-
if (isLocatorSource) {
|
1112
|
-
const locatorSource = source;
|
1113
|
-
if (locatorSource?.name === "ArcGIS World Geocoding Service") {
|
1114
|
-
const outFields = locatorSource.outFields || ["Addr_type", "Match_addr", "StAddr", "City"];
|
1115
|
-
locatorSource.outFields = outFields;
|
1116
|
-
locatorSource.singleLineFieldName = "SingleLine";
|
1117
|
-
}
|
1118
|
-
locatorSource.url = locatorSource.url;
|
1119
|
-
delete locatorSource.url;
|
1120
|
-
}
|
1121
|
-
});
|
1122
|
-
}
|
1123
|
-
else {
|
1124
|
-
searchConfiguration = {
|
1125
|
-
...searchConfiguration,
|
1126
|
-
includeDefaultSources: true
|
1127
|
-
};
|
1128
|
-
}
|
1129
|
-
return searchConfiguration;
|
1130
|
-
}
|
1131
|
-
/**
|
1132
|
-
* Add the floor level value to form
|
1133
|
-
* @param level selected floor level
|
1134
|
-
*
|
1135
|
-
* @protected
|
1136
|
-
*/
|
1137
|
-
async _setFloorLevel(level) {
|
1138
|
-
if (!level) {
|
1139
|
-
return;
|
1140
|
-
}
|
1141
|
-
const layer = this._selectedLayer;
|
1142
|
-
if (layer?.floorInfo?.floorField) {
|
1143
|
-
const layerField = layer.fields.find((field) => field.name === layer.floorInfo.floorField);
|
1144
|
-
// if layer field is present and form template is not present only then we can set value of floorfield into feature form otherwise create a mannual formtemplate to add the floorfeild element
|
1145
|
-
if (layerField && !layer?.formTemplate) {
|
1146
|
-
this._editor.viewModel.featureFormViewModel.setValue(layerField.name, level);
|
1147
|
-
layerField.editable = false;
|
1148
|
-
}
|
1149
|
-
else if (layer.formTemplate && this.formElements) {
|
1150
|
-
const floorInfoExpression = new this.ExpressionInfo({
|
1151
|
-
expression: `"${level}"`,
|
1152
|
-
name: "floor-info-test",
|
1153
|
-
title: "Floor Info",
|
1154
|
-
returnType: "string"
|
1155
|
-
});
|
1156
|
-
const levelIdFieldElement = new this.FieldElement({
|
1157
|
-
label: layer.floorInfo.floorField,
|
1158
|
-
editableExpression: 'false',
|
1159
|
-
fieldName: layer.floorInfo.floorField,
|
1160
|
-
input: {
|
1161
|
-
type: "text-box",
|
1162
|
-
maxLength: 50,
|
1163
|
-
minLength: 0
|
1164
|
-
},
|
1165
|
-
valueExpression: floorInfoExpression.name
|
1166
|
-
});
|
1167
|
-
this._updatedMapView.map.editableLayers.forEach((layer) => {
|
1168
|
-
const orgElements = this.formElements.orgElements;
|
1169
|
-
const orgExpressionInfos = this.formElements.orgExpressionInfos;
|
1170
|
-
const elements = [...orgElements];
|
1171
|
-
elements.push(levelIdFieldElement);
|
1172
|
-
// Creating formtemplate
|
1173
|
-
const floorInfoTemplate = new this.FormTemplate({
|
1174
|
-
title: layer.formTemplate.title,
|
1175
|
-
description: layer.formTemplate.description,
|
1176
|
-
elements,
|
1177
|
-
expressionInfos: [floorInfoExpression].concat(orgExpressionInfos)
|
1178
|
-
});
|
1179
|
-
layer.formTemplate = floorInfoTemplate;
|
1180
|
-
});
|
1181
|
-
}
|
1182
|
-
}
|
1183
|
-
}
|
1184
|
-
/**
|
1185
|
-
* Hides the elements of editor widget
|
1186
|
-
* @protected
|
1187
|
-
*/
|
1188
|
-
async hideEditorsElements() {
|
1189
|
-
if (!this.customizeSubmit) {
|
1190
|
-
return;
|
1191
|
-
}
|
1192
|
-
await this.timeout(700);
|
1193
|
-
//hides the header and footer on the featureForm
|
1194
|
-
this.el.querySelector('.esri-editor')?.querySelectorAll('calcite-flow-item')?.forEach((flowItem) => {
|
1195
|
-
const article = flowItem.shadowRoot?.querySelector('calcite-panel')?.shadowRoot?.querySelector('article');
|
1196
|
-
//hide the header
|
1197
|
-
article?.querySelector('header')?.setAttribute('style', 'display: none');
|
1198
|
-
//hide the footer
|
1199
|
-
article?.querySelector('footer')?.setAttribute('style', 'display: none');
|
1200
|
-
});
|
1201
|
-
}
|
1202
|
-
/**
|
1203
|
-
* On creation of feature emit the event that the feature is created
|
1204
|
-
* @param evt feature submit event
|
1205
|
-
* @protected
|
1206
|
-
*/
|
1207
|
-
async submitted(evt) {
|
1208
|
-
//return if any attribute is invalid , focus will be shifted to the invalid attribute in feature form
|
1209
|
-
if (evt.invalid.length) {
|
1210
|
-
this._isSubmitBtnClicked = false;
|
1211
|
-
return;
|
1212
|
-
}
|
1213
|
-
//Submit only when valid attributes
|
1214
|
-
//emit success or fail based on the result
|
1215
|
-
if (evt.valid.length && this._isSubmitBtnClicked) {
|
1216
|
-
this._isSubmitBtnClicked = false;
|
1217
|
-
try {
|
1218
|
-
await this._editor.activeWorkflow.commit();
|
1219
|
-
//throw errors if any failures
|
1220
|
-
if (this._editor.viewModel.failures?.length) {
|
1221
|
-
this._editor.viewModel.failures.some((failure) => {
|
1222
|
-
if (failure.error) {
|
1223
|
-
throw (failure.error);
|
1224
|
-
}
|
1225
|
-
});
|
1226
|
-
}
|
1227
|
-
}
|
1228
|
-
catch (e) {
|
1229
|
-
this.fail.emit(e);
|
1230
|
-
return;
|
1231
|
-
}
|
1232
|
-
this.success.emit();
|
1233
|
-
}
|
1234
|
-
}
|
1235
|
-
/**
|
1236
|
-
* call setTimeout in Promise wrapper
|
1237
|
-
* @param delay The time, in milliseconds that the timer should wait before the promise is resolved
|
1238
|
-
* @protected
|
1239
|
-
*/
|
1240
|
-
timeout(delay) {
|
1241
|
-
return new Promise(resolve => setTimeout(resolve, delay));
|
1242
|
-
}
|
1243
|
-
/**
|
1244
|
-
* Fetches the component's translations
|
1245
|
-
* @returns Promise when complete
|
1246
|
-
* @protected
|
1247
|
-
*/
|
1248
|
-
async _getTranslations() {
|
1249
|
-
const messages = await getLocaleComponentStrings(this.el);
|
1250
|
-
this._translations = messages[0];
|
1251
|
-
}
|
1252
|
-
static get watchers() { return {
|
1253
|
-
"locale": ["localeWatchHandler"],
|
1254
|
-
"mapView": ["mapViewWatchHandler"],
|
1255
|
-
"isMobile": ["isMobileHandler"],
|
1256
|
-
"_editorLoading": ["_editorLoadingWatchHandler"]
|
1257
|
-
}; }
|
1258
|
-
};
|
1259
|
-
CreateFeature.style = CreateFeatureStyle0;
|
1260
|
-
|
1261
|
-
const deleteButtonCss = ":host{display:block}.delete-modal{position:fixed}";
|
1262
|
-
const DeleteButtonStyle0 = deleteButtonCss;
|
1263
|
-
|
1264
|
-
const DeleteButton = class {
|
1265
|
-
constructor(hostRef) {
|
1266
|
-
registerInstance(this, hostRef);
|
1267
|
-
this.editsComplete = createEvent(this, "editsComplete", 7);
|
1268
|
-
this.deleteDialog = undefined;
|
1269
|
-
this.buttonType = "button";
|
1270
|
-
this.disabled = false;
|
1271
|
-
this.icon = undefined;
|
1272
|
-
this.ids = [];
|
1273
|
-
this.layer = undefined;
|
1274
|
-
this.locale = undefined;
|
1275
|
-
this._confirmDelete = false;
|
1276
|
-
this._deleteEndabled = false;
|
1277
|
-
this._supportsDelete = undefined;
|
1278
|
-
this._translations = undefined;
|
1279
|
-
}
|
1280
|
-
get el() { return getElement(this); }
|
1281
|
-
//--------------------------------------------------------------------------
|
1282
|
-
//
|
1283
|
-
// Properties (protected)
|
1284
|
-
//
|
1285
|
-
//--------------------------------------------------------------------------
|
1286
|
-
//--------------------------------------------------------------------------
|
1287
|
-
//
|
1288
|
-
// Watch handlers
|
1289
|
-
//
|
1290
|
-
//--------------------------------------------------------------------------
|
1291
|
-
/**
|
1292
|
-
* watch for changes in layer view and verify if it has editing enabled
|
1293
|
-
*/
|
1294
|
-
async idsWatchHandler() {
|
1295
|
-
this._setDeleteEnabled();
|
1296
|
-
}
|
1297
|
-
/**
|
1298
|
-
* watch for changes in layer view and verify if it has editing enabled
|
1299
|
-
*/
|
1300
|
-
async layerWatchHandler() {
|
1301
|
-
this._setDeleteEnabled();
|
1302
|
-
}
|
1303
|
-
/**
|
1304
|
-
* Fetch translations when the locale is updated
|
1305
|
-
*/
|
1306
|
-
async localeWatchHandler() {
|
1307
|
-
// to support url param and language switcher
|
1308
|
-
this.el.lang = this.locale;
|
1309
|
-
await this._getTranslations();
|
1310
|
-
}
|
1311
|
-
//--------------------------------------------------------------------------
|
1312
|
-
//
|
1313
|
-
// Methods (public)
|
1314
|
-
//
|
1315
|
-
//--------------------------------------------------------------------------
|
1316
|
-
//--------------------------------------------------------------------------
|
1317
|
-
//
|
1318
|
-
// Events (public)
|
1319
|
-
//
|
1320
|
-
//--------------------------------------------------------------------------
|
1321
|
-
/**
|
1322
|
-
* Emitted on demand when features have been deleted
|
1323
|
-
*/
|
1324
|
-
editsComplete;
|
1325
|
-
//--------------------------------------------------------------------------
|
1326
|
-
//
|
1327
|
-
// Functions (lifecycle)
|
1328
|
-
//
|
1329
|
-
//--------------------------------------------------------------------------
|
1330
|
-
/**
|
1331
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
1332
|
-
*
|
1333
|
-
* @returns Promise when complete
|
1334
|
-
*/
|
1335
|
-
async componentWillLoad() {
|
1336
|
-
await this._getTranslations();
|
1337
|
-
}
|
1338
|
-
/**
|
1339
|
-
* Renders the component.
|
1340
|
-
*/
|
1341
|
-
render() {
|
1342
|
-
return (h(Host, { key: '1816da3d5cd7903b4e699dffa4ac4836dca722bb' }, this.buttonType === "button" ? (h("calcite-button", { appearance: "outline", disabled: !this._deleteEndabled, id: "solutions-delete", kind: "danger", onClick: () => this._delete(), width: "full" }, this._translations.deleteCount.replace("{{n}}", this.ids.length.toString()))) : (h("calcite-action", { appearance: "solid", compact: true, disabled: !this._deleteEndabled, id: this.icon, onClick: () => this._delete(), scale: "s", text: this._translations.delete }, h("calcite-button", { appearance: "transparent", iconStart: this.icon, kind: "danger" }, this._translations.delete))), this._deleteMessage(), h("calcite-tooltip", { key: '26fc4d4b4ea02b7a6c5e3f87abe2c5b8f96a3654', placement: "bottom", "reference-element": this.buttonType === "button" ? "solutions-delete" : this.icon }, h("span", { key: 'c2f7b101bb3a99274fe7f364ad29365c212d856e' }, this._translations.delete))));
|
1343
|
-
}
|
1344
|
-
/**
|
1345
|
-
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
1346
|
-
*/
|
1347
|
-
async componentDidLoad() {
|
1348
|
-
this._setDeleteEnabled();
|
1349
|
-
}
|
1350
|
-
//--------------------------------------------------------------------------
|
1351
|
-
//
|
1352
|
-
// Functions (protected)
|
1353
|
-
//
|
1354
|
-
//--------------------------------------------------------------------------
|
1355
|
-
/**
|
1356
|
-
* Verify if the layer supports delete and that we have 1 or more ids
|
1357
|
-
*/
|
1358
|
-
_setDeleteEnabled() {
|
1359
|
-
this._supportsDelete = this.layer?.editingEnabled && this.layer?.capabilities?.operations?.supportsDelete;
|
1360
|
-
this._deleteEndabled = !this.disabled || this._supportsDelete && this.ids.length > 0;
|
1361
|
-
}
|
1362
|
-
/**
|
1363
|
-
* Delete all selected records or shows an alert if the layer does not have editing enabled
|
1364
|
-
*
|
1365
|
-
* @returns a promise that will resolve when the operation is complete
|
1366
|
-
*/
|
1367
|
-
_delete() {
|
1368
|
-
this._confirmDelete = true;
|
1369
|
-
}
|
1370
|
-
/**
|
1371
|
-
* Show delete confirmation message
|
1372
|
-
*
|
1373
|
-
* @returns node to confirm or deny the delete operation
|
1374
|
-
*/
|
1375
|
-
_deleteMessage() {
|
1376
|
-
return this.deleteDialog ? this.deleteDialog : (h("delete-dialog", { id: "solution-delete-dialog", ids: this.ids, layer: this.layer, locale: this.locale, onDeleteDialogClose: () => this._confirmDelete = false, open: this._confirmDelete }));
|
1377
|
-
}
|
1378
|
-
/**
|
1379
|
-
* Fetches the component's translations
|
1380
|
-
*
|
1381
|
-
* @returns Promise when complete
|
1382
|
-
* @protected
|
1383
|
-
*/
|
1384
|
-
async _getTranslations() {
|
1385
|
-
const messages = await getLocaleComponentStrings(this.el);
|
1386
|
-
this._translations = messages[0];
|
1387
|
-
}
|
1388
|
-
static get watchers() { return {
|
1389
|
-
"ids": ["idsWatchHandler"],
|
1390
|
-
"layer": ["layerWatchHandler"],
|
1391
|
-
"locale": ["localeWatchHandler"]
|
1392
|
-
}; }
|
1393
|
-
};
|
1394
|
-
DeleteButton.style = DeleteButtonStyle0;
|
1395
|
-
|
1396
|
-
const editCardCss = ":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}";
|
1397
|
-
const EditCardStyle0 = editCardCss;
|
1398
|
-
|
1399
|
-
const EditCard = class {
|
1400
|
-
constructor(hostRef) {
|
1401
|
-
registerInstance(this, hostRef);
|
1402
|
-
this.closeEdit = createEvent(this, "closeEdit", 7);
|
1403
|
-
this.editsComplete = createEvent(this, "editsComplete", 7);
|
1404
|
-
this.refreshGraphics = createEvent(this, "refreshGraphics", 7);
|
1405
|
-
this.enableEditGeometry = false;
|
1406
|
-
this.graphics = undefined;
|
1407
|
-
this.locale = undefined;
|
1408
|
-
this.mapView = undefined;
|
1409
|
-
this.open = false;
|
1410
|
-
this.graphicIndex = 0;
|
1411
|
-
this._editorLoading = false;
|
1412
|
-
this._translations = undefined;
|
1413
|
-
}
|
1414
|
-
get el() { return getElement(this); }
|
1415
|
-
//--------------------------------------------------------------------------
|
1416
|
-
//
|
1417
|
-
// Properties (protected)
|
1418
|
-
//
|
1419
|
-
//--------------------------------------------------------------------------
|
1420
|
-
/**
|
1421
|
-
* esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
|
1422
|
-
*/
|
1423
|
-
_activeWorkflowHandle;
|
1424
|
-
/**
|
1425
|
-
* esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
|
1426
|
-
*/
|
1427
|
-
_addRelatedRecordHandle;
|
1428
|
-
/**
|
1429
|
-
* esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
|
1430
|
-
*/
|
1431
|
-
_attachmentHandle;
|
1432
|
-
/**
|
1433
|
-
* esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
|
1434
|
-
*/
|
1435
|
-
_editHandle;
|
1436
|
-
/**
|
1437
|
-
* esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
|
1438
|
-
*/
|
1439
|
-
_layerEditHandle;
|
1440
|
-
/**
|
1441
|
-
* esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
|
1442
|
-
* The Editor constructor
|
1443
|
-
*/
|
1444
|
-
Editor;
|
1445
|
-
/**
|
1446
|
-
* esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
|
1447
|
-
* The Editor instance
|
1448
|
-
*/
|
1449
|
-
_editor;
|
1450
|
-
/**
|
1451
|
-
* esri/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
1452
|
-
* OR
|
1453
|
-
* esri/layers/support/SubtypeSublayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html
|
1454
|
-
*/
|
1455
|
-
_layer;
|
1456
|
-
/**
|
1457
|
-
* HTMLDivElement: https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement
|
1458
|
-
*/
|
1459
|
-
_editContainer;
|
1460
|
-
/**
|
1461
|
-
* any[]: Collection of edit controls created in "MULTI" edit mode
|
1462
|
-
* These can be calcite-input-text, calcite-input-number, calcite-input-date-picker, calcite-input-time-picker, or calcite-combobox
|
1463
|
-
*/
|
1464
|
-
_editControlElements;
|
1465
|
-
/**
|
1466
|
-
* boolean: When true edit controls will be disabled
|
1467
|
-
*/
|
1468
|
-
_editingDisabled;
|
1469
|
-
/**
|
1470
|
-
* boolean: When true the Editor widget should be closed
|
1471
|
-
* Without this logic we are taken to the Editors "Select" workflow step
|
1472
|
-
*/
|
1473
|
-
_shouldClose = false;
|
1474
|
-
/**
|
1475
|
-
* esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
|
1476
|
-
*/
|
1477
|
-
reactiveUtils;
|
1478
|
-
//--------------------------------------------------------------------------
|
1479
|
-
//
|
1480
|
-
// Watch handlers
|
1481
|
-
//
|
1482
|
-
//--------------------------------------------------------------------------
|
1483
|
-
/**
|
1484
|
-
* Watch for changes to the graphics and update the feature widget
|
1485
|
-
*/
|
1486
|
-
async graphicsWatchHandler() {
|
1487
|
-
if (this.graphics.length === 0 && this.open) {
|
1488
|
-
await this._closeEdit(true);
|
1489
|
-
}
|
1490
|
-
}
|
1491
|
-
/**
|
1492
|
-
* Fetch translations when the locale is updated
|
1493
|
-
*/
|
1494
|
-
async localeWatchHandler() {
|
1495
|
-
// to support url param and language switcher
|
1496
|
-
this.el.lang = this.locale;
|
1497
|
-
await this._getTranslations();
|
1498
|
-
}
|
1499
|
-
async openWatchHandler(v) {
|
1500
|
-
if (v && this.graphics?.length > 0 && this.graphicIndex > -1) {
|
1501
|
-
this._editorLoading = true;
|
1502
|
-
await this._initEditorWidget();
|
1503
|
-
if (this.graphicIndex > -1 && this.graphics.length > 0 && this.open && !this._shouldClose) {
|
1504
|
-
await this._startUpdate();
|
1505
|
-
}
|
1506
|
-
this._editorLoading = false;
|
1507
|
-
}
|
1508
|
-
if (!v) {
|
1509
|
-
await this._closeEdit(true);
|
1510
|
-
}
|
1511
|
-
}
|
1512
|
-
//--------------------------------------------------------------------------
|
1513
|
-
//
|
1514
|
-
// Methods (public)
|
1515
|
-
//
|
1516
|
-
//--------------------------------------------------------------------------
|
1517
|
-
//--------------------------------------------------------------------------
|
1518
|
-
//
|
1519
|
-
// Events (public)
|
1520
|
-
//
|
1521
|
-
//--------------------------------------------------------------------------
|
1522
|
-
/**
|
1523
|
-
* Emitted on demand when the Editor widget should be closed
|
1524
|
-
*/
|
1525
|
-
closeEdit;
|
1526
|
-
/**
|
1527
|
-
* Emitted on demand when edits are completed on current edit layer
|
1528
|
-
*/
|
1529
|
-
editsComplete;
|
1530
|
-
/**
|
1531
|
-
* Emitted on demand when the editor is closed to handle
|
1532
|
-
* things like attachment updates that don't fire the standard edit update event when complete
|
1533
|
-
*/
|
1534
|
-
refreshGraphics;
|
1535
|
-
async featureSelectionChange() {
|
1536
|
-
if (this.open) {
|
1537
|
-
await this._closeEdit(false);
|
1538
|
-
}
|
1539
|
-
}
|
1540
|
-
//--------------------------------------------------------------------------
|
1541
|
-
//
|
1542
|
-
// Functions (lifecycle)
|
1543
|
-
//
|
1544
|
-
//--------------------------------------------------------------------------
|
1545
|
-
/**
|
1546
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
1547
|
-
*
|
1548
|
-
* @returns Promise when complete
|
1549
|
-
*/
|
1550
|
-
async componentWillLoad() {
|
1551
|
-
await this._initModules();
|
1552
|
-
await this._getTranslations();
|
1553
|
-
}
|
1554
|
-
/**
|
1555
|
-
* Special handeling when used with layer-table.
|
1556
|
-
* This allows us to only fetch graphics when the modal is opened rather than with every render of the layer-table.
|
1557
|
-
*
|
1558
|
-
* @returns Promise when complete
|
1559
|
-
*/
|
1560
|
-
async componentWillRender() {
|
1561
|
-
if (this.graphics?.length > 0 && this.graphics[0]?.layer) {
|
1562
|
-
this._layer = this.graphics[0].layer;
|
1563
|
-
if (this._layerEditHandle) {
|
1564
|
-
this._layerEditHandle.remove();
|
1565
|
-
}
|
1566
|
-
// #896 Editing on sybtype group layer is failing in Manager
|
1567
|
-
const layer = this._layer.type === "subtype-sublayer" ? this._layer.parent : this._layer;
|
1568
|
-
this._layerEditHandle = layer.on("edits", () => {
|
1569
|
-
this.editsComplete.emit();
|
1570
|
-
});
|
1571
|
-
}
|
1572
|
-
}
|
1573
|
-
/**
|
1574
|
-
* Renders the component.
|
1575
|
-
*/
|
1576
|
-
render() {
|
1577
|
-
// This is a temp workaround hopefully...this._editingDisabled should reflect the current state but does not
|
1578
|
-
// when you use MULTI edit mode...is fine in SINGLE
|
1579
|
-
const editDisabled = this.graphics?.length > 0 && this.graphics[0] ?
|
1580
|
-
!this.graphics[0].layer.editingEnabled : true;
|
1581
|
-
const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
|
1582
|
-
const loadingClass = this._editorLoading ? "" : "display-none";
|
1583
|
-
return (h(Host, { key: '15ae3de9c8ab0a66a0185ffaafc27f03e19c77b7' }, h("div", { key: 'bbaa7dbc405259b64dfceca89e45abf6372c76c3', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: 'eb8b08fa0b08cf93581fb8e76d59bd8b5446770f', class: "position-absolute" }, h("div", { key: '03e525373c09fbcd4dad213738d97b99f1549975', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: '1cc46d8f6499a90736e05c2eed9bff71aff35d12', class: loadingClass, label: "", scale: "s" })))));
|
1584
|
-
}
|
1585
|
-
//--------------------------------------------------------------------------
|
1586
|
-
//
|
1587
|
-
// Functions (protected)
|
1588
|
-
//
|
1589
|
-
//--------------------------------------------------------------------------
|
1590
|
-
/**
|
1591
|
-
* Load esri javascript api modules
|
1592
|
-
*
|
1593
|
-
* @returns Promise resolving when function is done
|
1594
|
-
*/
|
1595
|
-
async _initModules() {
|
1596
|
-
const [Editor, reactiveUtils] = await loadModules([
|
1597
|
-
"esri/widgets/Editor",
|
1598
|
-
"esri/core/reactiveUtils"
|
1599
|
-
]);
|
1600
|
-
this.Editor = Editor;
|
1601
|
-
this.reactiveUtils = reactiveUtils;
|
1602
|
-
}
|
1603
|
-
/**
|
1604
|
-
* Init the Editor widget so we can display the popup content
|
1605
|
-
*/
|
1606
|
-
async _initEditorWidget() {
|
1607
|
-
if (this.mapView && this.graphics && this.graphics.length > 0 && this.graphics[0]) {
|
1608
|
-
if (this._editor) {
|
1609
|
-
this._editor.destroy();
|
1610
|
-
}
|
1611
|
-
const container = document.createElement("div");
|
1612
|
-
const layers = await getAllLayers(this.mapView);
|
1613
|
-
const layerInfos = layers.map(layer => {
|
1614
|
-
return {
|
1615
|
-
layer,
|
1616
|
-
geometryUpdatesEnabled: this.enableEditGeometry
|
1617
|
-
};
|
1618
|
-
});
|
1619
|
-
this._editor = new this.Editor({
|
1620
|
-
allowedWorkflows: "update",
|
1621
|
-
view: this.mapView,
|
1622
|
-
layerInfos,
|
1623
|
-
visibleElements: {
|
1624
|
-
snappingControls: false
|
1625
|
-
},
|
1626
|
-
container
|
1627
|
-
});
|
1628
|
-
if (this._attachmentHandle && this._activeWorkflowHandle) {
|
1629
|
-
this._attachmentHandle.remove();
|
1630
|
-
this._activeWorkflowHandle.remove();
|
1631
|
-
}
|
1632
|
-
this._attachmentHandle = this.reactiveUtils.when(() => this._editor.viewModel.state === "adding-attachment" ||
|
1633
|
-
this._editor.viewModel.state === "editing-attachment" ||
|
1634
|
-
this._editor.viewModel.state === "creating-features", () => {
|
1635
|
-
this._shouldClose = false;
|
1636
|
-
});
|
1637
|
-
this._activeWorkflowHandle = this.reactiveUtils.watch(() => this._editor.viewModel.activeWorkflow?.activeWorkflow, (activeWorkflow) => {
|
1638
|
-
if (activeWorkflow?.type === "update-table-record" || activeWorkflow?.type === "create-features") {
|
1639
|
-
this._shouldClose = false;
|
1640
|
-
}
|
1641
|
-
// Handle back click and when feature is de-selected from the table
|
1642
|
-
// this ensures that we are not shown the Editors "Select" workflow step
|
1643
|
-
if ((!activeWorkflow?.type && !activeWorkflow?.hasPendingEdits && !this._editor.activeWorkflow) || !this._editor?.activeWorkflow?.started) {
|
1644
|
-
this.open = false;
|
1645
|
-
}
|
1646
|
-
});
|
1647
|
-
// had issues with destroy before adding like this
|
1648
|
-
this._editContainer.appendChild(container);
|
1649
|
-
}
|
1650
|
-
}
|
1651
|
-
/**
|
1652
|
-
* Close the edit widget
|
1653
|
-
*/
|
1654
|
-
async _closeEdit(destroyOnClose) {
|
1655
|
-
this._shouldClose = true;
|
1656
|
-
if (destroyOnClose && this._editor?.activeWorkflow) {
|
1657
|
-
if (this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits) {
|
1658
|
-
await this._editor.activeWorkflow.reset();
|
1659
|
-
await this._editor.cancelWorkflow();
|
1660
|
-
}
|
1661
|
-
this._editor.destroy();
|
1662
|
-
}
|
1663
|
-
else {
|
1664
|
-
if (this.graphicIndex > -1 && this.graphics?.length > 0) {
|
1665
|
-
this.refreshGraphics.emit(this.graphics);
|
1666
|
-
}
|
1667
|
-
}
|
1668
|
-
this._shouldClose = false;
|
1669
|
-
this.closeEdit.emit();
|
1670
|
-
}
|
1671
|
-
/**
|
1672
|
-
* Start the update workflow for the editor widget
|
1673
|
-
*/
|
1674
|
-
async _startUpdate() {
|
1675
|
-
await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]);
|
1676
|
-
this._shouldClose = true;
|
1677
|
-
}
|
1678
|
-
/**
|
1679
|
-
* Fetches the component's translations
|
1680
|
-
*
|
1681
|
-
* @returns Promise when complete
|
1682
|
-
*/
|
1683
|
-
async _getTranslations() {
|
1684
|
-
const messages = await getLocaleComponentStrings(this.el);
|
1685
|
-
this._translations = messages[0];
|
1686
|
-
}
|
1687
|
-
static get watchers() { return {
|
1688
|
-
"graphics": ["graphicsWatchHandler"],
|
1689
|
-
"locale": ["localeWatchHandler"],
|
1690
|
-
"open": ["openWatchHandler"]
|
1691
|
-
}; }
|
1692
|
-
};
|
1693
|
-
EditCard.style = EditCardStyle0;
|
1694
|
-
|
1695
|
-
const infoCardCss = ":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}";
|
1696
|
-
const InfoCardStyle0 = infoCardCss;
|
1697
|
-
|
1698
|
-
const InfoCard = class {
|
1699
|
-
constructor(hostRef) {
|
1700
|
-
registerInstance(this, hostRef);
|
1701
|
-
this.popupClosed = createEvent(this, "popupClosed", 7);
|
1702
|
-
this.selectionChanged = createEvent(this, "selectionChanged", 7);
|
1703
|
-
this.enableEditGeometry = false;
|
1704
|
-
this.graphics = undefined;
|
1705
|
-
this.isLoading = false;
|
1706
|
-
this.isMobile = undefined;
|
1707
|
-
this.mapView = undefined;
|
1708
|
-
this.allowEditing = true;
|
1709
|
-
this.highlightEnabled = true;
|
1710
|
-
this.locale = undefined;
|
1711
|
-
this.paginationEnabled = true;
|
1712
|
-
this.position = 'absolute';
|
1713
|
-
this._alertOpen = false;
|
1714
|
-
this._count = "";
|
1715
|
-
this._editRecordOpen = false;
|
1716
|
-
this._mobileTitle = "";
|
1717
|
-
this._showListView = false;
|
1718
|
-
this._translations = undefined;
|
1719
|
-
}
|
1720
|
-
get el() { return getElement(this); }
|
1721
|
-
//--------------------------------------------------------------------------
|
1722
|
-
//
|
1723
|
-
// Properties (protected)
|
1724
|
-
//
|
1725
|
-
//--------------------------------------------------------------------------
|
1726
|
-
/**
|
1727
|
-
* esri/widgets/Feature: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html
|
1728
|
-
* used for module import
|
1729
|
-
*/
|
1730
|
-
Features;
|
1731
|
-
/**
|
1732
|
-
* boolean: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
|
1733
|
-
*/
|
1734
|
-
_editEnabled;
|
1735
|
-
/**
|
1736
|
-
* esri/widgets/Feature: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html
|
1737
|
-
* used for widget instance
|
1738
|
-
*/
|
1739
|
-
_features;
|
1740
|
-
/**
|
1741
|
-
* esri/widgets/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
1742
|
-
*/
|
1743
|
-
_layer;
|
1744
|
-
/**
|
1745
|
-
* IPopupUtils: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
|
1746
|
-
*/
|
1747
|
-
_popupUtils;
|
1748
|
-
/**
|
1749
|
-
* string: unique id for the features node
|
1750
|
-
*/
|
1751
|
-
_featuresNodeId = 'features-node' + new Date().getMilliseconds().toString();
|
1752
|
-
/**
|
1753
|
-
* esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
|
1754
|
-
*/
|
1755
|
-
reactiveUtils;
|
1756
|
-
//--------------------------------------------------------------------------
|
1757
|
-
//
|
1758
|
-
// Watch handlers
|
1759
|
-
//
|
1760
|
-
//--------------------------------------------------------------------------
|
1761
|
-
/**
|
1762
|
-
* Watch for changes to the graphic and update the feature widget
|
1763
|
-
*/
|
1764
|
-
async graphicsWatchHandler() {
|
1765
|
-
await this.setGraphics();
|
1766
|
-
}
|
1767
|
-
/**
|
1768
|
-
* Watch for changes to the isMobile prop then init the Features widget
|
1769
|
-
* We need to know if the title should be displayed by the widget (non mobile)
|
1770
|
-
* or by us (mobile)
|
1771
|
-
*/
|
1772
|
-
async isMobileWatchHandler() {
|
1773
|
-
await this._initFeaturesWidget();
|
1774
|
-
}
|
1775
|
-
/**
|
1776
|
-
* Fetch translations when the locale is updated
|
1777
|
-
*/
|
1778
|
-
async localeWatchHandler() {
|
1779
|
-
// to support url param and language switcher
|
1780
|
-
this.el.lang = this.locale;
|
1781
|
-
await this._getTranslations();
|
1782
|
-
if (this._features) {
|
1783
|
-
const graphics = [...this.graphics];
|
1784
|
-
this.graphics = [];
|
1785
|
-
this.graphics = graphics;
|
1786
|
-
}
|
1787
|
-
}
|
1788
|
-
/**
|
1789
|
-
* Watch for changes to the mapView and re-init the Feature widget
|
1790
|
-
*/
|
1791
|
-
async mapViewWatchHandler() {
|
1792
|
-
return await this._initFeaturesWidget();
|
1793
|
-
}
|
1794
|
-
//--------------------------------------------------------------------------
|
1795
|
-
//
|
1796
|
-
// Methods (public)
|
1797
|
-
//
|
1798
|
-
//--------------------------------------------------------------------------
|
1799
|
-
/**
|
1800
|
-
* Get the current selected feature from the Features widget
|
1801
|
-
*
|
1802
|
-
* @returns Promise resolving with the current feature
|
1803
|
-
*/
|
1804
|
-
async getSelectedFeature() {
|
1805
|
-
return this._features.selectedFeature;
|
1806
|
-
}
|
1807
|
-
/**
|
1808
|
-
* Refresh the feature info
|
1809
|
-
* @returns Promise when complete
|
1810
|
-
*/
|
1811
|
-
async refresh() {
|
1812
|
-
await this.setGraphics();
|
1813
|
-
}
|
1814
|
-
/**
|
1815
|
-
* Go to the previous feature in the features widget
|
1816
|
-
*/
|
1817
|
-
async back() {
|
1818
|
-
this._features.previous();
|
1819
|
-
this._count = this._getCount();
|
1820
|
-
}
|
1821
|
-
/**
|
1822
|
-
* Go to the next feature in the features widget
|
1823
|
-
*/
|
1824
|
-
async next() {
|
1825
|
-
this._features.next();
|
1826
|
-
this._count = this._getCount();
|
1827
|
-
}
|
1828
|
-
/**
|
1829
|
-
* Toggle the visibility of the features list view
|
1830
|
-
*/
|
1831
|
-
async toggleListView() {
|
1832
|
-
this._showListView = !this._showListView;
|
1833
|
-
const i = this._features.selectedFeatureIndex;
|
1834
|
-
this._features.open({
|
1835
|
-
features: this.graphics,
|
1836
|
-
featureMenuOpen: this._showListView
|
1837
|
-
});
|
1838
|
-
this._features.selectedFeatureIndex = i;
|
1839
|
-
}
|
1840
|
-
/**
|
1841
|
-
* update the current graphics to the features widget
|
1842
|
-
*/
|
1843
|
-
async updateCurrentGraphic(selectedGraphic) {
|
1844
|
-
this._features.selectedFeatureWidget.graphic = selectedGraphic;
|
1845
|
-
}
|
1846
|
-
//--------------------------------------------------------------------------
|
1847
|
-
//
|
1848
|
-
// Events (public)
|
1849
|
-
//
|
1850
|
-
//--------------------------------------------------------------------------
|
1851
|
-
/**
|
1852
|
-
* Emitted on demand when the popup is closed
|
1853
|
-
*/
|
1854
|
-
popupClosed;
|
1855
|
-
/**
|
1856
|
-
* Emitted on demand when the selected index changes
|
1857
|
-
*/
|
1858
|
-
selectionChanged;
|
1859
|
-
/**
|
1860
|
-
* Respond to and close the edit record display
|
1861
|
-
*
|
1862
|
-
* @returns a promise when the operation has completed
|
1863
|
-
*/
|
1864
|
-
async closeEdit() {
|
1865
|
-
this._editRecordOpen = false;
|
1866
|
-
}
|
1867
|
-
/**
|
1868
|
-
* Reset key properties when the layer selection changes
|
1869
|
-
*/
|
1870
|
-
async layerSelectionChange() {
|
1871
|
-
this._showListView = false;
|
1872
|
-
if (this._features?.viewModel) {
|
1873
|
-
this._features.viewModel.featureMenuOpen = false;
|
1874
|
-
this._features.close();
|
1875
|
-
}
|
1876
|
-
}
|
1877
|
-
/**
|
1878
|
-
* Refresh the info-card graphics
|
1879
|
-
*/
|
1880
|
-
async refreshGraphics(evt) {
|
1881
|
-
this.graphics = [...evt.detail];
|
1882
|
-
}
|
1883
|
-
//--------------------------------------------------------------------------
|
1884
|
-
//
|
1885
|
-
// Functions (lifecycle)
|
1886
|
-
//
|
1887
|
-
//--------------------------------------------------------------------------
|
1888
|
-
/**
|
1889
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
1890
|
-
*
|
1891
|
-
* @returns Promise when complete
|
1892
|
-
*/
|
1893
|
-
async componentWillLoad() {
|
1894
|
-
await this._initModules();
|
1895
|
-
await this._getTranslations();
|
1896
|
-
this._popupUtils = new PopupUtils();
|
1897
|
-
}
|
1898
|
-
/**
|
1899
|
-
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
1900
|
-
* @returns Promise when complete
|
1901
|
-
*/
|
1902
|
-
async componentDidLoad() {
|
1903
|
-
if (this.graphics?.length > 0) {
|
1904
|
-
await this.setGraphics();
|
1905
|
-
}
|
1906
|
-
}
|
1907
|
-
/**
|
1908
|
-
* Renders the component.
|
1909
|
-
*/
|
1910
|
-
render() {
|
1911
|
-
const loadingClass = this.isLoading ? "" : "display-none";
|
1912
|
-
const featureNodeClass = this.isLoading || this._editRecordOpen ? "visibility-hidden" : "position-absolute";
|
1913
|
-
const editClass = !this.isLoading && this._editRecordOpen ? "position-absolute" : "display-none";
|
1914
|
-
const editButtonClass = (!this.isLoading && this._editRecordOpen) || this._showListView ? "display-none" : "";
|
1915
|
-
const nextBackDisabled = this._features?.features?.length < 2;
|
1916
|
-
const nextBackClass = this.isMobile ? "display-none" : "";
|
1917
|
-
const id = this._features?.selectedFeature?.getObjectId();
|
1918
|
-
const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
|
1919
|
-
const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
|
1920
|
-
return (h(Host, { key: '54e47d0ec2be9149c3e667c9e940842804d96964' }, h("calcite-shell", { key: '14bb280d394ceaa74463979886ab09cdf393b26e', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: '3226709e73de16c795c348513183b26b88b7a726', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: 'ba4b0c34620c60e849bdf0ada785b9976156dd1c', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '440a4d3c0530f97031df2e2ab9511ef6035fb5da', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
|
1921
|
-
h("div", { key: '172b2e2cc10bdfb104057376ceba5d7f5f19ad61', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: '242daf0ec6c3fe4fcc11be4bbc19f810836714ec', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, locale: this.locale, onEditsComplete: () => this._closePopup() })) : undefined, h("calcite-tooltip", { key: '760f8fcd1bcff2060e0a98e84a222107e55fef22', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '30656b92e9bdbf3a9548586d91fc23bce2da9db3' }, this._translations.edit)), this.isMobile ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: '161902561c9686d74a511338dfc02efce0095af7', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: 'afd1459e3f69f60d96103854fe3dae71f18fc41e' }, h("calcite-button", { key: '59063d7fa2cf886afca66857cb1f74e42789e59f', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: '412e00bc323494bb1e3a7dbeef59ab9bcd6ff8e0', placement: "top", "reference-element": "solutions-back" }, h("span", { key: '7c1512be35f16b4441c2a364e1b7a87e3c7caf97' }, this._translations.back))), h("calcite-action", { key: 'd4790efec0d13e6726ffe9d438683db6887d00b8', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: '98663d5c3b2f445db4e38cba98b8149c53cbc474', class: "pagination-count" }, this._count)), h("div", { key: '6ca88610950cf2852e2dc67588c77fd464ece3c5' }, h("calcite-button", { key: '577739ef819676dfd9cdee560a8cd22edcd9c6b7', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: '73a4f907d1a2f46a980c451572f1ba1e1b0b0596', placement: "top", "reference-element": "solutions-next" }, h("span", { key: 'd5f67497df866592b30d6c328f9f45716eb16153' }, this._translations.next))))), h("edit-card", { key: 'c8094993be5203f464cea4f632c14dbefa263a73', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, locale: this.locale, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { key: '0b9fd2109d7c6b51b91088ecbec50956a2d8d3d8', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: 'c8b7b452430d6fedda5288fd58efae5526adeda7', slot: "title" }, this._translations.editDisabled), h("div", { key: 'b2dc954d43bb08908723f70796df5c77108d92d8', slot: "message" }, this._translations.enableEditing)))));
|
1922
|
-
}
|
1923
|
-
//--------------------------------------------------------------------------
|
1924
|
-
//
|
1925
|
-
// Functions (protected)
|
1926
|
-
//
|
1927
|
-
//--------------------------------------------------------------------------
|
1928
|
-
/**
|
1929
|
-
* Load esri javascript api modules
|
1930
|
-
*
|
1931
|
-
* @returns Promise resolving when function is done
|
1932
|
-
*
|
1933
|
-
* @protected
|
1934
|
-
*/
|
1935
|
-
async _initModules() {
|
1936
|
-
const [Features, reactiveUtils] = await loadModules([
|
1937
|
-
"esri/widgets/Features",
|
1938
|
-
"esri/core/reactiveUtils"
|
1939
|
-
]);
|
1940
|
-
this.Features = Features;
|
1941
|
-
this.reactiveUtils = reactiveUtils;
|
1942
|
-
}
|
1943
|
-
/**
|
1944
|
-
* Initializes the features widget if not created and updates the feature widget and other required states
|
1945
|
-
*
|
1946
|
-
* @protected
|
1947
|
-
*/
|
1948
|
-
async setGraphics() {
|
1949
|
-
if (!this._features) {
|
1950
|
-
await this._initFeaturesWidget();
|
1951
|
-
}
|
1952
|
-
if (this.graphics.length > 0) {
|
1953
|
-
this._layer = this.graphics[0]?.layer;
|
1954
|
-
this._editEnabled = this._layer.editingEnabled && this._layer.capabilities.operations.supportsUpdate;
|
1955
|
-
this._mobileTitle = await this._popupUtils.getPopupTitle(this.graphics[0], this.mapView.map);
|
1956
|
-
this._features.open({
|
1957
|
-
features: this.graphics
|
1958
|
-
});
|
1959
|
-
}
|
1960
|
-
else {
|
1961
|
-
this._features.clear();
|
1962
|
-
this._features.close();
|
1963
|
-
}
|
1964
|
-
this._count = this._getCount();
|
1965
|
-
}
|
1966
|
-
/**
|
1967
|
-
* Init the Feature widget so we can display the popup content
|
1968
|
-
*
|
1969
|
-
* @returns a promise when the operation has completed
|
1970
|
-
*
|
1971
|
-
* @protected
|
1972
|
-
*/
|
1973
|
-
async _initFeaturesWidget() {
|
1974
|
-
return this.isMobile !== undefined ? await this.mapView?.when(() => {
|
1975
|
-
if (!this._features) {
|
1976
|
-
this._features = new this.Features({
|
1977
|
-
view: this.mapView,
|
1978
|
-
container: this._featuresNodeId,
|
1979
|
-
visibleElements: {
|
1980
|
-
actionBar: false,
|
1981
|
-
closeButton: false,
|
1982
|
-
heading: !this.isMobile
|
1983
|
-
}
|
1984
|
-
});
|
1985
|
-
this._features.viewModel.highlightEnabled = this.highlightEnabled;
|
1986
|
-
this.reactiveUtils.watch(() => this._features.viewModel.featureMenuOpen, (isOpen) => {
|
1987
|
-
this._count = this._getCount();
|
1988
|
-
if (!isOpen) {
|
1989
|
-
this._showListView = isOpen;
|
1990
|
-
}
|
1991
|
-
});
|
1992
|
-
this.reactiveUtils.watch(() => this._features.selectedFeatureIndex, (i) => {
|
1993
|
-
if (i > -1) {
|
1994
|
-
this.selectionChanged.emit({ selectedFeature: [this._features.selectedFeature], selectedFeatureIndex: this._features.selectedFeatureIndex });
|
1995
|
-
}
|
1996
|
-
});
|
1997
|
-
}
|
1998
|
-
else {
|
1999
|
-
this._features.view = this.mapView;
|
2000
|
-
this._features.visibleElements.actionBar = false;
|
2001
|
-
this._features.visibleElements.closeButton = false;
|
2002
|
-
this._features.visibleElements.heading = !this.isMobile;
|
2003
|
-
}
|
2004
|
-
}) : Promise.resolve();
|
2005
|
-
}
|
2006
|
-
/**
|
2007
|
-
* Get the mobile header
|
2008
|
-
*
|
2009
|
-
* @returns the header node to display when in mobile mode
|
2010
|
-
*
|
2011
|
-
* @protected
|
2012
|
-
*/
|
2013
|
-
_getHeader() {
|
2014
|
-
return this.isMobile && !this._editRecordOpen ? (h("calcite-panel", { class: "border-width-0", slot: "header" }, h("calcite-action", { class: "end-border", icon: "chevron-left", iconFlipRtl: true, onClick: () => this._closePopup(), scale: "s", slot: "header-actions-start", text: "" }), h("span", { class: "font-bold", slot: "header-content" }, this._mobileTitle))) : undefined;
|
2015
|
-
}
|
2016
|
-
/**
|
2017
|
-
* Close the popup and emit the selected features
|
2018
|
-
*/
|
2019
|
-
_closePopup() {
|
2020
|
-
this.popupClosed.emit();
|
2021
|
-
}
|
2022
|
-
/**
|
2023
|
-
* Set the alertOpen member to false when the alert is closed
|
2024
|
-
*/
|
2025
|
-
_alertClosed() {
|
2026
|
-
this._alertOpen = false;
|
2027
|
-
}
|
2028
|
-
/**
|
2029
|
-
* Open the edit record
|
2030
|
-
*/
|
2031
|
-
_openEditRecord() {
|
2032
|
-
if (this._editEnabled) {
|
2033
|
-
this._editRecordOpen = true;
|
2034
|
-
}
|
2035
|
-
else {
|
2036
|
-
this._alertOpen = true;
|
2037
|
-
}
|
2038
|
-
}
|
2039
|
-
/**
|
2040
|
-
* Go to the previous feature in the features widget
|
2041
|
-
*/
|
2042
|
-
_back() {
|
2043
|
-
this._features.previous();
|
2044
|
-
this._count = this._getCount();
|
2045
|
-
}
|
2046
|
-
/**
|
2047
|
-
* Go to the next feature in the features widget
|
2048
|
-
*/
|
2049
|
-
_next() {
|
2050
|
-
this._features.next();
|
2051
|
-
this._count = this._getCount();
|
2052
|
-
}
|
2053
|
-
/**
|
2054
|
-
* Get the current index of total string
|
2055
|
-
*
|
2056
|
-
* @returns the index of total string
|
2057
|
-
*/
|
2058
|
-
_getCount() {
|
2059
|
-
const index = (this._features?.viewModel.selectedFeatureIndex + 1).toString();
|
2060
|
-
const total = this._features?.features?.length.toString();
|
2061
|
-
return this._translations.indexOfTotal
|
2062
|
-
.replace("{{index}}", index)
|
2063
|
-
.replace("{{total}}", total);
|
2064
|
-
}
|
2065
|
-
/**
|
2066
|
-
* Toggle the visibility of the features list view
|
2067
|
-
*/
|
2068
|
-
_toggleListView() {
|
2069
|
-
this._showListView = !this._showListView;
|
2070
|
-
const i = this._features.selectedFeatureIndex;
|
2071
|
-
this._features.open({
|
2072
|
-
features: this.graphics,
|
2073
|
-
featureMenuOpen: this._showListView
|
2074
|
-
});
|
2075
|
-
this._features.selectedFeatureIndex = i;
|
2076
|
-
}
|
2077
|
-
/**
|
2078
|
-
* Fetches the component's translations
|
2079
|
-
*
|
2080
|
-
* @returns Promise when complete
|
2081
|
-
* @protected
|
2082
|
-
*/
|
2083
|
-
async _getTranslations() {
|
2084
|
-
const messages = await getLocaleComponentStrings(this.el);
|
2085
|
-
this._translations = messages[0];
|
2086
|
-
}
|
2087
|
-
static get watchers() { return {
|
2088
|
-
"graphics": ["graphicsWatchHandler"],
|
2089
|
-
"isMobile": ["isMobileWatchHandler"],
|
2090
|
-
"locale": ["localeWatchHandler"],
|
2091
|
-
"mapView": ["mapViewWatchHandler"]
|
2092
|
-
}; }
|
2093
|
-
};
|
2094
|
-
InfoCard.style = InfoCardStyle0;
|
2095
|
-
|
2096
|
-
export { Alert as calcite_alert, FlowItem as calcite_flow_item, CreateFeature as create_feature, DeleteButton as delete_button, EditCard as edit_card, InfoCard as info_card };
|