@adapttable/element-plus 0.4.1 → 0.5.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/{ElementFilterSurface-CiOApO3l.js → ElementFilterField-C8EJjVB_.js} +169 -149
- package/dist/ElementFilterField-C8EJjVB_.js.map +1 -0
- package/dist/{ElementFilterSurface-CUgNfyWW.cjs → ElementFilterField-Dfzy-Yk4.cjs} +175 -143
- package/dist/ElementFilterField-Dfzy-Yk4.cjs.map +1 -0
- package/dist/features.cjs +12 -5
- package/dist/features.d.cts +2 -2
- package/dist/features.d.ts +2 -2
- package/dist/features.js +4 -4
- package/dist/{filters-87q6jAVU.js → filters-C0YXpD3-.js} +64 -9
- package/dist/filters-C0YXpD3-.js.map +1 -0
- package/dist/filters-Ci3fdJMe.d.cts +77 -0
- package/dist/filters-Ci3fdJMe.d.cts.map +1 -0
- package/dist/filters-Dh2MjW9V.d.ts +77 -0
- package/dist/filters-Dh2MjW9V.d.ts.map +1 -0
- package/dist/{filters-bdHAQnex.cjs → filters-hVQM8Cok.cjs} +106 -9
- package/dist/filters-hVQM8Cok.cjs.map +1 -0
- package/dist/filters.cjs +11 -4
- package/dist/filters.d.cts +2 -2
- package/dist/filters.d.ts +2 -2
- package/dist/filters.js +3 -3
- package/dist/{header-filters-DUZI1x70.js → header-filters-B2veND8x.js} +2 -2
- package/dist/{header-filters-DUZI1x70.js.map → header-filters-B2veND8x.js.map} +1 -1
- package/dist/{header-filters-Cu7t_2IW.cjs → header-filters-COkO6tD4.cjs} +4 -4
- package/dist/{header-filters-Cu7t_2IW.cjs.map → header-filters-COkO6tD4.cjs.map} +1 -1
- package/dist/header-filters.cjs +1 -1
- package/dist/header-filters.js +1 -1
- package/dist/preset.cjs +2 -2
- package/dist/preset.js +2 -2
- package/package.json +3 -3
- package/dist/ElementFilterSurface-CUgNfyWW.cjs.map +0 -1
- package/dist/ElementFilterSurface-CiOApO3l.js.map +0 -1
- package/dist/filters-87q6jAVU.js.map +0 -1
- package/dist/filters-BySwxJJ0.d.cts +0 -52
- package/dist/filters-BySwxJJ0.d.cts.map +0 -1
- package/dist/filters-bdHAQnex.cjs.map +0 -1
- package/dist/filters-iRpu_mXa.d.ts +0 -52
- package/dist/filters-iRpu_mXa.d.ts.map +0 -1
|
@@ -6,6 +6,142 @@ const require_scrollbarGutter = require("./scrollbarGutter-CV4T0Q-9.cjs");
|
|
|
6
6
|
let vue = require("vue");
|
|
7
7
|
let _adapttable_vue_adapter = require("@adapttable/vue/adapter");
|
|
8
8
|
let element_plus = require("element-plus");
|
|
9
|
+
//#region src/filters/ElementFilterSurface.ts
|
|
10
|
+
/** Kit overlays retain their own positioning, focus trap and modal backdrop. */
|
|
11
|
+
const ElementFilterSurface = (0, vue.defineComponent)((props) => {
|
|
12
|
+
const mounted = (0, vue.shallowRef)(false);
|
|
13
|
+
const active = (0, _adapttable_vue_adapter.useScopeActivity)();
|
|
14
|
+
const fullscreen = (0, _adapttable_vue_adapter.useFeatureState)(_adapttable_vue_adapter.FULLSCREEN_MODEL);
|
|
15
|
+
const panel = (0, vue.shallowRef)();
|
|
16
|
+
(0, vue.onMounted)(() => {
|
|
17
|
+
mounted.value = true;
|
|
18
|
+
});
|
|
19
|
+
const close = (reason) => {
|
|
20
|
+
if (!active.value || !props.open) return;
|
|
21
|
+
props.onClose(reason);
|
|
22
|
+
if (reason === "escape") {
|
|
23
|
+
const anchor = props.anchor;
|
|
24
|
+
(0, _adapttable_vue_adapter.scheduleTick)(() => {
|
|
25
|
+
if (active.value && !props.open && props.anchor === anchor && anchor?.isConnected) anchor.focus();
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
const outside = (event) => {
|
|
30
|
+
const target = event.target;
|
|
31
|
+
if (target instanceof Node && props.anchor?.contains(target)) return;
|
|
32
|
+
close("outside");
|
|
33
|
+
};
|
|
34
|
+
const keydown = (event) => {
|
|
35
|
+
if (event.key !== "Escape") return;
|
|
36
|
+
if (event.defaultPrevented || event.isComposing) {
|
|
37
|
+
event.stopPropagation();
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
event.preventDefault();
|
|
41
|
+
event.stopPropagation();
|
|
42
|
+
close("escape");
|
|
43
|
+
};
|
|
44
|
+
(0, vue.watch)(() => active.value && props.open, (open, _previous, cleanup) => {
|
|
45
|
+
const document = props.anchor?.ownerDocument;
|
|
46
|
+
if (!open || !document) return;
|
|
47
|
+
document.addEventListener("keydown", keydown);
|
|
48
|
+
cleanup(() => document.removeEventListener("keydown", keydown));
|
|
49
|
+
}, { immediate: true });
|
|
50
|
+
const captureKeydown = (event) => {
|
|
51
|
+
const target = event.target;
|
|
52
|
+
if (target instanceof Element && target.getAttribute("role") === "combobox" && target.getAttribute("aria-expanded") === "false") keydown(event);
|
|
53
|
+
};
|
|
54
|
+
const focusPanel = () => {
|
|
55
|
+
const element = panel.value?.$el;
|
|
56
|
+
if (!active.value || !props.open || !(element instanceof HTMLElement)) return;
|
|
57
|
+
const focused = element.ownerDocument.activeElement;
|
|
58
|
+
if (focused === props.anchor || focused === element.ownerDocument.body) element.focus();
|
|
59
|
+
};
|
|
60
|
+
return () => {
|
|
61
|
+
if (!mounted.value || !active.value) return null;
|
|
62
|
+
if (props.modal) return (0, vue.h)(element_plus.ElDrawer, {
|
|
63
|
+
modelValue: props.open,
|
|
64
|
+
title: props.label,
|
|
65
|
+
direction: props.dir === "rtl" ? "ltr" : "rtl",
|
|
66
|
+
appendTo: props.container ?? fullscreen.value?.container ?? "body",
|
|
67
|
+
appendToBody: true,
|
|
68
|
+
modal: true,
|
|
69
|
+
modalClass: props.backdropClassName,
|
|
70
|
+
withHeader: false,
|
|
71
|
+
showClose: false,
|
|
72
|
+
destroyOnClose: true,
|
|
73
|
+
size: "min(30rem, 100%)",
|
|
74
|
+
dir: props.dir,
|
|
75
|
+
class: props.className,
|
|
76
|
+
"data-adapttable-part": "filters-panel",
|
|
77
|
+
beforeClose: () => close("outside"),
|
|
78
|
+
onKeydown: keydown,
|
|
79
|
+
onKeydownCapture: captureKeydown
|
|
80
|
+
}, { default: () => props.children });
|
|
81
|
+
if (!props.anchor) return null;
|
|
82
|
+
return (0, vue.h)(element_plus.ElPopover, {
|
|
83
|
+
visible: props.open,
|
|
84
|
+
virtualTriggering: true,
|
|
85
|
+
virtualRef: props.anchor,
|
|
86
|
+
trigger: "click",
|
|
87
|
+
role: "dialog",
|
|
88
|
+
"aria-label": props.label,
|
|
89
|
+
placement: props.dir === "rtl" ? "bottom-end" : "bottom-start",
|
|
90
|
+
appendTo: props.container ?? fullscreen.value?.container ?? "body",
|
|
91
|
+
teleported: true,
|
|
92
|
+
persistent: false,
|
|
93
|
+
showArrow: false,
|
|
94
|
+
width: "min(28rem, calc(100vw - 1rem))",
|
|
95
|
+
popperClass: "adapttable-element-plus-filter-popover",
|
|
96
|
+
popperStyle: {
|
|
97
|
+
padding: 0,
|
|
98
|
+
translate: `${require_scrollbarGutter.rtlScrollbarGutter(props.dir, props.anchor?.ownerDocument.defaultView)} 0`
|
|
99
|
+
},
|
|
100
|
+
onAfterEnter: focusPanel
|
|
101
|
+
}, { default: () => (0, vue.withDirectives)((0, vue.h)(element_plus.ElCard, {
|
|
102
|
+
ref: panel,
|
|
103
|
+
shadow: "never",
|
|
104
|
+
dir: props.dir,
|
|
105
|
+
tabindex: -1,
|
|
106
|
+
"aria-label": props.label,
|
|
107
|
+
"data-adapttable-part": props.part ?? "filters-popover",
|
|
108
|
+
class: props.className,
|
|
109
|
+
onKeydown: keydown,
|
|
110
|
+
onKeydownCapture: captureKeydown
|
|
111
|
+
}, { default: () => props.children }), [[element_plus.ClickOutside, outside]]) });
|
|
112
|
+
};
|
|
113
|
+
}, {
|
|
114
|
+
name: "ElementFilterSurface",
|
|
115
|
+
props: {
|
|
116
|
+
className: { type: String },
|
|
117
|
+
open: {
|
|
118
|
+
type: Boolean,
|
|
119
|
+
default: void 0
|
|
120
|
+
},
|
|
121
|
+
label: { type: String },
|
|
122
|
+
dir: { type: String },
|
|
123
|
+
anchor: { type: Object },
|
|
124
|
+
container: { type: Object },
|
|
125
|
+
children: {
|
|
126
|
+
type: [
|
|
127
|
+
String,
|
|
128
|
+
Number,
|
|
129
|
+
Boolean,
|
|
130
|
+
Array,
|
|
131
|
+
Object
|
|
132
|
+
],
|
|
133
|
+
default: void 0
|
|
134
|
+
},
|
|
135
|
+
onClose: { type: Function },
|
|
136
|
+
modal: {
|
|
137
|
+
type: Boolean,
|
|
138
|
+
default: void 0
|
|
139
|
+
},
|
|
140
|
+
part: { type: String },
|
|
141
|
+
backdropClassName: { type: String }
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
//#endregion
|
|
9
145
|
//#region src/filters/fieldControls.ts
|
|
10
146
|
function elementFilterControls(names) {
|
|
11
147
|
return {
|
|
@@ -35,7 +171,7 @@ function elementFilterControls(names) {
|
|
|
35
171
|
}
|
|
36
172
|
//#endregion
|
|
37
173
|
//#region src/filters/ElementBasicFilterField.vue
|
|
38
|
-
const _sfc_main$
|
|
174
|
+
const _sfc_main$2 = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
39
175
|
name: "ElementBasicFilterField",
|
|
40
176
|
__name: "ElementBasicFilterField",
|
|
41
177
|
props: {
|
|
@@ -44,11 +180,12 @@ const _sfc_main$1 = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
|
44
180
|
source: {},
|
|
45
181
|
labels: {},
|
|
46
182
|
registry: {},
|
|
47
|
-
classNames: {}
|
|
183
|
+
classNames: {},
|
|
184
|
+
parts: {}
|
|
48
185
|
},
|
|
49
186
|
setup(__props) {
|
|
50
187
|
const props = __props;
|
|
51
|
-
const model = (0, _adapttable_vue_adapter.
|
|
188
|
+
const model = (0, _adapttable_vue_adapter.useFilterFieldWith)(() => props, props.parts);
|
|
52
189
|
const controls = elementFilterControls(() => props.classNames ?? {});
|
|
53
190
|
const Render = () => (0, _adapttable_vue_adapter.FilterFieldChrome)({
|
|
54
191
|
model: model.value,
|
|
@@ -111,10 +248,10 @@ const ElementChecklistFilter = /* @__PURE__ */ (0, _adapttable_vue_adapter.withP
|
|
|
111
248
|
});
|
|
112
249
|
}, Object.keys(checklistRuntimeProps));
|
|
113
250
|
//#endregion
|
|
114
|
-
//#region src/filters/
|
|
115
|
-
const _sfc_main = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
116
|
-
name: "
|
|
117
|
-
__name: "
|
|
251
|
+
//#region src/filters/ElementChecklistField.vue
|
|
252
|
+
const _sfc_main$1 = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
253
|
+
name: "ElementChecklistField",
|
|
254
|
+
__name: "ElementChecklistField",
|
|
118
255
|
props: {
|
|
119
256
|
id: {},
|
|
120
257
|
def: {},
|
|
@@ -126,8 +263,7 @@ const _sfc_main = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
|
126
263
|
setup(__props) {
|
|
127
264
|
const props = __props;
|
|
128
265
|
return (_ctx, _cache) => {
|
|
129
|
-
return (0, vue.
|
|
130
|
-
key: 0,
|
|
266
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(element_plus.ElFormItem), {
|
|
131
267
|
label: (0, vue.unref)(_adapttable_vue_adapter.filterLabel)(props.def),
|
|
132
268
|
class: (0, vue.normalizeClass)(props.classNames?.filterField),
|
|
133
269
|
"data-adapttable-part": "filter-field"
|
|
@@ -144,144 +280,28 @@ const _sfc_main = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
|
144
280
|
"class-names"
|
|
145
281
|
])]),
|
|
146
282
|
_: 1
|
|
147
|
-
}, 8, ["label", "class"])
|
|
283
|
+
}, 8, ["label", "class"]);
|
|
148
284
|
};
|
|
149
285
|
}
|
|
150
286
|
});
|
|
151
287
|
//#endregion
|
|
152
|
-
//#region src/filters/
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
const active = (0, _adapttable_vue_adapter.useScopeActivity)();
|
|
157
|
-
const fullscreen = (0, _adapttable_vue_adapter.useFeatureState)(_adapttable_vue_adapter.FULLSCREEN_MODEL);
|
|
158
|
-
const panel = (0, vue.shallowRef)();
|
|
159
|
-
(0, vue.onMounted)(() => {
|
|
160
|
-
mounted.value = true;
|
|
161
|
-
});
|
|
162
|
-
const close = (reason) => {
|
|
163
|
-
if (!active.value || !props.open) return;
|
|
164
|
-
props.onClose(reason);
|
|
165
|
-
if (reason === "escape") {
|
|
166
|
-
const anchor = props.anchor;
|
|
167
|
-
(0, _adapttable_vue_adapter.scheduleTick)(() => {
|
|
168
|
-
if (active.value && !props.open && props.anchor === anchor && anchor?.isConnected) anchor.focus();
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
const outside = (event) => {
|
|
173
|
-
const target = event.target;
|
|
174
|
-
if (target instanceof Node && props.anchor?.contains(target)) return;
|
|
175
|
-
close("outside");
|
|
176
|
-
};
|
|
177
|
-
const keydown = (event) => {
|
|
178
|
-
if (event.key !== "Escape") return;
|
|
179
|
-
if (event.defaultPrevented || event.isComposing) {
|
|
180
|
-
event.stopPropagation();
|
|
181
|
-
return;
|
|
182
|
-
}
|
|
183
|
-
event.preventDefault();
|
|
184
|
-
event.stopPropagation();
|
|
185
|
-
close("escape");
|
|
186
|
-
};
|
|
187
|
-
(0, vue.watch)(() => active.value && props.open, (open, _previous, cleanup) => {
|
|
188
|
-
const document = props.anchor?.ownerDocument;
|
|
189
|
-
if (!open || !document) return;
|
|
190
|
-
document.addEventListener("keydown", keydown);
|
|
191
|
-
cleanup(() => document.removeEventListener("keydown", keydown));
|
|
192
|
-
}, { immediate: true });
|
|
193
|
-
const captureKeydown = (event) => {
|
|
194
|
-
const target = event.target;
|
|
195
|
-
if (target instanceof Element && target.getAttribute("role") === "combobox" && target.getAttribute("aria-expanded") === "false") keydown(event);
|
|
196
|
-
};
|
|
197
|
-
const focusPanel = () => {
|
|
198
|
-
const element = panel.value?.$el;
|
|
199
|
-
if (!active.value || !props.open || !(element instanceof HTMLElement)) return;
|
|
200
|
-
const focused = element.ownerDocument.activeElement;
|
|
201
|
-
if (focused === props.anchor || focused === element.ownerDocument.body) element.focus();
|
|
202
|
-
};
|
|
203
|
-
return () => {
|
|
204
|
-
if (!mounted.value || !active.value) return null;
|
|
205
|
-
if (props.modal) return (0, vue.h)(element_plus.ElDrawer, {
|
|
206
|
-
modelValue: props.open,
|
|
207
|
-
title: props.label,
|
|
208
|
-
direction: props.dir === "rtl" ? "ltr" : "rtl",
|
|
209
|
-
appendTo: props.container ?? fullscreen.value?.container ?? "body",
|
|
210
|
-
appendToBody: true,
|
|
211
|
-
modal: true,
|
|
212
|
-
modalClass: props.backdropClassName,
|
|
213
|
-
withHeader: false,
|
|
214
|
-
showClose: false,
|
|
215
|
-
destroyOnClose: true,
|
|
216
|
-
size: "min(30rem, 100%)",
|
|
217
|
-
dir: props.dir,
|
|
218
|
-
class: props.className,
|
|
219
|
-
"data-adapttable-part": "filters-panel",
|
|
220
|
-
beforeClose: () => close("outside"),
|
|
221
|
-
onKeydown: keydown,
|
|
222
|
-
onKeydownCapture: captureKeydown
|
|
223
|
-
}, { default: () => props.children });
|
|
224
|
-
if (!props.anchor) return null;
|
|
225
|
-
return (0, vue.h)(element_plus.ElPopover, {
|
|
226
|
-
visible: props.open,
|
|
227
|
-
virtualTriggering: true,
|
|
228
|
-
virtualRef: props.anchor,
|
|
229
|
-
trigger: "click",
|
|
230
|
-
role: "dialog",
|
|
231
|
-
"aria-label": props.label,
|
|
232
|
-
placement: props.dir === "rtl" ? "bottom-end" : "bottom-start",
|
|
233
|
-
appendTo: props.container ?? fullscreen.value?.container ?? "body",
|
|
234
|
-
teleported: true,
|
|
235
|
-
persistent: false,
|
|
236
|
-
showArrow: false,
|
|
237
|
-
width: "min(28rem, calc(100vw - 1rem))",
|
|
238
|
-
popperClass: "adapttable-element-plus-filter-popover",
|
|
239
|
-
popperStyle: {
|
|
240
|
-
padding: 0,
|
|
241
|
-
translate: `${require_scrollbarGutter.rtlScrollbarGutter(props.dir, props.anchor?.ownerDocument.defaultView)} 0`
|
|
242
|
-
},
|
|
243
|
-
onAfterEnter: focusPanel
|
|
244
|
-
}, { default: () => (0, vue.withDirectives)((0, vue.h)(element_plus.ElCard, {
|
|
245
|
-
ref: panel,
|
|
246
|
-
shadow: "never",
|
|
247
|
-
dir: props.dir,
|
|
248
|
-
tabindex: -1,
|
|
249
|
-
"aria-label": props.label,
|
|
250
|
-
"data-adapttable-part": props.part ?? "filters-popover",
|
|
251
|
-
class: props.className,
|
|
252
|
-
onKeydown: keydown,
|
|
253
|
-
onKeydownCapture: captureKeydown
|
|
254
|
-
}, { default: () => props.children }), [[element_plus.ClickOutside, outside]]) });
|
|
255
|
-
};
|
|
256
|
-
}, {
|
|
257
|
-
name: "ElementFilterSurface",
|
|
288
|
+
//#region src/filters/ElementFilterField.vue
|
|
289
|
+
const _sfc_main = /*@__PURE__*/ (0, vue.defineComponent)({
|
|
290
|
+
name: "ElementFilterField",
|
|
291
|
+
__name: "ElementFilterField",
|
|
258
292
|
props: {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
},
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
Number,
|
|
272
|
-
Boolean,
|
|
273
|
-
Array,
|
|
274
|
-
Object
|
|
275
|
-
],
|
|
276
|
-
default: void 0
|
|
277
|
-
},
|
|
278
|
-
onClose: { type: Function },
|
|
279
|
-
modal: {
|
|
280
|
-
type: Boolean,
|
|
281
|
-
default: void 0
|
|
282
|
-
},
|
|
283
|
-
part: { type: String },
|
|
284
|
-
backdropClassName: { type: String }
|
|
293
|
+
id: {},
|
|
294
|
+
def: {},
|
|
295
|
+
source: {},
|
|
296
|
+
labels: {},
|
|
297
|
+
registry: {},
|
|
298
|
+
classNames: {}
|
|
299
|
+
},
|
|
300
|
+
setup(__props) {
|
|
301
|
+
const props = __props;
|
|
302
|
+
return (_ctx, _cache) => {
|
|
303
|
+
return (0, vue.unref)(_adapttable_vue_adapter.filterWidgetKind)(props.def, props.registry ?? (0, vue.unref)(_adapttable_vue_adapter.defaultFilterRegistry)) === "checklist" ? ((0, vue.openBlock)(), (0, vue.createBlock)(_sfc_main$1, (0, vue.normalizeProps)((0, vue.mergeProps)({ key: 0 }, props)), null, 16)) : ((0, vue.openBlock)(), (0, vue.createBlock)(_sfc_main$2, (0, vue.mergeProps)({ key: 1 }, props, { parts: (0, vue.unref)(_adapttable_vue_adapter.FILTER_FIELD_PARTS) }), null, 16, ["parts"]));
|
|
304
|
+
};
|
|
285
305
|
}
|
|
286
306
|
});
|
|
287
307
|
//#endregion
|
|
@@ -303,5 +323,17 @@ Object.defineProperty(exports, "_sfc_main", {
|
|
|
303
323
|
return _sfc_main;
|
|
304
324
|
}
|
|
305
325
|
});
|
|
326
|
+
Object.defineProperty(exports, "_sfc_main$1", {
|
|
327
|
+
enumerable: true,
|
|
328
|
+
get: function() {
|
|
329
|
+
return _sfc_main$1;
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
Object.defineProperty(exports, "_sfc_main$2", {
|
|
333
|
+
enumerable: true,
|
|
334
|
+
get: function() {
|
|
335
|
+
return _sfc_main$2;
|
|
336
|
+
}
|
|
337
|
+
});
|
|
306
338
|
|
|
307
|
-
//# sourceMappingURL=
|
|
339
|
+
//# sourceMappingURL=ElementFilterField-Dfzy-Yk4.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ElementFilterField-Dfzy-Yk4.cjs","names":["defineComponent","shallowRef","useScopeActivity","useFeatureState","FULLSCREEN_MODEL","h","ElDrawer","ElPopover","rtlScrollbarGutter","withDirectives","ElCard","ClickOutside","h","ElementInput","ElementSelect","ElementCheckbox","h","ElementInput","elementButton","ElementCheckbox","ElText","defineComponent","useChecklistModel","ChecklistChrome","createVNode"],"sources":["../src/filters/ElementFilterSurface.ts","../src/filters/fieldControls.ts","../src/filters/ElementBasicFilterField.vue","../src/filters/ElementChecklistFilter.ts","../src/filters/ElementChecklistField.vue","../src/filters/ElementFilterField.vue"],"sourcesContent":["import {\n type FilterPanelSurfaceProps,\n FULLSCREEN_MODEL,\n scheduleTick,\n useFeatureState,\n useScopeActivity,\n} from \"@adapttable/vue/adapter\";\nimport {\n type CardInstance,\n ClickOutside,\n ElCard,\n ElDrawer,\n ElPopover,\n} from \"element-plus\";\nimport {\n defineComponent,\n h,\n onMounted,\n type PropType,\n shallowRef,\n watch,\n withDirectives,\n} from \"vue\";\n\nimport { rtlScrollbarGutter } from \"../scrollbarGutter\";\n\n/** Kit overlays retain their own positioning, focus trap and modal backdrop. */\nexport const ElementFilterSurface = defineComponent(\n (\n props: FilterPanelSurfaceProps & {\n readonly modal: boolean;\n readonly part?: string;\n /** Class for ElDrawer's modal mask, through its `modalClass` hook. */\n readonly backdropClassName?: string;\n }\n ) => {\n const mounted = shallowRef(false);\n const active = useScopeActivity();\n const fullscreen = useFeatureState(FULLSCREEN_MODEL);\n const panel = shallowRef<CardInstance>();\n onMounted(() => {\n mounted.value = true;\n });\n const close: FilterPanelSurfaceProps[\"onClose\"] = (reason) => {\n if (!active.value || !props.open) return;\n props.onClose(reason);\n if (reason === \"escape\") {\n const anchor = props.anchor;\n scheduleTick(() => {\n if (\n active.value &&\n !props.open &&\n props.anchor === anchor &&\n anchor?.isConnected\n )\n anchor.focus();\n });\n }\n };\n const outside = (event: MouseEvent) => {\n const target = event.target;\n if (target instanceof Node && props.anchor?.contains(target)) return;\n close(\"outside\");\n };\n const keydown = (event: KeyboardEvent) => {\n if (event.key !== \"Escape\") return;\n // Element's focus trap releases on any Escape that reaches the document,\n // including one an inner control handled or an IME composition owns, so\n // the panel keeps those Escapes inside itself.\n if (event.defaultPrevented || event.isComposing) {\n event.stopPropagation();\n return;\n }\n event.preventDefault();\n event.stopPropagation();\n close(\"escape\");\n };\n // Escape also dismisses while focus is still on the external trigger,\n // before the native enter transition has moved it into the card.\n watch(\n () => active.value && props.open,\n (open, _previous, cleanup) => {\n const document = props.anchor?.ownerDocument;\n if (!open || !document) return;\n document.addEventListener(\"keydown\", keydown);\n cleanup(() => document.removeEventListener(\"keydown\", keydown));\n },\n { immediate: true }\n );\n // A closed native combobox must not swallow the containing overlay's Escape.\n // Open comboboxes keep the event so their own menu closes first.\n const captureKeydown = (event: KeyboardEvent) => {\n const target = event.target;\n if (\n target instanceof Element &&\n target.getAttribute(\"role\") === \"combobox\" &&\n target.getAttribute(\"aria-expanded\") === \"false\"\n )\n keydown(event);\n };\n const focusPanel = () => {\n const element: unknown = panel.value?.$el;\n if (!active.value || !props.open || !(element instanceof HTMLElement))\n return;\n const focused = element.ownerDocument.activeElement;\n if (focused === props.anchor || focused === element.ownerDocument.body)\n element.focus();\n };\n return () => {\n if (!mounted.value || !active.value) return null;\n if (props.modal)\n return h(\n ElDrawer,\n {\n modelValue: props.open,\n title: props.label,\n direction: props.dir === \"rtl\" ? \"ltr\" : \"rtl\",\n appendTo: props.container ?? fullscreen.value?.container ?? \"body\",\n appendToBody: true,\n modal: true,\n modalClass: props.backdropClassName,\n withHeader: false,\n showClose: false,\n destroyOnClose: true,\n // Relative to the drawer's overlay, which excludes a classic\n // scrollbar or a reserved gutter; 100vw does not.\n size: \"min(30rem, 100%)\",\n dir: props.dir,\n class: props.className,\n \"data-adapttable-part\": \"filters-panel\",\n beforeClose: () => close(\"outside\"),\n onKeydown: keydown,\n onKeydownCapture: captureKeydown,\n },\n { default: () => props.children }\n );\n if (!props.anchor) return null;\n return h(\n ElPopover,\n {\n visible: props.open,\n virtualTriggering: true,\n virtualRef: props.anchor,\n trigger: \"click\",\n role: \"dialog\",\n \"aria-label\": props.label,\n placement: props.dir === \"rtl\" ? \"bottom-end\" : \"bottom-start\",\n appendTo: props.container ?? fullscreen.value?.container ?? \"body\",\n teleported: true,\n persistent: false,\n showArrow: false,\n width: \"min(28rem, calc(100vw - 1rem))\",\n popperClass: \"adapttable-element-plus-filter-popover\",\n popperStyle: {\n padding: 0,\n translate: `${rtlScrollbarGutter(props.dir, props.anchor?.ownerDocument.defaultView)} 0`,\n },\n onAfterEnter: focusPanel,\n },\n {\n default: () =>\n withDirectives(\n h(\n ElCard,\n {\n ref: panel,\n shadow: \"never\",\n dir: props.dir,\n tabindex: -1,\n \"aria-label\": props.label,\n \"data-adapttable-part\": props.part ?? \"filters-popover\",\n class: props.className,\n onKeydown: keydown,\n onKeydownCapture: captureKeydown,\n },\n { default: () => props.children }\n ),\n [[ClickOutside, outside]]\n ),\n }\n );\n };\n },\n {\n name: \"ElementFilterSurface\",\n props: {\n className: {\n type: String as PropType<\n (FilterPanelSurfaceProps & {\n readonly modal: boolean;\n readonly part?: string;\n /** Class for ElDrawer's modal mask, through its `modalClass` hook. */\n readonly backdropClassName?: string;\n })[\"className\"]\n >,\n },\n open: {\n type: Boolean as PropType<\n (FilterPanelSurfaceProps & {\n readonly modal: boolean;\n readonly part?: string;\n /** Class for ElDrawer's modal mask, through its `modalClass` hook. */\n readonly backdropClassName?: string;\n })[\"open\"]\n >,\n default: undefined,\n },\n label: {\n type: String as PropType<\n (FilterPanelSurfaceProps & {\n readonly modal: boolean;\n readonly part?: string;\n /** Class for ElDrawer's modal mask, through its `modalClass` hook. */\n readonly backdropClassName?: string;\n })[\"label\"]\n >,\n },\n dir: {\n type: String as PropType<\n (FilterPanelSurfaceProps & {\n readonly modal: boolean;\n readonly part?: string;\n /** Class for ElDrawer's modal mask, through its `modalClass` hook. */\n readonly backdropClassName?: string;\n })[\"dir\"]\n >,\n },\n anchor: {\n type: Object as PropType<\n (FilterPanelSurfaceProps & {\n readonly modal: boolean;\n readonly part?: string;\n /** Class for ElDrawer's modal mask, through its `modalClass` hook. */\n readonly backdropClassName?: string;\n })[\"anchor\"]\n >,\n },\n container: {\n type: Object as PropType<\n (FilterPanelSurfaceProps & {\n readonly modal: boolean;\n readonly part?: string;\n /** Class for ElDrawer's modal mask, through its `modalClass` hook. */\n readonly backdropClassName?: string;\n })[\"container\"]\n >,\n },\n children: {\n type: [String, Number, Boolean, Array, Object] as PropType<\n (FilterPanelSurfaceProps & {\n readonly modal: boolean;\n readonly part?: string;\n /** Class for ElDrawer's modal mask, through its `modalClass` hook. */\n readonly backdropClassName?: string;\n })[\"children\"]\n >,\n default: undefined,\n },\n onClose: {\n type: Function as PropType<\n (FilterPanelSurfaceProps & {\n readonly modal: boolean;\n readonly part?: string;\n /** Class for ElDrawer's modal mask, through its `modalClass` hook. */\n readonly backdropClassName?: string;\n })[\"onClose\"]\n >,\n },\n modal: {\n type: Boolean as PropType<\n (FilterPanelSurfaceProps & {\n readonly modal: boolean;\n readonly part?: string;\n /** Class for ElDrawer's modal mask, through its `modalClass` hook. */\n readonly backdropClassName?: string;\n })[\"modal\"]\n >,\n default: undefined,\n },\n part: {\n type: String as PropType<\n (FilterPanelSurfaceProps & {\n readonly modal: boolean;\n readonly part?: string;\n /** Class for ElDrawer's modal mask, through its `modalClass` hook. */\n readonly backdropClassName?: string;\n })[\"part\"]\n >,\n },\n backdropClassName: {\n type: String as PropType<\n (FilterPanelSurfaceProps & {\n readonly modal: boolean;\n readonly part?: string;\n /** Class for ElDrawer's modal mask, through its `modalClass` hook. */\n readonly backdropClassName?: string;\n })[\"backdropClassName\"]\n >,\n },\n },\n }\n);\n","import type {\n DataTableClassNames,\n FilterFieldSlots,\n} from \"@adapttable/vue/adapter\";\nimport { h } from \"vue\";\n\nimport ElementCheckbox from \"../controls/ElementCheckbox.vue\";\nimport ElementInput from \"../controls/ElementInput.vue\";\nimport ElementSelect from \"../controls/ElementSelect.vue\";\n\nexport function elementFilterControls(\n names: () => DataTableClassNames\n): FilterFieldSlots {\n return {\n Input: (control) =>\n h(ElementInput, {\n ...control.attrs,\n value: control.value,\n type: control.type,\n class: names().filterInput,\n onChange: control.onChange,\n }),\n Select: (control) =>\n h(ElementSelect, {\n ...control.attrs,\n value: control.value,\n options: control.options,\n class:\n control.attrs[\"data-adapttable-part\"] === \"filter-operator\"\n ? names().filterOperator\n : names().filterSelect,\n onChange: control.onChange,\n }),\n Checkbox: (control) =>\n h(ElementCheckbox, {\n ...control.attrs,\n checked: control.checked,\n label: control.label,\n labelVisible: true,\n class: names().filterCheckbox,\n onChange: control.onChange,\n }),\n };\n}\n","<script setup lang=\"ts\" generic=\"TRow\">\nimport {\n type DataTableClassNames,\n FilterFieldChrome,\n type FilterFieldOptions,\n type FilterFieldPart,\n useFilterFieldWith,\n} from \"@adapttable/vue/adapter\";\n\nimport { elementFilterControls } from \"./fieldControls\";\n\ndefineOptions({ name: \"ElementBasicFilterField\" });\nconst props = defineProps<\n FilterFieldOptions<TRow> & {\n classNames?: DataTableClassNames;\n /** The widget kinds this field can draw. */\n parts: readonly FilterFieldPart[];\n }\n>();\nconst model = useFilterFieldWith(() => props, props.parts);\nconst controls = elementFilterControls(() => props.classNames ?? {});\nconst Render = () =>\n FilterFieldChrome({\n model: model.value,\n controls,\n classNames: props.classNames,\n });\nconst renderProps: string[] = [];\nRender.props = renderProps;\n</script>\n\n<template><Render /></template>\n","import {\n ChecklistChrome,\n type ChecklistFilterProps,\n type ChecklistSlots,\n useChecklistModel,\n withProps,\n} from \"@adapttable/vue/adapter\";\nimport { ElText } from \"element-plus\";\nimport {\n createVNode,\n defineComponent,\n h,\n type PropType,\n type SetupContext,\n type VNodeChild,\n} from \"vue\";\n\nimport { elementButton } from \"../controls/button\";\nimport ElementCheckbox from \"../controls/ElementCheckbox.vue\";\nimport ElementInput from \"../controls/ElementInput.vue\";\n\nconst controls: ChecklistSlots<VNodeChild> = {\n Search: (control) =>\n h(ElementInput, {\n type: \"search\",\n value: control.value,\n \"aria-label\": control.label,\n \"data-adapttable-part\": \"filter-checklist-search\",\n class: control.className,\n onChange: control.onChange,\n }),\n Button: (control) =>\n elementButton({ onClick: control.onClick }, control.label),\n Checkbox: (control) =>\n h(\"div\", { class: \"adapttable-element-plus-checklist-option\" }, [\n h(ElementCheckbox, {\n \"data-adapttable-part\": \"filter-checkbox\",\n class: control.className,\n label: control.label,\n labelVisible: true,\n checked: control.checked,\n onChange: control.onChange,\n }),\n h(\n ElText,\n {\n class: control.countClassName,\n \"data-adapttable-part\": \"filter-checklist-count\",\n type: \"info\",\n size: \"small\",\n },\n { default: () => control.count }\n ),\n ]),\n};\n\n// The presentation validates values; its key list preserves generic public\n// components and Vue fallthrough attribute inference.\nconst checklistRuntimeProps = {\n def: { type: Object as PropType<ChecklistFilterProps<unknown>[\"def\"]> },\n source: { type: Object as PropType<ChecklistFilterProps<unknown>[\"source\"]> },\n labels: { type: Object as PropType<ChecklistFilterProps<unknown>[\"labels\"]> },\n classNames: {\n type: Object as PropType<ChecklistFilterProps<unknown>[\"classNames\"]>,\n },\n};\n\nconst ElementChecklistFilterPresentation = defineComponent(\n (props: ChecklistFilterProps<unknown>) => {\n const model = useChecklistModel(() => props);\n return () => ChecklistChrome({ model: model.value, controls });\n },\n {\n name: \"ElementChecklistFilterPresentation\",\n props: checklistRuntimeProps,\n }\n);\n\n/** Preserve the canonical row contract without exposing versioned instance helpers. */\nexport const ElementChecklistFilter = /* @__PURE__ */ withProps(\n function ElementChecklistFilter<TRow>(\n props: ChecklistFilterProps<TRow>,\n context: Pick<SetupContext, \"attrs\">\n ) {\n return createVNode(ElementChecklistFilterPresentation, {\n ...context.attrs,\n ...props,\n });\n },\n Object.keys(checklistRuntimeProps)\n);\n","<script setup lang=\"ts\" generic=\"TRow\">\nimport {\n type DataTableClassNames,\n type FilterFieldOptions,\n filterLabel,\n} from \"@adapttable/vue/adapter\";\nimport { ElFormItem } from \"element-plus\";\n\nimport { ElementChecklistFilter } from \"./ElementChecklistFilter\";\n\ndefineOptions({ name: \"ElementChecklistField\" });\nconst props = defineProps<\n FilterFieldOptions<TRow> & { classNames?: DataTableClassNames }\n>();\n</script>\n\n<template>\n <ElFormItem\n :label=\"filterLabel(props.def)\"\n :class=\"props.classNames?.filterField\"\n data-adapttable-part=\"filter-field\"\n >\n <ElementChecklistFilter\n :def=\"props.def\"\n :source=\"props.source\"\n :labels=\"props.labels\"\n :class-names=\"props.classNames\"\n />\n </ElFormItem>\n</template>\n","<script setup lang=\"ts\" generic=\"TRow\">\nimport {\n type DataTableClassNames,\n defaultFilterRegistry,\n FILTER_FIELD_PARTS,\n type FilterFieldOptions,\n filterWidgetKind,\n} from \"@adapttable/vue/adapter\";\n\nimport ElementBasicFilterField from \"./ElementBasicFilterField.vue\";\nimport ElementChecklistField from \"./ElementChecklistField.vue\";\n\ndefineOptions({ name: \"ElementFilterField\" });\nconst props = defineProps<\n FilterFieldOptions<TRow> & { classNames?: DataTableClassNames }\n>();\n</script>\n\n<template>\n <ElementChecklistField\n v-if=\"\n filterWidgetKind(props.def, props.registry ?? defaultFilterRegistry) ===\n 'checklist'\n \"\n v-bind=\"props\"\n />\n <ElementBasicFilterField v-else v-bind=\"props\" :parts=\"FILTER_FIELD_PARTS\" />\n</template>\n"],"mappings":";;;;;;;;;;AA2BA,MAAa,wBAAA,GAAuBA,IAAAA,gBAAAA,EAEhC,UAMG;CACH,MAAM,WAAA,GAAUC,IAAAA,WAAAA,CAAW,KAAK;CAChC,MAAM,UAAA,GAASC,wBAAAA,iBAAAA,CAAiB;CAChC,MAAM,cAAA,GAAaC,wBAAAA,gBAAAA,CAAgBC,wBAAAA,gBAAgB;CACnD,MAAM,SAAA,GAAQH,IAAAA,WAAAA,CAAyB;CACvC,CAAA,GAAA,IAAA,UAAA,OAAgB;EACd,QAAQ,QAAQ;CAClB,CAAC;CACD,MAAM,SAA6C,WAAW;EAC5D,IAAI,CAAC,OAAO,SAAS,CAAC,MAAM,MAAM;EAClC,MAAM,QAAQ,MAAM;EACpB,IAAI,WAAW,UAAU;GACvB,MAAM,SAAS,MAAM;GACrB,CAAA,GAAA,wBAAA,aAAA,OAAmB;IACjB,IACE,OAAO,SACP,CAAC,MAAM,QACP,MAAM,WAAW,UACjB,QAAQ,aAER,OAAO,MAAM;GACjB,CAAC;EACH;CACF;CACA,MAAM,WAAW,UAAsB;EACrC,MAAM,SAAS,MAAM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,UAAA,CAAA,IAAA,GAAA,IAAA,YAAA,EAAA,GAWa,IAAA,MAAA,CAAA,aAAA,UAAA,GAAA;IAVV,QAAA,GAAO,IAAA,MAAA,CAAA,wBAAA,WAAA,CAAW,CAAC,MAAM,GAAG;IAC5B,QAAA,GAAK,IAAA,eAAA,CAAE,MAAM,YAAY,WAAW;IACrC,wBAAqB;;IAErB,UAAA,GAAA,IAAA,QAAA,OAKE,EAAA,GALF,IAAA,YAAA,EAAA,GAKE,IAAA,MAAA,CAAA,sBAAA,GAAA;KAJC,KAAK,MAAM;KACX,QAAQ,MAAM;KACd,QAAQ,MAAM;KACd,eAAa,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;ECb1B,MAAM,QAAQ;;G,Q,GAOG,IAAA,MAAA,CAAA,wBAAA,gBAAA,CAAgB,CAAC,MAAM,KAAK,MAAM,aAAA,GAAY,IAAA,MAAA,CAAA,wBAAA,qBAAA,CAAqB,M,gB,GADlF,IAAA,UAAA,CAAA,IAAA,GAAA,IAAA,YAAA,CAME,cAAA,GAAA,IAAA,eAAA,EAAA,GAAA,IAAA,WAAA,CAAA,EAAA,KAAA,EAAA,GADQ,KAAK,CAAA,GAAA,MAAA,EAAA,OAAA,GAEf,IAAA,UAAA,CAAA,IAAA,GAAA,IAAA,YAAA,CAA6E,cAAA,GAA7E,IAAA,WAAA,CAA6E,EAAA,KAAA,EAAA,GAArC,OAAK,EAAG,QAAA,GAAO,IAAA,MAAA,CAAA,wBAAA,kBAAA,EAAkB,CAAA,GAAA,MAAA,IAAA,CAAA,OAAA,CAAA"}
|
package/dist/features.cjs
CHANGED
|
@@ -12,13 +12,13 @@ const require_context_menu = require("./context-menu.cjs");
|
|
|
12
12
|
const require_density = require("./density-CJLZxF1h.cjs");
|
|
13
13
|
const require_export_csv = require("./export-csv.cjs");
|
|
14
14
|
require("./export.cjs");
|
|
15
|
-
const require_filters = require("./filters-
|
|
16
|
-
const
|
|
15
|
+
const require_filters = require("./filters-hVQM8Cok.cjs");
|
|
16
|
+
const require_ElementFilterField = require("./ElementFilterField-Dfzy-Yk4.cjs");
|
|
17
17
|
const require_find_in_table = require("./find-in-table-WtXzIkkg.cjs");
|
|
18
18
|
const require_fullscreen = require("./fullscreen.cjs");
|
|
19
19
|
const require_grouping = require("./grouping.cjs");
|
|
20
20
|
const require_grouping_panel = require("./grouping-panel-B_ibl915.cjs");
|
|
21
|
-
const require_header_filters = require("./header-filters-
|
|
21
|
+
const require_header_filters = require("./header-filters-COkO6tD4.cjs");
|
|
22
22
|
const require_print = require("./print.cjs");
|
|
23
23
|
require("./row-detail.cjs");
|
|
24
24
|
const require_row_reorder = require("./row-reorder-MSR2yDN6.cjs");
|
|
@@ -34,12 +34,12 @@ let _adapttable_vue_features = require("@adapttable/vue/features");
|
|
|
34
34
|
let _adapttable_vue_adapter = require("@adapttable/vue/adapter");
|
|
35
35
|
let _adapttable_vue = require("@adapttable/vue");
|
|
36
36
|
exports.AgentApproval = require_assistant.AgentApproval;
|
|
37
|
-
exports.ChecklistFilter =
|
|
37
|
+
exports.ChecklistFilter = require_ElementFilterField.ElementChecklistFilter;
|
|
38
38
|
exports.ElementBatchEditBar = require_editing._sfc_main$1;
|
|
39
39
|
exports.ElementEditableCell = require_editing._sfc_main$2;
|
|
40
40
|
exports.ElementHeaderFilter = require_header_filters._sfc_main;
|
|
41
41
|
exports.ElementRowEditActions = require_editing._sfc_main;
|
|
42
|
-
exports.FilterField =
|
|
42
|
+
exports.FilterField = require_ElementFilterField._sfc_main;
|
|
43
43
|
exports.FilterHeaderControl = require_ElementFilterHeaderRow._sfc_main$1;
|
|
44
44
|
exports.FilterHeaderRow = require_ElementFilterHeaderRow._sfc_main;
|
|
45
45
|
exports.FilterTreeBuilder = require_filters.ElementFilterTree;
|
|
@@ -47,6 +47,7 @@ exports.SavedViewsPanel = require_saved_views.SavedViewsPanel;
|
|
|
47
47
|
exports.TableAssistant = require_assistant.TableAssistant;
|
|
48
48
|
exports.agentApproval = require_assistant.agentApproval;
|
|
49
49
|
exports.batchEditing = require_editing.batchEditing;
|
|
50
|
+
exports.booleanFilterWidget = require_filters.booleanFilterWidget;
|
|
50
51
|
exports.bulkActions = require_bulk_actions.bulkActions;
|
|
51
52
|
exports.cellNavigation = require_cell_navigation.cellNavigation;
|
|
52
53
|
Object.defineProperty(exports, "cellSpan", {
|
|
@@ -55,6 +56,7 @@ Object.defineProperty(exports, "cellSpan", {
|
|
|
55
56
|
return _adapttable_vue_features.cellSpan;
|
|
56
57
|
}
|
|
57
58
|
});
|
|
59
|
+
exports.checklistFilterWidget = require_filters.checklistFilterWidget;
|
|
58
60
|
Object.defineProperty(exports, "collapsibleColumnGroups", {
|
|
59
61
|
enumerable: true,
|
|
60
62
|
get: function() {
|
|
@@ -93,6 +95,7 @@ Object.defineProperty(exports, "filterTypes", {
|
|
|
93
95
|
}
|
|
94
96
|
});
|
|
95
97
|
exports.filters = require_filters.filters;
|
|
98
|
+
exports.filtersWith = require_filters.filtersWith;
|
|
96
99
|
exports.findInTable = require_find_in_table.findInTable;
|
|
97
100
|
Object.defineProperty(exports, "fitColumns", {
|
|
98
101
|
enumerable: true,
|
|
@@ -104,6 +107,7 @@ exports.fullscreen = require_fullscreen.fullscreen;
|
|
|
104
107
|
exports.grouping = require_grouping.grouping;
|
|
105
108
|
exports.groupingPanel = require_grouping_panel.groupingPanel;
|
|
106
109
|
exports.headerFilters = require_header_filters.headerFilters;
|
|
110
|
+
exports.multiSelectFilterWidget = require_filters.multiSelectFilterWidget;
|
|
107
111
|
Object.defineProperty(exports, "multiSort", {
|
|
108
112
|
enumerable: true,
|
|
109
113
|
get: function() {
|
|
@@ -129,6 +133,7 @@ Object.defineProperty(exports, "pinnedSummaryRows", {
|
|
|
129
133
|
}
|
|
130
134
|
});
|
|
131
135
|
exports.print = require_print.print;
|
|
136
|
+
exports.rangeFilterWidget = require_filters.rangeFilterWidget;
|
|
132
137
|
Object.defineProperty(exports, "resizableColumns", {
|
|
133
138
|
enumerable: true,
|
|
134
139
|
get: function() {
|
|
@@ -152,10 +157,12 @@ exports.rowEditing = require_editing.rowEditing;
|
|
|
152
157
|
exports.rowPinning = require_row_pinning.rowPinning;
|
|
153
158
|
exports.rowReorder = require_row_reorder.rowReorder;
|
|
154
159
|
exports.savedViews = require_saved_views.savedViews;
|
|
160
|
+
exports.selectFilterWidget = require_filters.selectFilterWidget;
|
|
155
161
|
exports.selectionStats = require_status_bar.selectionStats;
|
|
156
162
|
exports.sidePanel = require_side_panel.sidePanel;
|
|
157
163
|
exports.statusBar = require_status_bar.statusBar;
|
|
158
164
|
exports.tableAssistant = require_assistant.tableAssistant;
|
|
165
|
+
exports.textFilterWidget = require_filters.textFilterWidget;
|
|
159
166
|
Object.defineProperty(exports, "tree", {
|
|
160
167
|
enumerable: true,
|
|
161
168
|
get: function() {
|
package/dist/features.d.cts
CHANGED
|
@@ -10,7 +10,7 @@ import { contextMenu } from "./context-menu.cjs";
|
|
|
10
10
|
import { densityChooser } from "./density.cjs";
|
|
11
11
|
import { n as exportCsv } from "./export-csv-DRDjZuQj.cjs";
|
|
12
12
|
import "./export.cjs";
|
|
13
|
-
import {
|
|
13
|
+
import { _ as selectFilterWidget, a as FilterOption, b as _default$4, c as FilterWidget, d as filters, f as filtersWith, g as rangeFilterWidget, h as multiSelectFilterWidget, i as FilterFieldOptions, l as FiltersOptions, m as checklistFilterWidget, n as ChecklistFilterProps, o as FilterTreeBuilderProps, p as booleanFilterWidget, r as FilterDef, s as FilterTypeSpec, t as AdapterFiltersFeature, u as filterTypes, v as textFilterWidget, x as ElementChecklistFilter, y as ElementFilterTree } from "./filters-Ci3fdJMe.cjs";
|
|
14
14
|
import { findInTable } from "./find-in-table.cjs";
|
|
15
15
|
import { fullscreen } from "./fullscreen.cjs";
|
|
16
16
|
import { GroupCollapseOptions, GroupNode, GroupSort, StaticGroupingExtras, grouping, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging } from "./grouping.cjs";
|
|
@@ -33,4 +33,4 @@ import { ColumnMenuSlotProps } from "@adapttable/vue/adapter";
|
|
|
33
33
|
import { GroupingExtras } from "@adapttable/vue/features";
|
|
34
34
|
import { ExportPdfOptions } from "@adapttable/vue/pdf";
|
|
35
35
|
import { ExportXlsxOptions } from "@adapttable/vue/xlsx";
|
|
36
|
-
export { AgentApproval, type AgentApprovalProps, type BatchEditingState, type BatchRowEdit, type CellEdit, type CellEditHandler, type CellNavigationOptions, type CellRange, type CellSpanAppearance, type CellSpanRequest, ElementChecklistFilter as ChecklistFilter, type ChecklistFilterProps, type ColumnMenuSlotProps, type ColumnResizeHandleOptions, type ColumnResizeHandleProps, type ConfirmHandler, type ConfirmRequest, type DataTableClassNames, type EditingLifecycleExtras, _default as ElementBatchEditBar, _default$1 as ElementEditableCell, _default$2 as ElementHeaderFilter, _default$3 as ElementRowEditActions, type ExportPdfOptions, type ExportXlsxOptions, type ExtraEntry, type ExtraRow, type ExtraRowKind, type FilterDef, _default$4 as FilterField, type FilterFieldOptions, _default$5 as FilterHeaderControl, type FilterHeaderControlOptions, type FilterHeaderControlProps, _default$6 as FilterHeaderRow, type FilterHeaderRowProps, type FilterOption, ElementFilterTree as FilterTreeBuilder, type FilterTreeBuilderProps, type FilterTypeSpec, type FiltersOptions, type GetCellSpan, type GetCellSpanArgs, type GridCell, type GroupCollapseOptions, type GroupNode, type GroupSort, type GroupingExtras, type GroupingPanelProps, type NestedTable, type NestedTableFor, type PinnedRows, type PinnedSummaryEntry, type RowAction, type RowAppearanceOptions, type RowEditIcons, type RowEditingState, type RowExpansionOptions, type RowHeight, type RowMutationHandlers, type RowPinSide, type RowPinState, type RowPinningFeatureOptions, type RowReorderHandler, type RowReorderOptions, type RowStyle, 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, bulkActions, cellNavigation, cellSpan, collapsibleColumnGroups, columnMenu, columnSelectionCheckbox, commandPalette, contextMenu, densityChooser, dirtyIndicators, editHistory, editing, exportCsv, extraRows, filterTypes, filters, findInTable, fitColumns, fullscreen, grouping, groupingPanel, headerFilters, multiSort, nestedTable, nestedTableDetail, pinnedSummaryRows, print, resizableColumns, rowActions, rowAppearance, rowDetail, rowEditing, rowPinning, rowReorder, savedViews, selectionStats, sidePanel, statusBar, tableAssistant, tree, undoRedoButtons, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging, useLazyChildren, useRowExpansion, useRowReorder, useTreeExpansion, virtualize };
|
|
36
|
+
export { type AdapterFiltersFeature, AgentApproval, type AgentApprovalProps, type BatchEditingState, type BatchRowEdit, type CellEdit, type CellEditHandler, type CellNavigationOptions, type CellRange, type CellSpanAppearance, type CellSpanRequest, ElementChecklistFilter as ChecklistFilter, type ChecklistFilterProps, type ColumnMenuSlotProps, type ColumnResizeHandleOptions, type ColumnResizeHandleProps, type ConfirmHandler, type ConfirmRequest, type DataTableClassNames, type EditingLifecycleExtras, _default as ElementBatchEditBar, _default$1 as ElementEditableCell, _default$2 as ElementHeaderFilter, _default$3 as ElementRowEditActions, type ExportPdfOptions, type ExportXlsxOptions, type ExtraEntry, type ExtraRow, type ExtraRowKind, type FilterDef, _default$4 as FilterField, type FilterFieldOptions, _default$5 as FilterHeaderControl, type FilterHeaderControlOptions, type FilterHeaderControlProps, _default$6 as FilterHeaderRow, type FilterHeaderRowProps, type FilterOption, ElementFilterTree as FilterTreeBuilder, type FilterTreeBuilderProps, type FilterTypeSpec, type FilterWidget, type FiltersOptions, type GetCellSpan, type GetCellSpanArgs, type GridCell, type GroupCollapseOptions, type GroupNode, type GroupSort, type GroupingExtras, type GroupingPanelProps, type NestedTable, type NestedTableFor, type PinnedRows, type PinnedSummaryEntry, type RowAction, type RowAppearanceOptions, type RowEditIcons, type RowEditingState, type RowExpansionOptions, type RowHeight, type RowMutationHandlers, type RowPinSide, type RowPinState, type RowPinningFeatureOptions, type RowReorderHandler, type RowReorderOptions, type RowStyle, 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.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { contextMenu } from "./context-menu.js";
|
|
|
10
10
|
import { densityChooser } from "./density.js";
|
|
11
11
|
import { n as exportCsv } from "./export-csv-VyICO_s0.js";
|
|
12
12
|
import "./export.js";
|
|
13
|
-
import {
|
|
13
|
+
import { _ as selectFilterWidget, a as FilterOption, b as _default$4, c as FilterWidget, d as filters, f as filtersWith, g as rangeFilterWidget, h as multiSelectFilterWidget, i as FilterFieldOptions, l as FiltersOptions, m as checklistFilterWidget, n as ChecklistFilterProps, o as FilterTreeBuilderProps, p as booleanFilterWidget, r as FilterDef, s as FilterTypeSpec, t as AdapterFiltersFeature, u as filterTypes, v as textFilterWidget, x as ElementChecklistFilter, y as ElementFilterTree } from "./filters-Dh2MjW9V.js";
|
|
14
14
|
import { findInTable } from "./find-in-table.js";
|
|
15
15
|
import { fullscreen } from "./fullscreen.js";
|
|
16
16
|
import { GroupCollapseOptions, GroupNode, GroupSort, StaticGroupingExtras, grouping, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging } from "./grouping.js";
|
|
@@ -33,4 +33,4 @@ import { ColumnMenuSlotProps } from "@adapttable/vue/adapter";
|
|
|
33
33
|
import { GroupingExtras } from "@adapttable/vue/features";
|
|
34
34
|
import { ExportPdfOptions } from "@adapttable/vue/pdf";
|
|
35
35
|
import { ExportXlsxOptions } from "@adapttable/vue/xlsx";
|
|
36
|
-
export { AgentApproval, type AgentApprovalProps, type BatchEditingState, type BatchRowEdit, type CellEdit, type CellEditHandler, type CellNavigationOptions, type CellRange, type CellSpanAppearance, type CellSpanRequest, ElementChecklistFilter as ChecklistFilter, type ChecklistFilterProps, type ColumnMenuSlotProps, type ColumnResizeHandleOptions, type ColumnResizeHandleProps, type ConfirmHandler, type ConfirmRequest, type DataTableClassNames, type EditingLifecycleExtras, _default as ElementBatchEditBar, _default$1 as ElementEditableCell, _default$2 as ElementHeaderFilter, _default$3 as ElementRowEditActions, type ExportPdfOptions, type ExportXlsxOptions, type ExtraEntry, type ExtraRow, type ExtraRowKind, type FilterDef, _default$4 as FilterField, type FilterFieldOptions, _default$5 as FilterHeaderControl, type FilterHeaderControlOptions, type FilterHeaderControlProps, _default$6 as FilterHeaderRow, type FilterHeaderRowProps, type FilterOption, ElementFilterTree as FilterTreeBuilder, type FilterTreeBuilderProps, type FilterTypeSpec, type FiltersOptions, type GetCellSpan, type GetCellSpanArgs, type GridCell, type GroupCollapseOptions, type GroupNode, type GroupSort, type GroupingExtras, type GroupingPanelProps, type NestedTable, type NestedTableFor, type PinnedRows, type PinnedSummaryEntry, type RowAction, type RowAppearanceOptions, type RowEditIcons, type RowEditingState, type RowExpansionOptions, type RowHeight, type RowMutationHandlers, type RowPinSide, type RowPinState, type RowPinningFeatureOptions, type RowReorderHandler, type RowReorderOptions, type RowStyle, 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, bulkActions, cellNavigation, cellSpan, collapsibleColumnGroups, columnMenu, columnSelectionCheckbox, commandPalette, contextMenu, densityChooser, dirtyIndicators, editHistory, editing, exportCsv, extraRows, filterTypes, filters, findInTable, fitColumns, fullscreen, grouping, groupingPanel, headerFilters, multiSort, nestedTable, nestedTableDetail, pinnedSummaryRows, print, resizableColumns, rowActions, rowAppearance, rowDetail, rowEditing, rowPinning, rowReorder, savedViews, selectionStats, sidePanel, statusBar, tableAssistant, tree, undoRedoButtons, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging, useLazyChildren, useRowExpansion, useRowReorder, useTreeExpansion, virtualize };
|
|
36
|
+
export { type AdapterFiltersFeature, AgentApproval, type AgentApprovalProps, type BatchEditingState, type BatchRowEdit, type CellEdit, type CellEditHandler, type CellNavigationOptions, type CellRange, type CellSpanAppearance, type CellSpanRequest, ElementChecklistFilter as ChecklistFilter, type ChecklistFilterProps, type ColumnMenuSlotProps, type ColumnResizeHandleOptions, type ColumnResizeHandleProps, type ConfirmHandler, type ConfirmRequest, type DataTableClassNames, type EditingLifecycleExtras, _default as ElementBatchEditBar, _default$1 as ElementEditableCell, _default$2 as ElementHeaderFilter, _default$3 as ElementRowEditActions, type ExportPdfOptions, type ExportXlsxOptions, type ExtraEntry, type ExtraRow, type ExtraRowKind, type FilterDef, _default$4 as FilterField, type FilterFieldOptions, _default$5 as FilterHeaderControl, type FilterHeaderControlOptions, type FilterHeaderControlProps, _default$6 as FilterHeaderRow, type FilterHeaderRowProps, type FilterOption, ElementFilterTree as FilterTreeBuilder, type FilterTreeBuilderProps, type FilterTypeSpec, type FilterWidget, type FiltersOptions, type GetCellSpan, type GetCellSpanArgs, type GridCell, type GroupCollapseOptions, type GroupNode, type GroupSort, type GroupingExtras, type GroupingPanelProps, type NestedTable, type NestedTableFor, type PinnedRows, type PinnedSummaryEntry, type RowAction, type RowAppearanceOptions, type RowEditIcons, type RowEditingState, type RowExpansionOptions, type RowHeight, type RowMutationHandlers, type RowPinSide, type RowPinState, type RowPinningFeatureOptions, type RowReorderHandler, type RowReorderOptions, type RowStyle, 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
CHANGED
|
@@ -11,13 +11,13 @@ import { contextMenu } from "./context-menu.js";
|
|
|
11
11
|
import { t as densityChooser } from "./density-OeJSiWSC.js";
|
|
12
12
|
import { exportCsv } from "./export-csv.js";
|
|
13
13
|
import "./export.js";
|
|
14
|
-
import { n as filters, r as
|
|
15
|
-
import {
|
|
14
|
+
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 ElementFilterTree } from "./filters-C0YXpD3-.js";
|
|
15
|
+
import { r as ElementChecklistFilter, t as _sfc_main$4 } from "./ElementFilterField-C8EJjVB_.js";
|
|
16
16
|
import { t as findInTable } from "./find-in-table-B9ySCCJh.js";
|
|
17
17
|
import { fullscreen } from "./fullscreen.js";
|
|
18
18
|
import { grouping, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging } from "./grouping.js";
|
|
19
19
|
import { t as groupingPanel } from "./grouping-panel-B7j8sSpT.js";
|
|
20
|
-
import { n as _sfc_main$2, t as headerFilters } from "./header-filters-
|
|
20
|
+
import { n as _sfc_main$2, t as headerFilters } from "./header-filters-B2veND8x.js";
|
|
21
21
|
import { print } from "./print.js";
|
|
22
22
|
import { nestedTable, nestedTableDetail, rowDetail, useRowExpansion } from "./row-detail.js";
|
|
23
23
|
import { n as useRowReorder, t as rowReorder } from "./row-reorder-BYwX3CBP.js";
|
|
@@ -29,4 +29,4 @@ import { sidePanel } from "./side-panel.js";
|
|
|
29
29
|
import { n as statusBar, t as selectionStats } from "./status-bar-DaWh0Agh.js";
|
|
30
30
|
import { tree, useLazyChildren, useTreeExpansion } from "./tree.js";
|
|
31
31
|
import { virtualize } from "./virtualize.js";
|
|
32
|
-
export { AgentApproval, ElementChecklistFilter as ChecklistFilter, _sfc_main as ElementBatchEditBar, _sfc_main$1 as ElementEditableCell, _sfc_main$2 as ElementHeaderFilter, _sfc_main$3 as ElementRowEditActions, _sfc_main$4 as FilterField, _sfc_main$5 as FilterHeaderControl, _sfc_main$6 as FilterHeaderRow, ElementFilterTree as FilterTreeBuilder, SavedViewsPanel, TableAssistant, agentApproval, batchEditing, bulkActions, cellNavigation, cellSpan, collapsibleColumnGroups, columnMenu, columnSelectionCheckbox, commandPalette, contextMenu, densityChooser, dirtyIndicators, editHistory, editing, exportCsv, extraRows, filterTypes, filters, findInTable, fitColumns, fullscreen, grouping, groupingPanel, headerFilters, multiSort, nestedTable, nestedTableDetail, pinnedSummaryRows, print, resizableColumns, rowActions, rowAppearance, rowDetail, rowEditing, rowPinning, rowReorder, savedViews, selectionStats, sidePanel, statusBar, tableAssistant, tree, undoRedoButtons, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging, useLazyChildren, useRowExpansion, useRowReorder, useTreeExpansion, virtualize };
|
|
32
|
+
export { AgentApproval, ElementChecklistFilter as ChecklistFilter, _sfc_main as ElementBatchEditBar, _sfc_main$1 as ElementEditableCell, _sfc_main$2 as ElementHeaderFilter, _sfc_main$3 as ElementRowEditActions, _sfc_main$4 as FilterField, _sfc_main$5 as FilterHeaderControl, _sfc_main$6 as FilterHeaderRow, ElementFilterTree as FilterTreeBuilder, 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 };
|