@esri/solutions-components 0.8.14 → 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 +5 -5
- 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 +1 -1
- 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/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 +2 -2
- 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 +5 -5
- 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/{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-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-d13f6b3a.entry.js +0 -6
- package/dist/solutions-components/p-d62b99ff.entry.js +0 -6
@@ -15,19 +15,29 @@
|
|
15
15
|
*/
|
16
16
|
/// <reference types="arcgis-js-api" />
|
17
17
|
import { VNode, EventEmitter } from "../../stencil-public-runtime";
|
18
|
-
import { ILayerExpression, IMapChange, IMapClick, IMapInfo, IReportingOptions, ISearchConfiguration, theme } from "../../utils/interfaces";
|
18
|
+
import { ILayerExpression, IMapChange, IMapClick, IMapInfo, IReportingOptions, ISearchConfiguration, ISortingInfo, theme } from "../../utils/interfaces";
|
19
19
|
import CrowdsourceReporter_T9n from "../../assets/t9n/crowdsource-reporter/resources.json";
|
20
20
|
import { ILayerItemsHash } from "../layer-list/layer-list";
|
21
21
|
export declare class CrowdsourceReporter {
|
22
22
|
el: HTMLCrowdsourceReporterElement;
|
23
23
|
/**
|
24
|
-
* string:
|
24
|
+
* string: Semicolon delimited numbers that will be used as the maps center point from URL params
|
25
25
|
*/
|
26
|
-
|
26
|
+
center: string;
|
27
27
|
/**
|
28
|
-
* boolean: When true
|
28
|
+
* boolean: When true a cover page has been enabled in the consuming application.
|
29
|
+
* Also when true a floating button will be shown in the lower right of the window that
|
30
|
+
* will emit an event when clicked that the consuming application can respond to that will open the cover page.
|
29
31
|
*/
|
30
|
-
|
32
|
+
coverPageEnabled: string;
|
33
|
+
/**
|
34
|
+
* string: Item ID of the web map that should be selected by default
|
35
|
+
*/
|
36
|
+
defaultWebmap: string;
|
37
|
+
/**
|
38
|
+
* string: The text that will display under the title on the landing page
|
39
|
+
*/
|
40
|
+
description: string;
|
31
41
|
/**
|
32
42
|
* boolean: When true the anonymous users will be allowed to submit reports and comments
|
33
43
|
*/
|
@@ -40,6 +50,10 @@ export declare class CrowdsourceReporter {
|
|
40
50
|
* boolean: When true the user will be allowed to submit comments
|
41
51
|
*/
|
42
52
|
enableComments: boolean;
|
53
|
+
/**
|
54
|
+
* boolean: when true the home widget will be available
|
55
|
+
*/
|
56
|
+
enableHome: boolean;
|
43
57
|
/**
|
44
58
|
* boolean: When true the user will be provided a login page
|
45
59
|
*/
|
@@ -49,41 +63,57 @@ export declare class CrowdsourceReporter {
|
|
49
63
|
*/
|
50
64
|
enableNewReports: boolean;
|
51
65
|
/**
|
52
|
-
*
|
66
|
+
* boolean: when true the search widget will be available
|
53
67
|
*/
|
54
|
-
|
68
|
+
enableSearch: boolean;
|
55
69
|
/**
|
56
|
-
*
|
70
|
+
* boolean: when true the zoom widget will be available
|
57
71
|
*/
|
58
|
-
|
72
|
+
enableZoom: boolean;
|
59
73
|
/**
|
60
|
-
*
|
74
|
+
* boolean: When true the application will be in mobile mode, controls the mobile or desktop view
|
61
75
|
*/
|
62
|
-
|
76
|
+
isMobile: boolean;
|
63
77
|
/**
|
64
|
-
*
|
78
|
+
* ILayerExpression[]: Array of layer expressions for layers (filter configuration)
|
65
79
|
*/
|
66
|
-
|
80
|
+
layerExpressions: ILayerExpression[];
|
67
81
|
/**
|
68
|
-
* string:
|
82
|
+
* string: Layer id of the feature from URL params
|
69
83
|
*/
|
70
|
-
|
84
|
+
layerId: string;
|
71
85
|
/**
|
72
86
|
* string: Id of the zoom level from URL params
|
73
87
|
*/
|
74
88
|
level: string;
|
75
89
|
/**
|
76
|
-
* string: The
|
90
|
+
* string: The text that will display at the top of the landing page
|
77
91
|
*/
|
78
|
-
|
92
|
+
loginTitle: string;
|
79
93
|
/**
|
80
|
-
*
|
94
|
+
* IMapInfo[]: array of map infos (name and id)
|
81
95
|
*/
|
82
|
-
|
96
|
+
mapInfos: IMapInfo[];
|
97
|
+
/**
|
98
|
+
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
99
|
+
*/
|
100
|
+
mapView: __esri.MapView;
|
101
|
+
/**
|
102
|
+
* string: Object id of the feature from URL params
|
103
|
+
*/
|
104
|
+
objectId: string;
|
105
|
+
/**
|
106
|
+
* string: The word(s) to display in the reports submit button
|
107
|
+
*/
|
108
|
+
reportButtonText: string;
|
83
109
|
/**
|
84
110
|
* IReportingOptions: Key options for reporting
|
85
111
|
*/
|
86
112
|
reportingOptions: IReportingOptions;
|
113
|
+
/**
|
114
|
+
* string: The word(s) to display in the reports header
|
115
|
+
*/
|
116
|
+
reportsHeader: string;
|
87
117
|
/**
|
88
118
|
* string: The message to display when the report has been submitted
|
89
119
|
*/
|
@@ -97,45 +127,57 @@ export declare class CrowdsourceReporter {
|
|
97
127
|
*/
|
98
128
|
showComments: boolean;
|
99
129
|
/**
|
100
|
-
*
|
130
|
+
* theme: "light" | "dark" theme to be used
|
101
131
|
*/
|
102
|
-
|
132
|
+
theme: theme;
|
103
133
|
/**
|
104
|
-
*
|
134
|
+
* number: default scale to zoom to when zooming to a single point feature
|
105
135
|
*/
|
106
|
-
|
136
|
+
zoomToScale: number;
|
107
137
|
/**
|
108
|
-
*
|
138
|
+
* string: Error message when feature creation fails
|
109
139
|
*/
|
110
|
-
|
140
|
+
_featureCreationFailedErrorMsg: string;
|
111
141
|
/**
|
112
|
-
*
|
142
|
+
* boolean: When true an indicator will be shown on the action
|
113
143
|
*/
|
114
|
-
|
144
|
+
_filterActive: boolean;
|
115
145
|
/**
|
116
|
-
*
|
146
|
+
* boolean: When true the filter component will be displayed
|
117
147
|
*/
|
118
|
-
|
148
|
+
_filterOpen: boolean;
|
119
149
|
/**
|
120
|
-
*
|
150
|
+
* string[]: Reporter flow items list
|
121
151
|
*/
|
122
|
-
|
152
|
+
_flowItems: string[];
|
123
153
|
/**
|
124
|
-
*
|
154
|
+
* boolean: When true show the sort and filter icon
|
125
155
|
*/
|
126
|
-
|
156
|
+
_hasValidLayers: boolean;
|
127
157
|
/**
|
128
|
-
*
|
158
|
+
* boolean: show loading indicator for feature details component upto completing pending operations
|
129
159
|
*/
|
130
|
-
|
160
|
+
_loadingFeatureDetails: boolean;
|
131
161
|
/**
|
132
162
|
* IMapInfo: The current map info stores configuration details
|
133
163
|
*/
|
134
164
|
_mapInfo: IMapInfo;
|
135
165
|
/**
|
136
|
-
*
|
166
|
+
* boolean: When true show the success message in the panel
|
137
167
|
*/
|
138
|
-
|
168
|
+
_reportSubmitted: boolean;
|
169
|
+
/**
|
170
|
+
* string: The selected feature layer's name from the layer's list
|
171
|
+
*/
|
172
|
+
_selectedLayerName: string;
|
173
|
+
/**
|
174
|
+
* boolean: When true show the submit and cancel button
|
175
|
+
*/
|
176
|
+
_showSubmitCancelButton: boolean;
|
177
|
+
/**
|
178
|
+
* boolean: show loading indicator in the reporter component
|
179
|
+
*/
|
180
|
+
_showLoadingIndicator: boolean;
|
139
181
|
/**
|
140
182
|
* boolean: Controls the state for panel in mobile view
|
141
183
|
*/
|
@@ -146,122 +188,125 @@ export declare class CrowdsourceReporter {
|
|
146
188
|
*/
|
147
189
|
_translations: typeof CrowdsourceReporter_T9n;
|
148
190
|
/**
|
149
|
-
*
|
191
|
+
* number: Show the updated progress bar status
|
150
192
|
*/
|
151
|
-
|
193
|
+
_updatedProgressBarStatus: number;
|
152
194
|
/**
|
153
|
-
|
154
|
-
|
155
|
-
|
195
|
+
* ISortingInfo: Sort the feature list depending on the sort field and order
|
196
|
+
*/
|
197
|
+
_updatedSorting: ISortingInfo;
|
198
|
+
/**
|
199
|
+
* string: Selected sort option
|
200
|
+
*/
|
201
|
+
_updatedSortOption: string;
|
156
202
|
/**
|
157
203
|
* boolean: When true show the success message in the panel
|
158
204
|
*/
|
159
|
-
|
205
|
+
_commentSubmitted: boolean;
|
160
206
|
/**
|
161
|
-
*
|
207
|
+
* string: Error message when feature creation fails
|
162
208
|
*/
|
163
|
-
|
209
|
+
_addingCommentFailed: boolean;
|
164
210
|
/**
|
165
|
-
*
|
211
|
+
* HTMLCreateFeatureElement: Create Feature component instance
|
166
212
|
*/
|
167
|
-
|
213
|
+
protected _createFeature: HTMLCreateFeatureElement;
|
168
214
|
/**
|
169
|
-
*
|
215
|
+
* ObjectId of the feature currently shown in the details
|
170
216
|
*/
|
171
|
-
|
217
|
+
protected _currentFeatureId: string;
|
172
218
|
/**
|
173
|
-
* number:
|
219
|
+
* number[]: X,Y pair used to center the map
|
174
220
|
*/
|
175
|
-
|
221
|
+
protected _defaultCenter: number[];
|
176
222
|
/**
|
177
|
-
*
|
223
|
+
* number: zoom level the map should go to
|
178
224
|
*/
|
179
|
-
|
225
|
+
protected _defaultLevel: number;
|
180
226
|
/**
|
181
|
-
*
|
227
|
+
* string[]: Configured/all layers id from current map which can be used for reporting
|
182
228
|
*/
|
183
|
-
|
229
|
+
protected _editableLayerIds: string[];
|
184
230
|
/**
|
185
|
-
*
|
231
|
+
* HTMLCreateFeatureElement: features details component instance
|
186
232
|
*/
|
187
|
-
protected
|
233
|
+
protected _featureDetails: HTMLFeatureDetailsElement;
|
188
234
|
/**
|
189
|
-
*
|
235
|
+
* HTMLFeatureListElement: Create feature list component instance
|
190
236
|
*/
|
191
|
-
protected
|
237
|
+
protected _featureList: HTMLFeatureListElement;
|
192
238
|
/**
|
193
|
-
*
|
239
|
+
* __esri.Graphic: The current selected feature
|
194
240
|
*/
|
195
|
-
protected
|
241
|
+
protected _currentFeature: __esri.Graphic;
|
196
242
|
/**
|
197
|
-
*
|
243
|
+
* __esri.Graphic: The selected related feature from layer table
|
198
244
|
*/
|
199
|
-
protected
|
245
|
+
protected _selectedRelatedFeature: __esri.Graphic[];
|
200
246
|
/**
|
201
|
-
* __esri.FeatureLayer
|
247
|
+
* __esri.FeatureLayer: The related table from map
|
202
248
|
*/
|
203
|
-
protected
|
249
|
+
protected _relatedTable: __esri.FeatureLayer;
|
204
250
|
/**
|
205
|
-
*
|
251
|
+
* HTMLInstantAppsFilterListElement: Component from Instant Apps that supports interacting with the current filter config
|
206
252
|
*/
|
207
|
-
protected
|
253
|
+
protected _filterList: HTMLInstantAppsFilterListElement;
|
208
254
|
/**
|
209
|
-
*
|
255
|
+
* __esri.Handle: Highlight handles of the selections
|
210
256
|
*/
|
211
|
-
protected
|
257
|
+
protected _highlightHandle: __esri.Handle;
|
212
258
|
/**
|
213
|
-
*
|
259
|
+
* HTMLLayerListElement: Create Layer list component instance
|
214
260
|
*/
|
215
|
-
protected
|
261
|
+
protected _layerList: HTMLLayerListElement;
|
216
262
|
/**
|
217
|
-
*
|
263
|
+
* HTMLCreateFeatureElement: Create Feature component instance
|
218
264
|
*/
|
219
|
-
protected
|
265
|
+
protected _createRelatedFeature: HTMLCreateRelatedFeatureElement;
|
266
|
+
/**
|
267
|
+
* string[]: list of configured reporting layer ids
|
268
|
+
*/
|
269
|
+
protected _layers: string[];
|
270
|
+
/**
|
271
|
+
* IMapChange: The current map change details
|
272
|
+
*/
|
273
|
+
protected _mapChange: IMapChange;
|
220
274
|
/**
|
221
275
|
* IHandle: The map click handle
|
222
276
|
*/
|
223
277
|
protected _mapClickHandle: IHandle;
|
224
278
|
/**
|
225
|
-
*
|
279
|
+
* esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
|
226
280
|
*/
|
227
|
-
protected
|
281
|
+
protected reactiveUtils: typeof import("esri/core/reactiveUtils");
|
228
282
|
/**
|
229
|
-
*
|
283
|
+
* __esri.Graphic: The selected feature
|
230
284
|
*/
|
231
|
-
protected
|
285
|
+
protected _selectedFeature: __esri.Graphic[];
|
232
286
|
/**
|
233
|
-
*
|
287
|
+
* number: selected feature index
|
234
288
|
*/
|
235
|
-
protected
|
289
|
+
protected _selectedFeatureIndex: number;
|
236
290
|
/**
|
237
|
-
*
|
291
|
+
* string: The selected feature layer's id from the layer's list
|
238
292
|
*/
|
239
|
-
protected
|
293
|
+
protected _selectedLayerId: string;
|
240
294
|
/**
|
241
295
|
* HTMLInstantAppsSocialShareElement: Share element
|
242
296
|
*/
|
243
297
|
protected _shareNode: HTMLInstantAppsSocialShareElement;
|
244
|
-
/**
|
245
|
-
* ObjectId of the feature currently shown in the details
|
246
|
-
*/
|
247
|
-
protected _currentFeatureId: string;
|
248
298
|
/**
|
249
299
|
* boolean: Maintains a flag to know if urls params are loaded or not
|
250
300
|
*/
|
251
301
|
protected _urlParamsLoaded: boolean;
|
252
302
|
/**
|
253
|
-
* __esri.
|
254
|
-
*/
|
255
|
-
protected _highlightHandle: __esri.Handle;
|
256
|
-
protected _noLayerToDisplayErrorMsg: string;
|
257
|
-
/**
|
258
|
-
* HTMLInstantAppsFilterListElement: Component from Instant Apps that supports interacting with the current filter config
|
303
|
+
* __esri.FeatureLayer[]: Valid layers from the current map
|
259
304
|
*/
|
260
|
-
protected
|
305
|
+
protected _validLayers: __esri.FeatureLayer[];
|
261
306
|
/**
|
262
|
-
*
|
307
|
+
* __esri.FeatureLayer: Selected feature layer from the layer list
|
263
308
|
*/
|
264
|
-
protected
|
309
|
+
protected _selectedLayer: __esri.FeatureLayer;
|
265
310
|
/**
|
266
311
|
* Called each time the mapView prop is changed.
|
267
312
|
*/
|
@@ -302,7 +347,7 @@ export declare class CrowdsourceReporter {
|
|
302
347
|
* @param layerId string layerId of the selected layer
|
303
348
|
* @param layerName string layerName of the selected layer
|
304
349
|
*/
|
305
|
-
protected setSelectedLayer(layerId: string, layerName: string): void
|
350
|
+
protected setSelectedLayer(layerId: string, layerName: string): Promise<void>;
|
306
351
|
/**
|
307
352
|
* Get the reporter app functionality
|
308
353
|
* @protected
|
@@ -323,13 +368,24 @@ export declare class CrowdsourceReporter {
|
|
323
368
|
* @protected
|
324
369
|
*/
|
325
370
|
protected _toggleFilter(): void;
|
371
|
+
/**
|
372
|
+
* On sort option click update the sort field and sort order
|
373
|
+
* @param sortField sort field
|
374
|
+
* @param sortOrder sort order
|
375
|
+
*/
|
376
|
+
protected sortOptionClick(sortField: string, sortOrder: "asc" | "desc", sortOption: string): Promise<void>;
|
377
|
+
/**
|
378
|
+
* On sort button click, display the sorting options
|
379
|
+
* @returns Sort options list
|
380
|
+
*/
|
381
|
+
protected _toggleSort(): Node;
|
326
382
|
/**
|
327
383
|
* Reset the filter active prop
|
328
384
|
* @protected
|
329
385
|
*/
|
330
386
|
protected _handleFilterListReset(): void;
|
331
387
|
/**
|
332
|
-
* Check if the layers definitionExpression has been modified
|
388
|
+
* Check if the layers definitionExpression has been modified and update the feature list depending on the applied filters
|
333
389
|
* @protected
|
334
390
|
*/
|
335
391
|
protected _handleFilterUpdate(): void;
|
@@ -371,12 +427,22 @@ export declare class CrowdsourceReporter {
|
|
371
427
|
* On back from create feature, call submit editor to destroy the Editor widget instance
|
372
428
|
* @protected
|
373
429
|
*/
|
374
|
-
protected
|
430
|
+
protected onCreateFeatureSubmitButtonClick(): void;
|
375
431
|
/**
|
376
432
|
* On back from create feature, call close editor to destroy the Editor widget instance
|
377
433
|
* @protected
|
378
434
|
*/
|
379
435
|
protected backFromCreateFeaturePanel(): void;
|
436
|
+
/**
|
437
|
+
* On back from create realated feature, call submit editor to destroy the Editor widget instance
|
438
|
+
* @protected
|
439
|
+
*/
|
440
|
+
protected onCreateRelatedFeatureSubmitButtonClick(): void;
|
441
|
+
/**
|
442
|
+
* On back from create related feature, call close editor to destroy the Editor widget instance
|
443
|
+
* @protected
|
444
|
+
*/
|
445
|
+
protected backFromCreateRelatedFeaturePanel(): void;
|
380
446
|
/**
|
381
447
|
* On creating the feature is failed, show the error message
|
382
448
|
* @param evt Event which has feature failed message
|
@@ -388,6 +454,17 @@ export declare class CrowdsourceReporter {
|
|
388
454
|
* @protected
|
389
455
|
*/
|
390
456
|
protected onReportSubmitted(): void;
|
457
|
+
/**
|
458
|
+
* On adding the is failed, show the error message
|
459
|
+
* @param evt Event which has comment failed message
|
460
|
+
* @protected
|
461
|
+
*/
|
462
|
+
protected addCommentFailed(evt: CustomEvent): void;
|
463
|
+
/**
|
464
|
+
* On submit comment navigate to the feature list and refresh the feature details
|
465
|
+
* @protected
|
466
|
+
*/
|
467
|
+
protected onCommentSubmitted(): Promise<void>;
|
391
468
|
/**
|
392
469
|
* Navigates to layer-list
|
393
470
|
* @protected
|
@@ -430,11 +507,22 @@ export declare class CrowdsourceReporter {
|
|
430
507
|
* @param evt Event which has details of selected feature
|
431
508
|
*/
|
432
509
|
protected onFeatureSelectFromList(evt: CustomEvent): Promise<void>;
|
510
|
+
/**
|
511
|
+
* Gets related table id of the selected feature's layer
|
512
|
+
* @protected
|
513
|
+
*/
|
514
|
+
protected getRelatedTable(): Promise<void>;
|
433
515
|
/**
|
434
516
|
* Show loading indicator while updating the feature details component
|
435
517
|
* @param isLoading is feature detail component loading
|
436
518
|
*/
|
437
519
|
protected updatingFeatureDetails(isLoading: boolean): Promise<void>;
|
520
|
+
/**
|
521
|
+
* When comment is selected from list store that and show comment details
|
522
|
+
* @param evt Event which has details of selected feature
|
523
|
+
* @protected
|
524
|
+
*/
|
525
|
+
protected onCommentSelectFromList(evt: CustomEvent): Promise<void>;
|
438
526
|
/**
|
439
527
|
* Get feature list of the selected feature layer
|
440
528
|
* @param layerId Layer id
|
@@ -454,16 +542,26 @@ export declare class CrowdsourceReporter {
|
|
454
542
|
* @returns Node
|
455
543
|
*/
|
456
544
|
protected getFeaturesPagination(): Node;
|
545
|
+
/**
|
546
|
+
* Returns the calcite-flow item for comment details
|
547
|
+
* @returns Node
|
548
|
+
*/
|
549
|
+
protected getCommentDetailsFlowItem(): Node;
|
550
|
+
/**
|
551
|
+
* Returns the calcite-flow item for add comment
|
552
|
+
* @returns Node
|
553
|
+
*/
|
554
|
+
protected getAddCommentFlowItem(): Node;
|
457
555
|
/**
|
458
556
|
* Sets the selected features and updates the first feature as the current selected feature
|
459
557
|
* @param features Graphics array of the features selected
|
460
558
|
*/
|
461
|
-
protected setSelectedFeatures(features: __esri.Graphic[]): void
|
559
|
+
protected setSelectedFeatures(features: __esri.Graphic[]): Promise<void>;
|
462
560
|
/**
|
463
561
|
* Set the object id of the current selected feature, and also updates the current selected layer details
|
464
562
|
* @param selectedFeature Graphic currently shown in feature details
|
465
563
|
*/
|
466
|
-
protected setCurrentFeature(selectedFeature?: __esri.Graphic): void
|
564
|
+
protected setCurrentFeature(selectedFeature?: __esri.Graphic): Promise<void>;
|
467
565
|
/**
|
468
566
|
* Highlights the feature on map
|
469
567
|
* @param selectedFeature Graphic currently shown in feature details
|
@@ -31,6 +31,10 @@ export declare class FeatureDetails {
|
|
31
31
|
* boolean: When true configured dislike field is available in selected layer
|
32
32
|
*/
|
33
33
|
_dislikeFieldAvailable: boolean;
|
34
|
+
/**
|
35
|
+
* boolean: When true comments are configured and its table is available in selected layer
|
36
|
+
*/
|
37
|
+
_commentsAvailable: boolean;
|
34
38
|
/**
|
35
39
|
* boolean: When true button will get brand color
|
36
40
|
*/
|
@@ -39,10 +43,18 @@ export declare class FeatureDetails {
|
|
39
43
|
* boolean: When true button will get brand color
|
40
44
|
*/
|
41
45
|
_isDislikeBtnClicked: boolean;
|
46
|
+
/**
|
47
|
+
* string[]: objects ids of the related features (comments)
|
48
|
+
*/
|
49
|
+
_relatedFeaturesOIDs: string[];
|
42
50
|
/**
|
43
51
|
* HTMLCreateFeatureElement: info card component instance
|
44
52
|
*/
|
45
53
|
protected _infoCard: HTMLInfoCardElement;
|
54
|
+
/**
|
55
|
+
* HTMLFeatureListElement: Feature list component's instance to show the comments
|
56
|
+
*/
|
57
|
+
protected _commentsList: HTMLFeatureListElement;
|
46
58
|
/**
|
47
59
|
* __esri.Graphic: The current selected feature graphic
|
48
60
|
*/
|
@@ -59,10 +71,19 @@ export declare class FeatureDetails {
|
|
59
71
|
* esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
|
60
72
|
*/
|
61
73
|
protected Graphic: typeof import("esri/Graphic");
|
74
|
+
/**
|
75
|
+
* https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-RelationshipQuery.html
|
76
|
+
* used for module import
|
77
|
+
*/
|
78
|
+
protected RelationshipQuery: typeof import("esri/rest/support/RelationshipQuery");
|
62
79
|
/**
|
63
80
|
* string[]: Valid field types for like and dislike
|
64
81
|
*/
|
65
82
|
protected _validFieldTypes: string[];
|
83
|
+
/**
|
84
|
+
*string: related table id of selected feature
|
85
|
+
*/
|
86
|
+
protected relatedTableId: string;
|
66
87
|
/**
|
67
88
|
* Called each time the graphics prop is changed
|
68
89
|
*/
|
@@ -88,6 +109,10 @@ export declare class FeatureDetails {
|
|
88
109
|
* Emitted on demand when like or dislike button is clicked
|
89
110
|
*/
|
90
111
|
loadingStatus: EventEmitter<boolean>;
|
112
|
+
/**
|
113
|
+
* Emitted on demand when feature is selected using the list
|
114
|
+
*/
|
115
|
+
featureSelect: EventEmitter<__esri.Graphic>;
|
91
116
|
/**
|
92
117
|
* StencilJS: Called once just after the component is first connected to the DOM.
|
93
118
|
*
|
@@ -109,6 +134,12 @@ export declare class FeatureDetails {
|
|
109
134
|
* @protected
|
110
135
|
*/
|
111
136
|
protected getCompleteGraphic(graphic: __esri.Graphic): Promise<void>;
|
137
|
+
/**
|
138
|
+
* Process the comments functionality.
|
139
|
+
* If comments are configured, fetches the related comments ans creates the input for comments list
|
140
|
+
* @protected
|
141
|
+
*/
|
142
|
+
protected processComments(): Promise<void>;
|
112
143
|
/**
|
113
144
|
* Checks if the layers is configured for like dislike or not
|
114
145
|
* @param selectedLayer Feature layer
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
/// <reference types="arcgis-js-api" />
|
17
17
|
import { VNode, EventEmitter } from "../../stencil-public-runtime";
|
18
|
-
import { IPopupUtils } from "../../utils/interfaces";
|
18
|
+
import { IPopupUtils, ISortingInfo } from "../../utils/interfaces";
|
19
19
|
import FeatureList_T9n from "../../assets/t9n/feature-list/resources.json";
|
20
20
|
export declare class FeatureList {
|
21
21
|
el: HTMLFeatureListElement;
|
@@ -43,6 +43,22 @@ export declare class FeatureList {
|
|
43
43
|
* boolean: Highlight feature on map optional (default false) boolean to indicate if we should highlight when hover on Feature in list
|
44
44
|
*/
|
45
45
|
highlightOnHover?: boolean;
|
46
|
+
/**
|
47
|
+
* ISortingInfo: Sorting field and order using which features list will be sorted
|
48
|
+
*/
|
49
|
+
sortingInfo?: ISortingInfo;
|
50
|
+
/**
|
51
|
+
* string: where clause to filter the features list
|
52
|
+
*/
|
53
|
+
whereClause?: string;
|
54
|
+
/**
|
55
|
+
* string(small/large): Controls the font size of the title
|
56
|
+
*/
|
57
|
+
textSize?: "small" | "large";
|
58
|
+
/**
|
59
|
+
* boolean: Show initial loading indicator when creating list
|
60
|
+
*/
|
61
|
+
showInitialLoading?: boolean;
|
46
62
|
/**
|
47
63
|
* calcite-list-item list of features with popup titles
|
48
64
|
*/
|
@@ -81,6 +97,14 @@ export declare class FeatureList {
|
|
81
97
|
* Watch for selectedLayerId change and update layer instance and features list for new layerId
|
82
98
|
*/
|
83
99
|
selectedLayerWatchHandler(): Promise<void>;
|
100
|
+
/**
|
101
|
+
* Watch for sorting field or order change and update the features list
|
102
|
+
*/
|
103
|
+
sortingInfoWatchHandler(): Promise<void>;
|
104
|
+
/**
|
105
|
+
* Watch for whereclause change and update the features list
|
106
|
+
*/
|
107
|
+
whereClauseHandler(): Promise<void>;
|
84
108
|
/**
|
85
109
|
* Refresh the feature list which will fetch the latest features and update the features list
|
86
110
|
* @returns Promise that resolves when the operation is complete
|
@@ -109,6 +133,11 @@ export declare class FeatureList {
|
|
109
133
|
* @protected
|
110
134
|
*/
|
111
135
|
protected initModules(): Promise<void>;
|
136
|
+
/**
|
137
|
+
* Return the where condition string considering the defined where clause and layer's definition expression
|
138
|
+
* @protected
|
139
|
+
*/
|
140
|
+
protected getWhereCondition(): string;
|
112
141
|
/**
|
113
142
|
* Initialize the features list using the selected layer
|
114
143
|
* @protected
|
@@ -135,7 +164,7 @@ export declare class FeatureList {
|
|
135
164
|
protected emitSelectedFeature(graphic: __esri.Graphic): Promise<void>;
|
136
165
|
/**
|
137
166
|
* On feature hover in feature list highlight the feature on the map
|
138
|
-
* @param selectedFeature
|
167
|
+
* @param selectedFeature mouse hovered feature graphic
|
139
168
|
* @protected
|
140
169
|
*/
|
141
170
|
protected onFeatureHover(selectedFeature: __esri.Graphic): Promise<void>;
|
@@ -104,6 +104,10 @@ export declare class InfoCard {
|
|
104
104
|
* IPopupUtils: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
|
105
105
|
*/
|
106
106
|
protected _popupUtils: IPopupUtils;
|
107
|
+
/**
|
108
|
+
* string: unique id for the features node
|
109
|
+
*/
|
110
|
+
protected _featuresNodeId: string;
|
107
111
|
/**
|
108
112
|
* esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
|
109
113
|
*/
|
@@ -129,8 +133,8 @@ export declare class InfoCard {
|
|
129
133
|
*/
|
130
134
|
getSelectedFeature(): Promise<any>;
|
131
135
|
/**
|
132
|
-
*
|
133
|
-
* @returns Promise
|
136
|
+
* Refresh the feature info
|
137
|
+
* @returns Promise when complete
|
134
138
|
*/
|
135
139
|
refresh(): Promise<any>;
|
136
140
|
/**
|