@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
@@ -3,14 +3,14 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{a as i,r as s,h as t,H as e,g as n}from"./p-91c78d98.js";import{a,t as l}from"./p-
|
6
|
+
import{a as i,r as s,h as t,H as e,g as n}from"./p-91c78d98.js";import{a,t as l}from"./p-4b9ba22d.js";import{c as o}from"./p-efc041d0.js";import"./p-361b44ed.js";import"./p-3760847f.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.
|
10
|
+
* v1.9.0
|
11
11
|
*/const c={},r={},h={s:16,m:24,l:32};
|
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
|
*/const m=class{constructor(i){s(this,i),this.icon=null,this.flipRtl=!1,this.scale="m",this.textLabel=void 0,this.pathData=void 0,this.visible=!1}connectedCallback(){this.waitUntilVisible((()=>{this.visible=!0,this.loadIconPathData()}))}disconnectedCallback(){var i;null===(i=this.intersectionObserver)||void 0===i||i.disconnect(),this.intersectionObserver=null}async componentWillLoad(){this.loadIconPathData()}render(){const{el:i,flipRtl:s,pathData:n,scale:o,textLabel:c}=this,r=a(i),m=h[o],d=!!c,p=[].concat(n||"");return t(e,{"aria-hidden":l(!d),"aria-label":d?c:null,role:d?"img":null},t("svg",{"aria-hidden":"true",class:{"flip-rtl":"rtl"===r&&s,svg:!0},fill:"currentColor",height:"100%",viewBox:`0 0 ${m} ${m}`,width:"100%",xmlns:"http://www.w3.org/2000/svg"},p.map((i=>t("path","string"==typeof i?{d:i}:{d:i.d,opacity:"opacity"in i?i.opacity:1})))))}async loadIconPathData(){const{icon:s,scale:t,visible:e}=this;s&&e&&(this.pathData=await async function({icon:s,scale:t}){const e=h[t],n=function(i){const s=!isNaN(Number(i.charAt(0))),t=i.split("-");if(t.length>0){const s=/[a-z]/i;i=t.map(((i,t)=>i.replace(s,(function(i,s){return 0===t&&0===s?i:i.toUpperCase()})))).join("")}return s?`i${i}`:i}(s),a="F"===n.charAt(n.length-1),l=`${a?n.substring(0,n.length-1):n}${e}${a?"F":""}`;if(c[l])return c[l];r[l]||(r[l]=fetch(i(`./assets/icon/${l}.json`)).then((i=>i.json())).catch((()=>(console.error(`"${l}" is not a valid calcite-ui-icon name`),""))));const o=await r[l];return c[l]=o,o}({icon:s,scale:t}))}waitUntilVisible(i){this.intersectionObserver=o("intersection",(s=>{s.forEach((s=>{s.isIntersecting&&(this.intersectionObserver.disconnect(),this.intersectionObserver=null,i())}))}),{rootMargin:"50px"}),this.intersectionObserver?this.intersectionObserver.observe(this.el):i()}static get assetsDirs(){return["assets"]}get el(){return n(this)}static get watchers(){return{icon:["loadIconPathData"],scale:["loadIconPathData"]}}};m.style=":host{display:inline-flex;color:var(--calcite-ui-icon-color)}:host([scale=s]){block-size:1rem;inline-size:1rem;min-inline-size:1rem;min-block-size:1rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem;min-inline-size:1.5rem;min-block-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem;min-inline-size:2rem;min-block-size:2rem}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}";export{m as calcite_icon}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var a={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(e){return"["+e+(1===e||8===e||e>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};e.locale(a,null,!0);export default a;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var a={name:"en-ca",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ordinal:function(e){return e},formats:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"}};e.locale(a,null,!0);export default a;
|
@@ -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,C as o,D as n,a as l,H as r,O as h,b as c,S as d,d as p,R as u}from"./p-e1bc4ef6.js";import{i as f,a as m}from"./p-1ba1336c.js";import{C as v,n as g,h as b,o as w,a as x,b as C,p as y,c as k,t as S,d as A,e as j,f as D}from"./p-b8b4c32f.js";import{c as $,d as z,u as F}from"./p-35a41253.js";import{i as O}from"./p-79e83176.js";import{c as L,s as M,a as N}from"./p-4caa1f9d.js";import{c as P,d as I}from"./p-08901512.js";import{r as K,c as E,a as U}from"./p-e912299d.js";import{u as H,s as R,c as T,d as X}from"./p-272018eb.js";import{t as V}from"./p-6665fa1f.js";import"./p-e1a4994d.js";import"./p-31fdc998.js";import"./p-31133802.js";import"./p-943a5ed7.js";import"./p-9cb360bd.js";import"./p-a82f35c9.js";const q=class{constructor(e){t(this,e),this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.mode=v.HEX,this.shiftKeyChannelAdjustment=0,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[s]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===s||"ArrowUp"===s?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[s].x||0,this.colorFieldScopeTop+i[s].y||0,!1))},this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.hue(),n=this.baseColorFieldColor.hue(o+a);this.internalColorSet(n,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{allowEmpty:s,color:i}=this,e=t.target.value;!s||e?e!==(i&&g(b(i,C(this.mode))))&&this.internalColorSet(a(e)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(a(t.currentTarget.color))},this.handleChannelInput=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=3===i?h.max:"rgb"===this.channelMode?u[Object.keys(u)[i]]:r[Object.keys(r)[i]];let a;if(this.allowEmpty&&!s.value)a="";else{const t=Number(s.value);a=E(t+this.shiftKeyChannelAdjustment,0,e).toString()}s.value=a},this.handleChannelChange=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];if(this.allowEmpty&&!s.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const a=3===i,o=Number(s.value);e[i]=a?w(o):o,this.updateColorFromChannels(e)},this.handleSavedColorKeyDown=t=>{O(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{if(!f(t))return;const{offsetX:s,offsetY:i}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.colorFieldRenderingContext,bounds:this.colorFieldRenderingContext.canvas.getBoundingClientRect()},this.captureColorFieldColor(s,i),this.colorFieldScopeNode.focus()},this.handleHueSliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.hueSliderRenderingContext,bounds:this.hueSliderRenderingContext.canvas.getBoundingClientRect()},this.captureHueSliderColor(s),this.hueScopeNode.focus()},this.handleOpacitySliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.opacitySliderRenderingContext,bounds:this.opacitySliderRenderingContext.canvas.getBoundingClientRect()},this.captureOpacitySliderValue(s),this.opacityScopeNode.focus()},this.globalPointerUpHandler=t=>{if(!f(t))return;const s=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),s&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:i}=this;if(!i.isConnected||!s)return;const{context:e,bounds:a}=s;let o,n;const{clientX:l,clientY:r}=t;e.canvas.matches(":hover")?(o=l-a.x,n=r-a.y):(o=l<a.x+a.width&&l>a.x?l-a.x:l<a.x?0:a.width,n=r<a.y+a.height&&r>a.y?r-a.y:r<a.y?0:a.height),e===this.colorFieldRenderingContext?this.captureColorFieldColor(o,n,!1):e===this.hueSliderRenderingContext?this.captureHueSliderColor(o):e===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(o)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:e}=this;return i("calcite-tab-title",{class:o.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===s},"rgb"===t?e.rgb:e.hsv)},this.renderChannelsTab=t=>{const{allowEmpty:s,channelMode:e,channels:a,messages:n,alphaChannel:l}=this,r=t===e,h="rgb"===t?[n.red,n.green,n.blue]:[n.hue,n.saturation,n.value],c=m(this.el),d=l?a:a.slice(0,3);return i("calcite-tab",{class:o.control,key:t,selected:r},i("div",{class:o.channels,dir:"ltr"},d.map(((t,i)=>{const e=3===i;return e&&(t=s&&!t?t:x(t)),this.renderChannel(t,i,h[i],c,e?"%":"")}))))},this.renderChannel=(t,s,e,a,n)=>i("calcite-input-number",{class:o.channel,"data-channel-index":s,dir:a,key:s,label:e,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onKeyDown:this.handleKeyDown,scale:"l"===this.scale?"m":"s",style:{marginLeft:s>0&&("s"!==this.scale||!this.alphaChannel||3!==s)?"-1px":""},suffixText:n,value:null==t?void 0:t.toString()}),this.deleteColor=()=>{const t=b(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const s=this.savedColors.filter((s=>s!==t));this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.saveColor=()=>{const t=b(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const s=[...this.savedColors,t];this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.drawColorControls=V(((t="all")=>{"all"!==t&&"color-field"!==t||!this.colorFieldRenderingContext||this.drawColorField(),"all"!==t&&"hue-slider"!==t||!this.hueSliderRenderingContext||this.drawHueSlider(),this.alphaChannel&&("all"===t||"opacity-slider"===t)&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()}),16),this.captureColorFieldColor=(t,s,i=!0)=>{const{dimensions:{colorField:{height:e,width:a}}}=this,o=Math.round(r.s/a*t),n=Math.round(r.v/e*(e-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(o).value(n),i)},this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls()},this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider()},this.initOpacitySlider=t=>{t&&(this.opacitySliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())},this.storeOpacityScope=t=>{this.opacityScopeNode=t},this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.alpha(),n=this.baseColorFieldColor.alpha(o+a);this.internalColorSet(n,!1)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.color=n,this.disabled=!1,this.format="auto",this.hideChannels=!1,this.hexDisabled=!1,this.hideHex=!1,this.hideSaved=!1,this.savedDisabled=!1,this.scale="m",this.storageId=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.value=g(b(n,this.alphaChannel)),this.defaultMessages=void 0,this.channelMode="rgb",this.channels=this.toChannels(n),this.dimensions=l.m,this.effectiveLocale="",this.messages=void 0,this.savedColors=[],this.colorFieldScopeTop=void 0,this.colorFieldScopeLeft=void 0,this.hueScopeLeft=void 0,this.opacityScopeLeft=void 0,this.scopeOrientation=void 0}handleAlphaChannelChange(t){const{format:s}=this;t&&"auto"!==s&&!C(s)&&(console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`),this.alphaChannel=!1)}handleColorChange(t,s){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=s}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){this.updateDimensions(t),this.updateCanvasSize("all"),this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{allowEmpty:i,format:e}=this;let o=!1;if(!i||t){const i=y(t);if(!i||"auto"!==e&&i!==e)return this.showIncompatibleColorWarning(t,e),void(this.value=s);o=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const n=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(n||this.calciteColorPickerChange.emit());const l=i&&!t?null:a(null!=t&&"object"==typeof t&&C(this.mode)?D(t):t),r=!k(l,this.color);(o||r)&&this.internalColorSet(l,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||n}effectiveLocaleChange(){H(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if("ArrowUp"!==s&&"ArrowDown"!==s||!t.composedPath().some((t=>{var s;return null===(s=t.classList)||void 0===s?void 0:s.contains(o.channel)})))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===s&&i?9:"ArrowDown"===s&&i?-9:0}async setFocus(){await L(this),this.el.focus()}async componentWillLoad(){M(this);const{allowEmpty:t,color:s,format:i,value:e}=this,o=t&&!e,n=y(e),l=o||"auto"===i&&n||i===n,r=o?null:l?a(e):s;l||this.showIncompatibleColorWarning(e,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateDimensions(this.scale);const h=`${p}${this.storageId}`;this.storageId&&localStorage.getItem(h)&&(this.savedColors=JSON.parse(localStorage.getItem(h))),await R(this)}connectedCallback(){$(this),P(this),T(this)}componentDidLoad(){N(this)}disconnectedCallback(){document.removeEventListener("pointermove",this.globalPointerMoveHandler),document.removeEventListener("pointerup",this.globalPointerUpHandler),z(this),I(this),X(this)}componentDidRender(){F(this)}render(){const{allowEmpty:t,channelsDisabled:s,color:e,colorFieldScopeLeft:a,colorFieldScopeTop:l,dimensions:{slider:{width:c},thumb:{radius:d}},hexDisabled:p,hideChannels:u,hideHex:f,hideSaved:m,hueScopeLeft:v,messages:g,alphaChannel:w,opacityScopeLeft:C,savedColors:y,savedDisabled:k,scale:S,scopeOrientation:A}=this,j=e?b(e,w):null,D=d,$=null!=v?v:c*n.hue()/r.h,z=d,F=null!=C?C:c*x(n.alpha())/h.max,O=null===e,L="vertical"===A,M=p||f,N=s||u,P=k||m,[I,K]=this.getAdjustedScopePosition(a,l),[E,U]=this.getAdjustedScopePosition($,D),[H,R]=this.getAdjustedScopePosition(F,z);return i("div",{class:o.container},i("div",{class:o.controlAndScope},i("canvas",{class:o.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{"aria-label":L?g.value:g.saturation,"aria-valuemax":L?r.v:r.s,"aria-valuemin":"0","aria-valuenow":(L?null==e?void 0:e.saturationv():null==e?void 0:e.value())||"0",class:{[o.scope]:!0,[o.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,role:"slider",style:{top:`${K||0}px`,left:`${I||0}px`},tabindex:"0",ref:this.storeColorFieldScope})),i("div",{class:o.previewAndSliders},i("calcite-color-picker-swatch",{class:o.preview,color:j,scale:"l"}),i("div",{class:o.sliders},i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.hueSlider]:!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{"aria-label":g.hue,"aria-valuemax":r.h,"aria-valuemin":"0","aria-valuenow":(null==e?void 0:e.round().hue())||n.round().hue(),class:{[o.scope]:!0,[o.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:`${U}px`,left:`${E}px`},tabindex:"0",ref:this.storeHueScope})),w?i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.opacitySlider]:!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":g.opacity,"aria-valuemax":h.max,"aria-valuemin":h.min,"aria-valuenow":(e||n).round().alpha(),class:{[o.scope]:!0,[o.opacityScope]:!0},onKeyDown:this.handleOpacityScopeKeyDown,role:"slider",style:{top:`${R}px`,left:`${H}px`},tabindex:"0",ref:this.storeOpacityScope})):null)),M&&N?null:i("div",{class:{[o.controlSection]:!0,[o.section]:!0}},i("div",{class:o.hexAndChannelsGroup},M?null:i("div",{class:o.hexOptions},i("calcite-color-picker-hex-input",{allowEmpty:t,alphaChannel:w,class:o.control,messages:g,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:S,value:j})),N?null:i("calcite-tabs",{class:{[o.colorModeContainer]:!0,[o.splitSection]:!0},scale:"l"===S?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),P?null:i("div",{class:{[o.savedColorsSection]:!0,[o.section]:!0}},i("div",{class:o.header},i("label",null,g.saved),i("div",{class:o.savedColorsButtons},i("calcite-button",{appearance:"transparent",class:o.deleteColor,disabled:O,iconStart:"minus",kind:"neutral",label:g.deleteColor,onClick:this.deleteColor,scale:S,type:"button"}),i("calcite-button",{appearance:"transparent",class:o.saveColor,disabled:O,iconStart:"plus",kind:"neutral",label:g.saveColor,onClick:this.saveColor,scale:S,type:"button"}))),y.length>0?i("div",{class:o.savedColors},[...y.map((t=>i("calcite-color-picker-swatch",{class:o.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:S,tabIndex:0})))]):null))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,s)}ensureCompatibleMode(t,s){const{alphaChannel:i}=this,e=C(t);if(i&&!e){const i=j(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&e){const i=S(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){const{dimensions:{slider:{width:s}}}=this;this.internalColorSet(this.baseColorFieldColor.hue(c/s*t),!1)}captureOpacitySliderValue(t){const{dimensions:{slider:{width:s}}}=this,i=w(h.max/s*t);this.internalColorSet(this.baseColorFieldColor.alpha(i),!1)}internalColorSet(t,s=!0,i="user-interaction"){s&&k(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,s=this.mode){if(!t)return null;if(s.includes("hex")){const i=s===v.HEXA;return g(b(t.round(),i),i)}if(s.includes("-css")){const i=t[s.replace("-css","").replace("a","")]().round().string();return(s.endsWith("a")||s.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[S(s)]().round().object();return s.endsWith("a")?A(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return 2*s-t}updateDimensions(t="m"){this.dimensions=l[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:s,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,s);const e=t.createLinearGradient(0,0,i,0);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=e,t.fillRect(0,0,i,s);const a=t.createLinearGradient(0,0,0,s);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=a,t.fillRect(0,0,i,s),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:i}){if(!t)return;const e=window.devicePixelRatio||1;t.width=i*e,t.height=s*e,t.style.height=`${s}px`,t.style.width=`${i}px`,t.getContext("2d").scale(e,e)}updateCanvasSize(t="all"){var s,i,e;const{dimensions:a}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(null===(s=this.colorFieldRenderingContext)||void 0===s?void 0:s.canvas,a.colorField);const o={width:a.slider.width,height:a.slider.height+2*(a.thumb.radius-a.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(null===(i=this.hueSliderRenderingContext)||void 0===i?void 0:i.canvas,o),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(null===(e=this.opacitySliderRenderingContext)||void 0===e?void 0:e.canvas,o)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const s=t.hsv(),{dimensions:{colorField:{height:i,width:e},thumb:{radius:a}}}=this,o=s.saturationv()/(r.s/e),n=i-s.value()/(r.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=o,this.colorFieldScopeTop=n})),this.drawThumb(this.colorFieldRenderingContext,a,o,n,s)}drawThumb(t,s,i,e,a){const o=2*Math.PI;t.beginPath(),t.arc(i,e,s,0,o),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),t.beginPath(),t.arc(i,e,s-3,0,o),t.fillStyle=a.rgb().alpha(1).string(),t.fill()}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const s=t.hsv().saturationv(100).value(100),{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=s.hue()/(c/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.hueScopeLeft=n})),this.drawThumb(this.hueSliderRenderingContext,e,n,o,s)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:s,width:i},thumb:{radius:e}}}=this,o=e-s/2,n=t.createLinearGradient(0,0,i,0),l=["red","yellow","lime","cyan","blue","magenta","#ff0004"],r=1/(l.length-1);let h=0;l.forEach((t=>{n.addColorStop(h,a(t).string()),h+=r})),t.clearRect(0,0,i,s+2*this.getSliderCapSpacing()),this.drawSliderPath(t,s,i,0,o),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:s,dimensions:{slider:{height:i,width:e},thumb:{radius:a}}}=this,o=a-i/2;t.clearRect(0,0,e,i+2*this.getSliderCapSpacing());const n=t.createLinearGradient(0,o,e,0),l=s.rgb().alpha(0),r=s.rgb().alpha(.5),h=s.rgb().alpha(1);n.addColorStop(0,l.string()),n.addColorStop(.5,r.string()),n.addColorStop(1,h.string()),this.drawSliderPath(t,i,e,0,o);const c=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=c,t.fill(),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,i,e,a){const o=s/2+1;t.beginPath(),t.moveTo(e+o,a),t.lineTo(e+i-o,a),t.quadraticCurveTo(e+i,a,e+i,a+o),t.lineTo(e+i,a+s-o),t.quadraticCurveTo(e+i,a+s,e+i-o,a+s),t.lineTo(e+o,a+s),t.quadraticCurveTo(e,a+s,e,a+s-o),t.lineTo(e,a+o),t.quadraticCurveTo(e,a,e+o,a),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const s=t.getContext("2d");return s.fillStyle="#ccc",s.fillRect(0,0,10,10),s.fillStyle="#fff",s.fillRect(0,0,5,5),s.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const s=t,{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=x(s.alpha())/(h.max/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.opacityScopeLeft=n})),this.drawThumb(this.opacitySliderRenderingContext,e,n,o,s)}getSliderBoundX(t,s,i){const e=U(t,s,i);return 0===e?t:-1===e?K(t,0,s,i,2*i):K(t,0,s,s-2*i,s-i)}updateColorFromChannels(t){this.internalColorSet(a(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this,i=t[s]().array().map(((t,s)=>3===s?t:Math.floor(t)));return 3===i.length&&i.push(1),i}getAdjustedScopePosition(t,s){return[t-d/2,s-d/2]}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{alphaChannel:["handleAlphaChannelChange","handleFormatOrAlphaChannelChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};q.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-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-app-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope: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:11px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-ui-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';export{q as calcite_color_picker}
|
6
|
+
import{r as t,c as s,h as i,g as e}from"./p-91c78d98.js";import{c as a,C as o,D as n,a as l,H as r,O as h,b as c,S as d,d as p,R as u}from"./p-dd4e5f64.js";import{i as f,a as m}from"./p-4b9ba22d.js";import{C as v,n as g,h as b,o as w,a as x,b as C,p as y,c as k,t as S,d as A,e as j,f as D}from"./p-dd36af4f.js";import{c as $,d as z,u as F}from"./p-2ee3afea.js";import{i as O}from"./p-34fb2a6e.js";import{c as L,s as M,a as N}from"./p-3a668467.js";import{c as P,d as I}from"./p-bf9d3381.js";import{r as K,c as E,a as U}from"./p-2f9bab49.js";import{u as H,s as R,c as T,d as X}from"./p-29120ecd.js";import{t as V}from"./p-6665fa1f.js";import"./p-e1a4994d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";import"./p-efc041d0.js";import"./p-a82f35c9.js";const q=class{constructor(e){t(this,e),this.calciteColorPickerChange=s(this,"calciteColorPickerChange",6),this.calciteColorPickerInput=s(this,"calciteColorPickerInput",6),this.internalColorUpdateContext=null,this.mode=v.HEX,this.shiftKeyChannelAdjustment=0,this.handleTabActivate=t=>{this.channelMode=t.currentTarget.getAttribute("data-color-mode"),this.updateChannelsFromColor(this.color)},this.handleColorFieldScopeKeyDown=t=>{const{key:s}=t,i={ArrowUp:{x:0,y:-10},ArrowRight:{x:10,y:0},ArrowDown:{x:0,y:10},ArrowLeft:{x:-10,y:0}};i[s]&&(t.preventDefault(),this.scopeOrientation="ArrowDown"===s||"ArrowUp"===s?"vertical":"horizontal",this.captureColorFieldColor(this.colorFieldScopeLeft+i[s].x||0,this.colorFieldScopeTop+i[s].y||0,!1))},this.handleHueScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:1,ArrowRight:1,ArrowDown:-1,ArrowLeft:-1};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.hue(),n=this.baseColorFieldColor.hue(o+a);this.internalColorSet(n,!1)}},this.handleHexInputChange=t=>{t.stopPropagation();const{allowEmpty:s,color:i}=this,e=t.target.value;!s||e?e!==(i&&g(b(i,C(this.mode))))&&this.internalColorSet(a(e)):this.internalColorSet(null)},this.handleSavedColorSelect=t=>{this.internalColorSet(a(t.currentTarget.color))},this.handleChannelInput=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=3===i?h.max:"rgb"===this.channelMode?u[Object.keys(u)[i]]:r[Object.keys(r)[i]];let a;if(this.allowEmpty&&!s.value)a="";else{const t=Number(s.value);a=E(t+this.shiftKeyChannelAdjustment,0,e).toString()}s.value=a},this.handleChannelChange=t=>{const s=t.currentTarget,i=Number(s.getAttribute("data-channel-index")),e=[...this.channels];if(this.allowEmpty&&!s.value)return this.channels=[null,null,null,null],void this.internalColorSet(null);const a=3===i,o=Number(s.value);e[i]=a?w(o):o,this.updateColorFromChannels(e)},this.handleSavedColorKeyDown=t=>{O(t.key)&&(t.preventDefault(),this.handleSavedColorSelect(t))},this.handleColorFieldPointerDown=t=>{if(!f(t))return;const{offsetX:s,offsetY:i}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.colorFieldRenderingContext,bounds:this.colorFieldRenderingContext.canvas.getBoundingClientRect()},this.captureColorFieldColor(s,i),this.colorFieldScopeNode.focus()},this.handleHueSliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.hueSliderRenderingContext,bounds:this.hueSliderRenderingContext.canvas.getBoundingClientRect()},this.captureHueSliderColor(s),this.hueScopeNode.focus()},this.handleOpacitySliderPointerDown=t=>{if(!f(t))return;const{offsetX:s}=t;document.addEventListener("pointermove",this.globalPointerMoveHandler),document.addEventListener("pointerup",this.globalPointerUpHandler,{once:!0}),this.activeCanvasInfo={context:this.opacitySliderRenderingContext,bounds:this.opacitySliderRenderingContext.canvas.getBoundingClientRect()},this.captureOpacitySliderValue(s),this.opacityScopeNode.focus()},this.globalPointerUpHandler=t=>{if(!f(t))return;const s=this.activeCanvasInfo;this.activeCanvasInfo=null,this.drawColorControls(),s&&this.calciteColorPickerChange.emit()},this.globalPointerMoveHandler=t=>{const{activeCanvasInfo:s,el:i}=this;if(!i.isConnected||!s)return;const{context:e,bounds:a}=s;let o,n;const{clientX:l,clientY:r}=t;e.canvas.matches(":hover")?(o=l-a.x,n=r-a.y):(o=l<a.x+a.width&&l>a.x?l-a.x:l<a.x?0:a.width,n=r<a.y+a.height&&r>a.y?r-a.y:r<a.y?0:a.height),e===this.colorFieldRenderingContext?this.captureColorFieldColor(o,n,!1):e===this.hueSliderRenderingContext?this.captureHueSliderColor(o):e===this.opacitySliderRenderingContext&&this.captureOpacitySliderValue(o)},this.storeColorFieldScope=t=>{this.colorFieldScopeNode=t},this.storeHueScope=t=>{this.hueScopeNode=t},this.renderChannelsTabTitle=t=>{const{channelMode:s,messages:e}=this;return i("calcite-tab-title",{class:o.colorMode,"data-color-mode":t,key:t,onCalciteTabsActivate:this.handleTabActivate,selected:t===s},"rgb"===t?e.rgb:e.hsv)},this.renderChannelsTab=t=>{const{allowEmpty:s,channelMode:e,channels:a,messages:n,alphaChannel:l}=this,r=t===e,h="rgb"===t?[n.red,n.green,n.blue]:[n.hue,n.saturation,n.value],c=m(this.el),d=l?a:a.slice(0,3);return i("calcite-tab",{class:o.control,key:t,selected:r},i("div",{class:o.channels,dir:"ltr"},d.map(((t,i)=>{const e=3===i;return e&&(t=s&&!t?t:x(t)),this.renderChannel(t,i,h[i],c,e?"%":"")}))))},this.renderChannel=(t,s,e,a,n)=>i("calcite-input-number",{class:o.channel,"data-channel-index":s,dir:a,key:s,label:e,lang:this.effectiveLocale,numberButtonType:"none",numberingSystem:this.numberingSystem,onCalciteInputNumberChange:this.handleChannelChange,onCalciteInputNumberInput:this.handleChannelInput,onKeyDown:this.handleKeyDown,scale:"l"===this.scale?"m":"s",style:{marginLeft:s>0&&("s"!==this.scale||!this.alphaChannel||3!==s)?"-1px":""},suffixText:n,value:null==t?void 0:t.toString()}),this.deleteColor=()=>{const t=b(this.color,this.alphaChannel);if(!(this.savedColors.indexOf(t)>-1))return;const s=this.savedColors.filter((s=>s!==t));this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.saveColor=()=>{const t=b(this.color,this.alphaChannel);if(this.savedColors.indexOf(t)>-1)return;const s=[...this.savedColors,t];this.savedColors=s,this.storageId&&localStorage.setItem(`${p}${this.storageId}`,JSON.stringify(s))},this.drawColorControls=V(((t="all")=>{"all"!==t&&"color-field"!==t||!this.colorFieldRenderingContext||this.drawColorField(),"all"!==t&&"hue-slider"!==t||!this.hueSliderRenderingContext||this.drawHueSlider(),this.alphaChannel&&("all"===t||"opacity-slider"===t)&&this.opacitySliderRenderingContext&&this.drawOpacitySlider()}),16),this.captureColorFieldColor=(t,s,i=!0)=>{const{dimensions:{colorField:{height:e,width:a}}}=this,o=Math.round(r.s/a*t),n=Math.round(r.v/e*(e-s));this.internalColorSet(this.baseColorFieldColor.hsv().saturationv(o).value(n),i)},this.initColorField=t=>{this.colorFieldRenderingContext=t.getContext("2d"),this.updateCanvasSize("color-field"),this.drawColorControls()},this.initHueSlider=t=>{this.hueSliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("hue-slider"),this.drawHueSlider()},this.initOpacitySlider=t=>{t&&(this.opacitySliderRenderingContext=t.getContext("2d"),this.updateCanvasSize("opacity-slider"),this.drawOpacitySlider())},this.storeOpacityScope=t=>{this.opacityScopeNode=t},this.handleOpacityScopeKeyDown=t=>{const s=t.shiftKey?10:1,{key:i}=t,e={ArrowUp:.01,ArrowRight:.01,ArrowDown:-.01,ArrowLeft:-.01};if(e[i]){t.preventDefault();const a=e[i]*s,o=this.baseColorFieldColor.alpha(),n=this.baseColorFieldColor.alpha(o+a);this.internalColorSet(n,!1)}},this.allowEmpty=!1,this.alphaChannel=!1,this.channelsDisabled=!1,this.color=n,this.disabled=!1,this.format="auto",this.hideChannels=!1,this.hexDisabled=!1,this.hideHex=!1,this.hideSaved=!1,this.savedDisabled=!1,this.scale="m",this.storageId=void 0,this.messageOverrides=void 0,this.numberingSystem=void 0,this.value=g(b(n,this.alphaChannel)),this.defaultMessages=void 0,this.channelMode="rgb",this.channels=this.toChannels(n),this.dimensions=l.m,this.effectiveLocale="",this.messages=void 0,this.savedColors=[],this.colorFieldScopeTop=void 0,this.colorFieldScopeLeft=void 0,this.hueScopeLeft=void 0,this.opacityScopeLeft=void 0,this.scopeOrientation=void 0}handleAlphaChannelChange(t){const{format:s}=this;t&&"auto"!==s&&!C(s)&&(console.warn(`ignoring alphaChannel as the current format (${s}) does not support alpha`),this.alphaChannel=!1)}handleColorChange(t,s){this.drawColorControls(),this.updateChannelsFromColor(t),this.previousColor=s}handleFormatOrAlphaChannelChange(){this.setMode(this.format),this.internalColorSet(this.color,!1,"internal")}handleScaleChange(t="m"){this.updateDimensions(t),this.updateCanvasSize("all"),this.drawColorControls()}onMessagesChange(){}handleValueChange(t,s){const{allowEmpty:i,format:e}=this;let o=!1;if(!i||t){const i=y(t);if(!i||"auto"!==e&&i!==e)return this.showIncompatibleColorWarning(t,e),void(this.value=s);o=this.mode!==i,this.setMode(i,null===this.internalColorUpdateContext)}const n=this.activeCanvasInfo;if("initial"===this.internalColorUpdateContext)return;if("user-interaction"===this.internalColorUpdateContext)return this.calciteColorPickerInput.emit(),void(n||this.calciteColorPickerChange.emit());const l=i&&!t?null:a(null!=t&&"object"==typeof t&&C(this.mode)?D(t):t),r=!k(l,this.color);(o||r)&&this.internalColorSet(l,this.alphaChannel&&!(this.mode.endsWith("a")||this.mode.endsWith("a-css")),"internal")}get baseColorFieldColor(){return this.color||this.previousColor||n}effectiveLocaleChange(){H(this,this.effectiveLocale)}handleChannelKeyUpOrDown(t){this.shiftKeyChannelAdjustment=0;const{key:s}=t;if("ArrowUp"!==s&&"ArrowDown"!==s||!t.composedPath().some((t=>{var s;return null===(s=t.classList)||void 0===s?void 0:s.contains(o.channel)})))return;const{shiftKey:i}=t;if(t.preventDefault(),!this.color)return this.internalColorSet(this.previousColor),void t.stopPropagation();this.shiftKeyChannelAdjustment="ArrowUp"===s&&i?9:"ArrowDown"===s&&i?-9:0}async setFocus(){await L(this),this.el.focus()}async componentWillLoad(){M(this);const{allowEmpty:t,color:s,format:i,value:e}=this,o=t&&!e,n=y(e),l=o||"auto"===i&&n||i===n,r=o?null:l?a(e):s;l||this.showIncompatibleColorWarning(e,i),this.setMode(i,!1),this.internalColorSet(r,!1,"initial"),this.updateDimensions(this.scale);const h=`${p}${this.storageId}`;this.storageId&&localStorage.getItem(h)&&(this.savedColors=JSON.parse(localStorage.getItem(h))),await R(this)}connectedCallback(){$(this),P(this),T(this)}componentDidLoad(){N(this)}disconnectedCallback(){document.removeEventListener("pointermove",this.globalPointerMoveHandler),document.removeEventListener("pointerup",this.globalPointerUpHandler),z(this),I(this),X(this)}componentDidRender(){F(this)}render(){const{allowEmpty:t,channelsDisabled:s,color:e,colorFieldScopeLeft:a,colorFieldScopeTop:l,dimensions:{slider:{width:c},thumb:{radius:d}},hexDisabled:p,hideChannels:u,hideHex:f,hideSaved:m,hueScopeLeft:v,messages:g,alphaChannel:w,opacityScopeLeft:C,savedColors:y,savedDisabled:k,scale:S,scopeOrientation:A}=this,j=e?b(e,w):null,D=d,$=null!=v?v:c*n.hue()/r.h,z=d,F=null!=C?C:c*x(n.alpha())/h.max,O=null===e,L="vertical"===A,M=p||f,N=s||u,P=k||m,[I,K]=this.getAdjustedScopePosition(a,l),[E,U]=this.getAdjustedScopePosition($,D),[H,R]=this.getAdjustedScopePosition(F,z);return i("div",{class:o.container},i("div",{class:o.controlAndScope},i("canvas",{class:o.colorField,onPointerDown:this.handleColorFieldPointerDown,ref:this.initColorField}),i("div",{"aria-label":L?g.value:g.saturation,"aria-valuemax":L?r.v:r.s,"aria-valuemin":"0","aria-valuenow":(L?null==e?void 0:e.saturationv():null==e?void 0:e.value())||"0",class:{[o.scope]:!0,[o.colorFieldScope]:!0},onKeyDown:this.handleColorFieldScopeKeyDown,role:"slider",style:{top:`${K||0}px`,left:`${I||0}px`},tabindex:"0",ref:this.storeColorFieldScope})),i("div",{class:o.previewAndSliders},i("calcite-color-picker-swatch",{class:o.preview,color:j,scale:"l"}),i("div",{class:o.sliders},i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.hueSlider]:!0},onPointerDown:this.handleHueSliderPointerDown,ref:this.initHueSlider}),i("div",{"aria-label":g.hue,"aria-valuemax":r.h,"aria-valuemin":"0","aria-valuenow":(null==e?void 0:e.round().hue())||n.round().hue(),class:{[o.scope]:!0,[o.hueScope]:!0},onKeyDown:this.handleHueScopeKeyDown,role:"slider",style:{top:`${U}px`,left:`${E}px`},tabindex:"0",ref:this.storeHueScope})),w?i("div",{class:o.controlAndScope},i("canvas",{class:{[o.slider]:!0,[o.opacitySlider]:!0},onPointerDown:this.handleOpacitySliderPointerDown,ref:this.initOpacitySlider}),i("div",{"aria-label":g.opacity,"aria-valuemax":h.max,"aria-valuemin":h.min,"aria-valuenow":(e||n).round().alpha(),class:{[o.scope]:!0,[o.opacityScope]:!0},onKeyDown:this.handleOpacityScopeKeyDown,role:"slider",style:{top:`${R}px`,left:`${H}px`},tabindex:"0",ref:this.storeOpacityScope})):null)),M&&N?null:i("div",{class:{[o.controlSection]:!0,[o.section]:!0}},i("div",{class:o.hexAndChannelsGroup},M?null:i("div",{class:o.hexOptions},i("calcite-color-picker-hex-input",{allowEmpty:t,alphaChannel:w,class:o.control,messages:g,numberingSystem:this.numberingSystem,onCalciteColorPickerHexInputChange:this.handleHexInputChange,scale:S,value:j})),N?null:i("calcite-tabs",{class:{[o.colorModeContainer]:!0,[o.splitSection]:!0},scale:"l"===S?"m":"s"},i("calcite-tab-nav",{slot:"title-group"},this.renderChannelsTabTitle("rgb"),this.renderChannelsTabTitle("hsv")),this.renderChannelsTab("rgb"),this.renderChannelsTab("hsv")))),P?null:i("div",{class:{[o.savedColorsSection]:!0,[o.section]:!0}},i("div",{class:o.header},i("label",null,g.saved),i("div",{class:o.savedColorsButtons},i("calcite-button",{appearance:"transparent",class:o.deleteColor,disabled:O,iconStart:"minus",kind:"neutral",label:g.deleteColor,onClick:this.deleteColor,scale:S,type:"button"}),i("calcite-button",{appearance:"transparent",class:o.saveColor,disabled:O,iconStart:"plus",kind:"neutral",label:g.saveColor,onClick:this.saveColor,scale:S,type:"button"}))),y.length>0?i("div",{class:o.savedColors},[...y.map((t=>i("calcite-color-picker-swatch",{class:o.savedColor,color:t,key:t,onClick:this.handleSavedColorSelect,onKeyDown:this.handleSavedColorKeyDown,scale:S,tabIndex:0})))]):null))}handleKeyDown(t){"Enter"===t.key&&t.preventDefault()}showIncompatibleColorWarning(t,s){console.warn(`ignoring color value (${t}) as it is not compatible with the current format (${s})`)}setMode(t,s=!0){this.mode=this.ensureCompatibleMode("auto"===t?this.mode:t,s)}ensureCompatibleMode(t,s){const{alphaChannel:i}=this,e=C(t);if(i&&!e){const i=j(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}if(!i&&e){const i=S(t);return s&&console.warn(`setting format to (${i}) as the provided one (${t}) does not support alpha`),i}return t}captureHueSliderColor(t){const{dimensions:{slider:{width:s}}}=this;this.internalColorSet(this.baseColorFieldColor.hue(c/s*t),!1)}captureOpacitySliderValue(t){const{dimensions:{slider:{width:s}}}=this,i=w(h.max/s*t);this.internalColorSet(this.baseColorFieldColor.alpha(i),!1)}internalColorSet(t,s=!0,i="user-interaction"){s&&k(t,this.color)||(this.internalColorUpdateContext=i,this.color=t,this.value=this.toValue(t),this.internalColorUpdateContext=null)}toValue(t,s=this.mode){if(!t)return null;if(s.includes("hex")){const i=s===v.HEXA;return g(b(t.round(),i),i)}if(s.includes("-css")){const i=t[s.replace("-css","").replace("a","")]().round().string();return(s.endsWith("a")||s.endsWith("a-css"))&&1===t.alpha()?`${i.slice(0,3)}a(${i.slice(4,-1)}, ${t.alpha()})`:i}const i=t[S(s)]().round().object();return s.endsWith("a")?A(i):i}getSliderCapSpacing(){const{dimensions:{slider:{height:t},thumb:{radius:s}}}=this;return 2*s-t}updateDimensions(t="m"){this.dimensions=l[t]}drawColorField(){const t=this.colorFieldRenderingContext,{dimensions:{colorField:{height:s,width:i}}}=this;t.fillStyle=this.baseColorFieldColor.hsv().saturationv(100).value(100).alpha(1).string(),t.fillRect(0,0,i,s);const e=t.createLinearGradient(0,0,i,0);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(1,"rgba(255,255,255,0)"),t.fillStyle=e,t.fillRect(0,0,i,s);const a=t.createLinearGradient(0,0,0,s);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),t.fillStyle=a,t.fillRect(0,0,i,s),this.drawActiveColorFieldColor()}setCanvasContextSize(t,{height:s,width:i}){if(!t)return;const e=window.devicePixelRatio||1;t.width=i*e,t.height=s*e,t.style.height=`${s}px`,t.style.width=`${i}px`,t.getContext("2d").scale(e,e)}updateCanvasSize(t="all"){var s,i,e;const{dimensions:a}=this;"all"!==t&&"color-field"!==t||this.setCanvasContextSize(null===(s=this.colorFieldRenderingContext)||void 0===s?void 0:s.canvas,a.colorField);const o={width:a.slider.width,height:a.slider.height+2*(a.thumb.radius-a.slider.height/2)};"all"!==t&&"hue-slider"!==t||this.setCanvasContextSize(null===(i=this.hueSliderRenderingContext)||void 0===i?void 0:i.canvas,o),"all"!==t&&"opacity-slider"!==t||this.setCanvasContextSize(null===(e=this.opacitySliderRenderingContext)||void 0===e?void 0:e.canvas,o)}drawActiveColorFieldColor(){const{color:t}=this;if(!t)return;const s=t.hsv(),{dimensions:{colorField:{height:i,width:e},thumb:{radius:a}}}=this,o=s.saturationv()/(r.s/e),n=i-s.value()/(r.v/i);requestAnimationFrame((()=>{this.colorFieldScopeLeft=o,this.colorFieldScopeTop=n})),this.drawThumb(this.colorFieldRenderingContext,a,o,n,s)}drawThumb(t,s,i,e,a){const o=2*Math.PI;t.beginPath(),t.arc(i,e,s,0,o),t.fillStyle="#fff",t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),t.beginPath(),t.arc(i,e,s-3,0,o),t.fillStyle=a.rgb().alpha(1).string(),t.fill()}drawActiveHueSliderColor(){const{color:t}=this;if(!t)return;const s=t.hsv().saturationv(100).value(100),{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=s.hue()/(c/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.hueScopeLeft=n})),this.drawThumb(this.hueSliderRenderingContext,e,n,o,s)}drawHueSlider(){const t=this.hueSliderRenderingContext,{dimensions:{slider:{height:s,width:i},thumb:{radius:e}}}=this,o=e-s/2,n=t.createLinearGradient(0,0,i,0),l=["red","yellow","lime","cyan","blue","magenta","#ff0004"],r=1/(l.length-1);let h=0;l.forEach((t=>{n.addColorStop(h,a(t).string()),h+=r})),t.clearRect(0,0,i,s+2*this.getSliderCapSpacing()),this.drawSliderPath(t,s,i,0,o),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveHueSliderColor()}drawOpacitySlider(){const t=this.opacitySliderRenderingContext,{baseColorFieldColor:s,dimensions:{slider:{height:i,width:e},thumb:{radius:a}}}=this,o=a-i/2;t.clearRect(0,0,e,i+2*this.getSliderCapSpacing());const n=t.createLinearGradient(0,o,e,0),l=s.rgb().alpha(0),r=s.rgb().alpha(.5),h=s.rgb().alpha(1);n.addColorStop(0,l.string()),n.addColorStop(.5,r.string()),n.addColorStop(1,h.string()),this.drawSliderPath(t,i,e,0,o);const c=t.createPattern(this.getCheckeredBackgroundPattern(),"repeat");t.fillStyle=c,t.fill(),t.fillStyle=n,t.fill(),t.strokeStyle="rgba(0,0,0,0.3)",t.lineWidth=1,t.stroke(),this.drawActiveOpacitySliderColor()}drawSliderPath(t,s,i,e,a){const o=s/2+1;t.beginPath(),t.moveTo(e+o,a),t.lineTo(e+i-o,a),t.quadraticCurveTo(e+i,a,e+i,a+o),t.lineTo(e+i,a+s-o),t.quadraticCurveTo(e+i,a+s,e+i-o,a+s),t.lineTo(e+o,a+s),t.quadraticCurveTo(e,a+s,e,a+s-o),t.lineTo(e,a+o),t.quadraticCurveTo(e,a,e+o,a),t.closePath()}getCheckeredBackgroundPattern(){if(this.checkerPattern)return this.checkerPattern;const t=document.createElement("canvas");t.width=10,t.height=10;const s=t.getContext("2d");return s.fillStyle="#ccc",s.fillRect(0,0,10,10),s.fillStyle="#fff",s.fillRect(0,0,5,5),s.fillRect(5,5,5,5),this.checkerPattern=t,t}drawActiveOpacitySliderColor(){const{color:t}=this;if(!t)return;const s=t,{dimensions:{slider:{width:i},thumb:{radius:e}}}=this,a=x(s.alpha())/(h.max/i),o=e,n=this.getSliderBoundX(a,i,e);requestAnimationFrame((()=>{this.opacityScopeLeft=n})),this.drawThumb(this.opacitySliderRenderingContext,e,n,o,s)}getSliderBoundX(t,s,i){const e=U(t,s,i);return 0===e?t:-1===e?K(t,0,s,i,2*i):K(t,0,s,s-2*i,s-i)}updateColorFromChannels(t){this.internalColorSet(a(t,this.channelMode))}updateChannelsFromColor(t){this.channels=t?this.toChannels(t):[null,null,null,null]}toChannels(t){const{channelMode:s}=this,i=t[s]().array().map(((t,s)=>3===s?t:Math.floor(t)));return 3===i.length&&i.push(1),i}getAdjustedScopePosition(t,s){return[t-d/2,s-d/2]}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return e(this)}static get watchers(){return{alphaChannel:["handleAlphaChannelChange","handleFormatOrAlphaChannelChange"],color:["handleColorChange"],format:["handleFormatOrAlphaChannelChange"],scale:["handleScaleChange"],messageOverrides:["onMessagesChange"],value:["handleValueChange"],effectiveLocale:["effectiveLocaleChange"]}}};q.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-block;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){--calcite-color-picker-spacing:8px}:host([scale=s]) .container{inline-size:160px}:host([scale=s]) .saved-colors{gap:0.25rem;grid-template-columns:repeat(auto-fill, 20px)}:host([scale=m]){--calcite-color-picker-spacing:12px}:host([scale=m]) .container{inline-size:272px}:host([scale=l]){--calcite-color-picker-spacing:16px;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) .container{inline-size:464px}:host([scale=l]) .section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}:host([scale=l]) .saved-colors{grid-template-columns:repeat(auto-fill, 32px)}:host([scale=l]) .control-section{flex-wrap:nowrap;align-items:baseline;flex-wrap:wrap}:host([scale=l]) .color-hex-options{display:flex;flex-shrink:1;flex-direction:column;justify-content:space-around}:host([scale=l]) .color-mode-container{flex-shrink:3}.container{background-color:var(--calcite-ui-foreground-1);display:inline-block;border:1px solid var(--calcite-ui-border-1)}.control-and-scope{position:relative;display:flex;cursor:pointer;touch-action:none}.scope{pointer-events:none;position:absolute;z-index:var(--calcite-app-z-index);block-size:1px;inline-size:1px;border-radius:9999px;background-color:transparent;font-size:var(--calcite-font-size--1);outline-color:transparent}.scope: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:11px}.hex-and-channels-group{inline-size:100%}.hex-and-channels-group,.control-section{display:flex;flex-direction:row;flex-wrap:wrap}.section{padding-block:0 var(--calcite-color-picker-spacing);padding-inline:var(--calcite-color-picker-spacing)}.section:first-of-type{padding-block-start:var(--calcite-color-picker-spacing)}.sliders{display:flex;flex-direction:column;justify-content:space-between;margin-inline-start:var(--calcite-color-picker-spacing)}.preview-and-sliders{display:flex;align-items:center;padding:var(--calcite-color-picker-spacing)}.color-hex-options,.section--split{flex-grow:1}.header{display:flex;align-items:center;justify-content:space-between;color:var(--calcite-ui-text-1)}.color-mode-container{padding-block-start:var(--calcite-color-picker-spacing)}.channels{display:flex;row-gap:0.125rem}.channel[data-channel-index="3"]{inline-size:159px}:host([scale=s]) .channels{flex-wrap:wrap}:host([scale=s]) .channel{flex-basis:30%;flex-grow:1}:host([scale=s]) .channel[data-channel-index="3"]{inline-size:unset;margin-inline-start:unset}:host([scale=l]) .channel[data-channel-index="3"]{inline-size:131px}.saved-colors{display:grid;gap:0.5rem;padding-block-start:var(--calcite-color-picker-spacing);grid-template-columns:repeat(auto-fill, 24px)}.saved-colors-buttons{display:flex}.saved-color{outline-offset:0;outline-color:transparent;cursor:pointer}.saved-color:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.saved-color:hover{transition:outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;outline:2px solid var(--calcite-ui-border-2);outline-offset:2px}:host([hidden]){display:none}[hidden]{display:none}';export{q as calcite_color_picker}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var o={name:"it-ch",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),ordinal:function(e){return e},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"}};e.locale(o,null,!0);export default o;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as e}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";function r(e){return e>1&&e<5&&1!=~~(e/10)}function t(e,t,m,o){var s=e+" ";switch(m){case"s":return t||o?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":o?"minútu":"minútou";case"mm":return t||o?s+(r(e)?"minúty":"minút"):s+"minútami";case"h":return t?"hodina":o?"hodinu":"hodinou";case"hh":return t||o?s+(r(e)?"hodiny":"hodín"):s+"hodinami";case"d":return t||o?"deň":"dňom";case"dd":return t||o?s+(r(e)?"dni":"dní"):s+"dňami";case"M":return t||o?"mesiac":"mesiacom";case"MM":return t||o?s+(r(e)?"mesiace":"mesiacov"):s+"mesiacmi";case"y":return t||o?"rok":"rokom";case"yy":return t||o?s+(r(e)?"roky":"rokov"):s+"rokmi"}}var m={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(m,null,!0);export default m;
|
@@ -3,9 +3,9 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as s,h as i,H as e,g as h}from"./p-91c78d98.js";import{g as a,c as n,e as r,f as o,s as c}from"./p-
|
6
|
+
import{r as t,c as s,h as i,H as e,g as h}from"./p-91c78d98.js";import{g as a,c as n,e as r,f as o,s as c}from"./p-024c2016.js";import{c as d,s as l,a as v}from"./p-3a668467.js";import{c as D,d as u,n as p,b as m}from"./p-bf9d3381.js";import{c as g,d as f,s as y,u as w}from"./p-29120ecd.js";import{g as A,a as C}from"./p-5f929b73.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-34fb2a6e.js";import"./p-efc041d0.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.
|
10
|
+
* v1.9.0
|
11
11
|
*/const b={dateStyle:"full"},k=class{constructor(i){t(this,i),this.calciteDatePickerChange=s(this,"calciteDatePickerChange",6),this.calciteDatePickerRangeChange=s(this,"calciteDatePickerRangeChange",6),this.keyDownHandler=t=>{"Escape"===t.key&&this.resetActiveDates()},this.monthHeaderSelectChange=t=>{const s=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=s:this.activeStartDate=s,this.mostRecentRangeValue=s):this.activeDate=s},this.monthActiveDateChange=t=>{const s=new Date(t.detail);this.range?("end"===this.activeRange?this.activeEndDate=s:this.activeStartDate=s,this.mostRecentRangeValue=s):this.activeDate=s},this.monthHoverChange=t=>{if(!this.range)return void(this.hoverRange=void 0);const{valueAsDate:s}=this,i=Array.isArray(s)&&s[0],e=Array.isArray(s)&&s[1],h=new Date(t.detail);if(this.hoverRange={focused:this.activeRange||"start",start:i,end:e},this.proximitySelectionDisabled)e?this.hoverRange=void 0:h<i?this.hoverRange={focused:"start",start:h,end:i}:(this.hoverRange.end=h,this.hoverRange.focused="end");else if(e){const t=a(h,i),s=a(h,e);s>0?(this.hoverRange.end=h,this.hoverRange.focused="end"):t<0||t>s?(this.hoverRange.start=h,this.hoverRange.focused="start"):(this.hoverRange.end=h,this.hoverRange.focused="end")}else i&&(h<i?this.hoverRange={focused:"start",start:h,end:i}:(this.hoverRange.end=h,this.hoverRange.focused="end"));t.stopPropagation()},this.monthMouseOutChange=()=>{this.hoverRange&&(this.hoverRange=void 0)},this.resetActiveDates=()=>{const{valueAsDate:t}=this;!Array.isArray(t)&&t&&t!==this.activeDate&&(this.activeDate=new Date(t)),Array.isArray(t)&&(t[0]&&t[0]!==this.activeStartDate&&(this.activeStartDate=new Date(t[0])),t[1]&&t[1]!==this.activeEndDate&&(this.activeEndDate=new Date(t[1])))},this.monthDateChange=t=>{const s=new Date(t.detail),i=n(s);if(!this.range&&i===n(this.valueAsDate))return;if(!this.range)return this.value=i||"",this.valueAsDate=s||null,this.activeDate=s||null,void this.calciteDatePickerChange.emit();const e=this.getStartDate(),h=this.getEndDate();if(!e||!h&&s<e)e&&this.setEndDate(new Date(e)),"end"==this.activeRange?this.setEndDate(s):this.setStartDate(s);else if(h)if(this.proximitySelectionDisabled)this.setStartDate(s);else if(this.activeRange)"end"==this.activeRange?this.setEndDate(s):this.setStartDate(s);else{const t=a(s,e),i=a(s,h);0===i||t<0?this.setStartDate(s):0===t||i<0?this.setEndDate(s):t<i?this.setStartDate(s):this.setEndDate(s)}else this.setEndDate(s);this.calciteDatePickerChange.emit()},this.activeDate=void 0,this.activeRange=void 0,this.value=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.numberingSystem=void 0,this.scale="m",this.range=!1,this.proximitySelectionDisabled=!1,this.messageOverrides=void 0,this.messages=void 0,this.activeEndDate=void 0,this.activeStartDate=void 0,this.dateTimeFormat=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.endAsDate=void 0,this.hoverRange=void 0,this.localeData=void 0,this.mostRecentRangeValue=void 0,this.startAsDate=void 0}activeDateWatcher(t){"end"===this.activeRange&&(this.activeEndDate=t)}valueAsDateWatcher(t){if(this.range&&Array.isArray(t)){const{activeStartDate:s,activeEndDate:i}=this,e=t[0],h=t[1];this.activeStartDate=s!==e&&e,this.activeEndDate=i!==h&&h}else t&&t!==this.activeDate&&(this.activeDate=t)}onMinChanged(t){t&&(this.minAsDate=r(t))}onMaxChanged(t){t&&(this.maxAsDate=r(t))}onMessagesChange(){}async setFocus(){await d(this),this.el.focus()}async reset(){this.resetActiveDates(),this.mostRecentRangeValue=void 0}connectedCallback(){D(this),g(this),Array.isArray(this.value)?this.valueAsDate=A(this.value):this.value&&(this.valueAsDate=r(this.value)),this.min&&(this.minAsDate=r(this.min)),this.max&&(this.maxAsDate=r(this.max))}disconnectedCallback(){u(this),f(this)}async componentWillLoad(){l(this),await this.loadLocaleData(),this.onMinChanged(this.min),this.onMaxChanged(this.max),await y(this)}componentDidLoad(){v(this)}render(){var t;const s=o(this.range&&Array.isArray(this.valueAsDate)?this.valueAsDate[0]:this.valueAsDate,this.minAsDate,this.maxAsDate);let h=this.getActiveDate(s,this.minAsDate,this.maxAsDate);const a=this.range&&Array.isArray(this.valueAsDate)?o(this.valueAsDate[1],this.minAsDate,this.maxAsDate):null,n=this.getActiveEndDate(a,this.minAsDate,this.maxAsDate);return"end"!==this.activeRange&&("end"!==(null===(t=this.hoverRange)||void 0===t?void 0:t.focused)||this.proximitySelectionDisabled&&!a)||!n||(h=n),this.range&&this.mostRecentRangeValue&&(h=this.mostRecentRangeValue),i(e,{onBlur:this.resetActiveDates,onKeyDown:this.keyDownHandler},this.renderCalendar(h,this.range&&this.activeRange&&"start"===this.activeRange&&a||this.maxAsDate,this.range&&this.activeRange?"start"===this.activeRange?this.minAsDate:s||this.minAsDate:this.minAsDate,s,a))}effectiveLocaleChange(){w(this,this.effectiveLocale)}valueHandler(t){Array.isArray(t)?this.valueAsDate=A(t):t&&(this.valueAsDate=r(t))}async loadLocaleData(){p.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await C(this.effectiveLocale),this.dateTimeFormat=m(this.effectiveLocale,b)}renderCalendar(t,s,e,h,a){return this.localeData&&[i("calcite-date-picker-month-header",{activeDate:t,headingLevel:this.headingLevel||2,localeData:this.localeData,max:s,messages:this.messages,min:e,onCalciteInternalDatePickerSelect:this.monthHeaderSelectChange,scale:this.scale,selectedDate:"end"===this.activeRange?a:h||new Date}),i("calcite-date-picker-month",{activeDate:t,dateTimeFormat:this.dateTimeFormat,endDate:this.range?a:void 0,hoverRange:this.hoverRange,localeData:this.localeData,max:s,min:e,onCalciteInternalDatePickerActiveDateChange:this.monthActiveDateChange,onCalciteInternalDatePickerHover:this.monthHoverChange,onCalciteInternalDatePickerMouseOut:this.monthMouseOutChange,onCalciteInternalDatePickerSelect:this.monthDateChange,scale:this.scale,selectedDate:"end"===this.activeRange?a:h,startDate:this.range?h:void 0})]}getEndDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0}setEndDate(t){const s=this.getStartDate(),i=t?c(t):t;this.value=[n(s),n(t)],this.valueAsDate=[s,t],this.mostRecentRangeValue=i,this.calciteDatePickerRangeChange.emit(),this.activeEndDate=t||null}getStartDate(){return Array.isArray(this.valueAsDate)&&this.valueAsDate[0]}setStartDate(t){const s=this.getEndDate();this.value=[n(t),n(s)],this.valueAsDate=[t,s],this.mostRecentRangeValue=t,this.calciteDatePickerRangeChange.emit(),this.activeStartDate=t||null}getActiveDate(t,s,i){return o(this.activeDate,s,i)||t||o(new Date,s,i)}getActiveEndDate(t,s,i){return o(this.activeEndDate,s,i)||t||o(new Date,s,i)}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return h(this)}static get watchers(){return{activeDate:["activeDateWatcher"],valueAsDate:["valueAsDateWatcher"],min:["onMinChanged"],max:["onMaxChanged"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange","loadLocaleData"],value:["valueHandler"]}}};k.style=":host{position:relative;display:inline-block;inline-size:100%;overflow:visible;border-radius:0px;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-1);background-color:var(--calcite-ui-foreground-1);vertical-align:top}:host([scale=s]){max-inline-size:216px}:host([scale=m]){max-inline-size:286px}:host([scale=l]){max-inline-size:398px}:host([hidden]){display:none}[hidden]{display:none}";export{k as calcite_date_picker}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as _}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var p={name:"zh-hk",months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),ordinal:function(_,p){return"W"===p?_+"週":_+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"一分鐘",mm:"%d 分鐘",h:"一小時",hh:"%d 小時",d:"一天",dd:"%d 天",M:"一個月",MM:"%d 個月",y:"一年",yy:"%d 年"}};_.locale(p,null,!0);export default p;
|
@@ -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{f as t}from"./p-91c78d98.js";import{c as o}from"./p-
|
6
|
+
import{f as t}from"./p-91c78d98.js";import{c as o}from"./p-efc041d0.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.
|
10
|
+
* v1.9.0
|
11
11
|
*/const c=new Set;let n;const s={childList:!0};function f(t){n||(n=o("mutation",r)),n.observe(t.el,s)}function i(t){c.delete(t.el),r(n.takeRecords()),n.disconnect();for(const[t]of c.entries())n.observe(t,s)}function r(o){o.forEach((({target:o})=>{t(o)}))}export{f as c,i as d}
|
@@ -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{r as e,c as t,h as s,H as i,g as o}from"./p-91c78d98.js";import{a}from"./p-4b9ba22d.js";import{c as l,u as c,d as n}from"./p-2ee3afea.js";import{s as r,a as d,c as h}from"./p-3a668467.js";import{c as p,d as b}from"./p-bf9d3381.js";import{c as m,s as f,d as u,u as g}from"./p-29120ecd.js";import{S as v}from"./p-024ff2f9.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-efc041d0.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 w=class{constructor(s){e(this,s),this.calciteFlowItemBack=t(this,"calciteFlowItemBack",7),this.calciteFlowItemScroll=t(this,"calciteFlowItemScroll",6),this.calciteFlowItemClose=t(this,"calciteFlowItemClose",6),this.calciteFlowItemToggle=t(this,"calciteFlowItemToggle",6),this.handlePanelScroll=e=>{e.stopPropagation(),this.calciteFlowItemScroll.emit()},this.handlePanelClose=e=>{e.stopPropagation(),this.calciteFlowItemClose.emit()},this.handlePanelToggle=e=>{e.stopPropagation(),this.calciteFlowItemToggle.emit()},this.backButtonClick=()=>{this.calciteFlowItemBack.emit()},this.setBackRef=e=>{this.backButtonEl=e},this.setContainerRef=e=>{this.containerEl=e},this.closable=!1,this.closed=!1,this.collapsed=!1,this.collapseDirection="down",this.collapsible=!1,this.beforeBack=void 0,this.description=void 0,this.disabled=!1,this.heading=void 0,this.headingLevel=void 0,this.loading=!1,this.menuOpen=!1,this.messageOverrides=void 0,this.messages=void 0,this.showBackButton=!1,this.defaultMessages=void 0,this.effectiveLocale=""}onMessagesChange(){}connectedCallback(){l(this),p(this),m(this)}async componentWillLoad(){await f(this),r(this)}componentDidRender(){c(this)}disconnectedCallback(){n(this),b(this),u(this)}componentDidLoad(){d(this)}effectiveLocaleChange(){g(this,this.effectiveLocale)}async setFocus(){await h(this);const{backButtonEl:e,containerEl:t}=this;return e?e.setFocus():t?t.setFocus():void 0}async scrollContentTo(e){var t;await(null===(t=this.containerEl)||void 0===t?void 0:t.scrollContentTo(e))}renderBackButton(){const{el:e}=this,t="rtl"===a(e),{showBackButton:i,backButtonClick:o,messages:l}=this,c=l.back;return i?s("calcite-action",{"aria-label":c,class:"back-button",icon:t?"chevron-right":"chevron-left",key:"flow-back-button",onClick:o,scale:"s",slot:"header-actions-start",text:c,title:c,ref:this.setBackRef}):null}render(){const{collapsed:e,collapseDirection:t,collapsible:o,closable:a,closed:l,description:c,disabled:n,heading:r,headingLevel:d,loading:h,menuOpen:p,messages:b}=this;return s(i,null,s("calcite-panel",{closable:a,closed:l,collapseDirection:t,collapsed:e,collapsible:o,description:c,disabled:n,heading:r,headingLevel:d,loading:h,menuOpen:p,messageOverrides:b,onCalcitePanelClose:this.handlePanelClose,onCalcitePanelScroll:this.handlePanelScroll,onCalcitePanelToggle:this.handlePanelToggle,ref:this.setContainerRef},this.renderBackButton(),s("slot",{name:"action-bar",slot:v.actionBar}),s("slot",{name:"header-actions-start",slot:v.headerActionsStart}),s("slot",{name:"header-actions-end",slot:v.headerActionsEnd}),s("slot",{name:"header-content",slot:v.headerContent}),s("slot",{name:"header-menu-actions",slot:v.headerMenuActions}),s("slot",{name:"fab",slot:v.fab}),s("slot",{name:"footer-actions",slot:v.footerActions}),s("slot",{name:"footer",slot:v.footer}),s("slot",null)))}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};w.style=":host{box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([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:flex;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.back-button{border-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);border-inline-end-width:1px}calcite-panel{--calcite-panel-footer-padding:var(--calcite-flow-item-footer-padding);--calcite-panel-header-border-block-end:var(--calcite-flow-item-header-border-block-end)}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_flow_item}
|
@@ -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 i,c as t,h as c,H as e,g as o}from"./p-91c78d98.js";import{c as n,d as a}from"./p-
|
6
|
+
import{r as i,c as t,h as c,H as e,g as o}from"./p-91c78d98.js";import{c as n,d as a}from"./p-73c50d50.js";import{g as r,a as s,t as l,c as d}from"./p-4b9ba22d.js";import{C as h}from"./p-3760847f.js";import"./p-efc041d0.js";import"./p-361b44ed.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.
|
10
|
+
* v1.9.0
|
11
11
|
*/const p="actions-start",m="actions-end",v="section",u="section-toggle",g=class{constructor(c){i(this,c),this.calciteInternalAccordionItemSelect=t(this,"calciteInternalAccordionItemSelect",6),this.calciteInternalAccordionItemClose=t(this,"calciteInternalAccordionItemClose",6),this.itemHeaderClickHandler=()=>this.emitRequestedItem(),this.expanded=!1,this.heading=void 0,this.description=void 0,this.iconStart=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconPosition=void 0,this.iconType=void 0,this.accordionParent=void 0,this.scale=void 0}connectedCallback(){n(this)}disconnectedCallback(){a(this)}renderActionsStart(){const{el:i}=this;return r(i,p)?c("div",{class:"actions-start"},c("slot",{name:p})):null}renderActionsEnd(){const{el:i}=this;return r(i,m)?c("div",{class:"actions-end"},c("slot",{name:m})):null}render(){const{iconFlipRtl:i}=this,t=s(this.el),o=this.iconStart?c("calcite-icon",{class:"icon--start",flipRtl:"both"===i||"start"===i,icon:this.iconStart,key:"icon-start",scale:"l"===this.scale?"m":"s"}):null,n=this.iconEnd?c("calcite-icon",{class:"icon--end",flipRtl:"both"===i||"end"===i,icon:this.iconEnd,key:"icon-end",scale:"l"===this.scale?"m":"s"}):null,{description:a}=this;return c(e,null,c("div",{class:{[`icon-position--${this.iconPosition}`]:!0,[`icon-type--${this.iconType}`]:!0}},c("div",{class:{header:!0,[h.rtl]:"rtl"===t}},this.renderActionsStart(),c("div",{"aria-controls":v,"aria-expanded":l(this.expanded),class:"header-content",id:u,onClick:this.itemHeaderClickHandler,role:"button",tabindex:"0"},c("div",{class:"header-container"},o,c("div",{class:"header-text"},c("span",{class:"heading"},this.heading),a?c("span",{class:"description"},a):null),n),c("calcite-icon",{class:"expand-icon",icon:"chevron"===this.iconType?"chevronDown":"caret"===this.iconType?"caretDown":this.expanded?"minus":"plus",scale:"l"===this.scale?"m":"s"})),this.renderActionsEnd()),c("section",{"aria-labelledby":u,class:"content",id:v},c("slot",null))))}keyDownHandler(i){if(i.target===this.el)switch(i.key){case" ":case"Enter":this.emitRequestedItem(),i.preventDefault()}}updateActiveItemOnChange(i){const[t]=i.composedPath(),c=d(this.el,"calcite-accordion");t===c&&(this.determineActiveItem(c.selectionMode,i.detail.requestedAccordionItem),i.stopPropagation())}accordionItemSyncHandler(i){const[t]=i.composedPath(),c=this.el;if(c.parentElement===t)return;const e=d(c,"calcite-accordion");t===e&&(c.iconPosition=e.iconPosition,c.iconType=e.iconType,c.scale=e.scale,i.stopPropagation())}determineActiveItem(i,t){switch(i){case"multiple":this.el===t&&(this.expanded=!this.expanded);break;case"single":this.expanded=this.el===t&&!this.expanded;break;case"single-persist":this.expanded=this.el===t}}emitRequestedItem(){this.calciteInternalAccordionItemSelect.emit({requestedAccordionItem:this.el})}get el(){return o(this)}};g.style=".icon-position--end,.icon-position--start{--calcite-accordion-item-icon-rotation:calc(90deg * -1);--calcite-accordion-item-active-icon-rotation:0deg;--calcite-accordion-item-icon-rotation-rtl:90deg;--calcite-accordion-item-active-icon-rotation-rtl:0deg}.icon-position--start{--calcite-accordion-item-flex-direction:row-reverse;--calcite-accordion-item-icon-spacing-start:0;--calcite-accordion-item-icon-spacing-end:var(--calcite-accordion-icon-margin)}.icon-position--end{--calcite-accordion-item-flex-direction:row;--calcite-accordion-item-icon-spacing-start:var(--calcite-accordion-icon-margin);--calcite-accordion-item-icon-spacing-end:0}.icon-position--end:not(.icon-type--plus-minus){--calcite-accordion-item-icon-rotation:0deg;--calcite-accordion-item-active-icon-rotation:180deg;--calcite-accordion-item-icon-rotation-rtl:0deg;--calcite-accordion-item-active-icon-rotation-rtl:calc(180deg * -1)}:host{position:relative;display:flex;flex-direction:column;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;background-color:var(--calcite-accordion-item-background, var(--calcite-ui-foreground-1))}:host .header-content{outline-color:transparent}:host(:focus) .header-content{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 )}:host([expanded]){color:var(--calcite-ui-text-1)}:host([expanded]) .content{display:block;color:var(--calcite-ui-text-1)}:host([expanded]) .header{border-block-end-color:transparent}:host .header{display:flex;align-items:stretch}:host .icon{position:relative;margin:0px;display:inline-flex;color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-accordion-item-icon-spacing-start);margin-inline-start:var(--calcite-accordion-item-icon-spacing-end)}.icon--start{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin)}.icon--end{display:flex;align-items:center;margin-inline-end:var(--calcite-accordion-icon-margin);margin-inline-start:var(--calcite-accordion-icon-margin)}.header-container{inline-size:100%}.content{padding:var(--calcite-accordion-item-padding)}:host .content,:host .header{border-block-end:1px solid var(--calcite-accordion-item-border, var(--calcite-ui-border-2))}:host .header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}:host .content{display:none;padding-block-start:0px;color:var(--calcite-ui-text-3);text-align:initial}:host .expand-icon{color:var(--calcite-ui-text-3);margin-inline-start:var(--calcite-accordion-item-icon-spacing-start);margin-inline-end:var(--calcite-accordion-item-icon-spacing-end);transform:rotate(var(--calcite-accordion-item-icon-rotation))}.calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-icon-rotation-rtl))}:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1);transform:rotate(var(--calcite-accordion-item-active-icon-rotation))}:host([expanded]) .calcite--rtl .expand-icon{transform:rotate(var(--calcite-accordion-item-active-icon-rotation-rtl))}:host .header-text{margin-block:0px;flex-grow:1;flex-direction:column;padding-block:0px;text-align:initial;margin-inline-end:auto}:host .heading,:host .description{display:flex;inline-size:100%}:host .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .description{margin-block-start:0.25rem;color:var(--calcite-ui-text-3)}:host(:focus) .heading,:host(:hover) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:hover) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:hover) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:hover) .description{color:var(--calcite-ui-text-2)}:host(:focus) .heading,:host(:active) .heading,:host([expanded]) .heading{color:var(--calcite-ui-text-1)}:host(:focus) .icon,:host(:active) .icon,:host([expanded]) .icon{color:var(--calcite-ui-text-1)}:host(:focus) .expand-icon,:host(:active) .expand-icon,:host([expanded]) .expand-icon{color:var(--calcite-ui-text-1)}:host(:focus) .description,:host(:active) .description,:host([expanded]) .description{color:var(--calcite-ui-text-2)}.header-content{flex-grow:1;cursor:pointer;padding:var(--calcite-accordion-item-padding);flex-direction:var(--calcite-accordion-item-flex-direction)}.actions-start,.actions-end{display:flex;align-items:center}@media (forced-colors: active){:host([expanded]) .header{border-block-end:none}:host([expanded]) .heading{font-weight:bolder}:host(:hover) .heading,:host(:focus) .heading{text-decoration:underline}}:host([hidden]){display:none}[hidden]{display:none}";export{g as calcite_accordion_item}
|
@@ -3,9 +3,9 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{h as t,r as i,c as s,H as e,g as a}from"./p-91c78d98.js";import{c as n,d as o,H as r}from"./p-
|
6
|
+
import{h as t,r as i,c as s,H as e,g as a}from"./p-91c78d98.js";import{c as n,d as o,H as r}from"./p-3db650c2.js";import{g as h}from"./p-361b44ed.js";import{c as l,d as c,u as d}from"./p-2ee3afea.js";import{c as p,d as u}from"./p-f52ee45d.js";import{s as m,a as f,c as v}from"./p-3a668467.js";import{c as g,d as b}from"./p-bf9d3381.js";import{u as y,c as w,s as k,d as x}from"./p-29120ecd.js";import{f as j}from"./p-4b9ba22d.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-efc041d0.js";import"./p-3760847f.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 z=({full:i,scale:s,partial:e})=>t("calcite-icon",{class:e?void 0:"icon",icon:i?"star-f":"star",scale:s}),C=class{constructor(t){i(this,t),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleLabelKeyDown=t=>{const i=this.getValueFromLabelEvent(t),s=t.key,e=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(e))switch(s){case"Enter":case" ":this.value=this.required||this.value!==i?i:0;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(i),this.updateFocus(),t.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(i),this.updateFocus(),t.preventDefault();break;case"Tab":this.hoverValue=null}else(!this.required&&e>=0&&e<=this.max||this.required&&e>0&&e<=this.max)&&(this.value=e),this.updateFocus()},this.handleInputChange=t=>{if(!0===this.isKeyboardInteraction){const i=Number(t.target.value);this.hoverValue=i,this.value=i}},this.handleLabelPointerOver=t=>{this.hoverValue=this.getValueFromLabelEvent(t)},this.handleLabelPointerDown=t=>{const i=t.currentTarget,s=this.getValueFromLabelEvent(t);this.hoverValue=s,this.emit=!0,this.value=this.required||this.value!==s?s:0,i.focus()},this.handleLabelClick=t=>{t.preventDefault()},this.handleLabelFocus=t=>{const i=this.getValueFromLabelEvent(t);this.hoverValue=i},this.setLabelEl=t=>{this.labelElements.push(t)},this.emit=!1,this.guid=`calcite-ratings-${h()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0}onMessagesChange(){}handleValueUpdate(t){this.hoverValue=t,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){y(this,this.effectiveLocale)}connectedCallback(){l(this),g(this),w(this),p(this),n(this)}async componentWillLoad(){await k(this),m(this)}componentWillRender(){this.starsMap=Array.from({length:this.max},((t,i)=>{const s=i+1,e=this.average&&this.average+1-s,a=s<=this.hoverValue;return{average:!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,fraction:e,hovered:a,id:`${this.guid}-${s}`,partial:!this.hoverValue&&!this.value&&!a&&e>0&&e<1,selected:this.value>=s,value:s,tabIndex:this.getTabIndex(s)}}))}componentDidLoad(){
|
10
|
+
* v1.9.0
|
11
|
+
*/const z=({full:i,scale:s,partial:e})=>t("calcite-icon",{class:e?void 0:"icon",icon:i?"star-f":"star",scale:s}),C=class{constructor(t){i(this,t),this.calciteRatingChange=s(this,"calciteRatingChange",6),this.handleRatingPointerOver=()=>{this.isKeyboardInteraction=!1},this.handleRatingPointerOut=()=>{this.isKeyboardInteraction=!0,this.hoverValue=null},this.handleHostKeyDown=()=>{this.isKeyboardInteraction=!0},this.handleLabelKeyDown=t=>{const i=this.getValueFromLabelEvent(t),s=t.key,e=" "==s?void 0:Number(s);if(this.emit=!0,isNaN(e))switch(s){case"Enter":case" ":this.value=this.required||this.value!==i?i:0;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(i),this.updateFocus(),t.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(i),this.updateFocus(),t.preventDefault();break;case"Tab":this.hoverValue=null}else(!this.required&&e>=0&&e<=this.max||this.required&&e>0&&e<=this.max)&&(this.value=e),this.updateFocus()},this.handleInputChange=t=>{if(!0===this.isKeyboardInteraction){const i=Number(t.target.value);this.hoverValue=i,this.value=i}},this.handleLabelPointerOver=t=>{this.hoverValue=this.getValueFromLabelEvent(t)},this.handleLabelPointerDown=t=>{const i=t.currentTarget,s=this.getValueFromLabelEvent(t);this.hoverValue=s,this.emit=!0,this.value=this.required||this.value!==s?s:0,i.focus()},this.handleLabelClick=t=>{t.preventDefault()},this.handleLabelFocus=t=>{const i=this.getValueFromLabelEvent(t);this.hoverValue=i},this.setLabelEl=t=>{this.labelElements.push(t)},this.emit=!1,this.guid=`calcite-ratings-${h()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this.average=void 0,this.count=void 0,this.disabled=!1,this.form=void 0,this.messages=void 0,this.messageOverrides=void 0,this.name=void 0,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.value=0,this.effectiveLocale="",this.defaultMessages=void 0,this.hoverValue=void 0}onMessagesChange(){}handleValueUpdate(t){this.hoverValue=t,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}effectiveLocaleChange(){y(this,this.effectiveLocale)}connectedCallback(){l(this),g(this),w(this),p(this),n(this)}async componentWillLoad(){await k(this),m(this)}componentWillRender(){this.starsMap=Array.from({length:this.max},((t,i)=>{const s=i+1,e=this.average&&this.average+1-s,a=s<=this.hoverValue;return{average:!this.hoverValue&&this.average&&!this.value&&s<=this.average,checked:s===this.value,fraction:e,hovered:a,id:`${this.guid}-${s}`,partial:!this.hoverValue&&!this.value&&!a&&e>0&&e<1,selected:this.value>=s,value:s,tabIndex:this.getTabIndex(s)}}))}componentDidLoad(){f(this)}disconnectedCallback(){c(this),b(this),x(this),u(this),o(this)}componentDidRender(){d(this)}render(){var i,s;return t(e,{onKeyDown:this.handleHostKeyDown,onPointerOut:this.handleRatingPointerOut,onPointerOver:this.handleRatingPointerOver},t("span",{class:"wrapper"},t("fieldset",{class:"fieldset",disabled:this.disabled},t("legend",{class:"visually-hidden"},this.messages.rating),this.starsMap.map((({average:i,checked:s,fraction:e,hovered:a,id:n,partial:o,selected:r,value:h,tabIndex:l})=>t("label",{class:{star:!0,selected:r,hovered:a,average:i,partial:o},"data-value":h,htmlFor:n,onClick:this.handleLabelClick,onFocus:this.handleLabelFocus,onKeyDown:this.handleLabelKeyDown,onPointerDown:this.handleLabelPointerDown,onPointerOver:this.handleLabelPointerOver,tabIndex:l,ref:this.setLabelEl},t("input",{checked:s,class:"visually-hidden",disabled:this.disabled||this.readOnly,id:n,name:this.guid,onChange:this.handleInputChange,tabIndex:-1,type:"radio",value:h}),t(z,{full:r||i,scale:this.scale}),o&&t("div",{class:"fraction",style:{width:100*e+"%"}},t(z,{full:!0,partial:!0,scale:this.scale})),t("span",{class:"visually-hidden"},this.messages.stars.replace("{num}",`${h}`))))),(this.count||this.average)&&this.showChip?t("calcite-chip",{scale:this.scale,value:null===(i=this.count)||void 0===i?void 0:i.toString()},!!this.average&&t("span",{class:"number--average"},this.average.toString()),!!this.count&&t("span",{class:"number--count"},"(",null===(s=this.count)||void 0===s?void 0:s.toString(),")")):null),t(r,{component:this})))}onLabelClick(){this.setFocus()}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(t){return this.readOnly||this.value!==t&&(this.value||1!==t)?-1:0}getValueFromLabelEvent(t){return Number(t.currentTarget.getAttribute("data-value"))}getNextRatingValue(t){return 5===t?1:t+1}getPreviousRatingValue(t){return 1===t?5:t-1}async setFocus(){await v(this),j(this.el)}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],value:["handleValueUpdate"],effectiveLocale:["effectiveLocaleChange"]}}};C.style=":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:-moz-fit-content;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){block-size:1.5rem;--calcite-rating-spacing-unit:0.25rem}:host([scale=m]){block-size:2rem;--calcite-rating-spacing-unit:0.5rem}:host([scale=l]){block-size:2.75rem;--calcite-rating-spacing-unit:0.75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing-unit)}.wrapper{display:inline-block}.star{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-ui-border-input)}.star: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 )}.average,.fraction{color:var(--calcite-ui-warning)}.hovered,.selected{color:var(--calcite-ui-brand)}.fraction{transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:bold}.number--count{color:var(--calcite-ui-text-2);font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing-unit)}.visually-hidden{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}::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}";export{C as calcite_rating}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as _}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var m={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(_){return _+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(_){return _<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};_.locale(m,null,!0);export default m;
|
@@ -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 i,c as t,h as e,g as a}from"./p-91c78d98.js";import{a as s,t as n}from"./p-
|
6
|
+
import{r as i,c as t,h as e,g as a}from"./p-91c78d98.js";import{a as s,t as n}from"./p-4b9ba22d.js";import{c,d as o}from"./p-bf9d3381.js";import{c as r}from"./p-efc041d0.js";import{u as l,c as h,s as d,d as p}from"./p-29120ecd.js";import{H as g}from"./p-bc4c41ba.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.
|
10
|
+
* v1.9.0
|
11
11
|
*/const m="chevron-left",f="chevron-right",v=class{constructor(e){i(this,e),this.calciteTipManagerClose=t(this,"calciteTipManagerClose",6),this.mutationObserver=r("mutation",(()=>this.setUpTips())),this.hideTipManager=()=>{this.closed=!0,this.calciteTipManagerClose.emit()},this.previousClicked=()=>{this.previousTip()},this.nextClicked=()=>{this.nextTip()},this.tipManagerKeyDownHandler=i=>{if(i.target===this.container)switch(i.key){case"ArrowRight":i.preventDefault(),this.nextTip();break;case"ArrowLeft":i.preventDefault(),this.previousTip();break;case"Home":i.preventDefault(),this.selectedIndex=0;break;case"End":i.preventDefault(),this.selectedIndex=this.total-1}},this.storeContainerRef=i=>{this.container=i},this.closed=!1,this.headingLevel=void 0,this.messages=void 0,this.messageOverrides=void 0,this.selectedIndex=void 0,this.tips=void 0,this.total=void 0,this.direction=void 0,this.groupTitle=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}closedChangeHandler(){this.direction=null}onMessagesChange(){}selectedChangeHandler(){this.showSelectedTip(),this.updateGroupTitle()}async effectiveLocaleChange(){await l(this,this.effectiveLocale),this.updateGroupTitle()}connectedCallback(){var i;c(this),h(this),this.setUpTips(),null===(i=this.mutationObserver)||void 0===i||i.observe(this.el,{childList:!0,subtree:!0})}async componentWillLoad(){await d(this),this.updateGroupTitle()}disconnectedCallback(){var i;null===(i=this.mutationObserver)||void 0===i||i.disconnect(),o(this),p(this)}async nextTip(){this.direction="advancing",this.selectedIndex=(this.selectedIndex+1+this.total)%this.total}async previousTip(){this.direction="retreating",this.selectedIndex=(this.selectedIndex-1+this.total)%this.total}setUpTips(){const i=Array.from(this.el.querySelectorAll("calcite-tip"));if(this.total=i.length,0===this.total)return;const t=this.el.querySelector("calcite-tip[selected]");this.tips=i,this.selectedIndex=t?i.indexOf(t):0,i.forEach((i=>{i.closeDisabled=!0})),this.showSelectedTip()}showSelectedTip(){this.tips.forEach(((i,t)=>{const e=this.selectedIndex===t;i.selected=e,i.hidden=!e}))}updateGroupTitle(){var i;if(this.tips){const t=this.tips[this.selectedIndex].closest("calcite-tip-group");this.groupTitle=(null==t?void 0:t.groupTitle)||(null===(i=this.messages)||void 0===i?void 0:i.defaultGroupTitle)}}renderPagination(){const i=s(this.el),{selectedIndex:t,tips:a,total:n,messages:c}=this,o=c.next,r=c.defaultPaginationLabel;return a.length>1?e("footer",{class:"pagination"},e("calcite-action",{class:"page-previous",icon:"ltr"===i?m:f,onClick:this.previousClicked,scale:"m",text:c.previous}),e("span",{class:"page-position"},`${r} ${t+1}/${n}`),e("calcite-action",{class:"page-next",icon:"ltr"===i?f:m,onClick:this.nextClicked,scale:"m",text:o})):null}render(){const{closed:i,direction:t,headingLevel:a,groupTitle:s,selectedIndex:c,messages:o,total:r}=this,l=o.close;return 0===r?null:e("section",{"aria-hidden":n(i),class:"container",hidden:i,onKeyDown:this.tipManagerKeyDownHandler,tabIndex:0,ref:this.storeContainerRef},e("header",{class:"header"},e(g,{class:"heading",level:a},s),e("calcite-action",{class:"close",onClick:this.hideTipManager,scale:"m",text:l},e("calcite-icon",{icon:"x",scale:"m"}))),e("div",{class:{"tip-container":!0,"tip-container--advancing":!i&&"advancing"===t,"tip-container--retreating":!i&&"retreating"===t},key:c,tabIndex:0},e("slot",null)),this.renderPagination())}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{closed:["closedChangeHandler"],messageOverrides:["onMessagesChange"],selectedIndex:["selectedChangeHandler"],effectiveLocale:["effectiveLocaleChange"]}}};v.style=":host{box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-2);--calcite-tip-manager-height:19vh}:host *{box-sizing:border-box}:host([closed]){display:none}.header{margin:0px;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:0.5rem}.header{border-width:0px;border-block-end-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;padding-inline-end:0px;padding-inline-start:1rem}.header .heading{padding:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.container{position:relative;overflow:hidden;outline-color:transparent;min-block-size:150px}.container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-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 )}.tip-container{margin-block-start:1px;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:1rem;outline-color:transparent;animation-name:none;animation-duration:var(--calcite-animation-timing);block-size:var(--calcite-tip-manager-height)}.tip-container:focus{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-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 )}::slotted(calcite-tip){margin:0px;border-style:none;max-inline-size:var(--calcite-tip-max-width)}.tip-container--advancing{animation-name:tip-advance}.tip-container--retreating{animation-name:tip-retreat}.pagination{display:flex;align-items:center;justify-content:center;padding-inline:0px;padding-block:0.75rem 0.5rem}.page-position{margin-block:0px;margin-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}@keyframes tip-advance{0%{opacity:0;transform:translate3d(50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}@keyframes tip-retreat{0%{opacity:0;transform:translate3d(-50px, 0, 0) scale(0.99)}100%{opacity:1;transform:translate3d(0, 0, 0) scale(1)}}:host([hidden]){display:none}[hidden]{display:none}";export{v as calcite_tip_manager}
|
@@ -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,h as i,g as t}from"./p-91c78d98.js";import{w as s}from"./p-
|
6
|
+
import{r as e,h as i,g as t}from"./p-91c78d98.js";import{w as s}from"./p-4b9ba22d.js";import{g as r,i as n}from"./p-dd36af4f.js";import"./p-361b44ed.js";import"./p-3760847f.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.
|
10
|
+
* v1.9.0
|
11
11
|
*/const a=class{constructor(i){e(this,i),this.scale="m",this.thumbnail=void 0,this.fullName=void 0,this.username=void 0,this.userId=void 0,this.label=void 0,this.thumbnailFailedToLoad=!1}render(){return this.determineContent()}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return i("img",{alt:this.label||"",class:"thumbnail",onError:()=>this.thumbnailFailedToLoad=!0,src:this.thumbnail});const e=this.generateInitials(),t=this.generateFillColor();return i("span",{"aria-label":this.label||this.fullName,class:"background",role:"figure",style:{backgroundColor:t}},e?i("span",{"aria-hidden":"true",class:"initials"},e):i("calcite-icon",{class:"icon",icon:"user",scale:this.scale}))}generateFillColor(){const{userId:e,username:i,fullName:t,el:a}=this,o=s(a),l=e&&`#${e.substr(e.length-6)}`,c=i||t||"",h=l&&n(l)?l:function(e){let i=0;for(let t=0;t<e.length;t++)i=e.charCodeAt(t)+((i<<5)-i);let t="#";for(let e=0;e<3;e++)t+=("00"+(i>>8*e&255).toString(16)).substr(-2);return t}(c);return(e||c)&&n(h)?`hsl(${function(e){return function(e){let{r:i,g:t,b:s}=e;i/=255,t/=255,s/=255;const r=Math.max(i,t,s),n=Math.min(i,t,s),a=r-n;if(r===n)return 0;let o=(r+n)/2;switch(r){case i:o=(t-s)/a+(t<s?6:0);break;case t:o=(s-i)/a+2;break;case s:o=(i-t)/a+4}return Math.round(60*o)}(r(e))}(h)}, 60%, ${"dark"===o?20:90}%)`:"var(--calcite-ui-foreground-2)"}generateInitials(){const{fullName:e,username:i}=this;return e?e.trim().split(" ").map((e=>e.substring(0,1))).join(""):!!i&&i.substring(0,2)}get el(){return t(this)}};a.style=":host{display:inline-block;overflow:hidden;border-radius:50%}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size--3)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size--2)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-0)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:50%}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase;color:var(--calcite-ui-text-2)}.thumbnail{block-size:100%;inline-size:100%;border-radius:50%}:host([hidden]){display:none}[hidden]{display:none}";export{a as calcite_avatar}
|
@@ -3,10 +3,10 @@
|
|
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,H as n,g as o}from"./p-91c78d98.js";import{a as l,t as a}from"./p-
|
6
|
+
import{r as e,c as t,h as i,H as n,g as o}from"./p-91c78d98.js";import{a as l,t as a}from"./p-4b9ba22d.js";import{a as s,c as r,d as c,H as h}from"./p-3db650c2.js";import{c as d,d as m,u}from"./p-2ee3afea.js";import{c as p,d as g}from"./p-f52ee45d.js";import{s as f,a as b,c as v}from"./p-3a668467.js";import{c as k}from"./p-efc041d0.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";const w=class{constructor(i){e(this,i),this.calciteSegmentedControlChange=t(this,"calciteSegmentedControlChange",6),this.handleClick=e=>{this.disabled||"calcite-segmented-control-item"===e.target.localName&&this.selectItem(e.target,!0)},this.mutationObserver=k("mutation",(()=>this.setUpItems())),this.appearance="solid",this.disabled=!1,this.form=void 0,this.required=!1,this.name=void 0,this.layout="horizontal",this.scale="m",this.value=null,this.selectedItem=void 0,this.width="auto"}handlePropsChange(){this.handleItemPropChange()}valueHandler(e){this.getItems().forEach((t=>t.checked=t.value===e))}handleSelectedItemChange(e,t){if(this.value=null==e?void 0:e.value,e===t)return;const i=this.getItems(),n=i.filter((t=>t===e)).pop();n?this.selectItem(n):i[0]&&(i[0].tabIndex=0)}componentWillLoad(){f(this),this.setUpItems()}componentDidLoad(){s(this,this.value),b(this)}connectedCallback(){var e;d(this),p(this),r(this),null===(e=this.mutationObserver)||void 0===e||e.observe(this.el,{childList:!0}),this.handleItemPropChange()}disconnectedCallback(){var e;m(this),g(this),c(this),null===(e=this.mutationObserver)||void 0===e||e.unobserve(this.el)}componentDidRender(){u(this)}render(){return i(n,{onClick:this.handleClick,role:"radiogroup"},i("slot",null),i(h,{component:this}))}handleSelected(e){e.preventDefault(),this.selectItem(e.target),e.stopPropagation()}handleKeyDown(e){const{key:t}=e,{el:i,selectedItem:n}=this;if(-1===["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "].indexOf(t))return;let o=t;"rtl"===l(i)&&("ArrowRight"===t&&(o="ArrowLeft"),"ArrowLeft"===t&&(o="ArrowRight"));const a=this.getItems();let s=-1;switch(a.forEach(((e,t)=>{e===n&&(s=t)})),o){case"ArrowLeft":case"ArrowUp":return e.preventDefault(),void this.selectItem(s<1?a[a.length-1]:a[s-1],!0);case"ArrowRight":case"ArrowDown":return e.preventDefault(),void this.selectItem(-1===s?a[1]:a[s+1]||a[0],!0);case" ":return e.preventDefault(),void this.selectItem(e.target,!0);default:return}}async setFocus(){var e;await v(this),null===(e=this.selectedItem||this.getItems()[0])||void 0===e||e.focus()}handleItemPropChange(){this.getItems().forEach((e=>{e.appearance=this.appearance,e.layout=this.layout,e.scale=this.scale}))}onLabelClick(){this.setFocus()}getItems(){return Array.from(this.el.querySelectorAll("calcite-segmented-control-item"))}selectItem(e,t=!1){if(e===this.selectedItem)return;const i=this.getItems();let n=null;i.forEach((i=>{const o=i===e;(o&&!i.checked||!o&&i.checked)&&(i.checked=o),i.tabIndex=o?0:-1,o&&(n=i,t&&this.calciteSegmentedControlChange.emit())})),this.selectedItem=n,n&&n.focus()}setUpItems(){const e=this.getItems(),t=e.filter((e=>e.checked)).pop();t?this.selectItem(t):e[0]&&(e[0].tabIndex=0)}get el(){return o(this)}static get watchers(){return{appearance:["handlePropsChange"],layout:["handlePropsChange"],scale:["handlePropsChange"],value:["valueHandler"],selectedItem:["handleSelectedItemChange"]}}};w.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:flex;background-color:var(--calcite-ui-foreground-1);inline-size:-moz-fit-content;inline-size:fit-content;outline:1px solid var(--calcite-ui-border-input);outline-offset:-1px}:host([appearance=outline]){background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([layout=vertical]){flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full]){inline-size:100%;min-inline-size:-moz-fit-content;min-inline-size:fit-content}:host([width=full]) ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical]) ::slotted(calcite-segmented-control-item){justify-content:flex-start}::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}";
|
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.
|
10
|
+
* v1.9.0
|
11
11
|
*/
|
12
12
|
const x="segmented-control-item-icon",y=class{constructor(i){e(this,i),this.calciteInternalSegmentedControlItemChange=t(this,"calciteInternalSegmentedControlItemChange",6),this.checked=!1,this.iconFlipRtl=!1,this.iconStart=void 0,this.iconEnd=void 0,this.value=void 0,this.appearance="solid",this.layout="horizontal",this.scale="m"}handleCheckedChange(){this.calciteInternalSegmentedControlItemChange.emit()}render(){const{appearance:e,checked:t,layout:o,scale:l,value:s}=this,r=this.iconStart?i("calcite-icon",{class:x,flipRtl:this.iconFlipRtl,icon:this.iconStart,key:"icon-start",scale:"s"}):null,c=this.iconEnd?i("calcite-icon",{class:x,flipRtl:this.iconFlipRtl,icon:this.iconEnd,key:"icon-end",scale:"s"}):null;return i(n,{"aria-checked":a(t),"aria-label":s,role:"radio"},i("label",{class:{"label--scale-s":"s"===l,"label--scale-m":"m"===l,"label--scale-l":"l"===l,"label--horizontal":"horizontal"===o,"label--outline":"outline"===e,"label--outline-fill":"outline-fill"===e}},this.iconStart?r:null,i("slot",null,s),i("slot",{name:"input"}),this.iconEnd?c:null))}get el(){return o(this)}static get watchers(){return{checked:["handleCheckedChange"]}}};y.style=":host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:0.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-ui-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out, border-color var(--calcite-internal-animation-timing-fast) ease-in-out, color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(: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}.label--scale-s{padding-inline:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:0.125rem}.label--scale-m{padding-inline:0.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:0.375rem}.label--scale-l{padding-inline:1rem;padding-block:0.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}:host(:active) label{background-color:var(--calcite-ui-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-brand);color:var(--calcite-ui-background)}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{border-color:var(--calcite-ui-brand);background-color:var(--calcite-ui-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand);color:var(--calcite-ui-brand)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .segmented-control-item-icon{color:highlightText}}.segmented-control-item-icon{position:relative;margin:0px;display:inline-flex;line-height:inherit}:host([icon-start]) .label--scale-s .segmented-control-item-icon{margin-inline-end:0.5rem}:host([icon-end]) .label--scale-s .segmented-control-item-icon{margin-inline-start:0.5rem}:host([icon-start]) .label--scale-m .segmented-control-item-icon{margin-inline-end:0.75rem}:host([icon-end]) .label--scale-m .segmented-control-item-icon{margin-inline-start:0.75rem}:host([icon-start]) .label--scale-l .segmented-control-item-icon{margin-inline-end:1rem}:host([icon-end]) .label--scale-l .segmented-control-item-icon{margin-inline-start:1rem}:host([hidden]){display:none}[hidden]{display:none}";export{w as calcite_segmented_control,y as calcite_segmented_control_item}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as _}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var p={name:"bg",weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekStart:1,ordinal:function(_){var p=_%100;if(p>10&&p<20)return _+"-ти";var m=_%10;return 1===m?_+"-ви":2===m?_+"-ри":7===m||8===m?_+"-ми":_+"-ти"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"}};_.locale(p,null,!0);export default p;
|
@@ -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{r as e,c as t,h as i,H as o,g as r}from"./p-91c78d98.js";import{c as s,u as n,d as a}from"./p-2ee3afea.js";import{n as c,c as l,d}from"./p-bf9d3381.js";import{s as p,a as h,c as m}from"./p-3a668467.js";import"./p-86f482ca.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-34fb2a6e.js";import"./p-efc041d0.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 u=class{constructor(i){e(this,i),this.calciteInternalStepperItemKeyEvent=t(this,"calciteInternalStepperItemKeyEvent",6),this.calciteInternalStepperItemSelect=t(this,"calciteInternalStepperItemSelect",6),this.calciteInternalUserRequestedStepperItemSelect=t(this,"calciteInternalUserRequestedStepperItemSelect",6),this.calciteInternalStepperItemRegister=t(this,"calciteInternalStepperItemRegister",6),this.keyDownHandler=e=>{if(!this.disabled&&e.target===this.el)switch(e.key){case" ":case"Enter":this.emitUserRequestedItem(),e.preventDefault();break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"Home":case"End":this.calciteInternalStepperItemKeyEvent.emit({item:e}),e.preventDefault()}},this.handleItemClick=e=>{this.disabled||"horizontal"===this.layout&&e.composedPath().some((e=>{var t;return null===(t=e.classList)||void 0===t?void 0:t.contains("stepper-item-content")}))||this.emitUserRequestedItem()},this.emitUserRequestedItem=()=>{this.emitRequestedItem(),this.disabled||this.calciteInternalUserRequestedStepperItemSelect.emit({position:this.itemPosition})},this.emitRequestedItem=()=>{this.disabled||this.calciteInternalStepperItemSelect.emit({position:this.itemPosition})},this.selected=!1,this.complete=!1,this.error=!1,this.disabled=!1,this.heading=void 0,this.description=void 0,this.iconFlipRtl=!1,this.numberingSystem=void 0,this.icon=!1,this.layout=void 0,this.numbered=!1,this.scale="m",this.effectiveLocale=""}selectedHandler(){this.selected&&this.emitRequestedItem()}disabledWatcher(){this.registerStepperItem()}effectiveLocaleWatcher(e){c.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}connectedCallback(){s(this),l(this)}componentWillLoad(){p(this),this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.registerStepperItem(),this.selected&&this.emitRequestedItem()}componentDidLoad(){h(this)}componentDidRender(){n(this,!0)}disconnectedCallback(){a(this),d(this)}render(){return i(o,{"aria-current":this.selected?"step":"false",onClick:this.handleItemClick,onKeyDown:this.keyDownHandler},i("div",{class:"container"},this.complete&&i("span",{"aria-live":"polite",class:"visually-hidden"},"Completed step"),i("div",{class:"stepper-item-header",tabIndex:"horizontal"!==this.layout||this.disabled?null:0,ref:e=>this.headerEl=e},this.icon?this.renderIcon():null,this.numbered?i("div",{class:"stepper-item-number"},this.renderNumbers(),"."):null,i("div",{class:"stepper-item-header-text"},i("span",{class:"stepper-item-heading"},this.heading),i("span",{class:"stepper-item-description"},this.description))),i("div",{class:"stepper-item-content"},i("slot",null))))}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}async setFocus(){var e;await m(this),null===(e="vertical"===this.layout?this.el:this.headerEl)||void 0===e||e.focus()}renderIcon(){return i("calcite-icon",{class:"stepper-item-icon",flipRtl:this.iconFlipRtl,icon:this.selected?"circleF":this.error?"exclamationMarkCircleF":this.complete?"checkCircleF":"circle",scale:"s"})}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}registerStepperItem(){this.calciteInternalStepperItemRegister.emit({position:this.itemPosition})}getItemPosition(){var e;return Array.from(null===(e=this.parentStepperEl)||void 0===e?void 0:e.querySelectorAll("calcite-stepper-item")).indexOf(this.el)}renderNumbers(){return c.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:!1},c.numberFormatter.format(this.itemPosition+1)}get el(){return r(this)}static get watchers(){return{selected:["selectedHandler"],disabled:["disabledWatcher"],effectiveLocale:["effectiveLocaleWatcher"]}}};u.style=":host([layout=horizontal][disabled]) .stepper-item-header,:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([layout=horizontal][disabled]) .stepper-item-header *,:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-stepper-item-spacing-unit-s:0.25rem;--calcite-stepper-item-spacing-unit-m:0.75rem;--calcite-stepper-item-spacing-unit-l:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;margin-inline-end:0.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]){--calcite-stepper-item-spacing-unit-s:0.5rem;--calcite-stepper-item-spacing-unit-m:1rem;--calcite-stepper-item-spacing-unit-l:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;margin-inline-end:0.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]){--calcite-stepper-item-spacing-unit-s:0.75rem;--calcite-stepper-item-spacing-unit-m:1.25rem;--calcite-stepper-item-spacing-unit-l:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;margin-inline-end:0.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-0);line-height:1.25rem}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;outline:2px solid transparent;outline-offset:2px;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host{outline-color:transparent}:host(: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 )}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start}:host .stepper-item-content,:host .stepper-item-header{transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:var(--calcite-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header *{display:inline-flex;align-items:center;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size--2);line-height:1.375}:host .stepper-item-icon{margin-inline-end:var(--calcite-stepper-item-spacing-unit-m);margin-block-start:1px;display:inline-flex;block-size:0.75rem;flex-shrink:0;align-self:flex-start;color:var(--calcite-ui-text-3);opacity:var(--calcite-ui-opacity-disabled);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}:host .stepper-item-heading{margin-block-end:0.25rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}:host .stepper-item-description{color:var(--calcite-ui-text-3)}:host .stepper-item-number{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);margin-inline-end:var(--calcite-stepper-item-spacing-unit-m)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([complete]) .container .stepper-item-icon{color:var(--calcite-ui-brand)}:host([error]) .container{border-block-start-color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-ui-danger)}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-ui-danger)}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-ui-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-ui-text-1)}:host([selected]) .container .stepper-item-description{color:var(--calcite-ui-text-2)}:host([selected]) .container .stepper-item-number{color:var(--calcite-ui-brand)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-ui-brand);opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;border-color:var(--calcite-ui-border-3);padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0px}:host([layout=vertical][complete]) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][error]) .container{border-color:var(--calcite-ui-danger)}:host([layout=vertical][selected]) .container{border-color:var(--calcite-ui-brand)}:host([layout=vertical][selected]) .container .stepper-item-content:not(:empty){margin-block-end:var(--calcite-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:rgba(0, 122, 194, 0.5)}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-ui-danger-hover)}:host([layout=horizontal]){display:contents}:host([layout=horizontal]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-ui-border-3);outline-color:transparent;grid-row:items;margin-inline-end:0.5rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal]) .stepper-item-header: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 )}:host([layout=horizontal]) .stepper-item-content{cursor:auto;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);padding-block:0;padding-inline-end:var(--calcite-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal][selected]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][scale=s]) .stepper-item-header{margin-inline-end:0.25rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][scale=l]) .stepper-item-header{margin-inline-end:0.75rem;margin-block-end:var(--calcite-stepper-item-spacing-unit-s)}:host([layout=horizontal][complete]) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal][error]) .stepper-item-header{border-color:var(--calcite-ui-danger)}:host([layout=horizontal][selected]) .stepper-item-header{border-color:var(--calcite-ui-brand)}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:rgba(0, 122, 194, 0.5)}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-ui-danger-hover)}@media (forced-colors: active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}.visually-hidden{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}";export{u as calcite_stepper_item}
|
@@ -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 i,h as t,H as e,g as a}from"./p-91c78d98.js";import{c as o,s as n,a as s}from"./p-
|
6
|
+
import{r as i,h as t,H as e,g as a}from"./p-91c78d98.js";import{c as o,s as n,a as s}from"./p-3a668467.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.
|
10
|
+
* v1.9.0
|
11
11
|
*/const r="heading",c="description",l=class{constructor(t){i(this,t),this.active=void 0,this.href=void 0,this.label=void 0,this.rel=void 0,this.description=void 0,this.target=void 0,this.heading=void 0,this.thumbnail=void 0}async setFocus(){await o(this),this.href&&this.el.focus()}componentWillLoad(){n(this)}componentDidLoad(){s(this)}render(){const{heading:i,description:a,thumbnail:o}=this;return t(e,null,t("a",{class:"anchor",href:this.href,rel:this.rel,target:this.target},o&&t("img",{alt:this.label||"",class:"image",src:o}),(i||a)&&t("div",{class:"container"},i&&t("span",{"aria-label":this.heading,class:{[r]:!0,standalone:!this.description},key:r},i),a&&t("span",{"aria-label":this.description,class:c,key:c},a))))}static get delegatesFocus(){return!0}get el(){return a(this)}};l.style=":host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}.anchor{margin:0px;display:flex;cursor:pointer;align-items:center;justify-content:center;font-size:var(--calcite-font-size-0);line-height:1.25rem;-webkit-text-decoration-line:none;text-decoration-line:none;outline-color:transparent;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;border-block-end:2px solid transparent}.anchor:hover,.anchor:focus{background-color:var(--calcite-ui-foreground-2)}.anchor: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 )}.anchor:active{background-color:var(--calcite-ui-foreground-3)}.image{margin:0px;display:flex;block-size:1.75rem;padding-inline:1rem}.image~.container{padding-inline-start:0px}:host(:active) .anchor{color:var(--calcite-ui-text-1)}:host([active]) .anchor{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-brand);--calcite-ui-icon-color:var(--calcite-ui-brand)}.container{margin-block-start:0.125rem;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-inline:1rem;text-align:start}.heading{margin-inline-start:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.standalone{font-size:var(--calcite-font-size-1)}.description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host([hidden]){display:none}[hidden]{display:none}";export{l as calcite_navigation_logo}
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import{d as r}from"./p-b8ce608e.js";import"./p-91c78d98.js";import"./p-3db650c2.js";import"./p-4b9ba22d.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-2ee3afea.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";import"./p-f52ee45d.js";import"./p-3a668467.js";import"./p-bf9d3381.js";import"./p-efc041d0.js";import"./p-a47c8ae2.js";import"./p-d4278729.js";import"./p-2f9bab49.js";import"./p-29120ecd.js";import"./p-abc50d38.js";var e={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(r){return r+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(r,e,t,n){return"néhány másodperc"+(n||e?"":"e")},m:function(r,e,t,n){return"egy perc"+(n||e?"":"e")},mm:function(r,e,t,n){return r+" perc"+(n||e?"":"e")},h:function(r,e,t,n){return"egy "+(n||e?"óra":"órája")},hh:function(r,e,t,n){return r+" "+(n||e?"óra":"órája")},d:function(r,e,t,n){return"egy "+(n||e?"nap":"napja")},dd:function(r,e,t,n){return r+" "+(n||e?"nap":"napja")},M:function(r,e,t,n){return"egy "+(n||e?"hónap":"hónapja")},MM:function(r,e,t,n){return r+" "+(n||e?"hónap":"hónapja")},y:function(r,e,t,n){return"egy "+(n||e?"év":"éve")},yy:function(r,e,t,n){return r+" "+(n||e?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};r.locale(e,null,!0);export default e;
|