1mpacto-react-ui 0.1.7 → 0.1.9
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/assets/_colors.scss +40 -0
- package/dist/assets/_mixins.scss +17 -17
- package/dist/assets/_typography.scss +230 -0
- package/dist/assets/colors.css +20 -0
- package/dist/assets/core.css +1 -1
- package/dist/assets/fontfamily.css +1 -1
- package/dist/assets/icons/arrow-narrow-down.svg +3 -3
- package/dist/assets/style.css +1 -1
- package/dist/index.cjs +111 -110
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +9911 -9343
- package/dist/index.mjs.map +1 -1
- package/dist/package.json.d.ts +131 -131
- package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/dist/src/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -1
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +2 -1
- package/dist/src/components/Table/Table.d.ts +1 -1
- package/dist/src/components/Table/Table.stories.d.ts +1 -1
- package/dist/src/components/Table/TableSubMobile.d.ts +4 -0
- package/dist/src/components/index.d.ts +8 -6
- package/dist/src/config/tailwind/index.d.ts +2 -1
- package/dist/src/config/tailwind/nativeScreen.d.ts +3 -0
- package/dist/src/interfaces/components/Breadcrumbs/index.d.ts +3 -0
- package/dist/src/interfaces/components/Button/index.d.ts +1 -1
- package/dist/src/interfaces/components/Calendar/index.d.ts +1 -1
- package/dist/src/interfaces/components/Sidebar/index.d.ts +2 -1
- package/dist/src/interfaces/components/Table/index.d.ts +27 -5
- package/dist/src/utils/common.d.ts +4 -4
- package/dist/tinymce/CHANGELOG.md +3785 -3785
- package/dist/tinymce/js/tinymce/langs/README.md +3 -3
- package/dist/tinymce/js/tinymce/license.md +6 -6
- package/dist/tinymce/js/tinymce/notices.txt +21 -21
- package/dist/tinymce/js/tinymce/plugins/codesample/plugin.min.js +8 -8
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ar.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ca.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/cs.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/da.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/de.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/el.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/en.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/es.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/eu.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fa.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fi.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/he_IL.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hi.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hr.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/id.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/it.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ja.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/kk.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ms.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/nl.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pl.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ro.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/ru.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sk.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/th_TH.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/tr.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/uk.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/vi.js +92 -92
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +86 -86
- package/dist/tinymce/js/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +92 -92
- package/dist/tinymce/js/tinymce/skins/content/dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/default/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/default/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/document/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/document/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5-dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/tinymce-5-dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/content/writer/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/content/writer/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.js +9 -9
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/content.min.css +10 -10
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
- package/dist/tinymce/js/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -1
- package/dist/tinymce/js/tinymce/tinymce.d.ts +3350 -3350
- package/dist/tinymce/js/tinymce/tinymce.min.js +10 -10
- package/dist/types-external/table.d.ts +15 -12
- package/package.json +131 -131
package/dist/package.json.d.ts
CHANGED
|
@@ -1,134 +1,134 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"name": "1mpacto-react-ui",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"engines": {
|
|
7
|
-
"node": ">=20.19.4",
|
|
8
|
-
"npm": ">=10.8.2"
|
|
9
|
-
},
|
|
10
|
-
"scripts": {
|
|
11
|
-
"copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",
|
|
12
|
-
"copy:mixin-scss": "cp ./src/styles/_mixins.scss ./dist/assets/_mixins.scss",
|
|
13
|
-
"dev": "vite",
|
|
14
|
-
"transform:style": "node -r ./src/utils/register-ts-node.js ./src/utils/generate-file-style.js",
|
|
15
|
-
"postProcess:fontfamily": "node ./src/utils/post-process-css.js",
|
|
16
|
-
"process:transformStyle": "npm run postProcess:fontfamily && npm run transform:style",
|
|
17
|
-
"process:copyStyle": "npm run copy:mixin-scss && npm run copy:toastify-css",
|
|
18
|
-
"build": "tsc -b && vite build && npm run build:css && npm run build:fontfamily && npm run process:copyStyle && npm run process:transformStyle",
|
|
19
|
-
"build:css": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify",
|
|
20
|
-
"build:fontfamily": "sass ./src/styles/fontfamily.scss ./dist/assets/fontfamily.css --no-source-map --style=compressed",
|
|
21
|
-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
22
|
-
"preview": "vite preview",
|
|
23
|
-
"prepare": "husky && npm run build",
|
|
24
|
-
"watch:build": "npx watch \"npm run build\" ./src",
|
|
25
|
-
"storybook": "storybook dev -p 6006",
|
|
26
|
-
"build-storybook": "storybook build",
|
|
27
|
-
"postbuild": "copyfiles -f src/types/* dist/types-external/",
|
|
28
|
-
"install": "copyfiles -f dist/types-external/* ../../src/types/"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@chromatic-com/storybook": "^3.2.2",
|
|
32
|
-
"@storybook/addon-essentials": "^8.4.7",
|
|
33
|
-
"@storybook/addon-interactions": "^8.4.7",
|
|
34
|
-
"@storybook/addon-onboarding": "^8.4.7",
|
|
35
|
-
"@storybook/blocks": "^8.4.7",
|
|
36
|
-
"@storybook/react": "^8.4.7",
|
|
37
|
-
"@storybook/react-vite": "^8.4.7",
|
|
38
|
-
"@storybook/test": "^8.4.7",
|
|
39
|
-
"@types/js-cookie": "^3.0.6",
|
|
40
|
-
"@types/node": "^20.14.10",
|
|
41
|
-
"@types/node-forge": "^1.3.14",
|
|
42
|
-
"@types/react": "^18.3.3",
|
|
43
|
-
"@types/react-dom": "^18.3.0",
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
|
45
|
-
"@typescript-eslint/parser": "^7.13.1",
|
|
46
|
-
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
47
|
-
"autoprefixer": "^10.4.19",
|
|
48
|
-
"eslint": "^8.57.0",
|
|
49
|
-
"eslint-config-prettier": "^9.1.0",
|
|
50
|
-
"eslint-plugin-import": "^2.32.0",
|
|
51
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
52
|
-
"eslint-plugin-react": "^7.34.3",
|
|
53
|
-
"eslint-plugin-react-hooks": "^4.6.2",
|
|
54
|
-
"eslint-plugin-react-refresh": "^0.4.7",
|
|
55
|
-
"eslint-plugin-storybook": "^0.11.1",
|
|
56
|
-
"glob": "^11.0.3",
|
|
57
|
-
"husky": "^9.0.11",
|
|
58
|
-
"lint-staged": "^15.2.7",
|
|
59
|
-
"postcss": "^8.4.39",
|
|
60
|
-
"prettier": "^3.3.2",
|
|
61
|
-
"react": "^18.3.1",
|
|
62
|
-
"react-dom": "^18.3.1",
|
|
63
|
-
"sass": "^1.77.6",
|
|
64
|
-
"storybook": "^8.4.7",
|
|
65
|
-
"tailwindcss": "^3.4.4",
|
|
66
|
-
"ts-node": "^10.9.2",
|
|
67
|
-
"typescript": "^5.2.2",
|
|
68
|
-
"vite": "^5.3.1",
|
|
69
|
-
"vite-plugin-dts": "^3.9.1"
|
|
70
|
-
},
|
|
71
|
-
"peerDependencies": {
|
|
72
|
-
"react": ">=18",
|
|
73
|
-
"react-dom": ">=18",
|
|
74
|
-
"yup": ">=1.4.0"
|
|
75
|
-
},
|
|
76
|
-
"main": "./dist/index.cjs",
|
|
77
|
-
"module": "./dist/index.mjs",
|
|
78
|
-
"types": "./dist/index.d.ts",
|
|
79
|
-
"exports": {
|
|
80
|
-
".": {
|
|
81
|
-
"types": "./dist/index.d.ts",
|
|
82
|
-
"import": "./dist/index.mjs",
|
|
83
|
-
"require": "./dist/index.cjs"
|
|
84
|
-
},
|
|
85
|
-
"./dist/assets/toast.css": "./dist/assets/toast.css",
|
|
86
|
-
"./dist/assets/core.css": "./dist/assets/core.css",
|
|
87
|
-
"./dist/assets/style.css": "./dist/assets/style.css",
|
|
88
|
-
"./dist/assets/colors.css": "./dist/assets/colors.css",
|
|
89
|
-
"./dist/assets/_colors.scss": "./dist/assets/_colors.scss",
|
|
90
|
-
"./dist/assets/typography.css": "./dist/assets/typography.css",
|
|
91
|
-
"./dist/assets/_typography.scss": "./dist/assets/_typography.scss",
|
|
92
|
-
"./dist/assets/screen.css": "./dist/assets/screen.css",
|
|
93
|
-
"./dist/assets/_screen.scss": "./dist/assets/_screen.scss",
|
|
94
|
-
"./dist/assets/_mixins.scss": "./dist/assets/_mixins.scss"
|
|
95
|
-
},
|
|
96
|
-
"files": [
|
|
97
|
-
"/dist"
|
|
98
|
-
],
|
|
99
|
-
"publishConfig": {
|
|
100
|
-
"access": "public"
|
|
101
|
-
},
|
|
102
|
-
"lint-staged": {
|
|
103
|
-
"*.{js,jsx,ts,tsx}": [
|
|
104
|
-
"eslint --quiet --fix"
|
|
105
|
-
],
|
|
106
|
-
"*.{json,js,ts,jsx,tsx,html}": [
|
|
107
|
-
"prettier --write --ignore-unknown"
|
|
108
|
-
]
|
|
109
|
-
},
|
|
110
|
-
"dependencies": {
|
|
111
|
-
"@floating-ui/react": "^0.26.19",
|
|
112
|
-
"@internationalized/date": "^3.5.4",
|
|
113
|
-
"@tanstack/react-table": "^8.19.2",
|
|
114
|
-
"@tinymce/tinymce-react": "^6.2.1",
|
|
115
|
-
"bignumber.js": "^9.1.2",
|
|
116
|
-
"chart.js": "^4.4.3",
|
|
117
|
-
"copyfiles": "^2.4.1",
|
|
118
|
-
"date-fns": "^3.6.0",
|
|
119
|
-
"js-cookie": "^3.0.5",
|
|
120
|
-
"lossless-json": "^4.0.2",
|
|
121
|
-
"node-forge": "^1.3.1",
|
|
122
|
-
"react-aria": "^3.33.1",
|
|
123
|
-
"react-chartjs-2": "^5.2.0",
|
|
124
|
-
"react-number-format": "^5.4.0",
|
|
125
|
-
"react-select": "^5.8.0",
|
|
126
|
-
"react-stately": "^3.31.1",
|
|
127
|
-
"react-toastify": "^10.0.5",
|
|
128
|
-
"react-virtuoso": "^4.7.11",
|
|
129
|
-
"tinymce": "^7.9.1"
|
|
130
|
-
}
|
|
131
|
-
}
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"name": "1mpacto-react-ui",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.1.9",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=20.19.4",
|
|
8
|
+
"npm": ">=10.8.2"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"copy:toastify-css": "cp ./node_modules/react-toastify/dist/ReactToastify.css ./dist/assets/toast.css",
|
|
12
|
+
"copy:mixin-scss": "cp ./src/styles/_mixins.scss ./dist/assets/_mixins.scss",
|
|
13
|
+
"dev": "vite",
|
|
14
|
+
"transform:style": "node -r ./src/utils/register-ts-node.js ./src/utils/generate-file-style.js",
|
|
15
|
+
"postProcess:fontfamily": "node ./src/utils/post-process-css.js",
|
|
16
|
+
"process:transformStyle": "npm run postProcess:fontfamily && npm run transform:style",
|
|
17
|
+
"process:copyStyle": "npm run copy:mixin-scss && npm run copy:toastify-css",
|
|
18
|
+
"build": "tsc -b && vite build && npm run build:css && npm run build:fontfamily && npm run process:copyStyle && npm run process:transformStyle",
|
|
19
|
+
"build:css": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify",
|
|
20
|
+
"build:fontfamily": "sass ./src/styles/fontfamily.scss ./dist/assets/fontfamily.css --no-source-map --style=compressed",
|
|
21
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
22
|
+
"preview": "vite preview",
|
|
23
|
+
"prepare": "husky && npm run build",
|
|
24
|
+
"watch:build": "npx watch \"npm run build\" ./src",
|
|
25
|
+
"storybook": "storybook dev -p 6006",
|
|
26
|
+
"build-storybook": "storybook build",
|
|
27
|
+
"postbuild": "copyfiles -f src/types/* dist/types-external/",
|
|
28
|
+
"install": "copyfiles -f dist/types-external/* ../../src/types/"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@chromatic-com/storybook": "^3.2.2",
|
|
32
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
33
|
+
"@storybook/addon-interactions": "^8.4.7",
|
|
34
|
+
"@storybook/addon-onboarding": "^8.4.7",
|
|
35
|
+
"@storybook/blocks": "^8.4.7",
|
|
36
|
+
"@storybook/react": "^8.4.7",
|
|
37
|
+
"@storybook/react-vite": "^8.4.7",
|
|
38
|
+
"@storybook/test": "^8.4.7",
|
|
39
|
+
"@types/js-cookie": "^3.0.6",
|
|
40
|
+
"@types/node": "^20.14.10",
|
|
41
|
+
"@types/node-forge": "^1.3.14",
|
|
42
|
+
"@types/react": "^18.3.3",
|
|
43
|
+
"@types/react-dom": "^18.3.0",
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^7.13.1",
|
|
45
|
+
"@typescript-eslint/parser": "^7.13.1",
|
|
46
|
+
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
47
|
+
"autoprefixer": "^10.4.19",
|
|
48
|
+
"eslint": "^8.57.0",
|
|
49
|
+
"eslint-config-prettier": "^9.1.0",
|
|
50
|
+
"eslint-plugin-import": "^2.32.0",
|
|
51
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
52
|
+
"eslint-plugin-react": "^7.34.3",
|
|
53
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
54
|
+
"eslint-plugin-react-refresh": "^0.4.7",
|
|
55
|
+
"eslint-plugin-storybook": "^0.11.1",
|
|
56
|
+
"glob": "^11.0.3",
|
|
57
|
+
"husky": "^9.0.11",
|
|
58
|
+
"lint-staged": "^15.2.7",
|
|
59
|
+
"postcss": "^8.4.39",
|
|
60
|
+
"prettier": "^3.3.2",
|
|
61
|
+
"react": "^18.3.1",
|
|
62
|
+
"react-dom": "^18.3.1",
|
|
63
|
+
"sass": "^1.77.6",
|
|
64
|
+
"storybook": "^8.4.7",
|
|
65
|
+
"tailwindcss": "^3.4.4",
|
|
66
|
+
"ts-node": "^10.9.2",
|
|
67
|
+
"typescript": "^5.2.2",
|
|
68
|
+
"vite": "^5.3.1",
|
|
69
|
+
"vite-plugin-dts": "^3.9.1"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"react": ">=18",
|
|
73
|
+
"react-dom": ">=18",
|
|
74
|
+
"yup": ">=1.4.0"
|
|
75
|
+
},
|
|
76
|
+
"main": "./dist/index.cjs",
|
|
77
|
+
"module": "./dist/index.mjs",
|
|
78
|
+
"types": "./dist/index.d.ts",
|
|
79
|
+
"exports": {
|
|
80
|
+
".": {
|
|
81
|
+
"types": "./dist/index.d.ts",
|
|
82
|
+
"import": "./dist/index.mjs",
|
|
83
|
+
"require": "./dist/index.cjs"
|
|
84
|
+
},
|
|
85
|
+
"./dist/assets/toast.css": "./dist/assets/toast.css",
|
|
86
|
+
"./dist/assets/core.css": "./dist/assets/core.css",
|
|
87
|
+
"./dist/assets/style.css": "./dist/assets/style.css",
|
|
88
|
+
"./dist/assets/colors.css": "./dist/assets/colors.css",
|
|
89
|
+
"./dist/assets/_colors.scss": "./dist/assets/_colors.scss",
|
|
90
|
+
"./dist/assets/typography.css": "./dist/assets/typography.css",
|
|
91
|
+
"./dist/assets/_typography.scss": "./dist/assets/_typography.scss",
|
|
92
|
+
"./dist/assets/screen.css": "./dist/assets/screen.css",
|
|
93
|
+
"./dist/assets/_screen.scss": "./dist/assets/_screen.scss",
|
|
94
|
+
"./dist/assets/_mixins.scss": "./dist/assets/_mixins.scss"
|
|
95
|
+
},
|
|
96
|
+
"files": [
|
|
97
|
+
"/dist"
|
|
98
|
+
],
|
|
99
|
+
"publishConfig": {
|
|
100
|
+
"access": "public"
|
|
101
|
+
},
|
|
102
|
+
"lint-staged": {
|
|
103
|
+
"*.{js,jsx,ts,tsx}": [
|
|
104
|
+
"eslint --quiet --fix"
|
|
105
|
+
],
|
|
106
|
+
"*.{json,js,ts,jsx,tsx,html}": [
|
|
107
|
+
"prettier --write --ignore-unknown"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"dependencies": {
|
|
111
|
+
"@floating-ui/react": "^0.26.19",
|
|
112
|
+
"@internationalized/date": "^3.5.4",
|
|
113
|
+
"@tanstack/react-table": "^8.19.2",
|
|
114
|
+
"@tinymce/tinymce-react": "^6.2.1",
|
|
115
|
+
"bignumber.js": "^9.1.2",
|
|
116
|
+
"chart.js": "^4.4.3",
|
|
117
|
+
"copyfiles": "^2.4.1",
|
|
118
|
+
"date-fns": "^3.6.0",
|
|
119
|
+
"js-cookie": "^3.0.5",
|
|
120
|
+
"lossless-json": "^4.0.2",
|
|
121
|
+
"node-forge": "^1.3.1",
|
|
122
|
+
"react-aria": "^3.33.1",
|
|
123
|
+
"react-chartjs-2": "^5.2.0",
|
|
124
|
+
"react-number-format": "^5.4.0",
|
|
125
|
+
"react-select": "^5.8.0",
|
|
126
|
+
"react-stately": "^3.31.1",
|
|
127
|
+
"react-toastify": "^10.0.5",
|
|
128
|
+
"react-virtuoso": "^4.7.11",
|
|
129
|
+
"tinymce": "^7.9.1"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
132
|
;
|
|
133
133
|
|
|
134
134
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementType } from 'react';
|
|
2
2
|
import { IBreadcrumbs } from '../../interfaces/components/Breadcrumbs';
|
|
3
3
|
|
|
4
|
-
declare const Breadcrumbs: <T extends ElementType = "div">({ as, variants, fonts, urls, textBreadcrumbs, onClickBreadcrumbs, gapAction, gapUrls, className, textAction, iconAction, onClickAction, onClickUrls, separator, propsLink, ...props }: IBreadcrumbs<T>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const Breadcrumbs: <T extends ElementType = "div">({ as, variants, fonts, urls, textBreadcrumbs, onClickBreadcrumbs, gapAction, gapUrls, className, textAction, iconAction, onClickAction, onClickUrls, separator, propsLink, classNameAction, classNameUrl, renderAction, ...props }: IBreadcrumbs<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
export default Breadcrumbs;
|
|
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: <T extends import('react').ElementType = "div">({ as, variants, fonts, urls, textBreadcrumbs, onClickBreadcrumbs, gapAction, gapUrls, className, textAction, iconAction, onClickAction, onClickUrls, separator, propsLink, ...props }: import('../../interfaces/components/Breadcrumbs').IBreadcrumbs<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
component: <T extends import('react').ElementType = "div">({ as, variants, fonts, urls, textBreadcrumbs, onClickBreadcrumbs, gapAction, gapUrls, className, textAction, iconAction, onClickAction, onClickUrls, separator, propsLink, classNameAction, classNameUrl, renderAction, ...props }: import('../../interfaces/components/Breadcrumbs').IBreadcrumbs<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
@@ -2,4 +2,5 @@ import { StylesConfig } from 'react-select';
|
|
|
2
2
|
|
|
3
3
|
export declare const styleSelectDropdownContainerLaba: StylesConfig;
|
|
4
4
|
export declare const styleSelectDropdownContainerPayhere: StylesConfig;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const styleSelectDropdownContainerNoSearchLaba: StylesConfig;
|
|
6
|
+
export declare const styleSelectDropdownContainerNoSearchPayhere: StylesConfig;
|
|
@@ -4,5 +4,5 @@ import { ITable, IVirtualizationHead, IVirtualizationTable, ITableConfig } from
|
|
|
4
4
|
export declare const ConfigTable: () => ITableConfig;
|
|
5
5
|
export declare const VirtualizationHead: React.ForwardRefExoticComponent<Omit<IVirtualizationHead, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
6
6
|
export declare const VirtualizationTable: ({ style, context, ...props }: IVirtualizationTable) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare const Table: <T>({ tableInstance, classNameWrapperTable, classNameTable, collapseAll, handlerRowClick, privillageRowClick, virtualization, virtualizationProps, headerId, tbodyTrId, maxHeight, idCalculateHeight, kind, componentSortASC, componentSortDESC, scrollTop, emptyPlaceholder, variant, renderSubComponent, }: ITable<T>) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare const Table: <T>({ tableInstance, classNameWrapperTable, classNameTable, collapseAll, handlerRowClick, privillageRowClick, virtualization, virtualizationProps, headerId, tbodyTrId, maxHeight, idCalculateHeight, kind, componentSortASC, componentSortDESC, scrollTop, emptyPlaceholder, variant, renderSubComponent, columnBreakpoints, }: ITable<T>) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export default Table;
|
|
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: <T>({ tableInstance, classNameWrapperTable, classNameTable, collapseAll, handlerRowClick, privillageRowClick, virtualization, virtualizationProps, headerId, tbodyTrId, maxHeight, idCalculateHeight, kind, componentSortASC, componentSortDESC, scrollTop, emptyPlaceholder, variant, renderSubComponent, }: import('../../interfaces/components/Table').ITable<T>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
component: <T>({ tableInstance, classNameWrapperTable, classNameTable, collapseAll, handlerRowClick, privillageRowClick, virtualization, virtualizationProps, headerId, tbodyTrId, maxHeight, idCalculateHeight, kind, componentSortASC, componentSortDESC, scrollTop, emptyPlaceholder, variant, renderSubComponent, columnBreakpoints, }: import('../../interfaces/components/Table').ITable<T>) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ICollapse } from './../interfaces/components/Collapse';
|
|
2
2
|
import { IMasonryLayout } from './../hooks/useMasonry';
|
|
3
3
|
import { IChips } from './../interfaces/components/Chips';
|
|
4
|
-
import { IDatePicker } from './../interfaces/components/DatePicker
|
|
4
|
+
import { IDatePicker } from './../interfaces/components/DatePicker';
|
|
5
5
|
import { default as TPublish } from './TPublish/TPublish';
|
|
6
6
|
import { default as Button } from './Button/Button';
|
|
7
7
|
import { default as Popover } from './Popover/Popover';
|
|
@@ -9,7 +9,8 @@ import { IRefPopover, IPopover } from '../interfaces/components/Popover';
|
|
|
9
9
|
import { default as InputFloatingInner } from './Input/InputFloatingInner';
|
|
10
10
|
import { default as InputReguler } from './Input/InputReguler';
|
|
11
11
|
import { default as Table, ConfigTable } from './Table/Table';
|
|
12
|
-
import {
|
|
12
|
+
import { default as TableSubComponent } from './Table/TableSubMobile';
|
|
13
|
+
import { ITableColumnDef, ITableColumnBreakpoint, ITableConfig, TTableRenderSubComponent, TTableHandlerRowClick } from '../interfaces/components/Table';
|
|
13
14
|
import { default as TableVirtualization } from './Virtualization/TableVirtualization';
|
|
14
15
|
import { TableVirtuosoHandle as IRefTableVirtualization, VirtuosoHandle as IRefListVirtualization } from 'react-virtuoso';
|
|
15
16
|
import { default as ListVirtualization } from './Virtualization/ListVirtualization';
|
|
@@ -23,6 +24,7 @@ import { default as CalendarRange } from './Calendar/CalendarRange';
|
|
|
23
24
|
import { default as DatePicker } from './DatePicker/DatePicker';
|
|
24
25
|
import { default as DateRangePicker } from './DatePicker/DateRangePicker';
|
|
25
26
|
import { default as FilterDate } from './DatePicker/FilterDate';
|
|
27
|
+
import { TKeyLocale } from '../interfaces/components/Calendar';
|
|
26
28
|
import { IFilterDateButtonList, TKeyFilterDateButtonListType } from '../interfaces/components/DatePicker';
|
|
27
29
|
import { default as Switch } from './Switch/Switch';
|
|
28
30
|
import { default as ButtonIcon } from './ButtonIcon/ButtonIcon';
|
|
@@ -62,11 +64,11 @@ import { IUploadMultipleFileValue } from '../interfaces/components/UploadFile';
|
|
|
62
64
|
import { default as ErrorMessage } from './ErrorMessage/ErrorMessage';
|
|
63
65
|
import { default as TextareaFloatingInner } from './Textarea/TextareaFloatingInner';
|
|
64
66
|
import { default as Step } from './Step/Step';
|
|
65
|
-
import { IDataStepList } from '../interfaces/components/Step
|
|
67
|
+
import { IDataStepList } from '../interfaces/components/Step';
|
|
66
68
|
import { default as LineChart } from './Chart/LineChart';
|
|
67
69
|
import { default as Tooltip } from './Tooltip/Tooltip';
|
|
68
70
|
import { default as ButtonPopover } from './ButtonPopover/ButtonPopover';
|
|
69
|
-
import { IRefButtonPopover } from '../interfaces/components/ButtonPopover
|
|
71
|
+
import { IRefButtonPopover } from '../interfaces/components/ButtonPopover';
|
|
70
72
|
import { default as GradientLineChart } from './Chart/GradientLineChart';
|
|
71
73
|
import { default as GradientBarChart } from './Chart/GradientBarChart';
|
|
72
74
|
import { default as StepIndicator } from './Step/StepIndicator';
|
|
@@ -77,5 +79,5 @@ import { default as CollapseV2 } from './Collapse/CollapseV2';
|
|
|
77
79
|
import * as utilTable from '@tanstack/react-table';
|
|
78
80
|
import type * as SelectDropdownContainerType from 'react-select';
|
|
79
81
|
import type * as FilterContainerType from '../interfaces/components/FilterContainer';
|
|
80
|
-
export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, LineChart, Tooltip, ButtonPopover, GradientLineChart, GradientBarChart, StepIndicator, TextEditor, CollapseV2, };
|
|
81
|
-
export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, TTypeEventTabs, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, IDataLineChart, IChips, IRefButtonPopover, TGradientLineChartCustomTooltip, IGradientLineChart, IGradientLineChartDataSet, IGradientLineChartData, TGradientBarChartCustomTooltip, IGradientBarChart, IGradientBarChartDataSet, IGradientBarChartData, IFilterDateButtonList, TKeyFilterDateButtonListType, IMasonryLayout, IDataGradientBarChartCustomTooltip, IDataGradientLineChartCustomTooltip, ITextEditorProps, ICollapse, };
|
|
82
|
+
export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, LineChart, Tooltip, ButtonPopover, GradientLineChart, GradientBarChart, StepIndicator, TextEditor, CollapseV2, TableSubComponent, };
|
|
83
|
+
export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, TTypeEventTabs, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, IDataLineChart, IChips, IRefButtonPopover, TGradientLineChartCustomTooltip, IGradientLineChart, IGradientLineChartDataSet, IGradientLineChartData, TGradientBarChartCustomTooltip, IGradientBarChart, IGradientBarChartDataSet, IGradientBarChartData, IFilterDateButtonList, TKeyFilterDateButtonListType, IMasonryLayout, IDataGradientBarChartCustomTooltip, IDataGradientLineChartCustomTooltip, ITextEditorProps, ICollapse, ITableColumnBreakpoint, TTableRenderSubComponent, TTableHandlerRowClick, TKeyLocale, };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as ConfigColors } from './colors';
|
|
2
2
|
import { default as configTypography, configTypographyLabaBisnis, configTypographyPayhere } from './typography';
|
|
3
3
|
import { default as configScreens } from './screen';
|
|
4
|
+
import { default as configNativeScreens } from './nativeScreen';
|
|
4
5
|
|
|
5
|
-
export { ConfigColors, configTypography, configTypographyLabaBisnis, configTypographyPayhere, configScreens };
|
|
6
|
+
export { ConfigColors, configTypography, configTypographyLabaBisnis, configTypographyPayhere, configScreens, configNativeScreens, };
|
|
@@ -16,4 +16,7 @@ export interface IBreadcrumbs<T extends ElementType> extends HTMLAttributes<HTML
|
|
|
16
16
|
iconAction?: ReactNode | ReactNode[];
|
|
17
17
|
separator?: ReactNode | ReactNode[] | string;
|
|
18
18
|
propsLink?: (value: string, index: number, urls: string[]) => object;
|
|
19
|
+
classNameAction?: string;
|
|
20
|
+
classNameUrl?: string;
|
|
21
|
+
renderAction?: () => ReactNode | ReactNode[];
|
|
19
22
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
|
|
3
|
-
export type TButtonVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'ghost-blue-gray-100-bg_white-text_blue-gray-400' | 'ghost-laba-blue-05' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-08' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'ghost-laba-blue-01' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'secondary-red-700';
|
|
3
|
+
export type TButtonVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'ghost-blue-gray-100-bg_white-text_blue-gray-400' | 'ghost-laba-blue-05' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-08' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'ghost-laba-blue-01' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'secondary-red-700' | 'tertiary-black';
|
|
4
4
|
export type TButtonSize = 'large' | 'reguler' | 'small' | 'extra-small' | 'l' | 'm' | 's' | 'xs';
|
|
5
5
|
export interface IButton extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
6
6
|
size?: TButtonSize;
|
|
@@ -5,7 +5,7 @@ import { CalendarState, CalendarStateOptions, DateRangePickerStateOptions, Range
|
|
|
5
5
|
|
|
6
6
|
export type TCalendarType = 'date' | 'month' | 'year';
|
|
7
7
|
export type TDateType = Date | string | null | undefined;
|
|
8
|
-
export type TKeyLocale = 'id' | '
|
|
8
|
+
export type TKeyLocale = 'id-ID' | 'en-US' | 'nl-NL' | 'zh-CN';
|
|
9
9
|
export interface ICalendarPrevNextIcon {
|
|
10
10
|
prevIcon?: ReactNode | ReactNode[] | (() => ReactNode) | (() => ReactNode[]);
|
|
11
11
|
nextIcon?: ReactNode | ReactNode[] | (() => ReactNode) | (() => ReactNode[]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
|
|
3
|
-
export type TVariantSidebarType = 'payhere-brand-base-white' | 'payhere-brand-base-transparent' | 'laba-white';
|
|
3
|
+
export type TVariantSidebarType = 'payhere-brand-base-white' | 'payhere-brand-base-transparent' | 'laba-white' | 'lpd-brand-base-transparent' | 'lpd-brand-base-white';
|
|
4
4
|
export interface ISidebarModule {
|
|
5
5
|
name: string;
|
|
6
6
|
label: string;
|
|
@@ -11,6 +11,7 @@ export interface ISidebarModule {
|
|
|
11
11
|
icon?: string;
|
|
12
12
|
svgIcon?: React.ReactNode | null;
|
|
13
13
|
svgIconActive?: React.ReactNode | null;
|
|
14
|
+
svgIconHover?: React.ReactNode | null;
|
|
14
15
|
manualRoute?: boolean;
|
|
15
16
|
propsLink?: (value: string, item: ISidebarModule) => object;
|
|
16
17
|
[key: string]: unknown;
|
|
@@ -3,6 +3,15 @@ import { default as React } from 'react';
|
|
|
3
3
|
import { ITableVirtualization, IWrapperProps } from '../Virtualization/TableVirtualization';
|
|
4
4
|
|
|
5
5
|
export type ITableColumnDef<T = unknown> = ColumnDef<T>;
|
|
6
|
+
export interface ITableColumnBreakpoint {
|
|
7
|
+
maxWidth?: number;
|
|
8
|
+
minWidth?: number;
|
|
9
|
+
columns: string[];
|
|
10
|
+
realColumns?: string[];
|
|
11
|
+
resetExpanded?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export type TTableRenderSubComponent<T> = ITable<T>['renderSubComponent'];
|
|
14
|
+
export type TTableHandlerRowClick<T> = ITable<T>['handlerRowClick'];
|
|
6
15
|
export interface ITable<T = unknown> {
|
|
7
16
|
tableInstance: ITableTanstack<T>;
|
|
8
17
|
classNameWrapperTable?: string;
|
|
@@ -22,13 +31,17 @@ export interface ITable<T = unknown> {
|
|
|
22
31
|
componentSortDESC?: Element | React.ReactNode | React.ReactNode[];
|
|
23
32
|
scrollTop?: boolean;
|
|
24
33
|
emptyPlaceholder?: Element | React.ReactNode | React.ReactNode[];
|
|
25
|
-
renderSubComponent?: (original: T, row: Row<T
|
|
34
|
+
renderSubComponent?: (original: T, row: Row<T>, other: {
|
|
35
|
+
visibilityColumns: Pick<ITableColumnBreakpoint, 'columns' | 'realColumns'>;
|
|
36
|
+
classNameSubMobile: string;
|
|
37
|
+
}) => React.ReactNode | React.ReactNode[];
|
|
38
|
+
columnBreakpoints?: ITableColumnBreakpoint[];
|
|
26
39
|
}
|
|
27
40
|
export interface INonVirtualization<T = unknown> {
|
|
28
41
|
tableInstance: ITableTanstack<T>;
|
|
29
42
|
classNameWrapperTable?: string;
|
|
30
43
|
classNameTable?: string;
|
|
31
|
-
handlerRowClick?:
|
|
44
|
+
handlerRowClick?: TTableHandlerRowClick<T>;
|
|
32
45
|
privillageRowClick?: boolean;
|
|
33
46
|
headerId?: string;
|
|
34
47
|
tbodyTrId: (row: Row<T>) => string | undefined;
|
|
@@ -38,7 +51,9 @@ export interface INonVirtualization<T = unknown> {
|
|
|
38
51
|
componentSortDESC: Element | React.ReactNode | React.ReactNode[];
|
|
39
52
|
classNamePointer: string;
|
|
40
53
|
emptyPlaceholder?: Element | React.ReactNode | React.ReactNode[];
|
|
41
|
-
renderSubComponent?:
|
|
54
|
+
renderSubComponent?: TTableRenderSubComponent<T>;
|
|
55
|
+
visibilityColumns: Pick<ITableColumnBreakpoint, 'columns' | 'realColumns'>;
|
|
56
|
+
classNameSubMobile: string;
|
|
42
57
|
}
|
|
43
58
|
export interface IVirtualizationProps extends Omit<ITableVirtualization, 'typeHight' | 'itemContent' | 'fixedHeaderContent' | 'itemSizeNames'> {
|
|
44
59
|
typeHight?: 'min-max' | 'container';
|
|
@@ -49,7 +64,7 @@ export interface IVirtualizationProps extends Omit<ITableVirtualization, 'typeHi
|
|
|
49
64
|
export interface IVirtualization<T = unknown> {
|
|
50
65
|
tableInstance: ITableTanstack<T>;
|
|
51
66
|
classNameWrapperTable?: string;
|
|
52
|
-
handlerRowClick?:
|
|
67
|
+
handlerRowClick?: TTableHandlerRowClick<T>;
|
|
53
68
|
privillageRowClick?: boolean;
|
|
54
69
|
virtualizationProps?: IVirtualizationProps;
|
|
55
70
|
headerId?: string;
|
|
@@ -59,7 +74,9 @@ export interface IVirtualization<T = unknown> {
|
|
|
59
74
|
componentSortDESC: Element | React.ReactNode | React.ReactNode[];
|
|
60
75
|
classNamePointer: string;
|
|
61
76
|
emptyPlaceholder?: Element | React.ReactNode | React.ReactNode[];
|
|
62
|
-
renderSubComponent?:
|
|
77
|
+
renderSubComponent?: TTableRenderSubComponent<T>;
|
|
78
|
+
visibilityColumns: Pick<ITableColumnBreakpoint, 'columns' | 'realColumns'>;
|
|
79
|
+
classNameSubMobile: string;
|
|
63
80
|
}
|
|
64
81
|
export interface IVirtualizationHead extends React.HTMLAttributes<HTMLTableSectionElement> {
|
|
65
82
|
context?: {
|
|
@@ -82,6 +99,11 @@ export interface ITableConfig {
|
|
|
82
99
|
'laba-reguler': string;
|
|
83
100
|
'laba-small': string;
|
|
84
101
|
};
|
|
102
|
+
subMobile: {
|
|
103
|
+
'payhere-reguler': string;
|
|
104
|
+
'laba-reguler': string;
|
|
105
|
+
'laba-small': string;
|
|
106
|
+
};
|
|
85
107
|
pointer: {
|
|
86
108
|
'payhere-reguler': string;
|
|
87
109
|
'laba-reguler': string;
|
|
@@ -10,10 +10,10 @@ export declare function parseBigDecimal<T extends {
|
|
|
10
10
|
}>(value: number | string, options?: T): T['instance'] extends true ? TypeBigNumber : string;
|
|
11
11
|
export declare const parseDecimal: (value: number | string, decimals?: number) => number;
|
|
12
12
|
export declare function formatNumber(number: number, style?: 'currency' | 'decimal', options?: {
|
|
13
|
-
minimumFractionDigits
|
|
14
|
-
locale
|
|
15
|
-
currency
|
|
16
|
-
withSpace
|
|
13
|
+
minimumFractionDigits?: number;
|
|
14
|
+
locale?: string;
|
|
15
|
+
currency?: string;
|
|
16
|
+
withSpace?: boolean;
|
|
17
17
|
}): string;
|
|
18
18
|
export declare const formatDate: (date: TDateType, format?: string, defaultValue?: string, keyLocale?: TKeyLocale) => string;
|
|
19
19
|
export declare const formatDateRange: (startDate: TDateType, endDate: TDateType, format?: string, separator?: string, defaultValue?: string, keyLocale?: TKeyLocale) => string;
|