@revisium/schema-toolkit-ui 0.6.11 → 0.6.12

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.d.cts CHANGED
@@ -3,7 +3,7 @@ import { Diagnostic, InferNode, JsonObjectSchema, JsonPatch, JsonSchema, JsonVal
3
3
  import * as React$1 from "react";
4
4
  import React, { FC, FocusEventHandler, FormEventHandler, KeyboardEventHandler, PropsWithChildren, RefCallback } from "react";
5
5
  import { BoxProps, IconButtonProps, Tooltip as Tooltip$1 } from "@chakra-ui/react";
6
- import * as react_jsx_runtime20 from "react/jsx-runtime";
6
+ import * as react_jsx_runtime12 from "react/jsx-runtime";
7
7
  export * from "@revisium/schema-toolkit";
8
8
 
9
9
  //#region src/schema-editor/model/state/TreeState.d.ts
@@ -1304,7 +1304,7 @@ interface FilterWidgetProps {
1304
1304
  declare const FilterWidget: (({
1305
1305
  model,
1306
1306
  availableFields
1307
- }: FilterWidgetProps) => react_jsx_runtime20.JSX.Element) & {
1307
+ }: FilterWidgetProps) => react_jsx_runtime12.JSX.Element) & {
1308
1308
  displayName: string;
1309
1309
  };
1310
1310
  //#endregion
@@ -1320,7 +1320,7 @@ declare const FilterGroupView: (({
1320
1320
  group,
1321
1321
  availableFields,
1322
1322
  isRoot
1323
- }: FilterGroupViewProps) => react_jsx_runtime20.JSX.Element) & {
1323
+ }: FilterGroupViewProps) => react_jsx_runtime12.JSX.Element) & {
1324
1324
  displayName: string;
1325
1325
  };
1326
1326
  //#endregion
@@ -1334,7 +1334,7 @@ declare const FilterConditionView: (({
1334
1334
  model,
1335
1335
  condition,
1336
1336
  availableFields
1337
- }: FilterConditionViewProps) => react_jsx_runtime20.JSX.Element) & {
1337
+ }: FilterConditionViewProps) => react_jsx_runtime12.JSX.Element) & {
1338
1338
  displayName: string;
1339
1339
  };
1340
1340
  //#endregion
@@ -1350,7 +1350,7 @@ declare const FieldSelect: (({
1350
1350
  fieldType,
1351
1351
  fields,
1352
1352
  onChange
1353
- }: FieldSelectProps) => react_jsx_runtime20.JSX.Element) & {
1353
+ }: FieldSelectProps) => react_jsx_runtime12.JSX.Element) & {
1354
1354
  displayName: string;
1355
1355
  };
1356
1356
  //#endregion
@@ -1364,7 +1364,7 @@ declare const OperatorSelect: (({
1364
1364
  value,
1365
1365
  fieldType,
1366
1366
  onChange
1367
- }: OperatorSelectProps) => react_jsx_runtime20.JSX.Element) & {
1367
+ }: OperatorSelectProps) => react_jsx_runtime12.JSX.Element) & {
1368
1368
  displayName: string;
1369
1369
  };
1370
1370
  //#endregion
@@ -1380,7 +1380,7 @@ declare const FilterValueInput: (({
1380
1380
  fieldType,
1381
1381
  onChange,
1382
1382
  error
1383
- }: FilterValueInputProps) => react_jsx_runtime20.JSX.Element) & {
1383
+ }: FilterValueInputProps) => react_jsx_runtime12.JSX.Element) & {
1384
1384
  displayName: string;
1385
1385
  };
1386
1386
  //#endregion
@@ -1405,7 +1405,7 @@ interface SearchWidgetProps {
1405
1405
  }
1406
1406
  declare const SearchWidget: (({
1407
1407
  model
1408
- }: SearchWidgetProps) => react_jsx_runtime20.JSX.Element) & {
1408
+ }: SearchWidgetProps) => react_jsx_runtime12.JSX.Element) & {
1409
1409
  displayName: string;
1410
1410
  };
1411
1411
  //#endregion
@@ -1497,7 +1497,7 @@ declare const SortingsWidget: (({
1497
1497
  model,
1498
1498
  availableFields,
1499
1499
  onChange
1500
- }: SortingsWidgetProps) => react_jsx_runtime20.JSX.Element) & {
1500
+ }: SortingsWidgetProps) => react_jsx_runtime12.JSX.Element) & {
1501
1501
  displayName: string;
1502
1502
  };
1503
1503
  //#endregion
@@ -1513,7 +1513,7 @@ declare const SortRow: (({
1513
1513
  index,
1514
1514
  model,
1515
1515
  availableFields
1516
- }: SortRowProps) => react_jsx_runtime20.JSX.Element) & {
1516
+ }: SortRowProps) => react_jsx_runtime12.JSX.Element) & {
1517
1517
  displayName: string;
1518
1518
  };
1519
1519
  //#endregion
@@ -1527,7 +1527,7 @@ declare const SortFieldSelect: (({
1527
1527
  currentField,
1528
1528
  availableFields,
1529
1529
  onChange
1530
- }: SortFieldSelectProps) => react_jsx_runtime20.JSX.Element) & {
1530
+ }: SortFieldSelectProps) => react_jsx_runtime12.JSX.Element) & {
1531
1531
  displayName: string;
1532
1532
  };
1533
1533
  //#endregion
@@ -1539,7 +1539,7 @@ interface SortDirectionSelectProps {
1539
1539
  declare const SortDirectionSelect: (({
1540
1540
  selectedDirection,
1541
1541
  onSelect
1542
- }: SortDirectionSelectProps) => react_jsx_runtime20.JSX.Element) & {
1542
+ }: SortDirectionSelectProps) => react_jsx_runtime12.JSX.Element) & {
1543
1543
  displayName: string;
1544
1544
  };
1545
1545
  //#endregion
@@ -1794,7 +1794,7 @@ declare const CellRenderer: (({
1794
1794
  onSearchForeignKey,
1795
1795
  onUploadFile,
1796
1796
  onOpenFile
1797
- }: CellRendererProps) => react_jsx_runtime20.JSX.Element) & {
1797
+ }: CellRendererProps) => react_jsx_runtime12.JSX.Element) & {
1798
1798
  displayName: string;
1799
1799
  };
1800
1800
  //#endregion
@@ -1814,7 +1814,7 @@ interface StringCellProps {
1814
1814
  }
1815
1815
  declare const StringCell: (({
1816
1816
  cell
1817
- }: StringCellProps) => react_jsx_runtime20.JSX.Element) & {
1817
+ }: StringCellProps) => react_jsx_runtime12.JSX.Element) & {
1818
1818
  displayName: string;
1819
1819
  };
1820
1820
  //#endregion
@@ -1824,7 +1824,7 @@ interface NumberCellProps {
1824
1824
  }
1825
1825
  declare const NumberCell: (({
1826
1826
  cell
1827
- }: NumberCellProps) => react_jsx_runtime20.JSX.Element) & {
1827
+ }: NumberCellProps) => react_jsx_runtime12.JSX.Element) & {
1828
1828
  displayName: string;
1829
1829
  };
1830
1830
  //#endregion
@@ -1834,7 +1834,7 @@ interface BooleanCellProps {
1834
1834
  }
1835
1835
  declare const BooleanCell: (({
1836
1836
  cell
1837
- }: BooleanCellProps) => react_jsx_runtime20.JSX.Element) & {
1837
+ }: BooleanCellProps) => react_jsx_runtime12.JSX.Element) & {
1838
1838
  displayName: string;
1839
1839
  };
1840
1840
  //#endregion
@@ -1846,7 +1846,7 @@ interface ForeignKeyCellProps {
1846
1846
  declare const ForeignKeyCell: (({
1847
1847
  cell,
1848
1848
  onSearchForeignKey
1849
- }: ForeignKeyCellProps) => react_jsx_runtime20.JSX.Element) & {
1849
+ }: ForeignKeyCellProps) => react_jsx_runtime12.JSX.Element) & {
1850
1850
  displayName: string;
1851
1851
  };
