@esri/solutions-components 0.6.10 → 0.6.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/t9n/map-select-tools/resources.json +2 -1
- package/dist/assets/t9n/map-select-tools/resources_en.json +2 -1
- package/dist/assets/t9n/map-tools/resources.json +4 -1
- package/dist/assets/t9n/map-tools/resources_en.json +4 -1
- package/dist/cjs/{ExpandToggle-c5690e14.js → ExpandToggle-511435d5.js} +1 -1
- package/dist/cjs/{FloatingArrow-675171a6.js → FloatingArrow-88e3f797.js} +1 -1
- package/dist/cjs/{Heading-3712677d.js → Heading-0da2a025.js} +1 -1
- package/dist/cjs/{ar-1dc23c0a.js → ar-0a371029.js} +5 -5
- package/dist/cjs/{basemap-gallery_5.cjs.entry.js → basemap-gallery_6.cjs.entry.js} +139 -10
- package/dist/cjs/{bg-4024b354.js → bg-f7538b74.js} +5 -5
- package/dist/cjs/{bs-3134d711.js → bs-6560857c.js} +5 -5
- package/dist/cjs/buffer-tools_4.cjs.entry.js +12 -10
- package/dist/cjs/{ca-8d6647d3.js → ca-d74198eb.js} +5 -5
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
- package/dist/cjs/{calcite-filter_5.cjs.entry.js → calcite-action-bar_3.cjs.entry.js} +168 -322
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-action-pad.cjs.entry.js +5 -5
- package/dist/cjs/calcite-action_2.cjs.entry.js +6 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +4 -4
- package/dist/cjs/calcite-avatar.cjs.entry.js +1 -1
- package/dist/cjs/calcite-block-section.cjs.entry.js +3 -3
- package/dist/cjs/calcite-block.cjs.entry.js +5 -5
- package/dist/cjs/calcite-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-card.cjs.entry.js +3 -3
- package/dist/cjs/calcite-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/calcite-chip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-chip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +2 -2
- package/dist/cjs/calcite-color-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +10 -10
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +2 -2
- package/dist/cjs/calcite-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/calcite-fab.cjs.entry.js +2 -2
- package/dist/cjs/calcite-filter_3.cjs.entry.js +387 -0
- package/dist/cjs/calcite-flow-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +1 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +3 -3
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +6 -6
- package/dist/cjs/calcite-input-number_2.cjs.entry.js +4 -4
- package/dist/cjs/{calcite-input-time-picker-4efcd55d.js → calcite-input-time-picker-188356eb.js} +53 -53
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +4 -4
- package/dist/cjs/calcite-input_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-label.cjs.entry.js +1 -1
- package/dist/cjs/calcite-link.cjs.entry.js +2 -2
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
- package/dist/cjs/calcite-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +5 -5
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +2 -2
- package/dist/cjs/calcite-notice.cjs.entry.js +4 -4
- package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-option_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pagination.cjs.entry.js +3 -3
- package/dist/cjs/calcite-panel_2.cjs.entry.js +5 -5
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +4 -4
- package/dist/cjs/calcite-pick-list.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-rating.cjs.entry.js +4 -4
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +3 -3
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +9 -9
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +1 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +2 -2
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/calcite-stepper.cjs.entry.js +1 -1
- package/dist/cjs/calcite-switch.cjs.entry.js +3 -3
- package/dist/cjs/calcite-text-area.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tile-select.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +2 -2
- package/dist/cjs/calcite-time-picker.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tip.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tree_3.cjs.entry.js +2 -2
- package/dist/cjs/card-manager_3.cjs.entry.js +11 -10
- package/dist/cjs/{conditionalSlot-126d557f.js → conditionalSlot-f10611d3.js} +1 -1
- package/dist/cjs/crowdsource-manager.cjs.entry.js +36 -10
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -1
- package/dist/cjs/{cs-b24cd994.js → cs-bdf9949e.js} +5 -5
- package/dist/cjs/{da-9dee3a1f.js → da-ab198f94.js} +5 -5
- package/dist/cjs/{de-1a98b964.js → de-a859739c.js} +5 -5
- package/dist/cjs/{de-at-782e6c7f.js → de-at-126e66a1.js} +5 -5
- package/dist/cjs/{de-ch-d5c95469.js → de-ch-25eb45ed.js} +5 -5
- package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{downloadUtils-471a6a2d.js → downloadUtils-43f5be48.js} +4 -4
- package/dist/cjs/edit-card_2.cjs.entry.js +27 -24
- package/dist/cjs/{el-af28cafa.js → el-9abbc3f2.js} +5 -5
- package/dist/cjs/{en-au-109f3119.js → en-au-8835d481.js} +5 -5
- package/dist/cjs/{en-ca-22890a25.js → en-ca-a8f1a438.js} +5 -5
- package/dist/cjs/{en-gb-dc23c9dd.js → en-gb-e8098e8c.js} +5 -5
- package/dist/cjs/{es-3f353355.js → es-bc99e2ad.js} +5 -5
- package/dist/cjs/{es-mx-ccb57857.js → es-mx-71461470.js} +5 -5
- package/dist/cjs/{et-119c047b.js → et-8fa437ac.js} +5 -5
- package/dist/cjs/{fi-13096d81.js → fi-1284d381.js} +5 -5
- package/dist/cjs/{form-7c6054c3.js → form-28bc6597.js} +1 -1
- package/dist/cjs/{fr-563dfcd5.js → fr-635089b1.js} +5 -5
- package/dist/cjs/{fr-ch-f66cfd49.js → fr-ch-09392bdc.js} +5 -5
- package/dist/cjs/{he-d8253a1a.js → he-44a07bad.js} +5 -5
- package/dist/cjs/{hi-58c7c3b5.js → hi-9bba524d.js} +5 -5
- package/dist/cjs/{hr-5aba114a.js → hr-fc0a64fd.js} +5 -5
- package/dist/cjs/{hu-38c15915.js → hu-b900be50.js} +5 -5
- package/dist/cjs/{id-3a94c080.js → id-d20a381a.js} +5 -5
- package/dist/cjs/{index-0e50040c.js → index-ee37804b.js} +3 -0
- package/dist/cjs/{index-2b60e135.js → index-feeb7b6a.js} +1 -1
- package/dist/cjs/{index.es-33154f03.js → index.es-8da43c21.js} +6 -6
- package/dist/cjs/{interfaces-d539e30c.js → interfaces-000be6de.js} +0 -5
- package/dist/cjs/{it-ch-970563cd.js → it-ch-e6bfb280.js} +5 -5
- package/dist/cjs/{it-88834555.js → it-d07dffbe.js} +5 -5
- package/dist/cjs/{ja-13d4b1ae.js → ja-3fac4cb9.js} +5 -5
- package/dist/cjs/{ko-10cbdd98.js → ko-7df47ba4.js} +5 -5
- package/dist/cjs/layout-manager.cjs.entry.js +3 -3
- package/dist/cjs/list-item.cjs.entry.js +1 -1
- package/dist/cjs/{loadModules-c5490589.js → loadModules-f6df8d6a.js} +1 -1
- package/dist/cjs/{loadable-6925d840.js → loadable-13605f73.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{locale-88c21da2.js → locale-67f5f6b6.js} +1 -1
- package/dist/cjs/{lt-3fc5017a.js → lt-32e0b838.js} +5 -5
- package/dist/cjs/{lv-9d9cf999.js → lv-5822b401.js} +5 -5
- package/dist/cjs/map-select-tools_3.cjs.entry.js +16 -10
- package/dist/cjs/{mapViewUtils-9da2dddd.js → mapViewUtils-a4dd36ec.js} +1 -1
- package/dist/cjs/{mk-9f79812b.js → mk-76494f34.js} +5 -5
- package/dist/cjs/{nb-673fe3fd.js → nb-3ec52247.js} +5 -5
- package/dist/cjs/{nl-4dc0504f.js → nl-fe9ffca9.js} +5 -5
- package/dist/cjs/{openCloseComponent-05cb01ff.js → openCloseComponent-359d855c.js} +1 -1
- package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
- package/dist/cjs/{pl-d809a6c3.js → pl-13049aa3.js} +5 -5
- package/dist/cjs/{pt-br-55f1893a.js → pt-br-f222c9e6.js} +5 -5
- package/dist/cjs/{pt-78eefbc7.js → pt-ef1645ab.js} +5 -5
- package/dist/cjs/public-notification.cjs.entry.js +8 -8
- package/dist/cjs/{publicNotificationStore-55edd658.js → publicNotificationStore-b69862af.js} +1 -1
- package/dist/cjs/resources-f15abc99.js +29 -0
- package/dist/cjs/{ro-f0cff196.js → ro-712f9cbb.js} +5 -5
- package/dist/cjs/{ru-5e9b37f9.js → ru-45b18030.js} +5 -5
- package/dist/cjs/{shared-list-render-9bbcb306.js → shared-list-render-e5821654.js} +1 -1
- package/dist/cjs/{sk-322cd349.js → sk-db642b5a.js} +5 -5
- package/dist/cjs/{sl-fd948e50.js → sl-51811e20.js} +5 -5
- package/dist/cjs/solution-configuration.cjs.entry.js +5 -5
- package/dist/cjs/solution-contents_3.cjs.entry.js +5 -5
- package/dist/cjs/{solution-store-0004e4e6.js → solution-store-3cd104d8.js} +2 -2
- package/dist/cjs/solutions-components.cjs.js +2 -2
- package/dist/cjs/{sr-f0058b24.js → sr-c248524c.js} +5 -5
- package/dist/cjs/store-manager.cjs.entry.js +1 -1
- package/dist/cjs/{sv-8a8378bf.js → sv-67777565.js} +5 -5
- package/dist/cjs/{t9n-62d807df.js → t9n-58d20225.js} +1 -1
- package/dist/cjs/{th-f219fad6.js → th-81fb9eb1.js} +5 -5
- package/dist/cjs/{tr-03109641.js → tr-b5da4c5c.js} +5 -5
- package/dist/cjs/{uk-dde46112.js → uk-e8ad8b3b.js} +5 -5
- package/dist/cjs/{utils-651e6663.js → utils-fddf1c6b.js} +1 -1
- package/dist/cjs/{vi-60ed6e30.js → vi-0b26505a.js} +5 -5
- package/dist/cjs/{zh-cn-a2f6f51d.js → zh-cn-40d02fac.js} +5 -5
- package/dist/cjs/{zh-hk-e14e2fc0.js → zh-hk-d1a89b9e.js} +5 -5
- package/dist/cjs/{zh-tw-7ea0d7e4.js → zh-tw-5691adb2.js} +5 -5
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/buffer-tools/buffer-tools.js +4 -2
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +33 -7
- package/dist/collection/components/info-card/info-card.js +24 -21
- package/dist/collection/components/layer-table/layer-table.js +3 -2
- package/dist/collection/components/map-card/map-card.css +4 -0
- package/dist/collection/components/map-card/map-card.js +1 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -0
- package/dist/collection/components/map-fullscreen/map-fullscreen.js +178 -0
- package/dist/collection/components/map-fullscreen/test/map-fullscreen.e2e.js +29 -0
- package/dist/collection/components/map-fullscreen/test/map-fullscreen.spec.js +37 -0
- package/dist/collection/components/map-picker/map-picker.css +64 -64
- package/dist/collection/components/map-select-tools/map-select-tools.js +7 -1
- package/dist/collection/components/map-tools/map-tools.css +49 -45
- package/dist/collection/components/map-tools/map-tools.js +35 -29
- package/dist/collection/components/pdf-download/pdf-download.js +1 -1
- package/dist/collection/utils/interfaces.js +0 -5
- package/dist/collection/utils/interfaces.ts +0 -5
- package/dist/components/buffer-tools2.js +4 -2
- package/dist/components/crowdsource-manager.js +111 -79
- package/dist/components/info-card2.js +24 -21
- package/dist/components/interfaces.js +1 -6
- package/dist/components/layer-table2.js +3 -2
- package/dist/components/map-card2.js +44 -38
- package/dist/components/map-draw-tools2.js +1 -1
- package/dist/components/map-fullscreen.d.ts +11 -0
- package/dist/components/map-fullscreen.js +11 -0
- package/dist/components/map-fullscreen2.js +130 -0
- package/dist/components/map-select-tools2.js +7 -1
- package/dist/components/map-tools2.js +43 -34
- package/dist/components/pdf-download2.js +1 -1
- package/dist/components/public-notification.js +1 -1
- package/dist/components/refine-selection2.js +1 -1
- package/dist/components/solution-resource-item2.js +1 -1
- package/dist/components/solution-store.js +1 -1
- package/dist/esm/{ExpandToggle-3bfcb842.js → ExpandToggle-86761b28.js} +1 -1
- package/dist/esm/{FloatingArrow-cf140d6b.js → FloatingArrow-4a1b35d6.js} +1 -1
- package/dist/esm/{Heading-140d10ff.js → Heading-5258553c.js} +1 -1
- package/dist/esm/{ar-45abeb31.js → ar-4a5375c6.js} +5 -5
- package/dist/esm/{basemap-gallery_5.entry.js → basemap-gallery_6.entry.js} +139 -11
- package/dist/esm/{bg-af759e86.js → bg-b25e4b7a.js} +5 -5
- package/dist/esm/{bs-20d012de.js → bs-2485dfed.js} +5 -5
- package/dist/esm/buffer-tools_4.entry.js +12 -10
- package/dist/esm/{ca-1498df65.js → ca-bba36d26.js} +5 -5
- package/dist/esm/calcite-accordion-item.entry.js +2 -2
- package/dist/esm/calcite-accordion.entry.js +1 -1
- package/dist/esm/{calcite-filter_5.entry.js → calcite-action-bar_3.entry.js} +191 -343
- package/dist/esm/calcite-action-group_2.entry.js +4 -4
- package/dist/esm/calcite-action-pad.entry.js +5 -5
- package/dist/esm/calcite-action_2.entry.js +6 -6
- package/dist/esm/calcite-alert.entry.js +4 -4
- package/dist/esm/calcite-avatar.entry.js +1 -1
- package/dist/esm/calcite-block-section.entry.js +3 -3
- package/dist/esm/calcite-block.entry.js +5 -5
- package/dist/esm/calcite-button.entry.js +4 -4
- package/dist/esm/calcite-card.entry.js +3 -3
- package/dist/esm/calcite-checkbox.entry.js +3 -3
- package/dist/esm/calcite-chip-group.entry.js +2 -2
- package/dist/esm/calcite-chip.entry.js +4 -4
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +2 -2
- package/dist/esm/calcite-color-picker.entry.js +3 -3
- package/dist/esm/calcite-combobox-item-group.entry.js +1 -1
- package/dist/esm/calcite-combobox_6.entry.js +10 -10
- package/dist/esm/calcite-date-picker-day_3.entry.js +2 -2
- package/dist/esm/calcite-date-picker.entry.js +4 -4
- package/dist/esm/calcite-fab.entry.js +2 -2
- package/dist/esm/calcite-filter_3.entry.js +381 -0
- package/dist/esm/calcite-flow-item.entry.js +3 -3
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +1 -1
- package/dist/esm/calcite-inline-editable.entry.js +3 -3
- package/dist/esm/calcite-input-date-picker.entry.js +6 -6
- package/dist/esm/calcite-input-number_2.entry.js +4 -4
- package/dist/esm/{calcite-input-time-picker-227e60c3.js → calcite-input-time-picker-7da2e80a.js} +53 -53
- package/dist/esm/calcite-input-time-picker.entry.js +5 -5
- package/dist/esm/calcite-input-time-zone.entry.js +4 -4
- package/dist/esm/calcite-input_2.entry.js +4 -4
- package/dist/esm/calcite-label.entry.js +1 -1
- package/dist/esm/calcite-link.entry.js +2 -2
- package/dist/esm/calcite-list-item-group.entry.js +1 -1
- package/dist/esm/calcite-loader.entry.js +1 -1
- package/dist/esm/calcite-menu-item.entry.js +3 -3
- package/dist/esm/calcite-menu.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +5 -5
- package/dist/esm/calcite-navigation-logo.entry.js +2 -2
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +2 -2
- package/dist/esm/calcite-notice.entry.js +4 -4
- package/dist/esm/calcite-option-group.entry.js +1 -1
- package/dist/esm/calcite-option_2.entry.js +3 -3
- package/dist/esm/calcite-pagination.entry.js +3 -3
- package/dist/esm/calcite-panel_2.entry.js +5 -5
- package/dist/esm/calcite-pick-list-group.entry.js +3 -3
- package/dist/esm/calcite-pick-list-item.entry.js +4 -4
- package/dist/esm/calcite-pick-list.entry.js +3 -3
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +3 -3
- package/dist/esm/calcite-rating.entry.js +4 -4
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-segmented-control_2.entry.js +3 -3
- package/dist/esm/calcite-shell-center-row.entry.js +2 -2
- package/dist/esm/calcite-shell-panel_14.entry.js +9 -9
- package/dist/esm/calcite-sortable-list.entry.js +1 -1
- package/dist/esm/calcite-split-button.entry.js +2 -2
- package/dist/esm/calcite-stepper-item.entry.js +2 -2
- package/dist/esm/calcite-stepper.entry.js +1 -1
- package/dist/esm/calcite-switch.entry.js +3 -3
- package/dist/esm/calcite-text-area.entry.js +4 -4
- package/dist/esm/calcite-tile-select-group.entry.js +1 -1
- package/dist/esm/calcite-tile-select.entry.js +2 -2
- package/dist/esm/calcite-tile.entry.js +2 -2
- package/dist/esm/calcite-time-picker.entry.js +3 -3
- package/dist/esm/calcite-tip-group.entry.js +1 -1
- package/dist/esm/calcite-tip-manager.entry.js +3 -3
- package/dist/esm/calcite-tip.entry.js +4 -4
- package/dist/esm/calcite-tooltip.entry.js +3 -3
- package/dist/esm/calcite-tree_3.entry.js +2 -2
- package/dist/esm/card-manager_3.entry.js +11 -10
- package/dist/esm/{conditionalSlot-55a14abd.js → conditionalSlot-dff8f839.js} +1 -1
- package/dist/esm/crowdsource-manager.entry.js +36 -10
- package/dist/esm/crowdsource-reporter.entry.js +1 -1
- package/dist/esm/{cs-3bd67855.js → cs-1052c5ac.js} +5 -5
- package/dist/esm/{da-7a76e131.js → da-b7ed9204.js} +5 -5
- package/dist/esm/{de-at-0b6874cb.js → de-at-a993e5ae.js} +5 -5
- package/dist/esm/{de-0808a43e.js → de-bb68e752.js} +5 -5
- package/dist/esm/{de-ch-c9d429dd.js → de-ch-acff745d.js} +5 -5
- package/dist/esm/deduct-calculator.entry.js +1 -1
- package/dist/esm/{downloadUtils-8d4c13bb.js → downloadUtils-42156cd8.js} +4 -4
- package/dist/esm/edit-card_2.entry.js +27 -24
- package/dist/esm/{el-66001281.js → el-9de96ff0.js} +5 -5
- package/dist/esm/{en-au-6424fec0.js → en-au-f68b6bde.js} +5 -5
- package/dist/esm/{en-ca-f5f1659d.js → en-ca-5360517e.js} +5 -5
- package/dist/esm/{en-gb-796beadd.js → en-gb-de0b3125.js} +5 -5
- package/dist/esm/{es-cd139926.js → es-5ecbba77.js} +5 -5
- package/dist/esm/{es-mx-854dc3e4.js → es-mx-aa126462.js} +5 -5
- package/dist/esm/{et-2aa6782d.js → et-7113eeb8.js} +5 -5
- package/dist/esm/{fi-965727bd.js → fi-ffa60f15.js} +5 -5
- package/dist/esm/{form-04d47b0b.js → form-24e6ef1d.js} +1 -1
- package/dist/esm/{fr-c1884e89.js → fr-681c5bf6.js} +5 -5
- package/dist/esm/{fr-ch-1fd8dd3a.js → fr-ch-9af1f8b1.js} +5 -5
- package/dist/esm/{he-0d7b78b4.js → he-5188f277.js} +5 -5
- package/dist/esm/{hi-0376c82d.js → hi-6a31e3a4.js} +5 -5
- package/dist/esm/{hr-28a64903.js → hr-0598e59d.js} +5 -5
- package/dist/esm/{hu-44a02ff7.js → hu-13cb9f41.js} +5 -5
- package/dist/esm/{id-034fc4a5.js → id-7f342499.js} +5 -5
- package/dist/esm/{index-b5d9d795.js → index-c7de2486.js} +3 -0
- package/dist/esm/{index-b91c174c.js → index-f4bd5aa3.js} +1 -1
- package/dist/esm/{index.es-065c3035.js → index.es-f47c4153.js} +6 -6
- package/dist/esm/{interfaces-5a2fe8b4.js → interfaces-7470d906.js} +1 -6
- package/dist/esm/{it-56e52026.js → it-57d790f2.js} +5 -5
- package/dist/esm/{it-ch-a4a0e136.js → it-ch-081af760.js} +5 -5
- package/dist/esm/{ja-f2365272.js → ja-3affb68e.js} +5 -5
- package/dist/esm/{ko-e7650b4c.js → ko-736632aa.js} +5 -5
- package/dist/esm/layout-manager.entry.js +3 -3
- package/dist/esm/list-item.entry.js +1 -1
- package/dist/esm/{loadModules-f5f910b6.js → loadModules-2880c7e3.js} +1 -1
- package/dist/esm/{loadable-47170cb6.js → loadable-f848be11.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-efad8f83.js → locale-9624832c.js} +1 -1
- package/dist/esm/{lt-1577a952.js → lt-e7d9b1c3.js} +5 -5
- package/dist/esm/{lv-9ef7e4f6.js → lv-4d1a507e.js} +5 -5
- package/dist/esm/map-select-tools_3.entry.js +16 -10
- package/dist/esm/{mapViewUtils-f0c04325.js → mapViewUtils-00a04d52.js} +1 -1
- package/dist/esm/{mk-94264e08.js → mk-f960312d.js} +5 -5
- package/dist/esm/{nb-fa24d5b2.js → nb-4556b5e9.js} +5 -5
- package/dist/esm/{nl-33f10900.js → nl-8e281c01.js} +5 -5
- package/dist/esm/{openCloseComponent-10efeff3.js → openCloseComponent-9fce341c.js} +1 -1
- package/dist/esm/pci-calculator.entry.js +1 -1
- package/dist/esm/{pl-9ed16565.js → pl-1460fd5a.js} +5 -5
- package/dist/esm/{pt-52731ddf.js → pt-660332b6.js} +5 -5
- package/dist/esm/{pt-br-8de51ff4.js → pt-br-dba48f49.js} +5 -5
- package/dist/esm/public-notification.entry.js +8 -8
- package/dist/esm/{publicNotificationStore-ade82148.js → publicNotificationStore-90a6a274.js} +1 -1
- package/dist/esm/resources-74ea5c42.js +26 -0
- package/dist/esm/{ro-99f009ad.js → ro-ac18f292.js} +5 -5
- package/dist/esm/{ru-592ffaf0.js → ru-b914f6b7.js} +5 -5
- package/dist/esm/{shared-list-render-4f0f6af8.js → shared-list-render-cc889757.js} +1 -1
- package/dist/esm/{sk-44f7bd19.js → sk-1be12963.js} +5 -5
- package/dist/esm/{sl-08cad9bd.js → sl-5d47e4e4.js} +5 -5
- package/dist/esm/solution-configuration.entry.js +5 -5
- package/dist/esm/solution-contents_3.entry.js +5 -5
- package/dist/esm/{solution-store-46bc46a5.js → solution-store-cf902566.js} +2 -2
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/{sr-84f261fc.js → sr-3281c92d.js} +5 -5
- package/dist/esm/store-manager.entry.js +1 -1
- package/dist/esm/{sv-d0d7bc1e.js → sv-e5169404.js} +5 -5
- package/dist/esm/{t9n-5f748619.js → t9n-d9c203e4.js} +1 -1
- package/dist/esm/{th-a5149d44.js → th-937796b8.js} +5 -5
- package/dist/esm/{tr-feb0cad4.js → tr-6d3b100b.js} +5 -5
- package/dist/esm/{uk-c9ba62a0.js → uk-a6edcacf.js} +5 -5
- package/dist/esm/{utils-0a5c1a07.js → utils-24a35b5a.js} +1 -1
- package/dist/esm/{vi-788dcb99.js → vi-bf4c179c.js} +5 -5
- package/dist/esm/{zh-cn-3ccfb820.js → zh-cn-de1858cb.js} +5 -5
- package/dist/esm/{zh-hk-b29b61e8.js → zh-hk-12fa404f.js} +5 -5
- package/dist/esm/{zh-tw-2bdbc6eb.js → zh-tw-5c4220e5.js} +5 -5
- package/dist/solutions-components/{p-1efcac52.entry.js → p-019fe9fe.entry.js} +3 -3
- package/dist/solutions-components/{p-95c11620.js → p-0503c78d.js} +2 -2
- package/dist/solutions-components/p-06712292.js +11 -0
- package/dist/solutions-components/{p-5eaaf6ea.entry.js → p-0870f436.entry.js} +1 -1
- package/dist/solutions-components/{p-99891e57.js → p-0a0c3764.js} +1 -1
- package/dist/solutions-components/{p-1bcfca9b.entry.js → p-0a883f51.entry.js} +1 -1
- package/dist/solutions-components/{p-3948a96c.js → p-0ca528ec.js} +1 -1
- package/dist/solutions-components/{p-456f5afe.entry.js → p-0d08a75d.entry.js} +1 -1
- package/dist/solutions-components/{p-0266ca81.js → p-0dab4c93.js} +1 -1
- package/dist/solutions-components/{p-f815b5ef.entry.js → p-0de1df10.entry.js} +1 -1
- package/dist/solutions-components/{p-138cf009.js → p-127c3866.js} +1 -1
- package/dist/solutions-components/p-12a7c2db.entry.js +6 -0
- package/dist/solutions-components/{p-d6f68a4e.entry.js → p-1552c479.entry.js} +1 -1
- package/dist/solutions-components/{p-dc9dad31.entry.js → p-15a9fe95.entry.js} +1 -1
- package/dist/solutions-components/{p-2bf63e2e.js → p-19ec0463.js} +1 -1
- package/dist/solutions-components/{p-651459e2.entry.js → p-1a47516a.entry.js} +2 -2
- package/dist/solutions-components/{p-3c15959e.js → p-1b4d6511.js} +1 -1
- package/dist/solutions-components/{p-b25005cf.entry.js → p-1ed80742.entry.js} +1 -1
- package/dist/solutions-components/{p-ec889511.js → p-1f69762c.js} +1 -1
- package/dist/solutions-components/{p-7f9642d5.js → p-22833bd3.js} +1 -1
- package/dist/solutions-components/{p-5958dad9.js → p-245d667e.js} +1 -1
- package/dist/solutions-components/{p-c9df539a.entry.js → p-25718b9f.entry.js} +1 -1
- package/dist/solutions-components/{p-0f85fa4b.js → p-2723beaa.js} +1 -1
- package/dist/solutions-components/{p-ae6a7b3b.entry.js → p-2821ab80.entry.js} +1 -1
- package/dist/solutions-components/{p-7262469a.js → p-2937523d.js} +1 -1
- package/dist/solutions-components/{p-bde323ec.js → p-29b2f046.js} +1 -1
- package/dist/solutions-components/p-2a58e378.js +21 -0
- package/dist/solutions-components/p-2cff8331.entry.js +6 -0
- package/dist/solutions-components/{p-0b8463d6.js → p-2d614afc.js} +1 -1
- package/dist/solutions-components/{p-aea37c90.js → p-300f4299.js} +1 -1
- package/dist/solutions-components/{p-64e2c099.js → p-30542275.js} +1 -1
- package/dist/solutions-components/{p-688f6a0a.js → p-318790b8.js} +1 -1
- package/dist/solutions-components/{p-e4253e1b.entry.js → p-31c9aa38.entry.js} +1 -1
- package/dist/solutions-components/{p-446ab7f8.entry.js → p-31d2a105.entry.js} +1 -1
- package/dist/solutions-components/p-33613993.js +7 -0
- package/dist/solutions-components/{p-7060caf6.js → p-337f6adf.js} +1 -1
- package/dist/solutions-components/{p-5ceef49b.js → p-34169501.js} +1 -1
- package/dist/solutions-components/{p-4d76eaf6.entry.js → p-3658ebd8.entry.js} +1 -1
- package/dist/solutions-components/{p-3445a8c6.js → p-3691a072.js} +1 -1
- package/dist/solutions-components/{p-28b5a7cf.js → p-38211628.js} +1 -1
- package/dist/solutions-components/{p-e2637fe6.js → p-38cc8a4d.js} +1 -1
- package/dist/solutions-components/{p-0fa3d1aa.js → p-39fe9a4c.js} +1 -1
- package/dist/solutions-components/{p-4f9f97b2.entry.js → p-3a7cd2b0.entry.js} +1 -1
- package/dist/solutions-components/{p-ca3d7edd.entry.js → p-3b891cc4.entry.js} +1 -1
- package/dist/solutions-components/{p-0f8440bb.entry.js → p-3cc30e11.entry.js} +1 -1
- package/dist/solutions-components/{p-8f8d2861.js → p-3d3772fb.js} +1 -1
- package/dist/solutions-components/{p-667e7134.entry.js → p-3e9fc0aa.entry.js} +1 -1
- package/dist/solutions-components/{p-635bbbd4.js → p-418be467.js} +1 -1
- package/dist/solutions-components/{p-586f0e3d.entry.js → p-45419d93.entry.js} +1 -1
- package/dist/solutions-components/{p-a46f1b45.js → p-45b829b5.js} +1 -1
- package/dist/solutions-components/{p-58167087.entry.js → p-48329056.entry.js} +1 -1
- package/dist/solutions-components/{p-6be3c411.js → p-4b4559f9.js} +1 -1
- package/dist/solutions-components/{p-8544d557.entry.js → p-4bd793ef.entry.js} +1 -1
- package/dist/solutions-components/{p-cec47579.entry.js → p-4cb7cdb7.entry.js} +1 -1
- package/dist/solutions-components/{p-0f77e83c.entry.js → p-4d91443a.entry.js} +2 -2
- package/dist/solutions-components/{p-6ce7b446.entry.js → p-52ec0b32.entry.js} +1 -1
- package/dist/solutions-components/{p-da6acb22.entry.js → p-537c34a4.entry.js} +1 -1
- package/dist/solutions-components/{p-7a027758.entry.js → p-54064b61.entry.js} +1 -1
- package/dist/solutions-components/{p-60c15592.js → p-54cc02c9.js} +1 -1
- package/dist/solutions-components/{p-2592c0b8.js → p-557d4cc5.js} +1 -1
- package/dist/solutions-components/{p-8f68f1d3.entry.js → p-61af54b9.entry.js} +1 -1
- package/dist/solutions-components/{p-0109bef4.entry.js → p-628c170b.entry.js} +1 -1
- package/dist/solutions-components/{p-e0c011b8.js → p-62e3adbb.js} +1 -1
- package/dist/solutions-components/{p-1e7a31c1.entry.js → p-64541510.entry.js} +1 -1
- package/dist/solutions-components/{p-3ce89910.entry.js → p-65022e7f.entry.js} +1 -1
- package/dist/solutions-components/{p-bbb0d957.entry.js → p-66dd455f.entry.js} +1 -1
- package/dist/solutions-components/{p-f596eabd.entry.js → p-68630513.entry.js} +1 -1
- package/dist/solutions-components/{p-1cebde99.js → p-69e26726.js} +1 -1
- package/dist/solutions-components/{p-78a40191.entry.js → p-701409be.entry.js} +2 -2
- package/dist/solutions-components/{p-636f4631.js → p-702c6093.js} +1 -1
- package/dist/solutions-components/{p-1dbaff04.entry.js → p-712ea336.entry.js} +1 -1
- package/dist/solutions-components/{p-7b2314ac.js → p-71400268.js} +1 -1
- package/dist/solutions-components/{p-89504313.entry.js → p-74521615.entry.js} +1 -1
- package/dist/solutions-components/{p-5c9fa0e7.js → p-747a1293.js} +1 -1
- package/dist/solutions-components/{p-8927339d.js → p-74aa84f6.js} +1 -1
- package/dist/solutions-components/{p-57c08531.entry.js → p-753da967.entry.js} +1 -1
- package/dist/solutions-components/{p-168a7d63.js → p-75e707d1.js} +1 -1
- package/dist/solutions-components/{p-f8dd2784.js → p-767002cd.js} +2 -2
- package/dist/solutions-components/{p-17a29fa6.entry.js → p-792fcd62.entry.js} +1 -1
- package/dist/solutions-components/{p-d864b7e3.js → p-79d7f324.js} +1 -1
- package/dist/solutions-components/{p-b28b6d40.js → p-7a11983d.js} +1 -1
- package/dist/solutions-components/{p-ea285144.js → p-80b87453.js} +1 -1
- package/dist/solutions-components/{p-864c190b.entry.js → p-8150ad0e.entry.js} +1 -1
- package/dist/solutions-components/{p-5e08d4de.js → p-82f0b25b.js} +1 -1
- package/dist/solutions-components/{p-e2eb4fd3.entry.js → p-85791b16.entry.js} +1 -1
- package/dist/solutions-components/{p-0ecd7346.js → p-85e0d2a3.js} +1 -1
- package/dist/solutions-components/{p-6ddc9567.entry.js → p-87971116.entry.js} +2 -2
- package/dist/solutions-components/{p-c79c7978.entry.js → p-89617f30.entry.js} +1 -1
- package/dist/solutions-components/{p-6eb4ba8f.js → p-89cbb86a.js} +1 -1
- package/dist/solutions-components/{p-ced11bea.entry.js → p-8a91195f.entry.js} +1 -1
- package/dist/solutions-components/{p-34ef43ce.entry.js → p-8b2e460e.entry.js} +1 -1
- package/dist/solutions-components/{p-ec378ea0.entry.js → p-8e3e1ce8.entry.js} +1 -1
- package/dist/solutions-components/{p-072155f9.js → p-8e9d9e6a.js} +1 -1
- package/dist/solutions-components/{p-a287be8b.js → p-90a9126f.js} +1 -1
- package/dist/solutions-components/{p-8c61431d.js → p-9391bb74.js} +1 -1
- package/dist/solutions-components/{p-2154de6d.js → p-941721ba.js} +1 -1
- package/dist/solutions-components/{p-38f906f2.js → p-9504c1b7.js} +1 -1
- package/dist/solutions-components/{p-0dd8368d.entry.js → p-97088307.entry.js} +1 -1
- package/dist/solutions-components/{p-35cb6eca.entry.js → p-9791fbf1.entry.js} +2 -2
- package/dist/solutions-components/{p-6295e168.entry.js → p-97b69f54.entry.js} +1 -1
- package/dist/solutions-components/{p-261394d7.entry.js → p-981fc8e4.entry.js} +1 -1
- package/dist/solutions-components/{p-1fba74a5.entry.js → p-9961a2f9.entry.js} +1 -1
- package/dist/solutions-components/{p-3cfaf52b.entry.js → p-9abb1c4c.entry.js} +2 -2
- package/dist/solutions-components/{p-452850b4.entry.js → p-9b75102b.entry.js} +1 -1
- package/dist/solutions-components/{p-7bb12deb.js → p-a097edf0.js} +1 -1
- package/dist/solutions-components/p-a16e6f5f.entry.js +6 -0
- package/dist/solutions-components/{p-167eb73b.js → p-a19d8147.js} +1 -1
- package/dist/solutions-components/{p-31aaa60f.js → p-a59dba2f.js} +1 -1
- package/dist/solutions-components/{p-8af52074.entry.js → p-ac1bd870.entry.js} +1 -1
- package/dist/solutions-components/{p-9370bb48.entry.js → p-ad19f9b0.entry.js} +1 -1
- package/dist/solutions-components/{p-9a35ef8e.js → p-ae3ec77d.js} +1 -1
- package/dist/solutions-components/{p-56f1d66b.entry.js → p-ae4ad673.entry.js} +2 -2
- package/dist/solutions-components/{p-13290851.js → p-afb35c95.js} +1 -1
- package/dist/solutions-components/{p-ebbff02e.js → p-b029c6d8.js} +1 -1
- package/dist/solutions-components/{p-80cb42e4.entry.js → p-b09d8c0e.entry.js} +1 -1
- package/dist/solutions-components/{p-c1dcc1e7.js → p-b1daad7e.js} +1 -1
- package/dist/solutions-components/p-b6a1c34f.entry.js +17 -0
- package/dist/solutions-components/{p-f153f1c9.entry.js → p-b7093e6d.entry.js} +1 -1
- package/dist/solutions-components/{p-01c83b8c.entry.js → p-b97886b3.entry.js} +1 -1
- package/dist/solutions-components/{p-8d00a17e.js → p-bbfc2724.js} +1 -1
- package/dist/solutions-components/{p-149b4d3c.entry.js → p-bd82849c.entry.js} +1 -1
- package/dist/solutions-components/{p-c3ab7439.js → p-bfc78840.js} +1 -1
- package/dist/solutions-components/{p-cd673260.js → p-bff158ff.js} +1 -1
- package/dist/solutions-components/{p-879d6377.entry.js → p-c033b8ec.entry.js} +1 -1
- package/dist/solutions-components/{p-feff224c.entry.js → p-c261335b.entry.js} +1 -1
- package/dist/solutions-components/{p-10e1ebe4.entry.js → p-ca5be55f.entry.js} +2 -2
- package/dist/solutions-components/{p-2c0dc7b1.js → p-cc462e38.js} +1 -1
- package/dist/solutions-components/{p-cc2393c3.entry.js → p-cc624b0c.entry.js} +1 -1
- package/dist/solutions-components/{p-46352a57.entry.js → p-d118a76e.entry.js} +1 -1
- package/dist/solutions-components/p-d54c2dfd.entry.js +6 -0
- package/dist/solutions-components/{p-476e5302.js → p-d74e95e5.js} +1 -1
- package/dist/solutions-components/{p-0c2e392e.entry.js → p-d793ec96.entry.js} +1 -1
- package/dist/solutions-components/{p-90cef98d.entry.js → p-d7d466e8.entry.js} +1 -1
- package/dist/solutions-components/{p-27e0f599.js → p-d902b790.js} +1 -1
- package/dist/solutions-components/{p-e3d72832.entry.js → p-da760d1d.entry.js} +2 -2
- package/dist/solutions-components/{p-cee23126.js → p-dac10448.js} +1 -1
- package/dist/solutions-components/{p-8b74f5bb.entry.js → p-dc80cb69.entry.js} +1 -1
- package/dist/solutions-components/{p-9b76bf3d.js → p-dd5f68f2.js} +1 -1
- package/dist/solutions-components/{p-470a9ec4.entry.js → p-dda325a4.entry.js} +1 -1
- package/dist/solutions-components/{p-410068d9.entry.js → p-e502ccce.entry.js} +1 -1
- package/dist/solutions-components/{p-5d62566c.entry.js → p-e7304151.entry.js} +1 -1
- package/dist/solutions-components/{p-ac0abf04.entry.js → p-e849d2ba.entry.js} +2 -2
- package/dist/solutions-components/{p-73220ff1.js → p-e9fcf408.js} +1 -1
- package/dist/solutions-components/{p-28d2670f.entry.js → p-eb58da32.entry.js} +1 -1
- package/dist/solutions-components/{p-42f9ab43.entry.js → p-efd70bf7.entry.js} +2 -2
- package/dist/solutions-components/{p-be146646.js → p-f0f5ecb2.js} +1 -1
- package/dist/solutions-components/{p-082365d6.entry.js → p-f4e5b7e5.entry.js} +1 -1
- package/dist/solutions-components/{p-c70392c4.entry.js → p-f524cc5b.entry.js} +1 -1
- package/dist/solutions-components/{p-81814234.entry.js → p-f6b19af7.entry.js} +1 -1
- package/dist/solutions-components/{p-872036a8.js → p-f6cf9943.js} +1 -1
- package/dist/solutions-components/{p-c968f9aa.entry.js → p-f72e0965.entry.js} +1 -1
- package/dist/solutions-components/{p-b28ff52c.js → p-f7aa542c.js} +1 -1
- package/dist/solutions-components/p-f812e3ee.entry.js +17 -0
- package/dist/solutions-components/{p-66b5211f.entry.js → p-f8944f59.entry.js} +1 -1
- package/dist/solutions-components/{p-a1c6db13.entry.js → p-fb23ba4a.entry.js} +1 -1
- package/dist/solutions-components/p-fb74e4a9.js +11 -0
- package/dist/solutions-components/{p-46e0ce0c.entry.js → p-fbd71543.entry.js} +1 -1
- package/dist/solutions-components/{p-29efbf76.entry.js → p-ff863f3d.entry.js} +1 -1
- package/dist/solutions-components/p-ffbe89cf.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +0 -5
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +21 -1
- package/dist/types/components/map-fullscreen/map-fullscreen.d.ts +71 -0
- package/dist/types/components/map-tools/map-tools.d.ts +15 -7
- package/dist/types/components/pdf-download/pdf-download.d.ts +1 -1
- package/dist/types/components.d.ts +31 -10
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/utils/interfaces.d.ts +0 -4
- package/package.json +1 -1
- package/dist/cjs/calcite-action-bar.cjs.entry.js +0 -250
- package/dist/esm/calcite-action-bar.entry.js +0 -246
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/solutions-components/p-18538cd9.entry.js +0 -11
- package/dist/solutions-components/p-868df4a0.js +0 -21
- package/dist/solutions-components/p-869d4521.entry.js +0 -6
- package/dist/solutions-components/p-9310b882.js +0 -7
- package/dist/solutions-components/p-9eba78eb.entry.js +0 -6
- package/dist/solutions-components/p-c26cd409.entry.js +0 -6
- package/dist/solutions-components/p-d4cb29ed.entry.js +0 -6
- package/dist/solutions-components/p-e4d2fcc5.js +0 -11
- package/dist/solutions-components/p-fb7ca639.entry.js +0 -6
- package/dist/solutions-components/p-fe96e0d9.entry.js +0 -23
@@ -5,9 +5,9 @@
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
6
6
|
*/
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
8
|
-
import { DistanceUnit, EDrawMode,
|
8
|
+
import { DistanceUnit, EDrawMode, ELayoutMode, IExportInfos, IInventoryItem, IMapChange, IMapInfo, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISpatialRefRepresentation, IValueChange } from "./utils/interfaces";
|
9
9
|
import { UserSession } from "@esri/solution-common";
|
10
|
-
export { DistanceUnit, EDrawMode,
|
10
|
+
export { DistanceUnit, EDrawMode, ELayoutMode, IExportInfos, IInventoryItem, IMapChange, IMapInfo, ISearchConfiguration, ISelectionSet, ISketchGraphicsChange, ISolutionSpatialReferenceInfo, ISpatialRefRepresentation, IValueChange } from "./utils/interfaces";
|
11
11
|
export { UserSession } from "@esri/solution-common";
|
12
12
|
export namespace Components {
|
13
13
|
interface BasemapGallery {
|
@@ -267,6 +267,16 @@ export namespace Components {
|
|
267
267
|
*/
|
268
268
|
"updateGraphics": () => Promise<void>;
|
269
269
|
}
|
270
|
+
interface MapFullscreen {
|
271
|
+
/**
|
272
|
+
* esri/widgets/Fullscreen: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Fullscreen.html
|
273
|
+
*/
|
274
|
+
"fullscreenWidget": __esri.Fullscreen;
|
275
|
+
/**
|
276
|
+
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
277
|
+
*/
|
278
|
+
"mapView": __esri.MapView;
|
279
|
+
}
|
270
280
|
interface MapLayerPicker {
|
271
281
|
/**
|
272
282
|
* "transparent" | "solid": controls the button appearance when using the "dropdown" type
|
@@ -789,10 +799,6 @@ export interface MapSelectToolsCustomEvent<T> extends CustomEvent<T> {
|
|
789
799
|
detail: T;
|
790
800
|
target: HTMLMapSelectToolsElement;
|
791
801
|
}
|
792
|
-
export interface MapToolsCustomEvent<T> extends CustomEvent<T> {
|
793
|
-
detail: T;
|
794
|
-
target: HTMLMapToolsElement;
|
795
|
-
}
|
796
802
|
export interface PublicNotificationCustomEvent<T> extends CustomEvent<T> {
|
797
803
|
detail: T;
|
798
804
|
target: HTMLPublicNotificationElement;
|
@@ -906,6 +912,12 @@ declare global {
|
|
906
912
|
prototype: HTMLMapDrawToolsElement;
|
907
913
|
new (): HTMLMapDrawToolsElement;
|
908
914
|
};
|
915
|
+
interface HTMLMapFullscreenElement extends Components.MapFullscreen, HTMLStencilElement {
|
916
|
+
}
|
917
|
+
var HTMLMapFullscreenElement: {
|
918
|
+
prototype: HTMLMapFullscreenElement;
|
919
|
+
new (): HTMLMapFullscreenElement;
|
920
|
+
};
|
909
921
|
interface HTMLMapLayerPickerElement extends Components.MapLayerPicker, HTMLStencilElement {
|
910
922
|
}
|
911
923
|
var HTMLMapLayerPickerElement: {
|
@@ -1053,6 +1065,7 @@ declare global {
|
|
1053
1065
|
"list-item": HTMLListItemElement;
|
1054
1066
|
"map-card": HTMLMapCardElement;
|
1055
1067
|
"map-draw-tools": HTMLMapDrawToolsElement;
|
1068
|
+
"map-fullscreen": HTMLMapFullscreenElement;
|
1056
1069
|
"map-layer-picker": HTMLMapLayerPickerElement;
|
1057
1070
|
"map-legend": HTMLMapLegendElement;
|
1058
1071
|
"map-picker": HTMLMapPickerElement;
|
@@ -1347,6 +1360,16 @@ declare namespace LocalJSX {
|
|
1347
1360
|
*/
|
1348
1361
|
"undoEnabled"?: boolean;
|
1349
1362
|
}
|
1363
|
+
interface MapFullscreen {
|
1364
|
+
/**
|
1365
|
+
* esri/widgets/Fullscreen: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Fullscreen.html
|
1366
|
+
*/
|
1367
|
+
"fullscreenWidget"?: __esri.Fullscreen;
|
1368
|
+
/**
|
1369
|
+
* esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
1370
|
+
*/
|
1371
|
+
"mapView"?: __esri.MapView;
|
1372
|
+
}
|
1350
1373
|
interface MapLayerPicker {
|
1351
1374
|
/**
|
1352
1375
|
* "transparent" | "solid": controls the button appearance when using the "dropdown" type
|
@@ -1522,10 +1545,6 @@ declare namespace LocalJSX {
|
|
1522
1545
|
* esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
|
1523
1546
|
*/
|
1524
1547
|
"mapView"?: __esri.MapView;
|
1525
|
-
/**
|
1526
|
-
* Emitted when the expand button is clicked
|
1527
|
-
*/
|
1528
|
-
"onExpandMap"?: (event: MapToolsCustomEvent<EExpandType>) => void;
|
1529
1548
|
/**
|
1530
1549
|
* ISearchConfiguration: Configuration details for the Search widget
|
1531
1550
|
*/
|
@@ -1825,6 +1844,7 @@ declare namespace LocalJSX {
|
|
1825
1844
|
"list-item": ListItem;
|
1826
1845
|
"map-card": MapCard;
|
1827
1846
|
"map-draw-tools": MapDrawTools;
|
1847
|
+
"map-fullscreen": MapFullscreen;
|
1828
1848
|
"map-layer-picker": MapLayerPicker;
|
1829
1849
|
"map-legend": MapLegend;
|
1830
1850
|
"map-picker": MapPicker;
|
@@ -1867,6 +1887,7 @@ declare module "@stencil/core" {
|
|
1867
1887
|
"list-item": LocalJSX.ListItem & JSXBase.HTMLAttributes<HTMLListItemElement>;
|
1868
1888
|
"map-card": LocalJSX.MapCard & JSXBase.HTMLAttributes<HTMLMapCardElement>;
|
1869
1889
|
"map-draw-tools": LocalJSX.MapDrawTools & JSXBase.HTMLAttributes<HTMLMapDrawToolsElement>;
|
1890
|
+
"map-fullscreen": LocalJSX.MapFullscreen & JSXBase.HTMLAttributes<HTMLMapFullscreenElement>;
|
1870
1891
|
"map-layer-picker": LocalJSX.MapLayerPicker & JSXBase.HTMLAttributes<HTMLMapLayerPickerElement>;
|
1871
1892
|
"map-legend": LocalJSX.MapLegend & JSXBase.HTMLAttributes<HTMLMapLegendElement>;
|
1872
1893
|
"map-picker": LocalJSX.MapPicker & JSXBase.HTMLAttributes<HTMLMapPickerElement>;
|
package/dist/types/preact.d.ts
CHANGED
@@ -502,6 +502,8 @@ declare module "preact/src/jsx" {
|
|
502
502
|
"ondrawRedo"?: (event: CustomEvent<any>) => void;
|
503
503
|
}
|
504
504
|
|
505
|
+
"map-fullscreen": JSX.SolutionsMapFullscreen & JSXInternal.HTMLAttributes<HTMLSolutionsMapFullscreenElement>
|
506
|
+
|
505
507
|
"map-layer-picker": Omit<JSX.SolutionsMapLayerPicker, "onLayerSelectionChange"> & JSXInternal.HTMLAttributes<HTMLSolutionsMapLayerPickerElement> & {
|
506
508
|
"onlayerSelectionChange"?: (event: CustomEvent<any>) => void;
|
507
509
|
}
|
@@ -518,9 +520,7 @@ declare module "preact/src/jsx" {
|
|
518
520
|
"onselectionSetChange"?: (event: CustomEvent<any>) => void;
|
519
521
|
}
|
520
522
|
|
521
|
-
"map-tools":
|
522
|
-
"onexpandMap"?: (event: CustomEvent<any>) => void;
|
523
|
-
}
|
523
|
+
"map-tools": JSX.SolutionsMapTools & JSXInternal.HTMLAttributes<HTMLSolutionsMapToolsElement>
|
524
524
|
|
525
525
|
"pci-calculator": JSX.SolutionsPciCalculator & JSXInternal.HTMLAttributes<HTMLSolutionsPciCalculatorElement>
|
526
526
|
|
package/package.json
CHANGED
@@ -1,250 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
'use strict';
|
7
|
-
|
8
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
9
|
-
|
10
|
-
const index = require('./index-0e50040c.js');
|
11
|
-
const conditionalSlot = require('./conditionalSlot-126d557f.js');
|
12
|
-
const dom = require('./dom-456f9f13.js');
|
13
|
-
const loadable = require('./loadable-6925d840.js');
|
14
|
-
const locale = require('./locale-79c3d30e.js');
|
15
|
-
const observers = require('./observers-9912f013.js');
|
16
|
-
const t9n = require('./t9n-62d807df.js');
|
17
|
-
const ExpandToggle = require('./ExpandToggle-c5690e14.js');
|
18
|
-
const debounce = require('./debounce-30afab47.js');
|
19
|
-
require('./guid-d1123d5e.js');
|
20
|
-
require('./resources-993f6faf.js');
|
21
|
-
require('./key-8de93212.js');
|
22
|
-
require('./resources-a2e2a544.js');
|
23
|
-
require('./resources-10d29626.js');
|
24
|
-
|
25
|
-
/*!
|
26
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
27
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
28
|
-
* v1.6.1
|
29
|
-
*/
|
30
|
-
const CSS = {
|
31
|
-
actionGroupEnd: "action-group--end",
|
32
|
-
};
|
33
|
-
const SLOTS = {
|
34
|
-
actionsEnd: "actions-end",
|
35
|
-
bottomActions: "bottom-actions",
|
36
|
-
expandTooltip: "expand-tooltip",
|
37
|
-
};
|
38
|
-
|
39
|
-
const actionBarCss = ":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{pointer-events:auto;display:inline-flex;align-self:stretch;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-block-end:0;border-inline-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal][expand-disabled]) ::slotted(calcite-action-group:last-of-type){border-inline-end:0}::slotted(calcite-action-group:last-child){border-block-end:0;border-inline-end:0}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}";
|
40
|
-
|
41
|
-
const ActionBar = class {
|
42
|
-
constructor(hostRef) {
|
43
|
-
index.registerInstance(this, hostRef);
|
44
|
-
this.calciteActionBarToggle = index.createEvent(this, "calciteActionBarToggle", 6);
|
45
|
-
this.mutationObserver = observers.createObserver("mutation", () => {
|
46
|
-
const { el, expanded } = this;
|
47
|
-
ExpandToggle.toggleChildActionText({ el, expanded });
|
48
|
-
this.overflowActions();
|
49
|
-
});
|
50
|
-
this.resizeObserver = observers.createObserver("resize", (entries) => this.resizeHandlerEntries(entries));
|
51
|
-
// --------------------------------------------------------------------------
|
52
|
-
//
|
53
|
-
// Private Methods
|
54
|
-
//
|
55
|
-
// --------------------------------------------------------------------------
|
56
|
-
this.actionMenuOpenHandler = (event) => {
|
57
|
-
if (event.target.menuOpen) {
|
58
|
-
const composedPath = event.composedPath();
|
59
|
-
Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((group) => {
|
60
|
-
if (!composedPath.includes(group)) {
|
61
|
-
group.menuOpen = false;
|
62
|
-
}
|
63
|
-
});
|
64
|
-
}
|
65
|
-
};
|
66
|
-
this.resizeHandlerEntries = (entries) => {
|
67
|
-
entries.forEach(this.resizeHandler);
|
68
|
-
};
|
69
|
-
this.resizeHandler = (entry) => {
|
70
|
-
const { width, height } = entry.contentRect;
|
71
|
-
this.resize({ width, height });
|
72
|
-
};
|
73
|
-
this.resize = debounce.debounce(({ width, height }) => {
|
74
|
-
const { el, expanded, expandDisabled, layout, overflowActionsDisabled } = this;
|
75
|
-
if (overflowActionsDisabled ||
|
76
|
-
(layout === "vertical" && !height) ||
|
77
|
-
(layout === "horizontal" && !width)) {
|
78
|
-
return;
|
79
|
-
}
|
80
|
-
const actions = ExpandToggle.queryActions(el);
|
81
|
-
const actionCount = expandDisabled ? actions.length : actions.length + 1;
|
82
|
-
const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
|
83
|
-
this.setGroupLayout(actionGroups);
|
84
|
-
const groupCount = this.hasActionsEnd || this.hasBottomActions || !expandDisabled
|
85
|
-
? actionGroups.length + 1
|
86
|
-
: actionGroups.length;
|
87
|
-
const { actionHeight, actionWidth } = ExpandToggle.geActionDimensions(actions);
|
88
|
-
const overflowCount = ExpandToggle.getOverflowCount({
|
89
|
-
layout,
|
90
|
-
actionCount,
|
91
|
-
actionHeight,
|
92
|
-
actionWidth,
|
93
|
-
height,
|
94
|
-
width,
|
95
|
-
groupCount,
|
96
|
-
});
|
97
|
-
ExpandToggle.overflowActions({
|
98
|
-
actionGroups,
|
99
|
-
expanded,
|
100
|
-
overflowCount,
|
101
|
-
});
|
102
|
-
}, ExpandToggle.overflowActionsDebounceInMs);
|
103
|
-
this.toggleExpand = () => {
|
104
|
-
this.expanded = !this.expanded;
|
105
|
-
this.calciteActionBarToggle.emit();
|
106
|
-
};
|
107
|
-
this.setExpandToggleRef = (el) => {
|
108
|
-
this.expandToggleEl = el;
|
109
|
-
};
|
110
|
-
this.handleDefaultSlotChange = (event) => {
|
111
|
-
const groups = dom.slotChangeGetAssignedElements(event).filter((el) => el.matches("calcite-action-group"));
|
112
|
-
this.setGroupLayout(groups);
|
113
|
-
};
|
114
|
-
this.handleActionsEndSlotChange = (event) => {
|
115
|
-
this.hasActionsEnd = dom.slotChangeHasAssignedElement(event);
|
116
|
-
};
|
117
|
-
this.handleBottomActionsSlotChange = (event) => {
|
118
|
-
this.hasBottomActions = dom.slotChangeHasAssignedElement(event);
|
119
|
-
};
|
120
|
-
this.handleTooltipSlotChange = (event) => {
|
121
|
-
const tooltips = dom.slotChangeGetAssignedElements(event).filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-tooltip"));
|
122
|
-
this.expandTooltip = tooltips[0];
|
123
|
-
};
|
124
|
-
this.expandDisabled = false;
|
125
|
-
this.expanded = false;
|
126
|
-
this.layout = "vertical";
|
127
|
-
this.overflowActionsDisabled = false;
|
128
|
-
this.position = undefined;
|
129
|
-
this.scale = undefined;
|
130
|
-
this.messages = undefined;
|
131
|
-
this.messageOverrides = undefined;
|
132
|
-
this.effectiveLocale = undefined;
|
133
|
-
this.hasActionsEnd = false;
|
134
|
-
this.hasBottomActions = false;
|
135
|
-
this.expandTooltip = undefined;
|
136
|
-
this.defaultMessages = undefined;
|
137
|
-
}
|
138
|
-
expandHandler() {
|
139
|
-
this.overflowActions();
|
140
|
-
}
|
141
|
-
expandedHandler() {
|
142
|
-
const { el, expanded } = this;
|
143
|
-
ExpandToggle.toggleChildActionText({ el, expanded });
|
144
|
-
this.overflowActions();
|
145
|
-
}
|
146
|
-
layoutHandler() {
|
147
|
-
this.updateGroups();
|
148
|
-
}
|
149
|
-
overflowDisabledHandler(overflowActionsDisabled) {
|
150
|
-
overflowActionsDisabled
|
151
|
-
? this.resizeObserver.disconnect()
|
152
|
-
: this.resizeObserver.observe(this.el);
|
153
|
-
}
|
154
|
-
onMessagesChange() {
|
155
|
-
/* wired up by t9n util */
|
156
|
-
}
|
157
|
-
effectiveLocaleChange() {
|
158
|
-
t9n.updateMessages(this, this.effectiveLocale);
|
159
|
-
}
|
160
|
-
// --------------------------------------------------------------------------
|
161
|
-
//
|
162
|
-
// Lifecycle
|
163
|
-
//
|
164
|
-
// --------------------------------------------------------------------------
|
165
|
-
componentDidLoad() {
|
166
|
-
const { el, expanded } = this;
|
167
|
-
loadable.setComponentLoaded(this);
|
168
|
-
ExpandToggle.toggleChildActionText({ el, expanded });
|
169
|
-
this.overflowActions();
|
170
|
-
}
|
171
|
-
connectedCallback() {
|
172
|
-
var _a, _b;
|
173
|
-
const { el, expanded } = this;
|
174
|
-
locale.connectLocalized(this);
|
175
|
-
t9n.connectMessages(this);
|
176
|
-
ExpandToggle.toggleChildActionText({ el, expanded });
|
177
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(el, { childList: true, subtree: true });
|
178
|
-
if (!this.overflowActionsDisabled) {
|
179
|
-
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
|
180
|
-
}
|
181
|
-
this.overflowActions();
|
182
|
-
conditionalSlot.connectConditionalSlotComponent(this);
|
183
|
-
}
|
184
|
-
async componentWillLoad() {
|
185
|
-
loadable.setUpLoadableComponent(this);
|
186
|
-
await t9n.setUpMessages(this);
|
187
|
-
}
|
188
|
-
disconnectedCallback() {
|
189
|
-
var _a, _b;
|
190
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
191
|
-
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
192
|
-
conditionalSlot.disconnectConditionalSlotComponent(this);
|
193
|
-
locale.disconnectLocalized(this);
|
194
|
-
t9n.disconnectMessages(this);
|
195
|
-
}
|
196
|
-
// --------------------------------------------------------------------------
|
197
|
-
//
|
198
|
-
// Methods
|
199
|
-
//
|
200
|
-
// --------------------------------------------------------------------------
|
201
|
-
/**
|
202
|
-
* Overflows actions that won't fit into menus.
|
203
|
-
*
|
204
|
-
* @internal
|
205
|
-
*/
|
206
|
-
async overflowActions() {
|
207
|
-
this.resize({ width: this.el.clientWidth, height: this.el.clientHeight });
|
208
|
-
}
|
209
|
-
/**
|
210
|
-
* Sets focus on the component's first focusable element.
|
211
|
-
*/
|
212
|
-
async setFocus() {
|
213
|
-
await loadable.componentFocusable(this);
|
214
|
-
dom.focusFirstTabbable(this.el);
|
215
|
-
}
|
216
|
-
updateGroups() {
|
217
|
-
this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")));
|
218
|
-
}
|
219
|
-
setGroupLayout(groups) {
|
220
|
-
groups.forEach((group) => (group.layout = this.layout));
|
221
|
-
}
|
222
|
-
// --------------------------------------------------------------------------
|
223
|
-
//
|
224
|
-
// Render Methods
|
225
|
-
//
|
226
|
-
// --------------------------------------------------------------------------
|
227
|
-
renderBottomActionGroup() {
|
228
|
-
const { expanded, expandDisabled, el, position, toggleExpand, scale, layout, messages } = this;
|
229
|
-
const expandToggleNode = !expandDisabled ? (index.h(ExpandToggle.ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
230
|
-
// eslint-disable-next-line react/jsx-sort-props
|
231
|
-
ref: this.setExpandToggleRef })) : null;
|
232
|
-
return (index.h("calcite-action-group", { class: CSS.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, index.h("slot", { name: SLOTS.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), index.h("slot", { name: SLOTS.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), index.h("slot", { name: SLOTS.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
|
233
|
-
}
|
234
|
-
render() {
|
235
|
-
return (index.h(index.Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, index.h("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
236
|
-
}
|
237
|
-
static get assetsDirs() { return ["assets"]; }
|
238
|
-
get el() { return index.getElement(this); }
|
239
|
-
static get watchers() { return {
|
240
|
-
"expandDisabled": ["expandHandler"],
|
241
|
-
"expanded": ["expandedHandler"],
|
242
|
-
"layout": ["layoutHandler"],
|
243
|
-
"overflowActionsDisabled": ["overflowDisabledHandler"],
|
244
|
-
"messageOverrides": ["onMessagesChange"],
|
245
|
-
"effectiveLocale": ["effectiveLocaleChange"]
|
246
|
-
}; }
|
247
|
-
};
|
248
|
-
ActionBar.style = actionBarCss;
|
249
|
-
|
250
|
-
exports.calcite_action_bar = ActionBar;
|
@@ -1,246 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-b5d9d795.js';
|
7
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-55a14abd.js';
|
8
|
-
import { s as slotChangeGetAssignedElements, r as slotChangeHasAssignedElement, f as focusFirstTabbable } from './dom-37f2dec9.js';
|
9
|
-
import { a as setComponentLoaded, s as setUpLoadableComponent, c as componentFocusable } from './loadable-47170cb6.js';
|
10
|
-
import { c as connectLocalized, d as disconnectLocalized } from './locale-146251f7.js';
|
11
|
-
import { c as createObserver } from './observers-95c50046.js';
|
12
|
-
import { u as updateMessages, c as connectMessages, s as setUpMessages, d as disconnectMessages } from './t9n-5f748619.js';
|
13
|
-
import { t as toggleChildActionText, o as overflowActionsDebounceInMs, q as queryActions, g as geActionDimensions, a as overflowActions, E as ExpandToggle, b as getOverflowCount } from './ExpandToggle-3bfcb842.js';
|
14
|
-
import { d as debounce } from './debounce-229b1a22.js';
|
15
|
-
import './guid-70cda807.js';
|
16
|
-
import './resources-1e6d76df.js';
|
17
|
-
import './key-02fa06ae.js';
|
18
|
-
import './resources-c676d5de.js';
|
19
|
-
import './resources-b392187d.js';
|
20
|
-
|
21
|
-
/*!
|
22
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
23
|
-
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
24
|
-
* v1.6.1
|
25
|
-
*/
|
26
|
-
const CSS = {
|
27
|
-
actionGroupEnd: "action-group--end",
|
28
|
-
};
|
29
|
-
const SLOTS = {
|
30
|
-
actionsEnd: "actions-end",
|
31
|
-
bottomActions: "bottom-actions",
|
32
|
-
expandTooltip: "expand-tooltip",
|
33
|
-
};
|
34
|
-
|
35
|
-
const actionBarCss = ":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{pointer-events:auto;display:inline-flex;align-self:stretch;--calcite-action-bar-expanded-max-width:auto}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=vertical][overflow-actions-disabled]){overflow-y:auto}:host([layout=horizontal][overflow-actions-disabled]){overflow-x:auto}:host([layout=vertical][expanded]){max-inline-size:var(--calcite-action-bar-expanded-max-width)}::slotted(calcite-action-group){border-block-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-block-end:0;border-inline-end:1px solid var(--calcite-ui-border-3)}:host([layout=horizontal][expand-disabled]) ::slotted(calcite-action-group:last-of-type){border-inline-end:0}::slotted(calcite-action-group:last-child){border-block-end:0;border-inline-end:0}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}";
|
36
|
-
|
37
|
-
const ActionBar = class {
|
38
|
-
constructor(hostRef) {
|
39
|
-
registerInstance(this, hostRef);
|
40
|
-
this.calciteActionBarToggle = createEvent(this, "calciteActionBarToggle", 6);
|
41
|
-
this.mutationObserver = createObserver("mutation", () => {
|
42
|
-
const { el, expanded } = this;
|
43
|
-
toggleChildActionText({ el, expanded });
|
44
|
-
this.overflowActions();
|
45
|
-
});
|
46
|
-
this.resizeObserver = createObserver("resize", (entries) => this.resizeHandlerEntries(entries));
|
47
|
-
// --------------------------------------------------------------------------
|
48
|
-
//
|
49
|
-
// Private Methods
|
50
|
-
//
|
51
|
-
// --------------------------------------------------------------------------
|
52
|
-
this.actionMenuOpenHandler = (event) => {
|
53
|
-
if (event.target.menuOpen) {
|
54
|
-
const composedPath = event.composedPath();
|
55
|
-
Array.from(this.el.querySelectorAll("calcite-action-group")).forEach((group) => {
|
56
|
-
if (!composedPath.includes(group)) {
|
57
|
-
group.menuOpen = false;
|
58
|
-
}
|
59
|
-
});
|
60
|
-
}
|
61
|
-
};
|
62
|
-
this.resizeHandlerEntries = (entries) => {
|
63
|
-
entries.forEach(this.resizeHandler);
|
64
|
-
};
|
65
|
-
this.resizeHandler = (entry) => {
|
66
|
-
const { width, height } = entry.contentRect;
|
67
|
-
this.resize({ width, height });
|
68
|
-
};
|
69
|
-
this.resize = debounce(({ width, height }) => {
|
70
|
-
const { el, expanded, expandDisabled, layout, overflowActionsDisabled } = this;
|
71
|
-
if (overflowActionsDisabled ||
|
72
|
-
(layout === "vertical" && !height) ||
|
73
|
-
(layout === "horizontal" && !width)) {
|
74
|
-
return;
|
75
|
-
}
|
76
|
-
const actions = queryActions(el);
|
77
|
-
const actionCount = expandDisabled ? actions.length : actions.length + 1;
|
78
|
-
const actionGroups = Array.from(el.querySelectorAll("calcite-action-group"));
|
79
|
-
this.setGroupLayout(actionGroups);
|
80
|
-
const groupCount = this.hasActionsEnd || this.hasBottomActions || !expandDisabled
|
81
|
-
? actionGroups.length + 1
|
82
|
-
: actionGroups.length;
|
83
|
-
const { actionHeight, actionWidth } = geActionDimensions(actions);
|
84
|
-
const overflowCount = getOverflowCount({
|
85
|
-
layout,
|
86
|
-
actionCount,
|
87
|
-
actionHeight,
|
88
|
-
actionWidth,
|
89
|
-
height,
|
90
|
-
width,
|
91
|
-
groupCount,
|
92
|
-
});
|
93
|
-
overflowActions({
|
94
|
-
actionGroups,
|
95
|
-
expanded,
|
96
|
-
overflowCount,
|
97
|
-
});
|
98
|
-
}, overflowActionsDebounceInMs);
|
99
|
-
this.toggleExpand = () => {
|
100
|
-
this.expanded = !this.expanded;
|
101
|
-
this.calciteActionBarToggle.emit();
|
102
|
-
};
|
103
|
-
this.setExpandToggleRef = (el) => {
|
104
|
-
this.expandToggleEl = el;
|
105
|
-
};
|
106
|
-
this.handleDefaultSlotChange = (event) => {
|
107
|
-
const groups = slotChangeGetAssignedElements(event).filter((el) => el.matches("calcite-action-group"));
|
108
|
-
this.setGroupLayout(groups);
|
109
|
-
};
|
110
|
-
this.handleActionsEndSlotChange = (event) => {
|
111
|
-
this.hasActionsEnd = slotChangeHasAssignedElement(event);
|
112
|
-
};
|
113
|
-
this.handleBottomActionsSlotChange = (event) => {
|
114
|
-
this.hasBottomActions = slotChangeHasAssignedElement(event);
|
115
|
-
};
|
116
|
-
this.handleTooltipSlotChange = (event) => {
|
117
|
-
const tooltips = slotChangeGetAssignedElements(event).filter((el) => el === null || el === void 0 ? void 0 : el.matches("calcite-tooltip"));
|
118
|
-
this.expandTooltip = tooltips[0];
|
119
|
-
};
|
120
|
-
this.expandDisabled = false;
|
121
|
-
this.expanded = false;
|
122
|
-
this.layout = "vertical";
|
123
|
-
this.overflowActionsDisabled = false;
|
124
|
-
this.position = undefined;
|
125
|
-
this.scale = undefined;
|
126
|
-
this.messages = undefined;
|
127
|
-
this.messageOverrides = undefined;
|
128
|
-
this.effectiveLocale = undefined;
|
129
|
-
this.hasActionsEnd = false;
|
130
|
-
this.hasBottomActions = false;
|
131
|
-
this.expandTooltip = undefined;
|
132
|
-
this.defaultMessages = undefined;
|
133
|
-
}
|
134
|
-
expandHandler() {
|
135
|
-
this.overflowActions();
|
136
|
-
}
|
137
|
-
expandedHandler() {
|
138
|
-
const { el, expanded } = this;
|
139
|
-
toggleChildActionText({ el, expanded });
|
140
|
-
this.overflowActions();
|
141
|
-
}
|
142
|
-
layoutHandler() {
|
143
|
-
this.updateGroups();
|
144
|
-
}
|
145
|
-
overflowDisabledHandler(overflowActionsDisabled) {
|
146
|
-
overflowActionsDisabled
|
147
|
-
? this.resizeObserver.disconnect()
|
148
|
-
: this.resizeObserver.observe(this.el);
|
149
|
-
}
|
150
|
-
onMessagesChange() {
|
151
|
-
/* wired up by t9n util */
|
152
|
-
}
|
153
|
-
effectiveLocaleChange() {
|
154
|
-
updateMessages(this, this.effectiveLocale);
|
155
|
-
}
|
156
|
-
// --------------------------------------------------------------------------
|
157
|
-
//
|
158
|
-
// Lifecycle
|
159
|
-
//
|
160
|
-
// --------------------------------------------------------------------------
|
161
|
-
componentDidLoad() {
|
162
|
-
const { el, expanded } = this;
|
163
|
-
setComponentLoaded(this);
|
164
|
-
toggleChildActionText({ el, expanded });
|
165
|
-
this.overflowActions();
|
166
|
-
}
|
167
|
-
connectedCallback() {
|
168
|
-
var _a, _b;
|
169
|
-
const { el, expanded } = this;
|
170
|
-
connectLocalized(this);
|
171
|
-
connectMessages(this);
|
172
|
-
toggleChildActionText({ el, expanded });
|
173
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.observe(el, { childList: true, subtree: true });
|
174
|
-
if (!this.overflowActionsDisabled) {
|
175
|
-
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.observe(el);
|
176
|
-
}
|
177
|
-
this.overflowActions();
|
178
|
-
connectConditionalSlotComponent(this);
|
179
|
-
}
|
180
|
-
async componentWillLoad() {
|
181
|
-
setUpLoadableComponent(this);
|
182
|
-
await setUpMessages(this);
|
183
|
-
}
|
184
|
-
disconnectedCallback() {
|
185
|
-
var _a, _b;
|
186
|
-
(_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
187
|
-
(_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
|
188
|
-
disconnectConditionalSlotComponent(this);
|
189
|
-
disconnectLocalized(this);
|
190
|
-
disconnectMessages(this);
|
191
|
-
}
|
192
|
-
// --------------------------------------------------------------------------
|
193
|
-
//
|
194
|
-
// Methods
|
195
|
-
//
|
196
|
-
// --------------------------------------------------------------------------
|
197
|
-
/**
|
198
|
-
* Overflows actions that won't fit into menus.
|
199
|
-
*
|
200
|
-
* @internal
|
201
|
-
*/
|
202
|
-
async overflowActions() {
|
203
|
-
this.resize({ width: this.el.clientWidth, height: this.el.clientHeight });
|
204
|
-
}
|
205
|
-
/**
|
206
|
-
* Sets focus on the component's first focusable element.
|
207
|
-
*/
|
208
|
-
async setFocus() {
|
209
|
-
await componentFocusable(this);
|
210
|
-
focusFirstTabbable(this.el);
|
211
|
-
}
|
212
|
-
updateGroups() {
|
213
|
-
this.setGroupLayout(Array.from(this.el.querySelectorAll("calcite-action-group")));
|
214
|
-
}
|
215
|
-
setGroupLayout(groups) {
|
216
|
-
groups.forEach((group) => (group.layout = this.layout));
|
217
|
-
}
|
218
|
-
// --------------------------------------------------------------------------
|
219
|
-
//
|
220
|
-
// Render Methods
|
221
|
-
//
|
222
|
-
// --------------------------------------------------------------------------
|
223
|
-
renderBottomActionGroup() {
|
224
|
-
const { expanded, expandDisabled, el, position, toggleExpand, scale, layout, messages } = this;
|
225
|
-
const expandToggleNode = !expandDisabled ? (h(ExpandToggle, { collapseText: messages.collapse, el: el, expandText: messages.expand, expanded: expanded, position: position, scale: scale, toggle: toggleExpand, tooltip: this.expandTooltip,
|
226
|
-
// eslint-disable-next-line react/jsx-sort-props
|
227
|
-
ref: this.setExpandToggleRef })) : null;
|
228
|
-
return (h("calcite-action-group", { class: CSS.actionGroupEnd, hidden: this.expandDisabled && !(this.hasActionsEnd || this.hasBottomActions), layout: layout, scale: scale }, h("slot", { name: SLOTS.actionsEnd, onSlotchange: this.handleActionsEndSlotChange }), h("slot", { name: SLOTS.bottomActions, onSlotchange: this.handleBottomActionsSlotChange }), h("slot", { name: SLOTS.expandTooltip, onSlotchange: this.handleTooltipSlotChange }), expandToggleNode));
|
229
|
-
}
|
230
|
-
render() {
|
231
|
-
return (h(Host, { onCalciteActionMenuOpen: this.actionMenuOpenHandler }, h("slot", { onSlotchange: this.handleDefaultSlotChange }), this.renderBottomActionGroup()));
|
232
|
-
}
|
233
|
-
static get assetsDirs() { return ["assets"]; }
|
234
|
-
get el() { return getElement(this); }
|
235
|
-
static get watchers() { return {
|
236
|
-
"expandDisabled": ["expandHandler"],
|
237
|
-
"expanded": ["expandedHandler"],
|
238
|
-
"layout": ["layoutHandler"],
|
239
|
-
"overflowActionsDisabled": ["overflowDisabledHandler"],
|
240
|
-
"messageOverrides": ["onMessagesChange"],
|
241
|
-
"effectiveLocale": ["effectiveLocaleChange"]
|
242
|
-
}; }
|
243
|
-
};
|
244
|
-
ActionBar.style = actionBarCss;
|
245
|
-
|
246
|
-
export { ActionBar as calcite_action_bar };
|