@esri/solutions-components 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-73df0d51.js +0 -2
- package/dist/cjs/Heading-6b7b374c.js +0 -2
- package/dist/cjs/_commonjsHelpers-6aafa5de.js +0 -2
- package/dist/cjs/app-globals-2f48e57e.js +0 -2
- package/dist/cjs/array-ace6d4b5.js +0 -2
- package/dist/cjs/buffer-tools_6.cjs.entry.js +0 -2
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-accordion.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -2
- package/dist/cjs/calcite-action_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +0 -2
- package/dist/cjs/calcite-avatar.cjs.entry.js +0 -2
- package/dist/cjs/calcite-block-section.cjs.entry.js +0 -2
- package/dist/cjs/calcite-block.cjs.entry.js +0 -2
- package/dist/cjs/calcite-button.cjs.entry.js +0 -2
- package/dist/cjs/calcite-card.cjs.entry.js +0 -2
- package/dist/cjs/calcite-checkbox.cjs.entry.js +0 -2
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -2
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +0 -2
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +0 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +0 -2
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +0 -2
- package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -2
- package/dist/cjs/calcite-fab.cjs.entry.js +0 -2
- package/dist/cjs/calcite-filter.cjs.entry.js +0 -2
- package/dist/cjs/calcite-flow-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-flow.cjs.entry.js +0 -2
- package/dist/cjs/calcite-graph.cjs.entry.js +0 -2
- package/dist/cjs/calcite-handle.cjs.entry.js +0 -2
- package/dist/cjs/calcite-icon.cjs.entry.js +0 -2
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-number.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-text.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-input_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-label.cjs.entry.js +0 -2
- package/dist/cjs/calcite-link.cjs.entry.js +0 -2
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-list_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -2
- package/dist/cjs/calcite-option-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-option_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pagination.cjs.entry.js +0 -2
- package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-pick-list.cjs.entry.js +0 -2
- package/dist/cjs/calcite-popover-manager.cjs.entry.js +0 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +0 -2
- package/dist/cjs/calcite-rating.cjs.entry.js +0 -2
- package/dist/cjs/calcite-scrim.cjs.entry.js +0 -2
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +0 -2
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +1 -13
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +0 -2
- package/dist/cjs/calcite-split-button.cjs.entry.js +0 -2
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +0 -2
- package/dist/cjs/calcite-stepper.cjs.entry.js +0 -2
- package/dist/cjs/calcite-switch.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tile-select.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +0 -2
- package/dist/cjs/calcite-time-picker.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tip-group.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tip.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tooltip-manager.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -2
- package/dist/cjs/calcite-tree_3.cjs.entry.js +0 -2
- package/dist/cjs/check-list.cjs.entry.js +0 -2
- package/dist/cjs/conditionalSlot-2defe83d.js +0 -2
- package/dist/cjs/config-buffer-tools.cjs.entry.js +0 -2
- package/dist/cjs/config-draw-tools.cjs.entry.js +0 -2
- package/dist/cjs/config-layer-picker.cjs.entry.js +0 -2
- package/dist/cjs/config-pdf-download.cjs.entry.js +0 -2
- package/dist/cjs/date-e21b2052.js +0 -2
- package/dist/cjs/debounce-69c3bada.js +0 -2
- package/dist/cjs/dom-4a580af6.js +0 -2
- package/dist/cjs/filter-325f654f.js +0 -2
- package/dist/cjs/floating-ui-ca1bcead.js +0 -2
- package/dist/cjs/form-45849654.js +0 -2
- package/dist/cjs/guid-84ac4d91.js +0 -2
- package/dist/cjs/index-7af21b6f.js +0 -2
- package/dist/cjs/index-a86078a0.js +0 -2
- package/dist/cjs/index-d7f9770d.js +0 -2
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/interactive-0a68ab99.js +0 -2
- package/dist/cjs/interfaces-ab603e16.js +0 -2
- package/dist/cjs/interfaces-e76f31e9.js +0 -2
- package/dist/cjs/key-55aca5c0.js +0 -2
- package/dist/cjs/label-24fcd8a5.js +0 -2
- package/dist/cjs/labelFormats-3236d2e0.js +0 -2
- package/dist/cjs/loadModules-38269f99.js +0 -2
- package/dist/cjs/loader.cjs.js +0 -2
- package/dist/cjs/locale-73cab8e8.js +0 -2
- package/dist/cjs/locale-746a095d.js +0 -2
- package/dist/cjs/map-search.cjs.entry.js +0 -2
- package/dist/cjs/mapViewUtils-67cfc412.js +0 -2
- package/dist/cjs/math-460fffaf.js +0 -2
- package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js +0 -2
- package/dist/cjs/observers-5311faf8.js +0 -2
- package/dist/cjs/openCloseComponent-bf986132.js +0 -2
- package/dist/cjs/public-notification.cjs.entry.js +0 -2
- package/dist/cjs/publicNotificationStore-6a3d40b3.js +0 -2
- package/dist/cjs/publicNotificationUtils-9d585d8d.js +0 -2
- package/dist/cjs/resources-1f785471.js +0 -2
- package/dist/cjs/resources-2260d186.js +0 -2
- package/dist/cjs/resources-2a9862c7.js +0 -2
- package/dist/cjs/resources-308edbd8.js +0 -2
- package/dist/cjs/resources-6152b073.js +0 -2
- package/dist/cjs/resources-808cfca8.js +0 -2
- package/dist/cjs/resources-9c55e05c.js +0 -2
- package/dist/cjs/resources-aa19bf8c.js +0 -2
- package/dist/cjs/resources-b56bce71.js +0 -2
- package/dist/cjs/resources-cc7f63b0.js +0 -2
- package/dist/cjs/shared-list-render-4c7d84bf.js +0 -2
- package/dist/cjs/solution-configuration.cjs.entry.js +1 -9
- package/dist/cjs/solution-contents_3.cjs.entry.js +1 -5
- package/dist/cjs/{solution-store-893499a5.js → solution-store-e2fc11ac.js} +0 -4
- package/dist/cjs/solutions-components.cjs.js +0 -2
- package/dist/cjs/sortable.esm-bf47019d.js +0 -2
- package/dist/cjs/store-manager.cjs.entry.js +0 -2
- package/dist/cjs/time-3f5577cb.js +0 -2
- package/dist/cjs/utils-120bbbeb.js +0 -2
- package/dist/cjs/utils-b4236001.js +0 -2
- package/dist/collection/components/buffer-tools/buffer-tools.js +0 -1
- package/dist/collection/components/check-list/check-list.js +0 -1
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js +0 -1
- package/dist/collection/components/config-draw-tools/config-draw-tools.js +0 -1
- package/dist/collection/components/config-layer-picker/config-layer-picker.js +0 -1
- package/dist/collection/components/config-pdf-download/config-pdf-download.js +0 -1
- package/dist/collection/components/json-editor/json-editor.js +0 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +0 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +0 -1
- package/dist/collection/components/map-search/map-search.js +0 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +0 -1
- package/dist/collection/components/pdf-download/pdf-download.js +0 -1
- package/dist/collection/components/public-notification/public-notification.js +0 -1
- package/dist/collection/components/refine-selection/refine-selection.js +0 -1
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +0 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +0 -7
- package/dist/collection/components/solution-contents/solution-contents.js +0 -1
- package/dist/collection/components/solution-item/solution-item.js +0 -3
- package/dist/collection/components/solution-item-details/solution-item-details.js +0 -14
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +0 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +0 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +0 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +0 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +0 -1
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js +0 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +0 -1
- package/dist/collection/components/solution-variables/solution-variables.js +0 -1
- package/dist/collection/components/store-manager/store-manager.js +0 -1
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/common.js +0 -1
- package/dist/collection/utils/csvUtils.js +0 -1
- package/dist/collection/utils/interfaces.js +0 -1
- package/dist/collection/utils/languageUtil.js +0 -1
- package/dist/collection/utils/loadModules.js +0 -1
- package/dist/collection/utils/locale.js +0 -1
- package/dist/collection/utils/mapViewUtils.js +0 -1
- package/dist/collection/utils/publicNotificationStore.js +0 -1
- package/dist/collection/utils/publicNotificationUtils.js +0 -1
- package/dist/collection/utils/queryUtils.js +0 -1
- package/dist/collection/utils/solution-store.js +0 -3
- package/dist/collection/utils/solution-store.ts +0 -2
- package/dist/collection/utils/templates.js +0 -1
- package/dist/collection/utils/test/testUtils.js +0 -1
- package/dist/collection/utils/types.js +0 -1
- package/dist/esm/ExpandToggle-b7d1fb3c.js +0 -2
- package/dist/esm/Heading-1efb4837.js +0 -2
- package/dist/esm/_commonjsHelpers-8fd39c50.js +0 -2
- package/dist/esm/app-globals-09b9efee.js +0 -2
- package/dist/esm/array-2ab3b18f.js +0 -2
- package/dist/esm/buffer-tools_6.entry.js +0 -2
- package/dist/esm/calcite-accordion-item.entry.js +0 -2
- package/dist/esm/calcite-accordion.entry.js +0 -2
- package/dist/esm/calcite-action-bar_6.entry.js +0 -2
- package/dist/esm/calcite-action-group.entry.js +0 -2
- package/dist/esm/calcite-action-menu_2.entry.js +0 -2
- package/dist/esm/calcite-action-pad.entry.js +0 -2
- package/dist/esm/calcite-action_2.entry.js +0 -2
- package/dist/esm/calcite-alert.entry.js +0 -2
- package/dist/esm/calcite-avatar.entry.js +0 -2
- package/dist/esm/calcite-block-section.entry.js +0 -2
- package/dist/esm/calcite-block.entry.js +0 -2
- package/dist/esm/calcite-button.entry.js +0 -2
- package/dist/esm/calcite-card.entry.js +0 -2
- package/dist/esm/calcite-checkbox.entry.js +0 -2
- package/dist/esm/calcite-chip.entry.js +0 -2
- package/dist/esm/calcite-color-picker-hex-input.entry.js +0 -2
- package/dist/esm/calcite-color-picker-swatch.entry.js +0 -2
- package/dist/esm/calcite-color-picker.entry.js +0 -2
- package/dist/esm/calcite-combobox-item-group.entry.js +0 -2
- package/dist/esm/calcite-combobox_3.entry.js +0 -2
- package/dist/esm/calcite-date-picker-day_3.entry.js +0 -2
- package/dist/esm/calcite-date-picker.entry.js +0 -2
- package/dist/esm/calcite-dropdown-group.entry.js +0 -2
- package/dist/esm/calcite-dropdown-item.entry.js +0 -2
- package/dist/esm/calcite-dropdown.entry.js +0 -2
- package/dist/esm/calcite-fab.entry.js +0 -2
- package/dist/esm/calcite-filter.entry.js +0 -2
- package/dist/esm/calcite-flow-item.entry.js +0 -2
- package/dist/esm/calcite-flow.entry.js +0 -2
- package/dist/esm/calcite-graph.entry.js +0 -2
- package/dist/esm/calcite-handle.entry.js +0 -2
- package/dist/esm/calcite-icon.entry.js +0 -2
- package/dist/esm/calcite-inline-editable.entry.js +0 -2
- package/dist/esm/calcite-input-date-picker.entry.js +0 -2
- package/dist/esm/calcite-input-number.entry.js +0 -2
- package/dist/esm/calcite-input-text.entry.js +0 -2
- package/dist/esm/calcite-input-time-picker.entry.js +0 -2
- package/dist/esm/calcite-input_2.entry.js +0 -2
- package/dist/esm/calcite-label.entry.js +0 -2
- package/dist/esm/calcite-link.entry.js +0 -2
- package/dist/esm/calcite-list-item-group.entry.js +0 -2
- package/dist/esm/calcite-list_2.entry.js +0 -2
- package/dist/esm/calcite-modal.entry.js +0 -2
- package/dist/esm/calcite-option-group.entry.js +0 -2
- package/dist/esm/calcite-option_2.entry.js +0 -2
- package/dist/esm/calcite-pagination.entry.js +0 -2
- package/dist/esm/calcite-panel_2.entry.js +0 -2
- package/dist/esm/calcite-pick-list-group.entry.js +0 -2
- package/dist/esm/calcite-pick-list-item.entry.js +0 -2
- package/dist/esm/calcite-pick-list.entry.js +0 -2
- package/dist/esm/calcite-popover-manager.entry.js +0 -2
- package/dist/esm/calcite-radio-button-group.entry.js +0 -2
- package/dist/esm/calcite-radio-button.entry.js +0 -2
- package/dist/esm/calcite-rating.entry.js +0 -2
- package/dist/esm/calcite-scrim.entry.js +0 -2
- package/dist/esm/calcite-shell-center-row.entry.js +0 -2
- package/dist/esm/calcite-shell-panel_14.entry.js +1 -13
- package/dist/esm/calcite-sortable-list.entry.js +0 -2
- package/dist/esm/calcite-split-button.entry.js +0 -2
- package/dist/esm/calcite-stepper-item.entry.js +0 -2
- package/dist/esm/calcite-stepper.entry.js +0 -2
- package/dist/esm/calcite-switch.entry.js +0 -2
- package/dist/esm/calcite-tile-select-group.entry.js +0 -2
- package/dist/esm/calcite-tile-select.entry.js +0 -2
- package/dist/esm/calcite-tile.entry.js +0 -2
- package/dist/esm/calcite-time-picker.entry.js +0 -2
- package/dist/esm/calcite-tip-group.entry.js +0 -2
- package/dist/esm/calcite-tip-manager.entry.js +0 -2
- package/dist/esm/calcite-tip.entry.js +0 -2
- package/dist/esm/calcite-tooltip-manager.entry.js +0 -2
- package/dist/esm/calcite-tooltip.entry.js +0 -2
- package/dist/esm/calcite-tree_3.entry.js +0 -2
- package/dist/esm/check-list.entry.js +0 -2
- package/dist/esm/conditionalSlot-bb4cab11.js +0 -2
- package/dist/esm/config-buffer-tools.entry.js +0 -2
- package/dist/esm/config-draw-tools.entry.js +0 -2
- package/dist/esm/config-layer-picker.entry.js +0 -2
- package/dist/esm/config-pdf-download.entry.js +0 -2
- package/dist/esm/date-45de0016.js +0 -2
- package/dist/esm/debounce-4c884e5c.js +0 -2
- package/dist/esm/dom-e593bf85.js +0 -2
- package/dist/esm/filter-82935f2d.js +0 -2
- package/dist/esm/floating-ui-69a55a27.js +0 -2
- package/dist/esm/form-dbfde8ce.js +0 -2
- package/dist/esm/guid-15fce7c0.js +0 -2
- package/dist/esm/index-15022d11.js +0 -2
- package/dist/esm/index-9c882a6e.js +0 -2
- package/dist/esm/index-d33ebc35.js +0 -2
- package/dist/esm/index.js +0 -2
- package/dist/esm/interactive-822ffed6.js +0 -2
- package/dist/esm/interfaces-4ae145eb.js +0 -2
- package/dist/esm/interfaces-e2a2064d.js +0 -2
- package/dist/esm/key-acb660e7.js +0 -2
- package/dist/esm/label-d411de44.js +0 -2
- package/dist/esm/labelFormats-b37958c3.js +0 -2
- package/dist/esm/loadModules-d3b50f95.js +0 -2
- package/dist/esm/loader.js +0 -2
- package/dist/esm/locale-0b490b02.js +0 -2
- package/dist/esm/locale-0e10d7e5.js +0 -2
- package/dist/esm/map-search.entry.js +0 -2
- package/dist/esm/mapViewUtils-09f1e7bd.js +0 -2
- package/dist/esm/math-552c5420.js +0 -2
- package/dist/esm/nonChromiumPlatformUtils-ee349005.js +0 -2
- package/dist/esm/observers-31601001.js +0 -2
- package/dist/esm/openCloseComponent-5caff873.js +0 -2
- package/dist/esm/public-notification.entry.js +0 -2
- package/dist/esm/publicNotificationStore-060c59c8.js +0 -2
- package/dist/esm/publicNotificationUtils-5cb5a607.js +0 -2
- package/dist/esm/resources-2235e4ff.js +0 -2
- package/dist/esm/resources-3d641588.js +0 -2
- package/dist/esm/resources-436ae282.js +0 -2
- package/dist/esm/resources-4d02cb48.js +0 -2
- package/dist/esm/resources-78132e50.js +0 -2
- package/dist/esm/resources-7d4a587f.js +0 -2
- package/dist/esm/resources-971845d1.js +0 -2
- package/dist/esm/resources-9eb63965.js +0 -2
- package/dist/esm/resources-d60362c3.js +0 -2
- package/dist/esm/resources-e3a5cf27.js +0 -2
- package/dist/esm/shared-list-render-4e9d47a3.js +0 -2
- package/dist/esm/solution-configuration.entry.js +1 -9
- package/dist/esm/solution-contents_3.entry.js +1 -5
- package/dist/esm/{solution-store-0c58c852.js → solution-store-b3c65467.js} +0 -4
- package/dist/esm/solutions-components.js +0 -2
- package/dist/esm/sortable.esm-3b2eaa5c.js +0 -2
- package/dist/esm/store-manager.entry.js +0 -2
- package/dist/esm/time-f014778c.js +0 -2
- package/dist/esm/utils-3f4ee4c3.js +0 -2
- package/dist/esm/utils-583554bc.js +0 -2
- package/dist/solutions-components/index.esm.js +0 -2
- package/dist/solutions-components/p-006c6ae1.entry.js +11 -0
- package/dist/solutions-components/p-04a37fc0.entry.js +6 -0
- package/dist/solutions-components/p-062dbde8.entry.js +6 -0
- package/dist/solutions-components/p-0b941521.entry.js +11 -0
- package/dist/solutions-components/p-0c80eb51.entry.js +11 -0
- package/dist/solutions-components/p-10501e21.entry.js +23 -0
- package/dist/solutions-components/p-109e4684.entry.js +6 -0
- package/dist/solutions-components/p-12dfd43e.entry.js +11 -0
- package/dist/solutions-components/p-13b37f05.js +3 -308
- package/dist/solutions-components/p-1c3bcd99.entry.js +12 -0
- package/dist/solutions-components/p-1c589630.entry.js +6 -0
- package/dist/solutions-components/p-1e15b1a3.js +2 -183
- package/dist/solutions-components/p-1fb471cf.entry.js +11 -0
- package/dist/solutions-components/p-20bdf42f.js +14 -407
- package/dist/solutions-components/p-23275dbd.entry.js +6 -0
- package/dist/solutions-components/p-236d76e7.entry.js +11 -0
- package/dist/solutions-components/p-23904a3d.js +3 -401
- package/dist/solutions-components/p-29246858.entry.js +11 -0
- package/dist/solutions-components/p-2ac06389.js +16 -25
- package/dist/solutions-components/p-2af67c67.entry.js +6 -0
- package/dist/solutions-components/p-2bee764f.entry.js +11 -0
- package/dist/solutions-components/p-2e9ed892.js +1 -48
- package/dist/solutions-components/p-2f6b4f04.entry.js +6 -0
- package/dist/solutions-components/p-305ae3fe.entry.js +11 -0
- package/dist/solutions-components/p-32a67cb2.js +2 -207
- package/dist/solutions-components/p-343e325d.entry.js +11 -0
- package/dist/solutions-components/p-3485601e.entry.js +6 -0
- package/dist/solutions-components/p-374a5031.js +2 -107
- package/dist/solutions-components/p-395e9b6c.entry.js +6 -0
- package/dist/solutions-components/p-39c5f2d2.entry.js +6 -0
- package/dist/solutions-components/p-3b010ce1.js +1 -19
- package/dist/solutions-components/p-3c4f2257.entry.js +11 -0
- package/dist/solutions-components/p-3c8ec7a3.entry.js +12 -0
- package/dist/solutions-components/p-3f6b0af4.js +2 -221
- package/dist/solutions-components/p-4130fbcd.entry.js +11 -0
- package/dist/solutions-components/p-421cbb15.entry.js +6 -0
- package/dist/solutions-components/p-43fa414d.entry.js +11 -0
- package/dist/solutions-components/p-4760f22a.entry.js +6 -0
- package/dist/solutions-components/p-4e32bf8c.js +1 -484
- package/dist/solutions-components/p-4fb6d2cf.entry.js +11 -0
- package/dist/solutions-components/p-54384555.entry.js +11 -0
- package/dist/solutions-components/p-5493f036.entry.js +6 -0
- package/dist/solutions-components/p-551fd063.entry.js +11 -0
- package/dist/solutions-components/p-56350bff.js +2 -173
- package/dist/solutions-components/p-58c69df2.js +2 -2024
- package/dist/solutions-components/p-5a61ef0d.entry.js +6 -0
- package/dist/solutions-components/p-5b0d7c7d.js +16 -35
- package/dist/solutions-components/p-5cf33602.js +2 -43
- package/dist/solutions-components/p-600e23c6.js +2 -1770
- package/dist/solutions-components/p-63f6e8f1.js +1 -16
- package/dist/solutions-components/p-6a3ce8f6.entry.js +6 -0
- package/dist/solutions-components/p-6b9dc092.js +16 -67
- package/dist/solutions-components/p-6be581f5.entry.js +6 -0
- package/dist/solutions-components/p-6cf432f9.entry.js +11 -0
- package/dist/solutions-components/p-6e0da576.js +1 -15
- package/dist/solutions-components/p-6fe17794.js +1 -11
- package/dist/solutions-components/p-70368b2b.entry.js +6 -0
- package/dist/solutions-components/p-708a63a8.js +1 -14
- package/dist/solutions-components/p-708ffad0.entry.js +11 -0
- package/dist/solutions-components/p-729708a3.js +1 -16
- package/dist/solutions-components/p-7321ba65.entry.js +11 -0
- package/dist/solutions-components/p-73e23995.js +1 -8
- package/dist/solutions-components/p-75b35018.entry.js +11 -0
- package/dist/solutions-components/p-764c0a90.entry.js +11 -0
- package/dist/solutions-components/p-77031b01.entry.js +11 -0
- package/dist/solutions-components/p-77182c3a.js +1 -3017
- package/dist/solutions-components/p-778a1b4a.entry.js +11 -0
- package/dist/solutions-components/p-7cdc6089.entry.js +6 -0
- package/dist/solutions-components/p-7daea1df.js +1 -43
- package/dist/solutions-components/p-81467529.entry.js +6 -0
- package/dist/solutions-components/p-834380d6.entry.js +11 -0
- package/dist/solutions-components/p-86908777.js +3 -62
- package/dist/solutions-components/p-89cc843b.entry.js +11 -0
- package/dist/solutions-components/p-8e3a2736.entry.js +11 -0
- package/dist/solutions-components/p-8e8b182f.entry.js +12 -0
- package/dist/solutions-components/p-8f052987.entry.js +11 -0
- package/dist/solutions-components/p-93790a9e.entry.js +37 -0
- package/dist/solutions-components/p-93d3119d.js +1 -1950
- package/dist/solutions-components/p-991ee695.js +1 -111
- package/dist/solutions-components/p-9a9955db.js +1 -43
- package/dist/solutions-components/p-9bbee464.entry.js +6 -0
- package/dist/solutions-components/p-9bdd4abe.entry.js +17 -0
- package/dist/solutions-components/p-a4a7d49d.entry.js +17 -0
- package/dist/solutions-components/p-a7036d68.entry.js +11 -0
- package/dist/solutions-components/p-a80b3880.js +1 -16
- package/dist/solutions-components/p-ac91cd40.entry.js +11 -0
- package/dist/solutions-components/p-acd0a09f.entry.js +11 -0
- package/dist/solutions-components/p-acd3b2bf.entry.js +11 -0
- package/dist/solutions-components/p-ae1fd76b.js +1 -13
- package/dist/solutions-components/p-aea937fb.entry.js +12 -0
- package/dist/solutions-components/p-b1b36556.entry.js +11 -0
- package/dist/solutions-components/p-b25f6ebe.js +257 -0
- package/dist/solutions-components/p-b2ae8634.entry.js +6 -0
- package/dist/solutions-components/p-b359dc78.js +1 -43
- package/dist/solutions-components/p-b978636e.js +1 -16
- package/dist/solutions-components/p-ba104266.entry.js +11 -0
- package/dist/solutions-components/p-bfcab358.entry.js +11 -0
- package/dist/solutions-components/p-c848d1bd.entry.js +29 -0
- package/dist/solutions-components/p-c9766584.entry.js +6 -0
- package/dist/solutions-components/p-cbd9fecf.js +2 -500
- package/dist/solutions-components/p-d2cc1b94.entry.js +12 -0
- package/dist/solutions-components/p-d48a24e6.js +2 -756
- package/dist/solutions-components/p-d51a72d2.entry.js +11 -0
- package/dist/solutions-components/p-d88fe54b.entry.js +18 -0
- package/dist/solutions-components/p-daee23cc.entry.js +11 -0
- package/dist/solutions-components/p-db7d14d5.entry.js +12 -0
- package/dist/solutions-components/p-dbad98e8.js +2 -124
- package/dist/solutions-components/p-dc724c1d.entry.js +11 -0
- package/dist/solutions-components/p-dc7bc20f.entry.js +11 -0
- package/dist/solutions-components/p-de242ea9.entry.js +6 -0
- package/dist/solutions-components/p-de5416e8.js +1 -30
- package/dist/solutions-components/p-e4ebb82a.entry.js +11 -0
- package/dist/solutions-components/p-e611d8c8.js +1 -30
- package/dist/solutions-components/p-e64c5c11.entry.js +6 -0
- package/dist/solutions-components/p-e6a695a5.js +2 -103
- package/dist/solutions-components/p-e947d3b0.js +1 -7
- package/dist/solutions-components/p-e99b1247.js +1 -207
- package/dist/solutions-components/p-e9e47eab.entry.js +6 -0
- package/dist/solutions-components/p-eb3be6d4.entry.js +6 -0
- package/dist/solutions-components/p-eb976965.js +3 -35
- package/dist/solutions-components/p-ed27c151.entry.js +6 -0
- package/dist/solutions-components/p-eeb0321d.js +2 -15
- package/dist/solutions-components/p-ef170bb1.entry.js +6 -0
- package/dist/solutions-components/p-f044863f.entry.js +16 -0
- package/dist/solutions-components/p-f0bae2f0.entry.js +37 -0
- package/dist/solutions-components/p-f48821a2.js +7 -60
- package/dist/solutions-components/p-f5a3b34f.entry.js +23 -0
- package/dist/solutions-components/p-f759a6e7.js +1 -196
- package/dist/solutions-components/p-fa2575c2.entry.js +6 -0
- package/dist/solutions-components/p-fc884dd6.js +16 -30
- package/dist/solutions-components/p-fe0fdd8b.js +31 -279
- package/dist/solutions-components/solutions-components.css +1 -10531
- package/dist/solutions-components/solutions-components.esm.js +1 -22
- package/dist/solutions-components/utils/solution-store.ts +0 -2
- package/dist/solutions-components_commit.txt +7 -9
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +0 -1
- package/package.json +1 -1
- package/dist/cjs/ExpandToggle-73df0d51.js.map +0 -1
- package/dist/cjs/Heading-6b7b374c.js.map +0 -1
- package/dist/cjs/_commonjsHelpers-6aafa5de.js.map +0 -1
- package/dist/cjs/app-globals-2f48e57e.js.map +0 -1
- package/dist/cjs/array-ace6d4b5.js.map +0 -1
- package/dist/cjs/buffer-tools_6.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-accordion.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action-pad.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-action_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-alert.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-avatar.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-block.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-button.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-card.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-chip.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-color-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-date-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-dropdown.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-fab.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-filter.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-flow.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-graph.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-handle.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-icon.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-input_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-label.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-link.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-list_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-option-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-panel_2.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-pick-list.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-rating.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-scrim.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-stepper.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-switch.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tile-select.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tile.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-time-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tip-group.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tip.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tooltip-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/calcite-tree_3.cjs.entry.js.map +0 -1
- package/dist/cjs/check-list.cjs.entry.js.map +0 -1
- package/dist/cjs/conditionalSlot-2defe83d.js.map +0 -1
- package/dist/cjs/config-buffer-tools.cjs.entry.js.map +0 -1
- package/dist/cjs/config-draw-tools.cjs.entry.js.map +0 -1
- package/dist/cjs/config-layer-picker.cjs.entry.js.map +0 -1
- package/dist/cjs/config-pdf-download.cjs.entry.js.map +0 -1
- package/dist/cjs/date-e21b2052.js.map +0 -1
- package/dist/cjs/debounce-69c3bada.js.map +0 -1
- package/dist/cjs/dom-4a580af6.js.map +0 -1
- package/dist/cjs/filter-325f654f.js.map +0 -1
- package/dist/cjs/floating-ui-ca1bcead.js.map +0 -1
- package/dist/cjs/form-45849654.js.map +0 -1
- package/dist/cjs/guid-84ac4d91.js.map +0 -1
- package/dist/cjs/index-7af21b6f.js.map +0 -1
- package/dist/cjs/index-a86078a0.js.map +0 -1
- package/dist/cjs/index-d7f9770d.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/interactive-0a68ab99.js.map +0 -1
- package/dist/cjs/interfaces-ab603e16.js.map +0 -1
- package/dist/cjs/interfaces-e76f31e9.js.map +0 -1
- package/dist/cjs/key-55aca5c0.js.map +0 -1
- package/dist/cjs/label-24fcd8a5.js.map +0 -1
- package/dist/cjs/labelFormats-3236d2e0.js.map +0 -1
- package/dist/cjs/loadModules-38269f99.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/locale-73cab8e8.js.map +0 -1
- package/dist/cjs/locale-746a095d.js.map +0 -1
- package/dist/cjs/map-search.cjs.entry.js.map +0 -1
- package/dist/cjs/mapViewUtils-67cfc412.js.map +0 -1
- package/dist/cjs/math-460fffaf.js.map +0 -1
- package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js.map +0 -1
- package/dist/cjs/observers-5311faf8.js.map +0 -1
- package/dist/cjs/openCloseComponent-bf986132.js.map +0 -1
- package/dist/cjs/public-notification.cjs.entry.js.map +0 -1
- package/dist/cjs/publicNotificationStore-6a3d40b3.js.map +0 -1
- package/dist/cjs/publicNotificationUtils-9d585d8d.js.map +0 -1
- package/dist/cjs/resources-1f785471.js.map +0 -1
- package/dist/cjs/resources-2260d186.js.map +0 -1
- package/dist/cjs/resources-2a9862c7.js.map +0 -1
- package/dist/cjs/resources-308edbd8.js.map +0 -1
- package/dist/cjs/resources-6152b073.js.map +0 -1
- package/dist/cjs/resources-808cfca8.js.map +0 -1
- package/dist/cjs/resources-9c55e05c.js.map +0 -1
- package/dist/cjs/resources-aa19bf8c.js.map +0 -1
- package/dist/cjs/resources-b56bce71.js.map +0 -1
- package/dist/cjs/resources-cc7f63b0.js.map +0 -1
- package/dist/cjs/shared-list-render-4c7d84bf.js.map +0 -1
- package/dist/cjs/solution-configuration.cjs.entry.js.map +0 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js.map +0 -1
- package/dist/cjs/solution-store-893499a5.js.map +0 -1
- package/dist/cjs/solutions-components.cjs.js.map +0 -1
- package/dist/cjs/sortable.esm-bf47019d.js.map +0 -1
- package/dist/cjs/store-manager.cjs.entry.js.map +0 -1
- package/dist/cjs/time-3f5577cb.js.map +0 -1
- package/dist/cjs/utils-120bbbeb.js.map +0 -1
- package/dist/cjs/utils-b4236001.js.map +0 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js.map +0 -1
- package/dist/collection/components/check-list/check-list.js.map +0 -1
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js.map +0 -1
- package/dist/collection/components/config-draw-tools/config-draw-tools.js.map +0 -1
- package/dist/collection/components/config-layer-picker/config-layer-picker.js.map +0 -1
- package/dist/collection/components/config-pdf-download/config-pdf-download.js.map +0 -1
- package/dist/collection/components/json-editor/json-editor.js.map +0 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js.map +0 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js.map +0 -1
- package/dist/collection/components/map-search/map-search.js.map +0 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js.map +0 -1
- package/dist/collection/components/pdf-download/pdf-download.js.map +0 -1
- package/dist/collection/components/public-notification/public-notification.js.map +0 -1
- package/dist/collection/components/refine-selection/refine-selection.js.map +0 -1
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js.map +0 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +0 -1
- package/dist/collection/components/solution-contents/solution-contents.js.map +0 -1
- package/dist/collection/components/solution-item/solution-item.js.map +0 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +0 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +0 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +0 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +0 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +0 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +0 -1
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +0 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js.map +0 -1
- package/dist/collection/components/solution-variables/solution-variables.js.map +0 -1
- package/dist/collection/components/store-manager/store-manager.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/common.js.map +0 -1
- package/dist/collection/utils/csvUtils.js.map +0 -1
- package/dist/collection/utils/interfaces.js.map +0 -1
- package/dist/collection/utils/languageUtil.js.map +0 -1
- package/dist/collection/utils/loadModules.js.map +0 -1
- package/dist/collection/utils/locale.js.map +0 -1
- package/dist/collection/utils/mapViewUtils.js.map +0 -1
- package/dist/collection/utils/publicNotificationStore.js.map +0 -1
- package/dist/collection/utils/publicNotificationUtils.js.map +0 -1
- package/dist/collection/utils/queryUtils.js.map +0 -1
- package/dist/collection/utils/solution-store.js.map +0 -1
- package/dist/collection/utils/templates.js.map +0 -1
- package/dist/collection/utils/test/testUtils.js.map +0 -1
- package/dist/collection/utils/types.js.map +0 -1
- package/dist/esm/ExpandToggle-b7d1fb3c.js.map +0 -1
- package/dist/esm/Heading-1efb4837.js.map +0 -1
- package/dist/esm/_commonjsHelpers-8fd39c50.js.map +0 -1
- package/dist/esm/app-globals-09b9efee.js.map +0 -1
- package/dist/esm/array-2ab3b18f.js.map +0 -1
- package/dist/esm/buffer-tools_6.entry.js.map +0 -1
- package/dist/esm/calcite-accordion-item.entry.js.map +0 -1
- package/dist/esm/calcite-accordion.entry.js.map +0 -1
- package/dist/esm/calcite-action-bar_6.entry.js.map +0 -1
- package/dist/esm/calcite-action-group.entry.js.map +0 -1
- package/dist/esm/calcite-action-menu_2.entry.js.map +0 -1
- package/dist/esm/calcite-action-pad.entry.js.map +0 -1
- package/dist/esm/calcite-action_2.entry.js.map +0 -1
- package/dist/esm/calcite-alert.entry.js.map +0 -1
- package/dist/esm/calcite-avatar.entry.js.map +0 -1
- package/dist/esm/calcite-block-section.entry.js.map +0 -1
- package/dist/esm/calcite-block.entry.js.map +0 -1
- package/dist/esm/calcite-button.entry.js.map +0 -1
- package/dist/esm/calcite-card.entry.js.map +0 -1
- package/dist/esm/calcite-checkbox.entry.js.map +0 -1
- package/dist/esm/calcite-chip.entry.js.map +0 -1
- package/dist/esm/calcite-color-picker-hex-input.entry.js.map +0 -1
- package/dist/esm/calcite-color-picker-swatch.entry.js.map +0 -1
- package/dist/esm/calcite-color-picker.entry.js.map +0 -1
- package/dist/esm/calcite-combobox-item-group.entry.js.map +0 -1
- package/dist/esm/calcite-combobox_3.entry.js.map +0 -1
- package/dist/esm/calcite-date-picker-day_3.entry.js.map +0 -1
- package/dist/esm/calcite-date-picker.entry.js.map +0 -1
- package/dist/esm/calcite-dropdown-group.entry.js.map +0 -1
- package/dist/esm/calcite-dropdown-item.entry.js.map +0 -1
- package/dist/esm/calcite-dropdown.entry.js.map +0 -1
- package/dist/esm/calcite-fab.entry.js.map +0 -1
- package/dist/esm/calcite-filter.entry.js.map +0 -1
- package/dist/esm/calcite-flow-item.entry.js.map +0 -1
- package/dist/esm/calcite-flow.entry.js.map +0 -1
- package/dist/esm/calcite-graph.entry.js.map +0 -1
- package/dist/esm/calcite-handle.entry.js.map +0 -1
- package/dist/esm/calcite-icon.entry.js.map +0 -1
- package/dist/esm/calcite-inline-editable.entry.js.map +0 -1
- package/dist/esm/calcite-input-date-picker.entry.js.map +0 -1
- package/dist/esm/calcite-input-number.entry.js.map +0 -1
- package/dist/esm/calcite-input-text.entry.js.map +0 -1
- package/dist/esm/calcite-input-time-picker.entry.js.map +0 -1
- package/dist/esm/calcite-input_2.entry.js.map +0 -1
- package/dist/esm/calcite-label.entry.js.map +0 -1
- package/dist/esm/calcite-link.entry.js.map +0 -1
- package/dist/esm/calcite-list-item-group.entry.js.map +0 -1
- package/dist/esm/calcite-list_2.entry.js.map +0 -1
- package/dist/esm/calcite-modal.entry.js.map +0 -1
- package/dist/esm/calcite-option-group.entry.js.map +0 -1
- package/dist/esm/calcite-option_2.entry.js.map +0 -1
- package/dist/esm/calcite-pagination.entry.js.map +0 -1
- package/dist/esm/calcite-panel_2.entry.js.map +0 -1
- package/dist/esm/calcite-pick-list-group.entry.js.map +0 -1
- package/dist/esm/calcite-pick-list-item.entry.js.map +0 -1
- package/dist/esm/calcite-pick-list.entry.js.map +0 -1
- package/dist/esm/calcite-popover-manager.entry.js.map +0 -1
- package/dist/esm/calcite-radio-button-group.entry.js.map +0 -1
- package/dist/esm/calcite-radio-button.entry.js.map +0 -1
- package/dist/esm/calcite-rating.entry.js.map +0 -1
- package/dist/esm/calcite-scrim.entry.js.map +0 -1
- package/dist/esm/calcite-shell-center-row.entry.js.map +0 -1
- package/dist/esm/calcite-shell-panel_14.entry.js.map +0 -1
- package/dist/esm/calcite-sortable-list.entry.js.map +0 -1
- package/dist/esm/calcite-split-button.entry.js.map +0 -1
- package/dist/esm/calcite-stepper-item.entry.js.map +0 -1
- package/dist/esm/calcite-stepper.entry.js.map +0 -1
- package/dist/esm/calcite-switch.entry.js.map +0 -1
- package/dist/esm/calcite-tile-select-group.entry.js.map +0 -1
- package/dist/esm/calcite-tile-select.entry.js.map +0 -1
- package/dist/esm/calcite-tile.entry.js.map +0 -1
- package/dist/esm/calcite-time-picker.entry.js.map +0 -1
- package/dist/esm/calcite-tip-group.entry.js.map +0 -1
- package/dist/esm/calcite-tip-manager.entry.js.map +0 -1
- package/dist/esm/calcite-tip.entry.js.map +0 -1
- package/dist/esm/calcite-tooltip-manager.entry.js.map +0 -1
- package/dist/esm/calcite-tooltip.entry.js.map +0 -1
- package/dist/esm/calcite-tree_3.entry.js.map +0 -1
- package/dist/esm/check-list.entry.js.map +0 -1
- package/dist/esm/conditionalSlot-bb4cab11.js.map +0 -1
- package/dist/esm/config-buffer-tools.entry.js.map +0 -1
- package/dist/esm/config-draw-tools.entry.js.map +0 -1
- package/dist/esm/config-layer-picker.entry.js.map +0 -1
- package/dist/esm/config-pdf-download.entry.js.map +0 -1
- package/dist/esm/date-45de0016.js.map +0 -1
- package/dist/esm/debounce-4c884e5c.js.map +0 -1
- package/dist/esm/dom-e593bf85.js.map +0 -1
- package/dist/esm/filter-82935f2d.js.map +0 -1
- package/dist/esm/floating-ui-69a55a27.js.map +0 -1
- package/dist/esm/form-dbfde8ce.js.map +0 -1
- package/dist/esm/guid-15fce7c0.js.map +0 -1
- package/dist/esm/index-15022d11.js.map +0 -1
- package/dist/esm/index-9c882a6e.js.map +0 -1
- package/dist/esm/index-d33ebc35.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/interactive-822ffed6.js.map +0 -1
- package/dist/esm/interfaces-4ae145eb.js.map +0 -1
- package/dist/esm/interfaces-e2a2064d.js.map +0 -1
- package/dist/esm/key-acb660e7.js.map +0 -1
- package/dist/esm/label-d411de44.js.map +0 -1
- package/dist/esm/labelFormats-b37958c3.js.map +0 -1
- package/dist/esm/loadModules-d3b50f95.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/locale-0b490b02.js.map +0 -1
- package/dist/esm/locale-0e10d7e5.js.map +0 -1
- package/dist/esm/map-search.entry.js.map +0 -1
- package/dist/esm/mapViewUtils-09f1e7bd.js.map +0 -1
- package/dist/esm/math-552c5420.js.map +0 -1
- package/dist/esm/nonChromiumPlatformUtils-ee349005.js.map +0 -1
- package/dist/esm/observers-31601001.js.map +0 -1
- package/dist/esm/openCloseComponent-5caff873.js.map +0 -1
- package/dist/esm/public-notification.entry.js.map +0 -1
- package/dist/esm/publicNotificationStore-060c59c8.js.map +0 -1
- package/dist/esm/publicNotificationUtils-5cb5a607.js.map +0 -1
- package/dist/esm/resources-2235e4ff.js.map +0 -1
- package/dist/esm/resources-3d641588.js.map +0 -1
- package/dist/esm/resources-436ae282.js.map +0 -1
- package/dist/esm/resources-4d02cb48.js.map +0 -1
- package/dist/esm/resources-78132e50.js.map +0 -1
- package/dist/esm/resources-7d4a587f.js.map +0 -1
- package/dist/esm/resources-971845d1.js.map +0 -1
- package/dist/esm/resources-9eb63965.js.map +0 -1
- package/dist/esm/resources-d60362c3.js.map +0 -1
- package/dist/esm/resources-e3a5cf27.js.map +0 -1
- package/dist/esm/shared-list-render-4e9d47a3.js.map +0 -1
- package/dist/esm/solution-configuration.entry.js.map +0 -1
- package/dist/esm/solution-contents_3.entry.js.map +0 -1
- package/dist/esm/solution-store-0c58c852.js.map +0 -1
- package/dist/esm/solutions-components.js.map +0 -1
- package/dist/esm/sortable.esm-3b2eaa5c.js.map +0 -1
- package/dist/esm/store-manager.entry.js.map +0 -1
- package/dist/esm/time-f014778c.js.map +0 -1
- package/dist/esm/utils-3f4ee4c3.js.map +0 -1
- package/dist/esm/utils-583554bc.js.map +0 -1
- package/dist/solutions-components/index.esm.js.map +0 -1
- package/dist/solutions-components/p-06dab43c.entry.js +0 -140
- package/dist/solutions-components/p-06dab43c.entry.js.map +0 -1
- package/dist/solutions-components/p-0bbe4865.entry.js +0 -620
- package/dist/solutions-components/p-0bbe4865.entry.js.map +0 -1
- package/dist/solutions-components/p-0fda7d9e.entry.js +0 -434
- package/dist/solutions-components/p-0fda7d9e.entry.js.map +0 -1
- package/dist/solutions-components/p-0fddf8a4.entry.js +0 -349
- package/dist/solutions-components/p-0fddf8a4.entry.js.map +0 -1
- package/dist/solutions-components/p-11bc6805.entry.js +0 -87
- package/dist/solutions-components/p-11bc6805.entry.js.map +0 -1
- package/dist/solutions-components/p-13b37f05.js.map +0 -1
- package/dist/solutions-components/p-1dfb5fae.entry.js +0 -713
- package/dist/solutions-components/p-1dfb5fae.entry.js.map +0 -1
- package/dist/solutions-components/p-1e15b1a3.js.map +0 -1
- package/dist/solutions-components/p-1e5bc9c3.entry.js +0 -96
- package/dist/solutions-components/p-1e5bc9c3.entry.js.map +0 -1
- package/dist/solutions-components/p-1ed05745.entry.js +0 -214
- package/dist/solutions-components/p-1ed05745.entry.js.map +0 -1
- package/dist/solutions-components/p-20bdf42f.js.map +0 -1
- package/dist/solutions-components/p-22574d83.entry.js +0 -74
- package/dist/solutions-components/p-22574d83.entry.js.map +0 -1
- package/dist/solutions-components/p-23904a3d.js.map +0 -1
- package/dist/solutions-components/p-24d75151.entry.js +0 -107
- package/dist/solutions-components/p-24d75151.entry.js.map +0 -1
- package/dist/solutions-components/p-26484399.entry.js +0 -108
- package/dist/solutions-components/p-26484399.entry.js.map +0 -1
- package/dist/solutions-components/p-291fd295.entry.js +0 -1250
- package/dist/solutions-components/p-291fd295.entry.js.map +0 -1
- package/dist/solutions-components/p-29bdbd3e.entry.js +0 -280
- package/dist/solutions-components/p-29bdbd3e.entry.js.map +0 -1
- package/dist/solutions-components/p-2ac06389.js.map +0 -1
- package/dist/solutions-components/p-2bce7fa2.entry.js +0 -45
- package/dist/solutions-components/p-2bce7fa2.entry.js.map +0 -1
- package/dist/solutions-components/p-2e9ed892.js.map +0 -1
- package/dist/solutions-components/p-2f12ff1b.entry.js +0 -202
- package/dist/solutions-components/p-2f12ff1b.entry.js.map +0 -1
- package/dist/solutions-components/p-2ff754ce.entry.js +0 -257
- package/dist/solutions-components/p-2ff754ce.entry.js.map +0 -1
- package/dist/solutions-components/p-30a6199a.entry.js +0 -445
- package/dist/solutions-components/p-30a6199a.entry.js.map +0 -1
- package/dist/solutions-components/p-32a67cb2.js.map +0 -1
- package/dist/solutions-components/p-341ff921.entry.js +0 -449
- package/dist/solutions-components/p-341ff921.entry.js.map +0 -1
- package/dist/solutions-components/p-36ce64e4.entry.js +0 -215
- package/dist/solutions-components/p-36ce64e4.entry.js.map +0 -1
- package/dist/solutions-components/p-374a5031.js.map +0 -1
- package/dist/solutions-components/p-3b010ce1.js.map +0 -1
- package/dist/solutions-components/p-3f6b0af4.js.map +0 -1
- package/dist/solutions-components/p-400e1427.entry.js +0 -236
- package/dist/solutions-components/p-400e1427.entry.js.map +0 -1
- package/dist/solutions-components/p-40d7cf01.entry.js +0 -228
- package/dist/solutions-components/p-40d7cf01.entry.js.map +0 -1
- package/dist/solutions-components/p-45556aff.entry.js +0 -215
- package/dist/solutions-components/p-45556aff.entry.js.map +0 -1
- package/dist/solutions-components/p-49aaa793.entry.js +0 -95
- package/dist/solutions-components/p-49aaa793.entry.js.map +0 -1
- package/dist/solutions-components/p-4e32bf8c.js.map +0 -1
- package/dist/solutions-components/p-4e89b243.entry.js +0 -479
- package/dist/solutions-components/p-4e89b243.entry.js.map +0 -1
- package/dist/solutions-components/p-515637fb.entry.js +0 -183
- package/dist/solutions-components/p-515637fb.entry.js.map +0 -1
- package/dist/solutions-components/p-5243a654.entry.js +0 -147
- package/dist/solutions-components/p-5243a654.entry.js.map +0 -1
- package/dist/solutions-components/p-55673790.entry.js +0 -82
- package/dist/solutions-components/p-55673790.entry.js.map +0 -1
- package/dist/solutions-components/p-56350bff.js.map +0 -1
- package/dist/solutions-components/p-58b374c0.entry.js +0 -347
- package/dist/solutions-components/p-58b374c0.entry.js.map +0 -1
- package/dist/solutions-components/p-58c69df2.js.map +0 -1
- package/dist/solutions-components/p-59fd6684.entry.js +0 -22
- package/dist/solutions-components/p-59fd6684.entry.js.map +0 -1
- package/dist/solutions-components/p-5b0d7c7d.js.map +0 -1
- package/dist/solutions-components/p-5cf33602.js.map +0 -1
- package/dist/solutions-components/p-600e23c6.js.map +0 -1
- package/dist/solutions-components/p-61398a7b.entry.js +0 -74
- package/dist/solutions-components/p-61398a7b.entry.js.map +0 -1
- package/dist/solutions-components/p-63a05701.entry.js +0 -45
- package/dist/solutions-components/p-63a05701.entry.js.map +0 -1
- package/dist/solutions-components/p-63f6e8f1.js.map +0 -1
- package/dist/solutions-components/p-64a2040e.entry.js +0 -63
- package/dist/solutions-components/p-64a2040e.entry.js.map +0 -1
- package/dist/solutions-components/p-64c63eb2.entry.js +0 -157
- package/dist/solutions-components/p-64c63eb2.entry.js.map +0 -1
- package/dist/solutions-components/p-659edb14.js +0 -4096
- package/dist/solutions-components/p-659edb14.js.map +0 -1
- package/dist/solutions-components/p-6940e2fd.entry.js +0 -100
- package/dist/solutions-components/p-6940e2fd.entry.js.map +0 -1
- package/dist/solutions-components/p-69900b68.entry.js +0 -152
- package/dist/solutions-components/p-69900b68.entry.js.map +0 -1
- package/dist/solutions-components/p-699125b6.entry.js +0 -44
- package/dist/solutions-components/p-699125b6.entry.js.map +0 -1
- package/dist/solutions-components/p-6b9dc092.js.map +0 -1
- package/dist/solutions-components/p-6d0899c8.entry.js +0 -118
- package/dist/solutions-components/p-6d0899c8.entry.js.map +0 -1
- package/dist/solutions-components/p-6e0da576.js.map +0 -1
- package/dist/solutions-components/p-6fe17794.js.map +0 -1
- package/dist/solutions-components/p-708a63a8.js.map +0 -1
- package/dist/solutions-components/p-729708a3.js.map +0 -1
- package/dist/solutions-components/p-73e23995.js.map +0 -1
- package/dist/solutions-components/p-75f54a34.entry.js +0 -883
- package/dist/solutions-components/p-75f54a34.entry.js.map +0 -1
- package/dist/solutions-components/p-77182c3a.js.map +0 -1
- package/dist/solutions-components/p-77c75f3a.entry.js +0 -21534
- package/dist/solutions-components/p-77c75f3a.entry.js.map +0 -1
- package/dist/solutions-components/p-77e6b03c.entry.js +0 -1872
- package/dist/solutions-components/p-77e6b03c.entry.js.map +0 -1
- package/dist/solutions-components/p-794ba85d.entry.js +0 -175
- package/dist/solutions-components/p-794ba85d.entry.js.map +0 -1
- package/dist/solutions-components/p-79cde78e.entry.js +0 -203
- package/dist/solutions-components/p-79cde78e.entry.js.map +0 -1
- package/dist/solutions-components/p-7a2c75a4.entry.js +0 -230
- package/dist/solutions-components/p-7a2c75a4.entry.js.map +0 -1
- package/dist/solutions-components/p-7daea1df.js.map +0 -1
- package/dist/solutions-components/p-7de77097.entry.js +0 -162
- package/dist/solutions-components/p-7de77097.entry.js.map +0 -1
- package/dist/solutions-components/p-7f2b74a9.entry.js +0 -56
- package/dist/solutions-components/p-7f2b74a9.entry.js.map +0 -1
- package/dist/solutions-components/p-81e606c0.entry.js +0 -915
- package/dist/solutions-components/p-81e606c0.entry.js.map +0 -1
- package/dist/solutions-components/p-86908777.js.map +0 -1
- package/dist/solutions-components/p-87a0ccb4.entry.js +0 -254
- package/dist/solutions-components/p-87a0ccb4.entry.js.map +0 -1
- package/dist/solutions-components/p-90629c1d.entry.js +0 -1986
- package/dist/solutions-components/p-90629c1d.entry.js.map +0 -1
- package/dist/solutions-components/p-9393631c.entry.js +0 -542
- package/dist/solutions-components/p-9393631c.entry.js.map +0 -1
- package/dist/solutions-components/p-93d3119d.js.map +0 -1
- package/dist/solutions-components/p-958e2979.entry.js +0 -111
- package/dist/solutions-components/p-958e2979.entry.js.map +0 -1
- package/dist/solutions-components/p-95ddb529.entry.js +0 -181
- package/dist/solutions-components/p-95ddb529.entry.js.map +0 -1
- package/dist/solutions-components/p-97c4a268.entry.js +0 -725
- package/dist/solutions-components/p-97c4a268.entry.js.map +0 -1
- package/dist/solutions-components/p-984cb687.entry.js +0 -2632
- package/dist/solutions-components/p-984cb687.entry.js.map +0 -1
- package/dist/solutions-components/p-991ee695.js.map +0 -1
- package/dist/solutions-components/p-99d9b624.entry.js +0 -177
- package/dist/solutions-components/p-99d9b624.entry.js.map +0 -1
- package/dist/solutions-components/p-9a9955db.js.map +0 -1
- package/dist/solutions-components/p-9d925d5b.entry.js +0 -233
- package/dist/solutions-components/p-9d925d5b.entry.js.map +0 -1
- package/dist/solutions-components/p-9dc0210f.entry.js +0 -125
- package/dist/solutions-components/p-9dc0210f.entry.js.map +0 -1
- package/dist/solutions-components/p-9fec2884.entry.js +0 -216
- package/dist/solutions-components/p-9fec2884.entry.js.map +0 -1
- package/dist/solutions-components/p-a2ada355.entry.js +0 -135
- package/dist/solutions-components/p-a2ada355.entry.js.map +0 -1
- package/dist/solutions-components/p-a57adb27.entry.js +0 -154
- package/dist/solutions-components/p-a57adb27.entry.js.map +0 -1
- package/dist/solutions-components/p-a80b3880.js.map +0 -1
- package/dist/solutions-components/p-a88dd457.entry.js +0 -123
- package/dist/solutions-components/p-a88dd457.entry.js.map +0 -1
- package/dist/solutions-components/p-ac6efd19.entry.js +0 -57
- package/dist/solutions-components/p-ac6efd19.entry.js.map +0 -1
- package/dist/solutions-components/p-ae1fd76b.js.map +0 -1
- package/dist/solutions-components/p-afffa81a.entry.js +0 -140
- package/dist/solutions-components/p-afffa81a.entry.js.map +0 -1
- package/dist/solutions-components/p-b0f3ed4d.entry.js +0 -376
- package/dist/solutions-components/p-b0f3ed4d.entry.js.map +0 -1
- package/dist/solutions-components/p-b359dc78.js.map +0 -1
- package/dist/solutions-components/p-b66cba3e.entry.js +0 -97
- package/dist/solutions-components/p-b66cba3e.entry.js.map +0 -1
- package/dist/solutions-components/p-b6c2f470.entry.js +0 -574
- package/dist/solutions-components/p-b6c2f470.entry.js.map +0 -1
- package/dist/solutions-components/p-b978636e.js.map +0 -1
- package/dist/solutions-components/p-bd19837e.entry.js +0 -96
- package/dist/solutions-components/p-bd19837e.entry.js.map +0 -1
- package/dist/solutions-components/p-be1ed982.entry.js +0 -1121
- package/dist/solutions-components/p-be1ed982.entry.js.map +0 -1
- package/dist/solutions-components/p-be8cc144.entry.js +0 -567
- package/dist/solutions-components/p-be8cc144.entry.js.map +0 -1
- package/dist/solutions-components/p-bfd20deb.entry.js +0 -80
- package/dist/solutions-components/p-bfd20deb.entry.js.map +0 -1
- package/dist/solutions-components/p-c2c8442d.entry.js +0 -140
- package/dist/solutions-components/p-c2c8442d.entry.js.map +0 -1
- package/dist/solutions-components/p-c3f93cec.entry.js +0 -158
- package/dist/solutions-components/p-c3f93cec.entry.js.map +0 -1
- package/dist/solutions-components/p-c9870dc4.entry.js +0 -38
- package/dist/solutions-components/p-c9870dc4.entry.js.map +0 -1
- package/dist/solutions-components/p-cbd9fecf.js.map +0 -1
- package/dist/solutions-components/p-cfb300c6.entry.js +0 -250
- package/dist/solutions-components/p-cfb300c6.entry.js.map +0 -1
- package/dist/solutions-components/p-d48a24e6.js.map +0 -1
- package/dist/solutions-components/p-dbad98e8.js.map +0 -1
- package/dist/solutions-components/p-dd79118e.entry.js +0 -708
- package/dist/solutions-components/p-dd79118e.entry.js.map +0 -1
- package/dist/solutions-components/p-de5416e8.js.map +0 -1
- package/dist/solutions-components/p-de881187.entry.js +0 -87
- package/dist/solutions-components/p-de881187.entry.js.map +0 -1
- package/dist/solutions-components/p-e1905f7b.entry.js +0 -120
- package/dist/solutions-components/p-e1905f7b.entry.js.map +0 -1
- package/dist/solutions-components/p-e515767a.entry.js +0 -116
- package/dist/solutions-components/p-e515767a.entry.js.map +0 -1
- package/dist/solutions-components/p-e611d8c8.js.map +0 -1
- package/dist/solutions-components/p-e6a695a5.js.map +0 -1
- package/dist/solutions-components/p-e947d3b0.js.map +0 -1
- package/dist/solutions-components/p-e99b1247.js.map +0 -1
- package/dist/solutions-components/p-eb5b78c3.entry.js +0 -125
- package/dist/solutions-components/p-eb5b78c3.entry.js.map +0 -1
- package/dist/solutions-components/p-eb976965.js.map +0 -1
- package/dist/solutions-components/p-ed075c2f.entry.js +0 -186
- package/dist/solutions-components/p-ed075c2f.entry.js.map +0 -1
- package/dist/solutions-components/p-eeb0321d.js.map +0 -1
- package/dist/solutions-components/p-f0294899.entry.js +0 -84
- package/dist/solutions-components/p-f0294899.entry.js.map +0 -1
- package/dist/solutions-components/p-f477f146.entry.js +0 -310
- package/dist/solutions-components/p-f477f146.entry.js.map +0 -1
- package/dist/solutions-components/p-f48821a2.js.map +0 -1
- package/dist/solutions-components/p-f496ed0c.entry.js +0 -150
- package/dist/solutions-components/p-f496ed0c.entry.js.map +0 -1
- package/dist/solutions-components/p-f5268b4f.entry.js +0 -60
- package/dist/solutions-components/p-f5268b4f.entry.js.map +0 -1
- package/dist/solutions-components/p-f759a6e7.js.map +0 -1
- package/dist/solutions-components/p-fc884dd6.js.map +0 -1
- package/dist/solutions-components/p-fe0fdd8b.js.map +0 -1
- package/dist/solutions-components/solutions-components.esm.js.map +0 -1
@@ -1,1250 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './p-58c69df2.js';
|
7
|
-
import { t as toggleChildActionText, o as overflowActionsDebounceInMs, q as queryActions, g as geActionDimensions, a as overflowActions, E as ExpandToggle, b as getOverflowCount } from './p-e6a695a5.js';
|
8
|
-
import { f as focusElement, a as getSlotted, s as setRequestedIcon, g as getElementProp } from './p-32a67cb2.js';
|
9
|
-
import { c as createObserver } from './p-9a9955db.js';
|
10
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './p-5cf33602.js';
|
11
|
-
import { d as debounce } from './p-4e32bf8c.js';
|
12
|
-
import { S as StatusIcons } from './p-6fe17794.js';
|
13
|
-
import { l as loadModules } from './p-2ac06389.js';
|
14
|
-
import { a as goToSelection, h as highlightFeatures, q as queryObjectIds, d as getQueryGeoms, e as queryFeaturesByID } from './p-fe0fdd8b.js';
|
15
|
-
import { E as EWorkflowType, d as ESelectionMode, e as ERefineMode } from './p-6b9dc092.js';
|
16
|
-
import { s as state } from './p-5b0d7c7d.js';
|
17
|
-
import { g as getLocaleComponentStrings } from './p-20bdf42f.js';
|
18
|
-
import { p as pdfUtils } from './p-e99b1247.js';
|
19
|
-
import { a as getSelectionIds, g as getTotal } from './p-fc884dd6.js';
|
20
|
-
import './p-6e0da576.js';
|
21
|
-
import './p-708a63a8.js';
|
22
|
-
import './p-729708a3.js';
|
23
|
-
import './p-a80b3880.js';
|
24
|
-
import './p-f759a6e7.js';
|
25
|
-
import './p-3b010ce1.js';
|
26
|
-
|
27
|
-
/*!
|
28
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
29
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
30
|
-
* v1.0.0-beta.97
|
31
|
-
*/
|
32
|
-
const CSS$1 = {
|
33
|
-
actionGroupBottom: "action-group--bottom"
|
34
|
-
};
|
35
|
-
const SLOTS$1 = {
|
36
|
-
bottomActions: "bottom-actions",
|
37
|
-
expandTooltip: "expand-tooltip"
|
38
|
-
};
|
39
|
-
const TEXT$1 = {
|
40
|
-
expand: "Expand",
|
41
|
-
collapse: "Collapse"
|
42
|
-
};
|
43
|
-
|
44
|
-
const actionBarCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{pointer-events:auto;display:inline-flex;align-self:stretch;background:transparent;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=horizontal]){flex-direction:row}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-width:0px;border-inline-end-width:1px;border-style:solid}::slotted(calcite-action-group:last-child){border-block-end-width:0px;border-inline-end-width:0px}.action-group--bottom{flex-grow:1;justify-content:flex-end;-webkit-padding-after:0px;padding-block-end:0px;-webkit-padding-end:0px;padding-inline-end:0px}";
|
45
|
-
|
46
|
-
const ActionBar = class {
|
47
|
-
constructor(hostRef) {
|
48
|
-
registerInstance(this, hostRef);
|
49
|
-
this.calciteActionBarToggle = createEvent(this, "calciteActionBarToggle", 6);
|
50
|
-
// --------------------------------------------------------------------------
|
51
|
-
//
|
52
|
-
// Properties
|
53
|
-
//
|
54
|
-
// --------------------------------------------------------------------------
|
55
|
-
/**
|
56
|
-
* When `true`, the expand-toggling behavior is disabled.
|
57
|
-
*/
|
58
|
-
this.expandDisabled = false;
|
59
|
-
/**
|
60
|
-
* When `true`, the component is expanded.
|
61
|
-
*/
|
62
|
-
this.expanded = false;
|
63
|
-
/**
|
64
|
-
* The layout direction of the actions.
|
65
|
-
*/
|
66
|
-
this.layout = "vertical";
|
67
|
-
/**
|
68
|
-
* Disables automatically overflowing `calcite-action`s that won't fit into menus.
|
69
|
-
*/
|
70
|
-
this.overflowActionsDisabled = false;
|
71
|
-
this.mutationObserver = createObserver("mutation", () => {
|
72
|
-
const { el, expanded } = this;
|
73
|
-
toggleChildActionText({ parent: el, expanded });
|
74
|
-
this.conditionallyOverflowActions();
|
75
|
-
});
|
76
|
-
this.resizeObserver = createObserver("resize", (entries) => this.resizeHandlerEntries(entries));
|
77
|
-
// --------------------------------------------------------------------------
|
78
|
-
//
|
79
|
-
// Private Methods
|
80
|
-
//
|
81
|
-
// --------------------------------------------------------------------------
|
82
|
-
this.actionMenuOpenChangeHandler = (event) => {
|
83
|
-
if (event.detail) {
|
84
|
-
const composedPath = event.composedPath();
|
85
|
-
Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((group) => {
|
86
|
-
if (!composedPath.includes(group)) {
|
87
|
-
group.menuOpen = false;
|
88
|
-
}
|
89
|
-
});
|
90
|
-
}
|
91
|
-
};
|
92
|
-
this.resizeHandlerEntries = (entries) => {
|
93
|
-
entries.forEach(this.resizeHandler);
|
94
|
-
};
|
95
|
-
this.resizeHandler = (entry) => {
|
96
|
-
const { width, height } = entry.contentRect;
|
97
|
-
this.resize({ width, height });
|
98
|
-
};
|
99
|
-
this.resize = debounce(({ width, height }) => {
|
100
|
-
const { el, expanded, expandDisabled, layout } = this;
|
101
|
-
if ((layout === "vertical" && !height) || (layout === "horizontal" && !width)) {
|
102
|
-
return;
|
103
|
-
}
|
104
|
-
const actions = queryActions(el);
|
105
|
-
const actionCount = expandDisabled ? actions.length : actions.length + 1;
|
106
|
-
const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
|
107
|
-
const groupCount = getSlotted(el, SLOTS$1.bottomActions) || !expandDisabled
|
108
|
-
? actionGroups.length + 1
|
109
|
-
: actionGroups.length;
|
110
|
-
const { actionHeight, actionWidth } = geActionDimensions(actions);
|
111
|
-
const overflowCount = getOverflowCount({
|
112
|
-
layout,
|
113
|
-
actionCount,
|
114
|
-
actionHeight,
|
115
|
-
actionWidth,
|
116
|
-
height,
|
117
|
-
width,
|
118
|
-
groupCount
|
119
|
-
});
|
120
|
-
overflowActions({
|
121
|
-
actionGroups,
|
122
|
-
expanded,
|
123
|
-
overflowCount
|
124
|
-
});
|
125
|
-
}, overflowActionsDebounceInMs);
|
126
|
-
this.conditionallyOverflowActions = () => {
|
127
|
-
if (!this.overflowActionsDisabled) {
|
128
|
-
this.overflowActions();
|
129
|
-
}
|
130
|
-
};
|
131
|
-
this.toggleExpand = () => {
|
132
|
-
this.expanded = !this.expanded;
|
133
|
-
this.calciteActionBarToggle.emit();
|
134
|
-
};
|
135
|
-
this.setExpandToggleRef = (el) => {
|
136
|
-
this.expandToggleEl = el;
|
137
|
-
};
|
138
|
-
}
|
139
|
-
expandHandler() {
|
140
|
-
this.conditionallyOverflowActions();
|
141
|
-
}
|
142
|
-
expandedHandler(expanded) {
|
143
|
-
toggleChildActionText({ parent: this.el, expanded });
|
144
|
-
this.conditionallyOverflowActions();
|
145
|
-
}
|
146
|
-
overflowDisabledHandler(overflowActionsDisabled) {
|
147
|
-
overflowActionsDisabled
|
148
|
-
? this.resizeObserver.disconnect()
|
149
|
-
: this.resizeObserver.observe(this.el);
|
150
|
-
}
|
151
|
-
// --------------------------------------------------------------------------
|
152
|
-
//
|
153
|
-
// Lifecycle
|
154
|
-
//
|
155
|
-
// --------------------------------------------------------------------------
|
156
|
-
componentDidLoad() {
|
157
|
-
this.conditionallyOverflowActions();
|
158
|
-
}
|
159
|
-
connectedCallback() {
|
160
|
-
var _a, _b;
|
161
|
-
const { el, expanded } = this;
|
162
|
-
toggleChildActionText({ parent: el, expanded });
|
163
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(el, { childList: true, subtree: true });
|
164
|
-
if (!this.overflowActionsDisabled) {
|
165
|
-
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
|
166
|
-
}
|
167
|
-
this.conditionallyOverflowActions();
|
168
|
-
connectConditionalSlotComponent(this);
|
169
|
-
}
|
170
|
-
disconnectedCallback() {
|
171
|
-
var _a, _b;
|
172
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
173
|
-
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
174
|
-
disconnectConditionalSlotComponent(this);
|
175
|
-
}
|
176
|
-
// --------------------------------------------------------------------------
|
177
|
-
//
|
178
|
-
// Methods
|
179
|
-
//
|
180
|
-
// --------------------------------------------------------------------------
|
181
|
-
/**
|
182
|
-
* Overflows actions that won't fit into menus.
|
183
|
-
*
|
184
|
-
* @internal
|
185
|
-
*/
|
186
|
-
async overflowActions() {
|
187
|
-
this.resize({ width: this.el.clientWidth, height: this.el.clientHeight });
|
188
|
-
}
|
189
|
-
/**
|
190
|
-
* Sets focus on the component.
|
191
|
-
*
|
192
|
-
* @param focusId
|
193
|
-
*/
|
194
|
-
async setFocus(focusId) {
|
195
|
-
var _a;
|
196
|
-
if (focusId === "expand-toggle") {
|
197
|
-
await focusElement(this.expandToggleEl);
|
198
|
-
return;
|
199
|
-
}
|
200
|
-
(_a = this.el) === null || _a === void 0 ? void 0 : _a.focus();
|
201
|
-
}
|
202
|
-
// --------------------------------------------------------------------------
|
203
|
-
//
|
204
|
-
// Render Methods
|
205
|
-
//
|
206
|
-
// --------------------------------------------------------------------------
|
207
|
-
renderBottomActionGroup() {
|
208
|
-
const { expanded, expandDisabled, intlExpand, intlCollapse, el, position, toggleExpand, scale, layout } = this;
|
209
|
-
const tooltip = getSlotted(el, SLOTS$1.expandTooltip);
|
210
|
-
const expandLabel = intlExpand || TEXT$1.expand;
|
211
|
-
const collapseLabel = intlCollapse || TEXT$1.collapse;
|
212
|
-
const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { el: el, expanded: expanded, intlCollapse: collapseLabel, intlExpand: expandLabel, position: position, ref: this.setExpandToggleRef, scale: scale, toggle: toggleExpand, tooltip: tooltip })) : null;
|
213
|
-
return getSlotted(el, SLOTS$1.bottomActions) || expandToggleNode ? (h("calcite-action-group", { class: CSS$1.actionGroupBottom, layout: layout, scale: scale }, h("slot", { name: SLOTS$1.bottomActions }), h("slot", { name: SLOTS$1.expandTooltip }), expandToggleNode)) : null;
|
214
|
-
}
|
215
|
-
render() {
|
216
|
-
return (h(Host, { onCalciteActionMenuOpenChange: this.actionMenuOpenChangeHandler }, h("slot", null), this.renderBottomActionGroup()));
|
217
|
-
}
|
218
|
-
get el() { return getElement(this); }
|
219
|
-
static get watchers() { return {
|
220
|
-
"expandDisabled": ["expandHandler"],
|
221
|
-
"expanded": ["expandedHandler"],
|
222
|
-
"overflowActionsDisabled": ["overflowDisabledHandler"]
|
223
|
-
}; }
|
224
|
-
};
|
225
|
-
ActionBar.style = actionBarCss;
|
226
|
-
|
227
|
-
/*!
|
228
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
229
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
230
|
-
* v1.0.0-beta.97
|
231
|
-
*/
|
232
|
-
var StatusIconDefaults;
|
233
|
-
(function (StatusIconDefaults) {
|
234
|
-
StatusIconDefaults["valid"] = "check-circle";
|
235
|
-
StatusIconDefaults["invalid"] = "exclamation-mark-triangle";
|
236
|
-
StatusIconDefaults["idle"] = "information";
|
237
|
-
})(StatusIconDefaults || (StatusIconDefaults = {}));
|
238
|
-
|
239
|
-
const inputMessageCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([active][scale=m]),:host([active][scale=l]){--calcite-input-message-spacing-value:0.25rem}:host{visibility:hidden;box-sizing:border-box;display:flex;block-size:0px;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([active]){visibility:visible;block-size:auto;opacity:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}:host([active][scale=m]),:host([active][scale=l]){-webkit-margin-before:var(--calcite-input-message-spacing-value);margin-block-start:var(--calcite-input-message-spacing-value)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-ui-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-ui-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-ui-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-ui-brand)}:host([status][active]){color:var(--calcite-ui-text-1)}:host([status][scale=s]){font-size:var(--calcite-font-size--3);line-height:0.75rem}:host([status][scale=m]){-webkit-margin-before:0.25rem;margin-block-start:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([status][scale=l]){-webkit-margin-before:0.25rem;margin-block-start:0.25rem;font-size:var(--calcite-font-size--1);line-height:1rem}";
|
240
|
-
|
241
|
-
const InputMessage = class {
|
242
|
-
constructor(hostRef) {
|
243
|
-
registerInstance(this, hostRef);
|
244
|
-
//--------------------------------------------------------------------------
|
245
|
-
//
|
246
|
-
// Properties
|
247
|
-
//
|
248
|
-
//--------------------------------------------------------------------------
|
249
|
-
/** When `true`, the component is active. */
|
250
|
-
this.active = false;
|
251
|
-
/** Specifies the size of the component. */
|
252
|
-
this.scale = "m";
|
253
|
-
/** Specifies the status of the input field, which determines message and icons. */
|
254
|
-
this.status = "idle";
|
255
|
-
}
|
256
|
-
handleIconEl() {
|
257
|
-
this.requestedIcon = setRequestedIcon(StatusIconDefaults, this.icon, this.status);
|
258
|
-
}
|
259
|
-
//--------------------------------------------------------------------------
|
260
|
-
//
|
261
|
-
// Lifecycle
|
262
|
-
//
|
263
|
-
//--------------------------------------------------------------------------
|
264
|
-
connectedCallback() {
|
265
|
-
this.status = getElementProp(this.el, "status", this.status);
|
266
|
-
this.scale = getElementProp(this.el, "scale", this.scale);
|
267
|
-
this.requestedIcon = setRequestedIcon(StatusIconDefaults, this.icon, this.status);
|
268
|
-
}
|
269
|
-
render() {
|
270
|
-
const hidden = !this.active;
|
271
|
-
return (h(Host, { "calcite-hydrated-hidden": hidden }, this.renderIcon(this.requestedIcon), h("slot", null)));
|
272
|
-
}
|
273
|
-
//--------------------------------------------------------------------------
|
274
|
-
//
|
275
|
-
// Private Methods
|
276
|
-
//
|
277
|
-
//--------------------------------------------------------------------------
|
278
|
-
renderIcon(iconName) {
|
279
|
-
if (iconName) {
|
280
|
-
return h("calcite-icon", { class: "calcite-input-message-icon", icon: iconName, scale: "s" });
|
281
|
-
}
|
282
|
-
}
|
283
|
-
get el() { return getElement(this); }
|
284
|
-
static get watchers() { return {
|
285
|
-
"status": ["handleIconEl"],
|
286
|
-
"icon": ["handleIconEl"]
|
287
|
-
}; }
|
288
|
-
};
|
289
|
-
InputMessage.style = inputMessageCss;
|
290
|
-
|
291
|
-
/*!
|
292
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
293
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
294
|
-
* v1.0.0-beta.97
|
295
|
-
*/
|
296
|
-
const TEXT = {
|
297
|
-
close: "Close"
|
298
|
-
};
|
299
|
-
const SLOTS = {
|
300
|
-
title: "title",
|
301
|
-
message: "message",
|
302
|
-
link: "link",
|
303
|
-
actionsEnd: "actions-end"
|
304
|
-
};
|
305
|
-
const CSS = {
|
306
|
-
actionsEnd: "actions-end",
|
307
|
-
close: "notice-close",
|
308
|
-
container: "container",
|
309
|
-
content: "notice-content",
|
310
|
-
icon: "notice-icon"
|
311
|
-
};
|
312
|
-
|
313
|
-
const noticeCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;-webkit-border-start:0px solid;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}:host{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);-webkit-margin-end:var(--calcite-notice-spacing-token-small);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){-webkit-padding-start:var(--calcite-notice-spacing-token-large);padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([color=blue]) .container{border-color:var(--calcite-ui-brand)}:host([color=blue]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([color=red]) .container{border-color:var(--calcite-ui-danger)}:host([color=red]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([color=yellow]) .container{border-color:var(--calcite-ui-warning)}:host([color=yellow]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([color=green]) .container{border-color:var(--calcite-ui-success)}:host([color=green]) .container .notice-icon{color:var(--calcite-ui-success)}";
|
314
|
-
|
315
|
-
const Notice = class {
|
316
|
-
constructor(hostRef) {
|
317
|
-
registerInstance(this, hostRef);
|
318
|
-
this.calciteNoticeClose = createEvent(this, "calciteNoticeClose", 6);
|
319
|
-
this.calciteNoticeOpen = createEvent(this, "calciteNoticeOpen", 6);
|
320
|
-
//--------------------------------------------------------------------------
|
321
|
-
//
|
322
|
-
// Properties
|
323
|
-
//
|
324
|
-
//---------------------------------------------------------------------------
|
325
|
-
/**
|
326
|
-
* When `true`, the component is active.
|
327
|
-
*
|
328
|
-
* @deprecated Use `open` instead.
|
329
|
-
*/
|
330
|
-
this.active = false;
|
331
|
-
/** When `true`, the component is visible. */
|
332
|
-
this.open = false;
|
333
|
-
/** The color for the component's top border and icon. */
|
334
|
-
this.color = "blue";
|
335
|
-
/**
|
336
|
-
* When `true`, a close button is added to the component.
|
337
|
-
*
|
338
|
-
* @deprecated use `closable` instead.
|
339
|
-
*/
|
340
|
-
this.dismissible = false;
|
341
|
-
/** When `true`, a close button is added to the component. */
|
342
|
-
this.closable = false;
|
343
|
-
/**
|
344
|
-
* Accessible name for the close button.
|
345
|
-
*
|
346
|
-
* @default "Close"
|
347
|
-
*/
|
348
|
-
this.intlClose = TEXT.close;
|
349
|
-
/** Specifies the size of the component. */
|
350
|
-
this.scale = "m";
|
351
|
-
/** Specifies the width of the component. */
|
352
|
-
this.width = "auto";
|
353
|
-
//--------------------------------------------------------------------------
|
354
|
-
//
|
355
|
-
// Private Methods
|
356
|
-
//
|
357
|
-
//--------------------------------------------------------------------------
|
358
|
-
this.close = () => {
|
359
|
-
this.open = false;
|
360
|
-
this.calciteNoticeClose.emit();
|
361
|
-
};
|
362
|
-
}
|
363
|
-
activeHandler(value) {
|
364
|
-
this.open = value;
|
365
|
-
}
|
366
|
-
openHandler(value) {
|
367
|
-
this.active = value;
|
368
|
-
}
|
369
|
-
handleDismissible(value) {
|
370
|
-
this.closable = value;
|
371
|
-
}
|
372
|
-
handleClosable(value) {
|
373
|
-
this.dismissible = value;
|
374
|
-
}
|
375
|
-
updateRequestedIcon() {
|
376
|
-
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
377
|
-
}
|
378
|
-
//--------------------------------------------------------------------------
|
379
|
-
//
|
380
|
-
// Lifecycle
|
381
|
-
//
|
382
|
-
//--------------------------------------------------------------------------
|
383
|
-
connectedCallback() {
|
384
|
-
connectConditionalSlotComponent(this);
|
385
|
-
const isOpen = this.active || this.open;
|
386
|
-
if (isOpen) {
|
387
|
-
this.activeHandler(isOpen);
|
388
|
-
this.openHandler(isOpen);
|
389
|
-
}
|
390
|
-
if (this.dismissible) {
|
391
|
-
this.handleDismissible(this.dismissible);
|
392
|
-
}
|
393
|
-
if (this.closable) {
|
394
|
-
this.handleClosable(this.closable);
|
395
|
-
}
|
396
|
-
}
|
397
|
-
disconnectedCallback() {
|
398
|
-
disconnectConditionalSlotComponent(this);
|
399
|
-
}
|
400
|
-
componentWillLoad() {
|
401
|
-
this.requestedIcon = setRequestedIcon(StatusIcons, this.icon, this.color);
|
402
|
-
}
|
403
|
-
render() {
|
404
|
-
const { el } = this;
|
405
|
-
const closeButton = (h("button", { "aria-label": this.intlClose, class: CSS.close, onClick: this.close, ref: (el) => (this.closeButton = el) }, h("calcite-icon", { icon: "x", scale: this.scale === "l" ? "m" : "s" })));
|
406
|
-
const hasActionEnd = getSlotted(el, SLOTS.actionsEnd);
|
407
|
-
return (h("div", { class: CSS.container }, this.requestedIcon ? (h("div", { class: CSS.icon }, h("calcite-icon", { icon: this.requestedIcon, scale: this.scale === "l" ? "m" : "s" }))) : null, h("div", { class: CSS.content }, h("slot", { name: SLOTS.title }), h("slot", { name: SLOTS.message }), h("slot", { name: SLOTS.link })), hasActionEnd ? (h("div", { class: CSS.actionsEnd }, h("slot", { name: SLOTS.actionsEnd }))) : null, this.closable ? closeButton : null));
|
408
|
-
}
|
409
|
-
//--------------------------------------------------------------------------
|
410
|
-
//
|
411
|
-
// Public Methods
|
412
|
-
//
|
413
|
-
//--------------------------------------------------------------------------
|
414
|
-
/** Sets focus on the component. */
|
415
|
-
async setFocus() {
|
416
|
-
const noticeLinkEl = this.el.querySelector("calcite-link");
|
417
|
-
if (!this.closeButton && !noticeLinkEl) {
|
418
|
-
return;
|
419
|
-
}
|
420
|
-
if (noticeLinkEl) {
|
421
|
-
noticeLinkEl.setFocus();
|
422
|
-
}
|
423
|
-
else if (this.closeButton) {
|
424
|
-
this.closeButton.focus();
|
425
|
-
}
|
426
|
-
}
|
427
|
-
get el() { return getElement(this); }
|
428
|
-
static get watchers() { return {
|
429
|
-
"active": ["activeHandler"],
|
430
|
-
"open": ["openHandler"],
|
431
|
-
"dismissible": ["handleDismissible"],
|
432
|
-
"closable": ["handleClosable"],
|
433
|
-
"icon": ["updateRequestedIcon"],
|
434
|
-
"color": ["updateRequestedIcon"]
|
435
|
-
}; }
|
436
|
-
};
|
437
|
-
Notice.style = noticeCss;
|
438
|
-
|
439
|
-
const mapSelectToolsCss = ":host{display:block}.div-visible{display:inherit}.div-visible-search{display:flex;height:44px;align-items:center;padding-bottom:0}.div-not-visible{display:none}.padding-bottom-1{padding-bottom:1rem}.search-widget{width:100% !important;border:1px solid var(--calcite-ui-border-input)}.w-100{width:100%}.w-50{width:50%}.search-distance-container{padding-top:\"1rem\" !important}.end-border{-webkit-border-end:1px solid var(--calcite-ui-border-2);border-inline-end:1px solid var(--calcite-ui-border-2)}";
|
440
|
-
|
441
|
-
const MapSelectTools = class {
|
442
|
-
constructor(hostRef) {
|
443
|
-
registerInstance(this, hostRef);
|
444
|
-
this.selectionSetChange = createEvent(this, "selectionSetChange", 7);
|
445
|
-
this.workflowTypeChange = createEvent(this, "workflowTypeChange", 7);
|
446
|
-
/**
|
447
|
-
* number[]: the oids of the selected features
|
448
|
-
*/
|
449
|
-
this._selectedIds = [];
|
450
|
-
/**
|
451
|
-
* string: A label to help uniquely identify the selection set
|
452
|
-
*/
|
453
|
-
this._selectionLabel = "";
|
454
|
-
this.mapView = undefined;
|
455
|
-
this.selectLayerView = undefined;
|
456
|
-
this.geometries = undefined;
|
457
|
-
this.selectionSet = undefined;
|
458
|
-
this.isUpdate = false;
|
459
|
-
this._searchTerm = undefined;
|
460
|
-
this._translations = undefined;
|
461
|
-
this._workflowType = undefined;
|
462
|
-
}
|
463
|
-
//--------------------------------------------------------------------------
|
464
|
-
//
|
465
|
-
// Watch handlers
|
466
|
-
//
|
467
|
-
//--------------------------------------------------------------------------
|
468
|
-
/**
|
469
|
-
* Called each time the geometries prop is changed.
|
470
|
-
*
|
471
|
-
* @returns Promise when complete
|
472
|
-
*/
|
473
|
-
async watchGeometriesHandler(newValue, oldValue) {
|
474
|
-
if (newValue !== oldValue) {
|
475
|
-
if (newValue.length > 0) {
|
476
|
-
return this._geomQuery(this.geometries);
|
477
|
-
}
|
478
|
-
else if (newValue.length === 0) {
|
479
|
-
return this._clearResults(true, true);
|
480
|
-
}
|
481
|
-
}
|
482
|
-
}
|
483
|
-
/**
|
484
|
-
* Called each time the workflowType prop is changed and emits the workflowTypeChange event.
|
485
|
-
*
|
486
|
-
* @returns Promise when complete
|
487
|
-
*/
|
488
|
-
async workflowTypeHandler(newValue, oldValue) {
|
489
|
-
if (newValue !== oldValue) {
|
490
|
-
this.workflowTypeChange.emit(newValue);
|
491
|
-
}
|
492
|
-
}
|
493
|
-
//--------------------------------------------------------------------------
|
494
|
-
//
|
495
|
-
// Methods (public)
|
496
|
-
//
|
497
|
-
//--------------------------------------------------------------------------
|
498
|
-
/**
|
499
|
-
* Clear any selection results
|
500
|
-
*
|
501
|
-
* @returns Promise when the results have been cleared
|
502
|
-
*/
|
503
|
-
async clearSelection() {
|
504
|
-
return this._clearResults();
|
505
|
-
}
|
506
|
-
/**
|
507
|
-
* Get the new selection set
|
508
|
-
*
|
509
|
-
* @returns Promise with the new selection set
|
510
|
-
*/
|
511
|
-
async getSelection() {
|
512
|
-
return {
|
513
|
-
id: this.isUpdate ? this.selectionSet.id : Date.now(),
|
514
|
-
workflowType: this._workflowType,
|
515
|
-
searchResult: this._searchResult,
|
516
|
-
buffer: this._bufferGeometry,
|
517
|
-
distance: this._bufferTools.distance,
|
518
|
-
download: true,
|
519
|
-
unit: this._bufferTools.unit,
|
520
|
-
label: this._workflowType === EWorkflowType.SEARCH ?
|
521
|
-
this._selectionLabel : `${this._selectionLabel} ${this._bufferTools.distance} ${this._bufferTools.unit}`,
|
522
|
-
selectedIds: this._selectedIds,
|
523
|
-
layerView: this.selectLayerView,
|
524
|
-
geometries: this.geometries,
|
525
|
-
refineSelectLayers: this._refineTools.layerViews
|
526
|
-
};
|
527
|
-
}
|
528
|
-
/**
|
529
|
-
* Listen to changes in the sketch graphics
|
530
|
-
*
|
531
|
-
*/
|
532
|
-
sketchGraphicsChange(event) {
|
533
|
-
this._updateSelection(EWorkflowType.SKETCH, event.detail, this._translations.sketch);
|
534
|
-
}
|
535
|
-
/**
|
536
|
-
* Listen to changes in the refine graphics
|
537
|
-
*
|
538
|
-
*/
|
539
|
-
refineSelectionGraphicsChange(event) {
|
540
|
-
const graphics = event.detail;
|
541
|
-
this._updateSelection(EWorkflowType.SELECT, graphics, this._translations.select);
|
542
|
-
// Using OIDs to avoid issue with points
|
543
|
-
const oids = Array.isArray(graphics) ? graphics.map(g => { var _a; return g.attributes[(_a = g === null || g === void 0 ? void 0 : g.layer) === null || _a === void 0 ? void 0 : _a.objectIdField]; }) : [];
|
544
|
-
return this._highlightFeatures(oids);
|
545
|
-
}
|
546
|
-
//--------------------------------------------------------------------------
|
547
|
-
//
|
548
|
-
// Functions (lifecycle)
|
549
|
-
//
|
550
|
-
//--------------------------------------------------------------------------
|
551
|
-
/**
|
552
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
553
|
-
*/
|
554
|
-
async componentWillLoad() {
|
555
|
-
await this._getTranslations();
|
556
|
-
await this._initModules();
|
557
|
-
}
|
558
|
-
/**
|
559
|
-
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
560
|
-
*/
|
561
|
-
async componentDidLoad() {
|
562
|
-
return this._init();
|
563
|
-
}
|
564
|
-
/**
|
565
|
-
* Renders the component.
|
566
|
-
*/
|
567
|
-
render() {
|
568
|
-
var _a, _b, _c;
|
569
|
-
const searchEnabled = this._workflowType === EWorkflowType.SEARCH;
|
570
|
-
const showSearchClass = searchEnabled ? " div-visible-search" : " div-not-visible";
|
571
|
-
const drawEnabled = this._workflowType === EWorkflowType.SKETCH;
|
572
|
-
const showDrawToolsClass = drawEnabled ? " div-visible" : " div-not-visible";
|
573
|
-
const selectEnabled = this._workflowType === EWorkflowType.SELECT;
|
574
|
-
const showSelectToolsClass = selectEnabled ? " div-visible" : " div-not-visible";
|
575
|
-
return (h(Host, null, h("div", { class: "padding-bottom-1" }, h("calcite-radio-group", { class: "w-100", onCalciteRadioGroupChange: (evt) => this._workflowChange(evt) }, h("calcite-radio-group-item", { checked: searchEnabled, class: "w-50 end-border", value: EWorkflowType.SEARCH }, this._translations.search), h("calcite-radio-group-item", { checked: selectEnabled, class: "w-50 end-border", value: EWorkflowType.SELECT }, this._translations.select), h("calcite-radio-group-item", { checked: drawEnabled, class: "w-50", value: EWorkflowType.SKETCH }, this._translations.sketch))), h("div", { class: showSearchClass }, h("div", { class: "search-widget", ref: (el) => { this._searchElement = el; } })), h("map-draw-tools", { active: drawEnabled, border: true, class: showDrawToolsClass, mapView: this.mapView, ref: (el) => { this._drawTools = el; } }), h("refine-selection-tools", { active: selectEnabled, border: true, class: showSelectToolsClass, layerViews: this._refineSelectLayers, mapView: this.mapView, mode: ESelectionMode.ADD, ref: (el) => { this._refineTools = el; }, refineMode: ERefineMode.SUBSET }), h("calcite-label", { style: { "display": "flex", "padding-top": "1rem" } }, (_a = this._translations) === null || _a === void 0 ? void 0 :
|
576
|
-
_a.searchDistance, h("buffer-tools", { distance: (_b = this.selectionSet) === null || _b === void 0 ? void 0 : _b.distance, geometries: this.geometries, onBufferComplete: (evt) => this._bufferComplete(evt), ref: (el) => this._bufferTools = el, unit: (_c = this.selectionSet) === null || _c === void 0 ? void 0 : _c.unit })), h("slot", null)));
|
577
|
-
}
|
578
|
-
//--------------------------------------------------------------------------
|
579
|
-
//
|
580
|
-
// Functions (protected)
|
581
|
-
//
|
582
|
-
//--------------------------------------------------------------------------
|
583
|
-
/**
|
584
|
-
* Load esri javascript api modules
|
585
|
-
*
|
586
|
-
* @returns Promise resolving when function is done
|
587
|
-
*
|
588
|
-
* @protected
|
589
|
-
*/
|
590
|
-
async _initModules() {
|
591
|
-
const [GraphicsLayer, Graphic, Search, Geometry, geometryEngine] = await loadModules([
|
592
|
-
"esri/layers/GraphicsLayer",
|
593
|
-
"esri/Graphic",
|
594
|
-
"esri/widgets/Search",
|
595
|
-
"esri/geometry/Geometry",
|
596
|
-
"esri/geometry/geometryEngine"
|
597
|
-
]);
|
598
|
-
this.GraphicsLayer = GraphicsLayer;
|
599
|
-
this.Graphic = Graphic;
|
600
|
-
this.Search = Search;
|
601
|
-
this.Geometry = Geometry;
|
602
|
-
this._geometryEngine = geometryEngine;
|
603
|
-
}
|
604
|
-
/**
|
605
|
-
* Initialize the graphics layer, selection set, and search widget
|
606
|
-
*
|
607
|
-
* @returns Promise when the operation has completed
|
608
|
-
*/
|
609
|
-
async _init() {
|
610
|
-
this._initGraphicsLayer();
|
611
|
-
this._initSelectionSet();
|
612
|
-
this._initSearchWidget();
|
613
|
-
}
|
614
|
-
/**
|
615
|
-
* Initialize the state of the component with any stored values in a selection set
|
616
|
-
*
|
617
|
-
* @protected
|
618
|
-
*/
|
619
|
-
_initSelectionSet() {
|
620
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
621
|
-
if (this.selectionSet) {
|
622
|
-
this._searchTerm = (_b = (_a = this.selectionSet) === null || _a === void 0 ? void 0 : _a.searchResult) === null || _b === void 0 ? void 0 : _b.name;
|
623
|
-
this._workflowType = (_c = this.selectionSet) === null || _c === void 0 ? void 0 : _c.workflowType;
|
624
|
-
this._searchResult = (_d = this.selectionSet) === null || _d === void 0 ? void 0 : _d.searchResult;
|
625
|
-
this._refineSelectLayers = (_e = this.selectionSet) === null || _e === void 0 ? void 0 : _e.refineSelectLayers;
|
626
|
-
this.geometries = [
|
627
|
-
...(_f = this.selectionSet) === null || _f === void 0 ? void 0 : _f.geometries
|
628
|
-
];
|
629
|
-
// reset selection label base
|
630
|
-
this._selectionLabel = this._workflowType === EWorkflowType.SKETCH ?
|
631
|
-
this._translations.sketch : this._workflowType === EWorkflowType.SELECT ?
|
632
|
-
this._translations.select : (_g = this.selectionSet) === null || _g === void 0 ? void 0 : _g.label;
|
633
|
-
void goToSelection(this.selectionSet.selectedIds, this.selectionSet.layerView, this.mapView, false);
|
634
|
-
}
|
635
|
-
else {
|
636
|
-
this._workflowType = EWorkflowType.SEARCH;
|
637
|
-
}
|
638
|
-
}
|
639
|
-
/**
|
640
|
-
* Initialize the search widget
|
641
|
-
*
|
642
|
-
* @protected
|
643
|
-
*/
|
644
|
-
_initSearchWidget() {
|
645
|
-
if (this.mapView && this._searchElement) {
|
646
|
-
const searchOptions = {
|
647
|
-
view: this.mapView,
|
648
|
-
container: this._searchElement,
|
649
|
-
searchTerm: this._searchTerm
|
650
|
-
};
|
651
|
-
this._searchWidget = new this.Search(searchOptions);
|
652
|
-
this._searchWidget.on("search-clear", () => {
|
653
|
-
void this._clearResults(false);
|
654
|
-
});
|
655
|
-
this._searchWidget.on("select-result", (searchResults) => {
|
656
|
-
var _a;
|
657
|
-
void this._clearResults(false);
|
658
|
-
if (searchResults.result) {
|
659
|
-
this._searchResult = searchResults.result;
|
660
|
-
this._updateSelection(EWorkflowType.SEARCH, [searchResults.result.feature], (_a = searchResults === null || searchResults === void 0 ? void 0 : searchResults.result) === null || _a === void 0 ? void 0 : _a.name);
|
661
|
-
}
|
662
|
-
});
|
663
|
-
}
|
664
|
-
}
|
665
|
-
/**
|
666
|
-
* Initialize the graphics layer used to store any buffer grapghics
|
667
|
-
*
|
668
|
-
* @protected
|
669
|
-
*/
|
670
|
-
_initGraphicsLayer() {
|
671
|
-
const title = this._translations.bufferLayer;
|
672
|
-
const bufferIndex = this.mapView.map.layers.findIndex((l) => l.title === title);
|
673
|
-
if (bufferIndex > -1) {
|
674
|
-
this._bufferGraphicsLayer = this.mapView.map.layers.getItemAt(bufferIndex);
|
675
|
-
}
|
676
|
-
else {
|
677
|
-
this._bufferGraphicsLayer = new this.GraphicsLayer({ title });
|
678
|
-
state.managedLayers.push(title);
|
679
|
-
const sketchIndex = this.mapView.map.layers.findIndex((l) => l.title === this._translations.sketchLayer);
|
680
|
-
if (sketchIndex > -1) {
|
681
|
-
this.mapView.map.layers.add(this._bufferGraphicsLayer, sketchIndex);
|
682
|
-
}
|
683
|
-
else {
|
684
|
-
this.mapView.map.layers.add(this._bufferGraphicsLayer);
|
685
|
-
}
|
686
|
-
}
|
687
|
-
}
|
688
|
-
/**
|
689
|
-
* Store workflow type change
|
690
|
-
*
|
691
|
-
* @protected
|
692
|
-
*/
|
693
|
-
_workflowChange(evt) {
|
694
|
-
this._workflowType = evt.detail;
|
695
|
-
}
|
696
|
-
/**
|
697
|
-
* Highlight the features in the map
|
698
|
-
*
|
699
|
-
* @protected
|
700
|
-
*/
|
701
|
-
async _highlightFeatures(ids) {
|
702
|
-
var _a;
|
703
|
-
(_a = state.highlightHandle) === null || _a === void 0 ? void 0 : _a.remove();
|
704
|
-
if (ids.length > 0) {
|
705
|
-
state.highlightHandle = await highlightFeatures(ids, this.selectLayerView, this.mapView);
|
706
|
-
}
|
707
|
-
this.selectionSetChange.emit(ids.length);
|
708
|
-
}
|
709
|
-
/**
|
710
|
-
* Query the selectLayerView based on any user drawn geometries or buffers
|
711
|
-
*
|
712
|
-
* @param geometries Array of geometries used for the selection of ids from the select layer view
|
713
|
-
*
|
714
|
-
* @returns Promise when the selection is complete and the graphics have been highlighted
|
715
|
-
*/
|
716
|
-
async _selectFeatures(geometries) {
|
717
|
-
this._selectedIds = await queryObjectIds(geometries, this.selectLayerView.layer);
|
718
|
-
// Add geometries used for selecting features as graphics
|
719
|
-
this._drawTools.graphics = this.geometries.map(geom => {
|
720
|
-
var _a, _b, _c;
|
721
|
-
const props = {
|
722
|
-
"geometry": geom,
|
723
|
-
"symbol": geom.type === "point" ?
|
724
|
-
(_a = this._drawTools) === null || _a === void 0 ? void 0 : _a.pointSymbol : geom.type === "polyline" ?
|
725
|
-
(_b = this._drawTools) === null || _b === void 0 ? void 0 : _b.polylineSymbol : geom.type === "polygon" ?
|
726
|
-
(_c = this._drawTools) === null || _c === void 0 ? void 0 : _c.polygonSymbol : undefined
|
727
|
-
};
|
728
|
-
return new this.Graphic(props);
|
729
|
-
});
|
730
|
-
void this._highlightFeatures(this._selectedIds);
|
731
|
-
}
|
732
|
-
/**
|
733
|
-
* Query the selectLayerView based on any user drawn geometries or buffers
|
734
|
-
*
|
735
|
-
* @param evt CustomEvent that contains the result of the buffer
|
736
|
-
*
|
737
|
-
* @protected
|
738
|
-
*/
|
739
|
-
async _bufferComplete(evt) {
|
740
|
-
this._bufferGeometry = Array.isArray(evt.detail) ?
|
741
|
-
evt.detail[0] : evt.detail;
|
742
|
-
if (this._bufferGeometry) {
|
743
|
-
// Create a symbol for rendering the graphic
|
744
|
-
const symbol = {
|
745
|
-
type: "simple-fill",
|
746
|
-
color: [227, 139, 79, 0.8],
|
747
|
-
outline: {
|
748
|
-
color: [255, 255, 255],
|
749
|
-
width: 1
|
750
|
-
}
|
751
|
-
};
|
752
|
-
// Add the geometry and symbol to a new graphic
|
753
|
-
const polygonGraphic = new this.Graphic({
|
754
|
-
geometry: this._bufferGeometry,
|
755
|
-
symbol
|
756
|
-
});
|
757
|
-
this._bufferGraphicsLayer.removeAll();
|
758
|
-
this._bufferGraphicsLayer.add(polygonGraphic);
|
759
|
-
void this._selectFeatures([this._bufferGeometry]);
|
760
|
-
void this.mapView.goTo(polygonGraphic.geometry.extent);
|
761
|
-
}
|
762
|
-
else {
|
763
|
-
if (this._bufferGraphicsLayer) {
|
764
|
-
this._bufferGraphicsLayer.removeAll();
|
765
|
-
}
|
766
|
-
void this._geomQuery(this.geometries);
|
767
|
-
}
|
768
|
-
}
|
769
|
-
/**
|
770
|
-
* Fetch a single geometry for each potential geometry type
|
771
|
-
*
|
772
|
-
* @param geometries All current selection geometries
|
773
|
-
*
|
774
|
-
* @protected
|
775
|
-
*/
|
776
|
-
_geomQuery(geometries) {
|
777
|
-
const queryGeoms = getQueryGeoms(geometries, this._geometryEngine);
|
778
|
-
return this._selectFeatures(queryGeoms);
|
779
|
-
}
|
780
|
-
/**
|
781
|
-
* Clear all stored values and general state for the component
|
782
|
-
*
|
783
|
-
* @param clearSearchWidget Optional boolean for clearing the search widget (default is true)
|
784
|
-
* @param clearLabel Optional boolean for clearing the search label (default is true)
|
785
|
-
*
|
786
|
-
* @protected
|
787
|
-
*/
|
788
|
-
async _clearResults(clearSearchWidget = true, clearLabel = true) {
|
789
|
-
var _a;
|
790
|
-
this._selectedIds = [];
|
791
|
-
if (clearLabel) {
|
792
|
-
this._selectionLabel = "";
|
793
|
-
}
|
794
|
-
if (this._bufferGraphicsLayer) {
|
795
|
-
this._bufferGraphicsLayer.removeAll();
|
796
|
-
}
|
797
|
-
if (clearSearchWidget && this._searchWidget) {
|
798
|
-
this._searchWidget.clear();
|
799
|
-
}
|
800
|
-
(_a = state.highlightHandle) === null || _a === void 0 ? void 0 : _a.remove();
|
801
|
-
// for sketch
|
802
|
-
if (this._drawTools) {
|
803
|
-
void this._drawTools.clear();
|
804
|
-
}
|
805
|
-
this.selectionSetChange.emit(this._selectedIds.length);
|
806
|
-
}
|
807
|
-
/**
|
808
|
-
* Fetch a single geometry for the current geometry type
|
809
|
-
*
|
810
|
-
* @param type worflow type
|
811
|
-
* @param graphics graphics to be used for selection
|
812
|
-
* @param label selection label
|
813
|
-
*
|
814
|
-
* @protected
|
815
|
-
*/
|
816
|
-
_updateSelection(type, graphics, label) {
|
817
|
-
this.geometries = Array.isArray(graphics) ? graphics.map(g => g.geometry) : this.geometries;
|
818
|
-
this._workflowType = type;
|
819
|
-
this._selectionLabel = label;
|
820
|
-
}
|
821
|
-
/**
|
822
|
-
* Fetches the component's translations
|
823
|
-
*
|
824
|
-
* @protected
|
825
|
-
*/
|
826
|
-
async _getTranslations() {
|
827
|
-
const translations = await getLocaleComponentStrings(this.el);
|
828
|
-
this._translations = translations[0];
|
829
|
-
}
|
830
|
-
get el() { return getElement(this); }
|
831
|
-
static get watchers() { return {
|
832
|
-
"geometries": ["watchGeometriesHandler"],
|
833
|
-
"_workflowType": ["workflowTypeHandler"]
|
834
|
-
}; }
|
835
|
-
};
|
836
|
-
MapSelectTools.style = mapSelectToolsCss;
|
837
|
-
|
838
|
-
// May change this but doing this for now so the download button will do something
|
839
|
-
/**
|
840
|
-
* Export a csv of the attributes from the features that match the provided ids
|
841
|
-
*
|
842
|
-
* @param layerView layer view to query
|
843
|
-
* @param ids number array of ids to export to csv
|
844
|
-
*
|
845
|
-
* @returns Promise when the function has completed
|
846
|
-
*/
|
847
|
-
async function exportCSV(layerView, ids) {
|
848
|
-
const featureSet = await queryFeaturesByID(ids, layerView.layer);
|
849
|
-
const attributes = featureSet.features.map(f => f.attributes);
|
850
|
-
const fieldNames = {};
|
851
|
-
const entry = attributes[0];
|
852
|
-
Object.keys(entry).forEach(k => {
|
853
|
-
if (entry.hasOwnProperty(k)) {
|
854
|
-
fieldNames[k] = k;
|
855
|
-
}
|
856
|
-
});
|
857
|
-
_downloadCSVFile(fieldNames, attributes, `notify-${Date.now().toString()}`);
|
858
|
-
}
|
859
|
-
/**
|
860
|
-
* Download the CSV file
|
861
|
-
*
|
862
|
-
* @param fieldNames the names for each of the features fields
|
863
|
-
* @param attributes the features attributes
|
864
|
-
*
|
865
|
-
* Based on:
|
866
|
-
* https://medium.com/@danny.pule/export-json-to-csv-file-using-javascript-a0b7bc5b00d2
|
867
|
-
*
|
868
|
-
* @returns void
|
869
|
-
*/
|
870
|
-
function _downloadCSVFile(fieldNames, attributes, fileTitle) {
|
871
|
-
if (fieldNames) {
|
872
|
-
attributes.unshift(fieldNames);
|
873
|
-
}
|
874
|
-
// format values to string so it doesn't get tripped up when a value has a comma
|
875
|
-
// another option could be to export with a different delimiter
|
876
|
-
const csv = attributes.reduce((prev, cur) => {
|
877
|
-
return prev + Object.values(cur).map(v => `"${v}"`).join(",") + "\r\n";
|
878
|
-
}, "");
|
879
|
-
const link = document.createElement("a");
|
880
|
-
if (link.download !== undefined) {
|
881
|
-
link.href = URL.createObjectURL(new Blob([csv], { type: "text/csv;charset=utf-8;" }));
|
882
|
-
link.download = `${fileTitle}.csv` || "export.csv";
|
883
|
-
link.style.visibility = "hidden";
|
884
|
-
document.body.appendChild(link);
|
885
|
-
link.click();
|
886
|
-
document.body.removeChild(link);
|
887
|
-
}
|
888
|
-
}
|
889
|
-
|
890
|
-
const pdfDownloadCss = ":host{display:block}";
|
891
|
-
|
892
|
-
const PdfDownload = class {
|
893
|
-
constructor(hostRef) {
|
894
|
-
registerInstance(this, hostRef);
|
895
|
-
this.disabled = true;
|
896
|
-
this.layerView = undefined;
|
897
|
-
this._translations = undefined;
|
898
|
-
}
|
899
|
-
//--------------------------------------------------------------------------
|
900
|
-
//
|
901
|
-
// Watch handlers
|
902
|
-
//
|
903
|
-
//--------------------------------------------------------------------------
|
904
|
-
//--------------------------------------------------------------------------
|
905
|
-
//
|
906
|
-
// Methods (public)
|
907
|
-
//
|
908
|
-
//--------------------------------------------------------------------------
|
909
|
-
/**
|
910
|
-
* Downloads pdf of mailing labels for the provided list of ids
|
911
|
-
*
|
912
|
-
* @param ids List of ids to download
|
913
|
-
* @param removeDuplicates When true a single label is generated when multiple featues have a shared address value
|
914
|
-
* @returns Promise resolving when function is done
|
915
|
-
*/
|
916
|
-
async downloadPDF(ids, removeDuplicates) {
|
917
|
-
return this._downloadPDF(ids, removeDuplicates);
|
918
|
-
}
|
919
|
-
/**
|
920
|
-
* Downloads csv of mailing labels for the provided list of ids
|
921
|
-
*
|
922
|
-
* @param ids List of ids to download
|
923
|
-
* @param removeDuplicates When true a single label is generated when multiple featues have a shared address value
|
924
|
-
* @returns Promise resolving when function is done
|
925
|
-
*/
|
926
|
-
async downloadCSV(ids, removeDuplicates) {
|
927
|
-
return this._downloadCSV(ids, removeDuplicates);
|
928
|
-
}
|
929
|
-
//--------------------------------------------------------------------------
|
930
|
-
//
|
931
|
-
// Events (public)
|
932
|
-
//
|
933
|
-
//--------------------------------------------------------------------------
|
934
|
-
//--------------------------------------------------------------------------
|
935
|
-
//
|
936
|
-
// Functions (lifecycle)
|
937
|
-
//
|
938
|
-
//--------------------------------------------------------------------------
|
939
|
-
/**
|
940
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
941
|
-
*/
|
942
|
-
async componentWillLoad() {
|
943
|
-
await this._getTranslations();
|
944
|
-
}
|
945
|
-
/**
|
946
|
-
* Renders the component.
|
947
|
-
*/
|
948
|
-
render() {
|
949
|
-
return (h(Host, null, h("calcite-select", { disabled: this.disabled, label: "", ref: (el) => { this._labelInfoElement = el; } }, this._renderItems())));
|
950
|
-
}
|
951
|
-
//--------------------------------------------------------------------------
|
952
|
-
//
|
953
|
-
// Functions (protected)
|
954
|
-
//
|
955
|
-
//--------------------------------------------------------------------------
|
956
|
-
/**
|
957
|
-
* Renders the pdf export size options
|
958
|
-
*
|
959
|
-
* @returns Node array of size options
|
960
|
-
*
|
961
|
-
* @protected
|
962
|
-
*/
|
963
|
-
_renderItems() {
|
964
|
-
const s = pdfUtils;
|
965
|
-
const sortedPdfIndo = (s.default || s).sort((a, b) => {
|
966
|
-
const _a = parseInt(a.descriptionPDF.labelsPerPageDisplay, 10);
|
967
|
-
const _b = parseInt(b.descriptionPDF.labelsPerPageDisplay, 10);
|
968
|
-
return _a < _b ? -1 : _a > _b ? 1 : 0;
|
969
|
-
});
|
970
|
-
return sortedPdfIndo.map((l) => {
|
971
|
-
return (h("calcite-option", { value: l }, this._getLabelSizeText(l)));
|
972
|
-
});
|
973
|
-
}
|
974
|
-
/**
|
975
|
-
* Downloads pdf of mailing labels for the provided list of ids
|
976
|
-
*
|
977
|
-
* @param ids List of ids to download
|
978
|
-
* @param removeDuplicates When true a single label is generated when multiple featues have a shared address value
|
979
|
-
*
|
980
|
-
* @returns Promise resolving when function is done
|
981
|
-
* @protected
|
982
|
-
*/
|
983
|
-
async _downloadPDF(ids, removeDuplicates) {
|
984
|
-
const l = this._labelInfoElement.selectedOption.value;
|
985
|
-
alert(`PDF download: (${this._getLabelSizeText(l)}) (remove dups: ${removeDuplicates}) ${ids.join(", ")}`);
|
986
|
-
}
|
987
|
-
/**
|
988
|
-
* Downloads csv of mailing labels for the provided list of ids
|
989
|
-
*
|
990
|
-
* @param ids List of ids to download
|
991
|
-
* @param removeDuplicates When true a single label is generated when multiple featues have a shared address value
|
992
|
-
* @returns Promise resolving when function is done
|
993
|
-
*
|
994
|
-
* @returns Promise that will resolve when the download is complete
|
995
|
-
* @protected
|
996
|
-
*/
|
997
|
-
async _downloadCSV(ids, removeDuplicates) {
|
998
|
-
// TODO this will be leveraged when we do the real implementation of this
|
999
|
-
console.log(removeDuplicates);
|
1000
|
-
await exportCSV(this.layerView, ids);
|
1001
|
-
}
|
1002
|
-
/**
|
1003
|
-
* Gets the formatted pdf export size text
|
1004
|
-
*
|
1005
|
-
* @param labelInfo current user selected label info
|
1006
|
-
*
|
1007
|
-
* @returns the pdf label as a string
|
1008
|
-
* @protected
|
1009
|
-
*/
|
1010
|
-
_getLabelSizeText(labelInfo) {
|
1011
|
-
const lNum = labelInfo.descriptionPDF.labelsPerPageDisplay;
|
1012
|
-
const lSize = `${labelInfo.descriptionPDF.labelWidthDisplay} x ${labelInfo.descriptionPDF.labelHeightDisplay}`;
|
1013
|
-
return this._translations.pdfLabel.replace("{{n}}", lNum).replace("{{labelSize}}", lSize);
|
1014
|
-
}
|
1015
|
-
/**
|
1016
|
-
* Fetches the component's translations
|
1017
|
-
*
|
1018
|
-
* @protected
|
1019
|
-
*/
|
1020
|
-
async _getTranslations() {
|
1021
|
-
const translations = await getLocaleComponentStrings(this.el);
|
1022
|
-
this._translations = translations[0];
|
1023
|
-
}
|
1024
|
-
get el() { return getElement(this); }
|
1025
|
-
};
|
1026
|
-
PdfDownload.style = pdfDownloadCss;
|
1027
|
-
|
1028
|
-
const refineSelectionCss = ":host{display:block}";
|
1029
|
-
|
1030
|
-
const RefineSelection = class {
|
1031
|
-
constructor(hostRef) {
|
1032
|
-
registerInstance(this, hostRef);
|
1033
|
-
this.selectionSetsChanged = createEvent(this, "selectionSetsChanged", 7);
|
1034
|
-
/**
|
1035
|
-
* boolean: Indicates if any new graphics should be added or removed
|
1036
|
-
*/
|
1037
|
-
this._addEnabled = true;
|
1038
|
-
this.addresseeLayer = undefined;
|
1039
|
-
this.mapView = undefined;
|
1040
|
-
this.selectionSets = [];
|
1041
|
-
this._translations = undefined;
|
1042
|
-
}
|
1043
|
-
/**
|
1044
|
-
* Handles changes to refine selection ids.
|
1045
|
-
*
|
1046
|
-
*/
|
1047
|
-
refineSelectionIdsChange(event) {
|
1048
|
-
var _a, _b;
|
1049
|
-
const addIds = ((_a = event.detail) === null || _a === void 0 ? void 0 : _a.addIds) || [];
|
1050
|
-
const removeIds = ((_b = event.detail) === null || _b === void 0 ? void 0 : _b.removeIds) || [];
|
1051
|
-
this._updateSelectionSets(removeIds);
|
1052
|
-
this._updateRefineSelectionSet(addIds, removeIds);
|
1053
|
-
}
|
1054
|
-
//--------------------------------------------------------------------------
|
1055
|
-
//
|
1056
|
-
// Functions (lifecycle)
|
1057
|
-
//
|
1058
|
-
//--------------------------------------------------------------------------
|
1059
|
-
/**
|
1060
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
1061
|
-
*/
|
1062
|
-
async componentWillLoad() {
|
1063
|
-
await this._getTranslations();
|
1064
|
-
}
|
1065
|
-
/**
|
1066
|
-
* Renders the component.
|
1067
|
-
*/
|
1068
|
-
render() {
|
1069
|
-
return (h(Host, null, h("div", { class: "padding-1" }, h("div", null, h("calcite-radio-group", { class: "w-100", onCalciteRadioGroupChange: (evt) => this._modeChanged(evt) }, h("calcite-radio-group-item", { checked: this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.ADD), value: ESelectionMode.ADD }, this._translations.add), h("calcite-radio-group-item", { checked: !this._addEnabled, class: "w-50", onClick: () => this._setSelectionMode(ESelectionMode.REMOVE), value: ESelectionMode.REMOVE }, this._translations.remove)), h("refine-selection-tools", { border: true, ids: getSelectionIds(this.selectionSets), layerViews: [this.addresseeLayer], mapView: this.mapView, mode: this._addEnabled ? ESelectionMode.ADD : ESelectionMode.REMOVE, ref: (el) => { this._refineTools = el; }, useLayerPicker: false })), h("br", null), (h("calcite-list", { class: "list-border" }, this._getRefineSelectionSetList())))));
|
1070
|
-
}
|
1071
|
-
//--------------------------------------------------------------------------
|
1072
|
-
//
|
1073
|
-
// Functions (protected)
|
1074
|
-
//
|
1075
|
-
//--------------------------------------------------------------------------
|
1076
|
-
/**
|
1077
|
-
* Store the Add/Remove mode
|
1078
|
-
*
|
1079
|
-
* @protected
|
1080
|
-
*/
|
1081
|
-
_modeChanged(evt) {
|
1082
|
-
this._addEnabled = evt.detail === ESelectionMode.ADD;
|
1083
|
-
}
|
1084
|
-
/**
|
1085
|
-
* Set the refine tools selection mode
|
1086
|
-
*
|
1087
|
-
* @protected
|
1088
|
-
*/
|
1089
|
-
_setSelectionMode(mode) {
|
1090
|
-
this._refineTools.mode = mode;
|
1091
|
-
}
|
1092
|
-
/**
|
1093
|
-
* Create a list to show the number added/removed/total unique selected
|
1094
|
-
*
|
1095
|
-
* @returns the list node
|
1096
|
-
* @protected
|
1097
|
-
*/
|
1098
|
-
_getRefineSelectionSetList() {
|
1099
|
-
var _a, _b, _c;
|
1100
|
-
const total = getTotal(this.selectionSets);
|
1101
|
-
const refineSet = this._getRefineSelectionSet(this.selectionSets);
|
1102
|
-
const numAdded = (refineSet === null || refineSet === void 0 ? void 0 : refineSet.refineIds.addIds.length) || 0;
|
1103
|
-
const numRemoved = (refineSet === null || refineSet === void 0 ? void 0 : refineSet.refineIds.removeIds.length) || 0;
|
1104
|
-
return [(h("calcite-list-item", { label: (_a = this._translations.featuresAdded) === null || _a === void 0 ? void 0 : _a.replace("{{n}}", numAdded.toString()) })), (h("calcite-list-item", { label: (_b = this._translations.featuresRemoved) === null || _b === void 0 ? void 0 : _b.replace("{{n}}", numRemoved.toString()) })), (h("calcite-list-item", { label: (_c = this._translations.totalSelected) === null || _c === void 0 ? void 0 : _c.replace("{{n}}", total.toString()) }))];
|
1105
|
-
}
|
1106
|
-
/**
|
1107
|
-
* Fetch the refine selection set
|
1108
|
-
*
|
1109
|
-
* @returns the refine selection set
|
1110
|
-
* @protected
|
1111
|
-
*/
|
1112
|
-
_getRefineSelectionSet(selectionSets) {
|
1113
|
-
let refineSelectionSet;
|
1114
|
-
selectionSets.some(ss => {
|
1115
|
-
if (ss.workflowType === EWorkflowType.REFINE) {
|
1116
|
-
refineSelectionSet = ss;
|
1117
|
-
return true;
|
1118
|
-
}
|
1119
|
-
});
|
1120
|
-
return refineSelectionSet;
|
1121
|
-
}
|
1122
|
-
/**
|
1123
|
-
* Create a calcite action
|
1124
|
-
*
|
1125
|
-
* @param enabled controls the enabled state of the control
|
1126
|
-
* @param icon the image to display in the action
|
1127
|
-
* @param text and supporting text for the action
|
1128
|
-
* @param onClick the fucntion the actio will execute
|
1129
|
-
* @param indicator boolean to control if an indicator should be shown (default is false)
|
1130
|
-
* @param slot the supporting slot to use
|
1131
|
-
*
|
1132
|
-
* @returns the calcite action node
|
1133
|
-
* @protected
|
1134
|
-
*/
|
1135
|
-
_getAction(enabled, icon, text, onClick, indicator = false, slot = "") {
|
1136
|
-
return (h("calcite-action", { disabled: !enabled, icon: icon, indicator: indicator, onClick: onClick, slot: slot, text: text }));
|
1137
|
-
}
|
1138
|
-
/**
|
1139
|
-
* Remove ids from existing selection sets.
|
1140
|
-
* Remove any selection sets than have no selected ids
|
1141
|
-
* This can update any selection set not just the refine set.
|
1142
|
-
* We do not do something similar for adds as we will only ever add from refine tools to the single REFINE selection set.
|
1143
|
-
*
|
1144
|
-
* @param removeIds the ids to remove
|
1145
|
-
*
|
1146
|
-
* @protected
|
1147
|
-
*/
|
1148
|
-
_updateSelectionSets(removeIds) {
|
1149
|
-
if (removeIds.length > 0) {
|
1150
|
-
this.selectionSets = this.selectionSets.reduce((prev, cur) => {
|
1151
|
-
cur.selectedIds = cur.selectedIds.filter(id => removeIds.indexOf(id) < 0);
|
1152
|
-
if (cur.selectedIds.length > 0) {
|
1153
|
-
prev.push(cur);
|
1154
|
-
}
|
1155
|
-
return prev;
|
1156
|
-
}, []);
|
1157
|
-
this.selectionSetsChanged.emit(this.selectionSets);
|
1158
|
-
}
|
1159
|
-
}
|
1160
|
-
/**
|
1161
|
-
* Update the refine selection set with any adds or removes
|
1162
|
-
*
|
1163
|
-
* @param addIds any ids to add
|
1164
|
-
* @param removeIds any ids to remove
|
1165
|
-
*
|
1166
|
-
* @returns Promise resolving when function is done
|
1167
|
-
* @protected
|
1168
|
-
*/
|
1169
|
-
_updateRefineSelectionSet(addIds, removeIds) {
|
1170
|
-
const selectionSet = this._getRefineSelectionSet(this.selectionSets);
|
1171
|
-
this.selectionSets = selectionSet ?
|
1172
|
-
this._updateRefineIds(selectionSet, addIds, removeIds) :
|
1173
|
-
this._addRefineSelectionSet(addIds, removeIds);
|
1174
|
-
this.selectionSetsChanged.emit(this.selectionSets);
|
1175
|
-
}
|
1176
|
-
/**
|
1177
|
-
* Update the ids stored for the refine selection set
|
1178
|
-
*
|
1179
|
-
* @param selectionSet the refine selection set
|
1180
|
-
* @param addIds any ids to add
|
1181
|
-
* @param removeIds any ids to remove
|
1182
|
-
*
|
1183
|
-
* @returns updated selection sets
|
1184
|
-
* @protected
|
1185
|
-
*/
|
1186
|
-
_updateRefineIds(selectionSet, addIds, removeIds) {
|
1187
|
-
// remove ids if they exist in the current add or remove list
|
1188
|
-
selectionSet.refineIds.addIds = selectionSet.refineIds.addIds.filter(id => removeIds.indexOf(id) < 0);
|
1189
|
-
selectionSet.refineIds.removeIds = selectionSet.refineIds.removeIds.filter(id => addIds.indexOf(id) < 0);
|
1190
|
-
const _addIds = [...new Set(selectionSet.refineIds.addIds.concat(addIds))];
|
1191
|
-
const _removeIds = [...new Set(selectionSet.refineIds.removeIds.concat(removeIds))];
|
1192
|
-
selectionSet.refineIds = {
|
1193
|
-
addIds: _addIds.filter(id => _removeIds.indexOf(id) < 0),
|
1194
|
-
removeIds: _removeIds.filter(id => _addIds.indexOf(id) < 0)
|
1195
|
-
};
|
1196
|
-
selectionSet.selectedIds = selectionSet.refineIds.addIds.length > 0 ?
|
1197
|
-
[...new Set(selectionSet.selectedIds.concat(selectionSet.refineIds.addIds))] :
|
1198
|
-
selectionSet.selectedIds.filter(id => selectionSet.refineIds.removeIds.indexOf(id) < 0);
|
1199
|
-
return this.selectionSets.map(ss => {
|
1200
|
-
return ss.workflowType === EWorkflowType.REFINE ? selectionSet : ss;
|
1201
|
-
});
|
1202
|
-
}
|
1203
|
-
/**
|
1204
|
-
* Add a new refine selection set
|
1205
|
-
*
|
1206
|
-
* @param addIds any ids to add
|
1207
|
-
* @param removeIds any ids to remove
|
1208
|
-
*
|
1209
|
-
* @returns updated selection sets
|
1210
|
-
* @protected
|
1211
|
-
*/
|
1212
|
-
_addRefineSelectionSet(addIds, removeIds) {
|
1213
|
-
return [
|
1214
|
-
...this.selectionSets,
|
1215
|
-
({
|
1216
|
-
buffer: undefined,
|
1217
|
-
distance: 0,
|
1218
|
-
download: true,
|
1219
|
-
geometries: [],
|
1220
|
-
id: Date.now(),
|
1221
|
-
label: "Refine",
|
1222
|
-
layerView: this.addresseeLayer,
|
1223
|
-
refineSelectLayers: [],
|
1224
|
-
searchResult: undefined,
|
1225
|
-
selectedIds: addIds,
|
1226
|
-
unit: "feet",
|
1227
|
-
workflowType: EWorkflowType.REFINE,
|
1228
|
-
refineIds: {
|
1229
|
-
addIds: addIds,
|
1230
|
-
removeIds: removeIds
|
1231
|
-
}
|
1232
|
-
})
|
1233
|
-
];
|
1234
|
-
}
|
1235
|
-
/**
|
1236
|
-
* Fetches the component's translations
|
1237
|
-
*
|
1238
|
-
* @protected
|
1239
|
-
*/
|
1240
|
-
async _getTranslations() {
|
1241
|
-
const translations = await getLocaleComponentStrings(this.el);
|
1242
|
-
this._translations = translations[0];
|
1243
|
-
}
|
1244
|
-
get el() { return getElement(this); }
|
1245
|
-
};
|
1246
|
-
RefineSelection.style = refineSelectionCss;
|
1247
|
-
|
1248
|
-
export { ActionBar as calcite_action_bar, InputMessage as calcite_input_message, Notice as calcite_notice, MapSelectTools as map_select_tools, PdfDownload as pdf_download, RefineSelection as refine_selection };
|
1249
|
-
|
1250
|
-
//# sourceMappingURL=p-291fd295.entry.js.map
|