@apexcura/ui-components 0.0.15-Beta9 → 0.0.15-Beta90

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.mts CHANGED
@@ -1,11 +1,15 @@
1
- import React$1 from 'react';
1
+ import React$1, { CSSProperties } from 'react';
2
2
  import { SizeType } from 'antd/es/config-provider/SizeContext';
3
3
  import { UploadFile } from 'antd/lib/upload/interface';
4
4
 
5
+ type pagenationType = {
6
+ page?: number;
7
+ pageSize?: number;
8
+ };
5
9
  type ElementType = {
6
10
  [x: string]: any;
7
11
  selectedStyle?: boolean;
8
- style?: boolean;
12
+ style?: CSSProperties;
9
13
  className?: string | undefined;
10
14
  placeholder?: string;
11
15
  addonBefore?: React.ReactNode;
@@ -13,8 +17,12 @@ type ElementType = {
13
17
  disabled?: boolean;
14
18
  prefix?: React.ReactNode;
15
19
  type?: string;
20
+ checkedChildren?: string;
21
+ unCheckedChildren?: string;
22
+ firstValue?: string;
23
+ secondValue?: string;
16
24
  size?: SizeType;
17
- value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
25
+ value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
18
26
  status?: "error" | "warning";
19
27
  styles?: React.CSSProperties;
20
28
  variant?: "outlined" | "borderless" | "filled";
@@ -28,6 +36,9 @@ type ElementType = {
28
36
  options?: any[];
29
37
  firstOptions?: any[];
30
38
  secondOptions?: any[];
39
+ firstPlaceholder?: string;
40
+ secondPlaceholder?: string;
41
+ enabled_dates?: string;
31
42
  view?: boolean;
32
43
  onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
33
44
  onClick?: () => void;
@@ -46,7 +57,7 @@ type ElementType = {
46
57
  primaryText?: string;
47
58
  secondaryText?: string;
48
59
  count?: number;
49
- icon?: string;
60
+ icon?: string | any;
50
61
  placement?: string;
51
62
  profileImage?: string;
52
63
  buttonClassName?: string;
@@ -61,10 +72,27 @@ type ElementType = {
61
72
  selectBefore?: any[];
62
73
  selectAfter?: any[];
63
74
  isSVGStylesOverride?: boolean;
64
- rowSelection?: string;
75
+ rowSelection?: boolean;
65
76
  length?: number;
66
77
  imgClassName?: string;
67
78
  loading?: boolean;
79
+ fillText1?: string;
80
+ fillText2?: string;
81
+ labels?: any[];
82
+ data?: any[];
83
+ pagination?: boolean;
84
+ is_detail?: boolean;
85
+ dateTime?: string;
86
+ minRows?: number;
87
+ maxRows?: number;
88
+ mode?: "multiple" | "tags" | undefined;
89
+ picker?: "date" | "week" | "month" | "quarter" | "year";
90
+ weekrange?: boolean;
91
+ message?: string;
92
+ description?: string;
93
+ notificationType?: "success" | "info" | "warning" | "error";
94
+ showProgress?: boolean;
95
+ ellipsis?: boolean;
68
96
  };
69
97
 
70
98
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -81,10 +109,9 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
81
109
 
82
110
  declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
83
111
 
84
- interface ElementExecuterProps extends ElementType {
85
- onChange: (value: string | number | object | boolean | any[] | undefined) => void;
86
- }
87
- declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
112
+ declare const CkEditor: (props: ElementType) => React$1.JSX.Element;
113
+
114
+ declare const Editor: (props: ElementType) => React$1.JSX.Element;
88
115
 
89
116
  declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
90
117
 
@@ -114,12 +141,28 @@ declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
114
141
 
115
142
  declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
116
143
 
117
- declare const SwitchElement: () => React$1.JSX.Element;
144
+ declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
118
145
 
119
146
  declare const Upload: (props: ElementType) => React$1.JSX.Element;
120
147
 
121
148
  declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
122
149
 
123
- declare const Donut: React$1.FC<any>;
150
+ declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
151
+
152
+ declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
153
+
154
+ declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
155
+
156
+ declare const LineChart: (props: ElementType) => React$1.JSX.Element;
157
+
158
+ declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
159
+
160
+ declare const BarChart: (props: ElementType) => React$1.JSX.Element;
161
+
162
+ declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
163
+
164
+ declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
165
+
166
+ declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
124
167
 
125
- export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, Donut, DropDownGroup, FileUpload, Image, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
168
+ export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DivContainer, DoubleBarChart, DropDownGroup, Editor, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NotificationAlert, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
package/dist/index.d.ts CHANGED
@@ -1,11 +1,15 @@
1
- import React$1 from 'react';
1
+ import React$1, { CSSProperties } from 'react';
2
2
  import { SizeType } from 'antd/es/config-provider/SizeContext';
3
3
  import { UploadFile } from 'antd/lib/upload/interface';
4
4
 
5
+ type pagenationType = {
6
+ page?: number;
7
+ pageSize?: number;
8
+ };
5
9
  type ElementType = {
6
10
  [x: string]: any;
7
11
  selectedStyle?: boolean;
8
- style?: boolean;
12
+ style?: CSSProperties;
9
13
  className?: string | undefined;
10
14
  placeholder?: string;
11
15
  addonBefore?: React.ReactNode;
@@ -13,8 +17,12 @@ type ElementType = {
13
17
  disabled?: boolean;
14
18
  prefix?: React.ReactNode;
15
19
  type?: string;
20
+ checkedChildren?: string;
21
+ unCheckedChildren?: string;
22
+ firstValue?: string;
23
+ secondValue?: string;
16
24
  size?: SizeType;
17
- value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
25
+ value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
18
26
  status?: "error" | "warning";
19
27
  styles?: React.CSSProperties;
20
28
  variant?: "outlined" | "borderless" | "filled";
@@ -28,6 +36,9 @@ type ElementType = {
28
36
  options?: any[];
29
37
  firstOptions?: any[];
30
38
  secondOptions?: any[];
39
+ firstPlaceholder?: string;
40
+ secondPlaceholder?: string;
41
+ enabled_dates?: string;
31
42
  view?: boolean;
32
43
  onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
33
44
  onClick?: () => void;
@@ -46,7 +57,7 @@ type ElementType = {
46
57
  primaryText?: string;
47
58
  secondaryText?: string;
48
59
  count?: number;
49
- icon?: string;
60
+ icon?: string | any;
50
61
  placement?: string;
51
62
  profileImage?: string;
52
63
  buttonClassName?: string;
@@ -61,10 +72,27 @@ type ElementType = {
61
72
  selectBefore?: any[];
62
73
  selectAfter?: any[];
63
74
  isSVGStylesOverride?: boolean;
64
- rowSelection?: string;
75
+ rowSelection?: boolean;
65
76
  length?: number;
66
77
  imgClassName?: string;
67
78
  loading?: boolean;
79
+ fillText1?: string;
80
+ fillText2?: string;
81
+ labels?: any[];
82
+ data?: any[];
83
+ pagination?: boolean;
84
+ is_detail?: boolean;
85
+ dateTime?: string;
86
+ minRows?: number;
87
+ maxRows?: number;
88
+ mode?: "multiple" | "tags" | undefined;
89
+ picker?: "date" | "week" | "month" | "quarter" | "year";
90
+ weekrange?: boolean;
91
+ message?: string;
92
+ description?: string;
93
+ notificationType?: "success" | "info" | "warning" | "error";
94
+ showProgress?: boolean;
95
+ ellipsis?: boolean;
68
96
  };
69
97
 
70
98
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -81,10 +109,9 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
81
109
 
82
110
  declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
83
111
 
84
- interface ElementExecuterProps extends ElementType {
85
- onChange: (value: string | number | object | boolean | any[] | undefined) => void;
86
- }
87
- declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
112
+ declare const CkEditor: (props: ElementType) => React$1.JSX.Element;
113
+
114
+ declare const Editor: (props: ElementType) => React$1.JSX.Element;
88
115
 
89
116
  declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
90
117
 
@@ -114,12 +141,28 @@ declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
114
141
 
115
142
  declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
116
143
 
117
- declare const SwitchElement: () => React$1.JSX.Element;
144
+ declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
118
145
 
119
146
  declare const Upload: (props: ElementType) => React$1.JSX.Element;
120
147
 
121
148
  declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
122
149
 
123
- declare const Donut: React$1.FC<any>;
150
+ declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
151
+
152
+ declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
153
+
154
+ declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
155
+
156
+ declare const LineChart: (props: ElementType) => React$1.JSX.Element;
157
+
158
+ declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
159
+
160
+ declare const BarChart: (props: ElementType) => React$1.JSX.Element;
161
+
162
+ declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
163
+
164
+ declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
165
+
166
+ declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
124
167
 
125
- export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, Donut, DropDownGroup, FileUpload, Image, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
168
+ export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DivContainer, DoubleBarChart, DropDownGroup, Editor, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NotificationAlert, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };