@esri/solutions-components 0.6.23 → 0.6.26
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 +742 -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 +19 -48
- package/dist/cjs/{conditionalSlot-795790b5.js → conditionalSlot-b6c29b8c.js} +2 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +5 -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/public-notification.cjs.entry.js +4 -4
- 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 +22 -1
- package/dist/collection/components/edit-card/edit-card.js +24 -21
- 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/components/map-card/map-card.js +5 -2
- package/dist/collection/components/public-notification/public-notification.css +0 -9
- package/dist/collection/components/public-notification/public-notification.js +3 -3
- package/dist/collection/demos/crowdsource-manager.html +3 -0
- 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 +6 -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 +24 -21
- 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/map-card2.js +5 -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/public-notification.js +4 -4
- 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 +736 -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 +19 -48
- package/dist/esm/{conditionalSlot-7a5c509c.js → conditionalSlot-94095778.js} +2 -2
- package/dist/esm/crowdsource-manager.entry.js +5 -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/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- 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/public-notification.entry.js +4 -4
- 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/demos/crowdsource-manager.html +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-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-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-ce3b40ca.entry.js +6 -0
- 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-de268445.entry.js +11 -0
- package/dist/solutions-components/p-e3bf18fc.entry.js +6 -0
- package/dist/solutions-components/p-e48eb0b2.entry.js +6 -0
- 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-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/edit-card/edit-card.d.ts +12 -0
- package/dist/types/components/layer-table/layer-table.d.ts +7 -27
- package/dist/types/components/map-card/map-card.d.ts +1 -0
- 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-5bd796dd.entry.js +0 -6
- package/dist/solutions-components/p-5c83c577.js +0 -6
- package/dist/solutions-components/p-5dc13b6d.js +0 -11
- package/dist/solutions-components/p-5faf659b.js +0 -11
- package/dist/solutions-components/p-61f3b001.js +0 -6
- package/dist/solutions-components/p-64a0e0e7.entry.js +0 -6
- package/dist/solutions-components/p-6610bad4.js +0 -6
- package/dist/solutions-components/p-66380f26.js +0 -6
- package/dist/solutions-components/p-68b33cb6.js +0 -6
- package/dist/solutions-components/p-6e5bbdbd.js +0 -6
- package/dist/solutions-components/p-6eecc279.js +0 -6
- package/dist/solutions-components/p-71d0f30c.js +0 -6
- package/dist/solutions-components/p-7814f6db.js +0 -6
- package/dist/solutions-components/p-7c23c4cd.js +0 -6
- package/dist/solutions-components/p-81a962c3.js +0 -6
- package/dist/solutions-components/p-892075e5.entry.js +0 -11
- package/dist/solutions-components/p-89fc9c87.js +0 -11
- package/dist/solutions-components/p-8cf4fd05.entry.js +0 -28
- package/dist/solutions-components/p-903aa065.js +0 -6
- package/dist/solutions-components/p-965495c7.js +0 -6
- package/dist/solutions-components/p-9654f62f.entry.js +0 -6
- package/dist/solutions-components/p-9b3e8d42.js +0 -6
- package/dist/solutions-components/p-9c5e66fe.js +0 -6
- package/dist/solutions-components/p-9f7d7413.js +0 -6
- package/dist/solutions-components/p-a452c2a8.js +0 -6
- package/dist/solutions-components/p-a7d5752b.js +0 -6
- package/dist/solutions-components/p-ab857e6d.js +0 -6
- package/dist/solutions-components/p-ad16d71b.entry.js +0 -6
- package/dist/solutions-components/p-ae221b83.entry.js +0 -6
- package/dist/solutions-components/p-ae443c91.entry.js +0 -6
- package/dist/solutions-components/p-af25c24c.entry.js +0 -17
- package/dist/solutions-components/p-b73319e1.js +0 -6
- package/dist/solutions-components/p-bf48be66.entry.js +0 -11
- package/dist/solutions-components/p-c1a86a7f.js +0 -6
- package/dist/solutions-components/p-c347875f.js +0 -6
- package/dist/solutions-components/p-c69de0fa.entry.js +0 -11
- package/dist/solutions-components/p-c6c4ed96.js +0 -6
- package/dist/solutions-components/p-dac63a50.js +0 -6
- package/dist/solutions-components/p-dec91018.js +0 -6
- package/dist/solutions-components/p-e7c11602.js +0 -6
- package/dist/solutions-components/p-e9ae9ec7.js +0 -6
- package/dist/solutions-components/p-e9f128b3.js +0 -6
- package/dist/solutions-components/p-eb5e6881.js +0 -6
- package/dist/solutions-components/p-f53a8e59.js +0 -6
- package/dist/solutions-components/p-fa3732fa.entry.js +0 -11
- package/dist/solutions-components/p-fad93fd0.js +0 -6
- package/dist/solutions-components/p-ff40cfb2.js +0 -6
- package/dist/solutions-components/p-ffb567ab.entry.js +0 -6
@@ -0,0 +1,28 @@
|
|
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 t,c as e,h as i,g as o,H as s}from"./p-91c78d98.js";import{c as n,d as a}from"./p-73c50d50.js";import{x as c,g as l,q as r,i as h,A as d,t as p}from"./p-4b9ba22d.js";import{s as f,a as m,c as u}from"./p-3a668467.js";import{c as g,d as v}from"./p-bf9d3381.js";import{c as b,d as k,s as x,u as w}from"./p-29120ecd.js";import{K as y}from"./p-c24040ec.js";import{o as z}from"./p-abc50d38.js";import{c as C,b as E,a as H,r as j,F as R}from"./p-53368491.js";import{g as T}from"./p-361b44ed.js";import{F as L}from"./p-bee78404.js";import"./p-efc041d0.js";import"./p-3760847f.js";import"./p-34fb2a6e.js";import"./p-a82f35c9.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 O="actions-end",S=class{constructor(i){t(this,i),this.calciteNoticeBeforeClose=e(this,"calciteNoticeBeforeClose",6),this.calciteNoticeBeforeOpen=e(this,"calciteNoticeBeforeOpen",6),this.calciteNoticeClose=e(this,"calciteNoticeClose",6),this.calciteNoticeOpen=e(this,"calciteNoticeOpen",6),this.setTransitionEl=t=>{this.transitionEl=t},this.close=()=>{this.open=!1},this.openTransitionProp="opacity",this.open=!1,this.kind="brand",this.closable=!1,this.icon=void 0,this.iconFlipRtl=!1,this.scale="m",this.width="auto",this.messages=void 0,this.messageOverrides=void 0,this.effectiveLocale=void 0,this.defaultMessages=void 0}openHandler(){z(this)}onMessagesChange(){}updateRequestedIcon(){this.requestedIcon=c(y,this.icon,this.kind)}connectedCallback(){n(this),g(this),b(this)}disconnectedCallback(){a(this),v(this),k(this)}async componentWillLoad(){f(this),this.requestedIcon=c(y,this.icon,this.kind),await x(this),this.open&&z(this)}componentDidLoad(){m(this)}render(){const{el:t}=this,e=i("button",{"aria-label":this.messages.close,class:"notice-close",onClick:this.close,ref:t=>this.closeButton=t},i("calcite-icon",{icon:"x",scale:"l"===this.scale?"m":"s"})),o=l(t,O);return i("div",{class:"container",ref:this.setTransitionEl},this.requestedIcon?i("div",{class:"notice-icon"},i("calcite-icon",{flipRtl:this.iconFlipRtl,icon:this.requestedIcon,scale:"l"===this.scale?"m":"s"})):null,i("div",{class:"notice-content"},i("slot",{name:"title"}),i("slot",{name:"message"}),i("slot",{name:"link"})),o?i("div",{class:"actions-end"},i("slot",{name:O})):null,this.closable?e:null)}async setFocus(){await u(this);const t=this.el.querySelector("calcite-link");if(this.closeButton||t)return t?t.setFocus():void(this.closeButton&&this.closeButton.focus())}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}effectiveLocaleChange(){w(this,this.effectiveLocale)}static get assetsDirs(){return["assets"]}get el(){return o(this)}static get watchers(){return{open:["openHandler"],messageOverrides:["onMessagesChange"],icon:["updateRequestedIcon"],kind:["updateRequestedIcon"],effectiveLocale:["effectiveLocaleChange"]}}};S.style=":host([scale=s]){--calcite-notice-spacing-token-small:0.5rem;--calcite-notice-spacing-token-large:0.75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:0.5rem}:host([scale=m]){--calcite-notice-spacing-token-small:0.75rem;--calcite-notice-spacing-token-large:1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small:1rem;--calcite-notice-spacing-token-large:1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:0.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:0.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width:auto}:host([width=half]){--calcite-notice-width:50%}:host([width=full]){--calcite-notice-width:100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:none;inline-size:100%;background-color:var(--calcite-ui-foreground-1);opacity:0;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;max-block-size:0;text-align:start;border-inline-start:0px solid;box-shadow:0 0 0 0 transparent}.notice-close{outline-color:transparent}.notice-close: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{display:flex}:host([open]) .container{pointer-events:auto;display:flex;max-block-size:100%;align-items:center;border-width:2px;opacity:1;--tw-shadow:0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);--tw-shadow-colored:0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0px;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0px;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-2);margin-inline-end:var(--calcite-notice-spacing-token-small)}.notice-content{box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;color:var(--calcite-ui-text-3);outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1)}.notice-close:active{background-color:var(--calcite-ui-foreground-3)}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-ui-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-ui-brand)}:host([kind=info]) .container{border-color:var(--calcite-ui-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-ui-info)}:host([kind=danger]) .container{border-color:var(--calcite-ui-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-ui-danger)}:host([kind=success]) .container{border-color:var(--calcite-ui-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-ui-success)}:host([kind=warning]) .container{border-color:var(--calcite-ui-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-ui-warning)}:host([hidden]){display:none}[hidden]{display:none}";
|
12
|
+
/*!
|
13
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
+
* v1.9.0
|
16
|
+
*/
|
17
|
+
const B="aria-describedby";
|
18
|
+
/*!
|
19
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
20
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
21
|
+
* v1.9.0
|
22
|
+
*/
|
23
|
+
function D(t){const{referenceElement:e}=t;return("string"==typeof e?r(t,{id:e}):e)||null}
|
24
|
+
/*!
|
25
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
26
|
+
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
27
|
+
* v1.9.0
|
28
|
+
*/const q=new class{constructor(){this.registeredElements=new WeakMap,this.registeredShadowRootCounts=new WeakMap,this.hoverOpenTimeout=null,this.hoverCloseTimeout=null,this.hoveredTooltip=null,this.clickedTooltip=null,this.activeTooltip=null,this.registeredElementCount=0,this.queryTooltip=t=>{const{registeredElements:e}=this,i=t.find((t=>e.has(t)));return e.get(i)},this.keyDownHandler=t=>{if("Escape"===t.key&&!t.defaultPrevented){const{activeTooltip:e}=this;if(e?.open){this.clearHoverTimeout(),this.closeActiveTooltip();const i=D(e);i instanceof Element&&i.contains(t.target)&&t.preventDefault()}}},this.pointerMoveHandler=t=>{const e=t.composedPath(),{activeTooltip:i}=this;if(i?.open&&e.includes(i))return void this.clearHoverTimeout();const o=this.queryTooltip(e);this.hoveredTooltip=o,this.isClosableClickedTooltip(o)||(this.clickedTooltip=null,o?this.openHoveredTooltip(o):i&&this.closeHoveredTooltip())},this.pointerDownHandler=t=>{if(!h(t))return;const e=this.queryTooltip(t.composedPath());this.clickedTooltip=e,e?.closeOnClick&&(this.toggleTooltip(e,!1),this.clearHoverTimeout())},this.focusInHandler=t=>{this.queryFocusedTooltip(t,!0)},this.focusOutHandler=t=>{this.queryFocusedTooltip(t,!1)},this.openHoveredTooltip=t=>{this.hoverOpenTimeout=window.setTimeout((()=>{null!==this.hoverOpenTimeout&&(this.clearHoverCloseTimeout(),this.activeTooltip!==this.hoveredTooltip&&(this.closeActiveTooltip(),t===this.hoveredTooltip&&this.toggleTooltip(t,!0)))}),this.activeTooltip?0:300)},this.closeHoveredTooltip=()=>{this.hoverCloseTimeout=window.setTimeout((()=>{null!==this.hoverCloseTimeout&&this.closeActiveTooltip()}),500)}}registerElement(t,e){this.registeredElementCount++,this.registeredElements.set(t,e);const i=this.getReferenceElShadowRootNode(t);i&&this.registerShadowRoot(i),1===this.registeredElementCount&&this.addListeners()}unregisterElement(t){const e=this.getReferenceElShadowRootNode(t);e&&this.unregisterShadowRoot(e),this.registeredElements.delete(t)&&this.registeredElementCount--,0===this.registeredElementCount&&this.removeListeners()}addShadowListeners(t){t.addEventListener("focusin",this.focusInHandler,{capture:!0}),t.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeShadowListeners(t){t.removeEventListener("focusin",this.focusInHandler,{capture:!0}),t.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}addListeners(){document.addEventListener("keydown",this.keyDownHandler,{capture:!0}),document.addEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.addEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.addEventListener("focusin",this.focusInHandler,{capture:!0}),document.addEventListener("focusout",this.focusOutHandler,{capture:!0})}removeListeners(){document.removeEventListener("keydown",this.keyDownHandler,{capture:!0}),document.removeEventListener("pointermove",this.pointerMoveHandler,{capture:!0}),document.removeEventListener("pointerdown",this.pointerDownHandler,{capture:!0}),document.removeEventListener("focusin",this.focusInHandler,{capture:!0}),document.removeEventListener("focusout",this.focusOutHandler,{capture:!0})}clearHoverOpenTimeout(){window.clearTimeout(this.hoverOpenTimeout),this.hoverOpenTimeout=null}clearHoverCloseTimeout(){window.clearTimeout(this.hoverCloseTimeout),this.hoverCloseTimeout=null}clearHoverTimeout(){this.clearHoverOpenTimeout(),this.clearHoverCloseTimeout()}closeActiveTooltip(){const{activeTooltip:t}=this;t?.open&&this.toggleTooltip(t,!1)}toggleFocusedTooltip(t,e){this.closeActiveTooltip(),e&&this.clearHoverTimeout(),this.toggleTooltip(t,e)}toggleTooltip(t,e){t.open=e,this.activeTooltip=e?t:null}queryFocusedTooltip(t,e){const i=this.queryTooltip(t.composedPath());i&&!this.isClosableClickedTooltip(i)&&this.toggleFocusedTooltip(i,e)}isClosableClickedTooltip(t){return t?.closeOnClick&&t===this.clickedTooltip}registerShadowRoot(t){const{registeredShadowRootCounts:e}=this,i=(e.get(t)??0)+1;1===i&&this.addShadowListeners(t),e.set(t,i)}unregisterShadowRoot(t){const{registeredShadowRootCounts:e}=this,i=e.get(t)-1;0===i&&this.removeShadowListeners(t),e.set(t,i)}getReferenceElShadowRootNode(t){return t instanceof Element?d(t):null}},F=class{constructor(i){t(this,i),this.calciteTooltipBeforeClose=e(this,"calciteTooltipBeforeClose",6),this.calciteTooltipClose=e(this,"calciteTooltipClose",6),this.calciteTooltipBeforeOpen=e(this,"calciteTooltipBeforeOpen",6),this.calciteTooltipOpen=e(this,"calciteTooltipOpen",6),this.guid=`calcite-tooltip-${T()}`,this.hasLoaded=!1,this.openTransitionProp="opacity",this.setTransitionEl=t=>{this.transitionEl=t},this.setUpReferenceElement=(t=!0)=>{this.removeReferences(),this.effectiveReferenceElement=D(this.el),C(this,this.effectiveReferenceElement,this.el);const{el:e,referenceElement:i,effectiveReferenceElement:o}=this;t&&i&&!o&&console.warn(`${e.tagName}: reference-element id "${i}" was not found.`,{el:e}),this.addReferences()},this.getId=()=>this.el.id||this.guid,this.addReferences=()=>{const{effectiveReferenceElement:t}=this;if(!t)return;const e=this.getId();"setAttribute"in t&&t.setAttribute(B,e),q.registerElement(t,this.el)},this.removeReferences=()=>{const{effectiveReferenceElement:t}=this;t&&("removeAttribute"in t&&t.removeAttribute(B),q.unregisterElement(t))},this.closeOnClick=!1,this.label=void 0,this.offsetDistance=E,this.offsetSkidding=0,this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.referenceElement=void 0,this.effectiveReferenceElement=void 0,this.floatingLayout="vertical"}offsetDistanceOffsetHandler(){this.reposition(!0)}offsetSkiddingHandler(){this.reposition(!0)}openHandler(t){z(this),t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}placementHandler(){this.reposition(!0)}referenceElementHandler(){this.setUpReferenceElement()}connectedCallback(){this.setUpReferenceElement(this.hasLoaded),this.open&&z(this)}async componentWillLoad(){this.open&&z(this)}componentDidLoad(){this.referenceElement&&!this.effectiveReferenceElement&&this.setUpReferenceElement(),this.reposition(!0),this.hasLoaded=!0}disconnectedCallback(){this.removeReferences(),H(this,this.effectiveReferenceElement,this.el)}async reposition(t=!1){const{el:e,effectiveReferenceElement:i,placement:o,overlayPositioning:s,offsetDistance:n,offsetSkidding:a,arrowEl:c}=this;return j(this,{floatingEl:e,referenceEl:i,overlayPositioning:s,placement:o,offsetDistance:n,offsetSkidding:a,arrowEl:c,type:"tooltip"},t)}onBeforeOpen(){this.calciteTooltipBeforeOpen.emit()}onOpen(){this.calciteTooltipOpen.emit()}onBeforeClose(){this.calciteTooltipBeforeClose.emit()}onClose(){this.calciteTooltipClose.emit()}render(){const{effectiveReferenceElement:t,label:e,open:o,floatingLayout:n}=this,a=t&&o,c=!a;return i(s,{"aria-hidden":p(c),"aria-label":e,"aria-live":"polite","calcite-hydrated-hidden":c,id:this.getId(),role:"tooltip"},i("div",{class:{[R.animation]:!0,[R.animationActive]:a},ref:this.setTransitionEl},i(L,{floatingLayout:n,ref:t=>this.arrowEl=t}),i("div",{class:"container"},i("slot",null))))}get el(){return o(this)}static get watchers(){return{offsetDistance:["offsetDistanceOffsetHandler"],offsetSkidding:["offsetSkiddingHandler"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],placement:["placementHandler"],referenceElement:["referenceElementHandler"]}}};F.style=":host{--calcite-floating-ui-z-index:var(--calcite-tooltip-z-index, var(--calcite-app-z-index-tooltip));display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index)}.calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host([data-placement^=bottom]) .calcite-floating-ui-anim{transform:translateY(-5px)}:host([data-placement^=top]) .calcite-floating-ui-anim{transform:translateY(5px)}:host([data-placement^=left]) .calcite-floating-ui-anim{transform:translateX(5px)}:host([data-placement^=right]) .calcite-floating-ui-anim{transform:translateX(-5px)}:host([data-placement]) .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([calcite-hydrated-hidden]){visibility:hidden !important;pointer-events:none}.calcite-floating-ui-arrow{pointer-events:none;position:absolute;z-index:calc(var(--calcite-app-z-index) * -1);fill:var(--calcite-ui-foreground-1)}.calcite-floating-ui-arrow__stroke{stroke:var(--calcite-ui-border-3)}.container{position:relative;overflow:hidden;border-radius:0.25rem;padding-block:0.75rem;padding-inline:1rem;font-size:var(--calcite-font-size--2);line-height:1.375;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);max-inline-size:20rem;max-block-size:20rem;text-align:start}.calcite-floating-ui-anim{border-radius:0.25rem;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);background-color:var(--calcite-ui-foreground-1)}.arrow::before{outline:1px solid var(--calcite-ui-border-3)}:host([hidden]){display:none}[hidden]{display:none}";export{S as calcite_notice,F as calcite_tooltip}
|
@@ -6,6 +6,6 @@
|
|
6
6
|
/*!
|
7
7
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
8
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
9
|
-
* v1.
|
9
|
+
* v1.9.0
|
10
10
|
*/
|
11
11
|
function n(n){return"Enter"===n||" "===n}const t=["0","1","2","3","4","5","6","7","8","9"];export{n as i,t as n}
|
@@ -3,15 +3,15 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{n as t}from"./p-
|
6
|
+
import{n as t}from"./p-4b9ba22d.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 n="CALCITE-COMBOBOX-ITEM",o="CALCITE-COMBOBOX-ITEM-GROUP",c=`${n}, ${o}`,e={listContainer:"list-container"};
|
12
12
|
/*!
|
13
13
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
14
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
-
* v1.
|
15
|
+
* v1.9.0
|
16
16
|
*/
|
17
17
|
function a(t){const n=t.parentElement?.closest(c),o=n?.parentElement?.closest(c);return[n,o].filter((t=>t))}function i(t){return t.ancestors?.filter((t=>"CALCITE-COMBOBOX-ITEM"===t.nodeName))||[]}function r(n){return t(n.querySelectorAll("calcite-combobox-item"))}function s(n){return t(n.querySelectorAll("calcite-combobox-item")).filter((t=>t.selected)).length>0}function u(t){return document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",t,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null).snapshotLength}function l(t){return t.includes("single")}export{c as C,u as a,i as b,r as c,n as d,o as e,e as f,a as g,s as h,l as i}
|
@@ -6,6 +6,6 @@
|
|
6
6
|
/*!
|
7
7
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
8
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
9
|
-
* v1.
|
9
|
+
* v1.9.0
|
10
10
|
*/
|
11
11
|
const t=()=>[2,1,1,1,3].map((t=>{let e="";for(let r=0;r<t;r++)e+=(65536*(1+Math.random())|0).toString(16).substring(1);return e})).join("-");export{t as g}
|
@@ -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,H as t,g as a}from"./p-91c78d98.js";import{s as l,a as n}from"./p-
|
6
|
+
import{r as e,h as i,H as t,g as a}from"./p-91c78d98.js";import{s as l,a as n}from"./p-3a668467.js";import{a as s,c as r,d as c}from"./p-3db650c2.js";import{g as o,n as h,c as d,d as b}from"./p-bf9d3381.js";import{r as u}from"./p-4b9ba22d.js";import{c as p}from"./p-efc041d0.js";import"./p-34fb2a6e.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 g="label",v="label-range",m="unit-label",f="fill-success",L=class{constructor(i){e(this,i),this.labelFlipMax=.8,this.labelFlipProximity=.15,this.maxPercent=100,this.minPercent=0,this.resizeObserver=p("resize",(()=>this.resizeHandler())),this.formatLabel=(e,i)=>{if("percent"===i){if(!this.percentFormatting){const e=o(this.effectiveLocale),i=new Intl.NumberFormat(e,{useGrouping:this.groupSeparator,style:"percent"});this.percentFormatting={formatter:i,locale:e}}return this.percentFormatting.formatter.format(e)}return h.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},h.localize(e.toString())},this.appearance="outline-fill",this.disabled=!1,this.fillType="range",this.form=void 0,this.groupSeparator=!1,this.high=void 0,this.label=void 0,this.low=void 0,this.max=100,this.min=0,this.name=void 0,this.numberingSystem=void 0,this.rangeLabels=!1,this.rangeLabelType="percent",this.scale="m",this.unitLabel="",this.value=void 0,this.valueLabel=!1,this.valueLabelType="percent",this.currentPercent=void 0,this.effectiveLocale=void 0,this.highActive=void 0,this.highPercent=void 0,this.lowActive=void 0,this.lowPercent=void 0}handleRangeChange(){this.calculateValues(),this.updateLabels()}handleLabelChange(){this.updateLabels()}async componentWillLoad(){l(this),this.calculateValues(),s(this,this.value)}componentDidLoad(){n(this),this.updateLabels()}connectedCallback(){var e;d(this),r(this),null===(e=this.resizeObserver)||void 0===e||e.observe(this.el)}disconnectedCallback(){var e;b(this),c(this),null===(e=this.resizeObserver)||void 0===e||e.disconnect()}resizeHandler(){this.updateLabels()}updateLabels(){this.valueLabelEl&&this.determineValueLabelPosition(),this.rangeLabels&&this.determineVisibleLabels()}calculateValues(){const{min:e,max:i,low:t,high:a,value:l}=this,n=100*(t-e)/(i-e),s=100*(a-e)/(i-e),r=100*(l-e)/(i-e);(!t||t<e||t>a||t>i)&&(this.low=e),(!a||a>i||a<t||a<e)&&(this.high=i),l||(this.value=e),this.lowPercent=n,this.highPercent=s,this.currentPercent=l?r:0,this.lowActive=!!t&&t>e&&(!l||t>l)&&(!a||t<a),this.highActive=!!a&&e<=a&&a<i&&(!l||a>l)&&(!t||a>t)}getMeterKindCssClass(){const{low:e,high:i,min:t,max:a,value:l}=this,n=e||t,s=i||a,r=l<s;return!l||!e&&r||l<n?f:l>=n&&r?"fill-warning":l>=s?"fill-danger":f}intersects(e,i){return e&&i&&u(e.getBoundingClientRect(),i.getBoundingClientRect())}determineVisibleLabels(){const{minLabelEl:e,lowLabelEl:i,highLabelEl:t,maxLabelEl:a}=this,l=this.intersects(t,a),n=this.intersects(i,t),s=this.intersects(i,a),r=this.intersects(e,t),c=this.intersects(e,i),o=this.intersects(e,a),h="label-hidden";i&&(c||s||n?i.classList.add(h):i.classList.remove(h)),t&&(r||s||l?t.classList.add(h):t.classList.remove(h)),e&&a&&(o?a.classList.add(h):a.classList.remove(h))}determineValueLabelPosition(){const{valueLabelEl:e,meterContainerEl:i,currentPercent:t}=this,a=t>100?100:t>0?t:0;a+100*(e.getBoundingClientRect().width-0)/(i.getBoundingClientRect().width-0)>=100?(e.style.insetInlineEnd="0%",e.style.removeProperty("inset-inline-start")):(e.style.insetInlineStart=`${a}% `,e.style.removeProperty("inset-inline-end"))}renderMeterFill(){const{currentPercent:e,fillType:t}=this,a=this.getMeterKindCssClass();return i("div",{class:{fill:!0,[a]:"single"!==t},style:{width:`${e}%`}})}renderRangeLine(e){return i("div",{class:"step-line",style:{insetInlineStart:`${e}%`}})}renderValueLabel(){const{currentPercent:e,valueLabelType:t,unitLabel:a,value:l}=this,n=this.formatLabel("percent"===t?e/100:l||0,t);return i("div",{class:{[g]:!0,"label-value":!0},key:"low-label-line",ref:e=>this.valueLabelEl=e},n,a&&"percent"!==t&&i("span",{class:m}," ",a))}renderMinLabel(){const{rangeLabelType:e,min:t,minPercent:a,unitLabel:l}=this,n={insetInlineStart:`${a}%`},s=this.formatLabel("percent"===e?a:t,e);return i("div",{class:{[g]:!0,[v]:!0},key:"min-label-line",style:n,ref:e=>this.minLabelEl=e},s,l&&"percent"!==e&&i("span",{class:m}," ",l))}renderLowLabel(){const{rangeLabelType:e,low:t,lowPercent:a,highPercent:l,labelFlipProximity:n}=this,s=t?this.formatLabel("percent"===e?a/100:t,e):"";return i("div",{class:{[g]:!0,[v]:!0},key:"low-label-line",style:(l-a)/100<n?{insetInlineEnd:100-a+"%"}:{insetInlineStart:`${a}%`},ref:e=>this.lowLabelEl=e},s)}renderHighLabel(){const{rangeLabelType:e,high:t,highPercent:a,labelFlipMax:l}=this,n=t?this.formatLabel("percent"===e?a/100:t,e):"";return i("div",{class:{[g]:!0,[v]:!0},key:"high-label-line",style:a/100>=l?{insetInlineEnd:100-a+"%"}:{insetInlineStart:`${a}%`},ref:e=>this.highLabelEl=e},n)}renderMaxLabel(){const{rangeLabelType:e,max:t,maxPercent:a}=this,l={insetInlineEnd:100-a+"%"},n=this.formatLabel("percent"===e?a/100:t,e);return i("div",{class:{[g]:!0,[v]:!0},key:"max-label-line",style:l,ref:e=>this.maxLabelEl=e},n)}render(){const{appearance:e,currentPercent:a,highActive:l,highPercent:n,label:s,lowActive:r,lowPercent:c,max:o,maxPercent:h,min:d,minPercent:b,rangeLabels:u,rangeLabelType:p,unitLabel:g,value:v,valueLabel:m,valueLabelType:f}=this,L=this.formatLabel(a/100,"percent");return i(t,null,i("div",{"aria-label":s,"aria-valuemax":"percent"===p?h:o,"aria-valuemin":"percent"===p?b:d,"aria-valuenow":"percent"===f?a:v,"aria-valuetext":"percent"===f?L:g?`${v} ${g}`:void 0,class:{container:!0,"steps-visible":u,"value-visible":m,[e]:"outline-fill"!==e},role:"meter",ref:e=>this.meterContainerEl=e},this.renderMeterFill(),m&&this.renderValueLabel(),r&&this.renderRangeLine(c),l&&this.renderRangeLine(n),u&&this.renderMinLabel(),u&&r&&this.renderLowLabel(),u&&l&&this.renderHighLabel(),u&&this.renderMaxLabel()))}get el(){return a(this)}static get watchers(){return{min:["handleRangeChange"],max:["handleRangeChange"],low:["handleRangeChange"],high:["handleRangeChange"],value:["handleRangeChange"],rangeLabels:["handleLabelChange"],rangeLabelType:["handleLabelChange"],unitLabel:["handleLabelChange"],valueLabel:["handleLabelChange"],valueLabelType:["handleLabelChange"]}}};L.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([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host{display:flex;--calcite-meter-space-internal:0.125rem;--calcite-meter-height-internal:1rem;--calcite-meter-font-size-internal:var(--calcite-font-size--1)}:host([scale=s]){--calcite-meter-height-internal:0.75rem;--calcite-meter-font-size-internal:var(--calcite-font-size--2)}:host([scale=l]){--calcite-meter-height-internal:1.5rem;--calcite-meter-font-size-internal:var(--calcite-font-size-0)}.container{position:relative;margin:0px;display:flex;inline-size:100%;align-items:center;block-size:var(--calcite-meter-height-internal);background-color:var(--calcite-ui-foreground-2);border:1px solid var(--calcite-ui-border-3);border-radius:var(--calcite-meter-height-internal)}.solid{border:1px solid var(--calcite-ui-foreground-3);background-color:var(--calcite-ui-foreground-3)}.outline{background-color:transparent}.value-visible{margin-block-start:1.5rem}.steps-visible{margin-block-end:1.5rem}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-meter-space-internal);background-color:var(--calcite-ui-border-3)}.label{position:absolute;font-size:var(--calcite-meter-font-size-internal)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + 0.5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-1)}.label-range{color:var(--calcite-ui-text-3);inset-block-start:calc(100% + 0.5em)}.unit-label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3)}.label-value .unit-label{font-weight:var(--calcite-font-weight-bold);color:var(--calcite-ui-text-2)}.fill{position:absolute;z-index:var(--calcite-app-z-index);display:block;background-color:var(--calcite-ui-brand);transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);inset-inline-start:var(--calcite-meter-space-internal);inset-block:var(--calcite-meter-space-internal);border-radius:var(--calcite-meter-height-internal);max-inline-size:calc(100% - var(--calcite-meter-space-internal) * 2);min-inline-size:calc(var(--calcite-meter-height-internal) - var(--calcite-meter-space-internal) * 2);transition-property:inline-size, background-color, box-shadow}.fill-danger{background-color:var(--calcite-ui-danger)}.fill-success{background-color:var(--calcite-ui-success)}.fill-warning{background-color:var(--calcite-ui-warning)}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-meter-height-internal));box-shadow:0 0 0 1px var(--calcite-ui-brand)}.solid .fill-danger{box-shadow:0 0 0 1px var(--calcite-ui-danger)}.solid .fill-success{box-shadow:0 0 0 1px var(--calcite-ui-success)}.solid .fill-warning{box-shadow:0 0 0 1px var(--calcite-ui-warning)}";export{L as calcite_meter}
|
@@ -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 r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,a){var i=r[a];return Array.isArray(i)&&(i=i[t?0:1]),i.replace("%d",e)}var a={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(a,null,!0);export default a;
|
@@ -6,6 +6,6 @@
|
|
6
6
|
/*!
|
7
7
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
8
8
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
9
|
-
* v1.
|
9
|
+
* v1.9.0
|
10
10
|
*/
|
11
11
|
const a="calcite-mode-auto",t="calcite-mode-dark",e={autoMode:a,darkMode:t,lightMode:"calcite-mode-light",rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateIn:"calcite-animate__in",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",calciteAnimateInScale:"calcite-animate__in-scale"};export{e as C,a,t as d}
|
@@ -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 r={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]};function t(e,t,i){var a=r[i];return Array.isArray(a)&&(a=a[t?0:1]),a.replace("%d",e)}var i={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:function(e){return e+"."},weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t}};e.locale(i,null,!0);export default i;
|
@@ -3,15 +3,15 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as e,h as
|
6
|
+
import{r as e,h as t,H as i,g as l}from"./p-91c78d98.js";import{s as a,a as s,c}from"./p-3a668467.js";import{u as o,s as n,c as r,d}from"./p-29120ecd.js";import{c as h,u as v,d as u}from"./p-2ee3afea.js";import{c as b,d as p}from"./p-bf9d3381.js";import{a as g}from"./p-4b9ba22d.js";import{C as m}from"./p-3760847f.js";import"./p-86f482ca.js";import"./p-34fb2a6e.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.
|
11
|
-
*/const
|
10
|
+
* v1.9.0
|
11
|
+
*/const f=class{constructor(t){e(this,t),this.updateScreenReaderContentsText=()=>{this.contentsText=this.el.textContent},this.onContainerBlur=()=>{this.focused=!1},this.onContainerFocus=()=>{this.focused=!0},this.alignment="start",this.colSpan=void 0,this.rowSpan=void 0,this.disabled=void 0,this.numberCell=void 0,this.parentRowIsSelected=void 0,this.parentRowPositionLocalized=void 0,this.parentRowType=void 0,this.positionInRow=void 0,this.readCellContentsToAT=void 0,this.scale="m",this.selectionCell=void 0,this.messages=void 0,this.messageOverrides=void 0,this.contentsText="",this.defaultMessages=void 0,this.focused=!1,this.selectionText="",this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderSelectionText()}onMessagesChange(){}effectiveLocaleChange(){o(this,this.effectiveLocale)}async componentWillLoad(){a(this),await n(this),this.updateScreenReaderContentsText(),this.updateScreenReaderSelectionText()}componentDidLoad(){s(this)}connectedCallback(){b(this),r(this),h(this)}componentDidRender(){v(this)}disconnectedCallback(){p(this),d(this),u(this)}async setFocus(){await c(this),this.containerEl.focus()}updateScreenReaderSelectionText(){var e,t,i,l,a,s;const c=`${null===(e=this.messages)||void 0===e?void 0:e.row} ${this.parentRowPositionLocalized} ${null===(t=this.messages)||void 0===t?void 0:t.selected} ${null===(i=this.messages)||void 0===i?void 0:i.keyboardDeselect}`,o=`${null===(l=this.messages)||void 0===l?void 0:l.row} ${this.parentRowPositionLocalized} ${null===(a=this.messages)||void 0===a?void 0:a.unselected} ${null===(s=this.messages)||void 0===s?void 0:s.keyboardSelect}`;this.selectionText=this.parentRowIsSelected?c:o}render(){const e=g(this.el);return t(i,null,t("td",{"aria-disabled":this.disabled,class:{"footer-cell":"foot"===this.parentRowType,"number-cell":this.numberCell,"selection-cell":this.selectionCell,"selected-cell":this.parentRowIsSelected,[m.rtl]:"rtl"===e},colSpan:this.colSpan,onBlur:this.onContainerBlur,onFocus:this.onContainerFocus,role:"gridcell",rowSpan:this.rowSpan,tabIndex:this.disabled?-1:0,ref:e=>this.containerEl=e},(this.selectionCell||this.readCellContentsToAT)&&this.focused&&t("span",{"aria-hidden":!0,"aria-live":"polite",class:"assistive-text"},this.selectionCell&&this.selectionText,this.readCellContentsToAT&&!this.selectionCell&&this.contentsText),t("slot",{onSlotchange:this.updateScreenReaderContentsText})))}static get assetsDirs(){return["assets"]}get el(){return l(this)}static get watchers(){return{parentRowIsSelected:["onSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};f.style=":host{--calcite-internal-table-cell-background-internal:var(--calcite-table-cell-background, transparent);--calcite-internal-table-cell-border-color-internal:var(--calcite-table-cell-border-color, transparent);display:contents}:host([alignment=center]) td{text-align:center}:host([alignment=end]) td{text-align:end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}td{white-space:normal;text-align:start;vertical-align:middle;color:var(--calcite-ui-text-1);outline-color:transparent;background:var(--calcite-internal-table-cell-background);border-inline-end:1px solid var(--calcite-ui-border-3);font-size:var(--calcite-internal-table-cell-font-size);padding:var(--calcite-internal-table-cell-padding)}td: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 )}.number-cell{background-color:var(--calcite-ui-foreground-2)}.footer-cell{background-color:var(--calcite-ui-background);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);border-block-start:1px solid var(--calcite-ui-border-3)}.number-cell,.selection-cell{border-inline-end:1px solid var(--calcite-ui-border-3);inline-size:2rem;min-inline-size:2rem}.selection-cell{cursor:pointer;color:var(--calcite-ui-text-3);inset-inline-start:2rem}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-table-cell-background:var(--calcite-ui-foreground-current);background:var(--calcite-ui-foreground-current)}.selection-cell.selected-cell{box-shadow:inset 0.25rem 0 0 0 var(--calcite-ui-brand);color:var(--calcite-ui-brand)}.selection-cell.selected-cell calcite-icon{color:var(--calcite-ui-brand)}.calcite--rtl.selection-cell.selected-cell{box-shadow:inset -0.25rem 0 0 0 var(--calcite-ui-brand)}.selection-cell{vertical-align:middle}.selection-cell ::slotted(calcite-icon){pointer-events:none;margin-block-start:0.25rem}";
|
12
12
|
/*!
|
13
13
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
14
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
-
* v1.
|
15
|
+
* v1.9.0
|
16
16
|
*/
|
17
|
-
const
|
17
|
+
const x=class{constructor(t){e(this,t),this.alignment="start",this.colSpan=void 0,this.description=void 0,this.heading=void 0,this.rowSpan=void 0,this.numberCell=!1,this.parentRowPosition=void 0,this.parentRowType=void 0,this.positionInRow=void 0,this.scale=void 0,this.selectedRowCount=void 0,this.selectedRowCountLocalized=void 0,this.selectionCell=!1,this.selectionMode=void 0,this.bodyRowCount=void 0,this.messages=void 0,this.messageOverrides=void 0,this.defaultMessages=void 0,this.screenReaderText="",this.effectiveLocale=""}onSelectedChange(){this.updateScreenReaderText()}onMessagesChange(){}async componentWillLoad(){a(this),await n(this),this.updateScreenReaderText()}componentDidLoad(){s(this)}connectedCallback(){b(this),r(this)}disconnectedCallback(){p(this),d(this)}effectiveLocaleChange(){o(this,this.effectiveLocale)}async setFocus(){await c(this),this.containerEl.focus()}updateScreenReaderText(){var e,t,i,l,a,s,c,o;let n="";const r=`${this.selectedRowCountLocalized} ${null===(e=this.messages)||void 0===e?void 0:e.selected}`;n=this.numberCell?null===(t=this.messages)||void 0===t?void 0:t.rowNumber:"single"===this.selectionMode?`${null===(i=this.messages)||void 0===i?void 0:i.selectionColumn}. ${r}`:this.bodyRowCount===this.selectedRowCount?`${null===(l=this.messages)||void 0===l?void 0:l.selectionColumn}. ${null===(a=this.messages)||void 0===a?void 0:a.all} ${r} ${null===(s=this.messages)||void 0===s?void 0:s.keyboardDeselectAll}`:`${null===(c=this.messages)||void 0===c?void 0:c.selectionColumn}. ${r} ${null===(o=this.messages)||void 0===o?void 0:o.keyboardSelectAll}`,this.screenReaderText=n}render(){const e=this.selectedRowCount===this.bodyRowCount,l=e?"check-square-f":"check-square";return t(i,null,t("th",{"aria-colindex":"body"!==this.parentRowType?this.positionInRow:"",class:{"body-row":"body"===this.parentRowType,"footer-row":"foot"===this.parentRowType,"number-cell":this.numberCell,"selection-cell":this.selectionCell,"cell--multiple-selection":"multiple"===this.selectionMode},colSpan:this.colSpan,role:"columnheader",rowSpan:this.rowSpan,scope:this.rowSpan?"rowgroup":this.colSpan?"colgroup":"body"===this.parentRowType?"row":"col",tabIndex:0,ref:e=>this.containerEl=e},this.heading&&t("div",{class:"heading"},this.heading),this.description&&t("div",{class:"description"},this.description),this.selectionCell&&"multiple"===this.selectionMode&&t("calcite-icon",{class:{active:e},icon:l,scale:"l"===this.scale?"m":"s"}),(this.selectionCell||this.numberCell)&&t("span",{"aria-hidden":!0,"aria-live":"polite",class:"assistive-text"},this.screenReaderText)))}static get assetsDirs(){return["assets"]}get el(){return l(this)}static get watchers(){return{selectedRowCount:["onSelectedChange"],selectedRowCountLocalized:["onSelectedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};x.style=":host{--calcite-internal-table-header-background:var(--calcite-table-header-background, var(--calcite-ui-foreground-2));--calcite-internal-table-header-border-color:var(--calcite-table-border-color, var(--calcite-ui-border-3));display:contents}:host([alignment=center]) th{text-align:center}:host([alignment=end]) th{text-align:end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}th{white-space:normal;text-align:start;vertical-align:top;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1);outline-color:transparent;font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-internal-table-header-border-color);border-block-end:1px solid var(--calcite-internal-table-header-border-color);padding-block:calc(var(--calcite-internal-table-cell-padding) * 1.5);padding-inline:var(--calcite-internal-table-cell-padding);background-color:var(--calcite-internal-table-header-background)}th:focus-within{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 )}th.body-row,th.footer-row{vertical-align:middle;border-block-end:0}th.footer-row{border-block-start:1px solid var(--calcite-internal-table-header-border-color)}.cell--multiple-selection{cursor:pointer;vertical-align:middle;color:var(--calcite-ui-text-3)}.number-cell,.selection-cell{color:var(--calcite-ui-text-2);inline-size:2rem;min-inline-size:2rem}.selection-cell calcite-icon.active{color:var(--calcite-ui-brand)}.number-cell calcite-icon,.selection-cell calcite-icon{margin-inline-start:auto;margin-inline-end:auto;vertical-align:middle}.heading{color:var(--calcite-ui-text-1)}.description{color:var(--calcite-ui-text-3);font-size:var(--calcite-internal-table-cell-font-size-secondary)}";export{f as calcite_table_cell,x as calcite_table_header}
|
@@ -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 i,h as e,F as n,H as o,g as r}from"./p-91c78d98.js";import{s,a}from"./p-
|
6
|
+
import{r as t,c as i,h as e,F as n,H as o,g as r}from"./p-91c78d98.js";import{s,a}from"./p-4b9ba22d.js";import{c,s as l,a as h}from"./p-3a668467.js";import{C as d}from"./p-3760847f.js";import{u,c as v,s as m,d as p}from"./p-29120ecd.js";import{c as b,d as f}from"./p-bf9d3381.js";import"./p-361b44ed.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 g="dropdown-action",x="hover-href-icon",y="icon",w="icon--breadcrumb",k="icon--dropdown",z="icon--end",I="icon--start",j=class{constructor(e){t(this,e),this.calciteInternalMenuItemKeyEvent=i(this,"calciteInternalMenuItemKeyEvent",7),this.calciteMenuItemSelect=i(this,"calciteMenuItemSelect",7),this.clickHandler=t=>{(this.href&&t.target===this.dropdownActionEl||!this.href&&this.hasSubmenu)&&(this.open=!this.open),this.selectMenuItem(t)},this.handleMenuItemSlotChange=t=>{this.submenuItems=s(t),this.submenuItems.forEach((t=>{t.topLevelMenuLayout||(t.topLevelMenuLayout=this.topLevelMenuLayout)})),this.hasSubmenu=this.submenuItems.length>0},this.keyDownHandler=async t=>{if(" "===t.key||"Enter"===t.key)this.selectMenuItem(t),this.hasSubmenu&&(!this.href||this.href&&t.target===this.dropdownActionEl)&&(this.open=!this.open),t.preventDefault();else if("Escape"===t.key){if(this.open)return void(this.open=!1);this.calciteInternalMenuItemKeyEvent.emit({event:t}),t.preventDefault()}else if("ArrowDown"===t.key||"ArrowUp"===t.key){if(t.preventDefault(),(t.target===this.dropdownActionEl||!this.href)&&this.hasSubmenu&&!this.open&&"horizontal"===this.layout)return void(this.open=!0);this.calciteInternalMenuItemKeyEvent.emit({event:t,children:this.submenuItems,isSubmenuOpen:this.open&&this.hasSubmenu})}else if("ArrowLeft"===t.key)t.preventDefault(),this.calciteInternalMenuItemKeyEvent.emit({event:t,children:this.submenuItems,isSubmenuOpen:!0});else if("ArrowRight"===t.key){if(t.preventDefault(),(t.target===this.dropdownActionEl||!this.href)&&this.hasSubmenu&&!this.open&&"vertical"===this.layout)return void(this.open=!0);this.calciteInternalMenuItemKeyEvent.emit({event:t,children:this.submenuItems,isSubmenuOpen:this.open&&this.hasSubmenu})}},this.active=void 0,this.breadcrumb=void 0,this.href=void 0,this.iconEnd=void 0,this.iconFlipRtl=void 0,this.iconStart=void 0,this.isTopLevelItem=!1,this.label=void 0,this.layout=void 0,this.messageOverrides=void 0,this.messages=void 0,this.open=!1,this.rel=void 0,this.target=void 0,this.text=void 0,this.topLevelMenuLayout=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.hasSubmenu=!1,this.submenuItems=void 0}onMessagesChange(){}effectiveLocaleChange(){u(this,this.effectiveLocale)}async setFocus(){await c(this),this.anchorEl.focus()}handleClickOut(t){"vertical"!==this.topLevelMenuLayout&&this.hasSubmenu&&this.open&&!t.composedPath().includes(this.el)&&(this.open=!1)}handleFocusOut(t){"vertical"===this.topLevelMenuLayout||this.el.contains(t.relatedTarget)||(this.open=!1)}connectedCallback(){b(this),v(this)}async componentWillLoad(){l(this),await m(this)}componentDidLoad(){h(this)}disconnectedCallback(){f(this),p(this)}blurHandler(){this.isFocused=!1}focusHandler(t){const i=t.target;this.isFocused=!0,i.open&&!this.open&&(i.open=!1)}selectMenuItem(t){t.target!==this.dropdownActionEl&&this.calciteMenuItemSelect.emit()}renderIconStart(){return e("calcite-icon",{class:`${y} ${I}`,flipRtl:"start"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconStart,key:I,scale:"s"})}renderIconEnd(){return e("calcite-icon",{class:`${y} ${z}`,flipRtl:"end"===this.iconFlipRtl||"both"===this.iconFlipRtl,icon:this.iconEnd,key:z,scale:"s"})}renderBreadcrumbIcon(t){return e("calcite-icon",{class:`${y} ${w}`,icon:"rtl"===t?"chevron-left":"chevron-right",key:w,scale:"s"})}renderDropdownIcon(t){return e("calcite-icon",{class:`${y} ${k}`,icon:"vertical"===this.topLevelMenuLayout||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":"rtl"===t?"chevron-left":"chevron-right",key:k,scale:"s"})}renderDropdownAction(t){return e("calcite-action",{class:g,icon:"vertical"===this.topLevelMenuLayout||this.isTopLevelItem?this.open?"chevron-up":"chevron-down":"rtl"===t?"chevron-left":"chevron-right",key:g,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,text:this.messages.open,ref:t=>this.dropdownActionEl=t})}renderSubmenuItems(t){return e("calcite-menu",{class:{"dropdown-menu-items":!0,open:this.open,nested:!this.isTopLevelItem,[d.rtl]:"rtl"===t,"dropdown--vertical":"vertical"===this.topLevelMenuLayout},label:this.messages.submenu,layout:"vertical",role:"menu"},e("slot",{name:"submenu-item",onSlotchange:this.handleMenuItemSlotChange}))}renderHrefIcon(t){return e("calcite-icon",{class:x,icon:"rtl"===t?"arrow-left":"arrow-right",key:x,scale:"s"})}renderItemContent(t){const i=this.href&&("vertical"===this.topLevelMenuLayout||!this.isTopLevelItem);return e(n,null,this.iconStart&&this.renderIconStart(),e("div",{class:"text-container"},e("span",null,this.text)),i&&this.renderHrefIcon(t),this.iconEnd&&this.renderIconEnd(),this.breadcrumb?this.renderBreadcrumbIcon(t):null,!this.href&&this.hasSubmenu?this.renderDropdownIcon(t):null)}render(){const t=a(this.el);return e(o,{onBlur:this.blurHandler,onFocus:this.focusHandler},e("li",{class:{container:!0,"parent--vertical":"vertical"===this.topLevelMenuLayout},role:"none"},e("div",{class:"item-content"},e("a",{"aria-current":!!this.isFocused&&"page","aria-expanded":this.open,"aria-haspopup":this.hasSubmenu,"aria-label":this.label,class:{"layout--vertical":"vertical"===this.layout,content:!0},href:this.href,onClick:this.clickHandler,onKeyDown:this.keyDownHandler,rel:this.rel,role:"menuitem",tabIndex:this.isTopLevelItem?0:-1,target:this.target,ref:t=>this.anchorEl=t},this.renderItemContent(t)),this.href&&this.hasSubmenu?this.renderDropdownAction(t):null),this.renderSubmenuItems(t)))}static get assetsDirs(){return["assets"]}get el(){return r(this)}static get watchers(){return{messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};j.style=':host{position:relative;box-sizing:border-box;display:flex;align-items:center;flex-shrink:0}:host .container,:host .item-content,:host .content{min-block-size:3rem}:host([layout=vertical]){inline-size:100%}:host(:not([layout=vertical])){block-size:100%}.container,.item-content{display:flex;block-size:100%;inline-size:100%;flex-direction:row;align-items:stretch}.content{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-ui-foreground-1);padding-inline:1rem;font-size:var(--calcite-font-size-0);color:var(--calcite-ui-text-2);outline:2px solid transparent;outline-offset:2px;text-decoration:none;border-block-end:0.125rem solid transparent;padding-block-start:0.125rem}.content:hover{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-2)}.content:focus{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-2);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 )}.content:active{background-color:var(--calcite-ui-foreground-3);color:var(--calcite-ui-text-1)}.content span{display:inline-flex}.content.layout--vertical{display:flex;inline-size:100%;justify-content:flex-start;padding-block:1rem;border-block-end:0;border-inline-end:0.25rem solid transparent}:host([active]) .content{color:var(--calcite-ui-text-1);border-color:var(--calcite-ui-brand)}:host([active]) .content .icon{--calcite-ui-icon-color:var(--calcite-ui-brand)}:host([layout=vertical]) .content{padding-inline:0.75rem}.icon--start{margin-inline-end:0.75rem}.icon--end{margin-inline-start:0.75rem}:host([layout=vertical]) .icon--end{margin-inline-start:auto;padding-inline-start:0.75rem}.icon--dropdown{position:relative;margin-inline-start:auto;margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-ui-icon-color:var(--calcite-ui-text-3)}:host([layout=vertical]) .icon--end~.icon--dropdown{margin-inline-start:0.75rem}:host([layout=vertical]) .hover-href-icon{padding-inline-start:0.5rem}:host([layout=vertical]) .hover-href-icon~.icon--end{margin-inline-start:0.5rem}:host([layout=vertical]) .hover-href-icon~.icon--breadcrumb{margin-inline-start:0.75rem}.icon--breadcrumb{margin-inline-end:0px;padding-inline-start:0.5rem;--calcite-ui-icon-color:var(--calcite-ui-text-3)}:host([layout=vertical]) .icon--breadcrumb{margin-inline-start:auto}:host([layout=vertical]) .icon--breadcrumb~.icon--dropdown{margin-inline-start:0.5rem}:host([layout=vertical]) .icon--end~.icon--breadcrumb{margin-inline-start:0.5rem}:host([breadcrumb]) .content{padding-inline-end:0.75rem}calcite-action{position:relative;block-size:auto;border-inline-start:1px solid var(--calcite-ui-foreground-1)}calcite-action:after{position:absolute;inset-inline-start:-1px;display:block;inline-size:1px;content:"";inset-block:0.75rem;background-color:var(--calcite-ui-border-3)}calcite-action:hover:after{block-size:100%;inset-block:0}.content:focus~calcite-action,.content:hover~calcite-action{color:var(--calcite-ui-text-1);border-inline-start:1px solid var(--calcite-ui-border-3)}.container:hover .dropdown-action{background-color:var(--calcite-ui-foreground-2)}.dropdown-menu-items{position:absolute;display:none;block-size:auto;min-inline-size:100%;flex-direction:column;overflow:visible;border:1px solid var(--calcite-ui-border-3);background:var(--calcite-ui-foreground-1);inset-block-start:100%;z-index:var(--calcite-app-z-index-dropdown)}.dropdown-menu-items.open{display:block}.dropdown-menu-items.nested{position:absolute;inset-block-start:-1px;transform:translateX(calc(100% - 2px))}.parent--vertical{flex-direction:column}.dropdown--vertical.dropdown-menu-items{position:relative;border-radius:0px;box-shadow:none;inset-block-start:0;transform:none}.dropdown--vertical.dropdown-menu-items:last-of-type{border-inline:0}:host([layout=vertical]:last-of-type) .dropdown-menu-items{border-block-end:0}:host([slot=submenu-item]) .parent--vertical{padding-inline-start:1.5rem}.dropdown-menu-items.nested.calcite--rtl{transform:translateX(calc(-100% + 2px))}.dropdown--vertical.dropdown-menu-items.nested.calcite--rtl{transform:none}.hover-href-icon{position:relative;inset-inline-end:0.25rem;margin-inline-start:auto;opacity:0;transition:all var(--calcite-internal-animation-timing-medium) ease-in-out}.content:focus .hover-href-icon,.content:hover .hover-href-icon{inset-inline-end:-0.25rem;opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{j as calcite_menu_item}
|
@@ -7,5 +7,5 @@ import{f as n}from"./p-91c78d98.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=new WeakMap,e=new WeakMap;function s(n){e.set(n,new Promise((e=>a.set(n,e))))}function t(n){a.get(n)()}function o(n){return e.get(n)}async function r(a){return await o(a),n(a),new Promise((n=>requestAnimationFrame((()=>n()))))}export{t as a,o as b,r as c,s}
|
@@ -3,9 +3,9 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,h as i,g as n,f as a}from"./p-91c78d98.js";import{g as h}from"./p-
|
6
|
+
import{r as t,h as i,g as n,f as a}from"./p-91c78d98.js";import{g as h}from"./p-361b44ed.js";import{c as s}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.
|
11
|
-
*/function e(t,i,n){const a=i[0]-t[0];return a?(3*(i[1]-t[1])/a-n)/2:n}function r(t,i,n,a,h){const[s,e]=t,[r,o]=i,l=(r-s)/3;return`C ${h([s+l,e+l*n]).join(",")} ${h([r-l,o-l*a]).join(",")} ${h([r,o]).join(",")}`}const o=class{constructor(i){t(this,i),this.graphId=`calcite-graph-${h()}`,this.resizeObserver=s("resize",(()=>a(this))),this.data=[],this.colorStops=void 0,this.highlightMin=void 0,this.highlightMax=void 0,this.min=void 0,this.max=void 0}connectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const{data:t,colorStops:n,el:a,highlightMax:h,highlightMin:s,min:o,max:l}=this,
|
10
|
+
* v1.9.0
|
11
|
+
*/function e(t,i,n){const a=i[0]-t[0];return a?(3*(i[1]-t[1])/a-n)/2:n}function r(t,i,n,a,h){const[s,e]=t,[r,o]=i,l=(r-s)/3;return`C ${h([s+l,e+l*n]).join(",")} ${h([r-l,o-l*a]).join(",")} ${h([r,o]).join(",")}`}const o=class{constructor(i){t(this,i),this.graphId=`calcite-graph-${h()}`,this.resizeObserver=s("resize",(()=>a(this))),this.data=[],this.colorStops=void 0,this.highlightMin=void 0,this.highlightMax=void 0,this.min=void 0,this.max=void 0}connectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.observe(this.el)}disconnectedCallback(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect()}render(){const{data:t,colorStops:n,el:a,highlightMax:h,highlightMin:s,min:o,max:l}=this,d=this.graphId,{clientHeight:c,clientWidth:p}=a;if(!t||0===t.length)return i("svg",{"aria-hidden":"true",class:"svg",height:c,preserveAspectRatio:"none",viewBox:`0 0 ${p} ${c}`,width:p});const{min:$,max:g}=function(t){const[i,n]=t[0];return t.reduce((({min:t,max:i},[n,a])=>({min:[Math.min(t[0],n),Math.min(t[1],a)],max:[Math.max(i[0],n),Math.max(i[1],a)]})),{min:[i,n],max:[i,n]})}(t);let m=$,u=g;(o<$[0]||o>$[0])&&(m=[o,0]),(l>g[0]||l<g[0])&&(u=[l,g[1]]);const f=function({width:t,height:i,min:n,max:a}){const h=a[0]-n[0],s=a[1]-n[1];return a=>[(a[0]-n[0])/h*t,i-a[1]/s*i]}({min:m,max:u,width:p,height:c}),[v]=f([s,u[1]]),[x]=f([h,u[1]]),M=function({data:t,min:i,max:n,t:a}){if(0===t.length)return"";const[h,s]=a(t[0]),[o,l]=a(i),[d]=a(n);let c,p,$;const g=t.reduce(((i,n,h)=>{if(p=t[h-2],$=t[h-1],h>1){const t=function(t,i,n){const a=i[0]-t[0],h=n[0]-i[0],s=(i[1]-t[1])/(a||h<0&&0),e=(n[1]-i[1])/(h||a<0&&0),r=(s*h+e*a)/(a+h);return(Math.sign(s)+Math.sign(e))*Math.min(Math.abs(s),Math.abs(e),.5*Math.abs(r))||0}(p,$,n),h=void 0===c?e(p,$,t):c,s=r(p,$,h,t,a);return c=t,`${i} ${s}`}return i}),`M ${o},${l} L ${o},${s} L ${h},${s}`),m=t[t.length-1];return`${g} ${r($,m,c,e($,m,c),a)} L ${d},${l} Z`}({data:t,min:$,max:g,t:f}),k=n?`url(#linear-gradient-${d})`:void 0;return i("svg",{"aria-hidden":"true",class:"svg",height:c,preserveAspectRatio:"none",viewBox:`0 0 ${p} ${c}`,width:p},n?i("defs",null,i("linearGradient",{id:`linear-gradient-${d}`,x1:"0",x2:"1",y1:"0",y2:"0"},n.map((({offset:t,color:n,opacity:a})=>i("stop",{offset:100*t+"%","stop-color":n,"stop-opacity":a}))))):null,void 0!==s?[i("mask",{height:"100%",id:`${d}1`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M 0,0\n L ${v-1},0\n L ${v-1},${c}\n L 0,${c}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${d}2`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${v+1},0\n L ${x-1},0\n L ${x-1},${c}\n L ${v+1}, ${c}\n Z\n `,fill:"white"})),i("mask",{height:"100%",id:`${d}3`,width:"100%",x:"0%",y:"0%"},i("path",{d:`\n M ${x+1},0\n L ${p},0\n L ${p},${c}\n L ${x+1}, ${c}\n Z\n `,fill:"white"})),i("path",{class:"graph-path",d:M,fill:k,mask:`url(#${d}1)`}),i("path",{class:"graph-path--highlight",d:M,fill:k,mask:`url(#${d}2)`}),i("path",{class:"graph-path",d:M,fill:k,mask:`url(#${d}3)`})]:i("path",{class:"graph-path",d:M,fill:k}))}get el(){return n(this)}};o.style=":host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0px;display:block;block-size:100%;inline-size:100%;padding:0px}.svg .graph-path--highlight{fill:var(--calcite-ui-brand);opacity:0.5}:host([hidden]){display:none}[hidden]{display:none}";export{o as calcite_graph}
|
@@ -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,s,n){var m=e+" ";switch(s){case"s":return t||n?"pár sekund":"pár sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?m+(r(e)?"minuty":"minut"):m+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?m+(r(e)?"hodiny":"hodin"):m+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?m+(r(e)?"dny":"dní"):m+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?m+(r(e)?"měsíce":"měsíců"):m+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?m+(r(e)?"roky":"let"):m+"lety"}}var s={name:"cs",weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),months:"leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),monthsShort:"led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".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:"před %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(s,null,!0);export default s;
|
@@ -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{q as n,c as t}from"./p-
|
6
|
+
import{q as n,c as t}from"./p-4b9ba22d.js";import{h as e}from"./p-91c78d98.js";!function(n){function t(n,t,e){throw new n("Failed to execute 'requestSubmit' on 'HTMLFormElement': "+t+".",e)}"function"!=typeof n.requestSubmit&&(n.requestSubmit=function(n){n?(function(n,e){n instanceof HTMLElement||t(TypeError,"parameter 1 is not of type 'HTMLElement'"),"submit"==n.type||t(TypeError,"The specified element is not a submit button"),n.form==e||t(DOMException,"The specified element is not owned by this form element","NotFoundError")}(n,this),n.click()):((n=document.createElement("input")).type="submit",n.hidden=!0,this.appendChild(n),n.click(),this.removeChild(n))})}(HTMLFormElement.prototype);
|
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 o="hidden-form-input";function r(n){return"checked"in n}const i=new WeakMap,s=new WeakSet;function c(n){const{formEl:t}=n;return!!t&&(t.requestSubmit(),!0)}function u(n){n.formEl?.reset()}function f(n){const{el:e,value:o}=n,c=m(n);if(!c||function(n,e){if(t(e.parentElement,"[form]"))return!0;const o="calciteInternalFormComponentRegister";let r=!1;return n.addEventListener(o,(n=>{r=n.composedPath().some((n=>s.has(n))),n.stopPropagation()}),{once:!0}),e.dispatchEvent(new CustomEvent(o,{bubbles:!0,composed:!0})),r}(c,e))return;n.formEl=c,n.defaultValue=o,r(n)&&(n.defaultChecked=n.checked);const u=(n.onFormReset||a).bind(n);c.addEventListener("reset",u),i.set(n.el,u),s.add(e)}function m(e){const{el:o,form:r}=e;return r?n(o,{id:r}):t(o,"form")}function a(){r(this)?this.checked=this.defaultChecked:this.value=this.defaultValue}function l(n){const{el:t,formEl:e}=n;if(!e)return;const o=i.get(t);e.removeEventListener("reset",o),i.delete(t),n.formEl=null,s.delete(t)}function p(n,t){n.defaultValue=t}const d=n=>{n.target.dispatchEvent(new CustomEvent("calciteInternalHiddenInputChange",{bubbles:!0}))},h=n=>n.removeEventListener("change",d);function b(n,t,e){const{defaultValue:o,disabled:i,form:s,name:c,required:u}=n;t.defaultValue=o,t.disabled=i,t.name=c,t.required=u,t.tabIndex=-1,s?t.setAttribute("form",s):t.removeAttribute("form"),r(n)?(t.checked=n.checked,t.defaultChecked=n.defaultChecked,t.value=n.checked?e||"on":""):t.value=e||"",n.syncHiddenFormInput?.(t)}const E=({component:n})=>(function(n){const{el:t,formEl:e,name:r,value:i}=n,{ownerDocument:s}=t,c=t.querySelectorAll(`input[slot="${o}"]`);if(!e||!r)return void c.forEach((n=>{h(n),n.remove()}));const u=Array.isArray(i)?i:[i],f=[],m=new Set;let a;c.forEach((t=>{const e=u.find((n=>n==t.value));null!=e?(m.add(e),b(n,t,e)):f.push(t)})),u.forEach((t=>{if(m.has(t))return;let e=f.pop();e||(e=s.createElement("input"),e.slot=o),a||(a=s.createDocumentFragment()),a.append(e),e.addEventListener("change",d),b(n,e,t)})),a&&t.append(a),f.forEach((n=>{h(n),n.remove()}))}(n),e("slot",{name:o}));export{E as H,p as a,f as c,l as d,m as f,u as r,c as s}
|
@@ -3,15 +3,15 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import{r as t,c as i,h as s,H as e,g as a}from"./p-91c78d98.js";import{d as n,a as r,b as o,i as h,c as l,e as c,f as d}from"./p-
|
6
|
+
import{r as t,c as i,h as s,H as e,g as a}from"./p-91c78d98.js";import{d as n,a as r,b as o,i as h,c as l,e as c,f as d}from"./p-024c2016.js";import{t as p}from"./p-4b9ba22d.js";import{f as u,c as m,d as g,r as v,a as f,F as b}from"./p-53368491.js";import{s as y,c as w,d as x,H as k}from"./p-3db650c2.js";import{c as D,d as z,u as C}from"./p-2ee3afea.js";import{n as I}from"./p-34fb2a6e.js";import{c as A,d as P}from"./p-f52ee45d.js";import{c as j,s as F,a as O}from"./p-3a668467.js";import{n as R,c as E,d as S,a as H}from"./p-bf9d3381.js";import{o as M}from"./p-abc50d38.js";import{g as L,a as Y}from"./p-5f929b73.js";import{c as $,s as B,d as T}from"./p-29120ecd.js";import{c as W,d as q,a as _}from"./p-a47c8ae2.js";import{g as N}from"./p-361b44ed.js";import"./p-3760847f.js";import"./p-a82f35c9.js";import"./p-86f482ca.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.
|
11
|
-
*/const X=class{constructor(s){t(this,s),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.calciteInternalInputInputHandler=t=>{const i=t.target,s=i.value,e=this.parseNumerals(s),a=this.formatNumerals(e);i.value=a;const{year:n}=r(s,this.localeData);if(n&&n.length<4)return;const l=o(s,this.localeData);h(l,this.min,this.max)&&(this.datePickerActiveDate=l)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.dialogId=`date-picker-dialog--${N()}`,this.focusOnOpen=!1,this.lastBlurredInput="none",this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.placeholderTextId=`calcite-input-date-picker-placeholder-${N()}`,this.onInputWrapperClick=()=>{this.range&&"none"!==this.lastBlurredInput&&this.open||(this.open=!this.open),this.lastBlurredInput="none"},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.open=!1,this.lastBlurredInput="none"},this.keyDownHandler=t=>{var i,s;const{defaultPrevented:e,key:a}=t;e||("Enter"===a?(this.commitValue(),this.shouldFocusRangeEnd()?null===(i=this.endInput)||void 0===i||i.setFocus():this.shouldFocusRangeStart()&&(null===(s=this.startInput)||void 0===s||s.setFocus()),y(this)&&(t.preventDefault(),this.restoreInputFocus())):"ArrowDown"===a?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===a&&(this.open=!1,t.preventDefault(),this.restoreInputFocus()))},this.startInputFocus=()=>{this.focusedInput="start"},this.startEndInputFocus=t=>{const i=t.relatedTarget;this.lastBlurredInput=i===this.startInput?"start":i===this.endInput?"end":"none"},this.endInputFocus=()=>{this.focusedInput="end"},this.setFloatingEl=t=>{this.floatingEl=t,m(this,this.referenceEl,this.floatingEl)},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.setDatePickerRef=t=>{this.datePickerEl=t,W(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.handleDateChange=t=>{this.range||(t.stopPropagation(),this.setValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.handleDateRangeChange=t=>{this.range&&(t.stopPropagation(),this.setRangeValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.setInputValue=(t,i="start")=>{const s=this[`${i}Input`];s&&(s.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,s=Array.isArray(i),e=Array.isArray(t);let a=e?l(e?t[0]:null):"";a&&(a=this.getNormalizedDate(a));let n=e?l(e?t[1]:null):"";n&&(n=this.getNormalizedDate(n));const r=a||n?[a,n]:"";if(r===i)return;this.userChangedValue=!0,this.value=r,this.valueAsDate=r?L(r):void 0;const o=this.calciteInputDatePickerChange.emit();o&&o.defaultPrevented&&(this.value=i,s?(this.setInputValue(i[0],"start"),this.setInputValue(i[1],"end")):(this.value=i,this.setInputValue(i)))},this.setValue=t=>{if(this.range)return;const i=this.value;let s=l(t);s=this.getNormalizedDate(s),s!==i&&(this.userChangedValue=!0,this.valueAsDate=s?c(s):void 0,this.value=s||"",this.calciteInputDatePickerChange.emit().defaultPrevented&&(this.value=i,this.setInputValue(i)))},this.commonDateSeparators=[".","-","/"],this.formatNumerals=t=>t?t.split("").map((t=>{var i,s,e;return(null===(i=this.commonDateSeparators)||void 0===i?void 0:i.includes(t))?null===(s=this.localeData)||void 0===s?void 0:s.separator:(null==I?void 0:I.includes(t))?null===(e=null==R?void 0:R.numberFormatter)||void 0===e?void 0:e.format(Number(t)):t})).join(""):"",this.parseNumerals=t=>t?t.split("").map((t=>I.includes(t)?R.delocalize(t):t)).join(""):"",this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.value="",this.flipPlacements=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.messageOverrides=void 0,this.messages=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.open=!1,this.name=void 0,this.numberingSystem=void 0,this.scale="m",this.placement=g,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.datePickerActiveDate=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.focusedInput="start",this.localeData=void 0}handleFocusTrapDisabled(t){this.open&&(t?q(this):_(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;i=Array.isArray(t)?L(t):t?c(t):void 0,this.valueAsDateChangedExternally||i===this.valueAsDate||(this.valueAsDate=i),this.localizeInputValues()}this.userChangedValue=!1}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[l(t[0]),l(t[1])]:l(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}onMinChanged(t){t&&(this.minAsDate=c(t))}onMaxChanged(t){t&&(this.maxAsDate=c(t))}openHandler(t){M(this),this.disabled||this.readOnly?this.open=!1:t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){await j(this),this.el.focus()}async reposition(t=!1){const{floatingEl:i,referenceEl:s,placement:e,overlayPositioning:a,filteredFlipPlacements:n}=this;return v(this,{floatingEl:i,referenceEl:s,overlayPositioning:a,placement:e,flipPlacements:n,type:"menu"},t)}connectedCallback(){D(this),E(this);const{open:t}=this;if(t&&this.openHandler(t),Array.isArray(this.value))this.valueAsDate=L(this.value);else if(this.value)try{this.valueAsDate=c(this.value)}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}else this.range&&this.valueAsDate&&this.setRangeValue(this.valueAsDate);this.min&&(this.minAsDate=c(this.min)),this.max&&(this.maxAsDate=c(this.max)),A(this),w(this),$(this),this.setFilteredPlacements(),this.reposition(!0),R.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.open&&M(this)}async componentWillLoad(){F(this),await Promise.all([this.loadLocaleData(),B(this)]),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){O(this),this.localizeInputValues(),this.reposition(!0)}disconnectedCallback(){q(this),z(this),P(this),x(this),f(this,this.referenceEl,this.floatingEl),S(this),T(this)}componentDidRender(){C(this)}render(){var t,i,a;const{disabled:n,effectiveLocale:r,messages:o,numberingSystem:h,readOnly:l}=this;return R.numberFormatOptions={numberingSystem:h,locale:r,useGrouping:!1},s(e,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler},this.localeData&&s("div",{class:"input-container"},s("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setStartWrapper},s("calcite-input",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-describedby":this.placeholderTextId,"aria-expanded":p(this.open),"aria-haspopup":"dialog",class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:n,icon:"calendar","number-button-type":"none",numberingSystem:h,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.startInputFocus,onFocus:this.startEndInputFocus,placeholder:null===(t=this.localeData)||void 0===t?void 0:t.placeholder,readOnly:l,role:"combobox",scale:this.scale,type:"text",ref:this.setStartInput}),!this.readOnly&&this.renderToggleIcon(this.open&&"start"===this.focusedInput),s("span",{"aria-hidden":"true",class:"assistive-text",id:this.placeholderTextId},"Date Format: ",null===(i=this.localeData)||void 0===i?void 0:i.placeholder)),s("div",{"aria-hidden":p(!this.open),"aria-label":o.chooseDate,"aria-live":"polite","aria-modal":"true",class:{"menu-container":!0,"menu-container--active":this.open},id:this.dialogId,role:"dialog",ref:this.setFloatingEl},s("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[b.animation]:!0,[b.animationActive]:this.open},ref:this.setTransitionEl},s("calcite-date-picker",{activeDate:this.datePickerActiveDate,activeRange:this.focusedInput,headingLevel:this.headingLevel,max:this.max,maxAsDate:this.maxAsDate,messageOverrides:this.messageOverrides,min:this.min,minAsDate:this.minAsDate,numberingSystem:h,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,tabIndex:this.open?void 0:-1,valueAsDate:this.valueAsDate,ref:this.setDatePickerRef}))),this.range&&"horizontal"===this.layout&&s("div",{class:"horizontal-arrow-container"},s("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"l"===this.scale?"m":"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&s("div",{class:"vertical-arrow-container"},s("calcite-icon",{icon:"arrow-down",scale:"l"===this.scale?"m":"s"})),this.range&&s("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setEndWrapper},s("calcite-input",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-expanded":p(this.open),"aria-haspopup":"dialog",class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:n,icon:"calendar","number-button-type":"none",numberingSystem:h,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.endInputFocus,onFocus:this.startEndInputFocus,placeholder:null===(a=this.localeData)||void 0===a?void 0:a.placeholder,readOnly:l,role:"combobox",scale:this.scale,type:"text",ref:this.setEndInput}),!this.readOnly&&this.renderToggleIcon(this.open&&"end"===this.focusedInput))),s(k,{component:this}))}renderToggleIcon(t){return s("span",{class:"toggle-icon"},s("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:s,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?s||e:e||s,requestAnimationFrame((()=>m(this,this.referenceEl,this.floatingEl)))}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){_(this,{onActivate:()=>{this.focusOnOpen&&(this.datePickerEl.setFocus(),this.focusOnOpen=!1)}}),this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit(),q(this),this.restoreInputFocus(),this.focusOnOpen=!1,this.datePickerEl.reset()}commitValue(){const{focusedInput:t,value:i}=this,s=o(this[`${t}Input`].value,this.localeData),e=l(s),a=Array.isArray(i);if(this.range)if(a){if(e===i["start"===t?0:1])return;s?(this.setRangeValue(["start"===t?s:c(i[0]),"end"===t?s:c(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&c(i[0]),"start"===t&&c(i[1])])}else s&&(this.setRangeValue(["start"===t?s:c(i[0]),"end"===t?s:c(i[1])]),this.localizeInputValues());else{if(e===i)return;this.setValue(s),this.localizeInputValues()}}async loadLocaleData(){R.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await Y(this.effectiveLocale),this.localizeInputValues()}shouldFocusRangeStart(){return!(!this.value[1]||this.value[0]||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.value[0]||this.value[1]||"start"!==this.focusedInput||!this.endInput)}restoreInputFocus(){this.range?("start"===this.focusedInput?this.startInput:this.endInput).setFocus():this.startInput.setFocus()}localizeInputValues(){var t;const i=d(this.range?Array.isArray(this.valueAsDate)&&this.valueAsDate[0]||void 0:this.valueAsDate,this.minAsDate,this.maxAsDate),s=this.range?d(Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0,this.minAsDate,this.maxAsDate):null,e={numberingSystem:H},a=i&&this.formatNumerals(i.toLocaleDateString(this.effectiveLocale,e)),n=s&&this.formatNumerals(s.toLocaleDateString(this.effectiveLocale,e));this.setInputValue(null!=a?a:"","start"),this.setInputValue(null!==(t=this.range&&n)&&void 0!==t?t:"","end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "YYYY-MM-DD".`)}getNormalizedDate(t){if(!t)return"";if(!
|
10
|
+
* v1.9.0
|
11
|
+
*/const X=class{constructor(s){t(this,s),this.calciteInputDatePickerChange=i(this,"calciteInputDatePickerChange",6),this.calciteInputDatePickerBeforeClose=i(this,"calciteInputDatePickerBeforeClose",6),this.calciteInputDatePickerClose=i(this,"calciteInputDatePickerClose",6),this.calciteInputDatePickerBeforeOpen=i(this,"calciteInputDatePickerBeforeOpen",6),this.calciteInputDatePickerOpen=i(this,"calciteInputDatePickerOpen",6),this.calciteInternalInputInputHandler=t=>{const i=t.target,s=i.value,e=this.parseNumerals(s),a=this.formatNumerals(e);i.value=a;const{year:n}=r(s,this.localeData);if(n&&n.length<4)return;const l=o(s,this.localeData);h(l,this.min,this.max)&&(this.datePickerActiveDate=l)},this.calciteInternalInputBlurHandler=()=>{this.commitValue()},this.dialogId=`date-picker-dialog--${N()}`,this.focusOnOpen=!1,this.lastBlurredInput="none",this.userChangedValue=!1,this.openTransitionProp="opacity",this.valueAsDateChangedExternally=!1,this.placeholderTextId=`calcite-input-date-picker-placeholder-${N()}`,this.onInputWrapperClick=()=>{this.range&&"none"!==this.lastBlurredInput&&this.open||(this.open=!this.open),this.lastBlurredInput="none"},this.setFilteredPlacements=()=>{const{el:t,flipPlacements:i}=this;this.filteredFlipPlacements=i?u(i,t):null},this.setTransitionEl=t=>{this.transitionEl=t},this.setStartInput=t=>{this.startInput=t},this.setEndInput=t=>{this.endInput=t},this.deactivate=()=>{this.open=!1,this.lastBlurredInput="none"},this.keyDownHandler=t=>{var i,s;const{defaultPrevented:e,key:a}=t;e||("Enter"===a?(this.commitValue(),this.shouldFocusRangeEnd()?null===(i=this.endInput)||void 0===i||i.setFocus():this.shouldFocusRangeStart()&&(null===(s=this.startInput)||void 0===s||s.setFocus()),y(this)&&(t.preventDefault(),this.restoreInputFocus())):"ArrowDown"===a?(this.open=!0,this.focusOnOpen=!0,t.preventDefault()):"Escape"===a&&(this.open=!1,t.preventDefault(),this.restoreInputFocus()))},this.startInputFocus=()=>{this.focusedInput="start"},this.startEndInputFocus=t=>{const i=t.relatedTarget;this.lastBlurredInput=i===this.startInput?"start":i===this.endInput?"end":"none"},this.endInputFocus=()=>{this.focusedInput="end"},this.setFloatingEl=t=>{this.floatingEl=t,m(this,this.referenceEl,this.floatingEl)},this.setStartWrapper=t=>{this.startWrapper=t,this.setReferenceEl()},this.setEndWrapper=t=>{this.endWrapper=t,this.setReferenceEl()},this.setDatePickerRef=t=>{this.datePickerEl=t,W(this,{focusTrapEl:t,focusTrapOptions:{initialFocus:!1,setReturnFocus:!1}})},this.handleDateChange=t=>{this.range||(t.stopPropagation(),this.setValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.handleDateRangeChange=t=>{this.range&&(t.stopPropagation(),this.setRangeValue(t.target.valueAsDate),this.localizeInputValues(),this.restoreInputFocus())},this.setInputValue=(t,i="start")=>{const s=this[`${i}Input`];s&&(s.value=t)},this.setRangeValue=t=>{if(!this.range)return;const{value:i}=this,s=Array.isArray(i),e=Array.isArray(t);let a=e?l(e?t[0]:null):"";a&&(a=this.getNormalizedDate(a));let n=e?l(e?t[1]:null):"";n&&(n=this.getNormalizedDate(n));const r=a||n?[a,n]:"";if(r===i)return;this.userChangedValue=!0,this.value=r,this.valueAsDate=r?L(r):void 0;const o=this.calciteInputDatePickerChange.emit();o&&o.defaultPrevented&&(this.value=i,s?(this.setInputValue(i[0],"start"),this.setInputValue(i[1],"end")):(this.value=i,this.setInputValue(i)))},this.setValue=t=>{if(this.range)return;const i=this.value;let s=l(t);s=this.getNormalizedDate(s),s!==i&&(this.userChangedValue=!0,this.valueAsDate=s?c(s):void 0,this.value=s||"",this.calciteInputDatePickerChange.emit().defaultPrevented&&(this.value=i,this.setInputValue(i)))},this.commonDateSeparators=[".","-","/"],this.formatNumerals=t=>t?t.split("").map((t=>{var i,s,e;return(null===(i=this.commonDateSeparators)||void 0===i?void 0:i.includes(t))?null===(s=this.localeData)||void 0===s?void 0:s.separator:(null==I?void 0:I.includes(t))?null===(e=null==R?void 0:R.numberFormatter)||void 0===e?void 0:e.format(Number(t)):t})).join(""):"",this.parseNumerals=t=>t?t.split("").map((t=>I.includes(t)?R.delocalize(t):t)).join(""):"",this.disabled=!1,this.focusTrapDisabled=!1,this.form=void 0,this.readOnly=!1,this.value="",this.flipPlacements=void 0,this.headingLevel=void 0,this.valueAsDate=void 0,this.messageOverrides=void 0,this.messages=void 0,this.minAsDate=void 0,this.maxAsDate=void 0,this.min=void 0,this.max=void 0,this.open=!1,this.name=void 0,this.numberingSystem=void 0,this.scale="m",this.status="idle",this.placement=g,this.range=!1,this.required=!1,this.overlayPositioning="absolute",this.proximitySelectionDisabled=!1,this.layout="horizontal",this.datePickerActiveDate=void 0,this.defaultMessages=void 0,this.effectiveLocale="",this.focusedInput="start",this.localeData=void 0}handleFocusTrapDisabled(t){this.open&&(t?q(this):_(this))}handleDisabledAndReadOnlyChange(t){t||(this.open=!1)}valueWatcher(t){if(!this.userChangedValue){let i;i=Array.isArray(t)?L(t):t?c(t):void 0,this.valueAsDateChangedExternally||i===this.valueAsDate||(this.valueAsDate=i),this.localizeInputValues()}this.userChangedValue=!1}valueAsDateWatcher(t){this.datePickerActiveDate=t;const i=this.range&&Array.isArray(t)?[l(t[0]),l(t[1])]:l(t);this.value!==i&&(this.valueAsDateChangedExternally=!0,this.value=i,this.valueAsDateChangedExternally=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}onMessagesChange(){}onMinChanged(t){t&&(this.minAsDate=c(t))}onMaxChanged(t){t&&(this.maxAsDate=c(t))}openHandler(t){M(this),this.disabled||this.readOnly?this.open=!1:t&&this.reposition(!0)}overlayPositioningHandler(){this.reposition(!0)}calciteDaySelectHandler(){this.shouldFocusRangeStart()||this.shouldFocusRangeEnd()||(this.open=!1)}async setFocus(){await j(this),this.el.focus()}async reposition(t=!1){const{floatingEl:i,referenceEl:s,placement:e,overlayPositioning:a,filteredFlipPlacements:n}=this;return v(this,{floatingEl:i,referenceEl:s,overlayPositioning:a,placement:e,flipPlacements:n,type:"menu"},t)}connectedCallback(){D(this),E(this);const{open:t}=this;if(t&&this.openHandler(t),Array.isArray(this.value))this.valueAsDate=L(this.value);else if(this.value)try{this.valueAsDate=c(this.value)}catch(t){this.warnAboutInvalidValue(this.value),this.value=""}else this.range&&this.valueAsDate&&this.setRangeValue(this.valueAsDate);this.min&&(this.minAsDate=c(this.min)),this.max&&(this.maxAsDate=c(this.max)),A(this),w(this),$(this),this.setFilteredPlacements(),this.reposition(!0),R.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.open&&M(this)}async componentWillLoad(){F(this),await Promise.all([this.loadLocaleData(),B(this)]),this.onMinChanged(this.min),this.onMaxChanged(this.max)}componentDidLoad(){O(this),this.localizeInputValues(),this.reposition(!0)}disconnectedCallback(){q(this),z(this),P(this),x(this),f(this,this.referenceEl,this.floatingEl),S(this),T(this)}componentDidRender(){C(this)}render(){var t,i,a;const{disabled:n,effectiveLocale:r,messages:o,numberingSystem:h,readOnly:l}=this;return R.numberFormatOptions={numberingSystem:h,locale:r,useGrouping:!1},s(e,{onBlur:this.deactivate,onKeyDown:this.keyDownHandler},this.localeData&&s("div",{class:"input-container"},s("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setStartWrapper},s("calcite-input",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-describedby":this.placeholderTextId,"aria-expanded":p(this.open),"aria-haspopup":"dialog",class:"input "+("vertical"===this.layout&&this.range?"no-bottom-border":""),disabled:n,icon:"calendar","number-button-type":"none",numberingSystem:h,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.startInputFocus,onFocus:this.startEndInputFocus,placeholder:null===(t=this.localeData)||void 0===t?void 0:t.placeholder,readOnly:l,role:"combobox",scale:this.scale,status:this.status,type:"text",ref:this.setStartInput}),!this.readOnly&&this.renderToggleIcon(this.open&&"start"===this.focusedInput),s("span",{"aria-hidden":"true",class:"assistive-text",id:this.placeholderTextId},"Date Format: ",null===(i=this.localeData)||void 0===i?void 0:i.placeholder)),s("div",{"aria-hidden":p(!this.open),"aria-label":o.chooseDate,"aria-live":"polite","aria-modal":"true",class:{"menu-container":!0,"menu-container--active":this.open},id:this.dialogId,role:"dialog",ref:this.setFloatingEl},s("div",{class:{"calendar-picker-wrapper":!0,"calendar-picker-wrapper--end":"end"===this.focusedInput,[b.animation]:!0,[b.animationActive]:this.open},ref:this.setTransitionEl},s("calcite-date-picker",{activeDate:this.datePickerActiveDate,activeRange:this.focusedInput,headingLevel:this.headingLevel,max:this.max,maxAsDate:this.maxAsDate,messageOverrides:this.messageOverrides,min:this.min,minAsDate:this.minAsDate,numberingSystem:h,onCalciteDatePickerChange:this.handleDateChange,onCalciteDatePickerRangeChange:this.handleDateRangeChange,proximitySelectionDisabled:this.proximitySelectionDisabled,range:this.range,scale:this.scale,tabIndex:this.open?void 0:-1,valueAsDate:this.valueAsDate,ref:this.setDatePickerRef}))),this.range&&"horizontal"===this.layout&&s("div",{class:"horizontal-arrow-container"},s("calcite-icon",{flipRtl:!0,icon:"arrow-right",scale:"l"===this.scale?"m":"s"})),this.range&&"vertical"===this.layout&&"s"!==this.scale&&s("div",{class:"vertical-arrow-container"},s("calcite-icon",{icon:"arrow-down",scale:"l"===this.scale?"m":"s"})),this.range&&s("div",{class:"input-wrapper",onClick:this.onInputWrapperClick,ref:this.setEndWrapper},s("calcite-input",{"aria-autocomplete":"none","aria-controls":this.dialogId,"aria-expanded":p(this.open),"aria-haspopup":"dialog",class:{input:!0,"border-top-color-one":"vertical"===this.layout&&this.range},disabled:n,icon:"calendar","number-button-type":"none",numberingSystem:h,onCalciteInputInput:this.calciteInternalInputInputHandler,onCalciteInternalInputBlur:this.calciteInternalInputBlurHandler,onCalciteInternalInputFocus:this.endInputFocus,onFocus:this.startEndInputFocus,placeholder:null===(a=this.localeData)||void 0===a?void 0:a.placeholder,readOnly:l,role:"combobox",scale:this.scale,status:this.status,type:"text",ref:this.setEndInput}),!this.readOnly&&this.renderToggleIcon(this.open&&"end"===this.focusedInput))),s(k,{component:this}))}renderToggleIcon(t){return s("span",{class:"toggle-icon"},s("calcite-icon",{icon:t?"chevron-up":"chevron-down",scale:"s"}))}setReferenceEl(){const{focusedInput:t,layout:i,endWrapper:s,startWrapper:e}=this;this.referenceEl="end"===t||"vertical"===i?s||e:e||s,requestAnimationFrame((()=>m(this,this.referenceEl,this.floatingEl)))}onLabelClick(){this.setFocus()}onBeforeOpen(){this.calciteInputDatePickerBeforeOpen.emit()}onOpen(){_(this,{onActivate:()=>{this.focusOnOpen&&(this.datePickerEl.setFocus(),this.focusOnOpen=!1)}}),this.calciteInputDatePickerOpen.emit()}onBeforeClose(){this.calciteInputDatePickerBeforeClose.emit()}onClose(){this.calciteInputDatePickerClose.emit(),q(this),this.restoreInputFocus(),this.focusOnOpen=!1,this.datePickerEl.reset()}commitValue(){const{focusedInput:t,value:i}=this,s=o(this[`${t}Input`].value,this.localeData),e=l(s),a=Array.isArray(i);if(this.range)if(a){if(e===i["start"===t?0:1])return;s?(this.setRangeValue(["start"===t?s:c(i[0]),"end"===t?s:c(i[1])]),this.localizeInputValues()):this.setRangeValue(["end"===t&&c(i[0]),"start"===t&&c(i[1])])}else s&&(this.setRangeValue(["start"===t?s:c(i[0]),"end"===t?s:c(i[1])]),this.localizeInputValues());else{if(e===i)return;this.setValue(s),this.localizeInputValues()}}async loadLocaleData(){R.numberFormatOptions={numberingSystem:this.numberingSystem,locale:this.effectiveLocale,useGrouping:!1},this.localeData=await Y(this.effectiveLocale),this.localizeInputValues()}shouldFocusRangeStart(){return!(!this.value[1]||this.value[0]||"end"!==this.focusedInput||!this.startInput)}shouldFocusRangeEnd(){return!(!this.value[0]||this.value[1]||"start"!==this.focusedInput||!this.endInput)}restoreInputFocus(){this.range?("start"===this.focusedInput?this.startInput:this.endInput).setFocus():this.startInput.setFocus()}localizeInputValues(){var t;const i=d(this.range?Array.isArray(this.valueAsDate)&&this.valueAsDate[0]||void 0:this.valueAsDate,this.minAsDate,this.maxAsDate),s=this.range?d(Array.isArray(this.valueAsDate)&&this.valueAsDate[1]||void 0,this.minAsDate,this.maxAsDate):null,e={numberingSystem:H},a=i&&this.formatNumerals(i.toLocaleDateString(this.effectiveLocale,e)),n=s&&this.formatNumerals(s.toLocaleDateString(this.effectiveLocale,e));this.setInputValue(null!=a?a:"","start"),this.setInputValue(null!==(t=this.range&&n)&&void 0!==t?t:"","end")}warnAboutInvalidValue(t){console.warn(`The specified value "${t}" does not conform to the required format, "YYYY-MM-DD".`)}getNormalizedDate(t){if(!t)return"";if(!
|
12
12
|
/*!
|
13
13
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
14
14
|
* See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
|
15
|
-
* v1.
|
15
|
+
* v1.9.0
|
16
16
|
*/
|
17
17
|
function(t){if(!t)return!1;const{year:i}=n(t);return Number(i)<100}(t))return t;const{day:i,month:s,year:e}=n(t);return`${function(t){const i=(new Date).getFullYear();return 100*Math.floor(i/100)+t}(Number(e))}-${s}-${i}`}static get delegatesFocus(){return!0}static get assetsDirs(){return["assets"]}get el(){return a(this)}static get watchers(){return{focusTrapDisabled:["handleFocusTrapDisabled"],disabled:["handleDisabledAndReadOnlyChange"],readOnly:["handleDisabledAndReadOnlyChange"],value:["valueWatcher"],valueAsDate:["valueAsDateWatcher"],flipPlacements:["flipPlacementsHandler"],messageOverrides:["onMessagesChange"],min:["onMinChanged"],max:["onMaxChanged"],open:["openHandler"],overlayPositioning:["overlayPositioningHandler"],layout:["setReferenceEl"],focusedInput:["setReferenceEl"],effectiveLocale:["loadLocaleData"]}}};X.style=":host{--calcite-icon-size:1rem;--calcite-spacing-eighth:0.125rem;--calcite-spacing-quarter:0.25rem;--calcite-spacing-half:0.5rem;--calcite-spacing-three-quarters:0.75rem;--calcite-spacing:1rem;--calcite-spacing-plus-quarter:1.25rem;--calcite-spacing-plus-half:1.5rem;--calcite-spacing-double:2rem;--calcite-menu-min-width:10rem;--calcite-header-min-height:3rem;--calcite-footer-min-height:3rem}: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:inline-block;inline-size:100%;overflow:visible;vertical-align:top;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host .menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}:host .menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}:host .menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}:host .menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}:host .menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}:host .menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([scale=s]){--calcite-toggle-spacing:0.5rem}:host([scale=m]){--calcite-toggle-spacing:0.75rem}:host([scale=l]){--calcite-toggle-spacing:1rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.calendar-picker-wrapper{position:static;inline-size:100%;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transform:translate3d(0, 0, 0)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;inline-size:1rem;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}:host([range]) .input-container{display:flex}:host([range]) .input-wrapper{flex:1 1 auto}:host([range]) .horizontal-arrow-container{display:flex;align-items:center;border-width:1px;border-inline-start-width:0px;border-inline-end-width:0px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-background);padding-block:0px;padding-inline:0.25rem}:host([range][layout=vertical]) .input-wrapper{inline-size:100%}:host([range][layout=vertical]) .input-container{flex-direction:column;align-items:flex-start}:host([range][layout=vertical]) .calendar-picker-wrapper--end{transform:translate3d(0, 0, 0)}:host([range][layout=vertical]) .vertical-arrow-container{inset-block-start:1.5rem;position:absolute;z-index:var(--calcite-app-z-index);margin-inline:1px;background-color:var(--calcite-ui-foreground-1);padding-inline:0.625rem;inset-inline-start:0}:host([scale=s][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:216px}:host([scale=m][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:286px}:host([scale=l][range]:not([layout=vertical])) .calendar-picker-wrapper{inline-size:398px}.menu-container{--calcite-floating-ui-z-index:var(--calcite-app-z-index-dropdown);display:block;position:absolute;z-index:var(--calcite-floating-ui-z-index);visibility:hidden}.menu-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:var(--calcite-app-z-index);border-radius:0.25rem}.menu-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.menu-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.menu-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.menu-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.menu-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;transform:translate(0)}:host([open]) .menu-container{visibility:visible}.menu-container--active{visibility:visible}.input .calcite-input__wrapper{margin-block-start:0px}:host([range][layout=vertical][scale=m]) .vertical-arrow-container{inset-block-start:1.5rem;padding-inline-start:0.75rem}:host([range][layout=vertical][scale=m]) .vertical-arrow-container calcite-icon{block-size:0.75rem;inline-size:0.75rem;min-inline-size:0px}:host([range][layout=vertical][scale=l]) .vertical-arrow-container{inset-block-start:2.25rem;padding-inline:0.875rem}:host([range][layout=vertical][open]) .vertical-arrow-container{display:none}::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}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}";export{X as calcite_input_date_picker}
|
@@ -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,H as s,g as l}from"./p-91c78d98.js";import{s as a,a as n}from"./p-
|
6
|
+
import{r as i,c as t,h as e,H as s,g as l}from"./p-91c78d98.js";import{s as a,a as n}from"./p-3a668467.js";import{u as o,s as r,c,d}from"./p-29120ecd.js";import{n as h,c as v,d as u}from"./p-bf9d3381.js";import{g as b}from"./p-86f482ca.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.
|
11
|
-
*/const p=class{constructor(e){i(this,e),this.calciteTableSelect=t(this,"calciteTableSelect",6),this.calciteTablePageChange=t(this,"calciteTablePageChange",6),this.calciteInternalTableRowFocusChange=t(this,"calciteInternalTableRowFocusChange",6),this.getSlottedRows=i=>{var t;return null===(t=null==i?void 0:i.assignedElements({flatten:!0}))||void 0===t?void 0:t.filter((i=>null==i?void 0:i.matches("calcite-table-row")))},this.updateRows=()=>{var i,t,e;const s=this.getSlottedRows(this.tableHeadSlotEl)||[],l=this.getSlottedRows(this.tableBodySlotEl)||[],a=this.getSlottedRows(this.tableFootSlotEl)||[],n=[...s,...l,...a];null==s||s.forEach((i=>{const t=null==s?void 0:s.indexOf(i);i.rowType="head",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==l||l.forEach((i=>{const t=null==l?void 0:l.indexOf(i);i.rowType="body",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==a||a.forEach((i=>{const t=null==a?void 0:a.indexOf(i);i.rowType="foot",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==n||n.forEach((i=>{i.selectionMode=this.selectionMode,i.bodyRowCount=null==l?void 0:l.length,i.positionAll=null==n?void 0:n.indexOf(i),i.numbered=this.numbered,i.scale=this.scale,i.readCellContentsToAT=this.readCellContentsToAT}));const o=(null===(i=s[0])||void 0===i?void 0:i.cellCount)||(null===(e=null===(t=s[0])||void 0===t?void 0:t.querySelectorAll("calcite-table-header"))||void 0===e?void 0:e.length);this.colCount=o,this.headRows=s,this.bodyRows=l,this.footRows=a,this.allRows=n,this.updateSelectedItems(),this.paginateRows()},this.handlePaginationChange=()=>{var i;const t=null===(i=this.paginationEl)||void 0===i?void 0:i.startItem;this.pageStartRow=t||1,this.calciteTablePageChange.emit(),this.updateRows()},this.paginateRows=()=>{var i;null===(i=this.bodyRows)||void 0===i||i.forEach((i=>{const t=i.positionSection+1;i.hidden=this.pageSize>0&&!(t>=this.pageStartRow&&t<this.pageStartRow+this.pageSize)&&!this.footRows.includes(i)}))},this.updateSelectedItems=i=>{var t,e;const s=null===(t=this.bodyRows)||void 0===t?void 0:t.filter((i=>i.selected));this.selectedItems=s,this.selectedCount=null==s?void 0:s.length,null===(e=this.allRows)||void 0===e||e.forEach((i=>{i.selectedRowCount=this.selectedCount,i.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)})),i&&this.calciteTableSelect.emit()},this.handleDeselectAllRows=()=>{var i;null===(i=this.bodyRows)||void 0===i||i.forEach((i=>{i.selected=!1})),this.updateSelectedItems(!0)},this.setSelectedItems=i=>{var t;null===(t=this.bodyRows)||void 0===t||t.forEach((t=>{var e;t.selected="head"===(null==i?void 0:i.rowType)?this.selectedCount!==(null===(e=this.bodyRows)||void 0===e?void 0:e.length):i===t?!t.selected:"multiple"===this.selectionMode&&t.selected})),this.updateSelectedItems(!0)},this.localizeNumber=i=>(h.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},h.localize(i.toString())),this.bordered=!1,this.caption=void 0,this.groupSeparator=!1,this.layout="auto",this.numbered=!1,this.numberingSystem=void 0,this.pageSize=0,this.scale="m",this.selectionMode="none",this.zebra=!1,this.selectedItems=[],this.messages=void 0,this.messageOverrides=void 0,this.colCount=0,this.pageStartRow=1,this.selectedCount=0,this.readCellContentsToAT=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}handleNumberedChange(){this.updateRows()}onMessagesChange(){}effectiveLocaleChange(){o(this,this.effectiveLocale)}async componentWillLoad(){a(this),await r(this),this.readCellContentsToAT=/safari/i.test(b()),this.updateRows()}componentDidLoad(){n(this)}connectedCallback(){v(this),c(this)}disconnectedCallback(){u(this),d(this)}calciteChipSelectListener(i){i.composedPath().includes(this.el)&&this.setSelectedItems(i.target)}calciteInternalTableRowFocusEvent(i){var t,e,s,l,a,n,o,r,c;const d=i.detail.cellPosition,h=i.detail.rowPosition,v=i.detail.destination,u=i.detail.lastCell,b=null===(t=this.bodyRows)||void 0===t?void 0:t.filter((i=>!i.hidden)),p=null===(e=this.allRows)||void 0===e?void 0:e.filter((i=>!i.hidden)),
|
10
|
+
* v1.9.0
|
11
|
+
*/const p=class{constructor(e){i(this,e),this.calciteTableSelect=t(this,"calciteTableSelect",6),this.calciteTablePageChange=t(this,"calciteTablePageChange",6),this.calciteInternalTableRowFocusChange=t(this,"calciteInternalTableRowFocusChange",6),this.getSlottedRows=i=>{var t;return null===(t=null==i?void 0:i.assignedElements({flatten:!0}))||void 0===t?void 0:t.filter((i=>null==i?void 0:i.matches("calcite-table-row")))},this.updateRows=()=>{var i,t,e;const s=this.getSlottedRows(this.tableHeadSlotEl)||[],l=this.getSlottedRows(this.tableBodySlotEl)||[],a=this.getSlottedRows(this.tableFootSlotEl)||[],n=[...s,...l,...a];null==s||s.forEach((i=>{const t=null==s?void 0:s.indexOf(i);i.rowType="head",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==l||l.forEach((i=>{const t=null==l?void 0:l.indexOf(i);i.rowType="body",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==a||a.forEach((i=>{const t=null==a?void 0:a.indexOf(i);i.rowType="foot",i.positionSection=t,i.positionSectionLocalized=this.localizeNumber((t+1).toString())})),null==n||n.forEach((i=>{i.selectionMode=this.selectionMode,i.bodyRowCount=null==l?void 0:l.length,i.positionAll=null==n?void 0:n.indexOf(i),i.numbered=this.numbered,i.scale=this.scale,i.readCellContentsToAT=this.readCellContentsToAT}));const o=(null===(i=s[0])||void 0===i?void 0:i.cellCount)||(null===(e=null===(t=s[0])||void 0===t?void 0:t.querySelectorAll("calcite-table-header"))||void 0===e?void 0:e.length);this.colCount=o,this.headRows=s,this.bodyRows=l,this.footRows=a,this.allRows=n,this.updateSelectedItems(),this.paginateRows()},this.handlePaginationChange=()=>{var i;const t=null===(i=this.paginationEl)||void 0===i?void 0:i.startItem;this.pageStartRow=t||1,this.calciteTablePageChange.emit(),this.updateRows()},this.paginateRows=()=>{var i;null===(i=this.bodyRows)||void 0===i||i.forEach((i=>{const t=i.positionSection+1;i.hidden=this.pageSize>0&&!(t>=this.pageStartRow&&t<this.pageStartRow+this.pageSize)&&!this.footRows.includes(i)}))},this.updateSelectedItems=i=>{var t,e;const s=null===(t=this.bodyRows)||void 0===t?void 0:t.filter((i=>i.selected));this.selectedItems=s,this.selectedCount=null==s?void 0:s.length,null===(e=this.allRows)||void 0===e||e.forEach((i=>{i.selectedRowCount=this.selectedCount,i.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)})),i&&this.calciteTableSelect.emit()},this.handleDeselectAllRows=()=>{var i;null===(i=this.bodyRows)||void 0===i||i.forEach((i=>{i.selected=!1})),this.updateSelectedItems(!0)},this.setSelectedItems=i=>{var t;null===(t=this.bodyRows)||void 0===t||t.forEach((t=>{var e;t.selected="head"===(null==i?void 0:i.rowType)?this.selectedCount!==(null===(e=this.bodyRows)||void 0===e?void 0:e.length):i===t?!t.selected:"multiple"===this.selectionMode&&t.selected})),this.updateSelectedItems(!0)},this.localizeNumber=i=>(h.numberFormatOptions={locale:this.effectiveLocale,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},h.localize(i.toString())),this.bordered=!1,this.caption=void 0,this.groupSeparator=!1,this.layout="auto",this.numbered=!1,this.numberingSystem=void 0,this.pageSize=0,this.scale="m",this.selectionMode="none",this.zebra=!1,this.selectedItems=[],this.messages=void 0,this.messageOverrides=void 0,this.colCount=0,this.pageStartRow=1,this.selectedCount=0,this.readCellContentsToAT=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}handleNumberedChange(){this.updateRows()}onMessagesChange(){}effectiveLocaleChange(){o(this,this.effectiveLocale)}async componentWillLoad(){a(this),await r(this),this.readCellContentsToAT=/safari/i.test(b()),this.updateRows()}componentDidLoad(){n(this)}connectedCallback(){v(this),c(this)}disconnectedCallback(){u(this),d(this)}calciteChipSelectListener(i){i.composedPath().includes(this.el)&&this.setSelectedItems(i.target)}calciteInternalTableRowFocusEvent(i){var t,e,s,l,a,n,o,r,c;const d=i.detail.cellPosition,h=i.detail.rowPosition,v=i.detail.destination,u=i.detail.lastCell,b=null===(t=this.bodyRows)||void 0===t?void 0:t.filter((i=>!i.hidden)),p=null===(e=this.allRows)||void 0===e?void 0:e.filter((i=>!i.hidden)),f=null===(s=this.headRows[this.headRows.length-1])||void 0===s?void 0:s.positionAll,g=null===(l=b[0])||void 0===l?void 0:l.positionAll,m=null===(a=b[b.length-1])||void 0===a?void 0:a.positionAll,x=null===(n=this.footRows[0])||void 0===n?void 0:n.positionAll,w=null===(o=p[p.length-1])||void 0===o?void 0:o.positionAll,y="next"===v&&h===f,z="previous"===v&&h===x,C="previous"===v&&h===g,k="next"===v&&h===m;let S;switch(v){case"first":S=0;break;case"last":S=w;break;case"next":S=y?g:k?x:h+1;break;case"previous":S=z?m:C?f:h-1}const j=null===(c=null===(r=this.allRows)||void 0===r?void 0:r.find((i=>i.positionAll===S)))||void 0===c?void 0:c.cellCount;void 0!==S&&this.calciteInternalTableRowFocusChange.emit({cellPosition:d>j?j:d,rowPosition:S,destination:v,lastCell:u})}renderSelectionArea(){var i,t,s;const l=null===(t=null===(i=this.selectedItems)||void 0===i?void 0:i.filter((i=>i.hidden)))||void 0===t?void 0:t.length,a=this.localizeNumber(null==l?void 0:l.toString()),n=`${this.localizeNumber(null===(s=this.selectedCount)||void 0===s?void 0:s.toString())} ${this.messages.selected}`,o=`${a} ${this.messages.hiddenSelected}`;return e("div",{class:"selection-area"},e("calcite-chip",{kind:this.selectedCount>0?"brand":"neutral",scale:this.scale,value:n},n),l>0&&e("calcite-chip",{icon:"hide-empty",scale:this.scale,title:o,value:o},a),this.selectedCount>0&&e("calcite-button",{"icon-start":"x",kind:"neutral",onClick:this.handleDeselectAllRows,round:!0,scale:this.scale,title:`${this.messages.clear} ${n} ${this.messages.row}`},this.messages.clear),e("div",{class:"selection-actions"},e("slot",{name:"selection-actions"})))}renderPaginationArea(){var i;return e("div",{class:"pagination-area"},e("calcite-pagination",{groupSeparator:this.groupSeparator,numberingSystem:this.numberingSystem,onCalcitePaginationChange:this.handlePaginationChange,pageSize:this.pageSize,scale:this.scale,startItem:1,totalItems:null===(i=this.bodyRows)||void 0===i?void 0:i.length,ref:i=>this.paginationEl=i}))}renderTHead(){return e("thead",null,e("slot",{name:"table-header",onSlotchange:this.updateRows,ref:i=>this.tableHeadSlotEl=i}))}renderTBody(){return e("tbody",null,e("slot",{onSlotchange:this.updateRows,ref:i=>this.tableBodySlotEl=i}))}renderTFoot(){return e("tfoot",null,e("slot",{name:"table-footer",onSlotchange:this.updateRows,ref:i=>this.tableFootSlotEl=i}))}render(){var i;return e(s,null,e("div",{class:"container"},"none"!==this.selectionMode&&this.renderSelectionArea(),e("div",{class:{bordered:this.bordered,zebra:this.zebra,"table-container":!0}},e("table",{"aria-colcount":this.colCount,"aria-multiselectable":"multiple"===this.selectionMode,"aria-readonly":!0,"aria-rowcount":null===(i=this.allRows)||void 0===i?void 0:i.length,class:{"table--fixed":"fixed"===this.layout},role:"grid"},e("caption",{class:"assistive-text"},this.caption),this.renderTHead(),this.renderTBody(),this.renderTFoot())),this.pageSize>0&&this.renderPaginationArea()))}static get assetsDirs(){return["assets"]}get el(){return l(this)}static get watchers(){return{groupSeparator:["handleNumberedChange"],numbered:["handleNumberedChange"],numberingSystem:["handleNumberedChange"],pageSize:["handleNumberedChange"],scale:["handleNumberedChange"],selectionMode:["handleNumberedChange"],messageOverrides:["onMessagesChange"],effectiveLocale:["effectiveLocaleChange"]}}};p.style=":host([scale=s]){--calcite-internal-table-cell-padding:0.25rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding:0.5rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding:1rem;--calcite-internal-table-cell-font-size:var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary:var(--calcite-font-size--1)}:host{display:table}.container{max-inline-size:100vw;inline-size:100%}.table-container{overflow-x:scroll;white-space:nowrap}.table-container:not(.bordered){border-block-end:1px solid var(--calcite-ui-border-3)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll;border-block-start:1px solid var(--calcite-ui-border-3);border-inline-start:1px solid var(--calcite-ui-border-3);border-block-end:1px solid var(--calcite-ui-border-3)}tbody{border-block-end:1px solid var(--calcite-ui-border-3)}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color:var(--calcite-ui-border-3)}.zebra ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background:var(--calcite-ui-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:0.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:0.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}:host([hidden]){display:none}[hidden]{display:none}";export{p as calcite_table}
|
@@ -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{r as t,c as e,h as i,F as a,g as s}from"./p-91c78d98.js";import{c as o,d as n}from"./p-73c50d50.js";import{g as c,t as r}from"./p-4b9ba22d.js";import{c as l,d,u as h}from"./p-2ee3afea.js";import{s as p,a as m,c as u}from"./p-3a668467.js";import{c as f,d as g}from"./p-bf9d3381.js";import{u as v,c as b,s as x,d as w}from"./p-29120ecd.js";import{I as k}from"./p-3003e56a.js";import{I as y,C as j,S as C}from"./p-1229516f.js";import"./p-efc041d0.js";import"./p-361b44ed.js";import"./p-3760847f.js";import"./p-86f482ca.js";import"./p-34fb2a6e.js";const W=class{constructor(i){t(this,i),this.calciteListItemChange=e(this,"calciteListItemChange",6),this.calciteListItemRemove=e(this,"calciteListItemRemove",7),this.calciteInternalListItemPropsChange=e(this,"calciteInternalListItemPropsChange",6),this.calciteInternalListItemValueChange=e(this,"calciteInternalListItemValueChange",6),this.pickListClickHandler=t=>{this.disabled||this.deselectDisabled&&this.selected||this.nonInteractive||(this.shiftPressed=t.shiftKey,this.selected=!this.selected)},this.pickListKeyDownHandler=t=>{if(" "===t.key){if(t.preventDefault(),this.deselectDisabled&&this.selected||this.nonInteractive)return;this.selected=!this.selected}},this.removeClickHandler=()=>{this.calciteListItemRemove.emit()},this.description=void 0,this.disabled=!1,this.deselectDisabled=!1,this.nonInteractive=!1,this.icon=null,this.iconFlipRtl=!1,this.label=void 0,this.messageOverrides=void 0,this.messages=void 0,this.metadata=void 0,this.removable=!1,this.selected=!1,this.value=void 0,this.defaultMessages=void 0,this.effectiveLocale=""}descriptionWatchHandler(){this.calciteInternalListItemPropsChange.emit()}labelWatchHandler(){this.calciteInternalListItemPropsChange.emit()}onMessagesChange(){}metadataWatchHandler(){this.calciteInternalListItemPropsChange.emit()}selectedWatchHandler(){this.calciteListItemChange.emit({item:this.el,value:this.value,selected:this.selected,shiftPressed:this.shiftPressed}),this.shiftPressed=!1}valueWatchHandler(t,e){this.calciteInternalListItemValueChange.emit({oldValue:e,newValue:t})}effectiveLocaleChange(){v(this,this.effectiveLocale)}connectedCallback(){l(this),f(this),b(this),o(this)}async componentWillLoad(){await x(this),p(this)}componentDidLoad(){m(this)}disconnectedCallback(){d(this),g(this),w(this),n(this)}componentDidRender(){h(this,!!this.el.closest("calcite-pick-list")&&"managed")}async toggleSelected(t){this.selected="boolean"==typeof t?t:!this.selected}async setFocus(){var t;await u(this),null===(t=this.focusEl)||void 0===t||t.focus()}renderIcon(){const{icon:t,iconFlipRtl:e}=this;return t?i("span",{class:{[j.icon]:!0,[j.iconDot]:t===k.circle},onClick:this.pickListClickHandler},t===k.square?i("calcite-icon",{flipRtl:e,icon:y.checked,scale:"s"}):null):null}renderRemoveAction(){return this.removable?i("calcite-action",{class:j.remove,icon:y.remove,onClick:this.removeClickHandler,slot:C.actionsEnd,text:this.messages.remove}):null}renderActionsStart(){const{el:t}=this;return c(t,C.actionsStart)?i("div",{class:{[j.actions]:!0,[j.actionsStart]:!0}},i("slot",{name:C.actionsStart})):null}renderActionsEnd(){const{el:t,removable:e}=this;return c(t,C.actionsEnd)||e?i("div",{class:{[j.actions]:!0,[j.actionsEnd]:!0}},i("slot",{name:C.actionsEnd}),this.renderRemoveAction()):null}render(){const{description:t,label:e}=this;return i(a,null,this.renderIcon(),this.renderActionsStart(),i("label",{"aria-label":e,class:j.label,onClick:this.pickListClickHandler,onKeyDown:this.pickListKeyDownHandler,tabIndex:0,ref:t=>this.focusEl=t},i("div",{"aria-checked":r(this.selected),class:j.textContainer,role:"menuitemcheckbox"},i("span",{class:j.title},e),t?i("span",{class:j.description},t):null)),this.renderActionsEnd())}static get assetsDirs(){return["assets"]}get el(){return s(this)}static get watchers(){return{description:["descriptionWatchHandler"],label:["labelWatchHandler"],defaultMessages:["onMessagesChange"],messageOverrides:["onMessagesChange"],metadata:["metadataWatchHandler"],selected:["selectedWatchHandler"],value:["valueWatchHandler"],effectiveLocale:["effectiveLocaleChange"]}}};W.style='@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{margin:0px;margin-block-end:1px;box-sizing:border-box;display:flex;align-items:stretch;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-ui-text-1);--tw-shadow:0 1px 0 var(--calcite-ui-border-3);--tw-shadow-colored:0 1px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);transition:background-color var(--calcite-animation-timing);animation:calcite-fade-in var(--calcite-animation-timing)}:host *{box-sizing:border-box}.label{display:flex;flex:1 1 auto;cursor:pointer;align-items:center;background-color:transparent;outline-color:transparent}.label: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 )}.label:hover{background-color:var(--calcite-ui-foreground-2)}:host([non-interactive]:hover){background-color:var(--calcite-ui-foreground-1)}:host([non-interactive]) .label,:host([non-interactive]) .icon{pointer-events:none}.icon{margin-block:0px;display:flex;cursor:pointer;align-items:center;padding:0.25rem;color:var(--calcite-ui-brand);flex:0 0 auto;line-height:0}.icon:hover{background-color:var(--calcite-ui-foreground-2)}.icon-dot{display:flex;inline-size:1.5rem;align-items:center;padding:0.5rem}.icon-dot:before{opacity:0;content:"•"}.icon calcite-icon{opacity:0}:host([selected]) .icon-dot:before,:host([selected]) .icon calcite-icon{transition:opacity var(--calcite-animation-timing);opacity:1}.text-container{pointer-events:none;display:flex;flex-direction:column;flex-wrap:nowrap;overflow:hidden;padding-block:0.5rem;padding-inline:0.75rem;font-size:var(--calcite-font-size--2);line-height:1.375;word-wrap:break-word;word-break:break-word}.title{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-1)}.description{margin-block-start:0.125rem;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-ui-text-3)}.actions{margin:0px;display:flex;flex:0 1 auto;align-items:stretch;justify-content:flex-end}.actions--start~.label{padding-inline-start:0.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([hidden]){display:none}[hidden]{display:none}';export{W as calcite_pick_list_item}
|