@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
@@ -28,6 +28,7 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
28
28
|
super();
|
29
29
|
this.__registerHost();
|
30
30
|
this.__attachShadow();
|
31
|
+
this.locale = undefined;
|
31
32
|
this.templateInfos = [];
|
32
33
|
this._sortedTemplateInfos = [];
|
33
34
|
this._translations = undefined;
|
@@ -85,6 +86,14 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
85
86
|
// Watch handlers
|
86
87
|
//
|
87
88
|
//--------------------------------------------------------------------------
|
89
|
+
/**
|
90
|
+
* Fetch translations when the locale is updated
|
91
|
+
*/
|
92
|
+
async localeWatchHandler() {
|
93
|
+
// to support url param and language switcher
|
94
|
+
this.el.lang = this.locale;
|
95
|
+
await this._getTranslations();
|
96
|
+
}
|
88
97
|
async templateInfosWatchHandler() {
|
89
98
|
this._types = [];
|
90
99
|
this._sortedTemplateInfos = this._sortTemplates();
|
@@ -122,7 +131,7 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
122
131
|
* Renders the component.
|
123
132
|
*/
|
124
133
|
render() {
|
125
|
-
return (h(Host, { key: '
|
134
|
+
return (h(Host, { key: '22a8a6f89fac420848c1279439e0b02121e694d9' }, this._getAccordion()));
|
126
135
|
}
|
127
136
|
//--------------------------------------------------------------------------
|
128
137
|
//
|
@@ -281,14 +290,17 @@ const SolutionItemAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SolutionI
|
|
281
290
|
this._translations = messages[0];
|
282
291
|
}
|
283
292
|
static get watchers() { return {
|
293
|
+
"locale": ["localeWatchHandler"],
|
284
294
|
"templateInfos": ["templateInfosWatchHandler"]
|
285
295
|
}; }
|
286
296
|
static get style() { return SolutionItemAccordionStyle0; }
|
287
297
|
}, [1, "solution-item-accordion", {
|
298
|
+
"locale": [1],
|
288
299
|
"templateInfos": [16],
|
289
300
|
"_sortedTemplateInfos": [32],
|
290
301
|
"_translations": [32]
|
291
302
|
}, undefined, {
|
303
|
+
"locale": ["localeWatchHandler"],
|
292
304
|
"templateInfos": ["templateInfosWatchHandler"]
|
293
305
|
}]);
|
294
306
|
function defineCustomElement$1() {
|
@@ -19,6 +19,7 @@ const SolutionItemDetails = /*@__PURE__*/ proxyCustomElement(class SolutionItemD
|
|
19
19
|
super();
|
20
20
|
this.__registerHost();
|
21
21
|
this.itemId = "";
|
22
|
+
this.locale = undefined;
|
22
23
|
this.itemDetails = {
|
23
24
|
accessInformation: "",
|
24
25
|
description: "",
|
@@ -35,6 +36,19 @@ const SolutionItemDetails = /*@__PURE__*/ proxyCustomElement(class SolutionItemD
|
|
35
36
|
get el() { return this; }
|
36
37
|
//--------------------------------------------------------------------------
|
37
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
|
+
//
|
38
52
|
// Lifecycle
|
39
53
|
//
|
40
54
|
//--------------------------------------------------------------------------
|
@@ -56,7 +70,7 @@ const SolutionItemDetails = /*@__PURE__*/ proxyCustomElement(class SolutionItemD
|
|
56
70
|
* Renders the component.
|
57
71
|
*/
|
58
72
|
render() {
|
59
|
-
return (h(Host, { key: '
|
73
|
+
return (h(Host, { key: '9a0ddf363cb5e8abc5cbfd45ec0958befd81415d' }, h("div", { key: '0efb572f551fe4962ea9114bd32dc2004d47e00a', class: "parent-container" }, h("div", { key: '57ba57b956322c3339ea9265640def266717493b', class: "inputBottomSeparation" }, h("calcite-input", { key: 'e359cea6b2e94823970bbf8beb93e117963fa730', id: "item-title", value: this.itemDetails.title })), h("div", { key: 'c7b490a6f1f64ec2b10e8796ad3826d88e25280c', class: "inputBottomSeparation" }, h("input", { key: '776e1efb6ee1e29e75727f984165fa77bc36515d', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), h("button", { key: '12ece37e4d8ae802cb4fc2dbd3e1843496c674cb', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: '5301bac0dd37771122384b968aca05eb9a714a12', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, h("path", { key: 'a73dbc1d758fa28afe87dfc36efb5085f115b09c', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), h("div", { key: 'c07d1d3b4f38672855b2a4f3cfd66b91d85ad050', class: "flex" }, h("div", { key: '7de852550f467b8bb0bd8fa87c72552747d7397b', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: '7111cafeabac088b5ff729eed71746966ea66ae2', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '4b0be864e8c38b9a8185ba301582a742cbf8188a', class: "snippet-count-container" }, h("calcite-input", { key: '9e307dc8a67f77dc61e0deeaf3aa528007921b1b', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: '83c0d63adc182afcb83f45bcbcec778552768b65', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: '1e17c1ae545adb010e216ac566e9cba5eec1fc1a' }, this._translations.description, h("label", { key: 'c0e125cd881b013af6da14de78635f9922163e39', id: "item-description-label" }, h("calcite-input", { key: '1cf2cb27f67edfee86fc9a36ae296f81ef6c4429', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: '1f61dee7f09260a0277af8a8e3d620e229ce4225' }, this._translations.tags, h("label", { key: '73820279fa0134328f24741857e028c89b5caebc', id: "item-tags-label" }, h("calcite-input", { key: '88dc8f7cd156dfa5f52ae8412241c2f0bfca357c', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
|
60
74
|
}
|
61
75
|
componentDidRender() {
|
62
76
|
this._loadThumb();
|
@@ -201,15 +215,21 @@ const SolutionItemDetails = /*@__PURE__*/ proxyCustomElement(class SolutionItemD
|
|
201
215
|
const translations = await getLocaleComponentStrings(this.el);
|
202
216
|
this._translations = translations[0];
|
203
217
|
}
|
218
|
+
static get watchers() { return {
|
219
|
+
"locale": ["localeWatchHandler"]
|
220
|
+
}; }
|
204
221
|
static get style() { return SolutionItemDetailsStyle0; }
|
205
222
|
}, [0, "solution-item-details", {
|
206
223
|
"itemId": [1537, "item-id"],
|
224
|
+
"locale": [1],
|
207
225
|
"itemDetails": [32],
|
208
226
|
"itemEdit": [32],
|
209
227
|
"_translations": [32],
|
210
228
|
"thumbnail": [32],
|
211
229
|
"thumbnailContainer": [32]
|
212
|
-
}, [[0, "calciteInputInput", "inputReceivedHandler"]]
|
230
|
+
}, [[0, "calciteInputInput", "inputReceivedHandler"]], {
|
231
|
+
"locale": ["localeWatchHandler"]
|
232
|
+
}]);
|
213
233
|
function defineCustomElement() {
|
214
234
|
if (typeof customElements === "undefined") {
|
215
235
|
return;
|
@@ -26,7 +26,7 @@ const SolutionItemIcon = /*@__PURE__*/ proxyCustomElement(class SolutionItemIcon
|
|
26
26
|
* Renders the component.
|
27
27
|
*/
|
28
28
|
render() {
|
29
|
-
return h("div", { key: '
|
29
|
+
return h("div", { key: 'cc13e7bfc0a58ca1727651c3c31b0dc4e50f716a', title: this.type }, h("img", { key: '76808f6a3ced35a15626d4a4d30e7a2b8185d8d6', class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
|
30
30
|
}
|
31
31
|
//--------------------------------------------------------------------------
|
32
32
|
//
|
@@ -19,14 +19,28 @@ const SolutionItemSharing = /*@__PURE__*/ proxyCustomElement(class SolutionItemS
|
|
19
19
|
this.__registerHost();
|
20
20
|
this.__attachShadow();
|
21
21
|
this.groupId = "";
|
22
|
+
this.locale = undefined;
|
22
23
|
this._translations = undefined;
|
23
24
|
this.sharing = [];
|
24
25
|
}
|
25
26
|
get el() { return this; }
|
27
|
+
//--------------------------------------------------------------------------
|
28
|
+
//
|
29
|
+
// Watch handlers
|
30
|
+
//
|
31
|
+
//--------------------------------------------------------------------------
|
26
32
|
itemIdWatchHandler() {
|
27
33
|
const itemEdit = state.getItemInfo(this.groupId);
|
28
34
|
this.sharing = itemEdit.groupDetails;
|
29
35
|
}
|
36
|
+
/**
|
37
|
+
* Fetch translations when the locale is updated
|
38
|
+
*/
|
39
|
+
async localeWatchHandler() {
|
40
|
+
// to support url param and language switcher
|
41
|
+
this.el.lang = this.locale;
|
42
|
+
await this._getTranslations();
|
43
|
+
}
|
30
44
|
//--------------------------------------------------------------------------
|
31
45
|
//
|
32
46
|
// Lifecycle
|
@@ -42,7 +56,7 @@ const SolutionItemSharing = /*@__PURE__*/ proxyCustomElement(class SolutionItemS
|
|
42
56
|
* Renders the component.
|
43
57
|
*/
|
44
58
|
render() {
|
45
|
-
return (h(Host, { key: '
|
59
|
+
return (h(Host, { key: '1c7dbee68fbf0eabf736fb783f173ade2f408122' }, h("div", { key: '3c3d88ab122d4a8bc69363224a2754c4a4b092ba', class: "container-border" }, h("calcite-label", { key: '137bb704b258a3cd1e5e5b7a18c53aca331d7f91' }, this._translations.groupInfo), this._renderItems(this.sharing))));
|
46
60
|
}
|
47
61
|
//--------------------------------------------------------------------------
|
48
62
|
//
|
@@ -126,16 +140,19 @@ const SolutionItemSharing = /*@__PURE__*/ proxyCustomElement(class SolutionItemS
|
|
126
140
|
this._translations = translations[0];
|
127
141
|
}
|
128
142
|
static get watchers() { return {
|
129
|
-
"groupId": ["itemIdWatchHandler"]
|
143
|
+
"groupId": ["itemIdWatchHandler"],
|
144
|
+
"locale": ["localeWatchHandler"]
|
130
145
|
}; }
|
131
146
|
static get style() { return SolutionItemSharingStyle0; }
|
132
147
|
}, [1, "solution-item-sharing", {
|
133
148
|
"groupId": [1537, "group-id"],
|
149
|
+
"locale": [1],
|
134
150
|
"_translations": [32],
|
135
151
|
"sharing": [32],
|
136
152
|
"getShareInfo": [64]
|
137
153
|
}, undefined, {
|
138
|
-
"groupId": ["itemIdWatchHandler"]
|
154
|
+
"groupId": ["itemIdWatchHandler"],
|
155
|
+
"locale": ["localeWatchHandler"]
|
139
156
|
}]);
|
140
157
|
function defineCustomElement() {
|
141
158
|
if (typeof customElements === "undefined") {
|
@@ -48,6 +48,7 @@ const SolutionItem = /*@__PURE__*/ proxyCustomElement(class SolutionItem extends
|
|
48
48
|
this.__registerHost();
|
49
49
|
this.authentication = undefined;
|
50
50
|
this.itemId = "";
|
51
|
+
this.locale = undefined;
|
51
52
|
this.solutionVariables = "";
|
52
53
|
this.organizationVariables = "";
|
53
54
|
this.itemType = undefined;
|
@@ -60,6 +61,19 @@ const SolutionItem = /*@__PURE__*/ proxyCustomElement(class SolutionItem extends
|
|
60
61
|
}
|
61
62
|
//--------------------------------------------------------------------------
|
62
63
|
//
|
64
|
+
// Watch handlers
|
65
|
+
//
|
66
|
+
//--------------------------------------------------------------------------
|
67
|
+
/**
|
68
|
+
* Fetch translations when the locale is updated
|
69
|
+
*/
|
70
|
+
async localeWatchHandler() {
|
71
|
+
// to support url param and language switcher
|
72
|
+
this.el.lang = this.locale;
|
73
|
+
await this._getTranslations();
|
74
|
+
}
|
75
|
+
//--------------------------------------------------------------------------
|
76
|
+
//
|
63
77
|
// Lifecycle
|
64
78
|
//
|
65
79
|
//--------------------------------------------------------------------------
|
@@ -73,7 +87,7 @@ const SolutionItem = /*@__PURE__*/ proxyCustomElement(class SolutionItem extends
|
|
73
87
|
* Renders the component.
|
74
88
|
*/
|
75
89
|
render() {
|
76
|
-
return (h(Host, { key: '
|
90
|
+
return (h(Host, { key: '3fe864ad8d8bcf7bc276feafc60ce7e9fd7e803b' }, h("div", { key: '90f327cc0736d8c9c13bf8b65d69e3835b4dae7b', class: "configuration-container" }, h("div", { key: '10536f9927ba2b5745f1b5ae3b154a3aac902d47', class: "configuration" }, this._showGroupTabs(this.itemType === "Group"), this._showItemTabs(this.itemType !== "Group")))));
|
77
91
|
}
|
78
92
|
//--------------------------------------------------------------------------
|
79
93
|
//
|
@@ -101,7 +115,7 @@ const SolutionItem = /*@__PURE__*/ proxyCustomElement(class SolutionItem extends
|
|
101
115
|
* @param visible Should the current tab be visible
|
102
116
|
*/
|
103
117
|
_showGroupTabs(visible) {
|
104
|
-
return h("calcite-tabs", { class: "config-tabs", style: { display: visible ? "inherit" : "none" } }, h("calcite-tab-nav", { slot: "tab-nav" }, h("calcite-tab-title", null, this._translations.groupDetailsTab), h("calcite-tab-title", null, this._translations.sharingTab)), h("calcite-tab", { class: "config-tab", id: "group-tab", selected: true }, h("solution-item-details", { "item-id": this.itemId })), h("calcite-tab", { class: "config-tab", id: "share-tab" }, h("solution-item-sharing", { "group-id": this.itemId })));
|
118
|
+
return h("calcite-tabs", { class: "config-tabs", style: { display: visible ? "inherit" : "none" } }, h("calcite-tab-nav", { slot: "tab-nav" }, h("calcite-tab-title", null, this._translations.groupDetailsTab), h("calcite-tab-title", null, this._translations.sharingTab)), h("calcite-tab", { class: "config-tab", id: "group-tab", selected: true }, h("solution-item-details", { "item-id": this.itemId, locale: this.locale })), h("calcite-tab", { class: "config-tab", id: "share-tab" }, h("solution-item-sharing", { "group-id": this.itemId, locale: this.locale })));
|
105
119
|
}
|
106
120
|
/**
|
107
121
|
* Render tabs based for an items details, data, and props section from a template
|
@@ -109,7 +123,7 @@ const SolutionItem = /*@__PURE__*/ proxyCustomElement(class SolutionItem extends
|
|
109
123
|
* @param visible Should the current tab be visible
|
110
124
|
*/
|
111
125
|
_showItemTabs(visible) {
|
112
|
-
return h("calcite-tabs", { class: "config-tabs", style: { display: visible ? "inherit" : "none" } }, h("calcite-tab-nav", { slot: "tab-nav" }, h("calcite-tab-title", null, this._translations.itemDetailsTab), h("calcite-tab-title", null, this._translations.dataTab), h("calcite-tab-title", null, this._translations.propertiesTab), h("calcite-tab-title", null, this._translations.resourcesTab)), h("calcite-tab", { class: "config-tab", selected: true }, h("solution-item-details", { "item-id": this.itemId })), h("calcite-tab", { class: "config-tab", id: "data-tab" }, h("solution-template-data", { instanceid: "data", "item-id": this.itemId, "organization-variables": this.organizationVariables, "solution-variables": this.solutionVariables })), h("calcite-tab", { class: "config-tab", id: "props-tab" }, h("solution-template-data", { instanceid: "properties", "item-id": this.itemId, "organization-variables": this.organizationVariables, "solution-variables": this.solutionVariables })), h("calcite-tab", { class: "config-tab", id: "resources-tab" }, h("solution-resource-item", { authentication: this.authentication, class: "solutions-resource-container", "item-id": this.itemId })));
|
126
|
+
return h("calcite-tabs", { class: "config-tabs", style: { display: visible ? "inherit" : "none" } }, h("calcite-tab-nav", { slot: "tab-nav" }, h("calcite-tab-title", null, this._translations.itemDetailsTab), h("calcite-tab-title", null, this._translations.dataTab), h("calcite-tab-title", null, this._translations.propertiesTab), h("calcite-tab-title", null, this._translations.resourcesTab)), h("calcite-tab", { class: "config-tab", selected: true }, h("solution-item-details", { "item-id": this.itemId, locale: this.locale })), h("calcite-tab", { class: "config-tab", id: "data-tab" }, h("solution-template-data", { instanceid: "data", "item-id": this.itemId, locale: this.locale, "organization-variables": this.organizationVariables, "solution-variables": this.solutionVariables })), h("calcite-tab", { class: "config-tab", id: "props-tab" }, h("solution-template-data", { instanceid: "properties", "item-id": this.itemId, locale: this.locale, "organization-variables": this.organizationVariables, "solution-variables": this.solutionVariables })), h("calcite-tab", { class: "config-tab", id: "resources-tab" }, h("solution-resource-item", { authentication: this.authentication, class: "solutions-resource-container", "item-id": this.itemId, locale: this.locale })));
|
113
127
|
}
|
114
128
|
/**
|
115
129
|
* Fetches the component's translations
|
@@ -121,18 +135,21 @@ const SolutionItem = /*@__PURE__*/ proxyCustomElement(class SolutionItem extends
|
|
121
135
|
this._translations = translations[0];
|
122
136
|
}
|
123
137
|
static get watchers() { return {
|
124
|
-
"itemId": ["itemIdWatchHandler"]
|
138
|
+
"itemId": ["itemIdWatchHandler"],
|
139
|
+
"locale": ["localeWatchHandler"]
|
125
140
|
}; }
|
126
141
|
static get style() { return SolutionItemStyle0; }
|
127
142
|
}, [0, "solution-item", {
|
128
143
|
"authentication": [1040],
|
129
144
|
"itemId": [1537, "item-id"],
|
145
|
+
"locale": [1],
|
130
146
|
"solutionVariables": [1537, "solution-variables"],
|
131
147
|
"organizationVariables": [1537, "organization-variables"],
|
132
148
|
"itemType": [32],
|
133
149
|
"_translations": [32]
|
134
150
|
}, undefined, {
|
135
|
-
"itemId": ["itemIdWatchHandler"]
|
151
|
+
"itemId": ["itemIdWatchHandler"],
|
152
|
+
"locale": ["localeWatchHandler"]
|
136
153
|
}]);
|
137
154
|
function defineCustomElement() {
|
138
155
|
if (typeof customElements === "undefined") {
|
@@ -18,11 +18,25 @@ const SolutionOrganizationVariables = /*@__PURE__*/ proxyCustomElement(class Sol
|
|
18
18
|
this.__registerHost();
|
19
19
|
this.__attachShadow();
|
20
20
|
this.organizationVariableSelected = createEvent(this, "organizationVariableSelected", 7);
|
21
|
+
this.locale = undefined;
|
21
22
|
this.value = "";
|
22
23
|
this._organizationVariables = [];
|
23
24
|
this._translations = undefined;
|
24
25
|
}
|
25
26
|
get el() { return this; }
|
27
|
+
//--------------------------------------------------------------------------
|
28
|
+
//
|
29
|
+
// Watch handlers
|
30
|
+
//
|
31
|
+
//--------------------------------------------------------------------------
|
32
|
+
/**
|
33
|
+
* Fetch translations when the locale is updated
|
34
|
+
*/
|
35
|
+
async localeWatchHandler() {
|
36
|
+
// to support url param and language switcher
|
37
|
+
this.el.lang = this.locale;
|
38
|
+
await this._getTranslations();
|
39
|
+
}
|
26
40
|
valueWatchHandler() {
|
27
41
|
this._organizationVariables = JSON.parse(this.value);
|
28
42
|
}
|
@@ -41,7 +55,7 @@ const SolutionOrganizationVariables = /*@__PURE__*/ proxyCustomElement(class Sol
|
|
41
55
|
* Renders the component.
|
42
56
|
*/
|
43
57
|
render() {
|
44
|
-
return (h(Host, { key: '
|
58
|
+
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)))));
|
45
59
|
}
|
46
60
|
//--------------------------------------------------------------------------
|
47
61
|
//
|
@@ -97,14 +111,17 @@ const SolutionOrganizationVariables = /*@__PURE__*/ proxyCustomElement(class Sol
|
|
97
111
|
this._translations = translations[0];
|
98
112
|
}
|
99
113
|
static get watchers() { return {
|
114
|
+
"locale": ["localeWatchHandler"],
|
100
115
|
"value": ["valueWatchHandler"]
|
101
116
|
}; }
|
102
117
|
static get style() { return SolutionOrganizationVariablesStyle0; }
|
103
118
|
}, [1, "solution-organization-variables", {
|
119
|
+
"locale": [1],
|
104
120
|
"value": [1537],
|
105
121
|
"_organizationVariables": [32],
|
106
122
|
"_translations": [32]
|
107
123
|
}, undefined, {
|
124
|
+
"locale": ["localeWatchHandler"],
|
108
125
|
"value": ["valueWatchHandler"]
|
109
126
|
}]);
|
110
127
|
function defineCustomElement() {
|
@@ -30,11 +30,17 @@ const SolutionResourceItem = /*@__PURE__*/ proxyCustomElement(class SolutionReso
|
|
30
30
|
this.__attachShadow();
|
31
31
|
this.authentication = undefined;
|
32
32
|
this.itemId = "";
|
33
|
+
this.locale = undefined;
|
33
34
|
this.resourceFilePaths = [];
|
34
35
|
this.resources = [];
|
35
36
|
this._translations = undefined;
|
36
37
|
}
|
37
38
|
get el() { return this; }
|
39
|
+
//--------------------------------------------------------------------------
|
40
|
+
//
|
41
|
+
// Watch handlers
|
42
|
+
//
|
43
|
+
//--------------------------------------------------------------------------
|
38
44
|
itemIdWatchHandler() {
|
39
45
|
const item = state.getItemInfo(this.itemId);
|
40
46
|
this.resourceFilePaths = item.resourceFilePaths;
|
@@ -43,6 +49,14 @@ const SolutionResourceItem = /*@__PURE__*/ proxyCustomElement(class SolutionReso
|
|
43
49
|
// eslint-disable-next-line @typescript-eslint/restrict-plus-operands
|
44
50
|
(path) => path.substring(path.lastIndexOf("/") + 1));
|
45
51
|
}
|
52
|
+
/**
|
53
|
+
* Fetch translations when the locale is updated
|
54
|
+
*/
|
55
|
+
async localeWatchHandler() {
|
56
|
+
// to support url param and language switcher
|
57
|
+
this.el.lang = this.locale;
|
58
|
+
await this._getTranslations();
|
59
|
+
}
|
46
60
|
//--------------------------------------------------------------------------
|
47
61
|
//
|
48
62
|
// Lifecycle
|
@@ -59,7 +73,7 @@ const SolutionResourceItem = /*@__PURE__*/ proxyCustomElement(class SolutionReso
|
|
59
73
|
*/
|
60
74
|
render() {
|
61
75
|
const hasValidResources = this._hasValidResources();
|
62
|
-
return (h(Host, { key: '
|
76
|
+
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()))));
|
63
77
|
}
|
64
78
|
_removedResources = {};
|
65
79
|
//--------------------------------------------------------------------------
|
@@ -281,17 +295,20 @@ const SolutionResourceItem = /*@__PURE__*/ proxyCustomElement(class SolutionReso
|
|
281
295
|
this._translations = translations[0];
|
282
296
|
}
|
283
297
|
static get watchers() { return {
|
284
|
-
"itemId": ["itemIdWatchHandler"]
|
298
|
+
"itemId": ["itemIdWatchHandler"],
|
299
|
+
"locale": ["localeWatchHandler"]
|
285
300
|
}; }
|
286
301
|
static get style() { return SolutionResourceItemStyle0; }
|
287
302
|
}, [1, "solution-resource-item", {
|
288
303
|
"authentication": [1040],
|
289
304
|
"itemId": [1537, "item-id"],
|
305
|
+
"locale": [1],
|
290
306
|
"resourceFilePaths": [32],
|
291
307
|
"resources": [32],
|
292
308
|
"_translations": [32]
|
293
309
|
}, undefined, {
|
294
|
-
"itemId": ["itemIdWatchHandler"]
|
310
|
+
"itemId": ["itemIdWatchHandler"],
|
311
|
+
"locale": ["localeWatchHandler"]
|
295
312
|
}]);
|
296
313
|
function defineCustomElement() {
|
297
314
|
if (typeof customElements === "undefined") {
|
@@ -27,6 +27,7 @@ const SolutionSpatialRef = /*@__PURE__*/ proxyCustomElement(class SolutionSpatia
|
|
27
27
|
this.enabled = false;
|
28
28
|
this.enableDefault = false;
|
29
29
|
this.featureServices = [];
|
30
|
+
this.locale = undefined;
|
30
31
|
this._translations = undefined;
|
31
32
|
}
|
32
33
|
get el() { return this; }
|
@@ -38,6 +39,19 @@ const SolutionSpatialRef = /*@__PURE__*/ proxyCustomElement(class SolutionSpatia
|
|
38
39
|
}
|
39
40
|
//--------------------------------------------------------------------------
|
40
41
|
//
|
42
|
+
// Watch handlers
|
43
|
+
//
|
44
|
+
//--------------------------------------------------------------------------
|
45
|
+
/**
|
46
|
+
* Fetch translations when the locale is updated
|
47
|
+
*/
|
48
|
+
async localeWatchHandler() {
|
49
|
+
// to support url param and language switcher
|
50
|
+
this.el.lang = this.locale;
|
51
|
+
await this._getTranslations();
|
52
|
+
}
|
53
|
+
//--------------------------------------------------------------------------
|
54
|
+
//
|
41
55
|
// Lifecycle
|
42
56
|
//
|
43
57
|
//--------------------------------------------------------------------------
|
@@ -50,7 +64,7 @@ const SolutionSpatialRef = /*@__PURE__*/ proxyCustomElement(class SolutionSpatia
|
|
50
64
|
}
|
51
65
|
render() {
|
52
66
|
this._updateUIFromStore();
|
53
|
-
return (h(Host, { key: '
|
67
|
+
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)));
|
54
68
|
}
|
55
69
|
//--------------------------------------------------------------------------
|
56
70
|
//
|
@@ -249,18 +263,21 @@ const SolutionSpatialRef = /*@__PURE__*/ proxyCustomElement(class SolutionSpatia
|
|
249
263
|
}
|
250
264
|
static get watchers() { return {
|
251
265
|
"enabled": ["enabledChanged"],
|
252
|
-
"enableDefault": ["enableDefaultChanged"]
|
266
|
+
"enableDefault": ["enableDefaultChanged"],
|
267
|
+
"locale": ["localeWatchHandler"]
|
253
268
|
}; }
|
254
269
|
static get style() { return SolutionSpatialRefStyle0; }
|
255
270
|
}, [0, "solution-spatial-ref", {
|
256
271
|
"enabled": [1540],
|
257
272
|
"enableDefault": [1540, "enable-default"],
|
258
273
|
"featureServices": [1040],
|
274
|
+
"locale": [1],
|
259
275
|
"_translations": [32],
|
260
276
|
"_testAccess": [64]
|
261
277
|
}, [[8, "solutionStoreHasChanges", "solutionStoreHasChanges"]], {
|
262
278
|
"enabled": ["enabledChanged"],
|
263
|
-
"enableDefault": ["enableDefaultChanged"]
|
279
|
+
"enableDefault": ["enableDefaultChanged"],
|
280
|
+
"locale": ["localeWatchHandler"]
|
264
281
|
}]);
|
265
282
|
function defineCustomElement() {
|
266
283
|
if (typeof customElements === "undefined") {
|
@@ -36,6 +36,19 @@ const SolutionTemplateData = /*@__PURE__*/ proxyCustomElement(class SolutionTemp
|
|
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
|
//--------------------------------------------------------------------------
|
@@ -44,6 +57,7 @@ const SolutionTemplateData = /*@__PURE__*/ proxyCustomElement(class SolutionTemp
|
|
44
57
|
this.__registerHost();
|
45
58
|
this.instanceid = "";
|
46
59
|
this.itemId = "";
|
60
|
+
this.locale = undefined;
|
47
61
|
this.organizationVariables = "";
|
48
62
|
this.solutionVariables = "";
|
49
63
|
this.varsOpen = true;
|
@@ -79,7 +93,7 @@ const SolutionTemplateData = /*@__PURE__*/ proxyCustomElement(class SolutionTemp
|
|
79
93
|
* Renders the component.
|
80
94
|
*/
|
81
95
|
render() {
|
82
|
-
return (h(Host, { key: '
|
96
|
+
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 }))))))));
|
83
97
|
}
|
84
98
|
_initializing = false;
|
85
99
|
//--------------------------------------------------------------------------
|
@@ -118,19 +132,22 @@ const SolutionTemplateData = /*@__PURE__*/ proxyCustomElement(class SolutionTemp
|
|
118
132
|
this._translations = translations[0];
|
119
133
|
}
|
120
134
|
static get watchers() { return {
|
121
|
-
"itemId": ["itemIdWatchHandler"]
|
135
|
+
"itemId": ["itemIdWatchHandler"],
|
136
|
+
"locale": ["localeWatchHandler"]
|
122
137
|
}; }
|
123
138
|
static get style() { return SolutionTemplateDataStyle0; }
|
124
139
|
}, [0, "solution-template-data", {
|
125
140
|
"instanceid": [1537],
|
126
141
|
"itemId": [1537, "item-id"],
|
142
|
+
"locale": [1],
|
127
143
|
"organizationVariables": [1537, "organization-variables"],
|
128
144
|
"solutionVariables": [1537, "solution-variables"],
|
129
145
|
"varsOpen": [1540, "vars-open"],
|
130
146
|
"_translations": [32],
|
131
147
|
"value": [32]
|
132
148
|
}, undefined, {
|
133
|
-
"itemId": ["itemIdWatchHandler"]
|
149
|
+
"itemId": ["itemIdWatchHandler"],
|
150
|
+
"locale": ["localeWatchHandler"]
|
134
151
|
}]);
|
135
152
|
function defineCustomElement() {
|
136
153
|
if (typeof customElements === "undefined") {
|
@@ -20,10 +20,24 @@ const SolutionVariables = /*@__PURE__*/ proxyCustomElement(class SolutionVariabl
|
|
20
20
|
this.__attachShadow();
|
21
21
|
this.solutionVariableSelected = createEvent(this, "solutionVariableSelected", 7);
|
22
22
|
this.value = "";
|
23
|
+
this.locale = undefined;
|
23
24
|
this._solutionVariables = [];
|
24
25
|
this._translations = undefined;
|
25
26
|
}
|
26
27
|
get el() { return this; }
|
28
|
+
//--------------------------------------------------------------------------
|
29
|
+
//
|
30
|
+
// Watch handlers
|
31
|
+
//
|
32
|
+
//--------------------------------------------------------------------------
|
33
|
+
/**
|
34
|
+
* Fetch translations when the locale is updated
|
35
|
+
*/
|
36
|
+
async localeWatchHandler() {
|
37
|
+
// to support url param and language switcher
|
38
|
+
this.el.lang = this.locale;
|
39
|
+
await this._getTranslations();
|
40
|
+
}
|
27
41
|
valueWatchHandler() {
|
28
42
|
this._solutionVariables = JSON.parse(this.value);
|
29
43
|
}
|
@@ -42,7 +56,7 @@ const SolutionVariables = /*@__PURE__*/ proxyCustomElement(class SolutionVariabl
|
|
42
56
|
* Renders the component.
|
43
57
|
*/
|
44
58
|
render() {
|
45
|
-
return (h(Host, { key: '
|
59
|
+
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)))));
|
46
60
|
}
|
47
61
|
//--------------------------------------------------------------------------
|
48
62
|
//
|
@@ -109,14 +123,17 @@ const SolutionVariables = /*@__PURE__*/ proxyCustomElement(class SolutionVariabl
|
|
109
123
|
this._translations = translations[0];
|
110
124
|
}
|
111
125
|
static get watchers() { return {
|
126
|
+
"locale": ["localeWatchHandler"],
|
112
127
|
"value": ["valueWatchHandler"]
|
113
128
|
}; }
|
114
129
|
static get style() { return SolutionVariablesStyle0; }
|
115
130
|
}, [1, "solution-variables", {
|
116
131
|
"value": [1537],
|
132
|
+
"locale": [1],
|
117
133
|
"_solutionVariables": [32],
|
118
134
|
"_translations": [32]
|
119
135
|
}, undefined, {
|
136
|
+
"locale": ["localeWatchHandler"],
|
120
137
|
"value": ["valueWatchHandler"]
|
121
138
|
}]);
|
122
139
|
function defineCustomElement() {
|