@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
@@ -28,225 +28,62 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
28
28
|
super();
|
29
29
|
this.__registerHost();
|
30
30
|
this.togglePanel = createEvent(this, "togglePanel", 7);
|
31
|
+
this.center = undefined;
|
32
|
+
this.commentButtonText = undefined;
|
33
|
+
this.commentSubmittedMessage = undefined;
|
34
|
+
this.defaultWebmap = "";
|
35
|
+
this.description = undefined;
|
36
|
+
this.enableAnonymousAccess = undefined;
|
37
|
+
this.enableAnonymousComments = undefined;
|
38
|
+
this.enableComments = undefined;
|
39
|
+
this.enableHome = true;
|
40
|
+
this.enableLogin = undefined;
|
41
|
+
this.enableNewReports = undefined;
|
42
|
+
this.enableSearch = true;
|
43
|
+
this.enableZoom = true;
|
44
|
+
this.isMobile = undefined;
|
45
|
+
this.layerExpressions = [];
|
46
|
+
this.layerId = undefined;
|
47
|
+
this.level = undefined;
|
48
|
+
this.locale = undefined;
|
49
|
+
this.loginTitle = undefined;
|
50
|
+
this.mapInfos = [];
|
51
|
+
this.mapView = undefined;
|
52
|
+
this.objectId = undefined;
|
53
|
+
this.reportButtonText = undefined;
|
54
|
+
this.reportingOptions = undefined;
|
55
|
+
this.reportsHeader = undefined;
|
56
|
+
this.reportSubmittedMessage = undefined;
|
57
|
+
this.searchConfiguration = undefined;
|
58
|
+
this.showComments = undefined;
|
59
|
+
this.showUserImageInCommentsList = false;
|
60
|
+
this.showFeatureSymbol = false;
|
61
|
+
this.showMyReportsOnly = false;
|
62
|
+
this.submitNewReportsMessage = undefined;
|
63
|
+
this.theme = "light";
|
64
|
+
this.zoomToScale = undefined;
|
65
|
+
this.floorLevel = undefined;
|
66
|
+
this.showFullCommentTitle = true;
|
67
|
+
this._featureCreationFailedErrorMsg = undefined;
|
68
|
+
this._filterActive = false;
|
69
|
+
this._flowItems = [];
|
70
|
+
this._hasValidLayers = false;
|
71
|
+
this._mapInfo = undefined;
|
72
|
+
this._reportSubmitted = false;
|
73
|
+
this._selectedLayerName = undefined;
|
74
|
+
this._showSubmitCancelButton = false;
|
75
|
+
this._showLoadingIndicator = false;
|
76
|
+
this._sidePanelCollapsed = false;
|
77
|
+
this._translations = undefined;
|
78
|
+
this._updatedProgressBarStatus = 25;
|
79
|
+
this._updatedSorting = undefined;
|
80
|
+
this._updatedSortOption = "sortNewest";
|
81
|
+
this._commentSubmitted = false;
|
82
|
+
this._addingCommentFailed = false;
|
31
83
|
}
|
32
84
|
get el() { return this; }
|
33
85
|
//--------------------------------------------------------------------------
|
34
86
|
//
|
35
|
-
// Properties (public)
|
36
|
-
//
|
37
|
-
//--------------------------------------------------------------------------
|
38
|
-
/**
|
39
|
-
* string: Semicolon delimited numbers that will be used as the maps center point from URL params
|
40
|
-
*/
|
41
|
-
center;
|
42
|
-
/**
|
43
|
-
* string: User configurable text to display for the comment button
|
44
|
-
*/
|
45
|
-
commentButtonText;
|
46
|
-
/**
|
47
|
-
* string: User configurable nessage to display when a comment is submitted
|
48
|
-
*/
|
49
|
-
commentSubmittedMessage;
|
50
|
-
/**
|
51
|
-
* string: Item ID of the web map that should be selected by default
|
52
|
-
*/
|
53
|
-
defaultWebmap = "";
|
54
|
-
/**
|
55
|
-
* string: The text that will display under the title on the landing page
|
56
|
-
*/
|
57
|
-
description;
|
58
|
-
/**
|
59
|
-
* boolean: When true the anonymous users will be allowed to submit reports and comments
|
60
|
-
*/
|
61
|
-
enableAnonymousAccess;
|
62
|
-
/**
|
63
|
-
* boolean: When true the anonymous users will be allowed to submit comments
|
64
|
-
*/
|
65
|
-
enableAnonymousComments;
|
66
|
-
/**
|
67
|
-
* boolean: When true the user will be allowed to submit comments
|
68
|
-
*/
|
69
|
-
enableComments;
|
70
|
-
/**
|
71
|
-
* boolean: when true the home widget will be available
|
72
|
-
*/
|
73
|
-
enableHome = true;
|
74
|
-
/**
|
75
|
-
* boolean: When true the user will be provided a login page
|
76
|
-
*/
|
77
|
-
enableLogin;
|
78
|
-
/**
|
79
|
-
* boolean: When true the user will be allowed to submit new reports
|
80
|
-
*/
|
81
|
-
enableNewReports;
|
82
|
-
/**
|
83
|
-
* boolean: when true the search widget will be available
|
84
|
-
*/
|
85
|
-
enableSearch = true;
|
86
|
-
/**
|
87
|
-
* boolean: when true the zoom widget will be available
|
88
|
-
*/
|
89
|
-
enableZoom = true;
|
90
|
-
/**
|
91
|
-
* boolean: When true the application will be in mobile mode, controls the mobile or desktop view
|
92
|
-
*/
|
93
|
-
isMobile;
|
94
|
-
/**
|
95
|
-
* ILayerExpression[]: Array of layer expressions for layers (filter configuration)
|
96
|
-
*/
|
97
|
-
layerExpressions = [];
|
98
|
-
/**
|
99
|
-
* string: Layer id of the feature from URL params
|
100
|
-
*/
|
101
|
-
layerId;
|
102
|
-
/**
|
103
|
-
* string: Id of the zoom level from URL params
|
104
|
-
*/
|
105
|
-
level;
|
106
|
-
/**
|
107
|
-
* string: Locale to use for translation of stings in the UI
|
108
|
-
*/
|
109
|
-
locale;
|
110
|
-
/**
|
111
|
-
* string: The text that will display at the top of the landing page
|
112
|
-
*/
|
113
|
-
loginTitle;
|
114
|
-
/**
|
115
|
-
* IMapInfo[]: array of map infos (name and id)
|
116
|
-
*/
|
117
|
-
mapInfos = [];
|
118
|
-
/**
|
119
|
-
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
120
|
-
*/
|
121
|
-
mapView;
|
122
|
-
/**
|
123
|
-
* string: Object id of the feature from URL params
|
124
|
-
*/
|
125
|
-
objectId;
|
126
|
-
/**
|
127
|
-
* string: The word(s) to display in the reports submit button
|
128
|
-
*/
|
129
|
-
reportButtonText;
|
130
|
-
/**
|
131
|
-
* IReportingOptions: Key options for reporting
|
132
|
-
*/
|
133
|
-
reportingOptions;
|
134
|
-
/**
|
135
|
-
* string: The word(s) to display in the reports header
|
136
|
-
*/
|
137
|
-
reportsHeader;
|
138
|
-
/**
|
139
|
-
* string: The message to display when the report has been submitted
|
140
|
-
*/
|
141
|
-
reportSubmittedMessage;
|
142
|
-
/**
|
143
|
-
* ISearchConfiguration: Configuration details for the Search widget
|
144
|
-
*/
|
145
|
-
searchConfiguration;
|
146
|
-
/**
|
147
|
-
* boolean: When true the comments from all users will be visible
|
148
|
-
*/
|
149
|
-
showComments;
|
150
|
-
/**
|
151
|
-
* boolean: When true the profile image of the comment creator will be shown in the comments list
|
152
|
-
*/
|
153
|
-
showUserImageInCommentsList = false;
|
154
|
-
/**
|
155
|
-
* boolean: When true the feature symbology of the feature will shown in the features list
|
156
|
-
*/
|
157
|
-
showFeatureSymbol = false;
|
158
|
-
/**
|
159
|
-
* boolean: To show only those features which are created by the logged in user
|
160
|
-
*/
|
161
|
-
showMyReportsOnly = false;
|
162
|
-
/**
|
163
|
-
* theme: "light" | "dark" theme to be used
|
164
|
-
*/
|
165
|
-
theme = "light";
|
166
|
-
/**
|
167
|
-
* number: default scale to zoom to when zooming to a single point feature
|
168
|
-
*/
|
169
|
-
zoomToScale;
|
170
|
-
/**
|
171
|
-
* string: selected floor level
|
172
|
-
*/
|
173
|
-
floorLevel;
|
174
|
-
/**
|
175
|
-
* boolean: When false comment will shown in single line in the comments list
|
176
|
-
*/
|
177
|
-
showFullCommentTitle = true;
|
178
|
-
//--------------------------------------------------------------------------
|
179
|
-
//
|
180
|
-
// State (internal)
|
181
|
-
//
|
182
|
-
//--------------------------------------------------------------------------
|
183
|
-
/**
|
184
|
-
* string: Error message when feature creation fails
|
185
|
-
*/
|
186
|
-
_featureCreationFailedErrorMsg;
|
187
|
-
/**
|
188
|
-
* boolean: When true an indicator will be shown on the action
|
189
|
-
*/
|
190
|
-
_filterActive = false;
|
191
|
-
/**
|
192
|
-
* string[]: Reporter flow items list
|
193
|
-
*/
|
194
|
-
_flowItems = [];
|
195
|
-
/**
|
196
|
-
* boolean: Will be true when has valid reporting layers (This will be used to show the create report button on layer list)
|
197
|
-
*/
|
198
|
-
_hasValidLayers = false;
|
199
|
-
/**
|
200
|
-
* IMapInfo: The current map info stores configuration details
|
201
|
-
*/
|
202
|
-
_mapInfo;
|
203
|
-
/**
|
204
|
-
* boolean: When true show the success message in the panel
|
205
|
-
*/
|
206
|
-
_reportSubmitted = false;
|
207
|
-
/**
|
208
|
-
* string: The selected feature layer's name from the layer's list
|
209
|
-
*/
|
210
|
-
_selectedLayerName;
|
211
|
-
/**
|
212
|
-
* boolean: When true show the submit and cancel button
|
213
|
-
*/
|
214
|
-
_showSubmitCancelButton = false;
|
215
|
-
/**
|
216
|
-
* boolean: show loading indicator in the reporter component
|
217
|
-
*/
|
218
|
-
_showLoadingIndicator = false;
|
219
|
-
/**
|
220
|
-
* boolean: Controls the state for panel in mobile view
|
221
|
-
*/
|
222
|
-
_sidePanelCollapsed = false;
|
223
|
-
/**
|
224
|
-
* Contains the translations for this component.
|
225
|
-
* All UI strings should be defined here.
|
226
|
-
*/
|
227
|
-
_translations;
|
228
|
-
/**
|
229
|
-
* number: Show the updated progress bar status
|
230
|
-
*/
|
231
|
-
_updatedProgressBarStatus = 25;
|
232
|
-
/**
|
233
|
-
* ISortingInfo: Sort the feature list depending on the sort field and order
|
234
|
-
*/
|
235
|
-
_updatedSorting;
|
236
|
-
/**
|
237
|
-
* string: Selected sort option
|
238
|
-
*/
|
239
|
-
_updatedSortOption = "sortNewest";
|
240
|
-
/**
|
241
|
-
* boolean: When true show the success message in the panel
|
242
|
-
*/
|
243
|
-
_commentSubmitted = false;
|
244
|
-
/**
|
245
|
-
* string: Error message when feature creation fails
|
246
|
-
*/
|
247
|
-
_addingCommentFailed = false;
|
248
|
-
//--------------------------------------------------------------------------
|
249
|
-
//
|
250
87
|
// Properties (protected)
|
251
88
|
//
|
252
89
|
//--------------------------------------------------------------------------
|
@@ -541,7 +378,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
541
378
|
*/
|
542
379
|
render() {
|
543
380
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
544
|
-
return (h(Host, { key: '
|
381
|
+
return (h(Host, { key: 'b97883be773d948b75e6df1be453cde018a0dba1' }, this._reportSubmitted && h("calcite-alert", { key: '5fd17c13a0d4dc3c7fed1bb253e9196b83c20e1d', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '5c7a00cb3eaaaeb3a0501324c10b407746ecca46', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: 'd83c690d60c2e6f12a5ec356c5ae67185edc6a1e', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: '9cbac1cf8698f1f918004764e4e43c25af766e4a', slot: "title" }, this._translations.error), h("div", { key: 'b4dbe07b4af7ab6c543596c6a3374b785fac4c7e', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && h("calcite-alert", { key: 'cde843955c6538ea857a0a187c995062efd777e7', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '86e3d820aa0d4362c07470bd60d8f0efd0614bc2', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: 'a0bdeec1bb3a33f3bfa938c0a1f4e631c6a76399', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: 'b161d8e42a078d961ec4e42888d26f4314e9d5a4', slot: "title" }, this._translations.error), h("div", { key: 'cf3908f91448dfbb7cf6ec78b413eaa3327372be', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: '42e2c8abaf43d6a587729229347efb2836827b98' }, h("calcite-shell", { key: '9e3174a699c37be8f20f4609f52c94ecb95d599f', "content-behind": true }, this._getReporter()))));
|
545
382
|
}
|
546
383
|
//--------------------------------------------------------------------------
|
547
384
|
//
|
@@ -695,7 +532,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
695
532
|
* @protected
|
696
533
|
*/
|
697
534
|
getFeatureCreateFlowItem() {
|
698
|
-
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "feature-create" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
|
535
|
+
return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "feature-create" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId, submitNewReportsMessage: this.submitNewReportsMessage }))));
|
699
536
|
}
|
700
537
|
/**
|
701
538
|
* Update the progress bar status when editor panel changes
|
@@ -1567,6 +1404,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
1567
1404
|
"showUserImageInCommentsList": [4, "show-user-image-in-comments-list"],
|
1568
1405
|
"showFeatureSymbol": [4, "show-feature-symbol"],
|
1569
1406
|
"showMyReportsOnly": [4, "show-my-reports-only"],
|
1407
|
+
"submitNewReportsMessage": [1, "submit-new-reports-message"],
|
1570
1408
|
"theme": [1],
|
1571
1409
|
"zoomToScale": [2, "zoom-to-scale"],
|
1572
1410
|
"floorLevel": [1, "floor-level"],
|
@@ -16,65 +16,21 @@ const DeleteButton = /*@__PURE__*/ proxyCustomElement(class DeleteButton extends
|
|
16
16
|
this.__registerHost();
|
17
17
|
this.__attachShadow();
|
18
18
|
this.editsComplete = createEvent(this, "editsComplete", 7);
|
19
|
+
this.deleteDialog = undefined;
|
20
|
+
this.buttonType = "button";
|
21
|
+
this.disabled = false;
|
22
|
+
this.icon = undefined;
|
23
|
+
this.ids = [];
|
24
|
+
this.layer = undefined;
|
25
|
+
this.locale = undefined;
|
26
|
+
this._confirmDelete = false;
|
27
|
+
this._deleteEndabled = false;
|
28
|
+
this._supportsDelete = undefined;
|
29
|
+
this._translations = undefined;
|
19
30
|
}
|
20
31
|
get el() { return this; }
|
21
32
|
//--------------------------------------------------------------------------
|
22
33
|
//
|
23
|
-
// Properties (public)
|
24
|
-
//
|
25
|
-
//--------------------------------------------------------------------------
|
26
|
-
/**
|
27
|
-
* calcite-dialog: Use this prop when using the button within a parent like a dropdown that would constrain the dialog and that is not desired
|
28
|
-
*/
|
29
|
-
deleteDialog;
|
30
|
-
/**
|
31
|
-
* ButtonType (button | action): Support usage as action or button
|
32
|
-
*/
|
33
|
-
buttonType = "button";
|
34
|
-
/**
|
35
|
-
* boolean: This overrides internal enable/disable logic that is based on checks if the layer supports delete
|
36
|
-
*/
|
37
|
-
disabled = false;
|
38
|
-
/**
|
39
|
-
* string: The icon to display in the component
|
40
|
-
*/
|
41
|
-
icon;
|
42
|
-
/**
|
43
|
-
* number[]: The ids that would be deleted
|
44
|
-
*/
|
45
|
-
ids = [];
|
46
|
-
/**
|
47
|
-
* esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
48
|
-
*/
|
49
|
-
layer;
|
50
|
-
/**
|
51
|
-
* string: Locale to use for translation of stings in the UI
|
52
|
-
*/
|
53
|
-
locale;
|
54
|
-
//--------------------------------------------------------------------------
|
55
|
-
//
|
56
|
-
// State (internal)
|
57
|
-
//
|
58
|
-
//--------------------------------------------------------------------------
|
59
|
-
/**
|
60
|
-
* boolean: When true the user will be asked to confirm the delete operation
|
61
|
-
*/
|
62
|
-
_confirmDelete = false;
|
63
|
-
/**
|
64
|
-
* boolean: When true the user can delete the current features
|
65
|
-
*/
|
66
|
-
_deleteEndabled = false;
|
67
|
-
/**
|
68
|
-
* boolean: When true the layer supports delete and a button will be returned
|
69
|
-
*/
|
70
|
-
_supportsDelete;
|
71
|
-
/**
|
72
|
-
* Contains the translations for this component.
|
73
|
-
* All UI strings should be defined here.
|
74
|
-
*/
|
75
|
-
_translations;
|
76
|
-
//--------------------------------------------------------------------------
|
77
|
-
//
|
78
34
|
// Properties (protected)
|
79
35
|
//
|
80
36
|
//--------------------------------------------------------------------------
|
@@ -16,45 +16,16 @@ const DeleteDialog = /*@__PURE__*/ proxyCustomElement(class DeleteDialog extends
|
|
16
16
|
this.__attachShadow();
|
17
17
|
this.editsComplete = createEvent(this, "editsComplete", 7);
|
18
18
|
this.deleteDialogClose = createEvent(this, "deleteDialogClose", 7);
|
19
|
+
this.ids = [];
|
20
|
+
this.layer = undefined;
|
21
|
+
this.locale = undefined;
|
22
|
+
this.open = false;
|
23
|
+
this._isDeleting = false;
|
24
|
+
this._translations = undefined;
|
19
25
|
}
|
20
26
|
get el() { return this; }
|
21
27
|
//--------------------------------------------------------------------------
|
22
28
|
//
|
23
|
-
// Properties (public)
|
24
|
-
//
|
25
|
-
//--------------------------------------------------------------------------
|
26
|
-
/**
|
27
|
-
* number[]: The ids that would be deleted
|
28
|
-
*/
|
29
|
-
ids = [];
|
30
|
-
/**
|
31
|
-
* esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
32
|
-
*/
|
33
|
-
layer;
|
34
|
-
/**
|
35
|
-
* string: Locale to use for translation of stings in the UI
|
36
|
-
*/
|
37
|
-
locale;
|
38
|
-
/**
|
39
|
-
* boolean: When true the delete dialog will be displayed
|
40
|
-
*/
|
41
|
-
open = false;
|
42
|
-
//--------------------------------------------------------------------------
|
43
|
-
//
|
44
|
-
// State (internal)
|
45
|
-
//
|
46
|
-
//--------------------------------------------------------------------------
|
47
|
-
/**
|
48
|
-
* boolean: When true a loading indicator will be shown in the delete button
|
49
|
-
*/
|
50
|
-
_isDeleting = false;
|
51
|
-
/**
|
52
|
-
* Contains the translations for this component.
|
53
|
-
* All UI strings should be defined here.
|
54
|
-
*/
|
55
|
-
_translations;
|
56
|
-
//--------------------------------------------------------------------------
|
57
|
-
//
|
58
29
|
// Properties (protected)
|
59
30
|
//
|
60
31
|
//--------------------------------------------------------------------------
|
@@ -19,53 +19,18 @@ const EditCard = /*@__PURE__*/ proxyCustomElement(class EditCard extends HTMLEle
|
|
19
19
|
this.editorInitialized = createEvent(this, "editorInitialized", 7);
|
20
20
|
this.editsComplete = createEvent(this, "editsComplete", 7);
|
21
21
|
this.refreshGraphics = createEvent(this, "refreshGraphics", 7);
|
22
|
+
this.enableEditGeometry = false;
|
23
|
+
this.graphics = undefined;
|
24
|
+
this.locale = undefined;
|
25
|
+
this.mapView = undefined;
|
26
|
+
this.open = false;
|
27
|
+
this.graphicIndex = 0;
|
28
|
+
this._editorLoading = false;
|
29
|
+
this._translations = undefined;
|
22
30
|
}
|
23
31
|
get el() { return this; }
|
24
32
|
//--------------------------------------------------------------------------
|
25
33
|
//
|
26
|
-
// Properties (public)
|
27
|
-
//
|
28
|
-
//--------------------------------------------------------------------------
|
29
|
-
/**
|
30
|
-
* When true the geometry of the current feature will be editable
|
31
|
-
*/
|
32
|
-
enableEditGeometry = false;
|
33
|
-
/**
|
34
|
-
* esri/Graphic[]: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
|
35
|
-
*/
|
36
|
-
graphics;
|
37
|
-
/**
|
38
|
-
* string: Locale to use for translation of stings in the UI
|
39
|
-
*/
|
40
|
-
locale;
|
41
|
-
/**
|
42
|
-
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
43
|
-
*/
|
44
|
-
mapView;
|
45
|
-
/**
|
46
|
-
* When true the component is displayed
|
47
|
-
*/
|
48
|
-
open = false;
|
49
|
-
/**
|
50
|
-
* The index of the current graphic
|
51
|
-
*/
|
52
|
-
graphicIndex = 0;
|
53
|
-
//--------------------------------------------------------------------------
|
54
|
-
//
|
55
|
-
// State (internal)
|
56
|
-
//
|
57
|
-
//--------------------------------------------------------------------------
|
58
|
-
/**
|
59
|
-
* boolean: When true a loading indicator will be shown while the editor loads
|
60
|
-
*/
|
61
|
-
_editorLoading = false;
|
62
|
-
/**
|
63
|
-
* Contains the translations for this component.
|
64
|
-
* All UI strings should be defined here.
|
65
|
-
*/
|
66
|
-
_translations;
|
67
|
-
//--------------------------------------------------------------------------
|
68
|
-
//
|
69
34
|
// Properties (protected)
|
70
35
|
//
|
71
36
|
//--------------------------------------------------------------------------
|
@@ -24,84 +24,26 @@ const FeatureDetails = /*@__PURE__*/ proxyCustomElement(class FeatureDetails ext
|
|
24
24
|
this.addComment = createEvent(this, "addComment", 7);
|
25
25
|
this.likeOrDislikeClicked = createEvent(this, "likeOrDislikeClicked", 7);
|
26
26
|
this.featureSelectionChange = createEvent(this, "featureSelectionChange", 7);
|
27
|
+
this.mapView = undefined;
|
28
|
+
this.graphics = undefined;
|
29
|
+
this.reportingOptions = undefined;
|
30
|
+
this.layerItemsHash = undefined;
|
31
|
+
this.locale = undefined;
|
32
|
+
this.showUserImageInCommentsList = false;
|
33
|
+
this.showFullCommentTitle = true;
|
34
|
+
this._likeFieldAvailable = false;
|
35
|
+
this._likeCount = 0;
|
36
|
+
this._disLikeCount = 0;
|
37
|
+
this._dislikeFieldAvailable = false;
|
38
|
+
this._commentsAvailable = false;
|
39
|
+
this._isLikeBtnClicked = false;
|
40
|
+
this._isDislikeBtnClicked = false;
|
41
|
+
this._relatedFeaturesOIDs = undefined;
|
42
|
+
this._updating = false;
|
27
43
|
}
|
28
44
|
get el() { return this; }
|
29
45
|
//--------------------------------------------------------------------------
|
30
46
|
//
|
31
|
-
// Properties (public)
|
32
|
-
//
|
33
|
-
//--------------------------------------------------------------------------
|
34
|
-
/**
|
35
|
-
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
36
|
-
*/
|
37
|
-
mapView;
|
38
|
-
/**
|
39
|
-
* esri/Graphic: https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html
|
40
|
-
*/
|
41
|
-
graphics;
|
42
|
-
/**
|
43
|
-
* IReportingOptions: Key options for reporting
|
44
|
-
*/
|
45
|
-
reportingOptions;
|
46
|
-
/**
|
47
|
-
* ILayerItemsHash: LayerDetailsHash for each layer in the map
|
48
|
-
*/
|
49
|
-
layerItemsHash;
|
50
|
-
/**
|
51
|
-
* string: Locale to use for translation of stings in the UI
|
52
|
-
*/
|
53
|
-
locale;
|
54
|
-
/**
|
55
|
-
* boolean: When true the profile image of the comment creator will be shown in the comments list
|
56
|
-
*/
|
57
|
-
showUserImageInCommentsList = false;
|
58
|
-
/**
|
59
|
-
* boolean: When false comment will shown in single line in the comments list
|
60
|
-
*/
|
61
|
-
showFullCommentTitle = true;
|
62
|
-
//--------------------------------------------------------------------------
|
63
|
-
//
|
64
|
-
// State (internal)
|
65
|
-
//
|
66
|
-
//--------------------------------------------------------------------------
|
67
|
-
/**
|
68
|
-
* boolean: When true configured like field is available in selected layer
|
69
|
-
*/
|
70
|
-
_likeFieldAvailable = false;
|
71
|
-
/**
|
72
|
-
* number: Increment the liked count for feature when like button is clicked
|
73
|
-
*/
|
74
|
-
_likeCount = 0;
|
75
|
-
/**
|
76
|
-
* number: Decrement the disliked count for feature when dislike button is clicked
|
77
|
-
*/
|
78
|
-
_disLikeCount = 0;
|
79
|
-
/**
|
80
|
-
* boolean: When true configured dislike field is available in selected layer
|
81
|
-
*/
|
82
|
-
_dislikeFieldAvailable = false;
|
83
|
-
/**
|
84
|
-
* boolean: When true comments are configured and its table is available in selected layer
|
85
|
-
*/
|
86
|
-
_commentsAvailable = false;
|
87
|
-
/**
|
88
|
-
* boolean: When true button will get brand color
|
89
|
-
*/
|
90
|
-
_isLikeBtnClicked = false;
|
91
|
-
/**
|
92
|
-
* boolean: When true button will get brand color
|
93
|
-
*/
|
94
|
-
_isDislikeBtnClicked = false;
|
95
|
-
/**
|
96
|
-
* string[]: objects ids of the related features (comments)
|
97
|
-
*/
|
98
|
-
_relatedFeaturesOIDs;
|
99
|
-
/**
|
100
|
-
* boolean: When performing any operations set this to true (This will be used to show loading on like/dislike buttons)
|
101
|
-
*/
|
102
|
-
_updating = false;
|
103
|
-
//--------------------------------------------------------------------------
|
104
|
-
//
|
105
47
|
// Properties (protected)
|
106
48
|
//
|
107
49
|
//--------------------------------------------------------------------------
|