@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
@@ -21103,7 +21103,7 @@ const SpatialRef = class {
|
|
21103
21103
|
* Renders the component.
|
21104
21104
|
*/
|
21105
21105
|
render() {
|
21106
|
-
return (index.h(index.Host, { key: '
|
21106
|
+
return (index.h(index.Host, { key: '27a61b1cda7cc8137d1ec3a9d827292b62efc5eb' }, index.h("div", { key: '94ff017bc871c67753598ce1c76f0a4bcf804faf' }, index.h("calcite-input", { key: 'b45dce7defc94d27e100103effc1dcc5c7020b1f', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), index.h("calcite-tree", { key: 'c23e9b041f81e5b49784e20a6d25e19ff8c4a135', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
|
21107
21107
|
}
|
21108
21108
|
//--------------------------------------------------------------------------
|
21109
21109
|
//
|
@@ -6,6 +6,7 @@
|
|
6
6
|
"components/card-manager/card-manager.js",
|
7
7
|
"components/consent-manager/consent-manager.js",
|
8
8
|
"components/create-feature/create-feature.js",
|
9
|
+
"components/create-related-feature/create-related-feature.js",
|
9
10
|
"components/crowdsource-manager/crowdsource-manager.js",
|
10
11
|
"components/layer-list/layer-list.js",
|
11
12
|
"components/crowdsource-reporter/crowdsource-reporter.js",
|
@@ -0,0 +1,426 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import { Host, h } from "@stencil/core";
|
7
|
+
import { loadModules } from "../../utils/loadModules";
|
8
|
+
export class CreateRelatedFeature {
|
9
|
+
constructor() {
|
10
|
+
this.mapView = undefined;
|
11
|
+
this.table = undefined;
|
12
|
+
this.selectedFeature = undefined;
|
13
|
+
this.customizeSubmit = false;
|
14
|
+
}
|
15
|
+
//--------------------------------------------------------------------------
|
16
|
+
//
|
17
|
+
// Watch handlers
|
18
|
+
//
|
19
|
+
//--------------------------------------------------------------------------
|
20
|
+
/**
|
21
|
+
* Called each time the mapView prop is changed.
|
22
|
+
*/
|
23
|
+
async mapViewWatchHandler() {
|
24
|
+
await this.mapView.when(async () => {
|
25
|
+
await this.init();
|
26
|
+
});
|
27
|
+
}
|
28
|
+
//--------------------------------------------------------------------------
|
29
|
+
//
|
30
|
+
// Methods (public)
|
31
|
+
//
|
32
|
+
//--------------------------------------------------------------------------
|
33
|
+
/**
|
34
|
+
* Destroy the Editor widget instance
|
35
|
+
*/
|
36
|
+
async close() {
|
37
|
+
if (this._editor) {
|
38
|
+
this._editor.destroy();
|
39
|
+
}
|
40
|
+
}
|
41
|
+
/**
|
42
|
+
* Submit the comment
|
43
|
+
*/
|
44
|
+
async submit() {
|
45
|
+
if (this._editor) {
|
46
|
+
this._editor.viewModel.featureFormViewModel.submit();
|
47
|
+
}
|
48
|
+
}
|
49
|
+
//--------------------------------------------------------------------------
|
50
|
+
//
|
51
|
+
// Functions (lifecycle)
|
52
|
+
//
|
53
|
+
//--------------------------------------------------------------------------
|
54
|
+
/**
|
55
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
56
|
+
* @returns Promise when complete
|
57
|
+
*/
|
58
|
+
async componentWillLoad() {
|
59
|
+
await this.initModules();
|
60
|
+
}
|
61
|
+
/**
|
62
|
+
* Init Editor widget and starts the create workflow
|
63
|
+
*/
|
64
|
+
async init() {
|
65
|
+
if (this.mapView) {
|
66
|
+
await this.createEditorWidget();
|
67
|
+
}
|
68
|
+
}
|
69
|
+
/**
|
70
|
+
* Load esri javascript api modules
|
71
|
+
* @returns Promise resolving when function is done
|
72
|
+
* @protected
|
73
|
+
*/
|
74
|
+
async initModules() {
|
75
|
+
const [Editor, reactiveUtils] = await loadModules([
|
76
|
+
"esri/widgets/Editor",
|
77
|
+
"esri/core/reactiveUtils"
|
78
|
+
]);
|
79
|
+
this.Editor = Editor;
|
80
|
+
this.reactiveUtils = reactiveUtils;
|
81
|
+
}
|
82
|
+
render() {
|
83
|
+
return (h(Host, { key: '383e8fac89d037f77241d856013202d1e04b28ba' }));
|
84
|
+
}
|
85
|
+
/**
|
86
|
+
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
87
|
+
*/
|
88
|
+
async componentDidLoad() {
|
89
|
+
await this.init();
|
90
|
+
}
|
91
|
+
/**
|
92
|
+
* Display editor widget to create the new feature
|
93
|
+
* @protected
|
94
|
+
*/
|
95
|
+
async createEditorWidget() {
|
96
|
+
if (this._editor) {
|
97
|
+
this._editor.destroy();
|
98
|
+
}
|
99
|
+
const container = document.createElement("div");
|
100
|
+
this._editor = new this.Editor({
|
101
|
+
view: this.mapView,
|
102
|
+
visibleElements: {
|
103
|
+
snappingControls: false
|
104
|
+
},
|
105
|
+
container
|
106
|
+
});
|
107
|
+
this.el.appendChild(container);
|
108
|
+
//Add handle to watch featureFormViewModel ready state and hide the editor elements
|
109
|
+
const hideElementHandle = this.reactiveUtils.watch(() => { var _a; return (_a = this._editor.viewModel.featureFormViewModel) === null || _a === void 0 ? void 0 : _a.state; }, (state) => {
|
110
|
+
if (state === 'ready') {
|
111
|
+
this.hideEditorsElements();
|
112
|
+
}
|
113
|
+
});
|
114
|
+
this._editor.viewModel.addHandles(hideElementHandle);
|
115
|
+
//Add handle to watch featureTemplatesViewModel ready state and then start the creation
|
116
|
+
const handle = this.reactiveUtils.watch(() => this._editor.viewModel.featureTemplatesViewModel.state, (state) => {
|
117
|
+
if (state === 'ready') {
|
118
|
+
void this.startCreate();
|
119
|
+
}
|
120
|
+
});
|
121
|
+
this._editor.viewModel.addHandles(handle);
|
122
|
+
// Add handle to watch if attachments are added/edited
|
123
|
+
const attachmentHandle = this.reactiveUtils.watch(() => this._editor.viewModel.state, (state) => {
|
124
|
+
if (state === 'adding-attachment' || state === 'editing-attachment') {
|
125
|
+
this._addingAttachment = true;
|
126
|
+
this.isActionPending.emit(true);
|
127
|
+
}
|
128
|
+
else {
|
129
|
+
if (this._addingAttachment) {
|
130
|
+
this.isActionPending.emit(false);
|
131
|
+
this._addingAttachment = false;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
});
|
135
|
+
this._editor.viewModel.addHandles(attachmentHandle);
|
136
|
+
}
|
137
|
+
/**
|
138
|
+
* Start creating the feature feature form
|
139
|
+
* @protected
|
140
|
+
*/
|
141
|
+
async startCreate() {
|
142
|
+
const parentLayer = this.selectedFeature.layer;
|
143
|
+
const childTable = this.table;
|
144
|
+
const parentRelationship = parentLayer.relationships[0];
|
145
|
+
const childRelationship = childTable.relationships.find((rel) => parentLayer.layerId === rel.relatedTableId);
|
146
|
+
const queryResult = await parentLayer.queryFeatures({
|
147
|
+
objectIds: [this.selectedFeature.getObjectId()],
|
148
|
+
outFields: [parentLayer.objectIdField, parentRelationship.keyField],
|
149
|
+
});
|
150
|
+
const parentFeature = queryResult.features[0];
|
151
|
+
const template = childTable.templates[0];
|
152
|
+
const attributeOverrides = this.makeAttributesForRelatedFeature(parentFeature, parentRelationship, childRelationship);
|
153
|
+
const creationInfo = {
|
154
|
+
attributeOverrides,
|
155
|
+
layer: childTable,
|
156
|
+
template,
|
157
|
+
};
|
158
|
+
await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(creationInfo);
|
159
|
+
// Emit an event to show submit cancel buttons
|
160
|
+
this.isActionPending.emit(false);
|
161
|
+
this._editor.viewModel.featureFormViewModel.on('submit', this.submitted.bind(this));
|
162
|
+
}
|
163
|
+
/**
|
164
|
+
* Hides the elements of editor widget
|
165
|
+
* @protected
|
166
|
+
*/
|
167
|
+
hideEditorsElements() {
|
168
|
+
if (!this.customizeSubmit) {
|
169
|
+
return;
|
170
|
+
}
|
171
|
+
setTimeout(() => {
|
172
|
+
var _a;
|
173
|
+
//hides the header and footer on the featureForm
|
174
|
+
(_a = this.el.querySelector('.esri-editor').querySelectorAll('calcite-flow-item')) === null || _a === void 0 ? void 0 : _a.forEach((flowItem) => {
|
175
|
+
var _a, _b, _c, _d, _e;
|
176
|
+
const article = (_c = (_b = (_a = flowItem.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('calcite-panel')) === null || _b === void 0 ? void 0 : _b.shadowRoot) === null || _c === void 0 ? void 0 : _c.querySelector('article');
|
177
|
+
//hide the header
|
178
|
+
(_d = article === null || article === void 0 ? void 0 : article.querySelector('header')) === null || _d === void 0 ? void 0 : _d.setAttribute('style', 'display: none');
|
179
|
+
//hide the footer
|
180
|
+
(_e = article === null || article === void 0 ? void 0 : article.querySelector('footer')) === null || _e === void 0 ? void 0 : _e.setAttribute('style', 'display: none');
|
181
|
+
});
|
182
|
+
}, 700);
|
183
|
+
}
|
184
|
+
/**
|
185
|
+
* Makes attributes for related feature
|
186
|
+
* @param parentFeature Parent feature
|
187
|
+
* @param parentRelationship Parent relationship
|
188
|
+
* @param childRelationship Child relationship
|
189
|
+
* @returns Attributes for related feature
|
190
|
+
*/
|
191
|
+
makeAttributesForRelatedFeature(parentFeature, parentRelationship, childRelationship) {
|
192
|
+
const parentKeyField = parentRelationship.keyField;
|
193
|
+
const parentKeyValue = parentFeature.getAttribute(parentKeyField);
|
194
|
+
let childKeyField = childRelationship.keyField;
|
195
|
+
// get the field from table which name is same as childKeyField and use that field name as childKeyField
|
196
|
+
const field = this.table.fields.find((field) => field.name.toLocaleLowerCase() === childKeyField.toLocaleLowerCase());
|
197
|
+
childKeyField = field.name;
|
198
|
+
const childAttributes = {
|
199
|
+
[childKeyField]: parentKeyValue,
|
200
|
+
};
|
201
|
+
return childAttributes;
|
202
|
+
}
|
203
|
+
/**
|
204
|
+
* On creation of feature emit the event that the feature is created
|
205
|
+
* @param evt feature submit event
|
206
|
+
* @protected
|
207
|
+
*/
|
208
|
+
async submitted(evt) {
|
209
|
+
var _a;
|
210
|
+
//return if any attribute is invalid , focus will be shifted to the invalid attribute in feature form
|
211
|
+
if (evt.invalid.length) {
|
212
|
+
return;
|
213
|
+
}
|
214
|
+
//Submit only when valid attributes
|
215
|
+
//emit success or fail based on the result
|
216
|
+
if (evt.valid.length) {
|
217
|
+
try {
|
218
|
+
await this._editor.activeWorkflow.commit();
|
219
|
+
//throw errors if any failures
|
220
|
+
if ((_a = this._editor.viewModel.failures) === null || _a === void 0 ? void 0 : _a.length) {
|
221
|
+
this._editor.viewModel.failures.some((failure) => {
|
222
|
+
if (failure.error) {
|
223
|
+
throw (failure.error);
|
224
|
+
}
|
225
|
+
});
|
226
|
+
}
|
227
|
+
}
|
228
|
+
catch (e) {
|
229
|
+
this.fail.emit(e);
|
230
|
+
return;
|
231
|
+
}
|
232
|
+
this.success.emit();
|
233
|
+
}
|
234
|
+
}
|
235
|
+
static get is() { return "create-related-feature"; }
|
236
|
+
static get originalStyleUrls() {
|
237
|
+
return {
|
238
|
+
"$": ["create-related-feature.css"]
|
239
|
+
};
|
240
|
+
}
|
241
|
+
static get styleUrls() {
|
242
|
+
return {
|
243
|
+
"$": ["create-related-feature.css"]
|
244
|
+
};
|
245
|
+
}
|
246
|
+
static get properties() {
|
247
|
+
return {
|
248
|
+
"mapView": {
|
249
|
+
"type": "unknown",
|
250
|
+
"mutable": false,
|
251
|
+
"complexType": {
|
252
|
+
"original": "__esri.MapView",
|
253
|
+
"resolved": "MapView",
|
254
|
+
"references": {
|
255
|
+
"___esri": {
|
256
|
+
"location": "global",
|
257
|
+
"id": "global::___esri"
|
258
|
+
}
|
259
|
+
}
|
260
|
+
},
|
261
|
+
"required": false,
|
262
|
+
"optional": false,
|
263
|
+
"docs": {
|
264
|
+
"tags": [],
|
265
|
+
"text": "esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html"
|
266
|
+
}
|
267
|
+
},
|
268
|
+
"table": {
|
269
|
+
"type": "unknown",
|
270
|
+
"mutable": false,
|
271
|
+
"complexType": {
|
272
|
+
"original": "__esri.FeatureLayer",
|
273
|
+
"resolved": "FeatureLayer",
|
274
|
+
"references": {
|
275
|
+
"___esri": {
|
276
|
+
"location": "global",
|
277
|
+
"id": "global::___esri"
|
278
|
+
}
|
279
|
+
}
|
280
|
+
},
|
281
|
+
"required": false,
|
282
|
+
"optional": false,
|
283
|
+
"docs": {
|
284
|
+
"tags": [],
|
285
|
+
"text": "__esri.FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html"
|
286
|
+
}
|
287
|
+
},
|
288
|
+
"selectedFeature": {
|
289
|
+
"type": "unknown",
|
290
|
+
"mutable": false,
|
291
|
+
"complexType": {
|
292
|
+
"original": "__esri.Graphic",
|
293
|
+
"resolved": "Graphic",
|
294
|
+
"references": {
|
295
|
+
"___esri": {
|
296
|
+
"location": "global",
|
297
|
+
"id": "global::___esri"
|
298
|
+
}
|
299
|
+
}
|
300
|
+
},
|
301
|
+
"required": false,
|
302
|
+
"optional": false,
|
303
|
+
"docs": {
|
304
|
+
"tags": [],
|
305
|
+
"text": "__esri.Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html"
|
306
|
+
}
|
307
|
+
},
|
308
|
+
"customizeSubmit": {
|
309
|
+
"type": "boolean",
|
310
|
+
"mutable": false,
|
311
|
+
"complexType": {
|
312
|
+
"original": "boolean",
|
313
|
+
"resolved": "boolean",
|
314
|
+
"references": {}
|
315
|
+
},
|
316
|
+
"required": false,
|
317
|
+
"optional": true,
|
318
|
+
"docs": {
|
319
|
+
"tags": [],
|
320
|
+
"text": "boolean: Set this to true when have a custom submit button in the app.\r\nThis will hide the header and footer elements of the editor and user needs to execute the submit method manually."
|
321
|
+
},
|
322
|
+
"attribute": "customize-submit",
|
323
|
+
"reflect": false,
|
324
|
+
"defaultValue": "false"
|
325
|
+
}
|
326
|
+
};
|
327
|
+
}
|
328
|
+
static get events() {
|
329
|
+
return [{
|
330
|
+
"method": "success",
|
331
|
+
"name": "success",
|
332
|
+
"bubbles": true,
|
333
|
+
"cancelable": true,
|
334
|
+
"composed": true,
|
335
|
+
"docs": {
|
336
|
+
"tags": [],
|
337
|
+
"text": "Emitted on demand when the comment is submitted successfully"
|
338
|
+
},
|
339
|
+
"complexType": {
|
340
|
+
"original": "void",
|
341
|
+
"resolved": "void",
|
342
|
+
"references": {}
|
343
|
+
}
|
344
|
+
}, {
|
345
|
+
"method": "fail",
|
346
|
+
"name": "fail",
|
347
|
+
"bubbles": true,
|
348
|
+
"cancelable": true,
|
349
|
+
"composed": true,
|
350
|
+
"docs": {
|
351
|
+
"tags": [],
|
352
|
+
"text": "Emitted on demand when the comment submission is failed"
|
353
|
+
},
|
354
|
+
"complexType": {
|
355
|
+
"original": "Error",
|
356
|
+
"resolved": "Error",
|
357
|
+
"references": {
|
358
|
+
"Error": {
|
359
|
+
"location": "global",
|
360
|
+
"id": "global::Error"
|
361
|
+
}
|
362
|
+
}
|
363
|
+
}
|
364
|
+
}, {
|
365
|
+
"method": "isActionPending",
|
366
|
+
"name": "isActionPending",
|
367
|
+
"bubbles": true,
|
368
|
+
"cancelable": true,
|
369
|
+
"composed": true,
|
370
|
+
"docs": {
|
371
|
+
"tags": [],
|
372
|
+
"text": "Emitted on demand when any action is pending or completed"
|
373
|
+
},
|
374
|
+
"complexType": {
|
375
|
+
"original": "boolean",
|
376
|
+
"resolved": "boolean",
|
377
|
+
"references": {}
|
378
|
+
}
|
379
|
+
}];
|
380
|
+
}
|
381
|
+
static get methods() {
|
382
|
+
return {
|
383
|
+
"close": {
|
384
|
+
"complexType": {
|
385
|
+
"signature": "() => Promise<void>",
|
386
|
+
"parameters": [],
|
387
|
+
"references": {
|
388
|
+
"Promise": {
|
389
|
+
"location": "global",
|
390
|
+
"id": "global::Promise"
|
391
|
+
}
|
392
|
+
},
|
393
|
+
"return": "Promise<void>"
|
394
|
+
},
|
395
|
+
"docs": {
|
396
|
+
"text": "Destroy the Editor widget instance",
|
397
|
+
"tags": []
|
398
|
+
}
|
399
|
+
},
|
400
|
+
"submit": {
|
401
|
+
"complexType": {
|
402
|
+
"signature": "() => Promise<void>",
|
403
|
+
"parameters": [],
|
404
|
+
"references": {
|
405
|
+
"Promise": {
|
406
|
+
"location": "global",
|
407
|
+
"id": "global::Promise"
|
408
|
+
}
|
409
|
+
},
|
410
|
+
"return": "Promise<void>"
|
411
|
+
},
|
412
|
+
"docs": {
|
413
|
+
"text": "Submit the comment",
|
414
|
+
"tags": []
|
415
|
+
}
|
416
|
+
}
|
417
|
+
};
|
418
|
+
}
|
419
|
+
static get elementRef() { return "el"; }
|
420
|
+
static get watchers() {
|
421
|
+
return [{
|
422
|
+
"propName": "mapView",
|
423
|
+
"methodName": "mapViewWatchHandler"
|
424
|
+
}];
|
425
|
+
}
|
426
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import { newE2EPage } from "@stencil/core/testing";
|
7
|
+
xdescribe('create-related-feature', () => {
|
8
|
+
it('renders', async () => {
|
9
|
+
const page = await newE2EPage();
|
10
|
+
await page.setContent('<create-related-feature></create-related-feature>');
|
11
|
+
const element = await page.find('create-related-feature');
|
12
|
+
expect(element).toHaveClass('hydrated');
|
13
|
+
});
|
14
|
+
});
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import { newSpecPage } from "@stencil/core/testing";
|
7
|
+
import { CreateRelatedFeature } from "../create-related-feature";
|
8
|
+
xdescribe('create-related-feature', () => {
|
9
|
+
it('renders', async () => {
|
10
|
+
const page = await newSpecPage({
|
11
|
+
components: [CreateRelatedFeature],
|
12
|
+
html: `<create-related-feature></create-related-feature>`,
|
13
|
+
});
|
14
|
+
expect(page.root).toEqualHtml(`
|
15
|
+
<create-related-feature>
|
16
|
+
<mock:shadow-root>
|
17
|
+
<slot></slot>
|
18
|
+
</mock:shadow-root>
|
19
|
+
</create-related-feature>
|
20
|
+
`);
|
21
|
+
});
|
22
|
+
});
|
@@ -186,7 +186,7 @@ export class CrowdsourceManager {
|
|
186
186
|
* Renders the component.
|
187
187
|
*/
|
188
188
|
render() {
|
189
|
-
return (h(Host, { key: '
|
189
|
+
return (h(Host, { key: '68558824544553dd0c16832e4530afb4023ff421' }, h("calcite-shell", { key: '9369769a8ff35ab56b5317cde8b325e4635c817e', class: "position-relative" }, h("calcite-panel", { key: 'c2e5f3feb974a50039427f91e408c2add1b0cc4f', class: `width-full height-full border-width-0` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
|
190
190
|
}
|
191
191
|
/**
|
192
192
|
* Called after each render
|