@apexcura/ui-components 0.0.15-Beta6 → 0.0.15-Beta61

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
@@ -2,6 +2,10 @@ import React$1 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;
@@ -13,8 +17,10 @@ type ElementType = {
13
17
  disabled?: boolean;
14
18
  prefix?: React.ReactNode;
15
19
  type?: string;
20
+ firstValue?: string;
21
+ secondValue?: string;
16
22
  size?: SizeType;
17
- value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
23
+ value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
18
24
  status?: "error" | "warning";
19
25
  styles?: React.CSSProperties;
20
26
  variant?: "outlined" | "borderless" | "filled";
@@ -28,6 +34,9 @@ type ElementType = {
28
34
  options?: any[];
29
35
  firstOptions?: any[];
30
36
  secondOptions?: any[];
37
+ firstPlaceholder?: string;
38
+ secondPlaceholder?: string;
39
+ enabled_dates?: string;
31
40
  view?: boolean;
32
41
  onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
33
42
  onClick?: () => void;
@@ -46,7 +55,7 @@ type ElementType = {
46
55
  primaryText?: string;
47
56
  secondaryText?: string;
48
57
  count?: number;
49
- icon?: string;
58
+ icon?: string | any;
50
59
  placement?: string;
51
60
  profileImage?: string;
52
61
  buttonClassName?: string;
@@ -65,6 +74,22 @@ type ElementType = {
65
74
  length?: number;
66
75
  imgClassName?: string;
67
76
  loading?: boolean;
77
+ fillText1?: string;
78
+ fillText2?: string;
79
+ labels?: any[];
80
+ data?: any[];
81
+ pagination?: boolean;
82
+ is_detail?: boolean;
83
+ dateTime?: string;
84
+ minRows?: number;
85
+ maxRows?: number;
86
+ mode?: "multiple" | "tags" | undefined;
87
+ picker?: "date" | "week" | "month" | "quarter" | "year";
88
+ weekrange?: boolean;
89
+ message?: string;
90
+ description?: string;
91
+ notificationType?: "success" | "info" | "warning" | "error";
92
+ showProgress?: boolean;
68
93
  };
69
94
 
70
95
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -120,6 +145,22 @@ declare const Upload: (props: ElementType) => React$1.JSX.Element;
120
145
 
121
146
  declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
122
147
 
123
- declare const Donut: (props: ElementType) => React$1.JSX.Element;
148
+ declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
149
+
150
+ declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
151
+
152
+ declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
153
+
154
+ declare const LineChart: (props: ElementType) => React$1.JSX.Element;
155
+
156
+ declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
157
+
158
+ declare const BarChart: (props: ElementType) => React$1.JSX.Element;
159
+
160
+ declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
161
+
162
+ declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
163
+
164
+ declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
124
165
 
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 };
166
+ export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DivContainer, DoubleBarChart, DropDownGroup, 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
@@ -2,6 +2,10 @@ import React$1 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;
@@ -13,8 +17,10 @@ type ElementType = {
13
17
  disabled?: boolean;
14
18
  prefix?: React.ReactNode;
15
19
  type?: string;
20
+ firstValue?: string;
21
+ secondValue?: string;
16
22
  size?: SizeType;
17
- value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
23
+ value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
18
24
  status?: "error" | "warning";
19
25
  styles?: React.CSSProperties;
20
26
  variant?: "outlined" | "borderless" | "filled";
@@ -28,6 +34,9 @@ type ElementType = {
28
34
  options?: any[];
29
35
  firstOptions?: any[];
30
36
  secondOptions?: any[];
37
+ firstPlaceholder?: string;
38
+ secondPlaceholder?: string;
39
+ enabled_dates?: string;
31
40
  view?: boolean;
32
41
  onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
33
42
  onClick?: () => void;
@@ -46,7 +55,7 @@ type ElementType = {
46
55
  primaryText?: string;
47
56
  secondaryText?: string;
48
57
  count?: number;
49
- icon?: string;
58
+ icon?: string | any;
50
59
  placement?: string;
51
60
  profileImage?: string;
52
61
  buttonClassName?: string;
@@ -65,6 +74,22 @@ type ElementType = {
65
74
  length?: number;
66
75
  imgClassName?: string;
67
76
  loading?: boolean;
77
+ fillText1?: string;
78
+ fillText2?: string;
79
+ labels?: any[];
80
+ data?: any[];
81
+ pagination?: boolean;
82
+ is_detail?: boolean;
83
+ dateTime?: string;
84
+ minRows?: number;
85
+ maxRows?: number;
86
+ mode?: "multiple" | "tags" | undefined;
87
+ picker?: "date" | "week" | "month" | "quarter" | "year";
88
+ weekrange?: boolean;
89
+ message?: string;
90
+ description?: string;
91
+ notificationType?: "success" | "info" | "warning" | "error";
92
+ showProgress?: boolean;
68
93
  };
69
94
 
70
95
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -120,6 +145,22 @@ declare const Upload: (props: ElementType) => React$1.JSX.Element;
120
145
 
121
146
  declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
122
147
 
123
- declare const Donut: (props: ElementType) => React$1.JSX.Element;
148
+ declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
149
+
150
+ declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
151
+
152
+ declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
153
+
154
+ declare const LineChart: (props: ElementType) => React$1.JSX.Element;
155
+
156
+ declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
157
+
158
+ declare const BarChart: (props: ElementType) => React$1.JSX.Element;
159
+
160
+ declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
161
+
162
+ declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
163
+
164
+ declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
124
165
 
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 };
166
+ export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DivContainer, DoubleBarChart, DropDownGroup, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NotificationAlert, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };