@dashfoo/core 1.1.0 → 1.1.2
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/README.md +12 -12
- package/dist/index.d.ts +123 -123
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -10
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -5,66 +5,66 @@ import { z } from "zod";
|
|
|
5
5
|
* and strips the rest. The reducer enforces which keys a given node accepts.
|
|
6
6
|
*/
|
|
7
7
|
declare const mutableNodeAttrsSchema: z.ZodObject<{
|
|
8
|
-
name: z.ZodOptional<z.ZodString>;
|
|
9
8
|
config: z.ZodOptional<z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
10
9
|
[key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
11
10
|
} | null)[] | {
|
|
12
|
-
[key: string]: string | number | boolean |
|
|
11
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
13
12
|
} | null)[] | {
|
|
14
|
-
[key: string]: string | number | boolean |
|
|
13
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
15
14
|
} | null)[] | {
|
|
16
|
-
[key: string]: string | number | boolean |
|
|
15
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
17
16
|
} | null)[] | {
|
|
18
|
-
[key: string]: string | number | boolean |
|
|
17
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
19
18
|
} | null)[] | {
|
|
20
|
-
[key: string]: string | number | boolean |
|
|
19
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
21
20
|
} | null)[] | {
|
|
22
|
-
[key: string]: string | number | boolean |
|
|
21
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
23
22
|
} | null)[] | {
|
|
24
|
-
[key: string]: string | number | boolean |
|
|
23
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
25
24
|
} | null)[] | {
|
|
26
|
-
[key: string]: string | number | boolean |
|
|
25
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
27
26
|
} | null)[] | {
|
|
28
|
-
[key: string]: string | number | boolean |
|
|
27
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
29
28
|
} | null)[] | {
|
|
30
|
-
[key: string]: string | number | boolean |
|
|
29
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
31
30
|
} | null)[] | {
|
|
32
|
-
[key: string]: string | number | boolean |
|
|
33
|
-
} | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean |
|
|
34
|
-
[key: string]: string | number | boolean |
|
|
31
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
32
|
+
} | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
33
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
35
34
|
} | null)[] | {
|
|
36
|
-
[key: string]: string | number | boolean |
|
|
35
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
37
36
|
} | null)[] | {
|
|
38
|
-
[key: string]: string | number | boolean |
|
|
37
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
39
38
|
} | null)[] | {
|
|
40
|
-
[key: string]: string | number | boolean |
|
|
39
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
41
40
|
} | null)[] | {
|
|
42
|
-
[key: string]: string | number | boolean |
|
|
41
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
43
42
|
} | null)[] | {
|
|
44
|
-
[key: string]: string | number | boolean |
|
|
43
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
45
44
|
} | null)[] | {
|
|
46
|
-
[key: string]: string | number | boolean |
|
|
45
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
47
46
|
} | null)[] | {
|
|
48
|
-
[key: string]: string | number | boolean |
|
|
47
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
49
48
|
} | null)[] | {
|
|
50
|
-
[key: string]: string | number | boolean |
|
|
49
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
51
50
|
} | null)[] | {
|
|
52
|
-
[key: string]: string | number | boolean |
|
|
51
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
53
52
|
} | null)[] | {
|
|
54
|
-
[key: string]: string | number | boolean |
|
|
53
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
55
54
|
} | null)[] | {
|
|
56
|
-
[key: string]: string | number | boolean |
|
|
55
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
57
56
|
} | null, unknown>>>>;
|
|
58
57
|
enableDrag: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
59
58
|
enableRename: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
59
|
+
name: z.ZodOptional<z.ZodString>;
|
|
60
60
|
enableClose: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
61
61
|
enableMaximize: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
62
62
|
selected: z.ZodOptional<z.ZodNumber>;
|
|
63
63
|
max: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
64
64
|
unit: z.ZodEnum<{
|
|
65
|
-
px: "px";
|
|
66
65
|
"%": "%";
|
|
67
66
|
em: "em";
|
|
67
|
+
px: "px";
|
|
68
68
|
rem: "rem";
|
|
69
69
|
vh: "vh";
|
|
70
70
|
vw: "vw";
|
|
@@ -73,9 +73,9 @@ declare const mutableNodeAttrsSchema: z.ZodObject<{
|
|
|
73
73
|
}, z.core.$strip>>>;
|
|
74
74
|
min: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
75
75
|
unit: z.ZodEnum<{
|
|
76
|
-
px: "px";
|
|
77
76
|
"%": "%";
|
|
78
77
|
em: "em";
|
|
78
|
+
px: "px";
|
|
79
79
|
rem: "rem";
|
|
80
80
|
vh: "vh";
|
|
81
81
|
vw: "vw";
|
|
@@ -83,8 +83,8 @@ declare const mutableNodeAttrsSchema: z.ZodObject<{
|
|
|
83
83
|
value: z.ZodNumber;
|
|
84
84
|
}, z.core.$strip>>>;
|
|
85
85
|
orientation: z.ZodOptional<z.ZodEnum<{
|
|
86
|
-
row: "row";
|
|
87
86
|
column: "column";
|
|
87
|
+
row: "row";
|
|
88
88
|
}>>;
|
|
89
89
|
snap: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
90
90
|
divisions: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"panels">]>>;
|
|
@@ -116,51 +116,51 @@ declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
116
116
|
config: z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
117
117
|
[key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
118
118
|
} | null)[] | {
|
|
119
|
-
[key: string]: string | number | boolean |
|
|
119
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
120
120
|
} | null)[] | {
|
|
121
|
-
[key: string]: string | number | boolean |
|
|
121
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
122
122
|
} | null)[] | {
|
|
123
|
-
[key: string]: string | number | boolean |
|
|
123
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
124
124
|
} | null)[] | {
|
|
125
|
-
[key: string]: string | number | boolean |
|
|
125
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
126
126
|
} | null)[] | {
|
|
127
|
-
[key: string]: string | number | boolean |
|
|
127
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
128
128
|
} | null)[] | {
|
|
129
|
-
[key: string]: string | number | boolean |
|
|
129
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
130
130
|
} | null)[] | {
|
|
131
|
-
[key: string]: string | number | boolean |
|
|
131
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
132
132
|
} | null)[] | {
|
|
133
|
-
[key: string]: string | number | boolean |
|
|
133
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
134
134
|
} | null)[] | {
|
|
135
|
-
[key: string]: string | number | boolean |
|
|
135
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
136
136
|
} | null)[] | {
|
|
137
|
-
[key: string]: string | number | boolean |
|
|
137
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
138
138
|
} | null)[] | {
|
|
139
|
-
[key: string]: string | number | boolean |
|
|
140
|
-
} | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean |
|
|
141
|
-
[key: string]: string | number | boolean |
|
|
139
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
140
|
+
} | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
141
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
142
142
|
} | null)[] | {
|
|
143
|
-
[key: string]: string | number | boolean |
|
|
143
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
144
144
|
} | null)[] | {
|
|
145
|
-
[key: string]: string | number | boolean |
|
|
145
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
146
146
|
} | null)[] | {
|
|
147
|
-
[key: string]: string | number | boolean |
|
|
147
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
148
148
|
} | null)[] | {
|
|
149
|
-
[key: string]: string | number | boolean |
|
|
149
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
150
150
|
} | null)[] | {
|
|
151
|
-
[key: string]: string | number | boolean |
|
|
151
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
152
152
|
} | null)[] | {
|
|
153
|
-
[key: string]: string | number | boolean |
|
|
153
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
154
154
|
} | null)[] | {
|
|
155
|
-
[key: string]: string | number | boolean |
|
|
155
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
156
156
|
} | null)[] | {
|
|
157
|
-
[key: string]: string | number | boolean |
|
|
157
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
158
158
|
} | null)[] | {
|
|
159
|
-
[key: string]: string | number | boolean |
|
|
159
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
160
160
|
} | null)[] | {
|
|
161
|
-
[key: string]: string | number | boolean |
|
|
161
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
162
162
|
} | null)[] | {
|
|
163
|
-
[key: string]: string | number | boolean |
|
|
163
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
164
164
|
} | null, unknown>>>;
|
|
165
165
|
enableClose: z.ZodOptional<z.ZodBoolean>;
|
|
166
166
|
enableDrag: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -220,66 +220,66 @@ declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
220
220
|
weights: z.ZodArray<z.ZodNumber>;
|
|
221
221
|
}, z.core.$strip>, z.ZodObject<{
|
|
222
222
|
attrs: z.ZodObject<{
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
[key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
223
|
+
config: z.ZodOptional<z.ZodOptional<z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
224
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
226
225
|
} | null)[] | {
|
|
227
|
-
[key: string]: string | number | boolean |
|
|
226
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
228
227
|
} | null)[] | {
|
|
229
|
-
[key: string]: string | number | boolean |
|
|
228
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
230
229
|
} | null)[] | {
|
|
231
|
-
[key: string]: string | number | boolean |
|
|
230
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
232
231
|
} | null)[] | {
|
|
233
|
-
[key: string]: string | number | boolean |
|
|
232
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
234
233
|
} | null)[] | {
|
|
235
|
-
[key: string]: string | number | boolean |
|
|
234
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
236
235
|
} | null)[] | {
|
|
237
|
-
[key: string]: string | number | boolean |
|
|
236
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
238
237
|
} | null)[] | {
|
|
239
|
-
[key: string]: string | number | boolean |
|
|
238
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
240
239
|
} | null)[] | {
|
|
241
|
-
[key: string]: string | number | boolean |
|
|
240
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
242
241
|
} | null)[] | {
|
|
243
|
-
[key: string]: string | number | boolean |
|
|
242
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
244
243
|
} | null)[] | {
|
|
245
|
-
[key: string]: string | number | boolean |
|
|
244
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
246
245
|
} | null)[] | {
|
|
247
|
-
[key: string]: string | number | boolean |
|
|
248
|
-
} | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean |
|
|
249
|
-
[key: string]: string | number | boolean |
|
|
246
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
247
|
+
} | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
248
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
250
249
|
} | null)[] | {
|
|
251
|
-
[key: string]: string | number | boolean |
|
|
250
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
252
251
|
} | null)[] | {
|
|
253
|
-
[key: string]: string | number | boolean |
|
|
252
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
254
253
|
} | null)[] | {
|
|
255
|
-
[key: string]: string | number | boolean |
|
|
254
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
256
255
|
} | null)[] | {
|
|
257
|
-
[key: string]: string | number | boolean |
|
|
256
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
258
257
|
} | null)[] | {
|
|
259
|
-
[key: string]: string | number | boolean |
|
|
258
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
260
259
|
} | null)[] | {
|
|
261
|
-
[key: string]: string | number | boolean |
|
|
260
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
262
261
|
} | null)[] | {
|
|
263
|
-
[key: string]: string | number | boolean |
|
|
262
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
264
263
|
} | null)[] | {
|
|
265
|
-
[key: string]: string | number | boolean |
|
|
264
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
266
265
|
} | null)[] | {
|
|
267
|
-
[key: string]: string | number | boolean |
|
|
266
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
268
267
|
} | null)[] | {
|
|
269
|
-
[key: string]: string | number | boolean |
|
|
268
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
270
269
|
} | null)[] | {
|
|
271
|
-
[key: string]: string | number | boolean |
|
|
270
|
+
[key: string]: string | number | boolean | any | any | null;
|
|
272
271
|
} | null, unknown>>>>;
|
|
273
272
|
enableDrag: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
274
273
|
enableRename: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
274
|
+
name: z.ZodOptional<z.ZodString>;
|
|
275
275
|
enableClose: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
276
276
|
enableMaximize: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
277
277
|
selected: z.ZodOptional<z.ZodNumber>;
|
|
278
278
|
max: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
279
279
|
unit: z.ZodEnum<{
|
|
280
|
-
px: "px";
|
|
281
280
|
"%": "%";
|
|
282
281
|
em: "em";
|
|
282
|
+
px: "px";
|
|
283
283
|
rem: "rem";
|
|
284
284
|
vh: "vh";
|
|
285
285
|
vw: "vw";
|
|
@@ -288,9 +288,9 @@ declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
288
288
|
}, z.core.$strip>>>;
|
|
289
289
|
min: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
290
290
|
unit: z.ZodEnum<{
|
|
291
|
-
px: "px";
|
|
292
291
|
"%": "%";
|
|
293
292
|
em: "em";
|
|
293
|
+
px: "px";
|
|
294
294
|
rem: "rem";
|
|
295
295
|
vh: "vh";
|
|
296
296
|
vw: "vw";
|
|
@@ -298,8 +298,8 @@ declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
298
298
|
value: z.ZodNumber;
|
|
299
299
|
}, z.core.$strip>>>;
|
|
300
300
|
orientation: z.ZodOptional<z.ZodEnum<{
|
|
301
|
-
row: "row";
|
|
302
301
|
column: "column";
|
|
302
|
+
row: "row";
|
|
303
303
|
}>>;
|
|
304
304
|
snap: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
305
305
|
divisions: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"panels">]>>;
|
|
@@ -324,8 +324,8 @@ declare const actionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
324
324
|
tabEnableDrag: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
325
325
|
tabEnableRename: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
326
326
|
tabLocation: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
327
|
-
top: "top";
|
|
328
327
|
bottom: "bottom";
|
|
328
|
+
top: "top";
|
|
329
329
|
}>>>;
|
|
330
330
|
tabSetEnableMaximize: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
331
331
|
tabSetEnableTabStrip: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -398,28 +398,28 @@ type JsonValue = string | number | boolean | null | Array<JsonValue> | {
|
|
|
398
398
|
};
|
|
399
399
|
declare const jsonValueSchema: z.ZodType<JsonValue>;
|
|
400
400
|
declare const edgeSchema: z.ZodEnum<{
|
|
401
|
-
top: "top";
|
|
402
401
|
bottom: "bottom";
|
|
403
402
|
left: "left";
|
|
404
403
|
right: "right";
|
|
404
|
+
top: "top";
|
|
405
405
|
}>;
|
|
406
406
|
declare const unitSchema: z.ZodEnum<{
|
|
407
|
-
px: "px";
|
|
408
407
|
"%": "%";
|
|
409
408
|
em: "em";
|
|
409
|
+
px: "px";
|
|
410
410
|
rem: "rem";
|
|
411
411
|
vh: "vh";
|
|
412
412
|
vw: "vw";
|
|
413
413
|
}>;
|
|
414
414
|
declare const orientationSchema: z.ZodEnum<{
|
|
415
|
-
row: "row";
|
|
416
415
|
column: "column";
|
|
416
|
+
row: "row";
|
|
417
417
|
}>;
|
|
418
418
|
declare const dimensionSchema: z.ZodObject<{
|
|
419
419
|
unit: z.ZodEnum<{
|
|
420
|
-
px: "px";
|
|
421
420
|
"%": "%";
|
|
422
421
|
em: "em";
|
|
422
|
+
px: "px";
|
|
423
423
|
rem: "rem";
|
|
424
424
|
vh: "vh";
|
|
425
425
|
vw: "vw";
|
|
@@ -461,9 +461,9 @@ declare const tabsetNodeObjectSchema: z.ZodObject<{
|
|
|
461
461
|
id: z.ZodString;
|
|
462
462
|
max: z.ZodOptional<z.ZodObject<{
|
|
463
463
|
unit: z.ZodEnum<{
|
|
464
|
-
px: "px";
|
|
465
464
|
"%": "%";
|
|
466
465
|
em: "em";
|
|
466
|
+
px: "px";
|
|
467
467
|
rem: "rem";
|
|
468
468
|
vh: "vh";
|
|
469
469
|
vw: "vw";
|
|
@@ -472,9 +472,9 @@ declare const tabsetNodeObjectSchema: z.ZodObject<{
|
|
|
472
472
|
}, z.core.$strip>>;
|
|
473
473
|
min: z.ZodOptional<z.ZodObject<{
|
|
474
474
|
unit: z.ZodEnum<{
|
|
475
|
-
px: "px";
|
|
476
475
|
"%": "%";
|
|
477
476
|
em: "em";
|
|
477
|
+
px: "px";
|
|
478
478
|
rem: "rem";
|
|
479
479
|
vh: "vh";
|
|
480
480
|
vw: "vw";
|
|
@@ -502,9 +502,9 @@ declare const tabsetNodeSchema: z.ZodPipe<z.ZodObject<{
|
|
|
502
502
|
id: z.ZodString;
|
|
503
503
|
max: z.ZodOptional<z.ZodObject<{
|
|
504
504
|
unit: z.ZodEnum<{
|
|
505
|
-
px: "px";
|
|
506
505
|
"%": "%";
|
|
507
506
|
em: "em";
|
|
507
|
+
px: "px";
|
|
508
508
|
rem: "rem";
|
|
509
509
|
vh: "vh";
|
|
510
510
|
vw: "vw";
|
|
@@ -513,9 +513,9 @@ declare const tabsetNodeSchema: z.ZodPipe<z.ZodObject<{
|
|
|
513
513
|
}, z.core.$strip>>;
|
|
514
514
|
min: z.ZodOptional<z.ZodObject<{
|
|
515
515
|
unit: z.ZodEnum<{
|
|
516
|
-
px: "px";
|
|
517
516
|
"%": "%";
|
|
518
517
|
em: "em";
|
|
518
|
+
px: "px";
|
|
519
519
|
rem: "rem";
|
|
520
520
|
vh: "vh";
|
|
521
521
|
vw: "vw";
|
|
@@ -527,57 +527,57 @@ declare const tabsetNodeSchema: z.ZodPipe<z.ZodObject<{
|
|
|
527
527
|
type: z.ZodLiteral<"tabset">;
|
|
528
528
|
weight: z.ZodDefault<z.ZodNumber>;
|
|
529
529
|
}, z.core.$strip>, z.ZodTransform<{
|
|
530
|
-
selected: number;
|
|
531
530
|
children: {
|
|
532
531
|
component: string;
|
|
533
|
-
id: string;
|
|
534
|
-
name: string;
|
|
535
|
-
type: "tab";
|
|
536
532
|
config?: JsonValue | undefined;
|
|
537
533
|
enableClose?: boolean | undefined;
|
|
538
534
|
enableDrag?: boolean | undefined;
|
|
539
535
|
enableRename?: boolean | undefined;
|
|
536
|
+
id: string;
|
|
537
|
+
name: string;
|
|
538
|
+
type: "tab";
|
|
540
539
|
}[];
|
|
541
|
-
id: string;
|
|
542
|
-
type: "tabset";
|
|
543
|
-
weight: number;
|
|
544
540
|
enableClose?: boolean | undefined;
|
|
545
541
|
enableMaximize?: boolean | undefined;
|
|
542
|
+
id: string;
|
|
546
543
|
max?: {
|
|
547
|
-
unit: "
|
|
544
|
+
unit: "%" | "em" | "px" | "rem" | "vh" | "vw";
|
|
548
545
|
value: number;
|
|
549
546
|
} | undefined;
|
|
550
547
|
min?: {
|
|
551
|
-
unit: "
|
|
548
|
+
unit: "%" | "em" | "px" | "rem" | "vh" | "vw";
|
|
552
549
|
value: number;
|
|
553
550
|
} | undefined;
|
|
554
551
|
name?: string | undefined;
|
|
552
|
+
type: "tabset";
|
|
553
|
+
weight: number;
|
|
554
|
+
selected: number;
|
|
555
555
|
}, {
|
|
556
556
|
children: {
|
|
557
557
|
component: string;
|
|
558
|
-
id: string;
|
|
559
|
-
name: string;
|
|
560
|
-
type: "tab";
|
|
561
558
|
config?: JsonValue | undefined;
|
|
562
559
|
enableClose?: boolean | undefined;
|
|
563
560
|
enableDrag?: boolean | undefined;
|
|
564
561
|
enableRename?: boolean | undefined;
|
|
562
|
+
id: string;
|
|
563
|
+
name: string;
|
|
564
|
+
type: "tab";
|
|
565
565
|
}[];
|
|
566
|
-
id: string;
|
|
567
|
-
selected: number;
|
|
568
|
-
type: "tabset";
|
|
569
|
-
weight: number;
|
|
570
566
|
enableClose?: boolean | undefined;
|
|
571
567
|
enableMaximize?: boolean | undefined;
|
|
568
|
+
id: string;
|
|
572
569
|
max?: {
|
|
573
|
-
unit: "
|
|
570
|
+
unit: "%" | "em" | "px" | "rem" | "vh" | "vw";
|
|
574
571
|
value: number;
|
|
575
572
|
} | undefined;
|
|
576
573
|
min?: {
|
|
577
|
-
unit: "
|
|
574
|
+
unit: "%" | "em" | "px" | "rem" | "vh" | "vw";
|
|
578
575
|
value: number;
|
|
579
576
|
} | undefined;
|
|
580
577
|
name?: string | undefined;
|
|
578
|
+
selected: number;
|
|
579
|
+
type: "tabset";
|
|
580
|
+
weight: number;
|
|
581
581
|
}>>;
|
|
582
582
|
/** The getter's explicit return type is required: without it, TS7023. */
|
|
583
583
|
declare const rowNodeSchema: z.ZodObject<{
|
|
@@ -585,9 +585,9 @@ declare const rowNodeSchema: z.ZodObject<{
|
|
|
585
585
|
id: z.ZodString;
|
|
586
586
|
max: z.ZodOptional<z.ZodObject<{
|
|
587
587
|
unit: z.ZodEnum<{
|
|
588
|
-
px: "px";
|
|
589
588
|
"%": "%";
|
|
590
589
|
em: "em";
|
|
590
|
+
px: "px";
|
|
591
591
|
rem: "rem";
|
|
592
592
|
vh: "vh";
|
|
593
593
|
vw: "vw";
|
|
@@ -596,9 +596,9 @@ declare const rowNodeSchema: z.ZodObject<{
|
|
|
596
596
|
}, z.core.$strip>>;
|
|
597
597
|
min: z.ZodOptional<z.ZodObject<{
|
|
598
598
|
unit: z.ZodEnum<{
|
|
599
|
-
px: "px";
|
|
600
599
|
"%": "%";
|
|
601
600
|
em: "em";
|
|
601
|
+
px: "px";
|
|
602
602
|
rem: "rem";
|
|
603
603
|
vh: "vh";
|
|
604
604
|
vw: "vw";
|
|
@@ -606,8 +606,8 @@ declare const rowNodeSchema: z.ZodObject<{
|
|
|
606
606
|
value: z.ZodNumber;
|
|
607
607
|
}, z.core.$strip>>;
|
|
608
608
|
orientation: z.ZodEnum<{
|
|
609
|
-
row: "row";
|
|
610
609
|
column: "column";
|
|
610
|
+
row: "row";
|
|
611
611
|
}>;
|
|
612
612
|
snap: z.ZodOptional<z.ZodObject<{
|
|
613
613
|
divisions: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"panels">]>>;
|
|
@@ -638,9 +638,9 @@ declare const floatNodeSchema: z.ZodObject<{
|
|
|
638
638
|
id: z.ZodString;
|
|
639
639
|
max: z.ZodOptional<z.ZodObject<{
|
|
640
640
|
unit: z.ZodEnum<{
|
|
641
|
-
px: "px";
|
|
642
641
|
"%": "%";
|
|
643
642
|
em: "em";
|
|
643
|
+
px: "px";
|
|
644
644
|
rem: "rem";
|
|
645
645
|
vh: "vh";
|
|
646
646
|
vw: "vw";
|
|
@@ -649,9 +649,9 @@ declare const floatNodeSchema: z.ZodObject<{
|
|
|
649
649
|
}, z.core.$strip>>;
|
|
650
650
|
min: z.ZodOptional<z.ZodObject<{
|
|
651
651
|
unit: z.ZodEnum<{
|
|
652
|
-
px: "px";
|
|
653
652
|
"%": "%";
|
|
654
653
|
em: "em";
|
|
654
|
+
px: "px";
|
|
655
655
|
rem: "rem";
|
|
656
656
|
vh: "vh";
|
|
657
657
|
vw: "vw";
|
|
@@ -659,8 +659,8 @@ declare const floatNodeSchema: z.ZodObject<{
|
|
|
659
659
|
value: z.ZodNumber;
|
|
660
660
|
}, z.core.$strip>>;
|
|
661
661
|
orientation: z.ZodEnum<{
|
|
662
|
-
row: "row";
|
|
663
662
|
column: "column";
|
|
663
|
+
row: "row";
|
|
664
664
|
}>;
|
|
665
665
|
snap: z.ZodOptional<z.ZodObject<{
|
|
666
666
|
divisions: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"panels">]>>;
|
|
@@ -687,8 +687,8 @@ declare const globalAttributesSchema: z.ZodObject<{
|
|
|
687
687
|
tabEnableDrag: z.ZodOptional<z.ZodBoolean>;
|
|
688
688
|
tabEnableRename: z.ZodOptional<z.ZodBoolean>;
|
|
689
689
|
tabLocation: z.ZodOptional<z.ZodEnum<{
|
|
690
|
-
top: "top";
|
|
691
690
|
bottom: "bottom";
|
|
691
|
+
top: "top";
|
|
692
692
|
}>>;
|
|
693
693
|
tabSetEnableMaximize: z.ZodOptional<z.ZodBoolean>;
|
|
694
694
|
tabSetEnableTabStrip: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -709,9 +709,9 @@ declare const dashfooSchema: z.ZodObject<{
|
|
|
709
709
|
id: z.ZodString;
|
|
710
710
|
max: z.ZodOptional<z.ZodObject<{
|
|
711
711
|
unit: z.ZodEnum<{
|
|
712
|
-
px: "px";
|
|
713
712
|
"%": "%";
|
|
714
713
|
em: "em";
|
|
714
|
+
px: "px";
|
|
715
715
|
rem: "rem";
|
|
716
716
|
vh: "vh";
|
|
717
717
|
vw: "vw";
|
|
@@ -720,9 +720,9 @@ declare const dashfooSchema: z.ZodObject<{
|
|
|
720
720
|
}, z.core.$strip>>;
|
|
721
721
|
min: z.ZodOptional<z.ZodObject<{
|
|
722
722
|
unit: z.ZodEnum<{
|
|
723
|
-
px: "px";
|
|
724
723
|
"%": "%";
|
|
725
724
|
em: "em";
|
|
725
|
+
px: "px";
|
|
726
726
|
rem: "rem";
|
|
727
727
|
vh: "vh";
|
|
728
728
|
vw: "vw";
|
|
@@ -730,8 +730,8 @@ declare const dashfooSchema: z.ZodObject<{
|
|
|
730
730
|
value: z.ZodNumber;
|
|
731
731
|
}, z.core.$strip>>;
|
|
732
732
|
orientation: z.ZodEnum<{
|
|
733
|
-
row: "row";
|
|
734
733
|
column: "column";
|
|
734
|
+
row: "row";
|
|
735
735
|
}>;
|
|
736
736
|
snap: z.ZodOptional<z.ZodObject<{
|
|
737
737
|
divisions: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"panels">]>>;
|
|
@@ -758,8 +758,8 @@ declare const dashfooSchema: z.ZodObject<{
|
|
|
758
758
|
tabEnableDrag: z.ZodOptional<z.ZodBoolean>;
|
|
759
759
|
tabEnableRename: z.ZodOptional<z.ZodBoolean>;
|
|
760
760
|
tabLocation: z.ZodOptional<z.ZodEnum<{
|
|
761
|
-
top: "top";
|
|
762
761
|
bottom: "bottom";
|
|
762
|
+
top: "top";
|
|
763
763
|
}>>;
|
|
764
764
|
tabSetEnableMaximize: z.ZodOptional<z.ZodBoolean>;
|
|
765
765
|
tabSetEnableTabStrip: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -770,9 +770,9 @@ declare const dashfooSchema: z.ZodObject<{
|
|
|
770
770
|
id: z.ZodString;
|
|
771
771
|
max: z.ZodOptional<z.ZodObject<{
|
|
772
772
|
unit: z.ZodEnum<{
|
|
773
|
-
px: "px";
|
|
774
773
|
"%": "%";
|
|
775
774
|
em: "em";
|
|
775
|
+
px: "px";
|
|
776
776
|
rem: "rem";
|
|
777
777
|
vh: "vh";
|
|
778
778
|
vw: "vw";
|
|
@@ -781,9 +781,9 @@ declare const dashfooSchema: z.ZodObject<{
|
|
|
781
781
|
}, z.core.$strip>>;
|
|
782
782
|
min: z.ZodOptional<z.ZodObject<{
|
|
783
783
|
unit: z.ZodEnum<{
|
|
784
|
-
px: "px";
|
|
785
784
|
"%": "%";
|
|
786
785
|
em: "em";
|
|
786
|
+
px: "px";
|
|
787
787
|
rem: "rem";
|
|
788
788
|
vh: "vh";
|
|
789
789
|
vw: "vw";
|
|
@@ -791,8 +791,8 @@ declare const dashfooSchema: z.ZodObject<{
|
|
|
791
791
|
value: z.ZodNumber;
|
|
792
792
|
}, z.core.$strip>>;
|
|
793
793
|
orientation: z.ZodEnum<{
|
|
794
|
-
row: "row";
|
|
795
794
|
column: "column";
|
|
795
|
+
row: "row";
|
|
796
796
|
}>;
|
|
797
797
|
snap: z.ZodOptional<z.ZodObject<{
|
|
798
798
|
divisions: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"panels">]>>;
|