@esri/solutions-components 0.10.48 → 0.10.49
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-7cd6bc0d.js +115 -0
- package/dist/cjs/FloatingArrow-bf91ebb1.js +48 -0
- package/dist/cjs/Heading-ae667128.js +25 -0
- package/dist/cjs/IdentityManager-b7fa2f5f.js +4174 -0
- package/dist/cjs/Validation-a206c7a2.js +20 -0
- package/dist/cjs/app-globals-04574c64.js +67 -0
- package/dist/cjs/ar-c930d85d.js +106 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/bg-a2001c61.js +84 -0
- package/dist/cjs/browser-040b13db.js +35 -0
- package/dist/cjs/bs-5576dc1b.js +53 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/ca-220471e9.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_6.cjs.entry.js +11 -11
- 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-ac4b979a.js +281 -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 +15 -15
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-dialog-97f38598.js +5875 -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_4.cjs.entry.js +5 -5
- 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-0ecf3d60.js +1000 -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-4020e170.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-8ca1fbce.js +110 -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.cjs.entry.js +11 -11
- 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-2e248d8d.js +260 -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 +14 -14
- 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 +3 -3
- package/dist/cjs/component-69260f95.js +1073 -0
- package/dist/cjs/conditionalSlot-489d0ef0.js +54 -0
- package/dist/cjs/config-164bf148.js +40 -0
- package/dist/cjs/consent-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
- package/dist/cjs/cs-a049b34a.js +149 -0
- package/dist/cjs/da-d71057be.js +69 -0
- package/dist/cjs/date-831e93f2.js +264 -0
- package/dist/cjs/de-at-977ab186.js +92 -0
- package/dist/cjs/de-b1eb21d0.js +93 -0
- package/dist/cjs/de-ch-486d1e5d.js +92 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +2 -2
- package/dist/cjs/downloadUtils-f50841bc.js +3240 -0
- package/dist/cjs/el-577ee36f.js +68 -0
- package/dist/cjs/en-au-e7c3a0f9.js +68 -0
- package/dist/cjs/en-ca-111580b6.js +67 -0
- package/dist/cjs/en-gb-b061a0ac.js +71 -0
- package/dist/cjs/es-ae90d3b8.js +68 -0
- package/dist/cjs/es-mx-620f2f82.js +67 -0
- package/dist/cjs/et-3b0bd1a9.js +94 -0
- package/dist/cjs/feature-list.cjs.entry.js +4 -4
- package/dist/cjs/fi-8708148b.js +117 -0
- package/dist/cjs/floating-ui-a1745c4c.js +2413 -0
- package/dist/cjs/focusTrapComponent-59e1194f.js +1013 -0
- package/dist/cjs/form-3666a51b.js +370 -0
- package/dist/cjs/form-a2adec8c.js +381 -0
- package/dist/cjs/fr-9a9d3ce3.js +70 -0
- package/dist/cjs/fr-ch-95662c01.js +68 -0
- package/dist/cjs/he-f973a740.js +107 -0
- package/dist/cjs/helpers-292a0709.js +940 -0
- package/dist/cjs/hi-f0b9cea5.js +67 -0
- package/dist/cjs/hr-4654706f.js +82 -0
- package/dist/cjs/hu-bc3d5588.js +90 -0
- package/dist/cjs/icon-96d27ae8.js +979 -0
- package/dist/cjs/id-1131b8da.js +68 -0
- package/dist/cjs/index-29826564.js +201 -0
- package/dist/cjs/index-92385c74.js +1772 -0
- package/dist/cjs/index.es-b8c8c931.js +11307 -0
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +4 -4
- 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 +1 -1
- 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 +2 -2
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +5 -59
- package/dist/cjs/interactive-9f715ff8.js +86 -0
- package/dist/cjs/interactive-c384fd9b.js +85 -0
- package/dist/cjs/it-7a8ec220.js +68 -0
- package/dist/cjs/it-ch-f9cb696d.js +68 -0
- package/dist/cjs/ja-45b4845d.js +74 -0
- package/dist/cjs/ko-61449645.js +74 -0
- package/dist/cjs/label-7f519bd9.js +186 -0
- package/dist/cjs/languageSwitcher-bca9ab2c.js +52 -0
- package/dist/cjs/loadable-9cb8a3cd.js +98 -0
- package/dist/cjs/loader-b9aa1d67.js +176 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-a0772a2b.js +605 -0
- package/dist/cjs/locale-afa30303.js +160 -0
- package/dist/cjs/locale-f6e0493d.js +1488 -0
- package/dist/cjs/logger-e5bdc044.js +61 -0
- package/dist/cjs/lt-2e727f9c.js +99 -0
- package/dist/cjs/lv-ed202e00.js +68 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +7 -7
- package/dist/cjs/mk-418a9e03.js +68 -0
- package/dist/cjs/nb-333e1c58.js +69 -0
- package/dist/cjs/nl-da937865.js +69 -0
- package/dist/cjs/observers-ce262300.js +58 -0
- package/dist/cjs/openCloseComponent-214808b0.js +66 -0
- package/dist/cjs/openCloseComponent-c0b7af22.js +65 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-cbe57516.js +116 -0
- package/dist/cjs/popupUtils-2a425c37.js +121 -0
- package/dist/cjs/pt-b1ec4928.js +69 -0
- package/dist/cjs/pt-br-e395a325.js +67 -0
- package/dist/cjs/public-notification.cjs.entry.js +5 -5
- package/dist/cjs/publicNotificationStore-1d934df9.js +47 -0
- package/dist/cjs/request-9f87ab34.js +21 -0
- package/dist/cjs/ro-144b5f62.js +68 -0
- package/dist/cjs/ru-bf7d1a3e.js +128 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-0b452799.js +361 -0
- package/dist/cjs/sk-515227a5.js +150 -0
- package/dist/cjs/sl-f879b07d.js +170 -0
- package/dist/cjs/solution-configuration.cjs.entry.js +4 -4
- package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
- package/dist/cjs/solution-item-accordion.cjs.entry.js +2 -2
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-store-f3257490.js +1354 -0
- package/dist/cjs/solutions-components.cjs.js +4 -4
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/sr-0510fba6.js +103 -0
- package/dist/cjs/store-manager.cjs.entry.js +3 -3
- package/dist/cjs/sv-c5fbe1ff.js +73 -0
- package/dist/cjs/t9n-e69b3d42.js +108 -0
- package/dist/cjs/th-8cafcb47.js +67 -0
- package/dist/cjs/time-ceec376d.js +301 -0
- package/dist/cjs/tr-7f905223.js +68 -0
- package/dist/cjs/uk-991e83da.js +106 -0
- package/dist/cjs/utils-d8dabd76.js +153 -0
- package/dist/cjs/utils-e60dc760.js +79 -0
- package/dist/cjs/vi-d5eababe.js +72 -0
- package/dist/cjs/zh-cn-e6bc2622.js +96 -0
- package/dist/cjs/zh-hk-30480131.js +94 -0
- package/dist/cjs/zh-tw-1f3b4cda.js +94 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +2 -2
- package/dist/components/IdentityManager.js +2487 -0
- package/dist/components/calcite-button2.js +273 -0
- 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/component2.js +1048 -0
- package/dist/components/form2.js +362 -0
- package/dist/components/icon2.js +960 -0
- 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/label3.js +179 -0
- package/dist/components/loader2.js +173 -0
- package/dist/components/locale3.js +1311 -3
- package/dist/components/map-select-tools2.js +2 -2
- package/dist/components/openCloseComponent2.js +64 -0
- package/dist/components/request.js +14 -0
- package/dist/esm/ExpandToggle-51a5210b.js +108 -0
- package/dist/esm/FloatingArrow-41be757a.js +46 -0
- package/dist/esm/Heading-62ae5a41.js +22 -0
- package/dist/esm/IdentityManager-28f1ebb3.js +4139 -0
- package/dist/esm/Validation-e4b3bd31.js +18 -0
- package/dist/esm/app-globals-9df1c281.js +65 -0
- package/dist/esm/ar-000d3816.js +104 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/bg-50ceeb3e.js +82 -0
- package/dist/esm/browser-13cd5e9f.js +32 -0
- package/dist/esm/bs-8de5a54e.js +51 -0
- package/dist/esm/buffer-tools_3.entry.js +4 -4
- package/dist/esm/ca-3b560649.js +71 -0
- package/dist/esm/calcite-accordion_2.entry.js +5 -5
- package/dist/esm/calcite-action-bar.entry.js +8 -8
- package/dist/esm/calcite-action-group.entry.js +7 -7
- package/dist/esm/calcite-action-menu_2.entry.js +9 -9
- package/dist/esm/calcite-action-pad_2.entry.js +8 -8
- package/dist/esm/calcite-action_2.entry.js +13 -13
- package/dist/esm/calcite-alert_6.entry.js +11 -11
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block-section.entry.js +6 -6
- package/dist/esm/calcite-block_5.entry.js +17 -17
- package/dist/esm/calcite-button-3501ac03.js +278 -0
- package/dist/esm/calcite-button.entry.js +8 -8
- package/dist/esm/calcite-card-group.entry.js +4 -4
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-carousel_2.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +5 -5
- package/dist/esm/calcite-chip-group.entry.js +4 -4
- package/dist/esm/calcite-chip_2.entry.js +9 -9
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +3 -3
- package/dist/esm/calcite-color-picker.entry.js +7 -7
- package/dist/esm/calcite-combobox-item-group.entry.js +3 -3
- package/dist/esm/calcite-combobox_3.entry.js +15 -15
- package/dist/esm/calcite-date-picker-day_3.entry.js +8 -8
- package/dist/esm/calcite-dialog-21f00586.js +5872 -0
- package/dist/esm/calcite-dialog.entry.js +9 -9
- package/dist/esm/calcite-dropdown_2.entry.js +7 -7
- package/dist/esm/calcite-fab.entry.js +4 -4
- package/dist/esm/calcite-filter_5.entry.js +7 -7
- package/dist/esm/calcite-flow_4.entry.js +5 -5
- package/dist/esm/calcite-graph_2.entry.js +7 -7
- package/dist/esm/calcite-icon_2.entry.js +4 -4
- package/dist/esm/calcite-inline-editable.entry.js +7 -7
- package/dist/esm/calcite-input-355d3812.js +997 -0
- package/dist/esm/calcite-input-number.entry.js +9 -9
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker-0137aecc.js +1867 -0
- package/dist/esm/calcite-input-time-picker.entry.js +13 -13
- package/dist/esm/calcite-input-time-zone.entry.js +8 -8
- package/dist/esm/calcite-input_2.entry.js +9 -9
- package/dist/esm/calcite-label-ac4a2e81.js +107 -0
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +4 -4
- package/dist/esm/calcite-list-item-group.entry.js +2 -2
- package/dist/esm/calcite-menu-item.entry.js +6 -6
- package/dist/esm/calcite-menu.entry.js +6 -6
- package/dist/esm/calcite-meter.entry.js +6 -6
- package/dist/esm/calcite-modal.entry.js +11 -11
- 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 +3 -3
- package/dist/esm/calcite-notice-56c3f190.js +257 -0
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +7 -7
- package/dist/esm/calcite-pagination.entry.js +6 -6
- package/dist/esm/calcite-pick-list-group.entry.js +7 -7
- package/dist/esm/calcite-pick-list-item.entry.js +10 -10
- package/dist/esm/calcite-pick-list.entry.js +8 -8
- package/dist/esm/calcite-radio-button-group.entry.js +5 -5
- package/dist/esm/calcite-radio-button.entry.js +5 -5
- package/dist/esm/calcite-rating.entry.js +8 -8
- package/dist/esm/calcite-scrim.entry.js +5 -5
- package/dist/esm/calcite-segmented-control_2.entry.js +6 -6
- package/dist/esm/calcite-sheet.entry.js +7 -7
- package/dist/esm/calcite-shell-center-row.entry.js +6 -6
- package/dist/esm/calcite-shell-panel_14.entry.js +14 -14
- package/dist/esm/calcite-shell.entry.js +4 -4
- package/dist/esm/calcite-sortable-list.entry.js +4 -4
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +7 -7
- package/dist/esm/calcite-stepper.entry.js +5 -5
- package/dist/esm/calcite-switch.entry.js +5 -5
- package/dist/esm/calcite-table-cell_2.entry.js +7 -7
- package/dist/esm/calcite-table-row.entry.js +2 -2
- package/dist/esm/calcite-table.entry.js +6 -6
- package/dist/esm/calcite-text-area.entry.js +9 -9
- package/dist/esm/calcite-tile-group.entry.js +4 -4
- 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 +4 -4
- package/dist/esm/calcite-time-picker.entry.js +7 -7
- package/dist/esm/calcite-tip-group.entry.js +3 -3
- package/dist/esm/calcite-tip-manager.entry.js +8 -8
- package/dist/esm/calcite-tip.entry.js +9 -9
- package/dist/esm/calcite-tooltip.entry.js +5 -5
- package/dist/esm/calcite-tree_2.entry.js +5 -5
- package/dist/esm/card-manager_3.entry.js +3 -3
- package/dist/esm/component-85f22c99.js +1048 -0
- package/dist/esm/conditionalSlot-3eb5090f.js +51 -0
- package/dist/esm/config-1d142af8.js +36 -0
- package/dist/esm/consent-manager.entry.js +2 -2
- package/dist/esm/crowdsource-manager.entry.js +2 -2
- package/dist/esm/crowdsource-reporter.entry.js +2 -2
- package/dist/esm/cs-5cdc1d3f.js +147 -0
- package/dist/esm/da-30365c90.js +67 -0
- package/dist/esm/date-ac9ec758.js +248 -0
- package/dist/esm/de-at-941b583e.js +90 -0
- package/dist/esm/de-b89def95.js +91 -0
- package/dist/esm/de-ch-568c0c8e.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +2 -2
- package/dist/esm/downloadUtils-74a6bad9.js +3233 -0
- package/dist/esm/el-340bad09.js +66 -0
- package/dist/esm/en-au-b4bdb56c.js +66 -0
- package/dist/esm/en-ca-0a08923c.js +65 -0
- package/dist/esm/en-gb-f5381626.js +69 -0
- package/dist/esm/es-876b0a13.js +66 -0
- package/dist/esm/es-mx-955bc6a1.js +65 -0
- package/dist/esm/et-c76bc3b6.js +92 -0
- package/dist/esm/feature-list.entry.js +4 -4
- package/dist/esm/fi-52e100ba.js +115 -0
- package/dist/esm/floating-ui-5be07261.js +2404 -0
- package/dist/esm/focusTrapComponent-821ef6e1.js +1008 -0
- package/dist/esm/form-df6403ca.js +362 -0
- package/dist/esm/form-fbc745ea.js +372 -0
- package/dist/esm/fr-0699e247.js +68 -0
- package/dist/esm/fr-ch-c58b9b94.js +66 -0
- package/dist/esm/he-68c61be9.js +105 -0
- package/dist/esm/helpers-50d61130.js +913 -0
- package/dist/esm/hi-32cfce47.js +65 -0
- package/dist/esm/hr-962d1e56.js +80 -0
- package/dist/esm/hu-d13da86a.js +88 -0
- package/dist/esm/icon-3fb97c97.js +959 -0
- package/dist/esm/id-6de1980b.js +66 -0
- package/dist/esm/index-1b6f06f9.js +199 -0
- package/dist/esm/index-3eee2657.js +1736 -0
- package/dist/esm/index.es-3b04354a.js +11220 -0
- package/dist/esm/instant-apps-app-guide.entry.js +2 -2
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +4 -4
- 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 +1 -1
- 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 +2 -2
- package/dist/esm/instant-apps-time-filter.entry.js +3 -57
- package/dist/esm/interactive-62057336.js +82 -0
- package/dist/esm/interactive-8a35f349.js +83 -0
- package/dist/esm/it-cccb6e82.js +66 -0
- package/dist/esm/it-ch-9d87107f.js +66 -0
- package/dist/esm/ja-1401a8ec.js +72 -0
- package/dist/esm/ko-9f06170e.js +72 -0
- package/dist/esm/label-7f52ca53.js +179 -0
- package/dist/esm/languageSwitcher-d0ca5d6f.js +49 -0
- package/dist/esm/loadable-bbec26c5.js +93 -0
- package/dist/esm/loader-6a8f3dda.js +173 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-22b2e8b1.js +155 -0
- package/dist/esm/locale-92d419e3.js +1423 -0
- package/dist/esm/locale-9f52f113.js +591 -0
- package/dist/esm/logger-5eff868b.js +59 -0
- package/dist/esm/lt-61945627.js +97 -0
- package/dist/esm/lv-def8646d.js +66 -0
- package/dist/esm/map-select-tools_3.entry.js +7 -7
- package/dist/esm/mk-db09f1f6.js +66 -0
- package/dist/esm/nb-ea4966a3.js +67 -0
- package/dist/esm/nl-159f195e.js +67 -0
- package/dist/esm/observers-4e931eb6.js +56 -0
- package/dist/esm/openCloseComponent-2022c9ab.js +64 -0
- package/dist/esm/openCloseComponent-9ae0e1fe.js +63 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-5514150f.js +114 -0
- package/dist/esm/popupUtils-685635b7.js +119 -0
- package/dist/esm/pt-91415524.js +67 -0
- package/dist/esm/pt-br-0f472af4.js +65 -0
- package/dist/esm/public-notification.entry.js +5 -5
- package/dist/esm/publicNotificationStore-836d3cb4.js +45 -0
- package/dist/esm/request-d71d6adf.js +19 -0
- package/dist/esm/ro-decfcb47.js +66 -0
- package/dist/esm/ru-84ce786d.js +126 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-4dbefca0.js +339 -0
- package/dist/esm/sk-4468c163.js +148 -0
- package/dist/esm/sl-404f285f.js +168 -0
- package/dist/esm/solution-configuration.entry.js +4 -4
- package/dist/esm/solution-contents_3.entry.js +4 -4
- package/dist/esm/solution-item-accordion.entry.js +2 -2
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solution-store-5b79fffe.js +1352 -0
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/sr-152d8bf8.js +101 -0
- package/dist/esm/store-manager.entry.js +3 -3
- package/dist/esm/sv-47115030.js +71 -0
- package/dist/esm/t9n-cbccd1ca.js +103 -0
- package/dist/esm/th-1c539f57.js +65 -0
- package/dist/esm/time-53cad131.js +286 -0
- package/dist/esm/tr-432df990.js +66 -0
- package/dist/esm/uk-46c024d3.js +104 -0
- package/dist/esm/utils-0e3d8992.js +142 -0
- package/dist/esm/utils-d55c5742.js +66 -0
- package/dist/esm/vi-2ad870b8.js +70 -0
- package/dist/esm/zh-cn-1955c2ce.js +94 -0
- package/dist/esm/zh-hk-b32fb4c1.js +92 -0
- package/dist/esm/zh-tw-67bdf163.js +92 -0
- package/dist/solutions-components/p-000848d5.js +6 -0
- package/dist/solutions-components/p-01021fdb.js +6 -0
- package/dist/solutions-components/p-02800894.entry.js +11 -0
- package/dist/solutions-components/p-03434d39.js +11 -0
- package/dist/solutions-components/p-060b853f.entry.js +6 -0
- package/dist/solutions-components/p-0bd7c945.js +6 -0
- package/dist/solutions-components/p-0c985f61.entry.js +6 -0
- package/dist/solutions-components/p-0ca3272e.entry.js +6 -0
- package/dist/solutions-components/p-0ebb1a18.js +11 -0
- package/dist/solutions-components/p-1092fdc9.entry.js +6 -0
- package/dist/solutions-components/p-1482f3cf.js +20 -0
- package/dist/solutions-components/p-16afbc95.entry.js +6 -0
- package/dist/solutions-components/p-18c10df7.entry.js +6 -0
- package/dist/solutions-components/p-194bcdd6.entry.js +12 -0
- package/dist/solutions-components/p-197cfd05.js +6 -0
- package/dist/solutions-components/p-1afc6682.js +6 -0
- package/dist/solutions-components/p-1c80d549.entry.js +17 -0
- package/dist/solutions-components/p-1cbec431.entry.js +6 -0
- package/dist/solutions-components/p-1e60d3ea.js +6 -0
- package/dist/solutions-components/p-23c2e69d.entry.js +11 -0
- package/dist/solutions-components/p-23d24056.entry.js +11 -0
- package/dist/solutions-components/p-25ebeb0c.entry.js +11 -0
- package/dist/solutions-components/p-25f84466.entry.js +11 -0
- package/dist/solutions-components/p-25fe9f3e.entry.js +6 -0
- package/dist/solutions-components/p-291faeb2.js +6 -0
- package/dist/solutions-components/p-2a6eba20.entry.js +11 -0
- package/dist/solutions-components/p-2b389ce5.entry.js +11 -0
- package/dist/solutions-components/p-2b77a660.entry.js +11 -0
- package/dist/solutions-components/p-2c78f92c.entry.js +11 -0
- package/dist/solutions-components/p-2e193975.entry.js +17 -0
- package/dist/solutions-components/p-32262047.entry.js +11 -0
- package/dist/solutions-components/p-36470f6b.js +6 -0
- package/dist/solutions-components/p-36552016.entry.js +12 -0
- package/dist/solutions-components/p-37ddeea3.js +488 -0
- package/dist/solutions-components/p-3812d485.entry.js +6 -0
- package/dist/solutions-components/p-3948268c.entry.js +6 -0
- package/dist/solutions-components/p-3b312dff.js +6 -0
- package/dist/solutions-components/p-3b451796.js +6 -0
- package/dist/solutions-components/p-3b54163f.js +11 -0
- package/dist/solutions-components/p-3b859054.js +16 -0
- package/dist/solutions-components/p-3cf3c658.entry.js +29 -0
- package/dist/solutions-components/p-3d6698a7.js +11 -0
- package/dist/solutions-components/p-3dfe5cdb.js +6 -0
- package/dist/solutions-components/p-3e4ac28d.entry.js +6 -0
- package/dist/solutions-components/p-3f0f6504.js +6 -0
- package/dist/solutions-components/p-3f18fb1f.js +11 -0
- package/dist/solutions-components/p-3f20a550.entry.js +6 -0
- package/dist/solutions-components/p-3fc70768.entry.js +6 -0
- package/dist/solutions-components/p-405118a8.entry.js +11 -0
- package/dist/solutions-components/p-412759ed.entry.js +11 -0
- package/dist/solutions-components/p-419df1ac.js +11 -0
- package/dist/solutions-components/p-46da7d9f.entry.js +6 -0
- package/dist/solutions-components/p-47fdc484.js +17 -0
- package/dist/solutions-components/p-4858ae16.js +6 -0
- package/dist/solutions-components/p-49888ae8.entry.js +11 -0
- package/dist/solutions-components/p-4a13d8d9.js +6 -0
- package/dist/solutions-components/p-4b1a9c65.js +6 -0
- package/dist/solutions-components/p-4d14be12.entry.js +11 -0
- package/dist/solutions-components/p-50721c04.js +16 -0
- package/dist/solutions-components/p-531c7fdb.js +11 -0
- package/dist/solutions-components/p-535335f2.js +6 -0
- package/dist/solutions-components/p-53bf0fe4.js +6 -0
- package/dist/solutions-components/p-544e3025.entry.js +11 -0
- package/dist/solutions-components/p-55a6c0d1.entry.js +6 -0
- package/dist/solutions-components/p-55b8fab3.entry.js +6 -0
- package/dist/solutions-components/p-564d285a.entry.js +6 -0
- package/dist/solutions-components/p-56b44bf7.entry.js +11 -0
- package/dist/solutions-components/p-57079c91.entry.js +6 -0
- package/dist/solutions-components/p-5732176e.entry.js +47 -0
- package/dist/solutions-components/p-57409415.js +17 -0
- package/dist/solutions-components/p-576843e9.js +11 -0
- package/dist/solutions-components/p-5773023c.entry.js +11 -0
- package/dist/solutions-components/p-5c20cdef.entry.js +11 -0
- package/dist/solutions-components/p-5d1ab17e.entry.js +21 -0
- package/dist/solutions-components/p-5dd95ca6.entry.js +20 -0
- package/dist/solutions-components/p-5f9afbb9.entry.js +17 -0
- package/dist/solutions-components/p-6155f4e7.js +6 -0
- package/dist/solutions-components/p-619b12c3.entry.js +17 -0
- package/dist/solutions-components/p-61bd743b.entry.js +22 -0
- package/dist/solutions-components/p-64860143.entry.js +11 -0
- package/dist/solutions-components/p-64a569da.entry.js +6 -0
- package/dist/solutions-components/p-6a1a4124.js +6 -0
- package/dist/solutions-components/p-6b8a94f0.entry.js +6 -0
- package/dist/solutions-components/p-6e842050.entry.js +11 -0
- package/dist/solutions-components/p-721bf278.js +6 -0
- package/dist/solutions-components/p-731eb030.js +11 -0
- package/dist/solutions-components/p-73db9e69.entry.js +11 -0
- package/dist/solutions-components/p-73e24177.js +6 -0
- package/dist/solutions-components/p-74b25167.entry.js +11 -0
- package/dist/solutions-components/p-760f833e.js +6 -0
- package/dist/solutions-components/p-7781048a.js +11 -0
- package/dist/solutions-components/p-779c8194.entry.js +6 -0
- package/dist/solutions-components/p-7a1177c0.entry.js +6 -0
- package/dist/solutions-components/p-7c7549b0.js +61 -0
- package/dist/solutions-components/p-7e574f00.js +11 -0
- package/dist/solutions-components/p-80913362.entry.js +11 -0
- package/dist/solutions-components/p-80e05130.entry.js +11 -0
- package/dist/solutions-components/p-81a2f4c3.entry.js +12 -0
- package/dist/solutions-components/p-81c41f7b.entry.js +11 -0
- package/dist/solutions-components/p-82ee3b26.js +7 -0
- package/dist/solutions-components/p-8354374d.entry.js +6 -0
- package/dist/solutions-components/p-844b7f82.entry.js +6 -0
- package/dist/solutions-components/p-8535b484.entry.js +17 -0
- package/dist/solutions-components/p-853db1b6.entry.js +6 -0
- package/dist/solutions-components/p-85c0d237.entry.js +11 -0
- package/dist/solutions-components/p-885b958c.entry.js +6 -0
- package/dist/solutions-components/p-88e8400a.entry.js +11 -0
- package/dist/solutions-components/p-899179d7.js +6 -0
- package/dist/solutions-components/p-8a9d2564.entry.js +11 -0
- package/dist/solutions-components/p-8b60e48a.entry.js +11 -0
- package/dist/solutions-components/p-8d028e6a.entry.js +11 -0
- package/dist/solutions-components/p-8f7a11c9.js +21 -0
- package/dist/solutions-components/p-90240f7f.entry.js +6 -0
- package/dist/solutions-components/p-917b535b.js +11 -0
- package/dist/solutions-components/p-926e65eb.js +6 -0
- package/dist/solutions-components/p-929b5bd1.entry.js +6 -0
- package/dist/solutions-components/p-92c8093d.entry.js +6 -0
- package/dist/solutions-components/p-934a6d75.js +6 -0
- package/dist/solutions-components/p-938fc0cf.entry.js +6 -0
- package/dist/solutions-components/p-94b818bb.js +11 -0
- package/dist/solutions-components/p-973ec320.js +36 -0
- package/dist/solutions-components/p-97b64bea.entry.js +11 -0
- package/dist/solutions-components/p-97e56ccc.js +6 -0
- package/dist/solutions-components/p-9b513db6.entry.js +16 -0
- package/dist/solutions-components/p-9c33a239.entry.js +6 -0
- package/dist/solutions-components/p-9cc10554.js +6 -0
- package/dist/solutions-components/p-9f38488c.js +6 -0
- package/dist/solutions-components/p-a104bc28.js +6 -0
- package/dist/solutions-components/p-a1e6cfd8.js +6 -0
- package/dist/solutions-components/p-a3633e71.entry.js +6 -0
- package/dist/solutions-components/p-a3bc6dd8.entry.js +29 -0
- package/dist/solutions-components/p-a412c674.js +11 -0
- package/dist/solutions-components/p-a4748493.entry.js +11 -0
- package/dist/solutions-components/p-a570536b.js +6 -0
- package/dist/solutions-components/p-a60d197e.entry.js +6 -0
- package/dist/solutions-components/p-a806b4cf.entry.js +17 -0
- package/dist/solutions-components/p-a927a4e4.entry.js +6 -0
- package/dist/solutions-components/p-aaa0d91b.entry.js +11 -0
- package/dist/solutions-components/p-ab2a12e4.entry.js +17 -0
- package/dist/solutions-components/p-abcf272c.entry.js +23 -0
- package/dist/solutions-components/p-ad536cdf.js +11 -0
- package/dist/solutions-components/p-aef6e1f5.js +6 -0
- package/dist/solutions-components/p-b13d3b66.js +6 -0
- package/dist/solutions-components/p-b2064f52.entry.js +6 -0
- package/dist/solutions-components/p-b209d4b9.js +6 -0
- package/dist/solutions-components/p-b2a1177d.entry.js +11 -0
- package/dist/solutions-components/p-b54b2fc6.js +31 -0
- package/dist/solutions-components/p-b56b9a89.js +11 -0
- package/dist/solutions-components/p-b5fe0c3e.entry.js +6 -0
- package/dist/solutions-components/p-b6ea0097.js +6 -0
- package/dist/solutions-components/p-b7b32972.entry.js +6 -0
- package/dist/solutions-components/p-b7b5e88d.entry.js +11 -0
- package/dist/solutions-components/p-b9afb782.entry.js +6 -0
- package/dist/solutions-components/p-b9b3b48a.entry.js +6 -0
- package/dist/solutions-components/p-ba62b5f4.js +16 -0
- package/dist/solutions-components/p-bb9e232f.js +6 -0
- package/dist/solutions-components/p-bba22752.js +6 -0
- package/dist/solutions-components/p-bc47653a.js +6 -0
- package/dist/solutions-components/p-bccc997c.js +6 -0
- package/dist/solutions-components/p-bd220980.js +21 -0
- package/dist/solutions-components/p-bd6a96db.js +6 -0
- package/dist/solutions-components/p-bded7c22.entry.js +6 -0
- package/dist/solutions-components/p-be28e2bf.js +6 -0
- package/dist/solutions-components/p-be7c3f1d.js +6 -0
- package/dist/solutions-components/p-c023fc82.js +6 -0
- package/dist/solutions-components/p-c1160ad0.entry.js +6 -0
- package/dist/solutions-components/p-c26b8546.entry.js +6 -0
- package/dist/solutions-components/p-c2ff1a82.js +6 -0
- package/dist/solutions-components/p-c323117d.js +16 -0
- package/dist/solutions-components/p-c5713c95.entry.js +11 -0
- package/dist/solutions-components/p-c8c16d43.js +11 -0
- package/dist/solutions-components/p-c9b5a34f.js +52 -0
- package/dist/solutions-components/p-ca26f8f8.js +6 -0
- package/dist/solutions-components/p-cb007d2f.js +6 -0
- package/dist/solutions-components/p-cc9e1367.entry.js +6 -0
- package/dist/solutions-components/p-cdadd82c.entry.js +17 -0
- package/dist/solutions-components/p-ce67bbbb.js +11 -0
- package/dist/solutions-components/p-cf46113c.js +6 -0
- package/dist/solutions-components/p-cfc2fae0.entry.js +17 -0
- package/dist/solutions-components/p-d21f3851.js +11 -0
- package/dist/solutions-components/p-d2c460b9.entry.js +11 -0
- package/dist/solutions-components/p-d4c44a94.js +6 -0
- package/dist/solutions-components/p-dca07fd3.js +143 -0
- package/dist/solutions-components/p-dcfe9514.entry.js +6 -0
- package/dist/solutions-components/p-dd0bee4a.entry.js +6 -0
- package/dist/solutions-components/p-de2fecc0.js +40 -0
- package/dist/solutions-components/p-de44364f.js +11 -0
- package/dist/solutions-components/p-decc356d.entry.js +11 -0
- package/dist/solutions-components/p-e043aae3.js +6 -0
- package/dist/solutions-components/p-e04831b9.js +6 -0
- package/dist/solutions-components/p-e06f90a2.entry.js +11 -0
- package/dist/solutions-components/p-e0e6d099.js +21 -0
- package/dist/solutions-components/p-e21cb40e.entry.js +11 -0
- package/dist/solutions-components/p-e33b7602.js +6 -0
- package/dist/solutions-components/p-e385cdcf.entry.js +11 -0
- package/dist/solutions-components/p-e3e89708.entry.js +11 -0
- package/dist/solutions-components/p-e4206773.entry.js +11 -0
- package/dist/solutions-components/p-e4c16e8f.entry.js +6 -0
- package/dist/solutions-components/p-e6b2432e.entry.js +6 -0
- package/dist/solutions-components/p-e76f93bc.js +11 -0
- package/dist/solutions-components/p-e82a84ac.entry.js +6 -0
- package/dist/solutions-components/p-eb1edf3e.entry.js +6 -0
- package/dist/solutions-components/p-ebac7396.entry.js +6 -0
- package/dist/solutions-components/p-ecabb824.entry.js +6 -0
- package/dist/solutions-components/p-ecfe49cf.entry.js +6 -0
- package/dist/solutions-components/p-ed50a65b.entry.js +17 -0
- package/dist/solutions-components/p-eda5e49e.entry.js +11 -0
- package/dist/solutions-components/p-ef51b934.js +6 -0
- package/dist/solutions-components/p-f22622b4.js +6 -0
- package/dist/solutions-components/p-f2340619.js +6 -0
- package/dist/solutions-components/p-f33c5883.entry.js +6 -0
- package/dist/solutions-components/p-f4eea8c2.js +67 -0
- package/dist/solutions-components/p-f7653a0b.js +6 -0
- package/dist/solutions-components/p-f876de3f.js +6 -0
- package/dist/solutions-components/p-f87f02a1.entry.js +6 -0
- package/dist/solutions-components/p-faaf42a3.entry.js +11 -0
- package/dist/solutions-components/p-fcd719b7.entry.js +22 -0
- package/dist/solutions-components/p-fd152d68.js +16 -0
- package/dist/solutions-components/p-fdf5a50e.entry.js +11 -0
- package/dist/solutions-components/p-fe43b510.js +17 -0
- package/dist/solutions-components/p-ff609816.entry.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/package.json +5 -5
- 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/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-input-time-picker-42ed419f.js +0 -1870
- 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/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.es-8336efed.js +0 -11307
- 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/ro-7f726306.js +0 -68
- package/dist/cjs/ru-fc11963d.js +0 -128
- 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-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/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/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/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-input-time-picker-c45e1964.js +0 -1867
- 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/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.es-0d189a34.js +0 -11220
- 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/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/ro-31fe0dcc.js +0 -66
- package/dist/esm/ru-e73bc075.js +0 -126
- 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-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/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-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-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-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-9c25ee2c.entry.js +0 -6
- package/dist/solutions-components/p-9c5d5171.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-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-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
@@ -1,1352 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { c as createStore } from './index-39bc2e6d.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-f5809979.js';
|
9
|
-
import './index-e14fade9.js';
|
10
|
-
import { c as cleanUrl, r as request, d as blobToFile, f as checkUrlPathTermination, h as getThumbnailFile, i as getItemDataAsJson, b as getPropWithDefault, s as setCreateProp, a as getProp, j as setProp } from './restHelpersGet-48113381.js';
|
11
|
-
|
12
|
-
/*! *****************************************************************************
|
13
|
-
Copyright (c) Microsoft Corporation.
|
14
|
-
|
15
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
16
|
-
purpose with or without fee is hereby granted.
|
17
|
-
|
18
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
19
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
20
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
21
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
22
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
23
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
24
|
-
PERFORMANCE OF THIS SOFTWARE.
|
25
|
-
***************************************************************************** */
|
26
|
-
|
27
|
-
var __assign = function() {
|
28
|
-
__assign = Object.assign || function __assign(t) {
|
29
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
30
|
-
s = arguments[i];
|
31
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
32
|
-
}
|
33
|
-
return t;
|
34
|
-
};
|
35
|
-
return __assign.apply(this, arguments);
|
36
|
-
};
|
37
|
-
|
38
|
-
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
|
39
|
-
* Apache-2.0 */
|
40
|
-
/**
|
41
|
-
* Helper that returns the appropriate portal url for a given request. `requestOptions.portal` is given
|
42
|
-
* precedence over `authentication.portal`. If neither `portal` nor `authentication` is present,
|
43
|
-
* `www.arcgis.com/sharing/rest` is returned.
|
44
|
-
*
|
45
|
-
* @param requestOptions - Request options that may have authentication manager
|
46
|
-
* @returns Portal url to be used in API requests
|
47
|
-
*/
|
48
|
-
function getPortalUrl(requestOptions) {
|
49
|
-
if (requestOptions === void 0) { requestOptions = {}; }
|
50
|
-
// use portal in options if specified
|
51
|
-
if (requestOptions.portal) {
|
52
|
-
return cleanUrl(requestOptions.portal);
|
53
|
-
}
|
54
|
-
// if auth was passed, use that portal
|
55
|
-
if (requestOptions.authentication) {
|
56
|
-
// the portal url is already scrubbed in the auth package
|
57
|
-
return requestOptions.authentication.portal;
|
58
|
-
}
|
59
|
-
// default to arcgis.com
|
60
|
-
return "https://www.arcgis.com/sharing/rest";
|
61
|
-
}
|
62
|
-
|
63
|
-
/* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
|
64
|
-
* Apache-2.0 */
|
65
|
-
/**
|
66
|
-
* Serialize an item and its data into a json format accepted by the Portal API for create and update operations
|
67
|
-
*
|
68
|
-
* @param item Item to be serialized
|
69
|
-
* @returns a formatted json object to be sent to Portal
|
70
|
-
*/
|
71
|
-
function serializeItem(item) {
|
72
|
-
// create a clone so we're not messing with the original
|
73
|
-
var clone = JSON.parse(JSON.stringify(item));
|
74
|
-
// binary data needs POSTed as a `file`
|
75
|
-
// JSON object literals should be passed as `text`.
|
76
|
-
if (clone.data) {
|
77
|
-
(typeof Blob !== "undefined" && item.data instanceof Blob) ||
|
78
|
-
// Node.js doesn't implement Blob
|
79
|
-
item.data.constructor.name === "ReadStream"
|
80
|
-
? (clone.file = item.data)
|
81
|
-
: (clone.text = item.data);
|
82
|
-
delete clone.data;
|
83
|
-
}
|
84
|
-
return clone;
|
85
|
-
}
|
86
|
-
/**
|
87
|
-
* `requestOptions.owner` is given priority, `requestOptions.item.owner` will be checked next. If neither are present, `authentication.getUserName()` will be used instead.
|
88
|
-
*/
|
89
|
-
function determineOwner(requestOptions) {
|
90
|
-
if (requestOptions.owner) {
|
91
|
-
return Promise.resolve(requestOptions.owner);
|
92
|
-
}
|
93
|
-
else if (requestOptions.item && requestOptions.item.owner) {
|
94
|
-
return Promise.resolve(requestOptions.item.owner);
|
95
|
-
}
|
96
|
-
else if (requestOptions.authentication &&
|
97
|
-
requestOptions.authentication.getUsername) {
|
98
|
-
return requestOptions.authentication.getUsername();
|
99
|
-
}
|
100
|
-
else {
|
101
|
-
return Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."));
|
102
|
-
}
|
103
|
-
}
|
104
|
-
/**
|
105
|
-
* checks if the extent is a valid BBox (2 element array of coordinate pair arrays)
|
106
|
-
* @param extent
|
107
|
-
* @returns
|
108
|
-
*/
|
109
|
-
function isBBox(extent) {
|
110
|
-
return (Array.isArray(extent) &&
|
111
|
-
Array.isArray(extent[0]) &&
|
112
|
-
Array.isArray(extent[1]));
|
113
|
-
}
|
114
|
-
/**
|
115
|
-
* Given a Bbox, convert it to a string. Some api endpoints expect a string
|
116
|
-
*
|
117
|
-
* @param {BBox} extent
|
118
|
-
* @return {*} {string}
|
119
|
-
*/
|
120
|
-
function bboxToString(extent) {
|
121
|
-
return extent.join(",");
|
122
|
-
}
|
123
|
-
|
124
|
-
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
|
125
|
-
* Apache-2.0 */
|
126
|
-
/**
|
127
|
-
* ```js
|
128
|
-
* import { updateItem } from "@esri/arcgis-rest-portal";
|
129
|
-
* //
|
130
|
-
* updateItem({
|
131
|
-
* item: {
|
132
|
-
* id: "3ef",
|
133
|
-
* description: "A three hour tour"
|
134
|
-
* },
|
135
|
-
* authentication
|
136
|
-
* })
|
137
|
-
* .then(response)
|
138
|
-
* ```
|
139
|
-
* Update an Item. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/update-item.htm) for more information.
|
140
|
-
*
|
141
|
-
* @param requestOptions - Options for the request.
|
142
|
-
* @returns A Promise that updates an item.
|
143
|
-
*/
|
144
|
-
function updateItem$1(requestOptions) {
|
145
|
-
return determineOwner(requestOptions).then(function (owner) {
|
146
|
-
var url = requestOptions.folderId
|
147
|
-
? getPortalUrl(requestOptions) + "/content/users/" + owner + "/" + requestOptions.folderId + "/items/" + requestOptions.item.id + "/update"
|
148
|
-
: getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.item.id + "/update";
|
149
|
-
// serialize the item into something Portal will accept
|
150
|
-
requestOptions.params = __assign(__assign({}, requestOptions.params), serializeItem(requestOptions.item));
|
151
|
-
// convert extent, if present, into a string from bbox
|
152
|
-
// processParams was previously doing this sort of work,
|
153
|
-
// however now we need to let array of arrays through
|
154
|
-
// Thus for extents we need to move this logic here
|
155
|
-
if (requestOptions.params.extent && isBBox(requestOptions.params.extent)) {
|
156
|
-
requestOptions.params.extent = bboxToString(requestOptions.params.extent);
|
157
|
-
}
|
158
|
-
/* istanbul ignore if */
|
159
|
-
if (requestOptions.params.file &&
|
160
|
-
requestOptions.params.file.constructor &&
|
161
|
-
requestOptions.params.file.constructor.name === 'ReadStream') {
|
162
|
-
// dataSize is not an official parameter for the ArcGIS REST API but is needed
|
163
|
-
// to encode the ReadStream with an appropriate length. This is to overcome
|
164
|
-
// the form-data library bug:
|
165
|
-
// https://github.com/form-data/form-data/issues/508
|
166
|
-
requestOptions.params.dataSize = requestOptions.dataSize;
|
167
|
-
}
|
168
|
-
return request(url, requestOptions);
|
169
|
-
});
|
170
|
-
}
|
171
|
-
/**
|
172
|
-
* ```js
|
173
|
-
* import { updateItemResource } from "@esri/arcgis-rest-portal";
|
174
|
-
* //
|
175
|
-
* updateItemResource({
|
176
|
-
* id: '3ef',
|
177
|
-
* resource: file,
|
178
|
-
* name: 'bigkahuna.jpg',
|
179
|
-
* authentication
|
180
|
-
* })
|
181
|
-
* .then(response)
|
182
|
-
* ```
|
183
|
-
* Update a resource associated with an item. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/update-resources.htm) for more information.
|
184
|
-
*
|
185
|
-
* @param requestOptions - Options for the request
|
186
|
-
* @returns A Promise that updates an item resource.
|
187
|
-
*/
|
188
|
-
function updateItemResource(requestOptions) {
|
189
|
-
return determineOwner(requestOptions).then(function (owner) {
|
190
|
-
var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/updateResources";
|
191
|
-
// mix in user supplied params
|
192
|
-
requestOptions.params = __assign({ file: requestOptions.resource, fileName: requestOptions.name, resourcesPrefix: requestOptions.prefix, text: requestOptions.content }, requestOptions.params);
|
193
|
-
// only override the access specified previously if 'private' is passed explicitly
|
194
|
-
if (typeof requestOptions.private !== "undefined") {
|
195
|
-
requestOptions.params.access = requestOptions.private
|
196
|
-
? "private"
|
197
|
-
: "inherit";
|
198
|
-
}
|
199
|
-
return request(url, requestOptions);
|
200
|
-
});
|
201
|
-
}
|
202
|
-
|
203
|
-
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
|
204
|
-
* Apache-2.0 */
|
205
|
-
/**
|
206
|
-
* ```js
|
207
|
-
* import { addItemResource } from "@esri/arcgis-rest-portal";
|
208
|
-
* //
|
209
|
-
* // Add a file resource
|
210
|
-
* addItemResource({
|
211
|
-
* id: '3ef',
|
212
|
-
* resource: file,
|
213
|
-
* name: 'bigkahuna.jpg',
|
214
|
-
* authentication
|
215
|
-
* })
|
216
|
-
* .then(response)
|
217
|
-
* //
|
218
|
-
* // Add a text resource
|
219
|
-
* addItemResource({
|
220
|
-
* id: '4fg',
|
221
|
-
* content: "Text content",
|
222
|
-
* name: 'bigkahuna.txt',
|
223
|
-
* authentication
|
224
|
-
* })
|
225
|
-
* .then(response)
|
226
|
-
* ```
|
227
|
-
* Add a resource associated with an item. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm) for more information.
|
228
|
-
*
|
229
|
-
* @param requestOptions - Options for the request
|
230
|
-
* @returns A Promise to add item resources.
|
231
|
-
*/
|
232
|
-
function addItemResource(requestOptions) {
|
233
|
-
return determineOwner(requestOptions).then(function (owner) {
|
234
|
-
var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/addResources";
|
235
|
-
requestOptions.params = __assign({ file: requestOptions.resource, fileName: requestOptions.name, resourcesPrefix: requestOptions.prefix, text: requestOptions.content, access: requestOptions.private ? "private" : "inherit" }, requestOptions.params);
|
236
|
-
return request(url, requestOptions);
|
237
|
-
});
|
238
|
-
}
|
239
|
-
|
240
|
-
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
|
241
|
-
* Apache-2.0 */
|
242
|
-
/**
|
243
|
-
* Remove a resource associated with an item
|
244
|
-
*
|
245
|
-
* @param requestOptions - Options for the request
|
246
|
-
* @returns A Promise that deletes an item resource.
|
247
|
-
*/
|
248
|
-
function removeItemResource(requestOptions) {
|
249
|
-
return determineOwner(requestOptions).then(function (owner) {
|
250
|
-
var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/removeResources";
|
251
|
-
// mix in user supplied params
|
252
|
-
requestOptions.params = __assign(__assign({}, requestOptions.params), { resource: requestOptions.resource });
|
253
|
-
// only override the deleteAll param specified previously if it is passed explicitly
|
254
|
-
if (typeof requestOptions.deleteAll !== "undefined") {
|
255
|
-
requestOptions.params.deleteAll = requestOptions.deleteAll;
|
256
|
-
}
|
257
|
-
return request(url, requestOptions);
|
258
|
-
});
|
259
|
-
}
|
260
|
-
|
261
|
-
/* Copyright (c) 2018-2019 Environmental Systems Research Institute, Inc.
|
262
|
-
* Apache-2.0 */
|
263
|
-
/**
|
264
|
-
* Returns an array with arrays of the given size.
|
265
|
-
*
|
266
|
-
* @param arr Array to split
|
267
|
-
* @param size Size of every group
|
268
|
-
*/
|
269
|
-
function chunkArray(arr, size) {
|
270
|
-
const results = [];
|
271
|
-
let index = 0;
|
272
|
-
while (index < arr.length) {
|
273
|
-
results.push(arr.slice(index, index + size));
|
274
|
-
index += size;
|
275
|
-
}
|
276
|
-
return results;
|
277
|
-
}
|
278
|
-
|
279
|
-
/** @license
|
280
|
-
* Copyright 2018 Esri
|
281
|
-
*
|
282
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
283
|
-
* you may not use this file except in compliance with the License.
|
284
|
-
* You may obtain a copy of the License at
|
285
|
-
*
|
286
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
287
|
-
*
|
288
|
-
* Unless required by applicable law or agreed to in writing, software
|
289
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
290
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
291
|
-
* See the License for the specific language governing permissions and
|
292
|
-
* limitations under the License.
|
293
|
-
*/
|
294
|
-
/**
|
295
|
-
* Updates an item.
|
296
|
-
*
|
297
|
-
* @param itemInfo The base info of an item; note that this content will be serialized, which doesn't work
|
298
|
-
* for binary content
|
299
|
-
* @param authentication Credentials for request
|
300
|
-
* @param folderId Item's folder
|
301
|
-
* @param additionalParams Updates that are put under the `params` property, which is not serialized
|
302
|
-
* @return
|
303
|
-
*/
|
304
|
-
function updateItem(itemInfo, authentication, folderId, additionalParams) {
|
305
|
-
return new Promise((resolve, reject) => {
|
306
|
-
const updateOptions = {
|
307
|
-
item: itemInfo,
|
308
|
-
folderId: folderId,
|
309
|
-
authentication: authentication,
|
310
|
-
params: {
|
311
|
-
...(additionalParams ?? {}),
|
312
|
-
},
|
313
|
-
};
|
314
|
-
updateItem$1(updateOptions).then((response) => (response.success ? resolve(response) : reject(response)), (err) => reject(err));
|
315
|
-
});
|
316
|
-
}
|
317
|
-
|
318
|
-
/** @license
|
319
|
-
* Copyright 2021 Esri
|
320
|
-
*
|
321
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
322
|
-
* you may not use this file except in compliance with the License.
|
323
|
-
* You may obtain a copy of the License at
|
324
|
-
*
|
325
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
326
|
-
*
|
327
|
-
* Unless required by applicable law or agreed to in writing, software
|
328
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
329
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
330
|
-
* See the License for the specific language governing permissions and
|
331
|
-
* limitations under the License.
|
332
|
-
*/
|
333
|
-
// ------------------------------------------------------------------------------------------------------------------ //
|
334
|
-
/**
|
335
|
-
* Generates IAssociatedFileCopyResults object.
|
336
|
-
*
|
337
|
-
* @param fileInfo Info about item that was to be copied
|
338
|
-
* @param fetchedFromSource Status of fetching item from source
|
339
|
-
* @param copiedToDestination Status of copying item to destination
|
340
|
-
* @returns IAssociatedFileCopyResults object
|
341
|
-
*/
|
342
|
-
function createCopyResults(fileInfo, fetchedFromSource, copiedToDestination) {
|
343
|
-
return {
|
344
|
-
...fileInfo,
|
345
|
-
fetchedFromSource,
|
346
|
-
copiedToDestination,
|
347
|
-
};
|
348
|
-
}
|
349
|
-
|
350
|
-
/** @license
|
351
|
-
* Copyright 2020 Esri
|
352
|
-
*
|
353
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
354
|
-
* you may not use this file except in compliance with the License.
|
355
|
-
* You may obtain a copy of the License at
|
356
|
-
*
|
357
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
358
|
-
*
|
359
|
-
* Unless required by applicable law or agreed to in writing, software
|
360
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
361
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
362
|
-
* See the License for the specific language governing permissions and
|
363
|
-
* limitations under the License.
|
364
|
-
*/
|
365
|
-
/**
|
366
|
-
* Extracts an item's resource folder and filename from the filename used to store a copy in a storage item.
|
367
|
-
*
|
368
|
-
* @param storageResourceFilename Filename used to store the resource, metadata, or thumbnail of an item
|
369
|
-
* @param storageVersion Version of the Solution template
|
370
|
-
* @returns Folder and filename for storing information in an item, as well as the type (resource, metadata,
|
371
|
-
* or thumbnail) of the information; the folder property is only meaningful for the resource type
|
372
|
-
* @see generateResourceStorageFilename
|
373
|
-
* @see generateMetadataStorageFilename
|
374
|
-
* @see generateThumbnailStorageFilename
|
375
|
-
* @see convertItemResourceToStorageResource
|
376
|
-
*/
|
377
|
-
function convertStorageResourceToItemResource(storageResourceFilename, storageVersion = 0) {
|
378
|
-
const nameParts = storageResourceFilename.split("/");
|
379
|
-
let filename = nameParts.pop();
|
380
|
-
let folder = "";
|
381
|
-
const firstPrefixPart = nameParts.shift(); // undefined if there's no folder
|
382
|
-
// Handle special "folders"
|
383
|
-
let type = EFileType.Resource;
|
384
|
-
if (firstPrefixPart) {
|
385
|
-
if (firstPrefixPart.endsWith("_info_thumbnail")) {
|
386
|
-
type = EFileType.Thumbnail;
|
387
|
-
}
|
388
|
-
else if (firstPrefixPart.endsWith("_info_metadata")) {
|
389
|
-
type = EFileType.Metadata;
|
390
|
-
filename = "metadata.xml";
|
391
|
-
}
|
392
|
-
else if (firstPrefixPart.endsWith("_info_data")) {
|
393
|
-
type = EFileType.Data;
|
394
|
-
}
|
395
|
-
else if (firstPrefixPart.endsWith("_info_dataz")) {
|
396
|
-
filename = filename.replace(/\.zip$/, "");
|
397
|
-
type = EFileType.Data;
|
398
|
-
// Otherwise, strip off item id
|
399
|
-
}
|
400
|
-
else if (storageVersion < 1) {
|
401
|
-
// Version 0
|
402
|
-
const folderStart = firstPrefixPart.indexOf("_");
|
403
|
-
if (folderStart > 0) {
|
404
|
-
folder = firstPrefixPart.substr(folderStart + 1);
|
405
|
-
}
|
406
|
-
}
|
407
|
-
else {
|
408
|
-
// Version ≥ 1
|
409
|
-
folder = nameParts.join("/"); // folder is optional, in which case this will be ""
|
410
|
-
}
|
411
|
-
}
|
412
|
-
return { type, folder, filename };
|
413
|
-
}
|
414
|
-
|
415
|
-
/** @license
|
416
|
-
* Copyright 2021 Esri
|
417
|
-
*
|
418
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
419
|
-
* you may not use this file except in compliance with the License.
|
420
|
-
* You may obtain a copy of the License at
|
421
|
-
*
|
422
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
423
|
-
*
|
424
|
-
* Unless required by applicable law or agreed to in writing, software
|
425
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
426
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
427
|
-
* See the License for the specific language governing permissions and
|
428
|
-
* limitations under the License.
|
429
|
-
*/
|
430
|
-
// ------------------------------------------------------------------------------------------------------------------ //
|
431
|
-
/**
|
432
|
-
* Copies a resource into a zipfile.
|
433
|
-
*
|
434
|
-
* @param file Information about the source and destination of the file such as its URL, folder, filename
|
435
|
-
* @param zipInfo Information about a zipfile such as its name and its zip object
|
436
|
-
* @returns The result of the copy
|
437
|
-
*/
|
438
|
-
function copyResourceIntoZip(file, zipInfo) {
|
439
|
-
// Add it to the zip
|
440
|
-
if (file.folder) {
|
441
|
-
zipInfo.zip.folder(file.folder).file(file.filename, file.file, { binary: true });
|
442
|
-
}
|
443
|
-
else {
|
444
|
-
zipInfo.zip.file(file.filename, file.file, { binary: true });
|
445
|
-
}
|
446
|
-
zipInfo.filelist.push(file);
|
447
|
-
return createCopyResults(file, true);
|
448
|
-
}
|
449
|
-
|
450
|
-
/** @license
|
451
|
-
* Copyright 2021 Esri
|
452
|
-
*
|
453
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
454
|
-
* you may not use this file except in compliance with the License.
|
455
|
-
* You may obtain a copy of the License at
|
456
|
-
*
|
457
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
458
|
-
*
|
459
|
-
* Unless required by applicable law or agreed to in writing, software
|
460
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
461
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
462
|
-
* See the License for the specific language governing permissions and
|
463
|
-
* limitations under the License.
|
464
|
-
*/
|
465
|
-
// ------------------------------------------------------------------------------------------------------------------ //
|
466
|
-
/**
|
467
|
-
* Copies a zipfile into an AGO item.
|
468
|
-
*
|
469
|
-
* @param zipInfo Information about a zipfile such as its name and its zip object
|
470
|
-
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
471
|
-
* @param destinationAuthentication Credentials for the request to the storage
|
472
|
-
* @returns A promise which resolves to the result of the copy
|
473
|
-
*/
|
474
|
-
function copyZipIntoItem(zipInfo, destinationItemId, destinationAuthentication) {
|
475
|
-
return new Promise((resolve) => {
|
476
|
-
zipInfo.zip
|
477
|
-
.generateAsync({ type: "blob" })
|
478
|
-
.then((content) => {
|
479
|
-
return blobToFile(content, zipInfo.filename, "application/zip");
|
480
|
-
})
|
481
|
-
.then((zipfile) => {
|
482
|
-
const addResourceOptions = {
|
483
|
-
id: destinationItemId,
|
484
|
-
resource: zipfile,
|
485
|
-
authentication: destinationAuthentication,
|
486
|
-
params: {
|
487
|
-
archive: true,
|
488
|
-
},
|
489
|
-
};
|
490
|
-
return addItemResource(addResourceOptions);
|
491
|
-
})
|
492
|
-
.then(() => resolve(createCopyResults(zipInfo, true, true)), () => resolve(createCopyResults(zipInfo, true, false)));
|
493
|
-
});
|
494
|
-
}
|
495
|
-
|
496
|
-
/** @license
|
497
|
-
* Copyright 2021 Esri
|
498
|
-
*
|
499
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
500
|
-
* you may not use this file except in compliance with the License.
|
501
|
-
* You may obtain a copy of the License at
|
502
|
-
*
|
503
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
504
|
-
*
|
505
|
-
* Unless required by applicable law or agreed to in writing, software
|
506
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
507
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
508
|
-
* See the License for the specific language governing permissions and
|
509
|
-
* limitations under the License.
|
510
|
-
*/
|
511
|
-
// ------------------------------------------------------------------------------------------------------------------ //
|
512
|
-
/**
|
513
|
-
* Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item
|
514
|
-
* with a specified path by collecting files into zip files.
|
515
|
-
*
|
516
|
-
* @param files List of item files' URLs and folder/filenames for storing the files
|
517
|
-
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
518
|
-
* @param destinationAuthentication Credentials for the request to the storage
|
519
|
-
* @param filesPerZip Number of files to include per zip file; AGO limits zips to 50 files
|
520
|
-
* @returns A promise which resolves to a list of the result of the copies
|
521
|
-
*/
|
522
|
-
function copyFilesAsResources(files, destinationItemId, destinationAuthentication, filesPerZip = 40) {
|
523
|
-
return new Promise((resolve) => {
|
524
|
-
let awaitAllItems = [];
|
525
|
-
const zipInfos = [];
|
526
|
-
if (files.length > 0) {
|
527
|
-
// Bundle the resources into chunked zip updates because AGO tends to have problems with
|
528
|
-
// many updates in a row to the same item: it claims success despite randomly failing.
|
529
|
-
// Note that AGO imposes a limit of 50 files per zip, so we break the list of resource
|
530
|
-
// file info into chunks below this threshold and start a zip for each
|
531
|
-
// https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm
|
532
|
-
const chunkedResourceFiles = chunkArray(files, filesPerZip);
|
533
|
-
chunkedResourceFiles.forEach((chunk, index) => {
|
534
|
-
// Create a zip for this chunk
|
535
|
-
const zipInfo = {
|
536
|
-
filename: `resources${index}.zip`,
|
537
|
-
zip: new JSZip(),
|
538
|
-
filelist: [],
|
539
|
-
};
|
540
|
-
awaitAllItems = awaitAllItems.concat(chunk.map((file) => copyResourceIntoZip(file, zipInfo)));
|
541
|
-
zipInfos.push(zipInfo);
|
542
|
-
});
|
543
|
-
}
|
544
|
-
if (awaitAllItems.length > 0) {
|
545
|
-
// Wait until the Resource zip file(s) are prepared
|
546
|
-
void Promise.all(awaitAllItems).then((results) => {
|
547
|
-
// We have three types of results:
|
548
|
-
// | fetchedFromSource | copiedToDestination | interpretation | |
|
549
|
-
// +-------------------+---------------------+------------------------------------------------+
|
550
|
-
// | false | * | could not fetch file from source |
|
551
|
-
// | true | true | file has been fetched and sent to AGO |
|
552
|
-
// | true | undefined | file has been fetched and will be sent via zip |
|
553
|
-
// Filter out copiedToDestination===undefined; we'll get their status when we send their zip
|
554
|
-
results = results.filter((result) => !(result.fetchedFromSource && typeof result.copiedToDestination === "undefined"));
|
555
|
-
// Now send the resources to AGO
|
556
|
-
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
557
|
-
_copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
|
558
|
-
resolve(results.concat(zipResults));
|
559
|
-
});
|
560
|
-
});
|
561
|
-
}
|
562
|
-
else {
|
563
|
-
// No data, metadata, or resources to send; we're done
|
564
|
-
resolve([]);
|
565
|
-
}
|
566
|
-
});
|
567
|
-
}
|
568
|
-
/**
|
569
|
-
* Copies one or more zipfiles to a storage item.
|
570
|
-
*
|
571
|
-
* @param zipInfos List of zip files containing files to store
|
572
|
-
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
573
|
-
* @param destinationAuthentication Credentials for the request to the storage
|
574
|
-
* @returns A promise which resolves to a list of the result of the copies
|
575
|
-
* @private
|
576
|
-
*/
|
577
|
-
function _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication) {
|
578
|
-
return new Promise((resolve) => {
|
579
|
-
const results = [];
|
580
|
-
// Filter out empty zips, which can happen when none of the files in the chunk going into a zip
|
581
|
-
// can be fetched; e.g., the only file is metadata.xml, and the source item doesn't have metadata
|
582
|
-
const nonEmptyZipInfos = zipInfos.filter((zipInfo) => Object.keys(zipInfo.zip.files).length > 0);
|
583
|
-
if (nonEmptyZipInfos.length > 0) {
|
584
|
-
// Send the zip(s) to AGO
|
585
|
-
void _sendZipsSeriallyToItem(nonEmptyZipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
|
586
|
-
resolve(zipResults);
|
587
|
-
});
|
588
|
-
}
|
589
|
-
else {
|
590
|
-
// No resources to send; we're done
|
591
|
-
resolve(results);
|
592
|
-
}
|
593
|
-
});
|
594
|
-
}
|
595
|
-
/**
|
596
|
-
* Copies one or more zipfiles to a storage item in a serial fashion, waiting a bit between sends.
|
597
|
-
*
|
598
|
-
* @param zipInfos List of zip files containing files to store
|
599
|
-
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
600
|
-
* @param destinationAuthentication Credentials for the request to the storage
|
601
|
-
* @returns A promise which resolves to a list of the result of the copies
|
602
|
-
*/
|
603
|
-
function _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication) {
|
604
|
-
return new Promise((resolve) => {
|
605
|
-
let allResults = [];
|
606
|
-
// Remove zip from bottom of list
|
607
|
-
const zipInfoToSend = zipInfos.pop();
|
608
|
-
// Send predecessors in list
|
609
|
-
let sendOthersPromise = Promise.resolve([]);
|
610
|
-
if (zipInfos.length > 0) {
|
611
|
-
sendOthersPromise = _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication);
|
612
|
-
}
|
613
|
-
void sendOthersPromise
|
614
|
-
.then((response) => {
|
615
|
-
allResults = response;
|
616
|
-
// Stall a little to give AGO time to catch up
|
617
|
-
return new Promise((resolveSleep) => {
|
618
|
-
setTimeout(() => resolveSleep(), 1000);
|
619
|
-
});
|
620
|
-
})
|
621
|
-
.then(() => {
|
622
|
-
// Now send the zip removed from bottom of the input list
|
623
|
-
return copyZipIntoItem(zipInfoToSend, destinationItemId, destinationAuthentication);
|
624
|
-
})
|
625
|
-
.then((zipResult) => {
|
626
|
-
// Save the result of copying this zip as a status for each of the files that it contains
|
627
|
-
zipResult.filelist.forEach((fileInfo) => {
|
628
|
-
allResults.push(createCopyResults(fileInfo, true, zipResult.copiedToDestination));
|
629
|
-
});
|
630
|
-
resolve(allResults);
|
631
|
-
});
|
632
|
-
});
|
633
|
-
}
|
634
|
-
|
635
|
-
/** @license
|
636
|
-
* Copyright 2018 Esri
|
637
|
-
*
|
638
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
639
|
-
* you may not use this file except in compliance with the License.
|
640
|
-
* You may obtain a copy of the License at
|
641
|
-
*
|
642
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
643
|
-
*
|
644
|
-
* Unless required by applicable law or agreed to in writing, software
|
645
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
646
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
647
|
-
* See the License for the specific language governing permissions and
|
648
|
-
* limitations under the License.
|
649
|
-
*/
|
650
|
-
/**
|
651
|
-
* Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item
|
652
|
-
* with a specified path.
|
653
|
-
*
|
654
|
-
* @param files List of item files and paths for storing the files
|
655
|
-
* @param storageItemId Id of item to receive copy of resource/metadata
|
656
|
-
* @param storageAuthentication Credentials for the request to the storage
|
657
|
-
* @returns A promise which resolves to a list of the filenames under which the resource/metadata are stored
|
658
|
-
*/
|
659
|
-
function copyFilesToStorageItem(files, storageItemId, storageAuthentication) {
|
660
|
-
return new Promise((resolve) => {
|
661
|
-
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
662
|
-
void copyFilesAsResources(files, storageItemId, storageAuthentication).then((results) => {
|
663
|
-
resolve(results
|
664
|
-
// Filter out failures
|
665
|
-
.filter((result) => result.fetchedFromSource && result.copiedToDestination)
|
666
|
-
// Return folder and filename in storage item's resources
|
667
|
-
.map((result) => result.folder + "/" + result.filename));
|
668
|
-
});
|
669
|
-
});
|
670
|
-
}
|
671
|
-
/**
|
672
|
-
* Generates the URL for reading an item's resource given the filename of the resource.
|
673
|
-
*
|
674
|
-
* @param sourcePortalSharingUrl Server/sharing
|
675
|
-
* @param itemId Id of item
|
676
|
-
* @param sourceResourceFilename Either filename or folder/filename to resource
|
677
|
-
* @returns URL string
|
678
|
-
*/
|
679
|
-
function generateSourceResourceUrl(sourcePortalSharingUrl, itemId, sourceResourceFilename) {
|
680
|
-
return (checkUrlPathTermination(sourcePortalSharingUrl) + "content/items/" + itemId + "/resources/" + sourceResourceFilename);
|
681
|
-
}
|
682
|
-
/**
|
683
|
-
* Generates a list of full URLs and folder/filename combinations used to store the resources, metadata,
|
684
|
-
* and thumbnail of an item.
|
685
|
-
*
|
686
|
-
* @param portalSharingUrl Server/sharing
|
687
|
-
* @param storageItemId Id of storage item
|
688
|
-
* @param resourceFilenames List of resource filenames for an item, e.g., ["file1", "myFolder/file2"]
|
689
|
-
* @param storageVersion Version of the Solution template
|
690
|
-
* @returns List of item files' URLs and folder/filenames for storing the files
|
691
|
-
*/
|
692
|
-
function generateStorageFilePaths(portalSharingUrl, storageItemId, resourceFilenames = [], storageVersion = 0) {
|
693
|
-
return resourceFilenames.map((resourceFilename) => {
|
694
|
-
return {
|
695
|
-
url: generateSourceResourceUrl(portalSharingUrl, storageItemId, resourceFilename),
|
696
|
-
...convertStorageResourceToItemResource(resourceFilename, storageVersion),
|
697
|
-
};
|
698
|
-
});
|
699
|
-
}
|
700
|
-
function isSupportedFileType(filename) {
|
701
|
-
// Supported file formats are: .json, .xml, .txt, .png, .pbf, .zip, .jpeg, .jpg, .gif, .bmp, .gz, .svg,
|
702
|
-
// .svgz, .geodatabase (https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm)
|
703
|
-
const filenameExtension = filename.match(/\.([a-z]+)$/i);
|
704
|
-
const supportedExtensions = "|.json|.xml|.txt|.png|.pbf|.zip|.jpeg|.jpg|.gif|.bmp|.gz|.svg|.svgz|.geodatabase|";
|
705
|
-
return !!filenameExtension && supportedExtensions.indexOf("|" + filenameExtension[0] + "|") >= 0;
|
706
|
-
}
|
707
|
-
/**
|
708
|
-
* Gets the thumbnail of an item or group.
|
709
|
-
*
|
710
|
-
* @param authentication Credentials for the request to the storage
|
711
|
-
* @param filePaths List of item files' URLs and folder/filenames for storing the files
|
712
|
-
* @returns A promise which resolves to a boolean indicating if the copies were successful
|
713
|
-
*/
|
714
|
-
function getThumbnailFromStorageItem(authentication, filePaths) {
|
715
|
-
let thumbnailUrl;
|
716
|
-
let thumbnailFilename;
|
717
|
-
filePaths.forEach((path) => {
|
718
|
-
if (path.type === EFileType.Thumbnail) {
|
719
|
-
thumbnailUrl = path.url;
|
720
|
-
thumbnailFilename = path.filename;
|
721
|
-
}
|
722
|
-
});
|
723
|
-
if (!thumbnailUrl) {
|
724
|
-
return Promise.resolve(null);
|
725
|
-
}
|
726
|
-
return getThumbnailFile(thumbnailUrl, thumbnailFilename, authentication);
|
727
|
-
}
|
728
|
-
/**
|
729
|
-
* Removes the item's resource that matches the filename with new content
|
730
|
-
*
|
731
|
-
* @param itemId Id of the item to remove
|
732
|
-
* @param filename Name of the resource file to remove
|
733
|
-
* @param authentication Credentials for the request to the storage
|
734
|
-
* @returns A promise which resolves with a success true/false response
|
735
|
-
*/
|
736
|
-
function removeItemResourceFile(itemId, filename, authentication) {
|
737
|
-
return removeItemResource({
|
738
|
-
id: itemId,
|
739
|
-
resource: filename,
|
740
|
-
authentication: authentication,
|
741
|
-
});
|
742
|
-
}
|
743
|
-
/**
|
744
|
-
* Updates the item's resource that matches the filename with new content
|
745
|
-
*
|
746
|
-
* @param itemId Id of the item to update
|
747
|
-
* @param filename Name of the resource file to update; prefix optional (e.g., a/b/file.txt)
|
748
|
-
* @param resource The new content to update the resource with
|
749
|
-
* @param authentication Credentials for the request to the storage
|
750
|
-
* @returns A promise which resolves with a success true/false response
|
751
|
-
*/
|
752
|
-
function updateItemResourceFile(itemId, filename, resource, authentication) {
|
753
|
-
// Prefix has to be specified separately
|
754
|
-
const prefixedFilenameParts = filename.split("/");
|
755
|
-
const prefix = prefixedFilenameParts.length > 1
|
756
|
-
? prefixedFilenameParts.slice(0, prefixedFilenameParts.length - 1).join("/")
|
757
|
-
: undefined;
|
758
|
-
const suffix = prefixedFilenameParts[prefixedFilenameParts.length - 1];
|
759
|
-
return updateItemResource({
|
760
|
-
id: itemId,
|
761
|
-
prefix: prefix,
|
762
|
-
name: suffix,
|
763
|
-
resource,
|
764
|
-
authentication: authentication,
|
765
|
-
});
|
766
|
-
}
|
767
|
-
|
768
|
-
/** @license
|
769
|
-
* Copyright 2022 Esri
|
770
|
-
*
|
771
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
772
|
-
* you may not use this file except in compliance with the License.
|
773
|
-
* You may obtain a copy of the License at
|
774
|
-
*
|
775
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
776
|
-
*
|
777
|
-
* Unless required by applicable law or agreed to in writing, software
|
778
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
779
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
780
|
-
* See the License for the specific language governing permissions and
|
781
|
-
* limitations under the License.
|
782
|
-
*/
|
783
|
-
const EmptySolutionStore = {
|
784
|
-
solutionItemId: "",
|
785
|
-
defaultWkid: undefined,
|
786
|
-
solutionData: { metadata: {}, templates: [] },
|
787
|
-
templateEdits: {},
|
788
|
-
featureServices: [],
|
789
|
-
spatialReferenceInfo: {
|
790
|
-
enabled: false,
|
791
|
-
services: {}
|
792
|
-
}
|
793
|
-
};
|
794
|
-
class SolutionStore {
|
795
|
-
static _instance;
|
796
|
-
_store;
|
797
|
-
_hasChanges = false;
|
798
|
-
_authentication;
|
799
|
-
/**
|
800
|
-
* Creates singleton instance when accessed; default export from module.
|
801
|
-
*
|
802
|
-
* @returns Static instance of the class
|
803
|
-
*/
|
804
|
-
static get Store() {
|
805
|
-
return this._instance || (this._instance = new this());
|
806
|
-
}
|
807
|
-
/**
|
808
|
-
* Creates an empty store.
|
809
|
-
*
|
810
|
-
* @protected
|
811
|
-
*/
|
812
|
-
constructor() {
|
813
|
-
this._store = createStore({
|
814
|
-
...EmptySolutionStore
|
815
|
-
});
|
816
|
-
}
|
817
|
-
/**
|
818
|
-
* Returns the stored information of an item.
|
819
|
-
*
|
820
|
-
* @param itemId Id of item to fetch
|
821
|
-
*
|
822
|
-
* @returns Item information or `undefined` if not found
|
823
|
-
*/
|
824
|
-
getItemInfo(itemId) {
|
825
|
-
const templates = this._store.get("solutionData").templates;
|
826
|
-
let template;
|
827
|
-
templates.some((t) => {
|
828
|
-
if (itemId == t.itemId) {
|
829
|
-
template = t;
|
830
|
-
return true;
|
831
|
-
}
|
832
|
-
return false;
|
833
|
-
});
|
834
|
-
return template;
|
835
|
-
}
|
836
|
-
/**
|
837
|
-
* Returns a top-level store property: solutionItemId, defaultWkid, etc.
|
838
|
-
*
|
839
|
-
* @param propName Name of property
|
840
|
-
*
|
841
|
-
* @returns Value of property
|
842
|
-
*/
|
843
|
-
getStoreInfo(propName) {
|
844
|
-
return this._store.get(propName);
|
845
|
-
}
|
846
|
-
/**
|
847
|
-
* Loads a Solution into the store from AGO.
|
848
|
-
*
|
849
|
-
* @param solutionItemId Id of the solution represented in the store
|
850
|
-
* @param authentication Credentials for fetching information to be loaded into the store
|
851
|
-
*
|
852
|
-
* @returns Promise that resolves when task is done
|
853
|
-
*/
|
854
|
-
async loadSolution(solutionItemId, authentication) {
|
855
|
-
this._authentication = authentication;
|
856
|
-
const solutionData = await getItemDataAsJson(solutionItemId, authentication);
|
857
|
-
if (solutionData) {
|
858
|
-
const defaultWkid = getPropWithDefault(solutionData, "params.wkid.default", "");
|
859
|
-
await this._prepareSolutionItemsForEditing(solutionItemId, solutionData.templates, authentication);
|
860
|
-
const featureServices = this._getFeatureServices(solutionData.templates);
|
861
|
-
const spatialReferenceInfo = this._getSpatialReferenceInfo(featureServices, defaultWkid);
|
862
|
-
this._store.set("solutionItemId", solutionItemId);
|
863
|
-
this._store.set("defaultWkid", defaultWkid);
|
864
|
-
this._store.set("solutionData", solutionData);
|
865
|
-
this._store.set("featureServices", featureServices);
|
866
|
-
this._store.set("spatialReferenceInfo", spatialReferenceInfo);
|
867
|
-
}
|
868
|
-
this._flagStoreHasChanges(false);
|
869
|
-
}
|
870
|
-
/**
|
871
|
-
* Queues the replacement of the thumbnail associated with a template item in the store.
|
872
|
-
*
|
873
|
-
* @param itemEdit Details of the template to modify, containing the new thumbnail in the `thumbnail`
|
874
|
-
* property
|
875
|
-
*/
|
876
|
-
replaceItemThumbnail(itemEdit) {
|
877
|
-
// Flag the current thumbnail and any replacements for removal
|
878
|
-
itemEdit.resourceFilePaths.forEach((path) => {
|
879
|
-
if (path.type === EFileType.Thumbnail) {
|
880
|
-
if (path.updateType === EUpdateType.None) {
|
881
|
-
// Existing thumbnail not yet flagged for removal
|
882
|
-
path.updateType = EUpdateType.Remove;
|
883
|
-
}
|
884
|
-
else if (path.updateType === EUpdateType.Add || path.updateType === EUpdateType.Update) {
|
885
|
-
// An earlier replacement
|
886
|
-
path.updateType = EUpdateType.Obsolete;
|
887
|
-
}
|
888
|
-
}
|
889
|
-
});
|
890
|
-
// Remove any replacements already queued
|
891
|
-
itemEdit.resourceFilePaths =
|
892
|
-
itemEdit.resourceFilePaths.filter((path) => path.updateType != EUpdateType.Obsolete);
|
893
|
-
// Add the new thumbnail to the store item
|
894
|
-
itemEdit.resourceFilePaths.push({
|
895
|
-
blob: itemEdit.thumbnail,
|
896
|
-
filename: itemEdit.thumbnail.name,
|
897
|
-
type: EFileType.Thumbnail,
|
898
|
-
updateType: EUpdateType.Add
|
899
|
-
});
|
900
|
-
// Update the store
|
901
|
-
this.setItemInfo(itemEdit);
|
902
|
-
}
|
903
|
-
/**
|
904
|
-
* Writes a Solution into AGO from the store. Must use `loadSolution` to continue with solution.
|
905
|
-
*
|
906
|
-
* @returns Promise that resolves when task is done
|
907
|
-
*/
|
908
|
-
async saveSolution() {
|
909
|
-
// Update the templates in the original solution item data
|
910
|
-
const solutionItemId = this._store.get("solutionItemId");
|
911
|
-
const solutionData = this._store.get("solutionData");
|
912
|
-
const spatialReferenceInfo = this._store.get("spatialReferenceInfo");
|
913
|
-
const featureServices = this._store.get("featureServices");
|
914
|
-
await this._prepareSolutionItemsForStorage(solutionItemId, solutionData.templates, this._authentication);
|
915
|
-
// Update the templates in the solution item data
|
916
|
-
this._updateFSSpatialReferenceInfoInTemplates(featureServices, solutionData.templates);
|
917
|
-
// Update the solution-level information about the spatial reference parameter
|
918
|
-
if (spatialReferenceInfo.enabled) {
|
919
|
-
const solutionSpatialReferenceData = {
|
920
|
-
"label": "Spatial Reference",
|
921
|
-
"valueType": "spatialReference",
|
922
|
-
"attributes": {
|
923
|
-
"required": true
|
924
|
-
}
|
925
|
-
};
|
926
|
-
if (spatialReferenceInfo.default) {
|
927
|
-
solutionSpatialReferenceData.default = spatialReferenceInfo.default;
|
928
|
-
}
|
929
|
-
setCreateProp(solutionData, "params.wkid", solutionSpatialReferenceData);
|
930
|
-
}
|
931
|
-
else {
|
932
|
-
setCreateProp(solutionData, "params.wkid", {});
|
933
|
-
}
|
934
|
-
const itemInfo = {
|
935
|
-
id: solutionItemId,
|
936
|
-
text: solutionData
|
937
|
-
};
|
938
|
-
await updateItem(itemInfo, this._authentication);
|
939
|
-
}
|
940
|
-
/**
|
941
|
-
* Stores information for item.
|
942
|
-
*
|
943
|
-
* @param itemEdit Item information
|
944
|
-
*/
|
945
|
-
setItemInfo(itemEdit) {
|
946
|
-
const solutionData = this._store.get("solutionData");
|
947
|
-
const templates = solutionData.templates;
|
948
|
-
templates.some((t) => {
|
949
|
-
if (itemEdit.itemId == t.itemId) {
|
950
|
-
t = itemEdit;
|
951
|
-
this._store.set("solutionData", solutionData);
|
952
|
-
this._flagStoreHasChanges(true);
|
953
|
-
return true;
|
954
|
-
}
|
955
|
-
return false;
|
956
|
-
});
|
957
|
-
}
|
958
|
-
/**
|
959
|
-
* Sets a top-level store property: solutionItemId, defaultWkid, etc.
|
960
|
-
*
|
961
|
-
* @param propName Name of property
|
962
|
-
* @param value Value of property
|
963
|
-
*/
|
964
|
-
setStoreInfo(propName, value) {
|
965
|
-
this._store.set(propName, value);
|
966
|
-
this._flagStoreHasChanges(true);
|
967
|
-
}
|
968
|
-
//------------------------------------------------------------------------------------------------------------------//
|
969
|
-
/** Provides access to protected methods for unit testing.
|
970
|
-
*
|
971
|
-
* @param methodName Name of protected method to run
|
972
|
-
* @param arg1 First argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `solutionItemId`
|
973
|
-
* @param arg2 Second argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `templates`
|
974
|
-
* @param arg3 Third argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `authentication`
|
975
|
-
*
|
976
|
-
* @returns
|
977
|
-
*/
|
978
|
-
_testAccess(methodName, arg1, arg2, arg3) {
|
979
|
-
switch (methodName) {
|
980
|
-
case "_emptyTheStore":
|
981
|
-
this._emptyTheStore();
|
982
|
-
break;
|
983
|
-
case "_getFeatureServices":
|
984
|
-
return this._getFeatureServices(arg1);
|
985
|
-
case "_getItemsSharedWithThisGroup":
|
986
|
-
return this._getItemsSharedWithThisGroup(arg1, arg2);
|
987
|
-
case "_getResourceFilePaths":
|
988
|
-
return this._getResourceFilePaths(arg1, arg2, arg3);
|
989
|
-
case "_getResourceStorageName":
|
990
|
-
return this._getResourceStorageName(arg1, arg2);
|
991
|
-
case "_getSpatialReferenceInfo":
|
992
|
-
return this._getSpatialReferenceInfo(arg1, arg2);
|
993
|
-
case "_prepareSolutionItemsForEditing":
|
994
|
-
return this._prepareSolutionItemsForEditing(arg1, arg2, arg3);
|
995
|
-
case "_prepareSolutionItemsForStorage":
|
996
|
-
return this._prepareSolutionItemsForStorage(arg1, arg2, arg3);
|
997
|
-
case "_splitFilename":
|
998
|
-
return this._splitFilename(arg1);
|
999
|
-
case "_updateFSSpatialReferenceInfoInTemplates":
|
1000
|
-
return this._updateFSSpatialReferenceInfoInTemplates(arg1, arg2);
|
1001
|
-
}
|
1002
|
-
return null;
|
1003
|
-
}
|
1004
|
-
/**
|
1005
|
-
* Returns the store to the empty state.
|
1006
|
-
*
|
1007
|
-
* @protected
|
1008
|
-
*/
|
1009
|
-
_emptyTheStore() {
|
1010
|
-
this._store.set("solutionItemId", EmptySolutionStore.solutionItemId);
|
1011
|
-
this._store.set("defaultWkid", EmptySolutionStore.defaultWkid);
|
1012
|
-
this._store.set("solutionData", EmptySolutionStore.solutionData);
|
1013
|
-
this._store.set("templateEdits", EmptySolutionStore.templateEdits);
|
1014
|
-
this._store.set("featureServices", EmptySolutionStore.featureServices);
|
1015
|
-
this._store.set("spatialReferenceInfo", EmptySolutionStore.spatialReferenceInfo);
|
1016
|
-
}
|
1017
|
-
/**
|
1018
|
-
* Sets the store's flag indicating if it has changes and dispatches an event when
|
1019
|
-
* the flag value changes.
|
1020
|
-
*
|
1021
|
-
* @param flagHasChanges Current state of change in the store; if it doesn't match the value saved in this
|
1022
|
-
* object, an event is dispatched with the new value and the saved value is updated
|
1023
|
-
*
|
1024
|
-
* @protected
|
1025
|
-
*/
|
1026
|
-
_flagStoreHasChanges(flagHasChanges) {
|
1027
|
-
// Event for notifying if the store has changes or not
|
1028
|
-
window.dispatchEvent(new CustomEvent("solutionStoreHasChanges", {
|
1029
|
-
detail: flagHasChanges,
|
1030
|
-
bubbles: true,
|
1031
|
-
cancelable: false,
|
1032
|
-
composed: true
|
1033
|
-
}));
|
1034
|
-
this._hasChanges = flagHasChanges;
|
1035
|
-
}
|
1036
|
-
/**
|
1037
|
-
* Gets a list of Feature Services that are not views.
|
1038
|
-
*
|
1039
|
-
* @param templates A list of item templates from the solution
|
1040
|
-
*
|
1041
|
-
* @returns a list of feature services
|
1042
|
-
*
|
1043
|
-
* @protected
|
1044
|
-
*/
|
1045
|
-
_getCustomizableFeatureServices(templates) {
|
1046
|
-
return templates.reduce((prev, cur) => {
|
1047
|
-
if (cur.type === "Feature Service" && cur.item.typeKeywords.indexOf("View Service") < 0) {
|
1048
|
-
prev.push(cur);
|
1049
|
-
}
|
1050
|
-
return prev;
|
1051
|
-
}, []);
|
1052
|
-
}
|
1053
|
-
/**
|
1054
|
-
* Gets a list of Feature Services that are not views along with an enabled property that indicates
|
1055
|
-
* if the service currently uses a spatial reference variable.
|
1056
|
-
*
|
1057
|
-
* @param templates A list of item templates from the solution
|
1058
|
-
*
|
1059
|
-
* @returns a list of feature service names and an enabled property to indicate
|
1060
|
-
* if they currently use a spatial reference variable.
|
1061
|
-
*
|
1062
|
-
* @protected
|
1063
|
-
*/
|
1064
|
-
_getFeatureServices(templates) {
|
1065
|
-
const customizableFeatureServices = this._getCustomizableFeatureServices(templates);
|
1066
|
-
return customizableFeatureServices.map((fs) => {
|
1067
|
-
const name = fs.item.title || fs.item.name;
|
1068
|
-
const wkid = getProp(fs, "properties.service.spatialReference.wkid");
|
1069
|
-
return {
|
1070
|
-
id: fs.itemId,
|
1071
|
-
name,
|
1072
|
-
enabled: wkid.toString().startsWith(CSpatialRefCustomizingPrefix),
|
1073
|
-
wkid
|
1074
|
-
};
|
1075
|
-
});
|
1076
|
-
}
|
1077
|
-
/**
|
1078
|
-
* Capture the key item details for a given group template
|
1079
|
-
*
|
1080
|
-
* @param template one of the templates from the current solution
|
1081
|
-
* @param templates full list of templates
|
1082
|
-
*
|
1083
|
-
* @returns a list of IItemShare objects
|
1084
|
-
*
|
1085
|
-
* @protected
|
1086
|
-
*/
|
1087
|
-
_getItemsSharedWithThisGroup(template, templates) {
|
1088
|
-
return templates.reduce((prev, cur) => {
|
1089
|
-
if (cur.itemId !== template.itemId && cur.type !== "Group") {
|
1090
|
-
prev.push({
|
1091
|
-
id: cur.itemId,
|
1092
|
-
title: cur.item.name || cur.item.title,
|
1093
|
-
isShared: (cur.groups || []).indexOf(template.itemId) > -1,
|
1094
|
-
shareItem: (cur.groups || []).indexOf(template.itemId) > -1,
|
1095
|
-
type: cur.type,
|
1096
|
-
typeKeywords: cur.item.typeKeywords
|
1097
|
-
});
|
1098
|
-
}
|
1099
|
-
return prev;
|
1100
|
-
}, []);
|
1101
|
-
}
|
1102
|
-
/**
|
1103
|
-
* Generate storage file paths from the solution template
|
1104
|
-
*
|
1105
|
-
* @param solutionId the id of the current solution
|
1106
|
-
* @param template the current template from the solution
|
1107
|
-
* @param portal Portal where file is to be found
|
1108
|
-
*
|
1109
|
-
* @returns a list of resource file infos
|
1110
|
-
*
|
1111
|
-
* @protected
|
1112
|
-
*/
|
1113
|
-
_getResourceFilePaths(solutionId, template, portal) {
|
1114
|
-
const resourceFilePaths = generateStorageFilePaths(portal, solutionId, template.resources, SolutionTemplateFormatVersion);
|
1115
|
-
return resourceFilePaths.map((fp) => {
|
1116
|
-
fp.updateType = EUpdateType.None;
|
1117
|
-
return fp;
|
1118
|
-
});
|
1119
|
-
}
|
1120
|
-
/**
|
1121
|
-
* Generates a resource name from a storage file path.
|
1122
|
-
*
|
1123
|
-
* @param templateItemId The id of the template item whose resource this is; used as a prefix in the resource name
|
1124
|
-
* @param resourcePath Resource file infos
|
1125
|
-
*
|
1126
|
-
* @returns The resource name to use when attaching a resource to the item.
|
1127
|
-
*
|
1128
|
-
* @protected
|
1129
|
-
*/
|
1130
|
-
_getResourceStorageName(templateItemId, resourcePath) {
|
1131
|
-
/* Converts
|
1132
|
-
{
|
1133
|
-
"url": "https://myorg.maps.arcgis.com/sharing/rest/content/items/ca924c6db7d247b9a31fa30532fb5913/resources/79036430a6274e17ae915d0278b8569c_info_metadata/metadata.xml",
|
1134
|
-
"type": 2,
|
1135
|
-
"folder": "",
|
1136
|
-
"filename": "metadata.xml",
|
1137
|
-
"updateType": 3
|
1138
|
-
}
|
1139
|
-
to
|
1140
|
-
ca924c6db7d247b9a31fa30532fb5913_info_metadata/metadata.xml
|
1141
|
-
*/
|
1142
|
-
let prefix = templateItemId;
|
1143
|
-
switch (resourcePath.type) {
|
1144
|
-
case EFileType.Data:
|
1145
|
-
prefix = `${prefix}_info_data`;
|
1146
|
-
break;
|
1147
|
-
case EFileType.Info:
|
1148
|
-
prefix = `${prefix}_info`;
|
1149
|
-
break;
|
1150
|
-
case EFileType.Metadata:
|
1151
|
-
prefix = `${prefix}_info_metadata`;
|
1152
|
-
break;
|
1153
|
-
case EFileType.Resource:
|
1154
|
-
break;
|
1155
|
-
case EFileType.Thumbnail:
|
1156
|
-
prefix = `${prefix}_info_thumbnail`;
|
1157
|
-
break;
|
1158
|
-
}
|
1159
|
-
let filenameToUse = resourcePath.filename;
|
1160
|
-
if (resourcePath.type == EFileType.Data && filenameToUse && !isSupportedFileType(filenameToUse)) {
|
1161
|
-
filenameToUse = filenameToUse + ".zip";
|
1162
|
-
prefix += "z";
|
1163
|
-
}
|
1164
|
-
const filename = resourcePath.folder ? resourcePath.folder + "/" + filenameToUse : filenameToUse;
|
1165
|
-
return prefix + "/" + filename;
|
1166
|
-
}
|
1167
|
-
/**
|
1168
|
-
* Extracts basic spatial reference information that is used to determine if a custom spatial reference parameter will
|
1169
|
-
* be exposed while deploying this solution and if so what feature services will support it and what will the default wkid be
|
1170
|
-
*
|
1171
|
-
* @param services a list of objects with service name and enabled property (indicates if they currently use a spatial reference var)
|
1172
|
-
* @param defaultWkid the default wkid
|
1173
|
-
*
|
1174
|
-
* @returns an object that stores if a custom spatial reference parameter is enabled/disabled,
|
1175
|
-
* a list of services and if they are enabled/disabled, and the default wkid
|
1176
|
-
*
|
1177
|
-
* @protected
|
1178
|
-
*/
|
1179
|
-
_getSpatialReferenceInfo(services, defaultWkid) {
|
1180
|
-
const defaultServices = {};
|
1181
|
-
services.forEach(service => {
|
1182
|
-
defaultServices[service.name] = service.enabled;
|
1183
|
-
});
|
1184
|
-
const spatialReferenceInfo = {
|
1185
|
-
enabled: false,
|
1186
|
-
services: defaultServices
|
1187
|
-
};
|
1188
|
-
if (defaultWkid) {
|
1189
|
-
spatialReferenceInfo.default = defaultWkid;
|
1190
|
-
}
|
1191
|
-
return spatialReferenceInfo;
|
1192
|
-
}
|
1193
|
-
/**
|
1194
|
-
* Create and store template items for the editor.
|
1195
|
-
*
|
1196
|
-
* @param solutionItemId Id of the solution represented in the store
|
1197
|
-
* @param templates A list of item templates from the solution
|
1198
|
-
* @param authentication Credentials for fetching information to be loaded into the store
|
1199
|
-
*
|
1200
|
-
* @returns a promise that resolves when the templates are ready
|
1201
|
-
*
|
1202
|
-
* @protected
|
1203
|
-
*/
|
1204
|
-
async _prepareSolutionItemsForEditing(solutionItemId, templates, authentication) {
|
1205
|
-
const thumbnailPromises = [];
|
1206
|
-
// Augment the template with paths to resources and group information, if relevant
|
1207
|
-
templates.forEach((t) => {
|
1208
|
-
t.resourceFilePaths = this._getResourceFilePaths(solutionItemId, t, authentication.portal);
|
1209
|
-
thumbnailPromises.push(t.resourceFilePaths.length > 0 ?
|
1210
|
-
getThumbnailFromStorageItem(authentication, t.resourceFilePaths) :
|
1211
|
-
Promise.resolve());
|
1212
|
-
t.groupDetails = t.type === "Group" ? this._getItemsSharedWithThisGroup(t, templates) : [];
|
1213
|
-
});
|
1214
|
-
// Augment the template with its thumbnail file
|
1215
|
-
const thumbnails = await Promise.all(thumbnailPromises);
|
1216
|
-
templates.forEach((t, i) => {
|
1217
|
-
t.thumbnail = thumbnails[i] ? thumbnails[i] : undefined;
|
1218
|
-
});
|
1219
|
-
return Promise.resolve();
|
1220
|
-
}
|
1221
|
-
/**
|
1222
|
-
* Prepares template items for sending to AGO by updating the resources held by the solution item.
|
1223
|
-
*
|
1224
|
-
* @param solutionItemId Id of the solution represented in the store
|
1225
|
-
* @param templates A list of item templates from the solution
|
1226
|
-
* @param authentication Credentials for fetching information to be loaded into the store
|
1227
|
-
*
|
1228
|
-
* @returns a promise that resolves when the templates are ready
|
1229
|
-
*
|
1230
|
-
* @protected
|
1231
|
-
*/
|
1232
|
-
async _prepareSolutionItemsForStorage(solutionItemId, templates, authentication) {
|
1233
|
-
const resourceAdds = [];
|
1234
|
-
// Update the resources and remove the augmentation from a template
|
1235
|
-
const pendingTasks = [];
|
1236
|
-
templates.forEach((t) => {
|
1237
|
-
// Run through the resourceFilePaths for the item seeking modifications to be made to the solution item's
|
1238
|
-
// collection of resources; queue them for batching
|
1239
|
-
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1240
|
-
t.resourceFilePaths.forEach(async (path) => {
|
1241
|
-
const storageName = this._getResourceStorageName(t.itemId, path);
|
1242
|
-
switch (path.updateType) {
|
1243
|
-
case EUpdateType.Add:
|
1244
|
-
const { prefix, suffix } = this._splitFilename(storageName);
|
1245
|
-
t.resources.push(storageName);
|
1246
|
-
resourceAdds.push({
|
1247
|
-
itemId: t.itemId,
|
1248
|
-
file: path.blob,
|
1249
|
-
folder: prefix,
|
1250
|
-
filename: suffix
|
1251
|
-
});
|
1252
|
-
break;
|
1253
|
-
case EUpdateType.Update:
|
1254
|
-
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1255
|
-
pendingTasks.push(new Promise(async (resolve) => {
|
1256
|
-
try {
|
1257
|
-
await updateItemResourceFile(solutionItemId, storageName, path.blob, authentication);
|
1258
|
-
}
|
1259
|
-
catch (err) {
|
1260
|
-
console.log("Unable to update " + storageName + " for item " + t.itemId + ": " + JSON.stringify(err));
|
1261
|
-
}
|
1262
|
-
resolve();
|
1263
|
-
}));
|
1264
|
-
break;
|
1265
|
-
case EUpdateType.Remove:
|
1266
|
-
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1267
|
-
pendingTasks.push(new Promise(async (resolve) => {
|
1268
|
-
try {
|
1269
|
-
await removeItemResourceFile(solutionItemId, storageName, authentication);
|
1270
|
-
t.resources = t.resources.filter((path) => path !== storageName);
|
1271
|
-
}
|
1272
|
-
catch (err) {
|
1273
|
-
console.log("Unable to remove " + storageName + " for item " + t.itemId + ": " + JSON.stringify(err));
|
1274
|
-
}
|
1275
|
-
resolve();
|
1276
|
-
}));
|
1277
|
-
break;
|
1278
|
-
}
|
1279
|
-
return Promise.resolve();
|
1280
|
-
});
|
1281
|
-
delete t.resourceFilePaths;
|
1282
|
-
delete t.thumbnail;
|
1283
|
-
delete t.groupDetails;
|
1284
|
-
});
|
1285
|
-
// Update the resources
|
1286
|
-
return Promise.all(pendingTasks)
|
1287
|
-
.then(async () => {
|
1288
|
-
if (resourceAdds.length > 0) {
|
1289
|
-
await copyFilesToStorageItem(resourceAdds, solutionItemId, authentication);
|
1290
|
-
}
|
1291
|
-
return Promise.resolve();
|
1292
|
-
});
|
1293
|
-
}
|
1294
|
-
/**
|
1295
|
-
* Stores basic spatial reference information that is used to determine if a custom spatial reference parameter will
|
1296
|
-
* be exposed while deploying this solution and if so what feature services will support it and what will the default wkid be
|
1297
|
-
*
|
1298
|
-
* @param featureServices The configuration settings for a custom spatial reference by feature service
|
1299
|
-
* @param templates The templates in the current solution, which will be updated in place if
|
1300
|
-
* `spatialReferenceInfo.enabled` is true
|
1301
|
-
*
|
1302
|
-
* @protected
|
1303
|
-
*/
|
1304
|
-
_updateFSSpatialReferenceInfoInTemplates(featureServices, templates) {
|
1305
|
-
const customizableFeatureServices = this._getCustomizableFeatureServices(templates);
|
1306
|
-
// Enable or disable this feature in each service
|
1307
|
-
customizableFeatureServices.forEach((fsTemplate) => {
|
1308
|
-
const fsEnablement = featureServices.find((fs) => fs.id === fsTemplate.itemId);
|
1309
|
-
if (fsEnablement) {
|
1310
|
-
const spatialReference = getPropWithDefault(fsTemplate, "properties.service.spatialReference", {});
|
1311
|
-
spatialReference.wkid = fsEnablement.wkid;
|
1312
|
-
if (fsEnablement.enabled && spatialReference.latestWkid) {
|
1313
|
-
delete spatialReference.latestWkid;
|
1314
|
-
}
|
1315
|
-
setProp(fsTemplate, "properties.service.spatialReference", spatialReference);
|
1316
|
-
}
|
1317
|
-
});
|
1318
|
-
// Copy the updates back into the templates
|
1319
|
-
templates.forEach((t) => {
|
1320
|
-
const customizedTemplate = customizableFeatureServices.find((fs) => fs.itemId === t.itemId);
|
1321
|
-
if (customizedTemplate) {
|
1322
|
-
t.properties.service.spatialReference = {
|
1323
|
-
...customizedTemplate.properties.service.spatialReference
|
1324
|
-
};
|
1325
|
-
const nWkid = Number.parseInt(t.properties.service.spatialReference.wkid);
|
1326
|
-
if (!isNaN(nWkid)) {
|
1327
|
-
t.properties.service.spatialReference.wkid = nWkid;
|
1328
|
-
}
|
1329
|
-
}
|
1330
|
-
});
|
1331
|
-
}
|
1332
|
-
/**
|
1333
|
-
* Splits a pathed filename into a last term and a prefix; e.g., "a/b/c" returns "c" with a prefix of "a/b".
|
1334
|
-
*
|
1335
|
-
* @param filename Filename with optional path
|
1336
|
-
*
|
1337
|
-
* @returns An object consisting of a `prefix` (undefined if `filename` does not contain a path) and a `suffix`--the
|
1338
|
-
* filename at the end of a path
|
1339
|
-
*
|
1340
|
-
* @protected
|
1341
|
-
*/
|
1342
|
-
_splitFilename(filename) {
|
1343
|
-
const filenameParts = filename.split("/");
|
1344
|
-
return {
|
1345
|
-
prefix: filenameParts.length > 1 ? filenameParts.slice(0, filenameParts.length - 1).join("/") : undefined,
|
1346
|
-
suffix: filenameParts[filenameParts.length - 1]
|
1347
|
-
};
|
1348
|
-
}
|
1349
|
-
}
|
1350
|
-
const state = SolutionStore.Store;
|
1351
|
-
|
1352
|
-
export { state as s };
|