@esri/solutions-components 0.7.34 → 0.7.35
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/ExpandToggle-da591f01.js +118 -0
- package/dist/cjs/FloatingArrow-a27ad9b2.js +50 -0
- package/dist/cjs/Heading-bd401e0a.js +25 -0
- package/dist/cjs/Validation-b02c6710.js +20 -0
- package/dist/cjs/app-globals-056e11bb.js +69 -0
- package/dist/cjs/ar-bec1adeb.js +105 -0
- package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
- package/dist/cjs/array-6ea3edb8.js +17 -0
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
- package/dist/cjs/bg-e1afda53.js +83 -0
- package/dist/cjs/browser-d08a5f99.js +23 -0
- package/dist/cjs/bs-d14ff0d3.js +52 -0
- package/dist/cjs/buffer-tools_3.cjs.entry.js +12 -12
- package/dist/cjs/ca-10ee7960.js +72 -0
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +25 -25
- package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
- package/dist/cjs/calcite-action-bar.cjs.entry.js +21 -20
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +112 -114
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +20 -19
- package/dist/cjs/calcite-action_2.cjs.entry.js +28 -28
- package/dist/cjs/calcite-alert_4.cjs.entry.js +64 -50
- package/dist/cjs/calcite-avatar.cjs.entry.js +40 -40
- package/dist/cjs/calcite-block-section.cjs.entry.js +29 -29
- package/dist/cjs/calcite-block_2.cjs.entry.js +51 -50
- package/dist/cjs/calcite-button.cjs.entry.js +42 -38
- package/dist/cjs/calcite-card.cjs.entry.js +22 -22
- package/dist/cjs/calcite-checkbox.cjs.entry.js +14 -14
- package/dist/cjs/calcite-chip-group.cjs.entry.js +11 -10
- package/dist/cjs/calcite-chip_2.cjs.entry.js +388 -0
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +19 -19
- package/dist/cjs/calcite-color-picker.cjs.entry.js +21 -17
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-combobox_5.cjs.entry.js +2120 -0
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +25 -28
- package/dist/cjs/calcite-fab.cjs.entry.js +13 -13
- package/dist/cjs/calcite-filter_5.cjs.entry.js +257 -204
- package/dist/cjs/calcite-flow_5.cjs.entry.js +37 -36
- package/dist/cjs/calcite-graph_2.cjs.entry.js +233 -277
- package/dist/cjs/calcite-icon.cjs.entry.js +49 -49
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +24 -24
- package/dist/cjs/calcite-input-date-picker_3.cjs.entry.js +90 -65
- package/dist/cjs/calcite-input-number.cjs.entry.js +73 -52
- package/dist/cjs/calcite-input-text.cjs.entry.js +36 -39
- package/dist/cjs/calcite-input-time-picker-bb2db82c.js +1850 -0
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -19
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +118 -116
- package/dist/cjs/calcite-input_2.cjs.entry.js +80 -59
- package/dist/cjs/calcite-label.cjs.entry.js +9 -9
- package/dist/cjs/calcite-link.cjs.entry.js +13 -13
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +11 -10
- package/dist/cjs/calcite-menu-item.cjs.entry.js +51 -52
- package/dist/cjs/calcite-menu.cjs.entry.js +24 -17
- package/dist/cjs/calcite-meter.cjs.entry.js +24 -24
- package/dist/cjs/calcite-modal.cjs.entry.js +57 -55
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +10 -10
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +7 -7
- package/dist/cjs/calcite-navigation.cjs.entry.js +24 -24
- package/dist/cjs/calcite-notice.cjs.entry.js +23 -23
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +23 -18
- package/dist/cjs/calcite-pagination.cjs.entry.js +30 -30
- package/dist/cjs/calcite-panel_2.cjs.entry.js +58 -40
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +17 -17
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +27 -10
- package/dist/cjs/calcite-radio-button.cjs.entry.js +27 -23
- package/dist/cjs/calcite-rating.cjs.entry.js +20 -20
- package/dist/cjs/calcite-scrim.cjs.entry.js +14 -14
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +29 -16
- package/dist/cjs/calcite-sheet.cjs.entry.js +15 -15
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +126 -114
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +23 -21
- package/dist/cjs/calcite-split-button.cjs.entry.js +13 -13
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +24 -24
- package/dist/cjs/calcite-stepper.cjs.entry.js +34 -34
- package/dist/cjs/calcite-switch.cjs.entry.js +14 -14
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +41 -32
- package/dist/cjs/calcite-table-row.cjs.entry.js +23 -12
- package/dist/cjs/calcite-table.cjs.entry.js +29 -25
- package/dist/cjs/calcite-text-area.cjs.entry.js +39 -40
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile-select.cjs.entry.js +39 -28
- package/dist/cjs/calcite-tile.cjs.entry.js +16 -21
- package/dist/cjs/calcite-time-picker.cjs.entry.js +44 -44
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +24 -24
- package/dist/cjs/calcite-tip.cjs.entry.js +20 -20
- package/dist/cjs/calcite-tooltip.cjs.entry.js +212 -213
- package/dist/cjs/calcite-tree_2.cjs.entry.js +45 -46
- package/dist/cjs/card-manager_3.cjs.entry.js +5 -5
- package/dist/cjs/component-ac7c3bd8.js +33 -0
- package/dist/cjs/conditionalSlot-9d7b60d1.js +63 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +9 -9
- package/dist/cjs/cs-5d5113c9.js +148 -0
- package/dist/cjs/da-b9b48fb6.js +67 -0
- package/dist/cjs/date-9de4dd6f.js +261 -0
- package/dist/cjs/de-2e3205ac.js +92 -0
- package/dist/cjs/de-at-28bea0b1.js +91 -0
- package/dist/cjs/de-ch-376dd4c7.js +91 -0
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/dom-c9c2c835.js +1087 -0
- package/dist/cjs/downloadUtils-8ca56dfa.js +3136 -0
- package/dist/cjs/el-98aab056.js +67 -0
- package/dist/cjs/en-au-e3c99f1e.js +67 -0
- package/dist/cjs/en-ca-32f77575.js +66 -0
- package/dist/cjs/en-gb-7f5e80a9.js +70 -0
- package/dist/cjs/es-9899072a.js +67 -0
- package/dist/cjs/es-mx-e33cab75.js +66 -0
- package/dist/cjs/et-b55f74e1.js +93 -0
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/fi-aa10ef36.js +116 -0
- package/dist/cjs/filter-b524f88d.js +765 -0
- package/dist/cjs/floating-ui-984cc970.js +1966 -0
- package/dist/cjs/focusTrapComponent-faae7d7e.js +1028 -0
- package/dist/cjs/form-fed676d6.js +316 -0
- package/dist/cjs/fr-52b860d8.js +69 -0
- package/dist/cjs/fr-ch-665d488a.js +67 -0
- package/dist/cjs/guid-ae73cd27.js +26 -0
- package/dist/cjs/he-e572f72c.js +106 -0
- package/dist/cjs/helpers-981dd775.js +903 -0
- package/dist/cjs/hi-d1bf5a03.js +66 -0
- package/dist/cjs/hr-7dbc9a12.js +81 -0
- package/dist/cjs/hu-dcb326c9.js +89 -0
- package/dist/cjs/id-9ac473e6.js +67 -0
- package/dist/cjs/index-105cf2b9.js +2553 -0
- package/dist/cjs/index-ae65e42f.js +201 -0
- package/dist/cjs/index.es-3c36cde7.js +10811 -0
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +1 -1
- 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 +3 -3
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popover.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-splash.cjs.entry.js +1 -1
- package/dist/cjs/interactive-3ab7044d.js +144 -0
- package/dist/cjs/it-5ee42edc.js +67 -0
- package/dist/cjs/it-ch-54981090.js +67 -0
- package/dist/cjs/ja-f090b8db.js +73 -0
- package/dist/cjs/key-c5504030.js +19 -0
- package/dist/cjs/ko-14650b28.js +73 -0
- package/dist/cjs/label-32573e1d.js +186 -0
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loadable-5a794992.js +94 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/locale-8c42ba7a.js +161 -0
- package/dist/cjs/locale-d237c9d5.js +584 -0
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/lt-7d826627.js +98 -0
- package/dist/cjs/lv-397bf143.js +67 -0
- package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -6
- package/dist/cjs/math-318a1646.js +60 -0
- package/dist/cjs/mk-112e247a.js +67 -0
- package/dist/cjs/nb-0a4d7d1f.js +68 -0
- package/dist/cjs/nl-cfcabe91.js +68 -0
- package/dist/cjs/observers-db4527e4.js +53 -0
- package/dist/cjs/openCloseComponent-19a769d0.js +92 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/pl-c3e61022.js +115 -0
- package/dist/cjs/popupUtils-824d2f7c.js +96 -0
- package/dist/cjs/pt-6733c97d.js +68 -0
- package/dist/cjs/pt-br-6e06cf69.js +66 -0
- package/dist/cjs/public-notification.cjs.entry.js +6 -6
- package/dist/cjs/publicNotificationStore-ef379d11.js +47 -0
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/resources-1d88e9d6.js +39 -0
- package/dist/cjs/resources-3e593312.js +52 -0
- package/dist/cjs/resources-555dae0e.js +29 -0
- package/dist/cjs/resources-7e540eac.js +26 -0
- package/dist/cjs/resources-9447c777.js +32 -0
- package/dist/cjs/resources-adfcb1ec.js +2062 -0
- package/dist/cjs/resources-baef554d.js +27 -0
- package/dist/cjs/resources-c4fe74a9.js +23 -0
- package/dist/cjs/resources-dd8ff1b4.js +20 -0
- package/dist/cjs/ro-60cdf606.js +67 -0
- package/dist/cjs/ru-bf392182.js +127 -0
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/shared-list-render-410f421e.js +365 -0
- package/dist/cjs/sk-cf9539a5.js +149 -0
- package/dist/cjs/sl-1d297b4f.js +169 -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-icon.cjs.entry.js +1 -1
- package/dist/cjs/solution-store-2f7fbcc5.js +1344 -0
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/sortableComponent-c111c036.js +2742 -0
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/sr-f0c4f00a.js +102 -0
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/sv-620bebec.js +72 -0
- package/dist/cjs/t9n-993a84de.js +100 -0
- package/dist/cjs/th-07dd0e43.js +66 -0
- package/dist/cjs/time-ff8d50c7.js +289 -0
- package/dist/cjs/tr-42e14ef4.js +67 -0
- package/dist/cjs/uk-398a1806.js +105 -0
- package/dist/cjs/utils-3940c852.js +105 -0
- package/dist/cjs/utils-65d812ea.js +62 -0
- package/dist/cjs/utils-7bc7f595.js +64 -0
- package/dist/cjs/utils-a137dc1a.js +130 -0
- package/dist/cjs/utils-cca83dd0.js +221 -0
- package/dist/cjs/vi-860b42fc.js +71 -0
- package/dist/cjs/zh-cn-a89ecb38.js +95 -0
- package/dist/cjs/zh-hk-affe0bef.js +72 -0
- package/dist/cjs/zh-tw-ca333ffb.js +93 -0
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/buffer-tools/buffer-tools.js +3 -2
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +7 -7
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +1 -1
- package/dist/collection/components/json-editor/json-editor.js +3 -5
- package/dist/collection/components/layer-list/layer-list.js +1 -1
- package/dist/collection/components/layer-table/layer-table.js +2 -2
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +3 -2
- package/dist/collection/components/pdf-download/pdf-download.js +27 -45
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +6 -10
- package/dist/collection/utils/downloadUtils.js +13 -8
- package/dist/collection/utils/downloadUtils.ts +16 -8
- package/dist/collection/utils/interfaces.ts +5 -0
- package/dist/components/ExpandToggle.js +65 -65
- package/dist/components/FloatingArrow.js +17 -17
- package/dist/components/Heading.js +5 -5
- package/dist/components/Validation.js +18 -0
- package/dist/components/action-bar.js +9 -7
- package/dist/components/action-group.js +5 -5
- package/dist/components/action-menu.js +18 -19
- package/dist/components/action-pad.js +8 -6
- package/dist/components/action.js +17 -17
- package/dist/components/alert.js +53 -37
- package/dist/components/array.js +2 -2
- package/dist/components/avatar.js +35 -35
- package/dist/components/block.js +35 -33
- package/dist/components/button.js +31 -27
- package/dist/components/calcite-accordion-item.js +18 -18
- package/dist/components/calcite-block-section.js +20 -20
- package/dist/components/calcite-card.js +13 -13
- package/dist/components/calcite-chip-group.js +4 -3
- package/dist/components/calcite-color-picker.js +8 -4
- package/dist/components/calcite-combobox-item-group.js +4 -4
- package/dist/components/calcite-fab.js +7 -7
- package/dist/components/calcite-inline-editable.js +12 -12
- package/dist/components/calcite-input-time-picker.js +15 -12
- package/dist/components/calcite-input-time-zone.js +107 -103
- package/dist/components/calcite-list-item-group.js +10 -8
- package/dist/components/calcite-menu-item.js +42 -43
- package/dist/components/calcite-meter.js +15 -15
- package/dist/components/calcite-navigation-logo.js +8 -8
- package/dist/components/calcite-navigation-user.js +5 -5
- package/dist/components/calcite-navigation.js +19 -19
- package/dist/components/calcite-pick-list.js +1 -1
- package/dist/components/calcite-radio-button-group.js +28 -9
- package/dist/components/calcite-radio-button.js +1 -340
- package/dist/components/calcite-rating.js +7 -7
- package/dist/components/calcite-sheet.js +7 -7
- package/dist/components/calcite-shell-center-row.js +4 -4
- package/dist/components/calcite-sortable-list.js +16 -14
- package/dist/components/calcite-split-button.js +10 -10
- package/dist/components/calcite-stepper-item.js +14 -14
- package/dist/components/calcite-stepper.js +26 -26
- package/dist/components/calcite-table-row.js +17 -5
- package/dist/components/calcite-table.js +20 -15
- package/dist/components/calcite-text-area.js +28 -28
- package/dist/components/calcite-tile-select-group.js +3 -3
- package/dist/components/calcite-tile-select.js +42 -32
- package/dist/components/calcite-tile.js +103 -1
- package/dist/components/calcite-tip-manager.js +15 -15
- package/dist/components/calcite-tip.js +10 -10
- package/dist/components/checkbox.js +4 -4
- package/dist/components/chip.js +28 -27
- package/dist/components/color-picker-hex-input.js +79 -79
- package/dist/components/color-picker-swatch.js +8 -8
- package/dist/components/combobox-item.js +18 -17
- package/dist/components/combobox.js +29 -13
- package/dist/components/component.js +6 -6
- package/dist/components/conditionalSlot.js +17 -17
- package/dist/components/crowdsource-reporter.js +7 -7
- package/dist/components/date-picker-day.js +4 -7
- package/dist/components/date-picker-month-header.js +10 -10
- package/dist/components/date-picker.js +19 -19
- package/dist/components/date.js +110 -110
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/dom.js +165 -165
- package/dist/components/downloadUtils.js +13 -8
- package/dist/components/dropdown-item.js +14 -7
- package/dist/components/dropdown.js +20 -20
- package/dist/components/feature-list2.js +1 -1
- package/dist/components/filter.js +27 -27
- package/dist/components/filter2.js +13 -11
- package/dist/components/floating-ui.js +227 -167
- package/dist/components/flow-item.js +19 -17
- package/dist/components/flow.js +4 -4
- package/dist/components/focusTrapComponent.js +27 -27
- package/dist/components/form.js +192 -137
- package/dist/components/graph.js +60 -60
- package/dist/components/guid.js +10 -10
- package/dist/components/handle.js +45 -24
- package/dist/components/icon.js +44 -44
- package/dist/components/index.js +22 -22
- package/dist/components/input-date-picker.js +75 -48
- package/dist/components/input-message.js +5 -5
- package/dist/components/input-number.js +64 -42
- package/dist/components/input-text.js +26 -28
- package/dist/components/input.js +71 -49
- package/dist/components/interactive.js +83 -88
- package/dist/components/key.js +2 -2
- package/dist/components/label.js +109 -109
- package/dist/components/label2.js +3 -3
- package/dist/components/layer-list2.js +1 -1
- package/dist/components/layer-table2.js +2 -2
- package/dist/components/link.js +7 -7
- package/dist/components/list-item.js +98 -62
- package/dist/components/list.js +88 -90
- package/dist/components/loadable.js +10 -10
- package/dist/components/locale2.js +409 -409
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/math.js +16 -16
- package/dist/components/menu.js +17 -10
- package/dist/components/modal.js +45 -43
- package/dist/components/notice.js +10 -10
- package/dist/components/observers.js +31 -31
- package/dist/components/openCloseComponent.js +50 -50
- package/dist/components/pagination.js +20 -20
- package/dist/components/panel.js +39 -37
- package/dist/components/pick-list-item.js +23 -23
- package/dist/components/popover.js +84 -85
- package/dist/components/public-notification.js +1 -1
- package/dist/components/radio-button.js +350 -0
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/resources.js +12 -12
- package/dist/components/resources2.js +6 -6
- package/dist/components/resources3.js +11 -11
- package/dist/components/resources4.js +6 -6
- package/dist/components/resources5.js +5 -5
- package/dist/components/scrim.js +6 -6
- package/dist/components/segmented-control-item.js +3 -3
- package/dist/components/segmented-control.js +19 -3
- package/dist/components/select.js +16 -9
- package/dist/components/shared-list-render.js +242 -241
- package/dist/components/shell-panel.js +16 -12
- package/dist/components/shell.js +41 -23
- package/dist/components/slider.js +160 -204
- package/dist/components/sortableComponent.js +548 -914
- package/dist/components/stack.js +11 -11
- package/dist/components/switch.js +4 -4
- package/dist/components/t9n.js +32 -32
- package/dist/components/tab-nav.js +7 -2
- package/dist/components/tab-title.js +38 -36
- package/dist/components/tab.js +4 -4
- package/dist/components/table-cell.js +14 -10
- package/dist/components/table-header.js +19 -11
- package/dist/components/tabs.js +2 -2
- package/dist/components/time-picker.js +246 -246
- package/dist/components/tooltip.js +205 -206
- package/dist/components/tree-item.js +23 -24
- package/dist/components/tree.js +14 -14
- package/dist/components/utils.js +142 -142
- package/dist/components/utils2.js +19 -19
- package/dist/components/utils3.js +64 -59
- package/dist/components/value-list-item.js +9 -9
- package/dist/components/value-list.js +32 -30
- package/dist/esm/ExpandToggle-b6eb575e.js +110 -0
- package/dist/esm/FloatingArrow-93d6d18b.js +48 -0
- package/dist/esm/Heading-94780f62.js +22 -0
- package/dist/esm/Validation-ea480265.js +18 -0
- package/dist/esm/app-globals-c4e206db.js +67 -0
- package/dist/esm/ar-7633f382.js +103 -0
- package/dist/esm/arcgis-login.entry.js +1 -1
- package/dist/esm/array-396bdf3c.js +15 -0
- package/dist/esm/basemap-gallery_7.entry.js +2 -2
- package/dist/esm/bg-5ccf3b3b.js +81 -0
- package/dist/esm/browser-d60104bd.js +21 -0
- package/dist/esm/bs-59e59ad4.js +50 -0
- package/dist/esm/buffer-tools_3.entry.js +12 -12
- package/dist/esm/ca-d8d2bc89.js +70 -0
- package/dist/esm/calcite-accordion-item.entry.js +25 -25
- package/dist/esm/calcite-accordion.entry.js +2 -2
- package/dist/esm/calcite-action-bar.entry.js +21 -20
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu_2.entry.js +112 -114
- package/dist/esm/calcite-action-pad_2.entry.js +20 -19
- package/dist/esm/calcite-action_2.entry.js +28 -28
- package/dist/esm/calcite-alert_4.entry.js +64 -50
- package/dist/esm/calcite-avatar.entry.js +40 -40
- package/dist/esm/calcite-block-section.entry.js +29 -29
- package/dist/esm/calcite-block_2.entry.js +51 -50
- package/dist/esm/calcite-button.entry.js +42 -38
- package/dist/esm/calcite-card.entry.js +22 -22
- package/dist/esm/calcite-checkbox.entry.js +14 -14
- package/dist/esm/calcite-chip-group.entry.js +11 -10
- package/dist/esm/calcite-chip_2.entry.js +383 -0
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +19 -19
- package/dist/esm/calcite-color-picker.entry.js +21 -17
- package/dist/esm/calcite-combobox-item-group.entry.js +9 -9
- package/dist/esm/calcite-combobox_5.entry.js +2112 -0
- package/dist/esm/calcite-date-picker-day_3.entry.js +25 -28
- package/dist/esm/calcite-fab.entry.js +13 -13
- package/dist/esm/calcite-filter_5.entry.js +257 -204
- package/dist/esm/calcite-flow_5.entry.js +37 -36
- package/dist/esm/calcite-graph_2.entry.js +233 -277
- package/dist/esm/calcite-icon.entry.js +49 -49
- package/dist/esm/calcite-inline-editable.entry.js +24 -24
- package/dist/esm/calcite-input-date-picker_3.entry.js +90 -65
- package/dist/esm/calcite-input-number.entry.js +73 -52
- package/dist/esm/calcite-input-text.entry.js +36 -39
- package/dist/esm/calcite-input-time-picker-dbf2079e.js +1847 -0
- package/dist/esm/calcite-input-time-picker.entry.js +20 -19
- package/dist/esm/calcite-input-time-zone.entry.js +118 -116
- package/dist/esm/calcite-input_2.entry.js +80 -59
- package/dist/esm/calcite-label.entry.js +9 -9
- package/dist/esm/calcite-link.entry.js +13 -13
- package/dist/esm/calcite-list-item-group.entry.js +11 -10
- package/dist/esm/calcite-menu-item.entry.js +51 -52
- package/dist/esm/calcite-menu.entry.js +24 -17
- package/dist/esm/calcite-meter.entry.js +24 -24
- package/dist/esm/calcite-modal.entry.js +57 -55
- package/dist/esm/calcite-navigation-logo.entry.js +10 -10
- package/dist/esm/calcite-navigation-user.entry.js +7 -7
- package/dist/esm/calcite-navigation.entry.js +24 -24
- package/dist/esm/calcite-notice.entry.js +23 -23
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +23 -18
- package/dist/esm/calcite-pagination.entry.js +30 -30
- package/dist/esm/calcite-panel_2.entry.js +58 -40
- package/dist/esm/calcite-pick-list-group.entry.js +8 -8
- package/dist/esm/calcite-pick-list-item.entry.js +17 -17
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-radio-button-group.entry.js +27 -10
- package/dist/esm/calcite-radio-button.entry.js +27 -23
- package/dist/esm/calcite-rating.entry.js +20 -20
- package/dist/esm/calcite-scrim.entry.js +14 -14
- package/dist/esm/calcite-segmented-control_2.entry.js +29 -16
- package/dist/esm/calcite-sheet.entry.js +15 -15
- package/dist/esm/calcite-shell-center-row.entry.js +10 -10
- package/dist/esm/calcite-shell-panel_14.entry.js +126 -114
- package/dist/esm/calcite-sortable-list.entry.js +23 -21
- package/dist/esm/calcite-split-button.entry.js +13 -13
- package/dist/esm/calcite-stepper-item.entry.js +24 -24
- package/dist/esm/calcite-stepper.entry.js +34 -34
- package/dist/esm/calcite-switch.entry.js +14 -14
- package/dist/esm/calcite-table-cell_2.entry.js +41 -32
- package/dist/esm/calcite-table-row.entry.js +23 -12
- package/dist/esm/calcite-table.entry.js +29 -25
- package/dist/esm/calcite-text-area.entry.js +39 -40
- package/dist/esm/calcite-tile-select-group.entry.js +5 -5
- package/dist/esm/calcite-tile-select.entry.js +39 -28
- package/dist/esm/calcite-tile.entry.js +16 -21
- package/dist/esm/calcite-time-picker.entry.js +44 -44
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +24 -24
- package/dist/esm/calcite-tip.entry.js +20 -20
- package/dist/esm/calcite-tooltip.entry.js +212 -213
- package/dist/esm/calcite-tree_2.entry.js +45 -46
- package/dist/esm/card-manager_3.entry.js +5 -5
- package/dist/esm/component-edd2c3cd.js +30 -0
- package/dist/esm/conditionalSlot-12c4fcfb.js +60 -0
- package/dist/esm/crowdsource-manager.entry.js +2 -2
- package/dist/esm/crowdsource-reporter.entry.js +9 -9
- package/dist/esm/cs-3d744598.js +146 -0
- package/dist/esm/da-ad0f6f82.js +65 -0
- package/dist/esm/date-5630530d.js +245 -0
- package/dist/esm/de-at-8de8843c.js +89 -0
- package/dist/esm/de-ch-03a1c027.js +89 -0
- package/dist/esm/de-d6966c3f.js +90 -0
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/dom-38c6f027.js +1056 -0
- package/dist/esm/downloadUtils-8b83a40c.js +3130 -0
- package/dist/esm/el-7130c722.js +65 -0
- package/dist/esm/en-au-005d4093.js +65 -0
- package/dist/esm/en-ca-1b54d10b.js +64 -0
- package/dist/esm/en-gb-ac1ad784.js +68 -0
- package/dist/esm/es-d6f91b06.js +65 -0
- package/dist/esm/es-mx-26a8411a.js +64 -0
- package/dist/esm/et-1f7ea62f.js +91 -0
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/fi-df7f8ad0.js +114 -0
- package/dist/esm/filter-ce763acf.js +763 -0
- package/dist/esm/floating-ui-41dfe3f1.js +1958 -0
- package/dist/esm/focusTrapComponent-47ddce58.js +1023 -0
- package/dist/esm/form-50dcd52e.js +307 -0
- package/dist/esm/fr-14ad3cd0.js +67 -0
- package/dist/esm/fr-ch-328d9a38.js +65 -0
- package/dist/esm/guid-b75a5f7b.js +24 -0
- package/dist/esm/he-a30ddc93.js +104 -0
- package/dist/esm/helpers-e8852b4a.js +877 -0
- package/dist/esm/hi-5d914f70.js +64 -0
- package/dist/esm/hr-232bce19.js +79 -0
- package/dist/esm/hu-cb9fa8dc.js +87 -0
- package/dist/esm/id-28662048.js +65 -0
- package/dist/esm/index-164d485a.js +2519 -0
- package/dist/esm/index-477ea182.js +199 -0
- package/dist/esm/index.es-33e2ee2d.js +10725 -0
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +3 -3
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-export.entry.js +1 -1
- 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 +3 -3
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +1 -1
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +3 -3
- package/dist/esm/instant-apps-language-translator.entry.js +3 -3
- package/dist/esm/instant-apps-measurement.entry.js +1 -1
- package/dist/esm/instant-apps-popover.entry.js +1 -1
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +1 -1
- package/dist/esm/instant-apps-splash.entry.js +1 -1
- package/dist/esm/interactive-39bf5602.js +139 -0
- package/dist/esm/it-7fd85aa4.js +65 -0
- package/dist/esm/it-ch-ab98adcc.js +65 -0
- package/dist/esm/ja-eaf04e42.js +71 -0
- package/dist/esm/key-c83d835f.js +16 -0
- package/dist/esm/ko-d029100b.js +71 -0
- package/dist/esm/label-b4cea72e.js +179 -0
- package/dist/esm/layout-manager.entry.js +2 -2
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loadable-37e7fbd6.js +89 -0
- package/dist/esm/loader.js +5 -5
- package/dist/esm/locale-25a5ae3e.js +156 -0
- package/dist/esm/locale-904407bf.js +571 -0
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/lt-4c10b6c4.js +96 -0
- package/dist/esm/lv-d2afd652.js +65 -0
- package/dist/esm/map-select-tools_3.entry.js +6 -6
- package/dist/esm/math-efada7a9.js +54 -0
- package/dist/esm/mk-ee9a3d11.js +65 -0
- package/dist/esm/nb-b9ec8eb4.js +66 -0
- package/dist/esm/nl-8e5bf9af.js +66 -0
- package/dist/esm/observers-d04d1da9.js +51 -0
- package/dist/esm/openCloseComponent-9f90f493.js +90 -0
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/pl-1379aa6d.js +113 -0
- package/dist/esm/popupUtils-23fe3c9f.js +94 -0
- package/dist/esm/pt-8494ce08.js +66 -0
- package/dist/esm/pt-br-54686d6b.js +64 -0
- package/dist/esm/public-notification.entry.js +6 -6
- package/dist/esm/publicNotificationStore-3bf4de75.js +45 -0
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/resources-00983bd3.js +48 -0
- package/dist/esm/resources-20074cb1.js +24 -0
- package/dist/esm/resources-3709252d.js +35 -0
- package/dist/esm/resources-79914606.js +2051 -0
- package/dist/esm/resources-8834f920.js +28 -0
- package/dist/esm/resources-88a48c5c.js +20 -0
- package/dist/esm/resources-9b7e72d5.js +20 -0
- package/dist/esm/resources-abd87b42.js +24 -0
- package/dist/esm/resources-b0e2b809.js +22 -0
- package/dist/esm/ro-63586962.js +65 -0
- package/dist/esm/ru-ec1f486a.js +125 -0
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/shared-list-render-ede061c1.js +343 -0
- package/dist/esm/sk-d7d87eb9.js +147 -0
- package/dist/esm/sl-2a7d999b.js +167 -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-icon.entry.js +1 -1
- package/dist/esm/solution-store-01769bbf.js +1342 -0
- package/dist/esm/solutions-components.js +6 -6
- package/dist/esm/sortableComponent-d7cd11a3.js +2738 -0
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/sr-a3be308c.js +100 -0
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/sv-890688fe.js +70 -0
- package/dist/esm/t9n-436fb2b1.js +95 -0
- package/dist/esm/th-ae3d67ae.js +64 -0
- package/dist/esm/time-29001694.js +274 -0
- package/dist/esm/tr-260f6f88.js +65 -0
- package/dist/esm/uk-d84b6056.js +103 -0
- package/dist/esm/utils-9fb4104a.js +61 -0
- package/dist/esm/utils-a15078af.js +203 -0
- package/dist/esm/utils-b46c535b.js +121 -0
- package/dist/esm/utils-d2b2562a.js +95 -0
- package/dist/esm/utils-ef0ff036.js +51 -0
- package/dist/esm/vi-f3eb25b9.js +69 -0
- package/dist/esm/zh-cn-d6fc0582.js +93 -0
- package/dist/esm/zh-hk-285977d0.js +70 -0
- package/dist/esm/zh-tw-d83c5c9d.js +91 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +13 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +37 -43
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +10 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +27 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +10 -27
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +29 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +29 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +55 -8
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +13 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +20 -16
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +54 -18
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +35 -10
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +40 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +14 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +17 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +42 -30
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +12 -20
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +35 -11
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +13 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +13 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +25 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +57 -29
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +90 -7
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +9 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +9 -5
- package/dist/solutions-components/assets/combobox/t9n/messages_ar.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_bg.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_bs.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ca.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_cs.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_da.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_de.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_el.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_es.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_et.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_fi.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_fr.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_he.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_hr.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_hu.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_id.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_it.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ja.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ko.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_lt.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_lv.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_nl.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_no.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_pl.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_pt-BR.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_pt-PT.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ro.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_ru.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sk.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sl.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sr.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_sv.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_th.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_tr.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_uk.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_vi.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_zh-CN.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_zh-HK.json +4 -1
- package/dist/solutions-components/assets/combobox/t9n/messages_zh-TW.json +4 -1
- package/dist/solutions-components/assets/handle/t9n/index.d.ts +1 -0
- package/dist/solutions-components/assets/handle/t9n/messages.json +2 -1
- package/dist/solutions-components/assets/handle/t9n/messages_en.json +2 -1
- package/dist/solutions-components/assets/icon/absoluteDirection16.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteDirection24.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteDirection32.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteElevation16.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteElevation24.json +1 -0
- package/dist/solutions-components/assets/icon/absoluteElevation32.json +1 -0
- package/dist/solutions-components/assets/icon/columnSettings16.json +1 -0
- package/dist/solutions-components/assets/icon/columnSettings24.json +1 -0
- package/dist/solutions-components/assets/icon/columnSettings32.json +1 -0
- package/dist/solutions-components/assets/icon/folderVideo16.json +1 -0
- package/dist/solutions-components/assets/icon/folderVideo24.json +1 -0
- package/dist/solutions-components/assets/icon/folderVideo32.json +1 -0
- package/dist/solutions-components/assets/icon/full1Column16.json +1 -0
- package/dist/solutions-components/assets/icon/full1Column24.json +1 -0
- package/dist/solutions-components/assets/icon/full1Column32.json +1 -0
- package/dist/solutions-components/assets/icon/fullMedium1Column16.json +1 -0
- package/dist/solutions-components/assets/icon/fullMedium1Column24.json +1 -0
- package/dist/solutions-components/assets/icon/fullMedium1Column32.json +1 -0
- package/dist/solutions-components/assets/icon/fullSmall1Column16.json +1 -0
- package/dist/solutions-components/assets/icon/fullSmall1Column24.json +1 -0
- package/dist/solutions-components/assets/icon/fullSmall1Column32.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon16.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon24.json +1 -0
- package/dist/solutions-components/assets/icon/hexagon32.json +1 -0
- package/dist/solutions-components/assets/icon/large2Column16.json +1 -0
- package/dist/solutions-components/assets/icon/large2Column24.json +1 -0
- package/dist/solutions-components/assets/icon/large2Column32.json +1 -0
- package/dist/solutions-components/assets/icon/medium2Column16.json +1 -0
- package/dist/solutions-components/assets/icon/medium2Column24.json +1 -0
- package/dist/solutions-components/assets/icon/medium2Column32.json +1 -0
- package/dist/solutions-components/assets/icon/octagon16.json +1 -0
- package/dist/solutions-components/assets/icon/octagon24.json +1 -0
- package/dist/solutions-components/assets/icon/octagon32.json +1 -0
- package/dist/solutions-components/assets/icon/onTheGroundElevation16.json +1 -0
- package/dist/solutions-components/assets/icon/onTheGroundElevation24.json +1 -0
- package/dist/solutions-components/assets/icon/onTheGroundElevation32.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionTemplatePlay16.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionTemplatePlay24.json +1 -0
- package/dist/solutions-components/assets/icon/rasterFunctionTemplatePlay32.json +1 -0
- package/dist/solutions-components/assets/icon/relativeDirection16.json +1 -0
- package/dist/solutions-components/assets/icon/relativeDirection24.json +1 -0
- package/dist/solutions-components/assets/icon/relativeDirection32.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToGroundElevation16.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToGroundElevation24.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToGroundElevation32.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToSceneElevation16.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToSceneElevation24.json +1 -0
- package/dist/solutions-components/assets/icon/relativeToSceneElevation32.json +1 -0
- package/dist/solutions-components/assets/icon/small2Column16.json +1 -0
- package/dist/solutions-components/assets/icon/small2Column24.json +1 -0
- package/dist/solutions-components/assets/icon/small2Column32.json +1 -0
- package/dist/solutions-components/assets/icon/surface16.json +1 -0
- package/dist/solutions-components/assets/icon/surface24.json +1 -0
- package/dist/solutions-components/assets/icon/surface32.json +1 -0
- package/dist/solutions-components/assets/icon/timeFilter16.json +1 -0
- package/dist/solutions-components/assets/icon/timeFilter24.json +1 -0
- package/dist/solutions-components/assets/icon/timeFilter32.json +1 -0
- package/dist/solutions-components/assets/input-time-zone/t9n/messages_fr.json +1 -1
- package/dist/solutions-components/assets/list/t9n/messages_ar.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_bg.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_bs.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ca.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_cs.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_da.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_de.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_el.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_es.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_et.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_fi.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_fr.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_he.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_hr.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_hu.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_id.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_it.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ja.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ko.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_lt.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_lv.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_nl.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_no.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_pl.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_pt-BR.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_pt-PT.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ro.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_ru.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_sk.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_sl.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_sr.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_sv.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_th.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_tr.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_uk.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_vi.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_zh-CN.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_zh-HK.json +4 -0
- package/dist/solutions-components/assets/list/t9n/messages_zh-TW.json +4 -0
- package/dist/solutions-components/assets/list-item/t9n/index.d.ts +2 -0
- package/dist/solutions-components/assets/list-item/t9n/messages.json +3 -1
- package/dist/solutions-components/assets/list-item/t9n/messages_en.json +3 -1
- package/dist/solutions-components/assets/pagination/t9n/messages_ar.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_bg.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_bs.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ca.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_cs.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_da.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_de.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_el.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_es.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_et.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_fi.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_fr.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_he.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_hr.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_hu.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_id.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_it.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ja.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ko.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_lt.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_lv.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_nl.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_no.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_pl.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_pt-BR.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_pt-PT.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ro.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_ru.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_sk.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_sl.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_sr.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_sv.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_th.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_tr.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_uk.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_vi.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_zh-CN.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_zh-HK.json +2 -2
- package/dist/solutions-components/assets/pagination/t9n/messages_zh-TW.json +2 -2
- package/dist/solutions-components/p-01f7f1a2.js +6 -0
- package/dist/solutions-components/p-028fba9d.js +6 -0
- package/dist/solutions-components/p-02fa1945.entry.js +11 -0
- package/dist/solutions-components/p-033522a7.entry.js +11 -0
- package/dist/solutions-components/p-038fcd93.entry.js +12 -0
- package/dist/solutions-components/p-04923112.entry.js +17 -0
- package/dist/solutions-components/p-04c37d69.entry.js +17 -0
- package/dist/solutions-components/p-05cb50f9.js +11 -0
- package/dist/solutions-components/p-070d486d.entry.js +17 -0
- package/dist/solutions-components/p-076673a8.js +6 -0
- package/dist/solutions-components/p-08651773.entry.js +11 -0
- package/dist/solutions-components/p-0883bc7b.js +6 -0
- package/dist/solutions-components/p-08cca1ba.entry.js +6 -0
- package/dist/solutions-components/p-0b92e4b1.entry.js +11 -0
- package/dist/solutions-components/p-0c6d2898.entry.js +6 -0
- package/dist/solutions-components/p-0cb5f2ee.js +6 -0
- package/dist/solutions-components/p-0d641d14.entry.js +11 -0
- package/dist/solutions-components/p-0f66fd89.js +145 -0
- package/dist/solutions-components/p-1065f4fa.js +11 -0
- package/dist/solutions-components/p-11c85508.entry.js +6 -0
- package/dist/solutions-components/p-13a02132.js +6 -0
- package/dist/solutions-components/p-13f2d901.js +16 -0
- package/dist/solutions-components/p-16a82c20.js +11 -0
- package/dist/solutions-components/p-18f1e8b5.js +6 -0
- package/dist/solutions-components/p-1b627c37.js +6 -0
- package/dist/solutions-components/p-1c19b946.js +6 -0
- package/dist/solutions-components/p-1c8cdfeb.entry.js +11 -0
- package/dist/solutions-components/p-1ee6220e.entry.js +17 -0
- package/dist/solutions-components/p-1f33a29d.js +11 -0
- package/dist/solutions-components/p-1f65ab1e.js +11 -0
- package/dist/solutions-components/p-1fbac542.js +6 -0
- package/dist/solutions-components/p-201a6ea3.js +11 -0
- package/dist/solutions-components/p-20320bf6.entry.js +11 -0
- package/dist/solutions-components/p-212c00e9.entry.js +6 -0
- package/dist/solutions-components/p-23d88af7.entry.js +17 -0
- package/dist/solutions-components/p-23de1b01.entry.js +11 -0
- package/dist/solutions-components/p-25894d7a.entry.js +6 -0
- package/dist/solutions-components/p-26461392.entry.js +11 -0
- package/dist/solutions-components/p-2917dae0.entry.js +6 -0
- package/dist/solutions-components/p-2a0f52c5.entry.js +6 -0
- package/dist/solutions-components/p-2a546c56.js +6 -0
- package/dist/solutions-components/p-2b0454a0.js +11 -0
- package/dist/solutions-components/p-2b6679d2.entry.js +6 -0
- package/dist/solutions-components/p-2ba240b9.entry.js +6 -0
- package/dist/solutions-components/p-2c6b8811.js +18 -0
- package/dist/solutions-components/p-2eeff59b.js +6 -0
- package/dist/solutions-components/p-30480847.entry.js +11 -0
- package/dist/solutions-components/p-30e7ecfa.js +6 -0
- package/dist/solutions-components/p-312c045a.entry.js +11 -0
- package/dist/solutions-components/p-32dc5007.entry.js +23 -0
- package/dist/solutions-components/p-32fed23c.entry.js +17 -0
- package/dist/solutions-components/p-36375749.js +6 -0
- package/dist/solutions-components/p-399d795d.js +6 -0
- package/dist/solutions-components/p-3bb79204.js +6 -0
- package/dist/solutions-components/p-3cb1de38.entry.js +6 -0
- package/dist/solutions-components/p-3cf84035.entry.js +6 -0
- package/dist/solutions-components/p-3d324690.entry.js +11 -0
- package/dist/solutions-components/p-3d7d78f3.entry.js +6 -0
- package/dist/solutions-components/p-3dd92f0d.js +17 -0
- package/dist/solutions-components/p-3e79d77b.entry.js +11 -0
- package/dist/solutions-components/p-3fbfe26a.entry.js +11 -0
- package/dist/solutions-components/p-4000a88a.js +6 -0
- package/dist/solutions-components/p-431d8154.entry.js +6 -0
- package/dist/solutions-components/p-449db954.entry.js +6 -0
- package/dist/solutions-components/p-45263007.entry.js +17 -0
- package/dist/solutions-components/p-463712ef.entry.js +36 -0
- package/dist/solutions-components/p-479d1e95.js +6 -0
- package/dist/solutions-components/p-47a97db7.entry.js +11 -0
- package/dist/solutions-components/p-48bef730.js +11 -0
- package/dist/solutions-components/p-495e7b9d.js +11 -0
- package/dist/solutions-components/p-4a030771.entry.js +11 -0
- package/dist/solutions-components/p-4b530f7b.entry.js +6 -0
- package/dist/solutions-components/p-4c5d243f.js +11 -0
- package/dist/solutions-components/p-4ce1ffd8.entry.js +11 -0
- package/dist/solutions-components/p-4d09aa4c.entry.js +6 -0
- package/dist/solutions-components/p-4f489e61.js +6 -0
- package/dist/solutions-components/p-52a6d2dc.entry.js +11 -0
- package/dist/solutions-components/p-531ccf84.entry.js +6 -0
- package/dist/solutions-components/p-547b4dba.entry.js +21 -0
- package/dist/solutions-components/p-563a0b20.js +11 -0
- package/dist/solutions-components/p-565e0f0d.entry.js +6 -0
- package/dist/solutions-components/p-5a9a971a.js +11 -0
- package/dist/solutions-components/p-5b228ed7.entry.js +11 -0
- package/dist/solutions-components/p-5f5de955.js +11 -0
- package/dist/solutions-components/p-5f814990.entry.js +6 -0
- package/dist/solutions-components/p-5fbfa5e4.entry.js +12 -0
- package/dist/solutions-components/p-5fd1ae46.entry.js +6 -0
- package/dist/solutions-components/p-602f3e72.js +16 -0
- package/dist/solutions-components/p-6068c1cf.entry.js +22 -0
- package/dist/solutions-components/p-62f2cea7.entry.js +6 -0
- package/dist/solutions-components/p-6332fd4e.entry.js +6 -0
- package/dist/solutions-components/p-63572270.entry.js +6 -0
- package/dist/solutions-components/p-66ff2c3f.js +11 -0
- package/dist/solutions-components/p-680b89db.js +16 -0
- package/dist/solutions-components/p-6a61c742.entry.js +6 -0
- package/dist/solutions-components/p-6aa16b3c.js +6 -0
- package/dist/solutions-components/p-6ce37201.js +11 -0
- package/dist/solutions-components/p-6d0203ed.entry.js +6 -0
- package/dist/solutions-components/p-6d520a58.js +12 -0
- package/dist/solutions-components/p-6d93bdfd.entry.js +11 -0
- package/dist/solutions-components/p-6f6deff1.js +6 -0
- package/dist/solutions-components/p-701568c2.entry.js +16 -0
- package/dist/solutions-components/p-701ed205.js +6 -0
- package/dist/solutions-components/p-7169fadf.js +6 -0
- package/dist/solutions-components/p-71964176.entry.js +11 -0
- package/dist/solutions-components/p-71b65d8a.entry.js +11 -0
- package/dist/solutions-components/p-72849648.js +6 -0
- package/dist/solutions-components/p-732ae6e8.entry.js +6 -0
- package/dist/solutions-components/p-75099601.js +6 -0
- package/dist/solutions-components/p-75a758c8.js +6 -0
- package/dist/solutions-components/p-76bd5032.js +11 -0
- package/dist/solutions-components/p-7878534f.entry.js +11 -0
- package/dist/solutions-components/p-792907e2.entry.js +11 -0
- package/dist/solutions-components/p-7b257e2e.js +6 -0
- package/dist/solutions-components/p-7c0fe27e.entry.js +11 -0
- package/dist/solutions-components/p-7c2be8cc.js +11 -0
- package/dist/solutions-components/p-7c2ef952.js +6 -0
- package/dist/solutions-components/p-7cfce9ee.entry.js +11 -0
- package/dist/solutions-components/p-7d04ff20.js +11 -0
- package/dist/solutions-components/p-7d280d8a.js +7 -0
- package/dist/solutions-components/p-8007ac36.js +11 -0
- package/dist/solutions-components/p-807900ac.js +6 -0
- package/dist/solutions-components/p-80fd6b2e.js +6 -0
- package/dist/solutions-components/p-84546f35.entry.js +6 -0
- package/dist/solutions-components/p-8571c89f.entry.js +6 -0
- package/dist/solutions-components/p-88cd4a24.entry.js +6 -0
- package/dist/solutions-components/p-8942f6fa.js +6 -0
- package/dist/solutions-components/p-8dbf3319.entry.js +6 -0
- package/dist/solutions-components/p-8dc26294.js +11 -0
- package/dist/solutions-components/p-905f7e81.entry.js +6 -0
- package/dist/solutions-components/p-906ad47a.entry.js +11 -0
- package/dist/solutions-components/p-91c49d95.entry.js +6 -0
- package/dist/solutions-components/p-928c0b29.entry.js +6 -0
- package/dist/solutions-components/p-93369c9f.entry.js +6 -0
- package/dist/solutions-components/p-94de9279.js +11 -0
- package/dist/solutions-components/p-96104375.entry.js +6 -0
- package/dist/solutions-components/p-97425481.entry.js +6 -0
- package/dist/solutions-components/p-9ae4f911.entry.js +6 -0
- package/dist/solutions-components/p-9d3b46e2.js +11 -0
- package/dist/solutions-components/p-9d53e0f2.js +11 -0
- package/dist/solutions-components/p-9dfe1301.entry.js +6 -0
- package/dist/solutions-components/p-9f895288.entry.js +6 -0
- package/dist/solutions-components/p-a17d0d80.entry.js +6 -0
- package/dist/solutions-components/p-a4149333.js +11 -0
- package/dist/solutions-components/p-a5088b70.js +6 -0
- package/dist/solutions-components/p-a55b766f.entry.js +6 -0
- package/dist/solutions-components/p-acb9b78e.js +6 -0
- package/dist/solutions-components/p-ae4c8b8c.entry.js +6 -0
- package/dist/solutions-components/p-aec06ce4.entry.js +18 -0
- package/dist/solutions-components/p-b04c9dc3.js +36 -0
- package/dist/solutions-components/p-b15fda15.js +6 -0
- package/dist/solutions-components/p-b3ad3ac1.entry.js +6 -0
- package/dist/solutions-components/p-b3eb3302.js +17 -0
- package/dist/solutions-components/p-b4103233.js +6 -0
- package/dist/solutions-components/p-b4d85b2c.js +6 -0
- package/dist/solutions-components/p-b7337228.entry.js +11 -0
- package/dist/solutions-components/p-ba7d55ea.js +11 -0
- package/dist/solutions-components/p-bb94c414.entry.js +6 -0
- package/dist/solutions-components/p-bc665a3a.js +6 -0
- package/dist/solutions-components/p-bd06bae0.entry.js +11 -0
- package/dist/solutions-components/p-bdbfe9f1.js +6 -0
- package/dist/solutions-components/p-bdea5320.js +11 -0
- package/dist/solutions-components/p-beba1804.entry.js +11 -0
- package/dist/solutions-components/p-bfdf89c2.js +11 -0
- package/dist/solutions-components/p-c51f2880.entry.js +11 -0
- package/dist/solutions-components/p-c85ce035.entry.js +11 -0
- package/dist/solutions-components/p-c8ca9b8c.entry.js +17 -0
- package/dist/solutions-components/p-c94d2cec.js +11 -0
- package/dist/solutions-components/p-c97eebe2.js +6 -0
- package/dist/solutions-components/p-caa7580c.js +6 -0
- package/dist/solutions-components/p-cc280aa1.js +21 -0
- package/dist/solutions-components/p-cc859d2b.entry.js +16 -0
- package/dist/solutions-components/p-ced067bd.entry.js +17 -0
- package/dist/solutions-components/p-cf24dd35.entry.js +23 -0
- package/dist/solutions-components/p-d36f2db6.entry.js +11 -0
- package/dist/solutions-components/p-d3ba36ce.entry.js +11 -0
- package/dist/solutions-components/p-d3da7497.entry.js +6 -0
- package/dist/solutions-components/p-d5ce0c2b.js +11 -0
- package/dist/solutions-components/p-d67f3b6e.entry.js +11 -0
- package/dist/solutions-components/p-d6c662dc.js +6 -0
- package/dist/solutions-components/p-d7b02d3a.js +22 -0
- package/dist/solutions-components/p-d9826b1d.entry.js +11 -0
- package/dist/solutions-components/p-db53bde3.js +11 -0
- package/dist/solutions-components/p-dc58d9ec.js +6 -0
- package/dist/solutions-components/p-dd45738e.entry.js +6 -0
- package/dist/solutions-components/p-dd67e38a.entry.js +6 -0
- package/dist/solutions-components/p-ddd1cc66.js +6 -0
- package/dist/solutions-components/p-de9522e9.js +11 -0
- package/dist/solutions-components/p-df468e80.entry.js +12 -0
- package/dist/solutions-components/p-e05b02c5.entry.js +47 -0
- package/dist/solutions-components/p-e10ca475.entry.js +11 -0
- package/dist/solutions-components/p-e14e6c12.entry.js +6 -0
- package/dist/solutions-components/p-e29a378e.entry.js +6 -0
- package/dist/solutions-components/p-e2eb93d3.js +6 -0
- package/dist/solutions-components/p-e46910c5.js +6 -0
- package/dist/solutions-components/p-e4e59f16.js +489 -0
- package/dist/solutions-components/p-e61c56fa.entry.js +11 -0
- package/dist/solutions-components/p-e7afc0a8.js +11 -0
- package/dist/solutions-components/p-e813faf8.entry.js +11 -0
- package/dist/solutions-components/p-e822a96b.js +6 -0
- package/dist/solutions-components/p-e9700988.entry.js +6 -0
- package/dist/solutions-components/p-e9788173.entry.js +11 -0
- package/dist/solutions-components/p-e9828fd0.js +6 -0
- package/dist/solutions-components/p-eb0f4ede.entry.js +6 -0
- package/dist/solutions-components/p-ebd6afea.entry.js +11 -0
- package/dist/solutions-components/p-ebdd6c63.js +6 -0
- package/dist/solutions-components/p-ede2a93f.js +6 -0
- package/dist/solutions-components/p-ee1e4df3.js +61 -0
- package/dist/solutions-components/p-ef1cf76c.entry.js +6 -0
- package/dist/solutions-components/p-efec6ba5.entry.js +11 -0
- package/dist/solutions-components/p-f0c7d964.js +11 -0
- package/dist/solutions-components/p-f232f765.js +6 -0
- package/dist/solutions-components/p-f23e6499.js +21 -0
- package/dist/solutions-components/p-f8015a1b.js +6 -0
- package/dist/solutions-components/p-f8a6785d.entry.js +6 -0
- package/dist/solutions-components/p-fc4df904.entry.js +6 -0
- package/dist/solutions-components/p-fc9fe5fb.js +11 -0
- package/dist/solutions-components/p-fdedce1c.entry.js +11 -0
- package/dist/solutions-components/p-fe74de01.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +16 -8
- package/dist/solutions-components/utils/interfaces.ts +5 -0
- package/dist/types/components/layer-table/layer-table.d.ts +2 -2
- package/dist/types/preact.d.ts +13 -5
- package/dist/types/utils/downloadUtils.d.ts +4 -4
- package/dist/types/utils/interfaces.d.ts +1 -0
- package/package.json +4 -4
- package/dist/cjs/ExpandToggle-f83d93f8.js +0 -118
- package/dist/cjs/FloatingArrow-7e1624ea.js +0 -50
- package/dist/cjs/Heading-fe70b3e6.js +0 -25
- package/dist/cjs/app-globals-b3f43c6b.js +0 -69
- package/dist/cjs/ar-5f98cd4b.js +0 -104
- package/dist/cjs/array-1d19377b.js +0 -17
- package/dist/cjs/bg-a55b554b.js +0 -82
- package/dist/cjs/browser-9a43b900.js +0 -23
- package/dist/cjs/bs-00e4d31b.js +0 -51
- package/dist/cjs/ca-cdd10d29.js +0 -71
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -261
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +0 -2232
- package/dist/cjs/calcite-input-time-picker-4f7e55b6.js +0 -1849
- package/dist/cjs/component-c270a500.js +0 -33
- package/dist/cjs/conditionalSlot-63e11cba.js +0 -63
- package/dist/cjs/cs-d08a7e91.js +0 -147
- package/dist/cjs/da-2fb40e38.js +0 -66
- package/dist/cjs/date-a0b274b2.js +0 -261
- package/dist/cjs/de-at-8cb4fc8d.js +0 -90
- package/dist/cjs/de-ch-98281a16.js +0 -90
- package/dist/cjs/de-f88ab56a.js +0 -91
- package/dist/cjs/dom-e111eaa6.js +0 -1087
- package/dist/cjs/downloadUtils-6b451886.js +0 -3131
- package/dist/cjs/el-42222f37.js +0 -66
- package/dist/cjs/en-au-ce99afe4.js +0 -66
- package/dist/cjs/en-ca-44a0c79e.js +0 -65
- package/dist/cjs/en-gb-9bd18cc2.js +0 -69
- package/dist/cjs/es-a630678a.js +0 -66
- package/dist/cjs/es-mx-cb026d16.js +0 -65
- package/dist/cjs/et-9801d7bf.js +0 -92
- package/dist/cjs/fi-99bb68b2.js +0 -115
- package/dist/cjs/filter-8f1bbfe6.js +0 -765
- package/dist/cjs/floating-ui-290f99dd.js +0 -1906
- package/dist/cjs/focusTrapComponent-3add574e.js +0 -1028
- package/dist/cjs/form-0291a707.js +0 -260
- package/dist/cjs/fr-047990d9.js +0 -68
- package/dist/cjs/fr-ch-eefff196.js +0 -66
- package/dist/cjs/globalAttributes-c973ec3a.js +0 -77
- package/dist/cjs/guid-1a466ca6.js +0 -26
- package/dist/cjs/he-3f50b1de.js +0 -105
- package/dist/cjs/helpers-a0719076.js +0 -903
- package/dist/cjs/hi-8fad23c8.js +0 -65
- package/dist/cjs/hr-85523ea5.js +0 -80
- package/dist/cjs/hu-133d6509.js +0 -88
- package/dist/cjs/id-cf31387c.js +0 -66
- package/dist/cjs/index-22bb61da.js +0 -201
- package/dist/cjs/index-b8a649fc.js +0 -2530
- package/dist/cjs/index.es-3eaba9ef.js +0 -10811
- package/dist/cjs/interactive-8aff886e.js +0 -147
- package/dist/cjs/it-87a2a88e.js +0 -66
- package/dist/cjs/it-ch-6197d836.js +0 -66
- package/dist/cjs/ja-1be83730.js +0 -72
- package/dist/cjs/key-b8c05387.js +0 -19
- package/dist/cjs/ko-ea4b0148.js +0 -72
- package/dist/cjs/label-bcad2894.js +0 -186
- package/dist/cjs/loadable-07a214c7.js +0 -94
- package/dist/cjs/locale-6a627639.js +0 -584
- package/dist/cjs/locale-a476e15d.js +0 -161
- package/dist/cjs/lt-4acaf0a6.js +0 -97
- package/dist/cjs/lv-251e08f1.js +0 -66
- package/dist/cjs/math-6c9027e3.js +0 -60
- package/dist/cjs/mk-8b1ae7dd.js +0 -66
- package/dist/cjs/nb-fa98c484.js +0 -67
- package/dist/cjs/nl-e71e8890.js +0 -67
- package/dist/cjs/observers-281a8c99.js +0 -53
- package/dist/cjs/openCloseComponent-8c9a1749.js +0 -92
- package/dist/cjs/pl-8527f540.js +0 -114
- package/dist/cjs/popupUtils-7755782a.js +0 -96
- package/dist/cjs/pt-a1c7a6ea.js +0 -67
- package/dist/cjs/pt-br-c5319e0c.js +0 -65
- package/dist/cjs/publicNotificationStore-3a17c2f4.js +0 -47
- package/dist/cjs/resources-0986c5c2.js +0 -2062
- package/dist/cjs/resources-222ad22c.js +0 -20
- package/dist/cjs/resources-228f9286.js +0 -39
- package/dist/cjs/resources-6c60363a.js +0 -32
- package/dist/cjs/resources-8e3763a4.js +0 -52
- package/dist/cjs/resources-9400a252.js +0 -23
- package/dist/cjs/resources-a825d7ae.js +0 -29
- package/dist/cjs/resources-d2d7b7c7.js +0 -27
- package/dist/cjs/resources-f3e0e822.js +0 -26
- package/dist/cjs/ro-df6f795a.js +0 -66
- package/dist/cjs/ru-7516a3ba.js +0 -126
- package/dist/cjs/shared-list-render-25bedff5.js +0 -364
- package/dist/cjs/sk-9d31fa10.js +0 -148
- package/dist/cjs/sl-abecca0d.js +0 -168
- package/dist/cjs/solution-store-ab6c980f.js +0 -1344
- package/dist/cjs/sortableComponent-188f3290.js +0 -3108
- package/dist/cjs/sr-334c5c73.js +0 -101
- package/dist/cjs/sv-832dd153.js +0 -71
- package/dist/cjs/t9n-0556abcb.js +0 -100
- package/dist/cjs/th-cca86754.js +0 -65
- package/dist/cjs/time-06aad495.js +0 -289
- package/dist/cjs/tr-fcef3dae.js +0 -66
- package/dist/cjs/uk-69eceeec.js +0 -104
- package/dist/cjs/utils-234879c7.js +0 -99
- package/dist/cjs/utils-3df24da4.js +0 -62
- package/dist/cjs/utils-6587cc34.js +0 -64
- package/dist/cjs/utils-6c713ba8.js +0 -130
- package/dist/cjs/utils-c735a41d.js +0 -221
- package/dist/cjs/vi-6afa69a0.js +0 -70
- package/dist/cjs/zh-cn-0513bc09.js +0 -94
- package/dist/cjs/zh-hk-73971e1d.js +0 -71
- package/dist/cjs/zh-tw-af0db947.js +0 -92
- package/dist/components/globalAttributes.js +0 -74
- package/dist/components/tile.js +0 -115
- package/dist/esm/ExpandToggle-96688cda.js +0 -110
- package/dist/esm/FloatingArrow-245804f3.js +0 -48
- package/dist/esm/Heading-c45d3f45.js +0 -22
- package/dist/esm/app-globals-e4f88f7e.js +0 -67
- package/dist/esm/ar-29711364.js +0 -102
- package/dist/esm/array-51c31356.js +0 -15
- package/dist/esm/bg-c0f5033b.js +0 -80
- package/dist/esm/browser-b4c16201.js +0 -21
- package/dist/esm/bs-60479ce5.js +0 -49
- package/dist/esm/ca-4317b986.js +0 -69
- package/dist/esm/calcite-chip.entry.js +0 -257
- package/dist/esm/calcite-combobox_6.entry.js +0 -2223
- package/dist/esm/calcite-input-time-picker-2e1b2157.js +0 -1846
- package/dist/esm/component-98bae46b.js +0 -30
- package/dist/esm/conditionalSlot-1149b5cb.js +0 -60
- package/dist/esm/cs-da404a04.js +0 -145
- package/dist/esm/da-1afac3fa.js +0 -64
- package/dist/esm/date-8b4a8f33.js +0 -245
- package/dist/esm/de-98f3129e.js +0 -89
- package/dist/esm/de-at-ed4817af.js +0 -88
- package/dist/esm/de-ch-556c82c8.js +0 -88
- package/dist/esm/dom-8f926f33.js +0 -1056
- package/dist/esm/downloadUtils-4577cf8b.js +0 -3125
- package/dist/esm/el-394dfd74.js +0 -64
- package/dist/esm/en-au-6dde1e7e.js +0 -64
- package/dist/esm/en-ca-420be416.js +0 -63
- package/dist/esm/en-gb-0a7caa85.js +0 -67
- package/dist/esm/es-2e1beb99.js +0 -64
- package/dist/esm/es-mx-ef132a24.js +0 -63
- package/dist/esm/et-83d139c1.js +0 -90
- package/dist/esm/fi-8b81ed94.js +0 -113
- package/dist/esm/filter-8b806ae6.js +0 -763
- package/dist/esm/floating-ui-c397f653.js +0 -1898
- package/dist/esm/focusTrapComponent-14368766.js +0 -1023
- package/dist/esm/form-133b00c7.js +0 -252
- package/dist/esm/fr-c47c114a.js +0 -66
- package/dist/esm/fr-ch-97635343.js +0 -64
- package/dist/esm/globalAttributes-03c9e433.js +0 -74
- package/dist/esm/guid-36c6c6a5.js +0 -24
- package/dist/esm/he-ed2a12b9.js +0 -103
- package/dist/esm/helpers-078591d2.js +0 -877
- package/dist/esm/hi-a05727ac.js +0 -63
- package/dist/esm/hr-d01671ca.js +0 -78
- package/dist/esm/hu-16506ca7.js +0 -86
- package/dist/esm/id-e9367e87.js +0 -64
- package/dist/esm/index-7183ce4a.js +0 -2496
- package/dist/esm/index-857df22e.js +0 -199
- package/dist/esm/index.es-a28dad8e.js +0 -10725
- package/dist/esm/interactive-20bb1dc4.js +0 -143
- package/dist/esm/it-14246b4a.js +0 -64
- package/dist/esm/it-ch-a877e111.js +0 -64
- package/dist/esm/ja-67a0cfa0.js +0 -70
- package/dist/esm/key-af303047.js +0 -16
- package/dist/esm/ko-35b0b83a.js +0 -70
- package/dist/esm/label-cd393c81.js +0 -179
- package/dist/esm/loadable-c3685e51.js +0 -89
- package/dist/esm/locale-6107ef11.js +0 -571
- package/dist/esm/locale-731e75a8.js +0 -156
- package/dist/esm/lt-71014faf.js +0 -95
- package/dist/esm/lv-def9df38.js +0 -64
- package/dist/esm/math-cdaf4dc0.js +0 -54
- package/dist/esm/mk-bfeac49e.js +0 -64
- package/dist/esm/nb-0723b461.js +0 -65
- package/dist/esm/nl-89663165.js +0 -65
- package/dist/esm/observers-8ce200f2.js +0 -51
- package/dist/esm/openCloseComponent-982c6b9e.js +0 -90
- package/dist/esm/pl-0157c37c.js +0 -112
- package/dist/esm/popupUtils-d75edf93.js +0 -94
- package/dist/esm/pt-80d1520c.js +0 -65
- package/dist/esm/pt-br-ee5003c7.js +0 -63
- package/dist/esm/publicNotificationStore-9362d7ae.js +0 -45
- package/dist/esm/resources-13098091.js +0 -35
- package/dist/esm/resources-1a8d4d77.js +0 -24
- package/dist/esm/resources-242fdf8d.js +0 -2051
- package/dist/esm/resources-4bcfc016.js +0 -22
- package/dist/esm/resources-649a0f91.js +0 -48
- package/dist/esm/resources-6772a50d.js +0 -24
- package/dist/esm/resources-6e00e0d1.js +0 -20
- package/dist/esm/resources-a0420cda.js +0 -20
- package/dist/esm/resources-cdc36705.js +0 -28
- package/dist/esm/ro-eff987f8.js +0 -64
- package/dist/esm/ru-62839398.js +0 -124
- package/dist/esm/shared-list-render-a2ab63e8.js +0 -342
- package/dist/esm/sk-c2f4bd58.js +0 -146
- package/dist/esm/sl-328ff1db.js +0 -166
- package/dist/esm/solution-store-19f7825b.js +0 -1342
- package/dist/esm/sortableComponent-65956286.js +0 -3104
- package/dist/esm/sr-75a3ad46.js +0 -99
- package/dist/esm/sv-10da5ef2.js +0 -69
- package/dist/esm/t9n-f16911e7.js +0 -95
- package/dist/esm/th-aa112042.js +0 -63
- package/dist/esm/time-855b3426.js +0 -274
- package/dist/esm/tr-5925a2f5.js +0 -64
- package/dist/esm/uk-c40eeb9f.js +0 -102
- package/dist/esm/utils-5ec65194.js +0 -121
- package/dist/esm/utils-86d242a6.js +0 -90
- package/dist/esm/utils-93fd55c4.js +0 -61
- package/dist/esm/utils-abdd879e.js +0 -203
- package/dist/esm/utils-c3509713.js +0 -51
- package/dist/esm/vi-27922b93.js +0 -68
- package/dist/esm/zh-cn-38a2e1d3.js +0 -92
- package/dist/esm/zh-hk-e0217bd1.js +0 -69
- package/dist/esm/zh-tw-31f0447c.js +0 -90
- package/dist/solutions-components/p-0392679d.js +0 -6
- package/dist/solutions-components/p-05f702ae.js +0 -6
- package/dist/solutions-components/p-0637dbc2.entry.js +0 -6
- package/dist/solutions-components/p-068f5a8c.entry.js +0 -11
- package/dist/solutions-components/p-08bde7db.entry.js +0 -6
- package/dist/solutions-components/p-0a0d0d3a.entry.js +0 -6
- package/dist/solutions-components/p-0b4f4b0e.entry.js +0 -6
- package/dist/solutions-components/p-0b65130f.entry.js +0 -6
- package/dist/solutions-components/p-0c07ad8a.js +0 -11
- package/dist/solutions-components/p-0c97de08.js +0 -12
- package/dist/solutions-components/p-0d774e41.js +0 -6
- package/dist/solutions-components/p-0f156577.entry.js +0 -6
- package/dist/solutions-components/p-0f6b58b2.js +0 -6
- package/dist/solutions-components/p-10410f92.entry.js +0 -6
- package/dist/solutions-components/p-10f2d6b0.entry.js +0 -11
- package/dist/solutions-components/p-13be5cf5.entry.js +0 -11
- package/dist/solutions-components/p-14548a83.js +0 -6
- package/dist/solutions-components/p-17668cb7.js +0 -16
- package/dist/solutions-components/p-1b9fb070.entry.js +0 -6
- package/dist/solutions-components/p-1be63b50.js +0 -11
- package/dist/solutions-components/p-1c75bb3d.js +0 -6
- package/dist/solutions-components/p-1e2ffee3.js +0 -11
- package/dist/solutions-components/p-1f7046e9.entry.js +0 -6
- package/dist/solutions-components/p-21c2d29c.entry.js +0 -6
- package/dist/solutions-components/p-21ccd955.entry.js +0 -6
- package/dist/solutions-components/p-225c4ca4.js +0 -6
- package/dist/solutions-components/p-234a8293.entry.js +0 -11
- package/dist/solutions-components/p-2447b332.js +0 -6
- package/dist/solutions-components/p-24c699b0.entry.js +0 -16
- package/dist/solutions-components/p-259f6f81.js +0 -11
- package/dist/solutions-components/p-25dd768d.js +0 -11
- package/dist/solutions-components/p-2656c6e4.entry.js +0 -47
- package/dist/solutions-components/p-284cc5cd.entry.js +0 -6
- package/dist/solutions-components/p-28b33708.js +0 -6
- package/dist/solutions-components/p-29d68474.js +0 -11
- package/dist/solutions-components/p-2d68a6fd.js +0 -6
- package/dist/solutions-components/p-2e2d01de.entry.js +0 -11
- package/dist/solutions-components/p-2f425700.entry.js +0 -11
- package/dist/solutions-components/p-324d71f4.entry.js +0 -11
- package/dist/solutions-components/p-32b6b6c9.js +0 -11
- package/dist/solutions-components/p-35c58364.js +0 -11
- package/dist/solutions-components/p-364486d1.entry.js +0 -6
- package/dist/solutions-components/p-368cbb2c.entry.js +0 -11
- package/dist/solutions-components/p-36f247db.entry.js +0 -6
- package/dist/solutions-components/p-38544b17.js +0 -6
- package/dist/solutions-components/p-3a73ee38.entry.js +0 -11
- package/dist/solutions-components/p-3ad4426b.entry.js +0 -11
- package/dist/solutions-components/p-3c10901a.entry.js +0 -11
- package/dist/solutions-components/p-3c7d0eb9.js +0 -6
- package/dist/solutions-components/p-3ca39d08.entry.js +0 -6
- package/dist/solutions-components/p-3d17ee9f.entry.js +0 -6
- package/dist/solutions-components/p-3f279568.js +0 -18
- package/dist/solutions-components/p-411b73a7.js +0 -6
- package/dist/solutions-components/p-428554b4.js +0 -11
- package/dist/solutions-components/p-429e1284.entry.js +0 -6
- package/dist/solutions-components/p-42f0e1fa.entry.js +0 -11
- package/dist/solutions-components/p-4416d288.js +0 -11
- package/dist/solutions-components/p-451b16b3.entry.js +0 -11
- package/dist/solutions-components/p-4647b2a6.js +0 -6
- package/dist/solutions-components/p-475ad635.js +0 -11
- package/dist/solutions-components/p-480d0789.js +0 -6
- package/dist/solutions-components/p-49b02dda.entry.js +0 -6
- package/dist/solutions-components/p-49fb1bfa.js +0 -11
- package/dist/solutions-components/p-4abf1c34.js +0 -6
- package/dist/solutions-components/p-4ae36626.js +0 -6
- package/dist/solutions-components/p-4bff69aa.entry.js +0 -11
- package/dist/solutions-components/p-4ccdac24.entry.js +0 -12
- package/dist/solutions-components/p-4d402bcf.entry.js +0 -11
- package/dist/solutions-components/p-4d8fc031.js +0 -6
- package/dist/solutions-components/p-4d99cb49.entry.js +0 -6
- package/dist/solutions-components/p-4fbadb84.entry.js +0 -6
- package/dist/solutions-components/p-515a319e.js +0 -21
- package/dist/solutions-components/p-5268d845.entry.js +0 -11
- package/dist/solutions-components/p-568822d4.js +0 -11
- package/dist/solutions-components/p-5a885617.entry.js +0 -6
- package/dist/solutions-components/p-5b566d55.js +0 -11
- package/dist/solutions-components/p-5e12026e.js +0 -6
- package/dist/solutions-components/p-5fe99315.entry.js +0 -11
- package/dist/solutions-components/p-60d212df.entry.js +0 -6
- package/dist/solutions-components/p-6105d57c.js +0 -6
- package/dist/solutions-components/p-613315a7.entry.js +0 -12
- package/dist/solutions-components/p-61a523a6.entry.js +0 -6
- package/dist/solutions-components/p-6268020e.entry.js +0 -6
- package/dist/solutions-components/p-627c19b5.entry.js +0 -6
- package/dist/solutions-components/p-62eba559.entry.js +0 -17
- package/dist/solutions-components/p-63fa7791.entry.js +0 -11
- package/dist/solutions-components/p-653af7e0.js +0 -11
- package/dist/solutions-components/p-6604ac77.js +0 -11
- package/dist/solutions-components/p-668c9fd9.entry.js +0 -6
- package/dist/solutions-components/p-674be06c.entry.js +0 -6
- package/dist/solutions-components/p-67b9b58f.entry.js +0 -6
- package/dist/solutions-components/p-67ff8e9a.entry.js +0 -17
- package/dist/solutions-components/p-68434a63.js +0 -6
- package/dist/solutions-components/p-68e0adcf.js +0 -6
- package/dist/solutions-components/p-68e84199.entry.js +0 -6
- package/dist/solutions-components/p-69763854.js +0 -6
- package/dist/solutions-components/p-6ae45648.js +0 -6
- package/dist/solutions-components/p-6b2b8b41.entry.js +0 -29
- package/dist/solutions-components/p-6c85b276.js +0 -489
- package/dist/solutions-components/p-6cce7009.entry.js +0 -11
- package/dist/solutions-components/p-6d511162.js +0 -6
- package/dist/solutions-components/p-708294ca.entry.js +0 -11
- package/dist/solutions-components/p-7116f96d.entry.js +0 -36
- package/dist/solutions-components/p-727596e6.js +0 -11
- package/dist/solutions-components/p-73100e79.js +0 -11
- package/dist/solutions-components/p-734bc1b0.entry.js +0 -11
- package/dist/solutions-components/p-752ece4a.entry.js +0 -11
- package/dist/solutions-components/p-758d94ea.entry.js +0 -6
- package/dist/solutions-components/p-75e2a322.entry.js +0 -17
- package/dist/solutions-components/p-775ad144.js +0 -11
- package/dist/solutions-components/p-77b43a94.js +0 -11
- package/dist/solutions-components/p-787203af.entry.js +0 -11
- package/dist/solutions-components/p-78780f63.js +0 -7
- package/dist/solutions-components/p-79110824.js +0 -6
- package/dist/solutions-components/p-793cad54.js +0 -6
- package/dist/solutions-components/p-797aa505.js +0 -6
- package/dist/solutions-components/p-7c13406e.entry.js +0 -6
- package/dist/solutions-components/p-7dbccc10.entry.js +0 -21
- package/dist/solutions-components/p-7ebd34df.entry.js +0 -11
- package/dist/solutions-components/p-802acc51.entry.js +0 -6
- package/dist/solutions-components/p-809b7e47.entry.js +0 -11
- package/dist/solutions-components/p-83fd31d5.js +0 -17
- package/dist/solutions-components/p-84378c8d.entry.js +0 -11
- package/dist/solutions-components/p-864b1d72.entry.js +0 -6
- package/dist/solutions-components/p-8684a905.js +0 -21
- package/dist/solutions-components/p-891682da.entry.js +0 -12
- package/dist/solutions-components/p-8953a9cc.entry.js +0 -6
- package/dist/solutions-components/p-8b47b607.entry.js +0 -11
- package/dist/solutions-components/p-8d49a084.js +0 -6
- package/dist/solutions-components/p-8fabb8a4.entry.js +0 -22
- package/dist/solutions-components/p-95aba86b.entry.js +0 -6
- package/dist/solutions-components/p-96c2ed64.entry.js +0 -11
- package/dist/solutions-components/p-978d936a.entry.js +0 -11
- package/dist/solutions-components/p-980cd015.entry.js +0 -11
- package/dist/solutions-components/p-981e9549.js +0 -11
- package/dist/solutions-components/p-98308b13.entry.js +0 -11
- package/dist/solutions-components/p-98fe7b5d.entry.js +0 -6
- package/dist/solutions-components/p-993e8bd0.js +0 -11
- package/dist/solutions-components/p-99c5701d.entry.js +0 -6
- package/dist/solutions-components/p-9cbfd8cd.js +0 -6
- package/dist/solutions-components/p-a09c8edf.entry.js +0 -6
- package/dist/solutions-components/p-a4755ea8.entry.js +0 -6
- package/dist/solutions-components/p-a5272d7e.js +0 -6
- package/dist/solutions-components/p-a5c5b24d.js +0 -6
- package/dist/solutions-components/p-a5e93c7e.entry.js +0 -18
- package/dist/solutions-components/p-a6bb4148.js +0 -6
- package/dist/solutions-components/p-a84acc82.entry.js +0 -6
- package/dist/solutions-components/p-a8c9ac0b.entry.js +0 -16
- package/dist/solutions-components/p-a9bd945b.entry.js +0 -11
- package/dist/solutions-components/p-a9c30842.entry.js +0 -11
- package/dist/solutions-components/p-abdd289e.js +0 -6
- package/dist/solutions-components/p-aca29f67.entry.js +0 -11
- package/dist/solutions-components/p-ad96cd8b.entry.js +0 -11
- package/dist/solutions-components/p-ada368a5.entry.js +0 -6
- package/dist/solutions-components/p-af1bb992.js +0 -6
- package/dist/solutions-components/p-b1a5f341.js +0 -61
- package/dist/solutions-components/p-b1b768f7.js +0 -145
- package/dist/solutions-components/p-b21a9b47.js +0 -11
- package/dist/solutions-components/p-b29677ca.js +0 -6
- package/dist/solutions-components/p-b2c5e62b.js +0 -6
- package/dist/solutions-components/p-b326b592.entry.js +0 -11
- package/dist/solutions-components/p-b3ebaa79.js +0 -11
- package/dist/solutions-components/p-b699637f.entry.js +0 -11
- package/dist/solutions-components/p-b6efec9a.entry.js +0 -6
- package/dist/solutions-components/p-b7285bd5.js +0 -6
- package/dist/solutions-components/p-b8959537.js +0 -6
- package/dist/solutions-components/p-baf4cb37.js +0 -6
- package/dist/solutions-components/p-baf82bab.entry.js +0 -6
- package/dist/solutions-components/p-bfebff0e.js +0 -6
- package/dist/solutions-components/p-c0f97ed2.entry.js +0 -6
- package/dist/solutions-components/p-c3190f85.js +0 -6
- package/dist/solutions-components/p-c4ebb5d1.js +0 -11
- package/dist/solutions-components/p-c504529e.entry.js +0 -6
- package/dist/solutions-components/p-c56fd16c.entry.js +0 -11
- package/dist/solutions-components/p-c6b9a129.js +0 -11
- package/dist/solutions-components/p-c77ff1b4.entry.js +0 -6
- package/dist/solutions-components/p-c7e7da9a.entry.js +0 -17
- package/dist/solutions-components/p-c8cf222b.entry.js +0 -6
- package/dist/solutions-components/p-c92fff33.js +0 -11
- package/dist/solutions-components/p-c9bd3666.js +0 -6
- package/dist/solutions-components/p-cb1d29d4.entry.js +0 -17
- package/dist/solutions-components/p-cbe7a79a.entry.js +0 -6
- package/dist/solutions-components/p-cdee3846.js +0 -6
- package/dist/solutions-components/p-cfb3d66a.js +0 -6
- package/dist/solutions-components/p-d2d7d6b4.entry.js +0 -11
- package/dist/solutions-components/p-d32e6900.js +0 -11
- package/dist/solutions-components/p-d44e2fd7.js +0 -6
- package/dist/solutions-components/p-d5263cb9.entry.js +0 -17
- package/dist/solutions-components/p-d9a59fcc.js +0 -22
- package/dist/solutions-components/p-db44593d.js +0 -16
- package/dist/solutions-components/p-dbacb910.js +0 -11
- package/dist/solutions-components/p-dd48cc25.entry.js +0 -6
- package/dist/solutions-components/p-de281b08.js +0 -16
- package/dist/solutions-components/p-df118036.js +0 -6
- package/dist/solutions-components/p-e01f576a.entry.js +0 -6
- package/dist/solutions-components/p-e22bce70.entry.js +0 -6
- package/dist/solutions-components/p-e274f3b0.entry.js +0 -23
- package/dist/solutions-components/p-e377cfb3.entry.js +0 -6
- package/dist/solutions-components/p-e6d4bdce.js +0 -6
- package/dist/solutions-components/p-e6dfc80f.js +0 -6
- package/dist/solutions-components/p-e834d132.js +0 -6
- package/dist/solutions-components/p-e83b1772.entry.js +0 -11
- package/dist/solutions-components/p-e902ba19.js +0 -36
- package/dist/solutions-components/p-ea17cefb.entry.js +0 -6
- package/dist/solutions-components/p-ea83d12d.js +0 -11
- package/dist/solutions-components/p-ee4e5212.js +0 -17
- package/dist/solutions-components/p-ef05dea5.js +0 -6
- package/dist/solutions-components/p-f0d68a3f.js +0 -11
- package/dist/solutions-components/p-f10944e6.js +0 -11
- package/dist/solutions-components/p-f17941f1.entry.js +0 -6
- package/dist/solutions-components/p-f1e6ce96.entry.js +0 -11
- package/dist/solutions-components/p-f6253a08.entry.js +0 -6
- package/dist/solutions-components/p-f9e3a93d.js +0 -11
- package/dist/solutions-components/p-f9ff6c29.entry.js +0 -6
- package/dist/solutions-components/p-fcefdfff.js +0 -11
- package/dist/solutions-components/p-ff460d05.entry.js +0 -17
- package/dist/solutions-components/p-ff7c9bc3.entry.js +0 -11
- package/dist/solutions-components/p-ffa2c430.js +0 -6
- package/dist/solutions-components/p-ffbed9b2.entry.js +0 -12
@@ -1,1344 +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
|
-
'use strict';
|
7
|
-
|
8
|
-
const index = require('./index-22bb61da.js');
|
9
|
-
const interfaces = require('./interfaces-7cd0a48a.js');
|
10
|
-
const solutionResource = require('./solution-resource-abec7452.js');
|
11
|
-
require('./index-f64944ad.js');
|
12
|
-
const restHelpersGet = require('./restHelpersGet-e0737480.js');
|
13
|
-
|
14
|
-
/* Copyright (c) 2018-2019 Environmental Systems Research Institute, Inc.
|
15
|
-
* Apache-2.0 */
|
16
|
-
/**
|
17
|
-
* Returns an array with arrays of the given size.
|
18
|
-
*
|
19
|
-
* @param arr Array to split
|
20
|
-
* @param size Size of every group
|
21
|
-
*/
|
22
|
-
function chunkArray(arr, size) {
|
23
|
-
const results = [];
|
24
|
-
let index = 0;
|
25
|
-
while (index < arr.length) {
|
26
|
-
results.push(arr.slice(index, index + size));
|
27
|
-
index += size;
|
28
|
-
}
|
29
|
-
return results;
|
30
|
-
}
|
31
|
-
|
32
|
-
/*! *****************************************************************************
|
33
|
-
Copyright (c) Microsoft Corporation.
|
34
|
-
|
35
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
36
|
-
purpose with or without fee is hereby granted.
|
37
|
-
|
38
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
39
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
40
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
41
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
42
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
43
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
44
|
-
PERFORMANCE OF THIS SOFTWARE.
|
45
|
-
***************************************************************************** */
|
46
|
-
|
47
|
-
var __assign = function() {
|
48
|
-
__assign = Object.assign || function __assign(t) {
|
49
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
50
|
-
s = arguments[i];
|
51
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
52
|
-
}
|
53
|
-
return t;
|
54
|
-
};
|
55
|
-
return __assign.apply(this, arguments);
|
56
|
-
};
|
57
|
-
|
58
|
-
/* Copyright (c) 2017 Environmental Systems Research Institute, Inc.
|
59
|
-
* Apache-2.0 */
|
60
|
-
/**
|
61
|
-
* Helper that returns the appropriate portal url for a given request. `requestOptions.portal` is given
|
62
|
-
* precedence over `authentication.portal`. If neither `portal` nor `authentication` is present,
|
63
|
-
* `www.arcgis.com/sharing/rest` is returned.
|
64
|
-
*
|
65
|
-
* @param requestOptions - Request options that may have authentication manager
|
66
|
-
* @returns Portal url to be used in API requests
|
67
|
-
*/
|
68
|
-
function getPortalUrl(requestOptions) {
|
69
|
-
if (requestOptions === void 0) { requestOptions = {}; }
|
70
|
-
// use portal in options if specified
|
71
|
-
if (requestOptions.portal) {
|
72
|
-
return restHelpersGet.cleanUrl(requestOptions.portal);
|
73
|
-
}
|
74
|
-
// if auth was passed, use that portal
|
75
|
-
if (requestOptions.authentication) {
|
76
|
-
// the portal url is already scrubbed in the auth package
|
77
|
-
return requestOptions.authentication.portal;
|
78
|
-
}
|
79
|
-
// default to arcgis.com
|
80
|
-
return "https://www.arcgis.com/sharing/rest";
|
81
|
-
}
|
82
|
-
|
83
|
-
/* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.
|
84
|
-
* Apache-2.0 */
|
85
|
-
/**
|
86
|
-
* Serialize an item and its data into a json format accepted by the Portal API for create and update operations
|
87
|
-
*
|
88
|
-
* @param item Item to be serialized
|
89
|
-
* @returns a formatted json object to be sent to Portal
|
90
|
-
*/
|
91
|
-
function serializeItem(item) {
|
92
|
-
// create a clone so we're not messing with the original
|
93
|
-
var clone = JSON.parse(JSON.stringify(item));
|
94
|
-
// binary data needs POSTed as a `file`
|
95
|
-
// JSON object literals should be passed as `text`.
|
96
|
-
if (clone.data) {
|
97
|
-
(typeof Blob !== "undefined" && item.data instanceof Blob) ||
|
98
|
-
// Node.js doesn't implement Blob
|
99
|
-
item.data.constructor.name === "ReadStream"
|
100
|
-
? (clone.file = item.data)
|
101
|
-
: (clone.text = item.data);
|
102
|
-
delete clone.data;
|
103
|
-
}
|
104
|
-
return clone;
|
105
|
-
}
|
106
|
-
/**
|
107
|
-
* `requestOptions.owner` is given priority, `requestOptions.item.owner` will be checked next. If neither are present, `authentication.getUserName()` will be used instead.
|
108
|
-
*/
|
109
|
-
function determineOwner(requestOptions) {
|
110
|
-
if (requestOptions.owner) {
|
111
|
-
return Promise.resolve(requestOptions.owner);
|
112
|
-
}
|
113
|
-
else if (requestOptions.item && requestOptions.item.owner) {
|
114
|
-
return Promise.resolve(requestOptions.item.owner);
|
115
|
-
}
|
116
|
-
else if (requestOptions.authentication &&
|
117
|
-
requestOptions.authentication.getUsername) {
|
118
|
-
return requestOptions.authentication.getUsername();
|
119
|
-
}
|
120
|
-
else {
|
121
|
-
return Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."));
|
122
|
-
}
|
123
|
-
}
|
124
|
-
/**
|
125
|
-
* checks if the extent is a valid BBox (2 element array of coordinate pair arrays)
|
126
|
-
* @param extent
|
127
|
-
* @returns
|
128
|
-
*/
|
129
|
-
function isBBox(extent) {
|
130
|
-
return (Array.isArray(extent) &&
|
131
|
-
Array.isArray(extent[0]) &&
|
132
|
-
Array.isArray(extent[1]));
|
133
|
-
}
|
134
|
-
/**
|
135
|
-
* Given a Bbox, convert it to a string. Some api endpoints expect a string
|
136
|
-
*
|
137
|
-
* @param {BBox} extent
|
138
|
-
* @return {*} {string}
|
139
|
-
*/
|
140
|
-
function bboxToString(extent) {
|
141
|
-
return extent.join(",");
|
142
|
-
}
|
143
|
-
|
144
|
-
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
|
145
|
-
* Apache-2.0 */
|
146
|
-
/**
|
147
|
-
* ```js
|
148
|
-
* import { updateItem } from "@esri/arcgis-rest-portal";
|
149
|
-
* //
|
150
|
-
* updateItem({
|
151
|
-
* item: {
|
152
|
-
* id: "3ef",
|
153
|
-
* description: "A three hour tour"
|
154
|
-
* },
|
155
|
-
* authentication
|
156
|
-
* })
|
157
|
-
* .then(response)
|
158
|
-
* ```
|
159
|
-
* Update an Item. See the [REST Documentation](https://developers.arcgis.com/rest/users-groups-and-items/update-item.htm) for more information.
|
160
|
-
*
|
161
|
-
* @param requestOptions - Options for the request.
|
162
|
-
* @returns A Promise that updates an item.
|
163
|
-
*/
|
164
|
-
function updateItem$1(requestOptions) {
|
165
|
-
return determineOwner(requestOptions).then(function (owner) {
|
166
|
-
var url = requestOptions.folderId
|
167
|
-
? getPortalUrl(requestOptions) + "/content/users/" + owner + "/" + requestOptions.folderId + "/items/" + requestOptions.item.id + "/update"
|
168
|
-
: getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.item.id + "/update";
|
169
|
-
// serialize the item into something Portal will accept
|
170
|
-
requestOptions.params = __assign(__assign({}, requestOptions.params), serializeItem(requestOptions.item));
|
171
|
-
// convert extent, if present, into a string from bbox
|
172
|
-
// processParams was previously doing this sort of work,
|
173
|
-
// however now we need to let array of arrays through
|
174
|
-
// Thus for extents we need to move this logic here
|
175
|
-
if (requestOptions.params.extent && isBBox(requestOptions.params.extent)) {
|
176
|
-
requestOptions.params.extent = bboxToString(requestOptions.params.extent);
|
177
|
-
}
|
178
|
-
return restHelpersGet.request(url, requestOptions);
|
179
|
-
});
|
180
|
-
}
|
181
|
-
/**
|
182
|
-
* ```js
|
183
|
-
* import { updateItemResource } from "@esri/arcgis-rest-portal";
|
184
|
-
* //
|
185
|
-
* updateItemResource({
|
186
|
-
* id: '3ef',
|
187
|
-
* resource: file,
|
188
|
-
* name: 'bigkahuna.jpg',
|
189
|
-
* authentication
|
190
|
-
* })
|
191
|
-
* .then(response)
|
192
|
-
* ```
|
193
|
-
* 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.
|
194
|
-
*
|
195
|
-
* @param requestOptions - Options for the request
|
196
|
-
* @returns A Promise that updates an item resource.
|
197
|
-
*/
|
198
|
-
function updateItemResource(requestOptions) {
|
199
|
-
return determineOwner(requestOptions).then(function (owner) {
|
200
|
-
var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/updateResources";
|
201
|
-
// mix in user supplied params
|
202
|
-
requestOptions.params = __assign({ file: requestOptions.resource, fileName: requestOptions.name, resourcesPrefix: requestOptions.prefix, text: requestOptions.content }, requestOptions.params);
|
203
|
-
// only override the access specified previously if 'private' is passed explicitly
|
204
|
-
if (typeof requestOptions.private !== "undefined") {
|
205
|
-
requestOptions.params.access = requestOptions.private
|
206
|
-
? "private"
|
207
|
-
: "inherit";
|
208
|
-
}
|
209
|
-
return restHelpersGet.request(url, requestOptions);
|
210
|
-
});
|
211
|
-
}
|
212
|
-
|
213
|
-
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
|
214
|
-
* Apache-2.0 */
|
215
|
-
/**
|
216
|
-
* ```js
|
217
|
-
* import { addItemResource } from "@esri/arcgis-rest-portal";
|
218
|
-
* //
|
219
|
-
* // Add a file resource
|
220
|
-
* addItemResource({
|
221
|
-
* id: '3ef',
|
222
|
-
* resource: file,
|
223
|
-
* name: 'bigkahuna.jpg',
|
224
|
-
* authentication
|
225
|
-
* })
|
226
|
-
* .then(response)
|
227
|
-
* //
|
228
|
-
* // Add a text resource
|
229
|
-
* addItemResource({
|
230
|
-
* id: '4fg',
|
231
|
-
* content: "Text content",
|
232
|
-
* name: 'bigkahuna.txt',
|
233
|
-
* authentication
|
234
|
-
* })
|
235
|
-
* .then(response)
|
236
|
-
* ```
|
237
|
-
* 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.
|
238
|
-
*
|
239
|
-
* @param requestOptions - Options for the request
|
240
|
-
* @returns A Promise to add item resources.
|
241
|
-
*/
|
242
|
-
function addItemResource(requestOptions) {
|
243
|
-
return determineOwner(requestOptions).then(function (owner) {
|
244
|
-
var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/addResources";
|
245
|
-
requestOptions.params = __assign({ file: requestOptions.resource, fileName: requestOptions.name, resourcesPrefix: requestOptions.prefix, text: requestOptions.content, access: requestOptions.private ? "private" : "inherit" }, requestOptions.params);
|
246
|
-
return restHelpersGet.request(url, requestOptions);
|
247
|
-
});
|
248
|
-
}
|
249
|
-
|
250
|
-
/* Copyright (c) 2018 Environmental Systems Research Institute, Inc.
|
251
|
-
* Apache-2.0 */
|
252
|
-
/**
|
253
|
-
* Remove a resource associated with an item
|
254
|
-
*
|
255
|
-
* @param requestOptions - Options for the request
|
256
|
-
* @returns A Promise that deletes an item resource.
|
257
|
-
*/
|
258
|
-
function removeItemResource(requestOptions) {
|
259
|
-
return determineOwner(requestOptions).then(function (owner) {
|
260
|
-
var url = getPortalUrl(requestOptions) + "/content/users/" + owner + "/items/" + requestOptions.id + "/removeResources";
|
261
|
-
// mix in user supplied params
|
262
|
-
requestOptions.params = __assign(__assign({}, requestOptions.params), { resource: requestOptions.resource });
|
263
|
-
// only override the deleteAll param specified previously if it is passed explicitly
|
264
|
-
if (typeof requestOptions.deleteAll !== "undefined") {
|
265
|
-
requestOptions.params.deleteAll = requestOptions.deleteAll;
|
266
|
-
}
|
267
|
-
return restHelpersGet.request(url, requestOptions);
|
268
|
-
});
|
269
|
-
}
|
270
|
-
|
271
|
-
/** @license
|
272
|
-
* Copyright 2018 Esri
|
273
|
-
*
|
274
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
275
|
-
* you may not use this file except in compliance with the License.
|
276
|
-
* You may obtain a copy of the License at
|
277
|
-
*
|
278
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
279
|
-
*
|
280
|
-
* Unless required by applicable law or agreed to in writing, software
|
281
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
282
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
283
|
-
* See the License for the specific language governing permissions and
|
284
|
-
* limitations under the License.
|
285
|
-
*/
|
286
|
-
/**
|
287
|
-
* Updates an item.
|
288
|
-
*
|
289
|
-
* @param itemInfo The base info of an item; note that this content will be serialized, which doesn't work
|
290
|
-
* for binary content
|
291
|
-
* @param authentication Credentials for request
|
292
|
-
* @param folderId Item's folder
|
293
|
-
* @param additionalParams Updates that are put under the `params` property, which is not serialized
|
294
|
-
* @return
|
295
|
-
*/
|
296
|
-
function updateItem(itemInfo, authentication, folderId, additionalParams) {
|
297
|
-
return new Promise((resolve, reject) => {
|
298
|
-
const updateOptions = {
|
299
|
-
item: itemInfo,
|
300
|
-
folderId: folderId,
|
301
|
-
authentication: authentication,
|
302
|
-
params: {
|
303
|
-
...(additionalParams ?? {})
|
304
|
-
}
|
305
|
-
};
|
306
|
-
updateItem$1(updateOptions).then(response => (response.success ? resolve(response) : reject(response)), err => reject(err));
|
307
|
-
});
|
308
|
-
}
|
309
|
-
|
310
|
-
/** @license
|
311
|
-
* Copyright 2020 Esri
|
312
|
-
*
|
313
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
314
|
-
* you may not use this file except in compliance with the License.
|
315
|
-
* You may obtain a copy of the License at
|
316
|
-
*
|
317
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
318
|
-
*
|
319
|
-
* Unless required by applicable law or agreed to in writing, software
|
320
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
321
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
322
|
-
* See the License for the specific language governing permissions and
|
323
|
-
* limitations under the License.
|
324
|
-
*/
|
325
|
-
/**
|
326
|
-
* Extracts an item's resource folder and filename from the filename used to store a copy in a storage item.
|
327
|
-
*
|
328
|
-
* @param storageResourceFilename Filename used to store the resource, metadata, or thumbnail of an item
|
329
|
-
* @param storageVersion Version of the Solution template
|
330
|
-
* @returns Folder and filename for storing information in an item, as well as the type (resource, metadata,
|
331
|
-
* or thumbnail) of the information; the folder property is only meaningful for the resource type
|
332
|
-
* @see generateResourceStorageFilename
|
333
|
-
* @see generateMetadataStorageFilename
|
334
|
-
* @see generateThumbnailStorageFilename
|
335
|
-
* @see convertItemResourceToStorageResource
|
336
|
-
*/
|
337
|
-
function convertStorageResourceToItemResource(storageResourceFilename, storageVersion = 0) {
|
338
|
-
const nameParts = storageResourceFilename.split("/");
|
339
|
-
let filename = nameParts.pop();
|
340
|
-
let folder = "";
|
341
|
-
const firstPrefixPart = nameParts.shift(); // undefined if there's no folder
|
342
|
-
// Handle special "folders"
|
343
|
-
let type = solutionResource.EFileType.Resource;
|
344
|
-
if (firstPrefixPart) {
|
345
|
-
if (firstPrefixPart.endsWith("_info_thumbnail")) {
|
346
|
-
type = solutionResource.EFileType.Thumbnail;
|
347
|
-
}
|
348
|
-
else if (firstPrefixPart.endsWith("_info_metadata")) {
|
349
|
-
type = solutionResource.EFileType.Metadata;
|
350
|
-
filename = "metadata.xml";
|
351
|
-
}
|
352
|
-
else if (firstPrefixPart.endsWith("_info_data")) {
|
353
|
-
type = solutionResource.EFileType.Data;
|
354
|
-
}
|
355
|
-
else if (firstPrefixPart.endsWith("_info_dataz")) {
|
356
|
-
filename = filename.replace(/\.zip$/, "");
|
357
|
-
type = solutionResource.EFileType.Data;
|
358
|
-
// Otherwise, strip off item id
|
359
|
-
}
|
360
|
-
else if (storageVersion < 1) {
|
361
|
-
// Version 0
|
362
|
-
const folderStart = firstPrefixPart.indexOf("_");
|
363
|
-
if (folderStart > 0) {
|
364
|
-
folder = firstPrefixPart.substr(folderStart + 1);
|
365
|
-
}
|
366
|
-
}
|
367
|
-
else {
|
368
|
-
// Version ≥ 1
|
369
|
-
folder = nameParts.join("/"); // folder is optional, in which case this will be ""
|
370
|
-
}
|
371
|
-
}
|
372
|
-
return { type, folder, filename };
|
373
|
-
}
|
374
|
-
|
375
|
-
/** @license
|
376
|
-
* Copyright 2021 Esri
|
377
|
-
*
|
378
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
379
|
-
* you may not use this file except in compliance with the License.
|
380
|
-
* You may obtain a copy of the License at
|
381
|
-
*
|
382
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
383
|
-
*
|
384
|
-
* Unless required by applicable law or agreed to in writing, software
|
385
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
386
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
387
|
-
* See the License for the specific language governing permissions and
|
388
|
-
* limitations under the License.
|
389
|
-
*/
|
390
|
-
// ------------------------------------------------------------------------------------------------------------------ //
|
391
|
-
/**
|
392
|
-
* Generates IAssociatedFileCopyResults object.
|
393
|
-
*
|
394
|
-
* @param fileInfo Info about item that was to be copied
|
395
|
-
* @param fetchedFromSource Status of fetching item from source
|
396
|
-
* @param copiedToDestination Status of copying item to destination
|
397
|
-
* @returns IAssociatedFileCopyResults object
|
398
|
-
*/
|
399
|
-
function createCopyResults(fileInfo, fetchedFromSource, copiedToDestination) {
|
400
|
-
return {
|
401
|
-
...fileInfo,
|
402
|
-
fetchedFromSource,
|
403
|
-
copiedToDestination
|
404
|
-
};
|
405
|
-
}
|
406
|
-
|
407
|
-
/** @license
|
408
|
-
* Copyright 2021 Esri
|
409
|
-
*
|
410
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
411
|
-
* you may not use this file except in compliance with the License.
|
412
|
-
* You may obtain a copy of the License at
|
413
|
-
*
|
414
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
415
|
-
*
|
416
|
-
* Unless required by applicable law or agreed to in writing, software
|
417
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
418
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
419
|
-
* See the License for the specific language governing permissions and
|
420
|
-
* limitations under the License.
|
421
|
-
*/
|
422
|
-
// ------------------------------------------------------------------------------------------------------------------ //
|
423
|
-
/**
|
424
|
-
* Copies a resource into a zipfile.
|
425
|
-
*
|
426
|
-
* @param file Information about the source and destination of the file such as its URL, folder, filename
|
427
|
-
* @param zipInfo Information about a zipfile such as its name and its zip object
|
428
|
-
* @returns The result of the copy
|
429
|
-
*/
|
430
|
-
function copyResourceIntoZip(file, zipInfo) {
|
431
|
-
// Add it to the zip
|
432
|
-
if (file.folder) {
|
433
|
-
zipInfo.zip
|
434
|
-
.folder(file.folder)
|
435
|
-
.file(file.filename, file.file, { binary: true });
|
436
|
-
}
|
437
|
-
else {
|
438
|
-
zipInfo.zip.file(file.filename, file.file, { binary: true });
|
439
|
-
}
|
440
|
-
zipInfo.filelist.push(file);
|
441
|
-
return createCopyResults(file, true);
|
442
|
-
}
|
443
|
-
|
444
|
-
/** @license
|
445
|
-
* Copyright 2021 Esri
|
446
|
-
*
|
447
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
448
|
-
* you may not use this file except in compliance with the License.
|
449
|
-
* You may obtain a copy of the License at
|
450
|
-
*
|
451
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
452
|
-
*
|
453
|
-
* Unless required by applicable law or agreed to in writing, software
|
454
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
455
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
456
|
-
* See the License for the specific language governing permissions and
|
457
|
-
* limitations under the License.
|
458
|
-
*/
|
459
|
-
// ------------------------------------------------------------------------------------------------------------------ //
|
460
|
-
/**
|
461
|
-
* Copies a zipfile into an AGO item.
|
462
|
-
*
|
463
|
-
* @param zipInfo Information about a zipfile such as its name and its zip object
|
464
|
-
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
465
|
-
* @param destinationAuthentication Credentials for the request to the storage
|
466
|
-
* @returns A promise which resolves to the result of the copy
|
467
|
-
*/
|
468
|
-
function copyZipIntoItem(zipInfo, destinationItemId, destinationAuthentication) {
|
469
|
-
return new Promise(resolve => {
|
470
|
-
zipInfo.zip
|
471
|
-
.generateAsync({ type: "blob" })
|
472
|
-
.then((content) => {
|
473
|
-
return restHelpersGet.blobToFile(content, zipInfo.filename, "application/zip");
|
474
|
-
})
|
475
|
-
.then((zipfile) => {
|
476
|
-
const addResourceOptions = {
|
477
|
-
id: destinationItemId,
|
478
|
-
resource: zipfile,
|
479
|
-
authentication: destinationAuthentication,
|
480
|
-
params: {
|
481
|
-
archive: true
|
482
|
-
}
|
483
|
-
};
|
484
|
-
return addItemResource(addResourceOptions);
|
485
|
-
})
|
486
|
-
.then(() => resolve(createCopyResults(zipInfo, true, true)), () => resolve(createCopyResults(zipInfo, true, false)) // unable to add resource
|
487
|
-
);
|
488
|
-
});
|
489
|
-
}
|
490
|
-
|
491
|
-
/** @license
|
492
|
-
* Copyright 2021 Esri
|
493
|
-
*
|
494
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
495
|
-
* you may not use this file except in compliance with the License.
|
496
|
-
* You may obtain a copy of the License at
|
497
|
-
*
|
498
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
499
|
-
*
|
500
|
-
* Unless required by applicable law or agreed to in writing, software
|
501
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
502
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
503
|
-
* See the License for the specific language governing permissions and
|
504
|
-
* limitations under the License.
|
505
|
-
*/
|
506
|
-
// ------------------------------------------------------------------------------------------------------------------ //
|
507
|
-
/**
|
508
|
-
* Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item
|
509
|
-
* with a specified path by collecting files into zip files.
|
510
|
-
*
|
511
|
-
* @param files List of item files' URLs and folder/filenames for storing the files
|
512
|
-
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
513
|
-
* @param destinationAuthentication Credentials for the request to the storage
|
514
|
-
* @param filesPerZip Number of files to include per zip file; AGO limits zips to 50 files
|
515
|
-
* @returns A promise which resolves to a list of the result of the copies
|
516
|
-
*/
|
517
|
-
function copyFilesAsResources(files, destinationItemId, destinationAuthentication, filesPerZip = 40) {
|
518
|
-
return new Promise(resolve => {
|
519
|
-
let awaitAllItems = [];
|
520
|
-
const zipInfos = [];
|
521
|
-
if (files.length > 0) {
|
522
|
-
// Bundle the resources into chunked zip updates because AGO tends to have problems with
|
523
|
-
// many updates in a row to the same item: it claims success despite randomly failing.
|
524
|
-
// Note that AGO imposes a limit of 50 files per zip, so we break the list of resource
|
525
|
-
// file info into chunks below this threshold and start a zip for each
|
526
|
-
// https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm
|
527
|
-
const chunkedResourceFiles = chunkArray(files, filesPerZip);
|
528
|
-
chunkedResourceFiles.forEach((chunk, index) => {
|
529
|
-
// Create a zip for this chunk
|
530
|
-
const zipInfo = {
|
531
|
-
filename: `resources${index}.zip`,
|
532
|
-
zip: new solutionResource.jszip_min(),
|
533
|
-
filelist: []
|
534
|
-
};
|
535
|
-
awaitAllItems = awaitAllItems.concat(chunk.map(file => copyResourceIntoZip(file, zipInfo)));
|
536
|
-
zipInfos.push(zipInfo);
|
537
|
-
});
|
538
|
-
}
|
539
|
-
if (awaitAllItems.length > 0) {
|
540
|
-
// Wait until the Resource zip file(s) are prepared
|
541
|
-
void Promise.all(awaitAllItems).then((results) => {
|
542
|
-
// We have three types of results:
|
543
|
-
// | fetchedFromSource | copiedToDestination | interpretation | |
|
544
|
-
// +-------------------+---------------------+------------------------------------------------+
|
545
|
-
// | false | * | could not fetch file from source |
|
546
|
-
// | true | true | file has been fetched and sent to AGO |
|
547
|
-
// | true | undefined | file has been fetched and will be sent via zip |
|
548
|
-
// Filter out copiedToDestination===undefined; we'll get their status when we send their zip
|
549
|
-
results = results.filter((result) => !(result.fetchedFromSource &&
|
550
|
-
typeof result.copiedToDestination === "undefined"));
|
551
|
-
// Now send the resources to AGO
|
552
|
-
// eslint-disable-next-line @typescript-eslint/no-floating-promises
|
553
|
-
_copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
|
554
|
-
resolve(results.concat(zipResults));
|
555
|
-
});
|
556
|
-
});
|
557
|
-
}
|
558
|
-
else {
|
559
|
-
// No data, metadata, or resources to send; we're done
|
560
|
-
resolve([]);
|
561
|
-
}
|
562
|
-
});
|
563
|
-
}
|
564
|
-
/**
|
565
|
-
* Copies one or more zipfiles to a storage item.
|
566
|
-
*
|
567
|
-
* @param zipInfos List of zip files containing files to store
|
568
|
-
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
569
|
-
* @param destinationAuthentication Credentials for the request to the storage
|
570
|
-
* @returns A promise which resolves to a list of the result of the copies
|
571
|
-
* @private
|
572
|
-
*/
|
573
|
-
function _copyAssociatedFileZips(zipInfos, destinationItemId, destinationAuthentication) {
|
574
|
-
return new Promise(resolve => {
|
575
|
-
const results = [];
|
576
|
-
// Filter out empty zips, which can happen when none of the files in the chunk going into a zip
|
577
|
-
// can be fetched; e.g., the only file is metadata.xml, and the source item doesn't have metadata
|
578
|
-
const nonEmptyZipInfos = zipInfos.filter((zipInfo) => Object.keys(zipInfo.zip.files).length > 0);
|
579
|
-
if (nonEmptyZipInfos.length > 0) {
|
580
|
-
// Send the zip(s) to AGO
|
581
|
-
void _sendZipsSeriallyToItem(nonEmptyZipInfos, destinationItemId, destinationAuthentication).then((zipResults) => {
|
582
|
-
resolve(zipResults);
|
583
|
-
});
|
584
|
-
}
|
585
|
-
else {
|
586
|
-
// No resources to send; we're done
|
587
|
-
resolve(results);
|
588
|
-
}
|
589
|
-
});
|
590
|
-
}
|
591
|
-
/**
|
592
|
-
* Copies one or more zipfiles to a storage item in a serial fashion, waiting a bit between sends.
|
593
|
-
*
|
594
|
-
* @param zipInfos List of zip files containing files to store
|
595
|
-
* @param destinationItemId Id of item to receive copy of resource/metadata/thumbnail
|
596
|
-
* @param destinationAuthentication Credentials for the request to the storage
|
597
|
-
* @returns A promise which resolves to a list of the result of the copies
|
598
|
-
*/
|
599
|
-
function _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication) {
|
600
|
-
return new Promise(resolve => {
|
601
|
-
let allResults = [];
|
602
|
-
// Remove zip from bottom of list
|
603
|
-
const zipInfoToSend = zipInfos.pop();
|
604
|
-
// Send predecessors in list
|
605
|
-
let sendOthersPromise = Promise.resolve([]);
|
606
|
-
if (zipInfos.length > 0) {
|
607
|
-
sendOthersPromise = _sendZipsSeriallyToItem(zipInfos, destinationItemId, destinationAuthentication);
|
608
|
-
}
|
609
|
-
void sendOthersPromise
|
610
|
-
.then((response) => {
|
611
|
-
allResults = response;
|
612
|
-
// Stall a little to give AGO time to catch up
|
613
|
-
return new Promise(resolveSleep => {
|
614
|
-
setTimeout(() => resolveSleep(), 1000);
|
615
|
-
});
|
616
|
-
})
|
617
|
-
.then(() => {
|
618
|
-
// Now send the zip removed from bottom of the input list
|
619
|
-
return copyZipIntoItem(zipInfoToSend, destinationItemId, destinationAuthentication);
|
620
|
-
})
|
621
|
-
.then((zipResult) => {
|
622
|
-
// Save the result of copying this zip as a status for each of the files that it contains
|
623
|
-
zipResult.filelist.forEach((fileInfo) => {
|
624
|
-
allResults.push(createCopyResults(fileInfo, true, zipResult.copiedToDestination));
|
625
|
-
});
|
626
|
-
resolve(allResults);
|
627
|
-
});
|
628
|
-
});
|
629
|
-
}
|
630
|
-
|
631
|
-
/** @license
|
632
|
-
* Copyright 2018 Esri
|
633
|
-
*
|
634
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
635
|
-
* you may not use this file except in compliance with the License.
|
636
|
-
* You may obtain a copy of the License at
|
637
|
-
*
|
638
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
639
|
-
*
|
640
|
-
* Unless required by applicable law or agreed to in writing, software
|
641
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
642
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
643
|
-
* See the License for the specific language governing permissions and
|
644
|
-
* limitations under the License.
|
645
|
-
*/
|
646
|
-
/**
|
647
|
-
* Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item
|
648
|
-
* with a specified path.
|
649
|
-
*
|
650
|
-
* @param files List of item files and paths for storing the files
|
651
|
-
* @param storageItemId Id of item to receive copy of resource/metadata
|
652
|
-
* @param storageAuthentication Credentials for the request to the storage
|
653
|
-
* @returns A promise which resolves to a list of the filenames under which the resource/metadata are stored
|
654
|
-
*/
|
655
|
-
function copyFilesToStorageItem(files, storageItemId, storageAuthentication) {
|
656
|
-
return new Promise(resolve => {
|
657
|
-
// tslint:disable-next-line: no-floating-promises
|
658
|
-
void copyFilesAsResources(files, storageItemId, storageAuthentication).then((results) => {
|
659
|
-
resolve(results
|
660
|
-
// Filter out failures
|
661
|
-
.filter((result) => result.fetchedFromSource && result.copiedToDestination)
|
662
|
-
// Return folder and filename in storage item's resources
|
663
|
-
.map((result) => result.folder + "/" + result.filename));
|
664
|
-
});
|
665
|
-
});
|
666
|
-
}
|
667
|
-
/**
|
668
|
-
* Generates the URL for reading an item's resource given the filename of the resource.
|
669
|
-
*
|
670
|
-
* @param sourcePortalSharingUrl Server/sharing
|
671
|
-
* @param itemId Id of item
|
672
|
-
* @param sourceResourceFilename Either filename or folder/filename to resource
|
673
|
-
* @returns URL string
|
674
|
-
*/
|
675
|
-
function generateSourceResourceUrl(sourcePortalSharingUrl, itemId, sourceResourceFilename) {
|
676
|
-
return (restHelpersGet.checkUrlPathTermination(sourcePortalSharingUrl) +
|
677
|
-
"content/items/" +
|
678
|
-
itemId +
|
679
|
-
"/resources/" +
|
680
|
-
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 &&
|
706
|
-
supportedExtensions.indexOf("|" + filenameExtension[0] + "|") >= 0);
|
707
|
-
}
|
708
|
-
/**
|
709
|
-
* Gets the thumbnail of an item or group.
|
710
|
-
*
|
711
|
-
* @param authentication Credentials for the request to the storage
|
712
|
-
* @param filePaths List of item files' URLs and folder/filenames for storing the files
|
713
|
-
* @returns A promise which resolves to a boolean indicating if the copies were successful
|
714
|
-
*/
|
715
|
-
function getThumbnailFromStorageItem(authentication, filePaths) {
|
716
|
-
let thumbnailUrl;
|
717
|
-
let thumbnailFilename;
|
718
|
-
filePaths.forEach(path => {
|
719
|
-
if (path.type === solutionResource.EFileType.Thumbnail) {
|
720
|
-
thumbnailUrl = path.url;
|
721
|
-
thumbnailFilename = path.filename;
|
722
|
-
}
|
723
|
-
});
|
724
|
-
if (!thumbnailUrl) {
|
725
|
-
return Promise.resolve(null);
|
726
|
-
}
|
727
|
-
return restHelpersGet.getThumbnailFile(thumbnailUrl, thumbnailFilename, authentication);
|
728
|
-
}
|
729
|
-
/**
|
730
|
-
* Removes the item's resource that matches the filename with new content
|
731
|
-
*
|
732
|
-
* @param itemId Id of the item to remove
|
733
|
-
* @param filename Name of the resource file to remove
|
734
|
-
* @param authentication Credentials for the request to the storage
|
735
|
-
* @returns A promise which resolves with a success true/false response
|
736
|
-
*/
|
737
|
-
function removeItemResourceFile(itemId, filename, authentication) {
|
738
|
-
return removeItemResource({
|
739
|
-
id: itemId,
|
740
|
-
resource: filename,
|
741
|
-
authentication: authentication
|
742
|
-
});
|
743
|
-
}
|
744
|
-
/**
|
745
|
-
* Updates the item's resource that matches the filename with new content
|
746
|
-
*
|
747
|
-
* @param itemId Id of the item to update
|
748
|
-
* @param filename Name of the resource file to update; prefix optional (e.g., a/b/file.txt)
|
749
|
-
* @param resource The new content to update the resource with
|
750
|
-
* @param authentication Credentials for the request to the storage
|
751
|
-
* @returns A promise which resolves with a success true/false response
|
752
|
-
*/
|
753
|
-
function updateItemResourceFile(itemId, filename, resource, authentication) {
|
754
|
-
// Prefix has to be specified separately
|
755
|
-
const prefixedFilenameParts = filename.split("/");
|
756
|
-
const prefix = prefixedFilenameParts.length > 1 ? prefixedFilenameParts.slice(0, prefixedFilenameParts.length - 1).join("/") : undefined;
|
757
|
-
const suffix = prefixedFilenameParts[prefixedFilenameParts.length - 1];
|
758
|
-
return updateItemResource({
|
759
|
-
id: itemId,
|
760
|
-
prefix: prefix,
|
761
|
-
name: suffix,
|
762
|
-
resource,
|
763
|
-
authentication: authentication
|
764
|
-
});
|
765
|
-
}
|
766
|
-
|
767
|
-
/** @license
|
768
|
-
* Copyright 2022 Esri
|
769
|
-
*
|
770
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
771
|
-
* you may not use this file except in compliance with the License.
|
772
|
-
* You may obtain a copy of the License at
|
773
|
-
*
|
774
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
775
|
-
*
|
776
|
-
* Unless required by applicable law or agreed to in writing, software
|
777
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
778
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
779
|
-
* See the License for the specific language governing permissions and
|
780
|
-
* limitations under the License.
|
781
|
-
*/
|
782
|
-
const EmptySolutionStore = {
|
783
|
-
solutionItemId: "",
|
784
|
-
defaultWkid: undefined,
|
785
|
-
solutionData: { metadata: {}, templates: [] },
|
786
|
-
templateEdits: {},
|
787
|
-
featureServices: [],
|
788
|
-
spatialReferenceInfo: {
|
789
|
-
enabled: false,
|
790
|
-
services: {},
|
791
|
-
spatialReference: undefined
|
792
|
-
}
|
793
|
-
};
|
794
|
-
class SolutionStore {
|
795
|
-
/**
|
796
|
-
* Creates singleton instance when accessed; default export from module.
|
797
|
-
*
|
798
|
-
* @returns Static instance of the class
|
799
|
-
*/
|
800
|
-
static get Store() {
|
801
|
-
return this._instance || (this._instance = new this());
|
802
|
-
}
|
803
|
-
/**
|
804
|
-
* Creates an empty store.
|
805
|
-
*
|
806
|
-
* @protected
|
807
|
-
*/
|
808
|
-
constructor() {
|
809
|
-
this._hasChanges = false;
|
810
|
-
this._store = index.createStore(Object.assign({}, EmptySolutionStore));
|
811
|
-
}
|
812
|
-
/**
|
813
|
-
* Returns the stored information of an item.
|
814
|
-
*
|
815
|
-
* @param itemId Id of item to fetch
|
816
|
-
*
|
817
|
-
* @returns Item information or `undefined` if not found
|
818
|
-
*/
|
819
|
-
getItemInfo(itemId) {
|
820
|
-
const templates = this._store.get("solutionData").templates;
|
821
|
-
let template;
|
822
|
-
templates.some((t) => {
|
823
|
-
if (itemId == t.itemId) {
|
824
|
-
template = t;
|
825
|
-
return true;
|
826
|
-
}
|
827
|
-
return false;
|
828
|
-
});
|
829
|
-
return template;
|
830
|
-
}
|
831
|
-
/**
|
832
|
-
* Returns a top-level store property: solutionItemId, defaultWkid, etc.
|
833
|
-
*
|
834
|
-
* @param propName Name of property
|
835
|
-
*
|
836
|
-
* @returns Value of property
|
837
|
-
*/
|
838
|
-
getStoreInfo(propName) {
|
839
|
-
return this._store.get(propName);
|
840
|
-
}
|
841
|
-
/**
|
842
|
-
* Loads a Solution into the store from AGO.
|
843
|
-
*
|
844
|
-
* @param solutionItemId Id of the solution represented in the store
|
845
|
-
* @param authentication Credentials for fetching information to be loaded into the store
|
846
|
-
*
|
847
|
-
* @returns Promise that resolves when task is done
|
848
|
-
*/
|
849
|
-
async loadSolution(solutionItemId, authentication) {
|
850
|
-
this._authentication = authentication;
|
851
|
-
const solutionData = await restHelpersGet.getItemDataAsJson(solutionItemId, authentication);
|
852
|
-
if (solutionData) {
|
853
|
-
const defaultWkid = restHelpersGet.getProp(solutionData, "params.wkid.default");
|
854
|
-
await this._prepareSolutionItemsForEditing(solutionItemId, solutionData.templates, authentication);
|
855
|
-
const featureServices = this._getFeatureServices(solutionData.templates);
|
856
|
-
const spatialReferenceInfo = this._getSpatialReferenceInfo(featureServices, defaultWkid);
|
857
|
-
this._store.set("solutionItemId", solutionItemId);
|
858
|
-
this._store.set("defaultWkid", defaultWkid);
|
859
|
-
this._store.set("solutionData", solutionData);
|
860
|
-
this._store.set("featureServices", featureServices);
|
861
|
-
this._store.set("spatialReferenceInfo", spatialReferenceInfo);
|
862
|
-
}
|
863
|
-
this._flagStoreHasChanges(false);
|
864
|
-
}
|
865
|
-
/**
|
866
|
-
* Queues the replacement of the thumbnail associated with a template item in the store.
|
867
|
-
*
|
868
|
-
* @param itemEdit Details of the template to modify, containing the new thumbnail in the `thumbnail`
|
869
|
-
* property
|
870
|
-
*/
|
871
|
-
replaceItemThumbnail(itemEdit) {
|
872
|
-
// Flag the current thumbnail and any replacements for removal
|
873
|
-
itemEdit.resourceFilePaths.forEach((path) => {
|
874
|
-
if (path.type === solutionResource.EFileType.Thumbnail) {
|
875
|
-
if (path.updateType === interfaces.EUpdateType.None) {
|
876
|
-
// Existing thumbnail not yet flagged for removal
|
877
|
-
path.updateType = interfaces.EUpdateType.Remove;
|
878
|
-
}
|
879
|
-
else if (path.updateType === interfaces.EUpdateType.Add || path.updateType === interfaces.EUpdateType.Update) {
|
880
|
-
// An earlier replacement
|
881
|
-
path.updateType = interfaces.EUpdateType.Obsolete;
|
882
|
-
}
|
883
|
-
}
|
884
|
-
});
|
885
|
-
// Remove any replacements already queued
|
886
|
-
itemEdit.resourceFilePaths =
|
887
|
-
itemEdit.resourceFilePaths.filter((path) => path.updateType != interfaces.EUpdateType.Obsolete);
|
888
|
-
// Add the new thumbnail to the store item
|
889
|
-
itemEdit.resourceFilePaths.push({
|
890
|
-
blob: itemEdit.thumbnail,
|
891
|
-
filename: itemEdit.thumbnail.name,
|
892
|
-
type: solutionResource.EFileType.Thumbnail,
|
893
|
-
updateType: interfaces.EUpdateType.Add
|
894
|
-
});
|
895
|
-
// Update the store
|
896
|
-
this.setItemInfo(itemEdit);
|
897
|
-
}
|
898
|
-
/**
|
899
|
-
* Writes a Solution into AGO from the store. Must use `loadSolution` to continue with solution.
|
900
|
-
*
|
901
|
-
* @returns Promise that resolves when task is done
|
902
|
-
*/
|
903
|
-
async saveSolution() {
|
904
|
-
// Update the templates in the original solution item data
|
905
|
-
const solutionItemId = this._store.get("solutionItemId");
|
906
|
-
const solutionData = this._store.get("solutionData");
|
907
|
-
const spatialReferenceInfo = this._store.get("spatialReferenceInfo");
|
908
|
-
await this._prepareSolutionItemsForStorage(solutionItemId, solutionData.templates, this._authentication);
|
909
|
-
const updatedDefaultWkid = this._setSpatialReferenceInfo(spatialReferenceInfo, solutionData.templates);
|
910
|
-
if (updatedDefaultWkid) {
|
911
|
-
restHelpersGet.setCreateProp(solutionData, "params.wkid", {
|
912
|
-
"label": "Spatial Reference",
|
913
|
-
"default": updatedDefaultWkid,
|
914
|
-
"valueType": "spatialReference",
|
915
|
-
"attributes": {
|
916
|
-
"required": "true"
|
917
|
-
}
|
918
|
-
});
|
919
|
-
}
|
920
|
-
else {
|
921
|
-
restHelpersGet.setCreateProp(solutionData, "params.wkid", {});
|
922
|
-
}
|
923
|
-
const itemInfo = {
|
924
|
-
id: solutionItemId,
|
925
|
-
text: solutionData
|
926
|
-
};
|
927
|
-
await updateItem(itemInfo, this._authentication);
|
928
|
-
}
|
929
|
-
/**
|
930
|
-
* Stores information for item.
|
931
|
-
*
|
932
|
-
* @param itemEdit Item information
|
933
|
-
*/
|
934
|
-
setItemInfo(itemEdit) {
|
935
|
-
const solutionData = this._store.get("solutionData");
|
936
|
-
const templates = solutionData.templates;
|
937
|
-
templates.some((t) => {
|
938
|
-
if (itemEdit.itemId == t.itemId) {
|
939
|
-
t = itemEdit;
|
940
|
-
this._store.set("solutionData", solutionData);
|
941
|
-
this._flagStoreHasChanges(true);
|
942
|
-
return true;
|
943
|
-
}
|
944
|
-
return false;
|
945
|
-
});
|
946
|
-
}
|
947
|
-
/**
|
948
|
-
* Sets a top-level store property: solutionItemId, defaultWkid, etc.
|
949
|
-
*
|
950
|
-
* @param propName Name of property
|
951
|
-
* @param value Value of property
|
952
|
-
*/
|
953
|
-
setStoreInfo(propName, value) {
|
954
|
-
this._store.set(propName, value);
|
955
|
-
this._flagStoreHasChanges(true);
|
956
|
-
}
|
957
|
-
//------------------------------------------------------------------------------------------------------------------//
|
958
|
-
/** Provides access to protected methods for unit testing.
|
959
|
-
*
|
960
|
-
* @param methodName Name of protected method to run
|
961
|
-
* @param arg1 First argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `solutionItemId`
|
962
|
-
* @param arg2 Second argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `templates`
|
963
|
-
* @param arg3 Third argument to forward to method, e.g., for "_prepareSolutionItemsForEditing", `authentication`
|
964
|
-
*
|
965
|
-
* @returns
|
966
|
-
*/
|
967
|
-
_testAccess(methodName, arg1, arg2, arg3) {
|
968
|
-
switch (methodName) {
|
969
|
-
case "_emptyTheStore":
|
970
|
-
this._emptyTheStore();
|
971
|
-
break;
|
972
|
-
case "_getFeatureServices":
|
973
|
-
return this._getFeatureServices(arg1);
|
974
|
-
case "_getItemsSharedWithThisGroup":
|
975
|
-
return this._getItemsSharedWithThisGroup(arg1, arg2);
|
976
|
-
case "_getResourceFilePaths":
|
977
|
-
return this._getResourceFilePaths(arg1, arg2, arg3);
|
978
|
-
case "_getResourceStorageName":
|
979
|
-
return this._getResourceStorageName(arg1, arg2);
|
980
|
-
case "_getSpatialReferenceInfo":
|
981
|
-
return this._getSpatialReferenceInfo(arg1, arg2);
|
982
|
-
case "_prepareSolutionItemsForEditing":
|
983
|
-
return this._prepareSolutionItemsForEditing(arg1, arg2, arg3);
|
984
|
-
case "_prepareSolutionItemsForStorage":
|
985
|
-
return this._prepareSolutionItemsForStorage(arg1, arg2, arg3);
|
986
|
-
case "_setSpatialReferenceInfo":
|
987
|
-
return this._setSpatialReferenceInfo(arg1, arg2);
|
988
|
-
case "_splitFilename":
|
989
|
-
return this._splitFilename(arg1);
|
990
|
-
}
|
991
|
-
return null;
|
992
|
-
}
|
993
|
-
/**
|
994
|
-
* Returns the store to the empty state.
|
995
|
-
*
|
996
|
-
* @protected
|
997
|
-
*/
|
998
|
-
_emptyTheStore() {
|
999
|
-
this._store.set("solutionItemId", EmptySolutionStore.solutionItemId);
|
1000
|
-
this._store.set("defaultWkid", EmptySolutionStore.defaultWkid);
|
1001
|
-
this._store.set("solutionData", EmptySolutionStore.solutionData);
|
1002
|
-
this._store.set("templateEdits", EmptySolutionStore.templateEdits);
|
1003
|
-
this._store.set("featureServices", EmptySolutionStore.featureServices);
|
1004
|
-
this._store.set("spatialReferenceInfo", EmptySolutionStore.spatialReferenceInfo);
|
1005
|
-
}
|
1006
|
-
/**
|
1007
|
-
* Sets the store's flag indicating if it has changes and dispatches an event when
|
1008
|
-
* the flag value changes.
|
1009
|
-
*
|
1010
|
-
* @param flagHasChanges Current state of change in the store; if it doesn't match the value saved in this
|
1011
|
-
* object, an event is dispatched with the new value and the saved value is updated
|
1012
|
-
*
|
1013
|
-
* @protected
|
1014
|
-
*/
|
1015
|
-
_flagStoreHasChanges(flagHasChanges) {
|
1016
|
-
// Event for notifying if the store has changes or not
|
1017
|
-
if (this._hasChanges !== flagHasChanges) {
|
1018
|
-
window.dispatchEvent(new CustomEvent("solutionStoreHasChanges", {
|
1019
|
-
detail: flagHasChanges,
|
1020
|
-
bubbles: true,
|
1021
|
-
cancelable: false,
|
1022
|
-
composed: true
|
1023
|
-
}));
|
1024
|
-
}
|
1025
|
-
this._hasChanges = flagHasChanges;
|
1026
|
-
}
|
1027
|
-
/**
|
1028
|
-
* Gets a list of Feature Services that are not views.
|
1029
|
-
*
|
1030
|
-
* @param templates A list of item templates from the solution
|
1031
|
-
*
|
1032
|
-
* @returns a list of feature services
|
1033
|
-
*
|
1034
|
-
* @protected
|
1035
|
-
*/
|
1036
|
-
_getCustomizableFeatureServices(templates) {
|
1037
|
-
return templates.reduce((prev, cur) => {
|
1038
|
-
if (cur.type === "Feature Service" && cur.item.typeKeywords.indexOf("View Service") < 0) {
|
1039
|
-
prev.push(cur);
|
1040
|
-
}
|
1041
|
-
return prev;
|
1042
|
-
}, []);
|
1043
|
-
}
|
1044
|
-
/**
|
1045
|
-
* Gets a list of Feature Services that are not views along with an enabled property that indicates
|
1046
|
-
* if the service currently uses a spatial reference variable.
|
1047
|
-
*
|
1048
|
-
* @param templates A list of item templates from the solution
|
1049
|
-
*
|
1050
|
-
* @returns a list of feature service names and an enabled property to indicate
|
1051
|
-
* if they currently use a spatial reference variable.
|
1052
|
-
*
|
1053
|
-
* @protected
|
1054
|
-
*/
|
1055
|
-
_getFeatureServices(templates) {
|
1056
|
-
const customizeableFeatureServices = this._getCustomizableFeatureServices(templates);
|
1057
|
-
return customizeableFeatureServices.map((fs) => {
|
1058
|
-
const name = fs.item.title || fs.item.name;
|
1059
|
-
const wkid = restHelpersGet.getProp(fs, "properties.service.spatialReference.wkid");
|
1060
|
-
return { name, enabled: wkid.toString().startsWith("{{params.wkid||") };
|
1061
|
-
});
|
1062
|
-
}
|
1063
|
-
/**
|
1064
|
-
* Capture the key item details for a given group template
|
1065
|
-
*
|
1066
|
-
* @param template one of the templates from the current solution
|
1067
|
-
* @param templates full list of templates
|
1068
|
-
*
|
1069
|
-
* @returns a list of IItemShare objects
|
1070
|
-
*
|
1071
|
-
* @protected
|
1072
|
-
*/
|
1073
|
-
_getItemsSharedWithThisGroup(template, templates) {
|
1074
|
-
return templates.reduce((prev, cur) => {
|
1075
|
-
if (cur.itemId !== template.itemId && cur.type !== "Group") {
|
1076
|
-
prev.push({
|
1077
|
-
id: cur.itemId,
|
1078
|
-
title: cur.item.name || cur.item.title,
|
1079
|
-
isShared: (cur.groups || []).indexOf(template.itemId) > -1,
|
1080
|
-
shareItem: (cur.groups || []).indexOf(template.itemId) > -1,
|
1081
|
-
type: cur.type,
|
1082
|
-
typeKeywords: cur.item.typeKeywords
|
1083
|
-
});
|
1084
|
-
}
|
1085
|
-
return prev;
|
1086
|
-
}, []);
|
1087
|
-
}
|
1088
|
-
/**
|
1089
|
-
* Generate storage file paths from the solution template
|
1090
|
-
*
|
1091
|
-
* @param solutionId the id of the current solution
|
1092
|
-
* @param template the current template from the solution
|
1093
|
-
* @param portal Portal where file is to be found
|
1094
|
-
*
|
1095
|
-
* @returns a list of resource file infos
|
1096
|
-
*
|
1097
|
-
* @protected
|
1098
|
-
*/
|
1099
|
-
_getResourceFilePaths(solutionId, template, portal) {
|
1100
|
-
const resourceFilePaths = generateStorageFilePaths(portal, solutionId, template.resources, solutionResource.SolutionTemplateFormatVersion);
|
1101
|
-
return resourceFilePaths.map((fp) => {
|
1102
|
-
fp.updateType = interfaces.EUpdateType.None;
|
1103
|
-
return fp;
|
1104
|
-
});
|
1105
|
-
}
|
1106
|
-
/**
|
1107
|
-
* Generates a resource name from a storage file path.
|
1108
|
-
*
|
1109
|
-
* @param templateItemId The id of the template item whose resource this is; used as a prefix in the resource name
|
1110
|
-
* @param resourcePath Resource file infos
|
1111
|
-
*
|
1112
|
-
* @returns The resource name to use when attaching a resource to the item.
|
1113
|
-
*
|
1114
|
-
* @protected
|
1115
|
-
*/
|
1116
|
-
_getResourceStorageName(templateItemId, resourcePath) {
|
1117
|
-
/* Converts
|
1118
|
-
{
|
1119
|
-
"url": "https://myorg.maps.arcgis.com/sharing/rest/content/items/ca924c6db7d247b9a31fa30532fb5913/resources/79036430a6274e17ae915d0278b8569c_info_metadata/metadata.xml",
|
1120
|
-
"type": 2,
|
1121
|
-
"folder": "",
|
1122
|
-
"filename": "metadata.xml",
|
1123
|
-
"updateType": 3
|
1124
|
-
}
|
1125
|
-
to
|
1126
|
-
ca924c6db7d247b9a31fa30532fb5913_info_metadata/metadata.xml
|
1127
|
-
*/
|
1128
|
-
let prefix = templateItemId;
|
1129
|
-
switch (resourcePath.type) {
|
1130
|
-
case solutionResource.EFileType.Data:
|
1131
|
-
prefix = `${prefix}_info_data`;
|
1132
|
-
break;
|
1133
|
-
case solutionResource.EFileType.Info:
|
1134
|
-
prefix = `${prefix}_info`;
|
1135
|
-
break;
|
1136
|
-
case solutionResource.EFileType.Metadata:
|
1137
|
-
prefix = `${prefix}_info_metadata`;
|
1138
|
-
break;
|
1139
|
-
case solutionResource.EFileType.Resource:
|
1140
|
-
break;
|
1141
|
-
case solutionResource.EFileType.Thumbnail:
|
1142
|
-
prefix = `${prefix}_info_thumbnail`;
|
1143
|
-
break;
|
1144
|
-
}
|
1145
|
-
let filenameToUse = resourcePath.filename;
|
1146
|
-
if (resourcePath.type == solutionResource.EFileType.Data && filenameToUse && !isSupportedFileType(filenameToUse)) {
|
1147
|
-
filenameToUse = filenameToUse + ".zip";
|
1148
|
-
prefix += "z";
|
1149
|
-
}
|
1150
|
-
const filename = resourcePath.folder ? resourcePath.folder + "/" + filenameToUse : filenameToUse;
|
1151
|
-
return prefix + "/" + filename;
|
1152
|
-
}
|
1153
|
-
/**
|
1154
|
-
* Extracts basic spatial reference information that is used to determine if a custom spatial reference parameter will
|
1155
|
-
* be exposed while deploying this solution and if so what feature services will support it and what will the default wkid be
|
1156
|
-
*
|
1157
|
-
* @param services a list of objects with service name and enabled property (indicates if they currently use a spatial reference var)
|
1158
|
-
* @param data the data object of a solution item
|
1159
|
-
*
|
1160
|
-
* @returns an object that stores if a custom spatial reference parameter is enabled/disabled,
|
1161
|
-
* a list of services and if they are enabled/disabled, and the default wkid
|
1162
|
-
*
|
1163
|
-
* @protected
|
1164
|
-
*/
|
1165
|
-
_getSpatialReferenceInfo(services, defaultWkid) {
|
1166
|
-
const defaultServices = {};
|
1167
|
-
services.forEach(service => {
|
1168
|
-
defaultServices[service.name] = service.enabled;
|
1169
|
-
});
|
1170
|
-
return {
|
1171
|
-
enabled: defaultWkid !== undefined,
|
1172
|
-
services: defaultServices,
|
1173
|
-
spatialReference: defaultWkid ? defaultWkid : undefined
|
1174
|
-
};
|
1175
|
-
}
|
1176
|
-
/**
|
1177
|
-
* Create and store template items for the editor.
|
1178
|
-
*
|
1179
|
-
* @param solutionItemId Id of the solution represented in the store
|
1180
|
-
* @param templates A list of item templates from the solution
|
1181
|
-
* @param authentication Credentials for fetching information to be loaded into the store
|
1182
|
-
*
|
1183
|
-
* @returns a promise that resolves when the templates are ready
|
1184
|
-
*
|
1185
|
-
* @protected
|
1186
|
-
*/
|
1187
|
-
async _prepareSolutionItemsForEditing(solutionItemId, templates, authentication) {
|
1188
|
-
const thumbnailPromises = [];
|
1189
|
-
// Augment the template with paths to resources and group information, if relevant
|
1190
|
-
templates.forEach((t) => {
|
1191
|
-
t.resourceFilePaths = this._getResourceFilePaths(solutionItemId, t, authentication.portal);
|
1192
|
-
thumbnailPromises.push(t.resourceFilePaths.length > 0 ?
|
1193
|
-
getThumbnailFromStorageItem(authentication, t.resourceFilePaths) :
|
1194
|
-
Promise.resolve());
|
1195
|
-
t.groupDetails = t.type === "Group" ? this._getItemsSharedWithThisGroup(t, templates) : [];
|
1196
|
-
});
|
1197
|
-
// Augment the template with its thumbnail file
|
1198
|
-
const thumbnails = await Promise.all(thumbnailPromises);
|
1199
|
-
templates.forEach((t, i) => {
|
1200
|
-
t.thumbnail = thumbnails[i] ? thumbnails[i] : undefined;
|
1201
|
-
});
|
1202
|
-
return Promise.resolve();
|
1203
|
-
}
|
1204
|
-
/**
|
1205
|
-
* Prepares template items for sending to AGO by updating the resources held by the solution item.
|
1206
|
-
*
|
1207
|
-
* @param solutionItemId Id of the solution represented in the store
|
1208
|
-
* @param templates A list of item templates from the solution
|
1209
|
-
* @param authentication Credentials for fetching information to be loaded into the store
|
1210
|
-
*
|
1211
|
-
* @returns a promise that resolves when the templates are ready
|
1212
|
-
*
|
1213
|
-
* @protected
|
1214
|
-
*/
|
1215
|
-
async _prepareSolutionItemsForStorage(solutionItemId, templates, authentication) {
|
1216
|
-
const resourceAdds = [];
|
1217
|
-
// Update the resources and remove the augmentation from a template
|
1218
|
-
const pendingTasks = [];
|
1219
|
-
templates.forEach((t) => {
|
1220
|
-
// Run through the resourceFilePaths for the item seeking modifications to be made to the solution item's
|
1221
|
-
// collection of resources; queue them for batching
|
1222
|
-
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1223
|
-
t.resourceFilePaths.forEach(async (path) => {
|
1224
|
-
const storageName = this._getResourceStorageName(t.itemId, path);
|
1225
|
-
switch (path.updateType) {
|
1226
|
-
case interfaces.EUpdateType.Add:
|
1227
|
-
const { prefix, suffix } = this._splitFilename(storageName);
|
1228
|
-
t.resources.push(storageName);
|
1229
|
-
resourceAdds.push({
|
1230
|
-
itemId: t.itemId,
|
1231
|
-
file: path.blob,
|
1232
|
-
folder: prefix,
|
1233
|
-
filename: suffix
|
1234
|
-
});
|
1235
|
-
break;
|
1236
|
-
case interfaces.EUpdateType.Update:
|
1237
|
-
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1238
|
-
pendingTasks.push(new Promise(async (resolve) => {
|
1239
|
-
try {
|
1240
|
-
await updateItemResourceFile(solutionItemId, storageName, path.blob, authentication);
|
1241
|
-
}
|
1242
|
-
catch (err) {
|
1243
|
-
console.log("Unable to update " + storageName + " for item " + t.itemId + ": " + JSON.stringify(err));
|
1244
|
-
}
|
1245
|
-
resolve();
|
1246
|
-
}));
|
1247
|
-
break;
|
1248
|
-
case interfaces.EUpdateType.Remove:
|
1249
|
-
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1250
|
-
pendingTasks.push(new Promise(async (resolve) => {
|
1251
|
-
try {
|
1252
|
-
await removeItemResourceFile(solutionItemId, storageName, authentication);
|
1253
|
-
t.resources = t.resources.filter((path) => path !== storageName);
|
1254
|
-
}
|
1255
|
-
catch (err) {
|
1256
|
-
console.log("Unable to remove " + storageName + " for item " + t.itemId + ": " + JSON.stringify(err));
|
1257
|
-
}
|
1258
|
-
resolve();
|
1259
|
-
}));
|
1260
|
-
break;
|
1261
|
-
}
|
1262
|
-
return Promise.resolve();
|
1263
|
-
});
|
1264
|
-
delete t.resourceFilePaths;
|
1265
|
-
delete t.thumbnail;
|
1266
|
-
delete t.groupDetails;
|
1267
|
-
});
|
1268
|
-
// Update the resources
|
1269
|
-
return Promise.all(pendingTasks)
|
1270
|
-
.then(async () => {
|
1271
|
-
if (resourceAdds.length > 0) {
|
1272
|
-
await copyFilesToStorageItem(resourceAdds, solutionItemId, authentication);
|
1273
|
-
}
|
1274
|
-
return Promise.resolve();
|
1275
|
-
});
|
1276
|
-
}
|
1277
|
-
/**
|
1278
|
-
* Stores basic spatial reference information that is used to determine if a custom spatial reference parameter will
|
1279
|
-
* be exposed while deploying this solution and if so what feature services will support it and what will the default wkid be
|
1280
|
-
*
|
1281
|
-
* @param spatialReferenceInfo The configuration settings for a custom spatial reference
|
1282
|
-
* @param templates The templates in the current solution, which will be updated in place if
|
1283
|
-
* `spatialReferenceInfo.enabled` is true
|
1284
|
-
*
|
1285
|
-
* @returns The new default wkid
|
1286
|
-
*
|
1287
|
-
* @protected
|
1288
|
-
*/
|
1289
|
-
_setSpatialReferenceInfo(spatialReferenceInfo, templates) {
|
1290
|
-
const customizingPrefix = "{{params.wkid||";
|
1291
|
-
const customizeableFeatureServices = this._getCustomizableFeatureServices(templates);
|
1292
|
-
if (spatialReferenceInfo.enabled) {
|
1293
|
-
// Enable or disable this feature in each service
|
1294
|
-
customizeableFeatureServices.forEach((fs) => {
|
1295
|
-
const name = fs.item.title || fs.item.name;
|
1296
|
-
let wkid;
|
1297
|
-
if (spatialReferenceInfo.services[name]) { // enabled
|
1298
|
-
wkid = `{{params.wkid||${spatialReferenceInfo.spatialReference}}}`;
|
1299
|
-
restHelpersGet.setCreateProp(fs, "properties.service.spatialReference.wkid", wkid);
|
1300
|
-
}
|
1301
|
-
else { // disabled
|
1302
|
-
wkid = restHelpersGet.getProp(fs, "properties.service.spatialReference.wkid");
|
1303
|
-
// Remove customizing prefix if present
|
1304
|
-
if (wkid.toString().startsWith(customizingPrefix)) {
|
1305
|
-
wkid = wkid.toString().substring(customizingPrefix.length, wkid.length - 2);
|
1306
|
-
restHelpersGet.setCreateProp(fs, "properties.service.spatialReference.wkid", wkid);
|
1307
|
-
}
|
1308
|
-
}
|
1309
|
-
});
|
1310
|
-
return spatialReferenceInfo.spatialReference;
|
1311
|
-
}
|
1312
|
-
else {
|
1313
|
-
// Disable this feature in each service
|
1314
|
-
customizeableFeatureServices.forEach((fs) => {
|
1315
|
-
const wkid = restHelpersGet.getProp(fs, "properties.service.spatialReference.wkid");
|
1316
|
-
// Remove customizing prefix if present
|
1317
|
-
if (wkid.toString().startsWith(customizingPrefix)) {
|
1318
|
-
restHelpersGet.setCreateProp(fs, "properties.service.spatialReference.wkid", wkid.toString().substring(customizingPrefix.length, wkid.length - 2));
|
1319
|
-
}
|
1320
|
-
});
|
1321
|
-
return undefined;
|
1322
|
-
}
|
1323
|
-
}
|
1324
|
-
/**
|
1325
|
-
* Splits a pathed filename into a last term and a prefix; e.g., "a/b/c" returns "c" with a prefix of "a/b".
|
1326
|
-
*
|
1327
|
-
* @param filename Filename with optional path
|
1328
|
-
*
|
1329
|
-
* @returns An object consisting of a `prefix` (undefined if `filename` does not contain a path) and a `suffix`--the
|
1330
|
-
* filename at the end of a path
|
1331
|
-
*
|
1332
|
-
* @protected
|
1333
|
-
*/
|
1334
|
-
_splitFilename(filename) {
|
1335
|
-
const filenameParts = filename.split("/");
|
1336
|
-
return {
|
1337
|
-
prefix: filenameParts.length > 1 ? filenameParts.slice(0, filenameParts.length - 1).join("/") : undefined,
|
1338
|
-
suffix: filenameParts[filenameParts.length - 1]
|
1339
|
-
};
|
1340
|
-
}
|
1341
|
-
}
|
1342
|
-
const state = SolutionStore.Store;
|
1343
|
-
|
1344
|
-
exports.state = state;
|