@wrdagency/blockout 0.1.9 → 1.0.0
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/2NBKRL7C-DHf-2xkD.js +85 -0
- package/dist/{2RSXSRCN-qt84MtKs.js → 2RSXSRCN-bkYY_QT6.js} +23 -23
- package/dist/{4CMBR7SL-BAGv8IL2.js → 4CMBR7SL-BkCeHgv2.js} +31 -31
- package/dist/{5JTVDSTH-CG1NL6Fw.js → 5JTVDSTH-BiHTUReD.js} +27 -27
- package/dist/{5VQZOHHZ-CscZGerP.js → 5VQZOHHZ-BpLDJOFs.js} +1 -1
- package/dist/{6VRAQV3D-2rb_aClP.js → 6VRAQV3D-DIdyGLyW.js} +26 -26
- package/dist/A3WPL2ZJ-SF-cbtmp.js +11 -0
- package/dist/ArrowBendDownRight.es-mejk84um.js +32 -0
- package/dist/BM6PGYQY-D4-MwCVB.js +17 -0
- package/dist/{CaretDown.es-eySGHzTJ.js → CaretDown.es-BKFnosGJ.js} +3 -5
- package/dist/CaretDown.es-eyr5AnCc.js +8 -0
- package/dist/CaretLeft.es-C1wX08tw.js +32 -0
- package/dist/CaretRight.es-vnr78BGI.js +32 -0
- package/dist/DG5U6ZEL-u5QgMA8f.js +17 -0
- package/dist/DotsSixVertical.es-Ixbhxg7Z.js +38 -0
- package/dist/DotsThreeVertical.es-uadrGk3y.js +36 -0
- package/dist/EM5CXX6A-iTR0FDQv.js +14 -0
- package/dist/F5MUBM3I-Cv5aLv5o.js +54 -0
- package/dist/G7GW6PWC-FbNigUHQ.js +1236 -0
- package/dist/J2LQO3EC-DIOM09Y6.js +39 -0
- package/dist/KFH4SEIX-BuapSU1b.js +120 -0
- package/dist/{LMDWO4NN--KEvZePp.js → LMDWO4NN-DyBcLLfK.js} +60 -60
- package/dist/MR26YJYP-BdwVX8xi.js +283 -0
- package/dist/MTZPJQMC-DMklE0XE.js +12 -0
- package/dist/MagnifyingGlass.es-CLstwG_v.js +32 -0
- package/dist/O2PQ2652-CRn371N3.js +51 -0
- package/dist/P7GR5CS5-Btbh4-Mw.js +24 -0
- package/dist/{PFRGBC2K-BEg8ahbY.js → PFRGBC2K-DobANx7W.js} +93 -93
- package/dist/{RS7LB2H4-D0fWv5qu.js → RS7LB2H4-lmOMNc4h.js} +3 -3
- package/dist/RZ4GPYOB-1GOhO1-l.js +37 -0
- package/dist/RadioButton.es-D3QVjfF9.js +36 -0
- package/dist/{S43UC3DV-Dn8EFLaT.js → S43UC3DV-C5JWPIhF.js} +5 -5
- package/dist/{T7VMP3TM-DeRMoW8g.js → T7VMP3TM-DRNGQJpZ.js} +17 -17
- package/dist/{TP7N7UIH-BHb1rEeb.js → TP7N7UIH-DlW_S-4B.js} +13 -13
- package/dist/{UQQRIHDV-Bu8e1bYU.js → UQQRIHDV-eF2M9Cz2.js} +16 -16
- package/dist/{UYGDZTLQ-DcCmv5SE.js → UYGDZTLQ-DRLNvYE6.js} +4 -4
- package/dist/VIIRIBF3-DX-Wjw1-.js +18 -0
- package/dist/WMYDSCNQ-YGSwAHQE.js +62 -0
- package/dist/WYCIER3C-DndYR0iO.js +59 -0
- package/dist/X.es-TbGOnXOO.js +38 -0
- package/dist/{YV4JVR4I-kvospPUa.js → YV4JVR4I-DOlaib2E.js} +33 -33
- package/dist/assets/button.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/prosemirror.css +1 -0
- package/dist/assets/root.css +1 -0
- package/dist/assets/style.css +1 -1
- package/dist/assets/style10.css +1 -0
- package/dist/assets/style11.css +1 -0
- package/dist/assets/style12.css +1 -0
- package/dist/assets/style13.css +1 -0
- package/dist/assets/style14.css +1 -0
- package/dist/assets/style15.css +1 -0
- package/dist/assets/style16.css +1 -0
- package/dist/assets/style17.css +1 -0
- package/dist/assets/style18.css +1 -0
- package/dist/assets/style19.css +1 -0
- package/dist/assets/style2.css +1 -1
- package/dist/assets/style20.css +1 -0
- package/dist/assets/style21.css +1 -0
- package/dist/assets/style22.css +1 -0
- package/dist/assets/style23.css +1 -0
- package/dist/assets/style24.css +1 -0
- package/dist/assets/style25.css +1 -0
- package/dist/assets/style3.css +1 -1
- package/dist/assets/style4.css +1 -1
- package/dist/assets/style5.css +1 -0
- package/dist/assets/style6.css +1 -0
- package/dist/assets/style7.css +1 -0
- package/dist/assets/style8.css +1 -0
- package/dist/assets/style9.css +1 -0
- package/dist/assets/styles2.css +1 -0
- package/dist/assets/styles3.css +1 -0
- package/dist/assets/styles4.css +1 -0
- package/dist/assets/styles5.css +1 -0
- package/dist/base-jB1DIMnz.js +559 -0
- package/dist/commands-IQnqt4xL.js +5937 -0
- package/dist/components/avatar/index.d.ts +10 -0
- package/dist/components/avatar/index.js +42 -0
- package/dist/components/badge/index.d.ts +7 -0
- package/dist/components/badge/index.js +24 -0
- package/dist/components/breadcrumbs/index.d.ts +2 -1
- package/dist/components/breadcrumbs/index.js +31 -63
- package/dist/components/breadcrumbs/types.d.ts +2 -1
- package/dist/components/button/button.d.ts +1 -0
- package/dist/components/button/icon.js +31 -10
- package/dist/components/controls/base-control/affix.d.ts +1 -1
- package/dist/components/controls/base-control/index.js +35 -23
- package/dist/components/controls/base-control/props.d.ts +9 -1
- package/dist/components/controls/base-control/props.js +31 -12
- package/dist/components/controls/base-popover-control/index.js +41 -27
- package/dist/components/controls/card-number-control/cards/index.d.ts +0 -1
- package/dist/components/controls/card-number-control/cards/index.js +6 -8
- package/dist/components/controls/card-number-control/index.js +39 -435
- package/dist/components/controls/checkbox-control/index.d.ts +2 -0
- package/dist/components/controls/checkbox-control/index.js +80 -46
- package/dist/components/controls/choice-control/choice.js +30 -23
- package/dist/components/controls/choice-control/index.js +6 -5
- package/dist/components/controls/date-control/component.d.ts +8 -7
- package/dist/components/controls/date-control/component.js +27 -28
- package/dist/components/controls/date-control/index.d.ts +5 -9
- package/dist/components/controls/date-control/index.js +131 -35
- package/dist/components/controls/date-control/picker.d.ts +8 -0
- package/dist/components/controls/date-control/picker.js +18 -0
- package/dist/components/controls/date-control/types.d.ts +10 -13
- package/dist/components/controls/date-control/types.js +75 -52
- package/dist/components/controls/date-control/util.d.ts +1 -0
- package/dist/components/controls/date-control/util.js +1608 -0
- package/dist/components/controls/index.d.ts +3 -1
- package/dist/components/controls/index.js +32 -27
- package/dist/components/controls/list-control/index.d.ts +9 -0
- package/dist/components/controls/list-control/index.js +42 -0
- package/dist/components/controls/list-control/item.d.ts +10 -0
- package/dist/components/controls/list-control/item.js +108 -0
- package/dist/components/controls/list-control/list.d.ts +10 -0
- package/dist/components/controls/list-control/list.js +89 -0
- package/dist/components/controls/list-control/types.d.ts +6 -0
- package/dist/components/controls/markdown-control/commands.d.ts +1 -0
- package/dist/components/controls/markdown-control/commands.js +5 -0
- package/dist/components/controls/markdown-control/editor.d.ts +8 -0
- package/dist/components/controls/markdown-control/editor.js +807 -0
- package/dist/components/controls/markdown-control/index.d.ts +7 -0
- package/dist/components/controls/markdown-control/index.js +20 -0
- package/dist/components/controls/markdown-control/slash/base.d.ts +14 -0
- package/dist/components/controls/markdown-control/slash/base.js +9 -0
- package/dist/components/controls/markdown-control/slash/mentions.d.ts +6 -0
- package/dist/components/controls/markdown-control/slash/mentions.js +14 -0
- package/dist/components/controls/markdown-control/toolbar.d.ts +6 -0
- package/dist/components/controls/markdown-control/toolbar.js +10 -0
- package/dist/components/controls/number-control/index.js +8 -7
- package/dist/components/controls/password-control/index.js +4 -3
- package/dist/components/controls/recurrence-control/index.js +81 -100
- package/dist/components/controls/select-control/control.d.ts +3 -0
- package/dist/components/controls/select-control/control.js +53 -0
- package/dist/components/controls/select-control/index.d.ts +2 -1
- package/dist/components/controls/select-control/index.js +6 -5
- package/dist/components/controls/select-control/props.d.ts +14 -0
- package/dist/components/controls/select-control/props.js +1 -0
- package/dist/components/controls/select-control/select.d.ts +3 -0
- package/dist/components/controls/select-control/select.js +1186 -0
- package/dist/components/controls/text-control/index.js +11 -10
- package/dist/components/controls/textarea-control/index.js +7 -6
- package/dist/components/controls/toggle-control/index.d.ts +4 -3
- package/dist/components/controls/toggle-control/index.js +73 -53
- package/dist/components/controls/toggle-group-control/index.d.ts +1 -0
- package/dist/components/controls/toggle-group-control/index.js +35 -26
- package/dist/components/data-form/api.d.ts +2 -0
- package/dist/components/data-form/api.js +1826 -0
- package/dist/components/data-form/autosave.d.ts +4 -0
- package/dist/components/data-form/autosave.js +12 -0
- package/dist/components/data-form/context.d.ts +10 -0
- package/dist/components/data-form/context.js +10 -0
- package/dist/components/data-form/form.d.ts +11 -0
- package/dist/components/data-form/form.js +30 -0
- package/dist/components/data-form/index.js +14 -0
- package/dist/components/data-form/row.d.ts +7 -0
- package/dist/components/data-form/row.js +16 -0
- package/dist/components/data-form/status.d.ts +6 -0
- package/dist/components/data-form/status.js +37 -0
- package/dist/components/data-form/submit.d.ts +10 -0
- package/dist/components/data-form/submit.js +37 -0
- package/dist/components/data-form/types.d.ts +37 -0
- package/dist/components/data-form/types.js +1 -0
- package/dist/components/data-view/api.d.ts +24 -0
- package/dist/components/data-view/api.js +31 -0
- package/dist/components/data-view/data/apply.d.ts +10 -0
- package/dist/components/data-view/data/apply.js +346 -0
- package/dist/components/data-view/data/fields.d.ts +4 -0
- package/dist/components/data-view/data/fields.js +26 -0
- package/dist/components/data-view/data/filter.d.ts +8 -0
- package/dist/components/data-view/data/filter.js +48 -0
- package/dist/components/data-view/data/layout.d.ts +2 -0
- package/dist/components/data-view/data/layout.js +19 -0
- package/dist/components/data-view/data/normalize.d.ts +5 -0
- package/dist/components/data-view/data/normalize.js +80 -0
- package/dist/components/data-view/data/options.d.ts +10 -0
- package/dist/components/data-view/data/options.js +297 -0
- package/dist/components/data-view/index.d.ts +5 -0
- package/dist/components/data-view/index.js +9 -0
- package/dist/components/data-view/layouts/grid/empty.d.ts +2 -0
- package/dist/components/data-view/layouts/grid/empty.js +6 -0
- package/dist/components/data-view/layouts/grid/group.d.ts +2 -0
- package/dist/components/data-view/layouts/grid/group.js +57 -0
- package/dist/components/data-view/layouts/grid/index.d.ts +3 -0
- package/dist/components/data-view/layouts/grid/index.js +8 -0
- package/dist/components/data-view/layouts/grid/item.d.ts +2 -0
- package/dist/components/data-view/layouts/grid/item.js +98 -0
- package/dist/components/data-view/layouts/grid/root.d.ts +2 -0
- package/dist/components/data-view/layouts/grid/root.js +6 -0
- package/dist/components/data-view/layouts/kanban/empty.d.ts +2 -0
- package/dist/components/data-view/layouts/kanban/empty.js +6 -0
- package/dist/components/data-view/layouts/kanban/group.d.ts +2 -0
- package/dist/components/data-view/layouts/kanban/group.js +57 -0
- package/dist/components/data-view/layouts/kanban/index.d.ts +3 -0
- package/dist/components/data-view/layouts/kanban/index.js +8 -0
- package/dist/components/data-view/layouts/kanban/item.d.ts +2 -0
- package/dist/components/data-view/layouts/kanban/item.js +98 -0
- package/dist/components/data-view/layouts/kanban/root.d.ts +2 -0
- package/dist/components/data-view/layouts/kanban/root.js +18 -0
- package/dist/components/data-view/layouts/list/empty.d.ts +2 -0
- package/dist/components/data-view/layouts/list/empty.js +6 -0
- package/dist/components/data-view/layouts/list/group.d.ts +2 -0
- package/dist/components/data-view/layouts/list/group.js +57 -0
- package/dist/components/data-view/layouts/list/index.d.ts +3 -0
- package/dist/components/data-view/layouts/list/index.js +8 -0
- package/dist/components/data-view/layouts/list/item.d.ts +2 -0
- package/dist/components/data-view/layouts/list/item.js +77 -0
- package/dist/components/data-view/layouts/list/root.d.ts +2 -0
- package/dist/components/data-view/layouts/list/root.js +6 -0
- package/dist/components/data-view/layouts/table/empty.d.ts +2 -0
- package/dist/components/data-view/layouts/table/empty.js +54 -0
- package/dist/components/data-view/layouts/table/group.d.ts +2 -0
- package/dist/components/data-view/layouts/table/group.js +67 -0
- package/dist/components/data-view/layouts/table/index.d.ts +3 -0
- package/dist/components/data-view/layouts/table/index.js +8 -0
- package/dist/components/data-view/layouts/table/item.d.ts +2 -0
- package/dist/components/data-view/layouts/table/item.js +77 -0
- package/dist/components/data-view/layouts/table/root.d.ts +2 -0
- package/dist/components/data-view/layouts/table/root.js +134 -0
- package/dist/components/data-view/parts/body/empty.d.ts +2 -0
- package/dist/components/data-view/parts/body/empty.js +50 -0
- package/dist/components/data-view/parts/body/index.d.ts +2 -0
- package/dist/components/data-view/parts/body/index.js +64 -0
- package/dist/components/data-view/parts/controls/index.d.ts +5 -0
- package/dist/components/data-view/parts/controls/index.js +139 -0
- package/dist/components/data-view/parts/controls/search.d.ts +5 -0
- package/dist/components/data-view/parts/controls/search.js +77 -0
- package/dist/components/data-view/parts/filters/chip.d.ts +13 -0
- package/dist/components/data-view/parts/filters/chip.js +53 -0
- package/dist/components/data-view/parts/filters/editor.d.ts +10 -0
- package/dist/components/data-view/parts/filters/editor.js +89 -0
- package/dist/components/data-view/parts/filters/index.js +9 -0
- package/dist/components/data-view/parts/filters/list.d.ts +11 -0
- package/dist/components/data-view/parts/filters/list.js +108 -0
- package/dist/components/data-view/parts/filters/utils.d.ts +2 -0
- package/dist/components/data-view/parts/filters/utils.js +13 -0
- package/dist/components/data-view/parts/footer/actions.d.ts +2 -0
- package/dist/components/data-view/parts/footer/actions.js +104 -0
- package/dist/components/data-view/parts/footer/index.js +68 -0
- package/dist/components/data-view/parts/footer/selection.d.ts +2 -0
- package/dist/components/data-view/parts/footer/selection.js +61 -0
- package/dist/components/data-view/parts/index.d.ts +5 -0
- package/dist/components/data-view/parts/index.js +12 -0
- package/dist/components/data-view/parts/view-control/index.d.ts +6 -0
- package/dist/components/data-view/parts/view-control/index.js +215 -0
- package/dist/components/data-view/root.d.ts +18 -0
- package/dist/components/data-view/root.js +105 -0
- package/dist/components/data-view/slots/group/checkbox.d.ts +7 -0
- package/dist/components/data-view/slots/group/checkbox.js +41 -0
- package/dist/components/data-view/slots/group/context.d.ts +12 -0
- package/dist/components/data-view/slots/group/context.js +23 -0
- package/dist/components/data-view/slots/group/icon.d.ts +1 -0
- package/dist/components/data-view/slots/group/icon.js +4 -0
- package/dist/components/data-view/slots/group/index.js +5 -0
- package/dist/components/data-view/slots/group/label.d.ts +3 -0
- package/dist/components/data-view/slots/group/label.js +5 -0
- package/dist/components/data-view/slots/index.d.ts +4 -0
- package/dist/components/data-view/slots/index.js +9 -0
- package/dist/components/data-view/slots/item/actions.d.ts +6 -0
- package/dist/components/data-view/slots/item/actions.js +44 -0
- package/dist/components/data-view/slots/item/checkbox.d.ts +7 -0
- package/dist/components/data-view/slots/item/checkbox.js +87 -0
- package/dist/components/data-view/slots/item/context.d.ts +8 -0
- package/dist/components/data-view/slots/item/context.js +10 -0
- package/dist/components/data-view/slots/item/depth.d.ts +3 -0
- package/dist/components/data-view/slots/item/depth.js +9 -0
- package/dist/components/data-view/slots/item/description.d.ts +3 -0
- package/dist/components/data-view/slots/item/description.js +6 -0
- package/dist/components/data-view/slots/item/index.js +8 -0
- package/dist/components/data-view/slots/item/properties.d.ts +13 -0
- package/dist/components/data-view/slots/item/properties.js +8 -0
- package/dist/components/data-view/slots/item/relations.d.ts +7 -0
- package/dist/components/data-view/slots/item/relations.js +21 -0
- package/dist/components/data-view/slots/item/tags.d.ts +6 -0
- package/dist/components/data-view/slots/item/tags.js +7 -0
- package/dist/components/data-view/slots/item/thumbnail.d.ts +6 -0
- package/dist/components/data-view/slots/item/thumbnail.js +6 -0
- package/dist/components/data-view/slots/item/title.d.ts +3 -0
- package/dist/components/data-view/slots/item/title.js +17 -0
- package/dist/components/data-view/slots/item/util.d.ts +6 -0
- package/dist/components/data-view/slots/item/util.js +6 -0
- package/dist/components/data-view/slots/property/context.d.ts +8 -0
- package/dist/components/data-view/slots/property/context.js +10 -0
- package/dist/components/data-view/slots/property/field/editable.d.ts +3 -0
- package/dist/components/data-view/slots/property/field/editable.js +42 -0
- package/dist/components/data-view/slots/property/field/index.d.ts +3 -0
- package/dist/components/data-view/slots/property/field/index.js +7 -0
- package/dist/components/data-view/slots/property/field/static.d.ts +8 -0
- package/dist/components/data-view/slots/property/field/static.js +7 -0
- package/dist/components/data-view/slots/property/field/types.d.ts +5 -0
- package/dist/components/data-view/slots/property/field/types.js +1 -0
- package/dist/components/data-view/slots/property/index.js +5 -0
- package/dist/components/data-view/slots/property/label.d.ts +7 -0
- package/dist/components/data-view/slots/property/label.js +5 -0
- package/dist/components/data-view/slots/root/checkbox.d.ts +7 -0
- package/dist/components/data-view/slots/root/checkbox.js +40 -0
- package/dist/components/data-view/slots/root/context.d.ts +25 -0
- package/dist/components/data-view/slots/root/context.js +11 -0
- package/dist/components/data-view/slots/root/index.js +5 -0
- package/dist/components/data-view/types/actions.d.ts +15 -0
- package/dist/components/data-view/types/actions.js +1 -0
- package/dist/components/data-view/types/fields.d.ts +69 -0
- package/dist/components/data-view/types/fields.js +1 -0
- package/dist/components/data-view/types/filters.d.ts +19 -0
- package/dist/components/data-view/types/filters.js +1 -0
- package/dist/components/data-view/types/hierarchy.d.ts +13 -0
- package/dist/components/data-view/types/hierarchy.js +1 -0
- package/dist/components/data-view/types/index.d.ts +3 -0
- package/dist/components/data-view/types/index.js +1 -0
- package/dist/components/data-view/types/view.d.ts +47 -0
- package/dist/components/data-view/types/view.js +1 -0
- package/dist/components/filesystem/file.js +1 -1
- package/dist/components/filesystem/folder.js +46 -45
- package/dist/components/filesystem/index.js +1 -1
- package/dist/components/filesystem/list.js +1 -1
- package/dist/components/filesystem/root.js +1 -1
- package/dist/components/form/components/pagination.js +72 -17
- package/dist/components/index.d.ts +7 -2
- package/dist/components/index.js +69 -50
- package/dist/components/menu/index.d.ts +4 -0
- package/dist/components/menu/index.js +40 -129
- package/dist/components/menu/item.js +1 -1
- package/dist/components/menu/items/action.js +2 -1
- package/dist/components/menu/items/spacer.js +5 -5
- package/dist/components/menu/items/submenu.js +4 -3
- package/dist/components/menu/items/toggle.js +11 -10
- package/dist/components/menu/types.d.ts +1 -0
- package/dist/components/pagination/index.d.ts +10 -0
- package/dist/components/pagination/index.js +63 -0
- package/dist/components/progress/index.d.ts +2 -1
- package/dist/components/progress/index.js +29 -20
- package/dist/components/shell/index.js +8 -0
- package/dist/components/shell/pane.d.ts +9 -0
- package/dist/components/shell/pane.js +38 -0
- package/dist/components/shell/root.d.ts +6 -0
- package/dist/components/shell/root.js +18 -0
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/list.js +6 -6
- package/dist/components/tabs/panel.js +36 -35
- package/dist/components/tabs/root.js +42 -42
- package/dist/components/tabs/tab.js +15 -15
- package/dist/components/tag/index.js +8 -0
- package/dist/components/tag/list.d.ts +8 -0
- package/dist/components/tag/list.js +10 -0
- package/dist/components/tag/tag.d.ts +8 -0
- package/dist/components/tag/tag.js +26 -0
- package/dist/components/tag/types.d.ts +6 -0
- package/dist/components/tag/types.js +1 -0
- package/dist/components/toolbar/divider.d.ts +6 -0
- package/dist/components/toolbar/divider.js +24 -0
- package/dist/components/toolbar/index.js +19 -15
- package/dist/components/toolbar/root.js +67 -4
- package/dist/components/window/index.d.ts +8 -0
- package/dist/components/window/index.js +54 -0
- package/dist/{composite-provider-DNftbE5U.js → composite-provider-cs4korvf.js} +4 -4
- package/dist/filter-HYEwffYa.js +133 -0
- package/dist/floating-ui.dom-2MezWvgs.js +1070 -0
- package/dist/hooks/index.d.ts +4 -1
- package/dist/hooks/index.js +10 -4
- package/dist/hooks/input.js +13 -13
- package/dist/hooks/keyboard.d.ts +7 -0
- package/dist/hooks/keyboard.js +40 -0
- package/dist/hooks/selection.d.ts +19 -0
- package/dist/hooks/selection.js +57 -0
- package/dist/hooks/state.js +3 -3
- package/dist/hooks/temporary.d.ts +7 -0
- package/dist/hooks/temporary.js +12 -0
- package/dist/index-C2R91pmO.js +251 -0
- package/dist/index-CwFPDtaz.js +172 -0
- package/dist/index-D7vLJIGX.js +90 -0
- package/dist/index-DgyEPQBp.js +55 -0
- package/dist/index-EPj3dCzl.js +16324 -0
- package/dist/index-EQOyE9yF.js +73 -0
- package/dist/index.js +112 -63
- package/dist/item-B72AQ4I4.js +470 -0
- package/dist/picker-D0DleQso.js +858 -0
- package/dist/primitives/colourway/index.d.ts +9 -0
- package/dist/primitives/colourway/index.js +26 -0
- package/dist/primitives/colourway/util.d.ts +2 -0
- package/dist/primitives/colourway/util.js +146 -0
- package/dist/primitives/icon-label/index.d.ts +8 -0
- package/dist/primitives/icon-label/index.js +23 -0
- package/dist/primitives/index.d.ts +7 -0
- package/dist/primitives/index.js +34 -10
- package/dist/primitives/link/index.d.ts +5 -0
- package/dist/primitives/link/index.js +24 -0
- package/dist/primitives/popover/index.js +10 -0
- package/dist/primitives/popover/root.d.ts +10 -0
- package/dist/primitives/popover/root.js +5 -0
- package/dist/primitives/popover/target.d.ts +7 -0
- package/dist/primitives/popover/target.js +18 -0
- package/dist/primitives/popover/window.d.ts +6 -0
- package/dist/primitives/popover/window.js +38 -0
- package/dist/primitives/resizable/index.js +43 -32
- package/dist/primitives/scroll-area/index.js +4 -5
- package/dist/primitives/symbol/danger.d.ts +6 -0
- package/dist/primitives/symbol/danger.js +83 -0
- package/dist/primitives/symbol/index.d.ts +5 -0
- package/dist/primitives/symbol/index.js +12 -0
- package/dist/primitives/symbol/progress.d.ts +6 -0
- package/dist/primitives/symbol/progress.js +162 -0
- package/dist/primitives/symbol/types.d.ts +5 -0
- package/dist/primitives/symbol/types.js +1 -0
- package/dist/primitives/tooltip/index.d.ts +7 -0
- package/dist/primitives/tooltip/index.js +178 -0
- package/dist/primitives/truncate/index.js +14 -13
- package/dist/primitives/typography/heading.d.ts +16 -0
- package/dist/primitives/typography/heading.js +50 -0
- package/dist/primitives/typography/index.d.ts +2 -0
- package/dist/primitives/typography/index.js +12 -0
- package/dist/primitives/typography/paragraph.d.ts +9 -0
- package/dist/primitives/typography/paragraph.js +25 -0
- package/dist/protectedTokens-DdjZoCxO.js +587 -0
- package/dist/root-j6NM_Xfo.js +20 -0
- package/dist/sortable.esm-De3H-_AA.js +3009 -0
- package/dist/style-A7_0w2WD.js +397 -0
- package/dist/style-Bp4uISf6.js +670 -0
- package/dist/toolbar-j1SJvq8D.js +6283 -0
- package/dist/types/component.d.ts +1 -0
- package/dist/types/options.d.ts +1 -0
- package/dist/types/options.js +8 -2
- package/dist/types/util.d.ts +1 -0
- package/dist/types/util.js +1 -0
- package/dist/utils/array.d.ts +1 -0
- package/dist/utils/array.js +9 -0
- package/dist/utils/components.d.ts +2 -1
- package/dist/utils/components.js +11 -7
- package/dist/utils/object.d.ts +1 -0
- package/dist/utils/object.js +8 -0
- package/dist/utils/url.d.ts +1 -0
- package/dist/utils/url.js +6 -0
- package/package.json +23 -3
- package/dist/2NBKRL7C-BAzCMGOw.js +0 -85
- package/dist/ArrowRight.es-xyNbtVOa.js +0 -60
- package/dist/DG5U6ZEL-CVj-Czp2.js +0 -17
- package/dist/F5MUBM3I-87B2_4WK.js +0 -54
- package/dist/MTZPJQMC-DyCWBG18.js +0 -14
- package/dist/P7GR5CS5-BoOYUfSQ.js +0 -19
- package/dist/RZ4GPYOB-13-5LlEb.js +0 -37
- package/dist/VIIRIBF3-D5DmZNtI.js +0 -26
- package/dist/WMYDSCNQ-Dy1O-Kdl.js +0 -2405
- package/dist/WYCIER3C-DRn904Gy.js +0 -175
- package/dist/components/block-editor/editor.d.ts +0 -5
- package/dist/components/block-editor/editor.js +0 -6
- package/dist/components/block-editor/index.d.ts +0 -1
- package/dist/components/block-editor/index.js +0 -4
- package/dist/components/controls/card-number-control/cards/generic.d.ts +0 -2
- package/dist/components/controls/card-number-control/cards/generic.js +0 -19
- package/dist/components/controls/select-control/component.d.ts +0 -12
- package/dist/components/controls/select-control/component.js +0 -1892
- package/dist/components/data-table/column.d.ts +0 -4
- package/dist/components/data-table/column.js +0 -874
- package/dist/components/data-table/context.d.ts +0 -7
- package/dist/components/data-table/context.js +0 -36
- package/dist/components/data-table/example.d.ts +0 -1
- package/dist/components/data-table/example.js +0 -5
- package/dist/components/data-table/footer.js +0 -23
- package/dist/components/data-table/header.d.ts +0 -7
- package/dist/components/data-table/header.js +0 -358
- package/dist/components/data-table/index.d.ts +0 -10
- package/dist/components/data-table/index.js +0 -86
- package/dist/components/data-table/types.d.ts +0 -75
- package/dist/hooks/theme.d.ts +0 -8
- package/dist/hooks/theme.js +0 -14
- package/dist/index-1AjPIqTN.js +0 -73
- package/dist/item-B1ugJ7YQ.js +0 -764
- package/dist/root-CaKPdqzv.js +0 -73
- /package/dist/components/{data-table → controls/list-control}/types.js +0 -0
- /package/dist/components/{data-table/footer.d.ts → data-view/parts/footer/index.d.ts} +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ColumnDef, Table } from './types';
|
|
2
|
-
export declare const dataTableContext: import('react').Context<Table<unknown>>;
|
|
3
|
-
export declare function useDataTable<T>(): Table<T>;
|
|
4
|
-
export declare function createDataTable<T>(opts: {
|
|
5
|
-
columns: ColumnDef<T>[];
|
|
6
|
-
data: T[];
|
|
7
|
-
}): Table<T>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { createContext as u, useContext as f, useMemo as a, useState as p } from "react";
|
|
2
|
-
import { normalizeColumn as C, createColumn as D, createColumnSorter as x } from "./column.js";
|
|
3
|
-
const b = u(null);
|
|
4
|
-
function U() {
|
|
5
|
-
return f(b);
|
|
6
|
-
}
|
|
7
|
-
function h(l) {
|
|
8
|
-
const { columns: s, data: c } = l, n = a(
|
|
9
|
-
() => s.map(C),
|
|
10
|
-
[s]
|
|
11
|
-
), [o, i] = p(
|
|
12
|
-
n.map((e) => ({
|
|
13
|
-
id: e.id,
|
|
14
|
-
isSticky: !1,
|
|
15
|
-
isHidden: !1,
|
|
16
|
-
width: 50,
|
|
17
|
-
sortDirection: "none"
|
|
18
|
-
}))
|
|
19
|
-
), m = a(
|
|
20
|
-
() => n.map((e) => D(e, o, i)).sort(x(o)),
|
|
21
|
-
[n, o, i]
|
|
22
|
-
), t = o.find((e) => e.sortDirection !== "none"), r = m.find((e) => e.id === (t == null ? void 0 : t.id));
|
|
23
|
-
return {
|
|
24
|
-
data: a(() => {
|
|
25
|
-
var d;
|
|
26
|
-
const e = c.sort((d = r == null ? void 0 : r.sort) == null ? void 0 : d.compare);
|
|
27
|
-
return (t == null ? void 0 : t.sortDirection) === "ascending" ? e : e.reverse();
|
|
28
|
-
}, [c, o]),
|
|
29
|
-
columns: m
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
export {
|
|
33
|
-
h as createDataTable,
|
|
34
|
-
b as dataTableContext,
|
|
35
|
-
U as useDataTable
|
|
36
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function ExampleDataTable(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { cn as n } from "../../utils/css.js";
|
|
3
|
-
import { useDataTable as r } from "./context.js";
|
|
4
|
-
const s = () => {
|
|
5
|
-
const { columns: o, data: e } = r();
|
|
6
|
-
return /* @__PURE__ */ a("tfoot", { className: "component-data-table__tfoot", children: /* @__PURE__ */ a("tr", { className: "component-data-table__tr", children: o.filter((t) => !t.visibility.hidden).map((t) => /* @__PURE__ */ a(
|
|
7
|
-
"td",
|
|
8
|
-
{
|
|
9
|
-
className: n(
|
|
10
|
-
"component-data-table__td",
|
|
11
|
-
t.sticky.stuck && "component-data-table__td--sticky"
|
|
12
|
-
),
|
|
13
|
-
children: t.footer({
|
|
14
|
-
column: t,
|
|
15
|
-
data: e
|
|
16
|
-
})
|
|
17
|
-
},
|
|
18
|
-
t.id
|
|
19
|
-
)) }) });
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
s as Footer
|
|
23
|
-
};
|
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
import { jsx as c, jsxs as A, Fragment as g } from "react/jsx-runtime";
|
|
2
|
-
import { cn as H } from "../../utils/css.js";
|
|
3
|
-
import * as a from "react";
|
|
4
|
-
import { useMemo as L } from "react";
|
|
5
|
-
import { Resizable as f } from "../../primitives/resizable/index.js";
|
|
6
|
-
import '../../assets/styles.css';import '../../assets/style4.css';import '../../assets/style3.css';/* empty css */
|
|
7
|
-
/* empty css */
|
|
8
|
-
/* empty css */
|
|
9
|
-
import { o as F, a as v } from "../../ArrowRight.es-xyNbtVOa.js";
|
|
10
|
-
import { w as l } from "../../SSRBase.es-BUXS72ra.js";
|
|
11
|
-
import { e as y } from "../../CaretDown.es-eySGHzTJ.js";
|
|
12
|
-
import { r as b } from "../../CaretUp.es-Cy8czlHG.js";
|
|
13
|
-
import { Menu as C } from "../menu/index.js";
|
|
14
|
-
import { useDataTable as w } from "./context.js";
|
|
15
|
-
const k = /* @__PURE__ */ new Map([
|
|
16
|
-
[
|
|
17
|
-
"bold",
|
|
18
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M236,128a12,12,0,0,1-12,12H109l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L109,116H224A12,12,0,0,1,236,128ZM40,28A12,12,0,0,0,28,40V216a12,12,0,0,0,24,0V40A12,12,0,0,0,40,28Z" }))
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
"duotone",
|
|
22
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M144,56V200L72,128Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M224,120H152V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,152,200V136h72a8,8,0,0,0,0-16Zm-88,60.69L83.31,128,136,75.31ZM48,40V216a8,8,0,0,1-16,0V40a8,8,0,0,1,16,0Z" }))
|
|
23
|
-
],
|
|
24
|
-
[
|
|
25
|
-
"fill",
|
|
26
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M48,40V216a8,8,0,0,1-16,0V40a8,8,0,0,1,16,0Zm176,80H152V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,152,200V136h72a8,8,0,0,0,0-16Z" }))
|
|
27
|
-
],
|
|
28
|
-
[
|
|
29
|
-
"light",
|
|
30
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M230,128a6,6,0,0,1-6,6H86.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L86.49,122H224A6,6,0,0,1,230,128ZM40,34a6,6,0,0,0-6,6V216a6,6,0,0,0,12,0V40A6,6,0,0,0,40,34Z" }))
|
|
31
|
-
],
|
|
32
|
-
[
|
|
33
|
-
"regular",
|
|
34
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M232,128a8,8,0,0,1-8,8H91.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L91.31,120H224A8,8,0,0,1,232,128ZM40,32a8,8,0,0,0-8,8V216a8,8,0,0,0,16,0V40A8,8,0,0,0,40,32Z" }))
|
|
35
|
-
],
|
|
36
|
-
[
|
|
37
|
-
"thin",
|
|
38
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M228,128a4,4,0,0,1-4,4H81.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,1,1,5.66,5.66L81.66,124H224A4,4,0,0,1,228,128ZM40,36a4,4,0,0,0-4,4V216a4,4,0,0,0,8,0V40A4,4,0,0,0,40,36Z" }))
|
|
39
|
-
]
|
|
40
|
-
]), h = a.forwardRef((t, e) => /* @__PURE__ */ a.createElement(l, { ref: e, ...t, weights: k }));
|
|
41
|
-
h.displayName = "ArrowLineLeftIcon";
|
|
42
|
-
const _ = /* @__PURE__ */ new Map([
|
|
43
|
-
[
|
|
44
|
-
"bold",
|
|
45
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M184.49,119.51a12,12,0,0,1,0,17l-72,72a12,12,0,0,1-17-17L147,140H32a12,12,0,0,1,0-24H147L95.51,64.49a12,12,0,0,1,17-17ZM216,28a12,12,0,0,0-12,12V216a12,12,0,0,0,24,0V40A12,12,0,0,0,216,28Z" }))
|
|
46
|
-
],
|
|
47
|
-
[
|
|
48
|
-
"duotone",
|
|
49
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M184,128l-72,72V56Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M117.66,50.34A8,8,0,0,0,104,56v64H32a8,8,0,0,0,0,16h72v64a8,8,0,0,0,13.66,5.66l72-72a8,8,0,0,0,0-11.32ZM120,180.69V75.31L172.69,128ZM224,40V216a8,8,0,0,1-16,0V40a8,8,0,0,1,16,0Z" }))
|
|
50
|
-
],
|
|
51
|
-
[
|
|
52
|
-
"fill",
|
|
53
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,40V216a8,8,0,0,1-16,0V40a8,8,0,0,1,16,0ZM117.66,50.34A8,8,0,0,0,104,56v64H32a8,8,0,0,0,0,16h72v64a8,8,0,0,0,13.66,5.66l72-72a8,8,0,0,0,0-11.32Z" }))
|
|
54
|
-
],
|
|
55
|
-
[
|
|
56
|
-
"light",
|
|
57
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M188.24,123.76a6,6,0,0,1,0,8.48l-72,72a6,6,0,0,1-8.48-8.48L169.51,134H32a6,6,0,0,1,0-12H169.51L107.76,60.24a6,6,0,0,1,8.48-8.48ZM216,34a6,6,0,0,0-6,6V216a6,6,0,0,0,12,0V40A6,6,0,0,0,216,34Z" }))
|
|
58
|
-
],
|
|
59
|
-
[
|
|
60
|
-
"regular",
|
|
61
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M189.66,122.34a8,8,0,0,1,0,11.32l-72,72a8,8,0,0,1-11.32-11.32L164.69,136H32a8,8,0,0,1,0-16H164.69L106.34,61.66a8,8,0,0,1,11.32-11.32ZM216,32a8,8,0,0,0-8,8V216a8,8,0,0,0,16,0V40A8,8,0,0,0,216,32Z" }))
|
|
62
|
-
],
|
|
63
|
-
[
|
|
64
|
-
"thin",
|
|
65
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M186.83,125.17a4,4,0,0,1,0,5.66l-72,72a4,4,0,0,1-5.66-5.66L174.34,132H32a4,4,0,0,1,0-8H174.34L109.17,58.83a4,4,0,0,1,5.66-5.66ZM216,36a4,4,0,0,0-4,4V216a4,4,0,0,0,8,0V40A4,4,0,0,0,216,36Z" }))
|
|
66
|
-
]
|
|
67
|
-
]), Z = a.forwardRef((t, e) => /* @__PURE__ */ a.createElement(l, { ref: e, ...t, weights: _ }));
|
|
68
|
-
Z.displayName = "ArrowLineRightIcon";
|
|
69
|
-
const $ = /* @__PURE__ */ new Map([
|
|
70
|
-
[
|
|
71
|
-
"bold",
|
|
72
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z" }))
|
|
73
|
-
],
|
|
74
|
-
[
|
|
75
|
-
"duotone",
|
|
76
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
|
|
77
|
-
"path",
|
|
78
|
-
{
|
|
79
|
-
d: "M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",
|
|
80
|
-
opacity: "0.2"
|
|
81
|
-
}
|
|
82
|
-
), /* @__PURE__ */ a.createElement("path", { d: "M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z" }))
|
|
83
|
-
],
|
|
84
|
-
[
|
|
85
|
-
"fill",
|
|
86
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z" }))
|
|
87
|
-
],
|
|
88
|
-
[
|
|
89
|
-
"light",
|
|
90
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z" }))
|
|
91
|
-
],
|
|
92
|
-
[
|
|
93
|
-
"regular",
|
|
94
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z" }))
|
|
95
|
-
],
|
|
96
|
-
[
|
|
97
|
-
"thin",
|
|
98
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z" }))
|
|
99
|
-
]
|
|
100
|
-
]), d = a.forwardRef((t, e) => /* @__PURE__ */ a.createElement(l, { ref: e, ...t, weights: $ }));
|
|
101
|
-
d.displayName = "EyeSlashIcon";
|
|
102
|
-
const N = /* @__PURE__ */ new Map([
|
|
103
|
-
[
|
|
104
|
-
"bold",
|
|
105
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M234.29,47.91A20,20,0,0,0,216,36H40A20,20,0,0,0,25.2,69.45l.12.14L92,140.75V216a20,20,0,0,0,31.1,16.64l32-21.33A20,20,0,0,0,164,194.66V140.75l66.67-71.16.12-.14A20,20,0,0,0,234.29,47.91Zm-91,79.89A12,12,0,0,0,140,136v56.52l-24,16V136a12,12,0,0,0-3.25-8.2L49.23,60H206.77Z" }))
|
|
106
|
-
],
|
|
107
|
-
[
|
|
108
|
-
"duotone",
|
|
109
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
|
|
110
|
-
"path",
|
|
111
|
-
{
|
|
112
|
-
d: "M221.9,61.38,152,136v58.65a8,8,0,0,1-3.56,6.66l-32,21.33A8,8,0,0,1,104,216V136L34.1,61.38A8,8,0,0,1,40,48H216A8,8,0,0,1,221.9,61.38Z",
|
|
113
|
-
opacity: "0.2"
|
|
114
|
-
}
|
|
115
|
-
), /* @__PURE__ */ a.createElement("path", { d: "M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z" }))
|
|
116
|
-
],
|
|
117
|
-
[
|
|
118
|
-
"fill",
|
|
119
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M227.81,66.76l-.08.09L160,139.17v55.49A16,16,0,0,1,152.87,208l-32,21.34A16,16,0,0,1,96,216V139.17L28.27,66.85l-.08-.09A16,16,0,0,1,40,40H216a16,16,0,0,1,11.84,26.76Z" }))
|
|
120
|
-
],
|
|
121
|
-
[
|
|
122
|
-
"light",
|
|
123
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M228.77,50.34A13.8,13.8,0,0,0,216,42H40A14,14,0,0,0,29.67,65.42l.06.07L98,138.38V216a14,14,0,0,0,21.77,11.64l32-21.33A14,14,0,0,0,158,194.66V138.38l68.33-73A13.82,13.82,0,0,0,228.77,50.34Zm-11.26,6.94L147.62,131.9A6,6,0,0,0,146,136v58.66a2,2,0,0,1-.89,1.67l-32,21.33A2,2,0,0,1,110,216V136a6,6,0,0,0-1.62-4.1L38.53,57.32A2,2,0,0,1,40,54H216a1.9,1.9,0,0,1,1.83,1.19A1.86,1.86,0,0,1,217.51,57.28Z" }))
|
|
124
|
-
],
|
|
125
|
-
[
|
|
126
|
-
"regular",
|
|
127
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm106.18,74.58A8,8,0,0,0,144,136v58.66L112,216V136a8,8,0,0,0-2.16-5.47L40,56H216Z" }))
|
|
128
|
-
],
|
|
129
|
-
[
|
|
130
|
-
"thin",
|
|
131
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M227,51.15A11.85,11.85,0,0,0,216,44H40a12,12,0,0,0-8.88,20.07l.05.05L100,137.59V216a12,12,0,0,0,18.66,10l32-21.33a12,12,0,0,0,5.35-10V137.59l68.86-73.52A11.85,11.85,0,0,0,227,51.15Zm-8,7.5-69.9,74.62A4,4,0,0,0,148,136v58.65a4,4,0,0,1-1.78,3.33l-32,21.33A4,4,0,0,1,108,216V136a4,4,0,0,0-1.08-2.74L37.05,58.67A4,4,0,0,1,40,52H216a4,4,0,0,1,3,6.65Z" }))
|
|
132
|
-
]
|
|
133
|
-
]), p = a.forwardRef((t, e) => /* @__PURE__ */ a.createElement(l, { ref: e, ...t, weights: N }));
|
|
134
|
-
p.displayName = "FunnelIcon";
|
|
135
|
-
const R = /* @__PURE__ */ new Map([
|
|
136
|
-
[
|
|
137
|
-
"bold",
|
|
138
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M188,44a32,32,0,0,0-8,1V44a32,32,0,0,0-60.79-14A32,32,0,0,0,76,60v50.83a32,32,0,0,0-52,36.7C55.82,214.6,75.35,244,128,244a92.1,92.1,0,0,0,92-92V76A32,32,0,0,0,188,44Zm8,108a68.08,68.08,0,0,1-68,68c-35.83,0-49.71-14-82.48-83.14-.14-.29-.29-.58-.45-.86a8,8,0,0,1,13.85-8l.21.35,18.68,30A12,12,0,0,0,100,152V60a8,8,0,0,1,16,0v60a12,12,0,0,0,24,0V44a8,8,0,0,1,16,0v76a12,12,0,0,0,24,0V76a8,8,0,0,1,16,0Z" }))
|
|
139
|
-
],
|
|
140
|
-
[
|
|
141
|
-
"duotone",
|
|
142
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
|
|
143
|
-
"path",
|
|
144
|
-
{
|
|
145
|
-
d: "M208,76v76a80,80,0,0,1-80,80c-44.18,0-60.75-21.28-93.32-90a20,20,0,0,1,34.64-20L88,152V60a20,20,0,0,1,40,0V44a20,20,0,0,1,40,0V76a20,20,0,0,1,40,0Z",
|
|
146
|
-
opacity: "0.2"
|
|
147
|
-
}
|
|
148
|
-
), /* @__PURE__ */ a.createElement("path", { d: "M188,48a27.75,27.75,0,0,0-12,2.71V44a28,28,0,0,0-54.65-8.6A28,28,0,0,0,80,60v64l-3.82-6.13a28,28,0,0,0-48.6,27.82c16,33.77,28.93,57.72,43.72,72.69C86.24,233.54,103.2,240,128,240a88.1,88.1,0,0,0,88-88V76A28,28,0,0,0,188,48Zm12,104a72.08,72.08,0,0,1-72,72c-20.38,0-33.51-4.88-45.33-16.85C69.44,193.74,57.26,171,41.9,138.58a6.36,6.36,0,0,0-.3-.58,12,12,0,0,1,20.79-12,1.76,1.76,0,0,0,.14.23l18.67,30A8,8,0,0,0,96,152V60a12,12,0,0,1,24,0v60a8,8,0,0,0,16,0V44a12,12,0,0,1,24,0v76a8,8,0,0,0,16,0V76a12,12,0,0,1,24,0Z" }))
|
|
149
|
-
],
|
|
150
|
-
[
|
|
151
|
-
"fill",
|
|
152
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M216,64v90.93c0,46.2-36.85,84.55-83,85.06A83.71,83.71,0,0,1,72.6,215.4C50.79,192.33,26.15,136,26.15,136a16,16,0,0,1,6.53-22.23c7.66-4,17.1-.84,21.4,6.62l21,36.44a6.09,6.09,0,0,0,6,3.09l.12,0A8.19,8.19,0,0,0,88,151.74V48a16,16,0,0,1,16.77-16c8.61.4,15.23,7.82,15.23,16.43V112a8,8,0,0,0,8.53,8,8.17,8.17,0,0,0,7.47-8.25V32a16,16,0,0,1,16.77-16c8.61.4,15.23,7.82,15.23,16.43V120a8,8,0,0,0,8.53,8,8.17,8.17,0,0,0,7.47-8.25V64.45c0-8.61,6.62-16,15.23-16.43A16,16,0,0,1,216,64Z" }))
|
|
153
|
-
],
|
|
154
|
-
[
|
|
155
|
-
"light",
|
|
156
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M188,50a25.8,25.8,0,0,0-14,4.11V44a26,26,0,0,0-51.41-5.51A26,26,0,0,0,82,60v71l-7.53-12.1a26,26,0,0,0-45.11,25.87C60.76,211,78.51,238,128,238a86.1,86.1,0,0,0,86-86V76A26,26,0,0,0,188,50Zm14,102a74.09,74.09,0,0,1-74,74c-21,0-34.51-5.05-46.75-17.45C67.81,195,55.54,172,40.1,139.43l-.23-.43a14,14,0,0,1,24.25-14l.1.17,18.68,30A6,6,0,0,0,94,152V60a14,14,0,0,1,28,0v60a6,6,0,0,0,12,0V44a14,14,0,0,1,28,0v76a6,6,0,0,0,12,0V76a14,14,0,0,1,28,0Z" }))
|
|
157
|
-
],
|
|
158
|
-
[
|
|
159
|
-
"regular",
|
|
160
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M188,48a27.75,27.75,0,0,0-12,2.71V44a28,28,0,0,0-54.65-8.6A28,28,0,0,0,80,60v64l-3.82-6.13a28,28,0,0,0-48.6,27.82c16,33.77,28.93,57.72,43.72,72.69C86.24,233.54,103.2,240,128,240a88.1,88.1,0,0,0,88-88V76A28,28,0,0,0,188,48Zm12,104a72.08,72.08,0,0,1-72,72c-20.38,0-33.51-4.88-45.33-16.85C69.44,193.74,57.26,171,41.9,138.58a6.36,6.36,0,0,0-.3-.58,12,12,0,0,1,20.79-12,1.76,1.76,0,0,0,.14.23l18.67,30A8,8,0,0,0,96,152V60a12,12,0,0,1,24,0v60a8,8,0,0,0,16,0V44a12,12,0,0,1,24,0v76a8,8,0,0,0,16,0V76a12,12,0,0,1,24,0Z" }))
|
|
161
|
-
],
|
|
162
|
-
[
|
|
163
|
-
"thin",
|
|
164
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M188,52a23.9,23.9,0,0,0-16,6.13V44a24,24,0,0,0-47.93-1.8A24,24,0,0,0,84,60v78L72.75,119.94a24,24,0,0,0-41.62,23.92C64.44,214.12,82.17,236,128,236a84.09,84.09,0,0,0,84-84V76A24,24,0,0,0,188,52Zm16,100a76.09,76.09,0,0,1-76,76c-37.29,0-53.59-11.51-89.71-87.71l-.15-.29a16,16,0,0,1,27.71-16,.75.75,0,0,1,.07.12l18.68,30A4,4,0,0,0,92,152V60a16,16,0,0,1,32,0v60a4,4,0,0,0,8,0V44a16,16,0,0,1,32,0v76a4,4,0,0,0,8,0V76a16,16,0,0,1,32,0Z" }))
|
|
165
|
-
]
|
|
166
|
-
]), s = a.forwardRef((t, e) => /* @__PURE__ */ a.createElement(l, { ref: e, ...t, weights: R }));
|
|
167
|
-
s.displayName = "HandIcon";
|
|
168
|
-
const I = /* @__PURE__ */ new Map([
|
|
169
|
-
[
|
|
170
|
-
"bold",
|
|
171
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M238.15,78.54,177.46,17.86a20,20,0,0,0-28.3,0L97.2,70c-12.43-3.33-36.68-5.72-61.74,14.5a20,20,0,0,0-1.6,29.73l45.46,45.47-39.8,39.8a12,12,0,0,0,17,17l39.8-39.81,45.47,45.46A20,20,0,0,0,155.91,228c.46,0,.93,0,1.4-.05A20,20,0,0,0,171.87,220c4.69-6.23,11-16.13,14.44-28s3.45-22.88.16-33.4l51.7-51.87A20,20,0,0,0,238.15,78.54Zm-74.26,68.79a12,12,0,0,0-2.23,13.84c3.43,6.86,6.9,21-6.28,40.65L54.08,100.53c21.09-14.59,39.53-6.64,41-6a11.67,11.67,0,0,0,13.81-2.29l54.43-54.61,55,55Z" }))
|
|
172
|
-
],
|
|
173
|
-
[
|
|
174
|
-
"duotone",
|
|
175
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
|
|
176
|
-
"path",
|
|
177
|
-
{
|
|
178
|
-
d: "M229.66,98.34,172.39,155.8c11.46,22.93-1.72,45.86-10.11,57a8,8,0,0,1-12,.83L42.34,105.76A8,8,0,0,1,43,93.85c29.65-23.92,57.4-10,57.4-10l57.27-57.46a8,8,0,0,1,11.31,0L229.66,87A8,8,0,0,1,229.66,98.34Z",
|
|
179
|
-
opacity: "0.2"
|
|
180
|
-
}
|
|
181
|
-
), /* @__PURE__ */ a.createElement("path", { d: "M235.32,81.37,174.63,20.69a16,16,0,0,0-22.63,0L98.37,74.49c-10.66-3.34-35-7.37-60.4,13.14a16,16,0,0,0-1.29,23.78L85,159.71,42.34,202.34a8,8,0,0,0,11.32,11.32L96.29,171l48.29,48.29A16,16,0,0,0,155.9,224c.38,0,.75,0,1.13,0a15.93,15.93,0,0,0,11.64-6.33c19.64-26.1,17.75-47.32,13.19-60L235.33,104A16,16,0,0,0,235.32,81.37ZM224,92.69h0l-57.27,57.46a8,8,0,0,0-1.49,9.22c9.46,18.93-1.8,38.59-9.34,48.62L48,100.08c12.08-9.74,23.64-12.31,32.48-12.31A40.13,40.13,0,0,1,96.81,91a8,8,0,0,0,9.25-1.51L163.32,32,224,92.68Z" }))
|
|
182
|
-
],
|
|
183
|
-
[
|
|
184
|
-
"fill",
|
|
185
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M235.33,104l-53.47,53.65c4.56,12.67,6.45,33.89-13.19,60A15.93,15.93,0,0,1,157,224c-.38,0-.75,0-1.13,0a16,16,0,0,1-11.32-4.69L96.29,171,53.66,213.66a8,8,0,0,1-11.32-11.32L85,159.71l-48.3-48.3A16,16,0,0,1,38,87.63c25.42-20.51,49.75-16.48,60.4-13.14L152,20.7a16,16,0,0,1,22.63,0l60.69,60.68A16,16,0,0,1,235.33,104Z" }))
|
|
186
|
-
],
|
|
187
|
-
[
|
|
188
|
-
"light",
|
|
189
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M233.91,82.79,173.22,22.1a14,14,0,0,0-19.81,0L98.93,76.77c-9.52-3.25-34-8.34-59.71,12.41A14,14,0,0,0,38.1,110l49.71,49.71-44.05,44a6,6,0,1,0,8.48,8.48l44.05-44.05L146,217.89a14,14,0,0,0,9.9,4.11q.49,0,1,0a14,14,0,0,0,10.19-5.54c19.72-26.21,17.15-47.23,12.46-59.3l54.37-54.55A14,14,0,0,0,233.91,82.79ZM225.42,94.1h0l-57.27,57.46a6,6,0,0,0-1.11,6.92c9.94,19.88-1.71,40.32-9.54,50.72a2,2,0,0,1-3,.2L46.58,101.51a2,2,0,0,1,.18-3c12.5-10.09,24.5-12.76,33.7-12.76a42.13,42.13,0,0,1,17.25,3.41A6,6,0,0,0,104.64,88L161.9,30.59a2,2,0,0,1,2.83,0l60.69,60.68A2,2,0,0,1,225.42,94.1Z" }))
|
|
190
|
-
],
|
|
191
|
-
[
|
|
192
|
-
"regular",
|
|
193
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M235.32,81.37,174.63,20.69a16,16,0,0,0-22.63,0L98.37,74.49c-10.66-3.34-35-7.37-60.4,13.14a16,16,0,0,0-1.29,23.78L85,159.71,42.34,202.34a8,8,0,0,0,11.32,11.32L96.29,171l48.29,48.29A16,16,0,0,0,155.9,224c.38,0,.75,0,1.13,0a15.93,15.93,0,0,0,11.64-6.33c19.64-26.1,17.75-47.32,13.19-60L235.33,104A16,16,0,0,0,235.32,81.37ZM224,92.69h0l-57.27,57.46a8,8,0,0,0-1.49,9.22c9.46,18.93-1.8,38.59-9.34,48.62L48,100.08c12.08-9.74,23.64-12.31,32.48-12.31A40.13,40.13,0,0,1,96.81,91a8,8,0,0,0,9.25-1.51L163.32,32,224,92.68Z" }))
|
|
194
|
-
],
|
|
195
|
-
[
|
|
196
|
-
"thin",
|
|
197
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M232.49,84.2,171.8,23.51a12,12,0,0,0-17,0L99.45,79.07c-8.08-3-32.79-9.45-59,11.67a12,12,0,0,0-1,17.84l51.13,51.13L45.17,205.17a4,4,0,0,0,5.66,5.66l45.46-45.47,51.12,51.12A12,12,0,0,0,155.9,220c.28,0,.57,0,.85,0a12,12,0,0,0,8.73-4.74c19.83-26.36,16.51-47.18,11.71-58.57l55.3-55.49A12,12,0,0,0,232.49,84.2Zm-5.66,11.31h0L169.56,153a4,4,0,0,0-.75,4.61c10.43,20.85-1.62,42-9.73,52.83a4,4,0,0,1-6,.4L45.17,102.93a4,4,0,0,1,.33-6C58.44,86.53,70.86,83.74,80.44,83.74A43.9,43.9,0,0,1,98.6,87.38a4,4,0,0,0,4.62-.75l57.27-57.46a4,4,0,0,1,5.66,0l60.68,60.69A4,4,0,0,1,226.83,95.51Z" }))
|
|
198
|
-
]
|
|
199
|
-
]), E = a.forwardRef((t, e) => /* @__PURE__ */ a.createElement(l, { ref: e, ...t, weights: I }));
|
|
200
|
-
E.displayName = "PushPinIcon";
|
|
201
|
-
const S = /* @__PURE__ */ new Map([
|
|
202
|
-
[
|
|
203
|
-
"bold",
|
|
204
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M128,128a12,12,0,0,1-12,12H48a12,12,0,0,1,0-24h68A12,12,0,0,1,128,128ZM48,76H180a12,12,0,0,0,0-24H48a12,12,0,0,0,0,24Zm52,104H48a12,12,0,0,0,0,24h52a12,12,0,0,0,0-24Zm132.49-20.49a12,12,0,0,0-17,0L196,179V112a12,12,0,0,0-24,0v67l-19.51-19.52a12,12,0,0,0-17,17l40,40a12,12,0,0,0,17,0l40-40A12,12,0,0,0,232.49,159.51Z" }))
|
|
205
|
-
],
|
|
206
|
-
[
|
|
207
|
-
"duotone",
|
|
208
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,80v88l-24,24H48V64H208A16,16,0,0,1,224,80Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M128,128a8,8,0,0,1-8,8H48a8,8,0,0,1,0-16h72A8,8,0,0,1,128,128ZM48,72H184a8,8,0,0,0,0-16H48a8,8,0,0,0,0,16Zm56,112H48a8,8,0,0,0,0,16h56a8,8,0,0,0,0-16Zm125.66-21.66a8,8,0,0,0-11.32,0L192,188.69V112a8,8,0,0,0-16,0v76.69l-26.34-26.35a8,8,0,0,0-11.32,11.32l40,40a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,229.66,162.34Z" }))
|
|
209
|
-
],
|
|
210
|
-
[
|
|
211
|
-
"fill",
|
|
212
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,72h96a8,8,0,0,1,0,16H72a8,8,0,0,1,0-16Zm40,112H72a8,8,0,0,1,0-16h40a8,8,0,0,1,0,16Zm8-48H72a8,8,0,0,1,0-16h48a8,8,0,0,1,0,16Zm77.66,29.66-24,24a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L160,164.69V120a8,8,0,0,1,16,0v44.69l10.34-10.35a8,8,0,0,1,11.32,11.32Z" }))
|
|
213
|
-
],
|
|
214
|
-
[
|
|
215
|
-
"light",
|
|
216
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M126,128a6,6,0,0,1-6,6H48a6,6,0,0,1,0-12h72A6,6,0,0,1,126,128ZM48,70H184a6,6,0,0,0,0-12H48a6,6,0,0,0,0,12Zm56,116H48a6,6,0,0,0,0,12h56a6,6,0,0,0,0-12Zm124.24-22.24a6,6,0,0,0-8.48,0L190,193.51V112a6,6,0,0,0-12,0v81.51l-29.76-29.75a6,6,0,0,0-8.48,8.48l40,40a6,6,0,0,0,8.48,0l40-40A6,6,0,0,0,228.24,163.76Z" }))
|
|
217
|
-
],
|
|
218
|
-
[
|
|
219
|
-
"regular",
|
|
220
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M128,128a8,8,0,0,1-8,8H48a8,8,0,0,1,0-16h72A8,8,0,0,1,128,128ZM48,72H184a8,8,0,0,0,0-16H48a8,8,0,0,0,0,16Zm56,112H48a8,8,0,0,0,0,16h56a8,8,0,0,0,0-16Zm125.66-21.66a8,8,0,0,0-11.32,0L192,188.69V112a8,8,0,0,0-16,0v76.69l-26.34-26.35a8,8,0,0,0-11.32,11.32l40,40a8,8,0,0,0,11.32,0l40-40A8,8,0,0,0,229.66,162.34Z" }))
|
|
221
|
-
],
|
|
222
|
-
[
|
|
223
|
-
"thin",
|
|
224
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M124,128a4,4,0,0,1-4,4H48a4,4,0,0,1,0-8h72A4,4,0,0,1,124,128ZM48,68H184a4,4,0,0,0,0-8H48a4,4,0,0,0,0,8Zm56,120H48a4,4,0,0,0,0,8h56a4,4,0,0,0,0-8Zm122.83-22.83a4,4,0,0,0-5.66,0L188,198.34V112a4,4,0,0,0-8,0v86.34l-33.17-33.17a4,4,0,0,0-5.66,5.66l40,40a4,4,0,0,0,5.66,0l40-40A4,4,0,0,0,226.83,165.17Z" }))
|
|
225
|
-
]
|
|
226
|
-
]), r = a.forwardRef((t, e) => /* @__PURE__ */ a.createElement(l, { ref: e, ...t, weights: S }));
|
|
227
|
-
r.displayName = "SortAscendingIcon";
|
|
228
|
-
const x = /* @__PURE__ */ new Map([
|
|
229
|
-
[
|
|
230
|
-
"bold",
|
|
231
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M36,128a12,12,0,0,1,12-12h68a12,12,0,0,1,0,24H48A12,12,0,0,1,36,128ZM48,76h52a12,12,0,0,0,0-24H48a12,12,0,0,0,0,24ZM180,180H48a12,12,0,0,0,0,24H180a12,12,0,0,0,0-24ZM232.49,79.51l-40-40a12,12,0,0,0-17,0l-40,40a12,12,0,0,0,17,17L172,77v67a12,12,0,0,0,24,0V77l19.51,19.52a12,12,0,0,0,17-17Z" }))
|
|
232
|
-
],
|
|
233
|
-
[
|
|
234
|
-
"duotone",
|
|
235
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,88v88a16,16,0,0,1-16,16H48V64H200Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M40,128a8,8,0,0,1,8-8h72a8,8,0,0,1,0,16H48A8,8,0,0,1,40,128Zm8-56h56a8,8,0,0,0,0-16H48a8,8,0,0,0,0,16ZM184,184H48a8,8,0,0,0,0,16H184a8,8,0,0,0,0-16ZM229.66,82.34l-40-40a8,8,0,0,0-11.32,0l-40,40a8,8,0,0,0,11.32,11.32L176,67.31V144a8,8,0,0,0,16,0V67.31l26.34,26.35a8,8,0,0,0,11.32-11.32Z" }))
|
|
236
|
-
],
|
|
237
|
-
[
|
|
238
|
-
"fill",
|
|
239
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,72h40a8,8,0,0,1,0,16H72a8,8,0,0,1,0-16Zm0,48h48a8,8,0,0,1,0,16H72a8,8,0,0,1,0-16Zm96,64H72a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm29.66-82.34a8,8,0,0,1-11.32,0L176,91.31V136a8,8,0,0,1-16,0V91.31l-10.34,10.35a8,8,0,0,1-11.32-11.32l24-24a8,8,0,0,1,11.32,0l24,24A8,8,0,0,1,197.66,101.66Z" }))
|
|
240
|
-
],
|
|
241
|
-
[
|
|
242
|
-
"light",
|
|
243
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M42,128a6,6,0,0,1,6-6h72a6,6,0,0,1,0,12H48A6,6,0,0,1,42,128Zm6-58h56a6,6,0,0,0,0-12H48a6,6,0,0,0,0,12ZM184,186H48a6,6,0,0,0,0,12H184a6,6,0,0,0,0-12ZM228.24,83.76l-40-40a6,6,0,0,0-8.48,0l-40,40a6,6,0,0,0,8.48,8.48L178,62.49V144a6,6,0,0,0,12,0V62.49l29.76,29.75a6,6,0,0,0,8.48-8.48Z" }))
|
|
244
|
-
],
|
|
245
|
-
[
|
|
246
|
-
"regular",
|
|
247
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M40,128a8,8,0,0,1,8-8h72a8,8,0,0,1,0,16H48A8,8,0,0,1,40,128Zm8-56h56a8,8,0,0,0,0-16H48a8,8,0,0,0,0,16ZM184,184H48a8,8,0,0,0,0,16H184a8,8,0,0,0,0-16ZM229.66,82.34l-40-40a8,8,0,0,0-11.32,0l-40,40a8,8,0,0,0,11.32,11.32L176,67.31V144a8,8,0,0,0,16,0V67.31l26.34,26.35a8,8,0,0,0,11.32-11.32Z" }))
|
|
248
|
-
],
|
|
249
|
-
[
|
|
250
|
-
"thin",
|
|
251
|
-
/* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M44,128a4,4,0,0,1,4-4h72a4,4,0,0,1,0,8H48A4,4,0,0,1,44,128Zm4-60h56a4,4,0,0,0,0-8H48a4,4,0,0,0,0,8ZM184,188H48a4,4,0,0,0,0,8H184a4,4,0,0,0,0-8ZM226.83,85.17l-40-40a4,4,0,0,0-5.66,0l-40,40a4,4,0,0,0,5.66,5.66L180,57.66V144a4,4,0,0,0,8,0V57.66l33.17,33.17a4,4,0,1,0,5.66-5.66Z" }))
|
|
252
|
-
]
|
|
253
|
-
]), M = a.forwardRef((t, e) => /* @__PURE__ */ a.createElement(l, { ref: e, ...t, weights: x }));
|
|
254
|
-
M.displayName = "SortDescendingIcon";
|
|
255
|
-
function W(t) {
|
|
256
|
-
var m, o, i;
|
|
257
|
-
const { col: e } = t, { data: V } = w(), u = L(() => {
|
|
258
|
-
const n = [];
|
|
259
|
-
return e.sort && n.push({
|
|
260
|
-
icon: r,
|
|
261
|
-
type: "submenu",
|
|
262
|
-
label: "Sort By",
|
|
263
|
-
description: "Order results by this column",
|
|
264
|
-
children: [
|
|
265
|
-
{
|
|
266
|
-
icon: r,
|
|
267
|
-
type: "action",
|
|
268
|
-
label: "Ascending",
|
|
269
|
-
description: "A-Z, 0-9",
|
|
270
|
-
onClick: e.sort.ascending
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
icon: M,
|
|
274
|
-
type: "action",
|
|
275
|
-
label: "Descending",
|
|
276
|
-
description: "Z-A, 9-0",
|
|
277
|
-
onClick: e.sort.descending
|
|
278
|
-
}
|
|
279
|
-
]
|
|
280
|
-
}), n.push({
|
|
281
|
-
icon: p,
|
|
282
|
-
type: "submenu",
|
|
283
|
-
label: "Filter By",
|
|
284
|
-
description: "Limit results by filtering this column",
|
|
285
|
-
children: []
|
|
286
|
-
}), n.push({
|
|
287
|
-
type: "separator"
|
|
288
|
-
}), n.push({
|
|
289
|
-
icon: E,
|
|
290
|
-
checked: e.sticky.stuck,
|
|
291
|
-
type: "toggle",
|
|
292
|
-
label: "Sticky",
|
|
293
|
-
onCheck: e.sticky.stick,
|
|
294
|
-
onUncheck: e.sticky.unstick
|
|
295
|
-
}), e.visibility && n.push({
|
|
296
|
-
icon: d,
|
|
297
|
-
type: "toggle",
|
|
298
|
-
label: "Hidden",
|
|
299
|
-
checked: e.visibility.hidden,
|
|
300
|
-
onCheck: e.visibility.show,
|
|
301
|
-
onUncheck: e.visibility.hide
|
|
302
|
-
}), e.position && n.push({
|
|
303
|
-
icon: s,
|
|
304
|
-
type: "submenu",
|
|
305
|
-
label: "Move",
|
|
306
|
-
children: [
|
|
307
|
-
{
|
|
308
|
-
icon: h,
|
|
309
|
-
type: "action",
|
|
310
|
-
label: "Start",
|
|
311
|
-
onClick: e.position.moveToStart
|
|
312
|
-
},
|
|
313
|
-
{
|
|
314
|
-
icon: F,
|
|
315
|
-
type: "action",
|
|
316
|
-
label: "Left",
|
|
317
|
-
onClick: e.position.moveLeft
|
|
318
|
-
},
|
|
319
|
-
{
|
|
320
|
-
icon: v,
|
|
321
|
-
type: "action",
|
|
322
|
-
label: "Right",
|
|
323
|
-
onClick: e.position.moveRight
|
|
324
|
-
},
|
|
325
|
-
{
|
|
326
|
-
icon: Z,
|
|
327
|
-
type: "action",
|
|
328
|
-
label: "End",
|
|
329
|
-
onClick: e.position.moveToEnd
|
|
330
|
-
}
|
|
331
|
-
]
|
|
332
|
-
}), n;
|
|
333
|
-
}, [e]);
|
|
334
|
-
return /* @__PURE__ */ c(
|
|
335
|
-
f,
|
|
336
|
-
{
|
|
337
|
-
as: "th",
|
|
338
|
-
axis: "x",
|
|
339
|
-
className: H(
|
|
340
|
-
"component-data-table__th",
|
|
341
|
-
e.sticky.stuck && "component-data-table__th--sticky"
|
|
342
|
-
),
|
|
343
|
-
children: /* @__PURE__ */ A(C, { items: u, className: "component-data-table__th__target", children: [
|
|
344
|
-
e.header({
|
|
345
|
-
column: e,
|
|
346
|
-
data: V
|
|
347
|
-
}),
|
|
348
|
-
((m = e.sort) == null ? void 0 : m.direction) !== "none" && /* @__PURE__ */ A(g, { children: [
|
|
349
|
-
((o = e.sort) == null ? void 0 : o.direction) === "ascending" && /* @__PURE__ */ c(b, { className: "component-data-table__th__sort-indicator" }),
|
|
350
|
-
((i = e.sort) == null ? void 0 : i.direction) === "descending" && /* @__PURE__ */ c(y, { className: "component-data-table__th__sort-indicator" })
|
|
351
|
-
] })
|
|
352
|
-
] })
|
|
353
|
-
}
|
|
354
|
-
);
|
|
355
|
-
}
|
|
356
|
-
export {
|
|
357
|
-
W as Th
|
|
358
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ColumnDef } from './types';
|
|
3
|
-
interface DataTableProps<T> {
|
|
4
|
-
columns: ColumnDef<T>[];
|
|
5
|
-
data: T[];
|
|
6
|
-
className?: string;
|
|
7
|
-
scrolling?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare function DataTable<T>({ columns, data, className, scrolling, }: DataTableProps<T>): ReactNode;
|
|
10
|
-
export { ExampleDataTable } from './example';
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import { cn as c } from "../../utils/css.js";
|
|
3
|
-
import { createDataTable as m, dataTableContext as p } from "./context.js";
|
|
4
|
-
import { Footer as b } from "./footer.js";
|
|
5
|
-
import { Th as _ } from "./header.js";
|
|
6
|
-
import '../../assets/index15.css';const h = [
|
|
7
|
-
{
|
|
8
|
-
id: "123213213",
|
|
9
|
-
title: "Complete my Tasks",
|
|
10
|
-
created_at: /* @__PURE__ */ new Date("2024-02-03")
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
id: "87656465",
|
|
14
|
-
title: "Finish Workload",
|
|
15
|
-
created_at: /* @__PURE__ */ new Date("1999-09-12")
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
id: "56776455",
|
|
19
|
-
title: "Clean up Ant Colony",
|
|
20
|
-
created_at: /* @__PURE__ */ new Date("2026-06-06")
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
id: "576567",
|
|
24
|
-
title: "Go to Bubba Gump Shrimp Co.",
|
|
25
|
-
created_at: /* @__PURE__ */ new Date()
|
|
26
|
-
}
|
|
27
|
-
], u = [
|
|
28
|
-
{
|
|
29
|
-
accessorKey: "id",
|
|
30
|
-
header: "ID",
|
|
31
|
-
footer: ({ data: e }) => `${e.length} items`
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
accessorKey: "title",
|
|
35
|
-
header: "Title"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
accessorKey: "created_at",
|
|
39
|
-
header: "Created At",
|
|
40
|
-
cell: ({ row: e }) => e.created_at.toISOString(),
|
|
41
|
-
footer: ({ data: e }) => {
|
|
42
|
-
const l = e.map((a) => a.created_at), r = Math.min(...l);
|
|
43
|
-
return new Date(r).toISOString();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
];
|
|
47
|
-
function C() {
|
|
48
|
-
return /* @__PURE__ */ t(f, { scrolling: !0, columns: u, data: h });
|
|
49
|
-
}
|
|
50
|
-
function f({
|
|
51
|
-
columns: e,
|
|
52
|
-
data: l,
|
|
53
|
-
className: r,
|
|
54
|
-
scrolling: d = !1
|
|
55
|
-
}) {
|
|
56
|
-
const a = m({ columns: e, data: l });
|
|
57
|
-
return /* @__PURE__ */ t(p.Provider, { value: a, children: /* @__PURE__ */ t(
|
|
58
|
-
"div",
|
|
59
|
-
{
|
|
60
|
-
className: c(
|
|
61
|
-
"component-data-table",
|
|
62
|
-
d && "component-data-table--scrolling",
|
|
63
|
-
r
|
|
64
|
-
),
|
|
65
|
-
children: /* @__PURE__ */ s("table", { className: "component-data-table__table", children: [
|
|
66
|
-
/* @__PURE__ */ t("thead", { className: "component-data-table__thead", children: /* @__PURE__ */ t("tr", { className: "component-data-table__tt", children: a.columns.filter((o) => !o.visibility.hidden).map((o) => /* @__PURE__ */ t(_, { col: o })) }) }),
|
|
67
|
-
/* @__PURE__ */ t("tbody", { className: "component-data-table__tbody", children: a.data.map((o, i) => /* @__PURE__ */ t("tr", { className: "component-data-table__tr", children: a.columns.filter((n) => !n.visibility.hidden).map((n) => /* @__PURE__ */ t(
|
|
68
|
-
"td",
|
|
69
|
-
{
|
|
70
|
-
className: c(
|
|
71
|
-
"component-data-table__td",
|
|
72
|
-
n.sticky.stuck && "component-data-table__td--sticky"
|
|
73
|
-
),
|
|
74
|
-
children: n.cell({ row: o, column: n, data: a.data })
|
|
75
|
-
},
|
|
76
|
-
n.id
|
|
77
|
-
)) }, i)) }),
|
|
78
|
-
/* @__PURE__ */ t(b, {})
|
|
79
|
-
] })
|
|
80
|
-
}
|
|
81
|
-
) });
|
|
82
|
-
}
|
|
83
|
-
export {
|
|
84
|
-
f as DataTable,
|
|
85
|
-
C as ExampleDataTable
|
|
86
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export type ColumnContext<T> = {
|
|
3
|
-
column: Column<T>;
|
|
4
|
-
data: T[];
|
|
5
|
-
};
|
|
6
|
-
export type CellContext<T> = {
|
|
7
|
-
column: Column<T>;
|
|
8
|
-
row: T;
|
|
9
|
-
data: T[];
|
|
10
|
-
};
|
|
11
|
-
export type SortDirection = "ascending" | "descending" | "none";
|
|
12
|
-
export type SortFn<T> = (a: T, b: T) => number;
|
|
13
|
-
export type ColumnDef<T> = {
|
|
14
|
-
id?: string;
|
|
15
|
-
accessorKey?: keyof T;
|
|
16
|
-
header?: ReactNode | ((context: ColumnContext<T>) => ReactNode);
|
|
17
|
-
cell?: ReactNode | ((context: CellContext<T>) => ReactNode);
|
|
18
|
-
footer?: ReactNode | ((context: ColumnContext<T>) => ReactNode);
|
|
19
|
-
sortable?: SortFn<T> | false | true;
|
|
20
|
-
};
|
|
21
|
-
export type NormalizedColumnDef<T> = {
|
|
22
|
-
id: string;
|
|
23
|
-
accessorKey: keyof T | undefined;
|
|
24
|
-
header: (context: ColumnContext<T>) => ReactNode;
|
|
25
|
-
cell: (context: CellContext<T>) => ReactNode;
|
|
26
|
-
footer: (context: ColumnContext<T>) => ReactNode;
|
|
27
|
-
sortable: SortFn<T> | undefined;
|
|
28
|
-
};
|
|
29
|
-
export type Column<T> = {
|
|
30
|
-
id: string;
|
|
31
|
-
accessorKey: keyof T | undefined;
|
|
32
|
-
header: (context: ColumnContext<T>) => ReactNode;
|
|
33
|
-
cell: (context: CellContext<T>) => ReactNode;
|
|
34
|
-
footer: (context: ColumnContext<T>) => ReactNode;
|
|
35
|
-
position: {
|
|
36
|
-
index: number;
|
|
37
|
-
isFirst: () => boolean;
|
|
38
|
-
isLast: () => boolean;
|
|
39
|
-
moveTo: (index: number) => void;
|
|
40
|
-
moveLeft: () => void;
|
|
41
|
-
moveRight: () => void;
|
|
42
|
-
moveToStart: () => void;
|
|
43
|
-
moveToEnd: () => void;
|
|
44
|
-
};
|
|
45
|
-
sticky: {
|
|
46
|
-
stuck: boolean;
|
|
47
|
-
stick: () => void;
|
|
48
|
-
unstick: () => void;
|
|
49
|
-
};
|
|
50
|
-
visibility: {
|
|
51
|
-
hidden: boolean;
|
|
52
|
-
toggle: () => void;
|
|
53
|
-
hide: () => void;
|
|
54
|
-
show: () => void;
|
|
55
|
-
};
|
|
56
|
-
sort?: {
|
|
57
|
-
direction: SortDirection;
|
|
58
|
-
compare: SortFn<T>;
|
|
59
|
-
clear: () => void;
|
|
60
|
-
toggle: () => void;
|
|
61
|
-
ascending: () => void;
|
|
62
|
-
descending: () => void;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export type ColumnState = {
|
|
66
|
-
id: string;
|
|
67
|
-
isSticky: boolean;
|
|
68
|
-
isHidden: boolean;
|
|
69
|
-
width: number;
|
|
70
|
-
sortDirection: SortDirection;
|
|
71
|
-
};
|
|
72
|
-
export type Table<T> = {
|
|
73
|
-
data: T[];
|
|
74
|
-
columns: Column<T>[];
|
|
75
|
-
};
|