@esri/solutions-components 0.10.39 → 0.10.40
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +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
@@ -59,6 +59,7 @@ export class JsonEditor {
|
|
59
59
|
this.hasChanges = false;
|
60
60
|
this.hasErrors = false;
|
61
61
|
this.instanceid = "";
|
62
|
+
this.locale = undefined;
|
62
63
|
this.value = "";
|
63
64
|
}
|
64
65
|
//--------------------------------------------------------------------------
|
@@ -69,6 +70,19 @@ export class JsonEditor {
|
|
69
70
|
el;
|
70
71
|
//--------------------------------------------------------------------------
|
71
72
|
//
|
73
|
+
// Watch handlers
|
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
|
+
}
|
84
|
+
//--------------------------------------------------------------------------
|
85
|
+
//
|
72
86
|
// Lifecycle
|
73
87
|
//
|
74
88
|
//--------------------------------------------------------------------------
|
@@ -135,7 +149,7 @@ export class JsonEditor {
|
|
135
149
|
* Renders the component.
|
136
150
|
*/
|
137
151
|
render() {
|
138
|
-
return (h(Host, { key: '
|
152
|
+
return (h(Host, { key: 'ba7c8a397da913d86f5d294cdfbb5ec1b84d89de' }, h("div", { key: 'bc5c6d1ee443b2096cc44d0b66850d4ebe8462da', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, h("div", { key: 'dbaf682cba354ce7eef21b03a71832fd39911332', class: "editor-controls" }, h("div", { key: 'e454e1dd36aa620abf2ffb7877bebb9adc70ff15', class: "editor-buttons" }, h("calcite-icon", { key: '1de67e151c6e65b004a431d89dc785ca286a8e11', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), h("calcite-button", { key: '33de20955d29287a3ec981e7650562a036343e3a', id: `${this.instanceid}-undo`, color: "blue", appearance: "solid", title: this._translations.undo, onClick: () => this._undo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '9bed02f1e8a367ad2ed764747f044a4ce27de52b', icon: "undo", scale: "s" })), h("calcite-button", { key: '07562443286c4eeec28577a7cff0401e8cea0ba8', id: `${this.instanceid}-redo`, color: "blue", appearance: "solid", title: this._translations.redo, onClick: () => this._redo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '5f24902a66eae644d0d358a4826a98d45e905493', icon: "redo", scale: "s" })), h("calcite-button", { key: '02f4f3f8ab93e5f1146176ec3699e2a6d25ecbeb', id: `${this.instanceid}-diff`, color: "blue", appearance: "solid", title: this._translations.diff, onClick: () => this._toggleEditor(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '0bcd20d28e9ec34f1736a2888d78bfcd9cb82a4d', icon: "compare", scale: "s" })), h("calcite-button", { key: 'cf3a7672ebd3ebef00123096ec304456b8f102fc', id: `${this.instanceid}-search`, appearance: "outline", color: "blue", title: this._translations.search, onClick: () => this._search(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '36aac5e89ebf593d8d1981d7b8f6267fbbadfd24', icon: "search", scale: "s" })), h("calcite-button", { key: 'cc981ff7580acfa3a3395c4ce7a96b3022bbbb4b', id: `${this.instanceid}-reset`, color: "blue", appearance: "solid", disabled: true, title: this._translations.cancelEdits, onClick: () => this._reset(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '3c4fc1da749f4b4f64d814fcd58dc035634f6b1b', icon: "reset", scale: "s" })))), h("div", { key: '6c33ec4851d804dac7fd9762e3c8c7e416a27cf4', class: "edit-parent" }, h("div", { key: 'a6e9721127bbd43f9974af65e0899489370e1868', id: `${this.instanceid}-container`, class: "json-edit-container" }), h("div", { key: 'c1d1ea305c0e451c24beddb8ac3f8e85a3fca088', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
|
139
153
|
}
|
140
154
|
//--------------------------------------------------------------------------
|
141
155
|
//
|
@@ -516,6 +530,23 @@ export class JsonEditor {
|
|
516
530
|
"reflect": true,
|
517
531
|
"defaultValue": "\"\""
|
518
532
|
},
|
533
|
+
"locale": {
|
534
|
+
"type": "string",
|
535
|
+
"mutable": false,
|
536
|
+
"complexType": {
|
537
|
+
"original": "string",
|
538
|
+
"resolved": "string",
|
539
|
+
"references": {}
|
540
|
+
},
|
541
|
+
"required": false,
|
542
|
+
"optional": false,
|
543
|
+
"docs": {
|
544
|
+
"tags": [],
|
545
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
546
|
+
},
|
547
|
+
"attribute": "locale",
|
548
|
+
"reflect": false
|
549
|
+
},
|
519
550
|
"value": {
|
520
551
|
"type": "any",
|
521
552
|
"mutable": true,
|
@@ -625,4 +656,10 @@ export class JsonEditor {
|
|
625
656
|
};
|
626
657
|
}
|
627
658
|
static get elementRef() { return "el"; }
|
659
|
+
static get watchers() {
|
660
|
+
return [{
|
661
|
+
"propName": "locale",
|
662
|
+
"methodName": "localeWatchHandler"
|
663
|
+
}];
|
664
|
+
}
|
628
665
|
}
|
@@ -26,6 +26,7 @@ export class LayerList {
|
|
26
26
|
constructor() {
|
27
27
|
this.mapView = undefined;
|
28
28
|
this.layers = undefined;
|
29
|
+
this.locale = undefined;
|
29
30
|
this.showFeatureCount = true;
|
30
31
|
this.showNextIcon = false;
|
31
32
|
this.applyLayerViewFilter = false;
|
@@ -54,6 +55,14 @@ export class LayerList {
|
|
54
55
|
// Watch handlers
|
55
56
|
//
|
56
57
|
//--------------------------------------------------------------------------
|
58
|
+
/**
|
59
|
+
* Fetch translations when the locale is updated
|
60
|
+
*/
|
61
|
+
async localeWatchHandler() {
|
62
|
+
// to support url param and language switcher
|
63
|
+
this.el.lang = this.locale;
|
64
|
+
await this._getTranslations();
|
65
|
+
}
|
57
66
|
//--------------------------------------------------------------------------
|
58
67
|
//
|
59
68
|
// Methods (public)
|
@@ -102,9 +111,9 @@ export class LayerList {
|
|
102
111
|
* Renders the component.
|
103
112
|
*/
|
104
113
|
render() {
|
105
|
-
return (h(Fragment, { key: '
|
106
|
-
h("calcite-notice", { key: '
|
107
|
-
h("calcite-list", { key: '
|
114
|
+
return (h(Fragment, { key: 'a151c8fd65c50aacb23dcd0c858e52c0c7cd7e5e' }, this._isLoading && h("calcite-loader", { key: '544a134bccc29048ca80b996844cc944bcd97a24', label: "", scale: "m" }), !this._isLoading && this.mapView && this._noLayersToDisplay &&
|
115
|
+
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 &&
|
116
|
+
h("calcite-list", { key: '817de422b8387cafb7f9a17515cf9b3c13998522', "selection-appearance": "border", "selection-mode": "none" }, this.renderLayerList())));
|
108
117
|
}
|
109
118
|
//--------------------------------------------------------------------------
|
110
119
|
//
|
@@ -278,6 +287,23 @@ export class LayerList {
|
|
278
287
|
"text": "string[]: If passed will show only these layers in the list if they are present in map and are editable"
|
279
288
|
}
|
280
289
|
},
|
290
|
+
"locale": {
|
291
|
+
"type": "string",
|
292
|
+
"mutable": false,
|
293
|
+
"complexType": {
|
294
|
+
"original": "string",
|
295
|
+
"resolved": "string",
|
296
|
+
"references": {}
|
297
|
+
},
|
298
|
+
"required": false,
|
299
|
+
"optional": false,
|
300
|
+
"docs": {
|
301
|
+
"tags": [],
|
302
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
303
|
+
},
|
304
|
+
"attribute": "locale",
|
305
|
+
"reflect": false
|
306
|
+
},
|
281
307
|
"showFeatureCount": {
|
282
308
|
"type": "boolean",
|
283
309
|
"mutable": false,
|
@@ -400,4 +426,10 @@ export class LayerList {
|
|
400
426
|
};
|
401
427
|
}
|
402
428
|
static get elementRef() { return "el"; }
|
429
|
+
static get watchers() {
|
430
|
+
return [{
|
431
|
+
"propName": "locale",
|
432
|
+
"methodName": "localeWatchHandler"
|
433
|
+
}];
|
434
|
+
}
|
403
435
|
}
|
@@ -37,6 +37,7 @@ export class LayerTable {
|
|
37
37
|
this.enableInlineEdit = undefined;
|
38
38
|
this.enableShare = undefined;
|
39
39
|
this.isMobile = undefined;
|
40
|
+
this.locale = undefined;
|
40
41
|
this.mapHidden = undefined;
|
41
42
|
this.mapInfo = undefined;
|
42
43
|
this.mapView = undefined;
|
@@ -297,6 +298,14 @@ export class LayerTable {
|
|
297
298
|
}
|
298
299
|
});
|
299
300
|
}
|
301
|
+
/**
|
302
|
+
* Fetch translations when the locale is updated
|
303
|
+
*/
|
304
|
+
async localeWatchHandler() {
|
305
|
+
// to support url param and language switcher
|
306
|
+
this.el.lang = this.locale;
|
307
|
+
await this._getTranslations();
|
308
|
+
}
|
300
309
|
/**
|
301
310
|
* Reset the toolInfos when mapHidden prop changes so we can show/hide any map dependant tool(s)
|
302
311
|
*/
|
@@ -529,10 +538,10 @@ export class LayerTable {
|
|
529
538
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
530
539
|
const showSearch = this._canShowFullTextSearch();
|
531
540
|
this._validateActiveActions();
|
532
|
-
return (h(Host, { key: '
|
533
|
-
h("div", { key: '
|
541
|
+
return (h(Host, { key: '5cbb5ba55c63eaf278666aac034a01d971d9f12a' }, h("calcite-shell", { key: '8a27d87fc002b72fe478d25885b2ab04261362ca' }, this._getTableControlRow("header"), h("div", { key: '250c356a30389b8cb95628953f3bb3ec5c88361d', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '9d5dbb084031bdface1dbc3a1dbc2fa33eb163b5', class: "height-full width-full" }, showSearch &&
|
542
|
+
h("div", { key: '2d45ae4255a1d0e3cf14aa0f6a01915a38626bc7', class: "search-container" }, h("calcite-input", { key: 'c73546fef30db70d01cf8978a5daf9ea4193ddc2', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), h("calcite-loader", { key: '61621afb1e5fa67e25b878320c8497200b8265cd', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '0ef4fe0e4099ec60f4c38e2c421920c9a8fe3c4f', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
534
543
|
.replace("{{total}}", total)
|
535
|
-
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal(), h("delete-dialog", { key: '
|
544
|
+
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal(), h("delete-dialog", { key: 'e2564b1d08476f762577247ffb41a00e5c41514c', id: "deleteDialogId", ids: this._getIds(), layer: this._layer, locale: this.locale, onDeleteDialogClose: () => this._deleteDialogOpen = false, open: this._deleteDialogOpen, ref: (el) => this._deleteDialog = el })));
|
536
545
|
}
|
537
546
|
_deleteDialog;
|
538
547
|
/**
|
@@ -708,7 +717,7 @@ export class LayerTable {
|
|
708
717
|
_getActionBar() {
|
709
718
|
const containerClass = this.isMobile ? "width-full" : "";
|
710
719
|
const mobileClass = this.isMobile ? "border-top" : "";
|
711
|
-
return (h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", selectedIds: this._layer ? [this._layer?.id] : [], showSingleLayerAsLabel: true, showTables: true, type: "dropdown" })), !this.isMobile ? this._getActions() : undefined));
|
720
|
+
return (h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", scale: "l", selectedIds: this._layer ? [this._layer?.id] : [], showSingleLayerAsLabel: true, showTables: true, type: "dropdown" })), !this.isMobile ? this._getActions() : undefined));
|
712
721
|
}
|
713
722
|
/**
|
714
723
|
* Get the actions that are used for various interactions with the table
|
@@ -1187,7 +1196,7 @@ export class LayerTable {
|
|
1187
1196
|
*/
|
1188
1197
|
_getDangerAction(icon, label, func, disabled) {
|
1189
1198
|
const _disabled = this._layer === undefined ? true : disabled;
|
1190
|
-
return (h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, id: "solutions-delete", ids: this._getIds(), layer: this._layer })) : (h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: label }, h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
|
1199
|
+
return (h("div", { class: "display-flex", id: this._getId(icon) }, icon === "trash" ? (h("delete-button", { buttonType: "action", class: "display-flex", disabled: _disabled, icon: icon, id: "solutions-delete", ids: this._getIds(), layer: this._layer, locale: this.locale })) : (h("calcite-action", { appearance: "solid", disabled: _disabled, id: icon, onClick: func, text: label }, h("calcite-button", { appearance: "transparent", iconStart: icon, kind: "danger" }, label))), this._getToolTip("bottom", icon, label)));
|
1191
1200
|
}
|
1192
1201
|
/**
|
1193
1202
|
* Return all currently selected IDs from the table
|
@@ -2079,6 +2088,23 @@ export class LayerTable {
|
|
2079
2088
|
"attribute": "is-mobile",
|
2080
2089
|
"reflect": false
|
2081
2090
|
},
|
2091
|
+
"locale": {
|
2092
|
+
"type": "string",
|
2093
|
+
"mutable": false,
|
2094
|
+
"complexType": {
|
2095
|
+
"original": "string",
|
2096
|
+
"resolved": "string",
|
2097
|
+
"references": {}
|
2098
|
+
},
|
2099
|
+
"required": false,
|
2100
|
+
"optional": false,
|
2101
|
+
"docs": {
|
2102
|
+
"tags": [],
|
2103
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
2104
|
+
},
|
2105
|
+
"attribute": "locale",
|
2106
|
+
"reflect": false
|
2107
|
+
},
|
2082
2108
|
"mapHidden": {
|
2083
2109
|
"type": "boolean",
|
2084
2110
|
"mutable": false,
|
@@ -2423,6 +2449,9 @@ export class LayerTable {
|
|
2423
2449
|
}, {
|
2424
2450
|
"propName": "_controlsThatFit",
|
2425
2451
|
"methodName": "_controlsThatFitWatchHandler"
|
2452
|
+
}, {
|
2453
|
+
"propName": "locale",
|
2454
|
+
"methodName": "localeWatchHandler"
|
2426
2455
|
}, {
|
2427
2456
|
"propName": "mapHidden",
|
2428
2457
|
"methodName": "mapHiddenWatchHandler"
|
@@ -49,6 +49,7 @@ export class MapCard {
|
|
49
49
|
this.homeZoomIndex = 3;
|
50
50
|
this.homeZoomPosition = "top-left";
|
51
51
|
this.homeZoomToolsSize = "m";
|
52
|
+
this.locale = undefined;
|
52
53
|
this.mapInfos = [];
|
53
54
|
this.mapWidgetsIndex = 0;
|
54
55
|
this.mapWidgetsPosition = "top-right";
|
@@ -203,6 +204,14 @@ export class MapCard {
|
|
203
204
|
this._updateToolbar();
|
204
205
|
}
|
205
206
|
}
|
207
|
+
/**
|
208
|
+
* Fetch translations when the locale is updated
|
209
|
+
*/
|
210
|
+
async localeWatchHandler() {
|
211
|
+
// to support url param and language switcher
|
212
|
+
this.el.lang = this.locale;
|
213
|
+
await this._getTranslations();
|
214
|
+
}
|
206
215
|
/**
|
207
216
|
* watch for changes in map view and get the first layer
|
208
217
|
*/
|
@@ -335,7 +344,7 @@ export class MapCard {
|
|
335
344
|
const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
|
336
345
|
const progressClass = this.isMapLayout ? "" : "display-none";
|
337
346
|
this._validateActiveActions();
|
338
|
-
return (h(Host, { key: '
|
347
|
+
return (h(Host, { key: '0b617eeb40229e49a32f5e4a557bfa0f88588fae' }, h("div", { key: 'd93aa32cd31279e468e4570af231a3f3788b9897', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), h("calcite-progress", { key: '0ac01b19752ded5ddf0b06723b30fa669b2f6933', class: progressClass, value: 0 }), h("div", { key: '256bc38d71e3de4ab7ba7328ce12c32fa9ef0d2b', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: 'e86f179871e8b315ff8d6ecb87545d9af8222590', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, locale: this.locale, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
|
339
348
|
}
|
340
349
|
/**
|
341
350
|
* Called each time after the component is loaded
|
@@ -562,7 +571,7 @@ export class MapCard {
|
|
562
571
|
const containerClass = this.isMapLayout ? "display-flex" : "display-block";
|
563
572
|
const mobileClass = this.isMobile ? "border-top" : "";
|
564
573
|
const headerElements = this.isMapLayout ? "" : "display-none";
|
565
|
-
return (h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("map-picker", { class: mapPickerClass, isMapLayout: this.isMapLayout, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), h("div", { class: `mapView-header display-flex ${headerElements}` }, h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", ref: (el) => this._mapLayerPicker = el, scale: "l", selectedIds: this.selectedLayer ? [this.selectedLayer.id] : [], showSingleLayerAsLabel: true, showTables: true, showTablesDisabled: true, type: "dropdown" }))), !this.isMobile && this.isMapLayout ? this._getActions() : undefined));
|
574
|
+
return (h("calcite-action-bar", { class: containerClass, expandDisabled: true, expanded: true, id: this._getId("bar"), layout: "horizontal" }, h("map-picker", { class: mapPickerClass, isMapLayout: this.isMapLayout, locale: this.locale, mapInfos: this.mapInfos, ref: (el) => this._mapPicker = el }), h("div", { class: `mapView-header display-flex ${headerElements}` }, h("div", { class: `border-end ${containerClass} ${mobileClass}`, id: "solutions-map-layer-picker-container" }, this.mapView && h("map-layer-picker", { appearance: "transparent", defaultLayerId: this.defaultLayerId, display: "inline-flex", height: 50, isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onlyShowUpdatableLayers: this.onlyShowUpdatableLayers, placeholderIcon: "layers", ref: (el) => this._mapLayerPicker = el, scale: "l", selectedIds: this.selectedLayer ? [this.selectedLayer.id] : [], showSingleLayerAsLabel: true, showTables: true, showTablesDisabled: true, type: "dropdown" }))), !this.isMobile && this.isMapLayout ? this._getActions() : undefined));
|
566
575
|
}
|
567
576
|
/**
|
568
577
|
* Get a list of toolInfos that should display in the dropdown
|
@@ -1219,6 +1228,23 @@ export class MapCard {
|
|
1219
1228
|
"reflect": false,
|
1220
1229
|
"defaultValue": "\"m\""
|
1221
1230
|
},
|
1231
|
+
"locale": {
|
1232
|
+
"type": "string",
|
1233
|
+
"mutable": false,
|
1234
|
+
"complexType": {
|
1235
|
+
"original": "string",
|
1236
|
+
"resolved": "string",
|
1237
|
+
"references": {}
|
1238
|
+
},
|
1239
|
+
"required": false,
|
1240
|
+
"optional": false,
|
1241
|
+
"docs": {
|
1242
|
+
"tags": [],
|
1243
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
1244
|
+
},
|
1245
|
+
"attribute": "locale",
|
1246
|
+
"reflect": false
|
1247
|
+
},
|
1222
1248
|
"mapInfos": {
|
1223
1249
|
"type": "unknown",
|
1224
1250
|
"mutable": false,
|
@@ -1681,6 +1707,9 @@ export class MapCard {
|
|
1681
1707
|
}, {
|
1682
1708
|
"propName": "enableShare",
|
1683
1709
|
"methodName": "enableShareWatchHandler"
|
1710
|
+
}, {
|
1711
|
+
"propName": "locale",
|
1712
|
+
"methodName": "localeWatchHandler"
|
1684
1713
|
}, {
|
1685
1714
|
"propName": "mapView",
|
1686
1715
|
"methodName": "mapViewWatchHandler"
|
@@ -29,6 +29,7 @@ export class MapDrawTools {
|
|
29
29
|
this.drawMode = EDrawMode.SKETCH;
|
30
30
|
this.editGraphicsEnabled = true;
|
31
31
|
this.graphics = undefined;
|
32
|
+
this.locale = undefined;
|
32
33
|
this.mapView = undefined;
|
33
34
|
this.pointSymbol = undefined;
|
34
35
|
this.polylineSymbol = undefined;
|
@@ -94,6 +95,14 @@ export class MapDrawTools {
|
|
94
95
|
this._sketchGraphicsLayer.addMany(v);
|
95
96
|
}
|
96
97
|
}
|
98
|
+
/**
|
99
|
+
* Fetch translations when the locale is updated
|
100
|
+
*/
|
101
|
+
async localeWatchHandler() {
|
102
|
+
// to support url param and language switcher
|
103
|
+
this.el.lang = this.locale;
|
104
|
+
await this._getTranslations();
|
105
|
+
}
|
97
106
|
/**
|
98
107
|
* Called each time the mapView prop is changed.
|
99
108
|
*/
|
@@ -183,7 +192,7 @@ export class MapDrawTools {
|
|
183
192
|
"border" : "border esri-widget esri-sketch__panel";
|
184
193
|
const undoRedoClass = this.drawMode === EDrawMode.SKETCH ?
|
185
194
|
"display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
|
186
|
-
return (h(Host, { key: '
|
195
|
+
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 })))));
|
187
196
|
}
|
188
197
|
//--------------------------------------------------------------------------
|
189
198
|
//
|
@@ -507,6 +516,23 @@ export class MapDrawTools {
|
|
507
516
|
"text": "esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html"
|
508
517
|
}
|
509
518
|
},
|
519
|
+
"locale": {
|
520
|
+
"type": "string",
|
521
|
+
"mutable": false,
|
522
|
+
"complexType": {
|
523
|
+
"original": "string",
|
524
|
+
"resolved": "string",
|
525
|
+
"references": {}
|
526
|
+
},
|
527
|
+
"required": false,
|
528
|
+
"optional": false,
|
529
|
+
"docs": {
|
530
|
+
"tags": [],
|
531
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
532
|
+
},
|
533
|
+
"attribute": "locale",
|
534
|
+
"reflect": false
|
535
|
+
},
|
510
536
|
"mapView": {
|
511
537
|
"type": "unknown",
|
512
538
|
"mutable": true,
|
@@ -749,6 +775,9 @@ export class MapDrawTools {
|
|
749
775
|
return [{
|
750
776
|
"propName": "graphics",
|
751
777
|
"methodName": "graphicsWatchHandler"
|
778
|
+
}, {
|
779
|
+
"propName": "locale",
|
780
|
+
"methodName": "localeWatchHandler"
|
752
781
|
}, {
|
753
782
|
"propName": "mapView",
|
754
783
|
"methodName": "mapViewWatchHandler"
|
@@ -95,7 +95,7 @@ export class MapFullscreen {
|
|
95
95
|
* Renders the component.
|
96
96
|
*/
|
97
97
|
render() {
|
98
|
-
return (h(Host, { key: '
|
98
|
+
return (h(Host, { key: '28d49dabefbb64024028bd6d7b7a104fafd81eae' }, h("div", { key: '443af45e3ce2c83a797ebfaac9e442d57d05c34c', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
|
99
99
|
}
|
100
100
|
/**
|
101
101
|
* StencilJS: Called just after the component updates.
|
@@ -31,6 +31,7 @@ export class MapLayerPicker {
|
|
31
31
|
this.enabledTableIds = [];
|
32
32
|
this.height = undefined;
|
33
33
|
this.isMobile = undefined;
|
34
|
+
this.locale = undefined;
|
34
35
|
this.mapView = undefined;
|
35
36
|
this.onlyShowUpdatableLayers = undefined;
|
36
37
|
this.placeholderIcon = "";
|
@@ -79,6 +80,14 @@ export class MapLayerPicker {
|
|
79
80
|
// Watch handlers
|
80
81
|
//
|
81
82
|
//--------------------------------------------------------------------------
|
83
|
+
/**
|
84
|
+
* Fetch translations when the locale is updated
|
85
|
+
*/
|
86
|
+
async localeWatchHandler() {
|
87
|
+
// to support url param and language switcher
|
88
|
+
this.el.lang = this.locale;
|
89
|
+
await this._getTranslations();
|
90
|
+
}
|
82
91
|
/**
|
83
92
|
* Called each time the mapView prop is changed.
|
84
93
|
*/
|
@@ -160,7 +169,7 @@ export class MapLayerPicker {
|
|
160
169
|
const id = "map-layer-picker";
|
161
170
|
let style = this.height > 0 ? { "height": `${this.height.toString()}px` } : {};
|
162
171
|
style = { ...style, "display": this.display };
|
163
|
-
return (h(Host, { key: '
|
172
|
+
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() :
|
164
173
|
!this._hasMultipleLayers && this.showSingleLayerAsLabel ? this._getSingleLayerPlaceholder() :
|
165
174
|
this.type === "combobox" ? this._getCombobox(id) :
|
166
175
|
this.type === "select" ? this._getSelect(id) : this._getDropdown(id)))));
|
@@ -543,6 +552,23 @@ export class MapLayerPicker {
|
|
543
552
|
"attribute": "is-mobile",
|
544
553
|
"reflect": false
|
545
554
|
},
|
555
|
+
"locale": {
|
556
|
+
"type": "string",
|
557
|
+
"mutable": false,
|
558
|
+
"complexType": {
|
559
|
+
"original": "string",
|
560
|
+
"resolved": "string",
|
561
|
+
"references": {}
|
562
|
+
},
|
563
|
+
"required": false,
|
564
|
+
"optional": false,
|
565
|
+
"docs": {
|
566
|
+
"tags": [],
|
567
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
568
|
+
},
|
569
|
+
"attribute": "locale",
|
570
|
+
"reflect": false
|
571
|
+
},
|
546
572
|
"mapView": {
|
547
573
|
"type": "unknown",
|
548
574
|
"mutable": false,
|
@@ -792,6 +818,9 @@ export class MapLayerPicker {
|
|
792
818
|
static get elementRef() { return "el"; }
|
793
819
|
static get watchers() {
|
794
820
|
return [{
|
821
|
+
"propName": "locale",
|
822
|
+
"methodName": "localeWatchHandler"
|
823
|
+
}, {
|
795
824
|
"propName": "mapView",
|
796
825
|
"methodName": "mapViewWatchHandler"
|
797
826
|
}];
|
@@ -86,7 +86,7 @@ export class MapLegend {
|
|
86
86
|
* StencilJS: Renders the component.
|
87
87
|
*/
|
88
88
|
render() {
|
89
|
-
return (h(Host, { key: '
|
89
|
+
return (h(Host, { key: '6b8c415650cb42727d7f09d3d4d92f8aebc7526b' }, h("div", { key: '36fd4c49d4ab19411fe309822e5b87104736282a', ref: (el) => { this._legendElement = el; } })));
|
90
90
|
}
|
91
91
|
/**
|
92
92
|
* StencilJS: Called once just after the component is fully loaded and the first render() occurs.
|
@@ -22,6 +22,7 @@ import { Host, h } from "@stencil/core";
|
|
22
22
|
import { getLocaleComponentStrings } from "../../utils/locale";
|
23
23
|
export class MapPicker {
|
24
24
|
constructor() {
|
25
|
+
this.locale = undefined;
|
25
26
|
this.mapInfos = [];
|
26
27
|
this.isMapLayout = undefined;
|
27
28
|
this._mapListExpanded = false;
|
@@ -61,6 +62,14 @@ export class MapPicker {
|
|
61
62
|
this.mapInfoChange.emit(v);
|
62
63
|
}
|
63
64
|
}
|
65
|
+
/**
|
66
|
+
* Fetch translations when the locale is updated
|
67
|
+
*/
|
68
|
+
async localeWatchHandler() {
|
69
|
+
// to support url param and language switcher
|
70
|
+
this.el.lang = this.locale;
|
71
|
+
await this._getTranslations();
|
72
|
+
}
|
64
73
|
/**
|
65
74
|
* Called each time the mapInfos prop is changed.
|
66
75
|
*/
|
@@ -120,7 +129,7 @@ export class MapPicker {
|
|
120
129
|
* Renders the component.
|
121
130
|
*/
|
122
131
|
render() {
|
123
|
-
return (h(Host, { key: '
|
132
|
+
return (h(Host, { key: 'c6f59dfac8acfc06775a3a38cefa1fd2c2708722' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
|
124
133
|
}
|
125
134
|
/**
|
126
135
|
* Called once after the component has loaded
|
@@ -218,6 +227,23 @@ export class MapPicker {
|
|
218
227
|
}
|
219
228
|
static get properties() {
|
220
229
|
return {
|
230
|
+
"locale": {
|
231
|
+
"type": "string",
|
232
|
+
"mutable": false,
|
233
|
+
"complexType": {
|
234
|
+
"original": "string",
|
235
|
+
"resolved": "string",
|
236
|
+
"references": {}
|
237
|
+
},
|
238
|
+
"required": false,
|
239
|
+
"optional": false,
|
240
|
+
"docs": {
|
241
|
+
"tags": [],
|
242
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
243
|
+
},
|
244
|
+
"attribute": "locale",
|
245
|
+
"reflect": false
|
246
|
+
},
|
221
247
|
"mapInfos": {
|
222
248
|
"type": "unknown",
|
223
249
|
"mutable": false,
|
@@ -358,6 +384,9 @@ export class MapPicker {
|
|
358
384
|
return [{
|
359
385
|
"propName": "_webMapInfo",
|
360
386
|
"methodName": "_webMapInfoWatchHandler"
|
387
|
+
}, {
|
388
|
+
"propName": "locale",
|
389
|
+
"methodName": "localeWatchHandler"
|
361
390
|
}, {
|
362
391
|
"propName": "mapInfos",
|
363
392
|
"methodName": "mapInfosWatchHandler"
|
@@ -109,7 +109,7 @@ export class MapSearch {
|
|
109
109
|
* Renders the component.
|
110
110
|
*/
|
111
111
|
render() {
|
112
|
-
return (h(Host, { key: '
|
112
|
+
return (h(Host, { key: '3464734a35e8cf89f033d508d21831eef665c9b2' }, h("div", { key: 'bf79025ba97e9f26681a6c6200dcdbc2ea227ce8', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
|
113
113
|
}
|
114
114
|
//--------------------------------------------------------------------------
|
115
115
|
//
|
@@ -187,6 +187,14 @@ export class MapSelectTools {
|
|
187
187
|
}
|
188
188
|
}
|
189
189
|
}
|
190
|
+
/**
|
191
|
+
* Fetch translations when the locale is updated
|
192
|
+
*/
|
193
|
+
async localeWatchHandler() {
|
194
|
+
// to support url param and language switcher
|
195
|
+
this.el.lang = this.locale;
|
196
|
+
await this._getTranslations();
|
197
|
+
}
|
190
198
|
/**
|
191
199
|
* Called each time the mapView prop is changed.
|
192
200
|
*/
|
@@ -302,7 +310,7 @@ export class MapSelectTools {
|
|
302
310
|
render() {
|
303
311
|
const mapToolsClass = this.enableSketchTools ? "" : "display-none";
|
304
312
|
const mapToolsContainerClass = this.enableSketchTools ? "padding-top-1" : "";
|
305
|
-
return (h(Host, { key: '
|
313
|
+
return (h(Host, { key: '92c7ef37eb97404a826b7803ff06ce691722a6d1' }, this._getMapLayerPicker(), h("div", { key: '22959b62191b47b716363007be0a356b62af492a', class: "border-bottom" }), h("div", { key: '834c3ddd3ef31a022ed32131a8c21dce325b2c19', class: "padding-top-sides-1" }, h("div", { key: '86b43e7c82a9fc6a2d54be79be3690120a29b78e', class: "search-widget", ref: (el) => { this._searchElement = el; } }), h("div", { key: '5107461cb8a706e9540c8765138d7bc57355fc67', class: mapToolsContainerClass }, h("map-draw-tools", { key: 'ee678a630d39b7550805f0c070adb8e07428b104', active: true, class: mapToolsClass, editGraphicsEnabled: !this._useLayerFeaturesEnabled, graphics: this._graphics, locale: this.locale, mapView: this.mapView, onSketchGraphicsChange: (evt) => void this._sketchGraphicsChanged(evt), pointSymbol: this.sketchPointSymbol, polygonSymbol: this.sketchPolygonSymbol, polylineSymbol: this.sketchLineSymbol, ref: (el) => { this._drawTools = el; } })), this.enableSearchDistance ? this._getBufferOptions() : undefined, this.enableLayerFeatures ? this._getUseLayerFeaturesOptions() : undefined, this._getNumSelected()), h("div", { key: '3b88977c13f6a3cde10de6cba927424595fdb13f', class: "border-bottom" }), this._getNameInput()));
|
306
314
|
}
|
307
315
|
/**
|
308
316
|
* Renders the buffer tools component.
|
@@ -314,7 +322,7 @@ export class MapSelectTools {
|
|
314
322
|
}
|
315
323
|
const showBufferToolsClass = this._searchDistanceEnabled ? "search-distance" : "div-not-visible";
|
316
324
|
const bufferDistance = typeof this.selectionSet?.distance === "number" ? this.selectionSet.distance : this.defaultBufferDistance;
|
317
|
-
return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.searchDistance, h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "search-distance-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "search-distance-icon" }, h("span", { class: "tooltip-message" }, this._translations.useSearchDistanceTootip)), h("calcite-switch", { checked: this._searchDistanceEnabled, onCalciteSwitchChange: () => this._searchDistanceEnabled = !this._searchDistanceEnabled })), h("div", { class: showBufferToolsClass }, h("buffer-tools", { disabled: !this._searchDistanceEnabled, distance: bufferDistance, geometries: this.geometries, onBufferComplete: (evt) => void this._bufferComplete(evt), ref: (el) => this._bufferTools = el, unit: this.selectionSet?.unit || this.defaultBufferUnit }))));
|
325
|
+
return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.searchDistance, h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "search-distance-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "search-distance-icon" }, h("span", { class: "tooltip-message" }, this._translations.useSearchDistanceTootip)), h("calcite-switch", { checked: this._searchDistanceEnabled, onCalciteSwitchChange: () => this._searchDistanceEnabled = !this._searchDistanceEnabled })), h("div", { class: showBufferToolsClass }, h("buffer-tools", { disabled: !this._searchDistanceEnabled, distance: bufferDistance, geometries: this.geometries, locale: this.locale, onBufferComplete: (evt) => void this._bufferComplete(evt), ref: (el) => this._bufferTools = el, unit: this.selectionSet?.unit || this.defaultBufferUnit }))));
|
318
326
|
}
|
319
327
|
/**
|
320
328
|
* Renders the map layer picker component.
|
@@ -325,7 +333,7 @@ export class MapSelectTools {
|
|
325
333
|
this.enableLayerFeaturesOnLoad = false;
|
326
334
|
}
|
327
335
|
const useLayerFeaturesClass = this._useLayerFeaturesEnabled ? "div-visible" : "div-not-visible";
|
328
|
-
return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "use-layer-features-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), h("calcite-switch", { checked: this._useLayerFeaturesEnabled, onCalciteSwitchChange: () => { this._useLayerFeaturesEnabledChanged(); } })), h("div", { class: useLayerFeaturesClass + " padding-top-1" }, h("map-layer-picker", { enabledLayerIds: this.selectionLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedIds: this.layerViews.map(l => l.layer.id), showTables: false }))));
|
336
|
+
return (h("div", null, h("div", { class: "padding-top-1 display-flex" }, h("calcite-label", { class: "label-margin-0 w-100", layout: "inline-space-between" }, h("div", { class: "tooltip-container" }, this._translations.useLayerFeatures, h("calcite-icon", { class: "padding-start-1-2 icon", flipRtl: !(this.locale?.toLowerCase() === "he"), icon: "question", id: "use-layer-features-icon", scale: "s" }))), h("calcite-popover", { closable: true, label: "", referenceElement: "use-layer-features-icon" }, h("span", { class: "tooltip-message" }, this._translations.useLayerFeaturesTooltip)), h("calcite-switch", { checked: this._useLayerFeaturesEnabled, onCalciteSwitchChange: () => { this._useLayerFeaturesEnabledChanged(); } })), h("div", { class: useLayerFeaturesClass + " padding-top-1" }, h("map-layer-picker", { enabledLayerIds: this.selectionLayerIds, locale: this.locale, mapView: this.mapView, onLayerSelectionChange: (evt) => { void this._layerSelectionChange(evt); }, selectedIds: this.layerViews.map(l => l.layer.id), showTables: false }))));
|
329
337
|
}
|
330
338
|
/**
|
331
339
|
* Renders the number of selected features
|
@@ -354,7 +362,7 @@ export class MapSelectTools {
|
|
354
362
|
* @protected
|
355
363
|
*/
|
356
364
|
_getMapLayerPicker() {
|
357
|
-
return (h("div", { class: "display-flex padding-sides-1 padding-bottom-1" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, this._translations.inputLayer, h("map-layer-picker", { enabledLayerIds: this.enabledLayerIds, mapView: this.mapView, onLayerSelectionChange: (evt) => void this._inputLayerSelectionChange(evt), selectedIds: this.selectLayerView ? [this.selectLayerView.layer.id] : this.selectionSet ? [this.selectionSet.layerView.layer.id] : [], showTables: false }))));
|
365
|
+
return (h("div", { class: "display-flex padding-sides-1 padding-bottom-1" }, h("calcite-label", { class: "font-bold width-full label-margin-0" }, this._translations.inputLayer, h("map-layer-picker", { enabledLayerIds: this.enabledLayerIds, locale: this.locale, mapView: this.mapView, onLayerSelectionChange: (evt) => void this._inputLayerSelectionChange(evt), selectedIds: this.selectLayerView ? [this.selectLayerView.layer.id] : this.selectionSet ? [this.selectionSet.layerView.layer.id] : [], showTables: false }))));
|
358
366
|
}
|
359
367
|
//--------------------------------------------------------------------------
|
360
368
|
//
|
@@ -1519,6 +1527,9 @@ export class MapSelectTools {
|
|
1519
1527
|
return [{
|
1520
1528
|
"propName": "geometries",
|
1521
1529
|
"methodName": "watchGeometriesHandler"
|
1530
|
+
}, {
|
1531
|
+
"propName": "locale",
|
1532
|
+
"methodName": "localeWatchHandler"
|
1522
1533
|
}, {
|
1523
1534
|
"propName": "mapView",
|
1524
1535
|
"methodName": "mapViewWatchHandler"
|