50p82u21t54k 0.0.14 → 0.0.16
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 +65 -47
- package/dist/50p82u21t54k.umd.js +1 -1
- package/dist/announcement/method.d.ts.map +1 -1
- package/dist/gKey/method.d.ts +1 -0
- package/dist/gKey/method.d.ts.map +1 -1
- package/dist/index.d.ts +9 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/language/index.d.ts.map +1 -0
- package/dist/language/method.d.ts +4 -0
- package/dist/language/method.d.ts.map +1 -0
- package/dist/language/type.d.ts +12 -0
- package/dist/language/type.d.ts.map +1 -0
- package/dist/platforms/index.d.ts.map +1 -0
- package/dist/platforms/method.d.ts.map +1 -0
- package/dist/platforms/type.d.ts.map +1 -0
- package/dist/plugin.d.ts +2 -5
- package/dist/plugin.d.ts.map +1 -1
- package/dist/products/index.d.ts.map +1 -0
- package/dist/products/method.d.ts.map +1 -0
- package/dist/products/type.d.ts.map +1 -0
- package/dist/promotions/index.d.ts +3 -0
- package/dist/promotions/index.d.ts.map +1 -0
- package/dist/promotions/method.d.ts.map +1 -0
- package/dist/promotions/type.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/platform/index.d.ts.map +0 -1
- package/dist/platform/method.d.ts.map +0 -1
- package/dist/platform/type.d.ts.map +0 -1
- package/dist/product/index.d.ts.map +0 -1
- package/dist/product/method.d.ts.map +0 -1
- package/dist/product/type.d.ts.map +0 -1
- package/dist/promotion/index.d.ts.map +0 -1
- package/dist/promotion/method.d.ts.map +0 -1
- package/dist/promotion/type.d.ts.map +0 -1
- /package/dist/{platform → language}/index.d.ts +0 -0
- /package/dist/{product → platforms}/index.d.ts +0 -0
- /package/dist/{platform → platforms}/method.d.ts +0 -0
- /package/dist/{platform → platforms}/type.d.ts +0 -0
- /package/dist/{promotion → products}/index.d.ts +0 -0
- /package/dist/{product → products}/method.d.ts +0 -0
- /package/dist/{product → products}/type.d.ts +0 -0
- /package/dist/{promotion → promotions}/method.d.ts +0 -0
- /package/dist/{promotion → promotions}/type.d.ts +0 -0
package/dist/50p82u21t54k.es.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import d from "axios";
|
|
2
|
-
import
|
|
3
|
-
|
|
2
|
+
import { ref as m } from "vue";
|
|
3
|
+
import c from "crypto-js";
|
|
4
|
+
const o = d.create({
|
|
4
5
|
baseURL: "/apis",
|
|
5
6
|
timeout: 5e3,
|
|
6
7
|
// Request timeout
|
|
@@ -46,12 +47,12 @@ const c = d.create({
|
|
|
46
47
|
// },
|
|
47
48
|
// },
|
|
48
49
|
});
|
|
49
|
-
|
|
50
|
+
o.interceptors.request.use(
|
|
50
51
|
(e) => e,
|
|
51
52
|
(e) => (console.error("Error request:", e.response), Promise.reject(e))
|
|
52
53
|
);
|
|
53
|
-
|
|
54
|
-
(e) =>
|
|
54
|
+
o.interceptors.response.use(
|
|
55
|
+
(e) => e,
|
|
55
56
|
(e) => {
|
|
56
57
|
const s = {
|
|
57
58
|
status: null,
|
|
@@ -60,44 +61,37 @@ c.interceptors.response.use(
|
|
|
60
61
|
return e.response ? (s.status = e.response.status, s.message = e.response.data.message || e.response.statusText, console.error("Error response:", JSON.stringify(s)), e.response.status === 401 ? console.error("Unauthorized access - redirecting to login.") : e.response.status === 404 ? console.error("Resource not found.") : e.response.status >= 500 && console.error("Server error. Please try again later.")) : e.request ? console.error("No response received:", e.request) : console.error("Error setting up request:", e.message), Promise.reject(s);
|
|
61
62
|
}
|
|
62
63
|
);
|
|
63
|
-
|
|
64
|
-
function
|
|
65
|
-
i
|
|
66
|
-
}
|
|
67
|
-
function m() {
|
|
68
|
-
return i;
|
|
69
|
-
}
|
|
70
|
-
function n() {
|
|
71
|
-
return i === "" ? 0 : 1;
|
|
64
|
+
const i = m("");
|
|
65
|
+
function a() {
|
|
66
|
+
return i.value === "" ? 0 : 1;
|
|
72
67
|
}
|
|
73
68
|
const f = {
|
|
74
|
-
install(
|
|
75
|
-
e.provide("setRepositoryGKey", p);
|
|
69
|
+
install() {
|
|
76
70
|
}
|
|
77
71
|
}, u = (e) => {
|
|
78
72
|
try {
|
|
79
73
|
const s = JSON.parse(
|
|
80
|
-
|
|
74
|
+
c.AES.decrypt(e, i.value, {
|
|
81
75
|
format: {
|
|
82
76
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
83
77
|
stringify: (t) => {
|
|
84
78
|
const r = {
|
|
85
|
-
ct: t.ciphertext.toString(
|
|
79
|
+
ct: t.ciphertext.toString(c.enc.Base64)
|
|
86
80
|
};
|
|
87
81
|
return t.iv && (r.iv = t.iv.toString()), t.salt && (r.s = t.salt.toString()), JSON.stringify(r);
|
|
88
82
|
},
|
|
89
83
|
parse: (t) => {
|
|
90
|
-
const r = JSON.parse(t),
|
|
91
|
-
ciphertext:
|
|
84
|
+
const r = JSON.parse(t), n = c.lib.CipherParams.create({
|
|
85
|
+
ciphertext: c.enc.Base64.parse(r.ct)
|
|
92
86
|
});
|
|
93
|
-
return r.iv && (
|
|
87
|
+
return r.iv && (n.iv = c.enc.Hex.parse(r.iv)), r.s && (n.salt = c.enc.Hex.parse(r.s)), n;
|
|
94
88
|
}
|
|
95
89
|
}
|
|
96
|
-
}).toString(
|
|
90
|
+
}).toString(c.enc.Utf8)
|
|
97
91
|
);
|
|
98
92
|
return s !== "" ? JSON.parse(s) : s;
|
|
99
93
|
} catch (s) {
|
|
100
|
-
return console.
|
|
94
|
+
return console.error(s), "";
|
|
101
95
|
}
|
|
102
96
|
};
|
|
103
97
|
async function y() {
|
|
@@ -107,13 +101,13 @@ async function y() {
|
|
|
107
101
|
data: []
|
|
108
102
|
};
|
|
109
103
|
try {
|
|
110
|
-
const s = await
|
|
104
|
+
const s = await o.get("/products", {
|
|
111
105
|
params: {
|
|
112
|
-
render:
|
|
106
|
+
render: a()
|
|
113
107
|
}
|
|
114
108
|
});
|
|
115
109
|
let t;
|
|
116
|
-
return
|
|
110
|
+
return a() ? t = u(s.data) : t = s.data, t.code !== 200 ? (e.status = t.code, e.message = t.message, e) : (e.data = t.results.data, e);
|
|
117
111
|
} catch (s) {
|
|
118
112
|
const t = s;
|
|
119
113
|
return e.status = t.status || 500, e.message = t.message || "An unexpected error occurred", e;
|
|
@@ -126,13 +120,13 @@ async function _() {
|
|
|
126
120
|
data: []
|
|
127
121
|
};
|
|
128
122
|
try {
|
|
129
|
-
const s = await
|
|
123
|
+
const s = await o.get("/platforms", {
|
|
130
124
|
params: {
|
|
131
|
-
render:
|
|
125
|
+
render: a()
|
|
132
126
|
}
|
|
133
127
|
});
|
|
134
128
|
let t;
|
|
135
|
-
return
|
|
129
|
+
return a() ? t = u(s.data) : t = s.data, t.code !== 200 ? (e.status = t.code, e.message = t.message, e) : (e.data = t.results.data, e);
|
|
136
130
|
} catch (s) {
|
|
137
131
|
const t = s;
|
|
138
132
|
return e.status = t.status || 500, e.message = t.message || "An unexpected error occurred", e;
|
|
@@ -145,13 +139,13 @@ async function x() {
|
|
|
145
139
|
data: []
|
|
146
140
|
};
|
|
147
141
|
try {
|
|
148
|
-
const s = await
|
|
142
|
+
const s = await o.get("/announcements", {
|
|
149
143
|
params: {
|
|
150
|
-
render:
|
|
144
|
+
render: a()
|
|
151
145
|
}
|
|
152
146
|
});
|
|
153
147
|
let t;
|
|
154
|
-
return
|
|
148
|
+
return a() ? t = u(s.data) : t = s.data, t.code != 200 ? (e.status = t.code, e.message = t.message, e) : (console.log(t), e.data = t.results.data.map((r) => ({
|
|
155
149
|
alert: r.alert === "1",
|
|
156
150
|
announcement_content: r.announcement_content,
|
|
157
151
|
date_created: r.date_created
|
|
@@ -161,16 +155,19 @@ async function x() {
|
|
|
161
155
|
return e.status = t.status || 500, e.message = "", e;
|
|
162
156
|
}
|
|
163
157
|
}
|
|
164
|
-
async function S() {
|
|
158
|
+
async function S(e) {
|
|
159
|
+
i.value = e;
|
|
160
|
+
}
|
|
161
|
+
async function h() {
|
|
165
162
|
const e = {
|
|
166
163
|
status: 200,
|
|
167
164
|
message: "",
|
|
168
165
|
data: ""
|
|
169
166
|
};
|
|
170
167
|
try {
|
|
171
|
-
const t = (await
|
|
168
|
+
const t = (await o.get("/getGKey", {
|
|
172
169
|
params: {
|
|
173
|
-
render:
|
|
170
|
+
render: a()
|
|
174
171
|
}
|
|
175
172
|
})).data;
|
|
176
173
|
return t.code !== 200 ? (e.status = t.code, e.message = t.message, e) : (e.data = t.results.gkey, e);
|
|
@@ -179,29 +176,29 @@ async function S() {
|
|
|
179
176
|
return e.status = t.status || 500, e.message = t.message || "An unexpected error occurred", e;
|
|
180
177
|
}
|
|
181
178
|
}
|
|
182
|
-
async function
|
|
179
|
+
async function A() {
|
|
183
180
|
const e = {
|
|
184
181
|
status: 200,
|
|
185
182
|
message: "",
|
|
186
183
|
data: []
|
|
187
184
|
};
|
|
188
185
|
try {
|
|
189
|
-
const s = await
|
|
186
|
+
const s = await o.get("/promotions", {
|
|
190
187
|
params: {
|
|
191
|
-
render:
|
|
188
|
+
render: a()
|
|
192
189
|
}
|
|
193
190
|
});
|
|
194
191
|
let t;
|
|
195
|
-
return
|
|
192
|
+
return a() ? t = u(s.data) : t = s.data, t.code !== 200 ? (e.status = t.code, e.message = t.message, e) : (console.log(t), e.data = t.results.data.map((r) => ({
|
|
196
193
|
cat_id: r.cat_id,
|
|
197
194
|
name: r.name,
|
|
198
195
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
199
|
-
promo_list: r.promo_list.map((
|
|
200
|
-
promo_title:
|
|
201
|
-
start_time:
|
|
202
|
-
end_time:
|
|
203
|
-
img_path:
|
|
204
|
-
content:
|
|
196
|
+
promo_list: r.promo_list.map((n) => ({
|
|
197
|
+
promo_title: n.promo_title,
|
|
198
|
+
start_time: n.start_time ?? "",
|
|
199
|
+
end_time: n.end_time ?? "",
|
|
200
|
+
img_path: n.img_path,
|
|
201
|
+
content: n.content
|
|
205
202
|
}))
|
|
206
203
|
})), e);
|
|
207
204
|
} catch (s) {
|
|
@@ -209,11 +206,32 @@ async function h() {
|
|
|
209
206
|
return e.status = t.status || 500, e.message = t.message || "An unexpected error occurred", e;
|
|
210
207
|
}
|
|
211
208
|
}
|
|
209
|
+
async function w() {
|
|
210
|
+
const e = {
|
|
211
|
+
status: 200,
|
|
212
|
+
message: "",
|
|
213
|
+
data: []
|
|
214
|
+
};
|
|
215
|
+
try {
|
|
216
|
+
const s = await o.get("/getLangList", {
|
|
217
|
+
params: {
|
|
218
|
+
render: a()
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
let t;
|
|
222
|
+
return a() ? t = u(s.data) : t = s.data, t.code !== 200 && (e.status = t.code, e.message = t.message), e;
|
|
223
|
+
} catch (s) {
|
|
224
|
+
const t = s;
|
|
225
|
+
return e.status = t.status || 500, e.message = t.message || "An unexpected error occurred", e;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
212
228
|
export {
|
|
213
229
|
f as Repository,
|
|
214
230
|
x as getAnnouncement,
|
|
215
|
-
|
|
231
|
+
h as getGKey,
|
|
232
|
+
w as getLanguageList,
|
|
216
233
|
_ as getPlatforms,
|
|
217
234
|
y as getProducts,
|
|
218
|
-
|
|
235
|
+
A as getPromotions,
|
|
236
|
+
S as setGKey
|
|
219
237
|
};
|
package/dist/50p82u21t54k.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(a,i){typeof exports=="object"&&typeof module<"u"?i(exports,require("axios"),require("vue"),require("crypto-js")):typeof define=="function"&&define.amd?define(["exports","axios","vue","crypto-js"],i):(a=typeof globalThis<"u"?globalThis:a||self,i(a["50p82u21t54k"]={},a.axios,a.Vue,a.CryptoJS))})(this,function(a,i,m,u){"use strict";const c=i.create({baseURL:"/apis",timeout:5e3,headers:{"Content-Type":"application/json"}});c.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),c.interceptors.response.use(e=>e,e=>{const s={status:null,message:"An error occurred"};return e.response?(s.status=e.response.status,s.message=e.response.data.message||e.response.statusText,console.error("Error response:",JSON.stringify(s)),e.response.status===401?console.error("Unauthorized access - redirecting to login."):e.response.status===404?console.error("Resource not found."):e.response.status>=500&&console.error("Server error. Please try again later.")):e.request?console.error("No response received:",e.request):console.error("Error setting up request:",e.message),Promise.reject(s)});const g=m.ref("");function n(){return g.value===""?0:1}const l={install(){}},d=e=>{try{const s=JSON.parse(u.AES.decrypt(e,g.value,{format:{stringify:t=>{const r={ct:t.ciphertext.toString(u.enc.Base64)};return t.iv&&(r.iv=t.iv.toString()),t.salt&&(r.s=t.salt.toString()),JSON.stringify(r)},parse:t=>{const r=JSON.parse(t),o=u.lib.CipherParams.create({ciphertext:u.enc.Base64.parse(r.ct)});return r.iv&&(o.iv=u.enc.Hex.parse(r.iv)),r.s&&(o.salt=u.enc.Hex.parse(r.s)),o}}}).toString(u.enc.Utf8));return s!==""?JSON.parse(s):s}catch(s){return console.error(s),""}};async function p(){const e={status:200,message:"",data:[]};try{const s=await c.get("/products",{params:{render:n()}});let t;return n()?t=d(s.data):t=s.data,t.code!==200?(e.status=t.code,e.message=t.message,e):(e.data=t.results.data,e)}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}async function f(){const e={status:200,message:"",data:[]};try{const s=await c.get("/platforms",{params:{render:n()}});let t;return n()?t=d(s.data):t=s.data,t.code!==200?(e.status=t.code,e.message=t.message,e):(e.data=t.results.data,e)}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}async function y(){const e={status:200,message:"",data:[]};try{const s=await c.get("/announcements",{params:{render:n()}});let t;return n()?t=d(s.data):t=s.data,t.code!=200?(e.status=t.code,e.message=t.message,e):(console.log(t),e.data=t.results.data.map(r=>({alert:r.alert==="1",announcement_content:r.announcement_content,date_created:r.date_created})),e)}catch(s){const t=s;return e.status=t.status||500,e.message="",e}}async function _(e){g.value=e}async function h(){const e={status:200,message:"",data:""};try{const t=(await c.get("/getGKey",{params:{render:n()}})).data;return t.code!==200?(e.status=t.code,e.message=t.message,e):(e.data=t.results.gkey,e)}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}async function j(){const e={status:200,message:"",data:[]};try{const s=await c.get("/promotions",{params:{render:n()}});let t;return n()?t=d(s.data):t=s.data,t.code!==200?(e.status=t.code,e.message=t.message,e):(console.log(t),e.data=t.results.data.map(r=>({cat_id:r.cat_id,name:r.name,promo_list:r.promo_list.map(o=>({promo_title:o.promo_title,start_time:o.start_time??"",end_time:o.end_time??"",img_path:o.img_path,content:o.content}))})),e)}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}async function x(){const e={status:200,message:"",data:[]};try{const s=await c.get("/getLangList",{params:{render:n()}});let t;return n()?t=d(s.data):t=s.data,t.code!==200&&(e.status=t.code,e.message=t.message),e}catch(s){const t=s;return e.status=t.status||500,e.message=t.message||"An unexpected error occurred",e}}a.Repository=l,a.getAnnouncement=y,a.getGKey=h,a.getLanguageList=x,a.getPlatforms=f,a.getProducts=p,a.getPromotions=j,a.setGKey=_,Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/announcement/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,wBAAsB,eAAe,IAAI,OAAO,CAAC,oBAAoB,CAAC,
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/announcement/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAA;AAE7C,wBAAsB,eAAe,IAAI,OAAO,CAAC,oBAAoB,CAAC,CA8CrE"}
|
package/dist/gKey/method.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/gKey/method.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/gKey/method.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAGxC,wBAAsB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAExD;AAED,wBAAsB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,CA+BxD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './products';
|
|
2
|
+
export * from './platforms';
|
|
3
3
|
export * from './announcement';
|
|
4
4
|
export * from './gKey';
|
|
5
|
-
export * from './
|
|
5
|
+
export * from './promotions';
|
|
6
|
+
export * from './language';
|
|
6
7
|
export { default as Repository } from './plugin';
|
|
7
|
-
import * as products from './
|
|
8
|
-
import * as platforms from './
|
|
8
|
+
import * as products from './products';
|
|
9
|
+
import * as platforms from './platforms';
|
|
9
10
|
import * as announcement from './announcement';
|
|
10
11
|
import * as gKey from './gKey';
|
|
11
|
-
import * as promotions from './
|
|
12
|
+
import * as promotions from './promotions';
|
|
13
|
+
import * as language from './language';
|
|
12
14
|
export type RepositoryType = {
|
|
13
15
|
products: typeof products;
|
|
14
16
|
platforms: typeof platforms;
|
|
15
17
|
announcement: typeof announcement;
|
|
16
18
|
gKey: typeof gKey;
|
|
17
19
|
promotions: typeof promotions;
|
|
20
|
+
language: typeof language;
|
|
18
21
|
};
|
|
19
22
|
//# 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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAEhD,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAA;AACtC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAA;AAC9C,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAA;AAC9B,OAAO,KAAK,UAAU,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAA;AAEtC,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,OAAO,QAAQ,CAAA;IACzB,SAAS,EAAE,OAAO,SAAS,CAAA;IAC3B,YAAY,EAAE,OAAO,YAAY,CAAA;IACjC,IAAI,EAAE,OAAO,IAAI,CAAA;IACjB,UAAU,EAAE,OAAO,UAAU,CAAA;IAC7B,QAAQ,EAAE,OAAO,QAAQ,CAAA;CAC1B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/language/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/language/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,QAAQ,CAAA;AAEhD,wBAAsB,eAAe,IAAI,OAAO,CAAC,uBAAuB,CAAC,CAiDxE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseType } from '../util/type';
|
|
2
|
+
|
|
3
|
+
export type GetLanguageListResponse = BaseType & {
|
|
4
|
+
data: string[];
|
|
5
|
+
};
|
|
6
|
+
export type LocaleList = {
|
|
7
|
+
[key: string]: Locale;
|
|
8
|
+
};
|
|
9
|
+
export type Locale = {
|
|
10
|
+
label: string;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/language/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,uBAAuB,GAAG,QAAQ,GAAG;IAC/C,IAAI,EAAE,MAAM,EAAE,CAAA;CACf,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,MAAM,GAAG;IACnB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/platforms/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/platforms/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAE1C,wBAAsB,YAAY,IAAI,OAAO,CAAC,iBAAiB,CAAC,CA2C/D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/platforms/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG;IACzC,IAAI,EAAE,QAAQ,EAAE,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA"}
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare function setGKey(key: string): void;
|
|
4
|
-
export declare function getGKey(): string;
|
|
1
|
+
export declare const gKey: import('vue').Ref<string>;
|
|
5
2
|
export declare function getRender(): number;
|
|
6
3
|
declare const _default: {
|
|
7
|
-
install(
|
|
4
|
+
install(): void;
|
|
8
5
|
};
|
|
9
6
|
export default _default;
|
|
10
7
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,2BAAU,CAAA;AAE3B,wBAAgB,SAAS,IAAI,MAAM,CAElC;;;;AAED,wBAEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/products/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/products/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAEzC,wBAAsB,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC,CA2C7D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/products/type.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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/promotions/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/promotions/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AAE3C,wBAAsB,aAAa,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAuDjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/promotions/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG;IAC1C,IAAI,EAAE,kBAAkB,EAAE,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,sBAAsB,EAAE,CAAA;CACrC,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/platform/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/platform/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAE1C,wBAAsB,YAAY,IAAI,OAAO,CAAC,iBAAiB,CAAC,CA2C/D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/platform/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG;IACzC,IAAI,EAAE,QAAQ,EAAE,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/product/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/product/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AAEzC,wBAAsB,WAAW,IAAI,OAAO,CAAC,gBAAgB,CAAC,CA2C7D"}
|
|
@@ -1 +0,0 @@
|
|
|
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,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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/promotion/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/promotion/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AAE3C,wBAAsB,aAAa,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAqDjE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/promotion/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG;IAC1C,IAAI,EAAE,kBAAkB,EAAE,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,sBAAsB,EAAE,CAAA;CACrC,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|