1852
1852
  //#endregion
@@ -1868,7 +1868,7 @@ interface DateTimeCellProps {
1868
1868
  }
1869
1869
  declare const DateTimeCell: (({
1870
1870
  cell
1871
- }: DateTimeCellProps) => react_jsx_runtime20.JSX.Element) & {
1871
+ }: DateTimeCellProps) => react_jsx_runtime12.JSX.Element) & {
1872
1872
  displayName: string;
1873
1873
  };
1874
1874
  //#endregion
@@ -1878,7 +1878,7 @@ interface ReadonlyCellProps {
1878
1878
  }
1879
1879
  declare const ReadonlyCell: (({
1880
1880
  cell
1881
- }: ReadonlyCellProps) => react_jsx_runtime20.JSX.Element) & {
1881
+ }: ReadonlyCellProps) => react_jsx_runtime12.JSX.Element) & {
1882
1882
  displayName: string;
1883
1883
  };
1884
1884
  //#endregion
@@ -1928,7 +1928,7 @@ declare const TableWidget: (({
1928
1928
  onEndReached,
1929
1929
  isLoadingMore,
1930
1930
  useWindowScroll: useWindowScrollProp
1931
- }: TableWidgetProps) => react_jsx_runtime20.JSX.Element) & {
1931
+ }: TableWidgetProps) => react_jsx_runtime12.JSX.Element) & {
1932
1932
  displayName: string;
1933
1933
  };
1934
1934
  //#endregion
@@ -1946,7 +1946,7 @@ declare const HeaderRow: (({
1946
1946
  filterModel,
1947
1947
  onCopyPath,
1948
1948
  showSelection
1949
- }: HeaderRowProps) => react_jsx_runtime20.JSX.Element) & {
1949
+ }: HeaderRowProps) => react_jsx_runtime12.JSX.Element) & {
1950
1950
  displayName: string;
1951
1951
  };
1952
1952
  //#endregion
@@ -1980,7 +1980,7 @@ declare const DataRow: (({
1980
1980
  onSelectRow,
1981
1981
  onDuplicateRow,
1982
1982
  onDeleteRow
1983
- }: DataRowProps) => react_jsx_runtime20.JSX.Element) & {
1983
+ }: DataRowProps) => react_jsx_runtime12.JSX.Element) & {
1984
1984
  displayName: string;
1985
1985
  };
1986
1986
  //#endregion
@@ -1992,7 +1992,7 @@ interface ResizeHandleProps {
1992
1992
  declare const ResizeHandle: (({
1993
1993
  field,
1994
1994
  columnsModel
1995
- }: ResizeHandleProps) => react_jsx_runtime20.JSX.Element) & {
1995
+ }: ResizeHandleProps) => react_jsx_runtime12.JSX.Element) & {
1996
1996
  displayName: string;
1997
1997
  };
1998
1998
  //#endregion
@@ -2008,7 +2008,7 @@ declare const SelectionToolbar: (({
2008
2008
  allRowIds,
2009
2009
  onDuplicate,
2010
2010
  onDelete
2011
- }: SelectionToolbarProps) => react_jsx_runtime20.JSX.Element) & {
2011
+ }: SelectionToolbarProps) => react_jsx_runtime12.JSX.Element) & {
2012
2012
  displayName: string;
2013
2013
  };
2014
2014
  //#endregion
@@ -2307,7 +2307,7 @@ interface RowCountWidgetProps {
2307
2307
  }
2308
2308
  declare const RowCountWidget: (({
2309
2309
  model
2310
- }: RowCountWidgetProps) => react_jsx_runtime20.JSX.Element) & {
2310
+ }: RowCountWidgetProps) => react_jsx_runtime12.JSX.Element) & {
2311
2311
  displayName: string;
2312
2312
  };
2313
2313
  //#endregion
@@ -2317,7 +2317,7 @@ interface ViewSettingsBadgeProps {
2317
2317
  }
2318
2318
  declare const ViewSettingsBadge: (({
2319
2319
  model
2320
- }: ViewSettingsBadgeProps) => react_jsx_runtime20.JSX.Element | null) & {
2320
+ }: ViewSettingsBadgeProps) => react_jsx_runtime12.JSX.Element | null) & {
2321
2321
  displayName: string;
2322
2322
  };
2323
2323
  //#endregion
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 react_jsx_runtime7 from "react/jsx-runtime";
6
+ import * as react_jsx_runtime22 from "react/jsx-runtime";
7
7
  export * from "@revisium/schema-toolkit";
8
8
 
9
9
  //#region src/schema-editor/model/state/TreeState.d.ts
@@ -1304,7 +1304,7 @@ interface FilterWidgetProps {
1304
1304
  declare const FilterWidget: (({
1305
1305
  model,
1306
1306
  availableFields
1307
- }: FilterWidgetProps) => react_jsx_runtime7.JSX.Element) & {
1307
+ }: FilterWidgetProps) => react_jsx_runtime22.JSX.Element) & {
1308
1308
  displayName: string;
1309
1309
  };
1310
1310
  //#endregion
@@ -1320,7 +1320,7 @@ declare const FilterGroupView: (({
1320
1320
  group,
1321
1321
  availableFields,
1322
1322
  isRoot
1323
- }: FilterGroupViewProps) => react_jsx_runtime7.JSX.Element) & {
1323
+ }: FilterGroupViewProps) => react_jsx_runtime22.JSX.Element) & {
1324
1324
  displayName: string;
1325
1325
  };
1326
1326
  //#endregion
@@ -1334,7 +1334,7 @@ declare const FilterConditionView: (({
1334
1334
  model,
1335
1335
  condition,
1336
1336
  availableFields
1337
- }: FilterConditionViewProps) => react_jsx_runtime7.JSX.Element) & {
1337
+ }: FilterConditionViewProps) => react_jsx_runtime22.JSX.Element) & {
1338
1338
  displayName: string;
1339
1339
  };
1340
1340
  //#endregion
@@ -1350,7 +1350,7 @@ declare const FieldSelect: (({
1350
1350
  fieldType,
1351
1351
  fields,
1352
1352
  onChange
1353
- }: FieldSelectProps) => react_jsx_runtime7.JSX.Element) & {
1353
+ }: FieldSelectProps) => react_jsx_runtime22.JSX.Element) & {
1354
1354
  displayName: string;
1355
1355
  };
1356
1356
  //#endregion
@@ -1364,7 +1364,7 @@ declare const OperatorSelect: (({
1364
1364
  value,
1365
1365
  fieldType,
1366
1366
  onChange
1367
- }: OperatorSelectProps) => react_jsx_runtime7.JSX.Element) & {
1367
+ }: OperatorSelectProps) => react_jsx_runtime22.JSX.Element) & {
1368
1368
  displayName: string;
1369
1369
  };
1370
1370
  //#endregion
@@ -1380,7 +1380,7 @@ declare const FilterValueInput: (({
1380
1380
  fieldType,
1381
1381
  onChange,
1382
1382
  error
1383
- }: FilterValueInputProps) => react_jsx_runtime7.JSX.Element) & {
1383
+ }: FilterValueInputProps) => react_jsx_runtime22.JSX.Element) & {
1384
1384
  displayName: string;
1385
1385
  };
1386
1386
  //#endregion
@@ -1405,7 +1405,7 @@ interface SearchWidgetProps {
1405
1405
  }
1406
1406
  declare const SearchWidget: (({
1407
1407
  model
1408
- }: SearchWidgetProps) => react_jsx_runtime7.JSX.Element) & {
1408
+ }: SearchWidgetProps) => react_jsx_runtime22.JSX.Element) & {
1409
1409
  displayName: string;
1410
1410
  };
1411
1411
  //#endregion
@@ -1497,7 +1497,7 @@ declare const SortingsWidget: (({
1497
1497
  model,
1498
1498
  availableFields,
1499
1499
  onChange
1500
- }: SortingsWidgetProps) => react_jsx_runtime7.JSX.Element) & {
1500
+ }: SortingsWidgetProps) => react_jsx_runtime22.JSX.Element) & {
1501
1501
  displayName: string;
1502
1502
  };
