@esri/solutions-components 0.10.47 → 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 +27 -27
- 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 +9 -2
- 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/{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 +10 -1
- 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 +11 -3
- 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/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 +27 -27
- 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 +9 -2
- 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/{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-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-fdeceaf6.entry.js → p-bab47a85.entry.js} +5 -5
- 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-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-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-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 +4 -0
- package/package.json +6 -6
- 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-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-5f6d9950.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-d4e07230.entry.js +0 -11
- package/dist/solutions-components/p-efaa77a0.js +0 -11
- package/dist/solutions-components/p-f86c2a0c.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,45 +3,45 @@
|
|
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,f as a,g as o,H as s,d as n,F as l}from"./p-4e6eb06e.js";import{c,d as r}from"./p-
|
6
|
+
import{r as t,c as e,h as i,f as a,g as o,H as s,d as n,F as l}from"./p-4e6eb06e.js";import{c,d as r}from"./p-7cc8e95a.js";import{g as d,i as h,e as b,s as p,y as u,b as f,B as m,t as v,C as g,d as w,o as y}from"./p-26ba0cc7.js";import{c as x,d as k}from"./p-177b4cbc.js";import{c as z}from"./p-bd7be7a7.js";import{c as C,s as _,d as H,u as I}from"./p-cb8d90d1.js";import{C as T}from"./p-51ab623a.js";import{g as L}from"./p-eed08718.js";import{c as S,a as W,b as j}from"./p-e3196917.js";import{c as D}from"./p-85c3237c.js";import{I as A,u as E}from"./p-770a5a64.js";import{g as F}from"./p-ae019e19.js";import{i as M}from"./p-08c18450.js";import{s as R,a as $,c as N}from"./p-7f68e6a4.js";import{q as B,m as O,d as P,a as V,s as U,h as J,b as q,g as G,k as K,t as X,i as Y,c as Q,f as Z,e as tt,n as et,r as it,j as at,l as ot,o as st,p as nt,L as lt}from"./p-6166d8b4.js";import{d as ct,c as rt}from"./p-9c1a6360.js";import{l as dt}from"./p-b138a65e.js";import{C as ht,S as bt}from"./p-4bfecfe9.js";import{I as pt}from"./p-77469834.js";import{g as ut}from"./p-f4aadb3b.js";import{s as ft}from"./p-c350eacb.js";import{d as mt}from"./p-80cb7c73.js";import{E as vt}from"./p-d0d020a5.js";import"./p-7530a02f.js";import"./p-ec51378a.js";import"./p-c8ad7a15.js";import"./p-a3df6501.js";import"./p-c8d3207e.js";import"./p-7eee9aa8.js";import"./p-0a24ad5f.js";import"./p-d4056c1c.js";import"./p-dc9d4be3.js";import"./p-9bb44f57.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 gt="container",wt="content",yt="float--content",xt="content--overlay",kt="float-all",zt=class{constructor(i){t(this,i),this.calciteInternalShellPanelResizeStart=e(this,"calciteInternalShellPanelResizeStart",6),this.calciteInternalShellPanelResizeEnd=e(this,"calciteInternalShellPanelResizeEnd",6),this.initialContentWidth=null,this.initialContentHeight=null,this.initialClientX=null,this.initialClientY=null,this.contentWidthMax=null,this.contentWidthMin=null,this.contentHeightMax=null,this.contentHeightMin=null,this.step=1,this.stepMultiplier=10,this.actionBars=[],this.storeContentEl=t=>{this.contentEl=t},this.getKeyAdjustedSize=t=>{const{key:e}=t,{el:i,step:a,stepMultiplier:o,layout:s,contentWidthMin:n,contentWidthMax:l,initialContentWidth:c,initialContentHeight:r,contentHeightMin:h,contentHeightMax:b,position:p}=this,u=a*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const f=["ArrowLeft","ArrowRight"],m=["ArrowDown","ArrowUp"],v="rtl"===d(i)&&f.includes(e)?-1:1;if("horizontal"===s?"end"===p?e===m[1]||e===f[0]:e===m[0]||e===f[1]:e===m[1]||("end"===p?e===f[0]:e===f[1])){const e=t.shiftKey?u:a;return"horizontal"===s?r+v*e:c+v*e}if("horizontal"===s?"end"===p?e===m[0]||e===f[0]:e===m[1]||e===f[1]:e===m[0]||("end"===p?e===f[1]:e===f[0])){const e=t.shiftKey?u:a;return"horizontal"===s?r-v*e:c-v*e}return"Home"===e&&"horizontal"===s&&"number"==typeof h?h:"Home"===e&&"vertical"===s&&"number"==typeof n?n:"End"===e&&"horizontal"===s&&"number"==typeof b?b:"End"===e&&"vertical"===s&&"number"==typeof l?l:"PageDown"===e?"horizontal"===s?r-u:c-u:"PageUp"===e?"horizontal"===s?r+u:c+u:null},this.initialKeydownWidth=t=>{this.setInitialContentWidth();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentWidth(e)},this.initialKeydownHeight=t=>{this.setInitialContentHeight();const e=this.getKeyAdjustedSize(t);"number"==typeof e&&this.setContentHeight(e)},this.separatorKeyDown=t=>{"horizontal"===this.layout?this.initialKeydownHeight(t):this.initialKeydownWidth(t)},this.separatorPointerMove=t=>{t.preventDefault();const{el:e,layout:i,initialContentWidth:a,initialContentHeight:o,position:s,initialClientX:n,initialClientY:l}=this,c="horizontal"===i?t.clientY-l:t.clientX-n,r="vertical"===i&&"rtl"===d(e)?-1:1,h="end"===s?-r*c:r*c;"horizontal"===i?this.setContentHeight(o+h):this.setContentWidth(a+h)},this.separatorPointerUp=t=>{h(t)&&(this.calciteInternalShellPanelResizeEnd.emit(),t.preventDefault(),window.removeEventListener("pointerup",this.separatorPointerUp),window.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{this.initialContentHeight=this.contentEl?.getBoundingClientRect().height},this.setInitialContentWidth=()=>{this.initialContentWidth=this.contentEl?.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!h(t))return;this.calciteInternalShellPanelResizeStart.emit(),t.preventDefault();const{separatorEl:e}=this;e&&document.activeElement!==e&&e.focus(),"horizontal"===this.layout?(this.setInitialContentHeight(),this.initialClientY=t.clientY):(this.setInitialContentWidth(),this.initialClientX=t.clientX),window.addEventListener("pointerup",this.separatorPointerUp),window.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,t?.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{this.separatorEl?.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=b(t).filter((t=>t?.matches("calcite-action-bar")));this.actionBars=e,this.setActionBarsLayout(e)},this.handleHeaderSlotChange=t=>{this.hasHeader=p(t)},this.collapsed=!1,this.detached=!1,this.displayMode="dock",this.detachedHeightScale=void 0,this.heightScale=void 0,this.widthScale="m",this.layout="vertical",this.position="start",this.resizable=!1,this.messages=void 0,this.messageOverrides=void 0,this.contentWidth=null,this.contentHeight=null,this.defaultMessages=void 0,this.effectiveLocale="",this.hasHeader=!1}handleDetached(t){t?this.displayMode="float-content":"float-content"!==this.displayMode&&"float"!==this.displayMode||(this.displayMode="dock")}handleDisplayMode(t){this.detached="float-content"===t||"float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){c(this),x(this),C(this)}async componentWillLoad(){await _(this)}disconnectedCallback(){r(this),this.disconnectSeparator(),k(this),H(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){I(this,this.effectiveLocale)}renderHeader(){return i("div",{class:"content__header",hidden:!this.hasHeader,key:"header"},i("slot",{name:"header",onSlotchange:this.handleHeaderSlotChange}))}render(){const{collapsed:t,position:e,initialContentWidth:a,initialContentHeight:o,contentWidth:s,contentWidthMax:n,contentWidthMin:l,contentHeight:c,contentHeightMax:r,contentHeightMin:h,resizable:b,layout:p,displayMode:u}=this,f=d(this.el),m="float-content"!==u&&"float"!==u&&b,v=m?"horizontal"===p?c?{height:`${c}px`}:null:s?{width:`${s}px`}:null:null,g=!t&&m?i("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===p?"vertical":"horizontal","aria-valuemax":"horizontal"==p?r:n,"aria-valuemin":"horizontal"==p?h:l,"aria-valuenow":"horizontal"==p?c??o:s??a,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,ref:this.connectSeparator,role:"separator",tabIndex:0,"touch-action":"none"}):null,w=i("div",{class:{[T.rtl]:"rtl"===f,[wt]:!0,[xt]:"overlay"===u,[yt]:"float-content"===u||"float"===u,[T.calciteAnimate]:"overlay"===u,[(()=>"horizontal"===p?"start"===e?T.calciteAnimateInDown:T.calciteAnimateInUp:"ltr"===f&&"end"===e||"rtl"===f&&"start"===e?T.calciteAnimateInLeft:T.calciteAnimateInRight)()]:"overlay"===u},hidden:t,key:"content",ref:this.storeContentEl,style:v},this.renderHeader(),i("div",{class:"content__body"},i("slot",null)),g),y=[i("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),w];return"end"===e&&y.reverse(),i("div",{class:{[gt]:!0,[kt]:"float-all"===u}},y)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,a=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?z(a,i,e):a}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),a(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,a=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?z(a,i,e):a}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),a=parseInt(t.getPropertyValue("width"),10);"number"!=typeof a||isNaN(a)||(this.initialContentWidth=a),"number"!=typeof e||isNaN(e)||(this.contentWidthMax=e),"number"!=typeof i||isNaN(i)||(this.contentWidthMin=i)}updateHeights(t){const e=parseInt(t.getPropertyValue("max-height"),10),i=parseInt(t.getPropertyValue("min-height"),10),a=parseInt(t.getPropertyValue("height"),10);"number"!=typeof a||isNaN(a)||(this.initialContentHeight=a),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};zt.style=":host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-internal-shell-panel-shadow-block-start:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-block-end:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-inline-start:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-inline-end:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-internal-shell-panel-shadow-inline-end:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical][width-scale=s]:not([display-mode=float-all])) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width:var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=s][display-mode=float-all]) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]:not([display-mode=float-all])) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width:var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=m][display-mode=float-all]) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]:not([display-mode=float-all])) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width:var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][width-scale=l][display-mode=float-all]) .content{--calcite-internal-shell-panel-width:var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-internal-shell-panel-max-height:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-min-height:var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 30vh)\n )}:host([layout=horizontal][height-scale=l]) .content{--calcite-internal-shell-panel-max-height:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 40vh)\n )}.container{pointer-events:none;box-sizing:border-box;display:flex;block-size:100%;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}.container *{box-sizing:border-box}.container.float-all{margin-block:0.5rem;margin-inline:0.5rem}:host([layout=horizontal]) .container{block-size:auto;inline-size:100%;flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-color-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;cursor:col-resize;outline:none}.separator:hover{opacity:1;background-color:var(--calcite-color-border-2)}.separator:focus{background-color:var(--calcite-color-brand);opacity:1}:host([layout=vertical]) .separator{inset-block:0px;block-size:100%;inline-size:0.125rem;cursor:col-resize}:host([layout=horizontal][position=start]) .separator{inset-block-end:0px}:host([layout=horizontal][position=end]) .separator{inset-block-start:0px}:host([layout=horizontal]) .separator{inset-inline-end:0px;block-size:0.125rem;inline-size:100%;cursor:row-resize}:host([layout=vertical][position=start]) .separator{inset-inline-end:-2px}:host([layout=horizontal][position=start]) .separator{inset-block-end:-2px}:host([layout=vertical][position=end]) .separator{inset-inline-start:-2px}:host([layout=horizontal][position=end]) .separator{inset-block-start:-2px}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.content{pointer-events:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;background-color:var(--calcite-color-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-inline:0.5rem;margin-block:0.5rem auto;block-size:auto;overflow:hidden;border-radius:0.25rem;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem))}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:0.5rem}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end]):not([display-mode=float-all])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]:not([display-mode=float-all])) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]:not([display-mode=float-all])) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]:not([display-mode=float-all])) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}: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
17
|
const Ct="container",_t=class{constructor(e){t(this,e),this.guid=`calcite-tab-title-${L()}`,this.tab=void 0,this.selected=!1,this.scale="m",this.labeledBy=void 0}render(){return i(s,{key:"5b445405fc60d4af5d48e2b4b42880a47a85a1ed","aria-labelledby":this.labeledBy,id:this.el.id||this.guid},i("div",{key:"724b67e8c277d00f6408aa55f781ad8e91a34a5e",class:{[Ct]:!0,[`scale-${this.scale}`]:!0},role:"tabpanel",tabIndex:this.selected?0:-1},i("section",{key:"9a395308243994365184c0f91d8a16de357c9146",class:"content"},i("slot",{key:"0cddbc27b9d793c83fa580b9aa9c9f915675ec72"}))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){document.body?.dispatchEvent(new CustomEvent("calciteTabUnregister",{detail:this.el}))}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}async getTabIndex(){return Array.prototype.indexOf.call(u(this.el.parentElement.children).filter((t=>t.matches("calcite-tab"))),this.el)}async updateAriaInfo(t=[],e=[]){this.labeledBy=e[t.indexOf(this.el.id)]||null}get el(){return o(this)}};_t.style=":host([selected]) section,:host([selected]) .container{display:block}:host{display:none;block-size:100%;inline-size:100%}:host([selected]){display:block;block-size:100%;inline-size:100%;overflow:auto}.content{box-sizing:border-box;padding-block:var(--calcite-internal-tab-content-block-padding)}.scale-s{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.25rem);font-size:var(--calcite-font-size--2);line-height:1rem}.scale-m{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.5rem);font-size:var(--calcite-font-size--1);line-height:1rem}.scale-l{--calcite-internal-tab-content-block-padding:var(--calcite-tab-content-block-padding, 0.625rem);font-size:var(--calcite-font-size-0);line-height:1.25rem}section,.container{display:none;block-size:100%;inline-size:100%}.container{outline-color:transparent}.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 )}: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 Ht="tab-nav",It="tab-nav--end-overflow",Tt="tab-nav--start-overflow",Lt="scroll-button",St="scroll-button-container",Wt="scroll-button-container--backward",jt="scroll-button-container--forward",Dt="tab-titles-slot-wrapper",At=class{constructor(a){t(this,a),this.calciteTabChange=e(this,"calciteTabChange",6),this.calciteInternalTabNavSlotChange=e(this,"calciteInternalTabNavSlotChange",7),this.calciteInternalTabChange=e(this,"calciteInternalTabChange",6),this.effectiveDir="ltr",this.lastScrollWheelAxis="x",this.resizeObserver=D("resize",(()=>{this.updateScrollingState()})),this.onTabTitleWheel=t=>{t.preventDefault();const{deltaX:e,deltaY:i}=t,a=Math.abs(e),o=Math.abs(i);let s;a===o?s="x"===this.lastScrollWheelAxis?e:i:a>o?(s=e,this.lastScrollWheelAxis="x"):(s=i,this.lastScrollWheelAxis="y"),t.currentTarget.scrollBy(("rtl"===this.effectiveDir?-1:1)*s,0)},this.onSlotChange=t=>{this.intersectionObserver?.disconnect();const e=b(t,"calcite-tab-title");e.forEach((t=>{this.intersectionObserver?.observe(t)})),this.calciteInternalTabNavSlotChange.emit(e)},this.storeTabTitleWrapperRef=t=>{this.tabTitleContainerEl=t,this.intersectionObserver=D("intersection",(()=>this.updateScrollingState()),{root:t,threshold:[0,.5,1]})},this.scrollToTabTitles=t=>{n((()=>{const e=this.tabTitleContainerEl,i=e.getBoundingClientRect(),a=Array.from(this.el.querySelectorAll("calcite-tab-title")),{effectiveDir:o}=this;"forward"===t&&a.reverse();let s=null;if(a.forEach((e=>{const a=e.getBoundingClientRect(),n=i.x+i.width,l=a.x+a.width;"forward"===t&&"ltr"===o||"backward"===t&&"rtl"===o?(a.x>n||l>n&&a.x>i.x)&&(s=e):(l<i.x||l<n&&a.x<i.x)&&(s=e)})),s){const{scrollerButtonWidth:i}=this;e.scrollTo({left:s.offsetLeft+("forward"===t&&"ltr"===o||"backward"===t&&"rtl"===o?-i:s.offsetWidth-e.clientWidth+i),behavior:"smooth"})}}))},this.scrollToNextTabTitles=()=>this.scrollToTabTitles("forward"),this.scrollToPreviousTabTitles=()=>this.scrollToTabTitles("backward"),this.handleTabFocus=(t,e,i)=>{const a=f(this.enabledTabTitles,e,i);this.scrollTabTitleIntoView(a,"instant"),t.stopPropagation()},this.onTabTitleScroll=()=>{this.updateScrollingState()},this.renderScrollButton=t=>{const{bordered:e,messages:a,hasOverflowingStartTabTitle:o,hasOverflowingEndTabTitle:s,scale:n}=this,l="end"===t;return i("div",{class:{[St]:!0,[Wt]:!l,[jt]:l},hidden:l&&!s||!l&&!o,key:t},i("calcite-button",{appearance:e?"outline-fill":"transparent","aria-label":l?a.nextTabTitles:a.previousTabTitles,class:{[Lt]:!0},iconFlipRtl:"both",iconStart:l?"chevron-right":"chevron-left",kind:"neutral",onClick:l?this.scrollToNextTabTitles:this.scrollToPreviousTabTitles,scale:n,tabIndex:-1}))},this.storageId=void 0,this.syncId=void 0,this.selectedTitle=null,this.scale="m",this.layout="inline",this.position="bottom",this.bordered=!1,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasOverflowingStartTabTitle=!1,this.hasOverflowingEndTabTitle=!1,this.selectedTabId=void 0}selectedTitleChanged(){this.calciteInternalTabChange.emit({tab:this.selectedTabId})}onMessagesChange(){}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs"),this.resizeObserver?.observe(this.el),x(this),C(this)}async componentWillLoad(){const t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId&&localStorage.getItem(t)){const e=JSON.parse(localStorage.getItem(t));this.selectedTabId=e}await _(this)}componentDidLoad(){this.scrollTabTitleIntoView(this.selectedTitle,"instant")}componentWillRender(){const{parentTabsEl:t}=this;this.layout=t?.layout,this.bordered=t?.bordered,this.effectiveDir=d(this.el)}componentDidRender(){this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId&&this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}disconnectedCallback(){this.resizeObserver?.disconnect(),k(this),H(this)}render(){return i(s,{key:"9d1138405f2423bddcd9d1bb49dc756e582f8375",role:"tablist"},i("div",{key:"f8759781080b2a093f062d0b6172de6d3ea9355d",class:{[Ht]:!0,[Tt]:!!this.hasOverflowingStartTabTitle,[It]:!!this.hasOverflowingEndTabTitle,[`scale-${this.scale}`]:!0,[`position-${this.position}`]:!0,[T.rtl]:"rtl"===this.effectiveDir}},this.renderScrollButton("start"),i("div",{key:"eda664514cb5c89136184c6e8f29e50ce7c9b56b",class:{[Dt]:!0},onScroll:this.onTabTitleScroll,onWheel:this.onTabTitleWheel,ref:this.storeTabTitleWrapperRef},i("slot",{key:"0c5a40eac082662a2c2b032d977900b91f122214",onSlotchange:this.onSlotChange})),this.renderScrollButton("end")))}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){const e=t.target;this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(e),t.stopPropagation(),this.selectedTitle=e,this.scrollTabTitleIntoView(e)}scrollTabTitleIntoView(t,e="smooth"){t&&n((()=>{const i="ltr"===this.effectiveDir,a=this.tabTitleContainerEl,o=a.getBoundingClientRect(),s=t.getBoundingClientRect(),n=a.scrollLeft,l=i?this.hasOverflowingEndTabTitle:this.hasOverflowingStartTabTitle;s.left<o.left+((i?this.hasOverflowingStartTabTitle:this.hasOverflowingEndTabTitle)?this.scrollerButtonWidth:0)?a.scrollTo({left:n+(s.left-o.left)-this.scrollerButtonWidth,behavior:e}):s.right>o.right-(l?this.scrollerButtonWidth:0)&&a.scrollTo({left:n+(s.right-o.right)+this.scrollerButtonWidth,behavior:e})}))}activateTabHandler(t){this.calciteTabChange.emit(),t.stopPropagation()}internalCloseTabHandler(t){this.handleTabTitleClose(t.target),t.stopPropagation()}async updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail,this.selectedTitle=await this.getTabTitleById(this.selectedTabId))}globalInternalTabChangeHandler(t){this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab&&(this.selectedTabId=t.detail.tab),t.stopPropagation()}effectiveLocaleChange(){I(this,this.effectiveLocale)}async selectedTabIdChanged(){localStorage&&this.storageId&&null!=this.selectedTabId&&localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId)),this.calciteInternalTabChange.emit({tab:this.selectedTabId})}get scrollerButtonWidth(){const{scale:t}=this;return parseInt("s"===t?S:"m"===t?W:j)}updateScrollingState(){const t=this.tabTitleContainerEl;if(!t)return;let e,i;const a=t.scrollLeft,o=t.clientWidth,s=t.scrollWidth;"ltr"===this.effectiveDir?(e=a>0,i=a+o<s):(e=a<0,i=a!==-(s-o)),this.hasOverflowingStartTabTitle=e,this.hasOverflowingEndTabTitle=i}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}async getTabTitleById(t){return Promise.all(this.tabTitles.map((t=>t.getTabIdentifier()))).then((e=>this.tabTitles[e.indexOf(t)]))}get tabTitles(){return m(this.el,"calcite-tab-title")}get enabledTabTitles(){return m(this.el,"calcite-tab-title:not([disabled])").filter((t=>!t.closed))}handleTabTitleClose(t){const{tabTitles:e}=this,i=t.selected,a=e.reduce(((t,e,i)=>e.closed?t:[...t,i]),[]),o=a.length;if(1===o&&e[a[0]].closable)e[a[0]].closable=!1,this.selectedTabId=a[0],i&&e[a[0]].activateTab();else if(o>1){const i=e.findIndex((e=>e===t)),s=a.find((t=>t>i));this.selectedTabId===i&&(this.selectedTabId=s||o-1,e[this.selectedTabId].activateTab())}requestAnimationFrame((()=>{e[this.selectedTabId].focus()}))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selectedTitle:["selectedTitleChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"],selectedTabId:["selectedTabIdChanged"]}}};At.style=':host{--calcite-internal-tab-nav-gradient-start-side:left;--calcite-internal-tab-nav-gradient-end-side:right;position:relative;display:flex}.scale-s{--calcite-internal-tab-nav-scroller-button-width:24px;min-block-size:1.5rem}.scale-m{--calcite-internal-tab-nav-scroller-button-width:32px;min-block-size:2rem}.scale-l{--calcite-internal-tab-nav-scroller-button-width:44px;min-block-size:2.75rem}.calcite--rtl{--calcite-internal-tab-nav-gradient-start-side:right;--calcite-internal-tab-nav-gradient-end-side:left}.tab-nav--start-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--end-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%)}.tab-nav--start-overflow.tab-nav--end-overflow .tab-titles-slot-wrapper{-webkit-mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%), linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%);mask-image:linear-gradient(to var(--calcite-internal-tab-nav-gradient-end-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%), linear-gradient(to var(--calcite-internal-tab-nav-gradient-start-side), transparent, transparent var(--calcite-internal-tab-nav-scroller-button-width), white var(--calcite-internal-tab-nav-scroller-button-width), white 51%, transparent 51%)}.tab-nav::-webkit-scrollbar{display:none;-ms-overflow-style:none;scrollbar-width:none}:host([layout=center]) ::slotted(calcite-tab-title){display:flex;flex-grow:1;flex-shrink:0;min-inline-size:auto;white-space:nowrap}:host([layout=center]) ::slotted(calcite-tab-title[selected]){overflow:unset}:host(:not([bordered])) .scale-l{--calcite-internal-tab-nav-gap:var(--calcite-size-xxl)}:host(:not([bordered])) .scale-m{--calcite-internal-tab-nav-gap:var(--calcite-size-xl)}:host(:not([bordered])) .scale-s{--calcite-internal-tab-nav-gap:var(--calcite-size-lg)}:host(:not([bordered])) .tab-titles-slot-wrapper{gap:var(--calcite-internal-tab-nav-gap)}:host([layout=center]:not([bordered])) .tab-titles-slot-wrapper{padding-inline:var(--calcite-spacing-xxl)}.tab-nav,.tab-titles-slot-wrapper{display:flex;inline-size:100%;justify-content:flex-start;overflow:hidden;white-space:nowrap}.scroll-button-container{position:absolute;inset-block:0px}.scroll-button-container calcite-button{--calcite-offset-invert-focus:1;--calcite-color-text-1:var(--calcite-color-text-3);block-size:100%}.scroll-button-container calcite-button:hover{--calcite-color-text-1:unset;--calcite-color-foreground-1:var(--calcite-color-transparent-hover);--calcite-color-foreground-3:var(--calcite-color-transparent)}.scroll-button-container--forward{inset-inline-end:0;z-index:var(--calcite-z-index)}.scroll-button-container--backward{inset-inline-start:0;z-index:var(--calcite-z-index)}:host(:not([bordered])) .scroll-button-container--backward::before,:host(:not([bordered])) .scroll-button-container--forward::before{background-color:var(--calcite-color-border-3);content:"";inline-size:var(--calcite-border-width-sm);inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);position:absolute}:host(:not([bordered])) .scroll-button-container--backward::before{inset-inline-end:0}:host(:not([bordered])) .scroll-button-container--forward::before{inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}';
|
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
29
|
const Et="close-button",Ft="container",Mt="container--bottom",Rt="content",$t="content--has-text",Nt="icon-end",Bt="icon-present",Ot="icon-start",Pt="calcite-tab-title--icon",Vt=t=>`scale-${t}`,Ut=class{constructor(i){t(this,i),this.calciteTabsActivate=e(this,"calciteTabsActivate",6),this.calciteInternalTabsActivate=e(this,"calciteInternalTabsActivate",6),this.calciteTabsClose=e(this,"calciteTabsClose",6),this.calciteInternalTabsClose=e(this,"calciteInternalTabsClose",6),this.calciteInternalTabsFocusNext=e(this,"calciteInternalTabsFocusNext",6),this.calciteInternalTabsFocusPrevious=e(this,"calciteInternalTabsFocusPrevious",6),this.calciteInternalTabsFocusFirst=e(this,"calciteInternalTabsFocusFirst",6),this.calciteInternalTabsFocusLast=e(this,"calciteInternalTabsFocusLast",6),this.calciteInternalTabTitleRegister=e(this,"calciteInternalTabTitleRegister",6),this.calciteInternalTabIconChanged=e(this,"calciteInternalTabIconChanged",6),this.closeClickHandler=()=>{this.closeTabTitleAndNotify()},this.mutationObserver=D("mutation",(()=>this.updateHasText())),this.resizeObserver=D("resize",(()=>{this.calciteInternalTabIconChanged.emit()})),this.guid=`calcite-tab-title-${L()}`,this.selected=!1,this.closable=!1,this.closed=!1,this.disabled=!1,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.layout=void 0,this.position="top",this.scale="m",this.bordered=!1,this.tab=void 0,this.messages=void 0,this.messageOverrides=void 0,this.controls=void 0,this.defaultMessages=void 0,this.effectiveLocale=void 0,this.hasText=!1}selectedHandler(){this.selected&&this.activateTab(!1)}onMessagesChange(){}connectedCallback(){x(this),C(this),this.setupTextContentObserver(),this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){this.mutationObserver?.disconnect(),document.body?.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el})),this.resizeObserver?.disconnect(),k(this),H(this)}async componentWillLoad(){await _(this),M()&&this.updateHasText(),this.tab&&this.selected&&this.activateTab(!1)}componentWillRender(){this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.bordered=this.parentTabsEl.bordered)}render(){const{el:t,closed:e}=this,a=t.id||this.guid,o=i("calcite-icon",{key:"367d0a3590f1b47a36fcef27a4c361b2b738769a",class:{[Pt]:!0,[Ot]:!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:F(this.scale)}),n=i("calcite-icon",{key:"d41dab345260f907ad3b00538117c576856672fd",class:{[Pt]:!0,[Nt]:!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:F(this.scale)});return i(s,{key:"f5f5339ebcead5f63154d4b8f562782d20e30b06","aria-controls":this.controls,"aria-selected":v(this.selected),id:a,role:"tab",tabIndex:this.selected&&!this.disabled?0:-1},i(A,{key:"0115c7e0367be91f3a9014243fb99cecd48d5f79",disabled:this.disabled},i("div",{key:"7303b10302cfc93c03386036d98aa46a6b74afa7",class:{[Ft]:!0,[Mt]:"bottom"===this.position,[Bt]:!!this.iconStart||!!this.iconEnd,[Vt(this.scale)]:!0},hidden:e,ref:t=>this.resizeObserver?.observe(t)},i("div",{key:"af603e50b1a853f3e4ca35357ae7778ca9bdaafb",class:{[Rt]:!0,[$t]:this.hasText}},this.iconStart?o:null,i("slot",{key:"a650492336b0f78f11c0d534351b0ab570dd1db8"}),this.iconEnd?n:null),this.renderCloseButton(),i("div",{key:"8d8a0438c867cdf0c2642b9a9bc7ce697aabb871",class:"selected-indicator"}))))}renderCloseButton(){const{closable:t,messages:e}=this;return t?i("button",{"aria-label":e.close,class:Et,disabled:!1,key:Et,onClick:this.closeClickHandler,ref:t=>this.closeButtonEl=t,title:e.close,type:"button"},i("calcite-icon",{icon:"x",scale:F(this.scale)})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){E(this)}internalTabChangeHandler(t){t.composedPath().find((t=>"CALCITE-TABS"===t.tagName))===this.parentTabsEl&&(this.tab?this.selected=this.tab===t.detail.tab:this.getTabIndex().then((e=>{this.selected=e===t.detail.tab})),t.stopPropagation())}onClick(){this.activateTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":t.composedPath().includes(this.closeButtonEl)||(this.activateTab(),t.preventDefault());break;case"ArrowRight":t.preventDefault(),"ltr"===d(this.el)?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":t.preventDefault(),"ltr"===d(this.el)?this.calciteInternalTabsFocusPrevious.emit():this.calciteInternalTabsFocusNext.emit();break;case"Home":t.preventDefault(),this.calciteInternalTabsFocusFirst.emit();break;case"End":t.preventDefault(),this.calciteInternalTabsFocusLast.emit()}}async getTabIndex(){return Array.prototype.indexOf.call(u(this.el.parentElement.children).filter((t=>t.matches("calcite-tab-title"))),this.el)}async getTabIdentifier(){return this.tab?this.tab:this.getTabIndex()}async updateAriaInfo(t=[],e=[]){this.controls=t[e.indexOf(this.el.id)]||null}async activateTab(t=!0){this.disabled||this.closed||(this.calciteInternalTabsActivate.emit({tab:this.tab}),t&&requestAnimationFrame((()=>this.calciteTabsActivate.emit())))}effectiveLocaleChange(){I(this,this.effectiveLocale)}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}closeTabTitleAndNotify(){this.closed=!0,this.calciteInternalTabsClose.emit({tab:this.tab}),this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Ut.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;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px}:host([layout=inline]){flex:0 1 auto}:host([layout=center]){flex:1 1 auto}.content{position:relative;margin-block-end:0.125rem;box-sizing:border-box;display:flex;block-size:100%;align-items:center;justify-content:center}.scale-s .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}.scale-s .close-button{inline-size:1.25rem}.scale-m .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}.scale-m .close-button{inline-size:1.75rem}.scale-l .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.scale-l .close-button{inline-size:2rem}:host([closable]) .content{border-block-end-color:transparent}:host([layout=inline]) .content,:host([layout=center]) .content{padding-inline:0.25rem}:host([layout=center]) .scale-s,:host([layout=center]) .scale-m,:host([layout=center]) .scale-l{margin-block:0px;justify-content:center;text-align:center}:host([layout=center]) .scale-s .content,:host([layout=center]) .scale-m .content,:host([layout=center]) .scale-l .content{flex:1 1 auto;flex-grow:1}.container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.selected-indicator{position:absolute;display:block;block-size:0.125rem;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;inline-size:100%}.container--bottom .selected-indicator{inset-block-end:unset;inset-block-start:0}:host([bordered]) .selected-indicator{inset-block-start:0;inset-block-end:unset;inset-inline-start:-1px;inset-inline-end:0;inline-size:calc(100% + var(--calcite-spacing-base))}:host([bordered]) .container:not(.container--bottom){border-block-end:1px solid transparent}:host([bordered]:not([selected]):hover) .container:not(.container--bottom){border-block-end:1px solid var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .selected-indicator{background-color:var(--calcite-color-foreground-2)}:host([bordered]:not([selected]):hover:not(:focus)) .container:not(.container--bottom) .selected-indicator{box-shadow:inset 0 1px var(--calcite-color-border-1)}:host([bordered]:not([selected]):hover:not(:focus)) .container.container--bottom .selected-indicator{box-shadow:inset 0 -1px var(--calcite-color-border-1)}:host([bordered][selected]) .container::after{position:absolute;display:block;block-size:0.125rem;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;inset-block-end:-1px;inset-inline-start:0;inset-inline-end:0;inline-size:100%;background:var(--calcite-color-foreground-1);content:""}:host([bordered][selected]) .container.container--bottom::after{inset-block-start:-1px}:host([bordered][selected]:hover) .container::after{background:var(--calcite-color-foreground-2)}:host([bordered][selected]:focus) .container::after{background:transparent}:host([bordered]) .container--bottom .selected-indicator{inset-block-start:unset;inset-block-end:0}:host([selected]) .selected-indicator,:host([selected]:hover) .selected-indicator{background-color:var(--calcite-color-brand)}:host(:hover) .selected-indicator{background-color:var(--calcite-color-border-3)}:host(:focus) .selected-indicator,:host(:active) .selected-indicator{background-color:var(--calcite-color-brand)}@media (forced-colors: active){.selected-indicator{background-color:highlight}}:host([closed]){display:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-color-text-1)}:host(:focus) .container{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 )}:host(:focus) .container:focus-within{outline-color:transparent}:host(:active) a,:host(:focus) a,:host(:hover) a{border-color:var(--calcite-color-border-2);color:var(--calcite-color-text-1);text-decoration-line:none}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s}.content--has-text{padding:0.25rem}.content--has-text .calcite-tab-title--icon.icon-start{margin-inline-end:var(--calcite-spacing-sm)}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:var(--calcite-spacing-sm)}.close-button{display:flex;block-size:100%;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-style:none;background-color:transparent;color:var(--calcite-color-text-3);outline-color:transparent;transition:background-color, block-size, border-color, box-shadow, color, inset-block-end, inset-block-start, inset-inline-end, inset-inline-start inset-size, opacity, outline-color, transform var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;margin-inline-start:var(--calcite-spacing-sm);margin-inline-end:var(--calcite-spacing-px);block-size:calc(100% - var(--calcite-spacing-xxs))}.close-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-color-brand))}.close-button:focus,.close-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button:active{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-3)}.close-button calcite-icon{color:inherit}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:var(--calcite-spacing-sm)}:host([bordered]) .container:not(.container--bottom) .close-button{block-size:calc(100% - var(--calcite-spacing-px));margin-block-start:-1px}:host([bordered]) .container .close-button calcite-icon{margin-block-start:var(--calcite-spacing-px)}:host([bordered]) .container .close-button:focus,:host([bordered]) .container .close-button:hover,:host([bordered]) .container .close-button:active{box-shadow:0 2px 0 0 var(--calcite-color-foreground-3)}:host([bordered]) .container.container--bottom .close-button{box-shadow:0 -2px 0 0 transparent}:host([bordered]) .container.container--bottom .close-button calcite-icon{margin-block-end:var(--calcite-spacing-px)}:host([bordered]) .container.container--bottom .close-button:focus,:host([bordered]) .container.container--bottom .close-button:hover,:host([bordered]) .container.container--bottom .close-button:active{box-shadow:0 -2px 0 0 var(--calcite-color-foreground-3)}:host([bordered][selected]){box-shadow:inset 0 -1px var(--calcite-color-foreground-1)}:host([bordered]:not([selected])) .container .close-button{box-shadow:0 2px 0 0 transparent}:host([bordered]:hover) .container{background-color:var(--calcite-color-foreground-2)}:host([bordered]) .container{border-inline:var(--calcite-spacing-px) solid transparent}:host([selected][bordered]) .container{border-inline-color:var(--calcite-color-border-1)}:host([layout=inline][bordered]) .scale-m .content,:host([layout=center][bordered]) .scale-m .content{padding-inline:0.75rem}:host([layout=inline][bordered]) .scale-s .content,:host([layout=center][bordered]) .scale-s .content{padding-inline:0.5rem}:host([layout=inline][bordered]) .scale-l .content,:host([layout=center][bordered]) .scale-l .content{padding-inline:1rem}:host([layout=inline][closable]) .scale-s .content,:host([layout=inline][closable]) .scale-m .content,:host([layout=inline][closable]) .scale-l .content{padding-inline-end:0}@media (forced-colors: active){:host{outline-width:0;outline-offset:0}:host(:focus) .container{outline-color:highlight}:host([bordered]) .container{border-block-end-style:solid}:host([bordered]) .container--bottom{border-block-start-style:solid}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][selected]) .container--bottom{border-block-start-style:none}.close-button{z-index:var(--calcite-z-index)}}:host([hidden]){display:none}[hidden]{display:none}';
|
30
30
|
/*!
|
31
31
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
32
32
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
33
|
-
* v2.13.
|
33
|
+
* v2.13.2
|
34
34
|
*/
|
35
35
|
const Jt=class{constructor(e){t(this,e),this.defaultSlotChangeHandler=t=>{this.tabs=b(t,"calcite-tab")},this.setDefaultSlotRef=t=>this.slotEl=t,this.layout="inline",this.position="top",this.scale="m",this.bordered=!1,this.titles=[],this.tabs=[]}handleInheritableProps(){this.updateItems()}calciteInternalTabNavSlotChangeHandler(t){t.stopPropagation(),t.detail.length!==this.titles.length&&(this.titles=t.detail)}titlesWatcher(){this.updateAriaSettings(),this.updateItems()}tabsWatcher(){this.updateAriaSettings(),this.updateItems()}async updateAriaSettings(){let t,e;const i=g(this.slotEl,"calcite-tab");if(i.some((t=>t.tab))||this.titles.some((t=>t.tab)))t=i.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id)),e=this.titles.sort(((t,e)=>t.tab.localeCompare(e.tab))).map((t=>t.id));else{const a=await Promise.all(i.map((t=>t.getTabIndex()))),o=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=a.reduce(((t,e,a)=>(t[e]=i[a].id,t)),[]),e=o.reduce(((t,e,i)=>(t[e]=this.titles[i].id,t)),[])}i.forEach((i=>i.updateAriaInfo(t,e))),this.titles.forEach((i=>i.updateAriaInfo(t,e)))}updateItems(){const{position:t,scale:e}=this,i=this.el.querySelector("calcite-tab-nav");i&&(i.position=t,i.scale=e),Array.from(this.el.querySelectorAll("calcite-tab")).forEach((t=>{t.parentElement===this.el&&(t.scale=e)})),Array.from(this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title")).forEach((i=>{i.position=t,i.scale=e}))}connectedCallback(){this.updateItems()}async componentWillLoad(){this.updateItems()}disconnectedCallback(){}render(){return i(l,{key:"d06e888984e54b6b91b3345b42c217d322b46a64"},i("slot",{key:"d42da82a176cc1ad492cf1c548b96fc0ca53bc73",name:"title-group"}),i("section",{key:"21e944ce899b9bb2507fc9d9be81d8faa4a1a610"},i("slot",{key:"25d4cd299d8529392f6b01deefd3356f8cd6050b",onSlotchange:this.defaultSlotChangeHandler,ref:this.setDefaultSlotRef})))}get el(){return o(this)}static get watchers(){return{position:["handleInheritableProps"],scale:["handleInheritableProps"],titles:["titlesWatcher"],tabs:["tabsWatcher"]}}};Jt.style=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1), inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:0.75rem}:host([bordered][scale=m]) section{padding:0.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}";
|
36
36
|
/*!
|
37
37
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
38
38
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
39
|
-
* v2.13.
|
39
|
+
* v2.13.2
|
40
40
|
*/
|
41
41
|
function qt(t,e,i){const{items:a,messages:o}=i,s=a.length,n=B(i,t)+1;return function(t,e,i,a){return t.replace("{position}",i.toString()).replace("{itemLabel}",e).replace("{total}",a.toString())}("idle"===e?o.dragHandleIdle:"active"===e?o.dragHandleActive:"change"===e?o.dragHandleChange:o.dragHandleCommit,t.label,n,s)}function Gt(t){return{handle:t.composedPath().find((t=>void 0!==t.dataset?.jsHandle)),item:t.composedPath().find((t=>"calcite-value-list-item"===t.tagName?.toLowerCase()))}}dt.deprecated("component",{name:"value-list",removalVersion:3,suggested:"list"});const Kt=class{constructor(i){t(this,i),this.calciteListChange=e(this,"calciteListChange",6),this.calciteListOrderChange=e(this,"calciteListOrderChange",6),this.calciteListFilter=e(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=D("mutation",O.bind(this)),this.handleSelector=".handle",this.dragSelector="calcite-value-list-item",this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=P.bind(this),this.deselectSiblingItems=V.bind(this),this.selectSiblings=U.bind(this),this.handleFilter=J.bind(this),this.handleFilterEvent=q.bind(this),this.getItemData=G.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:e,item:i}=Gt(t);if(e&&!i.handleActivated&&" "===t.key&&this.updateScreenReaderText(qt(i,"commit",this)),!e||!i.handleActivated)return void K.call(this,t);t.preventDefault();const{items:a}=this;if(" "===t.key&&this.updateScreenReaderText(qt(i,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||a.length<=1)return;const{el:o}=this,s=X(this,i,"ArrowUp"===t.key?"up":"down");if(s===a.length-1)o.appendChild(i);else{const t=o.children[s];o.insertBefore(i,t===i.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>w(e))),i.handleActivated=!0,this.updateHandleAriaLabel(e,qt(i,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:e,item:i}=Gt(t);!i?.handleActivated&&i&&e&&this.updateHandleAriaLabel(e,qt(i,"idle",this))},this.disabled=!1,this.canPull=void 0,this.canPut=void 0,this.dragEnabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.group=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.messageOverrides=void 0,this.messages=void 0,this.dataForFilter=[],this.defaultMessages=void 0,this.effectiveLocale="",this.selectedValues=new Map}onMessagesChange(){}effectiveLocaleChange(){I(this,this.effectiveLocale)}connectedCallback(){x(this),C(this),Y.call(this),Q.call(this),this.setUpSorting()}async componentWillLoad(){R(this),await _(this)}componentDidLoad(){$(this),Z.call(this)}componentDidRender(){E(this)}disconnectedCallback(){ct(this),k(this),H(this),tt.call(this)}calciteListFocusOutHandler(t){et.call(this,t)}calciteListItemRemoveHandler(t){it.call(this,t)}calciteListItemChangeHandler(t){at.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){ot.call(this,t),t.stopPropagation()}onGlobalDragStart(){tt.call(this)}onGlobalDragEnd(){Q.call(this)}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.querySelectorAll("calcite-value-list-item"));const t=this.items.map((t=>t.value));this.calciteListOrderChange.emit(t)}getItems(){return Array.from(this.el.querySelectorAll("calcite-value-list-item"))}setUpItems(){st.call(this,"calcite-value-list-item"),this.setUpSorting()}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpSorting(){const{dragEnabled:t}=this;t&&rt(this)}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await N(this),nt.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t="grip"),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,e){t.ariaLabel=e}handleValueListItemBlur(t){const{item:e,handle:i}=t.detail;!e?.handleActivated&&e&&this.updateHandleAriaLabel(i,qt(e,"idle",this)),t.stopPropagation()}render(){return i(s,{key:"b9e38d57ffd1d2b686264d87f809e712c33c5cc5","aria-busy":v(this.loading),onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,role:"menu"},i(lt,{key:"18d18babe0959692bebdb17ec427b53fc4697b08",props:this}))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};Kt.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{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:0;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}calcite-value-list-item:last-of-type{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([filter-enabled]) header.sticky-pos{position:sticky;inset-block-start:0px;z-index:var(--calcite-z-index-sticky)}calcite-filter{margin-block-end:1px}.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}";
|
42
42
|
/*!
|
43
43
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
44
44
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
45
|
-
* v2.13.
|
45
|
+
* v2.13.2
|
46
46
|
*/
|
47
47
|
const Xt="actions-end",Yt="actions-start";dt.deprecated("component",{name:"value-list-item",removalVersion:3,suggested:"list-item"});const Qt=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=e(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${L()}`,this.getPickListRef=t=>this.pickListItem=t,this.handleKeyDown=t=>{" "===t.key&&(this.handleActivated=!this.handleActivated)},this.handleBlur=()=>{this.handleActivated=!1,this.calciteValueListItemDragHandleBlur.emit({item:this.el,handle:this.handleEl})},this.handleSelectChange=t=>{this.selected=t.detail.selected},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.handleActivated=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0}connectedCallback(){c(this)}disconnectedCallback(){r(this)}componentWillLoad(){R(this)}componentDidLoad(){$(this)}componentDidRender(){E(this)}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){return await N(this),this.pickListItem?.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return y(t,Xt)?i("slot",{name:Xt,slot:bt.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return y(t,Yt)?i("slot",{name:Yt,slot:bt.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:e}=this;if(t===pt.grip)return i("span",{class:{[ht.handle]:!0,[ht.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:t=>this.handleEl=t,role:"button",tabindex:"0"},i("calcite-icon",{flipRtl:e,icon:"drag",scale:"s"}))}render(){return i(s,{key:"2fc2a1a70b75c2a812f14391915c06c852db8906",id:this.el.id||this.guid},i(A,{key:"7bcc26a8f85923865a318dbdf31954a62035b853",disabled:this.disabled},this.renderHandle(),i("calcite-pick-list-item",{key:"abdbbafe6d426da62e39584e85111811beae719b",description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,ref:this.getPickListRef,removable:this.removable,selected:this.selected,value:this.value},this.renderActionsStart(),this.renderActionsEnd())))}get el(){return o(this)}};Qt.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{margin-block-end:1px;box-sizing:border-box;display:flex;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-2);--tw-shadow:0 1px 0 var(--calcite-color-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing)}:host *{box-sizing:border-box}calcite-pick-list-item{position:relative;margin:0px;flex-grow:1;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([active]),:host([selected]){--tw-shadow:0 0 0 1px var(--calcite-color-brand);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.handle{display:flex;cursor:move;align-items:center;justify-content:center;border-style:none;background-color:transparent;padding-block:0px;padding-inline:0.25rem;color:var(--calcite-color-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}.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 )}.handle--activated{background-color:var(--calcite-color-foreground-3);color:var(--calcite-color-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";const Zt=class{constructor(e){t(this,e),this.hasChanges=!1,this.hasErrors=!1,this.instanceid="",this.locale=void 0,this.value=""}get el(){return o(this)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentDidLoad(){const t=document.getElementById(`${this.instanceid}-container`);if(t){this._editor=monaco.editor.create(t,{value:this.value,language:"json",theme:"vs",minimap:{enabled:!1},automaticLayout:!0,scrollBeyondLastLine:!1}),this._currentModel=this._editor.getModel(),this._contentChanged=this._currentModel.onDidChangeContent(this._onEditorChange.bind(this));const e=monaco.editor.setModelMarkers,i=this;monaco.editor.setModelMarkers=function(t,a,o){t.id===i._currentModel.id&&(i._flagEditorHasErrors(o.length>0),i.hasErrors||(i._flagEditorHasChanges(i._currentModel?.canUndo()),i._currentModel?.canUndo()&&i._flagEditorContentChanged()),document.getElementById(`${i.instanceid}-errorFlag`).style.visibility=i.hasErrors?"visible":"hidden"),e.call(monaco.editor,t,a,o)},this._diffEditor=monaco.editor.createDiffEditor(document.getElementById(`${this.instanceid}-diff-container`),{automaticLayout:!0}),this._setDiffModel(),this._loaded=!0,this._toggleUndoRedo()}}async componentWillLoad(){this._initValueObserver(),await this._getTranslations()}render(){return i(s,{key:"ba7c8a397da913d86f5d294cdfbb5ec1b84d89de"},i("div",{key:"bc5c6d1ee443b2096cc44d0b66850d4ebe8462da",id:`${this.instanceid}-editor-container`,class:"editor-container padding-right"},i("div",{key:"dbaf682cba354ce7eef21b03a71832fd39911332",class:"editor-controls"},i("div",{key:"e454e1dd36aa620abf2ffb7877bebb9adc70ff15",class:"editor-buttons"},i("calcite-icon",{key:"1de67e151c6e65b004a431d89dc785ca286a8e11",id:`${this.instanceid}-errorFlag`,icon:"exclamation-mark-triangle",title:this._translations.errorFlag,scale:"s",class:"edit-error-flag"}),i("calcite-button",{key:"33de20955d29287a3ec981e7650562a036343e3a",id:`${this.instanceid}-undo`,color:"blue",appearance:"solid",title:this._translations.undo,onClick:()=>this._undo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"9bed02f1e8a367ad2ed764747f044a4ce27de52b",icon:"undo",scale:"s"})),i("calcite-button",{key:"07562443286c4eeec28577a7cff0401e8cea0ba8",id:`${this.instanceid}-redo`,color:"blue",appearance:"solid",title:this._translations.redo,onClick:()=>this._redo(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"5f24902a66eae644d0d358a4826a98d45e905493",icon:"redo",scale:"s"})),i("calcite-button",{key:"02f4f3f8ab93e5f1146176ec3699e2a6d25ecbeb",id:`${this.instanceid}-diff`,color:"blue",appearance:"solid",title:this._translations.diff,onClick:()=>this._toggleEditor(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"0bcd20d28e9ec34f1736a2888d78bfcd9cb82a4d",icon:"compare",scale:"s"})),i("calcite-button",{key:"cf3a7672ebd3ebef00123096ec304456b8f102fc",id:`${this.instanceid}-search`,appearance:"outline",color:"blue",title:this._translations.search,onClick:()=>this._search(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"36aac5e89ebf593d8d1981d7b8f6267fbbadfd24",icon:"search",scale:"s"})),i("calcite-button",{key:"cc981ff7580acfa3a3395c4ce7a96b3022bbbb4b",id:`${this.instanceid}-reset`,color:"blue",appearance:"solid",disabled:!0,title:this._translations.cancelEdits,onClick:()=>this._reset(),scale:"s",class:"edit-button"},i("calcite-icon",{key:"3c4fc1da749f4b4f64d814fcd58dc035634f6b1b",icon:"reset",scale:"s"})))),i("div",{key:"6c33ec4851d804dac7fd9762e3c8c7e416a27cf4",class:"edit-parent"},i("div",{key:"a6e9721127bbd43f9974af65e0899489370e1868",id:`${this.instanceid}-container`,class:"json-edit-container"}),i("div",{key:"c1d1ea305c0e451c24beddb8ac3f8e85a3fca088",id:`${this.instanceid}-diff-container`,class:"json-edit-container display-none"}))))}_cancelEditsBtnHandler;_contentChanged;_currentModel;_diffEditor;_editor;_loaded=!1;_searchBtnHandler;_translations;_useDiffEditor=!1;_valueObserver;async getEditorContents(){return new Promise(((t,e)=>{try{t(this._currentModel.getValue())}catch(t){e(t)}}))}async prepareForDeletion(){this._searchBtnHandler?.removeEventListener("click",this._search),this._cancelEditsBtnHandler?.removeEventListener("click",this._reset),this._valueObserver?.disconnect(),this._contentChanged?.dispose(),this._editor?.dispose()}async replaceCurrentSelection(t){const e=this._editor.getSelection();this._editor.executeEdits("",[{range:e,text:t}])}async reset(){return new Promise(((t,e)=>{try{this._reset(),t({success:!0})}catch(t){e(t)}}))}_disableButton(t){document.getElementById(t)?.setAttribute("disabled","")}_enableButton(t){document.getElementById(t)?.removeAttribute("disabled")}_flagEditorContentChanged(){window.dispatchEvent(new CustomEvent("solutionEditorContentChanged",{detail:{id:this.instanceid,contents:this._currentModel.getValue()},bubbles:!0,cancelable:!1,composed:!0}))}_flagEditorHasChanges(t){this.hasChanges!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasChanges",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasChanges=t)}_flagEditorHasErrors(t){this.hasErrors!==t&&(window.dispatchEvent(new CustomEvent("solutionEditorHasErrors",{detail:t,bubbles:!0,cancelable:!1,composed:!0})),this.hasErrors=t)}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}_initValueObserver(){this._valueObserver=new MutationObserver((t=>{t.forEach((t=>{"attributes"===t.type&&"value"===t.attributeName&&t.target[t.attributeName]!==t.oldValue&&this._loaded&&this._currentModel.setValue(this.value)}))})),this._valueObserver.observe(this.el,{attributes:!0,attributeOldValue:!0})}_onEditorChange(){this._toggleUndoRedo()}_redo(){this._currentModel?.canRedo()&&(this._currentModel.redo(),this._toggleUndoRedo())}_reset(){this._currentModel.setValue(this.value),this._toggleUndoRedo()}_search(){this._editor.trigger("toggleFind","actions.find")}_setDiffModel(){this._diffEditor&&this._diffEditor.setModel({original:monaco.editor.createModel(this.value,"json"),modified:this._editor.getModel()})}_toggleEditor(){this._useDiffEditor=!this._useDiffEditor;let t=document.getElementById(`${this.instanceid}-diff-container`),e=document.getElementById(`${this.instanceid}-container`);this._useDiffEditor?(this._setDiffModel(),t.classList.remove("display-none"),e.classList.add("display-none")):(t.classList.add("display-none"),e.classList.remove("display-none"))}_toggleUndoRedo(){this._currentModel?.canUndo()?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),this._currentModel?.canUndo()||this._currentModel?.canRedo()?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){this._currentModel?.canUndo()&&(this._currentModel.undo(),this._toggleUndoRedo())}static get assetsDirs(){return["assets"]}static get watchers(){return{locale:["localeWatchHandler"]}}};Zt.style=":host{display:block}.editor-container{position:relative;height:100%}.editor-controls{height:2.75rem;padding-right:0.5rem;background-color:#F4F4F4}.editor-buttons{float:right}html[dir=rtl] .editor-buttons{float:left}.edit-error-flag{padding-top:0.5rem;color:red;visibility:hidden}.edit-button{padding-inline-start:0.5rem}.editor-text{width:100%;overflow-y:auto;background-color:#FFFFFF}.edit-width{width:100%}.edit-parent{box-sizing:border-box;width:100%;height:calc(100% - 46px)}.json-edit-container{height:100%;width:100%;border:1px #808080 solid}.padding-right{padding-inline-end:0.125rem}.btn{margin-bottom:1rem;display:flex;align-content:center;height:25px;width:120px}.select-ctrl{margin-bottom:1rem}.all-edits{margin-top:4rem}.floating-title{font-size:2rem;z-index:100;position:absolute;left:0.5rem;pointer-events:none}.floating-title-button{pointer-events:auto}.json-editor-position1{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:100%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2a{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}.json-editor-position2b{position:absolute;right:0px;top:0px;margin:0px;height:100%;width:50%;overflow:hidden;padding:0px;max-height:100% !important}";const te=class{constructor(e){t(this,e),this.itemId="",this.locale=void 0,this.itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""},this.itemEdit=void 0,this._translations=void 0,this.thumbnail=void 0,this.thumbnailContainer=void 0}get el(){return o(this)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}async componentWillRender(){return this.itemEdit=ft.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type),Promise.resolve()}render(){return i(s,{key:"91b7ce062e477c856e3a512e5247ac9fb3299fc9"},i("div",{key:"fa10231c42260d1117b14653359f531e0688a46c",class:"parent-container"},i("div",{key:"c6a3c70442de79c97f730c5c9a351f033a75e0f5",class:"inputBottomSeparation"},i("calcite-input",{key:"8b33b09b05bd3d81bde6e739288ef806083bfe9a",id:"item-title",value:this.itemDetails.title})),i("div",{key:"288c1856a396fd47b6df74d76da153a70832a548",class:"inputBottomSeparation"},i("input",{key:"16bedd351e0be19f7ef8b0f9e30ac8d54bf19512",accept:".jpg,.gif,.png,image/jpg,image/gif,image/png",class:"display-none",onChange:t=>this._updateThumbnail(t),ref:t=>this.browseForThumbnail=t,type:"file"}),i("button",{key:"e0f9adf5152b9b292e859667bacf4d154e563302",class:"font-size--3 btn-link inline-block trailer-quarter",onClick:()=>this._getThumbnail()},i("svg",{key:"99611f9c671193b9a833b76a6ed071bc8a61b18f",class:"icon-inline icon-inline--on-left",height:"16",viewBox:"0 0 16 16",width:"16"},i("path",{key:"c499a06b58b083384ad0ab7b053c266bdc6db252",d:"M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z"})),this._translations.editThumbnail),i("div",{key:"fa7b1a1c072901eb2abed7f9c756320e03b8d7de",class:"flex"},i("div",{key:"e5e982728dfcc569987db0f3bbd621fea819fc6c",class:"img-container",ref:t=>this.thumbnailContainer=t},i("img",{key:"e09073dc5598c3dac5a020830b44e013dc884f2b",class:"scale-down",height:"133",id:"item-thumbnail",ref:t=>this.thumbnail=t,width:"200"})),i("div",{key:"3023ad5fba278e0a9982d51c63cf052ffb7a4dc4",class:"snippet-count-container"},i("calcite-input",{key:"2b57abed7b2299b29e011363976290425457f194",id:"item-snippet",maxLength:250,type:"textarea",value:this.itemDetails.snippet}),i("label",{key:"b8af7f4e80bcc1722ba512f63941dc38dc8c3ae4",class:"font-size--3",id:"item-snippet-count",ref:t=>this.itemSnippetCount=t})))),i("calcite-label",{key:"d364ae177e5ac0b8356b63cd842f5ef8f4a10bb8"},this._translations.description,i("label",{key:"88655b88d2f5fbf3a000492c780110fc3a4d0634",id:"item-description-label"},i("calcite-input",{key:"5034fb4d2ccf7927bb200dadd0d543ca05bb4da2",id:"item-description",type:"textarea",value:this.itemDetails.description}))),i("calcite-label",{key:"00f30749424b6c07279e11ba171d4335af6b6443"},this._translations.tags,i("label",{key:"64564edcf7c4a55102d06ffd1c937fd275cc0733",id:"item-tags-label"},i("calcite-input",{key:"bc46622ffde1e9064e726594fd70c43c91fe36d7",id:"item-tags",value:(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}))),"Group"!==this.itemType?i("calcite-label",null,this._translations.credits,i("label",{id:"item-credits-label"},i("calcite-input",{id:"item-credits",value:this.itemDetails.accessInformation}))):null,"Group"!==this.itemType?i("calcite-label",null,i("label",{id:"item-terms-label"},this._translations.termsOfUse,i("calcite-input",{id:"item-terms",type:"textarea",value:this.itemDetails.licenseInfo}))):null))}componentDidRender(){this._loadThumb()}browseForThumbnail;itemType;itemSnippetCount;inputReceivedHandler(t){switch(t.target.id){case"item-title":this.itemDetails.title=t.target.value,this._updateStore();break;case"item-snippet":t.target.value.length>250&&(t.target.value=t.target.value.substring(0,250)),this.itemDetails.snippet=t.target.value,this._updateLengthLabel(this.itemDetails.snippet),this._updateStore();break;case"item-description":this.itemDetails.description=t.target.value,this._updateStore();break;case"item-tags":this.itemDetails.tags=t.target.value,this._updateStore();break;case"item-credits":this.itemDetails.accessInformation=t.target.value,this._updateStore();break;case"item-terms":this.itemDetails.licenseInfo=t.target.value,this._updateStore()}}_getThumbnail(){this.browseForThumbnail.click()}_loadThumb(){this.thumbnail&&this.itemEdit?.thumbnail?(this.thumbnail.src=URL.createObjectURL(this.itemEdit.thumbnail),this.thumbnailContainer.classList.remove("empty-box"),this.thumbnail.classList.remove("display-none")):(this.thumbnailContainer.classList.add("empty-box"),this.thumbnail.classList.add("display-none"))}_updateLengthLabel(t){this.itemSnippetCount.innerText=this._translations.snippetCountPattern.replace("{{n}}",t.length.toString())}_updateStore(){this.itemEdit=ft.getItemInfo(this.itemId),this.itemEdit.item=this.itemDetails,ft.setItemInfo(this.itemEdit)}_updateThumbnail(t){const e=t.target.files;e&&e[0]&&this.thumbnail&&(this.thumbnail.src=URL.createObjectURL(e[0]),this.itemEdit=ft.getItemInfo(this.itemId),this.itemEdit.thumbnail=e[0],ft.replaceItemThumbnail(this.itemEdit))}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"]}}};te.style=".inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.icon-inline--on-left,.icon-inline--on-right{display:inline;vertical-align:middle;margin-inline-end:0.375rem;fill:#0079c1}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.img-container{display:inline;margin-inline-end:1rem;max-width:363px}.summary-count-container{display:inline;flex-grow:1;margin-inline-start:0.75rem}.snippet-count-container{width:calc(100vw - 363px)}.parent-container{max-width:100%;padding:1rem}label{position:relative;margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem;display:block;min-width:-moz-min-content;min-width:min-content}";const ee=class{constructor(e){t(this,e),this.groupId="",this.locale=void 0,this._translations=void 0,this.sharing=[]}get el(){return o(this)}itemIdWatchHandler(){const t=ft.getItemInfo(this.groupId);this.sharing=t.groupDetails}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}async componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"eca66b743e748d9f915c6d356ea84075ab21709a"},i("div",{key:"b0765e14cc9de5a81afa5d20bc41e7f78913a37e",class:"container-border"},i("calcite-label",{key:"36cbf3b48a2641bcb2107e61609c2ec6c9f18991"},this._translations.groupInfo),this._renderItems(this.sharing)))}async getShareInfo(){return this.sharing}_renderItems(t){return t&&t.length>0?t.map((t=>i("calcite-label",{layout:"inline"},i("calcite-switch",{checked:t.shareItem,id:t.id,name:"setting",onCalciteSwitchChange:t=>this._updateItem(t),scale:"m",value:"enabled"}),i("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),i("span",{class:"icon-text",title:t.title},t.title)))):null}_updateItem(t){const e=t.target.id;this.sharing=this.sharing.map((i=>{if(i.id===e){i.shareItem=t.target.checked;const a=ft.getItemInfo(e);if(i.shareItem)a.groups?a.groups.indexOf(this.groupId)<0&&a.groups.push(this.groupId):a.groups=[this.groupId];else if(a.groups){const t=a.groups.indexOf(this.groupId);t>-1&&a.groups.splice(t,1)}ft.setItemInfo(a)}return i}))}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}static get watchers(){return{groupId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};ee.style=":host{display:block}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";const ie=class{constructor(i){t(this,i),this.organizationVariableSelected=e(this,"organizationVariableSelected",7),this.locale=void 0,this.value="",this._organizationVariables=[],this._translations=void 0}get el(){return o(this)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}async componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"4d1a39b53287d445a1fc66cd5088a7bc60516ab6"},i("div",{key:"7a40ad712fe1af01e92701d128f65b0590aa15bc"},i("h4",{key:"7517fc56b5b0128ee102dc3f57e334501befe14f",class:"org-var-header"},this._translations.orgVariables)),i("div",{key:"d48cbc3ffb24ba54ded2b24c7c518ecf8114cd55",class:"container-border"},i("calcite-tree",{key:"383124c0ae3d646dc9ee857109051e7a151dbe62",id:"variable-label"},this._renderHierarchy(this._organizationVariables))))}organizationVariableSelected;_renderHierarchy(t){return t.map((t=>i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.organizationVariableSelected.emit({itemId:t,value:e})}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],value:["valueWatchHandler"]}}};ie.style=":host{display:block}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}";const ae=class{constructor(e){t(this,e),this.authentication=void 0,this.itemId="",this.locale=void 0,this.resourceFilePaths=[],this.resources=[],this._translations=void 0}get el(){return o(this)}itemIdWatchHandler(){const t=ft.getItemInfo(this.itemId);this.resourceFilePaths=t.resourceFilePaths,this.resources=t.resources.map((t=>t.substring(t.lastIndexOf("/")+1)))}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}componentWillLoad(){return this._getTranslations()}render(){const t=this._hasValidResources();return i(s,{key:"36017a54e5f8fafda593af2b727f1fbda80c7455"},i("div",{key:"eb9f53c9b4161c09e0b00d9a4d90a814d944819c",class:"resource-item"},i("div",{key:"504dfa5fb623ed27a0829f60ebbf5de17b6d467f",class:"margin-bottom-1"},i("calcite-button",{key:"e578443e1ef409917c5946c77e660c04d273cb6c",appearance:"solid",class:"resource-button",color:"blue",onClick:()=>this._addNewResource()},this._translations.addResource),i("calcite-button",{key:"e4c11326d7c5d96de1d0983eb0beb3cf726177c8",appearance:"solid",color:"blue",disabled:!t,onClick:()=>this._downloadAll()},this._translations.downloadAll)),i("div",{key:"3617bf40ac8b01d70b523642757a624c977ea491",class:"resources-container",style:{display:t?"inherit":"none"}},this._renderResourceList())))}_removedResources={};_renderResourceList(){return i("calcite-value-list",{multiple:!0},this.resourceFilePaths.reduce(((t,e)=>(e.type!==vt.Thumbnail&&t.push(this._renderResource(e)),t)),[]))}_renderResource(t){const e=t.updateType===mt.Remove;return i("calcite-value-list-item",{class:e?"disabled":"",label:t.folder?t.folder+"/"+t.filename:t.filename,nonInteractive:!0,value:t.url},i("calcite-action-group",{"expand-disabled":"true",layout:"horizontal",slot:"actions-end"},i("calcite-action",{disabled:e,icon:"download",label:this._translations.download,onClick:()=>this._download(t.url,t.filename),scale:"m",text:this._translations.download,title:this._translations.download}),i("calcite-action",{disabled:e,icon:"upload-to",label:this._translations.update,onClick:()=>this._upload(t),scale:"m",text:this._translations.update,title:this._translations.update}),i("calcite-action",{disabled:e,icon:"trash",label:this._translations.delete,onClick:()=>this._delete(t),scale:"m",text:this._translations.delete,title:this._translations.delete}),e?i("calcite-action",{icon:"reset",label:this._translations.reset,onClick:()=>this._reset(t.filename),scale:"m",text:this._translations.reset,title:this._translations.reset}):i("div",{class:"display-none"})))}_delete(t){t.updateType=mt.Remove,this.resourceFilePaths=[...this.resourceFilePaths],this._updateStore()}_reset(t){this.resourceFilePaths=this.resources.some((e=>e===t))?this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=mt.None),e))):this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=mt.Add),e))),this._updateStore()}_downloadAll(){this.resourceFilePaths.forEach((t=>{this._download(t.url,t.filename)}))}_download(t,e){t.startsWith("blob")?this.downloadFile(t,e):this.fetchAndDownload(`${t}?token=${this.authentication.token}`,e)}downloadFile(t,e){const i=document.createElement("a");i.href=t,i.download=e,i.target="_blank",i.click()}_hasValidResources(){return this.resourceFilePaths.some((t=>t.url.indexOf("_info_thumbnail")<0))}async fetchAndDownload(t,e){const i=await fetch(t),a=await i.blob(),o=URL.createObjectURL(a);this.downloadFile(o,e)}_upload(t){const e=document.createElement("input");e.classList.add("display-none"),e.onchange=this._updateResource.bind(this,t),e.type="file",e.click()}_addNewResource(){const t=document.createElement("input");t.classList.add("display-none"),t.onchange=this._add.bind(this),t.type="file",t.click()}_updateResource(t,e){const i=e.target.files;i&&i[0]&&(t.blob=i[0],t.updateType=mt.Update,this._updateStore())}_add(t){const e=t.target.files;if(e&&e[0]){const t=URL.createObjectURL(e[0]),i=e[0].name;this.resourceFilePaths.some((e=>e.filename===i&&e.url===t))||(this.resourceFilePaths=[...this.resourceFilePaths,{url:t,type:vt.Data,folder:void 0,filename:i,blob:e[0],updateType:mt.Add}],this._updateStore())}}_updateStore(){const t=ft.getItemInfo(this.itemId);t.resourceFilePaths=this.resourceFilePaths,ft.setItemInfo(t)}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};ae.style=":host{display:block}.resource-item{padding:1rem}.resource-button{margin-inline-end:1rem}.resource-progress{padding-top:1rem}.resources-container{border:1px #808080 solid}.margin-bottom-1{margin-bottom:1rem}";const oe=class{get el(){return o(this)}itemIdWatchHandler(){this._initializing=!0,this.value=JSON.stringify("data"===this.instanceid?ft.getItemInfo(this.itemId).data:ft.getItemInfo(this.itemId).properties,null,2)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}constructor(e){t(this,e),this.instanceid="",this.itemId="",this.locale=void 0,this.organizationVariables="",this.solutionVariables="",this.varsOpen=!0,this._translations=void 0,this.value="",window.addEventListener("solutionEditorContentChanged",(t=>{if(this.itemId){const{id:e,contents:i}=t.detail,[a,o]=e.split("|");if(a==this.itemId&&o===this.instanceid){if(!this._initializing&&i.length>0){const t=ft.getItemInfo(a);"data"===o?t.data=JSON.parse(i):t.properties=JSON.parse(i),ft.setItemInfo(t)}this._initializing=!1}}}))}componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"db99cf57229d7d8b9fe6315e180d95de0b20fc8d"},i("div",{key:"83473f420d1417c85ebb4119be9f359cab878c54",class:"solution-data-container"},i("calcite-shell",{key:"013754ef962c2e5c112f6a8cc6c5d1b8e768078e",class:"light var-container",dir:"ltr"},i("calcite-panel",{key:"11ab2a07fe4af542d8cefc1c131246deef43dd9a",class:"json-editor"},i("div",{key:"ba0460977eb0375acaf5b11ce951986a08ece39b",class:"solution-data-child-container calcite-match-height"},i("json-editor",{key:"53251c1583aa7e8cf2a4e9a1f22e4c72430d3928",class:"solution-data-editor-container",instanceid:this.itemId+"|"+this.instanceid,locale:this.locale,value:this.value}))),i("calcite-shell-panel",{key:"30c47797a35ff7228c4318a5633aec57de05b8cf","height-scale":"l",position:"end",slot:"contextual-panel","width-scale":"xs"},i("div",{key:"028b16654835744f0735b880ca85a3d174963414",class:this.varsOpen?"solution-data-child-container":"solution-data-child-container-collapsed"},i("calcite-button",{key:"bb5049611e778b970454544851a625ccef47d23a",appearance:"transparent",class:"collapse-btn","icon-start":this.varsOpen?"chevrons-right":"chevrons-left",id:"collapse-vars",onClick:()=>this._toggleVars(),scale:"s",title:this.varsOpen?this._translations.collapse:this._translations.expand}),i("div",{key:"c2a30a7c27db181e0dfe0e201d9d3b2742247080",class:this.varsOpen?"org-vars":"org-vars display-none",id:"orgVars"},i("solution-organization-variables",{key:"178c4301c8558c4fe7114c8f6cf5bc0df10883a0",locale:this.locale,value:this.organizationVariables})),i("div",{key:"f85375bac946cff856b6915f340bf926498265ea",class:this.varsOpen?"sol-vars":"sol-vars display-none",id:"solVars"},i("solution-variables",{key:"166d0752746994bc4aebd4e41660f8a2d2c678ea",locale:this.locale,value:this.solutionVariables})))))))}_initializing=!1;_toggleVars(){this.varsOpen=!this.varsOpen}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}static get watchers(){return{itemId:["itemIdWatchHandler"],locale:["localeWatchHandler"]}}};oe.style=":host{display:flexbox}.solution-data-container{position:absolute;height:-moz-available;height:calc(100% - 48px);height:-webkit-fill-available;height:stretch;width:-moz-available;width:100%;width:-webkit-fill-available;width:stretch}.solution-data-child-container{display:flex;height:100%;width:100%;flex-direction:column;overflow-y:auto}.solution-data-editor-container{height:100%}.solution-data-child-container-collapsed{display:flex;height:100%;flex-direction:column;overflow:auto;width:50px}.inputBottomSeparation{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1.5rem}.json-editor{margin:1rem;width:auto;width:-webkit-fill-available -moz-available}.collapse-btn{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.org-vars{padding-left:1rem;padding-right:1rem;padding-top:1rem;padding-bottom:0px}.sol-vars{padding-top:0px;padding-bottom:0px;padding-left:1rem;padding-right:1rem;min-height:45%}.padding-1{padding:1rem}.light{background-color:#F4F4F4}";const se=class{constructor(i){t(this,i),this.solutionVariableSelected=e(this,"solutionVariableSelected",7),this.value="",this.locale=void 0,this._solutionVariables=[],this._translations=void 0}get el(){return o(this)}async localeWatchHandler(){this.el.lang=this.locale,await this._getTranslations()}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}componentWillLoad(){return this._getTranslations()}render(){return i(s,{key:"a9354a1d3b3d91b9b9522bec945726e106487b78"},i("div",{key:"d38d0151ba9f8421e3ec863ce90b234964cb7f21"},i("h4",{key:"3d10129c3327e803e38b4fc21976764f9ac91693",class:"org-var-header"},this._translations.solVariables)),i("div",{key:"8b79cef63c5b8f5f66b0e11a4b94021f6a025fc3",class:"container-border"},i("calcite-tree",{key:"7f69edec6e35a65e45b461d69e92d0e163563bee",id:"variable-label"},this._renderHierarchy(this._solutionVariables))))}solutionVariableSelected;_renderHierarchy(t){return t.map((t=>t.dependencies&&t.dependencies.length>0?i("calcite-tree-item",{onClick:t=>this._toggleExpand(t)},i("solution-item-icon",{type:t.type}),i("span",{class:"icon-text",title:t.title},t.title),i("calcite-tree",{slot:"children"},this._renderHierarchy(t.dependencies))):i("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.solutionVariableSelected.emit({itemId:t,value:e})}_toggleExpand(t){const e=t?.target?.closest("calcite-tree-item");e&&(e.expanded=!e.expanded)}async _getTranslations(){const t=await ut(this.el);this._translations=t[0]}static get watchers(){return{locale:["localeWatchHandler"],value:["valueWatchHandler"]}}};se.style=":host{display:block}.container-border{overflow-y:hidden}.org-var-header{margin-top:1rem;margin-bottom:1rem;margin-left:0px;margin-right:0px}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";export{zt as calcite_shell_panel,_t as calcite_tab,At as calcite_tab_nav,Ut as calcite_tab_title,Jt as calcite_tabs,Kt as calcite_value_list,Qt as calcite_value_list_item,Zt as json_editor,te as solution_item_details,ee as solution_item_sharing,ie as solution_organization_variables,ae as solution_resource_item,oe as solution_template_data,se as solution_variables}
|
@@ -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 t,c as e,h as s,g as i}from"./p-4e6eb06e.js";import{e as a,b as c}from"./p-
|
6
|
+
import{r as t,c as e,h as s,g as i}from"./p-4e6eb06e.js";import{e as a,b as c}from"./p-26ba0cc7.js";import{u as h,I as n}from"./p-770a5a64.js";import{a as o,s as r,c as l}from"./p-7f68e6a4.js";import"./p-eed08718.js";import"./p-51ab623a.js";import"./p-08c18450.js";const d=class{constructor(s){t(this,s),this.calciteChipGroupSelect=e(this,"calciteChipGroupSelect",6),this.items=[],this.updateItems=t=>{const e=this.slotRefEl?.assignedElements({flatten:!0}).filter((t=>t?.matches("calcite-chip")));this.items=t?a(t):e,this.items?.length<1||(this.items?.forEach((t=>{t.interactive=!0,t.scale=this.scale,t.selectionMode=this.selectionMode,t.parentChipGroup=this.el})),this.setSelectedItems(!1))},this.updateSelectedItems=()=>{this.selectedItems=this.items?.filter((t=>t.selected))},this.setSelectedItems=(t,e)=>{e&&this.items?.forEach((t=>{const s=e===t;switch(this.selectionMode){case"multiple":s&&(t.selected=!t.selected);break;case"single":t.selected=!!s&&!t.selected;break;case"single-persist":t.selected=!!s}})),this.updateSelectedItems(),t&&this.calciteChipGroupSelect.emit()},this.disabled=!1,this.label=void 0,this.scale="m",this.selectionMode="none",this.selectedItems=[]}onSelectionModeChange(){this.updateItems()}componentDidRender(){h(this)}componentDidLoad(){o(this)}async componentWillLoad(){r(this)}calciteInternalChipKeyEventListener(t){if(t.composedPath().includes(this.el)){const e=this.items?.filter((t=>!t.disabled));switch(t.detail.key){case"ArrowRight":c(e,t.detail.target,"next");break;case"ArrowLeft":c(e,t.detail.target,"previous");break;case"Home":c(e,t.detail.target,"first");break;case"End":c(e,t.detail.target,"last")}}t.stopPropagation()}calciteChipCloseListener(t){const e=t.target;this.items?.includes(e)&&(this.items?.indexOf(e)>0?c(this.items,e,"previous"):0===this.items?.indexOf(e)?c(this.items,e,"next"):c(this.items,e,"first")),this.items=this.items?.filter((t=>t!==e)),t.stopPropagation()}calciteChipSelectListener(t){t.composedPath().includes(this.el)&&this.setSelectedItems(!0,t.target),t.stopPropagation()}calciteInternalChipSelectListener(t){t.composedPath().includes(this.el)&&this.setSelectedItems(!1,t.target),t.stopPropagation()}calciteInternalSyncSelectedChips(t){t.composedPath().includes(this.el)&&(this.updateSelectedItems(),"single"===this.selectionMode&&this.selectedItems.length>1&&this.setSelectedItems(!1,t.target)),t.stopPropagation()}async setFocus(){if(await l(this),!this.disabled)return(this.selectedItems[0]||this.items[0])?.setFocus()}render(){const t="none"===this.selectionMode||"multiple"===this.selectionMode?"group":"radiogroup",{disabled:e}=this;return s(n,{key:"0db5548f1c2854898191b4d6eb8140cae2faf3d8",disabled:e},s("div",{key:"60fc92fea20478ee6fde23d807f17f7f472c1f5a","aria-label":this.label,class:"container",role:t},s("slot",{key:"d43fcf04af0063cd4d00f46e6dd61347eafccb3b",onSlotchange:this.updateItems,ref:t=>this.slotRefEl=t})))}get el(){return i(this)}static get watchers(){return{selectionMode:["onSelectionModeChange"]}}};d.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}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:0.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:0.25rem}:host([scale=l]) .container{gap:0.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}";export{d as calcite_chip_group}
|
@@ -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{d as o}from"./p-4e6eb06e.js";import{w as n}from"./p-
|
6
|
+
import{d as o}from"./p-4e6eb06e.js";import{w as n}from"./p-26ba0cc7.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 e=o;function r(o){return"opened"in o?o.opened:o.open}function t(o){e((()=>{o.transitionEl&&n(o.transitionEl,o.openTransitionProp,(()=>{r(o)?o.onBeforeOpen():o.onBeforeClose()}),(()=>{r(o)?o.onOpen():o.onClose()}))}))}export{t as o}
|
@@ -7,5 +7,5 @@ import{h as t}from"./p-4e6eb06e.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
|
*/function e(t){return Math.min(Math.max(Math.ceil(t),1),6)}const r=(e,r)=>{const s=e.level?`h${e.level}`:"div";return delete e.level,t(s,{class:e.class,key:e.key},r)};export{r as H,e as c}
|
@@ -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{g as e,a as r}from"./p-
|
6
|
+
import{g as e,a as r}from"./p-6ae916a3.js";const o={CET:"Europe/Brussels",CST6CDT:"America/Chicago",EET:"Europe/Athens",EST:"America/Panama",EST5EDT:"America/New_York",HST:"Pacific/Honolulu",MET:"Europe/Brussels",MST:"America/Phoenix",MST7MDT:"America/Denver",PST8PDT:"America/Los_Angeles",WET:"Europe/Lisbon"},s=(()=>{const r=Object.keys(o);return Object.keys(e()).filter((e=>!r.includes(e)))})();function a(e){const s=o[e];if(s)return s;const a=r(e);return a?.aliasOf??e}export{a as normalize,s as timeZones}
|
@@ -13,6 +13,6 @@ function t(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Obje
|
|
13
13
|
/*!
|
14
14
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
15
15
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
16
|
-
* v2.13.
|
16
|
+
* v2.13.2
|
17
17
|
*/
|
18
18
|
const nn=new Set,en={ghostClass:"calcite-sortable--ghost",chosenClass:"calcite-sortable--chosen",dragClass:"calcite-sortable--drag",fallbackClass:"calcite-sortable--fallback"};function on(t){if(un(t))return;rn(t),nn.add(t);const{group:n,handleSelector:e,dragSelector:i}=t;t.sortable=zt.create(t.el,{dataIdAttr:"id",...en,...!!i&&{draggable:i},...!!n&&{group:{name:n,...!!t.canPull&&{pull:(n,e,i,{newIndex:o,oldIndex:r})=>t.canPull({toEl:n.el,fromEl:e.el,dragEl:i,newIndex:o,oldIndex:r})},...!!t.canPut&&{put:(n,e,i,{newIndex:o,oldIndex:r})=>t.canPut({toEl:n.el,fromEl:e.el,dragEl:i,newIndex:o,oldIndex:r})}}},handle:e,filter:`${e}[disabled]`,onStart:({from:n,item:e,to:i,newIndex:o,oldIndex:r})=>{an.active=!0,Array.from(nn).forEach((t=>t.onGlobalDragStart())),t.onDragStart({fromEl:n,dragEl:e,toEl:i,newIndex:o,oldIndex:r})},onEnd:({from:n,item:e,to:i,newIndex:o,oldIndex:r})=>{an.active=!1,Array.from(nn).forEach((t=>t.onGlobalDragEnd())),t.onDragEnd({fromEl:n,dragEl:e,toEl:i,newIndex:o,oldIndex:r})},onSort:({from:n,item:e,to:i,newIndex:o,oldIndex:r})=>{t.onDragSort({fromEl:n,dragEl:e,toEl:i,newIndex:o,oldIndex:r})}})}function rn(t){un(t)||(nn.delete(t),t.sortable?.destroy(),t.sortable=null)}const an={active:!1};function un(t){return t.dragEnabled&&an.active}export{on as c,rn as d}
|
@@ -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{h as n}from"./p-4e6eb06e.js";import{q as t,a as i}from"./p-
|
6
|
+
import{h as n}from"./p-4e6eb06e.js";import{q as t,a as i}from"./p-26ba0cc7.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 e=["calcite-input","calcite-input-number","calcite-input-text","calcite-text-area"],o="hidden-form-input";function s(n){return"checked"in n}const a=new WeakMap,c=new WeakSet;function r(n){return"CALCITE-RADIO-BUTTON"===n.nodeName?i(n,"calcite-radio-button-group"):n}const u=new CustomEvent("calciteInvalid",{bubbles:!0,composed:!0});function l(n){const t=n?.target,i=t?.validationMessage,o=r(t?.parentElement);if(!o)return;const s=o?.nodeName?.toLowerCase(),a=s?.split("-");if(a.length<2||"calcite"!==a[0])return;n?.preventDefault(),"validity"in o&&(o.validity=t?.validity),o.dispatchEvent(u),function(n,{status:t,message:i,icon:e}){"status"in n&&(n.status=t),"validationIcon"in n&&"string"!=typeof n.validationIcon&&(n.validationIcon=e),"validationMessage"in n&&!n.validationMessage&&(n.validationMessage=i)}(o,{message:i,icon:!0,status:"invalid"});const c=function(n){return`${n.split("-").map(((n,t)=>0===t?n:`${n[0].toUpperCase()}${n.slice(1)}`)).join("")}${e.includes(n)?"Input":"Change"}`}(s);o.addEventListener(c,(()=>{"status"in o&&(o.status="idle"),"validationIcon"in o&&!o.validationIcon&&(o.validationIcon=!1),"validationMessage"in o&&o.validationMessage===i&&(o.validationMessage=""),"validity"in o&&(o.validity=t?.validity)}),{once:!0})}function f(n){const{formEl:t}=n;return!!t&&(t.addEventListener("invalid",l,!0),t.requestSubmit(),t.removeEventListener("invalid",l,!0),requestAnimationFrame((()=>{const n=t.querySelectorAll("[status=invalid]");for(const t of n)if(t?.validationMessage){t?.setFocus();break}})),!0)}function d(n){n.formEl?.reset()}function m(n){const{el:t,value:e}=n,o=p(n);if(!o||function(n,t){if(i(t.parentElement,"[form]"))return!0;const e="calciteInternalFormComponentRegister";let o=!1;return n.addEventListener(e,(n=>{o=n.composedPath().some((n=>c.has(n))),n.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0})),o}(o,t))return;n.formEl=o,n.defaultValue=e,s(n)&&(n.defaultChecked=n.checked);const r=(n.onFormReset||v).bind(n);o.addEventListener("reset",r),a.set(n.el,r),c.add(t)}function p(n){const{el:e,form:o}=n;return o?t(e,{id:o}):i(e,"form")}function v(){"status"in this&&(this.status="idle"),"validationIcon"in this&&(this.validationIcon=!1),"validationMessage"in this&&(this.validationMessage=""),s(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function b(n){const{el:t,formEl:i}=n;if(!i)return;const e=a.get(t);i.removeEventListener("reset",e),a.delete(t),n.formEl=null,c.delete(t)}function h(n,t){n.defaultValue=t}const I="calciteInternalHiddenInputInput",g=n=>{n.target.dispatchEvent(new CustomEvent(I,{bubbles:!0}))},w=n=>n.removeEventListener("input",g);function C(n,t,i){const{defaultValue:e,disabled:o,form:a,name:c,required:u}=n;t.defaultValue=e,t.disabled=o,t.name=c,t.required=u,t.tabIndex=-1,a?t.setAttribute("form",a):t.removeAttribute("form"),s(n)?(t.checked=n.checked,t.defaultChecked=n.defaultChecked,t.value=n.checked?i||"on":""):t.value=i||"",n.syncHiddenFormInput?.(t);const l=r(n.el);if(l&&"validity"in l)for(const n in{...t?.validity})l.validity[n]=t.validity[n]}const E=({component:t})=>(function(n){const{el:t,formEl:i,name:e,value:s}=n,{ownerDocument:a}=t,c=t.querySelectorAll(`input[slot="${o}"]`);if(!i||!e)return void c.forEach((n=>{w(n),n.remove()}));const r=Array.isArray(s)?s:[s],u=[],l=new Set;let f;c.forEach((t=>{const i=r.find((n=>n==t.value));null!=i?(l.add(i),C(n,t,i)):u.push(t)})),r.forEach((t=>{if(l.has(t))return;let i=u.pop();i||(i=a.createElement("input"),i.slot=o),f||(f=a.createDocumentFragment()),f.append(i),i.addEventListener("input",g),C(n,i,t)})),f&&t.append(f),u.forEach((n=>{w(n),n.remove()}))}(t),n("slot",{name:o}));export{E as H,h as a,m as c,b as d,p as f,I as i,d as r,f as s}
|
@@ -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{p as n,q as t,a as e}from"./p-
|
6
|
+
import{p as n,q as t,a as e}from"./p-26ba0cc7.js";import{c}from"./p-ae019e19.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 o="calciteInternalLabelClick",s="calciteInternalLabelConnected",a="calciteInternalLabelDisconnected",i="calcite-label",r=new WeakMap,u=new WeakMap,f=new WeakMap,l=new WeakMap,m=new Set,d=n=>{const{id:c}=n,o=c&&t(n,{selector:`${i}[for="${c}"]`});if(o)return o;const s=e(n,i);return!s||function(n,t){let e;const c="custom-element-ancestor-check",o=c=>{c.stopImmediatePropagation();const o=c.composedPath();e=o.slice(o.indexOf(t),o.indexOf(n))};n.addEventListener(c,o,{once:!0}),t.dispatchEvent(new CustomEvent(c,{composed:!0,bubbles:!0})),n.removeEventListener(c,o);return e.filter((e=>e!==t&&e!==n)).filter((n=>n.tagName?.includes("-"))).length>0}(s,n)?null:s};function p(n){if(!n)return;const t=d(n.el);if(u.has(t)&&t===n.labelEl||!t&&m.has(n))return;const e=W.bind(n);if(t){n.labelEl=t;const c=r.get(t)||[];c.push(n),r.set(t,c.sort(h)),u.has(n.labelEl)||(u.set(n.labelEl,w),n.labelEl.addEventListener(o,w)),m.delete(n),document.removeEventListener(s,f.get(n)),l.set(n,e),document.addEventListener(a,e)}else m.has(n)||(e(),document.removeEventListener(a,l.get(n)))}function b(n){if(!n)return;if(m.delete(n),document.removeEventListener(s,f.get(n)),document.removeEventListener(a,l.get(n)),f.delete(n),l.delete(n),!n.labelEl)return;const t=r.get(n.labelEl);1===t.length&&(n.labelEl.removeEventListener(o,u.get(n.labelEl)),u.delete(n.labelEl)),r.set(n.labelEl,t.filter((t=>t!==n)).sort(h)),n.labelEl=null}function h(t,e){return n(t.el,e.el)?-1:1}function k(n){return n.label||n.labelEl?.textContent?.trim()||""}function w(n){const t=n.detail.sourceEvent.target,e=r.get(this),c=e.find((n=>n.el===t));if(e.includes(c))return;const o=e[0];o.disabled||o.onLabelClick(n)}function M(){m.has(this)&&p(this)}function W(){m.add(this);const n=f.get(this)||M.bind(this);f.set(this,n),document.addEventListener(s,n)}async function C(n){if(await c(n),r.has(n))return;const t=n.ownerDocument?.getElementById(n.for);t&&requestAnimationFrame((()=>{for(const n of m)if(n.el===t){p(n);break}}))}export{C as a,a as b,p as c,b as d,k as g,s as l}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as e}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={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,a){var i=r[a];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var a={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(a,null,!0);export{a as default}
|