@apexcura/ui-components 0.0.16-Beta16 → 0.0.16-Beta18

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;
@@ -61,7 +72,7 @@ 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,7 +90,9 @@ type ElementType = {
79
90
  weekrange?: boolean;
80
91
  message?: string;
81
92
  description?: string;
82
- notificationType?: 'success' | 'info' | 'warning' | 'error';
93
+ notificationType?: "success" | "info" | "warning" | "error";
94
+ showProgress?: boolean;
95
+ ellipsis?: boolean;
83
96
  };
84
97
 
85
98
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -96,10 +109,9 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
96
109
 
97
110
  declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
98
111
 
99
- interface ElementExecuterProps extends ElementType {
100
- onChange: (value: string | number | object | boolean | any[] | undefined) => void;
101
- }
102
- 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;
103
115
 
104
116
  declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
105
117
 
@@ -129,7 +141,7 @@ declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
129
141
 
130
142
  declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
131
143
 
132
- declare const SwitchElement: () => React$1.JSX.Element;
144
+ declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
133
145
 
134
146
  declare const Upload: (props: ElementType) => React$1.JSX.Element;
135
147
 
@@ -153,4 +165,6 @@ declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
153
165
 
154
166
  declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
155
167
 
156
- 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 };
168
+ declare const TooltipElement: (props: ElementType) => React$1.JSX.Element;
169
+
170
+ 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, TooltipElement, 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;
@@ -61,7 +72,7 @@ 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,7 +90,9 @@ type ElementType = {
79
90
  weekrange?: boolean;
80
91
  message?: string;
81
92
  description?: string;
82
- notificationType?: 'success' | 'info' | 'warning' | 'error';
93
+ notificationType?: "success" | "info" | "warning" | "error";
94
+ showProgress?: boolean;
95
+ ellipsis?: boolean;
83
96
  };
84
97
 
85
98
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -96,10 +109,9 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
96
109
 
97
110
  declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
98
111
 
99
- interface ElementExecuterProps extends ElementType {
100
- onChange: (value: string | number | object | boolean | any[] | undefined) => void;
101
- }
102
- 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;
103
115
 
104
116
  declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
105
117
 
@@ -129,7 +141,7 @@ declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
129
141
 
130
142
  declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
131
143
 
132
- declare const SwitchElement: () => React$1.JSX.Element;
144
+ declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
133
145
 
134
146
  declare const Upload: (props: ElementType) => React$1.JSX.Element;
135
147
 
@@ -153,4 +165,6 @@ declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
153
165
 
154
166
  declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
155
167
 
156
- 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 };
168
+ declare const TooltipElement: (props: ElementType) => React$1.JSX.Element;
169
+
170
+ 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, TooltipElement, Upload };