@materialui-reactjs/admin 1.0.4

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.
Files changed (131) hide show
  1. package/README.md +453 -0
  2. package/dist/assets/css/SpinnerLoader.css +1 -0
  3. package/dist/assets/css/form.css +1 -0
  4. package/dist/assets/css/index.css +1 -0
  5. package/dist/assets/css/meta.css +1 -0
  6. package/dist/chunks/Common-C_ZhT4L6.js +217 -0
  7. package/dist/chunks/Env-DRXhvUcb.js +16 -0
  8. package/dist/chunks/HeaderUpdate-lrSYWsKp.js +474 -0
  9. package/dist/chunks/SortableItem-B4-Zsso3.js +31 -0
  10. package/dist/chunks/SpinnerLoader-h8RDIarB.js +21 -0
  11. package/dist/chunks/UDragFile-CAiSfTsp.js +92 -0
  12. package/dist/chunks/Validator-DjZz2bJs.js +203 -0
  13. package/dist/chunks/echarts-CRmndsxC.js +322 -0
  14. package/dist/chunks/form-C8gzkYMW.js +45843 -0
  15. package/dist/chunks/loader-BUiOnhOH.js +1 -0
  16. package/dist/chunks/meta-k8MmuQjS.js +758 -0
  17. package/dist/chunks/sidebar-Dj4Xr9du.js +84 -0
  18. package/dist/chunks/single-DyPwG6ZR.js +1082 -0
  19. package/dist/chunks/top-navbar-FBw88y_o.js +78 -0
  20. package/dist/components/echarts/BarChart.d.ts +11 -0
  21. package/dist/components/echarts/LineChart.d.ts +10 -0
  22. package/dist/components/echarts/MultiBarChart.d.ts +14 -0
  23. package/dist/components/echarts/MultiLineChart.d.ts +14 -0
  24. package/dist/components/echarts/PieChart.d.ts +12 -0
  25. package/dist/components/echarts/index.d.ts +5 -0
  26. package/dist/components/echarts/index.js +2 -0
  27. package/dist/components/form/AdvancedMultiSelect.d.ts +16 -0
  28. package/dist/components/form/AsxhUImages.d.ts +15 -0
  29. package/dist/components/form/BoxAddRow.d.ts +26 -0
  30. package/dist/components/form/CheckTreeBox.d.ts +18 -0
  31. package/dist/components/form/CusForm.d.ts +105 -0
  32. package/dist/components/form/DateInput.d.ts +14 -0
  33. package/dist/components/form/DateTimeInput.d.ts +11 -0
  34. package/dist/components/form/Editor.d.ts +12 -0
  35. package/dist/components/form/EfFile.d.ts +15 -0
  36. package/dist/components/form/EfImage.d.ts +15 -0
  37. package/dist/components/form/EfImages.d.ts +14 -0
  38. package/dist/components/form/PImage.d.ts +15 -0
  39. package/dist/components/form/SelectAddRowBox.d.ts +17 -0
  40. package/dist/components/form/SelectAddRowBoxAdvanced.d.ts +16 -0
  41. package/dist/components/form/SelectBox.d.ts +32 -0
  42. package/dist/components/form/UDragFile.d.ts +13 -0
  43. package/dist/components/form/UFile.d.ts +15 -0
  44. package/dist/components/form/UFiles.d.ts +15 -0
  45. package/dist/components/form/UImages.d.ts +15 -0
  46. package/dist/components/form/index.d.ts +19 -0
  47. package/dist/components/form/index.js +3 -0
  48. package/dist/components/loader/SpinnerLoader.d.ts +8 -0
  49. package/dist/components/loader/index.d.ts +1 -0
  50. package/dist/components/loader/index.js +3 -0
  51. package/dist/components/meta/BtnGroup.d.ts +8 -0
  52. package/dist/components/meta/CardTable.d.ts +37 -0
  53. package/dist/components/meta/CusTooltip.d.ts +7 -0
  54. package/dist/components/meta/ElfinderModal.d.ts +10 -0
  55. package/dist/components/meta/Error403.d.ts +8 -0
  56. package/dist/components/meta/Error404.d.ts +8 -0
  57. package/dist/components/meta/Head.d.ts +1 -0
  58. package/dist/components/meta/HeaderDetail.d.ts +9 -0
  59. package/dist/components/meta/HeaderIndex.d.ts +17 -0
  60. package/dist/components/meta/HeaderUpdate.d.ts +9 -0
  61. package/dist/components/meta/ModalForm.d.ts +18 -0
  62. package/dist/components/meta/Navtabs.d.ts +12 -0
  63. package/dist/components/meta/PDFEmbed.d.ts +11 -0
  64. package/dist/components/meta/Pagination.d.ts +7 -0
  65. package/dist/components/meta/Pdfviewer.d.ts +0 -0
  66. package/dist/components/meta/ScrollTable.d.ts +16 -0
  67. package/dist/components/meta/SearchBox.d.ts +9 -0
  68. package/dist/components/meta/SortableItem.d.ts +1 -0
  69. package/dist/components/meta/index.d.ts +17 -0
  70. package/dist/components/meta/index.js +4 -0
  71. package/dist/components/sidebar/Sidebar.d.ts +3 -0
  72. package/dist/components/sidebar/Sidebar.types.d.ts +25 -0
  73. package/dist/components/sidebar/Sidebar.utils.d.ts +2 -0
  74. package/dist/components/sidebar/SidebarItem.d.ts +10 -0
  75. package/dist/components/sidebar/index.d.ts +2 -0
  76. package/dist/components/sidebar/index.js +2 -0
  77. package/dist/components/single/Detail.d.ts +25 -0
  78. package/dist/components/single/Fields.d.ts +31 -0
  79. package/dist/components/single/Import.d.ts +24 -0
  80. package/dist/components/single/List.d.ts +44 -0
  81. package/dist/components/single/Update.d.ts +33 -0
  82. package/dist/components/single/UpdateDetail.d.ts +7 -0
  83. package/dist/components/single/UpdateTableDetail.d.ts +18 -0
  84. package/dist/components/single/index.d.ts +7 -0
  85. package/dist/components/single/index.js +2 -0
  86. package/dist/components/top-navbar/TopNavbar.d.ts +6 -0
  87. package/dist/components/top-navbar/index.d.ts +1 -0
  88. package/dist/components/top-navbar/index.js +2 -0
  89. package/dist/fontawesome/css/all.css +8 -0
  90. package/dist/fontawesome/css/all.min.css +1 -0
  91. package/dist/fontawesome/webfonts/fa-brands-400.ttf +0 -0
  92. package/dist/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
  93. package/dist/fontawesome/webfonts/fa-duotone-900.ttf +0 -0
  94. package/dist/fontawesome/webfonts/fa-duotone-900.woff2 +0 -0
  95. package/dist/fontawesome/webfonts/fa-light-300.ttf +0 -0
  96. package/dist/fontawesome/webfonts/fa-light-300.woff2 +0 -0
  97. package/dist/fontawesome/webfonts/fa-regular-400.ttf +0 -0
  98. package/dist/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
  99. package/dist/fontawesome/webfonts/fa-sharp-light-300.ttf +0 -0
  100. package/dist/fontawesome/webfonts/fa-sharp-light-300.woff2 +0 -0
  101. package/dist/fontawesome/webfonts/fa-sharp-regular-400.ttf +0 -0
  102. package/dist/fontawesome/webfonts/fa-sharp-regular-400.woff2 +0 -0
  103. package/dist/fontawesome/webfonts/fa-sharp-solid-900.ttf +0 -0
  104. package/dist/fontawesome/webfonts/fa-sharp-solid-900.woff2 +0 -0
  105. package/dist/fontawesome/webfonts/fa-solid-900.ttf +0 -0
  106. package/dist/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
  107. package/dist/fontawesome/webfonts/fa-thin-100.ttf +0 -0
  108. package/dist/fontawesome/webfonts/fa-thin-100.woff2 +0 -0
  109. package/dist/fontawesome/webfonts/fa-v4compatibility.ttf +0 -0
  110. package/dist/fontawesome/webfonts/fa-v4compatibility.woff2 +0 -0
  111. package/dist/hook/detail.d.ts +14 -0
  112. package/dist/hook/detail.js +12 -0
  113. package/dist/hook/fields.d.ts +14 -0
  114. package/dist/hook/fields.js +12 -0
  115. package/dist/hook/import.d.ts +15 -0
  116. package/dist/hook/import.js +0 -0
  117. package/dist/hook/index.d.ts +61 -0
  118. package/dist/hook/index.js +41 -0
  119. package/dist/hook/update.d.ts +24 -0
  120. package/dist/hook/update.js +29 -0
  121. package/dist/index.d.ts +7 -0
  122. package/dist/index.js +11 -0
  123. package/dist/utils/Common.d.ts +136 -0
  124. package/dist/utils/CusRoute.d.ts +7 -0
  125. package/dist/utils/Env.d.ts +2 -0
  126. package/dist/utils/Group.d.ts +1 -0
  127. package/dist/utils/Validator.d.ts +53 -0
  128. package/dist/utils/index.d.ts +5 -0
  129. package/dist/utils/index.js +671 -0
  130. package/package.json +171 -0
  131. package/scripts/postinstall.cjs +80 -0
