xyvcard-goods 0.0.21 → 0.0.22
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/ImageUpload-Dk6GY6PA.mjs +93 -0
- package/dist/{edit-CkR-I5aJ.mjs → edit-Byv9oYAC.mjs} +1 -1
- package/dist/{edit-tCGa_9Kt.mjs → edit-Nuaz9WSB.mjs} +170 -171
- package/dist/edit-exVf8d8b.mjs +367 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-DuSBj1Mm.mjs +24172 -0
- package/dist/{goodsList-HmPAwD_C.mjs → goodsList-CZUqc4nm.mjs} +1 -1
- package/dist/{goodsList-TX2ZnRR9.mjs → goodsList-IWDAvKOx.mjs} +1 -1
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-f1Fc6pbd.mjs → goodsList.vue_vue_type_script_setup_true_lang-BhJn02Ym.mjs} +1 -1
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-CGV1dm3W.mjs → goodsList.vue_vue_type_script_setup_true_lang-CuzIDtTN.mjs} +1 -1
- package/dist/{index-B0SXNsHW.mjs → index-4i7TnWvV.mjs} +2 -3
- package/dist/{index-Dt3PP8dN.mjs → index-BVGn6Q_T.mjs} +2 -2
- package/dist/{index-BZw9XfQo.mjs → index-B_U2s9fI.mjs} +2 -2
- package/dist/{index-Ctva-XF0.mjs → index-CQIttgns.mjs} +1 -1
- package/dist/{index-CqOoZ5xQ.mjs → index-Dvaotk7B.mjs} +88 -68
- package/dist/{index-VFsDup14.mjs → index-_xxSoBUe.mjs} +1 -1
- package/dist/index.mjs +192 -181
- package/dist/{info-CrghLmS4.mjs → info-BH4MW3Sw.mjs} +2 -2
- package/dist/{info-BTKv0IRt.mjs → info-BQaaTFry.mjs} +2 -2
- package/dist/skuForm-AMIoZkH-.mjs +287 -0
- package/dist/{skuForm-D2n8sQJo.mjs → skuForm-CgjMd46J.mjs} +5 -5
- package/dist/{skuTable-CEwT-I1Q.mjs → skuTable-CyGQuTvR.mjs} +1 -1
- package/dist/{skuTable-D-awlXgj.mjs → skuTable-DDWSmvoz.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dts/api/dict.d.ts +3 -0
- package/dts/api/goods-spu/index.d.ts +1 -0
- package/dts/api/goods-spu/types.d.ts +17 -0
- package/dts/api/index.d.ts +2 -1
- package/dts/lang/goods/zh-cn.d.ts +5 -1
- package/dts/views/goods/goods-combination/skuForm.vue.d.ts +0 -9
- package/package.json +3 -2
- package/dist/edit-DFc_TNP3.mjs +0 -590
- package/dist/edit.vue_vue_type_script_setup_true_lang-BlNwikUO.mjs +0 -234
- package/dist/skuForm-C7rF2noo.mjs +0 -475
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { deepMerge as bt, Layout as Ys, useUserStore as
|
|
1
|
+
import { deepMerge as bt, Layout as Ys, useUserStore as I, clearEmpty as C, request as U, addViteMenus as Os, addDynamicRoute as bs, i18n as Ts } from "jmash-core";
|
|
2
2
|
const xs = {}, Rs = {
|
|
3
3
|
// 商品SPU
|
|
4
4
|
goodsSpu: {
|
|
@@ -15,6 +15,7 @@ const xs = {}, Rs = {
|
|
|
15
15
|
shelf: "是否上架",
|
|
16
16
|
price: "价格(元)",
|
|
17
17
|
salePrice: "普通会员销售价",
|
|
18
|
+
salePriceV1: "单价",
|
|
18
19
|
salePriceV2: "v2会员销售价",
|
|
19
20
|
salePriceV3: "v3会员销售价",
|
|
20
21
|
marketPrice: "市场价",
|
|
@@ -23,6 +24,7 @@ const xs = {}, Rs = {
|
|
|
23
24
|
weight: "重量kg",
|
|
24
25
|
volume: "体积m³",
|
|
25
26
|
saleNum: "虚拟销量",
|
|
27
|
+
saleNums: "销售数量",
|
|
26
28
|
specType: "规格类型",
|
|
27
29
|
approvalStatus: "审核状态",
|
|
28
30
|
batchShelf: "批量上架",
|
|
@@ -33,8 +35,10 @@ const xs = {}, Rs = {
|
|
|
33
35
|
updateTime: "最后更新时间",
|
|
34
36
|
shopIdRequired: "请选择所属商家",
|
|
35
37
|
spuNameRequired: "请输入商品名称",
|
|
38
|
+
spuNameRequireds: "请选择商品名称",
|
|
36
39
|
freightAmountRequired: "请输入运费金额",
|
|
37
40
|
saleNumRequired: "请输入虚拟销量",
|
|
41
|
+
saleNumRequireds: "请输入销售数量",
|
|
38
42
|
sellPointRequired: "请输入商品卖点",
|
|
39
43
|
categoryIdRequired: "请选择商品分类",
|
|
40
44
|
spuCodeRequired: "请输入商品编码",
|
|
@@ -43,9 +47,9 @@ const xs = {}, Rs = {
|
|
|
43
47
|
shelfRequired: "请选择是否上架",
|
|
44
48
|
specTypeRequired: "请选择规格类型",
|
|
45
49
|
picUrlsRequired: "请上传商品图片",
|
|
46
|
-
imageListsError: "请上传最少3张商品图片",
|
|
47
50
|
imageListsErrors: "请上传最少1张商品图片",
|
|
48
51
|
salePriceRequired: "请输入销售价",
|
|
52
|
+
salePriceV1Required: "请输入单价",
|
|
49
53
|
marketPriceRequired: "请输入市场价",
|
|
50
54
|
costPriceRequired: "请输入成本价",
|
|
51
55
|
stockRequired: "请输入库存",
|
|
@@ -100,7 +104,7 @@ function Ns(e) {
|
|
|
100
104
|
let s = e.global.getLocaleMessage("en");
|
|
101
105
|
s = bt(s, xs), e.global.setLocaleMessage("zh-cn", t), e.global.setLocaleMessage("en", s);
|
|
102
106
|
}
|
|
103
|
-
const Ps = () => import("./edit-
|
|
107
|
+
const Ps = () => import("./edit-Nuaz9WSB.mjs"), Ws = () => import("./info-BH4MW3Sw.mjs"), Fs = () => import("./edit-exVf8d8b.mjs"), Ls = [
|
|
104
108
|
{
|
|
105
109
|
path: "/rawgoods",
|
|
106
110
|
component: Ys,
|
|
@@ -195,7 +199,7 @@ function ee(e, t) {
|
|
|
195
199
|
g(t, s) && (e[s] = t[s]);
|
|
196
200
|
return g(t, "toString") && (e.toString = t.toString), g(t, "valueOf") && (e.valueOf = t.valueOf), e;
|
|
197
201
|
}
|
|
198
|
-
function
|
|
202
|
+
function H(e, t, s, r) {
|
|
199
203
|
return as(e, t, s, r, !0).utc();
|
|
200
204
|
}
|
|
201
205
|
function Cs() {
|
|
@@ -240,7 +244,7 @@ function it(e) {
|
|
|
240
244
|
return e._isValid;
|
|
241
245
|
}
|
|
242
246
|
function Ce(e) {
|
|
243
|
-
var t =
|
|
247
|
+
var t = H(NaN);
|
|
244
248
|
return e != null ? ee(c(t), e) : c(t).userInvalidated = !0, t;
|
|
245
249
|
}
|
|
246
250
|
var Tt = l.momentProperties = [], $e = !1;
|
|
@@ -291,13 +295,13 @@ function Ct(e, t) {
|
|
|
291
295
|
}
|
|
292
296
|
l.suppressDeprecationWarnings = !1;
|
|
293
297
|
l.deprecationHandler = null;
|
|
294
|
-
function
|
|
298
|
+
function V(e) {
|
|
295
299
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
296
300
|
}
|
|
297
301
|
function Us(e) {
|
|
298
302
|
var t, s;
|
|
299
303
|
for (s in e)
|
|
300
|
-
g(e, s) && (t = e[s],
|
|
304
|
+
g(e, s) && (t = e[s], V(t) ? this[s] = t : this["_" + s] = t);
|
|
301
305
|
this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
|
|
302
306
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
303
307
|
);
|
|
@@ -320,7 +324,7 @@ Object.keys ? et = Object.keys : et = function(e) {
|
|
|
320
324
|
g(e, t) && s.push(t);
|
|
321
325
|
return s;
|
|
322
326
|
};
|
|
323
|
-
var
|
|
327
|
+
var As = {
|
|
324
328
|
sameDay: "[Today at] LT",
|
|
325
329
|
nextDay: "[Tomorrow at] LT",
|
|
326
330
|
nextWeek: "dddd [at] LT",
|
|
@@ -328,11 +332,11 @@ var Es = {
|
|
|
328
332
|
lastWeek: "[Last] dddd [at] LT",
|
|
329
333
|
sameElse: "L"
|
|
330
334
|
};
|
|
331
|
-
function
|
|
335
|
+
function Es(e, t, s) {
|
|
332
336
|
var r = this._calendar[e] || this._calendar.sameElse;
|
|
333
|
-
return
|
|
337
|
+
return V(r) ? r.call(t, s) : r;
|
|
334
338
|
}
|
|
335
|
-
function
|
|
339
|
+
function E(e, t, s) {
|
|
336
340
|
var r = "" + Math.abs(e), a = t - r.length, n = e >= 0;
|
|
337
341
|
return (n ? s ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + r;
|
|
338
342
|
}
|
|
@@ -342,7 +346,7 @@ function h(e, t, s, r) {
|
|
|
342
346
|
typeof r == "string" && (a = function() {
|
|
343
347
|
return this[r]();
|
|
344
348
|
}), e && (de[e] = a), t && (de[t[0]] = function() {
|
|
345
|
-
return
|
|
349
|
+
return E(a.apply(this, arguments), t[1], t[2]);
|
|
346
350
|
}), s && (de[s] = function() {
|
|
347
351
|
return this.localeData().ordinal(
|
|
348
352
|
a.apply(this, arguments),
|
|
@@ -360,7 +364,7 @@ function Vs(e) {
|
|
|
360
364
|
return function(a) {
|
|
361
365
|
var n = "", i;
|
|
362
366
|
for (i = 0; i < r; i++)
|
|
363
|
-
n +=
|
|
367
|
+
n += V(t[i]) ? t[i].call(a, e) : t[i];
|
|
364
368
|
return n;
|
|
365
369
|
};
|
|
366
370
|
}
|
|
@@ -421,11 +425,11 @@ var Js = {
|
|
|
421
425
|
};
|
|
422
426
|
function Qs(e, t, s, r) {
|
|
423
427
|
var a = this._relativeTime[s];
|
|
424
|
-
return
|
|
428
|
+
return V(a) ? a(e, t, s, r) : a.replace(/%d/i, e);
|
|
425
429
|
}
|
|
426
430
|
function Ks(e, t) {
|
|
427
431
|
var s = this._relativeTime[e > 0 ? "future" : "past"];
|
|
428
|
-
return
|
|
432
|
+
return V(s) ? s(t) : s.replace(/%s/i, t);
|
|
429
433
|
}
|
|
430
434
|
var Rt = {
|
|
431
435
|
D: "date",
|
|
@@ -512,10 +516,10 @@ function er(e) {
|
|
|
512
516
|
return r.priority - a.priority;
|
|
513
517
|
}), t;
|
|
514
518
|
}
|
|
515
|
-
var
|
|
519
|
+
var At = /\d/, T = /\d\d/, Et = /\d{3}/, ht = /\d{4}/, Ue = /[+-]?\d{6}/, v = /\d\d?/, Ht = /\d\d\d\d?/, Vt = /\d\d\d\d\d\d?/, Ae = /\d{1,3}/, ft = /\d{1,4}/, Ee = /[+-]?\d{1,6}/, ce = /\d+/, He = /[+-]?\d+/, tr = /Z|[+-]\d\d:?\d\d/gi, Ve = /Z|[+-]\d\d(?::?\d\d)?/gi, sr = /[+-]?\d+(\.\d{1,3})?/, Ye = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, me = /^[1-9]\d?/, ct = /^([1-9]\d|\d)/, Pe;
|
|
516
520
|
Pe = {};
|
|
517
521
|
function d(e, t, s) {
|
|
518
|
-
Pe[e] =
|
|
522
|
+
Pe[e] = V(t) ? t : function(r, a) {
|
|
519
523
|
return r && s ? s : t;
|
|
520
524
|
};
|
|
521
525
|
}
|
|
@@ -543,7 +547,7 @@ function m(e) {
|
|
|
543
547
|
return t !== 0 && isFinite(t) && (s = x(t)), s;
|
|
544
548
|
}
|
|
545
549
|
var tt = {};
|
|
546
|
-
function
|
|
550
|
+
function w(e, t) {
|
|
547
551
|
var s, r = t, a;
|
|
548
552
|
for (typeof e == "string" && (e = [e]), J(t) && (r = function(n, i) {
|
|
549
553
|
i[t] = m(n);
|
|
@@ -551,7 +555,7 @@ function p(e, t) {
|
|
|
551
555
|
tt[e[s]] = r;
|
|
552
556
|
}
|
|
553
557
|
function Oe(e, t) {
|
|
554
|
-
|
|
558
|
+
w(e, function(s, r, a, n) {
|
|
555
559
|
a._w = a._w || {}, t(s, a._w, a, n);
|
|
556
560
|
});
|
|
557
561
|
}
|
|
@@ -561,10 +565,10 @@ function nr(e, t, s) {
|
|
|
561
565
|
function Ge(e) {
|
|
562
566
|
return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
|
|
563
567
|
}
|
|
564
|
-
var Y = 0, q = 1,
|
|
568
|
+
var Y = 0, q = 1, A = 2, D = 3, P = 4, Z = 5, ae = 6, ir = 7, or = 8;
|
|
565
569
|
h("Y", 0, 0, function() {
|
|
566
570
|
var e = this.year();
|
|
567
|
-
return e <= 9999 ?
|
|
571
|
+
return e <= 9999 ? E(e, 4) : "+" + e;
|
|
568
572
|
});
|
|
569
573
|
h(0, ["YY", 2], 0, function() {
|
|
570
574
|
return this.year() % 100;
|
|
@@ -575,19 +579,19 @@ h(0, ["YYYYYY", 6, !0], 0, "year");
|
|
|
575
579
|
d("Y", He);
|
|
576
580
|
d("YY", v, T);
|
|
577
581
|
d("YYYY", ft, ht);
|
|
578
|
-
d("YYYYY",
|
|
579
|
-
d("YYYYYY",
|
|
580
|
-
|
|
581
|
-
|
|
582
|
+
d("YYYYY", Ee, Ue);
|
|
583
|
+
d("YYYYYY", Ee, Ue);
|
|
584
|
+
w(["YYYYY", "YYYYYY"], Y);
|
|
585
|
+
w("YYYY", function(e, t) {
|
|
582
586
|
t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) : m(e);
|
|
583
587
|
});
|
|
584
|
-
|
|
588
|
+
w("YY", function(e, t) {
|
|
585
589
|
t[Y] = l.parseTwoDigitYear(e);
|
|
586
590
|
});
|
|
587
|
-
|
|
591
|
+
w("Y", function(e, t) {
|
|
588
592
|
t[Y] = parseInt(e, 10);
|
|
589
593
|
});
|
|
590
|
-
function
|
|
594
|
+
function pe(e) {
|
|
591
595
|
return Ge(e) ? 366 : 365;
|
|
592
596
|
}
|
|
593
597
|
l.parseTwoDigitYear = function(e) {
|
|
@@ -599,10 +603,10 @@ function lr() {
|
|
|
599
603
|
}
|
|
600
604
|
function _e(e, t) {
|
|
601
605
|
return function(s) {
|
|
602
|
-
return s != null ? (jt(this, e, s), l.updateOffset(this, t), this) :
|
|
606
|
+
return s != null ? (jt(this, e, s), l.updateOffset(this, t), this) : we(this, e);
|
|
603
607
|
};
|
|
604
608
|
}
|
|
605
|
-
function
|
|
609
|
+
function we(e, t) {
|
|
606
610
|
if (!e.isValid())
|
|
607
611
|
return NaN;
|
|
608
612
|
var s = e._d, r = e._isUTC;
|
|
@@ -650,7 +654,7 @@ function jt(e, t, s) {
|
|
|
650
654
|
}
|
|
651
655
|
}
|
|
652
656
|
function ur(e) {
|
|
653
|
-
return e = N(e),
|
|
657
|
+
return e = N(e), V(this[e]) ? this[e]() : this;
|
|
654
658
|
}
|
|
655
659
|
function dr(e, t) {
|
|
656
660
|
if (typeof e == "object") {
|
|
@@ -658,7 +662,7 @@ function dr(e, t) {
|
|
|
658
662
|
var s = er(e), r, a = s.length;
|
|
659
663
|
for (r = 0; r < a; r++)
|
|
660
664
|
this[s[r].unit](e[s[r].unit]);
|
|
661
|
-
} else if (e = N(e),
|
|
665
|
+
} else if (e = N(e), V(this[e]))
|
|
662
666
|
return this[e](t);
|
|
663
667
|
return this;
|
|
664
668
|
}
|
|
@@ -696,10 +700,10 @@ d("MMM", function(e, t) {
|
|
|
696
700
|
d("MMMM", function(e, t) {
|
|
697
701
|
return t.monthsRegex(e);
|
|
698
702
|
});
|
|
699
|
-
|
|
703
|
+
w(["M", "MM"], function(e, t) {
|
|
700
704
|
t[q] = m(e) - 1;
|
|
701
705
|
});
|
|
702
|
-
|
|
706
|
+
w(["MMM", "MMMM"], function(e, t, s, r) {
|
|
703
707
|
var a = s._locale.monthsParse(e, r, s._strict);
|
|
704
708
|
a != null ? t[q] = a : c(s).invalidMonth = e;
|
|
705
709
|
});
|
|
@@ -716,18 +720,18 @@ function gr(e, t, s) {
|
|
|
716
720
|
var r, a, n, i = e.toLocaleLowerCase();
|
|
717
721
|
if (!this._monthsParse)
|
|
718
722
|
for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], r = 0; r < 12; ++r)
|
|
719
|
-
n =
|
|
723
|
+
n = H([2e3, r]), this._shortMonthsParse[r] = this.monthsShort(
|
|
720
724
|
n,
|
|
721
725
|
""
|
|
722
726
|
).toLocaleLowerCase(), this._longMonthsParse[r] = this.months(n, "").toLocaleLowerCase();
|
|
723
727
|
return s ? t === "MMM" ? (a = M.call(this._shortMonthsParse, i), a !== -1 ? a : null) : (a = M.call(this._longMonthsParse, i), a !== -1 ? a : null) : t === "MMM" ? (a = M.call(this._shortMonthsParse, i), a !== -1 ? a : (a = M.call(this._longMonthsParse, i), a !== -1 ? a : null)) : (a = M.call(this._longMonthsParse, i), a !== -1 ? a : (a = M.call(this._shortMonthsParse, i), a !== -1 ? a : null));
|
|
724
728
|
}
|
|
725
|
-
function
|
|
729
|
+
function pr(e, t, s) {
|
|
726
730
|
var r, a, n;
|
|
727
731
|
if (this._monthsParseExact)
|
|
728
732
|
return gr.call(this, e, t, s);
|
|
729
733
|
for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), r = 0; r < 12; r++) {
|
|
730
|
-
if (a =
|
|
734
|
+
if (a = H([2e3, r]), s && !this._longMonthsParse[r] && (this._longMonthsParse[r] = new RegExp(
|
|
731
735
|
"^" + this.months(a, "").replace(".", "") + "$",
|
|
732
736
|
"i"
|
|
733
737
|
), this._shortMonthsParse[r] = new RegExp(
|
|
@@ -754,9 +758,9 @@ function Zt(e, t) {
|
|
|
754
758
|
return r = r < 29 ? r : Math.min(r, mt(e.year(), s)), e._isUTC ? e._d.setUTCMonth(s, r) : e._d.setMonth(s, r), e;
|
|
755
759
|
}
|
|
756
760
|
function $t(e) {
|
|
757
|
-
return e != null ? (Zt(this, e), l.updateOffset(this, !0), this) :
|
|
761
|
+
return e != null ? (Zt(this, e), l.updateOffset(this, !0), this) : we(this, "Month");
|
|
758
762
|
}
|
|
759
|
-
function
|
|
763
|
+
function wr() {
|
|
760
764
|
return mt(this.year(), this.month());
|
|
761
765
|
}
|
|
762
766
|
function kr(e) {
|
|
@@ -771,7 +775,7 @@ function Bt() {
|
|
|
771
775
|
}
|
|
772
776
|
var t = [], s = [], r = [], a, n, i, u;
|
|
773
777
|
for (a = 0; a < 12; a++)
|
|
774
|
-
n =
|
|
778
|
+
n = H([2e3, a]), i = $(this.monthsShort(n, "")), u = $(this.months(n, "")), t.push(i), s.push(u), r.push(u), r.push(i);
|
|
775
779
|
t.sort(e), s.sort(e), r.sort(e), this._monthsRegex = new RegExp("^(" + r.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
|
|
776
780
|
"^(" + s.join("|") + ")",
|
|
777
781
|
"i"
|
|
@@ -794,7 +798,7 @@ function We(e, t, s) {
|
|
|
794
798
|
}
|
|
795
799
|
function Jt(e, t, s, r, a) {
|
|
796
800
|
var n = (7 + s - r) % 7, i = We(e, r, a), u = 1 + 7 * (t - 1) + n + i, f, _;
|
|
797
|
-
return u <= 0 ? (f = e - 1, _ =
|
|
801
|
+
return u <= 0 ? (f = e - 1, _ = pe(f) + u) : u > pe(e) ? (f = e + 1, _ = u - pe(e)) : (f = e, _ = u), {
|
|
798
802
|
year: f,
|
|
799
803
|
dayOfYear: _
|
|
800
804
|
};
|
|
@@ -808,7 +812,7 @@ function ve(e, t, s) {
|
|
|
808
812
|
}
|
|
809
813
|
function B(e, t, s) {
|
|
810
814
|
var r = We(e, t, s), a = We(e + 1, t, s);
|
|
811
|
-
return (
|
|
815
|
+
return (pe(e) - r + a) / 7;
|
|
812
816
|
}
|
|
813
817
|
h("w", ["ww", 2], "wo", "week");
|
|
814
818
|
h("W", ["WW", 2], "Wo", "isoWeek");
|
|
@@ -896,11 +900,11 @@ function Cr(e) {
|
|
|
896
900
|
function Ur(e) {
|
|
897
901
|
return e === !0 ? _t(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
|
|
898
902
|
}
|
|
899
|
-
function
|
|
903
|
+
function Ar(e, t, s) {
|
|
900
904
|
var r, a, n, i = e.toLocaleLowerCase();
|
|
901
905
|
if (!this._weekdaysParse)
|
|
902
906
|
for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], r = 0; r < 7; ++r)
|
|
903
|
-
n =
|
|
907
|
+
n = H([2e3, 1]).day(r), this._minWeekdaysParse[r] = this.weekdaysMin(
|
|
904
908
|
n,
|
|
905
909
|
""
|
|
906
910
|
).toLocaleLowerCase(), this._shortWeekdaysParse[r] = this.weekdaysShort(
|
|
@@ -909,12 +913,12 @@ function Er(e, t, s) {
|
|
|
909
913
|
).toLocaleLowerCase(), this._weekdaysParse[r] = this.weekdays(n, "").toLocaleLowerCase();
|
|
910
914
|
return s ? t === "dddd" ? (a = M.call(this._weekdaysParse, i), a !== -1 ? a : null) : t === "ddd" ? (a = M.call(this._shortWeekdaysParse, i), a !== -1 ? a : null) : (a = M.call(this._minWeekdaysParse, i), a !== -1 ? a : null) : t === "dddd" ? (a = M.call(this._weekdaysParse, i), a !== -1 || (a = M.call(this._shortWeekdaysParse, i), a !== -1) ? a : (a = M.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : t === "ddd" ? (a = M.call(this._shortWeekdaysParse, i), a !== -1 || (a = M.call(this._weekdaysParse, i), a !== -1) ? a : (a = M.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : (a = M.call(this._minWeekdaysParse, i), a !== -1 || (a = M.call(this._weekdaysParse, i), a !== -1) ? a : (a = M.call(this._shortWeekdaysParse, i), a !== -1 ? a : null));
|
|
911
915
|
}
|
|
912
|
-
function
|
|
916
|
+
function Er(e, t, s) {
|
|
913
917
|
var r, a, n;
|
|
914
918
|
if (this._weekdaysParseExact)
|
|
915
|
-
return
|
|
919
|
+
return Ar.call(this, e, t, s);
|
|
916
920
|
for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), r = 0; r < 7; r++) {
|
|
917
|
-
if (a =
|
|
921
|
+
if (a = H([2e3, 1]).day(r), s && !this._fullWeekdaysParse[r] && (this._fullWeekdaysParse[r] = new RegExp(
|
|
918
922
|
"^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
|
|
919
923
|
"i"
|
|
920
924
|
), this._shortWeekdaysParse[r] = new RegExp(
|
|
@@ -936,7 +940,7 @@ function Ar(e, t, s) {
|
|
|
936
940
|
function Hr(e) {
|
|
937
941
|
if (!this.isValid())
|
|
938
942
|
return e != null ? this : NaN;
|
|
939
|
-
var t =
|
|
943
|
+
var t = we(this, "Day");
|
|
940
944
|
return e != null ? (e = xr(e, this.localeData()), this.add(e - t, "d")) : t;
|
|
941
945
|
}
|
|
942
946
|
function Vr(e) {
|
|
@@ -964,12 +968,12 @@ function qr(e) {
|
|
|
964
968
|
return this._weekdaysParseExact ? (g(this, "_weekdaysRegex") || yt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (g(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Lr), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
965
969
|
}
|
|
966
970
|
function yt() {
|
|
967
|
-
function e(O,
|
|
968
|
-
return
|
|
971
|
+
function e(O, G) {
|
|
972
|
+
return G.length - O.length;
|
|
969
973
|
}
|
|
970
974
|
var t = [], s = [], r = [], a = [], n, i, u, f, _;
|
|
971
975
|
for (n = 0; n < 7; n++)
|
|
972
|
-
i =
|
|
976
|
+
i = H([2e3, 1]).day(n), u = $(this.weekdaysMin(i, "")), f = $(this.weekdaysShort(i, "")), _ = $(this.weekdays(i, "")), t.push(u), s.push(f), r.push(_), a.push(u), a.push(f), a.push(_);
|
|
973
977
|
t.sort(e), s.sort(e), r.sort(e), a.sort(e), this._weekdaysRegex = new RegExp("^(" + a.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
|
|
974
978
|
"^(" + r.join("|") + ")",
|
|
975
979
|
"i"
|
|
@@ -991,16 +995,16 @@ h("H", ["HH", 2], 0, "hour");
|
|
|
991
995
|
h("h", ["hh", 2], 0, gt);
|
|
992
996
|
h("k", ["kk", 2], 0, Zr);
|
|
993
997
|
h("hmm", 0, 0, function() {
|
|
994
|
-
return "" + gt.apply(this) +
|
|
998
|
+
return "" + gt.apply(this) + E(this.minutes(), 2);
|
|
995
999
|
});
|
|
996
1000
|
h("hmmss", 0, 0, function() {
|
|
997
|
-
return "" + gt.apply(this) +
|
|
1001
|
+
return "" + gt.apply(this) + E(this.minutes(), 2) + E(this.seconds(), 2);
|
|
998
1002
|
});
|
|
999
1003
|
h("Hmm", 0, 0, function() {
|
|
1000
|
-
return "" + this.hours() +
|
|
1004
|
+
return "" + this.hours() + E(this.minutes(), 2);
|
|
1001
1005
|
});
|
|
1002
1006
|
h("Hmmss", 0, 0, function() {
|
|
1003
|
-
return "" + this.hours() +
|
|
1007
|
+
return "" + this.hours() + E(this.minutes(), 2) + E(this.seconds(), 2);
|
|
1004
1008
|
});
|
|
1005
1009
|
function Kt(e, t) {
|
|
1006
1010
|
h(e, 0, 0, function() {
|
|
@@ -1028,30 +1032,30 @@ d("hmm", Ht);
|
|
|
1028
1032
|
d("hmmss", Vt);
|
|
1029
1033
|
d("Hmm", Ht);
|
|
1030
1034
|
d("Hmmss", Vt);
|
|
1031
|
-
|
|
1032
|
-
|
|
1035
|
+
w(["H", "HH"], D);
|
|
1036
|
+
w(["k", "kk"], function(e, t, s) {
|
|
1033
1037
|
var r = m(e);
|
|
1034
1038
|
t[D] = r === 24 ? 0 : r;
|
|
1035
1039
|
});
|
|
1036
|
-
|
|
1040
|
+
w(["a", "A"], function(e, t, s) {
|
|
1037
1041
|
s._isPm = s._locale.isPM(e), s._meridiem = e;
|
|
1038
1042
|
});
|
|
1039
|
-
|
|
1043
|
+
w(["h", "hh"], function(e, t, s) {
|
|
1040
1044
|
t[D] = m(e), c(s).bigHour = !0;
|
|
1041
1045
|
});
|
|
1042
|
-
|
|
1046
|
+
w("hmm", function(e, t, s) {
|
|
1043
1047
|
var r = e.length - 2;
|
|
1044
1048
|
t[D] = m(e.substr(0, r)), t[P] = m(e.substr(r)), c(s).bigHour = !0;
|
|
1045
1049
|
});
|
|
1046
|
-
|
|
1050
|
+
w("hmmss", function(e, t, s) {
|
|
1047
1051
|
var r = e.length - 4, a = e.length - 2;
|
|
1048
1052
|
t[D] = m(e.substr(0, r)), t[P] = m(e.substr(r, 2)), t[Z] = m(e.substr(a)), c(s).bigHour = !0;
|
|
1049
1053
|
});
|
|
1050
|
-
|
|
1054
|
+
w("Hmm", function(e, t, s) {
|
|
1051
1055
|
var r = e.length - 2;
|
|
1052
1056
|
t[D] = m(e.substr(0, r)), t[P] = m(e.substr(r));
|
|
1053
1057
|
});
|
|
1054
|
-
|
|
1058
|
+
w("Hmmss", function(e, t, s) {
|
|
1055
1059
|
var r = e.length - 4, a = e.length - 2;
|
|
1056
1060
|
t[D] = m(e.substr(0, r)), t[P] = m(e.substr(r, 2)), t[Z] = m(e.substr(a));
|
|
1057
1061
|
});
|
|
@@ -1063,7 +1067,7 @@ function Qr(e, t, s) {
|
|
|
1063
1067
|
return e > 11 ? s ? "pm" : "PM" : s ? "am" : "AM";
|
|
1064
1068
|
}
|
|
1065
1069
|
var es = {
|
|
1066
|
-
calendar:
|
|
1070
|
+
calendar: As,
|
|
1067
1071
|
longDateFormat: Gs,
|
|
1068
1072
|
invalidDate: zs,
|
|
1069
1073
|
ordinal: Zs,
|
|
@@ -1115,11 +1119,11 @@ function je(e) {
|
|
|
1115
1119
|
}
|
|
1116
1120
|
function se(e, t) {
|
|
1117
1121
|
var s;
|
|
1118
|
-
return e && (b(t) ? s = Q(e) : s =
|
|
1122
|
+
return e && (b(t) ? s = Q(e) : s = pt(e, t), s ? Se = s : typeof console < "u" && console.warn && console.warn(
|
|
1119
1123
|
"Locale " + e + " not found. Did you forget to load it?"
|
|
1120
1124
|
)), Se._abbr;
|
|
1121
1125
|
}
|
|
1122
|
-
function
|
|
1126
|
+
function pt(e, t) {
|
|
1123
1127
|
if (t !== null) {
|
|
1124
1128
|
var s, r = es;
|
|
1125
1129
|
if (t.abbr = e, S[e] != null)
|
|
@@ -1138,7 +1142,7 @@ function wt(e, t) {
|
|
|
1138
1142
|
config: t
|
|
1139
1143
|
}), null;
|
|
1140
1144
|
return S[e] = new lt(Xe(r, t)), ye[e] && ye[e].forEach(function(a) {
|
|
1141
|
-
|
|
1145
|
+
pt(a.name, a.config);
|
|
1142
1146
|
}), se(e), S[e];
|
|
1143
1147
|
} else
|
|
1144
1148
|
return delete S[e], null;
|
|
@@ -1165,9 +1169,9 @@ function Q(e) {
|
|
|
1165
1169
|
function sa() {
|
|
1166
1170
|
return et(S);
|
|
1167
1171
|
}
|
|
1168
|
-
function
|
|
1172
|
+
function wt(e) {
|
|
1169
1173
|
var t, s = e._a;
|
|
1170
|
-
return s && c(e).overflow === -2 && (t = s[q] < 0 || s[q] > 11 ? q : s[
|
|
1174
|
+
return s && c(e).overflow === -2 && (t = s[q] < 0 || s[q] > 11 ? q : s[A] < 1 || s[A] > mt(s[Y], s[q]) ? A : s[D] < 0 || s[D] > 24 || s[D] === 24 && (s[P] !== 0 || s[Z] !== 0 || s[ae] !== 0) ? D : s[P] < 0 || s[P] > 59 ? P : s[Z] < 0 || s[Z] > 59 ? Z : s[ae] < 0 || s[ae] > 999 ? ae : -1, c(e)._overflowDayOfYear && (t < Y || t > A) && (t = A), c(e)._overflowWeeks && t === -1 && (t = ir), c(e)._overflowWeekday && t === -1 && (t = or), c(e).overflow = t), e;
|
|
1171
1175
|
}
|
|
1172
1176
|
var ra = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, aa = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, na = /Z|[+-]\d\d(?::?\d\d)?/, Te = [
|
|
1173
1177
|
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
@@ -1332,7 +1336,7 @@ function _a(e) {
|
|
|
1332
1336
|
function kt(e) {
|
|
1333
1337
|
var t, s, r = [], a, n, i;
|
|
1334
1338
|
if (!e._d) {
|
|
1335
|
-
for (a = _a(e), e._w && e._a[
|
|
1339
|
+
for (a = _a(e), e._w && e._a[A] == null && e._a[q] == null && ya(e), e._dayOfYear != null && (i = le(e._a[Y], a[Y]), (e._dayOfYear > pe(i) || e._dayOfYear === 0) && (c(e)._overflowDayOfYear = !0), s = ke(i, 0, e._dayOfYear), e._a[q] = s.getUTCMonth(), e._a[A] = s.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
1336
1340
|
e._a[t] = r[t] = a[t];
|
|
1337
1341
|
for (; t < 7; t++)
|
|
1338
1342
|
e._a[t] = r[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
@@ -1373,13 +1377,13 @@ function vt(e) {
|
|
|
1373
1377
|
e._locale,
|
|
1374
1378
|
e._a[D],
|
|
1375
1379
|
e._meridiem
|
|
1376
|
-
), _ = c(e).era, _ !== null && (e._a[Y] = e._locale.erasConvertYear(_, e._a[Y])), kt(e),
|
|
1380
|
+
), _ = c(e).era, _ !== null && (e._a[Y] = e._locale.erasConvertYear(_, e._a[Y])), kt(e), wt(e);
|
|
1377
1381
|
}
|
|
1378
1382
|
function ga(e, t, s) {
|
|
1379
1383
|
var r;
|
|
1380
1384
|
return s == null ? t : e.meridiemHour != null ? e.meridiemHour(t, s) : (e.isPM != null && (r = e.isPM(s), r && t < 12 && (t += 12), !r && t === 12 && (t = 0)), t);
|
|
1381
1385
|
}
|
|
1382
|
-
function
|
|
1386
|
+
function pa(e) {
|
|
1383
1387
|
var t, s, r, a, n, i, u = !1, f = e._f.length;
|
|
1384
1388
|
if (f === 0) {
|
|
1385
1389
|
c(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
|
|
@@ -1389,7 +1393,7 @@ function wa(e) {
|
|
|
1389
1393
|
n = 0, i = !1, t = ot({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], vt(t), it(t) && (i = !0), n += c(t).charsLeftOver, n += c(t).unusedTokens.length * 10, c(t).score = n, u ? n < r && (r = n, s = t) : (r == null || n < r || i) && (r = n, s = t, i && (u = !0));
|
|
1390
1394
|
ee(e, s || t);
|
|
1391
1395
|
}
|
|
1392
|
-
function
|
|
1396
|
+
function wa(e) {
|
|
1393
1397
|
if (!e._d) {
|
|
1394
1398
|
var t = dt(e._i), s = t.day === void 0 ? t.date : t.day;
|
|
1395
1399
|
e._a = Lt(
|
|
@@ -1401,18 +1405,18 @@ function pa(e) {
|
|
|
1401
1405
|
}
|
|
1402
1406
|
}
|
|
1403
1407
|
function ka(e) {
|
|
1404
|
-
var t = new De(
|
|
1408
|
+
var t = new De(wt(rs(e)));
|
|
1405
1409
|
return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
|
|
1406
1410
|
}
|
|
1407
1411
|
function rs(e) {
|
|
1408
1412
|
var t = e._i, s = e._f;
|
|
1409
|
-
return e._locale = e._locale || Q(e._l), t === null || s === void 0 && t === "" ? Ce({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new De(
|
|
1413
|
+
return e._locale = e._locale || Q(e._l), t === null || s === void 0 && t === "" ? Ce({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new De(wt(t)) : (Me(t) ? e._d = t : W(s) ? pa(e) : s ? vt(e) : va(e), it(e) || (e._d = null), e));
|
|
1410
1414
|
}
|
|
1411
1415
|
function va(e) {
|
|
1412
1416
|
var t = e._i;
|
|
1413
1417
|
b(t) ? e._d = new Date(l.now()) : Me(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? ma(e) : W(t) ? (e._a = Lt(t.slice(0), function(s) {
|
|
1414
1418
|
return parseInt(s, 10);
|
|
1415
|
-
}), kt(e)) : ne(t) ?
|
|
1419
|
+
}), kt(e)) : ne(t) ? wa(e) : J(t) ? e._d = new Date(t) : l.createFromInputFallback(e);
|
|
1416
1420
|
}
|
|
1417
1421
|
function as(e, t, s, r, a) {
|
|
1418
1422
|
var n = {};
|
|
@@ -1503,14 +1507,14 @@ function Ra(e, t, s) {
|
|
|
1503
1507
|
function is(e, t) {
|
|
1504
1508
|
h(e, 0, 0, function() {
|
|
1505
1509
|
var s = this.utcOffset(), r = "+";
|
|
1506
|
-
return s < 0 && (s = -s, r = "-"), r +
|
|
1510
|
+
return s < 0 && (s = -s, r = "-"), r + E(~~(s / 60), 2) + t + E(~~s % 60, 2);
|
|
1507
1511
|
});
|
|
1508
1512
|
}
|
|
1509
1513
|
is("Z", ":");
|
|
1510
1514
|
is("ZZ", "");
|
|
1511
1515
|
d("Z", Ve);
|
|
1512
1516
|
d("ZZ", Ve);
|
|
1513
|
-
|
|
1517
|
+
w(["Z", "ZZ"], function(e, t, s) {
|
|
1514
1518
|
s._useUTC = !0, s._tzm = St(Ve, e);
|
|
1515
1519
|
});
|
|
1516
1520
|
var Na = /([\+\-]|\d\d)/gi;
|
|
@@ -1569,13 +1573,13 @@ function Ca(e) {
|
|
|
1569
1573
|
function Ua() {
|
|
1570
1574
|
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
1571
1575
|
}
|
|
1572
|
-
function
|
|
1576
|
+
function Aa() {
|
|
1573
1577
|
if (!b(this._isDSTShifted))
|
|
1574
1578
|
return this._isDSTShifted;
|
|
1575
1579
|
var e = {}, t;
|
|
1576
|
-
return ot(e, this), e = rs(e), e._a ? (t = e._isUTC ?
|
|
1580
|
+
return ot(e, this), e = rs(e), e._a ? (t = e._isUTC ? H(e._a) : k(e._a), this._isDSTShifted = this.isValid() && Ra(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
|
|
1577
1581
|
}
|
|
1578
|
-
function
|
|
1582
|
+
function Ea() {
|
|
1579
1583
|
return this.isValid() ? !this._isUTC : !1;
|
|
1580
1584
|
}
|
|
1581
1585
|
function Ha() {
|
|
@@ -1593,7 +1597,7 @@ function L(e, t) {
|
|
|
1593
1597
|
M: e._months
|
|
1594
1598
|
} : J(e) || !isNaN(+e) ? (s = {}, t ? s[t] = +e : s.milliseconds = +e) : (r = Va.exec(e)) ? (a = r[1] === "-" ? -1 : 1, s = {
|
|
1595
1599
|
y: 0,
|
|
1596
|
-
d: m(r[
|
|
1600
|
+
d: m(r[A]) * a,
|
|
1597
1601
|
h: m(r[D]) * a,
|
|
1598
1602
|
m: m(r[P]) * a,
|
|
1599
1603
|
s: m(r[Z]) * a,
|
|
@@ -1637,7 +1641,7 @@ function ls(e, t) {
|
|
|
1637
1641
|
}
|
|
1638
1642
|
function us(e, t, s, r) {
|
|
1639
1643
|
var a = t._milliseconds, n = st(t._days), i = st(t._months);
|
|
1640
|
-
e.isValid() && (r = r ?? !0, i && Zt(e,
|
|
1644
|
+
e.isValid() && (r = r ?? !0, i && Zt(e, we(e, "Month") + i * s), n && jt(e, "Date", we(e, "Date") + n * s), a && e._d.setTime(e._d.valueOf() + a * s), r && l.updateOffset(e, n || i));
|
|
1641
1645
|
}
|
|
1642
1646
|
var za = ls(1, "add"), qa = ls(-1, "subtract");
|
|
1643
1647
|
function ds(e) {
|
|
@@ -1702,7 +1706,7 @@ function Qa(e, t) {
|
|
|
1702
1706
|
}
|
|
1703
1707
|
function Ka(e, t) {
|
|
1704
1708
|
arguments.length === 1 && (arguments[0] ? Za(arguments[0]) ? (e = arguments[0], t = void 0) : Ja(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
1705
|
-
var s = e || k(), r = Mt(s, this).startOf("day"), a = l.calendarFormat(this, r) || "sameElse", n = t && (
|
|
1709
|
+
var s = e || k(), r = Mt(s, this).startOf("day"), a = l.calendarFormat(this, r) || "sameElse", n = t && (V(t[a]) ? t[a].call(this, s) : t[a]);
|
|
1706
1710
|
return this.format(
|
|
1707
1711
|
n || this.localeData().calendar(a, this, k(s))
|
|
1708
1712
|
);
|
|
@@ -1786,7 +1790,7 @@ function un(e) {
|
|
|
1786
1790
|
return s.year() < 0 || s.year() > 9999 ? xe(
|
|
1787
1791
|
s,
|
|
1788
1792
|
t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1789
|
-
) :
|
|
1793
|
+
) : V(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", xe(s, "Z")) : xe(
|
|
1790
1794
|
s,
|
|
1791
1795
|
t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
1792
1796
|
);
|
|
@@ -1939,10 +1943,10 @@ function gn(e) {
|
|
|
1939
1943
|
}
|
|
1940
1944
|
return this._d.setTime(t), l.updateOffset(this, !0), this;
|
|
1941
1945
|
}
|
|
1942
|
-
function
|
|
1946
|
+
function pn() {
|
|
1943
1947
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
1944
1948
|
}
|
|
1945
|
-
function
|
|
1949
|
+
function wn() {
|
|
1946
1950
|
return Math.floor(this.valueOf() / 1e3);
|
|
1947
1951
|
}
|
|
1948
1952
|
function kn() {
|
|
@@ -2006,8 +2010,8 @@ d("N", Dt);
|
|
|
2006
2010
|
d("NN", Dt);
|
|
2007
2011
|
d("NNN", Dt);
|
|
2008
2012
|
d("NNNN", Un);
|
|
2009
|
-
d("NNNNN",
|
|
2010
|
-
|
|
2013
|
+
d("NNNNN", An);
|
|
2014
|
+
w(
|
|
2011
2015
|
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
2012
2016
|
function(e, t, s, r) {
|
|
2013
2017
|
var a = s._locale.erasParse(e, r, s._strict);
|
|
@@ -2018,9 +2022,9 @@ d("y", ce);
|
|
|
2018
2022
|
d("yy", ce);
|
|
2019
2023
|
d("yyy", ce);
|
|
2020
2024
|
d("yyyy", ce);
|
|
2021
|
-
d("yo",
|
|
2022
|
-
|
|
2023
|
-
|
|
2025
|
+
d("yo", En);
|
|
2026
|
+
w(["y", "yy", "yyy", "yyyy"], Y);
|
|
2027
|
+
w(["yo"], function(e, t, s, r) {
|
|
2024
2028
|
var a;
|
|
2025
2029
|
s._locale._eraYearOrdinalRegex && (a = e.match(s._locale._eraYearOrdinalRegex)), s._locale.eraYearOrdinalParse ? t[Y] = s._locale.eraYearOrdinalParse(e, a) : t[Y] = parseInt(e, 10);
|
|
2026
2030
|
});
|
|
@@ -2113,10 +2117,10 @@ function Dt(e, t) {
|
|
|
2113
2117
|
function Un(e, t) {
|
|
2114
2118
|
return t.erasNameRegex(e);
|
|
2115
2119
|
}
|
|
2116
|
-
function
|
|
2120
|
+
function An(e, t) {
|
|
2117
2121
|
return t.erasNarrowRegex(e);
|
|
2118
2122
|
}
|
|
2119
|
-
function
|
|
2123
|
+
function En(e, t) {
|
|
2120
2124
|
return t._eraYearOrdinalRegex || ce;
|
|
2121
2125
|
}
|
|
2122
2126
|
function Yt() {
|
|
@@ -2147,8 +2151,8 @@ d("GG", v, T);
|
|
|
2147
2151
|
d("gg", v, T);
|
|
2148
2152
|
d("GGGG", ft, ht);
|
|
2149
2153
|
d("gggg", ft, ht);
|
|
2150
|
-
d("GGGGG",
|
|
2151
|
-
d("ggggg",
|
|
2154
|
+
d("GGGGG", Ee, Ue);
|
|
2155
|
+
d("ggggg", Ee, Ue);
|
|
2152
2156
|
Oe(
|
|
2153
2157
|
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
2154
2158
|
function(e, t, s, r) {
|
|
@@ -2201,8 +2205,8 @@ function Zn(e, t, s, r, a) {
|
|
|
2201
2205
|
return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
|
|
2202
2206
|
}
|
|
2203
2207
|
h("Q", 0, "Qo", "quarter");
|
|
2204
|
-
d("Q",
|
|
2205
|
-
|
|
2208
|
+
d("Q", At);
|
|
2209
|
+
w("Q", function(e, t) {
|
|
2206
2210
|
t[q] = (m(e) - 1) * 3;
|
|
2207
2211
|
});
|
|
2208
2212
|
function $n(e) {
|
|
@@ -2214,15 +2218,15 @@ d("DD", v, T);
|
|
|
2214
2218
|
d("Do", function(e, t) {
|
|
2215
2219
|
return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
|
|
2216
2220
|
});
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
t[
|
|
2221
|
+
w(["D", "DD"], A);
|
|
2222
|
+
w("Do", function(e, t) {
|
|
2223
|
+
t[A] = m(e.match(v)[0]);
|
|
2220
2224
|
});
|
|
2221
|
-
var
|
|
2225
|
+
var ps = _e("Date", !0);
|
|
2222
2226
|
h("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
2223
|
-
d("DDD",
|
|
2224
|
-
d("DDDD",
|
|
2225
|
-
|
|
2227
|
+
d("DDD", Ae);
|
|
2228
|
+
d("DDDD", Et);
|
|
2229
|
+
w(["DDD", "DDDD"], function(e, t, s) {
|
|
2226
2230
|
s._dayOfYear = m(e);
|
|
2227
2231
|
});
|
|
2228
2232
|
function Bn(e) {
|
|
@@ -2234,12 +2238,12 @@ function Bn(e) {
|
|
|
2234
2238
|
h("m", ["mm", 2], 0, "minute");
|
|
2235
2239
|
d("m", v, ct);
|
|
2236
2240
|
d("mm", v, T);
|
|
2237
|
-
|
|
2241
|
+
w(["m", "mm"], P);
|
|
2238
2242
|
var Jn = _e("Minutes", !1);
|
|
2239
2243
|
h("s", ["ss", 2], 0, "second");
|
|
2240
2244
|
d("s", v, ct);
|
|
2241
2245
|
d("ss", v, T);
|
|
2242
|
-
|
|
2246
|
+
w(["s", "ss"], Z);
|
|
2243
2247
|
var Qn = _e("Seconds", !1);
|
|
2244
2248
|
h("S", 0, 0, function() {
|
|
2245
2249
|
return ~~(this.millisecond() / 100);
|
|
@@ -2266,18 +2270,18 @@ h(0, ["SSSSSSSS", 8], 0, function() {
|
|
|
2266
2270
|
h(0, ["SSSSSSSSS", 9], 0, function() {
|
|
2267
2271
|
return this.millisecond() * 1e6;
|
|
2268
2272
|
});
|
|
2269
|
-
d("S",
|
|
2270
|
-
d("SS",
|
|
2271
|
-
d("SSS",
|
|
2272
|
-
var te,
|
|
2273
|
+
d("S", Ae, At);
|
|
2274
|
+
d("SS", Ae, T);
|
|
2275
|
+
d("SSS", Ae, Et);
|
|
2276
|
+
var te, ws;
|
|
2273
2277
|
for (te = "SSSS"; te.length <= 9; te += "S")
|
|
2274
2278
|
d(te, ce);
|
|
2275
2279
|
function Kn(e, t) {
|
|
2276
2280
|
t[ae] = m(("0." + e) * 1e3);
|
|
2277
2281
|
}
|
|
2278
2282
|
for (te = "S"; te.length <= 9; te += "S")
|
|
2279
|
-
|
|
2280
|
-
|
|
2283
|
+
w(te, Kn);
|
|
2284
|
+
ws = _e("Milliseconds", !1);
|
|
2281
2285
|
h("z", 0, 0, "zoneAbbr");
|
|
2282
2286
|
h("zz", 0, 0, "zoneName");
|
|
2283
2287
|
function Xn() {
|
|
@@ -2325,8 +2329,8 @@ typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.
|
|
|
2325
2329
|
});
|
|
2326
2330
|
o.toJSON = Mn;
|
|
2327
2331
|
o.toString = ln;
|
|
2328
|
-
o.unix =
|
|
2329
|
-
o.valueOf =
|
|
2332
|
+
o.unix = wn;
|
|
2333
|
+
o.valueOf = pn;
|
|
2330
2334
|
o.creationData = bn;
|
|
2331
2335
|
o.eraName = Nn;
|
|
2332
2336
|
o.eraNarrow = Pn;
|
|
@@ -2338,14 +2342,14 @@ o.weekYear = Hn;
|
|
|
2338
2342
|
o.isoWeekYear = Vn;
|
|
2339
2343
|
o.quarter = o.quarters = $n;
|
|
2340
2344
|
o.month = $t;
|
|
2341
|
-
o.daysInMonth =
|
|
2345
|
+
o.daysInMonth = wr;
|
|
2342
2346
|
o.week = o.weeks = br;
|
|
2343
2347
|
o.isoWeek = o.isoWeeks = Tr;
|
|
2344
2348
|
o.weeksInYear = zn;
|
|
2345
2349
|
o.weeksInWeekYear = qn;
|
|
2346
2350
|
o.isoWeeksInYear = Gn;
|
|
2347
2351
|
o.isoWeeksInISOWeekYear = jn;
|
|
2348
|
-
o.date =
|
|
2352
|
+
o.date = ps;
|
|
2349
2353
|
o.day = o.days = Hr;
|
|
2350
2354
|
o.weekday = Vr;
|
|
2351
2355
|
o.isoWeekday = Gr;
|
|
@@ -2353,14 +2357,14 @@ o.dayOfYear = Bn;
|
|
|
2353
2357
|
o.hour = o.hours = Jr;
|
|
2354
2358
|
o.minute = o.minutes = Jn;
|
|
2355
2359
|
o.second = o.seconds = Qn;
|
|
2356
|
-
o.millisecond = o.milliseconds =
|
|
2360
|
+
o.millisecond = o.milliseconds = ws;
|
|
2357
2361
|
o.utcOffset = Pa;
|
|
2358
2362
|
o.utc = Fa;
|
|
2359
2363
|
o.local = La;
|
|
2360
2364
|
o.parseZone = Ia;
|
|
2361
2365
|
o.hasAlignedHourOffset = Ca;
|
|
2362
2366
|
o.isDST = Ua;
|
|
2363
|
-
o.isLocal =
|
|
2367
|
+
o.isLocal = Ea;
|
|
2364
2368
|
o.isUtcOffset = Ha;
|
|
2365
2369
|
o.isUtc = os;
|
|
2366
2370
|
o.isUTC = os;
|
|
@@ -2368,7 +2372,7 @@ o.zoneAbbr = Xn;
|
|
|
2368
2372
|
o.zoneName = ei;
|
|
2369
2373
|
o.dates = R(
|
|
2370
2374
|
"dates accessor is deprecated. Use date instead.",
|
|
2371
|
-
|
|
2375
|
+
ps
|
|
2372
2376
|
);
|
|
2373
2377
|
o.months = R(
|
|
2374
2378
|
"months accessor is deprecated. Use month instead",
|
|
@@ -2384,7 +2388,7 @@ o.zone = R(
|
|
|
2384
2388
|
);
|
|
2385
2389
|
o.isDSTShifted = R(
|
|
2386
2390
|
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
2387
|
-
|
|
2391
|
+
Aa
|
|
2388
2392
|
);
|
|
2389
2393
|
function ti(e) {
|
|
2390
2394
|
return k(e * 1e3);
|
|
@@ -2395,41 +2399,41 @@ function si() {
|
|
|
2395
2399
|
function ks(e) {
|
|
2396
2400
|
return e;
|
|
2397
2401
|
}
|
|
2398
|
-
var
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2402
|
+
var p = lt.prototype;
|
|
2403
|
+
p.calendar = Es;
|
|
2404
|
+
p.longDateFormat = js;
|
|
2405
|
+
p.invalidDate = qs;
|
|
2406
|
+
p.ordinal = Bs;
|
|
2407
|
+
p.preparse = ks;
|
|
2408
|
+
p.postformat = ks;
|
|
2409
|
+
p.relativeTime = Qs;
|
|
2410
|
+
p.pastFuture = Ks;
|
|
2411
|
+
p.set = Us;
|
|
2412
|
+
p.eras = Tn;
|
|
2413
|
+
p.erasParse = xn;
|
|
2414
|
+
p.erasConvertYear = Rn;
|
|
2415
|
+
p.erasAbbrRegex = In;
|
|
2416
|
+
p.erasNameRegex = Ln;
|
|
2417
|
+
p.erasNarrowRegex = Cn;
|
|
2418
|
+
p.months = _r;
|
|
2419
|
+
p.monthsShort = yr;
|
|
2420
|
+
p.monthsParse = pr;
|
|
2421
|
+
p.monthsRegex = vr;
|
|
2422
|
+
p.monthsShortRegex = kr;
|
|
2423
|
+
p.week = Mr;
|
|
2424
|
+
p.firstDayOfYear = Or;
|
|
2425
|
+
p.firstDayOfWeek = Yr;
|
|
2426
|
+
p.weekdays = Ir;
|
|
2427
|
+
p.weekdaysMin = Ur;
|
|
2428
|
+
p.weekdaysShort = Cr;
|
|
2429
|
+
p.weekdaysParse = Er;
|
|
2430
|
+
p.weekdaysRegex = jr;
|
|
2431
|
+
p.weekdaysShortRegex = zr;
|
|
2432
|
+
p.weekdaysMinRegex = qr;
|
|
2433
|
+
p.isPM = $r;
|
|
2434
|
+
p.meridiem = Qr;
|
|
2431
2435
|
function Ie(e, t, s, r) {
|
|
2432
|
-
var a = Q(), n =
|
|
2436
|
+
var a = Q(), n = H().set(r, t);
|
|
2433
2437
|
return a[s](n, e);
|
|
2434
2438
|
}
|
|
2435
2439
|
function vs(e, t, s) {
|
|
@@ -2561,7 +2565,7 @@ function K(e) {
|
|
|
2561
2565
|
return this.as(e);
|
|
2562
2566
|
};
|
|
2563
2567
|
}
|
|
2564
|
-
var Ds = K("ms"), ci = K("s"), mi = K("m"), _i = K("h"), yi = K("d"), gi = K("w"),
|
|
2568
|
+
var Ds = K("ms"), ci = K("s"), mi = K("m"), _i = K("h"), yi = K("d"), gi = K("w"), pi = K("M"), wi = K("Q"), ki = K("y"), vi = Ds;
|
|
2565
2569
|
function Si() {
|
|
2566
2570
|
return L(this);
|
|
2567
2571
|
}
|
|
@@ -2597,8 +2601,8 @@ function Pi(e, t, s, r, a) {
|
|
|
2597
2601
|
return a.relativeTime(t || 1, !!s, e, r);
|
|
2598
2602
|
}
|
|
2599
2603
|
function Wi(e, t, s, r) {
|
|
2600
|
-
var a = L(e).abs(), n = z(a.as("s")), i = z(a.as("m")), u = z(a.as("h")), f = z(a.as("d")), _ = z(a.as("M")), O = z(a.as("w")),
|
|
2601
|
-
return s.w != null && (X = X || O <= 1 && ["w"] || O < s.w && ["ww", O]), X = X || _ <= 1 && ["M"] || _ < s.M && ["MM", _] ||
|
|
2604
|
+
var a = L(e).abs(), n = z(a.as("s")), i = z(a.as("m")), u = z(a.as("h")), f = z(a.as("d")), _ = z(a.as("M")), O = z(a.as("w")), G = z(a.as("y")), X = n <= s.ss && ["s", n] || n < s.s && ["ss", n] || i <= 1 && ["m"] || i < s.m && ["mm", i] || u <= 1 && ["h"] || u < s.h && ["hh", u] || f <= 1 && ["d"] || f < s.d && ["dd", f];
|
|
2605
|
+
return s.w != null && (X = X || O <= 1 && ["w"] || O < s.w && ["ww", O]), X = X || _ <= 1 && ["M"] || _ < s.M && ["MM", _] || G <= 1 && ["y"] || ["yy", G], X[2] = t, X[3] = +e > 0, X[4] = r, Pi.apply(null, X);
|
|
2602
2606
|
}
|
|
2603
2607
|
function Fi(e) {
|
|
2604
2608
|
return e === void 0 ? z : typeof e == "function" ? (z = e, !0) : !1;
|
|
@@ -2619,8 +2623,8 @@ function oe(e) {
|
|
|
2619
2623
|
function Ze() {
|
|
2620
2624
|
if (!this.isValid())
|
|
2621
2625
|
return this.localeData().invalidDate();
|
|
2622
|
-
var e = Qe(this._milliseconds) / 1e3, t = Qe(this._days), s = Qe(this._months), r, a, n, i, u = this.asSeconds(), f, _, O,
|
|
2623
|
-
return u ? (r = x(e / 60), a = x(r / 60), e %= 60, r %= 60, n = x(s / 12), s %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = u < 0 ? "-" : "", _ = oe(this._months) !== oe(u) ? "-" : "", O = oe(this._days) !== oe(u) ? "-" : "",
|
|
2626
|
+
var e = Qe(this._milliseconds) / 1e3, t = Qe(this._days), s = Qe(this._months), r, a, n, i, u = this.asSeconds(), f, _, O, G;
|
|
2627
|
+
return u ? (r = x(e / 60), a = x(r / 60), e %= 60, r %= 60, n = x(s / 12), s %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", f = u < 0 ? "-" : "", _ = oe(this._months) !== oe(u) ? "-" : "", O = oe(this._days) !== oe(u) ? "-" : "", G = oe(this._milliseconds) !== oe(u) ? "-" : "", f + "P" + (n ? _ + n + "Y" : "") + (s ? _ + s + "M" : "") + (t ? O + t + "D" : "") + (a || r || e ? "T" : "") + (a ? G + a + "H" : "") + (r ? G + r + "M" : "") + (e ? G + i + "S" : "")) : "P0D";
|
|
2624
2628
|
}
|
|
2625
2629
|
var y = ze.prototype;
|
|
2626
2630
|
y.isValid = Ta;
|
|
@@ -2634,8 +2638,8 @@ y.asMinutes = mi;
|
|
|
2634
2638
|
y.asHours = _i;
|
|
2635
2639
|
y.asDays = yi;
|
|
2636
2640
|
y.asWeeks = gi;
|
|
2637
|
-
y.asMonths =
|
|
2638
|
-
y.asQuarters =
|
|
2641
|
+
y.asMonths = pi;
|
|
2642
|
+
y.asQuarters = wi;
|
|
2639
2643
|
y.asYears = ki;
|
|
2640
2644
|
y.valueOf = vi;
|
|
2641
2645
|
y._bubble = hi;
|
|
@@ -2664,10 +2668,10 @@ h("X", 0, 0, "unix");
|
|
|
2664
2668
|
h("x", 0, 0, "valueOf");
|
|
2665
2669
|
d("x", He);
|
|
2666
2670
|
d("X", sr);
|
|
2667
|
-
|
|
2671
|
+
w("X", function(e, t, s) {
|
|
2668
2672
|
s._d = new Date(parseFloat(e) * 1e3);
|
|
2669
2673
|
});
|
|
2670
|
-
|
|
2674
|
+
w("x", function(e, t, s) {
|
|
2671
2675
|
s._d = new Date(m(e));
|
|
2672
2676
|
});
|
|
2673
2677
|
//! moment.js
|
|
@@ -2677,7 +2681,7 @@ l.fn = o;
|
|
|
2677
2681
|
l.min = Da;
|
|
2678
2682
|
l.max = Ya;
|
|
2679
2683
|
l.now = Oa;
|
|
2680
|
-
l.utc =
|
|
2684
|
+
l.utc = H;
|
|
2681
2685
|
l.unix = ti;
|
|
2682
2686
|
l.months = ri;
|
|
2683
2687
|
l.isDate = Me;
|
|
@@ -2691,7 +2695,7 @@ l.localeData = Q;
|
|
|
2691
2695
|
l.isDuration = Re;
|
|
2692
2696
|
l.monthsShort = ai;
|
|
2693
2697
|
l.weekdaysMin = oi;
|
|
2694
|
-
l.defineLocale =
|
|
2698
|
+
l.defineLocale = pt;
|
|
2695
2699
|
l.updateLocale = ta;
|
|
2696
2700
|
l.locales = sa;
|
|
2697
2701
|
l.weekdaysShort = ii;
|
|
@@ -2742,8 +2746,8 @@ class Ui {
|
|
|
2742
2746
|
* @returns 返回一个AxiosPromise,解析为商品SPU的分页信息
|
|
2743
2747
|
*/
|
|
2744
2748
|
findPage(t) {
|
|
2745
|
-
const s =
|
|
2746
|
-
return t && (t.hasApproval = t.approvalStatus != null, t.hasShelf = t.shelf != null),
|
|
2749
|
+
const s = I().user.tenant;
|
|
2750
|
+
return t && (t.hasApproval = t.approvalStatus != null, t.hasShelf = t.shelf != null, t.hasGoodsType = t.goodsType != null), C(t), U({
|
|
2747
2751
|
url: "/v1/goods/goods_spu/page/" + s,
|
|
2748
2752
|
method: "get",
|
|
2749
2753
|
params: t
|
|
@@ -2755,8 +2759,8 @@ class Ui {
|
|
|
2755
2759
|
* @returns 返回一个AxiosPromise,解析后提供商品SPU列表
|
|
2756
2760
|
*/
|
|
2757
2761
|
findList(t) {
|
|
2758
|
-
const s =
|
|
2759
|
-
return
|
|
2762
|
+
const s = I().user.tenant;
|
|
2763
|
+
return C(t), U({
|
|
2760
2764
|
url: "/v1/goods/goods_spu/list/" + s,
|
|
2761
2765
|
method: "get",
|
|
2762
2766
|
params: t
|
|
@@ -2768,8 +2772,8 @@ class Ui {
|
|
|
2768
2772
|
* @returns 返回一个AxiosPromise对象,解析为商品SPU模型
|
|
2769
2773
|
*/
|
|
2770
2774
|
findById(t) {
|
|
2771
|
-
const s =
|
|
2772
|
-
return
|
|
2775
|
+
const s = I().user.tenant;
|
|
2776
|
+
return C(t), U({
|
|
2773
2777
|
url: "/v1/goods/goods_spu/id/" + s + "/" + t.spuId,
|
|
2774
2778
|
method: "get"
|
|
2775
2779
|
});
|
|
@@ -2780,19 +2784,26 @@ class Ui {
|
|
|
2780
2784
|
* @returns 返回一个Promise对象,解析为创建的商品SPU模型
|
|
2781
2785
|
*/
|
|
2782
2786
|
create(t) {
|
|
2783
|
-
return t.tenant =
|
|
2787
|
+
return t.tenant = I().user.tenant, C(t), U({
|
|
2784
2788
|
url: "/v1/goods/goods_spu",
|
|
2785
2789
|
method: "post",
|
|
2786
2790
|
data: t
|
|
2787
2791
|
});
|
|
2788
2792
|
}
|
|
2793
|
+
createList(t) {
|
|
2794
|
+
return t.tenant = I().user.tenant, C(t), U({
|
|
2795
|
+
url: "/v1/goods/goods_spu/group",
|
|
2796
|
+
method: "post",
|
|
2797
|
+
data: t
|
|
2798
|
+
});
|
|
2799
|
+
}
|
|
2789
2800
|
/**
|
|
2790
2801
|
* 修改实体商品SPU
|
|
2791
2802
|
* @param data 包含要更新的商品SPU信息的对象
|
|
2792
2803
|
* @returns 返回一个Promise,解析为更新后的商品SPU模型
|
|
2793
2804
|
*/
|
|
2794
2805
|
update(t) {
|
|
2795
|
-
return t.tenant =
|
|
2806
|
+
return t.tenant = I().user.tenant, C(t), U({
|
|
2796
2807
|
url: "/v1/goods/goods_spu",
|
|
2797
2808
|
method: "patch",
|
|
2798
2809
|
data: t
|
|
@@ -2806,7 +2817,7 @@ class Ui {
|
|
|
2806
2817
|
*/
|
|
2807
2818
|
enable(t, s) {
|
|
2808
2819
|
const r = { ...t };
|
|
2809
|
-
return r.tenant =
|
|
2820
|
+
return r.tenant = I().user.tenant, r.shelf = s, C(r), U({
|
|
2810
2821
|
url: "/v1/goods/goods_spu/on_sale/" + r.spuId,
|
|
2811
2822
|
method: "put",
|
|
2812
2823
|
data: r
|
|
@@ -2818,7 +2829,7 @@ class Ui {
|
|
|
2818
2829
|
* @returns 返回一个AxiosPromise对象,包含删除操作的结果信息
|
|
2819
2830
|
*/
|
|
2820
2831
|
delete(t) {
|
|
2821
|
-
return t.tenant =
|
|
2832
|
+
return t.tenant = I().user.tenant, C(t), U({
|
|
2822
2833
|
url: "/v1/goods/goods_spu/id",
|
|
2823
2834
|
method: "delete",
|
|
2824
2835
|
params: t
|
|
@@ -2831,10 +2842,10 @@ class Ui {
|
|
|
2831
2842
|
*/
|
|
2832
2843
|
batchDelete(t) {
|
|
2833
2844
|
const s = t.map((a) => a.spuId), r = {
|
|
2834
|
-
tenant:
|
|
2845
|
+
tenant: I().user.tenant,
|
|
2835
2846
|
spuId: s
|
|
2836
2847
|
};
|
|
2837
|
-
return
|
|
2848
|
+
return C(r), U({
|
|
2838
2849
|
url: "/v1/goods/goods_spu/batch",
|
|
2839
2850
|
method: "put",
|
|
2840
2851
|
data: r
|
|
@@ -2848,16 +2859,16 @@ class Ui {
|
|
|
2848
2859
|
*/
|
|
2849
2860
|
audit(t, s) {
|
|
2850
2861
|
const r = { ...t };
|
|
2851
|
-
return r.tenant =
|
|
2862
|
+
return r.tenant = I().user.tenant, r.status = s, C(r), U({
|
|
2852
2863
|
url: "/v1/goods/goods_spu/audit",
|
|
2853
2864
|
method: "put",
|
|
2854
2865
|
data: r
|
|
2855
2866
|
});
|
|
2856
2867
|
}
|
|
2857
2868
|
}
|
|
2858
|
-
const Hi = new Ui(),
|
|
2869
|
+
const Hi = new Ui(), Ai = /* @__PURE__ */ Object.assign({ "./views/goods/goods-brand-info/edit.vue": () => import("./edit-DxnsmaXV.mjs"), "./views/goods/goods-brand-info/index.vue": () => import("./index-_xxSoBUe.mjs"), "./views/goods/goods-category/edit.vue": () => import("./edit-Byv9oYAC.mjs"), "./views/goods/goods-category/index.vue": () => import("./index-4i7TnWvV.mjs"), "./views/goods/goods-combination/edit.vue": () => import("./edit-exVf8d8b.mjs"), "./views/goods/goods-combination/goodsList.vue": () => import("./goodsList-CZUqc4nm.mjs"), "./views/goods/goods-combination/index.vue": () => import("./index-BVGn6Q_T.mjs"), "./views/goods/goods-combination/info.vue": () => import("./info-BQaaTFry.mjs"), "./views/goods/goods-combination/skuForm.vue": () => import("./skuForm-AMIoZkH-.mjs"), "./views/goods/goods-combination/skuTable.vue": () => import("./skuTable-DDWSmvoz.mjs"), "./views/goods/goods-label-info/edit.vue": () => import("./edit-BcokSKfN.mjs"), "./views/goods/goods-label-info/index.vue": () => import("./index-CQIttgns.mjs"), "./views/goods/goods-spu/edit.vue": () => import("./edit-Nuaz9WSB.mjs"), "./views/goods/goods-spu/goodsList.vue": () => import("./goodsList-IWDAvKOx.mjs"), "./views/goods/goods-spu/index.vue": () => import("./index-B_U2s9fI.mjs"), "./views/goods/goods-spu/info.vue": () => import("./info-BH4MW3Sw.mjs"), "./views/goods/goods-spu/skuForm.vue": () => import("./skuForm-CgjMd46J.mjs"), "./views/goods/goods-spu/skuTable.vue": () => import("./skuTable-CyGQuTvR.mjs") }), Vi = {
|
|
2859
2870
|
install(e) {
|
|
2860
|
-
Os(
|
|
2871
|
+
Os(Ai, 7), Ns(Ts), bs(Ls), e.use(Ci);
|
|
2861
2872
|
}
|
|
2862
2873
|
};
|
|
2863
2874
|
export {
|