@apexcura/ui-components 0.0.14-Beta175 → 0.0.14-Beta177

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/.env.defaults CHANGED
@@ -1,2 +1,2 @@
1
- GOOGLE_CLIENT_ID=1234
2
- GOOGLE_AUTH_ORIGINS=1234
1
+ GOOGLE_CLIENT_ID=1234
2
+ GOOGLE_AUTH_ORIGINS=1234
package/dist/index.d.mts CHANGED
@@ -1,141 +1,13 @@
1
- import React$1 from 'react';
2
- import { SizeType } from 'antd/es/config-provider/SizeContext';
3
- import { UploadFile } from 'antd/lib/upload/interface';
1
+ import React from 'react';
4
2
 
5
- type ElementType = {
6
- [x: string]: any;
7
- selectedStyle?: boolean;
8
- style?: boolean;
9
- className?: string | undefined;
10
- placeholder?: string;
11
- addonBefore?: React.ReactNode;
12
- defaultValue?: string;
13
- disabled?: boolean;
14
- prefix?: React.ReactNode;
15
- type?: string;
16
- size?: SizeType;
17
- value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
18
- status?: "error" | "warning";
19
- styles?: React.CSSProperties;
20
- variant?: "outlined" | "borderless" | "filled";
21
- label?: string;
22
- name?: string;
23
- suffix?: React.ReactNode;
24
- maxLength?: number;
25
- fieldNames?: any[];
26
- fields?: any[];
27
- schema?: any[];
28
- options?: any[];
29
- firstOptions?: any[];
30
- secondOptions?: any[];
31
- view?: boolean;
32
- onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
33
- onClick?: () => void;
34
- dropDownOptions?: any[];
35
- id?: number;
36
- thead?: any[];
37
- tbody?: any[];
38
- variable_data?: any[];
39
- optionType?: string;
40
- selectedClassName?: string;
41
- action?: React.MouseEventHandler<HTMLElement> | string;
42
- listClassName?: string;
43
- listItemClassName?: string;
44
- img?: string;
45
- items?: any[];
46
- primaryText?: string;
47
- secondaryText?: string;
48
- count?: number;
49
- icon?: string;
50
- placement?: string;
51
- profileImage?: string;
52
- buttonClassName?: string;
53
- profileImageClassName?: string;
54
- profileSubClassName?: string;
55
- subContainerClassName?: string;
56
- element?: string;
57
- secondTextClassName?: string;
58
- iconsClassName?: string;
59
- labelClassName?: string;
60
- containerClassName?: string;
61
- selectBefore?: any[];
62
- selectAfter?: any[];
63
- isSVGStylesOverride?: boolean;
64
- rowSelection?: string;
65
- length?: number;
66
- imgClassName?: string;
67
- loading?: boolean;
68
- fillText1?: string;
69
- fillText2?: string;
70
- labels?: any[];
71
- data?: any[];
72
- pagination?: boolean;
73
- is_detail?: boolean;
74
- };
75
-
76
- declare const TextElement: (props: ElementType) => React$1.JSX.Element;
77
-
78
- declare const PasswordElement: (props: ElementType) => React$1.JSX.Element;
79
-
80
- declare const NumberElement: (props: ElementType) => React$1.JSX.Element;
81
-
82
- declare const TextareaElement: (props: ElementType) => React$1.JSX.Element;
83
-
84
- declare const SelectElement: (props: ElementType) => React$1.JSX.Element;
85
-
86
- declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
87
-
88
- declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
89
-
90
- interface ElementExecuterProps extends ElementType {
91
- onChange: (value: string | number | object | boolean | any[] | undefined) => void;
3
+ interface LoginFormData {
4
+ label: string;
5
+ placeholder: string;
6
+ required: boolean;
7
+ type: 'text' | 'password' | 'password';
92
8
  }
93
- declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
94
-
95
- declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
96
-
97
- declare const MultipleSelectElement: (props: ElementType) => React$1.JSX.Element;
98
-
99
- declare const ButtonElement: (props: ElementType) => React$1.JSX.Element;
100
-
101
- declare const AddMoreTable: (props: ElementType) => React$1.JSX.Element;
102
-
103
- declare const Sidebar: (props: ElementType) => React$1.JSX.Element;
104
-
105
- declare const Navbar: (props: ElementType) => React$1.JSX.Element;
106
-
107
- declare const TableElement: (props: ElementType) => React$1.JSX.Element;
108
-
109
- declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
110
-
111
- declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
112
-
113
- declare const Image: (props: ElementType) => React$1.JSX.Element;
114
-
115
- declare const SingleCheckbox: (props: ElementType) => React$1.JSX.Element;
116
-
117
- declare const DropDownGroup: (props: ElementType) => React$1.JSX.Element;
118
-
119
- declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
120
-
121
- declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
122
-
123
- declare const SwitchElement: () => React$1.JSX.Element;
124
-
125
- declare const Upload: (props: ElementType) => React$1.JSX.Element;
126
-
127
- declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
128
-
129
- declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
130
-
131
- declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
132
-
133
- declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
134
-
135
- declare const LineChart: (props: ElementType) => React$1.JSX.Element;
136
-
137
- declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
138
-
139
- declare const BarChart: (props: ElementType) => React$1.JSX.Element;
9
+ declare const Login: React.FC<{
10
+ data: LoginFormData[];
11
+ }>;
140
12
 
141
- export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, DatePickerElement, DateRangePickerElement, DoubleBarChart, DropDownGroup, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
13
+ export { Login, type LoginFormData };
package/dist/index.d.ts CHANGED
@@ -1,141 +1,13 @@
1
- import React$1 from 'react';
2
- import { SizeType } from 'antd/es/config-provider/SizeContext';
3
- import { UploadFile } from 'antd/lib/upload/interface';
1
+ import React from 'react';
4
2
 
5
- type ElementType = {
6
- [x: string]: any;
7
- selectedStyle?: boolean;
8
- style?: boolean;
9
- className?: string | undefined;
10
- placeholder?: string;
11
- addonBefore?: React.ReactNode;
12
- defaultValue?: string;
13
- disabled?: boolean;
14
- prefix?: React.ReactNode;
15
- type?: string;
16
- size?: SizeType;
17
- value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
18
- status?: "error" | "warning";
19
- styles?: React.CSSProperties;
20
- variant?: "outlined" | "borderless" | "filled";
21
- label?: string;
22
- name?: string;
23
- suffix?: React.ReactNode;
24
- maxLength?: number;
25
- fieldNames?: any[];
26
- fields?: any[];
27
- schema?: any[];
28
- options?: any[];
29
- firstOptions?: any[];
30
- secondOptions?: any[];
31
- view?: boolean;
32
- onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
33
- onClick?: () => void;
34
- dropDownOptions?: any[];
35
- id?: number;
36
- thead?: any[];
37
- tbody?: any[];
38
- variable_data?: any[];
39
- optionType?: string;
40
- selectedClassName?: string;
41
- action?: React.MouseEventHandler<HTMLElement> | string;
42
- listClassName?: string;
43
- listItemClassName?: string;
44
- img?: string;
45
- items?: any[];
46
- primaryText?: string;
47
- secondaryText?: string;
48
- count?: number;
49
- icon?: string;
50
- placement?: string;
51
- profileImage?: string;
52
- buttonClassName?: string;
53
- profileImageClassName?: string;
54
- profileSubClassName?: string;
55
- subContainerClassName?: string;
56
- element?: string;
57
- secondTextClassName?: string;
58
- iconsClassName?: string;
59
- labelClassName?: string;
60
- containerClassName?: string;
61
- selectBefore?: any[];
62
- selectAfter?: any[];
63
- isSVGStylesOverride?: boolean;
64
- rowSelection?: string;
65
- length?: number;
66
- imgClassName?: string;
67
- loading?: boolean;
68
- fillText1?: string;
69
- fillText2?: string;
70
- labels?: any[];
71
- data?: any[];
72
- pagination?: boolean;
73
- is_detail?: boolean;
74
- };
75
-
76
- declare const TextElement: (props: ElementType) => React$1.JSX.Element;
77
-
78
- declare const PasswordElement: (props: ElementType) => React$1.JSX.Element;
79
-
80
- declare const NumberElement: (props: ElementType) => React$1.JSX.Element;
81
-
82
- declare const TextareaElement: (props: ElementType) => React$1.JSX.Element;
83
-
84
- declare const SelectElement: (props: ElementType) => React$1.JSX.Element;
85
-
86
- declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
87
-
88
- declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
89
-
90
- interface ElementExecuterProps extends ElementType {
91
- onChange: (value: string | number | object | boolean | any[] | undefined) => void;
3
+ interface LoginFormData {
4
+ label: string;
5
+ placeholder: string;
6
+ required: boolean;
7
+ type: 'text' | 'password' | 'password';
92
8
  }
93
- declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
94
-
95
- declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
96
-
97
- declare const MultipleSelectElement: (props: ElementType) => React$1.JSX.Element;
98
-
99
- declare const ButtonElement: (props: ElementType) => React$1.JSX.Element;
100
-
101
- declare const AddMoreTable: (props: ElementType) => React$1.JSX.Element;
102
-
103
- declare const Sidebar: (props: ElementType) => React$1.JSX.Element;
104
-
105
- declare const Navbar: (props: ElementType) => React$1.JSX.Element;
106
-
107
- declare const TableElement: (props: ElementType) => React$1.JSX.Element;
108
-
109
- declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
110
-
111
- declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
112
-
113
- declare const Image: (props: ElementType) => React$1.JSX.Element;
114
-
115
- declare const SingleCheckbox: (props: ElementType) => React$1.JSX.Element;
116
-
117
- declare const DropDownGroup: (props: ElementType) => React$1.JSX.Element;
118
-
119
- declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
120
-
121
- declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
122
-
123
- declare const SwitchElement: () => React$1.JSX.Element;
124
-
125
- declare const Upload: (props: ElementType) => React$1.JSX.Element;
126
-
127
- declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
128
-
129
- declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
130
-
131
- declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
132
-
133
- declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
134
-
135
- declare const LineChart: (props: ElementType) => React$1.JSX.Element;
136
-
137
- declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
138
-
139
- declare const BarChart: (props: ElementType) => React$1.JSX.Element;
9
+ declare const Login: React.FC<{
10
+ data: LoginFormData[];
11
+ }>;
140
12
 
141
- export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, DatePickerElement, DateRangePickerElement, DoubleBarChart, DropDownGroup, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
13
+ export { Login, type LoginFormData };