@superblocksteam/library 2.0.0-next.9 → 2.0.0-next.91
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-CAGAw9-M.js → allPaths-ADpipuB1.js} +2 -2
- package/dist/{allPaths-CAGAw9-M.js.map → allPaths-ADpipuB1.js.map} +1 -1
- package/dist/{allPaths-BXojk62W.js → allPaths-xfEq-cWW.js} +2 -2
- package/dist/{allPaths-BXojk62W.js.map → allPaths-xfEq-cWW.js.map} +1 -1
- package/dist/{allPathsLoader-B4ukhqHJ.js → allPathsLoader-CPzNLHBK.js} +3 -3
- package/dist/{allPathsLoader-B4ukhqHJ.js.map → allPathsLoader-CPzNLHBK.js.map} +1 -1
- package/dist/{allPathsLoader-DyEaA2Fu.js → allPathsLoader-DbF-VpVg.js} +3 -3
- package/dist/{allPathsLoader-DyEaA2Fu.js.map → allPathsLoader-DbF-VpVg.js.map} +1 -1
- package/dist/{index-CzpxmuHJ.js → index-D_ZvJOXD.js} +16001 -15026
- package/dist/{index-CzpxmuHJ.js.map → index-D_ZvJOXD.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-DDVqG3q2.js → splitPathsBySizeLoader-Cu4Z_FPE.js} +2 -2
- package/dist/{splitPathsBySizeLoader-DDVqG3q2.js.map → splitPathsBySizeLoader-Cu4Z_FPE.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-B4CtleKq.js → splitPathsBySizeLoader-mA-OCwLO.js} +2 -2
- package/dist/{splitPathsBySizeLoader-B4CtleKq.js.map → splitPathsBySizeLoader-mA-OCwLO.js.map} +1 -1
- package/dist-types/edit-mode/default-table-data.d.ts +71 -0
- package/dist-types/edit-mode/dnd/grid-store.d.ts +29 -4
- package/dist-types/edit-mode/dnd/utils.d.ts +7 -10
- package/dist-types/edit-mode/features/connection-manager.d.ts +1 -2
- package/dist-types/edit-mode/features/operation-store.d.ts +4 -0
- package/dist-types/edit-mode/features/properties-panel-manager.d.ts +1 -1
- package/dist-types/edit-mode/features/resizing-store.d.ts +1 -0
- package/dist-types/edit-mode/source-update-api.d.ts +3 -19
- package/dist-types/lib/internal-details/identifier-normalizer.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +7 -5
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +2 -1
- package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +12 -1
- package/dist-types/lib/internal-details/lib/features/api-store.d.ts +1 -0
- package/dist-types/lib/internal-details/lib/features/api-utils.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/types.d.ts +3 -0
- package/dist-types/lib/internal-details/scope/global.d.ts +1 -0
- package/dist-types/lib/user-facing/component-base/components/button.d.ts +3 -4
- package/dist-types/lib/user-facing/component-base/styles/button-styles.d.ts +3 -11
- package/dist-types/lib/user-facing/component-base/utils/input-validation.d.ts +11 -8
- package/dist-types/lib/user-facing/components/button/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/button/props.d.ts +4 -10
- package/dist-types/lib/user-facing/components/column/index.d.ts +8 -21
- package/dist-types/lib/user-facing/components/column/props.d.ts +8 -20
- package/dist-types/lib/user-facing/components/container/index.d.ts +12 -24
- package/dist-types/lib/user-facing/components/container/props.d.ts +7 -22
- package/dist-types/lib/user-facing/components/date-picker/date-picker-component.d.ts +3 -3
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/date-picker/utils.d.ts +1 -1
- package/dist-types/lib/user-facing/components/dropdown/index.d.ts +2 -2
- package/dist-types/lib/user-facing/components/dropdown/props.d.ts +2 -2
- package/dist-types/lib/user-facing/components/dropdown/types.d.ts +1 -1
- package/dist-types/lib/user-facing/components/grid/index.d.ts +8 -8
- package/dist-types/lib/user-facing/components/image/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/image/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/input/derived-properties.d.ts +1 -1
- package/dist-types/lib/user-facing/components/input/index.d.ts +9 -15
- package/dist-types/lib/user-facing/components/input/props.d.ts +10 -15
- package/dist-types/lib/user-facing/components/modal/index.d.ts +10 -15
- package/dist-types/lib/user-facing/components/modal/modal-component.d.ts +2 -2
- package/dist-types/lib/user-facing/components/modal/props.d.ts +10 -15
- package/dist-types/lib/user-facing/components/pixel-input/index.d.ts +7 -0
- package/dist-types/lib/user-facing/components/section/index.d.ts +2 -2
- package/dist-types/lib/user-facing/components/section/props.d.ts +2 -2
- package/dist-types/lib/user-facing/components/stack/index.d.ts +2 -2
- package/dist-types/lib/user-facing/components/switch/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/switch/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +74 -70
- package/dist-types/lib/user-facing/components/table/components/boolean-value-icons.d.ts +5 -5
- package/dist-types/lib/user-facing/components/table/components/table-data-download.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/components/table-footer.d.ts +4 -4
- package/dist-types/lib/user-facing/components/table/components/table-pagination.d.ts +3 -3
- package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +0 -1
- package/dist-types/lib/user-facing/components/table/index.d.ts +91 -87
- package/dist-types/lib/user-facing/components/table/props.d.ts +92 -89
- package/dist-types/lib/user-facing/components/table/table-component.d.ts +3 -3
- package/dist-types/lib/user-facing/components/table/table-styles.d.ts +0 -1
- package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +21 -13
- package/dist-types/lib/user-facing/components/table/table-widget.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/types.d.ts +21 -32
- package/dist-types/lib/user-facing/components/text/index.d.ts +5 -5
- package/dist-types/lib/user-facing/components/text/props.d.ts +6 -6
- package/dist-types/lib/user-facing/components/text/utils.d.ts +3 -3
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +4 -8
- package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +3 -3
- package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +15 -14
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +5 -4
- package/dist-types/lib/user-facing/properties-panel/validators.d.ts +2 -1
- package/dist-types/lib/user-facing/state/sb-computed.d.ts +1 -1
- package/dist-types/lib/user-facing/themes/constants.d.ts +2 -0
- package/package.json +4 -3
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Section, Prop } from "../../properties-panel/props-builder.js";
|
|
2
|
-
import { PaginationTypes } from "./types.js";
|
|
3
2
|
import { CompactMode } from "./types.js";
|
|
4
|
-
import type { UnknownRow } from "./types.js";
|
|
3
|
+
import type { UnknownRow, PaginationType } from "./types.js";
|
|
5
4
|
export declare const propertiesDefinition: {
|
|
6
5
|
general: Section<Record<string, Prop<any, any>> & {
|
|
7
|
-
|
|
6
|
+
header: Prop<string, true>;
|
|
8
7
|
tableData: Prop<UnknownRow[], false>;
|
|
9
8
|
columns: import("../../properties-panel/props-builder.js").RecordProp<{
|
|
10
9
|
general: Section<(Record<string, Prop<any, any>> & ({
|
|
@@ -12,24 +11,23 @@ export declare const propertiesDefinition: {
|
|
|
12
11
|
} & (Omit<{
|
|
13
12
|
columnType: Prop<import("./types.js").ColumnType, true>;
|
|
14
13
|
}, "columnType"> & ({
|
|
15
|
-
|
|
14
|
+
displayedValue: Prop<string, false>;
|
|
15
|
+
columnType: Prop<undefined, false>;
|
|
16
|
+
} | {
|
|
16
17
|
displayedValue: Prop<string, false>;
|
|
17
18
|
columnType: Prop<"text", true>;
|
|
18
19
|
} | {
|
|
19
|
-
computedValue: Prop<string, false>;
|
|
20
20
|
notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
|
|
21
21
|
minimumFractionDigits: Prop<number, false>;
|
|
22
22
|
maximumFractionDigits: Prop<number, false>;
|
|
23
23
|
columnType: Prop<"number", true>;
|
|
24
24
|
} | {
|
|
25
|
-
computedValue: Prop<string, false>;
|
|
26
25
|
notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
|
|
27
26
|
minimumFractionDigits: Prop<number, false>;
|
|
28
27
|
maximumFractionDigits: Prop<number, false>;
|
|
29
28
|
currency: Prop<string, false>;
|
|
30
29
|
columnType: Prop<"currency", true>;
|
|
31
30
|
} | {
|
|
32
|
-
computedValue: Prop<string, false>;
|
|
33
31
|
minimumFractionDigits: Prop<number, false>;
|
|
34
32
|
maximumFractionDigits: Prop<number, false>;
|
|
35
33
|
columnType: Prop<"percentage", true>;
|
|
@@ -37,17 +35,16 @@ export declare const propertiesDefinition: {
|
|
|
37
35
|
openImageUrl: Prop<boolean, false>;
|
|
38
36
|
columnType: Prop<"image", true>;
|
|
39
37
|
} | {
|
|
40
|
-
computedValue: Prop<string, false>;
|
|
41
38
|
columnType: Prop<"video", true>;
|
|
42
39
|
} | {
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
inputFormat: Prop<string, false>;
|
|
41
|
+
outputFormat: Prop<string, false>;
|
|
45
42
|
manageTimezone: Prop<boolean, false>;
|
|
46
43
|
valueTimezone: Prop<string, false>;
|
|
47
44
|
displayTimezone: Prop<string, false>;
|
|
48
45
|
columnType: Prop<"date", true>;
|
|
49
46
|
} | {
|
|
50
|
-
buttonLabel: Prop<string,
|
|
47
|
+
buttonLabel: Prop<string, true>;
|
|
51
48
|
isDisabled: Prop<boolean, false>;
|
|
52
49
|
columnType: Prop<"button", true>;
|
|
53
50
|
} | {
|
|
@@ -56,13 +53,11 @@ export declare const propertiesDefinition: {
|
|
|
56
53
|
openInNewTab: Prop<boolean, false>;
|
|
57
54
|
columnType: Prop<"link", true>;
|
|
58
55
|
} | {
|
|
59
|
-
computedValue: Prop<string, false>;
|
|
60
56
|
columnType: Prop<"boolean", true>;
|
|
61
57
|
} | {
|
|
62
58
|
computedValue: Prop<string, false>;
|
|
63
59
|
columnType: Prop<"tags", true>;
|
|
64
60
|
} | {
|
|
65
|
-
computedValue: Prop<string, false>;
|
|
66
61
|
displayedValue: Prop<string, false>;
|
|
67
62
|
columnType: Prop<"email", true>;
|
|
68
63
|
})))) & {
|
|
@@ -70,107 +65,116 @@ export declare const propertiesDefinition: {
|
|
|
70
65
|
}>;
|
|
71
66
|
presentation: Section<(Record<string, Prop<any, any>> & ({
|
|
72
67
|
headerIcon: Prop<string, false>;
|
|
73
|
-
headerIconPosition: Prop<import("../../icons/constants.js").IconPosition,
|
|
68
|
+
headerIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
74
69
|
} & (Omit<{
|
|
75
70
|
columnType: Prop<import("./types.js").ColumnType, false>;
|
|
76
71
|
}, "columnType"> & ({
|
|
77
|
-
horizontalAlign: Prop<"center" | "left" | "right",
|
|
78
|
-
verticalAlign: Prop<"center" | "bottom" | "top",
|
|
79
|
-
"cellProps.textStyle": Prop<
|
|
80
|
-
cellBackground: Prop<string,
|
|
72
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
73
|
+
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
74
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
75
|
+
cellBackground: Prop<string, true>;
|
|
76
|
+
textWrap: Prop<boolean, false>;
|
|
77
|
+
cellIcon: Prop<string, false>;
|
|
78
|
+
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
79
|
+
columnType: Prop<undefined, false>;
|
|
80
|
+
} | {
|
|
81
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
82
|
+
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
83
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
84
|
+
cellBackground: Prop<string, true>;
|
|
81
85
|
textWrap: Prop<boolean, false>;
|
|
82
86
|
cellIcon: Prop<string, false>;
|
|
83
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition,
|
|
87
|
+
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
84
88
|
columnType: Prop<"text", true>;
|
|
85
89
|
} | {
|
|
86
|
-
horizontalAlign: Prop<"center" | "left" | "right",
|
|
87
|
-
verticalAlign: Prop<"center" | "bottom" | "top",
|
|
88
|
-
"cellProps.textStyle": Prop<
|
|
89
|
-
cellBackground: Prop<string,
|
|
90
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
91
|
+
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
92
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
93
|
+
cellBackground: Prop<string, true>;
|
|
90
94
|
textWrap: Prop<boolean, false>;
|
|
91
95
|
cellIcon: Prop<string, false>;
|
|
92
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition,
|
|
96
|
+
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
93
97
|
columnType: Prop<"number", true>;
|
|
94
98
|
} | {
|
|
95
|
-
horizontalAlign: Prop<"center" | "left" | "right",
|
|
96
|
-
verticalAlign: Prop<"center" | "bottom" | "top",
|
|
97
|
-
"cellProps.textStyle": Prop<
|
|
98
|
-
cellBackground: Prop<string,
|
|
99
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
100
|
+
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
101
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
102
|
+
cellBackground: Prop<string, true>;
|
|
99
103
|
textWrap: Prop<boolean, false>;
|
|
100
104
|
cellIcon: Prop<string, false>;
|
|
101
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition,
|
|
105
|
+
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
102
106
|
columnType: Prop<"currency", true>;
|
|
103
107
|
} | {
|
|
104
|
-
horizontalAlign: Prop<"center" | "left" | "right",
|
|
105
|
-
verticalAlign: Prop<"center" | "bottom" | "top",
|
|
106
|
-
"cellProps.textStyle": Prop<
|
|
107
|
-
cellBackground: Prop<string,
|
|
108
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
109
|
+
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
110
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
111
|
+
cellBackground: Prop<string, true>;
|
|
108
112
|
textWrap: Prop<boolean, false>;
|
|
109
113
|
cellIcon: Prop<string, false>;
|
|
110
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition,
|
|
114
|
+
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
111
115
|
columnType: Prop<"percentage", true>;
|
|
112
116
|
} | {
|
|
113
|
-
horizontalAlign: Prop<"center" | "left" | "right",
|
|
114
|
-
verticalAlign: Prop<"center" | "bottom" | "top",
|
|
115
|
-
"cellProps.textStyle": Prop<
|
|
116
|
-
cellBackground: Prop<string,
|
|
117
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
118
|
+
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
119
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
120
|
+
cellBackground: Prop<string, true>;
|
|
117
121
|
imageSize: Prop<import("./types.js").ImageSize, false>;
|
|
118
|
-
imageBorderRadius: Prop<import("@superblocksteam/library-shared").
|
|
122
|
+
imageBorderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
119
123
|
columnType: Prop<"image", true>;
|
|
120
124
|
} | {
|
|
121
|
-
horizontalAlign: Prop<"center" | "left" | "right",
|
|
122
|
-
verticalAlign: Prop<"center" | "bottom" | "top",
|
|
123
|
-
"cellProps.textStyle": Prop<
|
|
124
|
-
cellBackground: Prop<string,
|
|
125
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
126
|
+
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
127
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
128
|
+
cellBackground: Prop<string, true>;
|
|
125
129
|
columnType: Prop<"video", true>;
|
|
126
130
|
} | {
|
|
127
|
-
horizontalAlign: Prop<"center" | "left" | "right",
|
|
128
|
-
verticalAlign: Prop<"center" | "bottom" | "top",
|
|
129
|
-
"cellProps.textStyle": Prop<
|
|
130
|
-
cellBackground: Prop<string,
|
|
131
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
132
|
+
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
133
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
134
|
+
cellBackground: Prop<string, true>;
|
|
131
135
|
textWrap: Prop<boolean, false>;
|
|
132
136
|
cellIcon: Prop<string, false>;
|
|
133
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition,
|
|
137
|
+
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
134
138
|
columnType: Prop<"date", true>;
|
|
135
139
|
} | {
|
|
136
|
-
|
|
140
|
+
buttonIcon: Prop<string, false>;
|
|
141
|
+
buttonIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
142
|
+
buttonVariant: Prop<import("../button/props.js").ButtonVariant, true>;
|
|
137
143
|
buttonBackgroundColor: Prop<string, false>;
|
|
144
|
+
buttonBorder: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
|
|
138
145
|
buttonLabelColor: Prop<string, false>;
|
|
139
|
-
backgroundColor: Prop<string, false>;
|
|
140
|
-
cellIcon: Prop<string, false>;
|
|
141
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, false>;
|
|
142
146
|
columnType: Prop<"button", true>;
|
|
143
147
|
} | {
|
|
144
|
-
horizontalAlign: Prop<"center" | "left" | "right",
|
|
145
|
-
verticalAlign: Prop<"center" | "bottom" | "top",
|
|
146
|
-
"cellProps.textStyle": Prop<
|
|
147
|
-
cellBackground: Prop<string,
|
|
148
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
149
|
+
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
150
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
151
|
+
cellBackground: Prop<string, true>;
|
|
148
152
|
columnType: Prop<"link", true>;
|
|
149
153
|
} | {
|
|
150
|
-
booleanStyleFalse: Prop<import("./types.js").BooleanStyleFalse,
|
|
151
|
-
horizontalAlign: Prop<"center" | "left" | "right",
|
|
152
|
-
verticalAlign: Prop<"center" | "bottom" | "top",
|
|
153
|
-
"cellProps.textStyle": Prop<
|
|
154
|
-
cellBackground: Prop<string,
|
|
154
|
+
booleanStyleFalse: Prop<import("./types.js").BooleanStyleFalse, true>;
|
|
155
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
156
|
+
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
157
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
158
|
+
cellBackground: Prop<string, true>;
|
|
155
159
|
columnType: Prop<"boolean", true>;
|
|
156
160
|
} | {
|
|
157
161
|
tagDisplayConfig: Prop<any, false>;
|
|
158
|
-
horizontalAlign: Prop<"center" | "left" | "right",
|
|
159
|
-
verticalAlign: Prop<"center" | "bottom" | "top",
|
|
160
|
-
"cellProps.textStyle": Prop<
|
|
161
|
-
cellBackground: Prop<string,
|
|
162
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
163
|
+
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
164
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
165
|
+
cellBackground: Prop<string, true>;
|
|
162
166
|
columnType: Prop<"tags", true>;
|
|
163
167
|
} | {
|
|
164
|
-
horizontalAlign: Prop<"center" | "left" | "right",
|
|
165
|
-
verticalAlign: Prop<"center" | "bottom" | "top",
|
|
166
|
-
"cellProps.textStyle": Prop<
|
|
167
|
-
cellBackground: Prop<string,
|
|
168
|
+
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
169
|
+
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
170
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
171
|
+
cellBackground: Prop<string, true>;
|
|
168
172
|
textWrap: Prop<boolean, false>;
|
|
169
173
|
cellIcon: Prop<string, false>;
|
|
170
|
-
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition,
|
|
174
|
+
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
171
175
|
columnType: Prop<"email", true>;
|
|
172
176
|
})))) & {
|
|
173
|
-
|
|
177
|
+
isFrozen: Prop<boolean, false>;
|
|
174
178
|
}>;
|
|
175
179
|
interaction: Section<Record<string, Prop<any, any>> & Omit<{
|
|
176
180
|
columnType: Prop<import("./types.js").ColumnType, false>;
|
|
@@ -198,10 +202,10 @@ export declare const propertiesDefinition: {
|
|
|
198
202
|
multiRowSelection: Prop<boolean, true>;
|
|
199
203
|
isSearchable: Prop<boolean, true>;
|
|
200
204
|
isDownloadable: Prop<boolean, true>;
|
|
201
|
-
|
|
202
|
-
configuredPageSize: Prop<
|
|
205
|
+
paginationType: Prop<PaginationType, true>;
|
|
206
|
+
configuredPageSize: Prop<any, false>;
|
|
203
207
|
defaultSort: import("../../properties-panel/props-builder.js").CompositeProp<{
|
|
204
|
-
column: Prop<string,
|
|
208
|
+
column: Prop<string, false>;
|
|
205
209
|
asc: Prop<boolean, true>;
|
|
206
210
|
}>;
|
|
207
211
|
defaultSearchText: Prop<string, false>;
|
|
@@ -210,21 +214,21 @@ export declare const propertiesDefinition: {
|
|
|
210
214
|
appearance: Section<Record<string, Prop<any, any>> & {
|
|
211
215
|
defaultSelectedRow: Prop<number, false>;
|
|
212
216
|
showColumnBorders: Prop<boolean, false>;
|
|
213
|
-
"headerProps.textStyle": Prop<
|
|
214
|
-
"columnHeaderProps.textStyle": Prop<
|
|
215
|
-
"cellProps.textStyle": Prop<
|
|
216
|
-
backgroundColor: Prop<string,
|
|
217
|
-
selectedRowBackgroundColor: Prop<string,
|
|
218
|
-
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder,
|
|
217
|
+
"headerProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
218
|
+
"columnHeaderProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
219
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
220
|
+
backgroundColor: Prop<string, true>;
|
|
221
|
+
selectedRowBackgroundColor: Prop<string, true>;
|
|
222
|
+
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
219
223
|
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
220
224
|
compactMode: Prop<CompactMode, false>;
|
|
221
225
|
maxLinesPerRow: Prop<number, false>;
|
|
222
226
|
animateLoading: Prop<boolean, false>;
|
|
223
227
|
isVisible: Prop<boolean, false>;
|
|
224
228
|
collapseWhenHidden: Prop<boolean, false>;
|
|
225
|
-
"searchProps.textStyle": Prop<
|
|
226
|
-
"searchProps.backgroundColor": Prop<string,
|
|
227
|
-
"searchProps.border": Prop<import("@superblocksteam/library-shared/types").PerSideBorder,
|
|
229
|
+
"searchProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
230
|
+
"searchProps.backgroundColor": Prop<string, true>;
|
|
231
|
+
"searchProps.border": Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
228
232
|
"searchProps.borderRadius": Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
229
233
|
}>;
|
|
230
234
|
events: Section<Record<string, Prop<any, any>> & {
|
|
@@ -240,19 +244,18 @@ export declare const propertiesDefinition: {
|
|
|
240
244
|
selectedRow: Prop<any, true>;
|
|
241
245
|
selectedRowSchema: Prop<any, true>;
|
|
242
246
|
selectedRows: Prop<any, true>;
|
|
243
|
-
pageSize: Prop<number, true>;
|
|
244
247
|
filteredTableData: Prop<any[], true>;
|
|
245
248
|
filteredOrderMap: Prop<number[], true>;
|
|
246
249
|
}>;
|
|
247
250
|
meta: Section<Record<string, Prop<any, any>> & {
|
|
248
|
-
selectedRowIndex: Prop<number,
|
|
251
|
+
selectedRowIndex: Prop<number, true>;
|
|
249
252
|
selectedRowIndices: Prop<any, false>;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
filters: Prop<any, false>;
|
|
253
|
+
sortedColumn: Prop<any, true>;
|
|
254
|
+
searchText: Prop<string, true>;
|
|
255
|
+
filters: Prop<any, true>;
|
|
254
256
|
hiddenColumns: Prop<any, false>;
|
|
255
257
|
columnFreezes: Prop<any, false>;
|
|
256
258
|
tagsColorAssignment: Prop<any, false>;
|
|
259
|
+
pageNo: Prop<number, true>;
|
|
257
260
|
}>;
|
|
258
261
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { InsertRowOptions } from "./constants.js";
|
|
3
|
-
import type { ColumnFilter, CompactMode,
|
|
3
|
+
import type { ColumnFilter, CompactMode, PaginationType, ReactTableColumnProps, TableFilters } from "./types.js";
|
|
4
4
|
import type { Dim, DimModes } from "@superblocksteam/library-shared";
|
|
5
5
|
import type { TextStyleWithVariant, UserAccessibleTheme, PerCornerBorderRadius, PerSideBorder } from "@superblocksteam/library-shared/types";
|
|
6
6
|
export interface TableProps {
|
|
@@ -40,7 +40,7 @@ export interface TableProps {
|
|
|
40
40
|
prevPageClick: () => void;
|
|
41
41
|
pageNo: number;
|
|
42
42
|
pageSize: number;
|
|
43
|
-
|
|
43
|
+
paginationType: PaginationType;
|
|
44
44
|
selectedRowIndex: number;
|
|
45
45
|
selectedRowIndices: number[];
|
|
46
46
|
multiRowSelection?: boolean;
|
|
@@ -61,7 +61,7 @@ export interface TableProps {
|
|
|
61
61
|
showColumnBorders: boolean;
|
|
62
62
|
isSortable: boolean;
|
|
63
63
|
isSearchable: boolean;
|
|
64
|
-
|
|
64
|
+
header: string;
|
|
65
65
|
hiddenColumns?: string[];
|
|
66
66
|
numEdits: number;
|
|
67
67
|
numEditErrors: number;
|
|
@@ -61,7 +61,6 @@ export declare const ColumnHeaderWrapper: import("styled-components").StyledComp
|
|
|
61
61
|
export declare const ColumnHeaderTitleWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
62
62
|
export declare const HeaderCellContentWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
63
63
|
columnProperties: ColumnProperties;
|
|
64
|
-
shouldCapitalize: boolean;
|
|
65
64
|
}, never>;
|
|
66
65
|
interface TableIconWrapperProps {
|
|
67
66
|
selected?: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Dim } from "@superblocksteam/library-shared";
|
|
2
1
|
import React from "react";
|
|
3
|
-
import {
|
|
4
|
-
import type { CompactMode } from "./types.js";
|
|
5
|
-
import type { ColumnProperties,
|
|
2
|
+
import { CellAlignmentTypes, TextSizes, VerticalAlignmentTypes } from "./types.js";
|
|
3
|
+
import type { CompactMode, BooleanStyleFalse, UnknownRows } from "./types.js";
|
|
4
|
+
import type { ColumnProperties, EditProps, SingleCellProperties, TagDisplayConfig, TagsColorAssignment } from "./types.js";
|
|
6
5
|
import type { IconPosition } from "../../icons/constants.js";
|
|
7
6
|
import type { ButtonVariant } from "../button/props.js";
|
|
7
|
+
import type { Dim } from "@superblocksteam/library-shared";
|
|
8
8
|
import type { DimModes } from "@superblocksteam/library-shared";
|
|
9
|
-
import type { TextStyleWithVariant, UserAccessibleTheme } from "@superblocksteam/library-shared/types";
|
|
9
|
+
import type { TextStyleWithVariant, UserAccessibleTheme, PerSideBorder } from "@superblocksteam/library-shared/types";
|
|
10
10
|
export declare const getAllTableColumnKeys: (tableData: Readonly<Array<Record<string, unknown>>>, additionalColumnKeys?: string[]) => string[];
|
|
11
11
|
interface TableTagsProps {
|
|
12
12
|
theme: UserAccessibleTheme;
|
|
@@ -40,7 +40,7 @@ export declare const TagsCell: ({ isHidden, cellProperties, tagValues, tagsColor
|
|
|
40
40
|
interface ColumnAction {
|
|
41
41
|
label: string;
|
|
42
42
|
id: string;
|
|
43
|
-
actions: (
|
|
43
|
+
actions: () => void;
|
|
44
44
|
}
|
|
45
45
|
export declare const formatByType: (value: unknown, type: string, options: {
|
|
46
46
|
maxLen?: number;
|
|
@@ -70,7 +70,7 @@ export declare const EditableCell: (props: {
|
|
|
70
70
|
theme: UserAccessibleTheme;
|
|
71
71
|
}) => React.JSX.Element;
|
|
72
72
|
export declare function getCellProperties(tableCellTextStyle: TextStyleWithVariant | undefined, columnProperties: ColumnProperties, rowIndex: number): SingleCellProperties;
|
|
73
|
-
export declare function getPropertyValue(value: any, index: number,
|
|
73
|
+
export declare function getPropertyValue(value: any, index: number, preserveDataType?: boolean): any;
|
|
74
74
|
export declare function getFirstPropertyValue(value: string | string[] | undefined): string | undefined;
|
|
75
75
|
export declare const renderCell: ({ value, columnType, editInputType, cellProps, defaultValue, maxLinesPerRow, tableCellTextStyle, typographies, theme, }: {
|
|
76
76
|
value: any;
|
|
@@ -84,21 +84,24 @@ export declare const renderCell: ({ value, columnType, editInputType, cellProps,
|
|
|
84
84
|
typographies?: UserAccessibleTheme["typographies"];
|
|
85
85
|
theme: UserAccessibleTheme;
|
|
86
86
|
}) => React.JSX.Element;
|
|
87
|
-
interface
|
|
87
|
+
interface TableButtonProps {
|
|
88
88
|
rowIndex: number;
|
|
89
89
|
isSelected: boolean;
|
|
90
90
|
isDisabled?: boolean;
|
|
91
91
|
columnActions?: ColumnAction[];
|
|
92
92
|
backgroundColor?: string;
|
|
93
|
+
buttonBorder?: PerSideBorder;
|
|
93
94
|
buttonVariant: ButtonVariant;
|
|
94
95
|
buttonLabelColor: string | undefined;
|
|
95
96
|
cellIcon?: string;
|
|
96
97
|
cellIconPosition: IconPosition;
|
|
97
|
-
onCommandClick: (args: ColumnPropertyFunctionArgs) => void;
|
|
98
98
|
handleRowSelect: (rowIndex: number) => void;
|
|
99
99
|
compactMode: CompactMode;
|
|
100
|
+
theme: UserAccessibleTheme;
|
|
101
|
+
buttonLabel: string;
|
|
102
|
+
onClick: (onComplete: () => void) => void;
|
|
100
103
|
}
|
|
101
|
-
export declare const
|
|
104
|
+
export declare const TableButton: (props: TableButtonProps) => React.JSX.Element;
|
|
102
105
|
export declare const renderLink: (props: {
|
|
103
106
|
isHidden: boolean;
|
|
104
107
|
cellProperties: SingleCellProperties;
|
|
@@ -117,8 +120,6 @@ export declare const getVisibleOrderedColumnIds: (columns: Record<string, Column
|
|
|
117
120
|
export declare const reorderColumns: (columns: Record<string, ColumnProperties>, columnOrder: string[], columnFreezes?: Record<string, boolean>) => Record<string, ColumnProperties>;
|
|
118
121
|
export declare function getDefaultColumnProperties(accessor: string, index: number, widgetName: string, isDerived?: boolean): ColumnProperties;
|
|
119
122
|
export declare function getDefaultComputedValue(accessor: string, widgetName: string, isDerived: boolean): string;
|
|
120
|
-
export declare function columnHasNonDefaultProps(columnProperties: ColumnProperties, widgetName: string): boolean;
|
|
121
|
-
export declare function getTableStyles(props: any): TableStyles;
|
|
122
123
|
export declare const getColumnWidthStyle: ({ column, columnSizeMap, resizingColumnIdRef, canvasScaleFactor, }: {
|
|
123
124
|
column: any;
|
|
124
125
|
columnSizeMap: {
|
|
@@ -143,5 +144,12 @@ export declare const getColumnWidth: (colId: string, columnSizeMap: {
|
|
|
143
144
|
actualFlexWidth: number;
|
|
144
145
|
};
|
|
145
146
|
export declare function collapseTableData(data: unknown[][], largestRow?: number): unknown[][];
|
|
146
|
-
export declare function createTableColumns(
|
|
147
|
+
export declare function createTableColumns(columns: Record<string, any> | undefined, tableData: UnknownRows | undefined, tableStyles: {
|
|
148
|
+
textColor?: string;
|
|
149
|
+
textSize?: TextSizes;
|
|
150
|
+
fontStyle?: string;
|
|
151
|
+
cellBackground?: string;
|
|
152
|
+
verticalAlign?: VerticalAlignmentTypes;
|
|
153
|
+
horizontalAlign?: CellAlignmentTypes;
|
|
154
|
+
}, widgetName: string): Record<string, ColumnProperties> | undefined;
|
|
147
155
|
export {};
|
|
@@ -25,7 +25,6 @@ export declare class TableWidget extends React.Component<TableWidgetProps, Table
|
|
|
25
25
|
}[];
|
|
26
26
|
eventListenerController: AbortController | undefined;
|
|
27
27
|
componentDidMount(): void;
|
|
28
|
-
componentDidUpdate(): void;
|
|
29
28
|
addEventListeners(): void;
|
|
30
29
|
componentWillUnmount(): void;
|
|
31
30
|
getDisplayedValueForEditCell: ({ columnId, rawValue, displayedValue, useLabelAsDisplayValue, }: {
|
|
@@ -36,6 +35,7 @@ export declare class TableWidget extends React.Component<TableWidgetProps, Table
|
|
|
36
35
|
}) => string | undefined;
|
|
37
36
|
previousColumnsString: string;
|
|
38
37
|
previousColumns: ReactTableColumnProps[];
|
|
38
|
+
handleTableButtonClick: (columnId: string, onComplete: () => void) => void;
|
|
39
39
|
getReactTableColumns(): ReactTableColumnProps[];
|
|
40
40
|
static transformData: (tableData: Array<Record<string, unknown>>, filteredOrderMap: Array<number>, columns: ReactTableColumnProps[], editOverrides: Record<number, Record<string, {
|
|
41
41
|
value: unknown;
|
|
@@ -111,7 +111,7 @@ export declare class TableWidget extends React.Component<TableWidgetProps, Table
|
|
|
111
111
|
label: string;
|
|
112
112
|
value: string;
|
|
113
113
|
}) => void;
|
|
114
|
-
onEditStop: (columnProperties: ColumnProperties,
|
|
114
|
+
onEditStop: (columnProperties: ColumnProperties, _currentRowIndex: number, editStopProps: {
|
|
115
115
|
shouldSave: boolean;
|
|
116
116
|
value?: any;
|
|
117
117
|
validationErrors?: Array<string>;
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import type { IconPosition } from "../../icons/constants";
|
|
2
2
|
import type { Dim, DimModes } from "@superblocksteam/library-shared";
|
|
3
3
|
import type { TextStyleWithVariant, UserAccessibleTheme, PerCornerBorderRadius, PerSideBorder } from "@superblocksteam/library-shared/types";
|
|
4
|
-
export
|
|
5
|
-
NONE = "NONE",
|
|
6
|
-
CLIENT_SIDE = "CLIENT_SIDE",
|
|
7
|
-
SERVER_SIDE = "SERVER_SIDE"
|
|
8
|
-
}
|
|
4
|
+
export type PaginationType = "none" | "client_side" | "server_side";
|
|
9
5
|
export interface TableFilters {
|
|
10
6
|
byColumn?: {
|
|
11
7
|
[column: string]: ColumnFilter;
|
|
@@ -91,12 +87,7 @@ export declare enum EditInputType {
|
|
|
91
87
|
Checkbox = "CHECKBOX",
|
|
92
88
|
Date = "DATE"
|
|
93
89
|
}
|
|
94
|
-
export
|
|
95
|
-
EMPTY = "EMPTY",
|
|
96
|
-
CLOSE = "CLOSE",
|
|
97
|
-
MINUS = "MINUS",
|
|
98
|
-
EMPTY_CHECKBOX = "EMPTY_CHECKBOX"
|
|
99
|
-
}
|
|
90
|
+
export type BooleanStyleFalse = "empty" | "close" | "minus" | "empty_checkbox";
|
|
100
91
|
export declare enum ImageSize {
|
|
101
92
|
Fixed = "FIXED",
|
|
102
93
|
Fit = "FIT",
|
|
@@ -184,7 +175,6 @@ export interface TableStyles {
|
|
|
184
175
|
horizontalAlign?: CellAlignment;
|
|
185
176
|
verticalAlign?: VerticalAlignment;
|
|
186
177
|
}
|
|
187
|
-
export type Pagination = keyof typeof PaginationTypes;
|
|
188
178
|
type CellAlignment = keyof typeof CellAlignmentTypes;
|
|
189
179
|
type VerticalAlignment = keyof typeof VerticalAlignmentTypes;
|
|
190
180
|
type TextSize = keyof typeof TextSizes;
|
|
@@ -197,6 +187,7 @@ export type SingleCellProperties = ColumnPropertiesForEditing & {
|
|
|
197
187
|
cellTextStyle?: TextStyleWithVariant;
|
|
198
188
|
cellBackground?: string;
|
|
199
189
|
buttonBackgroundColor?: string;
|
|
190
|
+
buttonBorder?: PerSideBorder;
|
|
200
191
|
buttonVariant?: string;
|
|
201
192
|
buttonLabelColor?: string;
|
|
202
193
|
buttonLabel?: string;
|
|
@@ -209,7 +200,7 @@ export type SingleCellProperties = ColumnPropertiesForEditing & {
|
|
|
209
200
|
displayedValue?: string;
|
|
210
201
|
textWrap?: boolean;
|
|
211
202
|
dropdownIcon?: string;
|
|
212
|
-
imageBorderRadius?:
|
|
203
|
+
imageBorderRadius?: PerCornerBorderRadius;
|
|
213
204
|
imageSize?: ImageSize;
|
|
214
205
|
openImageUrl?: boolean;
|
|
215
206
|
inputFormat?: string;
|
|
@@ -251,17 +242,13 @@ interface ColumnPropertiesForEditing {
|
|
|
251
242
|
export type TagDisplayConfig = {
|
|
252
243
|
color: string;
|
|
253
244
|
};
|
|
254
|
-
export type ColumnPropertyFunctionArgs = {
|
|
255
|
-
onComplete?: () => void;
|
|
256
|
-
context: ColumnContext | Record<string, unknown>;
|
|
257
|
-
};
|
|
258
245
|
export type ColumnPropertyFunctions = {
|
|
259
|
-
onClick?: (args:
|
|
260
|
-
onDropdownSearchTextChanged?: (
|
|
261
|
-
onOptionChange?: (
|
|
262
|
-
onFocusOut?: (
|
|
263
|
-
onDateSelected?: (
|
|
264
|
-
onCheckChange?: (
|
|
246
|
+
onClick?: (args: RowContext) => Promise<void>;
|
|
247
|
+
onDropdownSearchTextChanged?: () => void;
|
|
248
|
+
onOptionChange?: () => void;
|
|
249
|
+
onFocusOut?: () => void;
|
|
250
|
+
onDateSelected?: () => void;
|
|
251
|
+
onCheckChange?: () => void;
|
|
265
252
|
};
|
|
266
253
|
export interface ColumnProperties extends ColumnEditConfigs, ColumnPropertiesForEditing, ColumnPropertyFunctions {
|
|
267
254
|
id: string;
|
|
@@ -287,11 +274,14 @@ export interface ColumnProperties extends ColumnEditConfigs, ColumnPropertiesFor
|
|
|
287
274
|
computedValue: string | string[];
|
|
288
275
|
displayedValue?: string | string[];
|
|
289
276
|
buttonLabel?: string;
|
|
290
|
-
|
|
277
|
+
buttonBackgroundColor?: string;
|
|
278
|
+
buttonBorder?: PerSideBorder;
|
|
291
279
|
buttonVariant?: string;
|
|
292
280
|
buttonLabelColor?: string;
|
|
293
281
|
cellIcon?: string;
|
|
294
282
|
cellIconPosition?: IconPosition;
|
|
283
|
+
buttonIcon?: string;
|
|
284
|
+
buttonIconPosition?: IconPosition;
|
|
295
285
|
isDisabled?: boolean;
|
|
296
286
|
linkUrl?: string;
|
|
297
287
|
linkLabel?: string;
|
|
@@ -302,10 +292,10 @@ export interface ColumnProperties extends ColumnEditConfigs, ColumnPropertiesFor
|
|
|
302
292
|
textWrap?: boolean;
|
|
303
293
|
tagDisplayConfig: Record<string, TagDisplayConfig>;
|
|
304
294
|
imageSize?: ImageSize;
|
|
305
|
-
imageBorderRadius?:
|
|
295
|
+
imageBorderRadius?: PerCornerBorderRadius;
|
|
306
296
|
openImageUrl?: boolean;
|
|
307
|
-
outputFormat?: string
|
|
308
|
-
inputFormat?: string
|
|
297
|
+
outputFormat?: string;
|
|
298
|
+
inputFormat?: string;
|
|
309
299
|
}
|
|
310
300
|
export type EditProps = ColumnEditConfigs & {
|
|
311
301
|
handleEditStart: () => void;
|
|
@@ -366,7 +356,7 @@ type ColumnEditConfigs = {
|
|
|
366
356
|
export type UnknownRow = Record<string, unknown>;
|
|
367
357
|
export type UnknownRows = Array<UnknownRow>;
|
|
368
358
|
export interface TableSortColumn {
|
|
369
|
-
column
|
|
359
|
+
column?: string;
|
|
370
360
|
asc: boolean;
|
|
371
361
|
}
|
|
372
362
|
export interface TagsColorAssignment {
|
|
@@ -377,11 +367,10 @@ export interface TableWidgetProps extends TableFunctions {
|
|
|
377
367
|
sourceId: string;
|
|
378
368
|
widgetName: string;
|
|
379
369
|
isLoading: boolean;
|
|
380
|
-
defaultSearchText: string;
|
|
381
370
|
searchPlaceholder: string;
|
|
382
371
|
pageSize: number;
|
|
383
372
|
configuredPageSize?: number;
|
|
384
|
-
|
|
373
|
+
paginationType: PaginationType;
|
|
385
374
|
multiRowSelection?: boolean;
|
|
386
375
|
columnOrder?: string[];
|
|
387
376
|
columnSizeMap?: {
|
|
@@ -393,9 +382,8 @@ export interface TableWidgetProps extends TableFunctions {
|
|
|
393
382
|
isDownloadable: boolean;
|
|
394
383
|
isFilterable: boolean;
|
|
395
384
|
showColumnBorders: boolean;
|
|
396
|
-
defaultFilters: string;
|
|
397
385
|
isSearchable: boolean;
|
|
398
|
-
|
|
386
|
+
header: string;
|
|
399
387
|
compactMode: CompactMode;
|
|
400
388
|
enableRowDeletion: boolean;
|
|
401
389
|
enableRowInsertion: boolean;
|
|
@@ -427,6 +415,7 @@ export interface TableWidgetProps extends TableFunctions {
|
|
|
427
415
|
theme: UserAccessibleTheme;
|
|
428
416
|
border: PerSideBorder;
|
|
429
417
|
disableNudge: (disable: boolean) => void;
|
|
418
|
+
disableDrag: (disable: boolean) => void;
|
|
430
419
|
filteredTableData?: UnknownRows;
|
|
431
420
|
filteredOrderMap?: Array<number>;
|
|
432
421
|
editedRows?: {
|