@esri/calcite-components 1.0.0-beta.71 → 1.0.0-beta.75
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/assets/calcite-date-picker/nls/bg.json +31 -0
- package/dist/calcite/assets/calcite-icon/centerAlign16.json +1 -0
- package/dist/calcite/assets/calcite-icon/centerAlign24.json +1 -0
- package/dist/calcite/assets/calcite-icon/centerAlign32.json +1 -0
- package/dist/calcite/assets/calcite-icon/convert16.json +1 -0
- package/dist/calcite/assets/calcite-icon/convert24.json +1 -0
- package/dist/calcite/assets/calcite-icon/convert32.json +1 -0
- package/dist/calcite/assets/calcite-icon/explore16.json +1 -0
- package/dist/calcite/assets/calcite-icon/explore24.json +1 -0
- package/dist/calcite/assets/calcite-icon/explore32.json +1 -0
- package/dist/calcite/assets/calcite-icon/formDropdown16.json +1 -0
- package/dist/calcite/assets/calcite-icon/formDropdown24.json +1 -0
- package/dist/calcite/assets/calcite-icon/formDropdown32.json +1 -0
- package/dist/calcite/assets/calcite-icon/language16.json +1 -0
- package/dist/calcite/assets/calcite-icon/language24.json +1 -0
- package/dist/calcite/assets/calcite-icon/language32.json +1 -0
- package/dist/calcite/assets/calcite-icon/languageTranslate16.json +1 -0
- package/dist/calcite/assets/calcite-icon/languageTranslate24.json +1 -0
- package/dist/calcite/assets/calcite-icon/languageTranslate32.json +1 -0
- package/dist/calcite/assets/calcite-icon/leftAlign16.json +1 -0
- package/dist/calcite/assets/calcite-icon/leftAlign24.json +1 -0
- package/dist/calcite/assets/calcite-icon/leftAlign32.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloudy16.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloudy24.json +1 -0
- package/dist/calcite/assets/calcite-icon/partlyCloudy32.json +1 -0
- package/dist/calcite/assets/calcite-icon/rightAlign16.json +1 -0
- package/dist/calcite/assets/calcite-icon/rightAlign24.json +1 -0
- package/dist/calcite/assets/calcite-icon/rightAlign32.json +1 -0
- package/dist/calcite/assets/calcite-icon/screenshotMode16.json +1 -0
- package/dist/calcite/assets/calcite-icon/screenshotMode24.json +1 -0
- package/dist/calcite/assets/calcite-icon/screenshotMode32.json +1 -0
- package/dist/calcite/assets/calcite-icon/terminal16.json +1 -0
- package/dist/calcite/assets/calcite-icon/terminal24.json +1 -0
- package/dist/calcite/assets/calcite-icon/terminal32.json +1 -0
- package/dist/calcite/assets/calcite-icon/touch16.json +1 -0
- package/dist/calcite/assets/calcite-icon/touch24.json +1 -0
- package/dist/calcite/assets/calcite-icon/touch32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +1 -1
- package/dist/calcite/calcite.js +1 -1
- package/dist/calcite/p-0164361f.system.entry.js +5 -0
- package/dist/calcite/p-01b7adb5.js +5 -0
- package/dist/calcite/p-04bf684c.entry.js +5 -0
- package/dist/calcite/p-04bf9bca.system.entry.js +5 -0
- package/dist/calcite/p-06dbe76a.system.entry.js +5 -0
- package/dist/calcite/p-06fbc0f2.system.entry.js +5 -0
- package/dist/calcite/p-08be120f.entry.js +5 -0
- package/dist/calcite/p-0a5d059d.js +5 -0
- package/dist/calcite/p-0a85cd8c.system.entry.js +5 -0
- package/dist/calcite/p-0b552c00.system.entry.js +5 -0
- package/dist/calcite/p-0cb38659.system.entry.js +5 -0
- package/dist/calcite/p-10b1b39a.system.entry.js +5 -0
- package/dist/calcite/p-12142a2c.system.entry.js +5 -0
- package/dist/calcite/p-141c978b.system.entry.js +5 -0
- package/dist/calcite/p-146d8510.entry.js +5 -0
- package/dist/calcite/p-14ca5cdf.system.entry.js +5 -0
- package/dist/calcite/p-14e47d1b.js +5 -0
- package/dist/calcite/p-1668089f.entry.js +5 -0
- package/dist/calcite/p-1804c868.system.entry.js +5 -0
- package/dist/calcite/p-1a3a366d.system.js +5 -0
- package/dist/calcite/p-20e3fc50.entry.js +5 -0
- package/dist/calcite/p-2218fef5.entry.js +5 -0
- package/dist/calcite/p-2297db38.entry.js +5 -0
- package/dist/calcite/p-243985d8.system.entry.js +5 -0
- package/dist/calcite/p-2e324a56.system.entry.js +5 -0
- package/dist/calcite/p-2e351904.system.entry.js +5 -0
- package/dist/calcite/p-32d61433.system.entry.js +5 -0
- package/dist/calcite/p-39d4d1b1.system.entry.js +5 -0
- package/dist/calcite/p-3c34f20d.system.js +5 -0
- package/dist/calcite/p-3cdf0ad5.system.entry.js +5 -0
- package/dist/calcite/p-40c3d7a6.system.entry.js +5 -0
- package/dist/calcite/{p-71cdeee3.system.js → p-44aa1db4.system.js} +1 -1
- package/dist/calcite/p-49782820.entry.js +5 -0
- package/dist/calcite/p-500300b5.entry.js +5 -0
- package/dist/calcite/p-513bc44f.system.entry.js +5 -0
- package/dist/calcite/p-54bb21f5.system.entry.js +5 -0
- package/dist/calcite/p-54edaa0d.entry.js +5 -0
- package/dist/calcite/p-58eb8460.entry.js +5 -0
- package/dist/calcite/p-5a77fd17.entry.js +5 -0
- package/dist/calcite/p-5b8404de.entry.js +5 -0
- package/dist/calcite/p-5d12a140.entry.js +5 -0
- package/dist/calcite/p-5d7da300.system.entry.js +5 -0
- package/dist/calcite/p-5f5bfaa5.entry.js +5 -0
- package/dist/calcite/p-617c3f30.system.entry.js +5 -0
- package/dist/calcite/p-63f8783a.entry.js +5 -0
- package/dist/calcite/p-647d22ef.js +5 -0
- package/dist/calcite/p-64a5e88c.entry.js +5 -0
- package/dist/calcite/p-66ca7309.entry.js +5 -0
- package/dist/calcite/p-6969dabb.entry.js +5 -0
- package/dist/calcite/p-6afd69dc.system.entry.js +5 -0
- package/dist/calcite/p-6fb9fef5.entry.js +5 -0
- package/dist/calcite/p-70dd483b.system.js +5 -0
- package/dist/calcite/p-7165e37e.entry.js +5 -0
- package/dist/calcite/p-754809de.entry.js +5 -0
- package/dist/calcite/p-7743a8d0.system.entry.js +5 -0
- package/dist/calcite/p-786b8250.entry.js +5 -0
- package/dist/calcite/p-78725919.entry.js +5 -0
- package/dist/calcite/p-7a6c932d.system.entry.js +5 -0
- package/dist/calcite/p-7bdeb3ba.system.entry.js +5 -0
- package/dist/calcite/p-7d4316a1.system.entry.js +5 -0
- package/dist/calcite/p-82491929.entry.js +5 -0
- package/dist/calcite/p-8604c625.system.entry.js +5 -0
- package/dist/calcite/p-869eb8f9.entry.js +5 -0
- package/dist/calcite/p-86b63ebb.system.entry.js +5 -0
- package/dist/calcite/p-8709d314.system.entry.js +5 -0
- package/dist/calcite/p-8ba8a357.system.js +5 -0
- package/dist/calcite/p-8e1945e3.entry.js +5 -0
- package/dist/calcite/p-8e4aa7f7.entry.js +5 -0
- package/dist/calcite/p-8f2c68f4.system.entry.js +5 -0
- package/dist/calcite/p-8f3a3e4e.js +5 -0
- package/dist/calcite/p-900e18a5.system.entry.js +5 -0
- package/dist/calcite/p-92d9b81d.system.entry.js +5 -0
- package/dist/calcite/p-9716c57c.entry.js +5 -0
- package/dist/calcite/p-97375cc0.entry.js +5 -0
- package/dist/calcite/p-99422223.system.entry.js +5 -0
- package/dist/calcite/p-99d32fc3.system.js +5 -0
- package/dist/calcite/p-9a7c4812.js +5 -0
- package/dist/calcite/p-9ca6c750.system.entry.js +5 -0
- package/dist/calcite/p-9d7102c0.entry.js +5 -0
- package/dist/calcite/p-9e2c9752.entry.js +5 -0
- package/dist/calcite/p-9f49c4fe.system.entry.js +5 -0
- package/dist/calcite/p-a50e52f1.entry.js +5 -0
- package/dist/calcite/p-a99c8ebf.system.js +5 -0
- package/dist/calcite/p-ab14b0a2.system.js +5 -0
- package/dist/calcite/p-abe7730b.entry.js +5 -0
- package/dist/calcite/{p-db10485b.system.js → p-ac4aec20.system.js} +1 -1
- package/dist/calcite/p-af669f43.entry.js +5 -0
- package/dist/calcite/p-af84fa29.system.entry.js +5 -0
- package/dist/calcite/p-b002b038.entry.js +5 -0
- package/dist/calcite/p-b1a43a5f.system.entry.js +5 -0
- package/dist/calcite/p-b86f0930.system.entry.js +5 -0
- package/dist/calcite/p-b9a47a94.system.entry.js +5 -0
- package/dist/calcite/p-b9adf89d.system.entry.js +5 -0
- package/dist/calcite/p-baca86e3.entry.js +5 -0
- package/dist/calcite/p-bb401f25.system.js +5 -0
- package/dist/calcite/p-bc85a791.entry.js +5 -0
- package/dist/calcite/p-bd576ae0.system.entry.js +5 -0
- package/dist/calcite/{p-7bb94bfa.entry.js → p-bde80af8.entry.js} +1 -1
- package/dist/calcite/p-be231b84.entry.js +5 -0
- package/dist/calcite/p-c1c37da9.entry.js +5 -0
- package/dist/calcite/p-c5463268.system.entry.js +5 -0
- package/dist/calcite/p-c5b3d90c.entry.js +5 -0
- package/dist/calcite/p-c6cb0aa2.entry.js +5 -0
- package/dist/calcite/p-cd9d106b.system.entry.js +5 -0
- package/dist/calcite/p-cfcb2161.entry.js +5 -0
- package/dist/calcite/p-d14265f3.entry.js +5 -0
- package/dist/calcite/p-da470de7.entry.js +5 -0
- package/dist/calcite/p-dba7c714.system.entry.js +5 -0
- package/dist/calcite/p-dd9f2e61.js +5 -0
- package/dist/calcite/p-e1491358.system.entry.js +5 -0
- package/dist/calcite/p-e2047621.system.js +5 -0
- package/dist/calcite/p-e426746f.system.entry.js +5 -0
- package/dist/calcite/p-e4862fff.entry.js +5 -0
- package/dist/calcite/p-e5420c67.entry.js +5 -0
- package/dist/calcite/p-e5526c34.entry.js +5 -0
- package/dist/calcite/p-e5c2a6eb.entry.js +5 -0
- package/dist/calcite/{p-714ae4f6.entry.js → p-e63f0806.entry.js} +1 -1
- package/dist/calcite/p-e83a5fe4.system.entry.js +5 -0
- package/dist/calcite/{p-f2620bc3.js → p-e8e0f3b7.js} +1 -1
- package/dist/calcite/p-ea510477.js +5 -0
- package/dist/calcite/p-ec9bab33.system.js +5 -0
- package/dist/calcite/p-ee14736a.entry.js +5 -0
- package/dist/calcite/p-eeb91710.js +5 -0
- package/dist/calcite/p-ef6b4184.js +5 -0
- package/dist/calcite/p-f12c35de.system.entry.js +5 -0
- package/dist/calcite/p-f1dc4798.entry.js +5 -0
- package/dist/calcite/p-f24ddc56.system.entry.js +5 -0
- package/dist/calcite/p-f26cad61.system.entry.js +5 -0
- package/dist/calcite/p-f4d9c369.system.entry.js +5 -0
- package/dist/calcite/p-f5739197.entry.js +5 -0
- package/dist/calcite/p-f7572da7.entry.js +5 -0
- package/dist/calcite/p-f763b1e7.system.entry.js +5 -0
- package/dist/calcite/p-fbd68dbf.system.entry.js +5 -0
- package/dist/calcite/p-fdd3ea5e.entry.js +5 -0
- package/dist/calcite/p-fe3fff79.entry.js +5 -0
- package/dist/calcite/p-fee9511c.system.entry.js +5 -0
- package/dist/calcite/p-ff04cfb1.system.entry.js +5 -0
- package/dist/cjs/{CalciteExpandToggle-ca629f39.js → CalciteExpandToggle-d24fed0e.js} +3 -3
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +6 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +7 -4
- package/dist/cjs/calcite-action-group.cjs.entry.js +15 -2
- package/dist/cjs/calcite-action-menu.cjs.entry.js +6 -3
- package/dist/cjs/calcite-action-pad.cjs.entry.js +12 -9
- package/dist/cjs/calcite-action.cjs.entry.js +2 -2
- package/dist/cjs/calcite-alert.cjs.entry.js +23 -16
- package/dist/cjs/calcite-avatar.cjs.entry.js +4 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +25 -8
- package/dist/cjs/calcite-button.cjs.entry.js +13 -8
- package/dist/cjs/calcite-card.cjs.entry.js +19 -12
- package/dist/cjs/calcite-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/calcite-chip.cjs.entry.js +18 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +46 -35
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +46 -35
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +53 -41
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +37 -36
- package/dist/cjs/calcite-fab.cjs.entry.js +4 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +4 -19
- package/dist/cjs/calcite-flow.cjs.entry.js +2 -2
- package/dist/cjs/calcite-graph_2.cjs.entry.js +50 -31
- package/dist/cjs/calcite-handle.cjs.entry.js +1 -1
- package/dist/cjs/calcite-icon.cjs.entry.js +3 -3
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +31 -14
- package/dist/cjs/calcite-input-message.cjs.entry.js +3 -4
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +378 -253
- package/dist/cjs/calcite-input.cjs.entry.js +131 -57
- package/dist/cjs/calcite-label.cjs.entry.js +2 -5
- package/dist/cjs/calcite-link.cjs.entry.js +15 -4
- package/dist/cjs/calcite-list_3.cjs.entry.js +17 -4
- package/dist/cjs/calcite-loader.cjs.entry.js +1 -1
- package/dist/cjs/calcite-modal.cjs.entry.js +10 -9
- package/dist/cjs/calcite-notice.cjs.entry.js +11 -4
- package/dist/cjs/calcite-option_3.cjs.entry.js +13 -12
- package/dist/cjs/calcite-pagination.cjs.entry.js +3 -6
- package/dist/cjs/calcite-panel.cjs.entry.js +23 -21
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +31 -9
- package/dist/cjs/calcite-popover_2.cjs.entry.js +7 -9
- package/dist/cjs/calcite-progress.cjs.entry.js +1 -1
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +1 -1
- package/dist/cjs/{calcite-radio_2.cjs.entry.js → calcite-radio-button.cjs.entry.js} +27 -58
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +14 -67
- package/dist/cjs/calcite-rating.cjs.entry.js +5 -6
- package/dist/cjs/calcite-scrim.cjs.entry.js +1 -1
- package/dist/cjs/calcite-shell_3.cjs.entry.js +42 -15
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +2 -2
- package/dist/cjs/calcite-split-button.cjs.entry.js +2 -5
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -8
- package/dist/cjs/calcite-switch.cjs.entry.js +7 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +14 -17
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +38 -5
- package/dist/cjs/calcite-tile.cjs.entry.js +15 -2
- package/dist/cjs/calcite-tip_3.cjs.entry.js +19 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -8
- package/dist/cjs/calcite-tree_2.cjs.entry.js +12 -7
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +26 -7
- package/dist/cjs/calcite.cjs.js +2 -2
- package/dist/cjs/conditionalSlot-92505fba.js +43 -0
- package/dist/cjs/{dom-41ce6029.js → dom-f3df220d.js} +44 -18
- package/dist/cjs/{form-7f276aa5.js → form-237cf392.js} +1 -1
- package/dist/cjs/{label-98a31f7d.js → label-6b18ca08.js} +5 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/locale-02462821.js +128 -0
- package/dist/cjs/number-e813e801.js +84 -0
- package/dist/cjs/{observers-41837607.js → observers-79bfb8bc.js} +5 -1
- package/dist/cjs/{popper-4c24a334.js → popper-13a2bb46.js} +29 -10
- package/dist/cjs/{resources-3f7b51c8.js → resources-11763017.js} +7 -5
- package/dist/cjs/{resources-1177e39b.js → resources-95073e41.js} +17 -6
- package/dist/collection/collection-manifest.json +6 -8
- package/dist/collection/components/calcite-accordion/calcite-accordion.css +8 -14
- package/dist/collection/components/calcite-accordion/calcite-accordion.js +2 -3
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.css +41 -84
- package/dist/collection/components/calcite-accordion-item/calcite-accordion-item.js +2 -3
- package/dist/collection/components/calcite-action/calcite-action.css +52 -92
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.css +12 -19
- package/dist/collection/components/calcite-action-bar/calcite-action-bar.js +3 -0
- package/dist/collection/components/calcite-action-group/calcite-action-group.css +10 -19
- package/dist/collection/components/calcite-action-group/calcite-action-group.js +12 -0
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.css +16 -24
- package/dist/collection/components/calcite-action-menu/calcite-action-menu.js +3 -0
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.css +33 -33
- package/dist/collection/components/calcite-action-pad/calcite-action-pad.js +9 -8
- package/dist/collection/components/calcite-alert/calcite-alert.css +110 -147
- package/dist/collection/components/calcite-alert/calcite-alert.js +46 -17
- package/dist/collection/components/calcite-avatar/calcite-avatar.css +13 -21
- package/dist/collection/components/calcite-avatar/calcite-avatar.js +2 -4
- package/dist/collection/components/calcite-block/calcite-block.css +52 -65
- package/dist/collection/components/calcite-block/calcite-block.js +21 -5
- package/dist/collection/components/calcite-block-section/calcite-block-section.css +32 -54
- package/dist/collection/components/calcite-block-section/calcite-block-section.js +3 -4
- package/dist/collection/components/calcite-button/calcite-button.css +107 -284
- package/dist/collection/components/calcite-button/calcite-button.js +9 -6
- package/dist/collection/components/calcite-button/resources.js +3 -1
- package/dist/collection/components/calcite-card/calcite-card.css +55 -67
- package/dist/collection/components/calcite-card/calcite-card.js +17 -12
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.css +16 -25
- package/dist/collection/components/calcite-checkbox/calcite-checkbox.js +1 -1
- package/dist/collection/components/calcite-chip/calcite-chip.css +36 -80
- package/dist/collection/components/calcite-chip/calcite-chip.js +16 -6
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.css +18 -49
- package/dist/collection/components/calcite-color-picker/calcite-color-picker.js +8 -12
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.css +12 -18
- package/dist/collection/components/calcite-color-picker-hex-input/calcite-color-picker-hex-input.js +4 -6
- package/dist/collection/components/calcite-color-picker-swatch/calcite-color-picker-swatch.css +12 -19
- package/dist/collection/components/calcite-color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/calcite-combobox/calcite-combobox.css +37 -60
- package/dist/collection/components/calcite-combobox/calcite-combobox.js +49 -20
- package/dist/collection/components/calcite-combobox/resources.js +3 -0
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.css +41 -55
- package/dist/collection/components/calcite-combobox-item/calcite-combobox-item.js +9 -10
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.css +15 -38
- package/dist/collection/components/calcite-combobox-item-group/calcite-combobox-item-group.js +2 -4
- package/dist/collection/components/calcite-date-picker/assets/calcite-date-picker/nls/bg.json +31 -0
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.css +9 -15
- package/dist/collection/components/calcite-date-picker/calcite-date-picker.js +55 -17
- package/dist/collection/components/calcite-date-picker/resources.js +2 -1
- package/dist/collection/components/calcite-date-picker/utils.js +4 -3
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.css +64 -68
- package/dist/collection/components/calcite-date-picker-day/calcite-date-picker-day.js +1 -2
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.css +26 -32
- package/dist/collection/components/calcite-date-picker-month/calcite-date-picker-month.js +6 -9
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.css +39 -57
- package/dist/collection/components/calcite-date-picker-month-header/calcite-date-picker-month-header.js +25 -11
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.css +9 -49
- package/dist/collection/components/calcite-dropdown/calcite-dropdown.js +29 -25
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.css +15 -21
- package/dist/collection/components/calcite-dropdown-group/calcite-dropdown-group.js +2 -3
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.css +89 -183
- package/dist/collection/components/calcite-dropdown-item/calcite-dropdown-item.js +4 -8
- package/dist/collection/components/calcite-fab/calcite-fab.css +15 -17
- package/dist/collection/components/calcite-fab/calcite-fab.js +3 -4
- package/dist/collection/components/calcite-filter/calcite-filter.css +28 -56
- package/dist/collection/components/calcite-filter/calcite-filter.js +7 -43
- package/dist/collection/components/calcite-flow/calcite-flow.css +27 -35
- package/dist/collection/components/calcite-graph/calcite-graph.css +10 -19
- package/dist/collection/components/calcite-graph/calcite-graph.js +13 -42
- package/dist/collection/components/calcite-handle/calcite-handle.css +9 -19
- package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/centerAlign32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/convert16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/convert24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/convert32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/explore16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/explore24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/explore32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/formDropdown32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/language16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/language24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/language32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/languageTranslate32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/leftAlign32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/partlyCloudy32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/rightAlign32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/screenshotMode32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/terminal32.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/touch16.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/touch24.json +1 -0
- package/dist/collection/components/calcite-icon/assets/calcite-icon/touch32.json +1 -0
- package/dist/collection/components/calcite-icon/calcite-icon.css +17 -15
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.css +11 -14
- package/dist/collection/components/calcite-inline-editable/calcite-inline-editable.js +15 -21
- package/dist/collection/components/calcite-input/calcite-input.css +118 -268
- package/dist/collection/components/calcite-input/calcite-input.js +124 -50
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.css +33 -47
- package/dist/collection/components/calcite-input-date-picker/calcite-input-date-picker.js +83 -10
- package/dist/collection/components/calcite-input-message/calcite-input-message.css +21 -33
- package/dist/collection/components/calcite-input-message/calcite-input-message.js +2 -4
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.css +6 -12
- package/dist/collection/components/calcite-input-time-picker/calcite-input-time-picker.js +84 -80
- package/dist/collection/components/calcite-label/calcite-label.css +28 -42
- package/dist/collection/components/calcite-label/calcite-label.js +1 -4
- package/dist/collection/components/calcite-link/calcite-link.css +31 -51
- package/dist/collection/components/calcite-link/calcite-link.js +31 -2
- package/dist/collection/components/calcite-list/calcite-list.css +14 -17
- package/dist/collection/components/calcite-list-item/calcite-list-item.css +28 -47
- package/dist/collection/components/calcite-list-item/calcite-list-item.js +12 -0
- package/dist/collection/components/calcite-list-item-group/calcite-list-item-group.css +12 -18
- package/dist/collection/components/calcite-loader/calcite-loader.css +47 -73
- package/dist/collection/components/calcite-modal/calcite-modal.css +107 -124
- package/dist/collection/components/calcite-modal/calcite-modal.js +8 -8
- package/dist/collection/components/calcite-notice/calcite-notice.css +66 -114
- package/dist/collection/components/calcite-notice/calcite-notice.js +9 -4
- package/dist/collection/components/calcite-option/calcite-option.css +6 -12
- package/dist/collection/components/calcite-option/calcite-option.js +3 -1
- package/dist/collection/components/calcite-option-group/calcite-option-group.css +6 -12
- package/dist/collection/components/calcite-pagination/calcite-pagination.css +26 -56
- package/dist/collection/components/calcite-pagination/calcite-pagination.js +2 -4
- package/dist/collection/components/calcite-panel/calcite-panel.css +60 -104
- package/dist/collection/components/calcite-panel/calcite-panel.js +24 -24
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.css +21 -27
- package/dist/collection/components/calcite-pick-list/calcite-pick-list.js +12 -4
- package/dist/collection/components/calcite-pick-list/resources.js +1 -1
- package/dist/collection/components/calcite-pick-list/shared-list-logic.js +12 -2
- package/dist/collection/components/calcite-pick-list/shared-list-render.js +2 -3
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.css +20 -34
- package/dist/collection/components/calcite-pick-list-group/calcite-pick-list-group.js +14 -5
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.css +49 -67
- package/dist/collection/components/calcite-pick-list-item/calcite-pick-list-item.js +12 -0
- package/dist/collection/components/calcite-popover/calcite-popover.css +30 -39
- package/dist/collection/components/calcite-popover/calcite-popover.js +3 -6
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.css +6 -12
- package/dist/collection/components/calcite-popover-manager/calcite-popover-manager.js +1 -1
- package/dist/collection/components/calcite-progress/calcite-progress.css +12 -21
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.css +84 -14
- package/dist/collection/components/calcite-radio-button/calcite-radio-button.js +20 -10
- package/dist/collection/components/calcite-radio-button-group/calcite-radio-button-group.css +6 -15
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.css +8 -16
- package/dist/collection/components/calcite-radio-group/calcite-radio-group.js +3 -4
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.css +24 -31
- package/dist/collection/components/calcite-radio-group-item/calcite-radio-group-item.js +5 -60
- package/dist/collection/components/calcite-rating/calcite-rating.css +18 -43
- package/dist/collection/components/calcite-rating/calcite-rating.js +2 -5
- package/dist/collection/components/calcite-scrim/calcite-scrim.css +23 -31
- package/dist/collection/components/calcite-select/calcite-select.css +32 -61
- package/dist/collection/components/calcite-select/calcite-select.js +5 -7
- package/dist/collection/components/calcite-shell/calcite-shell.css +48 -44
- package/dist/collection/components/calcite-shell/calcite-shell.js +14 -2
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.css +34 -46
- package/dist/collection/components/calcite-shell-center-row/calcite-shell-center-row.js +15 -5
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.css +39 -54
- package/dist/collection/components/calcite-shell-panel/calcite-shell-panel.js +12 -7
- package/dist/collection/components/calcite-slider/calcite-slider.css +171 -232
- package/dist/collection/components/calcite-slider/calcite-slider.js +68 -33
- package/dist/collection/components/calcite-sortable-list/calcite-sortable-list.css +6 -12
- package/dist/collection/components/calcite-split-button/calcite-split-button.css +16 -29
- package/dist/collection/components/calcite-split-button/calcite-split-button.js +4 -6
- package/dist/collection/components/calcite-stepper/calcite-stepper.css +13 -19
- package/dist/collection/components/calcite-stepper/calcite-stepper.js +1 -2
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.css +56 -144
- package/dist/collection/components/calcite-stepper-item/calcite-stepper-item.js +3 -6
- package/dist/collection/components/calcite-switch/calcite-switch.css +31 -68
- package/dist/collection/components/calcite-switch/calcite-switch.js +3 -6
- package/dist/collection/components/calcite-tab/calcite-tab.css +15 -22
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.css +18 -26
- package/dist/collection/components/calcite-tab-nav/calcite-tab-nav.js +3 -3
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.css +56 -88
- package/dist/collection/components/calcite-tab-title/calcite-tab-title.js +7 -11
- package/dist/collection/components/calcite-tabs/calcite-tabs.css +8 -14
- package/dist/collection/components/calcite-tile/calcite-tile.css +57 -86
- package/dist/collection/components/calcite-tile/calcite-tile.js +12 -0
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.css +57 -100
- package/dist/collection/components/calcite-tile-select/calcite-tile-select.js +21 -5
- package/dist/collection/components/calcite-tile-select/resources.js +20 -0
- package/dist/collection/components/calcite-tile-select-group/calcite-tile-select-group.css +6 -13
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.css +62 -125
- package/dist/collection/components/calcite-time-picker/calcite-time-picker.js +263 -298
- package/dist/collection/components/calcite-time-picker/resources.js +15 -9
- package/dist/collection/components/calcite-tip/calcite-tip.css +25 -37
- package/dist/collection/components/calcite-tip/calcite-tip.js +13 -1
- package/dist/collection/components/calcite-tip-group/calcite-tip-group.css +9 -15
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.css +41 -61
- package/dist/collection/components/calcite-tip-manager/calcite-tip-manager.js +2 -2
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.css +17 -21
- package/dist/collection/components/calcite-tooltip/calcite-tooltip.js +1 -1
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.css +6 -12
- package/dist/collection/components/calcite-tooltip-manager/calcite-tooltip-manager.js +2 -3
- package/dist/collection/components/calcite-tree/calcite-tree.css +6 -12
- package/dist/collection/components/calcite-tree/calcite-tree.js +2 -1
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.css +31 -63
- package/dist/collection/components/calcite-tree-item/calcite-tree-item.js +6 -3
- package/dist/collection/components/calcite-value-list/calcite-value-list.css +22 -26
- package/dist/collection/components/calcite-value-list/calcite-value-list.js +22 -8
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.css +27 -34
- package/dist/collection/components/calcite-value-list-item/calcite-value-list-item.js +12 -0
- package/dist/collection/components/functional/CalciteExpandToggle.js +3 -3
- package/dist/collection/utils/conditionalSlot.js +37 -0
- package/dist/collection/utils/dom.js +44 -17
- package/dist/collection/utils/globalAttributes.js +59 -0
- package/dist/collection/utils/key.js +0 -23
- package/dist/collection/utils/label.js +4 -1
- package/dist/collection/utils/locale.js +43 -38
- package/dist/collection/utils/number.js +52 -19
- package/dist/collection/utils/observers.js +5 -1
- package/dist/collection/utils/time.js +144 -36
- package/dist/components/CalciteExpandToggle.js +3 -3
- package/dist/components/calcite-accordion-item.js +2 -3
- package/dist/components/calcite-accordion.js +2 -3
- package/dist/components/calcite-action-bar.js +4 -1
- package/dist/components/calcite-action-group2.js +13 -1
- package/dist/components/calcite-action-menu2.js +4 -1
- package/dist/components/calcite-action-pad.js +10 -8
- package/dist/components/calcite-action2.js +1 -1
- package/dist/components/calcite-alert.js +24 -16
- package/dist/components/calcite-avatar.js +4 -5
- package/dist/components/calcite-block-section.js +4 -4
- package/dist/components/calcite-block.js +20 -4
- package/dist/components/calcite-button2.js +11 -6
- package/dist/components/calcite-card.js +18 -12
- package/dist/components/calcite-checkbox2.js +2 -2
- package/dist/components/calcite-chip2.js +17 -6
- package/dist/components/calcite-color-picker-hex-input2.js +5 -7
- package/dist/components/calcite-color-picker-swatch2.js +21 -6
- package/dist/components/calcite-color-picker.js +9 -12
- package/dist/components/calcite-combobox-item-group.js +3 -4
- package/dist/components/calcite-combobox-item.js +9 -9
- package/dist/components/calcite-combobox.js +29 -20
- package/dist/components/calcite-date-picker-day2.js +2 -3
- package/dist/components/calcite-date-picker-month-header2.js +9 -11
- package/dist/components/calcite-date-picker-month2.js +7 -10
- package/dist/components/calcite-date-picker2.js +38 -22
- package/dist/components/calcite-dropdown-group.js +3 -4
- package/dist/components/calcite-dropdown-item.js +5 -8
- package/dist/components/calcite-dropdown2.js +29 -25
- package/dist/components/calcite-fab.js +4 -5
- package/dist/components/calcite-filter2.js +4 -20
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph2.js +14 -9
- package/dist/components/calcite-handle2.js +1 -1
- package/dist/components/calcite-icon2.js +1 -1
- package/dist/components/calcite-inline-editable.js +6 -6
- package/dist/components/calcite-input-date-picker.js +28 -11
- package/dist/components/calcite-input-message.js +3 -4
- package/dist/components/calcite-input-time-picker.js +54 -52
- package/dist/components/calcite-input2.js +126 -52
- package/dist/components/calcite-label2.js +2 -4
- package/dist/components/calcite-link2.js +15 -3
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +13 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader2.js +1 -1
- package/dist/components/calcite-modal.js +9 -8
- package/dist/components/calcite-notice.js +10 -4
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +4 -2
- package/dist/components/calcite-pagination.js +3 -5
- package/dist/components/calcite-panel.js +22 -21
- package/dist/components/calcite-pick-list-group.js +15 -5
- package/dist/components/calcite-pick-list-item2.js +13 -1
- package/dist/components/calcite-pick-list.js +3 -2
- package/dist/components/calcite-popover-manager.js +3 -3
- package/dist/components/calcite-popover2.js +4 -6
- package/dist/components/calcite-progress2.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +21 -17
- package/dist/components/calcite-radio-group-item.js +6 -59
- package/dist/components/calcite-radio-group.js +4 -5
- package/dist/components/calcite-rating.js +2 -4
- package/dist/components/calcite-scrim2.js +1 -1
- package/dist/components/calcite-select.js +5 -6
- package/dist/components/calcite-shell-center-row.js +16 -5
- package/dist/components/calcite-shell-panel.js +13 -8
- package/dist/components/calcite-shell.js +15 -3
- package/dist/components/calcite-slider.js +28 -15
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +2 -4
- package/dist/components/calcite-stepper-item.js +4 -6
- package/dist/components/calcite-stepper.js +2 -3
- package/dist/components/calcite-switch2.js +4 -6
- package/dist/components/calcite-tab-nav2.js +4 -4
- package/dist/components/calcite-tab-title2.js +8 -11
- package/dist/components/calcite-tab2.js +1 -1
- package/dist/components/calcite-tabs2.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +37 -4
- package/dist/components/calcite-tile2.js +13 -1
- package/dist/components/calcite-time-picker2.js +328 -196
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +14 -2
- package/dist/components/calcite-tooltip-manager2.js +3 -4
- package/dist/components/calcite-tooltip.js +2 -2
- package/dist/components/calcite-tree-item.js +8 -5
- package/dist/components/calcite-tree.js +3 -2
- package/dist/components/calcite-value-list-item.js +13 -1
- package/dist/components/calcite-value-list.js +11 -4
- package/dist/components/conditionalSlot.js +40 -0
- package/dist/components/dom.js +45 -18
- package/dist/components/form.js +1 -1
- package/dist/components/label.js +5 -2
- package/dist/components/locale.js +43 -38
- package/dist/components/number.js +57 -21
- package/dist/components/observers.js +5 -1
- package/dist/components/popper.js +28 -9
- package/dist/components/resources3.js +1 -1
- package/dist/components/shared-list-render.js +16 -6
- package/dist/components/utils2.js +4 -1
- package/dist/custom-elements/index.d.ts +0 -6
- package/dist/custom-elements/index.js +1651 -1163
- package/dist/esm/{CalciteExpandToggle-4b38a7d1.js → CalciteExpandToggle-cff030be.js} +3 -3
- package/dist/esm/calcite-accordion_2.entry.js +5 -6
- package/dist/esm/calcite-action-bar.entry.js +7 -4
- package/dist/esm/calcite-action-group.entry.js +15 -2
- package/dist/esm/calcite-action-menu.entry.js +6 -3
- package/dist/esm/calcite-action-pad.entry.js +12 -9
- package/dist/esm/calcite-action.entry.js +2 -2
- package/dist/esm/calcite-alert.entry.js +23 -16
- package/dist/esm/calcite-avatar.entry.js +4 -5
- package/dist/esm/calcite-block_2.entry.js +25 -8
- package/dist/esm/calcite-button.entry.js +13 -8
- package/dist/esm/calcite-card.entry.js +19 -12
- package/dist/esm/calcite-checkbox.entry.js +5 -5
- package/dist/esm/calcite-chip.entry.js +18 -6
- package/dist/esm/calcite-color-picker_3.entry.js +33 -22
- package/dist/esm/calcite-combobox_3.entry.js +45 -34
- package/dist/esm/calcite-date-picker_4.entry.js +50 -38
- package/dist/esm/calcite-dropdown_3.entry.js +37 -36
- package/dist/esm/calcite-fab.entry.js +4 -5
- package/dist/esm/calcite-filter.entry.js +4 -19
- package/dist/esm/calcite-flow.entry.js +2 -2
- package/dist/esm/calcite-graph_2.entry.js +43 -24
- package/dist/esm/calcite-handle.entry.js +1 -1
- package/dist/esm/calcite-icon.entry.js +3 -3
- package/dist/esm/calcite-inline-editable.entry.js +8 -8
- package/dist/esm/calcite-input-date-picker.entry.js +31 -14
- package/dist/esm/calcite-input-message.entry.js +3 -4
- package/dist/esm/calcite-input-time-picker_2.entry.js +363 -238
- package/dist/esm/calcite-input.entry.js +130 -56
- package/dist/esm/calcite-label.entry.js +2 -5
- package/dist/esm/calcite-link.entry.js +15 -4
- package/dist/esm/calcite-list_3.entry.js +17 -4
- package/dist/esm/calcite-loader.entry.js +1 -1
- package/dist/esm/calcite-modal.entry.js +10 -9
- package/dist/esm/calcite-notice.entry.js +11 -4
- package/dist/esm/calcite-option_3.entry.js +13 -12
- package/dist/esm/calcite-pagination.entry.js +3 -6
- package/dist/esm/calcite-panel.entry.js +23 -21
- package/dist/esm/calcite-pick-list_3.entry.js +31 -9
- package/dist/esm/calcite-popover_2.entry.js +7 -9
- package/dist/esm/calcite-progress.entry.js +1 -1
- package/dist/esm/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm/{calcite-radio_2.entry.js → calcite-radio-button.entry.js} +24 -54
- package/dist/esm/calcite-radio-group_2.entry.js +10 -63
- package/dist/esm/calcite-rating.entry.js +5 -6
- package/dist/esm/calcite-scrim.entry.js +1 -1
- package/dist/esm/calcite-shell_3.entry.js +42 -15
- package/dist/esm/calcite-sortable-list.entry.js +2 -2
- package/dist/esm/calcite-split-button.entry.js +2 -5
- package/dist/esm/calcite-stepper_2.entry.js +6 -8
- package/dist/esm/calcite-switch.entry.js +6 -8
- package/dist/esm/calcite-tab_4.entry.js +14 -17
- package/dist/esm/calcite-tile-select_2.entry.js +38 -5
- package/dist/esm/calcite-tile.entry.js +15 -2
- package/dist/esm/calcite-tip_3.entry.js +19 -7
- package/dist/esm/calcite-tooltip_2.entry.js +7 -8
- package/dist/esm/calcite-tree_2.entry.js +12 -7
- package/dist/esm/calcite-value-list_2.entry.js +26 -7
- package/dist/esm/calcite.js +2 -2
- package/dist/esm/conditionalSlot-9e7d8609.js +40 -0
- package/dist/esm/{dom-dc012a45.js → dom-e7fa77b9.js} +45 -18
- package/dist/esm/{form-6b717ce8.js → form-f90706b4.js} +1 -1
- package/dist/esm/{label-0d804a87.js → label-2bffc9f4.js} +5 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/locale-fc850b7c.js +123 -0
- package/dist/esm/number-8779395f.js +76 -0
- package/dist/esm/{observers-8f0bc419.js → observers-46118290.js} +5 -1
- package/dist/esm/{popper-ed1eefa6.js → popper-ae231554.js} +29 -10
- package/dist/esm/{resources-eafda211.js → resources-95c5e8a6.js} +17 -7
- package/dist/esm/{resources-bece7a88.js → resources-c768953c.js} +7 -5
- package/dist/esm-es5/CalciteExpandToggle-cff030be.js +5 -0
- package/dist/esm-es5/calcite-accordion_2.entry.js +1 -1
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- package/dist/esm-es5/calcite-action-group.entry.js +1 -1
- package/dist/esm-es5/calcite-action-menu.entry.js +2 -2
- package/dist/esm-es5/calcite-action-pad.entry.js +2 -2
- package/dist/esm-es5/calcite-action.entry.js +2 -2
- package/dist/esm-es5/calcite-alert.entry.js +2 -2
- package/dist/esm-es5/calcite-avatar.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-card.entry.js +1 -1
- package/dist/esm-es5/calcite-checkbox.entry.js +2 -2
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +1 -1
- package/dist/esm-es5/calcite-combobox_3.entry.js +2 -2
- package/dist/esm-es5/calcite-date-picker_4.entry.js +1 -1
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +2 -2
- package/dist/esm-es5/calcite-filter.entry.js +2 -2
- package/dist/esm-es5/calcite-flow.entry.js +2 -2
- package/dist/esm-es5/calcite-graph_2.entry.js +2 -2
- package/dist/esm-es5/calcite-handle.entry.js +2 -2
- package/dist/esm-es5/calcite-icon.entry.js +2 -2
- package/dist/esm-es5/calcite-inline-editable.entry.js +2 -2
- package/dist/esm-es5/calcite-input-date-picker.entry.js +2 -2
- package/dist/esm-es5/calcite-input-message.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 +2 -2
- 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-loader.entry.js +1 -1
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +2 -2
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +1 -1
- 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-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button-group.entry.js +1 -1
- package/dist/esm-es5/calcite-radio-button.entry.js +5 -0
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +2 -2
- package/dist/esm-es5/calcite-scrim.entry.js +1 -1
- package/dist/esm-es5/calcite-shell_3.entry.js +1 -1
- 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 +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +1 -1
- 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-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +1 -1
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +1 -1
- package/dist/esm-es5/conditionalSlot-9e7d8609.js +5 -0
- package/dist/esm-es5/dom-e7fa77b9.js +5 -0
- package/dist/esm-es5/{form-6b717ce8.js → form-f90706b4.js} +1 -1
- package/dist/esm-es5/label-2bffc9f4.js +5 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/locale-fc850b7c.js +5 -0
- package/dist/esm-es5/number-8779395f.js +5 -0
- package/dist/esm-es5/{observers-8f0bc419.js → observers-46118290.js} +1 -1
- package/dist/esm-es5/popper-ae231554.js +5 -0
- package/dist/esm-es5/resources-95c5e8a6.js +5 -0
- package/dist/esm-es5/resources-c768953c.js +5 -0
- package/dist/extras/docs-json.json +265 -286
- package/dist/types/components/calcite-accordion/calcite-accordion.d.ts +1 -1
- package/dist/types/components/calcite-accordion-item/calcite-accordion-item.d.ts +1 -1
- package/dist/types/components/calcite-action-bar/calcite-action-bar.d.ts +2 -1
- package/dist/types/components/calcite-action-group/calcite-action-group.d.ts +4 -1
- package/dist/types/components/calcite-action-menu/calcite-action-menu.d.ts +2 -1
- package/dist/types/components/calcite-action-pad/calcite-action-pad.d.ts +4 -1
- package/dist/types/components/calcite-alert/calcite-alert.d.ts +6 -2
- package/dist/types/components/calcite-alert/interfaces.d.ts +1 -0
- package/dist/types/components/calcite-block/calcite-block.d.ts +5 -1
- package/dist/types/components/calcite-button/resources.d.ts +2 -0
- package/dist/types/components/calcite-card/calcite-card.d.ts +4 -1
- package/dist/types/components/calcite-chip/calcite-chip.d.ts +4 -1
- package/dist/types/components/calcite-color-picker/calcite-color-picker.d.ts +1 -1
- package/dist/types/components/calcite-combobox/calcite-combobox.d.ts +4 -0
- package/dist/types/components/calcite-combobox/resources.d.ts +3 -0
- package/dist/types/components/calcite-combobox-item/calcite-combobox-item.d.ts +3 -3
- package/dist/types/components/calcite-date-picker/calcite-date-picker.d.ts +6 -0
- package/dist/types/components/calcite-date-picker/resources.d.ts +1 -0
- package/dist/types/components/calcite-date-picker-month-header/calcite-date-picker-month-header.d.ts +3 -1
- package/dist/types/components/calcite-dropdown/calcite-dropdown.d.ts +1 -0
- package/dist/types/components/calcite-filter/calcite-filter.d.ts +1 -10
- package/dist/types/components/calcite-graph/calcite-graph.d.ts +3 -4
- package/dist/types/components/calcite-inline-editable/calcite-inline-editable.d.ts +5 -5
- package/dist/types/components/calcite-input/calcite-input.d.ts +6 -1
- package/dist/types/components/calcite-input-date-picker/calcite-input-date-picker.d.ts +15 -0
- package/dist/types/components/calcite-input-time-picker/calcite-input-time-picker.d.ts +13 -5
- package/dist/types/components/calcite-link/calcite-link.d.ts +5 -0
- package/dist/types/components/calcite-list-item/calcite-list-item.d.ts +4 -1
- package/dist/types/components/calcite-modal/calcite-modal.d.ts +2 -1
- package/dist/types/components/calcite-notice/calcite-notice.d.ts +4 -1
- package/dist/types/components/calcite-panel/calcite-panel.d.ts +6 -7
- package/dist/types/components/calcite-pick-list/calcite-pick-list.d.ts +2 -1
- package/dist/types/components/calcite-pick-list/shared-list-logic.d.ts +1 -0
- package/dist/types/components/calcite-pick-list/shared-list-render.d.ts +2 -2
- package/dist/types/components/calcite-pick-list-group/calcite-pick-list-group.d.ts +4 -1
- package/dist/types/components/calcite-pick-list-item/calcite-pick-list-item.d.ts +4 -1
- package/dist/types/components/calcite-radio-button/calcite-radio-button.d.ts +1 -0
- package/dist/types/components/calcite-radio-group-item/calcite-radio-group-item.d.ts +0 -8
- package/dist/types/components/calcite-select/calcite-select.d.ts +1 -2
- package/dist/types/components/calcite-shell/calcite-shell.d.ts +4 -1
- package/dist/types/components/calcite-shell-center-row/calcite-shell-center-row.d.ts +4 -1
- package/dist/types/components/calcite-shell-panel/calcite-shell-panel.d.ts +3 -1
- package/dist/types/components/calcite-slider/calcite-slider.d.ts +5 -0
- package/dist/types/components/calcite-tile/calcite-tile.d.ts +4 -1
- package/dist/types/components/calcite-tile-select/resources.d.ts +16 -0
- package/dist/types/components/calcite-time-picker/calcite-time-picker.d.ts +36 -24
- package/dist/types/components/calcite-time-picker/resources.d.ts +14 -8
- package/dist/types/components/calcite-tip/calcite-tip.d.ts +4 -1
- package/dist/types/components/calcite-tree-item/calcite-tree-item.d.ts +3 -1
- package/dist/types/components/calcite-value-list/calcite-value-list.d.ts +4 -2
- package/dist/types/components/calcite-value-list-item/calcite-value-list-item.d.ts +4 -1
- package/dist/types/components.d.ts +103 -130
- package/dist/types/preact.d.ts +5 -6
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/dist/types/utils/conditionalSlot.d.ts +17 -0
- package/dist/types/utils/dom.d.ts +21 -7
- package/dist/types/utils/globalAttributes.d.ts +35 -0
- package/dist/types/utils/key.d.ts +0 -4
- package/dist/types/utils/label.d.ts +4 -0
- package/dist/types/utils/number.d.ts +4 -1
- package/dist/types/utils/time.d.ts +18 -5
- package/hydrate/index.js +1688 -1202
- package/package.json +34 -35
- package/readme.md +2 -32
- package/dist/calcite/p-04a2538a.entry.js +0 -5
- package/dist/calcite/p-051cc8c6.entry.js +0 -5
- package/dist/calcite/p-058ee7b0.entry.js +0 -5
- package/dist/calcite/p-0c827dec.entry.js +0 -5
- package/dist/calcite/p-0f33798d.system.entry.js +0 -5
- package/dist/calcite/p-0f9f1f89.system.entry.js +0 -5
- package/dist/calcite/p-1161e56f.js +0 -5
- package/dist/calcite/p-18fbf2af.system.entry.js +0 -5
- package/dist/calcite/p-198902ca.entry.js +0 -5
- package/dist/calcite/p-1ad123f9.entry.js +0 -5
- package/dist/calcite/p-1eb04aad.system.entry.js +0 -5
- package/dist/calcite/p-1f809e6c.system.entry.js +0 -5
- package/dist/calcite/p-2033f545.system.entry.js +0 -5
- package/dist/calcite/p-20f91a4e.system.entry.js +0 -5
- package/dist/calcite/p-227bc238.system.entry.js +0 -5
- package/dist/calcite/p-239b44dd.system.entry.js +0 -5
- package/dist/calcite/p-23bc2d32.entry.js +0 -5
- package/dist/calcite/p-266ee9db.entry.js +0 -5
- package/dist/calcite/p-2c66fb61.entry.js +0 -5
- package/dist/calcite/p-33802886.entry.js +0 -5
- package/dist/calcite/p-343cd887.entry.js +0 -5
- package/dist/calcite/p-3d69fba9.entry.js +0 -5
- package/dist/calcite/p-3ec67fae.entry.js +0 -5
- package/dist/calcite/p-4035444d.system.js +0 -5
- package/dist/calcite/p-42091a1f.system.entry.js +0 -5
- package/dist/calcite/p-42c7e2f0.system.entry.js +0 -5
- package/dist/calcite/p-43020fb5.js +0 -5
- package/dist/calcite/p-44a07313.system.entry.js +0 -5
- package/dist/calcite/p-47f55191.system.js +0 -5
- package/dist/calcite/p-4a8b3cf3.system.entry.js +0 -5
- package/dist/calcite/p-4cc182af.system.entry.js +0 -5
- package/dist/calcite/p-4ee2f6cf.system.entry.js +0 -5
- package/dist/calcite/p-50273eed.entry.js +0 -5
- package/dist/calcite/p-5035488d.entry.js +0 -5
- package/dist/calcite/p-52578054.js +0 -5
- package/dist/calcite/p-538e542a.system.entry.js +0 -5
- package/dist/calcite/p-55bfe4fc.entry.js +0 -5
- package/dist/calcite/p-56b352bf.system.js +0 -5
- package/dist/calcite/p-57e9b7cb.system.entry.js +0 -5
- package/dist/calcite/p-659898bf.entry.js +0 -5
- package/dist/calcite/p-6c5b849f.system.entry.js +0 -5
- package/dist/calcite/p-6ca051ef.entry.js +0 -5
- package/dist/calcite/p-702140ce.entry.js +0 -5
- package/dist/calcite/p-71e299a6.system.js +0 -5
- package/dist/calcite/p-72563742.js +0 -5
- package/dist/calcite/p-730b8963.system.entry.js +0 -5
- package/dist/calcite/p-7325e7fc.system.entry.js +0 -5
- package/dist/calcite/p-784e4e32.system.entry.js +0 -5
- package/dist/calcite/p-80a527ef.entry.js +0 -5
- package/dist/calcite/p-82c6cd9a.entry.js +0 -5
- package/dist/calcite/p-832affcb.system.entry.js +0 -5
- package/dist/calcite/p-837f9bb4.system.entry.js +0 -5
- package/dist/calcite/p-83fca16e.system.entry.js +0 -5
- package/dist/calcite/p-84d6696b.entry.js +0 -5
- package/dist/calcite/p-87f1831b.entry.js +0 -5
- package/dist/calcite/p-88b4f504.entry.js +0 -5
- package/dist/calcite/p-89987575.entry.js +0 -5
- package/dist/calcite/p-8b2d4eac.system.entry.js +0 -5
- package/dist/calcite/p-8b2ead09.system.entry.js +0 -5
- package/dist/calcite/p-8da7ad4b.entry.js +0 -5
- package/dist/calcite/p-8e252799.system.js +0 -5
- package/dist/calcite/p-8fef13ca.system.entry.js +0 -5
- package/dist/calcite/p-91645bf7.system.js +0 -5
- package/dist/calcite/p-9470d123.system.entry.js +0 -5
- package/dist/calcite/p-95b9a0f2.system.entry.js +0 -5
- package/dist/calcite/p-99de28b4.system.entry.js +0 -5
- package/dist/calcite/p-99e52ea7.system.entry.js +0 -5
- package/dist/calcite/p-9abbbcbd.system.entry.js +0 -5
- package/dist/calcite/p-9be50494.entry.js +0 -5
- package/dist/calcite/p-a821e9b3.system.entry.js +0 -5
- package/dist/calcite/p-a98e5444.system.entry.js +0 -5
- package/dist/calcite/p-ab9c6a18.entry.js +0 -5
- package/dist/calcite/p-abdc7a4b.system.entry.js +0 -5
- package/dist/calcite/p-ac38b743.system.entry.js +0 -5
- package/dist/calcite/p-aced5f01.entry.js +0 -5
- package/dist/calcite/p-b0b6baf4.system.entry.js +0 -5
- package/dist/calcite/p-b16b831d.entry.js +0 -5
- package/dist/calcite/p-b174f9ac.entry.js +0 -5
- package/dist/calcite/p-b2ab0485.js +0 -5
- package/dist/calcite/p-b37b7b9e.system.entry.js +0 -5
- package/dist/calcite/p-b3e418f0.entry.js +0 -5
- package/dist/calcite/p-b4b1081f.system.entry.js +0 -5
- package/dist/calcite/p-b5d21a5d.system.entry.js +0 -5
- package/dist/calcite/p-b5f412fb.entry.js +0 -5
- package/dist/calcite/p-b6b6ec04.js +0 -5
- package/dist/calcite/p-b7518275.system.entry.js +0 -5
- package/dist/calcite/p-b75ffebb.system.entry.js +0 -5
- package/dist/calcite/p-bef1f0d9.entry.js +0 -5
- package/dist/calcite/p-c0690971.entry.js +0 -5
- package/dist/calcite/p-c12e88cd.entry.js +0 -5
- package/dist/calcite/p-c1794615.entry.js +0 -5
- package/dist/calcite/p-c3ba61ea.entry.js +0 -5
- package/dist/calcite/p-c937f25f.system.js +0 -5
- package/dist/calcite/p-c9551366.entry.js +0 -5
- package/dist/calcite/p-ca5c0679.entry.js +0 -5
- package/dist/calcite/p-cbe9f1a2.system.entry.js +0 -5
- package/dist/calcite/p-cd1cdf3c.entry.js +0 -5
- package/dist/calcite/p-d07ff1ee.system.js +0 -5
- package/dist/calcite/p-d102e280.system.entry.js +0 -5
- package/dist/calcite/p-d830efad.entry.js +0 -5
- package/dist/calcite/p-dacd3cf8.entry.js +0 -5
- package/dist/calcite/p-dcc6b40f.entry.js +0 -5
- package/dist/calcite/p-dccb5ffd.entry.js +0 -5
- package/dist/calcite/p-dff7dc90.system.js +0 -5
- package/dist/calcite/p-e2d18d39.system.entry.js +0 -5
- package/dist/calcite/p-e4acb5a8.js +0 -5
- package/dist/calcite/p-e5305b02.js +0 -5
- package/dist/calcite/p-e6a47d34.system.entry.js +0 -5
- package/dist/calcite/p-e78e743b.entry.js +0 -5
- package/dist/calcite/p-e956e279.js +0 -5
- package/dist/calcite/p-ea3fee96.entry.js +0 -5
- package/dist/calcite/p-eada9cef.entry.js +0 -5
- package/dist/calcite/p-eb0f1e0f.system.entry.js +0 -5
- package/dist/calcite/p-ed3f000d.system.entry.js +0 -5
- package/dist/calcite/p-ee40deba.system.entry.js +0 -5
- package/dist/calcite/p-ee45cff5.system.entry.js +0 -5
- package/dist/calcite/p-eeb8dfe5.system.entry.js +0 -5
- package/dist/calcite/p-f0338acf.system.entry.js +0 -5
- package/dist/calcite/p-f05b5dc9.system.entry.js +0 -5
- package/dist/calcite/p-f07d3627.js +0 -5
- package/dist/calcite/p-f1832595.system.entry.js +0 -5
- package/dist/calcite/p-f333e31b.entry.js +0 -5
- package/dist/calcite/p-f6323ffa.system.entry.js +0 -5
- package/dist/calcite/p-f87ba8eb.system.js +0 -5
- package/dist/calcite/p-f97e1a2d.entry.js +0 -5
- package/dist/calcite/p-fb817417.entry.js +0 -5
- package/dist/calcite/p-fb8b2c96.entry.js +0 -5
- package/dist/calcite/p-fba77b86.entry.js +0 -5
- package/dist/calcite/p-fc32b022.entry.js +0 -5
- package/dist/calcite/p-fc47547f.system.entry.js +0 -5
- package/dist/calcite/p-fccc1605.entry.js +0 -5
- package/dist/calcite/p-fd1ddcd2.system.entry.js +0 -5
- package/dist/cjs/key-8bfb93ec.js +0 -37
- package/dist/cjs/locale-69dc9583.js +0 -123
- package/dist/cjs/number-e6448e15.js +0 -45
- package/dist/collection/components/calcite-radio/calcite-radio.css +0 -162
- package/dist/collection/components/calcite-radio/calcite-radio.js +0 -169
- package/dist/components/calcite-radio.d.ts +0 -11
- package/dist/components/calcite-radio.js +0 -10
- package/dist/components/calcite-radio2.js +0 -71
- package/dist/components/key.js +0 -33
- package/dist/esm/key-69001a68.js +0 -33
- package/dist/esm/locale-6c1b85c7.js +0 -118
- package/dist/esm/number-e7393766.js +0 -40
- package/dist/esm-es5/CalciteExpandToggle-4b38a7d1.js +0 -5
- package/dist/esm-es5/calcite-radio_2.entry.js +0 -5
- package/dist/esm-es5/dom-dc012a45.js +0 -5
- package/dist/esm-es5/key-69001a68.js +0 -5
- package/dist/esm-es5/label-0d804a87.js +0 -5
- package/dist/esm-es5/locale-6c1b85c7.js +0 -5
- package/dist/esm-es5/number-e7393766.js +0 -5
- package/dist/esm-es5/popper-ed1eefa6.js +0 -5
- package/dist/esm-es5/resources-bece7a88.js +0 -5
- package/dist/esm-es5/resources-eafda211.js +0 -5
- package/dist/types/components/calcite-radio/calcite-radio.d.ts +0 -22
|
@@ -34,14 +34,9 @@ function nodeListToArray(nodeList) {
|
|
|
34
34
|
return Array.isArray(nodeList) ? nodeList : Array.from(nodeList);
|
|
35
35
|
}
|
|
36
36
|
function getThemeName(el) {
|
|
37
|
-
|
|
37
|
+
const closestElWithTheme = closestElementCrossShadowBoundary(el, `.${CSS_UTILITY.darkTheme}, .${CSS_UTILITY.lightTheme}`);
|
|
38
|
+
return (closestElWithTheme === null || closestElWithTheme === void 0 ? void 0 : closestElWithTheme.classList.contains("calcite-theme-dark")) ? "dark" : "light";
|
|
38
39
|
}
|
|
39
|
-
function getElementStyleDir(el) {
|
|
40
|
-
return window.getComputedStyle(el).direction || "ltr";
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* @deprecated use getElementStyleDir instead.
|
|
44
|
-
*/
|
|
45
40
|
function getElementDir(el) {
|
|
46
41
|
const prop = "dir";
|
|
47
42
|
const selector = `[${prop}]`;
|
|
@@ -59,10 +54,14 @@ function getRootNode(el) {
|
|
|
59
54
|
function getHost(root) {
|
|
60
55
|
return root.host || null;
|
|
61
56
|
}
|
|
62
|
-
|
|
63
|
-
|
|
57
|
+
/**
|
|
58
|
+
* This helper queries an element's rootNodes and any ancestor rootNodes.
|
|
59
|
+
*
|
|
60
|
+
* @returns {Element[]} The elements.
|
|
61
|
+
*/
|
|
64
62
|
function queryElementsRoots(element, selector) {
|
|
65
63
|
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
|
64
|
+
// Based on: https://stackoverflow.com/q/54520554/194216
|
|
66
65
|
function queryFromAll(el, allResults) {
|
|
67
66
|
if (!el) {
|
|
68
67
|
return allResults;
|
|
@@ -79,10 +78,16 @@ function queryElementsRoots(element, selector) {
|
|
|
79
78
|
}
|
|
80
79
|
return queryFromAll(element, []);
|
|
81
80
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
/**
|
|
82
|
+
* This helper queries an element's rootNode and any ancestor rootNodes.
|
|
83
|
+
*
|
|
84
|
+
* If both an 'id' and 'selector' are supplied, 'id' will take precedence over 'selector'.
|
|
85
|
+
*
|
|
86
|
+
* @returns {Element} The element.
|
|
87
|
+
*/
|
|
88
|
+
function queryElementRoots(element, { selector, id }) {
|
|
85
89
|
// Gets the rootNode and any ancestor rootNodes (shadowRoot or document) of an element and queries them for a selector.
|
|
90
|
+
// Based on: https://stackoverflow.com/q/54520554/194216
|
|
86
91
|
function queryFrom(el) {
|
|
87
92
|
if (!el) {
|
|
88
93
|
return null;
|
|
@@ -91,7 +96,11 @@ function queryElementRoots(element, selector) {
|
|
|
91
96
|
el = el.assignedSlot;
|
|
92
97
|
}
|
|
93
98
|
const rootNode = getRootNode(el);
|
|
94
|
-
const found =
|
|
99
|
+
const found = id
|
|
100
|
+
? rootNode.getElementById(id)
|
|
101
|
+
: selector
|
|
102
|
+
? rootNode.querySelector(selector)
|
|
103
|
+
: null;
|
|
95
104
|
const host = getHost(rootNode);
|
|
96
105
|
return found ? found : host ? queryFrom(host) : null;
|
|
97
106
|
}
|
|
@@ -113,16 +122,31 @@ async function focusElement(el) {
|
|
|
113
122
|
}
|
|
114
123
|
return isCalciteFocusable(el) ? el.setFocus() : el.focus();
|
|
115
124
|
}
|
|
125
|
+
const defaultSlotSelector = ":not([slot])";
|
|
116
126
|
function getSlotted(element, slotName, options) {
|
|
117
|
-
|
|
127
|
+
if (slotName && !Array.isArray(slotName) && typeof slotName !== "string") {
|
|
128
|
+
options = slotName;
|
|
129
|
+
slotName = null;
|
|
130
|
+
}
|
|
131
|
+
const slotSelector = slotName
|
|
132
|
+
? Array.isArray(slotName)
|
|
133
|
+
? slotName.map((name) => `[slot="${name}"]`).join(",")
|
|
134
|
+
: `[slot="${slotName}"]`
|
|
135
|
+
: defaultSlotSelector;
|
|
118
136
|
if (options === null || options === void 0 ? void 0 : options.all) {
|
|
119
137
|
return queryMultiple(element, slotSelector, options);
|
|
120
138
|
}
|
|
121
139
|
return querySingle(element, slotSelector, options);
|
|
122
140
|
}
|
|
141
|
+
function getDirectChildren(el, selector) {
|
|
142
|
+
return el ? Array.from(el.children || []).filter((child) => child === null || child === void 0 ? void 0 : child.matches(selector)) : [];
|
|
143
|
+
}
|
|
123
144
|
function queryMultiple(element, slotSelector, options) {
|
|
124
|
-
let matches =
|
|
145
|
+
let matches = slotSelector === defaultSlotSelector
|
|
146
|
+
? getDirectChildren(element, defaultSlotSelector)
|
|
147
|
+
: Array.from(element.querySelectorAll(slotSelector));
|
|
125
148
|
matches = options && options.direct === false ? matches : matches.filter((el) => el.parentElement === element);
|
|
149
|
+
matches = (options === null || options === void 0 ? void 0 : options.matches) ? matches.filter((el) => el === null || el === void 0 ? void 0 : el.matches(options.matches)) : matches;
|
|
126
150
|
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
|
127
151
|
return selector
|
|
128
152
|
? matches
|
|
@@ -132,10 +156,13 @@ function queryMultiple(element, slotSelector, options) {
|
|
|
132
156
|
: matches;
|
|
133
157
|
}
|
|
134
158
|
function querySingle(element, slotSelector, options) {
|
|
135
|
-
let match =
|
|
159
|
+
let match = slotSelector === defaultSlotSelector
|
|
160
|
+
? getDirectChildren(element, defaultSlotSelector)[0] || null
|
|
161
|
+
: element.querySelector(slotSelector);
|
|
136
162
|
match = options && options.direct === false ? match : (match === null || match === void 0 ? void 0 : match.parentElement) === element ? match : null;
|
|
163
|
+
match = (options === null || options === void 0 ? void 0 : options.matches) ? ((match === null || match === void 0 ? void 0 : match.matches(options.matches)) ? match : null) : match;
|
|
137
164
|
const selector = options === null || options === void 0 ? void 0 : options.selector;
|
|
138
|
-
return selector ? match.querySelector(selector) : match;
|
|
165
|
+
return selector ? match === null || match === void 0 ? void 0 : match.querySelector(selector) : match;
|
|
139
166
|
}
|
|
140
167
|
function filterDirectChildren(el, selector) {
|
|
141
168
|
return Array.from(el.children).filter((child) => child.matches(selector));
|
|
@@ -156,4 +183,4 @@ function intersects(rect1, rect2) {
|
|
|
156
183
|
rect2.bottom < rect1.top);
|
|
157
184
|
}
|
|
158
185
|
|
|
159
|
-
export { CSS_UTILITY as C, TEXT as T,
|
|
186
|
+
export { CSS_UTILITY as C, TEXT as T, getElementDir as a, getThemeName as b, closestElementCrossShadowBoundary as c, getElementProp as d, ensureId as e, focusElement as f, getSlotted as g, queryElementsRoots as h, isCalciteFocusable as i, intersects as j, filterDirectChildren as k, nodeListToArray as n, queryElementRoots as q, setRequestedIcon as s };
|
|
@@ -2,7 +2,7 @@
|
|
|
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 {
|
|
5
|
+
import { c as closestElementCrossShadowBoundary } from './dom-e7fa77b9.js';
|
|
6
6
|
import { h } from './index-9de00868.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -2,7 +2,7 @@
|
|
|
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 { q as queryElementRoots,
|
|
5
|
+
import { q as queryElementRoots, c as closestElementCrossShadowBoundary } from './dom-e7fa77b9.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Exported for testing purposes only
|
|
@@ -13,7 +13,7 @@ const labelTagName = "calcite-label";
|
|
|
13
13
|
const onLabelClickMap = new WeakMap();
|
|
14
14
|
const findLabelForComponent = (componentEl) => {
|
|
15
15
|
const { id } = componentEl;
|
|
16
|
-
const forLabel = id && queryElementRoots(componentEl, `${labelTagName}[for="${id}"]`);
|
|
16
|
+
const forLabel = id && queryElementRoots(componentEl, { selector: `${labelTagName}[for="${id}"]` });
|
|
17
17
|
if (forLabel) {
|
|
18
18
|
return forLabel;
|
|
19
19
|
}
|
|
@@ -73,6 +73,9 @@ function getLabelText(component) {
|
|
|
73
73
|
return component.label || ((_b = (_a = component.labelEl) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || "";
|
|
74
74
|
}
|
|
75
75
|
function onLabelClick(event) {
|
|
76
|
+
if (this.disabled) {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
76
79
|
const containedLabelableChildClicked = this.el.contains(event.detail.sourceEvent.target);
|
|
77
80
|
if (containedLabelableChildClicked) {
|
|
78
81
|
return;
|
package/dist/esm/loader.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { p as promiseResolve, b as bootstrapLazy } from './index-9de00868.js';
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v2.
|
|
8
|
+
Stencil Client Patch Esm v2.12.1 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return promiseResolve();
|
|
@@ -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,\"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\":[1],\"max\":[1],\"active\":[1540],\"name\":[1],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"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,\"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]}]]],[\"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],\"items\":[32],\"groupItems\":[32],\"selectedItems\":[32],\"visibleItems\":[32],\"needsIcon\":[32],\"hideList\":[32],\"activeItemIndex\":[32],\"activeChipIndex\":[32],\"activeDescendant\":[32],\"text\":[32],\"open\":[32],\"maxScrollerHeight\":[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\"]]]]],[\"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],\"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],\"useFallback\":[32]}],[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-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],\"hourDisplayFormat\":[1,\"hour-display-format\"],\"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\"],\"name\":[1],\"required\":[516],\"scale\":[513],\"step\":[2],\"value\":[1025],\"setFocus\":[64]},[[0,\"keyup\",\"keyUpHandler\"],[0,\"calciteTimePickerBlur\",\"timePickerBlurHandler\"],[0,\"calciteTimePickerChange\",\"timePickerChangeHandler\"],[0,\"calciteTimePickerFocus\",\"timePickerFocusHandler\"]]],[1,\"calcite-time-picker\",{\"hour\":[1025],\"hourDisplayFormat\":[513,\"hour-display-format\"],\"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\"],\"minute\":[1025],\"second\":[1025],\"scale\":[513],\"step\":[514],\"meridiem\":[32],\"displayHour\":[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],\"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],\"width\":[2],\"height\":[2],\"highlightMin\":[2,\"highlight-min\"],\"highlightMax\":[2,\"highlight-max\"],\"min\":[2],\"max\":[2]}]]],[\"calcite-radio_2\",[[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\"]]],[1,\"calcite-radio\",{\"checked\":[516],\"disabled\":[516],\"focused\":[516],\"hidden\":[516],\"hovered\":[516],\"scale\":[513]}]]],[\"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\",{\"data\":[16],\"items\":[1040],\"disabled\":[516],\"filteredItems\":[1040],\"intlClear\":[1,\"intl-clear\"],\"intlLabel\":[1,\"intl-label\"],\"placeholder\":[1],\"value\":[1025],\"setFocus\":[64]}]]],[\"calcite-link\",[[1,\"calcite-link\",{\"disabled\":[516],\"href\":[513],\"iconEnd\":[513,\"icon-end\"],\"iconFlipRtl\":[513,\"icon-flip-rtl\"],\"iconStart\":[513,\"icon-start\"],\"rel\":[1],\"target\":[1],\"childElType\":[32],\"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],\"childElType\":[32],\"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\":[1],\"max\":[1],\"intlPrevMonth\":[1,\"intl-prev-month\"],\"intlNextMonth\":[1,\"intl-next-month\"],\"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\"],\"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,\"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]}]]],[\"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],\"maxScrollerHeight\":[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\"]]]]],[\"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],\"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],\"childElType\":[32],\"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],\"childElType\":[32],\"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);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
import { a as sanitizeExponentialNumberString, b as sanitizeDecimalString } from './number-8779395f.js';
|
|
6
|
+
|
|
7
|
+
const locales = [
|
|
8
|
+
"ar",
|
|
9
|
+
"bg",
|
|
10
|
+
"bs",
|
|
11
|
+
"ca",
|
|
12
|
+
"cs",
|
|
13
|
+
"da",
|
|
14
|
+
"de",
|
|
15
|
+
"de-CH",
|
|
16
|
+
"el",
|
|
17
|
+
"en",
|
|
18
|
+
"en-AU",
|
|
19
|
+
"en-CA",
|
|
20
|
+
"en-GB",
|
|
21
|
+
"es",
|
|
22
|
+
"es-MX",
|
|
23
|
+
"et",
|
|
24
|
+
"fi",
|
|
25
|
+
"fr",
|
|
26
|
+
"fr-CH",
|
|
27
|
+
"he",
|
|
28
|
+
"hi",
|
|
29
|
+
"hr",
|
|
30
|
+
"hu",
|
|
31
|
+
"id",
|
|
32
|
+
"it",
|
|
33
|
+
"it-CH",
|
|
34
|
+
"ja",
|
|
35
|
+
"ko",
|
|
36
|
+
"lt",
|
|
37
|
+
"lv",
|
|
38
|
+
"mk",
|
|
39
|
+
"nb",
|
|
40
|
+
"nl",
|
|
41
|
+
"pl",
|
|
42
|
+
"pt",
|
|
43
|
+
"pt-PT",
|
|
44
|
+
"ro",
|
|
45
|
+
"ru",
|
|
46
|
+
"sk",
|
|
47
|
+
"sl",
|
|
48
|
+
"sr",
|
|
49
|
+
"sv",
|
|
50
|
+
"th",
|
|
51
|
+
"tr",
|
|
52
|
+
"uk",
|
|
53
|
+
"vi",
|
|
54
|
+
"zh-CN",
|
|
55
|
+
"zh-HK",
|
|
56
|
+
"zh-TW"
|
|
57
|
+
];
|
|
58
|
+
function createLocaleNumberFormatter(locale) {
|
|
59
|
+
return new Intl.NumberFormat(locale, {
|
|
60
|
+
minimumFractionDigits: 0,
|
|
61
|
+
maximumFractionDigits: 20
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
function delocalizeNumberString(numberString, locale) {
|
|
65
|
+
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
66
|
+
if (nonExpoNumString) {
|
|
67
|
+
const groupSeparator = getGroupSeparator(locale);
|
|
68
|
+
const decimalSeparator = getDecimalSeparator(locale);
|
|
69
|
+
const splitNumberString = nonExpoNumString.split("");
|
|
70
|
+
const decimalIndex = splitNumberString.lastIndexOf(decimalSeparator);
|
|
71
|
+
const delocalizedNumberString = splitNumberString
|
|
72
|
+
.map((value, index) => {
|
|
73
|
+
if (value === groupSeparator || (value === decimalSeparator && index !== decimalIndex)) {
|
|
74
|
+
return "";
|
|
75
|
+
}
|
|
76
|
+
return value;
|
|
77
|
+
})
|
|
78
|
+
.reduce((string, part) => string + part)
|
|
79
|
+
.replace(decimalSeparator, ".");
|
|
80
|
+
return isNaN(Number(delocalizedNumberString)) ? nonExpoNumString : delocalizedNumberString;
|
|
81
|
+
}
|
|
82
|
+
return nonExpoNumString;
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function getGroupSeparator(locale) {
|
|
86
|
+
const formatter = createLocaleNumberFormatter(locale);
|
|
87
|
+
const parts = formatter.formatToParts(1234567.8);
|
|
88
|
+
const value = parts.find((part) => part.type === "group").value;
|
|
89
|
+
return value.trim().length === 0 ? " " : value;
|
|
90
|
+
}
|
|
91
|
+
function getDecimalSeparator(locale) {
|
|
92
|
+
const formatter = createLocaleNumberFormatter(locale);
|
|
93
|
+
const parts = formatter.formatToParts(1234567.8);
|
|
94
|
+
const value = parts.find((part) => part.type === "decimal").value;
|
|
95
|
+
return value.trim().length === 0 ? " " : value;
|
|
96
|
+
}
|
|
97
|
+
function localizeNumberString(numberString, locale, displayGroupSeparator = false) {
|
|
98
|
+
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
99
|
+
if (nonExpoNumString) {
|
|
100
|
+
const number = Number(sanitizeDecimalString(nonExpoNumString));
|
|
101
|
+
if (!isNaN(number)) {
|
|
102
|
+
const formatter = createLocaleNumberFormatter(locale);
|
|
103
|
+
const parts = formatter.formatToParts(number);
|
|
104
|
+
const localizedNumberString = parts
|
|
105
|
+
.map(({ type, value }) => {
|
|
106
|
+
switch (type) {
|
|
107
|
+
case "group":
|
|
108
|
+
return displayGroupSeparator ? getGroupSeparator(locale) : "";
|
|
109
|
+
case "decimal":
|
|
110
|
+
return getDecimalSeparator(locale);
|
|
111
|
+
default:
|
|
112
|
+
return value;
|
|
113
|
+
}
|
|
114
|
+
})
|
|
115
|
+
.reduce((string, part) => string + part);
|
|
116
|
+
return localizedNumberString;
|
|
117
|
+
}
|
|
118
|
+
return nonExpoNumString;
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export { locales as a, delocalizeNumberString as d, getDecimalSeparator as g, localizeNumberString as l };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
|
4
|
+
*/
|
|
5
|
+
function isActivationKey(key) {
|
|
6
|
+
return key === "Enter" || key === " ";
|
|
7
|
+
}
|
|
8
|
+
const numberKeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
|
9
|
+
|
|
10
|
+
function isValidNumber(numberString) {
|
|
11
|
+
return !(!numberString || isNaN(Number(numberString)));
|
|
12
|
+
}
|
|
13
|
+
function parseNumberString(numberString) {
|
|
14
|
+
if (!numberString || !stringContainsNumbers(numberString)) {
|
|
15
|
+
return "";
|
|
16
|
+
}
|
|
17
|
+
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
18
|
+
let containsDecimal = false;
|
|
19
|
+
const result = nonExpoNumString
|
|
20
|
+
.split("")
|
|
21
|
+
.filter((value, i) => {
|
|
22
|
+
if (value.match(/\./g) && !containsDecimal) {
|
|
23
|
+
containsDecimal = true;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
if (value.match(/\-/g) && i === 0) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
return numberKeys.includes(value);
|
|
30
|
+
})
|
|
31
|
+
.reduce((string, part) => string + part);
|
|
32
|
+
return isValidNumber(result) ? Number(result).toString() : null;
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function sanitizeDecimalString(decimalString) {
|
|
36
|
+
const decimalAtEndOfStringButNotStart = /(?!^\.)\.$/;
|
|
37
|
+
return decimalString.replace(decimalAtEndOfStringButNotStart, "");
|
|
38
|
+
}
|
|
39
|
+
function sanitizeNegativeString(negativeString) {
|
|
40
|
+
const allHyphensExceptTheStart = /(?!^-)-/g;
|
|
41
|
+
return negativeString.replace(allHyphensExceptTheStart, "");
|
|
42
|
+
}
|
|
43
|
+
function sanitizeLeadingZeroString(zeroString) {
|
|
44
|
+
const allLeadingZerosOptionallyNegative = /^([-0])0+(?=\d)/;
|
|
45
|
+
return zeroString.replace(allLeadingZerosOptionallyNegative, "$1");
|
|
46
|
+
}
|
|
47
|
+
function sanitizeNumberString(numberString) {
|
|
48
|
+
return sanitizeExponentialNumberString(numberString, (nonExpoNumString) => {
|
|
49
|
+
const sanitizedValue = sanitizeNegativeString(sanitizeDecimalString(sanitizeLeadingZeroString(nonExpoNumString)));
|
|
50
|
+
const isNegativeDecimalOnlyZeros = /^-\b0\b\.?0*$/;
|
|
51
|
+
return isValidNumber(sanitizedValue)
|
|
52
|
+
? isNegativeDecimalOnlyZeros.test(sanitizedValue)
|
|
53
|
+
? sanitizedValue
|
|
54
|
+
: Number(sanitizedValue).toString()
|
|
55
|
+
: nonExpoNumString;
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
function sanitizeExponentialNumberString(numberString, func) {
|
|
59
|
+
if (!numberString) {
|
|
60
|
+
return numberString;
|
|
61
|
+
}
|
|
62
|
+
const firstE = numberString.toLowerCase().indexOf("e") + 1;
|
|
63
|
+
return numberString
|
|
64
|
+
.replace(/[eE]*$/g, "")
|
|
65
|
+
.substring(0, firstE)
|
|
66
|
+
.concat(numberString.slice(firstE).replace(/[eE]/g, ""))
|
|
67
|
+
.split(/[eE]/)
|
|
68
|
+
.map((section, i) => (i === 1 ? func(section.replace(/\./g, "")) : func(section)))
|
|
69
|
+
.join("e")
|
|
70
|
+
.replace(/^e/, "1e");
|
|
71
|
+
}
|
|
72
|
+
function stringContainsNumbers(string) {
|
|
73
|
+
return numberKeys.some((number) => string.includes(number));
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export { sanitizeExponentialNumberString as a, sanitizeDecimalString as b, isActivationKey as c, isValidNumber as i, numberKeys as n, parseNumberString as p, sanitizeNumberString as s };
|
|
@@ -14,7 +14,11 @@ function createObserver(type, callback, options) {
|
|
|
14
14
|
return new Observer(callback, options) ;
|
|
15
15
|
}
|
|
16
16
|
function getObserver(type) {
|
|
17
|
-
return (type === "intersection"
|
|
17
|
+
return (type === "intersection"
|
|
18
|
+
? window.IntersectionObserver
|
|
19
|
+
: type === "mutation"
|
|
20
|
+
? window.MutationObserver
|
|
21
|
+
: window.ResizeObserver);
|
|
18
22
|
}
|
|
19
23
|
|
|
20
24
|
export { createObserver as c };
|