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

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,16 @@
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;
11
+ required?: boolean;
7
12
  selectedStyle?: boolean;
8
- style?: boolean;
13
+ style?: CSSProperties;
9
14
  className?: string | undefined;
10
15
  placeholder?: string;
11
16
  addonBefore?: React.ReactNode;
@@ -13,8 +18,12 @@ type ElementType = {
13
18
  disabled?: boolean;
14
19
  prefix?: React.ReactNode;
15
20
  type?: string;
21
+ checkedChildren?: string;
22
+ unCheckedChildren?: string;
23
+ firstValue?: string;
24
+ secondValue?: string;
16
25
  size?: SizeType;
17
- value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
26
+ value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
18
27
  status?: "error" | "warning";
19
28
  styles?: React.CSSProperties;
20
29
  variant?: "outlined" | "borderless" | "filled";
@@ -28,6 +37,9 @@ type ElementType = {
28
37
  options?: any[];
29
38
  firstOptions?: any[];
30
39
  secondOptions?: any[];
40
+ firstPlaceholder?: string;
41
+ secondPlaceholder?: string;
42
+ enabled_dates?: string;
31
43
  view?: boolean;
32
44
  onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
33
45
  onClick?: () => void;
@@ -61,7 +73,7 @@ type ElementType = {
61
73
  selectBefore?: any[];
62
74
  selectAfter?: any[];
63
75
  isSVGStylesOverride?: boolean;
64
- rowSelection?: string;
76
+ rowSelection?: boolean;
65
77
  length?: number;
66
78
  imgClassName?: string;
67
79
  loading?: boolean;
@@ -77,6 +89,11 @@ type ElementType = {
77
89
  mode?: "multiple" | "tags" | undefined;
78
90
  picker?: "date" | "week" | "month" | "quarter" | "year";
79
91
  weekrange?: boolean;
92
+ message?: string;
93
+ description?: string;
94
+ notificationType?: "success" | "info" | "warning" | "error";
95
+ showProgress?: boolean;
96
+ ellipsis?: boolean;
80
97
  };
81
98
 
82
99
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -93,10 +110,9 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
93
110
 
94
111
  declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
95
112
 
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;
113
+ declare const CkEditor: (props: ElementType) => React$1.JSX.Element;
114
+
115
+ declare const Editor: (props: ElementType) => React$1.JSX.Element;
100
116
 
101
117
  declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
102
118
 
@@ -126,7 +142,7 @@ declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
126
142
 
127
143
  declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
128
144
 
129
- declare const SwitchElement: () => React$1.JSX.Element;
145
+ declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
130
146
 
131
147
  declare const Upload: (props: ElementType) => React$1.JSX.Element;
132
148
 
@@ -148,4 +164,8 @@ declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
148
164
 
149
165
  declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
150
166
 
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 };
167
+ declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
168
+
169
+ declare const TooltipElement: (props: ElementType) => React$1.JSX.Element;
170
+
171
+ 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,16 @@
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;
11
+ required?: boolean;
7
12
  selectedStyle?: boolean;
8
- style?: boolean;
13
+ style?: CSSProperties;
9
14
  className?: string | undefined;
10
15
  placeholder?: string;
11
16
  addonBefore?: React.ReactNode;
@@ -13,8 +18,12 @@ type ElementType = {
13
18
  disabled?: boolean;
14
19
  prefix?: React.ReactNode;
15
20
  type?: string;
21
+ checkedChildren?: string;
22
+ unCheckedChildren?: string;
23
+ firstValue?: string;
24
+ secondValue?: string;
16
25
  size?: SizeType;
17
- value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
26
+ value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
18
27
  status?: "error" | "warning";
19
28
  styles?: React.CSSProperties;
20
29
  variant?: "outlined" | "borderless" | "filled";
@@ -28,6 +37,9 @@ type ElementType = {
28
37
  options?: any[];
29
38
  firstOptions?: any[];
30
39
  secondOptions?: any[];
40
+ firstPlaceholder?: string;
41
+ secondPlaceholder?: string;
42
+ enabled_dates?: string;
31
43
  view?: boolean;
32
44
  onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
33
45
  onClick?: () => void;
@@ -61,7 +73,7 @@ type ElementType = {
61
73
  selectBefore?: any[];
62
74
  selectAfter?: any[];
63
75
  isSVGStylesOverride?: boolean;
64
- rowSelection?: string;
76
+ rowSelection?: boolean;
65
77
  length?: number;
66
78
  imgClassName?: string;
67
79
  loading?: boolean;
@@ -77,6 +89,11 @@ type ElementType = {
77
89
  mode?: "multiple" | "tags" | undefined;
78
90
  picker?: "date" | "week" | "month" | "quarter" | "year";
79
91
  weekrange?: boolean;
92
+ message?: string;
93
+ description?: string;
94
+ notificationType?: "success" | "info" | "warning" | "error";
95
+ showProgress?: boolean;
96
+ ellipsis?: boolean;
80
97
  };
81
98
 
82
99
  declare const TextElement: (props: ElementType) => React$1.JSX.Element;
@@ -93,10 +110,9 @@ declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
93
110
 
94
111
  declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
95
112
 
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;
113
+ declare const CkEditor: (props: ElementType) => React$1.JSX.Element;
114
+
115
+ declare const Editor: (props: ElementType) => React$1.JSX.Element;
100
116
 
101
117
  declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
102
118
 
@@ -126,7 +142,7 @@ declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
126
142
 
127
143
  declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
128
144
 
129
- declare const SwitchElement: () => React$1.JSX.Element;
145
+ declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
130
146
 
131
147
  declare const Upload: (props: ElementType) => React$1.JSX.Element;
132
148
 
@@ -148,4 +164,8 @@ declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
148
164
 
149
165
  declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
150
166
 
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 };
167
+ declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
168
+
169
+ declare const TooltipElement: (props: ElementType) => React$1.JSX.Element;
170
+
171
+ 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 };