xyvcard-goods 0.0.11 → 0.0.13
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/{edit-Bk7YJzrm.mjs → edit-h0S6bHag.mjs} +3 -3
- package/dist/goodsList-BtEY_SNz.mjs +4 -0
- package/dist/goodsList.vue_vue_type_script_setup_true_lang-BGajxpZV.mjs +645 -0
- package/dist/index-BQz1LNIa.mjs +55 -0
- package/dist/index.mjs +139 -139
- package/dist/{info-lw-aEq4N.mjs → info-lDMLR1ZW.mjs} +1 -1
- package/dist/{skuForm-DuMlHj7f.mjs → skuForm-ChaaXJgn.mjs} +1 -1
- package/dist/{skuTable-BlK2s902.mjs → skuTable-BBiyXctZ.mjs} +61 -58
- package/dist/style.css +1 -1
- package/dts/components/EnumRadio/index.vue.d.ts +3 -4
- package/dts/components/GoodsUpload/ImageUpload.vue.d.ts +18 -10
- package/dts/views/goods/goods-spu/goodsList.vue.d.ts +23 -0
- package/package.json +14 -17
- package/dist/approveFailIndex-B-VGnf1U.mjs +0 -4
- package/dist/approveFailIndex.vue_vue_type_script_setup_true_lang-CiIyafoQ.mjs +0 -418
- package/dist/auditIndex-tEq8uYdA.mjs +0 -4
- package/dist/auditIndex.vue_vue_type_script_setup_true_lang-BW22LRCL.mjs +0 -492
- package/dist/index-C9LeLF51.mjs +0 -613
- package/dist/saleIndex-B7TBQOB6.mjs +0 -4
- package/dist/saleIndex.vue_vue_type_script_setup_true_lang-B6wKXUcV.mjs +0 -415
- package/dist/shelfIndex-BfsIMQfD.mjs +0 -4
- package/dist/shelfIndex.vue_vue_type_script_setup_true_lang-C6RfhqIl.mjs +0 -447
|
@@ -2,7 +2,7 @@ import { defineComponent as q, ref as k, computed as j, watch as F, resolveCompo
|
|
|
2
2
|
import { fileApi as B, routerUtil as H } from "jmash-core";
|
|
3
3
|
import { useRouter as O, useRoute as R } from "vue-router";
|
|
4
4
|
import { D as p, C as N, S as Y } from "./index-CKeHa-Cx.mjs";
|
|
5
|
-
import { s as z } from "./skuTable-
|
|
5
|
+
import { s as z } from "./skuTable-BBiyXctZ.mjs";
|
|
6
6
|
import { goodsSpuApi as G } from "./index.mjs";
|
|
7
7
|
import { g as J } from "./index-BHmGYIuc.mjs";
|
|
8
8
|
const K = { class: "app-container" }, Q = { class: "cell-item" }, W = { class: "cell-item" }, X = { class: "cell-item" }, Z = { class: "cell-item" }, x = { class: "cell-item" }, ee = { class: "cell-item" }, le = { class: "cell-item" }, se = { class: "cell-item" }, te = { class: "cell-item" }, oe = { class: "cell-item" }, ue = { class: "cell-item" }, ae = { class: "title-content" }, ie = { class: "cell-item" }, ne = { class: "cell-item" }, ce = { class: "cell-item" }, de = { class: "cell-item" }, re = { class: "cell-item" }, pe = { class: "cell-item" }, me = ["innerHTML"], ye = /* @__PURE__ */ q({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as te, ref as b, computed as se, watch as D, resolveComponent as i, openBlock as m, createElementBlock as _, Fragment as k, unref as O, createVNode as o, withCtx as a, createCommentVNode as I, renderList as y, createElementVNode as S, toDisplayString as Y, createTextVNode as w, createBlock as P } from "vue";
|
|
2
2
|
import { C as E, D as ue, S as H, a as ne } from "./index-CKeHa-Cx.mjs";
|
|
3
|
-
import { s as de, _ as re } from "./skuTable-
|
|
3
|
+
import { s as de, _ as re } from "./skuTable-BBiyXctZ.mjs";
|
|
4
4
|
const pe = { key: 0 }, ce = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "w-full"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as O, ref as C, computed as q, watch as $, resolveComponent as v, openBlock as w, createElementBlock as U, createElementVNode as
|
|
1
|
+
import { defineComponent as O, ref as C, computed as q, watch as $, resolveComponent as v, openBlock as w, createElementBlock as U, createElementVNode as g, createVNode as n, withCtx as d, createTextVNode as S, createCommentVNode as F, Fragment as M, renderList as G, createBlock as x, toDisplayString as D, unref as z } from "vue";
|
|
2
2
|
import { D as K } from "./index-CKeHa-Cx.mjs";
|
|
3
3
|
import { fileApi as E } from "jmash-core";
|
|
4
4
|
const H = (a, h) => {
|
|
@@ -24,18 +24,18 @@ function J(a, h = [], s) {
|
|
|
24
24
|
const o = [], t = [];
|
|
25
25
|
a.forEach((r, c) => {
|
|
26
26
|
const { specValueList: e } = r;
|
|
27
|
-
let
|
|
27
|
+
let m = {};
|
|
28
28
|
if (!e || e.length === 0) return !0;
|
|
29
29
|
if (e.length > 1) {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const f = Math.floor(V / y[c]) % e.length;
|
|
31
|
+
m = a[c].specValueList[f];
|
|
32
32
|
} else
|
|
33
|
-
|
|
34
|
-
!r[u] || !
|
|
33
|
+
m = a[c].specValueList[0];
|
|
34
|
+
!r[u] || !m[u] || (t.push(`${r[u]}_${m[u]}`), o.push({
|
|
35
35
|
specId: r[u],
|
|
36
36
|
specName: r[_],
|
|
37
|
-
specValueId:
|
|
38
|
-
specValueName:
|
|
37
|
+
specValueId: m[u],
|
|
38
|
+
specValueName: m[_]
|
|
39
39
|
}));
|
|
40
40
|
});
|
|
41
41
|
const { ...i } = I[t.join("|")] || {};
|
|
@@ -92,19 +92,22 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
92
92
|
(r, c, e) => `${r}${c.specId}-${c.specValueId}${e === i.specs.length - 1 ? "" : "_"}`,
|
|
93
93
|
""
|
|
94
94
|
)
|
|
95
|
-
})), t = k.goodsSku.map((i) =>
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
95
|
+
})), t = k.goodsSku.map((i) => {
|
|
96
|
+
var r;
|
|
97
|
+
return {
|
|
98
|
+
...i,
|
|
99
|
+
specIds: (r = i.specValues) == null ? void 0 : r.reduce(
|
|
100
|
+
(c, e, m) => `${c}${e.specId}-${e.specValueId}${m === i.specValues.length - 1 ? "" : "_"}`,
|
|
101
|
+
""
|
|
102
|
+
)
|
|
103
|
+
};
|
|
104
|
+
});
|
|
102
105
|
return o.forEach((i) => {
|
|
103
106
|
t.forEach((r) => {
|
|
104
|
-
let c = i.specIds.split("_"), e = r.specIds.split("_"),
|
|
105
|
-
c.forEach((
|
|
106
|
-
e.find((P) => P ==
|
|
107
|
-
}),
|
|
107
|
+
let c = i.specIds.split("_"), e = r.specIds.split("_"), m = !0;
|
|
108
|
+
c.forEach((f) => {
|
|
109
|
+
e.find((P) => P == f) || (m = !1);
|
|
110
|
+
}), m && (i.picUrl = r.picUrl ? r.picUrl : "", i.skuCode = r.skuCode ? r.skuCode : void 0, i.skuId = r.skuId ? r.skuId : void 0, i.salePrice = r.salePrice, i.marketPrice = r.marketPrice, i.costPrice = r.costPrice, i.stock = r.stock, i.weight = r.weight, i.volume = r.volume, i.status = r.status);
|
|
108
111
|
});
|
|
109
112
|
}), o;
|
|
110
113
|
});
|
|
@@ -129,19 +132,19 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
129
132
|
status: !0
|
|
130
133
|
}));
|
|
131
134
|
if (o.length === t.length)
|
|
132
|
-
return u.value = o.map((e,
|
|
133
|
-
...u.value[
|
|
135
|
+
return u.value = o.map((e, m) => ({
|
|
136
|
+
...u.value[m],
|
|
134
137
|
...e
|
|
135
138
|
}));
|
|
136
139
|
const i = I(o, t);
|
|
137
140
|
if (o.length > t.length) {
|
|
138
141
|
let e = [];
|
|
139
|
-
o.forEach((
|
|
140
|
-
const
|
|
141
|
-
(P) => P.specIds ===
|
|
142
|
+
o.forEach((m) => {
|
|
143
|
+
const f = u.value.find(
|
|
144
|
+
(P) => P.specIds === m.specIds
|
|
142
145
|
);
|
|
143
|
-
|
|
144
|
-
...
|
|
146
|
+
f ? e.push(f) : e.push({
|
|
147
|
+
...m,
|
|
145
148
|
picUrl: "",
|
|
146
149
|
skuCode: void 0,
|
|
147
150
|
salePrice: 0,
|
|
@@ -196,10 +199,10 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
196
199
|
t.picUrl = o;
|
|
197
200
|
}
|
|
198
201
|
return (o, t) => {
|
|
199
|
-
const i = v("Setting"), r = v("el-icon"), c = v("el-input-number"), e = v("el-tooltip"),
|
|
202
|
+
const i = v("Setting"), r = v("el-icon"), c = v("el-input-number"), e = v("el-tooltip"), m = v("el-button"), f = v("el-table-column"), P = v("jmash-single-image-upload"), j = v("el-image"), A = v("el-input"), N = v("el-switch"), T = v("el-table");
|
|
200
203
|
return w(), U("div", null, [
|
|
201
204
|
a.isSettingShow ? (w(), U("div", W, [
|
|
202
|
-
|
|
205
|
+
g("div", X, [
|
|
203
206
|
n(r, null, {
|
|
204
207
|
default: d(() => [
|
|
205
208
|
n(i)
|
|
@@ -208,7 +211,7 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
208
211
|
}),
|
|
209
212
|
t[6] || (t[6] = S(" 批量设置 "))
|
|
210
213
|
]),
|
|
211
|
-
|
|
214
|
+
g("span", Y, [
|
|
212
215
|
n(e, {
|
|
213
216
|
class: "box-item",
|
|
214
217
|
effect: "dark",
|
|
@@ -228,7 +231,7 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
228
231
|
_: 1
|
|
229
232
|
})
|
|
230
233
|
]),
|
|
231
|
-
|
|
234
|
+
g("span", Z, [
|
|
232
235
|
n(e, {
|
|
233
236
|
class: "box-item",
|
|
234
237
|
effect: "dark",
|
|
@@ -248,7 +251,7 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
248
251
|
_: 1
|
|
249
252
|
})
|
|
250
253
|
]),
|
|
251
|
-
|
|
254
|
+
g("span", ee, [
|
|
252
255
|
n(e, {
|
|
253
256
|
class: "box-item",
|
|
254
257
|
effect: "dark",
|
|
@@ -268,7 +271,7 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
268
271
|
_: 1
|
|
269
272
|
})
|
|
270
273
|
]),
|
|
271
|
-
|
|
274
|
+
g("span", le, [
|
|
272
275
|
n(e, {
|
|
273
276
|
class: "box-item",
|
|
274
277
|
effect: "dark",
|
|
@@ -288,7 +291,7 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
288
291
|
_: 1
|
|
289
292
|
})
|
|
290
293
|
]),
|
|
291
|
-
|
|
294
|
+
g("span", te, [
|
|
292
295
|
n(e, {
|
|
293
296
|
class: "box-item",
|
|
294
297
|
effect: "dark",
|
|
@@ -308,7 +311,7 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
308
311
|
_: 1
|
|
309
312
|
})
|
|
310
313
|
]),
|
|
311
|
-
|
|
314
|
+
g("span", oe, [
|
|
312
315
|
n(e, {
|
|
313
316
|
class: "box-item",
|
|
314
317
|
effect: "dark",
|
|
@@ -328,7 +331,7 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
328
331
|
_: 1
|
|
329
332
|
})
|
|
330
333
|
]),
|
|
331
|
-
n(
|
|
334
|
+
n(m, {
|
|
332
335
|
type: "primary",
|
|
333
336
|
size: "small",
|
|
334
337
|
onClick: y
|
|
@@ -344,8 +347,8 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
344
347
|
class: "w-full top-dis"
|
|
345
348
|
}, {
|
|
346
349
|
default: d(() => [
|
|
347
|
-
n(
|
|
348
|
-
(w(!0), U(M, null, G(a.specData, (l, p) => (w(), x(
|
|
350
|
+
n(f, { type: "index" }),
|
|
351
|
+
(w(!0), U(M, null, G(a.specData, (l, p) => (w(), x(f, {
|
|
349
352
|
key: l.id,
|
|
350
353
|
prop: l.id,
|
|
351
354
|
label: l.name
|
|
@@ -355,7 +358,7 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
355
358
|
]),
|
|
356
359
|
_: 2
|
|
357
360
|
}, 1032, ["prop", "label"]))), 128)),
|
|
358
|
-
n(
|
|
361
|
+
n(f, {
|
|
359
362
|
prop: "picUrl",
|
|
360
363
|
label: "图片"
|
|
361
364
|
}, {
|
|
@@ -378,17 +381,17 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
378
381
|
]),
|
|
379
382
|
_: 1
|
|
380
383
|
}),
|
|
381
|
-
n(
|
|
384
|
+
n(f, {
|
|
382
385
|
prop: "salePrice",
|
|
383
386
|
label: "销售价(元)",
|
|
384
387
|
width: "150"
|
|
385
388
|
}, {
|
|
386
389
|
header: d(() => t[8] || (t[8] = [
|
|
387
|
-
|
|
388
|
-
|
|
390
|
+
g("span", { class: "required_red" }, "*", -1),
|
|
391
|
+
g("span", null, "销售价(元)", -1)
|
|
389
392
|
])),
|
|
390
393
|
default: d((l) => [
|
|
391
|
-
|
|
394
|
+
g("span", null, [
|
|
392
395
|
n(c, {
|
|
393
396
|
modelValue: l.row.salePrice,
|
|
394
397
|
"onUpdate:modelValue": (p) => l.row.salePrice = p,
|
|
@@ -402,12 +405,12 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
402
405
|
]),
|
|
403
406
|
_: 1
|
|
404
407
|
}),
|
|
405
|
-
n(
|
|
408
|
+
n(f, {
|
|
406
409
|
prop: "marketPrice",
|
|
407
410
|
label: "市场价(元)"
|
|
408
411
|
}, {
|
|
409
412
|
default: d((l) => [
|
|
410
|
-
|
|
413
|
+
g("span", null, [
|
|
411
414
|
n(c, {
|
|
412
415
|
modelValue: l.row.marketPrice,
|
|
413
416
|
"onUpdate:modelValue": (p) => l.row.marketPrice = p,
|
|
@@ -421,12 +424,12 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
421
424
|
]),
|
|
422
425
|
_: 1
|
|
423
426
|
}),
|
|
424
|
-
n(
|
|
427
|
+
n(f, {
|
|
425
428
|
prop: "costPrice",
|
|
426
429
|
label: "成本价(元)"
|
|
427
430
|
}, {
|
|
428
431
|
default: d((l) => [
|
|
429
|
-
|
|
432
|
+
g("span", null, [
|
|
430
433
|
n(c, {
|
|
431
434
|
modelValue: l.row.costPrice,
|
|
432
435
|
"onUpdate:modelValue": (p) => l.row.costPrice = p,
|
|
@@ -440,12 +443,12 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
440
443
|
]),
|
|
441
444
|
_: 1
|
|
442
445
|
}),
|
|
443
|
-
n(
|
|
446
|
+
n(f, {
|
|
444
447
|
prop: "weight",
|
|
445
448
|
label: "重量(kg)"
|
|
446
449
|
}, {
|
|
447
450
|
default: d((l) => [
|
|
448
|
-
|
|
451
|
+
g("span", null, [
|
|
449
452
|
n(c, {
|
|
450
453
|
modelValue: l.row.weight,
|
|
451
454
|
"onUpdate:modelValue": (p) => l.row.weight = p,
|
|
@@ -459,12 +462,12 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
459
462
|
]),
|
|
460
463
|
_: 1
|
|
461
464
|
}),
|
|
462
|
-
n(
|
|
465
|
+
n(f, {
|
|
463
466
|
prop: "volume",
|
|
464
467
|
label: "体积(m³)"
|
|
465
468
|
}, {
|
|
466
469
|
default: d((l) => [
|
|
467
|
-
|
|
470
|
+
g("span", null, [
|
|
468
471
|
n(c, {
|
|
469
472
|
modelValue: l.row.volume,
|
|
470
473
|
"onUpdate:modelValue": (p) => l.row.volume = p,
|
|
@@ -478,16 +481,16 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
478
481
|
]),
|
|
479
482
|
_: 1
|
|
480
483
|
}),
|
|
481
|
-
n(
|
|
484
|
+
n(f, {
|
|
482
485
|
prop: "stock",
|
|
483
486
|
label: "库存"
|
|
484
487
|
}, {
|
|
485
488
|
header: d(() => t[9] || (t[9] = [
|
|
486
|
-
|
|
487
|
-
|
|
489
|
+
g("span", { class: "required_red" }, "*", -1),
|
|
490
|
+
g("span", null, "库存", -1)
|
|
488
491
|
])),
|
|
489
492
|
default: d((l) => [
|
|
490
|
-
|
|
493
|
+
g("span", null, [
|
|
491
494
|
n(c, {
|
|
492
495
|
modelValue: l.row.stock,
|
|
493
496
|
"onUpdate:modelValue": (p) => l.row.stock = p,
|
|
@@ -501,12 +504,12 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
501
504
|
]),
|
|
502
505
|
_: 1
|
|
503
506
|
}),
|
|
504
|
-
n(
|
|
507
|
+
n(f, {
|
|
505
508
|
prop: "skuCode",
|
|
506
509
|
label: "sku编码"
|
|
507
510
|
}, {
|
|
508
511
|
default: d((l) => [
|
|
509
|
-
|
|
512
|
+
g("span", null, [
|
|
510
513
|
n(A, {
|
|
511
514
|
modelValue: l.row.skuCode,
|
|
512
515
|
"onUpdate:modelValue": (p) => l.row.skuCode = p,
|
|
@@ -517,7 +520,7 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
517
520
|
]),
|
|
518
521
|
_: 1
|
|
519
522
|
}),
|
|
520
|
-
n(
|
|
523
|
+
n(f, {
|
|
521
524
|
prop: "status",
|
|
522
525
|
label: "是否上架",
|
|
523
526
|
width: "80"
|
|
@@ -538,7 +541,7 @@ const W = { key: 0 }, X = { class: "title-set" }, Y = { class: "right-dis" }, Z
|
|
|
538
541
|
]);
|
|
539
542
|
};
|
|
540
543
|
}
|
|
541
|
-
}), ie = /* @__PURE__ */ H(ne, [["__scopeId", "data-v-
|
|
544
|
+
}), ie = /* @__PURE__ */ H(ne, [["__scopeId", "data-v-84542ec3"]]), de = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
542
545
|
__proto__: null,
|
|
543
546
|
default: ie
|
|
544
547
|
}, Symbol.toStringTag, { value: "Module" }));
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.w-full{width:100%!important}.right-dis{margin-right:10px}.top-dis{margin-top:25px}.cell-item{display:flex;align-items:center;justify-content:flex-end}.el-descriptions__label{width:15%;text-align:right}.el-descriptions__content{width:35%}.title-set[data-v-
|
|
1
|
+
.w-full{width:100%!important}.right-dis{margin-right:10px}.top-dis{margin-top:25px}.cell-item{display:flex;align-items:center;justify-content:flex-end}.el-descriptions__label{width:15%;text-align:right}.el-descriptions__content{width:35%}.title-set[data-v-84542ec3]{display:flex;align-items:center;font-size:14px;padding:0 0 10px}.goods-spec[data-v-d3b23fe5]{border:1px solid #ccc;margin-bottom:5px}.goods-title[data-v-d3b23fe5]{display:flex;align-items:center;border-bottom:1px solid #ccc;padding:10px 20px}.goods-title .goods-delete[data-v-d3b23fe5]{display:flex;align-items:center;margin-left:auto;color:red;font-size:14px}.goods-content[data-v-d3b23fe5]{padding:10px 20px}.goods-tag[data-v-d3b23fe5]{margin-bottom:10px}[data-v-0d62e82a] .el-upload--picture-card{width:80px;height:80px;border-radius:0}[data-v-0d62e82a] .el-upload-list--picture-card .el-upload-list__item{width:80px;height:80px}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import type { PropType } from "vue";
|
|
2
2
|
import type { Entry } from "jmash-core";
|
|
3
|
-
import type { EntryBool } from "@/api/dict";
|
|
4
3
|
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
5
4
|
modelValue: PropType<string | boolean>;
|
|
6
5
|
data: {
|
|
7
|
-
type: PropType<
|
|
6
|
+
type: PropType<Entry[]>;
|
|
8
7
|
default: () => void;
|
|
9
8
|
};
|
|
10
9
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
11
10
|
modelValue: PropType<string | boolean>;
|
|
12
11
|
data: {
|
|
13
|
-
type: PropType<
|
|
12
|
+
type: PropType<Entry[]>;
|
|
14
13
|
default: () => void;
|
|
15
14
|
};
|
|
16
15
|
}>> & Readonly<{}>, {
|
|
17
|
-
data:
|
|
16
|
+
data: Entry[];
|
|
18
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
18
|
export default _default;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
-
modelValue: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: () => string;
|
|
5
|
-
};
|
|
6
2
|
listType: {
|
|
7
3
|
type: () => "text" | "picture" | "picture-card";
|
|
8
4
|
default: string;
|
|
@@ -11,11 +7,15 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
11
7
|
type: NumberConstructor;
|
|
12
8
|
default: number;
|
|
13
9
|
};
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
default: () => string;
|
|
10
|
+
pictureUrl: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => never[];
|
|
18
13
|
};
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
filesResponse: (...args: any[]) => void;
|
|
16
|
+
uploadFileList: (...args: any[]) => void;
|
|
17
|
+
removeFile: (...args: any[]) => void;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
19
19
|
listType: {
|
|
20
20
|
type: () => "text" | "picture" | "picture-card";
|
|
21
21
|
default: string;
|
|
@@ -24,9 +24,17 @@ declare const _default: import("vue").DefineComponent<globalThis.ExtractPropType
|
|
|
24
24
|
type: NumberConstructor;
|
|
25
25
|
default: number;
|
|
26
26
|
};
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
pictureUrl: {
|
|
28
|
+
type: ArrayConstructor;
|
|
29
|
+
default: () => never[];
|
|
30
|
+
};
|
|
31
|
+
}>> & Readonly<{
|
|
32
|
+
onFilesResponse?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
onUploadFileList?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
onRemoveFile?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}>, {
|
|
29
36
|
listType: "picture" | "text" | "picture-card";
|
|
30
37
|
limit: number;
|
|
38
|
+
pictureUrl: unknown[];
|
|
31
39
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
40
|
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
shelf: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: () => string;
|
|
5
|
+
};
|
|
6
|
+
approvalStatus: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: () => string;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
11
|
+
shelf: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: () => string;
|
|
14
|
+
};
|
|
15
|
+
approvalStatus: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: () => string;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
approvalStatus: string;
|
|
21
|
+
shelf: string;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyvcard-goods",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/index.d.ts",
|
|
@@ -8,16 +8,6 @@
|
|
|
8
8
|
"dist",
|
|
9
9
|
"dts"
|
|
10
10
|
],
|
|
11
|
-
"scripts": {
|
|
12
|
-
"dev": "vite",
|
|
13
|
-
"build": "vite build && pnpm build:dts",
|
|
14
|
-
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
15
|
-
"preview": "vite preview",
|
|
16
|
-
"build-only": "vite build",
|
|
17
|
-
"type-check": "vue-tsc --build --force",
|
|
18
|
-
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
19
|
-
"format": "prettier --write src/"
|
|
20
|
-
},
|
|
21
11
|
"peerDependencies": {
|
|
22
12
|
"axios": "^1.7.7",
|
|
23
13
|
"element-plus": "^2.8.7",
|
|
@@ -28,18 +18,15 @@
|
|
|
28
18
|
"vue": "^3.5.11",
|
|
29
19
|
"vue-i18n": "^9.14.1",
|
|
30
20
|
"vue-router": "^4.4.5",
|
|
31
|
-
"xyvcard-emall": "^0.0.
|
|
32
|
-
"xyvcard-shop": "^0.0.
|
|
21
|
+
"xyvcard-emall": "^0.0.16",
|
|
22
|
+
"xyvcard-shop": "^0.0.23",
|
|
33
23
|
"xyvcard-cms": "0.0.36"
|
|
34
24
|
},
|
|
35
25
|
"devDependencies": {
|
|
36
26
|
"@eslint/js": "^9.16.0",
|
|
37
|
-
"@rushstack/eslint-patch": "^1.3.3",
|
|
38
27
|
"@tsconfig/node20": "^20.1.2",
|
|
39
28
|
"@types/node": "^20.11.10",
|
|
40
29
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
41
|
-
"@vue/eslint-config-prettier": "^8.0.0",
|
|
42
|
-
"@vue/eslint-config-typescript": "^12.0.0",
|
|
43
30
|
"@vue/tsconfig": "^0.5.1",
|
|
44
31
|
"eslint": "^9.16.0",
|
|
45
32
|
"eslint-plugin-vue": "^9.32.0",
|
|
@@ -61,5 +48,15 @@
|
|
|
61
48
|
"file-saver": "^2.0.5",
|
|
62
49
|
"nprogress": "^0.2.0",
|
|
63
50
|
"qs": "^6.12.0"
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"dev": "vite",
|
|
54
|
+
"build": "vite build && pnpm build:dts",
|
|
55
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
56
|
+
"preview": "vite preview",
|
|
57
|
+
"build-only": "vite build",
|
|
58
|
+
"type-check": "vue-tsc --build --force",
|
|
59
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
60
|
+
"format": "prettier --write src/"
|
|
64
61
|
}
|
|
65
|
-
}
|
|
62
|
+
}
|