@apexcura/ui-components 0.0.15-Beta7 → 0.0.15-Beta71

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,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;
@@ -61,10 +70,27 @@ type ElementType = {
61
70
  selectBefore?: any[];
62
71
  selectAfter?: any[];
63
72
  isSVGStylesOverride?: boolean;
64
- rowSelection?: string;
73
+ rowSelection?: boolean;
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;
93
+ ellipsis?: boolean;
68
94
  };
69
95
 
70
96
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -81,10 +107,7 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
81
107
 
82
108
  declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
83
109
 
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;
110
+ declare const CkEditor: (props: ElementType) => React$1.JSX.Element;
88
111
 
89
112
  declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
90
113
 
@@ -120,6 +143,22 @@ declare const Upload: (props: ElementType) => React$1.JSX.Element;
120
143
 
121
144
  declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
122
145
 
123
- declare const Donut: (props: ElementType) => React$1.JSX.Element;
146
+ declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
147
+
148
+ declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
149
+
150
+ declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
151
+
152
+ declare const LineChart: (props: ElementType) => React$1.JSX.Element;
153
+
154
+ declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
155
+
156
+ declare const BarChart: (props: ElementType) => React$1.JSX.Element;
157
+
158
+ declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
159
+
160
+ declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
161
+
162
+ declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
124
163
 
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 };
164
+ 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
@@ -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,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;
@@ -61,10 +70,27 @@ type ElementType = {
61
70
  selectBefore?: any[];
62
71
  selectAfter?: any[];
63
72
  isSVGStylesOverride?: boolean;
64
- rowSelection?: string;
73
+ rowSelection?: boolean;
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;
93
+ ellipsis?: boolean;
68
94
  };
69
95
 
70
96
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -81,10 +107,7 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
81
107
 
82
108
  declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
83
109
 
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;
110
+ declare const CkEditor: (props: ElementType) => React$1.JSX.Element;
88
111
 
89
112
  declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
90
113
 
@@ -120,6 +143,22 @@ declare const Upload: (props: ElementType) => React$1.JSX.Element;
120
143
 
121
144
  declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
122
145
 
123
- declare const Donut: (props: ElementType) => React$1.JSX.Element;
146
+ declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
147
+
148
+ declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
149
+
150
+ declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
151
+
152
+ declare const LineChart: (props: ElementType) => React$1.JSX.Element;
153
+
154
+ declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
155
+
156
+ declare const BarChart: (props: ElementType) => React$1.JSX.Element;
157
+
158
+ declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
159
+
160
+ declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
161
+
162
+ declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
124
163
 
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 };
164
+ 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 };