@esri/solutions-components 0.6.42 → 0.6.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ExpandToggle-d2cec8de.js → ExpandToggle-965987de.js} +1 -1
- package/dist/cjs/{FloatingArrow-814ce566.js → FloatingArrow-5aba7af1.js} +1 -1
- package/dist/cjs/{Heading-2665acd8.js → Heading-b0970391.js} +1 -1
- package/dist/cjs/{ar-b68e4248.js → ar-e86d748c.js} +6 -6
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +3 -3
- package/dist/cjs/{bg-451cb8df.js → bg-6f72f34d.js} +6 -6
- package/dist/cjs/{bs-36760197.js → bs-290f2e0c.js} +6 -6
- package/dist/cjs/buffer-tools_4.cjs.entry.js +7 -7
- package/dist/cjs/{ca-0159f257.js → ca-d9261215.js} +6 -6
- 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-action-bar_3.cjs.entry.js +5 -5
- 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_3.cjs.entry.js +6 -6
- 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 +6 -6
- 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_3.cjs.entry.js +4 -4
- 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 +9 -9
- 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 +3 -3
- 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-ccb59f65.js → calcite-input-time-picker-b809da0b.js} +54 -54
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +6 -6
- 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-meter.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_2.cjs.entry.js +6 -6
- 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-sheet.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 +8 -8
- 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-table-cell_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-table-row.cjs.entry.js +1 -1
- package/dist/cjs/calcite-table.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/card-manager_3.cjs.entry.js +4 -4
- package/dist/cjs/{conditionalSlot-b6c29b8c.js → conditionalSlot-f577ba32.js} +1 -1
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/{cs-5f80bd6e.js → cs-b250298e.js} +6 -6
- package/dist/cjs/{da-aca16382.js → da-8715f736.js} +6 -6
- package/dist/cjs/{de-ea9b8674.js → de-9289461a.js} +6 -6
- package/dist/cjs/{de-at-0a13e71d.js → de-at-e7ef417f.js} +6 -6
- package/dist/cjs/{de-ch-43d6d352.js → de-ch-de539200.js} +6 -6
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{downloadUtils-9be94c17.js → downloadUtils-d017810f.js} +96 -28
- package/dist/cjs/{el-7ac6dd9a.js → el-7701d486.js} +6 -6
- package/dist/cjs/{en-au-5de83593.js → en-au-6e2f2f4b.js} +6 -6
- package/dist/cjs/{en-ca-a61f6ba9.js → en-ca-8bc8ae5b.js} +6 -6
- package/dist/cjs/{en-gb-1338ef98.js → en-gb-6e0fd6a4.js} +6 -6
- package/dist/cjs/{es-64cdf5af.js → es-dd9fcddf.js} +6 -6
- package/dist/cjs/{es-mx-25166a52.js → es-mx-32e3b2ce.js} +6 -6
- package/dist/cjs/{et-99cffe63.js → et-9c241f89.js} +6 -6
- package/dist/cjs/{fi-2ed1b695.js → fi-946c7e09.js} +6 -6
- package/dist/cjs/{form-88dd1a8a.js → form-da1bc377.js} +1 -1
- package/dist/cjs/{fr-1ad89d6e.js → fr-1a8ac01d.js} +6 -6
- package/dist/cjs/{fr-ch-e2b274f9.js → fr-ch-02594f06.js} +6 -6
- package/dist/cjs/{he-de9f7309.js → he-e3dd7687.js} +6 -6
- package/dist/cjs/{hi-972ca162.js → hi-66fc4798.js} +6 -6
- package/dist/cjs/{hr-9340950d.js → hr-2dbffa4f.js} +6 -6
- package/dist/cjs/{hu-3fa1a13d.js → hu-22732855.js} +6 -6
- package/dist/cjs/{id-1de2751e.js → id-40469057.js} +6 -6
- package/dist/cjs/{index-1ffa261f.js → index-2d5760f2.js} +77 -15
- package/dist/cjs/{index-2bdbac04.js → index-74222073.js} +1 -1
- package/dist/cjs/{index.es-f8a598dc.js → index.es-de35a9a4.js} +4 -4
- package/dist/cjs/{it-7c92766b.js → it-72244e1f.js} +6 -6
- package/dist/cjs/{it-ch-291b8188.js → it-ch-111e0a76.js} +6 -6
- package/dist/cjs/{ja-3e145c4f.js → ja-64c49fbb.js} +6 -6
- package/dist/cjs/{ko-1b8f5e87.js → ko-ba039889.js} +6 -6
- package/dist/cjs/layout-manager.cjs.entry.js +2 -2
- package/dist/cjs/list-item.cjs.entry.js +1 -1
- package/dist/cjs/{loadModules-03328b9d.js → loadModules-ad1ab1a8.js} +1 -1
- package/dist/cjs/{loadable-f8b40373.js → loadable-53fa41ac.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-d50f3250.js → locale-ef06bf9e.js} +1 -1
- package/dist/cjs/{lt-200e08d2.js → lt-14caf6e3.js} +6 -6
- package/dist/cjs/{lv-6e5561b5.js → lv-90627da7.js} +6 -6
- package/dist/cjs/map-select-tools_3.cjs.entry.js +6 -6
- package/dist/cjs/{mk-530773b7.js → mk-43da0937.js} +6 -6
- package/dist/cjs/{nb-6f6747f3.js → nb-6e84fe55.js} +6 -6
- package/dist/cjs/{nl-c6b3e47a.js → nl-b09e824f.js} +6 -6
- package/dist/cjs/{openCloseComponent-71c34b2c.js → openCloseComponent-56419b32.js} +1 -1
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{pl-860110bc.js → pl-acc3eed9.js} +6 -6
- package/dist/cjs/{pt-6e3d2514.js → pt-445d1df2.js} +6 -6
- package/dist/cjs/{pt-br-66b1bb2b.js → pt-br-63d38ff8.js} +6 -6
- package/dist/cjs/public-notification.cjs.entry.js +6 -6
- package/dist/cjs/{publicNotificationStore-9c812ef4.js → publicNotificationStore-e1ae21f1.js} +1 -1
- package/dist/cjs/{ro-bd6b21e5.js → ro-3d33dcc0.js} +6 -6
- package/dist/cjs/{ru-fea2a60c.js → ru-6d33bd42.js} +6 -6
- package/dist/cjs/{shared-list-render-b1b515ba.js → shared-list-render-44ea9d69.js} +1 -1
- package/dist/cjs/{sk-f4693451.js → sk-8e7343e5.js} +6 -6
- package/dist/cjs/{sl-ba030ced.js → sl-b2721e1d.js} +6 -6
- package/dist/cjs/solution-configuration.cjs.entry.js +4 -4
- package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/{solution-store-b40c2f46.js → solution-store-b70fdc30.js} +1 -1
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
- package/dist/cjs/{sr-a3aeccbd.js → sr-6c42e7fd.js} +6 -6
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/{sv-f96afdb7.js → sv-09355347.js} +6 -6
- package/dist/cjs/{t9n-47b85291.js → t9n-78efea01.js} +1 -1
- package/dist/cjs/{th-7be3c0cf.js → th-b011dfda.js} +6 -6
- package/dist/cjs/{tr-2bf900ba.js → tr-64095398.js} +6 -6
- package/dist/cjs/{uk-8d7c74d5.js → uk-942a3963.js} +6 -6
- package/dist/cjs/{utils-e90327b4.js → utils-bad1a9c3.js} +1 -1
- package/dist/cjs/{vi-c010010c.js → vi-1f4b147c.js} +6 -6
- package/dist/cjs/{zh-cn-089aaea3.js → zh-cn-d312b710.js} +6 -6
- package/dist/cjs/{zh-hk-0676f0be.js → zh-hk-8237d0e3.js} +6 -6
- package/dist/cjs/{zh-tw-acce58bc.js → zh-tw-f28548c8.js} +6 -6
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/basemap-gallery/basemap-gallery.css +19 -19
- package/dist/collection/components/layout-manager/layout-manager.css +73 -73
- package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -19
- package/dist/collection/components/map-legend/map-legend.css +3 -3
- package/dist/collection/components/map-search/map-search.css +24 -24
- package/dist/collection/demos/new-public-notification.html +1 -1
- package/dist/collection/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +387 -0
- package/dist/collection/utils/downloadUtils.js +93 -25
- package/dist/collection/utils/downloadUtils.ts +131 -30
- package/dist/collection/utils/test/downloadUtils.spec.js +24 -2
- package/dist/collection/utils/test/downloadUtils.spec.tsx +27 -5
- package/dist/components/downloadUtils.js +93 -25
- package/dist/esm/{ExpandToggle-3973cf71.js → ExpandToggle-e107f9b4.js} +1 -1
- package/dist/esm/{FloatingArrow-bfb95cb7.js → FloatingArrow-3bcbf69c.js} +1 -1
- package/dist/esm/{Heading-a3130bc6.js → Heading-d54e4e64.js} +1 -1
- package/dist/esm/{ar-e66d9603.js → ar-6024936e.js} +6 -6
- package/dist/esm/basemap-gallery_7.entry.js +3 -3
- package/dist/esm/{bg-e3cef9f9.js → bg-0aaf375e.js} +6 -6
- package/dist/esm/{bs-e5350540.js → bs-a29d4263.js} +6 -6
- package/dist/esm/buffer-tools_4.entry.js +7 -7
- package/dist/esm/{ca-2e572adf.js → ca-7025e8bd.js} +6 -6
- package/dist/esm/calcite-accordion-item.entry.js +2 -2
- package/dist/esm/calcite-accordion.entry.js +1 -1
- package/dist/esm/calcite-action-bar_3.entry.js +5 -5
- package/dist/esm/calcite-action-group_2.entry.js +4 -4
- package/dist/esm/calcite-action-pad.entry.js +5 -5
- package/dist/esm/calcite-action_2.entry.js +6 -6
- package/dist/esm/calcite-alert_3.entry.js +6 -6
- 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 +6 -6
- package/dist/esm/calcite-button.entry.js +4 -4
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/calcite-checkbox_3.entry.js +4 -4
- package/dist/esm/calcite-chip-group.entry.js +2 -2
- package/dist/esm/calcite-chip.entry.js +4 -4
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
- package/dist/esm/calcite-color-picker.entry.js +3 -3
- package/dist/esm/calcite-combobox-item-group.entry.js +1 -1
- package/dist/esm/calcite-combobox_6.entry.js +9 -9
- package/dist/esm/calcite-date-picker-day_3.entry.js +2 -2
- package/dist/esm/calcite-date-picker.entry.js +4 -4
- package/dist/esm/calcite-fab.entry.js +2 -2
- package/dist/esm/calcite-filter_3.entry.js +3 -3
- package/dist/esm/calcite-flow-item.entry.js +3 -3
- 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 +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +3 -3
- package/dist/esm/calcite-input-date-picker.entry.js +6 -6
- package/dist/esm/calcite-input-number_2.entry.js +4 -4
- package/dist/esm/{calcite-input-time-picker-77523075.js → calcite-input-time-picker-970d2da4.js} +54 -54
- package/dist/esm/calcite-input-time-picker.entry.js +6 -6
- package/dist/esm/calcite-input-time-zone.entry.js +4 -4
- package/dist/esm/calcite-input_2.entry.js +4 -4
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/calcite-menu.entry.js +3 -3
- package/dist/esm/calcite-meter.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +5 -5
- 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 +2 -2
- package/dist/esm/calcite-notice_2.entry.js +6 -6
- package/dist/esm/calcite-option-group.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 +5 -5
- package/dist/esm/calcite-pick-list-group.entry.js +3 -3
- package/dist/esm/calcite-pick-list-item.entry.js +4 -4
- package/dist/esm/calcite-pick-list.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +3 -3
- package/dist/esm/calcite-rating.entry.js +4 -4
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
- package/dist/esm/calcite-sheet.entry.js +3 -3
- package/dist/esm/calcite-shell-center-row.entry.js +2 -2
- package/dist/esm/calcite-shell-panel_14.entry.js +8 -8
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.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-table-cell_2.entry.js +3 -3
- package/dist/esm/calcite-table-row.entry.js +1 -1
- package/dist/esm/calcite-table.entry.js +3 -3
- package/dist/esm/calcite-text-area.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/calcite-time-picker.entry.js +3 -3
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +3 -3
- package/dist/esm/calcite-tip.entry.js +4 -4
- package/dist/esm/card-manager_3.entry.js +4 -4
- package/dist/esm/{conditionalSlot-94095778.js → conditionalSlot-2966afcc.js} +1 -1
- package/dist/esm/crowdsource-manager.entry.js +2 -2
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/{cs-4f054159.js → cs-e75d4f0f.js} +6 -6
- package/dist/esm/{da-6c556fce.js → da-7ef2ef83.js} +6 -6
- package/dist/esm/{de-ca621a89.js → de-8c937192.js} +6 -6
- package/dist/esm/{de-at-d3095241.js → de-at-2d6f27fb.js} +6 -6
- package/dist/esm/{de-ch-83fcc045.js → de-ch-94e48c2e.js} +6 -6
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/{downloadUtils-c9f4592e.js → downloadUtils-a3f28bae.js} +96 -28
- package/dist/esm/{el-0caa1e48.js → el-a2fbe5ed.js} +6 -6
- package/dist/esm/{en-au-1a9727f6.js → en-au-e41b88d1.js} +6 -6
- package/dist/esm/{en-ca-9efe6ab1.js → en-ca-87be65a9.js} +6 -6
- package/dist/esm/{en-gb-87813f25.js → en-gb-83952182.js} +6 -6
- package/dist/esm/{es-a564ac80.js → es-141e8350.js} +6 -6
- package/dist/esm/{es-mx-69a7843b.js → es-mx-b6a7e8b9.js} +6 -6
- package/dist/esm/{et-8018f213.js → et-938a5466.js} +6 -6
- package/dist/esm/{fi-c8023099.js → fi-b2c86fbe.js} +6 -6
- package/dist/esm/{form-43cd1811.js → form-77fd19cb.js} +1 -1
- package/dist/esm/{fr-4a6841af.js → fr-38f2377b.js} +6 -6
- package/dist/esm/{fr-ch-abed2e2a.js → fr-ch-f0aa93c8.js} +6 -6
- package/dist/esm/{he-0324b963.js → he-c4b286cd.js} +6 -6
- package/dist/esm/{hi-f1f4309f.js → hi-78cb42a0.js} +6 -6
- package/dist/esm/{hr-410e913d.js → hr-a4637cfd.js} +6 -6
- package/dist/esm/{hu-090901ba.js → hu-54c88160.js} +6 -6
- package/dist/esm/{id-52323c08.js → id-059e47c6.js} +6 -6
- package/dist/esm/{index-0740c914.js → index-b05b3079.js} +77 -15
- package/dist/esm/{index-71d123d4.js → index-da1495f5.js} +1 -1
- package/dist/esm/{index.es-35932b31.js → index.es-e0432a23.js} +4 -4
- package/dist/esm/{it-3980ce36.js → it-015c5cc3.js} +6 -6
- package/dist/esm/{it-ch-aa4b9653.js → it-ch-f345a8fe.js} +6 -6
- package/dist/esm/{ja-edbfdf17.js → ja-f6c91a37.js} +6 -6
- package/dist/esm/{ko-28dfbdfb.js → ko-7b0bfdfa.js} +6 -6
- package/dist/esm/layout-manager.entry.js +2 -2
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/{loadModules-687a30c5.js → loadModules-0bf05e85.js} +1 -1
- package/dist/esm/{loadable-0029bf3d.js → loadable-9617e31c.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{locale-6be4e8f0.js → locale-5bdc0197.js} +1 -1
- package/dist/esm/{lt-36215874.js → lt-ebe0d73b.js} +6 -6
- package/dist/esm/{lv-5f613cfd.js → lv-f7cb8ecf.js} +6 -6
- package/dist/esm/map-select-tools_3.entry.js +6 -6
- package/dist/esm/{mk-a8e8d2f1.js → mk-fdcc6d81.js} +6 -6
- package/dist/esm/{nb-5accd1d3.js → nb-44fa5d1f.js} +6 -6
- package/dist/esm/{nl-aa9a0bb6.js → nl-72a97244.js} +6 -6
- package/dist/esm/{openCloseComponent-943c5248.js → openCloseComponent-ecc80ec6.js} +1 -1
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/{pl-23465d62.js → pl-6594cf3b.js} +6 -6
- package/dist/esm/{pt-41864e9d.js → pt-a7407eb8.js} +6 -6
- package/dist/esm/{pt-br-c6bd3fe5.js → pt-br-83e7fa27.js} +6 -6
- package/dist/esm/public-notification.entry.js +6 -6
- package/dist/esm/{publicNotificationStore-f25d1e95.js → publicNotificationStore-05b455ff.js} +1 -1
- package/dist/esm/{ro-b554cdb2.js → ro-455d4855.js} +6 -6
- package/dist/esm/{ru-fabf5351.js → ru-afedf1c0.js} +6 -6
- package/dist/esm/{shared-list-render-eba3dbdf.js → shared-list-render-086be7e0.js} +1 -1
- package/dist/esm/{sk-6c30f92d.js → sk-593b7042.js} +6 -6
- package/dist/esm/{sl-53339340.js → sl-738e75ca.js} +6 -6
- package/dist/esm/solution-configuration.entry.js +4 -4
- package/dist/esm/solution-contents_3.entry.js +4 -4
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/{solution-store-17bb0a75.js → solution-store-c0ac9298.js} +1 -1
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +2 -2
- package/dist/esm/{sr-bb55e815.js → sr-46d78867.js} +6 -6
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/{sv-e7415076.js → sv-a5afd0c2.js} +6 -6
- package/dist/esm/{t9n-976a6630.js → t9n-709a2605.js} +1 -1
- package/dist/esm/{th-5035f441.js → th-0e794832.js} +6 -6
- package/dist/esm/{tr-8693739a.js → tr-c520e117.js} +6 -6
- package/dist/esm/{uk-dfe80c4a.js → uk-98d8c935.js} +6 -6
- package/dist/esm/{utils-f7c0de62.js → utils-1c26ea1b.js} +1 -1
- package/dist/esm/{vi-540a8ddc.js → vi-d6022534.js} +6 -6
- package/dist/esm/{zh-cn-28e77ef2.js → zh-cn-c112d022.js} +6 -6
- package/dist/esm/{zh-hk-15113982.js → zh-hk-2d857989.js} +6 -6
- package/dist/esm/{zh-tw-f33efd8d.js → zh-tw-196abcd0.js} +6 -6
- package/dist/solutions-components/demos/new-public-notification.html +1 -1
- package/dist/solutions-components/{p-d738fea9.js → p-00026bea.js} +1 -1
- package/dist/solutions-components/{p-dd7e8e5d.entry.js → p-0123207d.entry.js} +1 -1
- package/dist/solutions-components/{p-79beb262.js → p-02b1befe.js} +4 -4
- package/dist/solutions-components/{p-61e0440a.entry.js → p-02e84287.entry.js} +1 -1
- package/dist/solutions-components/{p-bc4c41ba.js → p-039ac222.js} +1 -1
- package/dist/solutions-components/{p-5347984d.entry.js → p-071d92ec.entry.js} +1 -1
- package/dist/solutions-components/{p-21a54586.entry.js → p-091f2e4a.entry.js} +1 -1
- package/dist/solutions-components/{p-735cdbaf.js → p-0a976cf8.js} +1 -1
- package/dist/solutions-components/{p-2ba31b8a.entry.js → p-0bd702b0.entry.js} +1 -1
- package/dist/solutions-components/{p-8c00bf84.entry.js → p-0c77262e.entry.js} +1 -1
- package/dist/solutions-components/{p-234d20b1.js → p-0ca9f9b0.js} +1 -1
- package/dist/solutions-components/{p-960d5e0d.entry.js → p-109dcfef.entry.js} +1 -1
- package/dist/solutions-components/{p-2af0a6c7.entry.js → p-11a5efc8.entry.js} +1 -1
- package/dist/solutions-components/{p-d5517d0d.js → p-123257b4.js} +1 -1
- package/dist/solutions-components/{p-f6fa0003.js → p-139ff4ab.js} +1 -1
- package/dist/solutions-components/{p-53fe14b3.entry.js → p-13d0424a.entry.js} +1 -1
- package/dist/solutions-components/{p-fa06a8f7.entry.js → p-1738c574.entry.js} +1 -1
- package/dist/solutions-components/{p-5e8dee25.entry.js → p-17452dc7.entry.js} +1 -1
- package/dist/solutions-components/{p-48ce2adc.js → p-18bdcb54.js} +1 -1
- package/dist/solutions-components/{p-0335478a.entry.js → p-1abf4a98.entry.js} +1 -1
- package/dist/solutions-components/{p-6d2d7943.js → p-1b606a4e.js} +1 -1
- package/dist/solutions-components/{p-937c2c82.entry.js → p-1d8b5383.entry.js} +1 -1
- package/dist/solutions-components/{p-86f33d1b.js → p-1efb6f5e.js} +1 -1
- package/dist/solutions-components/{p-c9936cc9.js → p-1f8b3c22.js} +1 -1
- package/dist/solutions-components/{p-d6b50da2.js → p-244fe501.js} +1 -1
- package/dist/solutions-components/{p-0591ccfd.entry.js → p-25736760.entry.js} +1 -1
- package/dist/solutions-components/{p-29120ecd.js → p-27431aa6.js} +1 -1
- package/dist/solutions-components/{p-2b59e4cf.js → p-27c3142d.js} +1 -1
- package/dist/solutions-components/{p-99900c72.entry.js → p-29f22e76.entry.js} +1 -1
- package/dist/solutions-components/{p-94785227.entry.js → p-2a8e0824.entry.js} +1 -1
- package/dist/solutions-components/{p-4277bdc8.entry.js → p-2c095772.entry.js} +2 -2
- package/dist/solutions-components/{p-aacbdedb.entry.js → p-2c49fea8.entry.js} +1 -1
- package/dist/solutions-components/{p-ae952961.entry.js → p-2c676869.entry.js} +1 -1
- package/dist/solutions-components/{p-6190f6b9.entry.js → p-2d34a885.entry.js} +1 -1
- package/dist/solutions-components/{p-bf73ccae.js → p-319e672e.js} +1 -1
- package/dist/solutions-components/{p-6d783ec5.js → p-3324bc9c.js} +1 -1
- package/dist/solutions-components/{p-b7f5a5c9.js → p-33833cea.js} +1 -1
- package/dist/solutions-components/{p-97b2521a.entry.js → p-3556a164.entry.js} +1 -1
- package/dist/solutions-components/{p-bee78404.js → p-369e28ed.js} +2 -2
- package/dist/solutions-components/{p-34ae5550.entry.js → p-37551e19.entry.js} +1 -1
- package/dist/solutions-components/{p-164a80fb.js → p-3a712812.js} +1 -1
- package/dist/solutions-components/{p-6c39845d.entry.js → p-3ca5956e.entry.js} +1 -1
- package/dist/solutions-components/{p-3b8d021c.js → p-3e1346f4.js} +1 -1
- package/dist/solutions-components/{p-1da1779e.entry.js → p-42472527.entry.js} +1 -1
- package/dist/solutions-components/{p-b6f9d874.js → p-427f8955.js} +1 -1
- package/dist/solutions-components/{p-fa63c8b1.js → p-4349f3f7.js} +1 -1
- package/dist/solutions-components/{p-22eb9ead.entry.js → p-44ddfacf.entry.js} +1 -1
- package/dist/solutions-components/{p-99391a15.entry.js → p-45cf4f67.entry.js} +1 -1
- package/dist/solutions-components/{p-13e96533.js → p-48a44c8d.js} +1 -1
- package/dist/solutions-components/{p-3a668467.js → p-49dc53cb.js} +1 -1
- package/dist/solutions-components/{p-e52091fa.js → p-4ce32f39.js} +1 -1
- package/dist/solutions-components/{p-8458b57c.entry.js → p-4daf1755.entry.js} +1 -1
- package/dist/solutions-components/{p-fc141ca0.js → p-4eb21769.js} +2 -2
- package/dist/solutions-components/{p-50d9056a.entry.js → p-4fbf3997.entry.js} +1 -1
- package/dist/solutions-components/{p-851edd3b.entry.js → p-50a7927d.entry.js} +1 -1
- package/dist/solutions-components/{p-7cc21aa4.entry.js → p-524078d6.entry.js} +1 -1
- package/dist/solutions-components/{p-6b61a3cd.js → p-528116a5.js} +1 -1
- package/dist/solutions-components/{p-a35a422a.js → p-52d5d2c7.js} +1 -1
- package/dist/solutions-components/{p-cfa0c38b.entry.js → p-5507d527.entry.js} +1 -1
- package/dist/solutions-components/{p-fbc7fc26.entry.js → p-557a1912.entry.js} +1 -1
- package/dist/solutions-components/{p-224f47c5.js → p-59f96664.js} +1 -1
- package/dist/solutions-components/{p-5a2c1d3a.entry.js → p-5a5676d4.entry.js} +1 -1
- package/dist/solutions-components/{p-6f59f4ee.js → p-5d5d10d5.js} +1 -1
- package/dist/solutions-components/{p-524dbb02.entry.js → p-5f4fba81.entry.js} +1 -1
- package/dist/solutions-components/{p-edf861a1.entry.js → p-60336409.entry.js} +1 -1
- package/dist/solutions-components/{p-04660d48.entry.js → p-63770d57.entry.js} +1 -1
- package/dist/solutions-components/{p-73c50d50.js → p-640de6e2.js} +2 -2
- package/dist/solutions-components/{p-9a66d8c7.js → p-64106e73.js} +1 -1
- package/dist/solutions-components/{p-0d773964.entry.js → p-64963b28.entry.js} +1 -1
- package/dist/solutions-components/{p-89e4299f.js → p-6536a858.js} +1 -1
- package/dist/solutions-components/{p-97effcfe.entry.js → p-68735975.entry.js} +1 -1
- package/dist/solutions-components/{p-80ff1462.entry.js → p-69925ee2.entry.js} +1 -1
- package/dist/solutions-components/{p-30019a9d.js → p-69b7a4da.js} +1 -1
- package/dist/solutions-components/{p-2a5903e0.js → p-6acf6258.js} +1 -1
- package/dist/solutions-components/{p-c2c000fc.entry.js → p-6b7be761.entry.js} +1 -1
- package/dist/solutions-components/{p-4f29d862.entry.js → p-6e779398.entry.js} +2 -2
- package/dist/solutions-components/{p-3a1ce0b3.entry.js → p-73e7af57.entry.js} +1 -1
- package/dist/solutions-components/{p-370cdc1a.js → p-761adec1.js} +1 -1
- package/dist/solutions-components/{p-9f8cd92d.js → p-76384a24.js} +1 -1
- package/dist/solutions-components/{p-b8ce608e.js → p-788f3c1c.js} +2 -2
- package/dist/solutions-components/{p-2df8b0d2.js → p-799ba781.js} +1 -1
- package/dist/solutions-components/{p-2db4adca.entry.js → p-7c937dad.entry.js} +1 -1
- package/dist/solutions-components/{p-40e95e2b.entry.js → p-7ea11939.entry.js} +1 -1
- package/dist/solutions-components/{p-852e7d6c.js → p-7fea302e.js} +1 -1
- package/dist/solutions-components/{p-a574b12e.entry.js → p-800d0291.entry.js} +1 -1
- package/dist/solutions-components/{p-2a0238d4.entry.js → p-8239ee0e.entry.js} +1 -1
- package/dist/solutions-components/{p-9a41ea03.js → p-83208f15.js} +1 -1
- package/dist/solutions-components/{p-994e84f7.js → p-857c255c.js} +1 -1
- package/dist/solutions-components/{p-40532d71.entry.js → p-87e51c05.entry.js} +1 -1
- package/dist/solutions-components/p-8a2ae571.js +11 -0
- package/dist/solutions-components/{p-fd1da29a.entry.js → p-8f535590.entry.js} +1 -1
- package/dist/solutions-components/p-8f650f5a.entry.js +6 -0
- package/dist/solutions-components/{p-0dfd47df.entry.js → p-9183a4ab.entry.js} +1 -1
- package/dist/solutions-components/{p-d8ac40a5.js → p-940c447c.js} +1 -1
- package/dist/solutions-components/{p-40d50491.entry.js → p-9640d89a.entry.js} +1 -1
- package/dist/solutions-components/{p-71049433.entry.js → p-98d82820.entry.js} +2 -2
- package/dist/solutions-components/{p-9894c380.js → p-9b5df16f.js} +1 -1
- package/dist/solutions-components/{p-f2c3068e.entry.js → p-9c64026c.entry.js} +1 -1
- package/dist/solutions-components/{p-3b3b8693.entry.js → p-9ddb9445.entry.js} +2 -2
- package/dist/solutions-components/{p-10375537.js → p-9e10d371.js} +1 -1
- package/dist/solutions-components/{p-2d143359.entry.js → p-9fd9dab0.entry.js} +1 -1
- package/dist/solutions-components/{p-56ccef9e.entry.js → p-a30bf8f8.entry.js} +1 -1
- package/dist/solutions-components/{p-8b912783.js → p-a3538132.js} +1 -1
- package/dist/solutions-components/{p-d32a1308.entry.js → p-a525e175.entry.js} +1 -1
- package/dist/solutions-components/{p-fc7de108.entry.js → p-a6774162.entry.js} +1 -1
- package/dist/solutions-components/{p-99d8a839.js → p-a9154c5a.js} +1 -1
- package/dist/solutions-components/{p-6ac73100.js → p-a99967f5.js} +1 -1
- package/dist/solutions-components/{p-d3104ab2.js → p-abfec82b.js} +1 -1
- package/dist/solutions-components/{p-d68f66a3.js → p-acd7494a.js} +1 -1
- package/dist/solutions-components/{p-7ea4f229.entry.js → p-b0e67c32.entry.js} +1 -1
- package/dist/solutions-components/{p-5f929b73.js → p-b3622a4e.js} +1 -1
- package/dist/solutions-components/{p-27492081.entry.js → p-b4ff1e38.entry.js} +1 -1
- package/dist/solutions-components/{p-4228202a.entry.js → p-b587b224.entry.js} +1 -1
- package/dist/solutions-components/{p-3db650c2.js → p-bc965d47.js} +1 -1
- package/dist/solutions-components/{p-7624927c.entry.js → p-bdc6be4b.entry.js} +2 -2
- package/dist/solutions-components/{p-c3417d14.js → p-c0ec94af.js} +1 -1
- package/dist/solutions-components/{p-3fc5f99b.entry.js → p-c191d28c.entry.js} +3 -3
- package/dist/solutions-components/{p-482534a7.js → p-c3546866.js} +1 -1
- package/dist/solutions-components/{p-7af492f8.js → p-c4a448a3.js} +1 -1
- package/dist/solutions-components/{p-3622ff5a.entry.js → p-c69ba9db.entry.js} +1 -1
- package/dist/solutions-components/{p-a64684d9.js → p-c8e772fb.js} +1 -1
- package/dist/solutions-components/{p-091120c5.entry.js → p-c90671e1.entry.js} +1 -1
- package/dist/solutions-components/{p-e8c5f63d.js → p-c9ba6598.js} +1 -1
- package/dist/solutions-components/{p-08306638.entry.js → p-c9d9ac15.entry.js} +1 -1
- package/dist/solutions-components/{p-029d8d56.entry.js → p-ca37ebd0.entry.js} +1 -1
- package/dist/solutions-components/{p-a366c1bd.entry.js → p-ca53679d.entry.js} +1 -1
- package/dist/solutions-components/{p-91ad3f1e.entry.js → p-ca780ab8.entry.js} +1 -1
- package/dist/solutions-components/{p-16d07093.js → p-cb8e599c.js} +1 -1
- package/dist/solutions-components/{p-90e780b3.js → p-cbe3b9ee.js} +1 -1
- package/dist/solutions-components/{p-8be9c706.entry.js → p-cdfe141e.entry.js} +2 -2
- package/dist/solutions-components/{p-880a0d62.entry.js → p-cefde738.entry.js} +1 -1
- package/dist/solutions-components/{p-52db1792.entry.js → p-cf765f54.entry.js} +1 -1
- package/dist/solutions-components/{p-9aa4ddb7.js → p-d0e59d62.js} +1 -1
- package/dist/solutions-components/{p-76c75cac.entry.js → p-d16db4eb.entry.js} +2 -2
- package/dist/solutions-components/{p-b17541d4.entry.js → p-d78136be.entry.js} +2 -2
- package/dist/solutions-components/{p-74c723d2.entry.js → p-d7953124.entry.js} +2 -2
- package/dist/solutions-components/{p-ca9bd37c.entry.js → p-d85e1fbe.entry.js} +2 -2
- package/dist/solutions-components/{p-038fa109.entry.js → p-dcf0f0c8.entry.js} +1 -1
- package/dist/solutions-components/{p-375fd36b.js → p-dd4a1910.js} +2 -2
- package/dist/solutions-components/{p-684a3ab9.entry.js → p-dd6b827e.entry.js} +1 -1
- package/dist/solutions-components/{p-946a0023.js → p-e004e8e2.js} +1 -1
- package/dist/solutions-components/{p-4ec6a622.entry.js → p-e1e22909.entry.js} +1 -1
- package/dist/solutions-components/{p-b4c0c62e.entry.js → p-e1f1e124.entry.js} +1 -1
- package/dist/solutions-components/{p-c29a20f1.entry.js → p-e416078b.entry.js} +1 -1
- package/dist/solutions-components/{p-a4e47e1d.entry.js → p-e592e744.entry.js} +1 -1
- package/dist/solutions-components/{p-5aa04e51.entry.js → p-ec830ecb.entry.js} +1 -1
- package/dist/solutions-components/{p-38d04674.entry.js → p-ed3bd9b8.entry.js} +1 -1
- package/dist/solutions-components/{p-c3bd1676.entry.js → p-ee13cafa.entry.js} +1 -1
- package/dist/solutions-components/{p-138a065a.entry.js → p-ee839f28.entry.js} +1 -1
- package/dist/solutions-components/{p-05948b48.js → p-eec708ad.js} +1 -1
- package/dist/solutions-components/{p-89b4b401.js → p-f066b1bd.js} +1 -1
- package/dist/solutions-components/p-f1782b8c.js +7 -0
- package/dist/solutions-components/{p-82cedafd.js → p-f20097e5.js} +1 -1
- package/dist/solutions-components/{p-387657b5.js → p-f3f83c1e.js} +1 -1
- package/dist/solutions-components/{p-649e12c3.entry.js → p-f6390960.entry.js} +1 -1
- package/dist/solutions-components/{p-420e1585.entry.js → p-f702119f.entry.js} +1 -1
- package/dist/solutions-components/{p-7d7b7536.entry.js → p-f9808dcb.entry.js} +1 -1
- package/dist/solutions-components/{p-bf8fef40.entry.js → p-fb67a388.entry.js} +1 -1
- package/dist/solutions-components/{p-5d28f356.entry.js → p-fbbfed75.entry.js} +1 -1
- package/dist/solutions-components/{p-a3426728.entry.js → p-fe9cdc3d.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +387 -0
- package/dist/solutions-components/utils/downloadUtils.ts +131 -30
- package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +27 -5
- package/dist/solutions-components_commit.txt +7 -0
- package/dist/types/components.d.ts +219 -0
- package/dist/types/stencil-public-runtime.d.ts +21 -0
- package/dist/types/utils/downloadUtils.d.ts +27 -3
- package/package.json +9 -9
- package/dist/solutions-components/p-91c78d98.js +0 -7
- package/dist/solutions-components/p-abc50d38.js +0 -11
- package/dist/solutions-components/p-f34f405a.entry.js +0 -6
|
@@ -72,6 +72,22 @@ export interface ILayerRelationshipQueryHash {
|
|
|
72
72
|
[relationshipId: string]: ILayerRelationshipQuery;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
/**
|
|
76
|
+
* Related record query request options with new exceededTransferLimit property.
|
|
77
|
+
*/
|
|
78
|
+
export interface IQueryRelatedOptionsOffset extends IQueryRelatedOptions {
|
|
79
|
+
params: {
|
|
80
|
+
resultOffset: number;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Related record response structure with new exceededTransferLimit property.
|
|
86
|
+
*/
|
|
87
|
+
export interface IQueryRelatedResponseOffset extends IQueryRelatedResponse {
|
|
88
|
+
exceededTransferLimit?: boolean;
|
|
89
|
+
}
|
|
90
|
+
|
|
75
91
|
// Class RelationshipQuery doesn't appear to work, and so since
|
|
76
92
|
// https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#queryRelatedFeatures
|
|
77
93
|
// says that the relationshipQuery argument is autocast, we'll set up a variant for the class
|
|
@@ -468,19 +484,20 @@ export function _getExpressionsFromLabel(
|
|
|
468
484
|
}
|
|
469
485
|
|
|
470
486
|
/**
|
|
471
|
-
*
|
|
487
|
+
* Gets the related records for a feature service.
|
|
472
488
|
*
|
|
473
489
|
* @param url Feature service's URL, e.g., layer.url
|
|
474
490
|
* @param layerId Id of layer within a feature service
|
|
475
491
|
* @param relationshipId Id of relationship
|
|
476
492
|
* @param objectIds Objects in the feature service whose related records are sought
|
|
493
|
+
* @returns Promise resolving to an array of objects and their related records
|
|
477
494
|
*/
|
|
478
495
|
export function _getFeatureServiceRelatedRecords(
|
|
479
496
|
url: string,
|
|
480
497
|
layerId: number,
|
|
481
498
|
relationshipId?: number,
|
|
482
499
|
objectIds?: number[]
|
|
483
|
-
): Promise<
|
|
500
|
+
): Promise<IRelatedRecordGroup[]> {
|
|
484
501
|
// See if the URL points to a service rather than a layer
|
|
485
502
|
const endOfUrl = url.substring(url.lastIndexOf("/") + 1);
|
|
486
503
|
if (isNaN(parseInt(endOfUrl))) {
|
|
@@ -488,12 +505,46 @@ export function _getFeatureServiceRelatedRecords(
|
|
|
488
505
|
}
|
|
489
506
|
|
|
490
507
|
const options: IQueryRelatedOptions = {
|
|
491
|
-
|
|
508
|
+
definitionExpression: "1=1",
|
|
509
|
+
httpMethod: "POST",
|
|
510
|
+
objectIds,
|
|
511
|
+
outFields: "*",
|
|
492
512
|
relationshipId,
|
|
493
|
-
|
|
513
|
+
url
|
|
494
514
|
}
|
|
495
515
|
|
|
496
|
-
return
|
|
516
|
+
return _getFeatureServiceRelatedRecordsTranche(options);
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Gets a tranche of related records for a feature service.
|
|
521
|
+
*
|
|
522
|
+
* @param options Options for arcgis-rest-js' queryRelated function
|
|
523
|
+
* @param relationships Array of related records accumulated so far
|
|
524
|
+
* @param resultOffset Number of records already retrieved
|
|
525
|
+
* @returns Promise resolving to an array of objects and their related records
|
|
526
|
+
*/
|
|
527
|
+
export function _getFeatureServiceRelatedRecordsTranche(
|
|
528
|
+
options: IQueryRelatedOptions,
|
|
529
|
+
relationships: IRelatedRecordGroup[] = [],
|
|
530
|
+
resultOffset = 0
|
|
531
|
+
): Promise<IRelatedRecordGroup[]> {
|
|
532
|
+
return queryRelated({
|
|
533
|
+
...options,
|
|
534
|
+
params: {
|
|
535
|
+
resultOffset
|
|
536
|
+
}
|
|
537
|
+
} as IQueryRelatedOptionsOffset)
|
|
538
|
+
.then(
|
|
539
|
+
(response: IQueryRelatedResponseOffset) => {
|
|
540
|
+
relationships.push(...response.relatedRecordGroups);
|
|
541
|
+
|
|
542
|
+
// If exceededTransferLimit is true, then there are more records to retrieve and the feature service
|
|
543
|
+
// supports the resultOffset parameter
|
|
544
|
+
return response.exceededTransferLimit ? _getFeatureServiceRelatedRecordsTranche(
|
|
545
|
+
options, relationships, resultOffset + response.relatedRecordGroups.length) : Promise.resolve(relationships);
|
|
546
|
+
}
|
|
547
|
+
);
|
|
497
548
|
}
|
|
498
549
|
|
|
499
550
|
/**
|
|
@@ -585,14 +636,12 @@ export async function _getLabelFormat(
|
|
|
585
636
|
const relationshipId = layer.popupTemplate.content[0].relationshipId;
|
|
586
637
|
|
|
587
638
|
// Get related layer
|
|
639
|
+
const layerRelationship = layer.relationships.find(relationship => relationship.id === relationshipId);
|
|
588
640
|
let webmapLayers = webmap.layers.toArray().concat(webmap.tables.toArray()) as __esri.FeatureLayer[];
|
|
589
641
|
webmapLayers = webmapLayers.filter(
|
|
590
642
|
(webmapLayer: __esri.FeatureLayer) =>
|
|
591
|
-
webmapLayer.type === "feature"
|
|
592
|
-
|
|
593
|
-
&& webmapLayer.relationships
|
|
594
|
-
&& webmapLayer.relationships.some(relationship => relationship.id === relationshipId)
|
|
595
|
-
);
|
|
643
|
+
webmapLayer.type === "feature" && webmapLayer.layerId === layerRelationship.relatedTableId
|
|
644
|
+
);
|
|
596
645
|
|
|
597
646
|
if (webmapLayers.length > 0) {
|
|
598
647
|
labelFormatProps = await _getLabelFormat(webmap, webmapLayers[0], formatUsingLayerPopup);
|
|
@@ -804,23 +853,63 @@ export async function _prepareLabels(
|
|
|
804
853
|
|
|
805
854
|
let featureSet: __esri.Graphic[] = [];
|
|
806
855
|
if (typeof(labelFormatProps.relationshipId) !== "undefined") {
|
|
807
|
-
// Get the related items for each id
|
|
808
|
-
const
|
|
856
|
+
// Get the related items for each id; we're asking for the full item
|
|
857
|
+
const relatedRecordGroups = await _getFeatureServiceRelatedRecords(
|
|
858
|
+
layer.url, layer.layerId, labelFormatProps.relationshipId, ids);
|
|
859
|
+
|
|
860
|
+
// Extract the attributes from the results and merge them into a single list. relatedRecordGroups has the form
|
|
861
|
+
// [{
|
|
862
|
+
// "objectId",
|
|
863
|
+
// "relatedRecords": [{
|
|
864
|
+
// "attributes": {}
|
|
865
|
+
// }, {
|
|
866
|
+
// "attributes": {}
|
|
867
|
+
// }, {
|
|
868
|
+
// "attributes": {}
|
|
869
|
+
// }]
|
|
870
|
+
// }, {
|
|
871
|
+
// "objectId",
|
|
872
|
+
// "relatedRecords": [{
|
|
873
|
+
// "attributes": {}
|
|
874
|
+
// }, {
|
|
875
|
+
// "attributes": {}
|
|
876
|
+
// }, {
|
|
877
|
+
// : :
|
|
878
|
+
// }]
|
|
879
|
+
// }, {
|
|
880
|
+
// : :
|
|
881
|
+
// }]
|
|
882
|
+
const relatedFeatures: any[] = [];
|
|
883
|
+
relatedRecordGroups.forEach(
|
|
884
|
+
(relatedRecGroup: IRelatedRecordGroup) => {
|
|
885
|
+
relatedRecGroup.relatedRecords.forEach(
|
|
886
|
+
(relatedRec: IFeature) => {
|
|
887
|
+
relatedFeatures.push(relatedRec.attributes);
|
|
888
|
+
}
|
|
889
|
+
);
|
|
890
|
+
}
|
|
891
|
+
);
|
|
809
892
|
|
|
893
|
+
// Sort and remove duplicates
|
|
810
894
|
const objectIdField = layer.objectIdField;
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
895
|
+
relatedFeatures.sort(
|
|
896
|
+
(a, b) => {
|
|
897
|
+
if (a[objectIdField] < b[objectIdField]) {
|
|
898
|
+
return -1;
|
|
899
|
+
} else if (a[objectIdField] > b[objectIdField]) {
|
|
900
|
+
return 1;
|
|
901
|
+
} else {
|
|
902
|
+
return 0;
|
|
903
|
+
}
|
|
815
904
|
}
|
|
816
905
|
);
|
|
817
906
|
|
|
818
|
-
|
|
819
|
-
relatedFeatureIds.sort();
|
|
820
|
-
relatedFeatureIds = relatedFeatureIds.filter((id, i) => i === 0 ? true : id !== relatedFeatureIds[i-1]);
|
|
907
|
+
featureSet = relatedFeatures.filter((feature, i) => i === 0 ? true : feature[objectIdField] !== relatedFeatures[i-1][objectIdField]);
|
|
821
908
|
|
|
822
|
-
//
|
|
823
|
-
|
|
909
|
+
// Handle the special case where no related records were found for the set of features
|
|
910
|
+
if (featureSet.length === 0) {
|
|
911
|
+
return Promise.resolve([]);
|
|
912
|
+
}
|
|
824
913
|
|
|
825
914
|
} else {
|
|
826
915
|
// Get the features to export
|
|
@@ -831,14 +920,25 @@ export async function _prepareLabels(
|
|
|
831
920
|
const attributeOrigNames: IAttributeOrigNames = {};
|
|
832
921
|
const attributeTypes: IAttributeTypes = {};
|
|
833
922
|
const attributeDomains: IAttributeDomains = {};
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
923
|
+
|
|
924
|
+
if (featureLayer.fields) {
|
|
925
|
+
featureLayer.fields.forEach(
|
|
926
|
+
field => {
|
|
927
|
+
const lowercaseFieldname = field.name.toLowerCase();
|
|
928
|
+
attributeOrigNames[lowercaseFieldname] = field.name;
|
|
929
|
+
attributeDomains[lowercaseFieldname] = field.domain;
|
|
930
|
+
attributeTypes[lowercaseFieldname] = field.type;
|
|
931
|
+
}
|
|
932
|
+
);
|
|
933
|
+
} else {
|
|
934
|
+
// Feature layer is missing fields, so get info from first feature
|
|
935
|
+
Object.keys(featureSet[0]).forEach(
|
|
936
|
+
fieldName => {
|
|
937
|
+
const lowercaseFieldname = fieldName.toLowerCase();
|
|
938
|
+
attributeOrigNames[lowercaseFieldname] = fieldName;
|
|
939
|
+
}
|
|
940
|
+
)
|
|
941
|
+
}
|
|
842
942
|
|
|
843
943
|
// Apply the label format
|
|
844
944
|
const labels
|
|
@@ -953,10 +1053,11 @@ export async function _prepareLabelsFromPattern(
|
|
|
953
1053
|
*/
|
|
954
1054
|
|
|
955
1055
|
// Replace non-Arcade fields in this feature
|
|
1056
|
+
const attributeValues = feature.attributes ?? feature;
|
|
956
1057
|
attributeNames.forEach(
|
|
957
1058
|
(attributeName: string, i: number) => {
|
|
958
1059
|
const lowercaseFieldname = attributeName.toLowerCase();
|
|
959
|
-
const value = _prepareAttributeValue(
|
|
1060
|
+
const value = _prepareAttributeValue(attributeValues[attributeOrigNames[lowercaseFieldname]],
|
|
960
1061
|
attributeTypes[lowercaseFieldname], attributeDomains[lowercaseFieldname],
|
|
961
1062
|
attributeFormats[lowercaseFieldname], intl);
|
|
962
1063
|
labelPrep = labelPrep.replace(attributeExpressionMatches[i], value);
|
|
@@ -202,6 +202,14 @@ describe("downloadUtils", () => {
|
|
|
202
202
|
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/0";
|
|
203
203
|
const layerId = 5;
|
|
204
204
|
const expectedOptions = {
|
|
205
|
+
definitionExpression: "1=1",
|
|
206
|
+
httpMethod: "POST",
|
|
207
|
+
objectIds: undefined,
|
|
208
|
+
outFields: "*",
|
|
209
|
+
relationshipId: undefined,
|
|
210
|
+
params: {
|
|
211
|
+
resultOffset: 0
|
|
212
|
+
},
|
|
205
213
|
url
|
|
206
214
|
};
|
|
207
215
|
const queryResponse = { relatedRecordGroups: [] };
|
|
@@ -214,6 +222,14 @@ describe("downloadUtils", () => {
|
|
|
214
222
|
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer";
|
|
215
223
|
const layerId = 5;
|
|
216
224
|
const expectedOptions = {
|
|
225
|
+
definitionExpression: "1=1",
|
|
226
|
+
httpMethod: "POST",
|
|
227
|
+
objectIds: undefined,
|
|
228
|
+
outFields: "*",
|
|
229
|
+
relationshipId: undefined,
|
|
230
|
+
params: {
|
|
231
|
+
resultOffset: 0
|
|
232
|
+
},
|
|
217
233
|
url: "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/5"
|
|
218
234
|
};
|
|
219
235
|
const queryResponse = { relatedRecordGroups: [] };
|
|
@@ -228,9 +244,15 @@ describe("downloadUtils", () => {
|
|
|
228
244
|
const relationshipId = 3;
|
|
229
245
|
const objectIds = [7, 8, 9];
|
|
230
246
|
const expectedOptions = {
|
|
231
|
-
|
|
247
|
+
definitionExpression: "1=1",
|
|
248
|
+
httpMethod: "POST",
|
|
249
|
+
objectIds,
|
|
250
|
+
outFields: "*",
|
|
232
251
|
relationshipId,
|
|
233
|
-
|
|
252
|
+
params: {
|
|
253
|
+
resultOffset: 0
|
|
254
|
+
},
|
|
255
|
+
url
|
|
234
256
|
};
|
|
235
257
|
const queryResponse = { relatedRecordGroups: [] };
|
|
236
258
|
const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
|
|
@@ -267,7 +267,15 @@ describe("downloadUtils", () => {
|
|
|
267
267
|
it("handles a feature layer", () => {
|
|
268
268
|
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/0";
|
|
269
269
|
const layerId = 5;
|
|
270
|
-
const expectedOptions:
|
|
270
|
+
const expectedOptions: downloadUtils.IQueryRelatedOptionsOffset = {
|
|
271
|
+
definitionExpression: "1=1",
|
|
272
|
+
httpMethod: "POST",
|
|
273
|
+
objectIds: undefined,
|
|
274
|
+
outFields: "*",
|
|
275
|
+
relationshipId: undefined,
|
|
276
|
+
params: {
|
|
277
|
+
resultOffset: 0
|
|
278
|
+
},
|
|
271
279
|
url
|
|
272
280
|
};
|
|
273
281
|
const queryResponse: restFeatureLayer.IQueryRelatedResponse = { relatedRecordGroups: [] };
|
|
@@ -280,7 +288,15 @@ describe("downloadUtils", () => {
|
|
|
280
288
|
it("handles a feature service", () => {
|
|
281
289
|
const url = "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer";
|
|
282
290
|
const layerId = 5;
|
|
283
|
-
const expectedOptions:
|
|
291
|
+
const expectedOptions: downloadUtils.IQueryRelatedOptionsOffset = {
|
|
292
|
+
definitionExpression: "1=1",
|
|
293
|
+
httpMethod: "POST",
|
|
294
|
+
objectIds: undefined,
|
|
295
|
+
outFields: "*",
|
|
296
|
+
relationshipId: undefined,
|
|
297
|
+
params: {
|
|
298
|
+
resultOffset: 0
|
|
299
|
+
},
|
|
284
300
|
url: "https://servicesdev.arcgis.com/D2C14713795/ArcGIS/rest/services/addresses/FeatureServer/5"
|
|
285
301
|
};
|
|
286
302
|
const queryResponse: restFeatureLayer.IQueryRelatedResponse = { relatedRecordGroups: [] };
|
|
@@ -295,10 +311,16 @@ describe("downloadUtils", () => {
|
|
|
295
311
|
const layerId = 5;
|
|
296
312
|
const relationshipId = 3;
|
|
297
313
|
const objectIds = [7, 8, 9];
|
|
298
|
-
const expectedOptions:
|
|
299
|
-
|
|
314
|
+
const expectedOptions: downloadUtils.IQueryRelatedOptionsOffset = {
|
|
315
|
+
definitionExpression: "1=1",
|
|
316
|
+
httpMethod: "POST",
|
|
317
|
+
objectIds,
|
|
318
|
+
outFields: "*",
|
|
300
319
|
relationshipId,
|
|
301
|
-
|
|
320
|
+
params: {
|
|
321
|
+
resultOffset: 0
|
|
322
|
+
},
|
|
323
|
+
url
|
|
302
324
|
};
|
|
303
325
|
const queryResponse: restFeatureLayer.IQueryRelatedResponse = { relatedRecordGroups: [] };
|
|
304
326
|
const queryRelatedSpy = jest.spyOn(restFeatureLayer, "queryRelated").mockResolvedValue(queryResponse);
|
|
@@ -2651,12 +2651,13 @@ function _getExpressionsFromLabel(labelFormat) {
|
|
|
2651
2651
|
return (_a = labelFormat.match(arcadeExpressionRegExp)) !== null && _a !== void 0 ? _a : [];
|
|
2652
2652
|
}
|
|
2653
2653
|
/**
|
|
2654
|
-
*
|
|
2654
|
+
* Gets the related records for a feature service.
|
|
2655
2655
|
*
|
|
2656
2656
|
* @param url Feature service's URL, e.g., layer.url
|
|
2657
2657
|
* @param layerId Id of layer within a feature service
|
|
2658
2658
|
* @param relationshipId Id of relationship
|
|
2659
2659
|
* @param objectIds Objects in the feature service whose related records are sought
|
|
2660
|
+
* @returns Promise resolving to an array of objects and their related records
|
|
2660
2661
|
*/
|
|
2661
2662
|
function _getFeatureServiceRelatedRecords(url, layerId, relationshipId, objectIds) {
|
|
2662
2663
|
// See if the URL points to a service rather than a layer
|
|
@@ -2665,11 +2666,33 @@ function _getFeatureServiceRelatedRecords(url, layerId, relationshipId, objectId
|
|
|
2665
2666
|
url += "/" + layerId.toString();
|
|
2666
2667
|
}
|
|
2667
2668
|
const options = {
|
|
2668
|
-
|
|
2669
|
+
definitionExpression: "1=1",
|
|
2670
|
+
httpMethod: "POST",
|
|
2671
|
+
objectIds,
|
|
2672
|
+
outFields: "*",
|
|
2669
2673
|
relationshipId,
|
|
2670
|
-
|
|
2674
|
+
url
|
|
2671
2675
|
};
|
|
2672
|
-
return
|
|
2676
|
+
return _getFeatureServiceRelatedRecordsTranche(options);
|
|
2677
|
+
}
|
|
2678
|
+
/**
|
|
2679
|
+
* Gets a tranche of related records for a feature service.
|
|
2680
|
+
*
|
|
2681
|
+
* @param options Options for arcgis-rest-js' queryRelated function
|
|
2682
|
+
* @param relationships Array of related records accumulated so far
|
|
2683
|
+
* @param resultOffset Number of records already retrieved
|
|
2684
|
+
* @returns Promise resolving to an array of objects and their related records
|
|
2685
|
+
*/
|
|
2686
|
+
function _getFeatureServiceRelatedRecordsTranche(options, relationships = [], resultOffset = 0) {
|
|
2687
|
+
return queryRelated(Object.assign(Object.assign({}, options), { params: {
|
|
2688
|
+
resultOffset
|
|
2689
|
+
} }))
|
|
2690
|
+
.then((response) => {
|
|
2691
|
+
relationships.push(...response.relatedRecordGroups);
|
|
2692
|
+
// If exceededTransferLimit is true, then there are more records to retrieve and the feature service
|
|
2693
|
+
// supports the resultOffset parameter
|
|
2694
|
+
return response.exceededTransferLimit ? _getFeatureServiceRelatedRecordsTranche(options, relationships, resultOffset + response.relatedRecordGroups.length) : Promise.resolve(relationships);
|
|
2695
|
+
});
|
|
2673
2696
|
}
|
|
2674
2697
|
/**
|
|
2675
2698
|
* Extracts field name expressions from the lines of a label format.
|
|
@@ -2744,11 +2767,9 @@ async function _getLabelFormat(webmap, layer, formatUsingLayerPopup) {
|
|
|
2744
2767
|
if (labelFormatType === "relationship") {
|
|
2745
2768
|
const relationshipId = layer.popupTemplate.content[0].relationshipId;
|
|
2746
2769
|
// Get related layer
|
|
2770
|
+
const layerRelationship = layer.relationships.find(relationship => relationship.id === relationshipId);
|
|
2747
2771
|
let webmapLayers = webmap.layers.toArray().concat(webmap.tables.toArray());
|
|
2748
|
-
webmapLayers = webmapLayers.filter((webmapLayer) => webmapLayer.type === "feature"
|
|
2749
|
-
&& webmapLayer.id !== layer.id
|
|
2750
|
-
&& webmapLayer.relationships
|
|
2751
|
-
&& webmapLayer.relationships.some(relationship => relationship.id === relationshipId));
|
|
2772
|
+
webmapLayers = webmapLayers.filter((webmapLayer) => webmapLayer.type === "feature" && webmapLayer.layerId === layerRelationship.relatedTableId);
|
|
2752
2773
|
if (webmapLayers.length > 0) {
|
|
2753
2774
|
labelFormatProps = await _getLabelFormat(webmap, webmapLayers[0], formatUsingLayerPopup);
|
|
2754
2775
|
labelFormatProps.relationshipId = relationshipId;
|
|
@@ -2927,18 +2948,54 @@ async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true,
|
|
|
2927
2948
|
const featureLayer = labelFormatProps.layer;
|
|
2928
2949
|
let featureSet = [];
|
|
2929
2950
|
if (typeof (labelFormatProps.relationshipId) !== "undefined") {
|
|
2930
|
-
// Get the related items for each id
|
|
2931
|
-
const
|
|
2951
|
+
// Get the related items for each id; we're asking for the full item
|
|
2952
|
+
const relatedRecordGroups = await _getFeatureServiceRelatedRecords(layer.url, layer.layerId, labelFormatProps.relationshipId, ids);
|
|
2953
|
+
// Extract the attributes from the results and merge them into a single list. relatedRecordGroups has the form
|
|
2954
|
+
// [{
|
|
2955
|
+
// "objectId",
|
|
2956
|
+
// "relatedRecords": [{
|
|
2957
|
+
// "attributes": {}
|
|
2958
|
+
// }, {
|
|
2959
|
+
// "attributes": {}
|
|
2960
|
+
// }, {
|
|
2961
|
+
// "attributes": {}
|
|
2962
|
+
// }]
|
|
2963
|
+
// }, {
|
|
2964
|
+
// "objectId",
|
|
2965
|
+
// "relatedRecords": [{
|
|
2966
|
+
// "attributes": {}
|
|
2967
|
+
// }, {
|
|
2968
|
+
// "attributes": {}
|
|
2969
|
+
// }, {
|
|
2970
|
+
// : :
|
|
2971
|
+
// }]
|
|
2972
|
+
// }, {
|
|
2973
|
+
// : :
|
|
2974
|
+
// }]
|
|
2975
|
+
const relatedFeatures = [];
|
|
2976
|
+
relatedRecordGroups.forEach((relatedRecGroup) => {
|
|
2977
|
+
relatedRecGroup.relatedRecords.forEach((relatedRec) => {
|
|
2978
|
+
relatedFeatures.push(relatedRec.attributes);
|
|
2979
|
+
});
|
|
2980
|
+
});
|
|
2981
|
+
// Sort and remove duplicates
|
|
2932
2982
|
const objectIdField = layer.objectIdField;
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2983
|
+
relatedFeatures.sort((a, b) => {
|
|
2984
|
+
if (a[objectIdField] < b[objectIdField]) {
|
|
2985
|
+
return -1;
|
|
2986
|
+
}
|
|
2987
|
+
else if (a[objectIdField] > b[objectIdField]) {
|
|
2988
|
+
return 1;
|
|
2989
|
+
}
|
|
2990
|
+
else {
|
|
2991
|
+
return 0;
|
|
2992
|
+
}
|
|
2936
2993
|
});
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2994
|
+
featureSet = relatedFeatures.filter((feature, i) => i === 0 ? true : feature[objectIdField] !== relatedFeatures[i - 1][objectIdField]);
|
|
2995
|
+
// Handle the special case where no related records were found for the set of features
|
|
2996
|
+
if (featureSet.length === 0) {
|
|
2997
|
+
return Promise.resolve([]);
|
|
2998
|
+
}
|
|
2942
2999
|
}
|
|
2943
3000
|
else {
|
|
2944
3001
|
// Get the features to export
|
|
@@ -2948,12 +3005,21 @@ async function _prepareLabels(webmap, layer, ids, formatUsingLayerPopup = true,
|
|
|
2948
3005
|
const attributeOrigNames = {};
|
|
2949
3006
|
const attributeTypes = {};
|
|
2950
3007
|
const attributeDomains = {};
|
|
2951
|
-
featureLayer.fields
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
|
|
3008
|
+
if (featureLayer.fields) {
|
|
3009
|
+
featureLayer.fields.forEach(field => {
|
|
3010
|
+
const lowercaseFieldname = field.name.toLowerCase();
|
|
3011
|
+
attributeOrigNames[lowercaseFieldname] = field.name;
|
|
3012
|
+
attributeDomains[lowercaseFieldname] = field.domain;
|
|
3013
|
+
attributeTypes[lowercaseFieldname] = field.type;
|
|
3014
|
+
});
|
|
3015
|
+
}
|
|
3016
|
+
else {
|
|
3017
|
+
// Feature layer is missing fields, so get info from first feature
|
|
3018
|
+
Object.keys(featureSet[0]).forEach(fieldName => {
|
|
3019
|
+
const lowercaseFieldname = fieldName.toLowerCase();
|
|
3020
|
+
attributeOrigNames[lowercaseFieldname] = fieldName;
|
|
3021
|
+
});
|
|
3022
|
+
}
|
|
2957
3023
|
// Apply the label format
|
|
2958
3024
|
const labels = labelFormatProps.labelFormat.type === "pattern" ?
|
|
2959
3025
|
// Export attributes in format
|
|
@@ -3021,6 +3087,7 @@ featureSet, attributeOrigNames, attributeTypes, attributeDomains, attributeForma
|
|
|
3021
3087
|
//const arcadeExpressionMatches = labelFormat.match(arcadeExpressionRegExp) ?? [];
|
|
3022
3088
|
// Convert feature attributes into an array of labels
|
|
3023
3089
|
const labels = await Promise.all(featureSet.map(async (feature) => {
|
|
3090
|
+
var _a;
|
|
3024
3091
|
let labelPrep = labelFormat;
|
|
3025
3092
|
/*
|
|
3026
3093
|
// Replace Arcade expressions in this feature
|
|
@@ -3032,9 +3099,10 @@ featureSet, attributeOrigNames, attributeTypes, attributeDomains, attributeForma
|
|
|
3032
3099
|
}
|
|
3033
3100
|
*/
|
|
3034
3101
|
// Replace non-Arcade fields in this feature
|
|
3102
|
+
const attributeValues = (_a = feature.attributes) !== null && _a !== void 0 ? _a : feature;
|
|
3035
3103
|
attributeNames.forEach((attributeName, i) => {
|
|
3036
3104
|
const lowercaseFieldname = attributeName.toLowerCase();
|
|
3037
|
-
const value = _prepareAttributeValue(
|
|
3105
|
+
const value = _prepareAttributeValue(attributeValues[attributeOrigNames[lowercaseFieldname]], attributeTypes[lowercaseFieldname], attributeDomains[lowercaseFieldname], attributeFormats[lowercaseFieldname], intl);
|
|
3038
3106
|
labelPrep = labelPrep.replace(attributeExpressionMatches[i], value);
|
|
3039
3107
|
});
|
|
3040
3108
|
// Split label into lines
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { f as forceUpdate, h } from './index-
|
|
6
|
+
import { f as forceUpdate, h } from './index-b05b3079.js';
|
|
7
7
|
import { a as getElementDir } from './dom-923ca11d.js';
|
|
8
8
|
import { S as SLOTS$1 } from './resources-0fa1514d.js';
|
|
9
9
|
import { S as SLOTS } from './resources-27261bc6.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { h } from './index-
|
|
6
|
+
import { h } from './index-b05b3079.js';
|
|
7
7
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { h } from './index-
|
|
6
|
+
import { h } from './index-b05b3079.js';
|
|
7
7
|
|
|
8
8
|
/*!
|
|
9
9
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { d as dayjs } from './calcite-input-time-picker-
|
|
7
|
-
import './index-
|
|
8
|
-
import './form-
|
|
6
|
+
import { d as dayjs } from './calcite-input-time-picker-970d2da4.js';
|
|
7
|
+
import './index-b05b3079.js';
|
|
8
|
+
import './form-77fd19cb.js';
|
|
9
9
|
import './dom-923ca11d.js';
|
|
10
10
|
import './guid-99d025c6.js';
|
|
11
11
|
import './resources-bb8600a6.js';
|
|
@@ -13,14 +13,14 @@ import './interactive-e95bbf6b.js';
|
|
|
13
13
|
import './browser-b8a2c2d7.js';
|
|
14
14
|
import './key-5ab69c42.js';
|
|
15
15
|
import './label-be61f66c.js';
|
|
16
|
-
import './loadable-
|
|
16
|
+
import './loadable-9617e31c.js';
|
|
17
17
|
import './locale-76c0c1d9.js';
|
|
18
18
|
import './observers-115d1b4b.js';
|
|
19
19
|
import './focusTrapComponent-d703f459.js';
|
|
20
20
|
import './time-a725be63.js';
|
|
21
21
|
import './math-26607e9b.js';
|
|
22
|
-
import './t9n-
|
|
23
|
-
import './openCloseComponent-
|
|
22
|
+
import './t9n-709a2605.js';
|
|
23
|
+
import './openCloseComponent-ecc80ec6.js';
|
|
24
24
|
|
|
25
25
|
// Arabic [ar]
|
|
26
26
|
var months = 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_');
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-
|
|
7
|
-
import { l as loadModules } from './loadModules-
|
|
8
|
-
import { g as getLocaleComponentStrings } from './locale-
|
|
6
|
+
import { r as registerInstance, h, H as Host, g as getElement, c as createEvent } from './index-b05b3079.js';
|
|
7
|
+
import { l as loadModules } from './loadModules-0bf05e85.js';
|
|
8
|
+
import { g as getLocaleComponentStrings } from './locale-5bdc0197.js';
|
|
9
9
|
import './_commonjsHelpers-d5f9d613.js';
|
|
10
10
|
|
|
11
11
|
const basemapGalleryCss = ":host{display:block}";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { d as dayjs } from './calcite-input-time-picker-
|
|
7
|
-
import './index-
|
|
8
|
-
import './form-
|
|
6
|
+
import { d as dayjs } from './calcite-input-time-picker-970d2da4.js';
|
|
7
|
+
import './index-b05b3079.js';
|
|
8
|
+
import './form-77fd19cb.js';
|
|
9
9
|
import './dom-923ca11d.js';
|
|
10
10
|
import './guid-99d025c6.js';
|
|
11
11
|
import './resources-bb8600a6.js';
|
|
@@ -13,14 +13,14 @@ import './interactive-e95bbf6b.js';
|
|
|
13
13
|
import './browser-b8a2c2d7.js';
|
|
14
14
|
import './key-5ab69c42.js';
|
|
15
15
|
import './label-be61f66c.js';
|
|
16
|
-
import './loadable-
|
|
16
|
+
import './loadable-9617e31c.js';
|
|
17
17
|
import './locale-76c0c1d9.js';
|
|
18
18
|
import './observers-115d1b4b.js';
|
|
19
19
|
import './focusTrapComponent-d703f459.js';
|
|
20
20
|
import './time-a725be63.js';
|
|
21
21
|
import './math-26607e9b.js';
|
|
22
|
-
import './t9n-
|
|
23
|
-
import './openCloseComponent-
|
|
22
|
+
import './t9n-709a2605.js';
|
|
23
|
+
import './openCloseComponent-ecc80ec6.js';
|
|
24
24
|
|
|
25
25
|
// Bulgarian [bg]
|
|
26
26
|
var locale = {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
5
5
|
*/
|
|
6
|
-
import { d as dayjs } from './calcite-input-time-picker-
|
|
7
|
-
import './index-
|
|
8
|
-
import './form-
|
|
6
|
+
import { d as dayjs } from './calcite-input-time-picker-970d2da4.js';
|
|
7
|
+
import './index-b05b3079.js';
|
|
8
|
+
import './form-77fd19cb.js';
|
|
9
9
|
import './dom-923ca11d.js';
|
|
10
10
|
import './guid-99d025c6.js';
|
|
11
11
|
import './resources-bb8600a6.js';
|
|
@@ -13,14 +13,14 @@ import './interactive-e95bbf6b.js';
|
|
|
13
13
|
import './browser-b8a2c2d7.js';
|
|
14
14
|
import './key-5ab69c42.js';
|
|
15
15
|
import './label-be61f66c.js';
|
|
16
|
-
import './loadable-
|
|
16
|
+
import './loadable-9617e31c.js';
|
|
17
17
|
import './locale-76c0c1d9.js';
|
|
18
18
|
import './observers-115d1b4b.js';
|
|
19
19
|
import './focusTrapComponent-d703f459.js';
|
|
20
20
|
import './time-a725be63.js';
|
|
21
21
|
import './math-26607e9b.js';
|
|
22
|
-
import './t9n-
|
|
23
|
-
import './openCloseComponent-
|
|
22
|
+
import './t9n-709a2605.js';
|
|
23
|
+
import './openCloseComponent-ecc80ec6.js';
|
|
24
24
|
|
|
25
25
|
// Bosnian [bs]
|
|
26
26
|
var locale = {
|