@esri/solutions-components 0.6.23 → 0.6.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/{ExpandToggle-39e472da.js → ExpandToggle-d2cec8de.js} +9 -8
- package/dist/cjs/{FloatingArrow-8c88459a.js → FloatingArrow-814ce566.js} +1 -1
- package/dist/cjs/{Heading-8b27f655.js → Heading-2665acd8.js} +1 -1
- package/dist/cjs/{app-globals-20466254.js → app-globals-8afc8fa0.js} +3 -3
- package/dist/cjs/{ar-6b662222.js → ar-b68e4248.js} +20 -16
- package/dist/cjs/{array-a3f9baa5.js → array-d55de2d5.js} +1 -1
- package/dist/cjs/basemap-gallery_7.cjs.entry.js +22 -13
- package/dist/cjs/{bg-fa2dc0d8.js → bg-451cb8df.js} +17 -16
- package/dist/cjs/{browser-596d8e1e.js → browser-09760f9f.js} +1 -1
- package/dist/cjs/{bs-feb3d9c5.js → bs-36760197.js} +17 -16
- package/dist/cjs/buffer-tools_4.cjs.entry.js +14 -14
- package/dist/cjs/{ca-0277c48d.js → ca-0159f257.js} +17 -16
- package/dist/cjs/calcite-accordion-item.cjs.entry.js +6 -6
- package/dist/cjs/calcite-accordion.cjs.entry.js +1 -1
- package/dist/cjs/calcite-action-bar_3.cjs.entry.js +42 -34
- package/dist/cjs/calcite-action-group_2.cjs.entry.js +19 -17
- package/dist/cjs/calcite-action-pad.cjs.entry.js +13 -13
- package/dist/cjs/calcite-action_2.cjs.entry.js +18 -18
- package/dist/cjs/calcite-alert_3.cjs.entry.js +734 -0
- package/dist/cjs/calcite-avatar.cjs.entry.js +5 -5
- package/dist/cjs/calcite-block-section.cjs.entry.js +9 -9
- package/dist/cjs/calcite-block.cjs.entry.js +44 -14
- package/dist/cjs/calcite-button.cjs.entry.js +21 -15
- package/dist/cjs/calcite-card.cjs.entry.js +9 -9
- package/dist/cjs/calcite-checkbox_3.cjs.entry.js +62 -85
- package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-chip.cjs.entry.js +12 -12
- package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-color-picker.cjs.entry.js +13 -13
- package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +6 -6
- package/dist/cjs/calcite-combobox_6.cjs.entry.js +42 -44
- package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-date-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-fab.cjs.entry.js +7 -7
- package/dist/cjs/calcite-filter_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-flow-item.cjs.entry.js +28 -17
- package/dist/cjs/calcite-flow.cjs.entry.js +7 -4
- package/dist/cjs/calcite-graph.cjs.entry.js +3 -3
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +22 -21
- package/dist/cjs/calcite-input-number_2.cjs.entry.js +14 -14
- package/dist/cjs/{calcite-input-time-picker-0b068c1f.js → calcite-input-time-picker-ccb59f65.js} +97 -70
- package/dist/cjs/calcite-input-time-picker.cjs.entry.js +17 -16
- package/dist/cjs/calcite-input-time-zone.cjs.entry.js +142 -49
- package/dist/cjs/calcite-input_2.cjs.entry.js +13 -13
- package/dist/cjs/calcite-label.cjs.entry.js +5 -5
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
- package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
- package/dist/cjs/calcite-menu-item.cjs.entry.js +9 -9
- package/dist/cjs/calcite-menu.cjs.entry.js +11 -76
- package/dist/cjs/calcite-meter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-modal.cjs.entry.js +12 -12
- package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
- package/dist/cjs/calcite-navigation.cjs.entry.js +5 -5
- package/dist/cjs/calcite-notice_2.cjs.entry.js +45 -19
- package/dist/cjs/calcite-option_2.cjs.entry.js +14 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +132 -63
- package/dist/cjs/calcite-panel_2.cjs.entry.js +39 -35
- package/dist/cjs/calcite-pick-list-group.cjs.entry.js +7 -7
- package/dist/cjs/calcite-pick-list-item.cjs.entry.js +13 -13
- package/dist/cjs/calcite-pick-list.cjs.entry.js +11 -11
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -10
- package/dist/cjs/calcite-rating.cjs.entry.js +13 -13
- package/dist/cjs/calcite-scrim.cjs.entry.js +8 -8
- package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +10 -10
- package/dist/cjs/calcite-sheet.cjs.entry.js +8 -8
- package/dist/cjs/calcite-shell-center-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +25 -24
- 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 +28 -12
- package/dist/cjs/calcite-stepper.cjs.entry.js +13 -13
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-table-cell_2.cjs.entry.js +15 -13
- package/dist/cjs/calcite-table-row.cjs.entry.js +6 -6
- package/dist/cjs/calcite-table.cjs.entry.js +10 -10
- package/dist/cjs/calcite-text-area.cjs.entry.js +13 -13
- package/dist/cjs/calcite-tile-select-group.cjs.entry.js +2 -2
- package/dist/cjs/calcite-tile-select.cjs.entry.js +5 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-time-picker.cjs.entry.js +11 -11
- package/dist/cjs/calcite-tip-manager.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tip.cjs.entry.js +10 -10
- package/dist/cjs/card-manager_3.cjs.entry.js +14 -46
- package/dist/cjs/{conditionalSlot-795790b5.js → conditionalSlot-b6c29b8c.js} +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -2
- package/dist/cjs/{cs-6f20de14.js → cs-5f80bd6e.js} +17 -16
- package/dist/cjs/{da-d4b3c7de.js → da-aca16382.js} +17 -16
- package/dist/cjs/{date-c23cfae9.js → date-60e18f3e.js} +2 -2
- package/dist/cjs/{de-at-b9df2464.js → de-at-0a13e71d.js} +17 -16
- package/dist/cjs/{de-ch-8012e3ac.js → de-ch-43d6d352.js} +17 -16
- package/dist/cjs/{de-cd070c4c.js → de-ea9b8674.js} +17 -16
- package/dist/cjs/{dom-8d00cc3f.js → dom-c585dfa7.js} +3 -3
- package/dist/cjs/{el-3bafc319.js → el-7ac6dd9a.js} +17 -16
- package/dist/cjs/{en-au-69ac6dd5.js → en-au-5de83593.js} +17 -16
- package/dist/cjs/{en-ca-e2d69548.js → en-ca-a61f6ba9.js} +17 -16
- package/dist/cjs/{en-gb-43cbe44d.js → en-gb-1338ef98.js} +17 -16
- package/dist/cjs/{es-f809bdee.js → es-64cdf5af.js} +17 -16
- package/dist/cjs/{es-mx-cb6bdcde.js → es-mx-25166a52.js} +17 -16
- package/dist/cjs/{et-d1fb804f.js → et-99cffe63.js} +17 -16
- package/dist/cjs/{fi-809e575d.js → fi-2ed1b695.js} +17 -16
- package/dist/cjs/{filter-c4139795.js → filter-a4465208.js} +1 -1
- package/dist/cjs/{floating-ui-2c1a533c.js → floating-ui-3625f253.js} +31 -15
- package/dist/cjs/{focusTrapComponent-93fc2e12.js → focusTrapComponent-919e5636.js} +3 -3
- package/dist/cjs/{form-78a3337d.js → form-88dd1a8a.js} +2 -2
- package/dist/cjs/{fr-e300020c.js → fr-1ad89d6e.js} +17 -16
- package/dist/cjs/{fr-ch-ec117c1a.js → fr-ch-e2b274f9.js} +17 -16
- package/dist/cjs/globalAttributes-bb9603f4.js +77 -0
- package/dist/cjs/{guid-c351776c.js → guid-5ef151a6.js} +1 -1
- package/dist/cjs/{he-f419115b.js → he-de9f7309.js} +17 -16
- package/dist/cjs/{hi-0837fa9e.js → hi-972ca162.js} +17 -16
- package/dist/cjs/{hr-26c92b0c.js → hr-9340950d.js} +17 -16
- package/dist/cjs/{hu-b4348f61.js → hu-3fa1a13d.js} +17 -16
- package/dist/cjs/{id-39ae2fbb.js → id-1de2751e.js} +17 -16
- package/dist/cjs/index-22e2d297.js +172 -0
- package/dist/cjs/index-6b21a03f.js +73 -0
- package/dist/cjs/{interactive-7837b73d.js → interactive-17168f1c.js} +2 -2
- package/dist/cjs/{it-c0010df5.js → it-7c92766b.js} +17 -16
- package/dist/cjs/{it-ch-1d96ff25.js → it-ch-291b8188.js} +17 -16
- package/dist/cjs/{ja-d612ffd0.js → ja-3e145c4f.js} +17 -16
- package/dist/cjs/{key-07312a4b.js → key-29076628.js} +1 -1
- package/dist/cjs/{ko-3bacee3c.js → ko-1b8f5e87.js} +18 -17
- package/dist/cjs/{label-39887629.js → label-a44d17b9.js} +2 -2
- package/dist/cjs/{loadable-d12ec307.js → loadable-f8b40373.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{locale-6479f239.js → locale-62c20bcc.js} +5 -5
- package/dist/cjs/{lt-3d9fa497.js → lt-200e08d2.js} +17 -16
- package/dist/cjs/{lv-3b7eddb4.js → lv-6e5561b5.js} +17 -16
- package/dist/cjs/{math-3dc91b82.js → math-1e2752e6.js} +1 -1
- package/dist/cjs/{mk-06e25b87.js → mk-530773b7.js} +17 -16
- package/dist/cjs/{nb-631e48ca.js → nb-6f6747f3.js} +17 -16
- package/dist/cjs/{nl-6db6ac0b.js → nl-c6b3e47a.js} +17 -16
- package/dist/cjs/{observers-62ea89bc.js → observers-ee7eadc4.js} +1 -1
- package/dist/cjs/{openCloseComponent-cfafcccc.js → openCloseComponent-71c34b2c.js} +1 -1
- package/dist/cjs/{pl-a139e04e.js → pl-860110bc.js} +17 -16
- package/dist/cjs/{pt-f3d702ac.js → pt-6e3d2514.js} +17 -16
- package/dist/cjs/{pt-br-11aab00e.js → pt-br-66b1bb2b.js} +17 -16
- package/dist/cjs/{resources-2454960d.js → resources-3a88b7d8.js} +1 -1
- package/dist/cjs/{resources-29c246e2.js → resources-4548c1f4.js} +3 -1
- package/dist/cjs/{resources-154adf68.js → resources-4671a126.js} +1 -1
- package/dist/cjs/{resources-36b8ab24.js → resources-49866a7a.js} +3 -1
- package/dist/cjs/{resources-d000455c.js → resources-85c1ae6a.js} +1 -1
- package/dist/cjs/{resources-4a8e43dd.js → resources-876c9b89.js} +1 -1
- package/dist/cjs/{resources-dc8e5f07.js → resources-9dcc553a.js} +1 -1
- package/dist/cjs/{resources-d0427f75.js → resources-be3c1b4b.js} +1 -1
- package/dist/cjs/{resources-2278b321.js → resources-d8917c46.js} +1 -1
- package/dist/cjs/{resources-56cd0ba8.js → resources-d89b020a.js} +1 -1
- package/dist/cjs/responsive-b6e86bcb.js +44 -0
- package/dist/cjs/{ro-49c70e64.js → ro-bd6b21e5.js} +17 -16
- package/dist/cjs/{ru-304563d2.js → ru-fea2a60c.js} +17 -16
- package/dist/cjs/{shared-list-render-e6464688.js → shared-list-render-b1b515ba.js} +6 -6
- package/dist/cjs/{sk-a8fe9263.js → sk-f4693451.js} +17 -16
- package/dist/cjs/sl-ba030ced.js +167 -0
- package/dist/cjs/solutions-components.cjs.js +3 -3
- package/dist/cjs/{sortableComponent-c4833f8d.js → sortableComponent-f9fbabf1.js} +5 -5
- package/dist/cjs/{sr-4f2f9974.js → sr-a3aeccbd.js} +17 -16
- package/dist/cjs/{sv-a2916e2b.js → sv-f96afdb7.js} +17 -16
- package/dist/cjs/{t9n-c630f16d.js → t9n-47b85291.js} +2 -2
- package/dist/cjs/{th-c5f23e8f.js → th-7be3c0cf.js} +17 -16
- package/dist/cjs/{time-9ffa9ce7.js → time-5c558990.js} +3 -3
- package/dist/cjs/{tr-0486b336.js → tr-2bf900ba.js} +17 -16
- package/dist/cjs/{uk-3cf18069.js → uk-8d7c74d5.js} +17 -16
- package/dist/cjs/{utils-3b883f6e.js → utils-a3c937c3.js} +3 -3
- package/dist/cjs/{utils-6fa49fde.js → utils-bbda4ba3.js} +2 -2
- package/dist/cjs/{utils-0f154174.js → utils-e90327b4.js} +3 -3
- package/dist/cjs/{utils-a3380f70.js → utils-e99ff998.js} +1 -1
- package/dist/cjs/{vi-813fe8f6.js → vi-c010010c.js} +17 -16
- package/dist/cjs/{zh-cn-e835d4ea.js → zh-cn-089aaea3.js} +17 -16
- package/dist/cjs/{zh-hk-cdc4af5b.js → zh-hk-0676f0be.js} +17 -16
- package/dist/cjs/{zh-tw-5a93dab8.js → zh-tw-acce58bc.js} +17 -16
- package/dist/collection/components/basemap-gallery/basemap-gallery.js +22 -13
- package/dist/collection/components/card-manager/card-manager.js +2 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +5 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +20 -1
- package/dist/collection/components/edit-card/edit-card.js +0 -5
- package/dist/collection/components/layer-table/layer-table.css +4 -0
- package/dist/collection/components/layer-table/layer-table.js +30 -74
- package/dist/collection/utils/interfaces.ts +1 -0
- package/dist/components/ExpandToggle.js +6 -5
- package/dist/components/FloatingArrow.js +1 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-bar.js +9 -5
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +9 -5
- package/dist/components/action.js +1 -1
- package/dist/components/alert.js +71 -34
- package/dist/components/ar.js +3 -0
- package/dist/components/array.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/basemap-gallery2.js +22 -13
- package/dist/components/button.js +10 -3
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +33 -2
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-flow-item.js +20 -6
- package/dist/components/calcite-flow.js +5 -2
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +6 -4
- package/dist/components/calcite-input-time-picker.js +38 -10
- package/dist/components/calcite-input-time-zone.js +139 -39
- 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-user.js +1 -1
- package/dist/components/calcite-navigation.js +1 -1
- package/dist/components/calcite-radio-button.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 +1 -1
- 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 +19 -4
- package/dist/components/calcite-stepper.js +11 -11
- package/dist/components/calcite-table.js +1 -1
- package/dist/components/calcite-text-area.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tip-manager.js +1 -1
- package/dist/components/calcite-tip.js +1 -1
- package/dist/components/card-manager2.js +2 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/combobox-item.js +1 -1
- package/dist/components/combobox.js +16 -23
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/crowdsource-manager.js +4 -2
- 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-group.js +6 -0
- package/dist/components/dropdown.js +2 -3
- package/dist/components/edit-card2.js +0 -5
- package/dist/components/filter.js +1 -1
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +30 -14
- package/dist/components/focusTrapComponent.js +2 -2
- package/dist/components/form.js +1 -1
- package/dist/components/globalAttributes.js +74 -0
- 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/index4.js +170 -0
- package/dist/components/index5.js +71 -0
- 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/interactive.js +2 -2
- package/dist/components/key.js +1 -1
- package/dist/components/ko.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +1 -1
- package/dist/components/layer-table2.js +24 -63
- package/dist/components/list.js +16 -12
- package/dist/components/loadable.js +1 -1
- package/dist/components/locale2.js +2 -2
- package/dist/components/math.js +1 -1
- package/dist/components/menu.js +1 -67
- package/dist/components/modal.js +1 -1
- package/dist/components/notice.js +31 -3
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/option.js +4 -3
- package/dist/components/pagination.js +132 -58
- package/dist/components/panel.js +30 -21
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -2
- 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/responsive.js +42 -0
- package/dist/components/scrim.js +1 -1
- package/dist/components/segmented-control-item.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/sl.js +114 -12
- package/dist/components/slider.js +1 -1
- package/dist/components/sortableComponent.js +5 -5
- package/dist/components/stack.js +1 -1
- package/dist/components/t9n.js +1 -1
- package/dist/components/tab-nav.js +1 -0
- package/dist/components/tab-title.js +1 -1
- package/dist/components/table-cell.js +6 -2
- package/dist/components/table-header.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +2 -2
- package/dist/components/tooltip.js +3 -3
- package/dist/components/tree-item.js +3 -13
- package/dist/components/tree.js +48 -61
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/components/utils3.js +2 -2
- package/dist/components/value-list-item.js +1 -1
- package/dist/components/value-list.js +2 -2
- package/dist/esm/{ExpandToggle-583be90e.js → ExpandToggle-3973cf71.js} +9 -8
- package/dist/esm/{FloatingArrow-f3c4aaad.js → FloatingArrow-bfb95cb7.js} +1 -1
- package/dist/esm/{Heading-28b8fc31.js → Heading-a3130bc6.js} +1 -1
- package/dist/esm/{app-globals-bbae8244.js → app-globals-d6e155e2.js} +3 -3
- package/dist/esm/{ar-d7509316.js → ar-e66d9603.js} +20 -16
- package/dist/esm/{array-3eac6aac.js → array-3a471981.js} +1 -1
- package/dist/esm/basemap-gallery_7.entry.js +22 -13
- package/dist/esm/{bg-a6c0d55d.js → bg-e3cef9f9.js} +17 -16
- package/dist/esm/{browser-2ab8d297.js → browser-b8a2c2d7.js} +1 -1
- package/dist/esm/{bs-a98cc594.js → bs-e5350540.js} +17 -16
- package/dist/esm/buffer-tools_4.entry.js +14 -14
- package/dist/esm/{ca-8d7b9677.js → ca-2e572adf.js} +17 -16
- package/dist/esm/calcite-accordion-item.entry.js +6 -6
- package/dist/esm/calcite-accordion.entry.js +1 -1
- package/dist/esm/calcite-action-bar_3.entry.js +42 -34
- package/dist/esm/calcite-action-group_2.entry.js +19 -17
- package/dist/esm/calcite-action-pad.entry.js +13 -13
- package/dist/esm/calcite-action_2.entry.js +18 -18
- package/dist/esm/calcite-alert_3.entry.js +728 -0
- package/dist/esm/calcite-avatar.entry.js +5 -5
- package/dist/esm/calcite-block-section.entry.js +9 -9
- package/dist/esm/calcite-block.entry.js +44 -14
- package/dist/esm/calcite-button.entry.js +21 -15
- package/dist/esm/calcite-card.entry.js +9 -9
- package/dist/esm/calcite-checkbox_3.entry.js +62 -85
- package/dist/esm/calcite-chip-group.entry.js +7 -7
- package/dist/esm/calcite-chip.entry.js +12 -12
- package/dist/esm/calcite-color-picker-hex-input_2.entry.js +8 -8
- package/dist/esm/calcite-color-picker.entry.js +13 -13
- package/dist/esm/calcite-combobox-item-group.entry.js +6 -6
- package/dist/esm/calcite-combobox_6.entry.js +42 -44
- package/dist/esm/calcite-date-picker-day_3.entry.js +11 -11
- package/dist/esm/calcite-date-picker.entry.js +11 -11
- package/dist/esm/calcite-fab.entry.js +7 -7
- package/dist/esm/calcite-filter_3.entry.js +14 -14
- package/dist/esm/calcite-flow-item.entry.js +28 -17
- package/dist/esm/calcite-flow.entry.js +7 -4
- package/dist/esm/calcite-graph.entry.js +3 -3
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +12 -12
- package/dist/esm/calcite-input-date-picker.entry.js +22 -21
- package/dist/esm/calcite-input-number_2.entry.js +14 -14
- package/dist/esm/{calcite-input-time-picker-f5250903.js → calcite-input-time-picker-77523075.js} +97 -70
- package/dist/esm/calcite-input-time-picker.entry.js +17 -16
- package/dist/esm/calcite-input-time-zone.entry.js +142 -49
- package/dist/esm/calcite-input_2.entry.js +13 -13
- package/dist/esm/calcite-label.entry.js +5 -5
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list-item-group.entry.js +4 -4
- package/dist/esm/calcite-loader.entry.js +1 -1
- package/dist/esm/calcite-menu-item.entry.js +9 -9
- package/dist/esm/calcite-menu.entry.js +9 -74
- package/dist/esm/calcite-meter.entry.js +9 -9
- package/dist/esm/calcite-modal.entry.js +12 -12
- package/dist/esm/calcite-navigation-logo.entry.js +2 -2
- package/dist/esm/calcite-navigation-user.entry.js +2 -2
- package/dist/esm/calcite-navigation.entry.js +5 -5
- package/dist/esm/calcite-notice_2.entry.js +45 -19
- package/dist/esm/calcite-option_2.entry.js +14 -13
- package/dist/esm/calcite-pagination.entry.js +132 -63
- package/dist/esm/calcite-panel_2.entry.js +39 -35
- package/dist/esm/calcite-pick-list-group.entry.js +7 -7
- package/dist/esm/calcite-pick-list-item.entry.js +13 -13
- package/dist/esm/calcite-pick-list.entry.js +11 -11
- package/dist/esm/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm/calcite-radio-button.entry.js +10 -10
- package/dist/esm/calcite-rating.entry.js +13 -13
- package/dist/esm/calcite-scrim.entry.js +8 -8
- package/dist/esm/calcite-segmented-control_2.entry.js +10 -10
- package/dist/esm/calcite-sheet.entry.js +8 -8
- package/dist/esm/calcite-shell-center-row.entry.js +6 -6
- package/dist/esm/calcite-shell-panel_14.entry.js +25 -24
- 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 +28 -12
- package/dist/esm/calcite-stepper.entry.js +14 -14
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-table-cell_2.entry.js +15 -13
- package/dist/esm/calcite-table-row.entry.js +6 -6
- package/dist/esm/calcite-table.entry.js +10 -10
- package/dist/esm/calcite-text-area.entry.js +13 -13
- package/dist/esm/calcite-tile-select-group.entry.js +2 -2
- package/dist/esm/calcite-tile-select.entry.js +5 -5
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-time-picker.entry.js +11 -11
- package/dist/esm/calcite-tip-manager.entry.js +9 -9
- package/dist/esm/calcite-tip.entry.js +10 -10
- package/dist/esm/card-manager_3.entry.js +14 -46
- package/dist/esm/{conditionalSlot-7a5c509c.js → conditionalSlot-94095778.js} +2 -2
- package/dist/esm/crowdsource-manager.entry.js +3 -2
- package/dist/esm/{cs-38f3de9d.js → cs-4f054159.js} +17 -16
- package/dist/esm/{da-6ef39f6c.js → da-6c556fce.js} +17 -16
- package/dist/esm/{date-b8718146.js → date-05688c80.js} +2 -2
- package/dist/esm/{de-at-6617bb68.js → de-at-d3095241.js} +17 -16
- package/dist/esm/{de-6aef04c8.js → de-ca621a89.js} +17 -16
- package/dist/esm/{de-ch-552d1170.js → de-ch-83fcc045.js} +17 -16
- package/dist/esm/{dom-ae3d8818.js → dom-923ca11d.js} +3 -3
- package/dist/esm/{el-36c2f66f.js → el-0caa1e48.js} +17 -16
- package/dist/esm/{en-au-d58f85c1.js → en-au-1a9727f6.js} +17 -16
- package/dist/esm/{en-ca-1693b17f.js → en-ca-9efe6ab1.js} +17 -16
- package/dist/esm/{en-gb-827d54cc.js → en-gb-87813f25.js} +17 -16
- package/dist/esm/{es-adb3fd4e.js → es-a564ac80.js} +17 -16
- package/dist/esm/{es-mx-82199d09.js → es-mx-69a7843b.js} +17 -16
- package/dist/esm/{et-af7f407f.js → et-8018f213.js} +17 -16
- package/dist/esm/{fi-37c08e8e.js → fi-c8023099.js} +17 -16
- package/dist/esm/{filter-dd6ee9fc.js → filter-a4d7ecd2.js} +1 -1
- package/dist/esm/{floating-ui-aadc5ee4.js → floating-ui-9c3f29d1.js} +31 -15
- package/dist/esm/{focusTrapComponent-b7f65d9e.js → focusTrapComponent-d703f459.js} +3 -3
- package/dist/esm/{form-a6c0a47e.js → form-43cd1811.js} +2 -2
- package/dist/esm/{fr-1dbd68cf.js → fr-4a6841af.js} +17 -16
- package/dist/esm/{fr-ch-0da3f9d5.js → fr-ch-abed2e2a.js} +17 -16
- package/dist/esm/globalAttributes-43f1d649.js +74 -0
- package/dist/esm/{guid-d34fe102.js → guid-99d025c6.js} +1 -1
- package/dist/esm/{he-970bc7e6.js → he-0324b963.js} +17 -16
- package/dist/esm/{hi-e332f8ea.js → hi-f1f4309f.js} +17 -16
- package/dist/esm/{hr-e7103f84.js → hr-410e913d.js} +17 -16
- package/dist/esm/{hu-876d56a7.js → hu-090901ba.js} +17 -16
- package/dist/esm/{id-c53da15f.js → id-52323c08.js} +17 -16
- package/dist/esm/index-7bd8186c.js +71 -0
- package/dist/esm/index-9d64f551.js +170 -0
- package/dist/esm/{interactive-22a66feb.js → interactive-e95bbf6b.js} +2 -2
- package/dist/esm/{it-f98d068c.js → it-3980ce36.js} +17 -16
- package/dist/esm/{it-ch-c7aeaf03.js → it-ch-aa4b9653.js} +17 -16
- package/dist/esm/{ja-596aa74d.js → ja-edbfdf17.js} +17 -16
- package/dist/esm/{key-554ad3f4.js → key-5ab69c42.js} +1 -1
- package/dist/esm/{ko-bdf2643b.js → ko-28dfbdfb.js} +18 -17
- package/dist/esm/{label-7187f15b.js → label-be61f66c.js} +2 -2
- package/dist/esm/{loadable-54096620.js → loadable-0029bf3d.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{locale-56a910a3.js → locale-76c0c1d9.js} +5 -5
- package/dist/esm/{lt-029144ad.js → lt-36215874.js} +17 -16
- package/dist/esm/{lv-00292bd8.js → lv-5f613cfd.js} +17 -16
- package/dist/esm/{math-158e90ac.js → math-26607e9b.js} +1 -1
- package/dist/esm/{mk-ca84aaa7.js → mk-a8e8d2f1.js} +17 -16
- package/dist/esm/{nb-3a17d242.js → nb-5accd1d3.js} +17 -16
- package/dist/esm/{nl-42fe3f2b.js → nl-aa9a0bb6.js} +17 -16
- package/dist/esm/{observers-a3cec8e4.js → observers-115d1b4b.js} +1 -1
- package/dist/esm/{openCloseComponent-fd76e488.js → openCloseComponent-943c5248.js} +1 -1
- package/dist/esm/{pl-8ccccfb6.js → pl-23465d62.js} +17 -16
- package/dist/esm/{pt-470ef28a.js → pt-41864e9d.js} +17 -16
- package/dist/esm/{pt-br-15c5e95d.js → pt-br-c6bd3fe5.js} +17 -16
- package/dist/esm/{resources-02cd4178.js → resources-0fa1514d.js} +1 -1
- package/dist/esm/{resources-5f6d1025.js → resources-19e558e7.js} +3 -1
- package/dist/esm/{resources-3be85db9.js → resources-27261bc6.js} +3 -2
- package/dist/esm/{resources-fa3b8717.js → resources-4100c616.js} +1 -1
- package/dist/esm/{resources-034c9f77.js → resources-55ef6d44.js} +1 -1
- package/dist/esm/{resources-d65f06b7.js → resources-9158321b.js} +1 -1
- package/dist/esm/{resources-fdb46a26.js → resources-936a5f2d.js} +1 -1
- package/dist/esm/{resources-4d5cdf35.js → resources-bb8600a6.js} +1 -1
- package/dist/esm/{resources-99f5fcbf.js → resources-c8f83593.js} +1 -1
- package/dist/esm/{resources-cc801037.js → resources-ee6e347f.js} +1 -1
- package/dist/esm/responsive-4d7ef153.js +42 -0
- package/dist/esm/{ro-6ccfabcf.js → ro-b554cdb2.js} +17 -16
- package/dist/esm/{ru-4ca6ea5c.js → ru-fabf5351.js} +17 -16
- package/dist/esm/{shared-list-render-0d4accf0.js → shared-list-render-eba3dbdf.js} +6 -6
- package/dist/esm/{sk-d2cc438e.js → sk-6c30f92d.js} +17 -16
- package/dist/esm/sl-53339340.js +165 -0
- package/dist/esm/solutions-components.js +3 -3
- package/dist/esm/{sortableComponent-eda78521.js → sortableComponent-4a933f2e.js} +5 -5
- package/dist/esm/{sr-e13a01d0.js → sr-bb55e815.js} +17 -16
- package/dist/esm/{sv-ce009db9.js → sv-e7415076.js} +17 -16
- package/dist/esm/{t9n-1eaba69b.js → t9n-976a6630.js} +2 -2
- package/dist/esm/{th-bd60a4c0.js → th-5035f441.js} +17 -16
- package/dist/esm/{time-84f496fe.js → time-a725be63.js} +3 -3
- package/dist/esm/{tr-b117b905.js → tr-8693739a.js} +17 -16
- package/dist/esm/{uk-d75d58c8.js → uk-dfe80c4a.js} +17 -16
- package/dist/esm/{utils-b1dd5a1a.js → utils-186d9d5e.js} +3 -3
- package/dist/esm/{utils-a7af3c1c.js → utils-3ad366fc.js} +2 -2
- package/dist/esm/{utils-202317eb.js → utils-9f44f942.js} +1 -1
- package/dist/esm/{utils-bc49354a.js → utils-f7c0de62.js} +3 -3
- package/dist/esm/{vi-d7057f94.js → vi-540a8ddc.js} +17 -16
- package/dist/esm/{zh-cn-21968b0c.js → zh-cn-28e77ef2.js} +17 -16
- package/dist/esm/{zh-hk-848e7600.js → zh-hk-15113982.js} +17 -16
- package/dist/esm/{zh-tw-9930054d.js → zh-tw-f33efd8d.js} +17 -16
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +10 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -2
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +256 -212
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +14 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +12 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +6 -1
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +45 -56
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +7 -4
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +16 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +8 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +4 -9
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +4 -0
- package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +4 -0
- package/dist/solutions-components/assets/icon/addConstant16.json +1 -0
- package/dist/solutions-components/assets/icon/addConstant24.json +1 -0
- package/dist/solutions-components/assets/icon/addConstant32.json +1 -0
- package/dist/solutions-components/assets/icon/addRasterVariable16.json +1 -0
- package/dist/solutions-components/assets/icon/addRasterVariable24.json +1 -0
- package/dist/solutions-components/assets/icon/addRasterVariable32.json +1 -0
- package/dist/solutions-components/assets/icon/addRasters16.json +1 -0
- package/dist/solutions-components/assets/icon/addRasters24.json +1 -0
- package/dist/solutions-components/assets/icon/addRasters32.json +1 -0
- package/dist/solutions-components/assets/icon/alertOffCircle16F.json +1 -0
- package/dist/solutions-components/assets/icon/alertOffCircle24F.json +1 -0
- package/dist/solutions-components/assets/icon/alertOffCircle32F.json +1 -0
- package/dist/solutions-components/assets/icon/bulletPoint16.json +1 -1
- package/dist/solutions-components/assets/icon/bulletPoint24.json +1 -1
- package/dist/solutions-components/assets/icon/bulletPoint32.json +1 -1
- package/dist/solutions-components/assets/icon/bulletPointLarge16.json +1 -0
- package/dist/solutions-components/assets/icon/bulletPointLarge24.json +1 -0
- package/dist/solutions-components/assets/icon/bulletPointLarge32.json +1 -0
- package/dist/solutions-components/assets/icon/launch216.json +1 -0
- package/dist/solutions-components/assets/icon/launch224.json +1 -0
- package/dist/solutions-components/assets/icon/launch232.json +1 -0
- package/dist/solutions-components/assets/icon/minusCircle16F.json +1 -0
- package/dist/solutions-components/assets/icon/minusCircle24F.json +1 -0
- package/dist/solutions-components/assets/icon/minusCircle32F.json +1 -0
- package/dist/solutions-components/assets/icon/projectMission16.json +1 -0
- package/dist/solutions-components/assets/icon/projectMission24.json +1 -0
- package/dist/solutions-components/assets/icon/projectMission32.json +1 -0
- package/dist/solutions-components/assets/icon/projectTemplate16.json +1 -0
- package/dist/solutions-components/assets/icon/projectTemplate24.json +1 -0
- package/dist/solutions-components/assets/icon/projectTemplate32.json +1 -0
- package/dist/solutions-components/assets/icon/properties16.json +1 -0
- package/dist/solutions-components/assets/icon/properties24.json +1 -0
- package/dist/solutions-components/assets/icon/properties32.json +1 -0
- package/dist/solutions-components/assets/icon/saveAs16.json +1 -0
- package/dist/solutions-components/assets/icon/saveAs24.json +1 -0
- package/dist/solutions-components/assets/icon/saveAs32.json +1 -0
- package/dist/solutions-components/assets/panel/t9n/index.d.ts +2 -0
- package/dist/solutions-components/assets/panel/t9n/messages.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_ar.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_bg.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_bs.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_ca.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_cs.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_da.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_de.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_el.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_en.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_es.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_et.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_fi.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_fr.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_he.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_hr.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_hu.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_id.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_it.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_ja.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_ko.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_lt.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_lv.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_nl.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_no.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_pl.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_pt-BR.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_pt-PT.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_ro.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_ru.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_sk.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_sl.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_sr.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_sv.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_th.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_tr.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_uk.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_vi.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_zh-CN.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_zh-HK.json +3 -1
- package/dist/solutions-components/assets/panel/t9n/messages_zh-TW.json +3 -1
- package/dist/solutions-components/assets/table/t9n/messages_ar.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_bg.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_bs.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_ca.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_cs.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_da.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_de.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_el.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_es.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_et.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_fi.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_fr.json +4 -4
- package/dist/solutions-components/assets/table/t9n/messages_he.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_hr.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_hu.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_id.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_it.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_ja.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_ko.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_lt.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_lv.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_nl.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_no.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_pl.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_pt-BR.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_pt-PT.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_ro.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_ru.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_sk.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_sl.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_sr.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_sv.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_th.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_tr.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_uk.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_vi.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_zh-CN.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_zh-HK.json +5 -5
- package/dist/solutions-components/assets/table/t9n/messages_zh-TW.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_ar.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_bg.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_bs.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_ca.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_cs.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_da.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_de.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_el.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_es.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_et.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_fi.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_fr.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_he.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_hr.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_hu.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_id.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_it.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_ja.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_ko.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_lt.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_lv.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_nl.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_no.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_pl.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_pt-BR.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_pt-PT.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_ro.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_ru.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_sk.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_sl.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_sr.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_sv.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_th.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_tr.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_uk.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_vi.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_zh-CN.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_zh-HK.json +5 -5
- package/dist/solutions-components/assets/table-cell/t9n/messages_zh-TW.json +5 -5
- package/dist/solutions-components/assets/table-header/t9n/messages_ar.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_bg.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_bs.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_ca.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_cs.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_da.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_de.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_el.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_es.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_et.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_fi.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_fr.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_he.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_hr.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_hu.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_id.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_it.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_ja.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_ko.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_lt.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_lv.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_nl.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_no.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_pl.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_pt-BR.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_pt-PT.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_ro.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_ru.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_sk.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_sl.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_sr.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_sv.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_th.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_tr.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_uk.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_vi.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_zh-CN.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_zh-HK.json +6 -6
- package/dist/solutions-components/assets/table-header/t9n/messages_zh-TW.json +6 -6
- package/dist/solutions-components/assets/time-picker/t9n/messages_ar.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_bg.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_bs.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_ca.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_cs.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_da.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_de.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_el.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_es.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_et.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_fi.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_fr.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_he.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_hr.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_hu.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_id.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_it.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_ja.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_ko.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_lt.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_lv.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_nl.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_no.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_pl.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_pt-BR.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_pt-PT.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_ro.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_ru.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_sk.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_sl.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_sr.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_sv.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_th.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_tr.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_uk.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_vi.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_zh-CN.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_zh-HK.json +3 -0
- package/dist/solutions-components/assets/time-picker/t9n/messages_zh-TW.json +3 -0
- package/dist/solutions-components/{p-7b372cc4.js → p-024c2016.js} +3 -3
- package/dist/solutions-components/{p-663eb3d4.js → p-024ff2f9.js} +2 -2
- package/dist/solutions-components/{p-ecd5e842.entry.js → p-029d8d56.entry.js} +1 -1
- package/dist/solutions-components/p-0335478a.entry.js +12 -0
- package/dist/solutions-components/{p-02637c3c.entry.js → p-038fa109.entry.js} +2 -2
- package/dist/solutions-components/{p-740ef07f.entry.js → p-0591ccfd.entry.js} +1 -1
- package/dist/solutions-components/{p-a4328542.entry.js → p-08306638.entry.js} +1 -1
- package/dist/solutions-components/{p-dfdfc187.js → p-0a95c999.js} +1 -1
- package/dist/solutions-components/p-10375537.js +6 -0
- package/dist/solutions-components/{p-36637fe7.js → p-1229516f.js} +1 -1
- package/dist/solutions-components/p-138a065a.entry.js +11 -0
- package/dist/solutions-components/p-13e96533.js +6 -0
- package/dist/solutions-components/{p-0f6fa607.js → p-1406bcc4.js} +3 -3
- package/dist/solutions-components/{p-a653343a.js → p-151c5d71.js} +1 -1
- package/dist/solutions-components/p-164a80fb.js +6 -0
- package/dist/solutions-components/p-16d07093.js +6 -0
- package/dist/solutions-components/p-16d0f5e7.js +6 -0
- package/dist/solutions-components/{p-01f06f9a.entry.js → p-1da1779e.entry.js} +2 -2
- package/dist/solutions-components/{p-a62ec89b.entry.js → p-21a54586.entry.js} +2 -2
- package/dist/solutions-components/p-224f47c5.js +6 -0
- package/dist/solutions-components/p-22eb9ead.entry.js +6 -0
- package/dist/solutions-components/p-234d20b1.js +6 -0
- package/dist/solutions-components/p-25729b41.entry.js +6 -0
- package/dist/solutions-components/{p-272018eb.js → p-29120ecd.js} +3 -3
- package/dist/solutions-components/p-2a0238d4.entry.js +6 -0
- package/dist/solutions-components/p-2a5903e0.js +6 -0
- package/dist/solutions-components/p-2af0a6c7.entry.js +11 -0
- package/dist/solutions-components/p-2b59e4cf.js +6 -0
- package/dist/solutions-components/{p-d31fe523.entry.js → p-2ba31b8a.entry.js} +2 -2
- package/dist/solutions-components/{p-fc0ca498.entry.js → p-2db4adca.entry.js} +2 -2
- package/dist/solutions-components/p-2df8b0d2.js +6 -0
- package/dist/solutions-components/{p-35a41253.js → p-2ee3afea.js} +3 -3
- package/dist/solutions-components/{p-e912299d.js → p-2f9bab49.js} +1 -1
- package/dist/solutions-components/p-30019a9d.js +6 -0
- package/dist/solutions-components/{p-fa98063c.js → p-3003e56a.js} +1 -1
- package/dist/solutions-components/p-34ae5550.entry.js +28 -0
- package/dist/solutions-components/{p-79e83176.js → p-34fb2a6e.js} +1 -1
- package/dist/solutions-components/{p-dc99214a.js → p-353ff6c3.js} +3 -3
- package/dist/solutions-components/{p-31fdc998.js → p-361b44ed.js} +1 -1
- package/dist/solutions-components/{p-fa124fdf.entry.js → p-3622ff5a.entry.js} +2 -2
- package/dist/solutions-components/p-370cdc1a.js +6 -0
- package/dist/solutions-components/{p-31133802.js → p-3760847f.js} +1 -1
- package/dist/solutions-components/p-387657b5.js +6 -0
- package/dist/solutions-components/{p-7f8be8cd.entry.js → p-38d04674.entry.js} +5 -5
- package/dist/solutions-components/{p-1468af6d.entry.js → p-3a1ce0b3.entry.js} +2 -2
- package/dist/solutions-components/{p-4caa1f9d.js → p-3a668467.js} +1 -1
- package/dist/solutions-components/{p-037f2f52.entry.js → p-3b3b8693.entry.js} +3 -3
- package/dist/solutions-components/p-3b8d021c.js +6 -0
- package/dist/solutions-components/p-3c4e583c.entry.js +6 -0
- package/dist/solutions-components/{p-0014f93f.js → p-3db650c2.js} +2 -2
- package/dist/solutions-components/{p-0272b972.entry.js → p-3fc5f99b.entry.js} +4 -4
- package/dist/solutions-components/{p-09dda965.entry.js → p-40532d71.entry.js} +3 -3
- package/dist/solutions-components/p-40d50491.entry.js +6 -0
- package/dist/solutions-components/{p-10131b72.entry.js → p-4228202a.entry.js} +1 -1
- package/dist/solutions-components/{p-947d032f.entry.js → p-4277bdc8.entry.js} +2 -2
- package/dist/solutions-components/{p-3c7af635.js → p-4879d789.js} +1 -1
- package/dist/solutions-components/p-48ce2adc.js +6 -0
- package/dist/solutions-components/{p-1ba1336c.js → p-4b9ba22d.js} +4 -4
- package/dist/solutions-components/p-4e58893d.js +11 -0
- package/dist/solutions-components/{p-af68933d.entry.js → p-4ec6a622.entry.js} +3 -3
- package/dist/solutions-components/{p-70c370a9.entry.js → p-4f29d862.entry.js} +3 -3
- package/dist/solutions-components/{p-1ac699f8.entry.js → p-524dbb02.entry.js} +3 -3
- package/dist/solutions-components/p-53368491.js +11 -0
- package/dist/solutions-components/p-5347984d.entry.js +18 -0
- package/dist/solutions-components/{p-e85ee6f1.entry.js → p-56ccef9e.entry.js} +2 -2
- package/dist/solutions-components/{p-1bdc7107.js → p-59d706b4.js} +1 -1
- package/dist/solutions-components/{p-22025739.entry.js → p-5aa04e51.entry.js} +4 -4
- package/dist/solutions-components/p-5e446b18.entry.js +29 -0
- package/dist/solutions-components/p-5f929b73.js +11 -0
- package/dist/solutions-components/{p-d2fab6cd.entry.js → p-6190f6b9.entry.js} +1 -1
- package/dist/solutions-components/{p-85287a5e.entry.js → p-61e0440a.entry.js} +3 -3
- package/dist/solutions-components/{p-0aac33f5.entry.js → p-646e983f.entry.js} +7 -7
- package/dist/solutions-components/{p-33247dbf.entry.js → p-684a3ab9.entry.js} +3 -3
- package/dist/solutions-components/p-6ac73100.js +6 -0
- package/dist/solutions-components/p-6b61a3cd.js +6 -0
- package/dist/solutions-components/{p-575f731c.entry.js → p-6c39845d.entry.js} +1 -1
- package/dist/solutions-components/p-6d2d7943.js +6 -0
- package/dist/solutions-components/p-6d783ec5.js +6 -0
- package/dist/solutions-components/{p-236b2000.entry.js → p-71049433.entry.js} +2 -2
- package/dist/solutions-components/p-735cdbaf.js +6 -0
- package/dist/solutions-components/{p-12e15eaa.js → p-73c50d50.js} +2 -2
- package/dist/solutions-components/p-74c723d2.entry.js +11 -0
- package/dist/solutions-components/{p-6d50909d.entry.js → p-7624927c.entry.js} +2 -2
- package/dist/solutions-components/{p-08b96a9c.entry.js → p-76c75cac.entry.js} +3 -3
- package/dist/solutions-components/p-7af492f8.js +6 -0
- package/dist/solutions-components/{p-7e6b953a.entry.js → p-7cc21aa4.entry.js} +2 -2
- package/dist/solutions-components/{p-f351978d.js → p-7d7e6744.js} +1 -1
- package/dist/solutions-components/{p-e851ead7.entry.js → p-7ea4f229.entry.js} +2 -2
- package/dist/solutions-components/{p-1fcee160.entry.js → p-80ff1462.entry.js} +2 -2
- package/dist/solutions-components/p-82cedafd.js +6 -0
- package/dist/solutions-components/p-8458b57c.entry.js +11 -0
- package/dist/solutions-components/{p-04735c27.entry.js → p-851edd3b.entry.js} +2 -2
- package/dist/solutions-components/p-852e7d6c.js +6 -0
- package/dist/solutions-components/p-866837f6.js +11 -0
- package/dist/solutions-components/p-86f33d1b.js +6 -0
- package/dist/solutions-components/{p-943a5ed7.js → p-86f482ca.js} +1 -1
- package/dist/solutions-components/p-880a0d62.entry.js +11 -0
- package/dist/solutions-components/p-89e4299f.js +6 -0
- package/dist/solutions-components/p-8b912783.js +6 -0
- package/dist/solutions-components/{p-7d347571.entry.js → p-8be9c706.entry.js} +3 -3
- package/dist/solutions-components/{p-f5523c9d.entry.js → p-8c00bf84.entry.js} +3 -3
- package/dist/solutions-components/p-90e780b3.js +6 -0
- package/dist/solutions-components/{p-bb6f49fb.entry.js → p-937c2c82.entry.js} +3 -3
- package/dist/solutions-components/{p-c5fd52fa.js → p-946a0023.js} +5 -5
- package/dist/solutions-components/{p-6f012379.entry.js → p-94785227.entry.js} +3 -3
- package/dist/solutions-components/{p-7e2220d7.entry.js → p-960d5e0d.entry.js} +1 -1
- package/dist/solutions-components/{p-e770c412.entry.js → p-97b2521a.entry.js} +3 -3
- package/dist/solutions-components/{p-521e30a8.entry.js → p-97effcfe.entry.js} +1 -1
- package/dist/solutions-components/p-9894c380.js +6 -0
- package/dist/solutions-components/p-994e84f7.js +6 -0
- package/dist/solutions-components/{p-cfdb15b7.entry.js → p-99900c72.entry.js} +2 -2
- package/dist/solutions-components/p-9a41ea03.js +6 -0
- package/dist/solutions-components/p-9a66d8c7.js +6 -0
- package/dist/solutions-components/p-9aa4ddb7.js +6 -0
- package/dist/solutions-components/p-9f8cd92d.js +6 -0
- package/dist/solutions-components/p-a3426728.entry.js +6 -0
- package/dist/solutions-components/p-a35a422a.js +6 -0
- package/dist/solutions-components/{p-790dac6b.entry.js → p-a366c1bd.entry.js} +2 -2
- package/dist/solutions-components/{p-910cf04b.js → p-a47c8ae2.js} +3 -3
- package/dist/solutions-components/p-a4e47e1d.entry.js +6 -0
- package/dist/solutions-components/{p-dc38fe60.entry.js → p-a574b12e.entry.js} +2 -2
- package/dist/solutions-components/p-a64684d9.js +6 -0
- package/dist/solutions-components/p-a678b2d3.js +6 -0
- package/dist/solutions-components/{p-672d79f2.entry.js → p-aacbdedb.entry.js} +2 -2
- package/dist/solutions-components/{p-e9148c7b.js → p-abc50d38.js} +1 -1
- package/dist/solutions-components/{p-6e89bbec.entry.js → p-ae952961.entry.js} +2 -2
- package/dist/solutions-components/{p-9de59894.entry.js → p-b17541d4.entry.js} +3 -3
- package/dist/solutions-components/{p-147d6ef0.js → p-b41915d9.js} +3 -3
- package/dist/solutions-components/p-b48e8dd1.js +11 -0
- package/dist/solutions-components/{p-ff863f16.entry.js → p-b4c0c62e.entry.js} +2 -2
- package/dist/solutions-components/p-b6f9d874.js +6 -0
- package/dist/solutions-components/p-b7f5a5c9.js +6 -0
- package/dist/solutions-components/{p-0505d89a.js → p-b80631c4.js} +1 -1
- package/dist/solutions-components/p-b8ce608e.js +11 -0
- package/dist/solutions-components/{p-e5e60190.js → p-bc4c41ba.js} +1 -1
- package/dist/solutions-components/{p-a6cf2623.js → p-bee78404.js} +1 -1
- package/dist/solutions-components/p-bf73ccae.js +6 -0
- package/dist/solutions-components/{p-6954fc16.entry.js → p-bf8fef40.entry.js} +3 -3
- package/dist/solutions-components/{p-08901512.js → p-bf9d3381.js} +5 -5
- package/dist/solutions-components/{p-d8901897.js → p-c24040ec.js} +1 -1
- package/dist/solutions-components/{p-52f0f3ad.entry.js → p-c29a20f1.entry.js} +1 -1
- package/dist/solutions-components/{p-79396110.entry.js → p-c2c000fc.entry.js} +3 -3
- package/dist/solutions-components/p-c3417d14.js +6 -0
- package/dist/solutions-components/p-c3bd1676.entry.js +11 -0
- package/dist/solutions-components/p-c9936cc9.js +6 -0
- package/dist/solutions-components/{p-499bc634.entry.js → p-ca9bd37c.entry.js} +3 -3
- package/dist/solutions-components/{p-7758f01f.entry.js → p-cfa0c38b.entry.js} +3 -3
- package/dist/solutions-components/{p-d9229a22.entry.js → p-cfe4ec71.entry.js} +3 -3
- package/dist/solutions-components/p-d3104ab2.js +6 -0
- package/dist/solutions-components/{p-97082d8d.entry.js → p-d32a1308.entry.js} +3 -3
- package/dist/solutions-components/{p-6527978c.js → p-d4278729.js} +3 -3
- package/dist/solutions-components/p-d5517d0d.js +6 -0
- package/dist/solutions-components/p-d68f66a3.js +6 -0
- package/dist/solutions-components/p-d6b50da2.js +6 -0
- package/dist/solutions-components/p-d738fea9.js +6 -0
- package/dist/solutions-components/p-d8ac40a5.js +6 -0
- package/dist/solutions-components/{p-b8b4c32f.js → p-dd36af4f.js} +1 -1
- package/dist/solutions-components/{p-e1bc4ef6.js → p-dd4e5f64.js} +1 -1
- package/dist/solutions-components/p-e52091fa.js +6 -0
- package/dist/solutions-components/p-e8c5f63d.js +6 -0
- package/dist/solutions-components/p-ea238bbc.entry.js +6 -0
- package/dist/solutions-components/p-edf861a1.entry.js +17 -0
- package/dist/solutions-components/{p-9cb360bd.js → p-efc041d0.js} +1 -1
- package/dist/solutions-components/p-f34f405a.entry.js +6 -0
- package/dist/solutions-components/{p-dcc50669.js → p-f52ee45d.js} +3 -3
- package/dist/solutions-components/p-f5a593f4.entry.js +11 -0
- package/dist/solutions-components/p-f6fa0003.js +6 -0
- package/dist/solutions-components/p-fa06a8f7.entry.js +6 -0
- package/dist/solutions-components/p-fa63c8b1.js +6 -0
- package/dist/solutions-components/p-fc141ca0.js +11 -0
- package/dist/solutions-components/{p-4dd80a57.entry.js → p-fc7de108.entry.js} +2 -2
- package/dist/solutions-components/{p-e4bd7ed1.entry.js → p-fd1da29a.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +1 -0
- package/dist/types/components/basemap-gallery/basemap-gallery.d.ts +7 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -0
- package/dist/types/components/layer-table/layer-table.d.ts +7 -27
- package/dist/types/components.d.ts +16 -5
- package/dist/types/preact.d.ts +17 -5
- package/dist/types/utils/interfaces.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +0 -285
- package/dist/cjs/edit-card_2.cjs.entry.js +0 -427
- package/dist/cjs/sl-bf82d012.js +0 -64
- package/dist/esm/calcite-alert.entry.js +0 -281
- package/dist/esm/edit-card_2.entry.js +0 -422
- package/dist/esm/sl-fa960833.js +0 -62
- package/dist/solutions-components/p-01a8ab25.js +0 -6
- package/dist/solutions-components/p-06bc850e.entry.js +0 -12
- package/dist/solutions-components/p-10f990d1.js +0 -6
- package/dist/solutions-components/p-112c7f0b.js +0 -6
- package/dist/solutions-components/p-15b2c977.entry.js +0 -11
- package/dist/solutions-components/p-1b5fdc60.entry.js +0 -6
- package/dist/solutions-components/p-1ed04a5a.js +0 -11
- package/dist/solutions-components/p-2040681e.js +0 -6
- package/dist/solutions-components/p-2406fda3.js +0 -6
- package/dist/solutions-components/p-296909a6.entry.js +0 -6
- package/dist/solutions-components/p-29e42601.js +0 -6
- package/dist/solutions-components/p-2a23b33c.js +0 -6
- package/dist/solutions-components/p-2b749168.js +0 -6
- package/dist/solutions-components/p-2ed7930b.js +0 -6
- package/dist/solutions-components/p-2ffbb0aa.entry.js +0 -6
- package/dist/solutions-components/p-32d8a04d.entry.js +0 -6
- package/dist/solutions-components/p-345a4781.js +0 -6
- package/dist/solutions-components/p-37372a3d.entry.js +0 -29
- package/dist/solutions-components/p-38dcc542.js +0 -6
- package/dist/solutions-components/p-38e79175.js +0 -11
- package/dist/solutions-components/p-41ee9121.entry.js +0 -11
- package/dist/solutions-components/p-44f8ec67.js +0 -6
- package/dist/solutions-components/p-4a382f62.js +0 -6
- package/dist/solutions-components/p-4f35e0b8.js +0 -6
- package/dist/solutions-components/p-54190edb.entry.js +0 -6
- package/dist/solutions-components/p-573d2241.entry.js +0 -18
- package/dist/solutions-components/p-579cc100.entry.js +0 -11
- package/dist/solutions-components/p-57f2b4f9.js +0 -6
- package/dist/solutions-components/p-58da33ce.js +0 -6
- package/dist/solutions-components/p-595b6177.js +0 -6
- package/dist/solutions-components/p-5c83c577.js +0 -6
- package/dist/solutions-components/p-5dc13b6d.js +0 -11
- package/dist/solutions-components/p-5faf659b.js +0 -11
- package/dist/solutions-components/p-61f3b001.js +0 -6
- package/dist/solutions-components/p-64a0e0e7.entry.js +0 -6
- package/dist/solutions-components/p-6610bad4.js +0 -6
- package/dist/solutions-components/p-66380f26.js +0 -6
- package/dist/solutions-components/p-68b33cb6.js +0 -6
- package/dist/solutions-components/p-6e5bbdbd.js +0 -6
- package/dist/solutions-components/p-6eecc279.js +0 -6
- package/dist/solutions-components/p-71d0f30c.js +0 -6
- package/dist/solutions-components/p-7814f6db.js +0 -6
- package/dist/solutions-components/p-7c23c4cd.js +0 -6
- package/dist/solutions-components/p-81a962c3.js +0 -6
- package/dist/solutions-components/p-892075e5.entry.js +0 -11
- package/dist/solutions-components/p-89fc9c87.js +0 -11
- package/dist/solutions-components/p-8cf4fd05.entry.js +0 -28
- package/dist/solutions-components/p-903aa065.js +0 -6
- package/dist/solutions-components/p-965495c7.js +0 -6
- package/dist/solutions-components/p-9654f62f.entry.js +0 -6
- package/dist/solutions-components/p-9b3e8d42.js +0 -6
- package/dist/solutions-components/p-9c5e66fe.js +0 -6
- package/dist/solutions-components/p-9f7d7413.js +0 -6
- package/dist/solutions-components/p-a452c2a8.js +0 -6
- package/dist/solutions-components/p-a7d5752b.js +0 -6
- package/dist/solutions-components/p-ab857e6d.js +0 -6
- package/dist/solutions-components/p-ad16d71b.entry.js +0 -6
- package/dist/solutions-components/p-ae221b83.entry.js +0 -6
- package/dist/solutions-components/p-ae443c91.entry.js +0 -6
- package/dist/solutions-components/p-af25c24c.entry.js +0 -17
- package/dist/solutions-components/p-b73319e1.js +0 -6
- package/dist/solutions-components/p-bf48be66.entry.js +0 -11
- package/dist/solutions-components/p-c1a86a7f.js +0 -6
- package/dist/solutions-components/p-c347875f.js +0 -6
- package/dist/solutions-components/p-c69de0fa.entry.js +0 -11
- package/dist/solutions-components/p-c6c4ed96.js +0 -6
- package/dist/solutions-components/p-dac63a50.js +0 -6
- package/dist/solutions-components/p-dec91018.js +0 -6
- package/dist/solutions-components/p-e7c11602.js +0 -6
- package/dist/solutions-components/p-e9ae9ec7.js +0 -6
- package/dist/solutions-components/p-e9f128b3.js +0 -6
- package/dist/solutions-components/p-eb5e6881.js +0 -6
- package/dist/solutions-components/p-f53a8e59.js +0 -6
- package/dist/solutions-components/p-fa3732fa.entry.js +0 -11
- package/dist/solutions-components/p-fad93fd0.js +0 -6
- package/dist/solutions-components/p-ff40cfb2.js +0 -6
- package/dist/solutions-components/p-ffb567ab.entry.js +0 -6
@@ -0,0 +1,29 @@
|
|
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{h as i,r as t,c as e,H as s,g as n}from"./p-91c78d98.js";import{f as o}from"./p-4879d789.js";import{i as a,t as r,g as c,d as l,e as h}from"./p-4b9ba22d.js";import{d,f as p,c as m,r as u,a as b,F as g}from"./p-53368491.js";import{s as v,c as f,a as x,d as w,H as y}from"./p-3db650c2.js";import{g as k}from"./p-361b44ed.js";import{c as C,u as z,d as I}from"./p-2ee3afea.js";import{c as D,d as H,g as $}from"./p-f52ee45d.js";import{c as E,s as j,a as P}from"./p-3a668467.js";import{c as O,d as L}from"./p-bf9d3381.js";import{c as A}from"./p-efc041d0.js";import{o as S}from"./p-abc50d38.js";import{c as _,s as F,d as R,u as T}from"./p-29120ecd.js";import{C as M,b as B,c as W,h as q,i as V,d as G,e as N,f as U,g as K,a as X}from"./p-353ff6c3.js";import{d as Y}from"./p-a82f35c9.js";import{c as J,d as Q}from"./p-73c50d50.js";import{i as Z}from"./p-34fb2a6e.js";import{g as ii}from"./p-99d8a839.js";import{k as ti,l as ei}from"./p-53bc5fc1.js";import{s as si}from"./p-375fd36b.js";import"./p-3760847f.js";import"./p-86f482ca.js";import"./p-e1a4994d.js";import"./p-2a58e378.js";import"./p-482534a7.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.9.0
|
11
|
+
*/const ni="x-button";function oi({disabled:t,key:e,label:s,onClick:n,ref:o,scale:a}){return i("button",{"aria-label":s,class:ni,disabled:t,key:e,onClick:n,tabIndex:-1,type:"button",ref:o},i("calcite-icon",{icon:"x",scale:"l"===a?"m":"s"}))}const ai="combobox-item-",ri="combobox-chip-",ci="combobox-label-",li="combobox-listbox-",hi="combobox-input-",di=class{constructor(i){t(this,i),this.calciteComboboxChange=e(this,"calciteComboboxChange",6),this.calciteComboboxFilterChange=e(this,"calciteComboboxFilterChange",6),this.calciteComboboxChipClose=e(this,"calciteComboboxChipClose",6),this.calciteComboboxBeforeClose=e(this,"calciteComboboxBeforeClose",6),this.calciteComboboxClose=e(this,"calciteComboboxClose",6),this.calciteComboboxBeforeOpen=e(this,"calciteComboboxBeforeOpen",6),this.calciteComboboxOpen=e(this,"calciteComboboxOpen",6),this.placement=d,this.internalValueChangeFlag=!1,this.textInput=null,this.mutationObserver=A("mutation",(()=>this.updateItems())),this.resizeObserver=A("resize",(()=>this.setMaxScrollerHeight())),this.guid=k(),this.inputHeight=0,this.ignoreSelectedEventsFlag=!1,this.openTransitionProp="opacity",this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?p(t,i):null},this.getValue=()=>{const i=this.selectedItems.map((i=>{var t;return null===(t=null==i?void 0:i.value)||void 0===t?void 0:t.toString()}));return(null==i?void 0:i.length)?i.length>1?i:i[0]:""},this.onLabelClick=()=>{this.setFocus()},this.keyDownHandler=i=>{const{key:t}=i;switch(t){case"Tab":this.activeChipIndex=-1,this.activeItemIndex=-1,this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):this.open&&(this.open=!1,i.preventDefault());break;case"ArrowLeft":this.previousChip(),i.preventDefault();break;case"ArrowRight":this.nextChip(),i.preventDefault();break;case"ArrowUp":i.preventDefault(),this.open&&this.shiftActiveItemIndex(-1),this.comboboxInViewport()||this.el.scrollIntoView();break;case"ArrowDown":i.preventDefault(),this.open?this.shiftActiveItemIndex(1):(this.open=!0,this.ensureRecentSelectedItemIsActive()),this.comboboxInViewport()||this.el.scrollIntoView();break;case" ":this.textInput.value||(this.open||(this.open=!0,this.shiftActiveItemIndex(1)),i.preventDefault());break;case"Home":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(0),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"End":if(!this.open)return;i.preventDefault(),this.updateActiveItemIndex(this.filteredItems.length-1),this.scrollToActiveItem(),this.comboboxInViewport()||this.el.scrollIntoView();break;case"Escape":this.clearDisabled||this.open||this.clearValue(),this.open=!1,i.preventDefault();break;case"Enter":this.activeItemIndex>-1?(this.toggleSelection(this.filteredItems[this.activeItemIndex]),i.preventDefault()):this.activeChipIndex>-1?(this.removeActiveChip(),i.preventDefault()):this.allowCustomValues&&this.text?(this.addCustomChip(this.text,!0),i.preventDefault()):i.defaultPrevented||v(this)&&i.preventDefault();break;case"Delete":case"Backspace":this.activeChipIndex>-1?(i.preventDefault(),this.removeActiveChip()):!this.text&&this.isMulti()&&(i.preventDefault(),this.removeLastChip())}},this.toggleCloseEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxClose",this.toggleCloseEnd)},this.toggleOpenEnd=()=>{this.open=!1,this.el.removeEventListener("calciteComboboxOpen",this.toggleOpenEnd)},this.setMaxScrollerHeight=async()=>{const{listContainerEl:i,open:t,referenceEl:e}=this;if(!i||!t)return;await this.reposition(!0);const s=this.getMaxScrollerHeight();i.style.maxHeight=s>0?`${s}px`:"",i.style.minWidth=`${e.clientWidth}px`,await this.reposition(!0)},this.calciteChipCloseHandler=i=>{this.open=!1;const t=this.items.find((t=>t===i));t&&this.toggleSelection(t,!1),this.calciteComboboxChipClose.emit()},this.clickHandler=i=>{const t=i.composedPath();return t.some((i=>"CALCITE-CHIP"===i.tagName))?(this.open=!1,void i.preventDefault()):t.some((i=>{var t;return null===(t=i.classList)||void 0===t?void 0:t.contains(ni)}))?(this.clearValue(),void i.preventDefault()):(this.open=!this.open,void this.ensureRecentSelectedItemIsActive())},this.setInactiveIfNotContained=i=>{const t=i.composedPath();!this.allowCustomValues&&this.textInput.value&&(this.clearInputValue(),this.filterItems(""),this.updateActiveItemIndex(-1)),!this.open||t.includes(this.el)||t.includes(this.referenceEl)||(this.allowCustomValues&&this.text.trim().length&&this.addCustomChip(this.text),this.open=!1)},this.setFloatingEl=i=>{this.floatingEl=i,m(this,this.referenceEl,this.floatingEl)},this.setContainerEl=i=>{this.resizeObserver.observe(i),this.listContainerEl=i,this.transitionEl=i},this.setReferenceEl=i=>{this.referenceEl=i,m(this,this.referenceEl,this.floatingEl)},this.inputHandler=i=>{const t=i.target.value;this.text=t,this.filterItems(t),t&&(this.activeChipIndex=-1)},this.filterItems=(()=>{const i=(i,t)=>i&&t.some((({label:t,value:e})=>i.tagName===N?t===i.label:e===i.value&&t===i.textLabel));return Y((t=>{const e=o(this.data,t);this.getItemsAndGroups().forEach((t=>{const s=!i(t,e);t.hidden=s;const[n,o]=t.ancestors;(i(n,e)||i(o,e))&&(t.hidden=!1),s||t.ancestors.forEach((i=>i.hidden=!1))})),this.filteredItems=this.getFilteredItems(),this.calciteComboboxFilterChange.emit()}),100)})(),this.internalComboboxChangeEvent=()=>{this.calciteComboboxChange.emit()},this.emitComboboxChange=Y(this.internalComboboxChangeEvent,0),this.updateItems=()=>{this.items=this.getItems(),this.groupItems=this.getGroupItems(),this.data=this.getData(),this.selectedItems=this.getSelectedItems(),this.filteredItems=this.getFilteredItems(),this.needsIcon=this.getNeedsIcon(),this.items.forEach((i=>{i.selectionMode=this.selectionMode,i.scale=this.scale})),this.allowCustomValues||this.setMaxScrollerHeight(),this.groupItems.forEach(((i,t,e)=>{0===t&&(i.afterEmptyGroup=!1);const s=e[t+1];s&&(s.afterEmptyGroup=0===i.children.length)}))},this.scrollToActiveItem=()=>{const i=this.filteredItems[this.activeItemIndex];if(!i)return;const t=this.calculateSingleItemHeight(i),{offsetHeight:e,scrollTop:s}=this.listContainerEl;e+s<i.offsetTop+t?this.listContainerEl.scrollTop=i.offsetTop-e+t:i.offsetTop<s&&(this.listContainerEl.scrollTop=i.offsetTop)},this.comboboxFocusHandler=()=>{var i;this.disabled||null===(i=this.textInput)||void 0===i||i.focus()},this.comboboxBlurHandler=i=>{this.setInactiveIfNotContained(i)},this.clearDisabled=!1,this.open=!1,this.disabled=!1,this.form=void 0,this.label=void 0,this.placeholder=void 0,this.placeholderIcon=void 0,this.placeholderIconFlipRtl=!1,this.maxItems=0,this.name=void 0,this.allowCustomValues=void 0,this.overlayPositioning="absolute",this.required=!1,this.selectionMode="multiple",this.scale="m",this.value=null,this.flipPlacements=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedItems=[],this.filteredItems=[],this.items=[],this.groupItems=[],this.needsIcon=void 0,this.activeItemIndex=-1,this.activeChipIndex=-1,this.activeDescendant="",this.text="",this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){S(this),this.disabled?this.open=!1:this.setMaxScrollerHeight()}handleDisabledChange(i){i||(this.open=!1)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}valueHandler(i){if(!this.internalValueChangeFlag){const t=this.getItems();Array.isArray(i)?t.forEach((t=>t.selected=i.includes(t.value))):t.forEach(i?t=>t.selected=i===t.value:i=>i.selected=!1),this.updateItems()}}onMessagesChange(){}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}selectedItemsHandler(){this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1}documentClickHandler(i){!this.disabled&&a(i)&&this.setInactiveIfNotContained(i)}calciteComboboxItemChangeHandler(i){if(this.ignoreSelectedEventsFlag)return;const t=i.target,e=this.filteredItems.indexOf(t);this.updateActiveItemIndex(e),this.toggleSelection(t,t.selected)}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return u(this,{floatingEl:t,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},i)}async setFocus(){var i;await E(this),null===(i=this.textInput)||void 0===i||i.focus(),this.activeChipIndex=-1,this.activeItemIndex=-1}connectedCallback(){var i;C(this),O(this),_(this),D(this),f(this),this.internalValueChangeFlag=!0,this.value=this.getValue(),this.internalValueChangeFlag=!1,null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),this.updateItems(),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(),S(this))}async componentWillLoad(){j(this),this.updateItems(),await F(this)}componentDidLoad(){x(this,this.getValue()),this.reposition(!0),P(this)}componentDidRender(){this.el.offsetHeight!==this.inputHeight&&(this.reposition(!0),this.inputHeight=this.el.offsetHeight),z(this)}disconnectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),I(this),H(this),w(this),b(this,this.referenceEl,this.floatingEl),L(this),R(this)}textHandler(){this.updateActiveItemIndex(-1)}effectiveLocaleChange(){T(this,this.effectiveLocale)}clearValue(){this.ignoreSelectedEventsFlag=!0,this.items.forEach((i=>i.selected=!1)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=[],this.emitComboboxChange(),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems(""),this.setFocus()}clearInputValue(){this.textInput.value="",this.text=""}comboboxInViewport(){const i=this.el.getBoundingClientRect();return i.top>=0&&i.left>=0&&i.right<=(window.innerWidth||document.documentElement.clientWidth)&&i.bottom<=(window.innerHeight||document.documentElement.clientHeight)}onBeforeOpen(){this.scrollToActiveItem(),this.calciteComboboxBeforeOpen.emit()}onOpen(){this.calciteComboboxOpen.emit()}onBeforeClose(){this.calciteComboboxBeforeClose.emit()}onClose(){this.calciteComboboxClose.emit()}ensureRecentSelectedItemIsActive(){const{selectedItems:i}=this,t=0===i.length?0:this.items.indexOf(i[i.length-1]);this.updateActiveItemIndex(t)}getMaxScrollerHeight(){const i=this.getItemsAndGroups().filter((i=>!i.hidden)),{maxItems:t}=this;let e=0,s=0;return i.length>t&&i.forEach((i=>{if(e<t&&t>0){const t=this.calculateSingleItemHeight(i);t>0&&(s+=t,e++)}})),s}calculateSingleItemHeight(i){if(!i)return;let t=i.offsetHeight;return Array.from(i.querySelectorAll(M)).map((i=>null==i?void 0:i.offsetHeight)).forEach((i=>{t-=i})),t}getItemsAndGroups(){return[...this.groupItems,...this.items]}toggleSelection(i,t=!i.selected){!i||"single-persist"===this.selectionMode&&i.selected&&i.value===this.value||(this.isMulti()?(i.selected=t,this.updateAncestors(i),this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.resetText(),this.filterItems("")):(this.ignoreSelectedEventsFlag=!0,this.items.forEach((e=>e.selected=e===i&&t)),this.ignoreSelectedEventsFlag=!1,this.selectedItems=this.getSelectedItems(),this.emitComboboxChange(),this.textInput&&(this.textInput.value=i.textLabel),this.open=!1,this.updateActiveItemIndex(-1),this.resetText(),this.filterItems("")))}updateAncestors(i){if("ancestors"!==this.selectionMode)return;const t=B(i),e=W(i);i.selected?t.forEach((i=>{i.selected=!0})):(e.forEach((i=>i.selected=!1)),[...t].forEach((i=>{q(i)||(i.selected=!1)})))}getFilteredItems(){return this.items.filter((i=>!i.hidden))}getSelectedItems(){if(!this.isMulti()){const i=this.items.find((({selected:i})=>i));return i?[i]:[]}return this.items.filter((i=>i.selected&&("ancestors"!==this.selectionMode||!q(i)))).sort(((i,t)=>{const e=this.selectedItems.indexOf(i),s=this.selectedItems.indexOf(t);return e>-1&&s>-1?e-s:s-e}))}getData(){return this.items.map((i=>({filterDisabled:i.filterDisabled,value:i.value,label:i.textLabel})))}getNeedsIcon(){return V(this.selectionMode)&&this.items.some((i=>i.icon))}resetText(){this.textInput&&(this.textInput.value=""),this.text=""}getItems(){return Array.from(this.el.querySelectorAll(G)).filter((i=>!i.disabled))}getGroupItems(){return Array.from(this.el.querySelectorAll(N))}addCustomChip(i,t){const e=this.items.find((t=>t.textLabel===i));if(e)this.toggleSelection(e,!0);else{this.isMulti()||this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1);const e=document.createElement(G);e.value=i,e.textLabel=i,e.selected=!0,this.el.appendChild(e),this.resetText(),t&&this.setFocus(),this.updateItems(),this.filterItems(""),this.emitComboboxChange()}}removeActiveChip(){this.toggleSelection(this.selectedItems[this.activeChipIndex],!1),this.setFocus()}removeLastChip(){this.toggleSelection(this.selectedItems[this.selectedItems.length-1],!1),this.setFocus()}previousChip(){if(this.text)return;const i=this.activeChipIndex;this.activeChipIndex=-1===i?this.selectedItems.length-1:Math.max(i-1,0),this.updateActiveItemIndex(-1),this.focusChip()}nextChip(){if(this.text||-1===this.activeChipIndex)return;const i=this.activeChipIndex+1;i>this.selectedItems.length-1?(this.activeChipIndex=-1,this.setFocus()):(this.activeChipIndex=i,this.focusChip()),this.updateActiveItemIndex(-1)}focusChip(){var i;const t=null===(i=this.selectedItems[this.activeChipIndex])||void 0===i?void 0:i.guid,e=t?this.referenceEl.querySelector(`#${ri}${t}`):null;null==e||e.setFocus()}shiftActiveItemIndex(i){const{length:t}=this.filteredItems;this.updateActiveItemIndex((this.activeItemIndex+t+i)%t),this.scrollToActiveItem()}updateActiveItemIndex(i){this.activeItemIndex=i;let t=null;this.filteredItems.forEach(((e,s)=>{s===i?(e.active=!0,t=`${ai}${e.guid}`):e.active=!1})),this.activeDescendant=t,this.activeItemIndex>-1&&(this.activeChipIndex=-1)}isMulti(){return!V(this.selectionMode)}renderChips(){const{activeChipIndex:t,scale:e,selectionMode:s,messages:n}=this;return this.selectedItems.map(((o,a)=>{const r={chip:!0,"chip--active":t===a},c=[...[...B(o)].reverse(),o].map((i=>i.textLabel)),l="ancestors"!==s?o.textLabel:c.join(" / ");return i("calcite-chip",{class:r,closable:!0,icon:o.icon,iconFlipRtl:o.iconFlipRtl,id:o.guid?`${ri}${o.guid}`:null,key:o.textLabel,messageOverrides:{dismissLabel:n.removeTag},onCalciteChipClose:()=>this.calciteChipCloseHandler(o),scale:e,title:l,value:o.value},l)}))}renderInput(){const{guid:t,disabled:e,placeholder:s,selectionMode:n,selectedItems:o,open:a}=this,r=V(n),c=o[0],l=!a&&r&&!!c;return i("span",{class:{"input-wrap":!0,"input-wrap--single":r}},l&&i("span",{class:{label:!0,"label--icon":!!(null==c?void 0:c.icon)},key:"label"},c.textLabel),i("input",{"aria-activedescendant":this.activeDescendant,"aria-autocomplete":"list","aria-controls":`${li}${t}`,"aria-label":$(this),class:{input:!0,"input--single":!0,"input--transparent":this.activeChipIndex>-1,"input--hidden":l,"input--icon":!!this.placeholderIcon},disabled:e,id:`${hi}${t}`,key:"input",onBlur:this.comboboxBlurHandler,onFocus:this.comboboxFocusHandler,onInput:this.inputHandler,placeholder:s,type:"text",ref:i=>this.textInput=i}))}renderListBoxOptions(){return this.filteredItems.map((t=>i("li",{"aria-selected":r(t.selected),id:t.guid?`${ai}${t.guid}`:null,role:"option",tabindex:"-1"},t.textLabel)))}renderFloatingUIContainer(){const{setFloatingEl:t,setContainerEl:e,open:s}=this;return i("div",{"aria-hidden":"true",class:{"floating-ui-container":!0,"floating-ui-container--active":s},ref:t},i("div",{class:{[U.listContainer]:!0,[g.animation]:!0,[g.animationActive]:s},ref:e},i("ul",{class:{list:!0,"list--hide":!s}},i("slot",null))))}renderIconStart(){const{selectedItems:t,placeholderIcon:e,selectionMode:s,placeholderIconFlipRtl:n}=this,o=t[0],a=null==o?void 0:o.icon,r=V(s);return(!this.open&&o?!!a&&r:!!this.placeholderIcon&&(!o||r))&&i("span",{class:"icon-start"},i("calcite-icon",{class:"selected-icon",flipRtl:this.open&&o?o.iconFlipRtl:n,icon:!this.open&&o?a:e,scale:"s"}))}renderIconEnd(){const{open:t}=this;return i("span",{class:"icon-end"},i("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}render(){var t;const{guid:e,label:n,open:o}=this,a=V(this.selectionMode),c=!this.clearDisabled&&(null===(t=this.value)||void 0===t?void 0:t.length)>0;return i(s,{onClick:this.comboboxFocusHandler},i("div",{"aria-autocomplete":"list","aria-controls":`${li}${e}`,"aria-expanded":r(o),"aria-haspopup":"listbox","aria-label":$(this),"aria-live":"polite","aria-owns":`${li}${e}`,class:{wrapper:!0,"wrapper--single":a||!this.selectedItems.length,"wrapper--active":o},onClick:this.clickHandler,onKeyDown:this.keyDownHandler,role:"combobox",ref:this.setReferenceEl},i("div",{class:"grid-input"},this.renderIconStart(),!a&&this.renderChips(),i("label",{class:"screen-readers-only",htmlFor:`${hi}${e}`,id:`${ci}${e}`},n),this.renderInput()),c?i(oi,{disabled:this.disabled,key:"close-button",label:this.messages.clear,scale:this.scale}):null,this.renderIconEnd()),i("ul",{"aria-labelledby":`${ci}${e}`,"aria-multiselectable":"true",class:"screen-readers-only",id:`${li}${e}`,role:"listbox",tabIndex:-1},this.renderListBoxOptions()),this.renderFloatingUIContainer(),i(y,{component:this}))}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],selectionMode:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],messageOverrides:["onMessagesChange"],flipPlacements:["flipPlacementsHandler"],selectedItems:["selectedItemsHandler"],text:["textHandler"],effectiveLocale:["effectiveLocaleChange"]}}};di.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]) .x-button{inline-size:1rem;block-size:1rem}:host([scale=m]) .x-button{inline-size:1.5rem;block-size:1.5rem}:host([scale=l]) .x-button{inline-size:2rem;block-size:2rem}.x-button{margin:0px;display:flex;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;align-content:center;align-items:center;justify-content:center;align-self:center;border-width:2px;background-color:transparent;color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-radius:50%;border-color:transparent;background-color:var(--calcite-ui-foreground-2)}.x-button:active,.x-button:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}.x-button:active{border-style:solid;border-color:var(--calcite-ui-brand)}.x-button calcite-icon{color:inherit}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.25rem - 1px)}:host([scale=s]) .x-button{margin-inline-end:0.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:1rem;--calcite-internal-combobox-input-margin-block:calc(0.5rem - 1px)}:host([scale=m]) .x-button{margin-inline-end:0.75rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:1.5rem;--calcite-internal-combobox-input-margin-block:calc(0.625rem - 1px)}:host([scale=l]) .x-button{margin-inline-end:1rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{padding:0px;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}.floating-ui-container--active{visibility:visible}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{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}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}::slotted(calcite-combobox-item-group:not(:first-child)){padding-block-start:var(--calcite-combobox-item-spacing-unit-l)}";
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
+
* v1.9.0
|
16
|
+
*/
|
17
|
+
const pi="icon",mi="icon--active",ui="icon--indent",bi=class{constructor(i){t(this,i),this.calciteComboboxItemChange=e(this,"calciteComboboxItemChange",6),this.itemClickHandler=i=>{i.preventDefault(),this.toggleSelected()},this.disabled=!1,this.selected=!1,this.active=!1,this.ancestors=void 0,this.guid=k(),this.icon=void 0,this.iconFlipRtl=!1,this.textLabel=void 0,this.value=void 0,this.filterDisabled=void 0,this.selectionMode="multiple",this.scale="m"}selectedWatchHandler(){this.calciteComboboxItemChange.emit()}connectedCallback(){this.ancestors=K(this.el),J(this),C(this)}disconnectedCallback(){Q(this),I(this)}componentDidRender(){z(this)}toggleSelected(){this.disabled||"single-persist"===this.selectionMode&&this.selected||(this.selected=!this.selected)}renderIcon(t){return this.icon?i("calcite-icon",{class:{"icon--custom":!!this.icon,[mi]:this.icon&&this.selected,[ui]:!0},flipRtl:this.iconFlipRtl,icon:this.icon||t,key:"icon",scale:"l"===this.scale?"m":"s"}):null}renderSelectIndicator(t,e){return t?i("span",{class:{[pi]:!0,"icon--dot":!0,[ui]:!0}}):i("calcite-icon",{class:{[pi]:!0,[mi]:this.selected,[ui]:!0},flipRtl:this.iconFlipRtl,icon:e,key:"indicator",scale:"l"===this.scale?"m":"s"})}renderChildren(){return c(this.el)?i("ul",{key:"default-slot-container"},i("slot",null)):null}render(){const t=V(this.selectionMode),e=t&&!this.disabled,n=this.disabled?"circle-disallowed":t?"dot":"check",o={label:!0,"label--selected":this.selected,"label--active":this.active,"label--single":t},a=X(this.el);return i(s,{"aria-hidden":"true"},i("div",{class:`container scale--${this.scale}`,style:{"--calcite-combobox-item-spacing-indent-multiplier":`${a}`}},i("li",{class:o,id:this.guid,onClick:this.itemClickHandler},this.renderSelectIndicator(e,n),this.renderIcon(n),i("span",{class:"title"},this.textLabel)),this.renderChildren()))}get el(){return n(this)}static get watchers(){return{selected:["selectedWatchHandler"]}}};bi.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem;--calcite-combobox-item-selector-icon-size:1rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.625rem;--calcite-combobox-item-spacing-indent:1rem;--calcite-combobox-item-selector-icon-size:1.5rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--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([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;word-wrap:break-word;word-break:break-word;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--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)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{margin-block-start:-1px;padding-inline-start:var(--calcite-combobox-item-spacing-unit-l);color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:flex;justify-content:center;min-inline-size:var(--calcite-combobox-item-selector-icon-size)}.icon--dot:before{text-align:start;content:"•"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}';
|
18
|
+
/*!
|
19
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
21
|
+
* v1.9.0
|
22
|
+
*/
|
23
|
+
const gi=class{constructor(i){t(this,i),this.calciteDropdownSelect=e(this,"calciteDropdownSelect",6),this.calciteDropdownBeforeClose=e(this,"calciteDropdownBeforeClose",6),this.calciteDropdownClose=e(this,"calciteDropdownClose",6),this.calciteDropdownBeforeOpen=e(this,"calciteDropdownBeforeOpen",6),this.calciteDropdownOpen=e(this,"calciteDropdownOpen",6),this.items=[],this.groups=[],this.mutationObserver=A("mutation",(()=>this.updateItems())),this.resizeObserver=A("resize",(i=>this.resizeObserverCallback(i))),this.openTransitionProp="opacity",this.guid=`calcite-dropdown-${k()}`,this.defaultAssignedElements=[],this.slotChangeHandler=i=>{this.defaultAssignedElements=i.target.assignedElements({flatten:!0}),this.updateItems()},this.setFilteredPlacements=()=>{const{el:i,flipPlacements:t}=this;this.filteredFlipPlacements=t?p(t,i):null},this.updateTriggers=i=>{this.triggers=i.target.assignedElements({flatten:!0}),this.reposition(!0)},this.updateItems=()=>{this.items=this.groups.map((i=>Array.from(null==i?void 0:i.querySelectorAll("calcite-dropdown-item")))).reduce(((i,t)=>[...i,...t]),[]),this.updateSelectedItems(),this.reposition(!0),this.items.forEach((i=>i.scale=this.scale))},this.updateGroups=i=>{const t=i.target.assignedElements({flatten:!0}).filter((i=>null==i?void 0:i.matches("calcite-dropdown-group")));this.groups=t,this.updateItems()},this.resizeObserverCallback=i=>{i.forEach((i=>{const{target:t}=i;t===this.referenceEl?this.setDropdownWidth():t===this.scrollerEl&&this.setMaxScrollerHeight()}))},this.setDropdownWidth=()=>{const{referenceEl:i,scrollerEl:t}=this,e=null==i?void 0:i.clientWidth;e&&t&&(t.style.minWidth=`${e}px`)},this.setMaxScrollerHeight=()=>{const{scrollerEl:i}=this;if(!i)return;this.reposition(!0);const t=this.getMaxScrollerHeight();i.style.maxHeight=t>0?`${t}px`:"",this.reposition(!0)},this.setScrollerAndTransitionEl=i=>{this.resizeObserver.observe(i),this.scrollerEl=i,this.transitionEl=i},this.setReferenceEl=i=>{this.referenceEl=i,m(this,this.referenceEl,this.floatingEl),this.resizeObserver.observe(i)},this.setFloatingEl=i=>{this.floatingEl=i,m(this,this.referenceEl,this.floatingEl)},this.keyDownHandler=i=>{if(!i.composedPath().includes(this.referenceEl))return;const{defaultPrevented:t,key:e}=i;if(!t){if(this.open){if("Escape"===e)return this.closeCalciteDropdown(),void i.preventDefault();if(i.shiftKey&&"Tab"===e)return this.closeCalciteDropdown(),void i.preventDefault()}Z(e)?(this.openCalciteDropdown(),i.preventDefault()):"Escape"===e&&(this.closeCalciteDropdown(),i.preventDefault())}},this.focusOnFirstActiveOrFirstItem=()=>{this.getFocusableElement(this.items.find((i=>i.selected))||this.items[0])},this.toggleOpenEnd=()=>{this.focusOnFirstActiveOrFirstItem(),this.el.removeEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.openCalciteDropdown=()=>{this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.toggleOpenEnd)},this.open=!1,this.closeOnSelectDisabled=!1,this.disabled=!1,this.flipPlacements=void 0,this.maxItems=0,this.overlayPositioning="absolute",this.placement=d,this.selectedItems=[],this.type="click",this.width=void 0,this.scale="m"}openHandler(i){if(!this.disabled)return i&&this.reposition(!0),void S(this);this.open=!1}handleDisabledChange(i){i||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}maxItemsHandler(){this.setMaxScrollerHeight()}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}handlePropsChange(){this.updateItems()}async setFocus(){await E(this),this.el.focus()}connectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.reposition(!0),this.open&&(this.openHandler(this.open),S(this)),C(this),this.updateItems()}componentWillLoad(){j(this)}componentDidLoad(){P(this),this.reposition(!0)}componentDidRender(){z(this)}disconnectedCallback(){var i,t;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),null===(t=this.resizeObserver)||void 0===t||t.disconnect(),I(this),b(this,this.referenceEl,this.floatingEl)}render(){const{open:t,guid:e}=this;return i(s,null,i("div",{class:"calcite-trigger-container",id:`${e}-menubutton`,onClick:this.openCalciteDropdown,onKeyDown:this.keyDownHandler,ref:this.setReferenceEl},i("slot",{"aria-controls":`${e}-menu`,"aria-expanded":r(t),"aria-haspopup":"menu",name:"trigger",onSlotchange:this.updateTriggers})),i("div",{"aria-hidden":r(!t),class:"calcite-dropdown-wrapper",ref:this.setFloatingEl},i("div",{"aria-labelledby":`${e}-menubutton`,class:{"calcite-dropdown-content":!0,[g.animation]:!0,[g.animationActive]:t},id:`${e}-menu`,role:"menu",ref:this.setScrollerAndTransitionEl},i("slot",{onSlotchange:this.updateGroups}))))}async reposition(i=!1){const{floatingEl:t,referenceEl:e,placement:s,overlayPositioning:n,filteredFlipPlacements:o}=this;return u(this,{floatingEl:t,referenceEl:e,overlayPositioning:n,placement:s,flipPlacements:o,type:"menu"},i)}closeCalciteDropdownOnClick(i){!this.disabled&&a(i)&&this.open&&!i.composedPath().includes(this.el)&&this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(i){this.closeCalciteDropdown(),i.stopPropagation()}closeCalciteDropdownOnOpenEvent(i){i.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||"hover"!==this.type||this.openCalciteDropdown()}pointerLeaveHandler(){this.disabled||"hover"!==this.type||this.closeCalciteDropdown()}calciteInternalDropdownItemKeyEvent(i){const{keyboardEvent:t}=i.detail,e=t.target;switch(t.key){case"Tab":this.open=!1,this.updateTabIndexOfItems(e);break;case"ArrowDown":l(this.items,e,"next");break;case"ArrowUp":l(this.items,e,"previous");break;case"Home":l(this.items,e,"first");break;case"End":l(this.items,e,"last")}i.stopPropagation()}handleItemSelect(i){this.updateSelectedItems(),i.stopPropagation(),this.calciteDropdownSelect.emit(),this.closeOnSelectDisabled&&"none"!==i.detail.requestedDropdownGroup.selectionMode||this.closeCalciteDropdown(),i.stopPropagation()}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit()}updateSelectedItems(){this.selectedItems=this.items.filter((i=>i.selected))}getMaxScrollerHeight(){const{maxItems:i,items:t}=this;let e,s=0,n=0;return this.groups.forEach((t=>{i>0&&s<i&&Array.from(t.children).forEach(((t,o)=>{0===o&&(isNaN(e)&&(e=t.offsetTop),n+=e),s<i&&(n+=t.offsetHeight,s+=1)}))})),t.length>i?n:0}closeCalciteDropdown(i=!0){this.open=!1,i&&h(this.triggers[0])}getFocusableElement(i){if(!i)return;const t=i.attributes.isLink?i.shadowRoot.querySelector("a"):i;h(t)}updateTabIndexOfItems(i){this.items.forEach((t=>{t.tabIndex=i!==t?-1:0}))}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{open:["openHandler"],disabled:["handleDisabledChange"],flipPlacements:["flipPlacementsHandler"],maxItems:["maxItemsHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],scale:["handlePropsChange"]}}};gi.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-flex;flex:0 1 auto}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host .calcite-dropdown-wrapper{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .calcite-dropdown-wrapper{visibility:visible}:host .calcite-dropdown-content{max-block-size:45vh;inline-size:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;flex:1 1 auto;word-wrap:break-word;word-break:break-word}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([width=s]){--calcite-dropdown-width:12rem}:host([width=m]){--calcite-dropdown-width:14rem}:host([width=l]){--calcite-dropdown-width:16rem}:host([hidden]){display:none}[hidden]{display:none}";
|
24
|
+
/*!
|
25
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
26
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
27
|
+
* v1.9.0
|
28
|
+
*/
|
29
|
+
const vi="container",fi=class{constructor(i){t(this,i),this.calciteInternalDropdownItemChange=e(this,"calciteInternalDropdownItemChange",6),this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach((i=>i.selectionMode=this.selectionMode))},this.mutationObserver=A("mutation",(()=>this.updateItems())),this.groupTitle=void 0,this.scale="m",this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){var i;this.updateItems(),null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.disconnect()}render(){const t=this.groupTitle?i("span",{"aria-hidden":"true",class:"dropdown-title"},this.groupTitle):null,e=this.groupPosition>0?i("div",{class:"dropdown-separator",role:"separator"}):null;return i(s,{"aria-label":this.groupTitle,role:"group"},i("div",{class:{[vi]:!0,[`${vi}--${this.scale}`]:!0}},e,t,i("slot",null)))}updateActiveItemOnChange(i){this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.calciteInternalDropdownItemChange.emit({requestedDropdownGroup:this.requestedDropdownGroup,requestedDropdownItem:this.requestedDropdownItem})}getGroupPosition(){return Array.prototype.indexOf.call(this.el.parentElement.querySelectorAll("calcite-dropdown-group"),this.el)}static get delegatesFocus(){return!0}get el(){return n(this)}static get watchers(){return{selectionMode:["handlePropsChange"]}}};fi.style=":host{position:relative;display:block}.container{text-align:start}.container--s{font-size:var(--calcite-font-size--2);line-height:1rem}.container--s .dropdown-title{padding:0.5rem}.container--m{font-size:var(--calcite-font-size--1);line-height:1rem}.container--m .dropdown-title{padding:0.75rem}.container--l{font-size:var(--calcite-font-size-0);line-height:1.25rem}.container--l .dropdown-title{padding:1rem}.dropdown-title{margin-block-end:-1px;display:block;cursor:default;overflow-wrap:break-word;border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.dropdown-separator{display:block;block-size:1px;background-color:var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";const xi=class{constructor(i){t(this,i),this.calciteDropdownItemSelect=e(this,"calciteDropdownItemSelect",6),this.calciteInternalDropdownItemSelect=e(this,"calciteInternalDropdownItemSelect",6),this.calciteInternalDropdownItemKeyEvent=e(this,"calciteInternalDropdownItemKeyEvent",6),this.calciteInternalDropdownCloseRequest=e(this,"calciteInternalDropdownCloseRequest",6),this.selected=!1,this.iconFlipRtl=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.target=void 0,this.selectionMode="single",this.scale="m"}async setFocus(){var i;await E(this),null===(i=this.el)||void 0===i||i.focus()}componentWillLoad(){j(this),this.initialize()}componentDidLoad(){P(this)}connectedCallback(){this.initialize()}render(){const{href:t,selectionMode:e,label:n,iconFlipRtl:o,scale:a}=this,c=i("calcite-icon",{class:"dropdown-item-icon-start",flipRtl:"start"===o||"both"===o,icon:this.iconStart,scale:"l"===a?"m":"s"}),l=i("span",{class:"dropdown-item-content"},i("slot",null)),h=i("calcite-icon",{class:"dropdown-item-icon-end",flipRtl:"end"===o||"both"===o,icon:this.iconEnd,scale:"l"===a?"m":"s"}),d=this.iconStart&&this.iconEnd?[c,l,h]:this.iconStart?[c,l]:this.iconEnd?[l,h]:l,p=t?i("a",{"aria-label":n,class:"dropdown-link",href:t,rel:this.rel,tabIndex:-1,target:this.target,ref:i=>this.childLink=i},d):d,m=t?null:"single"===e?"menuitemradio":"multiple"===e?"menuitemcheckbox":"menuitem",u="none"!==e?r(this.selected):null;return i(s,{"aria-checked":u,"aria-label":t?"":n,role:m,tabindex:"0"},i("div",{class:{[vi]:!0,"container--link":!!t,[`${vi}--${a}`]:!0,"container--multi-selection":"multiple"===e,"container--single-selection":"single"===e,"container--none-selection":"none"===e}},"none"!==e?i("calcite-icon",{class:"dropdown-item-icon",icon:"multiple"===e?"check":"bullet-point",scale:"l"===a?"m":"s"}):null,p))}onClick(){this.emitRequestedItem()}keyDownHandler(i){switch(i.key){case" ":case"Enter":this.emitRequestedItem(),this.href&&this.childLink.click(),i.preventDefault();break;case"Escape":this.calciteInternalDropdownCloseRequest.emit(),i.preventDefault();break;case"Tab":this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i});break;case"ArrowUp":case"ArrowDown":case"Home":case"End":i.preventDefault(),this.calciteInternalDropdownItemKeyEvent.emit({keyboardEvent:i})}}updateActiveItemOnChange(i){i.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=i.detail.requestedDropdownGroup,this.requestedDropdownItem=i.detail.requestedDropdownItem,this.determineActiveItem()),i.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),"none"===this.selectionMode&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}get el(){return n(this)}};xi.style=".container--s{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}.container--s.container--none-selection{padding-inline-start:0.25rem}.container--s.container--none-selection .dropdown-link{padding-inline-start:0px}.container--m.container--none-selection{padding-inline-start:0.5rem}.container--m.container--none-selection .dropdown-link{padding-inline-start:0px}.container--l.container--none-selection{padding-inline-start:0.75rem}.container--l.container--none-selection .dropdown-link{padding-inline-start:0px}:host{position:relative;display:flex;flex-grow:1;align-items:center}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);text-align:start}.dropdown-item-content{flex:1 1 auto;padding-block:0.125rem;padding-inline-end:auto;padding-inline-start:0.25rem}:host,.container--link a{outline-color:transparent}:host(:focus){outline:2px solid transparent;outline-offset:2px;outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.container--link{padding:0px}.container--link a{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.container--s .dropdown-link{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-inline-end:0.5rem;padding-inline-start:1.5rem}.container--m .dropdown-link{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-inline-end:0.75rem;padding-inline-start:2rem}.container--l .dropdown-link{padding-block:0.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-inline-end:1rem;padding-inline-start:2.5rem}:host(:hover) .container,:host(:active) .container{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:hover) .container--link .dropdown-link,:host(:active) .container--link .dropdown-link{color:var(--calcite-ui-text-1)}:host(:focus) .container{color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host(:active) .container{background-color:var(--calcite-ui-foreground-3)}:host(:hover) .container:before,:host(:active) .container:before,:host(:focus) .container:before{opacity:1}:host([selected]) .container:not(.container--none-selection),:host([selected]) .container--link .dropdown-link{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selected]) .container:not(.container--none-selection):before,:host([selected]) .container--link .dropdown-link:before{opacity:1;color:var(--calcite-ui-brand)}:host([selected]) .container:not(.container--none-selection) calcite-icon,:host([selected]) .container--link .dropdown-link calcite-icon{color:var(--calcite-ui-brand)}.container--multi-selection:before,.container--none-selection:before{display:none}.container--s:before{inset-inline-start:0.5rem}.container--m:before{inset-inline-start:0.75rem}.container--l:before{inset-inline-start:1rem}.dropdown-item-icon{position:absolute;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:scale(0.9)}.container--s .dropdown-item-icon{inset-inline-start:0.25rem}.container--m .dropdown-item-icon{inset-inline-start:0.5rem}.container--l .dropdown-item-icon{inset-inline-start:0.75rem}:host(:hover) .dropdown-item-icon{color:var(--calcite-ui-border-1);opacity:1}:host([selected]) .dropdown-item-icon{color:var(--calcite-ui-brand);opacity:1}.container--s .dropdown-item-icon-start{margin-inline-end:0.5rem;margin-inline-start:0.25rem}.container--s .dropdown-item-icon-end{margin-inline-start:0.5rem}.container--m .dropdown-item-icon-start{margin-inline-end:0.75rem;margin-inline-start:0.25rem}.container--m .dropdown-item-icon-end{margin-inline-start:0.75rem}.container--l .dropdown-item-icon-start{margin-inline-end:1rem;margin-inline-start:0.25rem}.container--l .dropdown-item-icon-end{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";const wi=class{constructor(i){t(this,i),this.noLayersFound=e(this,"noLayersFound",7),this.layerSelectionChange=e(this,"layerSelectionChange",7),this.appearance="transparent",this.enabledLayerIds=[],this.enabledTableIds=[],this.mapView=void 0,this.onlyShowUpdatableLayers=void 0,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=void 0,this.type="select",this._hasValidLayers=!0,this.ids=[],this.selectedName="",this._translations=void 0}async mapViewWatchHandler(){await this._setLayers(),this.ids.length>0?(this._hasValidLayers=!0,this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async componentWillLoad(){await this._getTranslations(),await this._setLayers(),(this.ids.length>0||1===this.selectedIds.length)&&this.layerSelectionChange.emit(1===this.selectedIds.length?[this.selectedIds[0]]:[this.ids[0]])}render(){const t="map-layer-picker";return i(s,null,i("div",{class:"map-layer-picker-container"},i("div",{class:"map-layer-picker"},this._hasValidLayers?"combobox"===this.type?this._getCombobox(t):"select"===this.type?this._getSelect(t):this._getDropdown(t):this._getInvalidPlaceholder(),i("calcite-tooltip",{label:"",placement:"bottom","reference-element":t},i("span",null,this._translations.switchLayer)))))}async componentDidLoad(){if(this.ids.length>0||1===this.selectedIds.length){const i=1===this.selectedIds.length?this.selectedIds[0]:this.ids[0];"select"===this.type?this._layerElement.value=i:"dropdown"===this.type&&(this.selectedName=Object.keys(this._layerNameHash).indexOf(i)>-1?this._layerNameHash[i].name:Object.keys(this._tableNameHash).indexOf(i)>-1?this._tableNameHash[i].name:"")}}_getInvalidPlaceholder(){return i("div",null,i("calcite-notice",{class:"height-100",icon:"exclamation-mark-triangle",id:"no-valid-layers",kind:"danger",open:!0},i("div",{slot:"message"},this._translations.noLayersFound)),i("calcite-tooltip",{label:this._translations.enableEditUpdate,placement:"bottom","reference-element":"no-valid-layers"},i("span",null,this._translations.enableEditUpdate)))}_getSelect(t){return i("calcite-select",{id:t,label:"",onCalciteSelectChange:()=>this._layerSelectionChange(),ref:i=>{this._layerElement=i},scale:this.scale},this._getMapLayerOptions())}_getCombobox(t){return i("calcite-combobox",{clearDisabled:!0,id:t,label:"",onCalciteComboboxChange:()=>this._layerSelectionChange(),"placeholder-icon":this.placeholderIcon,ref:i=>{this._layerElement=i},scale:this.scale,"selection-mode":"single"},this._getMapLayerOptions())}_getDropdown(t){return i("calcite-dropdown",{class:"layer-picker-dropdown"},i("calcite-action",{id:t,slot:"trigger",text:""},i("calcite-button",{alignment:"icon-end-space-between",appearance:this.appearance,class:"max-width-350",iconEnd:"chevron-down",iconStart:"layers",kind:"neutral",width:"full"},i("div",null,this.selectedName))),i("calcite-dropdown-group",{"selection-mode":"single"},this._getMapLayerOptions()))}_getMapLayerOptions(){return this.ids.reduce(((i,t)=>(this._validLayer(t)?i.push(this._getItem(t,"layer")):this._validTable(t)&&i.push(this._getItem(t,"table")),i)),[])}_getItem(t,e){const s="layer"===e?this._layerNameHash[t]:this._tableNameHash[t],n=!!this.onlyShowUpdatableLayers&&!s.supportsUpdate,o=s.name;return"combobox"===this.type?i("calcite-combobox-item",{disabled:n,textLabel:o,value:t}):"select"===this.type?i("calcite-option",{disabled:n,label:o,value:t}):i("calcite-dropdown-item",{disabled:n,onClick:n?void 0:()=>{this._setSelectedLayer(t)}},o)}_setSelectedLayer(i){const t=Object.keys(this._layerNameHash).indexOf(i)>-1?this._layerNameHash[i]:Object.keys(this._tableNameHash).indexOf(i)>-1?this._tableNameHash[i]:void 0;this.selectedName=null==t?void 0:t.name,this.selectedIds=[i],this.layerSelectionChange.emit(this.selectedIds)}async _setLayers(){if(this.mapView){await this._initLayerTableHash();const i=this.onlyShowUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash),t=this.showTables?this.onlyShowUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[];this.ids=[...i.filter((i=>{var t;return!((null===(t=this.enabledLayerIds)||void 0===t?void 0:t.length)>0)||this.enabledLayerIds.indexOf(i)>-1})),...t.filter((i=>{var t;return!((null===(t=this.enabledTableIds)||void 0===t?void 0:t.length)>0)||this.enabledTableIds.indexOf(i)>-1}))]}}_getEditableIds(i){return Object.keys(i).reduce(((t,e)=>(i[e].supportsUpdate&&t.push(e),t)),[])}async _initLayerTableHash(){this._layerNameHash=await ti(this.mapView,this.onlyShowUpdatableLayers),this._tableNameHash=this.showTables?await ei(this.mapView,this.onlyShowUpdatableLayers):{}}_validLayer(i){var t;const e=null===(t=this._layerNameHash[i])||void 0===t?void 0:t.name;return e&&si.managedLayers.indexOf(e)<0&&(!(this.enabledLayerIds.length>0)||this.enabledLayerIds.indexOf(i)>-1)}_validTable(i){var t;const e=null===(t=this._tableNameHash[i])||void 0===t?void 0:t.name,s=e&&this.showTables;return s?si.managedTables.indexOf(e)<0&&(!(this.enabledTableIds.length>0)||this.enabledTableIds.indexOf(i)>-1):s}_layerSelectionChange(){const i=Array.isArray(this._layerElement.value)?this._layerElement.value:[this._layerElement.value];JSON.stringify(i)!==JSON.stringify([""])&&(this.selectedIds=i,this.layerSelectionChange.emit(this.selectedIds))}async _getTranslations(){const i=await ii(this.el);this._translations=i[0]}get el(){return n(this)}static get watchers(){return{mapView:["mapViewWatchHandler"]}}};wi.style=":host{display:block}.map-layer-picker-container{width:100%;height:100%}.map-layer-picker{position:relative;width:100%;display:inline-block;height:100%}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}";export{di as calcite_combobox,bi as calcite_combobox_item,gi as calcite_dropdown,fi as calcite_dropdown_group,xi as calcite_dropdown_item,wi as map_layer_picker}
|
@@ -0,0 +1,11 @@
|
|
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{a as n}from"./p-91c78d98.js";import{e as o}from"./p-024c2016.js";import{g as s}from"./p-bf9d3381.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
10
|
+
* v1.9.0
|
11
|
+
*/const t={},a={};async function r(o){const i=s(o);if(t[i])return t[i];a[i]||(a[i]=fetch(n(`./assets/date-picker/nls/${i}.json`)).then((n=>n.json())).catch((()=>(console.error(`Translations for "${i}" not found or invalid, falling back to english`),r("en")))));const c=await a[i];return t[i]=c,c}function i(n){return n.map(((n,s)=>o(n,1===s)))}export{r as a,i as g}
|
@@ -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 s,h as i,g as e}from"./p-91c78d98.js";import{c as a,d as o,u as r}from"./p-
|
6
|
+
import{r as t,c as s,h as i,g as e}from"./p-91c78d98.js";import{c as a,d as o,u as r}from"./p-2ee3afea.js";import{s as h,a as c,c as n}from"./p-3a668467.js";import{c as l}from"./p-efc041d0.js";import{I as d}from"./p-3003e56a.js";import{m as p,d as m,a as b,s as f,h as u,b as g,g as x,k as w,i as v,c as y,e as j,f as k,r as I,j as L,l as z,n as C,o as H,p as F,L as D}from"./p-946a0023.js";import"./p-86f482ca.js";import"./p-7d7e6744.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-59d706b4.js";import"./p-a82f35c9.js";const R=class{constructor(i){t(this,i),this.calciteListChange=s(this,"calciteListChange",6),this.calciteListFilter=s(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=l("mutation",p.bind(this)),this.setFilterEl=t=>{this.filterEl=t},this.setFilteredItems=t=>{this.filteredItems=t},this.deselectRemovedItems=m.bind(this),this.deselectSiblingItems=b.bind(this),this.selectSiblings=f.bind(this),this.handleFilter=u.bind(this),this.handleFilterEvent=g.bind(this),this.getItemData=x.bind(this),this.keyDownHandler=w.bind(this),this.disabled=!1,this.filteredItems=[],this.filteredData=[],this.filterEnabled=!1,this.filterPlaceholder=void 0,this.filterText=void 0,this.headingLevel=void 0,this.loading=!1,this.multiple=!1,this.selectionFollowsFocus=!1,this.selectedValues=new Map,this.dataForFilter=[]}connectedCallback(){v.call(this),y.call(this),a(this)}disconnectedCallback(){j.call(this),o(this)}componentWillLoad(){h(this)}componentDidLoad(){c(this),k.call(this)}componentDidRender(){r(this)}calciteListItemRemoveHandler(t){I.call(this,t)}calciteListItemChangeHandler(t){L.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){z.call(this,t),t.stopPropagation()}calciteListFocusOutHandler(t){C.call(this,t)}setUpItems(){H.call(this,"calcite-pick-list-item")}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await n(this),F.call(this,t)}getIconType(){return this.multiple?d.square:d.circle}render(){return i(D,{onKeyDown:this.keyDownHandler,props:this})}get el(){return e(this)}};R.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;box-sizing:border-box;display:flex;flex-shrink:0;flex-grow:1;flex-direction:column;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([filter-enabled]) header{margin-block-end:0.25rem;display:flex;align-items:stretch;justify-content:flex-end;background-color:var(--calcite-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-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-app-z-index)}calcite-filter{margin-block-end:0px}:host([loading][disabled]){min-block-size:2rem}:host([hidden]){display:none}[hidden]{display:none}";export{R as calcite_pick_list}
|
@@ -3,9 +3,9 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as e,c as t,h as i,g as a}from"./p-91c78d98.js";import{c as s,d as n}from"./p-
|
6
|
+
import{r as e,c as t,h as i,g as a}from"./p-91c78d98.js";import{c as s,d as n}from"./p-73c50d50.js";import{t as o,g as l}from"./p-4b9ba22d.js";import{c as r,d as c}from"./p-bf9d3381.js";import{c as d,d as h,s as m,u as f}from"./p-29120ecd.js";import"./p-efc041d0.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-34fb2a6e.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/main/LICENSE.md for details.
|
10
|
-
* v1.
|
11
|
-
*/const
|
10
|
+
* v1.9.0
|
11
|
+
*/const p="thumbnail",b="title",u="subtitle",g="footer-start",v="footer-end",w=class{constructor(i){e(this,i),this.calciteCardSelect=t(this,"calciteCardSelect",6),this.cardSelectClick=()=>{this.selectCard()},this.cardSelectKeyDown=e=>{switch(e.key){case" ":case"Enter":this.selectCard(),e.preventDefault()}},this.loading=!1,this.selected=!1,this.selectable=!1,this.thumbnailPosition="block-start",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}onMessagesChange(){}connectedCallback(){s(this),r(this),d(this)}disconnectedCallback(){n(this),c(this),h(this)}async componentWillLoad(){await m(this)}render(){const e=this.thumbnailPosition.startsWith("inline"),t=this.thumbnailPosition.endsWith("start");return i("div",{class:{"calcite-card-container":!0,inline:e}},this.loading?i("div",{"aria-live":"polite",class:"calcite-card-loader-container"},i("calcite-loader",{label:this.messages.loading})):null,t&&this.renderThumbnail(),i("section",{"aria-busy":o(this.loading),class:{container:!0}},this.selectable?this.renderCheckbox():null,this.renderHeader(),i("div",{class:"card-content"},i("slot",null)),this.renderFooter()),!t&&this.renderThumbnail())}effectiveLocaleChange(){f(this,this.effectiveLocale)}selectCard(){this.selected=!this.selected,this.calciteCardSelect.emit()}renderThumbnail(){return l(this.el,p)?i("section",{class:"thumbnail-wrapper"},i("slot",{name:p})):null}renderCheckbox(){return i("calcite-label",{class:"checkbox-wrapper",onClick:this.cardSelectClick,onKeyDown:this.cardSelectKeyDown},i("calcite-checkbox",{checked:this.selected,label:this.messages.select}))}renderHeader(){const{el:e}=this,t=l(e,b),a=l(e,u);return t||a?i("header",{class:"header"},i("slot",{name:b}),i("slot",{name:u})):null}renderFooter(){const{el:e}=this,t=l(e,g),a=l(e,v);return t||a?i("footer",{class:"footer"},i("slot",{name:g}),i("slot",{name:v})):null}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=":host{display:block;max-inline-size:100%}:host .calcite-card-container{position:relative;display:flex;block-size:100%;flex-direction:column;justify-content:space-between;overflow:hidden;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-2);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);--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);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);border-radius:var(--calcite-border-radius-base)}.container{position:relative;display:flex;flex:1 1 auto;flex-direction:column}:host([loading]) .calcite-card-container *:not(calcite-loader):not(.calcite-card-loader-container){pointer-events:none;opacity:0}:host([loading]) .calcite-card-loader-container{position:absolute;inset:0px;display:flex;align-items:center}.header,.footer{display:flex;padding-inline:0.75rem;padding-block:0.75rem 0.25rem}.header{flex-direction:column}.footer{margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:space-between;padding-inline:0.75rem;padding-block:0.25rem 0.75rem}.card-content{padding:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;color:var(--calcite-ui-text-3)}:host([selected]) .calcite-card-container{border-color:var(--calcite-ui-brand)}slot[name=title]::slotted(*),*::slotted([slot=title]){margin:0px;font-size:var(--calcite-font-size--1);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}:host([selectable]) .header{padding-inline-end:2rem}slot[name=subtitle]::slotted(*),*::slotted([slot=subtitle]){margin:0px;margin-block-start:0.5rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2)}slot[name=thumbnail]::slotted(img),img::slotted([slot=thumbnail]){min-inline-size:100%;max-inline-size:100%}slot[name=footer-start]::slotted(*),*::slotted([slot=footer-start]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375;margin-inline-end:auto}slot[name=footer-end]::slotted(*),*::slotted([slot=footer-end]){align-self:center;font-size:var(--calcite-font-size--2);line-height:1.375}.checkbox-wrapper{position:absolute;margin:0px;padding:0px;inset-block-start:0.5rem;inset-inline-end:0.5rem}.thumbnail-wrapper{display:flex}.calcite-card-container.inline{flex-direction:row}.calcite-card-container.inline>.container{inline-size:60%}.calcite-card-container.inline>.thumbnail-wrapper{inline-size:40%;align-items:flex-start}.calcite-card-container.inline slot[name=thumbnail]::slotted(img),.calcite-card-container.inline img::slotted([slot=thumbnail]){inline-size:100%}slot[name=footer-start]::slotted(*),slot[name=footer-end]::slotted(*){display:flex;gap:0.25rem}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_card}
|
@@ -3,33 +3,33 @@
|
|
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,h as e,f as i,g as s,c as o,H as a,F as l}from"./p-91c78d98.js";import{c as n,d as c}from"./p-
|
6
|
+
import{r as t,h as e,f as i,g as s,c as o,H as a,F as l}from"./p-91c78d98.js";import{c as n,d as c}from"./p-73c50d50.js";import{a as r,i as h,s as d,u as p,n as b,d as u,y as m,z as g,t as f,e as x,g as v}from"./p-4b9ba22d.js";import{c as w,d as k}from"./p-bf9d3381.js";import{c as y}from"./p-2f9bab49.js";import{c as z,s as C,d as _,u as L}from"./p-29120ecd.js";import{C as T}from"./p-3760847f.js";import{g as I}from"./p-361b44ed.js";import{c as H}from"./p-efc041d0.js";import{c as M,d as j,u as A}from"./p-2ee3afea.js";import{s as S,a as W,c as D}from"./p-3a668467.js";import{q as F,m as R,d as E,a as $,s as N,h as O,b as U,g as B,k as P,t as V,i as J,c as q,f as K,e as G,n as X,r as Y,j as Q,l as Z,o as tt,p as et,L as it}from"./p-946a0023.js";import{d as st,a as ot,c as at}from"./p-1406bcc4.js";import{C as lt,S as nt}from"./p-1229516f.js";import{I as ct}from"./p-3003e56a.js";import{g as rt}from"./p-99d8a839.js";import{s as ht}from"./p-d0544f24.js";import{d as dt}from"./p-2a58e378.js";import{E as pt}from"./p-ff0d7712.js";import"./p-34fb2a6e.js";import"./p-86f482ca.js";import"./p-7d7e6744.js";import"./p-59d706b4.js";import"./p-a82f35c9.js";import"./p-e1a4994d.js";import"./p-482534a7.js";import"./p-ecc95259.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/main/LICENSE.md for details.
|
10
|
-
* v1.
|
11
|
-
*/const bt=class{constructor(e){t(this,e),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:s,stepMultiplier:o,layout:a,contentWidthMin:l,contentWidthMax:n,initialContentWidth:c,initialContentHeight:h,contentHeightMin:d,contentHeightMax:p,position:b}=this,u=s*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const m=["ArrowLeft","ArrowRight"],g=["ArrowDown","ArrowUp"],f="rtl"===r(i)&&m.includes(e)?-1:1;if("horizontal"===a?"end"===b?e===g[1]||e===m[0]:e===g[0]||e===m[1]:e===g[1]||("end"===b?e===m[0]:e===m[1])){const e=t.shiftKey?u:s;return"horizontal"===a?h+f*e:c+f*e}if("horizontal"===a?"end"===b?e===g[0]||e===m[0]:e===g[1]||e===m[1]:e===g[0]||("end"===b?e===m[1]:e===m[0])){const e=t.shiftKey?u:s;return"horizontal"===a?h-f*e:c-f*e}return"Home"===e&&"horizontal"===a&&"number"==typeof d?d:"Home"===e&&"vertical"===a&&"number"==typeof l?l:"End"===e&&"horizontal"===a&&"number"==typeof p?p:"End"===e&&"vertical"===a&&"number"==typeof n?n:"PageDown"===e?"horizontal"===a?h-u:c-u:"PageUp"===e?"horizontal"===a?h+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:s,initialContentHeight:o,position:a,initialClientX:l,initialClientY:n}=this,c="horizontal"===i?t.clientY-n:t.clientX-l,h="vertical"===i&&"rtl"===r(e)?-1:1,d="end"===a?-h*c:h*c;"horizontal"===i?this.setContentHeight(o+d):this.setContentWidth(s+d)},this.separatorPointerUp=t=>{h(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{var t;this.initialContentHeight=null===(t=this.contentEl)||void 0===t?void 0:t.getBoundingClientRect().height},this.setInitialContentWidth=()=>{var t;this.initialContentWidth=null===(t=this.contentEl)||void 0===t?void 0:t.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!h(t))return;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),document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,null==t||t.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{var t;null===(t=this.separatorEl)||void 0===t||t.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=d(t).filter((t=>null==t?void 0: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":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){n(this),w(this),z(this)}async componentWillLoad(){await C(this)}disconnectedCallback(){c(this),this.disconnectSeparator(),k(this),_(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){L(this,this.effectiveLocale)}renderHeader(){return e("div",{class:"content__header",hidden:!this.hasHeader,key:"header"},e("slot",{name:"header",onSlotchange:this.handleHeaderSlotChange}))}render(){const{collapsed:t,position:i,initialContentWidth:s,initialContentHeight:o,contentWidth:a,contentWidthMax:l,contentWidthMin:n,contentHeight:c,contentHeightMax:h,contentHeightMin:d,resizable:p,layout:b,displayMode:u}=this,m=r(this.el),g="float"!==u&&p,f=g?"horizontal"===b?c?{height:`${c}px`}:null:a?{width:`${a}px`}:null:null,x=!t&&g?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===b?"vertical":"horizontal","aria-valuemax":"horizontal"==b?h:l,"aria-valuemin":"horizontal"==b?d:n,"aria-valuenow":"horizontal"==b?null!=c?c:o:null!=a?a:s,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,v=e("div",{class:{[T.rtl]:"rtl"===m,content:!0,"content--overlay":"overlay"===u,"content--float":"float"===u,[T.calciteAnimate]:"overlay"===u,["horizontal"===b?"start"===i?T.calciteAnimateInDown:T.calciteAnimateInUp:"ltr"===m&&"end"===i||"rtl"===m&&"start"===i?T.calciteAnimateInLeft:T.calciteAnimateInRight]:"overlay"===u},hidden:t,key:"content",style:f,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),x),w=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),v];return"end"===i&&w.reverse(),e("div",{class:{container:!0}},w)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,s=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?y(s,i,e):s}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),i(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,s=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?y(s,i,e):s}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),s=parseInt(t.getPropertyValue("width"),10);"number"!=typeof s||isNaN(s)||(this.initialContentWidth=s),"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),s=parseInt(t.getPropertyValue("height"),10);"number"!=typeof s||isNaN(s)||(this.initialContentHeight=s),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};bt.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-app-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-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-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal: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-app-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index-header) + 1))}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal: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-shell-panel-max-height-internal: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;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all 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-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-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-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.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-shell-panel-shadow-inline-start-internal)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}.content--float{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-shell-panel-max-height-internal, calc(100% - 1rem))}.content--float ::slotted(calcite-panel),.content--float ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .content--float{margin-block:0.5rem}:host([position=start]) .content--float ::slotted(calcite-panel),:host([position=start]) .content--float ::slotted(calcite-flow),:host([position=end]) .content--float ::slotted(calcite-panel),:host([position=end]) .content--float ::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-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .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}";const ut=class{constructor(e){t(this,e),this.calciteInternalTabRegister=o(this,"calciteInternalTabRegister",6),this.guid=`calcite-tab-title-${I()}`,this.tab=void 0,this.selected=!1,this.scale="m",this.labeledBy=void 0}render(){return e(a,{"aria-labelledby":this.labeledBy,id:this.el.id||this.guid},e("div",{class:"container",role:"tabpanel",tabIndex:this.selected?0:-1},e("section",null,e("slot",null))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}componentDidLoad(){this.calciteInternalTabRegister.emit()}componentWillRender(){var t;this.scale=null===(t=this.parentTabsEl)||void 0===t?void 0:t.scale}disconnectedCallback(){var t;null===(t=document.body)||void 0===t||t.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(b(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 s(this)}};ut.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}section,.container{display:none;block-size:100%;inline-size:100%}:host([scale=s]){padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-block:13px}:host([hidden]){display:none}[hidden]{display:none}";const mt=class{constructor(e){t(this,e),this.calciteTabChange=o(this,"calciteTabChange",6),this.calciteInternalTabChange=o(this,"calciteInternalTabChange",6),this.animationActiveDuration=.3,this.resizeObserver=H("resize",(()=>{this.activeIndicatorEl&&(this.activeIndicatorEl.style.transitionDuration="0s",this.updateActiveWidth(),this.updateOffsetPosition())})),this.handleTabFocus=(t,e,i)=>{u(this.enabledTabTitles,e,i),t.stopPropagation()},this.handleContainerScroll=()=>{this.activeIndicatorEl.style.transitionDuration="0s",this.updateOffsetPosition()},this.storageId=void 0,this.syncId=void 0,this.selectedTitle=null,this.scale="m",this.layout="inline",this.position="bottom",this.bordered=!1,this.indicatorOffset=void 0,this.indicatorWidth=void 0,this.selectedTabId=void 0}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}),this.selectedTitle=await this.getTabTitleById(this.selectedTabId)}selectedTitleChanged(){this.updateOffsetPosition(),this.updateActiveWidth(),this.activeIndicatorEl.style.transitionDuration=`${this.animationActiveDuration}s`}connectedCallback(){var t;this.parentTabsEl=this.el.closest("calcite-tabs"),null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}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}}componentWillRender(){const{parentTabsEl:t}=this;this.layout=null==t?void 0:t.layout,this.position=null==t?void 0:t.position,this.scale=null==t?void 0:t.scale,this.bordered=null==t?void 0:t.bordered,this.selectedTitle&&this.updateOffsetPosition()}componentDidRender(){this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId&&this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}render(){const t=r(this.el),i=`${this.indicatorWidth}px`,s=`${this.indicatorOffset}px`,o="rtl"!==t?{width:i,left:s}:{width:i,right:s};return e(a,{role:"tablist"},e("div",{class:"tab-nav",onScroll:this.handleContainerScroll,ref:t=>this.tabNavEl=t},e("slot",null),e("div",{class:"tab-nav-active-indicator-container",ref:t=>this.activeIndicatorContainerEl=t},e("div",{class:"tab-nav-active-indicator",style:o,ref:t=>this.activeIndicatorEl=t}))))}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){this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target),t.stopPropagation()}activateTabHandler(t){this.calciteTabChange.emit(),t.stopPropagation()}internalCloseTabHandler(t){this.handleTabTitleClose(t.target),t.stopPropagation()}updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail)}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()}iconStartChangeHandler(){this.updateActiveWidth()}updateOffsetPosition(){var t,e,i,s,o;const a=r(this.el),l=null===(t=this.activeIndicatorContainerEl)||void 0===t?void 0:t.offsetWidth,n=null===(e=this.selectedTitle)||void 0===e?void 0:e.offsetLeft,c=null===(i=this.selectedTitle)||void 0===i?void 0:i.offsetWidth;this.indicatorOffset="rtl"!==a?n-(null===(s=this.tabNavEl)||void 0===s?void 0:s.scrollLeft):l-(n+c)+(null===(o=this.tabNavEl)||void 0===o?void 0:o.scrollLeft)}updateActiveWidth(){var t;this.indicatorWidth=null===(t=this.selectedTitle)||void 0===t?void 0:t.offsetWidth}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=e.reduce(((t,e,i)=>e.closed?t:[...t,i]),[]),s=i.length;if(1===s&&e[i[0]].closable)e[i[0]].closable=!1,this.selectedTabId=i[0];else if(s>1){const o=e.findIndex((e=>e===t)),a=i.find((t=>t>o));this.selectedTabId===o&&(this.selectedTabId=a||s-1)}requestAnimationFrame((()=>{this.updateOffsetPosition(),this.updateActiveWidth(),e[this.selectedTabId].focus()}))}get el(){return s(this)}static get watchers(){return{selectedTabId:["selectedTabIdChanged"],selectedTitle:["selectedTitleChanged"]}}};mt.style=":host{position:relative;display:flex}:host([scale=s]){min-block-size:1.5rem}:host([scale=m]){min-block-size:2rem}:host([scale=l]){min-block-size:2.75rem}.tab-nav{display:flex;inline-size:100%;justify-content:flex-start;overflow:auto}.tab-nav-active-indicator-container{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-ui-brand);transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([layout=center]) .tab-nav{justify-content:space-evenly}:host([position=bottom]) .tab-nav-active-indicator{inset-block-end:unset;inset-block-start:0px}:host([position=bottom]) .tab-nav-active-indicator-container{inset-block-end:unset;inset-block-start:0px}:host([bordered]) .tab-nav-active-indicator-container{inset-block-end:unset}:host([bordered][position=bottom]) .tab-nav-active-indicator-container{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){.tab-nav-active-indicator{background-color:highlight}}:host([hidden]){display:none}[hidden]{display:none}";
|
10
|
+
* v1.9.0
|
11
|
+
*/const bt=class{constructor(e){t(this,e),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:s,stepMultiplier:o,layout:a,contentWidthMin:l,contentWidthMax:n,initialContentWidth:c,initialContentHeight:h,contentHeightMin:d,contentHeightMax:p,position:b}=this,u=s*o;["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].indexOf(e)>-1&&t.preventDefault();const m=["ArrowLeft","ArrowRight"],g=["ArrowDown","ArrowUp"],f="rtl"===r(i)&&m.includes(e)?-1:1;if("horizontal"===a?"end"===b?e===g[1]||e===m[0]:e===g[0]||e===m[1]:e===g[1]||("end"===b?e===m[0]:e===m[1])){const e=t.shiftKey?u:s;return"horizontal"===a?h+f*e:c+f*e}if("horizontal"===a?"end"===b?e===g[0]||e===m[0]:e===g[1]||e===m[1]:e===g[0]||("end"===b?e===m[1]:e===m[0])){const e=t.shiftKey?u:s;return"horizontal"===a?h-f*e:c-f*e}return"Home"===e&&"horizontal"===a&&"number"==typeof d?d:"Home"===e&&"vertical"===a&&"number"==typeof l?l:"End"===e&&"horizontal"===a&&"number"==typeof p?p:"End"===e&&"vertical"===a&&"number"==typeof n?n:"PageDown"===e?"horizontal"===a?h-u:c-u:"PageUp"===e?"horizontal"===a?h+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:s,initialContentHeight:o,position:a,initialClientX:l,initialClientY:n}=this,c="horizontal"===i?t.clientY-n:t.clientX-l,h="vertical"===i&&"rtl"===r(e)?-1:1,d="end"===a?-h*c:h*c;"horizontal"===i?this.setContentHeight(o+d):this.setContentWidth(s+d)},this.separatorPointerUp=t=>{h(t)&&(t.preventDefault(),document.removeEventListener("pointerup",this.separatorPointerUp),document.removeEventListener("pointermove",this.separatorPointerMove))},this.setInitialContentHeight=()=>{var t;this.initialContentHeight=null===(t=this.contentEl)||void 0===t?void 0:t.getBoundingClientRect().height},this.setInitialContentWidth=()=>{var t;this.initialContentWidth=null===(t=this.contentEl)||void 0===t?void 0:t.getBoundingClientRect().width},this.separatorPointerDown=t=>{if(!h(t))return;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),document.addEventListener("pointerup",this.separatorPointerUp),document.addEventListener("pointermove",this.separatorPointerMove)},this.connectSeparator=t=>{this.disconnectSeparator(),this.separatorEl=t,null==t||t.addEventListener("pointerdown",this.separatorPointerDown)},this.disconnectSeparator=()=>{var t;null===(t=this.separatorEl)||void 0===t||t.removeEventListener("pointerdown",this.separatorPointerDown)},this.setActionBarsLayout=t=>{t.forEach((t=>t.layout=this.layout))},this.handleActionBarSlotChange=t=>{const e=d(t).filter((t=>null==t?void 0: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":"float"===this.displayMode&&(this.displayMode="dock")}handleDisplayMode(t){this.detached="float"===t}handleDetachedHeightScale(t){this.heightScale=t}handleHeightScale(t){this.detachedHeightScale=t}layoutHandler(){this.setActionBarsLayout(this.actionBars)}onMessagesChange(){}connectedCallback(){n(this),w(this),z(this)}async componentWillLoad(){await C(this)}disconnectedCallback(){c(this),this.disconnectSeparator(),k(this),_(this)}componentDidLoad(){this.updateAriaValues()}effectiveLocaleChange(){L(this,this.effectiveLocale)}renderHeader(){return e("div",{class:"content__header",hidden:!this.hasHeader,key:"header"},e("slot",{name:"header",onSlotchange:this.handleHeaderSlotChange}))}render(){const{collapsed:t,position:i,initialContentWidth:s,initialContentHeight:o,contentWidth:a,contentWidthMax:l,contentWidthMin:n,contentHeight:c,contentHeightMax:h,contentHeightMin:d,resizable:p,layout:b,displayMode:u}=this,m=r(this.el),g="float"!==u&&p,f=g?"horizontal"===b?c?{height:`${c}px`}:null:a?{width:`${a}px`}:null:null,x=!t&&g?e("div",{"aria-label":this.messages.resize,"aria-orientation":"horizontal"===b?"vertical":"horizontal","aria-valuemax":"horizontal"==b?h:l,"aria-valuemin":"horizontal"==b?d:n,"aria-valuenow":"horizontal"==b?null!=c?c:o:null!=a?a:s,class:"separator",key:"separator",onKeyDown:this.separatorKeyDown,role:"separator",tabIndex:0,"touch-action":"none",ref:this.connectSeparator}):null,v=e("div",{class:{[T.rtl]:"rtl"===m,content:!0,"content--overlay":"overlay"===u,"content--float":"float"===u,[T.calciteAnimate]:"overlay"===u,["horizontal"===b?"start"===i?T.calciteAnimateInDown:T.calciteAnimateInUp:"ltr"===m&&"end"===i||"rtl"===m&&"start"===i?T.calciteAnimateInLeft:T.calciteAnimateInRight]:"overlay"===u},hidden:t,key:"content",style:f,ref:this.storeContentEl},this.renderHeader(),e("div",{class:"content__body"},e("slot",null)),x),w=[e("slot",{key:"action-bar",name:"action-bar",onSlotchange:this.handleActionBarSlotChange}),v];return"end"===i&&w.reverse(),e("div",{class:{container:!0}},w)}setContentWidth(t){const{contentWidthMax:e,contentWidthMin:i}=this,s=Math.round(t);this.contentWidth="number"==typeof e&&"number"==typeof i?y(s,i,e):s}updateAriaValues(){const{contentEl:t}=this,e=t&&getComputedStyle(t);e&&("horizontal"===this.layout?this.updateHeights(e):this.updateWidths(e),i(this))}setContentHeight(t){const{contentHeightMax:e,contentHeightMin:i}=this,s=Math.round(t);this.contentHeight="number"==typeof e&&"number"==typeof i?y(s,i,e):s}updateWidths(t){const e=parseInt(t.getPropertyValue("max-width"),10),i=parseInt(t.getPropertyValue("min-width"),10),s=parseInt(t.getPropertyValue("width"),10);"number"!=typeof s||isNaN(s)||(this.initialContentWidth=s),"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),s=parseInt(t.getPropertyValue("height"),10);"number"!=typeof s||isNaN(s)||(this.initialContentHeight=s),"number"!=typeof e||isNaN(e)||(this.contentHeightMax=e),"number"!=typeof i||isNaN(i)||(this.contentHeightMin=i)}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{detached:["handleDetached"],displayMode:["handleDisplayMode"],detachedHeightScale:["handleDetachedHeightScale"],heightScale:["handleHeightScale"],layout:["layoutHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};bt.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-app-z-index));--calcite-shell-panel-detached-max-height:unset;--calcite-shell-panel-max-height:unset;--calcite-shell-panel-shadow-block-start-internal:0 4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-block-end-internal:0 -4px 8px -1px rgba(0, 0, 0, 0.08),\n 0 -2px 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-start-internal:4px 0 8px -1px rgba(0, 0, 0, 0.08),\n 2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal:-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-shell-panel-shadow-inline-start-internal:-4px 0 8px -1px rgba(0, 0, 0, 0.08),\n -2px 0 4px -1px rgba(0, 0, 0, 0.04);--calcite-shell-panel-shadow-inline-end-internal: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-app-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-app-z-index-header) + 1))}:host([layout=vertical][width-scale=s]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 12vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 300px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][width-scale=m]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 20vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 420px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][width-scale=l]) .content{--calcite-shell-panel-width-internal:var(--calcite-shell-panel-width, 45vw);--calcite-shell-panel-max-width-internal:var(--calcite-shell-panel-max-width, 680px);--calcite-shell-panel-min-width-internal:var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal][height-scale=s]) .content{--calcite-shell-panel-max-height-internal:var(\n --calcite-shell-panel-max-height,\n var(--calcite-shell-panel-detached-max-height, 20vh)\n )}:host([layout=horizontal]) .content{--calcite-shell-panel-min-height-internal:var(--calcite-shell-panel-min-height, 5vh);--calcite-shell-panel-max-height-internal: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-shell-panel-max-height-internal: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;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}.container *{box-sizing:border-box}:host([layout=horizontal]) .container{flex-direction:column}:host(:hover) .separator:not(:hover):not(:focus),:host(:focus-within) .separator:not(:hover):not(:focus){opacity:1;background-color:var(--calcite-ui-border-3)}.separator{pointer-events:auto;position:absolute;display:flex;background-color:transparent;opacity:0;transition:all 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-ui-border-2)}.separator:focus{background-color:var(--calcite-ui-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-ui-background);padding:0px;transition:max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]) .content{inline-size:var(--calcite-shell-panel-width-internal);max-inline-size:var(--calcite-shell-panel-max-width-internal);min-inline-size:var(--calcite-shell-panel-min-width-internal)}:host([layout=horizontal]) .content{block-size:var(--calcite-shell-panel-height-internal);max-block-size:var(--calcite-shell-panel-max-height-internal);min-block-size:var(--calcite-shell-panel-min-height-internal)}.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-shell-panel-shadow-inline-start-internal)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-shell-panel-shadow-inline-end-internal)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-shell-panel-shadow-block-start-internal)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-shell-panel-shadow-block-end-internal)}.content--float{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-shell-panel-max-height-internal, calc(100% - 1rem))}.content--float ::slotted(calcite-panel),.content--float ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .content--float{margin-block:0.5rem}:host([position=start]) .content--float ::slotted(calcite-panel),:host([position=start]) .content--float ::slotted(calcite-flow),:host([position=end]) .content--float ::slotted(calcite-panel),:host([position=end]) .content--float ::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-ui-border-3)}:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]) .content ::slotted(calcite-flow),:host([position=start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]) .content ::slotted(calcite-flow),:host([position=end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .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}";const ut=class{constructor(e){t(this,e),this.calciteInternalTabRegister=o(this,"calciteInternalTabRegister",6),this.guid=`calcite-tab-title-${I()}`,this.tab=void 0,this.selected=!1,this.scale="m",this.labeledBy=void 0}render(){return e(a,{"aria-labelledby":this.labeledBy,id:this.el.id||this.guid},e("div",{class:"container",role:"tabpanel",tabIndex:this.selected?0:-1},e("section",null,e("slot",null))))}connectedCallback(){this.parentTabsEl=this.el.closest("calcite-tabs")}componentDidLoad(){this.calciteInternalTabRegister.emit()}componentWillRender(){var t;this.scale=null===(t=this.parentTabsEl)||void 0===t?void 0:t.scale}disconnectedCallback(){var t;null===(t=document.body)||void 0===t||t.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(b(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 s(this)}};ut.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}section,.container{display:none;block-size:100%;inline-size:100%}:host([scale=s]){padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size-0);line-height:1.25rem;padding-block:13px}:host([hidden]){display:none}[hidden]{display:none}";const mt=class{constructor(e){t(this,e),this.calciteTabChange=o(this,"calciteTabChange",6),this.calciteInternalTabChange=o(this,"calciteInternalTabChange",6),this.animationActiveDuration=.3,this.resizeObserver=H("resize",(()=>{this.activeIndicatorEl&&(this.activeIndicatorEl.style.transitionDuration="0s",this.updateActiveWidth(),this.updateOffsetPosition())})),this.handleTabFocus=(t,e,i)=>{u(this.enabledTabTitles,e,i),t.stopPropagation()},this.handleContainerScroll=()=>{this.activeIndicatorEl.style.transitionDuration="0s",this.updateOffsetPosition()},this.storageId=void 0,this.syncId=void 0,this.selectedTitle=null,this.scale="m",this.layout="inline",this.position="bottom",this.bordered=!1,this.indicatorOffset=void 0,this.indicatorWidth=void 0,this.selectedTabId=void 0}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}),this.selectedTitle=await this.getTabTitleById(this.selectedTabId)}selectedTitleChanged(){this.updateOffsetPosition(),this.updateActiveWidth(),this.activeIndicatorEl.style.transitionDuration=`${this.animationActiveDuration}s`}connectedCallback(){var t;this.parentTabsEl=this.el.closest("calcite-tabs"),null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}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}}componentWillRender(){const{parentTabsEl:t}=this;this.layout=null==t?void 0:t.layout,this.position=null==t?void 0:t.position,this.scale=null==t?void 0:t.scale,this.bordered=null==t?void 0:t.bordered,this.selectedTitle&&this.updateOffsetPosition()}componentDidRender(){this.tabTitles.length&&this.tabTitles.every((t=>!t.selected))&&!this.selectedTabId&&this.tabTitles[0].getTabIdentifier().then((t=>{this.calciteInternalTabChange.emit({tab:t})}))}render(){const t=r(this.el),i=`${this.indicatorWidth}px`,s=`${this.indicatorOffset}px`,o="rtl"!==t?{width:i,left:s}:{width:i,right:s};return e(a,{role:"tablist"},e("div",{class:"tab-nav",onScroll:this.handleContainerScroll,ref:t=>this.tabNavEl=t},e("slot",null),e("div",{class:"tab-nav-active-indicator-container",ref:t=>this.activeIndicatorContainerEl=t},e("div",{class:"tab-nav-active-indicator",style:o,ref:t=>this.activeIndicatorEl=t}))))}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){this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(t.target),t.stopPropagation()}activateTabHandler(t){this.calciteTabChange.emit(),t.stopPropagation()}internalCloseTabHandler(t){this.handleTabTitleClose(t.target),t.stopPropagation()}updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail)}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()}iconStartChangeHandler(){this.updateActiveWidth(),this.updateOffsetPosition()}updateOffsetPosition(){var t,e,i,s,o;const a=r(this.el),l=null===(t=this.activeIndicatorContainerEl)||void 0===t?void 0:t.offsetWidth,n=null===(e=this.selectedTitle)||void 0===e?void 0:e.offsetLeft,c=null===(i=this.selectedTitle)||void 0===i?void 0:i.offsetWidth;this.indicatorOffset="rtl"!==a?n-(null===(s=this.tabNavEl)||void 0===s?void 0:s.scrollLeft):l-(n+c)+(null===(o=this.tabNavEl)||void 0===o?void 0:o.scrollLeft)}updateActiveWidth(){var t;this.indicatorWidth=null===(t=this.selectedTitle)||void 0===t?void 0:t.offsetWidth}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=e.reduce(((t,e,i)=>e.closed?t:[...t,i]),[]),s=i.length;if(1===s&&e[i[0]].closable)e[i[0]].closable=!1,this.selectedTabId=i[0];else if(s>1){const o=e.findIndex((e=>e===t)),a=i.find((t=>t>o));this.selectedTabId===o&&(this.selectedTabId=a||s-1)}requestAnimationFrame((()=>{this.updateOffsetPosition(),this.updateActiveWidth(),e[this.selectedTabId].focus()}))}get el(){return s(this)}static get watchers(){return{selectedTabId:["selectedTabIdChanged"],selectedTitle:["selectedTitleChanged"]}}};mt.style=":host{position:relative;display:flex}:host([scale=s]){min-block-size:1.5rem}:host([scale=m]){min-block-size:2rem}:host([scale=l]){min-block-size:2.75rem}.tab-nav{display:flex;inline-size:100%;justify-content:flex-start;overflow:auto}.tab-nav-active-indicator-container{position:absolute;inset-inline:0px;inset-block-end:0px;block-size:0.125rem;inline-size:100%;overflow:hidden}.tab-nav-active-indicator{position:absolute;inset-block-end:0px;display:block;block-size:0.125rem;background-color:var(--calcite-ui-brand);transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}:host([layout=center]) .tab-nav{justify-content:space-evenly}:host([position=bottom]) .tab-nav-active-indicator{inset-block-end:unset;inset-block-start:0px}:host([position=bottom]) .tab-nav-active-indicator-container{inset-block-end:unset;inset-block-start:0px}:host([bordered]) .tab-nav-active-indicator-container{inset-block-end:unset}:host([bordered][position=bottom]) .tab-nav-active-indicator-container{inset-block-end:0;inset-block-start:unset}@media (forced-colors: active){.tab-nav-active-indicator{background-color:highlight}}: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/main/LICENSE.md for details.
|
15
|
-
* v1.
|
15
|
+
* v1.9.0
|
16
16
|
*/
|
17
17
|
const gt="close-button",ft="calcite-tab-title--icon",xt=class{constructor(e){t(this,e),this.calciteTabsActivate=o(this,"calciteTabsActivate",6),this.calciteInternalTabsActivate=o(this,"calciteInternalTabsActivate",6),this.calciteTabsClose=o(this,"calciteTabsClose",6),this.calciteInternalTabsClose=o(this,"calciteInternalTabsClose",6),this.calciteInternalTabsFocusNext=o(this,"calciteInternalTabsFocusNext",6),this.calciteInternalTabsFocusPrevious=o(this,"calciteInternalTabsFocusPrevious",6),this.calciteInternalTabsFocusFirst=o(this,"calciteInternalTabsFocusFirst",6),this.calciteInternalTabsFocusLast=o(this,"calciteInternalTabsFocusLast",6),this.calciteInternalTabTitleRegister=o(this,"calciteInternalTabTitleRegister",6),this.calciteInternalTabIconChanged=o(this,"calciteInternalTabIconChanged",6),this.closeClickHandler=()=>{this.closeTabTitleAndNotify()},this.mutationObserver=H("mutation",(()=>this.updateHasText())),this.resizeObserver=H("resize",(()=>{this.calciteInternalTabIconChanged.emit()})),this.guid=`calcite-tab-title-${I()}`,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=void 0,this.scale=void 0,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.emitActiveTab(!1)}onMessagesChange(){}connectedCallback(){M(this),w(this),z(this),this.setupTextContentObserver(),this.parentTabNavEl=this.el.closest("calcite-tab-nav"),this.parentTabsEl=this.el.closest("calcite-tabs")}disconnectedCallback(){var t,e,i;null===(t=this.mutationObserver)||void 0===t||t.disconnect(),null===(e=document.body)||void 0===e||e.dispatchEvent(new CustomEvent("calciteTabTitleUnregister",{detail:this.el})),null===(i=this.resizeObserver)||void 0===i||i.disconnect(),j(this),k(this),_(this)}async componentWillLoad(){await C(this),this.updateHasText(),this.tab&&this.selected&&this.emitActiveTab(!1)}componentWillRender(){this.parentTabsEl&&(this.layout=this.parentTabsEl.layout,this.position=this.parentTabsEl.position,this.scale=this.parentTabsEl.scale,this.bordered=this.parentTabsEl.bordered),!this.parentTabsEl&&this.parentTabNavEl&&(this.position=g(this.parentTabNavEl,"position",this.position),this.scale=g(this.parentTabNavEl,"scale",this.scale))}render(){const{el:t,closed:i}=this,s=t.id||this.guid,o=e("calcite-icon",{class:{[ft]:!0,"icon-start":!0},flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,scale:"l"===this.scale?"m":"s"}),l=e("calcite-icon",{class:{[ft]:!0,"icon-end":!0},flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,scale:"l"===this.scale?"m":"s"});return e(a,{"aria-controls":this.controls,"aria-selected":f(this.selected),id:s,role:"tab",tabIndex:this.selected?0:-1},e("div",{class:{container:!0,"icon-present":!!this.iconStart||!!this.iconEnd},hidden:i,ref:t=>{var e;return null===(e=this.resizeObserver)||void 0===e?void 0:e.observe(t)}},e("div",{class:{content:!0,"content--has-text":this.hasText}},this.iconStart?o:null,e("slot",null),this.iconEnd?l:null),this.renderCloseButton()))}renderCloseButton(){const{closable:t,messages:i}=this;return t?e("button",{"aria-label":i.close,class:gt,disabled:!1,key:gt,onClick:this.closeClickHandler,title:i.close,type:"button",ref:t=>this.closeButtonEl=t},e("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})):null}async componentDidLoad(){this.calciteInternalTabTitleRegister.emit(await this.getTabIdentifier())}componentDidRender(){A(this,(()=>this.selected))}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.disabled||this.emitActiveTab()}keyDownHandler(t){switch(t.key){case" ":case"Enter":t.composedPath().includes(this.closeButtonEl)||(this.emitActiveTab(),t.preventDefault());break;case"ArrowRight":t.preventDefault(),"ltr"===r(this.el)?this.calciteInternalTabsFocusNext.emit():this.calciteInternalTabsFocusPrevious.emit();break;case"ArrowLeft":t.preventDefault(),"ltr"===r(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(b(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}effectiveLocaleChange(){L(this,this.effectiveLocale)}updateHasText(){this.hasText=this.el.textContent.trim().length>0}setupTextContentObserver(){var t;null===(t=this.mutationObserver)||void 0===t||t.observe(this.el,{childList:!0,subtree:!0})}emitActiveTab(t=!0){this.disabled||this.closed||(this.calciteInternalTabsActivate.emit({tab:this.tab}),t&&requestAnimationFrame((()=>this.calciteTabsActivate.emit())))}closeTabTitleAndNotify(){this.closed=!0,this.calciteInternalTabsClose.emit({tab:this.tab}),this.calciteTabsClose.emit()}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{selected:["selectedHandler"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};xt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block;flex:0 1 auto;outline:2px solid transparent;outline-offset:2px;margin-inline-start:0px;margin-inline-end:1.25rem}:host([layout=center][scale=s]),:host([layout=center][scale=m]),:host([layout=center][scale=l]){margin-block:0px;text-align:center;margin-inline-end:0px;flex-basis:12rem}:host([layout=center][scale=s]) .content,:host([layout=center][scale=m]) .content,:host([layout=center][scale=l]) .content{margin:auto}:host([layout=center][closable]) .content{padding-inline-start:32px}:host([layout=center][bordered][closable][scale=s]) .content{padding-inline-start:36px}:host([layout=center][bordered][closable][scale=m]) .content{padding-inline-start:40px}:host([layout=center][closable][scale=l]) .content{padding-inline-start:40px}:host([layout=center][closable][bordered][scale=l]) .content{padding-inline-start:52px}:host([position=bottom]) .container{border-block-end-width:0px;border-block-start-width:2px;border-block-start-color:transparent;border-block-start-style:solid}:host([closed]){display:none}.container{outline-color:transparent}:host(:focus) .container{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\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-ui-border-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none}:host([selected]) .container{border-color:transparent;color:var(--calcite-ui-text-1)}:host([disabled]) .container{pointer-events:none;opacity:0.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){margin-inline-end:1rem}:host([scale=s]) .content{padding-block:0.25rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) .content{padding-block:0.5rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){margin-inline-end:1.5rem}:host([scale=l]) .content{padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}.container{box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-content:center;justify-content:space-between;border-block-end-width:2px;padding-inline:0px;font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-3);transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end-color:transparent;border-block-end-style:solid}.content{display:flex;align-items:center;justify-content:center}.calcite-tab-title--icon{position:relative;margin:0px;display:inline-flex;align-self:center}.calcite-tab-title--icon svg{transition:all 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:0.5rem}.content--has-text .calcite-tab-title--icon.icon-end{margin-inline-start:0.5rem}.close-button{display:flex;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:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-3);outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;block-size:calc(100% - 2px);background-color:var(--calcite-button-transparent-1);margin-inline-start:auto}.close-button:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n );outline-offset:-1px}.close-button:focus,.close-button:hover{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-2)}.close-button:active{color:var(--calcite-ui-text-1);background-color:var(--calcite-ui-foreground-3)}.close-button calcite-icon{color:inherit}:host([icon-start][icon-end]) .calcite-tab-title--icon:first-child{margin-inline-end:0.5rem}:host([bordered]){margin-inline-end:0}:host([bordered][selected]){box-shadow:inset 0px -2px var(--calcite-ui-foreground-1)}:host([bordered][selected][position=bottom]){box-shadow:inset 0 2px 0 var(--calcite-ui-foreground-1)}:host([bordered]:hover) .container,:host([bordered]:focus) .container,:host([bordered]:active) .container{position:relative}:host([bordered]:hover) .container{background-color:var(--calcite-button-transparent-hover)}:host([closable]) .container,:host([bordered]) .container{border-inline-start:1px solid transparent;border-inline-end:1px solid transparent}:host([closable]) .container .close-button,:host([bordered]) .container .close-button{margin-inline:0}:host([closable]) .content{box-sizing:border-box;block-size:100%;border-block-end-color:transparent}:host([closable][position=bottom]) .container,:host([bordered][position=bottom]) .container{border-block-start-style:unset}:host([selected][bordered]) .container{border-inline-start-color:var(--calcite-ui-border-1);border-inline-end-color:var(--calcite-ui-border-1)}:host([bordered]) .content{padding-inline:0.75rem}:host([bordered][scale=s]) .content{padding-inline:0.5rem}:host([bordered][scale=l]) .content{padding-inline:1rem}@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][position=bottom]) .container{border-block-start-style:solid}:host([bordered][selected]) .container{border-block-end-style:none}:host([bordered][position=bottom][selected]) .container{border-block-start-style:none}.close-button{z-index:var(--calcite-app-z-index)}}: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/main/LICENSE.md for details.
|
21
|
-
* v1.
|
21
|
+
* v1.9.0
|
22
22
|
*/
|
23
23
|
const vt=class{constructor(e){t(this,e),this.layout="inline",this.position="top",this.scale="m",this.bordered=!1,this.titles=[],this.tabs=[]}render(){return e(l,null,e("slot",{name:"title-group"}),e("section",null,e("slot",null)))}calciteInternalTabTitleRegister(t){this.titles=[...this.titles,t.target],this.registryHandler(),t.stopPropagation()}calciteTabTitleUnregister(t){this.titles=this.titles.filter((e=>e!==t.detail)),this.registryHandler(),t.stopPropagation()}calciteInternalTabRegister(t){this.tabs=[...this.tabs,t.target],this.registryHandler(),t.stopPropagation()}calciteTabUnregister(t){this.tabs=this.tabs.filter((e=>e!==t.detail)),this.registryHandler(),t.stopPropagation()}async registryHandler(){let t,e;if(this.tabs.some((t=>t.tab))||this.titles.some((t=>t.tab)))t=this.tabs.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 i=await Promise.all(this.tabs.map((t=>t.getTabIndex()))),s=await Promise.all(this.titles.map((t=>t.getTabIndex())));t=i.reduce(((t,e,i)=>(t[e]=this.tabs[i].id,t)),[]),e=s.reduce(((t,e,i)=>(t[e]=this.titles[i].id,t)),[])}this.tabs.forEach((i=>i.updateAriaInfo(t,e))),this.titles.forEach((i=>i.updateAriaInfo(t,e)))}get el(){return s(this)}};vt.style=":host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-ui-border-1), inset 0 -1px 0 var(--calcite-ui-border-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1)}: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-ui-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-ui-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}";var wt;
|
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/main/LICENSE.md for details.
|
27
|
-
* v1.
|
27
|
+
* v1.9.0
|
28
28
|
*/
|
29
29
|
function kt(t,e,i){const{items:s,messages:o}=i,a=s.length,l=F(i,t)+1;return function(t,e,i,s){return t.replace("{position}",i.toString()).replace("{itemLabel}",e).replace("{total}",s.toString())}("idle"===e?o.dragHandleIdle:"active"===e?o.dragHandleActive:"change"===e?o.dragHandleChange:o.dragHandleCommit,t.label,l,a)}function yt(t){return{handle:t.composedPath().find((t=>void 0!==t.dataset?.jsHandle)),item:t.composedPath().find((t=>"calcite-value-list-item"===t.tagName?.toLowerCase()))}}!function(t){t.grip="grip"}(wt||(wt={}));const zt=class{constructor(e){t(this,e),this.calciteListChange=o(this,"calciteListChange",6),this.calciteListOrderChange=o(this,"calciteListOrderChange",6),this.calciteListFilter=o(this,"calciteListFilter",6),this.lastSelectedItem=null,this.mutationObserver=H("mutation",R.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=E.bind(this),this.deselectSiblingItems=$.bind(this),this.selectSiblings=N.bind(this),this.handleFilter=O.bind(this),this.handleFilterEvent=U.bind(this),this.getItemData=B.bind(this),this.keyDownHandler=t=>{if(t.defaultPrevented)return;const{handle:e,item:i}=yt(t);if(e&&!i.handleActivated&&" "===t.key&&this.updateScreenReaderText(kt(i,"commit",this)),!e||!i.handleActivated)return void P.call(this,t);t.preventDefault();const{items:s}=this;if(" "===t.key&&this.updateScreenReaderText(kt(i,"active",this)),"ArrowUp"!==t.key&&"ArrowDown"!==t.key||s.length<=1)return;const{el:o}=this,a=V(this,i,"ArrowUp"===t.key?"up":"down");if(a===s.length-1)o.appendChild(i);else{const t=o.children[a];o.insertBefore(i,t===i.nextElementSibling?t.nextElementSibling:t)}this.items=this.getItems(),this.calciteListOrderChange.emit(this.items.map((({value:t})=>t))),requestAnimationFrame((()=>x(e))),i.handleActivated=!0,this.updateHandleAriaLabel(e,kt(i,"change",this))},this.storeAssistiveEl=t=>{this.assistiveTextEl=t},this.handleFocusIn=t=>{const{handle:e,item:i}=yt(t);!(null==i?void 0:i.handleActivated)&&i&&e&&this.updateHandleAriaLabel(e,kt(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(){L(this,this.effectiveLocale)}connectedCallback(){st(this)||(M(this),w(this),z(this),J.call(this),q.call(this),this.setUpSorting())}async componentWillLoad(){S(this),await C(this)}componentDidLoad(){W(this),K.call(this)}componentDidRender(){A(this)}disconnectedCallback(){st(this)||(j(this),ot(this),k(this),_(this),G.call(this))}calciteListFocusOutHandler(t){X.call(this,t)}calciteListItemRemoveHandler(t){Y.call(this,t)}calciteListItemChangeHandler(t){Q.call(this,t)}calciteInternalListItemPropsChangeHandler(t){t.stopPropagation(),this.setUpFilter()}calciteInternalListItemValueChangeHandler(t){Z.call(this,t),t.stopPropagation()}onDragStart(){G.call(this)}onDragEnd(){q.call(this)}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(){tt.call(this,"calcite-value-list-item"),this.setUpSorting()}setUpFilter(){this.filterEnabled&&(this.dataForFilter=this.getItemData())}setUpSorting(){const{dragEnabled:t}=this;t&&at(this)}handleBlur(){this.dragEnabled&&this.updateScreenReaderText("")}async getSelectedItems(){return this.selectedValues}async setFocus(t){return await D(this),et.call(this,t)}getIconType(){let t=null;return this.dragEnabled&&(t=wt.grip),t}updateScreenReaderText(t){this.assistiveTextEl.textContent=t}updateHandleAriaLabel(t,e){t.ariaLabel=e}handleValueListItemBlur(t){const{item:e,handle:i}=t.detail;!(null==e?void 0:e.handleActivated)&&e&&this.updateHandleAriaLabel(i,kt(e,"idle",this)),t.stopPropagation()}render(){return e(it,{onBlur:this.handleBlur,onFocusin:this.handleFocusIn,onKeyDown:this.keyDownHandler,props:this})}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};zt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-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-ui-text-2)}:host *{box-sizing:border-box}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}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-ui-foreground-1);--tw-shadow:0 1px 0 var(--calcite-ui-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-app-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}";
|
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/main/LICENSE.md for details.
|
33
|
-
* v1.
|
33
|
+
* v1.9.0
|
34
34
|
*/
|
35
35
|
const Ct="actions-end",_t="actions-start",Lt=class{constructor(e){t(this,e),this.calciteListItemChange=o(this,"calciteListItemChange",6),this.calciteListItemRemove=o(this,"calciteListItemRemove",7),this.calciteValueListItemDragHandleBlur=o(this,"calciteValueListItemDragHandleBlur",6),this.pickListItem=null,this.guid=`calcite-value-list-item-${I()}`,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(){n(this),M(this)}disconnectedCallback(){c(this),j(this)}componentWillLoad(){S(this)}componentDidLoad(){W(this)}componentDidRender(){A(this,!!this.el.closest("calcite-value-list")&&"managed")}async toggleSelected(t){this.pickListItem.toggleSelected(t)}async setFocus(){var t;return await D(this),null===(t=this.pickListItem)||void 0===t?void 0:t.setFocus()}calciteListItemChangeHandler(t){t.detail.item=this.el}renderActionsEnd(){const{el:t}=this;return v(t,Ct)?e("slot",{name:Ct,slot:nt.actionsEnd}):null}renderActionsStart(){const{el:t}=this;return v(t,_t)?e("slot",{name:_t,slot:nt.actionsStart}):null}renderHandle(){const{icon:t,iconFlipRtl:i}=this;if(t===ct.grip)return e("span",{class:{[lt.handle]:!0,[lt.handleActivated]:this.handleActivated},"data-js-handle":!0,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,ref:t=>this.handleEl=t,role:"button",tabindex:"0"},e("calcite-icon",{flipRtl:i,icon:"drag",scale:"s"}))}render(){return e(a,{id:this.el.id||this.guid},this.renderHandle(),e("calcite-pick-list-item",{description:this.description,deselectDisabled:this.deselectDisabled,disabled:this.disabled,label:this.label,metadata:this.metadata,nonInteractive:this.nonInteractive,onCalciteListItemChange:this.handleSelectChange,removable:this.removable,selected:this.selected,value:this.value,ref:this.getPickListRef},this.renderActionsStart(),this.renderActionsEnd()))}get el(){return s(this)}};Lt.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-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-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2);--tw-shadow:0 1px 0 var(--calcite-ui-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-ui-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-ui-border-input);outline-color:transparent}.handle:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.handle:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n -2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}.handle--activated{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.handle calcite-icon{color:inherit}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}";const Tt=class{constructor(e){t(this,e),this._loaded=!1,this._useDiffEditor=!1,this.hasChanges=!1,this.hasErrors=!1,this.instanceid="",this.value=""}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,s,o){var a,l;t.id===i._currentModel.id&&(i._flagEditorHasErrors(o.length>0),i.hasErrors||(i._flagEditorHasChanges(null===(a=i._currentModel)||void 0===a?void 0:a.canUndo()),(null===(l=i._currentModel)||void 0===l?void 0:l.canUndo())&&i._flagEditorContentChanged()),document.getElementById(`${i.instanceid}-errorFlag`).style.visibility=i.hasErrors?"visible":"hidden"),e.call(monaco.editor,t,s,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 e(a,null,e("div",{id:`${this.instanceid}-editor-container`,class:"editor-container padding-right"},e("div",{class:"editor-controls"},e("div",{class:"editor-buttons"},e("calcite-icon",{id:`${this.instanceid}-errorFlag`,icon:"exclamation-mark-triangle",title:this._translations.errorFlag,scale:"s",class:"edit-error-flag"}),e("calcite-button",{id:`${this.instanceid}-undo`,color:"blue",appearance:"solid",title:this._translations.undo,onClick:()=>this._undo(),scale:"s",class:"edit-button"},e("calcite-icon",{icon:"undo",scale:"s"})),e("calcite-button",{id:`${this.instanceid}-redo`,color:"blue",appearance:"solid",title:this._translations.redo,onClick:()=>this._redo(),scale:"s",class:"edit-button"},e("calcite-icon",{icon:"redo",scale:"s"})),e("calcite-button",{id:`${this.instanceid}-diff`,color:"blue",appearance:"solid",title:this._translations.diff,onClick:()=>this._toggleEditor(),scale:"s",class:"edit-button"},e("calcite-icon",{icon:"compare",scale:"s"})),e("calcite-button",{id:`${this.instanceid}-search`,appearance:"outline",color:"blue",title:this._translations.search,onClick:()=>this._search(),scale:"s",class:"edit-button"},e("calcite-icon",{icon:"search",scale:"s"})),e("calcite-button",{id:`${this.instanceid}-reset`,color:"blue",appearance:"solid",disabled:!0,title:this._translations.cancelEdits,onClick:()=>this._reset(),scale:"s",class:"edit-button"},e("calcite-icon",{icon:"reset",scale:"s"})))),e("div",{class:"edit-parent"},e("div",{id:`${this.instanceid}-container`,class:"json-edit-container"}),e("div",{id:`${this.instanceid}-diff-container`,class:"json-edit-container display-none"}))))}async getEditorContents(){return new Promise(((t,e)=>{try{t(this._currentModel.getValue())}catch(t){e(t)}}))}async prepareForDeletion(){var t,e,i,s,o;null===(t=this._searchBtnHandler)||void 0===t||t.removeEventListener("click",this._search),null===(e=this._cancelEditsBtnHandler)||void 0===e||e.removeEventListener("click",this._reset),null===(i=this._valueObserver)||void 0===i||i.disconnect(),null===(s=this._contentChanged)||void 0===s||s.dispose(),null===(o=this._editor)||void 0===o||o.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){var e;null===(e=document.getElementById(t))||void 0===e||e.setAttribute("disabled","")}_enableButton(t){var e;null===(e=document.getElementById(t))||void 0===e||e.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 rt(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(){var t;(null===(t=this._currentModel)||void 0===t?void 0:t.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(){var t,e,i,s;(null===(t=this._currentModel)||void 0===t?void 0:t.canUndo())?this._enableButton(`${this.instanceid}-undo`):this._disableButton(`${this.instanceid}-undo`),(null===(e=this._currentModel)||void 0===e?void 0:e.canRedo())?this._enableButton(`${this.instanceid}-redo`):this._disableButton(`${this.instanceid}-redo`),(null===(i=this._currentModel)||void 0===i?void 0:i.canUndo())||(null===(s=this._currentModel)||void 0===s?void 0:s.canRedo())?this._enableButton(`${this.instanceid}-reset`):this._disableButton(`${this.instanceid}-reset`)}_undo(){var t;(null===(t=this._currentModel)||void 0===t?void 0:t.canUndo())&&(this._currentModel.undo(),this._toggleUndoRedo())}static get assetsDirs(){return["assets"]}get el(){return s(this)}};Tt.style=':host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.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%;padding:0px;overflow:hidden;max-height:100% !important}.json-editor-position2a{position:absolute;left:0px;top:0px;margin:0px;height:100%;width:50%;padding:0px;overflow:hidden;max-height:100% !important}.json-editor-position2b{position:absolute;right:0px;top:0px;margin:0px;height:100%;width:50%;padding:0px;overflow:hidden;max-height:100% !important}';const It=class{constructor(e){t(this,e),this.itemId="",this.itemDetails={accessInformation:"",description:"",licenseInfo:"",snippet:"",tags:[],title:""},this.itemEdit=void 0,this._translations=void 0,this.thumbnail=void 0,this.thumbnailContainer=void 0}async componentWillLoad(){return this._getTranslations()}async componentWillRender(){return this.itemEdit=ht.getItemInfo(this.itemId),this.itemEdit&&(this.itemDetails=this.itemEdit.item,this.itemType=this.itemDetails.type),Promise.resolve()}render(){return e(a,null,e("div",{class:"parent-container"},e("div",{class:"inputBottomSeparation"},e("calcite-input",{id:"item-title",value:this.itemDetails.title})),e("div",{class:"inputBottomSeparation"},e("input",{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"}),e("button",{class:"font-size--3 btn-link inline-block trailer-quarter",onClick:()=>this._getThumbnail()},e("svg",{class:"icon-inline icon-inline--on-left",height:"16",viewBox:"0 0 16 16",width:"16"},e("path",{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),e("div",{class:"flex"},e("div",{class:"img-container",ref:t=>this.thumbnailContainer=t},e("img",{class:"scale-down",height:"133",id:"item-thumbnail",ref:t=>this.thumbnail=t,width:"200"})),e("div",{class:"snippet-count-container"},e("calcite-input",{id:"item-snippet",maxLength:250,type:"textarea",value:this.itemDetails.snippet}),e("label",{class:"font-size--3",id:"item-snippet-count",ref:t=>this.itemSnippetCount=t})))),e("calcite-label",null,this._translations.description,e("label",{id:"item-description-label"},e("calcite-input",{id:"item-description",type:"textarea",value:this.itemDetails.description}))),e("calcite-label",null,this._translations.tags,e("label",{id:"item-tags-label"},e("calcite-input",{id:"item-tags",value:(this.itemDetails.tags&&Array.isArray(this.itemDetails.tags)?this.itemDetails.tags:[this.itemDetails.tags]).join(",")}))),"Group"!==this.itemType?e("calcite-label",null,this._translations.credits,e("label",{id:"item-credits-label"},e("calcite-input",{id:"item-credits",value:this.itemDetails.accessInformation}))):null,"Group"!==this.itemType?e("calcite-label",null,e("label",{id:"item-terms-label"},this._translations.termsOfUse,e("calcite-input",{id:"item-terms",type:"textarea",value:this.itemDetails.licenseInfo}))):null))}componentDidRender(){this._loadThumb()}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(){var t;this.thumbnail&&(null===(t=this.itemEdit)||void 0===t?void 0:t.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=ht.getItemInfo(this.itemId),this.itemEdit.item=this.itemDetails,ht.setItemInfo(this.itemEdit)}_updateThumbnail(t){const e=t.target.files;e&&e[0]&&this.thumbnail&&(this.thumbnail.src=URL.createObjectURL(e[0]),this.itemEdit=ht.getItemInfo(this.itemId),this.itemEdit.thumbnail=e[0],ht.replaceItemThumbnail(this.itemEdit))}async _getTranslations(){const t=await rt(this.el);this._translations=t[0]}get el(){return s(this)}};It.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;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}label-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}label-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}label-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}label-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}label-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}label-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}label-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}label-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>label{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>label{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>label{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>label{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>label{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>label{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>label{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>label{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>label{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>label{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>label{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>label{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>label{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>label{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>label{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>label{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face label{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face label b,.code-face label strong{font-weight:400}.code-italic label{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic label b,.code-italic label strong{font-weight:400}';const Ht=class{constructor(e){t(this,e),this.groupId="",this._translations=void 0,this.sharing=[]}itemIdWatchHandler(){const t=ht.getItemInfo(this.groupId);this.sharing=t.groupDetails}async componentWillLoad(){return this._getTranslations()}render(){return e(a,null,e("div",{class:"container-border"},e("calcite-label",null,this._translations.groupInfo),this._renderItems(this.sharing)))}async getShareInfo(){return this.sharing}_renderItems(t){return t&&t.length>0?t.map((t=>e("calcite-label",{layout:"inline"},e("calcite-switch",{checked:t.shareItem,id:t.id,name:"setting",onCalciteSwitchChange:t=>this._updateItem(t),scale:"m",value:"enabled"}),e("solution-item-icon",{type:t.type,typeKeywords:t.typeKeywords}),e("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.detail.switched;const s=ht.getItemInfo(e);if(i.shareItem)s.groups?s.groups.indexOf(this.groupId)<0&&s.groups.push(this.groupId):s.groups=[this.groupId];else if(s.groups){const t=s.groups.indexOf(this.groupId);t>-1&&s.groups.splice(t,1)}ht.setItemInfo(s)}return i}))}async _getTranslations(){const t=await rt(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{groupId:["itemIdWatchHandler"]}}};Ht.style=':host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.container-border{padding:1rem}.icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}';const Mt=class{constructor(e){t(this,e),this.organizationVariableSelected=o(this,"organizationVariableSelected",7),this.value="",this._organizationVariables=[],this._translations=void 0}valueWatchHandler(){this._organizationVariables=JSON.parse(this.value)}async componentWillLoad(){return this._getTranslations()}render(){return e(a,null,e("div",null,e("h4",{class:"org-var-header"},this._translations.orgVariables)),e("div",{class:"container-border"},e("calcite-tree",{id:"variable-label"},this._renderHierarchy(this._organizationVariables))))}_renderHierarchy(t){return t.map((t=>e("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 rt(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{value:["valueWatchHandler"]}}};Mt.style=':host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.container-border{overflow-y:auto}.org-var-header{margin-left:0px;margin-right:0px;margin-top:0px;margin-bottom:1rem}';const jt=class{constructor(e){t(this,e),this._removedResources={},this.authentication=void 0,this.itemId="",this.resourceFilePaths=[],this.resources=[],this._translations=void 0}itemIdWatchHandler(){const t=ht.getItemInfo(this.itemId);this.resourceFilePaths=t.resourceFilePaths,this.resources=t.resources.map((t=>t.substring(t.lastIndexOf("/")+1)))}componentWillLoad(){return this._getTranslations()}render(){const t=this._hasValidResources();return e(a,null,e("div",{class:"resource-item"},e("div",{class:"margin-bottom-1"},e("calcite-button",{appearance:"solid",class:"resource-button",color:"blue",onClick:()=>this._addNewResource()},this._translations.addResource),e("calcite-button",{appearance:"solid",color:"blue",disabled:!t,onClick:()=>this._downloadAll()},this._translations.downloadAll)),e("div",{class:"resources-container",style:{display:t?"inherit":"none"}},this._renderResourceList())))}_renderResourceList(){return e("calcite-value-list",{multiple:!0},this.resourceFilePaths.reduce(((t,e)=>(e.type!==pt.Thumbnail&&t.push(this._renderResource(e)),t)),[]))}_renderResource(t){const i=t.updateType===dt.Remove;return e("calcite-value-list-item",{class:i?"disabled":"",label:t.folder?t.folder+"/"+t.filename:t.filename,nonInteractive:!0,value:t.url},e("calcite-action-group",{"expand-disabled":"true",layout:"horizontal",slot:"actions-end"},e("calcite-action",{disabled:i,icon:"download",label:this._translations.download,onClick:()=>this._download(t.url,t.filename),scale:"m",text:this._translations.download,title:this._translations.download}),e("calcite-action",{disabled:i,icon:"upload-to",label:this._translations.update,onClick:()=>this._upload(t),scale:"m",text:this._translations.update,title:this._translations.update}),e("calcite-action",{disabled:i,icon:"trash",label:this._translations.delete,onClick:()=>this._delete(t),scale:"m",text:this._translations.delete,title:this._translations.delete}),i?e("calcite-action",{icon:"reset",label:this._translations.reset,onClick:()=>this._reset(t.filename),scale:"m",text:this._translations.reset,title:this._translations.reset}):e("div",{class:"display-none"})))}_delete(t){t.updateType=dt.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=dt.None),e))):this.resourceFilePaths.map((e=>(e.filename===t&&(e.updateType=dt.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),s=await i.blob(),o=URL.createObjectURL(s);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=dt.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:pt.Data,folder:void 0,filename:i,blob:e[0],updateType:dt.Add}],this._updateStore())}}_updateStore(){const t=ht.getItemInfo(this.itemId);t.resourceFilePaths=this.resourceFilePaths,ht.setItemInfo(t)}async _getTranslations(){const t=await rt(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};jt.style=':host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.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 At=class{itemIdWatchHandler(){this._initializing=!0,this.value=JSON.stringify("data"===this.instanceid?ht.getItemInfo(this.itemId).data:ht.getItemInfo(this.itemId).properties,null,2)}constructor(e){t(this,e),this._initializing=!1,this.instanceid="",this.itemId="",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,[s,o]=e.split("|");if(s==this.itemId&&o===this.instanceid){if(!this._initializing&&i.length>0){const t=ht.getItemInfo(s);"data"===o?t.data=JSON.parse(i):t.properties=JSON.parse(i),ht.setItemInfo(t)}this._initializing=!1}}}))}componentWillLoad(){return this._getTranslations()}render(){return e(a,null,e("div",{class:"solution-data-container"},e("calcite-shell",{class:"light var-container",dir:"ltr"},e("calcite-panel",{class:"json-editor"},e("div",{class:"solution-data-child-container calcite-match-height"},e("json-editor",{class:"solution-data-editor-container",instanceid:this.itemId+"|"+this.instanceid,value:this.value}))),e("calcite-shell-panel",{"height-scale":"l",position:"end",slot:"contextual-panel","width-scale":"xs"},e("div",{class:this.varsOpen?"solution-data-child-container":"solution-data-child-container-collapsed"},e("calcite-button",{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}),e("div",{class:this.varsOpen?"org-vars":"org-vars display-none",id:"orgVars"},e("solution-organization-variables",{value:this.organizationVariables})),e("div",{class:this.varsOpen?"sol-vars":"sol-vars display-none",id:"solVars"},e("solution-variables",{value:this.solutionVariables})))))))}_toggleVars(){this.varsOpen=!this.varsOpen}async _getTranslations(){const t=await rt(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{itemId:["itemIdWatchHandler"]}}};At.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 St=class{constructor(e){t(this,e),this.solutionVariableSelected=o(this,"solutionVariableSelected",7),this.value="",this._solutionVariables=[],this._translations=void 0}valueWatchHandler(){this._solutionVariables=JSON.parse(this.value)}componentWillLoad(){return this._getTranslations()}render(){return e(a,null,e("div",null,e("h4",{class:"org-var-header"},this._translations.solVariables)),e("div",{class:"container-border"},e("calcite-tree",{id:"variable-label"},this._renderHierarchy(this._solutionVariables))))}_renderHierarchy(t){return t.map((t=>t.dependencies&&t.dependencies.length>0?e("calcite-tree-item",{onClick:t=>this._toggleExpand(t)},e("solution-item-icon",{type:t.type}),e("span",{class:"icon-text",title:t.title},t.title),e("calcite-tree",{slot:"children"},this._renderHierarchy(t.dependencies))):e("calcite-tree-item",{onClick:()=>this._treeItemSelected(t.id,t.value)},t.title)))}_treeItemSelected(t,e){this.solutionVariableSelected.emit({itemId:t,value:e})}_toggleExpand(t){var e;const i=null===(e=null==t?void 0:t.target)||void 0===e?void 0:e.closest("calcite-tree-item");i&&(i.expanded=!i.expanded)}async _getTranslations(){const t=await rt(this.el);this._translations=t[0]}get el(){return s(this)}static get watchers(){return{value:["valueWatchHandler"]}}};St.style=':host{display:block;box-sizing:border-box;margin-left:0.75rem;margin-right:0.75rem;min-width:0;flex-grow:0;flex-shrink:1}:host-group-1-up>.block{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}:host-group-2-up>.block{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}:host-group-3-up>.block{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}:host-group-4-up>.block{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}:host-group-5-up>.block{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}:host-group-6-up>.block{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}:host-group-7-up>.block{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}:host-group-8-up>.block{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.tablet-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.tablet-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.tablet-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.tablet-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.tablet-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.tablet-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.tablet-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.tablet-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.phone-block-group-1-up>:host{flex-basis:calc(100% - 1.5rem);width:calc(100% - 1.5rem)}.phone-block-group-2-up>:host{flex-basis:calc(50% - 1.5rem);width:calc(50% - 1.5rem)}.phone-block-group-3-up>:host{flex-basis:calc(33.33333% - 1.5rem);width:calc(33.33333% - 1.5rem)}.phone-block-group-4-up>:host{flex-basis:calc(25% - 1.5rem);width:calc(25% - 1.5rem)}.phone-block-group-5-up>:host{flex-basis:calc(20% - 1.5rem);width:calc(20% - 1.5rem)}.phone-block-group-6-up>:host{flex-basis:calc(16.66666% - 1.5rem);width:calc(16.66666% - 1.5rem)}.phone-block-group-7-up>:host{flex-basis:calc(14.2857% - 1.5rem);width:calc(14.2857% - 1.5rem)}.phone-block-group-8-up>:host{flex-basis:calc(12.5% - 1.5rem);width:calc(12.5% - 1.5rem)}.code-face :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:normal}.code-face :host b,.code-face :host strong{font-weight:400}.code-italic :host{letter-spacing:0em;font-family:"Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;font-weight:400;font-style:italic}.code-italic :host b,.code-italic :host strong{font-weight:400}.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{bt as calcite_shell_panel,ut as calcite_tab,mt as calcite_tab_nav,xt as calcite_tab_title,vt as calcite_tabs,zt as calcite_value_list,Lt as calcite_value_list_item,Tt as json_editor,It as solution_item_details,Ht as solution_item_sharing,Mt as solution_organization_variables,jt as solution_resource_item,At as solution_template_data,St as solution_variables}
|