@esri/calcite-components 1.0.0-next.414 → 1.0.0-next.415
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/p-00009c01.system.entry.js +5 -0
- package/dist/calcite/p-01f877b3.entry.js +5 -0
- package/dist/calcite/p-04708565.system.entry.js +5 -0
- package/dist/calcite/p-04859cc3.entry.js +5 -0
- package/dist/calcite/p-0a565a2a.entry.js +5 -0
- package/dist/calcite/p-18d1b401.system.entry.js +5 -0
- package/dist/calcite/p-18ea4373.system.js +5 -0
- package/dist/calcite/p-190e3d04.entry.js +5 -0
- package/dist/calcite/p-1984c1b1.system.entry.js +5 -0
- package/dist/calcite/p-1ff6776b.entry.js +5 -0
- package/dist/calcite/p-22cef177.entry.js +5 -0
- package/dist/calcite/p-24e1de98.entry.js +5 -0
- package/dist/calcite/p-2f20293c.system.entry.js +5 -0
- package/dist/calcite/p-2fcab9f8.entry.js +5 -0
- package/dist/calcite/p-3119ffce.system.js +5 -0
- package/dist/calcite/p-31c3b490.system.entry.js +5 -0
- package/dist/calcite/p-38b1f6b5.entry.js +5 -0
- package/dist/calcite/p-42d258d4.system.entry.js +5 -0
- package/dist/calcite/p-4392cf25.system.entry.js +5 -0
- package/dist/calcite/p-44032496.system.entry.js +5 -0
- package/dist/calcite/p-45dce037.system.entry.js +5 -0
- package/dist/calcite/p-467318a0.system.entry.js +5 -0
- package/dist/calcite/p-46741fa4.entry.js +5 -0
- package/dist/calcite/p-46c177ec.system.entry.js +5 -0
- package/dist/calcite/p-4a3a1b46.entry.js +5 -0
- package/dist/calcite/p-5653a345.entry.js +5 -0
- package/dist/calcite/p-58274475.system.entry.js +5 -0
- package/dist/calcite/p-5be670bf.system.entry.js +5 -0
- package/dist/calcite/p-5c237680.entry.js +5 -0
- package/dist/calcite/p-5d1c8466.entry.js +5 -0
- package/dist/calcite/p-66a7bd24.system.entry.js +5 -0
- package/dist/calcite/p-7375cf4f.system.entry.js +5 -0
- package/dist/calcite/p-78bb06e5.system.entry.js +5 -0
- package/dist/calcite/p-7ab80118.entry.js +5 -0
- package/dist/calcite/p-807e32d8.entry.js +5 -0
- package/dist/calcite/p-88f949f4.entry.js +5 -0
- package/dist/calcite/p-8afbcf9e.entry.js +5 -0
- package/dist/calcite/p-8bb762f9.system.entry.js +5 -0
- package/dist/calcite/p-8dbb756d.entry.js +5 -0
- package/dist/calcite/p-8e198935.entry.js +5 -0
- package/dist/calcite/p-8f93be14.system.js +1 -1
- package/dist/calcite/p-9127d01c.entry.js +5 -0
- package/dist/calcite/p-93d9d3e7.entry.js +5 -0
- package/dist/calcite/p-98962bd9.entry.js +5 -0
- package/dist/calcite/p-9a69d12a.system.entry.js +5 -0
- package/dist/calcite/{p-fda8b94b.entry.js → p-9b514f77.entry.js} +1 -1
- package/dist/calcite/p-9e56f30f.system.entry.js +5 -0
- package/dist/calcite/p-a400f6dc.system.entry.js +5 -0
- package/dist/calcite/p-a72718b5.system.entry.js +5 -0
- package/dist/calcite/p-b5afe88b.system.entry.js +5 -0
- package/dist/calcite/p-b84e5b34.entry.js +5 -0
- package/dist/calcite/p-bce112c4.system.entry.js +5 -0
- package/dist/calcite/p-bd38ff21.js +5 -0
- package/dist/calcite/p-c5086019.system.entry.js +5 -0
- package/dist/calcite/p-c7f36800.system.entry.js +5 -0
- package/dist/calcite/p-c82c4418.entry.js +5 -0
- package/dist/calcite/{p-bcd705be.system.entry.js → p-c908ce40.system.entry.js} +1 -1
- package/dist/calcite/p-cfb7be80.system.entry.js +5 -0
- package/dist/calcite/p-d74ca1cf.system.entry.js +5 -0
- package/dist/calcite/p-d74e933c.entry.js +5 -0
- package/dist/calcite/p-db73225f.system.entry.js +5 -0
- package/dist/calcite/p-e01879bf.js +5 -0
- package/dist/calcite/p-e33d149d.system.entry.js +5 -0
- package/dist/calcite/p-e8f17533.entry.js +5 -0
- package/dist/calcite/p-ea32a5ac.system.entry.js +5 -0
- package/dist/calcite/p-eaf79f20.entry.js +5 -0
- package/dist/calcite/p-f2433871.entry.js +5 -0
- package/dist/calcite/p-f71b551d.entry.js +5 -0
- package/dist/calcite/p-fa078a42.entry.js +5 -0
- package/dist/cjs/calcite-action.cjs.entry.js +5 -1
- package/dist/cjs/calcite-block_2.cjs.entry.js +14 -5
- package/dist/cjs/calcite-button.cjs.entry.js +5 -1
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -1
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -2
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +17 -2
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +9 -2
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +22 -6
- package/dist/cjs/calcite-fab.cjs.entry.js +10 -1
- package/dist/cjs/calcite-filter.cjs.entry.js +12 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +3 -1
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +10 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +20 -3
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +18 -2
- package/dist/cjs/calcite-input.cjs.entry.js +5 -1
- package/dist/cjs/calcite-label.cjs.entry.js +6 -2
- package/dist/cjs/calcite-link.cjs.entry.js +6 -2
- package/dist/cjs/calcite-list_3.cjs.entry.js +28 -2
- package/dist/cjs/calcite-option_3.cjs.entry.js +5 -1
- package/dist/cjs/calcite-panel.cjs.entry.js +12 -3
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +10 -6
- package/dist/cjs/calcite-radio-button.cjs.entry.js +5 -1
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +6 -2
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -4
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -1
- package/dist/cjs/calcite-split-button.cjs.entry.js +25 -2
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -2
- package/dist/cjs/calcite-switch.cjs.entry.js +5 -8
- package/dist/cjs/calcite-tab_4.cjs.entry.js +6 -3
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +17 -2
- package/dist/cjs/calcite-tile.cjs.entry.js +5 -1
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -7
- package/dist/cjs/calcite.cjs.js +1 -1
- package/dist/cjs/interactive-87406231.js +44 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{resources-415f797b.js → resources-65327c4a.js} +33 -8
- package/dist/collection/components/action/action.css +9 -0
- package/dist/collection/components/action/action.js +4 -0
- package/dist/collection/components/block/block.css +13 -9
- package/dist/collection/components/block/block.js +13 -4
- package/dist/collection/components/button/button.css +15 -2
- package/dist/collection/components/button/button.js +4 -0
- package/dist/collection/components/checkbox/checkbox.css +7 -0
- package/dist/collection/components/checkbox/checkbox.js +4 -0
- package/dist/collection/components/color-picker/color-picker.css +13 -0
- package/dist/collection/components/color-picker/color-picker.js +32 -1
- package/dist/collection/components/combobox/combobox.css +7 -1
- package/dist/collection/components/combobox/combobox.js +14 -0
- package/dist/collection/components/combobox-item/combobox-item.css +13 -0
- package/dist/collection/components/combobox-item/combobox-item.js +4 -0
- package/dist/collection/components/date-picker-day/date-picker-day.css +13 -5
- package/dist/collection/components/date-picker-day/date-picker-day.js +8 -1
- package/dist/collection/components/dropdown/dropdown.css +8 -0
- package/dist/collection/components/dropdown/dropdown.js +23 -5
- package/dist/collection/components/fab/fab.css +13 -0
- package/dist/collection/components/fab/fab.js +9 -0
- package/dist/collection/components/filter/filter.css +13 -0
- package/dist/collection/components/filter/filter.js +11 -3
- package/dist/collection/components/inline-editable/inline-editable.css +12 -0
- package/dist/collection/components/inline-editable/inline-editable.js +9 -7
- package/dist/collection/components/input/input.css +8 -7
- package/dist/collection/components/input/input.js +4 -0
- package/dist/collection/components/input-date-picker/input-date-picker.css +64 -27
- package/dist/collection/components/input-date-picker/input-date-picker.js +21 -2
- package/dist/collection/components/input-time-picker/input-time-picker.css +13 -0
- package/dist/collection/components/input-time-picker/input-time-picker.js +21 -1
- package/dist/collection/components/label/label.css +12 -0
- package/dist/collection/components/label/label.js +9 -2
- package/dist/collection/components/link/link.css +13 -8
- package/dist/collection/components/link/link.js +5 -1
- package/dist/collection/components/list/list.css +13 -0
- package/dist/collection/components/list/list.js +38 -0
- package/dist/collection/components/list-item/list-item.css +8 -0
- package/dist/collection/components/list-item/list-item.js +9 -0
- package/dist/collection/components/panel/panel.css +13 -0
- package/dist/collection/components/panel/panel.js +11 -2
- package/dist/collection/components/pick-list/pick-list.css +13 -0
- package/dist/collection/components/pick-list/pick-list.js +4 -0
- package/dist/collection/components/pick-list/shared-list-logic.js +30 -6
- package/dist/collection/components/pick-list/shared-list-render.js +2 -2
- package/dist/collection/components/pick-list-item/pick-list-item.css +13 -0
- package/dist/collection/components/pick-list-item/pick-list-item.js +5 -4
- package/dist/collection/components/radio-button/radio-button.css +10 -1
- package/dist/collection/components/radio-button/radio-button.js +4 -0
- package/dist/collection/components/radio-group/radio-group.css +13 -5
- package/dist/collection/components/radio-group/radio-group.js +5 -1
- package/dist/collection/components/rating/rating.css +13 -5
- package/dist/collection/components/rating/rating.js +9 -3
- package/dist/collection/components/select/select.css +13 -7
- package/dist/collection/components/select/select.js +4 -0
- package/dist/collection/components/slider/slider.css +8 -0
- package/dist/collection/components/slider/slider.js +2 -0
- package/dist/collection/components/sortable-list/sortable-list.css +13 -0
- package/dist/collection/components/sortable-list/sortable-list.js +4 -0
- package/dist/collection/components/split-button/split-button.css +12 -0
- package/dist/collection/components/split-button/split-button.js +29 -3
- package/dist/collection/components/stepper-item/stepper-item.css +8 -4
- package/dist/collection/components/stepper-item/stepper-item.js +6 -2
- package/dist/collection/components/switch/switch.css +7 -0
- package/dist/collection/components/switch/switch.js +5 -13
- package/dist/collection/components/tab-title/tab-title.css +9 -0
- package/dist/collection/components/tab-title/tab-title.js +6 -3
- package/dist/collection/components/tile/tile.css +17 -1
- package/dist/collection/components/tile/tile.js +4 -0
- package/dist/collection/components/tile-select/tile-select.css +9 -1
- package/dist/collection/components/tile-select/tile-select.js +4 -0
- package/dist/collection/components/tile-select-group/tile-select-group.css +13 -0
- package/dist/collection/components/tile-select-group/tile-select-group.js +31 -1
- package/dist/collection/components/value-list/value-list.css +13 -0
- package/dist/collection/components/value-list/value-list.js +6 -5
- package/dist/collection/components/value-list-item/value-list-item.css +13 -0
- package/dist/collection/components/value-list-item/value-list-item.js +5 -1
- package/dist/collection/utils/interactive.js +42 -0
- package/dist/components/action.js +5 -1
- package/dist/components/button.js +5 -1
- package/dist/components/calcite-block.js +14 -5
- package/dist/components/calcite-color-picker.js +16 -2
- package/dist/components/calcite-combobox-item.js +5 -1
- package/dist/components/calcite-combobox.js +13 -1
- package/dist/components/calcite-fab.js +10 -1
- package/dist/components/calcite-inline-editable.js +10 -8
- package/dist/components/calcite-input-date-picker.js +20 -3
- package/dist/components/calcite-input-time-picker.js +18 -2
- package/dist/components/calcite-list-item.js +10 -1
- package/dist/components/calcite-list.js +20 -1
- package/dist/components/calcite-panel.js +12 -3
- package/dist/components/calcite-pick-list.js +5 -1
- package/dist/components/calcite-radio-button.js +5 -1
- package/dist/components/calcite-radio-group.js +6 -2
- package/dist/components/calcite-rating.js +10 -4
- package/dist/components/calcite-select.js +5 -1
- package/dist/components/calcite-slider.js +3 -1
- package/dist/components/calcite-sortable-list.js +5 -1
- package/dist/components/calcite-split-button.js +26 -3
- package/dist/components/calcite-stepper-item.js +7 -3
- package/dist/components/calcite-tile-select-group.js +14 -1
- package/dist/components/calcite-tile-select.js +5 -1
- package/dist/components/calcite-value-list-item.js +5 -1
- package/dist/components/calcite-value-list.js +7 -6
- package/dist/components/checkbox.js +5 -1
- package/dist/components/date-picker-day.js +9 -2
- package/dist/components/dropdown.js +22 -6
- package/dist/components/filter.js +18 -21
- package/dist/components/input.js +5 -1
- package/dist/components/interactive.js +42 -0
- package/dist/components/label2.js +6 -2
- package/dist/components/link.js +6 -2
- package/dist/components/pick-list-item.js +5 -4
- package/dist/components/shared-list-render.js +33 -9
- package/dist/components/switch.js +5 -9
- package/dist/components/tab-title.js +6 -3
- package/dist/components/tile.js +5 -1
- package/dist/custom-elements/index.js +380 -99
- package/dist/esm/calcite-action.entry.js +5 -1
- package/dist/esm/calcite-block_2.entry.js +14 -5
- package/dist/esm/calcite-button.entry.js +5 -1
- package/dist/esm/calcite-checkbox.entry.js +5 -1
- package/dist/esm/calcite-color-picker_3.entry.js +15 -2
- package/dist/esm/calcite-combobox_3.entry.js +17 -2
- package/dist/esm/calcite-date-picker_4.entry.js +9 -2
- package/dist/esm/calcite-dropdown_3.entry.js +22 -6
- package/dist/esm/calcite-fab.entry.js +10 -1
- package/dist/esm/calcite-filter.entry.js +12 -3
- package/dist/esm/calcite-graph_2.entry.js +3 -1
- package/dist/esm/calcite-inline-editable.entry.js +10 -8
- package/dist/esm/calcite-input-date-picker.entry.js +20 -3
- package/dist/esm/calcite-input-time-picker_2.entry.js +18 -2
- package/dist/esm/calcite-input.entry.js +5 -1
- package/dist/esm/calcite-label.entry.js +6 -2
- package/dist/esm/calcite-link.entry.js +6 -2
- package/dist/esm/calcite-list_3.entry.js +28 -2
- package/dist/esm/calcite-option_3.entry.js +5 -1
- package/dist/esm/calcite-panel.entry.js +12 -3
- package/dist/esm/calcite-pick-list_3.entry.js +10 -6
- package/dist/esm/calcite-radio-button.entry.js +5 -1
- package/dist/esm/calcite-radio-group_2.entry.js +6 -2
- package/dist/esm/calcite-rating.entry.js +10 -4
- package/dist/esm/calcite-sortable-list.entry.js +5 -1
- package/dist/esm/calcite-split-button.entry.js +25 -2
- package/dist/esm/calcite-stepper_2.entry.js +6 -2
- package/dist/esm/calcite-switch.entry.js +5 -8
- package/dist/esm/calcite-tab_4.entry.js +6 -3
- package/dist/esm/calcite-tile-select_2.entry.js +17 -2
- package/dist/esm/calcite-tile.entry.js +5 -1
- package/dist/esm/calcite-value-list_2.entry.js +12 -7
- package/dist/esm/calcite.js +1 -1
- package/dist/esm/interactive-48b5cc0f.js +42 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{resources-999109fa.js → resources-77c12cea.js} +33 -9
- package/dist/esm-es5/calcite-action.entry.js +1 -1
- package/dist/esm-es5/calcite-block_2.entry.js +1 -1
- package/dist/esm-es5/calcite-button.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +1 -1
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +1 -1
- package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +1 -1
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +1 -1
- package/dist/esm-es5/calcite-graph_2.entry.js +1 -1
- package/dist/esm-es5/calcite-inline-editable.entry.js +1 -1
- package/dist/esm-es5/calcite-input-date-picker.entry.js +1 -1
- package/dist/esm-es5/calcite-input-time-picker_2.entry.js +2 -2
- package/dist/esm-es5/calcite-input.entry.js +1 -1
- package/dist/esm-es5/calcite-label.entry.js +1 -1
- package/dist/esm-es5/calcite-link.entry.js +2 -2
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-group_2.entry.js +1 -1
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +1 -1
- package/dist/esm-es5/calcite-split-button.entry.js +1 -1
- package/dist/esm-es5/calcite-stepper_2.entry.js +1 -1
- package/dist/esm-es5/calcite-switch.entry.js +1 -1
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +1 -1
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/interactive-48b5cc0f.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/resources-77c12cea.js +5 -0
- package/dist/extras/docs-json.json +68 -22
- package/dist/types/components/action/action.d.ts +3 -1
- package/dist/types/components/block/block.d.ts +3 -1
- package/dist/types/components/button/button.d.ts +3 -1
- package/dist/types/components/checkbox/checkbox.d.ts +3 -1
- package/dist/types/components/color-picker/color-picker.d.ts +9 -1
- package/dist/types/components/combobox/combobox.d.ts +3 -1
- package/dist/types/components/combobox-item/combobox-item.d.ts +3 -1
- package/dist/types/components/date-picker-day/date-picker-day.d.ts +4 -1
- package/dist/types/components/dropdown/dropdown.d.ts +4 -1
- package/dist/types/components/fab/fab.d.ts +3 -1
- package/dist/types/components/filter/filter.d.ts +3 -1
- package/dist/types/components/inline-editable/inline-editable.d.ts +4 -1
- package/dist/types/components/input/input.d.ts +3 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +4 -1
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +5 -1
- package/dist/types/components/label/label.d.ts +5 -1
- package/dist/types/components/link/link.d.ts +3 -1
- package/dist/types/components/list/list.d.ts +7 -1
- package/dist/types/components/list-item/list-item.d.ts +3 -1
- package/dist/types/components/panel/panel.d.ts +3 -1
- package/dist/types/components/pick-list/pick-list.d.ts +3 -1
- package/dist/types/components/pick-list/shared-list-logic.d.ts +1 -0
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +4 -2
- package/dist/types/components/radio-button/radio-button.d.ts +3 -1
- package/dist/types/components/radio-group/radio-group.d.ts +3 -1
- package/dist/types/components/rating/rating.d.ts +3 -1
- package/dist/types/components/select/select.d.ts +3 -1
- package/dist/types/components/slider/slider.d.ts +2 -1
- package/dist/types/components/sortable-list/sortable-list.d.ts +3 -1
- package/dist/types/components/split-button/split-button.d.ts +5 -1
- package/dist/types/components/stepper-item/stepper-item.d.ts +3 -1
- package/dist/types/components/switch/switch.d.ts +3 -4
- package/dist/types/components/tab-title/tab-title.d.ts +3 -1
- package/dist/types/components/tile/tile.d.ts +3 -1
- package/dist/types/components/tile-select/tile-select.d.ts +3 -1
- package/dist/types/components/tile-select-group/tile-select-group.d.ts +6 -1
- package/dist/types/components/value-list/value-list.d.ts +3 -1
- package/dist/types/components/value-list-item/value-list-item.d.ts +4 -2
- package/dist/types/components.d.ts +28 -2
- package/dist/types/utils/interactive.d.ts +28 -0
- package/hydrate/index.js +383 -100
- package/package.json +1 -1
- package/dist/calcite/p-02cc50b9.entry.js +0 -5
- package/dist/calcite/p-0aee798e.entry.js +0 -5
- package/dist/calcite/p-0d09d73b.system.entry.js +0 -5
- package/dist/calcite/p-11413626.system.entry.js +0 -5
- package/dist/calcite/p-125c9edc.entry.js +0 -5
- package/dist/calcite/p-12a4eac6.system.entry.js +0 -5
- package/dist/calcite/p-1a34e1df.system.entry.js +0 -5
- package/dist/calcite/p-1c1ad353.system.entry.js +0 -5
- package/dist/calcite/p-236b8f2e.system.entry.js +0 -5
- package/dist/calcite/p-322195bf.system.entry.js +0 -5
- package/dist/calcite/p-35461165.system.entry.js +0 -5
- package/dist/calcite/p-38c5a816.system.entry.js +0 -5
- package/dist/calcite/p-43ec3d32.system.entry.js +0 -5
- package/dist/calcite/p-4cd8449b.system.entry.js +0 -5
- package/dist/calcite/p-5079ec88.entry.js +0 -5
- package/dist/calcite/p-514f6d94.system.entry.js +0 -5
- package/dist/calcite/p-563bce5c.entry.js +0 -5
- package/dist/calcite/p-57186636.system.entry.js +0 -5
- package/dist/calcite/p-5a7b1bd1.system.entry.js +0 -5
- package/dist/calcite/p-5c425028.entry.js +0 -5
- package/dist/calcite/p-5ecd3b72.system.entry.js +0 -5
- package/dist/calcite/p-633a2c7f.entry.js +0 -5
- package/dist/calcite/p-640a1577.system.entry.js +0 -5
- package/dist/calcite/p-673a3cd9.entry.js +0 -5
- package/dist/calcite/p-743597e4.entry.js +0 -5
- package/dist/calcite/p-74b8f15f.entry.js +0 -5
- package/dist/calcite/p-77564c0d.entry.js +0 -5
- package/dist/calcite/p-793659d0.entry.js +0 -5
- package/dist/calcite/p-7a0e8fab.system.entry.js +0 -5
- package/dist/calcite/p-7ccf6273.entry.js +0 -5
- package/dist/calcite/p-7dfe915f.entry.js +0 -5
- package/dist/calcite/p-802a05a2.entry.js +0 -5
- package/dist/calcite/p-8046175f.entry.js +0 -5
- package/dist/calcite/p-818b3ac7.entry.js +0 -5
- package/dist/calcite/p-81a3de30.system.entry.js +0 -5
- package/dist/calcite/p-82c142d8.entry.js +0 -5
- package/dist/calcite/p-8683663f.entry.js +0 -5
- package/dist/calcite/p-8c59090d.entry.js +0 -5
- package/dist/calcite/p-91b23d79.system.entry.js +0 -5
- package/dist/calcite/p-949a2fcd.entry.js +0 -5
- package/dist/calcite/p-99da584e.system.entry.js +0 -5
- package/dist/calcite/p-9d102b23.system.entry.js +0 -5
- package/dist/calcite/p-a0ffad45.entry.js +0 -5
- package/dist/calcite/p-a6686c30.system.entry.js +0 -5
- package/dist/calcite/p-ad7fbabd.entry.js +0 -5
- package/dist/calcite/p-adfa48bc.entry.js +0 -5
- package/dist/calcite/p-b03b03d5.entry.js +0 -5
- package/dist/calcite/p-b88fa028.system.entry.js +0 -5
- package/dist/calcite/p-b8ce64ec.entry.js +0 -5
- package/dist/calcite/p-badc48d2.entry.js +0 -5
- package/dist/calcite/p-bfaed65e.entry.js +0 -5
- package/dist/calcite/p-c1018bb4.system.entry.js +0 -5
- package/dist/calcite/p-cfe2e6ee.system.entry.js +0 -5
- package/dist/calcite/p-d08d1450.entry.js +0 -5
- package/dist/calcite/p-d359def7.system.entry.js +0 -5
- package/dist/calcite/p-dcf17450.system.entry.js +0 -5
- package/dist/calcite/p-de562f92.system.js +0 -5
- package/dist/calcite/p-e9460f3c.js +0 -5
- package/dist/calcite/p-efb21590.system.entry.js +0 -5
- package/dist/calcite/p-f20b0a41.system.entry.js +0 -5
- package/dist/calcite/p-f542ba26.entry.js +0 -5
- package/dist/calcite/p-f9d1a58e.entry.js +0 -5
- package/dist/calcite/p-fbbf933d.system.entry.js +0 -5
- package/dist/calcite/p-fc11382c.system.entry.js +0 -5
- package/dist/esm-es5/resources-999109fa.js +0 -5
package/dist/esm/loader.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return bootstrapLazy(JSON.parse("[[\"calcite-action\",[[1,\"calcite-action\",{\"active\":[516],\"alignment\":[513],\"appearance\":[513],\"compact\":[516],\"disabled\":[516],\"icon\":[1],\"indicator\":[516],\"intlLoading\":[1,\"intl-loading\"],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-action-menu\",[[1,\"calcite-action-menu\",{\"expanded\":[516],\"flipPlacements\":[16],\"label\":[1],\"open\":[1540],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"activeMenuItemIndex\":[32],\"setFocus\":[64]},[[8,\"click\",\"closeCalciteActionMenuOnClick\"]]]]],[\"calcite-block_2\",[[1,\"calcite-block\",{\"collapsible\":[4],\"disabled\":[516],\"dragHandle\":[516,\"drag-handle\"],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"intlLoading\":[1,\"intl-loading\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"open\":[1540],\"status\":[513],\"summary\":[1]}],[1,\"calcite-block-section\",{\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"open\":[1540],\"status\":[513],\"text\":[1],\"toggleDisplay\":[513,\"toggle-display\"]}]]],[\"calcite-value-list_2\",[[1,\"calcite-value-list\",{\"disabled\":[516],\"dragEnabled\":[516,\"drag-enabled\"],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"group\":[1],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[4,\"selection-follows-focus\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"focusout\",\"calciteListFocusOutHandler\"],[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteListItemPropsChange\",\"calciteListItemPropsChangeHandler\"],[0,\"calciteListItemValueChange\",\"calciteListItemValueChangeHandler\"]]],[1,\"calcite-value-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[4,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"handleActivated\":[1028,\"handle-activated\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]},[[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"]]]]],[\"calcite-action-bar\",[[1,\"calcite-action-bar\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"overflowActionsDisabled\":[4,\"overflow-actions-disabled\"],\"position\":[513],\"scale\":[513],\"overflowActions\":[64],\"setFocus\":[64]}]]],[\"calcite-action-pad\",[[1,\"calcite-action-pad\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"layout\":[513],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"position\":[513],\"scale\":[513],\"setFocus\":[64]}]]],[\"calcite-tip_3\",[[1,\"calcite-tip\",{\"dismissed\":[1540],\"nonDismissible\":[516,\"non-dismissible\"],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"selected\":[516],\"intlClose\":[1,\"intl-close\"]}],[1,\"calcite-tip-manager\",{\"closed\":[1540],\"headingLevel\":[2,\"heading-level\"],\"intlClose\":[1,\"intl-close\"],\"intlDefaultTitle\":[1,\"intl-default-title\"],\"intlNext\":[1,\"intl-next\"],\"intlPaginationLabel\":[1,\"intl-pagination-label\"],\"intlPrevious\":[1,\"intl-previous\"],\"selectedIndex\":[32],\"tips\":[32],\"total\":[32],\"direction\":[32],\"groupTitle\":[32],\"nextTip\":[64],\"previousTip\":[64]}],[1,\"calcite-tip-group\",{\"groupTitle\":[1,\"group-title\"]}]]],[\"calcite-checkbox\",[[1,\"calcite-checkbox\",{\"checked\":[1540],\"disabled\":[516],\"guid\":[1537],\"hovered\":[1540],\"indeterminate\":[1540],\"label\":[1],\"name\":[520],\"required\":[516],\"scale\":[513],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-loader\",[[1,\"calcite-loader\",{\"active\":[516],\"inline\":[516],\"label\":[1],\"scale\":[513],\"type\":[513],\"value\":[2],\"text\":[1],\"noPadding\":[4,\"no-padding\"]}]]],[\"calcite-card\",[[1,\"calcite-card\",{\"loading\":[516],\"selected\":[1540],\"selectable\":[516],\"intlLoading\":[1,\"intl-loading\"],\"intlSelect\":[1,\"intl-select\"],\"intlDeselect\":[1,\"intl-deselect\"]}]]],[\"calcite-icon\",[[1,\"calcite-icon\",{\"icon\":[513],\"flipRtl\":[516,\"flip-rtl\"],\"scale\":[513],\"textLabel\":[1,\"text-label\"],\"pathData\":[32],\"visible\":[32]}]]],[\"calcite-input-date-picker\",[[1,\"calcite-input-date-picker\",{\"disabled\":[516],\"value\":[1025],\"headingLevel\":[2,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1025],\"max\":[1025],\"active\":[1540],\"name\":[1],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"scale\":[513],\"range\":[516],\"required\":[516],\"start\":[1025],\"end\":[1025],\"overlayPositioning\":[1,\"overlay-positioning\"],\"proximitySelectionDisabled\":[4,\"proximity-selection-disabled\"],\"layout\":[513],\"focusedInput\":[32],\"localeData\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"calciteDatePickerChange\",\"handleDateOrRangeChange\"],[0,\"calciteDatePickerRangeChange\",\"handleDateOrRangeChange\"],[0,\"calciteDaySelect\",\"calciteDaySelectHandler\"]]]]],[\"calcite-panel\",[[1,\"calcite-panel\",{\"dismissed\":[1540],\"beforeBack\":[16],\"disabled\":[516],\"dismissible\":[516],\"headingLevel\":[2,\"heading-level\"],\"showBackButton\":[516,\"show-back-button\"],\"intlBack\":[1,\"intl-back\"],\"heightScale\":[513,\"height-scale\"],\"widthScale\":[513,\"width-scale\"],\"loading\":[516],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"heading\":[1],\"summary\":[1],\"menuOpen\":[516,\"menu-open\"],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-split-button\",[[1,\"calcite-split-button\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"active\":[516],\"dropdownIconType\":[513,\"dropdown-icon-type\"],\"dropdownLabel\":[513,\"dropdown-label\"],\"loading\":[516],\"overlayPositioning\":[1,\"overlay-positioning\"],\"primaryIconEnd\":[513,\"primary-icon-end\"],\"primaryIconFlipRtl\":[513,\"primary-icon-flip-rtl\"],\"primaryIconStart\":[513,\"primary-icon-start\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryText\":[513,\"primary-text\"],\"scale\":[513],\"width\":[513]}]]],[\"calcite-combobox_3\",[[1,\"calcite-combobox\",{\"active\":[1540],\"disabled\":[516],\"label\":[1],\"placeholder\":[1],\"maxItems\":[2,\"max-items\"],\"name\":[513],\"allowCustomValues\":[4,\"allow-custom-values\"],\"overlayPositioning\":[1,\"overlay-positioning\"],\"required\":[4],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513],\"value\":[1025],\"intlRemoveTag\":[1,\"intl-remove-tag\"],\"items\":[32],\"groupItems\":[32],\"selectedItems\":[32],\"visibleItems\":[32],\"needsIcon\":[32],\"hideList\":[32],\"activeItemIndex\":[32],\"activeChipIndex\":[32],\"activeDescendant\":[32],\"text\":[32],\"open\":[32],\"reposition\":[64],\"setFocus\":[64]},[[4,\"click\",\"documentClickHandler\"],[0,\"calciteComboboxItemChange\",\"calciteComboboxItemChangeHandler\"]]],[1,\"calcite-combobox-item\",{\"disabled\":[516],\"selected\":[1540],\"active\":[4],\"ancestors\":[1040],\"guid\":[1],\"icon\":[1],\"textLabel\":[513,\"text-label\"],\"value\":[8],\"constant\":[516],\"toggleSelected\":[64]}],[1,\"calcite-combobox-item-group\",{\"ancestors\":[1040],\"label\":[1]}]]],[\"calcite-tile-select_2\",[[1,\"calcite-tile-select\",{\"checked\":[1540],\"description\":[513],\"disabled\":[516],\"heading\":[513],\"hidden\":[516],\"icon\":[513],\"name\":[520],\"inputEnabled\":[516,\"input-enabled\"],\"inputAlignment\":[513,\"input-alignment\"],\"type\":[513],\"value\":[8],\"width\":[513],\"focused\":[32],\"setFocus\":[64]},[[0,\"calciteCheckboxChange\",\"checkboxChangeHandler\"],[0,\"calciteInternalCheckboxFocus\",\"checkboxFocusBlurHandler\"],[0,\"calciteInternalCheckboxBlur\",\"checkboxFocusBlurHandler\"],[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"],[0,\"calciteInternalRadioButtonCheckedChange\",\"radioButtonCheckedChangeHandler\"],[0,\"calciteInternalRadioButtonFocus\",\"radioButtonFocusBlurHandler\"],[0,\"calciteInternalRadioButtonBlur\",\"radioButtonFocusBlurHandler\"],[0,\"click\",\"click\"],[1,\"mouseenter\",\"mouseenter\"],[1,\"mouseleave\",\"mouseleave\"]]],[1,\"calcite-tile-select-group\",{\"layout\":[513]}]]],[\"calcite-fab\",[[1,\"calcite-fab\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"icon\":[1],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-inline-editable\",[[1,\"calcite-inline-editable\",{\"disabled\":[516],\"editingEnabled\":[1540,\"editing-enabled\"],\"loading\":[1540],\"controls\":[516],\"intlEnableEditing\":[513,\"intl-enable-editing\"],\"intlCancelEditing\":[513,\"intl-cancel-editing\"],\"intlConfirmChanges\":[513,\"intl-confirm-changes\"],\"scale\":[1537],\"afterConfirm\":[16],\"setFocus\":[64]},[[0,\"calciteInputBlur\",\"blurHandler\"]]]]],[\"calcite-modal\",[[1,\"calcite-modal\",{\"active\":[1540],\"beforeClose\":[16],\"disableCloseButton\":[4,\"disable-close-button\"],\"disableOutsideClose\":[4,\"disable-outside-close\"],\"intlClose\":[1,\"intl-close\"],\"docked\":[516],\"firstFocus\":[16],\"disableEscape\":[4,\"disable-escape\"],\"scale\":[513],\"width\":[520],\"fullscreen\":[516],\"color\":[513],\"backgroundColor\":[513,\"background-color\"],\"noPadding\":[4,\"no-padding\"],\"hasFooter\":[32],\"focusElement\":[64],\"setFocus\":[64],\"scrollContent\":[64]},[[8,\"keyup\",\"handleEscape\"]]]]],[\"calcite-tree_2\",[[1,\"calcite-tree-item\",{\"selected\":[1540],\"expanded\":[1540],\"parentExpanded\":[4,\"parent-expanded\"],\"depth\":[1538],\"hasChildren\":[1540,\"has-children\"],\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"scale\":[1537],\"indeterminate\":[516],\"selectionMode\":[1025,\"selection-mode\"]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-tree\",{\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"child\":[1540],\"scale\":[1537],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"focus\",\"onFocus\"],[0,\"focusin\",\"onFocusIn\"],[0,\"focusout\",\"onFocusOut\"],[0,\"calciteTreeItemSelect\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-alert\",[[1,\"calcite-alert\",{\"active\":[1540],\"autoDismiss\":[4,\"auto-dismiss\"],\"autoDismissDuration\":[513,\"auto-dismiss-duration\"],\"color\":[513],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"label\":[1],\"placement\":[1],\"scale\":[513],\"queue\":[32],\"queueLength\":[32],\"queued\":[32],\"requestedIcon\":[32],\"setFocus\":[64]},[[8,\"calciteAlertSync\",\"alertSync\"],[8,\"calciteAlertRegister\",\"alertRegister\"]]]]],[\"calcite-rating\",[[1,\"calcite-rating\",{\"scale\":[513],\"value\":[1538],\"readOnly\":[516,\"read-only\"],\"disabled\":[516],\"showChip\":[516,\"show-chip\"],\"count\":[514],\"average\":[514],\"name\":[513],\"intlRating\":[1,\"intl-rating\"],\"intlStars\":[1,\"intl-stars\"],\"required\":[516],\"hoverValue\":[32],\"focusValue\":[32],\"hasFocus\":[32],\"setFocus\":[64]},[[0,\"blur\",\"blurHandler\"]]]]],[\"calcite-option_3\",[[1,\"calcite-select\",{\"disabled\":[516],\"label\":[1],\"name\":[1],\"required\":[516],\"scale\":[513],\"value\":[1025],\"selectedOption\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteOptionChange\",\"handleOptionOrGroupChange\"],[0,\"calciteOptionGroupChange\",\"handleOptionOrGroupChange\"]]],[1,\"calcite-option\",{\"disabled\":[516],\"label\":[1025],\"selected\":[516],\"value\":[1032]}],[1,\"calcite-option-group\",{\"disabled\":[516],\"label\":[1]}]]],[\"calcite-accordion_2\",[[1,\"calcite-accordion-item\",{\"active\":[1540],\"itemTitle\":[1,\"item-title\"],\"itemSubtitle\":[1,\"item-subtitle\"],\"icon\":[513]},[[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteAccordionChange\",\"updateActiveItemOnChange\"]]],[1,\"calcite-accordion\",{\"appearance\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconType\":[513,\"icon-type\"],\"scale\":[513],\"selectionMode\":[513,\"selection-mode\"]},[[0,\"calciteAccordionItemKeyEvent\",\"calciteAccordionItemKeyEvent\"],[0,\"calciteAccordionItemRegister\",\"registerCalciteAccordionItem\"],[0,\"calciteAccordionItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-radio-group_2\",[[1,\"calcite-radio-group-item\",{\"checked\":[1540],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"iconPosition\":[513,\"icon-position\"],\"value\":[1032]}],[1,\"calcite-radio-group\",{\"appearance\":[513],\"disabled\":[516],\"required\":[516],\"layout\":[513],\"name\":[1],\"scale\":[513],\"value\":[1025],\"selectedItem\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteRadioGroupItemChange\",\"handleSelected\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"calcite-stepper_2\",[[1,\"calcite-stepper-item\",{\"active\":[1540],\"complete\":[516],\"error\":[4],\"disabled\":[4],\"itemTitle\":[1,\"item-title\"],\"itemSubtitle\":[1,\"item-subtitle\"],\"layout\":[1537],\"icon\":[1028],\"numbered\":[1028],\"scale\":[1537]},[[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteStepperItemChange\",\"updateActiveItemOnChange\"]]],[1,\"calcite-stepper\",{\"icon\":[516],\"layout\":[513],\"numbered\":[516],\"scale\":[513],\"requestedContent\":[1040],\"nextStep\":[64],\"prevStep\":[64],\"goToStep\":[64],\"startStep\":[64],\"endStep\":[64]},[[0,\"calciteStepperItemKeyEvent\",\"calciteStepperItemKeyEvent\"],[0,\"calciteStepperItemRegister\",\"registerItem\"],[0,\"calciteStepperItemSelect\",\"updateItem\"]]]]],[\"calcite-avatar\",[[1,\"calcite-avatar\",{\"scale\":[513],\"thumbnail\":[1],\"fullName\":[1,\"full-name\"],\"username\":[1],\"userId\":[1,\"user-id\"],\"error\":[32]}]]],[\"calcite-input-message\",[[1,\"calcite-input-message\",{\"active\":[516],\"icon\":[520],\"scale\":[1537],\"status\":[1537],\"type\":[513]}]]],[\"calcite-notice\",[[1,\"calcite-notice\",{\"active\":[1540],\"color\":[513],\"dismissible\":[516],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"scale\":[513],\"width\":[513],\"setFocus\":[64]}]]],[\"calcite-pagination\",[[1,\"calcite-pagination\",{\"num\":[2],\"start\":[1026],\"total\":[2],\"textLabelNext\":[1,\"text-label-next\"],\"textLabelPrevious\":[1,\"text-label-previous\"],\"scale\":[513],\"nextPage\":[64],\"previousPage\":[64]}]]],[\"calcite-list_3\",[[1,\"calcite-list\",{\"headingLevel\":[2,\"heading-level\"],\"setFocus\":[64]}],[1,\"calcite-list-item\",{\"nonInteractive\":[516,\"non-interactive\"],\"description\":[1],\"disabled\":[516],\"label\":[1],\"setFocus\":[64]}],[1,\"calcite-list-item-group\",{\"heading\":[513],\"headingLevel\":[2,\"heading-level\"]}]]],[\"calcite-shell_3\",[[1,\"calcite-shell\",{\"contentBehind\":[516,\"content-behind\"]}],[1,\"calcite-shell-center-row\",{\"detached\":[516],\"heightScale\":[513,\"height-scale\"],\"position\":[513]}],[1,\"calcite-shell-panel\",{\"collapsed\":[516],\"detached\":[516],\"detachedHeightScale\":[513,\"detached-height-scale\"],\"widthScale\":[513,\"width-scale\"],\"position\":[513],\"intlResize\":[1,\"intl-resize\"],\"resizable\":[516],\"contentWidth\":[32]}]]],[\"calcite-flow\",[[1,\"calcite-flow\",{\"panelCount\":[32],\"flowDirection\":[32],\"panels\":[32],\"back\":[64]},[[0,\"calcitePanelBackClick\",\"handleCalcitePanelBackClick\"]]]]],[\"calcite-radio-button\",[[1,\"calcite-radio-button\",{\"checked\":[1540],\"disabled\":[516],\"focused\":[1540],\"guid\":[1537],\"hidden\":[516],\"hovered\":[1540],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1032],\"setFocus\":[64],\"emitCheckedChange\":[64]},[[1,\"mouseenter\",\"mouseenter\"],[1,\"mouseleave\",\"mouseleave\"]]]]],[\"calcite-radio-button-group\",[[1,\"calcite-radio-button-group\",{\"disabled\":[516],\"hidden\":[516],\"layout\":[513],\"name\":[513],\"required\":[516],\"scale\":[513]},[[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"]]]]],[\"calcite-sortable-list\",[[1,\"calcite-sortable-list\",{\"dragSelector\":[1,\"drag-selector\"],\"group\":[1],\"handleSelector\":[1,\"handle-selector\"],\"layout\":[1],\"disabled\":[516],\"loading\":[516],\"handleActivated\":[32]},[[0,\"calciteHandleNudge\",\"calciteHandleNudgeHandler\"]]]]],[\"calcite-pick-list_3\",[[1,\"calcite-pick-list\",{\"disabled\":[516],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"headingLevel\":[2,\"heading-level\"],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[4,\"selection-follows-focus\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteListItemPropsChange\",\"calciteListItemPropsChangeHandler\"],[0,\"calciteListItemValueChange\",\"calciteListItemValueChangeHandler\"],[0,\"focusout\",\"calciteListFocusOutHandler\"]]],[1,\"calcite-pick-list-group\",{\"groupTitle\":[513,\"group-title\"],\"headingLevel\":[2,\"heading-level\"]}],[1,\"calcite-pick-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[4,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"intlRemove\":[513,\"intl-remove\"],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]}]]],[\"calcite-input-time-picker_2\",[[1,\"calcite-input-time-picker\",{\"active\":[1540],\"disabled\":[516],\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025,\"lang\"],\"name\":[1],\"required\":[516],\"scale\":[513],\"step\":[2],\"value\":[1025],\"localizedValue\":[32],\"setFocus\":[64]},[[0,\"click\",\"clickHandler\"],[0,\"keyup\",\"keyUpHandler\"],[0,\"calciteTimePickerBlur\",\"timePickerBlurHandler\"],[0,\"calciteTimePickerFocus\",\"timePickerFocusHandler\"]]],[1,\"calcite-time-picker\",{\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025,\"lang\"],\"scale\":[1],\"step\":[2],\"value\":[1025],\"hour\":[32],\"hourCycle\":[32],\"localizedHour\":[32],\"localizedHourSuffix\":[32],\"localizedMeridiem\":[32],\"localizedMinute\":[32],\"localizedMinuteSuffix\":[32],\"localizedSecond\":[32],\"localizedSecondSuffix\":[32],\"meridiem\":[32],\"minute\":[32],\"second\":[32],\"showSecond\":[32],\"setFocus\":[64]},[[0,\"blur\",\"hostBlurHandler\"],[0,\"focus\",\"hostFocusHandler\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-tile\",[[1,\"calcite-tile\",{\"active\":[516],\"description\":[513],\"disabled\":[516],\"embed\":[516],\"focused\":[516],\"heading\":[513],\"hidden\":[516],\"href\":[513],\"icon\":[513]}]]],[\"calcite-dropdown_3\",[[1,\"calcite-dropdown-item\",{\"active\":[1540],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"href\":[513],\"label\":[1],\"rel\":[1],\"target\":[1],\"setFocus\":[64]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteDropdownItemChange\",\"updateActiveItemOnChange\"]]],[1,\"calcite-dropdown-group\",{\"groupTitle\":[513,\"group-title\"],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513]},[[0,\"calciteDropdownItemSelect\",\"updateActiveItemOnChange\"]]],[1,\"calcite-dropdown\",{\"active\":[1540],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"disabled\":[516],\"maxItems\":[2,\"max-items\"],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"selectedItems\":[1040],\"type\":[513],\"width\":[513],\"reposition\":[64]},[[8,\"click\",\"closeCalciteDropdownOnClick\"],[0,\"calciteDropdownCloseRequest\",\"closeCalciteDropdownOnEvent\"],[8,\"calciteDropdownOpen\",\"closeCalciteDropdownOnOpenEvent\"],[1,\"mouseenter\",\"mouseEnterHandler\"],[1,\"mouseleave\",\"mouseLeaveHandler\"],[0,\"calciteDropdownItemKeyEvent\",\"calciteDropdownItemKeyEvent\"],[0,\"calciteDropdownItemSelect\",\"handleItemSelect\"]]]]],[\"calcite-graph_2\",[[1,\"calcite-slider\",{\"disabled\":[516],\"hasHistogram\":[1540,\"has-histogram\"],\"histogram\":[16],\"histogramStops\":[16],\"labelHandles\":[516,\"label-handles\"],\"labelTicks\":[516,\"label-ticks\"],\"max\":[514],\"maxLabel\":[1,\"max-label\"],\"maxValue\":[1026,\"max-value\"],\"min\":[514],\"minLabel\":[1,\"min-label\"],\"minValue\":[1026,\"min-value\"],\"mirrored\":[516],\"name\":[513],\"pageStep\":[2,\"page-step\"],\"precise\":[4],\"required\":[516],\"snap\":[4],\"step\":[2],\"ticks\":[2],\"value\":[1538],\"scale\":[1],\"activeProp\":[32],\"minMaxValueRange\":[32],\"minValueDragRange\":[32],\"maxValueDragRange\":[32],\"tickValues\":[32],\"setFocus\":[64]},[[0,\"keydown\",\"keyDownHandler\"],[0,\"click\",\"clickHandler\"],[1,\"pointerdown\",\"pointerDownHandler\"]]],[1,\"calcite-graph\",{\"data\":[16],\"colorStops\":[16],\"highlightMin\":[2,\"highlight-min\"],\"highlightMax\":[2,\"highlight-max\"],\"min\":[2],\"max\":[2]}]]],[\"calcite-handle\",[[1,\"calcite-handle\",{\"activated\":[1540],\"textTitle\":[513,\"text-title\"],\"setFocus\":[64]}]]],[\"calcite-label\",[[1,\"calcite-label\",{\"alignment\":[513],\"status\":[513],\"for\":[513],\"scale\":[513],\"layout\":[513],\"disableSpacing\":[4,\"disable-spacing\"],\"disabled\":[516]}]]],[\"calcite-switch\",[[1,\"calcite-switch\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"scale\":[513],\"switched\":[1028],\"checked\":[1540],\"value\":[8],\"tabindex\":[32],\"setFocus\":[64]}]]],[\"calcite-action-group\",[[1,\"calcite-action-group\",{\"expanded\":[516],\"layout\":[513],\"columns\":[514],\"intlMore\":[1,\"intl-more\"],\"menuOpen\":[1540,\"menu-open\"],\"scale\":[513]}]]],[\"calcite-filter\",[[1,\"calcite-filter\",{\"items\":[1040],\"disabled\":[516],\"filteredItems\":[1040],\"intlClear\":[1,\"intl-clear\"],\"intlLabel\":[1,\"intl-label\"],\"placeholder\":[1],\"scale\":[513],\"value\":[1025],\"setFocus\":[64]}]]],[\"calcite-link\",[[1,\"calcite-link\",{\"disabled\":[516],\"download\":[520],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"rel\":[1],\"target\":[1],\"setFocus\":[64]}]]],[\"calcite-chip\",[[1,\"calcite-chip\",{\"appearance\":[513],\"color\":[513],\"dismissible\":[516],\"dismissLabel\":[1,\"dismiss-label\"],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"scale\":[513],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-button\",[[1,\"calcite-button\",{\"alignment\":[513],\"appearance\":[513],\"label\":[1],\"color\":[513],\"disabled\":[516],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516],\"name\":[1],\"rel\":[1],\"form\":[1],\"round\":[516],\"scale\":[513],\"splitChild\":[520,\"split-child\"],\"target\":[1],\"type\":[1025],\"width\":[513],\"hasContent\":[32],\"hasLoader\":[32],\"setFocus\":[64]}]]],[\"calcite-tab_4\",[[1,\"calcite-tab-title\",{\"active\":[1540],\"disabled\":[516],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"layout\":[1537],\"position\":[1537],\"scale\":[1537],\"bordered\":[1540],\"tab\":[513],\"controls\":[32],\"hasText\":[32],\"getTabIndex\":[64],\"getTabIdentifier\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteTabChange\",\"tabChangeHandler\"],[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-tab\",{\"tab\":[513],\"active\":[1540],\"scale\":[1537],\"labeledBy\":[32],\"getTabIndex\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteTabChange\",\"tabChangeHandler\"]]],[1,\"calcite-tab-nav\",{\"storageId\":[1,\"storage-id\"],\"syncId\":[1,\"sync-id\"],\"scale\":[1537],\"layout\":[1537],\"position\":[1537],\"bordered\":[1540],\"indicatorOffset\":[1026,\"indicator-offset\"],\"indicatorWidth\":[1026,\"indicator-width\"],\"selectedTab\":[32],\"selectedTabEl\":[32]},[[9,\"resize\",\"resizeHandler\"],[0,\"calciteTabsFocusPrevious\",\"focusPreviousTabHandler\"],[0,\"calciteTabsFocusNext\",\"focusNextTabHandler\"],[0,\"calciteTabsActivate\",\"activateTabHandler\"],[0,\"calciteTabTitleRegister\",\"updateTabTitles\"],[16,\"calciteTabChange\",\"globalTabChangeHandler\"]]],[1,\"calcite-tabs\",{\"layout\":[513],\"position\":[513],\"scale\":[513],\"bordered\":[1540],\"titles\":[32],\"tabs\":[32]},[[0,\"calciteTabTitleRegister\",\"calciteTabTitleRegister\"],[16,\"calciteTabTitleUnregister\",\"calciteTabTitleUnregister\"],[0,\"calciteTabRegister\",\"calciteTabRegister\"],[16,\"calciteTabUnregister\",\"calciteTabUnregister\"]]]]],[\"calcite-color-picker_3\",[[1,\"calcite-color-picker\",{\"allowEmpty\":[4,\"allow-empty\"],\"appearance\":[513],\"color\":[1040],\"format\":[1],\"hideHex\":[4,\"hide-hex\"],\"hideChannels\":[4,\"hide-channels\"],\"hideSaved\":[4,\"hide-saved\"],\"intlB\":[1,\"intl-b\"],\"intlBlue\":[1,\"intl-blue\"],\"intlDeleteColor\":[1,\"intl-delete-color\"],\"intlG\":[1,\"intl-g\"],\"intlGreen\":[1,\"intl-green\"],\"intlH\":[1,\"intl-h\"],\"intlHsv\":[1,\"intl-hsv\"],\"intlHex\":[1,\"intl-hex\"],\"intlHue\":[1,\"intl-hue\"],\"intlNoColor\":[1,\"intl-no-color\"],\"intlR\":[1,\"intl-r\"],\"intlRed\":[1,\"intl-red\"],\"intlRgb\":[1,\"intl-rgb\"],\"intlS\":[1,\"intl-s\"],\"intlSaturation\":[1,\"intl-saturation\"],\"intlSaveColor\":[1,\"intl-save-color\"],\"intlSaved\":[1,\"intl-saved\"],\"intlV\":[1,\"intl-v\"],\"intlValue\":[1,\"intl-value\"],\"scale\":[513],\"storageId\":[1,\"storage-id\"],\"value\":[1025],\"colorFieldAndSliderInteractive\":[32],\"channelMode\":[32],\"channels\":[32],\"dimensions\":[32],\"savedColors\":[32],\"colorFieldScopeTop\":[32],\"colorFieldScopeLeft\":[32],\"scopeOrientation\":[32],\"hueScopeLeft\":[32],\"hueScopeTop\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"handleChannelKeyUpOrDown\"],[2,\"keyup\",\"handleChannelKeyUpOrDown\"]]],[1,\"calcite-color-picker-hex-input\",{\"allowEmpty\":[4,\"allow-empty\"],\"intlHex\":[1,\"intl-hex\"],\"intlNoColor\":[1,\"intl-no-color\"],\"scale\":[513],\"value\":[1537],\"internalColor\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"onInputKeyDown\"]]],[1,\"calcite-color-picker-swatch\",{\"active\":[516],\"color\":[1],\"scale\":[513]}]]],[\"calcite-scrim\",[[1,\"calcite-scrim\",{\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516]}]]],[\"calcite-tooltip_2\",[[1,\"calcite-tooltip\",{\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[516],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"effectiveReferenceElement\":[32],\"reposition\":[64]}],[1,\"calcite-tooltip-manager\",{\"selector\":[1]},[[4,\"keyup\",\"keyUpHandler\"],[3,\"mouseover\",\"mouseEnterShow\"],[3,\"mouseout\",\"mouseLeaveHide\"],[2,\"click\",\"clickHandler\"],[2,\"focus\",\"focusShow\"],[2,\"blur\",\"blurHide\"]]]]],[\"calcite-popover_2\",[[1,\"calcite-popover-manager\",{\"selector\":[1],\"autoClose\":[516,\"auto-close\"]},[[10,\"click\",\"closeOpenPopovers\"]]],[1,\"calcite-popover\",{\"closeButton\":[516,\"close-button\"],\"dismissible\":[516],\"disableFlip\":[516,\"disable-flip\"],\"disablePointer\":[516,\"disable-pointer\"],\"flipPlacements\":[16],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[1540],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"intlClose\":[1,\"intl-close\"],\"effectiveReferenceElement\":[32],\"reposition\":[64],\"setFocus\":[64],\"toggle\":[64]}]]],[\"calcite-progress\",[[1,\"calcite-progress\",{\"type\":[1],\"value\":[2],\"label\":[1],\"text\":[1],\"reversed\":[4]}]]],[\"calcite-input\",[[1,\"calcite-input\",{\"alignment\":[513],\"autofocus\":[4],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[4,\"group-separator\"],\"hidden\":[4],\"icon\":[520],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxlength\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[4,\"read-only\"],\"required\":[4],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"type\":[513],\"value\":[1025],\"localizedValue\":[32],\"setFocus\":[64]}]]],[\"calcite-date-picker_4\",[[1,\"calcite-date-picker\",{\"activeRange\":[1,\"active-range\"],\"value\":[1025],\"headingLevel\":[2,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1025],\"max\":[1025],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"scale\":[513],\"range\":[516],\"start\":[1025],\"end\":[1025],\"proximitySelectionDisabled\":[4,\"proximity-selection-disabled\"],\"activeDate\":[32],\"activeStartDate\":[32],\"activeEndDate\":[32],\"localeData\":[32],\"hoverRange\":[32]}],[1,\"calcite-date-picker-month\",{\"selectedDate\":[16],\"activeDate\":[16],\"startDate\":[16],\"endDate\":[16],\"min\":[16],\"max\":[16],\"scale\":[513],\"localeData\":[16],\"hoverRange\":[16]},[[1,\"mouseout\",\"mouseoutHandler\"]]],[1,\"calcite-date-picker-month-header\",{\"selectedDate\":[16],\"activeDate\":[16],\"headingLevel\":[2,\"heading-level\"],\"min\":[16],\"max\":[16],\"locale\":[1],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"scale\":[513],\"localeData\":[16],\"nextMonthDate\":[32],\"prevMonthDate\":[32]}],[1,\"calcite-date-picker-day\",{\"day\":[2],\"disabled\":[516],\"currentMonth\":[516,\"current-month\"],\"selected\":[516],\"highlighted\":[516],\"range\":[516],\"startOfRange\":[516,\"start-of-range\"],\"endOfRange\":[516,\"end-of-range\"],\"rangeHover\":[516,\"range-hover\"],\"active\":[516],\"localeData\":[16],\"scale\":[513],\"value\":[16]},[[1,\"mouseover\",\"mouseoverHandler\"]]]]]]"), options);
|
|
17
|
+
return bootstrapLazy(JSON.parse("[[\"calcite-action\",[[1,\"calcite-action\",{\"active\":[516],\"alignment\":[513],\"appearance\":[513],\"compact\":[516],\"disabled\":[516],\"icon\":[1],\"indicator\":[516],\"intlLoading\":[1,\"intl-loading\"],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-action-menu\",[[1,\"calcite-action-menu\",{\"expanded\":[516],\"flipPlacements\":[16],\"label\":[1],\"open\":[1540],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"activeMenuItemIndex\":[32],\"setFocus\":[64]},[[8,\"click\",\"closeCalciteActionMenuOnClick\"]]]]],[\"calcite-block_2\",[[1,\"calcite-block\",{\"collapsible\":[4],\"disabled\":[516],\"dragHandle\":[516,\"drag-handle\"],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"intlLoading\":[1,\"intl-loading\"],\"intlOptions\":[1,\"intl-options\"],\"loading\":[516],\"open\":[1540],\"status\":[513],\"summary\":[1]}],[1,\"calcite-block-section\",{\"intlCollapse\":[1,\"intl-collapse\"],\"intlExpand\":[1,\"intl-expand\"],\"open\":[1540],\"status\":[513],\"text\":[1],\"toggleDisplay\":[513,\"toggle-display\"]}]]],[\"calcite-value-list_2\",[[1,\"calcite-value-list\",{\"disabled\":[516],\"dragEnabled\":[516,\"drag-enabled\"],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"group\":[1],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[4,\"selection-follows-focus\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"focusout\",\"calciteListFocusOutHandler\"],[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteListItemPropsChange\",\"calciteListItemPropsChangeHandler\"],[0,\"calciteListItemValueChange\",\"calciteListItemValueChangeHandler\"]]],[1,\"calcite-value-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[4,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"handleActivated\":[1028,\"handle-activated\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]},[[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"]]]]],[\"calcite-action-bar\",[[1,\"calcite-action-bar\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"overflowActionsDisabled\":[4,\"overflow-actions-disabled\"],\"position\":[513],\"scale\":[513],\"overflowActions\":[64],\"setFocus\":[64]}]]],[\"calcite-action-pad\",[[1,\"calcite-action-pad\",{\"expandDisabled\":[516,\"expand-disabled\"],\"expanded\":[1540],\"layout\":[513],\"intlExpand\":[1,\"intl-expand\"],\"intlCollapse\":[1,\"intl-collapse\"],\"position\":[513],\"scale\":[513],\"setFocus\":[64]}]]],[\"calcite-tip_3\",[[1,\"calcite-tip\",{\"dismissed\":[1540],\"nonDismissible\":[516,\"non-dismissible\"],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"selected\":[516],\"intlClose\":[1,\"intl-close\"]}],[1,\"calcite-tip-manager\",{\"closed\":[1540],\"headingLevel\":[2,\"heading-level\"],\"intlClose\":[1,\"intl-close\"],\"intlDefaultTitle\":[1,\"intl-default-title\"],\"intlNext\":[1,\"intl-next\"],\"intlPaginationLabel\":[1,\"intl-pagination-label\"],\"intlPrevious\":[1,\"intl-previous\"],\"selectedIndex\":[32],\"tips\":[32],\"total\":[32],\"direction\":[32],\"groupTitle\":[32],\"nextTip\":[64],\"previousTip\":[64]}],[1,\"calcite-tip-group\",{\"groupTitle\":[1,\"group-title\"]}]]],[\"calcite-checkbox\",[[1,\"calcite-checkbox\",{\"checked\":[1540],\"disabled\":[516],\"guid\":[1537],\"hovered\":[1540],\"indeterminate\":[1540],\"label\":[1],\"name\":[520],\"required\":[516],\"scale\":[513],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-loader\",[[1,\"calcite-loader\",{\"active\":[516],\"inline\":[516],\"label\":[1],\"scale\":[513],\"type\":[513],\"value\":[2],\"text\":[1],\"noPadding\":[4,\"no-padding\"]}]]],[\"calcite-card\",[[1,\"calcite-card\",{\"loading\":[516],\"selected\":[1540],\"selectable\":[516],\"intlLoading\":[1,\"intl-loading\"],\"intlSelect\":[1,\"intl-select\"],\"intlDeselect\":[1,\"intl-deselect\"]}]]],[\"calcite-icon\",[[1,\"calcite-icon\",{\"icon\":[513],\"flipRtl\":[516,\"flip-rtl\"],\"scale\":[513],\"textLabel\":[1,\"text-label\"],\"pathData\":[32],\"visible\":[32]}]]],[\"calcite-input-date-picker\",[[1,\"calcite-input-date-picker\",{\"disabled\":[516],\"value\":[1025],\"headingLevel\":[2,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1025],\"max\":[1025],\"active\":[1540],\"name\":[1],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"scale\":[513],\"range\":[516],\"required\":[516],\"start\":[1025],\"end\":[1025],\"overlayPositioning\":[1,\"overlay-positioning\"],\"proximitySelectionDisabled\":[4,\"proximity-selection-disabled\"],\"layout\":[513],\"focusedInput\":[32],\"localeData\":[32],\"setFocus\":[64],\"reposition\":[64]},[[0,\"calciteDatePickerChange\",\"handleDateOrRangeChange\"],[0,\"calciteDatePickerRangeChange\",\"handleDateOrRangeChange\"],[0,\"calciteDaySelect\",\"calciteDaySelectHandler\"]]]]],[\"calcite-panel\",[[1,\"calcite-panel\",{\"dismissed\":[1540],\"beforeBack\":[16],\"disabled\":[516],\"dismissible\":[516],\"headingLevel\":[2,\"heading-level\"],\"showBackButton\":[516,\"show-back-button\"],\"intlBack\":[1,\"intl-back\"],\"heightScale\":[513,\"height-scale\"],\"widthScale\":[513,\"width-scale\"],\"loading\":[516],\"intlClose\":[1,\"intl-close\"],\"intlOptions\":[1,\"intl-options\"],\"heading\":[1],\"summary\":[1],\"menuOpen\":[516,\"menu-open\"],\"setFocus\":[64],\"scrollContentTo\":[64]}]]],[\"calcite-split-button\",[[1,\"calcite-split-button\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"active\":[1540],\"dropdownIconType\":[513,\"dropdown-icon-type\"],\"dropdownLabel\":[513,\"dropdown-label\"],\"loading\":[516],\"overlayPositioning\":[1,\"overlay-positioning\"],\"primaryIconEnd\":[513,\"primary-icon-end\"],\"primaryIconFlipRtl\":[513,\"primary-icon-flip-rtl\"],\"primaryIconStart\":[513,\"primary-icon-start\"],\"primaryLabel\":[513,\"primary-label\"],\"primaryText\":[513,\"primary-text\"],\"scale\":[513],\"width\":[513]}]]],[\"calcite-combobox_3\",[[1,\"calcite-combobox\",{\"active\":[1540],\"disabled\":[516],\"label\":[1],\"placeholder\":[1],\"maxItems\":[2,\"max-items\"],\"name\":[513],\"allowCustomValues\":[4,\"allow-custom-values\"],\"overlayPositioning\":[1,\"overlay-positioning\"],\"required\":[4],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513],\"value\":[1025],\"intlRemoveTag\":[1,\"intl-remove-tag\"],\"items\":[32],\"groupItems\":[32],\"selectedItems\":[32],\"visibleItems\":[32],\"needsIcon\":[32],\"hideList\":[32],\"activeItemIndex\":[32],\"activeChipIndex\":[32],\"activeDescendant\":[32],\"text\":[32],\"open\":[32],\"reposition\":[64],\"setFocus\":[64]},[[4,\"click\",\"documentClickHandler\"],[0,\"calciteComboboxItemChange\",\"calciteComboboxItemChangeHandler\"]]],[1,\"calcite-combobox-item\",{\"disabled\":[516],\"selected\":[1540],\"active\":[4],\"ancestors\":[1040],\"guid\":[1],\"icon\":[1],\"textLabel\":[513,\"text-label\"],\"value\":[8],\"constant\":[516],\"toggleSelected\":[64]}],[1,\"calcite-combobox-item-group\",{\"ancestors\":[1040],\"label\":[1]}]]],[\"calcite-tile-select_2\",[[1,\"calcite-tile-select\",{\"checked\":[1540],\"description\":[513],\"disabled\":[516],\"heading\":[513],\"hidden\":[516],\"icon\":[513],\"name\":[520],\"inputEnabled\":[516,\"input-enabled\"],\"inputAlignment\":[513,\"input-alignment\"],\"type\":[513],\"value\":[8],\"width\":[513],\"focused\":[32],\"setFocus\":[64]},[[0,\"calciteCheckboxChange\",\"checkboxChangeHandler\"],[0,\"calciteInternalCheckboxFocus\",\"checkboxFocusBlurHandler\"],[0,\"calciteInternalCheckboxBlur\",\"checkboxFocusBlurHandler\"],[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"],[0,\"calciteInternalRadioButtonCheckedChange\",\"radioButtonCheckedChangeHandler\"],[0,\"calciteInternalRadioButtonFocus\",\"radioButtonFocusBlurHandler\"],[0,\"calciteInternalRadioButtonBlur\",\"radioButtonFocusBlurHandler\"],[0,\"click\",\"click\"],[1,\"mouseenter\",\"mouseenter\"],[1,\"mouseleave\",\"mouseleave\"]]],[1,\"calcite-tile-select-group\",{\"disabled\":[516],\"layout\":[513]}]]],[\"calcite-fab\",[[1,\"calcite-fab\",{\"appearance\":[513],\"color\":[513],\"disabled\":[516],\"icon\":[1],\"label\":[1],\"loading\":[516],\"scale\":[513],\"text\":[1],\"textEnabled\":[516,\"text-enabled\"],\"setFocus\":[64]}]]],[\"calcite-inline-editable\",[[1,\"calcite-inline-editable\",{\"disabled\":[516],\"editingEnabled\":[1540,\"editing-enabled\"],\"loading\":[1540],\"controls\":[516],\"intlEnableEditing\":[513,\"intl-enable-editing\"],\"intlCancelEditing\":[513,\"intl-cancel-editing\"],\"intlConfirmChanges\":[513,\"intl-confirm-changes\"],\"scale\":[1537],\"afterConfirm\":[16],\"setFocus\":[64]},[[0,\"calciteInputBlur\",\"blurHandler\"]]]]],[\"calcite-modal\",[[1,\"calcite-modal\",{\"active\":[1540],\"beforeClose\":[16],\"disableCloseButton\":[4,\"disable-close-button\"],\"disableOutsideClose\":[4,\"disable-outside-close\"],\"intlClose\":[1,\"intl-close\"],\"docked\":[516],\"firstFocus\":[16],\"disableEscape\":[4,\"disable-escape\"],\"scale\":[513],\"width\":[520],\"fullscreen\":[516],\"color\":[513],\"backgroundColor\":[513,\"background-color\"],\"noPadding\":[4,\"no-padding\"],\"hasFooter\":[32],\"focusElement\":[64],\"setFocus\":[64],\"scrollContent\":[64]},[[8,\"keyup\",\"handleEscape\"]]]]],[\"calcite-tree_2\",[[1,\"calcite-tree-item\",{\"selected\":[1540],\"expanded\":[1540],\"parentExpanded\":[4,\"parent-expanded\"],\"depth\":[1538],\"hasChildren\":[1540,\"has-children\"],\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"scale\":[1537],\"indeterminate\":[516],\"selectionMode\":[1025,\"selection-mode\"]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-tree\",{\"lines\":[1540],\"inputEnabled\":[4,\"input-enabled\"],\"child\":[1540],\"scale\":[1537],\"selectionMode\":[1537,\"selection-mode\"]},[[0,\"focus\",\"onFocus\"],[0,\"focusin\",\"onFocusIn\"],[0,\"focusout\",\"onFocusOut\"],[0,\"calciteTreeItemSelect\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-alert\",[[1,\"calcite-alert\",{\"active\":[1540],\"autoDismiss\":[4,\"auto-dismiss\"],\"autoDismissDuration\":[513,\"auto-dismiss-duration\"],\"color\":[513],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"label\":[1],\"placement\":[1],\"scale\":[513],\"queue\":[32],\"queueLength\":[32],\"queued\":[32],\"requestedIcon\":[32],\"setFocus\":[64]},[[8,\"calciteAlertSync\",\"alertSync\"],[8,\"calciteAlertRegister\",\"alertRegister\"]]]]],[\"calcite-rating\",[[1,\"calcite-rating\",{\"scale\":[513],\"value\":[1538],\"readOnly\":[516,\"read-only\"],\"disabled\":[516],\"showChip\":[516,\"show-chip\"],\"count\":[514],\"average\":[514],\"name\":[513],\"intlRating\":[1,\"intl-rating\"],\"intlStars\":[1,\"intl-stars\"],\"required\":[516],\"hoverValue\":[32],\"focusValue\":[32],\"hasFocus\":[32],\"setFocus\":[64]},[[0,\"blur\",\"blurHandler\"]]]]],[\"calcite-option_3\",[[1,\"calcite-select\",{\"disabled\":[516],\"label\":[1],\"name\":[1],\"required\":[516],\"scale\":[513],\"value\":[1025],\"selectedOption\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteOptionChange\",\"handleOptionOrGroupChange\"],[0,\"calciteOptionGroupChange\",\"handleOptionOrGroupChange\"]]],[1,\"calcite-option\",{\"disabled\":[516],\"label\":[1025],\"selected\":[516],\"value\":[1032]}],[1,\"calcite-option-group\",{\"disabled\":[516],\"label\":[1]}]]],[\"calcite-accordion_2\",[[1,\"calcite-accordion-item\",{\"active\":[1540],\"itemTitle\":[1,\"item-title\"],\"itemSubtitle\":[1,\"item-subtitle\"],\"icon\":[513]},[[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteAccordionChange\",\"updateActiveItemOnChange\"]]],[1,\"calcite-accordion\",{\"appearance\":[513],\"iconPosition\":[513,\"icon-position\"],\"iconType\":[513,\"icon-type\"],\"scale\":[513],\"selectionMode\":[513,\"selection-mode\"]},[[0,\"calciteAccordionItemKeyEvent\",\"calciteAccordionItemKeyEvent\"],[0,\"calciteAccordionItemRegister\",\"registerCalciteAccordionItem\"],[0,\"calciteAccordionItemSelect\",\"updateActiveItemOnChange\"]]]]],[\"calcite-radio-group_2\",[[1,\"calcite-radio-group-item\",{\"checked\":[1540],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"iconPosition\":[513,\"icon-position\"],\"value\":[1032]}],[1,\"calcite-radio-group\",{\"appearance\":[513],\"disabled\":[516],\"required\":[516],\"layout\":[513],\"name\":[1],\"scale\":[513],\"value\":[1025],\"selectedItem\":[1040],\"width\":[513],\"setFocus\":[64]},[[0,\"calciteRadioGroupItemChange\",\"handleSelected\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"calcite-stepper_2\",[[1,\"calcite-stepper-item\",{\"active\":[1540],\"complete\":[516],\"error\":[4],\"disabled\":[516],\"itemTitle\":[1,\"item-title\"],\"itemSubtitle\":[1,\"item-subtitle\"],\"layout\":[1537],\"icon\":[1028],\"numbered\":[1028],\"scale\":[1537]},[[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteStepperItemChange\",\"updateActiveItemOnChange\"]]],[1,\"calcite-stepper\",{\"icon\":[516],\"layout\":[513],\"numbered\":[516],\"scale\":[513],\"requestedContent\":[1040],\"nextStep\":[64],\"prevStep\":[64],\"goToStep\":[64],\"startStep\":[64],\"endStep\":[64]},[[0,\"calciteStepperItemKeyEvent\",\"calciteStepperItemKeyEvent\"],[0,\"calciteStepperItemRegister\",\"registerItem\"],[0,\"calciteStepperItemSelect\",\"updateItem\"]]]]],[\"calcite-avatar\",[[1,\"calcite-avatar\",{\"scale\":[513],\"thumbnail\":[1],\"fullName\":[1,\"full-name\"],\"username\":[1],\"userId\":[1,\"user-id\"],\"error\":[32]}]]],[\"calcite-input-message\",[[1,\"calcite-input-message\",{\"active\":[516],\"icon\":[520],\"scale\":[1537],\"status\":[1537],\"type\":[513]}]]],[\"calcite-notice\",[[1,\"calcite-notice\",{\"active\":[1540],\"color\":[513],\"dismissible\":[516],\"icon\":[520],\"intlClose\":[1,\"intl-close\"],\"scale\":[513],\"width\":[513],\"setFocus\":[64]}]]],[\"calcite-pagination\",[[1,\"calcite-pagination\",{\"num\":[2],\"start\":[1026],\"total\":[2],\"textLabelNext\":[1,\"text-label-next\"],\"textLabelPrevious\":[1,\"text-label-previous\"],\"scale\":[513],\"nextPage\":[64],\"previousPage\":[64]}]]],[\"calcite-list_3\",[[1,\"calcite-list\",{\"disabled\":[516],\"headingLevel\":[2,\"heading-level\"],\"setFocus\":[64]}],[1,\"calcite-list-item\",{\"nonInteractive\":[516,\"non-interactive\"],\"description\":[1],\"disabled\":[516],\"label\":[1],\"setFocus\":[64]}],[1,\"calcite-list-item-group\",{\"heading\":[513],\"headingLevel\":[2,\"heading-level\"]}]]],[\"calcite-shell_3\",[[1,\"calcite-shell\",{\"contentBehind\":[516,\"content-behind\"]}],[1,\"calcite-shell-center-row\",{\"detached\":[516],\"heightScale\":[513,\"height-scale\"],\"position\":[513]}],[1,\"calcite-shell-panel\",{\"collapsed\":[516],\"detached\":[516],\"detachedHeightScale\":[513,\"detached-height-scale\"],\"widthScale\":[513,\"width-scale\"],\"position\":[513],\"intlResize\":[1,\"intl-resize\"],\"resizable\":[516],\"contentWidth\":[32]}]]],[\"calcite-flow\",[[1,\"calcite-flow\",{\"panelCount\":[32],\"flowDirection\":[32],\"panels\":[32],\"back\":[64]},[[0,\"calcitePanelBackClick\",\"handleCalcitePanelBackClick\"]]]]],[\"calcite-radio-button\",[[1,\"calcite-radio-button\",{\"checked\":[1540],\"disabled\":[516],\"focused\":[1540],\"guid\":[1537],\"hidden\":[516],\"hovered\":[1540],\"label\":[1],\"name\":[513],\"required\":[516],\"scale\":[513],\"value\":[1032],\"setFocus\":[64],\"emitCheckedChange\":[64]},[[1,\"mouseenter\",\"mouseenter\"],[1,\"mouseleave\",\"mouseleave\"]]]]],[\"calcite-radio-button-group\",[[1,\"calcite-radio-button-group\",{\"disabled\":[516],\"hidden\":[516],\"layout\":[513],\"name\":[513],\"required\":[516],\"scale\":[513]},[[0,\"calciteRadioButtonChange\",\"radioButtonChangeHandler\"]]]]],[\"calcite-sortable-list\",[[1,\"calcite-sortable-list\",{\"dragSelector\":[1,\"drag-selector\"],\"group\":[1],\"handleSelector\":[1,\"handle-selector\"],\"layout\":[1],\"disabled\":[516],\"loading\":[516],\"handleActivated\":[32]},[[0,\"calciteHandleNudge\",\"calciteHandleNudgeHandler\"]]]]],[\"calcite-pick-list_3\",[[1,\"calcite-pick-list\",{\"disabled\":[516],\"filterEnabled\":[516,\"filter-enabled\"],\"filterPlaceholder\":[513,\"filter-placeholder\"],\"headingLevel\":[2,\"heading-level\"],\"loading\":[516],\"multiple\":[516],\"selectionFollowsFocus\":[4,\"selection-follows-focus\"],\"selectedValues\":[32],\"dataForFilter\":[32],\"getSelectedItems\":[64],\"setFocus\":[64]},[[0,\"calciteListItemRemove\",\"calciteListItemRemoveHandler\"],[0,\"calciteListItemChange\",\"calciteListItemChangeHandler\"],[0,\"calciteListItemPropsChange\",\"calciteListItemPropsChangeHandler\"],[0,\"calciteListItemValueChange\",\"calciteListItemValueChangeHandler\"],[0,\"focusout\",\"calciteListFocusOutHandler\"]]],[1,\"calcite-pick-list-group\",{\"groupTitle\":[513,\"group-title\"],\"headingLevel\":[2,\"heading-level\"]}],[1,\"calcite-pick-list-item\",{\"description\":[513],\"disabled\":[516],\"disableDeselect\":[4,\"disable-deselect\"],\"nonInteractive\":[516,\"non-interactive\"],\"icon\":[513],\"label\":[513],\"metadata\":[16],\"removable\":[516],\"selected\":[1540],\"intlRemove\":[513,\"intl-remove\"],\"value\":[8],\"toggleSelected\":[64],\"setFocus\":[64]}]]],[\"calcite-input-time-picker_2\",[[1,\"calcite-input-time-picker\",{\"active\":[1540],\"disabled\":[516],\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025,\"lang\"],\"name\":[1],\"required\":[516],\"scale\":[513],\"step\":[2],\"value\":[1025],\"localizedValue\":[32],\"setFocus\":[64]},[[0,\"click\",\"clickHandler\"],[0,\"keyup\",\"keyUpHandler\"],[0,\"calciteTimePickerBlur\",\"timePickerBlurHandler\"],[0,\"calciteTimePickerFocus\",\"timePickerFocusHandler\"]]],[1,\"calcite-time-picker\",{\"intlHour\":[1,\"intl-hour\"],\"intlHourDown\":[1,\"intl-hour-down\"],\"intlHourUp\":[1,\"intl-hour-up\"],\"intlMeridiem\":[1,\"intl-meridiem\"],\"intlMeridiemDown\":[1,\"intl-meridiem-down\"],\"intlMeridiemUp\":[1,\"intl-meridiem-up\"],\"intlMinute\":[1,\"intl-minute\"],\"intlMinuteDown\":[1,\"intl-minute-down\"],\"intlMinuteUp\":[1,\"intl-minute-up\"],\"intlSecond\":[1,\"intl-second\"],\"intlSecondDown\":[1,\"intl-second-down\"],\"intlSecondUp\":[1,\"intl-second-up\"],\"locale\":[1025,\"lang\"],\"scale\":[1],\"step\":[2],\"value\":[1025],\"hour\":[32],\"hourCycle\":[32],\"localizedHour\":[32],\"localizedHourSuffix\":[32],\"localizedMeridiem\":[32],\"localizedMinute\":[32],\"localizedMinuteSuffix\":[32],\"localizedSecond\":[32],\"localizedSecondSuffix\":[32],\"meridiem\":[32],\"minute\":[32],\"second\":[32],\"showSecond\":[32],\"setFocus\":[64]},[[0,\"blur\",\"hostBlurHandler\"],[0,\"focus\",\"hostFocusHandler\"],[0,\"keydown\",\"keyDownHandler\"]]]]],[\"calcite-tile\",[[1,\"calcite-tile\",{\"active\":[516],\"description\":[513],\"disabled\":[516],\"embed\":[516],\"focused\":[516],\"heading\":[513],\"hidden\":[516],\"href\":[513],\"icon\":[513]}]]],[\"calcite-dropdown_3\",[[1,\"calcite-dropdown-item\",{\"active\":[1540],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"iconEnd\":[513,\"icon-end\"],\"href\":[513],\"label\":[1],\"rel\":[1],\"target\":[1],\"setFocus\":[64]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"],[16,\"calciteDropdownItemChange\",\"updateActiveItemOnChange\"]]],[1,\"calcite-dropdown-group\",{\"groupTitle\":[513,\"group-title\"],\"selectionMode\":[513,\"selection-mode\"],\"scale\":[513]},[[0,\"calciteDropdownItemSelect\",\"updateActiveItemOnChange\"]]],[1,\"calcite-dropdown\",{\"active\":[1540],\"disableCloseOnSelect\":[516,\"disable-close-on-select\"],\"disabled\":[516],\"maxItems\":[2,\"max-items\"],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"scale\":[513],\"selectedItems\":[1040],\"type\":[513],\"width\":[513],\"reposition\":[64]},[[8,\"click\",\"closeCalciteDropdownOnClick\"],[0,\"calciteDropdownCloseRequest\",\"closeCalciteDropdownOnEvent\"],[8,\"calciteDropdownOpen\",\"closeCalciteDropdownOnOpenEvent\"],[1,\"mouseenter\",\"mouseEnterHandler\"],[1,\"mouseleave\",\"mouseLeaveHandler\"],[0,\"calciteDropdownItemKeyEvent\",\"calciteDropdownItemKeyEvent\"],[0,\"calciteDropdownItemSelect\",\"handleItemSelect\"]]]]],[\"calcite-graph_2\",[[1,\"calcite-slider\",{\"disabled\":[516],\"hasHistogram\":[1540,\"has-histogram\"],\"histogram\":[16],\"histogramStops\":[16],\"labelHandles\":[516,\"label-handles\"],\"labelTicks\":[516,\"label-ticks\"],\"max\":[514],\"maxLabel\":[1,\"max-label\"],\"maxValue\":[1026,\"max-value\"],\"min\":[514],\"minLabel\":[1,\"min-label\"],\"minValue\":[1026,\"min-value\"],\"mirrored\":[516],\"name\":[513],\"pageStep\":[2,\"page-step\"],\"precise\":[4],\"required\":[516],\"snap\":[4],\"step\":[2],\"ticks\":[2],\"value\":[1538],\"scale\":[1],\"activeProp\":[32],\"minMaxValueRange\":[32],\"minValueDragRange\":[32],\"maxValueDragRange\":[32],\"tickValues\":[32],\"setFocus\":[64]},[[0,\"keydown\",\"keyDownHandler\"],[0,\"click\",\"clickHandler\"],[1,\"pointerdown\",\"pointerDownHandler\"]]],[1,\"calcite-graph\",{\"data\":[16],\"colorStops\":[16],\"highlightMin\":[2,\"highlight-min\"],\"highlightMax\":[2,\"highlight-max\"],\"min\":[2],\"max\":[2]}]]],[\"calcite-handle\",[[1,\"calcite-handle\",{\"activated\":[1540],\"textTitle\":[513,\"text-title\"],\"setFocus\":[64]}]]],[\"calcite-label\",[[1,\"calcite-label\",{\"alignment\":[513],\"status\":[513],\"for\":[513],\"scale\":[513],\"layout\":[513],\"disableSpacing\":[4,\"disable-spacing\"],\"disabled\":[516]}]]],[\"calcite-switch\",[[1,\"calcite-switch\",{\"disabled\":[516],\"label\":[1],\"name\":[513],\"scale\":[513],\"switched\":[1028],\"checked\":[1540],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-action-group\",[[1,\"calcite-action-group\",{\"expanded\":[516],\"layout\":[513],\"columns\":[514],\"intlMore\":[1,\"intl-more\"],\"menuOpen\":[1540,\"menu-open\"],\"scale\":[513]}]]],[\"calcite-filter\",[[1,\"calcite-filter\",{\"items\":[1040],\"disabled\":[516],\"filteredItems\":[1040],\"intlClear\":[1,\"intl-clear\"],\"intlLabel\":[1,\"intl-label\"],\"placeholder\":[1],\"scale\":[513],\"value\":[1025],\"setFocus\":[64]}]]],[\"calcite-link\",[[1,\"calcite-link\",{\"disabled\":[516],\"download\":[520],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"rel\":[1],\"target\":[1],\"setFocus\":[64]}]]],[\"calcite-chip\",[[1,\"calcite-chip\",{\"appearance\":[513],\"color\":[513],\"dismissible\":[516],\"dismissLabel\":[1,\"dismiss-label\"],\"icon\":[513],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"scale\":[513],\"value\":[8],\"setFocus\":[64]}]]],[\"calcite-button\",[[1,\"calcite-button\",{\"alignment\":[513],\"appearance\":[513],\"label\":[1],\"color\":[513],\"disabled\":[516],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516],\"name\":[1],\"rel\":[1],\"form\":[1],\"round\":[516],\"scale\":[513],\"splitChild\":[520,\"split-child\"],\"target\":[1],\"type\":[1025],\"width\":[513],\"hasContent\":[32],\"hasLoader\":[32],\"setFocus\":[64]}]]],[\"calcite-tab_4\",[[1,\"calcite-tab-title\",{\"active\":[1540],\"disabled\":[516],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"layout\":[1537],\"position\":[1537],\"scale\":[1537],\"bordered\":[1540],\"tab\":[513],\"controls\":[32],\"hasText\":[32],\"getTabIndex\":[64],\"getTabIdentifier\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteTabChange\",\"tabChangeHandler\"],[0,\"click\",\"onClick\"],[0,\"keydown\",\"keyDownHandler\"]]],[1,\"calcite-tab\",{\"tab\":[513],\"active\":[1540],\"scale\":[1537],\"labeledBy\":[32],\"getTabIndex\":[64],\"updateAriaInfo\":[64]},[[16,\"calciteTabChange\",\"tabChangeHandler\"]]],[1,\"calcite-tab-nav\",{\"storageId\":[1,\"storage-id\"],\"syncId\":[1,\"sync-id\"],\"scale\":[1537],\"layout\":[1537],\"position\":[1537],\"bordered\":[1540],\"indicatorOffset\":[1026,\"indicator-offset\"],\"indicatorWidth\":[1026,\"indicator-width\"],\"selectedTab\":[32],\"selectedTabEl\":[32]},[[9,\"resize\",\"resizeHandler\"],[0,\"calciteTabsFocusPrevious\",\"focusPreviousTabHandler\"],[0,\"calciteTabsFocusNext\",\"focusNextTabHandler\"],[0,\"calciteTabsActivate\",\"activateTabHandler\"],[0,\"calciteTabTitleRegister\",\"updateTabTitles\"],[16,\"calciteTabChange\",\"globalTabChangeHandler\"]]],[1,\"calcite-tabs\",{\"layout\":[513],\"position\":[513],\"scale\":[513],\"bordered\":[1540],\"titles\":[32],\"tabs\":[32]},[[0,\"calciteTabTitleRegister\",\"calciteTabTitleRegister\"],[16,\"calciteTabTitleUnregister\",\"calciteTabTitleUnregister\"],[0,\"calciteTabRegister\",\"calciteTabRegister\"],[16,\"calciteTabUnregister\",\"calciteTabUnregister\"]]]]],[\"calcite-color-picker_3\",[[1,\"calcite-color-picker\",{\"allowEmpty\":[4,\"allow-empty\"],\"appearance\":[513],\"color\":[1040],\"disabled\":[516],\"format\":[1],\"hideHex\":[4,\"hide-hex\"],\"hideChannels\":[4,\"hide-channels\"],\"hideSaved\":[4,\"hide-saved\"],\"intlB\":[1,\"intl-b\"],\"intlBlue\":[1,\"intl-blue\"],\"intlDeleteColor\":[1,\"intl-delete-color\"],\"intlG\":[1,\"intl-g\"],\"intlGreen\":[1,\"intl-green\"],\"intlH\":[1,\"intl-h\"],\"intlHsv\":[1,\"intl-hsv\"],\"intlHex\":[1,\"intl-hex\"],\"intlHue\":[1,\"intl-hue\"],\"intlNoColor\":[1,\"intl-no-color\"],\"intlR\":[1,\"intl-r\"],\"intlRed\":[1,\"intl-red\"],\"intlRgb\":[1,\"intl-rgb\"],\"intlS\":[1,\"intl-s\"],\"intlSaturation\":[1,\"intl-saturation\"],\"intlSaveColor\":[1,\"intl-save-color\"],\"intlSaved\":[1,\"intl-saved\"],\"intlV\":[1,\"intl-v\"],\"intlValue\":[1,\"intl-value\"],\"scale\":[513],\"storageId\":[1,\"storage-id\"],\"value\":[1025],\"colorFieldAndSliderInteractive\":[32],\"channelMode\":[32],\"channels\":[32],\"dimensions\":[32],\"savedColors\":[32],\"colorFieldScopeTop\":[32],\"colorFieldScopeLeft\":[32],\"scopeOrientation\":[32],\"hueScopeLeft\":[32],\"hueScopeTop\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"handleChannelKeyUpOrDown\"],[2,\"keyup\",\"handleChannelKeyUpOrDown\"]]],[1,\"calcite-color-picker-hex-input\",{\"allowEmpty\":[4,\"allow-empty\"],\"intlHex\":[1,\"intl-hex\"],\"intlNoColor\":[1,\"intl-no-color\"],\"scale\":[513],\"value\":[1537],\"internalColor\":[32],\"setFocus\":[64]},[[2,\"keydown\",\"onInputKeyDown\"]]],[1,\"calcite-color-picker-swatch\",{\"active\":[516],\"color\":[1],\"scale\":[513]}]]],[\"calcite-scrim\",[[1,\"calcite-scrim\",{\"intlLoading\":[1,\"intl-loading\"],\"loading\":[516]}]]],[\"calcite-tooltip_2\",[[1,\"calcite-tooltip\",{\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[516],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"effectiveReferenceElement\":[32],\"reposition\":[64]}],[1,\"calcite-tooltip-manager\",{\"selector\":[1]},[[4,\"keyup\",\"keyUpHandler\"],[3,\"mouseover\",\"mouseEnterShow\"],[3,\"mouseout\",\"mouseLeaveHide\"],[2,\"click\",\"clickHandler\"],[2,\"focus\",\"focusShow\"],[2,\"blur\",\"blurHide\"]]]]],[\"calcite-popover_2\",[[1,\"calcite-popover-manager\",{\"selector\":[1],\"autoClose\":[516,\"auto-close\"]},[[10,\"click\",\"closeOpenPopovers\"]]],[1,\"calcite-popover\",{\"closeButton\":[516,\"close-button\"],\"dismissible\":[516],\"disableFlip\":[516,\"disable-flip\"],\"disablePointer\":[516,\"disable-pointer\"],\"flipPlacements\":[16],\"heading\":[1],\"headingLevel\":[2,\"heading-level\"],\"label\":[1],\"offsetDistance\":[514,\"offset-distance\"],\"offsetSkidding\":[514,\"offset-skidding\"],\"open\":[1540],\"overlayPositioning\":[1,\"overlay-positioning\"],\"placement\":[513],\"referenceElement\":[1,\"reference-element\"],\"intlClose\":[1,\"intl-close\"],\"effectiveReferenceElement\":[32],\"reposition\":[64],\"setFocus\":[64],\"toggle\":[64]}]]],[\"calcite-progress\",[[1,\"calcite-progress\",{\"type\":[1],\"value\":[2],\"label\":[1],\"text\":[1],\"reversed\":[4]}]]],[\"calcite-input\",[[1,\"calcite-input\",{\"alignment\":[513],\"autofocus\":[4],\"clearable\":[516],\"disabled\":[516],\"groupSeparator\":[4,\"group-separator\"],\"hidden\":[4],\"icon\":[520],\"intlLoading\":[1,\"intl-loading\"],\"iconFlipRtl\":[516,\"icon-flip-rtl\"],\"label\":[1],\"loading\":[516],\"locale\":[1],\"localeFormat\":[4,\"locale-format\"],\"max\":[514],\"min\":[514],\"maxlength\":[514],\"maxLength\":[514,\"max-length\"],\"minLength\":[514,\"min-length\"],\"name\":[513],\"numberButtonType\":[513,\"number-button-type\"],\"placeholder\":[1],\"prefixText\":[1,\"prefix-text\"],\"readOnly\":[4,\"read-only\"],\"required\":[4],\"scale\":[1537],\"status\":[1537],\"step\":[520],\"suffixText\":[1,\"suffix-text\"],\"editingEnabled\":[1540,\"editing-enabled\"],\"type\":[513],\"value\":[1025],\"localizedValue\":[32],\"setFocus\":[64]}]]],[\"calcite-date-picker_4\",[[1,\"calcite-date-picker\",{\"activeRange\":[1,\"active-range\"],\"value\":[1025],\"headingLevel\":[2,\"heading-level\"],\"valueAsDate\":[1040],\"startAsDate\":[1040],\"endAsDate\":[1040],\"minAsDate\":[1040],\"maxAsDate\":[1040],\"min\":[1025],\"max\":[1025],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"locale\":[1],\"scale\":[513],\"range\":[516],\"start\":[1025],\"end\":[1025],\"proximitySelectionDisabled\":[4,\"proximity-selection-disabled\"],\"activeDate\":[32],\"activeStartDate\":[32],\"activeEndDate\":[32],\"localeData\":[32],\"hoverRange\":[32]}],[1,\"calcite-date-picker-month\",{\"selectedDate\":[16],\"activeDate\":[16],\"startDate\":[16],\"endDate\":[16],\"min\":[16],\"max\":[16],\"scale\":[513],\"localeData\":[16],\"hoverRange\":[16]},[[1,\"mouseout\",\"mouseoutHandler\"]]],[1,\"calcite-date-picker-month-header\",{\"selectedDate\":[16],\"activeDate\":[16],\"headingLevel\":[2,\"heading-level\"],\"min\":[16],\"max\":[16],\"locale\":[1],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"intlYear\":[1,\"intl-year\"],\"scale\":[513],\"localeData\":[16],\"nextMonthDate\":[32],\"prevMonthDate\":[32]}],[1,\"calcite-date-picker-day\",{\"day\":[2],\"disabled\":[516],\"currentMonth\":[516,\"current-month\"],\"selected\":[516],\"highlighted\":[516],\"range\":[516],\"startOfRange\":[516,\"start-of-range\"],\"endOfRange\":[516,\"end-of-range\"],\"rangeHover\":[516,\"range-hover\"],\"active\":[516],\"localeData\":[16],\"scale\":[513],\"value\":[16]},[[1,\"mouseover\",\"mouseoverHandler\"]]]]]]"), options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -90,7 +90,7 @@ function calciteListFocusOutHandler(event) {
|
|
|
90
90
|
if (focusedInside) {
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
|
-
items.forEach((item) => {
|
|
93
|
+
filterOutDisabled(items).forEach((item) => {
|
|
94
94
|
toggleSingleSelectItemTabbing(item, selectedValues.size === 0 ? item.contains(event.target) || event.target === item : item.selected);
|
|
95
95
|
});
|
|
96
96
|
}
|
|
@@ -106,7 +106,7 @@ function keyDownHandler(event) {
|
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
108
108
|
event.preventDefault();
|
|
109
|
-
const index =
|
|
109
|
+
const index = moveItemIndex(this, target, key === "ArrowUp" ? "up" : "down");
|
|
110
110
|
const item = items[index];
|
|
111
111
|
items.forEach((i) => toggleSingleSelectItemTabbing(i, i === item));
|
|
112
112
|
if (!multiple && selectionFollowsFocus) {
|
|
@@ -114,6 +114,25 @@ function keyDownHandler(event) {
|
|
|
114
114
|
}
|
|
115
115
|
focusElement(item);
|
|
116
116
|
}
|
|
117
|
+
function moveItemIndex(list, item, direction) {
|
|
118
|
+
const { items } = list;
|
|
119
|
+
const { length: totalItems } = items;
|
|
120
|
+
const currentIndex = items.indexOf(item);
|
|
121
|
+
const directionFactor = direction === "up" ? -1 : 1;
|
|
122
|
+
let moveOffset = 1;
|
|
123
|
+
let index = getRoundRobinIndex(currentIndex + directionFactor * moveOffset++, totalItems);
|
|
124
|
+
const firstMovedIndex = index;
|
|
125
|
+
while (items[index].disabled) {
|
|
126
|
+
index = getRoundRobinIndex(currentIndex + directionFactor * moveOffset++, totalItems);
|
|
127
|
+
if (index === firstMovedIndex) {
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
return index;
|
|
132
|
+
}
|
|
133
|
+
function filterOutDisabled(items) {
|
|
134
|
+
return items.filter((item) => !item.disabled);
|
|
135
|
+
}
|
|
117
136
|
function internalCalciteListChangeEvent() {
|
|
118
137
|
this.calciteListChange.emit(this.selectedValues);
|
|
119
138
|
}
|
|
@@ -134,6 +153,9 @@ function removeItem(event) {
|
|
|
134
153
|
this.emitCalciteListChange();
|
|
135
154
|
}
|
|
136
155
|
function toggleSingleSelectItemTabbing(item, selectable) {
|
|
156
|
+
if (item.disabled) {
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
137
159
|
// using attribute intentionally
|
|
138
160
|
if (selectable) {
|
|
139
161
|
item.removeAttribute("tabindex");
|
|
@@ -143,6 +165,7 @@ function toggleSingleSelectItemTabbing(item, selectable) {
|
|
|
143
165
|
}
|
|
144
166
|
}
|
|
145
167
|
async function setFocus(focusId) {
|
|
168
|
+
var _a;
|
|
146
169
|
if (this.filterEnabled && focusId === "filter") {
|
|
147
170
|
await focusElement(this.filterEl);
|
|
148
171
|
return;
|
|
@@ -152,10 +175,11 @@ async function setFocus(focusId) {
|
|
|
152
175
|
return;
|
|
153
176
|
}
|
|
154
177
|
if (multiple) {
|
|
155
|
-
return items[0].setFocus();
|
|
178
|
+
return (_a = filterOutDisabled(items)[0]) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
156
179
|
}
|
|
157
|
-
const
|
|
158
|
-
|
|
180
|
+
const filtered = filterOutDisabled(items);
|
|
181
|
+
const focusTarget = filtered.find((item) => item.selected) || filtered[0];
|
|
182
|
+
if (selectionFollowsFocus && focusTarget) {
|
|
159
183
|
focusTarget.selected = true;
|
|
160
184
|
}
|
|
161
185
|
return focusTarget.setFocus();
|
|
@@ -177,7 +201,7 @@ function setUpItems(tagName) {
|
|
|
177
201
|
}
|
|
178
202
|
});
|
|
179
203
|
const [first] = items;
|
|
180
|
-
if (!hasSelected && first) {
|
|
204
|
+
if (!hasSelected && first && !first.disabled) {
|
|
181
205
|
toggleSingleSelectItemTabbing(first, true);
|
|
182
206
|
}
|
|
183
207
|
}
|
|
@@ -297,12 +321,12 @@ var __rest = (undefined && undefined.__rest) || function (s, e) {
|
|
|
297
321
|
const List = (_a) => {
|
|
298
322
|
var { props: { disabled, loading, filterEnabled, dataForFilter, handleFilter, filterPlaceholder, setFilterEl } } = _a, rest = __rest(_a, ["props"]);
|
|
299
323
|
const defaultSlot = h("slot", null);
|
|
300
|
-
return (h(Host, Object.assign({ "aria-busy": loading.toString(),
|
|
324
|
+
return (h(Host, Object.assign({ "aria-busy": loading.toString(), role: "menu" }, rest),
|
|
301
325
|
h("section", null,
|
|
302
326
|
h("header", { class: { [CSS$1.sticky]: true } },
|
|
303
327
|
filterEnabled ? (h("calcite-filter", { "aria-label": filterPlaceholder, disabled: loading || disabled, items: dataForFilter, onCalciteFilterChange: handleFilter, placeholder: filterPlaceholder, ref: setFilterEl })) : null,
|
|
304
328
|
h("slot", { name: SLOTS$1.menuActions })),
|
|
305
|
-
loading
|
|
329
|
+
loading ? h("calcite-scrim", { loading: loading }) : null,
|
|
306
330
|
defaultSlot)));
|
|
307
331
|
};
|
|
308
332
|
|
|
@@ -333,4 +357,4 @@ const TEXT = {
|
|
|
333
357
|
remove: "Remove"
|
|
334
358
|
};
|
|
335
359
|
|
|
336
|
-
export { CSS as C, ICON_TYPES as I, List as L, SLOTS as S, TEXT as T, deselectSiblingItems as a,
|
|
360
|
+
export { CSS as C, ICON_TYPES as I, List as L, SLOTS as S, TEXT as T, deselectSiblingItems as a, moveItemIndex as b, initializeObserver as c, deselectRemovedItems as d, cleanUpObserver as e, calciteListFocusOutHandler as f, getItemData as g, handleFilter as h, initialize as i, calciteListItemChangeHandler as j, keyDownHandler as k, calciteListItemValueChangeHandler as l, mutationObserverCallback as m, setUpItems as n, setFocus as o, ICONS as p, removeItem as r, selectSiblings as s };
|
|
@@ -2,4 +2,4 @@ var __awaiter=this&&this.__awaiter||function(t,e,i,n){function a(t){return t ins
|
|
|
2
2
|
/*!
|
|
3
3
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
5
|
-
*/import{r as registerInstance,c as createEvent,h,H as Host,g as getElement,f as forceUpdate}from"./index-0fefddd1.js";import{c as createObserver}from"./observers-46118290.js";var CSS={button:"button",buttonTextVisible:"button--text-visible",buttonCompact:"button--compact",iconContainer:"icon-container",slotContainer:"slot-container",slotContainerHidden:"slot-container--hidden",textContainer:"text-container",textContainerVisible:"text-container--visible"};var TEXT={loading:"Loading"};var actionCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;background-color:transparent}:host([disabled]){pointer-events:none}.button{position:relative;margin:0px;display:-ms-flexbox;display:flex;width:auto;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;text-align:unset;-ms-flex:1 0 auto;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:1rem;min-height:1rem}.button .text-container{margin:0px;width:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1rem;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:margin;transition-property:margin;-webkit-transition-property:width;transition-property:width}.button .text-container--visible{width:auto;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1}:host([scale=s]) .button{padding:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .button{padding:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([alignment=center]) .button{-ms-flex-pack:center;justify-content:center}:host([alignment=end]) .button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{-ms-flex:0 1 auto;flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-left:0px;padding-right:0px}.slot-container{display:-ms-flexbox;display:flex}.slot-container--hidden{display:none}.button--text-visible{width:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=clear]) .button{background-color:transparent;-webkit-transition-property:-webkit-box-shadow;transition-property:-webkit-box-shadow;transition-property:box-shadow;transition-property:box-shadow, -webkit-box-shadow;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([appearance=clear]) .button:hover,:host([appearance=clear]) .button:focus{background-color:transparent;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=clear]) .button,:host([active][appearance=clear]) .button:hover,:host([active][appearance=clear]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=clear][loading]) .button,:host([appearance=clear][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{margin-right:0px;color:var(--calcite-ui-text-3)}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;z-index:10;height:0.5rem;width:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-ui-brand);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button--text-visible .text-container--visible{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}';var Action=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionClick=createEvent(this,"calciteActionClick",7);this.active=false;this.appearance="solid";this.compact=false;this.disabled=false;this.indicator=false;this.intlLoading=TEXT.loading;this.loading=false;this.scale="m";this.textEnabled=false;this.mutationObserver=createObserver("mutation",(function(){return forceUpdate(e)}));this.calciteActionClickHandler=function(){if(!e.disabled){e.calciteActionClick.emit()}}}t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.buttonEl.focus();return[2]}))}))};t.prototype.renderTextContainer=function(){var t;var e=this,i=e.text,n=e.textEnabled;var a=(t={},t[CSS.textContainer]=true,t[CSS.textContainerVisible]=n,t);return i?h("div",{class:a,key:"text-container"},i):null};t.prototype.renderIconContainer=function(){var t;var e;var i=this,n=i.loading,a=i.icon,o=i.scale,r=i.el,c=i.intlLoading;var l=o==="l"?"m":"s";var s=o==="l"?"l":"m";var u=n?h("calcite-loader",{active:true,inline:true,label:c,scale:s}):null;var d=a?h("calcite-icon",{icon:a,scale:l}):null;var b=u||d;var f=b||((e=r.children)===null||e===void 0?void 0:e.length);var m=h("div",{class:(t={},t[CSS.slotContainer]=true,t[CSS.slotContainerHidden]=n,t)},h("slot",null));return f?h("div",{"aria-hidden":"true",class:CSS.iconContainer,key:"icon-container"},b,m):null};t.prototype.render=function(){var t;var e=this;var i=this,n=i.compact,a=i.disabled,o=i.loading,r=i.textEnabled,c=i.label,l=i.text;var s=c||l;var u=(t={},t[CSS.button]=true,t[CSS.buttonTextVisible]=r,t[CSS.buttonCompact]=n,t);return h(Host,{onClick:this.calciteActionClickHandler},h("button",{"aria-busy":o.toString(),"aria-disabled":a.toString(),"aria-label":s,class:u,disabled:a,ref:function(t){return e.buttonEl=t}},this.renderIconContainer(),this.renderTextContainer()))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Action.style=actionCss;export{Action as calcite_action};
|
|
5
|
+
*/import{r as registerInstance,c as createEvent,h,H as Host,g as getElement,f as forceUpdate}from"./index-0fefddd1.js";import{c as createObserver}from"./observers-46118290.js";import{u as updateHostInteraction}from"./interactive-48b5cc0f.js";var CSS={button:"button",buttonTextVisible:"button--text-visible",buttonCompact:"button--compact",iconContainer:"icon-container",slotContainer:"slot-container",slotContainerHidden:"slot-container--hidden",textContainer:"text-container",textContainerVisible:"text-container--visible"};var TEXT={loading:"Loading"};var actionCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;background-color:transparent}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.button{position:relative;margin:0px;display:-ms-flexbox;display:flex;width:auto;cursor:pointer;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;border-style:none;background-color:var(--calcite-ui-foreground-1);fill:var(--calcite-ui-text-3);font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-3);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;text-align:unset;-ms-flex:1 0 auto;flex:1 0 auto}.button:hover{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}.button:focus{background-color:var(--calcite-ui-foreground-2);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1);outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.button:active{background-color:var(--calcite-ui-foreground-3)}.button .icon-container{pointer-events:none;margin:0px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:1rem;min-height:1rem}.button .text-container{margin:0px;width:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1rem;opacity:0;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-property:margin;transition-property:margin;-webkit-transition-property:width;transition-property:width}.button .text-container--visible{width:auto;-ms-flex:1 1 auto;flex:1 1 auto;opacity:1}:host([scale=s]) .button{padding:0.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=s]) .button--text-visible .icon-container{-webkit-margin-end:0.5rem;margin-inline-end:0.5rem}:host([scale=m]) .button{padding:1rem;font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=m]) .button--text-visible .icon-container{-webkit-margin-end:0.75rem;margin-inline-end:0.75rem}:host([scale=l]) .button{padding:1.25rem;font-size:var(--calcite-font-size-0);line-height:1.25rem;font-weight:var(--calcite-font-weight-normal)}:host([scale=l]) .button--text-visible .icon-container{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([alignment=center]) .button{-ms-flex-pack:center;justify-content:center}:host([alignment=end]) .button{-ms-flex-pack:end;justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{-ms-flex:0 1 auto;flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-left:0px;padding-right:0px}.slot-container{display:-ms-flexbox;display:flex}.slot-container--hidden{display:none}.button--text-visible{width:100%}:host([active]) .button,:host([active]) .button:hover,:host([active]) .button:focus,:host([active][loading]) .button{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([active]) .button:active{background-color:var(--calcite-ui-foreground-1)}:host([appearance=clear]) .button{background-color:transparent;-webkit-transition-property:-webkit-box-shadow;transition-property:-webkit-box-shadow;transition-property:box-shadow;transition-property:box-shadow, -webkit-box-shadow;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}:host([appearance=clear]) .button:hover,:host([appearance=clear]) .button:focus{background-color:transparent;-webkit-box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset;box-shadow:0 0 0 2px var(--calcite-ui-border-1) inset}:host([active][appearance=clear]) .button,:host([active][appearance=clear]) .button:hover,:host([active][appearance=clear]) .button:focus{background-color:var(--calcite-ui-foreground-3);fill:var(--calcite-ui-text-1);color:var(--calcite-ui-text-1)}:host([appearance=clear][loading]) .button,:host([appearance=clear][disabled]) .button{background-color:transparent}:host([loading]) .button,:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-ui-foreground-1)}:host([loading]) .button .text-container,:host([loading]) .button:hover .text-container,:host([loading]) .button:focus .text-container{opacity:var(--calcite-ui-opacity-disabled)}:host([loading]) calcite-loader[inline]{margin-right:0px;color:var(--calcite-ui-text-3)}:host([disabled]) .button,:host([disabled]) .button:hover,:host([disabled]) .button:focus{cursor:default;background-color:var(--calcite-ui-foreground-1);opacity:var(--calcite-ui-opacity-disabled)}:host([disabled][active]) .button,:host([disabled][active]) .button:hover,:host([disabled][active]) .button:focus{background-color:var(--calcite-ui-foreground-3);opacity:var(--calcite-ui-opacity-disabled)}:host([indicator]) .button::after{content:"";position:absolute;z-index:10;height:0.5rem;width:0.5rem;border-radius:9999px;border-width:2px;background-color:var(--calcite-ui-brand);border-color:var(--calcite-ui-foreground-1);inset-block-end:0.75rem;inset-inline-end:0.75rem}:host([indicator]) .button--text-visible::after{inset-block-end:auto}:host([indicator]) .button--text-visible .text-container--visible{-webkit-margin-end:1rem;margin-inline-end:1rem}:host([indicator]) .button:hover::after,:host([indicator]) .button:focus::after{border-color:var(--calcite-ui-foreground-1)}:host([indicator][scale=s]) .button::after{inset-block-end:0.25rem;inset-inline-end:0.25rem}:host([indicator][scale=s]) .button--text-visible::after{inset-block-end:auto;inset-inline-end:0.5rem}:host([indicator][active]) .button::after{border-color:var(--calcite-ui-foreground-3)}';var Action=function(){function t(t){var e=this;registerInstance(this,t);this.calciteActionClick=createEvent(this,"calciteActionClick",7);this.active=false;this.appearance="solid";this.compact=false;this.disabled=false;this.indicator=false;this.intlLoading=TEXT.loading;this.loading=false;this.scale="m";this.textEnabled=false;this.mutationObserver=createObserver("mutation",(function(){return forceUpdate(e)}));this.calciteActionClickHandler=function(){if(!e.disabled){e.calciteActionClick.emit()}}}t.prototype.connectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.observe(this.el,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){var t;(t=this.mutationObserver)===null||t===void 0?void 0:t.disconnect()};t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.buttonEl.focus();return[2]}))}))};t.prototype.renderTextContainer=function(){var t;var e=this,i=e.text,n=e.textEnabled;var a=(t={},t[CSS.textContainer]=true,t[CSS.textContainerVisible]=n,t);return i?h("div",{class:a,key:"text-container"},i):null};t.prototype.renderIconContainer=function(){var t;var e;var i=this,n=i.loading,a=i.icon,o=i.scale,r=i.el,c=i.intlLoading;var l=o==="l"?"m":"s";var s=o==="l"?"l":"m";var u=n?h("calcite-loader",{active:true,inline:true,label:c,scale:s}):null;var d=a?h("calcite-icon",{icon:a,scale:l}):null;var b=u||d;var f=b||((e=r.children)===null||e===void 0?void 0:e.length);var m=h("div",{class:(t={},t[CSS.slotContainer]=true,t[CSS.slotContainerHidden]=n,t)},h("slot",null));return f?h("div",{"aria-hidden":"true",class:CSS.iconContainer,key:"icon-container"},b,m):null};t.prototype.render=function(){var t;var e=this;var i=this,n=i.compact,a=i.disabled,o=i.loading,r=i.textEnabled,c=i.label,l=i.text;var s=c||l;var u=(t={},t[CSS.button]=true,t[CSS.buttonTextVisible]=r,t[CSS.buttonCompact]=n,t);return h(Host,{onClick:this.calciteActionClickHandler},h("button",{"aria-busy":o.toString(),"aria-disabled":a.toString(),"aria-label":s,class:u,disabled:a,ref:function(t){return e.buttonEl=t}},this.renderIconContainer(),this.renderTextContainer()))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Action.style=actionCss;export{Action as calcite_action};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
4
|
*/
|
|
5
|
-
import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-0fefddd1.js";import{g as getSlotted,a as getElementDir}from"./dom-e7fa77b9.js";import{H as Heading}from"./Heading-8289fa96.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-c4b6c8b1.js";import{g as guid}from"./guid-196bd5ea.js";import"./observers-46118290.js";var CSS$1={article:"article",content:"content",headerContainer:"header-container",icon:"icon",statusIcon:"status-icon",toggle:"toggle",toggleIcon:"toggle-icon",title:"title",heading:"heading",header:"header",button:"button",summary:"summary",controlContainer:"control-container",valid:"valid",invalid:"invalid",loading:"loading"};var TEXT$1={collapse:"Collapse",expand:"Expand",loading:"Loading",options:"Options"};var SLOTS={icon:"icon",control:"control",headerMenuActions:"header-menu-actions"};var ICONS$1={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"};var HEADING_LEVEL=4;var blockCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}: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}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);-ms-flex-preferred-size:auto;flex-basis:auto}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.summary{margin-top:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem;-webkit-margin-end:0px;margin-inline-end:0px;margin-block:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{margin-top:0.75rem;margin-bottom:0.75rem;-ms-flex-item-align:center;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:auto;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{position:relative}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem}.control-container{margin:0px;display:-ms-flexbox;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}:host([disabled]){pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host([disabled]) .header-container{opacity:0.5}';var Block=function(){function t(t){var e=this;registerInstance(this,t);this.calciteBlockToggle=createEvent(this,"calciteBlockToggle",7);this.collapsible=false;this.disabled=false;this.dragHandle=false;this.intlLoading=TEXT$1.loading;this.intlOptions=TEXT$1.options;this.loading=false;this.open=false;this.guid=guid();this.onHeaderClick=function(){e.open=!e.open;e.calciteBlockToggle.emit()}}t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderScrim=function(){var t=this,e=t.disabled,i=t.loading;var a=h("slot",null);return[i||e?h("calcite-scrim",{loading:i}):null,a]};t.prototype.renderIcon=function(){var t;var e=this,i=e.el,a=e.status;var n=this.loading&&!this.open;var o=n?ICONS$1.refresh:ICONS$1[a];var r=getSlotted(i,SLOTS.icon)||o;var l=!o?h("slot",{key:"icon-slot",name:SLOTS.icon}):h("calcite-icon",{class:(t={},t[CSS$1.statusIcon]=true,t[CSS$1.valid]=a=="valid",t[CSS$1.invalid]=a=="invalid",t[CSS$1.loading]=n,t),icon:o,scale:"m"});return r?h("div",{class:CSS$1.icon},l):null};t.prototype.renderTitle=function(){var t=this,e=t.heading,i=t.headingLevel,a=t.summary;return e||a?h("div",{class:CSS$1.title},h(Heading,{class:CSS$1.heading,level:i||HEADING_LEVEL},e),a?h("div",{class:CSS$1.summary},a):null):null};t.prototype.render=function(){var t;var e=this,i=e.collapsible,a=e.disabled,n=e.el,o=e.intlCollapse,r=e.intlExpand,l=e.loading,c=e.open,s=e.intlLoading;var m=c?o||TEXT$1.collapse:r||TEXT$1.expand;var d=h("header",{class:CSS$1.header},this.renderIcon(),this.renderTitle());var g=!!getSlotted(n,SLOTS.control);var p=!!getSlotted(n,SLOTS.headerMenuActions);var u=c?ICONS$1.opened:ICONS$1.closed;var f=this.guid;var b="".concat(f,"-region");var v="".concat(f,"-button");var w=h("div",{class:CSS$1.headerContainer},this.dragHandle?h("calcite-handle",null):null,i?h("button",{"aria-controls":b,"aria-expanded":i?c.toString():null,"aria-label":m,class:CSS$1.toggle,id:v,onClick:this.onHeaderClick,title:m},d,!g&&!p?h("calcite-icon",{"aria-hidden":"true",class:CSS$1.toggleIcon,icon:u,scale:"s"}):null):d,l?h("calcite-loader",{inline:true,"is-active":true,label:s}):g?h("div",{class:CSS$1.controlContainer},h("slot",{name:SLOTS.control})):null,p?h("calcite-action-menu",{label:this.intlOptions||TEXT$1.options},h("slot",{name:SLOTS.headerMenuActions})):null);return h(Host,{tabIndex:a?-1:null},h("article",{"aria-busy":l.toString(),class:(t={},t[CSS$1.article]=true,t)},w,h("section",{"aria-expanded":this.open.toString(),"aria-labelledby":v,class:CSS$1.content,hidden:!c,id:b},this.renderScrim())))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Block.style=blockCss;var CSS={content:"content",invalid:"invalid",toggle:"toggle",toggleSwitch:"toggle--switch",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",valid:"valid"};var TEXT={collapse:"Collapse",expand:"Expand"};var ICONS={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};var blockSectionCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-bottom-width:1px;border-style:solid;border-bottom-color:var(--calcite-ui-border-3)}:host(:last-child){border-bottom-width:0px}.toggle{width:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-left:0px;margin-right:0px;margin-top:0.25rem;margin-bottom:0.25rem;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{margin-left:0.75rem;margin-right:0.75rem;margin-top:0px;margin-bottom:0px;-ms-flex:1 1 auto;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.toggle--switch .status-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}";var BlockSection=function(){function t(t){var e=this;registerInstance(this,t);this.calciteBlockSectionToggle=createEvent(this,"calciteBlockSectionToggle",7);this.open=false;this.toggleDisplay="button";this.guid=guid();this.handleHeaderKeyDown=function(t){if(t.key===" "||t.key==="Enter"){e.toggleSection();t.preventDefault();t.stopPropagation()}};this.toggleSection=function(){e.open=!e.open;e.calciteBlockSectionToggle.emit()}}t.prototype.renderStatusIcon=function(){var t;var e;var i=this.status;var a=(e=ICONS[i])!==null&&e!==void 0?e:false;var n=(t={},t[CSS.statusIcon]=true,t[CSS.valid]=i=="valid",t[CSS.invalid]=i=="invalid",t);return!!a?h("calcite-icon",{class:n,icon:a,scale:"s"}):null};t.prototype.render=function(){var t,e;var i=this,a=i.el,n=i.intlCollapse,o=i.intlExpand,r=i.open,l=i.text,c=i.toggleDisplay;var s=getElementDir(a);var m=r?ICONS.menuOpen:s==="rtl"?ICONS.menuClosedLeft:ICONS.menuClosedRight;var d=r?n||TEXT.collapse:o||TEXT.expand;var g=this.guid;var p="".concat(g,"-region");var u="".concat(g,"-button");var f=c==="switch"?h("div",{"aria-controls":p,"aria-label":d,class:(t={},t[CSS.toggle]=true,t[CSS.toggleSwitch]=true,t),id:u,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:d},h("div",{class:CSS.toggleSwitchContent},h("span",{class:CSS.toggleSwitchText},l)),h("calcite-switch",{checked:r,label:d,scale:"s",tabIndex:-1}),this.renderStatusIcon()):h("button",{"aria-controls":p,"aria-label":d,class:(e={},e[CSS.sectionHeader]=true,e[CSS.toggle]=true,e),id:u,name:d,onClick:this.toggleSection},h("calcite-icon",{icon:m,scale:"s"}),h("span",{class:CSS.sectionHeaderText},l),this.renderStatusIcon());return h(Host,null,f,h("section",{"aria-expanded":r.toString(),"aria-labelledby":u,class:CSS.content,hidden:!r,id:p},h("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();BlockSection.style=blockSectionCss;export{Block as calcite_block,BlockSection as calcite_block_section};
|
|
5
|
+
import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-0fefddd1.js";import{g as getSlotted,a as getElementDir}from"./dom-e7fa77b9.js";import{H as Heading}from"./Heading-8289fa96.js";import{c as connectConditionalSlotComponent,d as disconnectConditionalSlotComponent}from"./conditionalSlot-c4b6c8b1.js";import{u as updateHostInteraction}from"./interactive-48b5cc0f.js";import{g as guid}from"./guid-196bd5ea.js";import"./observers-46118290.js";var CSS$1={article:"article",content:"content",headerContainer:"header-container",icon:"icon",statusIcon:"status-icon",toggle:"toggle",toggleIcon:"toggle-icon",title:"title",heading:"heading",header:"header",button:"button",summary:"summary",controlContainer:"control-container",valid:"valid",invalid:"invalid",loading:"loading"};var TEXT$1={collapse:"Collapse",expand:"Expand",loading:"Loading",options:"Options"};var SLOTS={icon:"icon",control:"control",headerMenuActions:"header-menu-actions"};var ICONS$1={opened:"chevron-up",closed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle",refresh:"refresh"};var HEADING_LEVEL=4;var blockCss='@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}: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}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-direction:column;flex-direction:column;border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3);padding:0px;-webkit-transition-property:margin;transition-property:margin;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);transition-timing-function:cubic-bezier(0.215, 0.440, 0.420, 0.880);-ms-flex-preferred-size:auto;flex-basis:auto}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.header{margin:0px;display:-ms-flexbox;display:flex;-ms-flex-line-pack:justify;align-content:space-between;-ms-flex-align:center;align-items:center;fill:var(--calcite-ui-text-2);color:var(--calcite-ui-text-2)}.heading{margin:0px;padding:0px;font-weight:var(--calcite-font-weight-medium)}.header .heading{-ms-flex:1 1 auto;flex:1 1 auto;padding:0.5rem}h1.heading{font-size:var(--calcite-font-size-2);line-height:1.5rem}h2.heading{font-size:var(--calcite-font-size-1);line-height:1.5rem}h3.heading{font-size:var(--calcite-font-size-0);line-height:1.25rem}h4.heading,h5.heading{font-size:var(--calcite-font-size--1);line-height:1rem}.header{-ms-flex-pack:start;justify-content:flex-start;padding:0px}.header,.toggle{grid-area:header}.header-container{display:grid;-ms-flex-align:stretch;align-items:stretch;grid-template:auto/auto 1fr auto auto;grid-template-areas:"handle header control menu";grid-column:header-start/menu-end;grid-row:1/2}.toggle{margin:0px;display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;border-style:none;padding:0px;font-family:inherit;outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;text-align:initial;background-color:transparent}.toggle:hover{background-color:var(--calcite-ui-foreground-2)}.toggle:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}calcite-loader[inline]{grid-area:control;align-self:center}calcite-handle{grid-area:handle}.title{margin:0px;padding:0.75rem}.header .title .heading{padding:0px;font-size:var(--calcite-font-size--1);font-weight:var(--calcite-font-weight-medium);line-height:1.25;color:var(--calcite-ui-text-2);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);word-wrap:break-word;word-break:break-word}.summary{margin-top:0.125rem;padding:0px;font-size:var(--calcite-font-size--2);color:var(--calcite-ui-text-3);word-wrap:break-word;word-break:break-word}.icon{-webkit-margin-start:0.75rem;margin-inline-start:0.75rem;-webkit-margin-end:0px;margin-inline-end:0px;margin-block:0.75rem}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}.status-icon.loading{-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.toggle-icon{margin-top:0.75rem;margin-bottom:0.75rem;-ms-flex-item-align:center;align-self:center;justify-self:end;color:var(--calcite-ui-text-3);-webkit-transition-property:color;transition-property:color;-webkit-transition-duration:150ms;transition-duration:150ms;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-margin-end:1rem;margin-inline-end:1rem;-webkit-margin-start:auto;margin-inline-start:auto}.toggle:hover .toggle-icon{color:var(--calcite-ui-text-1)}.content{position:relative}@keyframes in{0%{opacity:0}100%{opacity:1}}.content{-webkit-animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem}.control-container{margin:0px;display:-ms-flexbox;display:flex;grid-area:control}calcite-action-menu{grid-area:menu}:host([open]){margin-top:0.5rem;margin-bottom:0.5rem}:host([open]) .header .title .heading{color:var(--calcite-ui-text-1)}';var Block=function(){function t(t){var e=this;registerInstance(this,t);this.calciteBlockToggle=createEvent(this,"calciteBlockToggle",7);this.collapsible=false;this.disabled=false;this.dragHandle=false;this.intlLoading=TEXT$1.loading;this.intlOptions=TEXT$1.options;this.loading=false;this.open=false;this.guid=guid();this.onHeaderClick=function(){e.open=!e.open;e.calciteBlockToggle.emit()}}t.prototype.componentDidRender=function(){updateHostInteraction(this)};t.prototype.connectedCallback=function(){connectConditionalSlotComponent(this)};t.prototype.disconnectedCallback=function(){disconnectConditionalSlotComponent(this)};t.prototype.renderScrim=function(){var t=this.loading;var e=h("slot",null);return[t?h("calcite-scrim",{loading:t}):null,e]};t.prototype.renderIcon=function(){var t;var e=this,i=e.el,a=e.status;var n=this.loading&&!this.open;var o=n?ICONS$1.refresh:ICONS$1[a];var r=getSlotted(i,SLOTS.icon)||o;var l=!o?h("slot",{key:"icon-slot",name:SLOTS.icon}):h("calcite-icon",{class:(t={},t[CSS$1.statusIcon]=true,t[CSS$1.valid]=a=="valid",t[CSS$1.invalid]=a=="invalid",t[CSS$1.loading]=n,t),icon:o,scale:"m"});return r?h("div",{class:CSS$1.icon},l):null};t.prototype.renderTitle=function(){var t=this,e=t.heading,i=t.headingLevel,a=t.summary;return e||a?h("div",{class:CSS$1.title},h(Heading,{class:CSS$1.heading,level:i||HEADING_LEVEL},e),a?h("div",{class:CSS$1.summary},a):null):null};t.prototype.render=function(){var t;var e=this,i=e.collapsible,a=e.el,n=e.intlCollapse,o=e.intlExpand,r=e.loading,l=e.open,c=e.intlLoading;var s=l?n||TEXT$1.collapse:o||TEXT$1.expand;var m=h("header",{class:CSS$1.header},this.renderIcon(),this.renderTitle());var d=!!getSlotted(a,SLOTS.control);var g=!!getSlotted(a,SLOTS.headerMenuActions);var p=l?ICONS$1.opened:ICONS$1.closed;var u=this.guid;var f="".concat(u,"-region");var b="".concat(u,"-button");var v=h("div",{class:CSS$1.headerContainer},this.dragHandle?h("calcite-handle",null):null,i?h("button",{"aria-controls":f,"aria-expanded":i?l.toString():null,"aria-label":s,class:CSS$1.toggle,id:b,onClick:this.onHeaderClick,title:s},m,!d&&!g?h("calcite-icon",{"aria-hidden":"true",class:CSS$1.toggleIcon,icon:p,scale:"s"}):null):m,r?h("calcite-loader",{inline:true,"is-active":true,label:c}):d?h("div",{class:CSS$1.controlContainer},h("slot",{name:SLOTS.control})):null,g?h("calcite-action-menu",{label:this.intlOptions||TEXT$1.options},h("slot",{name:SLOTS.headerMenuActions})):null);return h(Host,null,h("article",{"aria-busy":r.toString(),class:(t={},t[CSS$1.article]=true,t)},v,h("section",{"aria-expanded":this.open.toString(),"aria-labelledby":b,class:CSS$1.content,hidden:!l,id:f},this.renderScrim())))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Block.style=blockCss;var CSS={content:"content",invalid:"invalid",toggle:"toggle",toggleSwitch:"toggle--switch",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",valid:"valid"};var TEXT={collapse:"Collapse",expand:"Expand"};var ICONS={menuOpen:"chevron-down",menuClosedLeft:"chevron-left",menuClosedRight:"chevron-right",valid:"check-circle",invalid:"exclamation-mark-triangle"};var blockSectionCss="@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:root{--calcite-popper-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;background-color:var(--calcite-ui-foreground-1);font-size:var(--calcite-font-size--1);color:var(--calcite-ui-text-2)}:host([open]){border-width:0px;border-bottom-width:1px;border-style:solid;border-bottom-color:var(--calcite-ui-border-3)}:host(:last-child){border-bottom-width:0px}.toggle{width:100%;border-width:0px;background-color:transparent;font-family:var(--calcite-sans-family);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-2)}.toggle--switch,.section-header{margin-left:0px;margin-right:0px;margin-top:0.25rem;margin-bottom:0.25rem;display:-ms-flexbox;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-align:center;align-items:center;padding-left:0px;padding-right:0px;padding-top:0.5rem;padding-bottom:0.5rem;font-size:var(--calcite-font-size--1);outline-offset:0;outline-color:transparent;-webkit-transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.toggle--switch:focus,.section-header:focus{outline:2px solid var(--calcite-ui-brand);outline-offset:2px}.toggle--switch:hover,.section-header:hover{color:var(--calcite-ui-text-1)}.section-header .status-icon{-ms-flex-item-align:end;align-self:flex-end}.section-header__text{margin-left:0.75rem;margin-right:0.75rem;margin-top:0px;margin-bottom:0px;-ms-flex:1 1 auto;flex:1 1 auto;text-align:initial;word-wrap:anywhere}.toggle--switch calcite-switch{pointer-events:none;-webkit-margin-start:0.25rem;margin-inline-start:0.25rem}.toggle--switch .status-icon{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.toggle--switch__content{display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-align:center;align-items:center}.status-icon.valid{color:var(--calcite-ui-success)}.status-icon.invalid{color:var(--calcite-ui-danger)}";var BlockSection=function(){function t(t){var e=this;registerInstance(this,t);this.calciteBlockSectionToggle=createEvent(this,"calciteBlockSectionToggle",7);this.open=false;this.toggleDisplay="button";this.guid=guid();this.handleHeaderKeyDown=function(t){if(t.key===" "||t.key==="Enter"){e.toggleSection();t.preventDefault();t.stopPropagation()}};this.toggleSection=function(){e.open=!e.open;e.calciteBlockSectionToggle.emit()}}t.prototype.renderStatusIcon=function(){var t;var e;var i=this.status;var a=(e=ICONS[i])!==null&&e!==void 0?e:false;var n=(t={},t[CSS.statusIcon]=true,t[CSS.valid]=i=="valid",t[CSS.invalid]=i=="invalid",t);return!!a?h("calcite-icon",{class:n,icon:a,scale:"s"}):null};t.prototype.render=function(){var t,e;var i=this,a=i.el,n=i.intlCollapse,o=i.intlExpand,r=i.open,l=i.text,c=i.toggleDisplay;var s=getElementDir(a);var m=r?ICONS.menuOpen:s==="rtl"?ICONS.menuClosedLeft:ICONS.menuClosedRight;var d=r?n||TEXT.collapse:o||TEXT.expand;var g=this.guid;var p="".concat(g,"-region");var u="".concat(g,"-button");var f=c==="switch"?h("div",{"aria-controls":p,"aria-label":d,class:(t={},t[CSS.toggle]=true,t[CSS.toggleSwitch]=true,t),id:u,onClick:this.toggleSection,onKeyDown:this.handleHeaderKeyDown,tabIndex:0,title:d},h("div",{class:CSS.toggleSwitchContent},h("span",{class:CSS.toggleSwitchText},l)),h("calcite-switch",{checked:r,label:d,scale:"s",tabIndex:-1}),this.renderStatusIcon()):h("button",{"aria-controls":p,"aria-label":d,class:(e={},e[CSS.sectionHeader]=true,e[CSS.toggle]=true,e),id:u,name:d,onClick:this.toggleSection},h("calcite-icon",{icon:m,scale:"s"}),h("span",{class:CSS.sectionHeaderText},l),this.renderStatusIcon());return h(Host,null,f,h("section",{"aria-expanded":r.toString(),"aria-labelledby":u,class:CSS.content,hidden:!r,id:p},h("slot",null)))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();BlockSection.style=blockSectionCss;export{Block as calcite_block,BlockSection as calcite_block_section};
|