@esri/solutions-components 0.10.39 → 0.10.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +26 -6
- package/dist/cjs/buffer-tools_3.cjs.entry.js +23 -3
- package/dist/cjs/calcite-alert_5.cjs.entry.js +40 -5
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +11 -1
- package/dist/cjs/calcite-flow_4.cjs.entry.js +33 -10
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +119 -10
- package/dist/cjs/calcite-shell_3.cjs.entry.js +26 -4
- package/dist/cjs/card-manager_3.cjs.entry.js +41 -9
- package/dist/cjs/consent-manager.cjs.entry.js +12 -0
- package/dist/cjs/crowdsource-manager.cjs.entry.js +12 -13
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +19 -9
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +13 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +38 -6
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +11 -2
- package/dist/cjs/share-item.cjs.entry.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +20 -5
- package/dist/cjs/solution-contents_3.cjs.entry.js +37 -7
- package/dist/cjs/solution-item-accordion.cjs.entry.js +11 -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 +16 -1
- package/dist/collection/collection-manifest.json +0 -7
- package/dist/collection/components/buffer-tools/buffer-tools.js +30 -1
- package/dist/collection/components/card-manager/card-manager.js +34 -2
- package/dist/collection/components/consent-manager/consent-manager.js +32 -0
- package/dist/collection/components/create-feature/create-feature.js +31 -2
- package/dist/collection/components/create-related-feature/create-related-feature.js +30 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -22
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +38 -9
- package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
- package/dist/collection/components/delete-button/delete-button.js +31 -2
- package/dist/collection/components/delete-dialog/delete-dialog.js +33 -1
- package/dist/collection/components/edit-card/edit-card.js +30 -1
- package/dist/collection/components/feature-details/feature-details.js +24 -6
- package/dist/collection/components/feature-list/feature-list.js +32 -3
- package/dist/collection/components/floor-filter/floor-filter.js +1 -1
- package/dist/collection/components/info-card/info-card.js +36 -2
- package/dist/collection/components/json-editor/json-editor.js +38 -1
- package/dist/collection/components/layer-list/layer-list.js +35 -3
- package/dist/collection/components/layer-table/layer-table.js +34 -5
- package/dist/collection/components/map-card/map-card.js +31 -2
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +30 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +30 -1
- package/dist/collection/components/map-legend/map-legend.js +1 -1
- package/dist/collection/components/map-picker/map-picker.js +30 -1
- package/dist/collection/components/map-search/map-search.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.js +15 -4
- package/dist/collection/components/map-tools/map-tools.js +30 -1
- package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
- package/dist/collection/components/pdf-download/pdf-download.js +33 -1
- package/dist/collection/components/public-notification/public-notification.js +13 -2
- package/dist/collection/components/refine-selection/refine-selection.js +15 -1
- package/dist/collection/components/share-item/share-item.js +1 -1
- package/dist/collection/components/solution-configuration/solution-configuration.js +38 -4
- package/dist/collection/components/solution-contents/solution-contents.js +1 -1
- package/dist/collection/components/solution-item/solution-item.js +37 -3
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +30 -1
- package/dist/collection/components/solution-item-details/solution-item-details.js +38 -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 +35 -1
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +35 -1
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +35 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +35 -1
- package/dist/collection/components/solution-template-data/solution-template-data.js +35 -1
- package/dist/collection/components/solution-variables/solution-variables.js +35 -1
- package/dist/collection/components/spatial-ref/spatial-ref.js +35 -1
- package/dist/collection/demos/crowdsource-manager.html +0 -1
- package/dist/collection/demos/crowdsource-reporter.html +2 -2
- package/dist/components/buffer-tools2.js +15 -3
- package/dist/components/card-manager2.js +18 -3
- package/dist/components/consent-manager.js +15 -0
- package/dist/components/create-feature2.js +14 -2
- package/dist/components/create-related-feature2.js +13 -1
- package/dist/components/crowdsource-manager.js +14 -15
- package/dist/components/crowdsource-reporter.js +21 -9
- package/dist/components/deduct-calculator2.js +1 -1
- package/dist/components/delete-button2.js +16 -4
- package/dist/components/delete-dialog2.js +16 -1
- package/dist/components/edit-card2.js +13 -1
- package/dist/components/feature-details2.js +8 -6
- package/dist/components/feature-list2.js +15 -3
- package/dist/components/floor-filter2.js +1 -1
- package/dist/components/info-card2.js +19 -2
- package/dist/components/json-editor2.js +21 -1
- package/dist/components/layer-list2.js +18 -3
- package/dist/components/layer-table2.js +17 -5
- package/dist/components/map-card2.js +14 -2
- package/dist/components/map-draw-tools2.js +13 -1
- package/dist/components/map-fullscreen2.js +1 -1
- package/dist/components/map-layer-picker2.js +13 -1
- package/dist/components/map-legend2.js +1 -1
- package/dist/components/map-picker2.js +13 -1
- package/dist/components/map-search2.js +1 -1
- package/dist/components/map-select-tools2.js +14 -4
- package/dist/components/map-tools2.js +13 -1
- package/dist/components/pci-calculator.js +1 -1
- package/dist/components/pdf-download2.js +16 -1
- package/dist/components/public-notification.js +12 -2
- package/dist/components/refine-selection2.js +14 -1
- package/dist/components/share-item.js +1 -1
- package/dist/components/solution-configuration.js +23 -6
- package/dist/components/solution-contents2.js +1 -1
- package/dist/components/solution-item-accordion.js +13 -1
- package/dist/components/solution-item-details2.js +22 -2
- package/dist/components/solution-item-icon2.js +1 -1
- package/dist/components/solution-item-sharing2.js +20 -3
- package/dist/components/solution-item2.js +22 -5
- package/dist/components/solution-organization-variables2.js +18 -1
- package/dist/components/solution-resource-item2.js +20 -3
- package/dist/components/solution-spatial-ref2.js +20 -3
- package/dist/components/solution-template-data2.js +20 -3
- package/dist/components/solution-variables2.js +18 -1
- package/dist/components/spatial-ref.js +18 -1
- package/dist/esm/basemap-gallery_7.entry.js +26 -6
- package/dist/esm/buffer-tools_3.entry.js +23 -3
- package/dist/esm/calcite-alert_5.entry.js +40 -5
- package/dist/esm/calcite-combobox_3.entry.js +11 -1
- package/dist/esm/calcite-flow_4.entry.js +33 -10
- package/dist/esm/calcite-shell-panel_14.entry.js +119 -10
- package/dist/esm/calcite-shell_3.entry.js +26 -4
- package/dist/esm/card-manager_3.entry.js +41 -9
- package/dist/esm/consent-manager.entry.js +12 -0
- package/dist/esm/crowdsource-manager.entry.js +12 -13
- package/dist/esm/crowdsource-reporter.entry.js +19 -9
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/feature-list.entry.js +13 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +38 -6
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +11 -2
- package/dist/esm/share-item.entry.js +1 -1
- package/dist/esm/solution-configuration.entry.js +20 -5
- package/dist/esm/solution-contents_3.entry.js +37 -7
- package/dist/esm/solution-item-accordion.entry.js +11 -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 +16 -1
- package/dist/solutions-components/demos/crowdsource-manager.html +0 -1
- package/dist/solutions-components/demos/crowdsource-reporter.html +2 -2
- package/dist/solutions-components/p-0a2e5861.entry.js +6 -0
- package/dist/solutions-components/{p-739ce6f3.entry.js → p-2f784608.entry.js} +1 -1
- package/dist/solutions-components/{p-1c2d0e90.entry.js → p-3e44cfab.entry.js} +1 -1
- package/dist/solutions-components/{p-841816a1.entry.js → p-41314f33.entry.js} +7 -7
- package/dist/solutions-components/{p-18089a0b.entry.js → p-471d5c7f.entry.js} +2 -2
- package/dist/solutions-components/p-5001cc41.entry.js +6 -0
- package/dist/solutions-components/p-561c0e02.entry.js +6 -0
- package/dist/solutions-components/p-56beff4c.entry.js +6 -0
- package/dist/solutions-components/p-592f2000.entry.js +6 -0
- package/dist/solutions-components/p-5cbf3eed.entry.js +6 -0
- package/dist/solutions-components/p-62d8796c.entry.js +17 -0
- package/dist/solutions-components/p-6d1922cc.entry.js +6 -0
- package/dist/solutions-components/p-80e81af7.entry.js +6 -0
- package/dist/solutions-components/{p-82ddf716.entry.js → p-8e2f4995.entry.js} +1 -1
- package/dist/solutions-components/{p-6502d0f8.entry.js → p-b7fbaeb7.entry.js} +1 -1
- package/dist/solutions-components/p-cced387c.entry.js +6 -0
- package/dist/solutions-components/{p-a5d79c86.entry.js → p-ce53e33d.entry.js} +2 -2
- package/dist/solutions-components/{p-59ccd27c.entry.js → p-d51c07d2.entry.js} +1 -1
- package/dist/solutions-components/p-d75cf651.entry.js +11 -0
- package/dist/solutions-components/p-d7afbe8d.entry.js +11 -0
- package/dist/solutions-components/p-e1e21798.entry.js +12 -0
- package/dist/solutions-components/p-e9026f9a.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/buffer-tools/buffer-tools.d.ts +8 -0
- package/dist/types/components/card-manager/card-manager.d.ts +8 -0
- package/dist/types/components/consent-manager/consent-manager.d.ts +8 -0
- package/dist/types/components/create-feature/create-feature.d.ts +8 -0
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +8 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -4
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +8 -0
- package/dist/types/components/deduct-calculator/deduct-calculator.d.ts +1 -1
- package/dist/types/components/delete-button/delete-button.d.ts +9 -1
- package/dist/types/components/delete-dialog/delete-dialog.d.ts +8 -0
- package/dist/types/components/edit-card/edit-card.d.ts +8 -0
- package/dist/types/components/feature-details/feature-details.d.ts +4 -0
- package/dist/types/components/feature-list/feature-list.d.ts +8 -0
- package/dist/types/components/info-card/info-card.d.ts +8 -0
- package/dist/types/components/json-editor/json-editor.d.ts +8 -0
- package/dist/types/components/layer-list/layer-list.d.ts +8 -0
- package/dist/types/components/layer-table/layer-table.d.ts +9 -1
- package/dist/types/components/map-card/map-card.d.ts +8 -0
- package/dist/types/components/map-draw-tools/map-draw-tools.d.ts +8 -0
- package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +8 -0
- package/dist/types/components/map-picker/map-picker.d.ts +8 -0
- package/dist/types/components/map-select-tools/map-select-tools.d.ts +4 -0
- package/dist/types/components/map-tools/map-tools.d.ts +8 -0
- package/dist/types/components/pdf-download/pdf-download.d.ts +8 -0
- package/dist/types/components/public-notification/public-notification.d.ts +4 -0
- package/dist/types/components/refine-selection/refine-selection.d.ts +4 -0
- package/dist/types/components/solution-configuration/solution-configuration.d.ts +8 -0
- package/dist/types/components/solution-item/solution-item.d.ts +8 -0
- package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +8 -0
- package/dist/types/components/solution-item-details/solution-item-details.d.ts +8 -0
- package/dist/types/components/solution-item-sharing/solution-item-sharing.d.ts +8 -0
- package/dist/types/components/solution-organization-variables/solution-organization-variables.d.ts +8 -0
- package/dist/types/components/solution-resource-item/solution-resource-item.d.ts +8 -0
- package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +8 -0
- package/dist/types/components/solution-template-data/solution-template-data.d.ts +8 -0
- package/dist/types/components/solution-variables/solution-variables.d.ts +8 -0
- package/dist/types/components/spatial-ref/spatial-ref.d.ts +8 -0
- package/dist/types/components.d.ts +266 -120
- package/dist/types/preact.d.ts +0 -16
- package/package.json +5 -5
- package/dist/cjs/feature-comments.cjs.entry.js +0 -61
- package/dist/cjs/feature-form-flow-item.cjs.entry.js +0 -61
- package/dist/cjs/features-flow-item.cjs.entry.js +0 -61
- package/dist/cjs/layout-manager.cjs.entry.js +0 -114
- package/dist/cjs/list-flow-item.cjs.entry.js +0 -61
- package/dist/cjs/location-flow-item.cjs.entry.js +0 -61
- package/dist/cjs/refine-results-flow-item.cjs.entry.js +0 -61
- package/dist/collection/assets/t9n/feature-comments/resources.json +0 -3
- package/dist/collection/assets/t9n/feature-comments/resources_en.json +0 -3
- package/dist/collection/assets/t9n/feature-form-flow-item/resources.json +0 -3
- package/dist/collection/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
- package/dist/collection/assets/t9n/layout-manager/resources.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_ar.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_bg.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_bs.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_ca.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_cs.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_da.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_de.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_el.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_en.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_es.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_et.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_fi.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_fr.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_he.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_hr.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_hu.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_id.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_it.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_ja.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_ko.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_lt.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_lv.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_nb.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_nl.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_pl.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_ro.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_ru.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_sk.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_sl.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_sr.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_sv.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_th.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_tr.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_uk.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_vi.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
- package/dist/collection/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
- package/dist/collection/assets/t9n/list-flow-item/resources.json +0 -3
- package/dist/collection/assets/t9n/list-flow-item/resources_en.json +0 -3
- package/dist/collection/assets/t9n/location-flow-item/resources.json +0 -3
- package/dist/collection/assets/t9n/location-flow-item/resources_en.json +0 -3
- package/dist/collection/components/feature-comments/feature-comments.css +0 -19
- package/dist/collection/components/feature-comments/feature-comments.js +0 -80
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.css +0 -19
- package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +0 -80
- package/dist/collection/components/features-flow-item/features-flow-item.css +0 -19
- package/dist/collection/components/features-flow-item/features-flow-item.js +0 -80
- package/dist/collection/components/layout-manager/layout-manager.css +0 -73
- package/dist/collection/components/layout-manager/layout-manager.js +0 -161
- package/dist/collection/components/list-flow-item/list-flow-item.css +0 -19
- package/dist/collection/components/list-flow-item/list-flow-item.js +0 -80
- package/dist/collection/components/location-flow-item/location-flow-item.css +0 -19
- package/dist/collection/components/location-flow-item/location-flow-item.js +0 -80
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.css +0 -19
- package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +0 -80
- package/dist/components/feature-comments.d.ts +0 -11
- package/dist/components/feature-comments.js +0 -76
- package/dist/components/feature-form-flow-item.d.ts +0 -11
- package/dist/components/feature-form-flow-item.js +0 -76
- package/dist/components/features-flow-item.d.ts +0 -11
- package/dist/components/features-flow-item.js +0 -76
- package/dist/components/layout-manager.d.ts +0 -11
- package/dist/components/layout-manager.js +0 -159
- package/dist/components/list-flow-item.d.ts +0 -11
- package/dist/components/list-flow-item.js +0 -76
- package/dist/components/location-flow-item.d.ts +0 -11
- package/dist/components/location-flow-item.js +0 -76
- package/dist/components/refine-results-flow-item.d.ts +0 -11
- package/dist/components/refine-results-flow-item.js +0 -76
- package/dist/esm/feature-comments.entry.js +0 -57
- package/dist/esm/feature-form-flow-item.entry.js +0 -57
- package/dist/esm/features-flow-item.entry.js +0 -57
- package/dist/esm/layout-manager.entry.js +0 -110
- package/dist/esm/list-flow-item.entry.js +0 -57
- package/dist/esm/location-flow-item.entry.js +0 -57
- package/dist/esm/refine-results-flow-item.entry.js +0 -57
- package/dist/solutions-components/assets/t9n/feature-comments/resources.json +0 -3
- package/dist/solutions-components/assets/t9n/feature-comments/resources_en.json +0 -3
- package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources.json +0 -3
- package/dist/solutions-components/assets/t9n/feature-form-flow-item/resources_en.json +0 -3
- package/dist/solutions-components/assets/t9n/layout-manager/resources.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_ar.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_bg.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_bs.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_ca.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_cs.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_da.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_de.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_el.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_en.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_es.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_et.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_fi.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_fr.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_he.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_hr.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_hu.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_id.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_it.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_ja.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_ko.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_lt.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_lv.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_nb.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_nl.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_pl.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-BR.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_pt-PT.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_ro.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_ru.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_sk.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_sl.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_sr.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_sv.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_th.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_tr.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_uk.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_vi.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-CN.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-HK.json +0 -7
- package/dist/solutions-components/assets/t9n/layout-manager/resources_zh-TW.json +0 -7
- package/dist/solutions-components/assets/t9n/list-flow-item/resources.json +0 -3
- package/dist/solutions-components/assets/t9n/list-flow-item/resources_en.json +0 -3
- package/dist/solutions-components/assets/t9n/location-flow-item/resources.json +0 -3
- package/dist/solutions-components/assets/t9n/location-flow-item/resources_en.json +0 -3
- package/dist/solutions-components/p-04ab956c.entry.js +0 -6
- package/dist/solutions-components/p-06364211.entry.js +0 -6
- package/dist/solutions-components/p-1700f63a.entry.js +0 -6
- package/dist/solutions-components/p-1f07e21a.entry.js +0 -6
- package/dist/solutions-components/p-46416e11.entry.js +0 -6
- package/dist/solutions-components/p-70c0050c.entry.js +0 -6
- package/dist/solutions-components/p-720de4db.entry.js +0 -6
- package/dist/solutions-components/p-74bcef23.entry.js +0 -11
- package/dist/solutions-components/p-76154700.entry.js +0 -6
- package/dist/solutions-components/p-938bc915.entry.js +0 -6
- package/dist/solutions-components/p-9c4fef09.entry.js +0 -17
- package/dist/solutions-components/p-9d56f4b5.entry.js +0 -6
- package/dist/solutions-components/p-9da8a590.entry.js +0 -6
- package/dist/solutions-components/p-aac0c89c.entry.js +0 -6
- package/dist/solutions-components/p-be4c7ffd.entry.js +0 -6
- package/dist/solutions-components/p-d2612c30.entry.js +0 -6
- package/dist/solutions-components/p-df7de4b7.entry.js +0 -12
- package/dist/solutions-components/p-e345f9c4.entry.js +0 -6
- package/dist/solutions-components/p-eadff42b.entry.js +0 -11
- package/dist/solutions-components/p-fa1c368c.entry.js +0 -6
- package/dist/solutions-components/p-ff3858c6.entry.js +0 -6
- package/dist/types/components/feature-comments/feature-comments.d.ts +0 -19
- package/dist/types/components/feature-form-flow-item/feature-form-flow-item.d.ts +0 -19
- package/dist/types/components/features-flow-item/features-flow-item.d.ts +0 -19
- package/dist/types/components/layout-manager/layout-manager.d.ts +0 -69
- package/dist/types/components/list-flow-item/list-flow-item.d.ts +0 -19
- package/dist/types/components/location-flow-item/location-flow-item.d.ts +0 -19
- package/dist/types/components/refine-results-flow-item/refine-results-flow-item.d.ts +0 -19
|
@@ -261,7 +261,7 @@ const FloorFilter = class {
|
|
|
261
261
|
* Renders the component.
|
|
262
262
|
*/
|
|
263
263
|
render() {
|
|
264
|
-
return (index.h(index.Host, { key: '
|
|
264
|
+
return (index.h(index.Host, { key: '51da7a656e7f56ecc8cc4093d3dab856f77b5c7a' }, index.h("div", { key: 'd2fda7047f09a673216484f5c202f039fca20108', ref: (el) => { this._floorFilterElement = el; } })));
|
|
265
265
|
}
|
|
266
266
|
/**
|
|
267
267
|
* StencilJS: Called once just after the component is first loaded.
|
|
@@ -428,7 +428,7 @@ const MapFullscreen = class {
|
|
|
428
428
|
* Renders the component.
|
|
429
429
|
*/
|
|
430
430
|
render() {
|
|
431
|
-
return (index.h(index.Host, { key: '
|
|
431
|
+
return (index.h(index.Host, { key: '28d49dabefbb64024028bd6d7b7a104fafd81eae' }, index.h("div", { key: '443af45e3ce2c83a797ebfaac9e442d57d05c34c', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
434
434
|
* StencilJS: Called just after the component updates.
|
|
@@ -555,7 +555,7 @@ const MapLegend = class {
|
|
|
555
555
|
* StencilJS: Renders the component.
|
|
556
556
|
*/
|
|
557
557
|
render() {
|
|
558
|
-
return (index.h(index.Host, { key: '
|
|
558
|
+
return (index.h(index.Host, { key: '6b8c415650cb42727d7f09d3d4d92f8aebc7526b' }, index.h("div", { key: '36fd4c49d4ab19411fe309822e5b87104736282a', ref: (el) => { this._legendElement = el; } })));
|
|
559
559
|
}
|
|
560
560
|
/**
|
|
561
561
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
|
@@ -613,6 +613,7 @@ const MapPicker = class {
|
|
|
613
613
|
constructor(hostRef) {
|
|
614
614
|
index.registerInstance(this, hostRef);
|
|
615
615
|
this.mapInfoChange = index.createEvent(this, "mapInfoChange", 7);
|
|
616
|
+
this.locale = undefined;
|
|
616
617
|
this.mapInfos = [];
|
|
617
618
|
this.isMapLayout = undefined;
|
|
618
619
|
this._mapListExpanded = false;
|
|
@@ -647,6 +648,14 @@ const MapPicker = class {
|
|
|
647
648
|
this.mapInfoChange.emit(v);
|
|
648
649
|
}
|
|
649
650
|
}
|
|
651
|
+
/**
|
|
652
|
+
* Fetch translations when the locale is updated
|
|
653
|
+
*/
|
|
654
|
+
async localeWatchHandler() {
|
|
655
|
+
// to support url param and language switcher
|
|
656
|
+
this.el.lang = this.locale;
|
|
657
|
+
await this._getTranslations();
|
|
658
|
+
}
|
|
650
659
|
/**
|
|
651
660
|
* Called each time the mapInfos prop is changed.
|
|
652
661
|
*/
|
|
@@ -706,7 +715,7 @@ const MapPicker = class {
|
|
|
706
715
|
* Renders the component.
|
|
707
716
|
*/
|
|
708
717
|
render() {
|
|
709
|
-
return (index.h(index.Host, { key: '
|
|
718
|
+
return (index.h(index.Host, { key: 'c6f59dfac8acfc06775a3a38cefa1fd2c2708722' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
|
|
710
719
|
}
|
|
711
720
|
/**
|
|
712
721
|
* Called once after the component has loaded
|
|
@@ -792,6 +801,7 @@ const MapPicker = class {
|
|
|
792
801
|
}
|
|
793
802
|
static get watchers() { return {
|
|
794
803
|
"_webMapInfo": ["_webMapInfoWatchHandler"],
|
|
804
|
+
"locale": ["localeWatchHandler"],
|
|
795
805
|
"mapInfos": ["mapInfosWatchHandler"]
|
|
796
806
|
}; }
|
|
797
807
|
};
|
|
@@ -890,7 +900,7 @@ const MapSearch = class {
|
|
|
890
900
|
* Renders the component.
|
|
891
901
|
*/
|
|
892
902
|
render() {
|
|
893
|
-
return (index.h(index.Host, { key: '
|
|
903
|
+
return (index.h(index.Host, { key: '3464734a35e8cf89f033d508d21831eef665c9b2' }, index.h("div", { key: 'bf79025ba97e9f26681a6c6200dcdbc2ea227ce8', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
|
|
894
904
|
}
|
|
895
905
|
//--------------------------------------------------------------------------
|
|
896
906
|
//
|
|
@@ -1013,6 +1023,7 @@ const MapTools = class {
|
|
|
1013
1023
|
this.enableSingleExpand = undefined;
|
|
1014
1024
|
this.homeZoomToolsSize = "m";
|
|
1015
1025
|
this.layout = "vertical";
|
|
1026
|
+
this.locale = undefined;
|
|
1016
1027
|
this.mapView = undefined;
|
|
1017
1028
|
this.mapWidgetsSize = "m";
|
|
1018
1029
|
this.position = "top-right";
|
|
@@ -1068,6 +1079,14 @@ const MapTools = class {
|
|
|
1068
1079
|
// Watch handlers
|
|
1069
1080
|
//
|
|
1070
1081
|
//--------------------------------------------------------------------------
|
|
1082
|
+
/**
|
|
1083
|
+
* Fetch translations when the locale is updated
|
|
1084
|
+
*/
|
|
1085
|
+
async localeWatchHandler() {
|
|
1086
|
+
// to support url param and language switcher
|
|
1087
|
+
this.el.lang = this.locale;
|
|
1088
|
+
await this._getTranslations();
|
|
1089
|
+
}
|
|
1071
1090
|
/**
|
|
1072
1091
|
* When the mapView loads check if it supports floor awareness
|
|
1073
1092
|
*/
|
|
@@ -1188,7 +1207,7 @@ const MapTools = class {
|
|
|
1188
1207
|
const toolMarginClass = this.enableSingleExpand ? "margin-top-1-2" : "";
|
|
1189
1208
|
const toolOrder = this.toolOrder ? this.toolOrder : ["legend", "search", "fullscreen", "floorfilter"];
|
|
1190
1209
|
const shadowClass = this.stackTools ? "box-shadow" : "";
|
|
1191
|
-
return (index.h(index.Host, { key: '
|
|
1210
|
+
return (index.h(index.Host, { key: '6287cfedcd109c621812cc823ee75487a166f7c0' }, index.h("div", { key: '6f3f1a8ff1fb9c1d671be044143eec4ca6708062', class: containerClass }, this.enableSingleExpand ? (index.h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, index.h("div", { key: '156511461a6b6c4a98b47c62460754405f101574', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), index.h("basemap-gallery", { key: '7975fa8c2db0c3fc10534d538bc593f8543b330e', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), index.h("map-search", { key: 'd7df2b0010bc62b9d2a9601018a962d3e8df2561', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), index.h("map-legend", { key: '1bd19b87e9def0b81251aa422ef0024a938bd93d', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), index.h("map-fullscreen", { key: 'c5a68a86acc284af7659f467f2fe98c6168b619e', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), index.h("floor-filter", { key: '8d596ddeb353ac85635aa3ef550708e4ec4d5706', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
|
1192
1211
|
}
|
|
1193
1212
|
//--------------------------------------------------------------------------
|
|
1194
1213
|
//
|
|
@@ -1371,6 +1390,7 @@ const MapTools = class {
|
|
|
1371
1390
|
this._translations = messages[0];
|
|
1372
1391
|
}
|
|
1373
1392
|
static get watchers() { return {
|
|
1393
|
+
"locale": ["localeWatchHandler"],
|
|
1374
1394
|
"mapView": ["mapViewWatchHandler"],
|
|
1375
1395
|
"_showBasemapWidget": ["_showBasemapWidgetWatchHandler"],
|
|
1376
1396
|
"_showFloorFilter": ["_showFloorFilterWatchHandler"],
|
|
@@ -30,6 +30,7 @@ const BufferTools = class {
|
|
|
30
30
|
this.appearance = "text";
|
|
31
31
|
this.distance = 0;
|
|
32
32
|
this.geometries = [];
|
|
33
|
+
this.locale = undefined;
|
|
33
34
|
this.max = undefined;
|
|
34
35
|
this.min = 0;
|
|
35
36
|
this.sliderTicks = 10;
|
|
@@ -76,6 +77,14 @@ const BufferTools = class {
|
|
|
76
77
|
disabledWatchHandler() {
|
|
77
78
|
this._buffer();
|
|
78
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* Fetch translations when the locale is updated
|
|
82
|
+
*/
|
|
83
|
+
async localeWatchHandler() {
|
|
84
|
+
// to support url param and language switcher
|
|
85
|
+
this.el.lang = this.locale;
|
|
86
|
+
await this._getTranslations();
|
|
87
|
+
}
|
|
79
88
|
//--------------------------------------------------------------------------
|
|
80
89
|
//
|
|
81
90
|
// Methods (public)
|
|
@@ -127,7 +136,7 @@ const BufferTools = class {
|
|
|
127
136
|
* Renders the component.
|
|
128
137
|
*/
|
|
129
138
|
render() {
|
|
130
|
-
return (index.h(index.Host, { key: '
|
|
139
|
+
return (index.h(index.Host, { key: '4fbfb01938d285a2b022834f712013cea10945f9' }, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
|
|
131
140
|
}
|
|
132
141
|
//--------------------------------------------------------------------------
|
|
133
142
|
//
|
|
@@ -292,7 +301,8 @@ const BufferTools = class {
|
|
|
292
301
|
}
|
|
293
302
|
static get watchers() { return {
|
|
294
303
|
"geometries": ["geometriesWatchHandler"],
|
|
295
|
-
"disabled": ["disabledWatchHandler"]
|
|
304
|
+
"disabled": ["disabledWatchHandler"],
|
|
305
|
+
"locale": ["localeWatchHandler"]
|
|
296
306
|
}; }
|
|
297
307
|
};
|
|
298
308
|
BufferTools.style = BufferToolsStyle0;
|
|
@@ -366,6 +376,7 @@ const MapDrawTools = class {
|
|
|
366
376
|
this.drawMode = interfaces.EDrawMode.SKETCH;
|
|
367
377
|
this.editGraphicsEnabled = true;
|
|
368
378
|
this.graphics = undefined;
|
|
379
|
+
this.locale = undefined;
|
|
369
380
|
this.mapView = undefined;
|
|
370
381
|
this.pointSymbol = undefined;
|
|
371
382
|
this.polylineSymbol = undefined;
|
|
@@ -426,6 +437,14 @@ const MapDrawTools = class {
|
|
|
426
437
|
this._sketchGraphicsLayer.addMany(v);
|
|
427
438
|
}
|
|
428
439
|
}
|
|
440
|
+
/**
|
|
441
|
+
* Fetch translations when the locale is updated
|
|
442
|
+
*/
|
|
443
|
+
async localeWatchHandler() {
|
|
444
|
+
// to support url param and language switcher
|
|
445
|
+
this.el.lang = this.locale;
|
|
446
|
+
await this._getTranslations();
|
|
447
|
+
}
|
|
429
448
|
/**
|
|
430
449
|
* Called each time the mapView prop is changed.
|
|
431
450
|
*/
|
|
@@ -515,7 +534,7 @@ const MapDrawTools = class {
|
|
|
515
534
|
"border" : "border esri-widget esri-sketch__panel";
|
|
516
535
|
const undoRedoClass = this.drawMode === interfaces.EDrawMode.SKETCH ?
|
|
517
536
|
"display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
|
|
518
|
-
return (index.h(index.Host, { key: '
|
|
537
|
+
return (index.h(index.Host, { key: 'c94ac0dde3ba21569ef86cb3ba5e92a427acd10f' }, index.h("div", { key: 'c699bf597d5a28d62dbba20fa6ddca38f406294f', class: containerClass }, index.h("div", { key: '78058d9155a650bb59e59ab9064a0286b7479759', ref: (el) => { this._sketchElement = el; } }), index.h("div", { key: '8cfc53dda2d1b272841acf40bd70b951111c359e', class: undoRedoClass }, index.h("calcite-action", { key: '5a8f0d0429f7d3df587957ae77ed935b0f99a5a0', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), index.h("calcite-action", { key: '163067cba4a163dc32d23c2d96cb2d9d967d287e', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
|
|
519
538
|
}
|
|
520
539
|
//--------------------------------------------------------------------------
|
|
521
540
|
//
|
|
@@ -748,6 +767,7 @@ const MapDrawTools = class {
|
|
|
748
767
|
}
|
|
749
768
|
static get watchers() { return {
|
|
750
769
|
"graphics": ["graphicsWatchHandler"],
|
|
770
|
+
"locale": ["localeWatchHandler"],
|
|
751
771
|
"mapView": ["mapViewWatchHandler"]
|
|
752
772
|
}; }
|
|
753
773
|
};
|
|
@@ -590,6 +590,7 @@ const CreateFeature = class {
|
|
|
590
590
|
this.mapView = undefined;
|
|
591
591
|
this.selectedLayerId = undefined;
|
|
592
592
|
this.customizeSubmit = false;
|
|
593
|
+
this.locale = undefined;
|
|
593
594
|
this.searchConfiguration = undefined;
|
|
594
595
|
this.isMobile = undefined;
|
|
595
596
|
this.floorLevel = undefined;
|
|
@@ -693,6 +694,14 @@ const CreateFeature = class {
|
|
|
693
694
|
// Watch handlers
|
|
694
695
|
//
|
|
695
696
|
//--------------------------------------------------------------------------
|
|
697
|
+
/**
|
|
698
|
+
* Fetch translations when the locale is updated
|
|
699
|
+
*/
|
|
700
|
+
async localeWatchHandler() {
|
|
701
|
+
// to support url param and language switcher
|
|
702
|
+
this.el.lang = this.locale;
|
|
703
|
+
await this._getTranslations();
|
|
704
|
+
}
|
|
696
705
|
/**
|
|
697
706
|
* Called each time the mapView prop is changed.
|
|
698
707
|
*/
|
|
@@ -839,8 +848,8 @@ const CreateFeature = class {
|
|
|
839
848
|
else if (this._currentPage === 'featureForm') {
|
|
840
849
|
guidingMsg = this._translations.provideDetailsMsg;
|
|
841
850
|
}
|
|
842
|
-
return (index.h(index.Fragment, { key: '
|
|
843
|
-
index.h("div", { key: '
|
|
851
|
+
return (index.h(index.Fragment, { key: '788b2ebb85b603452d4b4de05711510f7480c895' }, showGuidingMsg && index.h("calcite-notice", { key: 'cf41e701f5a7605531fa6351acf13ea20e219f7a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, index.h("div", { key: '1bb493a8e5a962c8a8c75ac37156edbf866c3916', slot: "message" }, guidingMsg)), index.h("calcite-loader", { key: '5d2e9a465cb7c6dbde8d941497fda87b4fc7c258', class: loaderClass, label: "", scale: "s" }), index.h("div", { key: '23b8651f4040443ba731173d1818b515b718b754', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
|
|
852
|
+
index.h("div", { key: '7f628d09111295d46fbf7b9605999c2ef88c258d', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), index.h("div", { key: '3def9aaab0a2f03076a6c4c645cf5a080bbb9e75', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
|
|
844
853
|
}
|
|
845
854
|
//--------------------------------------------------------------------------
|
|
846
855
|
//
|
|
@@ -1245,6 +1254,7 @@ const CreateFeature = class {
|
|
|
1245
1254
|
this._translations = messages[0];
|
|
1246
1255
|
}
|
|
1247
1256
|
static get watchers() { return {
|
|
1257
|
+
"locale": ["localeWatchHandler"],
|
|
1248
1258
|
"mapView": ["mapViewWatchHandler"],
|
|
1249
1259
|
"isMobile": ["isMobileHandler"],
|
|
1250
1260
|
"_editorLoading": ["_editorLoadingWatchHandler"]
|
|
@@ -1263,6 +1273,7 @@ const EditCard = class {
|
|
|
1263
1273
|
this.refreshGraphics = index.createEvent(this, "refreshGraphics", 7);
|
|
1264
1274
|
this.enableEditGeometry = false;
|
|
1265
1275
|
this.graphics = undefined;
|
|
1276
|
+
this.locale = undefined;
|
|
1266
1277
|
this.mapView = undefined;
|
|
1267
1278
|
this.open = false;
|
|
1268
1279
|
this.graphicIndex = 0;
|
|
@@ -1346,6 +1357,14 @@ const EditCard = class {
|
|
|
1346
1357
|
await this._closeEdit(true);
|
|
1347
1358
|
}
|
|
1348
1359
|
}
|
|
1360
|
+
/**
|
|
1361
|
+
* Fetch translations when the locale is updated
|
|
1362
|
+
*/
|
|
1363
|
+
async localeWatchHandler() {
|
|
1364
|
+
// to support url param and language switcher
|
|
1365
|
+
this.el.lang = this.locale;
|
|
1366
|
+
await this._getTranslations();
|
|
1367
|
+
}
|
|
1349
1368
|
async openWatchHandler(v) {
|
|
1350
1369
|
if (v && this.graphics?.length > 0 && this.graphicIndex > -1) {
|
|
1351
1370
|
this._editorLoading = true;
|
|
@@ -1430,7 +1449,7 @@ const EditCard = class {
|
|
|
1430
1449
|
!this.graphics[0].layer.editingEnabled : true;
|
|
1431
1450
|
const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
|
|
1432
1451
|
const loadingClass = this._editorLoading ? "" : "display-none";
|
|
1433
|
-
return (index.h(index.Host, { key: '
|
|
1452
|
+
return (index.h(index.Host, { key: '15ae3de9c8ab0a66a0185ffaafc27f03e19c77b7' }, index.h("div", { key: 'bbaa7dbc405259b64dfceca89e45abf6372c76c3', class: "position-absolute" }, editDisabled ? (index.h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, index.h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, index.h("div", { key: 'eb8b08fa0b08cf93581fb8e76d59bd8b5446770f', class: "position-absolute" }, index.h("div", { key: '03e525373c09fbcd4dad213738d97b99f1549975', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), index.h("calcite-loader", { key: '1cc46d8f6499a90736e05c2eed9bff71aff35d12', class: loadingClass, label: "", scale: "s" })))));
|
|
1434
1453
|
}
|
|
1435
1454
|
//--------------------------------------------------------------------------
|
|
1436
1455
|
//
|
|
@@ -1536,6 +1555,7 @@ const EditCard = class {
|
|
|
1536
1555
|
}
|
|
1537
1556
|
static get watchers() { return {
|
|
1538
1557
|
"graphics": ["graphicsWatchHandler"],
|
|
1558
|
+
"locale": ["localeWatchHandler"],
|
|
1539
1559
|
"open": ["openWatchHandler"]
|
|
1540
1560
|
}; }
|
|
1541
1561
|
};
|
|
@@ -1556,6 +1576,7 @@ const InfoCard = class {
|
|
|
1556
1576
|
this.mapView = undefined;
|
|
1557
1577
|
this.allowEditing = true;
|
|
1558
1578
|
this.highlightEnabled = true;
|
|
1579
|
+
this.locale = undefined;
|
|
1559
1580
|
this.paginationEnabled = true;
|
|
1560
1581
|
this.position = 'absolute';
|
|
1561
1582
|
this._alertOpen = false;
|
|
@@ -1620,6 +1641,19 @@ const InfoCard = class {
|
|
|
1620
1641
|
async isMobileWatchHandler() {
|
|
1621
1642
|
await this._initFeaturesWidget();
|
|
1622
1643
|
}
|
|
1644
|
+
/**
|
|
1645
|
+
* Fetch translations when the locale is updated
|
|
1646
|
+
*/
|
|
1647
|
+
async localeWatchHandler() {
|
|
1648
|
+
// to support url param and language switcher
|
|
1649
|
+
this.el.lang = this.locale;
|
|
1650
|
+
await this._getTranslations();
|
|
1651
|
+
if (this._features) {
|
|
1652
|
+
const graphics = [...this.graphics];
|
|
1653
|
+
this.graphics = [];
|
|
1654
|
+
this.graphics = graphics;
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1623
1657
|
/**
|
|
1624
1658
|
* Watch for changes to the mapView and re-init the Feature widget
|
|
1625
1659
|
*/
|
|
@@ -1752,8 +1786,8 @@ const InfoCard = class {
|
|
|
1752
1786
|
const id = this._features?.selectedFeature?.getObjectId();
|
|
1753
1787
|
const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
|
|
1754
1788
|
const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
|
|
1755
|
-
return (index.h(index.Host, { key: '
|
|
1756
|
-
index.h("div", { key: '
|
|
1789
|
+
return (index.h(index.Host, { key: '54e47d0ec2be9149c3e667c9e940842804d96964' }, index.h("calcite-shell", { key: '14bb280d394ceaa74463979886ab09cdf393b26e', style: { position: this.position } }, this._getHeader(), index.h("calcite-loader", { key: '3226709e73de16c795c348513183b26b88b7a726', class: loadingClass, label: this._translations.fetchingData }), index.h("div", { key: 'ba4b0c34620c60e849bdf0ada785b9976156dd1c', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), index.h("div", { key: '440a4d3c0530f97031df2e2ab9511ef6035fb5da', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
|
|
1790
|
+
index.h("div", { key: '172b2e2cc10bdfb104057376ceba5d7f5f19ad61', class: "display-flex top-border padding-1-2" }, index.h("calcite-button", { key: '242daf0ec6c3fe4fcc11be4bbc19f810836714ec', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (index.h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, locale: this.locale, onEditsComplete: () => this._closePopup() })) : undefined, index.h("calcite-tooltip", { key: '760f8fcd1bcff2060e0a98e84a222107e55fef22', placement: "bottom", "reference-element": "solutions-edit" }, index.h("span", { key: '30656b92e9bdbf3a9548586d91fc23bce2da9db3' }, this._translations.edit)), this.isMobile ? (index.h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, index.h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && index.h("div", { key: '161902561c9686d74a511338dfc02efce0095af7', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, index.h("div", { key: 'afd1459e3f69f60d96103854fe3dae71f18fc41e' }, index.h("calcite-button", { key: '59063d7fa2cf886afca66857cb1f74e42789e59f', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), index.h("calcite-tooltip", { key: '412e00bc323494bb1e3a7dbeef59ab9bcd6ff8e0', placement: "top", "reference-element": "solutions-back" }, index.h("span", { key: '7c1512be35f16b4441c2a364e1b7a87e3c7caf97' }, this._translations.back))), index.h("calcite-action", { key: 'd4790efec0d13e6726ffe9d438683db6887d00b8', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, index.h("span", { key: '98663d5c3b2f445db4e38cba98b8149c53cbc474', class: "pagination-count" }, this._count)), index.h("div", { key: '6ca88610950cf2852e2dc67588c77fd464ece3c5' }, index.h("calcite-button", { key: '577739ef819676dfd9cdee560a8cd22edcd9c6b7', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), index.h("calcite-tooltip", { key: '73a4f907d1a2f46a980c451572f1ba1e1b0b0596', placement: "top", "reference-element": "solutions-next" }, index.h("span", { key: 'd5f67497df866592b30d6c328f9f45716eb16153' }, this._translations.next))))), index.h("edit-card", { key: 'c8094993be5203f464cea4f632c14dbefa263a73', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, locale: this.locale, mapView: this.mapView, open: this._editRecordOpen }), index.h("calcite-alert", { key: '0b9fd2109d7c6b51b91088ecbec50956a2d8d3d8', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, index.h("div", { key: 'c8b7b452430d6fedda5288fd58efae5526adeda7', slot: "title" }, this._translations.editDisabled), index.h("div", { key: 'b2dc954d43bb08908723f70796df5c77108d92d8', slot: "message" }, this._translations.enableEditing)))));
|
|
1757
1791
|
}
|
|
1758
1792
|
//--------------------------------------------------------------------------
|
|
1759
1793
|
//
|
|
@@ -1922,6 +1956,7 @@ const InfoCard = class {
|
|
|
1922
1956
|
static get watchers() { return {
|
|
1923
1957
|
"graphics": ["graphicsWatchHandler"],
|
|
1924
1958
|
"isMobile": ["isMobileWatchHandler"],
|
|
1959
|
+
"locale": ["localeWatchHandler"],
|
|
1925
1960
|
"mapView": ["mapViewWatchHandler"]
|
|
1926
1961
|
}; }
|
|
1927
1962
|
};
|
|
@@ -1221,6 +1221,7 @@ const MapLayerPicker = class {
|
|
|
1221
1221
|
this.enabledTableIds = [];
|
|
1222
1222
|
this.height = undefined;
|
|
1223
1223
|
this.isMobile = undefined;
|
|
1224
|
+
this.locale = undefined;
|
|
1224
1225
|
this.mapView = undefined;
|
|
1225
1226
|
this.onlyShowUpdatableLayers = undefined;
|
|
1226
1227
|
this.placeholderIcon = "";
|
|
@@ -1264,6 +1265,14 @@ const MapLayerPicker = class {
|
|
|
1264
1265
|
// Watch handlers
|
|
1265
1266
|
//
|
|
1266
1267
|
//--------------------------------------------------------------------------
|
|
1268
|
+
/**
|
|
1269
|
+
* Fetch translations when the locale is updated
|
|
1270
|
+
*/
|
|
1271
|
+
async localeWatchHandler() {
|
|
1272
|
+
// to support url param and language switcher
|
|
1273
|
+
this.el.lang = this.locale;
|
|
1274
|
+
await this._getTranslations();
|
|
1275
|
+
}
|
|
1267
1276
|
/**
|
|
1268
1277
|
* Called each time the mapView prop is changed.
|
|
1269
1278
|
*/
|
|
@@ -1345,7 +1354,7 @@ const MapLayerPicker = class {
|
|
|
1345
1354
|
const id = "map-layer-picker";
|
|
1346
1355
|
let style = this.height > 0 ? { "height": `${this.height.toString()}px` } : {};
|
|
1347
1356
|
style = { ...style, "display": this.display };
|
|
1348
|
-
return (index.h(index.Host, { key: '
|
|
1357
|
+
return (index.h(index.Host, { key: '33b19dbf87019ad071242aaa688e49f35e2c2808' }, index.h("div", { key: '85e781782fc529acae68b1137f8ec1a317b452a0', class: "map-layer-picker-container", style: style }, index.h("div", { key: 'c257b179b56939d998650c676e835c9976d9fb21', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
|
|
1349
1358
|
!this._hasMultipleLayers && this.showSingleLayerAsLabel ? this._getSingleLayerPlaceholder() :
|
|
1350
1359
|
this.type === "combobox" ? this._getCombobox(id) :
|
|
1351
1360
|
this.type === "select" ? this._getSelect(id) : this._getDropdown(id)))));
|
|
@@ -1596,6 +1605,7 @@ const MapLayerPicker = class {
|
|
|
1596
1605
|
this._translations = messages[0];
|
|
1597
1606
|
}
|
|
1598
1607
|
static get watchers() { return {
|
|
1608
|
+
"locale": ["localeWatchHandler"],
|
|
1599
1609
|
"mapView": ["mapViewWatchHandler"]
|
|
1600
1610
|
}; }
|
|
1601
1611
|
};
|
|
@@ -165,6 +165,7 @@ const CreateRelatedFeature = class {
|
|
|
165
165
|
this.fail = index.createEvent(this, "fail", 7);
|
|
166
166
|
this.isActionPending = index.createEvent(this, "isActionPending", 7);
|
|
167
167
|
this.formReady = index.createEvent(this, "formReady", 7);
|
|
168
|
+
this.locale = undefined;
|
|
168
169
|
this.mapView = undefined;
|
|
169
170
|
this.table = undefined;
|
|
170
171
|
this.selectedFeature = undefined;
|
|
@@ -210,6 +211,14 @@ const CreateRelatedFeature = class {
|
|
|
210
211
|
// Watch handlers
|
|
211
212
|
//
|
|
212
213
|
//--------------------------------------------------------------------------
|
|
214
|
+
/**
|
|
215
|
+
* Fetch translations when the locale is updated
|
|
216
|
+
*/
|
|
217
|
+
async localeWatchHandler() {
|
|
218
|
+
// to support url param and language switcher
|
|
219
|
+
this.el.lang = this.locale;
|
|
220
|
+
await this._getTranslations();
|
|
221
|
+
}
|
|
213
222
|
/**
|
|
214
223
|
* Called each time the mapView prop is changed.
|
|
215
224
|
*/
|
|
@@ -300,7 +309,7 @@ const CreateRelatedFeature = class {
|
|
|
300
309
|
}
|
|
301
310
|
render() {
|
|
302
311
|
const loaderClass = this._editorLoading ? "" : "display-none";
|
|
303
|
-
return (index.h(index.Fragment, { key: '
|
|
312
|
+
return (index.h(index.Fragment, { key: '48fffd1e9dd429d339d9a72e35f5c31561fc076f' }, this.showGuidingMsg && index.h("calcite-notice", { key: '9a6f700c135bb7593e4338981a30531e3d9fba8a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, index.h("div", { key: '7044e923a9fab833a7a6fe0bb97fa688d7e6eecc', slot: "message" }, this._translations.provideDetailsMsg)), index.h("calcite-loader", { key: '15599ae77e451d220689c13098a31c5788714306', class: loaderClass, label: "", scale: "s" })));
|
|
304
313
|
}
|
|
305
314
|
/**
|
|
306
315
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
|
@@ -487,6 +496,7 @@ const CreateRelatedFeature = class {
|
|
|
487
496
|
this._translations = messages[0];
|
|
488
497
|
}
|
|
489
498
|
static get watchers() { return {
|
|
499
|
+
"locale": ["localeWatchHandler"],
|
|
490
500
|
"mapView": ["mapViewWatchHandler"],
|
|
491
501
|
"_editorLoading": ["_editorLoadingWatchHandler"]
|
|
492
502
|
}; }
|
|
@@ -508,6 +518,7 @@ const FeatureDetails = class {
|
|
|
508
518
|
this.graphics = undefined;
|
|
509
519
|
this.reportingOptions = undefined;
|
|
510
520
|
this.layerItemsHash = undefined;
|
|
521
|
+
this.locale = undefined;
|
|
511
522
|
this.showUserImageInCommentsList = false;
|
|
512
523
|
this._likeFieldAvailable = false;
|
|
513
524
|
this._likeCount = 0;
|
|
@@ -656,12 +667,12 @@ const FeatureDetails = class {
|
|
|
656
667
|
render() {
|
|
657
668
|
//When related features found show comments list of only those features else comments list will be empty
|
|
658
669
|
const commentsListWhereClause = this._relatedFeaturesOIDs?.length > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
|
|
659
|
-
return (index.h("calcite-panel", { key: '
|
|
660
|
-
index.h("div", { key: '
|
|
661
|
-
index.h("calcite-button", { key: '
|
|
662
|
-
index.h("calcite-button", { key: '
|
|
663
|
-
index.h("calcite-button", { key: '
|
|
664
|
-
index.h("feature-list", { key: '
|
|
670
|
+
return (index.h("calcite-panel", { key: 'be7bebe9da698d963a2602fcacb95ac7206ac1e9', "full-height": true }, index.h("info-card", { key: '1e069f52d59d42f3e2b88463ea7c536c65a0a6b5', allowEditing: false, graphics: this.graphics, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, 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) &&
|
|
671
|
+
index.h("div", { key: 'd53f5a1726e4c6299ffd04e266d84005181645f6', class: "buttons-container" }, this._commentsAvailable &&
|
|
672
|
+
index.h("calcite-button", { key: '4c2616cc9e0107258f5313b66ae96fa31fe582c5', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
|
|
673
|
+
index.h("calcite-button", { key: '7c87aa085df04a8b58625097c2ce70e5853b82f9', 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 &&
|
|
674
|
+
index.h("calcite-button", { key: '59eb48b91fc2a394cafdcbeeebf5baafae9a8c9b', 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 &&
|
|
675
|
+
index.h("feature-list", { key: 'f34ee203202944666c40e14bdfdc59265414fbe1', class: "height-full", locale: this.locale, 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 })));
|
|
665
676
|
}
|
|
666
677
|
/**
|
|
667
678
|
* Load esri javascript api modules
|
|
@@ -946,6 +957,7 @@ const LayerList = class {
|
|
|
946
957
|
this.layersListLoaded = index.createEvent(this, "layersListLoaded", 7);
|
|
947
958
|
this.mapView = undefined;
|
|
948
959
|
this.layers = undefined;
|
|
960
|
+
this.locale = undefined;
|
|
949
961
|
this.showFeatureCount = true;
|
|
950
962
|
this.showNextIcon = false;
|
|
951
963
|
this.applyLayerViewFilter = false;
|
|
@@ -969,6 +981,14 @@ const LayerList = class {
|
|
|
969
981
|
// Watch handlers
|
|
970
982
|
//
|
|
971
983
|
//--------------------------------------------------------------------------
|
|
984
|
+
/**
|
|
985
|
+
* Fetch translations when the locale is updated
|
|
986
|
+
*/
|
|
987
|
+
async localeWatchHandler() {
|
|
988
|
+
// to support url param and language switcher
|
|
989
|
+
this.el.lang = this.locale;
|
|
990
|
+
await this._getTranslations();
|
|
991
|
+
}
|
|
972
992
|
//--------------------------------------------------------------------------
|
|
973
993
|
//
|
|
974
994
|
// Methods (public)
|
|
@@ -1017,9 +1037,9 @@ const LayerList = class {
|
|
|
1017
1037
|
* Renders the component.
|
|
1018
1038
|
*/
|
|
1019
1039
|
render() {
|
|
1020
|
-
return (index.h(index.Fragment, { key: '
|
|
1021
|
-
index.h("calcite-notice", { key: '
|
|
1022
|
-
index.h("calcite-list", { key: '
|
|
1040
|
+
return (index.h(index.Fragment, { key: 'a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e' }, this._isLoading && index.h("calcite-loader", { key: '544a134bccc29048ca80b996844cc944bcd97a24', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
|
|
1041
|
+
index.h("calcite-notice", { key: '7557f91c8c3349c120c043ea59458b4c834dce2e', class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, index.h("div", { key: 'ea8b20f8c7da5053641cfad56e3395ae3c6286f5', slot: "title" }, this._translations.error), index.h("div", { key: '38aaed7b456aba0b1dd70183be03e9133834dfb4', slot: "message" }, this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
|
|
1042
|
+
index.h("calcite-list", { key: '817de422b8387cafb7f9a17515cf9b3c13998522', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
|
|
1023
1043
|
}
|
|
1024
1044
|
//--------------------------------------------------------------------------
|
|
1025
1045
|
//
|
|
@@ -1145,6 +1165,9 @@ const LayerList = class {
|
|
|
1145
1165
|
const messages = await locale.getLocaleComponentStrings(this.el);
|
|
1146
1166
|
this._translations = messages[0];
|
|
1147
1167
|
}
|
|
1168
|
+
static get watchers() { return {
|
|
1169
|
+
"locale": ["localeWatchHandler"]
|
|
1170
|
+
}; }
|
|
1148
1171
|
};
|
|
1149
1172
|
LayerList.style = LayerListStyle0;
|
|
1150
1173
|
|