@esri/calcite-components 1.0.0-next.554 → 1.0.0-next.557
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/calcite.js +2 -1
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-952a0e45.js → p-01bbc68a.js} +2 -2
- package/dist/calcite/{p-03246ab8.js → p-0323edd5.js} +2 -2
- package/dist/calcite/p-03abc90c.system.entry.js +6 -0
- package/dist/calcite/p-050bccd2.system.entry.js +6 -0
- package/dist/calcite/{p-25609078.js → p-053d6f2d.js} +2 -2
- package/dist/calcite/p-089c4e7a.system.js +6 -0
- package/dist/calcite/p-08cd0042.js +6 -0
- package/dist/calcite/p-098e2929.system.entry.js +6 -0
- package/dist/calcite/p-09e36a8f.system.entry.js +6 -0
- package/dist/calcite/{p-22872d72.js → p-0b2dbf1f.js} +1 -1
- package/dist/calcite/p-0b6e742e.system.js +6 -0
- package/dist/calcite/p-0de90ca3.system.entry.js +6 -0
- package/dist/calcite/{p-6b97256e.js → p-0f719968.js} +1 -1
- package/dist/calcite/p-10837290.entry.js +6 -0
- package/dist/calcite/p-13d514c2.system.entry.js +6 -0
- package/dist/calcite/{p-046fcb0c.entry.js → p-1442423a.entry.js} +2 -2
- package/dist/calcite/p-14661dbd.system.entry.js +6 -0
- package/dist/calcite/{p-d9369914.entry.js → p-16755058.entry.js} +2 -2
- package/dist/calcite/p-179814ff.system.entry.js +6 -0
- package/dist/calcite/p-185bbebe.system.entry.js +6 -0
- package/dist/calcite/p-186e9072.entry.js +6 -0
- package/dist/calcite/{p-5bcc6e36.system.entry.js → p-18a217bd.system.entry.js} +2 -2
- package/dist/calcite/{p-7e022b1b.js → p-1bdc083e.js} +2 -2
- package/dist/calcite/p-1c6bc78e.entry.js +6 -0
- package/dist/calcite/p-1d8a659f.entry.js +6 -0
- package/dist/calcite/{p-43758c02.system.js → p-1f7bcb20.system.js} +1 -1
- package/dist/calcite/p-1fa0d6dc.system.entry.js +6 -0
- package/dist/calcite/{p-1abbbcc2.system.js → p-207b9ac8.system.js} +2 -2
- package/dist/calcite/p-2397e51c.system.entry.js +6 -0
- package/dist/calcite/{p-3ee2d78c.system.entry.js → p-259901ca.system.entry.js} +2 -2
- package/dist/calcite/{p-a9964dd8.js → p-267cfd6f.js} +1 -1
- package/dist/calcite/p-27292a37.entry.js +6 -0
- package/dist/calcite/{p-ed4d9df0.js → p-28eb7892.js} +1 -1
- package/dist/calcite/p-2bcbe086.system.entry.js +6 -0
- package/dist/calcite/p-2e486788.system.js +6 -0
- package/dist/calcite/p-2fa04db0.entry.js +6 -0
- package/dist/calcite/p-33798ba6.entry.js +6 -0
- package/dist/calcite/p-34c56af0.system.js +6 -0
- package/dist/calcite/p-34fc3044.system.js +6 -0
- package/dist/calcite/{p-37d12dd9.system.js → p-362017b2.system.js} +1 -1
- package/dist/calcite/p-36800b66.entry.js +6 -0
- package/dist/calcite/{p-7f2a8028.system.entry.js → p-38996036.system.entry.js} +2 -2
- package/dist/calcite/p-38f0718c.entry.js +6 -0
- package/dist/calcite/{p-1ea993fc.system.entry.js → p-3a0ac767.system.entry.js} +2 -2
- package/dist/calcite/p-3afee225.system.entry.js +6 -0
- package/dist/calcite/p-3b36d84f.system.entry.js +6 -0
- package/dist/calcite/p-3cb0bba0.system.entry.js +6 -0
- package/dist/calcite/p-3d2c9fb7.entry.js +6 -0
- package/dist/calcite/p-3e4cdc64.system.entry.js +6 -0
- package/dist/calcite/p-3f0a88a5.js +6 -0
- package/dist/calcite/{p-ea0927b7.system.js → p-430ddb64.system.js} +1 -1
- package/dist/calcite/p-43e54a04.entry.js +6 -0
- package/dist/calcite/{p-242c5e9a.entry.js → p-44e87d25.entry.js} +2 -2
- package/dist/calcite/p-473cdc07.js +6 -0
- package/dist/calcite/p-485002f2.system.entry.js +6 -0
- package/dist/calcite/p-489fa1b0.entry.js +6 -0
- package/dist/calcite/{p-6e82d8e3.system.js → p-4918e784.system.js} +2 -2
- package/dist/calcite/{p-88547c90.system.js → p-4ab1e412.system.js} +1 -1
- package/dist/calcite/{p-18ff9a7f.system.js → p-4b690d1f.system.js} +1 -1
- package/dist/calcite/{p-7d192d44.js → p-4d7092d7.js} +2 -2
- package/dist/calcite/{p-a93a9d60.js → p-500e5bfd.js} +2 -2
- package/dist/calcite/p-5276d2f5.system.entry.js +6 -0
- package/dist/calcite/p-5431b506.entry.js +6 -0
- package/dist/calcite/p-549fb66c.system.entry.js +6 -0
- package/dist/calcite/{p-8b2dc670.js → p-57e3ec6e.js} +1 -1
- package/dist/calcite/{p-5e65a668.js → p-57e5742a.js} +1 -1
- package/dist/calcite/p-58bfb933.entry.js +6 -0
- package/dist/calcite/p-5a80d1d7.entry.js +6 -0
- package/dist/calcite/{p-a7beca8b.system.entry.js → p-5bbc365f.system.entry.js} +2 -2
- package/dist/calcite/{p-9a62cc07.system.js → p-5ca05270.system.js} +3 -3
- package/dist/calcite/p-5e3d1c69.entry.js +6 -0
- package/dist/calcite/p-619fd20d.entry.js +6 -0
- package/dist/calcite/{p-d51e133d.system.js → p-662db081.system.js} +1 -1
- package/dist/calcite/{p-ddaf0771.system.entry.js → p-6707dfe7.system.entry.js} +2 -2
- package/dist/calcite/{p-cbad651b.system.entry.js → p-6862e6df.system.entry.js} +2 -2
- package/dist/calcite/{p-51b04300.system.js → p-69ae393b.system.js} +2 -2
- package/dist/calcite/p-6a495e2f.entry.js +6 -0
- package/dist/calcite/{p-432d465a.system.js → p-6e6c766d.system.js} +1 -1
- package/dist/calcite/{p-2022a888.system.js → p-6f4a290e.system.js} +1 -1
- package/dist/calcite/p-72ae6659.system.entry.js +6 -0
- package/dist/calcite/p-7505e5f2.entry.js +6 -0
- package/dist/calcite/p-75bdaf1d.entry.js +6 -0
- package/dist/calcite/p-7688a4d8.system.entry.js +6 -0
- package/dist/calcite/{p-39f470d6.system.js → p-7750cf69.system.js} +2 -2
- package/dist/calcite/p-77ba3a75.entry.js +6 -0
- package/dist/calcite/p-79819ce2.entry.js +6 -0
- package/dist/calcite/p-799d6510.entry.js +6 -0
- package/dist/calcite/p-7bd363bf.system.entry.js +6 -0
- package/dist/calcite/p-7e29926c.entry.js +6 -0
- package/dist/calcite/p-83b0e6fa.system.entry.js +6 -0
- package/dist/calcite/p-85b7d575.entry.js +6 -0
- package/dist/calcite/p-8d3fc4ee.entry.js +6 -0
- package/dist/calcite/{p-f0edee04.system.js → p-8de36feb.system.js} +2 -2
- package/dist/calcite/{p-6f028d65.system.js → p-8eeb2705.system.js} +1 -1
- package/dist/calcite/p-913c10d7.entry.js +6 -0
- package/dist/calcite/p-92882341.entry.js +6 -0
- package/dist/calcite/{p-4a7b0eeb.system.entry.js → p-9394f514.system.entry.js} +2 -2
- package/dist/calcite/p-967ab5ce.js +7 -0
- package/dist/calcite/p-9689d57a.system.entry.js +6 -0
- package/dist/calcite/p-986a7d1a.entry.js +6 -0
- package/dist/calcite/p-995ea165.system.js +6 -0
- package/dist/calcite/p-9e69eb69.entry.js +6 -0
- package/dist/calcite/p-9f078008.system.entry.js +6 -0
- package/dist/calcite/p-9ff5036d.system.entry.js +6 -0
- package/dist/calcite/p-a000afc0.system.entry.js +6 -0
- package/dist/calcite/{p-c5772a30.js → p-a0e5b18f.js} +1 -1
- package/dist/calcite/p-a1049719.system.entry.js +6 -0
- package/dist/calcite/p-a52a7b0a.system.entry.js +6 -0
- package/dist/calcite/p-a562f13f.js +6 -0
- package/dist/calcite/p-a6d0a409.system.entry.js +6 -0
- package/dist/calcite/p-a70ed6e7.entry.js +6 -0
- package/dist/calcite/p-a71d58b7.entry.js +6 -0
- package/dist/calcite/p-a96bd824.system.entry.js +6 -0
- package/dist/calcite/p-ad4f2930.system.entry.js +6 -0
- package/dist/calcite/p-ae9b373a.entry.js +6 -0
- package/dist/calcite/{p-db665163.system.js → p-b271e062.system.js} +1 -1
- package/dist/calcite/p-b3c760e0.system.entry.js +6 -0
- package/dist/calcite/{p-e81770d4.system.entry.js → p-b4b3b61e.entry.js} +3 -3
- package/dist/calcite/p-b4d9bf86.system.entry.js +6 -0
- package/dist/calcite/{p-f8346f59.entry.js → p-b60feb71.entry.js} +2 -2
- package/dist/calcite/p-b78f9b9f.entry.js +6 -0
- package/dist/calcite/{p-82034b70.js → p-bc9318f3.js} +1 -1
- package/dist/calcite/{p-e364f001.js → p-bd07abeb.js} +1 -1
- package/dist/calcite/p-bd29bacb.system.js +7 -0
- package/dist/calcite/p-be784116.entry.js +6 -0
- package/dist/calcite/p-bf1e9f67.entry.js +6 -0
- package/dist/calcite/p-c05c774d.system.entry.js +6 -0
- package/dist/calcite/{p-253816b8.entry.js → p-c0ca417e.entry.js} +2 -2
- package/dist/calcite/p-c14e1f09.system.entry.js +6 -0
- package/dist/calcite/p-c1dcd3cb.system.entry.js +6 -0
- package/dist/calcite/p-c3ce9178.entry.js +6 -0
- package/dist/calcite/p-c69f0a78.entry.js +6 -0
- package/dist/calcite/{p-8aba1b16.system.js → p-c80f7567.system.js} +1 -1
- package/dist/calcite/{p-0671663f.js → p-c8ba1f6a.js} +1 -1
- package/dist/calcite/p-c8c3e524.system.entry.js +6 -0
- package/dist/calcite/p-ca31a5e2.entry.js +6 -0
- package/dist/calcite/p-cf78df6d.system.entry.js +6 -0
- package/dist/calcite/p-d0047de8.system.entry.js +6 -0
- package/dist/calcite/p-d4cde041.entry.js +6 -0
- package/dist/calcite/p-d4f13b3d.entry.js +6 -0
- package/dist/calcite/{p-39f7c8c6.system.js → p-d5e345ee.system.js} +1 -1
- package/dist/calcite/p-d6ad752f.js +6 -0
- package/dist/calcite/{p-646b0c31.entry.js → p-d77e1a0d.entry.js} +2 -2
- package/dist/calcite/p-d7f6ea6f.system.entry.js +6 -0
- package/dist/calcite/p-da0db093.system.entry.js +6 -0
- package/dist/calcite/p-db473b43.system.entry.js +6 -0
- package/dist/calcite/p-dfb05eff.system.entry.js +6 -0
- package/dist/calcite/p-e0afa4c7.entry.js +6 -0
- package/dist/calcite/p-e12c0332.system.entry.js +6 -0
- package/dist/calcite/{p-a917f729.system.js → p-e307f02b.system.js} +2 -2
- package/dist/calcite/p-e3b5f2ef.entry.js +6 -0
- package/dist/calcite/{p-ed222b79.js → p-e5d86cd5.js} +1 -1
- package/dist/calcite/p-e664273e.js +6 -0
- package/dist/calcite/p-e880847f.entry.js +6 -0
- package/dist/calcite/{p-1671dfb1.js → p-ebe9283f.js} +2 -2
- package/dist/calcite/{p-edbae867.system.js → p-ec260be5.system.js} +2 -2
- package/dist/calcite/{p-4b0ecbf9.system.entry.js → p-ed3d5173.system.entry.js} +2 -2
- package/dist/calcite/p-ed77bad5.system.entry.js +6 -0
- package/dist/calcite/p-ed94b31e.entry.js +6 -0
- package/dist/calcite/p-f09b2cde.system.entry.js +6 -0
- package/dist/calcite/{p-7218723c.entry.js → p-f2f938ed.entry.js} +2 -2
- package/dist/calcite/p-f3570229.system.entry.js +6 -0
- package/dist/calcite/{p-a080a428.system.js → p-f505b966.system.js} +1 -1
- package/dist/calcite/{p-36fe38e0.entry.js → p-f585e174.entry.js} +2 -2
- package/dist/calcite/p-f5c4d4d1.system.entry.js +6 -0
- package/dist/calcite/{p-c1fc9977.js → p-f65ef845.js} +1 -1
- package/dist/calcite/{p-7e5a2e0c.entry.js → p-f7dbcbb8.entry.js} +2 -2
- package/dist/calcite/p-f8f14c87.entry.js +6 -0
- package/dist/calcite/{p-beb8dc08.js → p-f92ce833.js} +1 -1
- package/dist/calcite/p-f9f5fb51.entry.js +6 -0
- package/dist/calcite/{p-0b906eba.system.js → p-fb20f3c6.system.js} +1 -1
- package/dist/calcite/p-fb294b8e.entry.js +6 -0
- package/dist/calcite/p-fbf72dda.system.entry.js +6 -0
- package/dist/calcite/{p-310d558b.entry.js → p-fc817fa2.entry.js} +2 -2
- package/dist/cjs/{ExpandToggle-b628a6fb.js → ExpandToggle-c870fade.js} +5 -5
- package/dist/cjs/{Heading-ec59a634.js → Heading-17afc80c.js} +2 -2
- package/dist/cjs/app-globals-e1b88841.js +50 -0
- package/dist/cjs/{array-e882eb18.js → array-731bcbb2.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +9 -8
- package/dist/cjs/calcite-action-bar.cjs.entry.js +11 -10
- package/dist/cjs/calcite-action-group.cjs.entry.js +9 -8
- package/dist/cjs/calcite-action-menu.cjs.entry.js +55 -42
- package/dist/cjs/calcite-action-pad.cjs.entry.js +10 -9
- package/dist/cjs/calcite-action.cjs.entry.js +7 -6
- package/dist/cjs/calcite-alert.cjs.entry.js +7 -6
- package/dist/cjs/calcite-avatar.cjs.entry.js +6 -5
- package/dist/cjs/calcite-block_2.cjs.entry.js +11 -9
- package/dist/cjs/calcite-button.cjs.entry.js +9 -8
- package/dist/cjs/calcite-card.cjs.entry.js +7 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +10 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +15 -13
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +20 -14
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +17 -16
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +16 -10
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +8 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +21 -19
- package/dist/cjs/calcite-handle.cjs.entry.js +5 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +8 -7
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +19 -13
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +14 -13
- package/dist/cjs/calcite-input-text.cjs.entry.js +11 -10
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +15 -18
- package/dist/cjs/calcite-input.cjs.entry.js +14 -13
- package/dist/cjs/calcite-label.cjs.entry.js +6 -5
- package/dist/cjs/calcite-link.cjs.entry.js +7 -6
- package/dist/cjs/calcite-list_3.cjs.entry.js +9 -8
- package/dist/cjs/calcite-loader.cjs.entry.js +3 -3
- package/dist/cjs/calcite-modal.cjs.entry.js +8 -7
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +9 -8
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +10 -9
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +17 -10
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +8 -8
- package/dist/cjs/calcite-radio-button.cjs.entry.js +17 -16
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +19 -18
- package/dist/cjs/calcite-rating.cjs.entry.js +17 -16
- package/dist/cjs/calcite-scrim.cjs.entry.js +2 -2
- package/dist/cjs/calcite-shell_3.cjs.entry.js +8 -7
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +9 -4
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +6 -5
- package/dist/cjs/calcite-switch.cjs.entry.js +11 -9
- package/dist/cjs/calcite-tab_4.cjs.entry.js +63 -21
- package/dist/cjs/calcite-tile-select_2.cjs.entry.js +4 -4
- package/dist/cjs/calcite-tile.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tip_3.cjs.entry.js +8 -7
- package/dist/cjs/calcite-tooltip_2.cjs.entry.js +12 -6
- package/dist/cjs/calcite-tree_2.cjs.entry.js +11 -10
- package/dist/cjs/calcite-value-list_2.cjs.entry.js +12 -11
- package/dist/cjs/calcite.cjs.js +7 -4
- package/dist/cjs/{conditionalSlot-74bd80f2.js → conditionalSlot-dc6359e0.js} +3 -3
- package/dist/cjs/{debounce-b78e172c.js → debounce-7d685f39.js} +1 -1
- package/dist/cjs/{dom-e2fc17b1.js → dom-4efc4df7.js} +4 -18
- package/dist/cjs/{filter-1690cfee.js → filter-79a805e9.js} +2 -2
- package/dist/cjs/{floating-ui-dcd8a8ad.js → floating-ui-d1c220ca.js} +59 -10
- package/dist/cjs/{form-50cfa01d.js → form-3f0e0679.js} +3 -3
- package/dist/cjs/{guid-7f6810c7.js → guid-7ce1e44f.js} +1 -1
- package/dist/cjs/{index-7117bc67.js → index-e05dafb0.js} +10 -5
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-2f6429b5.js → interactive-dcbc4725.js} +1 -1
- package/dist/cjs/{interfaces-6fd77f95.js → interfaces-8778d49d.js} +1 -1
- package/dist/cjs/{key-a88e22b7.js → key-b77dd9e1.js} +1 -1
- package/dist/cjs/{label-7bac2db2.js → label-6297b9e1.js} +2 -2
- package/dist/cjs/loader.cjs.js +7 -4
- package/dist/cjs/{locale-5d369405.js → locale-8baef0cd.js} +2 -2
- package/dist/cjs/{math-36ae917d.js → math-e5bb2fa2.js} +1 -1
- package/dist/cjs/{observers-68700b83.js → observers-edab9098.js} +1 -1
- package/dist/cjs/{openCloseComponent-93e2a9f0.js → openCloseComponent-8b7f305e.js} +1 -1
- package/dist/cjs/{resources-15e23e3b.js → resources-01597c65.js} +1 -1
- package/dist/cjs/resources-198c6f21.js +24 -0
- package/dist/cjs/{resources-a2ec29a3.js → resources-b0217622.js} +3 -3
- package/dist/cjs/{resources-754908f1.js → resources-d70c9d00.js} +5 -5
- package/dist/cjs/{resources-e656d522.js → resources-ebab5fd6.js} +1 -1
- package/dist/cjs/{sortable.esm-0bc0f2ec.js → sortable.esm-7290c83b.js} +1 -1
- package/dist/cjs/{utils-7686a8b9.js → utils-ccab61d8.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/accordion/accordion.js +2 -2
- package/dist/collection/components/accordion/interfaces.js +1 -1
- package/dist/collection/components/accordion-item/accordion-item.js +1 -1
- package/dist/collection/components/accordion-item/interfaces.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.css +1 -1
- package/dist/collection/components/action-menu/action-menu.js +45 -32
- 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 +1 -1
- package/dist/collection/components/block/resources.js +1 -1
- package/dist/collection/components/block-section/block-section.js +3 -2
- package/dist/collection/components/block-section/interfaces.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/interfaces.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 +3 -2
- package/dist/collection/components/chip/chip.js +1 -1
- package/dist/collection/components/chip/interfaces.js +1 -1
- package/dist/collection/components/chip/resources.js +1 -1
- package/dist/collection/components/color-picker/color-picker.js +6 -5
- package/dist/collection/components/color-picker/interfaces.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 +2 -2
- 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 +8 -3
- package/dist/collection/components/combobox/interfaces.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 +1 -1
- package/dist/collection/components/date-picker/interfaces.js +1 -1
- package/dist/collection/components/date-picker/resources.js +1 -1
- package/dist/collection/components/date-picker/utils.js +1 -1
- package/dist/collection/components/date-picker-day/date-picker-day.js +4 -3
- 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 +6 -5
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +9 -4
- package/dist/collection/components/dropdown/interfaces.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/interfaces.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 +1 -1
- package/dist/collection/components/filter/resources.js +1 -1
- package/dist/collection/components/flow/flow.js +1 -1
- package/dist/collection/components/flow/interfaces.js +1 -1
- package/dist/collection/components/flow/resources.js +1 -1
- package/dist/collection/components/functional/ExpandToggle.js +1 -1
- package/dist/collection/components/functional/Heading.js +1 -1
- package/dist/collection/components/graph/graph.js +1 -1
- package/dist/collection/components/graph/interfaces.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/interfaces.js +1 -1
- package/dist/collection/components/input/resources.js +1 -1
- package/dist/collection/components/input-date-picker/input-date-picker.js +8 -3
- 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/interfaces.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/interfaces.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 +1 -1
- package/dist/collection/components/list-item-group/resources.js +1 -1
- package/dist/collection/components/loader/loader.js +1 -1
- package/dist/collection/components/modal/interfaces.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- 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 +1 -1
- package/dist/collection/components/panel/resources.js +1 -1
- package/dist/collection/components/pick-list/pick-list.js +1 -1
- package/dist/collection/components/pick-list/resources.js +1 -1
- package/dist/collection/components/pick-list/shared-list-logic.js +1 -1
- package/dist/collection/components/pick-list/shared-list-render.js +1 -1
- package/dist/collection/components/pick-list-group/pick-list-group.js +1 -1
- package/dist/collection/components/pick-list-group/resources.js +1 -1
- package/dist/collection/components/pick-list-item/pick-list-item.js +2 -2
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +3 -2
- package/dist/collection/components/popover/popover.js +8 -3
- package/dist/collection/components/popover/resources.js +1 -1
- 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 +20 -20
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +13 -13
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +19 -19
- package/dist/collection/components/radio-group-item/radio-group-item.js +9 -9
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.css +1 -1
- package/dist/collection/components/rating/rating.js +21 -21
- 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/slider.js +4 -3
- 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 +8 -3
- package/dist/collection/components/stepper/interfaces.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 +4 -3
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.css +2 -2
- package/dist/collection/components/tab/tab.js +51 -6
- package/dist/collection/components/tab-nav/tab-nav.css +4 -0
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.css +8 -8
- package/dist/collection/components/tab-title/tab-title.js +54 -11
- package/dist/collection/components/tabs/interfaces.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/interfaces.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/interfaces.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 +6 -10
- package/dist/collection/components/tip/resources.js +1 -1
- package/dist/collection/components/tip/tip.js +1 -1
- package/dist/collection/components/tip-group/tip-group.js +1 -1
- package/dist/collection/components/tip-manager/resources.js +1 -1
- package/dist/collection/components/tip-manager/tip-manager.js +1 -1
- 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 +8 -3
- 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-item/interfaces.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/interfaces.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 +1 -1
- 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 +1 -1
- package/dist/collection/utils/date.js +1 -1
- package/dist/collection/utils/dom.js +1 -1
- package/dist/collection/utils/filter.js +1 -1
- package/dist/collection/utils/floating-ui.js +1 -1
- package/dist/collection/utils/form.js +1 -1
- package/dist/collection/utils/globalAttributes.js +1 -1
- package/dist/collection/utils/globalScript.js +17 -0
- 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 +1 -1
- package/dist/collection/utils/math.js +1 -1
- package/dist/collection/utils/number.js +1 -1
- package/dist/collection/utils/observers.js +1 -1
- package/dist/collection/utils/openCloseComponent.js +1 -1
- package/dist/collection/utils/resources.js +3 -3
- package/dist/collection/utils/theme.js +31 -0
- package/dist/collection/utils/time.js +1 -1
- package/dist/components/ExpandToggle.js +2 -2
- package/dist/components/Heading.js +1 -1
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +44 -31
- package/dist/components/action.js +1 -1
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +3 -3
- package/dist/components/calcite-accordion-item.js +2 -2
- package/dist/components/calcite-accordion.js +2 -2
- package/dist/components/calcite-action-bar.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-action.js +1 -1
- package/dist/components/calcite-alert.js +2 -2
- package/dist/components/calcite-avatar.js +2 -2
- package/dist/components/calcite-block-section.js +4 -3
- package/dist/components/calcite-block.js +2 -2
- package/dist/components/calcite-button.js +1 -1
- package/dist/components/calcite-card.js +3 -3
- 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 +7 -6
- package/dist/components/calcite-combobox-item-group.js +1 -1
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +10 -5
- 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 +2 -2
- 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 +3 -3
- package/dist/components/calcite-input-date-picker.js +10 -5
- package/dist/components/calcite-input-message.js +1 -1
- package/dist/components/calcite-input-number.js +3 -3
- package/dist/components/calcite-input-text.js +3 -3
- package/dist/components/calcite-input-time-picker.js +2 -2
- package/dist/components/calcite-input.js +1 -1
- package/dist/components/calcite-label.js +2 -2
- package/dist/components/calcite-link.js +1 -1
- package/dist/components/calcite-list-item-group.js +1 -1
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +1 -1
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +2 -2
- package/dist/components/calcite-notice.js +2 -2
- 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 +2 -2
- package/dist/components/calcite-pick-list-group.js +2 -2
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +2 -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 +6 -6
- package/dist/components/calcite-radio-button.js +11 -11
- package/dist/components/calcite-radio-group-item.js +4 -4
- package/dist/components/calcite-radio-group.js +11 -11
- package/dist/components/calcite-rating.js +10 -10
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +2 -2
- package/dist/components/calcite-shell-center-row.js +2 -2
- package/dist/components/calcite-shell-panel.js +2 -2
- package/dist/components/calcite-shell.js +2 -2
- package/dist/components/calcite-slider.js +5 -4
- package/dist/components/calcite-sortable-list.js +1 -1
- package/dist/components/calcite-split-button.js +7 -2
- 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 +2 -2
- package/dist/components/calcite-tip.js +2 -2
- package/dist/components/calcite-tooltip-manager.js +1 -1
- package/dist/components/calcite-tooltip.js +8 -3
- package/dist/components/calcite-tree-item.js +2 -2
- package/dist/components/calcite-tree.js +1 -1
- package/dist/components/calcite-value-list-item.js +2 -2
- package/dist/components/calcite-value-list.js +2 -2
- package/dist/components/checkbox.js +4 -3
- package/dist/components/chip.js +2 -2
- package/dist/components/color-picker-hex-input.js +2 -2
- package/dist/components/color-picker-swatch.js +2 -2
- package/dist/components/conditionalSlot.js +1 -1
- package/dist/components/date-picker-day.js +5 -4
- package/dist/components/date-picker-month-header.js +7 -6
- package/dist/components/date-picker-month.js +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date.js +2 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +2 -2
- package/dist/components/dropdown.js +9 -4
- package/dist/components/filter.js +168 -741
- package/dist/components/filter2.js +741 -168
- package/dist/components/floating-ui.js +60 -11
- 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 +2 -2
- package/dist/components/index.d.ts +92 -5
- package/dist/components/index.js +136 -1
- package/dist/components/input.js +3 -3
- 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 +87 -112
- package/dist/components/label2.js +112 -87
- package/dist/components/link.js +2 -2
- package/dist/components/loader.js +1 -1
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +1 -1
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pick-list-item.js +2 -2
- package/dist/components/popover.js +10 -4
- package/dist/components/progress.js +1 -1
- package/dist/components/resources.js +1 -1
- package/dist/components/resources2.js +1 -1
- package/dist/components/resources3.js +1 -1
- package/dist/components/scrim.js +1 -1
- package/dist/components/shared-list-render.js +2 -2
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +5 -4
- package/dist/components/tab-nav.js +3 -3
- package/dist/components/tab-title.js +33 -12
- package/dist/components/tab.js +27 -5
- package/dist/components/tabs.js +1 -1
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +6 -10
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +1 -1
- package/dist/custom-elements/index.js +306 -136
- package/dist/esm/{ExpandToggle-69ec09b9.js → ExpandToggle-f12a7145.js} +5 -5
- package/dist/esm/{Heading-1227633c.js → Heading-ca8012f3.js} +2 -2
- package/dist/esm/app-globals-0dea7c34.js +48 -0
- package/dist/esm/{array-513cf8c9.js → array-8f37a85a.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +8 -7
- package/dist/esm/calcite-action-bar.entry.js +11 -10
- package/dist/esm/calcite-action-group.entry.js +9 -8
- package/dist/esm/calcite-action-menu.entry.js +48 -35
- package/dist/esm/calcite-action-pad.entry.js +10 -9
- package/dist/esm/calcite-action.entry.js +7 -6
- package/dist/esm/calcite-alert.entry.js +7 -6
- package/dist/esm/calcite-avatar.entry.js +6 -5
- package/dist/esm/calcite-block_2.entry.js +11 -9
- package/dist/esm/calcite-button.entry.js +9 -8
- package/dist/esm/calcite-card.entry.js +7 -6
- package/dist/esm/calcite-checkbox.entry.js +10 -8
- package/dist/esm/calcite-chip.entry.js +7 -6
- package/dist/esm/calcite-color-picker_3.entry.js +15 -13
- package/dist/esm/calcite-combobox_3.entry.js +20 -14
- package/dist/esm/calcite-date-picker_4.entry.js +16 -15
- package/dist/esm/calcite-dropdown_3.entry.js +16 -10
- package/dist/esm/calcite-fab.entry.js +6 -5
- package/dist/esm/calcite-filter.entry.js +8 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +13 -11
- package/dist/esm/calcite-handle.entry.js +5 -4
- package/dist/esm/calcite-icon.entry.js +6 -5
- package/dist/esm/calcite-inline-editable.entry.js +8 -7
- package/dist/esm/calcite-input-date-picker.entry.js +19 -13
- package/dist/esm/calcite-input-message.entry.js +5 -4
- package/dist/esm/calcite-input-number.entry.js +12 -11
- package/dist/esm/calcite-input-text.entry.js +9 -8
- package/dist/esm/calcite-input-time-picker_2.entry.js +15 -18
- package/dist/esm/calcite-input.entry.js +12 -11
- package/dist/esm/calcite-label.entry.js +6 -5
- package/dist/esm/calcite-link.entry.js +6 -5
- package/dist/esm/calcite-list_3.entry.js +9 -8
- package/dist/esm/calcite-loader.entry.js +3 -3
- package/dist/esm/calcite-modal.entry.js +8 -7
- package/dist/esm/calcite-notice.entry.js +8 -7
- package/dist/esm/calcite-option_3.entry.js +9 -8
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +10 -9
- package/dist/esm/calcite-pick-list_3.entry.js +12 -11
- package/dist/esm/calcite-popover_2.entry.js +17 -10
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +8 -8
- package/dist/esm/calcite-radio-button.entry.js +17 -16
- package/dist/esm/calcite-radio-group_2.entry.js +19 -18
- package/dist/esm/calcite-rating.entry.js +17 -16
- package/dist/esm/calcite-scrim.entry.js +2 -2
- package/dist/esm/calcite-shell_3.entry.js +8 -7
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +9 -4
- package/dist/esm/calcite-stepper_2.entry.js +6 -5
- package/dist/esm/calcite-switch.entry.js +11 -9
- package/dist/esm/calcite-tab_4.entry.js +63 -21
- package/dist/esm/calcite-tile-select_2.entry.js +4 -4
- package/dist/esm/calcite-tile.entry.js +8 -7
- package/dist/esm/calcite-tip_3.entry.js +8 -7
- package/dist/esm/calcite-tooltip_2.entry.js +12 -6
- package/dist/esm/calcite-tree_2.entry.js +7 -6
- package/dist/esm/calcite-value-list_2.entry.js +12 -11
- package/dist/esm/calcite.js +7 -4
- package/dist/esm/{conditionalSlot-7cbccbec.js → conditionalSlot-a4c96c8d.js} +3 -3
- package/dist/esm/{debounce-db1af9ca.js → debounce-841521b1.js} +1 -1
- package/dist/esm/{dom-e671177c.js → dom-42491565.js} +4 -16
- package/dist/esm/{filter-345157e1.js → filter-099dc292.js} +2 -2
- package/dist/esm/{floating-ui-93554377.js → floating-ui-f2ddd7c3.js} +59 -10
- package/dist/esm/{form-71cefaff.js → form-ad1965a4.js} +3 -3
- package/dist/esm/{guid-8690cee7.js → guid-73322791.js} +1 -1
- package/dist/esm/{index-30e59418.js → index-06221bfb.js} +10 -5
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-80c1f202.js → interactive-ff1f7f87.js} +1 -1
- package/dist/esm/{interfaces-1256e256.js → interfaces-e7ff50ef.js} +1 -1
- package/dist/esm/{key-c2927cc5.js → key-22a0f143.js} +1 -1
- package/dist/esm/{label-a6c38d9a.js → label-1b193aff.js} +2 -2
- package/dist/esm/loader.js +7 -4
- package/dist/esm/{locale-3445a4ed.js → locale-88c03f90.js} +2 -2
- package/dist/esm/{math-5ab9a082.js → math-e44d4881.js} +1 -1
- package/dist/esm/{observers-47de4039.js → observers-9d4ab86b.js} +1 -1
- package/dist/esm/{openCloseComponent-e51af04e.js → openCloseComponent-56a35411.js} +1 -1
- package/dist/esm/{resources-243c15db.js → resources-414ad2dc.js} +5 -5
- package/dist/esm/{resources-1d2cd423.js → resources-4fe95540.js} +1 -1
- package/dist/esm/resources-8fc2f7f1.js +19 -0
- package/dist/esm/{resources-7ae7fcca.js → resources-ea033965.js} +1 -1
- package/dist/esm/{resources-e6150606.js → resources-f6b51a5c.js} +3 -3
- package/dist/esm/{sortable.esm-1a1f9c05.js → sortable.esm-3ef91fcd.js} +1 -1
- package/dist/esm/{utils-1f54b67d.js → utils-c26a2cd8.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-69ec09b9.js → ExpandToggle-f12a7145.js} +2 -2
- package/dist/esm-es5/Heading-ca8012f3.js +6 -0
- package/dist/esm-es5/app-globals-0dea7c34.js +6 -0
- package/dist/esm-es5/{array-513cf8c9.js → array-8f37a85a.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +3 -3
- package/dist/esm-es5/calcite-action-group.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-block_2.entry.js +2 -2
- package/dist/esm-es5/calcite-button.entry.js +2 -2
- package/dist/esm-es5/calcite-card.entry.js +2 -2
- package/dist/esm-es5/calcite-checkbox.entry.js +3 -3
- package/dist/esm-es5/calcite-chip.entry.js +2 -2
- package/dist/esm-es5/calcite-color-picker_3.entry.js +2 -2
- package/dist/esm-es5/calcite-combobox_3.entry.js +3 -3
- package/dist/esm-es5/calcite-date-picker_4.entry.js +2 -2
- package/dist/esm-es5/calcite-dropdown_3.entry.js +2 -2
- package/dist/esm-es5/calcite-fab.entry.js +3 -3
- 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 +2 -2
- package/dist/esm-es5/calcite-input-number.entry.js +2 -2
- package/dist/esm-es5/calcite-input-text.entry.js +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-link.entry.js +3 -3
- package/dist/esm-es5/calcite-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-loader.entry.js +2 -2
- package/dist/esm-es5/calcite-modal.entry.js +2 -2
- package/dist/esm-es5/calcite-notice.entry.js +3 -3
- package/dist/esm-es5/calcite-option_3.entry.js +2 -2
- package/dist/esm-es5/calcite-pagination.entry.js +2 -2
- package/dist/esm-es5/calcite-panel.entry.js +2 -2
- package/dist/esm-es5/calcite-pick-list_3.entry.js +2 -2
- package/dist/esm-es5/calcite-popover_2.entry.js +2 -2
- package/dist/esm-es5/calcite-progress.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button-group.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-button.entry.js +2 -2
- package/dist/esm-es5/calcite-radio-group_2.entry.js +2 -2
- package/dist/esm-es5/calcite-rating.entry.js +3 -3
- package/dist/esm-es5/calcite-scrim.entry.js +2 -2
- package/dist/esm-es5/calcite-shell_3.entry.js +2 -2
- package/dist/esm-es5/calcite-sortable-list.entry.js +2 -2
- package/dist/esm-es5/calcite-split-button.entry.js +2 -2
- package/dist/esm-es5/calcite-stepper_2.entry.js +2 -2
- package/dist/esm-es5/calcite-switch.entry.js +3 -3
- package/dist/esm-es5/calcite-tab_4.entry.js +3 -3
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +3 -3
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +2 -2
- package/dist/esm-es5/calcite-value-list_2.entry.js +2 -2
- package/dist/esm-es5/calcite.js +2 -2
- package/dist/esm-es5/{conditionalSlot-7cbccbec.js → conditionalSlot-a4c96c8d.js} +2 -2
- package/dist/esm-es5/{debounce-db1af9ca.js → debounce-841521b1.js} +1 -1
- package/dist/esm-es5/dom-42491565.js +6 -0
- package/dist/esm-es5/{filter-345157e1.js → filter-099dc292.js} +2 -2
- package/dist/esm-es5/floating-ui-f2ddd7c3.js +6 -0
- package/dist/esm-es5/{form-71cefaff.js → form-ad1965a4.js} +2 -2
- package/dist/esm-es5/{guid-8690cee7.js → guid-73322791.js} +1 -1
- package/dist/esm-es5/index-06221bfb.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-80c1f202.js → interactive-ff1f7f87.js} +1 -1
- package/dist/esm-es5/{interfaces-1256e256.js → interfaces-e7ff50ef.js} +1 -1
- package/dist/esm-es5/{key-c2927cc5.js → key-22a0f143.js} +1 -1
- package/dist/esm-es5/{label-a6c38d9a.js → label-1b193aff.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-3445a4ed.js → locale-88c03f90.js} +2 -2
- package/dist/esm-es5/{math-5ab9a082.js → math-e44d4881.js} +1 -1
- package/dist/esm-es5/{observers-47de4039.js → observers-9d4ab86b.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-e51af04e.js → openCloseComponent-56a35411.js} +1 -1
- package/dist/esm-es5/{resources-243c15db.js → resources-414ad2dc.js} +2 -2
- package/dist/esm-es5/{resources-1d2cd423.js → resources-4fe95540.js} +1 -1
- package/dist/esm-es5/resources-8fc2f7f1.js +6 -0
- package/dist/esm-es5/{resources-7ae7fcca.js → resources-ea033965.js} +1 -1
- package/dist/esm-es5/{resources-e6150606.js → resources-f6b51a5c.js} +2 -2
- package/dist/esm-es5/{sortable.esm-1a1f9c05.js → sortable.esm-3ef91fcd.js} +1 -1
- package/dist/esm-es5/{utils-1f54b67d.js → utils-c26a2cd8.js} +1 -1
- package/dist/extras/docs-json.json +97 -51
- 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/action-menu/action-menu.d.ts +10 -7
- package/dist/types/components/checkbox/checkbox.d.ts +2 -2
- package/dist/types/components/combobox/combobox.d.ts +6 -1
- package/dist/types/components/dropdown/dropdown.d.ts +6 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +6 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +6 -1
- package/dist/types/components/radio-button/radio-button.d.ts +13 -13
- package/dist/types/components/radio-button-group/radio-button-group.d.ts +7 -7
- package/dist/types/components/radio-group/radio-group.d.ts +10 -10
- package/dist/types/components/radio-group-item/radio-group-item.d.ts +5 -5
- package/dist/types/components/rating/rating.d.ts +12 -12
- package/dist/types/components/split-button/split-button.d.ts +6 -1
- package/dist/types/components/switch/switch.d.ts +2 -2
- package/dist/types/components/tab/tab.d.ts +8 -0
- package/dist/types/components/tab-title/tab-title.d.ts +11 -2
- package/dist/types/components/tooltip/tooltip.d.ts +6 -1
- package/dist/types/components.d.ts +116 -96
- package/dist/types/utils/form.d.ts +1 -1
- package/dist/types/utils/globalScript.d.ts +6 -0
- package/dist/types/utils/resources.d.ts +2 -0
- package/dist/types/utils/theme.d.ts +4 -0
- package/hydrate/index.js +486 -141
- package/package.json +17 -17
- package/dist/calcite/p-0005ef75.system.entry.js +0 -6
- package/dist/calcite/p-0660f9e4.system.entry.js +0 -6
- package/dist/calcite/p-08f047c5.entry.js +0 -6
- package/dist/calcite/p-0a4daa25.entry.js +0 -6
- package/dist/calcite/p-0d145563.entry.js +0 -6
- package/dist/calcite/p-0e84a8f0.system.js +0 -6
- package/dist/calcite/p-1214606c.entry.js +0 -6
- package/dist/calcite/p-147af54e.system.js +0 -6
- package/dist/calcite/p-15c02b4d.entry.js +0 -6
- package/dist/calcite/p-1a7614ea.entry.js +0 -6
- package/dist/calcite/p-1c2f82cb.system.entry.js +0 -6
- package/dist/calcite/p-1c8efb7e.system.entry.js +0 -6
- package/dist/calcite/p-1d3dd7f9.entry.js +0 -6
- package/dist/calcite/p-1dc4a191.entry.js +0 -6
- package/dist/calcite/p-1e5edb71.system.entry.js +0 -6
- package/dist/calcite/p-21ed952b.entry.js +0 -6
- package/dist/calcite/p-26bcb5b6.entry.js +0 -6
- package/dist/calcite/p-29e02d4a.system.entry.js +0 -6
- package/dist/calcite/p-2cf629e7.entry.js +0 -6
- package/dist/calcite/p-2d32c815.entry.js +0 -6
- package/dist/calcite/p-31c79261.js +0 -6
- package/dist/calcite/p-32bb6f34.system.entry.js +0 -6
- package/dist/calcite/p-34aa9639.entry.js +0 -6
- package/dist/calcite/p-380c33a8.system.entry.js +0 -6
- package/dist/calcite/p-3a3461b7.system.entry.js +0 -6
- package/dist/calcite/p-3cde140e.system.entry.js +0 -6
- package/dist/calcite/p-3eedb285.entry.js +0 -6
- package/dist/calcite/p-407b5ccd.entry.js +0 -6
- package/dist/calcite/p-413ac707.system.entry.js +0 -6
- package/dist/calcite/p-417a4876.entry.js +0 -6
- package/dist/calcite/p-41a8a85b.system.js +0 -7
- package/dist/calcite/p-432f25f1.system.entry.js +0 -6
- package/dist/calcite/p-43c45bf0.system.entry.js +0 -6
- package/dist/calcite/p-44a82107.system.entry.js +0 -6
- package/dist/calcite/p-44f5c854.system.entry.js +0 -6
- package/dist/calcite/p-48f46ccb.system.entry.js +0 -6
- package/dist/calcite/p-4a7c82fa.system.entry.js +0 -6
- package/dist/calcite/p-4d0581c7.system.entry.js +0 -6
- package/dist/calcite/p-4d23859c.entry.js +0 -6
- package/dist/calcite/p-530e2e09.entry.js +0 -6
- package/dist/calcite/p-5574819f.entry.js +0 -6
- package/dist/calcite/p-5e64560b.system.entry.js +0 -6
- package/dist/calcite/p-5e827954.system.entry.js +0 -6
- package/dist/calcite/p-6036d3be.entry.js +0 -6
- package/dist/calcite/p-60b9ce9d.entry.js +0 -6
- package/dist/calcite/p-612a9ce4.entry.js +0 -6
- package/dist/calcite/p-62a71d1c.entry.js +0 -6
- package/dist/calcite/p-64c25d69.system.entry.js +0 -6
- package/dist/calcite/p-6b4f2222.entry.js +0 -6
- package/dist/calcite/p-71b75c5c.entry.js +0 -6
- package/dist/calcite/p-79cf0dfb.system.entry.js +0 -6
- package/dist/calcite/p-7b666121.entry.js +0 -6
- package/dist/calcite/p-7d8724d2.entry.js +0 -6
- package/dist/calcite/p-7ee36106.entry.js +0 -6
- package/dist/calcite/p-7f065745.system.entry.js +0 -6
- package/dist/calcite/p-7fdc1018.js +0 -6
- package/dist/calcite/p-80111cee.system.entry.js +0 -6
- package/dist/calcite/p-86549598.system.entry.js +0 -6
- package/dist/calcite/p-88c3018d.system.entry.js +0 -6
- package/dist/calcite/p-8bc2165c.js +0 -6
- package/dist/calcite/p-8e5c70dd.system.entry.js +0 -6
- package/dist/calcite/p-9028a34c.system.entry.js +0 -6
- package/dist/calcite/p-908a4296.system.entry.js +0 -6
- package/dist/calcite/p-9090481c.entry.js +0 -6
- package/dist/calcite/p-90ce2019.entry.js +0 -6
- package/dist/calcite/p-999ee0c9.entry.js +0 -6
- package/dist/calcite/p-9b6f530b.system.entry.js +0 -6
- package/dist/calcite/p-a0c2ee47.entry.js +0 -6
- package/dist/calcite/p-a500313b.system.entry.js +0 -6
- package/dist/calcite/p-a51a91ac.entry.js +0 -6
- package/dist/calcite/p-a5300168.system.entry.js +0 -6
- package/dist/calcite/p-a608bf11.system.entry.js +0 -6
- package/dist/calcite/p-a65fc836.entry.js +0 -6
- package/dist/calcite/p-a75b930d.system.entry.js +0 -6
- package/dist/calcite/p-a9a7c01e.system.entry.js +0 -6
- package/dist/calcite/p-aa187882.system.entry.js +0 -6
- package/dist/calcite/p-ac51c9e7.entry.js +0 -6
- package/dist/calcite/p-acdf2913.system.entry.js +0 -6
- package/dist/calcite/p-af65ef38.system.entry.js +0 -6
- package/dist/calcite/p-bb0c30b9.entry.js +0 -6
- package/dist/calcite/p-bbb23458.entry.js +0 -6
- package/dist/calcite/p-c4c40ef4.system.entry.js +0 -6
- package/dist/calcite/p-c62b5a52.entry.js +0 -6
- package/dist/calcite/p-c6541f7b.system.entry.js +0 -6
- package/dist/calcite/p-c9d5f9f2.system.entry.js +0 -6
- package/dist/calcite/p-cc3377d6.entry.js +0 -6
- package/dist/calcite/p-cf295ecd.system.entry.js +0 -6
- package/dist/calcite/p-d1b5604c.system.entry.js +0 -6
- package/dist/calcite/p-d1fdb055.entry.js +0 -6
- package/dist/calcite/p-d32b1978.entry.js +0 -6
- package/dist/calcite/p-d35d0c1e.entry.js +0 -6
- package/dist/calcite/p-d368e9f4.entry.js +0 -6
- package/dist/calcite/p-dc8322e2.system.entry.js +0 -6
- package/dist/calcite/p-dd748fa3.system.entry.js +0 -6
- package/dist/calcite/p-df2b5d7b.system.entry.js +0 -6
- package/dist/calcite/p-e4c491ee.system.js +0 -6
- package/dist/calcite/p-e5d09c13.system.entry.js +0 -6
- package/dist/calcite/p-eb6a9bc3.entry.js +0 -6
- package/dist/calcite/p-ec9b83a4.entry.js +0 -6
- package/dist/calcite/p-f0035ea2.system.js +0 -6
- package/dist/calcite/p-f7caf374.entry.js +0 -6
- package/dist/calcite/p-f90993c0.system.entry.js +0 -6
- package/dist/calcite/p-f919e1cc.system.entry.js +0 -6
- package/dist/calcite/p-f932b94d.entry.js +0 -6
- package/dist/calcite/p-f9e2e124.js +0 -6
- package/dist/calcite/p-fbd55f14.entry.js +0 -6
- package/dist/calcite/p-fc403671.entry.js +0 -6
- package/dist/calcite/p-fd5e3207.js +0 -7
- package/dist/esm-es5/Heading-1227633c.js +0 -6
- package/dist/esm-es5/dom-e671177c.js +0 -6
- package/dist/esm-es5/floating-ui-93554377.js +0 -6
- package/dist/esm-es5/index-30e59418.js +0 -7
|
@@ -1,186 +1,759 @@
|
|
|
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.
|
|
5
|
-
*/
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
search: "search",
|
|
25
|
-
close: "x"
|
|
26
|
-
};
|
|
27
|
-
const DEBOUNCE_TIMEOUT = 250;
|
|
28
|
-
|
|
29
|
-
const filterCss = "@-webkit-keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-down{0%{opacity:0;-webkit-transform:translate3D(0, -5px, 0);transform:translate3D(0, -5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;-webkit-transform:translate3D(0, 5px, 0);transform:translate3D(0, 5px, 0)}100%{opacity:1;-webkit-transform:translate3D(0, 0, 0);transform:translate3D(0, 0, 0)}}@-webkit-keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}@keyframes in-scale{0%{opacity:0;-webkit-transform:scale3D(0.95, 0.95, 1);transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;-webkit-transform:scale3D(1, 1, 1);transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:var(--calcite-animation-timing);animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{-webkit-animation-name:in;animation-name:in}.calcite-animate__in-down{-webkit-animation-name:in-down;animation-name:in-down}.calcite-animate__in-up{-webkit-animation-name:in-up;animation-name:in-up}.calcite-animate__in-scale{-webkit-animation-name:in-scale;animation-name:in-scale}:host{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-2);font-size:var(--calcite-font-size--1)}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none !important}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{display:-ms-flexbox;display:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.container{display:-ms-flexbox;display:flex;inline-size:100%;padding:0.5rem}label{position:relative;margin-inline:0.25rem;margin-block:0px;display:-ms-flexbox;display:flex;inline-size:100%;-ms-flex-align:center;align-items:center;overflow:hidden}input[type=text]{-webkit-margin-after:0.25rem;margin-block-end:0.25rem;inline-size:100%;border-style:none;background-color:transparent;padding-block:0.25rem;font-family:inherit;font-size:var(--calcite-font-size--2);line-height:1rem;color:var(--calcite-ui-text-1);-webkit-padding-end:0.25rem;padding-inline-end:0.25rem;-webkit-padding-start:1.5rem;padding-inline-start:1.5rem;-webkit-transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing);transition:padding var(--calcite-animation-timing), box-shadow var(--calcite-animation-timing), -webkit-box-shadow var(--calcite-animation-timing)}input[type=text]::-ms-clear{display:none}calcite-input{inline-size:100%}.search-icon{position:absolute;display:-ms-flexbox;display:flex;color:var(--calcite-ui-text-2);inset-inline-start:0;-webkit-transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing);transition:inset-inline-start var(--calcite-animation-timing), inset-inline-end var(--calcite-animation-timing), opacity var(--calcite-animation-timing)}input[type=text]:focus{border-color:var(--calcite-ui-brand);outline:2px solid transparent;outline-offset:2px;padding-inline:0.25rem}input[type=text]:focus~.search-icon{inset-inline-start:calc(1rem * -1);opacity:0}.clear-button{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;border-width:0px;background-color:transparent;color:var(--calcite-ui-text-2)}.clear-button:hover,.clear-button:focus{color:var(--calcite-ui-text-1)}";
|
|
30
|
-
|
|
31
|
-
const Filter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
32
|
-
constructor() {
|
|
33
|
-
super();
|
|
34
|
-
this.__registerHost();
|
|
35
|
-
this.__attachShadow();
|
|
36
|
-
this.calciteFilterChange = createEvent(this, "calciteFilterChange", 6);
|
|
37
|
-
// --------------------------------------------------------------------------
|
|
38
|
-
//
|
|
39
|
-
// Properties
|
|
40
|
-
//
|
|
41
|
-
// --------------------------------------------------------------------------
|
|
42
|
-
/**
|
|
43
|
-
* The items to filter through. The filter uses this as the starting point, and returns items
|
|
44
|
-
* that contain the string entered in the input, using a partial match and recursive search.
|
|
45
|
-
*
|
|
46
|
-
* This property is required.
|
|
47
|
-
*/
|
|
48
|
-
this.items = [];
|
|
49
|
-
/**
|
|
50
|
-
* When true, disabled prevents interaction. This state shows items with lower opacity/grayed.
|
|
51
|
-
*/
|
|
52
|
-
this.disabled = false;
|
|
53
|
-
/**
|
|
54
|
-
* The resulting items after filtering.
|
|
55
|
-
*
|
|
56
|
-
* @readonly
|
|
57
|
-
*/
|
|
58
|
-
this.filteredItems = [];
|
|
59
|
-
/** specify the scale of filter, defaults to m */
|
|
60
|
-
this.scale = "m";
|
|
61
|
-
/**
|
|
62
|
-
* Filter value.
|
|
63
|
-
*/
|
|
64
|
-
this.value = "";
|
|
65
|
-
// --------------------------------------------------------------------------
|
|
66
|
-
//
|
|
67
|
-
// Private Methods
|
|
68
|
-
//
|
|
69
|
-
// --------------------------------------------------------------------------
|
|
70
|
-
this.filter = debounce((value, emit = false) => this.updateFiltered(filter(this.items, value), emit), DEBOUNCE_TIMEOUT);
|
|
71
|
-
this.inputHandler = (event) => {
|
|
72
|
-
const target = event.target;
|
|
73
|
-
this.value = target.value;
|
|
74
|
-
this.filter(target.value, true);
|
|
75
|
-
};
|
|
76
|
-
this.keyDownHandler = (event) => {
|
|
77
|
-
if (event.key === "Escape") {
|
|
78
|
-
this.clear();
|
|
79
|
-
}
|
|
80
|
-
if (event.key === "Enter") {
|
|
81
|
-
event.preventDefault();
|
|
82
|
-
}
|
|
83
|
-
};
|
|
84
|
-
this.clear = () => {
|
|
85
|
-
this.value = "";
|
|
86
|
-
this.filter("", true);
|
|
87
|
-
this.setFocus();
|
|
88
|
-
};
|
|
4
|
+
* v1.0.0-next.557
|
|
5
|
+
*/
|
|
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
|
+
|
|
8
|
+
/**
|
|
9
|
+
* A specialized version of `_.map` for arrays without support for iteratee
|
|
10
|
+
* shorthands.
|
|
11
|
+
*
|
|
12
|
+
* @private
|
|
13
|
+
* @param {Array} [array] The array to iterate over.
|
|
14
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
15
|
+
* @returns {Array} Returns the new mapped array.
|
|
16
|
+
*/
|
|
17
|
+
function arrayMap(array, iteratee) {
|
|
18
|
+
var index = -1,
|
|
19
|
+
length = array == null ? 0 : array.length,
|
|
20
|
+
result = Array(length);
|
|
21
|
+
|
|
22
|
+
while (++index < length) {
|
|
23
|
+
result[index] = iteratee(array[index], index, array);
|
|
89
24
|
}
|
|
90
|
-
|
|
91
|
-
|
|
25
|
+
return result;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Checks if `value` is classified as an `Array` object.
|
|
30
|
+
*
|
|
31
|
+
* @static
|
|
32
|
+
* @memberOf _
|
|
33
|
+
* @since 0.1.0
|
|
34
|
+
* @category Lang
|
|
35
|
+
* @param {*} value The value to check.
|
|
36
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
37
|
+
* @example
|
|
38
|
+
*
|
|
39
|
+
* _.isArray([1, 2, 3]);
|
|
40
|
+
* // => true
|
|
41
|
+
*
|
|
42
|
+
* _.isArray(document.body.children);
|
|
43
|
+
* // => false
|
|
44
|
+
*
|
|
45
|
+
* _.isArray('abc');
|
|
46
|
+
* // => false
|
|
47
|
+
*
|
|
48
|
+
* _.isArray(_.noop);
|
|
49
|
+
* // => false
|
|
50
|
+
*/
|
|
51
|
+
var isArray = Array.isArray;
|
|
52
|
+
|
|
53
|
+
/** Used as references for various `Number` constants. */
|
|
54
|
+
var INFINITY = 1 / 0;
|
|
55
|
+
|
|
56
|
+
/** Used to convert symbols to primitives and strings. */
|
|
57
|
+
var symbolProto = Symbol ? Symbol.prototype : undefined,
|
|
58
|
+
symbolToString = symbolProto ? symbolProto.toString : undefined;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The base implementation of `_.toString` which doesn't convert nullish
|
|
62
|
+
* values to empty strings.
|
|
63
|
+
*
|
|
64
|
+
* @private
|
|
65
|
+
* @param {*} value The value to process.
|
|
66
|
+
* @returns {string} Returns the string.
|
|
67
|
+
*/
|
|
68
|
+
function baseToString(value) {
|
|
69
|
+
// Exit early for strings to avoid a performance hit in some environments.
|
|
70
|
+
if (typeof value == 'string') {
|
|
71
|
+
return value;
|
|
92
72
|
}
|
|
93
|
-
|
|
94
|
-
|
|
73
|
+
if (isArray(value)) {
|
|
74
|
+
// Recursively convert values (susceptible to call stack limits).
|
|
75
|
+
return arrayMap(value, baseToString) + '';
|
|
95
76
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
// Lifecycle
|
|
99
|
-
//
|
|
100
|
-
//--------------------------------------------------------------------------
|
|
101
|
-
componentDidRender() {
|
|
102
|
-
updateHostInteraction(this);
|
|
77
|
+
if (isSymbol(value)) {
|
|
78
|
+
return symbolToString ? symbolToString.call(value) : '';
|
|
103
79
|
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
80
|
+
var result = (value + '');
|
|
81
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* This method returns the first argument it receives.
|
|
86
|
+
*
|
|
87
|
+
* @static
|
|
88
|
+
* @since 0.1.0
|
|
89
|
+
* @memberOf _
|
|
90
|
+
* @category Util
|
|
91
|
+
* @param {*} value Any value.
|
|
92
|
+
* @returns {*} Returns `value`.
|
|
93
|
+
* @example
|
|
94
|
+
*
|
|
95
|
+
* var object = { 'a': 1 };
|
|
96
|
+
*
|
|
97
|
+
* console.log(_.identity(object) === object);
|
|
98
|
+
* // => true
|
|
99
|
+
*/
|
|
100
|
+
function identity(value) {
|
|
101
|
+
return value;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/** `Object#toString` result references. */
|
|
105
|
+
var asyncTag = '[object AsyncFunction]',
|
|
106
|
+
funcTag$1 = '[object Function]',
|
|
107
|
+
genTag = '[object GeneratorFunction]',
|
|
108
|
+
proxyTag = '[object Proxy]';
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Checks if `value` is classified as a `Function` object.
|
|
112
|
+
*
|
|
113
|
+
* @static
|
|
114
|
+
* @memberOf _
|
|
115
|
+
* @since 0.1.0
|
|
116
|
+
* @category Lang
|
|
117
|
+
* @param {*} value The value to check.
|
|
118
|
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
119
|
+
* @example
|
|
120
|
+
*
|
|
121
|
+
* _.isFunction(_);
|
|
122
|
+
* // => true
|
|
123
|
+
*
|
|
124
|
+
* _.isFunction(/abc/);
|
|
125
|
+
* // => false
|
|
126
|
+
*/
|
|
127
|
+
function isFunction(value) {
|
|
128
|
+
if (!isObject(value)) {
|
|
129
|
+
return false;
|
|
111
130
|
}
|
|
112
|
-
//
|
|
113
|
-
//
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
131
|
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
132
|
+
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
|
133
|
+
var tag = baseGetTag(value);
|
|
134
|
+
return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/** Used as references for various `Number` constants. */
|
|
138
|
+
var MAX_SAFE_INTEGER$1 = 9007199254740991;
|
|
139
|
+
|
|
140
|
+
/** Used to detect unsigned integer values. */
|
|
141
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Checks if `value` is a valid array-like index.
|
|
145
|
+
*
|
|
146
|
+
* @private
|
|
147
|
+
* @param {*} value The value to check.
|
|
148
|
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
149
|
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
150
|
+
*/
|
|
151
|
+
function isIndex(value, length) {
|
|
152
|
+
var type = typeof value;
|
|
153
|
+
length = length == null ? MAX_SAFE_INTEGER$1 : length;
|
|
154
|
+
|
|
155
|
+
return !!length &&
|
|
156
|
+
(type == 'number' ||
|
|
157
|
+
(type != 'symbol' && reIsUint.test(value))) &&
|
|
158
|
+
(value > -1 && value % 1 == 0 && value < length);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/** Used as references for various `Number` constants. */
|
|
162
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Checks if `value` is a valid array-like length.
|
|
166
|
+
*
|
|
167
|
+
* **Note:** This method is loosely based on
|
|
168
|
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
169
|
+
*
|
|
170
|
+
* @static
|
|
171
|
+
* @memberOf _
|
|
172
|
+
* @since 4.0.0
|
|
173
|
+
* @category Lang
|
|
174
|
+
* @param {*} value The value to check.
|
|
175
|
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
176
|
+
* @example
|
|
177
|
+
*
|
|
178
|
+
* _.isLength(3);
|
|
179
|
+
* // => true
|
|
180
|
+
*
|
|
181
|
+
* _.isLength(Number.MIN_VALUE);
|
|
182
|
+
* // => false
|
|
183
|
+
*
|
|
184
|
+
* _.isLength(Infinity);
|
|
185
|
+
* // => false
|
|
186
|
+
*
|
|
187
|
+
* _.isLength('3');
|
|
188
|
+
* // => false
|
|
189
|
+
*/
|
|
190
|
+
function isLength(value) {
|
|
191
|
+
return typeof value == 'number' &&
|
|
192
|
+
value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
197
|
+
* not a function and has a `value.length` that's an integer greater than or
|
|
198
|
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
199
|
+
*
|
|
200
|
+
* @static
|
|
201
|
+
* @memberOf _
|
|
202
|
+
* @since 4.0.0
|
|
203
|
+
* @category Lang
|
|
204
|
+
* @param {*} value The value to check.
|
|
205
|
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
206
|
+
* @example
|
|
207
|
+
*
|
|
208
|
+
* _.isArrayLike([1, 2, 3]);
|
|
209
|
+
* // => true
|
|
210
|
+
*
|
|
211
|
+
* _.isArrayLike(document.body.children);
|
|
212
|
+
* // => true
|
|
213
|
+
*
|
|
214
|
+
* _.isArrayLike('abc');
|
|
215
|
+
* // => true
|
|
216
|
+
*
|
|
217
|
+
* _.isArrayLike(_.noop);
|
|
218
|
+
* // => false
|
|
219
|
+
*/
|
|
220
|
+
function isArrayLike(value) {
|
|
221
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/** Used for built-in method references. */
|
|
225
|
+
var objectProto$3 = Object.prototype;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Checks if `value` is likely a prototype object.
|
|
229
|
+
*
|
|
230
|
+
* @private
|
|
231
|
+
* @param {*} value The value to check.
|
|
232
|
+
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
233
|
+
*/
|
|
234
|
+
function isPrototype(value) {
|
|
235
|
+
var Ctor = value && value.constructor,
|
|
236
|
+
proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$3;
|
|
237
|
+
|
|
238
|
+
return value === proto;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* The base implementation of `_.times` without support for iteratee shorthands
|
|
243
|
+
* or max array length checks.
|
|
244
|
+
*
|
|
245
|
+
* @private
|
|
246
|
+
* @param {number} n The number of times to invoke `iteratee`.
|
|
247
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
248
|
+
* @returns {Array} Returns the array of results.
|
|
249
|
+
*/
|
|
250
|
+
function baseTimes(n, iteratee) {
|
|
251
|
+
var index = -1,
|
|
252
|
+
result = Array(n);
|
|
253
|
+
|
|
254
|
+
while (++index < n) {
|
|
255
|
+
result[index] = iteratee(index);
|
|
120
256
|
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
257
|
+
return result;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/** `Object#toString` result references. */
|
|
261
|
+
var argsTag$1 = '[object Arguments]';
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* The base implementation of `_.isArguments`.
|
|
265
|
+
*
|
|
266
|
+
* @private
|
|
267
|
+
* @param {*} value The value to check.
|
|
268
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
269
|
+
*/
|
|
270
|
+
function baseIsArguments(value) {
|
|
271
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag$1;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/** Used for built-in method references. */
|
|
275
|
+
var objectProto$2 = Object.prototype;
|
|
276
|
+
|
|
277
|
+
/** Used to check objects for own properties. */
|
|
278
|
+
var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
279
|
+
|
|
280
|
+
/** Built-in value references. */
|
|
281
|
+
var propertyIsEnumerable = objectProto$2.propertyIsEnumerable;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Checks if `value` is likely an `arguments` object.
|
|
285
|
+
*
|
|
286
|
+
* @static
|
|
287
|
+
* @memberOf _
|
|
288
|
+
* @since 0.1.0
|
|
289
|
+
* @category Lang
|
|
290
|
+
* @param {*} value The value to check.
|
|
291
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
292
|
+
* else `false`.
|
|
293
|
+
* @example
|
|
294
|
+
*
|
|
295
|
+
* _.isArguments(function() { return arguments; }());
|
|
296
|
+
* // => true
|
|
297
|
+
*
|
|
298
|
+
* _.isArguments([1, 2, 3]);
|
|
299
|
+
* // => false
|
|
300
|
+
*/
|
|
301
|
+
var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
|
|
302
|
+
return isObjectLike(value) && hasOwnProperty$2.call(value, 'callee') &&
|
|
303
|
+
!propertyIsEnumerable.call(value, 'callee');
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* This method returns `false`.
|
|
308
|
+
*
|
|
309
|
+
* @static
|
|
310
|
+
* @memberOf _
|
|
311
|
+
* @since 4.13.0
|
|
312
|
+
* @category Util
|
|
313
|
+
* @returns {boolean} Returns `false`.
|
|
314
|
+
* @example
|
|
315
|
+
*
|
|
316
|
+
* _.times(2, _.stubFalse);
|
|
317
|
+
* // => [false, false]
|
|
318
|
+
*/
|
|
319
|
+
function stubFalse() {
|
|
320
|
+
return false;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/** Detect free variable `exports`. */
|
|
324
|
+
var freeExports$1 = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
325
|
+
|
|
326
|
+
/** Detect free variable `module`. */
|
|
327
|
+
var freeModule$1 = freeExports$1 && typeof module == 'object' && module && !module.nodeType && module;
|
|
328
|
+
|
|
329
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
330
|
+
var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
|
|
331
|
+
|
|
332
|
+
/** Built-in value references. */
|
|
333
|
+
var Buffer = moduleExports$1 ? root.Buffer : undefined;
|
|
334
|
+
|
|
335
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */
|
|
336
|
+
var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Checks if `value` is a buffer.
|
|
340
|
+
*
|
|
341
|
+
* @static
|
|
342
|
+
* @memberOf _
|
|
343
|
+
* @since 4.3.0
|
|
344
|
+
* @category Lang
|
|
345
|
+
* @param {*} value The value to check.
|
|
346
|
+
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
347
|
+
* @example
|
|
348
|
+
*
|
|
349
|
+
* _.isBuffer(new Buffer(2));
|
|
350
|
+
* // => true
|
|
351
|
+
*
|
|
352
|
+
* _.isBuffer(new Uint8Array(2));
|
|
353
|
+
* // => false
|
|
354
|
+
*/
|
|
355
|
+
var isBuffer = nativeIsBuffer || stubFalse;
|
|
356
|
+
|
|
357
|
+
/** `Object#toString` result references. */
|
|
358
|
+
var argsTag = '[object Arguments]',
|
|
359
|
+
arrayTag = '[object Array]',
|
|
360
|
+
boolTag = '[object Boolean]',
|
|
361
|
+
dateTag = '[object Date]',
|
|
362
|
+
errorTag = '[object Error]',
|
|
363
|
+
funcTag = '[object Function]',
|
|
364
|
+
mapTag = '[object Map]',
|
|
365
|
+
numberTag = '[object Number]',
|
|
366
|
+
objectTag = '[object Object]',
|
|
367
|
+
regexpTag = '[object RegExp]',
|
|
368
|
+
setTag = '[object Set]',
|
|
369
|
+
stringTag = '[object String]',
|
|
370
|
+
weakMapTag = '[object WeakMap]';
|
|
371
|
+
|
|
372
|
+
var arrayBufferTag = '[object ArrayBuffer]',
|
|
373
|
+
dataViewTag = '[object DataView]',
|
|
374
|
+
float32Tag = '[object Float32Array]',
|
|
375
|
+
float64Tag = '[object Float64Array]',
|
|
376
|
+
int8Tag = '[object Int8Array]',
|
|
377
|
+
int16Tag = '[object Int16Array]',
|
|
378
|
+
int32Tag = '[object Int32Array]',
|
|
379
|
+
uint8Tag = '[object Uint8Array]',
|
|
380
|
+
uint8ClampedTag = '[object Uint8ClampedArray]',
|
|
381
|
+
uint16Tag = '[object Uint16Array]',
|
|
382
|
+
uint32Tag = '[object Uint32Array]';
|
|
383
|
+
|
|
384
|
+
/** Used to identify `toStringTag` values of typed arrays. */
|
|
385
|
+
var typedArrayTags = {};
|
|
386
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
|
|
387
|
+
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
|
|
388
|
+
typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
|
|
389
|
+
typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
|
|
390
|
+
typedArrayTags[uint32Tag] = true;
|
|
391
|
+
typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
|
|
392
|
+
typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
|
|
393
|
+
typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
|
|
394
|
+
typedArrayTags[errorTag] = typedArrayTags[funcTag] =
|
|
395
|
+
typedArrayTags[mapTag] = typedArrayTags[numberTag] =
|
|
396
|
+
typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
|
|
397
|
+
typedArrayTags[setTag] = typedArrayTags[stringTag] =
|
|
398
|
+
typedArrayTags[weakMapTag] = false;
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
|
402
|
+
*
|
|
403
|
+
* @private
|
|
404
|
+
* @param {*} value The value to check.
|
|
405
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
406
|
+
*/
|
|
407
|
+
function baseIsTypedArray(value) {
|
|
408
|
+
return isObjectLike(value) &&
|
|
409
|
+
isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* The base implementation of `_.unary` without support for storing metadata.
|
|
414
|
+
*
|
|
415
|
+
* @private
|
|
416
|
+
* @param {Function} func The function to cap arguments for.
|
|
417
|
+
* @returns {Function} Returns the new capped function.
|
|
418
|
+
*/
|
|
419
|
+
function baseUnary(func) {
|
|
420
|
+
return function(value) {
|
|
421
|
+
return func(value);
|
|
422
|
+
};
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/** Detect free variable `exports`. */
|
|
426
|
+
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
|
|
427
|
+
|
|
428
|
+
/** Detect free variable `module`. */
|
|
429
|
+
var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
|
|
430
|
+
|
|
431
|
+
/** Detect the popular CommonJS extension `module.exports`. */
|
|
432
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
433
|
+
|
|
434
|
+
/** Detect free variable `process` from Node.js. */
|
|
435
|
+
var freeProcess = moduleExports && freeGlobal.process;
|
|
436
|
+
|
|
437
|
+
/** Used to access faster Node.js helpers. */
|
|
438
|
+
var nodeUtil = (function() {
|
|
439
|
+
try {
|
|
440
|
+
// Use `util.types` for Node.js 10+.
|
|
441
|
+
var types = freeModule && freeModule.require && freeModule.require('util').types;
|
|
442
|
+
|
|
443
|
+
if (types) {
|
|
444
|
+
return types;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
// Legacy `process.binding('util')` for Node.js < 10.
|
|
448
|
+
return freeProcess && freeProcess.binding && freeProcess.binding('util');
|
|
449
|
+
} catch (e) {}
|
|
450
|
+
}());
|
|
451
|
+
|
|
452
|
+
/* Node.js helper references. */
|
|
453
|
+
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Checks if `value` is classified as a typed array.
|
|
457
|
+
*
|
|
458
|
+
* @static
|
|
459
|
+
* @memberOf _
|
|
460
|
+
* @since 3.0.0
|
|
461
|
+
* @category Lang
|
|
462
|
+
* @param {*} value The value to check.
|
|
463
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
464
|
+
* @example
|
|
465
|
+
*
|
|
466
|
+
* _.isTypedArray(new Uint8Array);
|
|
467
|
+
* // => true
|
|
468
|
+
*
|
|
469
|
+
* _.isTypedArray([]);
|
|
470
|
+
* // => false
|
|
471
|
+
*/
|
|
472
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
|
473
|
+
|
|
474
|
+
/** Used for built-in method references. */
|
|
475
|
+
var objectProto$1 = Object.prototype;
|
|
476
|
+
|
|
477
|
+
/** Used to check objects for own properties. */
|
|
478
|
+
var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Creates an array of the enumerable property names of the array-like `value`.
|
|
482
|
+
*
|
|
483
|
+
* @private
|
|
484
|
+
* @param {*} value The value to query.
|
|
485
|
+
* @param {boolean} inherited Specify returning inherited property names.
|
|
486
|
+
* @returns {Array} Returns the array of property names.
|
|
487
|
+
*/
|
|
488
|
+
function arrayLikeKeys(value, inherited) {
|
|
489
|
+
var isArr = isArray(value),
|
|
490
|
+
isArg = !isArr && isArguments(value),
|
|
491
|
+
isBuff = !isArr && !isArg && isBuffer(value),
|
|
492
|
+
isType = !isArr && !isArg && !isBuff && isTypedArray(value),
|
|
493
|
+
skipIndexes = isArr || isArg || isBuff || isType,
|
|
494
|
+
result = skipIndexes ? baseTimes(value.length, String) : [],
|
|
495
|
+
length = result.length;
|
|
496
|
+
|
|
497
|
+
for (var key in value) {
|
|
498
|
+
if ((inherited || hasOwnProperty$1.call(value, key)) &&
|
|
499
|
+
!(skipIndexes && (
|
|
500
|
+
// Safari 9 has enumerable `arguments.length` in strict mode.
|
|
501
|
+
key == 'length' ||
|
|
502
|
+
// Node.js 0.10 has enumerable non-index properties on buffers.
|
|
503
|
+
(isBuff && (key == 'offset' || key == 'parent')) ||
|
|
504
|
+
// PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
505
|
+
(isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
|
|
506
|
+
// Skip index properties.
|
|
507
|
+
isIndex(key, length)
|
|
508
|
+
))) {
|
|
509
|
+
result.push(key);
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
return result;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* This function is like
|
|
517
|
+
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
518
|
+
* except that it includes inherited enumerable properties.
|
|
519
|
+
*
|
|
520
|
+
* @private
|
|
521
|
+
* @param {Object} object The object to query.
|
|
522
|
+
* @returns {Array} Returns the array of property names.
|
|
523
|
+
*/
|
|
524
|
+
function nativeKeysIn(object) {
|
|
525
|
+
var result = [];
|
|
526
|
+
if (object != null) {
|
|
527
|
+
for (var key in Object(object)) {
|
|
528
|
+
result.push(key);
|
|
126
529
|
}
|
|
127
530
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
531
|
+
return result;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/** Used for built-in method references. */
|
|
535
|
+
var objectProto = Object.prototype;
|
|
536
|
+
|
|
537
|
+
/** Used to check objects for own properties. */
|
|
538
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
|
|
542
|
+
*
|
|
543
|
+
* @private
|
|
544
|
+
* @param {Object} object The object to query.
|
|
545
|
+
* @returns {Array} Returns the array of property names.
|
|
546
|
+
*/
|
|
547
|
+
function baseKeysIn(object) {
|
|
548
|
+
if (!isObject(object)) {
|
|
549
|
+
return nativeKeysIn(object);
|
|
138
550
|
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
"items": [1040],
|
|
147
|
-
"disabled": [516],
|
|
148
|
-
"filteredItems": [1040],
|
|
149
|
-
"intlClear": [1, "intl-clear"],
|
|
150
|
-
"intlLabel": [1, "intl-label"],
|
|
151
|
-
"placeholder": [1],
|
|
152
|
-
"scale": [513],
|
|
153
|
-
"value": [1025],
|
|
154
|
-
"setFocus": [64]
|
|
155
|
-
}]);
|
|
156
|
-
function defineCustomElement() {
|
|
157
|
-
if (typeof customElements === "undefined") {
|
|
158
|
-
return;
|
|
551
|
+
var isProto = isPrototype(object),
|
|
552
|
+
result = [];
|
|
553
|
+
|
|
554
|
+
for (var key in object) {
|
|
555
|
+
if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {
|
|
556
|
+
result.push(key);
|
|
557
|
+
}
|
|
159
558
|
}
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
559
|
+
return result;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Creates an array of the own and inherited enumerable property names of `object`.
|
|
564
|
+
*
|
|
565
|
+
* **Note:** Non-object values are coerced to objects.
|
|
566
|
+
*
|
|
567
|
+
* @static
|
|
568
|
+
* @memberOf _
|
|
569
|
+
* @since 3.0.0
|
|
570
|
+
* @category Object
|
|
571
|
+
* @param {Object} object The object to query.
|
|
572
|
+
* @returns {Array} Returns the array of property names.
|
|
573
|
+
* @example
|
|
574
|
+
*
|
|
575
|
+
* function Foo() {
|
|
576
|
+
* this.a = 1;
|
|
577
|
+
* this.b = 2;
|
|
578
|
+
* }
|
|
579
|
+
*
|
|
580
|
+
* Foo.prototype.c = 3;
|
|
581
|
+
*
|
|
582
|
+
* _.keysIn(new Foo);
|
|
583
|
+
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
|
|
584
|
+
*/
|
|
585
|
+
function keysIn(object) {
|
|
586
|
+
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Converts `value` to a string. An empty string is returned for `null`
|
|
591
|
+
* and `undefined` values. The sign of `-0` is preserved.
|
|
592
|
+
*
|
|
593
|
+
* @static
|
|
594
|
+
* @memberOf _
|
|
595
|
+
* @since 4.0.0
|
|
596
|
+
* @category Lang
|
|
597
|
+
* @param {*} value The value to convert.
|
|
598
|
+
* @returns {string} Returns the converted string.
|
|
599
|
+
* @example
|
|
600
|
+
*
|
|
601
|
+
* _.toString(null);
|
|
602
|
+
* // => ''
|
|
603
|
+
*
|
|
604
|
+
* _.toString(-0);
|
|
605
|
+
* // => '-0'
|
|
606
|
+
*
|
|
607
|
+
* _.toString([1, 2, 3]);
|
|
608
|
+
* // => '1,2,3'
|
|
609
|
+
*/
|
|
610
|
+
function toString(value) {
|
|
611
|
+
return value == null ? '' : baseToString(value);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Creates a base function for methods like `_.forIn` and `_.forOwn`.
|
|
616
|
+
*
|
|
617
|
+
* @private
|
|
618
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
619
|
+
* @returns {Function} Returns the new base function.
|
|
620
|
+
*/
|
|
621
|
+
function createBaseFor(fromRight) {
|
|
622
|
+
return function(object, iteratee, keysFunc) {
|
|
623
|
+
var index = -1,
|
|
624
|
+
iterable = Object(object),
|
|
625
|
+
props = keysFunc(object),
|
|
626
|
+
length = props.length;
|
|
627
|
+
|
|
628
|
+
while (length--) {
|
|
629
|
+
var key = props[fromRight ? length : ++index];
|
|
630
|
+
if (iteratee(iterable[key], key, iterable) === false) {
|
|
631
|
+
break;
|
|
165
632
|
}
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
633
|
+
}
|
|
634
|
+
return object;
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* The base implementation of `baseForOwn` which iterates over `object`
|
|
640
|
+
* properties returned by `keysFunc` and invokes `iteratee` for each property.
|
|
641
|
+
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
|
642
|
+
*
|
|
643
|
+
* @private
|
|
644
|
+
* @param {Object} object The object to iterate over.
|
|
645
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
646
|
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
|
647
|
+
* @returns {Object} Returns `object`.
|
|
648
|
+
*/
|
|
649
|
+
var baseFor = createBaseFor();
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Casts `value` to `identity` if it's not a function.
|
|
653
|
+
*
|
|
654
|
+
* @private
|
|
655
|
+
* @param {*} value The value to inspect.
|
|
656
|
+
* @returns {Function} Returns cast function.
|
|
657
|
+
*/
|
|
658
|
+
function castFunction(value) {
|
|
659
|
+
return typeof value == 'function' ? value : identity;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Used to match `RegExp`
|
|
664
|
+
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
665
|
+
*/
|
|
666
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g,
|
|
667
|
+
reHasRegExpChar = RegExp(reRegExpChar.source);
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+",
|
|
671
|
+
* "?", "(", ")", "[", "]", "{", "}", and "|" in `string`.
|
|
672
|
+
*
|
|
673
|
+
* @static
|
|
674
|
+
* @memberOf _
|
|
675
|
+
* @since 3.0.0
|
|
676
|
+
* @category String
|
|
677
|
+
* @param {string} [string=''] The string to escape.
|
|
678
|
+
* @returns {string} Returns the escaped string.
|
|
679
|
+
* @example
|
|
680
|
+
*
|
|
681
|
+
* _.escapeRegExp('[lodash](https://lodash.com/)');
|
|
682
|
+
* // => '\[lodash\]\(https://lodash\.com/\)'
|
|
683
|
+
*/
|
|
684
|
+
function escapeRegExp(string) {
|
|
685
|
+
string = toString(string);
|
|
686
|
+
return (string && reHasRegExpChar.test(string))
|
|
687
|
+
? string.replace(reRegExpChar, '\\$&')
|
|
688
|
+
: string;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Iterates over own and inherited enumerable string keyed properties of an
|
|
693
|
+
* object and invokes `iteratee` for each property. The iteratee is invoked
|
|
694
|
+
* with three arguments: (value, key, object). Iteratee functions may exit
|
|
695
|
+
* iteration early by explicitly returning `false`.
|
|
696
|
+
*
|
|
697
|
+
* @static
|
|
698
|
+
* @memberOf _
|
|
699
|
+
* @since 0.3.0
|
|
700
|
+
* @category Object
|
|
701
|
+
* @param {Object} object The object to iterate over.
|
|
702
|
+
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
|
703
|
+
* @returns {Object} Returns `object`.
|
|
704
|
+
* @see _.forInRight
|
|
705
|
+
* @example
|
|
706
|
+
*
|
|
707
|
+
* function Foo() {
|
|
708
|
+
* this.a = 1;
|
|
709
|
+
* this.b = 2;
|
|
710
|
+
* }
|
|
711
|
+
*
|
|
712
|
+
* Foo.prototype.c = 3;
|
|
713
|
+
*
|
|
714
|
+
* _.forIn(new Foo, function(value, key) {
|
|
715
|
+
* console.log(key);
|
|
716
|
+
* });
|
|
717
|
+
* // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).
|
|
718
|
+
*/
|
|
719
|
+
function forIn(object, iteratee) {
|
|
720
|
+
return object == null
|
|
721
|
+
? object
|
|
722
|
+
: baseFor(object, castFunction(iteratee), keysIn);
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
const filter = (data, value) => {
|
|
726
|
+
const escapedValue = escapeRegExp(value);
|
|
727
|
+
const regex = new RegExp(escapedValue, "i");
|
|
728
|
+
if (data.length === 0) {
|
|
729
|
+
console.warn(`No data was passed to the filter function.
|
|
730
|
+
The data argument should be an array of objects`);
|
|
731
|
+
}
|
|
732
|
+
const find = (input, RE) => {
|
|
733
|
+
var _a, _b;
|
|
734
|
+
if (((_a = input) === null || _a === void 0 ? void 0 : _a.constant) || ((_b = input) === null || _b === void 0 ? void 0 : _b.filterDisabled)) {
|
|
735
|
+
return true;
|
|
736
|
+
}
|
|
737
|
+
let found = false;
|
|
738
|
+
forIn(input, (val) => {
|
|
739
|
+
if (typeof val === "function" || val == null /* intentional == to catch undefined */) {
|
|
740
|
+
return;
|
|
170
741
|
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
742
|
+
if (Array.isArray(val) || (typeof val === "object" && val !== null)) {
|
|
743
|
+
if (find(val, RE)) {
|
|
744
|
+
found = true;
|
|
745
|
+
}
|
|
175
746
|
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
if (!customElements.get(tagName)) {
|
|
179
|
-
defineCustomElement$1();
|
|
747
|
+
else if (RE.test(val)) {
|
|
748
|
+
found = true;
|
|
180
749
|
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
}
|
|
184
|
-
|
|
750
|
+
});
|
|
751
|
+
return found;
|
|
752
|
+
};
|
|
753
|
+
const result = data.filter((item) => {
|
|
754
|
+
return find(item, regex);
|
|
755
|
+
});
|
|
756
|
+
return result;
|
|
757
|
+
};
|
|
185
758
|
|
|
186
|
-
export {
|
|
759
|
+
export { filter as f };
|