@esri/solutions-components 0.7.16 → 0.7.17
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +88 -0
- package/dist/assets/t9n/crowdsource-manager/resources_en.json +1 -1
- package/dist/assets/t9n/solution-item-sharing/resources_en.json +1 -1
- package/dist/cjs/ExpandToggle-f83d93f8.js +118 -0
- package/dist/cjs/FloatingArrow-7e1624ea.js +50 -0
- package/dist/cjs/Heading-fe70b3e6.js +25 -0
- package/dist/cjs/app-globals-b3f43c6b.js +69 -0
- package/dist/cjs/ar-5f98cd4b.js +104 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +27 -25
- package/dist/cjs/bg-a55b554b.js +82 -0
- package/dist/cjs/bs-00e4d31b.js +51 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +18 -22
- package/dist/cjs/ca-cdd10d29.js +71 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +8 -8
- package/dist/cjs/calcite-accordion.cjs.entry.js +6 -4
- package/dist/cjs/calcite-action-bar_3.cjs.entry.js +52 -42
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +19 -18
- package/dist/cjs/calcite-action_2.cjs.entry.js +22 -18
- package/dist/cjs/calcite-alert_3.cjs.entry.js +40 -32
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block-section.cjs.entry.js +11 -10
- package/dist/cjs/calcite-block_2.cjs.entry.js +18 -17
- package/dist/cjs/calcite-button.cjs.entry.js +31 -26
- package/dist/cjs/calcite-card.cjs.entry.js +9 -9
- package/dist/cjs/calcite-checkbox.cjs.entry.js +13 -12
- package/dist/cjs/calcite-chip-group.cjs.entry.js +27 -22
- package/dist/cjs/calcite-chip.cjs.entry.js +20 -17
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-color-picker.cjs.entry.js +26 -26
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +70 -57
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +21 -26
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_2.cjs.entry.js +17 -16
- package/dist/cjs/calcite-flow-item.cjs.entry.js +14 -13
- package/dist/cjs/calcite-flow.cjs.entry.js +8 -6
- package/dist/cjs/calcite-graph_2.cjs.entry.js +21 -18
- package/dist/cjs/calcite-handle.cjs.entry.js +15 -13
- package/dist/cjs/calcite-icon.cjs.entry.js +7 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +26 -20
- package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +43 -37
- package/dist/cjs/calcite-input-number.cjs.entry.js +35 -26
- package/dist/cjs/calcite-input-text.cjs.entry.js +23 -19
- package/dist/cjs/calcite-input-time-picker-4f7e55b6.js +1849 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +19 -19
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +20 -18
- package/dist/cjs/calcite-input_2.cjs.entry.js +39 -29
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +7 -7
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-menu-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-menu.cjs.entry.js +11 -11
- package/dist/cjs/calcite-meter.cjs.entry.js +13 -11
- package/dist/cjs/calcite-modal.cjs.entry.js +22 -19
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +7 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +13 -13
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +23 -18
- package/dist/cjs/calcite-pagination.cjs.entry.js +15 -13
- package/dist/cjs/calcite-panel.cjs.entry.js +22 -19
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -9
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +16 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-popover.cjs.entry.js +16 -16
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +11 -7
- package/dist/cjs/calcite-radio-button.cjs.entry.js +12 -12
- package/dist/cjs/calcite-rating.cjs.entry.js +16 -15
- package/dist/cjs/calcite-scrim.cjs.entry.js +14 -11
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +18 -15
- package/dist/cjs/calcite-sheet.cjs.entry.js +12 -10
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +92 -71
- package/dist/cjs/calcite-shell.cjs.entry.js +12 -9
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +12 -10
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +17 -15
- package/dist/cjs/calcite-stepper.cjs.entry.js +18 -14
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +21 -19
- package/dist/cjs/calcite-table-row.cjs.entry.js +17 -16
- package/dist/cjs/calcite-table.cjs.entry.js +55 -45
- package/dist/cjs/calcite-text-area.cjs.entry.js +22 -19
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +9 -9
- package/dist/cjs/calcite-time-picker.cjs.entry.js +19 -17
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +15 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +12 -11
- package/dist/cjs/calcite-tooltip.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +21 -18
- package/dist/cjs/card-manager_3.cjs.entry.js +55 -38
- package/dist/cjs/common-4cd3537b.js +38 -0
- package/dist/cjs/conditionalSlot-63e11cba.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +10 -8
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/cs-d08a7e91.js +147 -0
- package/dist/cjs/da-2fb40e38.js +66 -0
- package/dist/cjs/date-a0b274b2.js +261 -0
- package/dist/cjs/de-at-8cb4fc8d.js +90 -0
- package/dist/cjs/de-ch-98281a16.js +90 -0
- package/dist/cjs/de-f88ab56a.js +91 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-e111eaa6.js +1087 -0
- package/dist/cjs/downloadUtils-8f50633d.js +3124 -0
- package/dist/cjs/el-42222f37.js +66 -0
- package/dist/cjs/en-au-ce99afe4.js +66 -0
- package/dist/cjs/en-ca-44a0c79e.js +65 -0
- package/dist/cjs/en-gb-9bd18cc2.js +69 -0
- package/dist/cjs/es-a630678a.js +66 -0
- package/dist/cjs/es-mx-cb026d16.js +65 -0
- package/dist/cjs/et-9801d7bf.js +92 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-99bb68b2.js +115 -0
- package/dist/cjs/filter-8f1bbfe6.js +765 -0
- package/dist/cjs/floating-ui-290f99dd.js +1906 -0
- package/dist/cjs/focusTrapComponent-3add574e.js +1028 -0
- package/dist/cjs/form-0291a707.js +260 -0
- package/dist/cjs/fr-047990d9.js +68 -0
- package/dist/cjs/fr-ch-eefff196.js +66 -0
- package/dist/cjs/globalAttributes-c973ec3a.js +77 -0
- package/dist/cjs/he-3f50b1de.js +105 -0
- package/dist/cjs/helpers-a0719076.js +903 -0
- package/dist/cjs/hi-8fad23c8.js +65 -0
- package/dist/cjs/hr-85523ea5.js +80 -0
- package/dist/cjs/hu-133d6509.js +88 -0
- package/dist/cjs/id-cf31387c.js +66 -0
- package/dist/cjs/index-22bb61da.js +201 -0
- package/dist/cjs/index-b8a649fc.js +2530 -0
- package/dist/cjs/index.es-140aa937.js +10811 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-export.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-header.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-splash.cjs.entry.js +6 -6
- package/dist/cjs/interactive-8aff886e.js +147 -0
- package/dist/cjs/it-87a2a88e.js +66 -0
- package/dist/cjs/it-ch-6197d836.js +66 -0
- package/dist/cjs/ja-1be83730.js +72 -0
- package/dist/cjs/ko-ea4b0148.js +72 -0
- package/dist/cjs/label-bcad2894.js +186 -0
- package/dist/cjs/languageSwitcher-7de41e17.js +58 -0
- package/dist/cjs/languageUtil-a3b464f8.js +69 -0
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadModules-46d14e81.js +30 -0
- package/dist/cjs/loadModules-51c30ab9.js +23 -0
- package/dist/cjs/loadable-07a214c7.js +94 -0
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/locale-6a627639.js +584 -0
- package/dist/cjs/locale-9b9d0e94.js +82 -0
- package/dist/cjs/locale-9db09b63.js +122 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-4acaf0a6.js +97 -0
- package/dist/cjs/lv-251e08f1.js +66 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +62 -52
- package/dist/cjs/mapViewUtils-569e9644.js +467 -0
- package/dist/cjs/mk-8b1ae7dd.js +66 -0
- package/dist/cjs/nb-fa98c484.js +67 -0
- package/dist/cjs/nl-e71e8890.js +67 -0
- package/dist/cjs/openCloseComponent-8c9a1749.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-8527f540.js +114 -0
- package/dist/cjs/pt-a1c7a6ea.js +67 -0
- package/dist/cjs/pt-br-c5319e0c.js +65 -0
- package/dist/cjs/public-notification.cjs.entry.js +32 -25
- package/dist/cjs/publicNotificationStore-3a17c2f4.js +47 -0
- package/dist/cjs/purify-f8c3e427.js +1712 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/restHelpersGet-e0737480.js +972 -0
- package/dist/cjs/ro-df6f795a.js +66 -0
- package/dist/cjs/ru-7516a3ba.js +126 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-25bedff5.js +364 -0
- package/dist/cjs/sk-9d31fa10.js +148 -0
- package/dist/cjs/sl-abecca0d.js +168 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +43 -17
- package/dist/cjs/solution-contents_3.cjs.entry.js +12 -11
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-resource-abec7452.js +141 -0
- package/dist/cjs/solution-store-ab6c980f.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +4 -4
- package/dist/cjs/spatial-ref.cjs.entry.js +8 -7
- package/dist/cjs/sr-334c5c73.js +101 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/sv-832dd153.js +71 -0
- package/dist/cjs/t9n-0556abcb.js +100 -0
- package/dist/cjs/th-cca86754.js +65 -0
- package/dist/cjs/throttle-aeeb1b4d.js +75 -0
- package/dist/cjs/time-06aad495.js +289 -0
- package/dist/cjs/tr-fcef3dae.js +66 -0
- package/dist/cjs/uk-69eceeec.js +104 -0
- package/dist/cjs/utils-35b31785.js +120 -0
- package/dist/cjs/utils-3df24da4.js +62 -0
- package/dist/cjs/utils-6587cc34.js +64 -0
- package/dist/cjs/vi-6afa69a0.js +70 -0
- package/dist/cjs/zh-cn-0513bc09.js +94 -0
- package/dist/cjs/zh-hk-73971e1d.js +71 -0
- package/dist/cjs/zh-tw-af0db947.js +92 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +2 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +2 -1
- package/dist/collection/components/card-manager/card-manager.js +3 -2
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +7 -5
- package/dist/collection/components/edit-card/edit-card.js +14 -10
- package/dist/collection/components/floor-filter/floor-filter.js +2 -1
- package/dist/collection/components/info-card/info-card.js +8 -5
- package/dist/collection/components/json-editor/assets/monaco-editor/package.json +63 -63
- package/dist/collection/components/json-editor/json-editor.js +21 -14
- package/dist/collection/components/layer-table/layer-table.js +36 -22
- package/dist/collection/components/map-card/map-card.js +7 -5
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +7 -12
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +8 -6
- package/dist/collection/components/map-picker/map-picker.js +6 -4
- package/dist/collection/components/map-search/map-search.js +8 -12
- package/dist/collection/components/map-select-tools/map-select-tools.js +36 -32
- package/dist/collection/components/map-tools/map-tools.js +5 -3
- package/dist/collection/components/pdf-download/pdf-download.js +2 -1
- package/dist/collection/components/public-notification/public-notification.js +21 -14
- package/dist/collection/components/refine-selection/refine-selection.js +13 -8
- package/dist/collection/components/solution-configuration/solution-configuration.js +1 -1
- package/dist/collection/components/solution-contents/solution-contents.js +3 -2
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +2 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +2 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +2 -1
- package/dist/collection/components/store-manager/store-manager.js +1 -1
- package/dist/collection/utils/common.js +2 -1
- package/dist/collection/utils/downloadUtils.js +15 -13
- package/dist/collection/utils/locale.js +3 -2
- package/dist/collection/utils/mapViewUtils.js +2 -5
- package/dist/collection/utils/publicNotificationStore.js +1 -1
- package/dist/collection/utils/queryUtils.js +3 -2
- package/dist/collection/utils/solution-store.js +1 -3
- package/dist/collection/utils/test/downloadUtils.spec.js +2 -1
- package/dist/collection/utils/test/solution-store.spec.js +2 -5
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-bar.js +11 -8
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +8 -8
- package/dist/components/action-pad.js +5 -4
- package/dist/components/action.js +10 -6
- package/dist/components/alert.js +3 -2
- package/dist/components/arcgis-login.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/basemap-gallery2.js +3 -2
- package/dist/components/block.js +1 -1
- package/dist/components/buffer-tools2.js +3 -2
- package/dist/components/button.js +17 -12
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +5 -3
- package/dist/components/calcite-block-section.js +3 -2
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-chip-group.js +20 -15
- package/dist/components/calcite-color-picker.js +11 -11
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-flow-item.js +3 -2
- package/dist/components/calcite-flow.js +6 -4
- package/dist/components/calcite-inline-editable.js +14 -8
- package/dist/components/calcite-input-time-picker.js +5 -3
- package/dist/components/calcite-input-time-zone.js +5 -3
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +5 -3
- package/dist/components/calcite-navigation-logo.js +2 -2
- package/dist/components/calcite-navigation-user.js +1 -1
- package/dist/components/calcite-navigation.js +3 -2
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-pick-list-group.js +3 -2
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-radio-button-group.js +9 -5
- package/dist/components/calcite-radio-button.js +2 -2
- package/dist/components/calcite-rating.js +3 -2
- package/dist/components/calcite-sheet.js +5 -3
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-sortable-list.js +5 -3
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +7 -5
- package/dist/components/calcite-stepper.js +11 -7
- package/dist/components/calcite-table-row.js +10 -9
- package/dist/components/calcite-table.js +46 -36
- package/dist/components/calcite-text-area.js +7 -4
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +3 -2
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +7 -4
- package/dist/components/calcite-tip.js +3 -2
- package/dist/components/card-manager2.js +4 -3
- package/dist/components/checkbox.js +3 -2
- package/dist/components/chip.js +8 -5
- package/dist/components/color-picker-hex-input.js +5 -4
- package/dist/components/color-picker-swatch.js +4 -4
- package/dist/components/combobox-item.js +2 -2
- package/dist/components/combobox.js +22 -16
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/crowdsource-manager.js +8 -6
- package/dist/components/crowdsource-reporter.js +1 -1
- package/dist/components/date-picker-day.js +2 -6
- package/dist/components/date-picker-month-header.js +4 -7
- package/dist/components/date-picker-month.js +6 -4
- package/dist/components/date-picker.js +3 -2
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/downloadUtils.js +51 -23
- package/dist/components/dropdown-group.js +5 -3
- package/dist/components/dropdown-item.js +4 -3
- package/dist/components/dropdown.js +9 -7
- package/dist/components/edit-card2.js +15 -11
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/filter2.js +4 -3
- package/dist/components/floating-ui.js +3 -15
- package/dist/components/floor-filter2.js +3 -2
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +5 -3
- package/dist/components/handle.js +5 -3
- package/dist/components/icon.js +3 -2
- package/dist/components/index.es.js +112 -161
- package/dist/components/index.js +1 -1
- package/dist/components/index4.js +1 -1
- package/dist/components/info-card2.js +9 -6
- package/dist/components/input-date-picker.js +19 -13
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +22 -13
- package/dist/components/input-text.js +10 -6
- package/dist/components/input.js +26 -16
- package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
- package/dist/components/instant-apps-control-panel.js +1 -1
- package/dist/components/instant-apps-export.js +1 -1
- package/dist/components/instant-apps-filter-list2.js +1 -1
- package/dist/components/instant-apps-header2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-classic2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-count2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +1 -1
- package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-layer-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
- package/dist/components/instant-apps-interactive-legend-relationship2.js +1 -1
- package/dist/components/instant-apps-interactive-legend.js +1 -1
- package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
- package/dist/components/instant-apps-landing-page.js +1 -1
- package/dist/components/instant-apps-language-switcher.js +1 -1
- package/dist/components/instant-apps-language-translator-item2.js +1 -1
- package/dist/components/instant-apps-language-translator-search2.js +1 -1
- package/dist/components/instant-apps-language-translator2.js +1 -1
- package/dist/components/instant-apps-measurement-tool2.js +1 -1
- package/dist/components/instant-apps-measurement.js +1 -1
- package/dist/components/instant-apps-popover.js +1 -1
- package/dist/components/instant-apps-popovers.js +1 -1
- package/dist/components/instant-apps-scoreboard.js +1 -1
- package/dist/components/instant-apps-social-share2.js +1 -1
- package/dist/components/instant-apps-splash.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/json-editor2.js +22 -15
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +37 -23
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/link.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/list-item.js +5 -5
- package/dist/components/list.js +20 -13
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +4 -3
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/map-card2.js +8 -6
- package/dist/components/map-draw-tools2.js +8 -13
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +9 -7
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +7 -5
- package/dist/components/map-search2.js +9 -13
- package/dist/components/map-select-tools2.js +37 -33
- package/dist/components/map-tools2.js +6 -4
- package/dist/components/mapViewUtils.js +2 -5
- package/dist/components/menu.js +2 -2
- package/dist/components/modal.js +10 -7
- package/dist/components/notice.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/option.js +5 -3
- package/dist/components/pagination.js +6 -4
- package/dist/components/panel.js +9 -6
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +3 -2
- package/dist/components/pick-list-item.js +3 -2
- package/dist/components/popover.js +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/public-notification.js +22 -15
- package/dist/components/publicNotificationStore.js +1 -1
- package/dist/components/purify.js +17 -31
- package/dist/components/queryUtils.js +3 -2
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +14 -9
- package/dist/components/restHelpersGet.js +382 -344
- package/dist/components/scrim.js +7 -4
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +8 -5
- package/dist/components/select.js +9 -6
- package/dist/components/share-item.js +1 -1
- package/dist/components/shared-list-render.js +1 -1
- package/dist/components/shell-panel.js +11 -8
- package/dist/components/shell.js +7 -4
- package/dist/components/slider.js +4 -3
- package/dist/components/solution-configuration.js +28 -2
- package/dist/components/solution-contents2.js +4 -3
- package/dist/components/solution-item-details2.js +3 -2
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-resource.js +107 -107
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +510 -496
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +3 -2
- package/dist/components/spatial-ref2.js +3 -2
- package/dist/components/stack.js +1 -1
- package/dist/components/store-manager.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +14 -10
- package/dist/components/tab-title.js +9 -7
- package/dist/components/tab.js +3 -2
- package/dist/components/table-cell.js +4 -3
- package/dist/components/table-header.js +7 -6
- package/dist/components/tabs.js +3 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +8 -6
- package/dist/components/tooltip.js +1 -1
- package/dist/components/tree-item.js +7 -5
- package/dist/components/tree.js +7 -6
- package/dist/components/utils2.js +1 -1
- package/dist/components/utils3.js +1 -1
- package/dist/components/value-list-item.js +3 -2
- package/dist/components/value-list.js +3 -3
- package/dist/esm/ExpandToggle-540998b5.js +110 -0
- package/dist/esm/FloatingArrow-245804f3.js +48 -0
- package/dist/esm/Heading-c45d3f45.js +22 -0
- package/dist/esm/app-globals-e4f88f7e.js +67 -0
- package/dist/esm/ar-35006b74.js +102 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +27 -25
- package/dist/esm/bg-c289978f.js +80 -0
- package/dist/esm/bs-6f9fb44a.js +49 -0
- package/dist/esm/buffer-tools_3.entry.js +18 -22
- package/dist/esm/ca-7962c8b7.js +69 -0
- package/dist/esm/calcite-accordion-item.entry.js +8 -8
- package/dist/esm/calcite-accordion.entry.js +6 -4
- package/dist/esm/calcite-action-bar_3.entry.js +52 -42
- package/dist/esm/calcite-action-group_2.entry.js +20 -20
- package/dist/esm/calcite-action-pad_2.entry.js +19 -18
- package/dist/esm/calcite-action_2.entry.js +22 -18
- package/dist/esm/calcite-alert_3.entry.js +40 -32
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block-section.entry.js +11 -10
- package/dist/esm/calcite-block_2.entry.js +18 -17
- package/dist/esm/calcite-button.entry.js +31 -26
- package/dist/esm/calcite-card.entry.js +9 -9
- package/dist/esm/calcite-checkbox.entry.js +13 -12
- package/dist/esm/calcite-chip-group.entry.js +27 -22
- package/dist/esm/calcite-chip.entry.js +20 -17
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +14 -13
- package/dist/esm/calcite-color-picker.entry.js +26 -26
- package/dist/esm/calcite-combobox-item-group.entry.js +5 -5
- package/dist/esm/calcite-combobox_6.entry.js +70 -57
- package/dist/esm/calcite-date-picker-day_3.entry.js +21 -26
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_2.entry.js +17 -16
- package/dist/esm/calcite-flow-item.entry.js +14 -13
- package/dist/esm/calcite-flow.entry.js +8 -6
- package/dist/esm/calcite-graph_2.entry.js +21 -18
- package/dist/esm/calcite-handle.entry.js +15 -13
- package/dist/esm/calcite-icon.entry.js +7 -6
- package/dist/esm/calcite-inline-editable.entry.js +26 -20
- package/dist/esm/calcite-input-date-picker_3.entry.js +43 -37
- package/dist/esm/calcite-input-number.entry.js +35 -26
- package/dist/esm/calcite-input-text.entry.js +23 -19
- package/dist/esm/calcite-input-time-picker-63439178.js +1846 -0
- package/dist/esm/calcite-input-time-picker.entry.js +19 -19
- package/dist/esm/calcite-input-time-zone.entry.js +20 -18
- package/dist/esm/calcite-input_2.entry.js +39 -29
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +7 -7
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-menu-item.entry.js +9 -9
- package/dist/esm/calcite-menu.entry.js +11 -11
- package/dist/esm/calcite-meter.entry.js +13 -11
- package/dist/esm/calcite-modal.entry.js +22 -19
- package/dist/esm/calcite-navigation-logo.entry.js +3 -3
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +7 -6
- package/dist/esm/calcite-notice.entry.js +13 -13
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +23 -18
- package/dist/esm/calcite-pagination.entry.js +15 -13
- package/dist/esm/calcite-panel.entry.js +22 -19
- package/dist/esm/calcite-pick-list-group.entry.js +10 -9
- package/dist/esm/calcite-pick-list-item.entry.js +16 -15
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-popover.entry.js +16 -16
- package/dist/esm/calcite-radio-button-group.entry.js +11 -7
- package/dist/esm/calcite-radio-button.entry.js +12 -12
- package/dist/esm/calcite-rating.entry.js +16 -15
- package/dist/esm/calcite-scrim.entry.js +14 -11
- package/dist/esm/calcite-segmented-control_2.entry.js +18 -15
- package/dist/esm/calcite-sheet.entry.js +12 -10
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +92 -71
- package/dist/esm/calcite-shell.entry.js +12 -9
- package/dist/esm/calcite-sortable-list.entry.js +12 -10
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +17 -15
- package/dist/esm/calcite-stepper.entry.js +18 -14
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +21 -19
- package/dist/esm/calcite-table-row.entry.js +17 -16
- package/dist/esm/calcite-table.entry.js +55 -45
- package/dist/esm/calcite-text-area.entry.js +22 -19
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +7 -6
- package/dist/esm/calcite-tile.entry.js +9 -9
- package/dist/esm/calcite-time-picker.entry.js +19 -17
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +15 -12
- package/dist/esm/calcite-tip.entry.js +12 -11
- package/dist/esm/calcite-tooltip.entry.js +8 -8
- package/dist/esm/calcite-tree_2.entry.js +21 -18
- package/dist/esm/card-manager_3.entry.js +55 -38
- package/dist/esm/common-2cf42ac2.js +36 -0
- package/dist/esm/conditionalSlot-1149b5cb.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +10 -8
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/cs-6d13069b.js +145 -0
- package/dist/esm/da-14097e6c.js +64 -0
- package/dist/esm/date-1743b515.js +245 -0
- package/dist/esm/de-at-b733db65.js +88 -0
- package/dist/esm/de-ch-5ad0cb74.js +88 -0
- package/dist/esm/de-dff2571b.js +89 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-492b1b24.js +1056 -0
- package/dist/esm/downloadUtils-9dee8bc0.js +3118 -0
- package/dist/esm/el-688e05ba.js +64 -0
- package/dist/esm/en-au-357e70d8.js +64 -0
- package/dist/esm/en-ca-1e0b6b47.js +63 -0
- package/dist/esm/en-gb-861a17f2.js +67 -0
- package/dist/esm/es-291ab4bd.js +64 -0
- package/dist/esm/es-mx-0a7283a7.js +63 -0
- package/dist/esm/et-addd2617.js +90 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-469884d5.js +113 -0
- package/dist/esm/filter-8b806ae6.js +763 -0
- package/dist/esm/floating-ui-03eb4c82.js +1898 -0
- package/dist/esm/focusTrapComponent-2e7de651.js +1023 -0
- package/dist/esm/form-9bccaf85.js +252 -0
- package/dist/esm/fr-ch-115d3fda.js +64 -0
- package/dist/esm/fr-f5cb34ca.js +66 -0
- package/dist/esm/globalAttributes-03c9e433.js +74 -0
- package/dist/esm/he-6e5f5c56.js +103 -0
- package/dist/esm/helpers-078591d2.js +877 -0
- package/dist/esm/hi-503240c2.js +63 -0
- package/dist/esm/hr-cc08d6fc.js +78 -0
- package/dist/esm/hu-69ac240d.js +86 -0
- package/dist/esm/id-99547746.js +64 -0
- package/dist/esm/index-7183ce4a.js +2496 -0
- package/dist/esm/index-857df22e.js +199 -0
- package/dist/esm/index.es-54e86c8e.js +10725 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
- package/dist/esm/instant-apps-control-panel.entry.js +3 -3
- package/dist/esm/instant-apps-export.entry.js +6 -6
- package/dist/esm/instant-apps-header.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +5 -5
- package/dist/esm/instant-apps-interactive-legend.entry.js +7 -7
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -5
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +8 -8
- package/dist/esm/instant-apps-language-translator.entry.js +8 -8
- package/dist/esm/instant-apps-measurement.entry.js +5 -5
- package/dist/esm/instant-apps-popover.entry.js +5 -5
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +6 -6
- package/dist/esm/instant-apps-splash.entry.js +6 -6
- package/dist/esm/interactive-20bb1dc4.js +143 -0
- package/dist/esm/it-ch-a83801f6.js +64 -0
- package/dist/esm/it-dbb6ea7d.js +64 -0
- package/dist/esm/ja-79dbb02f.js +70 -0
- package/dist/esm/ko-31ebe067.js +70 -0
- package/dist/esm/label-14301f4d.js +179 -0
- package/dist/esm/languageSwitcher-62232826.js +55 -0
- package/dist/esm/languageUtil-8b54477c.js +66 -0
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadModules-b677d6d7.js +21 -0
- package/dist/esm/loadModules-cea493da.js +28 -0
- package/dist/esm/loadable-c3685e51.js +89 -0
- package/dist/esm/loader.js +4 -4
- package/dist/esm/locale-834c52c6.js +119 -0
- package/dist/esm/locale-89b49505.js +77 -0
- package/dist/esm/locale-8cfa3086.js +571 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-94d3f4b8.js +95 -0
- package/dist/esm/lv-d770ed0d.js +64 -0
- package/dist/esm/map-select-tools_3.entry.js +62 -52
- package/dist/esm/mapViewUtils-066602d5.js +450 -0
- package/dist/esm/mk-1046d60a.js +64 -0
- package/dist/esm/nb-dad0b4b9.js +65 -0
- package/dist/esm/nl-a968c4b7.js +65 -0
- package/dist/esm/openCloseComponent-982c6b9e.js +90 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-a0037bd3.js +112 -0
- package/dist/esm/pt-br-44c11565.js +63 -0
- package/dist/esm/pt-e3d9370c.js +65 -0
- package/dist/esm/public-notification.entry.js +32 -25
- package/dist/esm/publicNotificationStore-9362d7ae.js +45 -0
- package/dist/esm/purify-c99d2ace.js +1710 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/restHelpersGet-af032ab2.js +959 -0
- package/dist/esm/ro-290e025d.js +64 -0
- package/dist/esm/ru-38ff91f1.js +124 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-89e4bcff.js +342 -0
- package/dist/esm/sk-9622a24b.js +146 -0
- package/dist/esm/sl-6bc83a24.js +166 -0
- package/dist/esm/solution-configuration.entry.js +34 -8
- package/dist/esm/solution-contents_3.entry.js +12 -11
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-resource-7b8d302d.js +138 -0
- package/dist/esm/solution-store-b08696f7.js +1342 -0
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/spatial-ref.entry.js +8 -7
- package/dist/esm/sr-35e575d8.js +99 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/sv-d80fa359.js +69 -0
- package/dist/esm/t9n-3c5e55ab.js +95 -0
- package/dist/esm/th-23e71d40.js +63 -0
- package/dist/esm/throttle-9ab70933.js +73 -0
- package/dist/esm/time-d956a7c8.js +274 -0
- package/dist/esm/tr-961fd2f3.js +64 -0
- package/dist/esm/uk-4e8a425a.js +102 -0
- package/dist/esm/utils-56206ec2.js +61 -0
- package/dist/esm/utils-8287806a.js +51 -0
- package/dist/esm/utils-b1bd777e.js +111 -0
- package/dist/esm/vi-ad983882.js +68 -0
- package/dist/esm/zh-cn-5b6fd039.js +92 -0
- package/dist/esm/zh-hk-7439b11d.js +69 -0
- package/dist/esm/zh-tw-cf384663.js +90 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +77 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +264 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +338 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +105 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +113 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +73 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +113 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +421 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +81 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +298 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +145 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +804 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +183 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +167 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +385 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +244 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +66 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +425 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +211 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +101 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +72 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +290 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +95 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +189 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +136 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +84 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +282 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +72 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +136 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +98 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +89 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +51 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +99 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +73 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +89 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +630 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +267 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +109 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +484 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +397 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +99 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +67 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +134 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +148 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +122 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +244 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +88 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +298 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +50 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +281 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +183 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +529 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +142 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +137 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +112 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +289 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +36 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +36 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +138 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +227 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +92 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +83 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +179 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +194 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +110 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +164 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +58 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +178 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +76 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +95 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +172 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +218 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +267 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +184 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +124 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +360 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +388 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +68 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +184 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +118 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +147 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +458 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +189 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +75 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +122 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +349 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +143 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +133 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +130 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +74 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +102 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +288 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +171 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +156 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +64 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +144 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +151 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +47 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +194 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +120 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +41 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +318 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +105 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +121 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +81 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +104 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +165 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +124 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +18 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element/instant-apps-interactive-legend-group-legend-element.css +10 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +65 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element/instant-apps-interactive-legend-layer-element.css +17 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +66 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element/instant-apps-interactive-legend-legend-element.css +10 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +51 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +15 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +12 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +33 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +222 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +13 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-ckeditor-wrapper/instant-apps-ckeditor-wrapper.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +83 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +34 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +86 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement-tool/instant-apps-measurement-tool.css +6 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +6 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +58 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +3 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +200 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +273 -0
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +10 -0
- package/dist/solutions-components/assets/monaco-editor/package.json +63 -63
- package/dist/solutions-components/p-00f9774c.js +6 -0
- package/dist/solutions-components/p-0200864c.entry.js +11 -0
- package/dist/solutions-components/p-0250dec5.js +6 -0
- package/dist/solutions-components/p-026b1345.js +16 -0
- package/dist/solutions-components/p-02714171.entry.js +11 -0
- package/dist/solutions-components/p-034d43fb.js +6 -0
- package/dist/solutions-components/p-0511c98c.js +11 -0
- package/dist/solutions-components/p-0637dbc2.entry.js +6 -0
- package/dist/solutions-components/p-07b31dc9.js +6 -0
- package/dist/solutions-components/p-080249de.js +6 -0
- package/dist/solutions-components/p-0a0d0d3a.entry.js +6 -0
- package/dist/solutions-components/p-0b47b407.js +6 -0
- package/dist/solutions-components/p-0c97de08.js +12 -0
- package/dist/solutions-components/p-0d97c2c5.entry.js +17 -0
- package/dist/solutions-components/p-0e723ffc.js +6 -0
- package/dist/solutions-components/p-105bf4aa.entry.js +6 -0
- package/dist/solutions-components/p-11b59592.entry.js +16 -0
- package/dist/solutions-components/p-121a5dac.entry.js +11 -0
- package/dist/solutions-components/p-133de052.entry.js +11 -0
- package/dist/solutions-components/p-13bfc206.entry.js +29 -0
- package/dist/solutions-components/p-14097810.entry.js +6 -0
- package/dist/solutions-components/p-14a48b14.js +6 -0
- package/dist/solutions-components/p-166d5bcc.entry.js +6 -0
- package/dist/solutions-components/p-1711c535.entry.js +6 -0
- package/dist/solutions-components/p-17183100.js +6 -0
- package/dist/solutions-components/p-1b9fb070.entry.js +6 -0
- package/dist/solutions-components/p-1bdd64a0.js +489 -0
- package/dist/solutions-components/p-1be63b50.js +11 -0
- package/dist/solutions-components/p-1c720ed5.entry.js +6 -0
- package/dist/solutions-components/p-1cb4c542.entry.js +17 -0
- package/dist/solutions-components/p-1f88a556.entry.js +6 -0
- package/dist/solutions-components/p-1fc220c7.js +11 -0
- package/dist/solutions-components/p-21c2d29c.entry.js +6 -0
- package/dist/solutions-components/p-21ccd955.entry.js +6 -0
- package/dist/solutions-components/p-220ec0d1.js +66 -0
- package/dist/solutions-components/p-225c4ca4.js +6 -0
- package/dist/solutions-components/p-23662977.entry.js +11 -0
- package/dist/solutions-components/p-259f6f81.js +11 -0
- package/dist/solutions-components/p-25dd768d.js +11 -0
- package/dist/solutions-components/p-29602eff.entry.js +11 -0
- package/dist/solutions-components/p-2d1b8cfa.js +11 -0
- package/dist/solutions-components/p-2e1f7c0e.entry.js +11 -0
- package/dist/solutions-components/p-3022da2d.js +6 -0
- package/dist/solutions-components/p-324d71f4.entry.js +11 -0
- package/dist/solutions-components/p-337acb3c.js +11 -0
- package/dist/solutions-components/p-33f07da5.entry.js +6 -0
- package/dist/solutions-components/p-34cacf32.js +6 -0
- package/dist/solutions-components/p-355249fc.js +6 -0
- package/dist/solutions-components/p-36eb8399.js +145 -0
- package/dist/solutions-components/p-3bf0115f.entry.js +6 -0
- package/dist/solutions-components/p-3c5d3b4a.js +6 -0
- package/dist/solutions-components/p-3d17ee9f.entry.js +6 -0
- package/dist/solutions-components/p-3ea18af7.entry.js +6 -0
- package/dist/solutions-components/p-40235cb7.entry.js +11 -0
- package/dist/solutions-components/p-414240b2.js +22 -0
- package/dist/solutions-components/p-41f7bc94.entry.js +11 -0
- package/dist/solutions-components/p-43546966.entry.js +6 -0
- package/dist/solutions-components/p-43e67b3c.entry.js +11 -0
- package/dist/solutions-components/p-4613e205.js +6 -0
- package/dist/solutions-components/p-4647c429.js +6 -0
- package/dist/solutions-components/p-48828002.entry.js +16 -0
- package/dist/solutions-components/p-48ff9cea.js +21 -0
- package/dist/solutions-components/p-4da72ee8.entry.js +11 -0
- package/dist/solutions-components/p-4ee789e1.entry.js +21 -0
- package/dist/solutions-components/p-4f71a1a0.js +6 -0
- package/dist/solutions-components/p-50764143.entry.js +17 -0
- package/dist/solutions-components/p-50ea26de.entry.js +11 -0
- package/dist/solutions-components/p-52ad6ff9.entry.js +6 -0
- package/dist/solutions-components/p-531d91d6.js +36 -0
- package/dist/solutions-components/p-532b7378.entry.js +11 -0
- package/dist/solutions-components/p-5752785e.entry.js +11 -0
- package/dist/solutions-components/p-58054bc2.js +6 -0
- package/dist/solutions-components/p-5953ebe8.entry.js +36 -0
- package/dist/solutions-components/p-5a885617.entry.js +6 -0
- package/dist/solutions-components/p-5c3fd315.entry.js +11 -0
- package/dist/solutions-components/p-5d2ccc75.entry.js +11 -0
- package/dist/solutions-components/p-5e530f8c.js +6 -0
- package/dist/solutions-components/p-5e9b05c0.entry.js +11 -0
- package/dist/solutions-components/p-5fd1eb64.js +11 -0
- package/dist/solutions-components/p-60d212df.entry.js +6 -0
- package/dist/solutions-components/p-61a523a6.entry.js +6 -0
- package/dist/solutions-components/p-6268020e.entry.js +6 -0
- package/dist/solutions-components/p-627c19b5.entry.js +6 -0
- package/dist/solutions-components/p-62e92138.js +6 -0
- package/dist/solutions-components/p-634835fe.js +6 -0
- package/dist/solutions-components/p-6437fee1.entry.js +11 -0
- package/dist/solutions-components/p-653af7e0.js +11 -0
- package/dist/solutions-components/p-663a433a.entry.js +11 -0
- package/dist/solutions-components/p-6656c53e.entry.js +6 -0
- package/dist/solutions-components/p-6665fa1f.js +6 -0
- package/dist/solutions-components/p-683cded6.entry.js +6 -0
- package/dist/solutions-components/p-68434a63.js +6 -0
- package/dist/solutions-components/p-6a4b1e48.entry.js +11 -0
- package/dist/solutions-components/p-6b943f52.js +21 -0
- package/dist/solutions-components/p-6c3cdd09.entry.js +6 -0
- package/dist/solutions-components/p-6e406a7b.js +6 -0
- package/dist/solutions-components/p-708294ca.entry.js +11 -0
- package/dist/solutions-components/p-722ae773.js +11 -0
- package/dist/solutions-components/p-7440c114.entry.js +11 -0
- package/dist/solutions-components/p-75f7bfe3.entry.js +6 -0
- package/dist/solutions-components/p-75fbe76c.js +6 -0
- package/dist/solutions-components/p-76d60881.entry.js +6 -0
- package/dist/solutions-components/p-78780f63.js +7 -0
- package/dist/solutions-components/p-789f606f.entry.js +6 -0
- package/dist/solutions-components/p-799c3f19.js +6 -0
- package/dist/solutions-components/p-79ba73cb.js +11 -0
- package/dist/solutions-components/p-79f95735.entry.js +11 -0
- package/dist/solutions-components/p-7a06dcdf.js +6 -0
- package/dist/solutions-components/p-7c5191ff.entry.js +6 -0
- package/dist/solutions-components/p-7e82a730.js +6 -0
- package/dist/solutions-components/p-8118146c.entry.js +11 -0
- package/dist/solutions-components/p-825c045a.entry.js +6 -0
- package/dist/solutions-components/p-82b4ab94.js +6 -0
- package/dist/solutions-components/p-83225907.js +6 -0
- package/dist/solutions-components/p-85a89f1d.entry.js +11 -0
- package/dist/solutions-components/p-8684a905.js +21 -0
- package/dist/solutions-components/p-8772a573.js +6 -0
- package/dist/solutions-components/p-8934e858.entry.js +11 -0
- package/dist/solutions-components/p-897037f0.entry.js +6 -0
- package/dist/solutions-components/p-8b5b4662.js +6 -0
- package/dist/solutions-components/p-8c7fc78f.entry.js +11 -0
- package/dist/solutions-components/p-8f8fe5d0.entry.js +6 -0
- package/dist/solutions-components/p-92ea9e81.js +6 -0
- package/dist/solutions-components/p-941ab8c0.js +6 -0
- package/dist/solutions-components/p-96974e5f.js +6 -0
- package/dist/solutions-components/p-98013072.entry.js +11 -0
- package/dist/solutions-components/p-980cd015.entry.js +11 -0
- package/dist/solutions-components/p-98fe7b5d.entry.js +6 -0
- package/dist/solutions-components/p-99ca7674.entry.js +6 -0
- package/dist/solutions-components/p-9bcbc1cc.js +21 -0
- package/dist/solutions-components/p-9e3b8632.entry.js +11 -0
- package/dist/solutions-components/p-a0b8cecf.entry.js +6 -0
- package/dist/solutions-components/p-a0be72b6.entry.js +11 -0
- package/dist/solutions-components/p-a11fca14.js +6 -0
- package/dist/solutions-components/p-a32b61ee.entry.js +6 -0
- package/dist/solutions-components/p-a3a64af2.entry.js +11 -0
- package/dist/solutions-components/p-a4755ea8.entry.js +6 -0
- package/dist/solutions-components/p-a4772574.js +6 -0
- package/dist/solutions-components/p-a4aef40c.entry.js +17 -0
- package/dist/solutions-components/p-a8a0187d.js +6 -0
- package/dist/solutions-components/p-a9c30842.entry.js +11 -0
- package/dist/solutions-components/p-a9f21aaf.entry.js +6 -0
- package/dist/solutions-components/p-a9fc934d.js +6 -0
- package/dist/solutions-components/p-aa3092cf.js +6 -0
- package/dist/solutions-components/p-ac6a3e13.js +6 -0
- package/dist/solutions-components/p-ada368a5.entry.js +6 -0
- package/dist/solutions-components/p-b170916e.js +11 -0
- package/dist/solutions-components/p-b21a9b47.js +11 -0
- package/dist/solutions-components/p-b42bde59.entry.js +11 -0
- package/dist/solutions-components/p-b6efec9a.entry.js +6 -0
- package/dist/solutions-components/p-b78a1c21.js +6 -0
- package/dist/solutions-components/p-b82179c0.js +6 -0
- package/dist/solutions-components/p-baf82bab.entry.js +6 -0
- package/dist/solutions-components/p-bf23173c.js +6 -0
- package/dist/solutions-components/p-bf9e18d4.js +8 -0
- package/dist/solutions-components/p-c147117f.entry.js +17 -0
- package/dist/solutions-components/p-c21f578f.js +6 -0
- package/dist/solutions-components/p-c252997f.entry.js +17 -0
- package/dist/solutions-components/p-c2b20b85.entry.js +11 -0
- package/dist/solutions-components/p-c504529e.entry.js +6 -0
- package/dist/solutions-components/p-c5cb8804.js +6 -0
- package/dist/solutions-components/p-c8cf222b.entry.js +6 -0
- package/dist/solutions-components/p-c99843aa.entry.js +6 -0
- package/dist/solutions-components/p-ca33fa09.entry.js +11 -0
- package/dist/solutions-components/p-ca97465b.js +17 -0
- package/dist/solutions-components/p-cbe7a79a.entry.js +6 -0
- package/dist/solutions-components/p-cc774829.entry.js +6 -0
- package/dist/solutions-components/p-ced4e208.entry.js +6 -0
- package/dist/solutions-components/p-cfb83693.js +6 -0
- package/dist/solutions-components/p-cfccae7c.js +11 -0
- package/dist/solutions-components/p-d1ca57f3.entry.js +11 -0
- package/dist/solutions-components/p-d6208a47.js +6 -0
- package/dist/solutions-components/p-d78f13cb.entry.js +6 -0
- package/dist/solutions-components/p-d89fff3a.js +49 -0
- package/dist/solutions-components/p-d8b3d156.entry.js +12 -0
- package/dist/solutions-components/p-d9d213d4.entry.js +6 -0
- package/dist/solutions-components/p-db1f5bd5.entry.js +6 -0
- package/dist/solutions-components/p-db3ca38d.entry.js +17 -0
- package/dist/solutions-components/p-db436a77.entry.js +11 -0
- package/dist/solutions-components/p-db44593d.js +16 -0
- package/dist/solutions-components/p-dd071507.js +6 -0
- package/dist/solutions-components/p-dd37c504.js +6 -0
- package/dist/solutions-components/p-dd48cc25.entry.js +6 -0
- package/dist/solutions-components/p-dfdb8411.js +61 -0
- package/dist/solutions-components/p-e01f576a.entry.js +6 -0
- package/dist/solutions-components/p-e0276e26.entry.js +11 -0
- package/dist/solutions-components/p-e31754c8.js +6 -0
- package/dist/solutions-components/p-e377cfb3.entry.js +6 -0
- package/dist/solutions-components/p-e7951fcb.js +6 -0
- package/dist/solutions-components/p-e8011829.entry.js +47 -0
- package/dist/solutions-components/p-e83b1772.entry.js +11 -0
- package/dist/solutions-components/p-e89c5860.entry.js +6 -0
- package/dist/solutions-components/p-eb9b003a.entry.js +11 -0
- package/dist/solutions-components/p-ebbeec9f.entry.js +11 -0
- package/dist/solutions-components/p-ec8f042e.entry.js +6 -0
- package/dist/solutions-components/p-ecdd587c.entry.js +17 -0
- package/dist/solutions-components/p-ede84883.js +16 -0
- package/dist/solutions-components/p-efce2e85.js +6 -0
- package/dist/solutions-components/p-f10944e6.js +11 -0
- package/dist/solutions-components/p-f3626331.entry.js +11 -0
- package/dist/solutions-components/p-f3d277c2.entry.js +11 -0
- package/dist/solutions-components/p-f3dfb34f.entry.js +12 -0
- package/dist/solutions-components/p-f3f09834.js +6 -0
- package/dist/solutions-components/p-f4e91113.js +6 -0
- package/dist/solutions-components/p-f84848b0.entry.js +22 -0
- package/dist/solutions-components/p-f8f18a94.entry.js +12 -0
- package/dist/solutions-components/p-f9e3a93d.js +11 -0
- package/dist/solutions-components/p-f9eb2f2d.js +17 -0
- package/dist/solutions-components/p-f9ff6c29.entry.js +6 -0
- package/dist/solutions-components/p-fa6ef970.js +6 -0
- package/dist/solutions-components/p-fc8338c6.entry.js +6 -0
- package/dist/solutions-components/p-fe68d502.js +6 -0
- package/dist/solutions-components/p-ffee4847.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components_commit.txt +5 -6
- package/dist/types/monaco.d.ts +8191 -0
- package/dist/types/preact.d.ts +180 -180
- package/package.json +111 -109
- package/dist/assets/t9n/add-record-modal/index.d.ts +0 -10
- package/dist/assets/t9n/arcgis-login/index.d.ts +0 -1
- package/dist/assets/t9n/buffer-tools/index.d.ts +0 -6
- package/dist/assets/t9n/card-manager/index.d.ts +0 -6
- package/dist/assets/t9n/comment-card/index.d.ts +0 -4
- package/dist/assets/t9n/crowdsource-manager/index.d.ts +0 -8
- package/dist/assets/t9n/crowdsource-reporter/index.d.ts +0 -1
- package/dist/assets/t9n/edit-card/index.d.ts +0 -3
- package/dist/assets/t9n/feature-comments/index.d.ts +0 -1
- package/dist/assets/t9n/feature-form-flow-item/index.d.ts +0 -1
- package/dist/assets/t9n/info-card/index.d.ts +0 -9
- package/dist/assets/t9n/instant-apps-export/index.d.ts +0 -12
- package/dist/assets/t9n/instant-apps-filter-list/index.d.ts +0 -16
- package/dist/assets/t9n/instant-apps-interactive-legend/index.d.ts +0 -17
- package/dist/assets/t9n/instant-apps-keyboard-shortcuts/index.d.ts +0 -38
- package/dist/assets/t9n/instant-apps-language-translator/index.d.ts +0 -65
- package/dist/assets/t9n/instant-apps-measurement/index.d.ts +0 -7
- package/dist/assets/t9n/instant-apps-popover/index.d.ts +0 -7
- package/dist/assets/t9n/instant-apps-scoreboard/index.d.ts +0 -7
- package/dist/assets/t9n/instant-apps-social-share/index.d.ts +0 -36
- package/dist/assets/t9n/instant-apps-splash/index.d.ts +0 -3
- package/dist/assets/t9n/json-editor/index.d.ts +0 -8
- package/dist/assets/t9n/layer-table/index.d.ts +0 -28
- package/dist/assets/t9n/layout-manager/index.d.ts +0 -7
- package/dist/assets/t9n/list-flow-item/index.d.ts +0 -1
- package/dist/assets/t9n/location-flow-item/index.d.ts +0 -1
- package/dist/assets/t9n/map-card/index.d.ts +0 -3
- package/dist/assets/t9n/map-draw-tools/index.d.ts +0 -5
- package/dist/assets/t9n/map-layer-picker/index.d.ts +0 -5
- package/dist/assets/t9n/map-picker/index.d.ts +0 -3
- package/dist/assets/t9n/map-search/index.d.ts +0 -3
- package/dist/assets/t9n/map-select-tools/index.d.ts +0 -16
- package/dist/assets/t9n/map-tools/index.d.ts +0 -10
- package/dist/assets/t9n/media-card/index.d.ts +0 -5
- package/dist/assets/t9n/pdf-download/index.d.ts +0 -3
- package/dist/assets/t9n/public-notification/index.d.ts +0 -42
- package/dist/assets/t9n/refine-selection/index.d.ts +0 -9
- package/dist/assets/t9n/share-item/index.d.ts +0 -1
- package/dist/assets/t9n/solution-configuration/index.d.ts +0 -15
- package/dist/assets/t9n/solution-item/index.d.ts +0 -8
- package/dist/assets/t9n/solution-item-details/index.d.ts +0 -8
- package/dist/assets/t9n/solution-item-sharing/index.d.ts +0 -3
- package/dist/assets/t9n/solution-organization-variables/index.d.ts +0 -3
- package/dist/assets/t9n/solution-resource-item/index.d.ts +0 -8
- package/dist/assets/t9n/solution-spatial-ref/index.d.ts +0 -6
- package/dist/assets/t9n/solution-template-data/index.d.ts +0 -5
- package/dist/assets/t9n/solution-variables/index.d.ts +0 -3
- package/dist/assets/t9n/spatial-ref/index.d.ts +0 -3
- package/dist/assets/t9n/store-manager/index.d.ts +0 -1
- package/dist/cjs/ExpandToggle-817ccf38.js +0 -118
- package/dist/cjs/FloatingArrow-9bcb9e39.js +0 -50
- package/dist/cjs/Heading-f0383b92.js +0 -25
- package/dist/cjs/app-globals-127cde88.js +0 -69
- package/dist/cjs/ar-1faa7d7d.js +0 -104
- package/dist/cjs/bg-4d9cf392.js +0 -82
- package/dist/cjs/bs-87311f13.js +0 -51
- package/dist/cjs/ca-c533185f.js +0 -71
- package/dist/cjs/calcite-input-time-picker-fc18d09a.js +0 -1847
- package/dist/cjs/common-7f2082e5.js +0 -38
- package/dist/cjs/conditionalSlot-0be6171f.js +0 -63
- package/dist/cjs/cs-5a59562e.js +0 -147
- package/dist/cjs/da-b30dd248.js +0 -66
- package/dist/cjs/date-36e46ea6.js +0 -261
- package/dist/cjs/de-77484baa.js +0 -91
- package/dist/cjs/de-at-8c79eb0f.js +0 -90
- package/dist/cjs/de-ch-3efd6700.js +0 -90
- package/dist/cjs/dom-3532b4e4.js +0 -1087
- package/dist/cjs/downloadUtils-aedb5bf6.js +0 -3095
- package/dist/cjs/el-6fbc3bc9.js +0 -66
- package/dist/cjs/en-au-743018fb.js +0 -66
- package/dist/cjs/en-ca-3f139cfb.js +0 -65
- package/dist/cjs/en-gb-6271968e.js +0 -69
- package/dist/cjs/es-0b70ae1c.js +0 -66
- package/dist/cjs/es-mx-69ac7c88.js +0 -65
- package/dist/cjs/et-59db03c6.js +0 -92
- package/dist/cjs/fi-6792c787.js +0 -115
- package/dist/cjs/filter-02931d81.js +0 -765
- package/dist/cjs/floating-ui-68d9cf85.js +0 -1918
- package/dist/cjs/focusTrapComponent-37ecfdab.js +0 -1028
- package/dist/cjs/form-b7bc281a.js +0 -260
- package/dist/cjs/fr-95775e8e.js +0 -68
- package/dist/cjs/fr-ch-07b1a3b0.js +0 -66
- package/dist/cjs/globalAttributes-8943d3a3.js +0 -77
- package/dist/cjs/he-40b642ab.js +0 -105
- package/dist/cjs/helpers-b54d3082.js +0 -903
- package/dist/cjs/hi-45503aee.js +0 -65
- package/dist/cjs/hr-2e14d177.js +0 -80
- package/dist/cjs/hu-33594a1a.js +0 -88
- package/dist/cjs/id-e8e8832c.js +0 -66
- package/dist/cjs/index-1dd06c65.js +0 -201
- package/dist/cjs/index-2ed5545a.js +0 -2532
- package/dist/cjs/index.es-f2719df9.js +0 -10852
- package/dist/cjs/interactive-101013d4.js +0 -147
- package/dist/cjs/it-6a19cd26.js +0 -66
- package/dist/cjs/it-ch-d57bf7c3.js +0 -66
- package/dist/cjs/ja-bf600e3d.js +0 -72
- package/dist/cjs/ko-df515d73.js +0 -72
- package/dist/cjs/label-fff46771.js +0 -186
- package/dist/cjs/languageSwitcher-3d3b39dd.js +0 -58
- package/dist/cjs/languageUtil-1e8c411a.js +0 -69
- package/dist/cjs/loadModules-4c86a3ad.js +0 -30
- package/dist/cjs/loadModules-946c1946.js +0 -23
- package/dist/cjs/loadable-ddfda3cb.js +0 -94
- package/dist/cjs/locale-21097ba6.js +0 -82
- package/dist/cjs/locale-b38efacf.js +0 -121
- package/dist/cjs/locale-eb5416f2.js +0 -584
- package/dist/cjs/lt-7a431e7e.js +0 -97
- package/dist/cjs/lv-21feaab4.js +0 -66
- package/dist/cjs/mapViewUtils-3eb6e609.js +0 -469
- package/dist/cjs/mk-d9314e40.js +0 -66
- package/dist/cjs/nb-3002ae87.js +0 -67
- package/dist/cjs/nl-c33a7b29.js +0 -67
- package/dist/cjs/openCloseComponent-6500785c.js +0 -92
- package/dist/cjs/pl-e2f641d8.js +0 -114
- package/dist/cjs/pt-bbbf4991.js +0 -67
- package/dist/cjs/pt-br-590240d8.js +0 -65
- package/dist/cjs/publicNotificationStore-20c11ad3.js +0 -47
- package/dist/cjs/purify-b928c67e.js +0 -1726
- package/dist/cjs/restHelpersGet-20db55a9.js +0 -934
- package/dist/cjs/ro-b50a3568.js +0 -66
- package/dist/cjs/ru-048dc256.js +0 -126
- package/dist/cjs/shared-list-render-cf397ca1.js +0 -364
- package/dist/cjs/sk-8f42e1d7.js +0 -148
- package/dist/cjs/sl-fcb7ca4a.js +0 -168
- package/dist/cjs/solution-resource-93d2edb1.js +0 -141
- package/dist/cjs/solution-store-18a2d74e.js +0 -1330
- package/dist/cjs/sr-adcb5f2c.js +0 -101
- package/dist/cjs/sv-291ad8d8.js +0 -71
- package/dist/cjs/t9n-0700950f.js +0 -100
- package/dist/cjs/th-1f8ae352.js +0 -65
- package/dist/cjs/throttle-4ed3a729.js +0 -75
- package/dist/cjs/time-c558fdba.js +0 -289
- package/dist/cjs/tr-e8bee7f8.js +0 -66
- package/dist/cjs/uk-bac40231.js +0 -104
- package/dist/cjs/utils-3f9f041f.js +0 -120
- package/dist/cjs/utils-9a5c4f89.js +0 -62
- package/dist/cjs/utils-a6c6f23d.js +0 -64
- package/dist/cjs/vi-21081da3.js +0 -70
- package/dist/cjs/zh-cn-c19380cc.js +0 -94
- package/dist/cjs/zh-hk-4dc0c98c.js +0 -71
- package/dist/cjs/zh-tw-02c2a621.js +0 -92
- package/dist/collection/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +0 -387
- package/dist/esm/ExpandToggle-b9006424.js +0 -110
- package/dist/esm/FloatingArrow-bb212ed0.js +0 -48
- package/dist/esm/Heading-c0ce7e4b.js +0 -22
- package/dist/esm/app-globals-6bdf3cae.js +0 -67
- package/dist/esm/ar-e817c594.js +0 -102
- package/dist/esm/bg-c538d7e4.js +0 -80
- package/dist/esm/bs-213b43f7.js +0 -49
- package/dist/esm/ca-769b2dcf.js +0 -69
- package/dist/esm/calcite-input-time-picker-3b625c9b.js +0 -1844
- package/dist/esm/common-e1460239.js +0 -36
- package/dist/esm/conditionalSlot-c2cdc3cc.js +0 -60
- package/dist/esm/cs-e7ba2567.js +0 -145
- package/dist/esm/da-60dd17c2.js +0 -64
- package/dist/esm/date-26df2cd9.js +0 -245
- package/dist/esm/de-at-5cba014b.js +0 -88
- package/dist/esm/de-ch-7091dedd.js +0 -88
- package/dist/esm/de-de2769c4.js +0 -89
- package/dist/esm/dom-eb5bed1c.js +0 -1056
- package/dist/esm/downloadUtils-14e503d3.js +0 -3090
- package/dist/esm/el-8d04fc83.js +0 -64
- package/dist/esm/en-au-f90d0076.js +0 -64
- package/dist/esm/en-ca-e7dff189.js +0 -63
- package/dist/esm/en-gb-de33a68b.js +0 -67
- package/dist/esm/es-f3c33183.js +0 -64
- package/dist/esm/es-mx-24cabff0.js +0 -63
- package/dist/esm/et-ce3bc99d.js +0 -90
- package/dist/esm/fi-e86b38f9.js +0 -113
- package/dist/esm/filter-38af63e6.js +0 -763
- package/dist/esm/floating-ui-21971993.js +0 -1910
- package/dist/esm/focusTrapComponent-0023638f.js +0 -1023
- package/dist/esm/form-97a3e830.js +0 -252
- package/dist/esm/fr-ch-c87556da.js +0 -64
- package/dist/esm/fr-deebbddc.js +0 -66
- package/dist/esm/globalAttributes-9314dfb3.js +0 -74
- package/dist/esm/he-a6418f1e.js +0 -103
- package/dist/esm/helpers-bf5ecfd6.js +0 -877
- package/dist/esm/hi-4fe025e6.js +0 -63
- package/dist/esm/hr-dbe4130c.js +0 -78
- package/dist/esm/hu-33bae3ab.js +0 -86
- package/dist/esm/id-c6f1843e.js +0 -64
- package/dist/esm/index-6b2dd90f.js +0 -2498
- package/dist/esm/index-aa6b7033.js +0 -199
- package/dist/esm/index.es-14036977.js +0 -10766
- package/dist/esm/interactive-754da4cd.js +0 -143
- package/dist/esm/it-80b1d6c8.js +0 -64
- package/dist/esm/it-ch-8e297e22.js +0 -64
- package/dist/esm/ja-78050c74.js +0 -70
- package/dist/esm/ko-4d44c869.js +0 -70
- package/dist/esm/label-afc422fb.js +0 -179
- package/dist/esm/languageSwitcher-d1766a22.js +0 -55
- package/dist/esm/languageUtil-7ca08515.js +0 -66
- package/dist/esm/loadModules-7bf27f90.js +0 -21
- package/dist/esm/loadModules-fdecaaec.js +0 -28
- package/dist/esm/loadable-9da00331.js +0 -89
- package/dist/esm/locale-1f3572e4.js +0 -77
- package/dist/esm/locale-5d32d5f4.js +0 -118
- package/dist/esm/locale-5e5469ac.js +0 -571
- package/dist/esm/lt-a67abd12.js +0 -95
- package/dist/esm/lv-a86a1a8e.js +0 -64
- package/dist/esm/mapViewUtils-b21ca0ac.js +0 -452
- package/dist/esm/mk-7741130f.js +0 -64
- package/dist/esm/nb-ebb2d499.js +0 -65
- package/dist/esm/nl-3de88217.js +0 -65
- package/dist/esm/openCloseComponent-697374e0.js +0 -90
- package/dist/esm/pl-eac0bd2f.js +0 -112
- package/dist/esm/pt-81a10022.js +0 -65
- package/dist/esm/pt-br-fd5c5c15.js +0 -63
- package/dist/esm/publicNotificationStore-dcb46bde.js +0 -45
- package/dist/esm/purify-24af905b.js +0 -1724
- package/dist/esm/restHelpersGet-57a51bca.js +0 -921
- package/dist/esm/ro-84f1494e.js +0 -64
- package/dist/esm/ru-4207d5ce.js +0 -124
- package/dist/esm/shared-list-render-9822f373.js +0 -342
- package/dist/esm/sk-cee3b9cc.js +0 -146
- package/dist/esm/sl-c4c248af.js +0 -166
- package/dist/esm/solution-resource-342904db.js +0 -138
- package/dist/esm/solution-store-294ba149.js +0 -1328
- package/dist/esm/sr-755dc8e6.js +0 -99
- package/dist/esm/sv-de83ad1a.js +0 -69
- package/dist/esm/t9n-0c5d99c4.js +0 -95
- package/dist/esm/th-353ccceb.js +0 -63
- package/dist/esm/throttle-9530dcf0.js +0 -73
- package/dist/esm/time-b88e70c8.js +0 -274
- package/dist/esm/tr-ac2382ba.js +0 -64
- package/dist/esm/uk-69e01d81.js +0 -102
- package/dist/esm/utils-4dc99bbb.js +0 -61
- package/dist/esm/utils-8ec2a8d5.js +0 -111
- package/dist/esm/utils-c5b069a6.js +0 -51
- package/dist/esm/vi-a2c9fb81.js +0 -68
- package/dist/esm/zh-cn-e0771769.js +0 -92
- package/dist/esm/zh-hk-f125cc0c.js +0 -69
- package/dist/esm/zh-tw-48a85069.js +0 -90
- package/dist/solutions-components/p-011767da.entry.js +0 -6
- package/dist/solutions-components/p-019bf7ce.entry.js +0 -6
- package/dist/solutions-components/p-0283dd2e.js +0 -6
- package/dist/solutions-components/p-028bb9a5.entry.js +0 -11
- package/dist/solutions-components/p-035652d2.entry.js +0 -11
- package/dist/solutions-components/p-04026f1f.js +0 -8
- package/dist/solutions-components/p-0452cb66.entry.js +0 -6
- package/dist/solutions-components/p-049ce6f8.entry.js +0 -16
- package/dist/solutions-components/p-04af5bc4.entry.js +0 -6
- package/dist/solutions-components/p-0512396e.entry.js +0 -11
- package/dist/solutions-components/p-05de45f5.entry.js +0 -6
- package/dist/solutions-components/p-067c5df3.js +0 -6
- package/dist/solutions-components/p-083faade.entry.js +0 -6
- package/dist/solutions-components/p-08988be0.js +0 -6
- package/dist/solutions-components/p-09075cfa.js +0 -6
- package/dist/solutions-components/p-09ada2ae.entry.js +0 -11
- package/dist/solutions-components/p-0a6ee349.js +0 -36
- package/dist/solutions-components/p-0bf6feff.entry.js +0 -6
- package/dist/solutions-components/p-0ce3bfc6.js +0 -11
- package/dist/solutions-components/p-0d76fdc5.entry.js +0 -6
- package/dist/solutions-components/p-0ea70808.js +0 -6
- package/dist/solutions-components/p-10882fb6.js +0 -6
- package/dist/solutions-components/p-1170ba45.entry.js +0 -11
- package/dist/solutions-components/p-1272c7ff.js +0 -6
- package/dist/solutions-components/p-135afb56.entry.js +0 -11
- package/dist/solutions-components/p-14c0367b.js +0 -6
- package/dist/solutions-components/p-1535c276.js +0 -6
- package/dist/solutions-components/p-158f331a.entry.js +0 -6
- package/dist/solutions-components/p-164259d0.entry.js +0 -12
- package/dist/solutions-components/p-1b29d7b1.entry.js +0 -11
- package/dist/solutions-components/p-1d0b8fdc.entry.js +0 -6
- package/dist/solutions-components/p-1edcc028.js +0 -21
- package/dist/solutions-components/p-1fbffc2a.js +0 -6
- package/dist/solutions-components/p-20f93e39.entry.js +0 -11
- package/dist/solutions-components/p-20fdc9b7.entry.js +0 -6
- package/dist/solutions-components/p-2395c425.js +0 -11
- package/dist/solutions-components/p-23d633cf.js +0 -11
- package/dist/solutions-components/p-23dd9d46.entry.js +0 -17
- package/dist/solutions-components/p-244a369a.entry.js +0 -6
- package/dist/solutions-components/p-27c7ec35.entry.js +0 -6
- package/dist/solutions-components/p-28c4dbc7.js +0 -11
- package/dist/solutions-components/p-2952c223.entry.js +0 -11
- package/dist/solutions-components/p-2c86746d.entry.js +0 -6
- package/dist/solutions-components/p-2d14147b.js +0 -6
- package/dist/solutions-components/p-2ee1209d.entry.js +0 -11
- package/dist/solutions-components/p-2f17251a.entry.js +0 -11
- package/dist/solutions-components/p-2f623c6c.entry.js +0 -11
- package/dist/solutions-components/p-3259f627.entry.js +0 -6
- package/dist/solutions-components/p-3318dd6e.entry.js +0 -6
- package/dist/solutions-components/p-3421d548.js +0 -6
- package/dist/solutions-components/p-395ff202.entry.js +0 -11
- package/dist/solutions-components/p-3c262f56.js +0 -11
- package/dist/solutions-components/p-3cc7e0bf.js +0 -6
- package/dist/solutions-components/p-3dcb3ec6.entry.js +0 -11
- package/dist/solutions-components/p-414c0db9.entry.js +0 -6
- package/dist/solutions-components/p-43a69f44.entry.js +0 -6
- package/dist/solutions-components/p-463c7edd.entry.js +0 -6
- package/dist/solutions-components/p-47d5adbf.entry.js +0 -6
- package/dist/solutions-components/p-4b407bca.entry.js +0 -11
- package/dist/solutions-components/p-4d3c4339.entry.js +0 -6
- package/dist/solutions-components/p-4dd6252a.js +0 -6
- package/dist/solutions-components/p-4ffb1666.js +0 -6
- package/dist/solutions-components/p-51f70c0f.js +0 -50
- package/dist/solutions-components/p-52167ca3.entry.js +0 -22
- package/dist/solutions-components/p-54e785c5.js +0 -11
- package/dist/solutions-components/p-561197ae.entry.js +0 -11
- package/dist/solutions-components/p-564cd4d8.entry.js +0 -6
- package/dist/solutions-components/p-57a1815c.entry.js +0 -11
- package/dist/solutions-components/p-58fd70b1.js +0 -6
- package/dist/solutions-components/p-59ee209a.js +0 -61
- package/dist/solutions-components/p-5ccd28a3.js +0 -474
- package/dist/solutions-components/p-5fb865d4.entry.js +0 -6
- package/dist/solutions-components/p-6024576c.entry.js +0 -11
- package/dist/solutions-components/p-607c89c8.js +0 -6
- package/dist/solutions-components/p-609c9d7e.js +0 -6
- package/dist/solutions-components/p-62259927.entry.js +0 -6
- package/dist/solutions-components/p-6244081f.js +0 -130
- package/dist/solutions-components/p-62d0f796.entry.js +0 -11
- package/dist/solutions-components/p-630b79b8.js +0 -6
- package/dist/solutions-components/p-647c4bdb.js +0 -22
- package/dist/solutions-components/p-65c0f748.entry.js +0 -11
- package/dist/solutions-components/p-65ef22d3.entry.js +0 -11
- package/dist/solutions-components/p-67165117.entry.js +0 -6
- package/dist/solutions-components/p-68567e31.entry.js +0 -6
- package/dist/solutions-components/p-6a5bbbe6.js +0 -21
- package/dist/solutions-components/p-6a727977.entry.js +0 -11
- package/dist/solutions-components/p-6b14cc7e.entry.js +0 -6
- package/dist/solutions-components/p-6c224b36.js +0 -6
- package/dist/solutions-components/p-6c932889.js +0 -11
- package/dist/solutions-components/p-6e1fc9fd.js +0 -21
- package/dist/solutions-components/p-6ebb8b36.js +0 -6
- package/dist/solutions-components/p-6f9cff0d.entry.js +0 -6
- package/dist/solutions-components/p-6ff33c47.js +0 -6
- package/dist/solutions-components/p-71b620cf.js +0 -6
- package/dist/solutions-components/p-729dde18.js +0 -21
- package/dist/solutions-components/p-761c16ed.entry.js +0 -6
- package/dist/solutions-components/p-768ad236.js +0 -6
- package/dist/solutions-components/p-790ee30b.entry.js +0 -17
- package/dist/solutions-components/p-792be6b2.entry.js +0 -11
- package/dist/solutions-components/p-7b9dda44.entry.js +0 -6
- package/dist/solutions-components/p-7f9bd076.entry.js +0 -6
- package/dist/solutions-components/p-81920123.entry.js +0 -6
- package/dist/solutions-components/p-82fdf707.entry.js +0 -11
- package/dist/solutions-components/p-830e72b4.js +0 -6
- package/dist/solutions-components/p-8527bf4b.entry.js +0 -6
- package/dist/solutions-components/p-861a83eb.entry.js +0 -11
- package/dist/solutions-components/p-868263d3.js +0 -6
- package/dist/solutions-components/p-874624ea.js +0 -6
- package/dist/solutions-components/p-882e74a1.js +0 -6
- package/dist/solutions-components/p-88cbaf7f.entry.js +0 -17
- package/dist/solutions-components/p-89365894.js +0 -6
- package/dist/solutions-components/p-8ba9eba7.entry.js +0 -11
- package/dist/solutions-components/p-8c4467ee.entry.js +0 -11
- package/dist/solutions-components/p-8dc37394.entry.js +0 -6
- package/dist/solutions-components/p-8e43aba3.entry.js +0 -6
- package/dist/solutions-components/p-8fdbb6f2.js +0 -12
- package/dist/solutions-components/p-90620197.entry.js +0 -6
- package/dist/solutions-components/p-910e4993.js +0 -6
- package/dist/solutions-components/p-92b12ad0.js +0 -6
- package/dist/solutions-components/p-92b563f9.js +0 -6
- package/dist/solutions-components/p-94ba42ec.js +0 -6
- package/dist/solutions-components/p-94df1842.js +0 -6
- package/dist/solutions-components/p-953fda45.entry.js +0 -6
- package/dist/solutions-components/p-9604fada.entry.js +0 -12
- package/dist/solutions-components/p-97ab28b4.entry.js +0 -21
- package/dist/solutions-components/p-97b13b3f.entry.js +0 -11
- package/dist/solutions-components/p-9907889f.js +0 -16
- package/dist/solutions-components/p-9a11a86b.entry.js +0 -11
- package/dist/solutions-components/p-9b46426a.js +0 -17
- package/dist/solutions-components/p-9ca4870b.js +0 -6
- package/dist/solutions-components/p-9ff8cf72.js +0 -6
- package/dist/solutions-components/p-a28057e8.entry.js +0 -6
- package/dist/solutions-components/p-a49efba1.js +0 -17
- package/dist/solutions-components/p-a5190904.entry.js +0 -6
- package/dist/solutions-components/p-a56b22c8.js +0 -6
- package/dist/solutions-components/p-a663c1ab.entry.js +0 -11
- package/dist/solutions-components/p-a7402cd7.js +0 -11
- package/dist/solutions-components/p-a79a92bc.js +0 -6
- package/dist/solutions-components/p-a7eb2d6c.js +0 -16
- package/dist/solutions-components/p-a8669ed9.js +0 -6
- package/dist/solutions-components/p-a8c24d3a.js +0 -16
- package/dist/solutions-components/p-a9ac285a.entry.js +0 -16
- package/dist/solutions-components/p-aacb905c.js +0 -11
- package/dist/solutions-components/p-abc63396.entry.js +0 -11
- package/dist/solutions-components/p-ac9ddc01.entry.js +0 -6
- package/dist/solutions-components/p-acc83f1a.entry.js +0 -11
- package/dist/solutions-components/p-ad243418.entry.js +0 -6
- package/dist/solutions-components/p-af42225b.entry.js +0 -47
- package/dist/solutions-components/p-af71a53f.entry.js +0 -17
- package/dist/solutions-components/p-afea124e.entry.js +0 -11
- package/dist/solutions-components/p-b00ce8db.entry.js +0 -11
- package/dist/solutions-components/p-b1e8596e.js +0 -11
- package/dist/solutions-components/p-b1e970f5.entry.js +0 -11
- package/dist/solutions-components/p-b23de6b9.entry.js +0 -6
- package/dist/solutions-components/p-b2b179ab.entry.js +0 -17
- package/dist/solutions-components/p-b3665ad1.js +0 -6
- package/dist/solutions-components/p-b5427580.js +0 -6
- package/dist/solutions-components/p-b5aba3e5.js +0 -6
- package/dist/solutions-components/p-b63e932f.entry.js +0 -6
- package/dist/solutions-components/p-b9345656.js +0 -6
- package/dist/solutions-components/p-b9d4587a.entry.js +0 -6
- package/dist/solutions-components/p-bb675f49.js +0 -11
- package/dist/solutions-components/p-bb68d649.js +0 -6
- package/dist/solutions-components/p-bbbbd3a7.entry.js +0 -11
- package/dist/solutions-components/p-bd416950.js +0 -6
- package/dist/solutions-components/p-c2865313.js +0 -6
- package/dist/solutions-components/p-c4ba432f.entry.js +0 -6
- package/dist/solutions-components/p-c4de6793.entry.js +0 -6
- package/dist/solutions-components/p-c664ada9.entry.js +0 -6
- package/dist/solutions-components/p-c82d391f.js +0 -6
- package/dist/solutions-components/p-c8ddae0d.entry.js +0 -11
- package/dist/solutions-components/p-c91f487a.entry.js +0 -6
- package/dist/solutions-components/p-c9af7cb8.js +0 -6
- package/dist/solutions-components/p-ca4061c3.js +0 -49
- package/dist/solutions-components/p-ca6ddf46.js +0 -6
- package/dist/solutions-components/p-cdac1223.entry.js +0 -11
- package/dist/solutions-components/p-cec7da74.entry.js +0 -11
- package/dist/solutions-components/p-d0bb6ca3.entry.js +0 -17
- package/dist/solutions-components/p-d22cacef.js +0 -6
- package/dist/solutions-components/p-d395caef.js +0 -11
- package/dist/solutions-components/p-d3a96b97.js +0 -6
- package/dist/solutions-components/p-d4a4ba7e.js +0 -11
- package/dist/solutions-components/p-d82c7328.entry.js +0 -6
- package/dist/solutions-components/p-d85d8528.entry.js +0 -6
- package/dist/solutions-components/p-d8f0d787.entry.js +0 -6
- package/dist/solutions-components/p-da61bede.entry.js +0 -11
- package/dist/solutions-components/p-db4e9400.entry.js +0 -6
- package/dist/solutions-components/p-dca25d3e.js +0 -11
- package/dist/solutions-components/p-dd11873e.entry.js +0 -12
- package/dist/solutions-components/p-deda072b.entry.js +0 -11
- package/dist/solutions-components/p-dfcf30cc.js +0 -7
- package/dist/solutions-components/p-e05880a7.entry.js +0 -6
- package/dist/solutions-components/p-e085289d.entry.js +0 -17
- package/dist/solutions-components/p-e3c5210a.entry.js +0 -21
- package/dist/solutions-components/p-e42db291.js +0 -6
- package/dist/solutions-components/p-e6579db5.js +0 -6
- package/dist/solutions-components/p-e9a7b4c8.entry.js +0 -6
- package/dist/solutions-components/p-eae915c0.entry.js +0 -11
- package/dist/solutions-components/p-ebf5b224.js +0 -6
- package/dist/solutions-components/p-ecfaf4d7.js +0 -11
- package/dist/solutions-components/p-ed116111.js +0 -11
- package/dist/solutions-components/p-ede08016.js +0 -6
- package/dist/solutions-components/p-ee0118e4.js +0 -6
- package/dist/solutions-components/p-ee5c18c2.js +0 -6
- package/dist/solutions-components/p-f1e9b756.entry.js +0 -6
- package/dist/solutions-components/p-f4772dcf.entry.js +0 -17
- package/dist/solutions-components/p-f4aecd64.entry.js +0 -11
- package/dist/solutions-components/p-f7d67177.entry.js +0 -6
- package/dist/solutions-components/p-fa4473b3.entry.js +0 -11
- package/dist/solutions-components/p-fac18708.entry.js +0 -6
- package/dist/solutions-components/p-fc384a88.entry.js +0 -29
- package/dist/solutions-components/p-fdff775f.entry.js +0 -11
- package/dist/solutions-components/p-fe949c1d.entry.js +0 -11
- package/dist/solutions-components/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +0 -387
- package/dist/types/assets/t9n/add-record-modal/index.d.ts +0 -10
- package/dist/types/assets/t9n/arcgis-login/index.d.ts +0 -1
- package/dist/types/assets/t9n/buffer-tools/index.d.ts +0 -6
- package/dist/types/assets/t9n/card-manager/index.d.ts +0 -6
- package/dist/types/assets/t9n/comment-card/index.d.ts +0 -4
- package/dist/types/assets/t9n/crowdsource-manager/index.d.ts +0 -8
- package/dist/types/assets/t9n/crowdsource-reporter/index.d.ts +0 -1
- package/dist/types/assets/t9n/edit-card/index.d.ts +0 -3
- package/dist/types/assets/t9n/feature-comments/index.d.ts +0 -1
- package/dist/types/assets/t9n/feature-form-flow-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/info-card/index.d.ts +0 -9
- package/dist/types/assets/t9n/instant-apps-export/index.d.ts +0 -12
- package/dist/types/assets/t9n/instant-apps-filter-list/index.d.ts +0 -16
- package/dist/types/assets/t9n/instant-apps-interactive-legend/index.d.ts +0 -17
- package/dist/types/assets/t9n/instant-apps-keyboard-shortcuts/index.d.ts +0 -38
- package/dist/types/assets/t9n/instant-apps-language-translator/index.d.ts +0 -65
- package/dist/types/assets/t9n/instant-apps-measurement/index.d.ts +0 -7
- package/dist/types/assets/t9n/instant-apps-popover/index.d.ts +0 -7
- package/dist/types/assets/t9n/instant-apps-scoreboard/index.d.ts +0 -7
- package/dist/types/assets/t9n/instant-apps-social-share/index.d.ts +0 -36
- package/dist/types/assets/t9n/instant-apps-splash/index.d.ts +0 -3
- package/dist/types/assets/t9n/json-editor/index.d.ts +0 -8
- package/dist/types/assets/t9n/layer-table/index.d.ts +0 -28
- package/dist/types/assets/t9n/layout-manager/index.d.ts +0 -7
- package/dist/types/assets/t9n/list-flow-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/location-flow-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/map-card/index.d.ts +0 -3
- package/dist/types/assets/t9n/map-draw-tools/index.d.ts +0 -5
- package/dist/types/assets/t9n/map-layer-picker/index.d.ts +0 -5
- package/dist/types/assets/t9n/map-picker/index.d.ts +0 -3
- package/dist/types/assets/t9n/map-search/index.d.ts +0 -3
- package/dist/types/assets/t9n/map-select-tools/index.d.ts +0 -16
- package/dist/types/assets/t9n/map-tools/index.d.ts +0 -10
- package/dist/types/assets/t9n/media-card/index.d.ts +0 -5
- package/dist/types/assets/t9n/pdf-download/index.d.ts +0 -3
- package/dist/types/assets/t9n/public-notification/index.d.ts +0 -42
- package/dist/types/assets/t9n/refine-selection/index.d.ts +0 -9
- package/dist/types/assets/t9n/share-item/index.d.ts +0 -1
- package/dist/types/assets/t9n/solution-configuration/index.d.ts +0 -15
- package/dist/types/assets/t9n/solution-item/index.d.ts +0 -8
- package/dist/types/assets/t9n/solution-item-details/index.d.ts +0 -8
- package/dist/types/assets/t9n/solution-item-sharing/index.d.ts +0 -3
- package/dist/types/assets/t9n/solution-organization-variables/index.d.ts +0 -3
- package/dist/types/assets/t9n/solution-resource-item/index.d.ts +0 -8
- package/dist/types/assets/t9n/solution-spatial-ref/index.d.ts +0 -6
- package/dist/types/assets/t9n/solution-template-data/index.d.ts +0 -5
- package/dist/types/assets/t9n/solution-variables/index.d.ts +0 -3
- package/dist/types/assets/t9n/spatial-ref/index.d.ts +0 -3
- package/dist/types/assets/t9n/store-manager/index.d.ts +0 -1
- /package/dist/cjs/{array-e1557681.js → array-1d19377b.js} +0 -0
- /package/dist/cjs/{breakpoints-101f3498.js → breakpoints-fcd0f2a0.js} +0 -0
- /package/dist/cjs/{browser-16e4bcaa.js → browser-9a43b900.js} +0 -0
- /package/dist/cjs/{component-9ae7f98c.js → component-c270a500.js} +0 -0
- /package/dist/cjs/{debounce-dc29e0d7.js → debounce-30afab47.js} +0 -0
- /package/dist/cjs/{esri-loader-f9cc896e.js → esri-loader-a91c0ec1.js} +0 -0
- /package/dist/cjs/{guid-915a25a4.js → guid-1a466ca6.js} +0 -0
- /package/dist/cjs/{html2canvas-f6c29bf8.js → html2canvas-34208bbf.js} +0 -0
- /package/dist/cjs/{index-ef33dd68.js → index-4c1b0d3c.js} +0 -0
- /package/dist/cjs/{index-2ade4bf3.js → index-c0ee2715.js} +0 -0
- /package/dist/cjs/{index-2c4c660f.js → index-f64944ad.js} +0 -0
- /package/dist/cjs/{key-3057c9ae.js → key-b8c05387.js} +0 -0
- /package/dist/cjs/{math-8083815d.js → math-6c9027e3.js} +0 -0
- /package/dist/cjs/{mode-eea7083b.js → mode-d6c12b38.js} +0 -0
- /package/dist/cjs/{observers-0dc2268b.js → observers-281a8c99.js} +0 -0
- /package/dist/cjs/{resources-0cdf5268.js → resources-0986c5c2.js} +0 -0
- /package/dist/cjs/{resources-97624e80.js → resources-222ad22c.js} +0 -0
- /package/dist/cjs/{resources-dab03f25.js → resources-228f9286.js} +0 -0
- /package/dist/cjs/{resources-40bb3b0f.js → resources-55ba2752.js} +0 -0
- /package/dist/cjs/{resources-eeb0b476.js → resources-6c60363a.js} +0 -0
- /package/dist/cjs/{resources-08594e64.js → resources-8e3763a4.js} +0 -0
- /package/dist/cjs/{resources-e6b1ec37.js → resources-9400a252.js} +0 -0
- /package/dist/cjs/{resources-989454ca.js → resources-a825d7ae.js} +0 -0
- /package/dist/cjs/{resources-ca92098e.js → resources-d2d7b7c7.js} +0 -0
- /package/dist/cjs/{resources-346657b2.js → resources-f3e0e822.js} +0 -0
- /package/dist/cjs/{sortableComponent-2df4ffc7.js → sortableComponent-188f3290.js} +0 -0
- /package/dist/cjs/{utils-d185873c.js → utils-234879c7.js} +0 -0
- /package/dist/cjs/{utils-ce788266.js → utils-c735a41d.js} +0 -0
- /package/dist/esm/{array-ee46de18.js → array-51c31356.js} +0 -0
- /package/dist/esm/{breakpoints-88967029.js → breakpoints-f0f1417d.js} +0 -0
- /package/dist/esm/{browser-d9c15d82.js → browser-b4c16201.js} +0 -0
- /package/dist/esm/{component-57d75546.js → component-98bae46b.js} +0 -0
- /package/dist/esm/{debounce-3a2354cd.js → debounce-229b1a22.js} +0 -0
- /package/dist/esm/{esri-loader-bf16520d.js → esri-loader-eda07632.js} +0 -0
- /package/dist/esm/{guid-3cc28ba2.js → guid-36c6c6a5.js} +0 -0
- /package/dist/esm/{html2canvas-2fee68d8.js → html2canvas-a0a4df55.js} +0 -0
- /package/dist/esm/{index-4efda611.js → index-5110a27a.js} +0 -0
- /package/dist/esm/{index-37abc70f.js → index-a1e91462.js} +0 -0
- /package/dist/esm/{index-eb5a4509.js → index-d8ff08ed.js} +0 -0
- /package/dist/esm/{key-adae9343.js → key-af303047.js} +0 -0
- /package/dist/esm/{math-a7230f76.js → math-cdaf4dc0.js} +0 -0
- /package/dist/esm/{mode-328b4c11.js → mode-66911cb5.js} +0 -0
- /package/dist/esm/{observers-0e786b1c.js → observers-8ce200f2.js} +0 -0
- /package/dist/esm/{resources-29d4d05f.js → resources-13098091.js} +0 -0
- /package/dist/esm/{resources-500077b3.js → resources-1a8d4d77.js} +0 -0
- /package/dist/esm/{resources-4bf2674a.js → resources-221791b0.js} +0 -0
- /package/dist/esm/{resources-65472b8b.js → resources-242fdf8d.js} +0 -0
- /package/dist/esm/{resources-44be2909.js → resources-4bcfc016.js} +0 -0
- /package/dist/esm/{resources-011302b8.js → resources-649a0f91.js} +0 -0
- /package/dist/esm/{resources-3ce376de.js → resources-6772a50d.js} +0 -0
- /package/dist/esm/{resources-529ffb0b.js → resources-6e00e0d1.js} +0 -0
- /package/dist/esm/{resources-b7b6b68c.js → resources-a0420cda.js} +0 -0
- /package/dist/esm/{resources-cfbc37a8.js → resources-cdc36705.js} +0 -0
- /package/dist/esm/{sortableComponent-50cfe8da.js → sortableComponent-65956286.js} +0 -0
- /package/dist/esm/{utils-809d6ba5.js → utils-86d242a6.js} +0 -0
- /package/dist/esm/{utils-619bc2ee.js → utils-abdd879e.js} +0 -0
- /package/dist/solutions-components/{p-31b622cd.js → p-0c07ad8a.js} +0 -0
- /package/dist/solutions-components/{p-52445921.js → p-1e2ffee3.js} +0 -0
- /package/dist/solutions-components/{p-16b08122.js → p-29d68474.js} +0 -0
- /package/dist/solutions-components/{p-748597df.js → p-32b6b6c9.js} +0 -0
- /package/dist/solutions-components/{p-f44d9211.js → p-35c58364.js} +0 -0
- /package/dist/solutions-components/{p-0953177a.js → p-3cce003d.js} +0 -0
- /package/dist/solutions-components/{p-950cebf2.js → p-3f279568.js} +0 -0
- /package/dist/solutions-components/{p-f6b96918.js → p-428554b4.js} +0 -0
- /package/dist/solutions-components/{p-a95649f7.js → p-475ad635.js} +0 -0
- /package/dist/solutions-components/{p-6f89a806.js → p-568822d4.js} +0 -0
- /package/dist/solutions-components/{p-2b56ecd9.js → p-5b566d55.js} +0 -0
- /package/dist/solutions-components/{p-b9c4c123.js → p-74062e42.js} +0 -0
- /package/dist/solutions-components/{p-974f5f01.js → p-775ad144.js} +0 -0
- /package/dist/solutions-components/{p-c5af6380.js → p-77b43a94.js} +0 -0
- /package/dist/solutions-components/{p-d68612ec.js → p-7f333e23.js} +0 -0
- /package/dist/solutions-components/{p-64e988e7.js → p-993e8bd0.js} +0 -0
- /package/dist/solutions-components/{p-aa6b47d1.js → p-a230b270.js} +0 -0
- /package/dist/solutions-components/{p-f67a0324.js → p-a82f35c9.js} +0 -0
- /package/dist/solutions-components/{p-f2fda308.js → p-abea8ef5.js} +0 -0
- /package/dist/solutions-components/{p-9fb768a8.js → p-b3ebaa79.js} +0 -0
- /package/dist/solutions-components/{p-a442727d.js → p-c92fff33.js} +0 -0
- /package/dist/solutions-components/{p-dac67a09.js → p-c96eb2db.js} +0 -0
- /package/dist/solutions-components/{p-f5e66598.js → p-c9fc3253.js} +0 -0
- /package/dist/solutions-components/{p-fec9937a.js → p-d32e6900.js} +0 -0
- /package/dist/solutions-components/{p-16ec7030.js → p-d918ec36.js} +0 -0
- /package/dist/solutions-components/{p-252a1f8a.js → p-dbacb910.js} +0 -0
- /package/dist/solutions-components/{p-1f74004b.js → p-ea83d12d.js} +0 -0
- /package/dist/solutions-components/{p-cbfdcfaf.js → p-fcefdfff.js} +0 -0
@@ -0,0 +1,1342 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import { c as createStore } from './index-857df22e.js';
|
7
|
+
import { d as EUpdateType } from './interfaces-341e3ab3.js';
|
8
|
+
import { E as EFileType, j as jszip_min, S as SolutionTemplateFormatVersion } from './solution-resource-7b8d302d.js';
|
9
|
+
import './index-a1e91462.js';
|
10
|
+
import { c as cleanUrl, r as request, b as blobToFile, d as checkUrlPathTermination, f as getThumbnailFile, h as getItemDataAsJson, a as getProp, s as setCreateProp } from './restHelpersGet-af032ab2.js';
|
11
|
+
|
12
|
+
/* Copyright (c) 2018-2019 Environmental Systems Research Institute, Inc.
|
13
|
+
* Apache-2.0 */
|
14
|
+
/**
|
15
|
+
* Returns an array with arrays of the given size.
|
16
|
+
*
|
17
|
+
* @param arr Array to split
|
18
|
+
* @param size Size of every group
|
19
|
+
*/
|
20
|
+
function chunkArray(arr, size) {
|
21
|
+
const results = [];
|
22
|
+
let index = 0;
|
23
|
+
while (index < arr.length) {
|
24
|
+
results.push(arr.slice(index, index + size));
|
25
|
+
index += size;
|
26
|
+
}
|
27
|
+
return results;
|
28
|
+
}
|
29
|
+
|
30
|
+
/*! *****************************************************************************
|
31
|
+
Copyright (c) Microsoft Corporation.
|
32
|
+
|
33
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
34
|
+
purpose with or without fee is hereby granted.
|
35
|
+
|
36
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
37
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
38
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
39
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
40
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
41
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
42
|
+
PERFORMANCE OF THIS SOFTWARE.
|
43
|
+
***************************************************************************** */
|
44
|
+
|
45
|
+
var __assign = function() {
|
46
|
+
__assign = Object.assign || function __assign(t) {
|
47
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
48
|
+
s = arguments[i];
|
49
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
50
|
+
}
|
51
|
+
return t;
|
52
|
+
};
|
53
|
+
return __assign.apply(this, arguments);
|
54
|
+
};
|
55
|
+
|
56
|
+
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
|
57
|
+
* Apache-2.0 */
|
58
|
+
/**
|
59
|
+
* Helper that returns the appropriate portal url for a given request. `requestOptions.portal` is given
|
60
|
+
* precedence over `authentication.portal`. If neither `portal` nor `authentication` is present,
|
61
|
+
* `www.arcgis.com/sharing/rest` is returned.
|
62
|
+
*
|
63
|
+
* @param requestOptions - Request options that may have authentication manager
|
64
|
+
* @returns Portal url to be used in API requests
|
65
|
+
*/
|
66
|
+
function getPortalUrl(requestOptions) {
|
67
|
+
if (requestOptions === void 0) { requestOptions = {}; }
|
68
|
+
// use portal in options if specified
|
69
|
+
if (requestOptions.portal) {
|
70
|
+
return cleanUrl(requestOptions.portal);
|
71
|
+
}
|
72
|
+
// if auth was passed, use that portal
|
73
|
+
if (requestOptions.authentication) {
|
74
|
+
// the portal url is already scrubbed in the auth package
|
75
|
+
return requestOptions.authentication.portal;
|
76
|
+
}
|
77
|
+
// default to arcgis.com
|
78
|
+
return "https://www.arcgis.com/sharing/rest";
|
79
|
+
}
|
80
|
+
|
81
|
+
/* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
|
82
|
+
* Apache-2.0 */
|
83
|
+
/**
|
84
|
+
* Serialize an item and its data into a json format accepted by the Portal API for create and update operations
|
85
|
+
*
|
86
|
+
* @param item Item to be serialized
|
87
|
+
* @returns a formatted json object to be sent to Portal
|
88
|
+
*/
|
89
|
+
function serializeItem(item) {
|
90
|
+
// create a clone so we're not messing with the original
|
91
|
+
var clone = JSON.parse(JSON.stringify(item));
|
92
|
+
// binary data needs POSTed as a `file`
|
93
|
+
// JSON object literals should be passed as `text`.
|
94
|
+
if (clone.data) {
|
95
|
+
(typeof Blob !== "undefined" && item.data instanceof Blob) ||
|
96
|
+
// Node.js doesn't implement Blob
|
97
|
+
item.data.constructor.name === "ReadStream"
|
98
|
+
? (clone.file = item.data)
|
99
|
+
: (clone.text = item.data);
|
100
|
+
delete clone.data;
|
101
|
+
}
|
102
|
+
return clone;
|
103
|
+
}
|
104
|
+
/**
|
105
|
+
* `requestOptions.owner` is given priority, `requestOptions.item.owner` will be checked next. If neither are present, `authentication.getUserName()` will be used instead.
|
106
|
+
*/
|
107
|
+
function determineOwner(requestOptions) {
|
108
|
+
if (requestOptions.owner) {
|
109
|
+
return Promise.resolve(requestOptions.owner);
|
110
|
+
}
|
111
|
+
else if (requestOptions.item && requestOptions.item.owner) {
|
112
|
+
return Promise.resolve(requestOptions.item.owner);
|
113
|
+
}
|
114
|
+
else if (requestOptions.authentication &&
|
115
|
+
requestOptions.authentication.getUsername) {
|
116
|
+
return requestOptions.authentication.getUsername();
|
117
|
+
}
|
118
|
+
else {
|
119
|
+
return Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."));
|
120
|
+
}
|
121
|
+
}
|
122
|
+
/**
|
123
|
+
* checks if the extent is a valid BBox (2 element array of coordinate pair arrays)
|
124
|
+
* @param extent
|
125
|
+
* @returns
|
126
|
+
*/
|
127
|
+
function isBBox(extent) {
|
128
|
+
return (Array.isArray(extent) &&
|
129
|
+
Array.isArray(extent[0]) &&
|
130
|
+
Array.isArray(extent[1]));
|
131
|
+
}
|
132
|
+
/**
|
133
|
+
* Given a Bbox, convert it to a string. Some api endpoints expect a string
|
134
|
+
*
|
135
|
+
* @param {BBox} extent
|
136
|
+
* @return {*} {string}
|
137
|
+
*/
|
138
|
+
function bboxToString(extent) {
|
139
|
+
return extent.join(",");
|
140
|
+
}
|
141
|
+
|
142
|
+
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
|
143
|
+
* Apache-2.0 */
|
144
|
+
/**
|
145
|
+
* ```js
|
146
|
+
* import { updateItem } from "@esri/arcgis-rest-portal";
|
147
|
+
* //
|
148
|
+
* updateItem({
|
149
|
+
* item: {
|
150
|
+
* id: "3ef",
|
151
|
+
* description: "A three hour tour"
|
152
|
+
* },
|
153
|
+
* authentication
|
154
|
+
* })
|
155
|
+
* .then(response)
|
156
|
+
* ```
|
157
|
+
* Update an Item. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/update-item.htm) for more information.
|
158
|
+
*
|
159
|
+
* @param requestOptions - Options for the request.
|
160
|
+
* @returns A Promise that updates an item.
|
161
|
+
*/
|
162
|
+
function updateItem$1(requestOptions) {
|
163
|
+
return determineOwner(requestOptions).then(function (owner) {
|
164
|
+
var url = requestOptions.folderId
|
165
|
+
? getPortalUrl(requestOptions) + "/content/users/" + owner + "/" + requestOptions.folderId + "/items/" + requestOptions.item.id + "/update"
|
166
|
+
: getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.item.id + "/update";
|
167
|
+
// serialize the item into something Portal will accept
|
168
|
+
requestOptions.params = __assign(__assign({}, requestOptions.params), serializeItem(requestOptions.item));
|
169
|
+
// convert extent, if present, into a string from bbox
|
170
|
+
// processParams was previously doing this sort of work,
|
171
|
+
// however now we need to let array of arrays through
|
172
|
+
// Thus for extents we need to move this logic here
|
173
|
+
if (requestOptions.params.extent && isBBox(requestOptions.params.extent)) {
|
174
|
+
requestOptions.params.extent = bboxToString(requestOptions.params.extent);
|
175
|
+
}
|
176
|
+
return request(url, requestOptions);
|
177
|
+
});
|
178
|
+
}
|
179
|
+
/**
|
180
|
+
* ```js
|
181
|
+
* import { updateItemResource } from "@esri/arcgis-rest-portal";
|
182
|
+
* //
|
183
|
+
* updateItemResource({
|
184
|
+
* id: '3ef',
|
185
|
+
* resource: file,
|
186
|
+
* name: 'bigkahuna.jpg',
|
187
|
+
* authentication
|
188
|
+
* })
|
189
|
+
* .then(response)
|
190
|
+
* ```
|
191
|
+
* Update a resource associated with an item. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/update-resources.htm) for more information.
|
192
|
+
*
|
193
|
+
* @param requestOptions - Options for the request
|
194
|
+
* @returns A Promise that updates an item resource.
|
195
|
+
*/
|
196
|
+
function updateItemResource(requestOptions) {
|
197
|
+
return determineOwner(requestOptions).then(function (owner) {
|
198
|
+
var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/updateResources";
|
199
|
+
// mix in user supplied params
|
200
|
+
requestOptions.params = __assign({ file: requestOptions.resource, fileName: requestOptions.name, resourcesPrefix: requestOptions.prefix, text: requestOptions.content }, requestOptions.params);
|
201
|
+
// only override the access specified previously if 'private' is passed explicitly
|
202
|
+
if (typeof requestOptions.private !== "undefined") {
|
203
|
+
requestOptions.params.access = requestOptions.private
|
204
|
+
? "private"
|
205
|
+
: "inherit";
|
206
|
+
}
|
207
|
+
return request(url, requestOptions);
|
208
|
+
});
|
209
|
+
}
|
210
|
+
|
211
|
+
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
|
212
|
+
* Apache-2.0 */
|
213
|
+
/**
|
214
|
+
* ```js
|
215
|
+
* import { addItemResource } from "@esri/arcgis-rest-portal";
|
216
|
+
* //
|
217
|
+
* // Add a file resource
|
218
|
+
* addItemResource({
|
219
|
+
* id: '3ef',
|
220
|
+
* resource: file,
|
221
|
+
* name: 'bigkahuna.jpg',
|
222
|
+
* authentication
|
223
|
+
* })
|
224
|
+
* .then(response)
|
225
|
+
* //
|
226
|
+
* // Add a text resource
|
227
|
+
* addItemResource({
|
228
|
+
* id: '4fg',
|
229
|
+
* content: "Text content",
|
230
|
+
* name: 'bigkahuna.txt',
|
231
|
+
* authentication
|
232
|
+
* })
|
233
|
+
* .then(response)
|
234
|
+
* ```
|
235
|
+
* Add a resource associated with an item. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm) for more information.
|
236
|
+
*
|
237
|
+
* @param requestOptions - Options for the request
|
238
|
+
* @returns A Promise to add item resources.
|
239
|
+
*/
|
240
|
+
function addItemResource(requestOptions) {
|
241
|
+
return determineOwner(requestOptions).then(function (owner) {
|
242
|
+
var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/addResources";
|
243
|
+
requestOptions.params = __assign({ file: requestOptions.resource, fileName: requestOptions.name, resourcesPrefix: requestOptions.prefix, text: requestOptions.content, access: requestOptions.private ? "private" : "inherit" }, requestOptions.params);
|
244
|
+
return request(url, requestOptions);
|
245
|
+
});
|
246
|
+
}
|
247
|
+
|
248
|
+
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
|
249
|
+
* Apache-2.0 */
|
250
|
+
/**
|
251
|
+
* Remove a resource associated with an item
|
252
|
+
*
|
253
|
+
* @param requestOptions - Options for the request
|
254
|
+
* @returns A Promise that deletes an item resource.
|
255
|
+
*/
|
256
|
+
function removeItemResource(requestOptions) {
|
257
|
+
return determineOwner(requestOptions).then(function (owner) {
|
258
|
+
var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/removeResources";
|
259
|
+
// mix in user supplied params
|
260
|
+
requestOptions.params = __assign(__assign({}, requestOptions.params), { resource: requestOptions.resource });
|
261
|
+
// only override the deleteAll param specified previously if it is passed explicitly
|
262
|
+
if (typeof requestOptions.deleteAll !== "undefined") {
|
263
|
+
requestOptions.params.deleteAll = requestOptions.deleteAll;
|
264
|
+
}
|
265
|
+
return request(url, requestOptions);
|
266
|
+
});
|
267
|
+
}
|
268
|
+
|
269
|
+
/** @license
|
270
|
+
* Copyright 2018 Esri
|
271
|
+
*
|
272
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
273
|
+
* you may not use this file except in compliance with the License.
|
274
|
+
* You may obtain a copy of the License at
|
275
|
+
*
|
276
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
277
|
+
*
|
278
|
+
* Unless required by applicable law or agreed to in writing, software
|
279
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
280
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
281
|
+
* See the License for the specific language governing permissions and
|
282
|
+
* limitations under the License.
|
283
|
+
*/
|
284
|
+
/**
|
285
|
+
* Updates an item.
|
286
|
+
*
|
287
|
+
* @param itemInfo The base info of an item; note that this content will be serialized, which doesn't work
|
288
|
+
* for binary content
|
289
|
+
* @param authentication Credentials for request
|
290
|
+
* @param folderId Item's folder
|
291
|
+
* @param additionalParams Updates that are put under the `params` property, which is not serialized
|
292
|
+
* @return
|
293
|
+
*/
|
294
|
+
function updateItem(itemInfo, authentication, folderId, additionalParams) {
|
295
|
+
return new Promise((resolve, reject) => {
|
296
|
+
const updateOptions = {
|
297
|
+
item: itemInfo,
|
298
|
+
folderId: folderId,
|
299
|
+
authentication: authentication,
|
300
|
+
params: {
|
301
|
+
...(additionalParams ?? {})
|
302
|
+
}
|
303
|
+
};
|
304
|
+
updateItem$1(updateOptions).then(response => (response.success ? resolve(response) : reject(response)), err => reject(err));
|
305
|
+
});
|
306
|
+
}
|
307
|
+
|
308
|
+
/** @license
|
309
|
+
* Copyright 2020 Esri
|
310
|
+
*
|
311
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
312
|
+
* you may not use this file except in compliance with the License.
|
313
|
+
* You may obtain a copy of the License at
|
314
|
+
*
|
315
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
316
|
+
*
|
317
|
+
* Unless required by applicable law or agreed to in writing, software
|
318
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
319
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
320
|
+
* See the License for the specific language governing permissions and
|
321
|
+
* limitations under the License.
|
322
|
+
*/
|
323
|
+
/**
|
324
|
+
* Extracts an item's resource folder and filename from the filename used to store a copy in a storage item.
|
325
|
+
*
|
326
|
+
* @param storageResourceFilename Filename used to store the resource, metadata, or thumbnail of an item
|
327
|
+
* @param storageVersion Version of the Solution template
|
328
|
+
* @returns Folder and filename for storing information in an item, as well as the type (resource, metadata,
|
329
|
+
* or thumbnail) of the information; the folder property is only meaningful for the resource type
|
330
|
+
* @see generateResourceStorageFilename
|
331
|
+
* @see generateMetadataStorageFilename
|
332
|
+
* @see generateThumbnailStorageFilename
|
333
|
+
* @see convertItemResourceToStorageResource
|
334
|
+
*/
|
335
|
+
function convertStorageResourceToItemResource(storageResourceFilename, storageVersion = 0) {
|
336
|
+
const nameParts = storageResourceFilename.split("/");
|
337
|
+
let filename = nameParts.pop();
|
338
|
+
let folder = "";
|
339
|
+
const firstPrefixPart = nameParts.shift(); // undefined if there's no folder
|
340
|
+
// Handle special "folders"
|
341
|
+
let type = EFileType.Resource;
|
342
|
+
if (firstPrefixPart) {
|
343
|
+
if (firstPrefixPart.endsWith("_info_thumbnail")) {
|
344
|
+
type = EFileType.Thumbnail;
|
345
|
+
}
|
346
|
+
else if (firstPrefixPart.endsWith("_info_metadata")) {
|
347
|
+
type = EFileType.Metadata;
|
348
|
+
filename = "metadata.xml";
|
349
|
+
}
|
350
|
+
else if (firstPrefixPart.endsWith("_info_data")) {
|
351
|
+
type = EFileType.Data;
|
352
|
+
}
|
353
|
+
else if (firstPrefixPart.endsWith("_info_dataz")) {
|
354
|
+
filename = filename.replace(/\.zip$/, "");
|
355
|
+
type = EFileType.Data;
|
356
|
+
// Otherwise, strip off item id
|
357
|
+
}
|
358
|
+
else if (storageVersion < 1) {
|
359
|
+
// Version 0
|
360
|
+
const folderStart = firstPrefixPart.indexOf("_");
|
361
|
+
if (folderStart > 0) {
|
362
|
+
folder = firstPrefixPart.substr(folderStart + 1);
|
363
|
+
}
|
364
|
+
}
|
365
|
+
else {
|
366
|
+
// Version ≥ 1
|
367
|
+
folder = nameParts.join("/"); // folder is optional, in which case this will be ""
|
368
|
+
}
|
369
|
+
}
|
370
|
+
return { type, folder, filename };
|
371
|
+
}
|
372
|
+
|
373
|
+
/** @license
|
374
|
+
* Copyright 2021 Esri
|
375
|
+
*
|
376
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
377
|
+
* you may not use this file except in compliance with the License.
|
378
|
+
* You may obtain a copy of the License at
|
379
|
+
*
|
380
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
381
|
+
*
|
382
|
+
* Unless required by applicable law or agreed to in writing, software
|
383
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
384
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
385
|
+
* See the License for the specific language governing permissions and
|
386
|
+
* limitations under the License.
|
387
|
+
*/
|
388
|
+
// ------------------------------------------------------------------------------------------------------------------ //
|
389
|
+
/**
|
390
|
+
* Generates IAssociatedFileCopyResults object.
|
391
|
+
*
|
392
|
+
* @param fileInfo Info about item that was to be copied
|
393
|
+
* @param fetchedFromSource Status of fetching item from source
|
394
|
+
* @param copiedToDestination Status of copying item to destination
|
395
|
+
* @returns IAssociatedFileCopyResults object
|
396
|
+
*/
|
397
|
+
function createCopyResults(fileInfo, fetchedFromSource, copiedToDestination) {
|
398
|
+
return {
|
399
|
+
...fileInfo,
|
400
|
+
fetchedFromSource,
|
401
|
+
copiedToDestination
|
402
|
+
};
|
403
|
+
}
|
404
|
+
|
405
|
+
/** @license
|
406
|
+
* Copyright 2021 Esri
|
407
|
+
*
|
408
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
409
|
+
* you may not use this file except in compliance with the License.
|
410
|
+
* You may obtain a copy of the License at
|
411
|
+
*
|
412
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
413
|
+
*
|
414
|
+
* Unless required by applicable law or agreed to in writing, software
|
415
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
416
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
417
|
+
* See the License for the specific language governing permissions and
|
418
|
+
* limitations under the License.
|
419
|
+
*/
|
420
|
+
// ------------------------------------------------------------------------------------------------------------------ //
|
421
|
+
/**
|
422
|
+
* Copies a resource into a zipfile.
|
423
|
+
*
|
424
|
+
* @param file Information about the source and destination of the file such as its URL, folder, filename
|
425
|
+
* @param zipInfo Information about a zipfile such as its name and its zip object
|
426
|
+
* @returns The result of the copy
|
427
|
+
*/
|
428
|
+
function copyResourceIntoZip(file, zipInfo) {
|
429
|
+
// Add it to the zip
|
430
|
+
if (file.folder) {
|
431
|
+
zipInfo.zip
|
432
|
+
.folder(file.folder)
|
433
|
+
.file(file.filename, file.file, { binary: true });
|
434
|
+
}
|
435
|
+
else {
|
436
|
+
zipInfo.zip.file(file.filename, file.file, { binary: true });
|
437
|
+
}
|
438
|
+
zipInfo.filelist.push(file);
|
439
|
+
return createCopyResults(file, true);
|
440
|
+
}
|
441
|
+
|
442
|
+
/** @license
|
443
|
+
* Copyright 2021 Esri
|
444
|
+
*
|
445
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
446
|
+
* you may not use this file except in compliance with the License.
|
447
|
+
* You may obtain a copy of the License at
|
448
|
+
*
|
449
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
450
|
+
*
|
451
|
+
* Unless required by applicable law or agreed to in writing, software
|
452
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
453
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
454
|
+
* See the License for the specific language governing permissions and
|
455
|
+
* limitations under the License.
|
456
|
+
*/
|
457
|
+
// ------------------------------------------------------------------------------------------------------------------ //
|
458
|
+
/**
|
459
|
+
* Copies a zipfile into an AGO item.
|
460
|
+
*
|
461
|
+
* @param zipInfo Information about a zipfile such as its name and its zip object
|
462
|
+
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
463
|
+
* @param destinationAuthentication Credentials for the request to the storage
|
464
|
+
* @returns A promise which resolves to the result of the copy
|
465
|
+
*/
|
466
|
+
function copyZipIntoItem(zipInfo, destinationItemId, destinationAuthentication) {
|
467
|
+
return new Promise(resolve => {
|
468
|
+
zipInfo.zip
|
469
|
+
.generateAsync({ type: "blob" })
|
470
|
+
.then((content) => {
|
471
|
+
return blobToFile(content, zipInfo.filename, "application/zip");
|
472
|
+
})
|
473
|
+
.then((zipfile) => {
|
474
|
+
const addResourceOptions = {
|
475
|
+
id: destinationItemId,
|
476
|
+
resource: zipfile,
|
477
|
+
authentication: destinationAuthentication,
|
478
|
+
params: {
|
479
|
+
archive: true
|
480
|
+
}
|
481
|
+
};
|
482
|
+
return addItemResource(addResourceOptions);
|
483
|
+
})
|
484
|
+
.then(() => resolve(createCopyResults(zipInfo, true, true)), () => resolve(createCopyResults(zipInfo, true, false)) // unable to add resource
|
485
|
+
);
|
486
|
+
});
|
487
|
+
}
|
488
|
+
|
489
|
+
/** @license
|
490
|
+
* Copyright 2021 Esri
|
491
|
+
*
|
492
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
493
|
+
* you may not use this file except in compliance with the License.
|
494
|
+
* You may obtain a copy of the License at
|
495
|
+
*
|
496
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
497
|
+
*
|
498
|
+
* Unless required by applicable law or agreed to in writing, software
|
499
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
500
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
501
|
+
* See the License for the specific language governing permissions and
|
502
|
+
* limitations under the License.
|
503
|
+
*/
|
504
|
+
// ------------------------------------------------------------------------------------------------------------------ //
|
505
|
+
/**
|
506
|
+
* Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item
|
507
|
+
* with a specified path by collecting files into zip files.
|
508
|
+
*
|
509
|
+
* @param files List of item files' URLs and folder/filenames for storing the files
|
510
|
+
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
511
|
+
* @param destinationAuthentication Credentials for the request to the storage
|
512
|
+
* @param filesPerZip Number of files to include per zip file; AGO limits zips to 50 files
|
513
|
+
* @returns A promise which resolves to a list of the result of the copies
|
514
|
+
*/
|
515
|
+
function copyFilesAsResources(files, destinationItemId, destinationAuthentication, filesPerZip = 40) {
|
516
|
+
return new Promise(resolve => {
|
517
|
+
let awaitAllItems = [];
|
518
|
+
const zipInfos = [];
|
519
|
+
if (files.length > 0) {
|
520
|
+
// Bundle the resources into chunked zip updates because AGO tends to have problems with
|
521
|
+
// many updates in a row to the same item: it claims success despite randomly failing.
|
522
|
+
// Note that AGO imposes a limit of 50 files per zip, so we break the list of resource
|
523
|
+
// file info into chunks below this threshold and start a zip for each
|
524
|
+
// https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm
|
525
|
+
const chunkedResourceFiles = chunkArray(files, filesPerZip);
|
526
|
+
chunkedResourceFiles.forEach((chunk, index) => {
|
527
|
+
// Create a zip for this chunk
|
528
|
+
const zipInfo = {
|
529
|
+
filename: `resources${index}.zip`,
|
530
|
+
zip: new jszip_min(),
|
531
|
+
filelist: []
|
532
|
+
};
|
533
|
+
awaitAllItems = awaitAllItems.concat(chunk.map(file => copyResourceIntoZip(file, zipInfo)));
|
534
|
+
zipInfos.push(zipInfo);
|
535
|
+
});
|
536
|
+
}
|
537
|
+
if (awaitAllItems.length > 0) {
|
538
|
+
// Wait until the Resource zip file(s) are prepared
|
539
|
+
void Promise.all(awaitAllItems).then((results) => {
|
540
|
+
// We have three types of results:
|
541
|
+
// | fetchedFromSource | copiedToDestination | interpretation | |
|
542
|
+
// +-------------------+---------------------+------------------------------------------------+
|
543
|
+
// | false | * | could not fetch file from source |
|
544
|
+
// | true | true | file has been fetched and sent to AGO |
|
545
|
+
// | true | undefined | file has been fetched and will be sent via zip |
|
546
|
+
// Filter out copiedToDestination===undefined; we'll get their status when we send their zip
|
547
|
+
results = results.filter((result) => !(result.fetchedFromSource &&
|
548
|
+
typeof result.copiedToDestination === "undefined"));
|
549
|
+
// Now send the resources to AGO
|
550
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
551
|
+
_copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
|
552
|
+
resolve(results.concat(zipResults));
|
553
|
+
});
|
554
|
+
});
|
555
|
+
}
|
556
|
+
else {
|
557
|
+
// No data, metadata, or resources to send; we're done
|
558
|
+
resolve([]);
|
559
|
+
}
|
560
|
+
});
|
561
|
+
}
|
562
|
+
/**
|
563
|
+
* Copies one or more zipfiles to a storage item.
|
564
|
+
*
|
565
|
+
* @param zipInfos List of zip files containing files to store
|
566
|
+
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
567
|
+
* @param destinationAuthentication Credentials for the request to the storage
|
568
|
+
* @returns A promise which resolves to a list of the result of the copies
|
569
|
+
* @private
|
570
|
+
*/
|
571
|
+
function _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication) {
|
572
|
+
return new Promise(resolve => {
|
573
|
+
const results = [];
|
574
|
+
// Filter out empty zips, which can happen when none of the files in the chunk going into a zip
|
575
|
+
// can be fetched; e.g., the only file is metadata.xml, and the source item doesn't have metadata
|
576
|
+
const nonEmptyZipInfos = zipInfos.filter((zipInfo) => Object.keys(zipInfo.zip.files).length > 0);
|
577
|
+
if (nonEmptyZipInfos.length > 0) {
|
578
|
+
// Send the zip(s) to AGO
|
579
|
+
void _sendZipsSeriallyToItem(nonEmptyZipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
|
580
|
+
resolve(zipResults);
|
581
|
+
});
|
582
|
+
}
|
583
|
+
else {
|
584
|
+
// No resources to send; we're done
|
585
|
+
resolve(results);
|
586
|
+
}
|
587
|
+
});
|
588
|
+
}
|
589
|
+
/**
|
590
|
+
* Copies one or more zipfiles to a storage item in a serial fashion, waiting a bit between sends.
|
591
|
+
*
|
592
|
+
* @param zipInfos List of zip files containing files to store
|
593
|
+
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
594
|
+
* @param destinationAuthentication Credentials for the request to the storage
|
595
|
+
* @returns A promise which resolves to a list of the result of the copies
|
596
|
+
*/
|
597
|
+
function _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication) {
|
598
|
+
return new Promise(resolve => {
|
599
|
+
let allResults = [];
|
600
|
+
// Remove zip from bottom of list
|
601
|
+
const zipInfoToSend = zipInfos.pop();
|
602
|
+
// Send predecessors in list
|
603
|
+
let sendOthersPromise = Promise.resolve([]);
|
604
|
+
if (zipInfos.length > 0) {
|
605
|
+
sendOthersPromise = _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication);
|
606
|
+
}
|
607
|
+
void sendOthersPromise
|
608
|
+
.then((response) => {
|
609
|
+
allResults = response;
|
610
|
+
// Stall a little to give AGO time to catch up
|
611
|
+
return new Promise(resolveSleep => {
|
612
|
+
setTimeout(() => resolveSleep(), 1000);
|
613
|
+
});
|
614
|
+
})
|
615
|
+
.then(() => {
|
616
|
+
// Now send the zip removed from bottom of the input list
|
617
|
+
return copyZipIntoItem(zipInfoToSend, destinationItemId, destinationAuthentication);
|
618
|
+
})
|
619
|
+
.then((zipResult) => {
|
620
|
+
// Save the result of copying this zip as a status for each of the files that it contains
|
621
|
+
zipResult.filelist.forEach((fileInfo) => {
|
622
|
+
allResults.push(createCopyResults(fileInfo, true, zipResult.copiedToDestination));
|
623
|
+
});
|
624
|
+
resolve(allResults);
|
625
|
+
});
|
626
|
+
});
|
627
|
+
}
|
628
|
+
|
629
|
+
/** @license
|
630
|
+
* Copyright 2018 Esri
|
631
|
+
*
|
632
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
633
|
+
* you may not use this file except in compliance with the License.
|
634
|
+
* You may obtain a copy of the License at
|
635
|
+
*
|
636
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
637
|
+
*
|
638
|
+
* Unless required by applicable law or agreed to in writing, software
|
639
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
640
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
641
|
+
* See the License for the specific language governing permissions and
|
642
|
+
* limitations under the License.
|
643
|
+
*/
|
644
|
+
/**
|
645
|
+
* Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item
|
646
|
+
* with a specified path.
|
647
|
+
*
|
648
|
+
* @param files List of item files and paths for storing the files
|
649
|
+
* @param storageItemId Id of item to receive copy of resource/metadata
|
650
|
+
* @param storageAuthentication Credentials for the request to the storage
|
651
|
+
* @returns A promise which resolves to a list of the filenames under which the resource/metadata are stored
|
652
|
+
*/
|
653
|
+
function copyFilesToStorageItem(files, storageItemId, storageAuthentication) {
|
654
|
+
return new Promise(resolve => {
|
655
|
+
// tslint:disable-next-line: no-floating-promises
|
656
|
+
void copyFilesAsResources(files, storageItemId, storageAuthentication).then((results) => {
|
657
|
+
resolve(results
|
658
|
+
// Filter out failures
|
659
|
+
.filter((result) => result.fetchedFromSource && result.copiedToDestination)
|
660
|
+
// Return folder and filename in storage item's resources
|
661
|
+
.map((result) => result.folder + "/" + result.filename));
|
662
|
+
});
|
663
|
+
});
|
664
|
+
}
|
665
|
+
/**
|
666
|
+
* Generates the URL for reading an item's resource given the filename of the resource.
|
667
|
+
*
|
668
|
+
* @param sourcePortalSharingUrl Server/sharing
|
669
|
+
* @param itemId Id of item
|
670
|
+
* @param sourceResourceFilename Either filename or folder/filename to resource
|
671
|
+
* @returns URL string
|
672
|
+
*/
|
673
|
+
function generateSourceResourceUrl(sourcePortalSharingUrl, itemId, sourceResourceFilename) {
|
674
|
+
return (checkUrlPathTermination(sourcePortalSharingUrl) +
|
675
|
+
"content/items/" +
|
676
|
+
itemId +
|
677
|
+
"/resources/" +
|
678
|
+
sourceResourceFilename);
|
679
|
+
}
|
680
|
+
/**
|
681
|
+
* Generates a list of full URLs and folder/filename combinations used to store the resources, metadata,
|
682
|
+
* and thumbnail of an item.
|
683
|
+
*
|
684
|
+
* @param portalSharingUrl Server/sharing
|
685
|
+
* @param storageItemId Id of storage item
|
686
|
+
* @param resourceFilenames List of resource filenames for an item, e.g., ["file1", "myFolder/file2"]
|
687
|
+
* @param storageVersion Version of the Solution template
|
688
|
+
* @returns List of item files' URLs and folder/filenames for storing the files
|
689
|
+
*/
|
690
|
+
function generateStorageFilePaths(portalSharingUrl, storageItemId, resourceFilenames = [], storageVersion = 0) {
|
691
|
+
return resourceFilenames.map(resourceFilename => {
|
692
|
+
return {
|
693
|
+
url: generateSourceResourceUrl(portalSharingUrl, storageItemId, resourceFilename),
|
694
|
+
...convertStorageResourceToItemResource(resourceFilename, storageVersion)
|
695
|
+
};
|
696
|
+
});
|
697
|
+
}
|
698
|
+
function isSupportedFileType(filename) {
|
699
|
+
// Supported file formats are: .json, .xml, .txt, .png, .pbf, .zip, .jpeg, .jpg, .gif, .bmp, .gz, .svg,
|
700
|
+
// .svgz, .geodatabase (https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm)
|
701
|
+
const filenameExtension = filename.match(/\.([a-z]+)$/i);
|
702
|
+
const supportedExtensions = "|.json|.xml|.txt|.png|.pbf|.zip|.jpeg|.jpg|.gif|.bmp|.gz|.svg|.svgz|.geodatabase|";
|
703
|
+
return (!!filenameExtension &&
|
704
|
+
supportedExtensions.indexOf("|" + filenameExtension[0] + "|") >= 0);
|
705
|
+
}
|
706
|
+
/**
|
707
|
+
* Gets the thumbnail of an item or group.
|
708
|
+
*
|
709
|
+
* @param authentication Credentials for the request to the storage
|
710
|
+
* @param filePaths List of item files' URLs and folder/filenames for storing the files
|
711
|
+
* @returns A promise which resolves to a boolean indicating if the copies were successful
|
712
|
+
*/
|
713
|
+
function getThumbnailFromStorageItem(authentication, filePaths) {
|
714
|
+
let thumbnailUrl;
|
715
|
+
let thumbnailFilename;
|
716
|
+
filePaths.forEach(path => {
|
717
|
+
if (path.type === EFileType.Thumbnail) {
|
718
|
+
thumbnailUrl = path.url;
|
719
|
+
thumbnailFilename = path.filename;
|
720
|
+
}
|
721
|
+
});
|
722
|
+
if (!thumbnailUrl) {
|
723
|
+
return Promise.resolve(null);
|
724
|
+
}
|
725
|
+
return getThumbnailFile(thumbnailUrl, thumbnailFilename, authentication);
|
726
|
+
}
|
727
|
+
/**
|
728
|
+
* Removes the item's resource that matches the filename with new content
|
729
|
+
*
|
730
|
+
* @param itemId Id of the item to remove
|
731
|
+
* @param filename Name of the resource file to remove
|
732
|
+
* @param authentication Credentials for the request to the storage
|
733
|
+
* @returns A promise which resolves with a success true/false response
|
734
|
+
*/
|
735
|
+
function removeItemResourceFile(itemId, filename, authentication) {
|
736
|
+
return removeItemResource({
|
737
|
+
id: itemId,
|
738
|
+
resource: filename,
|
739
|
+
authentication: authentication
|
740
|
+
});
|
741
|
+
}
|
742
|
+
/**
|
743
|
+
* Updates the item's resource that matches the filename with new content
|
744
|
+
*
|
745
|
+
* @param itemId Id of the item to update
|
746
|
+
* @param filename Name of the resource file to update; prefix optional (e.g., a/b/file.txt)
|
747
|
+
* @param resource The new content to update the resource with
|
748
|
+
* @param authentication Credentials for the request to the storage
|
749
|
+
* @returns A promise which resolves with a success true/false response
|
750
|
+
*/
|
751
|
+
function updateItemResourceFile(itemId, filename, resource, authentication) {
|
752
|
+
// Prefix has to be specified separately
|
753
|
+
const prefixedFilenameParts = filename.split("/");
|
754
|
+
const prefix = prefixedFilenameParts.length > 1 ? prefixedFilenameParts.slice(0, prefixedFilenameParts.length - 1).join("/") : undefined;
|
755
|
+
const suffix = prefixedFilenameParts[prefixedFilenameParts.length - 1];
|
756
|
+
return updateItemResource({
|
757
|
+
id: itemId,
|
758
|
+
prefix: prefix,
|
759
|
+
name: suffix,
|
760
|
+
resource,
|
761
|
+
authentication: authentication
|
762
|
+
});
|
763
|
+
}
|
764
|
+
|
765
|
+
/** @license
|
766
|
+
* Copyright 2022 Esri
|
767
|
+
*
|
768
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
769
|
+
* you may not use this file except in compliance with the License.
|
770
|
+
* You may obtain a copy of the License at
|
771
|
+
*
|
772
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
773
|
+
*
|
774
|
+
* Unless required by applicable law or agreed to in writing, software
|
775
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
776
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
777
|
+
* See the License for the specific language governing permissions and
|
778
|
+
* limitations under the License.
|
779
|
+
*/
|
780
|
+
const EmptySolutionStore = {
|
781
|
+
solutionItemId: "",
|
782
|
+
defaultWkid: undefined,
|
783
|
+
solutionData: { metadata: {}, templates: [] },
|
784
|
+
templateEdits: {},
|
785
|
+
featureServices: [],
|
786
|
+
spatialReferenceInfo: {
|
787
|
+
enabled: false,
|
788
|
+
services: {},
|
789
|
+
spatialReference: undefined
|
790
|
+
}
|
791
|
+
};
|
792
|
+
class SolutionStore {
|
793
|
+
/**
|
794
|
+
* Creates singleton instance when accessed; default export from module.
|
795
|
+
*
|
796
|
+
* @returns Static instance of the class
|
797
|
+
*/
|
798
|
+
static get Store() {
|
799
|
+
return this._instance || (this._instance = new this());
|
800
|
+
}
|
801
|
+
/**
|
802
|
+
* Creates an empty store.
|
803
|
+
*
|
804
|
+
* @protected
|
805
|
+
*/
|
806
|
+
constructor() {
|
807
|
+
this._hasChanges = false;
|
808
|
+
this._store = createStore(Object.assign({}, EmptySolutionStore));
|
809
|
+
}
|
810
|
+
/**
|
811
|
+
* Returns the stored information of an item.
|
812
|
+
*
|
813
|
+
* @param itemId Id of item to fetch
|
814
|
+
*
|
815
|
+
* @returns Item information or `undefined` if not found
|
816
|
+
*/
|
817
|
+
getItemInfo(itemId) {
|
818
|
+
const templates = this._store.get("solutionData").templates;
|
819
|
+
let template;
|
820
|
+
templates.some((t) => {
|
821
|
+
if (itemId == t.itemId) {
|
822
|
+
template = t;
|
823
|
+
return true;
|
824
|
+
}
|
825
|
+
return false;
|
826
|
+
});
|
827
|
+
return template;
|
828
|
+
}
|
829
|
+
/**
|
830
|
+
* Returns a top-level store property: solutionItemId, defaultWkid, etc.
|
831
|
+
*
|
832
|
+
* @param propName Name of property
|
833
|
+
*
|
834
|
+
* @returns Value of property
|
835
|
+
*/
|
836
|
+
getStoreInfo(propName) {
|
837
|
+
return this._store.get(propName);
|
838
|
+
}
|
839
|
+
/**
|
840
|
+
* Loads a Solution into the store from AGO.
|
841
|
+
*
|
842
|
+
* @param solutionItemId Id of the solution represented in the store
|
843
|
+
* @param authentication Credentials for fetching information to be loaded into the store
|
844
|
+
*
|
845
|
+
* @returns Promise that resolves when task is done
|
846
|
+
*/
|
847
|
+
async loadSolution(solutionItemId, authentication) {
|
848
|
+
this._authentication = authentication;
|
849
|
+
const solutionData = await getItemDataAsJson(solutionItemId, authentication);
|
850
|
+
if (solutionData) {
|
851
|
+
const defaultWkid = getProp(solutionData, "params.wkid.default");
|
852
|
+
await this._prepareSolutionItemsForEditing(solutionItemId, solutionData.templates, authentication);
|
853
|
+
const featureServices = this._getFeatureServices(solutionData.templates);
|
854
|
+
const spatialReferenceInfo = this._getSpatialReferenceInfo(featureServices, defaultWkid);
|
855
|
+
this._store.set("solutionItemId", solutionItemId);
|
856
|
+
this._store.set("defaultWkid", defaultWkid);
|
857
|
+
this._store.set("solutionData", solutionData);
|
858
|
+
this._store.set("featureServices", featureServices);
|
859
|
+
this._store.set("spatialReferenceInfo", spatialReferenceInfo);
|
860
|
+
}
|
861
|
+
this._flagStoreHasChanges(false);
|
862
|
+
}
|
863
|
+
/**
|
864
|
+
* Queues the replacement of the thumbnail associated with a template item in the store.
|
865
|
+
*
|
866
|
+
* @param itemEdit Details of the template to modify, containing the new thumbnail in the `thumbnail`
|
867
|
+
* property
|
868
|
+
*/
|
869
|
+
replaceItemThumbnail(itemEdit) {
|
870
|
+
// Flag the current thumbnail and any replacements for removal
|
871
|
+
itemEdit.resourceFilePaths.forEach((path) => {
|
872
|
+
if (path.type === EFileType.Thumbnail) {
|
873
|
+
if (path.updateType === EUpdateType.None) {
|
874
|
+
// Existing thumbnail not yet flagged for removal
|
875
|
+
path.updateType = EUpdateType.Remove;
|
876
|
+
}
|
877
|
+
else if (path.updateType === EUpdateType.Add || path.updateType === EUpdateType.Update) {
|
878
|
+
// An earlier replacement
|
879
|
+
path.updateType = EUpdateType.Obsolete;
|
880
|
+
}
|
881
|
+
}
|
882
|
+
});
|
883
|
+
// Remove any replacements already queued
|
884
|
+
itemEdit.resourceFilePaths =
|
885
|
+
itemEdit.resourceFilePaths.filter((path) => path.updateType != EUpdateType.Obsolete);
|
886
|
+
// Add the new thumbnail to the store item
|
887
|
+
itemEdit.resourceFilePaths.push({
|
888
|
+
blob: itemEdit.thumbnail,
|
889
|
+
filename: itemEdit.thumbnail.name,
|
890
|
+
type: EFileType.Thumbnail,
|
891
|
+
updateType: EUpdateType.Add
|
892
|
+
});
|
893
|
+
// Update the store
|
894
|
+
this.setItemInfo(itemEdit);
|
895
|
+
}
|
896
|
+
/**
|
897
|
+
* Writes a Solution into AGO from the store. Must use `loadSolution` to continue with solution.
|
898
|
+
*
|
899
|
+
* @returns Promise that resolves when task is done
|
900
|
+
*/
|
901
|
+
async saveSolution() {
|
902
|
+
// Update the templates in the original solution item data
|
903
|
+
const solutionItemId = this._store.get("solutionItemId");
|
904
|
+
const solutionData = this._store.get("solutionData");
|
905
|
+
const spatialReferenceInfo = this._store.get("spatialReferenceInfo");
|
906
|
+
await this._prepareSolutionItemsForStorage(solutionItemId, solutionData.templates, this._authentication);
|
907
|
+
const updatedDefaultWkid = this._setSpatialReferenceInfo(spatialReferenceInfo, solutionData.templates);
|
908
|
+
if (updatedDefaultWkid) {
|
909
|
+
setCreateProp(solutionData, "params.wkid", {
|
910
|
+
"label": "Spatial Reference",
|
911
|
+
"default": updatedDefaultWkid,
|
912
|
+
"valueType": "spatialReference",
|
913
|
+
"attributes": {
|
914
|
+
"required": "true"
|
915
|
+
}
|
916
|
+
});
|
917
|
+
}
|
918
|
+
else {
|
919
|
+
setCreateProp(solutionData, "params.wkid", {});
|
920
|
+
}
|
921
|
+
const itemInfo = {
|
922
|
+
id: solutionItemId,
|
923
|
+
text: solutionData
|
924
|
+
};
|
925
|
+
await updateItem(itemInfo, this._authentication);
|
926
|
+
}
|
927
|
+
/**
|
928
|
+
* Stores information for item.
|
929
|
+
*
|
930
|
+
* @param itemEdit Item information
|
931
|
+
*/
|
932
|
+
setItemInfo(itemEdit) {
|
933
|
+
const solutionData = this._store.get("solutionData");
|
934
|
+
const templates = solutionData.templates;
|
935
|
+
templates.some((t) => {
|
936
|
+
if (itemEdit.itemId == t.itemId) {
|
937
|
+
t = itemEdit;
|
938
|
+
this._store.set("solutionData", solutionData);
|
939
|
+
this._flagStoreHasChanges(true);
|
940
|
+
return true;
|
941
|
+
}
|
942
|
+
return false;
|
943
|
+
});
|
944
|
+
}
|
945
|
+
/**
|
946
|
+
* Sets a top-level store property: solutionItemId, defaultWkid, etc.
|
947
|
+
*
|
948
|
+
* @param propName Name of property
|
949
|
+
* @param value Value of property
|
950
|
+
*/
|
951
|
+
setStoreInfo(propName, value) {
|
952
|
+
this._store.set(propName, value);
|
953
|
+
this._flagStoreHasChanges(true);
|
954
|
+
}
|
955
|
+
//------------------------------------------------------------------------------------------------------------------//
|
956
|
+
/** Provides access to protected methods for unit testing.
|
957
|
+
*
|
958
|
+
* @param methodName Name of protected method to run
|
959
|
+
* @param arg1 First argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `solutionItemId`
|
960
|
+
* @param arg2 Second argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `templates`
|
961
|
+
* @param arg3 Third argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `authentication`
|
962
|
+
*
|
963
|
+
* @returns
|
964
|
+
*/
|
965
|
+
_testAccess(methodName, arg1, arg2, arg3) {
|
966
|
+
switch (methodName) {
|
967
|
+
case "_emptyTheStore":
|
968
|
+
this._emptyTheStore();
|
969
|
+
break;
|
970
|
+
case "_getFeatureServices":
|
971
|
+
return this._getFeatureServices(arg1);
|
972
|
+
case "_getItemsSharedWithThisGroup":
|
973
|
+
return this._getItemsSharedWithThisGroup(arg1, arg2);
|
974
|
+
case "_getResourceFilePaths":
|
975
|
+
return this._getResourceFilePaths(arg1, arg2, arg3);
|
976
|
+
case "_getResourceStorageName":
|
977
|
+
return this._getResourceStorageName(arg1, arg2);
|
978
|
+
case "_getSpatialReferenceInfo":
|
979
|
+
return this._getSpatialReferenceInfo(arg1, arg2);
|
980
|
+
case "_prepareSolutionItemsForEditing":
|
981
|
+
return this._prepareSolutionItemsForEditing(arg1, arg2, arg3);
|
982
|
+
case "_prepareSolutionItemsForStorage":
|
983
|
+
return this._prepareSolutionItemsForStorage(arg1, arg2, arg3);
|
984
|
+
case "_setSpatialReferenceInfo":
|
985
|
+
return this._setSpatialReferenceInfo(arg1, arg2);
|
986
|
+
case "_splitFilename":
|
987
|
+
return this._splitFilename(arg1);
|
988
|
+
}
|
989
|
+
return null;
|
990
|
+
}
|
991
|
+
/**
|
992
|
+
* Returns the store to the empty state.
|
993
|
+
*
|
994
|
+
* @protected
|
995
|
+
*/
|
996
|
+
_emptyTheStore() {
|
997
|
+
this._store.set("solutionItemId", EmptySolutionStore.solutionItemId);
|
998
|
+
this._store.set("defaultWkid", EmptySolutionStore.defaultWkid);
|
999
|
+
this._store.set("solutionData", EmptySolutionStore.solutionData);
|
1000
|
+
this._store.set("templateEdits", EmptySolutionStore.templateEdits);
|
1001
|
+
this._store.set("featureServices", EmptySolutionStore.featureServices);
|
1002
|
+
this._store.set("spatialReferenceInfo", EmptySolutionStore.spatialReferenceInfo);
|
1003
|
+
}
|
1004
|
+
/**
|
1005
|
+
* Sets the store's flag indicating if it has changes and dispatches an event when
|
1006
|
+
* the flag value changes.
|
1007
|
+
*
|
1008
|
+
* @param flagHasChanges Current state of change in the store; if it doesn't match the value saved in this
|
1009
|
+
* object, an event is dispatched with the new value and the saved value is updated
|
1010
|
+
*
|
1011
|
+
* @protected
|
1012
|
+
*/
|
1013
|
+
_flagStoreHasChanges(flagHasChanges) {
|
1014
|
+
// Event for notifying if the store has changes or not
|
1015
|
+
if (this._hasChanges !== flagHasChanges) {
|
1016
|
+
window.dispatchEvent(new CustomEvent("solutionStoreHasChanges", {
|
1017
|
+
detail: flagHasChanges,
|
1018
|
+
bubbles: true,
|
1019
|
+
cancelable: false,
|
1020
|
+
composed: true
|
1021
|
+
}));
|
1022
|
+
}
|
1023
|
+
this._hasChanges = flagHasChanges;
|
1024
|
+
}
|
1025
|
+
/**
|
1026
|
+
* Gets a list of Feature Services that are not views.
|
1027
|
+
*
|
1028
|
+
* @param templates A list of item templates from the solution
|
1029
|
+
*
|
1030
|
+
* @returns a list of feature services
|
1031
|
+
*
|
1032
|
+
* @protected
|
1033
|
+
*/
|
1034
|
+
_getCustomizableFeatureServices(templates) {
|
1035
|
+
return templates.reduce((prev, cur) => {
|
1036
|
+
if (cur.type === "Feature Service" && cur.item.typeKeywords.indexOf("View Service") < 0) {
|
1037
|
+
prev.push(cur);
|
1038
|
+
}
|
1039
|
+
return prev;
|
1040
|
+
}, []);
|
1041
|
+
}
|
1042
|
+
/**
|
1043
|
+
* Gets a list of Feature Services that are not views along with an enabled property that indicates
|
1044
|
+
* if the service currently uses a spatial reference variable.
|
1045
|
+
*
|
1046
|
+
* @param templates A list of item templates from the solution
|
1047
|
+
*
|
1048
|
+
* @returns a list of feature service names and an enabled property to indicate
|
1049
|
+
* if they currently use a spatial reference variable.
|
1050
|
+
*
|
1051
|
+
* @protected
|
1052
|
+
*/
|
1053
|
+
_getFeatureServices(templates) {
|
1054
|
+
const customizeableFeatureServices = this._getCustomizableFeatureServices(templates);
|
1055
|
+
return customizeableFeatureServices.map((fs) => {
|
1056
|
+
const name = fs.item.title || fs.item.name;
|
1057
|
+
const wkid = getProp(fs, "properties.service.spatialReference.wkid");
|
1058
|
+
return { name, enabled: wkid.toString().startsWith("{{params.wkid||") };
|
1059
|
+
});
|
1060
|
+
}
|
1061
|
+
/**
|
1062
|
+
* Capture the key item details for a given group template
|
1063
|
+
*
|
1064
|
+
* @param template one of the templates from the current solution
|
1065
|
+
* @param templates full list of templates
|
1066
|
+
*
|
1067
|
+
* @returns a list of IItemShare objects
|
1068
|
+
*
|
1069
|
+
* @protected
|
1070
|
+
*/
|
1071
|
+
_getItemsSharedWithThisGroup(template, templates) {
|
1072
|
+
return templates.reduce((prev, cur) => {
|
1073
|
+
if (cur.itemId !== template.itemId && cur.type !== "Group") {
|
1074
|
+
prev.push({
|
1075
|
+
id: cur.itemId,
|
1076
|
+
title: cur.item.name || cur.item.title,
|
1077
|
+
isShared: (cur.groups || []).indexOf(template.itemId) > -1,
|
1078
|
+
shareItem: (cur.groups || []).indexOf(template.itemId) > -1,
|
1079
|
+
type: cur.type,
|
1080
|
+
typeKeywords: cur.item.typeKeywords
|
1081
|
+
});
|
1082
|
+
}
|
1083
|
+
return prev;
|
1084
|
+
}, []);
|
1085
|
+
}
|
1086
|
+
/**
|
1087
|
+
* Generate storage file paths from the solution template
|
1088
|
+
*
|
1089
|
+
* @param solutionId the id of the current solution
|
1090
|
+
* @param template the current template from the solution
|
1091
|
+
* @param portal Portal where file is to be found
|
1092
|
+
*
|
1093
|
+
* @returns a list of resource file infos
|
1094
|
+
*
|
1095
|
+
* @protected
|
1096
|
+
*/
|
1097
|
+
_getResourceFilePaths(solutionId, template, portal) {
|
1098
|
+
const resourceFilePaths = generateStorageFilePaths(portal, solutionId, template.resources, SolutionTemplateFormatVersion);
|
1099
|
+
return resourceFilePaths.map((fp) => {
|
1100
|
+
fp.updateType = EUpdateType.None;
|
1101
|
+
return fp;
|
1102
|
+
});
|
1103
|
+
}
|
1104
|
+
/**
|
1105
|
+
* Generates a resource name from a storage file path.
|
1106
|
+
*
|
1107
|
+
* @param templateItemId The id of the template item whose resource this is; used as a prefix in the resource name
|
1108
|
+
* @param resourcePath Resource file infos
|
1109
|
+
*
|
1110
|
+
* @returns The resource name to use when attaching a resource to the item.
|
1111
|
+
*
|
1112
|
+
* @protected
|
1113
|
+
*/
|
1114
|
+
_getResourceStorageName(templateItemId, resourcePath) {
|
1115
|
+
/* Converts
|
1116
|
+
{
|
1117
|
+
"url": "https://myorg.maps.arcgis.com/sharing/rest/content/items/ca924c6db7d247b9a31fa30532fb5913/resources/79036430a6274e17ae915d0278b8569c_info_metadata/metadata.xml",
|
1118
|
+
"type": 2,
|
1119
|
+
"folder": "",
|
1120
|
+
"filename": "metadata.xml",
|
1121
|
+
"updateType": 3
|
1122
|
+
}
|
1123
|
+
to
|
1124
|
+
ca924c6db7d247b9a31fa30532fb5913_info_metadata/metadata.xml
|
1125
|
+
*/
|
1126
|
+
let prefix = templateItemId;
|
1127
|
+
switch (resourcePath.type) {
|
1128
|
+
case EFileType.Data:
|
1129
|
+
prefix = `${prefix}_info_data`;
|
1130
|
+
break;
|
1131
|
+
case EFileType.Info:
|
1132
|
+
prefix = `${prefix}_info`;
|
1133
|
+
break;
|
1134
|
+
case EFileType.Metadata:
|
1135
|
+
prefix = `${prefix}_info_metadata`;
|
1136
|
+
break;
|
1137
|
+
case EFileType.Resource:
|
1138
|
+
break;
|
1139
|
+
case EFileType.Thumbnail:
|
1140
|
+
prefix = `${prefix}_info_thumbnail`;
|
1141
|
+
break;
|
1142
|
+
}
|
1143
|
+
let filenameToUse = resourcePath.filename;
|
1144
|
+
if (resourcePath.type == EFileType.Data && filenameToUse && !isSupportedFileType(filenameToUse)) {
|
1145
|
+
filenameToUse = filenameToUse + ".zip";
|
1146
|
+
prefix += "z";
|
1147
|
+
}
|
1148
|
+
const filename = resourcePath.folder ? resourcePath.folder + "/" + filenameToUse : filenameToUse;
|
1149
|
+
return prefix + "/" + filename;
|
1150
|
+
}
|
1151
|
+
/**
|
1152
|
+
* Extracts basic spatial reference information that is used to determine if a custom spatial reference parameter will
|
1153
|
+
* be exposed while deploying this solution and if so what feature services will support it and what will the default wkid be
|
1154
|
+
*
|
1155
|
+
* @param services a list of objects with service name and enabled property (indicates if they currently use a spatial reference var)
|
1156
|
+
* @param data the data object of a solution item
|
1157
|
+
*
|
1158
|
+
* @returns an object that stores if a custom spatial reference parameter is enabled/disabled,
|
1159
|
+
* a list of services and if they are enabled/disabled, and the default wkid
|
1160
|
+
*
|
1161
|
+
* @protected
|
1162
|
+
*/
|
1163
|
+
_getSpatialReferenceInfo(services, defaultWkid) {
|
1164
|
+
const defaultServices = {};
|
1165
|
+
services.forEach(service => {
|
1166
|
+
defaultServices[service.name] = service.enabled;
|
1167
|
+
});
|
1168
|
+
return {
|
1169
|
+
enabled: defaultWkid !== undefined,
|
1170
|
+
services: defaultServices,
|
1171
|
+
spatialReference: defaultWkid ? defaultWkid : undefined
|
1172
|
+
};
|
1173
|
+
}
|
1174
|
+
/**
|
1175
|
+
* Create and store template items for the editor.
|
1176
|
+
*
|
1177
|
+
* @param solutionItemId Id of the solution represented in the store
|
1178
|
+
* @param templates A list of item templates from the solution
|
1179
|
+
* @param authentication Credentials for fetching information to be loaded into the store
|
1180
|
+
*
|
1181
|
+
* @returns a promise that resolves when the templates are ready
|
1182
|
+
*
|
1183
|
+
* @protected
|
1184
|
+
*/
|
1185
|
+
async _prepareSolutionItemsForEditing(solutionItemId, templates, authentication) {
|
1186
|
+
const thumbnailPromises = [];
|
1187
|
+
// Augment the template with paths to resources and group information, if relevant
|
1188
|
+
templates.forEach((t) => {
|
1189
|
+
t.resourceFilePaths = this._getResourceFilePaths(solutionItemId, t, authentication.portal);
|
1190
|
+
thumbnailPromises.push(t.resourceFilePaths.length > 0 ?
|
1191
|
+
getThumbnailFromStorageItem(authentication, t.resourceFilePaths) :
|
1192
|
+
Promise.resolve());
|
1193
|
+
t.groupDetails = t.type === "Group" ? this._getItemsSharedWithThisGroup(t, templates) : [];
|
1194
|
+
});
|
1195
|
+
// Augment the template with its thumbnail file
|
1196
|
+
const thumbnails = await Promise.all(thumbnailPromises);
|
1197
|
+
templates.forEach((t, i) => {
|
1198
|
+
t.thumbnail = thumbnails[i] ? thumbnails[i] : undefined;
|
1199
|
+
});
|
1200
|
+
return Promise.resolve();
|
1201
|
+
}
|
1202
|
+
/**
|
1203
|
+
* Prepares template items for sending to AGO by updating the resources held by the solution item.
|
1204
|
+
*
|
1205
|
+
* @param solutionItemId Id of the solution represented in the store
|
1206
|
+
* @param templates A list of item templates from the solution
|
1207
|
+
* @param authentication Credentials for fetching information to be loaded into the store
|
1208
|
+
*
|
1209
|
+
* @returns a promise that resolves when the templates are ready
|
1210
|
+
*
|
1211
|
+
* @protected
|
1212
|
+
*/
|
1213
|
+
async _prepareSolutionItemsForStorage(solutionItemId, templates, authentication) {
|
1214
|
+
const resourceAdds = [];
|
1215
|
+
// Update the resources and remove the augmentation from a template
|
1216
|
+
const pendingTasks = [];
|
1217
|
+
templates.forEach((t) => {
|
1218
|
+
// Run through the resourceFilePaths for the item seeking modifications to be made to the solution item's
|
1219
|
+
// collection of resources; queue them for batching
|
1220
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1221
|
+
t.resourceFilePaths.forEach(async (path) => {
|
1222
|
+
const storageName = this._getResourceStorageName(t.itemId, path);
|
1223
|
+
switch (path.updateType) {
|
1224
|
+
case EUpdateType.Add:
|
1225
|
+
const { prefix, suffix } = this._splitFilename(storageName);
|
1226
|
+
t.resources.push(storageName);
|
1227
|
+
resourceAdds.push({
|
1228
|
+
itemId: t.itemId,
|
1229
|
+
file: path.blob,
|
1230
|
+
folder: prefix,
|
1231
|
+
filename: suffix
|
1232
|
+
});
|
1233
|
+
break;
|
1234
|
+
case EUpdateType.Update:
|
1235
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1236
|
+
pendingTasks.push(new Promise(async (resolve) => {
|
1237
|
+
try {
|
1238
|
+
await updateItemResourceFile(solutionItemId, storageName, path.blob, authentication);
|
1239
|
+
}
|
1240
|
+
catch (err) {
|
1241
|
+
console.log("Unable to update " + storageName + " for item " + t.itemId + ": " + JSON.stringify(err));
|
1242
|
+
}
|
1243
|
+
resolve();
|
1244
|
+
}));
|
1245
|
+
break;
|
1246
|
+
case EUpdateType.Remove:
|
1247
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1248
|
+
pendingTasks.push(new Promise(async (resolve) => {
|
1249
|
+
try {
|
1250
|
+
await removeItemResourceFile(solutionItemId, storageName, authentication);
|
1251
|
+
t.resources = t.resources.filter((path) => path !== storageName);
|
1252
|
+
}
|
1253
|
+
catch (err) {
|
1254
|
+
console.log("Unable to remove " + storageName + " for item " + t.itemId + ": " + JSON.stringify(err));
|
1255
|
+
}
|
1256
|
+
resolve();
|
1257
|
+
}));
|
1258
|
+
break;
|
1259
|
+
}
|
1260
|
+
return Promise.resolve();
|
1261
|
+
});
|
1262
|
+
delete t.resourceFilePaths;
|
1263
|
+
delete t.thumbnail;
|
1264
|
+
delete t.groupDetails;
|
1265
|
+
});
|
1266
|
+
// Update the resources
|
1267
|
+
return Promise.all(pendingTasks)
|
1268
|
+
.then(async () => {
|
1269
|
+
if (resourceAdds.length > 0) {
|
1270
|
+
await copyFilesToStorageItem(resourceAdds, solutionItemId, authentication);
|
1271
|
+
}
|
1272
|
+
return Promise.resolve();
|
1273
|
+
});
|
1274
|
+
}
|
1275
|
+
/**
|
1276
|
+
* Stores basic spatial reference information that is used to determine if a custom spatial reference parameter will
|
1277
|
+
* be exposed while deploying this solution and if so what feature services will support it and what will the default wkid be
|
1278
|
+
*
|
1279
|
+
* @param spatialReferenceInfo The configuration settings for a custom spatial reference
|
1280
|
+
* @param templates The templates in the current solution, which will be updated in place if
|
1281
|
+
* `spatialReferenceInfo.enabled` is true
|
1282
|
+
*
|
1283
|
+
* @returns The new default wkid
|
1284
|
+
*
|
1285
|
+
* @protected
|
1286
|
+
*/
|
1287
|
+
_setSpatialReferenceInfo(spatialReferenceInfo, templates) {
|
1288
|
+
const customizingPrefix = "{{params.wkid||";
|
1289
|
+
const customizeableFeatureServices = this._getCustomizableFeatureServices(templates);
|
1290
|
+
if (spatialReferenceInfo.enabled) {
|
1291
|
+
// Enable or disable this feature in each service
|
1292
|
+
customizeableFeatureServices.forEach((fs) => {
|
1293
|
+
const name = fs.item.title || fs.item.name;
|
1294
|
+
let wkid;
|
1295
|
+
if (spatialReferenceInfo.services[name]) { // enabled
|
1296
|
+
wkid = `{{params.wkid||${spatialReferenceInfo.spatialReference}}}`;
|
1297
|
+
setCreateProp(fs, "properties.service.spatialReference.wkid", wkid);
|
1298
|
+
}
|
1299
|
+
else { // disabled
|
1300
|
+
wkid = getProp(fs, "properties.service.spatialReference.wkid");
|
1301
|
+
// Remove customizing prefix if present
|
1302
|
+
if (wkid.toString().startsWith(customizingPrefix)) {
|
1303
|
+
wkid = wkid.toString().substring(customizingPrefix.length, wkid.length - 2);
|
1304
|
+
setCreateProp(fs, "properties.service.spatialReference.wkid", wkid);
|
1305
|
+
}
|
1306
|
+
}
|
1307
|
+
});
|
1308
|
+
return spatialReferenceInfo.spatialReference;
|
1309
|
+
}
|
1310
|
+
else {
|
1311
|
+
// Disable this feature in each service
|
1312
|
+
customizeableFeatureServices.forEach((fs) => {
|
1313
|
+
const wkid = getProp(fs, "properties.service.spatialReference.wkid");
|
1314
|
+
// Remove customizing prefix if present
|
1315
|
+
if (wkid.toString().startsWith(customizingPrefix)) {
|
1316
|
+
setCreateProp(fs, "properties.service.spatialReference.wkid", wkid.toString().substring(customizingPrefix.length, wkid.length - 2));
|
1317
|
+
}
|
1318
|
+
});
|
1319
|
+
return undefined;
|
1320
|
+
}
|
1321
|
+
}
|
1322
|
+
/**
|
1323
|
+
* Splits a pathed filename into a last term and a prefix; e.g., "a/b/c" returns "c" with a prefix of "a/b".
|
1324
|
+
*
|
1325
|
+
* @param filename Filename with optional path
|
1326
|
+
*
|
1327
|
+
* @returns An object consisting of a `prefix` (undefined if `filename` does not contain a path) and a `suffix`--the
|
1328
|
+
* filename at the end of a path
|
1329
|
+
*
|
1330
|
+
* @protected
|
1331
|
+
*/
|
1332
|
+
_splitFilename(filename) {
|
1333
|
+
const filenameParts = filename.split("/");
|
1334
|
+
return {
|
1335
|
+
prefix: filenameParts.length > 1 ? filenameParts.slice(0, filenameParts.length - 1).join("/") : undefined,
|
1336
|
+
suffix: filenameParts[filenameParts.length - 1]
|
1337
|
+
};
|
1338
|
+
}
|
1339
|
+
}
|
1340
|
+
const state = SolutionStore.Store;
|
1341
|
+
|
1342
|
+
export { state as s };
|