@@ -0,0 +1,7 @@
1
+ import { TooltipProps } from '@mui/material';
2
+ interface TooltipCusProps extends Omit<TooltipProps, "children"> {
3
+ children: React.ReactElement;
4
+ y?: number;
5
+ }
6
+ export declare function CusTooltip({ title, children, placement, y }: TooltipCusProps): import("react").JSX.Element;
7
+ export {};
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ interface ElfinderModalProps {
3
+ id: string;
4
+ show?: boolean;
5
+ title?: string;
6
+ clsWidth?: string;
7
+ elId?: string;
8
+ }
9
+ export declare const ElfinderModal: React.FC<ElfinderModalProps>;
10
+ export {};
@@ -0,0 +1,8 @@
1
+ interface Error403Props {
2
+ title: string;
3
+ cUri: string;
4
+ fluid?: boolean;
5
+ cUriTitle?: string;
6
+ }
7
+ export declare const Error403: React.FC<Error403Props>;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ interface Error404Props {
2
+ title: string;
3
+ cUri: string;
4
+ fluid?: boolean;
5
+ cUriTitle?: string;
6
+ }
7
+ export declare const Error404: React.FC<Error404Props>;
8
+ export {};
@@ -0,0 +1 @@
1
+ export declare const Head: ({ config }: Record<string, any>) => import("react").JSX.Element;
@@ -0,0 +1,9 @@
1
+ export interface HDProps {
2
+ cUri: string;
3
+ adminUri: string;
4
+ title: string;
5
+ item?: any;
6
+ isSave?: boolean;
7
+ titleAction?: string;
8
+ }
9
+ export declare const HeaderDetail: React.FC<HDProps>;
@@ -0,0 +1,17 @@
1
+ export interface HIProps {
2
+ adminUri: string;
3
+ cUri: string;
4
+ title: string;
5
+ isCre?: boolean;
6
+ isImp?: boolean;
7
+ isExp?: boolean;
8
+ isCpy?: boolean;
9
+ isDel?: boolean;
10
+ isField?: boolean;
11
+ isReply?: boolean;
12
+ replyUri?: string;
13
+ onDelete?: () => void;
14
+ onExport?: () => void;
15
+ onCopy?: () => void;
16
+ }
17
+ export declare const HeaderIndex: React.FC<HIProps>;
@@ -0,0 +1,9 @@
1
+ export interface HUProps {
2
+ adminUri: string;
3
+ cUri: string;
4
+ title: string;
5
+ itemId: number;
6
+ isSave?: boolean;
7
+ titleAction?: string;
8
+ }
9
+ export declare const HeaderUpdate: React.FC<HUProps>;
@@ -0,0 +1,18 @@
1
+ import { Modal } from 'bootstrap';
2
+ interface ModalProps {
3
+ modalRef: any;
4
+ apiGetDetail?: string;
5
+ itemId?: number;
6
+ setItemId?: any;
7
+ title: string;
8
+ frmBody: any;
9
+ clsWidth?: string;
10
+ btnTxt?: string;
11
+ onHide?: any;
12
+ style?: any;
13
+ clsBody?: string;
14
+ data?: any;
15
+ onSubmit: (data: any, modal: Modal, setFormData?: React.Dispatch<any>) => void;
16
+ }
17
+ export declare const ModalForm: React.FC<ModalProps>;
18
+ export {};
@@ -0,0 +1,12 @@
1
+ export type TabKey = string;
2
+ interface Tab {
3
+ key: TabKey;
4
+ label: string;
5
+ icon?: string;
6
+ }
7
+ interface Props {
8
+ tabs: Tab[];
9
+ onChange?: (key: TabKey) => void;
10
+ }
11
+ export declare function NavTabs({ tabs, onChange }: Props): import("react").JSX.Element;
12
+ export {};
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ type PDFEmbedProps = {
3
+ src: string;
4
+ title?: string;
5
+ fullWidth?: boolean;
6
+ fullHeight?: boolean;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ };
10
+ export declare function PDFEmbed({ src, title, fullWidth, fullHeight, className, style, }: PDFEmbedProps): React.JSX.Element;
11
+ export {};
@@ -0,0 +1,7 @@
1
+ import { StateTable } from '../../hook/index';
2
+ export interface PaginationProps {
3
+ data: StateTable;
4
+ onChange?: (e: React.ChangeEvent<HTMLInputElement | HTMLSelectElement>) => void;
5
+ onClickPage?: (e: React.MouseEvent<HTMLAnchorElement>) => void;
6
+ }
7
+ export declare const Pagination: React.FC<PaginationProps>;
File without changes
@@ -0,0 +1,16 @@
1
+ import { default as React } from 'react';
2
+ interface HeaderItem {
3
+ label?: any;
4
+ width?: number;
5
+ thClassName?: string;
6
+ tdClassName?: string;
7
+ }
8
+ interface ScrollTableProps extends React.HTMLAttributes<HTMLTableElement> {
9
+ header: HeaderItem[];
10
+ data: Record<string, any>[];
11
+ numOfFirst?: number;
12
+ numOfLast?: number;
13
+ columnWidth?: number;
14
+ }
15
+ export declare const ScrollTable: React.FC<ScrollTableProps>;
16
+ export {};
@@ -0,0 +1,9 @@
1
+ export interface SearchBoxProps {
2
+ ftfield: any[];
3
+ service: any;
4
+ options: any;
5
+ filter: any;
6
+ handleChange: (e: React.ChangeEvent<HTMLInputElement | HTMLSelectElement>) => void;
7
+ handleSearchForm: (e: React.MouseEvent<HTMLFormElement>) => void;
8
+ }
9
+ export declare const SearchBox: React.FC<SearchBoxProps>;
@@ -0,0 +1 @@
1
+ export declare function SortableItem({ id, className, iconSize, iconStyle, children }: any): import("react").JSX.Element;
@@ -0,0 +1,17 @@
1
+ export * from './BtnGroup';
2
+ export * from './CardTable';
3
+ export * from './CusTooltip';
4
+ export * from './ElfinderModal';
5
+ export * from './Error403';
6
+ export * from './Error404';
7
+ export * from './Head';
8
+ export * from './HeaderDetail';
9
+ export * from './HeaderIndex';
10
+ export * from './HeaderUpdate';
11
+ export * from './ModalForm';
12
+ export * from './Navtabs';
13
+ export * from './Pagination';
14
+ export * from './PDFEmbed';
15
+ export * from './ScrollTable';
16
+ export * from './SearchBox';
17
+ export * from './SortableItem';
@@ -0,0 +1,4 @@
1
+ import { t as e } from "../../chunks/SortableItem-B4-Zsso3.js";
2
+ import { a as t, c as n, i as r, l as i, n as a, o, r as s, s as c, t as l } from "../../chunks/meta-k8MmuQjS.js";
3
+ import { a as u, d, i as f, n as p, r as m, t as h, u as g } from "../../chunks/HeaderUpdate-lrSYWsKp.js";
4
+ export { i as BtnGroup, t as CardTable, d as CusTooltip, r as ElfinderModal, u as Error403, f as Error404, s as Head, m as HeaderDetail, p as HeaderIndex, h as HeaderUpdate, n as ModalForm, a as NavTabs, l as PDFEmbed, g as Pagination, c as ScrollTable, o as SearchBox, e as SortableItem };
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ import { SidebarProps } from './Sidebar.types';
3
+ export declare const Sidebar: React.FC<SidebarProps>;
@@ -0,0 +1,25 @@
1
+ export interface MenuItem {
2
+ id: number;
3
+ name: string;
4
+ url: string;
5
+ module: string;
6
+ controller: string;
7
+ action: string;
8
+ code: number;
9
+ parentId: number;
10
+ sortOrder: number;
11
+ menuIcon: string;
12
+ status: number;
13
+ vf: number;
14
+ isPer: boolean;
15
+ subs?: MenuItem[];
16
+ }
17
+ export interface SidebarProps {
18
+ logo: string;
19
+ menus: MenuItem[];
20
+ /** pathname hiện tại */
21
+ currentPath?: string;
22
+ /** click menu */
23
+ onMenuClick?: (menu: MenuItem) => void;
24
+ className?: string;
25
+ }
@@ -0,0 +1,2 @@
1
+ import { MenuItem } from './Sidebar.types';
2
+ export declare function hasActive(item: MenuItem, currentPath?: string): boolean;
@@ -0,0 +1,10 @@
1
+ import { default as React } from 'react';
2
+ import { MenuItem } from './Sidebar.types';
3
+ interface Props {
4
+ item: MenuItem;
5
+ currentPath?: string;
6
+ level?: number;
7
+ onClick?: (item: MenuItem) => void;
8
+ }
9
+ export declare const SidebarItem: React.FC<Props>;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './Sidebar';
2
+ export * from './Sidebar.types';
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../chunks/sidebar-Dj4Xr9du.js";
2
+ export { e as Sidebar };
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ import { PropsType, StateType } from '../../hook/detail';
3
+ export declare class SingleDetail extends React.Component<PropsType, StateType> {
4
+ effectRan: boolean;
5
+ module: string;
6
+ controller: string;
7
+ state: StateType;
8
+ title: string;
9
+ cUri: string;
10
+ cLink: string;
11
+ API_URL: any;
12
+ ADMIN_URI: any;
13
+ getDataUrl: string;
14
+ ctype: string;
15
+ fluid: boolean;
16
+ isBackUri: boolean;
17
+ renderForm: () => React.JSX.Element;
18
+ syncPermissionsAndState: () => Promise<void>;
19
+ initDidMount(): Promise<void>;
20
+ componentDidMount(): void;
21
+ componentDidMountAfter: () => Promise<void>;
22
+ renderHeaderDetail(): React.JSX.Element;
23
+ handleChange: (e: React.ChangeEvent<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>) => Promise<void>;
24
+ render(): React.JSX.Element;
25
+ }
@@ -0,0 +1,31 @@
1
+ import { default as React } from 'react';
2
+ import { PropsType, StateType } from '../../hook/fields';
3
+ export declare class SingleFields extends React.Component<PropsType, StateType> {
4
+ effectRan: boolean;
5
+ module: string;
6
+ controller: string;
7
+ table: string;
8
+ state: StateType;
9
+ title: string;
10
+ cUri: string;
11
+ cLink: string;
12
+ API_URL: any;
13
+ ADMIN_URI: any;
14
+ getDataUrl: string;
15
+ editUrl: string;
16
+ createUrl: string;
17
+ ctype: string;
18
+ fluid: boolean;
19
+ isBackUri: boolean;
20
+ renderForm: () => React.JSX.Element;
21
+ renderAfterForm: () => React.JSX.Element;
22
+ handleChange: (e: React.ChangeEvent<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>) => Promise<void>;
23
+ syncPermissionsAndState: () => Promise<void>;
24
+ initDidMount(): Promise<void>;
25
+ componentDidMount(): void;
26
+ componentDidMountAfter: () => Promise<void>;
27
+ handleSubmit: (e: React.SubmitEvent<HTMLFormElement>) => Promise<void>;
28
+ afterSubmit: (_item: any) => Promise<void>;
29
+ renderHeaderUpdate(): React.JSX.Element;
30
+ render(): React.JSX.Element;
31
+ }
@@ -0,0 +1,24 @@
1
+ import { default as React } from 'react';
2
+ import { StateType, PropsType } from '../../hook/import';
3
+ export declare class SingleImport extends React.Component<PropsType, StateType> {
4
+ module: string;
5
+ controller: string;
6
+ state: StateType;
7
+ title: string;
8
+ cUri: string;
9
+ cLink: string;
10
+ API_URL: any;
11
+ ADMIN_URI: any;
12
+ importUrl: string;
13
+ importFile: string;
14
+ ctype: string;
15
+ fluid: boolean;
16
+ handleChange: (e: React.ChangeEvent<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>) => Promise<void>;
17
+ syncPermissionsAndState: () => void;
18
+ initDidMount(): Promise<void>;
19
+ componentDidMount(): void;
20
+ componentDidMountAfter: () => Promise<void>;
21
+ handleSubmit: (e: React.SubmitEvent<HTMLFormElement>) => Promise<void>;
22
+ renderForm: () => React.JSX.Element;
23
+ render(): React.JSX.Element;
24
+ }
@@ -0,0 +1,44 @@
1
+ import { default as React } from 'react';
2
+ import { StateType, PropsType } from '../../hook/index';
3
+ export declare class SingleIndex extends React.Component<PropsType, StateType> {
4
+ effectRan: boolean;
5
+ fluid: boolean;
6
+ module: string;
7
+ controller: string;
8
+ table: string;
9
+ hasField: boolean;
10
+ state: StateType;
11
+ activeMethod: string[];
12
+ cUri: string;
13
+ cLink: string;
14
+ API_URL: any;
15
+ ADMIN_URI: any;
16
+ getDataUrl: string;
17
+ deleteUrl: string;
18
+ copyUrl: string;
19
+ exportUrl: string;
20
+ title: string;
21
+ handleChange: (e: React.ChangeEvent<HTMLInputElement | HTMLSelectElement>) => Promise<void>;
22
+ handleSearchForm: (e: React.SubmitEvent<HTMLFormElement>) => Promise<void>;
23
+ handleClickPage: (e: React.MouseEvent<HTMLAnchorElement>) => Promise<void>;
24
+ handleDeleteOne: (itemId: number) => Promise<void>;
25
+ handleDelete: () => Promise<void>;
26
+ handleCopy: () => Promise<void>;
27
+ handleExport: () => Promise<void>;
28
+ handleSelectOne: (id: number, checked: boolean) => void;
29
+ handleSelectAll: (checked: boolean, skipIds?: number[]) => void;
30
+ setFilter(filter: any): Promise<void>;
31
+ fetchData: () => Promise<void>;
32
+ syncGetField: () => Promise<{
33
+ userfield: Record<string, any>;
34
+ tablefield: Record<string, any>;
35
+ }>;
36
+ syncPermissionsAndState: () => Promise<void>;
37
+ initDidMount(): Promise<void>;
38
+ componentDidMount(): void;
39
+ componentDidMountAfter: () => Promise<void>;
40
+ renderHeaderIndex(): React.JSX.Element;
41
+ renderTable: () => React.JSX.Element;
42
+ renderSearch: () => React.JSX.Element;
43
+ render(): React.JSX.Element;
44
+ }
@@ -0,0 +1,33 @@
1
+ import { default as React } from 'react';
2
+ import { PropsType, StateType } from '../../hook/update';
3
+ export declare class SingleUpdate extends React.Component<PropsType, StateType> {
4
+ effectRan: boolean;
5
+ module: string;
6
+ controller: string;
7
+ state: StateType;
8
+ title: string;
9
+ cUri: string;
10
+ cLink: string;
11
+ API_URL: any;
12
+ ADMIN_URI: any;
13
+ getDataUrl: string;
14
+ editUrl: string;
15
+ createUrl: string;
16
+ ctype: string;
17
+ formRef: React.RefObject<HTMLFormElement | null>;
18
+ fluid: boolean;
19
+ isBackUri: boolean;
20
+ constructor(props: PropsType);
21
+ renderForm: () => React.JSX.Element;
22
+ renderAfterForm: () => React.JSX.Element;
23
+ handleChange: (e: React.ChangeEvent<HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement>) => Promise<void>;
24
+ syncPermissionsAndState: () => Promise<void>;
25
+ initDidMount(): Promise<void>;
26
+ componentDidMount: () => void;
27
+ componentDidMountAfter: () => Promise<void>;
28
+ beforeSubmit: () => Promise<unknown>;
29
+ handleSubmit: (e: React.SubmitEvent<HTMLFormElement>) => Promise<void>;
30
+ afterSubmit: (_item: any) => Promise<void>;
31
+ renderHeaderUpdate(): React.JSX.Element;
32
+ render(): React.JSX.Element;
33
+ }
@@ -0,0 +1,7 @@
1
+ import { SingleUpdate } from './Update';
2
+ export declare class SingleUpdateDetail extends SingleUpdate {
3
+ urlUpdateDetail: string;
4
+ render(): any;
5
+ handleDetailSubmit: (formData: any[], frmRef: Element) => Promise<void>;
6
+ editDetailAfter: (_itemId: number) => Promise<void>;
7
+ }
@@ -0,0 +1,18 @@
1
+ import { SingleUpdate } from './Update';
2
+ import { PropsType } from '../../hook/update';
3
+ export declare class SingleUpdateTableDetail extends SingleUpdate {
4
+ urlGetDeTableList: string;
5
+ urlGetDeTable: string;
6
+ urlCreDeTable: string;
7
+ urlEditDeTable: string;
8
+ urlDelDeTable: string;
9
+ modalRef: React.RefObject<HTMLDivElement | null>;
10
+ isBackUri: boolean;
11
+ constructor(props: PropsType);
12
+ fetchDataDetails(): Promise<{}>;
13
+ render(): any;
14
+ renderDeTable(): import("react").JSX.Element;
15
+ renderModalDeBody: (_formData: any, _handleFMChange?: any) => import("react").JSX.Element;
16
+ handleDetailSubmit: (e: React.SubmitEvent<HTMLFormElement>) => Promise<void>;
17
+ editDetailAfter: (_itemId: number) => Promise<void>;
18
+ }
@@ -0,0 +1,7 @@
1
+ export * from './Detail';
2
+ export * from './Fields';
3
+ export * from './Import';
4
+ export * from './List';
5
+ export * from './Update';
6
+ export * from './UpdateDetail';
7
+ export * from './UpdateTableDetail';
@@ -0,0 +1,2 @@
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../../chunks/single-DyPwG6ZR.js";
2
+ export { a as SingleDetail, r as SingleFields, e as SingleImport, t as SingleIndex, i as SingleUpdate, n as SingleUpdateDetail, o as SingleUpdateTableDetail };
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ export interface TopNavbarProps {
3
+ userName: string;
4
+ role?: string;
5
+ }
6
+ export declare const TopNavbar: React.FC<TopNavbarProps>;
@@ -0,0 +1 @@
1
+ export * from './TopNavbar';
@@ -0,0 +1,2 @@
1
+ import { t as e } from "../../chunks/top-navbar-FBw88y_o.js";
2
+ export { e as TopNavbar };