@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
@@ -7,14 +7,14 @@
|
|
7
7
|
|
8
8
|
Object.defineProperty(exports, '__esModule', { value: true });
|
9
9
|
|
10
|
-
const index = require('./index-
|
11
|
-
const locale = require('./locale-
|
12
|
-
const mapViewUtils = require('./mapViewUtils-
|
13
|
-
const downloadUtils = require('./downloadUtils-
|
14
|
-
require('./esri-loader-
|
10
|
+
const index = require('./index-af14245a.js');
|
11
|
+
const locale = require('./locale-905e6063.js');
|
12
|
+
const mapViewUtils = require('./mapViewUtils-4ea7216c.js');
|
13
|
+
const downloadUtils = require('./downloadUtils-b269c7a1.js');
|
14
|
+
require('./esri-loader-1e8cc247.js');
|
15
15
|
require('./_commonjsHelpers-baf43783.js');
|
16
16
|
require('./interfaces-09c4c40e.js');
|
17
|
-
require('./typeof-
|
17
|
+
require('./typeof-eba0a941.js');
|
18
18
|
require('./index-5d8d6ae2.js');
|
19
19
|
require('./solution-resource-d0a2f7fe.js');
|
20
20
|
require('./restHelpersGet-e4639890.js');
|
@@ -29,79 +29,23 @@ const CardManager = class {
|
|
29
29
|
this.createWorkFlowStarted = index.createEvent(this, "createWorkFlowStarted", 7);
|
30
30
|
this.backFromCreateWorkFlow = index.createEvent(this, "backFromCreateWorkFlow", 7);
|
31
31
|
this.featureOrRecordSubmitted = index.createEvent(this, "featureOrRecordSubmitted", 7);
|
32
|
+
this.customInfoText = undefined;
|
33
|
+
this.enableEditGeometry = false;
|
34
|
+
this.isMobile = undefined;
|
35
|
+
this.layer = undefined;
|
36
|
+
this.locale = undefined;
|
37
|
+
this.mapView = undefined;
|
38
|
+
this.zoomAndScrollToSelected = undefined;
|
39
|
+
this.selectedFeaturesIds = undefined;
|
40
|
+
this.enableCreateFeatures = true;
|
41
|
+
this.selectingFeatureFromMap = undefined;
|
42
|
+
this._cardLoading = false;
|
43
|
+
this._graphics = undefined;
|
44
|
+
this._showCreateFeatureComponent = false;
|
45
|
+
this._showSubmitBtn = false;
|
46
|
+
this._translations = undefined;
|
32
47
|
}
|
33
48
|
get el() { return index.getElement(this); }
|
34
|
-
//--------------------------------------------------------------------------
|
35
|
-
//
|
36
|
-
// Properties (public)
|
37
|
-
//
|
38
|
-
//--------------------------------------------------------------------------
|
39
|
-
/**
|
40
|
-
* string: custom notice text to display
|
41
|
-
*/
|
42
|
-
customInfoText;
|
43
|
-
/**
|
44
|
-
* When true the geometry of the current feature will be editable
|
45
|
-
*/
|
46
|
-
enableEditGeometry = false;
|
47
|
-
/**
|
48
|
-
* When true the component will render an optimized view for mobile devices
|
49
|
-
*/
|
50
|
-
isMobile;
|
51
|
-
/**
|
52
|
-
* esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
53
|
-
*/
|
54
|
-
layer;
|
55
|
-
/**
|
56
|
-
* string: Locale to use for translation of stings in the UI
|
57
|
-
*/
|
58
|
-
locale;
|
59
|
-
/**
|
60
|
-
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
61
|
-
*/
|
62
|
-
mapView;
|
63
|
-
/**
|
64
|
-
* boolean: When true the selected feature will zoomed to in the map and the row will be scrolled to within the table
|
65
|
-
*/
|
66
|
-
zoomAndScrollToSelected;
|
67
|
-
/**
|
68
|
-
* A list of ids that are currently selected
|
69
|
-
*/
|
70
|
-
selectedFeaturesIds;
|
71
|
-
/**
|
72
|
-
* boolean: when true the users can have the option to create features
|
73
|
-
*/
|
74
|
-
enableCreateFeatures = true;
|
75
|
-
/**
|
76
|
-
* boolean: When select feature from map message will shown
|
77
|
-
*/
|
78
|
-
selectingFeatureFromMap;
|
79
|
-
//--------------------------------------------------------------------------
|
80
|
-
//
|
81
|
-
// State (internal)
|
82
|
-
//
|
83
|
-
//--------------------------------------------------------------------------
|
84
|
-
/**
|
85
|
-
* When true a loading indicator will be shown in the current card
|
86
|
-
*/
|
87
|
-
_cardLoading = false;
|
88
|
-
/**
|
89
|
-
* The current selected graphics
|
90
|
-
*/
|
91
|
-
_graphics;
|
92
|
-
/**
|
93
|
-
* When true feature component is shown
|
94
|
-
*/
|
95
|
-
_showCreateFeatureComponent = false;
|
96
|
-
/**
|
97
|
-
* boolean: When true show the create button
|
98
|
-
*/
|
99
|
-
_showSubmitBtn = false;
|
100
|
-
/**
|
101
|
-
* Contains the translations for this component.
|
102
|
-
* All UI strings should be defined here.
|
103
|
-
*/
|
104
|
-
_translations;
|
105
49
|
/**
|
106
50
|
* boolean: Flag to maintain if recently any feature has been created
|
107
51
|
*/
|
@@ -197,7 +141,7 @@ const CardManager = class {
|
|
197
141
|
const heading = isTable ? this._translations.createRecord : this._translations.createFeature;
|
198
142
|
const guideMsg = this.customInfoText ? this.customInfoText : this.selectingFeatureFromMap ? this._translations.selectFeaturesFromMapToStart : this._translations.selectFeaturesToStart;
|
199
143
|
const showCreateFeatureOrRecordBtn = this.enableCreateFeatures && this.layer?.capabilities?.operations?.supportsAdd;
|
200
|
-
return (index.h(index.Host, { key: '5557aa4d80b859335e38db3f4255f4a61d00560f' }, index.h("div", { key: '6756e3314fc3444a982010a3cfa702d77f05f316', class: "overflow-auto height-full" }, index.h("calcite-shell", { key: '715eb7ed692a1d00347d44f20df370cf9a91ded5', class: "position-relative " + featuresClass }, index.h("div", { key: 'baf4e97c1884f477e4077a6dc8e59d98c77593a4', class: "position-static z-index-500" }, index.h("info-card", { key: '
|
144
|
+
return (index.h(index.Host, { key: '5557aa4d80b859335e38db3f4255f4a61d00560f' }, index.h("div", { key: '6756e3314fc3444a982010a3cfa702d77f05f316', class: "overflow-auto height-full" }, index.h("calcite-shell", { key: '715eb7ed692a1d00347d44f20df370cf9a91ded5', class: "position-relative " + featuresClass }, index.h("div", { key: 'baf4e97c1884f477e4077a6dc8e59d98c77593a4', class: "position-static z-index-500" }, index.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 }))), index.h("calcite-shell", { key: '94b646061956a78dec4f96d9d1d9dedc5ad6aee7', class: "position-relative " + messageClass }, index.h("calcite-panel", { key: '00b660d474234f8156f3d4c627626f5891754051' }, index.h("div", { key: 'adb0732ff59c4fdedb19367a32ad9e3e060ddb60', class: "padding-1" }, index.h("calcite-notice", { key: 'a2c88bd4a0827111b0d1f3056ae571b47e5b380b', icon: this.selectingFeatureFromMap ? "map" : "table", iconFlipRtl: true, open: true }, index.h("div", { key: 'bffc2630de3f0376b6ea5827c89f65dc605a5356', slot: "message" }, guideMsg))), !this.isMobile && showCreateFeatureOrRecordBtn && index.h("calcite-button", { key: '08bef5c20d6b60e17abcfc9fc19d7d1eb5d04b1c', disabled: !this.layer, onClick: () => this._createFeatureBtnClicked(), slot: "footer", width: "full" }, isTable ? this._translations.createRecord : this._translations.createFeature))), index.h("calcite-shell", { key: '833a8de60b491008006034c1696fcb29f1bb6a08', class: "position-relative " + createFeatureClass }, index.h("calcite-flow-item", { key: 'dd2ae4509e4bec5a90f33484f8a28f422c0eeee4' }, index.h("calcite-panel", { key: '8fa68650f1933a88cdaf1fee8391cf433b7b54e9', heading: heading }, index.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 && index.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)))))));
|
201
145
|
}
|
202
146
|
/**
|
203
147
|
* Returns the editor component for adding feature
|
@@ -284,181 +228,49 @@ const LayerTable = class {
|
|
284
228
|
this.featureSelectionChange = index.createEvent(this, "featureSelectionChange", 7);
|
285
229
|
this.toggleFilter = index.createEvent(this, "toggleFilter", 7);
|
286
230
|
this.showDelete = index.createEvent(this, "showDelete", 7);
|
231
|
+
this.appLayout = undefined;
|
232
|
+
this.defaultGlobalId = undefined;
|
233
|
+
this.defaultLayerId = undefined;
|
234
|
+
this.defaultOid = undefined;
|
235
|
+
this.enableAutoRefresh = undefined;
|
236
|
+
this.enableColumnReorder = true;
|
237
|
+
this.enableCSV = undefined;
|
238
|
+
this.enableInlineEdit = undefined;
|
239
|
+
this.enableShare = undefined;
|
240
|
+
this.honorMapFieldSettings = undefined;
|
241
|
+
this.isMobile = undefined;
|
242
|
+
this.locale = undefined;
|
243
|
+
this.mapHidden = undefined;
|
244
|
+
this.mapInfo = undefined;
|
245
|
+
this.mapView = undefined;
|
246
|
+
this.onlyShowUpdatableLayers = undefined;
|
247
|
+
this.selectedIds = [];
|
248
|
+
this.shareIncludeEmbed = undefined;
|
249
|
+
this.shareIncludeSocial = undefined;
|
250
|
+
this.showNewestFirst = undefined;
|
251
|
+
this.zoomAndScrollToSelected = undefined;
|
252
|
+
this.zoomToScale = undefined;
|
253
|
+
this.createFilterModal = true;
|
254
|
+
this._allIds = [];
|
255
|
+
this._controlsThatFit = undefined;
|
256
|
+
this._csvExporting = false;
|
257
|
+
this._fetchingData = false;
|
258
|
+
this._filterActive = false;
|
259
|
+
this._filterOpen = false;
|
260
|
+
this._layer = undefined;
|
261
|
+
this._selectAllActive = false;
|
262
|
+
this._showHideOpen = false;
|
263
|
+
this._showOnlySelected = false;
|
264
|
+
this._toolInfos = undefined;
|
265
|
+
this._translations = undefined;
|
266
|
+
this._fullTextSearchInfo = undefined;
|
267
|
+
this._searchPlaceHolder = '';
|
268
|
+
this._size = 0;
|
269
|
+
this._queryingData = false;
|
287
270
|
}
|
288
271
|
get el() { return index.getElement(this); }
|
289
272
|
//--------------------------------------------------------------------------
|
290
273
|
//
|
291
|
-
// Properties (public)
|
292
|
-
//
|
293
|
-
//--------------------------------------------------------------------------
|
294
|
-
/**
|
295
|
-
* AppLayout: the current app layout
|
296
|
-
*/
|
297
|
-
appLayout;
|
298
|
-
/**
|
299
|
-
* string: Global ID of the feature to select
|
300
|
-
*/
|
301
|
-
defaultGlobalId;
|
302
|
-
/**
|
303
|
-
* string: when provided this layer ID will be used when the app loads
|
304
|
-
*/
|
305
|
-
defaultLayerId;
|
306
|
-
/**
|
307
|
-
* number: when provided this will be used to select a feature in the table by default
|
308
|
-
*/
|
309
|
-
defaultOid;
|
310
|
-
/**
|
311
|
-
* boolean: when true the layer table will auto refresh the data
|
312
|
-
*/
|
313
|
-
enableAutoRefresh;
|
314
|
-
/**
|
315
|
-
* boolean: when true the layer table will support drag/drop of columns to adjust order
|
316
|
-
*/
|
317
|
-
enableColumnReorder = true;
|
318
|
-
/**
|
319
|
-
* boolean: when true the export to csv button will be available
|
320
|
-
*/
|
321
|
-
enableCSV;
|
322
|
-
/**
|
323
|
-
* boolean: when true edits can be applied directly within the table
|
324
|
-
*/
|
325
|
-
enableInlineEdit;
|
326
|
-
/**
|
327
|
-
* boolean: when true the share widget will be available
|
328
|
-
*/
|
329
|
-
enableShare;
|
330
|
-
/**
|
331
|
-
* boolean: when true we will honor field order and visibility that may have been defined
|
332
|
-
* in the map viewer if no field order is defined in the mapInfo.
|
333
|
-
*
|
334
|
-
* Field order defined in the mapInfo as would be the case for Instant App configurations
|
335
|
-
* will always override this map level setting.
|
336
|
-
*/
|
337
|
-
honorMapFieldSettings;
|
338
|
-
/**
|
339
|
-
* When true the component will render an optimized view for mobile devices
|
340
|
-
*/
|
341
|
-
isMobile;
|
342
|
-
/**
|
343
|
-
* string: Locale to use for translation of stings in the UI
|
344
|
-
*/
|
345
|
-
locale;
|
346
|
-
/**
|
347
|
-
* boolean: when true the map is hidden and map specific controls should be hidden
|
348
|
-
*/
|
349
|
-
mapHidden;
|
350
|
-
/**
|
351
|
-
* IMapInfo: key configuration details about the current map
|
352
|
-
*/
|
353
|
-
mapInfo;
|
354
|
-
/**
|
355
|
-
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
356
|
-
*/
|
357
|
-
mapView;
|
358
|
-
/**
|
359
|
-
* boolean: When true only editable layers that support the update capability will be available
|
360
|
-
*/
|
361
|
-
onlyShowUpdatableLayers;
|
362
|
-
/**
|
363
|
-
* number[]: A list of ids that are currently selected
|
364
|
-
*/
|
365
|
-
selectedIds = [];
|
366
|
-
/**
|
367
|
-
* boolean: When true the share options will include embed option
|
368
|
-
*/
|
369
|
-
shareIncludeEmbed;
|
370
|
-
/**
|
371
|
-
* boolean: When true the share options will include social media sharing
|
372
|
-
*/
|
373
|
-
shareIncludeSocial;
|
374
|
-
/**
|
375
|
-
* boolean: when true the table will be sorted by objectid in descending order by default
|
376
|
-
*/
|
377
|
-
showNewestFirst;
|
378
|
-
/**
|
379
|
-
* boolean: When true the selected feature will zoomed to in the map and the row will be scrolled to within the table
|
380
|
-
*/
|
381
|
-
zoomAndScrollToSelected;
|
382
|
-
/**
|
383
|
-
* number: default scale to zoom to when zooming to a single point feature
|
384
|
-
*/
|
385
|
-
zoomToScale;
|
386
|
-
/**
|
387
|
-
* boolean: create filter modal optional (default true) boolean value to create filter modal in layer table
|
388
|
-
*/
|
389
|
-
createFilterModal = true;
|
390
|
-
//--------------------------------------------------------------------------
|
391
|
-
//
|
392
|
-
// State (internal)
|
393
|
-
//
|
394
|
-
//--------------------------------------------------------------------------
|
395
|
-
/**
|
396
|
-
* number[]: A list of all IDs for the current layer
|
397
|
-
*/
|
398
|
-
_allIds = [];
|
399
|
-
/**
|
400
|
-
* IToolSizeInfo[]: The controls that currently fit based on toolbar size
|
401
|
-
*/
|
402
|
-
_controlsThatFit;
|
403
|
-
/**
|
404
|
-
* boolean: When true a loading indicator will be shown beside the button text
|
405
|
-
*/
|
406
|
-
_csvExporting = false;
|
407
|
-
/**
|
408
|
-
* boolean: When true a loading indicator will be shown in place of the layer table
|
409
|
-
*/
|
410
|
-
_fetchingData = false;
|
411
|
-
/**
|
412
|
-
* boolean: When true an indicator will be shown on the action
|
413
|
-
*/
|
414
|
-
_filterActive = false;
|
415
|
-
/**
|
416
|
-
* boolean: When true the filter component will be displayed
|
417
|
-
*/
|
418
|
-
_filterOpen = false;
|
419
|
-
/**
|
420
|
-
* esri/views/layers/FeatureLayer: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html
|
421
|
-
*/
|
422
|
-
_layer;
|
423
|
-
/**
|
424
|
-
* boolean: When true the select all will be displayed in an active state
|
425
|
-
*/
|
426
|
-
_selectAllActive = false;
|
427
|
-
/**
|
428
|
-
* boolean: When true the show/hide fields list is forced open
|
429
|
-
*/
|
430
|
-
_showHideOpen = false;
|
431
|
-
/**
|
432
|
-
* boolean: When true only selected records will be shown in the table
|
433
|
-
*/
|
434
|
-
_showOnlySelected = false;
|
435
|
-
/**
|
436
|
-
* IToolInfo[]: Key details used for creating the tools
|
437
|
-
*/
|
438
|
-
_toolInfos;
|
439
|
-
/**
|
440
|
-
* Contains the translations for this component.
|
441
|
-
* All UI strings should be defined here.
|
442
|
-
*/
|
443
|
-
_translations;
|
444
|
-
/**
|
445
|
-
* any[] Contains full text search info object
|
446
|
-
*/
|
447
|
-
_fullTextSearchInfo;
|
448
|
-
/**
|
449
|
-
* string Placeholder string to show fields included in full text search
|
450
|
-
*/
|
451
|
-
_searchPlaceHolder = '';
|
452
|
-
/**
|
453
|
-
* number Total number of records currently displayed in the table. This takes into account all active filters.
|
454
|
-
*/
|
455
|
-
_size = 0;
|
456
|
-
/**
|
457
|
-
* boolean: When true a loading indicator will be shown in place of the layer table
|
458
|
-
*/
|
459
|
-
_queryingData = false;
|
460
|
-
//--------------------------------------------------------------------------
|
461
|
-
//
|
462
274
|
// Properties (protected)
|
463
275
|
//
|
464
276
|
//--------------------------------------------------------------------------
|
@@ -474,10 +286,6 @@ const LayerTable = class {
|
|
474
286
|
* IColumnsInfo: Key/value pair with fieldname/(visible in table)
|
475
287
|
*/
|
476
288
|
_columnsInfo;
|
477
|
-
/**
|
478
|
-
* boolean: When true the ctrl key is currently pressed
|
479
|
-
*/
|
480
|
-
_ctrlIsPressed = false;
|
481
289
|
/**
|
482
290
|
* number: The id of the most recently selected row from the table
|
483
291
|
*/
|
@@ -583,18 +391,10 @@ const LayerTable = class {
|
|
583
391
|
* HTMLInstantAppsSocialShareElement: Element to support app sharing to social media
|
584
392
|
*/
|
585
393
|
_shareNode;
|
586
|
-
/**
|
587
|
-
* boolean: When true the shift key is currently pressed
|
588
|
-
*/
|
589
|
-
_shiftIsPressed = false;
|
590
394
|
/**
|
591
395
|
* HTMLCalciteDropdownElement: Dropdown the will support show/hide of table columns
|
592
396
|
*/
|
593
397
|
_showHideDropdown;
|
594
|
-
/**
|
595
|
-
* boolean: When true any onChange handeling will be skipped
|
596
|
-
*/
|
597
|
-
_skipOnChange = false;
|
598
398
|
/**
|
599
399
|
* HTMLCalciteDropdownElement: Dropdown the will support overflow tools that won't fit in the current display
|
600
400
|
*/
|
@@ -627,10 +427,22 @@ const LayerTable = class {
|
|
627
427
|
* boolean: When true we will not evaluate if the editor has any pending edits
|
628
428
|
*/
|
629
429
|
_skipEditCheck = false;
|
430
|
+
/**
|
431
|
+
* __esri.Handle: handle for the filter by extent
|
432
|
+
*/
|
433
|
+
_filterByExtentHandle;
|
630
434
|
/**
|
631
435
|
* number[]: selected features from table
|
632
436
|
*/
|
633
437
|
_tempSelectedIds;
|
438
|
+
/**
|
439
|
+
* number[]: out of extent oids which are selected but now out of extent
|
440
|
+
*/
|
441
|
+
_outOFExtentOids = [];
|
442
|
+
/**
|
443
|
+
* boolean: When true allow table to update the records
|
444
|
+
*/
|
445
|
+
_shouldUpdateTableOnExtentChange = true;
|
634
446
|
//--------------------------------------------------------------------------
|
635
447
|
//
|
636
448
|
// Watch handlers
|
@@ -794,13 +606,35 @@ const LayerTable = class {
|
|
794
606
|
* Reset the filter
|
795
607
|
*/
|
796
608
|
async filterReset() {
|
609
|
+
if (this._filterByExtentHandle) {
|
610
|
+
this._table.filterGeometry = undefined;
|
611
|
+
this._filterByExtentHandle.remove();
|
612
|
+
this._filterByExtentHandle = undefined;
|
613
|
+
}
|
797
614
|
await this._handleFilterListReset();
|
798
615
|
}
|
799
616
|
/**
|
800
617
|
* Updates the filter
|
801
618
|
*/
|
802
|
-
async filterUpdate(
|
803
|
-
await this._handleFilterUpdate(
|
619
|
+
async filterUpdate(filterActive, keepTableUpdatingOnMapExtentChange) {
|
620
|
+
await this._handleFilterUpdate(filterActive);
|
621
|
+
if (keepTableUpdatingOnMapExtentChange) {
|
622
|
+
this._shouldUpdateTableOnExtentChange = true;
|
623
|
+
this._handleTableOnMapExtent();
|
624
|
+
}
|
625
|
+
else if (keepTableUpdatingOnMapExtentChange === false) {
|
626
|
+
this._table.filterGeometry = undefined;
|
627
|
+
this._filterByExtentHandle.remove();
|
628
|
+
this._filterByExtentHandle = undefined;
|
629
|
+
// update all the ids when filter is unchecked or toggled off
|
630
|
+
await this._updateAllIds();
|
631
|
+
}
|
632
|
+
}
|
633
|
+
/**
|
634
|
+
* Validate if the table should update
|
635
|
+
*/
|
636
|
+
async validateTableUpdate(shouldUpdateTableOnExtentChange) {
|
637
|
+
this._shouldUpdateTableOnExtentChange = shouldUpdateTableOnExtentChange;
|
804
638
|
}
|
805
639
|
/**
|
806
640
|
* Validate if the editor has any pending edits
|
@@ -854,8 +688,20 @@ const LayerTable = class {
|
|
854
688
|
* @returns a promise when the operation has completed
|
855
689
|
*/
|
856
690
|
async editorInitialized(evt) {
|
691
|
+
this._shouldUpdateTableOnExtentChange = false;
|
857
692
|
this._editor = evt.detail;
|
858
693
|
}
|
694
|
+
/**
|
695
|
+
* Respond to and close the edit record display
|
696
|
+
*
|
697
|
+
* @returns a promise when the operation has completed
|
698
|
+
*/
|
699
|
+
async closeEdit() {
|
700
|
+
this._shouldUpdateTableOnExtentChange = true;
|
701
|
+
if (this._filterByExtentHandle) {
|
702
|
+
this._handleTableOnMapExtent();
|
703
|
+
}
|
704
|
+
}
|
859
705
|
/**
|
860
706
|
* Scroll and zoom to the selected feature from the Features widget.
|
861
707
|
*
|
@@ -916,7 +762,7 @@ const LayerTable = class {
|
|
916
762
|
async editsComplete(evt) {
|
917
763
|
const editType = evt.detail;
|
918
764
|
if (editType === "delete" || editType === "add") {
|
919
|
-
this._allIds = await
|
765
|
+
this._allIds = await this.queryAllIds();
|
920
766
|
}
|
921
767
|
await this._refresh();
|
922
768
|
}
|
@@ -988,8 +834,8 @@ const LayerTable = class {
|
|
988
834
|
const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
|
989
835
|
const showSearch = this._canShowFullTextSearch();
|
990
836
|
this._validateActiveActions();
|
991
|
-
return (index.h(index.Host, { key: '
|
992
|
-
index.h("div", { key: '
|
837
|
+
return (index.h(index.Host, { key: 'a0a998de3a1b29c311a9fdfa87f3bd836481ba5a' }, index.h("div", { key: 'aafaf9f925ed7321e1ca7f15fc7db369212dc1dc' }, index.h("calcite-scrim", { key: '86459aed994823dbf1d774aad01e8207a7df5f4f', class: scrimClass, loading: this._queryingData }), index.h("calcite-shell", { key: 'b29896a197cba444d2ac377779670394e29ecaf6' }, this._getTableControlRow("header"), index.h("div", { key: '0456651ac46f399eb04253387d7aae76995f4683', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: '9ba484159832fea630bbb653bc2fc4e99e602674', class: "height-full width-full" }, showSearch &&
|
838
|
+
index.h("div", { key: 'bd4b72db51f44c2954e893e8ef7ec2a30efc4c45', class: "search-container" }, index.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" })), index.h("calcite-loader", { key: '44a419089cf1e207f52ce19015c2870ce956e261', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '096f4fc7f5cc9500e7982bbfaceb2fcc4c82a1dd', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
|
993
839
|
.replace("{{total}}", total)
|
994
840
|
.replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal())));
|
995
841
|
}
|
@@ -1009,8 +855,6 @@ const LayerTable = class {
|
|
1009
855
|
componentDidRender() {
|
1010
856
|
// need to be called after each render to get the clicked mouseEvent
|
1011
857
|
document.onclick = (e) => this._handleDocumentClick(e);
|
1012
|
-
document.onkeydown = (e) => this._handleKeyDown(e);
|
1013
|
-
document.onkeyup = (e) => this._handleKeyUp(e);
|
1014
858
|
this._updateToolbar();
|
1015
859
|
}
|
1016
860
|
//--------------------------------------------------------------------------
|
@@ -1271,6 +1115,7 @@ const LayerTable = class {
|
|
1271
1115
|
}
|
1272
1116
|
if (ti.icon === "selected-items-filter") {
|
1273
1117
|
ti.active = this._showOnlySelected;
|
1118
|
+
ti.label = this._showOnlySelected ? this._translations.showAll : this._translations.showSelected;
|
1274
1119
|
}
|
1275
1120
|
}
|
1276
1121
|
});
|
@@ -1285,7 +1130,6 @@ const LayerTable = class {
|
|
1285
1130
|
// hide multiple edits for R03
|
1286
1131
|
const showMultipleEdits = this.selectedIds.length > 1 && this._layer?.capabilities?.operations?.supportsUpdate && false;
|
1287
1132
|
const featuresEmpty = this._featuresEmpty();
|
1288
|
-
const hasFilterExpressions = this._hasFilterExpressions();
|
1289
1133
|
if (this._translations) {
|
1290
1134
|
this._toolInfos = [
|
1291
1135
|
!this.mapHidden ? {
|
@@ -1297,7 +1141,7 @@ const LayerTable = class {
|
|
1297
1141
|
disabled: !featuresSelected,
|
1298
1142
|
isOverflow: false
|
1299
1143
|
} : undefined,
|
1300
|
-
|
1144
|
+
{
|
1301
1145
|
active: false,
|
1302
1146
|
icon: "filter",
|
1303
1147
|
indicator: false,
|
@@ -1305,7 +1149,7 @@ const LayerTable = class {
|
|
1305
1149
|
func: () => this.createFilterModal ? this._toggleFilter() : this.toggleFilter.emit(),
|
1306
1150
|
disabled: false,
|
1307
1151
|
isOverflow: false
|
1308
|
-
}
|
1152
|
+
},
|
1309
1153
|
showMultipleEdits ? {
|
1310
1154
|
active: false,
|
1311
1155
|
icon: "pencil",
|
@@ -1707,6 +1551,7 @@ const LayerTable = class {
|
|
1707
1551
|
editingEnabled: this._editEnabled && this.enableInlineEdit,
|
1708
1552
|
highlightEnabled: true,
|
1709
1553
|
multiSortEnabled: false,
|
1554
|
+
attachmentsEnabled: true,
|
1710
1555
|
visibleElements: {
|
1711
1556
|
columnDescriptions: false,
|
1712
1557
|
header: false,
|
@@ -1738,88 +1583,9 @@ const LayerTable = class {
|
|
1738
1583
|
return;
|
1739
1584
|
}
|
1740
1585
|
const ids = [...this._getIds()];
|
1741
|
-
|
1742
|
-
|
1743
|
-
|
1744
|
-
this._skipOnChange = true;
|
1745
|
-
// only readd in specific case where we have multiple selected and then click one of the currently selected
|
1746
|
-
const reAdd = this.selectedIds.length > 1 && evt.removed.length === 1;
|
1747
|
-
const newIds = reAdd ? evt.removed : ids.filter(id => this.selectedIds.indexOf(id) < 0);
|
1748
|
-
this._tempSelectedIds = newIds.length ? [...newIds] : [...this.selectedIds];
|
1749
|
-
this._clearSelection();
|
1750
|
-
this.selectedIds = [...newIds];
|
1751
|
-
if (newIds.length > 0) {
|
1752
|
-
this._table.highlightIds.add(newIds[0]);
|
1753
|
-
}
|
1754
|
-
else {
|
1755
|
-
this._skipOnChange = false;
|
1756
|
-
}
|
1757
|
-
}
|
1758
|
-
else {
|
1759
|
-
// https://github.com/Esri/solutions-components/issues/365
|
1760
|
-
this.selectedIds = ids.reverse();
|
1761
|
-
this._tempSelectedIds = [...this.selectedIds];
|
1762
|
-
}
|
1763
|
-
}
|
1764
|
-
else if (this._ctrlIsPressed) {
|
1765
|
-
this.selectedIds = ids.reverse();
|
1766
|
-
this._tempSelectedIds = [...this.selectedIds];
|
1767
|
-
}
|
1768
|
-
else if (this._shiftIsPressed && ids?.length > 0) {
|
1769
|
-
this._skipOnChange = true;
|
1770
|
-
this._previousCurrentId = this._currentId;
|
1771
|
-
this._currentId = [...ids].reverse()[0];
|
1772
|
-
if (ids.length === 1) {
|
1773
|
-
this._skipOnChange = false;
|
1774
|
-
}
|
1775
|
-
else if (this._previousCurrentId !== this._currentId) {
|
1776
|
-
// query the layer based on current sort and filters then grab between the current id and previous id
|
1777
|
-
const orderBy = this._table.activeSortOrders.reduce((prev, cur) => {
|
1778
|
-
prev.push(`${cur.fieldName} ${cur.direction}`);
|
1779
|
-
return prev;
|
1780
|
-
}, []);
|
1781
|
-
// when dealing with a feature layer with many features shift-select can take a very long time.
|
1782
|
-
// don't allow the user to make additional interactions with the table if it takes more than 500 miliseconds
|
1783
|
-
let queryComplete = false;
|
1784
|
-
setTimeout(() => {
|
1785
|
-
if (!queryComplete) {
|
1786
|
-
this._queryingData = true;
|
1787
|
-
}
|
1788
|
-
}, 500);
|
1789
|
-
const oids = await mapViewUtils.queryAllOidsWithQueryFeatures(0, this._layer, [], orderBy);
|
1790
|
-
queryComplete = true;
|
1791
|
-
this._queryingData = false;
|
1792
|
-
let isBetween = false;
|
1793
|
-
const _start = this._table.viewModel.getObjectIdIndex(this._previousCurrentId);
|
1794
|
-
const _end = this._table.viewModel.getObjectIdIndex(this._currentId);
|
1795
|
-
const startIndex = _start < _end ? _start : _end;
|
1796
|
-
const endIndex = _end > _start ? _end : _start;
|
1797
|
-
this._skipOnChange = startIndex + 1 !== endIndex;
|
1798
|
-
const idsInRange = oids.reduce((prev, cur) => {
|
1799
|
-
const id = cur;
|
1800
|
-
if ((id === this._currentId || id === this._previousCurrentId)) {
|
1801
|
-
isBetween = !isBetween;
|
1802
|
-
if (prev.indexOf(id) < 0) {
|
1803
|
-
prev.push(id);
|
1804
|
-
}
|
1805
|
-
}
|
1806
|
-
else if (isBetween && prev.indexOf(id) < 0) {
|
1807
|
-
prev.push(id);
|
1808
|
-
}
|
1809
|
-
return prev;
|
1810
|
-
}, []);
|
1811
|
-
const selectedIds = _start < _end ? idsInRange.reverse() : idsInRange;
|
1812
|
-
this.selectedIds = [...new Set([...selectedIds, ...this.selectedIds])];
|
1813
|
-
this._tempSelectedIds = [...this.selectedIds];
|
1814
|
-
this._table.highlightIds.addMany(this.selectedIds.filter(i => ids.indexOf(i) < 0));
|
1815
|
-
}
|
1816
|
-
}
|
1817
|
-
this._finishOnChange();
|
1818
|
-
}
|
1819
|
-
else {
|
1820
|
-
this._skipOnChange = false;
|
1821
|
-
}
|
1822
|
-
this._currentId = [...this._getIds()].reverse()[0];
|
1586
|
+
this.selectedIds = ids.reverse();
|
1587
|
+
this._tempSelectedIds = [...this.selectedIds];
|
1588
|
+
this._finishOnChange();
|
1823
1589
|
this._selectionFromMap = false;
|
1824
1590
|
}
|
1825
1591
|
/**
|
@@ -1858,6 +1624,7 @@ const LayerTable = class {
|
|
1858
1624
|
handleOnChange = !this._skipEditCheck;
|
1859
1625
|
this._skipEditCheck = false;
|
1860
1626
|
}
|
1627
|
+
this._shouldUpdateTableOnExtentChange = handleOnChange;
|
1861
1628
|
return handleOnChange;
|
1862
1629
|
}
|
1863
1630
|
/**
|
@@ -1874,7 +1641,7 @@ const LayerTable = class {
|
|
1874
1641
|
_finishOnChange() {
|
1875
1642
|
if (this._showOnlySelected) {
|
1876
1643
|
if (this._featuresSelected()) {
|
1877
|
-
this._table.
|
1644
|
+
this._table.filterBySelectionEnabled = true;
|
1878
1645
|
}
|
1879
1646
|
else {
|
1880
1647
|
this._toggleShowSelected();
|
@@ -1912,7 +1679,7 @@ const LayerTable = class {
|
|
1912
1679
|
async _resetTable() {
|
1913
1680
|
this._loaded = false;
|
1914
1681
|
this._clearSelection();
|
1915
|
-
this._allIds = await
|
1682
|
+
this._allIds = await this.queryAllIds();
|
1916
1683
|
if (!this._table) {
|
1917
1684
|
const columnTemplates = this._getColumnTemplates(this._layer.id, this._layer?.fields);
|
1918
1685
|
await this._getTable(this._tableNode, columnTemplates);
|
@@ -1966,7 +1733,6 @@ const LayerTable = class {
|
|
1966
1733
|
}
|
1967
1734
|
this._refreshHandle = this._layer.on("refresh", (evt) => {
|
1968
1735
|
if (evt.dataChanged) {
|
1969
|
-
this._skipOnChange = true;
|
1970
1736
|
void this._updateAllIds();
|
1971
1737
|
}
|
1972
1738
|
});
|
@@ -1975,7 +1741,7 @@ const LayerTable = class {
|
|
1975
1741
|
* Reset _allIds when the layers data has changed and refresh the selection ids and table
|
1976
1742
|
*/
|
1977
1743
|
async _updateAllIds() {
|
1978
|
-
this._allIds = await
|
1744
|
+
this._allIds = await this.queryAllIds();
|
1979
1745
|
this.selectedIds = this.selectedIds.filter(id => this._allIds.indexOf(id) > -1);
|
1980
1746
|
await this._refresh();
|
1981
1747
|
}
|
@@ -2115,20 +1881,6 @@ const LayerTable = class {
|
|
2115
1881
|
}
|
2116
1882
|
}
|
2117
1883
|
}
|
2118
|
-
/**
|
2119
|
-
* Keep track of key down for ctrl and shift
|
2120
|
-
*/
|
2121
|
-
_handleKeyDown(e) {
|
2122
|
-
this._ctrlIsPressed = e.ctrlKey;
|
2123
|
-
this._shiftIsPressed = e.shiftKey;
|
2124
|
-
}
|
2125
|
-
/**
|
2126
|
-
* Keep track of key up for ctrl and shift
|
2127
|
-
*/
|
2128
|
-
_handleKeyUp(e) {
|
2129
|
-
this._ctrlIsPressed = e.ctrlKey;
|
2130
|
-
this._shiftIsPressed = e.shiftKey;
|
2131
|
-
}
|
2132
1884
|
/**
|
2133
1885
|
* Show filter component in modal
|
2134
1886
|
*
|
@@ -2164,6 +1916,40 @@ const LayerTable = class {
|
|
2164
1916
|
this._updateShareUrl();
|
2165
1917
|
await this._searchFullText();
|
2166
1918
|
}
|
1919
|
+
/**
|
1920
|
+
* Update the table when extent is changed
|
1921
|
+
*/
|
1922
|
+
_handleTableOnMapExtent() {
|
1923
|
+
if (this._table) {
|
1924
|
+
this._filterByExtentHandle = this.reactiveUtils.when(() => this.mapView.stationary,
|
1925
|
+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
|
1926
|
+
async () => {
|
1927
|
+
if (this._shouldUpdateTableOnExtentChange) {
|
1928
|
+
//Added timeout while updating table records to avoid the issue in which we see empty table records when extent is changed
|
1929
|
+
await new Promise(resolve => setTimeout(resolve, 800));
|
1930
|
+
this._table.filterGeometry = this.mapView.extent;
|
1931
|
+
const query = {
|
1932
|
+
geometry: this.mapView.extent
|
1933
|
+
};
|
1934
|
+
const objectIdsInExtent = await this._layer.queryObjectIds(query);
|
1935
|
+
// remove the highlight of features which are not in the map extent
|
1936
|
+
const outOids = this.selectedIds.filter(id => !objectIdsInExtent.includes(id));
|
1937
|
+
const restoreOids = this._outOFExtentOids.filter(id => objectIdsInExtent.includes(id));
|
1938
|
+
if (outOids.length > 0) {
|
1939
|
+
this._table.highlightIds.removeMany(outOids);
|
1940
|
+
this._outOFExtentOids = [...this._outOFExtentOids, ...outOids];
|
1941
|
+
}
|
1942
|
+
if (restoreOids.length > 0) {
|
1943
|
+
this._table.highlightIds.addMany(restoreOids);
|
1944
|
+
this._outOFExtentOids = this._outOFExtentOids.filter(oid => !restoreOids.includes(oid));
|
1945
|
+
}
|
1946
|
+
}
|
1947
|
+
this._allIds = await this.queryAllIds();
|
1948
|
+
}, {
|
1949
|
+
initial: true
|
1950
|
+
});
|
1951
|
+
}
|
1952
|
+
}
|
2167
1953
|
/**
|
2168
1954
|
* Close the filter modal
|
2169
1955
|
* @protected
|
@@ -2171,10 +1957,20 @@ const LayerTable = class {
|
|
2171
1957
|
async _closeFilter() {
|
2172
1958
|
if (this._filterOpen) {
|
2173
1959
|
// reset allIds
|
2174
|
-
this._allIds = await
|
1960
|
+
this._allIds = await this.queryAllIds();
|
2175
1961
|
this._filterOpen = false;
|
2176
1962
|
}
|
2177
1963
|
}
|
1964
|
+
/**
|
1965
|
+
* Query the layer for applied filter
|
1966
|
+
* @returns Promise with the featureSet from the layer that match the provided ids
|
1967
|
+
*/
|
1968
|
+
async queryAllIds() {
|
1969
|
+
const query = this._layer.createQuery();
|
1970
|
+
query.geometry = this._filterByExtentHandle ? this.mapView.extent : null;
|
1971
|
+
query.where = this._layer.definitionExpression || "1=1";
|
1972
|
+
return await this._layer.queryObjectIds(query);
|
1973
|
+
}
|
2178
1974
|
/**
|
2179
1975
|
* Handle map click events to keep table and map click selection in sync
|
2180
1976
|
*
|
@@ -2196,7 +1992,7 @@ const LayerTable = class {
|
|
2196
1992
|
}
|
2197
1993
|
});
|
2198
1994
|
if (this._showOnlySelected) {
|
2199
|
-
this._table.
|
1995
|
+
this._table.filterBySelectionEnabled = true;
|
2200
1996
|
}
|
2201
1997
|
}
|
2202
1998
|
else {
|
@@ -2213,7 +2009,6 @@ const LayerTable = class {
|
|
2213
2009
|
const editsDiscarded = await this._validateActiveEdits(addedIds, this.selectedIds);
|
2214
2010
|
if (editsDiscarded) {
|
2215
2011
|
this._table.highlightIds.removeAll();
|
2216
|
-
this._skipOnChange = true;
|
2217
2012
|
this._table.highlightIds.addMany(ids);
|
2218
2013
|
this.selectedIds = ids;
|
2219
2014
|
this._finishOnChange();
|
@@ -2230,12 +2025,7 @@ const LayerTable = class {
|
|
2230
2025
|
*/
|
2231
2026
|
_toggleShowSelected() {
|
2232
2027
|
this._showOnlySelected = !this._showOnlySelected;
|
2233
|
-
|
2234
|
-
this._table.filterBySelection();
|
2235
|
-
}
|
2236
|
-
else {
|
2237
|
-
this._table.objectIds.removeAll();
|
2238
|
-
}
|
2028
|
+
this._table.filterBySelectionEnabled = this._showOnlySelected;
|
2239
2029
|
}
|
2240
2030
|
/**
|
2241
2031
|
* Clears the selected indexes
|
@@ -2243,6 +2033,7 @@ const LayerTable = class {
|
|
2243
2033
|
*/
|
2244
2034
|
_clearSelection() {
|
2245
2035
|
this.selectedIds = [];
|
2036
|
+
this._outOFExtentOids = [];
|
2246
2037
|
this._table?.highlightIds.removeAll();
|
2247
2038
|
this._table?.rowHighlightIds.removeAll();
|
2248
2039
|
this._finishOnChange();
|
@@ -2282,7 +2073,6 @@ const LayerTable = class {
|
|
2282
2073
|
const editsDiscarded = await this._validateActiveEdits(ids, currentIndexes);
|
2283
2074
|
if (editsDiscarded) {
|
2284
2075
|
this._table.highlightIds.removeAll();
|
2285
|
-
this._skipOnChange = true;
|
2286
2076
|
this._table.highlightIds.addMany(ids);
|
2287
2077
|
this.selectedIds = ids;
|
2288
2078
|
this._finishOnChange();
|
@@ -2340,8 +2130,8 @@ const LayerTable = class {
|
|
2340
2130
|
async _refresh() {
|
2341
2131
|
const editsDiscarded = await this._validateActiveEdits([], this.selectedIds);
|
2342
2132
|
if (editsDiscarded) {
|
2343
|
-
await this._table
|
2344
|
-
this._allIds = await
|
2133
|
+
await this._table?.refresh();
|
2134
|
+
this._allIds = await this.queryAllIds();
|
2345
2135
|
this.featureSelectionChange.emit(this.selectedIds);
|
2346
2136
|
}
|
2347
2137
|
}
|
@@ -2371,6 +2161,7 @@ const LayerTable = class {
|
|
2371
2161
|
this._fetchingData = true;
|
2372
2162
|
const layer = await mapViewUtils.getLayerOrTable(this.mapView, id);
|
2373
2163
|
layer && await layer.when(() => {
|
2164
|
+
this._shouldUpdateTableOnExtentChange = true;
|
2374
2165
|
this._layer = layer;
|
2375
2166
|
this._getFullTextSearchInfo();
|
2376
2167
|
});
|
@@ -2544,192 +2335,51 @@ const MapCard = class {
|
|
2544
2335
|
this.beforeMapChanged = index.createEvent(this, "beforeMapChanged", 7);
|
2545
2336
|
this.toggleFilter = index.createEvent(this, "toggleFilter", 7);
|
2546
2337
|
this.clearSelection = index.createEvent(this, "clearSelection", 7);
|
2338
|
+
this.appLayout = undefined;
|
2339
|
+
this.appProxies = undefined;
|
2340
|
+
this.defaultWebmapId = "";
|
2341
|
+
this.defaultLayerId = undefined;
|
2342
|
+
this.enableHome = undefined;
|
2343
|
+
this.enableLegend = undefined;
|
2344
|
+
this.enableFloorFilter = undefined;
|
2345
|
+
this.enableFullscreen = undefined;
|
2346
|
+
this.enableShare = false;
|
2347
|
+
this.enableSingleExpand = true;
|
2348
|
+
this.enableSearch = undefined;
|
2349
|
+
this.enableBasemap = undefined;
|
2350
|
+
this.basemapConfig = undefined;
|
2351
|
+
this.hidden = undefined;
|
2352
|
+
this.homeZoomIndex = 3;
|
2353
|
+
this.homeZoomPosition = "top-left";
|
2354
|
+
this.homeZoomToolsSize = "m";
|
2355
|
+
this.locale = undefined;
|
2356
|
+
this.mapInfos = [];
|
2357
|
+
this.mapWidgetsIndex = 0;
|
2358
|
+
this.mapWidgetsPosition = "top-right";
|
2359
|
+
this.mapWidgetsSize = "m";
|
2360
|
+
this.mapView = undefined;
|
2361
|
+
this.stackTools = true;
|
2362
|
+
this.theme = undefined;
|
2363
|
+
this.toolOrder = undefined;
|
2364
|
+
this.isMapLayout = undefined;
|
2365
|
+
this.shareIncludeEmbed = undefined;
|
2366
|
+
this.shareIncludeSocial = undefined;
|
2367
|
+
this.selectedFeaturesIds = undefined;
|
2368
|
+
this.selectedLayer = undefined;
|
2369
|
+
this.zoomToScale = undefined;
|
2370
|
+
this.onlyShowUpdatableLayers = undefined;
|
2371
|
+
this.isMobile = undefined;
|
2372
|
+
this.mapInfo = undefined;
|
2373
|
+
this._translations = undefined;
|
2374
|
+
this._searchConfiguration = undefined;
|
2375
|
+
this._webMapInfo = undefined;
|
2376
|
+
this._showHideOpen = false;
|
2377
|
+
this._toolInfos = undefined;
|
2378
|
+
this._controlsThatFit = undefined;
|
2547
2379
|
}
|
2548
2380
|
get el() { return index.getElement(this); }
|
2549
2381
|
//--------------------------------------------------------------------------
|
2550
2382
|
//
|
2551
|
-
// Properties (public)
|
2552
|
-
//
|
2553
|
-
//--------------------------------------------------------------------------
|
2554
|
-
/**
|
2555
|
-
* AppLayout: the current app layout
|
2556
|
-
*/
|
2557
|
-
appLayout;
|
2558
|
-
/**
|
2559
|
-
* Array of objects containing proxy information for premium platform services.
|
2560
|
-
*/
|
2561
|
-
appProxies;
|
2562
|
-
/**
|
2563
|
-
* string: Item ID of the web map that should be selected by default when the app loads
|
2564
|
-
*/
|
2565
|
-
defaultWebmapId = "";
|
2566
|
-
/**
|
2567
|
-
* string: when provided this layer ID will be used when the app loads
|
2568
|
-
*/
|
2569
|
-
defaultLayerId;
|
2570
|
-
/**
|
2571
|
-
* boolean: when true the home widget will be available
|
2572
|
-
*/
|
2573
|
-
enableHome;
|
2574
|
-
/**
|
2575
|
-
* boolean: when true the legend widget will be available
|
2576
|
-
*/
|
2577
|
-
enableLegend;
|
2578
|
-
/**
|
2579
|
-
* boolean: when true the floor filter widget will be available
|
2580
|
-
*/
|
2581
|
-
enableFloorFilter;
|
2582
|
-
/**
|
2583
|
-
* boolean: when true the fullscreen widget will be available
|
2584
|
-
*/
|
2585
|
-
enableFullscreen;
|
2586
|
-
/**
|
2587
|
-
* boolean: when true the share widget will be available
|
2588
|
-
*/
|
2589
|
-
enableShare = false;
|
2590
|
-
/**
|
2591
|
-
* boolean: when true map tools will be displayed within a single expand/collapse widget
|
2592
|
-
* when false widgets will be loaded individually into expand widgets
|
2593
|
-
*/
|
2594
|
-
enableSingleExpand = true;
|
2595
|
-
/**
|
2596
|
-
* boolean: when true the search widget will be available
|
2597
|
-
*/
|
2598
|
-
enableSearch;
|
2599
|
-
/**
|
2600
|
-
* boolean: when true the basemap widget will be available
|
2601
|
-
*/
|
2602
|
-
enableBasemap;
|
2603
|
-
/**
|
2604
|
-
* IBasemapConfig: List of any basemaps to filter out from the basemap widget
|
2605
|
-
*/
|
2606
|
-
basemapConfig;
|
2607
|
-
/**
|
2608
|
-
* boolean: When true the map display will be hidden
|
2609
|
-
*/
|
2610
|
-
hidden;
|
2611
|
-
/**
|
2612
|
-
* number: The placement index of the home and zoom components. This index shows where to place the component relative to other components.
|
2613
|
-
* For example a value of 0 would place it topmost when position is top-*, leftmost for bottom-left and right most for bottom-right.
|
2614
|
-
*/
|
2615
|
-
homeZoomIndex = 3;
|
2616
|
-
/**
|
2617
|
-
* __esri.UIPosition: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-UI.html#UIPosition
|
2618
|
-
* The position details for the Home and Zoom tools
|
2619
|
-
*/
|
2620
|
-
homeZoomPosition = "top-left";
|
2621
|
-
/**
|
2622
|
-
* "s" | "m" | "l": Used for Zoom and Home tools
|
2623
|
-
*/
|
2624
|
-
homeZoomToolsSize = "m";
|
2625
|
-
/**
|
2626
|
-
* string: Locale to use for translation of stings in the UI
|
2627
|
-
*/
|
2628
|
-
locale;
|
2629
|
-
/**
|
2630
|
-
* IMapInfo[]: array of map infos (name and id)
|
2631
|
-
*/
|
2632
|
-
mapInfos = [];
|
2633
|
-
/**
|
2634
|
-
* number: The placement index of the map widgets (legend, basemap, fullscreen etc). This index shows where to place the component relative to other components.
|
2635
|
-
* For example a value of 0 would place it topmost when position is top-*, leftmost for bottom-left and right most for bottom-right.
|
2636
|
-
*/
|
2637
|
-
mapWidgetsIndex = 0;
|
2638
|
-
/**
|
2639
|
-
* __esri.UIPosition: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-UI.html#UIPosition
|
2640
|
-
* The position details for the Home and Zoom tools
|
2641
|
-
*/
|
2642
|
-
mapWidgetsPosition = "top-right";
|
2643
|
-
/**
|
2644
|
-
* "s" | "m" | "l": Used for optional map tool widget
|
2645
|
-
*/
|
2646
|
-
mapWidgetsSize = "m";
|
2647
|
-
/**
|
2648
|
-
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
2649
|
-
*/
|
2650
|
-
mapView;
|
2651
|
-
/**
|
2652
|
-
* boolean: When true the map widget tools will have no margin between them.
|
2653
|
-
* When false the map widget tools will have a margin between them.
|
2654
|
-
*/
|
2655
|
-
stackTools = true;
|
2656
|
-
/**
|
2657
|
-
* theme: "light" | "dark" theme to be used
|
2658
|
-
*/
|
2659
|
-
theme;
|
2660
|
-
/**
|
2661
|
-
*
|
2662
|
-
* Valid tools: "legend", "search", "fullscreen", "basemap", "floorfilter"
|
2663
|
-
*/
|
2664
|
-
toolOrder;
|
2665
|
-
/**
|
2666
|
-
* boolean: When true map will shown is full screen
|
2667
|
-
*/
|
2668
|
-
isMapLayout;
|
2669
|
-
/**
|
2670
|
-
* boolean: When true the share options will include embed option
|
2671
|
-
*/
|
2672
|
-
shareIncludeEmbed;
|
2673
|
-
/**
|
2674
|
-
* boolean: When true the share options will include social media sharing
|
2675
|
-
*/
|
2676
|
-
shareIncludeSocial;
|
2677
|
-
/**
|
2678
|
-
* number[]: A list of ids that are currently selected
|
2679
|
-
*/
|
2680
|
-
selectedFeaturesIds;
|
2681
|
-
/**
|
2682
|
-
* __esri.FeatureLayer: Selected layer
|
2683
|
-
*/
|
2684
|
-
selectedLayer;
|
2685
|
-
/**
|
2686
|
-
* number: default scale to zoom to when zooming to a single point feature
|
2687
|
-
*/
|
2688
|
-
zoomToScale;
|
2689
|
-
/**
|
2690
|
-
* boolean: When true only editable layers that support the update capability will be available
|
2691
|
-
*/
|
2692
|
-
onlyShowUpdatableLayers;
|
2693
|
-
/**
|
2694
|
-
* When true the component will render an optimized view for mobile devices
|
2695
|
-
*/
|
2696
|
-
isMobile;
|
2697
|
-
/**
|
2698
|
-
* IMapInfo: key configuration details about the current map
|
2699
|
-
*/
|
2700
|
-
mapInfo;
|
2701
|
-
//--------------------------------------------------------------------------
|
2702
|
-
//
|
2703
|
-
// State (internal)
|
2704
|
-
//
|
2705
|
-
//--------------------------------------------------------------------------
|
2706
|
-
/**
|
2707
|
-
* Contains the translations for this component.
|
2708
|
-
* All UI strings should be defined here.
|
2709
|
-
*/
|
2710
|
-
_translations;
|
2711
|
-
/**
|
2712
|
-
* ISearchConfiguration: Configuration details for the Search widget
|
2713
|
-
*/
|
2714
|
-
_searchConfiguration;
|
2715
|
-
/**
|
2716
|
-
* IMapInfo: id and name of the map to display
|
2717
|
-
*/
|
2718
|
-
_webMapInfo;
|
2719
|
-
/**
|
2720
|
-
* boolean: When true the show/hide fields list is forced open
|
2721
|
-
*/
|
2722
|
-
_showHideOpen = false;
|
2723
|
-
/**
|
2724
|
-
* IToolInfo[]: Key details used for creating the tools
|
2725
|
-
*/
|
2726
|
-
_toolInfos;
|
2727
|
-
/**
|
2728
|
-
* IToolSizeInfo[]: The controls that currently fit based on toolbar size
|
2729
|
-
*/
|
2730
|
-
_controlsThatFit;
|
2731
|
-
//--------------------------------------------------------------------------
|
2732
|
-
//
|
2733
2383
|
// Properties (protected)
|
2734
2384
|
//
|
2735
2385
|
//--------------------------------------------------------------------------
|