1503
1503
  //#endregion
@@ -1513,7 +1513,7 @@ declare const SortRow: (({
1513
1513
  index,
1514
1514
  model,
1515
1515
  availableFields
1516
- }: SortRowProps) => react_jsx_runtime7.JSX.Element) & {
1516
+ }: SortRowProps) => react_jsx_runtime22.JSX.Element) & {
1517
1517
  displayName: string;
1518
1518
  };
1519
1519
  //#endregion
@@ -1527,7 +1527,7 @@ declare const SortFieldSelect: (({
1527
1527
  currentField,
1528
1528
  availableFields,
1529
1529
  onChange
1530
- }: SortFieldSelectProps) => react_jsx_runtime7.JSX.Element) & {
1530
+ }: SortFieldSelectProps) => react_jsx_runtime22.JSX.Element) & {
1531
1531
  displayName: string;
1532
1532
  };
1533
1533
  //#endregion
@@ -1539,7 +1539,7 @@ interface SortDirectionSelectProps {
1539
1539
  declare const SortDirectionSelect: (({
1540
1540
  selectedDirection,
1541
1541
  onSelect
1542
- }: SortDirectionSelectProps) => react_jsx_runtime7.JSX.Element) & {
1542
+ }: SortDirectionSelectProps) => react_jsx_runtime22.JSX.Element) & {
1543
1543
  displayName: string;
1544
1544
  };
1545
1545
  //#endregion
@@ -1794,7 +1794,7 @@ declare const CellRenderer: (({
1794
1794
  onSearchForeignKey,
1795
1795
  onUploadFile,
1796
1796
  onOpenFile
1797
- }: CellRendererProps) => react_jsx_runtime7.JSX.Element) & {
1797
+ }: CellRendererProps) => react_jsx_runtime22.JSX.Element) & {
1798
1798
  displayName: string;
1799
1799
  };
1800
1800
  //#endregion
@@ -1814,7 +1814,7 @@ interface StringCellProps {
1814
1814
  }
1815
1815
  declare const StringCell: (({
1816
1816
  cell
1817
- }: StringCellProps) => react_jsx_runtime7.JSX.Element) & {
1817
+ }: StringCellProps) => react_jsx_runtime22.JSX.Element) & {
1818
1818
  displayName: string;
1819
1819
  };
1820
1820
  //#endregion
@@ -1824,7 +1824,7 @@ interface NumberCellProps {
1824
1824
  }
1825
1825
  declare const NumberCell: (({
1826
1826
  cell
1827
- }: NumberCellProps) => react_jsx_runtime7.JSX.Element) & {
1827
+ }: NumberCellProps) => react_jsx_runtime22.JSX.Element) & {
1828
1828
  displayName: string;
1829
1829
  };
1830
1830
  //#endregion
@@ -1834,7 +1834,7 @@ interface BooleanCellProps {
1834
1834
  }
1835
1835
  declare const BooleanCell: (({
1836
1836
  cell
1837
- }: BooleanCellProps) => react_jsx_runtime7.JSX.Element) & {
1837
+ }: BooleanCellProps) => react_jsx_runtime22.JSX.Element) & {
1838
1838
  displayName: string;
1839
1839
  };
1840
1840
  //#endregion
@@ -1846,7 +1846,7 @@ interface ForeignKeyCellProps {
1846
1846
  declare const ForeignKeyCell: (({
1847
1847
  cell,
1848
1848
  onSearchForeignKey
1849
- }: ForeignKeyCellProps) => react_jsx_runtime7.JSX.Element) & {
1849
+ }: ForeignKeyCellProps) => react_jsx_runtime22.JSX.Element) & {
1850
1850
  displayName: string;
1851
1851
  };
1852
1852
  //#endregion
@@ -1868,7 +1868,7 @@ interface DateTimeCellProps {
1868
1868
  }
