50p82u21t54k 0.0.8 → 0.0.10
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/50p82u21t54k.es.js +113 -36
- package/dist/50p82u21t54k.umd.js +1 -1
- package/dist/announcement/index.d.ts +2 -0
- package/dist/announcement/index.d.ts.map +1 -0
- package/dist/announcement/method.d.ts +2 -0
- package/dist/announcement/method.d.ts.map +1 -0
- package/dist/announcement/type.d.ts +9 -0
- package/dist/announcement/type.d.ts.map +1 -0
- package/dist/gKey/index.d.ts +2 -0
- package/dist/gKey/index.d.ts.map +1 -0
- package/dist/gKey/method.d.ts +2 -0
- package/dist/gKey/method.d.ts.map +1 -0
- package/dist/gKey/type.d.ts +1 -0
- package/dist/gKey/type.d.ts.map +1 -0
- package/dist/index.d.ts +18 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/plugin.d.ts +3 -6
- package/dist/plugin.d.ts.map +1 -1
- package/dist/product/index.d.ts +3 -0
- package/dist/product/index.d.ts.map +1 -0
- package/dist/product/method.d.ts +4 -0
- package/dist/product/method.d.ts.map +1 -0
- package/dist/{products/model.d.ts → product/type.d.ts} +2 -2
- package/dist/product/type.d.ts.map +1 -0
- package/dist/promo/index.d.ts +3 -0
- package/dist/promo/index.d.ts.map +1 -0
- package/dist/promo/method.d.ts +4 -0
- package/dist/promo/method.d.ts.map +1 -0
- package/dist/promo/type.d.ts +14 -0
- package/dist/promo/type.d.ts.map +1 -0
- package/dist/promoCat/index.d.ts +3 -0
- package/dist/promoCat/index.d.ts.map +1 -0
- package/dist/promoCat/method.d.ts +4 -0
- package/dist/promoCat/method.d.ts.map +1 -0
- package/dist/promoCat/type.d.ts +10 -0
- package/dist/promoCat/type.d.ts.map +1 -0
- package/dist/util/tool.d.ts +2 -0
- package/dist/util/tool.d.ts.map +1 -0
- package/dist/util/type.d.ts +6 -1
- package/dist/util/type.d.ts.map +1 -1
- package/package.json +4 -1
- package/dist/products/index.d.ts +0 -3
- package/dist/products/index.d.ts.map +0 -1
- package/dist/products/method.d.ts +0 -4
- package/dist/products/method.d.ts.map +0 -1
- package/dist/products/model.d.ts.map +0 -1
package/dist/50p82u21t54k.es.js
CHANGED
|
@@ -1,51 +1,128 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return `${o}/api`;
|
|
7
|
-
}
|
|
8
|
-
function l(t) {
|
|
9
|
-
u = t;
|
|
1
|
+
import o from "axios";
|
|
2
|
+
import a from "crypto-js";
|
|
3
|
+
let c = "";
|
|
4
|
+
function u(t) {
|
|
5
|
+
c = t;
|
|
10
6
|
}
|
|
11
7
|
function g() {
|
|
12
|
-
return
|
|
8
|
+
return c;
|
|
13
9
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
function r() {
|
|
11
|
+
return c === "" ? 0 : 1;
|
|
12
|
+
}
|
|
13
|
+
const f = {
|
|
14
|
+
install(t) {
|
|
15
|
+
t.provide("setRepositoryGKey", u);
|
|
16
|
+
}
|
|
17
|
+
}, i = (t) => {
|
|
18
|
+
const e = JSON.parse(
|
|
19
|
+
a.AES.decrypt(t, g(), {
|
|
20
|
+
format: d
|
|
21
|
+
}).toString(a.enc.Utf8)
|
|
22
|
+
);
|
|
23
|
+
return e !== "" ? JSON.parse(e) : e;
|
|
24
|
+
}, d = {
|
|
25
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
26
|
+
stringify: function(t) {
|
|
27
|
+
const e = {
|
|
28
|
+
ct: t.ciphertext.toString(a.enc.Base64)
|
|
29
|
+
};
|
|
30
|
+
return t.iv && (e.iv = t.iv.toString()), t.salt && (e.s = t.salt.toString()), JSON.stringify(e);
|
|
31
|
+
},
|
|
32
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
33
|
+
parse: function(t) {
|
|
34
|
+
const e = JSON.parse(t), s = a.lib.CipherParams.create({
|
|
35
|
+
ciphertext: a.enc.Base64.parse(e.ct)
|
|
36
|
+
});
|
|
37
|
+
return e.iv && (s.iv = a.enc.Hex.parse(e.iv)), e.s && (s.salt = a.enc.Hex.parse(e.s)), t;
|
|
17
38
|
}
|
|
18
39
|
};
|
|
19
|
-
async function
|
|
40
|
+
async function l() {
|
|
41
|
+
const t = {
|
|
42
|
+
status: 0,
|
|
43
|
+
message: "",
|
|
44
|
+
data: []
|
|
45
|
+
};
|
|
46
|
+
try {
|
|
47
|
+
const e = await o.get("/apis/products", {
|
|
48
|
+
params: {
|
|
49
|
+
render: r()
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
let s;
|
|
53
|
+
return r() ? s = i(e.data) : s = e.data, t.status = e.status, t.status != 200 ? (t.message = e.statusText, t) : s.code != 200 ? (t.message = s.message, t) : (console.log("this is data"), console.log(s.code), t.data = s.results.data, t);
|
|
54
|
+
} catch (e) {
|
|
55
|
+
return t.status = 123, t.message = `${e}`, t;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
async function y() {
|
|
59
|
+
try {
|
|
60
|
+
const t = await o.get("/apis/announcements", {
|
|
61
|
+
params: {
|
|
62
|
+
render: r()
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
let e;
|
|
66
|
+
return r() ? e = i(t.data) : e = t.data, e;
|
|
67
|
+
} catch (t) {
|
|
68
|
+
return JSON.stringify(t);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
async function S() {
|
|
72
|
+
try {
|
|
73
|
+
return "";
|
|
74
|
+
} catch (t) {
|
|
75
|
+
return JSON.stringify(t);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
async function J() {
|
|
79
|
+
const t = {
|
|
80
|
+
status: 0,
|
|
81
|
+
message: "",
|
|
82
|
+
data: []
|
|
83
|
+
};
|
|
84
|
+
try {
|
|
85
|
+
const e = await o.get("/apis/promo", {
|
|
86
|
+
params: {
|
|
87
|
+
render: r()
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
let s;
|
|
91
|
+
return r() ? s = i(e.data) : s = e.data, t.status = e.status, t.status != 200 ? (t.message = e.statusText, t) : s.code != 200 ? (t.message = s.message, t) : (t.data = s.results.data.map((n) => ({
|
|
92
|
+
category_id: n.category_id,
|
|
93
|
+
promo_title: n.promo_title,
|
|
94
|
+
content: n.content,
|
|
95
|
+
start_time: n.start_time ?? "",
|
|
96
|
+
end_time: n.end_time ?? "",
|
|
97
|
+
img_path: n.img_path
|
|
98
|
+
})), t);
|
|
99
|
+
} catch (e) {
|
|
100
|
+
return console.error(JSON.stringify(e)), t.message = `${e}`, t;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
async function _() {
|
|
20
104
|
const t = {
|
|
21
|
-
status:
|
|
105
|
+
status: 0,
|
|
22
106
|
message: "",
|
|
23
107
|
data: []
|
|
24
108
|
};
|
|
25
109
|
try {
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
if (g()) {
|
|
30
|
-
console.log(e.status);
|
|
31
|
-
try {
|
|
32
|
-
console.log(JSON.parse(a));
|
|
33
|
-
} catch {
|
|
34
|
-
console.log(a);
|
|
110
|
+
const e = await o.get("/apis/promoCat", {
|
|
111
|
+
params: {
|
|
112
|
+
render: r()
|
|
35
113
|
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
return t.data = n.results.data, t;
|
|
42
|
-
}
|
|
43
|
-
return t;
|
|
44
|
-
} catch (s) {
|
|
45
|
-
return t.status = !1, t.message = `${s}`, t;
|
|
114
|
+
});
|
|
115
|
+
let s;
|
|
116
|
+
return r() ? s = i(e.data) : s = e.data, t.status = e.status, t.status != 200 ? (t.message = e.statusText, t) : s.code != 200 ? (t.message = s.message, t) : (t.data = s.results.data, t);
|
|
117
|
+
} catch (e) {
|
|
118
|
+
return console.error(JSON.stringify(e)), t.message = `${e}`, t;
|
|
46
119
|
}
|
|
47
120
|
}
|
|
48
121
|
export {
|
|
49
|
-
f as
|
|
50
|
-
|
|
122
|
+
f as Repository,
|
|
123
|
+
y as getAnnouncement,
|
|
124
|
+
S as getGKey,
|
|
125
|
+
l as getProduct,
|
|
126
|
+
J as getPromo,
|
|
127
|
+
_ as getPromoCat
|
|
51
128
|
};
|
package/dist/50p82u21t54k.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(r,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("axios"),require("crypto-js")):typeof define=="function"&&define.amd?define(["exports","axios","crypto-js"],a):(r=typeof globalThis<"u"?globalThis:r||self,a(r["50p82u21t54k"]={},r.axios,r.CryptoJS))})(this,function(r,a,i){"use strict";let c="";function d(t){c=t}function g(){return c}function n(){return c===""?0:1}const f={install(t){t.provide("setRepositoryGKey",d)}},u=t=>{const e=JSON.parse(i.AES.decrypt(t,g(),{format:m}).toString(i.enc.Utf8));return e!==""?JSON.parse(e):e},m={stringify:function(t){const e={ct:t.ciphertext.toString(i.enc.Base64)};return t.iv&&(e.iv=t.iv.toString()),t.salt&&(e.s=t.salt.toString()),JSON.stringify(e)},parse:function(t){const e=JSON.parse(t),s=i.lib.CipherParams.create({ciphertext:i.enc.Base64.parse(e.ct)});return e.iv&&(s.iv=i.enc.Hex.parse(e.iv)),e.s&&(s.salt=i.enc.Hex.parse(e.s)),t}};async function p(){const t={status:0,message:"",data:[]};try{const e=await a.get("/apis/products",{params:{render:n()}});let s;return n()?s=u(e.data):s=e.data,t.status=e.status,t.status!=200?(t.message=e.statusText,t):s.code!=200?(t.message=s.message,t):(console.log("this is data"),console.log(s.code),t.data=s.results.data,t)}catch(e){return t.status=123,t.message=`${e}`,t}}async function l(){try{const t=await a.get("/apis/announcements",{params:{render:n()}});let e;return n()?e=u(t.data):e=t.data,e}catch(t){return JSON.stringify(t)}}async function y(){try{return""}catch(t){return JSON.stringify(t)}}async function h(){const t={status:0,message:"",data:[]};try{const e=await a.get("/apis/promo",{params:{render:n()}});let s;return n()?s=u(e.data):s=e.data,t.status=e.status,t.status!=200?(t.message=e.statusText,t):s.code!=200?(t.message=s.message,t):(t.data=s.results.data.map(o=>({category_id:o.category_id,promo_title:o.promo_title,content:o.content,start_time:o.start_time??"",end_time:o.end_time??"",img_path:o.img_path})),t)}catch(e){return console.error(JSON.stringify(e)),t.message=`${e}`,t}}async function S(){const t={status:0,message:"",data:[]};try{const e=await a.get("/apis/promoCat",{params:{render:n()}});let s;return n()?s=u(e.data):s=e.data,t.status=e.status,t.status!=200?(t.message=e.statusText,t):s.code!=200?(t.message=s.message,t):(t.data=s.results.data,t)}catch(e){return console.error(JSON.stringify(e)),t.message=`${e}`,t}}r.Repository=f,r.getAnnouncement=l,r.getGKey=y,r.getProduct=p,r.getPromo=h,r.getPromoCat=S,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/announcement/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/announcement/method.ts"],"names":[],"mappings":"AAIA,wBAAsB,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC,CAoBvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/announcement/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,IAAI,EAAE,QAAQ,EAAE,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/gKey/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/gKey/method.ts"],"names":[],"mappings":"AAAA,wBAAsB,OAAO,IAAI,OAAO,CAAC,MAAM,CAAC,CAM/C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/gKey/type.ts"],"names":[],"mappings":""}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export
|
|
1
|
+
export * from './product';
|
|
2
|
+
export * from './announcement';
|
|
3
|
+
export * from './gKey';
|
|
4
|
+
export * from './promo';
|
|
5
|
+
export * from './promoCat';
|
|
6
|
+
export { default as Repository } from './plugin';
|
|
7
|
+
import * as product from './product';
|
|
8
|
+
import * as announcement from './announcement';
|
|
9
|
+
import * as gKey from './gKey';
|
|
10
|
+
import * as promo from './promo';
|
|
11
|
+
import * as promoCat from './promoCat';
|
|
12
|
+
export type RepositoryType = {
|
|
13
|
+
product: typeof product;
|
|
14
|
+
announcement: typeof announcement;
|
|
15
|
+
gKey: typeof gKey;
|
|
16
|
+
promo: typeof promo;
|
|
17
|
+
promoCat: typeof promoCat;
|
|
18
|
+
};
|
|
3
19
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAEhD,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AACpC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAA;AAC9C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAA;AAC9B,OAAO,KAAK,KAAK,MAAM,SAAS,CAAA;AAChC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAA;AAEtC,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,OAAO,OAAO,CAAA;IACvB,YAAY,EAAE,OAAO,YAAY,CAAA;IACjC,IAAI,EAAE,OAAO,IAAI,CAAA;IACjB,KAAK,EAAE,OAAO,KAAK,CAAA;IACnB,QAAQ,EAAE,OAAO,QAAQ,CAAA;CAC1B,CAAA"}
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function
|
|
3
|
+
export declare function getGKey(): string;
|
|
4
|
+
export declare function getRender(): number;
|
|
5
5
|
declare const _default: {
|
|
6
|
-
install(
|
|
7
|
-
baseURL: string;
|
|
8
|
-
status: boolean;
|
|
9
|
-
}): void;
|
|
6
|
+
install(app: App): void;
|
|
10
7
|
};
|
|
11
8
|
export default _default;
|
|
12
9
|
//# sourceMappingURL=plugin.d.ts.map
|
package/dist/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAQzB,wBAAgB,OAAO,IAAI,MAAM,CAEhC;AAED,wBAAgB,SAAS,IAAI,MAAM,CAElC;;iBAGc,GAAG;;AADlB,wBAIC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/product/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/product/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAW,eAAe,EAAE,MAAM,QAAQ,CAAA;AAEjD,wBAAsB,UAAU,IAAI,OAAO,CAAC,eAAe,CAAC,CA6C3D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseType } from '../util/type';
|
|
2
2
|
|
|
3
|
-
export type
|
|
3
|
+
export type ProductResponse = BaseType & {
|
|
4
4
|
data: Product[];
|
|
5
5
|
};
|
|
6
6
|
export type Product = {
|
|
@@ -21,4 +21,4 @@ export type PlatformProduct = {
|
|
|
21
21
|
name: string;
|
|
22
22
|
url: string;
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=
|
|
24
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/product/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG;IACvC,IAAI,EAAE,OAAO,EAAE,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,EAAE,EAAE,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,EAAE,MAAM,CAAA;IAClB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,iBAAiB,EAAE,MAAM,CAAA;IACzB,gBAAgB,EAAE,MAAM,CAAA;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/promo/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/promo/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAA;AAEtC,wBAAsB,QAAQ,IAAI,OAAO,CAAC,aAAa,CAAC,CAoDvD"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseType } from '../util/type';
|
|
2
|
+
|
|
3
|
+
export type PromoResponse = BaseType & {
|
|
4
|
+
data: Promo[];
|
|
5
|
+
};
|
|
6
|
+
export type Promo = {
|
|
7
|
+
category_id: number;
|
|
8
|
+
promo_title: string;
|
|
9
|
+
content: string;
|
|
10
|
+
start_time: string;
|
|
11
|
+
end_time: string;
|
|
12
|
+
img_path: string;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/promo/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG;IACrC,IAAI,EAAE,KAAK,EAAE,CAAA;CACd,CAAA;AAED,MAAM,MAAM,KAAK,GAAG;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/promoCat/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/promoCat/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAEzC,wBAAsB,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC,CA0C7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/promoCat/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,IAAI,EAAE,GAAG,EAAE,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,GAAG,GAAG;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACb,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../src/util/tool.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,SAAU,MAAM,QAYnC,CAAA"}
|
package/dist/util/type.d.ts
CHANGED
package/dist/util/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/util/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/util/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG;IACrB,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,CAAC,CAAC,EAAE,MAAM,CAAA;CACX,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "50p82u21t54k",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "A description of your library",
|
|
5
5
|
"main": "dist/50p82u21t54k.umd.js",
|
|
6
6
|
"module": "dist/50p82u21t54k.es.js",
|
|
@@ -37,6 +37,9 @@
|
|
|
37
37
|
"vite-plugin-dts": "^3.9.1"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
+
"@types/crypto-js": "^4.2.2",
|
|
41
|
+
"axios": "^1.7.2",
|
|
42
|
+
"crypto-js": "^4.2.0",
|
|
40
43
|
"vue": "^3.4.27"
|
|
41
44
|
}
|
|
42
45
|
}
|
package/dist/products/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/products/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/products/method.ts"],"names":[],"mappings":"AACA,OAAO,EAAW,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAEnD,wBAAsB,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC,CA4C7D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/products/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,IAAI,EAAE,OAAO,EAAE,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,eAAe,EAAE,EAAE,CAAA;IACnB,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,EAAE,MAAM,CAAA;IAClB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,iBAAiB,EAAE,MAAM,CAAA;IACzB,gBAAgB,EAAE,MAAM,CAAA;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA"}
|