@rulab/adminjs-components 0.0.7 → 0.0.9

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
@@ -1,19 +1,15 @@
1
- import { EditPropertyProps, ShowPropertyProps } from 'adminjs';
2
1
  import React, { FC } from 'react';
2
+ import { EditPropertyProps, ShowPropertyProps } from 'adminjs';
3
3
 
4
- type CustomSlugTypes = Omit<EditPropertyProps, "where" | "resource">;
5
- declare const CustomSlug: FC<CustomSlugTypes>;
4
+ type ColorStatusTypes = Omit<EditPropertyProps, "where" | "resource">;
5
+ declare const ColorStatus: FC<ColorStatusTypes>;
6
6
 
7
- type StringListTypes = Omit<EditPropertyProps, "where" | "resource">;
8
- interface StringListShowPropsType$1 extends StringListTypes {
9
- stringListSeparator?: string;
10
- }
11
- declare const StringList: FC<StringListShowPropsType$1>;
7
+ declare const ColorStatusShow: FC<ShowPropertyProps>;
12
8
 
13
- interface StringListShowPropsType extends ShowPropertyProps {
14
- stringListSeparator?: string;
15
- }
16
- declare const StringListShow: FC<StringListShowPropsType>;
9
+ declare const ColorStatusList: FC<ShowPropertyProps>;
10
+
11
+ type CustomSlugTypes = Omit<EditPropertyProps, "where" | "resource">;
12
+ declare const CustomSlug: FC<CustomSlugTypes>;
17
13
 
18
14
  declare function Editor({ property, record, onChangeAdmin, editorId }: {
19
15
  property: any;
@@ -22,9 +18,25 @@ declare function Editor({ property, record, onChangeAdmin, editorId }: {
22
18
  editorId: any;
23
19
  }): React.JSX.Element;
24
20
 
21
+ declare function EditorList({ property, record }: {
22
+ property: any;
23
+ record: any;
24
+ }): React.JSX.Element;
25
+
25
26
  declare function EditorShow({ property, record }: {
26
27
  property: any;
27
28
  record: any;
28
29
  }): React.JSX.Element;
29
30
 
30
- export { CustomSlug, Editor, EditorShow, StringList, StringListShow };
31
+ type StringListTypes = Omit<EditPropertyProps, "where" | "resource">;
32
+ interface StringListShowPropsType$1 extends StringListTypes {
33
+ stringListSeparator?: string;
34
+ }
35
+ declare const StringList: FC<StringListShowPropsType$1>;
36
+
37
+ interface StringListShowPropsType extends ShowPropertyProps {
38
+ stringListSeparator?: string;
39
+ }
40
+ declare const StringListShow: FC<StringListShowPropsType>;
41
+
42
+ export { ColorStatus as ColorStatusEdit, ColorStatusList, ColorStatusShow, CustomSlug, Editor, EditorList, EditorShow, StringList, StringListShow };
package/dist/index.d.ts CHANGED
@@ -1,19 +1,15 @@
1
- import { EditPropertyProps, ShowPropertyProps } from 'adminjs';
2
1
  import React, { FC } from 'react';
2
+ import { EditPropertyProps, ShowPropertyProps } from 'adminjs';
3
3
 
4
- type CustomSlugTypes = Omit<EditPropertyProps, "where" | "resource">;
5
- declare const CustomSlug: FC<CustomSlugTypes>;
4
+ type ColorStatusTypes = Omit<EditPropertyProps, "where" | "resource">;
5
+ declare const ColorStatus: FC<ColorStatusTypes>;
6
6
 
7
- type StringListTypes = Omit<EditPropertyProps, "where" | "resource">;
8
- interface StringListShowPropsType$1 extends StringListTypes {
9
- stringListSeparator?: string;
10
- }
11
- declare const StringList: FC<StringListShowPropsType$1>;
7
+ declare const ColorStatusShow: FC<ShowPropertyProps>;
12
8
 
13
- interface StringListShowPropsType extends ShowPropertyProps {
14
- stringListSeparator?: string;
15
- }
16
- declare const StringListShow: FC<StringListShowPropsType>;
9
+ declare const ColorStatusList: FC<ShowPropertyProps>;
10
+
11
+ type CustomSlugTypes = Omit<EditPropertyProps, "where" | "resource">;
12
+ declare const CustomSlug: FC<CustomSlugTypes>;
17
13
 
18
14
  declare function Editor({ property, record, onChangeAdmin, editorId }: {
19
15
  property: any;
@@ -22,9 +18,25 @@ declare function Editor({ property, record, onChangeAdmin, editorId }: {
22
18
  editorId: any;
23
19
  }): React.JSX.Element;
24
20
 
21
+ declare function EditorList({ property, record }: {
22
+ property: any;
23
+ record: any;
24
+ }): React.JSX.Element;
25
+
25
26
  declare function EditorShow({ property, record }: {
26
27
  property: any;
27
28
  record: any;
28
29
  }): React.JSX.Element;
29
30
 
30
- export { CustomSlug, Editor, EditorShow, StringList, StringListShow };
31
+ type StringListTypes = Omit<EditPropertyProps, "where" | "resource">;
32
+ interface StringListShowPropsType$1 extends StringListTypes {
33
+ stringListSeparator?: string;
34
+ }
35
+ declare const StringList: FC<StringListShowPropsType$1>;
36
+
37
+ interface StringListShowPropsType extends ShowPropertyProps {
38
+ stringListSeparator?: string;
39
+ }
40
+ declare const StringListShow: FC<StringListShowPropsType>;
41
+
42
+ export { ColorStatus as ColorStatusEdit, ColorStatusList, ColorStatusShow, CustomSlug, Editor, EditorList, EditorShow, StringList, StringListShow };