x-runtime-lib 0.8.81 → 0.8.83
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/index.js
CHANGED
|
@@ -4107,11 +4107,27 @@ en.name = "x-runtime-lib.backgroundColor";
|
|
|
4107
4107
|
const vi = {
|
|
4108
4108
|
key: "settings",
|
|
4109
4109
|
name: "x-runtime-lib.settings",
|
|
4110
|
-
children: [
|
|
4110
|
+
children: [
|
|
4111
|
+
en,
|
|
4112
|
+
{
|
|
4113
|
+
key: "adaptSlot",
|
|
4114
|
+
name: "x-runtime-lib.adaptSlot",
|
|
4115
|
+
ui: "slotSelect",
|
|
4116
|
+
default: void 0
|
|
4117
|
+
}
|
|
4118
|
+
]
|
|
4111
4119
|
}, ki = {
|
|
4112
4120
|
key: "settings",
|
|
4113
4121
|
name: "x-runtime-lib.settings",
|
|
4114
|
-
children: [
|
|
4122
|
+
children: [
|
|
4123
|
+
en,
|
|
4124
|
+
{
|
|
4125
|
+
key: "adaptSlot",
|
|
4126
|
+
name: "x-runtime-lib.adaptSlot",
|
|
4127
|
+
ui: "slotSelect",
|
|
4128
|
+
default: void 0
|
|
4129
|
+
}
|
|
4130
|
+
]
|
|
4115
4131
|
}, Oa = {
|
|
4116
4132
|
key: un,
|
|
4117
4133
|
name: "x-runtime-lib.globality",
|
|
@@ -8483,8 +8499,9 @@ function Tu(t) {
|
|
|
8483
8499
|
const o = e.dump(n);
|
|
8484
8500
|
fo.emit("consoleAppend", o);
|
|
8485
8501
|
}).consume((n) => e.setProp(e.global, "__debugTraceV1__", n)), e.newFunction("__messageV1__", (n, o) => {
|
|
8486
|
-
const s = e.getString(n), r =
|
|
8487
|
-
|
|
8502
|
+
const s = e.getString(n), r = e.dump(o);
|
|
8503
|
+
let a = "";
|
|
8504
|
+
typeof r == "object" ? a = JSON.stringify(r) : a = String(r), s === "info" ? or(a) : s === "success" ? rr(a) : s === "warning" ? bo(a) : s === "error" && ho(a);
|
|
8488
8505
|
}).consume((n) => e.setProp(e.global, "__messageV1__", n)), e.newFunction("__timeoutV1__", (n, o) => {
|
|
8489
8506
|
const s = e.getNumber(n), r = e.getNumber(o);
|
|
8490
8507
|
window.setTimeout(() => {
|
|
@@ -9038,7 +9055,7 @@ const Du = (t, e, n) => {
|
|
|
9038
9055
|
});
|
|
9039
9056
|
};
|
|
9040
9057
|
async function gm(t) {
|
|
9041
|
-
return (await Du(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.
|
|
9058
|
+
return (await Du(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.eag3wkbw.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.fh6ux17b.js") }), `./locales/${t}/index.ts`, 4)).default;
|
|
9042
9059
|
}
|
|
9043
9060
|
export {
|
|
9044
9061
|
qu as addIndent,
|
package/dist/types/element.d.ts
CHANGED
|
@@ -84,6 +84,11 @@ type ZPropertyCompSelect = {
|
|
|
84
84
|
readonly?: boolean;
|
|
85
85
|
default: string | undefined;
|
|
86
86
|
} & ZPropertyBase;
|
|
87
|
+
type ZPropertySlotSelect = {
|
|
88
|
+
ui: 'slotSelect';
|
|
89
|
+
readonly?: boolean;
|
|
90
|
+
default: string | undefined;
|
|
91
|
+
} & ZPropertyBase;
|
|
87
92
|
export type ZProperty = ({
|
|
88
93
|
array?: false;
|
|
89
94
|
} & ZPropertyBranch) | ({
|
|
@@ -134,7 +139,12 @@ export type ZProperty = ({
|
|
|
134
139
|
} & ZPropertyCompSelect) | ({
|
|
135
140
|
array: true;
|
|
136
141
|
defaultArray: string[];
|
|
137
|
-
} & ZPropertyCompSelect)
|
|
142
|
+
} & ZPropertyCompSelect) | ({
|
|
143
|
+
array?: false;
|
|
144
|
+
} & ZPropertySlotSelect) | ({
|
|
145
|
+
array: true;
|
|
146
|
+
defaultArray: string[];
|
|
147
|
+
} & ZPropertySlotSelect);
|
|
138
148
|
export type ZProperties = {
|
|
139
149
|
[key: string]: ZProperty[];
|
|
140
150
|
};
|