1869
1869
  declare const DateTimeCell: (({
1870
1870
  cell
1871
- }: DateTimeCellProps) => react_jsx_runtime7.JSX.Element) & {
1871
+ }: DateTimeCellProps) => react_jsx_runtime22.JSX.Element) & {
1872
1872
  displayName: string;
1873
1873
  };
1874
1874
  //#endregion
@@ -1878,7 +1878,7 @@ interface ReadonlyCellProps {
1878
1878
  }
1879
1879
  declare const ReadonlyCell: (({
1880
1880
  cell
1881
- }: ReadonlyCellProps) => react_jsx_runtime7.JSX.Element) & {
1881
+ }: ReadonlyCellProps) => react_jsx_runtime22.JSX.Element) & {
1882
1882
  displayName: string;
1883
1883
  };
1884
1884
  //#endregion
@@ -1928,7 +1928,7 @@ declare const TableWidget: (({
1928
1928
  onEndReached,
1929
1929
  isLoadingMore,
1930
1930
  useWindowScroll: useWindowScrollProp
1931
- }: TableWidgetProps) => react_jsx_runtime7.JSX.Element) & {
1931
+ }: TableWidgetProps) => react_jsx_runtime22.JSX.Element) & {
1932
1932
  displayName: string;
1933
1933
  };
1934
1934
  //#endregion
@@ -1946,7 +1946,7 @@ declare const HeaderRow: (({
1946
1946
  filterModel,
1947
1947
  onCopyPath,
1948
1948
  showSelection
1949
- }: HeaderRowProps) => react_jsx_runtime7.JSX.Element) & {
1949
+ }: HeaderRowProps) => react_jsx_runtime22.JSX.Element) & {
1950
1950
  displayName: string;
1951
1951
  };
1952
1952
  //#endregion
@@ -1980,7 +1980,7 @@ declare const DataRow: (({
1980
1980
  onSelectRow,
1981
1981
  onDuplicateRow,
1982
1982
  onDeleteRow
1983
- }: DataRowProps) => react_jsx_runtime7.JSX.Element) & {
1983
+ }: DataRowProps) => react_jsx_runtime22.JSX.Element) & {
1984
1984
  displayName: string;
1985
1985
  };
1986
1986
  //#endregion
@@ -1992,7 +1992,7 @@ interface ResizeHandleProps {
1992
1992
  declare const ResizeHandle: (({
1993
1993
  field,
1994
1994
  columnsModel
1995
- }: ResizeHandleProps) => react_jsx_runtime7.JSX.Element) & {
1995
+ }: ResizeHandleProps) => react_jsx_runtime22.JSX.Element) & {
1996
1996
  displayName: string;
1997
1997
  };
1998
1998
  //#endregion
@@ -2008,7 +2008,7 @@ declare const SelectionToolbar: (({
2008
2008
  allRowIds,
2009
2009
  onDuplicate,
2010
2010
  onDelete
2011
- }: SelectionToolbarProps) => react_jsx_runtime7.JSX.Element) & {
2011
+ }: SelectionToolbarProps) => react_jsx_runtime22.JSX.Element) & {
2012
2012
  displayName: string;
2013
2013
  };
2014
2014
  //#endregion
@@ -2307,7 +2307,7 @@ interface RowCountWidgetProps {
2307
2307
  }
2308
2308
  declare const RowCountWidget: (({
2309
2309
  model
2310
- }: RowCountWidgetProps) => react_jsx_runtime7.JSX.Element) & {
2310
+ }: RowCountWidgetProps) => react_jsx_runtime22.JSX.Element) & {
2311
2311
  displayName: string;
2312
2312
  };
2313
2313
  //#endregion
@@ -2317,7 +2317,7 @@ interface ViewSettingsBadgeProps {
2317
2317
  }
2318
2318
  declare const ViewSettingsBadge: (({
2319
2319
  model
2320
- }: ViewSettingsBadgeProps) => react_jsx_runtime7.JSX.Element | null) & {
2320
+ }: ViewSettingsBadgeProps) => react_jsx_runtime22.JSX.Element | null) & {
2321
2321
  displayName: string;
2322
2322
  };
2323
2323
  //#endregion