@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
@@ -0,0 +1,1744 @@
|
|
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-d233c7a2.js';
|
7
|
+
import { g as getElementDir } from './dom-66c5cd46.js';
|
8
|
+
import { u as updateHostInteraction, I as InteractiveContainer } from './interactive-cad37709.js';
|
9
|
+
import { s as setUpLoadableComponent, a as setComponentLoaded, c as componentFocusable } from './loadable-dc3f24a8.js';
|
10
|
+
import { c as connectLocalized, d as disconnectLocalized } from './locale-911eca09.js';
|
11
|
+
import { c as connectMessages, s as setUpMessages, d as disconnectMessages, u as updateMessages } from './t9n-1698878e.js';
|
12
|
+
import { S as SLOTS$1 } from './resources-bc66182e.js';
|
13
|
+
import { l as loadModules, g as getLocaleComponentStrings } from './locale-586d9375.js';
|
14
|
+
import { a as getAllLayers, g as getLayerOrTable } from './mapViewUtils-f54edae3.js';
|
15
|
+
import { P as PopupUtils } from './popupUtils-ddb1f6fa.js';
|
16
|
+
import './guid-45e997d8.js';
|
17
|
+
import './resources-ab131744.js';
|
18
|
+
import './browser-e42b9848.js';
|
19
|
+
import './key-2e7789c2.js';
|
20
|
+
import './observers-ab3d6528.js';
|
21
|
+
import './esri-loader-c6842c6b.js';
|
22
|
+
import './_commonjsHelpers-089957fe.js';
|
23
|
+
import './interfaces-659e3836.js';
|
24
|
+
import './downloadUtils-8ba094d7.js';
|
25
|
+
import './typeof-ef2a007d.js';
|
26
|
+
import './index-d88c3eb6.js';
|
27
|
+
import './solution-resource-30a29505.js';
|
28
|
+
import './restHelpersGet-a7fda344.js';
|
29
|
+
import './update-ad0b88fa.js';
|
30
|
+
|
31
|
+
/*!
|
32
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
33
|
+
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
34
|
+
* v2.13.2
|
35
|
+
*/
|
36
|
+
const CSS = {
|
37
|
+
backButton: "back-button",
|
38
|
+
};
|
39
|
+
const ICONS = {
|
40
|
+
backLeft: "chevron-left",
|
41
|
+
backRight: "chevron-right",
|
42
|
+
};
|
43
|
+
const SLOTS = {
|
44
|
+
actionBar: "action-bar",
|
45
|
+
alerts: "alerts",
|
46
|
+
contentTop: "content-top",
|
47
|
+
contentBottom: "content-bottom",
|
48
|
+
headerActionsStart: "header-actions-start",
|
49
|
+
headerActionsEnd: "header-actions-end",
|
50
|
+
headerMenuActions: "header-menu-actions",
|
51
|
+
headerContent: "header-content",
|
52
|
+
fab: "fab",
|
53
|
+
footer: "footer",
|
54
|
+
footerActions: "footer-actions",
|
55
|
+
footerEnd: "footer-end",
|
56
|
+
footerStart: "footer-start",
|
57
|
+
};
|
58
|
+
|
59
|
+
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}";
|
60
|
+
const CalciteFlowItemStyle0 = flowItemCss;
|
61
|
+
|
62
|
+
const FlowItem = class {
|
63
|
+
constructor(hostRef) {
|
64
|
+
registerInstance(this, hostRef);
|
65
|
+
this.calciteFlowItemBack = createEvent(this, "calciteFlowItemBack", 7);
|
66
|
+
this.calciteFlowItemScroll = createEvent(this, "calciteFlowItemScroll", 6);
|
67
|
+
this.calciteFlowItemClose = createEvent(this, "calciteFlowItemClose", 6);
|
68
|
+
this.calciteFlowItemToggle = createEvent(this, "calciteFlowItemToggle", 6);
|
69
|
+
// --------------------------------------------------------------------------
|
70
|
+
//
|
71
|
+
// Private Methods
|
72
|
+
//
|
73
|
+
// --------------------------------------------------------------------------
|
74
|
+
this.handleInternalPanelScroll = (event) => {
|
75
|
+
if (event.target !== this.containerEl) {
|
76
|
+
return;
|
77
|
+
}
|
78
|
+
event.stopPropagation();
|
79
|
+
this.calciteFlowItemScroll.emit();
|
80
|
+
};
|
81
|
+
this.handleInternalPanelClose = (event) => {
|
82
|
+
if (event.target !== this.containerEl) {
|
83
|
+
return;
|
84
|
+
}
|
85
|
+
event.stopPropagation();
|
86
|
+
this.closed = true;
|
87
|
+
this.calciteFlowItemClose.emit();
|
88
|
+
};
|
89
|
+
this.handleInternalPanelToggle = (event) => {
|
90
|
+
if (event.target !== this.containerEl) {
|
91
|
+
return;
|
92
|
+
}
|
93
|
+
event.stopPropagation();
|
94
|
+
this.collapsed = event.target.collapsed;
|
95
|
+
this.calciteFlowItemToggle.emit();
|
96
|
+
};
|
97
|
+
this.backButtonClick = () => {
|
98
|
+
this.calciteFlowItemBack.emit();
|
99
|
+
};
|
100
|
+
this.setBackRef = (node) => {
|
101
|
+
this.backButtonEl = node;
|
102
|
+
};
|
103
|
+
this.setContainerRef = (node) => {
|
104
|
+
this.containerEl = node;
|
105
|
+
};
|
106
|
+
this.closable = false;
|
107
|
+
this.closed = false;
|
108
|
+
this.collapsed = false;
|
109
|
+
this.collapseDirection = "down";
|
110
|
+
this.collapsible = false;
|
111
|
+
this.beforeBack = undefined;
|
112
|
+
this.beforeClose = undefined;
|
113
|
+
this.description = undefined;
|
114
|
+
this.disabled = false;
|
115
|
+
this.heading = undefined;
|
116
|
+
this.headingLevel = undefined;
|
117
|
+
this.loading = false;
|
118
|
+
this.menuOpen = false;
|
119
|
+
this.messageOverrides = undefined;
|
120
|
+
this.messages = undefined;
|
121
|
+
this.overlayPositioning = "absolute";
|
122
|
+
this.scale = "m";
|
123
|
+
this.showBackButton = false;
|
124
|
+
this.defaultMessages = undefined;
|
125
|
+
this.effectiveLocale = "";
|
126
|
+
}
|
127
|
+
onMessagesChange() {
|
128
|
+
/* wired up by t9n util */
|
129
|
+
}
|
130
|
+
//--------------------------------------------------------------------------
|
131
|
+
//
|
132
|
+
// Lifecycle
|
133
|
+
//
|
134
|
+
//--------------------------------------------------------------------------
|
135
|
+
connectedCallback() {
|
136
|
+
connectLocalized(this);
|
137
|
+
connectMessages(this);
|
138
|
+
}
|
139
|
+
async componentWillLoad() {
|
140
|
+
await setUpMessages(this);
|
141
|
+
setUpLoadableComponent(this);
|
142
|
+
}
|
143
|
+
componentDidRender() {
|
144
|
+
updateHostInteraction(this);
|
145
|
+
}
|
146
|
+
disconnectedCallback() {
|
147
|
+
disconnectLocalized(this);
|
148
|
+
disconnectMessages(this);
|
149
|
+
}
|
150
|
+
componentDidLoad() {
|
151
|
+
setComponentLoaded(this);
|
152
|
+
}
|
153
|
+
effectiveLocaleChange() {
|
154
|
+
updateMessages(this, this.effectiveLocale);
|
155
|
+
}
|
156
|
+
// --------------------------------------------------------------------------
|
157
|
+
//
|
158
|
+
// Methods
|
159
|
+
//
|
160
|
+
// --------------------------------------------------------------------------
|
161
|
+
/**
|
162
|
+
* Sets focus on the component.
|
163
|
+
*
|
164
|
+
* @returns promise.
|
165
|
+
*/
|
166
|
+
async setFocus() {
|
167
|
+
await componentFocusable(this);
|
168
|
+
const { backButtonEl, containerEl } = this;
|
169
|
+
if (backButtonEl) {
|
170
|
+
return backButtonEl.setFocus();
|
171
|
+
}
|
172
|
+
else if (containerEl) {
|
173
|
+
return containerEl.setFocus();
|
174
|
+
}
|
175
|
+
}
|
176
|
+
/**
|
177
|
+
* Scrolls the component's content to a specified set of coordinates.
|
178
|
+
*
|
179
|
+
* @example
|
180
|
+
* myCalciteFlowItem.scrollContentTo({
|
181
|
+
* left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
|
182
|
+
* top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
|
183
|
+
* behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
|
184
|
+
* });
|
185
|
+
* @param options - allows specific coordinates to be defined.
|
186
|
+
* @returns - promise that resolves once the content is scrolled to.
|
187
|
+
*/
|
188
|
+
async scrollContentTo(options) {
|
189
|
+
await this.containerEl?.scrollContentTo(options);
|
190
|
+
}
|
191
|
+
// --------------------------------------------------------------------------
|
192
|
+
//
|
193
|
+
// Render Methods
|
194
|
+
//
|
195
|
+
// --------------------------------------------------------------------------
|
196
|
+
renderBackButton() {
|
197
|
+
const { el } = this;
|
198
|
+
const rtl = getElementDir(el) === "rtl";
|
199
|
+
const { showBackButton, backButtonClick, messages } = this;
|
200
|
+
const label = messages.back;
|
201
|
+
const icon = rtl ? ICONS.backRight : ICONS.backLeft;
|
202
|
+
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;
|
203
|
+
}
|
204
|
+
render() {
|
205
|
+
const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messages, overlayPositioning, beforeClose, } = this;
|
206
|
+
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$1.actionBar }), h("slot", { key: 'e76e55e654ff878acff734bdf387402a9e262159', name: SLOTS.alerts, slot: SLOTS$1.alerts }), h("slot", { key: 'f7ab8839d7b101e31087130ebf3e36af1ec7da24', name: SLOTS.headerActionsStart, slot: SLOTS$1.headerActionsStart }), h("slot", { key: '2932c4c15b168732356b8e55fcc3064f5b3f4cf5', name: SLOTS.headerActionsEnd, slot: SLOTS$1.headerActionsEnd }), h("slot", { key: '1ef8a9050683022733695445092f8c626487d87b', name: SLOTS.headerContent, slot: SLOTS$1.headerContent }), h("slot", { key: '24c0ab570a601a6c0edfb0c820e580fd24b158ce', name: SLOTS.headerMenuActions, slot: SLOTS$1.headerMenuActions }), h("slot", { key: 'ec55bbe7ba939a6efb35225850c37a1aadb97275', name: SLOTS.fab, slot: SLOTS$1.fab }), h("slot", { key: 'aa0bfec47656ef9f7f575cd933897a7909e5badc', name: SLOTS.contentTop, slot: SLOTS$1.contentTop }), h("slot", { key: 'e23532d080e2df529c2aeb6af043c6efe7a0ab6d', name: SLOTS.contentBottom, slot: SLOTS$1.contentBottom }), h("slot", { key: 'db6ffc0d9300c77067a4c88ab277de685c7713af', name: SLOTS.footerStart, slot: SLOTS$1.footerStart }), h("slot", { key: '5f249356da9292f34c4036d0d0741f048fe999e9', name: SLOTS.footer, slot: SLOTS$1.footer }), h("slot", { key: '7476137bacc0f3be5c97682c5027f74d73254765', name: SLOTS.footerEnd, slot: SLOTS$1.footerEnd }), h("slot", { key: '58f60a46c42a05abe9b100a57d478d991e4f25bc', name: SLOTS.footerActions, slot: SLOTS$1.footerActions }), h("slot", { key: '926a8d94b76b6fcdef6dfd219ba8180c44f81c35' })))));
|
207
|
+
}
|
208
|
+
static get assetsDirs() { return ["assets"]; }
|
209
|
+
get el() { return getElement(this); }
|
210
|
+
static get watchers() { return {
|
211
|
+
"messageOverrides": ["onMessagesChange"],
|
212
|
+
"effectiveLocale": ["effectiveLocaleChange"]
|
213
|
+
}; }
|
214
|
+
};
|
215
|
+
FlowItem.style = CalciteFlowItemStyle0;
|
216
|
+
|
217
|
+
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}}";
|
218
|
+
const CreateFeatureStyle0 = createFeatureCss;
|
219
|
+
|
220
|
+
const CreateFeature = class {
|
221
|
+
constructor(hostRef) {
|
222
|
+
registerInstance(this, hostRef);
|
223
|
+
this.success = createEvent(this, "success", 7);
|
224
|
+
this.fail = createEvent(this, "fail", 7);
|
225
|
+
this.drawComplete = createEvent(this, "drawComplete", 7);
|
226
|
+
this.editingAttachment = createEvent(this, "editingAttachment", 7);
|
227
|
+
this.progressStatus = createEvent(this, "progressStatus", 7);
|
228
|
+
this.modeChanged = createEvent(this, "modeChanged", 7);
|
229
|
+
this.mapView = undefined;
|
230
|
+
this.selectedLayerId = undefined;
|
231
|
+
this.customizeSubmit = false;
|
232
|
+
this.locale = undefined;
|
233
|
+
this.searchConfiguration = undefined;
|
234
|
+
this.isMobile = undefined;
|
235
|
+
this.floorLevel = undefined;
|
236
|
+
this.formElements = undefined;
|
237
|
+
this.enableSearch = false;
|
238
|
+
this.showGuidingMsg = true;
|
239
|
+
this.showGuidingMsgWhileDrawing = true;
|
240
|
+
this._editorLoading = false;
|
241
|
+
this._currentPage = "templatePicker";
|
242
|
+
this._translations = undefined;
|
243
|
+
}
|
244
|
+
get el() { return getElement(this); }
|
245
|
+
//--------------------------------------------------------------------------
|
246
|
+
//
|
247
|
+
// Properties (protected)
|
248
|
+
//
|
249
|
+
//--------------------------------------------------------------------------
|
250
|
+
/**
|
251
|
+
* esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
|
252
|
+
* The Editor constructor
|
253
|
+
*/
|
254
|
+
Editor;
|
255
|
+
/**
|
256
|
+
* esri/form/ExpressionInfo: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-ExpressionInfo.html
|
257
|
+
* The ExpressionInfo constructor
|
258
|
+
*/
|
259
|
+
ExpressionInfo;
|
260
|
+
/**
|
261
|
+
* esri/form/elements/FieldElement: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-elements-FieldElement.html
|
262
|
+
* The FieldElement constructor
|
263
|
+
*/
|
264
|
+
FieldElement;
|
265
|
+
/**
|
266
|
+
* esri/form/FormTemplate: https://developers.arcgis.com/javascript/latest/api-reference/esri-form-FormTemplate.html
|
267
|
+
*/
|
268
|
+
FormTemplate;
|
269
|
+
/**
|
270
|
+
* esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
|
271
|
+
* The Editor instance
|
272
|
+
*/
|
273
|
+
_editor;
|
274
|
+
/**
|
275
|
+
* https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
276
|
+
* The Feature layer instance
|
277
|
+
*/
|
278
|
+
FeatureLayer;
|
279
|
+
/**
|
280
|
+
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
281
|
+
* The MapView instance
|
282
|
+
*/
|
283
|
+
MapView;
|
284
|
+
/**
|
285
|
+
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
286
|
+
* Updated map view instance
|
287
|
+
*/
|
288
|
+
_updatedMapView;
|
289
|
+
/**
|
290
|
+
* esri/widgets/Search: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
|
291
|
+
* The Search instance
|
292
|
+
*/
|
293
|
+
Search;
|
294
|
+
/**
|
295
|
+
* "esri/widgets/Search": https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html
|
296
|
+
* The Search instance
|
297
|
+
*/
|
298
|
+
_search;
|
299
|
+
/**
|
300
|
+
* esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
|
301
|
+
*/
|
302
|
+
reactiveUtils;
|
303
|
+
/**
|
304
|
+
* boolean: Flag to maintain the add attachment
|
305
|
+
*/
|
306
|
+
_addingAttachment;
|
307
|
+
/**
|
308
|
+
* HTMLDivElement: The node the editor will be added to
|
309
|
+
*/
|
310
|
+
_container;
|
311
|
+
/**
|
312
|
+
* HTMLDivElement: The node for the map view
|
313
|
+
*/
|
314
|
+
_mapViewContainer;
|
315
|
+
/**
|
316
|
+
* boolean: Flag to maintain form submission using submit button
|
317
|
+
*/
|
318
|
+
_isSubmitBtnClicked = false;
|
319
|
+
/**
|
320
|
+
* __esri.FeatureLayer: selected feature layer;
|
321
|
+
*/
|
322
|
+
_selectedLayer;
|
323
|
+
/**
|
324
|
+
* HTMLDivElement: refrence for search div element
|
325
|
+
*/
|
326
|
+
_searchDiv;
|
327
|
+
/**
|
328
|
+
* HTMLCalciteNoticeElement: calcite notice refrence element
|
329
|
+
*/
|
330
|
+
_calciteNotice;
|
331
|
+
//--------------------------------------------------------------------------
|
332
|
+
//
|
333
|
+
// Watch handlers
|
334
|
+
//
|
335
|
+
//--------------------------------------------------------------------------
|
336
|
+
/**
|
337
|
+
* Fetch translations when the locale is updated
|
338
|
+
*/
|
339
|
+
async localeWatchHandler() {
|
340
|
+
// to support url param and language switcher
|
341
|
+
this.el.lang = this.locale;
|
342
|
+
await this._getTranslations();
|
343
|
+
}
|
344
|
+
/**
|
345
|
+
* Called each time the mapView prop is changed.
|
346
|
+
*/
|
347
|
+
async mapViewWatchHandler() {
|
348
|
+
await this.mapView.when(async () => {
|
349
|
+
await this.init();
|
350
|
+
});
|
351
|
+
}
|
352
|
+
/**
|
353
|
+
* Called each time when isMobile prop is changed.
|
354
|
+
*/
|
355
|
+
async isMobileHandler() {
|
356
|
+
// emit an event when mode is changed to back to the feature selection panel (to avoid multiple maps conflict)
|
357
|
+
this.modeChanged.emit();
|
358
|
+
}
|
359
|
+
/**
|
360
|
+
* When _editorLoading is true the container node will be hidden while starting the create workflow
|
361
|
+
*/
|
362
|
+
async _editorLoadingWatchHandler(v) {
|
363
|
+
if (v) {
|
364
|
+
this._container?.classList.add("display-none");
|
365
|
+
if (this._selectedLayer?.isTable) {
|
366
|
+
const template = this._selectedLayer.templates[0];
|
367
|
+
const creationInfo = {
|
368
|
+
layer: this._selectedLayer,
|
369
|
+
template
|
370
|
+
};
|
371
|
+
await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(creationInfo);
|
372
|
+
await this.hideEditorsElements();
|
373
|
+
}
|
374
|
+
else {
|
375
|
+
await this.startCreate();
|
376
|
+
}
|
377
|
+
this._container?.classList.remove("display-none");
|
378
|
+
this._editorLoading = false;
|
379
|
+
}
|
380
|
+
}
|
381
|
+
//--------------------------------------------------------------------------
|
382
|
+
//
|
383
|
+
// Methods (public)
|
384
|
+
//
|
385
|
+
//--------------------------------------------------------------------------
|
386
|
+
/**
|
387
|
+
* Submit the created feature
|
388
|
+
* @returns Promise that resolves when the operation is complete
|
389
|
+
*/
|
390
|
+
async submit() {
|
391
|
+
if (this._editor) {
|
392
|
+
this._isSubmitBtnClicked = true;
|
393
|
+
this._editor.viewModel.featureFormViewModel.submit();
|
394
|
+
}
|
395
|
+
}
|
396
|
+
/**
|
397
|
+
* refresh the feature form
|
398
|
+
* @returns Promise that resolves when the operation is complete
|
399
|
+
*/
|
400
|
+
async refresh(floorLevel) {
|
401
|
+
if (this._editor) {
|
402
|
+
void this._setFloorLevel(floorLevel);
|
403
|
+
}
|
404
|
+
}
|
405
|
+
//--------------------------------------------------------------------------
|
406
|
+
//
|
407
|
+
// Events (public)
|
408
|
+
//
|
409
|
+
//--------------------------------------------------------------------------
|
410
|
+
/**
|
411
|
+
* Emitted on demand when the feature is created successfully
|
412
|
+
*/
|
413
|
+
success;
|
414
|
+
/**
|
415
|
+
* Emitted on demand when the feature creation is failed
|
416
|
+
*/
|
417
|
+
fail;
|
418
|
+
/**
|
419
|
+
* Emitted on demand when drawing is completed
|
420
|
+
*/
|
421
|
+
drawComplete;
|
422
|
+
/**
|
423
|
+
* Emitted on demand when editing attachments
|
424
|
+
*/
|
425
|
+
editingAttachment;
|
426
|
+
/**
|
427
|
+
* Emitted on demand when editor panel changes
|
428
|
+
*/
|
429
|
+
progressStatus;
|
430
|
+
/**
|
431
|
+
* Emitted on switched form mobile to desktop or vice versa
|
432
|
+
*/
|
433
|
+
modeChanged;
|
434
|
+
//--------------------------------------------------------------------------
|
435
|
+
//
|
436
|
+
// Functions (lifecycle)
|
437
|
+
//
|
438
|
+
//--------------------------------------------------------------------------
|
439
|
+
/**
|
440
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
441
|
+
* @returns Promise when complete
|
442
|
+
*/
|
443
|
+
async componentWillLoad() {
|
444
|
+
await this._getTranslations();
|
445
|
+
await this.initModules();
|
446
|
+
}
|
447
|
+
/**
|
448
|
+
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
449
|
+
*/
|
450
|
+
async componentDidLoad() {
|
451
|
+
await this.init();
|
452
|
+
}
|
453
|
+
/**
|
454
|
+
* Called after each render
|
455
|
+
* Used to adjust the map top in case of mobile
|
456
|
+
*/
|
457
|
+
componentDidRender() {
|
458
|
+
// update the map top according to space occupied by notice msg and search
|
459
|
+
if (this.isMobile) {
|
460
|
+
// get the height of notice, search and add 80px(editor msg) height to adjust the map top
|
461
|
+
const top = this._calciteNotice.offsetHeight + this._searchDiv.offsetHeight + 80;
|
462
|
+
this._mapViewContainer.style.top = `${top}px`;
|
463
|
+
}
|
464
|
+
}
|
465
|
+
/**
|
466
|
+
* StencilJS: Called every time the component is disconnected from the DOM,
|
467
|
+
*/
|
468
|
+
disconnectedCallback() {
|
469
|
+
if (this._editor) {
|
470
|
+
this._editor.destroy();
|
471
|
+
}
|
472
|
+
}
|
473
|
+
/**
|
474
|
+
* Renders the component.
|
475
|
+
*/
|
476
|
+
render() {
|
477
|
+
const showSearchWidget = this._currentPage === 'drawing' ? "" : "display-none";
|
478
|
+
const loaderClass = this._editorLoading ? "" : "display-none";
|
479
|
+
const featureFormClass = this._editorLoading ? "display-none" : "";
|
480
|
+
const mobileMapClass = this.isMobile ? "show-map" : "display-none";
|
481
|
+
// hide guiding msg for drawing page when showGuidingMsgWhileDrawing is false
|
482
|
+
const showGuidingMsg = this.showGuidingMsg && (this.showGuidingMsgWhileDrawing || this._currentPage !== "drawing");
|
483
|
+
let guidingMsg = this._translations.chooseCategoryMsg;
|
484
|
+
if (this._currentPage === 'drawing') {
|
485
|
+
guidingMsg = this._translations.provideLocationMsg;
|
486
|
+
}
|
487
|
+
else if (this._currentPage === 'featureForm') {
|
488
|
+
guidingMsg = this._translations.provideDetailsMsg;
|
489
|
+
}
|
490
|
+
return (h(Fragment, { key: '5ff1ae8fd3d3ca323e4a4cf58118632de8f666e8' }, showGuidingMsg && h("calcite-notice", { key: '908e0893f38e70a76541da6b102ff2664caeb5f1', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '2b070778d3d9d864ba4a3d0be2d766d5a2ddc398', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '1cc22fb1a2db9c69538dc72953c9a6181d197a17', class: loaderClass, label: "", scale: "s" }), h("div", { key: '68f8fb63bfb05aba67ac9b4906d61f0267718033', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
|
491
|
+
h("div", { key: 'a7688f8306d4c10a8abb45200fd89785cda444d8', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: 'ffed98a27fdc673fdbadc88533344d338f554ff3', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
|
492
|
+
}
|
493
|
+
//--------------------------------------------------------------------------
|
494
|
+
//
|
495
|
+
// Functions (protected)
|
496
|
+
//
|
497
|
+
//--------------------------------------------------------------------------
|
498
|
+
/**
|
499
|
+
* Init Editor widget and Search widget
|
500
|
+
*/
|
501
|
+
async init() {
|
502
|
+
if (this.mapView && this.selectedLayerId) {
|
503
|
+
this._updatedMapView = this.mapView;
|
504
|
+
// In mobile mode show the map in panel
|
505
|
+
await (this.isMobile ? this.createMobileMapView() : this._loadWidgets());
|
506
|
+
}
|
507
|
+
}
|
508
|
+
/**
|
509
|
+
* Load esri javascript api modules
|
510
|
+
* @returns Promise resolving when function is done
|
511
|
+
* @protected
|
512
|
+
*/
|
513
|
+
async initModules() {
|
514
|
+
const [Editor, reactiveUtils, Search, ExpressionInfo, FieldElement, FormTemplate, MapView] = await loadModules([
|
515
|
+
"esri/widgets/Editor",
|
516
|
+
"esri/core/reactiveUtils",
|
517
|
+
"esri/widgets/Search",
|
518
|
+
"esri/form/ExpressionInfo",
|
519
|
+
"esri/form/elements/FieldElement",
|
520
|
+
"esri/form/FormTemplate",
|
521
|
+
"esri/views/MapView"
|
522
|
+
]);
|
523
|
+
this.Editor = Editor;
|
524
|
+
this.reactiveUtils = reactiveUtils;
|
525
|
+
this.Search = Search;
|
526
|
+
this.ExpressionInfo = ExpressionInfo;
|
527
|
+
this.FieldElement = FieldElement;
|
528
|
+
this.FormTemplate = FormTemplate;
|
529
|
+
this.MapView = MapView;
|
530
|
+
}
|
531
|
+
/**
|
532
|
+
* updates the map view (in case of mobile)
|
533
|
+
* @protected
|
534
|
+
*/
|
535
|
+
async createMobileMapView() {
|
536
|
+
this._mapViewContainer.classList.add('hide-map');
|
537
|
+
await new this.MapView({
|
538
|
+
map: this.mapView.map,
|
539
|
+
container: this._mapViewContainer,
|
540
|
+
zoom: this.mapView.zoom
|
541
|
+
}).when((view) => {
|
542
|
+
// update the mapView and load all widgets
|
543
|
+
this._updatedMapView = view;
|
544
|
+
void this._loadWidgets();
|
545
|
+
}, (e) => {
|
546
|
+
console.log(e);
|
547
|
+
});
|
548
|
+
}
|
549
|
+
/**
|
550
|
+
* Loads the Editor and Search widgets
|
551
|
+
* @protected
|
552
|
+
*/
|
553
|
+
async _loadWidgets() {
|
554
|
+
await this.createEditorWidget();
|
555
|
+
if (this.enableSearch) {
|
556
|
+
await this.createSearchWidget();
|
557
|
+
}
|
558
|
+
}
|
559
|
+
/**
|
560
|
+
* Display editor widget to create the new feature
|
561
|
+
* @protected
|
562
|
+
*/
|
563
|
+
async createEditorWidget() {
|
564
|
+
if (this._editor) {
|
565
|
+
this._editor.destroy();
|
566
|
+
}
|
567
|
+
const layerInfos = [];
|
568
|
+
this._container = document.createElement("div");
|
569
|
+
this._container?.classList.add("display-none");
|
570
|
+
const allMapLayers = await getAllLayers(this._updatedMapView);
|
571
|
+
this._selectedLayer = await getLayerOrTable(this.mapView, this.selectedLayerId);
|
572
|
+
// if layer is selected then only use the layerInfos while initializing the editor widget
|
573
|
+
if (!this._selectedLayer?.isTable) {
|
574
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
575
|
+
allMapLayers.forEach(async (eachLayer) => {
|
576
|
+
layerInfos.push({
|
577
|
+
layer: eachLayer,
|
578
|
+
enabled: eachLayer?.type === "feature" && eachLayer?.id === this.selectedLayerId,
|
579
|
+
addEnabled: true, // default is true, set to false to disable the ability to add a new feature
|
580
|
+
updateEnabled: false, // if true, enable ability to edit an existing feature
|
581
|
+
deleteEnabled: false // default is true, set to false to disable the ability to delete features
|
582
|
+
});
|
583
|
+
});
|
584
|
+
}
|
585
|
+
this._editor = new this.Editor({
|
586
|
+
view: this._updatedMapView,
|
587
|
+
layerInfos: layerInfos,
|
588
|
+
visibleElements: {
|
589
|
+
snappingControls: false,
|
590
|
+
createFeaturesSection: true,
|
591
|
+
editFeaturesSection: false
|
592
|
+
},
|
593
|
+
container: this._container
|
594
|
+
});
|
595
|
+
if (this._mapViewContainer) {
|
596
|
+
this.el.insertBefore(this._container, this._mapViewContainer);
|
597
|
+
}
|
598
|
+
else {
|
599
|
+
this.el.appendChild(this._container);
|
600
|
+
}
|
601
|
+
//Add handle to watch if attachments are added/edited
|
602
|
+
const attachmentHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
|
603
|
+
if (state === 'adding-attachment' || state === 'editing-attachment') {
|
604
|
+
this._addingAttachment = true;
|
605
|
+
this.editingAttachment.emit(true);
|
606
|
+
}
|
607
|
+
else {
|
608
|
+
if (this._addingAttachment) {
|
609
|
+
this.editingAttachment.emit(false);
|
610
|
+
this._addingAttachment = false;
|
611
|
+
}
|
612
|
+
}
|
613
|
+
});
|
614
|
+
this._editor.viewModel.addHandles(attachmentHandle);
|
615
|
+
//Add handle to watch featureTemplatesViewModel ready state and then start the creation
|
616
|
+
const handle = this.reactiveUtils.watch(() => this._editor.viewModel.featureTemplatesViewModel.state, (state) => {
|
617
|
+
if (state === 'ready' && this._editor.viewModel?.activeWorkflow?.type !== "create-features") {
|
618
|
+
this.progressStatus.emit(0.5);
|
619
|
+
this._editorLoading = true;
|
620
|
+
}
|
621
|
+
});
|
622
|
+
this._editor.viewModel.addHandles(handle);
|
623
|
+
//Add handle to watch featureFormViewModel ready state
|
624
|
+
const formHandle = this.reactiveUtils.watch(() => this._editor.viewModel.featureFormViewModel?.state, (state) => {
|
625
|
+
if (state === 'ready') {
|
626
|
+
this._mapViewContainer?.classList?.replace("show-map", "hide-map");
|
627
|
+
this._editor.viewModel.featureFormViewModel.on('submit', this.submitted.bind(this));
|
628
|
+
setTimeout(() => {
|
629
|
+
void this._setFloorLevel(this.floorLevel);
|
630
|
+
}, 50);
|
631
|
+
this._currentPage = 'featureForm';
|
632
|
+
this.progressStatus.emit(1);
|
633
|
+
this.drawComplete.emit();
|
634
|
+
}
|
635
|
+
});
|
636
|
+
this._editor.viewModel.addHandles(formHandle);
|
637
|
+
//Add handle to watch editor viewmodel state and then show the search widget
|
638
|
+
const createFeatureHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
|
639
|
+
if (state === 'creating-features') {
|
640
|
+
if (this._editor.viewModel.featureFormViewModel.state === 'disabled') {
|
641
|
+
this._mapViewContainer?.classList?.replace("hide-map", "show-map");
|
642
|
+
if (this._selectedLayer && !this._selectedLayer.isTable) {
|
643
|
+
this._currentPage = 'drawing';
|
644
|
+
}
|
645
|
+
}
|
646
|
+
}
|
647
|
+
});
|
648
|
+
this._editor.viewModel.addHandles(createFeatureHandle);
|
649
|
+
}
|
650
|
+
/**
|
651
|
+
* Start creating the feature
|
652
|
+
* @protected
|
653
|
+
*/
|
654
|
+
async startCreate() {
|
655
|
+
// hides the header elements on template picker page
|
656
|
+
await this.hideEditorsElements();
|
657
|
+
return new Promise((resolve, reject) => {
|
658
|
+
if (this._editor.viewModel.featureTemplatesViewModel.items?.length) {
|
659
|
+
const items = this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");
|
660
|
+
//once the feature template is selected handle the event for formSubmit and sketch complete
|
661
|
+
//also, hide the headers and footer in the editor as we will be showing our own submit and cancel button
|
662
|
+
this._editor.viewModel.featureTemplatesViewModel.on('select', () => {
|
663
|
+
this.progressStatus.emit(0.75);
|
664
|
+
setTimeout(() => {
|
665
|
+
//hides the header and footer elements in editor widget
|
666
|
+
this.hideEditorsElements().then(() => {
|
667
|
+
resolve({});
|
668
|
+
}, e => reject(e));
|
669
|
+
}, 700);
|
670
|
+
});
|
671
|
+
//if only one feature template then directly start geometry creation for that
|
672
|
+
if (items.length === 1) {
|
673
|
+
this._editor.viewModel.featureTemplatesViewModel.select(items[0]);
|
674
|
+
}
|
675
|
+
const resolvePromise = items.length > 1;
|
676
|
+
this.hideEditorsElements().then(() => {
|
677
|
+
if (resolvePromise) {
|
678
|
+
resolve({});
|
679
|
+
}
|
680
|
+
}, e => resolvePromise && reject(e));
|
681
|
+
}
|
682
|
+
});
|
683
|
+
}
|
684
|
+
/**
|
685
|
+
* Display search widget to search location
|
686
|
+
* @protected
|
687
|
+
*/
|
688
|
+
async createSearchWidget() {
|
689
|
+
let searchOptions = {
|
690
|
+
view: this._updatedMapView,
|
691
|
+
};
|
692
|
+
if (this.searchConfiguration) {
|
693
|
+
const searchConfiguration = this._getSearchConfig(this.searchConfiguration, this._updatedMapView);
|
694
|
+
searchOptions = {
|
695
|
+
...searchConfiguration
|
696
|
+
};
|
697
|
+
}
|
698
|
+
this._search = new this.Search(searchOptions);
|
699
|
+
this._search.container = 'search-widget-ref';
|
700
|
+
this._search.popupEnabled = false;
|
701
|
+
this._search.resultGraphicEnabled = false;
|
702
|
+
let pointGeometry = null;
|
703
|
+
// on search get the geometry of the searched location and pass it in sketchViewModel and go to featureForm page
|
704
|
+
this._search.on('search-complete', (e) => {
|
705
|
+
void this._updatedMapView.goTo(e.results[0].results[0].extent);
|
706
|
+
if (this._selectedLayer.geometryType === 'point') {
|
707
|
+
pointGeometry = e.results[0].results[0]?.feature.geometry;
|
708
|
+
}
|
709
|
+
});
|
710
|
+
//Add handle to watch if search viewModel state is ready
|
711
|
+
const createFeatureHandle = this.reactiveUtils.watch(() => this._search.viewModel.state, (state) => {
|
712
|
+
if (state === 'ready') {
|
713
|
+
setTimeout(() => {
|
714
|
+
if (this._editor.viewModel.sketchViewModel.createGraphic && pointGeometry) {
|
715
|
+
this._editor.viewModel.sketchViewModel.createGraphic.set('geometry', pointGeometry);
|
716
|
+
this._editor.viewModel.sketchViewModel.complete();
|
717
|
+
void this.hideEditorsElements();
|
718
|
+
}
|
719
|
+
}, 100);
|
720
|
+
}
|
721
|
+
});
|
722
|
+
this._search.viewModel.addHandles(createFeatureHandle);
|
723
|
+
}
|
724
|
+
/**
|
725
|
+
* Initialize the search widget based on user defined configuration
|
726
|
+
*
|
727
|
+
* @param searchConfiguration search configuration defined by the user
|
728
|
+
* @param view the current map view
|
729
|
+
*
|
730
|
+
* @protected
|
731
|
+
*/
|
732
|
+
_getSearchConfig(searchConfiguration, view) {
|
733
|
+
const INCLUDE_DEFAULT_SOURCES = "includeDefaultSources";
|
734
|
+
const sources = searchConfiguration.sources;
|
735
|
+
if (sources?.length > 0) {
|
736
|
+
searchConfiguration[INCLUDE_DEFAULT_SOURCES] = false;
|
737
|
+
sources.forEach((source) => {
|
738
|
+
const isLayerSource = source.hasOwnProperty("layer");
|
739
|
+
if (isLayerSource) {
|
740
|
+
const layerSource = source;
|
741
|
+
const layerId = layerSource.layer?.id;
|
742
|
+
const layerFromMap = layerId ? view.map.findLayerById(layerId) : null;
|
743
|
+
const layerUrl = layerSource?.layer?.url;
|
744
|
+
if (layerFromMap) {
|
745
|
+
layerSource.layer = layerFromMap;
|
746
|
+
}
|
747
|
+
else if (layerUrl) {
|
748
|
+
layerSource.layer = new this.FeatureLayer(layerUrl);
|
749
|
+
}
|
750
|
+
}
|
751
|
+
});
|
752
|
+
sources?.forEach((source) => {
|
753
|
+
const isLocatorSource = source.hasOwnProperty("locator");
|
754
|
+
if (isLocatorSource) {
|
755
|
+
const locatorSource = source;
|
756
|
+
if (locatorSource?.name === "ArcGIS World Geocoding Service") {
|
757
|
+
const outFields = locatorSource.outFields || ["Addr_type", "Match_addr", "StAddr", "City"];
|
758
|
+
locatorSource.outFields = outFields;
|
759
|
+
locatorSource.singleLineFieldName = "SingleLine";
|
760
|
+
}
|
761
|
+
locatorSource.url = locatorSource.url;
|
762
|
+
delete locatorSource.url;
|
763
|
+
}
|
764
|
+
});
|
765
|
+
}
|
766
|
+
else {
|
767
|
+
searchConfiguration = {
|
768
|
+
...searchConfiguration,
|
769
|
+
includeDefaultSources: true
|
770
|
+
};
|
771
|
+
}
|
772
|
+
return searchConfiguration;
|
773
|
+
}
|
774
|
+
/**
|
775
|
+
* Add the floor level value to form
|
776
|
+
* @param level selected floor level
|
777
|
+
*
|
778
|
+
* @protected
|
779
|
+
*/
|
780
|
+
async _setFloorLevel(level) {
|
781
|
+
if (!level) {
|
782
|
+
return;
|
783
|
+
}
|
784
|
+
const layer = this._selectedLayer;
|
785
|
+
if (layer?.floorInfo?.floorField) {
|
786
|
+
const layerField = layer.fields.find((field) => field.name === layer.floorInfo.floorField);
|
787
|
+
// 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
|
788
|
+
if (layerField && !layer?.formTemplate) {
|
789
|
+
this._editor.viewModel.featureFormViewModel.setValue(layerField.name, level);
|
790
|
+
layerField.editable = false;
|
791
|
+
}
|
792
|
+
else if (layer.formTemplate && this.formElements) {
|
793
|
+
const floorInfoExpression = new this.ExpressionInfo({
|
794
|
+
expression: `"${level}"`,
|
795
|
+
name: "floor-info-test",
|
796
|
+
title: "Floor Info",
|
797
|
+
returnType: "string"
|
798
|
+
});
|
799
|
+
const levelIdFieldElement = new this.FieldElement({
|
800
|
+
label: layer.floorInfo.floorField,
|
801
|
+
editableExpression: 'false',
|
802
|
+
fieldName: layer.floorInfo.floorField,
|
803
|
+
input: {
|
804
|
+
type: "text-box",
|
805
|
+
maxLength: 50,
|
806
|
+
minLength: 0
|
807
|
+
},
|
808
|
+
valueExpression: floorInfoExpression.name
|
809
|
+
});
|
810
|
+
this._updatedMapView.map.editableLayers.forEach((layer) => {
|
811
|
+
const orgElements = this.formElements.orgElements;
|
812
|
+
const orgExpressionInfos = this.formElements.orgExpressionInfos;
|
813
|
+
const elements = [...orgElements];
|
814
|
+
elements.push(levelIdFieldElement);
|
815
|
+
// Creating formtemplate
|
816
|
+
const floorInfoTemplate = new this.FormTemplate({
|
817
|
+
title: layer.formTemplate.title,
|
818
|
+
description: layer.formTemplate.description,
|
819
|
+
elements,
|
820
|
+
expressionInfos: [floorInfoExpression].concat(orgExpressionInfos)
|
821
|
+
});
|
822
|
+
layer.formTemplate = floorInfoTemplate;
|
823
|
+
});
|
824
|
+
}
|
825
|
+
}
|
826
|
+
}
|
827
|
+
/**
|
828
|
+
* Hides the elements of editor widget
|
829
|
+
* @protected
|
830
|
+
*/
|
831
|
+
async hideEditorsElements() {
|
832
|
+
if (!this.customizeSubmit) {
|
833
|
+
return;
|
834
|
+
}
|
835
|
+
await this.timeout(700);
|
836
|
+
//hides the header and footer on the featureForm
|
837
|
+
this.el.querySelector('.esri-editor')?.querySelectorAll('calcite-flow-item')?.forEach((flowItem) => {
|
838
|
+
const article = flowItem.shadowRoot?.querySelector('calcite-panel')?.shadowRoot?.querySelector('article');
|
839
|
+
//hide the header
|
840
|
+
article?.querySelector('header')?.setAttribute('style', 'display: none');
|
841
|
+
//hide the footer
|
842
|
+
article?.querySelector('footer')?.setAttribute('style', 'display: none');
|
843
|
+
});
|
844
|
+
}
|
845
|
+
/**
|
846
|
+
* On creation of feature emit the event that the feature is created
|
847
|
+
* @param evt feature submit event
|
848
|
+
* @protected
|
849
|
+
*/
|
850
|
+
async submitted(evt) {
|
851
|
+
//return if any attribute is invalid , focus will be shifted to the invalid attribute in feature form
|
852
|
+
if (evt.invalid.length) {
|
853
|
+
this._isSubmitBtnClicked = false;
|
854
|
+
return;
|
855
|
+
}
|
856
|
+
//Submit only when valid attributes
|
857
|
+
//emit success or fail based on the result
|
858
|
+
if (evt.valid.length && this._isSubmitBtnClicked) {
|
859
|
+
this._isSubmitBtnClicked = false;
|
860
|
+
try {
|
861
|
+
await this._editor.activeWorkflow.commit();
|
862
|
+
//throw errors if any failures
|
863
|
+
if (this._editor.viewModel.failures?.length) {
|
864
|
+
this._editor.viewModel.failures.some((failure) => {
|
865
|
+
if (failure.error) {
|
866
|
+
throw (failure.error);
|
867
|
+
}
|
868
|
+
});
|
869
|
+
}
|
870
|
+
}
|
871
|
+
catch (e) {
|
872
|
+
this.fail.emit(e);
|
873
|
+
return;
|
874
|
+
}
|
875
|
+
this.success.emit();
|
876
|
+
}
|
877
|
+
}
|
878
|
+
/**
|
879
|
+
* call setTimeout in Promise wrapper
|
880
|
+
* @param delay The time, in milliseconds that the timer should wait before the promise is resolved
|
881
|
+
* @protected
|
882
|
+
*/
|
883
|
+
timeout(delay) {
|
884
|
+
return new Promise(resolve => setTimeout(resolve, delay));
|
885
|
+
}
|
886
|
+
/**
|
887
|
+
* Fetches the component's translations
|
888
|
+
* @returns Promise when complete
|
889
|
+
* @protected
|
890
|
+
*/
|
891
|
+
async _getTranslations() {
|
892
|
+
const messages = await getLocaleComponentStrings(this.el);
|
893
|
+
this._translations = messages[0];
|
894
|
+
}
|
895
|
+
static get watchers() { return {
|
896
|
+
"locale": ["localeWatchHandler"],
|
897
|
+
"mapView": ["mapViewWatchHandler"],
|
898
|
+
"isMobile": ["isMobileHandler"],
|
899
|
+
"_editorLoading": ["_editorLoadingWatchHandler"]
|
900
|
+
}; }
|
901
|
+
};
|
902
|
+
CreateFeature.style = CreateFeatureStyle0;
|
903
|
+
|
904
|
+
const deleteButtonCss = ":host{display:block}.delete-modal{position:fixed}";
|
905
|
+
const DeleteButtonStyle0 = deleteButtonCss;
|
906
|
+
|
907
|
+
const DeleteButton = class {
|
908
|
+
constructor(hostRef) {
|
909
|
+
registerInstance(this, hostRef);
|
910
|
+
this.editsComplete = createEvent(this, "editsComplete", 7);
|
911
|
+
this.deleteDialog = undefined;
|
912
|
+
this.buttonType = "button";
|
913
|
+
this.disabled = false;
|
914
|
+
this.icon = undefined;
|
915
|
+
this.ids = [];
|
916
|
+
this.layer = undefined;
|
917
|
+
this.locale = undefined;
|
918
|
+
this._confirmDelete = false;
|
919
|
+
this._deleteEndabled = false;
|
920
|
+
this._supportsDelete = undefined;
|
921
|
+
this._translations = undefined;
|
922
|
+
}
|
923
|
+
get el() { return getElement(this); }
|
924
|
+
//--------------------------------------------------------------------------
|
925
|
+
//
|
926
|
+
// Properties (protected)
|
927
|
+
//
|
928
|
+
//--------------------------------------------------------------------------
|
929
|
+
//--------------------------------------------------------------------------
|
930
|
+
//
|
931
|
+
// Watch handlers
|
932
|
+
//
|
933
|
+
//--------------------------------------------------------------------------
|
934
|
+
/**
|
935
|
+
* watch for changes in layer view and verify if it has editing enabled
|
936
|
+
*/
|
937
|
+
async idsWatchHandler() {
|
938
|
+
this._setDeleteEnabled();
|
939
|
+
}
|
940
|
+
/**
|
941
|
+
* watch for changes in layer view and verify if it has editing enabled
|
942
|
+
*/
|
943
|
+
async layerWatchHandler() {
|
944
|
+
this._setDeleteEnabled();
|
945
|
+
}
|
946
|
+
/**
|
947
|
+
* Fetch translations when the locale is updated
|
948
|
+
*/
|
949
|
+
async localeWatchHandler() {
|
950
|
+
// to support url param and language switcher
|
951
|
+
this.el.lang = this.locale;
|
952
|
+
await this._getTranslations();
|
953
|
+
}
|
954
|
+
//--------------------------------------------------------------------------
|
955
|
+
//
|
956
|
+
// Methods (public)
|
957
|
+
//
|
958
|
+
//--------------------------------------------------------------------------
|
959
|
+
//--------------------------------------------------------------------------
|
960
|
+
//
|
961
|
+
// Events (public)
|
962
|
+
//
|
963
|
+
//--------------------------------------------------------------------------
|
964
|
+
/**
|
965
|
+
* Emitted on demand when features have been deleted
|
966
|
+
*/
|
967
|
+
editsComplete;
|
968
|
+
//--------------------------------------------------------------------------
|
969
|
+
//
|
970
|
+
// Functions (lifecycle)
|
971
|
+
//
|
972
|
+
//--------------------------------------------------------------------------
|
973
|
+
/**
|
974
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
975
|
+
*
|
976
|
+
* @returns Promise when complete
|
977
|
+
*/
|
978
|
+
async componentWillLoad() {
|
979
|
+
await this._getTranslations();
|
980
|
+
}
|
981
|
+
/**
|
982
|
+
* Renders the component.
|
983
|
+
*/
|
984
|
+
render() {
|
985
|
+
return (h(Host, { key: '16e40d762fda104d4b5687076a66c8a966c74838' }, 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", 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: '43b52554c36cdeffb89e9c6c81bbb0a0549fa20b', placement: "bottom", "reference-element": this.buttonType === "button" ? "solutions-delete" : this.icon }, h("span", { key: 'f27147140dedcea99d759d5a84128adfc788becc' }, this._translations.delete))));
|
986
|
+
}
|
987
|
+
/**
|
988
|
+
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
989
|
+
*/
|
990
|
+
async componentDidLoad() {
|
991
|
+
this._setDeleteEnabled();
|
992
|
+
}
|
993
|
+
//--------------------------------------------------------------------------
|
994
|
+
//
|
995
|
+
// Functions (protected)
|
996
|
+
//
|
997
|
+
//--------------------------------------------------------------------------
|
998
|
+
/**
|
999
|
+
* Verify if the layer supports delete and that we have 1 or more ids
|
1000
|
+
*/
|
1001
|
+
_setDeleteEnabled() {
|
1002
|
+
this._supportsDelete = this.layer?.editingEnabled && this.layer?.capabilities?.operations?.supportsDelete;
|
1003
|
+
this._deleteEndabled = !this.disabled || this._supportsDelete && this.ids.length > 0;
|
1004
|
+
}
|
1005
|
+
/**
|
1006
|
+
* Delete all selected records or shows an alert if the layer does not have editing enabled
|
1007
|
+
*
|
1008
|
+
* @returns a promise that will resolve when the operation is complete
|
1009
|
+
*/
|
1010
|
+
_delete() {
|
1011
|
+
this._confirmDelete = true;
|
1012
|
+
}
|
1013
|
+
/**
|
1014
|
+
* Show delete confirmation message
|
1015
|
+
*
|
1016
|
+
* @returns node to confirm or deny the delete operation
|
1017
|
+
*/
|
1018
|
+
_deleteMessage() {
|
1019
|
+
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 }));
|
1020
|
+
}
|
1021
|
+
/**
|
1022
|
+
* Fetches the component's translations
|
1023
|
+
*
|
1024
|
+
* @returns Promise when complete
|
1025
|
+
* @protected
|
1026
|
+
*/
|
1027
|
+
async _getTranslations() {
|
1028
|
+
const messages = await getLocaleComponentStrings(this.el);
|
1029
|
+
this._translations = messages[0];
|
1030
|
+
}
|
1031
|
+
static get watchers() { return {
|
1032
|
+
"ids": ["idsWatchHandler"],
|
1033
|
+
"layer": ["layerWatchHandler"],
|
1034
|
+
"locale": ["localeWatchHandler"]
|
1035
|
+
}; }
|
1036
|
+
};
|
1037
|
+
DeleteButton.style = DeleteButtonStyle0;
|
1038
|
+
|
1039
|
+
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}";
|
1040
|
+
const EditCardStyle0 = editCardCss;
|
1041
|
+
|
1042
|
+
const EditCard = class {
|
1043
|
+
constructor(hostRef) {
|
1044
|
+
registerInstance(this, hostRef);
|
1045
|
+
this.closeEdit = createEvent(this, "closeEdit", 7);
|
1046
|
+
this.editorInitialized = createEvent(this, "editorInitialized", 7);
|
1047
|
+
this.editsComplete = createEvent(this, "editsComplete", 7);
|
1048
|
+
this.refreshGraphics = createEvent(this, "refreshGraphics", 7);
|
1049
|
+
this.enableEditGeometry = false;
|
1050
|
+
this.graphics = undefined;
|
1051
|
+
this.locale = undefined;
|
1052
|
+
this.mapView = undefined;
|
1053
|
+
this.open = false;
|
1054
|
+
this.graphicIndex = 0;
|
1055
|
+
this._editorLoading = false;
|
1056
|
+
this._translations = undefined;
|
1057
|
+
}
|
1058
|
+
get el() { return getElement(this); }
|
1059
|
+
//--------------------------------------------------------------------------
|
1060
|
+
//
|
1061
|
+
// Properties (protected)
|
1062
|
+
//
|
1063
|
+
//--------------------------------------------------------------------------
|
1064
|
+
/**
|
1065
|
+
* esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
|
1066
|
+
*/
|
1067
|
+
_activeWorkflowHandle;
|
1068
|
+
/**
|
1069
|
+
* esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
|
1070
|
+
*/
|
1071
|
+
_addRelatedRecordHandle;
|
1072
|
+
/**
|
1073
|
+
* esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
|
1074
|
+
*/
|
1075
|
+
_attachmentHandle;
|
1076
|
+
/**
|
1077
|
+
* esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
|
1078
|
+
*/
|
1079
|
+
_editHandle;
|
1080
|
+
/**
|
1081
|
+
* esri/core/Accessor: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html#WatchHandle
|
1082
|
+
*/
|
1083
|
+
_layerEditHandle;
|
1084
|
+
/**
|
1085
|
+
* esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
|
1086
|
+
* The Editor constructor
|
1087
|
+
*/
|
1088
|
+
Editor;
|
1089
|
+
/**
|
1090
|
+
* esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
|
1091
|
+
* The Editor instance
|
1092
|
+
*/
|
1093
|
+
_editor;
|
1094
|
+
/**
|
1095
|
+
* esri/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
1096
|
+
* OR
|
1097
|
+
* esri/layers/support/SubtypeSublayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-SubtypeSublayer.html
|
1098
|
+
*/
|
1099
|
+
_layer;
|
1100
|
+
/**
|
1101
|
+
* HTMLDivElement: https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement
|
1102
|
+
*/
|
1103
|
+
_editContainer;
|
1104
|
+
/**
|
1105
|
+
* any[]: Collection of edit controls created in "MULTI" edit mode
|
1106
|
+
* These can be calcite-input-text, calcite-input-number, calcite-input-date-picker, calcite-input-time-picker, or calcite-combobox
|
1107
|
+
*/
|
1108
|
+
_editControlElements;
|
1109
|
+
/**
|
1110
|
+
* boolean: When true edit controls will be disabled
|
1111
|
+
*/
|
1112
|
+
_editingDisabled;
|
1113
|
+
/**
|
1114
|
+
* boolean: When true the Editor widget should be closed
|
1115
|
+
* Without this logic we are taken to the Editors "Select" workflow step
|
1116
|
+
*/
|
1117
|
+
_shouldClose = false;
|
1118
|
+
/**
|
1119
|
+
* esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
|
1120
|
+
*/
|
1121
|
+
reactiveUtils;
|
1122
|
+
//--------------------------------------------------------------------------
|
1123
|
+
//
|
1124
|
+
// Watch handlers
|
1125
|
+
//
|
1126
|
+
//--------------------------------------------------------------------------
|
1127
|
+
/**
|
1128
|
+
* Watch for changes to the graphics and update the feature widget
|
1129
|
+
*/
|
1130
|
+
async graphicsWatchHandler() {
|
1131
|
+
if (this.graphics.length === 0 && this.open) {
|
1132
|
+
await this._closeEdit(true);
|
1133
|
+
}
|
1134
|
+
}
|
1135
|
+
/**
|
1136
|
+
* Fetch translations when the locale is updated
|
1137
|
+
*/
|
1138
|
+
async localeWatchHandler() {
|
1139
|
+
// to support url param and language switcher
|
1140
|
+
this.el.lang = this.locale;
|
1141
|
+
await this._getTranslations();
|
1142
|
+
}
|
1143
|
+
async openWatchHandler(v) {
|
1144
|
+
if (v && this.graphics?.length > 0 && this.graphicIndex > -1) {
|
1145
|
+
this._editorLoading = true;
|
1146
|
+
await this._initEditorWidget();
|
1147
|
+
if (this.graphicIndex > -1 && this.graphics.length > 0 && this.open && !this._shouldClose) {
|
1148
|
+
await this._startUpdate();
|
1149
|
+
}
|
1150
|
+
this._editorLoading = false;
|
1151
|
+
}
|
1152
|
+
if (!v) {
|
1153
|
+
await this._closeEdit(true);
|
1154
|
+
}
|
1155
|
+
}
|
1156
|
+
//--------------------------------------------------------------------------
|
1157
|
+
//
|
1158
|
+
// Methods (public)
|
1159
|
+
//
|
1160
|
+
//--------------------------------------------------------------------------
|
1161
|
+
//--------------------------------------------------------------------------
|
1162
|
+
//
|
1163
|
+
// Events (public)
|
1164
|
+
//
|
1165
|
+
//--------------------------------------------------------------------------
|
1166
|
+
/**
|
1167
|
+
* Emitted on demand when the Editor widget should be closed
|
1168
|
+
*/
|
1169
|
+
closeEdit;
|
1170
|
+
/**
|
1171
|
+
* Emit the Editor when it is initialized
|
1172
|
+
*/
|
1173
|
+
editorInitialized;
|
1174
|
+
/**
|
1175
|
+
* Emitted on demand when edits are completed on current edit layer
|
1176
|
+
*/
|
1177
|
+
editsComplete;
|
1178
|
+
/**
|
1179
|
+
* Emitted on demand when the editor is closed to handle
|
1180
|
+
* things like attachment updates that don't fire the standard edit update event when complete
|
1181
|
+
*/
|
1182
|
+
refreshGraphics;
|
1183
|
+
async featureSelectionChange() {
|
1184
|
+
if (this.open) {
|
1185
|
+
await this._closeEdit(false);
|
1186
|
+
}
|
1187
|
+
}
|
1188
|
+
//--------------------------------------------------------------------------
|
1189
|
+
//
|
1190
|
+
// Functions (lifecycle)
|
1191
|
+
//
|
1192
|
+
//--------------------------------------------------------------------------
|
1193
|
+
/**
|
1194
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
1195
|
+
*
|
1196
|
+
* @returns Promise when complete
|
1197
|
+
*/
|
1198
|
+
async componentWillLoad() {
|
1199
|
+
await this._initModules();
|
1200
|
+
await this._getTranslations();
|
1201
|
+
}
|
1202
|
+
/**
|
1203
|
+
* Special handeling when used with layer-table.
|
1204
|
+
* This allows us to only fetch graphics when the modal is opened rather than with every render of the layer-table.
|
1205
|
+
*
|
1206
|
+
* @returns Promise when complete
|
1207
|
+
*/
|
1208
|
+
async componentWillRender() {
|
1209
|
+
if (this.graphics?.length > 0 && this.graphics[0]?.layer) {
|
1210
|
+
this._layer = this.graphics[0].layer;
|
1211
|
+
if (this._layerEditHandle) {
|
1212
|
+
this._layerEditHandle.remove();
|
1213
|
+
}
|
1214
|
+
// #896 Editing on sybtype group layer is failing in Manager
|
1215
|
+
const layer = this._layer.type === "subtype-sublayer" ? this._layer.parent : this._layer;
|
1216
|
+
this._layerEditHandle = layer.on("edits", () => {
|
1217
|
+
this.editsComplete.emit();
|
1218
|
+
});
|
1219
|
+
}
|
1220
|
+
}
|
1221
|
+
/**
|
1222
|
+
* Renders the component.
|
1223
|
+
*/
|
1224
|
+
render() {
|
1225
|
+
// This is a temp workaround hopefully...this._editingDisabled should reflect the current state but does not
|
1226
|
+
// when you use MULTI edit mode...is fine in SINGLE
|
1227
|
+
const editDisabled = this.graphics?.length > 0 && this.graphics[0] ?
|
1228
|
+
!this.graphics[0].layer.editingEnabled : true;
|
1229
|
+
const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
|
1230
|
+
const loadingClass = this._editorLoading ? "" : "display-none";
|
1231
|
+
return (h(Host, { key: '07a1ccdba5162490e20fee0ef555cef895f0885e' }, h("div", { key: '845beed84402ca9a4056bd7231eed52a89ff65b8', 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: '0f8dcb1c8d2cd8df395a5f0b2abf9e1d3a50f11f', class: "position-absolute" }, h("div", { key: 'f0906c8e8c046f8464a5487958b6bc637207b00c', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: 'cb2e513262d14470287097572c905173a0c63f92', class: loadingClass, label: "", scale: "s" })))));
|
1232
|
+
}
|
1233
|
+
//--------------------------------------------------------------------------
|
1234
|
+
//
|
1235
|
+
// Functions (protected)
|
1236
|
+
//
|
1237
|
+
//--------------------------------------------------------------------------
|
1238
|
+
/**
|
1239
|
+
* Load esri javascript api modules
|
1240
|
+
*
|
1241
|
+
* @returns Promise resolving when function is done
|
1242
|
+
*/
|
1243
|
+
async _initModules() {
|
1244
|
+
const [Editor, reactiveUtils] = await loadModules([
|
1245
|
+
"esri/widgets/Editor",
|
1246
|
+
"esri/core/reactiveUtils"
|
1247
|
+
]);
|
1248
|
+
this.Editor = Editor;
|
1249
|
+
this.reactiveUtils = reactiveUtils;
|
1250
|
+
}
|
1251
|
+
/**
|
1252
|
+
* Init the Editor widget so we can display the popup content
|
1253
|
+
*/
|
1254
|
+
async _initEditorWidget() {
|
1255
|
+
if (this.mapView && this.graphics && this.graphics.length > 0 && this.graphics[0]) {
|
1256
|
+
if (this._editor) {
|
1257
|
+
this._editor.destroy();
|
1258
|
+
}
|
1259
|
+
const container = document.createElement("div");
|
1260
|
+
const layers = await getAllLayers(this.mapView);
|
1261
|
+
const layerInfos = layers.map(layer => {
|
1262
|
+
return {
|
1263
|
+
layer,
|
1264
|
+
geometryUpdatesEnabled: this.enableEditGeometry
|
1265
|
+
};
|
1266
|
+
});
|
1267
|
+
this._editor = new this.Editor({
|
1268
|
+
view: this.mapView,
|
1269
|
+
layerInfos,
|
1270
|
+
visibleElements: {
|
1271
|
+
snappingControls: false
|
1272
|
+
},
|
1273
|
+
container
|
1274
|
+
});
|
1275
|
+
if (this._attachmentHandle && this._activeWorkflowHandle) {
|
1276
|
+
this._attachmentHandle.remove();
|
1277
|
+
this._activeWorkflowHandle.remove();
|
1278
|
+
}
|
1279
|
+
this._attachmentHandle = this.reactiveUtils.when(() => this._editor.viewModel.state === "adding-attachment" ||
|
1280
|
+
this._editor.viewModel.state === "editing-attachment" ||
|
1281
|
+
this._editor.viewModel.state === "creating-features", () => {
|
1282
|
+
this._shouldClose = false;
|
1283
|
+
});
|
1284
|
+
this._activeWorkflowHandle = this.reactiveUtils.watch(() => this._editor.viewModel.activeWorkflow?.activeWorkflow, (activeWorkflow) => {
|
1285
|
+
if (activeWorkflow?.type === "update-table-record" || activeWorkflow?.type === "create-features") {
|
1286
|
+
this._shouldClose = false;
|
1287
|
+
}
|
1288
|
+
// Handle back click and when feature is de-selected from the table
|
1289
|
+
// this ensures that we are not shown the Editors "Select" workflow step
|
1290
|
+
if ((!activeWorkflow?.type && !activeWorkflow?.hasPendingEdits && !this._editor.activeWorkflow) || !this._editor?.activeWorkflow?.started) {
|
1291
|
+
this.open = false;
|
1292
|
+
}
|
1293
|
+
});
|
1294
|
+
// had issues with destroy before adding like this
|
1295
|
+
this._editContainer.appendChild(container);
|
1296
|
+
this.editorInitialized.emit(this._editor);
|
1297
|
+
}
|
1298
|
+
}
|
1299
|
+
/**
|
1300
|
+
* Close the edit widget
|
1301
|
+
*/
|
1302
|
+
async _closeEdit(destroyOnClose) {
|
1303
|
+
this._shouldClose = true;
|
1304
|
+
if (destroyOnClose && this._editor?.activeWorkflow) {
|
1305
|
+
if (this._editor.activeWorkflow?.activeWorkflow?.hasPendingEdits) {
|
1306
|
+
await this._editor.activeWorkflow.reset();
|
1307
|
+
await this._editor.cancelWorkflow();
|
1308
|
+
}
|
1309
|
+
this._editor.destroy();
|
1310
|
+
}
|
1311
|
+
else {
|
1312
|
+
if (this.graphicIndex > -1 && this.graphics?.length > 0) {
|
1313
|
+
this.refreshGraphics.emit(this.graphics);
|
1314
|
+
}
|
1315
|
+
}
|
1316
|
+
this._shouldClose = false;
|
1317
|
+
this.closeEdit.emit();
|
1318
|
+
}
|
1319
|
+
/**
|
1320
|
+
* Start the update workflow for the editor widget
|
1321
|
+
*/
|
1322
|
+
async _startUpdate() {
|
1323
|
+
await this._editor.startUpdateWorkflowAtFeatureEdit(this.graphics[this.graphicIndex]);
|
1324
|
+
this._shouldClose = true;
|
1325
|
+
}
|
1326
|
+
/**
|
1327
|
+
* Fetches the component's translations
|
1328
|
+
*
|
1329
|
+
* @returns Promise when complete
|
1330
|
+
*/
|
1331
|
+
async _getTranslations() {
|
1332
|
+
const messages = await getLocaleComponentStrings(this.el);
|
1333
|
+
this._translations = messages[0];
|
1334
|
+
}
|
1335
|
+
static get watchers() { return {
|
1336
|
+
"graphics": ["graphicsWatchHandler"],
|
1337
|
+
"locale": ["localeWatchHandler"],
|
1338
|
+
"open": ["openWatchHandler"]
|
1339
|
+
}; }
|
1340
|
+
};
|
1341
|
+
EditCard.style = EditCardStyle0;
|
1342
|
+
|
1343
|
+
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}";
|
1344
|
+
const InfoCardStyle0 = infoCardCss;
|
1345
|
+
|
1346
|
+
const InfoCard = class {
|
1347
|
+
constructor(hostRef) {
|
1348
|
+
registerInstance(this, hostRef);
|
1349
|
+
this.popupClosed = createEvent(this, "popupClosed", 7);
|
1350
|
+
this.selectionChanged = createEvent(this, "selectionChanged", 7);
|
1351
|
+
this.enableEditGeometry = false;
|
1352
|
+
this.graphics = undefined;
|
1353
|
+
this.isLoading = false;
|
1354
|
+
this.isMobile = undefined;
|
1355
|
+
this.mapView = undefined;
|
1356
|
+
this.allowEditing = true;
|
1357
|
+
this.highlightEnabled = true;
|
1358
|
+
this.locale = undefined;
|
1359
|
+
this.paginationEnabled = true;
|
1360
|
+
this.position = 'absolute';
|
1361
|
+
this._alertOpen = false;
|
1362
|
+
this._count = "";
|
1363
|
+
this._editRecordOpen = false;
|
1364
|
+
this._mobileTitle = "";
|
1365
|
+
this._showListView = false;
|
1366
|
+
this._translations = undefined;
|
1367
|
+
}
|
1368
|
+
get el() { return getElement(this); }
|
1369
|
+
//--------------------------------------------------------------------------
|
1370
|
+
//
|
1371
|
+
// Properties (protected)
|
1372
|
+
//
|
1373
|
+
//--------------------------------------------------------------------------
|
1374
|
+
/**
|
1375
|
+
* esri/widgets/Feature: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html
|
1376
|
+
* used for module import
|
1377
|
+
*/
|
1378
|
+
Features;
|
1379
|
+
/**
|
1380
|
+
* boolean: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
|
1381
|
+
*/
|
1382
|
+
_editEnabled;
|
1383
|
+
/**
|
1384
|
+
* esri/widgets/Feature: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html
|
1385
|
+
* used for widget instance
|
1386
|
+
*/
|
1387
|
+
_features;
|
1388
|
+
/**
|
1389
|
+
* esri/widgets/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
1390
|
+
*/
|
1391
|
+
_layer;
|
1392
|
+
/**
|
1393
|
+
* IPopupUtils: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
|
1394
|
+
*/
|
1395
|
+
_popupUtils;
|
1396
|
+
/**
|
1397
|
+
* string: unique id for the features node
|
1398
|
+
*/
|
1399
|
+
_featuresNodeId = 'features-node' + new Date().getMilliseconds().toString();
|
1400
|
+
/**
|
1401
|
+
* esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
|
1402
|
+
*/
|
1403
|
+
reactiveUtils;
|
1404
|
+
//--------------------------------------------------------------------------
|
1405
|
+
//
|
1406
|
+
// Watch handlers
|
1407
|
+
//
|
1408
|
+
//--------------------------------------------------------------------------
|
1409
|
+
/**
|
1410
|
+
* Watch for changes to the graphic and update the feature widget
|
1411
|
+
*/
|
1412
|
+
async graphicsWatchHandler() {
|
1413
|
+
await this.setGraphics();
|
1414
|
+
}
|
1415
|
+
/**
|
1416
|
+
* Watch for changes to the isMobile prop then init the Features widget
|
1417
|
+
* We need to know if the title should be displayed by the widget (non mobile)
|
1418
|
+
* or by us (mobile)
|
1419
|
+
*/
|
1420
|
+
async isMobileWatchHandler() {
|
1421
|
+
await this._initFeaturesWidget();
|
1422
|
+
}
|
1423
|
+
/**
|
1424
|
+
* Fetch translations when the locale is updated
|
1425
|
+
*/
|
1426
|
+
async localeWatchHandler() {
|
1427
|
+
// to support url param and language switcher
|
1428
|
+
this.el.lang = this.locale;
|
1429
|
+
await this._getTranslations();
|
1430
|
+
if (this._features) {
|
1431
|
+
const graphics = [...this.graphics];
|
1432
|
+
this.graphics = [];
|
1433
|
+
this.graphics = graphics;
|
1434
|
+
}
|
1435
|
+
}
|
1436
|
+
/**
|
1437
|
+
* Watch for changes to the mapView and re-init the Feature widget
|
1438
|
+
*/
|
1439
|
+
async mapViewWatchHandler() {
|
1440
|
+
return await this._initFeaturesWidget();
|
1441
|
+
}
|
1442
|
+
//--------------------------------------------------------------------------
|
1443
|
+
//
|
1444
|
+
// Methods (public)
|
1445
|
+
//
|
1446
|
+
//--------------------------------------------------------------------------
|
1447
|
+
/**
|
1448
|
+
* Get the current selected feature from the Features widget
|
1449
|
+
*
|
1450
|
+
* @returns Promise resolving with the current feature
|
1451
|
+
*/
|
1452
|
+
async getSelectedFeature() {
|
1453
|
+
return this._features.selectedFeature;
|
1454
|
+
}
|
1455
|
+
/**
|
1456
|
+
* Refresh the feature info
|
1457
|
+
* @returns Promise when complete
|
1458
|
+
*/
|
1459
|
+
async refresh() {
|
1460
|
+
await this.setGraphics();
|
1461
|
+
}
|
1462
|
+
/**
|
1463
|
+
* Go to the previous feature in the features widget
|
1464
|
+
*/
|
1465
|
+
async back() {
|
1466
|
+
this._features.previous();
|
1467
|
+
this._count = this._getCount();
|
1468
|
+
}
|
1469
|
+
/**
|
1470
|
+
* Go to the next feature in the features widget
|
1471
|
+
*/
|
1472
|
+
async next() {
|
1473
|
+
this._features.next();
|
1474
|
+
this._count = this._getCount();
|
1475
|
+
}
|
1476
|
+
/**
|
1477
|
+
* Toggle the visibility of the features list view
|
1478
|
+
*/
|
1479
|
+
async toggleListView() {
|
1480
|
+
this._showListView = !this._showListView;
|
1481
|
+
const i = this._features.selectedFeatureIndex;
|
1482
|
+
this._features.open({
|
1483
|
+
features: this.graphics,
|
1484
|
+
featureMenuOpen: this._showListView
|
1485
|
+
});
|
1486
|
+
this._features.selectedFeatureIndex = i;
|
1487
|
+
}
|
1488
|
+
/**
|
1489
|
+
* update the current graphics to the features widget
|
1490
|
+
*/
|
1491
|
+
async updateCurrentGraphic(selectedGraphic) {
|
1492
|
+
this._features.selectedFeatureWidget.graphic = selectedGraphic;
|
1493
|
+
}
|
1494
|
+
//--------------------------------------------------------------------------
|
1495
|
+
//
|
1496
|
+
// Events (public)
|
1497
|
+
//
|
1498
|
+
//--------------------------------------------------------------------------
|
1499
|
+
/**
|
1500
|
+
* Emitted on demand when the popup is closed
|
1501
|
+
*/
|
1502
|
+
popupClosed;
|
1503
|
+
/**
|
1504
|
+
* Emitted on demand when the selected index changes
|
1505
|
+
*/
|
1506
|
+
selectionChanged;
|
1507
|
+
/**
|
1508
|
+
* Respond to and close the edit record display
|
1509
|
+
*
|
1510
|
+
* @returns a promise when the operation has completed
|
1511
|
+
*/
|
1512
|
+
async closeEdit() {
|
1513
|
+
this._editRecordOpen = false;
|
1514
|
+
}
|
1515
|
+
/**
|
1516
|
+
* Reset key properties when the layer selection changes
|
1517
|
+
*/
|
1518
|
+
async layerSelectionChange() {
|
1519
|
+
this._showListView = false;
|
1520
|
+
if (this._features?.viewModel) {
|
1521
|
+
this._features.viewModel.featureMenuOpen = false;
|
1522
|
+
this._features.close();
|
1523
|
+
}
|
1524
|
+
}
|
1525
|
+
/**
|
1526
|
+
* Refresh the info-card graphics
|
1527
|
+
*/
|
1528
|
+
async refreshGraphics(evt) {
|
1529
|
+
this.graphics = [...evt.detail];
|
1530
|
+
}
|
1531
|
+
//--------------------------------------------------------------------------
|
1532
|
+
//
|
1533
|
+
// Functions (lifecycle)
|
1534
|
+
//
|
1535
|
+
//--------------------------------------------------------------------------
|
1536
|
+
/**
|
1537
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
1538
|
+
*
|
1539
|
+
* @returns Promise when complete
|
1540
|
+
*/
|
1541
|
+
async componentWillLoad() {
|
1542
|
+
await this._initModules();
|
1543
|
+
await this._getTranslations();
|
1544
|
+
this._popupUtils = new PopupUtils();
|
1545
|
+
}
|
1546
|
+
/**
|
1547
|
+
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
1548
|
+
* @returns Promise when complete
|
1549
|
+
*/
|
1550
|
+
async componentDidLoad() {
|
1551
|
+
if (this.graphics?.length > 0) {
|
1552
|
+
await this.setGraphics();
|
1553
|
+
}
|
1554
|
+
}
|
1555
|
+
/**
|
1556
|
+
* Renders the component.
|
1557
|
+
*/
|
1558
|
+
render() {
|
1559
|
+
const loadingClass = this.isLoading ? "" : "display-none";
|
1560
|
+
const featureNodeClass = this.isLoading || this._editRecordOpen ? "visibility-hidden" : "position-absolute";
|
1561
|
+
const editClass = !this.isLoading && this._editRecordOpen ? "position-absolute" : "display-none";
|
1562
|
+
const editButtonClass = (!this.isLoading && this._editRecordOpen) || this._showListView ? "display-none" : "";
|
1563
|
+
const nextBackDisabled = this._features?.features?.length < 2;
|
1564
|
+
const nextBackClass = this.isMobile ? "display-none" : "";
|
1565
|
+
const id = this._features?.selectedFeature?.getObjectId();
|
1566
|
+
const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
|
1567
|
+
const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
|
1568
|
+
return (h(Host, { key: '66070d48134f89d9cf132572fe1adf790b6d3ec6' }, h("calcite-shell", { key: 'b77248dce176df940d8b0c347154b73738a5576d', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: 'c1638ca8320a0ae12a9ccd1fd8841efde4236ba5', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: 'cf5ee3be5c0ea3be36205dcf7c0747461802a5f1', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '6fbfa6947fa0fdb1b14a03217da60f07ecff2e1b', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
|
1569
|
+
h("div", { key: 'fdcb078c3b3f183b06dc3a48d27fee46e3a4fffa', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: '7193bec80a40f353d24e5d327d99d94a2c5ff356', 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: '228a9691edd916a5d644cb19db24898cdf7cab3b', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '5c696df370bcf230d3fc06523ec3cb9d96f2fe2b' }, this._translations.edit)), this.isMobile && deleteEnabled ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: 'e1b829a888913af6a9d777a2df0d65571ac3bec1', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: '8746737a103266efe64a8f80c2359f9e170586d5' }, h("calcite-button", { key: 'ac6fc23dc2831608cc9c86fe384c0a927cd7d7ac', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: 'd4a1e2753c35e97064ca66d5c30deccd532fb158', placement: "top", "reference-element": "solutions-back" }, h("span", { key: 'caae32b5e32a0d89265293beccef157d227a7600' }, this._translations.back))), h("calcite-action", { key: 'a87f344a06896ad86886815254979793b057e4cd', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: '6e6f84ebedb2540edb485fa0789fe8ea67e7188f', class: "pagination-count" }, this._count)), h("div", { key: '6acf22348a508c921865bb4c7e531f9a826a8eed' }, h("calcite-button", { key: 'f1d763e1747cff7e0b6bec08ec4fade3d1582379', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: 'def93e3d1f19b4e6eb3e54c5fbd918fed118cc0c', placement: "top", "reference-element": "solutions-next" }, h("span", { key: 'cb9b90a5b3129861b7f58fd0271c6120893dfd53' }, this._translations.next))))), h("edit-card", { key: '524819a6dc64775b88b22aaf24445fd5ebdeae24', 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: '394c3b416a5dc94381c8b93afd3308121fbebd81', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: 'f4868bf3b710d91ed7e3f1e34b846bd408febac0', slot: "title" }, this._translations.editDisabled), h("div", { key: '457b7d0c76bfac52340bec73f5d1d2abbd10f25a', slot: "message" }, this._translations.enableEditing)))));
|
1570
|
+
}
|
1571
|
+
//--------------------------------------------------------------------------
|
1572
|
+
//
|
1573
|
+
// Functions (protected)
|
1574
|
+
//
|
1575
|
+
//--------------------------------------------------------------------------
|
1576
|
+
/**
|
1577
|
+
* Load esri javascript api modules
|
1578
|
+
*
|
1579
|
+
* @returns Promise resolving when function is done
|
1580
|
+
*
|
1581
|
+
* @protected
|
1582
|
+
*/
|
1583
|
+
async _initModules() {
|
1584
|
+
const [Features, reactiveUtils] = await loadModules([
|
1585
|
+
"esri/widgets/Features",
|
1586
|
+
"esri/core/reactiveUtils"
|
1587
|
+
]);
|
1588
|
+
this.Features = Features;
|
1589
|
+
this.reactiveUtils = reactiveUtils;
|
1590
|
+
}
|
1591
|
+
/**
|
1592
|
+
* Initializes the features widget if not created and updates the feature widget and other required states
|
1593
|
+
*
|
1594
|
+
* @protected
|
1595
|
+
*/
|
1596
|
+
async setGraphics() {
|
1597
|
+
if (!this._features) {
|
1598
|
+
await this._initFeaturesWidget();
|
1599
|
+
}
|
1600
|
+
if (this.graphics.length > 0) {
|
1601
|
+
this._layer = this.graphics[0]?.layer;
|
1602
|
+
this._editEnabled = this._layer.editingEnabled && this._layer.capabilities.operations.supportsUpdate;
|
1603
|
+
this._mobileTitle = await this._popupUtils.getPopupTitle(this.graphics[0], this.mapView.map);
|
1604
|
+
this._features.open({
|
1605
|
+
features: this.graphics
|
1606
|
+
});
|
1607
|
+
}
|
1608
|
+
else {
|
1609
|
+
this._features.clear();
|
1610
|
+
this._features.close();
|
1611
|
+
}
|
1612
|
+
this._count = this._getCount();
|
1613
|
+
}
|
1614
|
+
/**
|
1615
|
+
* Init the Feature widget so we can display the popup content
|
1616
|
+
*
|
1617
|
+
* @returns a promise when the operation has completed
|
1618
|
+
*
|
1619
|
+
* @protected
|
1620
|
+
*/
|
1621
|
+
async _initFeaturesWidget() {
|
1622
|
+
return this.isMobile !== undefined ? await this.mapView?.when(() => {
|
1623
|
+
if (!this._features) {
|
1624
|
+
this._features = new this.Features({
|
1625
|
+
view: this.mapView,
|
1626
|
+
container: this._featuresNodeId,
|
1627
|
+
visibleElements: {
|
1628
|
+
actionBar: false,
|
1629
|
+
closeButton: false,
|
1630
|
+
heading: !this.isMobile
|
1631
|
+
}
|
1632
|
+
});
|
1633
|
+
this._features.viewModel.highlightEnabled = this.highlightEnabled;
|
1634
|
+
this.reactiveUtils.watch(() => this._features.viewModel.featureMenuOpen, (isOpen) => {
|
1635
|
+
this._count = this._getCount();
|
1636
|
+
if (!isOpen) {
|
1637
|
+
this._showListView = isOpen;
|
1638
|
+
}
|
1639
|
+
});
|
1640
|
+
this.reactiveUtils.watch(() => this._features.selectedFeatureIndex, (i) => {
|
1641
|
+
if (i > -1) {
|
1642
|
+
this.selectionChanged.emit({ selectedFeature: [this._features.selectedFeature], selectedFeatureIndex: this._features.selectedFeatureIndex });
|
1643
|
+
}
|
1644
|
+
});
|
1645
|
+
}
|
1646
|
+
else {
|
1647
|
+
this._features.view = this.mapView;
|
1648
|
+
this._features.visibleElements.actionBar = false;
|
1649
|
+
this._features.visibleElements.closeButton = false;
|
1650
|
+
this._features.visibleElements.heading = !this.isMobile;
|
1651
|
+
}
|
1652
|
+
}) : Promise.resolve();
|
1653
|
+
}
|
1654
|
+
/**
|
1655
|
+
* Get the mobile header
|
1656
|
+
*
|
1657
|
+
* @returns the header node to display when in mobile mode
|
1658
|
+
*
|
1659
|
+
* @protected
|
1660
|
+
*/
|
1661
|
+
_getHeader() {
|
1662
|
+
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;
|
1663
|
+
}
|
1664
|
+
/**
|
1665
|
+
* Close the popup and emit the selected features
|
1666
|
+
*/
|
1667
|
+
_closePopup() {
|
1668
|
+
this.popupClosed.emit();
|
1669
|
+
}
|
1670
|
+
/**
|
1671
|
+
* Set the alertOpen member to false when the alert is closed
|
1672
|
+
*/
|
1673
|
+
_alertClosed() {
|
1674
|
+
this._alertOpen = false;
|
1675
|
+
}
|
1676
|
+
/**
|
1677
|
+
* Open the edit record
|
1678
|
+
*/
|
1679
|
+
_openEditRecord() {
|
1680
|
+
if (this._editEnabled) {
|
1681
|
+
this._editRecordOpen = true;
|
1682
|
+
}
|
1683
|
+
else {
|
1684
|
+
this._alertOpen = true;
|
1685
|
+
}
|
1686
|
+
}
|
1687
|
+
/**
|
1688
|
+
* Go to the previous feature in the features widget
|
1689
|
+
*/
|
1690
|
+
_back() {
|
1691
|
+
this._features.previous();
|
1692
|
+
this._count = this._getCount();
|
1693
|
+
}
|
1694
|
+
/**
|
1695
|
+
* Go to the next feature in the features widget
|
1696
|
+
*/
|
1697
|
+
_next() {
|
1698
|
+
this._features.next();
|
1699
|
+
this._count = this._getCount();
|
1700
|
+
}
|
1701
|
+
/**
|
1702
|
+
* Get the current index of total string
|
1703
|
+
*
|
1704
|
+
* @returns the index of total string
|
1705
|
+
*/
|
1706
|
+
_getCount() {
|
1707
|
+
const index = (this._features?.viewModel.selectedFeatureIndex + 1).toString();
|
1708
|
+
const total = this._features?.features?.length.toString();
|
1709
|
+
return this._translations.indexOfTotal
|
1710
|
+
.replace("{{index}}", index)
|
1711
|
+
.replace("{{total}}", total);
|
1712
|
+
}
|
1713
|
+
/**
|
1714
|
+
* Toggle the visibility of the features list view
|
1715
|
+
*/
|
1716
|
+
_toggleListView() {
|
1717
|
+
this._showListView = !this._showListView;
|
1718
|
+
const i = this._features.selectedFeatureIndex;
|
1719
|
+
this._features.open({
|
1720
|
+
features: this.graphics,
|
1721
|
+
featureMenuOpen: this._showListView
|
1722
|
+
});
|
1723
|
+
this._features.selectedFeatureIndex = i;
|
1724
|
+
}
|
1725
|
+
/**
|
1726
|
+
* Fetches the component's translations
|
1727
|
+
*
|
1728
|
+
* @returns Promise when complete
|
1729
|
+
* @protected
|
1730
|
+
*/
|
1731
|
+
async _getTranslations() {
|
1732
|
+
const messages = await getLocaleComponentStrings(this.el);
|
1733
|
+
this._translations = messages[0];
|
1734
|
+
}
|
1735
|
+
static get watchers() { return {
|
1736
|
+
"graphics": ["graphicsWatchHandler"],
|
1737
|
+
"isMobile": ["isMobileWatchHandler"],
|
1738
|
+
"locale": ["localeWatchHandler"],
|
1739
|
+
"mapView": ["mapViewWatchHandler"]
|
1740
|
+
}; }
|
1741
|
+
};
|
1742
|
+
InfoCard.style = InfoCardStyle0;
|
1743
|
+
|
1744
|
+
export { FlowItem as calcite_flow_item, CreateFeature as create_feature, DeleteButton as delete_button, EditCard as edit_card, InfoCard as info_card };
|