@esri/calcite-components 1.0.0-next.631 → 1.0.0-next.633
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calcite/calcite.esm.js +2 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-9e985ad3.js → p-004dc91c.js} +1 -1
- package/dist/calcite/{p-256dd63d.js → p-035fa26b.js} +1 -1
- package/dist/calcite/{p-c7d55f76.js → p-05c3789b.js} +1 -1
- package/dist/calcite/{p-09d0b7df.entry.js → p-09749684.entry.js} +2 -2
- package/dist/calcite/{p-fb7f07bc.entry.js → p-0d96f830.entry.js} +2 -2
- package/dist/calcite/p-0f31433c.entry.js +6 -0
- package/dist/calcite/{p-74f724b5.entry.js → p-12f64f8b.entry.js} +2 -2
- package/dist/calcite/{p-829c6736.entry.js → p-14a7da73.entry.js} +2 -2
- package/dist/calcite/{p-b600b3f2.entry.js → p-1806b759.entry.js} +2 -2
- package/dist/calcite/{p-c566271a.js → p-18b9b69e.js} +1 -1
- package/dist/calcite/{p-3d2bd3a6.entry.js → p-18f9b87b.entry.js} +2 -2
- package/dist/calcite/{p-a1a76d84.entry.js → p-1cebb96f.entry.js} +2 -2
- package/dist/calcite/{p-2122e0d1.js → p-22c8223d.js} +1 -1
- package/dist/calcite/{p-b2e36784.js → p-24681cc9.js} +1 -1
- package/dist/calcite/{p-d61be3b7.entry.js → p-266871ba.entry.js} +2 -2
- package/dist/calcite/{p-cb7557e3.entry.js → p-26b693c2.entry.js} +2 -2
- package/dist/calcite/{p-63c436be.entry.js → p-29cf00c4.entry.js} +2 -2
- package/dist/calcite/{p-640cf4fa.entry.js → p-2a52b1af.entry.js} +2 -2
- package/dist/calcite/{p-f5f0f20c.entry.js → p-2c730d84.entry.js} +2 -2
- package/dist/calcite/{p-471d7ed4.js → p-2c9d7402.js} +2 -2
- package/dist/calcite/{p-423f219f.entry.js → p-2ebffb8e.entry.js} +2 -2
- package/dist/calcite/{p-d1e085b3.entry.js → p-308ed699.entry.js} +2 -2
- package/dist/calcite/{p-e9ed1444.js → p-31090aba.js} +1 -1
- package/dist/calcite/{p-852c2b37.js → p-319d0fb7.js} +2 -2
- package/dist/calcite/{p-b02b3316.js → p-32abefe9.js} +1 -1
- package/dist/calcite/{p-e5b8fd94.entry.js → p-3bb21f63.entry.js} +2 -2
- package/dist/calcite/p-3cc531b1.entry.js +6 -0
- package/dist/calcite/{p-ac49a5fc.entry.js → p-3d69f172.entry.js} +2 -2
- package/dist/calcite/p-3e9f366c.entry.js +6 -0
- package/dist/calcite/{p-030f8c3f.js → p-3ed7f5b5.js} +2 -2
- package/dist/calcite/p-42f22b60.js +6 -0
- package/dist/calcite/{p-66124d87.entry.js → p-431e0692.entry.js} +2 -2
- package/dist/calcite/{p-ec473061.js → p-4794e7df.js} +1 -1
- package/dist/calcite/{p-ddb93587.js → p-498de00a.js} +2 -2
- package/dist/calcite/{p-ba4b8115.entry.js → p-49a5573d.entry.js} +2 -2
- package/dist/calcite/p-4ada52dc.entry.js +6 -0
- package/dist/calcite/{p-08a381ac.js → p-4f72fc01.js} +1 -1
- package/dist/calcite/p-513fef9a.js +6 -0
- package/dist/calcite/{p-941609dd.js → p-5215672d.js} +2 -2
- package/dist/calcite/p-58de9d51.entry.js +6 -0
- package/dist/calcite/{p-25a557a3.entry.js → p-5c05198d.entry.js} +2 -2
- package/dist/calcite/p-5f59c538.entry.js +6 -0
- package/dist/calcite/{p-f2b115a1.entry.js → p-69d9a248.entry.js} +2 -2
- package/dist/calcite/{p-cc4a1d2e.entry.js → p-6bc879e0.entry.js} +2 -2
- package/dist/calcite/{p-ee6ce295.entry.js → p-6f30e051.entry.js} +2 -2
- package/dist/calcite/{p-93bd2d29.entry.js → p-73f93e1c.entry.js} +2 -2
- package/dist/calcite/{p-b00b7eb4.entry.js → p-77658bab.entry.js} +2 -2
- package/dist/calcite/{p-a6ad1cf2.entry.js → p-7def899e.entry.js} +2 -2
- package/dist/calcite/{p-3b385f23.entry.js → p-8021f786.entry.js} +2 -2
- package/dist/calcite/{p-680c3505.entry.js → p-810fcf41.entry.js} +2 -2
- package/dist/calcite/p-83617657.entry.js +16 -0
- package/dist/calcite/{p-6765a427.entry.js → p-953012fa.entry.js} +2 -2
- package/dist/calcite/{p-0aef0b8f.js → p-a2ab3648.js} +2 -2
- package/dist/calcite/{p-401439ec.entry.js → p-a359b901.entry.js} +2 -2
- package/dist/calcite/{p-d3910b2c.entry.js → p-a6f1ebf6.entry.js} +2 -2
- package/dist/calcite/{p-c079c310.js → p-ab3812ba.js} +1 -1
- package/dist/calcite/{p-afc65e56.entry.js → p-ac3ace5c.entry.js} +2 -2
- package/dist/calcite/{p-d248def9.entry.js → p-ac5e38a2.entry.js} +2 -2
- package/dist/calcite/{p-529b296e.js → p-b672fd97.js} +2 -2
- package/dist/calcite/{p-2f873464.entry.js → p-b7fbe5a9.entry.js} +2 -2
- package/dist/calcite/{p-4db062a5.entry.js → p-bb73d51b.entry.js} +2 -2
- package/dist/calcite/{p-30cff6ab.entry.js → p-bbd46504.entry.js} +2 -2
- package/dist/calcite/p-c24271dc.entry.js +6 -0
- package/dist/calcite/{p-7677636b.js → p-c3d50492.js} +1 -1
- package/dist/calcite/{p-34b91fe7.js → p-c8640992.js} +1 -1
- package/dist/calcite/{p-1df431db.entry.js → p-cb016c52.entry.js} +2 -2
- package/dist/calcite/{p-f80307a8.entry.js → p-cc2c16c4.entry.js} +2 -2
- package/dist/calcite/{p-ec7b54ca.js → p-cfaa9ea8.js} +2 -2
- package/dist/calcite/p-d010539f.entry.js +6 -0
- package/dist/calcite/p-d0681fe7.js +6 -0
- package/dist/calcite/{p-1ed5c382.js → p-d17b8ee9.js} +2 -2
- package/dist/calcite/{p-2a5bd5de.js → p-d25a6228.js} +1 -1
- package/dist/calcite/{p-6c655030.entry.js → p-d26767ec.entry.js} +2 -2
- package/dist/calcite/{p-e2380d5f.entry.js → p-d2f83c6a.entry.js} +2 -2
- package/dist/calcite/p-d4246ab6.js +6 -0
- package/dist/calcite/{p-9ac63c64.entry.js → p-d52deb05.entry.js} +2 -2
- package/dist/calcite/{p-9eb0a60c.entry.js → p-d5a92819.entry.js} +2 -2
- package/dist/calcite/{p-0207a04b.entry.js → p-d728f7e7.entry.js} +2 -2
- package/dist/calcite/{p-69333e74.entry.js → p-d935cc1b.entry.js} +2 -2
- package/dist/calcite/{p-22a21d2f.entry.js → p-da667566.entry.js} +2 -2
- package/dist/calcite/{p-eccd1832.entry.js → p-db293e50.entry.js} +2 -2
- package/dist/calcite/{p-12c4354b.entry.js → p-dcad31e0.entry.js} +2 -2
- package/dist/calcite/{p-f0a5c1cf.entry.js → p-ddb1b9bb.entry.js} +2 -2
- package/dist/calcite/{p-b3f707d1.js → p-deb7df1e.js} +1 -1
- package/dist/calcite/p-e2db7cb6.entry.js +6 -0
- package/dist/calcite/{p-676113f7.entry.js → p-e64e5cdc.entry.js} +2 -2
- package/dist/calcite/{p-a5925283.entry.js → p-e8d83a55.entry.js} +2 -2
- package/dist/calcite/p-f61babd1.js +6 -0
- package/dist/calcite/{p-67c2d744.entry.js → p-fb3e8b9b.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-eec7a74a.js → ExpandToggle-3cab12e1.js} +5 -5
- package/dist/cjs/{Heading-96c57bf1.js → Heading-79adac08.js} +3 -3
- package/dist/cjs/{app-globals-36bb7e5f.js → app-globals-0e5a6ce5.js} +2 -2
- package/dist/cjs/{array-144c5568.js → array-6a2dea2c.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -11
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
- package/dist/cjs/calcite-action-menu.cjs.entry.js +8 -8
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -10
- package/dist/cjs/calcite-action.cjs.entry.js +7 -7
- package/dist/cjs/calcite-alert.cjs.entry.js +10 -10
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -6
- package/dist/cjs/calcite-block_2.cjs.entry.js +11 -12
- package/dist/cjs/calcite-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-card.cjs.entry.js +7 -7
- package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -7
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +14 -14
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +12 -12
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +11 -11
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -9
- package/dist/cjs/calcite-flow-item.cjs.entry.js +7 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +12 -12
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -5
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -6
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -8
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +15 -15
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -5
- package/dist/cjs/calcite-input-number.cjs.entry.js +12 -12
- package/dist/cjs/calcite-input-text.cjs.entry.js +9 -9
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +11 -11
- package/dist/cjs/calcite-input.cjs.entry.js +12 -12
- package/dist/cjs/calcite-label.cjs.entry.js +6 -6
- package/dist/cjs/calcite-link.cjs.entry.js +6 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +10 -11
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +1281 -134
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -8
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -9
- package/dist/cjs/calcite-pagination.cjs.entry.js +8 -8
- package/dist/cjs/calcite-panel.cjs.entry.js +11 -11
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +33 -13
- package/dist/cjs/calcite-popover_2.cjs.entry.js +12 -13
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +9 -9
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-rating.cjs.entry.js +9 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -8
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +3 -3
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +9 -9
- package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -8
- package/dist/cjs/calcite-tip_3.cjs.entry.js +54 -56
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +7 -7
- package/dist/cjs/calcite-tree_2.cjs.entry.js +8 -8
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +30 -12
- package/dist/cjs/calcite.cjs.js +5 -5
- package/dist/cjs/{conditionalSlot-7f4a8e10.js → conditionalSlot-1322fc35.js} +13 -3
- package/dist/cjs/{debounce-3d8e527c.js → debounce-0f9e9abc.js} +1 -1
- package/dist/cjs/{dom-1c0b6833.js → dom-13de8dae.js} +3 -4
- package/dist/cjs/{filter-a043da6d.js → filter-b64d328c.js} +2 -2
- package/dist/cjs/{floating-ui-78db6436.js → floating-ui-81762090.js} +4 -4
- package/dist/cjs/{form-5cda2366.js → form-5d8e6d3d.js} +3 -3
- package/dist/cjs/{guid-0bb5fc1b.js → guid-4c424c40.js} +1 -1
- package/dist/cjs/{index-5bdde370.js → index-a6176241.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-19caf709.js → interactive-4c92331d.js} +1 -1
- package/dist/cjs/{interfaces-e83765f7.js → interfaces-31dee91d.js} +1 -1
- package/dist/cjs/{key-42ab632f.js → key-98575516.js} +1 -1
- package/dist/cjs/{label-2cc97ee2.js → label-40d2674d.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{locale-e755b3f7.js → locale-59a564a4.js} +37 -49
- package/dist/cjs/{math-976c29c4.js → math-434fe599.js} +1 -1
- package/dist/cjs/{nonChromiumPlatformUtils-0e526ecf.js → nonChromiumPlatformUtils-4af36414.js} +6 -6
- package/dist/cjs/{observers-bcbecbbd.js → observers-5bc9fe46.js} +1 -1
- package/dist/cjs/{openCloseComponent-edbc7b2a.js → openCloseComponent-67cd4a5b.js} +1 -1
- package/dist/cjs/{resources-17fc0687.js → resources-69bd2041.js} +1 -1
- package/dist/cjs/{resources-511507b8.js → resources-73628073.js} +1 -1
- package/dist/cjs/{resources-749ca3c0.js → resources-a28e66cd.js} +1 -1
- package/dist/cjs/{resources-5fdad010.js → resources-a665ff66.js} +1 -3
- package/dist/cjs/{resources-1a9c1993.js → resources-aace079b.js} +3 -5
- package/dist/cjs/{resources-b4931f11.js → resources-e3e0e1e3.js} +39 -15
- package/dist/cjs/{sortable.esm-037a4c16.js → sortable.esm-c1959d54.js} +1 -1
- package/dist/cjs/{utils-ecc37d9b.js → utils-62376f8f.js} +1 -1
- package/dist/collection/components/accordion/accordion.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/resources.js +1 -1
- package/dist/collection/components/action/action.js +1 -1
- package/dist/collection/components/action/resources.js +1 -1
- package/dist/collection/components/action-bar/action-bar.js +1 -1
- package/dist/collection/components/action-bar/resources.js +1 -1
- package/dist/collection/components/action-bar/utils.js +1 -1
- package/dist/collection/components/action-group/action-group.js +1 -1
- package/dist/collection/components/action-group/resources.js +1 -1
- package/dist/collection/components/action-menu/action-menu.js +1 -1
- package/dist/collection/components/action-menu/resources.js +1 -1
- package/dist/collection/components/action-pad/action-pad.js +1 -1
- package/dist/collection/components/action-pad/resources.js +1 -1
- package/dist/collection/components/alert/alert.js +1 -1
- package/dist/collection/components/alert/interfaces.js +1 -1
- package/dist/collection/components/alert/resources.js +1 -1
- package/dist/collection/components/avatar/avatar.js +1 -1
- package/dist/collection/components/avatar/utils.js +1 -1
- package/dist/collection/components/block/block.js +3 -3
- package/dist/collection/components/block/resources.js +1 -2
- package/dist/collection/components/block-section/block-section.js +1 -1
- package/dist/collection/components/block-section/resources.js +1 -1
- package/dist/collection/components/button/button.js +1 -1
- package/dist/collection/components/button/resources.js +1 -1
- package/dist/collection/components/card/card.js +1 -1
- package/dist/collection/components/card/resources.js +1 -1
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +1 -1
- package/dist/collection/components/color-picker/resources.js +1 -1
- package/dist/collection/components/color-picker/utils.js +1 -1
- package/dist/collection/components/color-picker-hex-input/color-picker-hex-input.js +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +1 -1
- package/dist/collection/components/combobox/resources.js +1 -1
- package/dist/collection/components/combobox/utils.js +1 -1
- package/dist/collection/components/combobox-item/combobox-item.js +1 -1
- package/dist/collection/components/combobox-item/resources.js +1 -1
- package/dist/collection/components/combobox-item-group/combobox-item-group.js +1 -1
- package/dist/collection/components/combobox-item-group/resources.js +1 -1
- package/dist/collection/components/date-picker/date-picker.js +3 -3
- package/dist/collection/components/date-picker/resources.js +1 -2
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +1 -1
- package/dist/collection/components/date-picker-month/date-picker-month.js +1 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +1 -1
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/dropdown/resources.js +1 -1
- package/dist/collection/components/dropdown-group/dropdown-group.js +1 -1
- package/dist/collection/components/dropdown-group/resources.js +1 -1
- package/dist/collection/components/dropdown-item/dropdown-item.js +1 -1
- package/dist/collection/components/dropdown-item/resources.js +1 -1
- package/dist/collection/components/fab/fab.js +1 -1
- package/dist/collection/components/fab/resources.js +1 -1
- package/dist/collection/components/filter/filter.js +2 -2
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/flow-item/flow-item.js +1 -1
- package/dist/collection/components/flow-item/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +2 -2
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/util.js +1 -1
- package/dist/collection/components/handle/handle.js +1 -1
- package/dist/collection/components/handle/resources.js +1 -1
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/resources.js +1 -1
- package/dist/collection/components/icon/utils.js +1 -1
- package/dist/collection/components/inline-editable/inline-editable.js +1 -1
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +1 -1
- package/dist/collection/components/input-date-picker/resources.js +1 -1
- package/dist/collection/components/input-message/input-message.js +1 -1
- package/dist/collection/components/input-message/interfaces.js +1 -1
- package/dist/collection/components/input-number/input-number.js +1 -1
- package/dist/collection/components/input-number/resources.js +1 -1
- package/dist/collection/components/input-text/input-text.js +1 -1
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +1 -1
- package/dist/collection/components/label/label.js +1 -1
- package/dist/collection/components/label/resources.js +1 -1
- package/dist/collection/components/link/link.js +1 -1
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list/resources.js +1 -1
- package/dist/collection/components/list-item/list-item.js +1 -1
- package/dist/collection/components/list-item/resources.js +1 -1
- package/dist/collection/components/list-item-group/list-item-group.js +2 -3
- package/dist/collection/components/list-item-group/resources.js +1 -2
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/modal.js +15 -28
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +3 -3
- package/dist/collection/components/panel/resources.js +1 -2
- package/dist/collection/components/pick-list/pick-list.js +100 -2
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +31 -7
- package/dist/collection/components/pick-list/shared-list-render.js +3 -3
- package/dist/collection/components/pick-list-group/pick-list-group.js +2 -3
- package/dist/collection/components/pick-list-group/resources.js +1 -2
- package/dist/collection/components/pick-list-item/pick-list-item.js +1 -1
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +1 -1
- package/dist/collection/components/popover/popover.js +3 -3
- package/dist/collection/components/popover/resources.js +1 -2
- package/dist/collection/components/popover-manager/popover-manager.js +1 -1
- package/dist/collection/components/progress/progress.js +1 -1
- package/dist/collection/components/radio-button/radio-button.js +1 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +1 -1
- package/dist/collection/components/rating/resources.js +1 -1
- package/dist/collection/components/scrim/resources.js +1 -1
- package/dist/collection/components/scrim/scrim.js +1 -1
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.js +1 -1
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.js +1 -1
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +1 -1
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +1 -1
- package/dist/collection/components/slider/resources.js +1 -1
- package/dist/collection/components/slider/slider.js +1 -1
- package/dist/collection/components/sortable-list/resources.js +1 -1
- package/dist/collection/components/sortable-list/sortable-list.js +1 -1
- package/dist/collection/components/split-button/resources.js +1 -1
- package/dist/collection/components/split-button/split-button.js +1 -1
- package/dist/collection/components/stepper/stepper.js +1 -1
- package/dist/collection/components/stepper-item/stepper-item.js +1 -1
- package/dist/collection/components/switch/switch.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/resources.js +1 -1
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/tile/resources.js +1 -1
- package/dist/collection/components/tile/tile.js +1 -1
- package/dist/collection/components/tile-select/resources.js +1 -1
- package/dist/collection/components/tile-select/tile-select.js +1 -1
- package/dist/collection/components/tile-select-group/tile-select-group.js +1 -1
- package/dist/collection/components/time-picker/resources.js +1 -1
- package/dist/collection/components/time-picker/time-picker.js +1 -1
- package/dist/collection/components/tip/resources.js +1 -3
- package/dist/collection/components/tip/tip.js +3 -3
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -2
- package/dist/collection/components/tip-manager/tip-manager.js +3 -3
- package/dist/collection/components/tooltip/TooltipManager.js +1 -1
- package/dist/collection/components/tooltip/resources.js +1 -1
- package/dist/collection/components/tooltip/tooltip.js +1 -1
- package/dist/collection/components/tooltip-manager/tooltip-manager.js +1 -1
- package/dist/collection/components/tree/interfaces.js +1 -1
- package/dist/collection/components/tree/tree.js +1 -1
- package/dist/collection/components/tree/utils.js +1 -1
- package/dist/collection/components/tree-item/resources.js +1 -1
- package/dist/collection/components/tree-item/tree-item.js +1 -1
- package/dist/collection/components/value-list/resources.js +1 -1
- package/dist/collection/components/value-list/utils.js +1 -1
- package/dist/collection/components/value-list/value-list.js +98 -2
- package/dist/collection/components/value-list-item/resources.js +1 -1
- package/dist/collection/components/value-list-item/value-list-item.js +1 -1
- package/dist/collection/utils/array.js +1 -1
- package/dist/collection/utils/conditionalSlot.js +11 -1
- package/dist/collection/utils/config.js +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +29 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui/nonChromiumPlatformUtils.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/focusTrapComponent.js +53 -0
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +1 -1
- package/dist/collection/utils/guid.js +1 -1
- package/dist/collection/utils/interactive.js +1 -1
- package/dist/collection/utils/key.js +1 -1
- package/dist/collection/utils/label.js +1 -1
- package/dist/collection/utils/locale.js +3 -3
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +33 -46
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +1 -1
- package/dist/collection/utils/t9n.js +1 -1
- package/dist/collection/utils/theme.js +1 -1
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +1 -1
- package/dist/components/Heading.js +2 -2
- package/dist/components/action-group.js +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/calcite-accordion-item.js +1 -1
- package/dist/components/calcite-accordion.js +1 -1
- package/dist/components/calcite-action-bar.js +1 -1
- package/dist/components/calcite-action-group.js +1 -1
- package/dist/components/calcite-action-menu.js +1 -1
- package/dist/components/calcite-action-pad.js +1 -1
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +1 -1
- package/dist/components/calcite-avatar.js +1 -1
- package/dist/components/calcite-block-section.js +1 -1
- package/dist/components/calcite-block.js +2 -3
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +1 -1
- package/dist/components/calcite-checkbox.js +1 -1
- package/dist/components/calcite-chip.js +1 -1
- package/dist/components/calcite-color-picker-hex-input.js +1 -1
- package/dist/components/calcite-color-picker-swatch.js +1 -1
- package/dist/components/calcite-color-picker.js +1 -1
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +1 -1
- package/dist/components/calcite-combobox.js +1 -1
- package/dist/components/calcite-date-picker-day.js +1 -1
- package/dist/components/calcite-date-picker-month-header.js +1 -1
- package/dist/components/calcite-date-picker-month.js +1 -1
- package/dist/components/calcite-date-picker.js +1 -1
- package/dist/components/calcite-dropdown-group.js +1 -1
- package/dist/components/calcite-dropdown-item.js +1 -1
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +1 -1
- package/dist/components/calcite-filter.js +1 -1
- package/dist/components/calcite-flow-item.js +1 -1
- package/dist/components/calcite-flow.js +1 -1
- package/dist/components/calcite-graph.js +1 -1
- package/dist/components/calcite-handle.js +1 -1
- package/dist/components/calcite-icon.js +1 -1
- package/dist/components/calcite-inline-editable.js +1 -1
- package/dist/components/calcite-input-date-picker.js +1 -1
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +1 -1
- package/dist/components/calcite-input-text.js +1 -1
- package/dist/components/calcite-input-time-picker.js +1 -1
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +1 -1
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +2 -3
- package/dist/components/calcite-list-item.js +1 -1
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +1275 -128
- package/dist/components/calcite-notice.js +1 -1
- package/dist/components/calcite-option-group.js +1 -1
- package/dist/components/calcite-option.js +1 -1
- package/dist/components/calcite-pagination.js +1 -1
- package/dist/components/calcite-panel.js +1 -1
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +25 -2
- package/dist/components/calcite-popover-manager.js +1 -1
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +1 -1
- package/dist/components/calcite-radio-button.js +1 -1
- package/dist/components/calcite-radio-group-item.js +1 -1
- package/dist/components/calcite-radio-group.js +1 -1
- package/dist/components/calcite-rating.js +1 -1
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +1 -1
- package/dist/components/calcite-shell-center-row.js +1 -1
- package/dist/components/calcite-shell-panel.js +1 -1
- package/dist/components/calcite-shell.js +1 -1
- package/dist/components/calcite-slider.js +2 -2
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +1 -1
- package/dist/components/calcite-stepper-item.js +1 -1
- package/dist/components/calcite-stepper.js +1 -1
- package/dist/components/calcite-switch.js +1 -1
- package/dist/components/calcite-tab-nav.js +1 -1
- package/dist/components/calcite-tab-title.js +1 -1
- package/dist/components/calcite-tab.js +1 -1
- package/dist/components/calcite-tabs.js +1 -1
- package/dist/components/calcite-tile-select-group.js +1 -1
- package/dist/components/calcite-tile-select.js +1 -1
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +1 -1
- package/dist/components/calcite-tip-manager.js +28 -3
- package/dist/components/calcite-tip.js +2 -4
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +1 -1
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +2 -2
- package/dist/components/calcite-value-list-item.js +1 -1
- package/dist/components/calcite-value-list.js +23 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/color-picker-hex-input.js +1 -1
- package/dist/components/color-picker-swatch.js +1 -1
- package/dist/components/conditionalSlot.js +11 -1
- package/dist/components/date-picker-day.js +2 -2
- package/dist/components/date-picker-month-header.js +2 -2
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +2 -3
- package/dist/components/date.js +1 -1
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +1 -1
- package/dist/components/filter.js +2 -2
- package/dist/components/filter2.js +1 -1
- package/dist/components/floating-ui.js +2 -2
- package/dist/components/form.js +2 -2
- package/dist/components/graph.js +1 -1
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/interactive.js +1 -1
- package/dist/components/interfaces.js +1 -1
- package/dist/components/interfaces2.js +1 -1
- package/dist/components/key.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +2 -2
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +35 -47
- package/dist/components/math.js +1 -1
- package/dist/components/nonChromiumPlatformUtils.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/panel.js +2 -3
- package/dist/components/pick-list-item.js +1 -1
- package/dist/components/popover.js +2 -3
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +2 -3
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +34 -10
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/tab-nav.js +2 -2
- package/dist/components/tab-title.js +1 -1
- package/dist/components/tab.js +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +1 -1
- package/dist/components/time-picker.js +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/esm/{ExpandToggle-8d1a3315.js → ExpandToggle-c1666d9f.js} +5 -5
- package/dist/esm/{Heading-fdaf2441.js → Heading-6f3b27d7.js} +3 -3
- package/dist/esm/{app-globals-62f1ea5d.js → app-globals-dc53e887.js} +2 -2
- package/dist/esm/{array-a3f4690d.js → array-ec97ab21.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -11
- package/dist/esm/calcite-action-group.entry.js +9 -9
- package/dist/esm/calcite-action-menu.entry.js +8 -8
- package/dist/esm/calcite-action-pad.entry.js +10 -10
- package/dist/esm/calcite-action.entry.js +7 -7
- package/dist/esm/calcite-alert.entry.js +10 -10
- package/dist/esm/calcite-avatar.entry.js +6 -6
- package/dist/esm/calcite-block_2.entry.js +11 -12
- package/dist/esm/calcite-button.entry.js +9 -9
- package/dist/esm/calcite-card.entry.js +7 -7
- package/dist/esm/calcite-checkbox.entry.js +9 -9
- package/dist/esm/calcite-chip.entry.js +7 -7
- package/dist/esm/calcite-color-picker_3.entry.js +10 -10
- package/dist/esm/calcite-combobox_3.entry.js +14 -14
- package/dist/esm/calcite-date-picker_4.entry.js +12 -12
- package/dist/esm/calcite-dropdown_3.entry.js +11 -11
- package/dist/esm/calcite-fab.entry.js +6 -6
- package/dist/esm/calcite-filter.entry.js +9 -9
- package/dist/esm/calcite-flow-item.entry.js +7 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +12 -12
- package/dist/esm/calcite-handle.entry.js +5 -5
- package/dist/esm/calcite-icon.entry.js +6 -6
- package/dist/esm/calcite-inline-editable.entry.js +8 -8
- package/dist/esm/calcite-input-date-picker.entry.js +15 -15
- package/dist/esm/calcite-input-message.entry.js +5 -5
- package/dist/esm/calcite-input-number.entry.js +12 -12
- package/dist/esm/calcite-input-text.entry.js +9 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +11 -11
- package/dist/esm/calcite-input.entry.js +12 -12
- package/dist/esm/calcite-label.entry.js +6 -6
- package/dist/esm/calcite-link.entry.js +6 -6
- package/dist/esm/calcite-list_3.entry.js +10 -11
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +1281 -134
- package/dist/esm/calcite-notice.entry.js +8 -8
- package/dist/esm/calcite-option_3.entry.js +9 -9
- package/dist/esm/calcite-pagination.entry.js +8 -8
- package/dist/esm/calcite-panel.entry.js +11 -11
- package/dist/esm/calcite-pick-list_3.entry.js +33 -13
- package/dist/esm/calcite-popover_2.entry.js +12 -13
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +9 -9
- package/dist/esm/calcite-radio-group_2.entry.js +8 -8
- package/dist/esm/calcite-rating.entry.js +9 -9
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -8
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +3 -3
- package/dist/esm/calcite-stepper_2.entry.js +9 -9
- package/dist/esm/calcite-switch.entry.js +9 -9
- package/dist/esm/calcite-tab_4.entry.js +7 -7
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -8
- package/dist/esm/calcite-tip_3.entry.js +54 -56
- package/dist/esm/calcite-tooltip_2.entry.js +7 -7
- package/dist/esm/calcite-tree_2.entry.js +8 -8
- package/dist/esm/calcite-value-list_2.entry.js +30 -12
- package/dist/esm/calcite.js +5 -5
- package/dist/esm/{conditionalSlot-7a623ab3.js → conditionalSlot-65d395e3.js} +13 -3
- package/dist/esm/{debounce-65d04f40.js → debounce-150a7fe8.js} +1 -1
- package/dist/esm/{dom-6ced0696.js → dom-cc5c3984.js} +4 -4
- package/dist/esm/{filter-a94d668f.js → filter-1ebb2c6b.js} +2 -2
- package/dist/esm/{floating-ui-88f3cab2.js → floating-ui-93789309.js} +4 -4
- package/dist/esm/{form-796899b4.js → form-255c911d.js} +3 -3
- package/dist/esm/{guid-4e7e998d.js → guid-f9660e6f.js} +1 -1
- package/dist/esm/{index-ee2154b8.js → index-d2393e84.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-c01b3adc.js → interactive-26a4cd50.js} +1 -1
- package/dist/esm/{interfaces-6e1adc71.js → interfaces-36e4a241.js} +1 -1
- package/dist/esm/{key-29710632.js → key-a4eb4c7a.js} +1 -1
- package/dist/esm/{label-d97fd95f.js → label-958c6dcb.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{locale-9344d29f.js → locale-356e61ad.js} +37 -49
- package/dist/esm/{math-43507cd0.js → math-edfa7bd5.js} +1 -1
- package/dist/esm/{nonChromiumPlatformUtils-733b22ab.js → nonChromiumPlatformUtils-0826d52b.js} +6 -6
- package/dist/esm/{observers-3e969148.js → observers-8a9fc943.js} +1 -1
- package/dist/esm/{openCloseComponent-2c95053e.js → openCloseComponent-759e2351.js} +1 -1
- package/dist/esm/{resources-2c83579b.js → resources-03d3cf60.js} +2 -3
- package/dist/esm/{resources-07ad5aa9.js → resources-0fd6d659.js} +1 -1
- package/dist/esm/{resources-78c5b4d1.js → resources-64a95f35.js} +1 -1
- package/dist/esm/{resources-a8c464a5.js → resources-b9c5aaf9.js} +1 -1
- package/dist/esm/{resources-f36e2798.js → resources-c578caf8.js} +38 -15
- package/dist/esm/{resources-bc4bdc72.js → resources-d313bb62.js} +4 -5
- package/dist/esm/{sortable.esm-a5c12724.js → sortable.esm-6298e963.js} +1 -1
- package/dist/esm/{utils-e8657244.js → utils-18a922e5.js} +1 -1
- package/dist/extras/docs-json.json +131 -1
- package/dist/loader/cdn.js +1 -1
- package/dist/loader/index.cjs.js +1 -1
- package/dist/loader/index.es2017.js +1 -1
- package/dist/loader/index.js +1 -1
- package/dist/types/components/block/resources.d.ts +0 -1
- package/dist/types/components/date-picker/resources.d.ts +0 -1
- package/dist/types/components/functional/Heading.d.ts +1 -1
- package/dist/types/components/list-item-group/resources.d.ts +0 -1
- package/dist/types/components/modal/modal.d.ts +4 -4
- package/dist/types/components/panel/resources.d.ts +0 -1
- package/dist/types/components/pick-list/pick-list.d.ts +24 -0
- package/dist/types/components/pick-list/shared-list-logic.d.ts +4 -1
- package/dist/types/components/pick-list/shared-list-render.d.ts +4 -1
- package/dist/types/components/pick-list-group/resources.d.ts +0 -1
- package/dist/types/components/popover/resources.d.ts +0 -1
- package/dist/types/components/tip/resources.d.ts +0 -2
- package/dist/types/components/tip-manager/resources.d.ts +0 -1
- package/dist/types/components/value-list/value-list.d.ts +23 -0
- package/dist/types/components.d.ts +65 -1
- package/dist/types/preact.d.ts +4 -2
- package/dist/types/utils/conditionalSlot.d.ts +16 -0
- package/dist/types/utils/dom.d.ts +34 -0
- package/dist/types/utils/focusTrapComponent.d.ts +33 -0
- package/dist/types/utils/locale.d.ts +1 -2
- package/dist/types/utils/number.d.ts +13 -8
- package/hydrate/index.js +1453 -248
- package/package.json +2 -2
- package/dist/calcite/p-079e3c1e.js +0 -6
- package/dist/calcite/p-1993b247.js +0 -6
- package/dist/calcite/p-1a291a99.entry.js +0 -6
- package/dist/calcite/p-23f31b98.entry.js +0 -6
- package/dist/calcite/p-3a4f8c9a.entry.js +0 -6
- package/dist/calcite/p-5d9f0c37.entry.js +0 -6
- package/dist/calcite/p-8557fe8d.entry.js +0 -6
- package/dist/calcite/p-86c3dd63.entry.js +0 -6
- package/dist/calcite/p-8afa3d3c.js +0 -6
- package/dist/calcite/p-8d81edd4.entry.js +0 -6
- package/dist/calcite/p-9460a0c0.js +0 -6
- package/dist/calcite/p-9c6f7a63.entry.js +0 -6
- package/dist/calcite/p-a5fed565.entry.js +0 -6
- package/dist/calcite/p-b3571ee3.js +0 -6
- package/dist/calcite/p-e1084c73.entry.js +0 -6
- package/dist/components/resources3.js +0 -33
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { S as Sortable } from './sortable.esm.js';
|
|
8
|
-
import {
|
|
8
|
+
import { q as getItemIndex, m as mutationObserverCallback, d as deselectRemovedItems, a as deselectSiblingItems, s as selectSiblings, h as handleFilter, b as handleFilterEvent, g as getItemData, k as keyDownHandler, t as moveItemIndex, i as initialize, c as initializeObserver, f as handleInitialFilter, e as cleanUpObserver, n as calciteListFocusOutHandler, r as removeItem, j as calciteListItemChangeHandler, l as calciteInternalListItemValueChangeHandler, o as setUpItems, p as setFocus, L as List } from './shared-list-render.js';
|
|
9
9
|
import { c as createObserver } from './observers.js';
|
|
10
10
|
import { u as updateHostInteraction } from './interactive.js';
|
|
11
11
|
import { d as defineCustomElement$7 } from './filter.js';
|
|
@@ -77,6 +77,7 @@ const ValueList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
77
77
|
this.__attachShadow();
|
|
78
78
|
this.calciteListChange = createEvent(this, "calciteListChange", 6);
|
|
79
79
|
this.calciteListOrderChange = createEvent(this, "calciteListOrderChange", 6);
|
|
80
|
+
this.calciteListFilter = createEvent(this, "calciteListFilter", 6);
|
|
80
81
|
// --------------------------------------------------------------------------
|
|
81
82
|
//
|
|
82
83
|
// Properties
|
|
@@ -90,6 +91,18 @@ const ValueList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
90
91
|
* When `true`, `calcite-value-list-item`s are sortable via a draggable button.
|
|
91
92
|
*/
|
|
92
93
|
this.dragEnabled = false;
|
|
94
|
+
/**
|
|
95
|
+
* **read-only** The currently filtered items
|
|
96
|
+
*
|
|
97
|
+
* @readonly
|
|
98
|
+
*/
|
|
99
|
+
this.filteredItems = [];
|
|
100
|
+
/**
|
|
101
|
+
* **read-only** The currently filtered items
|
|
102
|
+
*
|
|
103
|
+
* @readonly
|
|
104
|
+
*/
|
|
105
|
+
this.filteredData = [];
|
|
93
106
|
/**
|
|
94
107
|
* When `true`, an input appears at the top of the component that can be used by end users to filter list items.
|
|
95
108
|
*/
|
|
@@ -121,10 +134,14 @@ const ValueList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
121
134
|
this.setFilterEl = (el) => {
|
|
122
135
|
this.filterEl = el;
|
|
123
136
|
};
|
|
137
|
+
this.setFilteredItems = (filteredItems) => {
|
|
138
|
+
this.filteredItems = filteredItems;
|
|
139
|
+
};
|
|
124
140
|
this.deselectRemovedItems = deselectRemovedItems.bind(this);
|
|
125
141
|
this.deselectSiblingItems = deselectSiblingItems.bind(this);
|
|
126
142
|
this.selectSiblings = selectSiblings.bind(this);
|
|
127
143
|
this.handleFilter = handleFilter.bind(this);
|
|
144
|
+
this.handleFilterEvent = handleFilterEvent.bind(this);
|
|
128
145
|
this.getItemData = getItemData.bind(this);
|
|
129
146
|
this.keyDownHandler = (event) => {
|
|
130
147
|
if (event.defaultPrevented) {
|
|
@@ -185,6 +202,7 @@ const ValueList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
185
202
|
}
|
|
186
203
|
componentDidLoad() {
|
|
187
204
|
this.setUpDragAndDrop();
|
|
205
|
+
handleInitialFilter.call(this);
|
|
188
206
|
}
|
|
189
207
|
componentDidRender() {
|
|
190
208
|
updateHostInteraction(this);
|
|
@@ -296,8 +314,11 @@ const ValueList = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
296
314
|
}, [1, "calcite-value-list", {
|
|
297
315
|
"disabled": [516],
|
|
298
316
|
"dragEnabled": [516, "drag-enabled"],
|
|
317
|
+
"filteredItems": [1040],
|
|
318
|
+
"filteredData": [1040],
|
|
299
319
|
"filterEnabled": [516, "filter-enabled"],
|
|
300
320
|
"filterPlaceholder": [513, "filter-placeholder"],
|
|
321
|
+
"filterText": [1537, "filter-text"],
|
|
301
322
|
"group": [513],
|
|
302
323
|
"loading": [516],
|
|
303
324
|
"multiple": [516],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
package/dist/components/chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { b as getSlotted } from './dom.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { n as normalizeHex, i as isValidHex, a as isLonghandHex, r as rgbToHex, b as hexChar } from './utils.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { e as getThemeName } from './dom.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { forceUpdate } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
@@ -13,6 +13,11 @@ const observerOptions = { childList: true };
|
|
|
13
13
|
* Helper to set up a conditional slot component on connectedCallback.
|
|
14
14
|
*
|
|
15
15
|
* @param component
|
|
16
|
+
* @deprecated Use `onSlotchange` event with `slotChangeHasAssignedElement` DOM utility instead.
|
|
17
|
+
*
|
|
18
|
+
* ```
|
|
19
|
+
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
20
|
+
* ```
|
|
16
21
|
*/
|
|
17
22
|
function connectConditionalSlotComponent(component) {
|
|
18
23
|
if (!mutationObserver) {
|
|
@@ -24,6 +29,11 @@ function connectConditionalSlotComponent(component) {
|
|
|
24
29
|
* Helper to tear down a conditional slot component on disconnectedCallback.
|
|
25
30
|
*
|
|
26
31
|
* @param component
|
|
32
|
+
* @deprecated Use `onSlotchange` event with `slotChangeHasAssignedElement` DOM utility instead.
|
|
33
|
+
*
|
|
34
|
+
* ```
|
|
35
|
+
* <slot onSlotchange={(event) => this.mySlotHasElement = slotChangeHasAssignedElement(event)} />}
|
|
36
|
+
* ```
|
|
27
37
|
*/
|
|
28
38
|
function disconnectConditionalSlotComponent(component) {
|
|
29
39
|
observed.delete(component.el);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
|
-
import {
|
|
7
|
+
import { m as closestElementCrossShadowBoundary, c as getElementDir, C as CSS_UTILITY } from './dom.js';
|
|
8
8
|
import { u as updateHostInteraction } from './interactive.js';
|
|
9
9
|
import { i as isActivationKey } from './key.js';
|
|
10
10
|
import { n as numberStringFormatter } from './locale.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { h as getOrder, e as dateFromRange, n as nextMonth, p as prevMonth } from './date.js';
|
|
8
8
|
import { H as Heading } from './Heading.js';
|
|
9
9
|
import { i as isActivationKey } from './key.js';
|
|
10
10
|
import { n as numberStringFormatter } from './locale.js';
|
|
11
|
-
import {
|
|
11
|
+
import { m as closestElementCrossShadowBoundary } from './dom.js';
|
|
12
12
|
import { d as defineCustomElement$1 } from './icon.js';
|
|
13
13
|
|
|
14
14
|
const BUDDHIST_CALENDAR_YEAR_OFFSET = 543;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as sameDate, e as dateFromRange, i as inRange } from './date.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { getAssetPath, proxyCustomElement, HTMLElement, createEvent, h, Host, Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as getSupportedLocale, c as connectLocalized, d as disconnectLocalized, n as numberStringFormatter } from './locale.js';
|
|
@@ -57,7 +57,6 @@ function getValueAsDateRange(value) {
|
|
|
57
57
|
return value.map((v, index) => dateFromISO(v, index === 1));
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
const HEADING_LEVEL = 2;
|
|
61
60
|
const TEXT = {
|
|
62
61
|
nextMonth: "Next month",
|
|
63
62
|
prevMonth: "Previous month",
|
|
@@ -428,7 +427,7 @@ const DatePicker = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
428
427
|
*/
|
|
429
428
|
renderCalendar(activeDate, maxDate, minDate, date, endDate) {
|
|
430
429
|
return (this.localeData && [
|
|
431
|
-
h("calcite-date-picker-month-header", { activeDate: activeDate, headingLevel: this.headingLevel
|
|
430
|
+
h("calcite-date-picker-month-header", { activeDate: activeDate, headingLevel: this.headingLevel, intlNextMonth: this.intlNextMonth, intlPrevMonth: this.intlPrevMonth, intlYear: this.intlYear, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerSelect: this.monthHeaderSelectChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date || new Date() }),
|
|
432
431
|
h("calcite-date-picker-month", { activeDate: activeDate, endDate: this.range ? endDate : undefined, hoverRange: this.hoverRange, localeData: this.localeData, max: maxDate, min: minDate, onCalciteDatePickerActiveDateChange: this.monthActiveDateChange, onCalciteDatePickerSelect: this.monthDateChange, onCalciteInternalDatePickerHover: this.monthHoverChange, onCalciteInternalDatePickerMouseOut: this.monthMouseOutChange, scale: this.scale, selectedDate: this.activeRange === "end" ? endDate : date, startDate: this.range ? date : undefined })
|
|
433
432
|
]);
|
|
434
433
|
}
|
package/dist/components/date.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { n as numberStringFormatter } from './locale.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
/** Detect free variable `global` from Node.js. */
|
|
7
7
|
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
|
package/dist/components/dom.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { g as guid } from './guid.js';
|
|
7
7
|
|
|
@@ -218,4 +218,4 @@ function isPrimaryPointerButton(event) {
|
|
|
218
218
|
return !!(event.isPrimary && event.button === 0);
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
export { CSS_UTILITY as C, TEXT as T, autoTheme as a, getSlotted as b, getElementDir as c, darkTheme as d, getThemeName as e, focusElement as f, getElementProp as g, ensureId as h, isPrimaryPointerButton as i,
|
|
221
|
+
export { CSS_UTILITY as C, TEXT as T, autoTheme as a, getSlotted as b, getElementDir as c, darkTheme as d, getThemeName as e, focusElement as f, getElementProp as g, ensureId as h, isPrimaryPointerButton as i, intersects as j, getRootNode as k, filterDirectChildren as l, closestElementCrossShadowBoundary as m, nodeListToArray as n, containsCrossShadowBoundary as o, queryElementRoots as q, setRequestedIcon as s, toAriaBoolean as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { t as toAriaBoolean, i as isPrimaryPointerButton, f as focusElement } from './dom.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { f as focusElement } from './dom.js';
|
|
@@ -108,7 +108,7 @@ const Filter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
108
108
|
//
|
|
109
109
|
//--------------------------------------------------------------------------
|
|
110
110
|
componentWillLoad() {
|
|
111
|
-
this.filter(this.value);
|
|
111
|
+
this.updateFiltered(filter(this.items, this.value));
|
|
112
112
|
}
|
|
113
113
|
// --------------------------------------------------------------------------
|
|
114
114
|
//
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { a as isSymbol, S as Symbol, i as isObject, b as baseGetTag, c as isObjectLike, r as root, f as freeGlobal } from './debounce.js';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
|
-
import { c as getElementDir,
|
|
6
|
+
import { c as getElementDir, m as closestElementCrossShadowBoundary } from './dom.js';
|
|
7
7
|
import { Build } from '@stencil/core/internal/client/index.js';
|
|
8
8
|
import { d as debounce } from './debounce.js';
|
|
9
9
|
|
package/dist/components/form.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { m as closestElementCrossShadowBoundary } from './dom.js';
|
|
7
7
|
import { h } from '@stencil/core/internal/client/index.js';
|
|
8
8
|
|
|
9
9
|
/**
|
package/dist/components/graph.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, forceUpdate, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
package/dist/components/guid.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { t as toAriaBoolean } from './dom.js';
|
package/dist/components/icon.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { getAssetPath, proxyCustomElement, HTMLElement, h, Host, Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as getElementDir, t as toAriaBoolean } from './dom.js';
|
package/dist/components/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { d as darkTheme, a as autoTheme } from './dom.js';
|
package/dist/components/input.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { T as TEXT$1, b as getSlotted, i as isPrimaryPointerButton, s as setRequestedIcon, g as getElementProp, c as getElementDir, C as CSS_UTILITY } from './dom.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
var TreeSelectionMode;
|
|
7
7
|
(function (TreeSelectionMode) {
|
package/dist/components/key.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
function isActivationKey(key) {
|
|
7
7
|
return key === "Enter" || key === " ";
|
package/dist/components/label.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { l as labelConnectedEvent, a as labelDisconnectedEvent } from './label2.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
|
-
import { q as queryElementRoots,
|
|
6
|
+
import { q as queryElementRoots, m as closestElementCrossShadowBoundary } from './dom.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Exported for testing purposes only
|
package/dist/components/link.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { c as getElementDir, C as CSS_UTILITY, f as focusElement } from './dom.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
import { g as guid } from './guid.js';
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { n as numberKeys } from './key.js';
|
|
7
7
|
import { c as createObserver } from './observers.js';
|
|
8
|
-
import {
|
|
8
|
+
import { o as containsCrossShadowBoundary, m as closestElementCrossShadowBoundary } from './dom.js';
|
|
9
9
|
|
|
10
|
+
const defaultMinusSignRegex = new RegExp("-", "g");
|
|
11
|
+
const unnecessaryDecimalRegex = new RegExp("\\.?0+$");
|
|
10
12
|
// adopted from https://stackoverflow.com/a/66939244
|
|
11
13
|
class BigDecimal {
|
|
12
14
|
constructor(input) {
|
|
15
|
+
this.add = (num) => BigDecimal.fromBigInt(this.value + new BigDecimal(num).value);
|
|
16
|
+
this.subtract = (num) => BigDecimal.fromBigInt(this.value - new BigDecimal(num).value);
|
|
17
|
+
this.multiply = (num) => BigDecimal._divRound(this.value * new BigDecimal(num).value, BigDecimal.SHIFT);
|
|
18
|
+
this.divide = (num) => BigDecimal._divRound(this.value * BigDecimal.SHIFT, new BigDecimal(num).value);
|
|
13
19
|
if (input instanceof BigDecimal) {
|
|
14
20
|
return input;
|
|
15
21
|
}
|
|
@@ -19,65 +25,47 @@ class BigDecimal {
|
|
|
19
25
|
BigInt(BigDecimal.ROUNDED && decimals[BigDecimal.DECIMALS] >= "5");
|
|
20
26
|
this.isNegative = input.charAt(0) === "-";
|
|
21
27
|
}
|
|
22
|
-
|
|
23
|
-
return BigDecimal.fromBigInt(dividend / divisor + (BigDecimal.ROUNDED ? ((dividend * BigInt(2)) / divisor) % BigInt(2) : BigInt(0)));
|
|
24
|
-
}
|
|
25
|
-
static fromBigInt(bigint) {
|
|
26
|
-
return Object.assign(Object.create(BigDecimal.prototype), { value: bigint });
|
|
27
|
-
}
|
|
28
|
-
toString() {
|
|
28
|
+
getIntegersAndDecimals() {
|
|
29
29
|
const s = this.value
|
|
30
30
|
.toString()
|
|
31
|
-
.replace(
|
|
31
|
+
.replace(defaultMinusSignRegex, "")
|
|
32
32
|
.padStart(BigDecimal.DECIMALS + 1, "0");
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
const integers = s.slice(0, -BigDecimal.DECIMALS);
|
|
34
|
+
const decimals = s.slice(-BigDecimal.DECIMALS).replace(unnecessaryDecimalRegex, "");
|
|
35
|
+
return { integers, decimals };
|
|
36
|
+
}
|
|
37
|
+
toString() {
|
|
38
|
+
const { integers, decimals } = this.getIntegersAndDecimals();
|
|
39
|
+
return `${this.isNegative ? "-" : ""}${integers}${decimals.length ? "." + decimals : ""}`;
|
|
37
40
|
}
|
|
38
41
|
formatToParts(formatter) {
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
const parts = formatter.formatToParts(BigInt(i));
|
|
46
|
-
this.isNegative && parts.unshift({ type: "minusSign", value: numberStringFormatter.minusSign });
|
|
47
|
-
if (d.length) {
|
|
48
|
-
parts.push({ type: "decimal", value: numberStringFormatter.decimal });
|
|
49
|
-
d.split("").forEach((char) => parts.push({ type: "fraction", value: char }));
|
|
42
|
+
const { integers, decimals } = this.getIntegersAndDecimals();
|
|
43
|
+
const parts = formatter.numberFormatter.formatToParts(BigInt(integers));
|
|
44
|
+
this.isNegative && parts.unshift({ type: "minusSign", value: formatter.minusSign });
|
|
45
|
+
if (decimals.length) {
|
|
46
|
+
parts.push({ type: "decimal", value: formatter.decimal });
|
|
47
|
+
decimals.split("").forEach((char) => parts.push({ type: "fraction", value: char }));
|
|
50
48
|
}
|
|
51
49
|
return parts;
|
|
52
50
|
}
|
|
53
51
|
format(formatter) {
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return `${
|
|
63
|
-
}
|
|
64
|
-
add(num) {
|
|
65
|
-
return BigDecimal.fromBigInt(this.value + new BigDecimal(num).value);
|
|
66
|
-
}
|
|
67
|
-
subtract(num) {
|
|
68
|
-
return BigDecimal.fromBigInt(this.value - new BigDecimal(num).value);
|
|
69
|
-
}
|
|
70
|
-
multiply(num) {
|
|
71
|
-
return BigDecimal._divRound(this.value * new BigDecimal(num).value, BigDecimal.SHIFT);
|
|
72
|
-
}
|
|
73
|
-
divide(num) {
|
|
74
|
-
return BigDecimal._divRound(this.value * BigDecimal.SHIFT, new BigDecimal(num).value);
|
|
52
|
+
const { integers, decimals } = this.getIntegersAndDecimals();
|
|
53
|
+
const integersFormatted = `${this.isNegative ? formatter.minusSign : ""}${formatter.numberFormatter.format(BigInt(integers))}`;
|
|
54
|
+
const decimalsFormatted = decimals.length
|
|
55
|
+
? `${formatter.decimal}${decimals
|
|
56
|
+
.split("")
|
|
57
|
+
.map((char) => formatter.numberFormatter.format(Number(char)))
|
|
58
|
+
.join("")}`
|
|
59
|
+
: "";
|
|
60
|
+
return `${integersFormatted}${decimalsFormatted}`;
|
|
75
61
|
}
|
|
76
62
|
}
|
|
77
63
|
// Configuration: constants
|
|
78
64
|
BigDecimal.DECIMALS = 100; // number of decimals on all instances
|
|
79
65
|
BigDecimal.ROUNDED = true; // numbers are truncated (false) or rounded (true)
|
|
80
66
|
BigDecimal.SHIFT = BigInt("1" + "0".repeat(BigDecimal.DECIMALS)); // derived constant
|
|
67
|
+
BigDecimal._divRound = (dividend, divisor) => BigDecimal.fromBigInt(dividend / divisor + (BigDecimal.ROUNDED ? ((dividend * BigInt(2)) / divisor) % BigInt(2) : BigInt(0)));
|
|
68
|
+
BigDecimal.fromBigInt = (bigint) => Object.assign(Object.create(BigDecimal.prototype), { value: bigint });
|
|
81
69
|
function isValidNumber(numberString) {
|
|
82
70
|
return !(!numberString || isNaN(Number(numberString)));
|
|
83
71
|
}
|
|
@@ -339,7 +327,7 @@ class NumberStringFormat {
|
|
|
339
327
|
this.localize = (numberString) => this._numberFormatOptions
|
|
340
328
|
? sanitizeExponentialNumberString(numberString, (nonExpoNumString) => isValidNumber(nonExpoNumString.trim())
|
|
341
329
|
? new BigDecimal(nonExpoNumString.trim())
|
|
342
|
-
.format(this
|
|
330
|
+
.format(this)
|
|
343
331
|
.replace(new RegExp(`[${this._actualGroup}]`, "g"), this._group)
|
|
344
332
|
: nonExpoNumString)
|
|
345
333
|
: numberString;
|
package/dist/components/math.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
|
|
7
7
|
const decimalPlaces = (value) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { e as rectToClientRect } from './floating-ui.js';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
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
|
-
* v1.0.0-next.
|
|
4
|
+
* v1.0.0-next.633
|
|
5
5
|
*/
|
|
6
6
|
import { Build } from '@stencil/core/internal/client/index.js';
|
|
7
7
|
|