@esri/solutions-components 0.11.18 → 0.11.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +49 -258
- package/dist/cjs/buffer-tools_2.cjs.entry.js +30 -123
- package/dist/cjs/card-manager_3.cjs.entry.js +98 -427
- package/dist/cjs/consent-manager.cjs.entry.js +12 -54
- package/dist/cjs/create-feature_4.cjs.entry.js +88 -287
- package/dist/cjs/create-related-feature_3.cjs.entry.js +36 -170
- package/dist/cjs/crowdsource-manager.cjs.entry.js +61 -253
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +56 -219
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +8 -37
- package/dist/cjs/{downloadUtils-9abff913.js → downloadUtils-fcae8eb1.js} +2 -2
- package/dist/cjs/feature-list.cjs.entry.js +27 -107
- package/dist/cjs/{helpers-a65cb83a.js → helpers-8d452256.js} +1 -1
- 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/instant-apps-app-guide.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-filter-list_2.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
- package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-language-translator.cjs.entry.js +4 -4
- package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-splash.cjs.entry.js +2 -2
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +3 -3
- package/dist/cjs/json-editor_7.cjs.entry.js +49 -227
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-c09e93fb.js → locale-1c60be9c.js} +1 -1
- package/dist/cjs/{locale-0a273172.js → locale-da41a06f.js} +1 -1
- package/dist/cjs/map-layer-picker.cjs.entry.js +27 -112
- package/dist/cjs/map-select-tools_3.cjs.entry.js +50 -229
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -15
- package/dist/cjs/{popupUtils-fc7557da.js → popupUtils-87b006a6.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +44 -194
- package/dist/cjs/{publicNotificationStore-ee00411f.js → publicNotificationStore-beb782de.js} +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +17 -52
- package/dist/cjs/solution-contents_3.cjs.entry.js +18 -84
- package/dist/cjs/solution-item-accordion.cjs.entry.js +8 -38
- 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 +3 -3
- package/dist/cjs/spatial-ref.cjs.entry.js +10 -45
- package/dist/cjs/store-manager.cjs.entry.js +6 -21
- package/dist/cjs/{utils-30344ce0.js → utils-3e512114.js} +2 -2
- package/dist/collection/assets/t9n/create-feature/resources.json +1 -1
- package/dist/collection/assets/t9n/create-feature/resources_en.json +1 -1
- 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 +139 -171
- package/dist/collection/components/create-related-feature/create-related-feature.js +10 -44
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +61 -251
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +75 -217
- 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 +17 -67
- 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 +55 -107
- package/dist/components/create-related-feature2.js +8 -44
- package/dist/components/crowdsource-manager.js +59 -251
- package/dist/components/crowdsource-reporter.js +55 -217
- 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 +15 -67
- 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/basemap-gallery_7.entry.js +49 -258
- package/dist/esm/buffer-tools_2.entry.js +30 -123
- package/dist/esm/card-manager_3.entry.js +98 -427
- package/dist/esm/consent-manager.entry.js +12 -54
- package/dist/esm/create-feature_4.entry.js +88 -287
- package/dist/esm/create-related-feature_3.entry.js +36 -170
- package/dist/esm/crowdsource-manager.entry.js +61 -253
- package/dist/esm/crowdsource-reporter.entry.js +56 -219
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +8 -37
- package/dist/esm/{downloadUtils-36d854d2.js → downloadUtils-078cd709.js} +2 -2
- package/dist/esm/feature-list.entry.js +27 -107
- package/dist/esm/{helpers-77bdd30e.js → helpers-15d5cd56.js} +1 -1
- 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/instant-apps-app-guide.entry.js +2 -2
- package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +4 -4
- package/dist/esm/instant-apps-control-panel.entry.js +1 -1
- package/dist/esm/instant-apps-create.entry.js +2 -2
- package/dist/esm/instant-apps-export-views.entry.js +2 -2
- package/dist/esm/instant-apps-export.entry.js +2 -2
- package/dist/esm/instant-apps-filter-list_2.entry.js +2 -2
- package/dist/esm/instant-apps-header.entry.js +1 -1
- package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
- package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
- package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
- package/dist/esm/instant-apps-landing-page.entry.js +1 -1
- package/dist/esm/instant-apps-language-switcher.entry.js +4 -4
- package/dist/esm/instant-apps-language-translator.entry.js +4 -4
- package/dist/esm/instant-apps-measurement-tool.entry.js +1 -1
- package/dist/esm/instant-apps-measurement.entry.js +2 -2
- package/dist/esm/instant-apps-popover.entry.js +2 -2
- package/dist/esm/instant-apps-popovers.entry.js +1 -1
- package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
- package/dist/esm/instant-apps-sign-in.entry.js +2 -2
- package/dist/esm/instant-apps-splash.entry.js +2 -2
- package/dist/esm/instant-apps-time-filter.entry.js +3 -3
- package/dist/esm/json-editor_7.entry.js +49 -227
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-aa656a2c.js → locale-7874c756.js} +1 -1
- package/dist/esm/{locale-b0016f8e.js → locale-e02b0e14.js} +1 -1
- package/dist/esm/map-layer-picker.entry.js +27 -112
- package/dist/esm/map-select-tools_3.entry.js +50 -229
- package/dist/esm/pci-calculator.entry.js +2 -15
- package/dist/esm/{popupUtils-64d25cb0.js → popupUtils-6a965512.js} +2 -2
- package/dist/esm/public-notification.entry.js +44 -194
- package/dist/esm/{publicNotificationStore-70219049.js → publicNotificationStore-9ec5e22a.js} +1 -1
- package/dist/esm/solution-configuration.entry.js +17 -52
- package/dist/esm/solution-contents_3.entry.js +18 -84
- package/dist/esm/solution-item-accordion.entry.js +8 -38
- 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 +4 -4
- package/dist/esm/spatial-ref.entry.js +10 -45
- package/dist/esm/store-manager.entry.js +6 -21
- package/dist/esm/{utils-68015f9d.js → utils-6fe5b5fa.js} +2 -2
- package/dist/solutions-components/assets/t9n/create-feature/resources.json +1 -1
- package/dist/solutions-components/assets/t9n/create-feature/resources_en.json +1 -1
- 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-00ec642f.entry.js +6 -0
- package/dist/solutions-components/p-02c4e6fc.entry.js +6 -0
- package/dist/solutions-components/{p-68d49e1a.entry.js → p-0326f1f4.entry.js} +2 -2
- package/dist/solutions-components/{p-8f7957a2.js → p-1e1dfef6.js} +1 -1
- package/dist/solutions-components/p-244316dd.entry.js +6 -0
- package/dist/solutions-components/p-2460cf10.entry.js +6 -0
- package/dist/solutions-components/{p-173d5fce.js → p-2884ca49.js} +1 -1
- package/dist/solutions-components/p-38814554.entry.js +6 -0
- package/dist/solutions-components/{p-ee863ffb.entry.js → p-3ce5c7fd.entry.js} +1 -1
- package/dist/solutions-components/{p-ee2cbba0.js → p-404cbf48.js} +1 -1
- package/dist/solutions-components/{p-2dcf8f00.entry.js → p-41a3b49a.entry.js} +1 -1
- package/dist/solutions-components/{p-579628d9.entry.js → p-443168f0.entry.js} +1 -1
- package/dist/solutions-components/{p-81ae30bd.entry.js → p-4ced7b11.entry.js} +1 -1
- package/dist/solutions-components/{p-eb97b5ad.entry.js → p-4d5dd39e.entry.js} +1 -1
- package/dist/solutions-components/{p-699a9557.entry.js → p-4e7514a3.entry.js} +1 -1
- package/dist/solutions-components/{p-fa09caf3.entry.js → p-4f7fb338.entry.js} +1 -1
- package/dist/solutions-components/{p-959cb673.entry.js → p-552fb1c0.entry.js} +1 -1
- package/dist/solutions-components/{p-f07a02e2.entry.js → p-5786b9da.entry.js} +1 -1
- package/dist/solutions-components/p-5a202f3f.entry.js +6 -0
- 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-7f6cbe61.entry.js → p-65105504.entry.js} +1 -1
- package/dist/solutions-components/p-698656b8.entry.js +6 -0
- package/dist/solutions-components/p-7251848d.entry.js +6 -0
- package/dist/solutions-components/{p-1890b884.entry.js → p-72d04c7a.entry.js} +2 -2
- package/dist/solutions-components/p-832707fd.entry.js +6 -0
- package/dist/solutions-components/{p-e81e2d83.entry.js → p-837e0939.entry.js} +2 -2
- package/dist/solutions-components/{p-3d20e307.js → p-84bb6925.js} +1 -1
- package/dist/solutions-components/{p-e23b4193.js → p-8717729a.js} +1 -1
- package/dist/solutions-components/p-8859b622.entry.js +6 -0
- package/dist/solutions-components/{p-300ff31e.entry.js → p-8a010f9e.entry.js} +1 -1
- package/dist/solutions-components/{p-e85da876.entry.js → p-8dd677dd.entry.js} +1 -1
- package/dist/solutions-components/{p-ea64b72e.entry.js → p-9927342d.entry.js} +1 -1
- package/dist/solutions-components/{p-1dffcc22.entry.js → p-a277d08c.entry.js} +1 -1
- package/dist/solutions-components/p-a5eaf7fe.entry.js +6 -0
- package/dist/solutions-components/{p-b40b5be5.entry.js → p-aad84d69.entry.js} +1 -1
- package/dist/solutions-components/{p-b560498c.entry.js → p-b394f504.entry.js} +1 -1
- package/dist/solutions-components/p-b636a8b4.entry.js +6 -0
- package/dist/solutions-components/{p-1ddd7128.entry.js → p-ba4e219a.entry.js} +1 -1
- package/dist/solutions-components/{p-d0d21a1f.js → p-bf04c6f4.js} +2 -2
- package/dist/solutions-components/{p-335a630e.entry.js → p-c6c697e5.entry.js} +1 -1
- package/dist/solutions-components/{p-2c8360b4.entry.js → p-d324196d.entry.js} +1 -1
- package/dist/solutions-components/{p-8b218ba7.js → p-da1e098c.js} +1 -1
- package/dist/solutions-components/{p-6eab9d1f.js → p-db3391b9.js} +1 -1
- package/dist/solutions-components/p-de42e8b2.entry.js +6 -0
- 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-e996c38f.js +7 -0
- package/dist/solutions-components/p-ea566af0.entry.js +6 -0
- package/dist/solutions-components/p-eb3c867f.entry.js +6 -0
- package/dist/solutions-components/p-ed1ecb5b.entry.js +6 -0
- package/dist/solutions-components/p-ee3bb943.entry.js +6 -0
- package/dist/solutions-components/{p-ff5db601.entry.js → p-f165921f.entry.js} +1 -1
- package/dist/solutions-components/{p-4bdd4009.entry.js → p-f75786a8.entry.js} +1 -1
- package/dist/solutions-components/{p-8107be38.entry.js → p-f956c598.entry.js} +1 -1
- package/dist/solutions-components/{p-6da8fe2d.entry.js → p-fa663804.entry.js} +1 -1
- package/dist/solutions-components/{p-afc3ac6d.entry.js → p-ff317687.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/types/components/create-feature/create-feature.d.ts +54 -50
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +4 -0
- package/dist/types/components.d.ts +16 -0
- 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-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-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
@@ -22,6 +22,16 @@ import { h, Fragment } from "@stencil/core";
|
|
22
22
|
import { loadModules } from "../../utils/loadModules";
|
23
23
|
import { getLocaleComponentStrings } from "../../utils/locale";
|
24
24
|
export class CreateRelatedFeature {
|
25
|
+
constructor() {
|
26
|
+
this.locale = undefined;
|
27
|
+
this.mapView = undefined;
|
28
|
+
this.table = undefined;
|
29
|
+
this.selectedFeature = undefined;
|
30
|
+
this.customizeSubmit = false;
|
31
|
+
this.showGuidingMsg = true;
|
32
|
+
this._editorLoading = false;
|
33
|
+
this._translations = undefined;
|
34
|
+
}
|
25
35
|
//--------------------------------------------------------------------------
|
26
36
|
//
|
27
37
|
// Host element access
|
@@ -30,50 +40,6 @@ export class CreateRelatedFeature {
|
|
30
40
|
el;
|
31
41
|
//--------------------------------------------------------------------------
|
32
42
|
//
|
33
|
-
// Properties (public)
|
34
|
-
//
|
35
|
-
//--------------------------------------------------------------------------
|
36
|
-
/**
|
37
|
-
* string: Locale to use for translation of stings in the UI
|
38
|
-
*/
|
39
|
-
locale;
|
40
|
-
/**
|
41
|
-
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
42
|
-
*/
|
43
|
-
mapView;
|
44
|
-
/**
|
45
|
-
* __esri.FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
46
|
-
*/
|
47
|
-
table;
|
48
|
-
/**
|
49
|
-
* __esri.Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
|
50
|
-
*/
|
51
|
-
selectedFeature;
|
52
|
-
/**
|
53
|
-
* boolean: Set this to true when have a custom submit button in the app.
|
54
|
-
* This will hide the header and footer elements of the editor and user needs to execute the submit method manually.
|
55
|
-
*/
|
56
|
-
customizeSubmit = false;
|
57
|
-
/**
|
58
|
-
* boolean: When true the notice message should be shown
|
59
|
-
*/
|
60
|
-
showGuidingMsg = true;
|
61
|
-
//--------------------------------------------------------------------------
|
62
|
-
//
|
63
|
-
// State (internal)
|
64
|
-
//
|
65
|
-
//--------------------------------------------------------------------------
|
66
|
-
/**
|
67
|
-
* boolean: When true a loading indicator will be shown while the editor loads
|
68
|
-
*/
|
69
|
-
_editorLoading = false;
|
70
|
-
/**
|
71
|
-
* Contains the translations for this component.
|
72
|
-
* All UI strings should be defined here.
|
73
|
-
*/
|
74
|
-
_translations;
|
75
|
-
//--------------------------------------------------------------------------
|
76
|
-
//
|
77
43
|
// Properties (protected)
|
78
44
|
//
|
79
45
|
//--------------------------------------------------------------------------
|
@@ -23,6 +23,65 @@ import { getLocaleComponentStrings } from "../../utils/locale";
|
|
23
23
|
import { ELayoutMode } from "../../utils/interfaces";
|
24
24
|
import { getLayerOrTable } from "../../utils/mapViewUtils";
|
25
25
|
export class CrowdsourceManager {
|
26
|
+
constructor() {
|
27
|
+
this.appLayout = undefined;
|
28
|
+
this.appProxies = undefined;
|
29
|
+
this.basemapConfig = undefined;
|
30
|
+
this.coverPageEnabled = undefined;
|
31
|
+
this.customInfoText = undefined;
|
32
|
+
this.defaultAppLayout = undefined;
|
33
|
+
this.defaultCenter = "";
|
34
|
+
this.defaultGlobalId = "";
|
35
|
+
this.defaultLayer = "";
|
36
|
+
this.defaultLevel = "";
|
37
|
+
this.defaultOid = "";
|
38
|
+
this.defaultWebmap = "";
|
39
|
+
this.honorMapFieldSettings = false;
|
40
|
+
this.introductionWindowEnabled = false;
|
41
|
+
this.enableAutoRefresh = false;
|
42
|
+
this.enableBasemap = true;
|
43
|
+
this.enableColumnReorder = true;
|
44
|
+
this.enableCSV = true;
|
45
|
+
this.enableFloorFilter = true;
|
46
|
+
this.enableFullscreen = true;
|
47
|
+
this.enableHome = true;
|
48
|
+
this.enableLegend = true;
|
49
|
+
this.enableSearch = true;
|
50
|
+
this.enableShare = false;
|
51
|
+
this.enableZoom = true;
|
52
|
+
this.locale = undefined;
|
53
|
+
this.mapInfos = [];
|
54
|
+
this.onlyShowUpdatableLayers = true;
|
55
|
+
this.popupHeaderColor = undefined;
|
56
|
+
this.popupHeaderHoverColor = undefined;
|
57
|
+
this.popupHeaderHoverTextColor = undefined;
|
58
|
+
this.popupHeaderTextColor = undefined;
|
59
|
+
this.searchConfiguration = undefined;
|
60
|
+
this.shareIncludeEmbed = undefined;
|
61
|
+
this.shareIncludeSocial = undefined;
|
62
|
+
this.showNewestFirst = true;
|
63
|
+
this.theme = "light";
|
64
|
+
this.zoomAndScrollToSelected = false;
|
65
|
+
this.zoomToScale = undefined;
|
66
|
+
this._deleteDialogOpen = false;
|
67
|
+
this._enableCreateFeatures = true;
|
68
|
+
this._hideFooter = false;
|
69
|
+
this._hideTable = false;
|
70
|
+
this._isMobile = false;
|
71
|
+
this._isPortraitMobile = false;
|
72
|
+
this._translations = undefined;
|
73
|
+
this._layer = undefined;
|
74
|
+
this._layoutMode = ELayoutMode.GRID;
|
75
|
+
this._mapInfo = undefined;
|
76
|
+
this._mapView = undefined;
|
77
|
+
this._panelOpen = true;
|
78
|
+
this._numSelected = 0;
|
79
|
+
this._filterOpen = false;
|
80
|
+
this._showInformationHeader = true;
|
81
|
+
this._layerIds = undefined;
|
82
|
+
this._isLoading = true;
|
83
|
+
this._mapExtentFilterChecked = undefined;
|
84
|
+
}
|
26
85
|
//--------------------------------------------------------------------------
|
27
86
|
//
|
28
87
|
// Host element access
|
@@ -31,255 +90,6 @@ export class CrowdsourceManager {
|
|
31
90
|
el;
|
32
91
|
//--------------------------------------------------------------------------
|
33
92
|
//
|
34
|
-
// Properties (public)
|
35
|
-
//
|
36
|
-
//--------------------------------------------------------------------------
|
37
|
-
/**
|
38
|
-
* AppLayout: The type of layout the application should use.
|
39
|
-
* Valid values: "mapView" or "tableView" or "splitView"
|
40
|
-
*/
|
41
|
-
appLayout;
|
42
|
-
/**
|
43
|
-
* Array of objects containing proxy information for premium platform services.
|
44
|
-
*/
|
45
|
-
appProxies;
|
46
|
-
/**
|
47
|
-
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
48
|
-
*/
|
49
|
-
basemapConfig;
|
50
|
-
/**
|
51
|
-
* boolean: When true a cover page has been enabled in the consuming application.
|
52
|
-
* Also when true a floating button will be shown in the lower right of the window that
|
53
|
-
* will emit an event when clicked that the consuming application can respond to that will open the cover page.
|
54
|
-
*/
|
55
|
-
coverPageEnabled;
|
56
|
-
/**
|
57
|
-
* string: custom notification text to display in the card manager
|
58
|
-
*/
|
59
|
-
customInfoText;
|
60
|
-
/**
|
61
|
-
* string: default layout the application should use
|
62
|
-
*/
|
63
|
-
defaultAppLayout;
|
64
|
-
/**
|
65
|
-
* string: default center point values for the map
|
66
|
-
* ; delimited x;y pair
|
67
|
-
*/
|
68
|
-
defaultCenter = "";
|
69
|
-
/**
|
70
|
-
* string: Global ID of the feature to select
|
71
|
-
*/
|
72
|
-
defaultGlobalId = "";
|
73
|
-
/**
|
74
|
-
* string: when provided this layer ID will be used when the app loads
|
75
|
-
*/
|
76
|
-
defaultLayer = "";
|
77
|
-
/**
|
78
|
-
* string: default zoom level
|
79
|
-
*/
|
80
|
-
defaultLevel = "";
|
81
|
-
/**
|
82
|
-
* string: Object ID of feature to select
|
83
|
-
*/
|
84
|
-
defaultOid = "";
|
85
|
-
/**
|
86
|
-
* string: Item ID of the web map that should be selected by default
|
87
|
-
*/
|
88
|
-
defaultWebmap = "";
|
89
|
-
/**
|
90
|
-
* boolean: when true we will honor field order and visibility that may have been defined
|
91
|
-
* in the map viewer if no field order is defined in the mapInfo.
|
92
|
-
*
|
93
|
-
* Field order defined in the mapInfo as would be the case for Instant App configurations
|
94
|
-
* will always override this map level setting.
|
95
|
-
*/
|
96
|
-
honorMapFieldSettings = false;
|
97
|
-
/**
|
98
|
-
* boolean: When true a introduction window has been enabled in the consuming application.
|
99
|
-
* Also when true a floating button will be shown in the lower right of the window that
|
100
|
-
* will emit an event when clicked that the consuming application can respond to that will open the introduction window.
|
101
|
-
*/
|
102
|
-
introductionWindowEnabled = false;
|
103
|
-
/**
|
104
|
-
* boolean: when true the layer table will auto refresh the data
|
105
|
-
*/
|
106
|
-
enableAutoRefresh = false;
|
107
|
-
/**
|
108
|
-
* boolean: when true the basemap widget will be available
|
109
|
-
*/
|
110
|
-
enableBasemap = true;
|
111
|
-
/**
|
112
|
-
* boolean: when true the layer table will support drag/drop of columns to adjust order
|
113
|
-
*/
|
114
|
-
enableColumnReorder = true;
|
115
|
-
/**
|
116
|
-
* boolean: when true the export to csv button will be available
|
117
|
-
*/
|
118
|
-
enableCSV = true;
|
119
|
-
/**
|
120
|
-
* boolean: when true the fullscreen widget will be available
|
121
|
-
*/
|
122
|
-
enableFloorFilter = true;
|
123
|
-
/**
|
124
|
-
* boolean: when true the fullscreen widget will be available
|
125
|
-
*/
|
126
|
-
enableFullscreen = true;
|
127
|
-
/**
|
128
|
-
* boolean: when true the home widget will be available
|
129
|
-
*/
|
130
|
-
enableHome = true;
|
131
|
-
/**
|
132
|
-
* boolean: when true the legend widget will be available
|
133
|
-
*/
|
134
|
-
enableLegend = true;
|
135
|
-
/**
|
136
|
-
* boolean: when true the search widget will be available
|
137
|
-
*/
|
138
|
-
enableSearch = true;
|
139
|
-
/**
|
140
|
-
* boolean: when true the share widget will be available
|
141
|
-
*/
|
142
|
-
enableShare = false;
|
143
|
-
/**
|
144
|
-
* boolean: when true the zoom widget will be available
|
145
|
-
*/
|
146
|
-
enableZoom = true;
|
147
|
-
/**
|
148
|
-
* string: Locale to use for translation of stings in the UI
|
149
|
-
*/
|
150
|
-
locale;
|
151
|
-
/**
|
152
|
-
* IMapInfo[]: array of map infos (name and id)
|
153
|
-
*/
|
154
|
-
mapInfos = [];
|
155
|
-
/**
|
156
|
-
* boolean: When true only editable layers that support the update capability will be available
|
157
|
-
*/
|
158
|
-
onlyShowUpdatableLayers = true;
|
159
|
-
/**
|
160
|
-
* string: The background color to apply to the popup header
|
161
|
-
*/
|
162
|
-
popupHeaderColor;
|
163
|
-
/**
|
164
|
-
* string: The color that will be displayed on hover when expanding the popup header
|
165
|
-
*/
|
166
|
-
popupHeaderHoverColor;
|
167
|
-
/**
|
168
|
-
* string: The font color that will be displayed on hover when expanding the popup header
|
169
|
-
*/
|
170
|
-
popupHeaderHoverTextColor;
|
171
|
-
/**
|
172
|
-
* string: The font color to apply to the popup header
|
173
|
-
*/
|
174
|
-
popupHeaderTextColor;
|
175
|
-
/**
|
176
|
-
* ISearchConfiguration: Configuration details for the Search widget
|
177
|
-
*/
|
178
|
-
searchConfiguration;
|
179
|
-
/**
|
180
|
-
* boolean: When true the share options will include embed option
|
181
|
-
*/
|
182
|
-
shareIncludeEmbed;
|
183
|
-
/**
|
184
|
-
* boolean: When true the share options will include social media sharing
|
185
|
-
*/
|
186
|
-
shareIncludeSocial;
|
187
|
-
/**
|
188
|
-
* boolean: when true the table will be sorted by objectid in descending order by default
|
189
|
-
*/
|
190
|
-
showNewestFirst = true;
|
191
|
-
/**
|
192
|
-
* theme: "light" | "dark" theme to be used
|
193
|
-
*/
|
194
|
-
theme = "light";
|
195
|
-
/**
|
196
|
-
* boolean: When true the selected feature will zoomed to in the map and the row will be scrolled to within the table
|
197
|
-
*/
|
198
|
-
zoomAndScrollToSelected = false;
|
199
|
-
/**
|
200
|
-
* number: default scale to zoom to when zooming to a single point feature
|
201
|
-
*/
|
202
|
-
zoomToScale;
|
203
|
-
//--------------------------------------------------------------------------
|
204
|
-
//
|
205
|
-
// State (internal)
|
206
|
-
//
|
207
|
-
//--------------------------------------------------------------------------
|
208
|
-
/**
|
209
|
-
* boolean: When true the delete dialog will be shown
|
210
|
-
*/
|
211
|
-
_deleteDialogOpen = false;
|
212
|
-
/**
|
213
|
-
* boolean: when true the users can have the option to create features
|
214
|
-
*/
|
215
|
-
_enableCreateFeatures = true;
|
216
|
-
/**
|
217
|
-
* When true the mobile footer will be hidden
|
218
|
-
*/
|
219
|
-
_hideFooter = false;
|
220
|
-
/**
|
221
|
-
* When true the table will be hidden
|
222
|
-
*/
|
223
|
-
_hideTable = false;
|
224
|
-
/**
|
225
|
-
* When true the component will render an optimized view for mobile devices
|
226
|
-
*/
|
227
|
-
_isMobile = false;
|
228
|
-
/**
|
229
|
-
* When true the component will render an optimized view for mobile devices
|
230
|
-
*/
|
231
|
-
_isPortraitMobile = false;
|
232
|
-
/**
|
233
|
-
* Contains the translations for this component.
|
234
|
-
* All UI strings should be defined here.
|
235
|
-
*/
|
236
|
-
_translations;
|
237
|
-
/**
|
238
|
-
* esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
239
|
-
*/
|
240
|
-
_layer;
|
241
|
-
/**
|
242
|
-
* Controls the layout of the application
|
243
|
-
*/
|
244
|
-
_layoutMode = ELayoutMode.GRID;
|
245
|
-
/**
|
246
|
-
* IMapInfo: The current map info stores configuration details
|
247
|
-
*/
|
248
|
-
_mapInfo;
|
249
|
-
/**
|
250
|
-
* Stores the current map view
|
251
|
-
*/
|
252
|
-
_mapView;
|
253
|
-
/**
|
254
|
-
* Controls the layout of the application
|
255
|
-
*/
|
256
|
-
_panelOpen = true;
|
257
|
-
/**
|
258
|
-
* Number of selected features in the table
|
259
|
-
*/
|
260
|
-
_numSelected = 0;
|
261
|
-
/**
|
262
|
-
* boolean: When true the filter component will be displayed
|
263
|
-
*/
|
264
|
-
_filterOpen = false;
|
265
|
-
/**
|
266
|
-
* boolean: When true information header will be displayed
|
267
|
-
*/
|
268
|
-
_showInformationHeader = true;
|
269
|
-
/**
|
270
|
-
* boolean: list of layer ids
|
271
|
-
*/
|
272
|
-
_layerIds;
|
273
|
-
/**
|
274
|
-
* boolean: if true panel will be in loading state
|
275
|
-
*/
|
276
|
-
_isLoading = true;
|
277
|
-
/**
|
278
|
-
* boolean: if true map extent filter is applied
|
279
|
-
*/
|
280
|
-
_mapExtentFilterChecked;
|
281
|
-
//--------------------------------------------------------------------------
|
282
|
-
//
|
283
93
|
// Properties (protected)
|
284
94
|
//
|
285
95
|
//--------------------------------------------------------------------------
|
@@ -344,7 +154,7 @@ export class CrowdsourceManager {
|
|
344
154
|
*/
|
345
155
|
appLayoutWatchHandler(newAppLayout, oldAppLayout) {
|
346
156
|
if (newAppLayout !== oldAppLayout) {
|
347
|
-
this._layerTable
|
157
|
+
void this._layerTable?.validateTableUpdate(newAppLayout === 'splitView');
|
348
158
|
this._setActiveLayout(newAppLayout);
|
349
159
|
// update the layer if table selected while switching to map view
|
350
160
|
if (this.appLayout === "mapView" && this._layer?.isTable) {
|
@@ -467,7 +277,7 @@ export class CrowdsourceManager {
|
|
467
277
|
render() {
|
468
278
|
// only avoid border when we have a header color that is not white
|
469
279
|
const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
|
470
|
-
return (h(Host, { key: '
|
280
|
+
return (h(Host, { key: '4ec349cf53a543077a3b938d5dad2e767f533181' }, h("calcite-shell", { key: '08c56e11ff814419aeb7295bba240b0e96856cae', class: "position-relative" }, h("calcite-panel", { key: 'aac7ff804b7e98f3b5d1b11dbc5ee8e18c9467ca', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal(), this._deleteModal()));
|
471
281
|
}
|
472
282
|
/**
|
473
283
|
* Called after each render
|