@esri/solutions-components 0.6.11 → 0.6.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/layer-table/resources.json +4 -3
- package/dist/assets/t9n/layer-table/resources_en.json +4 -3
- package/dist/assets/t9n/map-select-tools/resources.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_en.json +2 -1
- package/dist/assets/t9n/map-tools/resources.json +4 -1
- package/dist/assets/t9n/map-tools/resources_en.json +4 -1
- package/dist/cjs/{ExpandToggle-c5690e14.js → ExpandToggle-511435d5.js} +1 -1
- package/dist/cjs/{FloatingArrow-675171a6.js → FloatingArrow-88e3f797.js} +1 -1
- package/dist/cjs/{Heading-3712677d.js → Heading-0da2a025.js} +1 -1
- package/dist/cjs/{ar-1dc23c0a.js → ar-0a371029.js} +5 -5
- package/dist/cjs/{basemap-gallery_5.cjs.entry.js → basemap-gallery_6.cjs.entry.js} +139 -10
- package/dist/cjs/{bg-4024b354.js → bg-f7538b74.js} +5 -5
- package/dist/cjs/{bs-3134d711.js → bs-6560857c.js} +5 -5
- package/dist/cjs/buffer-tools_4.cjs.entry.js +8 -8
- package/dist/cjs/{ca-8d6647d3.js → ca-d74198eb.js} +5 -5
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
- package/dist/cjs/{calcite-filter_5.cjs.entry.js → calcite-action-bar_3.cjs.entry.js} +168 -322
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-pad.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +4 -4
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js +3 -3
- package/dist/cjs/calcite-block.cjs.entry.js +5 -5
- package/dist/cjs/calcite-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +3 -3
- package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-chip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +10 -10
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
- package/dist/cjs/calcite-filter_3.cjs.entry.js +387 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number_2.cjs.entry.js +4 -4
- package/dist/cjs/{calcite-input-time-picker-4efcd55d.js → calcite-input-time-picker-188356eb.js} +53 -53
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +2 -2
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
- package/dist/cjs/calcite-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +5 -5
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +4 -4
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pagination.cjs.entry.js +3 -3
- package/dist/cjs/calcite-panel_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +4 -4
- package/dist/cjs/calcite-pick-list.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +10 -9
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-stepper.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
- package/dist/cjs/calcite-text-area.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tree_3.cjs.entry.js +2 -2
- package/dist/cjs/card-manager_3.cjs.entry.js +70 -37
- package/dist/cjs/clean-url-d5326abb.js +573 -0
- package/dist/cjs/{conditionalSlot-126d557f.js → conditionalSlot-f10611d3.js} +1 -1
- package/dist/cjs/crowdsource-manager.cjs.entry.js +41 -13
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/{cs-b24cd994.js → cs-bdf9949e.js} +5 -5
- package/dist/cjs/{da-9dee3a1f.js → da-ab198f94.js} +5 -5
- package/dist/cjs/{de-1a98b964.js → de-a859739c.js} +5 -5
- package/dist/cjs/{de-at-782e6c7f.js → de-at-126e66a1.js} +5 -5
- package/dist/cjs/{de-ch-d5c95469.js → de-ch-25eb45ed.js} +5 -5
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{downloadUtils-471a6a2d.js → downloadUtils-fb4744e0.js} +299 -54
- package/dist/cjs/edit-card_2.cjs.entry.js +30 -27
- package/dist/cjs/{el-af28cafa.js → el-9abbc3f2.js} +5 -5
- package/dist/cjs/{en-au-109f3119.js → en-au-8835d481.js} +5 -5
- package/dist/cjs/{en-ca-22890a25.js → en-ca-a8f1a438.js} +5 -5
- package/dist/cjs/{en-gb-dc23c9dd.js → en-gb-e8098e8c.js} +5 -5
- package/dist/cjs/{es-3f353355.js → es-bc99e2ad.js} +5 -5
- package/dist/cjs/{es-mx-ccb57857.js → es-mx-71461470.js} +5 -5
- package/dist/cjs/{et-119c047b.js → et-8fa437ac.js} +5 -5
- package/dist/cjs/{fi-13096d81.js → fi-1284d381.js} +5 -5
- package/dist/cjs/{form-7c6054c3.js → form-28bc6597.js} +1 -1
- package/dist/cjs/{fr-563dfcd5.js → fr-635089b1.js} +5 -5
- package/dist/cjs/{fr-ch-f66cfd49.js → fr-ch-09392bdc.js} +5 -5
- package/dist/cjs/{he-d8253a1a.js → he-44a07bad.js} +5 -5
- package/dist/cjs/{hi-58c7c3b5.js → hi-9bba524d.js} +5 -5
- package/dist/cjs/{hr-5aba114a.js → hr-fc0a64fd.js} +5 -5
- package/dist/cjs/{hu-38c15915.js → hu-b900be50.js} +5 -5
- package/dist/cjs/{id-3a94c080.js → id-d20a381a.js} +5 -5
- package/dist/cjs/{index-0e50040c.js → index-ee37804b.js} +3 -0
- package/dist/cjs/{index-2b60e135.js → index-feeb7b6a.js} +1 -1
- package/dist/cjs/{index.es-33154f03.js → index.es-372e33de.js} +7 -6
- package/dist/cjs/{interfaces-d539e30c.js → interfaces-000be6de.js} +0 -5
- package/dist/cjs/{it-ch-970563cd.js → it-ch-e6bfb280.js} +5 -5
- package/dist/cjs/{it-88834555.js → it-d07dffbe.js} +5 -5
- package/dist/cjs/{ja-13d4b1ae.js → ja-3fac4cb9.js} +5 -5
- package/dist/cjs/{ko-10cbdd98.js → ko-7df47ba4.js} +5 -5
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/list-item.cjs.entry.js +1 -1
- package/dist/cjs/{loadModules-c5490589.js → loadModules-f6df8d6a.js} +1 -1
- package/dist/cjs/{loadable-6925d840.js → loadable-13605f73.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-88c21da2.js → locale-67f5f6b6.js} +1 -1
- package/dist/cjs/{lt-3fc5017a.js → lt-32e0b838.js} +5 -5
- package/dist/cjs/{lv-9d9cf999.js → lv-5822b401.js} +5 -5
- package/dist/cjs/map-select-tools_3.cjs.entry.js +23 -14
- package/dist/cjs/{mapViewUtils-9da2dddd.js → mapViewUtils-a4dd36ec.js} +1 -1
- package/dist/cjs/{mk-9f79812b.js → mk-76494f34.js} +5 -5
- package/dist/cjs/{nb-673fe3fd.js → nb-3ec52247.js} +5 -5
- package/dist/cjs/{nl-4dc0504f.js → nl-fe9ffca9.js} +5 -5
- package/dist/cjs/{openCloseComponent-05cb01ff.js → openCloseComponent-359d855c.js} +1 -1
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{pl-d809a6c3.js → pl-13049aa3.js} +5 -5
- package/dist/cjs/{pt-br-55f1893a.js → pt-br-f222c9e6.js} +5 -5
- package/dist/cjs/{pt-78eefbc7.js → pt-ef1645ab.js} +5 -5
- package/dist/cjs/public-notification.cjs.entry.js +12 -11
- package/dist/cjs/{publicNotificationStore-55edd658.js → publicNotificationStore-b69862af.js} +1 -1
- package/dist/cjs/resources-f15abc99.js +29 -0
- package/dist/cjs/{ro-f0cff196.js → ro-712f9cbb.js} +5 -5
- package/dist/cjs/{ru-5e9b37f9.js → ru-45b18030.js} +5 -5
- package/dist/cjs/{shared-list-render-9bbcb306.js → shared-list-render-e5821654.js} +1 -1
- package/dist/cjs/{sk-322cd349.js → sk-db642b5a.js} +5 -5
- package/dist/cjs/{sl-fd948e50.js → sl-51811e20.js} +5 -5
- package/dist/cjs/solution-configuration.cjs.entry.js +48 -47
- package/dist/cjs/solution-contents_3.cjs.entry.js +6 -5
- package/dist/cjs/{solution-store-0004e4e6.js → solution-store-c443e657.js} +9 -574
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/{sr-f0058b24.js → sr-c248524c.js} +5 -5
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/{sv-8a8378bf.js → sv-67777565.js} +5 -5
- package/dist/cjs/{t9n-62d807df.js → t9n-58d20225.js} +1 -1
- package/dist/cjs/{th-f219fad6.js → th-81fb9eb1.js} +5 -5
- package/dist/cjs/{tr-03109641.js → tr-b5da4c5c.js} +5 -5
- package/dist/cjs/{uk-dde46112.js → uk-e8ad8b3b.js} +5 -5
- package/dist/cjs/{utils-651e6663.js → utils-fddf1c6b.js} +1 -1
- package/dist/cjs/{vi-60ed6e30.js → vi-0b26505a.js} +5 -5
- package/dist/cjs/{zh-cn-a2f6f51d.js → zh-cn-40d02fac.js} +5 -5
- package/dist/cjs/{zh-hk-e14e2fc0.js → zh-hk-d1a89b9e.js} +5 -5
- package/dist/cjs/{zh-tw-7ea0d7e4.js → zh-tw-5691adb2.js} +5 -5
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/card-manager/card-manager.css +0 -5
- package/dist/collection/components/card-manager/card-manager.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +2 -2
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +73 -9
- package/dist/collection/components/edit-card/edit-card.css +8 -0
- package/dist/collection/components/info-card/info-card.css +14 -14
- package/dist/collection/components/info-card/info-card.js +25 -22
- package/dist/collection/components/layer-table/layer-table.css +12 -0
- package/dist/collection/components/layer-table/layer-table.js +93 -26
- package/dist/collection/components/map-card/map-card.css +4 -0
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -0
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +178 -0
- package/dist/collection/components/map-fullscreen/test/map-fullscreen.e2e.js +29 -0
- package/dist/collection/components/map-fullscreen/test/map-fullscreen.spec.js +37 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +7 -1
- package/dist/collection/components/map-tools/map-tools.css +8 -4
- package/dist/collection/components/map-tools/map-tools.js +35 -29
- package/dist/collection/components/pdf-download/pdf-download.js +35 -7
- package/dist/collection/components/public-notification/public-notification.js +3 -3
- package/dist/collection/utils/downloadUtils.js +208 -82
- package/dist/collection/utils/downloadUtils.ts +257 -85
- package/dist/collection/utils/interfaces.js +0 -5
- package/dist/collection/utils/interfaces.ts +0 -5
- package/dist/collection/utils/test/downloadUtils.spec.js +163 -134
- package/dist/collection/utils/test/downloadUtils.spec.tsx +2 -0
- package/dist/components/calcite-modal.js +1 -409
- package/dist/components/card-manager2.js +2 -2
- package/dist/components/clean-url.js +567 -0
- package/dist/components/crowdsource-manager.js +118 -82
- package/dist/components/downloadUtils.js +295 -50
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/info-card2.js +26 -23
- package/dist/components/interfaces.js +1 -6
- package/dist/components/layer-table2.js +68 -33
- package/dist/components/map-card2.js +44 -38
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen.d.ts +11 -0
- package/dist/components/map-fullscreen.js +11 -0
- package/dist/components/map-fullscreen2.js +130 -0
- package/dist/components/map-select-tools2.js +7 -1
- package/dist/components/map-tools2.js +43 -34
- package/dist/components/modal.js +416 -0
- package/dist/components/pdf-download2.js +7 -5
- package/dist/components/public-notification.js +4 -4
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/solution-configuration.js +25 -24
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-store.js +3 -563
- package/dist/esm/{ExpandToggle-3bfcb842.js → ExpandToggle-e614e3e4.js} +2 -2
- package/dist/esm/{FloatingArrow-cf140d6b.js → FloatingArrow-4a1b35d6.js} +1 -1
- package/dist/esm/{Heading-140d10ff.js → Heading-5258553c.js} +1 -1
- package/dist/esm/{ar-45abeb31.js → ar-2f678abc.js} +10 -10
- package/dist/esm/{basemap-gallery_5.entry.js → basemap-gallery_6.entry.js} +139 -11
- package/dist/esm/{bg-af759e86.js → bg-e514c4d7.js} +10 -10
- package/dist/esm/{bs-20d012de.js → bs-81584b09.js} +10 -10
- package/dist/esm/buffer-tools_4.entry.js +11 -11
- package/dist/esm/{ca-1498df65.js → ca-e8c40e21.js} +10 -10
- package/dist/esm/calcite-accordion-item.entry.js +3 -3
- package/dist/esm/calcite-accordion.entry.js +1 -1
- package/dist/esm/{calcite-filter_5.entry.js → calcite-action-bar_3.entry.js} +193 -345
- package/dist/esm/calcite-action-group_2.entry.js +6 -6
- package/dist/esm/calcite-action-pad.entry.js +7 -7
- package/dist/esm/calcite-action_2.entry.js +10 -10
- package/dist/esm/calcite-alert.entry.js +6 -6
- package/dist/esm/calcite-avatar.entry.js +2 -2
- package/dist/esm/calcite-block-section.entry.js +5 -5
- package/dist/esm/calcite-block.entry.js +7 -7
- package/dist/esm/calcite-button.entry.js +7 -7
- package/dist/esm/calcite-card.entry.js +5 -5
- package/dist/esm/calcite-checkbox.entry.js +5 -5
- package/dist/esm/calcite-chip-group.entry.js +3 -3
- package/dist/esm/calcite-chip.entry.js +6 -6
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +3 -3
- package/dist/esm/calcite-color-picker.entry.js +5 -5
- package/dist/esm/calcite-combobox-item-group.entry.js +3 -3
- package/dist/esm/calcite-combobox_6.entry.js +15 -15
- package/dist/esm/calcite-date-picker-day_3.entry.js +5 -5
- package/dist/esm/calcite-date-picker.entry.js +7 -7
- package/dist/esm/calcite-fab.entry.js +3 -3
- package/dist/esm/calcite-filter_3.entry.js +381 -0
- package/dist/esm/calcite-flow-item.entry.js +5 -5
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +2 -2
- package/dist/esm/calcite-inline-editable.entry.js +6 -6
- package/dist/esm/calcite-input-date-picker.entry.js +12 -12
- package/dist/esm/calcite-input-number_2.entry.js +7 -7
- package/dist/esm/{calcite-input-time-picker-227e60c3.js → calcite-input-time-picker-fe6e499a.js} +57 -57
- package/dist/esm/calcite-input-time-picker.entry.js +10 -10
- package/dist/esm/calcite-input-time-zone.entry.js +7 -7
- package/dist/esm/calcite-input_2.entry.js +7 -7
- package/dist/esm/calcite-label.entry.js +3 -3
- package/dist/esm/calcite-link.entry.js +3 -3
- package/dist/esm/calcite-list-item-group.entry.js +1 -1
- package/dist/esm/calcite-loader.entry.js +1 -1
- package/dist/esm/calcite-menu-item.entry.js +5 -5
- package/dist/esm/calcite-menu.entry.js +5 -5
- package/dist/esm/calcite-modal.entry.js +8 -8
- package/dist/esm/calcite-navigation-logo.entry.js +2 -2
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +3 -3
- package/dist/esm/calcite-notice.entry.js +6 -6
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +5 -5
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel_2.entry.js +7 -7
- package/dist/esm/calcite-pick-list-group.entry.js +4 -4
- package/dist/esm/calcite-pick-list-item.entry.js +6 -6
- package/dist/esm/calcite-pick-list.entry.js +4 -4
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +5 -5
- package/dist/esm/calcite-rating.entry.js +7 -7
- package/dist/esm/calcite-scrim.entry.js +4 -4
- package/dist/esm/calcite-segmented-control_2.entry.js +5 -5
- package/dist/esm/calcite-shell-center-row.entry.js +3 -3
- package/dist/esm/calcite-shell-panel_14.entry.js +13 -12
- package/dist/esm/calcite-sortable-list.entry.js +3 -3
- package/dist/esm/calcite-split-button.entry.js +2 -2
- package/dist/esm/calcite-stepper-item.entry.js +4 -4
- package/dist/esm/calcite-stepper.entry.js +2 -2
- package/dist/esm/calcite-switch.entry.js +5 -5
- package/dist/esm/calcite-text-area.entry.js +7 -7
- package/dist/esm/calcite-tile-select-group.entry.js +1 -1
- package/dist/esm/calcite-tile-select.entry.js +2 -2
- package/dist/esm/calcite-tile.entry.js +3 -3
- package/dist/esm/calcite-time-picker.entry.js +6 -6
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +5 -5
- package/dist/esm/calcite-tip.entry.js +6 -6
- package/dist/esm/calcite-tooltip.entry.js +5 -5
- package/dist/esm/calcite-tree_3.entry.js +3 -3
- package/dist/esm/card-manager_3.entry.js +70 -37
- package/dist/esm/clean-url-bce022e6.js +567 -0
- package/dist/esm/{conditionalSlot-55a14abd.js → conditionalSlot-dff8f839.js} +1 -1
- package/dist/esm/crowdsource-manager.entry.js +41 -13
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/{cs-3bd67855.js → cs-af5f115e.js} +10 -10
- package/dist/esm/{da-7a76e131.js → da-06d9e22c.js} +10 -10
- package/dist/esm/{date-bd5b879c.js → date-641ae749.js} +1 -1
- package/dist/esm/{de-at-0b6874cb.js → de-at-f55a700a.js} +10 -10
- package/dist/esm/{de-ch-c9d429dd.js → de-ch-7307675f.js} +10 -10
- package/dist/esm/{de-0808a43e.js → de-dc98363f.js} +10 -10
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/{dom-37f2dec9.js → dom-2b326ec3.js} +1 -1
- package/dist/esm/{downloadUtils-8d4c13bb.js → downloadUtils-67c7a6c8.js} +299 -54
- package/dist/esm/edit-card_2.entry.js +30 -27
- package/dist/esm/{el-66001281.js → el-91c64808.js} +10 -10
- package/dist/esm/{en-au-6424fec0.js → en-au-df08cc25.js} +10 -10
- package/dist/esm/{en-ca-f5f1659d.js → en-ca-175f7c0f.js} +10 -10
- package/dist/esm/{en-gb-796beadd.js → en-gb-90a08c7f.js} +10 -10
- package/dist/esm/{es-cd139926.js → es-5cb54b05.js} +10 -10
- package/dist/esm/{es-mx-854dc3e4.js → es-mx-3a0cb804.js} +10 -10
- package/dist/esm/{et-2aa6782d.js → et-eceac6dc.js} +10 -10
- package/dist/esm/{fi-965727bd.js → fi-26e1c14f.js} +10 -10
- package/dist/esm/{floating-ui-7cde67cf.js → floating-ui-9f8e4ed4.js} +1 -1
- package/dist/esm/{focusTrapComponent-ec344399.js → focusTrapComponent-ad2c3a31.js} +1 -1
- package/dist/esm/{form-04d47b0b.js → form-0871d2c6.js} +2 -2
- package/dist/esm/{fr-c1884e89.js → fr-12a5b0f7.js} +10 -10
- package/dist/esm/{fr-ch-1fd8dd3a.js → fr-ch-e3406887.js} +10 -10
- package/dist/esm/{he-0d7b78b4.js → he-61eba811.js} +10 -10
- package/dist/esm/{hi-0376c82d.js → hi-a50282b5.js} +10 -10
- package/dist/esm/{hr-28a64903.js → hr-da8bffaf.js} +10 -10
- package/dist/esm/{hu-44a02ff7.js → hu-dab932f1.js} +10 -10
- package/dist/esm/{id-034fc4a5.js → id-de468947.js} +10 -10
- package/dist/esm/{index-b5d9d795.js → index-c7de2486.js} +3 -0
- package/dist/esm/{index-b91c174c.js → index-f4bd5aa3.js} +1 -1
- package/dist/esm/{index.es-065c3035.js → index.es-59a67d3d.js} +7 -6
- package/dist/esm/{interfaces-5a2fe8b4.js → interfaces-7470d906.js} +1 -6
- package/dist/esm/{it-56e52026.js → it-375d9936.js} +10 -10
- package/dist/esm/{it-ch-a4a0e136.js → it-ch-7e663d63.js} +10 -10
- package/dist/esm/{ja-f2365272.js → ja-36dbe39d.js} +10 -10
- package/dist/esm/{ko-e7650b4c.js → ko-858bc871.js} +10 -10
- package/dist/esm/{label-b6dfb4d5.js → label-b8caf984.js} +1 -1
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/{loadModules-f5f910b6.js → loadModules-2880c7e3.js} +1 -1
- package/dist/esm/{loadable-47170cb6.js → loadable-f848be11.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-146251f7.js → locale-00000ab4.js} +1 -1
- package/dist/esm/{locale-efad8f83.js → locale-9624832c.js} +1 -1
- package/dist/esm/{lt-1577a952.js → lt-d6dfa7e4.js} +10 -10
- package/dist/esm/{lv-9ef7e4f6.js → lv-facd25c5.js} +10 -10
- package/dist/esm/map-select-tools_3.entry.js +23 -14
- package/dist/esm/{mapViewUtils-f0c04325.js → mapViewUtils-00a04d52.js} +1 -1
- package/dist/esm/{mk-94264e08.js → mk-5ed05b6a.js} +10 -10
- package/dist/esm/{nb-fa24d5b2.js → nb-936fc687.js} +10 -10
- package/dist/esm/{nl-33f10900.js → nl-a923d626.js} +10 -10
- package/dist/esm/{openCloseComponent-10efeff3.js → openCloseComponent-9fce341c.js} +1 -1
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/{pl-9ed16565.js → pl-b1426275.js} +10 -10
- package/dist/esm/{pt-52731ddf.js → pt-1ac2453f.js} +10 -10
- package/dist/esm/{pt-br-8de51ff4.js → pt-br-7194cc5f.js} +10 -10
- package/dist/esm/public-notification.entry.js +12 -11
- package/dist/esm/{publicNotificationStore-ade82148.js → publicNotificationStore-90a6a274.js} +1 -1
- package/dist/esm/resources-74ea5c42.js +26 -0
- package/dist/esm/{ro-99f009ad.js → ro-518aaed1.js} +10 -10
- package/dist/esm/{ru-592ffaf0.js → ru-762127a3.js} +10 -10
- package/dist/esm/{shared-list-render-4f0f6af8.js → shared-list-render-ec232615.js} +2 -2
- package/dist/esm/{sk-44f7bd19.js → sk-f367b7ba.js} +10 -10
- package/dist/esm/{sl-08cad9bd.js → sl-052fd4d2.js} +10 -10
- package/dist/esm/solution-configuration.entry.js +29 -28
- package/dist/esm/solution-contents_3.entry.js +6 -5
- package/dist/esm/{solution-store-46bc46a5.js → solution-store-b29d50f7.js} +4 -564
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/{sortableComponent-8a84709a.js → sortableComponent-ebd6bb72.js} +1 -1
- package/dist/esm/{sr-84f261fc.js → sr-4dc0fdb9.js} +10 -10
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/{sv-d0d7bc1e.js → sv-bdc87a4d.js} +10 -10
- package/dist/esm/{t9n-5f748619.js → t9n-9791aa0c.js} +2 -2
- package/dist/esm/{th-a5149d44.js → th-d9df674c.js} +10 -10
- package/dist/esm/{time-fa1151aa.js → time-73378c4a.js} +1 -1
- package/dist/esm/{tr-feb0cad4.js → tr-61e134eb.js} +10 -10
- package/dist/esm/{uk-c9ba62a0.js → uk-ea3d8da7.js} +10 -10
- package/dist/esm/{utils-667cc396.js → utils-593fafd7.js} +1 -1
- package/dist/esm/{utils-0a5c1a07.js → utils-bd52db7d.js} +3 -3
- package/dist/esm/{vi-788dcb99.js → vi-ade1c25b.js} +10 -10
- package/dist/esm/{zh-cn-3ccfb820.js → zh-cn-b8756118.js} +10 -10
- package/dist/esm/{zh-hk-b29b61e8.js → zh-hk-d18c05d9.js} +10 -10
- package/dist/esm/{zh-tw-2bdbc6eb.js → zh-tw-9c98ff7c.js} +10 -10
- package/dist/solutions-components/{p-ca3d7edd.entry.js → p-01fea8d5.entry.js} +1 -1
- package/dist/solutions-components/{p-0c2e392e.entry.js → p-0219a1a9.entry.js} +5 -5
- package/dist/solutions-components/{p-3ce89910.entry.js → p-02ff64f4.entry.js} +1 -1
- package/dist/solutions-components/p-062254a6.entry.js +6 -0
- package/dist/solutions-components/{p-cd673260.js → p-062d2f9a.js} +1 -1
- package/dist/solutions-components/{p-082365d6.entry.js → p-084bced1.entry.js} +1 -1
- package/dist/solutions-components/{p-feff224c.entry.js → p-088e4cfc.entry.js} +1 -1
- package/dist/solutions-components/{p-96239d0d.js → p-08e35485.js} +1 -1
- package/dist/solutions-components/{p-1bcfca9b.entry.js → p-0a883f51.entry.js} +1 -1
- package/dist/solutions-components/{p-8f8d2861.js → p-0d14d33a.js} +1 -1
- package/dist/solutions-components/{p-0266ca81.js → p-0dab4c93.js} +1 -1
- package/dist/solutions-components/{p-f815b5ef.entry.js → p-0de1df10.entry.js} +1 -1
- package/dist/solutions-components/{p-7f271c31.js → p-11550b3c.js} +3 -3
- package/dist/solutions-components/{p-9370bb48.entry.js → p-120c4098.entry.js} +1 -1
- package/dist/solutions-components/{p-586f0e3d.entry.js → p-12bcd474.entry.js} +1 -1
- package/dist/solutions-components/{p-149b4d3c.entry.js → p-1597ec4b.entry.js} +1 -1
- package/dist/solutions-components/{p-dc9dad31.entry.js → p-15a9fe95.entry.js} +1 -1
- package/dist/solutions-components/{p-13290851.js → p-17d176b5.js} +14 -43
- package/dist/solutions-components/{p-95c11620.js → p-1b41181b.js} +44 -29
- package/dist/solutions-components/{p-138cf009.js → p-1c5787b1.js} +1 -1
- package/dist/solutions-components/{p-01c83b8c.entry.js → p-1d9a5198.entry.js} +1 -1
- package/dist/solutions-components/{p-ec378ea0.entry.js → p-1dd5c4e6.entry.js} +1 -1
- package/dist/solutions-components/{p-6295e168.entry.js → p-1e62d118.entry.js} +1 -1
- package/dist/solutions-components/{p-b25005cf.entry.js → p-1ed80742.entry.js} +1 -1
- package/dist/solutions-components/{p-da6acb22.entry.js → p-1fae3819.entry.js} +1 -1
- package/dist/solutions-components/{p-5e08d4de.js → p-21aa112d.js} +1 -1
- package/dist/solutions-components/{p-7f9642d5.js → p-22833bd3.js} +1 -1
- package/dist/solutions-components/{p-66b5211f.entry.js → p-252a9a7f.entry.js} +1 -1
- package/dist/solutions-components/{p-80ea5869.js → p-26b28806.js} +1 -1
- package/dist/solutions-components/{p-0f85fa4b.js → p-2723beaa.js} +1 -1
- package/dist/solutions-components/{p-cee23126.js → p-280fd963.js} +3 -3
- package/dist/solutions-components/{p-ae6a7b3b.entry.js → p-2821ab80.entry.js} +1 -1
- package/dist/solutions-components/{p-d864b7e3.js → p-29049359.js} +1 -1
- package/dist/solutions-components/p-2a58e378.js +21 -0
- package/dist/solutions-components/{p-879d6377.entry.js → p-2b378389.entry.js} +1 -1
- package/dist/solutions-components/{p-2bf63e2e.js → p-2bdd1a5d.js} +1 -1
- package/dist/solutions-components/p-2cff8331.entry.js +6 -0
- package/dist/solutions-components/{p-cacfa6ae.js → p-2ee21e9d.js} +1 -1
- package/dist/solutions-components/{p-aea37c90.js → p-2f42ae51.js} +1 -1
- package/dist/solutions-components/{p-635bbbd4.js → p-30b3261c.js} +1 -1
- package/dist/solutions-components/{p-e4253e1b.entry.js → p-31c9aa38.entry.js} +1 -1
- package/dist/solutions-components/{p-0f77e83c.entry.js → p-32ba2223.entry.js} +2 -2
- package/dist/solutions-components/p-33613993.js +7 -0
- package/dist/solutions-components/{p-636f4631.js → p-34673137.js} +1 -1
- package/dist/solutions-components/{p-8f68f1d3.entry.js → p-3566ee69.entry.js} +1 -1
- package/dist/solutions-components/{p-a287be8b.js → p-358b9cc8.js} +1 -1
- package/dist/solutions-components/{p-3445a8c6.js → p-3691a072.js} +1 -1
- package/dist/solutions-components/p-3a6c8fc3.entry.js +6 -0
- package/dist/solutions-components/{p-e4d2fcc5.js → p-3a8d82a2.js} +2 -2
- package/dist/solutions-components/{p-0109bef4.entry.js → p-3ab94526.entry.js} +1 -1
- package/dist/solutions-components/p-3b1fc7a2.entry.js +6 -0
- package/dist/solutions-components/{p-0f8440bb.entry.js → p-3cc30e11.entry.js} +1 -1
- package/dist/solutions-components/{p-c1dcc1e7.js → p-3f7119c1.js} +1 -1
- package/dist/solutions-components/{p-be146646.js → p-3fcd035e.js} +1 -1
- package/dist/solutions-components/{p-3766be72.js → p-419c9d89.js} +1 -1
- package/dist/solutions-components/p-453d1b31.entry.js +6 -0
- package/dist/solutions-components/{p-7060caf6.js → p-46918548.js} +1 -1
- package/dist/solutions-components/p-49e9e4e3.js +12 -0
- package/dist/solutions-components/p-4d942b0f.entry.js +36 -0
- package/dist/solutions-components/{p-0ecd7346.js → p-4fc92419.js} +1 -1
- package/dist/solutions-components/{p-456f5afe.entry.js → p-52afbe07.entry.js} +1 -1
- package/dist/solutions-components/{p-6ce7b446.entry.js → p-52ec0b32.entry.js} +1 -1
- package/dist/solutions-components/{p-60c15592.js → p-54cc02c9.js} +1 -1
- package/dist/solutions-components/{p-8c61431d.js → p-573d0763.js} +1 -1
- package/dist/solutions-components/{p-6ddc9567.entry.js → p-59ef9461.entry.js} +2 -2
- package/dist/solutions-components/{p-c9df539a.entry.js → p-5e5749c0.entry.js} +1 -1
- package/dist/solutions-components/{p-7a027758.entry.js → p-5ff22d2e.entry.js} +1 -1
- package/dist/solutions-components/{p-8544d557.entry.js → p-617f32a0.entry.js} +1 -1
- package/dist/solutions-components/{p-1e7a31c1.entry.js → p-64541510.entry.js} +1 -1
- package/dist/solutions-components/{p-5c9fa0e7.js → p-6510c06c.js} +1 -1
- package/dist/solutions-components/{p-ec889511.js → p-65ba4d10.js} +1 -1
- package/dist/solutions-components/{p-cec47579.entry.js → p-65ffe4b0.entry.js} +1 -1
- package/dist/solutions-components/{p-bbb0d957.entry.js → p-66dd455f.entry.js} +1 -1
- package/dist/solutions-components/{p-3c15959e.js → p-68007503.js} +1 -1
- package/dist/solutions-components/{p-ac0abf04.entry.js → p-6ba8483c.entry.js} +2 -2
- package/dist/solutions-components/{p-1fba74a5.entry.js → p-6c8c7b98.entry.js} +2 -2
- package/dist/solutions-components/{p-29efbf76.entry.js → p-6e5d9ae9.entry.js} +1 -1
- package/dist/solutions-components/p-6ebf870c.entry.js +17 -0
- package/dist/solutions-components/{p-78a40191.entry.js → p-701409be.entry.js} +2 -2
- package/dist/solutions-components/{p-d2d3e4b5.js → p-72f34a0a.js} +1 -1
- package/dist/solutions-components/{p-261394d7.entry.js → p-7359a6ac.entry.js} +1 -1
- package/dist/solutions-components/{p-7a8d99fe.entry.js → p-73ab9d9a.entry.js} +1 -1
- package/dist/solutions-components/{p-3cfaf52b.entry.js → p-73fe6f7e.entry.js} +2 -2
- package/dist/solutions-components/{p-e0c011b8.js → p-7452d79a.js} +1 -1
- package/dist/solutions-components/{p-57c08531.entry.js → p-753da967.entry.js} +1 -1
- package/dist/solutions-components/{p-f8dd2784.js → p-767002cd.js} +2 -2
- package/dist/solutions-components/{p-5ceef49b.js → p-76c2c379.js} +1 -1
- package/dist/solutions-components/{p-2154de6d.js → p-788aa5d7.js} +1 -1
- package/dist/solutions-components/{p-2592c0b8.js → p-79cc0531.js} +2 -2
- package/dist/solutions-components/{p-167eb73b.js → p-7a0fa011.js} +1 -1
- package/dist/solutions-components/{p-1efcac52.entry.js → p-7a55cee6.entry.js} +1 -1
- package/dist/solutions-components/{p-58167087.entry.js → p-7bc63171.entry.js} +1 -1
- package/dist/solutions-components/{p-864c190b.entry.js → p-8150ad0e.entry.js} +1 -1
- package/dist/solutions-components/{p-5d62566c.entry.js → p-81664d83.entry.js} +1 -1
- package/dist/solutions-components/{p-38f906f2.js → p-8354f486.js} +1 -1
- package/dist/solutions-components/p-84dff306.entry.js +17 -0
- package/dist/solutions-components/{p-31aaa60f.js → p-8594fe6b.js} +1 -1
- package/dist/solutions-components/{p-c79c7978.entry.js → p-89617f30.entry.js} +1 -1
- package/dist/solutions-components/{p-ced11bea.entry.js → p-8a91195f.entry.js} +1 -1
- package/dist/solutions-components/{p-9a35ef8e.js → p-8b2d396e.js} +1 -1
- package/dist/solutions-components/{p-34ef43ce.entry.js → p-8b2e460e.entry.js} +1 -1
- package/dist/solutions-components/{p-e2637fe6.js → p-8ec6ea34.js} +1 -1
- package/dist/solutions-components/{p-e3d72832.entry.js → p-8ee00658.entry.js} +2 -2
- package/dist/solutions-components/{p-28b5a7cf.js → p-905fcf73.js} +1 -1
- package/dist/solutions-components/{p-410068d9.entry.js → p-929909bc.entry.js} +1 -1
- package/dist/solutions-components/{p-9b76bf3d.js → p-948b5722.js} +1 -1
- package/dist/solutions-components/{p-0fa3d1aa.js → p-956f3207.js} +1 -1
- package/dist/solutions-components/{p-b28ff52c.js → p-96287d23.js} +1 -1
- package/dist/solutions-components/{p-f596eabd.entry.js → p-964c0e7d.entry.js} +1 -1
- package/dist/solutions-components/{p-80cb42e4.entry.js → p-98051370.entry.js} +1 -1
- package/dist/solutions-components/p-9a8c51bf.entry.js +6 -0
- package/dist/solutions-components/{p-42f9ab43.entry.js → p-9a94f48c.entry.js} +1 -1
- package/dist/solutions-components/{p-688f6a0a.js → p-9b94501c.js} +1 -1
- package/dist/solutions-components/{p-1cebde99.js → p-9d4467a3.js} +1 -1
- package/dist/solutions-components/{p-872036a8.js → p-9e3c9cd2.js} +1 -1
- package/dist/solutions-components/{p-64e2c099.js → p-9fd59203.js} +1 -1
- package/dist/solutions-components/{p-7bb12deb.js → p-a097edf0.js} +1 -1
- package/dist/solutions-components/{p-27e0f599.js → p-a201bffc.js} +1 -1
- package/dist/solutions-components/{p-d6f68a4e.entry.js → p-a3729795.entry.js} +1 -1
- package/dist/solutions-components/{p-56f1d66b.entry.js → p-a47ed290.entry.js} +1 -1
- package/dist/solutions-components/{p-10e1ebe4.entry.js → p-a5ef322f.entry.js} +1 -1
- package/dist/solutions-components/p-a776b7e6.entry.js +6 -0
- package/dist/solutions-components/{p-4d76eaf6.entry.js → p-a97e8d6a.entry.js} +1 -1
- package/dist/solutions-components/{p-7262469a.js → p-aaea9203.js} +1 -1
- package/dist/solutions-components/{p-f153f1c9.entry.js → p-ad1d56b1.entry.js} +1 -1
- package/dist/solutions-components/{p-3948a96c.js → p-adeb0e8f.js} +1 -1
- package/dist/solutions-components/{p-446ab7f8.entry.js → p-af63959a.entry.js} +1 -1
- package/dist/solutions-components/{p-46e0ce0c.entry.js → p-b1125581.entry.js} +2 -2
- package/dist/solutions-components/{p-ebbff02e.js → p-b20a31c8.js} +1 -1
- package/dist/solutions-components/{p-7b2314ac.js → p-b81131b3.js} +1 -1
- package/dist/solutions-components/p-b892e595.entry.js +6 -0
- package/dist/solutions-components/{p-cc2393c3.entry.js → p-b89c5865.entry.js} +1 -1
- package/dist/solutions-components/{p-5958dad9.js → p-b9b52743.js} +1 -1
- package/dist/solutions-components/{p-5eaaf6ea.entry.js → p-ba99e562.entry.js} +1 -1
- package/dist/solutions-components/{p-0b8463d6.js → p-bc548c06.js} +1 -1
- package/dist/solutions-components/{p-bde323ec.js → p-bccbdeb5.js} +1 -1
- package/dist/solutions-components/{p-c968f9aa.entry.js → p-bd318e33.entry.js} +1 -1
- package/dist/solutions-components/{p-8927339d.js → p-bd766e49.js} +1 -1
- package/dist/solutions-components/{p-651459e2.entry.js → p-be36d5ed.entry.js} +2 -2
- package/dist/solutions-components/{p-c3ab7439.js → p-bfc78840.js} +1 -1
- package/dist/solutions-components/{p-452850b4.entry.js → p-c073d2d6.entry.js} +1 -1
- package/dist/solutions-components/{p-1dbaff04.entry.js → p-c644edf5.entry.js} +1 -1
- package/dist/solutions-components/p-c6b7e7ff.js +11 -0
- package/dist/solutions-components/{p-8b74f5bb.entry.js → p-ca0b3a2b.entry.js} +1 -1
- package/dist/solutions-components/{p-2c0dc7b1.js → p-cc462e38.js} +1 -1
- package/dist/solutions-components/{p-667e7134.entry.js → p-cfd88a2f.entry.js} +1 -1
- package/dist/solutions-components/{p-73220ff1.js → p-d5228aed.js} +1 -1
- package/dist/solutions-components/{p-476e5302.js → p-d74e95e5.js} +1 -1
- package/dist/solutions-components/{p-ea285144.js → p-d98caa4c.js} +1 -1
- package/dist/solutions-components/{p-a46f1b45.js → p-dd9c065e.js} +1 -1
- package/dist/solutions-components/{p-05b2bdf9.js → p-dedc167c.js} +1 -1
- package/dist/solutions-components/{p-a16feeec.js → p-e4f9b782.js} +1 -1
- package/dist/solutions-components/{p-8af52074.entry.js → p-e572a692.entry.js} +1 -1
- package/dist/solutions-components/{p-89504313.entry.js → p-e5dda947.entry.js} +1 -1
- package/dist/solutions-components/{p-8d00a17e.js → p-e7fbf2fe.js} +1 -1
- package/dist/solutions-components/{p-470a9ec4.entry.js → p-e9ba0c7f.entry.js} +1 -1
- package/dist/solutions-components/{p-28d2670f.entry.js → p-eb58da32.entry.js} +1 -1
- package/dist/solutions-components/{p-168a7d63.js → p-eb60ec2a.js} +1 -1
- package/dist/solutions-components/p-ecc95259.js +20 -0
- package/dist/solutions-components/{p-e2eb4fd3.entry.js → p-ee144348.entry.js} +1 -1
- package/dist/solutions-components/{p-6be3c411.js → p-f03bed0c.js} +1 -1
- package/dist/solutions-components/{p-b28b6d40.js → p-f5028a8e.js} +1 -1
- package/dist/solutions-components/{p-a1c6db13.entry.js → p-f50cf603.entry.js} +1 -1
- package/dist/solutions-components/{p-c70392c4.entry.js → p-f524cc5b.entry.js} +1 -1
- package/dist/solutions-components/{p-81814234.entry.js → p-f6b19af7.entry.js} +1 -1
- package/dist/solutions-components/{p-f7b520ae.js → p-f7d8b6b3.js} +1 -1
- package/dist/solutions-components/{p-6eb4ba8f.js → p-f9166fcb.js} +3 -3
- package/dist/solutions-components/{p-17a29fa6.entry.js → p-fb0f2016.entry.js} +1 -1
- package/dist/solutions-components/p-fb74e4a9.js +11 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +257 -85
- package/dist/solutions-components/utils/interfaces.ts +0 -5
- package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +2 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +29 -1
- package/dist/types/components/layer-table/layer-table.d.ts +42 -26
- package/dist/types/components/map-fullscreen/map-fullscreen.d.ts +71 -0
- package/dist/types/components/map-tools/map-tools.d.ts +15 -7
- package/dist/types/components/pdf-download/pdf-download.d.ts +5 -3
- package/dist/types/components.d.ts +67 -12
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/utils/downloadUtils.d.ts +34 -16
- package/dist/types/utils/interfaces.d.ts +0 -4
- package/package.json +8 -9
- package/dist/cjs/calcite-action-bar.cjs.entry.js +0 -250
- package/dist/esm/calcite-action-bar.entry.js +0 -246
- package/dist/solutions-components/p-072155f9.js +0 -12
- package/dist/solutions-components/p-0dd8368d.entry.js +0 -6
- package/dist/solutions-components/p-18538cd9.entry.js +0 -11
- package/dist/solutions-components/p-46352a57.entry.js +0 -6
- package/dist/solutions-components/p-4f9f97b2.entry.js +0 -37
- package/dist/solutions-components/p-868df4a0.js +0 -21
- package/dist/solutions-components/p-869d4521.entry.js +0 -6
- package/dist/solutions-components/p-90cef98d.entry.js +0 -6
- package/dist/solutions-components/p-9310b882.js +0 -7
- package/dist/solutions-components/p-99891e57.js +0 -11
- package/dist/solutions-components/p-9eba78eb.entry.js +0 -6
- package/dist/solutions-components/p-c26cd409.entry.js +0 -6
- package/dist/solutions-components/p-d4cb29ed.entry.js +0 -6
- package/dist/solutions-components/p-fb7ca639.entry.js +0 -6
- package/dist/solutions-components/p-fe96e0d9.entry.js +0 -23
@@ -23,26 +23,44 @@ import { exportCSV } from "./csvUtils";
|
|
23
23
|
import { exportPDF } from "./pdfUtils";
|
24
24
|
import { loadModules } from "./loadModules";
|
25
25
|
import { queryFeaturesByID } from "./queryUtils";
|
26
|
+
//import * as common from "@esri/solution-common";
|
26
27
|
export { ILabel } from "./pdfUtils";
|
27
28
|
const lineSeparatorChar = "|";
|
29
|
+
import { queryRelated } from "@esri/arcgis-rest-feature-layer";
|
30
|
+
/**
|
31
|
+
* Get the related records for a feature service.
|
32
|
+
*
|
33
|
+
* @param url Feature service's URL, e.g., layer.url
|
34
|
+
* @param relationshipId Id of relationship
|
35
|
+
* @param objectIds Objects in the feature service whose related records are sought
|
36
|
+
*/
|
37
|
+
export function getFeatureServiceRelatedRecords(url, relationshipId, objectIds) {
|
38
|
+
const options = {
|
39
|
+
url: url + `/${relationshipId}`,
|
40
|
+
relationshipId,
|
41
|
+
objectIds
|
42
|
+
};
|
43
|
+
return queryRelated(options);
|
44
|
+
}
|
28
45
|
//#endregion
|
29
46
|
// ------------------------------------------------------------------------------------------------------------------ //
|
30
47
|
//#region Public functions
|
31
48
|
/**
|
32
49
|
* Create and consolidate labels from all layers
|
33
50
|
*
|
51
|
+
* @param webmap Webmap containing layer
|
34
52
|
* @param exportInfos Key details about what to export (ids, layer, and selectionSetNames)
|
35
53
|
* @param formatUsingLayerPopup When true, the layer's popup is used to choose attributes for each column; when false,
|
36
54
|
* all attributes are exported
|
37
55
|
* @param includeHeaderNames Add the label format at the front of the list of generated labels
|
38
56
|
* @returns selectionSetNames that will be used for export filenames
|
39
57
|
*/
|
40
|
-
export async function consolidateLabels(exportInfos, formatUsingLayerPopup = true, includeHeaderNames = false, isCSVExport = false) {
|
58
|
+
export async function consolidateLabels(webmap, exportInfos, formatUsingLayerPopup = true, includeHeaderNames = false, isCSVExport = false) {
|
41
59
|
const labelRequests = [];
|
42
60
|
Object.keys(exportInfos).forEach(k => {
|
43
61
|
var _a;
|
44
62
|
const labelInfo = exportInfos[k];
|
45
|
-
labelRequests.push(_prepareLabels(((_a = labelInfo.layerView) === null || _a === void 0 ? void 0 : _a.layer) || labelInfo.layer, labelInfo.ids, formatUsingLayerPopup, includeHeaderNames));
|
63
|
+
labelRequests.push(_prepareLabels(webmap, ((_a = labelInfo.layerView) === null || _a === void 0 ? void 0 : _a.layer) || labelInfo.layer, labelInfo.ids, formatUsingLayerPopup, includeHeaderNames));
|
46
64
|
if (isCSVExport) {
|
47
65
|
// add the layer id as a temp value separator that we can use to split values for CSV export
|
48
66
|
labelRequests.push(Promise.resolve([[k]]));
|
@@ -54,6 +72,7 @@ export async function consolidateLabels(exportInfos, formatUsingLayerPopup = tru
|
|
54
72
|
/**
|
55
73
|
* Downloads csv of mailing labels for the provided list of ids
|
56
74
|
*
|
75
|
+
* @param webmap Webmap containing layer
|
57
76
|
* @param exportInfos Key details about what to export (ids, layer, and selectionSetNames)
|
58
77
|
* @param formatUsingLayerPopup When true, the layer's popup is used to choose attributes for each column; when false,
|
59
78
|
* all attributes are exported
|
@@ -61,8 +80,8 @@ export async function consolidateLabels(exportInfos, formatUsingLayerPopup = tru
|
|
61
80
|
* @param addColumnTitle Indicates if column headings should be included in output
|
62
81
|
* @returns Promise resolving when function is done
|
63
82
|
*/
|
64
|
-
export async function downloadCSV(exportInfos, formatUsingLayerPopup, removeDuplicates = false, addColumnTitle = false) {
|
65
|
-
let labels = await consolidateLabels(exportInfos, formatUsingLayerPopup, addColumnTitle, true);
|
83
|
+
export async function downloadCSV(webmap, exportInfos, formatUsingLayerPopup, removeDuplicates = false, addColumnTitle = false) {
|
84
|
+
let labels = await consolidateLabels(webmap, exportInfos, formatUsingLayerPopup, addColumnTitle, true);
|
66
85
|
labels = removeDuplicates ? removeDuplicateLabels(labels) : labels;
|
67
86
|
const layerIds = Object.keys(exportInfos);
|
68
87
|
let layerLabels = [];
|
@@ -84,6 +103,7 @@ export async function downloadCSV(exportInfos, formatUsingLayerPopup, removeDupl
|
|
84
103
|
/**
|
85
104
|
* Downloads csv of mailing labels for the provided list of ids
|
86
105
|
*
|
106
|
+
* @param webmap Webmap containing layer
|
87
107
|
* @param exportInfos Key details about what to export (ids, layer, and selectionSetNames)
|
88
108
|
* @param labelPageDescription Provides PDF page layout info
|
89
109
|
* @param removeDuplicates When true a single label is generated when multiple featues have a shared address value
|
@@ -91,8 +111,8 @@ export async function downloadCSV(exportInfos, formatUsingLayerPopup, removeDupl
|
|
91
111
|
* @param initialImageDataUrl Data URL of image for first page
|
92
112
|
* @returns Promise resolving when function is done
|
93
113
|
*/
|
94
|
-
export async function downloadPDF(exportInfos, labelPageDescription, removeDuplicates = false, title = "", initialImageDataUrl = "") {
|
95
|
-
let labels = await consolidateLabels(exportInfos);
|
114
|
+
export async function downloadPDF(webmap, exportInfos, labelPageDescription, removeDuplicates = false, title = "", initialImageDataUrl = "") {
|
115
|
+
let labels = await consolidateLabels(webmap, exportInfos);
|
96
116
|
const selectionSetNames = _getSelectionSetNames(exportInfos);
|
97
117
|
labels =
|
98
118
|
// Remove empty lines in labels
|
@@ -224,6 +244,87 @@ export async function _convertPopupArcadeToLabelSpec(expressionInfo) {
|
|
224
244
|
format: executor
|
225
245
|
});
|
226
246
|
}
|
247
|
+
/**
|
248
|
+
* Extracts Arcade expressions from the lines of a label format and creates an Arcade executor for each
|
249
|
+
* referenced expression name.
|
250
|
+
*
|
251
|
+
* @param labelFormat Label to examine
|
252
|
+
* @param layer Layer from which to fetch features
|
253
|
+
* @return Promise resolving to a set of executors keyed using the expression name
|
254
|
+
*/
|
255
|
+
/*
|
256
|
+
async function _createArcadeExecutors(
|
257
|
+
labelFormat: string,
|
258
|
+
layer: __esri.FeatureLayer
|
259
|
+
): Promise<IArcadeExecutors> {
|
260
|
+
const arcadeExecutors: IArcadeExecutors = {};
|
261
|
+
|
262
|
+
// Are any Arcade expressions in the layer?
|
263
|
+
if (!Array.isArray(layer.popupTemplate.expressionInfos) || layer.popupTemplate.expressionInfos.length === 0) {
|
264
|
+
return Promise.resolve(arcadeExecutors);
|
265
|
+
}
|
266
|
+
|
267
|
+
// Are there any Arcade expressions in the label format?
|
268
|
+
const arcadeExpressionRegExp = /\{expression\/\w+\}/g;
|
269
|
+
const arcadeExpressionsMatches = labelFormat.match(arcadeExpressionRegExp);
|
270
|
+
if (!arcadeExpressionsMatches) {
|
271
|
+
return Promise.resolve(arcadeExecutors);
|
272
|
+
}
|
273
|
+
|
274
|
+
// Generate an Arcade executor for each match
|
275
|
+
const [arcade] = await loadModules(["esri/arcade"]);
|
276
|
+
const labelingProfile: __esri.Profile = {
|
277
|
+
variables: [
|
278
|
+
{
|
279
|
+
name: "$feature",
|
280
|
+
type: "feature"
|
281
|
+
},
|
282
|
+
{
|
283
|
+
name: "$layer",
|
284
|
+
type: "featureSet"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
name: "$datastore",
|
288
|
+
type: "featureSetCollection"
|
289
|
+
},
|
290
|
+
{
|
291
|
+
name: "$map",
|
292
|
+
type: "featureSetCollection"
|
293
|
+
}
|
294
|
+
]
|
295
|
+
};
|
296
|
+
|
297
|
+
const createArcadeExecutorPromises: IArcadeExecutorPromises = {};
|
298
|
+
arcadeExpressionsMatches.forEach(
|
299
|
+
(match: string) => {
|
300
|
+
const expressionName = match.substring(match.indexOf("/") + 1, match.length - 1);
|
301
|
+
|
302
|
+
(layer.popupTemplate.expressionInfos || []).forEach(
|
303
|
+
expressionInfo => {
|
304
|
+
if (expressionInfo.name === expressionName) {
|
305
|
+
createArcadeExecutorPromises[expressionName] =
|
306
|
+
arcade.createArcadeExecutor(expressionInfo.expression, labelingProfile);
|
307
|
+
}
|
308
|
+
}
|
309
|
+
);
|
310
|
+
}
|
311
|
+
);
|
312
|
+
|
313
|
+
const promises = Object.values(createArcadeExecutorPromises);
|
314
|
+
return Promise.all(promises)
|
315
|
+
.then(
|
316
|
+
executors => {
|
317
|
+
const expressionNames = Object.keys(createArcadeExecutorPromises);
|
318
|
+
|
319
|
+
for (let i = 0; i < expressionNames.length; ++i) {
|
320
|
+
arcadeExecutors[expressionNames[i]] = executors[i].valueOf() as __esri.ArcadeExecutor;
|
321
|
+
}
|
322
|
+
|
323
|
+
return arcadeExecutors;
|
324
|
+
}
|
325
|
+
);
|
326
|
+
}
|
327
|
+
*/
|
227
328
|
/**
|
228
329
|
* Creates a title from a list of selection set names.
|
229
330
|
*
|
@@ -236,38 +337,6 @@ export function _createFilename(selectionSetNames) {
|
|
236
337
|
const title = selectionSetNames.length > 0 ? selectionSetNames.join(", ") : "download";
|
237
338
|
return title;
|
238
339
|
}
|
239
|
-
/**
|
240
|
-
* Creates relationship queries for each relationship flag in a popup.
|
241
|
-
* @param layer Layer whose popup is to be examined
|
242
|
-
* @return Hash of relationships by their id, or null if there are no relationship flags in the
|
243
|
-
* popup; each relationship has the properties layer and relatedQuery for the related layer
|
244
|
-
* and the query for that layer
|
245
|
-
*/
|
246
|
-
export function _createRelationshipQueries(layer) {
|
247
|
-
const relationships = {};
|
248
|
-
const relationshipFieldPattern = /\{relationships\/\d+\//gm;
|
249
|
-
const relationshipIdPattern = /\d+/;
|
250
|
-
// Test if this popup has any relationship references
|
251
|
-
const matches = layer.popupTemplate.content[0].text.match(relationshipFieldPattern);
|
252
|
-
if (matches) {
|
253
|
-
matches.forEach(match => {
|
254
|
-
// Add a query to a found relationship if we don't already have one
|
255
|
-
const id = match.match(relationshipIdPattern)[0];
|
256
|
-
if (!relationships.hasOwnProperty(id)) {
|
257
|
-
const relatedQuery = {
|
258
|
-
outFields: ['*'],
|
259
|
-
relationshipId: id,
|
260
|
-
returnGeometry: false
|
261
|
-
};
|
262
|
-
relationships[id] = {
|
263
|
-
layer,
|
264
|
-
relatedQuery
|
265
|
-
};
|
266
|
-
}
|
267
|
-
});
|
268
|
-
}
|
269
|
-
return relationships;
|
270
|
-
}
|
271
340
|
/**
|
272
341
|
* Extracts Arcade expression references from the lines of a label format.
|
273
342
|
*
|
@@ -319,52 +388,73 @@ export function _getFieldNamesFromFieldExpressions(fieldExpressions) {
|
|
319
388
|
/**
|
320
389
|
* Extracts the label format from the layer.
|
321
390
|
*
|
391
|
+
* @param webmap Webmap containing layer
|
322
392
|
* @param layer Layer with label format
|
323
393
|
* @param formatUsingLayerPopup When true, the layer's popup is used to choose attributes for each column; when false,
|
324
394
|
* all attributes are exported
|
325
|
-
* @param attributeFormats Empty object to hold the formats for each attribute in a feature; the object is filled
|
326
|
-
* with formats by this function
|
327
395
|
* @returns A Promise resolving to the format of a single label with fields coerced to lowercase, e.g.,
|
328
|
-
* for
|
396
|
+
* for ILabelFormatProps type "pattern": "{name}|{street}|{city}, {state} {zip}"
|
329
397
|
*/
|
330
|
-
export async function _getLabelFormat(layer, formatUsingLayerPopup
|
331
|
-
var _a, _b
|
332
|
-
let
|
333
|
-
|
334
|
-
|
398
|
+
export async function _getLabelFormat(webmap, layer, formatUsingLayerPopup) {
|
399
|
+
var _a, _b;
|
400
|
+
let labelFormatProps = {
|
401
|
+
layer,
|
402
|
+
attributeFormats: {},
|
403
|
+
relationshipId: undefined,
|
404
|
+
labelFormat: {
|
405
|
+
type: "unsupported",
|
406
|
+
format: undefined
|
407
|
+
}
|
335
408
|
};
|
336
409
|
if (layer.popupEnabled) {
|
337
410
|
layer.popupTemplate.fieldInfos.forEach(
|
338
411
|
// Extract any format info that we have
|
339
412
|
fieldInfo => {
|
340
413
|
if (fieldInfo.format) {
|
341
|
-
attributeFormats[fieldInfo.fieldName.toLowerCase()] = fieldInfo.format;
|
414
|
+
labelFormatProps.attributeFormats[fieldInfo.fieldName.toLowerCase()] = fieldInfo.format;
|
342
415
|
}
|
343
416
|
});
|
344
417
|
// What is the nature of the label content?
|
345
418
|
// Fields list
|
346
|
-
if (formatUsingLayerPopup
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
419
|
+
if (formatUsingLayerPopup) {
|
420
|
+
const labelFormatType = (_b = (_a = layer.popupTemplate) === null || _a === void 0 ? void 0 : _a.content[0]) === null || _b === void 0 ? void 0 : _b.type;
|
421
|
+
if (labelFormatType === "relationship") {
|
422
|
+
const relationshipId = layer.popupTemplate.content[0].relationshipId;
|
423
|
+
const webmapLayers = webmap.layers.toArray().concat(webmap.tables.toArray())
|
424
|
+
.filter((entry) => entry.type === "feature"
|
425
|
+
&& entry.id !== layer.id
|
426
|
+
&& entry.relationships
|
427
|
+
&& entry.relationships.some(relationship => relationship.id === relationshipId));
|
428
|
+
labelFormatProps = await _getLabelFormat(webmap, webmapLayers[0], formatUsingLayerPopup);
|
429
|
+
labelFormatProps.relationshipId = relationshipId;
|
430
|
+
}
|
431
|
+
else if (labelFormatType === "fields") {
|
432
|
+
labelFormatProps.labelFormat = _convertPopupFieldsToLabelSpec(layer.popupTemplate.fieldInfos);
|
433
|
+
// If popup is configured with "no attribute information", then no fields will visible
|
434
|
+
if (labelFormatProps.labelFormat.format.length === 0) {
|
435
|
+
// Can we use the popup title?
|
436
|
+
labelFormatProps.labelFormat = layer.popupTemplate.title && typeof layer.popupTemplate.title === "string" ?
|
437
|
+
{ type: "pattern", format: layer.popupTemplate.title }
|
438
|
+
:
|
439
|
+
// Otherwise revert to using attributes
|
440
|
+
_convertPopupFieldsToLabelSpec(layer.popupTemplate.fieldInfos, true);
|
441
|
+
}
|
442
|
+
// Example text: '<p>{name} {age} years </p><p>started: {start}</p>'
|
443
|
+
}
|
444
|
+
else if (labelFormatType === "text") {
|
445
|
+
labelFormatProps.labelFormat = _convertPopupTextToLabelSpec(layer.popupTemplate.content[0].text);
|
446
|
+
// Example expression: 'var feat = $feature\nvar label = `\n\t${feat["name"]} ${feat["age"]} years <br>\n\tstarted: ${feat["start"]}\n`\n\nreturn { \n type : \'text\', \n text : label\n}',
|
447
|
+
}
|
448
|
+
else if (labelFormatType === "expression") {
|
449
|
+
labelFormatProps.labelFormat = await _convertPopupArcadeToLabelSpec(layer.popupTemplate.content[0].expressionInfo);
|
450
|
+
// Fallback to all fields
|
451
|
+
}
|
452
|
+
else {
|
453
|
+
labelFormatProps.labelFormat = _convertPopupFieldsToLabelSpec(layer.popupTemplate.fieldInfos);
|
356
454
|
}
|
357
|
-
// Example text: '<p>{name} {age} years </p><p>started: {start}</p>'
|
358
|
-
}
|
359
|
-
else if (formatUsingLayerPopup && ((_d = (_c = layer.popupTemplate) === null || _c === void 0 ? void 0 : _c.content[0]) === null || _d === void 0 ? void 0 : _d.type) === "text") {
|
360
|
-
labelFormat = _convertPopupTextToLabelSpec(layer.popupTemplate.content[0].text);
|
361
|
-
// Example expression: 'var feat = $feature\nvar label = `\n\t${feat["name"]} ${feat["age"]} years <br>\n\tstarted: ${feat["start"]}\n`\n\nreturn { \n type : \'text\', \n text : label\n}',
|
362
|
-
}
|
363
|
-
else if (formatUsingLayerPopup && ((_f = (_e = layer.popupTemplate) === null || _e === void 0 ? void 0 : _e.content[0]) === null || _f === void 0 ? void 0 : _f.type) === "expression") {
|
364
|
-
labelFormat = await _convertPopupArcadeToLabelSpec(layer.popupTemplate.content[0].expressionInfo);
|
365
455
|
}
|
366
456
|
}
|
367
|
-
return Promise.resolve(
|
457
|
+
return Promise.resolve(labelFormatProps);
|
368
458
|
}
|
369
459
|
/**
|
370
460
|
* Extract selectionSetNames from the provided exportInfos
|
@@ -436,6 +526,7 @@ export function _prepareAttributeValue(attributeValue, attributeType, attributeD
|
|
436
526
|
/**
|
437
527
|
* Creates labels from items.
|
438
528
|
*
|
529
|
+
* @param webmap Webmap containing layer
|
439
530
|
* @param layer Layer from which to fetch features
|
440
531
|
* @param ids List of ids to download
|
441
532
|
* @param formatUsingLayerPopup When true, the layer's popup is used to choose attributes for each column; when false,
|
@@ -443,32 +534,51 @@ export function _prepareAttributeValue(attributeValue, attributeType, attributeD
|
|
443
534
|
* @param includeHeaderNames Add the label format at the front of the list of generated labels
|
444
535
|
* @returns Promise resolving when function is done
|
445
536
|
*/
|
446
|
-
export async function _prepareLabels(layer, ids, formatUsingLayerPopup = true, includeHeaderNames = false) {
|
447
|
-
// Get the
|
448
|
-
const
|
537
|
+
export async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true, includeHeaderNames = false) {
|
538
|
+
// Get the label formatting, if any
|
539
|
+
const labelFormatProps = await _getLabelFormat(webmap, layer, formatUsingLayerPopup);
|
540
|
+
// Because the label may actually come from a related layer, we'll use the layer that comes back from _getLabelFormat.
|
541
|
+
// That function returns the supplied layer in all cases except for a "relationship" type of popup.
|
542
|
+
const featureLayer = labelFormatProps.layer;
|
543
|
+
let featureSet = [];
|
544
|
+
if (typeof (labelFormatProps.relationshipId) !== "undefined") {
|
545
|
+
// Get the related items for each id
|
546
|
+
const relatedRecResponse = await getFeatureServiceRelatedRecords(layer.url, labelFormatProps.relationshipId, ids);
|
547
|
+
const objectIdField = layer.objectIdField;
|
548
|
+
let relatedFeatureIds = [];
|
549
|
+
relatedRecResponse.relatedRecordGroups.forEach((relatedRecGroup) => {
|
550
|
+
relatedFeatureIds = relatedFeatureIds.concat(relatedRecGroup.relatedRecords.map((rec) => rec.attributes[objectIdField]));
|
551
|
+
});
|
552
|
+
// Remove duplicates
|
553
|
+
relatedFeatureIds.sort();
|
554
|
+
relatedFeatureIds = relatedFeatureIds.filter((id, i) => i === 0 ? true : id !== relatedFeatureIds[i - 1]);
|
555
|
+
// Get the full items
|
556
|
+
featureSet = await queryFeaturesByID(relatedFeatureIds, featureLayer, [], false);
|
557
|
+
}
|
558
|
+
else {
|
559
|
+
// Get the features to export
|
560
|
+
featureSet = await queryFeaturesByID(ids, featureLayer, [], false);
|
561
|
+
}
|
449
562
|
// Get field data types. Do we have any domain-based fields?
|
450
563
|
const attributeOrigNames = {};
|
451
564
|
const attributeTypes = {};
|
452
565
|
const attributeDomains = {};
|
453
|
-
|
566
|
+
featureLayer.fields.forEach(field => {
|
454
567
|
const lowercaseFieldname = field.name.toLowerCase();
|
455
568
|
attributeOrigNames[lowercaseFieldname] = field.name;
|
456
569
|
attributeDomains[lowercaseFieldname] = field.domain;
|
457
570
|
attributeTypes[lowercaseFieldname] = field.type;
|
458
571
|
});
|
459
|
-
const attributeFormats = {};
|
460
|
-
// Get the label formatting, if any
|
461
|
-
const labelFormat = await _getLabelFormat(layer, formatUsingLayerPopup, attributeFormats);
|
462
572
|
// Apply the label format
|
463
|
-
const labels = labelFormat.type === "
|
464
|
-
// Export
|
465
|
-
await
|
466
|
-
: labelFormat.type
|
467
|
-
// Export attributes in
|
468
|
-
await
|
573
|
+
const labels = labelFormatProps.labelFormat.type === "pattern" ?
|
574
|
+
// Export attributes in format
|
575
|
+
await _prepareLabelsFromPattern(/*layer,*/ featureSet, attributeOrigNames, attributeTypes, attributeDomains, labelFormatProps.attributeFormats, labelFormatProps.labelFormat.format, includeHeaderNames)
|
576
|
+
: labelFormatProps.labelFormat.type === "executor" ?
|
577
|
+
// Export attributes in expression
|
578
|
+
await _prepareLabelsUsingExecutor(featureSet, labelFormatProps.labelFormat.format)
|
469
579
|
:
|
470
|
-
// Export attributes
|
471
|
-
await
|
580
|
+
// Export all attributes
|
581
|
+
await _prepareLabelsFromAll(featureSet, attributeTypes, attributeDomains, includeHeaderNames);
|
472
582
|
return Promise.resolve(labels);
|
473
583
|
}
|
474
584
|
/**
|
@@ -512,14 +622,30 @@ export async function _prepareLabelsFromAll(featureSet, attributeTypes, attribut
|
|
512
622
|
* @param includeHeaderNames Add the label format at the front of the list of generated labels
|
513
623
|
* @returns Promise resolving with list of labels, each of which is a list of label lines
|
514
624
|
*/
|
515
|
-
export async function _prepareLabelsFromPattern(
|
625
|
+
export async function _prepareLabelsFromPattern(
|
626
|
+
//layer: __esri.FeatureLayer,
|
627
|
+
featureSet, attributeOrigNames, attributeTypes, attributeDomains, attributeFormats, labelFormat, includeHeaderNames = false) {
|
516
628
|
const [intl] = await loadModules(["esri/intl"]);
|
517
629
|
// Find the label fields that we need to replace with values
|
518
630
|
const attributeExpressionMatches = _getFieldExpressionsFromLabel(labelFormat);
|
519
631
|
const attributeNames = _getFieldNamesFromFieldExpressions(attributeExpressionMatches);
|
632
|
+
// Do we need any Arcade executors?
|
633
|
+
//const arcadeExecutors = await _createArcadeExecutors(labelFormat, layer);
|
634
|
+
//const arcadeExpressionRegExp = /\{expression\/\w+\}/g;
|
635
|
+
// Find the label fields that we need to replace with values
|
636
|
+
//const arcadeExpressionMatches = labelFormat.match(arcadeExpressionRegExp) ?? [];
|
520
637
|
// Convert feature attributes into an array of labels
|
521
638
|
const labels = await Promise.all(featureSet.map(async (feature) => {
|
522
639
|
let labelPrep = labelFormat;
|
640
|
+
/*
|
641
|
+
// Replace Arcade expressions in this feature
|
642
|
+
for (let i = 0; i < arcadeExpressionMatches.length; i++) {
|
643
|
+
const match: string = arcadeExpressionMatches[i];
|
644
|
+
const expressionName = match.substring(match.indexOf("/") + 1, match.length - 1);
|
645
|
+
const value = await arcadeExecutors[expressionName].executeAsync({"$feature": feature, "$layer", layer});
|
646
|
+
labelPrep = labelPrep.replace(match, value);
|
647
|
+
}
|
648
|
+
*/
|
523
649
|
// Replace non-Arcade fields in this feature
|
524
650
|
attributeNames.forEach((attributeName, i) => {
|
525
651
|
const lowercaseFieldname = attributeName.toLowerCase();
|