@apexcura/ui-components 0.0.11-Beta244 → 0.0.11-Beta246
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 +114 -0
- package/dist/index.d.ts +114 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +2 -1
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import React$1 from 'react';
|
|
2
|
+
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
3
|
+
|
|
4
|
+
type ElementType = {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
selectedStyle: boolean;
|
|
7
|
+
style: boolean;
|
|
8
|
+
className: string | undefined;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
addonBefore?: React.ReactNode;
|
|
11
|
+
defaultValue?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
prefix?: React.ReactNode;
|
|
14
|
+
type?: string;
|
|
15
|
+
size?: SizeType;
|
|
16
|
+
value?: string | number | boolean | any[] | null | undefined;
|
|
17
|
+
status?: "error" | "warning";
|
|
18
|
+
styles?: React.CSSProperties;
|
|
19
|
+
variant?: "outlined" | "borderless" | "filled";
|
|
20
|
+
label?: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
suffix?: React.ReactNode;
|
|
23
|
+
maxLength?: number;
|
|
24
|
+
fieldNames?: any[];
|
|
25
|
+
fields?: any[];
|
|
26
|
+
schema?: any[];
|
|
27
|
+
options?: any[];
|
|
28
|
+
onChange?: (value: string | number | boolean | object | any[]) => void;
|
|
29
|
+
dropDownOptions?: any[];
|
|
30
|
+
id?: number;
|
|
31
|
+
thead?: any[];
|
|
32
|
+
tbody?: any[];
|
|
33
|
+
variable_data?: any[];
|
|
34
|
+
optionType?: string;
|
|
35
|
+
selectedClassName?: string;
|
|
36
|
+
action?: React.MouseEventHandler<HTMLElement> | string;
|
|
37
|
+
listClassName?: string;
|
|
38
|
+
listItemClassName?: string;
|
|
39
|
+
img?: string;
|
|
40
|
+
items?: any[];
|
|
41
|
+
primaryText?: string;
|
|
42
|
+
secondaryText?: string;
|
|
43
|
+
count?: number;
|
|
44
|
+
icon?: string;
|
|
45
|
+
placement?: string;
|
|
46
|
+
profileImage?: string;
|
|
47
|
+
buttonClassName?: string;
|
|
48
|
+
profileImageClassName?: string;
|
|
49
|
+
profileSubClassName?: string;
|
|
50
|
+
subContainerClassName?: string;
|
|
51
|
+
element?: string;
|
|
52
|
+
secondTextClassName?: string;
|
|
53
|
+
iconsClassName?: string;
|
|
54
|
+
labelClassName?: string;
|
|
55
|
+
containerClassName?: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
interface ElementExecuterProps$3 extends ElementType {
|
|
59
|
+
onChange: (value: string | number | boolean | object | any[]) => void;
|
|
60
|
+
}
|
|
61
|
+
declare const TextElement: (props: ElementExecuterProps$3) => React$1.JSX.Element;
|
|
62
|
+
|
|
63
|
+
interface InputData {
|
|
64
|
+
placeholder?: string;
|
|
65
|
+
id?: string;
|
|
66
|
+
prefix?: React$1.ReactNode;
|
|
67
|
+
addonBefore?: React$1.ReactNode;
|
|
68
|
+
type?: string;
|
|
69
|
+
}
|
|
70
|
+
interface PasswordProps {
|
|
71
|
+
inputData: InputData;
|
|
72
|
+
}
|
|
73
|
+
declare const PasswordElement: React$1.FC<PasswordProps>;
|
|
74
|
+
|
|
75
|
+
interface ElementExecuterProps$2 extends ElementType {
|
|
76
|
+
onChange: (value: string | number | object | boolean | any[]) => void;
|
|
77
|
+
}
|
|
78
|
+
declare const NumberElement: (props: ElementExecuterProps$2) => React$1.JSX.Element;
|
|
79
|
+
|
|
80
|
+
interface ElementExecuterProps$1 extends ElementType {
|
|
81
|
+
onChange: (value: string | number | boolean | object | any[]) => void;
|
|
82
|
+
}
|
|
83
|
+
declare const TextareaElement: (props: ElementExecuterProps$1) => React$1.JSX.Element;
|
|
84
|
+
|
|
85
|
+
declare const SelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
86
|
+
|
|
87
|
+
declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
|
|
88
|
+
|
|
89
|
+
declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
|
|
90
|
+
|
|
91
|
+
interface ElementExecuterProps extends ElementType {
|
|
92
|
+
onChange: (value: string | number | object | boolean | any[]) => void;
|
|
93
|
+
}
|
|
94
|
+
declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
|
|
95
|
+
|
|
96
|
+
declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
97
|
+
|
|
98
|
+
declare const MultipleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
99
|
+
|
|
100
|
+
declare const ButtonElement: React$1.FC<ElementType>;
|
|
101
|
+
|
|
102
|
+
declare const AddMoreTable: (props: ElementType) => React$1.JSX.Element;
|
|
103
|
+
|
|
104
|
+
declare const Sidebar: (props: ElementType) => React$1.JSX.Element;
|
|
105
|
+
|
|
106
|
+
declare const Navbar: (props: ElementType) => React$1.JSX.Element;
|
|
107
|
+
|
|
108
|
+
declare const TableElement: (props: ElementType) => React$1.JSX.Element;
|
|
109
|
+
|
|
110
|
+
declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
111
|
+
|
|
112
|
+
declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
113
|
+
|
|
114
|
+
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, MultipleSelectElement, Navbar, NumberElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleSelectElement, TableElement, TextElement, TextareaElement };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import React$1 from 'react';
|
|
2
|
+
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
3
|
+
|
|
4
|
+
type ElementType = {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
selectedStyle: boolean;
|
|
7
|
+
style: boolean;
|
|
8
|
+
className: string | undefined;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
addonBefore?: React.ReactNode;
|
|
11
|
+
defaultValue?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
prefix?: React.ReactNode;
|
|
14
|
+
type?: string;
|
|
15
|
+
size?: SizeType;
|
|
16
|
+
value?: string | number | boolean | any[] | null | undefined;
|
|
17
|
+
status?: "error" | "warning";
|
|
18
|
+
styles?: React.CSSProperties;
|
|
19
|
+
variant?: "outlined" | "borderless" | "filled";
|
|
20
|
+
label?: string;
|
|
21
|
+
name?: string;
|
|
22
|
+
suffix?: React.ReactNode;
|
|
23
|
+
maxLength?: number;
|
|
24
|
+
fieldNames?: any[];
|
|
25
|
+
fields?: any[];
|
|
26
|
+
schema?: any[];
|
|
27
|
+
options?: any[];
|
|
28
|
+
onChange?: (value: string | number | boolean | object | any[]) => void;
|
|
29
|
+
dropDownOptions?: any[];
|
|
30
|
+
id?: number;
|
|
31
|
+
thead?: any[];
|
|
32
|
+
tbody?: any[];
|
|
33
|
+
variable_data?: any[];
|
|
34
|
+
optionType?: string;
|
|
35
|
+
selectedClassName?: string;
|
|
36
|
+
action?: React.MouseEventHandler<HTMLElement> | string;
|
|
37
|
+
listClassName?: string;
|
|
38
|
+
listItemClassName?: string;
|
|
39
|
+
img?: string;
|
|
40
|
+
items?: any[];
|
|
41
|
+
primaryText?: string;
|
|
42
|
+
secondaryText?: string;
|
|
43
|
+
count?: number;
|
|
44
|
+
icon?: string;
|
|
45
|
+
placement?: string;
|
|
46
|
+
profileImage?: string;
|
|
47
|
+
buttonClassName?: string;
|
|
48
|
+
profileImageClassName?: string;
|
|
49
|
+
profileSubClassName?: string;
|
|
50
|
+
subContainerClassName?: string;
|
|
51
|
+
element?: string;
|
|
52
|
+
secondTextClassName?: string;
|
|
53
|
+
iconsClassName?: string;
|
|
54
|
+
labelClassName?: string;
|
|
55
|
+
containerClassName?: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
interface ElementExecuterProps$3 extends ElementType {
|
|
59
|
+
onChange: (value: string | number | boolean | object | any[]) => void;
|
|
60
|
+
}
|
|
61
|
+
declare const TextElement: (props: ElementExecuterProps$3) => React$1.JSX.Element;
|
|
62
|
+
|
|
63
|
+
interface InputData {
|
|
64
|
+
placeholder?: string;
|
|
65
|
+
id?: string;
|
|
66
|
+
prefix?: React$1.ReactNode;
|
|
67
|
+
addonBefore?: React$1.ReactNode;
|
|
68
|
+
type?: string;
|
|
69
|
+
}
|
|
70
|
+
interface PasswordProps {
|
|
71
|
+
inputData: InputData;
|
|
72
|
+
}
|
|
73
|
+
declare const PasswordElement: React$1.FC<PasswordProps>;
|
|
74
|
+
|
|
75
|
+
interface ElementExecuterProps$2 extends ElementType {
|
|
76
|
+
onChange: (value: string | number | object | boolean | any[]) => void;
|
|
77
|
+
}
|
|
78
|
+
declare const NumberElement: (props: ElementExecuterProps$2) => React$1.JSX.Element;
|
|
79
|
+
|
|
80
|
+
interface ElementExecuterProps$1 extends ElementType {
|
|
81
|
+
onChange: (value: string | number | boolean | object | any[]) => void;
|
|
82
|
+
}
|
|
83
|
+
declare const TextareaElement: (props: ElementExecuterProps$1) => React$1.JSX.Element;
|
|
84
|
+
|
|
85
|
+
declare const SelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
86
|
+
|
|
87
|
+
declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
|
|
88
|
+
|
|
89
|
+
declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
|
|
90
|
+
|
|
91
|
+
interface ElementExecuterProps extends ElementType {
|
|
92
|
+
onChange: (value: string | number | object | boolean | any[]) => void;
|
|
93
|
+
}
|
|
94
|
+
declare const CkEditor: (props: ElementExecuterProps) => React$1.JSX.Element;
|
|
95
|
+
|
|
96
|
+
declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
97
|
+
|
|
98
|
+
declare const MultipleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
99
|
+
|
|
100
|
+
declare const ButtonElement: React$1.FC<ElementType>;
|
|
101
|
+
|
|
102
|
+
declare const AddMoreTable: (props: ElementType) => React$1.JSX.Element;
|
|
103
|
+
|
|
104
|
+
declare const Sidebar: (props: ElementType) => React$1.JSX.Element;
|
|
105
|
+
|
|
106
|
+
declare const Navbar: (props: ElementType) => React$1.JSX.Element;
|
|
107
|
+
|
|
108
|
+
declare const TableElement: (props: ElementType) => React$1.JSX.Element;
|
|
109
|
+
|
|
110
|
+
declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
111
|
+
|
|
112
|
+
declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
113
|
+
|
|
114
|
+
export { AddMoreTable, ButtonElement, CheckboxElement, CkEditor, DatePickerElement, DateRangePickerElement, MultipleSelectElement, Navbar, NumberElement, PasswordElement, RadioElement, SelectElement, Sidebar, SingleSelectElement, TableElement, TextElement, TextareaElement };
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apexcura/ui-components",
|
|
3
|
-
"version": "0.0.11-
|
|
3
|
+
"version": "0.0.11-Beta246",
|
|
4
4
|
"description": "Apex cura React components library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"apex cura",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"node": ">=18.0.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
+
"@apexcura/ui-components": "^0.0.11-Beta245",
|
|
51
52
|
"@tinymce/tinymce-react": "^5.0.1",
|
|
52
53
|
"autoprefixer": "^10.4.19",
|
|
53
54
|
"date-fns": "^3.6.0",
|