@fewangsit/wangsvue-fats 1.0.1-alpha.22 → 1.0.1-alpha.23
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/backgroundimagecropper/index.es.js +2 -2
- package/datatable/index.d.ts +8 -1
- package/datatable/index.es.js +367 -363
- package/dialogprintqr/index.es.js +2 -2
- package/package.json +1 -1
- package/stats.html +1 -1
- package/style.css +1 -1
- package/wangsvue-fats.esm.browser.js +318 -314
- package/wangsvue-fats.system.js +29 -29
|
@@ -23052,342 +23052,346 @@ const KD = (t, e, n) => {
|
|
|
23052
23052
|
], 16, uR)
|
|
23053
23053
|
])) : (g(!0), T(le, { key: 1 }, Ze(me.value, (ve, an) => {
|
|
23054
23054
|
var Go, Be, at, Mt, Qt, En, yi, Ji, Zo, ni, Mi;
|
|
23055
|
-
return g(), T(
|
|
23056
|
-
{
|
|
23057
|
-
|
|
23058
|
-
|
|
23059
|
-
|
|
23060
|
-
|
|
23061
|
-
},
|
|
23062
|
-
(Go = x(l)) == null ? void 0 : Go.bodyrow({
|
|
23063
|
-
context: {
|
|
23064
|
-
highlighted: ve[H.highlightKey ?? ""],
|
|
23065
|
-
selected: yt(ve[H.dataKey]),
|
|
23066
|
-
disabled: _e(ve[H.dataKey]),
|
|
23055
|
+
return g(), T(le, {
|
|
23056
|
+
key: `${an}-${ve[H.dataKey]}`
|
|
23057
|
+
}, [
|
|
23058
|
+
M("tr", O(
|
|
23059
|
+
{
|
|
23060
|
+
id: ve._id,
|
|
23067
23061
|
draggable: cn(ve),
|
|
23068
|
-
|
|
23069
|
-
},
|
|
23070
|
-
props: n
|
|
23071
|
-
}),
|
|
23072
|
-
{
|
|
23073
|
-
onClick: (xe) => sn(xe, ve, an),
|
|
23074
|
-
onDblclick: (xe) => {
|
|
23075
|
-
var Yi;
|
|
23076
|
-
return H.treeTable && ((Yi = ve.children) != null && Yi.length || ve.hasChildren) ? Bt(ve, an) : null;
|
|
23062
|
+
ref_for: !0
|
|
23077
23063
|
},
|
|
23078
|
-
|
|
23079
|
-
|
|
23080
|
-
|
|
23081
|
-
|
|
23082
|
-
|
|
23083
|
-
|
|
23084
|
-
|
|
23085
|
-
|
|
23086
|
-
|
|
23087
|
-
|
|
23088
|
-
|
|
23089
|
-
|
|
23090
|
-
|
|
23091
|
-
|
|
23092
|
-
|
|
23093
|
-
|
|
23094
|
-
|
|
23095
|
-
|
|
23096
|
-
|
|
23097
|
-
|
|
23098
|
-
|
|
23099
|
-
|
|
23100
|
-
|
|
23101
|
-
|
|
23102
|
-
|
|
23103
|
-
|
|
23104
|
-
|
|
23105
|
-
!ve.childRow && !ve.childRowHeader ? (g(), L(ps, O({
|
|
23064
|
+
(Go = x(l)) == null ? void 0 : Go.bodyrow({
|
|
23065
|
+
context: {
|
|
23066
|
+
highlighted: ve[H.highlightKey ?? ""],
|
|
23067
|
+
selected: yt(ve[H.dataKey]),
|
|
23068
|
+
disabled: _e(ve[H.dataKey]),
|
|
23069
|
+
draggable: cn(ve),
|
|
23070
|
+
dragging: $.value
|
|
23071
|
+
},
|
|
23072
|
+
props: n
|
|
23073
|
+
}),
|
|
23074
|
+
{
|
|
23075
|
+
onClick: (xe) => sn(xe, ve, an),
|
|
23076
|
+
onDblclick: (xe) => {
|
|
23077
|
+
var Yi;
|
|
23078
|
+
return H.treeTable && ((Yi = ve.children) != null && Yi.length || ve.hasChildren) ? Bt(ve, an) : null;
|
|
23079
|
+
},
|
|
23080
|
+
onDrag: ie[11] || (ie[11] = (xe) => $.value = !0),
|
|
23081
|
+
onDragenter: Tt((xe) => ee(xe, ve), ["prevent"]),
|
|
23082
|
+
onDragleave: ie[12] || (ie[12] = Tt(() => {
|
|
23083
|
+
}, ["prevent"])),
|
|
23084
|
+
onDragover: ie[13] || (ie[13] = Tt(() => {
|
|
23085
|
+
}, ["prevent"])),
|
|
23086
|
+
onDragstart: (xe) => _t(xe, ve, an),
|
|
23087
|
+
onDrop: Q
|
|
23088
|
+
}
|
|
23089
|
+
), [
|
|
23090
|
+
H.reorderable && !Oe.value ? (g(), T("td", O({
|
|
23106
23091
|
key: 0,
|
|
23107
23092
|
ref_for: !0
|
|
23108
|
-
}, (
|
|
23109
|
-
|
|
23110
|
-
|
|
23111
|
-
|
|
23112
|
-
|
|
23113
|
-
|
|
23114
|
-
|
|
23115
|
-
|
|
23116
|
-
|
|
23117
|
-
|
|
23118
|
-
|
|
23119
|
-
|
|
23120
|
-
|
|
23121
|
-
|
|
23122
|
-
|
|
23123
|
-
}), [
|
|
23124
|
-
(En = ve.children) != null && En.length || ve.hasChildren ? (g(), L(Ue, O(
|
|
23125
|
-
{
|
|
23093
|
+
}, (Be = x(l)) == null ? void 0 : Be.bodycell), [
|
|
23094
|
+
!ve.childRow && !ve.childRowHeader ? (g(), L(Te, {
|
|
23095
|
+
key: 0,
|
|
23096
|
+
class: "draggableicon",
|
|
23097
|
+
icon: "dragable-menu"
|
|
23098
|
+
})) : N("", !0)
|
|
23099
|
+
], 16)) : N("", !0),
|
|
23100
|
+
H.selectionType === "checkbox" ? (g(), T("td", O({
|
|
23101
|
+
key: 1,
|
|
23102
|
+
ref_for: !0
|
|
23103
|
+
}, (at = x(l)) == null ? void 0 : at.bodycell, {
|
|
23104
|
+
onClick: ie[3] || (ie[3] = Tt(() => {
|
|
23105
|
+
}, ["stop"]))
|
|
23106
|
+
}), [
|
|
23107
|
+
!ve.childRow && !ve.childRowHeader ? (g(), L(ps, O({
|
|
23126
23108
|
key: 0,
|
|
23127
|
-
onClick: Tt((xe) => Bt(ve, an), ["stop"]),
|
|
23128
23109
|
ref_for: !0
|
|
23129
|
-
},
|
|
23130
|
-
|
|
23131
|
-
|
|
23132
|
-
|
|
23133
|
-
|
|
23134
|
-
|
|
23135
|
-
|
|
23136
|
-
|
|
23137
|
-
|
|
23110
|
+
}, (Mt = x(l)) == null ? void 0 : Mt.rowcheckbox, {
|
|
23111
|
+
modelValue: A.value,
|
|
23112
|
+
"onUpdate:modelValue": ie[2] || (ie[2] = (xe) => A.value = xe),
|
|
23113
|
+
binary: !1,
|
|
23114
|
+
disabled: _e(ve[H.dataKey]),
|
|
23115
|
+
value: ve
|
|
23116
|
+
}), null, 16, ["modelValue", "disabled", "value"])) : N("", !0)
|
|
23117
|
+
], 16)) : N("", !0),
|
|
23118
|
+
H.treeTable ? (g(), T("td", O({
|
|
23119
|
+
key: 2,
|
|
23120
|
+
ref_for: !0
|
|
23121
|
+
}, (Qt = x(l)) == null ? void 0 : Qt.bodycell, {
|
|
23122
|
+
onClick: (xe) => {
|
|
23123
|
+
(ve.childRow || ve.childRowHeader) && xe.stopPropagation();
|
|
23138
23124
|
}
|
|
23139
|
-
),
|
|
23140
|
-
|
|
23141
|
-
|
|
23142
|
-
|
|
23143
|
-
|
|
23144
|
-
|
|
23145
|
-
|
|
23146
|
-
|
|
23147
|
-
|
|
23148
|
-
|
|
23149
|
-
|
|
23150
|
-
|
|
23151
|
-
|
|
23125
|
+
}), [
|
|
23126
|
+
(En = ve.children) != null && En.length || ve.hasChildren ? (g(), L(Ue, O(
|
|
23127
|
+
{
|
|
23128
|
+
key: 0,
|
|
23129
|
+
onClick: Tt((xe) => Bt(ve, an), ["stop"]),
|
|
23130
|
+
ref_for: !0
|
|
23131
|
+
},
|
|
23132
|
+
x(l).rowtogglerbutton({
|
|
23133
|
+
context: {
|
|
23134
|
+
isRowExpanded: Ne(ve[H.dataKey])
|
|
23135
|
+
}
|
|
23136
|
+
}),
|
|
23137
|
+
{
|
|
23138
|
+
icon: "arrow-down",
|
|
23139
|
+
text: ""
|
|
23140
|
+
}
|
|
23141
|
+
), null, 16, ["onClick"])) : N("", !0)
|
|
23142
|
+
], 16, eR)) : N("", !0),
|
|
23143
|
+
(() => {
|
|
23144
|
+
var xe;
|
|
23145
|
+
return ve.childRowHeader && ((xe = n.childTableProps) == null ? void 0 : xe.useColumnsHeader);
|
|
23146
|
+
})() ? (g(), T(le, { key: 3 }, [
|
|
23147
|
+
(g(!0), T(le, null, Ze(ue.value, (xe) => {
|
|
23148
|
+
var Yi, oo;
|
|
23149
|
+
return g(), T("td", {
|
|
23150
|
+
key: xe.header,
|
|
23151
|
+
class: fe([(Yi = x(l)) == null ? void 0 : Yi.bodycell.class, "font-semibold text-xs"]),
|
|
23152
|
+
colspan: xe.colspan ?? ((oo = xe.parentColumnsFields) == null ? void 0 : oo.length),
|
|
23153
|
+
onClick: ie[4] || (ie[4] = Tt(() => {
|
|
23154
|
+
}, ["stop"]))
|
|
23155
|
+
}, _(xe.header), 11, tR);
|
|
23156
|
+
}), 128)),
|
|
23157
|
+
ze.value ? (g(), T("td", {
|
|
23158
|
+
key: 0,
|
|
23159
|
+
class: fe(x(l).bodycell.class),
|
|
23160
|
+
onClick: ie[5] || (ie[5] = Tt(() => {
|
|
23152
23161
|
}, ["stop"]))
|
|
23153
|
-
},
|
|
23154
|
-
|
|
23155
|
-
|
|
23156
|
-
|
|
23157
|
-
|
|
23158
|
-
|
|
23162
|
+
}, null, 2)) : N("", !0)
|
|
23163
|
+
], 64)) : ve.childRowHeader ? (g(), T("td", O({
|
|
23164
|
+
key: 4,
|
|
23165
|
+
ref_for: !0
|
|
23166
|
+
}, x(l).childrowheader, {
|
|
23167
|
+
class: (yi = x(l)) == null ? void 0 : yi.bodycell.class,
|
|
23168
|
+
colspan: n.columns.length + 1,
|
|
23169
|
+
onClick: ie[6] || (ie[6] = Tt(() => {
|
|
23159
23170
|
}, ["stop"]))
|
|
23160
|
-
},
|
|
23161
|
-
|
|
23162
|
-
|
|
23163
|
-
|
|
23164
|
-
|
|
23165
|
-
|
|
23166
|
-
|
|
23167
|
-
|
|
23168
|
-
|
|
23169
|
-
|
|
23170
|
-
|
|
23171
|
-
|
|
23172
|
-
|
|
23173
|
-
|
|
23174
|
-
|
|
23175
|
-
|
|
23176
|
-
|
|
23177
|
-
|
|
23178
|
-
|
|
23179
|
-
|
|
23180
|
-
}, x(l).
|
|
23181
|
-
|
|
23182
|
-
|
|
23183
|
-
|
|
23184
|
-
|
|
23185
|
-
|
|
23186
|
-
|
|
23187
|
-
|
|
23188
|
-
|
|
23189
|
-
|
|
23190
|
-
|
|
23191
|
-
|
|
23192
|
-
|
|
23193
|
-
|
|
23194
|
-
|
|
23195
|
-
|
|
23196
|
-
ref_for: !0
|
|
23197
|
-
}, x(l).nodatamessage), _(a.value.emptyTableMessage), 17)) : N("", !0)
|
|
23198
|
-
], 16)
|
|
23199
|
-
], 10, rR)) : (g(), T(le, { key: 7 }, [
|
|
23200
|
-
(g(!0), T(le, null, Ze(ve.childRow ? ue.value : S.value, (xe) => {
|
|
23201
|
-
var Yi, oo, $u, Vu, zu, Fu, _o, Ba, Ii, Hu, Fs, bt, $a, Pn, rn, Rr, hr, Hs;
|
|
23202
|
-
return g(), T("td", O({
|
|
23203
|
-
key: xe.field,
|
|
23204
|
-
class: [
|
|
23205
|
-
{
|
|
23206
|
-
"!py-0": xe.editable,
|
|
23207
|
-
"!px-0": ((Yi = xe.preset) == null ? void 0 : Yi.type) === "multirow"
|
|
23208
|
-
},
|
|
23209
|
-
typeof xe.bodyClass == "function" ? xe.bodyClass(ve) : xe.bodyClass,
|
|
23210
|
-
xe.class
|
|
23211
|
-
],
|
|
23212
|
-
colspan: xe.colspan ?? ((oo = xe.parentColumnsFields) == null ? void 0 : oo.length),
|
|
23213
|
-
ref_for: !0
|
|
23214
|
-
}, ($u = x(l)) == null ? void 0 : $u.bodycell), [
|
|
23215
|
-
((Vu = xe.preset) == null ? void 0 : Vu.type) === "toggle" || ((zu = xe.preset) == null ? void 0 : zu.type) === "checkbox" ? (g(), T(le, { key: 0 }, [
|
|
23216
|
-
((Fu = xe.preset) == null ? void 0 : Fu.type) === "toggle" ? (g(), L(Mw, {
|
|
23217
|
-
key: 0,
|
|
23218
|
-
disabled: _e(ve[H.dataKey]) || (typeof ((_o = xe.preset) == null ? void 0 : _o.disabled) == "function" ? (Ba = xe.preset) == null ? void 0 : Ba.disabled(ve) : (Ii = xe.preset) == null ? void 0 : Ii.disabled),
|
|
23219
|
-
"input-id": ve[H.dataKey],
|
|
23220
|
-
"model-value": x(Fn)(ve, xe.field),
|
|
23221
|
-
onClick: ie[9] || (ie[9] = Tt(() => {
|
|
23222
|
-
}, ["stop"])),
|
|
23223
|
-
"onUpdate:modelValue": (vn) => {
|
|
23224
|
-
x(qs)(ve, xe.field, vn), Dt(vn, ve, xe);
|
|
23225
|
-
}
|
|
23226
|
-
}, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : N("", !0),
|
|
23227
|
-
((Hu = xe.preset) == null ? void 0 : Hu.type) === "checkbox" ? (g(), L(ps, {
|
|
23228
|
-
key: 1,
|
|
23229
|
-
disabled: _e(ve[H.dataKey]) || (typeof ((Fs = xe.preset) == null ? void 0 : Fs.disabled) == "function" ? (bt = xe.preset) == null ? void 0 : bt.disabled(ve) : ($a = xe.preset) == null ? void 0 : $a.disabled),
|
|
23230
|
-
"input-id": ve[H.dataKey],
|
|
23231
|
-
"model-value": x(Fn)(ve, xe.field),
|
|
23232
|
-
onClick: ie[10] || (ie[10] = Tt(() => {
|
|
23233
|
-
}, ["stop"])),
|
|
23234
|
-
"onUpdate:modelValue": (vn) => {
|
|
23235
|
-
x(qs)(ve, xe.field, !!vn), Dt(!!vn, ve, xe);
|
|
23236
|
-
},
|
|
23237
|
-
binary: ""
|
|
23238
|
-
}, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : N("", !0),
|
|
23239
|
-
(Pn = xe.preset) != null && Pn.confirmDialogProps ? (g(), L(sr, O(
|
|
23171
|
+
}), _(ve.header), 17, nR)) : ve.loadingRow ? (g(), T("td", {
|
|
23172
|
+
key: 5,
|
|
23173
|
+
class: fe((Ji = x(l)) == null ? void 0 : Ji.bodycell.class),
|
|
23174
|
+
colspan: n.columns.length + 1,
|
|
23175
|
+
onClick: ie[7] || (ie[7] = Tt(() => {
|
|
23176
|
+
}, ["stop"]))
|
|
23177
|
+
}, [
|
|
23178
|
+
M("div", O({ ref_for: !0 }, x(l).loadingtablewrapper), [
|
|
23179
|
+
P(Ja, O({
|
|
23180
|
+
animation: "loading-table",
|
|
23181
|
+
ref_for: !0
|
|
23182
|
+
}, x(l).loadingtablelottie), null, 16)
|
|
23183
|
+
], 16)
|
|
23184
|
+
], 10, iR)) : ve.noDataRow ? (g(), T("td", {
|
|
23185
|
+
key: 6,
|
|
23186
|
+
class: fe((Zo = x(l)) == null ? void 0 : Zo.bodycell.class),
|
|
23187
|
+
colspan: n.columns.length + 1,
|
|
23188
|
+
onClick: ie[8] || (ie[8] = Tt(() => {
|
|
23189
|
+
}, ["stop"]))
|
|
23190
|
+
}, [
|
|
23191
|
+
M("div", O({ ref_for: !0 }, x(l).nodatalottiewrapper), [
|
|
23192
|
+
P(Ja, O({
|
|
23193
|
+
animation: "no-data",
|
|
23194
|
+
ref_for: !0
|
|
23195
|
+
}, x(l).nodatalottie), null, 16),
|
|
23196
|
+
a.value.emptyTableMessage ? (g(), T("span", O({
|
|
23197
|
+
key: 0,
|
|
23198
|
+
ref_for: !0
|
|
23199
|
+
}, x(l).nodatamessage), _(a.value.emptyTableMessage), 17)) : N("", !0)
|
|
23200
|
+
], 16)
|
|
23201
|
+
], 10, rR)) : (g(), T(le, { key: 7 }, [
|
|
23202
|
+
(g(!0), T(le, null, Ze(ve.childRow ? ue.value : S.value, (xe) => {
|
|
23203
|
+
var Yi, oo, $u, Vu, zu, Fu, _o, Ba, Ii, Hu, Fs, bt, $a, Pn, rn, Rr, hr, Hs;
|
|
23204
|
+
return g(), T("td", O({
|
|
23205
|
+
key: xe.field,
|
|
23206
|
+
class: [
|
|
23240
23207
|
{
|
|
23241
|
-
|
|
23242
|
-
|
|
23243
|
-
|
|
23244
|
-
|
|
23245
|
-
|
|
23246
|
-
|
|
23247
|
-
|
|
23248
|
-
|
|
23249
|
-
|
|
23250
|
-
|
|
23251
|
-
|
|
23252
|
-
|
|
23253
|
-
|
|
23254
|
-
|
|
23255
|
-
|
|
23256
|
-
|
|
23257
|
-
|
|
23258
|
-
|
|
23259
|
-
|
|
23260
|
-
|
|
23208
|
+
"!py-0": xe.editable,
|
|
23209
|
+
"!px-0": ((Yi = xe.preset) == null ? void 0 : Yi.type) === "multirow"
|
|
23210
|
+
},
|
|
23211
|
+
typeof xe.bodyClass == "function" ? xe.bodyClass(ve) : xe.bodyClass,
|
|
23212
|
+
xe.class
|
|
23213
|
+
],
|
|
23214
|
+
colspan: xe.colspan ?? ((oo = xe.parentColumnsFields) == null ? void 0 : oo.length),
|
|
23215
|
+
ref_for: !0
|
|
23216
|
+
}, ($u = x(l)) == null ? void 0 : $u.bodycell), [
|
|
23217
|
+
((Vu = xe.preset) == null ? void 0 : Vu.type) === "toggle" || ((zu = xe.preset) == null ? void 0 : zu.type) === "checkbox" ? (g(), T(le, { key: 0 }, [
|
|
23218
|
+
((Fu = xe.preset) == null ? void 0 : Fu.type) === "toggle" ? (g(), L(Mw, {
|
|
23219
|
+
key: 0,
|
|
23220
|
+
disabled: _e(ve[H.dataKey]) || (typeof ((_o = xe.preset) == null ? void 0 : _o.disabled) == "function" ? (Ba = xe.preset) == null ? void 0 : Ba.disabled(ve) : (Ii = xe.preset) == null ? void 0 : Ii.disabled),
|
|
23221
|
+
"input-id": ve[H.dataKey],
|
|
23222
|
+
"model-value": x(Fn)(ve, xe.field),
|
|
23223
|
+
onClick: ie[9] || (ie[9] = Tt(() => {
|
|
23224
|
+
}, ["stop"])),
|
|
23225
|
+
"onUpdate:modelValue": (vn) => {
|
|
23226
|
+
x(qs)(ve, xe.field, vn), Dt(vn, ve, xe);
|
|
23227
|
+
}
|
|
23228
|
+
}, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : N("", !0),
|
|
23229
|
+
((Hu = xe.preset) == null ? void 0 : Hu.type) === "checkbox" ? (g(), L(ps, {
|
|
23230
|
+
key: 1,
|
|
23231
|
+
disabled: _e(ve[H.dataKey]) || (typeof ((Fs = xe.preset) == null ? void 0 : Fs.disabled) == "function" ? (bt = xe.preset) == null ? void 0 : bt.disabled(ve) : ($a = xe.preset) == null ? void 0 : $a.disabled),
|
|
23232
|
+
"input-id": ve[H.dataKey],
|
|
23233
|
+
"model-value": x(Fn)(ve, xe.field),
|
|
23234
|
+
onClick: ie[10] || (ie[10] = Tt(() => {
|
|
23235
|
+
}, ["stop"])),
|
|
23236
|
+
"onUpdate:modelValue": (vn) => {
|
|
23237
|
+
x(qs)(ve, xe.field, !!vn), Dt(!!vn, ve, xe);
|
|
23261
23238
|
},
|
|
23262
|
-
|
|
23263
|
-
|
|
23264
|
-
|
|
23265
|
-
|
|
23266
|
-
|
|
23267
|
-
|
|
23268
|
-
|
|
23239
|
+
binary: ""
|
|
23240
|
+
}, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : N("", !0),
|
|
23241
|
+
(Pn = xe.preset) != null && Pn.confirmDialogProps ? (g(), L(sr, O(
|
|
23242
|
+
{
|
|
23243
|
+
key: 2,
|
|
23244
|
+
list: [ve],
|
|
23245
|
+
visible: !!ke.value[ve[H.dataKey] + xe.field],
|
|
23246
|
+
onClose: () => {
|
|
23247
|
+
var Ve, Ke, Ct;
|
|
23248
|
+
const vn = () => x(qs)(
|
|
23269
23249
|
ve,
|
|
23270
23250
|
xe.field,
|
|
23271
23251
|
!x(Fn)(ve, xe.field)
|
|
23272
|
-
)
|
|
23273
|
-
|
|
23252
|
+
);
|
|
23253
|
+
((Ve = Rt(
|
|
23254
|
+
xe.preset,
|
|
23255
|
+
ve[xe.field],
|
|
23256
|
+
ve
|
|
23257
|
+
)) == null ? void 0 : Ve.actionable) == !1 && "onConfirm" in xe.preset ? (Ct = (Ke = xe.preset).onConfirm) == null || Ct.call(
|
|
23258
|
+
Ke,
|
|
23259
|
+
ve[xe.field],
|
|
23260
|
+
ve,
|
|
23261
|
+
vn
|
|
23262
|
+
) : vn();
|
|
23263
|
+
},
|
|
23264
|
+
onConfirm: (vn) => {
|
|
23265
|
+
var Ve, Ke;
|
|
23266
|
+
return (Ke = (Ve = xe.preset) == null ? void 0 : Ve.onConfirm) == null ? void 0 : Ke.call(
|
|
23267
|
+
Ve,
|
|
23268
|
+
ve[xe.field],
|
|
23269
|
+
ve,
|
|
23270
|
+
() => x(qs)(
|
|
23271
|
+
ve,
|
|
23272
|
+
xe.field,
|
|
23273
|
+
!x(Fn)(ve, xe.field)
|
|
23274
|
+
)
|
|
23275
|
+
);
|
|
23276
|
+
},
|
|
23277
|
+
"onUpdate:visible": (vn) => ke.value[ve[H.dataKey] + xe.field] = vn,
|
|
23278
|
+
actionable: "",
|
|
23279
|
+
ref_for: !0
|
|
23274
23280
|
},
|
|
23275
|
-
|
|
23276
|
-
|
|
23277
|
-
|
|
23278
|
-
|
|
23279
|
-
|
|
23280
|
-
|
|
23281
|
-
|
|
23282
|
-
|
|
23283
|
-
)
|
|
23284
|
-
|
|
23285
|
-
|
|
23286
|
-
key: 1,
|
|
23287
|
-
attributes: ((hr = (Rr = xe.preset) == null ? void 0 : Rr.fieldAttributes) == null ? void 0 : hr.call(Rr, ve)) ?? []
|
|
23288
|
-
}, null, 8, ["attributes"])) : xe.editable ? (g(), T("span", O({
|
|
23289
|
-
key: 2,
|
|
23290
|
-
ref_for: !0
|
|
23291
|
-
}, x(l).celleditableelement, {
|
|
23292
|
-
contenteditable: xe.editable,
|
|
23293
|
-
onBlur: (vn) => {
|
|
23294
|
-
H.$emit("cellEdited", {
|
|
23295
|
-
item: ve,
|
|
23296
|
-
field: xe.field,
|
|
23297
|
-
index: an,
|
|
23298
|
-
value: vn.target.innerText
|
|
23299
|
-
});
|
|
23300
|
-
},
|
|
23301
|
-
onKeypress: (vn) => {
|
|
23302
|
-
xe.numberInputOnly && W(vn);
|
|
23303
|
-
}
|
|
23304
|
-
}), _(x(Fn)(ve, xe.field) || "-"), 17, sR)) : xe.bodyComponent || xe.bodyClass || xe.bodyTemplate || xe.dateFormatOptions ? (g(), T(le, { key: 3 }, [
|
|
23305
|
-
xe.bodyComponent ? (g(), L(vt(xe.bodyComponent(ve, an).component), O({
|
|
23306
|
-
key: 0,
|
|
23307
|
-
modelValue: xe.bodyComponent(ve, an).model,
|
|
23308
|
-
"onUpdate:modelValue": (vn) => xe.bodyComponent(ve, an).model = vn,
|
|
23309
|
-
disabled: xe.bodyComponent(ve, an).disabled,
|
|
23281
|
+
Rt(
|
|
23282
|
+
xe.preset,
|
|
23283
|
+
ve[xe.field],
|
|
23284
|
+
ve
|
|
23285
|
+
)
|
|
23286
|
+
), null, 16, ["list", "visible", "onClose", "onConfirm", "onUpdate:visible"])) : N("", !0)
|
|
23287
|
+
], 64)) : ((rn = xe.preset) == null ? void 0 : rn.type) === "multirow" ? (g(), L(qD, {
|
|
23288
|
+
key: 1,
|
|
23289
|
+
attributes: ((hr = (Rr = xe.preset) == null ? void 0 : Rr.fieldAttributes) == null ? void 0 : hr.call(Rr, ve)) ?? []
|
|
23290
|
+
}, null, 8, ["attributes"])) : xe.editable ? (g(), T("span", O({
|
|
23291
|
+
key: 2,
|
|
23310
23292
|
ref_for: !0
|
|
23311
|
-
},
|
|
23312
|
-
|
|
23313
|
-
|
|
23314
|
-
|
|
23315
|
-
|
|
23316
|
-
|
|
23293
|
+
}, x(l).celleditableelement, {
|
|
23294
|
+
contenteditable: xe.editable,
|
|
23295
|
+
onBlur: (vn) => {
|
|
23296
|
+
H.$emit("cellEdited", {
|
|
23297
|
+
item: ve,
|
|
23298
|
+
field: xe.field,
|
|
23299
|
+
index: an,
|
|
23300
|
+
value: vn.target.innerText
|
|
23301
|
+
});
|
|
23317
23302
|
},
|
|
23318
|
-
|
|
23319
|
-
xe.
|
|
23320
|
-
},
|
|
23321
|
-
"onUpdate:modelValue": (vn) => {
|
|
23322
|
-
var Ve, Ke;
|
|
23323
|
-
return (Ke = (Ve = xe.bodyComponent(ve, an)).onChange) == null ? void 0 : Ke.call(Ve, ve);
|
|
23303
|
+
onKeypress: (vn) => {
|
|
23304
|
+
xe.numberInputOnly && W(vn);
|
|
23324
23305
|
}
|
|
23325
|
-
}),
|
|
23326
|
-
xe.
|
|
23327
|
-
|
|
23328
|
-
|
|
23329
|
-
|
|
23330
|
-
|
|
23331
|
-
|
|
23332
|
-
|
|
23333
|
-
|
|
23334
|
-
|
|
23335
|
-
|
|
23336
|
-
|
|
23337
|
-
|
|
23338
|
-
|
|
23339
|
-
|
|
23340
|
-
|
|
23341
|
-
|
|
23342
|
-
|
|
23343
|
-
|
|
23344
|
-
|
|
23345
|
-
|
|
23346
|
-
|
|
23347
|
-
|
|
23348
|
-
|
|
23349
|
-
|
|
23350
|
-
|
|
23351
|
-
|
|
23352
|
-
|
|
23353
|
-
|
|
23354
|
-
|
|
23355
|
-
|
|
23356
|
-
|
|
23357
|
-
|
|
23358
|
-
|
|
23306
|
+
}), _(x(Fn)(ve, xe.field) || "-"), 17, sR)) : xe.bodyComponent || xe.bodyClass || xe.bodyTemplate || xe.dateFormatOptions ? (g(), T(le, { key: 3 }, [
|
|
23307
|
+
xe.bodyComponent ? (g(), L(vt(xe.bodyComponent(ve, an).component), O({
|
|
23308
|
+
key: 0,
|
|
23309
|
+
modelValue: xe.bodyComponent(ve, an).model,
|
|
23310
|
+
"onUpdate:modelValue": (vn) => xe.bodyComponent(ve, an).model = vn,
|
|
23311
|
+
disabled: xe.bodyComponent(ve, an).disabled,
|
|
23312
|
+
ref_for: !0
|
|
23313
|
+
}, xe.bodyComponent(ve, an).props, Qs(
|
|
23314
|
+
xe.bodyComponent(ve, an).events ? xe.bodyComponent(ve, an).events : {}
|
|
23315
|
+
), {
|
|
23316
|
+
onChange: (vn) => {
|
|
23317
|
+
var Ve, Ke;
|
|
23318
|
+
return (Ke = (Ve = xe.bodyComponent(ve, an)).onChange) == null ? void 0 : Ke.call(Ve, ve);
|
|
23319
|
+
},
|
|
23320
|
+
onClick: (vn) => {
|
|
23321
|
+
xe.bodyComponent(ve, an).stop !== !1 && vn.stopPropagation();
|
|
23322
|
+
},
|
|
23323
|
+
"onUpdate:modelValue": (vn) => {
|
|
23324
|
+
var Ve, Ke;
|
|
23325
|
+
return (Ke = (Ve = xe.bodyComponent(ve, an)).onChange) == null ? void 0 : Ke.call(Ve, ve);
|
|
23326
|
+
}
|
|
23327
|
+
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "onClick"])) : (g(), T("span", aR, [
|
|
23328
|
+
xe.bodyTemplate ? (g(), T(le, { key: 0 }, [
|
|
23329
|
+
ft(_(((Hs = xe.bodyTemplate) == null ? void 0 : Hs.call(xe, ve, an)) || "-"), 1)
|
|
23330
|
+
], 64)) : xe.dateFormatOptions ? (g(), T(le, { key: 1 }, [
|
|
23331
|
+
ft(_(x(Nd)(
|
|
23332
|
+
new Date(
|
|
23333
|
+
x(Fn)(
|
|
23334
|
+
ve,
|
|
23335
|
+
xe.field
|
|
23336
|
+
)
|
|
23337
|
+
),
|
|
23338
|
+
xe.dateFormatOptions
|
|
23339
|
+
)), 1)
|
|
23340
|
+
], 64)) : (g(), T(le, { key: 2 }, [
|
|
23341
|
+
ft(_(x(Fn)(ve, xe.field) || "-"), 1)
|
|
23342
|
+
], 64))
|
|
23343
|
+
]))
|
|
23344
|
+
], 64)) : (g(), T(le, { key: 4 }, [
|
|
23345
|
+
ft(_(x(Fn)(ve, xe.field) ?? "-"), 1)
|
|
23346
|
+
], 64))
|
|
23347
|
+
], 16, oR);
|
|
23348
|
+
}), 128)),
|
|
23349
|
+
ze.value ? (g(), T("td", O(
|
|
23350
|
+
{
|
|
23351
|
+
key: 0,
|
|
23352
|
+
ref_for: !0,
|
|
23353
|
+
ref_key: "rowSingleActionCell",
|
|
23354
|
+
ref: k
|
|
23355
|
+
},
|
|
23356
|
+
(ni = x(l)) == null ? void 0 : ni.rowsingleactioncell({
|
|
23357
|
+
props: n,
|
|
23358
|
+
context: {
|
|
23359
|
+
selected: yt(ve[H.dataKey]),
|
|
23360
|
+
highlighted: ve[H.highlightKey ?? ""]
|
|
23361
|
+
}
|
|
23362
|
+
}),
|
|
23363
|
+
{
|
|
23364
|
+
class: x(l).bodycell.class
|
|
23359
23365
|
}
|
|
23360
|
-
|
|
23361
|
-
|
|
23362
|
-
|
|
23363
|
-
}
|
|
23364
|
-
), [
|
|
23365
|
-
!ve.childRow && H.useOption || ve.childRow && ((Mi = n.childTableProps) != null && Mi.useOption) ? (g(), T("div", O({
|
|
23366
|
-
key: 0,
|
|
23367
|
-
ref_for: !0
|
|
23368
|
-
}, x(l).singleactionwrapper), [
|
|
23369
|
-
P(Ue, O({
|
|
23370
|
-
id: "button-action-" + ve[n.dataKey],
|
|
23366
|
+
), [
|
|
23367
|
+
!ve.childRow && H.useOption || ve.childRow && ((Mi = n.childTableProps) != null && Mi.useOption) ? (g(), T("div", O({
|
|
23368
|
+
key: 0,
|
|
23371
23369
|
ref_for: !0
|
|
23372
|
-
}, x(l).
|
|
23373
|
-
|
|
23374
|
-
|
|
23375
|
-
|
|
23376
|
-
|
|
23377
|
-
|
|
23378
|
-
|
|
23379
|
-
|
|
23380
|
-
|
|
23370
|
+
}, x(l).singleactionwrapper), [
|
|
23371
|
+
P(Ue, O({
|
|
23372
|
+
id: "button-action-" + ve[n.dataKey],
|
|
23373
|
+
ref_for: !0
|
|
23374
|
+
}, x(l).singleactionbutton({ props: n }), {
|
|
23375
|
+
disabled: H.disableAllRows,
|
|
23376
|
+
onClick: Tt((xe) => Ft(xe, ve), ["stop"]),
|
|
23377
|
+
icon: "ellipsis-h",
|
|
23378
|
+
outlined: "",
|
|
23379
|
+
size: "small",
|
|
23380
|
+
"tooltip-pos": "left",
|
|
23381
|
+
type: "button"
|
|
23382
|
+
}), null, 16, ["id", "disabled", "onClick"])
|
|
23383
|
+
], 16)) : N("", !0)
|
|
23381
23384
|
], 16)) : N("", !0)
|
|
23382
|
-
],
|
|
23383
|
-
],
|
|
23384
|
-
|
|
23385
|
+
], 64))
|
|
23386
|
+
], 16, QD),
|
|
23387
|
+
te(H.$slots, "row-subcontent", { item: ve }, void 0, !0)
|
|
23388
|
+
], 64);
|
|
23385
23389
|
}), 128))
|
|
23386
23390
|
], 16)
|
|
23387
23391
|
], 16, XD))
|
|
23388
23392
|
];
|
|
23389
23393
|
}),
|
|
23390
|
-
_:
|
|
23394
|
+
_: 3
|
|
23391
23395
|
}, 16)
|
|
23392
23396
|
], 16),
|
|
23393
23397
|
H.usePaginator ? ut((g(), L(x(cg), O({
|
|
@@ -23443,7 +23447,7 @@ const KD = (t, e, n) => {
|
|
|
23443
23447
|
for (const [i, r] of e)
|
|
23444
23448
|
n[i] = r;
|
|
23445
23449
|
return n;
|
|
23446
|
-
}, dg = /* @__PURE__ */ fS(cR, [["__scopeId", "data-v-
|
|
23450
|
+
}, dg = /* @__PURE__ */ fS(cR, [["__scopeId", "data-v-015be0a0"]]), pS = /* @__PURE__ */ be({
|
|
23447
23451
|
__name: "Form",
|
|
23448
23452
|
props: {
|
|
23449
23453
|
buttonsTemplate: {},
|
|
@@ -47322,7 +47326,7 @@ const R0 = [
|
|
|
47322
47326
|
_: 3
|
|
47323
47327
|
}, 8, ["mouse-move", "touch-move", "touch-resize", "wheel-resize"]));
|
|
47324
47328
|
}
|
|
47325
|
-
}), yW = /* @__PURE__ */ fS(vW, [["__scopeId", "data-v-
|
|
47329
|
+
}), yW = /* @__PURE__ */ fS(vW, [["__scopeId", "data-v-9031c32d"]]), bW = { class: "flex flex-col gap-y-4" }, AW = {
|
|
47326
47330
|
key: 0,
|
|
47327
47331
|
class: /* @__PURE__ */ fe([
|
|
47328
47332
|
"text-xs font-normal text-grayscale-900",
|
|
@@ -55687,8 +55691,8 @@ const vA = /* @__PURE__ */ Iu(ete), yA = "data:image/png;base64,iVBORw0KGgoAAAAN
|
|
|
55687
55691
|
A[4] || (A[4] = M("span", null, "Preview", -1)),
|
|
55688
55692
|
P(Te, {
|
|
55689
55693
|
icon: "info",
|
|
55690
|
-
info: `This preview is only for showing the side of the
|
|
55691
|
-
label that printed or not. It does not show the
|
|
55694
|
+
info: `This preview is only for showing the side of the\r
|
|
55695
|
+
label that printed or not. It does not show the\r
|
|
55692
55696
|
exact amount you entered.`,
|
|
55693
55697
|
severity: "primary"
|
|
55694
55698
|
})
|