@esri/solutions-components 0.8.13 → 0.8.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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
|
@@ -175,6 +175,24 @@ export async function getAllLayers(
|
|
|
175
175
|
return layers;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
+
/**
|
|
179
|
+
* Get all of the tables from the current map when the map and their layerView is ready
|
|
180
|
+
* @param mapView the map view to fetch the table names from
|
|
181
|
+
* @returns Promise resolving with an array of all tables
|
|
182
|
+
*
|
|
183
|
+
*/
|
|
184
|
+
export async function getAllTables(
|
|
185
|
+
mapView: __esri.MapView
|
|
186
|
+
): Promise<__esri.Layer[]> {
|
|
187
|
+
const tables = mapView.map.allTables.toArray();
|
|
188
|
+
let layerViewPromises;
|
|
189
|
+
await mapView.when(() => {
|
|
190
|
+
layerViewPromises = tables.map(t => t.load());
|
|
191
|
+
});
|
|
192
|
+
await Promise.allSettled(layerViewPromises);
|
|
193
|
+
return tables;
|
|
194
|
+
}
|
|
195
|
+
|
|
178
196
|
/**
|
|
179
197
|
* Highlight features by OID
|
|
180
198
|
*
|
|
@@ -313,7 +331,7 @@ export async function goToSelection(
|
|
|
313
331
|
const result = await queryExtent(ids, layerView.layer);
|
|
314
332
|
const goToParams: { target: __esri.Extent; scale?: number; } = { target: result.extent };
|
|
315
333
|
if (result.count === 1 && layerView.layer.geometryType === 'point' && zoomToScale) {
|
|
316
|
-
goToParams.scale = zoomToScale
|
|
334
|
+
goToParams.scale = zoomToScale;
|
|
317
335
|
}
|
|
318
336
|
await mapView.goTo(goToParams);
|
|
319
337
|
if (flashFeatures) {
|
|
@@ -41,7 +41,7 @@ export function exportPDF(
|
|
|
41
41
|
title = "",
|
|
42
42
|
initialImageDataUrl = ""
|
|
43
43
|
): void {
|
|
44
|
-
downloadPDFFile(filename, labels, labelPageDescription, title, initialImageDataUrl);
|
|
44
|
+
void downloadPDFFile(filename, labels, labelPageDescription, title, initialImageDataUrl);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
//#endregion
|
|
@@ -56,15 +56,15 @@ export function exportPDF(
|
|
|
56
56
|
* @param title Title for each page
|
|
57
57
|
* @param initialImageDataUrl Data URL of image for first page
|
|
58
58
|
*/
|
|
59
|
-
function downloadPDFFile(
|
|
59
|
+
async function downloadPDFFile(
|
|
60
60
|
filename: string,
|
|
61
61
|
labels: string[][],
|
|
62
62
|
labelPageDescription: PDFLabels.ILabel,
|
|
63
63
|
title = "",
|
|
64
64
|
initialImageDataUrl = ""
|
|
65
|
-
): void {
|
|
65
|
+
): Promise<void> {
|
|
66
66
|
const pdfLib = new PDFCreator_jsPDF.PDFCreator_jsPDF();
|
|
67
|
-
pdfLib.initialize(
|
|
67
|
+
await pdfLib.initialize(
|
|
68
68
|
{
|
|
69
69
|
pageType: "ANSI_A"
|
|
70
70
|
},
|
|
@@ -72,52 +72,45 @@ function downloadPDFFile(
|
|
|
72
72
|
"en",
|
|
73
73
|
filename // filename without ".pdf"
|
|
74
74
|
)
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
if (title) {
|
|
98
|
-
labeller.drawSupplementalText(title, 0, -0.1);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
if (labels.length > 0) {
|
|
102
|
-
pdfLib.addPage();
|
|
103
|
-
++startingPageNum;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Add the labels to the PDF
|
|
108
|
-
await labeller.addLabelsToDoc(
|
|
109
|
-
labels,
|
|
110
|
-
labelSpec,
|
|
111
|
-
startingPageNum,
|
|
112
|
-
title // heading
|
|
113
|
-
);
|
|
114
|
-
|
|
115
|
-
pdfLib.save();
|
|
116
|
-
}
|
|
117
|
-
);
|
|
75
|
+
|
|
76
|
+
const labeller = new PDFLabels.PDFLabels();
|
|
77
|
+
await labeller.initialize(pdfLib)
|
|
78
|
+
|
|
79
|
+
const labelSpec = labelPageDescription.labelSpec;
|
|
80
|
+
|
|
81
|
+
let startingPageNum = 1;
|
|
82
|
+
|
|
83
|
+
// Add the screenshot to the PDF
|
|
84
|
+
if (initialImageDataUrl) {
|
|
85
|
+
const pageProperties = labelSpec.pageProperties;
|
|
86
|
+
const pageSize = PDFCreator.PDFCreator.getPageSize(pageProperties.pageType);
|
|
87
|
+
|
|
88
|
+
pdfLib.drawImage(initialImageDataUrl, {
|
|
89
|
+
x: pageProperties.leftMargin,
|
|
90
|
+
y: pageProperties.topMargin,
|
|
91
|
+
width: pageSize.width - pageProperties.leftMargin - pageProperties.rightMargin,
|
|
92
|
+
height: pageSize.height - pageProperties.topMargin - pageProperties.bottomMargin
|
|
93
|
+
});
|
|
94
|
+
|
|
95
|
+
if (title) {
|
|
96
|
+
labeller.drawSupplementalText(title, 0, -0.1);
|
|
118
97
|
}
|
|
98
|
+
|
|
99
|
+
if (labels.length > 0) {
|
|
100
|
+
pdfLib.addPage();
|
|
101
|
+
++startingPageNum;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Add the labels to the PDF
|
|
106
|
+
await labeller.addLabelsToDoc(
|
|
107
|
+
labels,
|
|
108
|
+
labelSpec,
|
|
109
|
+
startingPageNum,
|
|
110
|
+
title // heading
|
|
119
111
|
);
|
|
120
112
|
|
|
113
|
+
pdfLib.save();
|
|
121
114
|
}
|
|
122
115
|
|
|
123
116
|
//#endregion
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
/** @license
|
|
2
|
+
* Copyright 2022 Esri
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import * as PDFCreator from "./PDFCreator";
|
|
17
|
+
/**
|
|
18
|
+
* Properties of a page of labels.
|
|
19
|
+
*/
|
|
20
|
+
export interface ILabel {
|
|
21
|
+
/**
|
|
22
|
+
* User-interface description of label type.
|
|
23
|
+
*/
|
|
24
|
+
descriptionPDF: ILabelDescription;
|
|
25
|
+
/**
|
|
26
|
+
* Properties describing page dimensions of labels sheet.
|
|
27
|
+
*/
|
|
28
|
+
labelSpec: ILabelSpec;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* User-interface description of label type.
|
|
32
|
+
*/
|
|
33
|
+
export interface ILabelDescription {
|
|
34
|
+
/**
|
|
35
|
+
* Width of label for display, e.g., "2-5/8"
|
|
36
|
+
*/
|
|
37
|
+
labelWidthDisplay: string;
|
|
38
|
+
/**
|
|
39
|
+
* Height of label for display, e.g., "1"
|
|
40
|
+
*/
|
|
41
|
+
labelHeightDisplay: string;
|
|
42
|
+
/**
|
|
43
|
+
* Number of labels on page, e.g., "30"
|
|
44
|
+
*/
|
|
45
|
+
labelsPerPageDisplay: string;
|
|
46
|
+
/**
|
|
47
|
+
* Avery® part number, e.g., "*60"
|
|
48
|
+
*/
|
|
49
|
+
averyPartNumber: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Properties describing page dimensions of labels sheet.
|
|
53
|
+
*/
|
|
54
|
+
export interface ILabelSpec {
|
|
55
|
+
/**
|
|
56
|
+
* Flag indicating the nature of the label product, e.g., "AVERY", "CSV"
|
|
57
|
+
*/
|
|
58
|
+
type: string;
|
|
59
|
+
/**
|
|
60
|
+
* Properties describing page dimensions in doc units.
|
|
61
|
+
*/
|
|
62
|
+
pageProperties: PDFCreator.IPageProperties;
|
|
63
|
+
/**
|
|
64
|
+
* Count of labels across the width of the page
|
|
65
|
+
*/
|
|
66
|
+
numLabelsAcross: number;
|
|
67
|
+
/**
|
|
68
|
+
* Count of labels down the length of the page
|
|
69
|
+
*/
|
|
70
|
+
numLabelsDown: number;
|
|
71
|
+
/**
|
|
72
|
+
* Width of a label in doc units
|
|
73
|
+
*/
|
|
74
|
+
labelWidth: number;
|
|
75
|
+
/**
|
|
76
|
+
* Height of a label in doc units
|
|
77
|
+
*/
|
|
78
|
+
labelHeight: number;
|
|
79
|
+
/**
|
|
80
|
+
* Gap between each column of labels in doc units
|
|
81
|
+
*/
|
|
82
|
+
horizGapIn: number;
|
|
83
|
+
/**
|
|
84
|
+
* Gap between each row of labels in doc units
|
|
85
|
+
*/
|
|
86
|
+
vertGapIn: number;
|
|
87
|
+
/**
|
|
88
|
+
* Amount of padding within labels in doc units
|
|
89
|
+
*/
|
|
90
|
+
labelPadding: number;
|
|
91
|
+
/**
|
|
92
|
+
* Font size for text put in each label in pixels
|
|
93
|
+
*/
|
|
94
|
+
fontSizePx: number;
|
|
95
|
+
/**
|
|
96
|
+
* Maximum number of lines that a label is permitted to hold; subsequent lines will not be written
|
|
97
|
+
*/
|
|
98
|
+
maxNumLabelLines: number;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Function signature for reporting progress in function addLabelsToDoc.
|
|
102
|
+
*
|
|
103
|
+
*/
|
|
104
|
+
export type IAddLabelsToDocProgressCallback = (
|
|
105
|
+
/**
|
|
106
|
+
* Percent done; range 0..100
|
|
107
|
+
*/
|
|
108
|
+
percentDone: number) => void;
|
|
109
|
+
export declare class PDFLabels {
|
|
110
|
+
PDFCreator: PDFCreator.PDFCreator;
|
|
111
|
+
labelFormats: ILabel[];
|
|
112
|
+
/**
|
|
113
|
+
* Add labels to a PDF doc, starting at the beginning of the specified PDF doc page.
|
|
114
|
+
*
|
|
115
|
+
* @param labels Array of labels; each label consists of one or more line strings
|
|
116
|
+
* @param labelSpec Properties describing page dimensions of labels sheet
|
|
117
|
+
* @param startingPageNum The 1-based page number to start printing labels into; page is assumed to be blank & to exist
|
|
118
|
+
* @param heading Line to add at top of label page outside of labels
|
|
119
|
+
* @param progressCallback Callback with percent done in range 0..100
|
|
120
|
+
* @returns Promise which, when resolved, returns the 1-based page number of the last page containing labels
|
|
121
|
+
*
|
|
122
|
+
* @class PDFLabels
|
|
123
|
+
*/
|
|
124
|
+
addLabelsToDoc(labels: string[][], labelSpec: ILabelSpec, startingPageNum: number, heading?: string, progressCallback?: IAddLabelsToDocProgressCallback): Promise<number>;
|
|
125
|
+
drawLabelGuidelines(labelSpec: ILabelSpec, labelBoundaryLinesProperties?: PDFCreator.ILineProperties): void;
|
|
126
|
+
/**
|
|
127
|
+
* Draws supplemental text such as a heading or footer.
|
|
128
|
+
*
|
|
129
|
+
* @param text Text to draw
|
|
130
|
+
* @param left Offset from left edge of document to left edge of text
|
|
131
|
+
* @param top Offset from top of document to top of text
|
|
132
|
+
*/
|
|
133
|
+
drawSupplementalText(text: string, left: number, top: number): void;
|
|
134
|
+
/**
|
|
135
|
+
* Returns the UI descriptions of the label formats.
|
|
136
|
+
*
|
|
137
|
+
* @returns List of label format descriptions
|
|
138
|
+
*
|
|
139
|
+
* @class PDFLabels
|
|
140
|
+
*/
|
|
141
|
+
getAvailableLabelFormats(): ILabelDescription[];
|
|
142
|
+
/**
|
|
143
|
+
* Returns the format of the specified label.
|
|
144
|
+
*
|
|
145
|
+
* @param averyPartNumber Avery® label base part number, e.g., "*60" (versus actual part numbers "5160", "8160",
|
|
146
|
+
* "8460", "48160"--all of which are 1" x 2-5/8" rectangular labels)
|
|
147
|
+
* @returns List of label format descriptions
|
|
148
|
+
*
|
|
149
|
+
* @class PDFLabels
|
|
150
|
+
*/
|
|
151
|
+
getLabelFormat(averyPartNumber: string): ILabel;
|
|
152
|
+
/**
|
|
153
|
+
* Loads language font file and label formats into a jsPDF `doc` object.
|
|
154
|
+
*
|
|
155
|
+
* @param PDFCreator PDF-drawing library
|
|
156
|
+
* @throws TypeError "startPDFLabelDoc is stomping on labelFormats property" if the `labelFormats` property
|
|
157
|
+
* is found in doc before the label formats are loaded into the doc.
|
|
158
|
+
*
|
|
159
|
+
* @class PDFLabels
|
|
160
|
+
*/
|
|
161
|
+
initialize(PDFCreator: PDFCreator.PDFCreator): Promise<void>;
|
|
162
|
+
/**
|
|
163
|
+
* Removes duplicates and empties, trims label lines, and returns a sorted list.
|
|
164
|
+
*
|
|
165
|
+
* @class PDFLabels
|
|
166
|
+
*/
|
|
167
|
+
removeDuplicates(labels: string[][]): string[][];
|
|
168
|
+
/**
|
|
169
|
+
* Calculates the baseline position of the first line of text in a label.
|
|
170
|
+
*
|
|
171
|
+
* @param labelTop Offset from top of document to top of label
|
|
172
|
+
* @param labelHeight Height of each label in doc units
|
|
173
|
+
* @param numLabelLines Number of lines to be drawn in the label
|
|
174
|
+
* @param fontHeight Height of text in doc units
|
|
175
|
+
* @param verticalFontGap Spacing between lines of text in doc units
|
|
176
|
+
* @returns Baseline position
|
|
177
|
+
*
|
|
178
|
+
* @class PDFLabels
|
|
179
|
+
* @private
|
|
180
|
+
*/
|
|
181
|
+
_calculateLabelFirstLineBase(labelTop: number, labelHeight: number, numLabelLines: number, fontHeight: number, verticalFontGap: number): number;
|
|
182
|
+
/**
|
|
183
|
+
* Trims a set of text lines to fit within specified bounds.
|
|
184
|
+
*
|
|
185
|
+
* @param lines Text lines to be trimmed
|
|
186
|
+
* @param maxTextWidth The maximum width permitted for the drawing of the text in doc units
|
|
187
|
+
* @param fontSize Text size in points
|
|
188
|
+
* @returns A copy of lines trimmed as necessary
|
|
189
|
+
*
|
|
190
|
+
* @class PDFLabels
|
|
191
|
+
* @private
|
|
192
|
+
*/
|
|
193
|
+
_clipOverlongLines(lines: string[], maxTextWidth: number, fontSize: number): string[];
|
|
194
|
+
/**
|
|
195
|
+
* Trims a set of text lines to fit within specified bounds.
|
|
196
|
+
*
|
|
197
|
+
* @param lines Text lines to be checked
|
|
198
|
+
* @param maxTextWidth The maximum width permitted for the drawing of the text in doc units
|
|
199
|
+
* @param preferredFontSize Initial text size in points
|
|
200
|
+
* @param minimumFontSize The smallest acceptable font size in points
|
|
201
|
+
* @returns The maximum of `minimumFontSize` and the font size in points that should help all lines
|
|
202
|
+
* of the label to fit on the label
|
|
203
|
+
*
|
|
204
|
+
* @class PDFLabels
|
|
205
|
+
* @private
|
|
206
|
+
*/
|
|
207
|
+
_getFontSizeForOverlongLines(lines: string[], maxTextWidth: number, preferredFontSize: number, minimumFontSize: number): number;
|
|
208
|
+
/**
|
|
209
|
+
* Loads the label formats.
|
|
210
|
+
*
|
|
211
|
+
* @param dataPath Path to the library's data files
|
|
212
|
+
* @returns Promise resolving to the label formats JSON
|
|
213
|
+
*
|
|
214
|
+
* @class PDFLabels
|
|
215
|
+
* @private
|
|
216
|
+
*/
|
|
217
|
+
_loadLabelFormats(dataPath: string): Promise<ILabel[]>;
|
|
218
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/// <reference types="arcgis-js-api" />
|
|
2
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
3
|
+
export declare class CreateRelatedFeature {
|
|
4
|
+
el: HTMLCreateRelatedFeatureElement;
|
|
5
|
+
/**
|
|
6
|
+
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
|
7
|
+
*/
|
|
8
|
+
mapView: __esri.MapView;
|
|
9
|
+
/**
|
|
10
|
+
* __esri.FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
|
11
|
+
*/
|
|
12
|
+
table: __esri.FeatureLayer;
|
|
13
|
+
/**
|
|
14
|
+
* __esri.Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
|
|
15
|
+
*/
|
|
16
|
+
selectedFeature: __esri.Graphic;
|
|
17
|
+
/**
|
|
18
|
+
* boolean: Set this to true when have a custom submit button in the app.
|
|
19
|
+
* This will hide the header and footer elements of the editor and user needs to execute the submit method manually.
|
|
20
|
+
*/
|
|
21
|
+
customizeSubmit?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
|
|
24
|
+
* The Editor constructor
|
|
25
|
+
*/
|
|
26
|
+
protected Editor: typeof import("esri/widgets/Editor");
|
|
27
|
+
/**
|
|
28
|
+
* esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
|
|
29
|
+
* The Editor instance
|
|
30
|
+
*/
|
|
31
|
+
protected _editor: __esri.Editor;
|
|
32
|
+
/**
|
|
33
|
+
* esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
|
|
34
|
+
*/
|
|
35
|
+
protected reactiveUtils: typeof import("esri/core/reactiveUtils");
|
|
36
|
+
/**
|
|
37
|
+
* boolean: Flag to maintain the add attachment
|
|
38
|
+
*/
|
|
39
|
+
protected _addingAttachment: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Called each time the mapView prop is changed.
|
|
42
|
+
*/
|
|
43
|
+
mapViewWatchHandler(): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Destroy the Editor widget instance
|
|
46
|
+
*/
|
|
47
|
+
close(): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Submit the comment
|
|
50
|
+
*/
|
|
51
|
+
submit(): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Emitted on demand when the comment is submitted successfully
|
|
54
|
+
*/
|
|
55
|
+
success: EventEmitter<void>;
|
|
56
|
+
/**
|
|
57
|
+
* Emitted on demand when the comment submission is failed
|
|
58
|
+
*/
|
|
59
|
+
fail: EventEmitter<Error>;
|
|
60
|
+
/**
|
|
61
|
+
* Emitted on demand when any action is pending or completed
|
|
62
|
+
*/
|
|
63
|
+
isActionPending: EventEmitter<boolean>;
|
|
64
|
+
/**
|
|
65
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
|
66
|
+
* @returns Promise when complete
|
|
67
|
+
*/
|
|
68
|
+
componentWillLoad(): Promise<void>;
|
|
69
|
+
/**
|
|
70
|
+
* Init Editor widget and starts the create workflow
|
|
71
|
+
*/
|
|
72
|
+
protected init(): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* Load esri javascript api modules
|
|
75
|
+
* @returns Promise resolving when function is done
|
|
76
|
+
* @protected
|
|
77
|
+
*/
|
|
78
|
+
protected initModules(): Promise<void>;
|
|
79
|
+
render(): any;
|
|
80
|
+
/**
|
|
81
|
+
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
|
82
|
+
*/
|
|
83
|
+
componentDidLoad(): Promise<void>;
|
|
84
|
+
/**
|
|
85
|
+
* Display editor widget to create the new feature
|
|
86
|
+
* @protected
|
|
87
|
+
*/
|
|
88
|
+
protected createEditorWidget(): Promise<void>;
|
|
89
|
+
/**
|
|
90
|
+
* Start creating the feature feature form
|
|
91
|
+
* @protected
|
|
92
|
+
*/
|
|
93
|
+
protected startCreate(): Promise<void>;
|
|
94
|
+
/**
|
|
95
|
+
* Hides the elements of editor widget
|
|
96
|
+
* @protected
|
|
97
|
+
*/
|
|
98
|
+
protected hideEditorsElements(): void;
|
|
99
|
+
/**
|
|
100
|
+
* Makes attributes for related feature
|
|
101
|
+
* @param parentFeature Parent feature
|
|
102
|
+
* @param parentRelationship Parent relationship
|
|
103
|
+
* @param childRelationship Child relationship
|
|
104
|
+
* @returns Attributes for related feature
|
|
105
|
+
*/
|
|
106
|
+
protected makeAttributesForRelatedFeature(parentFeature: __esri.Graphic, parentRelationship: __esri.Relationship, childRelationship: __esri.Relationship): object;
|
|
107
|
+
/**
|
|
108
|
+
* On creation of feature emit the event that the feature is created
|
|
109
|
+
* @param evt feature submit event
|
|
110
|
+
* @protected
|
|
111
|
+
*/
|
|
112
|
+
protected submitted(evt: any): Promise<void>;
|
|
113
|
+
}
|