kdpa-components 1.48.0 → 1.49.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"KdFormField.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Form/KdFormField/KdFormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAChC,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED,iBAAS,aAAa,CAAC,EACrB,IAAS,EACT,KAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAqClB;;AAED,wBAAyC"}
1
+ {"version":3,"file":"KdFormField.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Form/KdFormField/KdFormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAIlD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAChC,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED,iBAAS,aAAa,CAAC,EACrB,IAAS,EACT,KAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAuClB;;AAED,wBAAyC"}
package/package.json CHANGED
@@ -1,127 +1,126 @@
1
- {
2
- "name": "kdpa-components",
3
- "version": "1.48.0",
4
- "private": false,
5
- "type": "module",
6
- "main": "./dist/index.js",
7
- "types": "./dist/types/components/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/types/components/index.d.ts",
11
- "default": "./dist/index.js"
12
- },
13
- "./dist/index.css": "./dist/index.css"
14
- },
15
- "files": [
16
- "dist/*"
17
- ],
18
- "scripts": {
19
- "dev": "vite",
20
- "test": "vitest",
21
- "coverage": "vitest run --coverage",
22
- "build": "rollup -c",
23
- "build:pro": "rollup -c",
24
- "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
25
- "preview": "vite preview",
26
- "storybook": "storybook dev -p 3000",
27
- "build-storybook": "storybook build"
28
- },
29
- "dependencies": {
30
- "@emotion/react": "^11.10.6",
31
- "@emotion/styled": "^11.10.6",
32
- "@module-federation/vite": "^1.2.6",
33
- "@mui/material": "^5.15.0",
34
- "@mui/x-date-pickers": "^6.19.6",
35
- "@mui/x-tree-view": "^6.17.0",
36
- "@radix-ui/react-menubar": "^1.0.4",
37
- "@radix-ui/react-tabs": "^1.0.4",
38
- "@react-pdf-viewer/core": "^3.12.0",
39
- "@react-pdf-viewer/default-layout": "^3.12.0",
40
- "@remirror/pm": "^2.0.8",
41
- "@remirror/react": "^2.0.35",
42
- "@svgr/rollup": "^8.1.0",
43
- "date-fns": "^3.3.1",
44
- "date-fns-jalali": "^2.13.0-0",
45
- "dompurify": "^3.0.3",
46
- "he": "^1.2.0",
47
- "jalali-moment": "^3.3.11",
48
- "moment": "^2.29.4",
49
- "rc-tree-select": "^5.8.0",
50
- "react": "^18.2.0",
51
- "react-advanced-cropper": "^0.20.1",
52
- "react-apexcharts": "^1.4.1",
53
- "react-checkbox-tree": "^1.8.0",
54
- "react-copy-to-clipboard": "^5.1.0",
55
- "react-dom": "^18.2.0",
56
- "react-dropzone": "^14.2.3",
57
- "react-icons": "^4.8.0",
58
- "react-modal-image": "^2.6.0",
59
- "react-number-format": "^5.4.0",
60
- "react-perfect-scrollbar": "^1.5.8",
61
- "react-toastify": "^9.1.2",
62
- "remirror": "^2.0.37",
63
- "stylis": "^4.2.0",
64
- "stylis-plugin-rtl": "^2.1.1",
65
- "sweetalert2": "^11.10.5",
66
- "sweetalert2-react-content": "^5.0.7"
67
- },
68
- "peerDependencies": {
69
- "react": "^18.2.0",
70
- "react-dom": "^18.2.0",
71
- "react-hook-form": "^7.46.1"
72
- },
73
- "devDependencies": {
74
- "@remirror/core-types": "^2.0.5",
75
- "@remirror/types": "^1.0.1",
76
- "@rollup/plugin-commonjs": "^25.0.7",
77
- "@rollup/plugin-json": "^6.1.0",
78
- "@rollup/plugin-node-resolve": "^15.2.3",
79
- "@rollup/plugin-typescript": "^11.1.6",
80
- "@storybook/addon-essentials": "7.4.5",
81
- "@storybook/addon-interactions": "7.4.5",
82
- "@storybook/addon-links": "7.4.5",
83
- "@storybook/addon-styling": "^1.3.7",
84
- "@storybook/blocks": "7.4.5",
85
- "@storybook/manager-api": "^7.4.5",
86
- "@storybook/react": "7.4.5",
87
- "@storybook/react-vite": "7.4.5",
88
- "@storybook/testing-library": "0.2.1",
89
- "@storybook/theming": "^7.4.5",
90
- "@testing-library/jest-dom": "^6.4.2",
91
- "@testing-library/react": "^14.2.1",
92
- "@types/babel__traverse": "^7.18.5",
93
- "@types/dompurify": "^3.0.2",
94
- "@types/he": "^1.2.3",
95
- "@types/react": "^18.2.7",
96
- "@types/react-copy-to-clipboard": "^5.0.4",
97
- "@types/react-dom": "^18.2.4",
98
- "@types/react-modal-image": "^2.6.0",
99
- "@types/stylis": "^4.0.2",
100
- "@typescript-eslint/eslint-plugin": "^5.57.1",
101
- "@typescript-eslint/parser": "^5.57.1",
102
- "@vitejs/plugin-react": "^3.1.0",
103
- "@vitest/coverage-v8": "^1.3.1",
104
- "autoprefixer": "^10.4.14",
105
- "cssnano": "^6.0.1",
106
- "esbuild": "^0.20.1",
107
- "eslint": "^8.38.0",
108
- "eslint-plugin-react-hooks": "^4.6.0",
109
- "eslint-plugin-react-refresh": "^0.3.4",
110
- "eslint-plugin-storybook": "^0.6.14",
111
- "jsdom": "^22.1.0",
112
- "prop-types": "15.8.1",
113
- "rollup": "^4.12.0",
114
- "rollup-plugin-esbuild": "^6.1.1",
115
- "rollup-plugin-peer-deps-external": "^2.2.4",
116
- "rollup-plugin-postcss": "^4.0.2",
117
- "rollup-plugin-scss": "^4.0.0",
118
- "sass": "^1.62.1",
119
- "storybook": "7.4.5",
120
- "storybook-addon-rtl": "^0.5.0",
121
- "typescript": "^5.0.2",
122
- "vite": "^4.3.2",
123
- "vite-plugin-dts": "^3.7.3",
124
- "vite-tsconfig-paths": "^4.3.1",
125
- "vitest": "^0.34.1"
126
- }
127
- }
1
+ {
2
+ "name": "kdpa-components",
3
+ "version": "1.49.0",
4
+ "private": false,
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/types/components/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/types/components/index.d.ts",
11
+ "default": "./dist/index.js"
12
+ },
13
+ "./dist/index.css": "./dist/index.css"
14
+ },
15
+ "files": [
16
+ "dist/*"
17
+ ],
18
+ "scripts": {
19
+ "dev": "vite",
20
+ "test": "vitest",
21
+ "coverage": "vitest run --coverage",
22
+ "build": "rollup -c",
23
+ "build:pro": "rollup -c",
24
+ "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
25
+ "preview": "vite preview",
26
+ "storybook": "storybook dev -p 3000",
27
+ "build-storybook": "storybook build"
28
+ },
29
+ "dependencies": {
30
+ "@emotion/react": "^11.10.6",
31
+ "@emotion/styled": "^11.10.6",
32
+ "@mui/material": "^5.15.0",
33
+ "@mui/x-date-pickers": "^6.19.6",
34
+ "@mui/x-tree-view": "^6.17.0",
35
+ "@radix-ui/react-menubar": "^1.0.4",
36
+ "@radix-ui/react-tabs": "^1.0.4",
37
+ "@react-pdf-viewer/core": "^3.12.0",
38
+ "@react-pdf-viewer/default-layout": "^3.12.0",
39
+ "@remirror/pm": "^2.0.8",
40
+ "@remirror/react": "^2.0.35",
41
+ "@svgr/rollup": "^8.1.0",
42
+ "date-fns": "^3.3.1",
43
+ "date-fns-jalali": "^2.13.0-0",
44
+ "dompurify": "^3.0.3",
45
+ "he": "^1.2.0",
46
+ "jalali-moment": "^3.3.11",
47
+ "moment": "^2.29.4",
48
+ "rc-tree-select": "^5.8.0",
49
+ "react": "^18.2.0",
50
+ "react-advanced-cropper": "^0.20.1",
51
+ "react-apexcharts": "^1.4.1",
52
+ "react-checkbox-tree": "^1.8.0",
53
+ "react-copy-to-clipboard": "^5.1.0",
54
+ "react-dom": "^18.2.0",
55
+ "react-dropzone": "^14.2.3",
56
+ "react-icons": "^4.8.0",
57
+ "react-modal-image": "^2.6.0",
58
+ "react-number-format": "^5.4.0",
59
+ "react-perfect-scrollbar": "^1.5.8",
60
+ "react-toastify": "^9.1.2",
61
+ "remirror": "^2.0.37",
62
+ "stylis": "^4.2.0",
63
+ "stylis-plugin-rtl": "^2.1.1",
64
+ "sweetalert2": "^11.10.5",
65
+ "sweetalert2-react-content": "^5.0.7"
66
+ },
67
+ "peerDependencies": {
68
+ "react": "^18.2.0",
69
+ "react-dom": "^18.2.0",
70
+ "react-hook-form": "^7.46.1"
71
+ },
72
+ "devDependencies": {
73
+ "@remirror/core-types": "^2.0.5",
74
+ "@remirror/types": "^1.0.1",
75
+ "@rollup/plugin-commonjs": "^25.0.7",
76
+ "@rollup/plugin-json": "^6.1.0",
77
+ "@rollup/plugin-node-resolve": "^15.2.3",
78
+ "@rollup/plugin-typescript": "^11.1.6",
79
+ "@storybook/addon-essentials": "7.4.5",
80
+ "@storybook/addon-interactions": "7.4.5",
81
+ "@storybook/addon-links": "7.4.5",
82
+ "@storybook/addon-styling": "^1.3.7",
83
+ "@storybook/blocks": "7.4.5",
84
+ "@storybook/manager-api": "^7.4.5",
85
+ "@storybook/react": "7.4.5",
86
+ "@storybook/react-vite": "7.4.5",
87
+ "@storybook/testing-library": "0.2.1",
88
+ "@storybook/theming": "^7.4.5",
89
+ "@testing-library/jest-dom": "^6.4.2",
90
+ "@testing-library/react": "^14.2.1",
91
+ "@types/babel__traverse": "^7.18.5",
92
+ "@types/dompurify": "^3.0.2",
93
+ "@types/he": "^1.2.3",
94
+ "@types/react": "^18.2.7",
95
+ "@types/react-copy-to-clipboard": "^5.0.4",
96
+ "@types/react-dom": "^18.2.4",
97
+ "@types/react-modal-image": "^2.6.0",
98
+ "@types/stylis": "^4.0.2",
99
+ "@typescript-eslint/eslint-plugin": "^5.57.1",
100
+ "@typescript-eslint/parser": "^5.57.1",
101
+ "@vitejs/plugin-react": "^3.1.0",
102
+ "@vitest/coverage-v8": "^1.3.1",
103
+ "autoprefixer": "^10.4.14",
104
+ "cssnano": "^6.0.1",
105
+ "esbuild": "^0.20.1",
106
+ "eslint": "^8.38.0",
107
+ "eslint-plugin-react-hooks": "^4.6.0",
108
+ "eslint-plugin-react-refresh": "^0.3.4",
109
+ "eslint-plugin-storybook": "^0.6.14",
110
+ "jsdom": "^22.1.0",
111
+ "prop-types": "15.8.1",
112
+ "rollup": "^4.12.0",
113
+ "rollup-plugin-esbuild": "^6.1.1",
114
+ "rollup-plugin-peer-deps-external": "^2.2.4",
115
+ "rollup-plugin-postcss": "^4.0.2",
116
+ "rollup-plugin-scss": "^4.0.0",
117
+ "sass": "^1.62.1",
118
+ "storybook": "7.4.5",
119
+ "storybook-addon-rtl": "^0.5.0",
120
+ "typescript": "^5.0.2",
121
+ "vite": "^4.3.2",
122
+ "vite-plugin-dts": "^3.7.3",
123
+ "vite-tsconfig-paths": "^4.3.1",
124
+ "vitest": "^0.34.1"
125
+ }
126
+ }
package/dist/dist.rar DELETED
Binary file
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- interface PanelWrapperProps {
3
- isOpen?: boolean;
4
- children: React.ReactNode;
5
- onClose: () => void;
6
- [x: string]: any;
7
- }
8
- declare function PanelWrapper({ type, isOpen, children, onClose, ...props }: PanelWrapperProps): import("react/jsx-runtime").JSX.Element;
9
- export default PanelWrapper;
10
- //# sourceMappingURL=PanelWrapper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PanelWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/designerKit/components/GridPanel/PanelWrapper.tsx"],"names":[],"mappings":";AAGA,UAAU,iBAAiB;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB;AAED,iBAAS,YAAY,CAAC,EAAE,IAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAehG;AAED,eAAe,YAAY,CAAC"}
@@ -1,9 +0,0 @@
1
- import { TypeUploadHandler } from "../KdFileUploader/KdFileUploader";
2
- interface DroppedFilesProps {
3
- item: string;
4
- onDelete: (item: string) => void;
5
- uploadHandler?: TypeUploadHandler;
6
- }
7
- export default function DroppedFiles({ item, onDelete, uploadHandler, }: DroppedFilesProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=DroppedFiles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DroppedFiles.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdAdvanceFileUploader/DroppedFiles.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAErE,UAAU,iBAAiB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,IAAI,EACJ,QAAQ,EACR,aAAa,GACd,EAAE,iBAAiB,2CA0DnB"}
@@ -1,9 +0,0 @@
1
- import { TypeUploadHandler } from "./KdFileUploader";
2
- interface UploadedItemsProps {
3
- item: string;
4
- onDelete: (item: string) => void;
5
- uploadHandler?: TypeUploadHandler;
6
- }
7
- declare function UploadedItems({ item, uploadHandler, onDelete }: UploadedItemsProps): import("react/jsx-runtime").JSX.Element;
8
- export default UploadedItems;
9
- //# sourceMappingURL=UploadedItems.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UploadedItems.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdFileUploader/UploadedItems.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,UAAU,kBAAkB;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,iBAAS,aAAa,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CA0D3E;AAED,eAAe,aAAa,CAAC"}
@@ -1,10 +0,0 @@
1
- export interface KdUploadedFileProps {
2
- sessionId: string;
3
- fileName?: string;
4
- onDelete: (session: string) => void;
5
- smallUrl: string;
6
- mediumUrl?: string;
7
- largeUrl: string;
8
- }
9
- export default function KdUploadedFile({ sessionId, fileName, onDelete, smallUrl, mediumUrl, largeUrl, }: KdUploadedFileProps): import("react/jsx-runtime").JSX.Element;
10
- //# sourceMappingURL=KdUploadedFile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KdUploadedFile.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdUploadedFile/KdUploadedFile.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,QAAQ,GACT,EAAE,mBAAmB,2CA+CrB"}
@@ -1,6 +0,0 @@
1
- export interface KdUploadingFileProps {
2
- progress: number;
3
- }
4
- export declare function CircularProgressWithLabel(props: any): import("react/jsx-runtime").JSX.Element;
5
- export default function KdUploadingFile({ progress }: KdUploadingFileProps): import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=KdUploadingFile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KdUploadingFile.d.ts","sourceRoot":"","sources":["../../../../../../src/designerKit/components/Uploader/KdUploadingFile/KdUploadingFile.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,GAAG,2CAsBnD;AACD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,QAAQ,EAAE,EAAE,oBAAoB,2CA2CzE"}
@@ -1,19 +0,0 @@
1
- export declare const fileExtension: {
2
- image: string[];
3
- text: string[];
4
- video: string[];
5
- compress: string[];
6
- };
7
- export declare const pathFile: {
8
- streamPath: string;
9
- thumbnailstreamPath: string;
10
- tempPath: string;
11
- thumbnailTempPath: string;
12
- exportPath: string;
13
- };
14
- export declare const pathServicesUpload: {
15
- pathFileUpload: string;
16
- pathForUploadCunk: string;
17
- pathForGetFile: string;
18
- };
19
- //# sourceMappingURL=fileUtils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fileUtils.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/fileUtils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;CAoCzB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import { TypeMeta } from "../components/Typography/KdTypography";
3
- export declare const typographyHelper: (value: React.ReactNode, meta: TypeMeta) => string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<import("react").ReactNode> | null | undefined;
4
- export declare const textWrapper: (text: string, maxLength?: number) => import("react/jsx-runtime").JSX.Element;
5
- //# sourceMappingURL=typographyHelper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"typographyHelper.d.ts","sourceRoot":"","sources":["../../../../src/designerKit/utils/typographyHelper.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAGjE,eAAO,MAAM,gBAAgB,UAAW,MAAM,SAAS,QAAQ,QAAQ,iIAiBtE,CAAC;AAOF,eAAO,MAAM,WAAW,SAAU,MAAM,cAAc,MAAM,4CAQ3D,CAAC"}