@superblocksteam/library 2.0.6-next.88 → 2.0.6-next.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{allPaths-CrtDGuNf.js → allPaths-BbwLOFSN.js} +2 -2
- package/dist/{allPaths-CrtDGuNf.js.map → allPaths-BbwLOFSN.js.map} +1 -1
- package/dist/{allPaths-CgvYrNUw.js → allPaths-YpR_xtpv.js} +2 -2
- package/dist/{allPaths-CgvYrNUw.js.map → allPaths-YpR_xtpv.js.map} +1 -1
- package/dist/{allPathsLoader-LUVVWlgN.js → allPathsLoader-CTr7XzYS.js} +3 -3
- package/dist/{allPathsLoader-LUVVWlgN.js.map → allPathsLoader-CTr7XzYS.js.map} +1 -1
- package/dist/{allPathsLoader-DhgvyPfz.js → allPathsLoader-DjBKQsij.js} +3 -3
- package/dist/{allPathsLoader-DhgvyPfz.js.map → allPathsLoader-DjBKQsij.js.map} +1 -1
- package/dist/{devtools-consolidated-DrBc1h4m.js → devtools-consolidated-B2GVETCf.js} +2 -2
- package/dist/{devtools-consolidated-DrBc1h4m.js.map → devtools-consolidated-B2GVETCf.js.map} +1 -1
- package/dist/{icons-lSlfQ50w.js → icons-NrNO8p_u.js} +14 -10
- package/dist/icons-NrNO8p_u.js.map +1 -0
- package/dist/{index-2ihBTDX4.js → index-snr_jI8a.js} +22121 -24008
- package/dist/{index-2ihBTDX4.js.map → index-snr_jI8a.js.map} +1 -1
- package/dist/index.js +149 -150
- package/dist/{splitPathsBySizeLoader-mxO24EVV.js → splitPathsBySizeLoader-Blv6tUe4.js} +2 -2
- package/dist/{splitPathsBySizeLoader-mxO24EVV.js.map → splitPathsBySizeLoader-Blv6tUe4.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-BS08Me-9.js → splitPathsBySizeLoader-DbNFtg9G.js} +2 -2
- package/dist/{splitPathsBySizeLoader-BS08Me-9.js.map → splitPathsBySizeLoader-DbNFtg9G.js.map} +1 -1
- package/dist-types/edit-mode/dnd/utils.d.ts +0 -4
- package/dist-types/edit-mode/features/ui-store.d.ts +1 -1
- package/dist-types/edit-mode/iframe-wrappers.d.ts +0 -1
- package/dist-types/edit-mode/source-update-api.d.ts +0 -5
- package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +1 -7
- package/dist-types/lib/index.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +14 -16
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +7 -7
- package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +1 -2
- package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +1 -1
- package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -14
- package/dist-types/lib/internal-details/lib/root-store.d.ts +0 -2
- package/dist-types/lib/internal-details/lib/types.d.ts +1 -34
- package/dist-types/lib/internal-details/scope/global.d.ts +1 -1
- package/dist-types/lib/internal-details/scope/types.d.ts +2 -2
- package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +3 -4
- package/dist-types/lib/triggers/implementations/show-alert.d.ts +1 -1
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +3 -3
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +3 -3
- package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +3 -4
- package/dist-types/lib/triggers/registry.d.ts +9 -9
- package/dist-types/lib/user-facing/component-base/sb-component.d.ts +1 -5
- package/dist-types/lib/user-facing/components/button/index.d.ts +26 -26
- package/dist-types/lib/user-facing/components/button/props.d.ts +26 -26
- package/dist-types/lib/user-facing/components/checkbox/index.d.ts +31 -31
- package/dist-types/lib/user-facing/components/checkbox/props.d.ts +31 -31
- package/dist-types/lib/user-facing/components/column/index.d.ts +19 -19
- package/dist-types/lib/user-facing/components/column/props.d.ts +19 -19
- package/dist-types/lib/user-facing/components/container/index.d.ts +21 -21
- package/dist-types/lib/user-facing/components/container/props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +11 -14
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +48 -48
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +48 -48
- package/dist-types/lib/user-facing/components/dropdown/index.d.ts +54 -54
- package/dist-types/lib/user-facing/components/dropdown/props.d.ts +54 -54
- package/dist-types/lib/user-facing/components/grid/index.d.ts +13 -13
- package/dist-types/lib/user-facing/components/icon/index.d.ts +13 -11
- package/dist-types/lib/user-facing/components/icon/props.d.ts +13 -11
- package/dist-types/lib/user-facing/components/image/index.d.ts +20 -20
- package/dist-types/lib/user-facing/components/image/props.d.ts +23 -23
- package/dist-types/lib/user-facing/components/input/index.d.ts +63 -63
- package/dist-types/lib/user-facing/components/input/input-component.d.ts +0 -1
- package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
- package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
- package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/modal/index.d.ts +31 -27
- package/dist-types/lib/user-facing/components/modal/props.d.ts +27 -27
- package/dist-types/lib/user-facing/components/page/index.d.ts +13 -13
- package/dist-types/lib/user-facing/components/page/props.d.ts +13 -13
- package/dist-types/lib/user-facing/components/section/index.d.ts +16 -16
- package/dist-types/lib/user-facing/components/section/props.d.ts +16 -16
- package/dist-types/lib/user-facing/components/slideout/index.d.ts +1 -41
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +19 -39
- package/dist-types/lib/user-facing/components/stack/index.d.ts +38 -38
- package/dist-types/lib/user-facing/components/switch/index.d.ts +32 -32
- package/dist-types/lib/user-facing/components/switch/props.d.ts +32 -32
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +161 -262
- package/dist-types/lib/user-facing/components/table/index.d.ts +205 -305
- package/dist-types/lib/user-facing/components/table/props.d.ts +205 -305
- package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +4 -4
- package/dist-types/lib/user-facing/components/table/table-widget.d.ts +4 -5
- package/dist-types/lib/user-facing/components/table/types.d.ts +31 -33
- package/dist-types/lib/user-facing/components/text/index.d.ts +35 -35
- package/dist-types/lib/user-facing/components/text/props.d.ts +35 -35
- package/dist-types/lib/user-facing/constants.d.ts +1 -1
- package/dist-types/lib/user-facing/entities/api/props.d.ts +11 -20
- package/dist-types/lib/user-facing/entities/timer/props.d.ts +12 -12
- package/dist-types/lib/user-facing/entities/variable/props.d.ts +7 -7
- package/dist-types/lib/user-facing/layers.d.ts +2 -1
- package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +0 -4
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +12 -12
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +2 -2
- package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +10 -10
- package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +45 -45
- package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +9 -28
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +4 -4
- package/dist-types/lib/user-facing/sb-provider.d.ts +2 -1
- package/package.json +3 -4
- package/dist/icons-lSlfQ50w.js.map +0 -1
- package/dist-types/internal-testing/components/slideout.d.ts +0 -3
- package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.d.ts +0 -6
- package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.d.ts +0 -8
- package/dist-types/lib/internal-details/location-store.d.ts +0 -18
- package/dist-types/lib/user-facing/build-manifest.d.ts +0 -2
- package/dist-types/lib/user-facing/components/slideout/constants.d.ts +0 -10
- package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +0 -31
- package/dist-types/lib/user-facing/entities/api/suspensible-api.d.ts +0 -20
- package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +0 -14
|
@@ -38,10 +38,6 @@ export declare class TableWidget extends React.Component<TableWidgetProps, Table
|
|
|
38
38
|
previousColumns: ReactTableColumnProps[];
|
|
39
39
|
handleTableButtonClick: (columnId: string, onComplete: () => void) => void;
|
|
40
40
|
getReactTableColumns(): ReactTableColumnProps[];
|
|
41
|
-
columnPropertyFunctionMap: WeakMap<WeakKey, any>;
|
|
42
|
-
functionCounter: number;
|
|
43
|
-
getColumnPropertiesString: (columnProperties: ColumnProperties) => string;
|
|
44
|
-
createTableCell(columnProperties: ColumnProperties, isHidden: boolean): (props: any) => React.JSX.Element;
|
|
45
41
|
static transformData: (tableData: Array<Record<string, unknown>>, filteredOrderMap: Array<number>, columns: ReactTableColumnProps[], editOverrides: Record<number, Record<string, {
|
|
46
42
|
value: unknown;
|
|
47
43
|
validationErrors?: Array<string>;
|
|
@@ -62,7 +58,7 @@ export declare class TableWidget extends React.Component<TableWidgetProps, Table
|
|
|
62
58
|
getCurrentRowIndex: (originalIndex: number) => number;
|
|
63
59
|
getIsRowEdited: (rowIndex: number, isOriginalIndex?: boolean) => boolean;
|
|
64
60
|
getIsRowInserted: (rowIndex: number, isOriginalIndex?: boolean) => boolean;
|
|
65
|
-
getCellBackground: (currentRowIndex: number, columnId: string) =>
|
|
61
|
+
getCellBackground: (currentRowIndex: number, columnId: string) => any;
|
|
66
62
|
getIsLoading: () => boolean;
|
|
67
63
|
getDropdownOptionsLoading: () => boolean;
|
|
68
64
|
render(): React.JSX.Element;
|
|
@@ -80,6 +76,9 @@ export declare class TableWidget extends React.Component<TableWidgetProps, Table
|
|
|
80
76
|
[key: string]: any;
|
|
81
77
|
};
|
|
82
78
|
rowIndex: number | undefined;
|
|
79
|
+
currentRow: {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
};
|
|
83
82
|
};
|
|
84
83
|
handleRowClick: (_rowData: Record<string, unknown>, index: number) => void;
|
|
85
84
|
updatePageNumber: (pageNo: number) => void;
|
|
@@ -107,6 +107,7 @@ export type TableInserts = {
|
|
|
107
107
|
export type RowContext = {
|
|
108
108
|
row: undefined | Record<string, unknown>;
|
|
109
109
|
rowIndex: undefined | number;
|
|
110
|
+
currentRow: undefined | Record<string, unknown>;
|
|
110
111
|
};
|
|
111
112
|
export type ColumnContext = {
|
|
112
113
|
value: any;
|
|
@@ -120,14 +121,14 @@ interface TableFunctions {
|
|
|
120
121
|
selectedRowIndices?: number[];
|
|
121
122
|
selectedRows?: Array<Record<string, unknown>>;
|
|
122
123
|
}, rowContext: RowContext, triggerEventHandlers: boolean) => void;
|
|
123
|
-
setPageNo: (value: number, triggerEventHandlers?: boolean) => void;
|
|
124
|
+
setPageNo: (value: number, rowContext: RowContext, triggerEventHandlers?: boolean) => void;
|
|
124
125
|
setTableFilters: (columnId: string, filter: ColumnFilter, rowContext: RowContext) => void;
|
|
125
126
|
setColumnOrder: (value: string[]) => void;
|
|
126
127
|
setSortedColumn: (value: undefined | TableSortColumn) => void;
|
|
127
128
|
setColumnSizeMap: (value: {
|
|
128
129
|
[key: string]: number;
|
|
129
130
|
}) => void;
|
|
130
|
-
setSearchText: (value: string) => void;
|
|
131
|
+
setSearchText: (value: string, context: RowContext) => void;
|
|
131
132
|
onRowClicked: (context: RowContext, onComplete?: () => void) => void;
|
|
132
133
|
selectAllRows: (rowIndices: number[], rows: Array<Record<string, unknown>>, rowContext: RowContext) => void;
|
|
133
134
|
deselectAllRows: (rowContext: RowContext) => void;
|
|
@@ -235,9 +236,6 @@ export type ColumnPropertyFunctions = {
|
|
|
235
236
|
onDateSelected?: () => void;
|
|
236
237
|
onCheckChange?: () => void;
|
|
237
238
|
};
|
|
238
|
-
export type ContextualColumnProperty<T> = T | ((params: {
|
|
239
|
-
currentRow: UnknownRow;
|
|
240
|
-
}) => T);
|
|
241
239
|
export interface ColumnProperties extends ColumnEditConfigs, ColumnPropertiesForEditing, ColumnPropertyFunctions {
|
|
242
240
|
id: string;
|
|
243
241
|
label: string;
|
|
@@ -247,41 +245,41 @@ export interface ColumnProperties extends ColumnEditConfigs, ColumnPropertiesFor
|
|
|
247
245
|
isVisible: boolean;
|
|
248
246
|
index: number;
|
|
249
247
|
width: number;
|
|
250
|
-
cellBackground?:
|
|
251
|
-
horizontalAlign?:
|
|
252
|
-
verticalAlign?:
|
|
253
|
-
cellProps?:
|
|
248
|
+
cellBackground?: string;
|
|
249
|
+
horizontalAlign?: HorizontalAlignment;
|
|
250
|
+
verticalAlign?: VerticalAlignment;
|
|
251
|
+
cellProps?: {
|
|
254
252
|
textStyle: TextStyleWithVariant;
|
|
255
|
-
}
|
|
253
|
+
};
|
|
256
254
|
enableFilter?: boolean;
|
|
257
255
|
enableSort?: boolean;
|
|
258
256
|
isDerived: boolean;
|
|
259
|
-
computedValue:
|
|
260
|
-
displayedValue?:
|
|
261
|
-
buttonLabel?:
|
|
262
|
-
buttonBackgroundColor?:
|
|
263
|
-
buttonBorder?:
|
|
264
|
-
buttonVariant?:
|
|
265
|
-
buttonTextStyle?:
|
|
266
|
-
cellIcon?:
|
|
267
|
-
cellIconPosition?:
|
|
268
|
-
buttonIcon?:
|
|
269
|
-
buttonIconPosition?:
|
|
270
|
-
isDisabled?:
|
|
271
|
-
linkUrl?:
|
|
272
|
-
linkLabel?:
|
|
273
|
-
openInNewTab?:
|
|
257
|
+
computedValue: string | string[];
|
|
258
|
+
displayedValue?: string | string[];
|
|
259
|
+
buttonLabel?: string;
|
|
260
|
+
buttonBackgroundColor?: string;
|
|
261
|
+
buttonBorder?: PerSideBorder;
|
|
262
|
+
buttonVariant?: string;
|
|
263
|
+
buttonTextStyle?: TextStyleWithVariant;
|
|
264
|
+
cellIcon?: string;
|
|
265
|
+
cellIconPosition?: IconPosition;
|
|
266
|
+
buttonIcon?: string;
|
|
267
|
+
buttonIconPosition?: IconPosition;
|
|
268
|
+
isDisabled?: boolean;
|
|
269
|
+
linkUrl?: string;
|
|
270
|
+
linkLabel?: string;
|
|
271
|
+
openInNewTab?: boolean;
|
|
274
272
|
booleanStyleFalse?: BooleanStyleFalse;
|
|
275
|
-
isEditable?:
|
|
273
|
+
isEditable?: boolean | string;
|
|
276
274
|
isFrozen?: boolean;
|
|
277
|
-
textWrap?:
|
|
278
|
-
tagsWrap?:
|
|
275
|
+
textWrap?: boolean;
|
|
276
|
+
tagsWrap?: boolean;
|
|
279
277
|
tagDisplayConfig: Record<string, TagDisplayConfig>;
|
|
280
|
-
imageSize?:
|
|
281
|
-
imageBorderRadius?:
|
|
282
|
-
openImageUrl?:
|
|
283
|
-
outputFormat?:
|
|
284
|
-
inputFormat?:
|
|
278
|
+
imageSize?: ImageSize;
|
|
279
|
+
imageBorderRadius?: PerCornerBorderRadius;
|
|
280
|
+
openImageUrl?: boolean;
|
|
281
|
+
outputFormat?: string;
|
|
282
|
+
inputFormat?: string;
|
|
285
283
|
}
|
|
286
284
|
export type EditProps = ColumnEditConfigs & {
|
|
287
285
|
handleEditStart: () => void;
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
export declare const SbText: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
2
|
-
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
3
|
-
text: import("../../properties-panel/props-builder.js").Prop<string, false
|
|
4
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", true
|
|
2
|
+
general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
3
|
+
text: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
4
|
+
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", true>;
|
|
5
5
|
}>;
|
|
6
|
-
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
7
|
-
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
8
|
-
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true
|
|
9
|
-
verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("./props.js").VerticalAlign, true
|
|
10
|
-
wrapText: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
11
|
-
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
12
|
-
shouldScroll: import("../../properties-panel/props-builder.js").Prop<boolean, false
|
|
13
|
-
icon: import("../../properties-panel/props-builder.js").Prop<string, false
|
|
14
|
-
iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true
|
|
6
|
+
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ({
|
|
7
|
+
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
8
|
+
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true>;
|
|
9
|
+
verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("./props.js").VerticalAlign, true>;
|
|
10
|
+
wrapText: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
11
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
12
|
+
shouldScroll: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
13
|
+
icon: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
14
|
+
iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
15
15
|
} & (Omit<{
|
|
16
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", false
|
|
16
|
+
textType: import("../../properties-panel/props-builder.js").Prop<"number" | "time" | "text" | "date" | "currency", false>;
|
|
17
17
|
}, "textType" | "dateInputFormat" | "dateOutputFormat"> & ({
|
|
18
|
-
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false
|
|
19
|
-
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false
|
|
20
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"currency", true
|
|
21
|
-
currency: import("../../properties-panel/props-builder.js").Prop<string, true
|
|
22
|
-
numberFormat: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true
|
|
18
|
+
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
19
|
+
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
20
|
+
textType: import("../../properties-panel/props-builder.js").Prop<"currency", true>;
|
|
21
|
+
currency: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
22
|
+
numberFormat: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true>;
|
|
23
23
|
dateInputFormat?: undefined;
|
|
24
24
|
dateOutputFormat?: undefined;
|
|
25
25
|
} | {
|
|
26
|
-
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false
|
|
27
|
-
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false
|
|
28
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"number", true
|
|
29
|
-
numberFormat: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true
|
|
26
|
+
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
27
|
+
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
28
|
+
textType: import("../../properties-panel/props-builder.js").Prop<"number", true>;
|
|
29
|
+
numberFormat: import("../../properties-panel/props-builder.js").Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true>;
|
|
30
30
|
dateInputFormat?: undefined;
|
|
31
31
|
dateOutputFormat?: undefined;
|
|
32
32
|
} | {
|
|
33
|
-
textType: import("../../properties-panel/props-builder.js").Prop<"date", true
|
|
34
|
-
dateInputFormat: import("../../properties-panel/props-builder.js").Prop<string, false
|
|
35
|
-
dateOutputFormat: import("../../properties-panel/props-builder.js").Prop<string, false
|
|
33
|
+
textType: import("../../properties-panel/props-builder.js").Prop<"date", true>;
|
|
34
|
+
dateInputFormat: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
35
|
+
dateOutputFormat: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
36
36
|
})))>;
|
|
37
|
-
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any
|
|
38
|
-
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
39
|
-
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
40
|
-
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
41
|
-
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
42
|
-
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
43
|
-
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
37
|
+
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
38
|
+
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
39
|
+
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
40
|
+
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
41
|
+
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
42
|
+
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
43
|
+
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
44
44
|
} & {
|
|
45
45
|
margin: import("../../properties-panel/props-builder.js").Prop<{
|
|
46
46
|
top: import("@superblocksteam/library-shared").Dim<"px">;
|
|
47
47
|
bottom: import("@superblocksteam/library-shared").Dim<"px">;
|
|
48
48
|
left: import("@superblocksteam/library-shared").Dim<"px">;
|
|
49
49
|
right: import("@superblocksteam/library-shared").Dim<"px">;
|
|
50
|
-
} | undefined, true
|
|
50
|
+
} | undefined, true>;
|
|
51
51
|
} & {
|
|
52
|
-
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true
|
|
52
|
+
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
53
53
|
} & {
|
|
54
|
-
shouldScroll: import("../../properties-panel/props-builder.js").Prop<boolean, false
|
|
54
|
+
shouldScroll: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
55
55
|
}>;
|
|
56
56
|
}>>;
|
|
@@ -10,58 +10,58 @@ import type { Typographies } from "@superblocksteam/library-shared/types";
|
|
|
10
10
|
export declare const DEFAULT_TEXT_WIDGET_TEXT_STYLE_VARIANT: keyof Typographies;
|
|
11
11
|
export type VerticalAlign = "top" | "center" | "bottom";
|
|
12
12
|
export declare const propertiesDefinition: {
|
|
13
|
-
general: Section<Record<string, Prop<any, any
|
|
14
|
-
text: Prop<string, false
|
|
15
|
-
textType: Prop<"number" | "time" | "text" | "date" | "currency", true
|
|
13
|
+
general: Section<Record<string, Prop<any, any>> & {
|
|
14
|
+
text: Prop<string, false>;
|
|
15
|
+
textType: Prop<"number" | "time" | "text" | "date" | "currency", true>;
|
|
16
16
|
}>;
|
|
17
|
-
appearance: Section<Record<string, Prop<any, any
|
|
18
|
-
textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true
|
|
19
|
-
horizontalAlign: Prop<HorizontalAlign, true
|
|
20
|
-
verticalAlign: Prop<VerticalAlign, true
|
|
21
|
-
wrapText: Prop<boolean, true
|
|
22
|
-
loading: Prop<boolean, true
|
|
23
|
-
shouldScroll: Prop<boolean, false
|
|
24
|
-
icon: Prop<string, false
|
|
25
|
-
iconPosition: Prop<IconPosition, true
|
|
17
|
+
appearance: Section<Record<string, Prop<any, any>> & ({
|
|
18
|
+
textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
19
|
+
horizontalAlign: Prop<HorizontalAlign, true>;
|
|
20
|
+
verticalAlign: Prop<VerticalAlign, true>;
|
|
21
|
+
wrapText: Prop<boolean, true>;
|
|
22
|
+
loading: Prop<boolean, true>;
|
|
23
|
+
shouldScroll: Prop<boolean, false>;
|
|
24
|
+
icon: Prop<string, false>;
|
|
25
|
+
iconPosition: Prop<IconPosition, true>;
|
|
26
26
|
} & (Omit<{
|
|
27
|
-
textType: Prop<"number" | "time" | "text" | "date" | "currency", false
|
|
27
|
+
textType: Prop<"number" | "time" | "text" | "date" | "currency", false>;
|
|
28
28
|
}, "textType" | "dateInputFormat" | "dateOutputFormat"> & ({
|
|
29
|
-
minDecimals: Prop<number, false
|
|
30
|
-
maxDecimals: Prop<number, false
|
|
31
|
-
textType: Prop<"currency", true
|
|
32
|
-
currency: Prop<string, true
|
|
33
|
-
numberFormat: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true
|
|
29
|
+
minDecimals: Prop<number, false>;
|
|
30
|
+
maxDecimals: Prop<number, false>;
|
|
31
|
+
textType: Prop<"currency", true>;
|
|
32
|
+
currency: Prop<string, true>;
|
|
33
|
+
numberFormat: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true>;
|
|
34
34
|
dateInputFormat?: undefined;
|
|
35
35
|
dateOutputFormat?: undefined;
|
|
36
36
|
} | {
|
|
37
|
-
minDecimals: Prop<number, false
|
|
38
|
-
maxDecimals: Prop<number, false
|
|
39
|
-
textType: Prop<"number", true
|
|
40
|
-
numberFormat: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true
|
|
37
|
+
minDecimals: Prop<number, false>;
|
|
38
|
+
maxDecimals: Prop<number, false>;
|
|
39
|
+
textType: Prop<"number", true>;
|
|
40
|
+
numberFormat: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", true>;
|
|
41
41
|
dateInputFormat?: undefined;
|
|
42
42
|
dateOutputFormat?: undefined;
|
|
43
43
|
} | {
|
|
44
|
-
textType: Prop<"date", true
|
|
45
|
-
dateInputFormat: Prop<string, false
|
|
46
|
-
dateOutputFormat: Prop<string, false
|
|
44
|
+
textType: Prop<"date", true>;
|
|
45
|
+
dateInputFormat: Prop<string, false>;
|
|
46
|
+
dateOutputFormat: Prop<string, false>;
|
|
47
47
|
})))>;
|
|
48
|
-
layout: Section<Record<string, Prop<any, any
|
|
49
|
-
maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
50
|
-
minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
51
|
-
maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
52
|
-
minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
53
|
-
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
54
|
-
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
48
|
+
layout: Section<Record<string, Prop<any, any>> & {
|
|
49
|
+
maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
50
|
+
minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
51
|
+
maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
52
|
+
minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
53
|
+
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
54
|
+
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
55
55
|
} & {
|
|
56
56
|
margin: Prop<{
|
|
57
57
|
top: Dim<"px">;
|
|
58
58
|
bottom: Dim<"px">;
|
|
59
59
|
left: Dim<"px">;
|
|
60
60
|
right: Dim<"px">;
|
|
61
|
-
} | undefined, true
|
|
61
|
+
} | undefined, true>;
|
|
62
62
|
} & {
|
|
63
|
-
isVisible: Prop<boolean, true
|
|
63
|
+
isVisible: Prop<boolean, true>;
|
|
64
64
|
} & {
|
|
65
|
-
shouldScroll: Prop<boolean, false
|
|
65
|
+
shouldScroll: Prop<boolean, false>;
|
|
66
66
|
}>;
|
|
67
67
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const CANVAS_ROOT_ID = "canvas-root";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const MODAL_TARGET_ROOT_ID = "modal-target-root";
|
|
@@ -1,29 +1,20 @@
|
|
|
1
1
|
import { Section, Prop, type InternalProps } from "../../properties-panel/props-builder.js";
|
|
2
|
-
|
|
3
|
-
export type ApiEntity = Omit<InternalProps<typeof propertiesDefinition>, "_suspensibleApi"> & {
|
|
2
|
+
export type ApiEntity = InternalProps<typeof propertiesDefinition> & {
|
|
4
3
|
run: () => Promise<any>;
|
|
5
4
|
cancel: () => Promise<any>;
|
|
6
|
-
_suspensibleApi: SuspensibleAPI<any, any[]>;
|
|
7
5
|
};
|
|
8
6
|
export declare const propertiesDefinition: {
|
|
9
|
-
events: Section<Record<string, Prop<any, any
|
|
10
|
-
onSuccess: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
11
|
-
onError: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
7
|
+
events: Section<Record<string, Prop<any, any>> & {
|
|
8
|
+
onSuccess: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
9
|
+
onError: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
12
10
|
}>;
|
|
13
|
-
metadata: Section<Record<string, Prop<any, any
|
|
14
|
-
response: Prop<any, true
|
|
15
|
-
error: Prop<any, true
|
|
16
|
-
|
|
11
|
+
metadata: Section<Record<string, Prop<any, any>> & {
|
|
12
|
+
response: Prop<any, true>;
|
|
13
|
+
error: Prop<any, true>;
|
|
14
|
+
isRunning: Prop<boolean, true>;
|
|
17
15
|
}>;
|
|
18
|
-
functions: Section<Record<string, Prop<any, any
|
|
19
|
-
run: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], Promise<any>>, true
|
|
20
|
-
cancel: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], Promise<void>>, true
|
|
21
|
-
}>;
|
|
22
|
-
internal: Section<Record<string, Prop<any, any, undefined>> & {
|
|
23
|
-
/**
|
|
24
|
-
* Internal SuspensibleAPI instance that manages loading states and React Suspense integration.
|
|
25
|
-
* This property is hidden from the public interface but accessible to other properties.
|
|
26
|
-
*/
|
|
27
|
-
_suspensibleApi: Prop<SuspensibleAPI<any, []>, true, undefined>;
|
|
16
|
+
functions: Section<Record<string, Prop<any, any>> & {
|
|
17
|
+
run: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], Promise<any>>, true>;
|
|
18
|
+
cancel: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], Promise<void>>, true>;
|
|
28
19
|
}>;
|
|
29
20
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Section, Prop } from "../../properties-panel/props-builder.js";
|
|
2
2
|
export declare const propertiesDefinition: {
|
|
3
|
-
general: Section<Record<string, Prop<any, any
|
|
4
|
-
intervalMs: Prop<number, true
|
|
5
|
-
startOnPageLoad: Prop<boolean, false
|
|
3
|
+
general: Section<Record<string, Prop<any, any>> & {
|
|
4
|
+
intervalMs: Prop<number, true>;
|
|
5
|
+
startOnPageLoad: Prop<boolean, false>;
|
|
6
6
|
}>;
|
|
7
|
-
events: Section<Record<string, Prop<any, any
|
|
8
|
-
onFire: Prop<import("../../sb-event-flow.js").SbEventFlow, false
|
|
7
|
+
events: Section<Record<string, Prop<any, any>> & {
|
|
8
|
+
onFire: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
9
9
|
}>;
|
|
10
|
-
metadata: Section<Record<string, Prop<any, any
|
|
11
|
-
timerId: Prop<string, false
|
|
12
|
-
isRunning: Prop<boolean, true
|
|
10
|
+
metadata: Section<Record<string, Prop<any, any>> & {
|
|
11
|
+
timerId: Prop<string, false>;
|
|
12
|
+
isRunning: Prop<boolean, true>;
|
|
13
13
|
}>;
|
|
14
|
-
functions: Section<Record<string, Prop<any, any
|
|
15
|
-
start: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true
|
|
16
|
-
stop: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true
|
|
17
|
-
toggle: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true
|
|
14
|
+
functions: Section<Record<string, Prop<any, any>> & {
|
|
15
|
+
start: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true>;
|
|
16
|
+
stop: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true>;
|
|
17
|
+
toggle: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true>;
|
|
18
18
|
}>;
|
|
19
19
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { SbVariablePersistence } from "@superblocksteam/library-shared/types";
|
|
2
2
|
import { Section, Prop } from "../../properties-panel/props-builder.js";
|
|
3
3
|
export declare const propertiesDefinition: {
|
|
4
|
-
general: Section<Record<string, Prop<any, any
|
|
5
|
-
defaultValue: Prop<any, false
|
|
6
|
-
value: Prop<any, false
|
|
7
|
-
persistence: Prop<SbVariablePersistence, true
|
|
4
|
+
general: Section<Record<string, Prop<any, any>> & {
|
|
5
|
+
defaultValue: Prop<any, false>;
|
|
6
|
+
value: Prop<any, false>;
|
|
7
|
+
persistence: Prop<SbVariablePersistence, true>;
|
|
8
8
|
}>;
|
|
9
|
-
functions: Section<Record<string, Prop<any, any
|
|
10
|
-
set: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[value: any], void>, true
|
|
11
|
-
reset: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true
|
|
9
|
+
functions: Section<Record<string, Prop<any, any>> & {
|
|
10
|
+
set: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[value: any], void>, true>;
|
|
11
|
+
reset: Prop<import("../../../internal-details/lib/evaluator/base-entity-manager.js").EntityFunction<[], void>, true>;
|
|
12
12
|
}>;
|
|
13
13
|
};
|
|
@@ -22,6 +22,7 @@ export declare const Layers: {
|
|
|
22
22
|
selectedRect: Indices;
|
|
23
23
|
focusedRect: Indices;
|
|
24
24
|
namePill: Indices;
|
|
25
|
+
drawer: Indices;
|
|
25
26
|
closeButton: Indices;
|
|
26
27
|
stickySections: Indices;
|
|
27
28
|
scrollbars: Indices;
|
|
@@ -30,7 +31,7 @@ export declare const Layers: {
|
|
|
30
31
|
parentSelectedWrapper: Indices;
|
|
31
32
|
widgetResizer: Indices;
|
|
32
33
|
resizer: Indices;
|
|
33
|
-
|
|
34
|
+
modal: Indices;
|
|
34
35
|
widgetName: Indices;
|
|
35
36
|
selectionConstraintResize: Indices;
|
|
36
37
|
addSectionButton: Indices;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { Section } from "./props-builder.js";
|
|
2
2
|
import type { ManagedPropsList } from "./props-builder.js";
|
|
3
3
|
export declare const RECORD_PATH_IDENTIFIER = "*";
|
|
4
|
-
export declare function createInternalPropsList(sections: Record<string, Section>, parentPath?: string): Array<{
|
|
5
|
-
path: string;
|
|
6
|
-
factory: () => any;
|
|
7
|
-
}>;
|
|
8
4
|
declare function createManagedPropsList(sections: Record<string, Section>, parentPath?: string): ManagedPropsList;
|
|
9
5
|
export { createManagedPropsList };
|
|
@@ -2,23 +2,23 @@ import { Prop } from "../props-builder.js";
|
|
|
2
2
|
import type { PropertiesPanelDisplay } from "@superblocksteam/library-shared/props";
|
|
3
3
|
import type { TextStyleWithVariant } from "@superblocksteam/library-shared/types";
|
|
4
4
|
export declare const createTextStyleCompositeBase: () => {
|
|
5
|
-
variant: Prop<string, false
|
|
5
|
+
variant: Prop<string, false>;
|
|
6
6
|
textColor: import("../props-builder.js").CompositeProp<{
|
|
7
|
-
default: Prop<string, false
|
|
7
|
+
default: Prop<string, false>;
|
|
8
8
|
}>;
|
|
9
|
-
fontFamily: Prop<string, false
|
|
10
|
-
fontSize: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false
|
|
11
|
-
fontWeight: Prop<number, false
|
|
12
|
-
fontStyle: Prop<string, false
|
|
13
|
-
lineHeight: Prop<string, false
|
|
14
|
-
letterSpacing: Prop<number, false
|
|
15
|
-
textTransform: Prop<string, false
|
|
9
|
+
fontFamily: Prop<string, false>;
|
|
10
|
+
fontSize: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
11
|
+
fontWeight: Prop<number, false>;
|
|
12
|
+
fontStyle: Prop<string, false>;
|
|
13
|
+
lineHeight: Prop<string, false>;
|
|
14
|
+
letterSpacing: Prop<number, false>;
|
|
15
|
+
textTransform: Prop<string, false>;
|
|
16
16
|
};
|
|
17
17
|
export declare const basePropertiesPaneDisplay: PropertiesPanelDisplay<TextStyleWithVariant>;
|
|
18
18
|
export declare const textStyleProp: ({ baseProp, propertiesPanel, }?: {
|
|
19
19
|
baseProp?: ReturnType<typeof createTextStyleCompositeBase>;
|
|
20
20
|
propertiesPanel?: Omit<Partial<PropertiesPanelDisplay<TextStyleWithVariant, "TEXT_STYLE">>, "controlType">;
|
|
21
21
|
}) => Prop<TextStyleWithVariant>;
|
|
22
|
-
export declare const colorProp: (schema: Omit<Partial<PropertiesPanelDisplay<string, "COLOR_PICKER">>, "controlType">) => Prop<string, false
|
|
23
|
-
export declare const labelTextStyle: () => Prop<TextStyleWithVariant, true
|
|
24
|
-
export declare const inputTextStyle: () => Prop<TextStyleWithVariant, true
|
|
22
|
+
export declare const colorProp: (schema: Omit<Partial<PropertiesPanelDisplay<string, "COLOR_PICKER">>, "controlType">) => Prop<string, false>;
|
|
23
|
+
export declare const labelTextStyle: () => Prop<TextStyleWithVariant, true>;
|
|
24
|
+
export declare const inputTextStyle: () => Prop<TextStyleWithVariant, true>;
|
|
@@ -3,6 +3,6 @@ import type { Dim } from "@superblocksteam/library-shared";
|
|
|
3
3
|
import type { PropertiesPanelDisplay } from "@superblocksteam/library-shared/props";
|
|
4
4
|
import type { BorderStyleBlock, PerCornerBorderRadius, PerSideBorder } from "@superblocksteam/library-shared/types";
|
|
5
5
|
export declare const createPerSideBorder: (border: BorderStyleBlock) => PerSideBorder;
|
|
6
|
-
export declare const border: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<PerSideBorder, "BORDER_CONTROL">>>) => Prop<PerSideBorder, false
|
|
6
|
+
export declare const border: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<PerSideBorder, "BORDER_CONTROL">>>) => Prop<PerSideBorder, false>;
|
|
7
7
|
export declare const createBorderRadiusObject: (borderRadius: Dim<"px" | "%">) => PerCornerBorderRadius;
|
|
8
|
-
export declare const borderRadius: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<PerCornerBorderRadius, "BORDER_RADIUS_CONTROL">>>) => Prop<PerCornerBorderRadius, true
|
|
8
|
+
export declare const borderRadius: (propertiesPanelConfig?: Partial<Partial<PropertiesPanelDisplay<PerCornerBorderRadius, "BORDER_RADIUS_CONTROL">>>) => Prop<PerCornerBorderRadius, true>;
|
|
@@ -2,13 +2,13 @@ import { Dim } from "@superblocksteam/library-shared";
|
|
|
2
2
|
import { Prop } from "../props-builder.js";
|
|
3
3
|
import type { ErrorMessagePlacement } from "@superblocksteam/library-shared/props";
|
|
4
4
|
import type { PropertiesPanelDisplay } from "@superblocksteam/library-shared/props";
|
|
5
|
-
export declare const errorMessagePlacement: Prop<ErrorMessagePlacement, true
|
|
6
|
-
export declare const labelWidth: Prop<Dim, true
|
|
5
|
+
export declare const errorMessagePlacement: Prop<ErrorMessagePlacement, true>;
|
|
6
|
+
export declare const labelWidth: Prop<Dim, true>;
|
|
7
7
|
export declare const customValidationProperties: {
|
|
8
|
-
customValidationRule: Prop<string, true
|
|
9
|
-
customErrorMessage: Prop<string, true
|
|
8
|
+
customValidationRule: Prop<string, true>;
|
|
9
|
+
customErrorMessage: Prop<string, true>;
|
|
10
10
|
};
|
|
11
|
-
export declare const labelPosition: () => Prop<"top" | "left", true
|
|
11
|
+
export declare const labelPosition: () => Prop<"top" | "left", true>;
|
|
12
12
|
export declare const getTypographyOptions: () => {
|
|
13
13
|
label: string;
|
|
14
14
|
value: {
|
|
@@ -32,13 +32,13 @@ export declare const getCustomValidationProperties: ({ errorMessagePlacementSche
|
|
|
32
32
|
customValidationRuleSchema?: Omit<Partial<PropertiesPanelDisplay<string, "INPUT_TEXT">>, "controlType" | "options">;
|
|
33
33
|
customErrorMessageSchema?: Omit<Partial<PropertiesPanelDisplay<string, "INPUT_TEXT">>, "controlType" | "options">;
|
|
34
34
|
}) => {
|
|
35
|
-
errorMessagePlacement: Prop<ErrorMessagePlacement, true
|
|
36
|
-
customValidationRule: Prop<any, false
|
|
37
|
-
customErrorMessage: Prop<string, true
|
|
35
|
+
errorMessagePlacement: Prop<ErrorMessagePlacement, true>;
|
|
36
|
+
customValidationRule: Prop<any, false>;
|
|
37
|
+
customErrorMessage: Prop<string, true>;
|
|
38
38
|
};
|
|
39
39
|
export declare const getFractionDigitsProperties: ({ schema, }?: {
|
|
40
40
|
schema?: Omit<Partial<PropertiesPanelDisplay<number, "INPUT_TEXT">>, "controlType">;
|
|
41
41
|
}) => {
|
|
42
|
-
minDecimals: Prop<number, false
|
|
43
|
-
maxDecimals: Prop<number, false
|
|
42
|
+
minDecimals: Prop<number, false>;
|
|
43
|
+
maxDecimals: Prop<number, false>;
|
|
44
44
|
};
|