@revisium/schema-toolkit-ui 0.6.5 → 0.6.6
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +26 -26
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { Diagnostic, InferNode, JsonObjectSchema, JsonPatch, JsonSchema, JsonVal
|
|
|
3
3
|
import { BoxProps, IconButtonProps, Tooltip as Tooltip$1 } from "@chakra-ui/react";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import React, { FC, FocusEventHandler, FormEventHandler, KeyboardEventHandler, PropsWithChildren, RefCallback } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
7
7
|
export * from "@revisium/schema-toolkit";
|
|
8
8
|
|
|
9
9
|
//#region src/schema-editor/model/state/TreeState.d.ts
|
|
@@ -1303,7 +1303,7 @@ interface FilterWidgetProps {
|
|
|
1303
1303
|
declare const FilterWidget: (({
|
|
1304
1304
|
model,
|
|
1305
1305
|
availableFields
|
|
1306
|
-
}: FilterWidgetProps) =>
|
|
1306
|
+
}: FilterWidgetProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1307
1307
|
displayName: string;
|
|
1308
1308
|
};
|
|
1309
1309
|
//#endregion
|
|
@@ -1319,7 +1319,7 @@ declare const FilterGroupView: (({
|
|
|
1319
1319
|
group,
|
|
1320
1320
|
availableFields,
|
|
1321
1321
|
isRoot
|
|
1322
|
-
}: FilterGroupViewProps) =>
|
|
1322
|
+
}: FilterGroupViewProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1323
1323
|
displayName: string;
|
|
1324
1324
|
};
|
|
1325
1325
|
//#endregion
|
|
@@ -1333,7 +1333,7 @@ declare const FilterConditionView: (({
|
|
|
1333
1333
|
model,
|
|
1334
1334
|
condition,
|
|
1335
1335
|
availableFields
|
|
1336
|
-
}: FilterConditionViewProps) =>
|
|
1336
|
+
}: FilterConditionViewProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1337
1337
|
displayName: string;
|
|
1338
1338
|
};
|
|
1339
1339
|
//#endregion
|
|
@@ -1349,7 +1349,7 @@ declare const FieldSelect: (({
|
|
|
1349
1349
|
fieldType,
|
|
1350
1350
|
fields,
|
|
1351
1351
|
onChange
|
|
1352
|
-
}: FieldSelectProps) =>
|
|
1352
|
+
}: FieldSelectProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1353
1353
|
displayName: string;
|
|
1354
1354
|
};
|
|
1355
1355
|
//#endregion
|
|
@@ -1363,7 +1363,7 @@ declare const OperatorSelect: (({
|
|
|
1363
1363
|
value,
|
|
1364
1364
|
fieldType,
|
|
1365
1365
|
onChange
|
|
1366
|
-
}: OperatorSelectProps) =>
|
|
1366
|
+
}: OperatorSelectProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1367
1367
|
displayName: string;
|
|
1368
1368
|
};
|
|
1369
1369
|
//#endregion
|
|
@@ -1379,7 +1379,7 @@ declare const FilterValueInput: (({
|
|
|
1379
1379
|
fieldType,
|
|
1380
1380
|
onChange,
|
|
1381
1381
|
error
|
|
1382
|
-
}: FilterValueInputProps) =>
|
|
1382
|
+
}: FilterValueInputProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1383
1383
|
displayName: string;
|
|
1384
1384
|
};
|
|
1385
1385
|
//#endregion
|
|
@@ -1404,7 +1404,7 @@ interface SearchWidgetProps {
|
|
|
1404
1404
|
}
|
|
1405
1405
|
declare const SearchWidget: (({
|
|
1406
1406
|
model
|
|
1407
|
-
}: SearchWidgetProps) =>
|
|
1407
|
+
}: SearchWidgetProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1408
1408
|
displayName: string;
|
|
1409
1409
|
};
|
|
1410
1410
|
//#endregion
|
|
@@ -1496,7 +1496,7 @@ declare const SortingsWidget: (({
|
|
|
1496
1496
|
model,
|
|
1497
1497
|
availableFields,
|
|
1498
1498
|
onChange
|
|
1499
|
-
}: SortingsWidgetProps) =>
|
|
1499
|
+
}: SortingsWidgetProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1500
1500
|
displayName: string;
|
|
1501
1501
|
};
|
|
1502
1502
|
//#endregion
|
|
@@ -1512,7 +1512,7 @@ declare const SortRow: (({
|
|
|
1512
1512
|
index,
|
|
1513
1513
|
model,
|
|
1514
1514
|
availableFields
|
|
1515
|
-
}: SortRowProps) =>
|
|
1515
|
+
}: SortRowProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1516
1516
|
displayName: string;
|
|
1517
1517
|
};
|
|
1518
1518
|
//#endregion
|
|
@@ -1526,7 +1526,7 @@ declare const SortFieldSelect: (({
|
|
|
1526
1526
|
currentField,
|
|
1527
1527
|
availableFields,
|
|
1528
1528
|
onChange
|
|
1529
|
-
}: SortFieldSelectProps) =>
|
|
1529
|
+
}: SortFieldSelectProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1530
1530
|
displayName: string;
|
|
1531
1531
|
};
|
|
1532
1532
|
//#endregion
|
|
@@ -1538,7 +1538,7 @@ interface SortDirectionSelectProps {
|
|
|
1538
1538
|
declare const SortDirectionSelect: (({
|
|
1539
1539
|
selectedDirection,
|
|
1540
1540
|
onSelect
|
|
1541
|
-
}: SortDirectionSelectProps) =>
|
|
1541
|
+
}: SortDirectionSelectProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1542
1542
|
displayName: string;
|
|
1543
1543
|
};
|
|
1544
1544
|
//#endregion
|
|
@@ -1793,7 +1793,7 @@ declare const CellRenderer: (({
|
|
|
1793
1793
|
onSearchForeignKey,
|
|
1794
1794
|
onUploadFile,
|
|
1795
1795
|
onOpenFile
|
|
1796
|
-
}: CellRendererProps) =>
|
|
1796
|
+
}: CellRendererProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1797
1797
|
displayName: string;
|
|
1798
1798
|
};
|
|
1799
1799
|
//#endregion
|
|
@@ -1813,7 +1813,7 @@ interface StringCellProps {
|
|
|
1813
1813
|
}
|
|
1814
1814
|
declare const StringCell: (({
|
|
1815
1815
|
cell
|
|
1816
|
-
}: StringCellProps) =>
|
|
1816
|
+
}: StringCellProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1817
1817
|
displayName: string;
|
|
1818
1818
|
};
|
|
1819
1819
|
//#endregion
|
|
@@ -1823,7 +1823,7 @@ interface NumberCellProps {
|
|
|
1823
1823
|
}
|
|
1824
1824
|
declare const NumberCell: (({
|
|
1825
1825
|
cell
|
|
1826
|
-
}: NumberCellProps) =>
|
|
1826
|
+
}: NumberCellProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1827
1827
|
displayName: string;
|
|
1828
1828
|
};
|
|
1829
1829
|
//#endregion
|
|
@@ -1833,7 +1833,7 @@ interface BooleanCellProps {
|
|
|
1833
1833
|
}
|
|
1834
1834
|
declare const BooleanCell: (({
|
|
1835
1835
|
cell
|
|
1836
|
-
}: BooleanCellProps) =>
|
|
1836
|
+
}: BooleanCellProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1837
1837
|
displayName: string;
|
|
1838
1838
|
};
|
|
1839
1839
|
//#endregion
|
|
@@ -1845,7 +1845,7 @@ interface ForeignKeyCellProps {
|
|
|
1845
1845
|
declare const ForeignKeyCell: (({
|
|
1846
1846
|
cell,
|
|
1847
1847
|
onSearchForeignKey
|
|
1848
|
-
}: ForeignKeyCellProps) =>
|
|
1848
|
+
}: ForeignKeyCellProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1849
1849
|
displayName: string;
|
|
1850
1850
|
};
|
|
1851
1851
|
//#endregion
|
|
@@ -1867,7 +1867,7 @@ interface DateTimeCellProps {
|
|
|
1867
1867
|
}
|
|
1868
1868
|
declare const DateTimeCell: (({
|
|
1869
1869
|
cell
|
|
1870
|
-
}: DateTimeCellProps) =>
|
|
1870
|
+
}: DateTimeCellProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1871
1871
|
displayName: string;
|
|
1872
1872
|
};
|
|
1873
1873
|
//#endregion
|
|
@@ -1877,7 +1877,7 @@ interface ReadonlyCellProps {
|
|
|
1877
1877
|
}
|
|
1878
1878
|
declare const ReadonlyCell: (({
|
|
1879
1879
|
cell
|
|
1880
|
-
}: ReadonlyCellProps) =>
|
|
1880
|
+
}: ReadonlyCellProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1881
1881
|
displayName: string;
|
|
1882
1882
|
};
|
|
1883
1883
|
//#endregion
|
|
@@ -1927,7 +1927,7 @@ declare const TableWidget: (({
|
|
|
1927
1927
|
onEndReached,
|
|
1928
1928
|
isLoadingMore,
|
|
1929
1929
|
useWindowScroll: useWindowScrollProp
|
|
1930
|
-
}: TableWidgetProps) =>
|
|
1930
|
+
}: TableWidgetProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1931
1931
|
displayName: string;
|
|
1932
1932
|
};
|
|
1933
1933
|
//#endregion
|
|
@@ -1945,7 +1945,7 @@ declare const HeaderRow: (({
|
|
|
1945
1945
|
filterModel,
|
|
1946
1946
|
onCopyPath,
|
|
1947
1947
|
showSelection
|
|
1948
|
-
}: HeaderRowProps) =>
|
|
1948
|
+
}: HeaderRowProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1949
1949
|
displayName: string;
|
|
1950
1950
|
};
|
|
1951
1951
|
//#endregion
|
|
@@ -1979,7 +1979,7 @@ declare const DataRow: (({
|
|
|
1979
1979
|
onSelectRow,
|
|
1980
1980
|
onDuplicateRow,
|
|
1981
1981
|
onDeleteRow
|
|
1982
|
-
}: DataRowProps) =>
|
|
1982
|
+
}: DataRowProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1983
1983
|
displayName: string;
|
|
1984
1984
|
};
|
|
1985
1985
|
//#endregion
|
|
@@ -1991,7 +1991,7 @@ interface ResizeHandleProps {
|
|
|
1991
1991
|
declare const ResizeHandle: (({
|
|
1992
1992
|
field,
|
|
1993
1993
|
columnsModel
|
|
1994
|
-
}: ResizeHandleProps) =>
|
|
1994
|
+
}: ResizeHandleProps) => react_jsx_runtime8.JSX.Element) & {
|
|
1995
1995
|
displayName: string;
|
|
1996
1996
|
};
|
|
1997
1997
|
//#endregion
|
|
@@ -2007,7 +2007,7 @@ declare const SelectionToolbar: (({
|
|
|
2007
2007
|
allRowIds,
|
|
2008
2008
|
onDuplicate,
|
|
2009
2009
|
onDelete
|
|
2010
|
-
}: SelectionToolbarProps) =>
|
|
2010
|
+
}: SelectionToolbarProps) => react_jsx_runtime8.JSX.Element) & {
|
|
2011
2011
|
displayName: string;
|
|
2012
2012
|
};
|
|
2013
2013
|
//#endregion
|
|
@@ -2293,7 +2293,7 @@ interface RowCountWidgetProps {
|
|
|
2293
2293
|
}
|
|
2294
2294
|
declare const RowCountWidget: (({
|
|
2295
2295
|
model
|
|
2296
|
-
}: RowCountWidgetProps) =>
|
|
2296
|
+
}: RowCountWidgetProps) => react_jsx_runtime8.JSX.Element) & {
|
|
2297
2297
|
displayName: string;
|
|
2298
2298
|
};
|
|
2299
2299
|
//#endregion
|
|
@@ -2303,7 +2303,7 @@ interface ViewSettingsBadgeProps {
|
|
|
2303
2303
|
}
|
|
2304
2304
|
declare const ViewSettingsBadge: (({
|
|
2305
2305
|
model
|
|
2306
|
-
}: ViewSettingsBadgeProps) =>
|
|
2306
|
+
}: ViewSettingsBadgeProps) => react_jsx_runtime8.JSX.Element | null) & {
|
|
2307
2307
|
displayName: string;
|
|
2308
2308
|
};
|
|
2309
2309
|
//#endregion
|
package/dist/index.mjs
CHANGED
|
@@ -14250,7 +14250,7 @@ const TableEditor = observer(({ viewModel, useWindowScroll }) => {
|
|
|
14250
14250
|
segments: breadcrumbs,
|
|
14251
14251
|
highlightLast: false,
|
|
14252
14252
|
onSegmentClick: callbacks.onBreadcrumbClick,
|
|
14253
|
-
action:
|
|
14253
|
+
action: callbacks.onCreateRow ? /* @__PURE__ */ jsx(PlusButton, {
|
|
14254
14254
|
tooltip: "New row",
|
|
14255
14255
|
onClick: callbacks.onCreateRow,
|
|
14256
14256
|
dataTestId: "create-row-button"
|