namirasoft-account-react 1.4.307 → 1.4.309

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.
@@ -18,7 +18,6 @@ export interface NSASectionEditCustomProps<RowType extends {
18
18
  tab_page_view?: NSASectionViewTabPageUIProps;
19
19
  };
20
20
  onRowLoaded?: (item: RowType) => void;
21
- children: ReactNode;
22
21
  }
23
22
  export interface NSASectionEditProps<RowType extends {
24
23
  id: string;
@@ -34,6 +33,7 @@ export interface NSASectionEditProps<RowType extends {
34
33
  categories: CategoryRow[] | null;
35
34
  };
36
35
  deleteFieldCache: () => void;
36
+ children: ReactNode;
37
37
  }
38
38
  interface NSASectionEditState<RowType> {
39
39
  row: RowType | null;
@@ -35,7 +35,6 @@ export interface NSASectionListCustomProps<RowType extends {
35
35
  tab_page_view?: NSASectionViewTabPageUIProps;
36
36
  };
37
37
  onIDsChanged?: () => void;
38
- children?: ReactNode;
39
38
  }
40
39
  export interface NSASectionListProps<RowType extends {
41
40
  id: string;
@@ -47,6 +46,7 @@ export interface NSASectionListProps<RowType extends {
47
46
  categories: CategoryRow[] | null;
48
47
  };
49
48
  deleteFieldCache: () => void;
49
+ children?: ReactNode;
50
50
  }
51
51
  export interface NSASectionListState<RowType> {
52
52
  res: {
@@ -5,7 +5,7 @@ import { IBaseComponentProps } from "namirasoft-site-react";
5
5
  import { NSARouterMakerProps } from "../NSARouterMakerProps";
6
6
  import { CategoryRow, FieldRow } from "namirasoft-field";
7
7
  export interface NSASectionViewCutomProps<RowType> extends IBaseComponentProps {
8
- ui: {
8
+ ui?: {
9
9
  view_tab_page?: NSASectionViewTabPageUIProps;
10
10
  getChildrenBefore?: (id: string, row: RowType) => ReactNode;
11
11
  getChildrenAfter?: (id: string, row: RowType) => ReactNode;
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "framework": "npm",
9
9
  "application": "package",
10
10
  "private": false,
11
- "version": "1.4.307",
11
+ "version": "1.4.309",
12
12
  "author": "Amir Abolhasani",
13
13
  "license": "MIT",
14
14
  "main": "./dist/main.js",
@@ -20,7 +20,6 @@ export interface NSASectionEditCustomProps<RowType extends { id: string }, RowTy
20
20
  tab_page_view?: NSASectionViewTabPageUIProps;
21
21
  }
22
22
  onRowLoaded?: (item: RowType) => void;
23
- children: ReactNode;
24
23
  }
25
24
 
26
25
  export interface NSASectionEditProps<RowType extends { id: string }, RowTypeInput = RowType> extends NSASectionEditCustomProps<RowType, RowTypeInput>, NSARouterMakerProps
@@ -36,6 +35,7 @@ export interface NSASectionEditProps<RowType extends { id: string }, RowTypeInpu
36
35
  categories: CategoryRow[] | null;
37
36
  };
38
37
  deleteFieldCache: () => void;
38
+ children: ReactNode;
39
39
  }
40
40
 
41
41
  interface NSASectionEditState<RowType>
@@ -28,7 +28,6 @@ export interface NSASectionListCustomProps<RowType extends { id: string }, RowTy
28
28
  tab_page_view?: NSASectionViewTabPageUIProps;
29
29
  };
30
30
  onIDsChanged?: () => void;
31
- children?: ReactNode;
32
31
  }
33
32
 
34
33
  export interface NSASectionListProps<RowType extends { id: string }, RowTypeInput = RowType> extends IBaseComponentProps, NSARouterMakerProps, NSASectionListCustomProps<RowType, RowTypeInput>
@@ -44,6 +43,7 @@ export interface NSASectionListProps<RowType extends { id: string }, RowTypeInpu
44
43
  categories: CategoryRow[] | null;
45
44
  };
46
45
  deleteFieldCache: () => void;
46
+ children?: ReactNode;
47
47
  }
48
48
 
49
49
  export interface NSASectionListState<RowType>
@@ -7,7 +7,7 @@ import { CategoryRow, FieldRow } from "namirasoft-field";
7
7
 
8
8
  export interface NSASectionViewCutomProps<RowType> extends IBaseComponentProps
9
9
  {
10
- ui: {
10
+ ui?: {
11
11
  view_tab_page?: NSASectionViewTabPageUIProps;
12
12
  getChildrenBefore?: (id: string, row: RowType) => ReactNode;
13
13
  getChildrenAfter?: (id: string, row: RowType) => ReactNode;