@esri/calcite-components 1.0.0-next.556 → 1.0.0-next.559
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 +1 -2
- package/dist/calcite/index.esm.js +1 -1
- package/dist/calcite/{p-1886398f.entry.js → p-03d542f4.entry.js} +2 -2
- package/dist/calcite/{p-7766ddc2.system.js → p-04a25a81.system.js} +1 -1
- package/dist/calcite/p-05829d04.entry.js +6 -0
- package/dist/calcite/p-06a38846.entry.js +6 -0
- package/dist/calcite/{p-f0ff8d83.entry.js → p-06f11c4e.entry.js} +2 -2
- package/dist/calcite/p-0a77887c.entry.js +6 -0
- package/dist/calcite/p-0b653287.system.entry.js +6 -0
- package/dist/calcite/{p-f79661f0.entry.js → p-0bf072c3.entry.js} +2 -2
- package/dist/calcite/{p-fc12f99e.js → p-0c2bf0c6.js} +1 -1
- package/dist/calcite/p-0fbd8711.system.entry.js +6 -0
- package/dist/calcite/p-10e9b11f.entry.js +6 -0
- package/dist/calcite/p-115bd6db.entry.js +6 -0
- package/dist/calcite/{p-0ad78e61.js → p-118cd67c.js} +1 -1
- package/dist/calcite/{p-5e728d5f.js → p-13c530e6.js} +1 -1
- package/dist/calcite/{p-33a3bf9f.system.js → p-142a543c.system.js} +1 -1
- package/dist/calcite/p-1639c4dc.js +7 -0
- package/dist/calcite/p-171606f0.entry.js +6 -0
- package/dist/calcite/{p-326d61e7.system.js → p-191b4beb.system.js} +1 -1
- package/dist/calcite/p-1b8baf94.entry.js +6 -0
- package/dist/calcite/p-1d2b54b0.system.entry.js +6 -0
- package/dist/calcite/p-1e145df2.entry.js +6 -0
- package/dist/calcite/p-22214647.entry.js +6 -0
- package/dist/calcite/p-2554ce25.entry.js +6 -0
- package/dist/calcite/{p-0e9102ac.system.entry.js → p-2563538f.system.entry.js} +2 -2
- package/dist/calcite/p-25b4492c.entry.js +6 -0
- package/dist/calcite/{p-d7ac85d7.system.entry.js → p-269923ad.system.entry.js} +2 -2
- package/dist/calcite/{p-997a3daa.js → p-27e6a383.js} +1 -1
- package/dist/calcite/p-2a106ec3.system.entry.js +6 -0
- package/dist/calcite/p-2b4c8a3a.entry.js +6 -0
- package/dist/calcite/p-2d2f20d2.entry.js +6 -0
- package/dist/calcite/p-2d9c0cc9.entry.js +6 -0
- package/dist/calcite/p-2dfa0397.entry.js +6 -0
- package/dist/calcite/p-3217706d.entry.js +6 -0
- package/dist/calcite/{p-d2102cf0.system.js → p-3609cc3a.system.js} +1 -1
- package/dist/calcite/p-37498ec9.system.entry.js +6 -0
- package/dist/calcite/{p-eb1fa8a7.system.entry.js → p-37b5ab4e.system.entry.js} +2 -2
- package/dist/calcite/p-37b7a067.system.entry.js +6 -0
- package/dist/calcite/p-38a50251.system.entry.js +6 -0
- package/dist/calcite/p-38af76f3.js +6 -0
- package/dist/calcite/{p-3116eb16.system.js → p-3955fb18.system.js} +2 -2
- package/dist/calcite/{p-5002689a.js → p-3d0528a3.js} +1 -1
- package/dist/calcite/p-3d5c483e.system.entry.js +6 -0
- package/dist/calcite/p-3e68d709.entry.js +6 -0
- package/dist/calcite/{p-a20caf86.entry.js → p-403a73c4.entry.js} +2 -2
- package/dist/calcite/{p-50a678e9.system.entry.js → p-40fc130a.system.entry.js} +2 -2
- package/dist/calcite/p-419ee9aa.system.entry.js +6 -0
- package/dist/calcite/p-484be887.entry.js +6 -0
- package/dist/calcite/p-48663efd.system.entry.js +6 -0
- package/dist/calcite/{p-576a68ad.js → p-49c5dd7f.js} +1 -1
- package/dist/calcite/p-49dc0d00.js +6 -0
- package/dist/calcite/{p-7a8dc196.system.entry.js → p-4ba0bd34.entry.js} +3 -3
- package/dist/calcite/p-4c2d2b76.system.entry.js +6 -0
- package/dist/calcite/p-4e65fbf8.entry.js +6 -0
- package/dist/calcite/p-50cc9f99.js +6 -0
- package/dist/calcite/{p-0865b1c4.system.entry.js → p-516e7dac.system.entry.js} +2 -2
- package/dist/calcite/{p-a530e53f.system.js → p-51877626.system.js} +1 -1
- package/dist/calcite/{p-70152b55.system.js → p-520c20d6.system.js} +1 -1
- package/dist/calcite/p-523f75df.system.entry.js +6 -0
- package/dist/calcite/{p-3e4fc663.js → p-52605b46.js} +2 -2
- package/dist/calcite/{p-8b5a056d.system.js → p-55b90362.system.js} +1 -1
- package/dist/calcite/p-58be6f09.system.entry.js +6 -0
- package/dist/calcite/{p-f540b806.system.js → p-5a6d196f.system.js} +2 -2
- package/dist/calcite/p-5c11a9c4.entry.js +6 -0
- package/dist/calcite/p-5ed5f66a.system.entry.js +6 -0
- package/dist/calcite/{p-e0f120b1.js → p-5eee7770.js} +1 -1
- package/dist/calcite/p-61380cbc.entry.js +6 -0
- package/dist/calcite/p-61b21778.system.entry.js +6 -0
- package/dist/calcite/p-6678cd35.entry.js +6 -0
- package/dist/calcite/p-6ab5f989.system.js +6 -0
- package/dist/calcite/{p-1a4731f1.system.entry.js → p-6b1bd5b3.system.entry.js} +2 -2
- package/dist/calcite/p-6bf681da.entry.js +6 -0
- package/dist/calcite/p-6bfd1f64.entry.js +6 -0
- package/dist/calcite/p-6c51c2e7.system.entry.js +6 -0
- package/dist/calcite/{p-48f5a675.system.js → p-6c741275.system.js} +1 -1
- package/dist/calcite/p-6fd5f607.entry.js +6 -0
- package/dist/calcite/p-710ada7a.system.entry.js +6 -0
- package/dist/calcite/p-7140d803.system.entry.js +6 -0
- package/dist/calcite/p-716c7b36.system.js +6 -0
- package/dist/calcite/p-71fe5470.system.entry.js +6 -0
- package/dist/calcite/{p-51e58ac3.system.js → p-72453cd1.system.js} +1 -1
- package/dist/calcite/p-735c1a05.entry.js +6 -0
- package/dist/calcite/{p-05fe3ea5.js → p-74a46c20.js} +2 -2
- package/dist/calcite/p-74c13238.system.entry.js +6 -0
- package/dist/calcite/p-758c8bf6.entry.js +6 -0
- package/dist/calcite/p-76baf89b.system.js +7 -0
- package/dist/calcite/{p-79359620.system.js → p-770702d4.system.js} +1 -1
- package/dist/calcite/{p-a86406ed.system.js → p-79dba19a.system.js} +2 -2
- package/dist/calcite/{p-cef9685e.system.js → p-7ab8536b.system.js} +2 -2
- package/dist/calcite/p-7ae271dc.system.entry.js +6 -0
- package/dist/calcite/p-7d20e5b1.entry.js +6 -0
- package/dist/calcite/{p-4e299082.system.js → p-82884d34.system.js} +2 -2
- package/dist/calcite/p-83202085.system.entry.js +6 -0
- package/dist/calcite/p-83e12e96.system.entry.js +6 -0
- package/dist/calcite/p-83fadd53.system.entry.js +6 -0
- package/dist/calcite/p-84f0cd63.system.entry.js +6 -0
- package/dist/calcite/p-866a708f.entry.js +6 -0
- package/dist/calcite/p-8677bedd.system.entry.js +6 -0
- package/dist/calcite/p-86c15989.system.entry.js +6 -0
- package/dist/calcite/{p-aacb2155.js → p-882514e4.js} +2 -2
- package/dist/calcite/{p-c5166dab.system.entry.js → p-88f6ce9a.system.entry.js} +2 -2
- package/dist/calcite/p-89f3b362.entry.js +6 -0
- package/dist/calcite/p-8a732bb1.entry.js +6 -0
- package/dist/calcite/p-8f86dd6a.system.entry.js +6 -0
- package/dist/calcite/p-90aaf7e9.system.js +6 -0
- package/dist/calcite/p-921928b3.system.entry.js +6 -0
- package/dist/calcite/{p-a683a9bb.js → p-943ab787.js} +2 -2
- package/dist/calcite/{p-7369776f.js → p-947f8b63.js} +2 -2
- package/dist/calcite/p-958994f3.entry.js +6 -0
- package/dist/calcite/p-9677f628.entry.js +6 -0
- package/dist/calcite/p-985f49f2.entry.js +6 -0
- package/dist/calcite/{p-bbaad92f.system.js → p-9e0a3d06.system.js} +2 -2
- package/dist/calcite/p-9e740a59.entry.js +6 -0
- package/dist/calcite/{p-19248611.js → p-9f20d202.js} +1 -1
- package/dist/calcite/{p-0a755cdf.system.js → p-9ffa7d9c.system.js} +1 -1
- package/dist/calcite/p-a1c4a6ad.entry.js +6 -0
- package/dist/calcite/p-a2ef8419.entry.js +6 -0
- package/dist/calcite/{p-8afb9e1c.system.js → p-a3a7e041.system.js} +1 -1
- package/dist/calcite/p-a66190e2.entry.js +6 -0
- package/dist/calcite/{p-d579af0f.system.js → p-a6ca43e9.system.js} +2 -2
- package/dist/calcite/p-a9d79c6d.system.entry.js +6 -0
- package/dist/calcite/p-ab146ba9.system.js +6 -0
- package/dist/calcite/{p-dd735a43.js → p-ab9c30fe.js} +1 -1
- package/dist/calcite/p-abf3ff6a.entry.js +6 -0
- package/dist/calcite/{p-5d6bb522.system.js → p-adb45637.system.js} +2 -2
- package/dist/calcite/{p-6daf675b.entry.js → p-aff938dd.entry.js} +2 -2
- package/dist/calcite/{p-da9458eb.js → p-b0992691.js} +1 -1
- package/dist/calcite/p-b2367c17.system.entry.js +6 -0
- package/dist/calcite/p-b2e27974.entry.js +6 -0
- package/dist/calcite/p-b3361861.system.entry.js +6 -0
- package/dist/calcite/p-b3d0be1e.system.entry.js +6 -0
- package/dist/calcite/p-b3fedb93.system.entry.js +6 -0
- package/dist/calcite/p-b5a79a12.system.entry.js +6 -0
- package/dist/calcite/{p-b5103bd6.system.js → p-b8bab335.system.js} +2 -2
- package/dist/calcite/{p-b19f561c.system.js → p-b8f65b33.system.js} +1 -1
- package/dist/calcite/{p-f6fae0da.entry.js → p-b95252ab.entry.js} +2 -2
- package/dist/calcite/{p-af62631d.js → p-ba40c0b3.js} +1 -1
- package/dist/calcite/{p-19ef2670.entry.js → p-bc479d34.entry.js} +2 -2
- package/dist/calcite/p-bca0cdbb.entry.js +6 -0
- package/dist/calcite/p-bd9d402e.system.js +6 -0
- package/dist/calcite/p-be591017.js +6 -0
- package/dist/calcite/p-be799a6e.system.entry.js +6 -0
- package/dist/calcite/p-c5642352.js +6 -0
- package/dist/calcite/p-c594efbb.js +6 -0
- package/dist/calcite/p-c6b6d7b5.system.entry.js +6 -0
- package/dist/calcite/p-c8076a86.entry.js +6 -0
- package/dist/calcite/{p-eea677b9.js → p-c8483877.js} +1 -1
- package/dist/calcite/p-cf4a4137.system.entry.js +6 -0
- package/dist/calcite/p-cf64cbd8.system.entry.js +6 -0
- package/dist/calcite/p-d238c129.js +6 -0
- package/dist/calcite/p-d60c8771.system.entry.js +6 -0
- package/dist/calcite/{p-a0cad5d7.js → p-d74290a4.js} +1 -1
- package/dist/calcite/p-d81dfb83.system.entry.js +6 -0
- package/dist/calcite/{p-5f4e9358.system.entry.js → p-d8cfce90.system.entry.js} +2 -2
- package/dist/calcite/p-d9f6894b.system.entry.js +6 -0
- package/dist/calcite/p-da55a2a2.system.entry.js +6 -0
- package/dist/calcite/p-db425a98.system.entry.js +6 -0
- package/dist/calcite/{p-fd4f16b4.system.js → p-dc2c9e6a.system.js} +1 -1
- package/dist/calcite/{p-7d0ab794.entry.js → p-dd35b795.entry.js} +2 -2
- package/dist/calcite/p-dd9ade49.system.entry.js +6 -0
- package/dist/calcite/p-e0eff4ba.entry.js +6 -0
- package/dist/calcite/p-e14292e0.entry.js +6 -0
- package/dist/calcite/p-e4c07a30.entry.js +6 -0
- package/dist/calcite/{p-6eced7b5.system.entry.js → p-e54fe96b.system.entry.js} +2 -2
- package/dist/calcite/p-e6774958.system.entry.js +6 -0
- package/dist/calcite/p-eb3679d8.system.entry.js +6 -0
- package/dist/calcite/{p-be74a343.js → p-f48a4d09.js} +2 -2
- package/dist/calcite/{p-bbc42dac.entry.js → p-f627cf89.entry.js} +2 -2
- package/dist/calcite/p-f9a72798.entry.js +6 -0
- package/dist/calcite/p-fb709767.system.entry.js +6 -0
- package/dist/calcite/p-fcac4bbd.entry.js +6 -0
- package/dist/calcite/p-fcbf80fa.entry.js +6 -0
- package/dist/calcite/p-fd46a8ac.system.entry.js +6 -0
- package/dist/calcite/p-fdfb78fe.entry.js +6 -0
- package/dist/calcite/p-fedbc7d8.system.entry.js +6 -0
- package/dist/cjs/{ExpandToggle-b50957be.js → ExpandToggle-31eb7dee.js} +5 -5
- package/dist/cjs/{Heading-1b066533.js → Heading-8534111e.js} +2 -2
- package/dist/cjs/app-globals-04826f1f.js +50 -0
- package/dist/cjs/{array-5ca2f088.js → array-fa4ffb86.js} +1 -1
- package/dist/cjs/calcite-accordion_2.cjs.entry.js +8 -7
- 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 +15 -8
- 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 +10 -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 +9 -8
- package/dist/cjs/calcite-chip.cjs.entry.js +7 -6
- package/dist/cjs/calcite-color-picker_3.cjs.entry.js +10 -10
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +39 -20
- package/dist/cjs/calcite-date-picker_4.cjs.entry.js +19 -18
- package/dist/cjs/calcite-dropdown_3.cjs.entry.js +36 -19
- package/dist/cjs/calcite-fab.cjs.entry.js +6 -5
- package/dist/cjs/calcite-filter.cjs.entry.js +9 -7
- package/dist/cjs/calcite-flow.cjs.entry.js +3 -3
- package/dist/cjs/calcite-graph_2.cjs.entry.js +23 -22
- package/dist/cjs/calcite-handle.cjs.entry.js +7 -4
- package/dist/cjs/calcite-icon.cjs.entry.js +6 -5
- package/dist/cjs/calcite-inline-editable.cjs.entry.js +23 -19
- package/dist/cjs/calcite-input-date-picker.cjs.entry.js +26 -16
- package/dist/cjs/calcite-input-message.cjs.entry.js +5 -4
- package/dist/cjs/calcite-input-number.cjs.entry.js +17 -14
- package/dist/cjs/calcite-input-text.cjs.entry.js +14 -11
- package/dist/cjs/calcite-input-time-picker_2.cjs.entry.js +32 -13
- package/dist/cjs/calcite-input.cjs.entry.js +17 -14
- 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 +10 -8
- package/dist/cjs/calcite-notice.cjs.entry.js +8 -7
- package/dist/cjs/calcite-option_3.cjs.entry.js +14 -13
- package/dist/cjs/calcite-pagination.cjs.entry.js +5 -5
- package/dist/cjs/calcite-panel.cjs.entry.js +12 -10
- package/dist/cjs/calcite-pick-list_3.cjs.entry.js +12 -11
- package/dist/cjs/calcite-popover_2.cjs.entry.js +17 -11
- package/dist/cjs/calcite-progress.cjs.entry.js +2 -2
- package/dist/cjs/calcite-radio-button-group.cjs.entry.js +3 -3
- package/dist/cjs/calcite-radio-button.cjs.entry.js +10 -8
- package/dist/cjs/calcite-radio-group_2.cjs.entry.js +8 -7
- package/dist/cjs/calcite-rating.cjs.entry.js +10 -9
- package/dist/cjs/calcite-scrim.cjs.entry.js +4 -5
- package/dist/cjs/calcite-shell_3.cjs.entry.js +18 -17
- package/dist/cjs/calcite-sortable-list.cjs.entry.js +5 -5
- package/dist/cjs/calcite-split-button.cjs.entry.js +17 -13
- package/dist/cjs/calcite-stepper_2.cjs.entry.js +23 -22
- package/dist/cjs/calcite-switch.cjs.entry.js +15 -15
- package/dist/cjs/calcite-tab_4.cjs.entry.js +7 -6
- 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 +15 -11
- package/dist/cjs/calcite.cjs.js +6 -3
- package/dist/cjs/{conditionalSlot-c9e8a19a.js → conditionalSlot-7b7b65f3.js} +3 -3
- package/dist/cjs/{debounce-f9c5fb44.js → debounce-5d084634.js} +1 -1
- package/dist/cjs/{dom-70b983a2.js → dom-1a30c464.js} +4 -18
- package/dist/cjs/{filter-328c7b8b.js → filter-4275ac6d.js} +2 -2
- package/dist/cjs/{floating-ui-8a544187.js → floating-ui-f811e8c4.js} +59 -10
- package/dist/cjs/{form-7e91825a.js → form-857dcd62.js} +6 -4
- package/dist/cjs/{guid-bb58e051.js → guid-dd5800b6.js} +1 -1
- package/dist/cjs/{index-fd388681.js → index-8842c1e0.js} +5 -10
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{interactive-93b0bea2.js → interactive-960fb2fb.js} +1 -1
- package/dist/cjs/{interfaces-8051a72f.js → interfaces-468230c4.js} +1 -1
- package/dist/cjs/{key-a8b30c50.js → key-5b9005ff.js} +1 -1
- package/dist/cjs/{label-4c18233e.js → label-b60354cb.js} +2 -2
- package/dist/cjs/loader.cjs.js +6 -3
- package/dist/cjs/{locale-b7df0b1f.js → locale-6cf57424.js} +2 -2
- package/dist/cjs/{math-a3254e0c.js → math-3788d662.js} +1 -1
- package/dist/cjs/{observers-ec5cb025.js → observers-27f5884d.js} +1 -1
- package/dist/cjs/{openCloseComponent-03671cb7.js → openCloseComponent-e60e1062.js} +1 -1
- package/dist/cjs/{resources-efcf402f.js → resources-15d4f550.js} +1 -1
- package/dist/cjs/{resources-5c096e0b.js → resources-b0a2583b.js} +3 -3
- package/dist/cjs/resources-bf3fa84c.js +24 -0
- package/dist/cjs/{resources-de0d48aa.js → resources-ca171f68.js} +1 -1
- package/dist/cjs/{resources-0fa70b4c.js → resources-e1b7244d.js} +5 -5
- package/dist/cjs/{sortable.esm-00e9d640.js → sortable.esm-bb913d5c.js} +1 -1
- package/dist/cjs/{utils-e1a09f13.js → utils-f97c06fe.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/accordion/accordion.js +1 -1
- 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.js +9 -3
- 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 +1 -1
- 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 +1 -1
- 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 +1 -2
- 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 +1 -1
- package/dist/collection/components/color-picker-hex-input/resources.js +1 -1
- package/dist/collection/components/color-picker-swatch/color-picker-swatch.js +1 -1
- package/dist/collection/components/color-picker-swatch/resources.js +1 -1
- package/dist/collection/components/combobox/combobox.js +27 -9
- 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 +3 -3
- package/dist/collection/components/date-picker-month/date-picker-month.js +4 -1
- package/dist/collection/components/date-picker-month-header/date-picker-month-header.js +4 -7
- package/dist/collection/components/date-picker-month-header/resources.js +1 -1
- package/dist/collection/components/dropdown/dropdown.js +29 -13
- 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 +2 -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 +4 -2
- 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 +16 -13
- package/dist/collection/components/inline-editable/resources.js +1 -1
- package/dist/collection/components/input/input.js +4 -2
- 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 +15 -6
- 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 +4 -2
- 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 +4 -2
- package/dist/collection/components/input-text/resources.js +1 -1
- package/dist/collection/components/input-time-picker/input-time-picker.js +11 -4
- 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 +3 -2
- package/dist/collection/components/modal/resources.js +1 -1
- package/dist/collection/components/notice/notice.js +1 -1
- package/dist/collection/components/notice/resources.js +1 -1
- package/dist/collection/components/option/option.js +1 -1
- package/dist/collection/components/option-group/option-group.js +1 -1
- package/dist/collection/components/pagination/pagination.js +1 -1
- package/dist/collection/components/pagination/resources.js +1 -1
- package/dist/collection/components/panel/panel.js +3 -2
- 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 +3 -3
- package/dist/collection/components/pick-list-item/resources.js +1 -1
- package/dist/collection/components/popover/PopoverManager.js +2 -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 +2 -1
- package/dist/collection/components/radio-button/resources.js +1 -1
- package/dist/collection/components/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/radio-group/interfaces.js +1 -1
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/radio-group-item/radio-group-item.js +1 -1
- package/dist/collection/components/radio-group-item/resources.js +1 -1
- package/dist/collection/components/rating/rating.js +2 -2
- 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 +5 -6
- package/dist/collection/components/select/resources.js +1 -1
- package/dist/collection/components/select/select.css +2 -2
- package/dist/collection/components/select/select.js +15 -15
- package/dist/collection/components/shell/resources.js +1 -1
- package/dist/collection/components/shell/shell.css +1 -1
- package/dist/collection/components/shell/shell.js +7 -7
- package/dist/collection/components/shell-center-row/resources.js +1 -1
- package/dist/collection/components/shell-center-row/shell-center-row.js +9 -9
- package/dist/collection/components/shell-panel/resources.js +1 -1
- package/dist/collection/components/shell-panel/shell-panel.js +17 -17
- package/dist/collection/components/slider/slider.js +38 -38
- 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 +32 -28
- package/dist/collection/components/stepper/interfaces.js +1 -1
- package/dist/collection/components/stepper/stepper.js +21 -21
- package/dist/collection/components/stepper-item/stepper-item.js +19 -19
- package/dist/collection/components/switch/switch.js +16 -17
- package/dist/collection/components/tab/interfaces.js +1 -1
- package/dist/collection/components/tab/tab.js +1 -1
- package/dist/collection/components/tab-nav/tab-nav.js +1 -1
- package/dist/collection/components/tab-title/tab-title.js +1 -1
- package/dist/collection/components/tabs/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 +13 -2
- 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 +4 -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 +4 -2
- 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 +2 -2
- package/dist/components/action-group.js +2 -2
- package/dist/components/action-menu.js +9 -3
- package/dist/components/action.js +2 -2
- package/dist/components/array.js +1 -1
- package/dist/components/button.js +4 -4
- package/dist/components/calcite-accordion-item.js +4 -3
- 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 +2 -2
- 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 +2 -3
- package/dist/components/calcite-combobox-item-group.js +2 -2
- package/dist/components/calcite-combobox-item.js +2 -2
- package/dist/components/calcite-combobox.js +30 -12
- 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 +2 -2
- package/dist/components/calcite-dropdown-item.js +2 -2
- package/dist/components/calcite-dropdown.js +1 -1
- package/dist/components/calcite-fab.js +2 -2
- package/dist/components/calcite-filter.js +2 -2
- package/dist/components/calcite-flow.js +2 -2
- 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 +18 -15
- package/dist/components/calcite-input-date-picker.js +18 -9
- package/dist/components/calcite-input-message.js +2 -2
- package/dist/components/calcite-input-number.js +8 -5
- package/dist/components/calcite-input-text.js +8 -5
- package/dist/components/calcite-input-time-picker.js +13 -6
- 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 +2 -2
- package/dist/components/calcite-list-item.js +2 -2
- package/dist/components/calcite-list.js +2 -2
- package/dist/components/calcite-loader.js +1 -1
- package/dist/components/calcite-modal.js +5 -4
- package/dist/components/calcite-notice.js +2 -2
- package/dist/components/calcite-option-group.js +2 -2
- package/dist/components/calcite-option.js +2 -2
- package/dist/components/calcite-pagination.js +2 -2
- package/dist/components/calcite-panel.js +4 -3
- package/dist/components/calcite-pick-list-group.js +3 -3
- package/dist/components/calcite-pick-list-item.js +1 -1
- package/dist/components/calcite-pick-list.js +4 -4
- package/dist/components/calcite-popover-manager.js +2 -2
- package/dist/components/calcite-popover.js +1 -1
- package/dist/components/calcite-progress.js +1 -1
- package/dist/components/calcite-radio-button-group.js +2 -2
- package/dist/components/calcite-radio-button.js +4 -3
- package/dist/components/calcite-radio-group-item.js +2 -2
- package/dist/components/calcite-radio-group.js +3 -3
- package/dist/components/calcite-rating.js +4 -4
- package/dist/components/calcite-scrim.js +1 -1
- package/dist/components/calcite-select.js +8 -8
- package/dist/components/calcite-shell-center-row.js +5 -5
- package/dist/components/calcite-shell-panel.js +8 -8
- package/dist/components/calcite-shell.js +3 -3
- package/dist/components/calcite-slider.js +16 -16
- package/dist/components/calcite-sortable-list.js +2 -2
- package/dist/components/calcite-split-button.js +16 -12
- package/dist/components/calcite-stepper-item.js +10 -10
- package/dist/components/calcite-stepper.js +11 -11
- 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 +2 -2
- package/dist/components/calcite-tile-select.js +2 -2
- package/dist/components/calcite-tile.js +1 -1
- package/dist/components/calcite-time-picker.js +1 -1
- package/dist/components/calcite-tip-group.js +2 -2
- package/dist/components/calcite-tip-manager.js +3 -3
- package/dist/components/calcite-tip.js +3 -3
- package/dist/components/calcite-tooltip-manager.js +2 -2
- package/dist/components/calcite-tooltip.js +9 -4
- package/dist/components/calcite-tree-item.js +4 -3
- package/dist/components/calcite-tree.js +3 -3
- package/dist/components/calcite-value-list-item.js +3 -3
- package/dist/components/calcite-value-list.js +6 -3
- package/dist/components/checkbox.js +3 -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 +2 -2
- package/dist/components/date-picker-day.js +6 -5
- package/dist/components/date-picker-month-header.js +6 -9
- package/dist/components/date-picker-month.js +5 -2
- package/dist/components/date-picker.js +2 -2
- package/dist/components/date.js +2 -2
- package/dist/components/debounce.js +1 -1
- package/dist/components/dom.js +3 -15
- package/dist/components/dropdown.js +30 -14
- package/dist/components/filter.js +741 -168
- package/dist/components/filter2.js +169 -741
- package/dist/components/floating-ui.js +59 -10
- package/dist/components/form.js +6 -4
- package/dist/components/graph.js +2 -2
- package/dist/components/guid.js +1 -1
- package/dist/components/handle.js +4 -2
- package/dist/components/icon.js +2 -2
- package/dist/components/index.d.ts +5 -92
- package/dist/components/index.js +45 -94
- package/dist/components/input.js +8 -5
- 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 +112 -87
- package/dist/components/label2.js +87 -112
- package/dist/components/link.js +4 -3
- package/dist/components/loader.js +2 -2
- package/dist/components/locale.js +1 -1
- package/dist/components/math.js +1 -1
- package/dist/components/observers.js +2 -2
- package/dist/components/openCloseComponent.js +1 -1
- package/dist/components/pick-list-item.js +3 -3
- package/dist/components/popover.js +10 -5
- package/dist/components/progress.js +2 -2
- package/dist/components/resources.js +12 -12
- package/dist/components/resources2.js +10 -7
- package/dist/components/resources3.js +6 -23
- package/dist/components/resources4.js +33 -0
- package/dist/components/scrim.js +4 -5
- package/dist/components/shared-list-render.js +4 -4
- package/dist/components/sortable.esm.js +1 -1
- package/dist/components/switch.js +9 -10
- package/dist/components/tab-nav.js +3 -3
- package/dist/components/tab-title.js +2 -2
- package/dist/components/tab.js +2 -2
- package/dist/components/tabs.js +2 -2
- package/dist/components/tile.js +2 -2
- package/dist/components/time-picker.js +14 -3
- package/dist/components/utils.js +1 -1
- package/dist/components/utils2.js +2 -2
- package/dist/custom-elements/index.js +328 -141
- package/dist/esm/{ExpandToggle-dd6a0dd8.js → ExpandToggle-bfab50ea.js} +5 -5
- package/dist/esm/{Heading-4c268816.js → Heading-fa8cfb41.js} +2 -2
- package/dist/esm/app-globals-811a0a9d.js +48 -0
- package/dist/esm/{array-68e32723.js → array-b441def2.js} +1 -1
- package/dist/esm/calcite-accordion_2.entry.js +7 -6
- 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 +15 -8
- 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 +10 -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 +9 -8
- package/dist/esm/calcite-chip.entry.js +7 -6
- package/dist/esm/calcite-color-picker_3.entry.js +10 -10
- package/dist/esm/calcite-combobox_3.entry.js +39 -20
- package/dist/esm/calcite-date-picker_4.entry.js +18 -17
- package/dist/esm/calcite-dropdown_3.entry.js +36 -19
- package/dist/esm/calcite-fab.entry.js +6 -5
- package/dist/esm/calcite-filter.entry.js +9 -7
- package/dist/esm/calcite-flow.entry.js +3 -3
- package/dist/esm/calcite-graph_2.entry.js +23 -22
- package/dist/esm/calcite-handle.entry.js +7 -4
- package/dist/esm/calcite-icon.entry.js +6 -5
- package/dist/esm/calcite-inline-editable.entry.js +23 -19
- package/dist/esm/calcite-input-date-picker.entry.js +26 -16
- package/dist/esm/calcite-input-message.entry.js +5 -4
- package/dist/esm/calcite-input-number.entry.js +15 -12
- package/dist/esm/calcite-input-text.entry.js +12 -9
- package/dist/esm/calcite-input-time-picker_2.entry.js +32 -13
- package/dist/esm/calcite-input.entry.js +15 -12
- 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 +10 -8
- package/dist/esm/calcite-notice.entry.js +8 -7
- package/dist/esm/calcite-option_3.entry.js +14 -13
- package/dist/esm/calcite-pagination.entry.js +5 -5
- package/dist/esm/calcite-panel.entry.js +12 -10
- package/dist/esm/calcite-pick-list_3.entry.js +12 -11
- package/dist/esm/calcite-popover_2.entry.js +17 -11
- package/dist/esm/calcite-progress.entry.js +2 -2
- package/dist/esm/calcite-radio-button-group.entry.js +3 -3
- package/dist/esm/calcite-radio-button.entry.js +10 -8
- package/dist/esm/calcite-radio-group_2.entry.js +8 -7
- package/dist/esm/calcite-rating.entry.js +10 -9
- package/dist/esm/calcite-scrim.entry.js +4 -5
- package/dist/esm/calcite-shell_3.entry.js +18 -17
- package/dist/esm/calcite-sortable-list.entry.js +5 -5
- package/dist/esm/calcite-split-button.entry.js +17 -13
- package/dist/esm/calcite-stepper_2.entry.js +23 -22
- package/dist/esm/calcite-switch.entry.js +15 -15
- package/dist/esm/calcite-tab_4.entry.js +7 -6
- 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 +15 -11
- package/dist/esm/calcite.js +6 -3
- package/dist/esm/{conditionalSlot-40a54fd0.js → conditionalSlot-c65185f0.js} +3 -3
- package/dist/esm/{debounce-b0f31c11.js → debounce-60dd683e.js} +1 -1
- package/dist/esm/{dom-1f4b2c5c.js → dom-1c1f36c2.js} +4 -16
- package/dist/esm/{filter-e37bac63.js → filter-55b2abf1.js} +2 -2
- package/dist/esm/{floating-ui-0c89f0e1.js → floating-ui-7e6438e5.js} +59 -10
- package/dist/esm/{form-def7282e.js → form-65542bdd.js} +6 -4
- package/dist/esm/{guid-43243f0d.js → guid-5dcff5e6.js} +1 -1
- package/dist/esm/{index-5a5db037.js → index-d4e46725.js} +5 -10
- package/dist/esm/index.js +1 -1
- package/dist/esm/{interactive-0304df8e.js → interactive-5adc2541.js} +1 -1
- package/dist/esm/{interfaces-2d8b2aa3.js → interfaces-f63ac6d5.js} +1 -1
- package/dist/esm/{key-8d8e902e.js → key-bd44b82c.js} +1 -1
- package/dist/esm/{label-d68e7f0f.js → label-0e39901c.js} +2 -2
- package/dist/esm/loader.js +6 -3
- package/dist/esm/{locale-93a2218c.js → locale-dc62bd63.js} +2 -2
- package/dist/esm/{math-23d942ef.js → math-cb423b55.js} +1 -1
- package/dist/esm/{observers-64f4a7e9.js → observers-94998aa8.js} +1 -1
- package/dist/esm/{openCloseComponent-fbf6ad68.js → openCloseComponent-f6d7c232.js} +1 -1
- package/dist/esm/{resources-10717072.js → resources-0693d83b.js} +5 -5
- package/dist/esm/{resources-a67dcc05.js → resources-1a9e7ece.js} +3 -3
- package/dist/esm/{resources-9c6ccc78.js → resources-7f3bc078.js} +1 -1
- package/dist/esm/resources-8ed5d9e4.js +19 -0
- package/dist/esm/{resources-05894aef.js → resources-d93a267d.js} +1 -1
- package/dist/esm/{sortable.esm-5a040bf9.js → sortable.esm-b1973873.js} +1 -1
- package/dist/esm/{utils-fa55d6c6.js → utils-e35ad85f.js} +1 -1
- package/dist/esm-es5/{ExpandToggle-dd6a0dd8.js → ExpandToggle-bfab50ea.js} +2 -2
- package/dist/esm-es5/Heading-fa8cfb41.js +6 -0
- package/dist/esm-es5/app-globals-811a0a9d.js +6 -0
- package/dist/esm-es5/{array-68e32723.js → array-b441def2.js} +1 -1
- package/dist/esm-es5/calcite-accordion_2.entry.js +2 -2
- package/dist/esm-es5/calcite-action-bar.entry.js +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/esm-es5/calcite-tab_4.entry.js +2 -2
- package/dist/esm-es5/calcite-tile-select_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tile.entry.js +2 -2
- package/dist/esm-es5/calcite-tip_3.entry.js +2 -2
- package/dist/esm-es5/calcite-tooltip_2.entry.js +2 -2
- package/dist/esm-es5/calcite-tree_2.entry.js +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-40a54fd0.js → conditionalSlot-c65185f0.js} +2 -2
- package/dist/esm-es5/{debounce-b0f31c11.js → debounce-60dd683e.js} +1 -1
- package/dist/esm-es5/dom-1c1f36c2.js +6 -0
- package/dist/esm-es5/{filter-e37bac63.js → filter-55b2abf1.js} +2 -2
- package/dist/esm-es5/floating-ui-7e6438e5.js +6 -0
- package/dist/esm-es5/form-65542bdd.js +6 -0
- package/dist/esm-es5/{guid-43243f0d.js → guid-5dcff5e6.js} +1 -1
- package/dist/esm-es5/index-d4e46725.js +7 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/{interactive-0304df8e.js → interactive-5adc2541.js} +1 -1
- package/dist/esm-es5/{interfaces-2d8b2aa3.js → interfaces-f63ac6d5.js} +1 -1
- package/dist/esm-es5/{key-8d8e902e.js → key-bd44b82c.js} +1 -1
- package/dist/esm-es5/{label-d68e7f0f.js → label-0e39901c.js} +2 -2
- package/dist/esm-es5/loader.js +2 -2
- package/dist/esm-es5/{locale-93a2218c.js → locale-dc62bd63.js} +2 -2
- package/dist/esm-es5/{math-23d942ef.js → math-cb423b55.js} +1 -1
- package/dist/esm-es5/{observers-64f4a7e9.js → observers-94998aa8.js} +1 -1
- package/dist/esm-es5/{openCloseComponent-fbf6ad68.js → openCloseComponent-f6d7c232.js} +1 -1
- package/dist/esm-es5/{resources-10717072.js → resources-0693d83b.js} +2 -2
- package/dist/esm-es5/{resources-a67dcc05.js → resources-1a9e7ece.js} +2 -2
- package/dist/esm-es5/{resources-9c6ccc78.js → resources-7f3bc078.js} +1 -1
- package/dist/esm-es5/resources-8ed5d9e4.js +6 -0
- package/dist/esm-es5/{resources-05894aef.js → resources-d93a267d.js} +1 -1
- package/dist/esm-es5/{sortable.esm-5a040bf9.js → sortable.esm-b1973873.js} +1 -1
- package/dist/esm-es5/{utils-fa55d6c6.js → utils-e35ad85f.js} +1 -1
- package/dist/extras/docs-json.json +125 -125
- 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 +6 -1
- 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/handle/handle.d.ts +1 -1
- package/dist/types/components/input-date-picker/input-date-picker.d.ts +7 -2
- package/dist/types/components/input-time-picker/input-time-picker.d.ts +1 -1
- package/dist/types/components/pick-list-item/pick-list-item.d.ts +2 -2
- package/dist/types/components/popover/popover.d.ts +6 -1
- package/dist/types/components/radio-button/radio-button.d.ts +2 -2
- package/dist/types/components/scrim/scrim.d.ts +2 -3
- package/dist/types/components/select/select.d.ts +9 -9
- package/dist/types/components/shell/shell.d.ts +5 -5
- package/dist/types/components/shell-center-row/shell-center-row.d.ts +5 -5
- package/dist/types/components/shell-panel/shell-panel.d.ts +10 -10
- package/dist/types/components/slider/slider.d.ts +32 -29
- package/dist/types/components/split-button/split-button.d.ts +24 -20
- package/dist/types/components/stepper/stepper.d.ts +11 -11
- package/dist/types/components/stepper-item/stepper-item.d.ts +15 -15
- package/dist/types/components/switch/switch.d.ts +11 -11
- package/dist/types/components/tooltip/tooltip.d.ts +6 -1
- package/dist/types/components.d.ts +184 -184
- package/dist/types/utils/form.d.ts +3 -2
- 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 +341 -328
- package/package.json +12 -11
- package/readme.md +2 -2
- package/dist/calcite/p-09b4c5d6.system.entry.js +0 -6
- package/dist/calcite/p-0d82783f.system.entry.js +0 -6
- package/dist/calcite/p-1238a41c.js +0 -6
- package/dist/calcite/p-16e5f591.entry.js +0 -6
- package/dist/calcite/p-18fb7ebc.system.entry.js +0 -6
- package/dist/calcite/p-1b0db26c.entry.js +0 -6
- package/dist/calcite/p-1b916f76.system.entry.js +0 -6
- package/dist/calcite/p-1c2e0daa.system.entry.js +0 -6
- package/dist/calcite/p-1d699c3b.system.entry.js +0 -6
- package/dist/calcite/p-1e259c2b.system.entry.js +0 -6
- package/dist/calcite/p-237f6388.entry.js +0 -6
- package/dist/calcite/p-24b189a7.entry.js +0 -6
- package/dist/calcite/p-272a7973.system.entry.js +0 -6
- package/dist/calcite/p-27f691c6.entry.js +0 -6
- package/dist/calcite/p-28aec55e.entry.js +0 -6
- package/dist/calcite/p-2a13ccd7.system.entry.js +0 -6
- package/dist/calcite/p-2a7bd887.entry.js +0 -6
- package/dist/calcite/p-2e449f8b.js +0 -6
- package/dist/calcite/p-2f28e6c6.entry.js +0 -6
- package/dist/calcite/p-318d4e47.system.entry.js +0 -6
- package/dist/calcite/p-31b57443.system.entry.js +0 -6
- package/dist/calcite/p-337de307.system.entry.js +0 -6
- package/dist/calcite/p-35736b65.entry.js +0 -6
- package/dist/calcite/p-374a14fa.entry.js +0 -6
- package/dist/calcite/p-3cd92e8b.js +0 -7
- package/dist/calcite/p-3d1a3386.system.entry.js +0 -6
- package/dist/calcite/p-41f603c6.entry.js +0 -6
- package/dist/calcite/p-443e7cd5.js +0 -6
- package/dist/calcite/p-452dc9cd.entry.js +0 -6
- package/dist/calcite/p-499b4d7f.system.entry.js +0 -6
- package/dist/calcite/p-4b1acc25.entry.js +0 -6
- package/dist/calcite/p-4c59c464.system.entry.js +0 -6
- package/dist/calcite/p-4f381b22.entry.js +0 -6
- package/dist/calcite/p-4fef9785.system.entry.js +0 -6
- package/dist/calcite/p-51686f87.entry.js +0 -6
- package/dist/calcite/p-5277787a.entry.js +0 -6
- package/dist/calcite/p-54f1b900.system.entry.js +0 -6
- package/dist/calcite/p-558eb439.entry.js +0 -6
- package/dist/calcite/p-573b7727.entry.js +0 -6
- package/dist/calcite/p-593dd378.system.entry.js +0 -6
- package/dist/calcite/p-60e29c28.entry.js +0 -6
- package/dist/calcite/p-6124422d.entry.js +0 -6
- package/dist/calcite/p-614577b3.entry.js +0 -6
- package/dist/calcite/p-63e68260.entry.js +0 -6
- package/dist/calcite/p-66b8488f.system.js +0 -7
- package/dist/calcite/p-709f45ca.system.entry.js +0 -6
- package/dist/calcite/p-7560b5cb.entry.js +0 -6
- package/dist/calcite/p-78773123.entry.js +0 -6
- package/dist/calcite/p-787df3d9.entry.js +0 -6
- package/dist/calcite/p-807dbeff.entry.js +0 -6
- package/dist/calcite/p-85f55348.system.entry.js +0 -6
- package/dist/calcite/p-8726c076.system.entry.js +0 -6
- package/dist/calcite/p-899506b7.entry.js +0 -6
- package/dist/calcite/p-8b09e41f.system.entry.js +0 -6
- package/dist/calcite/p-8c074397.entry.js +0 -6
- package/dist/calcite/p-8cca323e.entry.js +0 -6
- package/dist/calcite/p-8dd41a41.system.entry.js +0 -6
- package/dist/calcite/p-8e4bc86a.system.entry.js +0 -6
- package/dist/calcite/p-8f9cd7c2.system.entry.js +0 -6
- package/dist/calcite/p-923cc8f7.entry.js +0 -6
- package/dist/calcite/p-9404368d.entry.js +0 -6
- package/dist/calcite/p-993dc453.js +0 -6
- package/dist/calcite/p-9b3f7af5.system.js +0 -6
- package/dist/calcite/p-9ec5ed46.entry.js +0 -6
- package/dist/calcite/p-9ff0ebb3.system.entry.js +0 -6
- package/dist/calcite/p-a27c7171.entry.js +0 -6
- package/dist/calcite/p-a2e892e5.entry.js +0 -6
- package/dist/calcite/p-a5ef90f9.system.js +0 -6
- package/dist/calcite/p-a6ad3821.entry.js +0 -6
- package/dist/calcite/p-b08b2ad9.system.entry.js +0 -6
- package/dist/calcite/p-b0a6c09b.system.entry.js +0 -6
- package/dist/calcite/p-b1a0f06b.entry.js +0 -6
- package/dist/calcite/p-b25dd020.system.entry.js +0 -6
- package/dist/calcite/p-b8fb2780.entry.js +0 -6
- package/dist/calcite/p-ba9601c8.system.entry.js +0 -6
- package/dist/calcite/p-bc2dc6af.system.entry.js +0 -6
- package/dist/calcite/p-bebb3777.system.entry.js +0 -6
- package/dist/calcite/p-bfb4cbdc.entry.js +0 -6
- package/dist/calcite/p-c26f3841.system.entry.js +0 -6
- package/dist/calcite/p-c8a07e77.system.entry.js +0 -6
- package/dist/calcite/p-cb4235cd.system.entry.js +0 -6
- package/dist/calcite/p-cd5c0d53.system.entry.js +0 -6
- package/dist/calcite/p-cd76ddd3.system.entry.js +0 -6
- package/dist/calcite/p-cdaa1968.entry.js +0 -6
- package/dist/calcite/p-cdd2f5f3.system.entry.js +0 -6
- package/dist/calcite/p-d3126106.entry.js +0 -6
- package/dist/calcite/p-d3bd8e42.entry.js +0 -6
- package/dist/calcite/p-d64ad5b8.entry.js +0 -6
- package/dist/calcite/p-da0d407c.entry.js +0 -6
- package/dist/calcite/p-da190323.system.entry.js +0 -6
- package/dist/calcite/p-da602e55.entry.js +0 -6
- package/dist/calcite/p-dafa6b14.system.entry.js +0 -6
- package/dist/calcite/p-db716c4d.entry.js +0 -6
- package/dist/calcite/p-dce7bd73.entry.js +0 -6
- package/dist/calcite/p-dd371621.system.js +0 -6
- package/dist/calcite/p-de18336c.system.entry.js +0 -6
- package/dist/calcite/p-e17fe6f2.system.entry.js +0 -6
- package/dist/calcite/p-e31a759f.system.entry.js +0 -6
- package/dist/calcite/p-e35ac74b.js +0 -6
- package/dist/calcite/p-e37d3fd0.system.entry.js +0 -6
- package/dist/calcite/p-e629fa5b.system.entry.js +0 -6
- package/dist/calcite/p-e89b1604.entry.js +0 -6
- package/dist/calcite/p-ee43e34c.system.entry.js +0 -6
- package/dist/calcite/p-eedbbe06.entry.js +0 -6
- package/dist/calcite/p-eef36edb.entry.js +0 -6
- package/dist/calcite/p-f285278c.system.entry.js +0 -6
- package/dist/calcite/p-f37111f3.entry.js +0 -6
- package/dist/calcite/p-f5d88620.system.entry.js +0 -6
- package/dist/calcite/p-f8995cf2.system.entry.js +0 -6
- package/dist/esm-es5/Heading-4c268816.js +0 -6
- package/dist/esm-es5/dom-1f4b2c5c.js +0 -6
- package/dist/esm-es5/floating-ui-0c89f0e1.js +0 -6
- package/dist/esm-es5/form-def7282e.js +0 -6
- package/dist/esm-es5/index-5a5db037.js +0 -7
|
@@ -1,759 +1,187 @@
|
|
|
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
|
-
|
|
4
|
+
* v1.0.0-next.559
|
|
5
|
+
*/
|
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client/index.js';
|
|
7
|
+
import { f as focusElement } from './dom.js';
|
|
8
|
+
import { u as updateHostInteraction } from './interactive.js';
|
|
9
|
+
import { f as filter } from './filter.js';
|
|
10
|
+
import { d as defineCustomElement$3 } from './icon.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './input.js';
|
|
12
|
+
import { d as defineCustomElement$1 } from './progress.js';
|
|
13
|
+
import { d as debounce } from './debounce.js';
|
|
14
|
+
|
|
15
|
+
const CSS = {
|
|
16
|
+
container: "container",
|
|
17
|
+
searchIcon: "search-icon"
|
|
18
|
+
};
|
|
19
|
+
const TEXT = {
|
|
20
|
+
filterLabel: "Filter",
|
|
21
|
+
clear: "Clear filter"
|
|
22
|
+
};
|
|
23
|
+
const ICONS = {
|
|
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
|
+
event.preventDefault();
|
|
80
|
+
}
|
|
81
|
+
if (event.key === "Enter") {
|
|
82
|
+
event.preventDefault();
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
this.clear = () => {
|
|
86
|
+
this.value = "";
|
|
87
|
+
this.filter("", true);
|
|
88
|
+
this.setFocus();
|
|
89
|
+
};
|
|
24
90
|
}
|
|
25
|
-
|
|
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;
|
|
91
|
+
watchItemsHandler() {
|
|
92
|
+
this.filter(this.value);
|
|
72
93
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
return arrayMap(value, baseToString) + '';
|
|
94
|
+
valueHandler(value) {
|
|
95
|
+
this.filter(value);
|
|
76
96
|
}
|
|
77
|
-
|
|
78
|
-
|
|
97
|
+
//--------------------------------------------------------------------------
|
|
98
|
+
//
|
|
99
|
+
// Lifecycle
|
|
100
|
+
//
|
|
101
|
+
//--------------------------------------------------------------------------
|
|
102
|
+
componentDidRender() {
|
|
103
|
+
updateHostInteraction(this);
|
|
79
104
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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;
|
|
105
|
+
//--------------------------------------------------------------------------
|
|
106
|
+
//
|
|
107
|
+
// Lifecycle
|
|
108
|
+
//
|
|
109
|
+
//--------------------------------------------------------------------------
|
|
110
|
+
componentWillLoad() {
|
|
111
|
+
this.filter(this.value);
|
|
130
112
|
}
|
|
131
|
-
//
|
|
132
|
-
//
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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);
|
|
113
|
+
// --------------------------------------------------------------------------
|
|
114
|
+
//
|
|
115
|
+
// Public Methods
|
|
116
|
+
//
|
|
117
|
+
// --------------------------------------------------------------------------
|
|
118
|
+
/** Sets focus on the component. */
|
|
119
|
+
async setFocus() {
|
|
120
|
+
focusElement(this.textInput);
|
|
256
121
|
}
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
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);
|
|
122
|
+
updateFiltered(filtered, emit = false) {
|
|
123
|
+
this.filteredItems.length = 0;
|
|
124
|
+
this.filteredItems = this.filteredItems.concat(filtered);
|
|
125
|
+
if (emit) {
|
|
126
|
+
this.calciteFilterChange.emit();
|
|
529
127
|
}
|
|
530
128
|
}
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
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);
|
|
129
|
+
// --------------------------------------------------------------------------
|
|
130
|
+
//
|
|
131
|
+
// Render Methods
|
|
132
|
+
//
|
|
133
|
+
// --------------------------------------------------------------------------
|
|
134
|
+
render() {
|
|
135
|
+
const { disabled, scale } = this;
|
|
136
|
+
return (h(Fragment, null, h("div", { class: CSS.container }, h("label", null, h("calcite-input", { "aria-label": this.intlLabel || TEXT.filterLabel, clearable: true, disabled: disabled, icon: ICONS.search, intlClear: this.intlClear || TEXT.clear, onCalciteInputInput: this.inputHandler, onKeyDown: this.keyDownHandler, placeholder: this.placeholder, ref: (el) => {
|
|
137
|
+
this.textInput = el;
|
|
138
|
+
}, scale: scale, type: "text", value: this.value })))));
|
|
550
139
|
}
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
140
|
+
get el() { return this; }
|
|
141
|
+
static get watchers() { return {
|
|
142
|
+
"items": ["watchItemsHandler"],
|
|
143
|
+
"value": ["valueHandler"]
|
|
144
|
+
}; }
|
|
145
|
+
static get style() { return filterCss; }
|
|
146
|
+
}, [1, "calcite-filter", {
|
|
147
|
+
"items": [1040],
|
|
148
|
+
"disabled": [516],
|
|
149
|
+
"filteredItems": [1040],
|
|
150
|
+
"intlClear": [1, "intl-clear"],
|
|
151
|
+
"intlLabel": [1, "intl-label"],
|
|
152
|
+
"placeholder": [1],
|
|
153
|
+
"scale": [513],
|
|
154
|
+
"value": [1025],
|
|
155
|
+
"setFocus": [64]
|
|
156
|
+
}]);
|
|
157
|
+
function defineCustomElement() {
|
|
158
|
+
if (typeof customElements === "undefined") {
|
|
159
|
+
return;
|
|
558
160
|
}
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
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;
|
|
161
|
+
const components = ["calcite-filter", "calcite-icon", "calcite-input", "calcite-progress"];
|
|
162
|
+
components.forEach(tagName => { switch (tagName) {
|
|
163
|
+
case "calcite-filter":
|
|
164
|
+
if (!customElements.get(tagName)) {
|
|
165
|
+
customElements.define(tagName, Filter);
|
|
632
166
|
}
|
|
633
|
-
|
|
634
|
-
|
|
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;
|
|
167
|
+
break;
|
|
168
|
+
case "calcite-icon":
|
|
169
|
+
if (!customElements.get(tagName)) {
|
|
170
|
+
defineCustomElement$3();
|
|
741
171
|
}
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
172
|
+
break;
|
|
173
|
+
case "calcite-input":
|
|
174
|
+
if (!customElements.get(tagName)) {
|
|
175
|
+
defineCustomElement$2();
|
|
746
176
|
}
|
|
747
|
-
|
|
748
|
-
|
|
177
|
+
break;
|
|
178
|
+
case "calcite-progress":
|
|
179
|
+
if (!customElements.get(tagName)) {
|
|
180
|
+
defineCustomElement$1();
|
|
749
181
|
}
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
return find(item, regex);
|
|
755
|
-
});
|
|
756
|
-
return result;
|
|
757
|
-
};
|
|
182
|
+
break;
|
|
183
|
+
} });
|
|
184
|
+
}
|
|
185
|
+
defineCustomElement();
|
|
758
186
|
|
|
759
|
-
export {
|
|
187
|
+
export { Filter as F, defineCustomElement as d };
|