@apexcura/ui-components 0.0.16-Beta17 → 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;
@@ -72,6 +83,16 @@ type ElementType = {
72
83
  pagination?: boolean;
73
84
  is_detail?: boolean;
74
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;
75
96
  };
76
97
 
77
98
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -88,10 +109,9 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
88
109
 
89
110
  declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
90
111
 
91
- interface ElementExecuterProps extends ElementType {
92
- onChange: (value: string | number | object | boolean | any[] | undefined) => void;
93
- }
94
- 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;
95
115
 
96
116
  declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
97
117
 
@@ -121,7 +141,7 @@ declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
121
141
 
122
142
  declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
123
143
 
124
- declare const SwitchElement: () => React$1.JSX.Element;
144
+ declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
125
145
 
126
146
  declare const Upload: (props: ElementType) => React$1.JSX.Element;
127
147
 
@@ -139,4 +159,12 @@ declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
139
159
 
140
160
  declare const BarChart: (props: ElementType) => React$1.JSX.Element;
141
161
 
142
- 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 };
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;
167
+
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;
@@ -72,6 +83,16 @@ type ElementType = {
72
83
  pagination?: boolean;
73
84
  is_detail?: boolean;
74
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;
75
96
  };
76
97
 
77
98
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -88,10 +109,9 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
88
109
 
89
110
  declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
90
111
 
91
- interface ElementExecuterProps extends ElementType {
92
- onChange: (value: string | number | object | boolean | any[] | undefined) => void;
93
- }
94
- 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;
95
115
 
96
116
  declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
97
117
 
@@ -121,7 +141,7 @@ declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
121
141
 
122
142
  declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
123
143
 
124
- declare const SwitchElement: () => React$1.JSX.Element;
144
+ declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
125
145
 
126
146
  declare const Upload: (props: ElementType) => React$1.JSX.Element;
127
147
 
@@ -139,4 +159,12 @@ declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
139
159
 
140
160
  declare const BarChart: (props: ElementType) => React$1.JSX.Element;
141
161
 
142
- 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 };
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;
167
+
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 };