@esri/solutions-components 0.8.13 → 0.8.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/arcgis-pdf-creator/PDFLabels.d.ts +218 -0
- package/dist/assets/t9n/crowdsource-reporter/resources.json +0 -1
- package/dist/assets/t9n/crowdsource-reporter/resources_ar.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_bg.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_bs.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_ca.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_cs.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_da.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_de.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_el.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_en.json +0 -1
- package/dist/assets/t9n/crowdsource-reporter/resources_es.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_et.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_fi.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_fr.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_he.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_hr.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_hu.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_id.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_it.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_ja.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_ko.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_lt.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_lv.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_nb.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_nl.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_pl.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_pt-BR.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_pt-PT.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_ro.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_ru.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_sk.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_sl.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_sr.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_sv.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_th.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_tr.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_uk.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_vi.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_zh-CN.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_zh-HK.json +15 -7
- package/dist/assets/t9n/crowdsource-reporter/resources_zh-TW.json +15 -7
- package/dist/assets/t9n/feature-list/resources_ar.json +1 -1
- package/dist/assets/t9n/feature-list/resources_bg.json +1 -1
- package/dist/assets/t9n/feature-list/resources_bs.json +1 -1
- package/dist/assets/t9n/feature-list/resources_ca.json +1 -1
- package/dist/assets/t9n/feature-list/resources_cs.json +1 -1
- package/dist/assets/t9n/feature-list/resources_da.json +1 -1
- package/dist/assets/t9n/feature-list/resources_de.json +1 -1
- package/dist/assets/t9n/feature-list/resources_el.json +1 -1
- package/dist/assets/t9n/feature-list/resources_es.json +1 -1
- package/dist/assets/t9n/feature-list/resources_et.json +1 -1
- package/dist/assets/t9n/feature-list/resources_fi.json +1 -1
- package/dist/assets/t9n/feature-list/resources_fr.json +1 -1
- package/dist/assets/t9n/feature-list/resources_he.json +1 -1
- package/dist/assets/t9n/feature-list/resources_hr.json +1 -1
- package/dist/assets/t9n/feature-list/resources_hu.json +1 -1
- package/dist/assets/t9n/feature-list/resources_id.json +1 -1
- package/dist/assets/t9n/feature-list/resources_it.json +1 -1
- package/dist/assets/t9n/feature-list/resources_ja.json +1 -1
- package/dist/assets/t9n/feature-list/resources_ko.json +1 -1
- package/dist/assets/t9n/feature-list/resources_lt.json +1 -1
- package/dist/assets/t9n/feature-list/resources_lv.json +1 -1
- package/dist/assets/t9n/feature-list/resources_nb.json +1 -1
- package/dist/assets/t9n/feature-list/resources_nl.json +1 -1
- package/dist/assets/t9n/feature-list/resources_pl.json +1 -1
- package/dist/assets/t9n/feature-list/resources_pt-BR.json +1 -1
- package/dist/assets/t9n/feature-list/resources_pt-PT.json +1 -1
- package/dist/assets/t9n/feature-list/resources_ro.json +1 -1
- package/dist/assets/t9n/feature-list/resources_ru.json +1 -1
- package/dist/assets/t9n/feature-list/resources_sk.json +1 -1
- package/dist/assets/t9n/feature-list/resources_sl.json +1 -1
- package/dist/assets/t9n/feature-list/resources_sr.json +1 -1
- package/dist/assets/t9n/feature-list/resources_sv.json +1 -1
- package/dist/assets/t9n/feature-list/resources_th.json +1 -1
- package/dist/assets/t9n/feature-list/resources_tr.json +1 -1
- package/dist/assets/t9n/feature-list/resources_uk.json +1 -1
- package/dist/assets/t9n/feature-list/resources_vi.json +1 -1
- package/dist/assets/t9n/feature-list/resources_zh-CN.json +1 -1
- package/dist/assets/t9n/feature-list/resources_zh-HK.json +1 -1
- package/dist/assets/t9n/feature-list/resources_zh-TW.json +1 -1
- package/dist/assets/t9n/layer-list/resources.json +1 -1
- package/dist/assets/t9n/layer-list/resources_en.json +1 -1
- package/dist/assets/t9n/media-card/resources.json +1 -3
- package/dist/assets/t9n/media-card/resources_ar.json +3 -0
- package/dist/assets/t9n/media-card/resources_bg.json +3 -0
- package/dist/assets/t9n/media-card/resources_bs.json +3 -0
- package/dist/assets/t9n/media-card/resources_ca.json +3 -0
- package/dist/assets/t9n/media-card/resources_cs.json +3 -0
- package/dist/assets/t9n/media-card/resources_da.json +3 -0
- package/dist/assets/t9n/media-card/resources_de.json +3 -0
- package/dist/assets/t9n/media-card/resources_el.json +3 -0
- package/dist/assets/t9n/media-card/resources_en.json +1 -3
- package/dist/assets/t9n/media-card/resources_es.json +3 -0
- package/dist/assets/t9n/media-card/resources_et.json +3 -0
- package/dist/assets/t9n/media-card/resources_fi.json +3 -0
- package/dist/assets/t9n/media-card/resources_fr.json +3 -0
- package/dist/assets/t9n/media-card/resources_he.json +3 -0
- package/dist/assets/t9n/media-card/resources_hr.json +3 -0
- package/dist/assets/t9n/media-card/resources_hu.json +3 -0
- package/dist/assets/t9n/media-card/resources_id.json +3 -0
- package/dist/assets/t9n/media-card/resources_it.json +3 -0
- package/dist/assets/t9n/media-card/resources_ja.json +3 -0
- package/dist/assets/t9n/media-card/resources_ko.json +3 -0
- package/dist/assets/t9n/media-card/resources_lt.json +3 -0
- package/dist/assets/t9n/media-card/resources_lv.json +3 -0
- package/dist/assets/t9n/media-card/resources_nb.json +3 -0
- package/dist/assets/t9n/media-card/resources_nl.json +3 -0
- package/dist/assets/t9n/media-card/resources_pl.json +3 -0
- package/dist/assets/t9n/media-card/resources_pt-BR.json +3 -0
- package/dist/assets/t9n/media-card/resources_pt-PT.json +3 -0
- package/dist/assets/t9n/media-card/resources_ro.json +3 -0
- package/dist/assets/t9n/media-card/resources_ru.json +3 -0
- package/dist/assets/t9n/media-card/resources_sk.json +3 -0
- package/dist/assets/t9n/media-card/resources_sl.json +3 -0
- package/dist/assets/t9n/media-card/resources_sr.json +3 -0
- package/dist/assets/t9n/media-card/resources_sv.json +3 -0
- package/dist/assets/t9n/media-card/resources_th.json +3 -0
- package/dist/assets/t9n/media-card/resources_tr.json +3 -0
- package/dist/assets/t9n/media-card/resources_uk.json +3 -0
- package/dist/assets/t9n/media-card/resources_vi.json +3 -0
- package/dist/assets/t9n/media-card/resources_zh-CN.json +3 -0
- package/dist/assets/t9n/media-card/resources_zh-HK.json +3 -0
- package/dist/assets/t9n/media-card/resources_zh-TW.json +3 -0
- package/dist/assets/t9n/public-notification/resources_ar.json +3 -1
- package/dist/assets/t9n/public-notification/resources_bg.json +3 -1
- package/dist/assets/t9n/public-notification/resources_bs.json +3 -1
- package/dist/assets/t9n/public-notification/resources_ca.json +3 -1
- package/dist/assets/t9n/public-notification/resources_cs.json +3 -1
- package/dist/assets/t9n/public-notification/resources_da.json +3 -1
- package/dist/assets/t9n/public-notification/resources_de.json +3 -1
- package/dist/assets/t9n/public-notification/resources_el.json +3 -1
- package/dist/assets/t9n/public-notification/resources_es.json +3 -1
- package/dist/assets/t9n/public-notification/resources_et.json +3 -1
- package/dist/assets/t9n/public-notification/resources_fi.json +3 -1
- package/dist/assets/t9n/public-notification/resources_fr.json +3 -1
- package/dist/assets/t9n/public-notification/resources_he.json +3 -1
- package/dist/assets/t9n/public-notification/resources_hr.json +3 -1
- package/dist/assets/t9n/public-notification/resources_hu.json +3 -1
- package/dist/assets/t9n/public-notification/resources_id.json +3 -1
- package/dist/assets/t9n/public-notification/resources_it.json +3 -1
- package/dist/assets/t9n/public-notification/resources_ja.json +3 -1
- package/dist/assets/t9n/public-notification/resources_ko.json +3 -1
- package/dist/assets/t9n/public-notification/resources_lt.json +3 -1
- package/dist/assets/t9n/public-notification/resources_lv.json +3 -1
- package/dist/assets/t9n/public-notification/resources_nb.json +3 -1
- package/dist/assets/t9n/public-notification/resources_nl.json +3 -1
- package/dist/assets/t9n/public-notification/resources_pl.json +3 -1
- package/dist/assets/t9n/public-notification/resources_pt-BR.json +3 -1
- package/dist/assets/t9n/public-notification/resources_pt-PT.json +3 -1
- package/dist/assets/t9n/public-notification/resources_ro.json +3 -1
- package/dist/assets/t9n/public-notification/resources_ru.json +3 -1
- package/dist/assets/t9n/public-notification/resources_sk.json +3 -1
- package/dist/assets/t9n/public-notification/resources_sl.json +3 -1
- package/dist/assets/t9n/public-notification/resources_sr.json +3 -1
- package/dist/assets/t9n/public-notification/resources_sv.json +3 -1
- package/dist/assets/t9n/public-notification/resources_th.json +3 -1
- package/dist/assets/t9n/public-notification/resources_tr.json +3 -1
- package/dist/assets/t9n/public-notification/resources_uk.json +3 -1
- package/dist/assets/t9n/public-notification/resources_vi.json +3 -1
- package/dist/assets/t9n/public-notification/resources_zh-CN.json +3 -1
- package/dist/assets/t9n/public-notification/resources_zh-HK.json +3 -1
- package/dist/assets/t9n/public-notification/resources_zh-TW.json +3 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +6 -6
- package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-alert_4.cjs.entry.js +12 -8
- package/dist/cjs/calcite-dropdown_4.cjs.entry.js +2 -2
- package/dist/cjs/calcite-flow_6.cjs.entry.js +320 -255
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +7 -7
- package/dist/cjs/card-manager_3.cjs.entry.js +6 -6
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -2
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +181 -54
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{downloadUtils-88c011ad.js → downloadUtils-2e36a300.js} +31 -35
- package/dist/cjs/feature-comments.cjs.entry.js +1 -1
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +297 -0
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/{index.es-1d5ee842.js → index.es-56415e48.js} +2 -2
- package/dist/cjs/layout-manager.cjs.entry.js +1 -1
- package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/{mapViewUtils-82018df6.js → mapViewUtils-6e46ba33.js} +16 -0
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +3 -3
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
- package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
- package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/create-related-feature/create-related-feature.css +8 -0
- package/dist/collection/components/create-related-feature/create-related-feature.js +426 -0
- package/dist/collection/components/create-related-feature/test/create-related-feature.e2e.js +14 -0
- package/dist/collection/components/create-related-feature/test/create-related-feature.spec.js +22 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +1 -0
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +370 -221
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +1 -1
- package/dist/collection/components/edit-card/edit-card.js +1 -1
- package/dist/collection/components/feature-comments/feature-comments.js +1 -1
- package/dist/collection/components/feature-details/feature-details.css +6 -3
- package/dist/collection/components/feature-details/feature-details.js +95 -9
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.css +6 -1
- package/dist/collection/components/feature-list/feature-list.js +133 -13
- package/dist/collection/components/features-flow-item/features-flow-item.js +1 -1
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +11 -7
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-list/layer-list.js +3 -23
- package/dist/collection/components/layer-table/layer-table.css +4 -0
- package/dist/collection/components/layer-table/layer-table.js +2 -2
- package/dist/collection/components/layout-manager/layout-manager.js +1 -1
- package/dist/collection/components/list-flow-item/list-flow-item.js +1 -1
- package/dist/collection/components/location-flow-item/location-flow-item.js +1 -1
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +1 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/components/public-notification/public-notification.js +1 -1
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +1 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
- package/dist/collection/components/solution-variables/solution-variables.js +1 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
- package/dist/collection/demos/crowdsource-manager.html +3 -3
- package/dist/collection/utils/downloadUtils.js +0 -1
- package/dist/collection/utils/interfaces.ts +5 -0
- package/dist/collection/utils/mapViewUtils.js +15 -0
- package/dist/collection/utils/mapViewUtils.ts +19 -1
- package/dist/collection/utils/pdfUtils.js +29 -34
- package/dist/collection/utils/pdfUtils.ts +40 -47
- package/dist/components/create-related-feature.d.ts +11 -0
- package/dist/components/create-related-feature.js +11 -0
- package/dist/components/create-related-feature2.js +274 -0
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/crowdsource-reporter.js +287 -148
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +1 -1
- package/dist/components/downloadUtils.js +29 -33
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +163 -40
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +64 -16
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/info-card2.js +9 -5
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/layer-list2.js +3 -7
- package/dist/components/layer-table2.js +3 -3
- package/dist/components/layout-manager.js +1 -1
- package/dist/components/list-flow-item.js +1 -1
- package/dist/components/location-flow-item.js +1 -1
- package/dist/components/map-card2.js +1 -1
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +1 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +1 -1
- package/dist/components/map-tools2.js +1 -1
- package/dist/components/mapViewUtils.js +16 -1
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +1 -1
- package/dist/components/refine-results-flow-item.js +1 -1
- package/dist/components/refine-selection2.js +2 -2
- package/dist/components/share-item.js +1 -1
- package/dist/components/solution-configuration.js +3 -3
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-details2.js +1 -1
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +1 -1
- package/dist/components/solution-item2.js +1 -1
- package/dist/components/solution-organization-variables2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-spatial-ref2.js +1 -1
- package/dist/components/solution-template-data2.js +1 -1
- package/dist/components/solution-variables2.js +1 -1
- package/dist/components/spatial-ref2.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +6 -6
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/calcite-alert_4.entry.js +12 -8
- package/dist/esm/calcite-dropdown_4.entry.js +2 -2
- package/dist/esm/calcite-flow_6.entry.js +321 -256
- package/dist/esm/calcite-shell-panel_14.entry.js +7 -7
- package/dist/esm/card-manager_3.entry.js +6 -6
- package/dist/esm/crowdsource-manager.entry.js +2 -2
- package/dist/esm/crowdsource-reporter.entry.js +182 -55
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/{downloadUtils-fa6e5c37.js → downloadUtils-aab31bfe.js} +31 -35
- package/dist/esm/feature-comments.entry.js +1 -1
- package/dist/esm/feature-form-flow-item.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +293 -0
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/{index.es-114545fc.js → index.es-43ba3006.js} +2 -2
- package/dist/esm/layout-manager.entry.js +1 -1
- package/dist/esm/list-flow-item.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/location-flow-item.entry.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +5 -5
- package/dist/esm/{mapViewUtils-c83c03a4.js → mapViewUtils-4618ddb8.js} +16 -1
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +3 -3
- package/dist/esm/refine-results-flow-item.entry.js +1 -1
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/solution-configuration.entry.js +3 -3
- package/dist/esm/solution-contents_3.entry.js +3 -3
- package/dist/esm/solution-item-icon.entry.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +1 -1
- package/dist/solutions-components/demos/crowdsource-manager.html +3 -3
- package/dist/solutions-components/{p-afdc6bb2.entry.js → p-102b1f94.entry.js} +1 -1
- package/dist/solutions-components/p-22aece81.entry.js +6 -0
- package/dist/solutions-components/p-28c6906c.entry.js +6 -0
- package/dist/solutions-components/{p-71bdc77f.entry.js → p-33845a79.entry.js} +1 -1
- package/dist/solutions-components/{p-16ac309d.entry.js → p-3470c0f7.entry.js} +1 -1
- package/dist/solutions-components/p-3750c969.entry.js +6 -0
- package/dist/solutions-components/{p-ee457c15.js → p-37fc92db.js} +3 -3
- package/dist/solutions-components/{p-59c92ba2.entry.js → p-3a2e0188.entry.js} +1 -1
- package/dist/solutions-components/p-3fae9775.entry.js +6 -0
- package/dist/solutions-components/{p-0f139e3e.entry.js → p-54324eaa.entry.js} +1 -1
- package/dist/solutions-components/{p-d9c89479.js → p-583e5dd0.js} +1 -1
- package/dist/solutions-components/{p-69935f68.entry.js → p-667c022f.entry.js} +1 -1
- package/dist/solutions-components/{p-247edfb2.js → p-667caa6b.js} +1 -1
- package/dist/solutions-components/p-71de367b.entry.js +6 -0
- package/dist/solutions-components/{p-32fed174.entry.js → p-84a5d221.entry.js} +1 -1
- package/dist/solutions-components/{p-6e8782d1.entry.js → p-88f73319.entry.js} +1 -1
- package/dist/solutions-components/p-8a81f3c7.entry.js +6 -0
- package/dist/solutions-components/{p-288592d4.entry.js → p-92ed8d5d.entry.js} +1 -1
- package/dist/solutions-components/p-aa06f4d1.entry.js +6 -0
- package/dist/solutions-components/{p-67ee4afe.entry.js → p-b3160299.entry.js} +4 -4
- package/dist/solutions-components/p-b6d47bab.entry.js +17 -0
- package/dist/solutions-components/{p-bcf20616.entry.js → p-b76b5310.entry.js} +1 -1
- package/dist/solutions-components/{p-62994fb8.entry.js → p-bb0c7be3.entry.js} +3 -3
- package/dist/solutions-components/{p-7fdcce90.entry.js → p-bf57dbfd.entry.js} +2 -2
- package/dist/solutions-components/p-c047a6fc.entry.js +6 -0
- package/dist/solutions-components/{p-83997457.entry.js → p-d84fe0ee.entry.js} +2 -2
- package/dist/solutions-components/p-e9176a44.entry.js +6 -0
- package/dist/solutions-components/p-e947332f.entry.js +6 -0
- package/dist/solutions-components/{p-568c465e.entry.js → p-fc665a1a.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +5 -0
- package/dist/solutions-components/utils/mapViewUtils.ts +19 -1
- package/dist/solutions-components/utils/pdfUtils.ts +40 -47
- package/dist/types/assets/arcgis-pdf-creator/PDFLabels.d.ts +218 -0
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +113 -0
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +197 -99
- package/dist/types/components/feature-details/feature-details.d.ts +31 -0
- package/dist/types/components/feature-list/feature-list.d.ts +31 -2
- package/dist/types/components/info-card/info-card.d.ts +6 -2
- package/dist/types/components/layer-list/layer-list.d.ts +0 -5
- package/dist/types/components.d.ts +131 -12
- package/dist/types/preact.d.ts +8 -1
- package/dist/types/utils/interfaces.d.ts +4 -0
- package/dist/types/utils/mapViewUtils.d.ts +7 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-28b4b325.entry.js +0 -6
- package/dist/solutions-components/p-36d3476c.entry.js +0 -17
- package/dist/solutions-components/p-43d0788d.entry.js +0 -6
- package/dist/solutions-components/p-452d2d38.entry.js +0 -6
- package/dist/solutions-components/p-48b2469f.entry.js +0 -6
- package/dist/solutions-components/p-4f0712e2.entry.js +0 -6
- package/dist/solutions-components/p-535c103e.entry.js +0 -6
- package/dist/solutions-components/p-7ca416ab.entry.js +0 -6
- package/dist/solutions-components/p-8e337f80.entry.js +0 -6
- package/dist/solutions-components/p-d62b99ff.entry.js +0 -6
@@ -25,7 +25,7 @@ import { d as defineCustomElement$3 } from './progress.js';
|
|
25
25
|
import { d as defineCustomElement$2 } from './scrim.js';
|
26
26
|
import { d as defineCustomElement$1 } from './stack.js';
|
27
27
|
|
28
|
-
const featureListCss = ":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.popup-title{font-weight:500;padding:10px 12px}";
|
28
|
+
const featureListCss = ":host{display:block}.width-full{width:100%}.pagination{display:flex;justify-content:center}.error-msg{padding:10px;width:calc(100% - 20px)}.feature-list-popup-title{font-weight:500;padding:10px 12px}.feature-list-popup-title-small{font-size:x-small;padding:10px 12px}";
|
29
29
|
const FeatureListStyle0 = featureListCss;
|
30
30
|
|
31
31
|
const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends HTMLElement {
|
@@ -39,6 +39,10 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
39
39
|
this.pageSize = 100;
|
40
40
|
this.highlightOnMap = false;
|
41
41
|
this.highlightOnHover = false;
|
42
|
+
this.sortingInfo = undefined;
|
43
|
+
this.whereClause = undefined;
|
44
|
+
this.textSize = "large";
|
45
|
+
this.showInitialLoading = true;
|
42
46
|
this._featureItems = [];
|
43
47
|
this._featuresCount = 0;
|
44
48
|
this._isLoading = false;
|
@@ -56,6 +60,18 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
56
60
|
this._selectedLayer = await getLayerOrTable(this.mapView, this.selectedLayerId);
|
57
61
|
await this.initializeFeatureItems();
|
58
62
|
}
|
63
|
+
/**
|
64
|
+
* Watch for sorting field or order change and update the features list
|
65
|
+
*/
|
66
|
+
async sortingInfoWatchHandler() {
|
67
|
+
await this.initializeFeatureItems();
|
68
|
+
}
|
69
|
+
/**
|
70
|
+
* Watch for whereclause change and update the features list
|
71
|
+
*/
|
72
|
+
async whereClauseHandler() {
|
73
|
+
await this.initializeFeatureItems();
|
74
|
+
}
|
59
75
|
//--------------------------------------------------------------------------
|
60
76
|
//
|
61
77
|
// Methods (public)
|
@@ -78,7 +94,7 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
78
94
|
async componentWillLoad() {
|
79
95
|
await this.initModules();
|
80
96
|
await this._getTranslations();
|
81
|
-
this._isLoading =
|
97
|
+
this._isLoading = this.showInitialLoading;
|
82
98
|
this._popupUtils = new PopupUtils();
|
83
99
|
if (this.mapView && this.selectedLayerId) {
|
84
100
|
this._selectedLayer = await getLayerOrTable(this.mapView, this.selectedLayerId);
|
@@ -94,9 +110,9 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
94
110
|
* Renders the component.
|
95
111
|
*/
|
96
112
|
render() {
|
97
|
-
return (h("calcite-panel", { key: '
|
98
|
-
h("calcite-notice", { key: '
|
99
|
-
h("div", { key: '
|
113
|
+
return (h("calcite-panel", { key: '37f83a9c019e68213493f5e890324470389cd36f', "full-height": true, "full-width": true }, this._isLoading && h("calcite-loader", { key: '671559375bb5fcdc8a01f9f10a82ab71edc0d836', label: "", scale: "m" }), this._featureItems.length === 0 && !this._isLoading &&
|
114
|
+
h("calcite-notice", { key: 'f6101de52464f2316bfbb83919036b4cf035f8b9', class: "error-msg", icon: "feature-details", kind: "info", open: true }, h("div", { key: 'e49017399909f1d0b93ec4e24341b9042267977f', slot: "message" }, this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), h("calcite-list", { key: '2e90c0aec739fcce422ff730a39adc85b71a84cb', "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
|
115
|
+
h("div", { key: '4b59248846c5b433bb88171c322070a13002f23d', class: "width-full", slot: "footer" }, h("calcite-pagination", { key: '1ca5dbccdc59379999a94198d7ac6111e1ef547b', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, "start-item": "1", "total-items": this._featuresCount }))));
|
100
116
|
}
|
101
117
|
//--------------------------------------------------------------------------
|
102
118
|
//
|
@@ -114,15 +130,36 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
114
130
|
]);
|
115
131
|
this.Color = Color;
|
116
132
|
}
|
133
|
+
/**
|
134
|
+
* Return the where condition string considering the defined where clause and layer's definition expression
|
135
|
+
* @protected
|
136
|
+
*/
|
137
|
+
getWhereCondition() {
|
138
|
+
var _a;
|
139
|
+
//By Default load all the features
|
140
|
+
let whereClause = '1=1';
|
141
|
+
//if where clause is defined use it
|
142
|
+
if (this.whereClause) {
|
143
|
+
whereClause = this.whereClause;
|
144
|
+
}
|
145
|
+
//if layer has definitionExpression append it to the where clause
|
146
|
+
if ((_a = this._selectedLayer) === null || _a === void 0 ? void 0 : _a.definitionExpression) {
|
147
|
+
whereClause = whereClause + ' AND ' + this._selectedLayer.definitionExpression;
|
148
|
+
}
|
149
|
+
return whereClause;
|
150
|
+
}
|
117
151
|
/**
|
118
152
|
* Initialize the features list using the selected layer
|
119
153
|
* @protected
|
120
154
|
*/
|
121
155
|
async initializeFeatureItems() {
|
122
156
|
if (this._selectedLayer) {
|
123
|
-
this._isLoading =
|
157
|
+
this._isLoading = this.showInitialLoading;
|
124
158
|
this._featureItems = await this.queryPage(0);
|
125
|
-
|
159
|
+
const query = {
|
160
|
+
where: this.getWhereCondition()
|
161
|
+
};
|
162
|
+
this._featuresCount = await this._selectedLayer.queryFeatureCount(query);
|
126
163
|
this._isLoading = false;
|
127
164
|
}
|
128
165
|
}
|
@@ -173,7 +210,7 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
173
210
|
}
|
174
211
|
/**
|
175
212
|
* On feature hover in feature list highlight the feature on the map
|
176
|
-
* @param selectedFeature
|
213
|
+
* @param selectedFeature mouse hovered feature graphic
|
177
214
|
* @protected
|
178
215
|
*/
|
179
216
|
async onFeatureHover(selectedFeature) {
|
@@ -203,19 +240,21 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
203
240
|
* @protected
|
204
241
|
*/
|
205
242
|
async queryPage(page) {
|
243
|
+
var _a, _b;
|
206
244
|
const featureLayer = this._selectedLayer;
|
207
|
-
const
|
245
|
+
const sortField = ((_a = this.sortingInfo) === null || _a === void 0 ? void 0 : _a.field) ? this.sortingInfo.field : featureLayer.objectIdField;
|
246
|
+
const sortOrder = ((_b = this.sortingInfo) === null || _b === void 0 ? void 0 : _b.order) ? this.sortingInfo.order : 'desc';
|
208
247
|
const query = {
|
209
248
|
start: page,
|
210
249
|
num: this.pageSize,
|
211
250
|
outFields: ["*"],
|
212
251
|
returnGeometry: true,
|
213
|
-
where:
|
252
|
+
where: this.getWhereCondition(),
|
214
253
|
outSpatialReference: this.mapView.spatialReference.toJSON()
|
215
254
|
};
|
216
|
-
//sort only when
|
217
|
-
if (
|
218
|
-
query.orderByFields = [
|
255
|
+
//sort only when sort field and order is valid
|
256
|
+
if (sortField && sortOrder) {
|
257
|
+
query.orderByFields = [sortField.toString() + " " + sortOrder];
|
219
258
|
}
|
220
259
|
const featureSet = await featureLayer.queryFeatures(query);
|
221
260
|
return await this.createFeatureItem(featureSet);
|
@@ -246,7 +285,8 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
246
285
|
const oId = selectedFeature.attributes[this._selectedLayer.objectIdField].toString();
|
247
286
|
//use object id if popupTitle is null or undefined
|
248
287
|
popupTitle = popupTitle !== null && popupTitle !== void 0 ? popupTitle : oId;
|
249
|
-
|
288
|
+
const popupTitleClass = this.textSize === 'small' ? 'feature-list-popup-title-small' : 'feature-list-popup-title';
|
289
|
+
return (h("calcite-list-item", { onCalciteListItemSelect: (e) => { void this.featureClicked(e, selectedFeature); }, onMouseLeave: () => { void this.clearHighlights(); }, onMouseOver: () => { void this.onFeatureHover(selectedFeature); }, value: oId }, h("div", { class: popupTitleClass, slot: "content-start" }, popupTitle), h("calcite-icon", { icon: "chevron-right", scale: "s", slot: "content-end" })));
|
250
290
|
}
|
251
291
|
/**
|
252
292
|
* Fetches the component's translations
|
@@ -259,7 +299,9 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
259
299
|
}
|
260
300
|
get el() { return this; }
|
261
301
|
static get watchers() { return {
|
262
|
-
"selectedLayerId": ["selectedLayerWatchHandler"]
|
302
|
+
"selectedLayerId": ["selectedLayerWatchHandler"],
|
303
|
+
"sortingInfo": ["sortingInfoWatchHandler"],
|
304
|
+
"whereClause": ["whereClauseHandler"]
|
263
305
|
}; }
|
264
306
|
static get style() { return FeatureListStyle0; }
|
265
307
|
}, [0, "feature-list", {
|
@@ -269,13 +311,19 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
269
311
|
"pageSize": [2, "page-size"],
|
270
312
|
"highlightOnMap": [4, "highlight-on-map"],
|
271
313
|
"highlightOnHover": [4, "highlight-on-hover"],
|
314
|
+
"sortingInfo": [16],
|
315
|
+
"whereClause": [1, "where-clause"],
|
316
|
+
"textSize": [1, "text-size"],
|
317
|
+
"showInitialLoading": [4, "show-initial-loading"],
|
272
318
|
"_featureItems": [32],
|
273
319
|
"_featuresCount": [32],
|
274
320
|
"_isLoading": [32],
|
275
321
|
"_translations": [32],
|
276
322
|
"refresh": [64]
|
277
323
|
}, undefined, {
|
278
|
-
"selectedLayerId": ["selectedLayerWatchHandler"]
|
324
|
+
"selectedLayerId": ["selectedLayerWatchHandler"],
|
325
|
+
"sortingInfo": ["sortingInfoWatchHandler"],
|
326
|
+
"whereClause": ["whereClauseHandler"]
|
279
327
|
}]);
|
280
328
|
function defineCustomElement() {
|
281
329
|
if (typeof customElements === "undefined") {
|
@@ -50,7 +50,7 @@ const FeaturesFlowItem$1 = /*@__PURE__*/ proxyCustomElement(class FeaturesFlowIt
|
|
50
50
|
//
|
51
51
|
//--------------------------------------------------------------------------
|
52
52
|
render() {
|
53
|
-
return (h(Host, { key: '
|
53
|
+
return (h(Host, { key: 'e0d4102af27d4ca25cb6257292797c2900337ec7' }, h("slot", { key: 'ea50a07d3d33ee0b67bc5a27a71bc7ea597fb008' })));
|
54
54
|
}
|
55
55
|
get el() { return this; }
|
56
56
|
static get style() { return FeaturesFlowItemStyle0; }
|
@@ -52,7 +52,7 @@ const FloorFilter = /*@__PURE__*/ proxyCustomElement(class FloorFilter extends H
|
|
52
52
|
return this._initModules();
|
53
53
|
}
|
54
54
|
render() {
|
55
|
-
return (h(Host, { key: '
|
55
|
+
return (h(Host, { key: '4b532bae1022d879f46022203a9ffa00c8e615a7' }, h("div", { key: 'd75ad603472d2f57ccd52725f1c3ed428bdd8173', ref: (el) => { this._floorFilterElement = el; } })));
|
56
56
|
}
|
57
57
|
//--------------------------------------------------------------------------
|
58
58
|
//
|
@@ -33,6 +33,10 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
|
|
33
33
|
this.__registerHost();
|
34
34
|
this.popupClosed = createEvent(this, "popupClosed", 7);
|
35
35
|
this.selectionChanged = createEvent(this, "selectionChanged", 7);
|
36
|
+
/**
|
37
|
+
* string: unique id for the features node
|
38
|
+
*/
|
39
|
+
this._featuresNodeId = 'features-node' + new Date().getMilliseconds().toString();
|
36
40
|
this.graphics = undefined;
|
37
41
|
this.isLoading = false;
|
38
42
|
this.isMobile = undefined;
|
@@ -88,8 +92,8 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
|
|
88
92
|
return this._features.selectedFeature;
|
89
93
|
}
|
90
94
|
/**
|
91
|
-
*
|
92
|
-
* @returns Promise
|
95
|
+
* Refresh the feature info
|
96
|
+
* @returns Promise when complete
|
93
97
|
*/
|
94
98
|
async refresh() {
|
95
99
|
await this.setGraphics();
|
@@ -190,8 +194,8 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
|
|
190
194
|
const id = (_d = (_c = this._features) === null || _c === void 0 ? void 0 : _c.selectedFeature) === null || _d === void 0 ? void 0 : _d.getObjectId();
|
191
195
|
const ids = parseInt(id === null || id === void 0 ? void 0 : id.toString(), 10) > -1 ? [id] : [];
|
192
196
|
const deleteEnabled = ((_e = this._layer) === null || _e === void 0 ? void 0 : _e.editingEnabled) && ((_h = (_g = (_f = this._layer) === null || _f === void 0 ? void 0 : _f.capabilities) === null || _g === void 0 ? void 0 : _g.operations) === null || _h === void 0 ? void 0 : _h.supportsDelete);
|
193
|
-
return (h(Host, { key: '
|
194
|
-
h("div", { key: '
|
197
|
+
return (h(Host, { key: '7b48c1dbd2c4e384c4bcba62a8cf35e4c62d2edb' }, h("calcite-shell", { key: 'a8387dfb3968ea07182cdd782a5a147bdcb1188a', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: '1695d423a19876c6ccde5f4004f21ca26e305350', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: 'd8870e95ba06ed713c5143c5b260ee4059275d81', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '84af335caa0f39890801faebc207bf8c794fe1e3', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
|
198
|
+
h("div", { key: 'fa91c18424af38067c44e50635b9af55aacc84b8', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: 'c4565bda374ab4eb2afd2273c62256fae187d151', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, onEditsComplete: () => this._closePopup() })) : undefined, h("calcite-tooltip", { key: '7175a74e7e1db0939fbbe4a229e7f6df6efb2768', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '6443c4d8274fe6003f5dcbd3b36f35057234c550' }, this._translations.edit)), this.isMobile ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: 'ff3d3dffd57bf118f7e71ec5a504bbcfda0de229', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: '1912bdf3dbad45ba66acf13ef8ad6894ced8caa2' }, h("calcite-button", { key: 'fe1e5032b764b3c0ac8ef619c9d365f8d781d6b3', appearance: 'transparent', disabled: nextBackDisabled, iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: 'a9928e72cc3dcebad2544ee5a347a0b70ebdae4b', placement: "top", "reference-element": "solutions-back" }, h("span", { key: '6d8cc94ae72deab6ae19d3314f5b0f7e1833bd3c' }, this._translations.back))), h("calcite-action", { key: '90d7951f0eacd4b77f8ebe3da79a12665a8b9f63', class: 'pagination-action', onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: '6c36eb43691a79b6a7c0da99663fa22c1d97e572', class: "pagination-count" }, this._count)), h("div", { key: '23758504ca1b4b97c4c488e88e61f0c3cdc10830' }, h("calcite-button", { key: '93efeff6e0cb54edd1817c3410806b009755618f', appearance: "transparent", disabled: nextBackDisabled, iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: '17afd49a3b167d9322d944a9d8ae6ffc249d202e', placement: "top", "reference-element": "solutions-next" }, h("span", { key: '0b15e569313961c53700d2ef6eb148b9c0efd778' }, this._translations.next))))), h("edit-card", { key: '2217a66105095ea1e5bd577dc8bf970b3fdeae10', class: editClass, graphicIndex: (_j = this._features) === null || _j === void 0 ? void 0 : _j.selectedFeatureIndex, graphics: this.graphics, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { key: 'c59bd8d759ef1df763b3bbe513b7146cfa270057', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: '3733d543e7483037aa5130f0ca06f8da434eaf7e', slot: "title" }, this._translations.editDisabled), h("div", { key: 'eaace9548fd442015000f836d54e556c9859a3fc', slot: "message" }, this._translations.enableEditing)))));
|
195
199
|
}
|
196
200
|
//--------------------------------------------------------------------------
|
197
201
|
//
|
@@ -250,7 +254,7 @@ const InfoCard = /*@__PURE__*/ proxyCustomElement(class InfoCard extends HTMLEle
|
|
250
254
|
if (!this._features) {
|
251
255
|
this._features = new this.Features({
|
252
256
|
view: this.mapView,
|
253
|
-
container:
|
257
|
+
container: this._featuresNodeId,
|
254
258
|
visibleElements: {
|
255
259
|
actionBar: false,
|
256
260
|
closeButton: false,
|
@@ -92,7 +92,7 @@ const JsonEditor = /*@__PURE__*/ proxyCustomElement(class JsonEditor extends HTM
|
|
92
92
|
* Renders the component.
|
93
93
|
*/
|
94
94
|
render() {
|
95
|
-
return (h(Host, { key: '
|
95
|
+
return (h(Host, { key: 'df3dd7531bfc6256919c3d5f14b5f2837fda5aac' }, h("div", { key: '9dd13f859e92b7cbe719da36f71428e9a44514aa', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, h("div", { key: '3762323a88ada57aeb6483d1f510ae7b64ed7095', class: "editor-controls" }, h("div", { key: '754caf059ecaffdc08f1bd46e496e44ea4cca274', class: "editor-buttons" }, h("calcite-icon", { key: '96620de487619db0a3f893ed91dbc7a0aff72517', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), h("calcite-button", { key: 'ef437976e3a198319885ae42f241f19206f5675b', id: `${this.instanceid}-undo`, color: "blue", appearance: "solid", title: this._translations.undo, onClick: () => this._undo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '168ad569ab54238f0cb7a9b3c33f2186ad44dbc5', icon: "undo", scale: "s" })), h("calcite-button", { key: 'f1fd90dccdc0f1e0645e383d547dd0d68e55bd93', id: `${this.instanceid}-redo`, color: "blue", appearance: "solid", title: this._translations.redo, onClick: () => this._redo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'c3fe8f81cd0a383da9c0b7538b88b69995da83e8', icon: "redo", scale: "s" })), h("calcite-button", { key: '3a23491a976b9cc9e21df4f693044c16e0fa896a', id: `${this.instanceid}-diff`, color: "blue", appearance: "solid", title: this._translations.diff, onClick: () => this._toggleEditor(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '35fe88eaeb9af26991817d882691ee8462a131c5', icon: "compare", scale: "s" })), h("calcite-button", { key: '8091d794c5d9e0c1d7a7a6bd21cd690e3eaf83e5', id: `${this.instanceid}-search`, appearance: "outline", color: "blue", title: this._translations.search, onClick: () => this._search(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'bff6d836ca319f8c1fe440117d6d983c07dd8106', icon: "search", scale: "s" })), h("calcite-button", { key: '44e7d523d29fb3f92f6b10b101d43239b5c7919c', id: `${this.instanceid}-reset`, color: "blue", appearance: "solid", disabled: true, title: this._translations.cancelEdits, onClick: () => this._reset(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'e6bfea7cd2574929917204f74ed924dc8072befb', icon: "reset", scale: "s" })))), h("div", { key: 'a0cbb47b3f6ed02839fdbf65ab62d50c16a44107', class: "edit-parent" }, h("div", { key: '07ac2b80bd612fb86b8970cfbf9be080d1f574eb', id: `${this.instanceid}-container`, class: "json-edit-container" }), h("div", { key: 'd98d705059fd769906f695298f7dc11cc96ebc2a', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
|
96
96
|
}
|
97
97
|
//--------------------------------------------------------------------------
|
98
98
|
//
|
@@ -28,11 +28,8 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
|
|
28
28
|
this.__registerHost();
|
29
29
|
this.layerSelect = createEvent(this, "layerSelect", 7);
|
30
30
|
this.layersListLoaded = createEvent(this, "layersListLoaded", 7);
|
31
|
-
//HARDCODED IN EN
|
32
|
-
this._noLayerToDisplayErrorMsg = "Web map does not contain any editable layers.";
|
33
31
|
this.mapView = undefined;
|
34
32
|
this.layers = undefined;
|
35
|
-
this.noLayerErrorMsg = undefined;
|
36
33
|
this.showFeatureCount = true;
|
37
34
|
this.showNextIcon = false;
|
38
35
|
this._noLayersToDisplay = false;
|
@@ -81,9 +78,9 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
|
|
81
78
|
* Renders the component.
|
82
79
|
*/
|
83
80
|
render() {
|
84
|
-
return (h(Fragment, { key: '
|
85
|
-
h("calcite-notice", { key: '
|
86
|
-
h("calcite-list", { key: '
|
81
|
+
return (h(Fragment, { key: 'c73bf36c13fed8120273d8a5321dd60fe4d4b5f4' }, this._isLoading && h("calcite-loader", { key: 'e748d9cc7d1855d3a2da34702ba853d35d1a2cde', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
|
82
|
+
h("calcite-notice", { key: '4a06b7694fd91456ee5cdc51d33e4ac633d416b2', class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, h("div", { key: '63b09f02312aba71826957c5b2c04a7750bdfca1', slot: "title" }, this._translations.error), h("div", { key: '5a19dfe527a6c66a5477a4c6a14f4686cde73bb3', slot: "message" }, this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
|
83
|
+
h("calcite-list", { key: 'e8a6170a55f4ba6ea35a1397690c3e365b814886', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
|
87
84
|
}
|
88
85
|
//--------------------------------------------------------------------------
|
89
86
|
//
|
@@ -210,7 +207,6 @@ const LayerList = /*@__PURE__*/ proxyCustomElement(class LayerList extends HTMLE
|
|
210
207
|
}, [0, "layer-list", {
|
211
208
|
"mapView": [16],
|
212
209
|
"layers": [16],
|
213
|
-
"noLayerErrorMsg": [1, "no-layer-error-msg"],
|
214
210
|
"showFeatureCount": [4, "show-feature-count"],
|
215
211
|
"showNextIcon": [4, "show-next-icon"],
|
216
212
|
"_noLayersToDisplay": [32],
|
@@ -49,7 +49,7 @@ import { d as defineCustomElement$3 } from './instant-apps-filter-list2.js';
|
|
49
49
|
import { d as defineCustomElement$2 } from './instant-apps-social-share2.js';
|
50
50
|
import { d as defineCustomElement$1 } from './map-layer-picker2.js';
|
51
51
|
|
52
|
-
const layerTableCss = ":host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir=\"rtl\"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}";
|
52
|
+
const layerTableCss = ":host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=\"rtl\"] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-background)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none !important}vaadin-grid-cell-content{font-size:14px !important;color:var(--calcite-color-text-3) !important}.share-action{position:absolute;right:0}html[dir=\"rtl\"] .share-action{left:0}.disabled{cursor:default !important;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.instant-app-share{height:50px !important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-modal-content-padding:0}.esri-feature-table__table-container{height:100%}";
|
53
53
|
const LayerTableStyle0 = layerTableCss;
|
54
54
|
|
55
55
|
const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTMLElement {
|
@@ -339,7 +339,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
339
339
|
const selected = this.selectedIds.length.toString();
|
340
340
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
341
341
|
this._validateActiveActions();
|
342
|
-
return (h(Host, { key: '
|
342
|
+
return (h(Host, { key: '69a8f1d8c41eb82d6f39f6c580f78369f372567f' }, h("calcite-shell", { key: '3cb7997d918af450d04b95e1a236e09400b30af1' }, this._getTableControlRow("header"), h("div", { key: '1f0e84f1759c0333acee402a603923ca96e7d9e4', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: 'b62bedc4c924f0d0a30e2746a532270c2a4d4a4b', class: "height-full width-full" }, h("calcite-loader", { key: 'e28017e4c3aba559774965f2cbff0fcb83f9ab2d', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: 'efc520212f53c3db46574c7caf5d9f9835b83a2c', class: tableNodeClass, ref: this.onTableNodeCreate })), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
343
343
|
.replace("{{total}}", total)
|
344
344
|
.replace("{{selected}}", selected))) : undefined)), this._filterModal()));
|
345
345
|
}
|
@@ -1481,7 +1481,7 @@ const LayerTable = /*@__PURE__*/ proxyCustomElement(class LayerTable extends HTM
|
|
1481
1481
|
items: [
|
1482
1482
|
{
|
1483
1483
|
label: this._translations.hideField,
|
1484
|
-
|
1484
|
+
icon: "view-hide",
|
1485
1485
|
autoCloseMenu: true,
|
1486
1486
|
clickFunction: () => {
|
1487
1487
|
this._handleHideClick(name);
|
@@ -49,7 +49,7 @@ const LayoutManager$1 = /*@__PURE__*/ proxyCustomElement(class LayoutManager ext
|
|
49
49
|
* Renders the component.
|
50
50
|
*/
|
51
51
|
render() {
|
52
|
-
return (h(Host, { key: '
|
52
|
+
return (h(Host, { key: '3e5a7de439b797078a7d58aed615f49c1139ac6f' }, h("div", { key: 'bb4a32b540600d0c46e1cdf2eb6b37a9242f70ee', class: "display-flex" }, h("div", { key: '560014821ef89ac3c0ad916257cf77efea54c752', class: "display-flex action-center" }, h("calcite-icon", { key: 'f8db949f64ddfaa893380b91de757044dc5a127a', class: "icon icon-color", icon: "information", id: "app-information-icon", scale: "s" }), h("calcite-popover", { key: '32d453ff1767573cf8fb0c1c33243ec39a3a82e1', closable: true, label: "", referenceElement: "app-information-icon" }, h("span", { key: '056dde09c448eb2b1e4f3c86b9eef3e836b6bce1', class: "tooltip-message" }, this._translations.appInfo))), h("div", { key: '82ac72ab969f1292f83762d536e10aa4ece255e8', class: "header-text" }, this._translations.layout), this._getAction("grid-background", ELayoutMode.GRID, this._translations.grid), this._getAction("vertical-background", ELayoutMode.VERTICAL, this._translations.vertical), this._getAction("horizontal-background", ELayoutMode.HORIZONTAL, this._translations.horizontal))));
|
53
53
|
}
|
54
54
|
//--------------------------------------------------------------------------
|
55
55
|
//
|
@@ -50,7 +50,7 @@ const ListFlowItem$1 = /*@__PURE__*/ proxyCustomElement(class ListFlowItem exten
|
|
50
50
|
//
|
51
51
|
//--------------------------------------------------------------------------
|
52
52
|
render() {
|
53
|
-
return (h(Host, { key: '
|
53
|
+
return (h(Host, { key: '294c2df1aa37bf2276716e93953fb9670d08ed2d' }, h("slot", { key: 'b57b34de225e39fda047027286f8eb8367f335df' })));
|
54
54
|
}
|
55
55
|
get el() { return this; }
|
56
56
|
static get style() { return ListFlowItemStyle0; }
|
@@ -50,7 +50,7 @@ const LocationFlowItem$1 = /*@__PURE__*/ proxyCustomElement(class LocationFlowIt
|
|
50
50
|
//
|
51
51
|
//--------------------------------------------------------------------------
|
52
52
|
render() {
|
53
|
-
return (h(Host, { key: '
|
53
|
+
return (h(Host, { key: 'a9741da11365a4ce9b1504da6f6c84542bdfd556' }, h("slot", { key: '3f98024fa3209a783296a2f80267dff08a13eb2f' })));
|
54
54
|
}
|
55
55
|
get el() { return this; }
|
56
56
|
static get style() { return LocationFlowItemStyle0; }
|
@@ -141,7 +141,7 @@ const MapCard = /*@__PURE__*/ proxyCustomElement(class MapCard extends HTMLEleme
|
|
141
141
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
142
142
|
const mapPickerClass = ((_a = this.mapInfos) === null || _a === void 0 ? void 0 : _a.length) > 1 ? "" : "display-none";
|
143
143
|
const mapHeightClass = ((_b = this.mapInfos) === null || _b === void 0 ? void 0 : _b.length) > 1 ? "map-height" : "height-full";
|
144
|
-
return (h(Host, { key: '
|
144
|
+
return (h(Host, { key: '446f04b49a9d744f3abae1e7ae90113f0eb0da08' }, h("map-picker", { key: 'b3f388a5b0d6a26951f9ae45dff7629376ff4d17', class: mapPickerClass, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), h("div", { key: 'f5c44c8cf0b22b496a57cd01ebfdf00c0979bebe', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: 'dab560a9cde03901087a1d136599d0fd26964dce', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
|
145
145
|
}
|
146
146
|
//--------------------------------------------------------------------------
|
147
147
|
//
|
@@ -119,7 +119,7 @@ const MapDrawTools = /*@__PURE__*/ proxyCustomElement(class MapDrawTools extends
|
|
119
119
|
"border" : "border esri-widget esri-sketch__panel";
|
120
120
|
const undoRedoClass = this.drawMode === EDrawMode.SKETCH ?
|
121
121
|
"display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
|
122
|
-
return (h(Host, { key: '
|
122
|
+
return (h(Host, { key: 'ab6fe128a5059e5b58ba9dc240f3934142097482' }, h("div", { key: '846d66c3aad67b63a2bbbf47325594d2eb35fbb6', class: containerClass }, h("div", { key: '0f439e2c3f4a51413f49ccd1dc6f3524d0e36017', ref: (el) => { this._sketchElement = el; } }), h("div", { key: '9b755b8df3bb66bf2713969417a29a7059b4f0c9', class: undoRedoClass }, h("calcite-action", { key: 'f565f8683cf6222232f913a2edb7fcab7e7235c2', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { key: 'fd5d819cf78399c12ffb156035ba38ba41e7cd9b', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
|
123
123
|
}
|
124
124
|
//--------------------------------------------------------------------------
|
125
125
|
//
|
@@ -48,7 +48,7 @@ const MapFullscreen = /*@__PURE__*/ proxyCustomElement(class MapFullscreen exten
|
|
48
48
|
* Renders the component.
|
49
49
|
*/
|
50
50
|
render() {
|
51
|
-
return (h(Host, { key: '
|
51
|
+
return (h(Host, { key: '5e2b4343c53ff91b50cd7b91aebe76a686802da7' }, h("div", { key: '03cb0c8f2766278698b9c3302e9e494b7ba77bc9', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
|
52
52
|
}
|
53
53
|
/**
|
54
54
|
* StencilJS: Called just after the component updates.
|
@@ -106,7 +106,7 @@ const MapLayerPicker = /*@__PURE__*/ proxyCustomElement(class MapLayerPicker ext
|
|
106
106
|
const id = "map-layer-picker";
|
107
107
|
let style = this.height > 0 ? { "height": `${this.height.toString()}px` } : {};
|
108
108
|
style = Object.assign(Object.assign({}, style), { "display": this.display });
|
109
|
-
return (h(Host, { key: '
|
109
|
+
return (h(Host, { key: 'ccb8c7d12a2e631938308380cd4ecd0a1d73c963' }, h("div", { key: 'aa0992de9bab1c5a555d51542c093cc7cb948200', class: "map-layer-picker-container", style: style }, h("div", { key: 'a03bca67eb822b492d34abe53db7d05e6fd7ebdf', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
|
110
110
|
!this._hasMultipleLayers && this.showSingleLayerAsLabel ? this._getSingleLayerPlaceholder() :
|
111
111
|
this.type === "combobox" ? this._getCombobox(id) :
|
112
112
|
this.type === "select" ? this._getSelect(id) : this._getDropdown(id)))));
|
@@ -52,7 +52,7 @@ const MapLegend = /*@__PURE__*/ proxyCustomElement(class MapLegend extends HTMLE
|
|
52
52
|
* StencilJS: Renders the component.
|
53
53
|
*/
|
54
54
|
render() {
|
55
|
-
return (h(Host, { key: '
|
55
|
+
return (h(Host, { key: '3298d8202e384626e065d9fee0900d43dd75e02e' }, h("div", { key: 'd5e717c5c14a4db97036d8aba3dbb1c98c659b74', ref: (el) => { this._legendElement = el; } })));
|
56
56
|
}
|
57
57
|
/**
|
58
58
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
@@ -92,7 +92,7 @@ const MapPicker = /*@__PURE__*/ proxyCustomElement(class MapPicker extends HTMLE
|
|
92
92
|
* Renders the component.
|
93
93
|
*/
|
94
94
|
render() {
|
95
|
-
return (h(Host, { key: '
|
95
|
+
return (h(Host, { key: 'c37af1bef83f65297d520e34730b94bfdbf30066' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
|
96
96
|
}
|
97
97
|
/**
|
98
98
|
* Called once after the component has loaded
|
@@ -75,7 +75,7 @@ const MapSearch = /*@__PURE__*/ proxyCustomElement(class MapSearch extends HTMLE
|
|
75
75
|
* Renders the component.
|
76
76
|
*/
|
77
77
|
render() {
|
78
|
-
return (h(Host, { key: '
|
78
|
+
return (h(Host, { key: '4b8224b0193ea081d2e505e10ea0b925a9f47045' }, h("div", { key: 'f7efe5db5477cb2ba8e5e62003e65c8151ee94f5', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
|
79
79
|
}
|
80
80
|
//--------------------------------------------------------------------------
|
81
81
|
//
|
@@ -208,7 +208,7 @@ const MapSelectTools = /*@__PURE__*/ proxyCustomElement(class MapSelectTools ext
|
|
208
208
|
* Renders the component.
|
209
209
|
*/
|
210
210
|
render() {
|
211
|
-
return (h(Host, { key: '
|
211
|
+
return (h(Host, { key: '9632b7215a7523afb12d1ebe039c18939a318ad4' }, this._getMapLayerPicker(), h("div", { key: '4d1524e7ad58e9d1249192cd18f39f71db72f205', class: "border-bottom" }), h("div", { key: 'a7c5491a66c2a64f73793258e4b6a42f1e0d31e9', class: "padding-top-sides-1" }, h("div", { key: 'a7ee27faebe804aeafb5879e9f5cda9f090d856c', class: "search-widget", ref: (el) => { this._searchElement = el; } }), h("div", { key: '6374844dd2901eceff4e9b2059c640b830e9332e', class: "padding-top-1" }, h("map-draw-tools", { key: '69f35bc1116b6816cafea9acd89cee1bc07b24f5', active: true, editGraphicsEnabled: !this._useLayerFeaturesEnabled, graphics: this._graphics, mapView: this.mapView, onSketchGraphicsChange: (evt) => void this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, ref: (el) => { this._drawTools = el; } })), this._getBufferOptions(), this._getUseLayerFeaturesOptions(), this._getNumSelected()), h("div", { key: '47af1a87a8d368388f7deeabcac1a54068fa94e9', class: "border-bottom" }), this._getNameInput()));
|
212
212
|
}
|
213
213
|
/**
|
214
214
|
* Renders the buffer tools component.
|
@@ -180,7 +180,7 @@ const MapTools = /*@__PURE__*/ proxyCustomElement(class MapTools extends HTMLEle
|
|
180
180
|
const toolMarginClass = this.enableSingleExpand ? "margin-top-1-2" : "";
|
181
181
|
const toolOrder = this.toolOrder ? this.toolOrder : ["legend", "search", "fullscreen", "floorfilter"];
|
182
182
|
const shadowClass = this.stackTools ? "box-shadow" : "";
|
183
|
-
return (h(Host, { key: '
|
183
|
+
return (h(Host, { key: 'f18f09af4ff094b74b8360aff710217850bebbf3' }, h("div", { key: '54ad8527ab3d5b45df68bb566301f86f3eff0ca3', class: containerClass }, this.enableSingleExpand ? (h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, h("div", { key: '4385868565bb8a2ae44d28d8b9a01bee119ca8b7', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), h("basemap-gallery", { key: '4c2ff4c1ec73f73a0c8c52280692489bba542765', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { key: '20d27c33286be6c1911e8b14902cc86aa6ec8dab', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { key: '6b635cbf80802b1c7240b8ca1503e185c2900133', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { key: '87fcc6db1c89415649c555c354641229b68ce865', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { key: 'a897933e0d4a00b6780d99ac5d1173b668adae5d', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
184
184
|
}
|
185
185
|
//--------------------------------------------------------------------------
|
186
186
|
//
|
@@ -148,6 +148,21 @@ async function getAllLayers(mapView) {
|
|
148
148
|
await Promise.allSettled(layerViewPromises);
|
149
149
|
return layers;
|
150
150
|
}
|
151
|
+
/**
|
152
|
+
* Get all of the tables from the current map when the map and their layerView is ready
|
153
|
+
* @param mapView the map view to fetch the table names from
|
154
|
+
* @returns Promise resolving with an array of all tables
|
155
|
+
*
|
156
|
+
*/
|
157
|
+
async function getAllTables(mapView) {
|
158
|
+
const tables = mapView.map.allTables.toArray();
|
159
|
+
let layerViewPromises;
|
160
|
+
await mapView.when(() => {
|
161
|
+
layerViewPromises = tables.map(t => t.load());
|
162
|
+
});
|
163
|
+
await Promise.allSettled(layerViewPromises);
|
164
|
+
return tables;
|
165
|
+
}
|
151
166
|
/**
|
152
167
|
* Highlight features by OID
|
153
168
|
*
|
@@ -264,4 +279,4 @@ async function goToSelection(ids, layerView, mapView, flashFeatures = true, feat
|
|
264
279
|
}
|
265
280
|
}
|
266
281
|
|
267
|
-
export { getAllLayers as a, goToSelection as b, getFeatureLayerView as c, getMapLayerHash as d, getMapTableHash as e,
|
282
|
+
export { getAllLayers as a, goToSelection as b, getFeatureLayerView as c, getMapLayerHash as d, getMapTableHash as e, getAllTables as f, getLayerOrTable as g, highlightFeatures as h, getIdSets as i, highlightAllFeatures as j };
|
@@ -51,7 +51,7 @@ const PciCalculator$1 = /*@__PURE__*/ proxyCustomElement(class PciCalculator ext
|
|
51
51
|
render() {
|
52
52
|
const pciClass = !this.showAddDeduct ? "display-grid" : "display-none";
|
53
53
|
const deductClass = this.showAddDeduct ? "position-relative" : "display-none";
|
54
|
-
return (h(Host, { key: '
|
54
|
+
return (h(Host, { key: 'afa9619bc233e51ff10ecbd0f751c14d2cebfc82' }, h("div", { key: '507ba13d0e9a79758f52480bdbf9605b5154cb0e', class: pciClass }, h("div", { key: 'dfeb3d2d1e228ea2e38073f5ce49b7af7c3172e4', class: "label-display" }, h("calcite-label", { key: 'e7f1ad67dc48060342f4d1d73dae9257a47a8992', class: "label-display" }, "Enter comma delimited deduct values", this._getDeductValuesInput())), h("div", { key: '6bc4c6101387ef44b72bceb409c1550bcb36b290' }, this._getCalculateButton())), h("div", { key: 'ceb863669ecfca2f84710f4811d30f816e26c6c8', class: deductClass }, h("div", { key: '897bd23fb38bfea7d39345a224a1c5384129be7d', class: "position-right" }, h("calcite-action", { key: '9a2744cc4815b9976450ea9683e757d32d06b946', appearance: 'transparent', class: "float-end", icon: "x", onClick: () => this._toggleShowAddDeduct(), scale: "s", text: '' })), h("deduct-calculator", { key: 'ff5d517f67ec4752dbc72bf829ec87d967b89db1', class: "display-grid padding-top-1", onDeductValueComplete: (evt) => this._addDeductValue(evt) }))));
|
55
55
|
}
|
56
56
|
//--------------------------------------------------------------------------
|
57
57
|
//
|
@@ -278,7 +278,7 @@ const PdfDownload = /*@__PURE__*/ proxyCustomElement(class PdfDownload extends H
|
|
278
278
|
* Renders the component.
|
279
279
|
*/
|
280
280
|
render() {
|
281
|
-
return (h(Host, { key: '
|
281
|
+
return (h(Host, { key: '93a9cb5861d0c823e23404d89be38cf3566f1913' }, h("calcite-select", { key: '77dd1c92fd6a5092f6706585238326f9fb6a8e2a', disabled: this.disabled, label: "", ref: (el) => { this._labelInfoElement = el; } })));
|
282
282
|
}
|
283
283
|
componentDidLoad() {
|
284
284
|
// Render the options outside of Stencil's rendering so that it doesn't mangle RTL text with embedded LTR
|
@@ -219,7 +219,7 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class PublicNotifi
|
|
219
219
|
*/
|
220
220
|
render() {
|
221
221
|
const headerSlot = this._isMobile ? "footer" : "header";
|
222
|
-
return (h(Host, { key: '
|
222
|
+
return (h(Host, { key: 'f1c63a73ac0190a43790d5d907e7dafeaf8b18f0' }, h("calcite-shell", { key: '759d2ebecc5dfc197b2fa02f35c8a06e99afaaa5' }, h("calcite-action-bar", { key: 'd2b076b51812d31f69a6c06e41a4cc9e56567295', class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: headerSlot }, this._getActionGroup("list-check", EPageType.LIST, this._translations.myLists), this.showRefineSelection ? this._getActionGroup("test-data", EPageType.REFINE, this._translations.refineSelection) : null, this._getActionGroup("export", EPageType.EXPORT, this._translations.export)), this._getPage(this._pageType))));
|
223
223
|
}
|
224
224
|
/**
|
225
225
|
* StencilJS: Called once just after the component is first loaded.
|
@@ -50,7 +50,7 @@ const RefineResultsFlowItem$1 = /*@__PURE__*/ proxyCustomElement(class RefineRes
|
|
50
50
|
//
|
51
51
|
//--------------------------------------------------------------------------
|
52
52
|
render() {
|
53
|
-
return (h(Host, { key: '
|
53
|
+
return (h(Host, { key: '850d0a10f8c3e2f35abdd1a07f00c4ff04ab9f76' }, h("slot", { key: 'c1c1e3fceff2787447a2dbd3568c497cd050195b' })));
|
54
54
|
}
|
55
55
|
get el() { return this; }
|
56
56
|
static get style() { return RefineResultsFlowItemStyle0; }
|