@esri/solutions-components 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/solution-config-modal/resources.json +22 -0
- package/dist/assets/t9n/solution-config-modal/resources_en.json +22 -0
- package/dist/cjs/ExpandToggle-73df0d51.js +2 -0
- package/dist/cjs/ExpandToggle-73df0d51.js.map +1 -0
- package/dist/cjs/Heading-6b7b374c.js +2 -0
- package/dist/cjs/Heading-6b7b374c.js.map +1 -0
- package/dist/cjs/_commonjsHelpers-6aafa5de.js +2 -0
- package/dist/cjs/_commonjsHelpers-6aafa5de.js.map +1 -0
- package/dist/cjs/app-globals-2f48e57e.js +2 -0
- package/dist/cjs/app-globals-2f48e57e.js.map +1 -0
- package/dist/cjs/array-ace6d4b5.js +2 -0
- package/dist/cjs/array-ace6d4b5.js.map +1 -0
- package/dist/cjs/buffer-tools_6.cjs.entry.js +2 -0
- package/dist/cjs/buffer-tools_6.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -0
- package/dist/cjs/calcite-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js +2 -0
- package/dist/cjs/calcite-action-bar_6.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-action-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +20 -401
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action-pad.cjs.entry.js +2 -0
- package/dist/cjs/calcite-action-pad.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-action_2.cjs.entry.js +425 -71
- package/dist/cjs/calcite-action_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-alert.cjs.entry.js +2 -0
- package/dist/cjs/calcite-alert.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js +2 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-block-section.cjs.entry.js +2 -0
- package/dist/cjs/calcite-block-section.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-block.cjs.entry.js +2 -0
- package/dist/cjs/calcite-block.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-button.cjs.entry.js +2 -0
- package/dist/cjs/calcite-button.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-card.cjs.entry.js +2 -0
- package/dist/cjs/calcite-card.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-checkbox.cjs.entry.js +2 -0
- package/dist/cjs/calcite-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-chip.cjs.entry.js +2 -0
- package/dist/cjs/calcite-chip.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +2 -0
- package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +2 -0
- package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-color-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-color-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +2 -0
- package/dist/cjs/calcite-combobox_3.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -0
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-date-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-dropdown-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-dropdown-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-dropdown.cjs.entry.js +2 -0
- package/dist/cjs/calcite-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-fab.cjs.entry.js +2 -0
- package/dist/cjs/calcite-fab.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-filter.cjs.entry.js +2 -0
- package/dist/cjs/calcite-filter.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -0
- package/dist/cjs/calcite-flow.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-graph.cjs.entry.js +2 -0
- package/dist/cjs/calcite-graph.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-handle.cjs.entry.js +2 -0
- package/dist/cjs/calcite-handle.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-icon.cjs.entry.js +2 -0
- package/dist/cjs/calcite-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +2 -0
- package/dist/cjs/calcite-inline-editable.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input-number.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input-number.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input-text.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input-text.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-input_2.cjs.entry.js +2 -0
- package/dist/cjs/calcite-input_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-label.cjs.entry.js +2 -0
- package/dist/cjs/calcite-label.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-link.cjs.entry.js +2 -0
- package/dist/cjs/calcite-link.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-list-item-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-list_2.cjs.entry.js +2 -0
- package/dist/cjs/calcite-list_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-loader.cjs.entry.js +97 -0
- package/dist/cjs/calcite-loader.cjs.entry.js.map +1 -0
- package/dist/cjs/{solution-configuration.cjs.entry.js → calcite-modal_2.cjs.entry.js} +452 -6
- package/dist/cjs/calcite-modal_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-option-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-option-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-option_2.cjs.entry.js +2 -0
- package/dist/cjs/calcite-option_2.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-pagination.cjs.entry.js +2 -0
- package/dist/cjs/calcite-pagination.cjs.entry.js.map +1 -0
- package/dist/cjs/{calcite-shell-panel_14.cjs.entry.js → calcite-panel_12.cjs.entry.js} +469 -711
- package/dist/cjs/calcite-panel_12.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-pick-list.cjs.entry.js +2 -0
- package/dist/cjs/calcite-pick-list.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-popover-manager.cjs.entry.js +2 -0
- package/dist/cjs/calcite-popover-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-radio-button.cjs.entry.js +2 -0
- package/dist/cjs/calcite-radio-button.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-rating.cjs.entry.js +2 -0
- package/dist/cjs/calcite-rating.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -0
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +2 -0
- package/dist/cjs/calcite-sortable-list.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-split-button.cjs.entry.js +2 -0
- package/dist/cjs/calcite-split-button.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -0
- package/dist/cjs/calcite-stepper-item.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-stepper.cjs.entry.js +2 -0
- package/dist/cjs/calcite-stepper.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-switch.cjs.entry.js +2 -0
- package/dist/cjs/calcite-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tile-select.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tile.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-time-picker.cjs.entry.js +2 -0
- package/dist/cjs/calcite-time-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tip-group.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tip-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tip.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tip.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tooltip-manager.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tooltip-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tooltip.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/calcite-tree_3.cjs.entry.js +2 -0
- package/dist/cjs/calcite-tree_3.cjs.entry.js.map +1 -0
- package/dist/cjs/check-list.cjs.entry.js +2 -0
- package/dist/cjs/check-list.cjs.entry.js.map +1 -0
- package/dist/cjs/conditionalSlot-2defe83d.js +2 -0
- package/dist/cjs/conditionalSlot-2defe83d.js.map +1 -0
- package/dist/cjs/config-buffer-tools.cjs.entry.js +2 -0
- package/dist/cjs/config-buffer-tools.cjs.entry.js.map +1 -0
- package/dist/cjs/config-draw-tools.cjs.entry.js +2 -0
- package/dist/cjs/config-draw-tools.cjs.entry.js.map +1 -0
- package/dist/cjs/config-layer-picker.cjs.entry.js +2 -0
- package/dist/cjs/config-layer-picker.cjs.entry.js.map +1 -0
- package/dist/cjs/config-pdf-download.cjs.entry.js +2 -0
- package/dist/cjs/config-pdf-download.cjs.entry.js.map +1 -0
- package/dist/cjs/date-e21b2052.js +2 -0
- package/dist/cjs/date-e21b2052.js.map +1 -0
- package/dist/cjs/debounce-69c3bada.js +2 -0
- package/dist/cjs/debounce-69c3bada.js.map +1 -0
- package/dist/cjs/dom-4a580af6.js +2 -0
- package/dist/cjs/dom-4a580af6.js.map +1 -0
- package/dist/cjs/filter-325f654f.js +2 -0
- package/dist/cjs/filter-325f654f.js.map +1 -0
- package/dist/cjs/floating-ui-ca1bcead.js +2 -0
- package/dist/cjs/floating-ui-ca1bcead.js.map +1 -0
- package/dist/cjs/form-45849654.js +2 -0
- package/dist/cjs/form-45849654.js.map +1 -0
- package/dist/cjs/guid-84ac4d91.js +2 -0
- package/dist/cjs/guid-84ac4d91.js.map +1 -0
- package/dist/cjs/index-7af21b6f.js +2 -0
- package/dist/cjs/index-7af21b6f.js.map +1 -0
- package/dist/cjs/index-a86078a0.js +2 -0
- package/dist/cjs/index-a86078a0.js.map +1 -0
- package/dist/cjs/index-d7f9770d.js +2 -0
- package/dist/cjs/index-d7f9770d.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/interactive-0a68ab99.js +2 -0
- package/dist/cjs/interactive-0a68ab99.js.map +1 -0
- package/dist/cjs/interfaces-ab603e16.js +2 -0
- package/dist/cjs/interfaces-ab603e16.js.map +1 -0
- package/dist/cjs/interfaces-e76f31e9.js +2 -0
- package/dist/cjs/interfaces-e76f31e9.js.map +1 -0
- package/dist/cjs/key-55aca5c0.js +2 -0
- package/dist/cjs/key-55aca5c0.js.map +1 -0
- package/dist/cjs/label-24fcd8a5.js +2 -0
- package/dist/cjs/label-24fcd8a5.js.map +1 -0
- package/dist/cjs/labelFormats-3236d2e0.js +2 -0
- package/dist/cjs/labelFormats-3236d2e0.js.map +1 -0
- package/dist/cjs/loadModules-38269f99.js +2 -0
- package/dist/cjs/loadModules-38269f99.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -1
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/locale-73cab8e8.js +2 -0
- package/dist/cjs/locale-73cab8e8.js.map +1 -0
- package/dist/cjs/locale-746a095d.js +2 -0
- package/dist/cjs/locale-746a095d.js.map +1 -0
- package/dist/cjs/map-search.cjs.entry.js +2 -0
- package/dist/cjs/map-search.cjs.entry.js.map +1 -0
- package/dist/cjs/mapViewUtils-67cfc412.js +2 -0
- package/dist/cjs/mapViewUtils-67cfc412.js.map +1 -0
- package/dist/cjs/math-460fffaf.js +2 -0
- package/dist/cjs/math-460fffaf.js.map +1 -0
- package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js +2 -0
- package/dist/cjs/nonChromiumPlatformUtils-7a6a84d2.js.map +1 -0
- package/dist/cjs/observers-5311faf8.js +2 -0
- package/dist/cjs/observers-5311faf8.js.map +1 -0
- package/dist/cjs/openCloseComponent-bf986132.js +2 -0
- package/dist/cjs/openCloseComponent-bf986132.js.map +1 -0
- package/dist/cjs/public-notification.cjs.entry.js +2 -0
- package/dist/cjs/public-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/publicNotificationStore-6a3d40b3.js +2 -0
- package/dist/cjs/publicNotificationStore-6a3d40b3.js.map +1 -0
- package/dist/cjs/publicNotificationUtils-9d585d8d.js +2 -0
- package/dist/cjs/publicNotificationUtils-9d585d8d.js.map +1 -0
- package/dist/cjs/resources-1f785471.js +2 -0
- package/dist/cjs/resources-1f785471.js.map +1 -0
- package/dist/cjs/resources-2260d186.js +2 -0
- package/dist/cjs/resources-2260d186.js.map +1 -0
- package/dist/cjs/resources-2a9862c7.js +2 -0
- package/dist/cjs/resources-2a9862c7.js.map +1 -0
- package/dist/cjs/resources-308edbd8.js +2 -0
- package/dist/cjs/resources-308edbd8.js.map +1 -0
- package/dist/cjs/resources-6152b073.js +2 -0
- package/dist/cjs/resources-6152b073.js.map +1 -0
- package/dist/cjs/resources-808cfca8.js +2 -0
- package/dist/cjs/resources-808cfca8.js.map +1 -0
- package/dist/cjs/resources-9c55e05c.js +2 -0
- package/dist/cjs/resources-9c55e05c.js.map +1 -0
- package/dist/cjs/resources-aa19bf8c.js +2 -0
- package/dist/cjs/resources-aa19bf8c.js.map +1 -0
- package/dist/cjs/resources-b56bce71.js +2 -0
- package/dist/cjs/resources-b56bce71.js.map +1 -0
- package/dist/cjs/resources-cc7f63b0.js +2 -0
- package/dist/cjs/resources-cc7f63b0.js.map +1 -0
- package/dist/cjs/shared-list-render-4c7d84bf.js +2 -0
- package/dist/cjs/shared-list-render-4c7d84bf.js.map +1 -0
- package/dist/cjs/solution-config-modal.cjs.entry.js +131 -0
- package/dist/cjs/solution-config-modal.cjs.entry.js.map +1 -0
- package/dist/cjs/{solution-contents_3.cjs.entry.js → solution-contents_7.cjs.entry.js} +665 -2
- package/dist/cjs/solution-contents_7.cjs.entry.js.map +1 -0
- package/dist/cjs/{solution-store-e2fc11ac.js → solution-store-09b3fc53.js} +5 -3
- package/dist/cjs/solution-store-09b3fc53.js.map +1 -0
- package/dist/cjs/solutions-components.cjs.js +3 -1
- package/dist/cjs/solutions-components.cjs.js.map +1 -0
- package/dist/cjs/sortable.esm-bf47019d.js +2 -0
- package/dist/cjs/sortable.esm-bf47019d.js.map +1 -0
- package/dist/cjs/store-manager.cjs.entry.js +2 -0
- package/dist/cjs/store-manager.cjs.entry.js.map +1 -0
- package/dist/cjs/time-3f5577cb.js +2 -0
- package/dist/cjs/time-3f5577cb.js.map +1 -0
- package/dist/cjs/utils-120bbbeb.js +2 -0
- package/dist/cjs/utils-120bbbeb.js.map +1 -0
- package/dist/cjs/utils-b4236001.js +2 -0
- package/dist/cjs/utils-b4236001.js.map +1 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -0
- package/dist/collection/components/buffer-tools/buffer-tools.js.map +1 -0
- package/dist/collection/components/check-list/check-list.js +1 -0
- package/dist/collection/components/check-list/check-list.js.map +1 -0
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js +1 -0
- package/dist/collection/components/config-buffer-tools/config-buffer-tools.js.map +1 -0
- package/dist/collection/components/config-draw-tools/config-draw-tools.js +1 -0
- package/dist/collection/components/config-draw-tools/config-draw-tools.js.map +1 -0
- package/dist/collection/components/config-layer-picker/config-layer-picker.js +1 -0
- package/dist/collection/components/config-layer-picker/config-layer-picker.js.map +1 -0
- package/dist/collection/components/config-pdf-download/config-pdf-download.js +1 -0
- package/dist/collection/components/config-pdf-download/config-pdf-download.js.map +1 -0
- package/dist/collection/components/json-editor/json-editor.js +1 -0
- package/dist/collection/components/json-editor/json-editor.js.map +1 -0
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -0
- package/dist/collection/components/map-draw-tools/map-draw-tools.js.map +1 -0
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -0
- package/dist/collection/components/map-layer-picker/map-layer-picker.js.map +1 -0
- package/dist/collection/components/map-search/map-search.js +1 -0
- package/dist/collection/components/map-search/map-search.js.map +1 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js.map +1 -0
- package/dist/collection/components/pdf-download/pdf-download.js +1 -0
- package/dist/collection/components/pdf-download/pdf-download.js.map +1 -0
- package/dist/collection/components/public-notification/public-notification.js +1 -0
- package/dist/collection/components/public-notification/public-notification.js.map +1 -0
- package/dist/collection/components/refine-selection/refine-selection.js +1 -0
- package/dist/collection/components/refine-selection/refine-selection.js.map +1 -0
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js +1 -0
- package/dist/collection/components/refine-selection-tools/refine-selection-tools.js.map +1 -0
- package/dist/collection/components/solution-config-modal/solution-config-modal.css +91 -0
- package/dist/collection/components/solution-config-modal/solution-config-modal.js +245 -0
- package/dist/collection/components/solution-config-modal/solution-config-modal.js.map +1 -0
- package/dist/collection/components/solution-configuration/solution-configuration.js +24 -11
- package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -0
- package/dist/collection/components/solution-contents/solution-contents.js +1 -0
- package/dist/collection/components/solution-contents/solution-contents.js.map +1 -0
- package/dist/collection/components/solution-item/solution-item.js +1 -0
- package/dist/collection/components/solution-item/solution-item.js.map +1 -0
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -0
- package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -0
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -0
- package/dist/collection/components/solution-item-icon/solution-item-icon.js.map +1 -0
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -0
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js.map +1 -0
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -0
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js.map +1 -0
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -0
- package/dist/collection/components/solution-resource-item/solution-resource-item.js.map +1 -0
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -0
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js.map +1 -0
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js +1 -0
- package/dist/collection/components/solution-spatial-ref/spatialreferences.js.map +1 -0
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -0
- package/dist/collection/components/solution-template-data/solution-template-data.js.map +1 -0
- package/dist/collection/components/solution-variables/solution-variables.js +1 -0
- package/dist/collection/components/solution-variables/solution-variables.js.map +1 -0
- package/dist/collection/components/store-manager/store-manager.js +1 -0
- package/dist/collection/components/store-manager/store-manager.js.map +1 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/utils/common.js +1 -0
- package/dist/collection/utils/common.js.map +1 -0
- package/dist/collection/utils/csvUtils.js +1 -0
- package/dist/collection/utils/csvUtils.js.map +1 -0
- package/dist/collection/utils/interfaces.js +1 -0
- package/dist/collection/utils/interfaces.js.map +1 -0
- package/dist/collection/utils/languageUtil.js +1 -0
- package/dist/collection/utils/languageUtil.js.map +1 -0
- package/dist/collection/utils/loadModules.js +1 -0
- package/dist/collection/utils/loadModules.js.map +1 -0
- package/dist/collection/utils/locale.js +1 -0
- package/dist/collection/utils/locale.js.map +1 -0
- package/dist/collection/utils/mapViewUtils.js +1 -0
- package/dist/collection/utils/mapViewUtils.js.map +1 -0
- package/dist/collection/utils/publicNotificationStore.js +1 -0
- package/dist/collection/utils/publicNotificationStore.js.map +1 -0
- package/dist/collection/utils/publicNotificationUtils.js +1 -0
- package/dist/collection/utils/publicNotificationUtils.js.map +1 -0
- package/dist/collection/utils/queryUtils.js +1 -0
- package/dist/collection/utils/queryUtils.js.map +1 -0
- package/dist/collection/utils/solution-store.js +4 -3
- package/dist/collection/utils/solution-store.js.map +1 -0
- package/dist/collection/utils/solution-store.ts +3 -3
- package/dist/collection/utils/templates.js +1 -0
- package/dist/collection/utils/templates.js.map +1 -0
- package/dist/collection/utils/test/testUtils.js +1 -0
- package/dist/collection/utils/test/testUtils.js.map +1 -0
- package/dist/collection/utils/types.js +1 -0
- package/dist/collection/utils/types.js.map +1 -0
- package/dist/esm/ExpandToggle-b7d1fb3c.js +2 -0
- package/dist/esm/ExpandToggle-b7d1fb3c.js.map +1 -0
- package/dist/esm/Heading-1efb4837.js +2 -0
- package/dist/esm/Heading-1efb4837.js.map +1 -0
- package/dist/esm/_commonjsHelpers-8fd39c50.js +2 -0
- package/dist/esm/_commonjsHelpers-8fd39c50.js.map +1 -0
- package/dist/esm/app-globals-09b9efee.js +2 -0
- package/dist/esm/app-globals-09b9efee.js.map +1 -0
- package/dist/esm/array-2ab3b18f.js +2 -0
- package/dist/esm/array-2ab3b18f.js.map +1 -0
- package/dist/esm/buffer-tools_6.entry.js +4 -2
- package/dist/esm/buffer-tools_6.entry.js.map +1 -0
- package/dist/esm/calcite-accordion-item.entry.js +2 -0
- package/dist/esm/calcite-accordion-item.entry.js.map +1 -0
- package/dist/esm/calcite-accordion.entry.js +2 -0
- package/dist/esm/calcite-accordion.entry.js.map +1 -0
- package/dist/esm/calcite-action-bar_6.entry.js +4 -2
- package/dist/esm/calcite-action-bar_6.entry.js.map +1 -0
- package/dist/esm/calcite-action-group.entry.js +2 -0
- package/dist/esm/calcite-action-group.entry.js.map +1 -0
- package/dist/esm/calcite-action-menu_2.entry.js +22 -403
- package/dist/esm/calcite-action-menu_2.entry.js.map +1 -0
- package/dist/esm/calcite-action-pad.entry.js +2 -0
- package/dist/esm/calcite-action-pad.entry.js.map +1 -0
- package/dist/esm/calcite-action_2.entry.js +426 -72
- package/dist/esm/calcite-action_2.entry.js.map +1 -0
- package/dist/esm/calcite-alert.entry.js +2 -0
- package/dist/esm/calcite-alert.entry.js.map +1 -0
- package/dist/esm/calcite-avatar.entry.js +2 -0
- package/dist/esm/calcite-avatar.entry.js.map +1 -0
- package/dist/esm/calcite-block-section.entry.js +2 -0
- package/dist/esm/calcite-block-section.entry.js.map +1 -0
- package/dist/esm/calcite-block.entry.js +2 -0
- package/dist/esm/calcite-block.entry.js.map +1 -0
- package/dist/esm/calcite-button.entry.js +2 -0
- package/dist/esm/calcite-button.entry.js.map +1 -0
- package/dist/esm/calcite-card.entry.js +2 -0
- package/dist/esm/calcite-card.entry.js.map +1 -0
- package/dist/esm/calcite-checkbox.entry.js +2 -0
- package/dist/esm/calcite-checkbox.entry.js.map +1 -0
- package/dist/esm/calcite-chip.entry.js +2 -0
- package/dist/esm/calcite-chip.entry.js.map +1 -0
- package/dist/esm/calcite-color-picker-hex-input.entry.js +2 -0
- package/dist/esm/calcite-color-picker-hex-input.entry.js.map +1 -0
- package/dist/esm/calcite-color-picker-swatch.entry.js +2 -0
- package/dist/esm/calcite-color-picker-swatch.entry.js.map +1 -0
- package/dist/esm/calcite-color-picker.entry.js +2 -0
- package/dist/esm/calcite-color-picker.entry.js.map +1 -0
- package/dist/esm/calcite-combobox-item-group.entry.js +2 -0
- package/dist/esm/calcite-combobox-item-group.entry.js.map +1 -0
- package/dist/esm/calcite-combobox_3.entry.js +4 -2
- package/dist/esm/calcite-combobox_3.entry.js.map +1 -0
- package/dist/esm/calcite-date-picker-day_3.entry.js +2 -0
- package/dist/esm/calcite-date-picker-day_3.entry.js.map +1 -0
- package/dist/esm/calcite-date-picker.entry.js +2 -0
- package/dist/esm/calcite-date-picker.entry.js.map +1 -0
- package/dist/esm/calcite-dropdown-group.entry.js +2 -0
- package/dist/esm/calcite-dropdown-group.entry.js.map +1 -0
- package/dist/esm/calcite-dropdown-item.entry.js +2 -0
- package/dist/esm/calcite-dropdown-item.entry.js.map +1 -0
- package/dist/esm/calcite-dropdown.entry.js +2 -0
- package/dist/esm/calcite-dropdown.entry.js.map +1 -0
- package/dist/esm/calcite-fab.entry.js +2 -0
- package/dist/esm/calcite-fab.entry.js.map +1 -0
- package/dist/esm/calcite-filter.entry.js +2 -0
- package/dist/esm/calcite-filter.entry.js.map +1 -0
- package/dist/esm/calcite-flow-item.entry.js +2 -0
- package/dist/esm/calcite-flow-item.entry.js.map +1 -0
- package/dist/esm/calcite-flow.entry.js +2 -0
- package/dist/esm/calcite-flow.entry.js.map +1 -0
- package/dist/esm/calcite-graph.entry.js +2 -0
- package/dist/esm/calcite-graph.entry.js.map +1 -0
- package/dist/esm/calcite-handle.entry.js +2 -0
- package/dist/esm/calcite-handle.entry.js.map +1 -0
- package/dist/esm/calcite-icon.entry.js +2 -0
- package/dist/esm/calcite-icon.entry.js.map +1 -0
- package/dist/esm/calcite-inline-editable.entry.js +2 -0
- package/dist/esm/calcite-inline-editable.entry.js.map +1 -0
- package/dist/esm/calcite-input-date-picker.entry.js +2 -0
- package/dist/esm/calcite-input-date-picker.entry.js.map +1 -0
- package/dist/esm/calcite-input-number.entry.js +2 -0
- package/dist/esm/calcite-input-number.entry.js.map +1 -0
- package/dist/esm/calcite-input-text.entry.js +2 -0
- package/dist/esm/calcite-input-text.entry.js.map +1 -0
- package/dist/esm/calcite-input-time-picker.entry.js +2 -0
- package/dist/esm/calcite-input-time-picker.entry.js.map +1 -0
- package/dist/esm/calcite-input_2.entry.js +2 -0
- package/dist/esm/calcite-input_2.entry.js.map +1 -0
- package/dist/esm/calcite-label.entry.js +2 -0
- package/dist/esm/calcite-label.entry.js.map +1 -0
- package/dist/esm/calcite-link.entry.js +2 -0
- package/dist/esm/calcite-link.entry.js.map +1 -0
- package/dist/esm/calcite-list-item-group.entry.js +2 -0
- package/dist/esm/calcite-list-item-group.entry.js.map +1 -0
- package/dist/esm/calcite-list_2.entry.js +2 -0
- package/dist/esm/calcite-list_2.entry.js.map +1 -0
- package/dist/esm/calcite-loader.entry.js +93 -0
- package/dist/esm/calcite-loader.entry.js.map +1 -0
- package/dist/esm/{solution-configuration.entry.js → calcite-modal_2.entry.js} +454 -9
- package/dist/esm/calcite-modal_2.entry.js.map +1 -0
- package/dist/esm/calcite-option-group.entry.js +2 -0
- package/dist/esm/calcite-option-group.entry.js.map +1 -0
- package/dist/esm/calcite-option_2.entry.js +2 -0
- package/dist/esm/calcite-option_2.entry.js.map +1 -0
- package/dist/esm/calcite-pagination.entry.js +2 -0
- package/dist/esm/calcite-pagination.entry.js.map +1 -0
- package/dist/esm/{calcite-shell-panel_14.entry.js → calcite-panel_12.entry.js} +468 -708
- package/dist/esm/calcite-panel_12.entry.js.map +1 -0
- package/dist/esm/calcite-pick-list-group.entry.js +2 -0
- package/dist/esm/calcite-pick-list-group.entry.js.map +1 -0
- package/dist/esm/calcite-pick-list-item.entry.js +2 -0
- package/dist/esm/calcite-pick-list-item.entry.js.map +1 -0
- package/dist/esm/calcite-pick-list.entry.js +2 -0
- package/dist/esm/calcite-pick-list.entry.js.map +1 -0
- package/dist/esm/calcite-popover-manager.entry.js +2 -0
- package/dist/esm/calcite-popover-manager.entry.js.map +1 -0
- package/dist/esm/calcite-radio-button-group.entry.js +2 -0
- package/dist/esm/calcite-radio-button-group.entry.js.map +1 -0
- package/dist/esm/calcite-radio-button.entry.js +2 -0
- package/dist/esm/calcite-radio-button.entry.js.map +1 -0
- package/dist/esm/calcite-rating.entry.js +2 -0
- package/dist/esm/calcite-rating.entry.js.map +1 -0
- package/dist/esm/calcite-shell-center-row.entry.js +2 -0
- package/dist/esm/calcite-shell-center-row.entry.js.map +1 -0
- package/dist/esm/calcite-sortable-list.entry.js +2 -0
- package/dist/esm/calcite-sortable-list.entry.js.map +1 -0
- package/dist/esm/calcite-split-button.entry.js +2 -0
- package/dist/esm/calcite-split-button.entry.js.map +1 -0
- package/dist/esm/calcite-stepper-item.entry.js +2 -0
- package/dist/esm/calcite-stepper-item.entry.js.map +1 -0
- package/dist/esm/calcite-stepper.entry.js +2 -0
- package/dist/esm/calcite-stepper.entry.js.map +1 -0
- package/dist/esm/calcite-switch.entry.js +2 -0
- package/dist/esm/calcite-switch.entry.js.map +1 -0
- package/dist/esm/calcite-tile-select-group.entry.js +2 -0
- package/dist/esm/calcite-tile-select-group.entry.js.map +1 -0
- package/dist/esm/calcite-tile-select.entry.js +2 -0
- package/dist/esm/calcite-tile-select.entry.js.map +1 -0
- package/dist/esm/calcite-tile.entry.js +2 -0
- package/dist/esm/calcite-tile.entry.js.map +1 -0
- package/dist/esm/calcite-time-picker.entry.js +2 -0
- package/dist/esm/calcite-time-picker.entry.js.map +1 -0
- package/dist/esm/calcite-tip-group.entry.js +2 -0
- package/dist/esm/calcite-tip-group.entry.js.map +1 -0
- package/dist/esm/calcite-tip-manager.entry.js +2 -0
- package/dist/esm/calcite-tip-manager.entry.js.map +1 -0
- package/dist/esm/calcite-tip.entry.js +2 -0
- package/dist/esm/calcite-tip.entry.js.map +1 -0
- package/dist/esm/calcite-tooltip-manager.entry.js +2 -0
- package/dist/esm/calcite-tooltip-manager.entry.js.map +1 -0
- package/dist/esm/calcite-tooltip.entry.js +2 -0
- package/dist/esm/calcite-tooltip.entry.js.map +1 -0
- package/dist/esm/calcite-tree_3.entry.js +2 -0
- package/dist/esm/calcite-tree_3.entry.js.map +1 -0
- package/dist/esm/check-list.entry.js +2 -0
- package/dist/esm/check-list.entry.js.map +1 -0
- package/dist/esm/conditionalSlot-bb4cab11.js +2 -0
- package/dist/esm/conditionalSlot-bb4cab11.js.map +1 -0
- package/dist/esm/config-buffer-tools.entry.js +2 -0
- package/dist/esm/config-buffer-tools.entry.js.map +1 -0
- package/dist/esm/config-draw-tools.entry.js +2 -0
- package/dist/esm/config-draw-tools.entry.js.map +1 -0
- package/dist/esm/config-layer-picker.entry.js +4 -2
- package/dist/esm/config-layer-picker.entry.js.map +1 -0
- package/dist/esm/config-pdf-download.entry.js +2 -0
- package/dist/esm/config-pdf-download.entry.js.map +1 -0
- package/dist/esm/date-45de0016.js +2 -0
- package/dist/esm/date-45de0016.js.map +1 -0
- package/dist/esm/debounce-4c884e5c.js +2 -0
- package/dist/esm/debounce-4c884e5c.js.map +1 -0
- package/dist/esm/dom-e593bf85.js +2 -0
- package/dist/esm/dom-e593bf85.js.map +1 -0
- package/dist/esm/filter-82935f2d.js +2 -0
- package/dist/esm/filter-82935f2d.js.map +1 -0
- package/dist/esm/floating-ui-69a55a27.js +2 -0
- package/dist/esm/floating-ui-69a55a27.js.map +1 -0
- package/dist/esm/form-dbfde8ce.js +2 -0
- package/dist/esm/form-dbfde8ce.js.map +1 -0
- package/dist/esm/guid-15fce7c0.js +2 -0
- package/dist/esm/guid-15fce7c0.js.map +1 -0
- package/dist/esm/index-15022d11.js +2 -0
- package/dist/esm/index-15022d11.js.map +1 -0
- package/dist/esm/index-9c882a6e.js +2 -0
- package/dist/esm/index-9c882a6e.js.map +1 -0
- package/dist/esm/index-d33ebc35.js +2 -0
- package/dist/esm/index-d33ebc35.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/interactive-822ffed6.js +2 -0
- package/dist/esm/interactive-822ffed6.js.map +1 -0
- package/dist/esm/interfaces-1bdfc3a8.js +72 -0
- package/dist/esm/interfaces-1bdfc3a8.js.map +1 -0
- package/dist/esm/interfaces-4ae145eb.js +2 -0
- package/dist/esm/interfaces-4ae145eb.js.map +1 -0
- package/dist/esm/key-acb660e7.js +2 -0
- package/dist/esm/key-acb660e7.js.map +1 -0
- package/dist/esm/label-d411de44.js +2 -0
- package/dist/esm/label-d411de44.js.map +1 -0
- package/dist/esm/labelFormats-b37958c3.js +2 -0
- package/dist/esm/labelFormats-b37958c3.js.map +1 -0
- package/dist/esm/loadModules-d3b50f95.js +2 -0
- package/dist/esm/loadModules-d3b50f95.js.map +1 -0
- package/dist/esm/loader.js +3 -1
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/locale-0b490b02.js +2 -0
- package/dist/esm/locale-0b490b02.js.map +1 -0
- package/dist/esm/locale-0e10d7e5.js +2 -0
- package/dist/esm/locale-0e10d7e5.js.map +1 -0
- package/dist/esm/map-search.entry.js +2 -0
- package/dist/esm/map-search.entry.js.map +1 -0
- package/dist/esm/mapViewUtils-809947c8.js +284 -0
- package/dist/esm/mapViewUtils-809947c8.js.map +1 -0
- package/dist/esm/math-552c5420.js +2 -0
- package/dist/esm/math-552c5420.js.map +1 -0
- package/dist/esm/nonChromiumPlatformUtils-ee349005.js +2 -0
- package/dist/esm/nonChromiumPlatformUtils-ee349005.js.map +1 -0
- package/dist/esm/observers-31601001.js +2 -0
- package/dist/esm/observers-31601001.js.map +1 -0
- package/dist/esm/openCloseComponent-5caff873.js +2 -0
- package/dist/esm/openCloseComponent-5caff873.js.map +1 -0
- package/dist/esm/public-notification.entry.js +4 -2
- package/dist/esm/public-notification.entry.js.map +1 -0
- package/dist/esm/publicNotificationStore-060c59c8.js +2 -0
- package/dist/esm/publicNotificationStore-060c59c8.js.map +1 -0
- package/dist/esm/publicNotificationUtils-5cb5a607.js +2 -0
- package/dist/esm/publicNotificationUtils-5cb5a607.js.map +1 -0
- package/dist/esm/resources-2235e4ff.js +2 -0
- package/dist/esm/resources-2235e4ff.js.map +1 -0
- package/dist/esm/resources-3d641588.js +2 -0
- package/dist/esm/resources-3d641588.js.map +1 -0
- package/dist/esm/resources-436ae282.js +2 -0
- package/dist/esm/resources-436ae282.js.map +1 -0
- package/dist/esm/resources-4d02cb48.js +2 -0
- package/dist/esm/resources-4d02cb48.js.map +1 -0
- package/dist/esm/resources-78132e50.js +2 -0
- package/dist/esm/resources-78132e50.js.map +1 -0
- package/dist/esm/resources-7d4a587f.js +2 -0
- package/dist/esm/resources-7d4a587f.js.map +1 -0
- package/dist/esm/resources-971845d1.js +2 -0
- package/dist/esm/resources-971845d1.js.map +1 -0
- package/dist/esm/resources-9eb63965.js +2 -0
- package/dist/esm/resources-9eb63965.js.map +1 -0
- package/dist/esm/resources-d60362c3.js +2 -0
- package/dist/esm/resources-d60362c3.js.map +1 -0
- package/dist/esm/resources-e3a5cf27.js +2 -0
- package/dist/esm/resources-e3a5cf27.js.map +1 -0
- package/dist/esm/shared-list-render-4e9d47a3.js +2 -0
- package/dist/esm/shared-list-render-4e9d47a3.js.map +1 -0
- package/dist/esm/solution-config-modal.entry.js +127 -0
- package/dist/esm/solution-config-modal.entry.js.map +1 -0
- package/dist/esm/{solution-contents_3.entry.js → solution-contents_7.entry.js} +662 -3
- package/dist/esm/solution-contents_7.entry.js.map +1 -0
- package/dist/esm/{solution-store-b3c65467.js → solution-store-d8519c64.js} +6 -4
- package/dist/esm/solution-store-d8519c64.js.map +1 -0
- package/dist/esm/solutions-components.js +3 -1
- package/dist/esm/solutions-components.js.map +1 -0
- package/dist/esm/sortable.esm-3b2eaa5c.js +2 -0
- package/dist/esm/sortable.esm-3b2eaa5c.js.map +1 -0
- package/dist/esm/store-manager.entry.js +2 -0
- package/dist/esm/store-manager.entry.js.map +1 -0
- package/dist/esm/time-f014778c.js +2 -0
- package/dist/esm/time-f014778c.js.map +1 -0
- package/dist/esm/utils-3f4ee4c3.js +2 -0
- package/dist/esm/utils-3f4ee4c3.js.map +1 -0
- package/dist/esm/utils-583554bc.js +2 -0
- package/dist/esm/utils-583554bc.js.map +1 -0
- package/dist/solutions-components/index.esm.js +2 -0
- package/dist/solutions-components/index.esm.js.map +1 -0
- package/dist/solutions-components/p-06dab43c.entry.js +140 -0
- package/dist/solutions-components/p-06dab43c.entry.js.map +1 -0
- package/dist/solutions-components/p-0bbe4865.entry.js +620 -0
- package/dist/solutions-components/p-0bbe4865.entry.js.map +1 -0
- package/dist/solutions-components/p-0fddf8a4.entry.js +349 -0
- package/dist/solutions-components/p-0fddf8a4.entry.js.map +1 -0
- package/dist/solutions-components/p-11068040.entry.js +1121 -0
- package/dist/solutions-components/p-11068040.entry.js.map +1 -0
- package/dist/solutions-components/p-11bc6805.entry.js +87 -0
- package/dist/solutions-components/p-11bc6805.entry.js.map +1 -0
- package/dist/solutions-components/p-13b37f05.js +308 -3
- package/dist/solutions-components/p-13b37f05.js.map +1 -0
- package/dist/solutions-components/p-1dfb5fae.entry.js +713 -0
- package/dist/solutions-components/p-1dfb5fae.entry.js.map +1 -0
- package/dist/solutions-components/p-1e15b1a3.js +183 -2
- package/dist/solutions-components/p-1e15b1a3.js.map +1 -0
- package/dist/solutions-components/p-1e5bc9c3.entry.js +96 -0
- package/dist/solutions-components/p-1e5bc9c3.entry.js.map +1 -0
- package/dist/solutions-components/p-1ed05745.entry.js +214 -0
- package/dist/solutions-components/p-1ed05745.entry.js.map +1 -0
- package/dist/solutions-components/p-20bdf42f.js +407 -14
- package/dist/solutions-components/p-20bdf42f.js.map +1 -0
- package/dist/solutions-components/p-22574d83.entry.js +74 -0
- package/dist/solutions-components/p-22574d83.entry.js.map +1 -0
- package/dist/solutions-components/p-23904a3d.js +401 -3
- package/dist/solutions-components/p-23904a3d.js.map +1 -0
- package/dist/solutions-components/p-26484399.entry.js +108 -0
- package/dist/solutions-components/p-26484399.entry.js.map +1 -0
- package/dist/solutions-components/p-2910dd9e.js +4094 -0
- package/dist/solutions-components/p-2910dd9e.js.map +1 -0
- package/dist/solutions-components/p-29bdbd3e.entry.js +280 -0
- package/dist/solutions-components/p-29bdbd3e.entry.js.map +1 -0
- package/dist/solutions-components/p-2ac06389.js +25 -16
- package/dist/solutions-components/p-2ac06389.js.map +1 -0
- package/dist/solutions-components/p-2bce7fa2.entry.js +45 -0
- package/dist/solutions-components/p-2bce7fa2.entry.js.map +1 -0
- package/dist/solutions-components/p-2e9ed892.js +48 -1
- package/dist/solutions-components/p-2e9ed892.js.map +1 -0
- package/dist/solutions-components/p-2f12ff1b.entry.js +202 -0
- package/dist/solutions-components/p-2f12ff1b.entry.js.map +1 -0
- package/dist/solutions-components/p-30810b45.entry.js +1250 -0
- package/dist/solutions-components/p-30810b45.entry.js.map +1 -0
- package/dist/solutions-components/p-32a67cb2.js +207 -2
- package/dist/solutions-components/p-32a67cb2.js.map +1 -0
- package/dist/solutions-components/p-341ff921.entry.js +449 -0
- package/dist/solutions-components/p-341ff921.entry.js.map +1 -0
- package/dist/solutions-components/p-36ce64e4.entry.js +215 -0
- package/dist/solutions-components/p-36ce64e4.entry.js.map +1 -0
- package/dist/solutions-components/p-374a5031.js +107 -2
- package/dist/solutions-components/p-374a5031.js.map +1 -0
- package/dist/solutions-components/p-38ddadf2.entry.js +342 -0
- package/dist/solutions-components/p-38ddadf2.entry.js.map +1 -0
- package/dist/solutions-components/p-3b010ce1.js +19 -1
- package/dist/solutions-components/p-3b010ce1.js.map +1 -0
- package/dist/solutions-components/p-3f6b0af4.js +221 -2
- package/dist/solutions-components/p-3f6b0af4.js.map +1 -0
- package/dist/solutions-components/p-400e1427.entry.js +236 -0
- package/dist/solutions-components/p-400e1427.entry.js.map +1 -0
- package/dist/solutions-components/p-40d7cf01.entry.js +228 -0
- package/dist/solutions-components/p-40d7cf01.entry.js.map +1 -0
- package/dist/solutions-components/p-45556aff.entry.js +215 -0
- package/dist/solutions-components/p-45556aff.entry.js.map +1 -0
- package/dist/solutions-components/p-49aaa793.entry.js +95 -0
- package/dist/solutions-components/p-49aaa793.entry.js.map +1 -0
- package/dist/solutions-components/p-4e32bf8c.js +484 -1
- package/dist/solutions-components/p-4e32bf8c.js.map +1 -0
- package/dist/solutions-components/p-4e89b243.entry.js +479 -0
- package/dist/solutions-components/p-4e89b243.entry.js.map +1 -0
- package/dist/solutions-components/p-515637fb.entry.js +183 -0
- package/dist/solutions-components/p-515637fb.entry.js.map +1 -0
- package/dist/solutions-components/p-5243a654.entry.js +147 -0
- package/dist/solutions-components/p-5243a654.entry.js.map +1 -0
- package/dist/solutions-components/p-55673790.entry.js +82 -0
- package/dist/solutions-components/p-55673790.entry.js.map +1 -0
- package/dist/solutions-components/p-56350bff.js +173 -2
- package/dist/solutions-components/p-56350bff.js.map +1 -0
- package/dist/solutions-components/p-58b374c0.entry.js +347 -0
- package/dist/solutions-components/p-58b374c0.entry.js.map +1 -0
- package/dist/solutions-components/p-58c69df2.js +2024 -2
- package/dist/solutions-components/p-58c69df2.js.map +1 -0
- package/dist/solutions-components/p-59fd6684.entry.js +22 -0
- package/dist/solutions-components/p-59fd6684.entry.js.map +1 -0
- package/dist/solutions-components/p-5b0d7c7d.js +35 -16
- package/dist/solutions-components/p-5b0d7c7d.js.map +1 -0
- package/dist/solutions-components/p-5b20090f.entry.js +22189 -0
- package/dist/solutions-components/p-5b20090f.entry.js.map +1 -0
- package/dist/solutions-components/p-5cf33602.js +43 -2
- package/dist/solutions-components/p-5cf33602.js.map +1 -0
- package/dist/solutions-components/p-600e23c6.js +1770 -2
- package/dist/solutions-components/p-600e23c6.js.map +1 -0
- package/dist/solutions-components/p-61398a7b.entry.js +74 -0
- package/dist/solutions-components/p-61398a7b.entry.js.map +1 -0
- package/dist/solutions-components/p-63a05701.entry.js +45 -0
- package/dist/solutions-components/p-63a05701.entry.js.map +1 -0
- package/dist/solutions-components/p-63f6e8f1.js +16 -1
- package/dist/solutions-components/p-63f6e8f1.js.map +1 -0
- package/dist/solutions-components/p-64a2040e.entry.js +63 -0
- package/dist/solutions-components/p-64a2040e.entry.js.map +1 -0
- package/dist/solutions-components/p-64c63eb2.entry.js +157 -0
- package/dist/solutions-components/p-64c63eb2.entry.js.map +1 -0
- package/dist/solutions-components/p-6940e2fd.entry.js +100 -0
- package/dist/solutions-components/p-6940e2fd.entry.js.map +1 -0
- package/dist/solutions-components/p-69900b68.entry.js +152 -0
- package/dist/solutions-components/p-69900b68.entry.js.map +1 -0
- package/dist/solutions-components/p-699125b6.entry.js +44 -0
- package/dist/solutions-components/p-699125b6.entry.js.map +1 -0
- package/dist/solutions-components/p-6d0899c8.entry.js +118 -0
- package/dist/solutions-components/p-6d0899c8.entry.js.map +1 -0
- package/dist/solutions-components/p-6e0da576.js +15 -1
- package/dist/solutions-components/p-6e0da576.js.map +1 -0
- package/dist/solutions-components/p-6fe17794.js +11 -1
- package/dist/solutions-components/p-6fe17794.js.map +1 -0
- package/dist/solutions-components/p-708a63a8.js +14 -1
- package/dist/solutions-components/p-708a63a8.js.map +1 -0
- package/dist/solutions-components/p-729708a3.js +16 -1
- package/dist/solutions-components/p-729708a3.js.map +1 -0
- package/dist/solutions-components/p-73e23995.js +8 -1
- package/dist/solutions-components/p-73e23995.js.map +1 -0
- package/dist/solutions-components/p-75f54a34.entry.js +883 -0
- package/dist/solutions-components/p-75f54a34.entry.js.map +1 -0
- package/dist/solutions-components/p-77182c3a.js +3017 -1
- package/dist/solutions-components/p-77182c3a.js.map +1 -0
- package/dist/solutions-components/p-794ba85d.entry.js +175 -0
- package/dist/solutions-components/p-794ba85d.entry.js.map +1 -0
- package/dist/solutions-components/p-79cde78e.entry.js +203 -0
- package/dist/solutions-components/p-79cde78e.entry.js.map +1 -0
- package/dist/solutions-components/p-7a2c75a4.entry.js +230 -0
- package/dist/solutions-components/p-7a2c75a4.entry.js.map +1 -0
- package/dist/solutions-components/p-7daea1df.js +43 -1
- package/dist/solutions-components/p-7daea1df.js.map +1 -0
- package/dist/solutions-components/p-7de77097.entry.js +162 -0
- package/dist/solutions-components/p-7de77097.entry.js.map +1 -0
- package/dist/solutions-components/p-7f2b74a9.entry.js +56 -0
- package/dist/solutions-components/p-7f2b74a9.entry.js.map +1 -0
- package/dist/solutions-components/p-81e606c0.entry.js +915 -0
- package/dist/solutions-components/p-81e606c0.entry.js.map +1 -0
- package/dist/solutions-components/p-86908777.js +62 -3
- package/dist/solutions-components/p-86908777.js.map +1 -0
- package/dist/solutions-components/p-87a0ccb4.entry.js +254 -0
- package/dist/solutions-components/p-87a0ccb4.entry.js.map +1 -0
- package/dist/solutions-components/p-93d3119d.js +1950 -1
- package/dist/solutions-components/p-93d3119d.js.map +1 -0
- package/dist/solutions-components/p-958e2979.entry.js +111 -0
- package/dist/solutions-components/p-958e2979.entry.js.map +1 -0
- package/dist/solutions-components/p-95ddb529.entry.js +181 -0
- package/dist/solutions-components/p-95ddb529.entry.js.map +1 -0
- package/dist/solutions-components/p-991ee695.js +111 -1
- package/dist/solutions-components/p-991ee695.js.map +1 -0
- package/dist/solutions-components/p-99d9b624.entry.js +177 -0
- package/dist/solutions-components/p-99d9b624.entry.js.map +1 -0
- package/dist/solutions-components/p-9a9955db.js +43 -1
- package/dist/solutions-components/p-9a9955db.js.map +1 -0
- package/dist/solutions-components/p-9d925d5b.entry.js +233 -0
- package/dist/solutions-components/p-9d925d5b.entry.js.map +1 -0
- package/dist/solutions-components/p-9dc0210f.entry.js +125 -0
- package/dist/solutions-components/p-9dc0210f.entry.js.map +1 -0
- package/dist/solutions-components/p-9ef1328a.entry.js +542 -0
- package/dist/solutions-components/p-9ef1328a.entry.js.map +1 -0
- package/dist/solutions-components/p-9fec2884.entry.js +216 -0
- package/dist/solutions-components/p-9fec2884.entry.js.map +1 -0
- package/dist/solutions-components/p-a1786d11.entry.js +2380 -0
- package/dist/solutions-components/p-a1786d11.entry.js.map +1 -0
- package/dist/solutions-components/p-a2ada355.entry.js +135 -0
- package/dist/solutions-components/p-a2ada355.entry.js.map +1 -0
- package/dist/solutions-components/p-a57adb27.entry.js +154 -0
- package/dist/solutions-components/p-a57adb27.entry.js.map +1 -0
- package/dist/solutions-components/p-a80b3880.js +16 -1
- package/dist/solutions-components/p-a80b3880.js.map +1 -0
- package/dist/solutions-components/p-a88dd457.entry.js +123 -0
- package/dist/solutions-components/p-a88dd457.entry.js.map +1 -0
- package/dist/solutions-components/p-ac6efd19.entry.js +57 -0
- package/dist/solutions-components/p-ac6efd19.entry.js.map +1 -0
- package/dist/solutions-components/p-ae1fd76b.js +13 -1
- package/dist/solutions-components/p-ae1fd76b.js.map +1 -0
- package/dist/solutions-components/p-afffa81a.entry.js +140 -0
- package/dist/solutions-components/p-afffa81a.entry.js.map +1 -0
- package/dist/solutions-components/p-b0f3ed4d.entry.js +376 -0
- package/dist/solutions-components/p-b0f3ed4d.entry.js.map +1 -0
- package/dist/solutions-components/p-b359dc78.js +43 -1
- package/dist/solutions-components/p-b359dc78.js.map +1 -0
- package/dist/solutions-components/p-b66cba3e.entry.js +97 -0
- package/dist/solutions-components/p-b66cba3e.entry.js.map +1 -0
- package/dist/solutions-components/p-b6c2f470.entry.js +574 -0
- package/dist/solutions-components/p-b6c2f470.entry.js.map +1 -0
- package/dist/solutions-components/p-b978636e.js +16 -1
- package/dist/solutions-components/p-b978636e.js.map +1 -0
- package/dist/solutions-components/p-bd19837e.entry.js +96 -0
- package/dist/solutions-components/p-bd19837e.entry.js.map +1 -0
- package/dist/solutions-components/p-be8cc144.entry.js +567 -0
- package/dist/solutions-components/p-be8cc144.entry.js.map +1 -0
- package/dist/solutions-components/p-bfd20deb.entry.js +80 -0
- package/dist/solutions-components/p-bfd20deb.entry.js.map +1 -0
- package/dist/{esm/mapViewUtils-09f1e7bd.js → solutions-components/p-c20bd963.js} +3 -1
- package/dist/solutions-components/p-c20bd963.js.map +1 -0
- package/dist/solutions-components/p-c2c8442d.entry.js +140 -0
- package/dist/solutions-components/p-c2c8442d.entry.js.map +1 -0
- package/dist/solutions-components/p-c3f93cec.entry.js +158 -0
- package/dist/solutions-components/p-c3f93cec.entry.js.map +1 -0
- package/dist/solutions-components/p-c5721b0f.entry.js +127 -0
- package/dist/solutions-components/p-c5721b0f.entry.js.map +1 -0
- package/dist/solutions-components/p-c818e661.entry.js +107 -0
- package/dist/solutions-components/p-c818e661.entry.js.map +1 -0
- package/dist/solutions-components/p-c9870dc4.entry.js +38 -0
- package/dist/solutions-components/p-c9870dc4.entry.js.map +1 -0
- package/dist/solutions-components/p-cbd9fecf.js +500 -2
- package/dist/solutions-components/p-cbd9fecf.js.map +1 -0
- package/dist/solutions-components/p-cf59eb16.entry.js +2423 -0
- package/dist/solutions-components/p-cf59eb16.entry.js.map +1 -0
- package/dist/solutions-components/p-cfb300c6.entry.js +250 -0
- package/dist/solutions-components/p-cfb300c6.entry.js.map +1 -0
- package/dist/solutions-components/p-d48a24e6.js +756 -2
- package/dist/solutions-components/p-d48a24e6.js.map +1 -0
- package/dist/solutions-components/p-dbad98e8.js +124 -2
- package/dist/solutions-components/p-dbad98e8.js.map +1 -0
- package/dist/solutions-components/p-dd79118e.entry.js +708 -0
- package/dist/solutions-components/p-dd79118e.entry.js.map +1 -0
- package/dist/solutions-components/p-de5416e8.js +30 -1
- package/dist/solutions-components/p-de5416e8.js.map +1 -0
- package/dist/solutions-components/p-de881187.entry.js +87 -0
- package/dist/solutions-components/p-de881187.entry.js.map +1 -0
- package/dist/solutions-components/p-e1905f7b.entry.js +120 -0
- package/dist/solutions-components/p-e1905f7b.entry.js.map +1 -0
- package/dist/solutions-components/p-e405ebe8.entry.js +93 -0
- package/dist/solutions-components/p-e405ebe8.entry.js.map +1 -0
- package/dist/solutions-components/p-e515767a.entry.js +116 -0
- package/dist/solutions-components/p-e515767a.entry.js.map +1 -0
- package/dist/solutions-components/p-e611d8c8.js +30 -1
- package/dist/solutions-components/p-e611d8c8.js.map +1 -0
- package/dist/solutions-components/p-e6a695a5.js +103 -2
- package/dist/solutions-components/p-e6a695a5.js.map +1 -0
- package/dist/solutions-components/p-e6fb9cde.entry.js +1872 -0
- package/dist/solutions-components/p-e6fb9cde.entry.js.map +1 -0
- package/dist/solutions-components/p-e947d3b0.js +7 -1
- package/dist/solutions-components/p-e947d3b0.js.map +1 -0
- package/dist/solutions-components/p-e99b1247.js +207 -1
- package/dist/solutions-components/p-e99b1247.js.map +1 -0
- package/dist/solutions-components/p-eb5b78c3.entry.js +125 -0
- package/dist/solutions-components/p-eb5b78c3.entry.js.map +1 -0
- package/dist/solutions-components/p-eb976965.js +35 -3
- package/dist/solutions-components/p-eb976965.js.map +1 -0
- package/dist/solutions-components/p-ed075c2f.entry.js +186 -0
- package/dist/solutions-components/p-ed075c2f.entry.js.map +1 -0
- package/dist/solutions-components/p-eeb0321d.js +15 -2
- package/dist/solutions-components/p-eeb0321d.js.map +1 -0
- package/dist/solutions-components/p-ef6f9e24.entry.js +609 -0
- package/dist/solutions-components/p-ef6f9e24.entry.js.map +1 -0
- package/dist/solutions-components/p-f0294899.entry.js +84 -0
- package/dist/solutions-components/p-f0294899.entry.js.map +1 -0
- package/dist/{esm/interfaces-e2a2064d.js → solutions-components/p-f04fdb9a.js} +3 -1
- package/dist/solutions-components/p-f04fdb9a.js.map +1 -0
- package/dist/solutions-components/p-f477f146.entry.js +310 -0
- package/dist/solutions-components/p-f477f146.entry.js.map +1 -0
- package/dist/solutions-components/p-f48821a2.js +60 -7
- package/dist/solutions-components/p-f48821a2.js.map +1 -0
- package/dist/solutions-components/p-f496ed0c.entry.js +150 -0
- package/dist/solutions-components/p-f496ed0c.entry.js.map +1 -0
- package/dist/solutions-components/p-f759a6e7.js +196 -1
- package/dist/solutions-components/p-f759a6e7.js.map +1 -0
- package/dist/solutions-components/p-fc884dd6.js +30 -16
- package/dist/solutions-components/p-fc884dd6.js.map +1 -0
- package/dist/solutions-components/solutions-components.css +10531 -1
- package/dist/solutions-components/solutions-components.esm.js +22 -1
- package/dist/solutions-components/solutions-components.esm.js.map +1 -0
- package/dist/solutions-components/utils/solution-store.ts +3 -3
- package/dist/solutions-components_commit.txt +8 -6
- package/dist/types/components/solution-config-modal/solution-config-modal.d.ts +69 -0
- package/dist/types/components/solution-configuration/solution-configuration.d.ts +4 -2
- package/dist/types/components.d.ts +43 -5
- package/dist/types/preact.d.ts +4 -0
- package/package.json +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -447
- package/dist/cjs/calcite-panel_2.cjs.entry.js +0 -437
- package/dist/cjs/calcite-scrim.cjs.entry.js +0 -62
- package/dist/esm/calcite-modal.entry.js +0 -443
- package/dist/esm/calcite-panel_2.entry.js +0 -432
- package/dist/esm/calcite-scrim.entry.js +0 -58
- package/dist/solutions-components/p-006c6ae1.entry.js +0 -11
- package/dist/solutions-components/p-04a37fc0.entry.js +0 -6
- package/dist/solutions-components/p-062dbde8.entry.js +0 -6
- package/dist/solutions-components/p-0b941521.entry.js +0 -11
- package/dist/solutions-components/p-0c80eb51.entry.js +0 -11
- package/dist/solutions-components/p-10501e21.entry.js +0 -23
- package/dist/solutions-components/p-109e4684.entry.js +0 -6
- package/dist/solutions-components/p-12dfd43e.entry.js +0 -11
- package/dist/solutions-components/p-1c3bcd99.entry.js +0 -12
- package/dist/solutions-components/p-1c589630.entry.js +0 -6
- package/dist/solutions-components/p-1fb471cf.entry.js +0 -11
- package/dist/solutions-components/p-23275dbd.entry.js +0 -6
- package/dist/solutions-components/p-236d76e7.entry.js +0 -11
- package/dist/solutions-components/p-29246858.entry.js +0 -11
- package/dist/solutions-components/p-2af67c67.entry.js +0 -6
- package/dist/solutions-components/p-2bee764f.entry.js +0 -11
- package/dist/solutions-components/p-2f6b4f04.entry.js +0 -6
- package/dist/solutions-components/p-305ae3fe.entry.js +0 -11
- package/dist/solutions-components/p-343e325d.entry.js +0 -11
- package/dist/solutions-components/p-3485601e.entry.js +0 -6
- package/dist/solutions-components/p-395e9b6c.entry.js +0 -6
- package/dist/solutions-components/p-39c5f2d2.entry.js +0 -6
- package/dist/solutions-components/p-3c4f2257.entry.js +0 -11
- package/dist/solutions-components/p-3c8ec7a3.entry.js +0 -12
- package/dist/solutions-components/p-4130fbcd.entry.js +0 -11
- package/dist/solutions-components/p-421cbb15.entry.js +0 -6
- package/dist/solutions-components/p-43fa414d.entry.js +0 -11
- package/dist/solutions-components/p-4760f22a.entry.js +0 -6
- package/dist/solutions-components/p-4fb6d2cf.entry.js +0 -11
- package/dist/solutions-components/p-54384555.entry.js +0 -11
- package/dist/solutions-components/p-5493f036.entry.js +0 -6
- package/dist/solutions-components/p-551fd063.entry.js +0 -11
- package/dist/solutions-components/p-5a61ef0d.entry.js +0 -6
- package/dist/solutions-components/p-6a3ce8f6.entry.js +0 -6
- package/dist/solutions-components/p-6b9dc092.js +0 -21
- package/dist/solutions-components/p-6be581f5.entry.js +0 -6
- package/dist/solutions-components/p-6cf432f9.entry.js +0 -11
- package/dist/solutions-components/p-70368b2b.entry.js +0 -6
- package/dist/solutions-components/p-708ffad0.entry.js +0 -11
- package/dist/solutions-components/p-7321ba65.entry.js +0 -11
- package/dist/solutions-components/p-75b35018.entry.js +0 -11
- package/dist/solutions-components/p-764c0a90.entry.js +0 -11
- package/dist/solutions-components/p-77031b01.entry.js +0 -11
- package/dist/solutions-components/p-778a1b4a.entry.js +0 -11
- package/dist/solutions-components/p-7cdc6089.entry.js +0 -6
- package/dist/solutions-components/p-81467529.entry.js +0 -6
- package/dist/solutions-components/p-834380d6.entry.js +0 -11
- package/dist/solutions-components/p-89cc843b.entry.js +0 -11
- package/dist/solutions-components/p-8e3a2736.entry.js +0 -11
- package/dist/solutions-components/p-8e8b182f.entry.js +0 -12
- package/dist/solutions-components/p-8f052987.entry.js +0 -11
- package/dist/solutions-components/p-93790a9e.entry.js +0 -37
- package/dist/solutions-components/p-9bbee464.entry.js +0 -6
- package/dist/solutions-components/p-9bdd4abe.entry.js +0 -17
- package/dist/solutions-components/p-a4a7d49d.entry.js +0 -17
- package/dist/solutions-components/p-a7036d68.entry.js +0 -11
- package/dist/solutions-components/p-ac91cd40.entry.js +0 -11
- package/dist/solutions-components/p-acd0a09f.entry.js +0 -11
- package/dist/solutions-components/p-acd3b2bf.entry.js +0 -11
- package/dist/solutions-components/p-aea937fb.entry.js +0 -12
- package/dist/solutions-components/p-b1b36556.entry.js +0 -11
- package/dist/solutions-components/p-b25f6ebe.js +0 -257
- package/dist/solutions-components/p-b2ae8634.entry.js +0 -6
- package/dist/solutions-components/p-ba104266.entry.js +0 -11
- package/dist/solutions-components/p-bfcab358.entry.js +0 -11
- package/dist/solutions-components/p-c848d1bd.entry.js +0 -29
- package/dist/solutions-components/p-c9766584.entry.js +0 -6
- package/dist/solutions-components/p-d2cc1b94.entry.js +0 -12
- package/dist/solutions-components/p-d51a72d2.entry.js +0 -11
- package/dist/solutions-components/p-d88fe54b.entry.js +0 -18
- package/dist/solutions-components/p-daee23cc.entry.js +0 -11
- package/dist/solutions-components/p-db7d14d5.entry.js +0 -12
- package/dist/solutions-components/p-dc724c1d.entry.js +0 -11
- package/dist/solutions-components/p-dc7bc20f.entry.js +0 -11
- package/dist/solutions-components/p-de242ea9.entry.js +0 -6
- package/dist/solutions-components/p-e4ebb82a.entry.js +0 -11
- package/dist/solutions-components/p-e64c5c11.entry.js +0 -6
- package/dist/solutions-components/p-e9e47eab.entry.js +0 -6
- package/dist/solutions-components/p-eb3be6d4.entry.js +0 -6
- package/dist/solutions-components/p-ed27c151.entry.js +0 -6
- package/dist/solutions-components/p-ef170bb1.entry.js +0 -6
- package/dist/solutions-components/p-f044863f.entry.js +0 -16
- package/dist/solutions-components/p-f0bae2f0.entry.js +0 -37
- package/dist/solutions-components/p-f5a3b34f.entry.js +0 -23
- package/dist/solutions-components/p-fa2575c2.entry.js +0 -6
- package/dist/solutions-components/p-fe0fdd8b.js +0 -36
@@ -8,25 +8,440 @@
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
10
|
const index = require('./index-a86078a0.js');
|
11
|
+
const resources = require('./resources-6152b073.js');
|
11
12
|
const dom = require('./dom-4a580af6.js');
|
12
|
-
const
|
13
|
+
const Heading = require('./Heading-6b7b374c.js');
|
14
|
+
const resources$1 = require('./resources-2260d186.js');
|
15
|
+
const interactive = require('./interactive-0a68ab99.js');
|
16
|
+
const observers = require('./observers-5311faf8.js');
|
13
17
|
const conditionalSlot = require('./conditionalSlot-2defe83d.js');
|
18
|
+
const math = require('./math-460fffaf.js');
|
14
19
|
const guid = require('./guid-84ac4d91.js');
|
15
|
-
const observers = require('./observers-5311faf8.js');
|
16
|
-
const interactive = require('./interactive-0a68ab99.js');
|
17
20
|
const sortable_esm = require('./sortable.esm-bf47019d.js');
|
18
21
|
const sharedListRender = require('./shared-list-render-4c7d84bf.js');
|
19
|
-
const resources = require('./resources-9c55e05c.js');
|
20
|
-
const resources$
|
22
|
+
const resources$2 = require('./resources-9c55e05c.js');
|
23
|
+
const resources$3 = require('./resources-1f785471.js');
|
21
24
|
const locale = require('./locale-746a095d.js');
|
22
|
-
const solutionStore = require('./solution-store-e2fc11ac.js');
|
23
|
-
const interfaces = require('./interfaces-ab603e16.js');
|
24
25
|
require('./resources-b56bce71.js');
|
25
26
|
require('./array-ace6d4b5.js');
|
26
27
|
require('./resources-808cfca8.js');
|
27
28
|
require('./debounce-69c3bada.js');
|
28
29
|
require('./_commonjsHelpers-6aafa5de.js');
|
29
|
-
|
30
|
+
|
31
|
+
const panelCss = "@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([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3);--calcite-panel-max-height:unset;--calcite-panel-width:100%;--calcite-panel-min-width:unset;--calcite-panel-max-width:unset}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.container{margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-ui-background);padding:0px;max-block-size:var(--calcite-panel-max-height);inline-size:var(--calcite-panel-width);max-inline-size:var(--calcite-panel-max-width);min-inline-size:var(--calcite-panel-min-width);transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}:host([height-scale=s]){--calcite-panel-max-height:40vh}:host([height-scale=m]){--calcite-panel-max-height:60vh}:host([height-scale=l]){--calcite-panel-max-height:80vh}:host([width-scale=s]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 12vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 300px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 150px)}:host([width-scale=m]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 20vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 420px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 240px)}:host([width-scale=l]){--calcite-panel-width:calc(var(--calcite-panel-width-multiplier) * 45vw);--calcite-panel-max-width:calc(var(--calcite-panel-width-multiplier) * 680px);--calcite-panel-min-width:calc(var(--calcite-panel-width-multiplier) * 340px)}.container[hidden]{display:none}.header{-webkit-border-after:1px solid;border-block-end:1px solid;position:sticky;inset-block-start:0px;z-index:400;inline-size:100%;align-items:stretch;justify-content:flex-start;background-color:var(--calcite-ui-foreground-1);border-block-end-color:var(--calcite-ui-border-3);flex:0 0 auto}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;-webkit-margin-end:auto;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-medium)}.header-content .heading:only-child{-webkit-margin-after:0px;margin-block-end:0px}.header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{-webkit-margin-start:auto;margin-inline-start:auto}.content-wrapper{overflow:auto}.content-height{block-size:100%}.content-container{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;background-color:var(--calcite-ui-background)}.footer{-webkit-border-before:1px solid;border-block-start:1px solid;position:sticky;inset-block-end:0px;display:flex;inline-size:100%;justify-content:space-evenly;background-color:var(--calcite-ui-foreground-1);border-block-start-color:var(--calcite-ui-border-3);flex:0 0 auto;min-block-size:3rem;padding:0.5rem}.fab-container{position:sticky;inset-block-end:0px;z-index:300;margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}[hidden]{display:none}";
|
32
|
+
|
33
|
+
const Panel = class {
|
34
|
+
constructor(hostRef) {
|
35
|
+
index.registerInstance(this, hostRef);
|
36
|
+
this.calcitePanelClose = index.createEvent(this, "calcitePanelClose", 6);
|
37
|
+
this.calcitePanelDismiss = index.createEvent(this, "calcitePanelDismiss", 6);
|
38
|
+
this.calcitePanelDismissedChange = index.createEvent(this, "calcitePanelDismissedChange", 6);
|
39
|
+
this.calcitePanelScroll = index.createEvent(this, "calcitePanelScroll", 6);
|
40
|
+
this.calcitePanelBackClick = index.createEvent(this, "calcitePanelBackClick", 6);
|
41
|
+
// --------------------------------------------------------------------------
|
42
|
+
//
|
43
|
+
// Properties
|
44
|
+
//
|
45
|
+
// --------------------------------------------------------------------------
|
46
|
+
/**
|
47
|
+
* When `true`, hides the component.
|
48
|
+
*
|
49
|
+
* @deprecated use `closed` instead.
|
50
|
+
*/
|
51
|
+
this.dismissed = false;
|
52
|
+
/** When `true`, the component will be hidden. */
|
53
|
+
this.closed = false;
|
54
|
+
/**
|
55
|
+
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
56
|
+
*/
|
57
|
+
this.disabled = false;
|
58
|
+
/**
|
59
|
+
* When `true`, a close button is added to the component.
|
60
|
+
*
|
61
|
+
* @deprecated use `closable` instead
|
62
|
+
*/
|
63
|
+
this.dismissible = false;
|
64
|
+
/** When `true`, displays a close button in the trailing side of the header. */
|
65
|
+
this.closable = false;
|
66
|
+
/**
|
67
|
+
* When `true`, displays a back button in the header.
|
68
|
+
*
|
69
|
+
* @deprecated use `calcite-flow-item` instead.
|
70
|
+
*/
|
71
|
+
this.showBackButton = false;
|
72
|
+
/**
|
73
|
+
* When `true`, a busy indicator is displayed.
|
74
|
+
*/
|
75
|
+
this.loading = false;
|
76
|
+
/**
|
77
|
+
* When `true`, the action menu items in the `header-menu-actions` slot are open.
|
78
|
+
*/
|
79
|
+
this.menuOpen = false;
|
80
|
+
this.resizeObserver = observers.createObserver("resize", () => this.resizeHandler());
|
81
|
+
this.hasStartActions = false;
|
82
|
+
this.hasEndActions = false;
|
83
|
+
this.hasMenuItems = false;
|
84
|
+
this.hasHeaderContent = false;
|
85
|
+
this.hasFooterContent = false;
|
86
|
+
this.hasFooterActions = false;
|
87
|
+
this.hasFab = false;
|
88
|
+
// --------------------------------------------------------------------------
|
89
|
+
//
|
90
|
+
// Private Methods
|
91
|
+
//
|
92
|
+
// --------------------------------------------------------------------------
|
93
|
+
this.resizeHandler = () => {
|
94
|
+
const { panelScrollEl } = this;
|
95
|
+
if (!panelScrollEl ||
|
96
|
+
typeof panelScrollEl.scrollHeight !== "number" ||
|
97
|
+
typeof panelScrollEl.offsetHeight !== "number") {
|
98
|
+
return;
|
99
|
+
}
|
100
|
+
panelScrollEl.tabIndex = panelScrollEl.scrollHeight > panelScrollEl.offsetHeight ? 0 : -1;
|
101
|
+
};
|
102
|
+
this.setContainerRef = (node) => {
|
103
|
+
this.containerEl = node;
|
104
|
+
};
|
105
|
+
this.setCloseRef = (node) => {
|
106
|
+
this.closeButtonEl = node;
|
107
|
+
};
|
108
|
+
this.setBackRef = (node) => {
|
109
|
+
this.backButtonEl = node;
|
110
|
+
};
|
111
|
+
this.panelKeyDownHandler = (event) => {
|
112
|
+
if (this.closable && event.key === "Escape" && !event.defaultPrevented) {
|
113
|
+
this.close();
|
114
|
+
event.preventDefault();
|
115
|
+
}
|
116
|
+
};
|
117
|
+
this.close = () => {
|
118
|
+
this.closed = true;
|
119
|
+
this.calcitePanelDismiss.emit();
|
120
|
+
this.calcitePanelClose.emit();
|
121
|
+
};
|
122
|
+
this.panelScrollHandler = () => {
|
123
|
+
this.calcitePanelScroll.emit();
|
124
|
+
};
|
125
|
+
this.backButtonClick = () => {
|
126
|
+
this.calcitePanelBackClick.emit();
|
127
|
+
};
|
128
|
+
this.handleHeaderActionsStartSlotChange = (event) => {
|
129
|
+
const elements = event.target.assignedElements({
|
130
|
+
flatten: true
|
131
|
+
});
|
132
|
+
this.hasStartActions = !!elements.length;
|
133
|
+
};
|
134
|
+
this.handleHeaderActionsEndSlotChange = (event) => {
|
135
|
+
const elements = event.target.assignedElements({
|
136
|
+
flatten: true
|
137
|
+
});
|
138
|
+
this.hasEndActions = !!elements.length;
|
139
|
+
};
|
140
|
+
this.handleHeaderMenuActionsSlotChange = (event) => {
|
141
|
+
const elements = event.target.assignedElements({
|
142
|
+
flatten: true
|
143
|
+
});
|
144
|
+
this.hasMenuItems = !!elements.length;
|
145
|
+
};
|
146
|
+
this.handleHeaderContentSlotChange = (event) => {
|
147
|
+
const elements = event.target.assignedElements({
|
148
|
+
flatten: true
|
149
|
+
});
|
150
|
+
this.hasHeaderContent = !!elements.length;
|
151
|
+
};
|
152
|
+
this.handleFooterSlotChange = (event) => {
|
153
|
+
const elements = event.target.assignedElements({
|
154
|
+
flatten: true
|
155
|
+
});
|
156
|
+
this.hasFooterContent = !!elements.length;
|
157
|
+
};
|
158
|
+
this.handleFooterActionsSlotChange = (event) => {
|
159
|
+
const elements = event.target.assignedElements({
|
160
|
+
flatten: true
|
161
|
+
});
|
162
|
+
this.hasFooterActions = !!elements.length;
|
163
|
+
};
|
164
|
+
this.handleFabSlotChange = (event) => {
|
165
|
+
const elements = event.target.assignedElements({
|
166
|
+
flatten: true
|
167
|
+
});
|
168
|
+
this.hasFab = !!elements.length;
|
169
|
+
};
|
170
|
+
this.setPanelScrollEl = (el) => {
|
171
|
+
var _a, _b;
|
172
|
+
this.panelScrollEl = el;
|
173
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
174
|
+
if (el) {
|
175
|
+
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
|
176
|
+
this.resizeHandler();
|
177
|
+
}
|
178
|
+
};
|
179
|
+
}
|
180
|
+
dismissedHandler(value) {
|
181
|
+
this.closed = value;
|
182
|
+
this.calcitePanelDismissedChange.emit();
|
183
|
+
}
|
184
|
+
closedHandler(value) {
|
185
|
+
this.dismissed = value;
|
186
|
+
}
|
187
|
+
dismissibleHandler(value) {
|
188
|
+
this.closable = value;
|
189
|
+
}
|
190
|
+
closableHandler(value) {
|
191
|
+
this.dismissible = value;
|
192
|
+
}
|
193
|
+
//--------------------------------------------------------------------------
|
194
|
+
//
|
195
|
+
// Lifecycle
|
196
|
+
//
|
197
|
+
//--------------------------------------------------------------------------
|
198
|
+
componentDidRender() {
|
199
|
+
interactive.updateHostInteraction(this);
|
200
|
+
}
|
201
|
+
// --------------------------------------------------------------------------
|
202
|
+
//
|
203
|
+
// Lifecycle
|
204
|
+
//
|
205
|
+
// --------------------------------------------------------------------------
|
206
|
+
connectedCallback() {
|
207
|
+
const isClosed = this.dismissed || this.closed;
|
208
|
+
const isClosable = this.dismissible || this.closable;
|
209
|
+
if (isClosed) {
|
210
|
+
this.dismissedHandler(isClosed);
|
211
|
+
this.closedHandler(isClosed);
|
212
|
+
}
|
213
|
+
if (isClosable) {
|
214
|
+
this.dismissibleHandler(isClosable);
|
215
|
+
this.closableHandler(isClosable);
|
216
|
+
}
|
217
|
+
}
|
218
|
+
disconnectedCallback() {
|
219
|
+
var _a;
|
220
|
+
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
221
|
+
}
|
222
|
+
// --------------------------------------------------------------------------
|
223
|
+
//
|
224
|
+
// Methods
|
225
|
+
//
|
226
|
+
// --------------------------------------------------------------------------
|
227
|
+
/**
|
228
|
+
* Sets focus on the component.
|
229
|
+
*
|
230
|
+
* @param focusId
|
231
|
+
*/
|
232
|
+
async setFocus(focusId) {
|
233
|
+
const { backButtonEl, closeButtonEl, containerEl } = this;
|
234
|
+
if (focusId === "back-button") {
|
235
|
+
backButtonEl === null || backButtonEl === void 0 ? void 0 : backButtonEl.setFocus();
|
236
|
+
return;
|
237
|
+
}
|
238
|
+
if (focusId === "dismiss-button") {
|
239
|
+
closeButtonEl === null || closeButtonEl === void 0 ? void 0 : closeButtonEl.setFocus();
|
240
|
+
return;
|
241
|
+
}
|
242
|
+
if (backButtonEl) {
|
243
|
+
backButtonEl.setFocus();
|
244
|
+
return;
|
245
|
+
}
|
246
|
+
if (closeButtonEl) {
|
247
|
+
closeButtonEl.setFocus();
|
248
|
+
return;
|
249
|
+
}
|
250
|
+
containerEl === null || containerEl === void 0 ? void 0 : containerEl.focus();
|
251
|
+
}
|
252
|
+
/**
|
253
|
+
* Scrolls the component's content to a specified set of coordinates.
|
254
|
+
*
|
255
|
+
* @example
|
256
|
+
* myCalciteFlowItem.scrollContentTo({
|
257
|
+
* left: 0, // Specifies the number of pixels along the X axis to scroll the window or element.
|
258
|
+
* top: 0, // Specifies the number of pixels along the Y axis to scroll the window or element
|
259
|
+
* behavior: "auto" // Specifies whether the scrolling should animate smoothly (smooth), or happen instantly in a single jump (auto, the default value).
|
260
|
+
* });
|
261
|
+
* @param options
|
262
|
+
*/
|
263
|
+
async scrollContentTo(options) {
|
264
|
+
var _a;
|
265
|
+
(_a = this.panelScrollEl) === null || _a === void 0 ? void 0 : _a.scrollTo(options);
|
266
|
+
}
|
267
|
+
// --------------------------------------------------------------------------
|
268
|
+
//
|
269
|
+
// Render Methods
|
270
|
+
//
|
271
|
+
// --------------------------------------------------------------------------
|
272
|
+
renderBackButton() {
|
273
|
+
const { el } = this;
|
274
|
+
const rtl = dom.getElementDir(el) === "rtl";
|
275
|
+
const { showBackButton, intlBack, backButtonClick } = this;
|
276
|
+
const label = intlBack || resources.TEXT.back;
|
277
|
+
const icon = rtl ? resources.ICONS.backRight : resources.ICONS.backLeft;
|
278
|
+
return showBackButton ? (index.h("calcite-action", { "aria-label": label, class: resources.CSS.backButton, icon: icon, key: "back-button", onClick: backButtonClick, ref: this.setBackRef, scale: "s", slot: resources.SLOTS.headerActionsStart, text: label })) : null;
|
279
|
+
}
|
280
|
+
renderHeaderContent() {
|
281
|
+
const { heading, headingLevel, summary, description, hasHeaderContent } = this;
|
282
|
+
const headingNode = heading ? (index.h(Heading.Heading, { class: resources.CSS.heading, level: headingLevel || resources.HEADING_LEVEL }, heading)) : null;
|
283
|
+
const descriptionNode = description || summary ? index.h("span", { class: resources.CSS.description }, description || summary) : null;
|
284
|
+
return !hasHeaderContent && (headingNode || descriptionNode) ? (index.h("div", { class: resources.CSS.headerContent, key: "header-content" }, headingNode, descriptionNode)) : null;
|
285
|
+
}
|
286
|
+
/**
|
287
|
+
* Allows user to override the entire header-content node.
|
288
|
+
*/
|
289
|
+
renderHeaderSlottedContent() {
|
290
|
+
return (index.h("div", { class: resources.CSS.headerContent, hidden: !this.hasHeaderContent, key: "slotted-header-content" }, index.h("slot", { name: resources.SLOTS.headerContent, onSlotchange: this.handleHeaderContentSlotChange })));
|
291
|
+
}
|
292
|
+
renderHeaderStartActions() {
|
293
|
+
const { hasStartActions } = this;
|
294
|
+
return (index.h("div", { class: { [resources.CSS.headerActionsStart]: true, [resources.CSS.headerActions]: true }, hidden: !hasStartActions, key: "header-actions-start" }, index.h("slot", { name: resources.SLOTS.headerActionsStart, onSlotchange: this.handleHeaderActionsStartSlotChange })));
|
295
|
+
}
|
296
|
+
renderHeaderActionsEnd() {
|
297
|
+
const { close, hasEndActions, intlClose, closable } = this;
|
298
|
+
const text = intlClose || resources.TEXT.close;
|
299
|
+
const closableNode = closable ? (index.h("calcite-action", { "aria-label": text, icon: resources.ICONS.close, onClick: close, ref: this.setCloseRef, text: text })) : null;
|
300
|
+
const slotNode = (index.h("slot", { name: resources.SLOTS.headerActionsEnd, onSlotchange: this.handleHeaderActionsEndSlotChange }));
|
301
|
+
const showContainer = hasEndActions || closableNode;
|
302
|
+
return (index.h("div", { class: { [resources.CSS.headerActionsEnd]: true, [resources.CSS.headerActions]: true }, hidden: !showContainer, key: "header-actions-end" }, slotNode, closableNode));
|
303
|
+
}
|
304
|
+
renderMenu() {
|
305
|
+
const { hasMenuItems, intlOptions, menuOpen } = this;
|
306
|
+
return (index.h("calcite-action-menu", { flipPlacements: ["top", "bottom"], hidden: !hasMenuItems, key: "menu", label: intlOptions || resources.TEXT.options, open: menuOpen, placement: "bottom-end" }, index.h("calcite-action", { icon: resources.ICONS.menu, slot: resources$1.SLOTS.trigger, text: intlOptions || resources.TEXT.options }), index.h("slot", { name: resources.SLOTS.headerMenuActions, onSlotchange: this.handleHeaderMenuActionsSlotChange })));
|
307
|
+
}
|
308
|
+
renderHeaderNode() {
|
309
|
+
const { showBackButton, hasHeaderContent, hasStartActions, hasEndActions, closable, hasMenuItems } = this;
|
310
|
+
const headerContentNode = this.renderHeaderContent();
|
311
|
+
const showHeader = showBackButton ||
|
312
|
+
hasHeaderContent ||
|
313
|
+
headerContentNode ||
|
314
|
+
hasStartActions ||
|
315
|
+
hasEndActions ||
|
316
|
+
closable ||
|
317
|
+
hasMenuItems;
|
318
|
+
return (index.h("header", { class: resources.CSS.header, hidden: !showHeader }, this.renderBackButton(), this.renderHeaderStartActions(), this.renderHeaderSlottedContent(), headerContentNode, this.renderHeaderActionsEnd(), this.renderMenu()));
|
319
|
+
}
|
320
|
+
renderFooterNode() {
|
321
|
+
const { hasFooterContent, hasFooterActions } = this;
|
322
|
+
const showFooter = hasFooterContent || hasFooterActions;
|
323
|
+
return (index.h("footer", { class: resources.CSS.footer, hidden: !showFooter }, index.h("slot", { key: "footer-slot", name: resources.SLOTS.footer, onSlotchange: this.handleFooterSlotChange }), index.h("slot", { key: "footer-actions-slot", name: resources.SLOTS.footerActions, onSlotchange: this.handleFooterActionsSlotChange })));
|
324
|
+
}
|
325
|
+
renderContent() {
|
326
|
+
const { hasFab } = this;
|
327
|
+
const defaultSlotNode = index.h("slot", { key: "default-slot" });
|
328
|
+
const containerNode = hasFab ? (index.h("section", { class: resources.CSS.contentContainer }, defaultSlotNode)) : (defaultSlotNode);
|
329
|
+
return (index.h("div", { class: {
|
330
|
+
[resources.CSS.contentWrapper]: true,
|
331
|
+
[resources.CSS.contentContainer]: !hasFab,
|
332
|
+
[resources.CSS.contentHeight]: hasFab
|
333
|
+
}, onScroll: this.panelScrollHandler, ref: this.setPanelScrollEl }, containerNode, this.renderFab()));
|
334
|
+
}
|
335
|
+
renderFab() {
|
336
|
+
return (index.h("div", { class: resources.CSS.fabContainer, hidden: !this.hasFab }, index.h("slot", { name: resources.SLOTS.fab, onSlotchange: this.handleFabSlotChange })));
|
337
|
+
}
|
338
|
+
render() {
|
339
|
+
const { loading, panelKeyDownHandler, closed, closable } = this;
|
340
|
+
const panelNode = (index.h("article", { "aria-busy": dom.toAriaBoolean(loading), class: resources.CSS.container, hidden: closed, onKeyDown: panelKeyDownHandler, ref: this.setContainerRef, tabIndex: closable ? 0 : -1 }, this.renderHeaderNode(), this.renderContent(), this.renderFooterNode()));
|
341
|
+
return (index.h(index.Fragment, null, loading ? index.h("calcite-scrim", { loading: loading }) : null, panelNode));
|
342
|
+
}
|
343
|
+
get el() { return index.getElement(this); }
|
344
|
+
static get watchers() { return {
|
345
|
+
"dismissed": ["dismissedHandler"],
|
346
|
+
"closed": ["closedHandler"],
|
347
|
+
"dismissible": ["dismissibleHandler"],
|
348
|
+
"closable": ["closableHandler"]
|
349
|
+
}; }
|
350
|
+
};
|
351
|
+
Panel.style = panelCss;
|
352
|
+
|
353
|
+
/*!
|
354
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
355
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
356
|
+
* v1.0.0-beta.97
|
357
|
+
*/
|
358
|
+
const CSS$2 = {
|
359
|
+
main: "main",
|
360
|
+
mainReversed: "main--reversed",
|
361
|
+
content: "content",
|
362
|
+
contentBehind: "content--behind",
|
363
|
+
footer: "footer"
|
364
|
+
};
|
365
|
+
const SLOTS$3 = {
|
366
|
+
centerRow: "center-row",
|
367
|
+
primaryPanel: "primary-panel",
|
368
|
+
contextualPanel: "contextual-panel",
|
369
|
+
panelStart: "panel-start",
|
370
|
+
panelEnd: "panel-end",
|
371
|
+
header: "header",
|
372
|
+
footer: "footer"
|
373
|
+
};
|
374
|
+
|
375
|
+
const shellCss = "@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{position:absolute;inset:0px;display:flex;block-size:100%;inline-size:100%;flex-direction:column;overflow:hidden;--calcite-shell-tip-spacing:26vw}.main{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;flex-direction:row;justify-content:space-between;overflow:hidden}.main--reversed{flex-direction:row-reverse}.content{display:flex;block-size:100%;inline-size:100%;flex-direction:column;flex-wrap:nowrap;overflow:auto}.content ::slotted(calcite-shell-center-row),.content ::slotted(calcite-panel),.content ::slotted(calcite-flow){flex:1 1 auto;align-self:stretch;max-block-size:unset}.content--behind{position:absolute;inset:0px;border-width:0px;z-index:calc(1 - 1);display:initial}::slotted(calcite-shell-center-row){inline-size:unset}::slotted(.header .heading){font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal)}slot[name=panel-end]::slotted(calcite-shell-panel){-webkit-margin-start:auto;margin-inline-start:auto}::slotted(calcite-shell-panel),::slotted(calcite-shell-center-row){position:relative;z-index:1}::slotted(calcite-panel),::slotted(calcite-flow){border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3)}slot[name=center-row]::slotted(calcite-shell-center-row:not([detached])){border-inline-start-width:1px;border-inline-end-width:1px;border-color:var(--calcite-ui-border-3)}::slotted(calcite-tip-manager){position:absolute;z-index:500;box-sizing:border-box}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}::slotted(calcite-tip-manager){animation:in-up var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:0.25rem;--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);inset-block-end:0.5rem;inset-inline:var(--calcite-shell-tip-spacing)}";
|
376
|
+
|
377
|
+
const Shell = class {
|
378
|
+
constructor(hostRef) {
|
379
|
+
index.registerInstance(this, hostRef);
|
380
|
+
// --------------------------------------------------------------------------
|
381
|
+
//
|
382
|
+
// Properties
|
383
|
+
//
|
384
|
+
// --------------------------------------------------------------------------
|
385
|
+
/**
|
386
|
+
* Positions the center content behind any `calcite-shell-panel`s.
|
387
|
+
*/
|
388
|
+
this.contentBehind = false;
|
389
|
+
}
|
390
|
+
// --------------------------------------------------------------------------
|
391
|
+
//
|
392
|
+
// Lifecycle
|
393
|
+
//
|
394
|
+
// --------------------------------------------------------------------------
|
395
|
+
connectedCallback() {
|
396
|
+
conditionalSlot.connectConditionalSlotComponent(this);
|
397
|
+
}
|
398
|
+
disconnectedCallback() {
|
399
|
+
conditionalSlot.disconnectConditionalSlotComponent(this);
|
400
|
+
}
|
401
|
+
// --------------------------------------------------------------------------
|
402
|
+
//
|
403
|
+
// Render Methods
|
404
|
+
//
|
405
|
+
// --------------------------------------------------------------------------
|
406
|
+
renderHeader() {
|
407
|
+
const hasHeader = !!dom.getSlotted(this.el, SLOTS$3.header);
|
408
|
+
return hasHeader ? index.h("slot", { key: "header", name: SLOTS$3.header }) : null;
|
409
|
+
}
|
410
|
+
renderContent() {
|
411
|
+
const defaultSlotNode = index.h("slot", { key: "default-slot" });
|
412
|
+
const centerRowSlotNode = index.h("slot", { key: "center-row-slot", name: SLOTS$3.centerRow });
|
413
|
+
const contentContainerKey = "content-container";
|
414
|
+
const content = !!this.contentBehind
|
415
|
+
? [
|
416
|
+
index.h("div", { class: {
|
417
|
+
[CSS$2.content]: true,
|
418
|
+
[CSS$2.contentBehind]: true
|
419
|
+
}, key: contentContainerKey }, defaultSlotNode),
|
420
|
+
centerRowSlotNode
|
421
|
+
]
|
422
|
+
: [
|
423
|
+
index.h("div", { class: CSS$2.content, key: contentContainerKey }, defaultSlotNode, centerRowSlotNode)
|
424
|
+
];
|
425
|
+
return content;
|
426
|
+
}
|
427
|
+
renderFooter() {
|
428
|
+
const hasFooter = !!dom.getSlotted(this.el, SLOTS$3.footer);
|
429
|
+
return hasFooter ? (index.h("div", { class: CSS$2.footer, key: "footer" }, index.h("slot", { name: SLOTS$3.footer }))) : null;
|
430
|
+
}
|
431
|
+
renderMain() {
|
432
|
+
const primaryPanel = dom.getSlotted(this.el, SLOTS$3.primaryPanel);
|
433
|
+
const mainClasses = {
|
434
|
+
[CSS$2.main]: true,
|
435
|
+
[CSS$2.mainReversed]: (primaryPanel === null || primaryPanel === void 0 ? void 0 : primaryPanel.position) === "end"
|
436
|
+
};
|
437
|
+
return (index.h("div", { class: mainClasses }, index.h("slot", { name: SLOTS$3.primaryPanel }), index.h("slot", { name: SLOTS$3.panelStart }), this.renderContent(), index.h("slot", { name: SLOTS$3.panelEnd }), index.h("slot", { name: SLOTS$3.contextualPanel })));
|
438
|
+
}
|
439
|
+
render() {
|
440
|
+
return (index.h(index.Fragment, null, this.renderHeader(), this.renderMain(), this.renderFooter()));
|
441
|
+
}
|
442
|
+
get el() { return index.getElement(this); }
|
443
|
+
};
|
444
|
+
Shell.style = shellCss;
|
30
445
|
|
31
446
|
/*!
|
32
447
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -1381,19 +1796,19 @@ const ValueListItem = class {
|
|
1381
1796
|
renderActionsEnd() {
|
1382
1797
|
const { el } = this;
|
1383
1798
|
const hasActionsEnd = dom.getSlotted(el, SLOTS.actionsEnd);
|
1384
|
-
return hasActionsEnd ? (index.h("slot", { name: SLOTS.actionsEnd, slot: resources$
|
1799
|
+
return hasActionsEnd ? (index.h("slot", { name: SLOTS.actionsEnd, slot: resources$3.SLOTS.actionsEnd })) : null;
|
1385
1800
|
}
|
1386
1801
|
renderActionsStart() {
|
1387
1802
|
const { el } = this;
|
1388
1803
|
const hasActionsStart = dom.getSlotted(el, SLOTS.actionsStart);
|
1389
|
-
return hasActionsStart ? (index.h("slot", { name: SLOTS.actionsStart, slot: resources$
|
1804
|
+
return hasActionsStart ? (index.h("slot", { name: SLOTS.actionsStart, slot: resources$3.SLOTS.actionsStart })) : null;
|
1390
1805
|
}
|
1391
1806
|
renderHandle() {
|
1392
1807
|
const { icon } = this;
|
1393
|
-
if (icon === resources.ICON_TYPES.grip) {
|
1808
|
+
if (icon === resources$2.ICON_TYPES.grip) {
|
1394
1809
|
return (index.h("span", { class: {
|
1395
|
-
[resources$
|
1396
|
-
[resources$
|
1810
|
+
[resources$3.CSS.handle]: true,
|
1811
|
+
[resources$3.CSS.handleActivated]: this.handleActivated
|
1397
1812
|
}, "data-js-handle": true, onBlur: this.handleBlur, onKeyDown: this.handleKeyDown, role: "button", tabindex: "0" }, index.h("calcite-icon", { icon: ICONS.drag, scale: "s" })));
|
1398
1813
|
}
|
1399
1814
|
}
|
@@ -1794,24 +2209,18 @@ const JsonEditor = class {
|
|
1794
2209
|
};
|
1795
2210
|
JsonEditor.style = jsonEditorCss;
|
1796
2211
|
|
1797
|
-
const
|
2212
|
+
const solutionOrganizationVariablesCss = ":host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";
|
1798
2213
|
|
1799
|
-
const
|
2214
|
+
const SolutionOrganizationVariables = class {
|
1800
2215
|
constructor(hostRef) {
|
1801
2216
|
index.registerInstance(this, hostRef);
|
1802
|
-
this.
|
1803
|
-
this.
|
1804
|
-
|
1805
|
-
description: "",
|
1806
|
-
licenseInfo: "",
|
1807
|
-
snippet: "",
|
1808
|
-
tags: [],
|
1809
|
-
title: ""
|
1810
|
-
};
|
1811
|
-
this.itemEdit = undefined;
|
2217
|
+
this.organizationVariableSelected = index.createEvent(this, "organizationVariableSelected", 7);
|
2218
|
+
this.value = "";
|
2219
|
+
this._organizationVariables = [];
|
1812
2220
|
this._translations = undefined;
|
1813
|
-
|
1814
|
-
|
2221
|
+
}
|
2222
|
+
valueWatchHandler() {
|
2223
|
+
this._organizationVariables = JSON.parse(this.value);
|
1815
2224
|
}
|
1816
2225
|
//--------------------------------------------------------------------------
|
1817
2226
|
//
|
@@ -1824,70 +2233,14 @@ const SolutionItemDetails = class {
|
|
1824
2233
|
async componentWillLoad() {
|
1825
2234
|
return this._getTranslations();
|
1826
2235
|
}
|
1827
|
-
async componentWillRender() {
|
1828
|
-
this.itemEdit = solutionStore.state.getItemInfo(this.itemId);
|
1829
|
-
if (this.itemEdit) {
|
1830
|
-
this.itemDetails = this.itemEdit.item;
|
1831
|
-
this.itemType = this.itemDetails.type;
|
1832
|
-
}
|
1833
|
-
return Promise.resolve();
|
1834
|
-
}
|
1835
2236
|
/**
|
1836
2237
|
* Renders the component.
|
1837
2238
|
*/
|
1838
2239
|
render() {
|
1839
|
-
return (index.h(index.Host, null, index.h("div",
|
1840
|
-
}
|
1841
|
-
componentDidRender() {
|
1842
|
-
this._loadThumb();
|
1843
|
-
}
|
1844
|
-
//--------------------------------------------------------------------------
|
1845
|
-
//
|
1846
|
-
// Event Listeners
|
1847
|
-
//
|
1848
|
-
//--------------------------------------------------------------------------
|
1849
|
-
/**
|
1850
|
-
* Updates the component's value with changes to the input fields.
|
1851
|
-
*/
|
1852
|
-
inputReceivedHandler(event) {
|
1853
|
-
switch (event.target.id) {
|
1854
|
-
case "item-title":
|
1855
|
-
this.itemDetails.title = event.target.value;
|
1856
|
-
this._updateStore();
|
1857
|
-
break;
|
1858
|
-
case "item-snippet":
|
1859
|
-
if (event.target.value.length > 250) {
|
1860
|
-
event.target.value = event.target.value.substring(0, 250);
|
1861
|
-
}
|
1862
|
-
this.itemDetails.snippet = event.target.value;
|
1863
|
-
this._updateLengthLabel(this.itemDetails.snippet);
|
1864
|
-
this._updateStore();
|
1865
|
-
break;
|
1866
|
-
case "item-description":
|
1867
|
-
this.itemDetails.description = event.target.value;
|
1868
|
-
this._updateStore();
|
1869
|
-
break;
|
1870
|
-
case "item-tags":
|
1871
|
-
this.itemDetails.tags = event.target.value;
|
1872
|
-
this._updateStore();
|
1873
|
-
break;
|
1874
|
-
case "item-credits":
|
1875
|
-
this.itemDetails.accessInformation = event.target.value;
|
1876
|
-
this._updateStore();
|
1877
|
-
break;
|
1878
|
-
case "item-terms":
|
1879
|
-
this.itemDetails.licenseInfo = event.target.value;
|
1880
|
-
this._updateStore();
|
1881
|
-
break;
|
1882
|
-
}
|
2240
|
+
return (index.h(index.Host, null, index.h("div", null, index.h("h4", { class: "org-var-header" }, this._translations.orgVariables)), index.h("div", { class: "container-border" }, index.h("calcite-tree", { id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
|
1883
2241
|
}
|
1884
2242
|
//--------------------------------------------------------------------------
|
1885
2243
|
//
|
1886
|
-
// Events
|
1887
|
-
//
|
1888
|
-
//--------------------------------------------------------------------------
|
1889
|
-
//--------------------------------------------------------------------------
|
1890
|
-
//
|
1891
2244
|
// Public Methods (async)
|
1892
2245
|
//
|
1893
2246
|
//--------------------------------------------------------------------------
|
@@ -1897,67 +2250,27 @@ const SolutionItemDetails = class {
|
|
1897
2250
|
//
|
1898
2251
|
//--------------------------------------------------------------------------
|
1899
2252
|
/**
|
1900
|
-
*
|
1901
|
-
*
|
1902
|
-
*/
|
1903
|
-
_getThumbnail() {
|
1904
|
-
this.browseForThumbnail.click();
|
1905
|
-
}
|
1906
|
-
/**
|
1907
|
-
* Load the templates thumbnail
|
1908
|
-
*
|
1909
|
-
*/
|
1910
|
-
_loadThumb() {
|
1911
|
-
var _a;
|
1912
|
-
if (this.thumbnail && ((_a = this.itemEdit) === null || _a === void 0 ? void 0 : _a.thumbnail)) {
|
1913
|
-
// Show the thumbnail
|
1914
|
-
this.thumbnail.src = URL.createObjectURL(this.itemEdit.thumbnail);
|
1915
|
-
this.thumbnailContainer.classList.remove("empty-box");
|
1916
|
-
this.thumbnail.classList.remove("display-none");
|
1917
|
-
}
|
1918
|
-
else {
|
1919
|
-
// Replace the thumbnail with an empty box
|
1920
|
-
this.thumbnailContainer.classList.add("empty-box");
|
1921
|
-
this.thumbnail.classList.add("display-none");
|
1922
|
-
}
|
1923
|
-
}
|
1924
|
-
/**
|
1925
|
-
* Updates the length label to reflect the current number of characters
|
1926
|
-
* relative to the max number of characters supported.
|
2253
|
+
* Renders the organization based variable items the user can insert at runtime
|
1927
2254
|
*
|
1928
|
-
* @param
|
1929
|
-
*/
|
1930
|
-
_updateLengthLabel(phrase) {
|
1931
|
-
this.itemSnippetCount.innerText =
|
1932
|
-
this._translations.snippetCountPattern.replace("{{n}}", phrase.length.toString());
|
1933
|
-
}
|
1934
|
-
/**
|
1935
|
-
* Add or remove the value from the store
|
2255
|
+
* @param objs a list of organization variables to render
|
1936
2256
|
*/
|
1937
|
-
|
1938
|
-
|
1939
|
-
|
1940
|
-
|
2257
|
+
_renderHierarchy(objs) {
|
2258
|
+
const hierarchy = objs.map(obj => {
|
2259
|
+
return (index.h("calcite-tree-item", { onClick: () => this._treeItemSelected(obj.id, obj.value) }, obj.title));
|
2260
|
+
});
|
2261
|
+
return hierarchy;
|
1941
2262
|
}
|
1942
2263
|
/**
|
1943
|
-
*
|
2264
|
+
* Publishes the `organizationVariableSelected` event containing `itemId`, the id of the selected variable and the value of the variable.
|
1944
2265
|
*
|
1945
|
-
* @param
|
1946
|
-
* @param
|
1947
|
-
* should be false on the initial load but true the rest of the time
|
2266
|
+
* @param itemId Item id as reported by click event
|
2267
|
+
* @param value Variable id as reported by click event
|
1948
2268
|
*/
|
1949
|
-
|
1950
|
-
|
1951
|
-
|
1952
|
-
|
1953
|
-
|
1954
|
-
this.thumbnail.src = URL.createObjectURL(files[0]);
|
1955
|
-
// Update info in store
|
1956
|
-
this.itemEdit = solutionStore.state.getItemInfo(this.itemId);
|
1957
|
-
this.itemEdit.thumbnail = files[0];
|
1958
|
-
solutionStore.state.replaceItemThumbnail(this.itemEdit);
|
1959
|
-
}
|
1960
|
-
}
|
2269
|
+
_treeItemSelected(itemId, value) {
|
2270
|
+
this.organizationVariableSelected.emit({
|
2271
|
+
itemId,
|
2272
|
+
value
|
2273
|
+
});
|
1961
2274
|
}
|
1962
2275
|
/**
|
1963
2276
|
* Fetches the component's translations
|
@@ -1969,21 +2282,24 @@ const SolutionItemDetails = class {
|
|
1969
2282
|
this._translations = translations[0];
|
1970
2283
|
}
|
1971
2284
|
get el() { return index.getElement(this); }
|
2285
|
+
static get watchers() { return {
|
2286
|
+
"value": ["valueWatchHandler"]
|
2287
|
+
}; }
|
1972
2288
|
};
|
1973
|
-
|
2289
|
+
SolutionOrganizationVariables.style = solutionOrganizationVariablesCss;
|
1974
2290
|
|
1975
|
-
const
|
2291
|
+
const solutionVariablesCss = ":host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.container-border{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";
|
1976
2292
|
|
1977
|
-
const
|
2293
|
+
const SolutionVariables = class {
|
1978
2294
|
constructor(hostRef) {
|
1979
2295
|
index.registerInstance(this, hostRef);
|
1980
|
-
this.
|
2296
|
+
this.solutionVariableSelected = index.createEvent(this, "solutionVariableSelected", 7);
|
2297
|
+
this.value = "";
|
2298
|
+
this._solutionVariables = [];
|
1981
2299
|
this._translations = undefined;
|
1982
|
-
this.sharing = [];
|
1983
2300
|
}
|
1984
|
-
|
1985
|
-
|
1986
|
-
this.sharing = itemEdit.groupDetails;
|
2301
|
+
valueWatchHandler() {
|
2302
|
+
this._solutionVariables = JSON.parse(this.value);
|
1987
2303
|
}
|
1988
2304
|
//--------------------------------------------------------------------------
|
1989
2305
|
//
|
@@ -1993,572 +2309,14 @@ const SolutionItemSharing = class {
|
|
1993
2309
|
/**
|
1994
2310
|
* StencilJS: Called once just after the component is first connected to the DOM.
|
1995
2311
|
*/
|
1996
|
-
|
2312
|
+
componentWillLoad() {
|
1997
2313
|
return this._getTranslations();
|
1998
2314
|
}
|
1999
2315
|
/**
|
2000
2316
|
* Renders the component.
|
2001
2317
|
*/
|
2002
2318
|
render() {
|
2003
|
-
return (index.h(index.Host, null, index.h("div", { class: "container-border" }, index.h("calcite-
|
2004
|
-
}
|
2005
|
-
//--------------------------------------------------------------------------
|
2006
|
-
//
|
2007
|
-
// Event Listeners
|
2008
|
-
//
|
2009
|
-
//--------------------------------------------------------------------------
|
2010
|
-
//--------------------------------------------------------------------------
|
2011
|
-
//
|
2012
|
-
// Events
|
2013
|
-
//
|
2014
|
-
//--------------------------------------------------------------------------
|
2015
|
-
//--------------------------------------------------------------------------
|
2016
|
-
//
|
2017
|
-
// Public Methods (async)
|
2018
|
-
//
|
2019
|
-
//--------------------------------------------------------------------------
|
2020
|
-
async getShareInfo() {
|
2021
|
-
return this.sharing;
|
2022
|
-
}
|
2023
|
-
//--------------------------------------------------------------------------
|
2024
|
-
//
|
2025
|
-
// Private Methods
|
2026
|
-
//
|
2027
|
-
//--------------------------------------------------------------------------
|
2028
|
-
/**
|
2029
|
-
* Render share options based on the list of share details
|
2030
|
-
*
|
2031
|
-
* @param objs list of IItemShare objects that are used to expose and store share info for the solutions items
|
2032
|
-
*/
|
2033
|
-
_renderItems(objs) {
|
2034
|
-
return objs && objs.length > 0
|
2035
|
-
? objs.map(item => {
|
2036
|
-
return (index.h("calcite-label", { layout: "inline" }, index.h("calcite-switch", { id: item.id, name: "setting", onCalciteSwitchChange: (event) => this._updateItem(event), scale: "m", switched: item.shareItem, value: "enabled" }), index.h("solution-item-icon", { type: item.type, typeKeywords: item.typeKeywords }), index.h("span", { class: "icon-text", title: item.title }, item.title)));
|
2037
|
-
})
|
2038
|
-
: null;
|
2039
|
-
}
|
2040
|
-
/**
|
2041
|
-
* Update the items share prop based on the switch state
|
2042
|
-
*
|
2043
|
-
* @param event onCalciteSwitchChange event
|
2044
|
-
*/
|
2045
|
-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
|
2046
|
-
_updateItem(event) {
|
2047
|
-
const id = event.target.id;
|
2048
|
-
this.sharing = this.sharing.map((itemShare) => {
|
2049
|
-
if (itemShare.id === id) {
|
2050
|
-
// update the item
|
2051
|
-
itemShare.shareItem = event.detail.switched;
|
2052
|
-
// update the item in the store
|
2053
|
-
const itemEdit = solutionStore.state.getItemInfo(id);
|
2054
|
-
if (itemShare.shareItem) {
|
2055
|
-
// Add the group to the item if it's not already there
|
2056
|
-
if (!itemEdit.groups) {
|
2057
|
-
itemEdit.groups = [this.groupId];
|
2058
|
-
}
|
2059
|
-
else if (itemEdit.groups.indexOf(this.groupId) < 0) {
|
2060
|
-
itemEdit.groups.push(this.groupId);
|
2061
|
-
}
|
2062
|
-
}
|
2063
|
-
else {
|
2064
|
-
// Remove the group from the item if it's there
|
2065
|
-
if (itemEdit.groups) {
|
2066
|
-
const i = itemEdit.groups.indexOf(this.groupId);
|
2067
|
-
if (i > -1) {
|
2068
|
-
itemEdit.groups.splice(i, 1);
|
2069
|
-
}
|
2070
|
-
}
|
2071
|
-
}
|
2072
|
-
solutionStore.state.setItemInfo(itemEdit);
|
2073
|
-
}
|
2074
|
-
return itemShare;
|
2075
|
-
});
|
2076
|
-
}
|
2077
|
-
/**
|
2078
|
-
* Fetches the component's translations
|
2079
|
-
*
|
2080
|
-
* @protected
|
2081
|
-
*/
|
2082
|
-
async _getTranslations() {
|
2083
|
-
const translations = await locale.getLocaleComponentStrings(this.el);
|
2084
|
-
this._translations = translations[0];
|
2085
|
-
}
|
2086
|
-
get el() { return index.getElement(this); }
|
2087
|
-
static get watchers() { return {
|
2088
|
-
"groupId": ["itemIdWatchHandler"]
|
2089
|
-
}; }
|
2090
|
-
};
|
2091
|
-
SolutionItemSharing.style = solutionItemSharingCss;
|
2092
|
-
|
2093
|
-
const solutionOrganizationVariablesCss = ":host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";
|
2094
|
-
|
2095
|
-
const SolutionOrganizationVariables = class {
|
2096
|
-
constructor(hostRef) {
|
2097
|
-
index.registerInstance(this, hostRef);
|
2098
|
-
this.organizationVariableSelected = index.createEvent(this, "organizationVariableSelected", 7);
|
2099
|
-
this.value = "";
|
2100
|
-
this._organizationVariables = [];
|
2101
|
-
this._translations = undefined;
|
2102
|
-
}
|
2103
|
-
valueWatchHandler() {
|
2104
|
-
this._organizationVariables = JSON.parse(this.value);
|
2105
|
-
}
|
2106
|
-
//--------------------------------------------------------------------------
|
2107
|
-
//
|
2108
|
-
// Lifecycle
|
2109
|
-
//
|
2110
|
-
//--------------------------------------------------------------------------
|
2111
|
-
/**
|
2112
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
2113
|
-
*/
|
2114
|
-
async componentWillLoad() {
|
2115
|
-
return this._getTranslations();
|
2116
|
-
}
|
2117
|
-
/**
|
2118
|
-
* Renders the component.
|
2119
|
-
*/
|
2120
|
-
render() {
|
2121
|
-
return (index.h(index.Host, null, index.h("div", null, index.h("h4", { class: "org-var-header" }, this._translations.orgVariables)), index.h("div", { class: "container-border" }, index.h("calcite-tree", { id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
|
2122
|
-
}
|
2123
|
-
//--------------------------------------------------------------------------
|
2124
|
-
//
|
2125
|
-
// Public Methods (async)
|
2126
|
-
//
|
2127
|
-
//--------------------------------------------------------------------------
|
2128
|
-
//--------------------------------------------------------------------------
|
2129
|
-
//
|
2130
|
-
// Private Methods
|
2131
|
-
//
|
2132
|
-
//--------------------------------------------------------------------------
|
2133
|
-
/**
|
2134
|
-
* Renders the organization based variable items the user can insert at runtime
|
2135
|
-
*
|
2136
|
-
* @param objs a list of organization variables to render
|
2137
|
-
*/
|
2138
|
-
_renderHierarchy(objs) {
|
2139
|
-
const hierarchy = objs.map(obj => {
|
2140
|
-
return (index.h("calcite-tree-item", { onClick: () => this._treeItemSelected(obj.id, obj.value) }, obj.title));
|
2141
|
-
});
|
2142
|
-
return hierarchy;
|
2143
|
-
}
|
2144
|
-
/**
|
2145
|
-
* Publishes the `organizationVariableSelected` event containing `itemId`, the id of the selected variable and the value of the variable.
|
2146
|
-
*
|
2147
|
-
* @param itemId Item id as reported by click event
|
2148
|
-
* @param value Variable id as reported by click event
|
2149
|
-
*/
|
2150
|
-
_treeItemSelected(itemId, value) {
|
2151
|
-
this.organizationVariableSelected.emit({
|
2152
|
-
itemId,
|
2153
|
-
value
|
2154
|
-
});
|
2155
|
-
}
|
2156
|
-
/**
|
2157
|
-
* Fetches the component's translations
|
2158
|
-
*
|
2159
|
-
* @protected
|
2160
|
-
*/
|
2161
|
-
async _getTranslations() {
|
2162
|
-
const translations = await locale.getLocaleComponentStrings(this.el);
|
2163
|
-
this._translations = translations[0];
|
2164
|
-
}
|
2165
|
-
get el() { return index.getElement(this); }
|
2166
|
-
static get watchers() { return {
|
2167
|
-
"value": ["valueWatchHandler"]
|
2168
|
-
}; }
|
2169
|
-
};
|
2170
|
-
SolutionOrganizationVariables.style = solutionOrganizationVariablesCss;
|
2171
|
-
|
2172
|
-
const solutionResourceItemCss = ":host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.resource-item{padding:1rem}.resource-button{-webkit-margin-end:1rem;margin-inline-end:1rem}.resource-progress{padding-top:1rem}.resources-container{border:1px #808080 solid}.margin-bottom-1{margin-bottom:1rem}";
|
2173
|
-
|
2174
|
-
const SolutionResourceItem = class {
|
2175
|
-
constructor(hostRef) {
|
2176
|
-
index.registerInstance(this, hostRef);
|
2177
|
-
this._removedResources = {};
|
2178
|
-
this.authentication = undefined;
|
2179
|
-
this.itemId = "";
|
2180
|
-
this.resourceFilePaths = [];
|
2181
|
-
this.resources = [];
|
2182
|
-
this._translations = undefined;
|
2183
|
-
}
|
2184
|
-
itemIdWatchHandler() {
|
2185
|
-
const item = solutionStore.state.getItemInfo(this.itemId);
|
2186
|
-
this.resourceFilePaths = item.resourceFilePaths;
|
2187
|
-
this.resources = item.resources.map(
|
2188
|
-
// False linting error
|
2189
|
-
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
|
2190
|
-
(path) => path.substring(path.lastIndexOf("/") + 1));
|
2191
|
-
}
|
2192
|
-
//--------------------------------------------------------------------------
|
2193
|
-
//
|
2194
|
-
// Lifecycle
|
2195
|
-
//
|
2196
|
-
//--------------------------------------------------------------------------
|
2197
|
-
/**
|
2198
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
2199
|
-
*/
|
2200
|
-
componentWillLoad() {
|
2201
|
-
return this._getTranslations();
|
2202
|
-
}
|
2203
|
-
/**
|
2204
|
-
* Renders the component.
|
2205
|
-
*/
|
2206
|
-
render() {
|
2207
|
-
const hasValidResources = this._hasValidResources();
|
2208
|
-
return (index.h(index.Host, null, index.h("div", { class: "resource-item" }, index.h("div", { class: "margin-bottom-1" }, index.h("calcite-button", { appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), index.h("calcite-button", { appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), index.h("div", { class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
|
2209
|
-
}
|
2210
|
-
//--------------------------------------------------------------------------
|
2211
|
-
//
|
2212
|
-
// Event Listeners
|
2213
|
-
//
|
2214
|
-
//--------------------------------------------------------------------------
|
2215
|
-
//--------------------------------------------------------------------------
|
2216
|
-
//
|
2217
|
-
// Events
|
2218
|
-
//
|
2219
|
-
//--------------------------------------------------------------------------
|
2220
|
-
//--------------------------------------------------------------------------
|
2221
|
-
//
|
2222
|
-
// Public Methods (async)
|
2223
|
-
//
|
2224
|
-
//--------------------------------------------------------------------------
|
2225
|
-
//--------------------------------------------------------------------------
|
2226
|
-
//
|
2227
|
-
// Private Methods
|
2228
|
-
//
|
2229
|
-
//--------------------------------------------------------------------------
|
2230
|
-
/**
|
2231
|
-
* Render resources while avoiding thumbnail resoures that are managed by solution-item
|
2232
|
-
*
|
2233
|
-
*/
|
2234
|
-
_renderResourceList() {
|
2235
|
-
return (index.h("calcite-value-list", { multiple: true }, this.resourceFilePaths.reduce((prev, cur) => {
|
2236
|
-
if (cur.type !== solutionStore.EFileType.Thumbnail) {
|
2237
|
-
prev.push(this._renderResource(cur));
|
2238
|
-
}
|
2239
|
-
return prev;
|
2240
|
-
}, [])));
|
2241
|
-
}
|
2242
|
-
/**
|
2243
|
-
* Render the resource and supporting actions for download/update/delete/(reset..if deleted)
|
2244
|
-
*
|
2245
|
-
* @param resource the filename and url used to interact with the resource
|
2246
|
-
*/
|
2247
|
-
_renderResource(resource) {
|
2248
|
-
const resettable = resource.updateType === interfaces.EUpdateType.Remove;
|
2249
|
-
const fullname = resource.folder ? resource.folder + "/" + resource.filename : resource.filename;
|
2250
|
-
return (index.h("calcite-value-list-item", { class: resettable ? "disabled" : "", label: fullname, nonInteractive: true, value: resource.url }, index.h("calcite-action-group", { "expand-disabled": "true", layout: "horizontal", slot: "actions-end" }, index.h("calcite-action", { disabled: resettable, icon: "download", label: this._translations.download, onClick: () => this._download(resource.url, resource.filename), scale: "m", text: this._translations.download, title: this._translations.download }), index.h("calcite-action", { disabled: resettable, icon: "upload-to", label: this._translations.update, onClick: () => this._upload(resource), scale: "m", text: this._translations.update, title: this._translations.update }), index.h("calcite-action", { disabled: resettable, icon: "trash", label: this._translations.delete, onClick: () => this._delete(resource), scale: "m", text: this._translations.delete, title: this._translations.delete }), resettable ? index.h("calcite-action", { icon: "reset", label: this._translations.reset, onClick: () => this._reset(resource.filename), scale: "m", text: this._translations.reset, title: this._translations.reset }) : index.h("div", { class: "display-none" }))));
|
2251
|
-
}
|
2252
|
-
/**
|
2253
|
-
* Adds the name to the deleted array so it will be skipped while rendering
|
2254
|
-
* but still exist if the user chooses to reset
|
2255
|
-
*
|
2256
|
-
* @param resource the resource to be updated
|
2257
|
-
*/
|
2258
|
-
_delete(resource) {
|
2259
|
-
resource.updateType = interfaces.EUpdateType.Remove;
|
2260
|
-
this.resourceFilePaths = [...this.resourceFilePaths]; // to trigger refresh
|
2261
|
-
this._updateStore();
|
2262
|
-
}
|
2263
|
-
/**
|
2264
|
-
* Remove the name from the deleted array so it will again be rendered
|
2265
|
-
*
|
2266
|
-
* @param name the name to be added to the deleted array
|
2267
|
-
*/
|
2268
|
-
_reset(name) {
|
2269
|
-
// need to make sure I know if this reset is from the source or a new one
|
2270
|
-
// Because the item's `resources` array is not updated until (and if) the solution is saved,
|
2271
|
-
// we can use it for the reset info
|
2272
|
-
this.resources.some(resourceName => resourceName === name) ?
|
2273
|
-
// Undo removing an existing resource
|
2274
|
-
this.resourceFilePaths = this.resourceFilePaths.map(p => {
|
2275
|
-
if (p.filename === name) {
|
2276
|
-
p.updateType = interfaces.EUpdateType.None;
|
2277
|
-
}
|
2278
|
-
return p;
|
2279
|
-
}) :
|
2280
|
-
// Undo cancelling the adding of a resource
|
2281
|
-
this.resourceFilePaths = this.resourceFilePaths.map(p => {
|
2282
|
-
if (p.filename === name) {
|
2283
|
-
p.updateType = interfaces.EUpdateType.Add;
|
2284
|
-
}
|
2285
|
-
return p;
|
2286
|
-
});
|
2287
|
-
this._updateStore();
|
2288
|
-
}
|
2289
|
-
/**
|
2290
|
-
* Download all of the templates resources
|
2291
|
-
*
|
2292
|
-
*/
|
2293
|
-
_downloadAll() {
|
2294
|
-
this.resourceFilePaths.forEach((resource) => {
|
2295
|
-
this._download(resource.url, resource.filename);
|
2296
|
-
});
|
2297
|
-
}
|
2298
|
-
/**
|
2299
|
-
* Download the current resource
|
2300
|
-
*
|
2301
|
-
* @param url the resource url
|
2302
|
-
* @param name the resource name
|
2303
|
-
*/
|
2304
|
-
_download(url, name) {
|
2305
|
-
// files that have been added manually do not need to be requested from the item
|
2306
|
-
if (url.startsWith("blob")) {
|
2307
|
-
this.downloadFile(url, name);
|
2308
|
-
}
|
2309
|
-
else {
|
2310
|
-
const _url = `${url}?token=${this.authentication.token}`;
|
2311
|
-
void this.fetchAndDownload(_url, name);
|
2312
|
-
}
|
2313
|
-
}
|
2314
|
-
/**
|
2315
|
-
* Dynamically creates an anchor and downloads the file
|
2316
|
-
*
|
2317
|
-
* @param url the url of the resource
|
2318
|
-
* @param name the name of the resource
|
2319
|
-
*/
|
2320
|
-
downloadFile(url, name) {
|
2321
|
-
const link = document.createElement("a");
|
2322
|
-
link.href = url;
|
2323
|
-
link.download = name;
|
2324
|
-
link.target = "_blank";
|
2325
|
-
link.click();
|
2326
|
-
}
|
2327
|
-
/**
|
2328
|
-
* Check if the template resources have any non-thumbnail resources
|
2329
|
-
*
|
2330
|
-
* @returns true if we have data resources and false if only thumbnail
|
2331
|
-
*/
|
2332
|
-
_hasValidResources() {
|
2333
|
-
return this.resourceFilePaths.some(r => r.url.indexOf("_info_thumbnail") < 0);
|
2334
|
-
}
|
2335
|
-
/**
|
2336
|
-
* Fetches and downloads the resource from the solution
|
2337
|
-
*
|
2338
|
-
* @param url the url of the resource
|
2339
|
-
* @param name the name of the resource
|
2340
|
-
*/
|
2341
|
-
async fetchAndDownload(url, name) {
|
2342
|
-
const image = await fetch(url);
|
2343
|
-
const b = await image.blob();
|
2344
|
-
const bURL = URL.createObjectURL(b);
|
2345
|
-
this.downloadFile(bURL, name);
|
2346
|
-
}
|
2347
|
-
/**
|
2348
|
-
* Create an input element to support the uploading of the resource and upload the resource
|
2349
|
-
*
|
2350
|
-
* @param resource the resource to be updated
|
2351
|
-
*/
|
2352
|
-
_upload(resource) {
|
2353
|
-
const _input = document.createElement("input");
|
2354
|
-
_input.classList.add("display-none");
|
2355
|
-
_input.onchange = this._updateResource.bind(this, resource);
|
2356
|
-
_input.type = "file";
|
2357
|
-
_input.click();
|
2358
|
-
}
|
2359
|
-
/**
|
2360
|
-
* Create an input element to support the uploading of a resource and add the new resource
|
2361
|
-
*
|
2362
|
-
*/
|
2363
|
-
_addNewResource() {
|
2364
|
-
const _input = document.createElement("input");
|
2365
|
-
_input.classList.add("display-none");
|
2366
|
-
_input.onchange = this._add.bind(this);
|
2367
|
-
_input.type = "file";
|
2368
|
-
_input.click();
|
2369
|
-
}
|
2370
|
-
/**
|
2371
|
-
* Replace the resource file path when update action is used
|
2372
|
-
*
|
2373
|
-
* @param resourcePath the resource to be updated
|
2374
|
-
* @param event the input event that contains the file
|
2375
|
-
*/
|
2376
|
-
_updateResource(resourcePath, event) {
|
2377
|
-
const files = event.target.files;
|
2378
|
-
if (files && files[0]) {
|
2379
|
-
resourcePath.blob = files[0];
|
2380
|
-
resourcePath.updateType = interfaces.EUpdateType.Update;
|
2381
|
-
this._updateStore();
|
2382
|
-
}
|
2383
|
-
}
|
2384
|
-
/**
|
2385
|
-
* Add the new resource to the resource file paths
|
2386
|
-
*
|
2387
|
-
* @param event the inputs event that contains the new file
|
2388
|
-
*/
|
2389
|
-
_add(event) {
|
2390
|
-
const files = event.target.files;
|
2391
|
-
if (files && files[0]) {
|
2392
|
-
const url = URL.createObjectURL(files[0]);
|
2393
|
-
const filename = files[0].name;
|
2394
|
-
// Add the item if it's not already in the resource file paths list
|
2395
|
-
if (!this.resourceFilePaths.some(r => r.filename === filename && r.url === url)) {
|
2396
|
-
this.resourceFilePaths = [
|
2397
|
-
...this.resourceFilePaths,
|
2398
|
-
{
|
2399
|
-
url,
|
2400
|
-
type: solutionStore.EFileType.Data,
|
2401
|
-
folder: undefined,
|
2402
|
-
filename,
|
2403
|
-
blob: files[0],
|
2404
|
-
updateType: interfaces.EUpdateType.Add
|
2405
|
-
}
|
2406
|
-
];
|
2407
|
-
this._updateStore();
|
2408
|
-
}
|
2409
|
-
}
|
2410
|
-
}
|
2411
|
-
/**
|
2412
|
-
* Add or remove the value from the store
|
2413
|
-
*/
|
2414
|
-
_updateStore() {
|
2415
|
-
const item = solutionStore.state.getItemInfo(this.itemId);
|
2416
|
-
item.resourceFilePaths = this.resourceFilePaths;
|
2417
|
-
solutionStore.state.setItemInfo(item);
|
2418
|
-
}
|
2419
|
-
/**
|
2420
|
-
* Fetches the component's translations
|
2421
|
-
*
|
2422
|
-
* @protected
|
2423
|
-
*/
|
2424
|
-
async _getTranslations() {
|
2425
|
-
const translations = await locale.getLocaleComponentStrings(this.el);
|
2426
|
-
this._translations = translations[0];
|
2427
|
-
}
|
2428
|
-
get el() { return index.getElement(this); }
|
2429
|
-
static get watchers() { return {
|
2430
|
-
"itemId": ["itemIdWatchHandler"]
|
2431
|
-
}; }
|
2432
|
-
};
|
2433
|
-
SolutionResourceItem.style = solutionResourceItemCss;
|
2434
|
-
|
2435
|
-
const solutionTemplateDataCss = ":host{display:flexbox}.solution-data-container{position:absolute;height:-moz-available;height:calc(100% - 48px);height:-webkit-fill-available;height:stretch;width:-moz-available;width:100%;width:-webkit-fill-available;width:stretch}.solution-data-child-container{display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.solution-data-editor-container{height:100%}.solution-data-child-container-collapsed{display:flex;height:100%;flex-direction:column;overflow:auto;width:50px}.inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.json-editor{margin:1rem;width:auto;width:-webkit-fill-available -moz-available}.collapse-btn{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.org-vars{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.sol-vars{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;min-height:45%}.padding-1{padding:1rem}.light{background-color:#F4F4F4}";
|
2436
|
-
|
2437
|
-
const SolutionTemplateData = class {
|
2438
|
-
//--------------------------------------------------------------------------
|
2439
|
-
//
|
2440
|
-
// Lifecycle
|
2441
|
-
//
|
2442
|
-
//--------------------------------------------------------------------------
|
2443
|
-
constructor(hostRef) {
|
2444
|
-
index.registerInstance(this, hostRef);
|
2445
|
-
this._initializing = false;
|
2446
|
-
this.instanceid = "";
|
2447
|
-
this.itemId = "";
|
2448
|
-
this.organizationVariables = "";
|
2449
|
-
this.solutionVariables = "";
|
2450
|
-
this.varsOpen = true;
|
2451
|
-
this._translations = undefined;
|
2452
|
-
this.value = "";
|
2453
|
-
window.addEventListener("solutionEditorContentChanged", (evt) => {
|
2454
|
-
if (this.itemId) {
|
2455
|
-
const { id, contents } = evt.detail;
|
2456
|
-
const [itemId, instanceId] = id.split("|");
|
2457
|
-
if (itemId == this.itemId && instanceId === this.instanceid) {
|
2458
|
-
if (!this._initializing && contents.length > 0) {
|
2459
|
-
const itemEdit = solutionStore.state.getItemInfo(itemId);
|
2460
|
-
if (instanceId === "data") {
|
2461
|
-
itemEdit.data = JSON.parse(contents);
|
2462
|
-
}
|
2463
|
-
else {
|
2464
|
-
itemEdit.properties = JSON.parse(contents);
|
2465
|
-
}
|
2466
|
-
solutionStore.state.setItemInfo(itemEdit);
|
2467
|
-
}
|
2468
|
-
this._initializing = false;
|
2469
|
-
}
|
2470
|
-
}
|
2471
|
-
});
|
2472
|
-
}
|
2473
|
-
itemIdWatchHandler() {
|
2474
|
-
this._initializing = true;
|
2475
|
-
this.value = JSON.stringify(this.instanceid === "data"
|
2476
|
-
? solutionStore.state.getItemInfo(this.itemId).data
|
2477
|
-
: solutionStore.state.getItemInfo(this.itemId).properties, null, 2);
|
2478
|
-
}
|
2479
|
-
/**
|
2480
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
2481
|
-
*/
|
2482
|
-
componentWillLoad() {
|
2483
|
-
return this._getTranslations();
|
2484
|
-
}
|
2485
|
-
/**
|
2486
|
-
* Renders the component.
|
2487
|
-
*/
|
2488
|
-
render() {
|
2489
|
-
return (index.h(index.Host, null, index.h("div", { class: "solution-data-container" }, index.h("calcite-shell", { class: "light var-container", dir: "ltr" }, index.h("calcite-panel", { class: "json-editor" }, index.h("div", { class: "solution-data-child-container calcite-match-height" }, index.h("json-editor", { class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, value: this.value }))), index.h("calcite-shell-panel", { "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, index.h("div", { class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, index.h("calcite-button", { appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), index.h("div", { class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, index.h("solution-organization-variables", { value: this.organizationVariables })), index.h("div", { class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, index.h("solution-variables", { value: this.solutionVariables }))))))));
|
2490
|
-
}
|
2491
|
-
//--------------------------------------------------------------------------
|
2492
|
-
//
|
2493
|
-
// Event Listeners
|
2494
|
-
//
|
2495
|
-
//--------------------------------------------------------------------------
|
2496
|
-
//--------------------------------------------------------------------------
|
2497
|
-
//
|
2498
|
-
// Events
|
2499
|
-
//
|
2500
|
-
//--------------------------------------------------------------------------
|
2501
|
-
//--------------------------------------------------------------------------
|
2502
|
-
//
|
2503
|
-
// Public Methods (async)
|
2504
|
-
//
|
2505
|
-
//--------------------------------------------------------------------------
|
2506
|
-
//--------------------------------------------------------------------------
|
2507
|
-
//
|
2508
|
-
// Private Methods
|
2509
|
-
//
|
2510
|
-
//--------------------------------------------------------------------------
|
2511
|
-
/**
|
2512
|
-
* Toggle varsOpen prop to show/hide variable containers
|
2513
|
-
*/
|
2514
|
-
_toggleVars() {
|
2515
|
-
this.varsOpen = !this.varsOpen;
|
2516
|
-
}
|
2517
|
-
/**
|
2518
|
-
* Fetches the component's translations
|
2519
|
-
*
|
2520
|
-
* @protected
|
2521
|
-
*/
|
2522
|
-
async _getTranslations() {
|
2523
|
-
const translations = await locale.getLocaleComponentStrings(this.el);
|
2524
|
-
this._translations = translations[0];
|
2525
|
-
}
|
2526
|
-
get el() { return index.getElement(this); }
|
2527
|
-
static get watchers() { return {
|
2528
|
-
"itemId": ["itemIdWatchHandler"]
|
2529
|
-
}; }
|
2530
|
-
};
|
2531
|
-
SolutionTemplateData.style = solutionTemplateDataCss;
|
2532
|
-
|
2533
|
-
const solutionVariablesCss = ":host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:\"Consolas\", \"Andale Mono\", \"Lucida Console\", \"Monaco\", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.container-border{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";
|
2534
|
-
|
2535
|
-
const SolutionVariables = class {
|
2536
|
-
constructor(hostRef) {
|
2537
|
-
index.registerInstance(this, hostRef);
|
2538
|
-
this.solutionVariableSelected = index.createEvent(this, "solutionVariableSelected", 7);
|
2539
|
-
this.value = "";
|
2540
|
-
this._solutionVariables = [];
|
2541
|
-
this._translations = undefined;
|
2542
|
-
}
|
2543
|
-
valueWatchHandler() {
|
2544
|
-
this._solutionVariables = JSON.parse(this.value);
|
2545
|
-
}
|
2546
|
-
//--------------------------------------------------------------------------
|
2547
|
-
//
|
2548
|
-
// Lifecycle
|
2549
|
-
//
|
2550
|
-
//--------------------------------------------------------------------------
|
2551
|
-
/**
|
2552
|
-
* StencilJS: Called once just after the component is first connected to the DOM.
|
2553
|
-
*/
|
2554
|
-
componentWillLoad() {
|
2555
|
-
return this._getTranslations();
|
2556
|
-
}
|
2557
|
-
/**
|
2558
|
-
* Renders the component.
|
2559
|
-
*/
|
2560
|
-
render() {
|
2561
|
-
return (index.h(index.Host, null, index.h("div", null, index.h("h4", { class: "org-var-header" }, this._translations.solVariables)), index.h("div", { class: "container-border" }, index.h("calcite-tree", { id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
|
2319
|
+
return (index.h(index.Host, null, index.h("div", null, index.h("h4", { class: "org-var-header" }, this._translations.solVariables)), index.h("div", { class: "container-border" }, index.h("calcite-tree", { id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
|
2562
2320
|
}
|
2563
2321
|
//--------------------------------------------------------------------------
|
2564
2322
|
//
|
@@ -2621,6 +2379,8 @@ const SolutionVariables = class {
|
|
2621
2379
|
};
|
2622
2380
|
SolutionVariables.style = solutionVariablesCss;
|
2623
2381
|
|
2382
|
+
exports.calcite_panel = Panel;
|
2383
|
+
exports.calcite_shell = Shell;
|
2624
2384
|
exports.calcite_shell_panel = ShellPanel;
|
2625
2385
|
exports.calcite_tab = Tab;
|
2626
2386
|
exports.calcite_tab_nav = TabNav;
|
@@ -2629,9 +2389,7 @@ exports.calcite_tabs = Tabs;
|
|
2629
2389
|
exports.calcite_value_list = ValueList;
|
2630
2390
|
exports.calcite_value_list_item = ValueListItem;
|
2631
2391
|
exports.json_editor = JsonEditor;
|
2632
|
-
exports.solution_item_details = SolutionItemDetails;
|
2633
|
-
exports.solution_item_sharing = SolutionItemSharing;
|
2634
2392
|
exports.solution_organization_variables = SolutionOrganizationVariables;
|
2635
|
-
exports.solution_resource_item = SolutionResourceItem;
|
2636
|
-
exports.solution_template_data = SolutionTemplateData;
|
2637
2393
|
exports.solution_variables = SolutionVariables;
|
2394
|
+
|
2395
|
+
//# sourceMappingURL=calcite-panel_12.cjs.entry.js.map
|