@esri/solutions-components 0.10.46 → 0.10.48
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/{ExpandToggle-2cdd9a8e.js → ExpandToggle-c5e409ce.js} +5 -5
- package/dist/cjs/{FloatingArrow-91a71a80.js → FloatingArrow-c2b50d47.js} +1 -1
- package/dist/cjs/{Heading-a3e36113.js → Heading-3e2d46fd.js} +1 -1
- package/dist/cjs/{Validation-55fc2417.js → Validation-c065b988.js} +1 -1
- package/dist/cjs/{app-globals-3ff4b752.js → app-globals-09eb9eb5.js} +5 -5
- package/dist/cjs/{ar-76c21e64.js → ar-0afb390b.js} +20 -20
- package/dist/cjs/{array-286e5a3b.js → array-a8a57676.js} +1 -1
- package/dist/cjs/{bg-14c9b066.js → bg-b1be4ef3.js} +20 -20
- package/dist/cjs/{browser-333a21c5.js → browser-0bedacf5.js} +1 -1
- package/dist/cjs/{bs-af03a828.js → bs-a314390f.js} +20 -20
- package/dist/cjs/buffer-tools_3.cjs.entry.js +4 -4
- package/dist/cjs/{ca-ae8e24ac.js → ca-b8e89e47.js} +20 -20
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action-bar.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action-group.cjs.entry.js +12 -12
- package/dist/cjs/calcite-action-menu_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-action-pad_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-action_2.cjs.entry.js +20 -20
- package/dist/cjs/calcite-alert_6.cjs.entry.js +17 -17
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block-section.cjs.entry.js +10 -10
- package/dist/cjs/calcite-block_5.cjs.entry.js +48 -28
- package/dist/cjs/calcite-button.cjs.entry.js +14 -14
- package/dist/cjs/calcite-card-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-card.cjs.entry.js +11 -11
- package/dist/cjs/calcite-carousel_2.cjs.entry.js +14 -14
- package/dist/cjs/calcite-checkbox.cjs.entry.js +11 -11
- package/dist/cjs/calcite-chip-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-chip_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +12 -12
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +24 -24
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +13 -13
- package/dist/cjs/calcite-dialog.cjs.entry.js +22 -17
- package/dist/cjs/calcite-dropdown_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_5.cjs.entry.js +18 -18
- package/dist/cjs/calcite-flow_4.cjs.entry.js +4 -4
- package/dist/cjs/calcite-graph_2.cjs.entry.js +15 -15
- package/dist/cjs/calcite-icon_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +13 -13
- package/dist/cjs/calcite-input-number.cjs.entry.js +16 -16
- package/dist/cjs/calcite-input-text.cjs.entry.js +16 -16
- package/dist/cjs/{calcite-input-time-picker-74396a94.js → calcite-input-time-picker-42ed419f.js} +64 -64
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +20 -20
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +21 -21
- package/dist/cjs/calcite-input_2.cjs.entry.js +16 -16
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-menu-item.cjs.entry.js +10 -10
- package/dist/cjs/calcite-menu.cjs.entry.js +9 -9
- package/dist/cjs/calcite-meter.cjs.entry.js +10 -10
- package/dist/cjs/calcite-modal.cjs.entry.js +16 -16
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +4 -4
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +3 -3
- package/dist/cjs/calcite-navigation.cjs.entry.js +6 -6
- package/dist/cjs/calcite-notice.cjs.entry.js +15 -15
- package/dist/cjs/calcite-option_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +12 -12
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +10 -10
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +15 -15
- package/dist/cjs/calcite-pick-list.cjs.entry.js +13 -13
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +11 -11
- package/dist/cjs/calcite-rating.cjs.entry.js +14 -14
- package/dist/cjs/calcite-scrim.cjs.entry.js +9 -9
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-sheet.cjs.entry.js +10 -10
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +23 -9
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +29 -29
- package/dist/cjs/calcite-shell.cjs.entry.js +7 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +8 -8
- package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
- package/dist/cjs/calcite-stepper-item.cjs.entry.js +11 -11
- package/dist/cjs/calcite-stepper.cjs.entry.js +10 -10
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -11
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +7 -7
- package/dist/cjs/calcite-table.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +16 -16
- package/dist/cjs/calcite-tile-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-tile-select.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
- package/dist/cjs/calcite-time-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tip-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +12 -12
- package/dist/cjs/calcite-tip.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tooltip.cjs.entry.js +10 -10
- package/dist/cjs/calcite-tree_2.cjs.entry.js +10 -10
- package/dist/cjs/{component-5d190962.js → component-65f2fe4b.js} +1 -1
- package/dist/cjs/{conditionalSlot-37ff4832.js → conditionalSlot-003e6975.js} +2 -2
- package/dist/cjs/{config-e76d9931.js → config-2282fdac.js} +1 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +60 -3
- package/dist/cjs/{cs-5c693156.js → cs-f14626e8.js} +20 -20
- package/dist/cjs/{da-1a406d67.js → da-2fce32d4.js} +20 -20
- package/dist/cjs/{date-bb8f971c.js → date-e763caec.js} +2 -2
- package/dist/cjs/{de-11376da8.js → de-2c1fce6f.js} +20 -20
- package/dist/cjs/{de-at-a7437de2.js → de-at-94de293d.js} +20 -20
- package/dist/cjs/{de-ch-862dfe8d.js → de-ch-d42f4faf.js} +20 -20
- package/dist/cjs/{dom-795d4a33.js → dom-e11b7daf.js} +3 -3
- package/dist/cjs/{el-69fd471f.js → el-8092eeb9.js} +20 -20
- package/dist/cjs/{en-au-4af4c244.js → en-au-9bc4467f.js} +20 -20
- package/dist/cjs/{en-ca-dd0f74b8.js → en-ca-d9140239.js} +20 -20
- package/dist/cjs/{en-gb-d9916a0a.js → en-gb-f5e2af8e.js} +20 -20
- package/dist/cjs/{es-b96f4aa7.js → es-4b6327d7.js} +20 -20
- package/dist/cjs/{es-mx-7ce9a959.js → es-mx-f729412a.js} +20 -20
- package/dist/cjs/{et-ed1f6381.js → et-ec115eb3.js} +20 -20
- package/dist/cjs/{fi-16433386.js → fi-95701850.js} +20 -20
- package/dist/cjs/{filter-e600c2fe.js → filter-899cda85.js} +1 -1
- package/dist/cjs/{floating-ui-0f85d59c.js → floating-ui-a8693586.js} +4 -4
- package/dist/cjs/{focusTrapComponent-b19fd5d5.js → focusTrapComponent-48fdd3f6.js} +3 -3
- package/dist/cjs/{form-6dd8050a.js → form-a36bd0e5.js} +2 -2
- package/dist/cjs/{fr-ch-368648e3.js → fr-ch-a231f229.js} +20 -20
- package/dist/cjs/{fr-32b252ad.js → fr-e22a2684.js} +20 -20
- package/dist/cjs/{guid-e84a8375.js → guid-d99f21fe.js} +1 -1
- package/dist/cjs/{he-d139901b.js → he-d0070eb9.js} +20 -20
- package/dist/cjs/{hi-ba5e377e.js → hi-04615e27.js} +20 -20
- package/dist/cjs/{hr-87b5a9d8.js → hr-27fefb6d.js} +20 -20
- package/dist/cjs/{hu-3b80d082.js → hu-63da9819.js} +20 -20
- package/dist/cjs/{id-09dfbe6e.js → id-d4fe65cd.js} +20 -20
- package/dist/cjs/{index-89a62dc9.js → index-0b0f3737.js} +3 -3
- package/dist/cjs/{index-c134f2f6.js → index-b4e2f888.js} +3 -3
- package/dist/cjs/{index-0fb00064.js → index-fedf53b1.js} +2 -2
- package/dist/cjs/{input-8c28213d.js → input-ce93953f.js} +1 -1
- package/dist/cjs/instant-apps-export.cjs.entry.js +18 -5
- package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +5 -6
- package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +13 -6
- package/dist/cjs/instant-apps-time-filter.cjs.entry.js +7 -12
- package/dist/cjs/{interactive-a128ac30.js → interactive-7ccdd728.js} +1 -1
- package/dist/cjs/{it-da71aa25.js → it-418a53bf.js} +20 -20
- package/dist/cjs/{it-ch-00a4c4b4.js → it-ch-7f4632ab.js} +20 -20
- package/dist/cjs/{ja-c3519ced.js → ja-6c5d5c7d.js} +20 -20
- package/dist/cjs/{key-47c9469a.js → key-cdfc85aa.js} +1 -1
- package/dist/cjs/{ko-ea8cd08b.js → ko-e4154b91.js} +20 -20
- package/dist/cjs/{label-726fc287.js → label-e18f62c9.js} +3 -3
- package/dist/cjs/{loadable-1c888c87.js → loadable-f3fe73a2.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-da840314.js → locale-7eb2f603.js} +5 -5
- package/dist/cjs/{logger-f177776b.js → logger-912d7f26.js} +2 -2
- package/dist/cjs/{lt-4e8161c8.js → lt-d6dae6fd.js} +20 -20
- package/dist/cjs/{lv-b976ad37.js → lv-bcf9724a.js} +20 -20
- package/dist/cjs/{math-089392ef.js → math-34746601.js} +1 -1
- package/dist/cjs/{mk-e2ea18b4.js → mk-171505d2.js} +20 -20
- package/dist/cjs/{nb-d81f921b.js → nb-0dcee19c.js} +20 -20
- package/dist/cjs/{nl-7249cded.js → nl-dace5864.js} +20 -20
- package/dist/cjs/{observers-18d87cb5.js → observers-affd684f.js} +2 -2
- package/dist/cjs/{openCloseComponent-3c540d25.js → openCloseComponent-044883e4.js} +2 -2
- package/dist/cjs/{pl-d93521bd.js → pl-7755a609.js} +20 -20
- package/dist/cjs/{pt-bf297919.js → pt-3121cc39.js} +20 -20
- package/dist/cjs/{pt-br-2c9c4ba2.js → pt-br-67b16e3a.js} +20 -20
- package/dist/cjs/{region-26804632.js → region-7f262d75.js} +1 -1
- package/dist/cjs/{resources-cf1791da.js → resources-1454138b.js} +1 -1
- package/dist/cjs/{resources-9c07e2ea.js → resources-18358747.js} +1 -1
- package/dist/cjs/{resources-b3dc59f7.js → resources-2392e12e.js} +1 -1
- package/dist/cjs/{resources-eeda5acf.js → resources-23a86b54.js} +1 -1
- package/dist/cjs/{resources-f895ff54.js → resources-2ae05f17.js} +1 -1
- package/dist/cjs/{resources-535f936c.js → resources-392a021f.js} +1 -1
- package/dist/cjs/{resources-388efec5.js → resources-51c2cde3.js} +1 -1
- package/dist/cjs/{resources-18f799c7.js → resources-6c04ccee.js} +1 -1
- package/dist/cjs/{resources-f9ab74c4.js → resources-72fc2b95.js} +1 -1
- package/dist/cjs/{resources-7aaf489b.js → resources-9b6cf400.js} +1 -1
- package/dist/cjs/{responsive-a61585b1.js → responsive-9d6c09ff.js} +1 -1
- package/dist/cjs/{ro-b770ba3d.js → ro-7f726306.js} +20 -20
- package/dist/cjs/{ru-f70d0afe.js → ru-fc11963d.js} +20 -20
- package/dist/cjs/{shared-list-render-546c7296.js → shared-list-render-3d6ec3ca.js} +7 -7
- package/dist/cjs/{sk-67e2fd96.js → sk-e85b9c15.js} +20 -20
- package/dist/cjs/{sl-cf79e6c6.js → sl-9eb375c2.js} +20 -20
- package/dist/cjs/solutions-components.cjs.js +5 -5
- package/dist/cjs/{sortableComponent-5dfc7ff8.js → sortableComponent-6983a0f0.js} +1 -1
- package/dist/cjs/{sr-02a5153e.js → sr-1d2513be.js} +20 -20
- package/dist/cjs/{sv-1c32f9ba.js → sv-f7693c9f.js} +20 -20
- package/dist/cjs/{t9n-ed5c03a7.js → t9n-64df74f3.js} +3 -3
- package/dist/cjs/{th-ddd7073f.js → th-0d2328bb.js} +20 -20
- package/dist/cjs/{time-a92ca33f.js → time-513586eb.js} +3 -3
- package/dist/cjs/{time-zones-a7e83971.js → time-zones-bb3f09ac.js} +1 -1
- package/dist/cjs/{tr-31fcd3f7.js → tr-2c074411.js} +20 -20
- package/dist/cjs/{uk-a0f9e2bc.js → uk-5e16db67.js} +20 -20
- package/dist/cjs/{utils-51a793a5.js → utils-5f5839d7.js} +2 -2
- package/dist/cjs/{utils-7e5609ab.js → utils-d0049d76.js} +5 -4
- package/dist/cjs/{vi-d484e1b9.js → vi-2a4d8334.js} +20 -20
- package/dist/cjs/{zh-cn-3d843268.js → zh-cn-126bcbc0.js} +20 -20
- package/dist/cjs/{zh-hk-4aacd6d2.js → zh-hk-aeeba861.js} +20 -20
- package/dist/cjs/{zh-tw-cbd770ad.js → zh-tw-0cfb6e20.js} +20 -20
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +93 -2
- package/dist/collection/demos/crowdsource-reporter.html +267 -266
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/Validation.js +1 -1
- package/dist/components/accordion-item.js +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/action-bar.js +1 -1
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action-pad.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +2 -2
- package/dist/components/block.js +1 -1
- package/dist/components/browser.js +1 -1
- package/dist/components/button.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-dialog.js +8 -3
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input-time-zone.js +2 -2
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-menu-item.js +1 -1
- package/dist/components/calcite-meter.js +1 -1
- package/dist/components/calcite-navigation-logo.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-sheet.js +1 -1
- package/dist/components/calcite-shell-center-row.js +16 -3
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +2 -2
- package/dist/components/calcite-table-row.js +1 -1
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/carousel-item.js +1 -1
- package/dist/components/carousel.js +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item-group.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +5 -5
- package/dist/components/component.js +1 -1
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/config.js +1 -1
- package/dist/components/crowdsource-reporter.js +65 -5
- package/dist/components/date-picker-month-header.js +1 -1
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +1 -1
- package/dist/components/dom.js +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +1 -1
- package/dist/components/flow-item.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/focusTrapComponent.js +1 -1
- package/dist/components/form.js +1 -1
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +2 -2
- package/dist/components/index.js +2 -2
- package/dist/components/input-date-picker.js +2 -2
- package/dist/components/input-message.js +1 -1
- package/dist/components/input-number.js +1 -1
- package/dist/components/input-text.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input2.js +1 -1
- package/dist/components/instant-apps-export.js +18 -5
- package/dist/components/instant-apps-filter-list2.js +23 -2
- package/dist/components/instant-apps-language-switcher.js +5 -6
- package/dist/components/instant-apps-scoreboard.js +14 -6
- package/dist/components/instant-apps-time-filter.js +7 -12
- package/dist/components/interactive.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/list.js +1 -1
- package/dist/components/loadable.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale2.js +2 -2
- package/dist/components/logger.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/modal.js +1 -1
- package/dist/components/navigation-user.js +1 -1
- package/dist/components/notice.js +2 -2
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/panel.js +2 -2
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/radio-button.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/resources4.js +1 -1
- package/dist/components/resources5.js +1 -1
- package/dist/components/resources6.js +1 -1
- package/dist/components/responsive.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/segmented-control-item.js +1 -1
- package/dist/components/segmented-control.js +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/shell-panel.js +1 -1
- package/dist/components/shell.js +1 -1
- package/dist/components/slider.js +1 -1
- package/dist/components/sortableComponent.js +1 -1
- package/dist/components/stack.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -1
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/table-cell.js +1 -1
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tree-item.js +1 -1
- package/dist/components/tree.js +1 -1
- package/dist/components/utils.js +2 -2
- package/dist/components/utils2.js +3 -2
- package/dist/components/utils3.js +1 -1
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +2 -2
- package/dist/esm/{ExpandToggle-4d440eb0.js → ExpandToggle-d2cde0b5.js} +5 -5
- package/dist/esm/{FloatingArrow-4f645ccd.js → FloatingArrow-1ba04e83.js} +1 -1
- package/dist/esm/{Heading-80b3be96.js → Heading-82d9e017.js} +1 -1
- package/dist/esm/{Validation-cf136c56.js → Validation-594a63f5.js} +1 -1
- package/dist/esm/{app-globals-4aab2132.js → app-globals-177bd1cd.js} +5 -5
- package/dist/esm/{ar-d4e9c6ca.js → ar-a85b5d05.js} +20 -20
- package/dist/esm/{array-0e780f6f.js → array-e540e707.js} +1 -1
- package/dist/esm/{bg-e7db3070.js → bg-def28c6d.js} +20 -20
- package/dist/esm/{browser-b67d8df6.js → browser-e3f463e1.js} +1 -1
- package/dist/esm/{bs-154d0540.js → bs-86bb2bcb.js} +20 -20
- package/dist/esm/buffer-tools_3.entry.js +4 -4
- package/dist/esm/{ca-403d9586.js → ca-823e6ba8.js} +20 -20
- package/dist/esm/calcite-accordion_2.entry.js +10 -10
- package/dist/esm/calcite-action-bar.entry.js +14 -14
- package/dist/esm/calcite-action-group.entry.js +12 -12
- package/dist/esm/calcite-action-menu_2.entry.js +16 -16
- package/dist/esm/calcite-action-pad_2.entry.js +14 -14
- package/dist/esm/calcite-action_2.entry.js +20 -20
- package/dist/esm/calcite-alert_6.entry.js +17 -17
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block-section.entry.js +10 -10
- package/dist/esm/calcite-block_5.entry.js +48 -28
- package/dist/esm/calcite-button.entry.js +14 -14
- package/dist/esm/calcite-card-group.entry.js +6 -6
- package/dist/esm/calcite-card.entry.js +11 -11
- package/dist/esm/calcite-carousel_2.entry.js +14 -14
- package/dist/esm/calcite-checkbox.entry.js +11 -11
- package/dist/esm/calcite-chip-group.entry.js +6 -6
- package/dist/esm/calcite-chip_2.entry.js +16 -16
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +12 -12
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
- package/dist/esm/calcite-combobox_3.entry.js +24 -24
- package/dist/esm/calcite-date-picker-day_3.entry.js +13 -13
- package/dist/esm/calcite-dialog.entry.js +22 -17
- package/dist/esm/calcite-dropdown_2.entry.js +13 -13
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_5.entry.js +18 -18
- package/dist/esm/calcite-flow_4.entry.js +4 -4
- package/dist/esm/calcite-graph_2.entry.js +15 -15
- package/dist/esm/calcite-icon_2.entry.js +10 -10
- package/dist/esm/calcite-inline-editable.entry.js +13 -13
- package/dist/esm/calcite-input-number.entry.js +16 -16
- package/dist/esm/calcite-input-text.entry.js +16 -16
- package/dist/esm/{calcite-input-time-picker-cc675f33.js → calcite-input-time-picker-c45e1964.js} +64 -64
- package/dist/esm/calcite-input-time-picker.entry.js +20 -20
- package/dist/esm/calcite-input-time-zone.entry.js +21 -21
- package/dist/esm/calcite-input_2.entry.js +16 -16
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +3 -3
- package/dist/esm/calcite-menu-item.entry.js +10 -10
- package/dist/esm/calcite-menu.entry.js +9 -9
- package/dist/esm/calcite-meter.entry.js +10 -10
- package/dist/esm/calcite-modal.entry.js +16 -16
- package/dist/esm/calcite-navigation-logo.entry.js +4 -4
- package/dist/esm/calcite-navigation-user.entry.js +3 -3
- package/dist/esm/calcite-navigation.entry.js +6 -6
- package/dist/esm/calcite-notice.entry.js +15 -15
- package/dist/esm/calcite-option_2.entry.js +12 -12
- package/dist/esm/calcite-pagination.entry.js +12 -12
- package/dist/esm/calcite-pick-list-group.entry.js +10 -10
- package/dist/esm/calcite-pick-list-item.entry.js +15 -15
- package/dist/esm/calcite-pick-list.entry.js +13 -13
- package/dist/esm/calcite-radio-button-group.entry.js +8 -8
- package/dist/esm/calcite-radio-button.entry.js +11 -11
- package/dist/esm/calcite-rating.entry.js +14 -14
- package/dist/esm/calcite-scrim.entry.js +9 -9
- package/dist/esm/calcite-segmented-control_2.entry.js +12 -12
- package/dist/esm/calcite-sheet.entry.js +10 -10
- package/dist/esm/calcite-shell-center-row.entry.js +23 -9
- package/dist/esm/calcite-shell-panel_14.entry.js +29 -29
- package/dist/esm/calcite-shell.entry.js +7 -7
- package/dist/esm/calcite-sortable-list.entry.js +8 -8
- package/dist/esm/calcite-split-button.entry.js +4 -4
- package/dist/esm/calcite-stepper-item.entry.js +11 -11
- package/dist/esm/calcite-stepper.entry.js +10 -10
- package/dist/esm/calcite-switch.entry.js +11 -11
- package/dist/esm/calcite-table-cell_2.entry.js +13 -13
- package/dist/esm/calcite-table-row.entry.js +7 -7
- package/dist/esm/calcite-table.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +16 -16
- package/dist/esm/calcite-tile-group.entry.js +7 -7
- package/dist/esm/calcite-tile-select-group.entry.js +3 -3
- package/dist/esm/calcite-tile-select.entry.js +7 -7
- package/dist/esm/calcite-tile.entry.js +7 -7
- package/dist/esm/calcite-time-picker.entry.js +13 -13
- package/dist/esm/calcite-tip-group.entry.js +2 -2
- package/dist/esm/calcite-tip-manager.entry.js +12 -12
- package/dist/esm/calcite-tip.entry.js +13 -13
- package/dist/esm/calcite-tooltip.entry.js +10 -10
- package/dist/esm/calcite-tree_2.entry.js +10 -10
- package/dist/esm/{component-83541c88.js → component-09697fb8.js} +1 -1
- package/dist/esm/{conditionalSlot-8a0b08ef.js → conditionalSlot-720a3c33.js} +2 -2
- package/dist/esm/{config-16813c92.js → config-3af0e436.js} +1 -1
- package/dist/esm/crowdsource-reporter.entry.js +60 -3
- package/dist/esm/{cs-4687cf9f.js → cs-87414fd8.js} +20 -20
- package/dist/esm/{da-27cb521d.js → da-f7060594.js} +20 -20
- package/dist/esm/{date-4fc03f44.js → date-8f6c3f50.js} +2 -2
- package/dist/esm/{de-1fcb8b55.js → de-18aa2195.js} +20 -20
- package/dist/esm/{de-at-621e3161.js → de-at-00f0ce55.js} +20 -20
- package/dist/esm/{de-ch-dbe106ba.js → de-ch-2bf886c0.js} +20 -20
- package/dist/esm/{dom-75c641a7.js → dom-6f6759df.js} +3 -3
- package/dist/esm/{el-60cb7e8e.js → el-0c5df4ce.js} +20 -20
- package/dist/esm/{en-au-6b31eadf.js → en-au-947d067e.js} +20 -20
- package/dist/esm/{en-ca-c62e2c29.js → en-ca-d80eb647.js} +20 -20
- package/dist/esm/{en-gb-7b86a861.js → en-gb-78272f13.js} +20 -20
- package/dist/esm/{es-b048cf9a.js → es-6b8b399b.js} +20 -20
- package/dist/esm/{es-mx-a469d043.js → es-mx-4f12df51.js} +20 -20
- package/dist/esm/{et-09e59731.js → et-11aeba76.js} +20 -20
- package/dist/esm/{fi-98448a04.js → fi-c44d11d6.js} +20 -20
- package/dist/esm/{filter-c0066fe2.js → filter-848e0efa.js} +1 -1
- package/dist/esm/{floating-ui-93b345b1.js → floating-ui-d21020a0.js} +4 -4
- package/dist/esm/{focusTrapComponent-35b3348c.js → focusTrapComponent-1ddc67c5.js} +3 -3
- package/dist/esm/{form-d45062d8.js → form-e9b1ad9a.js} +2 -2
- package/dist/esm/{fr-3a6bc75f.js → fr-cac28d20.js} +20 -20
- package/dist/esm/{fr-ch-dd9aa577.js → fr-ch-a324bd02.js} +20 -20
- package/dist/esm/{guid-b0fb1de3.js → guid-45e997d8.js} +1 -1
- package/dist/esm/{he-510944f3.js → he-eab95e66.js} +20 -20
- package/dist/esm/{hi-b7f35ddc.js → hi-cefe2a7e.js} +20 -20
- package/dist/esm/{hr-91d6e89b.js → hr-f863024d.js} +20 -20
- package/dist/esm/{hu-ab576bec.js → hu-2921d1d5.js} +20 -20
- package/dist/esm/{id-5ebe99df.js → id-4e25c1e7.js} +20 -20
- package/dist/esm/{index-3aaf8d41.js → index-92bcd383.js} +2 -2
- package/dist/esm/{index-46fa2a72.js → index-c8258692.js} +3 -3
- package/dist/esm/{index-19dc829d.js → index-e86ce97a.js} +3 -3
- package/dist/esm/{input-e01adc49.js → input-461c96ef.js} +1 -1
- package/dist/esm/instant-apps-export.entry.js +18 -5
- package/dist/esm/instant-apps-language-switcher.entry.js +5 -6
- package/dist/esm/instant-apps-scoreboard.entry.js +13 -6
- package/dist/esm/instant-apps-time-filter.entry.js +7 -12
- package/dist/esm/{interactive-98ed6b6f.js → interactive-949b348f.js} +1 -1
- package/dist/esm/{it-62f24385.js → it-1f2ce2fc.js} +20 -20
- package/dist/esm/{it-ch-11bc01ef.js → it-ch-fa4f6a28.js} +20 -20
- package/dist/esm/{ja-4073b97b.js → ja-dd6ac9b5.js} +20 -20
- package/dist/esm/{key-e6b442de.js → key-2e7789c2.js} +1 -1
- package/dist/esm/{ko-c1f9c746.js → ko-3c269b4f.js} +20 -20
- package/dist/esm/{label-272c5973.js → label-1ef4763d.js} +3 -3
- package/dist/esm/{loadable-7cb2fc6f.js → loadable-421e634e.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-24516fec.js → locale-a75d14ff.js} +5 -5
- package/dist/esm/{logger-f75712ce.js → logger-5c7a2fec.js} +2 -2
- package/dist/esm/{lt-f293ef90.js → lt-8f5fd3eb.js} +20 -20
- package/dist/esm/{lv-cc60dc4f.js → lv-d1afc7ed.js} +20 -20
- package/dist/esm/{math-d7c8823c.js → math-abbf3537.js} +1 -1
- package/dist/esm/{mk-90d4457e.js → mk-794650fc.js} +20 -20
- package/dist/esm/{nb-3d8eb4cc.js → nb-800989aa.js} +20 -20
- package/dist/esm/{nl-a2e0732f.js → nl-634b9b85.js} +20 -20
- package/dist/esm/{observers-c83631e8.js → observers-2d4fa9e3.js} +2 -2
- package/dist/esm/{openCloseComponent-f642bffd.js → openCloseComponent-4621d4ae.js} +2 -2
- package/dist/esm/{pl-1e1abb9b.js → pl-45fb968c.js} +20 -20
- package/dist/esm/{pt-1bc85b37.js → pt-bd7887a6.js} +20 -20
- package/dist/esm/{pt-br-bd78f1f2.js → pt-br-d9181dce.js} +20 -20
- package/dist/esm/{region-a37e45f7.js → region-9343aba8.js} +1 -1
- package/dist/esm/{resources-c1a8d628.js → resources-2780a851.js} +1 -1
- package/dist/esm/{resources-14a1713f.js → resources-32f19aa5.js} +1 -1
- package/dist/esm/{resources-de1ba6bb.js → resources-3adf06cd.js} +1 -1
- package/dist/esm/{resources-be1618c8.js → resources-833bf39f.js} +1 -1
- package/dist/esm/{resources-aa7bb7b6.js → resources-912401b4.js} +1 -1
- package/dist/esm/{resources-8e2ed936.js → resources-ab131744.js} +1 -1
- package/dist/esm/{resources-35208c6c.js → resources-bc66182e.js} +1 -1
- package/dist/esm/{resources-bc1429eb.js → resources-d81723e9.js} +1 -1
- package/dist/esm/{resources-5956d3f9.js → resources-f6e948a0.js} +1 -1
- package/dist/esm/{resources-29590c8b.js → resources-fa50aa39.js} +1 -1
- package/dist/esm/{responsive-b2be423e.js → responsive-6cfebeae.js} +1 -1
- package/dist/esm/{ro-c1cb4571.js → ro-31fe0dcc.js} +20 -20
- package/dist/esm/{ru-deb7b95b.js → ru-e73bc075.js} +20 -20
- package/dist/esm/{shared-list-render-0d3e719c.js → shared-list-render-83bb7274.js} +7 -7
- package/dist/esm/{sk-e86a1a74.js → sk-e7e24146.js} +20 -20
- package/dist/esm/{sl-4f70ce5c.js → sl-ad96d047.js} +20 -20
- package/dist/esm/solutions-components.js +5 -5
- package/dist/esm/{sortableComponent-7f184466.js → sortableComponent-55f7a145.js} +1 -1
- package/dist/esm/{sr-bcde0bb0.js → sr-785166a3.js} +20 -20
- package/dist/esm/{sv-e585fbb5.js → sv-9f422817.js} +20 -20
- package/dist/esm/{t9n-9a5d28cf.js → t9n-23649a4a.js} +3 -3
- package/dist/esm/{th-f1746070.js → th-7e8b3dad.js} +20 -20
- package/dist/esm/{time-fbe17659.js → time-5ca488ba.js} +3 -3
- package/dist/esm/{time-zones-044d518b.js → time-zones-b8cfef3f.js} +1 -1
- package/dist/esm/{tr-065767bb.js → tr-1b1dd6db.js} +20 -20
- package/dist/esm/{uk-96e72322.js → uk-13d0afbf.js} +20 -20
- package/dist/esm/{utils-b5a6dbcd.js → utils-a564ca55.js} +5 -4
- package/dist/esm/{utils-dadbd166.js → utils-c1c0bd2c.js} +2 -2
- package/dist/esm/{vi-667fe4b6.js → vi-82ec876c.js} +20 -20
- package/dist/esm/{zh-cn-fbbbe429.js → zh-cn-c4181895.js} +20 -20
- package/dist/esm/{zh-hk-d11430a1.js → zh-hk-752cc263.js} +20 -20
- package/dist/esm/{zh-tw-4a1b522b.js → zh-tw-e653ba6c.js} +20 -20
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +6 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +10 -19
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +7 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +5 -6
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
- package/dist/solutions-components/demos/crowdsource-reporter.html +267 -266
- package/dist/solutions-components/{p-6aab07ba.entry.js → p-087c3740.entry.js} +1 -1
- package/dist/solutions-components/{p-4f82eb55.js → p-08c18450.js} +1 -1
- package/dist/solutions-components/{p-ed844e16.entry.js → p-09d34b2b.entry.js} +3 -3
- package/dist/solutions-components/{p-d4f16e41.js → p-0af967af.js} +1 -1
- package/dist/solutions-components/{p-e01d27aa.entry.js → p-0f8241d2.entry.js} +1 -1
- package/dist/solutions-components/{p-d0f16cd3.entry.js → p-10a158fd.entry.js} +2 -2
- package/dist/solutions-components/{p-020143eb.entry.js → p-115af8e4.entry.js} +3 -3
- package/dist/solutions-components/{p-f898b163.js → p-12833b70.js} +1 -1
- package/dist/solutions-components/{p-91e05c99.js → p-13fd4eeb.js} +1 -1
- package/dist/solutions-components/{p-895e7b9c.js → p-177b4cbc.js} +5 -5
- package/dist/solutions-components/p-184b270d.entry.js +11 -0
- package/dist/solutions-components/{p-faf3343c.entry.js → p-191f30e1.entry.js} +2 -2
- package/dist/solutions-components/{p-5e406ad0.entry.js → p-19e89591.entry.js} +3 -3
- package/dist/solutions-components/{p-d3338131.entry.js → p-1afc5947.entry.js} +2 -2
- package/dist/solutions-components/{p-c97472e4.js → p-1b3684d7.js} +1 -1
- package/dist/solutions-components/{p-c9f94a25.js → p-1b59cd94.js} +1 -1
- package/dist/solutions-components/p-1e8af7ed.js +6 -0
- package/dist/solutions-components/{p-a584543f.js → p-1f65aed7.js} +1 -1
- package/dist/solutions-components/{p-2506309d.entry.js → p-1fafdc23.entry.js} +2 -2
- package/dist/solutions-components/{p-33d732d7.entry.js → p-20ed3f7f.entry.js} +2 -2
- package/dist/solutions-components/{p-fc243a76.entry.js → p-25f30972.entry.js} +2 -2
- package/dist/solutions-components/{p-621ad249.js → p-26ba0cc7.js} +2 -2
- package/dist/solutions-components/{p-47f85755.entry.js → p-2714ede8.entry.js} +4 -4
- package/dist/solutions-components/p-294cd25c.js +6 -0
- package/dist/solutions-components/p-2b9f9f7d.js +16 -0
- package/dist/solutions-components/{p-58338ff8.entry.js → p-2d9072d8.entry.js} +3 -3
- package/dist/solutions-components/{p-f966fadb.entry.js → p-2e0aea4e.entry.js} +3 -3
- package/dist/solutions-components/{p-f62b8031.js → p-2e42f34c.js} +1 -1
- package/dist/solutions-components/{p-6e93a997.entry.js → p-2f1ef41d.entry.js} +1 -1
- package/dist/solutions-components/p-368902f1.entry.js +6 -0
- package/dist/solutions-components/{p-60412359.js → p-39e21b70.js} +1 -1
- package/dist/solutions-components/{p-347f341e.js → p-3aee989b.js} +3 -3
- package/dist/solutions-components/{p-2154a0f9.entry.js → p-3af39767.entry.js} +1 -1
- package/dist/solutions-components/{p-91f0f556.entry.js → p-3ba388b6.entry.js} +3 -3
- package/dist/solutions-components/{p-16f52a67.js → p-3e87c19c.js} +1 -1
- package/dist/solutions-components/{p-efdd44e3.js → p-3f9ec755.js} +1 -1
- package/dist/solutions-components/{p-be9a6a87.entry.js → p-4416d650.entry.js} +3 -3
- package/dist/solutions-components/p-443be7fe.js +6 -0
- package/dist/solutions-components/{p-7b8d7eef.entry.js → p-49df6eb3.entry.js} +2 -2
- package/dist/solutions-components/{p-9e862c85.js → p-4a665563.js} +1 -1
- package/dist/solutions-components/{p-24ab8211.entry.js → p-4b15f4a4.entry.js} +2 -2
- package/dist/solutions-components/{p-097bf845.entry.js → p-4b47caf1.entry.js} +3 -3
- package/dist/solutions-components/{p-fae4708b.js → p-4bfecfe9.js} +1 -1
- package/dist/solutions-components/{p-3df0c310.entry.js → p-4d6e359e.entry.js} +2 -2
- package/dist/solutions-components/{p-da2fd30a.js → p-4e3a18b1.js} +1 -1
- package/dist/solutions-components/{p-39678a7e.js → p-4ff35ed4.js} +1 -1
- package/dist/solutions-components/{p-91371f97.js → p-51ab623a.js} +1 -1
- package/dist/solutions-components/{p-7ffa7eae.entry.js → p-545a48dc.entry.js} +3 -3
- package/dist/solutions-components/p-55bbfdbc.entry.js +6 -0
- package/dist/solutions-components/{p-876c3f5f.js → p-55d38454.js} +1 -1
- package/dist/solutions-components/{p-706cddd1.entry.js → p-5804e6e1.entry.js} +7 -7
- package/dist/solutions-components/{p-bb1de7a0.entry.js → p-58cff07f.entry.js} +3 -3
- package/dist/solutions-components/p-592ab45c.js +6 -0
- package/dist/solutions-components/p-5b5b78c0.js +6 -0
- package/dist/solutions-components/{p-72ab74b8.entry.js → p-614a66c4.entry.js} +3 -3
- package/dist/solutions-components/{p-c6dac8d2.js → p-6166d8b4.js} +5 -5
- package/dist/solutions-components/{p-9ff02b5e.js → p-61cc2efe.js} +1 -1
- package/dist/solutions-components/{p-96a983ab.entry.js → p-62c10928.entry.js} +1 -1
- package/dist/solutions-components/{p-3776809a.js → p-63a91fdb.js} +1 -1
- package/dist/solutions-components/p-63d334b2.entry.js +6 -0
- package/dist/solutions-components/{p-144b7a4d.js → p-677db47a.js} +1 -1
- package/dist/solutions-components/p-68375137.js +6 -0
- package/dist/solutions-components/{p-36b864ba.entry.js → p-6acd19c5.entry.js} +2 -2
- package/dist/solutions-components/{p-b3e498bd.js → p-6cad2a22.js} +1 -1
- package/dist/solutions-components/p-7059fc40.js +6 -0
- package/dist/solutions-components/{p-3cfc1e2e.js → p-70e78995.js} +1 -1
- package/dist/solutions-components/p-70eba636.entry.js +6 -0
- package/dist/solutions-components/{p-89334c32.js → p-71f31d39.js} +1 -1
- package/dist/solutions-components/{p-8d59545b.js → p-725a961a.js} +1 -1
- package/dist/solutions-components/{p-49fbb67d.js → p-74720d2b.js} +1 -1
- package/dist/solutions-components/{p-5230c9ff.entry.js → p-764ff506.entry.js} +2 -2
- package/dist/solutions-components/{p-d6902512.js → p-770a5a64.js} +1 -1
- package/dist/solutions-components/{p-15410144.js → p-77469834.js} +1 -1
- package/dist/solutions-components/{p-49ed272d.entry.js → p-77865541.entry.js} +2 -2
- package/dist/solutions-components/{p-0bfef9c6.entry.js → p-78df7603.entry.js} +3 -3
- package/dist/solutions-components/{p-efe845d9.js → p-78e09c03.js} +1 -1
- package/dist/solutions-components/{p-a9742ffc.entry.js → p-7a7951bd.entry.js} +3 -3
- package/dist/solutions-components/p-7cc8e95a.js +11 -0
- package/dist/solutions-components/{p-f746ec20.js → p-7d5d1b0a.js} +2 -2
- package/dist/solutions-components/{p-a02e2069.js → p-7eee9aa8.js} +1 -1
- package/dist/solutions-components/p-7f68e6a4.js +11 -0
- package/dist/solutions-components/{p-143f9e99.entry.js → p-7fb51464.entry.js} +3 -3
- package/dist/solutions-components/{p-8d0d5a69.js → p-80ff858b.js} +1 -1
- package/dist/solutions-components/p-8304ce4b.js +17 -0
- package/dist/solutions-components/{p-c0c6f4b2.js → p-85c068fd.js} +1 -1
- package/dist/solutions-components/{p-ff336351.js → p-85c3237c.js} +2 -2
- package/dist/solutions-components/{p-fb4f7ace.js → p-860099d5.js} +1 -1
- package/dist/solutions-components/{p-dac93fa8.js → p-86a5caf8.js} +1 -1
- package/dist/solutions-components/{p-b5ddeee9.js → p-86db882f.js} +1 -1
- package/dist/solutions-components/{p-e070ef82.entry.js → p-872986ce.entry.js} +3 -3
- package/dist/solutions-components/{p-f76d3cfe.js → p-8a2ccb1e.js} +1 -1
- package/dist/solutions-components/{p-471c6630.js → p-8cb9ecf6.js} +1 -1
- package/dist/solutions-components/{p-5949dd38.js → p-8d811472.js} +1 -1
- package/dist/solutions-components/{p-bb630f8c.entry.js → p-8dc9d5b6.entry.js} +1 -1
- package/dist/solutions-components/{p-40bfb158.entry.js → p-8ff43000.entry.js} +2 -2
- package/dist/solutions-components/{p-96027923.entry.js → p-91a83986.entry.js} +8 -8
- package/dist/solutions-components/{p-cd8e711f.entry.js → p-928f0b5e.entry.js} +1 -1
- package/dist/solutions-components/{p-c7f8b7f0.js → p-93d03bf0.js} +2 -2
- package/dist/solutions-components/p-94e51621.entry.js +6 -0
- package/dist/solutions-components/{p-b13aca6a.js → p-977c099e.js} +1 -1
- package/dist/solutions-components/{p-7b862835.js → p-997afdca.js} +1 -1
- package/dist/solutions-components/{p-89f86585.js → p-9c1a6360.js} +1 -1
- package/dist/solutions-components/{p-6adaac20.js → p-9c5d5171.js} +2 -2
- package/dist/solutions-components/{p-d25fc2c2.js → p-9ce8e34f.js} +2 -2
- package/dist/solutions-components/p-9d86dd68.js +6 -0
- package/dist/solutions-components/{p-7475b8b4.entry.js → p-9e8d7c1d.entry.js} +5 -5
- package/dist/solutions-components/p-9e996faa.js +6 -0
- package/dist/solutions-components/{p-fe58f3f0.entry.js → p-a1473254.entry.js} +2 -2
- package/dist/solutions-components/{p-1effd2f3.entry.js → p-a1ed15b8.entry.js} +3 -3
- package/dist/solutions-components/{p-1c9db4df.entry.js → p-a329f05c.entry.js} +1 -1
- package/dist/solutions-components/{p-af0e57e2.js → p-a3df6501.js} +1 -1
- package/dist/solutions-components/{p-08e9cb30.entry.js → p-a52fa87b.entry.js} +3 -3
- package/dist/solutions-components/{p-353312fc.entry.js → p-a5f6a4b9.entry.js} +6 -6
- package/dist/solutions-components/{p-181ac808.entry.js → p-a6790373.entry.js} +3 -3
- package/dist/solutions-components/{p-96385535.entry.js → p-a693aa25.entry.js} +5 -5
- package/dist/solutions-components/{p-f0c96a6a.js → p-a71250ea.js} +1 -1
- package/dist/solutions-components/{p-bf187297.js → p-a7d249d9.js} +1 -1
- package/dist/solutions-components/p-a7d4b1a4.js +6 -0
- package/dist/solutions-components/{p-f61fdfc6.entry.js → p-ac9c4111.entry.js} +2 -2
- package/dist/solutions-components/{p-3ec0ab00.entry.js → p-acc4d847.entry.js} +2 -2
- package/dist/solutions-components/{p-4a291f79.js → p-ae019e19.js} +1 -1
- package/dist/solutions-components/{p-e93184af.entry.js → p-ae5ea416.entry.js} +1 -1
- package/dist/solutions-components/{p-fa80bc7e.js → p-b138a65e.js} +2 -2
- package/dist/solutions-components/{p-b0b1c672.entry.js → p-b5a5da41.entry.js} +4 -4
- package/dist/solutions-components/{p-daff208e.js → p-b90978d2.js} +1 -1
- package/dist/solutions-components/p-bab47a85.entry.js +29 -0
- package/dist/solutions-components/{p-cf4273a0.js → p-bd35725f.js} +1 -1
- package/dist/solutions-components/{p-61aebbb5.js → p-bd7be7a7.js} +1 -1
- package/dist/solutions-components/{p-3517faab.entry.js → p-be6cd650.entry.js} +2 -2
- package/dist/solutions-components/{p-54a3d9b8.js → p-c0ceb17a.js} +1 -1
- package/dist/solutions-components/p-c2ceb29c.js +6 -0
- package/dist/solutions-components/p-c604728b.js +6 -0
- package/dist/solutions-components/{p-a922f993.entry.js → p-c63451e1.entry.js} +2 -2
- package/dist/solutions-components/{p-2cf41651.entry.js → p-c7f86f73.entry.js} +1 -1
- package/dist/solutions-components/{p-7d974838.js → p-c8ad7a15.js} +1 -1
- package/dist/solutions-components/{p-b10d9165.entry.js → p-c8e22575.entry.js} +6 -6
- package/dist/solutions-components/{p-685091db.js → p-c9422007.js} +1 -1
- package/dist/solutions-components/{p-d751e255.entry.js → p-c9715704.entry.js} +3 -3
- package/dist/solutions-components/p-cb8d90d1.js +11 -0
- package/dist/solutions-components/{p-5f63be31.entry.js → p-cc6f6e41.entry.js} +5 -5
- package/dist/solutions-components/{p-81681ba0.entry.js → p-cdc63710.entry.js} +2 -2
- package/dist/solutions-components/{p-3cadb18d.js → p-cdd08de8.js} +1 -1
- package/dist/solutions-components/{p-8a1a0f9b.entry.js → p-ce7b0b1a.entry.js} +3 -3
- package/dist/solutions-components/p-cf2947f6.entry.js +11 -0
- package/dist/solutions-components/p-d02fb95c.entry.js +17 -0
- package/dist/solutions-components/{p-8cdeed09.entry.js → p-d031cf50.entry.js} +3 -3
- package/dist/solutions-components/{p-3c775d00.js → p-d0ebd10d.js} +1 -1
- package/dist/solutions-components/{p-2ebd8a9b.entry.js → p-d154b5a1.entry.js} +2 -2
- package/dist/solutions-components/{p-2daeb1fe.js → p-d1a979b8.js} +1 -1
- package/dist/solutions-components/{p-b034e287.entry.js → p-d1b2484b.entry.js} +3 -3
- package/dist/solutions-components/{p-549cdc87.entry.js → p-d2c2a105.entry.js} +3 -3
- package/dist/solutions-components/{p-2a6ecaa9.entry.js → p-d390df76.entry.js} +2 -2
- package/dist/solutions-components/{p-296bd1c0.js → p-d3e1cc81.js} +1 -1
- package/dist/solutions-components/p-d4f7a87c.js +6 -0
- package/dist/solutions-components/{p-8d48a13f.js → p-d851b11e.js} +1 -1
- package/dist/solutions-components/{p-d75cf651.entry.js → p-d9d25da8.entry.js} +2 -2
- package/dist/solutions-components/{p-4253e9f1.js → p-d9e9fe80.js} +2 -2
- package/dist/solutions-components/p-d9f3778e.js +6 -0
- package/dist/solutions-components/{p-ec56afaa.js → p-daae2ae7.js} +1 -1
- package/dist/solutions-components/p-ddb37cba.entry.js +11 -0
- package/dist/solutions-components/{p-27bcce86.entry.js → p-df062602.entry.js} +3 -3
- package/dist/solutions-components/{p-e799935e.js → p-e2fd2e29.js} +1 -1
- package/dist/solutions-components/{p-5d8592e0.js → p-e3111b70.js} +1 -1
- package/dist/solutions-components/{p-745efeab.js → p-e37e117f.js} +1 -1
- package/dist/solutions-components/{p-b90ed430.entry.js → p-e4be63b6.entry.js} +2 -2
- package/dist/solutions-components/p-e4e7add2.js +11 -0
- package/dist/solutions-components/{p-44d04914.entry.js → p-e93a531c.entry.js} +2 -2
- package/dist/solutions-components/p-e9a0d2f3.entry.js +6 -0
- package/dist/solutions-components/{p-233f219c.js → p-ec51378a.js} +1 -1
- package/dist/solutions-components/{p-54e5a55d.js → p-ee3c41d6.js} +1 -1
- package/dist/solutions-components/{p-1862084a.entry.js → p-ee487e75.entry.js} +3 -3
- package/dist/solutions-components/{p-7d542581.js → p-eed08718.js} +1 -1
- package/dist/solutions-components/{p-72522a67.js → p-ef773a13.js} +1 -1
- package/dist/solutions-components/p-f09744aa.entry.js +6 -0
- package/dist/solutions-components/{p-e7acd771.entry.js → p-f3119757.entry.js} +2 -2
- package/dist/solutions-components/{p-67e7f047.entry.js → p-f5789e08.entry.js} +8 -8
- package/dist/solutions-components/{p-1fc9919b.entry.js → p-f6cc1cf8.entry.js} +5 -5
- package/dist/solutions-components/{p-7fdb374f.js → p-f845da58.js} +1 -1
- package/dist/solutions-components/{p-8f556cfc.entry.js → p-fbf63d14.entry.js} +1 -1
- package/dist/solutions-components/{p-13d2e3cb.js → p-fc7c88c8.js} +1 -1
- package/dist/solutions-components/{p-27a4a537.js → p-fd019d15.js} +2 -2
- package/dist/solutions-components/{p-ea822f6e.js → p-fd40d066.js} +1 -1
- package/dist/solutions-components/{p-4bb08a47.entry.js → p-febf9f75.entry.js} +2 -2
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +21 -0
- package/dist/types/components.d.ts +4 -0
- package/package.json +12 -12
- package/dist/solutions-components/p-017f63c5.js +0 -6
- package/dist/solutions-components/p-0374291c.js +0 -6
- package/dist/solutions-components/p-086f8bbb.js +0 -6
- package/dist/solutions-components/p-1726f46c.js +0 -6
- package/dist/solutions-components/p-2291bf3f.entry.js +0 -6
- package/dist/solutions-components/p-2bb1b8a8.entry.js +0 -6
- package/dist/solutions-components/p-319f79c2.js +0 -6
- package/dist/solutions-components/p-347fa724.js +0 -6
- package/dist/solutions-components/p-45ab1117.entry.js +0 -11
- package/dist/solutions-components/p-5d2cd0a4.js +0 -11
- package/dist/solutions-components/p-5e25a0b8.js +0 -11
- package/dist/solutions-components/p-5e694bcc.entry.js +0 -29
- package/dist/solutions-components/p-5f6d9950.js +0 -6
- package/dist/solutions-components/p-6e5ea1cb.entry.js +0 -6
- package/dist/solutions-components/p-713949f2.js +0 -6
- package/dist/solutions-components/p-7cc351f6.js +0 -6
- package/dist/solutions-components/p-866cc732.js +0 -6
- package/dist/solutions-components/p-8ac08cc3.entry.js +0 -17
- package/dist/solutions-components/p-8e0a95ff.js +0 -16
- package/dist/solutions-components/p-904a670f.js +0 -6
- package/dist/solutions-components/p-93b87dd4.entry.js +0 -11
- package/dist/solutions-components/p-986dd5b2.js +0 -17
- package/dist/solutions-components/p-9f98f213.js +0 -6
- package/dist/solutions-components/p-ad9d1221.js +0 -11
- package/dist/solutions-components/p-b658f264.js +0 -6
- package/dist/solutions-components/p-c64d61d9.entry.js +0 -6
- package/dist/solutions-components/p-cb27611e.entry.js +0 -6
- package/dist/solutions-components/p-d4e07230.entry.js +0 -11
- package/dist/solutions-components/p-efaa77a0.js +0 -11
- package/dist/solutions-components/p-f4880179.entry.js +0 -6
- package/dist/solutions-components/p-fca48d30.entry.js +0 -6
- package/dist/solutions-components/p-fdbb52ca.js +0 -6
- /package/dist/cjs/{index-c44fa2e4.js → index-04255c05.js} +0 -0
- /package/dist/cjs/{index-p4VH55K1-8a6a97cb.js → index-p4VH55K1-3ec8b213.js} +0 -0
- /package/dist/esm/{index-8fda18f5.js → index-87ec7c0a.js} +0 -0
- /package/dist/esm/{index-p4VH55K1-881b80d8.js → index-p4VH55K1-c28a3519.js} +0 -0
- /package/dist/solutions-components/{p-794d1b98.js → p-1a3181c3.js} +0 -0
- /package/dist/solutions-components/{p-065e678f.js → p-6ae916a3.js} +0 -0
- /package/dist/solutions-components/{p-33ff2b9e.js → p-fc17754b.js} +0 -0
@@ -3,27 +3,27 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as e,h as i,g as s,H as n}from"./p-4e6eb06e.js";import{f as a}from"./p-
|
6
|
+
import{r as t,c as e,h as i,g as s,H as n}from"./p-4e6eb06e.js";import{f as a}from"./p-12833b70.js";import{u as o,I as c}from"./p-770a5a64.js";import{s as l,a as r,c as d}from"./p-7f68e6a4.js";import{c as h,d as f,n as u}from"./p-177b4cbc.js";import{u as p,s as b,c as g,d as m}from"./p-cb8d90d1.js";import{D as v}from"./p-51ab623a.js";import{d as y}from"./p-c8d3207e.js";import{t as x,s as C,F as k,g as w}from"./p-26ba0cc7.js";import{c as I}from"./p-85c3237c.js";import{M as L,a as S,I as z,C as D,S as E}from"./p-cdd08de8.js";import{i as A}from"./p-08c18450.js";import{d as F,c as P}from"./p-9c1a6360.js";import"./p-ec51378a.js";import"./p-eed08718.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.
|
11
|
-
*/const M=class{constructor(i){t(this,i),this.calciteFilterChange=e(this,"calciteFilterChange",6),this.filterDebounced=y(((t,e=!1,i)=>this.updateFiltered(a(this.items??[],t,this.filterProps),e,i)),v.filter),this.inputHandler=t=>{const e=t.target;this.value=e.value,this.filterDebounced(e.value,!0)},this.keyDownHandler=t=>{t.defaultPrevented||("Escape"===t.key&&(this.clear(),t.preventDefault()),"Enter"===t.key&&t.preventDefault())},this.clear=()=>{this.value="",this.filterDebounced("",!0),this.setFocus()},this.items=[],this.disabled=!1,this.filteredItems=[],this.filterProps=void 0,this.placeholder=void 0,this.scale="m",this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}watchItemsHandler(){this.filterDebounced(this.value)}filterPropsHandler(){this.filterDebounced(this.value)}onMessagesChange(){}valueHandler(t){this.filterDebounced(t)}effectiveLocaleChange(){p(this,this.effectiveLocale)}async componentWillLoad(){
|
10
|
+
* v2.13.2
|
11
|
+
*/const M=class{constructor(i){t(this,i),this.calciteFilterChange=e(this,"calciteFilterChange",6),this.filterDebounced=y(((t,e=!1,i)=>this.updateFiltered(a(this.items??[],t,this.filterProps),e,i)),v.filter),this.inputHandler=t=>{const e=t.target;this.value=e.value,this.filterDebounced(e.value,!0)},this.keyDownHandler=t=>{t.defaultPrevented||("Escape"===t.key&&(this.clear(),t.preventDefault()),"Enter"===t.key&&t.preventDefault())},this.clear=()=>{this.value="",this.filterDebounced("",!0),this.setFocus()},this.items=[],this.disabled=!1,this.filteredItems=[],this.filterProps=void 0,this.placeholder=void 0,this.scale="m",this.value="",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}watchItemsHandler(){this.filterDebounced(this.value)}filterPropsHandler(){this.filterDebounced(this.value)}onMessagesChange(){}valueHandler(t){this.filterDebounced(t)}effectiveLocaleChange(){p(this,this.effectiveLocale)}async componentWillLoad(){l(this),this.updateFiltered(a(this.items??[],this.value,this.filterProps)),await b(this)}connectedCallback(){h(this),g(this)}componentDidRender(){o(this)}disconnectedCallback(){f(this),m(this),this.filterDebounced.cancel()}componentDidLoad(){r(this)}async filter(t=this.value){return new Promise((e=>{this.value=t,this.filterDebounced(t,!1,e)}))}async setFocus(){return await d(this),this.textInput?.setFocus()}updateFiltered(t,e=!1,i){this.filteredItems=t,e&&this.calciteFilterChange.emit(),i?.()}render(){const{disabled:t,scale:e}=this;return i(c,{key:"c4a624e52409ed90839b506f5d99ab623767260e",disabled:t},i("div",{key:"1f2ef99156489719dd2f938bc5ce8a05185866bf",class:"container"},i("label",{key:"6fe8c6cf73f554908be38299263d23380a4ed089"},i("calcite-input",{key:"6765e00d208d6898221540769865d84aa1c64974",clearable:!0,disabled:t,icon:"search",label:this.messages.label,messageOverrides:{clear:this.messages.clear},onCalciteInputInput:this.inputHandler,onKeyDown:this.keyDownHandler,placeholder:this.placeholder,ref:t=>{this.textInput=t},scale:e,type:"text",value:this.value}))))}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{items:["watchItemsHandler"],filterProps:["filterPropsHandler"],messageOverrides:["onMessagesChange"],value:["valueHandler"],effectiveLocale:["effectiveLocaleChange"]}}};M.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}input[type=text]{margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-color-text-1);padding-inline-end:0.25rem;padding-inline-start:1.5rem;transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:flex;color:var(--calcite-color-text-2);inset-inline-start:0;transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-color-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:flex;cursor:pointer;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-color-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-color-text-1)}:host([hidden]){display:none}[hidden]{display:none}";
|
12
12
|
/*!
|
13
13
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
14
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
-
* v2.13.
|
15
|
+
* v2.13.2
|
16
16
|
*/
|
17
|
-
const j="handle",T="handle--selected",H="{itemLabel}",O=class{constructor(i){t(this,i),this.calciteHandleChange=e(this,"calciteHandleChange",6),this.calciteHandleNudge=e(this,"calciteHandleNudge",6),this.calciteInternalAssistiveTextChange=e(this,"calciteInternalAssistiveTextChange",6),this.handleKeyDown=t=>{if(!this.disabled)switch(t.key){case" ":this.selected=!this.selected,this.calciteHandleChange.emit(),t.preventDefault();break;case"ArrowUp":if(!this.selected)return;t.preventDefault(),this.calciteHandleNudge.emit({direction:"up"});break;case"ArrowDown":if(!this.selected)return;t.preventDefault(),this.calciteHandleNudge.emit({direction:"down"})}},this.handleBlur=()=>{this.blurUnselectDisabled||this.disabled||this.selected&&(this.selected=!1,this.calciteHandleChange.emit())},this.selected=!1,this.disabled=!1,this.dragHandle=void 0,this.messages=void 0,this.setPosition=void 0,this.setSize=void 0,this.label=void 0,this.blurUnselectDisabled=!1,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleAriaTextChange(){const t=this.getAriaText("live");t&&this.calciteInternalAssistiveTextChange.emit({message:t})}onMessagesChange(){}connectedCallback(){g(this),h(this)}async componentWillLoad(){
|
17
|
+
const j="handle",T="handle--selected",H="{itemLabel}",O=class{constructor(i){t(this,i),this.calciteHandleChange=e(this,"calciteHandleChange",6),this.calciteHandleNudge=e(this,"calciteHandleNudge",6),this.calciteInternalAssistiveTextChange=e(this,"calciteInternalAssistiveTextChange",6),this.handleKeyDown=t=>{if(!this.disabled)switch(t.key){case" ":this.selected=!this.selected,this.calciteHandleChange.emit(),t.preventDefault();break;case"ArrowUp":if(!this.selected)return;t.preventDefault(),this.calciteHandleNudge.emit({direction:"up"});break;case"ArrowDown":if(!this.selected)return;t.preventDefault(),this.calciteHandleNudge.emit({direction:"down"})}},this.handleBlur=()=>{this.blurUnselectDisabled||this.disabled||this.selected&&(this.selected=!1,this.calciteHandleChange.emit())},this.selected=!1,this.disabled=!1,this.dragHandle=void 0,this.messages=void 0,this.setPosition=void 0,this.setSize=void 0,this.label=void 0,this.blurUnselectDisabled=!1,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}handleAriaTextChange(){const t=this.getAriaText("live");t&&this.calciteInternalAssistiveTextChange.emit({message:t})}onMessagesChange(){}connectedCallback(){g(this),h(this)}async componentWillLoad(){l(this),await b(this)}componentDidLoad(){r(this)}componentDidRender(){o(this)}disconnectedCallback(){m(this),f(this)}effectiveLocaleChange(){p(this,this.effectiveLocale)}async setFocus(){await d(this),this.handleButton?.focus()}getTooltip(){const{label:t,messages:e}=this;return e?t?e.dragHandle.replace(H,t):e.dragHandleUntitled:""}getAriaText(t){const{setPosition:e,setSize:i,label:s,messages:n,selected:a}=this;return n&&s&&"number"==typeof i&&"number"==typeof e?("label"===t?a?n.dragHandleChange:n.dragHandleIdle:a?n.dragHandleActive:n.dragHandleCommit).replace("{position}",e.toString()).replace(H,s).replace("{total}",i.toString()):null}render(){return i(c,{key:"1a694de393421691c83e7265850275c217ef7ffe",disabled:this.disabled},i("span",{key:"82ff692c15c2d9294ceb814b3f7f06bb4d8ff0e0","aria-checked":this.disabled?null:x(this.selected),"aria-disabled":this.disabled?x(this.disabled):null,"aria-label":this.disabled?null:this.getAriaText("label"),class:{[j]:!0,[T]:!this.disabled&&this.selected},onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:t=>{this.handleButton=t},role:"radio",tabIndex:this.disabled?null:0,title:this.getTooltip()},i("calcite-icon",{key:"25862a953826aea2d594507157aaffc21d07001c",icon:"drag",scale:"s"})))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messages:["handleAriaTextChange"],label:["handleAriaTextChange"],selected:["handleAriaTextChange"],setPosition:["handleAriaTextChange"],setSize:["handleAriaTextChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};O.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.handle{display:flex;align-items:center;justify-content:center;align-self:stretch;border-style:none;outline-color:transparent;color:var(--calcite-handle-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-handle-background-color, transparent);padding-block:0.75rem;padding-inline:0.25rem;line-height:0}.handle calcite-icon{color:inherit}:host(:not([disabled])) .handle{cursor:move}:host(:not([disabled])) .handle:hover{color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-hover, var(--calcite-color-foreground-2))}:host(:not([disabled])) .handle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n );color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1))}:host(:not([disabled])) .handle--selected{color:var(--calcite-handle-icon-color-selected, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-selected, var(--calcite-color-foreground-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";
|
18
18
|
/*!
|
19
19
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
20
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
21
|
-
* v2.13.
|
21
|
+
* v2.13.2
|
22
22
|
*/
|
23
23
|
const R="calcite-list",_="calcite-list-item";function W(t){const e=t.assignedElements({flatten:!0}),i=e.filter((t=>t?.matches("calcite-list-item-group"))).map((t=>Array.from(t.querySelectorAll(_)))).reduce(((t,e)=>[...t,...e]),[]),s=e.filter((t=>t?.matches(_)));return[...e.filter((t=>t?.matches(R))).map((t=>Array.from(t.querySelectorAll(_)))).reduce(((t,e)=>[...t,...e]),[]),...i,...s]}function G(t){t.forEach((e=>{e.setPosition=t.indexOf(e)+1,e.setSize=t.length}))}
|
24
24
|
/*!
|
25
25
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
26
26
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
27
|
-
* v2.13.
|
27
|
+
* v2.13.2
|
28
28
|
*/
|
29
|
-
const K="actions-start",N="actions-end",U="assistive-text",B="calcite-list-item",X=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListDragEnd=e(this,"calciteListDragEnd",6),this.calciteListDragStart=e(this,"calciteListDragStart",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteInternalListDefaultSlotChange=e(this,"calciteInternalListDefaultSlotChange",6),this.dragSelector=B,this.focusableItems=[],this.handleSelector="calcite-handle",this.listItems=[],this.mutationObserver=I("mutation",(()=>this.updateListItems({performFilter:!0}))),this.visibleItems=[],this.handleDefaultSlotChange=t=>{G(W(t.target)),this.parentListEl&&this.calciteInternalListDefaultSlotChange.emit()},this.handleFilterActionsStartSlotChange=t=>{this.hasFilterActionsStart=C(t)},this.handleFilterActionsEndSlotChange=t=>{this.hasFilterActionsEnd=C(t)},this.handleFilterNoResultsSlotChange=t=>{this.hasFilterNoResults=C(t)},this.setActiveListItem=()=>{const{focusableItems:t}=this;t.some((t=>t.active))||t[0]&&(t[0].active=!0)},this.updateSelectedItems=(t=!1)=>{this.selectedItems=this.visibleItems.filter((t=>t.selected)),t&&this.calciteListChange.emit()},this.borderItems=()=>{const t=this.visibleItems.filter((t=>!t.filterHidden&&this.allParentListItemsOpen(t)));t.forEach((e=>e.bordered=e!==t[t.length-1]))},this.updateFilteredItems=(t=!1)=>{const{visibleItems:e,filteredData:i,filterText:s}=this,n=i.map((t=>t.value)),a=e?.filter((t=>e.every((e=>e===t||!t.contains(e))))),o=e.filter((t=>!s||n.includes(t.value)))||[],l=new WeakSet;a.forEach((t=>this.filterElements({el:t,filteredItems:o,visibleParents:l}))),this.filteredItems=o,t&&this.calciteListFilter.emit()},this.setFilterEl=t=>{this.filterEl=t,this.performFilter()},this.handleFilterChange=t=>{t.stopPropagation();const{value:e}=t.currentTarget;this.filterText=e,this.updateFilteredData(!0)},this.getItemData=()=>this.listItems.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value}))),this.updateListItems=y((t=>{const e=t?.emitFilterChange??!1,i=t?.performFilter??!1,{selectionAppearance:s,selectionMode:n,dragEnabled:a,el:o,filterEl:l,filterEnabled:c}=this,r=Array.from(this.el.querySelectorAll(B));r.forEach((t=>{t.selectionAppearance=s,t.selectionMode=n,t.closest("calcite-list")===o&&(t.dragHandle=a)})),this.parentListEl||(this.listItems=r,c&&i&&(this.dataForFilter=this.getItemData(),l&&(l.items=this.dataForFilter,this.filterAndUpdateData())),this.visibleItems=this.listItems.filter((t=>!t.closed&&!t.hidden)),this.updateFilteredItems(e),this.borderItems(),this.focusableItems=this.filteredItems.filter((t=>!t.disabled)),this.setActiveListItem(),this.updateSelectedItems()),this.setUpSorting()}),0),this.focusRow=t=>{const{focusableItems:e}=this;t&&(e.forEach((e=>e.active=e===t)),t.setFocus())},this.isNavigable=t=>{const e=t.parentElement?.closest(B);return!e||e.open&&this.isNavigable(e)},this.handleListKeydown=t=>{if(t.defaultPrevented||this.parentListEl)return;const{key:e}=t,i=this.focusableItems.filter((t=>this.isNavigable(t))),s=i.findIndex((t=>t.active));if("ArrowDown"===e){t.preventDefault();const e=t.target===this.filterEl?0:s+1;i[e]&&this.focusRow(i[e])}else if("ArrowUp"===e){if(t.preventDefault(),0===s&&this.filterEnabled)return void this.filterEl?.setFocus();const e=s-1;i[e]&&this.focusRow(i[e])}else if("Home"===e){t.preventDefault();const e=i[0];e&&this.focusRow(e)}else if("End"===e){t.preventDefault();const e=i[i.length-1];e&&this.focusRow(e)}},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.group=void 0,this.filterEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterPlaceholder=void 0,this.filterText=void 0,this.label=void 0,this.loading=!1,this.filterProps=void 0,this.messageOverrides=void 0,this.messages=void 0,this.numberingSystem=void 0,this.openable=!1,this.selectedItems=[],this.selectionMode="none",this.selectionAppearance="icon",this.effectiveLocale="",this.defaultMessages=void 0,this.assistiveText=void 0,this.dataForFilter=[],this.hasFilterActionsEnd=!1,this.hasFilterActionsStart=!1,this.hasFilterNoResults=!1}async handleFilterTextChange(){this.performFilter()}async handleFilterPropsChange(){this.performFilter()}onMessagesChange(){}handleListItemChange(){this.updateListItems({performFilter:!0})}handleCalciteListItemToggle(t){this.parentListEl||(t.stopPropagation(),this.borderItems())}handleCalciteInternalFocusPreviousItem(t){if(this.parentListEl)return;t.stopPropagation();const{focusableItems:e}=this,i=e.findIndex((t=>t.active))-1;e[i]&&this.focusRow(e[i])}handleCalciteInternalListItemActive(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i}=this;i.forEach((t=>{t.active=t===e}))}handleCalciteListItemSelect(){this.parentListEl||this.updateSelectedItems(!0)}handleCalciteInternalAssistiveTextChange(t){this.assistiveText=t.detail.message,t.stopPropagation()}handleCalciteHandleNudge(t){this.parentListEl||this.handleNudgeEvent(t)}handleCalciteInternalListItemSelect(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i,selectionMode:s}=this;!e.selected||"single"!==s&&"single-persist"!==s||i.forEach((t=>t.selected=t===e)),this.updateSelectedItems()}handleCalciteInternalListItemSelectMultiple(t){if(this.parentListEl)return;t.stopPropagation();const{target:e,detail:i}=t,{focusableItems:s,lastSelectedInfo:n}=this,a=e;if(i.selectMultiple&&n){const t=s.indexOf(a),e=s.indexOf(n.selectedItem),i=Math.min(e,t),o=Math.max(e,t);s.slice(i,o+1).forEach((t=>t.selected=n.selected))}else this.lastSelectedInfo={selectedItem:a,selected:a.selected}}handleCalciteInternalListItemChange(t){this.parentListEl||(t.stopPropagation(),this.updateListItems())}handleCalciteInternalListItemGroupDefaultSlotChange(t){t.stopPropagation()}connectedCallback(){h(this),g(this),this.connectObserver(),this.updateListItems({performFilter:!0}),this.setUpSorting(),this.setParentList()}async componentWillLoad(){c(this),await b(this)}componentDidRender(){o(this)}componentDidLoad(){r(this)}disconnectedCallback(){this.disconnectObserver(),F(this),f(this),m(this)}effectiveLocaleChange(){p(this,this.effectiveLocale)}async setFocus(){return await d(this),this.filterEnabled?this.filterEl?.setFocus():this.focusableItems.find((t=>t.active))?.setFocus()}render(){const{loading:t,label:e,disabled:s,dataForFilter:n,filterEnabled:a,filterPlaceholder:o,filterText:c,filteredItems:r,hasFilterActionsStart:d,hasFilterActionsEnd:h,hasFilterNoResults:f,filterProps:u}=this;return i(l,{key:"c3139afe4fe7c7462578a51a4578971c97473167",disabled:this.disabled},i("div",{key:"5e99dc8b479c35609c5f0318723b3da84ec23ef4",class:"container"},this.dragEnabled?i("span",{"aria-live":"assertive",class:U},this.assistiveText):null,this.renderItemAriaLive(),t?i("calcite-scrim",{class:"scrim",loading:t}):null,i("table",{key:"a31ba050d3141351e491141365e8244ed3ca5303","aria-busy":x(t),"aria-label":e||"",class:"table",onKeyDown:this.handleListKeydown,role:"treegrid"},a||d||h?i("thead",{class:"sticky-pos"},i("tr",null,i("th",{colSpan:L},i("calcite-stack",{class:"stack"},i("slot",{name:"filter-actions-start",onSlotchange:this.handleFilterActionsStartSlotChange,slot:K}),i("calcite-filter",{"aria-label":o,disabled:s,filterProps:u,items:n,onCalciteFilterChange:this.handleFilterChange,placeholder:o,ref:this.setFilterEl,value:c}),i("slot",{name:"filter-actions-end",onSlotchange:this.handleFilterActionsEndSlotChange,slot:N}))))):null,i("tbody",{key:"3ed1b8d9a4387c3ea0f4ff38e5388be35b32d89b",class:"table-container"},i("slot",{key:"712562533b4609749cbff0968bd0a9e77d99758e",onSlotchange:this.handleDefaultSlotChange}))),i("div",{key:"3ff977013e0ca0d58229e1305dca702000d91a99","aria-live":"polite","data-test-id":"no-results-container",hidden:!(f&&a&&c&&!r.length)},i("slot",{key:"7c2bf6389c8b5f4b6f617950e4068baf6b1dc358",name:"filter-no-results",onSlotchange:this.handleFilterNoResultsSlotChange}))))}renderItemAriaLive(){const{messages:t,filteredItems:e,parentListEl:s,effectiveLocale:n,numberingSystem:a,filterEnabled:o,filterText:l,filteredData:c}=this;return u.numberFormatOptions={locale:n,numberingSystem:a},s?null:i("div",{"aria-live":"polite",class:U},o&&l&&c?.length?i("div",{key:"aria-filter-enabled"},t.filterEnabled):null,i("div",{key:"aria-item-count"},t.total.replace("{count}",u.localize(e.length.toString()))),e.length?i("ol",{key:"aria-item-list"},e.map((t=>i("li",null,t.label)))):null)}connectObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){this.mutationObserver?.disconnect()}setUpSorting(){const{dragEnabled:t}=this;t&&P(this)}onGlobalDragStart(){this.disconnectObserver()}onGlobalDragEnd(){this.connectObserver()}onDragEnd(t){this.calciteListDragEnd.emit(t)}onDragStart(t){this.calciteListDragStart.emit(t)}onDragSort(t){this.setParentList(),this.updateListItems(),this.calciteListOrderChange.emit(t)}setParentList(){this.parentListEl=this.el.parentElement?.closest("calcite-list")}filterElements({el:t,filteredItems:e,visibleParents:i}){const s=!i.has(t)&&!e.includes(t);t.filterHidden=s;const n=t.parentElement.closest("calcite-list-item-group, calcite-list-item");n&&(s||i.add(n),this.filterElements({el:n,filteredItems:e,visibleParents:i}))}allParentListItemsOpen(t){const e=t.parentElement?.closest(B);return!e||!!e.open&&this.allParentListItemsOpen(e)}updateFilteredData(t=!1){const{filterEl:e}=this;e&&(e.filteredItems&&(this.filteredData=e.filteredItems),this.updateListItems({emitFilterChange:t}))}async filterAndUpdateData(){await(this.filterEl?.filter(this.filterText)),this.updateFilteredData()}performFilter(){const{filterEl:t,filterText:e,filterProps:i}=this;t&&(t.value=e,t.filterProps=i,this.filterAndUpdateData())}handleNudgeEvent(t){const{handleSelector:e,dragSelector:i}=this,{direction:s}=t.detail,n=t.composedPath(),a=n.find((t=>t?.tagName&&t.matches(e))),o=n.find((t=>t?.tagName&&t.matches(i))),l=o?.parentElement;if(!l)return;const{filteredItems:c}=this,r=c.filter((t=>t.parentElement===l)),d=r.length-1,h=r.indexOf(o);let f;f="up"===s?0===h?d:h-1:h===d?0:h+1,this.disconnectObserver(),a.blurUnselectDisabled=!0,l.insertBefore(o,"up"===s&&f!==d||"down"===s&&0===f?r[f]:r[f].nextSibling),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:o,fromEl:l,toEl:l,newIndex:f,oldIndex:h}),a.setFocus().then((()=>a.blurUnselectDisabled=!1))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{filterText:["handleFilterTextChange"],filterProps:["handleFilterPropsChange"],messageOverrides:["onMessagesChange"],filterEnabled:["handleListItemChange"],group:["handleListItemChange"],dragEnabled:["handleListItemChange"],selectionMode:["handleListItemChange"],selectionAppearance:["handleListItemChange"],effectiveLocale:["effectiveLocaleChange"]}}};X.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{position:relative}.table-container{box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%;border-collapse:collapse}.stack{--calcite-stack-padding-inline:0;--calcite-stack-padding-block:0}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky);background-color:var(--calcite-color-foreground-1)}.sticky-pos th{padding:0px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const q=new Map,J=class{constructor(i){t(this,i),this.calciteListItemSelect=e(this,"calciteListItemSelect",6),this.calciteListItemClose=e(this,"calciteListItemClose",6),this.calciteListItemDragHandleChange=e(this,"calciteListItemDragHandleChange",6),this.calciteListItemToggle=e(this,"calciteListItemToggle",6),this.calciteInternalListItemSelect=e(this,"calciteInternalListItemSelect",6),this.calciteInternalListItemSelectMultiple=e(this,"calciteInternalListItemSelectMultiple",6),this.calciteInternalListItemActive=e(this,"calciteInternalListItemActive",6),this.calciteInternalFocusPreviousItem=e(this,"calciteInternalFocusPreviousItem",6),this.calciteInternalListItemChange=e(this,"calciteInternalListItemChange",6),this.calciteInternalListItemToggle=e(this,"calciteInternalListItemToggle",6),this.dragHandleSelectedChangeHandler=t=>{this.dragSelected=t.target.selected,this.calciteListItemDragHandleChange.emit(),t.stopPropagation()},this.emitInternalListItemActive=()=>{this.calciteInternalListItemActive.emit()},this.focusCellHandle=()=>{this.handleCellFocusIn(this.handleGridEl)},this.focusCellActionsStart=()=>{this.handleCellFocusIn(this.actionsStartEl)},this.focusCellContent=()=>{this.handleCellFocusIn(this.contentEl)},this.focusCellActionsEnd=()=>{this.handleCellFocusIn(this.actionsEndEl)},this.handleCloseClick=()=>{this.closed=!0,this.calciteListItemClose.emit()},this.handleContentSlotChange=t=>{this.hasCustomContent=C(t)},this.handleActionsStartSlotChange=t=>{this.hasActionsStart=C(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=C(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=C(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=C(t)},this.handleContentBottomSlotChange=t=>{this.hasContentBottom=C(t)},this.handleDefaultSlotChange=t=>{this.handleOpenableChange(t.target)},this.handleToggleClick=()=>{this.toggle()},this.toggle=(t=!this.open)=>{this.open=t,this.calciteListItemToggle.emit()},this.handleItemClick=t=>{t.defaultPrevented||this.toggleSelected(t.shiftKey)},this.toggleSelected=t=>{const{selectionMode:e,selected:i}=this;this.disabled||("multiple"===e||"single"===e?this.selected=!i:"single-persist"===e&&(this.selected=!0),this.calciteInternalListItemSelectMultiple.emit({selectMultiple:t&&"multiple"===e}),this.calciteListItemSelect.emit())},this.handleItemKeyDown=t=>{if(t.defaultPrevented)return;const{key:e}=t,i=t.composedPath(),{containerEl:s,actionsStartEl:n,actionsEndEl:a,open:o,openable:l}=this,c=this.getGridCells(),r=c.findIndex((t=>i.includes(t)));if("Enter"!==e||i.includes(n)||i.includes(a)){if("ArrowRight"===e){t.preventDefault();const e=r+1;-1===r?!o&&l?(this.toggle(!0),this.focusCell(null)):c[0]&&this.focusCell(c[0]):c[r]&&c[e]&&this.focusCell(c[e])}else if("ArrowLeft"===e){t.preventDefault();const e=r-1;-1===r?(this.focusCell(null),o&&l?this.toggle(!1):this.calciteInternalFocusPreviousItem.emit()):0===r?(this.focusCell(null),s.focus()):c[r]&&c[e]&&this.focusCell(c[e])}}else t.preventDefault(),this.toggleSelected(t.shiftKey)},this.focusCellNull=()=>{this.focusCell(null)},this.handleCellFocusIn=t=>{this.setFocusCell(t,k(t),!0)},this.setFocusCell=(t,e,i)=>{const{parentListEl:s}=this;i&&q.set(s,null);const n=this.getGridCells();n.forEach((t=>{t.tabIndex=-1,t.removeAttribute(S)})),t&&(t.tabIndex=t===e?0:-1,t.setAttribute(S,""),i&&q.set(s,n.indexOf(t)))},this.focusCell=(t,e=!0)=>{const i=k(t);this.setFocusCell(t,i,e),i?.focus()},this.active=!1,this.bordered=!1,this.closable=!1,this.closed=!1,this.description=void 0,this.disabled=!1,this.dragDisabled=!1,this.dragHandle=!1,this.dragSelected=!1,this.filterHidden=!1,this.label=void 0,this.metadata=void 0,this.open=!1,this.setSize=null,this.setPosition=null,this.selected=!1,this.unavailable=!1,this.value=void 0,this.selectionMode=null,this.selectionAppearance=null,this.messageOverrides=void 0,this.messages=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.level=null,this.parentListEl=void 0,this.openable=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasCustomContent=!1,this.hasContentStart=!1,this.hasContentEnd=!1,this.hasContentBottom=!1}activeHandler(t){t||this.focusCell(null,!1)}handleClosedChange(){this.emitCalciteInternalListItemChange()}handleDisabledChange(){this.emitCalciteInternalListItemChange()}handleOpenChange(){this.emitCalciteInternalListItemToggle()}handleSelectedChange(){this.calciteInternalListItemSelect.emit()}onMessagesChange(){}handleCalciteInternalListDefaultSlotChanges(t){t.stopPropagation(),this.handleOpenableChange(this.defaultSlotEl)}effectiveLocaleChange(){p(this,this.effectiveLocale)}connectedCallback(){h(this),g(this);const{el:t}=this;this.parentListEl=t.closest("calcite-list"),this.level=function(t,e=!1){return A()?document.evaluate(e?"ancestor::calcite-list-item | ancestor::calcite-list-item-group":"ancestor::calcite-list-item",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength:0}(t)+1,this.setSelectionDefaults()}async componentWillLoad(){c(this),await b(this)}componentDidLoad(){r(this)}componentDidRender(){o(this)}disconnectedCallback(){f(this),m(this)}async setFocus(){await d(this);const{containerEl:t,parentListEl:e}=this,i=q.get(e);if("number"!=typeof i)t?.focus();else{const e=this.getGridCells();e[i]?this.focusCell(e[i]):t?.focus()}}renderSelected(){const{selected:t,selectionMode:e,selectionAppearance:s}=this;return"none"===e||"border"===s?null:i("td",{class:{[D.selectionContainer]:!0,[D.selectionContainerSingle]:"single"===e||"single-persist"===e},key:"selection-container",onClick:this.handleItemClick},i("calcite-icon",{icon:t?"multiple"===e?z.selectedMultiple:z.selectedSingle:"multiple"===e?z.unselectedMultiple:z.unselectedSingle,scale:"s"}))}renderDragHandle(){const{label:t,dragHandle:e,dragSelected:s,dragDisabled:n,setPosition:a,setSize:o}=this;return e?i("td",{"aria-label":t,class:D.dragContainer,key:"drag-handle-container",onFocusin:this.focusCellHandle,ref:t=>this.handleGridEl=t,role:"gridcell"},i("calcite-handle",{disabled:n,label:t,onCalciteHandleChange:this.dragHandleSelectedChangeHandler,selected:s,setPosition:a,setSize:o})):null}renderOpen(){const{el:t,open:e,openable:s,messages:n}=this,a=w(t),o=e?z.open:"rtl"===a?z.closedRTL:z.closedLTR;return s?i("td",{class:D.openContainer,key:"open-container",onClick:this.handleToggleClick,title:e?n.collapse:n.expand},i("calcite-icon",{icon:o,key:o,scale:"s"})):null}renderActionsStart(){const{label:t,hasActionsStart:e}=this;return i("td",{"aria-label":t,class:D.actionsStart,hidden:!e,key:"actions-start-container",onFocusin:this.focusCellActionsStart,ref:t=>this.actionsStartEl=t,role:"gridcell"},i("slot",{name:E.actionsStart,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{label:t,hasActionsEnd:e,closable:s,messages:n}=this;return i("td",{"aria-label":t,class:D.actionsEnd,hidden:!(e||s),key:"actions-end-container",onFocusin:this.focusCellActionsEnd,ref:t=>this.actionsEndEl=t,role:"gridcell"},i("slot",{name:E.actionsEnd,onSlotchange:this.handleActionsEndSlotChange}),s?i("calcite-action",{appearance:"transparent",class:D.close,icon:z.close,key:"close-action",label:n.close,onClick:this.handleCloseClick,text:n.close}):null)}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:D.contentStart,hidden:!t},i("slot",{name:E.contentStart,onSlotchange:this.handleContentStartSlotChange}))}renderCustomContent(){const{hasCustomContent:t}=this;return i("div",{class:D.customContent,hidden:!t},i("slot",{name:E.content,onSlotchange:this.handleContentSlotChange}))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:D.contentEnd,hidden:!t},i("slot",{name:E.contentEnd,onSlotchange:this.handleContentEndSlotChange}))}renderContentBottom(){const{hasContentBottom:t}=this;return i("div",{class:D.contentBottom,hidden:!t},i("slot",{name:E.contentBottom,onSlotchange:this.handleContentBottomSlotChange}))}renderDefaultContainer(){return i("div",{class:{[D.nestedContainer]:!0,[D.nestedContainerOpen]:this.openable&&this.open}},i("slot",{onSlotchange:this.handleDefaultSlotChange,ref:t=>this.defaultSlotEl=t}))}renderContentProperties(){const{label:t,description:e,hasCustomContent:s}=this;return s||!t&&!e?null:i("div",{class:D.content,key:"content"},t?i("div",{class:D.label,key:"label"},t):null,e?i("div",{class:D.description,key:"description"},e):null)}renderContentContainer(){const{description:t,label:e,selectionMode:s,hasCustomContent:n,unavailable:a}=this,o=n||!!e||!!t,l=[this.renderContentStart(),this.renderCustomContent(),this.renderContentProperties(),this.renderContentEnd()];return i("td",{"aria-label":e,class:{[D.contentContainer]:!0,[D.contentContainerUnavailable]:a,[D.contentContainerSelectable]:"none"!==s,[D.contentContainerHasCenterContent]:o},key:"content-container",onClick:this.handleItemClick,onFocusin:this.focusCellContent,ref:t=>this.contentEl=t,role:"gridcell"},l)}render(){const{openable:t,open:e,level:s,setPosition:a,setSize:o,active:c,label:r,selected:d,selectionAppearance:h,selectionMode:f,closed:u,filterHidden:p,bordered:b,disabled:g}=this,m="none"!==f&&"border"===h,v=m&&d,y=m&&!d;return i(n,{key:"a610ab740c82b6088400839884d58d4d867829db"},i(l,{key:"f05bf10e82fab03ddfdaf3ab2e100dcbd6d69c63",disabled:g},i("div",{key:"4bf63ed08d2a4a049e060d26d3699656558d495e",class:{[D.wrapper]:!0,[D.wrapperBordered]:b}},i("tr",{key:"d231a113c3bd8ee7f67c2ffb0cf804c142a95fb9","aria-expanded":t?x(e):null,"aria-label":r,"aria-level":s,"aria-posinset":a,"aria-selected":x(d),"aria-setsize":o,class:{[D.container]:!0,[D.containerHover]:!0,[D.containerBorder]:m,[D.containerBorderSelected]:v,[D.containerBorderUnselected]:y},hidden:u||p,onFocus:this.focusCellNull,onFocusin:this.emitInternalListItemActive,onKeyDown:this.handleItemKeyDown,ref:t=>this.containerEl=t,role:"row",tabIndex:c?0:-1},this.renderDragHandle(),this.renderSelected(),this.renderOpen(),this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),this.renderContentBottom()),this.renderDefaultContainer()))}emitCalciteInternalListItemToggle(){this.calciteInternalListItemToggle.emit()}emitCalciteInternalListItemChange(){this.calciteInternalListItemChange.emit()}setSelectionDefaults(){const{parentListEl:t,selectionMode:e,selectionAppearance:i}=this;t&&(e||(this.selectionMode=t.selectionMode),i||(this.selectionAppearance=t.selectionAppearance))}handleOpenableChange(t){if(!t)return;const e=W(t),i=function(t){return Array.from(t.assignedElements({flatten:!0}).filter((t=>t.matches(R))))}(t);G(e),this.openable=!!e.length||!!i.length}getGridCells(){return[this.handleGridEl,this.actionsStartEl,this.contentEl,this.actionsEndEl].filter((t=>t&&!t.hidden))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{active:["activeHandler"],closed:["handleClosedChange"],disabled:["handleDisabledChange"],open:["handleOpenChange"],selected:["handleSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};J.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1);--calcite-list-item-icon-color:var(--calcite-color-brand)}:host([filter-hidden]),:host([closed]){display:none}.wrapper--bordered{border-block-end:1px solid var(--calcite-color-border-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{box-sizing:border-box;display:flex;flex:1 1 0%;overflow:hidden;background-color:var(--calcite-color-foreground-1)}.container *{box-sizing:border-box}.container--hover:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}.container:active{background-color:var(--calcite-color-foreground-1)}.container--border{border-inline-start-width:4px;border-inline-start-style:solid}.container--border-selected{border-inline-start-color:var(--calcite-color-brand)}.container--border-unselected{border-inline-start-color:transparent}.container:hover.container--border-unselected{border-color:var(--calcite-color-border-1)}.nested-container{display:none;flex-direction:column;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);margin-inline-start:var(--calcite-list-item-spacing-indent, 1.5rem)}.nested-container--open{display:flex}.content-container{display:flex;flex:1 1 auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:stretch;padding:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.content-container--unavailable{opacity:var(--calcite-opacity-disabled)}tr,td{outline-color:transparent}tr{position:relative}tr:focus,td:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description,.content-bottom{font-family:var(--calcite-font-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child,.content-bottom:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-color-text-1)}:host([selected]) .label{font-weight:var(--calcite-font-weight-medium)}.description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}:host([selected]) .description{color:var(--calcite-color-text-2)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.content-bottom{display:flex;flex-direction:column}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-block:0px;color:var(--calcite-color-border-input);padding-inline:var(--calcite-spacing-md) var(--calcite-spacing-xxs)}.selection-container--single{color:transparent}:host(:not([disabled]):not([selected])) .container:hover .selection-container--single{color:var(--calcite-color-border-1)}:host([selected]:hover) .selection-container,:host([selected]:hover) .selection-container--single,:host([selected]) .selection-container{color:var(--calcite-list-item-icon-color)}.open-container{color:var(--calcite-color-text-3)}:host(:not([disabled])) .container:hover .open-container{color:var(--calcite-color-text-1)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.open-container{display:flex;align-items:center}.actions-start calcite-action,.actions-start calcite-handle,.actions-end calcite-action,.actions-end calcite-handle,.content-start calcite-action,.content-start calcite-handle,.content-end calcite-action,.content-end calcite-handle,.selection-container calcite-action,.selection-container calcite-handle,.drag-container calcite-action,.drag-container calcite-handle,.open-container calcite-action,.open-container calcite-handle{align-self:stretch}.open-container,.selection-container{cursor:pointer}.actions-start,.actions-end{position:relative;padding:0px}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}tr:focus .actions-start,tr:focus .actions-end{inset-block:0.125rem}tr:focus .actions-start .close,tr:focus .actions-start ::slotted(calcite-action),tr:focus .actions-start ::slotted(calcite-action-menu),tr:focus .actions-start ::slotted(calcite-handle),tr:focus .actions-start ::slotted(calcite-dropdown),tr:focus .actions-end .close,tr:focus .actions-end ::slotted(calcite-action),tr:focus .actions-end ::slotted(calcite-action-menu),tr:focus .actions-end ::slotted(calcite-handle),tr:focus .actions-end ::slotted(calcite-dropdown){block-size:calc(100% - 0.25rem)}tr:focus::after,tr:focus::before{position:absolute;content:"";inline-size:0.125rem;z-index:var(--calcite-z-index-header);background-color:var(--calcite-color-brand);inset-block:0}tr:focus::before{inset-inline-start:0}tr:focus::after{inset-inline-end:0}.container--border:focus::before{display:none}::slotted(calcite-list:empty){border-block-start-width:0px}:host([hidden]){display:none}[hidden]{display:none}';const Q=class{constructor(e){t(this,e),this.handleActionsStartSlotChange=t=>{this.hasActionsStart=C(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=C(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=C(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=C(t)},this.disabled=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasContentStart=!1,this.hasContentEnd=!1}renderActionsStart(){const{hasActionsStart:t}=this;return i("div",{class:"actions-start",hidden:!t,key:"actions-start-container"},i("slot",{name:K,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{hasActionsEnd:t}=this;return i("div",{class:"actions-end",hidden:!t,key:"actions-end-container"},i("slot",{name:N,onSlotchange:this.handleActionsEndSlotChange}))}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:"content-start",hidden:!t},i("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderDefaultContent(){return i("div",{class:"content"},i("slot",null))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:"content-end",hidden:!t},i("slot",{name:"content-end",onSlotchange:this.handleContentEndSlotChange}))}render(){return i(n,{key:"97f052828720d715fd3b11a4b0e77fa085127796"},i("div",{key:"5351cc20a8a437763894fef35ecc7a7240cb7c46",class:"container"},this.renderActionsStart(),this.renderContentStart(),this.renderDefaultContent(),this.renderContentEnd(),this.renderActionsEnd()))}};Q.style=":host([disabled]) .content{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, 0.75rem);padding-block:var(--calcite-stack-padding-block, 0.5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}:host([hidden]){display:none}[hidden]{display:none}";export{M as calcite_filter,O as calcite_handle,X as calcite_list,J as calcite_list_item,Q as calcite_stack}
|
29
|
+
const K="actions-start",N="actions-end",U="assistive-text",B="calcite-list-item",X=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListDragEnd=e(this,"calciteListDragEnd",6),this.calciteListDragStart=e(this,"calciteListDragStart",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteInternalListDefaultSlotChange=e(this,"calciteInternalListDefaultSlotChange",6),this.dragSelector=B,this.focusableItems=[],this.handleSelector="calcite-handle",this.listItems=[],this.mutationObserver=I("mutation",(()=>this.updateListItems({performFilter:!0}))),this.visibleItems=[],this.handleDefaultSlotChange=t=>{G(W(t.target)),this.parentListEl&&this.calciteInternalListDefaultSlotChange.emit()},this.handleFilterActionsStartSlotChange=t=>{this.hasFilterActionsStart=C(t)},this.handleFilterActionsEndSlotChange=t=>{this.hasFilterActionsEnd=C(t)},this.handleFilterNoResultsSlotChange=t=>{this.hasFilterNoResults=C(t)},this.setActiveListItem=()=>{const{focusableItems:t}=this;t.some((t=>t.active))||t[0]&&(t[0].active=!0)},this.updateSelectedItems=(t=!1)=>{this.selectedItems=this.visibleItems.filter((t=>t.selected)),t&&this.calciteListChange.emit()},this.borderItems=()=>{const t=this.visibleItems.filter((t=>!t.filterHidden&&this.allParentListItemsOpen(t)));t.forEach((e=>e.bordered=e!==t[t.length-1]))},this.updateFilteredItems=(t=!1)=>{const{visibleItems:e,filteredData:i,filterText:s}=this,n=i.map((t=>t.value)),a=e?.filter((t=>e.every((e=>e===t||!t.contains(e))))),o=e.filter((t=>!s||n.includes(t.value)))||[],c=new WeakSet;a.forEach((t=>this.filterElements({el:t,filteredItems:o,visibleParents:c}))),this.filteredItems=o,t&&this.calciteListFilter.emit()},this.setFilterEl=t=>{this.filterEl=t,this.performFilter()},this.handleFilterChange=t=>{t.stopPropagation();const{value:e}=t.currentTarget;this.filterText=e,this.updateFilteredData(!0)},this.getItemData=()=>this.listItems.map((t=>({label:t.label,description:t.description,metadata:t.metadata,value:t.value}))),this.updateListItems=y((t=>{const e=t?.emitFilterChange??!1,i=t?.performFilter??!1,{selectionAppearance:s,selectionMode:n,dragEnabled:a,el:o,filterEl:c,filterEnabled:l}=this,r=Array.from(this.el.querySelectorAll(B));r.forEach((t=>{t.selectionAppearance=s,t.selectionMode=n,t.closest("calcite-list")===o&&(t.dragHandle=a)})),this.parentListEl||(this.listItems=r,l&&i&&(this.dataForFilter=this.getItemData(),c&&(c.items=this.dataForFilter,this.filterAndUpdateData())),this.visibleItems=this.listItems.filter((t=>!t.closed&&!t.hidden)),this.updateFilteredItems(e),this.borderItems(),this.focusableItems=this.filteredItems.filter((t=>!t.disabled)),this.setActiveListItem(),this.updateSelectedItems()),this.setUpSorting()}),0),this.focusRow=t=>{const{focusableItems:e}=this;t&&(e.forEach((e=>e.active=e===t)),t.setFocus())},this.isNavigable=t=>{const e=t.parentElement?.closest(B);return!e||e.open&&this.isNavigable(e)},this.handleListKeydown=t=>{if(t.defaultPrevented||this.parentListEl)return;const{key:e}=t,i=this.focusableItems.filter((t=>this.isNavigable(t))),s=i.findIndex((t=>t.active));if("ArrowDown"===e){t.preventDefault();const e=t.target===this.filterEl?0:s+1;i[e]&&this.focusRow(i[e])}else if("ArrowUp"===e){if(t.preventDefault(),0===s&&this.filterEnabled)return void this.filterEl?.setFocus();const e=s-1;i[e]&&this.focusRow(i[e])}else if("Home"===e){t.preventDefault();const e=i[0];e&&this.focusRow(e)}else if("End"===e){t.preventDefault();const e=i[i.length-1];e&&this.focusRow(e)}},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.group=void 0,this.filterEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterPlaceholder=void 0,this.filterText=void 0,this.label=void 0,this.loading=!1,this.filterProps=void 0,this.messageOverrides=void 0,this.messages=void 0,this.numberingSystem=void 0,this.openable=!1,this.selectedItems=[],this.selectionMode="none",this.selectionAppearance="icon",this.effectiveLocale="",this.defaultMessages=void 0,this.assistiveText=void 0,this.dataForFilter=[],this.hasFilterActionsEnd=!1,this.hasFilterActionsStart=!1,this.hasFilterNoResults=!1}async handleFilterTextChange(){this.performFilter()}async handleFilterPropsChange(){this.performFilter()}onMessagesChange(){}handleListItemChange(){this.updateListItems({performFilter:!0})}handleCalciteListItemToggle(t){this.parentListEl||(t.stopPropagation(),this.borderItems())}handleCalciteInternalFocusPreviousItem(t){if(this.parentListEl)return;t.stopPropagation();const{focusableItems:e}=this,i=e.findIndex((t=>t.active))-1;e[i]&&this.focusRow(e[i])}handleCalciteInternalListItemActive(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i}=this;i.forEach((t=>{t.active=t===e}))}handleCalciteListItemSelect(){this.parentListEl||this.updateSelectedItems(!0)}handleCalciteInternalAssistiveTextChange(t){this.assistiveText=t.detail.message,t.stopPropagation()}handleCalciteHandleNudge(t){this.parentListEl||this.handleNudgeEvent(t)}handleCalciteInternalListItemSelect(t){if(this.parentListEl)return;t.stopPropagation();const e=t.target,{listItems:i,selectionMode:s}=this;!e.selected||"single"!==s&&"single-persist"!==s||i.forEach((t=>t.selected=t===e)),this.updateSelectedItems()}handleCalciteInternalListItemSelectMultiple(t){if(this.parentListEl)return;t.stopPropagation();const{target:e,detail:i}=t,{focusableItems:s,lastSelectedInfo:n}=this,a=e;if(i.selectMultiple&&n){const t=s.indexOf(a),e=s.indexOf(n.selectedItem),i=Math.min(e,t),o=Math.max(e,t);s.slice(i,o+1).forEach((t=>t.selected=n.selected))}else this.lastSelectedInfo={selectedItem:a,selected:a.selected}}handleCalciteInternalListItemChange(t){this.parentListEl||(t.stopPropagation(),this.updateListItems())}handleCalciteInternalListItemGroupDefaultSlotChange(t){t.stopPropagation()}connectedCallback(){h(this),g(this),this.connectObserver(),this.updateListItems({performFilter:!0}),this.setUpSorting(),this.setParentList()}async componentWillLoad(){l(this),await b(this)}componentDidRender(){o(this)}componentDidLoad(){r(this)}disconnectedCallback(){this.disconnectObserver(),F(this),f(this),m(this)}effectiveLocaleChange(){p(this,this.effectiveLocale)}async setFocus(){return await d(this),this.filterEnabled?this.filterEl?.setFocus():this.focusableItems.find((t=>t.active))?.setFocus()}render(){const{loading:t,label:e,disabled:s,dataForFilter:n,filterEnabled:a,filterPlaceholder:o,filterText:l,filteredItems:r,hasFilterActionsStart:d,hasFilterActionsEnd:h,hasFilterNoResults:f,filterProps:u}=this;return i(c,{key:"c3139afe4fe7c7462578a51a4578971c97473167",disabled:this.disabled},i("div",{key:"5e99dc8b479c35609c5f0318723b3da84ec23ef4",class:"container"},this.dragEnabled?i("span",{"aria-live":"assertive",class:U},this.assistiveText):null,this.renderItemAriaLive(),t?i("calcite-scrim",{class:"scrim",loading:t}):null,i("table",{key:"a31ba050d3141351e491141365e8244ed3ca5303","aria-busy":x(t),"aria-label":e||"",class:"table",onKeyDown:this.handleListKeydown,role:"treegrid"},a||d||h?i("thead",{class:"sticky-pos"},i("tr",null,i("th",{colSpan:L},i("calcite-stack",{class:"stack"},i("slot",{name:"filter-actions-start",onSlotchange:this.handleFilterActionsStartSlotChange,slot:K}),i("calcite-filter",{"aria-label":o,disabled:s,filterProps:u,items:n,onCalciteFilterChange:this.handleFilterChange,placeholder:o,ref:this.setFilterEl,value:l}),i("slot",{name:"filter-actions-end",onSlotchange:this.handleFilterActionsEndSlotChange,slot:N}))))):null,i("tbody",{key:"3ed1b8d9a4387c3ea0f4ff38e5388be35b32d89b",class:"table-container"},i("slot",{key:"712562533b4609749cbff0968bd0a9e77d99758e",onSlotchange:this.handleDefaultSlotChange}))),i("div",{key:"3ff977013e0ca0d58229e1305dca702000d91a99","aria-live":"polite","data-test-id":"no-results-container",hidden:!(f&&a&&l&&!r.length)},i("slot",{key:"7c2bf6389c8b5f4b6f617950e4068baf6b1dc358",name:"filter-no-results",onSlotchange:this.handleFilterNoResultsSlotChange}))))}renderItemAriaLive(){const{messages:t,filteredItems:e,parentListEl:s,effectiveLocale:n,numberingSystem:a,filterEnabled:o,filterText:c,filteredData:l}=this;return u.numberFormatOptions={locale:n,numberingSystem:a},s?null:i("div",{"aria-live":"polite",class:U},o&&c&&l?.length?i("div",{key:"aria-filter-enabled"},t.filterEnabled):null,i("div",{key:"aria-item-count"},t.total.replace("{count}",u.localize(e.length.toString()))),e.length?i("ol",{key:"aria-item-list"},e.map((t=>i("li",null,t.label)))):null)}connectObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){this.mutationObserver?.disconnect()}setUpSorting(){const{dragEnabled:t}=this;t&&P(this)}onGlobalDragStart(){this.disconnectObserver()}onGlobalDragEnd(){this.connectObserver()}onDragEnd(t){this.calciteListDragEnd.emit(t)}onDragStart(t){this.calciteListDragStart.emit(t)}onDragSort(t){this.setParentList(),this.updateListItems(),this.calciteListOrderChange.emit(t)}setParentList(){this.parentListEl=this.el.parentElement?.closest("calcite-list")}filterElements({el:t,filteredItems:e,visibleParents:i}){const s=!i.has(t)&&!e.includes(t);t.filterHidden=s;const n=t.parentElement.closest("calcite-list-item-group, calcite-list-item");n&&(s||i.add(n),this.filterElements({el:n,filteredItems:e,visibleParents:i}))}allParentListItemsOpen(t){const e=t.parentElement?.closest(B);return!e||!!e.open&&this.allParentListItemsOpen(e)}updateFilteredData(t=!1){const{filterEl:e}=this;e&&(e.filteredItems&&(this.filteredData=e.filteredItems),this.updateListItems({emitFilterChange:t}))}async filterAndUpdateData(){await(this.filterEl?.filter(this.filterText)),this.updateFilteredData()}performFilter(){const{filterEl:t,filterText:e,filterProps:i}=this;t&&(t.value=e,t.filterProps=i,this.filterAndUpdateData())}handleNudgeEvent(t){const{handleSelector:e,dragSelector:i}=this,{direction:s}=t.detail,n=t.composedPath(),a=n.find((t=>t?.tagName&&t.matches(e))),o=n.find((t=>t?.tagName&&t.matches(i))),c=o?.parentElement;if(!c)return;const{filteredItems:l}=this,r=l.filter((t=>t.parentElement===c)),d=r.length-1,h=r.indexOf(o);let f;f="up"===s?0===h?d:h-1:h===d?0:h+1,this.disconnectObserver(),a.blurUnselectDisabled=!0,c.insertBefore(o,"up"===s&&f!==d||"down"===s&&0===f?r[f]:r[f].nextSibling),this.updateListItems(),this.connectObserver(),this.calciteListOrderChange.emit({dragEl:o,fromEl:c,toEl:c,newIndex:f,oldIndex:h}),a.setFocus().then((()=>a.blurUnselectDisabled=!1))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{filterText:["handleFilterTextChange"],filterProps:["handleFilterPropsChange"],messageOverrides:["onMessagesChange"],filterEnabled:["handleListItemChange"],group:["handleListItemChange"],dragEnabled:["handleListItemChange"],selectionMode:["handleListItemChange"],selectionAppearance:["handleListItemChange"],effectiveLocale:["effectiveLocaleChange"]}}};X.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{position:relative}.table-container{box-sizing:border-box;display:flex;inline-size:100%;flex-direction:column;background-color:transparent}.table-container *{box-sizing:border-box}.table{inline-size:100%;border-collapse:collapse}.stack{--calcite-stack-padding-inline:0;--calcite-stack-padding-block:0}.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky);background-color:var(--calcite-color-foreground-1)}.sticky-pos th{padding:0px}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";const q=new Map,J=class{constructor(i){t(this,i),this.calciteListItemSelect=e(this,"calciteListItemSelect",6),this.calciteListItemClose=e(this,"calciteListItemClose",6),this.calciteListItemDragHandleChange=e(this,"calciteListItemDragHandleChange",6),this.calciteListItemToggle=e(this,"calciteListItemToggle",6),this.calciteInternalListItemSelect=e(this,"calciteInternalListItemSelect",6),this.calciteInternalListItemSelectMultiple=e(this,"calciteInternalListItemSelectMultiple",6),this.calciteInternalListItemActive=e(this,"calciteInternalListItemActive",6),this.calciteInternalFocusPreviousItem=e(this,"calciteInternalFocusPreviousItem",6),this.calciteInternalListItemChange=e(this,"calciteInternalListItemChange",6),this.calciteInternalListItemToggle=e(this,"calciteInternalListItemToggle",6),this.dragHandleSelectedChangeHandler=t=>{this.dragSelected=t.target.selected,this.calciteListItemDragHandleChange.emit(),t.stopPropagation()},this.emitInternalListItemActive=()=>{this.calciteInternalListItemActive.emit()},this.focusCellHandle=()=>{this.handleCellFocusIn(this.handleGridEl)},this.focusCellActionsStart=()=>{this.handleCellFocusIn(this.actionsStartEl)},this.focusCellContent=()=>{this.handleCellFocusIn(this.contentEl)},this.focusCellActionsEnd=()=>{this.handleCellFocusIn(this.actionsEndEl)},this.handleCloseClick=()=>{this.closed=!0,this.calciteListItemClose.emit()},this.handleContentSlotChange=t=>{this.hasCustomContent=C(t)},this.handleActionsStartSlotChange=t=>{this.hasActionsStart=C(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=C(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=C(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=C(t)},this.handleContentBottomSlotChange=t=>{this.hasContentBottom=C(t)},this.handleDefaultSlotChange=t=>{this.handleOpenableChange(t.target)},this.handleToggleClick=()=>{this.toggle()},this.toggle=(t=!this.open)=>{this.open=t,this.calciteListItemToggle.emit()},this.handleItemClick=t=>{t.defaultPrevented||this.toggleSelected(t.shiftKey)},this.toggleSelected=t=>{const{selectionMode:e,selected:i}=this;this.disabled||("multiple"===e||"single"===e?this.selected=!i:"single-persist"===e&&(this.selected=!0),this.calciteInternalListItemSelectMultiple.emit({selectMultiple:t&&"multiple"===e}),this.calciteListItemSelect.emit())},this.handleItemKeyDown=t=>{if(t.defaultPrevented)return;const{key:e}=t,i=t.composedPath(),{containerEl:s,actionsStartEl:n,actionsEndEl:a,open:o,openable:c}=this,l=this.getGridCells(),r=l.findIndex((t=>i.includes(t)));if("Enter"!==e||i.includes(n)||i.includes(a)){if("ArrowRight"===e){t.preventDefault();const e=r+1;-1===r?!o&&c?(this.toggle(!0),this.focusCell(null)):l[0]&&this.focusCell(l[0]):l[r]&&l[e]&&this.focusCell(l[e])}else if("ArrowLeft"===e){t.preventDefault();const e=r-1;-1===r?(this.focusCell(null),o&&c?this.toggle(!1):this.calciteInternalFocusPreviousItem.emit()):0===r?(this.focusCell(null),s.focus()):l[r]&&l[e]&&this.focusCell(l[e])}}else t.preventDefault(),this.toggleSelected(t.shiftKey)},this.focusCellNull=()=>{this.focusCell(null)},this.handleCellFocusIn=t=>{this.setFocusCell(t,k(t),!0)},this.setFocusCell=(t,e,i)=>{const{parentListEl:s}=this;i&&q.set(s,null);const n=this.getGridCells();n.forEach((t=>{t.tabIndex=-1,t.removeAttribute(S)})),t&&(t.tabIndex=t===e?0:-1,t.setAttribute(S,""),i&&q.set(s,n.indexOf(t)))},this.focusCell=(t,e=!0)=>{const i=k(t);this.setFocusCell(t,i,e),i?.focus()},this.active=!1,this.bordered=!1,this.closable=!1,this.closed=!1,this.description=void 0,this.disabled=!1,this.dragDisabled=!1,this.dragHandle=!1,this.dragSelected=!1,this.filterHidden=!1,this.label=void 0,this.metadata=void 0,this.open=!1,this.setSize=null,this.setPosition=null,this.selected=!1,this.unavailable=!1,this.value=void 0,this.selectionMode=null,this.selectionAppearance=null,this.messageOverrides=void 0,this.messages=void 0,this.effectiveLocale="",this.defaultMessages=void 0,this.level=null,this.parentListEl=void 0,this.openable=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasCustomContent=!1,this.hasContentStart=!1,this.hasContentEnd=!1,this.hasContentBottom=!1}activeHandler(t){t||this.focusCell(null,!1)}handleClosedChange(){this.emitCalciteInternalListItemChange()}handleDisabledChange(){this.emitCalciteInternalListItemChange()}handleOpenChange(){this.emitCalciteInternalListItemToggle()}handleSelectedChange(){this.calciteInternalListItemSelect.emit()}onMessagesChange(){}handleCalciteInternalListDefaultSlotChanges(t){t.stopPropagation(),this.handleOpenableChange(this.defaultSlotEl)}effectiveLocaleChange(){p(this,this.effectiveLocale)}connectedCallback(){h(this),g(this);const{el:t}=this;this.parentListEl=t.closest("calcite-list"),this.level=function(t,e=!1){return A()?document.evaluate(e?"ancestor::calcite-list-item | ancestor::calcite-list-item-group":"ancestor::calcite-list-item",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength:0}(t)+1,this.setSelectionDefaults()}async componentWillLoad(){l(this),await b(this)}componentDidLoad(){r(this)}componentDidRender(){o(this)}disconnectedCallback(){f(this),m(this)}async setFocus(){await d(this);const{containerEl:t,parentListEl:e}=this,i=q.get(e);if("number"!=typeof i)t?.focus();else{const e=this.getGridCells();e[i]?this.focusCell(e[i]):t?.focus()}}renderSelected(){const{selected:t,selectionMode:e,selectionAppearance:s}=this;return"none"===e||"border"===s?null:i("td",{class:{[D.selectionContainer]:!0,[D.selectionContainerSingle]:"single"===e||"single-persist"===e},key:"selection-container",onClick:this.handleItemClick},i("calcite-icon",{icon:t?"multiple"===e?z.selectedMultiple:z.selectedSingle:"multiple"===e?z.unselectedMultiple:z.unselectedSingle,scale:"s"}))}renderDragHandle(){const{label:t,dragHandle:e,dragSelected:s,dragDisabled:n,setPosition:a,setSize:o}=this;return e?i("td",{"aria-label":t,class:D.dragContainer,key:"drag-handle-container",onFocusin:this.focusCellHandle,ref:t=>this.handleGridEl=t,role:"gridcell"},i("calcite-handle",{disabled:n,label:t,onCalciteHandleChange:this.dragHandleSelectedChangeHandler,selected:s,setPosition:a,setSize:o})):null}renderOpen(){const{el:t,open:e,openable:s,messages:n}=this,a=w(t),o=e?z.open:"rtl"===a?z.closedRTL:z.closedLTR;return s?i("td",{class:D.openContainer,key:"open-container",onClick:this.handleToggleClick,title:e?n.collapse:n.expand},i("calcite-icon",{icon:o,key:o,scale:"s"})):null}renderActionsStart(){const{label:t,hasActionsStart:e}=this;return i("td",{"aria-label":t,class:D.actionsStart,hidden:!e,key:"actions-start-container",onFocusin:this.focusCellActionsStart,ref:t=>this.actionsStartEl=t,role:"gridcell"},i("slot",{name:E.actionsStart,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{label:t,hasActionsEnd:e,closable:s,messages:n}=this;return i("td",{"aria-label":t,class:D.actionsEnd,hidden:!(e||s),key:"actions-end-container",onFocusin:this.focusCellActionsEnd,ref:t=>this.actionsEndEl=t,role:"gridcell"},i("slot",{name:E.actionsEnd,onSlotchange:this.handleActionsEndSlotChange}),s?i("calcite-action",{appearance:"transparent",class:D.close,icon:z.close,key:"close-action",label:n.close,onClick:this.handleCloseClick,text:n.close}):null)}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:D.contentStart,hidden:!t},i("slot",{name:E.contentStart,onSlotchange:this.handleContentStartSlotChange}))}renderCustomContent(){const{hasCustomContent:t}=this;return i("div",{class:D.customContent,hidden:!t},i("slot",{name:E.content,onSlotchange:this.handleContentSlotChange}))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:D.contentEnd,hidden:!t},i("slot",{name:E.contentEnd,onSlotchange:this.handleContentEndSlotChange}))}renderContentBottom(){const{hasContentBottom:t}=this;return i("div",{class:D.contentBottom,hidden:!t},i("slot",{name:E.contentBottom,onSlotchange:this.handleContentBottomSlotChange}))}renderDefaultContainer(){return i("div",{class:{[D.nestedContainer]:!0,[D.nestedContainerOpen]:this.openable&&this.open}},i("slot",{onSlotchange:this.handleDefaultSlotChange,ref:t=>this.defaultSlotEl=t}))}renderContentProperties(){const{label:t,description:e,hasCustomContent:s}=this;return s||!t&&!e?null:i("div",{class:D.content,key:"content"},t?i("div",{class:D.label,key:"label"},t):null,e?i("div",{class:D.description,key:"description"},e):null)}renderContentContainer(){const{description:t,label:e,selectionMode:s,hasCustomContent:n,unavailable:a}=this,o=n||!!e||!!t,c=[this.renderContentStart(),this.renderCustomContent(),this.renderContentProperties(),this.renderContentEnd()];return i("td",{"aria-label":e,class:{[D.contentContainer]:!0,[D.contentContainerUnavailable]:a,[D.contentContainerSelectable]:"none"!==s,[D.contentContainerHasCenterContent]:o},key:"content-container",onClick:this.handleItemClick,onFocusin:this.focusCellContent,ref:t=>this.contentEl=t,role:"gridcell"},c)}render(){const{openable:t,open:e,level:s,setPosition:a,setSize:o,active:l,label:r,selected:d,selectionAppearance:h,selectionMode:f,closed:u,filterHidden:p,bordered:b,disabled:g}=this,m="none"!==f&&"border"===h,v=m&&d,y=m&&!d;return i(n,{key:"a610ab740c82b6088400839884d58d4d867829db"},i(c,{key:"f05bf10e82fab03ddfdaf3ab2e100dcbd6d69c63",disabled:g},i("div",{key:"4bf63ed08d2a4a049e060d26d3699656558d495e",class:{[D.wrapper]:!0,[D.wrapperBordered]:b}},i("tr",{key:"d231a113c3bd8ee7f67c2ffb0cf804c142a95fb9","aria-expanded":t?x(e):null,"aria-label":r,"aria-level":s,"aria-posinset":a,"aria-selected":x(d),"aria-setsize":o,class:{[D.container]:!0,[D.containerHover]:!0,[D.containerBorder]:m,[D.containerBorderSelected]:v,[D.containerBorderUnselected]:y},hidden:u||p,onFocus:this.focusCellNull,onFocusin:this.emitInternalListItemActive,onKeyDown:this.handleItemKeyDown,ref:t=>this.containerEl=t,role:"row",tabIndex:l?0:-1},this.renderDragHandle(),this.renderSelected(),this.renderOpen(),this.renderActionsStart(),this.renderContentContainer(),this.renderActionsEnd()),this.renderContentBottom()),this.renderDefaultContainer()))}emitCalciteInternalListItemToggle(){this.calciteInternalListItemToggle.emit()}emitCalciteInternalListItemChange(){this.calciteInternalListItemChange.emit()}setSelectionDefaults(){const{parentListEl:t,selectionMode:e,selectionAppearance:i}=this;t&&(e||(this.selectionMode=t.selectionMode),i||(this.selectionAppearance=t.selectionAppearance))}handleOpenableChange(t){if(!t)return;const e=W(t),i=function(t){return Array.from(t.assignedElements({flatten:!0}).filter((t=>t.matches(R))))}(t);G(e),this.openable=!!e.length||!!i.length}getGridCells(){return[this.handleGridEl,this.actionsStartEl,this.contentEl,this.actionsEndEl].filter((t=>t&&!t.hidden))}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{active:["activeHandler"],closed:["handleClosedChange"],disabled:["handleDisabledChange"],open:["handleOpenChange"],selected:["handleSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};J.style=':host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1);--calcite-list-item-icon-color:var(--calcite-color-brand)}:host([filter-hidden]),:host([closed]){display:none}.wrapper--bordered{border-block-end:1px solid var(--calcite-color-border-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{box-sizing:border-box;display:flex;flex:1 1 0%;overflow:hidden;background-color:var(--calcite-color-foreground-1)}.container *{box-sizing:border-box}.container--hover:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}.container:active{background-color:var(--calcite-color-foreground-1)}.container--border{border-inline-start-width:4px;border-inline-start-style:solid}.container--border-selected{border-inline-start-color:var(--calcite-color-brand)}.container--border-unselected{border-inline-start-color:transparent}.container:hover.container--border-unselected{border-color:var(--calcite-color-border-1)}.nested-container{display:none;flex-direction:column;border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);margin-inline-start:var(--calcite-list-item-spacing-indent, 1.5rem)}.nested-container--open{display:flex}.content-container{display:flex;flex:1 1 auto;-webkit-user-select:none;-moz-user-select:none;user-select:none;align-items:stretch;padding:0px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.content-container--unavailable{opacity:var(--calcite-opacity-disabled)}tr,td{outline-color:transparent}tr{position:relative}tr:focus,td:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.content,.custom-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;padding-inline:0.75rem;padding-block:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375}.label,.description,.content-bottom{font-family:var(--calcite-font-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);word-wrap:break-word;word-break:break-word}.label:only-child,.description:only-child,.content-bottom:only-child{margin:0px;padding-block:0.25rem}.label{color:var(--calcite-color-text-1)}:host([selected]) .label{font-weight:var(--calcite-font-weight-medium)}.description{margin-block-start:0.125rem;color:var(--calcite-color-text-3)}:host([selected]) .description{color:var(--calcite-color-text-2)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:1 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.content-bottom{display:flex;flex-direction:column}.content-container--has-center-content .content-start,.content-container--has-center-content .content-end{flex:0 1 auto}.selection-container{display:flex;padding-block:0px;color:var(--calcite-color-border-input);padding-inline:var(--calcite-spacing-md) var(--calcite-spacing-xxs)}.selection-container--single{color:transparent}:host(:not([disabled]):not([selected])) .container:hover .selection-container--single{color:var(--calcite-color-border-1)}:host([selected]:hover) .selection-container,:host([selected]:hover) .selection-container--single,:host([selected]) .selection-container{color:var(--calcite-list-item-icon-color)}.open-container{color:var(--calcite-color-text-3)}:host(:not([disabled])) .container:hover .open-container{color:var(--calcite-color-text-1)}.actions-start,.actions-end,.content-start,.content-end,.selection-container,.drag-container,.open-container{display:flex;align-items:center}.actions-start calcite-action,.actions-start calcite-handle,.actions-end calcite-action,.actions-end calcite-handle,.content-start calcite-action,.content-start calcite-handle,.content-end calcite-action,.content-end calcite-handle,.selection-container calcite-action,.selection-container calcite-handle,.drag-container calcite-action,.drag-container calcite-handle,.open-container calcite-action,.open-container calcite-handle{align-self:stretch}.open-container,.selection-container{cursor:pointer}.actions-start,.actions-end{position:relative;padding:0px}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}tr:focus .actions-start,tr:focus .actions-end{inset-block:0.125rem}tr:focus .actions-start .close,tr:focus .actions-start ::slotted(calcite-action),tr:focus .actions-start ::slotted(calcite-action-menu),tr:focus .actions-start ::slotted(calcite-handle),tr:focus .actions-start ::slotted(calcite-dropdown),tr:focus .actions-end .close,tr:focus .actions-end ::slotted(calcite-action),tr:focus .actions-end ::slotted(calcite-action-menu),tr:focus .actions-end ::slotted(calcite-handle),tr:focus .actions-end ::slotted(calcite-dropdown){block-size:calc(100% - 0.25rem)}tr:focus::after,tr:focus::before{position:absolute;content:"";inline-size:0.125rem;z-index:var(--calcite-z-index-header);background-color:var(--calcite-color-brand);inset-block:0}tr:focus::before{inset-inline-start:0}tr:focus::after{inset-inline-end:0}.container--border:focus::before{display:none}::slotted(calcite-list:empty){border-block-start-width:0px}:host([hidden]){display:none}[hidden]{display:none}';const Q=class{constructor(e){t(this,e),this.handleActionsStartSlotChange=t=>{this.hasActionsStart=C(t)},this.handleActionsEndSlotChange=t=>{this.hasActionsEnd=C(t)},this.handleContentStartSlotChange=t=>{this.hasContentStart=C(t)},this.handleContentEndSlotChange=t=>{this.hasContentEnd=C(t)},this.disabled=!1,this.hasActionsStart=!1,this.hasActionsEnd=!1,this.hasContentStart=!1,this.hasContentEnd=!1}renderActionsStart(){const{hasActionsStart:t}=this;return i("div",{class:"actions-start",hidden:!t,key:"actions-start-container"},i("slot",{name:K,onSlotchange:this.handleActionsStartSlotChange}))}renderActionsEnd(){const{hasActionsEnd:t}=this;return i("div",{class:"actions-end",hidden:!t,key:"actions-end-container"},i("slot",{name:N,onSlotchange:this.handleActionsEndSlotChange}))}renderContentStart(){const{hasContentStart:t}=this;return i("div",{class:"content-start",hidden:!t},i("slot",{name:"content-start",onSlotchange:this.handleContentStartSlotChange}))}renderDefaultContent(){return i("div",{class:"content"},i("slot",null))}renderContentEnd(){const{hasContentEnd:t}=this;return i("div",{class:"content-end",hidden:!t},i("slot",{name:"content-end",onSlotchange:this.handleContentEndSlotChange}))}render(){return i(n,{key:"97f052828720d715fd3b11a4b0e77fa085127796"},i("div",{key:"5351cc20a8a437763894fef35ecc7a7240cb7c46",class:"container"},this.renderActionsStart(),this.renderContentStart(),this.renderDefaultContent(),this.renderContentEnd(),this.renderActionsEnd()))}};Q.style=":host([disabled]) .content{cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) .content *,:host([disabled]) .content ::slotted(*){pointer-events:none}:host{display:flex;flex:1 1 0%;flex-direction:column}.container{display:flex;flex:1 1 auto;align-items:stretch;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2)}.content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;font-size:var(--calcite-font-size--2);line-height:1.375;padding-inline:var(--calcite-stack-padding-inline, 0.75rem);padding-block:var(--calcite-stack-padding-block, 0.5rem)}.content-start{justify-content:flex-start}.content-end{justify-content:flex-end}.content-start,.content-end{flex:0 1 auto}.content-start ::slotted(calcite-icon),.content-end ::slotted(calcite-icon){margin-inline:0.75rem;align-self:center}.actions-start,.actions-end,.content-start,.content-end{display:flex;align-items:center}.actions-start ::slotted(calcite-action),.actions-start ::slotted(calcite-action-menu),.actions-start ::slotted(calcite-handle),.actions-start ::slotted(calcite-dropdown),.actions-end ::slotted(calcite-action),.actions-end ::slotted(calcite-action-menu),.actions-end ::slotted(calcite-handle),.actions-end ::slotted(calcite-dropdown){align-self:stretch;color:inherit}:host([hidden]){display:none}[hidden]{display:none}";export{M as calcite_filter,O as calcite_handle,X as calcite_list,J as calcite_list_item,Q as calcite_stack}
|
@@ -3,15 +3,15 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as
|
6
|
+
import{r as c,c as i,h as e,g as t,H as o}from"./p-4e6eb06e.js";import{c as a}from"./p-85c3237c.js";import{c as n,d as r}from"./p-7cc8e95a.js";import{o as l,g as d,t as s,a as h}from"./p-26ba0cc7.js";import{C as m}from"./p-51ab623a.js";import{g as p}from"./p-ae019e19.js";import{s as v,a as g,c as b}from"./p-7f68e6a4.js";import"./p-08c18450.js";import"./p-eed08718.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.
|
11
|
-
*/const f="accordion",x="accordion--transparent",u=class{constructor(e){
|
10
|
+
* v2.13.2
|
11
|
+
*/const f="accordion",x="accordion--transparent",u=class{constructor(e){c(this,e),this.calciteInternalAccordionChange=i(this,"calciteInternalAccordionChange",6),this.mutationObserver=a("mutation",(()=>this.updateAccordionItems())),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple"}handlePropsChange(){this.updateAccordionItems()}connectedCallback(){this.mutationObserver?.observe(this.el,{childList:!0}),this.updateAccordionItems()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const c="transparent"===this.appearance;return e("div",{key:"049a706314a7d7bc6336ce3586dc2d48384134fc",class:{[x]:c,[f]:!c}},e("slot",{key:"831dee904c4ff5258ac0194effe21ad5fa5d27ad"}))}updateActiveItemOnChange(c){this.calciteInternalAccordionChange.emit({requestedAccordionItem:c.detail.requestedAccordionItem}),c.stopPropagation()}updateAccordionItems(){this.el.querySelectorAll("calcite-accordion-item").forEach((c=>{c.iconPosition=this.iconPosition,c.iconType=this.iconType,c.scale=this.scale})),document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"))}get el(){return t(this)}static get watchers(){return{iconPosition:["handlePropsChange"],iconType:["handlePropsChange"],scale:["handlePropsChange"],selectionMode:["handlePropsChange"]}}};u.style=":host{position:relative;display:block;max-inline-size:100%;line-height:1.5rem}.accordion{border-width:1px;border-block-end-width:0px;border-style:solid;border-color:var(--calcite-accordion-border-color, var(--calcite-color-border-2));background-color:var(--calcite-accordion-background-color, var(--calcite-color-foreground-1))}.accordion--transparent{--calcite-accordion-border-color:transparent;border-color:var(--calcite-color-transparent);background-color:var(--calcite-color-transparent)}:host([scale=s]){--calcite-internal-accordion-item-spacing-unit:0.25rem;--calcite-internal-accordion-icon-margin:0.5rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-accordion-item-spacing-unit:0.5rem;--calcite-internal-accordion-icon-margin:0.75rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-accordion-item-spacing-unit:0.75rem;--calcite-internal-accordion-icon-margin:1rem;--calcite-internal-accordion-item-padding:var(--calcite-internal-accordion-item-spacing-unit) 1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([hidden]){display:none}[hidden]{display:none}";
|
12
12
|
/*!
|
13
13
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
14
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
15
|
-
* v2.13.
|
15
|
+
* v2.13.2
|
16
16
|
*/
|
17
|
-
const k="actions-start",y="actions-end",w="header",C="icon",I="icon--end",A="icon--start",z="section",j="section-toggle",P=class{constructor(e){
|
17
|
+
const k="actions-start",y="actions-end",w="header",C="icon",I="icon--end",A="icon--start",z="section",j="section-toggle",P=class{constructor(e){c(this,e),this.calciteInternalAccordionItemSelect=i(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=i(this,"calciteInternalAccordionItemClose",6),this.storeHeaderEl=c=>{this.headerEl=c},this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconPosition=void 0,this.iconType=void 0,this.accordionParent=void 0,this.scale=void 0}connectedCallback(){n(this)}componentWillLoad(){v(this)}componentDidLoad(){g(this)}disconnectedCallback(){r(this)}renderActionsStart(){const{el:c}=this;return l(c,k)?e("div",{class:"actions-start"},e("slot",{name:k})):null}renderActionsEnd(){const{el:c}=this;return l(c,y)?e("div",{class:"actions-end"},e("slot",{name:y})):null}render(){const{iconFlipRtl:c}=this,i=d(this.el),t=this.iconStart?e("calcite-icon",{class:{[C]:!0,[A]:!0},flipRtl:"both"===c||"start"===c,icon:this.iconStart,key:"icon-start",scale:p(this.scale)}):null,a=this.iconEnd?e("calcite-icon",{class:{[I]:!0,[C]:!0},flipRtl:"both"===c||"end"===c,icon:this.iconEnd,key:"icon-end",scale:p(this.scale)}):null,{description:n}=this;return e(o,{key:"73a74d61e41199c57868bd5375ba1b08f8e19dbc"},e("div",{key:"ce9e0a74ea1eb93b7e2f00e95e6a092dcf99726b",class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},e("div",{key:"18af6a636b01a816363edf73bd05a486ac0cc2b2",class:{[w]:!0,[m.rtl]:"rtl"===i}},this.renderActionsStart(),e("div",{key:"8a82a3acec9576d7e936714d1bee0bd2a1cc4ab1","aria-controls":z,"aria-expanded":s(this.expanded),class:"header-content",id:j,onClick:this.itemHeaderClickHandler,ref:this.storeHeaderEl,role:"button",tabindex:"0"},e("div",{key:"b9b223e8e0b0f60d9f6f9c5a9bda1458def7ae01",class:"header-container"},t,e("div",{key:"ccdba89b98942b7163d09a0f78175c374aba5875",class:"header-text"},e("span",{key:"c91bcaf36ba60ac2a8ef06e3356a15d1f3a7e78f",class:"heading"},this.heading),n?e("span",{class:"description"},n):null),a),e("calcite-icon",{key:"aebf05069b1ceae376fb67074aad773c4f403c16",class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:p(this.scale)})),this.renderActionsEnd()),e("section",{key:"7371b06f1ec99aab9351113663eda976540ae7b0","aria-labelledby":j,class:"content",id:z},e("slot",{key:"69b851d2989876bece534e499a039e55eaabb1ec"}))))}keyDownHandler(c){if(c.target===this.el)switch(c.key){case" ":case"Enter":this.emitRequestedItem(),c.preventDefault()}}updateActiveItemOnChange(c){const[i]=c.composedPath(),e=h(this.el,"calcite-accordion");i===e&&(this.determineActiveItem(e.selectionMode,c.detail.requestedAccordionItem),c.stopPropagation())}accordionItemSyncHandler(c){const[i]=c.composedPath(),e=this.el;if(e.parentElement===i)return;const t=h(e,"calcite-accordion");i===t&&(this.iconPosition=t.iconPosition,this.iconType=t.iconType,this.scale=t.scale,c.stopPropagation())}async setFocus(){await b(this),this.headerEl.focus()}determineActiveItem(c,i){switch(c){case"multiple":this.el===i&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===i&&!this.expanded;break;case"single-persist":this.expanded=this.el===i}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}get el(){return t(this)}};P.style=".icon-position--end,.icon-position--start{--calcite-internal-accordion-item-icon-rotation:calc(90deg * -1);--calcite-internal-accordion-item-active-icon-rotation:0deg;--calcite-internal-accordion-item-icon-rotation-rtl:90deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:0deg}:host{position:relative;display:flex;flex-direction:column;text-decoration-line:none;color:var(--calcite-accordion-item-text-color, var(--calcite-accordion-text-color, var(--calcite-color-text-3)));background-color:var(--calcite-accordion-item-background-color);border-width:0}:host .header{background-color:var(--calcite-accordion-item-header-background-color)}.icon-position--start{--calcite-internal-accordion-item-flex-direction:row-reverse;--calcite-internal-accordion-item-icon-spacing-start:0;--calcite-internal-accordion-item-icon-spacing-end:var(--calcite-internal-accordion-icon-margin)}.icon-position--end{--calcite-internal-accordion-item-flex-direction:row;--calcite-internal-accordion-item-icon-spacing-start:var(--calcite-internal-accordion-icon-margin);--calcite-internal-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-internal-accordion-item-icon-rotation:0deg;--calcite-internal-accordion-item-active-icon-rotation:180deg;--calcite-internal-accordion-item-icon-rotation-rtl:0deg;--calcite-internal-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}.content,.header{border-block-end-width:var(--calcite-border-width-sm);border-block-end-style:solid;border-color:var(--calcite-accordion-item-border-color, var(--calcite-accordion-border-color, var(--calcite-color-border-2)))}.header-content,.content{padding:var(--calcite-accordion-item-content-space, var(--calcite-internal-accordion-item-padding, var(--calcite-internal-accordion-item-spacing-unit, 0.5rem 0.75rem)))}.header{display:flex;align-items:stretch}.header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.header-content{flex-grow:1;cursor:pointer;outline-color:transparent;flex-direction:var(--calcite-internal-accordion-item-flex-direction);color:var(--calcite-accordion-item-heading-text-color, var(--calcite-accordion-text-color, inherit))}.header-content:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.header-content:focus,.header-content:hover,.header-content:active{color:var(--calcite-accordion-item-heading-text-color, var(--calcite-accordion-text-color-hover, var(--calcite-color-text-2)))}.header-content:focus .heading,.header-content:hover .heading,.header-content:active .heading{color:var(--calcite-accordion-item-heading-text-color, var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1)))}.header-container{inline-size:100%}.header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}.heading,.description{display:flex;inline-size:100%}.heading{font-weight:var(--calcite-font-weight-medium)}.actions-start,.actions-end{display:flex;align-items:center}.icon{display:flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-end)}.icon--start{color:var(--calcite-accordion-item-start-icon-color, var(--calcite-accordion-item-icon-color, currentColor));margin-inline-end:var(--calcite-internal-accordion-icon-margin)}.icon--end{color:var(--calcite-accordion-item-end-icon-color, var(--calcite-accordion-item-icon-color, currentColor));margin-inline-end:var(--calcite-internal-accordion-icon-margin);margin-inline-start:var(--calcite-internal-accordion-icon-margin)}.expand-icon{color:var(--calcite-accordion-item-expand-icon-color, var(--calcite-accordion-item-text-color, var(--calcite-accordion-text-color, var(--calcite-color-text-3))));margin-inline-start:var(--calcite-internal-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-internal-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-internal-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-icon-rotation-rtl))}.description{margin-block-start:0.25rem}.content{display:none;padding-block-start:0px;text-align:initial}:host(:not(:focus):not(:hover):not([expanded])) .heading{color:var(--calcite-accordion-item-heading-text-color, var(--calcite-accordion-item-text-color-hover, var(--calcite-color-text-2)))}:host([expanded]){color:var(--calcite-accordion-item-text-color, var(--calcite-accordion-text-color, var(--calcite-accordion-text-color-pressed, var(--calcite-color-text-1))))}:host([expanded]) .header{border-block-end-color:transparent}:host([expanded]) .expand-icon{color:var(--calcite-accordion-item-expand-icon-color, var(--calcite-accordion-item-text-color, var(--calcite-accordion-text-color, var(--calcite-accordion-item-text-color-hover, var(--calcite-color-text-2)))));transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-internal-accordion-item-active-icon-rotation-rtl))}:host([expanded]) .description{color:var(--calcite-accordion-item-text-color, var(--calcite-accordion-text-color, var(--calcite-accordion-item-text-color-hover, var(--calcite-color-text-2))))}:host([expanded]) .content{display:block}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}.header-content:hover .heading,.header-content:focus .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";export{u as calcite_accordion,P as calcite_accordion_item}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{d as _}from"./p-
|
6
|
+
import{d as _}from"./p-80ff858b.js";import"./p-4e6eb06e.js";import"./p-9c5d5171.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-770a5a64.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-7f68e6a4.js";import"./p-08c18450.js";import"./p-177b4cbc.js";import"./p-85c3237c.js";import"./p-d9e9fe80.js";import"./p-7eee9aa8.js";import"./p-fd019d15.js";import"./p-bd7be7a7.js";import"./p-cb8d90d1.js";import"./p-e37e117f.js";import"./p-a71250ea.js";var r="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),t="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),p="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),e="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),m=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function s(_,r,t){var p,e;return"m"===t?r?"минута":"минуту":_+" "+(p=+_,e={mm:r?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[t].split("_"),p%10==1&&p%100!=11?e[0]:p%10>=2&&p%10<=4&&(p%100<10||p%100>=20)?e[1]:e[2])}var o=function(_,p){return m.test(p)?r[_.month()]:t[_.month()]};o.s=t,o.f=r;var a=function(_,r){return m.test(r)?p[_.month()]:e[_.month()]};a.s=e,a.f=p;var i={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:o,monthsShort:a,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:s,mm:s,h:"час",hh:s,d:"день",dd:s,M:"месяц",MM:s,y:"год",yy:s},ordinal:function(_){return _},meridiem:function(_){return _<4?"ночи":_<12?"утра":_<17?"дня":"вечера"}};_.locale(i,null,!0);export{i as default}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as e,c as t,h as i,F as n,g as a,H as s}from"./p-4e6eb06e.js";import{g as o}from"./p-7d974838.js";import{t as l,d as c,s as r,e as d,f as h}from"./p-621ad249.js";import{g as p}from"./p-7d542581.js";import{i as f}from"./p-233f219c.js";import{s as m,a as u,c as g}from"./p-ad9d1221.js";import{a as b,C as v,I as x,S as y}from"./p-3cfc1e2e.js";import{u as k,I as w}from"./p-d6902512.js";import{c as z}from"./p-ff336351.js";import{H as C}from"./p-b13aca6a.js";import{c as S,d as I}from"./p-895e7b9c.js";import{c as j,s as A,d as E,u as H}from"./p-efaa77a0.js";import{d as M}from"./p-f746ec20.js";import{S as P,C as D,I as F,a as L}from"./p-3776809a.js";import"./p-91371f97.js";import"./p-4f82eb55.js";import"./p-c8d3207e.js";const B=["ArrowUp","ArrowDown","End","Home"],T=class{constructor(i){e(this,i),this.calciteActionMenuOpen=t(this,"calciteActionMenuOpen",6),this.actionElements=[],this.guid=`calcite-action-menu-${p()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:e,menuId:t,open:i,label:n}=this,a=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==a&&(this.disconnectMenuButtonEl(),this.menuButtonEl=a,this.setTooltipReferenceElement(),a&&(a.active=i,a.setAttribute("aria-controls",t),a.setAttribute("aria-expanded",l(i)),a.setAttribute("aria-haspopup","true"),a.id||(a.id=e),a.label||(a.label=n),a.text||(a.text=n),a.addEventListener("click",this.menuButtonClick),a.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:e}=this;e&&(e.removeEventListener("click",this.menuButtonClick),e.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=e=>{const t=e.target.assignedElements({flatten:!0}).filter((e=>e?.matches("calcite-action")));this.slottedMenuButtonEl=t[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=e=>{this.defaultMenuButtonEl=e,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=()=>{this.toggleOpen()},this.updateTooltip=e=>{const t=e.target.assignedElements({flatten:!0}).filter((e=>e?.matches("calcite-tooltip")));this.tooltipEl=t[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:e,expanded:t,menuButtonEl:i,open:n}=this;e&&(e.referenceElement=t||n?null:i)},this.updateAction=(e,t)=>{const{guid:i,activeMenuItemIndex:n}=this,a=`${i}-action-${t}`;e.tabIndex=-1,e.setAttribute("role","menuitem"),e.id||(e.id=a),e.toggleAttribute(b,t===n)},this.updateActions=e=>{e?.forEach(this.updateAction)},this.handleDefaultSlotChange=e=>{const t=e.target.assignedElements({flatten:!0}).reduce(((e,t)=>t?.matches("calcite-action")?(e.push(t),e):t?.matches("calcite-action-group")?e.concat(Array.from(t.querySelectorAll("calcite-action"))):e),[]);this.actionElements=t.filter((e=>!e.disabled&&!e.hidden))},this.menuButtonKeyDown=e=>{const{key:t}=e,{actionElements:i,activeMenuItemIndex:n,open:a}=this;if(i.length){if(f(t)){if(e.preventDefault(),!a)return void this.toggleOpen();const t=i[n];t?t.click():this.toggleOpen(!1)}if("Tab"!==t)return"Escape"===t?(this.toggleOpen(!1),void e.preventDefault()):void this.handleActionNavigation(e,t,i);this.open=!1}},this.handleActionNavigation=(e,t,i)=>{if(!this.isValidKey(t,B))return;if(e.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==t&&"ArrowDown"!==t||(this.activeMenuItemIndex=0),void("End"!==t&&"ArrowUp"!==t||(this.activeMenuItemIndex=i.length-1));"Home"===t&&(this.activeMenuItemIndex=0),"End"===t&&(this.activeMenuItemIndex=i.length-1);const n=this.activeMenuItemIndex;"ArrowUp"===t&&(this.activeMenuItemIndex=o(Math.max(n-1,-1),i.length)),"ArrowDown"===t&&(this.activeMenuItemIndex=o(n+1,i.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(e=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=e},this.handlePopoverOpen=()=>{this.open=!0},this.handlePopoverClose=()=>{this.open=!1},this.appearance="solid",this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}connectedCallback(){this.connectMenuButtonEl()}componentWillLoad(){m(this)}componentDidLoad(){u(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(e){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=e),this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){return await g(this),c(this.menuButtonEl)}renderMenuButton(){const{appearance:e,label:t,scale:n,expanded:a}=this;return i("slot",{name:y.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{appearance:e,class:v.defaultTrigger,icon:x.menu,ref:this.setDefaultMenuButtonEl,scale:n,text:t,textEnabled:a}))}renderMenuItems(){const{actionElements:e,activeMenuItemIndex:t,open:n,menuId:a,menuButtonEl:s,label:o,placement:l,overlayPositioning:c,flipPlacements:r}=this,d=e[t];return i("calcite-popover",{autoClose:!0,flipPlacements:r,focusTrapDisabled:!0,label:o,offsetDistance:0,onCalcitePopoverClose:this.handlePopoverClose,onCalcitePopoverOpen:this.handlePopoverOpen,open:n,overlayPositioning:c,placement:l,pointerDisabled:!0,referenceElement:s},i("div",{"aria-activedescendant":d?.id||null,"aria-labelledby":s?.id,class:v.menu,id:a,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return i(n,{key:"d13aa4f3d43fb5651c0487ccfa456813f69955d2"},this.renderMenuButton(),this.renderMenuItems(),i("slot",{key:"b63d187516c766db6a1b1db3df34050fdec9e6ce",name:y.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(e,t){return!!t.find((t=>t===e))}get el(){return a(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};T.style=":host{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-1)}::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{display:flex;max-block-size:45vh;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;outline:2px solid transparent;outline-offset:2px;gap:var(--calcite-action-menu-items-space, 0)}:host([hidden]){display:none}[hidden]{display:none}";const O=class{constructor(i){e(this,i),this.calcitePanelClose=t(this,"calcitePanelClose",6),this.calcitePanelToggle=t(this,"calcitePanelToggle",6),this.calcitePanelScroll=t(this,"calcitePanelScroll",6),this.resizeObserver=z("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:e}=this;e&&"number"==typeof e.scrollHeight&&"number"==typeof e.offsetHeight&&(e.scrollHeight>e.offsetHeight?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex"))},this.setContainerRef=e=>{this.containerEl=e},this.panelKeyDownHandler=e=>{this.closable&&"Escape"===e.key&&!e.defaultPrevented&&(this.handleUserClose(),e.preventDefault())},this.handleUserClose=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.open=()=>{this.isClosed=!1},this.close=async()=>{const e=this.beforeClose??(()=>Promise.resolve());try{await e()}catch(e){return void requestAnimationFrame((()=>{this.closed=!1}))}this.isClosed=!0},this.collapse=()=>{this.collapsed=!this.collapsed,this.calcitePanelToggle.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=e=>{this.hasStartActions=r(e)},this.handleHeaderActionsEndSlotChange=e=>{this.hasEndActions=r(e)},this.handleHeaderMenuActionsSlotChange=e=>{this.hasMenuItems=r(e)},this.handleActionBarSlotChange=e=>{const t=d(e).filter((e=>e?.matches("calcite-action-bar")));t.forEach((e=>e.layout="horizontal")),this.hasActionBar=!!t.length},this.handleHeaderContentSlotChange=e=>{this.hasHeaderContent=r(e)},this.handleFabSlotChange=e=>{this.hasFab=r(e)},this.handleFooterActionsSlotChange=e=>{this.hasFooterActions=r(e)},this.handleFooterEndSlotChange=e=>{this.hasFooterEndContent=r(e)},this.handleFooterStartSlotChange=e=>{this.hasFooterStartContent=r(e)},this.handleFooterSlotChange=e=>{this.hasFooterContent=r(e)},this.contentBottomSlotChangeHandler=e=>{this.hasContentBottom=r(e)},this.contentTopSlotChangeHandler=e=>{this.hasContentTop=r(e)},this.setPanelScrollEl=e=>{this.panelScrollEl=e,this.resizeObserver?.disconnect(),e&&(this.resizeObserver?.observe(e),this.resizeHandler())},this.handleAlertsSlotChange=e=>{d(e)?.map((e=>{"CALCITE-ALERT"===e.nodeName&&(e.embedded=!0)}))},this.beforeClose=void 0,this.closed=!1,this.disabled=!1,this.closable=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuFlipPlacements=void 0,this.menuOpen=!1,this.menuPlacement=M,this.messageOverrides=void 0,this.messages=void 0,this.overlayPositioning="absolute",this.scale="m",this.isClosed=!1,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasContentBottom=!1,this.hasContentTop=!1,this.hasFab=!1,this.hasFooterActions=!1,this.hasFooterContent=!1,this.hasFooterEndContent=!1,this.hasFooterStartContent=!1,this.defaultMessages=void 0,this.effectiveLocale="",this.showHeaderContent=!1}toggleDialog(e){e?this.close():this.open()}onMessagesChange(){}connectedCallback(){S(this),j(this)}async componentWillLoad(){m(this),this.isClosed=this.closed,await A(this)}componentDidLoad(){u(this)}componentDidRender(){k(this)}disconnectedCallback(){I(this),E(this),this.resizeObserver?.disconnect()}effectiveLocaleChange(){H(this,this.effectiveLocale)}async setFocus(){await g(this),h(this.containerEl)}async scrollContentTo(e){this.panelScrollEl?.scrollTo(e)}renderHeaderContent(){const{heading:e,headingLevel:t,description:n,hasHeaderContent:a}=this,s=e?i(C,{class:D.heading,level:t},e):null,o=n?i("span",{class:D.description},n):null;return a||!s&&!o?null:i("div",{class:D.headerContent,key:"header-content"},s,o)}renderActionBar(){return i("div",{class:D.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:P.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:D.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:P.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:e}=this;return i("div",{class:{[D.headerActionsStart]:!0,[D.headerActions]:!0},hidden:!e,key:"header-actions-start"},i("slot",{name:P.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{hasEndActions:e,messages:t,closable:n,collapsed:a,collapseDirection:s,collapsible:o,hasMenuItems:c}=this,{collapse:r,expand:d,close:h}=t,p=[L.expand,L.collapse];"up"===s&&p.reverse();const f=o?i("calcite-action",{"aria-expanded":l(!a),"aria-label":r,icon:a?p[0]:p[1],id:F.collapse,onClick:this.collapse,scale:this.scale,text:r,title:a?d:r}):null,m=n?i("calcite-action",{"aria-label":h,icon:L.close,id:F.close,onClick:this.handleUserClose,scale:this.scale,text:h,title:h}):null,u=i("slot",{name:P.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange}),g=e||f||m||c;return i("div",{class:{[D.headerActionsEnd]:!0,[D.headerActions]:!0},hidden:!g,key:"header-actions-end"},u,this.renderMenu(),f,m)}renderMenu(){const{hasMenuItems:e,messages:t,menuOpen:n,menuFlipPlacements:a,menuPlacement:s}=this;return i("calcite-action-menu",{flipPlacements:a??["top","bottom"],hidden:!e,key:"menu",label:t.options,open:n,overlayPositioning:this.overlayPositioning,placement:s},i("calcite-action",{icon:L.menu,scale:this.scale,slot:y.trigger,text:t.options}),i("slot",{name:P.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:e,hasStartActions:t,hasEndActions:n,closable:a,collapsible:s,hasMenuItems:o,hasActionBar:l}=this,c=this.renderHeaderContent(),r=e||!!c||t||n||s||a||o;return this.showHeaderContent=r,i("header",{class:D.header,hidden:!(r||l)},i("div",{class:{[D.headerContainer]:!0,[D.headerContainerBorderEnd]:l},hidden:!r},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),c,this.renderHeaderActionsEnd()),this.renderActionBar(),this.renderContentTop())}renderFooterNode(){const{hasFooterEndContent:e,hasFooterStartContent:t,hasFooterContent:n,hasFooterActions:a}=this;return i("footer",{class:D.footer,hidden:!(t||e||n||a)},i("div",{class:D.footerContent,hidden:!n},i("slot",{name:P.footer,onSlotchange:this.handleFooterSlotChange})),i("div",{class:D.footerStart,hidden:n||!t},i("slot",{name:P.footerStart,onSlotchange:this.handleFooterStartSlotChange})),i("div",{class:D.footerEnd,hidden:n||!e},i("slot",{name:P.footerEnd,onSlotchange:this.handleFooterEndSlotChange})),i("div",{class:D.footerActions,hidden:n||!a},i("slot",{key:"footer-actions-slot",name:P.footerActions,onSlotchange:this.handleFooterActionsSlotChange})))}renderContent(){return i("div",{class:D.contentWrapper,hidden:this.collapsible&&this.collapsed,onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},i("slot",null),this.renderFab())}renderContentBottom(){return i("div",{class:D.contentBottom,hidden:!this.hasContentBottom},i("slot",{name:P.contentBottom,onSlotchange:this.contentBottomSlotChangeHandler}))}renderContentTop(){return i("div",{class:D.contentTop,hidden:!this.hasContentTop},i("slot",{name:P.contentTop,onSlotchange:this.contentTopSlotChangeHandler}))}renderFab(){return i("div",{class:D.fabContainer,hidden:!this.hasFab},i("slot",{name:P.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{disabled:e,loading:t,isClosed:n}=this,a=i("article",{key:"0f439dffdca536eb6973ac386b0566091249aee3","aria-busy":l(t),class:D.container,hidden:n,ref:this.setContainerRef},this.renderHeaderNode(),this.renderContent(),this.renderContentBottom(),this.renderFooterNode(),i("slot",{key:"alerts",name:P.alerts,onSlotchange:this.handleAlertsSlotChange}));return i(s,{key:"6e5baec07ecb356871dea038ebc2d5ee2d8ed54f",onKeyDown:this.panelKeyDownHandler},i(w,{key:"924cda1799b359f1bb3fb119cebfff5a7349b72d",disabled:e},t?i("calcite-scrim",{loading:t}):null,a))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{closed:["toggleDialog"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};O.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}:host([scale=s]){--calcite-internal-panel-default-padding:var(--calcite-spacing-sm);--calcite-internal-panel-header-vertical-padding:10px}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-panel-default-padding:var(--calcite-spacing-md);--calcite-internal-panel-header-vertical-padding:var(--calcite-spacing-lg)}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-panel-default-padding:var(--calcite-spacing-xl);--calcite-internal-panel-header-vertical-padding:var(--calcite-spacing-xxl)}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0);line-height:1.25rem}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;border-block-start:1px solid var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1)}.container{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-color-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1);border-block-end:var(--calcite-panel-header-border-block-end, 1px solid var(--calcite-color-border-3))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-color-border-3)}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{color:var(--calcite-color-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{position:relative;display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;outline-color:transparent;padding:var(--calcite-panel-content-space, 0);background:var(--calcite-panel-background-color, var(--calcite-color-background))}.content-wrapper:focus-visible{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.content-top,.content-bottom{padding:var(--calcite-internal-panel-default-padding)}.header-content{flex:1 1 auto;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-padding)}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--2);line-height:1.375;border-block-start:1px solid var(--calcite-color-border-3);padding:var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-padding))}.footer-content{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:center}.footer-actions{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:space-evenly;gap:var(--calcite-internal-panel-default-padding)}.footer-start{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-start;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-padding)}.footer-end{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-end;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-padding)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}:host([hidden]){display:none}[hidden]{display:none}";export{T as calcite_action_menu,O as calcite_panel}
|
6
|
+
import{r as e,c as t,h as i,F as n,g as a,H as s}from"./p-4e6eb06e.js";import{g as o}from"./p-c8ad7a15.js";import{t as c,d as l,s as r,e as d,f as h}from"./p-26ba0cc7.js";import{g as p}from"./p-eed08718.js";import{i as f}from"./p-ec51378a.js";import{s as m,a as u,c as g}from"./p-7f68e6a4.js";import{a as b,C as v,I as x,S as y}from"./p-70e78995.js";import{u as k,I as w}from"./p-770a5a64.js";import{c as z}from"./p-85c3237c.js";import{H as C}from"./p-977c099e.js";import{c as S,d as I}from"./p-177b4cbc.js";import{c as j,s as A,d as E,u as H}from"./p-cb8d90d1.js";import{d as M}from"./p-7d5d1b0a.js";import{S as P,C as D,I as F,a as L}from"./p-63a91fdb.js";import"./p-51ab623a.js";import"./p-08c18450.js";import"./p-c8d3207e.js";const B=["ArrowUp","ArrowDown","End","Home"],T=class{constructor(i){e(this,i),this.calciteActionMenuOpen=t(this,"calciteActionMenuOpen",6),this.actionElements=[],this.guid=`calcite-action-menu-${p()}`,this.menuId=`${this.guid}-menu`,this.menuButtonId=`${this.guid}-menu-button`,this.connectMenuButtonEl=()=>{const{menuButtonId:e,menuId:t,open:i,label:n}=this,a=this.slottedMenuButtonEl||this.defaultMenuButtonEl;this.menuButtonEl!==a&&(this.disconnectMenuButtonEl(),this.menuButtonEl=a,this.setTooltipReferenceElement(),a&&(a.active=i,a.setAttribute("aria-controls",t),a.setAttribute("aria-expanded",c(i)),a.setAttribute("aria-haspopup","true"),a.id||(a.id=e),a.label||(a.label=n),a.text||(a.text=n),a.addEventListener("click",this.menuButtonClick),a.addEventListener("keydown",this.menuButtonKeyDown)))},this.disconnectMenuButtonEl=()=>{const{menuButtonEl:e}=this;e&&(e.removeEventListener("click",this.menuButtonClick),e.removeEventListener("keydown",this.menuButtonKeyDown))},this.setMenuButtonEl=e=>{const t=e.target.assignedElements({flatten:!0}).filter((e=>e?.matches("calcite-action")));this.slottedMenuButtonEl=t[0],this.connectMenuButtonEl()},this.setDefaultMenuButtonEl=e=>{this.defaultMenuButtonEl=e,this.connectMenuButtonEl()},this.handleCalciteActionClick=()=>{this.open=!1,this.setFocus()},this.menuButtonClick=()=>{this.toggleOpen()},this.updateTooltip=e=>{const t=e.target.assignedElements({flatten:!0}).filter((e=>e?.matches("calcite-tooltip")));this.tooltipEl=t[0],this.setTooltipReferenceElement()},this.setTooltipReferenceElement=()=>{const{tooltipEl:e,expanded:t,menuButtonEl:i,open:n}=this;e&&(e.referenceElement=t||n?null:i)},this.updateAction=(e,t)=>{const{guid:i,activeMenuItemIndex:n}=this,a=`${i}-action-${t}`;e.tabIndex=-1,e.setAttribute("role","menuitem"),e.id||(e.id=a),e.toggleAttribute(b,t===n)},this.updateActions=e=>{e?.forEach(this.updateAction)},this.handleDefaultSlotChange=e=>{const t=e.target.assignedElements({flatten:!0}).reduce(((e,t)=>t?.matches("calcite-action")?(e.push(t),e):t?.matches("calcite-action-group")?e.concat(Array.from(t.querySelectorAll("calcite-action"))):e),[]);this.actionElements=t.filter((e=>!e.disabled&&!e.hidden))},this.menuButtonKeyDown=e=>{const{key:t}=e,{actionElements:i,activeMenuItemIndex:n,open:a}=this;if(i.length){if(f(t)){if(e.preventDefault(),!a)return void this.toggleOpen();const t=i[n];t?t.click():this.toggleOpen(!1)}if("Tab"!==t)return"Escape"===t?(this.toggleOpen(!1),void e.preventDefault()):void this.handleActionNavigation(e,t,i);this.open=!1}},this.handleActionNavigation=(e,t,i)=>{if(!this.isValidKey(t,B))return;if(e.preventDefault(),!this.open)return this.toggleOpen(),"Home"!==t&&"ArrowDown"!==t||(this.activeMenuItemIndex=0),void("End"!==t&&"ArrowUp"!==t||(this.activeMenuItemIndex=i.length-1));"Home"===t&&(this.activeMenuItemIndex=0),"End"===t&&(this.activeMenuItemIndex=i.length-1);const n=this.activeMenuItemIndex;"ArrowUp"===t&&(this.activeMenuItemIndex=o(Math.max(n-1,-1),i.length)),"ArrowDown"===t&&(this.activeMenuItemIndex=o(n+1,i.length))},this.toggleOpenEnd=()=>{this.setFocus(),this.el.removeEventListener("calcitePopoverOpen",this.toggleOpenEnd)},this.toggleOpen=(e=!this.open)=>{this.el.addEventListener("calcitePopoverOpen",this.toggleOpenEnd),this.open=e},this.handlePopoverOpen=()=>{this.open=!0},this.handlePopoverClose=()=>{this.open=!1},this.appearance="solid",this.expanded=!1,this.flipPlacements=void 0,this.label=void 0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.scale=void 0,this.menuButtonEl=void 0,this.activeMenuItemIndex=-1}connectedCallback(){this.connectMenuButtonEl()}componentWillLoad(){m(this)}componentDidLoad(){u(this)}disconnectedCallback(){this.disconnectMenuButtonEl()}expandedHandler(){this.open=!1,this.setTooltipReferenceElement()}openHandler(e){this.activeMenuItemIndex=this.open?0:-1,this.menuButtonEl&&(this.menuButtonEl.active=e),this.calciteActionMenuOpen.emit(),this.setTooltipReferenceElement()}activeMenuItemIndexHandler(){this.updateActions(this.actionElements)}async setFocus(){return await g(this),l(this.menuButtonEl)}renderMenuButton(){const{appearance:e,label:t,scale:n,expanded:a}=this;return i("slot",{name:y.trigger,onSlotchange:this.setMenuButtonEl},i("calcite-action",{appearance:e,class:v.defaultTrigger,icon:x.menu,ref:this.setDefaultMenuButtonEl,scale:n,text:t,textEnabled:a}))}renderMenuItems(){const{actionElements:e,activeMenuItemIndex:t,open:n,menuId:a,menuButtonEl:s,label:o,placement:c,overlayPositioning:l,flipPlacements:r}=this,d=e[t];return i("calcite-popover",{autoClose:!0,flipPlacements:r,focusTrapDisabled:!0,label:o,offsetDistance:0,onCalcitePopoverClose:this.handlePopoverClose,onCalcitePopoverOpen:this.handlePopoverOpen,open:n,overlayPositioning:l,placement:c,pointerDisabled:!0,referenceElement:s},i("div",{"aria-activedescendant":d?.id||null,"aria-labelledby":s?.id,class:v.menu,id:a,onClick:this.handleCalciteActionClick,role:"menu",tabIndex:-1},i("slot",{onSlotchange:this.handleDefaultSlotChange})))}render(){return i(n,{key:"d13aa4f3d43fb5651c0487ccfa456813f69955d2"},this.renderMenuButton(),this.renderMenuItems(),i("slot",{key:"b63d187516c766db6a1b1db3df34050fdec9e6ce",name:y.tooltip,onSlotchange:this.updateTooltip}))}isValidKey(e,t){return!!t.find((t=>t===e))}get el(){return a(this)}static get watchers(){return{expanded:["expandedHandler"],open:["openHandler"],activeMenuItemIndex:["activeMenuItemIndexHandler"]}}};T.style=":host{box-sizing:border-box;display:flex;flex-direction:column;font-size:var(--calcite-font-size-1)}::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}.default-trigger{position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}slot[name=trigger]::slotted(calcite-action),calcite-action::slotted([slot=trigger]){position:relative;block-size:100%;flex:0 1 auto;align-self:stretch}.menu{display:flex;max-block-size:45vh;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;overflow-x:hidden;outline:2px solid transparent;outline-offset:2px;gap:var(--calcite-action-menu-items-space, 0)}:host([hidden]){display:none}[hidden]{display:none}";const O=class{constructor(i){e(this,i),this.calcitePanelClose=t(this,"calcitePanelClose",6),this.calcitePanelToggle=t(this,"calcitePanelToggle",6),this.calcitePanelScroll=t(this,"calcitePanelScroll",6),this.resizeObserver=z("resize",(()=>this.resizeHandler())),this.resizeHandler=()=>{const{panelScrollEl:e}=this;e&&"number"==typeof e.scrollHeight&&"number"==typeof e.offsetHeight&&(e.scrollHeight>e.offsetHeight?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex"))},this.setContainerRef=e=>{this.containerEl=e},this.panelKeyDownHandler=e=>{this.closable&&"Escape"===e.key&&!e.defaultPrevented&&(this.handleUserClose(),e.preventDefault())},this.handleUserClose=()=>{this.closed=!0,this.calcitePanelClose.emit()},this.open=()=>{this.isClosed=!1},this.close=async()=>{const e=this.beforeClose??(()=>Promise.resolve());try{await e()}catch(e){return void requestAnimationFrame((()=>{this.closed=!1}))}this.isClosed=!0},this.collapse=()=>{this.collapsed=!this.collapsed,this.calcitePanelToggle.emit()},this.panelScrollHandler=()=>{this.calcitePanelScroll.emit()},this.handleHeaderActionsStartSlotChange=e=>{this.hasStartActions=r(e)},this.handleHeaderActionsEndSlotChange=e=>{this.hasEndActions=r(e)},this.handleHeaderMenuActionsSlotChange=e=>{this.hasMenuItems=r(e)},this.handleActionBarSlotChange=e=>{const t=d(e).filter((e=>e?.matches("calcite-action-bar")));t.forEach((e=>e.layout="horizontal")),this.hasActionBar=!!t.length},this.handleHeaderContentSlotChange=e=>{this.hasHeaderContent=r(e)},this.handleFabSlotChange=e=>{this.hasFab=r(e)},this.handleFooterActionsSlotChange=e=>{this.hasFooterActions=r(e)},this.handleFooterEndSlotChange=e=>{this.hasFooterEndContent=r(e)},this.handleFooterStartSlotChange=e=>{this.hasFooterStartContent=r(e)},this.handleFooterSlotChange=e=>{this.hasFooterContent=r(e)},this.contentBottomSlotChangeHandler=e=>{this.hasContentBottom=r(e)},this.contentTopSlotChangeHandler=e=>{this.hasContentTop=r(e)},this.setPanelScrollEl=e=>{this.panelScrollEl=e,this.resizeObserver?.disconnect(),e&&(this.resizeObserver?.observe(e),this.resizeHandler())},this.handleAlertsSlotChange=e=>{d(e)?.map((e=>{"CALCITE-ALERT"===e.nodeName&&(e.embedded=!0)}))},this.beforeClose=void 0,this.closed=!1,this.disabled=!1,this.closable=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.headingLevel=void 0,this.loading=!1,this.heading=void 0,this.description=void 0,this.menuFlipPlacements=void 0,this.menuOpen=!1,this.menuPlacement=M,this.messageOverrides=void 0,this.messages=void 0,this.overlayPositioning="absolute",this.scale="m",this.isClosed=!1,this.hasStartActions=!1,this.hasEndActions=!1,this.hasMenuItems=!1,this.hasHeaderContent=!1,this.hasActionBar=!1,this.hasContentBottom=!1,this.hasContentTop=!1,this.hasFab=!1,this.hasFooterActions=!1,this.hasFooterContent=!1,this.hasFooterEndContent=!1,this.hasFooterStartContent=!1,this.defaultMessages=void 0,this.effectiveLocale="",this.showHeaderContent=!1}toggleDialog(e){e?this.close():this.open()}onMessagesChange(){}connectedCallback(){S(this),j(this)}async componentWillLoad(){m(this),this.isClosed=this.closed,await A(this)}componentDidLoad(){u(this)}componentDidRender(){k(this)}disconnectedCallback(){I(this),E(this),this.resizeObserver?.disconnect()}effectiveLocaleChange(){H(this,this.effectiveLocale)}async setFocus(){await g(this),h(this.containerEl)}async scrollContentTo(e){this.panelScrollEl?.scrollTo(e)}renderHeaderContent(){const{heading:e,headingLevel:t,description:n,hasHeaderContent:a}=this,s=e?i(C,{class:D.heading,level:t},e):null,o=n?i("span",{class:D.description},n):null;return a||!s&&!o?null:i("div",{class:D.headerContent,key:"header-content"},s,o)}renderActionBar(){return i("div",{class:D.actionBarContainer,hidden:!this.hasActionBar},i("slot",{name:P.actionBar,onSlotchange:this.handleActionBarSlotChange}))}renderHeaderSlottedContent(){return i("div",{class:D.headerContent,hidden:!this.hasHeaderContent,key:"slotted-header-content"},i("slot",{name:P.headerContent,onSlotchange:this.handleHeaderContentSlotChange}))}renderHeaderStartActions(){const{hasStartActions:e}=this;return i("div",{class:{[D.headerActionsStart]:!0,[D.headerActions]:!0},hidden:!e,key:"header-actions-start"},i("slot",{name:P.headerActionsStart,onSlotchange:this.handleHeaderActionsStartSlotChange}))}renderHeaderActionsEnd(){const{hasEndActions:e,messages:t,closable:n,collapsed:a,collapseDirection:s,collapsible:o,hasMenuItems:l}=this,{collapse:r,expand:d,close:h}=t,p=[L.expand,L.collapse];"up"===s&&p.reverse();const f=o?i("calcite-action",{"aria-expanded":c(!a),"aria-label":r,icon:a?p[0]:p[1],id:F.collapse,onClick:this.collapse,scale:this.scale,text:r,title:a?d:r}):null,m=n?i("calcite-action",{"aria-label":h,icon:L.close,id:F.close,onClick:this.handleUserClose,scale:this.scale,text:h,title:h}):null,u=i("slot",{name:P.headerActionsEnd,onSlotchange:this.handleHeaderActionsEndSlotChange}),g=e||f||m||l;return i("div",{class:{[D.headerActionsEnd]:!0,[D.headerActions]:!0},hidden:!g,key:"header-actions-end"},u,this.renderMenu(),f,m)}renderMenu(){const{hasMenuItems:e,messages:t,menuOpen:n,menuFlipPlacements:a,menuPlacement:s}=this;return i("calcite-action-menu",{flipPlacements:a??["top","bottom"],hidden:!e,key:"menu",label:t.options,open:n,overlayPositioning:this.overlayPositioning,placement:s},i("calcite-action",{icon:L.menu,scale:this.scale,slot:y.trigger,text:t.options}),i("slot",{name:P.headerMenuActions,onSlotchange:this.handleHeaderMenuActionsSlotChange}))}renderHeaderNode(){const{hasHeaderContent:e,hasStartActions:t,hasEndActions:n,closable:a,collapsible:s,hasMenuItems:o,hasActionBar:c}=this,l=this.renderHeaderContent(),r=e||!!l||t||n||s||a||o;return this.showHeaderContent=r,i("header",{class:D.header,hidden:!(r||c)},i("div",{class:{[D.headerContainer]:!0,[D.headerContainerBorderEnd]:c},hidden:!r},this.renderHeaderStartActions(),this.renderHeaderSlottedContent(),l,this.renderHeaderActionsEnd()),this.renderActionBar(),this.renderContentTop())}renderFooterNode(){const{hasFooterEndContent:e,hasFooterStartContent:t,hasFooterContent:n,hasFooterActions:a}=this;return i("footer",{class:D.footer,hidden:!(t||e||n||a)},i("div",{class:D.footerContent,hidden:!n},i("slot",{name:P.footer,onSlotchange:this.handleFooterSlotChange})),i("div",{class:D.footerStart,hidden:n||!t},i("slot",{name:P.footerStart,onSlotchange:this.handleFooterStartSlotChange})),i("div",{class:D.footerEnd,hidden:n||!e},i("slot",{name:P.footerEnd,onSlotchange:this.handleFooterEndSlotChange})),i("div",{class:D.footerActions,hidden:n||!a},i("slot",{key:"footer-actions-slot",name:P.footerActions,onSlotchange:this.handleFooterActionsSlotChange})))}renderContent(){return i("div",{class:D.contentWrapper,hidden:this.collapsible&&this.collapsed,onScroll:this.panelScrollHandler,ref:this.setPanelScrollEl},i("slot",null),this.renderFab())}renderContentBottom(){return i("div",{class:D.contentBottom,hidden:!this.hasContentBottom},i("slot",{name:P.contentBottom,onSlotchange:this.contentBottomSlotChangeHandler}))}renderContentTop(){return i("div",{class:D.contentTop,hidden:!this.hasContentTop},i("slot",{name:P.contentTop,onSlotchange:this.contentTopSlotChangeHandler}))}renderFab(){return i("div",{class:D.fabContainer,hidden:!this.hasFab},i("slot",{name:P.fab,onSlotchange:this.handleFabSlotChange}))}render(){const{disabled:e,loading:t,isClosed:n}=this,a=i("article",{key:"0f439dffdca536eb6973ac386b0566091249aee3","aria-busy":c(t),class:D.container,hidden:n,ref:this.setContainerRef},this.renderHeaderNode(),this.renderContent(),this.renderContentBottom(),this.renderFooterNode(),i("slot",{key:"alerts",name:P.alerts,onSlotchange:this.handleAlertsSlotChange}));return i(s,{key:"6e5baec07ecb356871dea038ebc2d5ee2d8ed54f",onKeyDown:this.panelKeyDownHandler},i(w,{key:"924cda1799b359f1bb3fb119cebfff5a7349b72d",disabled:e},t?i("calcite-scrim",{loading:t}):null,a))}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{closed:["toggleDialog"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};O.style=":host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;overflow:hidden;--calcite-min-header-height:calc(var(--calcite-icon-size) * 3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}:host([scale=s]){--calcite-internal-panel-default-padding:var(--calcite-spacing-sm);--calcite-internal-panel-header-vertical-padding:10px}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-internal-panel-default-padding:var(--calcite-spacing-md);--calcite-internal-panel-header-vertical-padding:var(--calcite-spacing-lg)}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-internal-panel-default-padding:var(--calcite-spacing-xl);--calcite-internal-panel-header-vertical-padding:var(--calcite-spacing-xxl)}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0);line-height:1.25rem}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;border-block-start:1px solid var(--calcite-color-border-3);background-color:var(--calcite-color-foreground-1)}.container{position:relative;margin:0px;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;background-color:var(--calcite-color-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), inline-size var(--calcite-animation-timing)}.container[hidden]{display:none}.header{z-index:var(--calcite-z-index-header);display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1);border-block-end:var(--calcite-panel-header-border-block-end, 1px solid var(--calcite-color-border-3))}.header-container{display:flex;inline-size:100%;flex-direction:row;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-color-border-3)}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:0.75rem;padding-block:0.875rem;margin-inline-end:auto}.header-content .heading,.header-content .description{display:block;overflow-wrap:break-word;padding:0px}.header-content .heading{margin-inline:0px;margin-block:0px 0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.header-content .heading:only-child{margin-block-end:0px}.header-content .description{color:var(--calcite-color-text-2)}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-color-border-3);border-inline-end-width:1px}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch}.header-actions--end{margin-inline-start:auto}.content-wrapper{display:flex;block-size:100%;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;outline-color:transparent;padding:var(--calcite-panel-content-space, 0);background:var(--calcite-panel-background-color, var(--calcite-color-background))}.content-wrapper:focus-visible{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.content-top,.content-bottom{padding:var(--calcite-internal-panel-default-padding)}.header-content{flex:1 1 auto;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-padding)}.footer{margin-block-start:auto;display:flex;flex-direction:row;align-content:space-between;align-items:center;justify-content:center;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--2);line-height:1.375;border-block-start:1px solid var(--calcite-color-border-3);padding:var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-padding))}.footer-content{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:center}.footer-actions{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:space-evenly;gap:var(--calcite-internal-panel-default-padding)}.footer-start{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-start;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-padding)}.footer-end{display:flex;flex:1 1 0%;flex-direction:row;align-items:center;justify-content:flex-end;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-padding)}.fab-container{position:sticky;inset-block-end:0px;z-index:var(--calcite-z-index-sticky);margin-block:0px;margin-inline:auto;display:block;padding:0.5rem;inset-inline:0;inline-size:-moz-fit-content;inline-size:fit-content}:host([hidden]){display:none}[hidden]{display:none}";export{T as calcite_action_menu,O as calcite_panel}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{d as s}from"./p-
|
6
|
+
import{d as s}from"./p-80ff858b.js";import"./p-4e6eb06e.js";import"./p-9c5d5171.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-770a5a64.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-7f68e6a4.js";import"./p-08c18450.js";import"./p-177b4cbc.js";import"./p-85c3237c.js";import"./p-d9e9fe80.js";import"./p-7eee9aa8.js";import"./p-fd019d15.js";import"./p-bd7be7a7.js";import"./p-cb8d90d1.js";import"./p-e37e117f.js";import"./p-a71250ea.js";var i="sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),m="sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),a=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,e=function(s,e){return a.test(e)?i[s.month()]:m[s.month()]};e.s=m,e.f=i;var M={name:"lt",weekdays:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),weekdaysShort:"sek_pir_ant_tre_ket_pen_šeš".split("_"),weekdaysMin:"s_p_a_t_k_pn_š".split("_"),months:e,monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"už %s",past:"prieš %s",s:"kelias sekundes",m:"minutę",mm:"%d minutes",h:"valandą",hh:"%d valandas",d:"dieną",dd:"%d dienas",M:"mėnesį",MM:"%d mėnesius",y:"metus",yy:"%d metus"},format:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"}};s.locale(M,null,!0);export{M as default}
|
@@ -3,9 +3,9 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{n,a as e,i as t,b as r}from"./p-
|
6
|
+
import{n,a as e,i as t,b as r}from"./p-177b4cbc.js";import{d as u}from"./p-bd7be7a7.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.
|
10
|
+
* v2.13.2
|
11
11
|
*/const i=5;function o(n,t,u=!0,i){const o={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:r(t)};return u&&(o.second="2-digit",i&&(o.fractionalSecondDigits=i)),e(n,o)}function a(n,e){if(null==n)return;const t=n.toString(),r=u(n);if(n<1&&r>0&&r<4){const n=t.replace("0.","");return e&&n.length!==e&&n.length<e?n.padEnd(e,"0"):n}return n>=0&&n<10?t.padStart(2,"0"):n>=10?t:void 0}function l(n){if(!S(n))return null;const{hour:e,minute:t,second:r,fractionalSecond:u}=h(n);let i=`${a(parseInt(e))}:${a(parseInt(t))}`;return r&&(i+=`:${a(parseInt(r))}`,u&&(i+=`.${u}`)),i}function c(n,e){return d("meridiem",o(n,e).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))?"12":"24"}function s(e,t){return n.numberFormatOptions={locale:e,numberingSystem:t},n.localize("1.1").split("")[1]}function f(n,e,t="latn"){return d(`${n}Suffix`,o(e,t).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))))}function d(n,e){if(!n||!e)return null;if("hourSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"hour"===n))),t=e.indexOf(e.find((({type:n})=>"minute"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("minuteSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"minute"===n))),t=e.indexOf(e.find((({type:n})=>"second"===n))),r=e[n+1];return r&&"literal"===r.type&&t-n==2&&r.value?.trim()||null}if("secondSuffix"===n){const n=e.indexOf(e.find((({type:n})=>"second"===n))),t=e[n+1];return t&&"literal"===t.type&&t.value?.trim()||null}return e.find((({type:e})=>"meridiem"==n?"dayPeriod"===e:e===n))?.value||null}function m(n){if(!t(n))return null;const e=parseInt(n);return e>=0&&e<=11?"AM":"PM"}function p(n){if("ar"===n||"he"===n)return 0;const e=function({value:n,locale:e,numberingSystem:t}){if(!S(n))return null;const{hour:r,minute:u,second:i="0"}=h(n),a=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(u),parseInt(i)));return a?o(e,t).formatToParts(a):null}({value:"00:00:00",locale:n,numberingSystem:"latn"});return e.findIndex((n=>"dayPeriod"===n.type))}function S(n){if(!n||n.startsWith(":")||n.endsWith(":"))return!1;const e=n.split(":");if(!(e.length>1&&e.length<4))return!1;const[r,u,i]=e,o=parseInt(e[0]),a=parseInt(e[1]),l=parseInt(e[2]),c=t(r)&&o>=0&&o<24,s=t(u)&&a>=0&&a<60,f=t(i)&&l>=0&&l<60;return!!(c&&s&&!i||c&&s&&f)||void 0}function I({value:e,part:r,locale:u,numberingSystem:i}){if("fractionalSecond"===r){const t=s(u,i);let r=null;if(e){n.numberFormatOptions={locale:u,numberingSystem:i};const o=n.localize("0");0===parseInt(e)?r="".padStart(e.length,o):(r=n.localize(`0.${e}`).replace(`${o}${t}`,""),r.length<e.length&&(r=r.padEnd(e.length,o)))}return r}if(!function(n,e){if("meridiem"===e)return"AM"===n||"PM"===n;if(!t(n))return!1;const r=Number(n);return"hour"===e?r>=0&&r<24:r>=0&&r<60}(e,r))return;const a=parseInt(e),l=new Date(Date.UTC(0,0,0,"hour"===r?a:"meridiem"===r?"AM"===e?0:12:0,"minute"===r?a:0,"second"===r?a:0));return l?d(r,o(u,i).formatToParts(l)):void 0}function y({value:n,locale:e,numberingSystem:t,includeSeconds:r=!0,fractionalSecondDigits:u}){if(!S(n))return null;const{hour:i,minute:a,second:l="0",fractionalSecond:c}=h(n),s=new Date(Date.UTC(0,0,0,parseInt(i),parseInt(a),parseInt(l),c&&parseInt((parseFloat(`0.${c}`)/.001).toFixed(3))));return o(e,t,r,u).format(s)||null}function b({value:n,locale:e,numberingSystem:t="latn"}){if(!S(n))return null;const{hour:r,minute:u,second:i="0",fractionalSecond:a}=h(n),l=new Date(Date.UTC(0,0,0,parseInt(r),parseInt(u),parseInt(i)));if(l){const n=o(e,t).formatToParts(l);return{localizedHour:d("hour",n),localizedHourSuffix:d("hourSuffix",n),localizedMinute:d("minute",n),localizedMinuteSuffix:d("minuteSuffix",n),localizedSecond:d("second",n),localizedDecimalSeparator:s(e,t),localizedFractionalSecond:I({value:a,part:"fractionalSecond",locale:e,numberingSystem:t}),localizedSecondSuffix:d("secondSuffix",n),localizedMeridiem:d("meridiem",n)}}return null}function h(n){if(S(n)){const[e,t,r]=n.split(":");let u=r,i=null;return r?.includes(".")&&([u,i]=r.split(".")),{fractionalSecond:i,hour:e,minute:t,second:u}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function g(n,e=!0){if(!S(n))return"";const{hour:t,minute:r,second:u,fractionalSecond:i}=h(n);let o=`${a(parseInt(t))}:${a(parseInt(r))}`;return e&&(o+=`:${a(parseInt(e&&u||"0"))}`,i&&(o+=`.${i}`)),o}export{a,b,f as c,s as d,I as e,l as f,m as g,c as h,S as i,p as j,y as l,i as m,h as p,g as t}
|
@@ -3,4 +3,4 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{d as a}from"./p-
|
6
|
+
import{d as a}from"./p-80ff858b.js";import"./p-4e6eb06e.js";import"./p-9c5d5171.js";import"./p-26ba0cc7.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-770a5a64.js";import"./p-ec51378a.js";import"./p-9ce8e34f.js";import"./p-ae019e19.js";import"./p-7f68e6a4.js";import"./p-08c18450.js";import"./p-177b4cbc.js";import"./p-85c3237c.js";import"./p-d9e9fe80.js";import"./p-7eee9aa8.js";import"./p-fd019d15.js";import"./p-bd7be7a7.js";import"./p-cb8d90d1.js";import"./p-e37e117f.js";import"./p-a71250ea.js";var r={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(a){return a+"."}};a.locale(r,null,!0);export{r as default}
|
@@ -3,9 +3,9 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as e,h as i,g as a}from"./p-4e6eb06e.js";import{g as s,t as n}from"./p-
|
6
|
+
import{r as t,c as e,h as i,g as a}from"./p-4e6eb06e.js";import{g as s,t as n}from"./p-26ba0cc7.js";import{c as o,d as c}from"./p-177b4cbc.js";import{c as r}from"./p-85c3237c.js";import{u as l,c as h,s as d,d as p}from"./p-cb8d90d1.js";import{H as g}from"./p-977c099e.js";import{l as m}from"./p-b138a65e.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-ec51378a.js";import"./p-08c18450.js";import"./p-7eee9aa8.js";
|
7
7
|
/*!
|
8
8
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
10
|
-
* v2.13.
|
10
|
+
* v2.13.2
|
11
11
|
*/const f="tip-container",v="tip-container--advancing",x="tip-container--retreating",u="chevron-left",b="chevron-right";m.deprecated("component",{name:"tip-manager",removalVersion:4,suggested:"carousel"});const y=class{constructor(i){t(this,i),this.calciteTipManagerClose=e(this,"calciteTipManagerClose",6),this.mutationObserver=r("mutation",(()=>this.setUpTips())),this.hideTipManager=()=>{this.closed=!0,this.calciteTipManagerClose.emit()},this.previousClicked=()=>{this.previousTip()},this.nextClicked=()=>{this.nextTip()},this.tipManagerKeyDownHandler=t=>{if(t.target===this.container)switch(t.key){case"ArrowRight":t.preventDefault(),this.nextTip();break;case"ArrowLeft":t.preventDefault(),this.previousTip();break;case"Home":t.preventDefault(),this.selectedIndex=0;break;case"End":t.preventDefault(),this.selectedIndex=this.total-1}},this.storeContainerRef=t=>{this.container=t},this.closed=!1,this.headingLevel=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedIndex=void 0,this.tips=void 0,this.total=void 0,this.direction=void 0,this.groupTitle=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}closedChangeHandler(){this.direction=null}onMessagesChange(){}selectedChangeHandler(){this.showSelectedTip(),this.updateGroupTitle()}async effectiveLocaleChange(){await l(this,this.effectiveLocale),this.updateGroupTitle()}connectedCallback(){o(this),h(this),this.setUpTips(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){await d(this),this.updateGroupTitle()}disconnectedCallback(){this.mutationObserver?.disconnect(),c(this),p(this)}async nextTip(){this.direction="advancing",this.selectedIndex=(this.selectedIndex+1+this.total)%this.total}async previousTip(){this.direction="retreating",this.selectedIndex=(this.selectedIndex-1+this.total)%this.total}setUpTips(){const t=Array.from(this.el.querySelectorAll("calcite-tip"));if(this.total=t.length,0===this.total)return;const e=this.el.querySelector("calcite-tip[selected]");this.tips=t,this.selectedIndex=e?t.indexOf(e):0,t.forEach((t=>{t.closeDisabled=!0})),this.showSelectedTip()}showSelectedTip(){this.tips.forEach(((t,e)=>{const i=this.selectedIndex===e;t.selected=i,t.hidden=!i}))}updateGroupTitle(){if(this.tips){const t=this.tips[this.selectedIndex].closest("calcite-tip-group");this.groupTitle=t?.groupTitle||this.messages?.defaultGroupTitle}}renderPagination(){const t=s(this.el),{selectedIndex:e,tips:a,total:n,messages:o}=this,c=o.next,r=o.defaultPaginationLabel;return a.length>1?i("footer",{class:"pagination"},i("calcite-action",{class:"page-previous",icon:"ltr"===t?u:b,onClick:this.previousClicked,scale:"m",text:o.previous}),i("span",{class:"page-position"},`${r} ${e+1}/${n}`),i("calcite-action",{class:"page-next",icon:"ltr"===t?b:u,onClick:this.nextClicked,scale:"m",text:c})):null}render(){const{closed:t,direction:e,headingLevel:a,groupTitle:s,selectedIndex:o,messages:c,total:r}=this,l=c.close;return 0===r?null:i("section",{"aria-hidden":n(t),class:"container",hidden:t,onKeyDown:this.tipManagerKeyDownHandler,ref:this.storeContainerRef,tabIndex:0},i("header",{class:"header"},i(g,{class:"heading",level:a},s),i("calcite-action",{class:"close",onClick:this.hideTipManager,scale:"m",text:l},i("calcite-icon",{icon:"x",scale:"m"}))),i("div",{class:{[f]:!0,[v]:!t&&"advancing"===e,[x]:!t&&"retreating"===e},key:o,tabIndex:0},i("slot",null)),this.renderPagination())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{closed:["closedChangeHandler"],messageOverrides:["onMessagesChange"],selectedIndex:["selectedChangeHandler"],effectiveLocale:["effectiveLocaleChange"]}}};y.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2);--calcite-tip-manager-height:19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-color-border-3);padding-block:0px;padding-inline-end:0px;padding-inline-start:1rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-color-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}.tip-container{margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:1rem;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-offset-invert-focus),\n 1\n )\n )\n )}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}:host([hidden]){display:none}[hidden]{display:none}";export{y as calcite_tip_manager}
|