@airpower/web 0.2.46 → 0.2.48
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/main.js
CHANGED
|
@@ -982,19 +982,18 @@ class DecoratorUtil {
|
|
|
982
982
|
*/
|
|
983
983
|
static getClassConfig(Class, classConfigKey, isObject = false) {
|
|
984
984
|
let classConfig = Reflect.get(new Class(), classConfigKey);
|
|
985
|
+
const SuperClass = Reflect.getPrototypeOf(Class);
|
|
985
986
|
if (!isObject) {
|
|
986
987
|
if (classConfig) {
|
|
987
988
|
return classConfig;
|
|
988
989
|
}
|
|
989
|
-
|
|
990
|
-
if (!SuperClass2 || SuperClass2.prototype.constructor.name === Transformer.name) {
|
|
990
|
+
if (!SuperClass || SuperClass.prototype.constructor.name === Transformer.name) {
|
|
991
991
|
return void 0;
|
|
992
992
|
}
|
|
993
|
-
return this.getClassConfig(
|
|
993
|
+
return this.getClassConfig(SuperClass, classConfigKey);
|
|
994
994
|
}
|
|
995
995
|
classConfig = classConfig || {};
|
|
996
|
-
|
|
997
|
-
if (!SuperClass || SuperClass.constructor.name === Transformer.name) {
|
|
996
|
+
if (!SuperClass || SuperClass.prototype.constructor.name === Transformer.name) {
|
|
998
997
|
return classConfig;
|
|
999
998
|
}
|
|
1000
999
|
return {
|
|
@@ -18252,10 +18251,17 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
18252
18251
|
}, null, 8, ["formatter", "milli-second"])) : item.money ? (openBlock(), createBlock(unref(AMoney), {
|
|
18253
18252
|
key: 4,
|
|
18254
18253
|
money: getValue(scope, item.key)
|
|
18255
|
-
}, null, 8, ["money"])) : item.payload ? (openBlock(),
|
|
18256
|
-
key:
|
|
18257
|
-
|
|
18258
|
-
|
|
18254
|
+
}, null, 8, ["money"])) : item.payload ? (openBlock(), createElementBlock(Fragment, { key: 5 }, [
|
|
18255
|
+
item.array ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(getValue(scope, item.key), (payload, i) => {
|
|
18256
|
+
return openBlock(), createBlock(unref(APayload), {
|
|
18257
|
+
key: i,
|
|
18258
|
+
payload
|
|
18259
|
+
}, null, 8, ["payload"]);
|
|
18260
|
+
}), 128)) : (openBlock(), createBlock(unref(APayload), {
|
|
18261
|
+
key: 1,
|
|
18262
|
+
payload: getValue(scope, item.key)
|
|
18263
|
+
}, null, 8, ["payload"]))
|
|
18264
|
+
], 64)) : item.desensitize ? (openBlock(), createBlock(unref(ADesensitize), {
|
|
18259
18265
|
key: 6,
|
|
18260
18266
|
content: getValue(scope, item.key),
|
|
18261
18267
|
type: item.desensitize
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@airpower/web",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.48",
|
|
5
5
|
"description": "AirPower-Web",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Hamm",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@airpower/enum": "^0.0.10",
|
|
43
43
|
"@airpower/i18n": "^0.0.4",
|
|
44
|
-
"@airpower/transformer": "^0.1.
|
|
44
|
+
"@airpower/transformer": "^0.1.13",
|
|
45
45
|
"@airpower/util": "^0.1.3",
|
|
46
46
|
"@element-plus/icons-vue": "^2.3.1",
|
|
47
47
|
"axios": "^1.8.4",
|