@esri/solutions-components 0.10.39 → 0.10.41
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-block_5.cjs.entry.js +75 -65
- 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/instant-apps-app-guide.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +5 -1
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +6 -6
- 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/instant-apps-app-guide.js +1 -1
- package/dist/components/instant-apps-export.js +5 -1
- package/dist/components/instant-apps-filter-list2.js +75 -66
- package/dist/components/instant-apps-landing-page.js +1 -1
- package/dist/components/instant-apps-sign-in2.js +2 -2
- package/dist/components/instant-apps-time-filter.js +6 -6
- 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-block_5.entry.js +75 -65
- 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/instant-apps-app-guide.entry.js +1 -1
- package/dist/esm/instant-apps-export.entry.js +5 -1
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-sign-in.entry.js +2 -2
- package/dist/esm/instant-apps-time-filter.entry.js +6 -6
- 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/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +1 -1
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +43 -26
- package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +6 -0
- 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-523dcf4b.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-8f8c7045.entry.js +6 -0
- package/dist/solutions-components/p-953afbb3.entry.js +29 -0
- package/dist/solutions-components/{p-bb8b1ee2.entry.js → p-a2cf9fdc.entry.js} +1 -1
- package/dist/solutions-components/p-a7f56b28.entry.js +6 -0
- 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-e4107150.entry.js +6 -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 +8 -8
- 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-5b3c0418.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-750b3277.entry.js +0 -6
- package/dist/solutions-components/p-76154700.entry.js +0 -6
- package/dist/solutions-components/p-8779ee41.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-ca3cbd29.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-e1391389.entry.js +0 -29
- 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
@@ -24,6 +24,7 @@ import { getLocaleComponentStrings } from "../../utils/locale";
|
|
24
24
|
export class SolutionItemSharing {
|
25
25
|
constructor() {
|
26
26
|
this.groupId = "";
|
27
|
+
this.locale = undefined;
|
27
28
|
this._translations = undefined;
|
28
29
|
this.sharing = [];
|
29
30
|
}
|
@@ -33,10 +34,23 @@ export class SolutionItemSharing {
|
|
33
34
|
//
|
34
35
|
//--------------------------------------------------------------------------
|
35
36
|
el;
|
37
|
+
//--------------------------------------------------------------------------
|
38
|
+
//
|
39
|
+
// Watch handlers
|
40
|
+
//
|
41
|
+
//--------------------------------------------------------------------------
|
36
42
|
itemIdWatchHandler() {
|
37
43
|
const itemEdit = state.getItemInfo(this.groupId);
|
38
44
|
this.sharing = itemEdit.groupDetails;
|
39
45
|
}
|
46
|
+
/**
|
47
|
+
* Fetch translations when the locale is updated
|
48
|
+
*/
|
49
|
+
async localeWatchHandler() {
|
50
|
+
// to support url param and language switcher
|
51
|
+
this.el.lang = this.locale;
|
52
|
+
await this._getTranslations();
|
53
|
+
}
|
40
54
|
//--------------------------------------------------------------------------
|
41
55
|
//
|
42
56
|
// Lifecycle
|
@@ -52,7 +66,7 @@ export class SolutionItemSharing {
|
|
52
66
|
* Renders the component.
|
53
67
|
*/
|
54
68
|
render() {
|
55
|
-
return (h(Host, { key: '
|
69
|
+
return (h(Host, { key: '1c7dbee68fbf0eabf736fb783f173ade2f408122' }, h("div", { key: '3c3d88ab122d4a8bc69363224a2754c4a4b092ba', class: "container-border" }, h("calcite-label", { key: '137bb704b258a3cd1e5e5b7a18c53aca331d7f91' }, this._translations.groupInfo), this._renderItems(this.sharing))));
|
56
70
|
}
|
57
71
|
//--------------------------------------------------------------------------
|
58
72
|
//
|
@@ -166,6 +180,23 @@ export class SolutionItemSharing {
|
|
166
180
|
"attribute": "group-id",
|
167
181
|
"reflect": true,
|
168
182
|
"defaultValue": "\"\""
|
183
|
+
},
|
184
|
+
"locale": {
|
185
|
+
"type": "string",
|
186
|
+
"mutable": false,
|
187
|
+
"complexType": {
|
188
|
+
"original": "string",
|
189
|
+
"resolved": "string",
|
190
|
+
"references": {}
|
191
|
+
},
|
192
|
+
"required": false,
|
193
|
+
"optional": false,
|
194
|
+
"docs": {
|
195
|
+
"tags": [],
|
196
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
197
|
+
},
|
198
|
+
"attribute": "locale",
|
199
|
+
"reflect": false
|
169
200
|
}
|
170
201
|
};
|
171
202
|
}
|
@@ -201,6 +232,9 @@ export class SolutionItemSharing {
|
|
201
232
|
return [{
|
202
233
|
"propName": "groupId",
|
203
234
|
"methodName": "itemIdWatchHandler"
|
235
|
+
}, {
|
236
|
+
"propName": "locale",
|
237
|
+
"methodName": "localeWatchHandler"
|
204
238
|
}];
|
205
239
|
}
|
206
240
|
}
|
@@ -22,6 +22,7 @@ import { Host, h } from "@stencil/core";
|
|
22
22
|
import { getLocaleComponentStrings } from "../../utils/locale";
|
23
23
|
export class SolutionOrganizationVariables {
|
24
24
|
constructor() {
|
25
|
+
this.locale = undefined;
|
25
26
|
this.value = "";
|
26
27
|
this._organizationVariables = [];
|
27
28
|
this._translations = undefined;
|
@@ -32,6 +33,19 @@ export class SolutionOrganizationVariables {
|
|
32
33
|
//
|
33
34
|
//--------------------------------------------------------------------------
|
34
35
|
el;
|
36
|
+
//--------------------------------------------------------------------------
|
37
|
+
//
|
38
|
+
// Watch handlers
|
39
|
+
//
|
40
|
+
//--------------------------------------------------------------------------
|
41
|
+
/**
|
42
|
+
* Fetch translations when the locale is updated
|
43
|
+
*/
|
44
|
+
async localeWatchHandler() {
|
45
|
+
// to support url param and language switcher
|
46
|
+
this.el.lang = this.locale;
|
47
|
+
await this._getTranslations();
|
48
|
+
}
|
35
49
|
valueWatchHandler() {
|
36
50
|
this._organizationVariables = JSON.parse(this.value);
|
37
51
|
}
|
@@ -50,7 +64,7 @@ export class SolutionOrganizationVariables {
|
|
50
64
|
* Renders the component.
|
51
65
|
*/
|
52
66
|
render() {
|
53
|
-
return (h(Host, { key: '
|
67
|
+
return (h(Host, { key: '3f72a5c1b8fb6bcdab858ee061eadb38cb9965d9' }, h("div", { key: '118c7cafc8330c44e72a59a76fd81ca0f39696e1' }, h("h4", { key: '86934bdf3cbf162a732a53579e324c5fff8beead', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: 'ed5c1df397286a7d1c8e61b5ce04623fa13d74cc', class: "container-border" }, h("calcite-tree", { key: '47f4f9bf5a81ded9a37a33a94fac6a230263e917', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
|
54
68
|
}
|
55
69
|
//--------------------------------------------------------------------------
|
56
70
|
//
|
@@ -119,6 +133,23 @@ export class SolutionOrganizationVariables {
|
|
119
133
|
}
|
120
134
|
static get properties() {
|
121
135
|
return {
|
136
|
+
"locale": {
|
137
|
+
"type": "string",
|
138
|
+
"mutable": false,
|
139
|
+
"complexType": {
|
140
|
+
"original": "string",
|
141
|
+
"resolved": "string",
|
142
|
+
"references": {}
|
143
|
+
},
|
144
|
+
"required": false,
|
145
|
+
"optional": false,
|
146
|
+
"docs": {
|
147
|
+
"tags": [],
|
148
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
149
|
+
},
|
150
|
+
"attribute": "locale",
|
151
|
+
"reflect": false
|
152
|
+
},
|
122
153
|
"value": {
|
123
154
|
"type": "string",
|
124
155
|
"mutable": true,
|
@@ -166,6 +197,9 @@ export class SolutionOrganizationVariables {
|
|
166
197
|
static get elementRef() { return "el"; }
|
167
198
|
static get watchers() {
|
168
199
|
return [{
|
200
|
+
"propName": "locale",
|
201
|
+
"methodName": "localeWatchHandler"
|
202
|
+
}, {
|
169
203
|
"propName": "value",
|
170
204
|
"methodName": "valueWatchHandler"
|
171
205
|
}];
|
@@ -27,6 +27,7 @@ export class SolutionResourceItem {
|
|
27
27
|
constructor() {
|
28
28
|
this.authentication = undefined;
|
29
29
|
this.itemId = "";
|
30
|
+
this.locale = undefined;
|
30
31
|
this.resourceFilePaths = [];
|
31
32
|
this.resources = [];
|
32
33
|
this._translations = undefined;
|
@@ -37,6 +38,11 @@ export class SolutionResourceItem {
|
|
37
38
|
//
|
38
39
|
//--------------------------------------------------------------------------
|
39
40
|
el;
|
41
|
+
//--------------------------------------------------------------------------
|
42
|
+
//
|
43
|
+
// Watch handlers
|
44
|
+
//
|
45
|
+
//--------------------------------------------------------------------------
|
40
46
|
itemIdWatchHandler() {
|
41
47
|
const item = state.getItemInfo(this.itemId);
|
42
48
|
this.resourceFilePaths = item.resourceFilePaths;
|
@@ -45,6 +51,14 @@ export class SolutionResourceItem {
|
|
45
51
|
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
|
46
52
|
(path) => path.substring(path.lastIndexOf("/") + 1));
|
47
53
|
}
|
54
|
+
/**
|
55
|
+
* Fetch translations when the locale is updated
|
56
|
+
*/
|
57
|
+
async localeWatchHandler() {
|
58
|
+
// to support url param and language switcher
|
59
|
+
this.el.lang = this.locale;
|
60
|
+
await this._getTranslations();
|
61
|
+
}
|
48
62
|
//--------------------------------------------------------------------------
|
49
63
|
//
|
50
64
|
// Lifecycle
|
@@ -61,7 +75,7 @@ export class SolutionResourceItem {
|
|
61
75
|
*/
|
62
76
|
render() {
|
63
77
|
const hasValidResources = this._hasValidResources();
|
64
|
-
return (h(Host, { key: '
|
78
|
+
return (h(Host, { key: '13f2759a882d2eca48bf9dda58e74caade76142b' }, h("div", { key: '498ced2e29b8af9138a8aa9d77ec78e07e3c64de', class: "resource-item" }, h("div", { key: 'd76a967373a990906a67d88ea6466030c41401ff', class: "margin-bottom-1" }, h("calcite-button", { key: '96cd2ee08adadef9e1b29db12c38d4748b0689c0', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: '49326139cad065995512d3e3568c7d8e7f5cef4f', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '9c056d9ab7242ea10cbcf57eaabce4bd9777541e', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
|
65
79
|
}
|
66
80
|
_removedResources = {};
|
67
81
|
//--------------------------------------------------------------------------
|
@@ -334,6 +348,23 @@ export class SolutionResourceItem {
|
|
334
348
|
"attribute": "item-id",
|
335
349
|
"reflect": true,
|
336
350
|
"defaultValue": "\"\""
|
351
|
+
},
|
352
|
+
"locale": {
|
353
|
+
"type": "string",
|
354
|
+
"mutable": false,
|
355
|
+
"complexType": {
|
356
|
+
"original": "string",
|
357
|
+
"resolved": "string",
|
358
|
+
"references": {}
|
359
|
+
},
|
360
|
+
"required": false,
|
361
|
+
"optional": false,
|
362
|
+
"docs": {
|
363
|
+
"tags": [],
|
364
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
365
|
+
},
|
366
|
+
"attribute": "locale",
|
367
|
+
"reflect": false
|
337
368
|
}
|
338
369
|
};
|
339
370
|
}
|
@@ -349,6 +380,9 @@ export class SolutionResourceItem {
|
|
349
380
|
return [{
|
350
381
|
"propName": "itemId",
|
351
382
|
"methodName": "itemIdWatchHandler"
|
383
|
+
}, {
|
384
|
+
"propName": "locale",
|
385
|
+
"methodName": "localeWatchHandler"
|
352
386
|
}];
|
353
387
|
}
|
354
388
|
}
|
@@ -33,6 +33,7 @@ export class SolutionSpatialRef {
|
|
33
33
|
this.enabled = false;
|
34
34
|
this.enableDefault = false;
|
35
35
|
this.featureServices = [];
|
36
|
+
this.locale = undefined;
|
36
37
|
this._translations = undefined;
|
37
38
|
}
|
38
39
|
//--------------------------------------------------------------------------
|
@@ -49,6 +50,19 @@ export class SolutionSpatialRef {
|
|
49
50
|
}
|
50
51
|
//--------------------------------------------------------------------------
|
51
52
|
//
|
53
|
+
// Watch handlers
|
54
|
+
//
|
55
|
+
//--------------------------------------------------------------------------
|
56
|
+
/**
|
57
|
+
* Fetch translations when the locale is updated
|
58
|
+
*/
|
59
|
+
async localeWatchHandler() {
|
60
|
+
// to support url param and language switcher
|
61
|
+
this.el.lang = this.locale;
|
62
|
+
await this._getTranslations();
|
63
|
+
}
|
64
|
+
//--------------------------------------------------------------------------
|
65
|
+
//
|
52
66
|
// Lifecycle
|
53
67
|
//
|
54
68
|
//--------------------------------------------------------------------------
|
@@ -61,7 +75,7 @@ export class SolutionSpatialRef {
|
|
61
75
|
}
|
62
76
|
render() {
|
63
77
|
this._updateUIFromStore();
|
64
|
-
return (h(Host, { key: '
|
78
|
+
return (h(Host, { key: 'c4d6b7debb3852da999002bd1d9394ba4a4f2da8' }, h("label", { key: 'e16a28157db4c3aece6a00460816c3394f1f9198', class: "switch-label" }, h("calcite-switch", { key: '48d3b1c12aa93c50ccf424ccaf0a810855227b8d', checked: this.enabled, class: "spatial-ref-switch", onCalciteSwitchChange: (event) => this.enabled = event.target.checked, scale: "m" }), this._translations.enableSpatialReference), h("br", { key: '0e7eb35accdccef9f17e0a24b17180d25c4f054a' }), h("div", { key: '257e130fdda5e42a8c40662f21c3d315f91562c7', class: "spatial-ref-component", id: "spatialRefDefn" }, this._renderFeatureServicesList(this.featureServices)), h("label", { key: 'd7581971bb310c6c4b0fb1015db59a359da54b90', class: "switch-label spatial-ref-component" }, h("calcite-switch", { key: '3045b179955101fc5baff8ca09cb10d0077e35ca', checked: this.enableDefault, class: "spatial-ref-switch", disabled: !this.enabled, onCalciteSwitchChange: (event) => this.enableDefault = event.target.checked, scale: "m" }), this._translations.enableDefaultSpatialReference)));
|
65
79
|
}
|
66
80
|
//--------------------------------------------------------------------------
|
67
81
|
//
|
@@ -328,6 +342,23 @@ export class SolutionSpatialRef {
|
|
328
342
|
"text": "List of services the spatial reference should apply to"
|
329
343
|
},
|
330
344
|
"defaultValue": "[]"
|
345
|
+
},
|
346
|
+
"locale": {
|
347
|
+
"type": "string",
|
348
|
+
"mutable": false,
|
349
|
+
"complexType": {
|
350
|
+
"original": "string",
|
351
|
+
"resolved": "string",
|
352
|
+
"references": {}
|
353
|
+
},
|
354
|
+
"required": false,
|
355
|
+
"optional": false,
|
356
|
+
"docs": {
|
357
|
+
"tags": [],
|
358
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
359
|
+
},
|
360
|
+
"attribute": "locale",
|
361
|
+
"reflect": false
|
331
362
|
}
|
332
363
|
};
|
333
364
|
}
|
@@ -450,6 +481,9 @@ export class SolutionSpatialRef {
|
|
450
481
|
}, {
|
451
482
|
"propName": "enableDefault",
|
452
483
|
"methodName": "enableDefaultChanged"
|
484
|
+
}, {
|
485
|
+
"propName": "locale",
|
486
|
+
"methodName": "localeWatchHandler"
|
453
487
|
}];
|
454
488
|
}
|
455
489
|
static get listeners() {
|
@@ -36,12 +36,26 @@ export class SolutionTemplateData {
|
|
36
36
|
}
|
37
37
|
//--------------------------------------------------------------------------
|
38
38
|
//
|
39
|
+
// Watch handlers
|
40
|
+
//
|
41
|
+
//--------------------------------------------------------------------------
|
42
|
+
/**
|
43
|
+
* Fetch translations when the locale is updated
|
44
|
+
*/
|
45
|
+
async localeWatchHandler() {
|
46
|
+
// to support url param and language switcher
|
47
|
+
this.el.lang = this.locale;
|
48
|
+
await this._getTranslations();
|
49
|
+
}
|
50
|
+
//--------------------------------------------------------------------------
|
51
|
+
//
|
39
52
|
// Lifecycle
|
40
53
|
//
|
41
54
|
//--------------------------------------------------------------------------
|
42
55
|
constructor() {
|
43
56
|
this.instanceid = "";
|
44
57
|
this.itemId = "";
|
58
|
+
this.locale = undefined;
|
45
59
|
this.organizationVariables = "";
|
46
60
|
this.solutionVariables = "";
|
47
61
|
this.varsOpen = true;
|
@@ -77,7 +91,7 @@ export class SolutionTemplateData {
|
|
77
91
|
* Renders the component.
|
78
92
|
*/
|
79
93
|
render() {
|
80
|
-
return (h(Host, { key: '
|
94
|
+
return (h(Host, { key: '3f853006c19509c8cf484d4420b3f687aaad5161' }, h("div", { key: 'f524e1ee3c8dc972779be0909372c11c26092dd0', class: "solution-data-container" }, h("calcite-shell", { key: '56797702bc53b08051360975dc529c884eb7d294', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: '6208ac7b63ab8b69bc29ad88abdb9bcdeaaa707a', class: "json-editor" }, h("div", { key: '66e99550359b5665b4dd04f794d8108e4ee34284', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: '7a7f5afa5d424fb6099b7167f274ce211e791a56', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, locale: this.locale, value: this.value }))), h("calcite-shell-panel", { key: '7cc8bac91bfc5be96018d005cc87be457278ed6d', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: '4ce0c251d30d5735781394f5c213523867205886', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: '814c8996b854102b022f7ac482498dd6aac36ec8', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: '6b872cfc1c60870fb6262808f5d9f61cc35f0f44', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: 'e8e9ee594b6dcb5ddaabd05c322fb33d568ac7b5', locale: this.locale, value: this.organizationVariables })), h("div", { key: '109d17a77a54a13818af6aa2a9beb92526100ea7', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: '46902ed69897ed01334def99817fedafbda2e8d5', locale: this.locale, value: this.solutionVariables }))))))));
|
81
95
|
}
|
82
96
|
_initializing = false;
|
83
97
|
//--------------------------------------------------------------------------
|
@@ -164,6 +178,23 @@ export class SolutionTemplateData {
|
|
164
178
|
"reflect": true,
|
165
179
|
"defaultValue": "\"\""
|
166
180
|
},
|
181
|
+
"locale": {
|
182
|
+
"type": "string",
|
183
|
+
"mutable": false,
|
184
|
+
"complexType": {
|
185
|
+
"original": "string",
|
186
|
+
"resolved": "string",
|
187
|
+
"references": {}
|
188
|
+
},
|
189
|
+
"required": false,
|
190
|
+
"optional": false,
|
191
|
+
"docs": {
|
192
|
+
"tags": [],
|
193
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
194
|
+
},
|
195
|
+
"attribute": "locale",
|
196
|
+
"reflect": false
|
197
|
+
},
|
167
198
|
"organizationVariables": {
|
168
199
|
"type": "string",
|
169
200
|
"mutable": true,
|
@@ -231,6 +262,9 @@ export class SolutionTemplateData {
|
|
231
262
|
return [{
|
232
263
|
"propName": "itemId",
|
233
264
|
"methodName": "itemIdWatchHandler"
|
265
|
+
}, {
|
266
|
+
"propName": "locale",
|
267
|
+
"methodName": "localeWatchHandler"
|
234
268
|
}];
|
235
269
|
}
|
236
270
|
}
|
@@ -23,6 +23,7 @@ import { getLocaleComponentStrings } from "../../utils/locale";
|
|
23
23
|
export class SolutionVariables {
|
24
24
|
constructor() {
|
25
25
|
this.value = "";
|
26
|
+
this.locale = undefined;
|
26
27
|
this._solutionVariables = [];
|
27
28
|
this._translations = undefined;
|
28
29
|
}
|
@@ -32,6 +33,19 @@ export class SolutionVariables {
|
|
32
33
|
//
|
33
34
|
//--------------------------------------------------------------------------
|
34
35
|
el;
|
36
|
+
//--------------------------------------------------------------------------
|
37
|
+
//
|
38
|
+
// Watch handlers
|
39
|
+
//
|
40
|
+
//--------------------------------------------------------------------------
|
41
|
+
/**
|
42
|
+
* Fetch translations when the locale is updated
|
43
|
+
*/
|
44
|
+
async localeWatchHandler() {
|
45
|
+
// to support url param and language switcher
|
46
|
+
this.el.lang = this.locale;
|
47
|
+
await this._getTranslations();
|
48
|
+
}
|
35
49
|
valueWatchHandler() {
|
36
50
|
this._solutionVariables = JSON.parse(this.value);
|
37
51
|
}
|
@@ -50,7 +64,7 @@ export class SolutionVariables {
|
|
50
64
|
* Renders the component.
|
51
65
|
*/
|
52
66
|
render() {
|
53
|
-
return (h(Host, { key: '
|
67
|
+
return (h(Host, { key: 'a90cdfc9a32279cb07938fc57f9dd7e38d822f6d' }, h("div", { key: '6826e3dd84034368f419ff759962a721a275dc9c' }, h("h4", { key: '5ebdf456e8c4dc006b036dc182fa75218aac0e01', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: '06fc04c1e61dc1897989e3cc11df7b173f1fdb2a', class: "container-border" }, h("calcite-tree", { key: '15500194129af7440ec05dc495b060fc18f22324', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
|
54
68
|
}
|
55
69
|
//--------------------------------------------------------------------------
|
56
70
|
//
|
@@ -147,6 +161,23 @@ export class SolutionVariables {
|
|
147
161
|
"attribute": "value",
|
148
162
|
"reflect": true,
|
149
163
|
"defaultValue": "\"\""
|
164
|
+
},
|
165
|
+
"locale": {
|
166
|
+
"type": "string",
|
167
|
+
"mutable": false,
|
168
|
+
"complexType": {
|
169
|
+
"original": "string",
|
170
|
+
"resolved": "string",
|
171
|
+
"references": {}
|
172
|
+
},
|
173
|
+
"required": false,
|
174
|
+
"optional": false,
|
175
|
+
"docs": {
|
176
|
+
"tags": [],
|
177
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
178
|
+
},
|
179
|
+
"attribute": "locale",
|
180
|
+
"reflect": false
|
150
181
|
}
|
151
182
|
};
|
152
183
|
}
|
@@ -177,6 +208,9 @@ export class SolutionVariables {
|
|
177
208
|
static get elementRef() { return "el"; }
|
178
209
|
static get watchers() {
|
179
210
|
return [{
|
211
|
+
"propName": "locale",
|
212
|
+
"methodName": "localeWatchHandler"
|
213
|
+
}, {
|
180
214
|
"propName": "value",
|
181
215
|
"methodName": "valueWatchHandler"
|
182
216
|
}];
|
@@ -30,6 +30,19 @@ export class SpatialRef {
|
|
30
30
|
//
|
31
31
|
//--------------------------------------------------------------------------
|
32
32
|
el;
|
33
|
+
//--------------------------------------------------------------------------
|
34
|
+
//
|
35
|
+
// Watch handlers
|
36
|
+
//
|
37
|
+
//--------------------------------------------------------------------------
|
38
|
+
/**
|
39
|
+
* Fetch translations when the locale is updated
|
40
|
+
*/
|
41
|
+
async localeWatchHandler() {
|
42
|
+
// to support url param and language switcher
|
43
|
+
this.el.lang = this.locale;
|
44
|
+
await this._getTranslations();
|
45
|
+
}
|
33
46
|
valueChanged(newValue) {
|
34
47
|
this._spatialRef = this._createSpatialRefDisplay(newValue);
|
35
48
|
const searchBox = document.getElementById("calcite-sr-search");
|
@@ -53,6 +66,7 @@ export class SpatialRef {
|
|
53
66
|
constructor() {
|
54
67
|
this.defaultWkid = 102100;
|
55
68
|
this.disabled = false;
|
69
|
+
this.locale = undefined;
|
56
70
|
this.value = this.defaultWkid.toString();
|
57
71
|
this._cachedValue = this.defaultWkid.toString();
|
58
72
|
this._spatialRef = undefined;
|
@@ -70,7 +84,7 @@ export class SpatialRef {
|
|
70
84
|
* Renders the component.
|
71
85
|
*/
|
72
86
|
render() {
|
73
|
-
return (h(Host, { key: '
|
87
|
+
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()))));
|
74
88
|
}
|
75
89
|
_lastHighlightedSref;
|
76
90
|
//--------------------------------------------------------------------------
|
@@ -316,6 +330,23 @@ export class SpatialRef {
|
|
316
330
|
"reflect": true,
|
317
331
|
"defaultValue": "false"
|
318
332
|
},
|
333
|
+
"locale": {
|
334
|
+
"type": "string",
|
335
|
+
"mutable": false,
|
336
|
+
"complexType": {
|
337
|
+
"original": "string",
|
338
|
+
"resolved": "string",
|
339
|
+
"references": {}
|
340
|
+
},
|
341
|
+
"required": false,
|
342
|
+
"optional": false,
|
343
|
+
"docs": {
|
344
|
+
"tags": [],
|
345
|
+
"text": "string: Locale to use for translation of stings in the UI"
|
346
|
+
},
|
347
|
+
"attribute": "locale",
|
348
|
+
"reflect": false
|
349
|
+
},
|
319
350
|
"value": {
|
320
351
|
"type": "string",
|
321
352
|
"mutable": true,
|
@@ -456,6 +487,9 @@ export class SpatialRef {
|
|
456
487
|
static get elementRef() { return "el"; }
|
457
488
|
static get watchers() {
|
458
489
|
return [{
|
490
|
+
"propName": "locale",
|
491
|
+
"methodName": "localeWatchHandler"
|
492
|
+
}, {
|
459
493
|
"propName": "value",
|
460
494
|
"methodName": "valueChanged"
|
461
495
|
}];
|
@@ -181,10 +181,10 @@
|
|
181
181
|
// demo.mapView.ui.add(legend, "top-left");
|
182
182
|
});
|
183
183
|
demo.reportsHeader = "Reports";
|
184
|
-
demo.reportButtonText = "Report an incident";
|
184
|
+
//demo.reportButtonText = "Report an incident";
|
185
185
|
demo.enableNewReports = true;
|
186
186
|
demo.theme = "light";
|
187
|
-
demo.reportSubmittedMessage = "Thank you! Your request was successfully submitted";
|
187
|
+
//demo.reportSubmittedMessage = "Thank you! Your request was successfully submitted";
|
188
188
|
|
189
189
|
//Set the zoomScale to be used when zooming to single point feature
|
190
190
|
//demo.zoomToScale = 139596221; //World
|
@@ -28,6 +28,7 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
|
|
28
28
|
this.appearance = "text";
|
29
29
|
this.distance = 0;
|
30
30
|
this.geometries = [];
|
31
|
+
this.locale = undefined;
|
31
32
|
this.max = undefined;
|
32
33
|
this.min = 0;
|
33
34
|
this.sliderTicks = 10;
|
@@ -74,6 +75,14 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
|
|
74
75
|
disabledWatchHandler() {
|
75
76
|
this._buffer();
|
76
77
|
}
|
78
|
+
/**
|
79
|
+
* Fetch translations when the locale is updated
|
80
|
+
*/
|
81
|
+
async localeWatchHandler() {
|
82
|
+
// to support url param and language switcher
|
83
|
+
this.el.lang = this.locale;
|
84
|
+
await this._getTranslations();
|
85
|
+
}
|
77
86
|
//--------------------------------------------------------------------------
|
78
87
|
//
|
79
88
|
// Methods (public)
|
@@ -125,7 +134,7 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
|
|
125
134
|
* Renders the component.
|
126
135
|
*/
|
127
136
|
render() {
|
128
|
-
return (h(Host, { key: '
|
137
|
+
return (h(Host, { key: '4fbfb01938d285a2b022834f712013cea10945f9' }, this.appearance === "text" ? this._getTextBoxDisplay() : this._getSliderDisplay()));
|
129
138
|
}
|
130
139
|
//--------------------------------------------------------------------------
|
131
140
|
//
|
@@ -290,13 +299,15 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
|
|
290
299
|
}
|
291
300
|
static get watchers() { return {
|
292
301
|
"geometries": ["geometriesWatchHandler"],
|
293
|
-
"disabled": ["disabledWatchHandler"]
|
302
|
+
"disabled": ["disabledWatchHandler"],
|
303
|
+
"locale": ["localeWatchHandler"]
|
294
304
|
}; }
|
295
305
|
static get style() { return BufferToolsStyle0; }
|
296
306
|
}, [1, "buffer-tools", {
|
297
307
|
"appearance": [1025],
|
298
308
|
"distance": [1026],
|
299
309
|
"geometries": [1040],
|
310
|
+
"locale": [1],
|
300
311
|
"max": [1026],
|
301
312
|
"min": [1026],
|
302
313
|
"sliderTicks": [1026, "slider-ticks"],
|
@@ -307,7 +318,8 @@ const BufferTools = /*@__PURE__*/ proxyCustomElement(class BufferTools extends H
|
|
307
318
|
"getTranslatedUnit": [64]
|
308
319
|
}, undefined, {
|
309
320
|
"geometries": ["geometriesWatchHandler"],
|
310
|
-
"disabled": ["disabledWatchHandler"]
|
321
|
+
"disabled": ["disabledWatchHandler"],
|
322
|
+
"locale": ["localeWatchHandler"]
|
311
323
|
}]);
|
312
324
|
function defineCustomElement() {
|
313
325
|
if (typeof customElements === "undefined") {
|