@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
|
@@ -21059,6 +21059,19 @@ const SpatialRefStyle0 = spatialRefCss;
|
|
|
21059
21059
|
|
|
21060
21060
|
const SpatialRef$1 = /*@__PURE__*/ proxyCustomElement(class SpatialRef extends HTMLElement {
|
|
21061
21061
|
get el() { return this; }
|
|
21062
|
+
//--------------------------------------------------------------------------
|
|
21063
|
+
//
|
|
21064
|
+
// Watch handlers
|
|
21065
|
+
//
|
|
21066
|
+
//--------------------------------------------------------------------------
|
|
21067
|
+
/**
|
|
21068
|
+
* Fetch translations when the locale is updated
|
|
21069
|
+
*/
|
|
21070
|
+
async localeWatchHandler() {
|
|
21071
|
+
// to support url param and language switcher
|
|
21072
|
+
this.el.lang = this.locale;
|
|
21073
|
+
await this._getTranslations();
|
|
21074
|
+
}
|
|
21062
21075
|
valueChanged(newValue) {
|
|
21063
21076
|
this._spatialRef = this._createSpatialRefDisplay(newValue);
|
|
21064
21077
|
const searchBox = document.getElementById("calcite-sr-search");
|
|
@@ -21085,6 +21098,7 @@ const SpatialRef$1 = /*@__PURE__*/ proxyCustomElement(class SpatialRef extends H
|
|
|
21085
21098
|
this.spatialReferenceChange = createEvent(this, "spatialReferenceChange", 7);
|
|
21086
21099
|
this.defaultWkid = 102100;
|
|
21087
21100
|
this.disabled = false;
|
|
21101
|
+
this.locale = undefined;
|
|
21088
21102
|
this.value = this.defaultWkid.toString();
|
|
21089
21103
|
this._cachedValue = this.defaultWkid.toString();
|
|
21090
21104
|
this._spatialRef = undefined;
|
|
@@ -21102,7 +21116,7 @@ const SpatialRef$1 = /*@__PURE__*/ proxyCustomElement(class SpatialRef extends H
|
|
|
21102
21116
|
* Renders the component.
|
|
21103
21117
|
*/
|
|
21104
21118
|
render() {
|
|
21105
|
-
return (h(Host, { key: '
|
|
21119
|
+
return (h(Host, { key: '348d114f0c8c9571b4beff34a946a09b734083f9' }, h("div", { key: '2f6bb626834a50690fd523744a4c2adeddfb0f9f' }, h("calcite-input", { key: '4b3d9354f1c1983c49360eb9f3a0a921288f50c2', disabled: this.disabled, id: "calcite-sr-search", onKeyUp: (evt) => this._searchInputKeyDown(evt), placeholder: this._translations.spatialReferencePlaceholder }), h("calcite-tree", { key: '883819c424636a79957d375f0d613d32827e5ebe', id: "calcite-sr-tree", slot: "children" }, this._getTreeContent()))));
|
|
21106
21120
|
}
|
|
21107
21121
|
_lastHighlightedSref;
|
|
21108
21122
|
//--------------------------------------------------------------------------
|
|
@@ -21300,12 +21314,14 @@ const SpatialRef$1 = /*@__PURE__*/ proxyCustomElement(class SpatialRef extends H
|
|
|
21300
21314
|
this._translations = translations[0];
|
|
21301
21315
|
}
|
|
21302
21316
|
static get watchers() { return {
|
|
21317
|
+
"locale": ["localeWatchHandler"],
|
|
21303
21318
|
"value": ["valueChanged"]
|
|
21304
21319
|
}; }
|
|
21305
21320
|
static get style() { return SpatialRefStyle0; }
|
|
21306
21321
|
}, [0, "spatial-ref", {
|
|
21307
21322
|
"defaultWkid": [1538, "default-wkid"],
|
|
21308
21323
|
"disabled": [1540],
|
|
21324
|
+
"locale": [1],
|
|
21309
21325
|
"value": [1537],
|
|
21310
21326
|
"_cachedValue": [32],
|
|
21311
21327
|
"_spatialRef": [32],
|
|
@@ -21315,6 +21331,7 @@ const SpatialRef$1 = /*@__PURE__*/ proxyCustomElement(class SpatialRef extends H
|
|
|
21315
21331
|
"getSpatialRef": [64],
|
|
21316
21332
|
"wkidToDisplay": [64]
|
|
21317
21333
|
}, undefined, {
|
|
21334
|
+
"locale": ["localeWatchHandler"],
|
|
21318
21335
|
"value": ["valueChanged"]
|
|
21319
21336
|
}]);
|
|
21320
21337
|
function defineCustomElement$1() {
|
|
@@ -257,7 +257,7 @@ const FloorFilter = class {
|
|
|
257
257
|
* Renders the component.
|
|
258
258
|
*/
|
|
259
259
|
render() {
|
|
260
|
-
return (h(Host, { key: '
|
|
260
|
+
return (h(Host, { key: '51da7a656e7f56ecc8cc4093d3dab856f77b5c7a' }, h("div", { key: 'd2fda7047f09a673216484f5c202f039fca20108', ref: (el) => { this._floorFilterElement = el; } })));
|
|
261
261
|
}
|
|
262
262
|
/**
|
|
263
263
|
* StencilJS: Called once just after the component is first loaded.
|
|
@@ -424,7 +424,7 @@ const MapFullscreen = class {
|
|
|
424
424
|
* Renders the component.
|
|
425
425
|
*/
|
|
426
426
|
render() {
|
|
427
|
-
return (h(Host, { key: '
|
|
427
|
+
return (h(Host, { key: '28d49dabefbb64024028bd6d7b7a104fafd81eae' }, h("div", { key: '443af45e3ce2c83a797ebfaac9e442d57d05c34c', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
|
|
428
428
|
}
|
|
429
429
|
/**
|
|
430
430
|
* StencilJS: Called just after the component updates.
|
|
@@ -551,7 +551,7 @@ const MapLegend = class {
|
|
|
551
551
|
* StencilJS: Renders the component.
|
|
552
552
|
*/
|
|
553
553
|
render() {
|
|
554
|
-
return (h(Host, { key: '
|
|
554
|
+
return (h(Host, { key: '6b8c415650cb42727d7f09d3d4d92f8aebc7526b' }, h("div", { key: '36fd4c49d4ab19411fe309822e5b87104736282a', ref: (el) => { this._legendElement = el; } })));
|
|
555
555
|
}
|
|
556
556
|
/**
|
|
557
557
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
|
@@ -609,6 +609,7 @@ const MapPicker = class {
|
|
|
609
609
|
constructor(hostRef) {
|
|
610
610
|
registerInstance(this, hostRef);
|
|
611
611
|
this.mapInfoChange = createEvent(this, "mapInfoChange", 7);
|
|
612
|
+
this.locale = undefined;
|
|
612
613
|
this.mapInfos = [];
|
|
613
614
|
this.isMapLayout = undefined;
|
|
614
615
|
this._mapListExpanded = false;
|
|
@@ -643,6 +644,14 @@ const MapPicker = class {
|
|
|
643
644
|
this.mapInfoChange.emit(v);
|
|
644
645
|
}
|
|
645
646
|
}
|
|
647
|
+
/**
|
|
648
|
+
* Fetch translations when the locale is updated
|
|
649
|
+
*/
|
|
650
|
+
async localeWatchHandler() {
|
|
651
|
+
// to support url param and language switcher
|
|
652
|
+
this.el.lang = this.locale;
|
|
653
|
+
await this._getTranslations();
|
|
654
|
+
}
|
|
646
655
|
/**
|
|
647
656
|
* Called each time the mapInfos prop is changed.
|
|
648
657
|
*/
|
|
@@ -702,7 +711,7 @@ const MapPicker = class {
|
|
|
702
711
|
* Renders the component.
|
|
703
712
|
*/
|
|
704
713
|
render() {
|
|
705
|
-
return (h(Host, { key: '
|
|
714
|
+
return (h(Host, { key: 'c6f59dfac8acfc06775a3a38cefa1fd2c2708722' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
|
|
706
715
|
}
|
|
707
716
|
/**
|
|
708
717
|
* Called once after the component has loaded
|
|
@@ -788,6 +797,7 @@ const MapPicker = class {
|
|
|
788
797
|
}
|
|
789
798
|
static get watchers() { return {
|
|
790
799
|
"_webMapInfo": ["_webMapInfoWatchHandler"],
|
|
800
|
+
"locale": ["localeWatchHandler"],
|
|
791
801
|
"mapInfos": ["mapInfosWatchHandler"]
|
|
792
802
|
}; }
|
|
793
803
|
};
|
|
@@ -886,7 +896,7 @@ const MapSearch = class {
|
|
|
886
896
|
* Renders the component.
|
|
887
897
|
*/
|
|
888
898
|
render() {
|
|
889
|
-
return (h(Host, { key: '
|
|
899
|
+
return (h(Host, { key: '3464734a35e8cf89f033d508d21831eef665c9b2' }, h("div", { key: 'bf79025ba97e9f26681a6c6200dcdbc2ea227ce8', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
|
|
890
900
|
}
|
|
891
901
|
//--------------------------------------------------------------------------
|
|
892
902
|
//
|
|
@@ -1009,6 +1019,7 @@ const MapTools = class {
|
|
|
1009
1019
|
this.enableSingleExpand = undefined;
|
|
1010
1020
|
this.homeZoomToolsSize = "m";
|
|
1011
1021
|
this.layout = "vertical";
|
|
1022
|
+
this.locale = undefined;
|
|
1012
1023
|
this.mapView = undefined;
|
|
1013
1024
|
this.mapWidgetsSize = "m";
|
|
1014
1025
|
this.position = "top-right";
|
|
@@ -1064,6 +1075,14 @@ const MapTools = class {
|
|
|
1064
1075
|
// Watch handlers
|
|
1065
1076
|
//
|
|
1066
1077
|
//--------------------------------------------------------------------------
|
|
1078
|
+
/**
|
|
1079
|
+
* Fetch translations when the locale is updated
|
|
1080
|
+
*/
|
|
1081
|
+
async localeWatchHandler() {
|
|
1082
|
+
// to support url param and language switcher
|
|
1083
|
+
this.el.lang = this.locale;
|
|
1084
|
+
await this._getTranslations();
|
|
1085
|
+
}
|
|
1067
1086
|
/**
|
|
1068
1087
|
* When the mapView loads check if it supports floor awareness
|
|
1069
1088
|
*/
|
|
@@ -1184,7 +1203,7 @@ const MapTools = class {
|
|
|
1184
1203
|
const toolMarginClass = this.enableSingleExpand ? "margin-top-1-2" : "";
|
|
1185
1204
|
const toolOrder = this.toolOrder ? this.toolOrder : ["legend", "search", "fullscreen", "floorfilter"];
|
|
1186
1205
|
const shadowClass = this.stackTools ? "box-shadow" : "";
|
|
1187
|
-
return (h(Host, { key: '
|
|
1206
|
+
return (h(Host, { key: '6287cfedcd109c621812cc823ee75487a166f7c0' }, h("div", { key: '6f3f1a8ff1fb9c1d671be044143eec4ca6708062', class: containerClass }, this.enableSingleExpand ? (h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, h("div", { key: '156511461a6b6c4a98b47c62460754405f101574', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), h("basemap-gallery", { key: '7975fa8c2db0c3fc10534d538bc593f8543b330e', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { key: 'd7df2b0010bc62b9d2a9601018a962d3e8df2561', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), h("map-legend", { key: '1bd19b87e9def0b81251aa422ef0024a938bd93d', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { key: 'c5a68a86acc284af7659f467f2fe98c6168b619e', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { key: '8d596ddeb353ac85635aa3ef550708e4ec4d5706', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
|
1188
1207
|
}
|
|
1189
1208
|
//--------------------------------------------------------------------------
|
|
1190
1209
|
//
|
|
@@ -1367,6 +1386,7 @@ const MapTools = class {
|
|
|
1367
1386
|
this._translations = messages[0];
|
|
1368
1387
|
}
|
|
1369
1388
|
static get watchers() { return {
|
|
1389
|
+
"locale": ["localeWatchHandler"],
|
|
1370
1390
|
"mapView": ["mapViewWatchHandler"],
|
|
1371
1391
|
"_showBasemapWidget": ["_showBasemapWidgetWatchHandler"],
|
|
1372
1392
|
"_showFloorFilter": ["_showFloorFilterWatchHandler"],
|
|
@@ -26,6 +26,7 @@ const BufferTools = class {
|
|
|
26
26
|
this.appearance = "text";
|
|
27
27
|
this.distance = 0;
|
|
28
28
|
this.geometries = [];
|
|
29
|
+
this.locale = undefined;
|
|
29
30
|
this.max = undefined;
|
|
30
31
|
this.min = 0;
|
|
31
32
|
this.sliderTicks = 10;
|
|
@@ -72,6 +73,14 @@ const BufferTools = class {
|
|
|
72
73
|
disabledWatchHandler() {
|
|
73
74
|
this._buffer();
|
|
74
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Fetch translations when the locale is updated
|
|
78
|
+
*/
|
|
79
|
+
async localeWatchHandler() {
|
|
80
|
+
// to support url param and language switcher
|
|
81
|
+
this.el.lang = this.locale;
|
|
82
|
+
await this._getTranslations();
|
|
83
|
+
}
|
|
75
84
|
//--------------------------------------------------------------------------
|
|
76
85
|
//
|
|
77
86
|
// Methods (public)
|
|
@@ -123,7 +132,7 @@ const BufferTools = class {
|
|
|
123
132
|
* Renders the component.
|
|
124
133
|
*/
|
|
125
134
|
render() {
|
|
126
|
-
return (h(Host, { key: '
|
|
135
|
+
return (h(Host, { key: '4fbfb01938d285a2b022834f712013cea10945f9' }, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
|
|
127
136
|
}
|
|
128
137
|
//--------------------------------------------------------------------------
|
|
129
138
|
//
|
|
@@ -288,7 +297,8 @@ const BufferTools = class {
|
|
|
288
297
|
}
|
|
289
298
|
static get watchers() { return {
|
|
290
299
|
"geometries": ["geometriesWatchHandler"],
|
|
291
|
-
"disabled": ["disabledWatchHandler"]
|
|
300
|
+
"disabled": ["disabledWatchHandler"],
|
|
301
|
+
"locale": ["localeWatchHandler"]
|
|
292
302
|
}; }
|
|
293
303
|
};
|
|
294
304
|
BufferTools.style = BufferToolsStyle0;
|
|
@@ -362,6 +372,7 @@ const MapDrawTools = class {
|
|
|
362
372
|
this.drawMode = EDrawMode.SKETCH;
|
|
363
373
|
this.editGraphicsEnabled = true;
|
|
364
374
|
this.graphics = undefined;
|
|
375
|
+
this.locale = undefined;
|
|
365
376
|
this.mapView = undefined;
|
|
366
377
|
this.pointSymbol = undefined;
|
|
367
378
|
this.polylineSymbol = undefined;
|
|
@@ -422,6 +433,14 @@ const MapDrawTools = class {
|
|
|
422
433
|
this._sketchGraphicsLayer.addMany(v);
|
|
423
434
|
}
|
|
424
435
|
}
|
|
436
|
+
/**
|
|
437
|
+
* Fetch translations when the locale is updated
|
|
438
|
+
*/
|
|
439
|
+
async localeWatchHandler() {
|
|
440
|
+
// to support url param and language switcher
|
|
441
|
+
this.el.lang = this.locale;
|
|
442
|
+
await this._getTranslations();
|
|
443
|
+
}
|
|
425
444
|
/**
|
|
426
445
|
* Called each time the mapView prop is changed.
|
|
427
446
|
*/
|
|
@@ -511,7 +530,7 @@ const MapDrawTools = class {
|
|
|
511
530
|
"border" : "border esri-widget esri-sketch__panel";
|
|
512
531
|
const undoRedoClass = this.drawMode === EDrawMode.SKETCH ?
|
|
513
532
|
"display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
|
|
514
|
-
return (h(Host, { key: '
|
|
533
|
+
return (h(Host, { key: 'c94ac0dde3ba21569ef86cb3ba5e92a427acd10f' }, h("div", { key: 'c699bf597d5a28d62dbba20fa6ddca38f406294f', class: containerClass }, h("div", { key: '78058d9155a650bb59e59ab9064a0286b7479759', ref: (el) => { this._sketchElement = el; } }), h("div", { key: '8cfc53dda2d1b272841acf40bd70b951111c359e', class: undoRedoClass }, h("calcite-action", { key: '5a8f0d0429f7d3df587957ae77ed935b0f99a5a0', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), h("calcite-action", { key: '163067cba4a163dc32d23c2d96cb2d9d967d287e', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
|
|
515
534
|
}
|
|
516
535
|
//--------------------------------------------------------------------------
|
|
517
536
|
//
|
|
@@ -744,6 +763,7 @@ const MapDrawTools = class {
|
|
|
744
763
|
}
|
|
745
764
|
static get watchers() { return {
|
|
746
765
|
"graphics": ["graphicsWatchHandler"],
|
|
766
|
+
"locale": ["localeWatchHandler"],
|
|
747
767
|
"mapView": ["mapViewWatchHandler"]
|
|
748
768
|
}; }
|
|
749
769
|
};
|
|
@@ -586,6 +586,7 @@ const CreateFeature = class {
|
|
|
586
586
|
this.mapView = undefined;
|
|
587
587
|
this.selectedLayerId = undefined;
|
|
588
588
|
this.customizeSubmit = false;
|
|
589
|
+
this.locale = undefined;
|
|
589
590
|
this.searchConfiguration = undefined;
|
|
590
591
|
this.isMobile = undefined;
|
|
591
592
|
this.floorLevel = undefined;
|
|
@@ -689,6 +690,14 @@ const CreateFeature = class {
|
|
|
689
690
|
// Watch handlers
|
|
690
691
|
//
|
|
691
692
|
//--------------------------------------------------------------------------
|
|
693
|
+
/**
|
|
694
|
+
* Fetch translations when the locale is updated
|
|
695
|
+
*/
|
|
696
|
+
async localeWatchHandler() {
|
|
697
|
+
// to support url param and language switcher
|
|
698
|
+
this.el.lang = this.locale;
|
|
699
|
+
await this._getTranslations();
|
|
700
|
+
}
|
|
692
701
|
/**
|
|
693
702
|
* Called each time the mapView prop is changed.
|
|
694
703
|
*/
|
|
@@ -835,8 +844,8 @@ const CreateFeature = class {
|
|
|
835
844
|
else if (this._currentPage === 'featureForm') {
|
|
836
845
|
guidingMsg = this._translations.provideDetailsMsg;
|
|
837
846
|
}
|
|
838
|
-
return (h(Fragment, { key: '
|
|
839
|
-
h("div", { key: '
|
|
847
|
+
return (h(Fragment, { key: '788b2ebb85b603452d4b4de05711510f7480c895' }, showGuidingMsg && h("calcite-notice", { key: 'cf41e701f5a7605531fa6351acf13ea20e219f7a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '1bb493a8e5a962c8a8c75ac37156edbf866c3916', slot: "message" }, guidingMsg)), h("calcite-loader", { key: '5d2e9a465cb7c6dbde8d941497fda87b4fc7c258', class: loaderClass, label: "", scale: "s" }), h("div", { key: '23b8651f4040443ba731173d1818b515b718b754', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
|
|
848
|
+
h("div", { key: '7f628d09111295d46fbf7b9605999c2ef88c258d', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '3def9aaab0a2f03076a6c4c645cf5a080bbb9e75', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
|
|
840
849
|
}
|
|
841
850
|
//--------------------------------------------------------------------------
|
|
842
851
|
//
|
|
@@ -1241,6 +1250,7 @@ const CreateFeature = class {
|
|
|
1241
1250
|
this._translations = messages[0];
|
|
1242
1251
|
}
|
|
1243
1252
|
static get watchers() { return {
|
|
1253
|
+
"locale": ["localeWatchHandler"],
|
|
1244
1254
|
"mapView": ["mapViewWatchHandler"],
|
|
1245
1255
|
"isMobile": ["isMobileHandler"],
|
|
1246
1256
|
"_editorLoading": ["_editorLoadingWatchHandler"]
|
|
@@ -1259,6 +1269,7 @@ const EditCard = class {
|
|
|
1259
1269
|
this.refreshGraphics = createEvent(this, "refreshGraphics", 7);
|
|
1260
1270
|
this.enableEditGeometry = false;
|
|
1261
1271
|
this.graphics = undefined;
|
|
1272
|
+
this.locale = undefined;
|
|
1262
1273
|
this.mapView = undefined;
|
|
1263
1274
|
this.open = false;
|
|
1264
1275
|
this.graphicIndex = 0;
|
|
@@ -1342,6 +1353,14 @@ const EditCard = class {
|
|
|
1342
1353
|
await this._closeEdit(true);
|
|
1343
1354
|
}
|
|
1344
1355
|
}
|
|
1356
|
+
/**
|
|
1357
|
+
* Fetch translations when the locale is updated
|
|
1358
|
+
*/
|
|
1359
|
+
async localeWatchHandler() {
|
|
1360
|
+
// to support url param and language switcher
|
|
1361
|
+
this.el.lang = this.locale;
|
|
1362
|
+
await this._getTranslations();
|
|
1363
|
+
}
|
|
1345
1364
|
async openWatchHandler(v) {
|
|
1346
1365
|
if (v && this.graphics?.length > 0 && this.graphicIndex > -1) {
|
|
1347
1366
|
this._editorLoading = true;
|
|
@@ -1426,7 +1445,7 @@ const EditCard = class {
|
|
|
1426
1445
|
!this.graphics[0].layer.editingEnabled : true;
|
|
1427
1446
|
const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
|
|
1428
1447
|
const loadingClass = this._editorLoading ? "" : "display-none";
|
|
1429
|
-
return (h(Host, { key: '
|
|
1448
|
+
return (h(Host, { key: '15ae3de9c8ab0a66a0185ffaafc27f03e19c77b7' }, h("div", { key: 'bbaa7dbc405259b64dfceca89e45abf6372c76c3', 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: 'eb8b08fa0b08cf93581fb8e76d59bd8b5446770f', class: "position-absolute" }, h("div", { key: '03e525373c09fbcd4dad213738d97b99f1549975', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: '1cc46d8f6499a90736e05c2eed9bff71aff35d12', class: loadingClass, label: "", scale: "s" })))));
|
|
1430
1449
|
}
|
|
1431
1450
|
//--------------------------------------------------------------------------
|
|
1432
1451
|
//
|
|
@@ -1532,6 +1551,7 @@ const EditCard = class {
|
|
|
1532
1551
|
}
|
|
1533
1552
|
static get watchers() { return {
|
|
1534
1553
|
"graphics": ["graphicsWatchHandler"],
|
|
1554
|
+
"locale": ["localeWatchHandler"],
|
|
1535
1555
|
"open": ["openWatchHandler"]
|
|
1536
1556
|
}; }
|
|
1537
1557
|
};
|
|
@@ -1552,6 +1572,7 @@ const InfoCard = class {
|
|
|
1552
1572
|
this.mapView = undefined;
|
|
1553
1573
|
this.allowEditing = true;
|
|
1554
1574
|
this.highlightEnabled = true;
|
|
1575
|
+
this.locale = undefined;
|
|
1555
1576
|
this.paginationEnabled = true;
|
|
1556
1577
|
this.position = 'absolute';
|
|
1557
1578
|
this._alertOpen = false;
|
|
@@ -1616,6 +1637,19 @@ const InfoCard = class {
|
|
|
1616
1637
|
async isMobileWatchHandler() {
|
|
1617
1638
|
await this._initFeaturesWidget();
|
|
1618
1639
|
}
|
|
1640
|
+
/**
|
|
1641
|
+
* Fetch translations when the locale is updated
|
|
1642
|
+
*/
|
|
1643
|
+
async localeWatchHandler() {
|
|
1644
|
+
// to support url param and language switcher
|
|
1645
|
+
this.el.lang = this.locale;
|
|
1646
|
+
await this._getTranslations();
|
|
1647
|
+
if (this._features) {
|
|
1648
|
+
const graphics = [...this.graphics];
|
|
1649
|
+
this.graphics = [];
|
|
1650
|
+
this.graphics = graphics;
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1619
1653
|
/**
|
|
1620
1654
|
* Watch for changes to the mapView and re-init the Feature widget
|
|
1621
1655
|
*/
|
|
@@ -1748,8 +1782,8 @@ const InfoCard = class {
|
|
|
1748
1782
|
const id = this._features?.selectedFeature?.getObjectId();
|
|
1749
1783
|
const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
|
|
1750
1784
|
const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
|
|
1751
|
-
return (h(Host, { key: '
|
|
1752
|
-
h("div", { key: '
|
|
1785
|
+
return (h(Host, { key: '54e47d0ec2be9149c3e667c9e940842804d96964' }, h("calcite-shell", { key: '14bb280d394ceaa74463979886ab09cdf393b26e', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: '3226709e73de16c795c348513183b26b88b7a726', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: 'ba4b0c34620c60e849bdf0ada785b9976156dd1c', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '440a4d3c0530f97031df2e2ab9511ef6035fb5da', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
|
|
1786
|
+
h("div", { key: '172b2e2cc10bdfb104057376ceba5d7f5f19ad61', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: '242daf0ec6c3fe4fcc11be4bbc19f810836714ec', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (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, h("calcite-tooltip", { key: '760f8fcd1bcff2060e0a98e84a222107e55fef22', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '30656b92e9bdbf3a9548586d91fc23bce2da9db3' }, this._translations.edit)), this.isMobile ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: '161902561c9686d74a511338dfc02efce0095af7', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: 'afd1459e3f69f60d96103854fe3dae71f18fc41e' }, h("calcite-button", { key: '59063d7fa2cf886afca66857cb1f74e42789e59f', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: '412e00bc323494bb1e3a7dbeef59ab9bcd6ff8e0', placement: "top", "reference-element": "solutions-back" }, h("span", { key: '7c1512be35f16b4441c2a364e1b7a87e3c7caf97' }, this._translations.back))), h("calcite-action", { key: 'd4790efec0d13e6726ffe9d438683db6887d00b8', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: '98663d5c3b2f445db4e38cba98b8149c53cbc474', class: "pagination-count" }, this._count)), h("div", { key: '6ca88610950cf2852e2dc67588c77fd464ece3c5' }, h("calcite-button", { key: '577739ef819676dfd9cdee560a8cd22edcd9c6b7', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: '73a4f907d1a2f46a980c451572f1ba1e1b0b0596', placement: "top", "reference-element": "solutions-next" }, h("span", { key: 'd5f67497df866592b30d6c328f9f45716eb16153' }, this._translations.next))))), 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 }), h("calcite-alert", { key: '0b9fd2109d7c6b51b91088ecbec50956a2d8d3d8', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: 'c8b7b452430d6fedda5288fd58efae5526adeda7', slot: "title" }, this._translations.editDisabled), h("div", { key: 'b2dc954d43bb08908723f70796df5c77108d92d8', slot: "message" }, this._translations.enableEditing)))));
|
|
1753
1787
|
}
|
|
1754
1788
|
//--------------------------------------------------------------------------
|
|
1755
1789
|
//
|
|
@@ -1918,6 +1952,7 @@ const InfoCard = class {
|
|
|
1918
1952
|
static get watchers() { return {
|
|
1919
1953
|
"graphics": ["graphicsWatchHandler"],
|
|
1920
1954
|
"isMobile": ["isMobileWatchHandler"],
|
|
1955
|
+
"locale": ["localeWatchHandler"],
|
|
1921
1956
|
"mapView": ["mapViewWatchHandler"]
|
|
1922
1957
|
}; }
|
|
1923
1958
|
};
|
|
@@ -1217,6 +1217,7 @@ const MapLayerPicker = class {
|
|
|
1217
1217
|
this.enabledTableIds = [];
|
|
1218
1218
|
this.height = undefined;
|
|
1219
1219
|
this.isMobile = undefined;
|
|
1220
|
+
this.locale = undefined;
|
|
1220
1221
|
this.mapView = undefined;
|
|
1221
1222
|
this.onlyShowUpdatableLayers = undefined;
|
|
1222
1223
|
this.placeholderIcon = "";
|
|
@@ -1260,6 +1261,14 @@ const MapLayerPicker = class {
|
|
|
1260
1261
|
// Watch handlers
|
|
1261
1262
|
//
|
|
1262
1263
|
//--------------------------------------------------------------------------
|
|
1264
|
+
/**
|
|
1265
|
+
* Fetch translations when the locale is updated
|
|
1266
|
+
*/
|
|
1267
|
+
async localeWatchHandler() {
|
|
1268
|
+
// to support url param and language switcher
|
|
1269
|
+
this.el.lang = this.locale;
|
|
1270
|
+
await this._getTranslations();
|
|
1271
|
+
}
|
|
1263
1272
|
/**
|
|
1264
1273
|
* Called each time the mapView prop is changed.
|
|
1265
1274
|
*/
|
|
@@ -1341,7 +1350,7 @@ const MapLayerPicker = class {
|
|
|
1341
1350
|
const id = "map-layer-picker";
|
|
1342
1351
|
let style = this.height > 0 ? { "height": `${this.height.toString()}px` } : {};
|
|
1343
1352
|
style = { ...style, "display": this.display };
|
|
1344
|
-
return (h(Host, { key: '
|
|
1353
|
+
return (h(Host, { key: '33b19dbf87019ad071242aaa688e49f35e2c2808' }, h("div", { key: '85e781782fc529acae68b1137f8ec1a317b452a0', class: "map-layer-picker-container", style: style }, h("div", { key: 'c257b179b56939d998650c676e835c9976d9fb21', class: "map-layer-picker", style: style }, !this._hasValidLayers ? this._getInvalidPlaceholder() :
|
|
1345
1354
|
!this._hasMultipleLayers && this.showSingleLayerAsLabel ? this._getSingleLayerPlaceholder() :
|
|
1346
1355
|
this.type === "combobox" ? this._getCombobox(id) :
|
|
1347
1356
|
this.type === "select" ? this._getSelect(id) : this._getDropdown(id)))));
|
|
@@ -1592,6 +1601,7 @@ const MapLayerPicker = class {
|
|
|
1592
1601
|
this._translations = messages[0];
|
|
1593
1602
|
}
|
|
1594
1603
|
static get watchers() { return {
|
|
1604
|
+
"locale": ["localeWatchHandler"],
|
|
1595
1605
|
"mapView": ["mapViewWatchHandler"]
|
|
1596
1606
|
}; }
|
|
1597
1607
|
};
|
|
@@ -161,6 +161,7 @@ const CreateRelatedFeature = class {
|
|
|
161
161
|
this.fail = createEvent(this, "fail", 7);
|
|
162
162
|
this.isActionPending = createEvent(this, "isActionPending", 7);
|
|
163
163
|
this.formReady = createEvent(this, "formReady", 7);
|
|
164
|
+
this.locale = undefined;
|
|
164
165
|
this.mapView = undefined;
|
|
165
166
|
this.table = undefined;
|
|
166
167
|
this.selectedFeature = undefined;
|
|
@@ -206,6 +207,14 @@ const CreateRelatedFeature = class {
|
|
|
206
207
|
// Watch handlers
|
|
207
208
|
//
|
|
208
209
|
//--------------------------------------------------------------------------
|
|
210
|
+
/**
|
|
211
|
+
* Fetch translations when the locale is updated
|
|
212
|
+
*/
|
|
213
|
+
async localeWatchHandler() {
|
|
214
|
+
// to support url param and language switcher
|
|
215
|
+
this.el.lang = this.locale;
|
|
216
|
+
await this._getTranslations();
|
|
217
|
+
}
|
|
209
218
|
/**
|
|
210
219
|
* Called each time the mapView prop is changed.
|
|
211
220
|
*/
|
|
@@ -296,7 +305,7 @@ const CreateRelatedFeature = class {
|
|
|
296
305
|
}
|
|
297
306
|
render() {
|
|
298
307
|
const loaderClass = this._editorLoading ? "" : "display-none";
|
|
299
|
-
return (h(Fragment, { key: '
|
|
308
|
+
return (h(Fragment, { key: '48fffd1e9dd429d339d9a72e35f5c31561fc076f' }, this.showGuidingMsg && h("calcite-notice", { key: '9a6f700c135bb7593e4338981a30531e3d9fba8a', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: '7044e923a9fab833a7a6fe0bb97fa688d7e6eecc', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: '15599ae77e451d220689c13098a31c5788714306', class: loaderClass, label: "", scale: "s" })));
|
|
300
309
|
}
|
|
301
310
|
/**
|
|
302
311
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
|
@@ -483,6 +492,7 @@ const CreateRelatedFeature = class {
|
|
|
483
492
|
this._translations = messages[0];
|
|
484
493
|
}
|
|
485
494
|
static get watchers() { return {
|
|
495
|
+
"locale": ["localeWatchHandler"],
|
|
486
496
|
"mapView": ["mapViewWatchHandler"],
|
|
487
497
|
"_editorLoading": ["_editorLoadingWatchHandler"]
|
|
488
498
|
}; }
|
|
@@ -504,6 +514,7 @@ const FeatureDetails = class {
|
|
|
504
514
|
this.graphics = undefined;
|
|
505
515
|
this.reportingOptions = undefined;
|
|
506
516
|
this.layerItemsHash = undefined;
|
|
517
|
+
this.locale = undefined;
|
|
507
518
|
this.showUserImageInCommentsList = false;
|
|
508
519
|
this._likeFieldAvailable = false;
|
|
509
520
|
this._likeCount = 0;
|
|
@@ -652,12 +663,12 @@ const FeatureDetails = class {
|
|
|
652
663
|
render() {
|
|
653
664
|
//When related features found show comments list of only those features else comments list will be empty
|
|
654
665
|
const commentsListWhereClause = this._relatedFeaturesOIDs?.length > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
|
|
655
|
-
return (h("calcite-panel", { key: '
|
|
656
|
-
h("div", { key: '
|
|
657
|
-
h("calcite-button", { key: '
|
|
658
|
-
h("calcite-button", { key: '
|
|
659
|
-
h("calcite-button", { key: '
|
|
660
|
-
h("feature-list", { key: '
|
|
666
|
+
return (h("calcite-panel", { key: 'be7bebe9da698d963a2602fcacb95ac7206ac1e9', "full-height": true }, 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) &&
|
|
667
|
+
h("div", { key: 'd53f5a1726e4c6299ffd04e266d84005181645f6', class: "buttons-container" }, this._commentsAvailable &&
|
|
668
|
+
h("calcite-button", { key: '4c2616cc9e0107258f5313b66ae96fa31fe582c5', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
|
|
669
|
+
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 &&
|
|
670
|
+
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 &&
|
|
671
|
+
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 })));
|
|
661
672
|
}
|
|
662
673
|
/**
|
|
663
674
|
* Load esri javascript api modules
|
|
@@ -942,6 +953,7 @@ const LayerList = class {
|
|
|
942
953
|
this.layersListLoaded = createEvent(this, "layersListLoaded", 7);
|
|
943
954
|
this.mapView = undefined;
|
|
944
955
|
this.layers = undefined;
|
|
956
|
+
this.locale = undefined;
|
|
945
957
|
this.showFeatureCount = true;
|
|
946
958
|
this.showNextIcon = false;
|
|
947
959
|
this.applyLayerViewFilter = false;
|
|
@@ -965,6 +977,14 @@ const LayerList = class {
|
|
|
965
977
|
// Watch handlers
|
|
966
978
|
//
|
|
967
979
|
//--------------------------------------------------------------------------
|
|
980
|
+
/**
|
|
981
|
+
* Fetch translations when the locale is updated
|
|
982
|
+
*/
|
|
983
|
+
async localeWatchHandler() {
|
|
984
|
+
// to support url param and language switcher
|
|
985
|
+
this.el.lang = this.locale;
|
|
986
|
+
await this._getTranslations();
|
|
987
|
+
}
|
|
968
988
|
//--------------------------------------------------------------------------
|
|
969
989
|
//
|
|
970
990
|
// Methods (public)
|
|
@@ -1013,9 +1033,9 @@ const LayerList = class {
|
|
|
1013
1033
|
* Renders the component.
|
|
1014
1034
|
*/
|
|
1015
1035
|
render() {
|
|
1016
|
-
return (h(Fragment, { key: '
|
|
1017
|
-
h("calcite-notice", { key: '
|
|
1018
|
-
h("calcite-list", { key: '
|
|
1036
|
+
return (h(Fragment, { key: 'a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e' }, this._isLoading && h("calcite-loader", { key: '544a134bccc29048ca80b996844cc944bcd97a24', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
|
|
1037
|
+
h("calcite-notice", { key: '7557f91c8c3349c120c043ea59458b4c834dce2e', class: "error-msg", icon: "layers-reference", kind: "danger", open: true }, h("div", { key: 'ea8b20f8c7da5053641cfad56e3395ae3c6286f5', slot: "title" }, this._translations.error), h("div", { key: '38aaed7b456aba0b1dd70183be03e9133834dfb4', slot: "message" }, this._translations.noLayerToDisplayErrorMsg)), !this._isLoading && this.mapView &&
|
|
1038
|
+
h("calcite-list", { key: '817de422b8387cafb7f9a17515cf9b3c13998522', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
|
|
1019
1039
|
}
|
|
1020
1040
|
//--------------------------------------------------------------------------
|
|
1021
1041
|
//
|
|
@@ -1141,6 +1161,9 @@ const LayerList = class {
|
|
|
1141
1161
|
const messages = await getLocaleComponentStrings(this.el);
|
|
1142
1162
|
this._translations = messages[0];
|
|
1143
1163
|
}
|
|
1164
|
+
static get watchers() { return {
|
|
1165
|
+
"locale": ["localeWatchHandler"]
|
|
1166
|
+
}; }
|
|
1144
1167
|
};
|
|
1145
1168
|
LayerList.style = LayerListStyle0;
|
|
1146
1169
|
|