windmill-components 1.83.1 → 1.83.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/components/ArgInput.svelte +35 -27
- package/components/DisplayResult.svelte +10 -1
- package/components/DisplayResult.svelte.d.ts +1 -0
- package/components/FlowGraphViewer.svelte +4 -20
- package/components/FlowJobResult.svelte +2 -1
- package/components/FlowJobResult.svelte.d.ts +1 -0
- package/components/FlowStatusViewer.svelte +1 -0
- package/components/RunForm.svelte +6 -2
- package/components/ScriptBuilder.svelte +6 -4
- package/components/ScriptBuilder.svelte.d.ts +1 -0
- package/components/apps/components/display/PlotlyHtml.svelte +26 -13
- package/components/apps/components/display/table/AppAggridTable.svelte +29 -17
- package/components/apps/components/display/table/AppTable.svelte +17 -4
- package/components/apps/components/display/table/AppTableFooter.svelte +2 -2
- package/components/apps/components/display/table/AppTableFooter.svelte.d.ts +1 -1
- package/components/apps/components/layout/AppDrawer.svelte +32 -14
- package/components/apps/editor/AppEditor.svelte +8 -4
- package/components/apps/editor/component/components.d.ts +27 -14
- package/components/apps/editor/component/components.js +28 -14
- package/components/apps/editor/componentsPanel/CssProperty.svelte +11 -6
- package/components/apps/editor/componentsPanel/CssProperty.svelte.d.ts +4 -2
- package/components/apps/editor/componentsPanel/ListItem.svelte +14 -4
- package/components/apps/editor/componentsPanel/ListItem.svelte.d.ts +5 -0
- package/components/apps/editor/componentsPanel/QuickStyleMenu.svelte +62 -21
- package/components/apps/editor/componentsPanel/QuickStyleMenu.svelte.d.ts +5 -2
- package/components/apps/editor/componentsPanel/QuickStyleProperty.svelte +1 -0
- package/components/apps/editor/componentsPanel/quickStyleProperties.d.ts +29 -503
- package/components/apps/editor/componentsPanel/quickStyleProperties.js +97 -98
- package/components/apps/editor/componentsPanel/store.d.ts +1 -0
- package/components/apps/editor/componentsPanel/store.js +1 -0
- package/components/apps/editor/inlineScriptsPanel/InlineScriptEditorPanel.svelte +2 -3
- package/components/apps/editor/settingsPanel/InputsSpecsEditor.svelte +1 -1
- package/components/apps/editor/settingsPanel/OneOfInputSpecsEditor.svelte +17 -3
- package/components/apps/editor/settingsPanel/StylePanel.svelte +2 -0
- package/components/apps/editor/settingsPanel/inputEditor/ColorInput.svelte +1 -1
- package/components/apps/editor/settingsPanel/secondaryMenu/SecondaryMenu.svelte +2 -2
- package/components/flows/content/FlowLoop.svelte +26 -14
- package/components/flows/flowStore.js +4 -40
- package/components/flows/utils.js +16 -22
- package/components/propertyPicker/ObjectViewer.svelte +7 -1
- package/gen/core/OpenAPI.js +1 -1
- package/gen/models/FlowModule.d.ts +0 -1
- package/gen/services/JobService.d.ts +15 -0
- package/gen/services/JobService.js +18 -1
- package/infer.js +2 -0
- package/init_scripts/python_failure_module.d.ts +2 -0
- package/init_scripts/{python_failure_module.py → python_failure_module.js} +2 -2
- package/init_scripts/python_init_code.d.ts +2 -0
- package/init_scripts/{python_init_code.py → python_init_code.js} +3 -3
- package/init_scripts/python_init_code_clear.d.ts +2 -0
- package/init_scripts/python_init_code_clear.js +5 -0
- package/init_scripts/python_init_code_trigger.d.ts +2 -0
- package/init_scripts/{python_init_code_trigger.py → python_init_code_trigger.js} +2 -2
- package/package.json +673 -673
- package/script_helpers.d.ts +5 -5
- package/script_helpers.js +15 -5
- package/stores.d.ts +4 -3
- package/stores.js +23 -19
- package/utils.d.ts +1 -0
- package/utils.js +8 -0
- package/init_scripts/python_init_code_clear.py +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AlignCenter, AlignJustify, AlignLeft, AlignRight, Asterisk, Eye, EyeOff, Grid, Italic, Mouse, MousePointer, Pointer, RectangleHorizontal, Slash, Square, StretchVertical, Strikethrough, Type, Underline } from 'lucide-svelte';
|
|
2
1
|
import type { components } from '../component';
|
|
2
|
+
import type { SvelteComponent } from 'svelte';
|
|
3
3
|
export declare const STYLE_STORE_KEY: "style_store";
|
|
4
4
|
export type StyleStore = ReturnType<typeof createStyleStore>;
|
|
5
5
|
export type StyleStoreValue = {
|
|
@@ -9,263 +9,14 @@ export type StyleStoreValue = {
|
|
|
9
9
|
}[];
|
|
10
10
|
topColors: TopColors;
|
|
11
11
|
};
|
|
12
|
-
export declare function createStyleStore(properties:
|
|
12
|
+
export declare function createStyleStore(properties: PropertyGroup[]): {
|
|
13
13
|
subscribe: (this: void, run: import("svelte/store").Subscriber<StyleStoreValue>, invalidate?: ((value?: StyleStoreValue | undefined) => void) | undefined) => import("svelte/store").Unsubscriber;
|
|
14
14
|
set: (this: void, value: StyleStoreValue) => void;
|
|
15
15
|
update: (this: void, updater: import("svelte/store").Updater<StyleStoreValue>) => void;
|
|
16
16
|
updatePropValue: (key: StylePropertyKey, value?: string) => void;
|
|
17
17
|
getProp(key: StylePropertyKey): {
|
|
18
18
|
prop: {
|
|
19
|
-
prop:
|
|
20
|
-
readonly key: "display";
|
|
21
|
-
readonly value: {
|
|
22
|
-
readonly type: StylePropertyType.text;
|
|
23
|
-
readonly options: readonly [{
|
|
24
|
-
readonly text: "block";
|
|
25
|
-
readonly icon: typeof Square;
|
|
26
|
-
}, {
|
|
27
|
-
readonly text: "inline-block";
|
|
28
|
-
readonly icon: typeof RectangleHorizontal;
|
|
29
|
-
}, {
|
|
30
|
-
readonly text: "flex";
|
|
31
|
-
readonly icon: typeof StretchVertical;
|
|
32
|
-
}, {
|
|
33
|
-
readonly text: "grid";
|
|
34
|
-
readonly icon: typeof Grid;
|
|
35
|
-
}];
|
|
36
|
-
};
|
|
37
|
-
} | {
|
|
38
|
-
readonly key: "padding";
|
|
39
|
-
readonly value: readonly [{
|
|
40
|
-
readonly type: StylePropertyType.unit;
|
|
41
|
-
readonly title: "top";
|
|
42
|
-
}, {
|
|
43
|
-
readonly type: StylePropertyType.unit;
|
|
44
|
-
readonly title: "right";
|
|
45
|
-
}, {
|
|
46
|
-
readonly type: StylePropertyType.unit;
|
|
47
|
-
readonly title: "bottom";
|
|
48
|
-
}, {
|
|
49
|
-
readonly type: StylePropertyType.unit;
|
|
50
|
-
readonly title: "left";
|
|
51
|
-
}];
|
|
52
|
-
} | {
|
|
53
|
-
readonly key: "opacity";
|
|
54
|
-
readonly value: {
|
|
55
|
-
readonly type: StylePropertyType.number;
|
|
56
|
-
readonly step: 0.1;
|
|
57
|
-
readonly min: 0;
|
|
58
|
-
readonly max: 1;
|
|
59
|
-
};
|
|
60
|
-
} | {
|
|
61
|
-
readonly key: "cursor";
|
|
62
|
-
readonly value: {
|
|
63
|
-
readonly type: StylePropertyType.text;
|
|
64
|
-
readonly options: readonly [{
|
|
65
|
-
readonly text: "default";
|
|
66
|
-
readonly icon: typeof MousePointer;
|
|
67
|
-
}, {
|
|
68
|
-
readonly text: "pointer";
|
|
69
|
-
readonly icon: typeof Pointer;
|
|
70
|
-
}];
|
|
71
|
-
};
|
|
72
|
-
} | {
|
|
73
|
-
readonly key: "width";
|
|
74
|
-
readonly value: {
|
|
75
|
-
readonly type: StylePropertyType.unit;
|
|
76
|
-
};
|
|
77
|
-
} | {
|
|
78
|
-
readonly key: "min-width";
|
|
79
|
-
readonly value: {
|
|
80
|
-
readonly type: StylePropertyType.unit;
|
|
81
|
-
};
|
|
82
|
-
} | {
|
|
83
|
-
readonly key: "max-width";
|
|
84
|
-
readonly value: {
|
|
85
|
-
readonly type: StylePropertyType.unit;
|
|
86
|
-
};
|
|
87
|
-
} | {
|
|
88
|
-
readonly key: "height";
|
|
89
|
-
readonly value: {
|
|
90
|
-
readonly type: StylePropertyType.unit;
|
|
91
|
-
};
|
|
92
|
-
} | {
|
|
93
|
-
readonly key: "min-height";
|
|
94
|
-
readonly value: {
|
|
95
|
-
readonly type: StylePropertyType.unit;
|
|
96
|
-
};
|
|
97
|
-
} | {
|
|
98
|
-
readonly key: "max-height";
|
|
99
|
-
readonly value: {
|
|
100
|
-
readonly type: StylePropertyType.unit;
|
|
101
|
-
};
|
|
102
|
-
} | {
|
|
103
|
-
readonly key: "border";
|
|
104
|
-
readonly value: readonly [{
|
|
105
|
-
readonly type: StylePropertyType.unit;
|
|
106
|
-
readonly title: "width";
|
|
107
|
-
}, {
|
|
108
|
-
readonly type: StylePropertyType.text;
|
|
109
|
-
readonly title: "style";
|
|
110
|
-
readonly options: readonly [{
|
|
111
|
-
readonly text: "solid";
|
|
112
|
-
readonly icon: "___";
|
|
113
|
-
}, {
|
|
114
|
-
readonly text: "dashed";
|
|
115
|
-
readonly icon: "_ _";
|
|
116
|
-
}, {
|
|
117
|
-
readonly text: "dotted";
|
|
118
|
-
readonly icon: ". .";
|
|
119
|
-
}];
|
|
120
|
-
}, {
|
|
121
|
-
readonly type: StylePropertyType.color;
|
|
122
|
-
readonly title: "color";
|
|
123
|
-
}];
|
|
124
|
-
} | {
|
|
125
|
-
readonly key: "border-radius";
|
|
126
|
-
readonly value: {
|
|
127
|
-
readonly type: StylePropertyType.unit;
|
|
128
|
-
};
|
|
129
|
-
} | {
|
|
130
|
-
readonly key: "box-shadow";
|
|
131
|
-
readonly value: readonly [{
|
|
132
|
-
readonly type: StylePropertyType.unit;
|
|
133
|
-
readonly title: "offset-x";
|
|
134
|
-
}, {
|
|
135
|
-
readonly type: StylePropertyType.unit;
|
|
136
|
-
readonly title: "offset-y";
|
|
137
|
-
}, {
|
|
138
|
-
readonly type: StylePropertyType.unit;
|
|
139
|
-
readonly title: "blur";
|
|
140
|
-
}, {
|
|
141
|
-
readonly type: StylePropertyType.unit;
|
|
142
|
-
readonly title: "spread";
|
|
143
|
-
}, {
|
|
144
|
-
readonly type: StylePropertyType.color;
|
|
145
|
-
readonly title: "color";
|
|
146
|
-
}];
|
|
147
|
-
} | {
|
|
148
|
-
readonly key: "background-color";
|
|
149
|
-
readonly value: {
|
|
150
|
-
readonly type: StylePropertyType.color;
|
|
151
|
-
};
|
|
152
|
-
} | {
|
|
153
|
-
readonly key: "color";
|
|
154
|
-
readonly value: {
|
|
155
|
-
readonly type: StylePropertyType.color;
|
|
156
|
-
};
|
|
157
|
-
} | {
|
|
158
|
-
readonly key: "font-size";
|
|
159
|
-
readonly value: {
|
|
160
|
-
readonly type: StylePropertyType.unit;
|
|
161
|
-
};
|
|
162
|
-
} | {
|
|
163
|
-
readonly key: "font-family";
|
|
164
|
-
readonly value: {
|
|
165
|
-
readonly type: StylePropertyType.text;
|
|
166
|
-
};
|
|
167
|
-
} | {
|
|
168
|
-
readonly key: "font-weight";
|
|
169
|
-
readonly value: {
|
|
170
|
-
readonly type: StylePropertyType.number;
|
|
171
|
-
};
|
|
172
|
-
} | {
|
|
173
|
-
readonly key: "font-style";
|
|
174
|
-
readonly value: {
|
|
175
|
-
readonly type: StylePropertyType.text;
|
|
176
|
-
readonly options: readonly [{
|
|
177
|
-
readonly text: "normal";
|
|
178
|
-
readonly icon: typeof Type;
|
|
179
|
-
}, {
|
|
180
|
-
readonly text: "italic";
|
|
181
|
-
readonly icon: typeof Italic;
|
|
182
|
-
}];
|
|
183
|
-
};
|
|
184
|
-
} | {
|
|
185
|
-
readonly key: "text-align";
|
|
186
|
-
readonly value: {
|
|
187
|
-
readonly type: StylePropertyType.text;
|
|
188
|
-
readonly options: readonly [{
|
|
189
|
-
readonly text: "left";
|
|
190
|
-
readonly icon: typeof AlignLeft;
|
|
191
|
-
}, {
|
|
192
|
-
readonly text: "center";
|
|
193
|
-
readonly icon: typeof AlignCenter;
|
|
194
|
-
}, {
|
|
195
|
-
readonly text: "right";
|
|
196
|
-
readonly icon: typeof AlignRight;
|
|
197
|
-
}, {
|
|
198
|
-
readonly text: "justify";
|
|
199
|
-
readonly icon: typeof AlignJustify;
|
|
200
|
-
}];
|
|
201
|
-
};
|
|
202
|
-
} | {
|
|
203
|
-
readonly key: "text-decoration";
|
|
204
|
-
readonly value: {
|
|
205
|
-
readonly type: StylePropertyType.text;
|
|
206
|
-
readonly options: readonly [{
|
|
207
|
-
readonly text: "none";
|
|
208
|
-
readonly icon: typeof Slash;
|
|
209
|
-
}, {
|
|
210
|
-
readonly text: "underline";
|
|
211
|
-
readonly icon: typeof Underline;
|
|
212
|
-
}, {
|
|
213
|
-
readonly text: "line-through";
|
|
214
|
-
readonly icon: typeof Strikethrough;
|
|
215
|
-
}];
|
|
216
|
-
};
|
|
217
|
-
} | {
|
|
218
|
-
readonly key: "text-transform";
|
|
219
|
-
readonly value: {
|
|
220
|
-
readonly type: StylePropertyType.text;
|
|
221
|
-
readonly options: readonly [{
|
|
222
|
-
readonly text: "none";
|
|
223
|
-
readonly icon: typeof Slash;
|
|
224
|
-
}, {
|
|
225
|
-
readonly text: "capitalize";
|
|
226
|
-
readonly icon: "Aa";
|
|
227
|
-
}, {
|
|
228
|
-
readonly text: "uppercase";
|
|
229
|
-
readonly icon: "AA";
|
|
230
|
-
}, {
|
|
231
|
-
readonly text: "lowercase";
|
|
232
|
-
readonly icon: "aa";
|
|
233
|
-
}];
|
|
234
|
-
};
|
|
235
|
-
} | {
|
|
236
|
-
readonly key: "line-height";
|
|
237
|
-
readonly value: {
|
|
238
|
-
readonly type: StylePropertyType.unit;
|
|
239
|
-
};
|
|
240
|
-
} | {
|
|
241
|
-
readonly key: "letter-spacing";
|
|
242
|
-
readonly value: {
|
|
243
|
-
readonly type: StylePropertyType.unit;
|
|
244
|
-
};
|
|
245
|
-
} | {
|
|
246
|
-
readonly key: "word-spacing";
|
|
247
|
-
readonly value: {
|
|
248
|
-
readonly type: StylePropertyType.unit;
|
|
249
|
-
};
|
|
250
|
-
} | {
|
|
251
|
-
readonly key: "overflow";
|
|
252
|
-
readonly value: {
|
|
253
|
-
readonly type: StylePropertyType.text;
|
|
254
|
-
readonly options: readonly [{
|
|
255
|
-
readonly text: "auto";
|
|
256
|
-
readonly icon: typeof Asterisk;
|
|
257
|
-
}, {
|
|
258
|
-
readonly text: "visible";
|
|
259
|
-
readonly icon: typeof Eye;
|
|
260
|
-
}, {
|
|
261
|
-
readonly text: "hidden";
|
|
262
|
-
readonly icon: typeof EyeOff;
|
|
263
|
-
}, {
|
|
264
|
-
readonly text: "scroll";
|
|
265
|
-
readonly icon: typeof Mouse;
|
|
266
|
-
}];
|
|
267
|
-
};
|
|
268
|
-
};
|
|
19
|
+
prop: StyleProperty;
|
|
269
20
|
value: string | undefined;
|
|
270
21
|
};
|
|
271
22
|
index: number | undefined;
|
|
@@ -281,255 +32,30 @@ export declare enum StylePropertyType {
|
|
|
281
32
|
}
|
|
282
33
|
export declare const StylePropertyUnits: string[];
|
|
283
34
|
export type TopColors = [] | [string] | [string, string] | [string, string, string];
|
|
35
|
+
export type StylePropertyOption = {
|
|
36
|
+
text: string;
|
|
37
|
+
icon: string | typeof SvelteComponent;
|
|
38
|
+
};
|
|
39
|
+
export type BaseStylePropertyValue<T extends StylePropertyType> = {
|
|
40
|
+
type: T;
|
|
41
|
+
title?: string;
|
|
42
|
+
};
|
|
43
|
+
export type StylePropertyColorValue = BaseStylePropertyValue<StylePropertyType.color>;
|
|
44
|
+
export type StylePropertyUnitValue = BaseStylePropertyValue<StylePropertyType.unit>;
|
|
45
|
+
export type StylePropertyNumberValue = BaseStylePropertyValue<StylePropertyType.number> & {
|
|
46
|
+
step?: number;
|
|
47
|
+
min?: number;
|
|
48
|
+
max?: number;
|
|
49
|
+
};
|
|
50
|
+
export type StylePropertyTextValue = BaseStylePropertyValue<StylePropertyType.text> & {
|
|
51
|
+
options?: StylePropertyOption[];
|
|
52
|
+
};
|
|
53
|
+
export type StylePropertyValue = StylePropertyColorValue | StylePropertyUnitValue | StylePropertyNumberValue | StylePropertyTextValue;
|
|
54
|
+
export type StyleProperty = {
|
|
55
|
+
key: string;
|
|
56
|
+
value: StylePropertyValue | StylePropertyValue[];
|
|
57
|
+
};
|
|
284
58
|
export type StylePropertyKey = (typeof StyleProperty)[number]['key'];
|
|
285
|
-
export declare const StyleProperty:
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
readonly type: StylePropertyType.text;
|
|
289
|
-
readonly options: readonly [{
|
|
290
|
-
readonly text: "block";
|
|
291
|
-
readonly icon: typeof Square;
|
|
292
|
-
}, {
|
|
293
|
-
readonly text: "inline-block";
|
|
294
|
-
readonly icon: typeof RectangleHorizontal;
|
|
295
|
-
}, {
|
|
296
|
-
readonly text: "flex";
|
|
297
|
-
readonly icon: typeof StretchVertical;
|
|
298
|
-
}, {
|
|
299
|
-
readonly text: "grid";
|
|
300
|
-
readonly icon: typeof Grid;
|
|
301
|
-
}];
|
|
302
|
-
};
|
|
303
|
-
}, {
|
|
304
|
-
readonly key: "padding";
|
|
305
|
-
readonly value: readonly [{
|
|
306
|
-
readonly type: StylePropertyType.unit;
|
|
307
|
-
readonly title: "top";
|
|
308
|
-
}, {
|
|
309
|
-
readonly type: StylePropertyType.unit;
|
|
310
|
-
readonly title: "right";
|
|
311
|
-
}, {
|
|
312
|
-
readonly type: StylePropertyType.unit;
|
|
313
|
-
readonly title: "bottom";
|
|
314
|
-
}, {
|
|
315
|
-
readonly type: StylePropertyType.unit;
|
|
316
|
-
readonly title: "left";
|
|
317
|
-
}];
|
|
318
|
-
}, {
|
|
319
|
-
readonly key: "opacity";
|
|
320
|
-
readonly value: {
|
|
321
|
-
readonly type: StylePropertyType.number;
|
|
322
|
-
readonly step: 0.1;
|
|
323
|
-
readonly min: 0;
|
|
324
|
-
readonly max: 1;
|
|
325
|
-
};
|
|
326
|
-
}, {
|
|
327
|
-
readonly key: "cursor";
|
|
328
|
-
readonly value: {
|
|
329
|
-
readonly type: StylePropertyType.text;
|
|
330
|
-
readonly options: readonly [{
|
|
331
|
-
readonly text: "default";
|
|
332
|
-
readonly icon: typeof MousePointer;
|
|
333
|
-
}, {
|
|
334
|
-
readonly text: "pointer";
|
|
335
|
-
readonly icon: typeof Pointer;
|
|
336
|
-
}];
|
|
337
|
-
};
|
|
338
|
-
}, {
|
|
339
|
-
readonly key: "width";
|
|
340
|
-
readonly value: {
|
|
341
|
-
readonly type: StylePropertyType.unit;
|
|
342
|
-
};
|
|
343
|
-
}, {
|
|
344
|
-
readonly key: "min-width";
|
|
345
|
-
readonly value: {
|
|
346
|
-
readonly type: StylePropertyType.unit;
|
|
347
|
-
};
|
|
348
|
-
}, {
|
|
349
|
-
readonly key: "max-width";
|
|
350
|
-
readonly value: {
|
|
351
|
-
readonly type: StylePropertyType.unit;
|
|
352
|
-
};
|
|
353
|
-
}, {
|
|
354
|
-
readonly key: "height";
|
|
355
|
-
readonly value: {
|
|
356
|
-
readonly type: StylePropertyType.unit;
|
|
357
|
-
};
|
|
358
|
-
}, {
|
|
359
|
-
readonly key: "min-height";
|
|
360
|
-
readonly value: {
|
|
361
|
-
readonly type: StylePropertyType.unit;
|
|
362
|
-
};
|
|
363
|
-
}, {
|
|
364
|
-
readonly key: "max-height";
|
|
365
|
-
readonly value: {
|
|
366
|
-
readonly type: StylePropertyType.unit;
|
|
367
|
-
};
|
|
368
|
-
}, {
|
|
369
|
-
readonly key: "border";
|
|
370
|
-
readonly value: readonly [{
|
|
371
|
-
readonly type: StylePropertyType.unit;
|
|
372
|
-
readonly title: "width";
|
|
373
|
-
}, {
|
|
374
|
-
readonly type: StylePropertyType.text;
|
|
375
|
-
readonly title: "style";
|
|
376
|
-
readonly options: readonly [{
|
|
377
|
-
readonly text: "solid";
|
|
378
|
-
readonly icon: "___";
|
|
379
|
-
}, {
|
|
380
|
-
readonly text: "dashed";
|
|
381
|
-
readonly icon: "_ _";
|
|
382
|
-
}, {
|
|
383
|
-
readonly text: "dotted";
|
|
384
|
-
readonly icon: ". .";
|
|
385
|
-
}];
|
|
386
|
-
}, {
|
|
387
|
-
readonly type: StylePropertyType.color;
|
|
388
|
-
readonly title: "color";
|
|
389
|
-
}];
|
|
390
|
-
}, {
|
|
391
|
-
readonly key: "border-radius";
|
|
392
|
-
readonly value: {
|
|
393
|
-
readonly type: StylePropertyType.unit;
|
|
394
|
-
};
|
|
395
|
-
}, {
|
|
396
|
-
readonly key: "box-shadow";
|
|
397
|
-
readonly value: readonly [{
|
|
398
|
-
readonly type: StylePropertyType.unit;
|
|
399
|
-
readonly title: "offset-x";
|
|
400
|
-
}, {
|
|
401
|
-
readonly type: StylePropertyType.unit;
|
|
402
|
-
readonly title: "offset-y";
|
|
403
|
-
}, {
|
|
404
|
-
readonly type: StylePropertyType.unit;
|
|
405
|
-
readonly title: "blur";
|
|
406
|
-
}, {
|
|
407
|
-
readonly type: StylePropertyType.unit;
|
|
408
|
-
readonly title: "spread";
|
|
409
|
-
}, {
|
|
410
|
-
readonly type: StylePropertyType.color;
|
|
411
|
-
readonly title: "color";
|
|
412
|
-
}];
|
|
413
|
-
}, {
|
|
414
|
-
readonly key: "background-color";
|
|
415
|
-
readonly value: {
|
|
416
|
-
readonly type: StylePropertyType.color;
|
|
417
|
-
};
|
|
418
|
-
}, {
|
|
419
|
-
readonly key: "color";
|
|
420
|
-
readonly value: {
|
|
421
|
-
readonly type: StylePropertyType.color;
|
|
422
|
-
};
|
|
423
|
-
}, {
|
|
424
|
-
readonly key: "font-size";
|
|
425
|
-
readonly value: {
|
|
426
|
-
readonly type: StylePropertyType.unit;
|
|
427
|
-
};
|
|
428
|
-
}, {
|
|
429
|
-
readonly key: "font-family";
|
|
430
|
-
readonly value: {
|
|
431
|
-
readonly type: StylePropertyType.text;
|
|
432
|
-
};
|
|
433
|
-
}, {
|
|
434
|
-
readonly key: "font-weight";
|
|
435
|
-
readonly value: {
|
|
436
|
-
readonly type: StylePropertyType.number;
|
|
437
|
-
};
|
|
438
|
-
}, {
|
|
439
|
-
readonly key: "font-style";
|
|
440
|
-
readonly value: {
|
|
441
|
-
readonly type: StylePropertyType.text;
|
|
442
|
-
readonly options: readonly [{
|
|
443
|
-
readonly text: "normal";
|
|
444
|
-
readonly icon: typeof Type;
|
|
445
|
-
}, {
|
|
446
|
-
readonly text: "italic";
|
|
447
|
-
readonly icon: typeof Italic;
|
|
448
|
-
}];
|
|
449
|
-
};
|
|
450
|
-
}, {
|
|
451
|
-
readonly key: "text-align";
|
|
452
|
-
readonly value: {
|
|
453
|
-
readonly type: StylePropertyType.text;
|
|
454
|
-
readonly options: readonly [{
|
|
455
|
-
readonly text: "left";
|
|
456
|
-
readonly icon: typeof AlignLeft;
|
|
457
|
-
}, {
|
|
458
|
-
readonly text: "center";
|
|
459
|
-
readonly icon: typeof AlignCenter;
|
|
460
|
-
}, {
|
|
461
|
-
readonly text: "right";
|
|
462
|
-
readonly icon: typeof AlignRight;
|
|
463
|
-
}, {
|
|
464
|
-
readonly text: "justify";
|
|
465
|
-
readonly icon: typeof AlignJustify;
|
|
466
|
-
}];
|
|
467
|
-
};
|
|
468
|
-
}, {
|
|
469
|
-
readonly key: "text-decoration";
|
|
470
|
-
readonly value: {
|
|
471
|
-
readonly type: StylePropertyType.text;
|
|
472
|
-
readonly options: readonly [{
|
|
473
|
-
readonly text: "none";
|
|
474
|
-
readonly icon: typeof Slash;
|
|
475
|
-
}, {
|
|
476
|
-
readonly text: "underline";
|
|
477
|
-
readonly icon: typeof Underline;
|
|
478
|
-
}, {
|
|
479
|
-
readonly text: "line-through";
|
|
480
|
-
readonly icon: typeof Strikethrough;
|
|
481
|
-
}];
|
|
482
|
-
};
|
|
483
|
-
}, {
|
|
484
|
-
readonly key: "text-transform";
|
|
485
|
-
readonly value: {
|
|
486
|
-
readonly type: StylePropertyType.text;
|
|
487
|
-
readonly options: readonly [{
|
|
488
|
-
readonly text: "none";
|
|
489
|
-
readonly icon: typeof Slash;
|
|
490
|
-
}, {
|
|
491
|
-
readonly text: "capitalize";
|
|
492
|
-
readonly icon: "Aa";
|
|
493
|
-
}, {
|
|
494
|
-
readonly text: "uppercase";
|
|
495
|
-
readonly icon: "AA";
|
|
496
|
-
}, {
|
|
497
|
-
readonly text: "lowercase";
|
|
498
|
-
readonly icon: "aa";
|
|
499
|
-
}];
|
|
500
|
-
};
|
|
501
|
-
}, {
|
|
502
|
-
readonly key: "line-height";
|
|
503
|
-
readonly value: {
|
|
504
|
-
readonly type: StylePropertyType.unit;
|
|
505
|
-
};
|
|
506
|
-
}, {
|
|
507
|
-
readonly key: "letter-spacing";
|
|
508
|
-
readonly value: {
|
|
509
|
-
readonly type: StylePropertyType.unit;
|
|
510
|
-
};
|
|
511
|
-
}, {
|
|
512
|
-
readonly key: "word-spacing";
|
|
513
|
-
readonly value: {
|
|
514
|
-
readonly type: StylePropertyType.unit;
|
|
515
|
-
};
|
|
516
|
-
}, {
|
|
517
|
-
readonly key: "overflow";
|
|
518
|
-
readonly value: {
|
|
519
|
-
readonly type: StylePropertyType.text;
|
|
520
|
-
readonly options: readonly [{
|
|
521
|
-
readonly text: "auto";
|
|
522
|
-
readonly icon: typeof Asterisk;
|
|
523
|
-
}, {
|
|
524
|
-
readonly text: "visible";
|
|
525
|
-
readonly icon: typeof Eye;
|
|
526
|
-
}, {
|
|
527
|
-
readonly text: "hidden";
|
|
528
|
-
readonly icon: typeof EyeOff;
|
|
529
|
-
}, {
|
|
530
|
-
readonly text: "scroll";
|
|
531
|
-
readonly icon: typeof Mouse;
|
|
532
|
-
}];
|
|
533
|
-
};
|
|
534
|
-
}];
|
|
535
|
-
export declare const quickStyleProperties: Record<keyof typeof components, Record<string, StylePropertyKey[]>>;
|
|
59
|
+
export declare const StyleProperty: StyleProperty[];
|
|
60
|
+
export type PropertyGroup = Record<string, StylePropertyKey[]>;
|
|
61
|
+
export declare const quickStyleProperties: Record<keyof typeof components, Record<string, PropertyGroup[]>>;
|