@adapttable/naive-ui 0.5.0 → 0.6.1

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.
Files changed (181) hide show
  1. package/README.md +6 -6
  2. package/dist/{NaiveRowActions-BR140413.cjs → NaiveRowActions-DUlkorWa.cjs} +2 -2
  3. package/dist/NaiveRowActions-DUlkorWa.cjs.map +1 -0
  4. package/dist/{NaiveRowActions-DVyMXQJq.js → NaiveRowActions-DdHuWGCQ.js} +2 -2
  5. package/dist/NaiveRowActions-DdHuWGCQ.js.map +1 -0
  6. package/dist/assistant.cjs +360 -5
  7. package/dist/assistant.cjs.map +1 -0
  8. package/dist/assistant.js +356 -1
  9. package/dist/assistant.js.map +1 -0
  10. package/dist/batch-editing.cjs +1 -1
  11. package/dist/batch-editing.d.cts +1 -1
  12. package/dist/batch-editing.d.ts +1 -1
  13. package/dist/batch-editing.js +1 -1
  14. package/dist/cell-navigation.cjs.map +1 -1
  15. package/dist/cell-navigation.d.cts +1 -1
  16. package/dist/cell-navigation.d.cts.map +1 -1
  17. package/dist/cell-navigation.d.ts +1 -1
  18. package/dist/cell-navigation.d.ts.map +1 -1
  19. package/dist/cell-navigation.js.map +1 -1
  20. package/dist/column-layout.cjs +24 -0
  21. package/dist/column-layout.cjs.map +1 -0
  22. package/dist/column-layout.d.cts +12 -0
  23. package/dist/column-layout.d.cts.map +1 -0
  24. package/dist/column-layout.d.ts +12 -0
  25. package/dist/column-layout.d.ts.map +1 -0
  26. package/dist/column-layout.js +22 -0
  27. package/dist/column-layout.js.map +1 -0
  28. package/dist/{column-menu-GUeADLrH.cjs → column-menu-B-EhL5Ih.cjs} +3 -3
  29. package/dist/{column-menu-GUeADLrH.cjs.map → column-menu-B-EhL5Ih.cjs.map} +1 -1
  30. package/dist/{column-menu-BeNblq2u.js → column-menu-BwKtCGEo.js} +3 -3
  31. package/dist/{column-menu-BeNblq2u.js.map → column-menu-BwKtCGEo.js.map} +1 -1
  32. package/dist/column-menu.cjs +1 -1
  33. package/dist/column-menu.d.cts +24 -2
  34. package/dist/column-menu.d.cts.map +1 -0
  35. package/dist/column-menu.d.ts +24 -2
  36. package/dist/column-menu.d.ts.map +1 -0
  37. package/dist/column-menu.js +1 -1
  38. package/dist/command-palette.cjs +112 -2
  39. package/dist/command-palette.cjs.map +1 -0
  40. package/dist/command-palette.js +111 -1
  41. package/dist/command-palette.js.map +1 -0
  42. package/dist/context-menu.cjs +140 -2
  43. package/dist/context-menu.cjs.map +1 -0
  44. package/dist/context-menu.js +139 -1
  45. package/dist/context-menu.js.map +1 -0
  46. package/dist/{editing-DTOBwNI6.js → editing-Btr52gcG.js} +19 -5
  47. package/dist/{editing-DTOBwNI6.js.map → editing-Btr52gcG.js.map} +1 -1
  48. package/dist/{editing-BAUOl5Ox.cjs → editing-CIvf43jv.cjs} +23 -3
  49. package/dist/editing-CIvf43jv.cjs.map +1 -0
  50. package/dist/{editing-Dho3Y2RK.d.ts → editing-dN16BK0k.d.ts} +10 -2
  51. package/dist/{editing-Dho3Y2RK.d.ts.map → editing-dN16BK0k.d.ts.map} +1 -1
  52. package/dist/{editing-CdIoFGiK.d.cts → editing-xDGCcasQ.d.cts} +10 -2
  53. package/dist/{editing-CdIoFGiK.d.cts.map → editing-xDGCcasQ.d.cts.map} +1 -1
  54. package/dist/editing.cjs +4 -13
  55. package/dist/editing.d.cts +2 -2
  56. package/dist/editing.d.ts +2 -2
  57. package/dist/editing.js +2 -2
  58. package/dist/export-DLLCc4Lb.js +10 -0
  59. package/dist/export-DLLCc4Lb.js.map +1 -0
  60. package/dist/{export-csv.cjs → export-fT_9Xp5t.cjs} +7 -3
  61. package/dist/export-fT_9Xp5t.cjs.map +1 -0
  62. package/dist/export.cjs +2 -2
  63. package/dist/export.d.cts +9 -2
  64. package/dist/export.d.cts.map +1 -0
  65. package/dist/export.d.ts +9 -2
  66. package/dist/export.d.ts.map +1 -0
  67. package/dist/export.js +1 -1
  68. package/dist/filtering.cjs +22 -0
  69. package/dist/filtering.cjs.map +1 -0
  70. package/dist/filtering.d.cts +13 -0
  71. package/dist/filtering.d.cts.map +1 -0
  72. package/dist/filtering.d.ts +13 -0
  73. package/dist/filtering.d.ts.map +1 -0
  74. package/dist/filtering.js +21 -0
  75. package/dist/filtering.js.map +1 -0
  76. package/dist/{filters-Cy170_qU.js → filters-BxRu0r4j.js} +6 -5
  77. package/dist/filters-BxRu0r4j.js.map +1 -0
  78. package/dist/{filters-DIlfaXQJ.cjs → filters-U0LYOQjA.cjs} +5 -4
  79. package/dist/filters-U0LYOQjA.cjs.map +1 -0
  80. package/dist/filters.cjs +1 -1
  81. package/dist/filters.d.cts +90 -2
  82. package/dist/filters.d.cts.map +1 -0
  83. package/dist/filters.d.ts +90 -2
  84. package/dist/filters.d.ts.map +1 -0
  85. package/dist/filters.js +1 -1
  86. package/dist/grouping-panel.cjs +146 -3
  87. package/dist/grouping-panel.cjs.map +1 -0
  88. package/dist/grouping-panel.js +145 -2
  89. package/dist/grouping-panel.js.map +1 -0
  90. package/dist/header-filters.d.cts +52 -2
  91. package/dist/header-filters.d.cts.map +1 -0
  92. package/dist/header-filters.d.ts +52 -2
  93. package/dist/header-filters.d.ts.map +1 -0
  94. package/dist/index.cjs +2 -27
  95. package/dist/index.cjs.map +1 -1
  96. package/dist/index.d.cts +1 -2
  97. package/dist/index.d.cts.map +1 -1
  98. package/dist/index.d.ts +1 -2
  99. package/dist/index.d.ts.map +1 -1
  100. package/dist/index.js +2 -27
  101. package/dist/index.js.map +1 -1
  102. package/dist/preset.cjs +8 -9
  103. package/dist/preset.cjs.map +1 -1
  104. package/dist/preset.js +7 -8
  105. package/dist/preset.js.map +1 -1
  106. package/dist/row-actions.cjs +1 -1
  107. package/dist/row-actions.js +1 -1
  108. package/dist/row-pinning.cjs +1 -1
  109. package/dist/row-pinning.js +1 -1
  110. package/dist/row-reorder.cjs +185 -2
  111. package/dist/row-reorder.cjs.map +1 -0
  112. package/dist/row-reorder.d.cts +2 -1
  113. package/dist/row-reorder.d.cts.map +1 -1
  114. package/dist/row-reorder.d.ts +2 -1
  115. package/dist/row-reorder.d.ts.map +1 -1
  116. package/dist/row-reorder.js +185 -1
  117. package/dist/row-reorder.js.map +1 -0
  118. package/dist/selection.cjs +8 -0
  119. package/dist/selection.d.cts +2 -0
  120. package/dist/selection.d.ts +2 -0
  121. package/dist/selection.js +2 -0
  122. package/dist/side-panel.cjs +59 -2
  123. package/dist/side-panel.cjs.map +1 -0
  124. package/dist/side-panel.js +58 -1
  125. package/dist/side-panel.js.map +1 -0
  126. package/dist/styles.css +39 -39
  127. package/package.json +33 -23
  128. package/dist/NaiveRowActions-BR140413.cjs.map +0 -1
  129. package/dist/NaiveRowActions-DVyMXQJq.js.map +0 -1
  130. package/dist/assistant-DppW6EN1.cjs +0 -380
  131. package/dist/assistant-DppW6EN1.cjs.map +0 -1
  132. package/dist/assistant-_SYRZCOi.js +0 -357
  133. package/dist/assistant-_SYRZCOi.js.map +0 -1
  134. package/dist/column-menu-DdWVP1hz.d.cts +0 -23
  135. package/dist/column-menu-DdWVP1hz.d.cts.map +0 -1
  136. package/dist/column-menu-DdWVP1hz.d.ts +0 -23
  137. package/dist/column-menu-DdWVP1hz.d.ts.map +0 -1
  138. package/dist/command-palette-4qS9viir.cjs +0 -117
  139. package/dist/command-palette-4qS9viir.cjs.map +0 -1
  140. package/dist/command-palette-CSI-tgcP.js +0 -112
  141. package/dist/command-palette-CSI-tgcP.js.map +0 -1
  142. package/dist/context-menu-CsbLaMcR.js +0 -140
  143. package/dist/context-menu-CsbLaMcR.js.map +0 -1
  144. package/dist/context-menu-qVwE9S2V.cjs +0 -145
  145. package/dist/context-menu-qVwE9S2V.cjs.map +0 -1
  146. package/dist/editing-BAUOl5Ox.cjs.map +0 -1
  147. package/dist/export-csv-BU39yRSN.d.ts +0 -9
  148. package/dist/export-csv-BU39yRSN.d.ts.map +0 -1
  149. package/dist/export-csv-DRDjZuQj.d.cts +0 -9
  150. package/dist/export-csv-DRDjZuQj.d.cts.map +0 -1
  151. package/dist/export-csv.cjs.map +0 -1
  152. package/dist/export-csv.d.cts +0 -2
  153. package/dist/export-csv.d.ts +0 -2
  154. package/dist/export-csv.js +0 -10
  155. package/dist/export-csv.js.map +0 -1
  156. package/dist/features.cjs +0 -225
  157. package/dist/features.d.cts +0 -41
  158. package/dist/features.d.ts +0 -41
  159. package/dist/features.js +0 -37
  160. package/dist/filters-ClqB1_n4.d.cts +0 -90
  161. package/dist/filters-ClqB1_n4.d.cts.map +0 -1
  162. package/dist/filters-Cy170_qU.js.map +0 -1
  163. package/dist/filters-DIlfaXQJ.cjs.map +0 -1
  164. package/dist/filters-b2ZuVZPI.d.ts +0 -90
  165. package/dist/filters-b2ZuVZPI.d.ts.map +0 -1
  166. package/dist/grouping-panel-BPaPG49S.cjs +0 -151
  167. package/dist/grouping-panel-BPaPG49S.cjs.map +0 -1
  168. package/dist/grouping-panel-CYUPSa0u.js +0 -146
  169. package/dist/grouping-panel-CYUPSa0u.js.map +0 -1
  170. package/dist/header-filters-CQg6clum.d.cts +0 -52
  171. package/dist/header-filters-CQg6clum.d.cts.map +0 -1
  172. package/dist/header-filters-CQg6clum.d.ts +0 -52
  173. package/dist/header-filters-CQg6clum.d.ts.map +0 -1
  174. package/dist/row-reorder-2Ztn7QRu.cjs +0 -191
  175. package/dist/row-reorder-2Ztn7QRu.cjs.map +0 -1
  176. package/dist/row-reorder-DBzbJ20V.js +0 -186
  177. package/dist/row-reorder-DBzbJ20V.js.map +0 -1
  178. package/dist/side-panel-Bf4zBlYZ.cjs +0 -64
  179. package/dist/side-panel-Bf4zBlYZ.cjs.map +0 -1
  180. package/dist/side-panel-CLTgXUnb.js +0 -59
  181. package/dist/side-panel-CLTgXUnb.js.map +0 -1
