@esri/solutions-components 0.10.34 → 0.10.36
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +7 -6
- package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-alert_5.cjs.entry.js +10 -8
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +1 -1
- package/dist/cjs/calcite-flow_4.cjs.entry.js +18 -16
- package/dist/cjs/{calcite-modal_3.cjs.entry.js → calcite-modal.cjs.entry.js} +27 -368
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +7 -7
- package/dist/cjs/calcite-shell_3.cjs.entry.js +440 -0
- package/dist/cjs/card-manager_3.cjs.entry.js +22 -11
- package/dist/cjs/crowdsource-manager.cjs.entry.js +28 -31
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +24 -21
- package/dist/cjs/{downloadUtils-20637f89.js → downloadUtils-76bc7e30.js} +6 -5
- 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 +7 -7
- package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
- package/dist/cjs/{index.es-a242cb45.js → index.es-8336efed.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/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{popupUtils-d477705b.js → popupUtils-bc762034.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-accordion.cjs.entry.js +1 -1
- 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/assets/t9n/delete-dialog/resources.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_ar.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_bg.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_bs.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_ca.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_cs.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_da.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_de.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_el.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_en.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_es.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_et.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_fi.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_fr.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_he.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_hr.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_hu.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_id.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_it.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_ja.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_ko.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_lt.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_lv.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_nb.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_nl.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_pl.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_pt-BR.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_pt-PT.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_ro.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_ru.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_sk.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_sl.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_sr.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_sv.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_th.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_tr.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_uk.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_vi.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_zh-CN.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_zh-HK.json +8 -0
- package/dist/collection/assets/t9n/delete-dialog/resources_zh-TW.json +8 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/create-feature/create-feature.css +2 -1
- package/dist/collection/components/create-feature/create-feature.js +3 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +4 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +29 -30
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +24 -21
- package/dist/collection/components/delete-button/delete-button.js +20 -27
- package/dist/collection/components/delete-dialog/delete-dialog.css +23 -0
- package/dist/collection/components/delete-dialog/delete-dialog.js +239 -0
- 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.js +13 -11
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +1 -1
- package/dist/collection/components/feature-list/feature-list.js +4 -4
- 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 +2 -2
- package/dist/collection/components/json-editor/json-editor.js +1 -1
- package/dist/collection/components/layer-list/layer-list.js +5 -5
- package/dist/collection/components/layer-table/layer-table.css +6 -0
- package/dist/collection/components/layer-table/layer-table.js +19 -7
- 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 +2 -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-accordion/solution-item-accordion.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 +5 -3
- package/dist/collection/utils/downloadUtils.ts +6 -3
- package/dist/collection/utils/test/downloadUtils.spec.tsx +10 -12
- package/dist/components/card-manager2.js +40 -34
- package/dist/components/create-feature2.js +4 -2
- package/dist/components/crowdsource-manager.js +127 -123
- package/dist/components/crowdsource-reporter.js +110 -101
- package/dist/components/delete-button2.js +24 -41
- package/dist/components/delete-dialog.d.ts +11 -0
- package/dist/components/delete-dialog.js +11 -0
- package/dist/components/delete-dialog2.js +165 -0
- package/dist/components/downloadUtils.js +5 -4
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/feature-comments.js +1 -1
- package/dist/components/feature-details2.js +67 -59
- package/dist/components/feature-form-flow-item.js +1 -1
- package/dist/components/feature-list2.js +4 -4
- package/dist/components/features-flow-item.js +1 -1
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/info-card2.js +38 -32
- package/dist/components/json-editor2.js +1 -1
- package/dist/components/layer-list2.js +5 -5
- package/dist/components/layer-table2.js +100 -82
- 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 +2 -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/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 +1 -1
- 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-accordion.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-ref.js +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +7 -6
- package/dist/esm/buffer-tools_3.entry.js +1 -1
- package/dist/esm/calcite-alert_5.entry.js +10 -8
- package/dist/esm/calcite-combobox_3.entry.js +1 -1
- package/dist/esm/calcite-flow_4.entry.js +18 -16
- package/dist/esm/{calcite-modal_3.entry.js → calcite-modal.entry.js} +30 -369
- package/dist/esm/calcite-shell-panel_14.entry.js +7 -7
- package/dist/esm/calcite-shell_3.entry.js +434 -0
- package/dist/esm/card-manager_3.entry.js +22 -11
- package/dist/esm/crowdsource-manager.entry.js +28 -31
- package/dist/esm/crowdsource-reporter.entry.js +24 -21
- package/dist/esm/{downloadUtils-e266e98d.js → downloadUtils-bc7a4ba1.js} +6 -5
- 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 +7 -7
- package/dist/esm/features-flow-item.entry.js +1 -1
- package/dist/esm/{index.es-c5f258e2.js → index.es-0d189a34.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/pci-calculator.entry.js +1 -1
- package/dist/esm/{popupUtils-4570096e.js → popupUtils-03dc398a.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-accordion.entry.js +1 -1
- 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/assets/t9n/delete-dialog/resources.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_ar.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_bg.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_bs.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_ca.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_cs.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_da.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_de.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_el.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_en.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_es.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_et.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_fi.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_fr.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_he.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_hr.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_hu.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_id.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_it.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_ja.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_ko.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_lt.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_lv.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_nb.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_nl.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_pl.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_pt-BR.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_pt-PT.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_ro.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_ru.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_sk.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_sl.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_sr.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_sv.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_th.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_tr.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_uk.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_vi.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-CN.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-HK.json +8 -0
- package/dist/solutions-components/assets/t9n/delete-dialog/resources_zh-TW.json +8 -0
- package/dist/solutions-components/{p-ffa9a117.entry.js → p-04ab956c.entry.js} +1 -1
- package/dist/solutions-components/{p-6c3261d7.entry.js → p-06364211.entry.js} +1 -1
- package/dist/solutions-components/{p-d119872d.entry.js → p-18089a0b.entry.js} +1 -1
- package/dist/solutions-components/p-1f07e21a.entry.js +6 -0
- package/dist/solutions-components/p-2a6ecaa9.entry.js +11 -0
- package/dist/solutions-components/p-46416e11.entry.js +6 -0
- package/dist/solutions-components/{p-5fc0e134.entry.js → p-59ccd27c.entry.js} +1 -1
- package/dist/solutions-components/{p-42f75c8f.entry.js → p-6502d0f8.entry.js} +1 -1
- package/dist/solutions-components/{p-a568af9f.js → p-6f606cdb.js} +1 -1
- package/dist/solutions-components/p-70c0050c.entry.js +6 -0
- package/dist/solutions-components/p-720de4db.entry.js +6 -0
- package/dist/solutions-components/p-74bcef23.entry.js +11 -0
- package/dist/solutions-components/{p-4cb12506.entry.js → p-76154700.entry.js} +1 -1
- package/dist/solutions-components/p-82ddf716.entry.js +6 -0
- package/dist/solutions-components/{p-d08ece15.entry.js → p-841816a1.entry.js} +1 -1
- package/dist/solutions-components/p-938bc915.entry.js +6 -0
- package/dist/solutions-components/p-97fe6ec5.entry.js +6 -0
- package/dist/solutions-components/{p-dd0bd439.entry.js → p-9c4fef09.entry.js} +3 -3
- package/dist/solutions-components/{p-fa7672c7.entry.js → p-9d56f4b5.entry.js} +1 -1
- package/dist/solutions-components/p-9da8a590.entry.js +6 -0
- package/dist/solutions-components/{p-5fdb8f83.entry.js → p-a5d79c86.entry.js} +1 -1
- package/dist/solutions-components/{p-4f5913f3.entry.js → p-aac0c89c.entry.js} +1 -1
- package/dist/solutions-components/{p-ddc1218d.entry.js → p-be4c7ffd.entry.js} +1 -1
- package/dist/solutions-components/p-cd482a33.js +21 -0
- package/dist/solutions-components/p-d2612c30.entry.js +6 -0
- package/dist/solutions-components/{p-a07322cc.entry.js → p-df7de4b7.entry.js} +1 -1
- package/dist/solutions-components/{p-a8525233.entry.js → p-e345f9c4.entry.js} +1 -1
- package/dist/solutions-components/{p-1f072e2c.entry.js → p-eadff42b.entry.js} +1 -1
- package/dist/solutions-components/{p-06db1bfd.entry.js → p-efb4cb43.entry.js} +1 -1
- package/dist/solutions-components/{p-e4a42efa.entry.js → p-fa1c368c.entry.js} +1 -1
- package/dist/solutions-components/{p-46c8015c.js → p-ff9e28d1.js} +30 -30
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/downloadUtils.ts +6 -3
- package/dist/solutions-components/utils/test/downloadUtils.spec.tsx +10 -12
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -7
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +6 -1
- package/dist/types/components/delete-button/delete-button.d.ts +4 -12
- package/dist/types/components/delete-dialog/delete-dialog.d.ts +75 -0
- package/dist/types/components/layer-table/layer-table.d.ts +12 -0
- package/dist/types/components.d.ts +69 -0
- package/dist/types/preact.d.ts +5 -0
- package/package.json +2 -1
- package/dist/solutions-components/p-2360802a.js +0 -21
- package/dist/solutions-components/p-51e2500f.entry.js +0 -6
- package/dist/solutions-components/p-52280e10.entry.js +0 -17
- package/dist/solutions-components/p-67ca4a64.entry.js +0 -6
- package/dist/solutions-components/p-7e6a8c06.entry.js +0 -6
- package/dist/solutions-components/p-8a411917.entry.js +0 -6
- package/dist/solutions-components/p-8d2d66d0.entry.js +0 -6
- package/dist/solutions-components/p-8e6081e0.entry.js +0 -6
- package/dist/solutions-components/p-b9b77b87.entry.js +0 -6
- package/dist/solutions-components/p-cf878a34.entry.js +0 -6
- package/dist/solutions-components/p-edd88d2d.entry.js +0 -6
@@ -0,0 +1,11 @@
|
|
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 { D as DeleteDialog$1, d as defineCustomElement$1 } from './delete-dialog2.js';
|
7
|
+
|
8
|
+
const DeleteDialog = DeleteDialog$1;
|
9
|
+
const defineCustomElement = defineCustomElement$1;
|
10
|
+
|
11
|
+
export { DeleteDialog, defineCustomElement };
|
@@ -0,0 +1,165 @@
|
|
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 { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
|
+
import { g as getLocaleComponentStrings } from './locale.js';
|
8
|
+
import { d as defineCustomElement$5 } from './button.js';
|
9
|
+
import { d as defineCustomElement$4 } from './icon.js';
|
10
|
+
import { d as defineCustomElement$3 } from './loader.js';
|
11
|
+
import { d as defineCustomElement$2 } from './modal.js';
|
12
|
+
import { d as defineCustomElement$1 } from './scrim.js';
|
13
|
+
|
14
|
+
const deleteDialogCss = ":host{display:block}.delete-modal{position:fixed}";
|
15
|
+
const DeleteDialogStyle0 = deleteDialogCss;
|
16
|
+
|
17
|
+
const DeleteDialog = /*@__PURE__*/ proxyCustomElement(class DeleteDialog extends HTMLElement {
|
18
|
+
constructor() {
|
19
|
+
super();
|
20
|
+
this.__registerHost();
|
21
|
+
this.__attachShadow();
|
22
|
+
this.editsComplete = createEvent(this, "editsComplete", 7);
|
23
|
+
this.deleteDialogClose = createEvent(this, "deleteDialogClose", 7);
|
24
|
+
this.ids = [];
|
25
|
+
this.layer = undefined;
|
26
|
+
this.open = false;
|
27
|
+
this._isDeleting = false;
|
28
|
+
this._translations = undefined;
|
29
|
+
}
|
30
|
+
get el() { return this; }
|
31
|
+
//--------------------------------------------------------------------------
|
32
|
+
//
|
33
|
+
// Properties (protected)
|
34
|
+
//
|
35
|
+
//--------------------------------------------------------------------------
|
36
|
+
//--------------------------------------------------------------------------
|
37
|
+
//
|
38
|
+
// Watch handlers
|
39
|
+
//
|
40
|
+
//--------------------------------------------------------------------------
|
41
|
+
//--------------------------------------------------------------------------
|
42
|
+
//
|
43
|
+
// Methods (public)
|
44
|
+
//
|
45
|
+
//--------------------------------------------------------------------------
|
46
|
+
//--------------------------------------------------------------------------
|
47
|
+
//
|
48
|
+
// Events (public)
|
49
|
+
//
|
50
|
+
//--------------------------------------------------------------------------
|
51
|
+
/**
|
52
|
+
* Emitted on demand when features have been deleted
|
53
|
+
*/
|
54
|
+
editsComplete;
|
55
|
+
/**
|
56
|
+
* Emitted on demand when features have been deleted
|
57
|
+
*/
|
58
|
+
deleteDialogClose;
|
59
|
+
//--------------------------------------------------------------------------
|
60
|
+
//
|
61
|
+
// Functions (lifecycle)
|
62
|
+
//
|
63
|
+
//--------------------------------------------------------------------------
|
64
|
+
/**
|
65
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
66
|
+
*
|
67
|
+
* @returns Promise when complete
|
68
|
+
*/
|
69
|
+
async componentWillLoad() {
|
70
|
+
await this._getTranslations();
|
71
|
+
}
|
72
|
+
/**
|
73
|
+
* Renders the component.
|
74
|
+
*/
|
75
|
+
render() {
|
76
|
+
const confirmMessage = this.ids.length === 1 ? this._translations?.confirmSingle :
|
77
|
+
this._translations?.confirmMultiple;
|
78
|
+
return (h(Host, { key: '64cd1440f80a9609f90056b919fa807e975eff70' }, h("calcite-modal", { key: '022302455960cbcf894dc2f0079d88be6fb59367', "aria-labelledby": "modal-title", class: "delete-modal", kind: "danger", onCalciteModalClose: () => this._close(), open: this.open, widthScale: "s" }, h("div", { key: '7484caedbdd759efbe972182ddd41a6ebaa2bd64', class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations?.deleteFeature), h("div", { key: 'e31136a6eed46dd0cbc4d919deb732a623097fbf', slot: "content" }, confirmMessage), h("calcite-button", { key: '7de42845a99777bcec59221fb6ab863e72ca2654', appearance: "outline", kind: "danger", onClick: () => this._close(), slot: "secondary", width: "full" }, this._translations?.cancel), h("calcite-button", { key: '67921ff64fc5c4439e66833fd8502f7e95671b5d', kind: "danger", loading: this._isDeleting, onClick: () => void this._deleteFeatures(), slot: "primary", width: "full" }, this._translations?.delete))));
|
79
|
+
}
|
80
|
+
//--------------------------------------------------------------------------
|
81
|
+
//
|
82
|
+
// Functions (protected)
|
83
|
+
//
|
84
|
+
//--------------------------------------------------------------------------
|
85
|
+
/**
|
86
|
+
* Delete the currently selected features
|
87
|
+
*/
|
88
|
+
async _deleteFeatures() {
|
89
|
+
this._isDeleting = true;
|
90
|
+
const deleteFeatures = this.ids.map((objectId) => {
|
91
|
+
return { objectId };
|
92
|
+
});
|
93
|
+
await this.layer.applyEdits({
|
94
|
+
deleteFeatures
|
95
|
+
});
|
96
|
+
this._isDeleting = false;
|
97
|
+
this._close();
|
98
|
+
this.editsComplete.emit("delete");
|
99
|
+
}
|
100
|
+
/**
|
101
|
+
* Set the alertOpen member to false when the alert is closed
|
102
|
+
*/
|
103
|
+
_close() {
|
104
|
+
this.open = false;
|
105
|
+
this.deleteDialogClose.emit();
|
106
|
+
}
|
107
|
+
/**
|
108
|
+
* Fetches the component's translations
|
109
|
+
*
|
110
|
+
* @returns Promise when complete
|
111
|
+
* @protected
|
112
|
+
*/
|
113
|
+
async _getTranslations() {
|
114
|
+
const messages = await getLocaleComponentStrings(this.el);
|
115
|
+
this._translations = messages[0];
|
116
|
+
}
|
117
|
+
static get style() { return DeleteDialogStyle0; }
|
118
|
+
}, [1, "delete-dialog", {
|
119
|
+
"ids": [16],
|
120
|
+
"layer": [16],
|
121
|
+
"open": [4],
|
122
|
+
"_isDeleting": [32],
|
123
|
+
"_translations": [32]
|
124
|
+
}]);
|
125
|
+
function defineCustomElement() {
|
126
|
+
if (typeof customElements === "undefined") {
|
127
|
+
return;
|
128
|
+
}
|
129
|
+
const components = ["delete-dialog", "calcite-button", "calcite-icon", "calcite-loader", "calcite-modal", "calcite-scrim"];
|
130
|
+
components.forEach(tagName => { switch (tagName) {
|
131
|
+
case "delete-dialog":
|
132
|
+
if (!customElements.get(tagName)) {
|
133
|
+
customElements.define(tagName, DeleteDialog);
|
134
|
+
}
|
135
|
+
break;
|
136
|
+
case "calcite-button":
|
137
|
+
if (!customElements.get(tagName)) {
|
138
|
+
defineCustomElement$5();
|
139
|
+
}
|
140
|
+
break;
|
141
|
+
case "calcite-icon":
|
142
|
+
if (!customElements.get(tagName)) {
|
143
|
+
defineCustomElement$4();
|
144
|
+
}
|
145
|
+
break;
|
146
|
+
case "calcite-loader":
|
147
|
+
if (!customElements.get(tagName)) {
|
148
|
+
defineCustomElement$3();
|
149
|
+
}
|
150
|
+
break;
|
151
|
+
case "calcite-modal":
|
152
|
+
if (!customElements.get(tagName)) {
|
153
|
+
defineCustomElement$2();
|
154
|
+
}
|
155
|
+
break;
|
156
|
+
case "calcite-scrim":
|
157
|
+
if (!customElements.get(tagName)) {
|
158
|
+
defineCustomElement$1();
|
159
|
+
}
|
160
|
+
break;
|
161
|
+
} });
|
162
|
+
}
|
163
|
+
defineCustomElement();
|
164
|
+
|
165
|
+
export { DeleteDialog as D, defineCustomElement as d };
|
@@ -7,8 +7,8 @@ import { g as getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
7
7
|
import { getAssetPath } from '@stencil/core/internal/client';
|
8
8
|
import { l as loadModules } from './loadModules.js';
|
9
9
|
import { q as queryFeaturesByID } from './queryUtils.js';
|
10
|
+
import { S as Sanitizer } from './index2.js';
|
10
11
|
import './solution-resource.js';
|
11
|
-
import './index2.js';
|
12
12
|
import { _ as __assign$1, r as request, c as cleanUrl, g as getJson } from './restHelpersGet.js';
|
13
13
|
|
14
14
|
/** @license
|
@@ -2541,12 +2541,13 @@ function _cleanupLabel(labelText) {
|
|
2541
2541
|
labelText = labelText.replace(/<\/p>/gi, "");
|
2542
2542
|
// Replace \n with the line separator character
|
2543
2543
|
labelText = labelText.replace(/\n/gi, "|");
|
2544
|
-
// Remove
|
2544
|
+
// Remove tricky stuff
|
2545
|
+
const sanitizer = new Sanitizer();
|
2546
|
+
labelText = sanitizer.sanitize(labelText);
|
2547
|
+
// Remove remaining HTML tags, replace 0xA0 that popup uses for spaces, and replace
|
2545
2548
|
labelText = labelText
|
2546
2549
|
.replace(/<[\s.]*[^<>]*\/?>/gi, "")
|
2547
2550
|
.replace(/\xA0/gi, " ")
|
2548
|
-
.replace(/</gi, "<")
|
2549
|
-
.replace(/>/gi, ">")
|
2550
2551
|
.replace(/ /gi, " ");
|
2551
2552
|
// Trim each line
|
2552
2553
|
labelText = labelText.replace(/\s*\|\s*/g, "|");
|
@@ -190,7 +190,7 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
|
|
190
190
|
!this.graphics[0].layer.editingEnabled : true;
|
191
191
|
const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
|
192
192
|
const loadingClass = this._editorLoading ? "" : "display-none";
|
193
|
-
return (h(Host, { key: '
|
193
|
+
return (h(Host, { key: 'ff6d1819cfd084e9f11a1c87d89c49d13035b289' }, h("div", { key: '797882acbcc26283719be4c08936e93b93931bcd', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: '34ce92da0b7c452f0fbae98d9f557543da59f5b8', class: "position-absolute" }, h("div", { key: '81af3854249e193d0d508c022cb4075be63f052d', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: 'd7aa82424f87c47039a8a8f8c61240da7a5ca971', class: loadingClass, label: "", scale: "s" })))));
|
194
194
|
}
|
195
195
|
//--------------------------------------------------------------------------
|
196
196
|
//
|
@@ -51,7 +51,7 @@ const FeatureComments$1 = /*@__PURE__*/ proxyCustomElement(class FeatureComments
|
|
51
51
|
//
|
52
52
|
//--------------------------------------------------------------------------
|
53
53
|
render() {
|
54
|
-
return (h(Host, { key: '
|
54
|
+
return (h(Host, { key: 'b58aca4fb9f05091f7b4c9a622755afed968a539' }, h("slot", { key: '806ab314b95a05252b5d558722b3dcb68e9b5b44' })));
|
55
55
|
}
|
56
56
|
static get style() { return FeatureCommentsStyle0; }
|
57
57
|
}, [1, "feature-comments"]);
|
@@ -6,30 +6,31 @@
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
7
7
|
import { l as loadModules } from './loadModules.js';
|
8
8
|
import { f as getAllTables } from './mapViewUtils.js';
|
9
|
-
import { d as defineCustomElement$
|
10
|
-
import { d as defineCustomElement$
|
11
|
-
import { d as defineCustomElement$
|
12
|
-
import { d as defineCustomElement$
|
13
|
-
import { d as defineCustomElement$
|
14
|
-
import { d as defineCustomElement$
|
15
|
-
import { d as defineCustomElement$
|
16
|
-
import { d as defineCustomElement$
|
17
|
-
import { d as defineCustomElement$
|
18
|
-
import { d as defineCustomElement$
|
19
|
-
import { d as defineCustomElement$
|
20
|
-
import { d as defineCustomElement$
|
21
|
-
import { d as defineCustomElement$
|
22
|
-
import { d as defineCustomElement$
|
23
|
-
import { d as defineCustomElement$
|
24
|
-
import { d as defineCustomElement$
|
25
|
-
import { d as defineCustomElement$
|
26
|
-
import { d as defineCustomElement$
|
27
|
-
import { d as defineCustomElement$
|
28
|
-
import { d as defineCustomElement$
|
29
|
-
import { d as defineCustomElement$
|
30
|
-
import { d as defineCustomElement$
|
31
|
-
import { d as defineCustomElement$
|
32
|
-
import { d as defineCustomElement$
|
9
|
+
import { d as defineCustomElement$s } from './action.js';
|
10
|
+
import { d as defineCustomElement$r } from './action-menu.js';
|
11
|
+
import { d as defineCustomElement$q } from './alert.js';
|
12
|
+
import { d as defineCustomElement$p } from './avatar.js';
|
13
|
+
import { d as defineCustomElement$o } from './button.js';
|
14
|
+
import { d as defineCustomElement$n } from './chip.js';
|
15
|
+
import { d as defineCustomElement$m } from './filter2.js';
|
16
|
+
import { d as defineCustomElement$l } from './handle.js';
|
17
|
+
import { d as defineCustomElement$k } from './icon.js';
|
18
|
+
import { d as defineCustomElement$j } from './input.js';
|
19
|
+
import { d as defineCustomElement$i } from './list.js';
|
20
|
+
import { d as defineCustomElement$h } from './list-item.js';
|
21
|
+
import { d as defineCustomElement$g } from './loader.js';
|
22
|
+
import { d as defineCustomElement$f } from './modal.js';
|
23
|
+
import { d as defineCustomElement$e } from './notice.js';
|
24
|
+
import { d as defineCustomElement$d } from './pagination.js';
|
25
|
+
import { d as defineCustomElement$c } from './panel.js';
|
26
|
+
import { d as defineCustomElement$b } from './popover.js';
|
27
|
+
import { d as defineCustomElement$a } from './progress.js';
|
28
|
+
import { d as defineCustomElement$9 } from './scrim.js';
|
29
|
+
import { d as defineCustomElement$8 } from './shell.js';
|
30
|
+
import { d as defineCustomElement$7 } from './stack.js';
|
31
|
+
import { d as defineCustomElement$6 } from './tooltip.js';
|
32
|
+
import { d as defineCustomElement$5 } from './delete-button2.js';
|
33
|
+
import { d as defineCustomElement$4 } from './delete-dialog2.js';
|
33
34
|
import { d as defineCustomElement$3 } from './edit-card2.js';
|
34
35
|
import { d as defineCustomElement$2 } from './feature-list2.js';
|
35
36
|
import { d as defineCustomElement$1 } from './info-card2.js';
|
@@ -198,12 +199,12 @@ const FeatureDetails = /*@__PURE__*/ proxyCustomElement(class FeatureDetails ext
|
|
198
199
|
render() {
|
199
200
|
//When related features found show comments list of only those features else comments list will be empty
|
200
201
|
const commentsListWhereClause = this._relatedFeaturesOIDs?.length > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
|
201
|
-
return (h("calcite-panel", { key: '
|
202
|
-
h("div", { key: '
|
203
|
-
h("calcite-button", { key: '
|
204
|
-
h("calcite-button", { key: '
|
205
|
-
h("calcite-button", { key: '
|
206
|
-
h("feature-list", { key: '
|
202
|
+
return (h("calcite-panel", { key: 'e09b693348a5d446f6ea3c774af3c2fd14e66daf', "full-height": true }, h("info-card", { key: '4483a15e4e0bdd62c2c21bc4622d3bbddf3cd113', allowEditing: false, graphics: this.graphics, highlightEnabled: false, isLoading: false, isMobile: false, mapView: this.mapView, onSelectionChanged: (e) => { this.featureSelectionChange.emit(e.detail); }, paginationEnabled: false, position: "relative", ref: el => this._infoCard = el }), (this._likeFieldAvailable || this._dislikeFieldAvailable || this._commentsAvailable) &&
|
203
|
+
h("div", { key: 'ac24bb5fd56a7561e78d90c3a1b10027cfab6b2b', class: "buttons-container" }, this._commentsAvailable &&
|
204
|
+
h("calcite-button", { key: '676c5da52465f295212668f8db9b353e219070f2', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
|
205
|
+
h("calcite-button", { key: 'b3fe54ea2fcf5361e6ec0a91bd52775d24408d77', appearance: "transparent", iconEnd: "thumbs-up", kind: this._isLikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onLikeButtonClick.bind(this), scale: 'm' }, this._likeCount ?? this._selectedGraphic.attributes[this._likeField] ?? 0), this._dislikeFieldAvailable &&
|
206
|
+
h("calcite-button", { key: 'd83c9b9fdd287e07670ca9a5aeafd1a4cc38c0f8', appearance: "transparent", iconEnd: "thumbs-down", kind: this._isDislikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onDislikeButtonClick.bind(this), scale: 'm' }, this._disLikeCount ?? this._selectedGraphic.attributes[this._dislikeField] ?? 0)), this.relatedTableId && this._commentsAvailable &&
|
207
|
+
h("feature-list", { key: '9d72181a778e08b632d802689a66fa21924cd5b3', class: "height-full", mapView: this.mapView, onFeatureSelect: (e) => { this.commentSelect.emit(e.detail); }, pageSize: 5, ref: el => this._commentsList = el, selectedLayerId: this.relatedTableId, showErrorWhenNoFeatures: false, showInitialLoading: false, showUserImageInList: this.showUserImageInCommentsList, textSize: "small", whereClause: commentsListWhereClause })));
|
207
208
|
}
|
208
209
|
/**
|
209
210
|
* Load esri javascript api modules
|
@@ -226,11 +227,13 @@ const FeatureDetails = /*@__PURE__*/ proxyCustomElement(class FeatureDetails ext
|
|
226
227
|
* @protected
|
227
228
|
*/
|
228
229
|
async getCompleteGraphic(graphic) {
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
230
|
+
if (graphic) {
|
231
|
+
const layer = graphic.layer;
|
232
|
+
const query = layer.createQuery();
|
233
|
+
query.objectIds = [graphic.getObjectId()];
|
234
|
+
const completeGraphic = await layer.queryFeatures(query);
|
235
|
+
this._selectedGraphic = completeGraphic.features[0];
|
236
|
+
}
|
234
237
|
}
|
235
238
|
/**
|
236
239
|
* Process the comments functionality.
|
@@ -500,7 +503,7 @@ function defineCustomElement() {
|
|
500
503
|
if (typeof customElements === "undefined") {
|
501
504
|
return;
|
502
505
|
}
|
503
|
-
const components = ["feature-details", "calcite-action", "calcite-action-menu", "calcite-alert", "calcite-avatar", "calcite-button", "calcite-chip", "calcite-filter", "calcite-handle", "calcite-icon", "calcite-input", "calcite-list", "calcite-list-item", "calcite-loader", "calcite-modal", "calcite-notice", "calcite-pagination", "calcite-panel", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-shell", "calcite-stack", "calcite-tooltip", "delete-button", "edit-card", "feature-list", "info-card"];
|
506
|
+
const components = ["feature-details", "calcite-action", "calcite-action-menu", "calcite-alert", "calcite-avatar", "calcite-button", "calcite-chip", "calcite-filter", "calcite-handle", "calcite-icon", "calcite-input", "calcite-list", "calcite-list-item", "calcite-loader", "calcite-modal", "calcite-notice", "calcite-pagination", "calcite-panel", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-shell", "calcite-stack", "calcite-tooltip", "delete-button", "delete-dialog", "edit-card", "feature-list", "info-card"];
|
504
507
|
components.forEach(tagName => { switch (tagName) {
|
505
508
|
case "feature-details":
|
506
509
|
if (!customElements.get(tagName)) {
|
@@ -509,120 +512,125 @@ function defineCustomElement() {
|
|
509
512
|
break;
|
510
513
|
case "calcite-action":
|
511
514
|
if (!customElements.get(tagName)) {
|
512
|
-
defineCustomElement$
|
515
|
+
defineCustomElement$s();
|
513
516
|
}
|
514
517
|
break;
|
515
518
|
case "calcite-action-menu":
|
516
519
|
if (!customElements.get(tagName)) {
|
517
|
-
defineCustomElement$
|
520
|
+
defineCustomElement$r();
|
518
521
|
}
|
519
522
|
break;
|
520
523
|
case "calcite-alert":
|
521
524
|
if (!customElements.get(tagName)) {
|
522
|
-
defineCustomElement$
|
525
|
+
defineCustomElement$q();
|
523
526
|
}
|
524
527
|
break;
|
525
528
|
case "calcite-avatar":
|
526
529
|
if (!customElements.get(tagName)) {
|
527
|
-
defineCustomElement$
|
530
|
+
defineCustomElement$p();
|
528
531
|
}
|
529
532
|
break;
|
530
533
|
case "calcite-button":
|
531
534
|
if (!customElements.get(tagName)) {
|
532
|
-
defineCustomElement$
|
535
|
+
defineCustomElement$o();
|
533
536
|
}
|
534
537
|
break;
|
535
538
|
case "calcite-chip":
|
536
539
|
if (!customElements.get(tagName)) {
|
537
|
-
defineCustomElement$
|
540
|
+
defineCustomElement$n();
|
538
541
|
}
|
539
542
|
break;
|
540
543
|
case "calcite-filter":
|
541
544
|
if (!customElements.get(tagName)) {
|
542
|
-
defineCustomElement$
|
545
|
+
defineCustomElement$m();
|
543
546
|
}
|
544
547
|
break;
|
545
548
|
case "calcite-handle":
|
546
549
|
if (!customElements.get(tagName)) {
|
547
|
-
defineCustomElement$
|
550
|
+
defineCustomElement$l();
|
548
551
|
}
|
549
552
|
break;
|
550
553
|
case "calcite-icon":
|
551
554
|
if (!customElements.get(tagName)) {
|
552
|
-
defineCustomElement$
|
555
|
+
defineCustomElement$k();
|
553
556
|
}
|
554
557
|
break;
|
555
558
|
case "calcite-input":
|
556
559
|
if (!customElements.get(tagName)) {
|
557
|
-
defineCustomElement$
|
560
|
+
defineCustomElement$j();
|
558
561
|
}
|
559
562
|
break;
|
560
563
|
case "calcite-list":
|
561
564
|
if (!customElements.get(tagName)) {
|
562
|
-
defineCustomElement$
|
565
|
+
defineCustomElement$i();
|
563
566
|
}
|
564
567
|
break;
|
565
568
|
case "calcite-list-item":
|
566
569
|
if (!customElements.get(tagName)) {
|
567
|
-
defineCustomElement$
|
570
|
+
defineCustomElement$h();
|
568
571
|
}
|
569
572
|
break;
|
570
573
|
case "calcite-loader":
|
571
574
|
if (!customElements.get(tagName)) {
|
572
|
-
defineCustomElement$
|
575
|
+
defineCustomElement$g();
|
573
576
|
}
|
574
577
|
break;
|
575
578
|
case "calcite-modal":
|
576
579
|
if (!customElements.get(tagName)) {
|
577
|
-
defineCustomElement$
|
580
|
+
defineCustomElement$f();
|
578
581
|
}
|
579
582
|
break;
|
580
583
|
case "calcite-notice":
|
581
584
|
if (!customElements.get(tagName)) {
|
582
|
-
defineCustomElement$
|
585
|
+
defineCustomElement$e();
|
583
586
|
}
|
584
587
|
break;
|
585
588
|
case "calcite-pagination":
|
586
589
|
if (!customElements.get(tagName)) {
|
587
|
-
defineCustomElement$
|
590
|
+
defineCustomElement$d();
|
588
591
|
}
|
589
592
|
break;
|
590
593
|
case "calcite-panel":
|
591
594
|
if (!customElements.get(tagName)) {
|
592
|
-
defineCustomElement$
|
595
|
+
defineCustomElement$c();
|
593
596
|
}
|
594
597
|
break;
|
595
598
|
case "calcite-popover":
|
596
599
|
if (!customElements.get(tagName)) {
|
597
|
-
defineCustomElement$
|
600
|
+
defineCustomElement$b();
|
598
601
|
}
|
599
602
|
break;
|
600
603
|
case "calcite-progress":
|
601
604
|
if (!customElements.get(tagName)) {
|
602
|
-
defineCustomElement$
|
605
|
+
defineCustomElement$a();
|
603
606
|
}
|
604
607
|
break;
|
605
608
|
case "calcite-scrim":
|
606
609
|
if (!customElements.get(tagName)) {
|
607
|
-
defineCustomElement$
|
610
|
+
defineCustomElement$9();
|
608
611
|
}
|
609
612
|
break;
|
610
613
|
case "calcite-shell":
|
611
614
|
if (!customElements.get(tagName)) {
|
612
|
-
defineCustomElement$
|
615
|
+
defineCustomElement$8();
|
613
616
|
}
|
614
617
|
break;
|
615
618
|
case "calcite-stack":
|
616
619
|
if (!customElements.get(tagName)) {
|
617
|
-
defineCustomElement$
|
620
|
+
defineCustomElement$7();
|
618
621
|
}
|
619
622
|
break;
|
620
623
|
case "calcite-tooltip":
|
621
624
|
if (!customElements.get(tagName)) {
|
622
|
-
defineCustomElement$
|
625
|
+
defineCustomElement$6();
|
623
626
|
}
|
624
627
|
break;
|
625
628
|
case "delete-button":
|
629
|
+
if (!customElements.get(tagName)) {
|
630
|
+
defineCustomElement$5();
|
631
|
+
}
|
632
|
+
break;
|
633
|
+
case "delete-dialog":
|
626
634
|
if (!customElements.get(tagName)) {
|
627
635
|
defineCustomElement$4();
|
628
636
|
}
|
@@ -51,7 +51,7 @@ const FeatureFormFlowItem$1 = /*@__PURE__*/ proxyCustomElement(class FeatureForm
|
|
51
51
|
//
|
52
52
|
//--------------------------------------------------------------------------
|
53
53
|
render() {
|
54
|
-
return (h(Host, { key: '
|
54
|
+
return (h(Host, { key: 'ada36a5353ae5c21f81ab8ffea24fab3312acc85' }, h("slot", { key: '424cb194632c9ea0ade6cf848e01a414c05abc42' })));
|
55
55
|
}
|
56
56
|
static get style() { return FeatureFormFlowItemStyle0; }
|
57
57
|
}, [1, "feature-form-flow-item"]);
|
@@ -192,9 +192,9 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
192
192
|
* Renders the component.
|
193
193
|
*/
|
194
194
|
render() {
|
195
|
-
return (h("calcite-panel", { key: '
|
196
|
-
h("calcite-notice", { key: '
|
197
|
-
h("div", { key: '
|
195
|
+
return (h("calcite-panel", { key: '59289a87561105e3edcbd52bac96b974b1387a16', "full-height": true, "full-width": true }, this._isLoading && h("calcite-loader", { key: '59629285e49227209761d2f16bdd62a90750538f', label: "", scale: "m" }), this.showErrorWhenNoFeatures && this._featureItems.length === 0 && !this._isLoading &&
|
196
|
+
h("calcite-notice", { key: 'bc6c2e6e0fdf959374caf79f2027784e2fdaca15', class: "error-msg", icon: "feature-details", kind: "info", open: true }, h("div", { key: '052207ce0b0e2d8030ac7a4a7985c718371a9667', slot: "message" }, this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), h("calcite-list", { key: '3f17ea85f2265717aa13c9c71f19c259470c9fcc', "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
|
197
|
+
h("div", { key: 'ce3179bcdc7af254488dea909034c58db17ec565', class: "width-full", slot: "footer" }, h("calcite-pagination", { key: 'd6a4b8c7a940918388b3b9891a666c4a142edae7', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, ref: el => this._pagination = el, "start-item": "1", "total-items": this._featuresCount }))));
|
198
198
|
}
|
199
199
|
//--------------------------------------------------------------------------
|
200
200
|
//
|
@@ -429,7 +429,7 @@ const FeatureList = /*@__PURE__*/ proxyCustomElement(class FeatureList extends H
|
|
429
429
|
const popupTitlePaddingClass = this.showUserImageInList || this.showFeatureSymbol ? 'feature-list-popup-title-padding-reduced' : 'feature-list-popup-title-padding';
|
430
430
|
return (h("calcite-list-item", { onCalciteListItemSelect: (e) => { void this.featureClicked(e, selectedFeature); }, onMouseLeave: () => { void this.clearHighlights(); }, onMouseOver: () => { void this.onFeatureHover(selectedFeature); }, value: oId }, this.showUserImageInList &&
|
431
431
|
h("calcite-avatar", { class: 'profile-img', "full-name": userInfo?.fullName, scale: "m", slot: "content-start", thumbnail: userInfo?.userProfileUrl, userId: userInfo?.id, username: userInfo?.fullName ? userInfo.username : undefined }), this.showFeatureSymbol &&
|
432
|
-
h("div", { class: 'feature-symbol', ref: (el) => el && el.
|
432
|
+
h("div", { class: 'feature-symbol', ref: (el) => el && el.replaceChildren(featureSymbol), slot: "content-start" }), h("div", { class: `${popupTitleClass} ${popupTitlePaddingClass}`, slot: "content-start" }, popupTitle), this._likeFieldAvailable &&
|
433
433
|
h("div", { class: "like-container", id: oId.concat("like"), slot: "content-end" }, h("span", null, this._abbreviatedLikeCount), h("calcite-icon", { icon: "thumbs-up", scale: 's' }), h("calcite-tooltip", { overlayPositioning: "fixed", placement: "top", "reference-element": oId.concat("like") }, formattedLikeCount)), h("calcite-icon", { flipRtl: true, icon: "chevron-right", scale: "s", slot: "content-end" })));
|
434
434
|
}
|
435
435
|
/**
|
@@ -51,7 +51,7 @@ const FeaturesFlowItem$1 = /*@__PURE__*/ proxyCustomElement(class FeaturesFlowIt
|
|
51
51
|
//
|
52
52
|
//--------------------------------------------------------------------------
|
53
53
|
render() {
|
54
|
-
return (h(Host, { key: '
|
54
|
+
return (h(Host, { key: 'b775a26ab493f17e0e93ba5713b407566d37683d' }, h("slot", { key: '05f063062f8cced80ae18d36e7ef08abe6b15839' })));
|
55
55
|
}
|
56
56
|
static get style() { return FeaturesFlowItemStyle0; }
|
57
57
|
}, [1, "features-flow-item"]);
|
@@ -117,7 +117,7 @@ const FloorFilter = /*@__PURE__*/ proxyCustomElement(class FloorFilter extends H
|
|
117
117
|
* Renders the component.
|
118
118
|
*/
|
119
119
|
render() {
|
120
|
-
return (h(Host, { key: '
|
120
|
+
return (h(Host, { key: '7890927db517fe8e1133fce3e0fe977a441f2abf' }, h("div", { key: '34ad695eb04dd20a0b9893817a33df5020de7da1', ref: (el) => { this._floorFilterElement = el; } })));
|
121
121
|
}
|
122
122
|
/**
|
123
123
|
* StencilJS: Called once just after the component is first loaded.
|