@natoora-libs/core 0.1.16-dev-doug-11 → 0.1.16-dev-doug-13
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.
|
@@ -970,7 +970,7 @@ interface TableProps {
|
|
|
970
970
|
}
|
|
971
971
|
declare const Table: ({ appliedFilters, data, doNotCalculateRows, headCells, isLoading, onRowClick, page, RenderItem, rowsPerPage: defaultRowsPerPage, serverRendered, updateSort, }: TableProps) => react_jsx_runtime.JSX.Element;
|
|
972
972
|
|
|
973
|
-
type
|
|
973
|
+
type TableDesktopEditableFieldProps = {
|
|
974
974
|
editInitialValue?: any;
|
|
975
975
|
rowId?: number;
|
|
976
976
|
field: string;
|
|
@@ -987,7 +987,7 @@ type TableDesktopEditableComponentProps = {
|
|
|
987
987
|
validateInput?: HeadCell["validateInput"];
|
|
988
988
|
onUpdateEditableCell?: HeadCell["onUpdateEditableCell"];
|
|
989
989
|
};
|
|
990
|
-
declare const
|
|
990
|
+
declare const TableDesktopEditableField: React.NamedExoticComponent<TableDesktopEditableFieldProps>;
|
|
991
991
|
|
|
992
992
|
type TableDesktopCellProps = {
|
|
993
993
|
editableCellType?: EditableCellType;
|
|
@@ -1113,4 +1113,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
|
|
|
1113
1113
|
|
|
1114
1114
|
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1115
1115
|
|
|
1116
|
-
export { _default$n as ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, BackHeader, BottomBar, _default$m as BoxButton, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$e as DeleteSubstitutionDialogContent, _default$d as DeleteUserDialogContent, type EditableCellType, _default$l as ExtendedButton, FileCard, _default$k as FilledButton, _default$j as FilledButtonLg, _default$c as FilledLabel, FilterGroupSelector, FilterSimpleSelector, _default$b as FixedFooter, type HeadCell, Header, type HeaderFilterObject, type HeaderFilterOptions, type HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$i as ImageButton, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$a as NumpadInput, NumpadPlus, type Order, _default$h as OutlinedButton, _default$g as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$f as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$9 as SearchAndFilterHeaderForTable, SearchFieldDebounced, _default$8 as SearchWithFilters, _default$7 as SearchWithFiltersForTable, SectionName, SmartSelect, _default$3 as SmartTableHeader, _default$4 as SmartTableHeaderFilterMenu, SquareButton, _default$6 as SquareLabel, _default$5 as Switch, Table, TableDesktop, TableDesktopCell,
|
|
1116
|
+
export { _default$n as ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, BackHeader, BottomBar, _default$m as BoxButton, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$e as DeleteSubstitutionDialogContent, _default$d as DeleteUserDialogContent, type EditableCellType, _default$l as ExtendedButton, FileCard, _default$k as FilledButton, _default$j as FilledButtonLg, _default$c as FilledLabel, FilterGroupSelector, FilterSimpleSelector, _default$b as FixedFooter, type HeadCell, Header, type HeaderFilterObject, type HeaderFilterOptions, type HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$i as ImageButton, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$a as NumpadInput, NumpadPlus, type Order, _default$h as OutlinedButton, _default$g as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$f as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$9 as SearchAndFilterHeaderForTable, SearchFieldDebounced, _default$8 as SearchWithFilters, _default$7 as SearchWithFiltersForTable, SectionName, SmartSelect, _default$3 as SmartTableHeader, _default$4 as SmartTableHeaderFilterMenu, SquareButton, _default$6 as SquareLabel, _default$5 as Switch, Table, TableDesktop, TableDesktopCell, TableDesktopEditableField, TableDesktopFooter, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };
|
|
@@ -970,7 +970,7 @@ interface TableProps {
|
|
|
970
970
|
}
|
|
971
971
|
declare const Table: ({ appliedFilters, data, doNotCalculateRows, headCells, isLoading, onRowClick, page, RenderItem, rowsPerPage: defaultRowsPerPage, serverRendered, updateSort, }: TableProps) => react_jsx_runtime.JSX.Element;
|
|
972
972
|
|
|
973
|
-
type
|
|
973
|
+
type TableDesktopEditableFieldProps = {
|
|
974
974
|
editInitialValue?: any;
|
|
975
975
|
rowId?: number;
|
|
976
976
|
field: string;
|
|
@@ -987,7 +987,7 @@ type TableDesktopEditableComponentProps = {
|
|
|
987
987
|
validateInput?: HeadCell["validateInput"];
|
|
988
988
|
onUpdateEditableCell?: HeadCell["onUpdateEditableCell"];
|
|
989
989
|
};
|
|
990
|
-
declare const
|
|
990
|
+
declare const TableDesktopEditableField: React.NamedExoticComponent<TableDesktopEditableFieldProps>;
|
|
991
991
|
|
|
992
992
|
type TableDesktopCellProps = {
|
|
993
993
|
editableCellType?: EditableCellType;
|
|
@@ -1113,4 +1113,4 @@ declare const SvgIconCompare: (props: SVGProps<SVGSVGElement>) => react_jsx_runt
|
|
|
1113
1113
|
|
|
1114
1114
|
declare const SvgIconChart: (props: SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
|
|
1115
1115
|
|
|
1116
|
-
export { _default$n as ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, BackHeader, BottomBar, _default$m as BoxButton, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$e as DeleteSubstitutionDialogContent, _default$d as DeleteUserDialogContent, type EditableCellType, _default$l as ExtendedButton, FileCard, _default$k as FilledButton, _default$j as FilledButtonLg, _default$c as FilledLabel, FilterGroupSelector, FilterSimpleSelector, _default$b as FixedFooter, type HeadCell, Header, type HeaderFilterObject, type HeaderFilterOptions, type HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$i as ImageButton, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$a as NumpadInput, NumpadPlus, type Order, _default$h as OutlinedButton, _default$g as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$f as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$9 as SearchAndFilterHeaderForTable, SearchFieldDebounced, _default$8 as SearchWithFilters, _default$7 as SearchWithFiltersForTable, SectionName, SmartSelect, _default$3 as SmartTableHeader, _default$4 as SmartTableHeaderFilterMenu, SquareButton, _default$6 as SquareLabel, _default$5 as Switch, Table, TableDesktop, TableDesktopCell,
|
|
1116
|
+
export { _default$n as ActiveFiltersIconButton, AlertDialog, AlertDialogFullScreen, AppLabel, BackHeader, BottomBar, _default$m as BoxButton, CompanyLogo, ConfirmationDialog, ControlledCheckbox, ControlledNumberInput, ControlledNumericField, ControlledSelectWithArray, ControlledSelectWithObject, ControlledValidTextInput, DataGrid, Date, _default$e as DeleteSubstitutionDialogContent, _default$d as DeleteUserDialogContent, type EditableCellType, _default$l as ExtendedButton, FileCard, _default$k as FilledButton, _default$j as FilledButtonLg, _default$c as FilledLabel, FilterGroupSelector, FilterSimpleSelector, _default$b as FixedFooter, type HeadCell, Header, type HeaderFilterObject, type HeaderFilterOptions, type HeaderFilters, SvgIconChart as IconChart, SvgIconCompare as IconCompare, _default$i as ImageButton, VirtualizedList as List, Loading, LocationsSectionInfo, Notes, Numpad, _default$a as NumpadInput, NumpadPlus, type Order, _default$h as OutlinedButton, _default$g as OutlinedButtonLg, PaginationForTable as Pagination, PhoneInput, _default$f as Pin, ActionButton as PinnedApp, PlusMinusInput, ProductBust, ProductImage, RenderAvatar, RenderContentList, RoundButton, RowProductCard, ScrollableDialog, SearchAndFilterHeader, _default$9 as SearchAndFilterHeaderForTable, SearchFieldDebounced, _default$8 as SearchWithFilters, _default$7 as SearchWithFiltersForTable, SectionName, SmartSelect, _default$3 as SmartTableHeader, _default$4 as SmartTableHeaderFilterMenu, SquareButton, _default$6 as SquareLabel, _default$5 as Switch, Table, TableDesktop, TableDesktopCell, TableDesktopEditableField, TableDesktopFooter, TableEmptyResult, _default$2 as TableHeader, TableLoading, TextDivider, _default$1 as TheToolbar, ThemedDateRangePicker, ToastMessage, TwoButtonDialog, UploadButton, _default as UserBust, icons };
|
package/dist/components/index.js
CHANGED
|
@@ -7821,11 +7821,11 @@ var TableDesktop = ({
|
|
|
7821
7821
|
);
|
|
7822
7822
|
};
|
|
7823
7823
|
|
|
7824
|
-
// src/components/
|
|
7824
|
+
// src/components/TableDesktopEditableField/TableDesktopEditableField.tsx
|
|
7825
7825
|
import { memo as memo23 } from "react";
|
|
7826
7826
|
import { Checkbox as Checkbox6, FormControlLabel as FormControlLabel4 } from "@mui/material";
|
|
7827
7827
|
|
|
7828
|
-
// src/components/
|
|
7828
|
+
// src/components/TableDesktopEditableField/TableDesktopNumericField.tsx
|
|
7829
7829
|
import { useState as useState18, useRef as useRef5, useMemo as useMemo4 } from "react";
|
|
7830
7830
|
import { TextField as TextField8 } from "@mui/material";
|
|
7831
7831
|
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
@@ -7885,7 +7885,7 @@ var TableDesktopNumericField = ({
|
|
|
7885
7885
|
);
|
|
7886
7886
|
};
|
|
7887
7887
|
|
|
7888
|
-
// src/components/
|
|
7888
|
+
// src/components/TableDesktopEditableField/TableDesktopSmartSelect.tsx
|
|
7889
7889
|
import { useState as useState19, memo as memo22, useEffect as useEffect12 } from "react";
|
|
7890
7890
|
import { jsx as jsx121 } from "react/jsx-runtime";
|
|
7891
7891
|
var resolveOptionType2 = (option, fieldName) => {
|
|
@@ -7958,7 +7958,7 @@ var TableDesktopSmartSelect = memo22(({
|
|
|
7958
7958
|
);
|
|
7959
7959
|
});
|
|
7960
7960
|
|
|
7961
|
-
// src/components/
|
|
7961
|
+
// src/components/TableDesktopEditableField/TableDesktopTextField.tsx
|
|
7962
7962
|
import { useMemo as useMemo5, useState as useState20, useRef as useRef6 } from "react";
|
|
7963
7963
|
import { TextField as TextField9 } from "@mui/material";
|
|
7964
7964
|
import { jsx as jsx122 } from "react/jsx-runtime";
|
|
@@ -8012,9 +8012,9 @@ var TableDesktopTextField = ({
|
|
|
8012
8012
|
);
|
|
8013
8013
|
};
|
|
8014
8014
|
|
|
8015
|
-
// src/components/
|
|
8015
|
+
// src/components/TableDesktopEditableField/TableDesktopEditableField.tsx
|
|
8016
8016
|
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
8017
|
-
var
|
|
8017
|
+
var TableDesktopEditableFieldComponent = ({
|
|
8018
8018
|
editInitialValue,
|
|
8019
8019
|
rowId,
|
|
8020
8020
|
field,
|
|
@@ -8100,7 +8100,7 @@ var TableDesktopEditableComponentBase = ({
|
|
|
8100
8100
|
};
|
|
8101
8101
|
return editableComponents[editableCellType];
|
|
8102
8102
|
};
|
|
8103
|
-
var
|
|
8103
|
+
var TableDesktopEditableField = memo23(TableDesktopEditableFieldComponent);
|
|
8104
8104
|
|
|
8105
8105
|
// src/components/TableDesktopCell/TableDesktopCell.tsx
|
|
8106
8106
|
import { useEffect as useEffect13, useRef as useRef7, useState as useState21 } from "react";
|
|
@@ -8214,7 +8214,7 @@ var TableDesktopCell = ({
|
|
|
8214
8214
|
}
|
|
8215
8215
|
) }) : null,
|
|
8216
8216
|
enableEditMode && isCellInEditMode && editableCellType ? /* @__PURE__ */ jsx124(
|
|
8217
|
-
|
|
8217
|
+
TableDesktopEditableField,
|
|
8218
8218
|
{
|
|
8219
8219
|
editInitialValue,
|
|
8220
8220
|
rowId,
|
|
@@ -8786,7 +8786,7 @@ export {
|
|
|
8786
8786
|
Table_default as Table,
|
|
8787
8787
|
TableDesktop,
|
|
8788
8788
|
TableDesktopCell,
|
|
8789
|
-
|
|
8789
|
+
TableDesktopEditableField,
|
|
8790
8790
|
TableDesktopFooter,
|
|
8791
8791
|
TableEmptyResult_default as TableEmptyResult,
|
|
8792
8792
|
TableHeader_default as TableHeader,
|