@esri/solutions-components 0.11.18 → 0.11.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{asyncToGenerator-c7fc3ee4.js → asyncToGenerator-f169429a.js} +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +50 -259
- package/dist/cjs/buffer-tools_2.cjs.entry.js +29 -123
- package/dist/cjs/card-manager_3.cjs.entry.js +100 -429
- package/dist/cjs/consent-manager.cjs.entry.js +15 -57
- package/dist/cjs/create-feature_4.cjs.entry.js +57 -257
- package/dist/cjs/create-related-feature_3.cjs.entry.js +37 -171
- package/dist/cjs/crowdsource-manager.cjs.entry.js +62 -253
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +54 -218
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +9 -38
- package/dist/cjs/{downloadUtils-9abff913.js → downloadUtils-b269c7a1.js} +4 -4
- package/dist/cjs/{effects-3607d1ba.js → effects-2f75069e.js} +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +29 -109
- package/dist/cjs/{helpers-a65cb83a.js → helpers-69e520bd.js} +3 -3
- package/dist/cjs/{index-2c21082d.js → index-af14245a.js} +346 -428
- package/dist/cjs/{index-90ef3c01.js → index-ffd12cb0.js} +1 -1
- package/dist/cjs/{index.es-3c2404c3.js → index.es-644259ff.js} +2 -2
- package/dist/cjs/instant-apps-app-guide.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +7 -7
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-create.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-export.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-header.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +6 -6
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +8 -8
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popover.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-splash.cjs.entry.js +5 -5
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +7 -7
- package/dist/cjs/json-editor_7.cjs.entry.js +50 -228
- package/dist/cjs/{languageSwitcher-19a22439.js → languageSwitcher-c8e62594.js} +1 -1
- package/dist/cjs/{languageUtil-a3e1eafd.js → languageUtil-bd49af69.js} +1 -1
- package/dist/cjs/{loadModules-e9d8977c.js → loadModules-3b29fa24.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{locale-c09e93fb.js → locale-905e6063.js} +2 -2
- package/dist/cjs/{locale-0a273172.js → locale-c923d7b6.js} +3 -3
- package/dist/cjs/map-layer-picker.cjs.entry.js +28 -113
- package/dist/cjs/map-select-tools_3.cjs.entry.js +52 -231
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -15
- package/dist/cjs/{popupUtils-fc7557da.js → popupUtils-5378e04a.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +46 -196
- package/dist/cjs/{publicNotificationStore-ee00411f.js → publicNotificationStore-beb782de.js} +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +18 -53
- package/dist/cjs/solution-contents_3.cjs.entry.js +19 -85
- package/dist/cjs/solution-item-accordion.cjs.entry.js +9 -39
- package/dist/cjs/solution-item-icon.cjs.entry.js +4 -18
- package/dist/cjs/{solution-store-6208ce28.js → solution-store-3cf25b71.js} +1 -1
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/spatial-ref.cjs.entry.js +11 -46
- package/dist/cjs/store-manager.cjs.entry.js +6 -21
- package/dist/cjs/{utils-30344ce0.js → utils-3739960f.js} +2 -2
- package/dist/collection/assets/t9n/solution-item-accordion/resources.json +1 -1
- package/dist/collection/assets/t9n/solution-item-accordion/resources_en.json +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +5 -19
- package/dist/collection/components/buffer-tools/buffer-tools.js +13 -52
- package/dist/collection/components/card-manager/card-manager.js +17 -71
- package/dist/collection/components/consent-manager/consent-manager.js +12 -52
- package/dist/collection/components/create-feature/create-feature.js +16 -68
- package/dist/collection/components/create-related-feature/create-related-feature.js +10 -44
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +61 -250
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +53 -215
- package/dist/collection/components/delete-button/delete-button.js +13 -55
- package/dist/collection/components/delete-dialog/delete-dialog.js +8 -35
- package/dist/collection/components/edit-card/edit-card.js +10 -43
- package/dist/collection/components/feature-details/feature-details.js +18 -74
- package/dist/collection/components/feature-list/feature-list.js +25 -103
- package/dist/collection/components/floor-filter/floor-filter.js +5 -19
- package/dist/collection/components/info-card/info-card.js +20 -85
- package/dist/collection/components/json-editor/json-editor.js +7 -28
- package/dist/collection/components/layer-list/layer-list.js +12 -50
- package/dist/collection/components/layer-table/layer-table.js +41 -171
- package/dist/collection/components/map-card/map-card.js +43 -182
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +15 -66
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +4 -18
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +25 -108
- package/dist/collection/components/map-legend/map-legend.js +4 -15
- package/dist/collection/components/map-picker/map-picker.js +8 -35
- package/dist/collection/components/map-search/map-search.js +8 -35
- package/dist/collection/components/map-select-tools/map-select-tools.js +32 -138
- package/dist/collection/components/map-tools/map-tools.js +27 -115
- package/dist/collection/components/pci-calculator/pci-calculator.js +3 -14
- package/dist/collection/components/pdf-download/pdf-download.js +6 -27
- package/dist/collection/components/public-notification/public-notification.js +41 -189
- package/dist/collection/components/refine-selection/refine-selection.js +13 -59
- package/dist/collection/components/solution-configuration/solution-configuration.js +13 -48
- package/dist/collection/components/solution-contents/solution-contents.js +4 -13
- package/dist/collection/components/solution-item/solution-item.js +9 -36
- package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +8 -36
- package/dist/collection/components/solution-item-details/solution-item-details.js +16 -35
- package/dist/collection/components/solution-item-icon/solution-item-icon.js +5 -17
- package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +6 -27
- package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +6 -24
- package/dist/collection/components/solution-resource-item/solution-resource-item.js +8 -36
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +7 -31
- package/dist/collection/components/solution-template-data/solution-template-data.js +8 -49
- package/dist/collection/components/solution-variables/solution-variables.js +6 -24
- package/dist/collection/components/spatial-ref/spatial-ref.js +8 -43
- package/dist/collection/components/store-manager/store-manager.js +5 -18
- package/dist/components/basemap-gallery2.js +3 -19
- package/dist/components/buffer-tools2.js +11 -52
- package/dist/components/card-manager2.js +15 -71
- package/dist/components/consent-manager.js +10 -52
- package/dist/components/create-feature2.js +14 -68
- package/dist/components/create-related-feature2.js +8 -44
- package/dist/components/crowdsource-manager.js +59 -250
- package/dist/components/crowdsource-reporter.js +51 -215
- package/dist/components/delete-button2.js +11 -55
- package/dist/components/delete-dialog2.js +6 -35
- package/dist/components/edit-card2.js +8 -43
- package/dist/components/feature-details2.js +16 -74
- package/dist/components/feature-list2.js +23 -103
- package/dist/components/floor-filter2.js +3 -19
- package/dist/components/info-card2.js +18 -85
- package/dist/components/json-editor2.js +5 -28
- package/dist/components/layer-list2.js +10 -50
- package/dist/components/layer-table2.js +39 -171
- package/dist/components/map-card2.js +41 -182
- package/dist/components/map-draw-tools2.js +13 -66
- package/dist/components/map-fullscreen2.js +2 -18
- package/dist/components/map-layer-picker2.js +23 -108
- package/dist/components/map-legend2.js +2 -15
- package/dist/components/map-picker2.js +6 -35
- package/dist/components/map-search2.js +6 -35
- package/dist/components/map-select-tools2.js +30 -138
- package/dist/components/map-tools2.js +25 -115
- package/dist/components/pci-calculator.js +1 -14
- package/dist/components/pdf-download2.js +4 -27
- package/dist/components/public-notification.js +39 -189
- package/dist/components/refine-selection2.js +11 -59
- package/dist/components/solution-configuration.js +13 -48
- package/dist/components/solution-contents2.js +2 -13
- package/dist/components/solution-item-accordion.js +6 -36
- package/dist/components/solution-item-details2.js +14 -35
- package/dist/components/solution-item-icon2.js +3 -17
- package/dist/components/solution-item-sharing2.js +4 -27
- package/dist/components/solution-item2.js +7 -36
- package/dist/components/solution-organization-variables2.js +4 -24
- package/dist/components/solution-resource-item2.js +6 -36
- package/dist/components/solution-spatial-ref2.js +5 -31
- package/dist/components/solution-template-data2.js +8 -49
- package/dist/components/solution-variables2.js +4 -24
- package/dist/components/spatial-ref.js +8 -43
- package/dist/components/store-manager.js +3 -18
- package/dist/esm/{asyncToGenerator-96b2368d.js → asyncToGenerator-e51717ed.js} +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +50 -259
- package/dist/esm/buffer-tools_2.entry.js +29 -123
- package/dist/esm/card-manager_3.entry.js +100 -429
- package/dist/esm/consent-manager.entry.js +15 -57
- package/dist/esm/create-feature_4.entry.js +57 -257
- package/dist/esm/create-related-feature_3.entry.js +37 -171
- package/dist/esm/crowdsource-manager.entry.js +62 -253
- package/dist/esm/crowdsource-reporter.entry.js +54 -218
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +9 -38
- package/dist/esm/{downloadUtils-36d854d2.js → downloadUtils-d04d4095.js} +4 -4
- package/dist/esm/{effects-38bc1195.js → effects-602e7b51.js} +1 -1
- package/dist/esm/feature-list.entry.js +29 -109
- package/dist/esm/{helpers-77bdd30e.js → helpers-520f100c.js} +3 -3
- package/dist/esm/{index-6de7c296.js → index-c247b62b.js} +1 -1
- package/dist/esm/{index-3702583a.js → index-df5db8e9.js} +346 -428
- package/dist/esm/{index.es-87662946.js → index.es-ca80d0c5.js} +2 -2
- package/dist/esm/instant-apps-app-guide.entry.js +5 -5
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +7 -7
- package/dist/esm/instant-apps-control-panel.entry.js +3 -3
- package/dist/esm/instant-apps-create.entry.js +5 -5
- package/dist/esm/instant-apps-export-views.entry.js +5 -5
- package/dist/esm/instant-apps-export.entry.js +5 -5
- package/dist/esm/instant-apps-filter-list_2.entry.js +5 -5
- package/dist/esm/instant-apps-header.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +6 -6
- package/dist/esm/instant-apps-interactive-legend.entry.js +8 -8
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +5 -5
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +8 -8
- package/dist/esm/instant-apps-language-translator.entry.js +8 -8
- package/dist/esm/instant-apps-measurement-tool.entry.js +3 -3
- package/dist/esm/instant-apps-measurement.entry.js +5 -5
- package/dist/esm/instant-apps-popover.entry.js +5 -5
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +5 -5
- package/dist/esm/instant-apps-sign-in.entry.js +5 -5
- package/dist/esm/instant-apps-splash.entry.js +5 -5
- package/dist/esm/instant-apps-time-filter.entry.js +7 -7
- package/dist/esm/json-editor_7.entry.js +50 -228
- package/dist/esm/{languageSwitcher-49bad3f4.js → languageSwitcher-ccdf79d4.js} +1 -1
- package/dist/esm/{languageUtil-2b6e191a.js → languageUtil-2bac3910.js} +1 -1
- package/dist/esm/{loadModules-947ccfd4.js → loadModules-1b0b108c.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{locale-aa656a2c.js → locale-15e42305.js} +2 -2
- package/dist/esm/{locale-b0016f8e.js → locale-29d08ded.js} +3 -3
- package/dist/esm/map-layer-picker.entry.js +28 -113
- package/dist/esm/map-select-tools_3.entry.js +52 -231
- package/dist/esm/pci-calculator.entry.js +2 -15
- package/dist/esm/{popupUtils-64d25cb0.js → popupUtils-b71abb01.js} +2 -2
- package/dist/esm/public-notification.entry.js +46 -196
- package/dist/esm/{publicNotificationStore-70219049.js → publicNotificationStore-9ec5e22a.js} +1 -1
- package/dist/esm/solution-configuration.entry.js +18 -53
- package/dist/esm/solution-contents_3.entry.js +19 -85
- package/dist/esm/solution-item-accordion.entry.js +9 -39
- package/dist/esm/solution-item-icon.entry.js +4 -18
- package/dist/esm/{solution-store-2493275a.js → solution-store-4c39c654.js} +1 -1
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/spatial-ref.entry.js +11 -46
- package/dist/esm/store-manager.entry.js +6 -21
- package/dist/esm/{utils-68015f9d.js → utils-89be1743.js} +2 -2
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources.json +1 -1
- package/dist/solutions-components/assets/t9n/solution-item-accordion/resources_en.json +1 -1
- package/dist/solutions-components/{p-68d49e1a.entry.js → p-0132213f.entry.js} +2 -2
- package/dist/solutions-components/{p-dc188d13.js → p-039ab075.js} +1 -1
- package/dist/solutions-components/p-04277d48.entry.js +6 -0
- package/dist/solutions-components/p-04546ef6.js +6 -0
- package/dist/solutions-components/{p-174fa218.js → p-0607044f.js} +1 -1
- package/dist/solutions-components/p-099379e6.entry.js +6 -0
- package/dist/solutions-components/{p-300ff31e.entry.js → p-0b1c830a.entry.js} +1 -1
- package/dist/solutions-components/{p-ff5db601.entry.js → p-0ea99464.entry.js} +1 -1
- package/dist/solutions-components/p-1054e10a.entry.js +6 -0
- package/dist/solutions-components/p-1adc6874.entry.js +6 -0
- package/dist/solutions-components/{p-d0d21a1f.js → p-258aa58e.js} +1 -1
- package/dist/solutions-components/p-29baf8a2.entry.js +6 -0
- package/dist/solutions-components/{p-eb97b5ad.entry.js → p-2a1ed83a.entry.js} +1 -1
- package/dist/solutions-components/{p-8107be38.entry.js → p-2a7f23fc.entry.js} +1 -1
- package/dist/solutions-components/{p-6da8fe2d.entry.js → p-2cb8c175.entry.js} +1 -1
- package/dist/solutions-components/p-2d3b8412.entry.js +6 -0
- package/dist/solutions-components/p-2d8300ba.entry.js +6 -0
- package/dist/solutions-components/{p-ac122d9e.js → p-3423b5ef.js} +1 -1
- package/dist/solutions-components/{p-fa09caf3.entry.js → p-34338938.entry.js} +1 -1
- package/dist/solutions-components/{p-6eab9d1f.js → p-36e3b39c.js} +2 -2
- package/dist/solutions-components/{p-ea64b72e.entry.js → p-37cc79c6.entry.js} +1 -1
- package/dist/solutions-components/p-38814554.entry.js +6 -0
- package/dist/solutions-components/{p-ee863ffb.entry.js → p-3f8b1062.entry.js} +1 -1
- package/dist/solutions-components/p-436b869c.entry.js +6 -0
- package/dist/solutions-components/{p-08ad0b7a.js → p-438fdc33.js} +1 -1
- package/dist/solutions-components/{p-335a630e.entry.js → p-4454af38.entry.js} +1 -1
- package/dist/solutions-components/p-532ed572.entry.js +6 -0
- package/dist/solutions-components/{p-959cb673.entry.js → p-552fb1c0.entry.js} +1 -1
- package/dist/solutions-components/{p-b560498c.entry.js → p-59a1c5a9.entry.js} +1 -1
- package/dist/solutions-components/p-5e4e0f84.entry.js +6 -0
- package/dist/solutions-components/{p-2b556610.entry.js → p-64a6162f.entry.js} +1 -1
- package/dist/solutions-components/{p-e85da876.entry.js → p-6ac03d17.entry.js} +1 -1
- package/dist/solutions-components/p-6e879de9.entry.js +6 -0
- package/dist/solutions-components/{p-8f7957a2.js → p-7bf7d67b.js} +1 -1
- package/dist/solutions-components/{p-81ae30bd.entry.js → p-86b6f918.entry.js} +1 -1
- package/dist/solutions-components/{p-e23b4193.js → p-8717729a.js} +1 -1
- package/dist/solutions-components/{p-e81e2d83.entry.js → p-8db12ee9.entry.js} +2 -2
- package/dist/solutions-components/{p-173d5fce.js → p-8f973b3d.js} +1 -1
- package/dist/solutions-components/{p-1ddd7128.entry.js → p-97abbf8f.entry.js} +1 -1
- package/dist/solutions-components/{p-ee2cbba0.js → p-a397e773.js} +1 -1
- package/dist/solutions-components/p-b636a8b4.entry.js +6 -0
- package/dist/solutions-components/{p-1890b884.entry.js → p-b6a6fdcf.entry.js} +2 -2
- package/dist/solutions-components/p-b8f29a99.entry.js +6 -0
- package/dist/solutions-components/p-ba472e45.entry.js +6 -0
- package/dist/solutions-components/{p-1dffcc22.entry.js → p-c3aac15b.entry.js} +1 -1
- package/dist/solutions-components/{p-3d20e307.js → p-cd38fc53.js} +1 -1
- package/dist/solutions-components/p-d45b0400.entry.js +6 -0
- package/dist/solutions-components/p-d885880a.entry.js +6 -0
- package/dist/solutions-components/{p-8b218ba7.js → p-da1e098c.js} +1 -1
- package/dist/solutions-components/{p-b40b5be5.entry.js → p-da1e4ff1.entry.js} +1 -1
- package/dist/solutions-components/p-dbf2c455.entry.js +6 -0
- package/dist/solutions-components/{p-2c8360b4.entry.js → p-dda0aa41.entry.js} +1 -1
- package/dist/solutions-components/{p-70e8be5c.entry.js → p-e3e35c14.entry.js} +1 -1
- package/dist/solutions-components/{p-48942eb8.js → p-e6859850.js} +2 -2
- package/dist/solutions-components/{p-699a9557.entry.js → p-e79b69e6.entry.js} +1 -1
- package/dist/solutions-components/p-e996c38f.js +7 -0
- package/dist/solutions-components/{p-f07a02e2.entry.js → p-edfcce2c.entry.js} +1 -1
- package/dist/solutions-components/{p-2dcf8f00.entry.js → p-f292f56e.entry.js} +1 -1
- package/dist/solutions-components/{p-4bdd4009.entry.js → p-f36b4778.entry.js} +1 -1
- package/dist/solutions-components/{p-579628d9.entry.js → p-f457e8be.entry.js} +1 -1
- package/dist/solutions-components/{p-d65f8b73.js → p-f93a9d92.js} +1 -1
- package/dist/solutions-components/p-f99a78f1.entry.js +6 -0
- package/dist/solutions-components/{p-7f6cbe61.entry.js → p-fdf0d66f.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components_commit.txt +7 -7
- package/package.json +2 -2
- package/dist/solutions-components/p-032d4411.entry.js +0 -6
- package/dist/solutions-components/p-055706e3.entry.js +0 -6
- package/dist/solutions-components/p-06970873.entry.js +0 -6
- package/dist/solutions-components/p-1b0588d2.js +0 -7
- package/dist/solutions-components/p-265f5dc4.entry.js +0 -6
- package/dist/solutions-components/p-3c43839b.entry.js +0 -6
- package/dist/solutions-components/p-4426901e.entry.js +0 -6
- package/dist/solutions-components/p-4ebc471b.entry.js +0 -6
- package/dist/solutions-components/p-6d62a4fa.entry.js +0 -6
- package/dist/solutions-components/p-70036eb6.entry.js +0 -6
- package/dist/solutions-components/p-72ae3bf0.entry.js +0 -6
- package/dist/solutions-components/p-777ed6b0.entry.js +0 -6
- package/dist/solutions-components/p-89fbc318.js +0 -6
- package/dist/solutions-components/p-8b5c3c9f.entry.js +0 -6
- package/dist/solutions-components/p-9d953313.entry.js +0 -6
- package/dist/solutions-components/p-a44815ea.entry.js +0 -6
- package/dist/solutions-components/p-acd2699e.entry.js +0 -6
- package/dist/solutions-components/p-afc3ac6d.entry.js +0 -6
- package/dist/solutions-components/p-b1bd3028.entry.js +0 -6
- package/dist/solutions-components/p-e2270562.entry.js +0 -6
- package/dist/solutions-components/p-e90c0e26.entry.js +0 -6
- /package/dist/cjs/{esri-loader-08dc41bd.js → esri-loader-1e8cc247.js} +0 -0
- /package/dist/cjs/{typeof-2a7e2dec.js → typeof-eba0a941.js} +0 -0
- /package/dist/esm/{esri-loader-c6842c6b.js → esri-loader-d10d860d.js} +0 -0
- /package/dist/esm/{typeof-ef2a007d.js → typeof-a3e780e1.js} +0 -0
- /package/dist/solutions-components/{p-4fe489cf.js → p-19bce2cc.js} +0 -0
- /package/dist/solutions-components/{p-0a24ad5f.js → p-3b3f77bc.js} +0 -0
@@ -24,6 +24,12 @@ import { loadModules } from "../../utils/loadModules";
|
|
24
24
|
import { Host, h } from "@stencil/core";
|
25
25
|
import { getLocaleComponentStrings } from "../../utils/locale";
|
26
26
|
export class PdfDownload {
|
27
|
+
constructor() {
|
28
|
+
this.defaultNumLabelsPerPage = undefined;
|
29
|
+
this.disabled = false;
|
30
|
+
this.locale = undefined;
|
31
|
+
this._translations = undefined;
|
32
|
+
}
|
27
33
|
//--------------------------------------------------------------------------
|
28
34
|
//
|
29
35
|
// Host element access
|
@@ -32,33 +38,6 @@ export class PdfDownload {
|
|
32
38
|
el;
|
33
39
|
//--------------------------------------------------------------------------
|
34
40
|
//
|
35
|
-
// Properties (public)
|
36
|
-
//
|
37
|
-
//--------------------------------------------------------------------------
|
38
|
-
/**
|
39
|
-
* number: The default number of labels per page to export
|
40
|
-
*/
|
41
|
-
defaultNumLabelsPerPage;
|
42
|
-
/**
|
43
|
-
* boolean: Controls the enabled/disabled state of download
|
44
|
-
*/
|
45
|
-
disabled = false;
|
46
|
-
/**
|
47
|
-
* string: Locale to use for translation of stings in the UI
|
48
|
-
*/
|
49
|
-
locale;
|
50
|
-
//--------------------------------------------------------------------------
|
51
|
-
//
|
52
|
-
// State (internal)
|
53
|
-
//
|
54
|
-
//--------------------------------------------------------------------------
|
55
|
-
/**
|
56
|
-
* Contains the translations for this component.
|
57
|
-
* All UI strings should be defined here.
|
58
|
-
*/
|
59
|
-
_translations;
|
60
|
-
//--------------------------------------------------------------------------
|
61
|
-
//
|
62
41
|
// Properties (protected)
|
63
42
|
//
|
64
43
|
//--------------------------------------------------------------------------
|
@@ -27,6 +27,47 @@ import { getLocaleComponentStrings } from "../../utils/locale";
|
|
27
27
|
import { consolidateLabels, removeDuplicateLabels } from "../../utils/downloadUtils";
|
28
28
|
import { getAssetPath } from "@stencil/core";
|
29
29
|
export class PublicNotification {
|
30
|
+
constructor() {
|
31
|
+
this.addresseeLayerIds = [];
|
32
|
+
this.bufferColor = [227, 139, 79, 0.8];
|
33
|
+
this.bufferOutlineColor = [255, 255, 255];
|
34
|
+
this.customLabelEnabled = undefined;
|
35
|
+
this.defaultBufferDistance = undefined;
|
36
|
+
this.defaultBufferUnit = undefined;
|
37
|
+
this.defaultExportTitle = "";
|
38
|
+
this.defaultNumLabelsPerPage = 6;
|
39
|
+
this.enableLayerFeatures = true;
|
40
|
+
this.enableLayerFeaturesOnLoad = false;
|
41
|
+
this.enableSearchDistance = true;
|
42
|
+
this.enableSearchDistanceOnLoad = false;
|
43
|
+
this.enableSketchTools = true;
|
44
|
+
this.featureEffect = undefined;
|
45
|
+
this.featureHighlightEnabled = undefined;
|
46
|
+
this.locale = undefined;
|
47
|
+
this.mapView = undefined;
|
48
|
+
this.noResultText = undefined;
|
49
|
+
this.initialNotice = "";
|
50
|
+
this.searchConfiguration = undefined;
|
51
|
+
this.selectionLayerIds = [];
|
52
|
+
this.showRefineSelection = false;
|
53
|
+
this.showSearchSettings = true;
|
54
|
+
this.sketchLineSymbol = undefined;
|
55
|
+
this.sketchPointSymbol = undefined;
|
56
|
+
this.sketchPolygonSymbol = undefined;
|
57
|
+
this._exportGraphics = false;
|
58
|
+
this._addMap = false;
|
59
|
+
this._addResults = true;
|
60
|
+
this._addTitle = false;
|
61
|
+
this._downloadActive = true;
|
62
|
+
this._exportType = EExportType.PDF;
|
63
|
+
this._fetchingData = false;
|
64
|
+
this._isMobile = undefined;
|
65
|
+
this._numDuplicates = 0;
|
66
|
+
this._pageType = EPageType.LIST;
|
67
|
+
this._saveEnabled = false;
|
68
|
+
this._selectionSets = [];
|
69
|
+
this._translations = undefined;
|
70
|
+
}
|
30
71
|
//--------------------------------------------------------------------------
|
31
72
|
//
|
32
73
|
// Host element access
|
@@ -35,195 +76,6 @@ export class PublicNotification {
|
|
35
76
|
el;
|
36
77
|
//--------------------------------------------------------------------------
|
37
78
|
//
|
38
|
-
// Properties (public)
|
39
|
-
//
|
40
|
-
//--------------------------------------------------------------------------
|
41
|
-
/**
|
42
|
-
* string[]: List of layer ids that should be shown as potential addressee layers
|
43
|
-
*/
|
44
|
-
addresseeLayerIds = [];
|
45
|
-
/**
|
46
|
-
* string | number[] | object with r, g, b, a: https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html
|
47
|
-
*/
|
48
|
-
bufferColor = [227, 139, 79, 0.8];
|
49
|
-
/**
|
50
|
-
* string | number[] | object with r, g, b, a: https://developers.arcgis.com/javascript/latest/api-reference/esri-Color.html
|
51
|
-
*/
|
52
|
-
bufferOutlineColor = [255, 255, 255];
|
53
|
-
/**
|
54
|
-
* boolean: When true the user can define a name for each notification list
|
55
|
-
*/
|
56
|
-
customLabelEnabled;
|
57
|
-
/**
|
58
|
-
* number: The default value to show for the buffer distance
|
59
|
-
*/
|
60
|
-
defaultBufferDistance;
|
61
|
-
/**
|
62
|
-
* number: The default value to show for the buffer unit ("feet"|"meters"|"miles"|"kilometers")
|
63
|
-
*/
|
64
|
-
defaultBufferUnit;
|
65
|
-
/**
|
66
|
-
* string: The default value to use for the export title
|
67
|
-
*/
|
68
|
-
defaultExportTitle = "";
|
69
|
-
/**
|
70
|
-
* number: The default number of labels per page to export
|
71
|
-
*/
|
72
|
-
defaultNumLabelsPerPage = 6;
|
73
|
-
/**
|
74
|
-
* boolean: When true users will be allowed to optionally use features from a layer as the selection geometry
|
75
|
-
*/
|
76
|
-
enableLayerFeatures = true;
|
77
|
-
/**
|
78
|
-
* boolean: When true the use features from a layer options will be enabled when the component loads
|
79
|
-
*/
|
80
|
-
enableLayerFeaturesOnLoad = false;
|
81
|
-
/**
|
82
|
-
* boolean: When true users will be allowed to optionally create a buffer around the selection geometry
|
83
|
-
*/
|
84
|
-
enableSearchDistance = true;
|
85
|
-
/**
|
86
|
-
* boolean: When true the serach distance options will be enabled when the component loads
|
87
|
-
*/
|
88
|
-
enableSearchDistanceOnLoad = false;
|
89
|
-
/**
|
90
|
-
* boolean: When true sketch tools will be provided to allow users to draw a selection geometry
|
91
|
-
*/
|
92
|
-
enableSketchTools = true;
|
93
|
-
/**
|
94
|
-
* The effect that will be applied when featureHighlightEnabled is true
|
95
|
-
*
|
96
|
-
* esri/layers/support/FeatureEffect: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureEffect.html
|
97
|
-
*
|
98
|
-
*/
|
99
|
-
featureEffect;
|
100
|
-
/**
|
101
|
-
* boolean: When enabled features will be highlighted when their notification list item is clicked.
|
102
|
-
*/
|
103
|
-
featureHighlightEnabled;
|
104
|
-
/**
|
105
|
-
* string: The current user locale.
|
106
|
-
*/
|
107
|
-
locale;
|
108
|
-
/**
|
109
|
-
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
110
|
-
*/
|
111
|
-
mapView;
|
112
|
-
/**
|
113
|
-
* string: The value to show for no results
|
114
|
-
* when left empty the default text "0 selected features from {layerTitle}" will be shown
|
115
|
-
*/
|
116
|
-
noResultText;
|
117
|
-
/**
|
118
|
-
* string: The value to show in the initial notice to help with on boarding the user.
|
119
|
-
* When left empty the selectLayerAndAdd text from the nls will be used.
|
120
|
-
*/
|
121
|
-
initialNotice = "";
|
122
|
-
/**
|
123
|
-
* ISearchConfiguration: Configuration details for the Search widget
|
124
|
-
*/
|
125
|
-
searchConfiguration;
|
126
|
-
/**
|
127
|
-
* string[]: List of layer ids that should be shown as potential selection layers
|
128
|
-
* when skectching with "Use layer features" option
|
129
|
-
*/
|
130
|
-
selectionLayerIds = [];
|
131
|
-
/**
|
132
|
-
* boolean: When true the refine selection workflow will be included in the UI
|
133
|
-
*/
|
134
|
-
showRefineSelection = false;
|
135
|
-
/**
|
136
|
-
* boolean: When false no buffer distance or unit controls will be exposed
|
137
|
-
*/
|
138
|
-
showSearchSettings = true;
|
139
|
-
/**
|
140
|
-
* esri/symbols/SimpleLineSymbol | JSON representation : https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html
|
141
|
-
*
|
142
|
-
* A JSON representation of the instance in the ArcGIS format.
|
143
|
-
* See the ArcGIS REST API documentation for examples of the structure of various input JSON objects.
|
144
|
-
* https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm
|
145
|
-
*/
|
146
|
-
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
147
|
-
sketchLineSymbol;
|
148
|
-
/**
|
149
|
-
* esri/symbols/SimpleMarkerSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html
|
150
|
-
*
|
151
|
-
* A JSON representation of the instance in the ArcGIS format.
|
152
|
-
* See the ArcGIS REST API documentation for examples of the structure of various input JSON objects.
|
153
|
-
* https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm
|
154
|
-
*/
|
155
|
-
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
156
|
-
sketchPointSymbol;
|
157
|
-
/**
|
158
|
-
* esri/symbols/SimpleFillSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html
|
159
|
-
*
|
160
|
-
* A JSON representation of the instance in the ArcGIS format.
|
161
|
-
* See the ArcGIS REST API documentation for examples of the structure of various input JSON objects.
|
162
|
-
* https://developers.arcgis.com/documentation/common-data-types/symbol-objects.htm
|
163
|
-
*/
|
164
|
-
// eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents
|
165
|
-
sketchPolygonSymbol;
|
166
|
-
//--------------------------------------------------------------------------
|
167
|
-
//
|
168
|
-
// State (internal)
|
169
|
-
//
|
170
|
-
//--------------------------------------------------------------------------
|
171
|
-
/**
|
172
|
-
* boolean: When true a graphics will be added to the map on export
|
173
|
-
*/
|
174
|
-
_exportGraphics = false;
|
175
|
-
/**
|
176
|
-
* boolean: When true a map will be added on export
|
177
|
-
*/
|
178
|
-
_addMap = false;
|
179
|
-
/**
|
180
|
-
* boolean: When true the selected results will be added on export
|
181
|
-
*/
|
182
|
-
_addResults = true;
|
183
|
-
/**
|
184
|
-
* boolean: When true a title will be added above the map on export
|
185
|
-
*/
|
186
|
-
_addTitle = false;
|
187
|
-
/**
|
188
|
-
* boolean: Enabled when we have 1 or more selection sets that is enabled in the download pages.
|
189
|
-
* By default all selection sets are enabled for download when they are first created.
|
190
|
-
*/
|
191
|
-
_downloadActive = true;
|
192
|
-
/**
|
193
|
-
* utils/interfaces/EExportType: PDF or CSV
|
194
|
-
*/
|
195
|
-
_exportType = EExportType.PDF;
|
196
|
-
/**
|
197
|
-
* boolean: Flag that will control a loading indicator on the export button
|
198
|
-
*/
|
199
|
-
_fetchingData = false;
|
200
|
-
/**
|
201
|
-
* boolean: When window size is 600px or less this value will be true
|
202
|
-
*/
|
203
|
-
_isMobile;
|
204
|
-
/**
|
205
|
-
* number: The number of duplicate labels from all selection sets
|
206
|
-
*/
|
207
|
-
_numDuplicates = 0;
|
208
|
-
/**
|
209
|
-
* utils/interfaces/EPageType: LIST | SELECT | EXPORT | REFINE
|
210
|
-
*/
|
211
|
-
_pageType = EPageType.LIST;
|
212
|
-
/**
|
213
|
-
* boolean: Save is enabled when we have 1 or more selected features
|
214
|
-
*/
|
215
|
-
_saveEnabled = false;
|
216
|
-
/**
|
217
|
-
* utils/interfaces/ISelectionSet: An array of user defined selection sets
|
218
|
-
*/
|
219
|
-
_selectionSets = [];
|
220
|
-
/**
|
221
|
-
* Contains the translations for this component.
|
222
|
-
* All UI strings should be defined here.
|
223
|
-
*/
|
224
|
-
_translations;
|
225
|
-
//--------------------------------------------------------------------------
|
226
|
-
//
|
227
79
|
// Properties (protected)
|
228
80
|
//
|
229
81
|
//--------------------------------------------------------------------------
|
@@ -25,6 +25,19 @@ import { queryFeaturesByGeometry } from "../../utils/queryUtils";
|
|
25
25
|
import state from "../../utils/publicNotificationStore";
|
26
26
|
import { getLocaleComponentStrings } from "../../utils/locale";
|
27
27
|
export class RefineSelection {
|
28
|
+
constructor() {
|
29
|
+
this.addresseeLayer = undefined;
|
30
|
+
this.enabledLayerIds = [];
|
31
|
+
this.locale = undefined;
|
32
|
+
this.mapView = undefined;
|
33
|
+
this.selectionSets = [];
|
34
|
+
this.sketchLineSymbol = undefined;
|
35
|
+
this.sketchPointSymbol = undefined;
|
36
|
+
this.sketchPolygonSymbol = undefined;
|
37
|
+
this._translations = undefined;
|
38
|
+
this._selectionMode = ESelectionMode.ADD;
|
39
|
+
this._refineLayer = undefined;
|
40
|
+
}
|
28
41
|
//--------------------------------------------------------------------------
|
29
42
|
//
|
30
43
|
// Host element access
|
@@ -33,65 +46,6 @@ export class RefineSelection {
|
|
33
46
|
el;
|
34
47
|
//--------------------------------------------------------------------------
|
35
48
|
//
|
36
|
-
// Properties (public)
|
37
|
-
//
|
38
|
-
//--------------------------------------------------------------------------
|
39
|
-
/**
|
40
|
-
* esri/views/layers/FeatureLayerView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-FeatureLayerView.html
|
41
|
-
*/
|
42
|
-
addresseeLayer;
|
43
|
-
/**
|
44
|
-
* string[]: Optional list of enabled layer ids
|
45
|
-
* If empty all layers will be available
|
46
|
-
*/
|
47
|
-
enabledLayerIds = [];
|
48
|
-
/**
|
49
|
-
* string: The current user locale.
|
50
|
-
*/
|
51
|
-
locale;
|
52
|
-
/**
|
53
|
-
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
54
|
-
*/
|
55
|
-
mapView;
|
56
|
-
/**
|
57
|
-
* utils/interfaces/ISelectionSet: An array of user defined selection sets
|
58
|
-
*/
|
59
|
-
selectionSets = [];
|
60
|
-
/**
|
61
|
-
* esri/symbols/SimpleLineSymbol | JSON representation : https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html
|
62
|
-
*
|
63
|
-
*/
|
64
|
-
sketchLineSymbol;
|
65
|
-
/**
|
66
|
-
* esri/symbols/SimpleMarkerSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleMarkerSymbol.html
|
67
|
-
*
|
68
|
-
*/
|
69
|
-
sketchPointSymbol;
|
70
|
-
/**
|
71
|
-
* esri/symbols/SimpleFillSymbol | JSON representation: https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleFillSymbol.html
|
72
|
-
*
|
73
|
-
*/
|
74
|
-
sketchPolygonSymbol;
|
75
|
-
//--------------------------------------------------------------------------
|
76
|
-
//
|
77
|
-
// State (internal)
|
78
|
-
//
|
79
|
-
//--------------------------------------------------------------------------
|
80
|
-
/**
|
81
|
-
* Contains the translations for this component.
|
82
|
-
* All UI strings should be defined here.
|
83
|
-
*/
|
84
|
-
_translations;
|
85
|
-
/**
|
86
|
-
* The current selection mode ADD or REMOVE
|
87
|
-
*/
|
88
|
-
_selectionMode = ESelectionMode.ADD;
|
89
|
-
/**
|
90
|
-
* The current layer to refine
|
91
|
-
*/
|
92
|
-
_refineLayer;
|
93
|
-
//--------------------------------------------------------------------------
|
94
|
-
//
|
95
49
|
// Properties (protected)
|
96
50
|
//
|
97
51
|
//--------------------------------------------------------------------------
|
@@ -30,34 +30,12 @@ export class SolutionConfiguration {
|
|
30
30
|
//
|
31
31
|
//--------------------------------------------------------------------------
|
32
32
|
el;
|
33
|
-
//--------------------------------------------------------------------------
|
34
|
-
//
|
35
|
-
// Properties (public)
|
36
|
-
//
|
37
|
-
//--------------------------------------------------------------------------
|
38
|
-
/**
|
39
|
-
* Credentials for requests, which can be a serialized UserSession
|
40
|
-
*/
|
41
|
-
authentication = new UserSession({});
|
42
|
-
/**
|
43
|
-
* string: Locale to use for translation of stings in the UI
|
44
|
-
*/
|
45
|
-
locale;
|
46
|
-
serializedAuthentication = "";
|
47
33
|
async serializedAuthenticationWatchHandler() {
|
48
34
|
this.authentication = this.serializedAuthentication ? UserSession.deserialize(this.serializedAuthentication) : new UserSession({});
|
49
35
|
}
|
50
|
-
/**
|
51
|
-
* Contains the current solution item id
|
52
|
-
*/
|
53
|
-
solutionItemId = "";
|
54
36
|
async valueWatchHandler() {
|
55
37
|
await this._loadSolution(this.solutionItemId);
|
56
38
|
}
|
57
|
-
/**
|
58
|
-
* Used to show/hide loading indicator
|
59
|
-
*/
|
60
|
-
showLoading = false;
|
61
39
|
//--------------------------------------------------------------------------
|
62
40
|
//
|
63
41
|
// Watch handlers
|
@@ -77,6 +55,19 @@ export class SolutionConfiguration {
|
|
77
55
|
//
|
78
56
|
//--------------------------------------------------------------------------
|
79
57
|
constructor() {
|
58
|
+
this.authentication = new UserSession({});
|
59
|
+
this.locale = undefined;
|
60
|
+
this.serializedAuthentication = "";
|
61
|
+
this.solutionItemId = "";
|
62
|
+
this.showLoading = false;
|
63
|
+
this._currentEditItemId = "";
|
64
|
+
this._organizationVariables = "";
|
65
|
+
this._solutionContentsComponent = undefined;
|
66
|
+
this._solutionIsLoaded = false;
|
67
|
+
this._solutionVariables = "";
|
68
|
+
this._templateHierarchy = [];
|
69
|
+
this._translations = undefined;
|
70
|
+
this._treeOpen = true;
|
80
71
|
if (this.serializedAuthentication) {
|
81
72
|
this.authentication = UserSession.deserialize(this.serializedAuthentication);
|
82
73
|
}
|
@@ -116,32 +107,6 @@ export class SolutionConfiguration {
|
|
116
107
|
? h("calcite-tab", { class: "config-tab" }, h("div", { class: "config-solution" }, h("solution-spatial-ref", { enableDefault: !!spatialReferenceInfo.default, enabled: spatialReferenceInfo?.enabled, featureServices: state.getStoreInfo("featureServices").map(fs => fs.name), id: "configure-solution-spatial-ref", key: `${this.solutionItemId}-spatial-ref`, locale: this.locale })))
|
117
108
|
: null)))));
|
118
109
|
}
|
119
|
-
//--------------------------------------------------------------------------
|
120
|
-
//
|
121
|
-
// Properties (protected)
|
122
|
-
//
|
123
|
-
//--------------------------------------------------------------------------
|
124
|
-
/**
|
125
|
-
* Contains the current item we are working with
|
126
|
-
*/
|
127
|
-
_currentEditItemId = "";
|
128
|
-
_organizationVariables = "";
|
129
|
-
_solutionContentsComponent;
|
130
|
-
_solutionIsLoaded = false;
|
131
|
-
_solutionVariables = "";
|
132
|
-
/**
|
133
|
-
* Contains the hierarchy of template items for the current solution.
|
134
|
-
*/
|
135
|
-
_templateHierarchy = [];
|
136
|
-
/**
|
137
|
-
* Contains the _translations for this component.
|
138
|
-
* All UI strings should be defined here.
|
139
|
-
*/
|
140
|
-
_translations;
|
141
|
-
/**
|
142
|
-
* Used to show/hide the content tree
|
143
|
-
*/
|
144
|
-
_treeOpen = true;
|
145
110
|
_solutionStoreHasChanges = false;
|
146
111
|
_solutionEditorHasChanges = false;
|
147
112
|
_solutionEditorHasErrors = false;
|
@@ -20,25 +20,16 @@
|
|
20
20
|
*/
|
21
21
|
import { Host, h } from "@stencil/core";
|
22
22
|
export class SolutionContents {
|
23
|
+
constructor() {
|
24
|
+
this.selectedItemId = undefined;
|
25
|
+
this.templateHierarchy = [];
|
26
|
+
}
|
23
27
|
//--------------------------------------------------------------------------
|
24
28
|
//
|
25
29
|
// Host element access
|
26
30
|
//
|
27
31
|
//--------------------------------------------------------------------------
|
28
32
|
el;
|
29
|
-
//--------------------------------------------------------------------------
|
30
|
-
//
|
31
|
-
// Properties (public)
|
32
|
-
//
|
33
|
-
//--------------------------------------------------------------------------
|
34
|
-
/**
|
35
|
-
* Contains the current item that is selected.
|
36
|
-
*/
|
37
|
-
selectedItemId;
|
38
|
-
/**
|
39
|
-
* Contains the public value for this component.
|
40
|
-
*/
|
41
|
-
templateHierarchy = [];
|
42
33
|
valueWatchHandler(v, oldV) {
|
43
34
|
if (v && v !== oldV && Array.isArray(v) && v.length > 0) {
|
44
35
|
this._treeItemSelected(v[0].id);
|
@@ -22,41 +22,25 @@ import { h, Host } from "@stencil/core";
|
|
22
22
|
import state from "../../utils/solution-store";
|
23
23
|
import { getLocaleComponentStrings } from "../../utils/locale";
|
24
24
|
export class SolutionItem {
|
25
|
+
constructor() {
|
26
|
+
this.authentication = undefined;
|
27
|
+
this.itemId = "";
|
28
|
+
this.locale = undefined;
|
29
|
+
this.solutionVariables = "";
|
30
|
+
this.organizationVariables = "";
|
31
|
+
this.itemType = undefined;
|
32
|
+
this._translations = undefined;
|
33
|
+
}
|
25
34
|
//--------------------------------------------------------------------------
|
26
35
|
//
|
27
36
|
// Host element access
|
28
37
|
//
|
29
38
|
//--------------------------------------------------------------------------
|
30
39
|
el;
|
31
|
-
//--------------------------------------------------------------------------
|
32
|
-
//
|
33
|
-
// Properties (public)
|
34
|
-
//
|
35
|
-
//--------------------------------------------------------------------------
|
36
|
-
/**
|
37
|
-
* Credentials for requests
|
38
|
-
*/
|
39
|
-
authentication;
|
40
|
-
/**
|
41
|
-
* A template's itemId.
|
42
|
-
*/
|
43
|
-
itemId = "";
|
44
40
|
itemIdWatchHandler() {
|
45
41
|
const itemEdit = state.getItemInfo(this.itemId);
|
46
42
|
this.itemType = itemEdit.type;
|
47
43
|
}
|
48
|
-
/**
|
49
|
-
* string: Locale to use for translation of stings in the UI
|
50
|
-
*/
|
51
|
-
locale;
|
52
|
-
/**
|
53
|
-
* Contains the solution based variables
|
54
|
-
*/
|
55
|
-
solutionVariables = "";
|
56
|
-
/**
|
57
|
-
* Contains the organization based variables
|
58
|
-
*/
|
59
|
-
organizationVariables = "";
|
60
44
|
//--------------------------------------------------------------------------
|
61
45
|
//
|
62
46
|
// Watch handlers
|
@@ -89,17 +73,6 @@ export class SolutionItem {
|
|
89
73
|
}
|
90
74
|
//--------------------------------------------------------------------------
|
91
75
|
//
|
92
|
-
// Properties (protected)
|
93
|
-
//
|
94
|
-
//--------------------------------------------------------------------------
|
95
|
-
itemType;
|
96
|
-
/**
|
97
|
-
* Contains the translations for this component.
|
98
|
-
* All UI strings should be defined here.
|
99
|
-
*/
|
100
|
-
_translations;
|
101
|
-
//--------------------------------------------------------------------------
|
102
|
-
//
|
103
76
|
// Event Listeners
|
104
77
|
//
|
105
78
|
//--------------------------------------------------------------------------
|
@@ -21,6 +21,13 @@
|
|
21
21
|
import { Host, h } from "@stencil/core";
|
22
22
|
import { getLocaleComponentStrings } from "../../utils/locale";
|
23
23
|
export class SolutionItemAccordion {
|
24
|
+
constructor() {
|
25
|
+
this.locale = undefined;
|
26
|
+
this.listSelectionMode = "none";
|
27
|
+
this.templateInfos = [];
|
28
|
+
this._sortedTemplateInfos = [];
|
29
|
+
this._translations = undefined;
|
30
|
+
}
|
24
31
|
//--------------------------------------------------------------------------
|
25
32
|
//
|
26
33
|
// Host element access
|
@@ -29,41 +36,6 @@ export class SolutionItemAccordion {
|
|
29
36
|
el;
|
30
37
|
//--------------------------------------------------------------------------
|
31
38
|
//
|
32
|
-
// Properties (public)
|
33
|
-
//
|
34
|
-
//--------------------------------------------------------------------------
|
35
|
-
/**
|
36
|
-
* string: Locale to use for translation of stings in the UI
|
37
|
-
*/
|
38
|
-
locale;
|
39
|
-
/**
|
40
|
-
* Specifies the selection mode of the item-type lists used in the component, where:
|
41
|
-
* "multiple" allows any number of selections,
|
42
|
-
* "single" allows only one selection,
|
43
|
-
* "single-persist" allows one selection and prevents de-selection, and
|
44
|
-
* "none" does not allow any selections (default)
|
45
|
-
*/
|
46
|
-
listSelectionMode = "none";
|
47
|
-
/**
|
48
|
-
* ITemplateInfo[]: Collection of template infos
|
49
|
-
*/
|
50
|
-
templateInfos = [];
|
51
|
-
//--------------------------------------------------------------------------
|
52
|
-
//
|
53
|
-
// State (internal)
|
54
|
-
//
|
55
|
-
//--------------------------------------------------------------------------
|
56
|
-
/**
|
57
|
-
* ITemplateInfo[]: Collection of sorted template infos
|
58
|
-
*/
|
59
|
-
_sortedTemplateInfos = [];
|
60
|
-
/**
|
61
|
-
* Contains the translations for this component.
|
62
|
-
* All UI strings should be defined here.
|
63
|
-
*/
|
64
|
-
_translations;
|
65
|
-
//--------------------------------------------------------------------------
|
66
|
-
//
|
67
39
|
// Properties (protected)
|
68
40
|
//
|
69
41
|
//--------------------------------------------------------------------------
|
@@ -270,7 +242,7 @@ export class SolutionItemAccordion {
|
|
270
242
|
this._deselectOthers(templateInfo.id);
|
271
243
|
this.solutionItemSelect.emit({ itemId: templateInfo.id, selected: true });
|
272
244
|
}, onMouseEnter: () => this.solutionItemHover.emit({ itemId: templateInfo.id, entering: true }), onMouseLeave: () => this.solutionItemHover.emit({ itemId: templateInfo.id, entering: false }), value: templateInfo.id }, templateInfo.url
|
273
|
-
? h("calcite-action", { icon: "launch", onClick: () => window.open(templateInfo.url, "_blank"),
|
245
|
+
? h("div", { slot: "actions-end" }, h("calcite-action", { icon: "launch", id: templateInfo.id + "-launch", onClick: () => window.open(templateInfo.url, "_blank"), text: "" }), h("calcite-tooltip", { "overlay-positioning": "fixed", "reference-element": templateInfo.id + "-launch" }, h("span", null, this._translations?.openDetails)))
|
274
246
|
: null));
|
275
247
|
}
|
276
248
|
/**
|