@apexcura/ui-components 0.0.16-Beta2 → 0.0.16-Beta20

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/.env.defaults ADDED
@@ -0,0 +1,2 @@
1
+ GOOGLE_CLIENT_ID=1234
2
+ GOOGLE_AUTH_ORIGINS=1234
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;
@@ -77,6 +88,11 @@ type ElementType = {
77
88
  mode?: "multiple" | "tags" | undefined;
78
89
  picker?: "date" | "week" | "month" | "quarter" | "year";
79
90
  weekrange?: boolean;
91
+ message?: string;
92
+ description?: string;
93
+ notificationType?: "success" | "info" | "warning" | "error";
94
+ showProgress?: boolean;
95
+ ellipsis?: boolean;
80
96
  };
81
97
 
82
98
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -93,10 +109,9 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
93
109
 
94
110
  declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
95
111
 
96
- interface ElementExecuterProps extends ElementType {
97
- onChange: (value: string | number | object | boolean | any[] | undefined) => void;
98
- }
99
- 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;
100
115
 
101
116
  declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
102
117
 
@@ -126,7 +141,7 @@ declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
126
141
 
127
142
  declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
128
143
 
129
- declare const SwitchElement: () => React$1.JSX.Element;
144
+ declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
130
145
 
131
146
  declare const Upload: (props: ElementType) => React$1.JSX.Element;
132
147
 
@@ -148,4 +163,8 @@ declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
148
163
 
149
164
  declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
150
165
 
151
- export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DivContainer, DoubleBarChart, DropDownGroup, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
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;
@@ -77,6 +88,11 @@ type ElementType = {
77
88
  mode?: "multiple" | "tags" | undefined;
78
89
  picker?: "date" | "week" | "month" | "quarter" | "year";
79
90
  weekrange?: boolean;
91
+ message?: string;
92
+ description?: string;
93
+ notificationType?: "success" | "info" | "warning" | "error";
94
+ showProgress?: boolean;
95
+ ellipsis?: boolean;
80
96
  };
81
97
 
82
98
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -93,10 +109,9 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
93
109
 
94
110
  declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
95
111
 
96
- interface ElementExecuterProps extends ElementType {
97
- onChange: (value: string | number | object | boolean | any[] | undefined) => void;
98
- }
99
- 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;
100
115
 
101
116
  declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
102
117
 
@@ -126,7 +141,7 @@ declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
126
141
 
127
142
  declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
128
143
 
129
- declare const SwitchElement: () => React$1.JSX.Element;
144
+ declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
130
145
 
131
146
  declare const Upload: (props: ElementType) => React$1.JSX.Element;
132
147
 
@@ -148,4 +163,8 @@ declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
148
163
 
149
164
  declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
150
165
 
151
- export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DivContainer, DoubleBarChart, DropDownGroup, FileUpload, HorizontalBarChart, Image, LineChart, MultipleSelectElement, Navbar, NumberElement, OtpElement, PasswordElement, RadioElement, SelectElement, SemiCircleDonut, Sidebar, SingleCheckbox, SingleSelectElement, SwitchElement, TableElement, TabsElement, TextElement, TextareaElement, Upload };
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 };