@apexcura/ui-components 0.0.16-Beta72 → 0.0.16-Beta721
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/Components/AadharComponent.d.ts +3 -0
- package/dist/Components/AbhaNumberComponent.d.ts +3 -0
- package/dist/Components/AutoCompleteInput.d.ts +14 -0
- package/dist/Components/AvatarUpload.d.ts +3 -0
- package/dist/Components/Button.d.ts +3 -0
- package/dist/Components/Capcha.d.ts +3 -0
- package/dist/Components/CardElement.d.ts +3 -0
- package/dist/Components/Checkbox.d.ts +3 -0
- package/dist/Components/ColorPickerElement.d.ts +3 -0
- package/dist/Components/CustomStepper.d.ts +3 -0
- package/dist/Components/DatePicker.d.ts +3 -0
- package/dist/Components/DateRangePickerElement.d.ts +3 -0
- package/dist/Components/DivContainer.d.ts +3 -0
- package/dist/Components/DropDownGroup.d.ts +19 -0
- package/dist/Components/Editor.d.ts +0 -0
- package/dist/Components/FilesUpload.d.ts +3 -0
- package/dist/Components/Image.d.ts +3 -0
- package/dist/Components/KanbanBoard.d.ts +2 -0
- package/dist/Components/Navbar.d.ts +3 -0
- package/dist/Components/Notification.d.ts +3 -0
- package/dist/Components/NotificationAlert.d.ts +3 -0
- package/dist/Components/NumberElement.d.ts +3 -0
- package/dist/Components/OtpElement.d.ts +3 -0
- package/dist/Components/PasswordElement.d.ts +3 -0
- package/dist/Components/Profile.d.ts +3 -0
- package/dist/Components/ProfileContainer.d.ts +3 -0
- package/dist/Components/RadioElement.d.ts +3 -0
- package/dist/Components/SegmentedElement.d.ts +3 -0
- package/dist/Components/SelectElement.d.ts +3 -0
- package/dist/Components/Sidebar.d.ts +4 -0
- package/dist/Components/SingleCheckbox.d.ts +3 -0
- package/dist/Components/SpanElement.d.ts +3 -0
- package/dist/Components/SplitButton.d.ts +3 -0
- package/dist/Components/SwitchElement.d.ts +3 -0
- package/dist/Components/TableCopyComponent.d.ts +3 -0
- package/dist/Components/TableElement.d.ts +12 -0
- package/dist/Components/TabsElement.d.ts +3 -0
- package/dist/Components/TextElement.d.ts +4 -0
- package/dist/Components/TextareaElement.d.ts +3 -0
- package/dist/Components/TimePicker.d.ts +3 -0
- package/dist/Components/TimeRangeComponent.d.ts +3 -0
- package/dist/Components/TimeScheduleTable.d.ts +3 -0
- package/dist/Types/types.d.ts +253 -0
- package/dist/constants/icons.d.ts +4 -0
- package/dist/index.d.ts +41 -188
- package/dist/index.js +3 -1898
- package/dist/index.js.LICENSE.txt +1655 -0
- package/dist/index.js.map +1 -0
- package/dist/report.html +39 -0
- package/package.json +55 -62
- package/.env.defaults +0 -2
- package/dist/index.d.mts +0 -188
- package/dist/index.mjs +0 -1849
- package/jest.config.js +0 -10
- package/postcss.config.js +0 -7
- package/tailwind.config.js +0 -9
package/package.json
CHANGED
|
@@ -1,74 +1,67 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apexcura/ui-components",
|
|
3
|
-
"version": "0.0.16-
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
],
|
|
12
|
-
"homepage": "https://www.apexcura.com/",
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/apexcura/ui-components/issues"
|
|
15
|
-
},
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "git+https://github.com/apexcura/ui-components.git",
|
|
19
|
-
"directory": "packages/ui-components"
|
|
3
|
+
"version": "0.0.16-Beta721",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "webpack --config webpack.config.js",
|
|
8
|
+
"lint": "eslint src",
|
|
9
|
+
"format": "prettier --write src",
|
|
10
|
+
"prepare": "npm run build"
|
|
20
11
|
},
|
|
21
|
-
"
|
|
12
|
+
"files": [
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"keywords": [],
|
|
16
|
+
"author": "",
|
|
22
17
|
"license": "ISC",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"build:js": "tsup src/index.ts --out-dir dist",
|
|
30
|
-
"build": "npm run build:css && npm run build:js"
|
|
18
|
+
"description": "",
|
|
19
|
+
"lint-staged": {
|
|
20
|
+
"src/**/*.{ts,tsx}": [
|
|
21
|
+
"eslint --fix",
|
|
22
|
+
"prettier --write"
|
|
23
|
+
]
|
|
31
24
|
},
|
|
32
|
-
"
|
|
33
|
-
"@testing-library/jest-dom": "^6.4.2",
|
|
34
|
-
"@testing-library/react": "^15.0.6",
|
|
35
|
-
"@types/ckeditor4": "^4.20.7",
|
|
36
|
-
"@types/jest": "^29.5.12",
|
|
37
|
-
"@types/react": "^18.3.1",
|
|
38
|
-
"@types/react-dom": "18.2.18",
|
|
39
|
-
"@types/react-global-configuration": "^1.3.3",
|
|
40
|
-
"@types/testing-library__react": "^10.2.0",
|
|
41
|
-
"antd": "^5.16.5",
|
|
42
|
-
"autoprefixer": "^10.4.19",
|
|
43
|
-
"jest": "^29.7.0",
|
|
44
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
45
|
-
"postcss-cli": "^11.0.0",
|
|
25
|
+
"peerDependencies": {
|
|
46
26
|
"react": "^18.3.1",
|
|
47
|
-
"react-dom": "^18.3.1"
|
|
48
|
-
"ts-jest": "^29.1.2",
|
|
49
|
-
"tsup": "^8.1.0",
|
|
50
|
-
"typescript": "^5.4.5"
|
|
51
|
-
},
|
|
52
|
-
"engines": {
|
|
53
|
-
"node": ">=18.0.0"
|
|
27
|
+
"react-dom": "^18.3.1"
|
|
54
28
|
},
|
|
55
29
|
"dependencies": {
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"@ckeditor/ckeditor5-react": "^8.0.0",
|
|
59
|
-
"@tinymce/tinymce-react": "^5.0.1",
|
|
60
|
-
"chart.js": "^4.4.3",
|
|
61
|
-
"ckeditor4": "^4.24.0",
|
|
62
|
-
"date-fns": "^3.6.0",
|
|
63
|
-
"devextreme": "^24.1.3",
|
|
64
|
-
"devextreme-react": "^24.1.3",
|
|
65
|
-
"esbuild": "^0.21.4",
|
|
66
|
-
"highcharts": "^11.4.3",
|
|
67
|
-
"highcharts-react-official": "^3.2.1",
|
|
30
|
+
"antd": "^5.19.3",
|
|
31
|
+
"autoprefixer": "^10.4.19",
|
|
68
32
|
"moment": "^2.30.1",
|
|
69
|
-
"postcss": "^8.4.
|
|
70
|
-
"
|
|
33
|
+
"postcss": "^8.4.39",
|
|
34
|
+
"postcss-loader": "^8.1.1",
|
|
35
|
+
"react-beautiful-dnd": "^13.1.1",
|
|
36
|
+
"react-google-recaptcha": "^3.1.0",
|
|
71
37
|
"react-icons": "^5.2.1",
|
|
72
|
-
"tailwindcss": "^3.4.
|
|
38
|
+
"tailwindcss": "^3.4.6"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@types/react": "^18.3.12",
|
|
42
|
+
"@types/react-beautiful-dnd": "^13.1.8",
|
|
43
|
+
"@types/react-dom": "^18.3.1",
|
|
44
|
+
"@types/react-google-recaptcha": "^2.1.9",
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^7.15.0",
|
|
46
|
+
"@typescript-eslint/parser": "^7.15.0",
|
|
47
|
+
"clean-webpack-plugin": "^4.0.0",
|
|
48
|
+
"css-loader": "^7.1.2",
|
|
49
|
+
"eslint": "^8.57.1",
|
|
50
|
+
"eslint-config-prettier": "^9.1.0",
|
|
51
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
52
|
+
"eslint-plugin-react": "^7.37.2",
|
|
53
|
+
"eslint-webpack-plugin": "^4.2.0",
|
|
54
|
+
"husky": "^9.0.11",
|
|
55
|
+
"lint-staged": "^15.2.7",
|
|
56
|
+
"prettier": "^3.3.2",
|
|
57
|
+
"sass": "^1.77.8",
|
|
58
|
+
"sass-loader": "^15.0.0",
|
|
59
|
+
"source-map-loader": "^5.0.0",
|
|
60
|
+
"style-loader": "^4.0.0",
|
|
61
|
+
"ts-loader": "^9.5.1",
|
|
62
|
+
"typescript": "^5.5.3",
|
|
63
|
+
"webpack": "^5.93.0",
|
|
64
|
+
"webpack-bundle-analyzer": "^4.10.2",
|
|
65
|
+
"webpack-cli": "^5.1.4"
|
|
73
66
|
}
|
|
74
67
|
}
|
package/.env.defaults
DELETED
package/dist/index.d.mts
DELETED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import React$1, { CSSProperties } from 'react';
|
|
2
|
-
import { SizeType } from 'antd/es/config-provider/SizeContext';
|
|
3
|
-
import { UploadFile } from 'antd/lib/upload/interface';
|
|
4
|
-
|
|
5
|
-
type pagenationType = {
|
|
6
|
-
page?: number;
|
|
7
|
-
pageSize?: number;
|
|
8
|
-
};
|
|
9
|
-
type ElementType = {
|
|
10
|
-
[x: string]: any;
|
|
11
|
-
required?: boolean;
|
|
12
|
-
selectedStyle?: boolean;
|
|
13
|
-
style?: CSSProperties;
|
|
14
|
-
className?: string | undefined;
|
|
15
|
-
placeholder?: string;
|
|
16
|
-
addonBefore?: React.ReactNode;
|
|
17
|
-
defaultValue?: string;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
prefix?: React.ReactNode;
|
|
20
|
-
type?: string;
|
|
21
|
-
checkedChildren?: string;
|
|
22
|
-
unCheckedChildren?: string;
|
|
23
|
-
firstValue?: string;
|
|
24
|
-
secondValue?: string;
|
|
25
|
-
size?: SizeType;
|
|
26
|
-
value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile[] | pagenationType;
|
|
27
|
-
status?: "error" | "warning";
|
|
28
|
-
styles?: React.CSSProperties;
|
|
29
|
-
variant?: "outlined" | "borderless" | "filled";
|
|
30
|
-
label?: string;
|
|
31
|
-
name?: string;
|
|
32
|
-
suffix?: React.ReactNode;
|
|
33
|
-
maxLength?: number;
|
|
34
|
-
fieldNames?: any[];
|
|
35
|
-
fields?: any[];
|
|
36
|
-
schema?: any[];
|
|
37
|
-
options?: any[];
|
|
38
|
-
firstOptions?: any[];
|
|
39
|
-
secondOptions?: any[];
|
|
40
|
-
firstPlaceholder?: string;
|
|
41
|
-
secondPlaceholder?: string;
|
|
42
|
-
enabled_dates?: string;
|
|
43
|
-
view?: boolean;
|
|
44
|
-
onChange?: (value: string | number | boolean | object | any[] | undefined) => void;
|
|
45
|
-
onClick?: () => void;
|
|
46
|
-
dropDownOptions?: any[];
|
|
47
|
-
id?: number;
|
|
48
|
-
thead?: any[];
|
|
49
|
-
tbody?: any[];
|
|
50
|
-
variable_data?: any[];
|
|
51
|
-
optionType?: string;
|
|
52
|
-
selectedClassName?: string;
|
|
53
|
-
action?: React.MouseEventHandler<HTMLElement> | string;
|
|
54
|
-
listClassName?: string;
|
|
55
|
-
listItemClassName?: string;
|
|
56
|
-
img?: string;
|
|
57
|
-
items?: any[];
|
|
58
|
-
primaryText?: string;
|
|
59
|
-
secondaryText?: string;
|
|
60
|
-
count?: number;
|
|
61
|
-
icon?: string | any;
|
|
62
|
-
placement?: string;
|
|
63
|
-
profileImage?: string;
|
|
64
|
-
buttonClassName?: string;
|
|
65
|
-
profileImageClassName?: string;
|
|
66
|
-
profileSubClassName?: string;
|
|
67
|
-
subContainerClassName?: string;
|
|
68
|
-
element?: string;
|
|
69
|
-
secondTextClassName?: string;
|
|
70
|
-
iconsClassName?: string;
|
|
71
|
-
labelClassName?: string;
|
|
72
|
-
containerClassName?: string;
|
|
73
|
-
selectBefore?: any[];
|
|
74
|
-
selectAfter?: any[];
|
|
75
|
-
isSVGStylesOverride?: boolean;
|
|
76
|
-
rowSelection?: boolean;
|
|
77
|
-
length?: number;
|
|
78
|
-
imgClassName?: string;
|
|
79
|
-
loading?: boolean;
|
|
80
|
-
fillText1?: string;
|
|
81
|
-
fillText2?: string;
|
|
82
|
-
labels?: any[];
|
|
83
|
-
data?: any[];
|
|
84
|
-
pagination?: boolean;
|
|
85
|
-
is_detail?: boolean;
|
|
86
|
-
dateTime?: string;
|
|
87
|
-
minRows?: number;
|
|
88
|
-
maxRows?: number;
|
|
89
|
-
mode?: "multiple" | "tags" | undefined;
|
|
90
|
-
picker?: "date" | "week" | "month" | "quarter" | "year";
|
|
91
|
-
weekrange?: boolean;
|
|
92
|
-
message?: string;
|
|
93
|
-
description?: string;
|
|
94
|
-
notificationType?: "success" | "info" | "warning" | "error";
|
|
95
|
-
showProgress?: boolean;
|
|
96
|
-
ellipsis?: boolean;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
declare const TextElement: (props: ElementType) => React$1.JSX.Element;
|
|
100
|
-
|
|
101
|
-
declare const PasswordElement: (props: ElementType) => React$1.JSX.Element;
|
|
102
|
-
|
|
103
|
-
declare const NumberElement: (props: ElementType) => React$1.JSX.Element;
|
|
104
|
-
|
|
105
|
-
declare const TextareaElement: (props: ElementType) => React$1.JSX.Element;
|
|
106
|
-
|
|
107
|
-
declare const SelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
108
|
-
|
|
109
|
-
declare const RadioElement: (props: ElementType) => React$1.JSX.Element;
|
|
110
|
-
|
|
111
|
-
declare const CheckboxElement: (props: ElementType) => React$1.JSX.Element;
|
|
112
|
-
|
|
113
|
-
declare const CkEditor: (props: ElementType) => React$1.JSX.Element;
|
|
114
|
-
|
|
115
|
-
declare const Editor: (props: ElementType) => React$1.JSX.Element;
|
|
116
|
-
|
|
117
|
-
declare const SingleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
118
|
-
|
|
119
|
-
declare const MultipleSelectElement: (props: ElementType) => React$1.JSX.Element;
|
|
120
|
-
|
|
121
|
-
declare const ButtonElement: (props: ElementType) => React$1.JSX.Element;
|
|
122
|
-
|
|
123
|
-
declare const AddMoreTable: (props: ElementType) => React$1.JSX.Element;
|
|
124
|
-
|
|
125
|
-
declare const Sidebar: (props: ElementType) => React$1.JSX.Element;
|
|
126
|
-
|
|
127
|
-
declare const Navbar: (props: ElementType) => React$1.JSX.Element;
|
|
128
|
-
|
|
129
|
-
declare const TableElement: (props: ElementType) => React$1.JSX.Element;
|
|
130
|
-
|
|
131
|
-
declare const DatePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
132
|
-
|
|
133
|
-
declare const DateRangePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
134
|
-
|
|
135
|
-
declare const Image: (props: ElementType) => React$1.JSX.Element;
|
|
136
|
-
|
|
137
|
-
declare const SingleCheckbox: (props: ElementType) => React$1.JSX.Element;
|
|
138
|
-
|
|
139
|
-
type dropDownValueProps = {
|
|
140
|
-
firstValue: {
|
|
141
|
-
key?: string | undefined;
|
|
142
|
-
label?: string | undefined;
|
|
143
|
-
value?: string | undefined;
|
|
144
|
-
} | undefined;
|
|
145
|
-
secondValue: {
|
|
146
|
-
key?: string | undefined;
|
|
147
|
-
label?: string | undefined;
|
|
148
|
-
value?: string | undefined;
|
|
149
|
-
} | undefined;
|
|
150
|
-
};
|
|
151
|
-
type dropDownGroupProps = ElementType & {
|
|
152
|
-
value: dropDownValueProps;
|
|
153
|
-
};
|
|
154
|
-
declare const DropDownGroup: (props: dropDownGroupProps) => React$1.JSX.Element;
|
|
155
|
-
|
|
156
|
-
declare const FileUpload: (props: ElementType) => React$1.JSX.Element;
|
|
157
|
-
|
|
158
|
-
declare const TabsElement: (props: ElementType) => React$1.JSX.Element;
|
|
159
|
-
|
|
160
|
-
declare const SwitchElement: (props: ElementType) => React$1.JSX.Element;
|
|
161
|
-
|
|
162
|
-
declare const Upload: (props: ElementType) => React$1.JSX.Element;
|
|
163
|
-
|
|
164
|
-
declare const OtpElement: (props: ElementType) => React$1.JSX.Element;
|
|
165
|
-
|
|
166
|
-
declare const CircleDonut: (props: ElementType) => React$1.JSX.Element;
|
|
167
|
-
|
|
168
|
-
declare const SemiCircleDonut: (props: ElementType) => React$1.JSX.Element;
|
|
169
|
-
|
|
170
|
-
declare const HorizontalBarChart: (props: ElementType) => React$1.JSX.Element;
|
|
171
|
-
|
|
172
|
-
declare const LineChart: (props: ElementType) => React$1.JSX.Element;
|
|
173
|
-
|
|
174
|
-
declare const DoubleBarChart: (props: ElementType) => React$1.JSX.Element;
|
|
175
|
-
|
|
176
|
-
declare const BarChart: (props: ElementType) => React$1.JSX.Element;
|
|
177
|
-
|
|
178
|
-
declare const DivContainer: (props: ElementType) => React$1.JSX.Element;
|
|
179
|
-
|
|
180
|
-
declare const ColorPickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
181
|
-
|
|
182
|
-
declare const NotificationAlert: (props: ElementType) => React$1.JSX.Element;
|
|
183
|
-
|
|
184
|
-
declare const TooltipElement: (props: ElementType) => React$1.JSX.Element;
|
|
185
|
-
|
|
186
|
-
declare const DateTimePickerElement: (props: ElementType) => React$1.JSX.Element;
|
|
187
|
-
|
|
188
|
-
export { AddMoreTable, BarChart, ButtonElement, CheckboxElement, CircleDonut, CkEditor, ColorPickerElement, DatePickerElement, DateRangePickerElement, DateTimePickerElement, 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 };
|