@superblocksteam/library 2.0.6 → 2.0.7
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-CROgh4Wr.js → allPaths-Boby_CDT.js} +2 -2
- package/dist/{allPaths-CROgh4Wr.js.map → allPaths-Boby_CDT.js.map} +1 -1
- package/dist/{allPaths-Va1k8Bn4.js → allPaths-d63_pjlB.js} +2 -2
- package/dist/{allPaths-Va1k8Bn4.js.map → allPaths-d63_pjlB.js.map} +1 -1
- package/dist/{allPathsLoader-BdHvMdcd.js → allPathsLoader-CmUnKzK9.js} +3 -3
- package/dist/{allPathsLoader-BdHvMdcd.js.map → allPathsLoader-CmUnKzK9.js.map} +1 -1
- package/dist/{allPathsLoader-BJthmVkF.js → allPathsLoader-DyTMsYjm.js} +3 -3
- package/dist/{allPathsLoader-BJthmVkF.js.map → allPathsLoader-DyTMsYjm.js.map} +1 -1
- package/dist/{devtools-consolidated-Ck9KuyGf.js → devtools-consolidated-B3U5EpYG.js} +2 -2
- package/dist/{devtools-consolidated-Ck9KuyGf.js.map → devtools-consolidated-B3U5EpYG.js.map} +1 -1
- package/dist/{icons-NrNO8p_u.js → icons-lSlfQ50w.js} +10 -14
- package/dist/icons-lSlfQ50w.js.map +1 -0
- package/dist/{index-CJuRwhWz.js → index-NrZGBHks.js} +19419 -17119
- package/dist/{index-CJuRwhWz.js.map → index-NrZGBHks.js.map} +1 -1
- package/dist/index.js +150 -149
- package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js → splitPathsBySizeLoader-B6CeEPjz.js} +2 -2
- package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js.map → splitPathsBySizeLoader-B6CeEPjz.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-BFbna0L2.js → splitPathsBySizeLoader-mTPqVWRR.js} +2 -2
- package/dist/{splitPathsBySizeLoader-BFbna0L2.js.map → splitPathsBySizeLoader-mTPqVWRR.js.map} +1 -1
- package/dist-types/edit-mode/create-component.d.ts +1 -1
- package/dist-types/edit-mode/dnd/utils.d.ts +4 -0
- package/dist-types/edit-mode/features/properties-panel-manager.d.ts +12 -1
- package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +22 -22
- package/dist-types/edit-mode/features/ui-store.d.ts +1 -1
- package/dist-types/edit-mode/iframe-wrappers.d.ts +1 -0
- package/dist-types/edit-mode/source-update-api.d.ts +5 -0
- package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +7 -1
- package/dist-types/edit-mode/vite.d.ts +5 -0
- package/dist-types/internal-testing/components/slideout.d.ts +3 -0
- package/dist-types/lib/index.d.ts +1 -0
- package/dist-types/lib/internal-details/actions-context.d.ts +1 -1
- package/dist-types/lib/internal-details/entities-state.d.ts +2 -1
- package/dist-types/lib/internal-details/is-sb-component.d.ts +5 -1
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +16 -27
- package/dist-types/lib/internal-details/lib/evaluator/binding-strings/transform-bindings.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +3 -2
- package/dist-types/lib/internal-details/lib/evaluator/create-global-object.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +3 -2
- package/dist-types/lib/internal-details/lib/evaluator/deep-observe.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +8 -7
- package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +2 -1
- package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +2 -2
- package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.d.ts +6 -0
- package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.d.ts +8 -0
- package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.d.ts +2 -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 +16 -1
- package/dist-types/lib/internal-details/lib/root-store.d.ts +2 -0
- package/dist-types/lib/internal-details/lib/types.d.ts +34 -1
- package/dist-types/lib/internal-details/location-store.d.ts +18 -0
- 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/base.d.ts +1 -2
- package/dist-types/lib/triggers/implementations/apis/cancel-apis.d.ts +1 -8
- package/dist-types/lib/triggers/implementations/apis/run-apis.d.ts +3 -21
- package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +3 -9
- package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +5 -10
- package/dist-types/lib/triggers/implementations/components/reset-component.d.ts +2 -9
- package/dist-types/lib/triggers/implementations/components/set-component-property.d.ts +2 -9
- package/dist-types/lib/triggers/implementations/navigate/navigate-to-app.d.ts +1 -13
- package/dist-types/lib/triggers/implementations/navigate/navigate-to-route.d.ts +1 -12
- package/dist-types/lib/triggers/implementations/navigate/navigate-to.d.ts +1 -9
- package/dist-types/lib/triggers/implementations/navigate/set-query-params.d.ts +2 -8
- package/dist-types/lib/triggers/implementations/run-js.d.ts +1 -8
- package/dist-types/lib/triggers/implementations/set-profile.d.ts +2 -7
- package/dist-types/lib/triggers/implementations/show-alert.d.ts +3 -12
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +3 -9
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +4 -11
- package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +3 -9
- package/dist-types/lib/triggers/implementations/trigger-event.d.ts +1 -7
- package/dist-types/lib/triggers/registry.d.ts +4 -175
- package/dist-types/lib/triggers/run-event-handlers.d.ts +2 -2
- package/dist-types/lib/user-facing/build-manifest.d.ts +2 -0
- package/dist-types/lib/user-facing/component-base/sb-component.d.ts +5 -1
- 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 +14 -11
- 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/dropdown/types.d.ts +1 -2
- package/dist-types/lib/user-facing/components/grid/index.d.ts +20 -18
- package/dist-types/lib/user-facing/components/icon/index.d.ts +11 -13
- package/dist-types/lib/user-facing/components/icon/props.d.ts +11 -13
- 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 +1 -0
- package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
- package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/modal/index.d.ts +27 -31
- 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/constants.d.ts +10 -0
- package/dist-types/lib/user-facing/components/slideout/index.d.ts +41 -1
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +39 -19
- package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +31 -0
- 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 +262 -161
- package/dist-types/lib/user-facing/components/table/components/table-header.d.ts +1 -0
- package/dist-types/lib/user-facing/components/table/index.d.ts +305 -204
- package/dist-types/lib/user-facing/components/table/props.d.ts +305 -204
- package/dist-types/lib/user-facing/components/table/table-component.d.ts +1 -0
- package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +7 -10
- package/dist-types/lib/user-facing/components/table/table-widget.d.ts +8 -6
- package/dist-types/lib/user-facing/components/table/types.d.ts +34 -32
- 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 +20 -11
- package/dist-types/lib/user-facing/entities/api/suspensible-api.d.ts +20 -0
- 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/global-functions.d.ts +2 -1
- package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +14 -0
- package/dist-types/lib/user-facing/internal-index.d.ts +1 -1
- package/dist-types/lib/user-facing/layers.d.ts +1 -2
- package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +4 -0
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +13 -13
- 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 +46 -46
- package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
- package/dist-types/lib/user-facing/properties-panel/properties-panel-definition.d.ts +1 -2
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +32 -13
- package/dist-types/lib/user-facing/properties-panel/validators.d.ts +1 -1
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +6 -8
- package/dist-types/lib/user-facing/sb-provider.d.ts +1 -2
- package/dist-types/lib/user-facing/state/create-bindable-entity-proxy.d.ts +1 -2
- package/dist-types/lib/user-facing/utils/notification.d.ts +1 -2
- package/package.json +4 -3
- package/dist/icons-NrNO8p_u.js.map +0 -1
- package/dist-types/lib/sb-trigger.d.ts +0 -48
- package/dist-types/lib/user-facing/components/grid/utils.d.ts +0 -1
|
@@ -3,175 +3,276 @@ 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, undefined>> & ({
|
|
7
|
+
label: Prop<string, false, undefined>;
|
|
8
8
|
} & (Omit<{
|
|
9
|
-
columnType: Prop<ColumnType, true>;
|
|
9
|
+
columnType: Prop<ColumnType, true, undefined>;
|
|
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
|
-
|
|
11
|
+
displayedValue: Prop<string, false, [{
|
|
12
|
+
currentRow: Record<string, unknown>;
|
|
13
|
+
}]>;
|
|
14
|
+
isDerived: Prop<boolean, true, undefined>;
|
|
15
|
+
columnType: Prop<undefined, false, undefined>;
|
|
16
|
+
} | {
|
|
17
|
+
displayedValue: Prop<string, false, [{
|
|
18
|
+
currentRow: Record<string, unknown>;
|
|
19
|
+
}]>;
|
|
20
|
+
isDerived: Prop<boolean, true, undefined>;
|
|
21
|
+
columnType: Prop<"text", true, undefined>;
|
|
22
|
+
} | {
|
|
23
|
+
notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false, [{
|
|
24
|
+
currentRow: Record<string, unknown>;
|
|
25
|
+
}]>;
|
|
26
|
+
minimumFractionDigits: Prop<number, false, [{
|
|
27
|
+
currentRow: Record<string, unknown>;
|
|
28
|
+
}]>;
|
|
29
|
+
maximumFractionDigits: Prop<number, false, [{
|
|
30
|
+
currentRow: Record<string, unknown>;
|
|
31
|
+
}]>;
|
|
32
|
+
isDerived: Prop<boolean, true, undefined>;
|
|
33
|
+
columnType: Prop<"number", true, undefined>;
|
|
34
|
+
} | {
|
|
35
|
+
notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false, [{
|
|
36
|
+
currentRow: Record<string, unknown>;
|
|
37
|
+
}]>;
|
|
38
|
+
minimumFractionDigits: Prop<number, false, [{
|
|
39
|
+
currentRow: Record<string, unknown>;
|
|
40
|
+
}]>;
|
|
41
|
+
maximumFractionDigits: Prop<number, false, [{
|
|
42
|
+
currentRow: Record<string, unknown>;
|
|
43
|
+
}]>;
|
|
44
|
+
currency: Prop<string, true, [{
|
|
45
|
+
currentRow: Record<string, unknown>;
|
|
46
|
+
}]>;
|
|
47
|
+
isDerived: Prop<boolean, true, undefined>;
|
|
48
|
+
columnType: Prop<"currency", true, undefined>;
|
|
49
|
+
} | {
|
|
50
|
+
minimumFractionDigits: Prop<number, false, [{
|
|
51
|
+
currentRow: Record<string, unknown>;
|
|
52
|
+
}]>;
|
|
53
|
+
maximumFractionDigits: Prop<number, false, [{
|
|
54
|
+
currentRow: Record<string, unknown>;
|
|
55
|
+
}]>;
|
|
56
|
+
isDerived: Prop<boolean, true, undefined>;
|
|
57
|
+
columnType: Prop<"percentage", true, undefined>;
|
|
58
|
+
} | {
|
|
59
|
+
openImageUrl: Prop<boolean, true, undefined>;
|
|
60
|
+
isDerived: Prop<boolean, true, undefined>;
|
|
61
|
+
columnType: Prop<"image", true, undefined>;
|
|
62
|
+
} | {
|
|
63
|
+
isDerived: Prop<boolean, true, undefined>;
|
|
64
|
+
columnType: Prop<"video", true, undefined>;
|
|
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>;
|
|
66
105
|
})))) & {
|
|
67
|
-
isVisible: Prop<boolean, true>;
|
|
106
|
+
isVisible: Prop<boolean, true, undefined>;
|
|
68
107
|
}>;
|
|
69
|
-
presentation: Section<(Record<string, Prop<any, any>> & ({
|
|
70
|
-
headerIcon: Prop<string, false>;
|
|
71
|
-
headerIconPosition: Prop<IconPosition, true>;
|
|
108
|
+
presentation: Section<(Record<string, Prop<any, any, undefined>> & ({
|
|
109
|
+
headerIcon: Prop<string, false, undefined>;
|
|
110
|
+
headerIconPosition: Prop<IconPosition, true, undefined>;
|
|
72
111
|
} & (Omit<{
|
|
73
|
-
columnType: Prop<ColumnType, false>;
|
|
112
|
+
columnType: Prop<ColumnType, false, undefined>;
|
|
74
113
|
}, "columnType"> & ({
|
|
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
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
cellIcon: Prop<string, false
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
cellBackground: Prop<string, true>;
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
columnType: Prop<"
|
|
134
|
-
} | {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
columnType: Prop<"
|
|
161
|
-
} | {
|
|
162
|
-
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
114
|
+
horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
|
|
115
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
|
|
116
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
117
|
+
cellBackground: Prop<string, true, undefined>;
|
|
118
|
+
textWrap: Prop<boolean, false, [{
|
|
119
|
+
currentRow: Record<string, unknown>;
|
|
120
|
+
}]>;
|
|
121
|
+
cellIcon: Prop<string, false, [{
|
|
122
|
+
currentRow: Record<string, unknown>;
|
|
123
|
+
}]>;
|
|
124
|
+
cellIconPosition: Prop<IconPosition, true, [{
|
|
125
|
+
currentRow: Record<string, unknown>;
|
|
126
|
+
}]>;
|
|
127
|
+
columnType: Prop<undefined, false, undefined>;
|
|
128
|
+
} | {
|
|
129
|
+
horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
|
|
130
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
|
|
131
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
132
|
+
cellBackground: Prop<string, true, undefined>;
|
|
133
|
+
textWrap: Prop<boolean, false, [{
|
|
134
|
+
currentRow: Record<string, unknown>;
|
|
135
|
+
}]>;
|
|
136
|
+
cellIcon: Prop<string, false, [{
|
|
137
|
+
currentRow: Record<string, unknown>;
|
|
138
|
+
}]>;
|
|
139
|
+
cellIconPosition: Prop<IconPosition, true, [{
|
|
140
|
+
currentRow: Record<string, unknown>;
|
|
141
|
+
}]>;
|
|
142
|
+
columnType: Prop<"text", true, undefined>;
|
|
143
|
+
} | {
|
|
144
|
+
horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
|
|
145
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
|
|
146
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
147
|
+
cellBackground: Prop<string, true, undefined>;
|
|
148
|
+
textWrap: Prop<boolean, false, [{
|
|
149
|
+
currentRow: Record<string, unknown>;
|
|
150
|
+
}]>;
|
|
151
|
+
cellIcon: Prop<string, false, [{
|
|
152
|
+
currentRow: Record<string, unknown>;
|
|
153
|
+
}]>;
|
|
154
|
+
cellIconPosition: Prop<IconPosition, true, [{
|
|
155
|
+
currentRow: Record<string, unknown>;
|
|
156
|
+
}]>;
|
|
157
|
+
columnType: Prop<"number", true, undefined>;
|
|
158
|
+
} | {
|
|
159
|
+
horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
|
|
160
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
|
|
161
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
162
|
+
cellBackground: Prop<string, true, undefined>;
|
|
163
|
+
textWrap: Prop<boolean, false, [{
|
|
164
|
+
currentRow: Record<string, unknown>;
|
|
165
|
+
}]>;
|
|
166
|
+
cellIcon: Prop<string, false, [{
|
|
167
|
+
currentRow: Record<string, unknown>;
|
|
168
|
+
}]>;
|
|
169
|
+
cellIconPosition: Prop<IconPosition, true, [{
|
|
170
|
+
currentRow: Record<string, unknown>;
|
|
171
|
+
}]>;
|
|
172
|
+
columnType: Prop<"currency", true, undefined>;
|
|
173
|
+
} | {
|
|
174
|
+
horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
|
|
175
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
|
|
176
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
177
|
+
cellBackground: Prop<string, true, undefined>;
|
|
178
|
+
textWrap: Prop<boolean, false, [{
|
|
179
|
+
currentRow: Record<string, unknown>;
|
|
180
|
+
}]>;
|
|
181
|
+
cellIcon: Prop<string, false, [{
|
|
182
|
+
currentRow: Record<string, unknown>;
|
|
183
|
+
}]>;
|
|
184
|
+
cellIconPosition: Prop<IconPosition, true, [{
|
|
185
|
+
currentRow: Record<string, unknown>;
|
|
186
|
+
}]>;
|
|
187
|
+
columnType: Prop<"percentage", true, undefined>;
|
|
188
|
+
} | {
|
|
189
|
+
imageSize: Prop<ImageSize, false, [{
|
|
190
|
+
currentRow: Record<string, unknown>;
|
|
191
|
+
}]>;
|
|
192
|
+
imageBorderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, [{
|
|
193
|
+
currentRow: Record<string, unknown>;
|
|
194
|
+
}]>;
|
|
195
|
+
horizontalAlign: Prop<"center" | "left" | "right", true, [{
|
|
196
|
+
currentRow: Record<string, unknown>;
|
|
197
|
+
}]>;
|
|
198
|
+
cellBackground: Prop<string, true, undefined>;
|
|
199
|
+
columnType: Prop<"image", true, undefined>;
|
|
200
|
+
} | {
|
|
201
|
+
horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
|
|
202
|
+
cellBackground: Prop<string, true, undefined>;
|
|
203
|
+
columnType: Prop<"video", true, undefined>;
|
|
204
|
+
} | {
|
|
205
|
+
horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
|
|
206
|
+
verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
|
|
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>;
|
|
168
269
|
})))) & {
|
|
169
|
-
isFrozen: Prop<boolean, false>;
|
|
270
|
+
isFrozen: Prop<boolean, false, undefined>;
|
|
170
271
|
}>;
|
|
171
|
-
interaction: Section<Record<string, Prop<any, any>> & Omit<{
|
|
172
|
-
columnType: Prop<ColumnType, false>;
|
|
272
|
+
interaction: Section<Record<string, Prop<any, any, undefined>> & Omit<{
|
|
273
|
+
columnType: Prop<ColumnType, false, undefined>;
|
|
173
274
|
}, "onClick" | "columnType"> & {
|
|
174
|
-
columnType: Prop<"button", true>;
|
|
175
|
-
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
275
|
+
columnType: Prop<"button", true, undefined>;
|
|
276
|
+
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
|
|
176
277
|
}>;
|
|
177
278
|
};
|
|
@@ -56,6 +56,7 @@ export declare const TableHeaderCell: (props: {
|
|
|
56
56
|
handleHeaderDropped: (index: number, position: number) => void;
|
|
57
57
|
mutableHeaderDragRef: React.MutableRefObject<number>;
|
|
58
58
|
columnHeaderProps?: TextStyleWithVariant;
|
|
59
|
+
columnHeaderTextWrap?: boolean;
|
|
59
60
|
theme: UserAccessibleTheme;
|
|
60
61
|
updateProperty: (property: string, value: any) => void;
|
|
61
62
|
}) => React.JSX.Element;
|