ith-ui-react-antd 0.1.3 → 0.1.4
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/README.md +12 -0
- package/dist/IthUiClient.d.ts +2 -4
- package/dist/IthUiProvider.d.ts +4 -0
- package/dist/components/BusinessUploadAdapter.d.ts +3 -0
- package/dist/{exceljs.min-D4HHarrU.js → exceljs.min-DQS92vbM.js} +1 -1
- package/dist/{index-DA_DMkeQ.js → index-BL6Gxhoc.js} +5125 -4924
- package/dist/index.d.ts +1 -0
- package/dist/index.js +20 -16
- package/dist/locale.d.ts +6 -0
- package/dist/runtimeId.d.ts +1 -0
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as s, B as t, a as i, C as
|
|
1
|
+
import { A as s, B as t, a as i, C as o, E as r, b as l, F as c, I as h, M as n, R as d, S as p, T as g, d as T, e as U, f as u, g as m, h as y, i as I, j as L, k as S, l as E, m as v, n as A, o as P, p as R, q as C, r as D, s as M, t as f, u as x, v as k, w, x as B, y as H, z as q, D as F, G as z, H as b, J as j, K as G, L as J, N as K } from "./index-BL6Gxhoc.js";
|
|
2
2
|
export {
|
|
3
3
|
s as AreaPicker,
|
|
4
4
|
t as BusinessDialog,
|
|
5
5
|
i as BusinessUpload,
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
o as ColumnSettings,
|
|
7
|
+
r as EntityPicker,
|
|
8
8
|
l as EntitySelectDialog,
|
|
9
9
|
c as FilePreview,
|
|
10
10
|
h as IthUiProvider,
|
|
@@ -15,14 +15,14 @@ export {
|
|
|
15
15
|
T as ThDialog,
|
|
16
16
|
U as ThDownload,
|
|
17
17
|
u as ThEditor,
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
m as ThEditorHtml,
|
|
19
|
+
y as ThRegion,
|
|
20
20
|
I as ThSearchDescPlan,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
L as ThSelectPage,
|
|
22
|
+
S as ThTitle,
|
|
23
|
+
E as ThUploadBig,
|
|
24
|
+
v as ThUploadFile,
|
|
25
|
+
A as ThUploadImg,
|
|
26
26
|
P as componentManifest,
|
|
27
27
|
R as componentManifestMap,
|
|
28
28
|
C as createLegacyAreaRequest,
|
|
@@ -32,10 +32,14 @@ export {
|
|
|
32
32
|
x as createLegacyRichTextUploadAdapter,
|
|
33
33
|
k as createLegacyRichTextUploadAdapters,
|
|
34
34
|
w as createLegacyUploadAdapter,
|
|
35
|
-
B as
|
|
36
|
-
H as
|
|
37
|
-
q as
|
|
38
|
-
F as
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
B as ithUiEnUS,
|
|
36
|
+
H as migrationCatalog,
|
|
37
|
+
q as normalizeIthUiLocale,
|
|
38
|
+
F as resolveIthHeaders,
|
|
39
|
+
z as resolveIthToken,
|
|
40
|
+
b as resolveIthUrl,
|
|
41
|
+
j as translateIthUi,
|
|
42
|
+
G as useIthUiClient,
|
|
43
|
+
J as useIthUiConfig,
|
|
44
|
+
K as useIthUiLocale
|
|
41
45
|
};
|
package/dist/locale.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type IthUiLocale = 'zh_CN' | 'en_US';
|
|
2
|
+
type LocaleMessages = Record<string, string>;
|
|
3
|
+
export declare function normalizeIthUiLocale(locale?: string): IthUiLocale;
|
|
4
|
+
export declare function translateIthUi(locale: string | undefined, key: string, fallback?: string, params?: Record<string, string | number | null | undefined>, empty?: string): string;
|
|
5
|
+
export declare const ithUiEnUS: LocaleMessages;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const createRuntimeId: () => string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ith-ui-react-antd",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "ITH React + Ant Design business component library",
|
|
6
6
|
"type": "module",
|
|
@@ -22,13 +22,6 @@
|
|
|
22
22
|
},
|
|
23
23
|
"./style.css": "./dist/style.css"
|
|
24
24
|
},
|
|
25
|
-
"scripts": {
|
|
26
|
-
"dev": "vite --host 127.0.0.1",
|
|
27
|
-
"build": "tsc -b && vite build",
|
|
28
|
-
"typecheck": "tsc -b --pretty false",
|
|
29
|
-
"test:contract": "node --test tests/search-scheme-contract.test.mjs",
|
|
30
|
-
"preview": "vite preview --host 127.0.0.1"
|
|
31
|
-
},
|
|
32
25
|
"peerDependencies": {
|
|
33
26
|
"@ant-design/icons": "^5.6.1",
|
|
34
27
|
"antd": "^5.29.3",
|
|
@@ -68,5 +61,12 @@
|
|
|
68
61
|
"typescript": "~5.6.3",
|
|
69
62
|
"vite": "^5.4.21",
|
|
70
63
|
"vite-plugin-dts": "^4.5.4"
|
|
64
|
+
},
|
|
65
|
+
"scripts": {
|
|
66
|
+
"dev": "vite --host 127.0.0.1",
|
|
67
|
+
"build": "tsc -b && vite build",
|
|
68
|
+
"typecheck": "tsc -b --pretty false",
|
|
69
|
+
"test:contract": "node --test tests/search-scheme-contract.test.mjs",
|
|
70
|
+
"preview": "vite preview --host 127.0.0.1"
|
|
71
71
|
}
|
|
72
|
-
}
|
|
72
|
+
}
|