@esri/solutions-components 0.11.17 → 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 +215 -565
- package/dist/cjs/consent-manager.cjs.entry.js +15 -57
- package/dist/cjs/create-feature_4.cjs.entry.js +102 -256
- package/dist/cjs/create-related-feature_3.cjs.entry.js +38 -172
- package/dist/cjs/crowdsource-manager.cjs.entry.js +89 -267
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +55 -219
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/delete-dialog.cjs.entry.js +9 -38
- package/dist/cjs/{downloadUtils-88ec0e88.js → downloadUtils-b269c7a1.js} +5 -5
- package/dist/cjs/{effects-3607d1ba.js → effects-2f75069e.js} +1 -1
- package/dist/cjs/feature-list.cjs.entry.js +30 -110
- 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 +2 -2
- 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 +29 -114
- package/dist/cjs/map-select-tools_3.cjs.entry.js +53 -232
- package/dist/cjs/{mapViewUtils-319df9ec.js → mapViewUtils-4ea7216c.js} +0 -44
- package/dist/cjs/pci-calculator.cjs.entry.js +2 -15
- package/dist/cjs/{popupUtils-ca1127aa.js → popupUtils-5378e04a.js} +2 -2
- package/dist/cjs/public-notification.cjs.entry.js +47 -197
- 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 +15 -42
- 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 +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/crowdsource-manager/resources.json +4 -1
- package/dist/collection/assets/t9n/crowdsource-manager/resources_en.json +4 -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 +18 -72
- 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.css +23 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +88 -263
- 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 +100 -84
- 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 +188 -308
- 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 +19 -40
- 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 +16 -72
- 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 +87 -264
- 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 +64 -83
- package/dist/components/json-editor2.js +5 -28
- package/dist/components/layer-list2.js +10 -50
- package/dist/components/layer-table2.js +155 -307
- 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 +31 -139
- 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/queryUtils.js +1 -43
- package/dist/components/refine-selection2.js +12 -60
- package/dist/components/solution-configuration.js +13 -48
- package/dist/components/solution-contents2.js +2 -13
- package/dist/components/solution-item-accordion.js +12 -39
- 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 +215 -565
- package/dist/esm/consent-manager.entry.js +15 -57
- package/dist/esm/create-feature_4.entry.js +102 -256
- package/dist/esm/create-related-feature_3.entry.js +38 -172
- package/dist/esm/crowdsource-manager.entry.js +89 -267
- package/dist/esm/crowdsource-reporter.entry.js +55 -219
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/delete-dialog.entry.js +9 -38
- package/dist/esm/{downloadUtils-22a8f2d8.js → downloadUtils-d04d4095.js} +5 -5
- package/dist/esm/{effects-38bc1195.js → effects-602e7b51.js} +1 -1
- package/dist/esm/feature-list.entry.js +30 -110
- 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 +3 -3
- 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 +29 -114
- package/dist/esm/map-select-tools_3.entry.js +53 -232
- package/dist/esm/{mapViewUtils-a854e298.js → mapViewUtils-9da9be1c.js} +1 -43
- package/dist/esm/pci-calculator.entry.js +2 -15
- package/dist/esm/{popupUtils-1314cb13.js → popupUtils-b71abb01.js} +2 -2
- package/dist/esm/public-notification.entry.js +47 -197
- 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 +15 -42
- 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 +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/crowdsource-manager/resources.json +4 -1
- package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_en.json +4 -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-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-3c3aecdd.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-4f514c6d.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-952da957.js → p-dcd2f00b.js} +2 -2
- 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/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +11 -7
- package/dist/types/components/info-card/info-card.d.ts +16 -0
- package/dist/types/components/layer-table/layer-table.d.ts +32 -21
- package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +1 -1
- package/dist/types/components.d.ts +19 -2
- package/dist/types/preact.d.ts +2 -1
- package/package.json +2 -2
- package/dist/solutions-components/p-032d4411.entry.js +0 -6
- package/dist/solutions-components/p-1b0588d2.js +0 -7
- package/dist/solutions-components/p-1fe3577a.entry.js +0 -6
- package/dist/solutions-components/p-265f5dc4.entry.js +0 -6
- package/dist/solutions-components/p-43d9bb7d.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-5ea1e18b.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-87919d6d.entry.js +0 -6
- package/dist/solutions-components/p-89fbc318.js +0 -6
- package/dist/solutions-components/p-8ea0a36a.entry.js +0 -6
- package/dist/solutions-components/p-9d953313.entry.js +0 -6
- package/dist/solutions-components/p-a003600b.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-b37be371.entry.js +0 -6
- package/dist/solutions-components/p-bc2548ba.entry.js +0 -6
- package/dist/solutions-components/p-bf2598f8.entry.js +0 -6
- package/dist/solutions-components/p-ce8377c6.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
@@ -3,14 +3,14 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-
|
7
|
-
import { g as getLocaleComponentStrings, l as loadModules } from './locale-
|
8
|
-
import { g as getLayerOrTable, q as queryFeaturesByID, e as goToSelection, f as
|
9
|
-
import { d as downloadCSV } from './downloadUtils-
|
10
|
-
import './esri-loader-
|
6
|
+
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-df5db8e9.js';
|
7
|
+
import { g as getLocaleComponentStrings, l as loadModules } from './locale-15e42305.js';
|
8
|
+
import { g as getLayerOrTable, q as queryFeaturesByID, e as goToSelection, f as queryFeaturesByGlobalID, c as getFeatureLayerView } from './mapViewUtils-9da9be1c.js';
|
9
|
+
import { d as downloadCSV } from './downloadUtils-d04d4095.js';
|
10
|
+
import './esri-loader-d10d860d.js';
|
11
11
|
import './_commonjsHelpers-089957fe.js';
|
12
12
|
import './interfaces-659e3836.js';
|
13
|
-
import './typeof-
|
13
|
+
import './typeof-a3e780e1.js';
|
14
14
|
import './index-d88c3eb6.js';
|
15
15
|
import './solution-resource-30a29505.js';
|
16
16
|
import './restHelpersGet-a7fda344.js';
|
@@ -25,79 +25,23 @@ const CardManager = class {
|
|
25
25
|
this.createWorkFlowStarted = createEvent(this, "createWorkFlowStarted", 7);
|
26
26
|
this.backFromCreateWorkFlow = createEvent(this, "backFromCreateWorkFlow", 7);
|
27
27
|
this.featureOrRecordSubmitted = createEvent(this, "featureOrRecordSubmitted", 7);
|
28
|
+
this.customInfoText = undefined;
|
29
|
+
this.enableEditGeometry = false;
|
30
|
+
this.isMobile = undefined;
|
31
|
+
this.layer = undefined;
|
32
|
+
this.locale = undefined;
|
33
|
+
this.mapView = undefined;
|
34
|
+
this.zoomAndScrollToSelected = undefined;
|
35
|
+
this.selectedFeaturesIds = undefined;
|
36
|
+
this.enableCreateFeatures = true;
|
37
|
+
this.selectingFeatureFromMap = undefined;
|
38
|
+
this._cardLoading = false;
|
39
|
+
this._graphics = undefined;
|
40
|
+
this._showCreateFeatureComponent = false;
|
41
|
+
this._showSubmitBtn = false;
|
42
|
+
this._translations = undefined;
|
28
43
|
}
|
29
44
|
get el() { return getElement(this); }
|
30
|
-
//--------------------------------------------------------------------------
|
31
|
-
//
|
32
|
-
// Properties (public)
|
33
|
-
//
|
34
|
-
//--------------------------------------------------------------------------
|
35
|
-
/**
|
36
|
-
* string: custom notice text to display
|
37
|
-
*/
|
38
|
-
customInfoText;
|
39
|
-
/**
|
40
|
-
* When true the geometry of the current feature will be editable
|
41
|
-
*/
|
42
|
-
enableEditGeometry = false;
|
43
|
-
/**
|
44
|
-
* When true the component will render an optimized view for mobile devices
|
45
|
-
*/
|
46
|
-
isMobile;
|
47
|
-
/**
|
48
|
-
* esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
49
|
-
*/
|
50
|
-
layer;
|
51
|
-
/**
|
52
|
-
* string: Locale to use for translation of stings in the UI
|
53
|
-
*/
|
54
|
-
locale;
|
55
|
-
/**
|
56
|
-
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
57
|
-
*/
|
58
|
-
mapView;
|
59
|
-
/**
|
60
|
-
* boolean: When true the selected feature will zoomed to in the map and the row will be scrolled to within the table
|
61
|
-
*/
|
62
|
-
zoomAndScrollToSelected;
|
63
|
-
/**
|
64
|
-
* A list of ids that are currently selected
|
65
|
-
*/
|
66
|
-
selectedFeaturesIds;
|
67
|
-
/**
|
68
|
-
* boolean: when true the users can have the option to create features
|
69
|
-
*/
|
70
|
-
enableCreateFeatures = true;
|
71
|
-
/**
|
72
|
-
* boolean: When select feature from map message will shown
|
73
|
-
*/
|
74
|
-
selectingFeatureFromMap;
|
75
|
-
//--------------------------------------------------------------------------
|
76
|
-
//
|
77
|
-
// State (internal)
|
78
|
-
//
|
79
|
-
//--------------------------------------------------------------------------
|
80
|
-
/**
|
81
|
-
* When true a loading indicator will be shown in the current card
|
82
|
-
*/
|
83
|
-
_cardLoading = false;
|
84
|
-
/**
|
85
|
-
* The current selected graphics
|
86
|
-
*/
|
87
|
-
_graphics;
|
88
|
-
/**
|
89
|
-
* When true feature component is shown
|
90
|
-
*/
|
91
|
-
_showCreateFeatureComponent = false;
|
92
|
-
/**
|
93
|
-
* boolean: When true show the create button
|
94
|
-
*/
|
95
|
-
_showSubmitBtn = false;
|
96
|
-
/**
|
97
|
-
* Contains the translations for this component.
|
98
|
-
* All UI strings should be defined here.
|
99
|
-
*/
|
100
|
-
_translations;
|
101
45
|
/**
|
102
46
|
* boolean: Flag to maintain if recently any feature has been created
|
103
47
|
*/
|
@@ -193,7 +137,7 @@ const CardManager = class {
|
|
193
137
|
const heading = isTable ? this._translations.createRecord : this._translations.createFeature;
|
194
138
|
const guideMsg = this.customInfoText ? this.customInfoText : this.selectingFeatureFromMap ? this._translations.selectFeaturesFromMapToStart : this._translations.selectFeaturesToStart;
|
195
139
|
const showCreateFeatureOrRecordBtn = this.enableCreateFeatures && this.layer?.capabilities?.operations?.supportsAdd;
|
196
|
-
return (h(Host, { key: '5557aa4d80b859335e38db3f4255f4a61d00560f' }, h("div", { key: '6756e3314fc3444a982010a3cfa702d77f05f316', class: "overflow-auto height-full" }, h("calcite-shell", { key: '715eb7ed692a1d00347d44f20df370cf9a91ded5', class: "position-relative " + featuresClass }, h("div", { key: 'baf4e97c1884f477e4077a6dc8e59d98c77593a4', class: "position-static z-index-500" }, h("info-card", { key: '
|
140
|
+
return (h(Host, { key: '5557aa4d80b859335e38db3f4255f4a61d00560f' }, h("div", { key: '6756e3314fc3444a982010a3cfa702d77f05f316', class: "overflow-auto height-full" }, h("calcite-shell", { key: '715eb7ed692a1d00347d44f20df370cf9a91ded5', class: "position-relative " + featuresClass }, h("div", { key: 'baf4e97c1884f477e4077a6dc8e59d98c77593a4', class: "position-static z-index-500" }, h("info-card", { key: '0b9b30182fbc3482e9edf49b79f68aec8cf86adc', enableEditGeometry: this.enableEditGeometry, graphics: this._graphics, isLoading: this._cardLoading, isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, showCloseBtn: true }))), h("calcite-shell", { key: '94b646061956a78dec4f96d9d1d9dedc5ad6aee7', class: "position-relative " + messageClass }, h("calcite-panel", { key: '00b660d474234f8156f3d4c627626f5891754051' }, h("div", { key: 'adb0732ff59c4fdedb19367a32ad9e3e060ddb60', class: "padding-1" }, h("calcite-notice", { key: 'a2c88bd4a0827111b0d1f3056ae571b47e5b380b', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, h("div", { key: 'bffc2630de3f0376b6ea5827c89f65dc605a5356', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && h("calcite-button", { key: '08bef5c20d6b60e17abcfc9fc19d7d1eb5d04b1c', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature))), h("calcite-shell", { key: '833a8de60b491008006034c1696fcb29f1bb6a08', class: "position-relative " + createFeatureClass }, h("calcite-flow-item", { key: 'dd2ae4509e4bec5a90f33484f8a28f422c0eeee4' }, h("calcite-panel", { key: '8fa68650f1933a88cdaf1fee8391cf433b7b54e9', heading: heading }, h("calcite-action", { key: '2b205887ff8703e01ef356cae09ce5d15dbec7c6', class: "back-button hydrated", icon: "chevron-left", onClick: this._backFromCreateFeature.bind(this), scale: "s", slot: "header-actions-start", text: "" }), this.getEditorComponent(), this._showSubmitBtn && h("calcite-button", { key: '0977a3974583266f6d90e18c8fbbc3e18f803983', appearance: "solid", class: "footer-top-button footer-button", onClick: () => void this._createFeature.submit(), slot: "footer", width: "full" }, this._translations.create)))))));
|
197
141
|
}
|
198
142
|
/**
|
199
143
|
* Returns the editor component for adding feature
|
@@ -280,181 +224,49 @@ const LayerTable = class {
|
|
280
224
|
this.featureSelectionChange = createEvent(this, "featureSelectionChange", 7);
|
281
225
|
this.toggleFilter = createEvent(this, "toggleFilter", 7);
|
282
226
|
this.showDelete = createEvent(this, "showDelete", 7);
|
227
|
+
this.appLayout = undefined;
|
228
|
+
this.defaultGlobalId = undefined;
|
229
|
+
this.defaultLayerId = undefined;
|
230
|
+
this.defaultOid = undefined;
|
231
|
+
this.enableAutoRefresh = undefined;
|
232
|
+
this.enableColumnReorder = true;
|
233
|
+
this.enableCSV = undefined;
|
234
|
+
this.enableInlineEdit = undefined;
|
235
|
+
this.enableShare = undefined;
|
236
|
+
this.honorMapFieldSettings = undefined;
|
237
|
+
this.isMobile = undefined;
|
238
|
+
this.locale = undefined;
|
239
|
+
this.mapHidden = undefined;
|
240
|
+
this.mapInfo = undefined;
|
241
|
+
this.mapView = undefined;
|
242
|
+
this.onlyShowUpdatableLayers = undefined;
|
243
|
+
this.selectedIds = [];
|
244
|
+
this.shareIncludeEmbed = undefined;
|
245
|
+
this.shareIncludeSocial = undefined;
|
246
|
+
this.showNewestFirst = undefined;
|
247
|
+
this.zoomAndScrollToSelected = undefined;
|
248
|
+
this.zoomToScale = undefined;
|
249
|
+
this.createFilterModal = true;
|
250
|
+
this._allIds = [];
|
251
|
+
this._controlsThatFit = undefined;
|
252
|
+
this._csvExporting = false;
|
253
|
+
this._fetchingData = false;
|
254
|
+
this._filterActive = false;
|
255
|
+
this._filterOpen = false;
|
256
|
+
this._layer = undefined;
|
257
|
+
this._selectAllActive = false;
|
258
|
+
this._showHideOpen = false;
|
259
|
+
this._showOnlySelected = false;
|
260
|
+
this._toolInfos = undefined;
|
261
|
+
this._translations = undefined;
|
262
|
+
this._fullTextSearchInfo = undefined;
|
263
|
+
this._searchPlaceHolder = '';
|
264
|
+
this._size = 0;
|
265
|
+
this._queryingData = false;
|
283
266
|
}
|
284
267
|
get el() { return getElement(this); }
|
285
268
|
//--------------------------------------------------------------------------
|
286
269
|
//
|
287
|
-
// Properties (public)
|
288
|
-
//
|
289
|
-
//--------------------------------------------------------------------------
|
290
|
-
/**
|
291
|
-
* AppLayout: the current app layout
|
292
|
-
*/
|
293
|
-
appLayout;
|
294
|
-
/**
|
295
|
-
* string: Global ID of the feature to select
|
296
|
-
*/
|
297
|
-
defaultGlobalId;
|
298
|
-
/**
|
299
|
-
* string: when provided this layer ID will be used when the app loads
|
300
|
-
*/
|
301
|
-
defaultLayerId;
|
302
|
-
/**
|
303
|
-
* number: when provided this will be used to select a feature in the table by default
|
304
|
-
*/
|
305
|
-
defaultOid;
|
306
|
-
/**
|
307
|
-
* boolean: when true the layer table will auto refresh the data
|
308
|
-
*/
|
309
|
-
enableAutoRefresh;
|
310
|
-
/**
|
311
|
-
* boolean: when true the layer table will support drag/drop of columns to adjust order
|
312
|
-
*/
|
313
|
-
enableColumnReorder = true;
|
314
|
-
/**
|
315
|
-
* boolean: when true the export to csv button will be available
|
316
|
-
*/
|
317
|
-
enableCSV;
|
318
|
-
/**
|
319
|
-
* boolean: when true edits can be applied directly within the table
|
320
|
-
*/
|
321
|
-
enableInlineEdit;
|
322
|
-
/**
|
323
|
-
* boolean: when true the share widget will be available
|
324
|
-
*/
|
325
|
-
enableShare;
|
326
|
-
/**
|
327
|
-
* boolean: when true we will honor field order and visibility that may have been defined
|
328
|
-
* in the map viewer if no field order is defined in the mapInfo.
|
329
|
-
*
|
330
|
-
* Field order defined in the mapInfo as would be the case for Instant App configurations
|
331
|
-
* will always override this map level setting.
|
332
|
-
*/
|
333
|
-
honorMapFieldSettings;
|
334
|
-
/**
|
335
|
-
* When true the component will render an optimized view for mobile devices
|
336
|
-
*/
|
337
|
-
isMobile;
|
338
|
-
/**
|
339
|
-
* string: Locale to use for translation of stings in the UI
|
340
|
-
*/
|
341
|
-
locale;
|
342
|
-
/**
|
343
|
-
* boolean: when true the map is hidden and map specific controls should be hidden
|
344
|
-
*/
|
345
|
-
mapHidden;
|
346
|
-
/**
|
347
|
-
* IMapInfo: key configuration details about the current map
|
348
|
-
*/
|
349
|
-
mapInfo;
|
350
|
-
/**
|
351
|
-
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
352
|
-
*/
|
353
|
-
mapView;
|
354
|
-
/**
|
355
|
-
* boolean: When true only editable layers that support the update capability will be available
|
356
|
-
*/
|
357
|
-
onlyShowUpdatableLayers;
|
358
|
-
/**
|
359
|
-
* number[]: A list of ids that are currently selected
|
360
|
-
*/
|
361
|
-
selectedIds = [];
|
362
|
-
/**
|
363
|
-
* boolean: When true the share options will include embed option
|
364
|
-
*/
|
365
|
-
shareIncludeEmbed;
|
366
|
-
/**
|
367
|
-
* boolean: When true the share options will include social media sharing
|
368
|
-
*/
|
369
|
-
shareIncludeSocial;
|
370
|
-
/**
|
371
|
-
* boolean: when true the table will be sorted by objectid in descending order by default
|
372
|
-
*/
|
373
|
-
showNewestFirst;
|
374
|
-
/**
|
375
|
-
* boolean: When true the selected feature will zoomed to in the map and the row will be scrolled to within the table
|
376
|
-
*/
|
377
|
-
zoomAndScrollToSelected;
|
378
|
-
/**
|
379
|
-
* number: default scale to zoom to when zooming to a single point feature
|
380
|
-
*/
|
381
|
-
zoomToScale;
|
382
|
-
/**
|
383
|
-
* boolean: create filter modal optional (default true) boolean value to create filter modal in layer table
|
384
|
-
*/
|
385
|
-
createFilterModal = true;
|
386
|
-
//--------------------------------------------------------------------------
|
387
|
-
//
|
388
|
-
// State (internal)
|
389
|
-
//
|
390
|
-
//--------------------------------------------------------------------------
|
391
|
-
/**
|
392
|
-
* number[]: A list of all IDs for the current layer
|
393
|
-
*/
|
394
|
-
_allIds = [];
|
395
|
-
/**
|
396
|
-
* IToolSizeInfo[]: The controls that currently fit based on toolbar size
|
397
|
-
*/
|
398
|
-
_controlsThatFit;
|
399
|
-
/**
|
400
|
-
* boolean: When true a loading indicator will be shown beside the button text
|
401
|
-
*/
|
402
|
-
_csvExporting = false;
|
403
|
-
/**
|
404
|
-
* boolean: When true a loading indicator will be shown in place of the layer table
|
405
|
-
*/
|
406
|
-
_fetchingData = false;
|
407
|
-
/**
|
408
|
-
* boolean: When true an indicator will be shown on the action
|
409
|
-
*/
|
410
|
-
_filterActive = false;
|
411
|
-
/**
|
412
|
-
* boolean: When true the filter component will be displayed
|
413
|
-
*/
|
414
|
-
_filterOpen = false;
|
415
|
-
/**
|
416
|
-
* esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
417
|
-
*/
|
418
|
-
_layer;
|
419
|
-
/**
|
420
|
-
* boolean: When true the select all will be displayed in an active state
|
421
|
-
*/
|
422
|
-
_selectAllActive = false;
|
423
|
-
/**
|
424
|
-
* boolean: When true the show/hide fields list is forced open
|
425
|
-
*/
|
426
|
-
_showHideOpen = false;
|
427
|
-
/**
|
428
|
-
* boolean: When true only selected records will be shown in the table
|
429
|
-
*/
|
430
|
-
_showOnlySelected = false;
|
431
|
-
/**
|
432
|
-
* IToolInfo[]: Key details used for creating the tools
|
433
|
-
*/
|
434
|
-
_toolInfos;
|
435
|
-
/**
|
436
|
-
* Contains the translations for this component.
|
437
|
-
* All UI strings should be defined here.
|
438
|
-
*/
|
439
|
-
_translations;
|
440
|
-
/**
|
441
|
-
* any[] Contains full text search info object
|
442
|
-
*/
|
443
|
-
_fullTextSearchInfo;
|
444
|
-
/**
|
445
|
-
* string Placeholder string to show fields included in full text search
|
446
|
-
*/
|
447
|
-
_searchPlaceHolder = '';
|
448
|
-
/**
|
449
|
-
* number Total number of records currently displayed in the table. This takes into account all active filters.
|
450
|
-
*/
|
451
|
-
_size = 0;
|
452
|
-
/**
|
453
|
-
* boolean: When true a loading indicator will be shown in place of the layer table
|
454
|
-
*/
|
455
|
-
_queryingData = false;
|
456
|
-
//--------------------------------------------------------------------------
|
457
|
-
//
|
458
270
|
// Properties (protected)
|
459
271
|
//
|
460
272
|
//--------------------------------------------------------------------------
|
@@ -470,10 +282,6 @@ const LayerTable = class {
|
|
470
282
|
* IColumnsInfo: Key/value pair with fieldname/(visible in table)
|
471
283
|
*/
|
472
284
|
_columnsInfo;
|
473
|
-
/**
|
474
|
-
* boolean: When true the ctrl key is currently pressed
|
475
|
-
*/
|
476
|
-
_ctrlIsPressed = false;
|
477
285
|
/**
|
478
286
|
* number: The id of the most recently selected row from the table
|
479
287
|
*/
|
@@ -579,18 +387,10 @@ const LayerTable = class {
|
|
579
387
|
* HTMLInstantAppsSocialShareElement: Element to support app sharing to social media
|
580
388
|
*/
|
581
389
|
_shareNode;
|
582
|
-
/**
|
583
|
-
* boolean: When true the shift key is currently pressed
|
584
|
-
*/
|
585
|
-
_shiftIsPressed = false;
|
586
390
|
/**
|
587
391
|
* HTMLCalciteDropdownElement: Dropdown the will support show/hide of table columns
|
588
392
|
*/
|
589
393
|
_showHideDropdown;
|
590
|
-
/**
|
591
|
-
* boolean: When true any onChange handeling will be skipped
|
592
|
-
*/
|
593
|
-
_skipOnChange = false;
|
594
394
|
/**
|
595
395
|
* HTMLCalciteDropdownElement: Dropdown the will support overflow tools that won't fit in the current display
|
596
396
|
*/
|
@@ -623,10 +423,22 @@ const LayerTable = class {
|
|
623
423
|
* boolean: When true we will not evaluate if the editor has any pending edits
|
624
424
|
*/
|
625
425
|
_skipEditCheck = false;
|
426
|
+
/**
|
427
|
+
* __esri.Handle: handle for the filter by extent
|
428
|
+
*/
|
429
|
+
_filterByExtentHandle;
|
626
430
|
/**
|
627
431
|
* number[]: selected features from table
|
628
432
|
*/
|
629
433
|
_tempSelectedIds;
|
434
|
+
/**
|
435
|
+
* number[]: out of extent oids which are selected but now out of extent
|
436
|
+
*/
|
437
|
+
_outOFExtentOids = [];
|
438
|
+
/**
|
439
|
+
* boolean: When true allow table to update the records
|
440
|
+
*/
|
441
|
+
_shouldUpdateTableOnExtentChange = true;
|
630
442
|
//--------------------------------------------------------------------------
|
631
443
|
//
|
632
444
|
// Watch handlers
|
@@ -790,13 +602,35 @@ const LayerTable = class {
|
|
790
602
|
* Reset the filter
|
791
603
|
*/
|
792
604
|
async filterReset() {
|
605
|
+
if (this._filterByExtentHandle) {
|
606
|
+
this._table.filterGeometry = undefined;
|
607
|
+
this._filterByExtentHandle.remove();
|
608
|
+
this._filterByExtentHandle = undefined;
|
609
|
+
}
|
793
610
|
await this._handleFilterListReset();
|
794
611
|
}
|
795
612
|
/**
|
796
613
|
* Updates the filter
|
797
614
|
*/
|
798
|
-
async filterUpdate(
|
799
|
-
await this._handleFilterUpdate(
|
615
|
+
async filterUpdate(filterActive, keepTableUpdatingOnMapExtentChange) {
|
616
|
+
await this._handleFilterUpdate(filterActive);
|
617
|
+
if (keepTableUpdatingOnMapExtentChange) {
|
618
|
+
this._shouldUpdateTableOnExtentChange = true;
|
619
|
+
this._handleTableOnMapExtent();
|
620
|
+
}
|
621
|
+
else if (keepTableUpdatingOnMapExtentChange === false) {
|
622
|
+
this._table.filterGeometry = undefined;
|
623
|
+
this._filterByExtentHandle.remove();
|
624
|
+
this._filterByExtentHandle = undefined;
|
625
|
+
// update all the ids when filter is unchecked or toggled off
|
626
|
+
await this._updateAllIds();
|
627
|
+
}
|
628
|
+
}
|
629
|
+
/**
|
630
|
+
* Validate if the table should update
|
631
|
+
*/
|
632
|
+
async validateTableUpdate(shouldUpdateTableOnExtentChange) {
|
633
|
+
this._shouldUpdateTableOnExtentChange = shouldUpdateTableOnExtentChange;
|
800
634
|
}
|
801
635
|
/**
|
802
636
|
* Validate if the editor has any pending edits
|
@@ -850,8 +684,20 @@ const LayerTable = class {
|
|
850
684
|
* @returns a promise when the operation has completed
|
851
685
|
*/
|
852
686
|
async editorInitialized(evt) {
|
687
|
+
this._shouldUpdateTableOnExtentChange = false;
|
853
688
|
this._editor = evt.detail;
|
854
689
|
}
|
690
|
+
/**
|
691
|
+
* Respond to and close the edit record display
|
692
|
+
*
|
693
|
+
* @returns a promise when the operation has completed
|
694
|
+
*/
|
695
|
+
async closeEdit() {
|
696
|
+
this._shouldUpdateTableOnExtentChange = true;
|
697
|
+
if (this._filterByExtentHandle) {
|
698
|
+
this._handleTableOnMapExtent();
|
699
|
+
}
|
700
|
+
}
|
855
701
|
/**
|
856
702
|
* Scroll and zoom to the selected feature from the Features widget.
|
857
703
|
*
|
@@ -912,7 +758,7 @@ const LayerTable = class {
|
|
912
758
|
async editsComplete(evt) {
|
913
759
|
const editType = evt.detail;
|
914
760
|
if (editType === "delete" || editType === "add") {
|
915
|
-
this._allIds = await queryAllIds(
|
761
|
+
this._allIds = await this.queryAllIds();
|
916
762
|
}
|
917
763
|
await this._refresh();
|
918
764
|
}
|
@@ -984,8 +830,8 @@ const LayerTable = class {
|
|
984
830
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
985
831
|
const showSearch = this._canShowFullTextSearch();
|
986
832
|
this._validateActiveActions();
|
987
|
-
return (h(Host, { key: '
|
988
|
-
h("div", { key: '
|
833
|
+
return (h(Host, { key: 'a0a998de3a1b29c311a9fdfa87f3bd836481ba5a' }, h("div", { key: 'aafaf9f925ed7321e1ca7f15fc7db369212dc1dc' }, h("calcite-scrim", { key: '86459aed994823dbf1d774aad01e8207a7df5f4f', class: scrimClass, loading: this._queryingData }), h("calcite-shell", { key: 'b29896a197cba444d2ac377779670394e29ecaf6' }, this._getTableControlRow("header"), h("div", { key: '0456651ac46f399eb04253387d7aae76995f4683', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '9ba484159832fea630bbb653bc2fc4e99e602674', class: "height-full width-full" }, showSearch &&
|
834
|
+
h("div", { key: 'bd4b72db51f44c2954e893e8ef7ec2a30efc4c45', class: "search-container" }, h("calcite-input", { key: '8811ff1dd71408fda37a0d7d2403671df24b5b7b', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), h("calcite-loader", { key: '44a419089cf1e207f52ce19015c2870ce956e261', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '096f4fc7f5cc9500e7982bbfaceb2fcc4c82a1dd', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
989
835
|
.replace("{{total}}", total)
|
990
836
|
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal())));
|
991
837
|
}
|
@@ -1005,8 +851,6 @@ const LayerTable = class {
|
|
1005
851
|
componentDidRender() {
|
1006
852
|
// need to be called after each render to get the clicked mouseEvent
|
1007
853
|
document.onclick = (e) => this._handleDocumentClick(e);
|
1008
|
-
document.onkeydown = (e) => this._handleKeyDown(e);
|
1009
|
-
document.onkeyup = (e) => this._handleKeyUp(e);
|
1010
854
|
this._updateToolbar();
|
1011
855
|
}
|
1012
856
|
//--------------------------------------------------------------------------
|
@@ -1267,6 +1111,7 @@ const LayerTable = class {
|
|
1267
1111
|
}
|
1268
1112
|
if (ti.icon === "selected-items-filter") {
|
1269
1113
|
ti.active = this._showOnlySelected;
|
1114
|
+
ti.label = this._showOnlySelected ? this._translations.showAll : this._translations.showSelected;
|
1270
1115
|
}
|
1271
1116
|
}
|
1272
1117
|
});
|
@@ -1281,7 +1126,6 @@ const LayerTable = class {
|
|
1281
1126
|
// hide multiple edits for R03
|
1282
1127
|
const showMultipleEdits = this.selectedIds.length > 1 && this._layer?.capabilities?.operations?.supportsUpdate && false;
|
1283
1128
|
const featuresEmpty = this._featuresEmpty();
|
1284
|
-
const hasFilterExpressions = this._hasFilterExpressions();
|
1285
1129
|
if (this._translations) {
|
1286
1130
|
this._toolInfos = [
|
1287
1131
|
!this.mapHidden ? {
|
@@ -1293,7 +1137,7 @@ const LayerTable = class {
|
|
1293
1137
|
disabled: !featuresSelected,
|
1294
1138
|
isOverflow: false
|
1295
1139
|
} : undefined,
|
1296
|
-
|
1140
|
+
{
|
1297
1141
|
active: false,
|
1298
1142
|
icon: "filter",
|
1299
1143
|
indicator: false,
|
@@ -1301,7 +1145,7 @@ const LayerTable = class {
|
|
1301
1145
|
func: () => this.createFilterModal ? this._toggleFilter() : this.toggleFilter.emit(),
|
1302
1146
|
disabled: false,
|
1303
1147
|
isOverflow: false
|
1304
|
-
}
|
1148
|
+
},
|
1305
1149
|
showMultipleEdits ? {
|
1306
1150
|
active: false,
|
1307
1151
|
icon: "pencil",
|
@@ -1703,6 +1547,7 @@ const LayerTable = class {
|
|
1703
1547
|
editingEnabled: this._editEnabled && this.enableInlineEdit,
|
1704
1548
|
highlightEnabled: true,
|
1705
1549
|
multiSortEnabled: false,
|
1550
|
+
attachmentsEnabled: true,
|
1706
1551
|
visibleElements: {
|
1707
1552
|
columnDescriptions: false,
|
1708
1553
|
header: false,
|
@@ -1734,88 +1579,9 @@ const LayerTable = class {
|
|
1734
1579
|
return;
|
1735
1580
|
}
|
1736
1581
|
const ids = [...this._getIds()];
|
1737
|
-
|
1738
|
-
|
1739
|
-
|
1740
|
-
this._skipOnChange = true;
|
1741
|
-
// only readd in specific case where we have multiple selected and then click one of the currently selected
|
1742
|
-
const reAdd = this.selectedIds.length > 1 && evt.removed.length === 1;
|
1743
|
-
const newIds = reAdd ? evt.removed : ids.filter(id => this.selectedIds.indexOf(id) < 0);
|
1744
|
-
this._tempSelectedIds = newIds.length ? [...newIds] : [...this.selectedIds];
|
1745
|
-
this._clearSelection();
|
1746
|
-
this.selectedIds = [...newIds];
|
1747
|
-
if (newIds.length > 0) {
|
1748
|
-
this._table.highlightIds.add(newIds[0]);
|
1749
|
-
}
|
1750
|
-
else {
|
1751
|
-
this._skipOnChange = false;
|
1752
|
-
}
|
1753
|
-
}
|
1754
|
-
else {
|
1755
|
-
// https://github.com/Esri/solutions-components/issues/365
|
1756
|
-
this.selectedIds = ids.reverse();
|
1757
|
-
this._tempSelectedIds = [...this.selectedIds];
|
1758
|
-
}
|
1759
|
-
}
|
1760
|
-
else if (this._ctrlIsPressed) {
|
1761
|
-
this.selectedIds = ids.reverse();
|
1762
|
-
this._tempSelectedIds = [...this.selectedIds];
|
1763
|
-
}
|
1764
|
-
else if (this._shiftIsPressed && ids?.length > 0) {
|
1765
|
-
this._skipOnChange = true;
|
1766
|
-
this._previousCurrentId = this._currentId;
|
1767
|
-
this._currentId = [...ids].reverse()[0];
|
1768
|
-
if (ids.length === 1) {
|
1769
|
-
this._skipOnChange = false;
|
1770
|
-
}
|
1771
|
-
else if (this._previousCurrentId !== this._currentId) {
|
1772
|
-
// query the layer based on current sort and filters then grab between the current id and previous id
|
1773
|
-
const orderBy = this._table.activeSortOrders.reduce((prev, cur) => {
|
1774
|
-
prev.push(`${cur.fieldName} ${cur.direction}`);
|
1775
|
-
return prev;
|
1776
|
-
}, []);
|
1777
|
-
// when dealing with a feature layer with many features shift-select can take a very long time.
|
1778
|
-
// don't allow the user to make additional interactions with the table if it takes more than 500 miliseconds
|
1779
|
-
let queryComplete = false;
|
1780
|
-
setTimeout(() => {
|
1781
|
-
if (!queryComplete) {
|
1782
|
-
this._queryingData = true;
|
1783
|
-
}
|
1784
|
-
}, 500);
|
1785
|
-
const oids = await queryAllOidsWithQueryFeatures(0, this._layer, [], orderBy);
|
1786
|
-
queryComplete = true;
|
1787
|
-
this._queryingData = false;
|
1788
|
-
let isBetween = false;
|
1789
|
-
const _start = this._table.viewModel.getObjectIdIndex(this._previousCurrentId);
|
1790
|
-
const _end = this._table.viewModel.getObjectIdIndex(this._currentId);
|
1791
|
-
const startIndex = _start < _end ? _start : _end;
|
1792
|
-
const endIndex = _end > _start ? _end : _start;
|
1793
|
-
this._skipOnChange = startIndex + 1 !== endIndex;
|
1794
|
-
const idsInRange = oids.reduce((prev, cur) => {
|
1795
|
-
const id = cur;
|
1796
|
-
if ((id === this._currentId || id === this._previousCurrentId)) {
|
1797
|
-
isBetween = !isBetween;
|
1798
|
-
if (prev.indexOf(id) < 0) {
|
1799
|
-
prev.push(id);
|
1800
|
-
}
|
1801
|
-
}
|
1802
|
-
else if (isBetween && prev.indexOf(id) < 0) {
|
1803
|
-
prev.push(id);
|
1804
|
-
}
|
1805
|
-
return prev;
|
1806
|
-
}, []);
|
1807
|
-
const selectedIds = _start < _end ? idsInRange.reverse() : idsInRange;
|
1808
|
-
this.selectedIds = [...new Set([...selectedIds, ...this.selectedIds])];
|
1809
|
-
this._tempSelectedIds = [...this.selectedIds];
|
1810
|
-
this._table.highlightIds.addMany(this.selectedIds.filter(i => ids.indexOf(i) < 0));
|
1811
|
-
}
|
1812
|
-
}
|
1813
|
-
this._finishOnChange();
|
1814
|
-
}
|
1815
|
-
else {
|
1816
|
-
this._skipOnChange = false;
|
1817
|
-
}
|
1818
|
-
this._currentId = [...this._getIds()].reverse()[0];
|
1582
|
+
this.selectedIds = ids.reverse();
|
1583
|
+
this._tempSelectedIds = [...this.selectedIds];
|
1584
|
+
this._finishOnChange();
|
1819
1585
|
this._selectionFromMap = false;
|
1820
1586
|
}
|
1821
1587
|
/**
|
@@ -1854,6 +1620,7 @@ const LayerTable = class {
|
|
1854
1620
|
handleOnChange = !this._skipEditCheck;
|
1855
1621
|
this._skipEditCheck = false;
|
1856
1622
|
}
|
1623
|
+
this._shouldUpdateTableOnExtentChange = handleOnChange;
|
1857
1624
|
return handleOnChange;
|
1858
1625
|
}
|
1859
1626
|
/**
|
@@ -1870,7 +1637,7 @@ const LayerTable = class {
|
|
1870
1637
|
_finishOnChange() {
|
1871
1638
|
if (this._showOnlySelected) {
|
1872
1639
|
if (this._featuresSelected()) {
|
1873
|
-
this._table.
|
1640
|
+
this._table.filterBySelectionEnabled = true;
|
1874
1641
|
}
|
1875
1642
|
else {
|
1876
1643
|
this._toggleShowSelected();
|
@@ -1908,7 +1675,7 @@ const LayerTable = class {
|
|
1908
1675
|
async _resetTable() {
|
1909
1676
|
this._loaded = false;
|
1910
1677
|
this._clearSelection();
|
1911
|
-
this._allIds = await queryAllIds(
|
1678
|
+
this._allIds = await this.queryAllIds();
|
1912
1679
|
if (!this._table) {
|
1913
1680
|
const columnTemplates = this._getColumnTemplates(this._layer.id, this._layer?.fields);
|
1914
1681
|
await this._getTable(this._tableNode, columnTemplates);
|
@@ -1962,7 +1729,6 @@ const LayerTable = class {
|
|
1962
1729
|
}
|
1963
1730
|
this._refreshHandle = this._layer.on("refresh", (evt) => {
|
1964
1731
|
if (evt.dataChanged) {
|
1965
|
-
this._skipOnChange = true;
|
1966
1732
|
void this._updateAllIds();
|
1967
1733
|
}
|
1968
1734
|
});
|
@@ -1971,7 +1737,7 @@ const LayerTable = class {
|
|
1971
1737
|
* Reset _allIds when the layers data has changed and refresh the selection ids and table
|
1972
1738
|
*/
|
1973
1739
|
async _updateAllIds() {
|
1974
|
-
this._allIds = await queryAllIds(
|
1740
|
+
this._allIds = await this.queryAllIds();
|
1975
1741
|
this.selectedIds = this.selectedIds.filter(id => this._allIds.indexOf(id) > -1);
|
1976
1742
|
await this._refresh();
|
1977
1743
|
}
|
@@ -2111,20 +1877,6 @@ const LayerTable = class {
|
|
2111
1877
|
}
|
2112
1878
|
}
|
2113
1879
|
}
|
2114
|
-
/**
|
2115
|
-
* Keep track of key down for ctrl and shift
|
2116
|
-
*/
|
2117
|
-
_handleKeyDown(e) {
|
2118
|
-
this._ctrlIsPressed = e.ctrlKey;
|
2119
|
-
this._shiftIsPressed = e.shiftKey;
|
2120
|
-
}
|
2121
|
-
/**
|
2122
|
-
* Keep track of key up for ctrl and shift
|
2123
|
-
*/
|
2124
|
-
_handleKeyUp(e) {
|
2125
|
-
this._ctrlIsPressed = e.ctrlKey;
|
2126
|
-
this._shiftIsPressed = e.shiftKey;
|
2127
|
-
}
|
2128
1880
|
/**
|
2129
1881
|
* Show filter component in modal
|
2130
1882
|
*
|
@@ -2160,6 +1912,40 @@ const LayerTable = class {
|
|
2160
1912
|
this._updateShareUrl();
|
2161
1913
|
await this._searchFullText();
|
2162
1914
|
}
|
1915
|
+
/**
|
1916
|
+
* Update the table when extent is changed
|
1917
|
+
*/
|
1918
|
+
_handleTableOnMapExtent() {
|
1919
|
+
if (this._table) {
|
1920
|
+
this._filterByExtentHandle = this.reactiveUtils.when(() => this.mapView.stationary,
|
1921
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1922
|
+
async () => {
|
1923
|
+
if (this._shouldUpdateTableOnExtentChange) {
|
1924
|
+
//Added timeout while updating table records to avoid the issue in which we see empty table records when extent is changed
|
1925
|
+
await new Promise(resolve => setTimeout(resolve, 800));
|
1926
|
+
this._table.filterGeometry = this.mapView.extent;
|
1927
|
+
const query = {
|
1928
|
+
geometry: this.mapView.extent
|
1929
|
+
};
|
1930
|
+
const objectIdsInExtent = await this._layer.queryObjectIds(query);
|
1931
|
+
// remove the highlight of features which are not in the map extent
|
1932
|
+
const outOids = this.selectedIds.filter(id => !objectIdsInExtent.includes(id));
|
1933
|
+
const restoreOids = this._outOFExtentOids.filter(id => objectIdsInExtent.includes(id));
|
1934
|
+
if (outOids.length > 0) {
|
1935
|
+
this._table.highlightIds.removeMany(outOids);
|
1936
|
+
this._outOFExtentOids = [...this._outOFExtentOids, ...outOids];
|
1937
|
+
}
|
1938
|
+
if (restoreOids.length > 0) {
|
1939
|
+
this._table.highlightIds.addMany(restoreOids);
|
1940
|
+
this._outOFExtentOids = this._outOFExtentOids.filter(oid => !restoreOids.includes(oid));
|
1941
|
+
}
|
1942
|
+
}
|
1943
|
+
this._allIds = await this.queryAllIds();
|
1944
|
+
}, {
|
1945
|
+
initial: true
|
1946
|
+
});
|
1947
|
+
}
|
1948
|
+
}
|
2163
1949
|
/**
|
2164
1950
|
* Close the filter modal
|
2165
1951
|
* @protected
|
@@ -2167,10 +1953,20 @@ const LayerTable = class {
|
|
2167
1953
|
async _closeFilter() {
|
2168
1954
|
if (this._filterOpen) {
|
2169
1955
|
// reset allIds
|
2170
|
-
this._allIds = await queryAllIds(
|
1956
|
+
this._allIds = await this.queryAllIds();
|
2171
1957
|
this._filterOpen = false;
|
2172
1958
|
}
|
2173
1959
|
}
|
1960
|
+
/**
|
1961
|
+
* Query the layer for applied filter
|
1962
|
+
* @returns Promise with the featureSet from the layer that match the provided ids
|
1963
|
+
*/
|
1964
|
+
async queryAllIds() {
|
1965
|
+
const query = this._layer.createQuery();
|
1966
|
+
query.geometry = this._filterByExtentHandle ? this.mapView.extent : null;
|
1967
|
+
query.where = this._layer.definitionExpression || "1=1";
|
1968
|
+
return await this._layer.queryObjectIds(query);
|
1969
|
+
}
|
2174
1970
|
/**
|
2175
1971
|
* Handle map click events to keep table and map click selection in sync
|
2176
1972
|
*
|
@@ -2192,7 +1988,7 @@ const LayerTable = class {
|
|
2192
1988
|
}
|
2193
1989
|
});
|
2194
1990
|
if (this._showOnlySelected) {
|
2195
|
-
this._table.
|
1991
|
+
this._table.filterBySelectionEnabled = true;
|
2196
1992
|
}
|
2197
1993
|
}
|
2198
1994
|
else {
|
@@ -2209,7 +2005,6 @@ const LayerTable = class {
|
|
2209
2005
|
const editsDiscarded = await this._validateActiveEdits(addedIds, this.selectedIds);
|
2210
2006
|
if (editsDiscarded) {
|
2211
2007
|
this._table.highlightIds.removeAll();
|
2212
|
-
this._skipOnChange = true;
|
2213
2008
|
this._table.highlightIds.addMany(ids);
|
2214
2009
|
this.selectedIds = ids;
|
2215
2010
|
this._finishOnChange();
|
@@ -2226,12 +2021,7 @@ const LayerTable = class {
|
|
2226
2021
|
*/
|
2227
2022
|
_toggleShowSelected() {
|
2228
2023
|
this._showOnlySelected = !this._showOnlySelected;
|
2229
|
-
|
2230
|
-
this._table.filterBySelection();
|
2231
|
-
}
|
2232
|
-
else {
|
2233
|
-
this._table.objectIds.removeAll();
|
2234
|
-
}
|
2024
|
+
this._table.filterBySelectionEnabled = this._showOnlySelected;
|
2235
2025
|
}
|
2236
2026
|
/**
|
2237
2027
|
* Clears the selected indexes
|
@@ -2239,6 +2029,7 @@ const LayerTable = class {
|
|
2239
2029
|
*/
|
2240
2030
|
_clearSelection() {
|
2241
2031
|
this.selectedIds = [];
|
2032
|
+
this._outOFExtentOids = [];
|
2242
2033
|
this._table?.highlightIds.removeAll();
|
2243
2034
|
this._table?.rowHighlightIds.removeAll();
|
2244
2035
|
this._finishOnChange();
|
@@ -2278,7 +2069,6 @@ const LayerTable = class {
|
|
2278
2069
|
const editsDiscarded = await this._validateActiveEdits(ids, currentIndexes);
|
2279
2070
|
if (editsDiscarded) {
|
2280
2071
|
this._table.highlightIds.removeAll();
|
2281
|
-
this._skipOnChange = true;
|
2282
2072
|
this._table.highlightIds.addMany(ids);
|
2283
2073
|
this.selectedIds = ids;
|
2284
2074
|
this._finishOnChange();
|
@@ -2336,8 +2126,8 @@ const LayerTable = class {
|
|
2336
2126
|
async _refresh() {
|
2337
2127
|
const editsDiscarded = await this._validateActiveEdits([], this.selectedIds);
|
2338
2128
|
if (editsDiscarded) {
|
2339
|
-
await this._table
|
2340
|
-
this._allIds = await queryAllIds(
|
2129
|
+
await this._table?.refresh();
|
2130
|
+
this._allIds = await this.queryAllIds();
|
2341
2131
|
this.featureSelectionChange.emit(this.selectedIds);
|
2342
2132
|
}
|
2343
2133
|
}
|
@@ -2367,6 +2157,7 @@ const LayerTable = class {
|
|
2367
2157
|
this._fetchingData = true;
|
2368
2158
|
const layer = await getLayerOrTable(this.mapView, id);
|
2369
2159
|
layer && await layer.when(() => {
|
2160
|
+
this._shouldUpdateTableOnExtentChange = true;
|
2370
2161
|
this._layer = layer;
|
2371
2162
|
this._getFullTextSearchInfo();
|
2372
2163
|
});
|
@@ -2540,192 +2331,51 @@ const MapCard = class {
|
|
2540
2331
|
this.beforeMapChanged = createEvent(this, "beforeMapChanged", 7);
|
2541
2332
|
this.toggleFilter = createEvent(this, "toggleFilter", 7);
|
2542
2333
|
this.clearSelection = createEvent(this, "clearSelection", 7);
|
2334
|
+
this.appLayout = undefined;
|
2335
|
+
this.appProxies = undefined;
|
2336
|
+
this.defaultWebmapId = "";
|
2337
|
+
this.defaultLayerId = undefined;
|
2338
|
+
this.enableHome = undefined;
|
2339
|
+
this.enableLegend = undefined;
|
2340
|
+
this.enableFloorFilter = undefined;
|
2341
|
+
this.enableFullscreen = undefined;
|
2342
|
+
this.enableShare = false;
|
2343
|
+
this.enableSingleExpand = true;
|
2344
|
+
this.enableSearch = undefined;
|
2345
|
+
this.enableBasemap = undefined;
|
2346
|
+
this.basemapConfig = undefined;
|
2347
|
+
this.hidden = undefined;
|
2348
|
+
this.homeZoomIndex = 3;
|
2349
|
+
this.homeZoomPosition = "top-left";
|
2350
|
+
this.homeZoomToolsSize = "m";
|
2351
|
+
this.locale = undefined;
|
2352
|
+
this.mapInfos = [];
|
2353
|
+
this.mapWidgetsIndex = 0;
|
2354
|
+
this.mapWidgetsPosition = "top-right";
|
2355
|
+
this.mapWidgetsSize = "m";
|
2356
|
+
this.mapView = undefined;
|
2357
|
+
this.stackTools = true;
|
2358
|
+
this.theme = undefined;
|
2359
|
+
this.toolOrder = undefined;
|
2360
|
+
this.isMapLayout = undefined;
|
2361
|
+
this.shareIncludeEmbed = undefined;
|
2362
|
+
this.shareIncludeSocial = undefined;
|
2363
|
+
this.selectedFeaturesIds = undefined;
|
2364
|
+
this.selectedLayer = undefined;
|
2365
|
+
this.zoomToScale = undefined;
|
2366
|
+
this.onlyShowUpdatableLayers = undefined;
|
2367
|
+
this.isMobile = undefined;
|
2368
|
+
this.mapInfo = undefined;
|
2369
|
+
this._translations = undefined;
|
2370
|
+
this._searchConfiguration = undefined;
|
2371
|
+
this._webMapInfo = undefined;
|
2372
|
+
this._showHideOpen = false;
|
2373
|
+
this._toolInfos = undefined;
|
2374
|
+
this._controlsThatFit = undefined;
|
2543
2375
|
}
|
2544
2376
|
get el() { return getElement(this); }
|
2545
2377
|
//--------------------------------------------------------------------------
|
2546
2378
|
//
|
2547
|
-
// Properties (public)
|
2548
|
-
//
|
2549
|
-
//--------------------------------------------------------------------------
|
2550
|
-
/**
|
2551
|
-
* AppLayout: the current app layout
|
2552
|
-
*/
|
2553
|
-
appLayout;
|
2554
|
-
/**
|
2555
|
-
* Array of objects containing proxy information for premium platform services.
|
2556
|
-
*/
|
2557
|
-
appProxies;
|
2558
|
-
/**
|
2559
|
-
* string: Item ID of the web map that should be selected by default when the app loads
|
2560
|
-
*/
|
2561
|
-
defaultWebmapId = "";
|
2562
|
-
/**
|
2563
|
-
* string: when provided this layer ID will be used when the app loads
|
2564
|
-
*/
|
2565
|
-
defaultLayerId;
|
2566
|
-
/**
|
2567
|
-
* boolean: when true the home widget will be available
|
2568
|
-
*/
|
2569
|
-
enableHome;
|
2570
|
-
/**
|
2571
|
-
* boolean: when true the legend widget will be available
|
2572
|
-
*/
|
2573
|
-
enableLegend;
|
2574
|
-
/**
|
2575
|
-
* boolean: when true the floor filter widget will be available
|
2576
|
-
*/
|
2577
|
-
enableFloorFilter;
|
2578
|
-
/**
|
2579
|
-
* boolean: when true the fullscreen widget will be available
|
2580
|
-
*/
|
2581
|
-
enableFullscreen;
|
2582
|
-
/**
|
2583
|
-
* boolean: when true the share widget will be available
|
2584
|
-
*/
|
2585
|
-
enableShare = false;
|
2586
|
-
/**
|
2587
|
-
* boolean: when true map tools will be displayed within a single expand/collapse widget
|
2588
|
-
* when false widgets will be loaded individually into expand widgets
|
2589
|
-
*/
|
2590
|
-
enableSingleExpand = true;
|
2591
|
-
/**
|
2592
|
-
* boolean: when true the search widget will be available
|
2593
|
-
*/
|
2594
|
-
enableSearch;
|
2595
|
-
/**
|
2596
|
-
* boolean: when true the basemap widget will be available
|
2597
|
-
*/
|
2598
|
-
enableBasemap;
|
2599
|
-
/**
|
2600
|
-
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
2601
|
-
*/
|
2602
|
-
basemapConfig;
|
2603
|
-
/**
|
2604
|
-
* boolean: When true the map display will be hidden
|
2605
|
-
*/
|
2606
|
-
hidden;
|
2607
|
-
/**
|
2608
|
-
* number: The placement index of the home and zoom components. This index shows where to place the component relative to other components.
|
2609
|
-
* For example a value of 0 would place it topmost when position is top-*, leftmost for bottom-left and right most for bottom-right.
|
2610
|
-
*/
|
2611
|
-
homeZoomIndex = 3;
|
2612
|
-
/**
|
2613
|
-
* __esri.UIPosition: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-UI.html#UIPosition
|
2614
|
-
* The position details for the Home and Zoom tools
|
2615
|
-
*/
|
2616
|
-
homeZoomPosition = "top-left";
|
2617
|
-
/**
|
2618
|
-
* "s" | "m" | "l": Used for Zoom and Home tools
|
2619
|
-
*/
|
2620
|
-
homeZoomToolsSize = "m";
|
2621
|
-
/**
|
2622
|
-
* string: Locale to use for translation of stings in the UI
|
2623
|
-
*/
|
2624
|
-
locale;
|
2625
|
-
/**
|
2626
|
-
* IMapInfo[]: array of map infos (name and id)
|
2627
|
-
*/
|
2628
|
-
mapInfos = [];
|
2629
|
-
/**
|
2630
|
-
* number: The placement index of the map widgets (legend, basemap, fullscreen etc). This index shows where to place the component relative to other components.
|
2631
|
-
* For example a value of 0 would place it topmost when position is top-*, leftmost for bottom-left and right most for bottom-right.
|
2632
|
-
*/
|
2633
|
-
mapWidgetsIndex = 0;
|
2634
|
-
/**
|
2635
|
-
* __esri.UIPosition: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-UI.html#UIPosition
|
2636
|
-
* The position details for the Home and Zoom tools
|
2637
|
-
*/
|
2638
|
-
mapWidgetsPosition = "top-right";
|
2639
|
-
/**
|
2640
|
-
* "s" | "m" | "l": Used for optional map tool widget
|
2641
|
-
*/
|
2642
|
-
mapWidgetsSize = "m";
|
2643
|
-
/**
|
2644
|
-
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
2645
|
-
*/
|
2646
|
-
mapView;
|
2647
|
-
/**
|
2648
|
-
* boolean: When true the map widget tools will have no margin between them.
|
2649
|
-
* When false the map widget tools will have a margin between them.
|
2650
|
-
*/
|
2651
|
-
stackTools = true;
|
2652
|
-
/**
|
2653
|
-
* theme: "light" | "dark" theme to be used
|
2654
|
-
*/
|
2655
|
-
theme;
|
2656
|
-
/**
|
2657
|
-
*
|
2658
|
-
* Valid tools: "legend", "search", "fullscreen", "basemap", "floorfilter"
|
2659
|
-
*/
|
2660
|
-
toolOrder;
|
2661
|
-
/**
|
2662
|
-
* boolean: When true map will shown is full screen
|
2663
|
-
*/
|
2664
|
-
isMapLayout;
|
2665
|
-
/**
|
2666
|
-
* boolean: When true the share options will include embed option
|
2667
|
-
*/
|
2668
|
-
shareIncludeEmbed;
|
2669
|
-
/**
|
2670
|
-
* boolean: When true the share options will include social media sharing
|
2671
|
-
*/
|
2672
|
-
shareIncludeSocial;
|
2673
|
-
/**
|
2674
|
-
* number[]: A list of ids that are currently selected
|
2675
|
-
*/
|
2676
|
-
selectedFeaturesIds;
|
2677
|
-
/**
|
2678
|
-
* __esri.FeatureLayer: Selected layer
|
2679
|
-
*/
|
2680
|
-
selectedLayer;
|
2681
|
-
/**
|
2682
|
-
* number: default scale to zoom to when zooming to a single point feature
|
2683
|
-
*/
|
2684
|
-
zoomToScale;
|
2685
|
-
/**
|
2686
|
-
* boolean: When true only editable layers that support the update capability will be available
|
2687
|
-
*/
|
2688
|
-
onlyShowUpdatableLayers;
|
2689
|
-
/**
|
2690
|
-
* When true the component will render an optimized view for mobile devices
|
2691
|
-
*/
|
2692
|
-
isMobile;
|
2693
|
-
/**
|
2694
|
-
* IMapInfo: key configuration details about the current map
|
2695
|
-
*/
|
2696
|
-
mapInfo;
|
2697
|
-
//--------------------------------------------------------------------------
|
2698
|
-
//
|
2699
|
-
// State (internal)
|
2700
|
-
//
|
2701
|
-
//--------------------------------------------------------------------------
|
2702
|
-
/**
|
2703
|
-
* Contains the translations for this component.
|
2704
|
-
* All UI strings should be defined here.
|
2705
|
-
*/
|
2706
|
-
_translations;
|
2707
|
-
/**
|
2708
|
-
* ISearchConfiguration: Configuration details for the Search widget
|
2709
|
-
*/
|
2710
|
-
_searchConfiguration;
|
2711
|
-
/**
|
2712
|
-
* IMapInfo: id and name of the map to display
|
2713
|
-
*/
|
2714
|
-
_webMapInfo;
|
2715
|
-
/**
|
2716
|
-
* boolean: When true the show/hide fields list is forced open
|
2717
|
-
*/
|
2718
|
-
_showHideOpen = false;
|
2719
|
-
/**
|
2720
|
-
* IToolInfo[]: Key details used for creating the tools
|
2721
|
-
*/
|
2722
|
-
_toolInfos;
|
2723
|
-
/**
|
2724
|
-
* IToolSizeInfo[]: The controls that currently fit based on toolbar size
|
2725
|
-
*/
|
2726
|
-
_controlsThatFit;
|
2727
|
-
//--------------------------------------------------------------------------
|
2728
|
-
//
|
2729
2379
|
// Properties (protected)
|
2730
2380
|
//
|
2731
2381
|
//--------------------------------------------------------------------------
|