@sarafapp/ant-design 1.0.26 → 1.0.27
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/baseTable/SarafTable.vue.es.js +4 -4
- package/dist/baseTable/SarafTable.vue.es2.js +169 -154
- package/dist/baseTable/SarafTableGenerator.vue.d.ts +2 -4
- package/dist/baseTable/SarafTableGenerator.vue.es.js +3 -3
- package/dist/baseTable/SarafTableGenerator.vue.es2.js +131 -124
- package/dist/index.js +4 -4
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "./SarafTable.vue.es2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import a from "../_virtual/_plugin-vue_export-helper.es.js";
|
|
4
|
+
const f = /* @__PURE__ */ a(o, [["__scopeId", "data-v-c60d6e32"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { SelectableTable as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
const
|
|
1
|
+
import { defineComponent as pe, ref as _, computed as p, onBeforeMount as ye, onBeforeUpdate as me, onBeforeUnmount as fe, resolveComponent as m, createBlock as c, openBlock as n, createSlots as Se, withCtx as s, createElementBlock as u, createCommentVNode as C, unref as a, toDisplayString as S, normalizeClass as Te, createVNode as T, createElementVNode as he, mergeProps as _e, Fragment as g, renderList as M, withModifiers as Ce, createTextVNode as A, renderSlot as be } from "vue";
|
|
2
|
+
import { SelectableTable as ke, TableConstants as w, CellType as r, HeaderType as ve, SortDetail as ge, SortOrderTableHeader as Ae, SortOrder as U, TABLE_ACTION_COLUMN as we, isOnlyOneItem as Ie, isLastItem as Oe } from "@sarafapp/iron_core";
|
|
3
|
+
import Pe from "../dataDisplay/tooltip/SarafTooltip.vue.es.js";
|
|
4
|
+
import Ne from "../dataDisplay/tag/SarafTag.vue.es.js";
|
|
5
|
+
import De from "./SarafBankCardTableCell.vue.es.js";
|
|
6
|
+
import Re from "./SarafIbanTableCell.vue.es.js";
|
|
7
|
+
import xe from "./SarafSymbolTableCell.vue.es.js";
|
|
8
|
+
import Ee from "./SarafTradeAmountTableCell.vue.es.js";
|
|
9
|
+
import Be from "./SarafTradeSymbolPriceCell.vue.es.js";
|
|
10
|
+
import Le from "./SarafTradeSymbolCell.vue.es.js";
|
|
11
|
+
import Me from "./SarafTradeDateCell.vue.es.js";
|
|
12
|
+
import Ue from "./SarafPriceTableCell.vue.es.js";
|
|
13
|
+
import He from "./SarafDynamicCurrencyPriceTableCell.vue.es.js";
|
|
14
|
+
const Ke = { key: 0 }, Ve = ["onClick"], ze = {
|
|
15
15
|
key: 11,
|
|
16
16
|
class: "saraf-image-cell-wrapper"
|
|
17
|
-
},
|
|
18
|
-
key:
|
|
17
|
+
}, $e = ["src", "alt"], Fe = { key: 1 }, Ge = {
|
|
18
|
+
key: 1,
|
|
19
19
|
class: "action-column"
|
|
20
|
-
},
|
|
20
|
+
}, rt = /* @__PURE__ */ pe({
|
|
21
21
|
__name: "SarafTable",
|
|
22
22
|
props: {
|
|
23
23
|
dataSource: {}
|
|
24
24
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const l =
|
|
27
|
-
total:
|
|
28
|
-
current:
|
|
25
|
+
setup(H) {
|
|
26
|
+
const l = H, I = _(""), y = _([]), O = _([]), h = _(), b = p(() => l.dataSource instanceof ke), K = p(() => l.dataSource.isLoading()), P = p(() => y.value.length > w.MINIMAL_LOADABLE_HEADER_COUNT), k = p(() => l.dataSource.getData()), V = p(() => ({
|
|
27
|
+
total: k.value.totalItems,
|
|
28
|
+
current: k.value.currentPage,
|
|
29
29
|
showLessItems: !0,
|
|
30
30
|
showTotal(e) {
|
|
31
31
|
return "تعداد کل: " + e;
|
|
@@ -33,222 +33,237 @@ const Le = { key: 0 }, Me = {
|
|
|
33
33
|
defaultPageSize: w.DEFAULT_ITEM_COUNT_PER_PAGE,
|
|
34
34
|
pageSize: l.dataSource.getItemCountPerPage(),
|
|
35
35
|
position: [w.PAGINATION_POSITION]
|
|
36
|
-
})),
|
|
36
|
+
})), N = p(() => {
|
|
37
37
|
var e;
|
|
38
|
-
return ((e =
|
|
39
|
-
}),
|
|
40
|
-
onSelect:
|
|
41
|
-
onSelectAll:
|
|
42
|
-
selectedRowKeys:
|
|
43
|
-
} : null),
|
|
44
|
-
function
|
|
45
|
-
const
|
|
46
|
-
I.value =
|
|
38
|
+
return ((e = y.value[y.value.length - 1]) == null ? void 0 : e.cellType) === r.ACTION;
|
|
39
|
+
}), z = p(() => b.value ? {
|
|
40
|
+
onSelect: G,
|
|
41
|
+
onSelectAll: W,
|
|
42
|
+
selectedRowKeys: O.value
|
|
43
|
+
} : null), $ = p(() => !!h.value.summaryItems.length);
|
|
44
|
+
function F(e) {
|
|
45
|
+
const i = e.currentTarget;
|
|
46
|
+
I.value = i.scrollWidth > i.clientWidth ? i.innerText : "";
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function G(e) {
|
|
49
49
|
l.dataSource.rowSelect(e);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function W() {
|
|
52
52
|
l.dataSource.selectAll();
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
|
|
54
|
+
function D() {
|
|
55
|
+
O.value = l.dataSource.getSelectedRowIds();
|
|
56
56
|
}
|
|
57
|
-
async function
|
|
58
|
-
if (e && await l.dataSource.paginate(e.current, e.pageSize),
|
|
59
|
-
const v = new
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
async function j(e, i, d) {
|
|
58
|
+
if (e && await l.dataSource.paginate(e.current, e.pageSize), d != null && d.columnKey) {
|
|
59
|
+
const v = new ge(
|
|
60
|
+
d.columnKey,
|
|
61
|
+
q(d.order)
|
|
62
62
|
);
|
|
63
63
|
await l.dataSource.sort(v);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
return e ===
|
|
66
|
+
function q(e) {
|
|
67
|
+
return e === Ae.ASC ? U.ASC : U.DESC;
|
|
68
68
|
}
|
|
69
|
-
async function
|
|
69
|
+
async function J() {
|
|
70
70
|
await l.dataSource.load(), R();
|
|
71
71
|
}
|
|
72
72
|
function R() {
|
|
73
|
-
|
|
73
|
+
y.value = l.dataSource.headerSchema;
|
|
74
74
|
const e = l.dataSource.hasAnyAction();
|
|
75
|
-
e && !
|
|
75
|
+
e && !N.value && Q(), !e && N.value && X();
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
|
|
77
|
+
function Q() {
|
|
78
|
+
y.value.push(we);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
|
|
80
|
+
function X() {
|
|
81
|
+
y.value.pop();
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Y(e) {
|
|
84
84
|
l.dataSource.handleClick(e);
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Z(e) {
|
|
87
87
|
l.dataSource.handleMetaClick(e);
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ee(e) {
|
|
90
90
|
l.dataSource.handleDoubleClick(e);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function te(e) {
|
|
93
93
|
return {
|
|
94
|
-
onClick(
|
|
95
|
-
|
|
94
|
+
onClick(i) {
|
|
95
|
+
i.metaKey ? Z(e) : Y(e);
|
|
96
96
|
},
|
|
97
97
|
onDblclick() {
|
|
98
|
-
|
|
98
|
+
ee(e);
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function ae(e) {
|
|
103
103
|
return e.id;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
return !
|
|
105
|
+
function le(e, i) {
|
|
106
|
+
return !Ie(e) && !Oe(e, i);
|
|
107
|
+
}
|
|
108
|
+
function ne(e, i) {
|
|
109
|
+
return e.getProps ? e.getProps(i) : null;
|
|
107
110
|
}
|
|
108
|
-
function
|
|
109
|
-
return e.
|
|
111
|
+
function x(e) {
|
|
112
|
+
return e.onClick;
|
|
110
113
|
}
|
|
111
|
-
function
|
|
112
|
-
|
|
114
|
+
function E(e) {
|
|
115
|
+
return e.cellType !== r.ACTION && typeof x(e) == "function";
|
|
113
116
|
}
|
|
114
|
-
function
|
|
115
|
-
|
|
117
|
+
async function oe(e, i, d) {
|
|
118
|
+
E(e) && (d.stopPropagation(), await x(e)(i));
|
|
116
119
|
}
|
|
117
|
-
function
|
|
118
|
-
|
|
120
|
+
function re() {
|
|
121
|
+
b.value && l.dataSource.selectedRows.attach(D);
|
|
119
122
|
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
123
|
+
function ie() {
|
|
124
|
+
b.value && l.dataSource.selectedRows.detach(D);
|
|
125
|
+
}
|
|
126
|
+
function B() {
|
|
127
|
+
h.value = l.dataSource.loadSummarySchema();
|
|
128
|
+
}
|
|
129
|
+
return ye(() => {
|
|
130
|
+
J(), re(), B();
|
|
131
|
+
}), me(() => {
|
|
132
|
+
R(), B();
|
|
133
|
+
}), fe(() => {
|
|
134
|
+
l.dataSource.onDestroy(), ie();
|
|
135
|
+
}), (e, i) => {
|
|
136
|
+
const d = m("a-button"), v = m("a-divider"), L = m("a-table-summary-cell"), ce = m("a-typography-text"), se = m("a-table-summary-row"), ue = m("a-table");
|
|
137
|
+
return n(), c(ue, {
|
|
138
|
+
columns: y.value,
|
|
139
|
+
"data-source": k.value.rows,
|
|
140
|
+
pagination: V.value,
|
|
141
|
+
"custom-row": te,
|
|
142
|
+
"row-key": ae,
|
|
143
|
+
loading: K.value,
|
|
135
144
|
scroll: l.dataSource.getScrollDetail(),
|
|
136
|
-
"row-selection":
|
|
145
|
+
"row-selection": z.value,
|
|
137
146
|
class: "saraf-table",
|
|
138
|
-
onChange:
|
|
139
|
-
},
|
|
140
|
-
|
|
147
|
+
onChange: j
|
|
148
|
+
}, Se({ _: 2 }, [
|
|
149
|
+
P.value ? {
|
|
141
150
|
name: "headerCell",
|
|
142
151
|
fn: s(({ column: t }) => [
|
|
143
|
-
t.headerType === a(
|
|
152
|
+
t.headerType === a(ve).Text ? (n(), u("span", Ke, S(t.title), 1)) : C("", !0)
|
|
144
153
|
]),
|
|
145
154
|
key: "0"
|
|
146
155
|
} : void 0,
|
|
147
|
-
|
|
156
|
+
P.value ? {
|
|
148
157
|
name: "bodyCell",
|
|
149
158
|
fn: s(({ column: t, record: o }) => [
|
|
150
|
-
t.cellType
|
|
159
|
+
t.cellType !== a(r).ACTION ? (n(), u("div", {
|
|
151
160
|
key: 0,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
onMouseenter: z
|
|
161
|
+
class: Te(["saraf-table-cell", { "clickable-cell": E(t) }]),
|
|
162
|
+
onClick: (f) => oe(t, o, f)
|
|
155
163
|
}, [
|
|
156
|
-
|
|
157
|
-
default: s(() => [
|
|
158
|
-
ye("span", null, f(o[t.path]), 1)
|
|
159
|
-
]),
|
|
160
|
-
_: 2
|
|
161
|
-
}, 1032, ["title"])
|
|
162
|
-
], 544)) : t.cellType === a(r).Tag ? (n(), i(a(we), fe({
|
|
163
|
-
key: 1,
|
|
164
|
-
content: o[t.path]
|
|
165
|
-
}, ae(t, o)), null, 16, ["content"])) : t.cellType === a(r).BankCard ? (n(), i(a(Ie), {
|
|
166
|
-
key: 2,
|
|
167
|
-
"card-number": o[t.path]
|
|
168
|
-
}, null, 8, ["card-number"])) : t.cellType === a(r).Iban ? (n(), i(a(Pe), {
|
|
169
|
-
key: 3,
|
|
170
|
-
iban: o[t.path]
|
|
171
|
-
}, null, 8, ["iban"])) : t.cellType === a(r).Symbol ? (n(), i(a(De), {
|
|
172
|
-
key: 4,
|
|
173
|
-
symbol: o[t.path]
|
|
174
|
-
}, null, 8, ["symbol"])) : t.cellType === a(r).TradeDetail ? (n(), i(a(Oe), {
|
|
175
|
-
key: 5,
|
|
176
|
-
"symbol-trade-amount-detail": o[t.path]
|
|
177
|
-
}, null, 8, ["symbol-trade-amount-detail"])) : t.cellType === a(r).SymbolPrice ? (n(), i(a(Ne), {
|
|
178
|
-
key: 6,
|
|
179
|
-
"symbol-price-in-trade": o[t.path]
|
|
180
|
-
}, null, 8, ["symbol-price-in-trade"])) : t.cellType === a(r).TradeSymbol ? (n(), i(a(Re), {
|
|
181
|
-
key: 7,
|
|
182
|
-
"symbol-in-trade": o[t.path]
|
|
183
|
-
}, null, 8, ["symbol-in-trade"])) : t.cellType === a(r).TradeDate ? (n(), i(a(xe), {
|
|
184
|
-
key: 8,
|
|
185
|
-
"trade-date": o[t.path]
|
|
186
|
-
}, null, 8, ["trade-date"])) : t.cellType === a(r).Price ? (n(), i(a(Ee), {
|
|
187
|
-
key: 9,
|
|
188
|
-
price: o[t.path]
|
|
189
|
-
}, null, 8, ["price"])) : t.cellType === a(r).DynamicCurrencyPrice ? (n(), i(a(Be), {
|
|
190
|
-
key: 10,
|
|
191
|
-
amount: o[t.path]
|
|
192
|
-
}, null, 8, ["amount"])) : t.cellType === a(r).Image ? (n(), u("div", Me, [
|
|
193
|
-
o[t.path] ? (n(), u("img", {
|
|
164
|
+
t.cellType === a(r).Text ? (n(), u("div", {
|
|
194
165
|
key: 0,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
},
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
166
|
+
ref: "tooltipTarget",
|
|
167
|
+
class: "ellipsis-cell",
|
|
168
|
+
onMouseenter: F
|
|
169
|
+
}, [
|
|
170
|
+
T(a(Pe), { title: I.value }, {
|
|
171
|
+
default: s(() => [
|
|
172
|
+
he("span", null, S(o[t.path]), 1)
|
|
173
|
+
]),
|
|
174
|
+
_: 2
|
|
175
|
+
}, 1032, ["title"])
|
|
176
|
+
], 544)) : t.cellType === a(r).Tag ? (n(), c(a(Ne), _e({
|
|
177
|
+
key: 1,
|
|
178
|
+
content: o[t.path]
|
|
179
|
+
}, ne(t, o)), null, 16, ["content"])) : t.cellType === a(r).BankCard ? (n(), c(a(De), {
|
|
180
|
+
key: 2,
|
|
181
|
+
"card-number": o[t.path]
|
|
182
|
+
}, null, 8, ["card-number"])) : t.cellType === a(r).Iban ? (n(), c(a(Re), {
|
|
183
|
+
key: 3,
|
|
184
|
+
iban: o[t.path]
|
|
185
|
+
}, null, 8, ["iban"])) : t.cellType === a(r).Symbol ? (n(), c(a(xe), {
|
|
186
|
+
key: 4,
|
|
187
|
+
symbol: o[t.path]
|
|
188
|
+
}, null, 8, ["symbol"])) : t.cellType === a(r).TradeDetail ? (n(), c(a(Ee), {
|
|
189
|
+
key: 5,
|
|
190
|
+
"symbol-trade-amount-detail": o[t.path]
|
|
191
|
+
}, null, 8, ["symbol-trade-amount-detail"])) : t.cellType === a(r).SymbolPrice ? (n(), c(a(Be), {
|
|
192
|
+
key: 6,
|
|
193
|
+
"symbol-price-in-trade": o[t.path]
|
|
194
|
+
}, null, 8, ["symbol-price-in-trade"])) : t.cellType === a(r).TradeSymbol ? (n(), c(a(Le), {
|
|
195
|
+
key: 7,
|
|
196
|
+
"symbol-in-trade": o[t.path]
|
|
197
|
+
}, null, 8, ["symbol-in-trade"])) : t.cellType === a(r).TradeDate ? (n(), c(a(Me), {
|
|
198
|
+
key: 8,
|
|
199
|
+
"trade-date": o[t.path]
|
|
200
|
+
}, null, 8, ["trade-date"])) : t.cellType === a(r).Price ? (n(), c(a(Ue), {
|
|
201
|
+
key: 9,
|
|
202
|
+
price: o[t.path]
|
|
203
|
+
}, null, 8, ["price"])) : t.cellType === a(r).DynamicCurrencyPrice ? (n(), c(a(He), {
|
|
204
|
+
key: 10,
|
|
205
|
+
amount: o[t.path]
|
|
206
|
+
}, null, 8, ["amount"])) : t.cellType === a(r).Image ? (n(), u("div", ze, [
|
|
207
|
+
o[t.path] ? (n(), u("img", {
|
|
208
|
+
key: 0,
|
|
209
|
+
class: "saraf-image-cell",
|
|
210
|
+
src: o[t.path],
|
|
211
|
+
alt: o[t.path]
|
|
212
|
+
}, null, 8, $e)) : (n(), u("div", Fe, "--"))
|
|
213
|
+
])) : C("", !0)
|
|
214
|
+
], 10, Ve)) : t.cellType === a(r).ACTION ? (n(), u("span", Ge, [
|
|
215
|
+
(n(!0), u(g, null, M(l.dataSource.getAccessedActions(o), (f, de) => (n(), u(g, {
|
|
216
|
+
key: f.actionName
|
|
202
217
|
}, [
|
|
203
|
-
|
|
218
|
+
T(d, {
|
|
204
219
|
type: "link",
|
|
205
|
-
onClick:
|
|
220
|
+
onClick: Ce((We) => f.handler(o), ["stop"])
|
|
206
221
|
}, {
|
|
207
222
|
default: s(() => [
|
|
208
|
-
A(f
|
|
223
|
+
A(S(f.actionName), 1)
|
|
209
224
|
]),
|
|
210
225
|
_: 2
|
|
211
226
|
}, 1032, ["onClick"]),
|
|
212
|
-
|
|
227
|
+
le(
|
|
213
228
|
l.dataSource.getAccessedActions(o).length,
|
|
214
|
-
|
|
215
|
-
) ? (n(),
|
|
229
|
+
de
|
|
230
|
+
) ? (n(), c(v, {
|
|
216
231
|
key: 0,
|
|
217
232
|
type: "vertical"
|
|
218
|
-
})) :
|
|
233
|
+
})) : C("", !0)
|
|
219
234
|
], 64))), 128))
|
|
220
|
-
])) :
|
|
235
|
+
])) : C("", !0)
|
|
221
236
|
]),
|
|
222
237
|
key: "1"
|
|
223
238
|
} : void 0,
|
|
224
239
|
l.dataSource.isExpandable() ? {
|
|
225
240
|
name: "expandedRowRender",
|
|
226
241
|
fn: s(({ record: t }) => [
|
|
227
|
-
|
|
242
|
+
be(e.$slots, "expandedRowRender", {
|
|
228
243
|
row: t
|
|
229
244
|
}, void 0, !0)
|
|
230
245
|
]),
|
|
231
246
|
key: "2"
|
|
232
247
|
} : void 0,
|
|
233
|
-
|
|
248
|
+
$.value ? {
|
|
234
249
|
name: "summary",
|
|
235
250
|
fn: s(() => [
|
|
236
|
-
|
|
251
|
+
T(se, null, {
|
|
237
252
|
default: s(() => [
|
|
238
|
-
|
|
253
|
+
T(L, null, {
|
|
239
254
|
default: s(() => [
|
|
240
|
-
A(
|
|
255
|
+
A(S(h.value.summaryTitle), 1)
|
|
241
256
|
]),
|
|
242
257
|
_: 1
|
|
243
258
|
}),
|
|
244
|
-
(n(!0), u(
|
|
259
|
+
(n(!0), u(g, null, M(h.value.summaryItems, (t, o) => (n(), c(L, {
|
|
245
260
|
key: o,
|
|
246
261
|
align: t.align
|
|
247
262
|
}, {
|
|
248
263
|
default: s(() => [
|
|
249
|
-
|
|
264
|
+
T(ce, null, {
|
|
250
265
|
default: s(() => [
|
|
251
|
-
A(
|
|
266
|
+
A(S(t.data), 1)
|
|
252
267
|
]),
|
|
253
268
|
_: 2
|
|
254
269
|
}, 1024)
|
|
@@ -266,5 +281,5 @@ const Le = { key: 0 }, Me = {
|
|
|
266
281
|
}
|
|
267
282
|
});
|
|
268
283
|
export {
|
|
269
|
-
|
|
284
|
+
rt as default
|
|
270
285
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { SelectableTableGenerator, TableConfig, TableGenerator } from '@sarafapp/iron_core';
|
|
2
2
|
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
-
readonly onCopy?: ((value: string) => any) | undefined;
|
|
5
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onCopy"> & {
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
|
|
6
4
|
dataSource: TableGenerator<T> | SelectableTableGenerator<T>;
|
|
7
5
|
isLoading: boolean;
|
|
8
6
|
tableConfig: TableConfig;
|
|
@@ -15,7 +13,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
15
13
|
row: T;
|
|
16
14
|
}): any;
|
|
17
15
|
};
|
|
18
|
-
emit:
|
|
16
|
+
emit: {};
|
|
19
17
|
}>) => import('vue').VNode & {
|
|
20
18
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
19
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import a from "./SarafTableGenerator.vue.es2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const f = /* @__PURE__ */
|
|
3
|
+
import o from "../_virtual/_plugin-vue_export-helper.es.js";
|
|
4
|
+
const f = /* @__PURE__ */ o(a, [["__scopeId", "data-v-47650ada"]]);
|
|
5
5
|
export {
|
|
6
6
|
f as default
|
|
7
7
|
};
|