@esri/solutions-components 0.10.48 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ExpandToggle-44886935.js +115 -0
- package/dist/cjs/FloatingArrow-d7ea2b0f.js +48 -0
- package/dist/cjs/Heading-ee0aa171.js +25 -0
- package/dist/cjs/IdentityManager-d84c82f1.js +2047 -0
- package/dist/cjs/Validation-9515ef0c.js +20 -0
- package/dist/cjs/app-globals-03a6ab9b.js +67 -0
- package/dist/cjs/ar-180cd9b0.js +106 -0
- package/dist/cjs/asyncToGenerator-c7fc3ee4.js +92 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +37 -12
- package/dist/cjs/bg-fd095c86.js +84 -0
- package/dist/cjs/browser-717f77af.js +35 -0
- package/dist/cjs/bs-11fa6f0d.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +6 -6
- package/dist/cjs/ca-0685b1cc.js +73 -0
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action-bar.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-alert_2.cjs.entry.js +500 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_5.cjs.entry.js +17 -17
- package/dist/cjs/calcite-button-de2c2e75.js +282 -0
- package/dist/cjs/calcite-button.cjs.entry.js +8 -8
- package/dist/cjs/calcite-card-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/calcite-chip-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-chip_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-color-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +66 -20
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-dialog-a5c288bb.js +5876 -0
- package/dist/cjs/calcite-dialog.cjs.entry.js +9 -9
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -4
- package/dist/cjs/calcite-filter_5.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow-item_5.cjs.entry.js +1752 -0
- package/dist/cjs/calcite-flow_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-graph_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-icon_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +7 -7
- package/dist/cjs/calcite-input-945ec162.js +1001 -0
- package/dist/cjs/calcite-input-number.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker-3aeef2d4.js +1870 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-label-e7b67a86.js +111 -0
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +4 -4
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-menu-item.cjs.entry.js +6 -6
- package/dist/cjs/calcite-menu.cjs.entry.js +6 -6
- package/dist/cjs/calcite-meter.cjs.entry.js +6 -6
- package/dist/cjs/calcite-modal_4.cjs.entry.js +972 -0
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation.cjs.entry.js +3 -3
- package/dist/cjs/calcite-notice-a48cc9e7.js +261 -0
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pagination.cjs.entry.js +6 -6
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/calcite-rating.cjs.entry.js +8 -8
- package/dist/cjs/calcite-scrim.cjs.entry.js +5 -5
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +24 -24
- package/dist/cjs/calcite-shell.cjs.entry.js +4 -4
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +4 -4
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-stepper.cjs.entry.js +5 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -5
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-table-row.cjs.entry.js +2 -2
- package/dist/cjs/calcite-table.cjs.entry.js +6 -6
- package/dist/cjs/calcite-text-area.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tile-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select.cjs.entry.js +6 -6
- package/dist/cjs/calcite-tile.cjs.entry.js +4 -4
- package/dist/cjs/calcite-time-picker.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tip-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tooltip.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tree_2.cjs.entry.js +5 -5
- package/dist/cjs/card-manager_3.cjs.entry.js +194 -51
- package/dist/cjs/common-10d11a29.js +37 -0
- package/dist/cjs/component-69260f95.js +1073 -0
- package/dist/cjs/conditionalSlot-130cce71.js +54 -0
- package/dist/cjs/config-c999f8fc.js +40 -0
- package/dist/cjs/consent-manager.cjs.entry.js +7914 -45
- package/dist/cjs/crowdsource-manager.cjs.entry.js +6 -6
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +3 -3
- package/dist/cjs/cs-70e8ba01.js +149 -0
- package/dist/cjs/da-e8eb9ff4.js +69 -0
- package/dist/cjs/date-40a80298.js +264 -0
- package/dist/cjs/de-4b8310d2.js +93 -0
- package/dist/cjs/de-at-dc8ed8c3.js +92 -0
- package/dist/cjs/de-ch-c5971940.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-b6490537.js +3223 -0
- package/dist/cjs/el-a70d9f12.js +68 -0
- package/dist/cjs/en-au-88ddb80f.js +68 -0
- package/dist/cjs/en-ca-5a29b95b.js +67 -0
- package/dist/cjs/en-gb-3c763a84.js +71 -0
- package/dist/cjs/es-e83e8ff5.js +68 -0
- package/dist/cjs/es-mx-2ea879ef.js +67 -0
- package/dist/cjs/et-7b00c80d.js +94 -0
- package/dist/cjs/feature-list.cjs.entry.js +12 -10
- package/dist/cjs/fi-92ca007b.js +117 -0
- package/dist/cjs/floating-ui-7fa9e006.js +2413 -0
- package/dist/cjs/focusTrapComponent-a7cfa6da.js +1013 -0
- package/dist/cjs/form-dd5380da.js +370 -0
- package/dist/cjs/form-f2a43327.js +381 -0
- package/dist/cjs/fr-a1f5dfd4.js +70 -0
- package/dist/cjs/fr-ch-8a4a9d67.js +68 -0
- package/dist/cjs/he-38b2b883.js +107 -0
- package/dist/cjs/helpers-47465fc2.js +940 -0
- package/dist/cjs/hi-a517b1a8.js +67 -0
- package/dist/cjs/hr-c1e34de1.js +82 -0
- package/dist/cjs/hu-e46e8ae7.js +90 -0
- package/dist/cjs/icon-f45e7fbb.js +979 -0
- package/dist/cjs/id-bfc376d8.js +68 -0
- package/dist/cjs/index-1ab17699.js +201 -0
- package/dist/cjs/index-3bae5121.js +1789 -0
- package/dist/cjs/index-5d8d6ae2.js +2157 -0
- package/dist/cjs/index.es-5fc7bebc.js +11221 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-header.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +16 -20
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +13 -13
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-splash.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -59
- package/dist/cjs/interactive-b59e6294.js +86 -0
- package/dist/cjs/interactive-e1c3ccf2.js +85 -0
- package/dist/cjs/it-6d8c8360.js +68 -0
- package/dist/cjs/it-ch-2b05812c.js +68 -0
- package/dist/cjs/ja-eb46f963.js +74 -0
- package/dist/cjs/ko-dbe28d19.js +74 -0
- package/dist/cjs/label-7f519bd9.js +186 -0
- package/dist/cjs/languageSwitcher-bca9ab2c.js +52 -0
- package/dist/cjs/loadable-19ab5827.js +98 -0
- package/dist/cjs/loader-97bb6b45.js +176 -0
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/locale-3a817e03.js +1488 -0
- package/dist/cjs/locale-80aff4b9.js +605 -0
- package/dist/cjs/locale-a79da367.js +160 -0
- package/dist/cjs/logger-780b61e8.js +61 -0
- package/dist/cjs/lt-651bfa9c.js +99 -0
- package/dist/cjs/lv-f6fe37a3.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +15 -13
- package/dist/cjs/mk-1f0ffdf6.js +68 -0
- package/dist/cjs/nb-8b7b39ed.js +69 -0
- package/dist/cjs/nl-27515721.js +69 -0
- package/dist/cjs/observers-902ebe13.js +58 -0
- package/dist/cjs/openCloseComponent-039ee139.js +65 -0
- package/dist/cjs/openCloseComponent-e8e50700.js +66 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -2
- package/dist/cjs/pl-d2098514.js +116 -0
- package/dist/cjs/popupUtils-72d48968.js +121 -0
- package/dist/cjs/pt-a3304010.js +69 -0
- package/dist/cjs/pt-br-09d60ba8.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +12 -10
- package/dist/cjs/publicNotificationStore-04b6837d.js +47 -0
- package/dist/cjs/request-19fdbaaa.js +21 -0
- package/dist/cjs/restHelpersGet-e4639890.js +507 -0
- package/dist/cjs/ro-2ea54b1c.js +68 -0
- package/dist/cjs/ru-f94ee202.js +128 -0
- package/dist/cjs/shared-list-render-fb08b2af.js +361 -0
- package/dist/cjs/sk-3cdf67d8.js +150 -0
- package/dist/cjs/sl-075daf42.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +53 -53
- package/dist/cjs/solution-contents_3.cjs.entry.js +11 -11
- package/dist/cjs/solution-item-accordion.cjs.entry.js +3 -3
- package/dist/cjs/solution-item-icon.cjs.entry.js +2 -2
- package/dist/cjs/solution-resource-d0a2f7fe.js +1845 -0
- package/dist/cjs/solution-store-4e602251.js +1105 -0
- package/dist/cjs/solutions-components.cjs.js +6 -6
- package/dist/cjs/spatial-ref.cjs.entry.js +5 -6
- package/dist/cjs/sr-2f08967b.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +7 -7
- package/dist/cjs/sv-65f0e21c.js +73 -0
- package/dist/cjs/t9n-0195f685.js +108 -0
- package/dist/cjs/templates-1e84847a.js +407 -0
- package/dist/cjs/th-db63e592.js +67 -0
- package/dist/cjs/time-caa0abbe.js +301 -0
- package/dist/cjs/tr-b6401cac.js +68 -0
- package/dist/cjs/typeof-2a7e2dec.js +28 -0
- package/dist/cjs/uk-d00c351d.js +106 -0
- package/dist/cjs/update-243ea407.js +783 -0
- package/dist/cjs/utils-7eb34f90.js +153 -0
- package/dist/cjs/utils-d2bcba4f.js +79 -0
- package/dist/cjs/vi-efe4ad72.js +72 -0
- package/dist/cjs/zh-cn-63f07390.js +96 -0
- package/dist/cjs/zh-hk-84a86ab9.js +94 -0
- package/dist/cjs/zh-tw-894f1adf.js +94 -0
- package/dist/collection/assets/t9n/consent-manager/resources.json +3 -10
- package/dist/collection/assets/t9n/consent-manager/resources_en.json +3 -10
- package/dist/collection/collection-manifest.json +2 -4
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +1 -1
- package/dist/collection/components/card-manager/card-manager.js +1 -1
- package/dist/collection/components/consent-manager/consent-manager.js +113 -37
- package/dist/collection/components/create-feature/create-feature.js +2 -2
- package/dist/collection/components/create-related-feature/create-related-feature.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +3 -3
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -1
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +2 -2
- package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +26 -2
- package/dist/collection/components/feature-details/feature-details.js +6 -6
- package/dist/collection/components/feature-list/feature-list.js +3 -3
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +224 -47
- package/dist/collection/components/map-card/map-card.js +2 -2
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +121 -5
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +53 -4
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +3 -3
- package/dist/collection/components/map-tools/map-tools.js +2 -2
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +2 -2
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/consent-manager.html +56 -0
- package/dist/collection/utils/interfaces.ts +14 -0
- package/dist/components/IdentityManager.js +339 -0
- package/dist/components/asyncToGenerator.js +88 -0
- package/dist/components/basemap-gallery2.js +1 -1
- package/dist/components/buffer-tools2.js +1 -1
- package/dist/components/calcite-button2.js +273 -0
- package/dist/components/calcite-dialog.js +1 -663
- package/dist/components/calcite-dialog2.js +5867 -0
- package/dist/components/calcite-input2.js +992 -0
- package/dist/components/calcite-label2.js +100 -0
- package/dist/components/calcite-notice2.js +251 -0
- package/dist/components/card-manager2.js +10 -10
- package/dist/components/common.js +0 -1
- package/dist/components/component2.js +1048 -0
- package/dist/components/consent-manager.js +8053 -203
- package/dist/components/create-feature2.js +2 -2
- package/dist/components/create-related-feature2.js +1 -1
- package/dist/components/crowdsource-manager.js +37 -37
- package/dist/components/crowdsource-reporter.js +28 -28
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +29 -11
- package/dist/components/delete-dialog2.js +33 -9
- package/dist/components/dialog.js +670 -0
- package/dist/components/downloadUtils.js +10 -26
- package/dist/components/edit-card2.js +7 -2
- package/dist/components/feature-details2.js +23 -23
- package/dist/components/feature-list2.js +3 -3
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/form2.js +362 -0
- package/dist/components/icon2.js +960 -0
- package/dist/components/index.es.js +25 -104
- package/dist/components/index2.js +6 -5
- package/dist/components/info-card2.js +9 -9
- package/dist/components/instant-apps-language-switcher.js +6 -10
- package/dist/components/instant-apps-language-translator2.js +2 -809
- package/dist/components/instant-apps-time-filter.js +3 -57
- package/dist/components/interactive2.js +83 -0
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/label3.js +179 -0
- package/dist/components/layer-table2.js +212 -69
- package/dist/components/loader2.js +173 -0
- package/dist/components/locale3.js +1311 -3
- package/dist/components/map-card2.js +2 -2
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +53 -5
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +28 -3
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +3 -3
- package/dist/components/map-tools2.js +2 -2
- package/dist/components/openCloseComponent2.js +64 -0
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +2 -2
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/request.js +14 -0
- package/dist/components/restHelpersGet.js +74 -557
- package/dist/components/solution-configuration.js +27 -28
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -2
- package/dist/components/solution-resource.js +1701 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-store.js +36 -285
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref.js +1 -1
- package/dist/components/templates.js +0 -1
- package/dist/components/typeof.js +25 -0
- package/dist/components/update.js +773 -0
- package/dist/esm/ExpandToggle-324f556e.js +108 -0
- package/dist/esm/FloatingArrow-cd37b366.js +46 -0
- package/dist/esm/Heading-b6b7a8a6.js +22 -0
- package/dist/esm/IdentityManager-6880e890.js +2012 -0
- package/dist/esm/Validation-b62abebe.js +18 -0
- package/dist/esm/app-globals-b6ef4076.js +65 -0
- package/dist/esm/ar-aa347a04.js +104 -0
- package/dist/esm/asyncToGenerator-96b2368d.js +88 -0
- package/dist/esm/basemap-gallery_7.entry.js +37 -12
- package/dist/esm/bg-b56e89f6.js +82 -0
- package/dist/esm/browser-e42b9848.js +32 -0
- package/dist/esm/bs-62486009.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +7 -7
- package/dist/esm/ca-db6a81f3.js +71 -0
- package/dist/esm/calcite-accordion_2.entry.js +6 -6
- package/dist/esm/calcite-action-bar.entry.js +9 -9
- package/dist/esm/calcite-action-group.entry.js +8 -8
- package/dist/esm/calcite-action-menu_2.entry.js +10 -10
- package/dist/esm/calcite-action-pad_2.entry.js +9 -9
- package/dist/esm/calcite-action_2.entry.js +14 -14
- package/dist/esm/calcite-alert_2.entry.js +495 -0
- package/dist/esm/calcite-avatar.entry.js +2 -2
- package/dist/esm/calcite-block-section.entry.js +7 -7
- package/dist/esm/calcite-block_5.entry.js +19 -19
- package/dist/esm/calcite-button-e86d99b3.js +279 -0
- package/dist/esm/calcite-button.entry.js +10 -10
- package/dist/esm/calcite-card-group.entry.js +5 -5
- package/dist/esm/calcite-card.entry.js +8 -8
- package/dist/esm/calcite-carousel_2.entry.js +8 -8
- package/dist/esm/calcite-checkbox.entry.js +7 -7
- package/dist/esm/calcite-chip-group.entry.js +5 -5
- package/dist/esm/calcite-chip_2.entry.js +10 -10
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +4 -4
- package/dist/esm/calcite-color-picker.entry.js +8 -8
- package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
- package/dist/esm/calcite-combobox_3.entry.js +68 -22
- package/dist/esm/calcite-date-picker-day_3.entry.js +9 -9
- package/dist/esm/calcite-dialog-f5f9cfea.js +5873 -0
- package/dist/esm/calcite-dialog.entry.js +10 -10
- package/dist/esm/calcite-dropdown_2.entry.js +8 -8
- package/dist/esm/calcite-fab.entry.js +5 -5
- package/dist/esm/calcite-filter_5.entry.js +8 -8
- package/dist/esm/calcite-flow-item_5.entry.js +1744 -0
- package/dist/esm/calcite-flow_4.entry.js +12 -12
- package/dist/esm/calcite-graph_2.entry.js +9 -9
- package/dist/esm/calcite-icon_2.entry.js +5 -5
- package/dist/esm/calcite-inline-editable.entry.js +9 -9
- package/dist/esm/calcite-input-1f12bce0.js +998 -0
- package/dist/esm/calcite-input-number.entry.js +11 -11
- package/dist/esm/calcite-input-text.entry.js +11 -11
- package/dist/esm/calcite-input-time-picker-07db9ed7.js +1867 -0
- package/dist/esm/calcite-input-time-picker.entry.js +15 -15
- package/dist/esm/calcite-input-time-zone.entry.js +10 -10
- package/dist/esm/calcite-input_2.entry.js +11 -11
- package/dist/esm/calcite-label-d80f6f1c.js +108 -0
- package/dist/esm/calcite-label.entry.js +3 -3
- package/dist/esm/calcite-link.entry.js +5 -5
- package/dist/esm/calcite-list-item-group.entry.js +2 -2
- package/dist/esm/calcite-menu-item.entry.js +7 -7
- package/dist/esm/calcite-menu.entry.js +7 -7
- package/dist/esm/calcite-meter.entry.js +7 -7
- package/dist/esm/calcite-modal_4.entry.js +965 -0
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation-user.entry.js +3 -3
- package/dist/esm/calcite-navigation.entry.js +4 -4
- package/dist/esm/calcite-notice-acc12411.js +258 -0
- package/dist/esm/calcite-notice.entry.js +9 -9
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +7 -7
- package/dist/esm/calcite-pick-list-group.entry.js +8 -8
- package/dist/esm/calcite-pick-list-item.entry.js +11 -11
- package/dist/esm/calcite-pick-list.entry.js +9 -9
- package/dist/esm/calcite-radio-button-group.entry.js +6 -6
- package/dist/esm/calcite-radio-button.entry.js +7 -7
- package/dist/esm/calcite-rating.entry.js +10 -10
- package/dist/esm/calcite-scrim.entry.js +6 -6
- package/dist/esm/calcite-segmented-control_2.entry.js +8 -8
- package/dist/esm/calcite-sheet.entry.js +8 -8
- package/dist/esm/calcite-shell-center-row.entry.js +7 -7
- package/dist/esm/calcite-shell-panel_14.entry.js +25 -25
- package/dist/esm/calcite-shell.entry.js +5 -5
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +8 -8
- package/dist/esm/calcite-stepper.entry.js +6 -6
- package/dist/esm/calcite-switch.entry.js +7 -7
- package/dist/esm/calcite-table-cell_2.entry.js +8 -8
- package/dist/esm/calcite-table-row.entry.js +3 -3
- package/dist/esm/calcite-table.entry.js +7 -7
- package/dist/esm/calcite-text-area.entry.js +11 -11
- package/dist/esm/calcite-tile-group.entry.js +5 -5
- package/dist/esm/calcite-tile-select-group.entry.js +4 -4
- package/dist/esm/calcite-tile-select.entry.js +6 -6
- package/dist/esm/calcite-tile.entry.js +5 -5
- package/dist/esm/calcite-time-picker.entry.js +8 -8
- package/dist/esm/calcite-tip-group.entry.js +3 -3
- package/dist/esm/calcite-tip-manager.entry.js +9 -9
- package/dist/esm/calcite-tip.entry.js +10 -10
- package/dist/esm/calcite-tooltip.entry.js +6 -6
- package/dist/esm/calcite-tree_2.entry.js +6 -6
- package/dist/esm/card-manager_3.entry.js +194 -51
- package/dist/esm/common-c8dc0e85.js +35 -0
- package/dist/esm/component-85f22c99.js +1048 -0
- package/dist/esm/conditionalSlot-2e16b206.js +51 -0
- package/dist/esm/config-e6645458.js +36 -0
- package/dist/esm/consent-manager.entry.js +7910 -41
- package/dist/esm/crowdsource-manager.entry.js +6 -6
- package/dist/esm/crowdsource-reporter.entry.js +3 -3
- package/dist/esm/cs-250e21c6.js +147 -0
- package/dist/esm/da-bab8eb4e.js +67 -0
- package/dist/esm/date-272939fd.js +248 -0
- package/dist/esm/de-808a43dc.js +91 -0
- package/dist/esm/de-at-9c396c81.js +90 -0
- package/dist/esm/de-ch-415303cf.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +2 -2
- package/dist/esm/dom-66c5cd46.js +1165 -0
- package/dist/esm/downloadUtils-8ba094d7.js +3217 -0
- package/dist/esm/el-3d1eaeb8.js +66 -0
- package/dist/esm/en-au-e6b00a93.js +66 -0
- package/dist/esm/en-ca-29b94ea2.js +65 -0
- package/dist/esm/en-gb-09267176.js +69 -0
- package/dist/esm/es-95fef748.js +66 -0
- package/dist/esm/es-mx-9b70cfc9.js +65 -0
- package/dist/esm/et-08cbe214.js +92 -0
- package/dist/esm/feature-list.entry.js +12 -10
- package/dist/esm/fi-e850e58b.js +115 -0
- package/dist/esm/floating-ui-1a431a21.js +2404 -0
- package/dist/esm/focusTrapComponent-e80b8863.js +1008 -0
- package/dist/esm/form-1528db83.js +362 -0
- package/dist/esm/form-99398da6.js +372 -0
- package/dist/esm/fr-c71b6844.js +68 -0
- package/dist/esm/fr-ch-7ac7a7eb.js +66 -0
- package/dist/esm/he-311cb5ba.js +105 -0
- package/dist/esm/helpers-f52a734a.js +913 -0
- package/dist/esm/hi-c41f0938.js +65 -0
- package/dist/esm/hr-f42cc721.js +80 -0
- package/dist/esm/hu-d1d33b21.js +88 -0
- package/dist/esm/icon-18c0eb17.js +959 -0
- package/dist/esm/id-1867967d.js +66 -0
- package/dist/esm/index-38bde943.js +199 -0
- package/dist/esm/index-d233c7a2.js +1753 -0
- package/dist/esm/index-d88c3eb6.js +2155 -0
- package/dist/esm/index.es-d286eecc.js +11134 -0
- package/dist/esm/instant-apps-app-guide.entry.js +2 -2
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-create.entry.js +2 -2
- package/dist/esm/instant-apps-export-views.entry.js +2 -2
- package/dist/esm/instant-apps-export.entry.js +2 -2
- package/dist/esm/instant-apps-header.entry.js +2 -2
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +9 -13
- package/dist/esm/instant-apps-language-translator.entry.js +5 -5
- package/dist/esm/instant-apps-measurement.entry.js +2 -2
- package/dist/esm/instant-apps-popover.entry.js +2 -2
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
- package/dist/esm/instant-apps-sign-in.entry.js +2 -2
- package/dist/esm/instant-apps-splash.entry.js +3 -3
- package/dist/esm/instant-apps-time-filter.entry.js +3 -57
- package/dist/esm/interactive-5139f8d7.js +83 -0
- package/dist/esm/interactive-cad37709.js +82 -0
- package/dist/esm/it-6a7495d8.js +66 -0
- package/dist/esm/it-ch-89fa3c82.js +66 -0
- package/dist/esm/ja-f87a1f44.js +72 -0
- package/dist/esm/ko-0f4c7a11.js +72 -0
- package/dist/esm/label-56002f24.js +179 -0
- package/dist/esm/label-7f52ca53.js +179 -0
- package/dist/esm/languageSwitcher-d0ca5d6f.js +49 -0
- package/dist/esm/loadable-dc3f24a8.js +93 -0
- package/dist/esm/loader-bae2aa52.js +173 -0
- package/dist/esm/loader.js +6 -6
- package/dist/esm/locale-586d9375.js +155 -0
- package/dist/esm/locale-911eca09.js +591 -0
- package/dist/esm/locale-be7fd298.js +1423 -0
- package/dist/esm/logger-ff14b12f.js +59 -0
- package/dist/esm/lt-a4b14416.js +97 -0
- package/dist/esm/lv-3901862d.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +15 -13
- package/dist/esm/mk-886d280d.js +66 -0
- package/dist/esm/nb-b667a0e1.js +67 -0
- package/dist/esm/nl-d357a092.js +67 -0
- package/dist/esm/observers-ab3d6528.js +56 -0
- package/dist/esm/openCloseComponent-0e1e6768.js +64 -0
- package/dist/esm/openCloseComponent-c3f79463.js +63 -0
- package/dist/esm/pci-calculator.entry.js +2 -2
- package/dist/esm/pl-75d54069.js +114 -0
- package/dist/esm/popupUtils-ddb1f6fa.js +119 -0
- package/dist/esm/pt-32bd5da2.js +67 -0
- package/dist/esm/pt-br-6f32314d.js +65 -0
- package/dist/esm/public-notification.entry.js +12 -10
- package/dist/esm/publicNotificationStore-8b54bf6f.js +45 -0
- package/dist/esm/request-2dbb152a.js +19 -0
- package/dist/esm/restHelpersGet-a7fda344.js +493 -0
- package/dist/esm/ro-d238055e.js +66 -0
- package/dist/esm/ru-ef7165ff.js +126 -0
- package/dist/esm/shared-list-render-5f202c55.js +339 -0
- package/dist/esm/sk-959dbca1.js +148 -0
- package/dist/esm/sl-96436015.js +168 -0
- package/dist/esm/solution-configuration.entry.js +34 -34
- package/dist/esm/solution-contents_3.entry.js +11 -11
- package/dist/esm/solution-item-accordion.entry.js +3 -3
- package/dist/esm/solution-item-icon.entry.js +2 -2
- package/dist/esm/solution-resource-30a29505.js +1842 -0
- package/dist/esm/solution-store-f252cb74.js +1103 -0
- package/dist/esm/solutions-components.js +7 -7
- package/dist/esm/spatial-ref.entry.js +5 -6
- package/dist/esm/sr-73033c89.js +101 -0
- package/dist/esm/store-manager.entry.js +7 -7
- package/dist/esm/sv-b1153aa8.js +71 -0
- package/dist/esm/t9n-1698878e.js +103 -0
- package/dist/esm/templates-60f33938.js +401 -0
- package/dist/esm/th-e1a074e2.js +65 -0
- package/dist/esm/time-bca5f70b.js +286 -0
- package/dist/esm/tr-1350f529.js +66 -0
- package/dist/esm/typeof-ef2a007d.js +25 -0
- package/dist/esm/uk-18ded66c.js +104 -0
- package/dist/esm/update-ad0b88fa.js +773 -0
- package/dist/esm/utils-0da093e1.js +142 -0
- package/dist/esm/utils-30c4c8ca.js +66 -0
- package/dist/esm/vi-cee99413.js +70 -0
- package/dist/esm/zh-cn-6e204128.js +94 -0
- package/dist/esm/zh-hk-ffb02673.js +92 -0
- package/dist/esm/zh-tw-0f52dd8c.js +92 -0
- package/dist/solutions-components/assets/t9n/consent-manager/resources.json +3 -10
- package/dist/solutions-components/assets/t9n/consent-manager/resources_en.json +3 -10
- package/dist/solutions-components/demos/consent-manager.html +56 -0
- package/dist/solutions-components/p-0094924f.entry.js +6 -0
- package/dist/solutions-components/p-00ea0ccc.entry.js +11 -0
- package/dist/solutions-components/p-018d1f95.entry.js +6 -0
- package/dist/solutions-components/p-025af0b3.entry.js +21 -0
- package/dist/solutions-components/p-0549a65c.js +6 -0
- package/dist/solutions-components/p-058d0542.js +17 -0
- package/dist/solutions-components/p-0668e30d.js +34 -0
- package/dist/solutions-components/p-066fc169.js +6 -0
- package/dist/solutions-components/p-067e36b2.entry.js +6 -0
- package/dist/solutions-components/p-0681b29b.entry.js +11 -0
- package/dist/solutions-components/p-0691d1af.entry.js +22 -0
- package/dist/solutions-components/p-088a5dca.js +67 -0
- package/dist/solutions-components/p-097b80df.js +6 -0
- package/dist/solutions-components/p-0a0902c4.entry.js +6 -0
- package/dist/solutions-components/p-0a71f549.entry.js +29 -0
- package/dist/solutions-components/p-0ac9cc4a.entry.js +21 -0
- package/dist/solutions-components/p-0b1fb6ae.js +36 -0
- package/dist/solutions-components/p-0d82ed7b.entry.js +11 -0
- package/dist/solutions-components/p-0e307601.entry.js +11 -0
- package/dist/solutions-components/p-0ece17fc.entry.js +6 -0
- package/dist/solutions-components/p-0f58bb3a.entry.js +11 -0
- package/dist/solutions-components/p-0f9f7528.entry.js +11 -0
- package/dist/solutions-components/p-135b2aba.js +16 -0
- package/dist/solutions-components/p-13bdb2c0.js +6 -0
- package/dist/solutions-components/p-14519a8a.entry.js +11 -0
- package/dist/solutions-components/p-1482f3cf.js +20 -0
- package/dist/solutions-components/p-1492bb6d.js +6 -0
- package/dist/solutions-components/p-1664573a.entry.js +6 -0
- package/dist/solutions-components/p-1900f9b1.js +11 -0
- package/dist/solutions-components/p-1984f2c7.entry.js +17 -0
- package/dist/solutions-components/p-1c1842b0.entry.js +6 -0
- package/dist/solutions-components/p-1f9d927b.entry.js +6 -0
- package/dist/solutions-components/p-1fb3756b.js +6 -0
- package/dist/solutions-components/p-208b5cc4.entry.js +6 -0
- package/dist/solutions-components/p-20cda8ef.entry.js +6 -0
- package/dist/solutions-components/p-2130a063.entry.js +17 -0
- package/dist/solutions-components/p-21f90019.js +21 -0
- package/dist/solutions-components/p-230f7315.entry.js +6 -0
- package/dist/solutions-components/p-24b42859.entry.js +47 -0
- package/dist/solutions-components/p-26f9f9c8.js +11 -0
- package/dist/solutions-components/p-270ca219.entry.js +6 -0
- package/dist/solutions-components/p-27a91364.entry.js +17 -0
- package/dist/solutions-components/p-28498868.entry.js +11 -0
- package/dist/solutions-components/p-2a5a5bfd.entry.js +11 -0
- package/dist/solutions-components/p-2ac553f6.js +6 -0
- package/dist/solutions-components/p-2b1e6acb.entry.js +6 -0
- package/dist/solutions-components/p-2bc98cb0.js +30 -0
- package/dist/solutions-components/p-2d96fdb9.js +6 -0
- package/dist/solutions-components/p-2dd8e49c.js +11 -0
- package/dist/solutions-components/p-30a16b7e.entry.js +11 -0
- package/dist/solutions-components/p-3212300b.entry.js +6 -0
- package/dist/solutions-components/p-35245316.entry.js +6 -0
- package/dist/solutions-components/p-3643a87a.entry.js +6 -0
- package/dist/solutions-components/p-3708cbdc.entry.js +6 -0
- package/dist/solutions-components/p-3828e77b.js +11 -0
- package/dist/solutions-components/p-38e0f88b.js +17 -0
- package/dist/solutions-components/p-3b3bfba5.entry.js +6 -0
- package/dist/solutions-components/p-3ba80c7c.js +6 -0
- package/dist/solutions-components/p-3d1f0434.js +21 -0
- package/dist/solutions-components/p-3ffc4738.js +6 -0
- package/dist/solutions-components/p-409401ce.js +11 -0
- package/dist/solutions-components/p-419df1ac.js +11 -0
- package/dist/solutions-components/p-46159285.js +6 -0
- package/dist/solutions-components/p-49a67314.entry.js +6 -0
- package/dist/solutions-components/p-4cbdea35.js +129 -0
- package/dist/solutions-components/p-4dfc2fc4.js +11 -0
- package/dist/solutions-components/p-4f236b5d.js +43 -0
- package/dist/solutions-components/p-4f50385f.js +16 -0
- package/dist/solutions-components/p-4fe489cf.js +6 -0
- package/dist/solutions-components/p-50239e15.entry.js +6 -0
- package/dist/solutions-components/p-531f66c7.entry.js +6 -0
- package/dist/solutions-components/p-570754a4.js +6 -0
- package/dist/solutions-components/p-570b13d9.js +67 -0
- package/dist/solutions-components/p-58d53a46.entry.js +6 -0
- package/dist/solutions-components/p-59970898.js +6 -0
- package/dist/solutions-components/p-59d02697.entry.js +11 -0
- package/dist/solutions-components/p-5b2ae6c4.js +6 -0
- package/dist/solutions-components/p-5b9783e6.entry.js +23 -0
- package/dist/solutions-components/p-5c5cbe3c.js +6 -0
- package/dist/solutions-components/p-5c692ed6.entry.js +11 -0
- package/dist/solutions-components/p-5cfa35f8.js +6 -0
- package/dist/solutions-components/p-5d581b7e.entry.js +6 -0
- package/dist/solutions-components/p-5df09fe4.js +31 -0
- package/dist/solutions-components/p-5ee359f1.entry.js +11 -0
- package/dist/solutions-components/p-5f099cd2.js +6 -0
- package/dist/solutions-components/p-60123545.js +6 -0
- package/dist/solutions-components/p-6148468f.js +11 -0
- package/dist/solutions-components/p-617d2160.js +6 -0
- package/dist/solutions-components/p-619a1ad0.js +6 -0
- package/dist/solutions-components/p-61d2582e.entry.js +6 -0
- package/dist/solutions-components/p-662cf7fa.entry.js +11 -0
- package/dist/solutions-components/p-6708060e.js +11 -0
- package/dist/solutions-components/p-676a2d60.entry.js +6 -0
- package/dist/solutions-components/p-68b5ec37.js +11 -0
- package/dist/solutions-components/p-68cf5134.entry.js +12 -0
- package/dist/solutions-components/p-694cfe4c.js +6 -0
- package/dist/solutions-components/p-6bcde3c4.js +6 -0
- package/dist/solutions-components/p-6c73f067.js +16 -0
- package/dist/solutions-components/p-6d56f75e.js +11 -0
- package/dist/solutions-components/p-6db88e16.entry.js +11 -0
- package/dist/solutions-components/p-6f93ec3e.entry.js +6 -0
- package/dist/solutions-components/p-7053b20e.entry.js +6 -0
- package/dist/solutions-components/p-741151d4.js +6 -0
- package/dist/solutions-components/p-749fe711.js +6 -0
- package/dist/solutions-components/p-7518e92a.js +6 -0
- package/dist/solutions-components/p-7802efa1.entry.js +11 -0
- package/dist/solutions-components/p-782c71a7.js +6 -0
- package/dist/solutions-components/p-78aa10b0.js +6 -0
- package/dist/solutions-components/p-7a8edc01.entry.js +11 -0
- package/dist/solutions-components/p-7a9e773b.js +6 -0
- package/dist/solutions-components/p-7aa5b402.entry.js +11 -0
- package/dist/solutions-components/p-7aafba66.js +11 -0
- package/dist/solutions-components/p-7d619b04.entry.js +11 -0
- package/dist/solutions-components/p-7dc37540.js +11 -0
- package/dist/solutions-components/p-7e3a6a0b.entry.js +11 -0
- package/dist/solutions-components/p-7fd55161.entry.js +6 -0
- package/dist/solutions-components/p-80168ff4.entry.js +11 -0
- package/dist/solutions-components/p-823684a3.js +6 -0
- package/dist/solutions-components/p-825ef4a7.js +6 -0
- package/dist/solutions-components/p-82d93164.js +11 -0
- package/dist/solutions-components/p-82f661c7.entry.js +11 -0
- package/dist/solutions-components/p-8378852e.js +6 -0
- package/dist/solutions-components/p-85bb5908.js +11 -0
- package/dist/solutions-components/p-866a2fad.js +11 -0
- package/dist/solutions-components/p-8744fe2a.entry.js +6 -0
- package/dist/solutions-components/p-8850bd21.js +21 -0
- package/dist/solutions-components/p-896a5fce.entry.js +11 -0
- package/dist/solutions-components/p-8df5939f.js +6 -0
- package/dist/solutions-components/p-8ec56f08.entry.js +11 -0
- package/dist/solutions-components/p-8ff2cba2.entry.js +11 -0
- package/dist/solutions-components/p-8ff4b2aa.js +488 -0
- package/dist/solutions-components/p-926e65eb.js +6 -0
- package/dist/solutions-components/p-94ad391c.js +40 -0
- package/dist/solutions-components/p-958c68c2.js +61 -0
- package/dist/solutions-components/p-95fcb607.js +6 -0
- package/dist/solutions-components/p-97df5300.js +27 -0
- package/dist/solutions-components/p-98079396.js +21 -0
- package/dist/solutions-components/p-98b1c057.entry.js +6 -0
- package/dist/solutions-components/p-9d4f62ca.js +6 -0
- package/dist/solutions-components/p-9d733373.entry.js +17 -0
- package/dist/solutions-components/p-9d9df87f.entry.js +6 -0
- package/dist/solutions-components/p-9e5d59aa.entry.js +11 -0
- package/dist/solutions-components/p-9f89901b.entry.js +6 -0
- package/dist/solutions-components/p-9fa8da35.entry.js +11 -0
- package/dist/solutions-components/p-a28502ac.entry.js +6 -0
- package/dist/solutions-components/p-a5df8093.entry.js +11 -0
- package/dist/solutions-components/p-a757bf75.js +16 -0
- package/dist/solutions-components/p-a7eded8f.entry.js +11 -0
- package/dist/solutions-components/p-a91fc014.entry.js +6 -0
- package/dist/solutions-components/p-aa6656f0.js +6 -0
- package/dist/solutions-components/p-abe60b81.entry.js +6 -0
- package/dist/solutions-components/p-ad66b010.entry.js +11 -0
- package/dist/solutions-components/p-adb57e25.entry.js +6 -0
- package/dist/solutions-components/p-add122e7.js +6 -0
- package/dist/solutions-components/p-ae357552.entry.js +11 -0
- package/dist/solutions-components/p-af4f2d4a.js +11 -0
- package/dist/solutions-components/p-b0d0022c.entry.js +11 -0
- package/dist/solutions-components/p-b14d2423.entry.js +11 -0
- package/dist/solutions-components/p-b1546c15.js +17 -0
- package/dist/solutions-components/p-b1c45ef8.entry.js +6 -0
- package/dist/solutions-components/p-b1f3c713.js +6 -0
- package/dist/solutions-components/p-b22046db.js +11 -0
- package/dist/solutions-components/p-b290affa.js +17 -0
- package/dist/solutions-components/p-b3b70f6b.entry.js +12 -0
- package/dist/solutions-components/p-b4a94ffe.entry.js +6 -0
- package/dist/solutions-components/p-b62871c3.entry.js +11 -0
- package/dist/solutions-components/p-b6a36bfe.js +6 -0
- package/dist/solutions-components/p-b915029b.js +6 -0
- package/dist/solutions-components/p-b98e9479.js +11 -0
- package/dist/solutions-components/p-b9bc3e7b.entry.js +17 -0
- package/dist/solutions-components/p-ba539e5a.entry.js +11 -0
- package/dist/solutions-components/p-bad614c0.entry.js +11 -0
- package/dist/solutions-components/p-bb158785.entry.js +11 -0
- package/dist/solutions-components/p-bc281e3b.js +6 -0
- package/dist/solutions-components/p-bc2b747e.js +6 -0
- package/dist/solutions-components/p-be78bc15.entry.js +6 -0
- package/dist/solutions-components/p-bf154e41.js +6 -0
- package/dist/solutions-components/p-c0f30138.entry.js +11 -0
- package/dist/solutions-components/p-c109e720.js +6 -0
- package/dist/solutions-components/p-c115215d.entry.js +6 -0
- package/dist/solutions-components/p-c433cc38.js +6 -0
- package/dist/solutions-components/p-c43fdf49.entry.js +16 -0
- package/dist/solutions-components/p-c5e0e5ef.js +6 -0
- package/dist/solutions-components/p-c766823c.entry.js +11 -0
- package/dist/solutions-components/p-c8a2c326.entry.js +29 -0
- package/dist/solutions-components/p-c8b26c56.js +6 -0
- package/dist/solutions-components/p-c900e9e8.entry.js +17 -0
- package/dist/solutions-components/p-c9dae6fb.entry.js +6 -0
- package/dist/solutions-components/p-cbf0769a.entry.js +11 -0
- package/dist/solutions-components/p-cc7d784e.entry.js +6 -0
- package/dist/solutions-components/p-ce8a69ef.entry.js +11 -0
- package/dist/solutions-components/p-cea51591.js +16 -0
- package/dist/solutions-components/p-d0b1d33f.js +6 -0
- package/dist/solutions-components/p-d0b36f2e.entry.js +6 -0
- package/dist/solutions-components/p-d2a6e970.js +6 -0
- package/dist/solutions-components/p-d2dc7d65.entry.js +11 -0
- package/dist/solutions-components/p-d60dc1f1.entry.js +11 -0
- package/dist/solutions-components/p-d654b676.entry.js +11 -0
- package/dist/solutions-components/p-d65f8b73.js +6 -0
- package/dist/solutions-components/p-d82ee2f9.entry.js +6 -0
- package/dist/solutions-components/p-d96fe526.entry.js +22 -0
- package/dist/solutions-components/p-da0cb140.entry.js +11 -0
- package/dist/solutions-components/p-da36faca.entry.js +6 -0
- package/dist/solutions-components/p-daf6a012.entry.js +6 -0
- package/dist/solutions-components/p-dba4704c.js +11 -0
- package/dist/solutions-components/p-dd16d94e.js +6 -0
- package/dist/solutions-components/p-dd689226.js +11 -0
- package/dist/solutions-components/p-dd6a34c6.entry.js +17 -0
- package/dist/solutions-components/p-df4bfe45.js +6 -0
- package/dist/solutions-components/p-dfe18931.js +6 -0
- package/dist/solutions-components/p-e2570a80.js +11 -0
- package/dist/solutions-components/p-ea9e0a79.js +6 -0
- package/dist/solutions-components/p-eb88fddc.js +6 -0
- package/dist/solutions-components/p-ed4fb4a1.entry.js +6 -0
- package/dist/solutions-components/p-ef0c43dc.js +6 -0
- package/dist/solutions-components/p-f05bbd82.entry.js +11 -0
- package/dist/solutions-components/p-f0ceb675.entry.js +11 -0
- package/dist/solutions-components/p-f1f356f0.js +7 -0
- package/dist/solutions-components/p-f46f7da7.entry.js +12 -0
- package/dist/solutions-components/p-f6e3d19a.entry.js +11 -0
- package/dist/solutions-components/p-f6e81cf8.js +22 -0
- package/dist/solutions-components/p-f7085e9e.entry.js +17 -0
- package/dist/solutions-components/p-f8ea8e73.js +6 -0
- package/dist/solutions-components/p-fb6ca6dd.entry.js +11 -0
- package/dist/solutions-components/p-fdaf1290.entry.js +11 -0
- package/dist/solutions-components/p-fe719f16.entry.js +6 -0
- package/dist/solutions-components/p-feebdac9.entry.js +17 -0
- package/dist/solutions-components/p-ff15447c.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +14 -0
- package/dist/types/components/consent-manager/consent-manager.d.ts +23 -20
- package/dist/types/components/delete-button/delete-button.d.ts +1 -1
- package/dist/types/components/edit-card/edit-card.d.ts +4 -0
- package/dist/types/components/layer-table/layer-table.d.ts +55 -7
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +18 -2
- package/dist/types/components/map-picker/map-picker.d.ts +10 -2
- package/dist/types/components.d.ts +67 -34
- package/dist/types/preact.d.ts +6 -7
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/utils/interfaces.d.ts +12 -0
- package/package.json +13 -13
- package/dist/cjs/ExpandToggle-c5e409ce.js +0 -115
- package/dist/cjs/FloatingArrow-c2b50d47.js +0 -48
- package/dist/cjs/Heading-3e2d46fd.js +0 -25
- package/dist/cjs/Validation-c065b988.js +0 -20
- package/dist/cjs/app-globals-09eb9eb5.js +0 -67
- package/dist/cjs/ar-0afb390b.js +0 -106
- package/dist/cjs/arcgis-login.cjs.entry.js +0 -61
- package/dist/cjs/bg-b1be4ef3.js +0 -84
- package/dist/cjs/browser-0bedacf5.js +0 -35
- package/dist/cjs/bs-a314390f.js +0 -53
- package/dist/cjs/ca-b8e89e47.js +0 -73
- package/dist/cjs/calcite-alert_6.cjs.entry.js +0 -2105
- package/dist/cjs/calcite-input-time-picker-42ed419f.js +0 -1870
- package/dist/cjs/calcite-modal.cjs.entry.js +0 -393
- package/dist/cjs/common-eee0c33f.js +0 -38
- package/dist/cjs/conditionalSlot-003e6975.js +0 -54
- package/dist/cjs/config-2282fdac.js +0 -40
- package/dist/cjs/constants-bed33322.js +0 -860
- package/dist/cjs/cs-f14626e8.js +0 -149
- package/dist/cjs/da-2fce32d4.js +0 -69
- package/dist/cjs/date-e763caec.js +0 -264
- package/dist/cjs/de-2c1fce6f.js +0 -93
- package/dist/cjs/de-at-94de293d.js +0 -92
- package/dist/cjs/de-ch-d42f4faf.js +0 -92
- package/dist/cjs/delete-dialog.cjs.entry.js +0 -131
- package/dist/cjs/downloadUtils-76bc7e30.js +0 -3240
- package/dist/cjs/el-8092eeb9.js +0 -68
- package/dist/cjs/en-au-9bc4467f.js +0 -68
- package/dist/cjs/en-ca-d9140239.js +0 -67
- package/dist/cjs/en-gb-f5e2af8e.js +0 -71
- package/dist/cjs/es-4b6327d7.js +0 -68
- package/dist/cjs/es-mx-f729412a.js +0 -67
- package/dist/cjs/et-ec115eb3.js +0 -94
- package/dist/cjs/fi-95701850.js +0 -117
- package/dist/cjs/floating-ui-a8693586.js +0 -2413
- package/dist/cjs/focusTrapComponent-48fdd3f6.js +0 -1013
- package/dist/cjs/form-a36bd0e5.js +0 -381
- package/dist/cjs/fr-ch-a231f229.js +0 -68
- package/dist/cjs/fr-e22a2684.js +0 -70
- package/dist/cjs/he-d0070eb9.js +0 -107
- package/dist/cjs/helpers-0493759d.js +0 -940
- package/dist/cjs/hi-04615e27.js +0 -67
- package/dist/cjs/hr-27fefb6d.js +0 -82
- package/dist/cjs/hu-63da9819.js +0 -90
- package/dist/cjs/id-d4fe65cd.js +0 -68
- package/dist/cjs/index-2b13a4d5.js +0 -201
- package/dist/cjs/index-4b68e4b4.js +0 -1770
- package/dist/cjs/index-f052f656.js +0 -2156
- package/dist/cjs/index.es-8336efed.js +0 -11307
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +0 -590
- package/dist/cjs/interactive-7ccdd728.js +0 -85
- package/dist/cjs/it-418a53bf.js +0 -68
- package/dist/cjs/it-ch-7f4632ab.js +0 -68
- package/dist/cjs/ja-6c5d5c7d.js +0 -74
- package/dist/cjs/ko-e4154b91.js +0 -74
- package/dist/cjs/loadable-f3fe73a2.js +0 -98
- package/dist/cjs/locale-339b55f0.js +0 -160
- package/dist/cjs/locale-4b820602.js +0 -120
- package/dist/cjs/locale-7eb2f603.js +0 -605
- package/dist/cjs/logger-912d7f26.js +0 -61
- package/dist/cjs/lt-d6dae6fd.js +0 -99
- package/dist/cjs/lv-bcf9724a.js +0 -68
- package/dist/cjs/mk-171505d2.js +0 -68
- package/dist/cjs/nb-0dcee19c.js +0 -69
- package/dist/cjs/nl-dace5864.js +0 -69
- package/dist/cjs/observers-affd684f.js +0 -58
- package/dist/cjs/openCloseComponent-044883e4.js +0 -65
- package/dist/cjs/pl-7755a609.js +0 -116
- package/dist/cjs/popupUtils-bc762034.js +0 -121
- package/dist/cjs/pt-3121cc39.js +0 -69
- package/dist/cjs/pt-br-67b16e3a.js +0 -67
- package/dist/cjs/publicNotificationStore-570204c1.js +0 -47
- package/dist/cjs/restHelpersGet-5c2245a3.js +0 -991
- package/dist/cjs/ro-7f726306.js +0 -68
- package/dist/cjs/ru-fc11963d.js +0 -128
- package/dist/cjs/share-item.cjs.entry.js +0 -61
- package/dist/cjs/shared-list-render-3d6ec3ca.js +0 -361
- package/dist/cjs/sk-e85b9c15.js +0 -150
- package/dist/cjs/sl-9eb375c2.js +0 -170
- package/dist/cjs/solution-resource-40e70253.js +0 -145
- package/dist/cjs/solution-store-4de89072.js +0 -1354
- package/dist/cjs/sr-1d2513be.js +0 -103
- package/dist/cjs/sv-f7693c9f.js +0 -73
- package/dist/cjs/t9n-64df74f3.js +0 -108
- package/dist/cjs/templates-0b7f886f.js +0 -408
- package/dist/cjs/th-0d2328bb.js +0 -67
- package/dist/cjs/time-513586eb.js +0 -301
- package/dist/cjs/tr-2c074411.js +0 -68
- package/dist/cjs/uk-5e16db67.js +0 -106
- package/dist/cjs/utils-3f10ea6b.js +0 -153
- package/dist/cjs/utils-d0049d76.js +0 -79
- package/dist/cjs/vi-2a4d8334.js +0 -72
- package/dist/cjs/zh-cn-126bcbc0.js +0 -96
- package/dist/cjs/zh-hk-aeeba861.js +0 -94
- package/dist/cjs/zh-tw-0cfb6e20.js +0 -94
- package/dist/collection/components/arcgis-login/arcgis-login.css +0 -19
- package/dist/collection/components/arcgis-login/arcgis-login.js +0 -80
- package/dist/collection/components/share-item/share-item.css +0 -19
- package/dist/collection/components/share-item/share-item.js +0 -80
- package/dist/components/arcgis-login.d.ts +0 -11
- package/dist/components/arcgis-login.js +0 -76
- package/dist/components/share-item.d.ts +0 -11
- package/dist/components/share-item.js +0 -76
- package/dist/esm/ExpandToggle-d2cde0b5.js +0 -108
- package/dist/esm/FloatingArrow-1ba04e83.js +0 -46
- package/dist/esm/Heading-82d9e017.js +0 -22
- package/dist/esm/Validation-594a63f5.js +0 -18
- package/dist/esm/app-globals-177bd1cd.js +0 -65
- package/dist/esm/ar-a85b5d05.js +0 -104
- package/dist/esm/arcgis-login.entry.js +0 -57
- package/dist/esm/bg-def28c6d.js +0 -82
- package/dist/esm/browser-e3f463e1.js +0 -32
- package/dist/esm/bs-86bb2bcb.js +0 -51
- package/dist/esm/ca-823e6ba8.js +0 -71
- package/dist/esm/calcite-alert_6.entry.js +0 -2096
- package/dist/esm/calcite-input-time-picker-c45e1964.js +0 -1867
- package/dist/esm/calcite-modal.entry.js +0 -389
- package/dist/esm/common-c3bbba83.js +0 -36
- package/dist/esm/conditionalSlot-720a3c33.js +0 -51
- package/dist/esm/config-3af0e436.js +0 -36
- package/dist/esm/constants-637a40f5.js +0 -856
- package/dist/esm/cs-87414fd8.js +0 -147
- package/dist/esm/da-f7060594.js +0 -67
- package/dist/esm/date-8f6c3f50.js +0 -248
- package/dist/esm/de-18aa2195.js +0 -91
- package/dist/esm/de-at-00f0ce55.js +0 -90
- package/dist/esm/de-ch-2bf886c0.js +0 -90
- package/dist/esm/delete-dialog.entry.js +0 -127
- package/dist/esm/dom-6f6759df.js +0 -1165
- package/dist/esm/downloadUtils-bc7a4ba1.js +0 -3233
- package/dist/esm/el-0c5df4ce.js +0 -66
- package/dist/esm/en-au-947d067e.js +0 -66
- package/dist/esm/en-ca-d80eb647.js +0 -65
- package/dist/esm/en-gb-78272f13.js +0 -69
- package/dist/esm/es-6b8b399b.js +0 -66
- package/dist/esm/es-mx-4f12df51.js +0 -65
- package/dist/esm/et-11aeba76.js +0 -92
- package/dist/esm/fi-c44d11d6.js +0 -115
- package/dist/esm/floating-ui-d21020a0.js +0 -2404
- package/dist/esm/focusTrapComponent-1ddc67c5.js +0 -1008
- package/dist/esm/form-e9b1ad9a.js +0 -372
- package/dist/esm/fr-cac28d20.js +0 -68
- package/dist/esm/fr-ch-a324bd02.js +0 -66
- package/dist/esm/he-eab95e66.js +0 -105
- package/dist/esm/helpers-91ca0f44.js +0 -913
- package/dist/esm/hi-cefe2a7e.js +0 -65
- package/dist/esm/hr-f863024d.js +0 -80
- package/dist/esm/hu-2921d1d5.js +0 -88
- package/dist/esm/id-4e25c1e7.js +0 -66
- package/dist/esm/index-39bc2e6d.js +0 -199
- package/dist/esm/index-904bc599.js +0 -1736
- package/dist/esm/index-e14fade9.js +0 -2154
- package/dist/esm/index.es-0d189a34.js +0 -11220
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +0 -584
- package/dist/esm/interactive-949b348f.js +0 -82
- package/dist/esm/it-1f2ce2fc.js +0 -66
- package/dist/esm/it-ch-fa4f6a28.js +0 -66
- package/dist/esm/ja-dd6ac9b5.js +0 -72
- package/dist/esm/ko-3c269b4f.js +0 -72
- package/dist/esm/label-1ef4763d.js +0 -179
- package/dist/esm/loadable-421e634e.js +0 -93
- package/dist/esm/locale-0d06fca0.js +0 -155
- package/dist/esm/locale-77038bee.js +0 -115
- package/dist/esm/locale-a75d14ff.js +0 -591
- package/dist/esm/logger-5c7a2fec.js +0 -59
- package/dist/esm/lt-8f5fd3eb.js +0 -97
- package/dist/esm/lv-d1afc7ed.js +0 -66
- package/dist/esm/mk-794650fc.js +0 -66
- package/dist/esm/nb-800989aa.js +0 -67
- package/dist/esm/nl-634b9b85.js +0 -67
- package/dist/esm/observers-2d4fa9e3.js +0 -56
- package/dist/esm/openCloseComponent-4621d4ae.js +0 -63
- package/dist/esm/pl-45fb968c.js +0 -114
- package/dist/esm/popupUtils-03dc398a.js +0 -119
- package/dist/esm/pt-bd7887a6.js +0 -67
- package/dist/esm/pt-br-d9181dce.js +0 -65
- package/dist/esm/publicNotificationStore-8f6b0f93.js +0 -45
- package/dist/esm/restHelpersGet-48113381.js +0 -976
- package/dist/esm/ro-31fe0dcc.js +0 -66
- package/dist/esm/ru-e73bc075.js +0 -126
- package/dist/esm/share-item.entry.js +0 -57
- package/dist/esm/shared-list-render-83bb7274.js +0 -339
- package/dist/esm/sk-e7e24146.js +0 -148
- package/dist/esm/sl-ad96d047.js +0 -168
- package/dist/esm/solution-resource-f5809979.js +0 -142
- package/dist/esm/solution-store-ff13861b.js +0 -1352
- package/dist/esm/sr-785166a3.js +0 -101
- package/dist/esm/sv-9f422817.js +0 -71
- package/dist/esm/t9n-23649a4a.js +0 -103
- package/dist/esm/templates-0b442208.js +0 -402
- package/dist/esm/th-7e8b3dad.js +0 -65
- package/dist/esm/time-5ca488ba.js +0 -286
- package/dist/esm/tr-1b1dd6db.js +0 -66
- package/dist/esm/uk-13d0afbf.js +0 -104
- package/dist/esm/utils-0a78d3c9.js +0 -142
- package/dist/esm/utils-a564ca55.js +0 -66
- package/dist/esm/vi-82ec876c.js +0 -70
- package/dist/esm/zh-cn-c4181895.js +0 -94
- package/dist/esm/zh-hk-752cc263.js +0 -92
- package/dist/esm/zh-tw-e653ba6c.js +0 -92
- package/dist/solutions-components/p-053effee.entry.js +0 -6
- package/dist/solutions-components/p-05ae2b11.entry.js +0 -6
- package/dist/solutions-components/p-087c3740.entry.js +0 -6
- package/dist/solutions-components/p-08c18450.js +0 -11
- package/dist/solutions-components/p-09543b4e.js +0 -6
- package/dist/solutions-components/p-09d34b2b.entry.js +0 -11
- package/dist/solutions-components/p-0af967af.js +0 -6
- package/dist/solutions-components/p-0f8241d2.entry.js +0 -6
- package/dist/solutions-components/p-10a158fd.entry.js +0 -11
- package/dist/solutions-components/p-115af8e4.entry.js +0 -11
- package/dist/solutions-components/p-11c2426d.entry.js +0 -20
- package/dist/solutions-components/p-1336a071.entry.js +0 -6
- package/dist/solutions-components/p-1588fad8.entry.js +0 -6
- package/dist/solutions-components/p-177b4cbc.js +0 -16
- package/dist/solutions-components/p-184b270d.entry.js +0 -11
- package/dist/solutions-components/p-191f30e1.entry.js +0 -11
- package/dist/solutions-components/p-19e89591.entry.js +0 -12
- package/dist/solutions-components/p-1afc5947.entry.js +0 -11
- package/dist/solutions-components/p-1b1ff60a.entry.js +0 -6
- package/dist/solutions-components/p-1e8af7ed.js +0 -6
- package/dist/solutions-components/p-1f65aed7.js +0 -6
- package/dist/solutions-components/p-1fafdc23.entry.js +0 -11
- package/dist/solutions-components/p-20ed3f7f.entry.js +0 -11
- package/dist/solutions-components/p-2105e658.entry.js +0 -6
- package/dist/solutions-components/p-25f30972.entry.js +0 -11
- package/dist/solutions-components/p-26ba0cc7.js +0 -17
- package/dist/solutions-components/p-2714a658.entry.js +0 -6
- package/dist/solutions-components/p-2714ede8.entry.js +0 -16
- package/dist/solutions-components/p-274aa753.entry.js +0 -6
- package/dist/solutions-components/p-294cd25c.js +0 -6
- package/dist/solutions-components/p-2b9f9f7d.js +0 -16
- package/dist/solutions-components/p-2d9072d8.entry.js +0 -11
- package/dist/solutions-components/p-2e0aea4e.entry.js +0 -11
- package/dist/solutions-components/p-2e42f34c.js +0 -6
- package/dist/solutions-components/p-2f1ef41d.entry.js +0 -6
- package/dist/solutions-components/p-2f784608.entry.js +0 -6
- package/dist/solutions-components/p-351c7cbf.entry.js +0 -6
- package/dist/solutions-components/p-368902f1.entry.js +0 -6
- package/dist/solutions-components/p-39e21b70.js +0 -6
- package/dist/solutions-components/p-3aee989b.js +0 -11
- package/dist/solutions-components/p-3af39767.entry.js +0 -6
- package/dist/solutions-components/p-3ba388b6.entry.js +0 -17
- package/dist/solutions-components/p-3d999f0f.entry.js +0 -6
- package/dist/solutions-components/p-3e44cfab.entry.js +0 -6
- package/dist/solutions-components/p-3e87c19c.js +0 -6
- package/dist/solutions-components/p-3f9ec755.js +0 -6
- package/dist/solutions-components/p-3fe6c230.entry.js +0 -6
- package/dist/solutions-components/p-41503b16.entry.js +0 -6
- package/dist/solutions-components/p-4416d650.entry.js +0 -17
- package/dist/solutions-components/p-443be7fe.js +0 -6
- package/dist/solutions-components/p-44dc3dec.entry.js +0 -6
- package/dist/solutions-components/p-4695cfab.js +0 -6
- package/dist/solutions-components/p-499489c5.entry.js +0 -6
- package/dist/solutions-components/p-49df6eb3.entry.js +0 -11
- package/dist/solutions-components/p-4a665563.js +0 -6
- package/dist/solutions-components/p-4b15f4a4.entry.js +0 -11
- package/dist/solutions-components/p-4b47caf1.entry.js +0 -11
- package/dist/solutions-components/p-4d6e359e.entry.js +0 -11
- package/dist/solutions-components/p-4e3a18b1.js +0 -6
- package/dist/solutions-components/p-4e6eb06e.js +0 -7
- package/dist/solutions-components/p-4ff35ed4.js +0 -6
- package/dist/solutions-components/p-5104cc98.js +0 -6
- package/dist/solutions-components/p-51c6e6fe.js +0 -21
- package/dist/solutions-components/p-545a48dc.entry.js +0 -11
- package/dist/solutions-components/p-55bbfdbc.entry.js +0 -6
- package/dist/solutions-components/p-5804e6e1.entry.js +0 -22
- package/dist/solutions-components/p-58cff07f.entry.js +0 -11
- package/dist/solutions-components/p-592ab45c.js +0 -6
- package/dist/solutions-components/p-592f2000.entry.js +0 -6
- package/dist/solutions-components/p-5b5b78c0.js +0 -6
- package/dist/solutions-components/p-5e71e72a.js +0 -21
- package/dist/solutions-components/p-614a66c4.entry.js +0 -11
- package/dist/solutions-components/p-6166d8b4.js +0 -16
- package/dist/solutions-components/p-61cc2efe.js +0 -6
- package/dist/solutions-components/p-62c10928.entry.js +0 -6
- package/dist/solutions-components/p-63d334b2.entry.js +0 -6
- package/dist/solutions-components/p-677db47a.js +0 -6
- package/dist/solutions-components/p-68375137.js +0 -6
- package/dist/solutions-components/p-6a3f2249.entry.js +0 -6
- package/dist/solutions-components/p-6acd19c5.entry.js +0 -12
- package/dist/solutions-components/p-6b5b52c1.entry.js +0 -21
- package/dist/solutions-components/p-6cad2a22.js +0 -6
- package/dist/solutions-components/p-6f606cdb.js +0 -61
- package/dist/solutions-components/p-7059fc40.js +0 -6
- package/dist/solutions-components/p-70eba636.entry.js +0 -6
- package/dist/solutions-components/p-71f31d39.js +0 -6
- package/dist/solutions-components/p-74720d2b.js +0 -6
- package/dist/solutions-components/p-7530a02f.js +0 -30
- package/dist/solutions-components/p-764ff506.entry.js +0 -11
- package/dist/solutions-components/p-76a1236d.entry.js +0 -6
- package/dist/solutions-components/p-770a5a64.js +0 -11
- package/dist/solutions-components/p-77865541.entry.js +0 -11
- package/dist/solutions-components/p-78b6d3fe.entry.js +0 -6
- package/dist/solutions-components/p-78df7603.entry.js +0 -11
- package/dist/solutions-components/p-78e09c03.js +0 -6
- package/dist/solutions-components/p-7a7951bd.entry.js +0 -11
- package/dist/solutions-components/p-7bcfe068.entry.js +0 -6
- package/dist/solutions-components/p-7cc8e95a.js +0 -11
- package/dist/solutions-components/p-7d5d1b0a.js +0 -11
- package/dist/solutions-components/p-7eee9aa8.js +0 -11
- package/dist/solutions-components/p-7f68e6a4.js +0 -11
- package/dist/solutions-components/p-7fb51464.entry.js +0 -17
- package/dist/solutions-components/p-80ff858b.js +0 -6
- package/dist/solutions-components/p-8304ce4b.js +0 -17
- package/dist/solutions-components/p-85c068fd.js +0 -6
- package/dist/solutions-components/p-85c3237c.js +0 -11
- package/dist/solutions-components/p-860099d5.js +0 -6
- package/dist/solutions-components/p-86a5caf8.js +0 -6
- package/dist/solutions-components/p-86db882f.js +0 -6
- package/dist/solutions-components/p-872986ce.entry.js +0 -11
- package/dist/solutions-components/p-8a2ccb1e.js +0 -6
- package/dist/solutions-components/p-8cb9ecf6.js +0 -6
- package/dist/solutions-components/p-8d811472.js +0 -6
- package/dist/solutions-components/p-8dc9d5b6.entry.js +0 -6
- package/dist/solutions-components/p-8f8c7045.entry.js +0 -6
- package/dist/solutions-components/p-8ff43000.entry.js +0 -11
- package/dist/solutions-components/p-91a83986.entry.js +0 -47
- package/dist/solutions-components/p-928f0b5e.entry.js +0 -6
- package/dist/solutions-components/p-93d03bf0.js +0 -11
- package/dist/solutions-components/p-94e51621.entry.js +0 -6
- package/dist/solutions-components/p-977c099e.js +0 -11
- package/dist/solutions-components/p-9bb44f57.js +0 -65
- package/dist/solutions-components/p-9c25ee2c.entry.js +0 -6
- package/dist/solutions-components/p-9c5d5171.js +0 -11
- package/dist/solutions-components/p-9ce8e34f.js +0 -11
- package/dist/solutions-components/p-9d86dd68.js +0 -6
- package/dist/solutions-components/p-9d9e0e74.entry.js +0 -6
- package/dist/solutions-components/p-9e8d7c1d.entry.js +0 -17
- package/dist/solutions-components/p-9e996faa.js +0 -6
- package/dist/solutions-components/p-a1473254.entry.js +0 -11
- package/dist/solutions-components/p-a1ed15b8.entry.js +0 -11
- package/dist/solutions-components/p-a329f05c.entry.js +0 -6
- package/dist/solutions-components/p-a52fa87b.entry.js +0 -11
- package/dist/solutions-components/p-a5f6a4b9.entry.js +0 -23
- package/dist/solutions-components/p-a6790373.entry.js +0 -11
- package/dist/solutions-components/p-a693aa25.entry.js +0 -17
- package/dist/solutions-components/p-a7d249d9.js +0 -6
- package/dist/solutions-components/p-a7d4b1a4.js +0 -6
- package/dist/solutions-components/p-ac9c4111.entry.js +0 -12
- package/dist/solutions-components/p-acc4d847.entry.js +0 -11
- package/dist/solutions-components/p-adabe68e.entry.js +0 -6
- package/dist/solutions-components/p-ae5ea416.entry.js +0 -6
- package/dist/solutions-components/p-b138a65e.js +0 -11
- package/dist/solutions-components/p-b49e1a78.js +0 -6
- package/dist/solutions-components/p-b5a5da41.entry.js +0 -17
- package/dist/solutions-components/p-b6d50640.entry.js +0 -6
- package/dist/solutions-components/p-b8d1b57a.entry.js +0 -6
- package/dist/solutions-components/p-b90978d2.js +0 -6
- package/dist/solutions-components/p-b95968fa.entry.js +0 -6
- package/dist/solutions-components/p-bab47a85.entry.js +0 -29
- package/dist/solutions-components/p-bd35725f.js +0 -6
- package/dist/solutions-components/p-be6cd650.entry.js +0 -11
- package/dist/solutions-components/p-c0ceb17a.js +0 -6
- package/dist/solutions-components/p-c2ceb29c.js +0 -6
- package/dist/solutions-components/p-c350eacb.js +0 -143
- package/dist/solutions-components/p-c399f2b8.entry.js +0 -6
- package/dist/solutions-components/p-c604728b.js +0 -6
- package/dist/solutions-components/p-c63451e1.entry.js +0 -11
- package/dist/solutions-components/p-c7f86f73.entry.js +0 -6
- package/dist/solutions-components/p-c8e22575.entry.js +0 -22
- package/dist/solutions-components/p-c9422007.js +0 -6
- package/dist/solutions-components/p-c9715704.entry.js +0 -11
- package/dist/solutions-components/p-cb8d90d1.js +0 -11
- package/dist/solutions-components/p-cc6f6e41.entry.js +0 -17
- package/dist/solutions-components/p-cd482a33.js +0 -21
- package/dist/solutions-components/p-cdc63710.entry.js +0 -11
- package/dist/solutions-components/p-ce7b0b1a.entry.js +0 -11
- package/dist/solutions-components/p-cf2947f6.entry.js +0 -11
- package/dist/solutions-components/p-d02fb95c.entry.js +0 -17
- package/dist/solutions-components/p-d031cf50.entry.js +0 -11
- package/dist/solutions-components/p-d0d020a5.js +0 -37
- package/dist/solutions-components/p-d0ebd10d.js +0 -6
- package/dist/solutions-components/p-d154b5a1.entry.js +0 -11
- package/dist/solutions-components/p-d1b2484b.entry.js +0 -17
- package/dist/solutions-components/p-d2c2a105.entry.js +0 -11
- package/dist/solutions-components/p-d2f8d8a8.entry.js +0 -6
- package/dist/solutions-components/p-d37a68f7.entry.js +0 -6
- package/dist/solutions-components/p-d390df76.entry.js +0 -11
- package/dist/solutions-components/p-d3e1cc81.js +0 -6
- package/dist/solutions-components/p-d851b11e.js +0 -6
- package/dist/solutions-components/p-d9d25da8.entry.js +0 -11
- package/dist/solutions-components/p-d9e9fe80.js +0 -16
- package/dist/solutions-components/p-d9f3778e.js +0 -6
- package/dist/solutions-components/p-daae2ae7.js +0 -6
- package/dist/solutions-components/p-db7d5db8.entry.js +0 -6
- package/dist/solutions-components/p-dc9d4be3.js +0 -6
- package/dist/solutions-components/p-ddb37cba.entry.js +0 -11
- package/dist/solutions-components/p-df062602.entry.js +0 -11
- package/dist/solutions-components/p-e29e57db.entry.js +0 -6
- package/dist/solutions-components/p-e2fd2e29.js +0 -6
- package/dist/solutions-components/p-e3111b70.js +0 -6
- package/dist/solutions-components/p-e37e117f.js +0 -11
- package/dist/solutions-components/p-e4be63b6.entry.js +0 -11
- package/dist/solutions-components/p-e4e7add2.js +0 -11
- package/dist/solutions-components/p-e625aa69.entry.js +0 -6
- package/dist/solutions-components/p-e93a531c.entry.js +0 -11
- package/dist/solutions-components/p-e9a0d2f3.entry.js +0 -6
- package/dist/solutions-components/p-e9d3365f.js +0 -22
- package/dist/solutions-components/p-e9fcc194.entry.js +0 -6
- package/dist/solutions-components/p-ee487e75.entry.js +0 -11
- package/dist/solutions-components/p-ef773a13.js +0 -11
- package/dist/solutions-components/p-f09744aa.entry.js +0 -6
- package/dist/solutions-components/p-f3119757.entry.js +0 -11
- package/dist/solutions-components/p-f4aadb3b.js +0 -36
- package/dist/solutions-components/p-f5789e08.entry.js +0 -29
- package/dist/solutions-components/p-f57978f3.entry.js +0 -6
- package/dist/solutions-components/p-f6cc1cf8.entry.js +0 -17
- package/dist/solutions-components/p-f845da58.js +0 -6
- package/dist/solutions-components/p-fbf63d14.entry.js +0 -6
- package/dist/solutions-components/p-fc7c88c8.js +0 -6
- package/dist/solutions-components/p-fd019d15.js +0 -11
- package/dist/solutions-components/p-fd40d066.js +0 -6
- package/dist/solutions-components/p-febf9f75.entry.js +0 -11
- package/dist/solutions-components/p-ff9e28d1.js +0 -488
- package/dist/types/components/arcgis-login/arcgis-login.d.ts +0 -19
- package/dist/types/components/share-item/share-item.d.ts +0 -19
@@ -0,0 +1,1103 @@
|
|
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-38bde943.js';
|
7
|
+
import { d as EUpdateType, C as CSpatialRefCustomizingPrefix } from './interfaces-659e3836.js';
|
8
|
+
import { E as EFileType, J as JSZip, S as SolutionTemplateFormatVersion } from './solution-resource-30a29505.js';
|
9
|
+
import { r as restUpdateItem, c as blobToFile, d as addItemResource, e as checkUrlPathTermination, f as removeItemResource, u as updateItemResource, h as getThumbnailFile, i as getItemDataAsJson, b as getPropWithDefault, s as setCreateProp, a as getProp, j as setProp } from './restHelpersGet-a7fda344.js';
|
10
|
+
|
11
|
+
/** @license
|
12
|
+
* Copyright 2018 Esri
|
13
|
+
*
|
14
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
15
|
+
* you may not use this file except in compliance with the License.
|
16
|
+
* You may obtain a copy of the License at
|
17
|
+
*
|
18
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
19
|
+
*
|
20
|
+
* Unless required by applicable law or agreed to in writing, software
|
21
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
22
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
23
|
+
* See the License for the specific language governing permissions and
|
24
|
+
* limitations under the License.
|
25
|
+
*/
|
26
|
+
/**
|
27
|
+
* Updates an item.
|
28
|
+
*
|
29
|
+
* @param itemInfo The base info of an item; note that this content will be serialized, which doesn't work
|
30
|
+
* for binary content
|
31
|
+
* @param authentication Credentials for request
|
32
|
+
* @param folderId Item's folder
|
33
|
+
* @param additionalParams Updates that are put under the `params` property, which is not serialized
|
34
|
+
* @return
|
35
|
+
*/
|
36
|
+
function updateItem(itemInfo, authentication, folderId, additionalParams) {
|
37
|
+
return new Promise((resolve, reject) => {
|
38
|
+
const updateOptions = {
|
39
|
+
item: itemInfo,
|
40
|
+
folderId: folderId,
|
41
|
+
authentication: authentication,
|
42
|
+
params: {
|
43
|
+
...(additionalParams ?? {}),
|
44
|
+
},
|
45
|
+
};
|
46
|
+
restUpdateItem(updateOptions).then((response) => (response.success ? resolve(response) : reject(response)), (err) => reject(err));
|
47
|
+
});
|
48
|
+
}
|
49
|
+
|
50
|
+
/** @license
|
51
|
+
* Copyright 2021 Esri
|
52
|
+
*
|
53
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
54
|
+
* you may not use this file except in compliance with the License.
|
55
|
+
* You may obtain a copy of the License at
|
56
|
+
*
|
57
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
58
|
+
*
|
59
|
+
* Unless required by applicable law or agreed to in writing, software
|
60
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
61
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
62
|
+
* See the License for the specific language governing permissions and
|
63
|
+
* limitations under the License.
|
64
|
+
*/
|
65
|
+
// ------------------------------------------------------------------------------------------------------------------ //
|
66
|
+
/**
|
67
|
+
* Generates IAssociatedFileCopyResults object.
|
68
|
+
*
|
69
|
+
* @param fileInfo Info about item that was to be copied
|
70
|
+
* @param fetchedFromSource Status of fetching item from source
|
71
|
+
* @param copiedToDestination Status of copying item to destination
|
72
|
+
* @returns IAssociatedFileCopyResults object
|
73
|
+
*/
|
74
|
+
function createCopyResults(fileInfo, fetchedFromSource, copiedToDestination) {
|
75
|
+
return {
|
76
|
+
...fileInfo,
|
77
|
+
fetchedFromSource,
|
78
|
+
copiedToDestination,
|
79
|
+
};
|
80
|
+
}
|
81
|
+
|
82
|
+
/** @license
|
83
|
+
* Copyright 2020 Esri
|
84
|
+
*
|
85
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
86
|
+
* you may not use this file except in compliance with the License.
|
87
|
+
* You may obtain a copy of the License at
|
88
|
+
*
|
89
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
90
|
+
*
|
91
|
+
* Unless required by applicable law or agreed to in writing, software
|
92
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
93
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
94
|
+
* See the License for the specific language governing permissions and
|
95
|
+
* limitations under the License.
|
96
|
+
*/
|
97
|
+
/**
|
98
|
+
* Extracts an item's resource folder and filename from the filename used to store a copy in a storage item.
|
99
|
+
*
|
100
|
+
* @param storageResourceFilename Filename used to store the resource, metadata, or thumbnail of an item
|
101
|
+
* @param storageVersion Version of the Solution template
|
102
|
+
* @returns Folder and filename for storing information in an item, as well as the type (resource, metadata,
|
103
|
+
* or thumbnail) of the information; the folder property is only meaningful for the resource type
|
104
|
+
* @see generateResourceStorageFilename
|
105
|
+
* @see generateMetadataStorageFilename
|
106
|
+
* @see generateThumbnailStorageFilename
|
107
|
+
* @see convertItemResourceToStorageResource
|
108
|
+
*/
|
109
|
+
function convertStorageResourceToItemResource(storageResourceFilename, storageVersion = 0) {
|
110
|
+
const nameParts = storageResourceFilename.split("/");
|
111
|
+
let filename = nameParts.pop();
|
112
|
+
let folder = "";
|
113
|
+
const firstPrefixPart = nameParts.shift(); // undefined if there's no folder
|
114
|
+
// Handle special "folders"
|
115
|
+
let type = EFileType.Resource;
|
116
|
+
if (firstPrefixPart) {
|
117
|
+
if (firstPrefixPart.endsWith("_info_thumbnail")) {
|
118
|
+
type = EFileType.Thumbnail;
|
119
|
+
}
|
120
|
+
else if (firstPrefixPart.endsWith("_info_metadata")) {
|
121
|
+
type = EFileType.Metadata;
|
122
|
+
filename = "metadata.xml";
|
123
|
+
}
|
124
|
+
else if (firstPrefixPart.endsWith("_info_data")) {
|
125
|
+
type = EFileType.Data;
|
126
|
+
}
|
127
|
+
else if (firstPrefixPart.endsWith("_info_dataz")) {
|
128
|
+
filename = filename.replace(/\.zip$/, "");
|
129
|
+
type = EFileType.Data;
|
130
|
+
// Otherwise, strip off item id
|
131
|
+
}
|
132
|
+
else if (storageVersion < 1) {
|
133
|
+
// Version 0
|
134
|
+
const folderStart = firstPrefixPart.indexOf("_");
|
135
|
+
if (folderStart > 0) {
|
136
|
+
folder = firstPrefixPart.substr(folderStart + 1);
|
137
|
+
}
|
138
|
+
}
|
139
|
+
else {
|
140
|
+
// Version ≥ 1
|
141
|
+
folder = nameParts.join("/"); // folder is optional, in which case this will be ""
|
142
|
+
}
|
143
|
+
}
|
144
|
+
return { type, folder, filename };
|
145
|
+
}
|
146
|
+
|
147
|
+
/** @license
|
148
|
+
* Copyright 2021 Esri
|
149
|
+
*
|
150
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
151
|
+
* you may not use this file except in compliance with the License.
|
152
|
+
* You may obtain a copy of the License at
|
153
|
+
*
|
154
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
155
|
+
*
|
156
|
+
* Unless required by applicable law or agreed to in writing, software
|
157
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
158
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
159
|
+
* See the License for the specific language governing permissions and
|
160
|
+
* limitations under the License.
|
161
|
+
*/
|
162
|
+
// ------------------------------------------------------------------------------------------------------------------ //
|
163
|
+
/**
|
164
|
+
* Copies a resource into a zipfile.
|
165
|
+
*
|
166
|
+
* @param file Information about the source and destination of the file such as its URL, folder, filename
|
167
|
+
* @param zipInfo Information about a zipfile such as its name and its zip object
|
168
|
+
* @returns The result of the copy
|
169
|
+
*/
|
170
|
+
function copyResourceIntoZip(file, zipInfo) {
|
171
|
+
// Add it to the zip
|
172
|
+
if (file.folder) {
|
173
|
+
zipInfo.zip.folder(file.folder).file(file.filename, file.file, { binary: true });
|
174
|
+
}
|
175
|
+
else {
|
176
|
+
zipInfo.zip.file(file.filename, file.file, { binary: true });
|
177
|
+
}
|
178
|
+
zipInfo.filelist.push(file);
|
179
|
+
return createCopyResults(file, true);
|
180
|
+
}
|
181
|
+
|
182
|
+
/** @license
|
183
|
+
* Copyright 2021 Esri
|
184
|
+
*
|
185
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
186
|
+
* you may not use this file except in compliance with the License.
|
187
|
+
* You may obtain a copy of the License at
|
188
|
+
*
|
189
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
190
|
+
*
|
191
|
+
* Unless required by applicable law or agreed to in writing, software
|
192
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
193
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
194
|
+
* See the License for the specific language governing permissions and
|
195
|
+
* limitations under the License.
|
196
|
+
*/
|
197
|
+
// ------------------------------------------------------------------------------------------------------------------ //
|
198
|
+
/**
|
199
|
+
* Copies a zipfile into an AGO item.
|
200
|
+
*
|
201
|
+
* @param zipInfo Information about a zipfile such as its name and its zip object
|
202
|
+
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
203
|
+
* @param destinationAuthentication Credentials for the request to the storage
|
204
|
+
* @returns A promise which resolves to the result of the copy
|
205
|
+
*/
|
206
|
+
function copyZipIntoItem(zipInfo, destinationItemId, destinationAuthentication) {
|
207
|
+
return new Promise((resolve) => {
|
208
|
+
zipInfo.zip
|
209
|
+
.generateAsync({ type: "blob" })
|
210
|
+
.then((content) => {
|
211
|
+
return blobToFile(content, zipInfo.filename, "application/zip");
|
212
|
+
})
|
213
|
+
.then((zipfile) => {
|
214
|
+
const addResourceOptions = {
|
215
|
+
id: destinationItemId,
|
216
|
+
resource: zipfile,
|
217
|
+
authentication: destinationAuthentication,
|
218
|
+
params: {
|
219
|
+
archive: true,
|
220
|
+
},
|
221
|
+
};
|
222
|
+
return addItemResource(addResourceOptions);
|
223
|
+
})
|
224
|
+
.then(() => resolve(createCopyResults(zipInfo, true, true)), () => resolve(createCopyResults(zipInfo, true, false)));
|
225
|
+
});
|
226
|
+
}
|
227
|
+
|
228
|
+
/** @license
|
229
|
+
* Copyright 2021 Esri
|
230
|
+
*
|
231
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
232
|
+
* you may not use this file except in compliance with the License.
|
233
|
+
* You may obtain a copy of the License at
|
234
|
+
*
|
235
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
236
|
+
*
|
237
|
+
* Unless required by applicable law or agreed to in writing, software
|
238
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
239
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
240
|
+
* See the License for the specific language governing permissions and
|
241
|
+
* limitations under the License.
|
242
|
+
*/
|
243
|
+
// ------------------------------------------------------------------------------------------------------------------ //
|
244
|
+
/**
|
245
|
+
* Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item
|
246
|
+
* with a specified path by collecting files into zip files.
|
247
|
+
*
|
248
|
+
* @param files List of item files' URLs and folder/filenames for storing the files
|
249
|
+
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
250
|
+
* @param destinationAuthentication Credentials for the request to the storage
|
251
|
+
* @param maxFilesPerZip Number of files to include per zip file; AGO limits zips to 50 files
|
252
|
+
* @returns A promise which resolves to a list of the result of the copies
|
253
|
+
*/
|
254
|
+
function copyFilesAsResources(files, destinationItemId, destinationAuthentication, maxFilesPerZip = 40) {
|
255
|
+
return new Promise((resolve) => {
|
256
|
+
const awaitAllItems = [];
|
257
|
+
const zipInfos = [];
|
258
|
+
if (files.length > 0) {
|
259
|
+
// Bundle the resources into chunked zip updates because AGO tends to have problems with
|
260
|
+
// many updates in a row to the same item: it claims success despite randomly failing.
|
261
|
+
// Note that AGO imposes a limit of 50 files per zip and a maximum upload file size under
|
262
|
+
// 50MB, so we break the list of resource file info into chunks below this threshold and
|
263
|
+
// start a zip for each.
|
264
|
+
// https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm
|
265
|
+
const maxZipSize = 49999000; // bytes
|
266
|
+
let zipIndex = 0;
|
267
|
+
let currentZipInfo = _createEmptyZipInfo(zipIndex);
|
268
|
+
zipInfos.push(currentZipInfo);
|
269
|
+
let currentZipSize = 0;
|
270
|
+
files.forEach((file) => {
|
271
|
+
if (currentZipInfo.filelist.length >= maxFilesPerZip || currentZipSize + file.file.size >= maxZipSize) {
|
272
|
+
// Create a new zip for the next chunk
|
273
|
+
zipIndex++;
|
274
|
+
currentZipInfo = _createEmptyZipInfo(zipIndex);
|
275
|
+
zipInfos.push(currentZipInfo);
|
276
|
+
currentZipSize = 0;
|
277
|
+
}
|
278
|
+
awaitAllItems.push(copyResourceIntoZip(file, currentZipInfo));
|
279
|
+
currentZipSize += file.file.size;
|
280
|
+
});
|
281
|
+
}
|
282
|
+
if (awaitAllItems.length > 0) {
|
283
|
+
// Wait until the Resource zip file(s) are prepared
|
284
|
+
void Promise.all(awaitAllItems).then((results) => {
|
285
|
+
// We have three types of results:
|
286
|
+
// | fetchedFromSource | copiedToDestination | interpretation | |
|
287
|
+
// +-------------------+---------------------+------------------------------------------------+
|
288
|
+
// | false | * | could not fetch file from source |
|
289
|
+
// | true | true | file has been fetched and sent to AGO |
|
290
|
+
// | true | undefined | file has been fetched and will be sent via zip |
|
291
|
+
// Filter out copiedToDestination===undefined; we'll get their status when we send their zip
|
292
|
+
results = results.filter((result) => !(result.fetchedFromSource && typeof result.copiedToDestination === "undefined"));
|
293
|
+
// Now send the resources to AGO
|
294
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
295
|
+
_copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
|
296
|
+
resolve(results.concat(zipResults));
|
297
|
+
});
|
298
|
+
});
|
299
|
+
}
|
300
|
+
else {
|
301
|
+
// No data, metadata, or resources to send; we're done
|
302
|
+
resolve([]);
|
303
|
+
}
|
304
|
+
});
|
305
|
+
}
|
306
|
+
/**
|
307
|
+
* Copies one or more zipfiles to a storage item.
|
308
|
+
*
|
309
|
+
* @param zipInfos List of zip files containing files to store
|
310
|
+
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
311
|
+
* @param destinationAuthentication Credentials for the request to the storage
|
312
|
+
* @returns A promise which resolves to a list of the result of the copies
|
313
|
+
* @private
|
314
|
+
*/
|
315
|
+
function _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication) {
|
316
|
+
return new Promise((resolve) => {
|
317
|
+
const results = [];
|
318
|
+
// Filter out empty zips, which can happen when none of the files in the chunk going into a zip
|
319
|
+
// can be fetched; e.g., the only file is metadata.xml, and the source item doesn't have metadata
|
320
|
+
const nonEmptyZipInfos = zipInfos.filter((zipInfo) => Object.keys(zipInfo.zip.files).length > 0);
|
321
|
+
if (nonEmptyZipInfos.length > 0) {
|
322
|
+
// Send the zip(s) to AGO
|
323
|
+
void _sendZipsSeriallyToItem(nonEmptyZipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
|
324
|
+
resolve(zipResults);
|
325
|
+
});
|
326
|
+
}
|
327
|
+
else {
|
328
|
+
// No resources to send; we're done
|
329
|
+
resolve(results);
|
330
|
+
}
|
331
|
+
});
|
332
|
+
}
|
333
|
+
/**
|
334
|
+
* Creates an empty zip info object.
|
335
|
+
*
|
336
|
+
* @param index Index of the zip info object, used as a suffix for the filename
|
337
|
+
* @returns An empty zip info object
|
338
|
+
*/
|
339
|
+
function _createEmptyZipInfo(index) {
|
340
|
+
return {
|
341
|
+
filename: `resources${index}.zip`,
|
342
|
+
zip: new JSZip(),
|
343
|
+
filelist: [],
|
344
|
+
};
|
345
|
+
}
|
346
|
+
/**
|
347
|
+
* Copies one or more zipfiles to a storage item in a serial fashion, waiting a bit between sends.
|
348
|
+
*
|
349
|
+
* @param zipInfos List of zip files containing files to store
|
350
|
+
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
351
|
+
* @param destinationAuthentication Credentials for the request to the storage
|
352
|
+
* @returns A promise which resolves to a list of the result of the copies
|
353
|
+
*/
|
354
|
+
function _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication) {
|
355
|
+
return new Promise((resolve) => {
|
356
|
+
let allResults = [];
|
357
|
+
// Remove zip from bottom of list
|
358
|
+
const zipInfoToSend = zipInfos.pop();
|
359
|
+
// Send predecessors in list
|
360
|
+
let sendOthersPromise = Promise.resolve([]);
|
361
|
+
if (zipInfos.length > 0) {
|
362
|
+
sendOthersPromise = _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication);
|
363
|
+
}
|
364
|
+
void sendOthersPromise
|
365
|
+
.then((response) => {
|
366
|
+
allResults = response;
|
367
|
+
// Stall a little to give AGO time to catch up
|
368
|
+
return new Promise((resolveSleep) => {
|
369
|
+
setTimeout(() => resolveSleep(), 1000);
|
370
|
+
});
|
371
|
+
})
|
372
|
+
.then(() => {
|
373
|
+
// Now send the zip removed from bottom of the input list
|
374
|
+
return copyZipIntoItem(zipInfoToSend, destinationItemId, destinationAuthentication);
|
375
|
+
})
|
376
|
+
.then((zipResult) => {
|
377
|
+
// Save the result of copying this zip as a status for each of the files that it contains
|
378
|
+
zipResult.filelist.forEach((fileInfo) => {
|
379
|
+
allResults.push(createCopyResults(fileInfo, true, zipResult.copiedToDestination));
|
380
|
+
});
|
381
|
+
resolve(allResults);
|
382
|
+
});
|
383
|
+
});
|
384
|
+
}
|
385
|
+
|
386
|
+
/** @license
|
387
|
+
* Copyright 2018 Esri
|
388
|
+
*
|
389
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
390
|
+
* you may not use this file except in compliance with the License.
|
391
|
+
* You may obtain a copy of the License at
|
392
|
+
*
|
393
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
394
|
+
*
|
395
|
+
* Unless required by applicable law or agreed to in writing, software
|
396
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
397
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
398
|
+
* See the License for the specific language governing permissions and
|
399
|
+
* limitations under the License.
|
400
|
+
*/
|
401
|
+
/**
|
402
|
+
* Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item
|
403
|
+
* with a specified path.
|
404
|
+
*
|
405
|
+
* @param files List of item files and paths for storing the files
|
406
|
+
* @param storageItemId Id of item to receive copy of resource/metadata
|
407
|
+
* @param storageAuthentication Credentials for the request to the storage
|
408
|
+
* @returns A promise which resolves to a list of the filenames under which the resource/metadata are stored
|
409
|
+
*/
|
410
|
+
function copyFilesToStorageItem(files, storageItemId, storageAuthentication) {
|
411
|
+
return new Promise((resolve) => {
|
412
|
+
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
413
|
+
void copyFilesAsResources(files, storageItemId, storageAuthentication).then((results) => {
|
414
|
+
resolve(results
|
415
|
+
// Filter out failures
|
416
|
+
.filter((result) => result.fetchedFromSource && result.copiedToDestination)
|
417
|
+
// Return folder and filename in storage item's resources
|
418
|
+
.map((result) => result.folder + "/" + result.filename));
|
419
|
+
});
|
420
|
+
});
|
421
|
+
}
|
422
|
+
/**
|
423
|
+
* Generates the URL for reading an item's resource given the filename of the resource.
|
424
|
+
*
|
425
|
+
* @param sourcePortalSharingUrl Server/sharing
|
426
|
+
* @param itemId Id of item
|
427
|
+
* @param sourceResourceFilename Either filename or folder/filename to resource
|
428
|
+
* @returns URL string
|
429
|
+
*/
|
430
|
+
function generateSourceResourceUrl(sourcePortalSharingUrl, itemId, sourceResourceFilename) {
|
431
|
+
return (checkUrlPathTermination(sourcePortalSharingUrl) + "content/items/" + itemId + "/resources/" + sourceResourceFilename);
|
432
|
+
}
|
433
|
+
/**
|
434
|
+
* Generates a list of full URLs and folder/filename combinations used to store the resources, metadata,
|
435
|
+
* and thumbnail of an item.
|
436
|
+
*
|
437
|
+
* @param portalSharingUrl Server/sharing
|
438
|
+
* @param storageItemId Id of storage item
|
439
|
+
* @param resourceFilenames List of resource filenames for an item, e.g., ["file1", "myFolder/file2"]
|
440
|
+
* @param storageVersion Version of the Solution template
|
441
|
+
* @returns List of item files' URLs and folder/filenames for storing the files
|
442
|
+
*/
|
443
|
+
function generateStorageFilePaths(portalSharingUrl, storageItemId, resourceFilenames = [], storageVersion = 0) {
|
444
|
+
return resourceFilenames.map((resourceFilename) => {
|
445
|
+
return {
|
446
|
+
url: generateSourceResourceUrl(portalSharingUrl, storageItemId, resourceFilename),
|
447
|
+
...convertStorageResourceToItemResource(resourceFilename, storageVersion),
|
448
|
+
};
|
449
|
+
});
|
450
|
+
}
|
451
|
+
function isSupportedFileType(filename) {
|
452
|
+
// Supported file formats are: .json, .xml, .txt, .png, .pbf, .zip, .jpeg, .jpg, .gif, .bmp, .gz, .svg,
|
453
|
+
// .svgz, .geodatabase (https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm)
|
454
|
+
const filenameExtension = filename.match(/\.([a-z]+)$/i);
|
455
|
+
const supportedExtensions = "|.json|.xml|.txt|.png|.pbf|.zip|.jpeg|.jpg|.gif|.bmp|.gz|.svg|.svgz|.geodatabase|";
|
456
|
+
return !!filenameExtension && supportedExtensions.indexOf("|" + filenameExtension[0] + "|") >= 0;
|
457
|
+
}
|
458
|
+
/**
|
459
|
+
* Gets the thumbnail of an item or group.
|
460
|
+
*
|
461
|
+
* @param authentication Credentials for the request to the storage
|
462
|
+
* @param filePaths List of item files' URLs and folder/filenames for storing the files
|
463
|
+
* @returns A promise which resolves to a boolean indicating if the copies were successful
|
464
|
+
*/
|
465
|
+
function getThumbnailFromStorageItem(authentication, filePaths) {
|
466
|
+
let thumbnailUrl;
|
467
|
+
let thumbnailFilename;
|
468
|
+
filePaths.forEach((path) => {
|
469
|
+
if (path.type === EFileType.Thumbnail) {
|
470
|
+
thumbnailUrl = path.url;
|
471
|
+
thumbnailFilename = path.filename;
|
472
|
+
}
|
473
|
+
});
|
474
|
+
if (!thumbnailUrl) {
|
475
|
+
return Promise.resolve(null);
|
476
|
+
}
|
477
|
+
return getThumbnailFile(thumbnailUrl, thumbnailFilename, authentication);
|
478
|
+
}
|
479
|
+
/**
|
480
|
+
* Removes the item's resource that matches the filename with new content
|
481
|
+
*
|
482
|
+
* @param itemId Id of the item to remove
|
483
|
+
* @param filename Name of the resource file to remove
|
484
|
+
* @param authentication Credentials for the request to the storage
|
485
|
+
* @returns A promise which resolves with a success true/false response
|
486
|
+
*/
|
487
|
+
function removeItemResourceFile(itemId, filename, authentication) {
|
488
|
+
return removeItemResource({
|
489
|
+
id: itemId,
|
490
|
+
resource: filename,
|
491
|
+
authentication: authentication,
|
492
|
+
});
|
493
|
+
}
|
494
|
+
/**
|
495
|
+
* Updates the item's resource that matches the filename with new content
|
496
|
+
*
|
497
|
+
* @param itemId Id of the item to update
|
498
|
+
* @param filename Name of the resource file to update; prefix optional (e.g., a/b/file.txt)
|
499
|
+
* @param resource The new content to update the resource with
|
500
|
+
* @param authentication Credentials for the request to the storage
|
501
|
+
* @returns A promise which resolves with a success true/false response
|
502
|
+
*/
|
503
|
+
function updateItemResourceFile(itemId, filename, resource, authentication) {
|
504
|
+
// Prefix has to be specified separately
|
505
|
+
const prefixedFilenameParts = filename.split("/");
|
506
|
+
const prefix = prefixedFilenameParts.length > 1
|
507
|
+
? prefixedFilenameParts.slice(0, prefixedFilenameParts.length - 1).join("/")
|
508
|
+
: undefined;
|
509
|
+
const suffix = prefixedFilenameParts[prefixedFilenameParts.length - 1];
|
510
|
+
return updateItemResource({
|
511
|
+
id: itemId,
|
512
|
+
prefix: prefix,
|
513
|
+
name: suffix,
|
514
|
+
resource,
|
515
|
+
authentication: authentication,
|
516
|
+
});
|
517
|
+
}
|
518
|
+
|
519
|
+
/** @license
|
520
|
+
* Copyright 2022 Esri
|
521
|
+
*
|
522
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
523
|
+
* you may not use this file except in compliance with the License.
|
524
|
+
* You may obtain a copy of the License at
|
525
|
+
*
|
526
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
527
|
+
*
|
528
|
+
* Unless required by applicable law or agreed to in writing, software
|
529
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
530
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
531
|
+
* See the License for the specific language governing permissions and
|
532
|
+
* limitations under the License.
|
533
|
+
*/
|
534
|
+
const EmptySolutionStore = {
|
535
|
+
solutionItemId: "",
|
536
|
+
defaultWkid: undefined,
|
537
|
+
solutionData: { metadata: {}, templates: [] },
|
538
|
+
templateEdits: {},
|
539
|
+
featureServices: [],
|
540
|
+
spatialReferenceInfo: {
|
541
|
+
enabled: false,
|
542
|
+
services: {}
|
543
|
+
}
|
544
|
+
};
|
545
|
+
class SolutionStore {
|
546
|
+
static _instance;
|
547
|
+
_store;
|
548
|
+
_hasChanges = false;
|
549
|
+
_authentication;
|
550
|
+
/**
|
551
|
+
* Creates singleton instance when accessed; default export from module.
|
552
|
+
*
|
553
|
+
* @returns Static instance of the class
|
554
|
+
*/
|
555
|
+
static get Store() {
|
556
|
+
return this._instance || (this._instance = new this());
|
557
|
+
}
|
558
|
+
/**
|
559
|
+
* Creates an empty store.
|
560
|
+
*
|
561
|
+
* @protected
|
562
|
+
*/
|
563
|
+
constructor() {
|
564
|
+
this._store = createStore({
|
565
|
+
...EmptySolutionStore
|
566
|
+
});
|
567
|
+
}
|
568
|
+
/**
|
569
|
+
* Returns the stored information of an item.
|
570
|
+
*
|
571
|
+
* @param itemId Id of item to fetch
|
572
|
+
*
|
573
|
+
* @returns Item information or `undefined` if not found
|
574
|
+
*/
|
575
|
+
getItemInfo(itemId) {
|
576
|
+
const templates = this._store.get("solutionData").templates;
|
577
|
+
let template;
|
578
|
+
templates.some((t) => {
|
579
|
+
if (itemId == t.itemId) {
|
580
|
+
template = t;
|
581
|
+
return true;
|
582
|
+
}
|
583
|
+
return false;
|
584
|
+
});
|
585
|
+
return template;
|
586
|
+
}
|
587
|
+
/**
|
588
|
+
* Returns a top-level store property: solutionItemId, defaultWkid, etc.
|
589
|
+
*
|
590
|
+
* @param propName Name of property
|
591
|
+
*
|
592
|
+
* @returns Value of property
|
593
|
+
*/
|
594
|
+
getStoreInfo(propName) {
|
595
|
+
return this._store.get(propName);
|
596
|
+
}
|
597
|
+
/**
|
598
|
+
* Loads a Solution into the store from AGO.
|
599
|
+
*
|
600
|
+
* @param solutionItemId Id of the solution represented in the store
|
601
|
+
* @param authentication Credentials for fetching information to be loaded into the store
|
602
|
+
*
|
603
|
+
* @returns Promise that resolves when task is done
|
604
|
+
*/
|
605
|
+
async loadSolution(solutionItemId, authentication) {
|
606
|
+
this._authentication = authentication;
|
607
|
+
const solutionData = await getItemDataAsJson(solutionItemId, authentication);
|
608
|
+
if (solutionData) {
|
609
|
+
const defaultWkid = getPropWithDefault(solutionData, "params.wkid.default", "");
|
610
|
+
await this._prepareSolutionItemsForEditing(solutionItemId, solutionData.templates, authentication);
|
611
|
+
const featureServices = this._getFeatureServices(solutionData.templates);
|
612
|
+
const spatialReferenceInfo = this._getSpatialReferenceInfo(featureServices, defaultWkid);
|
613
|
+
this._store.set("solutionItemId", solutionItemId);
|
614
|
+
this._store.set("defaultWkid", defaultWkid);
|
615
|
+
this._store.set("solutionData", solutionData);
|
616
|
+
this._store.set("featureServices", featureServices);
|
617
|
+
this._store.set("spatialReferenceInfo", spatialReferenceInfo);
|
618
|
+
}
|
619
|
+
this._flagStoreHasChanges(false);
|
620
|
+
}
|
621
|
+
/**
|
622
|
+
* Queues the replacement of the thumbnail associated with a template item in the store.
|
623
|
+
*
|
624
|
+
* @param itemEdit Details of the template to modify, containing the new thumbnail in the `thumbnail`
|
625
|
+
* property
|
626
|
+
*/
|
627
|
+
replaceItemThumbnail(itemEdit) {
|
628
|
+
// Flag the current thumbnail and any replacements for removal
|
629
|
+
itemEdit.resourceFilePaths.forEach((path) => {
|
630
|
+
if (path.type === EFileType.Thumbnail) {
|
631
|
+
if (path.updateType === EUpdateType.None) {
|
632
|
+
// Existing thumbnail not yet flagged for removal
|
633
|
+
path.updateType = EUpdateType.Remove;
|
634
|
+
}
|
635
|
+
else if (path.updateType === EUpdateType.Add || path.updateType === EUpdateType.Update) {
|
636
|
+
// An earlier replacement
|
637
|
+
path.updateType = EUpdateType.Obsolete;
|
638
|
+
}
|
639
|
+
}
|
640
|
+
});
|
641
|
+
// Remove any replacements already queued
|
642
|
+
itemEdit.resourceFilePaths =
|
643
|
+
itemEdit.resourceFilePaths.filter((path) => path.updateType != EUpdateType.Obsolete);
|
644
|
+
// Add the new thumbnail to the store item
|
645
|
+
itemEdit.resourceFilePaths.push({
|
646
|
+
blob: itemEdit.thumbnail,
|
647
|
+
filename: itemEdit.thumbnail.name,
|
648
|
+
type: EFileType.Thumbnail,
|
649
|
+
updateType: EUpdateType.Add
|
650
|
+
});
|
651
|
+
// Update the store
|
652
|
+
this.setItemInfo(itemEdit);
|
653
|
+
}
|
654
|
+
/**
|
655
|
+
* Writes a Solution into AGO from the store. Must use `loadSolution` to continue with solution.
|
656
|
+
*
|
657
|
+
* @returns Promise that resolves when task is done
|
658
|
+
*/
|
659
|
+
async saveSolution() {
|
660
|
+
// Update the templates in the original solution item data
|
661
|
+
const solutionItemId = this._store.get("solutionItemId");
|
662
|
+
const solutionData = this._store.get("solutionData");
|
663
|
+
const spatialReferenceInfo = this._store.get("spatialReferenceInfo");
|
664
|
+
const featureServices = this._store.get("featureServices");
|
665
|
+
await this._prepareSolutionItemsForStorage(solutionItemId, solutionData.templates, this._authentication);
|
666
|
+
// Update the templates in the solution item data
|
667
|
+
this._updateFSSpatialReferenceInfoInTemplates(featureServices, solutionData.templates);
|
668
|
+
// Update the solution-level information about the spatial reference parameter
|
669
|
+
if (spatialReferenceInfo.enabled) {
|
670
|
+
const solutionSpatialReferenceData = {
|
671
|
+
"label": "Spatial Reference",
|
672
|
+
"valueType": "spatialReference",
|
673
|
+
"attributes": {
|
674
|
+
"required": true
|
675
|
+
}
|
676
|
+
};
|
677
|
+
if (spatialReferenceInfo.default) {
|
678
|
+
solutionSpatialReferenceData.default = spatialReferenceInfo.default;
|
679
|
+
}
|
680
|
+
setCreateProp(solutionData, "params.wkid", solutionSpatialReferenceData);
|
681
|
+
}
|
682
|
+
else {
|
683
|
+
setCreateProp(solutionData, "params.wkid", {});
|
684
|
+
}
|
685
|
+
const itemInfo = {
|
686
|
+
id: solutionItemId,
|
687
|
+
text: solutionData
|
688
|
+
};
|
689
|
+
await updateItem(itemInfo, this._authentication);
|
690
|
+
}
|
691
|
+
/**
|
692
|
+
* Stores information for item.
|
693
|
+
*
|
694
|
+
* @param itemEdit Item information
|
695
|
+
*/
|
696
|
+
setItemInfo(itemEdit) {
|
697
|
+
const solutionData = this._store.get("solutionData");
|
698
|
+
const templates = solutionData.templates;
|
699
|
+
templates.some((t) => {
|
700
|
+
if (itemEdit.itemId == t.itemId) {
|
701
|
+
t = itemEdit;
|
702
|
+
this._store.set("solutionData", solutionData);
|
703
|
+
this._flagStoreHasChanges(true);
|
704
|
+
return true;
|
705
|
+
}
|
706
|
+
return false;
|
707
|
+
});
|
708
|
+
}
|
709
|
+
/**
|
710
|
+
* Sets a top-level store property: solutionItemId, defaultWkid, etc.
|
711
|
+
*
|
712
|
+
* @param propName Name of property
|
713
|
+
* @param value Value of property
|
714
|
+
*/
|
715
|
+
setStoreInfo(propName, value) {
|
716
|
+
this._store.set(propName, value);
|
717
|
+
this._flagStoreHasChanges(true);
|
718
|
+
}
|
719
|
+
//------------------------------------------------------------------------------------------------------------------//
|
720
|
+
/** Provides access to protected methods for unit testing.
|
721
|
+
*
|
722
|
+
* @param methodName Name of protected method to run
|
723
|
+
* @param arg1 First argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `solutionItemId`
|
724
|
+
* @param arg2 Second argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `templates`
|
725
|
+
* @param arg3 Third argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `authentication`
|
726
|
+
*
|
727
|
+
* @returns
|
728
|
+
*/
|
729
|
+
_testAccess(methodName, arg1, arg2, arg3) {
|
730
|
+
switch (methodName) {
|
731
|
+
case "_emptyTheStore":
|
732
|
+
this._emptyTheStore();
|
733
|
+
break;
|
734
|
+
case "_getFeatureServices":
|
735
|
+
return this._getFeatureServices(arg1);
|
736
|
+
case "_getItemsSharedWithThisGroup":
|
737
|
+
return this._getItemsSharedWithThisGroup(arg1, arg2);
|
738
|
+
case "_getResourceFilePaths":
|
739
|
+
return this._getResourceFilePaths(arg1, arg2, arg3);
|
740
|
+
case "_getResourceStorageName":
|
741
|
+
return this._getResourceStorageName(arg1, arg2);
|
742
|
+
case "_getSpatialReferenceInfo":
|
743
|
+
return this._getSpatialReferenceInfo(arg1, arg2);
|
744
|
+
case "_prepareSolutionItemsForEditing":
|
745
|
+
return this._prepareSolutionItemsForEditing(arg1, arg2, arg3);
|
746
|
+
case "_prepareSolutionItemsForStorage":
|
747
|
+
return this._prepareSolutionItemsForStorage(arg1, arg2, arg3);
|
748
|
+
case "_splitFilename":
|
749
|
+
return this._splitFilename(arg1);
|
750
|
+
case "_updateFSSpatialReferenceInfoInTemplates":
|
751
|
+
return this._updateFSSpatialReferenceInfoInTemplates(arg1, arg2);
|
752
|
+
}
|
753
|
+
return null;
|
754
|
+
}
|
755
|
+
/**
|
756
|
+
* Returns the store to the empty state.
|
757
|
+
*
|
758
|
+
* @protected
|
759
|
+
*/
|
760
|
+
_emptyTheStore() {
|
761
|
+
this._store.set("solutionItemId", EmptySolutionStore.solutionItemId);
|
762
|
+
this._store.set("defaultWkid", EmptySolutionStore.defaultWkid);
|
763
|
+
this._store.set("solutionData", EmptySolutionStore.solutionData);
|
764
|
+
this._store.set("templateEdits", EmptySolutionStore.templateEdits);
|
765
|
+
this._store.set("featureServices", EmptySolutionStore.featureServices);
|
766
|
+
this._store.set("spatialReferenceInfo", EmptySolutionStore.spatialReferenceInfo);
|
767
|
+
}
|
768
|
+
/**
|
769
|
+
* Sets the store's flag indicating if it has changes and dispatches an event when
|
770
|
+
* the flag value changes.
|
771
|
+
*
|
772
|
+
* @param flagHasChanges Current state of change in the store; if it doesn't match the value saved in this
|
773
|
+
* object, an event is dispatched with the new value and the saved value is updated
|
774
|
+
*
|
775
|
+
* @protected
|
776
|
+
*/
|
777
|
+
_flagStoreHasChanges(flagHasChanges) {
|
778
|
+
// Event for notifying if the store has changes or not
|
779
|
+
window.dispatchEvent(new CustomEvent("solutionStoreHasChanges", {
|
780
|
+
detail: flagHasChanges,
|
781
|
+
bubbles: true,
|
782
|
+
cancelable: false,
|
783
|
+
composed: true
|
784
|
+
}));
|
785
|
+
this._hasChanges = flagHasChanges;
|
786
|
+
}
|
787
|
+
/**
|
788
|
+
* Gets a list of Feature Services that are not views.
|
789
|
+
*
|
790
|
+
* @param templates A list of item templates from the solution
|
791
|
+
*
|
792
|
+
* @returns a list of feature services
|
793
|
+
*
|
794
|
+
* @protected
|
795
|
+
*/
|
796
|
+
_getCustomizableFeatureServices(templates) {
|
797
|
+
return templates.reduce((prev, cur) => {
|
798
|
+
if (cur.type === "Feature Service" && cur.item.typeKeywords.indexOf("View Service") < 0) {
|
799
|
+
prev.push(cur);
|
800
|
+
}
|
801
|
+
return prev;
|
802
|
+
}, []);
|
803
|
+
}
|
804
|
+
/**
|
805
|
+
* Gets a list of Feature Services that are not views along with an enabled property that indicates
|
806
|
+
* if the service currently uses a spatial reference variable.
|
807
|
+
*
|
808
|
+
* @param templates A list of item templates from the solution
|
809
|
+
*
|
810
|
+
* @returns a list of feature service names and an enabled property to indicate
|
811
|
+
* if they currently use a spatial reference variable.
|
812
|
+
*
|
813
|
+
* @protected
|
814
|
+
*/
|
815
|
+
_getFeatureServices(templates) {
|
816
|
+
const customizableFeatureServices = this._getCustomizableFeatureServices(templates);
|
817
|
+
return customizableFeatureServices.map((fs) => {
|
818
|
+
const name = fs.item.title || fs.item.name;
|
819
|
+
const wkid = getProp(fs, "properties.service.spatialReference.wkid");
|
820
|
+
return {
|
821
|
+
id: fs.itemId,
|
822
|
+
name,
|
823
|
+
enabled: wkid.toString().startsWith(CSpatialRefCustomizingPrefix),
|
824
|
+
wkid
|
825
|
+
};
|
826
|
+
});
|
827
|
+
}
|
828
|
+
/**
|
829
|
+
* Capture the key item details for a given group template
|
830
|
+
*
|
831
|
+
* @param template one of the templates from the current solution
|
832
|
+
* @param templates full list of templates
|
833
|
+
*
|
834
|
+
* @returns a list of IItemShare objects
|
835
|
+
*
|
836
|
+
* @protected
|
837
|
+
*/
|
838
|
+
_getItemsSharedWithThisGroup(template, templates) {
|
839
|
+
return templates.reduce((prev, cur) => {
|
840
|
+
if (cur.itemId !== template.itemId && cur.type !== "Group") {
|
841
|
+
prev.push({
|
842
|
+
id: cur.itemId,
|
843
|
+
title: cur.item.name || cur.item.title,
|
844
|
+
isShared: (cur.groups || []).indexOf(template.itemId) > -1,
|
845
|
+
shareItem: (cur.groups || []).indexOf(template.itemId) > -1,
|
846
|
+
type: cur.type,
|
847
|
+
typeKeywords: cur.item.typeKeywords
|
848
|
+
});
|
849
|
+
}
|
850
|
+
return prev;
|
851
|
+
}, []);
|
852
|
+
}
|
853
|
+
/**
|
854
|
+
* Generate storage file paths from the solution template
|
855
|
+
*
|
856
|
+
* @param solutionId the id of the current solution
|
857
|
+
* @param template the current template from the solution
|
858
|
+
* @param portal Portal where file is to be found
|
859
|
+
*
|
860
|
+
* @returns a list of resource file infos
|
861
|
+
*
|
862
|
+
* @protected
|
863
|
+
*/
|
864
|
+
_getResourceFilePaths(solutionId, template, portal) {
|
865
|
+
const resourceFilePaths = generateStorageFilePaths(portal, solutionId, template.resources, SolutionTemplateFormatVersion);
|
866
|
+
return resourceFilePaths.map((fp) => {
|
867
|
+
fp.updateType = EUpdateType.None;
|
868
|
+
return fp;
|
869
|
+
});
|
870
|
+
}
|
871
|
+
/**
|
872
|
+
* Generates a resource name from a storage file path.
|
873
|
+
*
|
874
|
+
* @param templateItemId The id of the template item whose resource this is; used as a prefix in the resource name
|
875
|
+
* @param resourcePath Resource file infos
|
876
|
+
*
|
877
|
+
* @returns The resource name to use when attaching a resource to the item.
|
878
|
+
*
|
879
|
+
* @protected
|
880
|
+
*/
|
881
|
+
_getResourceStorageName(templateItemId, resourcePath) {
|
882
|
+
/* Converts
|
883
|
+
{
|
884
|
+
"url": "https://myorg.maps.arcgis.com/sharing/rest/content/items/ca924c6db7d247b9a31fa30532fb5913/resources/79036430a6274e17ae915d0278b8569c_info_metadata/metadata.xml",
|
885
|
+
"type": 2,
|
886
|
+
"folder": "",
|
887
|
+
"filename": "metadata.xml",
|
888
|
+
"updateType": 3
|
889
|
+
}
|
890
|
+
to
|
891
|
+
ca924c6db7d247b9a31fa30532fb5913_info_metadata/metadata.xml
|
892
|
+
*/
|
893
|
+
let prefix = templateItemId;
|
894
|
+
switch (resourcePath.type) {
|
895
|
+
case EFileType.Data:
|
896
|
+
prefix = `${prefix}_info_data`;
|
897
|
+
break;
|
898
|
+
case EFileType.Info:
|
899
|
+
prefix = `${prefix}_info`;
|
900
|
+
break;
|
901
|
+
case EFileType.Metadata:
|
902
|
+
prefix = `${prefix}_info_metadata`;
|
903
|
+
break;
|
904
|
+
case EFileType.Resource:
|
905
|
+
break;
|
906
|
+
case EFileType.Thumbnail:
|
907
|
+
prefix = `${prefix}_info_thumbnail`;
|
908
|
+
break;
|
909
|
+
}
|
910
|
+
let filenameToUse = resourcePath.filename;
|
911
|
+
if (resourcePath.type == EFileType.Data && filenameToUse && !isSupportedFileType(filenameToUse)) {
|
912
|
+
filenameToUse = filenameToUse + ".zip";
|
913
|
+
prefix += "z";
|
914
|
+
}
|
915
|
+
const filename = resourcePath.folder ? resourcePath.folder + "/" + filenameToUse : filenameToUse;
|
916
|
+
return prefix + "/" + filename;
|
917
|
+
}
|
918
|
+
/**
|
919
|
+
* Extracts basic spatial reference information that is used to determine if a custom spatial reference parameter will
|
920
|
+
* be exposed while deploying this solution and if so what feature services will support it and what will the default wkid be
|
921
|
+
*
|
922
|
+
* @param services a list of objects with service name and enabled property (indicates if they currently use a spatial reference var)
|
923
|
+
* @param defaultWkid the default wkid
|
924
|
+
*
|
925
|
+
* @returns an object that stores if a custom spatial reference parameter is enabled/disabled,
|
926
|
+
* a list of services and if they are enabled/disabled, and the default wkid
|
927
|
+
*
|
928
|
+
* @protected
|
929
|
+
*/
|
930
|
+
_getSpatialReferenceInfo(services, defaultWkid) {
|
931
|
+
const defaultServices = {};
|
932
|
+
services.forEach(service => {
|
933
|
+
defaultServices[service.name] = service.enabled;
|
934
|
+
});
|
935
|
+
const spatialReferenceInfo = {
|
936
|
+
enabled: false,
|
937
|
+
services: defaultServices
|
938
|
+
};
|
939
|
+
if (defaultWkid) {
|
940
|
+
spatialReferenceInfo.default = defaultWkid;
|
941
|
+
}
|
942
|
+
return spatialReferenceInfo;
|
943
|
+
}
|
944
|
+
/**
|
945
|
+
* Create and store template items for the editor.
|
946
|
+
*
|
947
|
+
* @param solutionItemId Id of the solution represented in the store
|
948
|
+
* @param templates A list of item templates from the solution
|
949
|
+
* @param authentication Credentials for fetching information to be loaded into the store
|
950
|
+
*
|
951
|
+
* @returns a promise that resolves when the templates are ready
|
952
|
+
*
|
953
|
+
* @protected
|
954
|
+
*/
|
955
|
+
async _prepareSolutionItemsForEditing(solutionItemId, templates, authentication) {
|
956
|
+
const thumbnailPromises = [];
|
957
|
+
// Augment the template with paths to resources and group information, if relevant
|
958
|
+
templates.forEach((t) => {
|
959
|
+
t.resourceFilePaths = this._getResourceFilePaths(solutionItemId, t, authentication.portal);
|
960
|
+
thumbnailPromises.push(t.resourceFilePaths.length > 0 ?
|
961
|
+
getThumbnailFromStorageItem(authentication, t.resourceFilePaths) :
|
962
|
+
Promise.resolve());
|
963
|
+
t.groupDetails = t.type === "Group" ? this._getItemsSharedWithThisGroup(t, templates) : [];
|
964
|
+
});
|
965
|
+
// Augment the template with its thumbnail file
|
966
|
+
const thumbnails = await Promise.all(thumbnailPromises);
|
967
|
+
templates.forEach((t, i) => {
|
968
|
+
t.thumbnail = thumbnails[i] ? thumbnails[i] : undefined;
|
969
|
+
});
|
970
|
+
return Promise.resolve();
|
971
|
+
}
|
972
|
+
/**
|
973
|
+
* Prepares template items for sending to AGO by updating the resources held by the solution item.
|
974
|
+
*
|
975
|
+
* @param solutionItemId Id of the solution represented in the store
|
976
|
+
* @param templates A list of item templates from the solution
|
977
|
+
* @param authentication Credentials for fetching information to be loaded into the store
|
978
|
+
*
|
979
|
+
* @returns a promise that resolves when the templates are ready
|
980
|
+
*
|
981
|
+
* @protected
|
982
|
+
*/
|
983
|
+
async _prepareSolutionItemsForStorage(solutionItemId, templates, authentication) {
|
984
|
+
const resourceAdds = [];
|
985
|
+
// Update the resources and remove the augmentation from a template
|
986
|
+
const pendingTasks = [];
|
987
|
+
templates.forEach((t) => {
|
988
|
+
// Run through the resourceFilePaths for the item seeking modifications to be made to the solution item's
|
989
|
+
// collection of resources; queue them for batching
|
990
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
991
|
+
t.resourceFilePaths.forEach(async (path) => {
|
992
|
+
const storageName = this._getResourceStorageName(t.itemId, path);
|
993
|
+
switch (path.updateType) {
|
994
|
+
case EUpdateType.Add:
|
995
|
+
const { prefix, suffix } = this._splitFilename(storageName);
|
996
|
+
t.resources.push(storageName);
|
997
|
+
resourceAdds.push({
|
998
|
+
itemId: t.itemId,
|
999
|
+
file: path.blob,
|
1000
|
+
folder: prefix,
|
1001
|
+
filename: suffix
|
1002
|
+
});
|
1003
|
+
break;
|
1004
|
+
case EUpdateType.Update:
|
1005
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1006
|
+
pendingTasks.push(new Promise(async (resolve) => {
|
1007
|
+
try {
|
1008
|
+
await updateItemResourceFile(solutionItemId, storageName, path.blob, authentication);
|
1009
|
+
}
|
1010
|
+
catch (err) {
|
1011
|
+
console.log("Unable to update " + storageName + " for item " + t.itemId + ": " + JSON.stringify(err));
|
1012
|
+
}
|
1013
|
+
resolve();
|
1014
|
+
}));
|
1015
|
+
break;
|
1016
|
+
case EUpdateType.Remove:
|
1017
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1018
|
+
pendingTasks.push(new Promise(async (resolve) => {
|
1019
|
+
try {
|
1020
|
+
await removeItemResourceFile(solutionItemId, storageName, authentication);
|
1021
|
+
t.resources = t.resources.filter((path) => path !== storageName);
|
1022
|
+
}
|
1023
|
+
catch (err) {
|
1024
|
+
console.log("Unable to remove " + storageName + " for item " + t.itemId + ": " + JSON.stringify(err));
|
1025
|
+
}
|
1026
|
+
resolve();
|
1027
|
+
}));
|
1028
|
+
break;
|
1029
|
+
}
|
1030
|
+
return Promise.resolve();
|
1031
|
+
});
|
1032
|
+
delete t.resourceFilePaths;
|
1033
|
+
delete t.thumbnail;
|
1034
|
+
delete t.groupDetails;
|
1035
|
+
});
|
1036
|
+
// Update the resources
|
1037
|
+
return Promise.all(pendingTasks)
|
1038
|
+
.then(async () => {
|
1039
|
+
if (resourceAdds.length > 0) {
|
1040
|
+
await copyFilesToStorageItem(resourceAdds, solutionItemId, authentication);
|
1041
|
+
}
|
1042
|
+
return Promise.resolve();
|
1043
|
+
});
|
1044
|
+
}
|
1045
|
+
/**
|
1046
|
+
* Stores basic spatial reference information that is used to determine if a custom spatial reference parameter will
|
1047
|
+
* be exposed while deploying this solution and if so what feature services will support it and what will the default wkid be
|
1048
|
+
*
|
1049
|
+
* @param featureServices The configuration settings for a custom spatial reference by feature service
|
1050
|
+
* @param templates The templates in the current solution, which will be updated in place if
|
1051
|
+
* `spatialReferenceInfo.enabled` is true
|
1052
|
+
*
|
1053
|
+
* @protected
|
1054
|
+
*/
|
1055
|
+
_updateFSSpatialReferenceInfoInTemplates(featureServices, templates) {
|
1056
|
+
const customizableFeatureServices = this._getCustomizableFeatureServices(templates);
|
1057
|
+
// Enable or disable this feature in each service
|
1058
|
+
customizableFeatureServices.forEach((fsTemplate) => {
|
1059
|
+
const fsEnablement = featureServices.find((fs) => fs.id === fsTemplate.itemId);
|
1060
|
+
if (fsEnablement) {
|
1061
|
+
const spatialReference = getPropWithDefault(fsTemplate, "properties.service.spatialReference", {});
|
1062
|
+
spatialReference.wkid = fsEnablement.wkid;
|
1063
|
+
if (fsEnablement.enabled && spatialReference.latestWkid) {
|
1064
|
+
delete spatialReference.latestWkid;
|
1065
|
+
}
|
1066
|
+
setProp(fsTemplate, "properties.service.spatialReference", spatialReference);
|
1067
|
+
}
|
1068
|
+
});
|
1069
|
+
// Copy the updates back into the templates
|
1070
|
+
templates.forEach((t) => {
|
1071
|
+
const customizedTemplate = customizableFeatureServices.find((fs) => fs.itemId === t.itemId);
|
1072
|
+
if (customizedTemplate) {
|
1073
|
+
t.properties.service.spatialReference = {
|
1074
|
+
...customizedTemplate.properties.service.spatialReference
|
1075
|
+
};
|
1076
|
+
const nWkid = Number.parseInt(t.properties.service.spatialReference.wkid);
|
1077
|
+
if (!isNaN(nWkid)) {
|
1078
|
+
t.properties.service.spatialReference.wkid = nWkid;
|
1079
|
+
}
|
1080
|
+
}
|
1081
|
+
});
|
1082
|
+
}
|
1083
|
+
/**
|
1084
|
+
* Splits a pathed filename into a last term and a prefix; e.g., "a/b/c" returns "c" with a prefix of "a/b".
|
1085
|
+
*
|
1086
|
+
* @param filename Filename with optional path
|
1087
|
+
*
|
1088
|
+
* @returns An object consisting of a `prefix` (undefined if `filename` does not contain a path) and a `suffix`--the
|
1089
|
+
* filename at the end of a path
|
1090
|
+
*
|
1091
|
+
* @protected
|
1092
|
+
*/
|
1093
|
+
_splitFilename(filename) {
|
1094
|
+
const filenameParts = filename.split("/");
|
1095
|
+
return {
|
1096
|
+
prefix: filenameParts.length > 1 ? filenameParts.slice(0, filenameParts.length - 1).join("/") : undefined,
|
1097
|
+
suffix: filenameParts[filenameParts.length - 1]
|
1098
|
+
};
|
1099
|
+
}
|
1100
|
+
}
|
1101
|
+
const state = SolutionStore.Store;
|
1102
|
+
|
1103
|
+
export { state as s };
|