@superblocksteam/library 2.0.6-next.89 → 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
|
@@ -2,361 +2,261 @@ import { Section, Prop } from "../../properties-panel/props-builder.js";
|
|
|
2
2
|
import { RowDensity } from "./types.js";
|
|
3
3
|
import type { UnknownRow, PaginationType } from "./types.js";
|
|
4
4
|
export declare const propertiesDefinition: {
|
|
5
|
-
general: Section<Record<string, Prop<any, any
|
|
6
|
-
header: Prop<string, true
|
|
7
|
-
tableData: Prop<UnknownRow[], false
|
|
5
|
+
general: Section<Record<string, Prop<any, any>> & {
|
|
6
|
+
header: Prop<string, true>;
|
|
7
|
+
tableData: Prop<UnknownRow[], false>;
|
|
8
8
|
columns: import("../../properties-panel/props-builder.js").RecordProp<{
|
|
9
|
-
general: Section<(Record<string, Prop<any, any
|
|
10
|
-
label: Prop<string, false
|
|
9
|
+
general: Section<(Record<string, Prop<any, any>> & ({
|
|
10
|
+
label: Prop<string, false>;
|
|
11
11
|
} & (Omit<{
|
|
12
|
-
columnType: Prop<import("./types.js").ColumnType, true
|
|
12
|
+
columnType: Prop<import("./types.js").ColumnType, true>;
|
|
13
13
|
}, "columnType"> & ({
|
|
14
|
-
displayedValue: Prop<string, false
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
isDerived: Prop<boolean, true, undefined>;
|
|
18
|
-
columnType: Prop<undefined, false, undefined>;
|
|
14
|
+
displayedValue: Prop<string, false>;
|
|
15
|
+
isDerived: Prop<boolean, true>;
|
|
16
|
+
columnType: Prop<undefined, false>;
|
|
19
17
|
} | {
|
|
20
|
-
displayedValue: Prop<string, false
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
isDerived: Prop<boolean, true, undefined>;
|
|
24
|
-
columnType: Prop<"text", true, undefined>;
|
|
18
|
+
displayedValue: Prop<string, false>;
|
|
19
|
+
isDerived: Prop<boolean, true>;
|
|
20
|
+
columnType: Prop<"text", true>;
|
|
25
21
|
} | {
|
|
26
|
-
notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}]>;
|
|
32
|
-
maximumFractionDigits: Prop<number, false, [{
|
|
33
|
-
currentRow: Record<string, unknown>;
|
|
34
|
-
}]>;
|
|
35
|
-
isDerived: Prop<boolean, true, undefined>;
|
|
36
|
-
columnType: Prop<"number", true, undefined>;
|
|
22
|
+
notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
|
|
23
|
+
minimumFractionDigits: Prop<number, false>;
|
|
24
|
+
maximumFractionDigits: Prop<number, false>;
|
|
25
|
+
isDerived: Prop<boolean, true>;
|
|
26
|
+
columnType: Prop<"number", true>;
|
|
37
27
|
} | {
|
|
38
|
-
notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
maximumFractionDigits: Prop<number, false, [{
|
|
45
|
-
currentRow: Record<string, unknown>;
|
|
46
|
-
}]>;
|
|
47
|
-
currency: Prop<string, true, [{
|
|
48
|
-
currentRow: Record<string, unknown>;
|
|
49
|
-
}]>;
|
|
50
|
-
isDerived: Prop<boolean, true, undefined>;
|
|
51
|
-
columnType: Prop<"currency", true, undefined>;
|
|
28
|
+
notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
|
|
29
|
+
minimumFractionDigits: Prop<number, false>;
|
|
30
|
+
maximumFractionDigits: Prop<number, false>;
|
|
31
|
+
currency: Prop<string, true>;
|
|
32
|
+
isDerived: Prop<boolean, true>;
|
|
33
|
+
columnType: Prop<"currency", true>;
|
|
52
34
|
} | {
|
|
53
|
-
minimumFractionDigits: Prop<number, false
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
currentRow: Record<string, unknown>;
|
|
58
|
-
}]>;
|
|
59
|
-
isDerived: Prop<boolean, true, undefined>;
|
|
60
|
-
columnType: Prop<"percentage", true, undefined>;
|
|
35
|
+
minimumFractionDigits: Prop<number, false>;
|
|
36
|
+
maximumFractionDigits: Prop<number, false>;
|
|
37
|
+
isDerived: Prop<boolean, true>;
|
|
38
|
+
columnType: Prop<"percentage", true>;
|
|
61
39
|
} | {
|
|
62
|
-
openImageUrl: Prop<boolean, true
|
|
63
|
-
isDerived: Prop<boolean, true
|
|
64
|
-
columnType: Prop<"image", true
|
|
40
|
+
openImageUrl: Prop<boolean, true>;
|
|
41
|
+
isDerived: Prop<boolean, true>;
|
|
42
|
+
columnType: Prop<"image", true>;
|
|
65
43
|
} | {
|
|
66
|
-
isDerived: Prop<boolean, true
|
|
67
|
-
columnType: Prop<"video", true
|
|
44
|
+
isDerived: Prop<boolean, true>;
|
|
45
|
+
columnType: Prop<"video", true>;
|
|
68
46
|
} | {
|
|
69
|
-
manageTimezone: Prop<boolean, true
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}]>;
|
|
75
|
-
outputFormat: Prop<string, false, [{
|
|
76
|
-
currentRow: Record<string, unknown>;
|
|
77
|
-
}]>;
|
|
78
|
-
isDerived: Prop<boolean, true, undefined>;
|
|
79
|
-
columnType: Prop<"date", true, undefined>;
|
|
47
|
+
manageTimezone: Prop<boolean, true>;
|
|
48
|
+
inputFormat: Prop<string, false>;
|
|
49
|
+
outputFormat: Prop<string, false>;
|
|
50
|
+
isDerived: Prop<boolean, true>;
|
|
51
|
+
columnType: Prop<"date", true>;
|
|
80
52
|
} | {
|
|
81
|
-
buttonLabel: Prop<string, true
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
isDisabled: Prop<boolean, false, [{
|
|
85
|
-
currentRow: Record<string, unknown>;
|
|
86
|
-
}]>;
|
|
87
|
-
columnType: Prop<"button", true, undefined>;
|
|
53
|
+
buttonLabel: Prop<string, true>;
|
|
54
|
+
isDisabled: Prop<boolean, false>;
|
|
55
|
+
columnType: Prop<"button", true>;
|
|
88
56
|
} | {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}]>;
|
|
92
|
-
linkLabel: Prop<string, false, [{
|
|
93
|
-
currentRow: Record<string, unknown>;
|
|
94
|
-
}]>;
|
|
95
|
-
columnType: Prop<"link", true, undefined>;
|
|
57
|
+
linkLabel: Prop<string, false>;
|
|
58
|
+
columnType: Prop<"link", true>;
|
|
96
59
|
} | {
|
|
97
|
-
isDerived: Prop<boolean, true
|
|
98
|
-
columnType: Prop<"boolean", true
|
|
60
|
+
isDerived: Prop<boolean, true>;
|
|
61
|
+
columnType: Prop<"boolean", true>;
|
|
99
62
|
} | {
|
|
100
|
-
isDerived: Prop<boolean, true
|
|
101
|
-
columnType: Prop<"tags", true
|
|
63
|
+
isDerived: Prop<boolean, true>;
|
|
64
|
+
columnType: Prop<"tags", true>;
|
|
102
65
|
} | {
|
|
103
|
-
displayedValue: Prop<string, false
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
isDerived: Prop<boolean, true, undefined>;
|
|
107
|
-
columnType: Prop<"email", true, undefined>;
|
|
66
|
+
displayedValue: Prop<string, false>;
|
|
67
|
+
isDerived: Prop<boolean, true>;
|
|
68
|
+
columnType: Prop<"email", true>;
|
|
108
69
|
})))) & {
|
|
109
|
-
isVisible: Prop<boolean, true
|
|
70
|
+
isVisible: Prop<boolean, true>;
|
|
110
71
|
}>;
|
|
111
|
-
presentation: Section<(Record<string, Prop<any, any
|
|
112
|
-
headerIcon: Prop<string, false
|
|
113
|
-
headerIconPosition: Prop<import("../../icons/constants.js").IconPosition, true
|
|
72
|
+
presentation: Section<(Record<string, Prop<any, any>> & ({
|
|
73
|
+
headerIcon: Prop<string, false>;
|
|
74
|
+
headerIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
114
75
|
} & (Omit<{
|
|
115
|
-
columnType: Prop<import("./types.js").ColumnType, false
|
|
76
|
+
columnType: Prop<import("./types.js").ColumnType, false>;
|
|
116
77
|
}, "columnType"> & ({
|
|
117
|
-
horizontalAlign: Prop<"center" | "left" | "right", true
|
|
118
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true
|
|
119
|
-
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
120
|
-
cellBackground: Prop<string, true
|
|
121
|
-
textWrap: Prop<boolean, false
|
|
122
|
-
|
|
123
|
-
}]>;
|
|
124
|
-
cellIcon: Prop<string, false, [{
|
|
125
|
-
currentRow: Record<string, unknown>;
|
|
126
|
-
}]>;
|
|
127
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true, [{
|
|
128
|
-
currentRow: Record<string, unknown>;
|
|
129
|
-
}]>;
|
|
130
|
-
columnType: Prop<undefined, false, undefined>;
|
|
78
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
79
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
80
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
81
|
+
cellBackground: Prop<string, true>;
|
|
82
|
+
textWrap: Prop<boolean, false>;
|
|
83
|
+
columnType: Prop<undefined, false>;
|
|
131
84
|
} | {
|
|
132
|
-
horizontalAlign: Prop<"center" | "left" | "right", true
|
|
133
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true
|
|
134
|
-
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
135
|
-
cellBackground: Prop<string, true
|
|
136
|
-
textWrap: Prop<boolean, false
|
|
137
|
-
|
|
138
|
-
}]>;
|
|
139
|
-
cellIcon: Prop<string, false, [{
|
|
140
|
-
currentRow: Record<string, unknown>;
|
|
141
|
-
}]>;
|
|
142
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true, [{
|
|
143
|
-
currentRow: Record<string, unknown>;
|
|
144
|
-
}]>;
|
|
145
|
-
columnType: Prop<"text", true, undefined>;
|
|
85
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
86
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
87
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
88
|
+
cellBackground: Prop<string, true>;
|
|
89
|
+
textWrap: Prop<boolean, false>;
|
|
90
|
+
columnType: Prop<"text", true>;
|
|
146
91
|
} | {
|
|
147
|
-
horizontalAlign: Prop<"center" | "left" | "right", true
|
|
148
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true
|
|
149
|
-
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
150
|
-
cellBackground: Prop<string, true
|
|
151
|
-
textWrap: Prop<boolean, false
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
currentRow: Record<string, unknown>;
|
|
156
|
-
}]>;
|
|
157
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true, [{
|
|
158
|
-
currentRow: Record<string, unknown>;
|
|
159
|
-
}]>;
|
|
160
|
-
columnType: Prop<"number", true, undefined>;
|
|
92
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
93
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
94
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
95
|
+
cellBackground: Prop<string, true>;
|
|
96
|
+
textWrap: Prop<boolean, false>;
|
|
97
|
+
cellIcon: Prop<string, false>;
|
|
98
|
+
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
99
|
+
columnType: Prop<"number", true>;
|
|
161
100
|
} | {
|
|
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
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
currentRow: Record<string, unknown>;
|
|
171
|
-
}]>;
|
|
172
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true, [{
|
|
173
|
-
currentRow: Record<string, unknown>;
|
|
174
|
-
}]>;
|
|
175
|
-
columnType: Prop<"currency", true, undefined>;
|
|
101
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
102
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
103
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
104
|
+
cellBackground: Prop<string, true>;
|
|
105
|
+
textWrap: Prop<boolean, false>;
|
|
106
|
+
cellIcon: Prop<string, false>;
|
|
107
|
+
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
108
|
+
columnType: Prop<"currency", true>;
|
|
176
109
|
} | {
|
|
177
|
-
horizontalAlign: Prop<"center" | "left" | "right", true
|
|
178
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true
|
|
179
|
-
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
180
|
-
cellBackground: Prop<string, true
|
|
181
|
-
textWrap: Prop<boolean, false
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
currentRow: Record<string, unknown>;
|
|
186
|
-
}]>;
|
|
187
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true, [{
|
|
188
|
-
currentRow: Record<string, unknown>;
|
|
189
|
-
}]>;
|
|
190
|
-
columnType: Prop<"percentage", true, undefined>;
|
|
110
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
111
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
112
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
113
|
+
cellBackground: Prop<string, true>;
|
|
114
|
+
textWrap: Prop<boolean, false>;
|
|
115
|
+
cellIcon: Prop<string, false>;
|
|
116
|
+
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
117
|
+
columnType: Prop<"percentage", true>;
|
|
191
118
|
} | {
|
|
192
|
-
imageSize: Prop<import("./types.js").ImageSize, false
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
}]>;
|
|
198
|
-
horizontalAlign: Prop<"center" | "left" | "right", true, [{
|
|
199
|
-
currentRow: Record<string, unknown>;
|
|
200
|
-
}]>;
|
|
201
|
-
cellBackground: Prop<string, true, undefined>;
|
|
202
|
-
columnType: Prop<"image", true, undefined>;
|
|
119
|
+
imageSize: Prop<import("./types.js").ImageSize, false>;
|
|
120
|
+
imageBorderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
121
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
122
|
+
cellBackground: Prop<string, true>;
|
|
123
|
+
columnType: Prop<"image", true>;
|
|
203
124
|
} | {
|
|
204
|
-
horizontalAlign: Prop<"center" | "left" | "right", true
|
|
205
|
-
cellBackground: Prop<string, true
|
|
206
|
-
columnType: Prop<"video", true
|
|
125
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
126
|
+
cellBackground: Prop<string, true>;
|
|
127
|
+
columnType: Prop<"video", true>;
|
|
207
128
|
} | {
|
|
208
|
-
horizontalAlign: Prop<"center" | "left" | "right", true
|
|
209
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true
|
|
210
|
-
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
211
|
-
cellBackground: Prop<string, true
|
|
212
|
-
textWrap: Prop<boolean, false
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
currentRow: Record<string, unknown>;
|
|
217
|
-
}]>;
|
|
218
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true, [{
|
|
219
|
-
currentRow: Record<string, unknown>;
|
|
220
|
-
}]>;
|
|
221
|
-
columnType: Prop<"date", true, undefined>;
|
|
129
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
130
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
131
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
132
|
+
cellBackground: Prop<string, true>;
|
|
133
|
+
textWrap: Prop<boolean, false>;
|
|
134
|
+
cellIcon: Prop<string, false>;
|
|
135
|
+
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
136
|
+
columnType: Prop<"date", true>;
|
|
222
137
|
} | {
|
|
223
|
-
buttonIcon: Prop<string, false
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
buttonTextStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
231
|
-
buttonBackgroundColor: Prop<string, false, [{
|
|
232
|
-
currentRow: Record<string, unknown>;
|
|
233
|
-
}]>;
|
|
234
|
-
buttonBorder: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true, undefined>;
|
|
235
|
-
columnType: Prop<"button", true, undefined>;
|
|
138
|
+
buttonIcon: Prop<string, false>;
|
|
139
|
+
buttonIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
140
|
+
buttonVariant: Prop<import("../button/props.js").ButtonVariant, true>;
|
|
141
|
+
buttonTextStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
142
|
+
buttonBackgroundColor: Prop<string, false>;
|
|
143
|
+
buttonBorder: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
|
|
144
|
+
columnType: Prop<"button", true>;
|
|
236
145
|
} | {
|
|
237
|
-
horizontalAlign: Prop<"center" | "left" | "right", true
|
|
238
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true
|
|
239
|
-
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
240
|
-
cellBackground: Prop<string, true
|
|
241
|
-
columnType: Prop<"link", true
|
|
146
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
147
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
148
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
149
|
+
cellBackground: Prop<string, true>;
|
|
150
|
+
columnType: Prop<"link", true>;
|
|
242
151
|
} | {
|
|
243
|
-
horizontalAlign: Prop<"center" | "left" | "right", true
|
|
244
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true
|
|
245
|
-
cellBackground: Prop<string, true
|
|
246
|
-
booleanStyleFalse: Prop<import("./types.js").BooleanStyleFalse, true
|
|
247
|
-
columnType: Prop<"boolean", true
|
|
152
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
153
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
154
|
+
cellBackground: Prop<string, true>;
|
|
155
|
+
booleanStyleFalse: Prop<import("./types.js").BooleanStyleFalse, true>;
|
|
156
|
+
columnType: Prop<"boolean", true>;
|
|
248
157
|
} | {
|
|
249
|
-
horizontalAlign: Prop<"center" | "left" | "right", true
|
|
250
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true
|
|
251
|
-
cellBackground: Prop<string, true
|
|
252
|
-
tagsWrap: Prop<boolean, false
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
tagDisplayConfig: Prop<any, false, undefined>;
|
|
256
|
-
columnType: Prop<"tags", true, undefined>;
|
|
158
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
159
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
160
|
+
cellBackground: Prop<string, true>;
|
|
161
|
+
tagsWrap: Prop<boolean, false>;
|
|
162
|
+
tagDisplayConfig: Prop<any, false>;
|
|
163
|
+
columnType: Prop<"tags", true>;
|
|
257
164
|
} | {
|
|
258
|
-
horizontalAlign: Prop<"center" | "left" | "right", true
|
|
259
|
-
verticalAlign: Prop<"center" | "top" | "bottom", true
|
|
260
|
-
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
261
|
-
cellBackground: Prop<string, true
|
|
262
|
-
textWrap: Prop<boolean, false
|
|
263
|
-
|
|
264
|
-
}]>;
|
|
265
|
-
cellIcon: Prop<string, false, [{
|
|
266
|
-
currentRow: Record<string, unknown>;
|
|
267
|
-
}]>;
|
|
268
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true, [{
|
|
269
|
-
currentRow: Record<string, unknown>;
|
|
270
|
-
}]>;
|
|
271
|
-
columnType: Prop<"email", true, undefined>;
|
|
165
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
166
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true>;
|
|
167
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
168
|
+
cellBackground: Prop<string, true>;
|
|
169
|
+
textWrap: Prop<boolean, false>;
|
|
170
|
+
columnType: Prop<"email", true>;
|
|
272
171
|
})))) & {
|
|
273
|
-
isFrozen: Prop<boolean, false
|
|
172
|
+
isFrozen: Prop<boolean, false>;
|
|
274
173
|
}>;
|
|
275
|
-
interaction: Section<Record<string, Prop<any, any
|
|
276
|
-
columnType: Prop<import("./types.js").ColumnType, false
|
|
174
|
+
interaction: Section<Record<string, Prop<any, any>> & Omit<{
|
|
175
|
+
columnType: Prop<import("./types.js").ColumnType, false>;
|
|
277
176
|
}, "onClick" | "columnType"> & {
|
|
278
|
-
columnType: Prop<"button", true
|
|
279
|
-
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
177
|
+
columnType: Prop<"button", true>;
|
|
178
|
+
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
280
179
|
}>;
|
|
281
180
|
}>;
|
|
282
181
|
}>;
|
|
283
|
-
layout: Section<Record<string, Prop<any, any
|
|
284
|
-
maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
285
|
-
minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
286
|
-
maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
287
|
-
minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
288
|
-
width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
289
|
-
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
182
|
+
layout: Section<Record<string, Prop<any, any>> & {
|
|
183
|
+
maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
184
|
+
minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
185
|
+
maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
186
|
+
minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
187
|
+
width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
188
|
+
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
290
189
|
} & {
|
|
291
190
|
margin: Prop<{
|
|
292
191
|
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
293
192
|
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
294
193
|
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
295
194
|
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
296
|
-
} | undefined, true
|
|
195
|
+
} | undefined, true>;
|
|
297
196
|
} & {
|
|
298
|
-
isVisible: Prop<boolean, true
|
|
197
|
+
isVisible: Prop<boolean, true>;
|
|
299
198
|
}>;
|
|
300
|
-
interaction: Section<Record<string, Prop<any, any
|
|
301
|
-
isFilterable: Prop<boolean, true
|
|
302
|
-
defaultFilters: Prop<any, false
|
|
303
|
-
multiRowSelection: Prop<boolean, true
|
|
304
|
-
isSearchable: Prop<boolean, true
|
|
305
|
-
isDownloadable: Prop<boolean, true
|
|
306
|
-
paginationType: Prop<PaginationType, true
|
|
307
|
-
configuredPageSize: Prop<any, false
|
|
199
|
+
interaction: Section<Record<string, Prop<any, any>> & {
|
|
200
|
+
isFilterable: Prop<boolean, true>;
|
|
201
|
+
defaultFilters: Prop<any, false>;
|
|
202
|
+
multiRowSelection: Prop<boolean, true>;
|
|
203
|
+
isSearchable: Prop<boolean, true>;
|
|
204
|
+
isDownloadable: Prop<boolean, true>;
|
|
205
|
+
paginationType: Prop<PaginationType, true>;
|
|
206
|
+
configuredPageSize: Prop<any, false>;
|
|
308
207
|
defaultSort: import("../../properties-panel/props-builder.js").CompositeProp<{
|
|
309
|
-
column: Prop<string, false
|
|
310
|
-
asc: Prop<boolean, true
|
|
208
|
+
column: Prop<string, false>;
|
|
209
|
+
asc: Prop<boolean, true>;
|
|
311
210
|
}>;
|
|
312
|
-
defaultSearchText: Prop<string, false
|
|
313
|
-
searchPlaceholder: Prop<string, false
|
|
211
|
+
defaultSearchText: Prop<string, false>;
|
|
212
|
+
searchPlaceholder: Prop<string, false>;
|
|
314
213
|
}>;
|
|
315
|
-
appearance: Section<Record<string, Prop<any, any
|
|
316
|
-
defaultSelectedRow: Prop<number, false
|
|
317
|
-
showColumnBorders: Prop<boolean, false
|
|
318
|
-
"headerProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
319
|
-
"columnHeaderProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
320
|
-
columnHeaderTextWrap: Prop<boolean, true
|
|
321
|
-
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
322
|
-
backgroundColor: Prop<string, true
|
|
323
|
-
selectedRowBackgroundColor: Prop<string, true
|
|
324
|
-
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false
|
|
325
|
-
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true
|
|
326
|
-
rowDensity: Prop<RowDensity, true
|
|
327
|
-
maxLinesPerRow: Prop<number, true
|
|
328
|
-
loading: Prop<boolean, true
|
|
329
|
-
isVisible: Prop<boolean, false
|
|
330
|
-
|
|
331
|
-
"searchProps.
|
|
332
|
-
"searchProps.
|
|
333
|
-
"searchProps.
|
|
214
|
+
appearance: Section<Record<string, Prop<any, any>> & {
|
|
215
|
+
defaultSelectedRow: Prop<number, false>;
|
|
216
|
+
showColumnBorders: Prop<boolean, false>;
|
|
217
|
+
"headerProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
218
|
+
"columnHeaderProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
219
|
+
columnHeaderTextWrap: Prop<boolean, true>;
|
|
220
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
221
|
+
backgroundColor: Prop<string, true>;
|
|
222
|
+
selectedRowBackgroundColor: Prop<string, true>;
|
|
223
|
+
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
224
|
+
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
225
|
+
rowDensity: Prop<RowDensity, true>;
|
|
226
|
+
maxLinesPerRow: Prop<number, true>;
|
|
227
|
+
loading: Prop<boolean, true>;
|
|
228
|
+
isVisible: Prop<boolean, false>;
|
|
229
|
+
collapseWhenHidden: Prop<boolean, false>;
|
|
230
|
+
"searchProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
231
|
+
"searchProps.backgroundColor": Prop<string, true>;
|
|
232
|
+
"searchProps.border": Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
233
|
+
"searchProps.borderRadius": Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
334
234
|
}>;
|
|
335
|
-
events: Section<Record<string, Prop<any, any
|
|
336
|
-
onRowClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
337
|
-
|
|
338
|
-
onPageChange: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
339
|
-
|
|
340
|
-
|
|
235
|
+
events: Section<Record<string, Prop<any, any>> & {
|
|
236
|
+
onRowClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
237
|
+
onRowSelected: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
238
|
+
onPageChange: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
239
|
+
onFiltersChanged: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
240
|
+
onSearchTextChanged: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
341
241
|
}>;
|
|
342
|
-
derived: Section<Record<string, Prop<any, any
|
|
343
|
-
tableDataWithInserts: Prop<any[], true
|
|
344
|
-
tableDataWithInsertsOrderMap: Prop<number[], true
|
|
345
|
-
selectedRow: Prop<any, true
|
|
346
|
-
selectedRowSchema: Prop<any, true
|
|
347
|
-
selectedRows: Prop<any, true
|
|
348
|
-
filteredTableData: Prop<any[], true
|
|
349
|
-
filteredOrderMap: Prop<number[], true
|
|
242
|
+
derived: Section<Record<string, Prop<any, any>> & {
|
|
243
|
+
tableDataWithInserts: Prop<any[], true>;
|
|
244
|
+
tableDataWithInsertsOrderMap: Prop<number[], true>;
|
|
245
|
+
selectedRow: Prop<any, true>;
|
|
246
|
+
selectedRowSchema: Prop<any, true>;
|
|
247
|
+
selectedRows: Prop<any, true>;
|
|
248
|
+
filteredTableData: Prop<any[], true>;
|
|
249
|
+
filteredOrderMap: Prop<number[], true>;
|
|
350
250
|
}>;
|
|
351
|
-
meta: Section<Record<string, Prop<any, any
|
|
352
|
-
selectedRowIndex: Prop<number, true
|
|
353
|
-
selectedRowIndices: Prop<any, false
|
|
354
|
-
sortedColumn: Prop<any, true
|
|
355
|
-
searchText: Prop<string, true
|
|
356
|
-
filters: Prop<any, true
|
|
357
|
-
hiddenColumns: Prop<any, false
|
|
358
|
-
columnFreezes: Prop<any, false
|
|
359
|
-
tagsColorAssignment: Prop<any, false
|
|
360
|
-
pageNo: Prop<number, true
|
|
251
|
+
meta: Section<Record<string, Prop<any, any>> & {
|
|
252
|
+
selectedRowIndex: Prop<number, true>;
|
|
253
|
+
selectedRowIndices: Prop<any, false>;
|
|
254
|
+
sortedColumn: Prop<any, true>;
|
|
255
|
+
searchText: Prop<string, true>;
|
|
256
|
+
filters: Prop<any, true>;
|
|
257
|
+
hiddenColumns: Prop<any, false>;
|
|
258
|
+
columnFreezes: Prop<any, false>;
|
|
259
|
+
tagsColorAssignment: Prop<any, false>;
|
|
260
|
+
pageNo: Prop<number, true>;
|
|
361
261
|
}>;
|
|
362
262
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { HorizontalAlignment, VerticalAlignment } from "./types.js";
|
|
3
|
-
import type { ColumnProperties, EditProps, SingleCellProperties, TagDisplayConfig, RowDensity, BooleanStyleFalse, UnknownRow
|
|
3
|
+
import type { ColumnProperties, EditProps, SingleCellProperties, TagDisplayConfig, RowDensity, BooleanStyleFalse, UnknownRow } from "./types.js";
|
|
4
4
|
import type { IconPosition } from "../../icons/constants.js";
|
|
5
5
|
import type { ButtonVariant } from "../button/props.js";
|
|
6
6
|
import type { Dim } from "@superblocksteam/library-shared";
|
|
@@ -65,9 +65,9 @@ export declare const EditableCell: (props: {
|
|
|
65
65
|
maxLinesPerRow?: number;
|
|
66
66
|
theme: UserAccessibleTheme;
|
|
67
67
|
}) => React.JSX.Element;
|
|
68
|
-
export declare function getCellProperties(tableCellTextStyle: TextStyleWithVariant | undefined, columnProperties: ColumnProperties,
|
|
69
|
-
export declare function getPropertyValue
|
|
70
|
-
export declare function getFirstPropertyValue
|
|
68
|
+
export declare function getCellProperties(tableCellTextStyle: TextStyleWithVariant | undefined, columnProperties: ColumnProperties, rowIndex: number): SingleCellProperties;
|
|
69
|
+
export declare function getPropertyValue(value: any, index: number, preserveDataType?: boolean): any;
|
|
70
|
+
export declare function getFirstPropertyValue(value: string | string[] | undefined): string | undefined;
|
|
71
71
|
export declare const renderCell: ({ value, columnType, editInputType, cellProps, defaultValue, maxLinesPerRow, tableCellTextStyle, typographies, theme, }: {
|
|
72
72
|
value: any;
|
|
73
73
|
columnType: string;
|