@esri/solutions-components 0.6.12 → 0.6.14
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-layer-picker/resources.json +4 -0
- package/dist/assets/t9n/map-layer-picker/resources_en.json +4 -0
- package/dist/cjs/basemap-gallery_6.cjs.entry.js +20 -5
- package/dist/cjs/buffer-tools_4.cjs.entry.js +1 -1
- package/dist/cjs/calcite-chip_3.cjs.entry.js +803 -0
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +76 -28
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +2 -1
- package/dist/cjs/card-manager_3.cjs.entry.js +169 -79
- package/dist/cjs/clean-url-d5326abb.js +573 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +22 -7
- package/dist/cjs/{downloadUtils-43f5be48.js → downloadUtils-34a515ad.js} +297 -52
- package/dist/cjs/edit-card_2.cjs.entry.js +8 -3
- package/dist/cjs/{index.es-8da43c21.js → index.es-0ba11065.js} +3 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +10 -7
- package/dist/cjs/{mapViewUtils-a4dd36ec.js → mapViewUtils-a2884698.js} +39 -55
- package/dist/cjs/public-notification.cjs.entry.js +7 -6
- package/dist/cjs/{publicNotificationStore-b69862af.js → publicNotificationStore-610bd880.js} +0 -4
- package/dist/cjs/solution-configuration.cjs.entry.js +44 -43
- package/dist/cjs/solution-contents_3.cjs.entry.js +2 -1
- package/dist/cjs/{solution-store-3cd104d8.js → solution-store-c443e657.js} +7 -572
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +23 -1
- package/dist/collection/components/card-manager/card-manager.css +0 -5
- package/dist/collection/components/card-manager/card-manager.js +3 -3
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +2 -2
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +210 -6
- package/dist/collection/components/edit-card/edit-card.css +8 -0
- package/dist/collection/components/edit-card/edit-card.js +19 -0
- package/dist/collection/components/info-card/info-card.css +14 -14
- package/dist/collection/components/info-card/info-card.js +1 -1
- package/dist/collection/components/layer-table/layer-table.css +12 -0
- package/dist/collection/components/layer-table/layer-table.js +215 -69
- package/dist/collection/components/map-card/map-card.js +115 -5
- package/dist/collection/components/map-layer-picker/map-layer-picker.css +4 -0
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +107 -27
- package/dist/collection/components/map-picker/map-picker.css +5 -1
- package/dist/collection/components/map-picker/map-picker.js +3 -3
- package/dist/collection/components/map-tools/map-tools.js +104 -1
- package/dist/collection/components/pdf-download/pdf-download.js +34 -6
- 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.ts +12 -1
- package/dist/collection/utils/mapViewUtils.js +38 -52
- package/dist/collection/utils/mapViewUtils.ts +41 -57
- package/dist/collection/utils/publicNotificationStore.js +0 -4
- package/dist/collection/utils/publicNotificationStore.ts +0 -4
- package/dist/collection/utils/test/downloadUtils.spec.js +163 -134
- package/dist/collection/utils/test/downloadUtils.spec.tsx +2 -0
- package/dist/components/basemap-gallery2.js +2 -0
- package/dist/components/calcite-modal.js +1 -409
- package/dist/components/card-manager2.js +4 -4
- package/dist/components/clean-url.js +567 -0
- package/dist/components/crowdsource-manager.js +42 -17
- package/dist/components/downloadUtils.js +295 -50
- package/dist/components/edit-card2.js +6 -1
- package/dist/components/info-card2.js +2 -2
- package/dist/components/layer-table2.js +194 -102
- package/dist/components/map-card2.js +17 -5
- package/dist/components/map-layer-picker2.js +114 -52
- package/dist/components/map-picker2.js +4 -4
- package/dist/components/map-select-tools2.js +55 -43
- package/dist/components/map-tools2.js +20 -1
- package/dist/components/mapViewUtils.js +39 -53
- package/dist/components/modal.js +416 -0
- package/dist/components/pdf-download2.js +6 -4
- package/dist/components/public-notification.js +4 -4
- package/dist/components/publicNotificationStore.js +0 -4
- package/dist/components/refine-selection2.js +61 -49
- package/dist/components/solution-configuration.js +25 -24
- package/dist/components/solution-store.js +2 -562
- package/dist/esm/{ExpandToggle-86761b28.js → ExpandToggle-e614e3e4.js} +1 -1
- package/dist/esm/{ar-4a5375c6.js → ar-2f678abc.js} +8 -8
- package/dist/esm/basemap-gallery_6.entry.js +20 -5
- package/dist/esm/{bg-b25e4b7a.js → bg-e514c4d7.js} +8 -8
- package/dist/esm/{bs-2485dfed.js → bs-81584b09.js} +8 -8
- package/dist/esm/buffer-tools_4.entry.js +5 -5
- package/dist/esm/{ca-bba36d26.js → ca-e8c40e21.js} +8 -8
- package/dist/esm/calcite-accordion-item.entry.js +1 -1
- package/dist/esm/calcite-action-bar_3.entry.js +5 -5
- package/dist/esm/calcite-action-group_2.entry.js +3 -3
- package/dist/esm/calcite-action-pad.entry.js +4 -4
- package/dist/esm/calcite-action_2.entry.js +5 -5
- package/dist/esm/calcite-alert.entry.js +3 -3
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block-section.entry.js +3 -3
- package/dist/esm/calcite-block.entry.js +3 -3
- package/dist/esm/calcite-button.entry.js +5 -5
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/calcite-checkbox.entry.js +3 -3
- package/dist/esm/calcite-chip-group.entry.js +1 -1
- package/dist/esm/calcite-chip_3.entry.js +797 -0
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +1 -1
- package/dist/esm/calcite-color-picker.entry.js +3 -3
- package/dist/esm/calcite-combobox-item-group.entry.js +2 -2
- package/dist/esm/calcite-combobox_6.entry.js +83 -35
- package/dist/esm/calcite-date-picker-day_3.entry.js +3 -3
- package/dist/esm/calcite-date-picker.entry.js +5 -5
- package/dist/esm/calcite-fab.entry.js +1 -1
- package/dist/esm/calcite-filter_3.entry.js +3 -3
- package/dist/esm/calcite-flow-item.entry.js +3 -3
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +4 -4
- package/dist/esm/calcite-input-date-picker.entry.js +9 -9
- package/dist/esm/calcite-input-number_2.entry.js +5 -5
- package/dist/esm/{calcite-input-time-picker-7da2e80a.js → calcite-input-time-picker-fe6e499a.js} +55 -55
- package/dist/esm/calcite-input-time-picker.entry.js +8 -8
- package/dist/esm/calcite-input-time-zone.entry.js +5 -5
- package/dist/esm/calcite-input_2.entry.js +5 -5
- package/dist/esm/calcite-label.entry.js +2 -2
- package/dist/esm/calcite-link.entry.js +1 -1
- package/dist/esm/calcite-menu-item.entry.js +3 -3
- package/dist/esm/calcite-menu.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +4 -4
- package/dist/esm/calcite-navigation.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +3 -3
- package/dist/esm/calcite-pagination.entry.js +3 -3
- package/dist/esm/calcite-panel_2.entry.js +3 -3
- package/dist/esm/calcite-pick-list-group.entry.js +1 -1
- package/dist/esm/calcite-pick-list-item.entry.js +3 -3
- package/dist/esm/calcite-pick-list.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +3 -3
- package/dist/esm/calcite-rating.entry.js +5 -5
- package/dist/esm/calcite-scrim.entry.js +3 -3
- package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
- package/dist/esm/calcite-shell-center-row.entry.js +1 -1
- package/dist/esm/calcite-shell-panel_14.entry.js +7 -6
- package/dist/esm/calcite-sortable-list.entry.js +2 -2
- package/dist/esm/calcite-stepper-item.entry.js +2 -2
- package/dist/esm/calcite-stepper.entry.js +1 -1
- package/dist/esm/calcite-switch.entry.js +3 -3
- package/dist/esm/calcite-text-area.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +1 -1
- package/dist/esm/calcite-time-picker.entry.js +4 -4
- package/dist/esm/calcite-tip-manager.entry.js +3 -3
- package/dist/esm/calcite-tip.entry.js +3 -3
- package/dist/esm/calcite-tree_3.entry.js +1 -1
- package/dist/esm/card-manager_3.entry.js +169 -79
- package/dist/esm/clean-url-bce022e6.js +567 -0
- package/dist/esm/crowdsource-manager.entry.js +22 -7
- package/dist/esm/{cs-1052c5ac.js → cs-af5f115e.js} +8 -8
- package/dist/esm/{da-b7ed9204.js → da-06d9e22c.js} +8 -8
- package/dist/esm/{date-bd5b879c.js → date-641ae749.js} +1 -1
- package/dist/esm/{de-at-a993e5ae.js → de-at-f55a700a.js} +8 -8
- package/dist/esm/{de-ch-acff745d.js → de-ch-7307675f.js} +8 -8
- package/dist/esm/{de-bb68e752.js → de-dc98363f.js} +8 -8
- package/dist/esm/{dom-37f2dec9.js → dom-2b326ec3.js} +1 -1
- package/dist/esm/{downloadUtils-42156cd8.js → downloadUtils-ac67a786.js} +297 -52
- package/dist/esm/edit-card_2.entry.js +8 -3
- package/dist/esm/{el-9de96ff0.js → el-91c64808.js} +8 -8
- package/dist/esm/{en-au-f68b6bde.js → en-au-df08cc25.js} +8 -8
- package/dist/esm/{en-ca-5360517e.js → en-ca-175f7c0f.js} +8 -8
- package/dist/esm/{en-gb-de0b3125.js → en-gb-90a08c7f.js} +8 -8
- package/dist/esm/{es-5ecbba77.js → es-5cb54b05.js} +8 -8
- package/dist/esm/{es-mx-aa126462.js → es-mx-3a0cb804.js} +8 -8
- package/dist/esm/{et-7113eeb8.js → et-eceac6dc.js} +8 -8
- package/dist/esm/{fi-ffa60f15.js → fi-26e1c14f.js} +8 -8
- 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-24e6ef1d.js → form-0871d2c6.js} +1 -1
- package/dist/esm/{fr-681c5bf6.js → fr-12a5b0f7.js} +8 -8
- package/dist/esm/{fr-ch-9af1f8b1.js → fr-ch-e3406887.js} +8 -8
- package/dist/esm/{he-5188f277.js → he-61eba811.js} +8 -8
- package/dist/esm/{hi-6a31e3a4.js → hi-a50282b5.js} +8 -8
- package/dist/esm/{hr-0598e59d.js → hr-da8bffaf.js} +8 -8
- package/dist/esm/{hu-13cb9f41.js → hu-dab932f1.js} +8 -8
- package/dist/esm/{id-7f342499.js → id-de468947.js} +8 -8
- package/dist/esm/{index.es-f47c4153.js → index.es-f553598f.js} +3 -2
- package/dist/esm/{it-57d790f2.js → it-375d9936.js} +8 -8
- package/dist/esm/{it-ch-081af760.js → it-ch-7e663d63.js} +8 -8
- package/dist/esm/{ja-3affb68e.js → ja-36dbe39d.js} +8 -8
- package/dist/esm/{ko-736632aa.js → ko-858bc871.js} +8 -8
- package/dist/esm/{label-b6dfb4d5.js → label-b8caf984.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{locale-146251f7.js → locale-00000ab4.js} +1 -1
- package/dist/esm/{lt-e7d9b1c3.js → lt-d6dfa7e4.js} +8 -8
- package/dist/esm/{lv-4d1a507e.js → lv-facd25c5.js} +8 -8
- package/dist/esm/map-select-tools_3.entry.js +10 -7
- package/dist/esm/{mapViewUtils-00a04d52.js → mapViewUtils-8141d8c1.js} +39 -53
- package/dist/esm/{mk-f960312d.js → mk-5ed05b6a.js} +8 -8
- package/dist/esm/{nb-4556b5e9.js → nb-936fc687.js} +8 -8
- package/dist/esm/{nl-8e281c01.js → nl-a923d626.js} +8 -8
- package/dist/esm/{pl-1460fd5a.js → pl-b1426275.js} +8 -8
- package/dist/esm/{pt-660332b6.js → pt-1ac2453f.js} +8 -8
- package/dist/esm/{pt-br-dba48f49.js → pt-br-7194cc5f.js} +8 -8
- package/dist/esm/public-notification.entry.js +7 -6
- package/dist/esm/{publicNotificationStore-90a6a274.js → publicNotificationStore-dcf39a55.js} +0 -4
- package/dist/esm/{ro-ac18f292.js → ro-518aaed1.js} +8 -8
- package/dist/esm/{ru-b914f6b7.js → ru-762127a3.js} +8 -8
- package/dist/esm/{shared-list-render-cc889757.js → shared-list-render-ec232615.js} +1 -1
- package/dist/esm/{sk-1be12963.js → sk-f367b7ba.js} +8 -8
- package/dist/esm/{sl-5d47e4e4.js → sl-052fd4d2.js} +8 -8
- package/dist/esm/solution-configuration.entry.js +25 -24
- package/dist/esm/solution-contents_3.entry.js +2 -1
- package/dist/esm/{solution-store-cf902566.js → solution-store-b29d50f7.js} +2 -562
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/{sortableComponent-8a84709a.js → sortableComponent-ebd6bb72.js} +1 -1
- package/dist/esm/{sr-3281c92d.js → sr-4dc0fdb9.js} +8 -8
- package/dist/esm/{sv-e5169404.js → sv-bdc87a4d.js} +8 -8
- package/dist/esm/{t9n-d9c203e4.js → t9n-9791aa0c.js} +1 -1
- package/dist/esm/{th-937796b8.js → th-d9df674c.js} +8 -8
- package/dist/esm/{time-fa1151aa.js → time-73378c4a.js} +1 -1
- package/dist/esm/{tr-6d3b100b.js → tr-61e134eb.js} +8 -8
- package/dist/esm/{uk-a6edcacf.js → uk-ea3d8da7.js} +8 -8
- package/dist/esm/{utils-667cc396.js → utils-593fafd7.js} +1 -1
- package/dist/esm/{utils-24a35b5a.js → utils-bd52db7d.js} +2 -2
- package/dist/esm/{vi-bf4c179c.js → vi-ade1c25b.js} +8 -8
- package/dist/esm/{zh-cn-de1858cb.js → zh-cn-b8756118.js} +8 -8
- package/dist/esm/{zh-hk-12fa404f.js → zh-hk-d18c05d9.js} +8 -8
- package/dist/esm/{zh-tw-5c4220e5.js → zh-tw-9c98ff7c.js} +8 -8
- package/dist/solutions-components/{p-3b891cc4.entry.js → p-01fea8d5.entry.js} +1 -1
- package/dist/solutions-components/{p-65022e7f.entry.js → p-02ff64f4.entry.js} +1 -1
- package/dist/solutions-components/p-062254a6.entry.js +6 -0
- package/dist/solutions-components/{p-bff158ff.js → p-062d2f9a.js} +1 -1
- package/dist/solutions-components/{p-f4e5b7e5.entry.js → p-084bced1.entry.js} +1 -1
- package/dist/solutions-components/{p-c261335b.entry.js → p-088e4cfc.entry.js} +1 -1
- package/dist/solutions-components/p-08b52ed8.entry.js +6 -0
- package/dist/solutions-components/{p-96239d0d.js → p-08e35485.js} +1 -1
- package/dist/solutions-components/{p-3d3772fb.js → p-0d14d33a.js} +1 -1
- package/dist/solutions-components/{p-7f271c31.js → p-11550b3c.js} +3 -3
- package/dist/solutions-components/{p-ad19f9b0.entry.js → p-120c4098.entry.js} +1 -1
- package/dist/solutions-components/{p-45419d93.entry.js → p-12bcd474.entry.js} +1 -1
- package/dist/solutions-components/{p-bd82849c.entry.js → p-1597ec4b.entry.js} +1 -1
- package/dist/solutions-components/p-16362eb4.js +36 -0
- package/dist/solutions-components/{p-afb35c95.js → p-17d176b5.js} +14 -43
- package/dist/solutions-components/{p-3691a072.js → p-1ab414e0.js} +2 -2
- package/dist/solutions-components/{p-127c3866.js → p-1c5787b1.js} +1 -1
- package/dist/solutions-components/{p-b97886b3.entry.js → p-1d9a5198.entry.js} +1 -1
- package/dist/solutions-components/{p-8e3e1ce8.entry.js → p-1dd5c4e6.entry.js} +1 -1
- package/dist/solutions-components/{p-97b69f54.entry.js → p-1e62d118.entry.js} +1 -1
- package/dist/solutions-components/{p-537c34a4.entry.js → p-1fae3819.entry.js} +1 -1
- package/dist/solutions-components/{p-82f0b25b.js → p-21aa112d.js} +1 -1
- package/dist/solutions-components/{p-f8944f59.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-dac10448.js → p-280fd963.js} +3 -3
- package/dist/solutions-components/{p-79d7f324.js → p-29049359.js} +1 -1
- package/dist/solutions-components/{p-c033b8ec.entry.js → p-2b378389.entry.js} +1 -1
- package/dist/solutions-components/{p-19ec0463.js → p-2bdd1a5d.js} +1 -1
- package/dist/solutions-components/{p-cacfa6ae.js → p-2ee21e9d.js} +1 -1
- package/dist/solutions-components/{p-300f4299.js → p-2f42ae51.js} +1 -1
- package/dist/solutions-components/{p-418be467.js → p-30b3261c.js} +1 -1
- package/dist/solutions-components/{p-4d91443a.entry.js → p-32ba2223.entry.js} +1 -1
- package/dist/solutions-components/{p-702c6093.js → p-34673137.js} +1 -1
- package/dist/solutions-components/{p-61af54b9.entry.js → p-3566ee69.entry.js} +1 -1
- package/dist/solutions-components/{p-90a9126f.js → p-358b9cc8.js} +1 -1
- package/dist/solutions-components/p-3a8d82a2.js +11 -0
- package/dist/solutions-components/{p-628c170b.entry.js → p-3ab94526.entry.js} +1 -1
- package/dist/solutions-components/{p-9791fbf1.entry.js → p-3d7aa1b2.entry.js} +1 -1
- package/dist/solutions-components/{p-b1daad7e.js → p-3f7119c1.js} +1 -1
- package/dist/solutions-components/{p-f0f5ecb2.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-337f6adf.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-85e0d2a3.js → p-4fc92419.js} +1 -1
- package/dist/solutions-components/{p-0d08a75d.entry.js → p-52afbe07.entry.js} +1 -1
- package/dist/solutions-components/{p-9391bb74.js → p-573d0763.js} +1 -1
- package/dist/solutions-components/p-57cf6784.entry.js +6 -0
- package/dist/solutions-components/{p-87971116.entry.js → p-59ef9461.entry.js} +1 -1
- package/dist/solutions-components/{p-25718b9f.entry.js → p-5e5749c0.entry.js} +1 -1
- package/dist/solutions-components/{p-54064b61.entry.js → p-5ff22d2e.entry.js} +1 -1
- package/dist/solutions-components/{p-4bd793ef.entry.js → p-617f32a0.entry.js} +1 -1
- package/dist/solutions-components/p-64b22d57.entry.js +6 -0
- package/dist/solutions-components/{p-747a1293.js → p-6510c06c.js} +1 -1
- package/dist/solutions-components/p-654dd5df.entry.js +6 -0
- package/dist/solutions-components/{p-1f69762c.js → p-65ba4d10.js} +1 -1
- package/dist/solutions-components/{p-4cb7cdb7.entry.js → p-65ffe4b0.entry.js} +1 -1
- package/dist/solutions-components/{p-1b4d6511.js → p-68007503.js} +1 -1
- package/dist/solutions-components/{p-e849d2ba.entry.js → p-6ba8483c.entry.js} +2 -2
- package/dist/solutions-components/{p-9961a2f9.entry.js → p-6c8c7b98.entry.js} +2 -2
- package/dist/solutions-components/{p-ff863f3d.entry.js → p-6e5d9ae9.entry.js} +1 -1
- package/dist/solutions-components/{p-b6a1c34f.entry.js → p-6ebf870c.entry.js} +1 -1
- package/dist/solutions-components/{p-d2d3e4b5.js → p-72f34a0a.js} +1 -1
- package/dist/solutions-components/{p-981fc8e4.entry.js → p-7359a6ac.entry.js} +1 -1
- package/dist/solutions-components/{p-9abb1c4c.entry.js → p-73fe6f7e.entry.js} +1 -1
- package/dist/solutions-components/{p-62e3adbb.js → p-7452d79a.js} +1 -1
- package/dist/solutions-components/{p-34169501.js → p-76c2c379.js} +1 -1
- package/dist/solutions-components/{p-941721ba.js → p-788aa5d7.js} +1 -1
- package/dist/solutions-components/{p-557d4cc5.js → p-79cc0531.js} +2 -2
- package/dist/solutions-components/{p-a19d8147.js → p-7a0fa011.js} +1 -1
- package/dist/solutions-components/{p-019fe9fe.entry.js → p-7a55cee6.entry.js} +3 -3
- package/dist/solutions-components/{p-48329056.entry.js → p-7bc63171.entry.js} +1 -1
- package/dist/solutions-components/{p-e7304151.entry.js → p-81664d83.entry.js} +1 -1
- package/dist/solutions-components/{p-9504c1b7.js → p-8354f486.js} +1 -1
- package/dist/solutions-components/{p-f812e3ee.entry.js → p-84dff306.entry.js} +1 -1
- package/dist/solutions-components/{p-a59dba2f.js → p-8594fe6b.js} +1 -1
- package/dist/solutions-components/{p-ae3ec77d.js → p-8b2d396e.js} +1 -1
- package/dist/solutions-components/{p-38cc8a4d.js → p-8ec6ea34.js} +1 -1
- package/dist/solutions-components/{p-da760d1d.entry.js → p-8ee00658.entry.js} +1 -1
- package/dist/solutions-components/{p-38211628.js → p-905fcf73.js} +1 -1
- package/dist/solutions-components/{p-e502ccce.entry.js → p-929909bc.entry.js} +1 -1
- package/dist/solutions-components/{p-dd5f68f2.js → p-948b5722.js} +1 -1
- package/dist/solutions-components/{p-39fe9a4c.js → p-956f3207.js} +1 -1
- package/dist/solutions-components/{p-f7aa542c.js → p-96287d23.js} +1 -1
- package/dist/solutions-components/{p-68630513.entry.js → p-964c0e7d.entry.js} +1 -1
- package/dist/solutions-components/{p-b09d8c0e.entry.js → p-98051370.entry.js} +1 -1
- package/dist/solutions-components/{p-efd70bf7.entry.js → p-9a94f48c.entry.js} +2 -2
- package/dist/solutions-components/{p-318790b8.js → p-9b94501c.js} +1 -1
- package/dist/solutions-components/{p-69e26726.js → p-9d4467a3.js} +1 -1
- package/dist/solutions-components/{p-f6cf9943.js → p-9e3c9cd2.js} +1 -1
- package/dist/solutions-components/{p-30542275.js → p-9fd59203.js} +1 -1
- package/dist/solutions-components/{p-d902b790.js → p-a201bffc.js} +1 -1
- package/dist/solutions-components/{p-89cbb86a.js → p-a26711e8.js} +3 -3
- package/dist/solutions-components/{p-1552c479.entry.js → p-a3729795.entry.js} +1 -1
- package/dist/solutions-components/{p-ae4ad673.entry.js → p-a47ed290.entry.js} +2 -2
- package/dist/solutions-components/{p-ca5be55f.entry.js → p-a5ef322f.entry.js} +2 -2
- package/dist/solutions-components/{p-3658ebd8.entry.js → p-a97e8d6a.entry.js} +1 -1
- package/dist/solutions-components/{p-2937523d.js → p-aaea9203.js} +1 -1
- package/dist/solutions-components/{p-b7093e6d.entry.js → p-ad1d56b1.entry.js} +1 -1
- package/dist/solutions-components/{p-0ca528ec.js → p-adeb0e8f.js} +1 -1
- package/dist/solutions-components/{p-31d2a105.entry.js → p-af63959a.entry.js} +1 -1
- package/dist/solutions-components/{p-fbd71543.entry.js → p-b1125581.entry.js} +2 -2
- package/dist/solutions-components/p-b1c8c6d7.entry.js +6 -0
- package/dist/solutions-components/{p-b029c6d8.js → p-b20a31c8.js} +1 -1
- package/dist/solutions-components/{p-71400268.js → p-b81131b3.js} +1 -1
- package/dist/solutions-components/{p-cc624b0c.entry.js → p-b89c5865.entry.js} +1 -1
- package/dist/solutions-components/{p-245d667e.js → p-b9b52743.js} +1 -1
- package/dist/solutions-components/p-b9d29f30.entry.js +6 -0
- package/dist/solutions-components/{p-0870f436.entry.js → p-ba99e562.entry.js} +1 -1
- package/dist/solutions-components/{p-2d614afc.js → p-bc548c06.js} +1 -1
- package/dist/solutions-components/{p-29b2f046.js → p-bccbdeb5.js} +1 -1
- package/dist/solutions-components/{p-f72e0965.entry.js → p-bd318e33.entry.js} +1 -1
- package/dist/solutions-components/{p-74aa84f6.js → p-bd766e49.js} +1 -1
- package/dist/solutions-components/{p-9b75102b.entry.js → p-c073d2d6.entry.js} +1 -1
- package/dist/solutions-components/p-c6b7e7ff.js +11 -0
- package/dist/solutions-components/{p-0503c78d.js → p-c8d0ce92.js} +44 -29
- package/dist/solutions-components/{p-dc80cb69.entry.js → p-ca0b3a2b.entry.js} +1 -1
- package/dist/solutions-components/{p-e9fcf408.js → p-d5228aed.js} +1 -1
- package/dist/solutions-components/{p-80b87453.js → p-d98caa4c.js} +1 -1
- package/dist/solutions-components/{p-45b829b5.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-ac1bd870.entry.js → p-e572a692.entry.js} +1 -1
- package/dist/solutions-components/{p-74521615.entry.js → p-e5dda947.entry.js} +1 -1
- package/dist/solutions-components/{p-d793ec96.entry.js → p-e76949eb.entry.js} +5 -5
- package/dist/solutions-components/{p-bbfc2724.js → p-e7fbf2fe.js} +1 -1
- package/dist/solutions-components/{p-dda325a4.entry.js → p-e9ba0c7f.entry.js} +1 -1
- package/dist/solutions-components/{p-75e707d1.js → p-eb60ec2a.js} +1 -1
- package/dist/solutions-components/p-ecc95259.js +20 -0
- package/dist/solutions-components/{p-85791b16.entry.js → p-ee144348.entry.js} +1 -1
- package/dist/solutions-components/p-ee7e2f00.entry.js +34 -0
- package/dist/solutions-components/{p-4b4559f9.js → p-f03bed0c.js} +1 -1
- package/dist/solutions-components/{p-7a11983d.js → p-f5028a8e.js} +1 -1
- package/dist/solutions-components/{p-fb23ba4a.entry.js → p-f50cf603.entry.js} +1 -1
- package/dist/solutions-components/{p-f7b520ae.js → p-f7d8b6b3.js} +1 -1
- package/dist/solutions-components/{p-792fcd62.entry.js → p-fb0f2016.entry.js} +1 -1
- 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 +12 -1
- package/dist/solutions-components/utils/mapViewUtils.ts +41 -57
- package/dist/solutions-components/utils/publicNotificationStore.ts +0 -4
- package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +2 -0
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +5 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +45 -1
- package/dist/types/components/edit-card/edit-card.d.ts +8 -0
- package/dist/types/components/layer-table/layer-table.d.ts +82 -26
- package/dist/types/components/map-card/map-card.d.ts +25 -1
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +50 -3
- package/dist/types/components/map-picker/map-picker.d.ts +2 -2
- package/dist/types/components/map-tools/map-tools.d.ts +21 -1
- package/dist/types/components/pdf-download/pdf-download.d.ts +4 -2
- package/dist/types/components.d.ts +218 -4
- package/dist/types/preact.d.ts +6 -3
- package/dist/types/utils/downloadUtils.d.ts +34 -16
- package/dist/types/utils/interfaces.d.ts +10 -1
- package/dist/types/utils/mapViewUtils.d.ts +8 -24
- package/dist/types/utils/publicNotificationStore.d.ts +0 -2
- package/package.json +8 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +0 -259
- package/dist/cjs/calcite-notice.cjs.entry.js +0 -139
- package/dist/cjs/calcite-tooltip.cjs.entry.js +0 -439
- package/dist/esm/calcite-chip.entry.js +0 -255
- package/dist/esm/calcite-notice.entry.js +0 -135
- package/dist/esm/calcite-tooltip.entry.js +0 -435
- package/dist/solutions-components/p-06712292.js +0 -11
- package/dist/solutions-components/p-0a0c3764.js +0 -11
- package/dist/solutions-components/p-12a7c2db.entry.js +0 -6
- package/dist/solutions-components/p-1a47516a.entry.js +0 -22
- package/dist/solutions-components/p-2cff8331.entry.js +0 -6
- package/dist/solutions-components/p-3a7cd2b0.entry.js +0 -37
- package/dist/solutions-components/p-3e9fc0aa.entry.js +0 -11
- package/dist/solutions-components/p-712ea336.entry.js +0 -11
- package/dist/solutions-components/p-767002cd.js +0 -36
- package/dist/solutions-components/p-8e9d9e6a.js +0 -12
- package/dist/solutions-components/p-97088307.entry.js +0 -6
- package/dist/solutions-components/p-a16e6f5f.entry.js +0 -6
- package/dist/solutions-components/p-d118a76e.entry.js +0 -6
- package/dist/solutions-components/p-d54c2dfd.entry.js +0 -6
- package/dist/solutions-components/p-d7d466e8.entry.js +0 -6
- package/dist/solutions-components/p-ffbe89cf.entry.js +0 -6
@@ -44,22 +44,24 @@ export declare class PdfDownload {
|
|
44
44
|
/**
|
45
45
|
* Downloads csv of mailing labels for the provided list of ids
|
46
46
|
*
|
47
|
+
* @param webmap Webmap containing layer
|
47
48
|
* @param exportInfos Information about items to be exported
|
48
49
|
* @param removeDuplicates When true a single label is generated when multiple featues have a shared address value
|
49
50
|
* @param addColumnTitle Indicates if column headings should be included in output
|
50
51
|
* @returns Promise resolving when function is done
|
51
52
|
*/
|
52
|
-
downloadCSV(exportInfos: IExportInfos, removeDuplicates: boolean, addColumnTitle?: boolean): Promise<void>;
|
53
|
+
downloadCSV(webmap: __esri.Map, exportInfos: IExportInfos, removeDuplicates: boolean, addColumnTitle?: boolean): Promise<void>;
|
53
54
|
/**
|
54
55
|
* Downloads pdf of mailing labels for the provided list of ids
|
55
56
|
*
|
57
|
+
* @param webmap Webmap containing layer
|
56
58
|
* @param exportInfos Information about items to be exported
|
57
59
|
* @param removeDuplicates When true a single label is generated when multiple featues have a shared address value
|
58
60
|
* @param title Title for each page
|
59
61
|
* @param initialImageDataUrl Data URL of image for first page
|
60
62
|
* @returns Promise resolving when function is done
|
61
63
|
*/
|
62
|
-
downloadPDF(exportInfos: IExportInfos, removeDuplicates?: boolean, title?: string, initialImageDataUrl?: string): Promise<void>;
|
64
|
+
downloadPDF(webmap: __esri.Map, exportInfos: IExportInfos, removeDuplicates?: boolean, title?: string, initialImageDataUrl?: string): Promise<void>;
|
63
65
|
/**
|
64
66
|
* StencilJS: Called once just after the component is first connected to the DOM.
|
65
67
|
*/
|
@@ -5,12 +5,16 @@
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
6
6
|
*/
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
|
-
import { DistanceUnit, EDrawMode, ELayoutMode, IExportInfos, IInventoryItem, IMapChange, IMapInfo, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISpatialRefRepresentation, IValueChange } from "./utils/interfaces";
|
8
|
+
import { DistanceUnit, EDrawMode, ELayoutMode, IBasemapConfig, IExportInfos, IInventoryItem, IMapChange, IMapInfo, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISpatialRefRepresentation, IValueChange } from "./utils/interfaces";
|
9
9
|
import { UserSession } from "@esri/solution-common";
|
10
|
-
export { DistanceUnit, EDrawMode, ELayoutMode, IExportInfos, IInventoryItem, IMapChange, IMapInfo, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISpatialRefRepresentation, IValueChange } from "./utils/interfaces";
|
10
|
+
export { DistanceUnit, EDrawMode, ELayoutMode, IBasemapConfig, IExportInfos, IInventoryItem, IMapChange, IMapInfo, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISpatialRefRepresentation, IValueChange } from "./utils/interfaces";
|
11
11
|
export { UserSession } from "@esri/solution-common";
|
12
12
|
export namespace Components {
|
13
13
|
interface BasemapGallery {
|
14
|
+
/**
|
15
|
+
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
16
|
+
*/
|
17
|
+
"basemapConfig": IBasemapConfig;
|
14
18
|
/**
|
15
19
|
* esri/widgets/BasemapGallery: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapGallery.html BasemapGallery instance
|
16
20
|
*/
|
@@ -70,10 +74,46 @@ export namespace Components {
|
|
70
74
|
"zoomAndScrollToSelected": boolean;
|
71
75
|
}
|
72
76
|
interface CrowdsourceManager {
|
77
|
+
/**
|
78
|
+
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
79
|
+
*/
|
80
|
+
"basemapConfig": IBasemapConfig;
|
73
81
|
/**
|
74
82
|
* boolean: when true the grid will display like the previous manager app with the table across the top
|
75
83
|
*/
|
76
84
|
"classicGrid": boolean;
|
85
|
+
/**
|
86
|
+
* boolean: when true the layer table will auto refresh the data
|
87
|
+
*/
|
88
|
+
"enableAutoRefresh": boolean;
|
89
|
+
/**
|
90
|
+
* boolean: when true the basemap widget will be available
|
91
|
+
*/
|
92
|
+
"enableBasemap": boolean;
|
93
|
+
/**
|
94
|
+
* boolean: when true the fullscreen widget will be available
|
95
|
+
*/
|
96
|
+
"enableFullscreen": boolean;
|
97
|
+
/**
|
98
|
+
* boolean: when true the home widget will be available
|
99
|
+
*/
|
100
|
+
"enableHome": boolean;
|
101
|
+
/**
|
102
|
+
* boolean: when true edits can be applied directly within the table
|
103
|
+
*/
|
104
|
+
"enableInlineEdit": boolean;
|
105
|
+
/**
|
106
|
+
* boolean: when true the legend widget will be available
|
107
|
+
*/
|
108
|
+
"enableLegend": boolean;
|
109
|
+
/**
|
110
|
+
* boolean: when true the search widget will be available
|
111
|
+
*/
|
112
|
+
"enableSearch": boolean;
|
113
|
+
/**
|
114
|
+
* boolean: when true the zoom widget will be available
|
115
|
+
*/
|
116
|
+
"enableZoom": boolean;
|
77
117
|
/**
|
78
118
|
* boolean: when true no map is displayed for the app
|
79
119
|
*/
|
@@ -82,6 +122,10 @@ export namespace Components {
|
|
82
122
|
* IMapInfo[]: array of map infos (name and id)
|
83
123
|
*/
|
84
124
|
"mapInfos": IMapInfo[];
|
125
|
+
/**
|
126
|
+
* boolean: When true only editable layers that support the update capability will be available
|
127
|
+
*/
|
128
|
+
"onlyShowUpdatableLayers": boolean;
|
85
129
|
/**
|
86
130
|
* ISearchConfiguration: Configuration details for the Search widget
|
87
131
|
*/
|
@@ -179,6 +223,14 @@ export namespace Components {
|
|
179
223
|
"value": any;
|
180
224
|
}
|
181
225
|
interface LayerTable {
|
226
|
+
/**
|
227
|
+
* boolean: when true the layer table will auto refresh the data
|
228
|
+
*/
|
229
|
+
"enableAutoRefresh": boolean;
|
230
|
+
/**
|
231
|
+
* boolean: when true edits can be applied directly within the table
|
232
|
+
*/
|
233
|
+
"enableInlineEdit": boolean;
|
182
234
|
/**
|
183
235
|
* Get the selected graphics
|
184
236
|
* @returns Promise that resolves when the operation is complete
|
@@ -192,6 +244,10 @@ export namespace Components {
|
|
192
244
|
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
193
245
|
*/
|
194
246
|
"mapView": __esri.MapView;
|
247
|
+
/**
|
248
|
+
* boolean: When true only editable layers that support the update capability will be available
|
249
|
+
*/
|
250
|
+
"onlyShowUpdatableLayers": boolean;
|
195
251
|
/**
|
196
252
|
* boolean: when true the table will be sorted by objectid in descending order by default
|
197
253
|
*/
|
@@ -206,6 +262,26 @@ export namespace Components {
|
|
206
262
|
interface ListItem {
|
207
263
|
}
|
208
264
|
interface MapCard {
|
265
|
+
/**
|
266
|
+
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
267
|
+
*/
|
268
|
+
"basemapConfig": IBasemapConfig;
|
269
|
+
/**
|
270
|
+
* boolean: when true the basemap widget will be available
|
271
|
+
*/
|
272
|
+
"enableBasemap": boolean;
|
273
|
+
/**
|
274
|
+
* boolean: when true the fullscreen widget will be available
|
275
|
+
*/
|
276
|
+
"enableFullscreen": boolean;
|
277
|
+
/**
|
278
|
+
* boolean: when true the legend widget will be available
|
279
|
+
*/
|
280
|
+
"enableLegend": boolean;
|
281
|
+
/**
|
282
|
+
* boolean: when true the search widget will be available
|
283
|
+
*/
|
284
|
+
"enableSearch": boolean;
|
209
285
|
/**
|
210
286
|
* IMapInfo[]: array of map infos (name and id)
|
211
287
|
*/
|
@@ -294,6 +370,10 @@ export namespace Components {
|
|
294
370
|
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
295
371
|
*/
|
296
372
|
"mapView": __esri.MapView;
|
373
|
+
/**
|
374
|
+
* boolean: When true only editable layers that support the update capability will be available
|
375
|
+
*/
|
376
|
+
"onlyShowUpdatableLayers": boolean;
|
297
377
|
/**
|
298
378
|
* string: optional placeholder icon used with "combobox" type
|
299
379
|
*/
|
@@ -442,6 +522,26 @@ export namespace Components {
|
|
442
522
|
"sketchPolygonSymbol": __esri.SimpleFillSymbol;
|
443
523
|
}
|
444
524
|
interface MapTools {
|
525
|
+
/**
|
526
|
+
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
527
|
+
*/
|
528
|
+
"basemapConfig": IBasemapConfig;
|
529
|
+
/**
|
530
|
+
* boolean: when true the basemap widget will be available
|
531
|
+
*/
|
532
|
+
"enableBasemap": boolean;
|
533
|
+
/**
|
534
|
+
* boolean: when true the fullscreen widget will be available
|
535
|
+
*/
|
536
|
+
"enableFullscreen": boolean;
|
537
|
+
/**
|
538
|
+
* boolean: when true the legend widget will be available
|
539
|
+
*/
|
540
|
+
"enableLegend": boolean;
|
541
|
+
/**
|
542
|
+
* boolean: when true the search widget will be available
|
543
|
+
*/
|
544
|
+
"enableSearch": boolean;
|
445
545
|
/**
|
446
546
|
* "horizontal" | "vertical": used to control the orientation of the tools
|
447
547
|
*/
|
@@ -468,21 +568,23 @@ export namespace Components {
|
|
468
568
|
"disabled": boolean;
|
469
569
|
/**
|
470
570
|
* Downloads csv of mailing labels for the provided list of ids
|
571
|
+
* @param webmap Webmap containing layer
|
471
572
|
* @param exportInfos Information about items to be exported
|
472
573
|
* @param removeDuplicates When true a single label is generated when multiple featues have a shared address value
|
473
574
|
* @param addColumnTitle Indicates if column headings should be included in output
|
474
575
|
* @returns Promise resolving when function is done
|
475
576
|
*/
|
476
|
-
"downloadCSV": (exportInfos: IExportInfos, removeDuplicates: boolean, addColumnTitle?: boolean) => Promise<void>;
|
577
|
+
"downloadCSV": (webmap: __esri.Map, exportInfos: IExportInfos, removeDuplicates: boolean, addColumnTitle?: boolean) => Promise<void>;
|
477
578
|
/**
|
478
579
|
* Downloads pdf of mailing labels for the provided list of ids
|
580
|
+
* @param webmap Webmap containing layer
|
479
581
|
* @param exportInfos Information about items to be exported
|
480
582
|
* @param removeDuplicates When true a single label is generated when multiple featues have a shared address value
|
481
583
|
* @param title Title for each page
|
482
584
|
* @param initialImageDataUrl Data URL of image for first page
|
483
585
|
* @returns Promise resolving when function is done
|
484
586
|
*/
|
485
|
-
"downloadPDF": (exportInfos: IExportInfos, removeDuplicates?: boolean, title?: string, initialImageDataUrl?: string) => Promise<void>;
|
587
|
+
"downloadPDF": (webmap: __esri.Map, exportInfos: IExportInfos, removeDuplicates?: boolean, title?: string, initialImageDataUrl?: string) => Promise<void>;
|
486
588
|
}
|
487
589
|
interface PublicNotification {
|
488
590
|
/**
|
@@ -1092,6 +1194,10 @@ declare global {
|
|
1092
1194
|
}
|
1093
1195
|
declare namespace LocalJSX {
|
1094
1196
|
interface BasemapGallery {
|
1197
|
+
/**
|
1198
|
+
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
1199
|
+
*/
|
1200
|
+
"basemapConfig"?: IBasemapConfig;
|
1095
1201
|
/**
|
1096
1202
|
* esri/widgets/BasemapGallery: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapGallery.html BasemapGallery instance
|
1097
1203
|
*/
|
@@ -1163,10 +1269,46 @@ declare namespace LocalJSX {
|
|
1163
1269
|
"zoomAndScrollToSelected"?: boolean;
|
1164
1270
|
}
|
1165
1271
|
interface CrowdsourceManager {
|
1272
|
+
/**
|
1273
|
+
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
1274
|
+
*/
|
1275
|
+
"basemapConfig"?: IBasemapConfig;
|
1166
1276
|
/**
|
1167
1277
|
* boolean: when true the grid will display like the previous manager app with the table across the top
|
1168
1278
|
*/
|
1169
1279
|
"classicGrid"?: boolean;
|
1280
|
+
/**
|
1281
|
+
* boolean: when true the layer table will auto refresh the data
|
1282
|
+
*/
|
1283
|
+
"enableAutoRefresh"?: boolean;
|
1284
|
+
/**
|
1285
|
+
* boolean: when true the basemap widget will be available
|
1286
|
+
*/
|
1287
|
+
"enableBasemap"?: boolean;
|
1288
|
+
/**
|
1289
|
+
* boolean: when true the fullscreen widget will be available
|
1290
|
+
*/
|
1291
|
+
"enableFullscreen"?: boolean;
|
1292
|
+
/**
|
1293
|
+
* boolean: when true the home widget will be available
|
1294
|
+
*/
|
1295
|
+
"enableHome"?: boolean;
|
1296
|
+
/**
|
1297
|
+
* boolean: when true edits can be applied directly within the table
|
1298
|
+
*/
|
1299
|
+
"enableInlineEdit"?: boolean;
|
1300
|
+
/**
|
1301
|
+
* boolean: when true the legend widget will be available
|
1302
|
+
*/
|
1303
|
+
"enableLegend"?: boolean;
|
1304
|
+
/**
|
1305
|
+
* boolean: when true the search widget will be available
|
1306
|
+
*/
|
1307
|
+
"enableSearch"?: boolean;
|
1308
|
+
/**
|
1309
|
+
* boolean: when true the zoom widget will be available
|
1310
|
+
*/
|
1311
|
+
"enableZoom"?: boolean;
|
1170
1312
|
/**
|
1171
1313
|
* boolean: when true no map is displayed for the app
|
1172
1314
|
*/
|
@@ -1175,6 +1317,10 @@ declare namespace LocalJSX {
|
|
1175
1317
|
* IMapInfo[]: array of map infos (name and id)
|
1176
1318
|
*/
|
1177
1319
|
"mapInfos"?: IMapInfo[];
|
1320
|
+
/**
|
1321
|
+
* boolean: When true only editable layers that support the update capability will be available
|
1322
|
+
*/
|
1323
|
+
"onlyShowUpdatableLayers"?: boolean;
|
1178
1324
|
/**
|
1179
1325
|
* ISearchConfiguration: Configuration details for the Search widget
|
1180
1326
|
*/
|
@@ -1213,6 +1359,10 @@ declare namespace LocalJSX {
|
|
1213
1359
|
* Emitted on demand when the Editor widget should be closed
|
1214
1360
|
*/
|
1215
1361
|
"onCloseEdit"?: (event: EditCardCustomEvent<void>) => void;
|
1362
|
+
/**
|
1363
|
+
* Emitted on demand when edits are completed on current edit layer
|
1364
|
+
*/
|
1365
|
+
"onEditsComplete"?: (event: EditCardCustomEvent<void>) => void;
|
1216
1366
|
/**
|
1217
1367
|
* When true the component is displayed
|
1218
1368
|
*/
|
@@ -1259,6 +1409,14 @@ declare namespace LocalJSX {
|
|
1259
1409
|
"value"?: any;
|
1260
1410
|
}
|
1261
1411
|
interface LayerTable {
|
1412
|
+
/**
|
1413
|
+
* boolean: when true the layer table will auto refresh the data
|
1414
|
+
*/
|
1415
|
+
"enableAutoRefresh"?: boolean;
|
1416
|
+
/**
|
1417
|
+
* boolean: when true edits can be applied directly within the table
|
1418
|
+
*/
|
1419
|
+
"enableInlineEdit"?: boolean;
|
1262
1420
|
/**
|
1263
1421
|
* IMapInfo: key configuration details about the current map
|
1264
1422
|
*/
|
@@ -1271,6 +1429,10 @@ declare namespace LocalJSX {
|
|
1271
1429
|
* Emitted on demand when a layer is selected
|
1272
1430
|
*/
|
1273
1431
|
"onFeatureSelectionChange"?: (event: LayerTableCustomEvent<number[]>) => void;
|
1432
|
+
/**
|
1433
|
+
* boolean: When true only editable layers that support the update capability will be available
|
1434
|
+
*/
|
1435
|
+
"onlyShowUpdatableLayers"?: boolean;
|
1274
1436
|
/**
|
1275
1437
|
* boolean: when true the table will be sorted by objectid in descending order by default
|
1276
1438
|
*/
|
@@ -1289,6 +1451,26 @@ declare namespace LocalJSX {
|
|
1289
1451
|
interface ListItem {
|
1290
1452
|
}
|
1291
1453
|
interface MapCard {
|
1454
|
+
/**
|
1455
|
+
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
1456
|
+
*/
|
1457
|
+
"basemapConfig"?: IBasemapConfig;
|
1458
|
+
/**
|
1459
|
+
* boolean: when true the basemap widget will be available
|
1460
|
+
*/
|
1461
|
+
"enableBasemap"?: boolean;
|
1462
|
+
/**
|
1463
|
+
* boolean: when true the fullscreen widget will be available
|
1464
|
+
*/
|
1465
|
+
"enableFullscreen"?: boolean;
|
1466
|
+
/**
|
1467
|
+
* boolean: when true the legend widget will be available
|
1468
|
+
*/
|
1469
|
+
"enableLegend"?: boolean;
|
1470
|
+
/**
|
1471
|
+
* boolean: when true the search widget will be available
|
1472
|
+
*/
|
1473
|
+
"enableSearch"?: boolean;
|
1292
1474
|
/**
|
1293
1475
|
* IMapInfo[]: array of map infos (name and id)
|
1294
1476
|
*/
|
@@ -1297,6 +1479,10 @@ declare namespace LocalJSX {
|
|
1297
1479
|
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
1298
1480
|
*/
|
1299
1481
|
"mapView"?: __esri.MapView;
|
1482
|
+
/**
|
1483
|
+
* Emitted before a new map is loaded
|
1484
|
+
*/
|
1485
|
+
"onBeforeMapChanged"?: (event: MapCardCustomEvent<void>) => void;
|
1300
1486
|
/**
|
1301
1487
|
* Emitted when a new map is loaded
|
1302
1488
|
*/
|
@@ -1391,6 +1577,14 @@ declare namespace LocalJSX {
|
|
1391
1577
|
* Emitted on demand when a layer is selected
|
1392
1578
|
*/
|
1393
1579
|
"onLayerSelectionChange"?: (event: MapLayerPickerCustomEvent<string[]>) => void;
|
1580
|
+
/**
|
1581
|
+
* Emitted on demand when no valid layers are found
|
1582
|
+
*/
|
1583
|
+
"onNoLayersFound"?: (event: MapLayerPickerCustomEvent<void>) => void;
|
1584
|
+
/**
|
1585
|
+
* boolean: When true only editable layers that support the update capability will be available
|
1586
|
+
*/
|
1587
|
+
"onlyShowUpdatableLayers"?: boolean;
|
1394
1588
|
/**
|
1395
1589
|
* string: optional placeholder icon used with "combobox" type
|
1396
1590
|
*/
|
@@ -1537,6 +1731,26 @@ declare namespace LocalJSX {
|
|
1537
1731
|
"sketchPolygonSymbol"?: __esri.SimpleFillSymbol;
|
1538
1732
|
}
|
1539
1733
|
interface MapTools {
|
1734
|
+
/**
|
1735
|
+
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
1736
|
+
*/
|
1737
|
+
"basemapConfig"?: IBasemapConfig;
|
1738
|
+
/**
|
1739
|
+
* boolean: when true the basemap widget will be available
|
1740
|
+
*/
|
1741
|
+
"enableBasemap"?: boolean;
|
1742
|
+
/**
|
1743
|
+
* boolean: when true the fullscreen widget will be available
|
1744
|
+
*/
|
1745
|
+
"enableFullscreen"?: boolean;
|
1746
|
+
/**
|
1747
|
+
* boolean: when true the legend widget will be available
|
1748
|
+
*/
|
1749
|
+
"enableLegend"?: boolean;
|
1750
|
+
/**
|
1751
|
+
* boolean: when true the search widget will be available
|
1752
|
+
*/
|
1753
|
+
"enableSearch"?: boolean;
|
1540
1754
|
/**
|
1541
1755
|
* "horizontal" | "vertical": used to control the orientation of the tools
|
1542
1756
|
*/
|
package/dist/types/preact.d.ts
CHANGED
@@ -471,8 +471,9 @@ declare module "preact/src/jsx" {
|
|
471
471
|
"ondeductValueComplete"?: (event: CustomEvent<any>) => void;
|
472
472
|
}
|
473
473
|
|
474
|
-
"edit-card": Omit<JSX.SolutionsEditCard, "onCloseEdit"> & JSXInternal.HTMLAttributes<HTMLSolutionsEditCardElement> & {
|
474
|
+
"edit-card": Omit<JSX.SolutionsEditCard, "onCloseEdit" | "onEditsComplete"> & JSXInternal.HTMLAttributes<HTMLSolutionsEditCardElement> & {
|
475
475
|
"oncloseEdit"?: (event: CustomEvent<any>) => void;
|
476
|
+
"oneditsComplete"?: (event: CustomEvent<any>) => void;
|
476
477
|
}
|
477
478
|
|
478
479
|
"info-card": Omit<JSX.SolutionsInfoCard, "onSelectionChanged"> & JSXInternal.HTMLAttributes<HTMLSolutionsInfoCardElement> & {
|
@@ -491,8 +492,9 @@ declare module "preact/src/jsx" {
|
|
491
492
|
|
492
493
|
"list-item": JSX.SolutionsListItem & JSXInternal.HTMLAttributes<HTMLSolutionsListItemElement>
|
493
494
|
|
494
|
-
"map-card": Omit<JSX.SolutionsMapCard, "onMapChanged"> & JSXInternal.HTMLAttributes<HTMLSolutionsMapCardElement> & {
|
495
|
+
"map-card": Omit<JSX.SolutionsMapCard, "onMapChanged" | "onBeforeMapChanged"> & JSXInternal.HTMLAttributes<HTMLSolutionsMapCardElement> & {
|
495
496
|
"onmapChanged"?: (event: CustomEvent<any>) => void;
|
497
|
+
"onbeforeMapChanged"?: (event: CustomEvent<any>) => void;
|
496
498
|
}
|
497
499
|
|
498
500
|
"map-draw-tools": Omit<JSX.SolutionsMapDrawTools, "onSelectionLoadingChange" | "onSketchGraphicsChange" | "onDrawUndo" | "onDrawRedo"> & JSXInternal.HTMLAttributes<HTMLSolutionsMapDrawToolsElement> & {
|
@@ -504,7 +506,8 @@ declare module "preact/src/jsx" {
|
|
504
506
|
|
505
507
|
"map-fullscreen": JSX.SolutionsMapFullscreen & JSXInternal.HTMLAttributes<HTMLSolutionsMapFullscreenElement>
|
506
508
|
|
507
|
-
"map-layer-picker": Omit<JSX.SolutionsMapLayerPicker, "onLayerSelectionChange"> & JSXInternal.HTMLAttributes<HTMLSolutionsMapLayerPickerElement> & {
|
509
|
+
"map-layer-picker": Omit<JSX.SolutionsMapLayerPicker, "onNoLayersFound" | "onLayerSelectionChange"> & JSXInternal.HTMLAttributes<HTMLSolutionsMapLayerPickerElement> & {
|
510
|
+
"onnoLayersFound"?: (event: CustomEvent<any>) => void;
|
508
511
|
"onlayerSelectionChange"?: (event: CustomEvent<any>) => void;
|
509
512
|
}
|
510
513
|
|
@@ -33,6 +33,12 @@ export interface ILabelFormat {
|
|
33
33
|
type: "pattern" | "executor" | "unsupported";
|
34
34
|
format: string | __esri.ArcadeExecutor | undefined;
|
35
35
|
}
|
36
|
+
export interface ILabelFormatProps {
|
37
|
+
layer: __esri.FeatureLayer;
|
38
|
+
attributeFormats: IAttributeFormats;
|
39
|
+
relationshipId: number | undefined;
|
40
|
+
labelFormat: ILabelFormat;
|
41
|
+
}
|
36
42
|
export interface ILayerRelationshipQuery {
|
37
43
|
layer: __esri.FeatureLayer;
|
38
44
|
relatedQuery: IRelatedFeaturesQuery;
|
@@ -46,19 +52,30 @@ interface IRelatedFeaturesQuery {
|
|
46
52
|
returnGeometry: boolean;
|
47
53
|
objectIds?: number;
|
48
54
|
}
|
55
|
+
import { IQueryRelatedResponse } from "@esri/arcgis-rest-feature-layer";
|
56
|
+
/**
|
57
|
+
* Get the related records for a feature service.
|
58
|
+
*
|
59
|
+
* @param url Feature service's URL, e.g., layer.url
|
60
|
+
* @param relationshipId Id of relationship
|
61
|
+
* @param objectIds Objects in the feature service whose related records are sought
|
62
|
+
*/
|
63
|
+
export declare function getFeatureServiceRelatedRecords(url: string, relationshipId?: number, objectIds?: number[]): Promise<IQueryRelatedResponse>;
|
49
64
|
/**
|
50
65
|
* Create and consolidate labels from all layers
|
51
66
|
*
|
67
|
+
* @param webmap Webmap containing layer
|
52
68
|
* @param exportInfos Key details about what to export (ids, layer, and selectionSetNames)
|
53
69
|
* @param formatUsingLayerPopup When true, the layer's popup is used to choose attributes for each column; when false,
|
54
70
|
* all attributes are exported
|
55
71
|
* @param includeHeaderNames Add the label format at the front of the list of generated labels
|
56
72
|
* @returns selectionSetNames that will be used for export filenames
|
57
73
|
*/
|
58
|
-
export declare function consolidateLabels(exportInfos: IExportInfos, formatUsingLayerPopup?: boolean, includeHeaderNames?: boolean, isCSVExport?: boolean): Promise<string[][]>;
|
74
|
+
export declare function consolidateLabels(webmap: __esri.Map, exportInfos: IExportInfos, formatUsingLayerPopup?: boolean, includeHeaderNames?: boolean, isCSVExport?: boolean): Promise<string[][]>;
|
59
75
|
/**
|
60
76
|
* Downloads csv of mailing labels for the provided list of ids
|
61
77
|
*
|
78
|
+
* @param webmap Webmap containing layer
|
62
79
|
* @param exportInfos Key details about what to export (ids, layer, and selectionSetNames)
|
63
80
|
* @param formatUsingLayerPopup When true, the layer's popup is used to choose attributes for each column; when false,
|
64
81
|
* all attributes are exported
|
@@ -66,10 +83,11 @@ export declare function consolidateLabels(exportInfos: IExportInfos, formatUsing
|
|
66
83
|
* @param addColumnTitle Indicates if column headings should be included in output
|
67
84
|
* @returns Promise resolving when function is done
|
68
85
|
*/
|
69
|
-
export declare function downloadCSV(exportInfos: IExportInfos, formatUsingLayerPopup: boolean, removeDuplicates?: boolean, addColumnTitle?: boolean): Promise<void>;
|
86
|
+
export declare function downloadCSV(webmap: __esri.Map, exportInfos: IExportInfos, formatUsingLayerPopup: boolean, removeDuplicates?: boolean, addColumnTitle?: boolean): Promise<void>;
|
70
87
|
/**
|
71
88
|
* Downloads csv of mailing labels for the provided list of ids
|
72
89
|
*
|
90
|
+
* @param webmap Webmap containing layer
|
73
91
|
* @param exportInfos Key details about what to export (ids, layer, and selectionSetNames)
|
74
92
|
* @param labelPageDescription Provides PDF page layout info
|
75
93
|
* @param removeDuplicates When true a single label is generated when multiple featues have a shared address value
|
@@ -77,7 +95,7 @@ export declare function downloadCSV(exportInfos: IExportInfos, formatUsingLayerP
|
|
77
95
|
* @param initialImageDataUrl Data URL of image for first page
|
78
96
|
* @returns Promise resolving when function is done
|
79
97
|
*/
|
80
|
-
export declare function downloadPDF(exportInfos: IExportInfos, labelPageDescription: ILabel, removeDuplicates?: boolean, title?: string, initialImageDataUrl?: string): Promise<void>;
|
98
|
+
export declare function downloadPDF(webmap: __esri.Map, exportInfos: IExportInfos, labelPageDescription: ILabel, removeDuplicates?: boolean, title?: string, initialImageDataUrl?: string): Promise<void>;
|
81
99
|
/**
|
82
100
|
* Remove any duplicate labels
|
83
101
|
*
|
@@ -118,6 +136,14 @@ export declare function _convertPopupTextToLabelSpec(popupInfo: string): ILabelF
|
|
118
136
|
* @return Promise resolving to an "executor" label spec
|
119
137
|
*/
|
120
138
|
export declare function _convertPopupArcadeToLabelSpec(expressionInfo: __esri.ElementExpressionInfo): Promise<ILabelFormat>;
|
139
|
+
/**
|
140
|
+
* Extracts Arcade expressions from the lines of a label format and creates an Arcade executor for each
|
141
|
+
* referenced expression name.
|
142
|
+
*
|
143
|
+
* @param labelFormat Label to examine
|
144
|
+
* @param layer Layer from which to fetch features
|
145
|
+
* @return Promise resolving to a set of executors keyed using the expression name
|
146
|
+
*/
|
121
147
|
/**
|
122
148
|
* Creates a title from a list of selection set names.
|
123
149
|
*
|
@@ -126,14 +152,6 @@ export declare function _convertPopupArcadeToLabelSpec(expressionInfo: __esri.El
|
|
126
152
|
* selection set names supplied, "download" is returned
|
127
153
|
*/
|
128
154
|
export declare function _createFilename(selectionSetNames: string[]): string;
|
129
|
-
/**
|
130
|
-
* Creates relationship queries for each relationship flag in a popup.
|
131
|
-
* @param layer Layer whose popup is to be examined
|
132
|
-
* @return Hash of relationships by their id, or null if there are no relationship flags in the
|
133
|
-
* popup; each relationship has the properties layer and relatedQuery for the related layer
|
134
|
-
* and the query for that layer
|
135
|
-
*/
|
136
|
-
export declare function _createRelationshipQueries(layer: __esri.FeatureLayer): ILayerRelationshipQueryHash;
|
137
155
|
/**
|
138
156
|
* Extracts Arcade expression references from the lines of a label format.
|
139
157
|
*
|
@@ -158,15 +176,14 @@ export declare function _getFieldNamesFromFieldExpressions(fieldExpressions: str
|
|
158
176
|
/**
|
159
177
|
* Extracts the label format from the layer.
|
160
178
|
*
|
179
|
+
* @param webmap Webmap containing layer
|
161
180
|
* @param layer Layer with label format
|
162
181
|
* @param formatUsingLayerPopup When true, the layer's popup is used to choose attributes for each column; when false,
|
163
182
|
* all attributes are exported
|
164
|
-
* @param attributeFormats Empty object to hold the formats for each attribute in a feature; the object is filled
|
165
|
-
* with formats by this function
|
166
183
|
* @returns A Promise resolving to the format of a single label with fields coerced to lowercase, e.g.,
|
167
|
-
* for
|
184
|
+
* for ILabelFormatProps type "pattern": "{name}|{street}|{city}, {state} {zip}"
|
168
185
|
*/
|
169
|
-
export declare function _getLabelFormat(layer: __esri.FeatureLayer, formatUsingLayerPopup: boolean
|
186
|
+
export declare function _getLabelFormat(webmap: __esri.Map, layer: __esri.FeatureLayer, formatUsingLayerPopup: boolean): Promise<ILabelFormatProps>;
|
170
187
|
/**
|
171
188
|
* Extract selectionSetNames from the provided exportInfos
|
172
189
|
*
|
@@ -188,6 +205,7 @@ export declare function _prepareAttributeValue(attributeValue: any, attributeTyp
|
|
188
205
|
/**
|
189
206
|
* Creates labels from items.
|
190
207
|
*
|
208
|
+
* @param webmap Webmap containing layer
|
191
209
|
* @param layer Layer from which to fetch features
|
192
210
|
* @param ids List of ids to download
|
193
211
|
* @param formatUsingLayerPopup When true, the layer's popup is used to choose attributes for each column; when false,
|
@@ -195,7 +213,7 @@ export declare function _prepareAttributeValue(attributeValue: any, attributeTyp
|
|
195
213
|
* @param includeHeaderNames Add the label format at the front of the list of generated labels
|
196
214
|
* @returns Promise resolving when function is done
|
197
215
|
*/
|
198
|
-
export declare function _prepareLabels(layer: __esri.FeatureLayer, ids: number[], formatUsingLayerPopup?: boolean, includeHeaderNames?: boolean): Promise<string[][]>;
|
216
|
+
export declare function _prepareLabels(webmap: __esri.Map, layer: __esri.FeatureLayer, ids: number[], formatUsingLayerPopup?: boolean, includeHeaderNames?: boolean): Promise<string[][]>;
|
199
217
|
/**
|
200
218
|
* Creates labels from all attributes in items.
|
201
219
|
*
|
@@ -138,7 +138,11 @@ export interface IValueChange {
|
|
138
138
|
* Layer or table id and title key value pair
|
139
139
|
*/
|
140
140
|
export interface IMapItemHash {
|
141
|
-
[key: string]:
|
141
|
+
[key: string]: ILayerHashInfo;
|
142
|
+
}
|
143
|
+
export interface ILayerHashInfo {
|
144
|
+
name: string;
|
145
|
+
supportsUpdate: boolean;
|
142
146
|
}
|
143
147
|
/**
|
144
148
|
* Key details from the templates item
|
@@ -385,6 +389,8 @@ export interface IMapInfo {
|
|
385
389
|
searchConfiguration?: ISearchConfiguration;
|
386
390
|
filters?: any[];
|
387
391
|
layerInfos?: ILayerInfo[];
|
392
|
+
_hasValidLayers?: boolean;
|
393
|
+
visible: boolean;
|
388
394
|
}
|
389
395
|
export interface ILayerInfo {
|
390
396
|
id: string;
|
@@ -403,3 +409,6 @@ export interface IExportInfo {
|
|
403
409
|
layerView?: __esri.FeatureLayerView;
|
404
410
|
selectionSetNames: string[];
|
405
411
|
}
|
412
|
+
export interface IBasemapConfig {
|
413
|
+
basemapIdsToFilter: string[];
|
414
|
+
}
|
@@ -19,38 +19,22 @@ import { IMapItemHash, ISelectionSet } from "./interfaces";
|
|
19
19
|
* Gets the layer names from the current map
|
20
20
|
*
|
21
21
|
* @param mapView the map view to fetch the layer names from
|
22
|
+
* @param onlyShowUpdatableLayers when true only layers that support editing and updates will be returned
|
22
23
|
*
|
23
24
|
* @returns Promise resolving with an array of layer names
|
24
25
|
*
|
25
26
|
*/
|
26
|
-
export declare function getMapLayerHash(mapView: __esri.MapView): Promise<IMapItemHash>;
|
27
|
+
export declare function getMapLayerHash(mapView: __esri.MapView, onlyShowUpdatableLayers: boolean): Promise<IMapItemHash>;
|
27
28
|
/**
|
28
29
|
* Gets the table names from the current map
|
29
30
|
*
|
30
31
|
* @param mapView the map view to fetch the table names from
|
32
|
+
* @param onlyShowUpdatableLayers when true only layers that support editing and updates will be returned
|
31
33
|
*
|
32
34
|
* @returns Promise resolving with an array of table names
|
33
35
|
*
|
34
36
|
*/
|
35
|
-
export declare function getMapTableHash(mapView: __esri.MapView): Promise<IMapItemHash>;
|
36
|
-
/**
|
37
|
-
* Gets the layer names from the current map
|
38
|
-
*
|
39
|
-
* @param mapView the map view to fetch the layer names from
|
40
|
-
*
|
41
|
-
* @returns Promise resolving with an array of layer names
|
42
|
-
*
|
43
|
-
*/
|
44
|
-
export declare function getMapLayerIds(mapView: __esri.MapView): Promise<string[]>;
|
45
|
-
/**
|
46
|
-
* Gets the table names from the current map
|
47
|
-
*
|
48
|
-
* @param mapView the map view to fetch the table names from
|
49
|
-
*
|
50
|
-
* @returns Promise resolving with an array of table names
|
51
|
-
*
|
52
|
-
*/
|
53
|
-
export declare function getMapTableIds(mapView: __esri.MapView): Promise<string[]>;
|
37
|
+
export declare function getMapTableHash(mapView: __esri.MapView, onlyShowUpdatableTables: boolean): Promise<IMapItemHash>;
|
54
38
|
/**
|
55
39
|
* Get a layer view by id
|
56
40
|
*
|
@@ -62,15 +46,15 @@ export declare function getMapTableIds(mapView: __esri.MapView): Promise<string[
|
|
62
46
|
*/
|
63
47
|
export declare function getFeatureLayerView(mapView: __esri.MapView, id: string): Promise<__esri.FeatureLayerView>;
|
64
48
|
/**
|
65
|
-
* Get a layer by id
|
49
|
+
* Get a layer or table by id
|
66
50
|
*
|
67
51
|
* @param mapView the map view to fetch the layer from
|
68
|
-
* @param id the id
|
52
|
+
* @param id the id of the layer or table to fetch
|
69
53
|
*
|
70
|
-
* @returns Promise resolving with the fetched layer
|
54
|
+
* @returns Promise resolving with the fetched layer or table
|
71
55
|
*
|
72
56
|
*/
|
73
|
-
export declare function
|
57
|
+
export declare function getLayerOrTable(mapView: __esri.MapView, id: string): Promise<__esri.FeatureLayer>;
|
74
58
|
/**
|
75
59
|
* Highlight features by OID
|
76
60
|
*
|