@superblocksteam/library 2.0.6-next.39 → 2.0.6-next.4
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/{allPaths-DrkZM5UN.js → allPaths-BtYOw5Ru.js} +2 -2
- package/dist/{allPaths-DrkZM5UN.js.map → allPaths-BtYOw5Ru.js.map} +1 -1
- package/dist/{allPaths-DtYnQ-yV.js → allPaths-CO-aWzss.js} +2 -2
- package/dist/{allPaths-DtYnQ-yV.js.map → allPaths-CO-aWzss.js.map} +1 -1
- package/dist/{allPathsLoader-Bt-mJXJw.js → allPathsLoader-B3Ii4JGL.js} +3 -3
- package/dist/{allPathsLoader-rDsLNp7q.js.map → allPathsLoader-B3Ii4JGL.js.map} +1 -1
- package/dist/{allPathsLoader-rDsLNp7q.js → allPathsLoader-KDCEbuYo.js} +3 -3
- package/dist/{allPathsLoader-Bt-mJXJw.js.map → allPathsLoader-KDCEbuYo.js.map} +1 -1
- package/dist/{devtools-consolidated-DaYe-zkb.js → devtools-consolidated-B1B3uBW_.js} +2 -2
- package/dist/{devtools-consolidated-DaYe-zkb.js.map → devtools-consolidated-B1B3uBW_.js.map} +1 -1
- package/dist/{icons-lSlfQ50w.js → icons-NrNO8p_u.js} +14 -10
- package/dist/icons-NrNO8p_u.js.map +1 -0
- package/dist/{index-D9O95zsr.js → index-kjgG33Rg.js} +1648 -799
- package/dist/{index-D9O95zsr.js.map → index-kjgG33Rg.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-DCl0XfAP.js → splitPathsBySizeLoader-Btq5cpt-.js} +2 -2
- package/dist/{splitPathsBySizeLoader-DCl0XfAP.js.map → splitPathsBySizeLoader-Btq5cpt-.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-HDsWhSbE.js → splitPathsBySizeLoader-VThmaq3t.js} +2 -2
- package/dist/{splitPathsBySizeLoader-HDsWhSbE.js.map → splitPathsBySizeLoader-VThmaq3t.js.map} +1 -1
- package/dist-types/edit-mode/dnd/utils.d.ts +0 -4
- package/dist-types/edit-mode/iframe-wrappers.d.ts +0 -1
- package/dist-types/edit-mode/source-update-api.d.ts +0 -5
- package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +0 -1
- package/dist-types/lib/internal-details/is-sb-component.d.ts +1 -5
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +6 -6
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -5
- package/dist-types/lib/internal-details/lib/types.d.ts +0 -3
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +3 -3
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +3 -3
- package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +3 -4
- package/dist-types/lib/triggers/registry.d.ts +6 -6
- package/dist-types/lib/user-facing/components/button/index.d.ts +26 -26
- package/dist-types/lib/user-facing/components/button/props.d.ts +26 -26
- package/dist-types/lib/user-facing/components/checkbox/index.d.ts +31 -31
- package/dist-types/lib/user-facing/components/checkbox/props.d.ts +31 -31
- package/dist-types/lib/user-facing/components/column/index.d.ts +19 -19
- package/dist-types/lib/user-facing/components/column/props.d.ts +19 -19
- package/dist-types/lib/user-facing/components/container/index.d.ts +21 -21
- package/dist-types/lib/user-facing/components/container/props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +9 -9
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +48 -48
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +48 -48
- package/dist-types/lib/user-facing/components/dropdown/index.d.ts +54 -54
- package/dist-types/lib/user-facing/components/dropdown/props.d.ts +54 -54
- package/dist-types/lib/user-facing/components/grid/index.d.ts +18 -20
- package/dist-types/lib/user-facing/components/grid/utils.d.ts +1 -0
- package/dist-types/lib/user-facing/components/icon/index.d.ts +13 -11
- package/dist-types/lib/user-facing/components/icon/props.d.ts +13 -11
- package/dist-types/lib/user-facing/components/image/index.d.ts +20 -20
- package/dist-types/lib/user-facing/components/image/props.d.ts +23 -23
- package/dist-types/lib/user-facing/components/input/index.d.ts +63 -63
- package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
- package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/modal/index.d.ts +27 -27
- package/dist-types/lib/user-facing/components/modal/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/page/index.d.ts +13 -13
- package/dist-types/lib/user-facing/components/page/props.d.ts +13 -13
- package/dist-types/lib/user-facing/components/section/index.d.ts +16 -16
- package/dist-types/lib/user-facing/components/section/props.d.ts +16 -16
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +11 -11
- package/dist-types/lib/user-facing/components/stack/index.d.ts +38 -38
- package/dist-types/lib/user-facing/components/switch/index.d.ts +32 -32
- package/dist-types/lib/user-facing/components/switch/props.d.ts +32 -32
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +161 -262
- package/dist-types/lib/user-facing/components/table/index.d.ts +205 -306
- package/dist-types/lib/user-facing/components/table/props.d.ts +205 -306
- package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +4 -4
- package/dist-types/lib/user-facing/components/table/table-widget.d.ts +1 -5
- package/dist-types/lib/user-facing/components/table/types.d.ts +28 -31
- package/dist-types/lib/user-facing/components/text/index.d.ts +35 -35
- package/dist-types/lib/user-facing/components/text/props.d.ts +35 -35
- package/dist-types/lib/user-facing/entities/api/props.d.ts +10 -10
- package/dist-types/lib/user-facing/entities/timer/props.d.ts +12 -12
- package/dist-types/lib/user-facing/entities/variable/props.d.ts +7 -7
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +12 -12
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +2 -2
- package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +10 -10
- package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +45 -45
- package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +9 -20
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +2 -2
- package/dist-types/lib/user-facing/sb-provider.d.ts +2 -1
- package/package.json +3 -3
- package/dist/icons-lSlfQ50w.js.map +0 -1
- package/dist-types/lib/user-facing/build-manifest.d.ts +0 -2
|
@@ -236,9 +236,6 @@ export type ColumnPropertyFunctions = {
|
|
|
236
236
|
onDateSelected?: () => void;
|
|
237
237
|
onCheckChange?: () => void;
|
|
238
238
|
};
|
|
239
|
-
export type ContextualColumnProperty<T> = T | ((params: {
|
|
240
|
-
currentRow: UnknownRow;
|
|
241
|
-
}) => T);
|
|
242
239
|
export interface ColumnProperties extends ColumnEditConfigs, ColumnPropertiesForEditing, ColumnPropertyFunctions {
|
|
243
240
|
id: string;
|
|
244
241
|
label: string;
|
|
@@ -248,41 +245,41 @@ export interface ColumnProperties extends ColumnEditConfigs, ColumnPropertiesFor
|
|
|
248
245
|
isVisible: boolean;
|
|
249
246
|
index: number;
|
|
250
247
|
width: number;
|
|
251
|
-
cellBackground?:
|
|
252
|
-
horizontalAlign?:
|
|
253
|
-
verticalAlign?:
|
|
254
|
-
cellProps?:
|
|
248
|
+
cellBackground?: string;
|
|
249
|
+
horizontalAlign?: HorizontalAlignment;
|
|
250
|
+
verticalAlign?: VerticalAlignment;
|
|
251
|
+
cellProps?: {
|
|
255
252
|
textStyle: TextStyleWithVariant;
|
|
256
|
-
}
|
|
253
|
+
};
|
|
257
254
|
enableFilter?: boolean;
|
|
258
255
|
enableSort?: boolean;
|
|
259
256
|
isDerived: boolean;
|
|
260
|
-
computedValue:
|
|
261
|
-
displayedValue?:
|
|
262
|
-
buttonLabel?:
|
|
263
|
-
buttonBackgroundColor?:
|
|
264
|
-
buttonBorder?:
|
|
265
|
-
buttonVariant?:
|
|
266
|
-
buttonTextStyle?:
|
|
267
|
-
cellIcon?:
|
|
268
|
-
cellIconPosition?:
|
|
269
|
-
buttonIcon?:
|
|
270
|
-
buttonIconPosition?:
|
|
271
|
-
isDisabled?:
|
|
272
|
-
linkUrl?:
|
|
273
|
-
linkLabel?:
|
|
274
|
-
openInNewTab?:
|
|
257
|
+
computedValue: string | string[];
|
|
258
|
+
displayedValue?: string | string[];
|
|
259
|
+
buttonLabel?: string;
|
|
260
|
+
buttonBackgroundColor?: string;
|
|
261
|
+
buttonBorder?: PerSideBorder;
|
|
262
|
+
buttonVariant?: string;
|
|
263
|
+
buttonTextStyle?: TextStyleWithVariant;
|
|
264
|
+
cellIcon?: string;
|
|
265
|
+
cellIconPosition?: IconPosition;
|
|
266
|
+
buttonIcon?: string;
|
|
267
|
+
buttonIconPosition?: IconPosition;
|
|
268
|
+
isDisabled?: boolean;
|
|
269
|
+
linkUrl?: string;
|
|
270
|
+
linkLabel?: string;
|
|
271
|
+
openInNewTab?: boolean;
|
|
275
272
|
booleanStyleFalse?: BooleanStyleFalse;
|
|
276
|
-
isEditable?:
|
|
273
|
+
isEditable?: boolean | string;
|
|
277
274
|
isFrozen?: boolean;
|
|
278
|
-
textWrap?:
|
|
279
|
-
tagsWrap?:
|
|
275
|
+
textWrap?: boolean;
|
|
276
|
+
tagsWrap?: boolean;
|
|
280
277
|
tagDisplayConfig: Record<string, TagDisplayConfig>;
|
|
281
|
-
imageSize?:
|
|
282
|
-
imageBorderRadius?:
|
|
283
|
-
openImageUrl?:
|
|
284
|
-
outputFormat?:
|
|
285
|
-
inputFormat?:
|
|
278
|
+
imageSize?: ImageSize;
|
|
279
|
+
imageBorderRadius?: PerCornerBorderRadius;
|
|
280
|
+
openImageUrl?: boolean;
|
|
281
|
+
outputFormat?: string;
|
|
282
|
+
inputFormat?: string;
|
|
286
283
|
}
|
|
287
284
|
export type EditProps = ColumnEditConfigs & {
|
|
288
285
|
handleEditStart: () => void;
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
export declare const SbText: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
2
|
-
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
3
|
-
text: import("../../properties-panel/props-builder.js").Prop<string, false
|
|
4
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", true
|
|
2
|
+
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
3
|
+
text: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
4
|
+
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", true>;
|
|
5
5
|
}>;
|
|
6
|
-
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
7
|
-
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
8
|
-
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true
|
|
9
|
-
verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("./props.js").VerticalAlign, true
|
|
10
|
-
wrapText: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
11
|
-
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
12
|
-
shouldScroll: import("../../properties-panel/props-builder.js").Prop<boolean, false
|
|
13
|
-
icon: import("../../properties-panel/props-builder.js").Prop<string, false
|
|
14
|
-
iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true
|
|
6
|
+
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ({
|
|
7
|
+
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
8
|
+
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true>;
|
|
9
|
+
verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("./props.js").VerticalAlign, true>;
|
|
10
|
+
wrapText: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
11
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
12
|
+
shouldScroll: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
13
|
+
icon: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
14
|
+
iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
15
15
|
} & (Omit<{
|
|
16
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", false
|
|
16
|
+
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", false>;
|
|
17
17
|
}, "textType" | "dateInputFormat" | "dateOutputFormat"> & ({
|
|
18
|
-
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false
|
|
19
|
-
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false
|
|
20
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"currency", true
|
|
21
|
-
currency: import("../../properties-panel/props-builder.js").Prop<string, true
|
|
22
|
-
numberFormat: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true
|
|
18
|
+
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
19
|
+
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
20
|
+
textType: import("../../properties-panel/props-builder.js").Prop<"currency", true>;
|
|
21
|
+
currency: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
22
|
+
numberFormat: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true>;
|
|
23
23
|
dateInputFormat?: undefined;
|
|
24
24
|
dateOutputFormat?: undefined;
|
|
25
25
|
} | {
|
|
26
|
-
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false
|
|
27
|
-
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false
|
|
28
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"number", true
|
|
29
|
-
numberFormat: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true
|
|
26
|
+
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
27
|
+
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
28
|
+
textType: import("../../properties-panel/props-builder.js").Prop<"number", true>;
|
|
29
|
+
numberFormat: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true>;
|
|
30
30
|
dateInputFormat?: undefined;
|
|
31
31
|
dateOutputFormat?: undefined;
|
|
32
32
|
} | {
|
|
33
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"date", true
|
|
34
|
-
dateInputFormat: import("../../properties-panel/props-builder.js").Prop<string, false
|
|
35
|
-
dateOutputFormat: import("../../properties-panel/props-builder.js").Prop<string, false
|
|
33
|
+
textType: import("../../properties-panel/props-builder.js").Prop<"date", true>;
|
|
34
|
+
dateInputFormat: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
35
|
+
dateOutputFormat: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
36
36
|
})))>;
|
|
37
|
-
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
38
|
-
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
39
|
-
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
40
|
-
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
41
|
-
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
42
|
-
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
43
|
-
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
37
|
+
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
38
|
+
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
39
|
+
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
40
|
+
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
41
|
+
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
42
|
+
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
43
|
+
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
44
44
|
} & {
|
|
45
45
|
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
46
46
|
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
47
47
|
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
48
48
|
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
49
49
|
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
50
|
-
} | undefined, true
|
|
50
|
+
} | undefined, true>;
|
|
51
51
|
} & {
|
|
52
|
-
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
52
|
+
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
53
53
|
} & {
|
|
54
|
-
shouldScroll: import("../../properties-panel/props-builder.js").Prop<boolean, false
|
|
54
|
+
shouldScroll: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
55
55
|
}>;
|
|
56
56
|
}>>;
|
|
@@ -10,58 +10,58 @@ import type { Typographies } from "@superblocksteam/library-shared/types";
|
|
|
10
10
|
export declare const DEFAULT_TEXT_WIDGET_TEXT_STYLE_VARIANT: keyof Typographies;
|
|
11
11
|
export type VerticalAlign = "top" | "center" | "bottom";
|
|
12
12
|
export declare const propertiesDefinition: {
|
|
13
|
-
general: Section<Record<string, Prop<any, any
|
|
14
|
-
text: Prop<string, false
|
|
15
|
-
textType: Prop<"number" | "time" | "text" | "date" | "currency", true
|
|
13
|
+
general: Section<Record<string, Prop<any, any>> & {
|
|
14
|
+
text: Prop<string, false>;
|
|
15
|
+
textType: Prop<"number" | "time" | "text" | "date" | "currency", true>;
|
|
16
16
|
}>;
|
|
17
|
-
appearance: Section<Record<string, Prop<any, any
|
|
18
|
-
textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
19
|
-
horizontalAlign: Prop<HorizontalAlign, true
|
|
20
|
-
verticalAlign: Prop<VerticalAlign, true
|
|
21
|
-
wrapText: Prop<boolean, true
|
|
22
|
-
loading: Prop<boolean, true
|
|
23
|
-
shouldScroll: Prop<boolean, false
|
|
24
|
-
icon: Prop<string, false
|
|
25
|
-
iconPosition: Prop<IconPosition, true
|
|
17
|
+
appearance: Section<Record<string, Prop<any, any>> & ({
|
|
18
|
+
textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
19
|
+
horizontalAlign: Prop<HorizontalAlign, true>;
|
|
20
|
+
verticalAlign: Prop<VerticalAlign, true>;
|
|
21
|
+
wrapText: Prop<boolean, true>;
|
|
22
|
+
loading: Prop<boolean, true>;
|
|
23
|
+
shouldScroll: Prop<boolean, false>;
|
|
24
|
+
icon: Prop<string, false>;
|
|
25
|
+
iconPosition: Prop<IconPosition, true>;
|
|
26
26
|
} & (Omit<{
|
|
27
|
-
textType: Prop<"number" | "time" | "text" | "date" | "currency", false
|
|
27
|
+
textType: Prop<"number" | "time" | "text" | "date" | "currency", false>;
|
|
28
28
|
}, "textType" | "dateInputFormat" | "dateOutputFormat"> & ({
|
|
29
|
-
minDecimals: Prop<number, false
|
|
30
|
-
maxDecimals: Prop<number, false
|
|
31
|
-
textType: Prop<"currency", true
|
|
32
|
-
currency: Prop<string, true
|
|
33
|
-
numberFormat: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true
|
|
29
|
+
minDecimals: Prop<number, false>;
|
|
30
|
+
maxDecimals: Prop<number, false>;
|
|
31
|
+
textType: Prop<"currency", true>;
|
|
32
|
+
currency: Prop<string, true>;
|
|
33
|
+
numberFormat: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true>;
|
|
34
34
|
dateInputFormat?: undefined;
|
|
35
35
|
dateOutputFormat?: undefined;
|
|
36
36
|
} | {
|
|
37
|
-
minDecimals: Prop<number, false
|
|
38
|
-
maxDecimals: Prop<number, false
|
|
39
|
-
textType: Prop<"number", true
|
|
40
|
-
numberFormat: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true
|
|
37
|
+
minDecimals: Prop<number, false>;
|
|
38
|
+
maxDecimals: Prop<number, false>;
|
|
39
|
+
textType: Prop<"number", true>;
|
|
40
|
+
numberFormat: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true>;
|
|
41
41
|
dateInputFormat?: undefined;
|
|
42
42
|
dateOutputFormat?: undefined;
|
|
43
43
|
} | {
|
|
44
|
-
textType: Prop<"date", true
|
|
45
|
-
dateInputFormat: Prop<string, false
|
|
46
|
-
dateOutputFormat: Prop<string, false
|
|
44
|
+
textType: Prop<"date", true>;
|
|
45
|
+
dateInputFormat: Prop<string, false>;
|
|
46
|
+
dateOutputFormat: Prop<string, false>;
|
|
47
47
|
})))>;
|
|
48
|
-
layout: Section<Record<string, Prop<any, any
|
|
49
|
-
maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
50
|
-
minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
51
|
-
maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
52
|
-
minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
53
|
-
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
54
|
-
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
48
|
+
layout: Section<Record<string, Prop<any, any>> & {
|
|
49
|
+
maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
50
|
+
minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
51
|
+
maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
52
|
+
minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
53
|
+
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
54
|
+
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
55
55
|
} & {
|
|
56
56
|
margin: Prop<{
|
|
57
57
|
top: Dim<"px">;
|
|
58
58
|
bottom: Dim<"px">;
|
|
59
59
|
left: Dim<"px">;
|
|
60
60
|
right: Dim<"px">;
|
|
61
|
-
} | undefined, true
|
|
61
|
+
} | undefined, true>;
|
|
62
62
|
} & {
|
|
63
|
-
isVisible: Prop<boolean, true
|
|
63
|
+
isVisible: Prop<boolean, true>;
|
|
64
64
|
} & {
|
|
65
|
-
shouldScroll: Prop<boolean, false
|
|
65
|
+
shouldScroll: Prop<boolean, false>;
|
|
66
66
|
}>;
|
|
67
67
|
};
|
|
@@ -4,17 +4,17 @@ export type ApiEntity = InternalProps<typeof propertiesDefinition> & {
|
|
|
4
4
|
cancel: () => Promise<any>;
|
|
5
5
|
};
|
|
6
6
|
export declare const propertiesDefinition: {
|
|
7
|
-
events: Section<Record<string, Prop<any, any
|
|
8
|
-
onSuccess: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
9
|
-
onError: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
7
|
+
events: Section<Record<string, Prop<any, any>> & {
|
|
8
|
+
onSuccess: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
9
|
+
onError: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
10
10
|
}>;
|
|
11
|
-
metadata: Section<Record<string, Prop<any, any
|
|
12
|
-
response: Prop<any, true
|
|
13
|
-
error: Prop<any, true
|
|
14
|
-
isRunning: Prop<boolean, true
|
|
11
|
+
metadata: Section<Record<string, Prop<any, any>> & {
|
|
12
|
+
response: Prop<any, true>;
|
|
13
|
+
error: Prop<any, true>;
|
|
14
|
+
isRunning: Prop<boolean, true>;
|
|
15
15
|
}>;
|
|
16
|
-
functions: Section<Record<string, Prop<any, any
|
|
17
|
-
run: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], Promise<any>>, true
|
|
18
|
-
cancel: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], Promise<void>>, true
|
|
16
|
+
functions: Section<Record<string, Prop<any, any>> & {
|
|
17
|
+
run: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], Promise<any>>, true>;
|
|
18
|
+
cancel: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], Promise<void>>, true>;
|
|
19
19
|
}>;
|
|
20
20
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Section, Prop } from "../../properties-panel/props-builder.js";
|
|
2
2
|
export declare const propertiesDefinition: {
|
|
3
|
-
general: Section<Record<string, Prop<any, any
|
|
4
|
-
intervalMs: Prop<number, true
|
|
5
|
-
startOnPageLoad: Prop<boolean, false
|
|
3
|
+
general: Section<Record<string, Prop<any, any>> & {
|
|
4
|
+
intervalMs: Prop<number, true>;
|
|
5
|
+
startOnPageLoad: Prop<boolean, false>;
|
|
6
6
|
}>;
|
|
7
|
-
events: Section<Record<string, Prop<any, any
|
|
8
|
-
onFire: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
7
|
+
events: Section<Record<string, Prop<any, any>> & {
|
|
8
|
+
onFire: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
9
9
|
}>;
|
|
10
|
-
metadata: Section<Record<string, Prop<any, any
|
|
11
|
-
timerId: Prop<string, false
|
|
12
|
-
isRunning: Prop<boolean, true
|
|
10
|
+
metadata: Section<Record<string, Prop<any, any>> & {
|
|
11
|
+
timerId: Prop<string, false>;
|
|
12
|
+
isRunning: Prop<boolean, true>;
|
|
13
13
|
}>;
|
|
14
|
-
functions: Section<Record<string, Prop<any, any
|
|
15
|
-
start: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true
|
|
16
|
-
stop: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true
|
|
17
|
-
toggle: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true
|
|
14
|
+
functions: Section<Record<string, Prop<any, any>> & {
|
|
15
|
+
start: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true>;
|
|
16
|
+
stop: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true>;
|
|
17
|
+
toggle: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true>;
|
|
18
18
|
}>;
|
|
19
19
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { SbVariablePersistence } from "@superblocksteam/library-shared/types";
|
|
2
2
|
import { Section, Prop } from "../../properties-panel/props-builder.js";
|
|
3
3
|
export declare const propertiesDefinition: {
|
|
4
|
-
general: Section<Record<string, Prop<any, any
|
|
5
|
-
defaultValue: Prop<any, false
|
|
6
|
-
value: Prop<any, false
|
|
7
|
-
persistence: Prop<SbVariablePersistence, true
|
|
4
|
+
general: Section<Record<string, Prop<any, any>> & {
|
|
5
|
+
defaultValue: Prop<any, false>;
|
|
6
|
+
value: Prop<any, false>;
|
|
7
|
+
persistence: Prop<SbVariablePersistence, true>;
|
|
8
8
|
}>;
|
|
9
|
-
functions: Section<Record<string, Prop<any, any
|
|
10
|
-
set: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[value: any], void>, true
|
|
11
|
-
reset: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true
|
|
9
|
+
functions: Section<Record<string, Prop<any, any>> & {
|
|
10
|
+
set: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[value: any], void>, true>;
|
|
11
|
+
reset: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true>;
|
|
12
12
|
}>;
|
|
13
13
|
};
|
|
@@ -2,23 +2,23 @@ import { Prop } from "../props-builder.js";
|
|
|
2
2
|
import type { PropertiesPanelDisplay } from "@superblocksteam/library-shared/props";
|
|
3
3
|
import type { TextStyleWithVariant } from "@superblocksteam/library-shared/types";
|
|
4
4
|
export declare const createTextStyleCompositeBase: () => {
|
|
5
|
-
variant: Prop<string, false
|
|
5
|
+
variant: Prop<string, false>;
|
|
6
6
|
textColor: import("../props-builder.js").CompositeProp<{
|
|
7
|
-
default: Prop<string, false
|
|
7
|
+
default: Prop<string, false>;
|
|
8
8
|
}>;
|
|
9
|
-
fontFamily: Prop<string, false
|
|
10
|
-
fontSize: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
11
|
-
fontWeight: Prop<number, false
|
|
12
|
-
fontStyle: Prop<string, false
|
|
13
|
-
lineHeight: Prop<string, false
|
|
14
|
-
letterSpacing: Prop<number, false
|
|
15
|
-
textTransform: Prop<string, false
|
|
9
|
+
fontFamily: Prop<string, false>;
|
|
10
|
+
fontSize: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
11
|
+
fontWeight: Prop<number, false>;
|
|
12
|
+
fontStyle: Prop<string, false>;
|
|
13
|
+
lineHeight: Prop<string, false>;
|
|
14
|
+
letterSpacing: Prop<number, false>;
|
|
15
|
+
textTransform: Prop<string, false>;
|
|
16
16
|
};
|
|
17
17
|
export declare const basePropertiesPaneDisplay: PropertiesPanelDisplay<TextStyleWithVariant>;
|
|
18
18
|
export declare const textStyleProp: ({ baseProp, propertiesPanel, }?: {
|
|
19
19
|
baseProp?: ReturnType<typeof createTextStyleCompositeBase>;
|
|
20
20
|
propertiesPanel?: Omit<Partial<PropertiesPanelDisplay<TextStyleWithVariant, "TEXT_STYLE">>, "controlType">;
|
|
21
21
|
}) => Prop<TextStyleWithVariant>;
|
|
22
|
-
export declare const colorProp: (schema: Omit<Partial<PropertiesPanelDisplay<string, "COLOR_PICKER">>, "controlType">) => Prop<string, false
|
|
23
|
-
export declare const labelTextStyle: () => Prop<TextStyleWithVariant, true
|
|
24
|
-
export declare const inputTextStyle: () => Prop<TextStyleWithVariant, true
|
|
22
|
+
export declare const colorProp: (schema: Omit<Partial<PropertiesPanelDisplay<string, "COLOR_PICKER">>, "controlType">) => Prop<string, false>;
|
|
23
|
+
export declare const labelTextStyle: () => Prop<TextStyleWithVariant, true>;
|
|
24
|
+
export declare const inputTextStyle: () => Prop<TextStyleWithVariant, true>;
|
|
@@ -3,6 +3,6 @@ import type { Dim } from "@superblocksteam/library-shared";
|
|
|
3
3
|
import type { PropertiesPanelDisplay } from "@superblocksteam/library-shared/props";
|
|
4
4
|
import type { BorderStyleBlock, PerCornerBorderRadius, PerSideBorder } from "@superblocksteam/library-shared/types";
|
|
5
5
|
export declare const createPerSideBorder: (border: BorderStyleBlock) => PerSideBorder;
|
|
6
|
-
export declare const border: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<PerSideBorder, "BORDER_CONTROL">>>) => Prop<PerSideBorder, false
|
|
6
|
+
export declare const border: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<PerSideBorder, "BORDER_CONTROL">>>) => Prop<PerSideBorder, false>;
|
|
7
7
|
export declare const createBorderRadiusObject: (borderRadius: Dim<"px" | "%">) => PerCornerBorderRadius;
|
|
8
|
-
export declare const borderRadius: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<PerCornerBorderRadius, "BORDER_RADIUS_CONTROL">>>) => Prop<PerCornerBorderRadius, true
|
|
8
|
+
export declare const borderRadius: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<PerCornerBorderRadius, "BORDER_RADIUS_CONTROL">>>) => Prop<PerCornerBorderRadius, true>;
|
|
@@ -2,13 +2,13 @@ import { Dim } from "@superblocksteam/library-shared";
|
|
|
2
2
|
import { Prop } from "../props-builder.js";
|
|
3
3
|
import type { ErrorMessagePlacement } from "@superblocksteam/library-shared/props";
|
|
4
4
|
import type { PropertiesPanelDisplay } from "@superblocksteam/library-shared/props";
|
|
5
|
-
export declare const errorMessagePlacement: Prop<ErrorMessagePlacement, true
|
|
6
|
-
export declare const labelWidth: Prop<Dim, true
|
|
5
|
+
export declare const errorMessagePlacement: Prop<ErrorMessagePlacement, true>;
|
|
6
|
+
export declare const labelWidth: Prop<Dim, true>;
|
|
7
7
|
export declare const customValidationProperties: {
|
|
8
|
-
customValidationRule: Prop<string, true
|
|
9
|
-
customErrorMessage: Prop<string, true
|
|
8
|
+
customValidationRule: Prop<string, true>;
|
|
9
|
+
customErrorMessage: Prop<string, true>;
|
|
10
10
|
};
|
|
11
|
-
export declare const labelPosition: () => Prop<"top" | "left", true
|
|
11
|
+
export declare const labelPosition: () => Prop<"top" | "left", true>;
|
|
12
12
|
export declare const getTypographyOptions: () => {
|
|
13
13
|
label: string;
|
|
14
14
|
value: {
|
|
@@ -32,13 +32,13 @@ export declare const getCustomValidationProperties: ({ errorMessagePlacementSche
|
|
|
32
32
|
customValidationRuleSchema?: Omit<Partial<PropertiesPanelDisplay<string, "INPUT_TEXT">>, "controlType" | "options">;
|
|
33
33
|
customErrorMessageSchema?: Omit<Partial<PropertiesPanelDisplay<string, "INPUT_TEXT">>, "controlType" | "options">;
|
|
34
34
|
}) => {
|
|
35
|
-
errorMessagePlacement: Prop<ErrorMessagePlacement, true
|
|
36
|
-
customValidationRule: Prop<any, false
|
|
37
|
-
customErrorMessage: Prop<string, true
|
|
35
|
+
errorMessagePlacement: Prop<ErrorMessagePlacement, true>;
|
|
36
|
+
customValidationRule: Prop<any, false>;
|
|
37
|
+
customErrorMessage: Prop<string, true>;
|
|
38
38
|
};
|
|
39
39
|
export declare const getFractionDigitsProperties: ({ schema, }?: {
|
|
40
40
|
schema?: Omit<Partial<PropertiesPanelDisplay<number, "INPUT_TEXT">>, "controlType">;
|
|
41
41
|
}) => {
|
|
42
|
-
minDecimals: Prop<number, false
|
|
43
|
-
maxDecimals: Prop<number, false
|
|
42
|
+
minDecimals: Prop<number, false>;
|
|
43
|
+
maxDecimals: Prop<number, false>;
|
|
44
44
|
};
|
|
@@ -33,31 +33,31 @@ export declare const size: ({ defaults, defaultsOnAdd, hasMinWidth, hasMaxWidth,
|
|
|
33
33
|
showWidth?: (this: any, s: ScopedState) => boolean;
|
|
34
34
|
showHeight?: (this: any, s: ScopedState) => boolean;
|
|
35
35
|
}) => {
|
|
36
|
-
maxHeight?: Prop<Dim<DimModes>, false
|
|
37
|
-
minHeight?: Prop<Dim<DimModes>, false
|
|
38
|
-
maxWidth?: Prop<Dim<DimModes>, false
|
|
39
|
-
minWidth?: Prop<Dim<DimModes>, false
|
|
40
|
-
width: Prop<Dim<DimModes>, false
|
|
41
|
-
height: Prop<Dim<DimModes>, false
|
|
36
|
+
maxHeight?: Prop<Dim<DimModes>, false> | undefined;
|
|
37
|
+
minHeight?: Prop<Dim<DimModes>, false> | undefined;
|
|
38
|
+
maxWidth?: Prop<Dim<DimModes>, false> | undefined;
|
|
39
|
+
minWidth?: Prop<Dim<DimModes>, false> | undefined;
|
|
40
|
+
width: Prop<Dim<DimModes>, false>;
|
|
41
|
+
height: Prop<Dim<DimModes>, false>;
|
|
42
42
|
};
|
|
43
43
|
export declare const widthWithoutFit: () => {
|
|
44
|
-
width: Prop<Dim<"fill" | "rows" | "columns" | "px" | "%">, false
|
|
44
|
+
width: Prop<Dim<"fill" | "rows" | "columns" | "px" | "%">, false>;
|
|
45
45
|
};
|
|
46
46
|
export declare const shouldScrollContents: (defaultValue?: boolean) => {
|
|
47
|
-
shouldScrollContents: Prop<boolean, true
|
|
47
|
+
shouldScrollContents: Prop<boolean, true>;
|
|
48
48
|
};
|
|
49
49
|
export declare const visible: () => {
|
|
50
|
-
isVisible: Prop<boolean, true
|
|
50
|
+
isVisible: Prop<boolean, true>;
|
|
51
51
|
};
|
|
52
52
|
export declare const spacing: (options?: {
|
|
53
53
|
default?: Dim<"px">;
|
|
54
54
|
} & Partial<PropertiesPanelDisplay<Dim<"px">, "SPACING_CONTROL">>) => {
|
|
55
|
-
spacing: Prop<Dim<"px">, true
|
|
55
|
+
spacing: Prop<Dim<"px">, true>;
|
|
56
56
|
};
|
|
57
57
|
export declare const padding: (options?: {
|
|
58
58
|
default?: Padding | ((this: any) => Padding);
|
|
59
59
|
} & Partial<PropertiesPanelDisplay<Padding, "PADDING_CONTROL">>) => {
|
|
60
|
-
padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true
|
|
60
|
+
padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
|
|
61
61
|
};
|
|
62
62
|
export declare const margin: () => {
|
|
63
63
|
margin: Prop<{
|
|
@@ -65,59 +65,59 @@ export declare const margin: () => {
|
|
|
65
65
|
bottom: Dim<"px">;
|
|
66
66
|
left: Dim<"px">;
|
|
67
67
|
right: Dim<"px">;
|
|
68
|
-
} | undefined, true
|
|
68
|
+
} | undefined, true>;
|
|
69
69
|
};
|
|
70
70
|
export declare const getAlignmentProps: <LayoutType extends "vertical" | "horizontal">() => {
|
|
71
|
-
verticalAlign: Prop<VerticalAlignment<LayoutType>, true
|
|
72
|
-
horizontalAlign: Prop<HorizontalAlignment<LayoutType>, true
|
|
71
|
+
verticalAlign: Prop<VerticalAlignment<LayoutType>, true>;
|
|
72
|
+
horizontalAlign: Prop<HorizontalAlignment<LayoutType>, true>;
|
|
73
73
|
};
|
|
74
74
|
export declare const containerLayout: (sizeProps?: Record<string, Prop<any, any>>) => import("../props-builder.js").UnionProp<{
|
|
75
|
-
layout: Prop<ContainerLayout, true
|
|
75
|
+
layout: Prop<ContainerLayout, true>;
|
|
76
76
|
}, [{
|
|
77
|
-
readonly verticalAlign: Prop<"center" | "top" | "bottom" | "space-around" | "space-between", true
|
|
78
|
-
readonly horizontalAlign: Prop<"center" | "left" | "right", true
|
|
79
|
-
readonly layout: Prop<"vertical", true
|
|
77
|
+
readonly verticalAlign: Prop<"center" | "top" | "bottom" | "space-around" | "space-between", true>;
|
|
78
|
+
readonly horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
79
|
+
readonly layout: Prop<"vertical", true>;
|
|
80
80
|
}, {
|
|
81
|
-
readonly verticalAlign: Prop<"center" | "top" | "bottom", true
|
|
82
|
-
readonly horizontalAlign: Prop<"center" | "space-around" | "space-between" | "left" | "right", true
|
|
83
|
-
readonly layout: Prop<"horizontal", true
|
|
81
|
+
readonly verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
82
|
+
readonly horizontalAlign: Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
|
|
83
|
+
readonly layout: Prop<"horizontal", true>;
|
|
84
84
|
}, {
|
|
85
|
-
readonly columns: Prop<number, true
|
|
86
|
-
readonly rowHeight: Prop<Dim<"px">, true
|
|
87
|
-
readonly layout: Prop<"freeform", true
|
|
85
|
+
readonly columns: Prop<number, true>;
|
|
86
|
+
readonly rowHeight: Prop<Dim<"px">, true>;
|
|
87
|
+
readonly layout: Prop<"freeform", true>;
|
|
88
88
|
}], ({
|
|
89
|
-
layout: Prop<ContainerLayout, true
|
|
89
|
+
layout: Prop<ContainerLayout, true>;
|
|
90
90
|
} & {
|
|
91
|
-
readonly verticalAlign: Prop<"center" | "top" | "bottom" | "space-around" | "space-between", true
|
|
92
|
-
readonly horizontalAlign: Prop<"center" | "left" | "right", true
|
|
93
|
-
readonly layout: Prop<"vertical", true
|
|
91
|
+
readonly verticalAlign: Prop<"center" | "top" | "bottom" | "space-around" | "space-between", true>;
|
|
92
|
+
readonly horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
93
|
+
readonly layout: Prop<"vertical", true>;
|
|
94
94
|
}) | ({
|
|
95
|
-
layout: Prop<ContainerLayout, true
|
|
95
|
+
layout: Prop<ContainerLayout, true>;
|
|
96
96
|
} & {
|
|
97
|
-
readonly verticalAlign: Prop<"center" | "top" | "bottom", true
|
|
98
|
-
readonly horizontalAlign: Prop<"center" | "space-around" | "space-between" | "left" | "right", true
|
|
99
|
-
readonly layout: Prop<"horizontal", true
|
|
97
|
+
readonly verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
98
|
+
readonly horizontalAlign: Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
|
|
99
|
+
readonly layout: Prop<"horizontal", true>;
|
|
100
100
|
}) | ({
|
|
101
|
-
layout: Prop<ContainerLayout, true
|
|
101
|
+
layout: Prop<ContainerLayout, true>;
|
|
102
102
|
} & {
|
|
103
|
-
readonly columns: Prop<number, true
|
|
104
|
-
readonly rowHeight: Prop<Dim<"px">, true
|
|
105
|
-
readonly layout: Prop<"freeform", true
|
|
103
|
+
readonly columns: Prop<number, true>;
|
|
104
|
+
readonly rowHeight: Prop<Dim<"px">, true>;
|
|
105
|
+
readonly layout: Prop<"freeform", true>;
|
|
106
106
|
})>;
|
|
107
|
-
export declare const basicLayout: () => Section<Record<string, Prop<any, any
|
|
108
|
-
maxHeight?: Prop<Dim<DimModes>, false
|
|
109
|
-
minHeight?: Prop<Dim<DimModes>, false
|
|
110
|
-
maxWidth?: Prop<Dim<DimModes>, false
|
|
111
|
-
minWidth?: Prop<Dim<DimModes>, false
|
|
112
|
-
width: Prop<Dim<DimModes>, false
|
|
113
|
-
height: Prop<Dim<DimModes>, false
|
|
107
|
+
export declare const basicLayout: () => Section<Record<string, Prop<any, any>> & {
|
|
108
|
+
maxHeight?: Prop<Dim<DimModes>, false> | undefined;
|
|
109
|
+
minHeight?: Prop<Dim<DimModes>, false> | undefined;
|
|
110
|
+
maxWidth?: Prop<Dim<DimModes>, false> | undefined;
|
|
111
|
+
minWidth?: Prop<Dim<DimModes>, false> | undefined;
|
|
112
|
+
width: Prop<Dim<DimModes>, false>;
|
|
113
|
+
height: Prop<Dim<DimModes>, false>;
|
|
114
114
|
} & {
|
|
115
115
|
margin: Prop<{
|
|
116
116
|
top: Dim<"px">;
|
|
117
117
|
bottom: Dim<"px">;
|
|
118
118
|
left: Dim<"px">;
|
|
119
119
|
right: Dim<"px">;
|
|
120
|
-
} | undefined, true
|
|
120
|
+
} | undefined, true>;
|
|
121
121
|
} & {
|
|
122
|
-
isVisible: Prop<boolean, true
|
|
122
|
+
isVisible: Prop<boolean, true>;
|
|
123
123
|
}>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Prop } from "../props-builder.js";
|
|
2
|
-
export declare const loading: () => Prop<boolean, true
|
|
2
|
+
export declare const loading: () => Prop<boolean, true>;
|