package/dist/features.cjs DELETED
@@ -1,225 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_cell_navigation = require("./cell-navigation.cjs");
3
- const require_assistant = require("./assistant-DppW6EN1.cjs");
4
- const require_editing = require("./editing-BAUOl5Ox.cjs");
5
- require("./batch-editing.cjs");
6
- const require_bulk_actions = require("./bulk-actions.cjs");
7
- require("./cell-span.cjs");
8
- require("./column-groups.cjs");
9
- const require_column_menu = require("./column-menu-GUeADLrH.cjs");
10
- const require_command_palette = require("./command-palette-4qS9viir.cjs");
11
- const require_context_menu = require("./context-menu-qVwE9S2V.cjs");
12
- const require_density = require("./density-CUp3mMNH.cjs");
13
- const require_export_csv = require("./export-csv.cjs");
14
- require("./export.cjs");
15
- require("./extra-rows.cjs");
16
- const require_filters = require("./filters-DIlfaXQJ.cjs");
17
- const require_NaiveFilterField = require("./NaiveFilterField-CP2V5YLz.cjs");
18
- const require_find_in_table = require("./find-in-table.cjs");
19
- require("./fit-columns.cjs");
20
- const require_fullscreen = require("./fullscreen.cjs");
21
- const require_grouping = require("./grouping.cjs");
22
- const require_grouping_panel = require("./grouping-panel-BPaPG49S.cjs");
23
- const require_header_filters = require("./header-filters-CvStECsj.cjs");
24
- require("./multi-sort.cjs");
25
- require("./pinned-summary-rows.cjs");
26
- const require_print = require("./print.cjs");
27
- require("./resizable-columns.cjs");
28
- const require_row_actions = require("./row-actions.cjs");
29
- require("./row-appearance.cjs");
30
- require("./row-detail.cjs");
31
- const require_row_pinning = require("./row-pinning.cjs");
32
- const require_row_reorder = require("./row-reorder-2Ztn7QRu.cjs");
33
- const require_saved_views = require("./saved-views-Co9WH7lC.cjs");
34
- const require_side_panel = require("./side-panel-Bf4zBlYZ.cjs");
35
- const require_status_bar = require("./status-bar.cjs");
36
- require("./tree.cjs");
37
- require("./virtualize.cjs");
38
- let _adapttable_vue_features = require("@adapttable/vue/features");
39
- let _adapttable_vue_adapter = require("@adapttable/vue/adapter");
40
- let _adapttable_vue = require("@adapttable/vue");
41
- exports.AgentApproval = require_assistant.AgentApproval;
42
- exports.ChecklistFilter = require_NaiveFilterField._sfc_main$2;
43
- exports.FilterHeaderControl = require_header_filters._sfc_main$1;
44
- exports.FilterHeaderRow = require_header_filters._sfc_main;
45
- exports.FilterTreeBuilder = require_filters._sfc_main;
46
- exports.NaiveBatchEditBar = require_editing._sfc_main$2;
47
- exports.NaiveEditableCell = require_editing._sfc_main$1;
48
- exports.NaiveFilterField = require_NaiveFilterField._sfc_main;
49
- exports.NaiveHeaderFilter = require_header_filters._sfc_main$2;
50
- exports.NaiveRowEditActions = require_editing._sfc_main;
51
- exports.SavedViewsPanel = require_saved_views.SavedViewsPanel;
52
- exports.TableAssistant = require_assistant.TableAssistant;
53
- exports.agentApproval = require_assistant.agentApproval;
54
- exports.batchEditing = require_editing.batchEditing;
55
- exports.booleanFilterWidget = require_filters.booleanFilterWidget;
56
- exports.bulkActions = require_bulk_actions.bulkActions;
57
- exports.cellNavigation = require_cell_navigation.cellNavigation;
58
- Object.defineProperty(exports, "cellSpan", {
59
- enumerable: true,
60
- get: function() {
61
- return _adapttable_vue_features.cellSpan;
62
- }
63
- });
64
- exports.checklistFilterWidget = require_filters.checklistFilterWidget;
65
- Object.defineProperty(exports, "collapsibleColumnGroups", {
66
- enumerable: true,
67
- get: function() {
68
- return _adapttable_vue_features.collapsibleColumnGroups;
69
- }
70
- });
71
- exports.columnMenu = require_column_menu.columnMenu;
72
- exports.columnSelectionCheckbox = require_cell_navigation.columnSelectionCheckbox;
73
- exports.commandPalette = require_command_palette.commandPalette;
74
- exports.contextMenu = require_context_menu.contextMenu;
75
- exports.densityChooser = require_density.densityChooser;
76
- Object.defineProperty(exports, "dirtyIndicators", {
77
- enumerable: true,
78
- get: function() {
79
- return _adapttable_vue_features.dirtyIndicators;
80
- }
81
- });
82
- Object.defineProperty(exports, "editHistory", {
83
- enumerable: true,
84
- get: function() {
85
- return _adapttable_vue_features.editHistory;
86
- }
87
- });
88
- exports.editing = require_editing.editing;
89
- exports.exportCsv = require_export_csv.exportCsv;
90
- Object.defineProperty(exports, "extraRows", {
91
- enumerable: true,
92
- get: function() {
93
- return _adapttable_vue_features.extraRows;
94
- }
95
- });
96
- Object.defineProperty(exports, "filterTypes", {
97
- enumerable: true,
98
- get: function() {
99
- return _adapttable_vue_features.filterTypes;
100
- }
101
- });
102
- exports.filters = require_filters.filters;
103
- exports.filtersWith = require_filters.filtersWith;
104
- exports.findInTable = require_find_in_table.findInTable;
105
- Object.defineProperty(exports, "fitColumns", {
106
- enumerable: true,
107
- get: function() {
108
- return _adapttable_vue_features.fitColumns;
109
- }
110
- });
111
- exports.fullscreen = require_fullscreen.fullscreen;
112
- exports.grouping = require_grouping.grouping;
113
- exports.groupingPanel = require_grouping_panel.groupingPanel;
114
- exports.headerFilters = require_header_filters.headerFilters;
115
- exports.multiSelectFilterWidget = require_filters.multiSelectFilterWidget;
116
- Object.defineProperty(exports, "multiSort", {
117
- enumerable: true,
118
- get: function() {
119
- return _adapttable_vue_features.multiSort;
120
- }
121
- });
122
- Object.defineProperty(exports, "nestedTable", {
123
- enumerable: true,
124
- get: function() {
125
- return _adapttable_vue_features.nestedTable;
126
- }
127
- });
128
- Object.defineProperty(exports, "nestedTableDetail", {
129
- enumerable: true,
130
- get: function() {
131
- return _adapttable_vue_adapter.nestedTableDetail;
132
- }
133
- });
134
- Object.defineProperty(exports, "pinnedSummaryRows", {
135
- enumerable: true,
136
- get: function() {
137
- return _adapttable_vue_features.pinnedSummaryRows;
138
- }
139
- });
140
- exports.print = require_print.print;
141
- exports.rangeFilterWidget = require_filters.rangeFilterWidget;
142
- Object.defineProperty(exports, "resizableColumns", {
143
- enumerable: true,
144
- get: function() {
145
- return _adapttable_vue_features.resizableColumns;
146
- }
147
- });
148
- exports.rowActions = require_row_actions.rowActions;
149
- Object.defineProperty(exports, "rowAppearance", {
150
- enumerable: true,
151
- get: function() {
152
- return _adapttable_vue_features.rowAppearance;
153
- }
154
- });
155
- Object.defineProperty(exports, "rowDetail", {
156
- enumerable: true,
157
- get: function() {
158
- return _adapttable_vue_features.rowDetail;
159
- }
160
- });
161
- exports.rowEditing = require_editing.rowEditing;
162
- exports.rowPinning = require_row_pinning.rowPinning;
163
- exports.rowReorder = require_row_reorder.rowReorder;
164
- exports.savedViews = require_saved_views.savedViews;
165
- exports.selectFilterWidget = require_filters.selectFilterWidget;
166
- exports.selectionStats = require_status_bar.selectionStats;
167
- exports.sidePanel = require_side_panel.sidePanel;
168
- exports.statusBar = require_status_bar.statusBar;
169
- exports.tableAssistant = require_assistant.tableAssistant;
170
- exports.textFilterWidget = require_filters.textFilterWidget;
171
- Object.defineProperty(exports, "tree", {
172
- enumerable: true,
173
- get: function() {
174
- return _adapttable_vue_features.tree;
175
- }
176
- });
177
- exports.undoRedoButtons = require_editing.undoRedoButtons;
178
- Object.defineProperty(exports, "useGroupCollapse", {
179
- enumerable: true,
180
- get: function() {
181
- return _adapttable_vue.useGroupCollapse;
182
- }
183
- });
184
- Object.defineProperty(exports, "useGroupCollapseUrlState", {
185
- enumerable: true,
186
- get: function() {
187
- return _adapttable_vue.useGroupCollapseUrlState;
188
- }
189
- });
190
- Object.defineProperty(exports, "useGroupPaging", {
191
- enumerable: true,
192
- get: function() {
193
- return _adapttable_vue.useGroupPaging;
194
- }
195
- });
196
- Object.defineProperty(exports, "useLazyChildren", {
197
- enumerable: true,
198
- get: function() {
199
- return _adapttable_vue.useLazyChildren;
200
- }
201
- });
202
- Object.defineProperty(exports, "useRowExpansion", {
203
- enumerable: true,
204
- get: function() {
205
- return _adapttable_vue.useRowExpansion;
206
- }
207
- });
208
- Object.defineProperty(exports, "useRowReorder", {
209
- enumerable: true,
210
- get: function() {
211
- return _adapttable_vue.useRowReorder;
212
- }
213
- });
214
- Object.defineProperty(exports, "useTreeExpansion", {
215
- enumerable: true,
216
- get: function() {
217
- return _adapttable_vue.useTreeExpansion;
218
- }
219
- });
220
- Object.defineProperty(exports, "virtualize", {
221
- enumerable: true,
222
- get: function() {
223
- return _adapttable_vue_features.virtualize;
224
- }
225
- });
@@ -1,41 +0,0 @@
1
- import { AgentApproval, AgentApprovalProps, TableAssistant, TableAssistantProps, agentApproval, tableAssistant } from "./assistant.cjs";
2
- import { a as RowEditIcons, c as batchEditing, d as editing, f as rowEditing, g as _default$4, h as _default$5, i as EditingLifecycleExtras, l as dirtyIndicators, m as _default$8, n as BatchRowEdit, o as RowEditingState, p as undoRedoButtons, r as CellEditHandler, s as TableEditingOptions, t as BatchEditingState, u as editHistory } from "./editing-CdIoFGiK.cjs";
3
- import "./batch-editing.cjs";
4
- import { bulkActions } from "./bulk-actions.cjs";
5
- import { CellEdit, CellNavigationOptions, CellRange, GridCell, cellNavigation, columnSelectionCheckbox } from "./cell-navigation.cjs";
6
- import { cellSpan } from "./cell-span.cjs";
7
- import { collapsibleColumnGroups } from "./column-groups.cjs";
8
- import { n as columnMenu } from "./column-menu-DdWVP1hz.cjs";
9
- import { commandPalette } from "./command-palette.cjs";
10
- import { contextMenu } from "./context-menu.cjs";
11
- import { densityChooser } from "./density.cjs";
12
- import { n as exportCsv } from "./export-csv-DRDjZuQj.cjs";
13
- import "./export.cjs";
14
- import { extraRows } from "./extra-rows.cjs";
15
- import { _ as textFilterWidget, a as FilterTreeBuilderProps, b as _default, c as FiltersOptions, d as filtersWith, f as booleanFilterWidget, g as selectFilterWidget, h as rangeFilterWidget, i as FilterOption, l as filterTypes, m as multiSelectFilterWidget, n as ChecklistFilterProps, o as FilterTypeSpec, p as checklistFilterWidget, r as FilterDef, s as FilterWidget, t as AdapterFiltersFeature, u as filters, v as _default$3, y as _default$6 } from "./filters-ClqB1_n4.cjs";
16
- import { findInTable } from "./find-in-table.cjs";
17
- import { fitColumns } from "./fit-columns.cjs";
18
- import { fullscreen } from "./fullscreen.cjs";
19
- import { GroupCollapseOptions, GroupNode, GroupSort, StaticGroupingExtras, grouping, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging } from "./grouping.cjs";
20
- import { GroupingPanelProps, groupingPanel } from "./grouping-panel.cjs";
21
- import { a as _default$7, i as headerFilters, n as FilterHeaderControlProps, o as _default$2, r as FilterHeaderRowProps, s as _default$1, t as FilterHeaderControlOptions } from "./header-filters-CQg6clum.cjs";
22
- import { multiSort } from "./multi-sort.cjs";
23
- import { pinnedSummaryRows } from "./pinned-summary-rows.cjs";
24
- import { print } from "./print.cjs";
25
- import { resizableColumns } from "./resizable-columns.cjs";
26
- import { rowActions } from "./row-actions.cjs";
27
- import { rowAppearance } from "./row-appearance.cjs";
28
- import { NestedTable, NestedTableFor, RowExpansionOptions, TableRowDetail, nestedTable, nestedTableDetail, rowDetail, useRowExpansion } from "./row-detail.cjs";
29
- import { rowPinning } from "./row-pinning.cjs";
30
- import { RowReorderHandler, RowReorderOptions, rowReorder, useRowReorder } from "./row-reorder.cjs";
31
- import { t as DataTableClassNames } from "./types-oiTfSnx3.cjs";
32
- import { SavedView, SavedViewsPanel, SavedViewsPanelProps, SavedViewsStore, UseSavedViewsOptions, savedViews } from "./saved-views.cjs";
33
- import { sidePanel } from "./side-panel.cjs";
34
- import { selectionStats, statusBar } from "./status-bar.cjs";
35
- import { TableTree, TreeExpansionOptions, TreeFeatureOptions, tree, useLazyChildren, useTreeExpansion } from "./tree.cjs";
36
- import { VirtualizeOptions, virtualize } from "./virtualize.cjs";
37
- import { ColumnMenuSlotProps } from "@adapttable/vue/adapter";
38
- import { GroupingExtras } from "@adapttable/vue/features";
39
- import { ExportPdfOptions } from "@adapttable/vue/pdf";
40
- import { ExportXlsxOptions } from "@adapttable/vue/xlsx";
41
- export { type AdapterFiltersFeature, AgentApproval, type AgentApprovalProps, type BatchEditingState, type BatchRowEdit, type CellEdit, type CellEditHandler, type CellNavigationOptions, type CellRange, _default as ChecklistFilter, type ChecklistFilterProps, type ColumnMenuSlotProps, type DataTableClassNames, type EditingLifecycleExtras, type ExportPdfOptions, type ExportXlsxOptions, type FilterDef, _default$1 as FilterHeaderControl, type FilterHeaderControlOptions, type FilterHeaderControlProps, _default$2 as FilterHeaderRow, type FilterHeaderRowProps, type FilterOption, _default$3 as FilterTreeBuilder, type FilterTreeBuilderProps, type FilterTypeSpec, type FilterWidget, type FiltersOptions, type GridCell, type GroupCollapseOptions, type GroupNode, type GroupSort, type GroupingExtras, type GroupingPanelProps, _default$4 as NaiveBatchEditBar, _default$5 as NaiveEditableCell, _default$6 as NaiveFilterField, _default$7 as NaiveHeaderFilter, _default$8 as NaiveRowEditActions, type NestedTable, type NestedTableFor, type RowEditIcons, type RowEditingState, type RowExpansionOptions, type RowReorderHandler, type RowReorderOptions, type SavedView, SavedViewsPanel, SavedViewsPanelProps, type SavedViewsStore, type StaticGroupingExtras, TableAssistant, type TableAssistantProps, type TableEditingOptions, type TableRowDetail, type TableTree, type TreeExpansionOptions, type TreeFeatureOptions, type UseSavedViewsOptions, type VirtualizeOptions, agentApproval, batchEditing, booleanFilterWidget, bulkActions, cellNavigation, cellSpan, checklistFilterWidget, collapsibleColumnGroups, columnMenu, columnSelectionCheckbox, commandPalette, contextMenu, densityChooser, dirtyIndicators, editHistory, editing, exportCsv, extraRows, filterTypes, filters, filtersWith, findInTable, fitColumns, fullscreen, grouping, groupingPanel, headerFilters, multiSelectFilterWidget, multiSort, nestedTable, nestedTableDetail, pinnedSummaryRows, print, rangeFilterWidget, resizableColumns, rowActions, rowAppearance, rowDetail, rowEditing, rowPinning, rowReorder, savedViews, selectFilterWidget, selectionStats, sidePanel, statusBar, tableAssistant, textFilterWidget, tree, undoRedoButtons, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging, useLazyChildren, useRowExpansion, useRowReorder, useTreeExpansion, virtualize };
@@ -1,41 +0,0 @@
1
- import { AgentApproval, AgentApprovalProps, TableAssistant, TableAssistantProps, agentApproval, tableAssistant } from "./assistant.js";
2
- import { a as RowEditIcons, c as batchEditing, d as editing, f as rowEditing, g as _default$4, h as _default$5, i as EditingLifecycleExtras, l as dirtyIndicators, m as _default$8, n as BatchRowEdit, o as RowEditingState, p as undoRedoButtons, r as CellEditHandler, s as TableEditingOptions, t as BatchEditingState, u as editHistory } from "./editing-Dho3Y2RK.js";
3
- import "./batch-editing.js";
4
- import { bulkActions } from "./bulk-actions.js";
5
- import { CellEdit, CellNavigationOptions, CellRange, GridCell, cellNavigation, columnSelectionCheckbox } from "./cell-navigation.js";
6
- import { cellSpan } from "./cell-span.js";
7
- import { collapsibleColumnGroups } from "./column-groups.js";
8
- import { n as columnMenu } from "./column-menu-DdWVP1hz.js";
9
- import { commandPalette } from "./command-palette.js";
10
- import { contextMenu } from "./context-menu.js";
11
- import { densityChooser } from "./density.js";
12
- import { n as exportCsv } from "./export-csv-BU39yRSN.js";
13
- import "./export.js";
14
- import { extraRows } from "./extra-rows.js";
15
- import { _ as textFilterWidget, a as FilterTreeBuilderProps, b as _default, c as FiltersOptions, d as filtersWith, f as booleanFilterWidget, g as selectFilterWidget, h as rangeFilterWidget, i as FilterOption, l as filterTypes, m as multiSelectFilterWidget, n as ChecklistFilterProps, o as FilterTypeSpec, p as checklistFilterWidget, r as FilterDef, s as FilterWidget, t as AdapterFiltersFeature, u as filters, v as _default$3, y as _default$6 } from "./filters-b2ZuVZPI.js";
16
- import { findInTable } from "./find-in-table.js";
17
- import { fitColumns } from "./fit-columns.js";
18
- import { fullscreen } from "./fullscreen.js";
19
- import { GroupCollapseOptions, GroupNode, GroupSort, StaticGroupingExtras, grouping, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging } from "./grouping.js";
20
- import { GroupingPanelProps, groupingPanel } from "./grouping-panel.js";
21
- import { a as _default$7, i as headerFilters, n as FilterHeaderControlProps, o as _default$2, r as FilterHeaderRowProps, s as _default$1, t as FilterHeaderControlOptions } from "./header-filters-CQg6clum.js";
22
- import { multiSort } from "./multi-sort.js";
23
- import { pinnedSummaryRows } from "./pinned-summary-rows.js";
24
- import { print } from "./print.js";
25
- import { resizableColumns } from "./resizable-columns.js";
26
- import { rowActions } from "./row-actions.js";
27
- import { rowAppearance } from "./row-appearance.js";
28
- import { NestedTable, NestedTableFor, RowExpansionOptions, TableRowDetail, nestedTable, nestedTableDetail, rowDetail, useRowExpansion } from "./row-detail.js";
29
- import { rowPinning } from "./row-pinning.js";
30
- import { RowReorderHandler, RowReorderOptions, rowReorder, useRowReorder } from "./row-reorder.js";
31
- import { t as DataTableClassNames } from "./types-oiTfSnx3.js";
32
- import { SavedView, SavedViewsPanel, SavedViewsPanelProps, SavedViewsStore, UseSavedViewsOptions, savedViews } from "./saved-views.js";
33
- import { sidePanel } from "./side-panel.js";
34
- import { selectionStats, statusBar } from "./status-bar.js";
35
- import { TableTree, TreeExpansionOptions, TreeFeatureOptions, tree, useLazyChildren, useTreeExpansion } from "./tree.js";
36
- import { VirtualizeOptions, virtualize } from "./virtualize.js";
37
- import { ColumnMenuSlotProps } from "@adapttable/vue/adapter";
38
- import { GroupingExtras } from "@adapttable/vue/features";
39
- import { ExportPdfOptions } from "@adapttable/vue/pdf";
40
- import { ExportXlsxOptions } from "@adapttable/vue/xlsx";
41
- export { type AdapterFiltersFeature, AgentApproval, type AgentApprovalProps, type BatchEditingState, type BatchRowEdit, type CellEdit, type CellEditHandler, type CellNavigationOptions, type CellRange, _default as ChecklistFilter, type ChecklistFilterProps, type ColumnMenuSlotProps, type DataTableClassNames, type EditingLifecycleExtras, type ExportPdfOptions, type ExportXlsxOptions, type FilterDef, _default$1 as FilterHeaderControl, type FilterHeaderControlOptions, type FilterHeaderControlProps, _default$2 as FilterHeaderRow, type FilterHeaderRowProps, type FilterOption, _default$3 as FilterTreeBuilder, type FilterTreeBuilderProps, type FilterTypeSpec, type FilterWidget, type FiltersOptions, type GridCell, type GroupCollapseOptions, type GroupNode, type GroupSort, type GroupingExtras, type GroupingPanelProps, _default$4 as NaiveBatchEditBar, _default$5 as NaiveEditableCell, _default$6 as NaiveFilterField, _default$7 as NaiveHeaderFilter, _default$8 as NaiveRowEditActions, type NestedTable, type NestedTableFor, type RowEditIcons, type RowEditingState, type RowExpansionOptions, type RowReorderHandler, type RowReorderOptions, type SavedView, SavedViewsPanel, SavedViewsPanelProps, type SavedViewsStore, type StaticGroupingExtras, TableAssistant, type TableAssistantProps, type TableEditingOptions, type TableRowDetail, type TableTree, type TreeExpansionOptions, type TreeFeatureOptions, type UseSavedViewsOptions, type VirtualizeOptions, agentApproval, batchEditing, booleanFilterWidget, bulkActions, cellNavigation, cellSpan, checklistFilterWidget, collapsibleColumnGroups, columnMenu, columnSelectionCheckbox, commandPalette, contextMenu, densityChooser, dirtyIndicators, editHistory, editing, exportCsv, extraRows, filterTypes, filters, filtersWith, findInTable, fitColumns, fullscreen, grouping, groupingPanel, headerFilters, multiSelectFilterWidget, multiSort, nestedTable, nestedTableDetail, pinnedSummaryRows, print, rangeFilterWidget, resizableColumns, rowActions, rowAppearance, rowDetail, rowEditing, rowPinning, rowReorder, savedViews, selectFilterWidget, selectionStats, sidePanel, statusBar, tableAssistant, textFilterWidget, tree, undoRedoButtons, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging, useLazyChildren, useRowExpansion, useRowReorder, useTreeExpansion, virtualize };
package/dist/features.js DELETED
@@ -1,37 +0,0 @@
1
- import { cellNavigation, columnSelectionCheckbox } from "./cell-navigation.js";
2
- import { i as tableAssistant, n as TableAssistant, r as agentApproval, t as AgentApproval } from "./assistant-_SYRZCOi.js";
3
- import { a as rowEditing, c as _sfc_main$5, i as editing, l as _sfc_main$4, n as dirtyIndicators, o as undoRedoButtons, r as editHistory, s as _sfc_main$8, t as batchEditing } from "./editing-DTOBwNI6.js";
4
- import "./batch-editing.js";
5
- import { bulkActions } from "./bulk-actions.js";
6
- import { cellSpan } from "./cell-span.js";
7
- import { collapsibleColumnGroups } from "./column-groups.js";
8
- import { t as columnMenu } from "./column-menu-BeNblq2u.js";
9
- import { t as commandPalette } from "./command-palette-CSI-tgcP.js";
10
- import { t as contextMenu } from "./context-menu-CsbLaMcR.js";
11
- import { t as densityChooser } from "./density-C7K5aGdQ.js";
12
- import { exportCsv } from "./export-csv.js";
13
- import "./export.js";
14
- import { extraRows } from "./extra-rows.js";
15
- import { a as checklistFilterWidget, c as selectFilterWidget, i as booleanFilterWidget, l as textFilterWidget, n as filters, o as multiSelectFilterWidget, r as filtersWith, s as rangeFilterWidget, t as filterTypes, u as _sfc_main$3 } from "./filters-Cy170_qU.js";
16
- import { r as _sfc_main, t as _sfc_main$6 } from "./NaiveFilterField-SRraOkWU.js";
17
- import { findInTable } from "./find-in-table.js";
18
- import { fitColumns } from "./fit-columns.js";
19
- import { fullscreen } from "./fullscreen.js";
20
- import { grouping, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging } from "./grouping.js";
21
- import { t as groupingPanel } from "./grouping-panel-CYUPSa0u.js";
22
- import { i as _sfc_main$7, n as _sfc_main$2, r as _sfc_main$1, t as headerFilters } from "./header-filters-Bxb3snYP.js";
23
- import { multiSort } from "./multi-sort.js";
24
- import { pinnedSummaryRows } from "./pinned-summary-rows.js";
25
- import { print } from "./print.js";
26
- import { resizableColumns } from "./resizable-columns.js";
27
- import { rowActions } from "./row-actions.js";
28
- import { rowAppearance } from "./row-appearance.js";
29
- import { nestedTable, nestedTableDetail, rowDetail, useRowExpansion } from "./row-detail.js";
30
- import { rowPinning } from "./row-pinning.js";
31
- import { n as useRowReorder, t as rowReorder } from "./row-reorder-DBzbJ20V.js";
32
- import { n as savedViews, t as SavedViewsPanel } from "./saved-views-Dac8M1-P.js";
33
- import { t as sidePanel } from "./side-panel-CLTgXUnb.js";
34
- import { selectionStats, statusBar } from "./status-bar.js";
35
- import { tree, useLazyChildren, useTreeExpansion } from "./tree.js";
36
- import { virtualize } from "./virtualize.js";
37
- export { AgentApproval, _sfc_main as ChecklistFilter, _sfc_main$1 as FilterHeaderControl, _sfc_main$2 as FilterHeaderRow, _sfc_main$3 as FilterTreeBuilder, _sfc_main$4 as NaiveBatchEditBar, _sfc_main$5 as NaiveEditableCell, _sfc_main$6 as NaiveFilterField, _sfc_main$7 as NaiveHeaderFilter, _sfc_main$8 as NaiveRowEditActions, SavedViewsPanel, TableAssistant, agentApproval, batchEditing, booleanFilterWidget, bulkActions, cellNavigation, cellSpan, checklistFilterWidget, collapsibleColumnGroups, columnMenu, columnSelectionCheckbox, commandPalette, contextMenu, densityChooser, dirtyIndicators, editHistory, editing, exportCsv, extraRows, filterTypes, filters, filtersWith, findInTable, fitColumns, fullscreen, grouping, groupingPanel, headerFilters, multiSelectFilterWidget, multiSort, nestedTable, nestedTableDetail, pinnedSummaryRows, print, rangeFilterWidget, resizableColumns, rowActions, rowAppearance, rowDetail, rowEditing, rowPinning, rowReorder, savedViews, selectFilterWidget, selectionStats, sidePanel, statusBar, tableAssistant, textFilterWidget, tree, undoRedoButtons, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging, useLazyChildren, useRowExpansion, useRowReorder, useTreeExpansion, virtualize };
@@ -1,90 +0,0 @@
1
- import { FilterDef as FilterDef$1, FilterOption, FilterTypeSpec } from "@adapttable/vue";
2
- import { AdapterFiltersFeature, AdapterFiltersFeature as AdapterFiltersFeature$1, ChecklistFilterProps, ChecklistFilterProps as ChecklistFilterProps$1, FilterFieldOptions, FilterTreeBuilderProps, FilterTreeBuilderProps as FilterTreeBuilderProps$1, FilterWidget, FilterWidget as FilterWidget$1 } from "@adapttable/vue/adapter";
3
- import { FiltersOptions, filterTypes } from "@adapttable/vue/features";
4
- //#region src/filters/NaiveChecklistFilter.vue.d.ts
5
- declare const __VLS_export$2: <TRow>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
- props: import("vue").PublicProps & __VLS_PrettifyLocal$2<{
7
- readonly def: ChecklistFilterProps<TRow>["def"];
8
- readonly source: ChecklistFilterProps<TRow>["source"];
9
- readonly labels?: NonNullable<ChecklistFilterProps<TRow>["labels"]>;
10
- readonly classNames?: NonNullable<ChecklistFilterProps<TRow>["classNames"]>;
11
- }> & (typeof globalThis extends {
12
- __VLS_PROPS_FALLBACK: infer P;
13
- } ? P : {});
14
- expose: (exposed: {}) => void;
15
- attrs: any;
16
- slots: {};
17
- emit: {};
18
- }>) => import("vue").VNode & {
19
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
20
- };
21
- declare const _default$2: typeof __VLS_export$2;
22
- type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
23
- //#endregion
24
- //#region src/filters/NaiveFilterField.vue.d.ts
25
- declare const __VLS_export$1: <TRow>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
26
- props: import("vue").PublicProps & __VLS_PrettifyLocal$1<FilterFieldOptions<TRow>> & (typeof globalThis extends {
27
- __VLS_PROPS_FALLBACK: infer P;
28
- } ? P : {});
29
- expose: (exposed: {}) => void;
30
- attrs: any;
31
- slots: {};
32
- emit: {};
33
- }>) => import("vue").VNode & {
34
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
35
- };
36
- declare const _default$1: typeof __VLS_export$1;
37
- type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
38
- //#endregion
39
- //#region src/filters/NaiveFilterTree.vue.d.ts
40
- declare const __VLS_export: <TRow>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
41
- props: import("vue").PublicProps & __VLS_PrettifyLocal<{
42
- readonly defs: FilterTreeBuilderProps<TRow>["defs"];
43
- readonly source: FilterTreeBuilderProps<TRow>["source"];
44
- readonly labels?: NonNullable<FilterTreeBuilderProps<TRow>["labels"]>;
45
- readonly classNames?: NonNullable<FilterTreeBuilderProps<TRow>["classNames"]>;
46
- readonly registry?: NonNullable<FilterTreeBuilderProps<TRow>["registry"]>;
47
- readonly defaultExpanded?: boolean;
48
- }> & (typeof globalThis extends {
49
- __VLS_PROPS_FALLBACK: infer P;
50
- } ? P : {});
51
- expose: (exposed: {}) => void;
52
- attrs: any;
53
- slots: {};
54
- emit: {};
55
- }>) => import("vue").VNode & {
56
- __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
57
- };
58
- declare const _default: typeof __VLS_export;
59
- type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K in keyof T as K]: T[K]; }) & {};
60
- //#endregion
61
- //#region src/filters/widgets.d.ts
62
- /** The Naive UI text filter: its operator and its value. @public */
63
- declare const textFilterWidget: FilterWidget;
64
- /** The Naive UI yes/no filter. @public */
65
- declare const booleanFilterWidget: FilterWidget;
66
- /** The Naive UI single-choice filter. @public */
67
- declare const selectFilterWidget: FilterWidget;
68
- /** The Naive UI multiple-choice filter. @public */
69
- declare const multiSelectFilterWidget: FilterWidget;
70
- /** The Naive UI searchable checklist filter. @public */
71
- declare const checklistFilterWidget: FilterWidget;
72
- /** The Naive UI operator-first number and date range filter. @public */
73
- declare const rangeFilterWidget: FilterWidget;
74
- //#endregion
75
- //#region src/filters.d.ts
76
- /**
77
- * Declarative filters whose fields are drawn with only the given widgets, so
78
- * the widgets a table never shows stay out of its bundle. A filter whose
79
- * widget is missing throws when its field draws.
80
- *
81
- * @param widgets - The widgets to draw fields with, such as `textFilterWidget`.
82
- *
83
- * @public
84
- */
85
- declare function filtersWith(widgets: readonly FilterWidget[]): AdapterFiltersFeature;
86
- /** Declarative filters with this kit's chip strip, panel and every widget. @public */
87
- declare const filters: AdapterFiltersFeature;
88
- //#endregion
89
- export { textFilterWidget as _, FilterTreeBuilderProps$1 as a, _default$2 as b, FiltersOptions as c, filtersWith as d, booleanFilterWidget as f, selectFilterWidget as g, rangeFilterWidget as h, FilterOption as i, filterTypes as l, multiSelectFilterWidget as m, ChecklistFilterProps$1 as n, FilterTypeSpec as o, checklistFilterWidget as p, FilterDef$1 as r, FilterWidget$1 as s, AdapterFiltersFeature$1 as t, filters as u, _default as v, _default$1 as y };
90
- //# sourceMappingURL=filters-ClqB1_n4.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"filters-ClqB1_n4.d.cts","names":[],"sources":["../src/filters/NaiveChecklistFilter.vue","../src/filters/NaiveFilterField.vue","../src/filters/NaiveFilterTree.vue","../src/filters/widgets.ts","../src/filters.ts"],"mappings":";;;;cA2EM,iBAAiB,MACtB,aAAa,YAAY,eAAe,wBACxC,YAAY,sBAAoB,KAAK,YAAY,eAAe,6CAChE,gBAAgB,YAAY,eAAe,yBAC3C,cAAA;EAwEO,qBAAc,cAAc;aArEpB,KAAA,qBAAqB;aAClB,QAAA,qBAAqB;aACpB,SAAA,YAAY,qBAAqB;aAC7B,aAAA,YAAY,qBAAqB;eAkE4B;IAAqB,4BAA4B;MAAM;EACnI,SAAC;EACF;EACA;EACD;qBAGmB;EAAU,QAAQ,YAAY,eAAe;;cAClD,mBAAO;KACvB,sBAAoB,MAAM,mBAAmB,WAAW,IAAI,EAAE,WAAW,WAAW,KAAK,IAAI,EAAE;;;cC5H9F,iBAAiB,MACtB,aAAa,YAAY,eAAe,wBACxC,YAAY,sBAAoB,KAAK,YAAY,eAAe,6CAChE,gBAAgB,YAAY,eAAe,yBAC3C,cAAA;EAmCO,qBAAc,cAAc,sBAAmB,mBAAA,iBAA8B;IAAqB,4BAA4B;MAAM;EACnI,SAAC;EACF;EACA;EACD;qBAGmB;EAAU,QAAQ,YAAY,eAAe;;cAClD,mBAAO;KACvB,sBAAoB,MAAM,mBAAmB,WAAW,IAAI,EAAE,WAAW,WAAW,KAAK,IAAI,EAAE;;;cCkC9F,eAAiB,MACtB,aAAa,YAAY,eAAe,wBACxC,YAAY,oBAAoB,KAAK,YAAY,eAAe,6CAChE,gBAAgB,YAAY,eAAe,yBAC3C,cAAA;EAgHO,qBAAc,cAAc;aA7GnB,MAAA,uBAAuB;aACrB,QAAA,uBAAuB;aACtB,SAAA,YAAY,uBAAuB;aAC/B,aAAA,YAAY,uBAAuB;aACrC,WAAA,YAAY,uBAAuB;aAC5B;eAwGwD;IAAqB,4BAA4B;MAAM;EACnI,SAAC;EACF;EACA;EACD;qBAGmB;EAAU,QAAQ,YAAY,eAAe;;cAClD,iBAAO;KACvB,oBAAoB,MAAM,mBAAmB,WAAW,IAAI,EAAE,WAAW,WAAW,KAAK,IAAI,EAAE;;;;cCxNvF,kBAAgB;;cAEhB,qBAAmB;;cAGnB,oBAAkB;;cAElB,yBAAuB;;cAGvB,uBAAuB;;cAKvB,mBAAiB;;;;;;;;;;;;iBCdd,YACd,kBAAkB,iBACjB;;cAcU,SAAO"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"filters-Cy170_qU.js","names":["NaiveFilterTree","NaiveBasicFilterField","NaiveChecklistField","bindingFilters","filters"],"sources":["../src/filters/NaiveFilterChips.ts","../src/filters/NaiveFilterDisclosure.vue","../src/filters/NaiveFilterTree.vue","../src/filters/NaiveFiltersPanel.ts","../src/filters/widgets.ts","../src/filters.ts"],"sourcesContent":["import {\n type ActiveFilterChipsSlotProps,\n FilterChipsChrome,\n useDataTableClassNames,\n} from \"@adapttable/vue/adapter\";\nimport { defineComponent, type PropType } from \"vue\";\n\nimport { naiveButton } from \"../controls/button\";\n\nexport const NaiveFilterChips = defineComponent(\n (props: ActiveFilterChipsSlotProps) => {\n const names = useDataTableClassNames();\n return () =>\n FilterChipsChrome({\n ...props,\n classNames: names.value,\n slots: {\n Remove: ({ attrs }) => naiveButton(attrs, \"×\", { text: true }),\n Clear: ({ attrs, label }) => naiveButton(attrs, label),\n },\n });\n },\n {\n name: \"NaiveFilterChips\",\n props: {\n chips: { type: Array as PropType<ActiveFilterChipsSlotProps[\"chips\"]> },\n labels: {\n type: Object as PropType<ActiveFilterChipsSlotProps[\"labels\"]>,\n },\n onClearAll: {\n type: Function as PropType<ActiveFilterChipsSlotProps[\"onClearAll\"]>,\n },\n },\n }\n);\n","<script setup lang=\"ts\">\nimport type { FilterTreeDisclosureProps } from \"@adapttable/vue/adapter\";\nimport { NCollapse, NCollapseItem } from \"naive-ui\";\nimport { useId, type VNodeChild } from \"vue\";\n\nimport { naiveButton } from \"../controls/button\";\n\ndefineOptions({ name: \"NaiveFilterDisclosure\" });\nconst props = defineProps<{\n readonly control: FilterTreeDisclosureProps<VNodeChild>;\n}>();\nconst contentId = `adapttable-naive-filter-tree-${useId()}`;\nconst Trigger = () =>\n naiveButton(\n {\n \"data-adapttable-part\": \"filter-tree-summary\",\n \"aria-expanded\": props.control.expanded,\n \"aria-controls\": contentId,\n class: props.control.summaryClassName,\n onClick: () => props.control.onExpandedChange(!props.control.expanded),\n },\n props.control.label\n );\nconst Content = () => props.control.children;\n</script>\n\n<template>\n <NCollapse\n data-adapttable-part=\"filter-tree\"\n :class=\"control.className\"\n :expanded-names=\"control.expanded ? ['advanced'] : []\"\n :trigger-areas=\"[]\"\n >\n <template #arrow><span aria-hidden=\"true\" /></template>\n <NCollapseItem name=\"advanced\">\n <template #header><Trigger /></template>\n <div :id=\"contentId\"><Content /></div>\n </NCollapseItem>\n </NCollapse>\n</template>\n","<script setup lang=\"ts\" generic=\"TRow\">\nimport {\n type FilterTreeBuilderProps,\n FilterTreeChrome,\n type FilterTreeSlots,\n useFilterTreeModel,\n} from \"@adapttable/vue/adapter\";\nimport { NFormItem } from \"naive-ui\";\nimport { h, type VNodeChild } from \"vue\";\n\nimport { naiveButton } from \"../controls/button\";\nimport { naiveInput } from \"../controls/input\";\nimport { naiveSelect } from \"../controls/select\";\nimport NaiveFilterDisclosure from \"./NaiveFilterDisclosure.vue\";\n\ndefineOptions({ name: \"NaiveFilterTree\" });\nconst {\n defaultExpanded = undefined,\n labels = undefined,\n classNames = undefined,\n registry = undefined,\n ...props\n} = defineProps<{\n readonly defs: FilterTreeBuilderProps<TRow>[\"defs\"];\n readonly source: FilterTreeBuilderProps<TRow>[\"source\"];\n readonly labels?: NonNullable<FilterTreeBuilderProps<TRow>[\"labels\"]>;\n readonly classNames?: NonNullable<FilterTreeBuilderProps<TRow>[\"classNames\"]>;\n readonly registry?: NonNullable<FilterTreeBuilderProps<TRow>[\"registry\"]>;\n readonly defaultExpanded?: boolean;\n}>();\nconst model = useFilterTreeModel(() => ({\n ...props,\n defaultExpanded,\n labels,\n classNames,\n registry,\n}));\nfunction field(\n control: { label: string; fieldClassName?: string; labelClassName?: string },\n content: () => VNodeChild\n) {\n return h(\n NFormItem,\n {\n \"data-adapttable-part\": \"filter-field\",\n class: control.fieldClassName,\n showFeedback: false,\n size: \"small\",\n },\n {\n label: () =>\n h(\n \"span\",\n {\n \"data-adapttable-part\": \"filter-label\",\n class: control.labelClassName,\n },\n control.label\n ),\n default: content,\n }\n );\n}\nconst controls: FilterTreeSlots<VNodeChild> = {\n Select: (control) =>\n field(control, () =>\n naiveSelect({\n ...control,\n attrs: {\n \"data-adapttable-part\": control.part,\n \"aria-label\": control.label,\n class: control.className,\n },\n })\n ),\n Input: (control) =>\n field(control, () =>\n naiveInput({\n ...control,\n attrs: {\n \"data-adapttable-part\": \"filter-input\",\n \"aria-label\": control.label,\n class: control.className,\n },\n })\n ),\n Button: (control) =>\n naiveButton(\n {\n \"data-adapttable-part\": control.part,\n class: control.className,\n onClick: control.onClick,\n },\n control.label\n ),\n Disclosure: (control) => h(NaiveFilterDisclosure, { control }),\n};\nconst Render = () => FilterTreeChrome({ model: model.value, controls });\nRender.props = [] as string[];\n</script>\n\n<template><Render /></template>\n","import {\n FilterPanelChrome,\n type FilterPanelSlots,\n filterViewKey,\n type FilterWidget,\n filterWidgetComponent,\n mergeVueAttrs,\n useDataTableClassNames,\n useFeatureState,\n} from \"@adapttable/vue/adapter\";\nimport { NIcon } from \"naive-ui\";\nimport { defineComponent, h, type PropType } from \"vue\";\n\nimport { naiveButton } from \"../controls/button\";\nimport { NaiveFilterSurface } from \"./NaiveFilterSurface\";\nimport NaiveFilterTree from \"./NaiveFilterTree.vue\";\n\nfunction useNaiveFiltersPanel(widgets: readonly FilterWidget[]) {\n const names = useDataTableClassNames();\n const model = useFeatureState(filterViewKey<unknown>());\n const buttonClass = (part: string) => {\n if (part === \"filters-clear\") return names.value.filtersClear;\n if (part === \"filters-close\") return names.value.filtersClose;\n return names.value.filtersDone;\n };\n const controls: FilterPanelSlots<unknown> = {\n Trigger: (trigger) =>\n naiveButton(\n mergeVueAttrs(trigger.attrs, {\n ref: trigger.triggerRef,\n class: names.value.filtersButton,\n onPointerdown: trigger.onPointerDown,\n onClick: trigger.onClick,\n }),\n [\n h(\n NIcon,\n {\n \"data-adapttable-part\": \"filters-icon\",\n class: names.value.filtersIcon,\n \"aria-hidden\": \"true\",\n },\n {\n default: () =>\n h(\"svg\", { viewBox: \"0 0 24 24\", focusable: \"false\" }, [\n h(\"path\", {\n d: \"M3 4h18l-7 8v7l-4 2v-9z\",\n fill: \"none\",\n stroke: \"currentColor\",\n }),\n ]),\n }\n ),\n trigger.label,\n trigger.count\n ? h(\n \"span\",\n {\n \"data-adapttable-part\": \"filters-count\",\n class: names.value.filtersCount,\n },\n ` (${trigger.count})`\n )\n : null,\n ]\n ),\n Button: (button) =>\n naiveButton(\n {\n \"data-adapttable-part\": button.part,\n class: buttonClass(button.part),\n disabled: button.disabled,\n onClick: button.onClick,\n },\n button.label\n ),\n Tree: (tree) => h(NaiveFilterTree, { ...tree, classNames: names.value }),\n Field: (field) =>\n h(filterWidgetComponent(field.def, field.registry, widgets), {\n ...field,\n }),\n Popover: (surface) => h(NaiveFilterSurface, { ...surface, modal: false }),\n Drawer: (surface) => h(NaiveFilterSurface, { ...surface, modal: true }),\n };\n return () =>\n model.value\n ? FilterPanelChrome({\n model: model.value,\n controls,\n classNames: names.value,\n })\n : null;\n}\n\nexport const NaiveFiltersPanel = defineComponent({\n name: \"NaiveFiltersPanel\",\n props: {\n /** The widgets the panel draws its fields with. */\n widgets: {\n type: Array as PropType<readonly FilterWidget[]>,\n required: true,\n },\n },\n setup: (props) => useNaiveFiltersPanel(props.widgets),\n});\n","import {\n booleanFieldPart,\n type FilterFieldOptions,\n type FilterFieldPart,\n type FilterWidget,\n multiSelectFieldPart,\n rangeFieldPart,\n selectFieldPart,\n textFieldPart,\n} from \"@adapttable/vue/adapter\";\nimport { type FunctionalComponent, h } from \"vue\";\n\nimport NaiveBasicFilterField from \"./NaiveBasicFilterField.vue\";\nimport NaiveChecklistField from \"./NaiveChecklistField.vue\";\n\n/** A field drawn by one shared field part. */\nfunction basicWidget(part: FilterFieldPart): FilterWidget {\n const render: FunctionalComponent<FilterFieldOptions<unknown>> = (props) =>\n h(NaiveBasicFilterField<unknown>, { ...props, parts: [part] });\n return { kinds: part.kinds, render };\n}\n\nconst ChecklistField: FunctionalComponent<FilterFieldOptions<unknown>> = (\n props\n) => h(NaiveChecklistField<unknown>, { ...props });\n\n/** The Naive UI text filter: its operator and its value. @public */\nexport const textFilterWidget = /* @__PURE__ */ basicWidget(textFieldPart);\n/** The Naive UI yes/no filter. @public */\nexport const booleanFilterWidget =\n /* @__PURE__ */ basicWidget(booleanFieldPart);\n/** The Naive UI single-choice filter. @public */\nexport const selectFilterWidget = /* @__PURE__ */ basicWidget(selectFieldPart);\n/** The Naive UI multiple-choice filter. @public */\nexport const multiSelectFilterWidget =\n /* @__PURE__ */ basicWidget(multiSelectFieldPart);\n/** The Naive UI searchable checklist filter. @public */\nexport const checklistFilterWidget: FilterWidget = {\n kinds: [\"checklist\"],\n render: ChecklistField,\n};\n/** The Naive UI operator-first number and date range filter. @public */\nexport const rangeFilterWidget = /* @__PURE__ */ basicWidget(rangeFieldPart);\n\n/** Every built-in widget: what the automatic filters form draws. */\nexport const FILTER_WIDGETS: readonly FilterWidget[] = [\n textFilterWidget,\n booleanFilterWidget,\n selectFilterWidget,\n multiSelectFilterWidget,\n checklistFilterWidget,\n rangeFilterWidget,\n];\n","import type { FilterDef, TableFeature } from \"@adapttable/vue\";\nimport {\n ACTIVE_FILTER_CHIPS,\n type AdapterFiltersFeature,\n extendFeature,\n type FilterWidget,\n slotRender,\n TOOLBAR_EXTRAS,\n} from \"@adapttable/vue/adapter\";\nimport {\n filters as bindingFilters,\n type FiltersOptions,\n} from \"@adapttable/vue/features\";\nimport { h } from \"vue\";\n\nimport { NaiveFilterChips } from \"./filters/NaiveFilterChips\";\nimport { NaiveFiltersPanel } from \"./filters/NaiveFiltersPanel\";\nimport { FILTER_WIDGETS } from \"./filters/widgets\";\n\n/**\n * Declarative filters whose fields are drawn with only the given widgets, so\n * the widgets a table never shows stay out of its bundle. A filter whose\n * widget is missing throws when its field draws.\n *\n * @param widgets - The widgets to draw fields with, such as `textFilterWidget`.\n *\n * @public\n */\nexport function filtersWith(\n widgets: readonly FilterWidget[]\n): AdapterFiltersFeature {\n return <TRow>(\n defs: readonly FilterDef<TRow>[] = [],\n options: FiltersOptions = {}\n ): TableFeature<TRow> =>\n extendFeature(bindingFilters(defs, options), [\n slotRender(TOOLBAR_EXTRAS, () => h(NaiveFiltersPanel, { widgets })),\n slotRender(ACTIVE_FILTER_CHIPS, (props) =>\n h(NaiveFilterChips, { ...props })\n ),\n ]);\n}\n\n/** Declarative filters with this kit's chip strip, panel and every widget. @public */\nexport const filters = /* @__PURE__ */ filtersWith(FILTER_WIDGETS);\n\nexport { default as ChecklistFilter } from \"./filters/NaiveChecklistFilter.vue\";\nexport { default as NaiveFilterField } from \"./filters/NaiveFilterField.vue\";\nexport { default as FilterTreeBuilder } from \"./filters/NaiveFilterTree.vue\";\nexport {\n booleanFilterWidget,\n checklistFilterWidget,\n multiSelectFilterWidget,\n rangeFilterWidget,\n selectFilterWidget,\n textFilterWidget,\n} from \"./filters/widgets\";\nexport type { FilterDef, FilterOption, FilterTypeSpec } from \"@adapttable/vue\";\nexport type {\n AdapterFiltersFeature,\n FilterWidget,\n} from \"@adapttable/vue/adapter\";\nexport type {\n ChecklistFilterProps,\n FilterTreeBuilderProps,\n} from \"@adapttable/vue/adapter\";\nexport type { FiltersOptions } from \"@adapttable/vue/features\";\nexport { filterTypes } from \"@adapttable/vue/features\";\n"],"mappings":";;;;;;;;;AASA,MAAa,mBAAmB,iBAC7B,UAAsC;CACrC,MAAM,QAAQ,uBAAuB;CACrC,aACE,kBAAkB;EAChB,GAAG;EACH,YAAY,MAAM;EAClB,OAAO;GACL,SAAS,EAAE,YAAY,YAAY,OAAO,KAAK,EAAE,MAAM,KAAK,CAAC;GAC7D,QAAQ,EAAE,OAAO,YAAY,YAAY,OAAO,KAAK;EACvD;CACF,CAAC;AACL,GACA;CACE,MAAM;CACN,OAAO;EACL,OAAO,EAAE,MAAM,MAAuD;EACtE,QAAQ,EACN,MAAM,OACR;EACA,YAAY,EACV,MAAM,SACR;CACF;AACF,CACF;;;;;;;;EC1BA,MAAM,QAAQ;EAGd,MAAM,YAAY,gCAAgC,MAAM;EACxD,MAAM,gBACJ,YACE;GACE,wBAAwB;GACxB,iBAAiB,MAAM,QAAQ;GAC/B,iBAAiB;GACjB,OAAO,MAAM,QAAQ;GACrB,eAAe,MAAM,QAAQ,iBAAiB,CAAC,MAAM,QAAQ,QAAQ;EACvE,GACA,MAAM,QAAQ,KAChB;EACF,MAAM,gBAAgB,MAAM,QAAQ;;GAIlC,OAAA,UAAA,GAAA,YAWY,MAAA,SAAA,GAAA;IAVV,wBAAqB;IACpB,OAAK,eAAE,QAAA,QAAQ,SAAS;IACxB,kBAAgB,QAAA,QAAQ,WAAQ,CAAA,UAAA,IAAA,CAAA;IAChC,iBAAe,CAAA;;IAEL,OAAK,cAA4B,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAA3B,mBAA2B,QAAA,EAArB,eAAY,OAAM,GAAA,MAAA,EAAA,C,E,C;IACzC,SAAA,cAGgB,CAHhB,YAGgB,MAAA,aAAA,GAAA,EAHD,MAAK,WAAU,GAAA;KACjB,QAAM,cAAY,CAAX,YAAW,OAAA,C,C;KAC7B,SAAA,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QAAQ,UAAU,qBAAqB,MAAM,OAAO;AACtD,CAAC;;;;ACxFD,SAAS,YAAY,MAAqC;CACxD,MAAM,UAA4D,UAChE,EAAEC,aAAgC;EAAE,GAAG;EAAO,OAAO,CAAC,IAAI;CAAE,CAAC;CAC/D,OAAO;EAAE,OAAO,KAAK;EAAO;CAAO;AACrC;AAEA,MAAM,kBACJ,UACG,EAAEC,aAA8B,EAAE,GAAG,MAAM,CAAC;;AAGjD,MAAa,mBAAmC,4BAAY,aAAa;;AAEzE,MAAa,sBACK,4BAAY,gBAAgB;;AAE9C,MAAa,qBAAqC,4BAAY,eAAe;;AAE7E,MAAa,0BACK,4BAAY,oBAAoB;;AAElD,MAAa,wBAAsC;CACjD,OAAO,CAAC,WAAW;CACnB,QAAQ;AACV;;AAEA,MAAa,oBAAoC,4BAAY,cAAc;;AAG3E,MAAa,iBAA0C;CACrD;CACA;CACA;CACA;CACA;CACA;AACF;;;;;;;;;;;;ACxBA,SAAgB,YACd,SACuB;CACvB,QACE,OAAmC,CAAC,GACpC,UAA0B,CAAC,MAE3B,cAAcC,QAAe,MAAM,OAAO,GAAG,CAC3C,WAAW,sBAAsB,EAAE,mBAAmB,EAAE,QAAQ,CAAC,CAAC,GAClE,WAAW,sBAAsB,UAC/B,EAAE,kBAAkB,EAAE,GAAG,MAAM,CAAC,CAClC,CACF,CAAC;AACL;;AAGA,MAAaC,YAA0B,4BAAY,cAAc"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"filters-DIlfaXQJ.cjs","names":["defineComponent","useDataTableClassNames","FilterChipsChrome","naiveButton","useDataTableClassNames","useFeatureState","filterViewKey","naiveButton","mergeVueAttrs","h","NIcon","NaiveFilterTree","filterWidgetComponent","NaiveFilterSurface","FilterPanelChrome","defineComponent","h","NaiveBasicFilterField","NaiveChecklistField","textFieldPart","booleanFieldPart","selectFieldPart","multiSelectFieldPart","rangeFieldPart","extendFeature","bindingFilters","slotRender","TOOLBAR_EXTRAS","h","ACTIVE_FILTER_CHIPS"],"sources":["../src/filters/NaiveFilterChips.ts","../src/filters/NaiveFilterDisclosure.vue","../src/filters/NaiveFilterTree.vue","../src/filters/NaiveFiltersPanel.ts","../src/filters/widgets.ts","../src/filters.ts"],"sourcesContent":["import {\n type ActiveFilterChipsSlotProps,\n FilterChipsChrome,\n useDataTableClassNames,\n} from \"@adapttable/vue/adapter\";\nimport { defineComponent, type PropType } from \"vue\";\n\nimport { naiveButton } from \"../controls/button\";\n\nexport const NaiveFilterChips = defineComponent(\n (props: ActiveFilterChipsSlotProps) => {\n const names = useDataTableClassNames();\n return () =>\n FilterChipsChrome({\n ...props,\n classNames: names.value,\n slots: {\n Remove: ({ attrs }) => naiveButton(attrs, \"×\", { text: true }),\n Clear: ({ attrs, label }) => naiveButton(attrs, label),\n },\n });\n },\n {\n name: \"NaiveFilterChips\",\n props: {\n chips: { type: Array as PropType<ActiveFilterChipsSlotProps[\"chips\"]> },\n labels: {\n type: Object as PropType<ActiveFilterChipsSlotProps[\"labels\"]>,\n },\n onClearAll: {\n type: Function as PropType<ActiveFilterChipsSlotProps[\"onClearAll\"]>,\n },\n },\n }\n);\n","<script setup lang=\"ts\">\nimport type { FilterTreeDisclosureProps } from \"@adapttable/vue/adapter\";\nimport { NCollapse, NCollapseItem } from \"naive-ui\";\nimport { useId, type VNodeChild } from \"vue\";\n\nimport { naiveButton } from \"../controls/button\";\n\ndefineOptions({ name: \"NaiveFilterDisclosure\" });\nconst props = defineProps<{\n readonly control: FilterTreeDisclosureProps<VNodeChild>;\n}>();\nconst contentId = `adapttable-naive-filter-tree-${useId()}`;\nconst Trigger = () =>\n naiveButton(\n {\n \"data-adapttable-part\": \"filter-tree-summary\",\n \"aria-expanded\": props.control.expanded,\n \"aria-controls\": contentId,\n class: props.control.summaryClassName,\n onClick: () => props.control.onExpandedChange(!props.control.expanded),\n },\n props.control.label\n );\nconst Content = () => props.control.children;\n</script>\n\n<template>\n <NCollapse\n data-adapttable-part=\"filter-tree\"\n :class=\"control.className\"\n :expanded-names=\"control.expanded ? ['advanced'] : []\"\n :trigger-areas=\"[]\"\n >\n <template #arrow><span aria-hidden=\"true\" /></template>\n <NCollapseItem name=\"advanced\">\n <template #header><Trigger /></template>\n <div :id=\"contentId\"><Content /></div>\n </NCollapseItem>\n </NCollapse>\n</template>\n","<script setup lang=\"ts\" generic=\"TRow\">\nimport {\n type FilterTreeBuilderProps,\n FilterTreeChrome,\n type FilterTreeSlots,\n useFilterTreeModel,\n} from \"@adapttable/vue/adapter\";\nimport { NFormItem } from \"naive-ui\";\nimport { h, type VNodeChild } from \"vue\";\n\nimport { naiveButton } from \"../controls/button\";\nimport { naiveInput } from \"../controls/input\";\nimport { naiveSelect } from \"../controls/select\";\nimport NaiveFilterDisclosure from \"./NaiveFilterDisclosure.vue\";\n\ndefineOptions({ name: \"NaiveFilterTree\" });\nconst {\n defaultExpanded = undefined,\n labels = undefined,\n classNames = undefined,\n registry = undefined,\n ...props\n} = defineProps<{\n readonly defs: FilterTreeBuilderProps<TRow>[\"defs\"];\n readonly source: FilterTreeBuilderProps<TRow>[\"source\"];\n readonly labels?: NonNullable<FilterTreeBuilderProps<TRow>[\"labels\"]>;\n readonly classNames?: NonNullable<FilterTreeBuilderProps<TRow>[\"classNames\"]>;\n readonly registry?: NonNullable<FilterTreeBuilderProps<TRow>[\"registry\"]>;\n readonly defaultExpanded?: boolean;\n}>();\nconst model = useFilterTreeModel(() => ({\n ...props,\n defaultExpanded,\n labels,\n classNames,\n registry,\n}));\nfunction field(\n control: { label: string; fieldClassName?: string; labelClassName?: string },\n content: () => VNodeChild\n) {\n return h(\n NFormItem,\n {\n \"data-adapttable-part\": \"filter-field\",\n class: control.fieldClassName,\n showFeedback: false,\n size: \"small\",\n },\n {\n label: () =>\n h(\n \"span\",\n {\n \"data-adapttable-part\": \"filter-label\",\n class: control.labelClassName,\n },\n control.label\n ),\n default: content,\n }\n );\n}\nconst controls: FilterTreeSlots<VNodeChild> = {\n Select: (control) =>\n field(control, () =>\n naiveSelect({\n ...control,\n attrs: {\n \"data-adapttable-part\": control.part,\n \"aria-label\": control.label,\n class: control.className,\n },\n })\n ),\n Input: (control) =>\n field(control, () =>\n naiveInput({\n ...control,\n attrs: {\n \"data-adapttable-part\": \"filter-input\",\n \"aria-label\": control.label,\n class: control.className,\n },\n })\n ),\n Button: (control) =>\n naiveButton(\n {\n \"data-adapttable-part\": control.part,\n class: control.className,\n onClick: control.onClick,\n },\n control.label\n ),\n Disclosure: (control) => h(NaiveFilterDisclosure, { control }),\n};\nconst Render = () => FilterTreeChrome({ model: model.value, controls });\nRender.props = [] as string[];\n</script>\n\n<template><Render /></template>\n","import {\n FilterPanelChrome,\n type FilterPanelSlots,\n filterViewKey,\n type FilterWidget,\n filterWidgetComponent,\n mergeVueAttrs,\n useDataTableClassNames,\n useFeatureState,\n} from \"@adapttable/vue/adapter\";\nimport { NIcon } from \"naive-ui\";\nimport { defineComponent, h, type PropType } from \"vue\";\n\nimport { naiveButton } from \"../controls/button\";\nimport { NaiveFilterSurface } from \"./NaiveFilterSurface\";\nimport NaiveFilterTree from \"./NaiveFilterTree.vue\";\n\nfunction useNaiveFiltersPanel(widgets: readonly FilterWidget[]) {\n const names = useDataTableClassNames();\n const model = useFeatureState(filterViewKey<unknown>());\n const buttonClass = (part: string) => {\n if (part === \"filters-clear\") return names.value.filtersClear;\n if (part === \"filters-close\") return names.value.filtersClose;\n return names.value.filtersDone;\n };\n const controls: FilterPanelSlots<unknown> = {\n Trigger: (trigger) =>\n naiveButton(\n mergeVueAttrs(trigger.attrs, {\n ref: trigger.triggerRef,\n class: names.value.filtersButton,\n onPointerdown: trigger.onPointerDown,\n onClick: trigger.onClick,\n }),\n [\n h(\n NIcon,\n {\n \"data-adapttable-part\": \"filters-icon\",\n class: names.value.filtersIcon,\n \"aria-hidden\": \"true\",\n },\n {\n default: () =>\n h(\"svg\", { viewBox: \"0 0 24 24\", focusable: \"false\" }, [\n h(\"path\", {\n d: \"M3 4h18l-7 8v7l-4 2v-9z\",\n fill: \"none\",\n stroke: \"currentColor\",\n }),\n ]),\n }\n ),\n trigger.label,\n trigger.count\n ? h(\n \"span\",\n {\n \"data-adapttable-part\": \"filters-count\",\n class: names.value.filtersCount,\n },\n ` (${trigger.count})`\n )\n : null,\n ]\n ),\n Button: (button) =>\n naiveButton(\n {\n \"data-adapttable-part\": button.part,\n class: buttonClass(button.part),\n disabled: button.disabled,\n onClick: button.onClick,\n },\n button.label\n ),\n Tree: (tree) => h(NaiveFilterTree, { ...tree, classNames: names.value }),\n Field: (field) =>\n h(filterWidgetComponent(field.def, field.registry, widgets), {\n ...field,\n }),\n Popover: (surface) => h(NaiveFilterSurface, { ...surface, modal: false }),\n Drawer: (surface) => h(NaiveFilterSurface, { ...surface, modal: true }),\n };\n return () =>\n model.value\n ? FilterPanelChrome({\n model: model.value,\n controls,\n classNames: names.value,\n })\n : null;\n}\n\nexport const NaiveFiltersPanel = defineComponent({\n name: \"NaiveFiltersPanel\",\n props: {\n /** The widgets the panel draws its fields with. */\n widgets: {\n type: Array as PropType<readonly FilterWidget[]>,\n required: true,\n },\n },\n setup: (props) => useNaiveFiltersPanel(props.widgets),\n});\n","import {\n booleanFieldPart,\n type FilterFieldOptions,\n type FilterFieldPart,\n type FilterWidget,\n multiSelectFieldPart,\n rangeFieldPart,\n selectFieldPart,\n textFieldPart,\n} from \"@adapttable/vue/adapter\";\nimport { type FunctionalComponent, h } from \"vue\";\n\nimport NaiveBasicFilterField from \"./NaiveBasicFilterField.vue\";\nimport NaiveChecklistField from \"./NaiveChecklistField.vue\";\n\n/** A field drawn by one shared field part. */\nfunction basicWidget(part: FilterFieldPart): FilterWidget {\n const render: FunctionalComponent<FilterFieldOptions<unknown>> = (props) =>\n h(NaiveBasicFilterField<unknown>, { ...props, parts: [part] });\n return { kinds: part.kinds, render };\n}\n\nconst ChecklistField: FunctionalComponent<FilterFieldOptions<unknown>> = (\n props\n) => h(NaiveChecklistField<unknown>, { ...props });\n\n/** The Naive UI text filter: its operator and its value. @public */\nexport const textFilterWidget = /* @__PURE__ */ basicWidget(textFieldPart);\n/** The Naive UI yes/no filter. @public */\nexport const booleanFilterWidget =\n /* @__PURE__ */ basicWidget(booleanFieldPart);\n/** The Naive UI single-choice filter. @public */\nexport const selectFilterWidget = /* @__PURE__ */ basicWidget(selectFieldPart);\n/** The Naive UI multiple-choice filter. @public */\nexport const multiSelectFilterWidget =\n /* @__PURE__ */ basicWidget(multiSelectFieldPart);\n/** The Naive UI searchable checklist filter. @public */\nexport const checklistFilterWidget: FilterWidget = {\n kinds: [\"checklist\"],\n render: ChecklistField,\n};\n/** The Naive UI operator-first number and date range filter. @public */\nexport const rangeFilterWidget = /* @__PURE__ */ basicWidget(rangeFieldPart);\n\n/** Every built-in widget: what the automatic filters form draws. */\nexport const FILTER_WIDGETS: readonly FilterWidget[] = [\n textFilterWidget,\n booleanFilterWidget,\n selectFilterWidget,\n multiSelectFilterWidget,\n checklistFilterWidget,\n rangeFilterWidget,\n];\n","import type { FilterDef, TableFeature } from \"@adapttable/vue\";\nimport {\n ACTIVE_FILTER_CHIPS,\n type AdapterFiltersFeature,\n extendFeature,\n type FilterWidget,\n slotRender,\n TOOLBAR_EXTRAS,\n} from \"@adapttable/vue/adapter\";\nimport {\n filters as bindingFilters,\n type FiltersOptions,\n} from \"@adapttable/vue/features\";\nimport { h } from \"vue\";\n\nimport { NaiveFilterChips } from \"./filters/NaiveFilterChips\";\nimport { NaiveFiltersPanel } from \"./filters/NaiveFiltersPanel\";\nimport { FILTER_WIDGETS } from \"./filters/widgets\";\n\n/**\n * Declarative filters whose fields are drawn with only the given widgets, so\n * the widgets a table never shows stay out of its bundle. A filter whose\n * widget is missing throws when its field draws.\n *\n * @param widgets - The widgets to draw fields with, such as `textFilterWidget`.\n *\n * @public\n */\nexport function filtersWith(\n widgets: readonly FilterWidget[]\n): AdapterFiltersFeature {\n return <TRow>(\n defs: readonly FilterDef<TRow>[] = [],\n options: FiltersOptions = {}\n ): TableFeature<TRow> =>\n extendFeature(bindingFilters(defs, options), [\n slotRender(TOOLBAR_EXTRAS, () => h(NaiveFiltersPanel, { widgets })),\n slotRender(ACTIVE_FILTER_CHIPS, (props) =>\n h(NaiveFilterChips, { ...props })\n ),\n ]);\n}\n\n/** Declarative filters with this kit's chip strip, panel and every widget. @public */\nexport const filters = /* @__PURE__ */ filtersWith(FILTER_WIDGETS);\n\nexport { default as ChecklistFilter } from \"./filters/NaiveChecklistFilter.vue\";\nexport { default as NaiveFilterField } from \"./filters/NaiveFilterField.vue\";\nexport { default as FilterTreeBuilder } from \"./filters/NaiveFilterTree.vue\";\nexport {\n booleanFilterWidget,\n checklistFilterWidget,\n multiSelectFilterWidget,\n rangeFilterWidget,\n selectFilterWidget,\n textFilterWidget,\n} from \"./filters/widgets\";\nexport type { FilterDef, FilterOption, FilterTypeSpec } from \"@adapttable/vue\";\nexport type {\n AdapterFiltersFeature,\n FilterWidget,\n} from \"@adapttable/vue/adapter\";\nexport type {\n ChecklistFilterProps,\n FilterTreeBuilderProps,\n} from \"@adapttable/vue/adapter\";\nexport type { FiltersOptions } from \"@adapttable/vue/features\";\nexport { filterTypes } from \"@adapttable/vue/features\";\n"],"mappings":";;;;;;;;;AASA,MAAa,oBAAA,GAAmBA,IAAAA,gBAAAA,EAC7B,UAAsC;CACrC,MAAM,SAAA,GAAQC,wBAAAA,uBAAAA,CAAuB;CACrC,cAAA,GACEC,wBAAAA,kBAAAA,CAAkB;EAChB,GAAG;EACH,YAAY,MAAM;EAClB,OAAO;GACL,SAAS,EAAE,YAAYC,eAAAA,YAAY,OAAO,KAAK,EAAE,MAAM,KAAK,CAAC;GAC7D,QAAQ,EAAE,OAAO,YAAYA,eAAAA,YAAY,OAAO,KAAK;EACvD;CACF,CAAC;AACL,GACA;CACE,MAAM;CACN,OAAO;EACL,OAAO,EAAE,MAAM,MAAuD;EACtE,QAAQ,EACN,MAAM,OACR;EACA,YAAY,EACV,MAAM,SACR;CACF;AACF,CACF;;;;;;;;EC1BA,MAAM,QAA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