x-runtime-lib 0.5.12 → 0.5.13
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/element/_common/keys.d.ts +1 -0
- package/dist/element/basic/package/v1/index.d.ts +3 -0
- package/dist/{i18n-en-chxvg9av.js → i18n-en-or78iu3w.js} +1 -0
- package/dist/{i18n-zhHans-irh3vhql.js → i18n-zhHans-gsf2tqo3.js} +1 -0
- package/dist/index.js +603 -576
- package/dist/types/element.d.ts +9 -1
- package/package.json +1 -1
package/dist/types/element.d.ts
CHANGED
|
@@ -105,6 +105,11 @@ type ZPropCompSelect = {
|
|
|
105
105
|
readonly?: boolean;
|
|
106
106
|
default: string;
|
|
107
107
|
} & ZPropBase;
|
|
108
|
+
type ZPropSlotSelect = {
|
|
109
|
+
ui: 'slotSelect';
|
|
110
|
+
readonly?: boolean;
|
|
111
|
+
default: string;
|
|
112
|
+
} & ZPropBase;
|
|
108
113
|
export type ZProp = ({
|
|
109
114
|
array?: false;
|
|
110
115
|
} & ZPropBranch) | ({
|
|
@@ -150,7 +155,9 @@ export type ZProp = ({
|
|
|
150
155
|
} & ZPropCompSelect) | ({
|
|
151
156
|
array: true;
|
|
152
157
|
defaultArray: string[];
|
|
153
|
-
} & ZPropCompSelect)
|
|
158
|
+
} & ZPropCompSelect) | ({
|
|
159
|
+
array?: undefined;
|
|
160
|
+
} & ZPropSlotSelect);
|
|
154
161
|
export type ZProps = {
|
|
155
162
|
[key: string]: ZProp[];
|
|
156
163
|
};
|
|
@@ -177,6 +184,7 @@ export type ZPkg = {
|
|
|
177
184
|
elements: Set<string>;
|
|
178
185
|
globalityKey: string;
|
|
179
186
|
refKey: string;
|
|
187
|
+
packageKey: string;
|
|
180
188
|
groups: ZGroup[];
|
|
181
189
|
};
|
|
182
190
|
export type ZPkgs = {
|