@superblocksteam/library 2.0.6-next.88 → 2.0.6-next.9
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-CrtDGuNf.js → allPaths-BbwLOFSN.js} +2 -2
- package/dist/{allPaths-CrtDGuNf.js.map → allPaths-BbwLOFSN.js.map} +1 -1
- package/dist/{allPaths-CgvYrNUw.js → allPaths-YpR_xtpv.js} +2 -2
- package/dist/{allPaths-CgvYrNUw.js.map → allPaths-YpR_xtpv.js.map} +1 -1
- package/dist/{allPathsLoader-LUVVWlgN.js → allPathsLoader-CTr7XzYS.js} +3 -3
- package/dist/{allPathsLoader-LUVVWlgN.js.map → allPathsLoader-CTr7XzYS.js.map} +1 -1
- package/dist/{allPathsLoader-DhgvyPfz.js → allPathsLoader-DjBKQsij.js} +3 -3
- package/dist/{allPathsLoader-DhgvyPfz.js.map → allPathsLoader-DjBKQsij.js.map} +1 -1
- package/dist/{devtools-consolidated-DrBc1h4m.js → devtools-consolidated-B2GVETCf.js} +2 -2
- package/dist/{devtools-consolidated-DrBc1h4m.js.map → devtools-consolidated-B2GVETCf.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-2ihBTDX4.js → index-snr_jI8a.js} +22121 -24008
- package/dist/{index-2ihBTDX4.js.map → index-snr_jI8a.js.map} +1 -1
- package/dist/index.js +149 -150
- package/dist/{splitPathsBySizeLoader-mxO24EVV.js → splitPathsBySizeLoader-Blv6tUe4.js} +2 -2
- package/dist/{splitPathsBySizeLoader-mxO24EVV.js.map → splitPathsBySizeLoader-Blv6tUe4.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-BS08Me-9.js → splitPathsBySizeLoader-DbNFtg9G.js} +2 -2
- package/dist/{splitPathsBySizeLoader-BS08Me-9.js.map → splitPathsBySizeLoader-DbNFtg9G.js.map} +1 -1
- package/dist-types/edit-mode/dnd/utils.d.ts +0 -4
- package/dist-types/edit-mode/features/ui-store.d.ts +1 -1
- 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 +1 -7
- package/dist-types/lib/index.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +14 -16
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +7 -7
- package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -14
- package/dist-types/lib/internal-details/lib/root-store.d.ts +0 -2
- package/dist-types/lib/internal-details/lib/types.d.ts +1 -34
- package/dist-types/lib/internal-details/scope/global.d.ts +1 -1
- package/dist-types/lib/internal-details/scope/types.d.ts +2 -2
- package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +3 -4
- package/dist-types/lib/triggers/implementations/show-alert.d.ts +1 -1
- 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 +9 -9
- package/dist-types/lib/user-facing/component-base/sb-component.d.ts +1 -5
- 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 +11 -14
- 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 +13 -13
- 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/input-component.d.ts +0 -1
- 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 +31 -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/index.d.ts +1 -41
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +19 -39
- 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 -305
- package/dist-types/lib/user-facing/components/table/props.d.ts +205 -305
- 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 +4 -5
- package/dist-types/lib/user-facing/components/table/types.d.ts +31 -33
- 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/constants.d.ts +1 -1
- package/dist-types/lib/user-facing/entities/api/props.d.ts +11 -20
- 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/layers.d.ts +2 -1
- package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +0 -4
- 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 -28
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +4 -4
- package/dist-types/lib/user-facing/sb-provider.d.ts +2 -1
- package/package.json +3 -4
- package/dist/icons-lSlfQ50w.js.map +0 -1
- package/dist-types/internal-testing/components/slideout.d.ts +0 -3
- package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.d.ts +0 -6
- package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.d.ts +0 -8
- package/dist-types/lib/internal-details/location-store.d.ts +0 -18
- package/dist-types/lib/user-facing/build-manifest.d.ts +0 -2
- package/dist-types/lib/user-facing/components/slideout/constants.d.ts +0 -10
- package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +0 -31
- package/dist-types/lib/user-facing/entities/api/suspensible-api.d.ts +0 -20
- package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +0 -14
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import { Prop, Section } from "../../properties-panel/props-builder.js";
|
|
2
2
|
export declare const propertiesDefinition: {
|
|
3
|
-
general: Section<Record<string, Prop<any, any
|
|
4
|
-
label: Prop<string, true
|
|
5
|
-
defaultChecked: Prop<boolean, true
|
|
3
|
+
general: Section<Record<string, Prop<any, any>> & {
|
|
4
|
+
label: Prop<string, true>;
|
|
5
|
+
defaultChecked: Prop<boolean, true>;
|
|
6
6
|
}>;
|
|
7
|
-
appearance: Section<Record<string, Prop<any, any
|
|
8
|
-
labelPosition: Prop<"left" | "right", true
|
|
9
|
-
labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
10
|
-
loadingAnimation: Prop<boolean, false
|
|
7
|
+
appearance: Section<Record<string, Prop<any, any>> & {
|
|
8
|
+
labelPosition: Prop<"left" | "right", true>;
|
|
9
|
+
labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
10
|
+
loadingAnimation: Prop<boolean, false>;
|
|
11
11
|
}>;
|
|
12
|
-
layout: Section<Record<string, Prop<any, any
|
|
13
|
-
maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
14
|
-
minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
15
|
-
maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
16
|
-
minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
17
|
-
width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
18
|
-
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
12
|
+
layout: Section<Record<string, Prop<any, any>> & {
|
|
13
|
+
maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
14
|
+
minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
15
|
+
maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
16
|
+
minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
17
|
+
width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
18
|
+
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
19
19
|
} & {
|
|
20
20
|
margin: Prop<{
|
|
21
21
|
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
22
22
|
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
23
23
|
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
24
24
|
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
25
|
-
} | undefined, true
|
|
25
|
+
} | undefined, true>;
|
|
26
26
|
} & {
|
|
27
|
-
isVisible: Prop<boolean, true
|
|
27
|
+
isVisible: Prop<boolean, true>;
|
|
28
28
|
}>;
|
|
29
|
-
interaction: Section<Record<string, Prop<any, any
|
|
30
|
-
customValidationRule: Prop<string, true
|
|
31
|
-
customErrorMessage: Prop<string, true
|
|
32
|
-
isRequired: Prop<boolean, false
|
|
33
|
-
isDisabled: Prop<boolean, true
|
|
34
|
-
errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true
|
|
29
|
+
interaction: Section<Record<string, Prop<any, any>> & {
|
|
30
|
+
customValidationRule: Prop<string, true>;
|
|
31
|
+
customErrorMessage: Prop<string, true>;
|
|
32
|
+
isRequired: Prop<boolean, false>;
|
|
33
|
+
isDisabled: Prop<boolean, true>;
|
|
34
|
+
errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
|
|
35
35
|
}>;
|
|
36
|
-
events: Section<Record<string, Prop<any, any
|
|
37
|
-
onSwitchChange: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
36
|
+
events: Section<Record<string, Prop<any, any>> & {
|
|
37
|
+
onSwitchChange: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
38
38
|
}>;
|
|
39
|
-
meta: Section<Record<string, Prop<any, any
|
|
40
|
-
isTouched: Prop<boolean, true
|
|
41
|
-
isChecked: Prop<boolean, true
|
|
39
|
+
meta: Section<Record<string, Prop<any, any>> & {
|
|
40
|
+
isTouched: Prop<boolean, true>;
|
|
41
|
+
isChecked: Prop<boolean, true>;
|
|
42
42
|
}>;
|
|
43
|
-
derived: Section<Record<string, Prop<any, any
|
|
44
|
-
isToggledOn: Prop<boolean, true
|
|
45
|
-
validationErrors: Prop<any, true
|
|
46
|
-
isValid: Prop<boolean, true
|
|
47
|
-
showError: Prop<boolean, true
|
|
43
|
+
derived: Section<Record<string, Prop<any, any>> & {
|
|
44
|
+
isToggledOn: Prop<boolean, true>;
|
|
45
|
+
validationErrors: Prop<any, true>;
|
|
46
|
+
isValid: Prop<boolean, true>;
|
|
47
|
+
showError: Prop<boolean, true>;
|
|
48
48
|
}>;
|
|
49
49
|
};
|
|
@@ -3,276 +3,175 @@ import { type BooleanStyleFalse, ColumnType, ImageSize } from "./types.js";
|
|
|
3
3
|
import type { IconPosition } from "../../icons/constants.js";
|
|
4
4
|
import type { ButtonVariant } from "../button/props.js";
|
|
5
5
|
export declare const columnPanelConfig: {
|
|
6
|
-
general: Section<(Record<string, Prop<any, any
|
|
7
|
-
label: Prop<string, false
|
|
6
|
+
general: Section<(Record<string, Prop<any, any>> & ({
|
|
7
|
+
label: Prop<string, false>;
|
|
8
8
|
} & (Omit<{
|
|
9
|
-
columnType: Prop<ColumnType, true
|
|
9
|
+
columnType: Prop<ColumnType, true>;
|
|
10
10
|
}, "columnType"> & ({
|
|
11
|
-
displayedValue: Prop<string, false
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
minimumFractionDigits: Prop<number, false
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
isDerived: Prop<boolean, true
|
|
48
|
-
columnType: Prop<"
|
|
49
|
-
} | {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
isDerived: Prop<boolean, true
|
|
61
|
-
columnType: Prop<"
|
|
62
|
-
} | {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
manageTimezone: Prop<boolean, true, [{
|
|
67
|
-
currentRow: Record<string, unknown>;
|
|
68
|
-
}]>;
|
|
69
|
-
inputFormat: Prop<string, false, [{
|
|
70
|
-
currentRow: Record<string, unknown>;
|
|
71
|
-
}]>;
|
|
72
|
-
outputFormat: Prop<string, false, [{
|
|
73
|
-
currentRow: Record<string, unknown>;
|
|
74
|
-
}]>;
|
|
75
|
-
isDerived: Prop<boolean, true, undefined>;
|
|
76
|
-
columnType: Prop<"date", true, undefined>;
|
|
77
|
-
} | {
|
|
78
|
-
buttonLabel: Prop<string, true, [{
|
|
79
|
-
currentRow: Record<string, unknown>;
|
|
80
|
-
}]>;
|
|
81
|
-
isDisabled: Prop<boolean, false, [{
|
|
82
|
-
currentRow: Record<string, unknown>;
|
|
83
|
-
}]>;
|
|
84
|
-
columnType: Prop<"button", true, undefined>;
|
|
85
|
-
} | {
|
|
86
|
-
linkUrl: Prop<string, false, [{
|
|
87
|
-
currentRow: Record<string, unknown>;
|
|
88
|
-
}]>;
|
|
89
|
-
linkLabel: Prop<string, false, [{
|
|
90
|
-
currentRow: Record<string, unknown>;
|
|
91
|
-
}]>;
|
|
92
|
-
columnType: Prop<"link", true, undefined>;
|
|
93
|
-
} | {
|
|
94
|
-
isDerived: Prop<boolean, true, undefined>;
|
|
95
|
-
columnType: Prop<"boolean", true, undefined>;
|
|
96
|
-
} | {
|
|
97
|
-
isDerived: Prop<boolean, true, undefined>;
|
|
98
|
-
columnType: Prop<"tags", true, undefined>;
|
|
99
|
-
} | {
|
|
100
|
-
displayedValue: Prop<string, false, [{
|
|
101
|
-
currentRow: Record<string, unknown>;
|
|
102
|
-
}]>;
|
|
103
|
-
isDerived: Prop<boolean, true, undefined>;
|
|
104
|
-
columnType: Prop<"email", true, undefined>;
|
|
11
|
+
displayedValue: Prop<string, false>;
|
|
12
|
+
isDerived: Prop<boolean, true>;
|
|
13
|
+
columnType: Prop<undefined, false>;
|
|
14
|
+
} | {
|
|
15
|
+
displayedValue: Prop<string, false>;
|
|
16
|
+
isDerived: Prop<boolean, true>;
|
|
17
|
+
columnType: Prop<"text", true>;
|
|
18
|
+
} | {
|
|
19
|
+
notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
|
|
20
|
+
minimumFractionDigits: Prop<number, false>;
|
|
21
|
+
maximumFractionDigits: Prop<number, false>;
|
|
22
|
+
isDerived: Prop<boolean, true>;
|
|
23
|
+
columnType: Prop<"number", true>;
|
|
24
|
+
} | {
|
|
25
|
+
notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
|
|
26
|
+
minimumFractionDigits: Prop<number, false>;
|
|
27
|
+
maximumFractionDigits: Prop<number, false>;
|
|
28
|
+
currency: Prop<string, true>;
|
|
29
|
+
isDerived: Prop<boolean, true>;
|
|
30
|
+
columnType: Prop<"currency", true>;
|
|
31
|
+
} | {
|
|
32
|
+
minimumFractionDigits: Prop<number, false>;
|
|
33
|
+
maximumFractionDigits: Prop<number, false>;
|
|
34
|
+
isDerived: Prop<boolean, true>;
|
|
35
|
+
columnType: Prop<"percentage", true>;
|
|
36
|
+
} | {
|
|
37
|
+
openImageUrl: Prop<boolean, true>;
|
|
38
|
+
isDerived: Prop<boolean, true>;
|
|
39
|
+
columnType: Prop<"image", true>;
|
|
40
|
+
} | {
|
|
41
|
+
isDerived: Prop<boolean, true>;
|
|
42
|
+
columnType: Prop<"video", true>;
|
|
43
|
+
} | {
|
|
44
|
+
manageTimezone: Prop<boolean, true>;
|
|
45
|
+
inputFormat: Prop<string, false>;
|
|
46
|
+
outputFormat: Prop<string, false>;
|
|
47
|
+
isDerived: Prop<boolean, true>;
|
|
48
|
+
columnType: Prop<"date", true>;
|
|
49
|
+
} | {
|
|
50
|
+
buttonLabel: Prop<string, true>;
|
|
51
|
+
isDisabled: Prop<boolean, false>;
|
|
52
|
+
columnType: Prop<"button", true>;
|
|
53
|
+
} | {
|
|
54
|
+
linkLabel: Prop<string, false>;
|
|
55
|
+
columnType: Prop<"link", true>;
|
|
56
|
+
} | {
|
|
57
|
+
isDerived: Prop<boolean, true>;
|
|
58
|
+
columnType: Prop<"boolean", true>;
|
|
59
|
+
} | {
|
|
60
|
+
isDerived: Prop<boolean, true>;
|
|
61
|
+
columnType: Prop<"tags", true>;
|
|
62
|
+
} | {
|
|
63
|
+
displayedValue: Prop<string, false>;
|
|
64
|
+
isDerived: Prop<boolean, true>;
|
|
65
|
+
columnType: Prop<"email", true>;
|
|
105
66
|
})))) & {
|
|
106
|
-
isVisible: Prop<boolean, true
|
|
67
|
+
isVisible: Prop<boolean, true>;
|
|
107
68
|
}>;
|
|
108
|
-
presentation: Section<(Record<string, Prop<any, any
|
|
109
|
-
headerIcon: Prop<string, false
|
|
110
|
-
headerIconPosition: Prop<IconPosition, true
|
|
69
|
+
presentation: Section<(Record<string, Prop<any, any>> & ({
|
|
70
|
+
headerIcon: Prop<string, false>;
|
|
71
|
+
headerIconPosition: Prop<IconPosition, true>;
|
|
111
72
|
} & (Omit<{
|
|
112
|
-
columnType: Prop<ColumnType, false
|
|
73
|
+
columnType: Prop<ColumnType, false>;
|
|
113
74
|
}, "columnType"> & ({
|
|
114
|
-
horizontalAlign: Prop<"center" | "left" | "right", true
|
|
115
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true
|
|
116
|
-
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
117
|
-
cellBackground: Prop<string, true
|
|
118
|
-
textWrap: Prop<boolean, false
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
cellIcon: Prop<string, false
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
cellBackground: Prop<string, true
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
columnType: Prop<"
|
|
173
|
-
} | {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
columnType: Prop<"
|
|
200
|
-
} | {
|
|
201
|
-
horizontalAlign: Prop<"center" | "left" | "right", true
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
208
|
-
cellBackground: Prop<string, true, undefined>;
|
|
209
|
-
textWrap: Prop<boolean, false, [{
|
|
210
|
-
currentRow: Record<string, unknown>;
|
|
211
|
-
}]>;
|
|
212
|
-
cellIcon: Prop<string, false, [{
|
|
213
|
-
currentRow: Record<string, unknown>;
|
|
214
|
-
}]>;
|
|
215
|
-
cellIconPosition: Prop<IconPosition, true, [{
|
|
216
|
-
currentRow: Record<string, unknown>;
|
|
217
|
-
}]>;
|
|
218
|
-
columnType: Prop<"date", true, undefined>;
|
|
219
|
-
} | {
|
|
220
|
-
buttonIcon: Prop<string, false, [{
|
|
221
|
-
currentRow: Record<string, unknown>;
|
|
222
|
-
}]>;
|
|
223
|
-
buttonIconPosition: Prop<IconPosition, true, undefined>;
|
|
224
|
-
buttonVariant: Prop<ButtonVariant, true, [{
|
|
225
|
-
currentRow: Record<string, unknown>;
|
|
226
|
-
}]>;
|
|
227
|
-
buttonTextStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
228
|
-
buttonBackgroundColor: Prop<string, false, [{
|
|
229
|
-
currentRow: Record<string, unknown>;
|
|
230
|
-
}]>;
|
|
231
|
-
buttonBorder: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true, undefined>;
|
|
232
|
-
columnType: Prop<"button", true, undefined>;
|
|
233
|
-
} | {
|
|
234
|
-
horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
|
|
235
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
|
|
236
|
-
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
237
|
-
cellBackground: Prop<string, true, undefined>;
|
|
238
|
-
columnType: Prop<"link", true, undefined>;
|
|
239
|
-
} | {
|
|
240
|
-
horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
|
|
241
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
|
|
242
|
-
cellBackground: Prop<string, true, undefined>;
|
|
243
|
-
booleanStyleFalse: Prop<BooleanStyleFalse, true, undefined>;
|
|
244
|
-
columnType: Prop<"boolean", true, undefined>;
|
|
245
|
-
} | {
|
|
246
|
-
horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
|
|
247
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
|
|
248
|
-
cellBackground: Prop<string, true, undefined>;
|
|
249
|
-
tagsWrap: Prop<boolean, false, [{
|
|
250
|
-
currentRow: Record<string, unknown>;
|
|
251
|
-
}]>;
|
|
252
|
-
tagDisplayConfig: Prop<any, false, undefined>;
|
|
253
|
-
columnType: Prop<"tags", true, undefined>;
|
|
254
|
-
} | {
|
|
255
|
-
horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
|
|
256
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
|
|
257
|
-
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
258
|
-
cellBackground: Prop<string, true, undefined>;
|
|
259
|
-
textWrap: Prop<boolean, false, [{
|
|
260
|
-
currentRow: Record<string, unknown>;
|
|
261
|
-
}]>;
|
|
262
|
-
cellIcon: Prop<string, false, [{
|
|
263
|
-
currentRow: Record<string, unknown>;
|
|
264
|
-
}]>;
|
|
265
|
-
cellIconPosition: Prop<IconPosition, true, [{
|
|
266
|
-
currentRow: Record<string, unknown>;
|
|
267
|
-
}]>;
|
|
268
|
-
columnType: Prop<"email", true, undefined>;
|
|
75
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
76
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
77
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
78
|
+
cellBackground: Prop<string, true>;
|
|
79
|
+
textWrap: Prop<boolean, false>;
|
|
80
|
+
columnType: Prop<undefined, false>;
|
|
81
|
+
} | {
|
|
82
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
83
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
84
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
85
|
+
cellBackground: Prop<string, true>;
|
|
86
|
+
textWrap: Prop<boolean, false>;
|
|
87
|
+
columnType: Prop<"text", true>;
|
|
88
|
+
} | {
|
|
89
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
90
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
91
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
92
|
+
cellBackground: Prop<string, true>;
|
|
93
|
+
textWrap: Prop<boolean, false>;
|
|
94
|
+
cellIcon: Prop<string, false>;
|
|
95
|
+
cellIconPosition: Prop<IconPosition, true>;
|
|
96
|
+
columnType: Prop<"number", true>;
|
|
97
|
+
} | {
|
|
98
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
99
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
100
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
101
|
+
cellBackground: Prop<string, true>;
|
|
102
|
+
textWrap: Prop<boolean, false>;
|
|
103
|
+
cellIcon: Prop<string, false>;
|
|
104
|
+
cellIconPosition: Prop<IconPosition, true>;
|
|
105
|
+
columnType: Prop<"currency", true>;
|
|
106
|
+
} | {
|
|
107
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
108
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
109
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
110
|
+
cellBackground: Prop<string, true>;
|
|
111
|
+
textWrap: Prop<boolean, false>;
|
|
112
|
+
cellIcon: Prop<string, false>;
|
|
113
|
+
cellIconPosition: Prop<IconPosition, true>;
|
|
114
|
+
columnType: Prop<"percentage", true>;
|
|
115
|
+
} | {
|
|
116
|
+
imageSize: Prop<ImageSize, false>;
|
|
117
|
+
imageBorderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
118
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
119
|
+
cellBackground: Prop<string, true>;
|
|
120
|
+
columnType: Prop<"image", true>;
|
|
121
|
+
} | {
|
|
122
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
123
|
+
cellBackground: Prop<string, true>;
|
|
124
|
+
columnType: Prop<"video", true>;
|
|
125
|
+
} | {
|
|
126
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
127
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
128
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
129
|
+
cellBackground: Prop<string, true>;
|
|
130
|
+
textWrap: Prop<boolean, false>;
|
|
131
|
+
cellIcon: Prop<string, false>;
|
|
132
|
+
cellIconPosition: Prop<IconPosition, true>;
|
|
133
|
+
columnType: Prop<"date", true>;
|
|
134
|
+
} | {
|
|
135
|
+
buttonIcon: Prop<string, false>;
|
|
136
|
+
buttonIconPosition: Prop<IconPosition, true>;
|
|
137
|
+
buttonVariant: Prop<ButtonVariant, true>;
|
|
138
|
+
buttonTextStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
139
|
+
buttonBackgroundColor: Prop<string, false>;
|
|
140
|
+
buttonBorder: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
|
|
141
|
+
columnType: Prop<"button", true>;
|
|
142
|
+
} | {
|
|
143
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
144
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
145
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
146
|
+
cellBackground: Prop<string, true>;
|
|
147
|
+
columnType: Prop<"link", true>;
|
|
148
|
+
} | {
|
|
149
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
150
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
151
|
+
cellBackground: Prop<string, true>;
|
|
152
|
+
booleanStyleFalse: Prop<BooleanStyleFalse, true>;
|
|
153
|
+
columnType: Prop<"boolean", true>;
|
|
154
|
+
} | {
|
|
155
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
156
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
157
|
+
cellBackground: Prop<string, true>;
|
|
158
|
+
tagsWrap: Prop<boolean, false>;
|
|
159
|
+
tagDisplayConfig: Prop<any, false>;
|
|
160
|
+
columnType: Prop<"tags", true>;
|
|
161
|
+
} | {
|
|
162
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
163
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
164
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
165
|
+
cellBackground: Prop<string, true>;
|
|
166
|
+
textWrap: Prop<boolean, false>;
|
|
167
|
+
columnType: Prop<"email", true>;
|
|
269
168
|
})))) & {
|
|
270
|
-
isFrozen: Prop<boolean, false
|
|
169
|
+
isFrozen: Prop<boolean, false>;
|
|
271
170
|
}>;
|
|
272
|
-
interaction: Section<Record<string, Prop<any, any
|
|
273
|
-
columnType: Prop<ColumnType, false
|
|
171
|
+
interaction: Section<Record<string, Prop<any, any>> & Omit<{
|
|
172
|
+
columnType: Prop<ColumnType, false>;
|
|
274
173
|
}, "onClick" | "columnType"> & {
|
|
275
|
-
columnType: Prop<"button", true
|
|
276
|
-
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
174
|
+
columnType: Prop<"button", true>;
|
|
175
|
+
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
277
176
|
}>;
|
|
278
177
|
};
|