@adapttable/element-plus 0.1.2 → 0.2.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/README.md +14 -0
- package/dist/assistant-BcVKhdKt.cjs +328 -0
- package/dist/assistant-BcVKhdKt.cjs.map +1 -0
- package/dist/assistant-Dv4a3KEk.js +305 -0
- package/dist/assistant-Dv4a3KEk.js.map +1 -0
- package/dist/assistant.cjs +5 -300
- package/dist/assistant.d.cts.map +1 -1
- package/dist/assistant.d.ts.map +1 -1
- package/dist/assistant.js +1 -296
- package/dist/column-menu-BUiQUex0.d.cts +34 -0
- package/dist/column-menu-BUiQUex0.d.cts.map +1 -0
- package/dist/column-menu-C0YWdhRz.d.ts +34 -0
- package/dist/column-menu-C0YWdhRz.d.ts.map +1 -0
- package/dist/column-menu.d.cts +2 -34
- package/dist/column-menu.d.ts +2 -34
- package/dist/features.cjs +212 -0
- package/dist/features.d.cts +35 -0
- package/dist/features.d.ts +35 -0
- package/dist/features.js +31 -0
- package/dist/filters-BJDFrg_k.d.ts +54 -0
- package/dist/filters-BJDFrg_k.d.ts.map +1 -0
- package/dist/filters-BYHvvws9.d.cts +54 -0
- package/dist/filters-BYHvvws9.d.cts.map +1 -0
- package/dist/filters.d.cts +2 -54
- package/dist/filters.d.ts +2 -54
- package/dist/grouping-panel-B8gWD_90.js +146 -0
- package/dist/grouping-panel-B8gWD_90.js.map +1 -0
- package/dist/grouping-panel-B9AcU8lx.cjs +150 -0
- package/dist/grouping-panel-B9AcU8lx.cjs.map +1 -0
- package/dist/grouping-panel.cjs +3 -145
- package/dist/grouping-panel.js +2 -145
- package/dist/header-filters-B2B5RqQS.d.ts +24 -0
- package/dist/header-filters-B2B5RqQS.d.ts.map +1 -0
- package/dist/header-filters-hGm_7LFO.d.cts +24 -0
- package/dist/header-filters-hGm_7LFO.d.cts.map +1 -0
- package/dist/header-filters.d.cts +2 -23
- package/dist/header-filters.d.ts +2 -23
- package/dist/preset.cjs +7 -7
- package/dist/preset.js +7 -7
- package/dist/row-actions-VRa4T6oF.d.cts +7 -0
- package/dist/row-actions-VRa4T6oF.d.cts.map +1 -0
- package/dist/row-actions-VRa4T6oF.d.ts +7 -0
- package/dist/row-actions-VRa4T6oF.d.ts.map +1 -0
- package/dist/row-actions.d.cts +2 -7
- package/dist/row-actions.d.ts +2 -7
- package/dist/row-pinning-B0WfYDZD.d.ts +8 -0
- package/dist/row-pinning-B0WfYDZD.d.ts.map +1 -0
- package/dist/row-pinning-LzBZmZcZ.d.cts +8 -0
- package/dist/row-pinning-LzBZmZcZ.d.cts.map +1 -0
- package/dist/row-pinning.d.cts +2 -8
- package/dist/row-pinning.d.ts +2 -8
- package/dist/row-reorder-BNscjPNy.cjs +161 -0
- package/dist/row-reorder-BNscjPNy.cjs.map +1 -0
- package/dist/row-reorder-kuiFvbsM.js +157 -0
- package/dist/row-reorder-kuiFvbsM.js.map +1 -0
- package/dist/row-reorder.cjs +2 -155
- package/dist/row-reorder.js +1 -156
- package/dist/rows.d.cts +2 -2
- package/dist/rows.d.ts +2 -2
- package/dist/styles.css +57 -57
- package/package.json +14 -3
- package/dist/assistant.cjs.map +0 -1
- package/dist/assistant.js.map +0 -1
- package/dist/column-menu.d.cts.map +0 -1
- package/dist/column-menu.d.ts.map +0 -1
- package/dist/filters.d.cts.map +0 -1
- package/dist/filters.d.ts.map +0 -1
- package/dist/grouping-panel.cjs.map +0 -1
- package/dist/grouping-panel.js.map +0 -1
- package/dist/header-filters.d.cts.map +0 -1
- package/dist/header-filters.d.ts.map +0 -1
- package/dist/row-actions.d.cts.map +0 -1
- package/dist/row-actions.d.ts.map +0 -1
- package/dist/row-pinning.d.cts.map +0 -1
- package/dist/row-pinning.d.ts.map +0 -1
- package/dist/row-reorder.cjs.map +0 -1
- package/dist/row-reorder.js.map +0 -1
package/dist/assistant.js
CHANGED
|
@@ -1,297 +1,2 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { t as _sfc_main } from "./ElementInput-BsoAvPfO.js";
|
|
3
|
-
import { t as _sfc_main$1 } from "./ElementSelect-Cl5ZjuQM.js";
|
|
4
|
-
import { t as ElementCard } from "./ElementCard-DZdAU6x8.js";
|
|
5
|
-
import { defineComponent, h, shallowRef, watch } from "vue";
|
|
6
|
-
import { AgentApprovalChrome, TableAssistantChrome, createAdapterAgentApprovalFeature, createAdapterTableAssistantFeature, useScopeActivity } from "@adapttable/vue/adapter";
|
|
7
|
-
import { ElDrawer, ElDropdown, ElDropdownItem, ElDropdownMenu, ElTag } from "element-plus";
|
|
8
|
-
//#region src/assistant/ExamplesMenu.ts
|
|
9
|
-
/** One shortcut: its icon, title and optional description. */
|
|
10
|
-
function menuItem(item) {
|
|
11
|
-
return h(ElDropdownItem, {
|
|
12
|
-
key: item.id,
|
|
13
|
-
command: item.id,
|
|
14
|
-
"data-adapttable-part": item.part
|
|
15
|
-
}, { default: () => [item.icon, h("span", [h("strong", item.title), item.description ? h("small", item.description) : null])] });
|
|
16
|
-
}
|
|
17
|
-
/** The assistant's shortcuts in an Element Plus dropdown under its trigger. */
|
|
18
|
-
const ElementExamplesMenu = defineComponent((props) => {
|
|
19
|
-
const active = useScopeActivity();
|
|
20
|
-
const dropdown = shallowRef();
|
|
21
|
-
const trigger = shallowRef(null);
|
|
22
|
-
let generation = 0;
|
|
23
|
-
watch([
|
|
24
|
-
active,
|
|
25
|
-
() => props.disabled,
|
|
26
|
-
() => props.items,
|
|
27
|
-
() => props.onSelect
|
|
28
|
-
], () => {
|
|
29
|
-
generation++;
|
|
30
|
-
dropdown.value?.handleClose();
|
|
31
|
-
}, { flush: "sync" });
|
|
32
|
-
const keydown = (event) => {
|
|
33
|
-
if (event.key !== "Escape" || event.isComposing) return;
|
|
34
|
-
event.preventDefault();
|
|
35
|
-
event.stopPropagation();
|
|
36
|
-
dropdown.value?.handleClose();
|
|
37
|
-
trigger.value?.focus({ preventScroll: true });
|
|
38
|
-
};
|
|
39
|
-
return () => {
|
|
40
|
-
if (!active.value) return null;
|
|
41
|
-
const ticket = generation;
|
|
42
|
-
const current = () => active.value && !props.disabled && ticket === generation;
|
|
43
|
-
return h(ElDropdown, {
|
|
44
|
-
ref: dropdown,
|
|
45
|
-
trigger: "click",
|
|
46
|
-
persistent: false,
|
|
47
|
-
hideTimeout: 0,
|
|
48
|
-
disabled: props.disabled,
|
|
49
|
-
maxHeight: props.maxHeight,
|
|
50
|
-
onCommand: (id) => {
|
|
51
|
-
if (current() && typeof id === "string" && props.items.some((item) => item.id === id)) props.onSelect(id);
|
|
52
|
-
}
|
|
53
|
-
}, {
|
|
54
|
-
default: () => elementButton({
|
|
55
|
-
ref: (element) => {
|
|
56
|
-
trigger.value = element;
|
|
57
|
-
},
|
|
58
|
-
type: "button",
|
|
59
|
-
disabled: props.disabled,
|
|
60
|
-
"aria-label": props.label,
|
|
61
|
-
title: props.label,
|
|
62
|
-
class: props.className,
|
|
63
|
-
"data-adapttable-part": props.part
|
|
64
|
-
}, [props.icon, props.label]),
|
|
65
|
-
dropdown: () => h(ElDropdownMenu, {
|
|
66
|
-
"aria-label": props.label,
|
|
67
|
-
onKeydownCapture: keydown
|
|
68
|
-
}, { default: () => props.items.map(menuItem) })
|
|
69
|
-
});
|
|
70
|
-
};
|
|
71
|
-
}, {
|
|
72
|
-
name: "ElementExamplesMenu",
|
|
73
|
-
props: {
|
|
74
|
-
label: { type: String },
|
|
75
|
-
part: { type: String },
|
|
76
|
-
className: { type: String },
|
|
77
|
-
icon: {
|
|
78
|
-
type: [
|
|
79
|
-
String,
|
|
80
|
-
Number,
|
|
81
|
-
Boolean,
|
|
82
|
-
Array,
|
|
83
|
-
Object
|
|
84
|
-
],
|
|
85
|
-
default: void 0
|
|
86
|
-
},
|
|
87
|
-
disabled: {
|
|
88
|
-
type: Boolean,
|
|
89
|
-
default: void 0
|
|
90
|
-
},
|
|
91
|
-
items: { type: Array },
|
|
92
|
-
onSelect: { type: Function },
|
|
93
|
-
maxHeight: { type: String }
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
//#endregion
|
|
97
|
-
//#region src/assistant/Sheet.ts
|
|
98
|
-
/**
|
|
99
|
-
* Chrome chooses initial and return focus; ElDrawer contains focus and owns
|
|
100
|
-
* the portal. Escape and backdrop dismissal become one close request to the
|
|
101
|
-
* host, and the drawer stays open until the host closes it.
|
|
102
|
-
*/
|
|
103
|
-
const ElementAssistantSheet = defineComponent((props) => {
|
|
104
|
-
const active = useScopeActivity();
|
|
105
|
-
const requestClose = () => {
|
|
106
|
-
if (active.value && props.open) props.onClose();
|
|
107
|
-
};
|
|
108
|
-
const preventDefault = (event) => event.preventDefault();
|
|
109
|
-
const keydown = (event) => {
|
|
110
|
-
if (event.key !== "Escape" || event.defaultPrevented || event.isComposing) return;
|
|
111
|
-
event.preventDefault();
|
|
112
|
-
event.stopPropagation();
|
|
113
|
-
requestClose();
|
|
114
|
-
};
|
|
115
|
-
return () => {
|
|
116
|
-
if (!active.value) return null;
|
|
117
|
-
return h(ElDrawer, {
|
|
118
|
-
modelValue: props.open,
|
|
119
|
-
direction: props.dir === "rtl" ? "ltr" : "rtl",
|
|
120
|
-
size: "min(28rem, 100vw)",
|
|
121
|
-
withHeader: false,
|
|
122
|
-
showClose: false,
|
|
123
|
-
appendToBody: true,
|
|
124
|
-
destroyOnClose: true,
|
|
125
|
-
closeOnPressEscape: false,
|
|
126
|
-
title: props.label,
|
|
127
|
-
"aria-label": props.label,
|
|
128
|
-
dir: props.dir,
|
|
129
|
-
class: ["adapttable-element-plus-assistant-sheet", props.className],
|
|
130
|
-
"data-adapttable-part": props.part,
|
|
131
|
-
beforeClose: requestClose,
|
|
132
|
-
onKeydown: keydown,
|
|
133
|
-
"on:focus-trap.focus-after-trapped": preventDefault,
|
|
134
|
-
"on:focus-trap.focus-after-released": preventDefault
|
|
135
|
-
}, { default: () => props.children });
|
|
136
|
-
};
|
|
137
|
-
}, {
|
|
138
|
-
name: "ElementAssistantSheet",
|
|
139
|
-
props: {
|
|
140
|
-
label: { type: String },
|
|
141
|
-
part: { type: String },
|
|
142
|
-
className: { type: String },
|
|
143
|
-
dir: { type: String },
|
|
144
|
-
open: {
|
|
145
|
-
type: Boolean,
|
|
146
|
-
default: void 0
|
|
147
|
-
},
|
|
148
|
-
onClose: { type: Function },
|
|
149
|
-
children: {
|
|
150
|
-
type: [
|
|
151
|
-
String,
|
|
152
|
-
Number,
|
|
153
|
-
Boolean,
|
|
154
|
-
Array,
|
|
155
|
-
Object
|
|
156
|
-
],
|
|
157
|
-
default: void 0
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
});
|
|
161
|
-
//#endregion
|
|
162
|
-
//#region src/assistant/controls.ts
|
|
163
|
-
/** Element Plus tag types for the assistant's status tones. */
|
|
164
|
-
const TAG_TYPE = {
|
|
165
|
-
neutral: "info",
|
|
166
|
-
busy: "primary",
|
|
167
|
-
warning: "warning",
|
|
168
|
-
danger: "danger"
|
|
169
|
-
};
|
|
170
|
-
const elementAssistantControls = {
|
|
171
|
-
Button: (props) => elementButton({
|
|
172
|
-
type: "button",
|
|
173
|
-
"data-adapttable-part": props.part,
|
|
174
|
-
"aria-label": props.label,
|
|
175
|
-
"aria-expanded": props.expanded,
|
|
176
|
-
title: props.tooltip,
|
|
177
|
-
class: props.className,
|
|
178
|
-
disabled: props.disabled,
|
|
179
|
-
onClick: props.onClick
|
|
180
|
-
}, [props.icon, props.iconOnly && props.icon ? null : props.children ?? props.label]),
|
|
181
|
-
Composer: (props) => h(_sfc_main, {
|
|
182
|
-
type: "textarea",
|
|
183
|
-
rows: 2,
|
|
184
|
-
value: props.value,
|
|
185
|
-
disabled: props.disabled,
|
|
186
|
-
"data-adapttable-part": props.part,
|
|
187
|
-
"aria-label": props.label,
|
|
188
|
-
placeholder: props.placeholder,
|
|
189
|
-
class: ["adapttable-element-plus-assistant-input", props.className],
|
|
190
|
-
onChange: props.onChange,
|
|
191
|
-
onKeydown: props.onKeyDown
|
|
192
|
-
}),
|
|
193
|
-
Badge: (props) => h(ElTag, {
|
|
194
|
-
"data-adapttable-part": props.part,
|
|
195
|
-
"data-tone": props.tone,
|
|
196
|
-
type: TAG_TYPE[props.tone],
|
|
197
|
-
size: "small",
|
|
198
|
-
effect: "light",
|
|
199
|
-
class: props.className
|
|
200
|
-
}, { default: () => props.label }),
|
|
201
|
-
Panel: (props) => h(ElementCard, { attrs: {
|
|
202
|
-
role: "region",
|
|
203
|
-
"data-adapttable-part": props.part,
|
|
204
|
-
"aria-label": props.label,
|
|
205
|
-
class: ["adapttable-element-plus-assistant-panel", props.className]
|
|
206
|
-
} }, { default: () => props.children }),
|
|
207
|
-
Window: (props) => h(ElementCard, { attrs: {
|
|
208
|
-
role: "region",
|
|
209
|
-
"data-adapttable-part": props.part,
|
|
210
|
-
"aria-label": props.label,
|
|
211
|
-
class: ["adapttable-element-plus-assistant-window", props.className],
|
|
212
|
-
style: props.style
|
|
213
|
-
} }, { default: () => props.children }),
|
|
214
|
-
Sheet: (props) => h(ElementAssistantSheet, {
|
|
215
|
-
...props,
|
|
216
|
-
key: props.part
|
|
217
|
-
}),
|
|
218
|
-
Menu: (props) => h(ElementExamplesMenu, props),
|
|
219
|
-
LanguageChip: (props) => h(_sfc_main$1, {
|
|
220
|
-
"data-adapttable-part": props.part,
|
|
221
|
-
"aria-label": props.label,
|
|
222
|
-
class: props.className,
|
|
223
|
-
disabled: props.disabled,
|
|
224
|
-
value: props.value,
|
|
225
|
-
options: props.options,
|
|
226
|
-
onChange: props.onChange
|
|
227
|
-
})
|
|
228
|
-
};
|
|
229
|
-
const elementApprovalControls = {
|
|
230
|
-
Approve: elementAssistantControls.Button,
|
|
231
|
-
Reject: elementAssistantControls.Button,
|
|
232
|
-
Action: elementAssistantControls.Button,
|
|
233
|
-
List: (props) => h("ul", {
|
|
234
|
-
"data-adapttable-part": props.part,
|
|
235
|
-
"aria-label": props.label,
|
|
236
|
-
class: ["adapttable-element-plus-approval-list", props.className]
|
|
237
|
-
}, [props.children])
|
|
238
|
-
};
|
|
239
|
-
//#endregion
|
|
240
|
-
//#region src/assistant.ts
|
|
241
|
-
const TableAssistant = defineComponent((props) => () => h(TableAssistantChrome, {
|
|
242
|
-
...props,
|
|
243
|
-
slots: elementAssistantControls
|
|
244
|
-
}), {
|
|
245
|
-
name: "ElementTableAssistant",
|
|
246
|
-
props: {
|
|
247
|
-
assistant: { type: Object },
|
|
248
|
-
speech: { type: Object },
|
|
249
|
-
open: {
|
|
250
|
-
type: Boolean,
|
|
251
|
-
default: void 0
|
|
252
|
-
},
|
|
253
|
-
onOpenChange: { type: Function },
|
|
254
|
-
presentation: { type: String },
|
|
255
|
-
labels: { type: Object },
|
|
256
|
-
accent: { type: String },
|
|
257
|
-
receipts: {
|
|
258
|
-
type: Boolean,
|
|
259
|
-
default: void 0
|
|
260
|
-
},
|
|
261
|
-
className: { type: String },
|
|
262
|
-
launcher: {
|
|
263
|
-
type: Boolean,
|
|
264
|
-
default: void 0
|
|
265
|
-
},
|
|
266
|
-
onSettings: { type: Function },
|
|
267
|
-
boundary: { type: [String, Object] },
|
|
268
|
-
note: { type: String },
|
|
269
|
-
greeting: { type: String },
|
|
270
|
-
avatars: { type: Object },
|
|
271
|
-
messageAction: { type: Function },
|
|
272
|
-
approval: { type: Object },
|
|
273
|
-
dir: { type: String }
|
|
274
|
-
}
|
|
275
|
-
});
|
|
276
|
-
const AgentApproval = defineComponent((props) => () => h(AgentApprovalChrome, {
|
|
277
|
-
...props,
|
|
278
|
-
slots: elementApprovalControls
|
|
279
|
-
}), {
|
|
280
|
-
name: "ElementAgentApproval",
|
|
281
|
-
props: {
|
|
282
|
-
pending: { type: Object },
|
|
283
|
-
labels: { type: Object },
|
|
284
|
-
className: { type: String },
|
|
285
|
-
buttonClassName: { type: String }
|
|
286
|
-
}
|
|
287
|
-
});
|
|
288
|
-
function tableAssistant() {
|
|
289
|
-
return createAdapterTableAssistantFeature((props) => h(TableAssistant, props));
|
|
290
|
-
}
|
|
291
|
-
function agentApproval() {
|
|
292
|
-
return createAdapterAgentApprovalFeature((props) => h(AgentApproval, props));
|
|
293
|
-
}
|
|
294
|
-
//#endregion
|
|
1
|
+
import { i as tableAssistant, n as TableAssistant, r as agentApproval, t as AgentApproval } from "./assistant-Dv4a3KEk.js";
|
|
295
2
|
export { AgentApproval, TableAssistant, agentApproval, tableAssistant };
|
|
296
|
-
|
|
297
|
-
//# sourceMappingURL=assistant.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { StaticTableFeature } from "@adapttable/vue";
|
|
2
|
+
import { ColumnMenuSlotProps, ColumnMenuSlotProps as ColumnMenuSlotProps$1 } from "@adapttable/vue/adapter";
|
|
3
|
+
import { SetupContext } from "vue";
|
|
4
|
+
//#region src/columns/ColumnMenu.d.ts
|
|
5
|
+
declare function ColumnMenu<TRow>(props: ColumnMenuSlotProps<TRow>, context: Pick<SetupContext, "attrs">): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>;
|
|
8
|
+
declare namespace ColumnMenu {
|
|
9
|
+
var props: {
|
|
10
|
+
allColumns: null;
|
|
11
|
+
layout: null;
|
|
12
|
+
labels: null;
|
|
13
|
+
hasRowActions: BooleanConstructor;
|
|
14
|
+
hasRowReorder: BooleanConstructor;
|
|
15
|
+
onAutoSize: null;
|
|
16
|
+
onAutoSizeColumn: null;
|
|
17
|
+
onSortColumn: null;
|
|
18
|
+
onFilterColumn: null;
|
|
19
|
+
onRenameColumn: null;
|
|
20
|
+
sortBy: null;
|
|
21
|
+
sortDir: null;
|
|
22
|
+
dir: null;
|
|
23
|
+
groupingPanel: null;
|
|
24
|
+
featureHost: null;
|
|
25
|
+
classNames: null;
|
|
26
|
+
container: null;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/column-menu.d.ts
|
|
31
|
+
declare function columnMenu(): StaticTableFeature;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { columnMenu as n, ColumnMenu as r, ColumnMenuSlotProps$1 as t };
|
|
34
|
+
//# sourceMappingURL=column-menu-BUiQUex0.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-menu-BUiQUex0.d.cts","names":[],"sources":["../src/columns/ColumnMenu.ts","../src/column-menu.ts"],"mappings":";;;;iBAmCgB,WAAW,MACzB,OAAO,oBAAoB,OAC3B,SAAS,KAAK,uCAAsB,oBAAA,4BAAA;;;kBAFtB;;;;;mBAAA;mBAAA;;;;;;;;;;;;;;;;;iBCrBA,cAAc"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { SetupContext } from "vue";
|
|
2
|
+
import { ColumnMenuSlotProps, ColumnMenuSlotProps as ColumnMenuSlotProps$1 } from "@adapttable/vue/adapter";
|
|
3
|
+
import { StaticTableFeature } from "@adapttable/vue";
|
|
4
|
+
//#region src/columns/ColumnMenu.d.ts
|
|
5
|
+
declare function ColumnMenu<TRow>(props: ColumnMenuSlotProps<TRow>, context: Pick<SetupContext, "attrs">): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>;
|
|
8
|
+
declare namespace ColumnMenu {
|
|
9
|
+
var props: {
|
|
10
|
+
allColumns: null;
|
|
11
|
+
layout: null;
|
|
12
|
+
labels: null;
|
|
13
|
+
hasRowActions: BooleanConstructor;
|
|
14
|
+
hasRowReorder: BooleanConstructor;
|
|
15
|
+
onAutoSize: null;
|
|
16
|
+
onAutoSizeColumn: null;
|
|
17
|
+
onSortColumn: null;
|
|
18
|
+
onFilterColumn: null;
|
|
19
|
+
onRenameColumn: null;
|
|
20
|
+
sortBy: null;
|
|
21
|
+
sortDir: null;
|
|
22
|
+
dir: null;
|
|
23
|
+
groupingPanel: null;
|
|
24
|
+
featureHost: null;
|
|
25
|
+
classNames: null;
|
|
26
|
+
container: null;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/column-menu.d.ts
|
|
31
|
+
declare function columnMenu(): StaticTableFeature;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { columnMenu as n, ColumnMenu as r, ColumnMenuSlotProps$1 as t };
|
|
34
|
+
//# sourceMappingURL=column-menu-C0YWdhRz.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-menu-C0YWdhRz.d.ts","names":[],"sources":["../src/columns/ColumnMenu.ts","../src/column-menu.ts"],"mappings":";;;;iBAmCgB,WAAW,MACzB,OAAO,oBAAoB,OAC3B,SAAS,KAAK,uCAAsB,oBAAA,4BAAA;;;kBAFtB;;;;;mBAAA;mBAAA;;;;;;;;;;;;;;;;;iBCrBA,cAAc"}
|
package/dist/column-menu.d.cts
CHANGED
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { SetupContext } from "vue";
|
|
4
|
-
//#region src/columns/ColumnMenu.d.ts
|
|
5
|
-
declare function ColumnMenu<TRow>(props: ColumnMenuSlotProps$1<TRow>, context: Pick<SetupContext, "attrs">): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
}>;
|
|
8
|
-
declare namespace ColumnMenu {
|
|
9
|
-
var props: {
|
|
10
|
-
allColumns: null;
|
|
11
|
-
layout: null;
|
|
12
|
-
labels: null;
|
|
13
|
-
hasRowActions: BooleanConstructor;
|
|
14
|
-
hasRowReorder: BooleanConstructor;
|
|
15
|
-
onAutoSize: null;
|
|
16
|
-
onAutoSizeColumn: null;
|
|
17
|
-
onSortColumn: null;
|
|
18
|
-
onFilterColumn: null;
|
|
19
|
-
onRenameColumn: null;
|
|
20
|
-
sortBy: null;
|
|
21
|
-
sortDir: null;
|
|
22
|
-
dir: null;
|
|
23
|
-
groupingPanel: null;
|
|
24
|
-
featureHost: null;
|
|
25
|
-
classNames: null;
|
|
26
|
-
container: null;
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
//#endregion
|
|
30
|
-
//#region src/column-menu.d.ts
|
|
31
|
-
declare function columnMenu(): StaticTableFeature;
|
|
32
|
-
//#endregion
|
|
33
|
-
export { ColumnMenu, type ColumnMenuSlotProps, columnMenu };
|
|
34
|
-
//# sourceMappingURL=column-menu.d.cts.map
|
|
1
|
+
import { n as columnMenu, r as ColumnMenu, t as ColumnMenuSlotProps } from "./column-menu-BUiQUex0.cjs";
|
|
2
|
+
export { ColumnMenu, type ColumnMenuSlotProps, columnMenu };
|
package/dist/column-menu.d.ts
CHANGED
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { StaticTableFeature } from "@adapttable/vue";
|
|
4
|
-
//#region src/columns/ColumnMenu.d.ts
|
|
5
|
-
declare function ColumnMenu<TRow>(props: ColumnMenuSlotProps$1<TRow>, context: Pick<SetupContext, "attrs">): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
}>;
|
|
8
|
-
declare namespace ColumnMenu {
|
|
9
|
-
var props: {
|
|
10
|
-
allColumns: null;
|
|
11
|
-
layout: null;
|
|
12
|
-
labels: null;
|
|
13
|
-
hasRowActions: BooleanConstructor;
|
|
14
|
-
hasRowReorder: BooleanConstructor;
|
|
15
|
-
onAutoSize: null;
|
|
16
|
-
onAutoSizeColumn: null;
|
|
17
|
-
onSortColumn: null;
|
|
18
|
-
onFilterColumn: null;
|
|
19
|
-
onRenameColumn: null;
|
|
20
|
-
sortBy: null;
|
|
21
|
-
sortDir: null;
|
|
22
|
-
dir: null;
|
|
23
|
-
groupingPanel: null;
|
|
24
|
-
featureHost: null;
|
|
25
|
-
classNames: null;
|
|
26
|
-
container: null;
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
//#endregion
|
|
30
|
-
//#region src/column-menu.d.ts
|
|
31
|
-
declare function columnMenu(): StaticTableFeature;
|
|
32
|
-
//#endregion
|
|
33
|
-
export { ColumnMenu, type ColumnMenuSlotProps, columnMenu };
|
|
34
|
-
//# sourceMappingURL=column-menu.d.ts.map
|
|
1
|
+
import { n as columnMenu, r as ColumnMenu, t as ColumnMenuSlotProps } from "./column-menu-C0YWdhRz.js";
|
|
2
|
+
export { ColumnMenu, type ColumnMenuSlotProps, columnMenu };
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_ElementFilterHeaderRow = require("./ElementFilterHeaderRow-CR1aax4I.cjs");
|
|
3
|
+
const require_assistant = require("./assistant-BcVKhdKt.cjs");
|
|
4
|
+
const require_editing = require("./editing-BMtWRqqJ.cjs");
|
|
5
|
+
require("./batch-editing.cjs");
|
|
6
|
+
const require_bulk_actions = require("./bulk-actions.cjs");
|
|
7
|
+
const require_cell_navigation = require("./cell-navigation-BXE28fwQ.cjs");
|
|
8
|
+
const require_column_menu = require("./column-menu-CtaKQS3b.cjs");
|
|
9
|
+
require("./columns.cjs");
|
|
10
|
+
const require_command_palette = require("./command-palette.cjs");
|
|
11
|
+
const require_context_menu = require("./context-menu.cjs");
|
|
12
|
+
const require_density = require("./density-Bj1pck4x.cjs");
|
|
13
|
+
const require_export = require("./export-CL36qPVY.cjs");
|
|
14
|
+
const require_filters = require("./filters-2G3MfNF7.cjs");
|
|
15
|
+
const require_ElementFilterSurface = require("./ElementFilterSurface-B8Fo3hPb.cjs");
|
|
16
|
+
const require_find_in_table = require("./find-in-table-DOn2Hua1.cjs");
|
|
17
|
+
const require_fullscreen = require("./fullscreen.cjs");
|
|
18
|
+
const require_grouping = require("./grouping.cjs");
|
|
19
|
+
const require_grouping_panel = require("./grouping-panel-B9AcU8lx.cjs");
|
|
20
|
+
const require_header_filters = require("./header-filters-D71v75Us.cjs");
|
|
21
|
+
const require_print = require("./print.cjs");
|
|
22
|
+
require("./row-detail.cjs");
|
|
23
|
+
const require_row_reorder = require("./row-reorder-BNscjPNy.cjs");
|
|
24
|
+
const require_row_actions = require("./row-actions.cjs");
|
|
25
|
+
const require_row_pinning = require("./row-pinning.cjs");
|
|
26
|
+
require("./rows.cjs");
|
|
27
|
+
const require_saved_views = require("./saved-views-BTJxWOyY.cjs");
|
|
28
|
+
const require_side_panel = require("./side-panel.cjs");
|
|
29
|
+
const require_status_bar = require("./status-bar-C-XuZg77.cjs");
|
|
30
|
+
require("./tree.cjs");
|
|
31
|
+
require("./virtualize.cjs");
|
|
32
|
+
let _adapttable_vue_features = require("@adapttable/vue/features");
|
|
33
|
+
let _adapttable_vue_adapter = require("@adapttable/vue/adapter");
|
|
34
|
+
let _adapttable_vue = require("@adapttable/vue");
|
|
35
|
+
exports.AgentApproval = require_assistant.AgentApproval;
|
|
36
|
+
exports.ChecklistFilter = require_ElementFilterSurface.ElementChecklistFilter;
|
|
37
|
+
exports.ElementBatchEditBar = require_editing._sfc_main$1;
|
|
38
|
+
exports.ElementEditableCell = require_editing._sfc_main$2;
|
|
39
|
+
exports.ElementHeaderFilter = require_header_filters._sfc_main;
|
|
40
|
+
exports.ElementRowEditActions = require_editing._sfc_main;
|
|
41
|
+
exports.FilterField = require_ElementFilterSurface._sfc_main;
|
|
42
|
+
exports.FilterHeaderControl = require_ElementFilterHeaderRow._sfc_main$1;
|
|
43
|
+
exports.FilterHeaderRow = require_ElementFilterHeaderRow._sfc_main;
|
|
44
|
+
exports.FilterTreeBuilder = require_filters.ElementFilterTree;
|
|
45
|
+
exports.SavedViewsPanel = require_saved_views.SavedViewsPanel;
|
|
46
|
+
exports.TableAssistant = require_assistant.TableAssistant;
|
|
47
|
+
exports.agentApproval = require_assistant.agentApproval;
|
|
48
|
+
exports.batchEditing = require_editing.batchEditing;
|
|
49
|
+
exports.bulkActions = require_bulk_actions.bulkActions;
|
|
50
|
+
exports.cellNavigation = require_cell_navigation.cellNavigation;
|
|
51
|
+
Object.defineProperty(exports, "cellSpan", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function() {
|
|
54
|
+
return _adapttable_vue_features.cellSpan;
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, "collapsibleColumnGroups", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function() {
|
|
60
|
+
return _adapttable_vue_features.collapsibleColumnGroups;
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
exports.columnMenu = require_column_menu.columnMenu;
|
|
64
|
+
exports.columnSelectionCheckbox = require_cell_navigation.columnSelectionCheckbox;
|
|
65
|
+
exports.commandPalette = require_command_palette.commandPalette;
|
|
66
|
+
exports.contextMenu = require_context_menu.contextMenu;
|
|
67
|
+
exports.densityChooser = require_density.densityChooser;
|
|
68
|
+
Object.defineProperty(exports, "dirtyIndicators", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function() {
|
|
71
|
+
return _adapttable_vue_features.dirtyIndicators;
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "editHistory", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function() {
|
|
77
|
+
return _adapttable_vue_features.editHistory;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
exports.editing = require_editing.editing;
|
|
81
|
+
exports.exportCsv = require_export.exportCsv;
|
|
82
|
+
Object.defineProperty(exports, "extraRows", {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function() {
|
|
85
|
+
return _adapttable_vue_features.extraRows;
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "filterTypes", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function() {
|
|
91
|
+
return _adapttable_vue_features.filterTypes;
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
exports.filters = require_filters.filters;
|
|
95
|
+
exports.findInTable = require_find_in_table.findInTable;
|
|
96
|
+
Object.defineProperty(exports, "fitColumns", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function() {
|
|
99
|
+
return _adapttable_vue_features.fitColumns;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
exports.fullscreen = require_fullscreen.fullscreen;
|
|
103
|
+
exports.grouping = require_grouping.grouping;
|
|
104
|
+
exports.groupingPanel = require_grouping_panel.groupingPanel;
|
|
105
|
+
exports.headerFilters = require_header_filters.headerFilters;
|
|
106
|
+
Object.defineProperty(exports, "multiSort", {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function() {
|
|
109
|
+
return _adapttable_vue_features.multiSort;
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "nestedTable", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function() {
|
|
115
|
+
return _adapttable_vue_features.nestedTable;
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
Object.defineProperty(exports, "nestedTableDetail", {
|
|
119
|
+
enumerable: true,
|
|
120
|
+
get: function() {
|
|
121
|
+
return _adapttable_vue_adapter.nestedTableDetail;
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "pinnedSummaryRows", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function() {
|
|
127
|
+
return _adapttable_vue_features.pinnedSummaryRows;
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
exports.print = require_print.print;
|
|
131
|
+
Object.defineProperty(exports, "resizableColumns", {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function() {
|
|
134
|
+
return _adapttable_vue_features.resizableColumns;
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
exports.rowActions = require_row_actions.rowActions;
|
|
138
|
+
Object.defineProperty(exports, "rowAppearance", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function() {
|
|
141
|
+
return _adapttable_vue_features.rowAppearance;
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "rowDetail", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function() {
|
|
147
|
+
return _adapttable_vue_features.rowDetail;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
exports.rowEditing = require_editing.rowEditing;
|
|
151
|
+
exports.rowPinning = require_row_pinning.rowPinning;
|
|
152
|
+
exports.rowReorder = require_row_reorder.rowReorder;
|
|
153
|
+
exports.savedViews = require_saved_views.savedViews;
|
|
154
|
+
exports.selectionStats = require_status_bar.selectionStats;
|
|
155
|
+
exports.sidePanel = require_side_panel.sidePanel;
|
|
156
|
+
exports.statusBar = require_status_bar.statusBar;
|
|
157
|
+
exports.tableAssistant = require_assistant.tableAssistant;
|
|
158
|
+
Object.defineProperty(exports, "tree", {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: function() {
|
|
161
|
+
return _adapttable_vue_features.tree;
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
exports.undoRedoButtons = require_editing.undoRedoButtons;
|
|
165
|
+
Object.defineProperty(exports, "useGroupCollapse", {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function() {
|
|
168
|
+
return _adapttable_vue.useGroupCollapse;
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
Object.defineProperty(exports, "useGroupCollapseUrlState", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function() {
|
|
174
|
+
return _adapttable_vue.useGroupCollapseUrlState;
|
|
175
|
+
}
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(exports, "useGroupPaging", {
|
|
178
|
+
enumerable: true,
|
|
179
|
+
get: function() {
|
|
180
|
+
return _adapttable_vue.useGroupPaging;
|
|
181
|
+
}
|
|
182
|
+
});
|
|
183
|
+
Object.defineProperty(exports, "useLazyChildren", {
|
|
184
|
+
enumerable: true,
|
|
185
|
+
get: function() {
|
|
186
|
+
return _adapttable_vue.useLazyChildren;
|
|
187
|
+
}
|
|
188
|
+
});
|
|
189
|
+
Object.defineProperty(exports, "useRowExpansion", {
|
|
190
|
+
enumerable: true,
|
|
191
|
+
get: function() {
|
|
192
|
+
return _adapttable_vue.useRowExpansion;
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
Object.defineProperty(exports, "useRowReorder", {
|
|
196
|
+
enumerable: true,
|
|
197
|
+
get: function() {
|
|
198
|
+
return _adapttable_vue.useRowReorder;
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
Object.defineProperty(exports, "useTreeExpansion", {
|
|
202
|
+
enumerable: true,
|
|
203
|
+
get: function() {
|
|
204
|
+
return _adapttable_vue.useTreeExpansion;
|
|
205
|
+
}
|
|
206
|
+
});
|
|
207
|
+
Object.defineProperty(exports, "virtualize", {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
get: function() {
|
|
210
|
+
return _adapttable_vue_features.virtualize;
|
|
211
|
+
}
|
|
212
|
+
});
|