@antscorp/antsomi-ui 1.2.3-beta.1 → 1.2.3-beta.11
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.js +1 -1
- package/dist/index.js.LICENSE.txt +1 -31
- package/dist/types/components/icons/ArrowGrowIcon.d.ts +1 -0
- package/dist/types/components/icons/AudioRecordIcon.d.ts +1 -0
- package/dist/types/components/icons/BugIcon.d.ts +1 -0
- package/dist/types/components/icons/CameraIcon.d.ts +1 -0
- package/dist/types/components/icons/CaptureIcon.d.ts +1 -0
- package/dist/types/components/icons/CheckSlimIcon.d.ts +1 -0
- package/dist/types/components/icons/CommentIcon.d.ts +1 -0
- package/dist/types/components/icons/FreeDrawIcon.d.ts +1 -0
- package/dist/types/components/icons/HighlightIcon.d.ts +1 -0
- package/dist/types/components/icons/IdeaIcon.d.ts +1 -0
- package/dist/types/components/icons/InvisibleIcon.d.ts +1 -0
- package/dist/types/components/icons/MuteIcon.d.ts +1 -0
- package/dist/types/components/icons/OpenUrlIcon.d.ts +1 -0
- package/dist/types/components/icons/PauseIcon.d.ts +1 -0
- package/dist/types/components/icons/StopRecordIcon.d.ts +1 -0
- package/dist/types/components/icons/VerticalDotsIcon.d.ts +1 -0
- package/dist/types/components/icons/index.d.ts +16 -0
- package/dist/types/components/molecules/CaptureScreen/components/CommentBox/types.d.ts +1 -0
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/Cursor.d.ts +1 -2
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/styled.d.ts +4 -3
- package/dist/types/components/molecules/CaptureScreen/components/Cursor/types.d.ts +5 -5
- package/dist/types/components/molecules/CaptureScreen/constants.d.ts +5 -1
- package/dist/types/components/molecules/CaptureScreen/styled.d.ts +5 -1
- package/dist/types/components/molecules/CaptureScreen/types.d.ts +1 -0
- package/dist/types/components/organism/Help/constants.d.ts +75 -3
- package/dist/types/components/organism/Help/styled.d.ts +22 -1
- package/dist/types/components/organism/Help/types.d.ts +9 -3
- package/dist/types/components/organism/Table/CrossTabTable/CrossTabTable.d.ts +18 -0
- package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/CustomCell.d.ts +11 -0
- package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/index.d.ts +0 -0
- package/dist/types/components/organism/Table/CrossTabTable/components/CustomCell/styled.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/constants.d.ts +75 -0
- package/dist/types/components/organism/Table/CrossTabTable/index.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/styled.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/types.d.ts +1 -0
- package/dist/types/components/organism/Table/CrossTabTable/utils.d.ts +1 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/ExplorePivotTable.d.ts +11 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/CustomCell.d.ts +12 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/index.d.ts +1 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/components/CustomCell/styled.d.ts +3 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/constants.d.ts +4 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/index.d.ts +2 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/styled.d.ts +11 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/types.d.ts +17 -0
- package/dist/types/components/organism/Table/ExplorePivotTable/utils.d.ts +4 -0
- package/dist/types/components/organism/Table/index.d.ts +1 -0
- package/dist/types/components/organism/index.d.ts +1 -1
- package/dist/types/services/Ticket.d.ts +5 -0
- package/dist/types/services/constants.d.ts +12 -0
- package/dist/types/utils/color.d.ts +9 -0
- package/dist/types/utils/common.d.ts +0 -3
- package/dist/types/utils/index.d.ts +3 -0
- package/package.json +4 -2
|
@@ -6,3 +6,15 @@ export declare const MESSAGES: {
|
|
|
6
6
|
NAME_ALREADY_EXISTS: string;
|
|
7
7
|
TOO_LONG_NAME: string;
|
|
8
8
|
};
|
|
9
|
+
export declare const PORTAL_KEYS: {
|
|
10
|
+
CURRENCY: string;
|
|
11
|
+
USER_LANGUAGE: string;
|
|
12
|
+
PORTAL_LANGUAGE: string;
|
|
13
|
+
TIME_ZONE: string;
|
|
14
|
+
CURRENCY_FORMAT: string;
|
|
15
|
+
DATE_TIME_FORMAT: string;
|
|
16
|
+
DATE_TIME_FORMAT_LONG: string;
|
|
17
|
+
NUMBER_FORMAT: string;
|
|
18
|
+
PERCENTAGE_FORMAT: string;
|
|
19
|
+
VERSION: string;
|
|
20
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const isDarkColor: (hexcolor: any, alpha?: number) => boolean;
|
|
2
|
+
/**
|
|
3
|
+
* Converts a hexadecimal color code to its corresponding RGB values.
|
|
4
|
+
* @param {string} hexCode - The hexadecimal color code to convert.
|
|
5
|
+
* @returns {Array} An array containing the RGB values.
|
|
6
|
+
* @throws {Error} If the input is an invalid hexadecimal color code.
|
|
7
|
+
*/
|
|
8
|
+
export declare const hexToRgb: (hexCode: string) => [number, number, number];
|
|
9
|
+
export declare const generateHeatMapColor: (value: number, maxValue: number, rgbColor: [number, number, number]) => string;
|
|
@@ -15,9 +15,6 @@ export declare function getSessionStorage(key: any, config: any): any;
|
|
|
15
15
|
export declare function getMessageByCode(messageCode: any, def?: undefined | string): any;
|
|
16
16
|
export declare function urlHasQueryString(url: any): boolean;
|
|
17
17
|
export declare function isNumeric(num: any): boolean;
|
|
18
|
-
export declare const PORTAL_KEYS: {
|
|
19
|
-
USER_LANGUAGE: string;
|
|
20
|
-
};
|
|
21
18
|
export declare function getUserLocaleLanguage(config: any): any;
|
|
22
19
|
export declare function getAppSession(key: any, config: any): any;
|
|
23
20
|
export declare function getAppParamURL(pathname: any, forceVersionV2: boolean | undefined, config: any): {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antscorp/antsomi-ui",
|
|
3
|
-
"version": "1.2.3-beta.
|
|
3
|
+
"version": "1.2.3-beta.11",
|
|
4
4
|
"description": "An enterprise-class UI design language and React UI library.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"author": "",
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
|
+
"@antscorp/image-editor": "1.0.2",
|
|
38
39
|
"@tinymce/tinymce-react": "^3.7.0",
|
|
39
40
|
"antd": "^5.3.2",
|
|
40
41
|
"axios": "^1.4.0",
|
|
@@ -118,6 +119,7 @@
|
|
|
118
119
|
"tsconfig-paths-webpack-plugin": "^4.0.1",
|
|
119
120
|
"typescript": "^4.9.4",
|
|
120
121
|
"vite": "^4.2.1",
|
|
122
|
+
"vite-plugin-mkcert": "^1.15.0",
|
|
121
123
|
"webpack": "^5.78.0",
|
|
122
124
|
"webpack-cli": "^5.0.1"
|
|
123
125
|
},
|
|
@@ -126,4 +128,4 @@
|
|
|
126
128
|
"react": ">=16.9.0",
|
|
127
129
|
"react-dom": ">=16.9.0"
|
|
128
130
|
}
|
|
129
|
-
}
|
|
131
|
+
}
|