@zero-library/common 3.1.7 → 3.2.1
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.cjs.js +1030 -254
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +680 -35
- package/dist/index.d.ts +680 -35
- package/dist/index.esm.js +1015 -255
- package/dist/index.esm.js.map +1 -1
- package/package.json +7 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { EmptyProps } from 'antd';
|
|
2
|
+
import { EmptyProps, ConfigProviderProps } from 'antd';
|
|
3
3
|
export { default as microApp } from '@micro-zoe/micro-app';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import { ReactNode } from 'react';
|
|
6
6
|
import { Editor, FocusPosition, Content, InsertContentOptions, InsertContentAtOptions } from '@tiptap/core';
|
|
7
|
+
import * as react_i18next from 'react-i18next';
|
|
8
|
+
import { i18n } from 'i18next';
|
|
7
9
|
import dayjs from 'dayjs';
|
|
8
10
|
import Decimal from 'decimal.js';
|
|
9
11
|
import { RuleObject } from 'antd/es/form';
|
|
@@ -98,26 +100,6 @@ interface FilePreviewProps$1 {
|
|
|
98
100
|
*/
|
|
99
101
|
declare const _default$r: ({ suffix, fileUrl, pdfParams, password, searchValue, emptyProps, onSetPassword }: FilePreviewProps$1) => react_jsx_runtime.JSX.Element;
|
|
100
102
|
|
|
101
|
-
/**
|
|
102
|
-
* 文件预览组件属性接口
|
|
103
|
-
*/
|
|
104
|
-
interface FilePreviewProps {
|
|
105
|
-
/** 空状态组件属性 */
|
|
106
|
-
emptyProps?: EmptyProps;
|
|
107
|
-
/** 文件URL地址 */
|
|
108
|
-
fileUrl: string;
|
|
109
|
-
/** 文件后缀名 */
|
|
110
|
-
suffix?: string;
|
|
111
|
-
/** 文件名称 */
|
|
112
|
-
fileName?: string;
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* 文件预览组件
|
|
116
|
-
* 支持图片、PDF、视频、音频、Markdown等文件格式的预览
|
|
117
|
-
* @param props - 组件属性
|
|
118
|
-
*/
|
|
119
|
-
declare const _default$q: ({ suffix, fileUrl, emptyProps, fileName }: FilePreviewProps) => react_jsx_runtime.JSX.Element;
|
|
120
|
-
|
|
121
103
|
/**
|
|
122
104
|
* 文件预览抽屉组件属性接口
|
|
123
105
|
*/
|
|
@@ -146,7 +128,27 @@ interface FilePreviewDrawerProps extends FilePreviewProps$1 {
|
|
|
146
128
|
* @param props - 组件属性
|
|
147
129
|
* @returns 文件预览抽屉组件
|
|
148
130
|
*/
|
|
149
|
-
declare const _default$
|
|
131
|
+
declare const _default$q: ({ open, title, onClose, ...props }: FilePreviewDrawerProps) => react_jsx_runtime.JSX.Element;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* 文件预览组件属性接口
|
|
135
|
+
*/
|
|
136
|
+
interface FilePreviewProps {
|
|
137
|
+
/** 空状态组件属性 */
|
|
138
|
+
emptyProps?: EmptyProps;
|
|
139
|
+
/** 文件URL地址 */
|
|
140
|
+
fileUrl: string;
|
|
141
|
+
/** 文件后缀名 */
|
|
142
|
+
suffix?: string;
|
|
143
|
+
/** 文件名称 */
|
|
144
|
+
fileName?: string;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* 文件预览组件
|
|
148
|
+
* 支持图片、PDF、视频、音频、Markdown等文件格式的预览
|
|
149
|
+
* @param props - 组件属性
|
|
150
|
+
*/
|
|
151
|
+
declare const _default$p: ({ suffix, fileUrl, emptyProps, fileName }: FilePreviewProps) => react_jsx_runtime.JSX.Element;
|
|
150
152
|
|
|
151
153
|
/**
|
|
152
154
|
* Markdown | txt 预览组件属性接口
|
|
@@ -317,7 +319,7 @@ interface LazyComponentProps {
|
|
|
317
319
|
* 使用示例:<LazyComponent type="renderMarkdown" data={{}} loading={true} />
|
|
318
320
|
* @param props - 组件属性
|
|
319
321
|
*/
|
|
320
|
-
declare const _default$g: ({ type, customComponents, unknownContent, ...rest }: LazyComponentProps) => string | number | true | react_jsx_runtime.JSX.Element
|
|
322
|
+
declare const _default$g: ({ type, customComponents, unknownContent, ...rest }: LazyComponentProps) => string | number | true | Iterable<react.ReactNode> | react_jsx_runtime.JSX.Element;
|
|
321
323
|
|
|
322
324
|
declare const ANNOTATION_ATTRS: readonly ["annotation-id", "user-name", "user-id", "update-time", "content"];
|
|
323
325
|
/**
|
|
@@ -919,6 +921,649 @@ interface WebSocketType {
|
|
|
919
921
|
*/
|
|
920
922
|
declare const _default: ({ url, onMessage, onClose, heartbeatInterval, heartbeatMessage, clientHeartbeat, reconnectInterval, maxReconnectAttempts, isReconnect }: WebSocketProps) => WebSocketType;
|
|
921
923
|
|
|
924
|
+
/**
|
|
925
|
+
* common 包命名空间常量
|
|
926
|
+
*
|
|
927
|
+
* 命名空间在每个包内是固定值,统一使用常量引用,避免散落字符串字面量。
|
|
928
|
+
* 注意:须与 i18n 实例的 defaultNS 保持一致。
|
|
929
|
+
*/
|
|
930
|
+
declare const NS_COMMON = "common";
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* common 包英文翻译资源(namespace: common)
|
|
934
|
+
*
|
|
935
|
+
* 纯数据导出,不含 side-effect。
|
|
936
|
+
* 词条按组件/模块分级组织,调用时使用点号路径,如 t('filePreview.zoomIn')。
|
|
937
|
+
*/
|
|
938
|
+
declare const commonEnUS: {
|
|
939
|
+
common: {
|
|
940
|
+
copySuccess: string;
|
|
941
|
+
confirm: string;
|
|
942
|
+
cancel: string;
|
|
943
|
+
download: string;
|
|
944
|
+
save: string;
|
|
945
|
+
defaultFileName: string;
|
|
946
|
+
defaultTitle: string;
|
|
947
|
+
loading: string;
|
|
948
|
+
enter: string;
|
|
949
|
+
applicationCenter: string;
|
|
950
|
+
subscribeSuccess: string;
|
|
951
|
+
subscribeConfirm: string;
|
|
952
|
+
installConfirm: string;
|
|
953
|
+
prompt: string;
|
|
954
|
+
dynamicNews: string;
|
|
955
|
+
noDynamicNews: string;
|
|
956
|
+
};
|
|
957
|
+
request: {
|
|
958
|
+
networkError: string;
|
|
959
|
+
requestError: string;
|
|
960
|
+
};
|
|
961
|
+
pattern: {
|
|
962
|
+
mobileInvalid: string;
|
|
963
|
+
phoneInvalid: string;
|
|
964
|
+
taxNoInvalid: string;
|
|
965
|
+
bankCardInvalid: string;
|
|
966
|
+
idCardInvalid: string;
|
|
967
|
+
numberInvalid: string;
|
|
968
|
+
smsCodeInvalid: string;
|
|
969
|
+
emailInvalid: string;
|
|
970
|
+
addressInvalid: string;
|
|
971
|
+
passwordInvalid: string;
|
|
972
|
+
phoneOrMobileInvalid: string;
|
|
973
|
+
lessThan: string;
|
|
974
|
+
lessThanOrEqual: string;
|
|
975
|
+
greaterThan: string;
|
|
976
|
+
greaterThanOrEqual: string;
|
|
977
|
+
totalLengthExceed: string;
|
|
978
|
+
integerLengthExceed: string;
|
|
979
|
+
decimalLengthExceed: string;
|
|
980
|
+
maxEmailsExceed: string;
|
|
981
|
+
};
|
|
982
|
+
date: {
|
|
983
|
+
yearMonthFormat: string;
|
|
984
|
+
yearMonthDayFormat: string;
|
|
985
|
+
};
|
|
986
|
+
speechButton: {
|
|
987
|
+
notSupported: string;
|
|
988
|
+
permissionDenied: string;
|
|
989
|
+
stop: string;
|
|
990
|
+
start: string;
|
|
991
|
+
};
|
|
992
|
+
microApp: {
|
|
993
|
+
loading: string;
|
|
994
|
+
};
|
|
995
|
+
iframe: {
|
|
996
|
+
loading: string;
|
|
997
|
+
};
|
|
998
|
+
lazyComponent: {
|
|
999
|
+
unknownType: string;
|
|
1000
|
+
componentLoading: string;
|
|
1001
|
+
};
|
|
1002
|
+
filePreview: {
|
|
1003
|
+
title: string;
|
|
1004
|
+
closePreview: string;
|
|
1005
|
+
htmlPreviewTitle: string;
|
|
1006
|
+
previewImageAlt: string;
|
|
1007
|
+
previewNotSupported: string;
|
|
1008
|
+
previewNotSupportedDownload: string;
|
|
1009
|
+
previewGenerating: string;
|
|
1010
|
+
audioNotSupported: string;
|
|
1011
|
+
videoNotSupported: string;
|
|
1012
|
+
requestFailedWithStatus: string;
|
|
1013
|
+
emptyResponse: string;
|
|
1014
|
+
loadFileFailed: string;
|
|
1015
|
+
fileParseFailed: string;
|
|
1016
|
+
fileUrlInvalid: string;
|
|
1017
|
+
htmlParseFailed: string;
|
|
1018
|
+
docLoadFailed: string;
|
|
1019
|
+
pdfLoadFailed: string;
|
|
1020
|
+
pdfParseFailed: string;
|
|
1021
|
+
pdfUrlInvalid: string;
|
|
1022
|
+
pdfPasswordInvalid: string;
|
|
1023
|
+
pdfPasswordPlaceholder: string;
|
|
1024
|
+
pdfSubmit: string;
|
|
1025
|
+
pdfInvalidOrDamaged: string;
|
|
1026
|
+
pdfFileNotFound: string;
|
|
1027
|
+
pdfUnexpectedResponse: string;
|
|
1028
|
+
pdfLoadDocumentFailed: string;
|
|
1029
|
+
zoomOut: string;
|
|
1030
|
+
zoomIn: string;
|
|
1031
|
+
zoomReset: string;
|
|
1032
|
+
fitWidth: string;
|
|
1033
|
+
};
|
|
1034
|
+
markdownEditor: {
|
|
1035
|
+
mainArea: string;
|
|
1036
|
+
unknown: string;
|
|
1037
|
+
toolbar: {
|
|
1038
|
+
toolbarAria: string;
|
|
1039
|
+
quote: string;
|
|
1040
|
+
annotation: string;
|
|
1041
|
+
excerpt: string;
|
|
1042
|
+
undo: string;
|
|
1043
|
+
redo: string;
|
|
1044
|
+
alignLeft: string;
|
|
1045
|
+
alignCenter: string;
|
|
1046
|
+
alignRight: string;
|
|
1047
|
+
alignJustify: string;
|
|
1048
|
+
bold: string;
|
|
1049
|
+
italic: string;
|
|
1050
|
+
underline: string;
|
|
1051
|
+
strike: string;
|
|
1052
|
+
code: string;
|
|
1053
|
+
superscript: string;
|
|
1054
|
+
subscript: string;
|
|
1055
|
+
bulletList: string;
|
|
1056
|
+
orderedList: string;
|
|
1057
|
+
taskList: string;
|
|
1058
|
+
listOptions: string;
|
|
1059
|
+
list: string;
|
|
1060
|
+
blockquote: string;
|
|
1061
|
+
codeBlock: string;
|
|
1062
|
+
heading: string;
|
|
1063
|
+
headingLevel: string;
|
|
1064
|
+
addImage: string;
|
|
1065
|
+
link: string;
|
|
1066
|
+
linkPlaceholder: string;
|
|
1067
|
+
applyLink: string;
|
|
1068
|
+
openInNewWindow: string;
|
|
1069
|
+
removeLink: string;
|
|
1070
|
+
};
|
|
1071
|
+
highlight: {
|
|
1072
|
+
toggle: string;
|
|
1073
|
+
label: string;
|
|
1074
|
+
textLabel: string;
|
|
1075
|
+
colorOptionAria: string;
|
|
1076
|
+
removeBackground: string;
|
|
1077
|
+
removeHighlight: string;
|
|
1078
|
+
default: string;
|
|
1079
|
+
gray: string;
|
|
1080
|
+
brown: string;
|
|
1081
|
+
orange: string;
|
|
1082
|
+
yellow: string;
|
|
1083
|
+
green: string;
|
|
1084
|
+
blue: string;
|
|
1085
|
+
purple: string;
|
|
1086
|
+
pink: string;
|
|
1087
|
+
red: string;
|
|
1088
|
+
};
|
|
1089
|
+
annotation: {
|
|
1090
|
+
title: string;
|
|
1091
|
+
list: string;
|
|
1092
|
+
add: string;
|
|
1093
|
+
content: string;
|
|
1094
|
+
required: string;
|
|
1095
|
+
maxLength: string;
|
|
1096
|
+
placeholder: string;
|
|
1097
|
+
edit: string;
|
|
1098
|
+
delete: string;
|
|
1099
|
+
confirmDelete: string;
|
|
1100
|
+
empty: string;
|
|
1101
|
+
};
|
|
1102
|
+
collection: {
|
|
1103
|
+
title: string;
|
|
1104
|
+
list: string;
|
|
1105
|
+
delete: string;
|
|
1106
|
+
confirmDelete: string;
|
|
1107
|
+
empty: string;
|
|
1108
|
+
};
|
|
1109
|
+
themeToggle: {
|
|
1110
|
+
switchToLight: string;
|
|
1111
|
+
switchToDark: string;
|
|
1112
|
+
};
|
|
1113
|
+
upload: {
|
|
1114
|
+
clickToUpload: string;
|
|
1115
|
+
dragAndDrop: string;
|
|
1116
|
+
maxFileHint: string;
|
|
1117
|
+
noFile: string;
|
|
1118
|
+
canceled: string;
|
|
1119
|
+
fileSizeExceeded: string;
|
|
1120
|
+
undefined: string;
|
|
1121
|
+
failedNoUrl: string;
|
|
1122
|
+
failed: string;
|
|
1123
|
+
noFileToUpload: string;
|
|
1124
|
+
maxFileCount: string;
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
};
|
|
1128
|
+
|
|
1129
|
+
/**
|
|
1130
|
+
* common 包日本語翻訳リソース(namespace: common)
|
|
1131
|
+
*
|
|
1132
|
+
* 純データ出口、side-effect を含まない。
|
|
1133
|
+
* 用語はコンポーネント/モジュールごとに階層化されており、ドットパスで呼び出す(例: t('filePreview.zoomIn'))。
|
|
1134
|
+
*/
|
|
1135
|
+
declare const commonJaJP: {
|
|
1136
|
+
common: {
|
|
1137
|
+
copySuccess: string;
|
|
1138
|
+
confirm: string;
|
|
1139
|
+
cancel: string;
|
|
1140
|
+
download: string;
|
|
1141
|
+
save: string;
|
|
1142
|
+
defaultFileName: string;
|
|
1143
|
+
defaultTitle: string;
|
|
1144
|
+
loading: string;
|
|
1145
|
+
enter: string;
|
|
1146
|
+
applicationCenter: string;
|
|
1147
|
+
subscribeSuccess: string;
|
|
1148
|
+
subscribeConfirm: string;
|
|
1149
|
+
installConfirm: string;
|
|
1150
|
+
prompt: string;
|
|
1151
|
+
dynamicNews: string;
|
|
1152
|
+
noDynamicNews: string;
|
|
1153
|
+
};
|
|
1154
|
+
request: {
|
|
1155
|
+
networkError: string;
|
|
1156
|
+
requestError: string;
|
|
1157
|
+
};
|
|
1158
|
+
pattern: {
|
|
1159
|
+
mobileInvalid: string;
|
|
1160
|
+
phoneInvalid: string;
|
|
1161
|
+
taxNoInvalid: string;
|
|
1162
|
+
bankCardInvalid: string;
|
|
1163
|
+
idCardInvalid: string;
|
|
1164
|
+
numberInvalid: string;
|
|
1165
|
+
smsCodeInvalid: string;
|
|
1166
|
+
emailInvalid: string;
|
|
1167
|
+
addressInvalid: string;
|
|
1168
|
+
passwordInvalid: string;
|
|
1169
|
+
phoneOrMobileInvalid: string;
|
|
1170
|
+
lessThan: string;
|
|
1171
|
+
lessThanOrEqual: string;
|
|
1172
|
+
greaterThan: string;
|
|
1173
|
+
greaterThanOrEqual: string;
|
|
1174
|
+
totalLengthExceed: string;
|
|
1175
|
+
integerLengthExceed: string;
|
|
1176
|
+
decimalLengthExceed: string;
|
|
1177
|
+
maxEmailsExceed: string;
|
|
1178
|
+
};
|
|
1179
|
+
date: {
|
|
1180
|
+
yearMonthFormat: string;
|
|
1181
|
+
yearMonthDayFormat: string;
|
|
1182
|
+
};
|
|
1183
|
+
speechButton: {
|
|
1184
|
+
notSupported: string;
|
|
1185
|
+
permissionDenied: string;
|
|
1186
|
+
stop: string;
|
|
1187
|
+
start: string;
|
|
1188
|
+
};
|
|
1189
|
+
microApp: {
|
|
1190
|
+
loading: string;
|
|
1191
|
+
};
|
|
1192
|
+
iframe: {
|
|
1193
|
+
loading: string;
|
|
1194
|
+
};
|
|
1195
|
+
lazyComponent: {
|
|
1196
|
+
unknownType: string;
|
|
1197
|
+
componentLoading: string;
|
|
1198
|
+
};
|
|
1199
|
+
filePreview: {
|
|
1200
|
+
title: string;
|
|
1201
|
+
closePreview: string;
|
|
1202
|
+
htmlPreviewTitle: string;
|
|
1203
|
+
previewImageAlt: string;
|
|
1204
|
+
previewNotSupported: string;
|
|
1205
|
+
previewNotSupportedDownload: string;
|
|
1206
|
+
previewGenerating: string;
|
|
1207
|
+
audioNotSupported: string;
|
|
1208
|
+
videoNotSupported: string;
|
|
1209
|
+
requestFailedWithStatus: string;
|
|
1210
|
+
emptyResponse: string;
|
|
1211
|
+
loadFileFailed: string;
|
|
1212
|
+
fileParseFailed: string;
|
|
1213
|
+
fileUrlInvalid: string;
|
|
1214
|
+
htmlParseFailed: string;
|
|
1215
|
+
docLoadFailed: string;
|
|
1216
|
+
pdfLoadFailed: string;
|
|
1217
|
+
pdfParseFailed: string;
|
|
1218
|
+
pdfUrlInvalid: string;
|
|
1219
|
+
pdfPasswordInvalid: string;
|
|
1220
|
+
pdfPasswordPlaceholder: string;
|
|
1221
|
+
pdfSubmit: string;
|
|
1222
|
+
pdfInvalidOrDamaged: string;
|
|
1223
|
+
pdfFileNotFound: string;
|
|
1224
|
+
pdfUnexpectedResponse: string;
|
|
1225
|
+
pdfLoadDocumentFailed: string;
|
|
1226
|
+
zoomOut: string;
|
|
1227
|
+
zoomIn: string;
|
|
1228
|
+
zoomReset: string;
|
|
1229
|
+
fitWidth: string;
|
|
1230
|
+
};
|
|
1231
|
+
markdownEditor: {
|
|
1232
|
+
mainArea: string;
|
|
1233
|
+
unknown: string;
|
|
1234
|
+
toolbar: {
|
|
1235
|
+
toolbarAria: string;
|
|
1236
|
+
quote: string;
|
|
1237
|
+
annotation: string;
|
|
1238
|
+
excerpt: string;
|
|
1239
|
+
undo: string;
|
|
1240
|
+
redo: string;
|
|
1241
|
+
alignLeft: string;
|
|
1242
|
+
alignCenter: string;
|
|
1243
|
+
alignRight: string;
|
|
1244
|
+
alignJustify: string;
|
|
1245
|
+
bold: string;
|
|
1246
|
+
italic: string;
|
|
1247
|
+
underline: string;
|
|
1248
|
+
strike: string;
|
|
1249
|
+
code: string;
|
|
1250
|
+
superscript: string;
|
|
1251
|
+
subscript: string;
|
|
1252
|
+
bulletList: string;
|
|
1253
|
+
orderedList: string;
|
|
1254
|
+
taskList: string;
|
|
1255
|
+
listOptions: string;
|
|
1256
|
+
list: string;
|
|
1257
|
+
blockquote: string;
|
|
1258
|
+
codeBlock: string;
|
|
1259
|
+
heading: string;
|
|
1260
|
+
headingLevel: string;
|
|
1261
|
+
addImage: string;
|
|
1262
|
+
link: string;
|
|
1263
|
+
linkPlaceholder: string;
|
|
1264
|
+
applyLink: string;
|
|
1265
|
+
openInNewWindow: string;
|
|
1266
|
+
removeLink: string;
|
|
1267
|
+
};
|
|
1268
|
+
highlight: {
|
|
1269
|
+
toggle: string;
|
|
1270
|
+
label: string;
|
|
1271
|
+
textLabel: string;
|
|
1272
|
+
colorOptionAria: string;
|
|
1273
|
+
removeBackground: string;
|
|
1274
|
+
removeHighlight: string;
|
|
1275
|
+
default: string;
|
|
1276
|
+
gray: string;
|
|
1277
|
+
brown: string;
|
|
1278
|
+
orange: string;
|
|
1279
|
+
yellow: string;
|
|
1280
|
+
green: string;
|
|
1281
|
+
blue: string;
|
|
1282
|
+
purple: string;
|
|
1283
|
+
pink: string;
|
|
1284
|
+
red: string;
|
|
1285
|
+
};
|
|
1286
|
+
annotation: {
|
|
1287
|
+
title: string;
|
|
1288
|
+
list: string;
|
|
1289
|
+
add: string;
|
|
1290
|
+
content: string;
|
|
1291
|
+
required: string;
|
|
1292
|
+
maxLength: string;
|
|
1293
|
+
placeholder: string;
|
|
1294
|
+
edit: string;
|
|
1295
|
+
delete: string;
|
|
1296
|
+
confirmDelete: string;
|
|
1297
|
+
empty: string;
|
|
1298
|
+
};
|
|
1299
|
+
collection: {
|
|
1300
|
+
title: string;
|
|
1301
|
+
list: string;
|
|
1302
|
+
delete: string;
|
|
1303
|
+
confirmDelete: string;
|
|
1304
|
+
empty: string;
|
|
1305
|
+
};
|
|
1306
|
+
themeToggle: {
|
|
1307
|
+
switchToLight: string;
|
|
1308
|
+
switchToDark: string;
|
|
1309
|
+
};
|
|
1310
|
+
upload: {
|
|
1311
|
+
clickToUpload: string;
|
|
1312
|
+
dragAndDrop: string;
|
|
1313
|
+
maxFileHint: string;
|
|
1314
|
+
noFile: string;
|
|
1315
|
+
canceled: string;
|
|
1316
|
+
fileSizeExceeded: string;
|
|
1317
|
+
undefined: string;
|
|
1318
|
+
failedNoUrl: string;
|
|
1319
|
+
failed: string;
|
|
1320
|
+
noFileToUpload: string;
|
|
1321
|
+
maxFileCount: string;
|
|
1322
|
+
};
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* LocaleProvider
|
|
1328
|
+
* 国际化需要适配ant和dayjs语言,统一封装
|
|
1329
|
+
* 语言切换时,antd locale 与 dayjs locale 需要同步更新
|
|
1330
|
+
*/
|
|
1331
|
+
declare const LocaleProvider: ({ children, ...rest }: ConfigProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* common 包中文翻译资源(namespace: common)
|
|
1335
|
+
*
|
|
1336
|
+
* 纯数据导出,不含 side-effect。
|
|
1337
|
+
* 词条按组件/模块分级组织,调用时使用点号路径,如 t('filePreview.zoomIn')。
|
|
1338
|
+
*/
|
|
1339
|
+
declare const commonZhCN: {
|
|
1340
|
+
readonly common: {
|
|
1341
|
+
readonly copySuccess: "复制成功";
|
|
1342
|
+
readonly confirm: "确定";
|
|
1343
|
+
readonly cancel: "取消";
|
|
1344
|
+
readonly download: "下载";
|
|
1345
|
+
readonly save: "保存";
|
|
1346
|
+
readonly defaultFileName: "文件";
|
|
1347
|
+
readonly defaultTitle: "提示";
|
|
1348
|
+
readonly loading: "加载中...";
|
|
1349
|
+
readonly enter: "进入应用";
|
|
1350
|
+
readonly applicationCenter: "应用中心";
|
|
1351
|
+
readonly subscribeSuccess: "订阅成功";
|
|
1352
|
+
readonly subscribeConfirm: "是否订阅{{name}}?";
|
|
1353
|
+
readonly installConfirm: "是否{{action}}{{name}}?";
|
|
1354
|
+
readonly prompt: "提示";
|
|
1355
|
+
readonly dynamicNews: "动态消息";
|
|
1356
|
+
readonly noDynamicNews: "暂无动态消息";
|
|
1357
|
+
};
|
|
1358
|
+
readonly request: {
|
|
1359
|
+
readonly networkError: "网络异常,请检查网络";
|
|
1360
|
+
readonly requestError: "请求错误!";
|
|
1361
|
+
};
|
|
1362
|
+
readonly pattern: {
|
|
1363
|
+
readonly mobileInvalid: "手机号格式不正确!";
|
|
1364
|
+
readonly phoneInvalid: "电话号码格式不正确!";
|
|
1365
|
+
readonly taxNoInvalid: "税号格式有误!";
|
|
1366
|
+
readonly bankCardInvalid: "银行卡号格式有误!";
|
|
1367
|
+
readonly idCardInvalid: "身份证号格式有误!";
|
|
1368
|
+
readonly numberInvalid: "格式有误,请重新输入!";
|
|
1369
|
+
readonly smsCodeInvalid: "验证码为6位数字";
|
|
1370
|
+
readonly emailInvalid: "邮箱格式有误!";
|
|
1371
|
+
readonly addressInvalid: "必须包含\"街、路、村、乡、镇、道、巷、号\"等关键词之一";
|
|
1372
|
+
readonly passwordInvalid: "密码为8到26位之间数字与字母组合";
|
|
1373
|
+
readonly phoneOrMobileInvalid: "联系电话格式不正确";
|
|
1374
|
+
readonly lessThan: "不能小于{{value}}";
|
|
1375
|
+
readonly lessThanOrEqual: "不能小于等于{{value}}";
|
|
1376
|
+
readonly greaterThan: "不能大于{{value}}";
|
|
1377
|
+
readonly greaterThanOrEqual: "不能大于等于{{value}}";
|
|
1378
|
+
readonly totalLengthExceed: "总位数不能超过{{length}}位";
|
|
1379
|
+
readonly integerLengthExceed: "整数位不能超过{{length}}位";
|
|
1380
|
+
readonly decimalLengthExceed: "小数位不能超过{{length}}位";
|
|
1381
|
+
readonly maxEmailsExceed: "最多输入{{max}}个邮箱";
|
|
1382
|
+
};
|
|
1383
|
+
readonly date: {
|
|
1384
|
+
readonly yearMonthFormat: "YYYY年MM月";
|
|
1385
|
+
readonly yearMonthDayFormat: "YYYY年MM月DD日";
|
|
1386
|
+
};
|
|
1387
|
+
readonly speechButton: {
|
|
1388
|
+
readonly notSupported: "当前浏览器不支持语音识别";
|
|
1389
|
+
readonly permissionDenied: "麦克风权限已拒绝";
|
|
1390
|
+
readonly stop: "停止录音";
|
|
1391
|
+
readonly start: "点击开始录音";
|
|
1392
|
+
};
|
|
1393
|
+
readonly microApp: {
|
|
1394
|
+
readonly loading: "加载中...";
|
|
1395
|
+
};
|
|
1396
|
+
readonly iframe: {
|
|
1397
|
+
readonly loading: "加载中...";
|
|
1398
|
+
};
|
|
1399
|
+
readonly lazyComponent: {
|
|
1400
|
+
readonly unknownType: "未知类型:{{type}}";
|
|
1401
|
+
readonly componentLoading: "组件加载中...";
|
|
1402
|
+
};
|
|
1403
|
+
readonly filePreview: {
|
|
1404
|
+
readonly title: "文件预览";
|
|
1405
|
+
readonly closePreview: "关闭预览";
|
|
1406
|
+
readonly htmlPreviewTitle: "HTML 预览";
|
|
1407
|
+
readonly previewImageAlt: "预览图片";
|
|
1408
|
+
readonly previewNotSupported: "暂不支持 {{suffix}} 文件的预览";
|
|
1409
|
+
readonly previewNotSupportedDownload: "{{suffix}} 文件暂不支持在线预览,请下载打开";
|
|
1410
|
+
readonly previewGenerating: "预览文件正在生成中...";
|
|
1411
|
+
readonly audioNotSupported: "您的浏览器不支持 audio 标签。";
|
|
1412
|
+
readonly videoNotSupported: "您的浏览器不支持 video 标签。";
|
|
1413
|
+
readonly requestFailedWithStatus: "请求失败,状态码: {{status}}";
|
|
1414
|
+
readonly emptyResponse: "返回内容为空";
|
|
1415
|
+
readonly loadFileFailed: "加载文件失败";
|
|
1416
|
+
readonly fileParseFailed: "加载或解析文件失败";
|
|
1417
|
+
readonly fileUrlInvalid: "文件地址错误";
|
|
1418
|
+
readonly htmlParseFailed: "加载或解析 HTML 失败";
|
|
1419
|
+
readonly docLoadFailed: "文档加载失败";
|
|
1420
|
+
readonly pdfLoadFailed: "PDF 加载失败";
|
|
1421
|
+
readonly pdfParseFailed: "加载或解析 pdf 失败";
|
|
1422
|
+
readonly pdfUrlInvalid: "pdf地址错误";
|
|
1423
|
+
readonly pdfPasswordInvalid: "密码无效。请再试一次!";
|
|
1424
|
+
readonly pdfPasswordPlaceholder: "请输入密码";
|
|
1425
|
+
readonly pdfSubmit: "提 交";
|
|
1426
|
+
readonly pdfInvalidOrDamaged: "文件无效或已损坏";
|
|
1427
|
+
readonly pdfFileNotFound: "文件不存在";
|
|
1428
|
+
readonly pdfUnexpectedResponse: "意外的服务器响应";
|
|
1429
|
+
readonly pdfLoadDocumentFailed: "无法加载文档";
|
|
1430
|
+
readonly zoomOut: "缩小";
|
|
1431
|
+
readonly zoomIn: "放大";
|
|
1432
|
+
readonly zoomReset: "还原";
|
|
1433
|
+
readonly fitWidth: "适应宽度";
|
|
1434
|
+
};
|
|
1435
|
+
readonly markdownEditor: {
|
|
1436
|
+
readonly mainArea: "主内容区域,开始输入文本...";
|
|
1437
|
+
readonly unknown: "未知";
|
|
1438
|
+
readonly toolbar: {
|
|
1439
|
+
readonly toolbarAria: "编辑器工具栏";
|
|
1440
|
+
readonly quote: "引用选中文本";
|
|
1441
|
+
readonly annotation: "批注";
|
|
1442
|
+
readonly excerpt: "摘录笔记";
|
|
1443
|
+
readonly undo: "撤销";
|
|
1444
|
+
readonly redo: "重做";
|
|
1445
|
+
readonly alignLeft: "左对齐";
|
|
1446
|
+
readonly alignCenter: "居中对齐";
|
|
1447
|
+
readonly alignRight: "右对齐";
|
|
1448
|
+
readonly alignJustify: "两端对齐";
|
|
1449
|
+
readonly bold: "粗体";
|
|
1450
|
+
readonly italic: "斜体";
|
|
1451
|
+
readonly underline: "下划线";
|
|
1452
|
+
readonly strike: "删除线";
|
|
1453
|
+
readonly code: "代码";
|
|
1454
|
+
readonly superscript: "上角标";
|
|
1455
|
+
readonly subscript: "下角标";
|
|
1456
|
+
readonly bulletList: "无序列表";
|
|
1457
|
+
readonly orderedList: "有序列表";
|
|
1458
|
+
readonly taskList: "任务列表";
|
|
1459
|
+
readonly listOptions: "列表选项";
|
|
1460
|
+
readonly list: "列表";
|
|
1461
|
+
readonly blockquote: "引用块";
|
|
1462
|
+
readonly codeBlock: "代码块";
|
|
1463
|
+
readonly heading: "标题";
|
|
1464
|
+
readonly headingLevel: "标题 {{level}}";
|
|
1465
|
+
readonly addImage: "添加图片";
|
|
1466
|
+
readonly link: "链接";
|
|
1467
|
+
readonly linkPlaceholder: "粘贴链接...";
|
|
1468
|
+
readonly applyLink: "应用链接";
|
|
1469
|
+
readonly openInNewWindow: "在新窗口中打开";
|
|
1470
|
+
readonly removeLink: "移除链接";
|
|
1471
|
+
};
|
|
1472
|
+
readonly highlight: {
|
|
1473
|
+
readonly toggle: "切换高亮显示 ({{color}})";
|
|
1474
|
+
readonly label: "背景色";
|
|
1475
|
+
readonly textLabel: "文本背景色";
|
|
1476
|
+
readonly colorOptionAria: "{{label}} 高亮颜色";
|
|
1477
|
+
readonly removeBackground: "移除背景";
|
|
1478
|
+
readonly removeHighlight: "移除高亮";
|
|
1479
|
+
readonly default: "默认背景";
|
|
1480
|
+
readonly gray: "灰色背景";
|
|
1481
|
+
readonly brown: "棕色背景";
|
|
1482
|
+
readonly orange: "橙色背景";
|
|
1483
|
+
readonly yellow: "黄色背景";
|
|
1484
|
+
readonly green: "绿色背景";
|
|
1485
|
+
readonly blue: "蓝色背景";
|
|
1486
|
+
readonly purple: "紫色背景";
|
|
1487
|
+
readonly pink: "粉色背景";
|
|
1488
|
+
readonly red: "红色背景";
|
|
1489
|
+
};
|
|
1490
|
+
readonly annotation: {
|
|
1491
|
+
readonly title: "批注";
|
|
1492
|
+
readonly list: "批注列表";
|
|
1493
|
+
readonly add: "添加批注";
|
|
1494
|
+
readonly content: "批注内容";
|
|
1495
|
+
readonly required: "请输入批注内容";
|
|
1496
|
+
readonly maxLength: "批注内容不能超过500个字符";
|
|
1497
|
+
readonly placeholder: "请输入您的批注内容...";
|
|
1498
|
+
readonly edit: "编辑批注";
|
|
1499
|
+
readonly delete: "删除批注";
|
|
1500
|
+
readonly confirmDelete: "确认删除当前批注吗?";
|
|
1501
|
+
readonly empty: "暂无批注";
|
|
1502
|
+
};
|
|
1503
|
+
readonly collection: {
|
|
1504
|
+
readonly title: "摘录";
|
|
1505
|
+
readonly list: "摘录列表";
|
|
1506
|
+
readonly delete: "删除摘录";
|
|
1507
|
+
readonly confirmDelete: "确认删除当前摘录吗?";
|
|
1508
|
+
readonly empty: "暂无摘录";
|
|
1509
|
+
};
|
|
1510
|
+
readonly themeToggle: {
|
|
1511
|
+
readonly switchToLight: "切换到浅色模式";
|
|
1512
|
+
readonly switchToDark: "切换到深色模式";
|
|
1513
|
+
};
|
|
1514
|
+
readonly upload: {
|
|
1515
|
+
readonly clickToUpload: "点击上传";
|
|
1516
|
+
readonly dragAndDrop: "或拖拽到此处";
|
|
1517
|
+
readonly maxFileHint: "最多 {{limit}} 个文件,每个 {{size}}MB";
|
|
1518
|
+
readonly noFile: "未提供文件";
|
|
1519
|
+
readonly canceled: "上传已取消";
|
|
1520
|
+
readonly fileSizeExceeded: "文件大小超过最大限制 ({{max}}MB)";
|
|
1521
|
+
readonly undefined: "上传功能未定义";
|
|
1522
|
+
readonly failedNoUrl: "上传失败:未返回URL";
|
|
1523
|
+
readonly failed: "上传失败";
|
|
1524
|
+
readonly noFileToUpload: "没有文件可上传";
|
|
1525
|
+
readonly maxFileCount: "最多允许上传 {{limit}} 个文件";
|
|
1526
|
+
};
|
|
1527
|
+
};
|
|
1528
|
+
};
|
|
1529
|
+
|
|
1530
|
+
/** 单个 namespace 的翻译资源,支持嵌套结构 */
|
|
1531
|
+
type NamespaceResource = {
|
|
1532
|
+
[key: string]: string | NamespaceResource;
|
|
1533
|
+
};
|
|
1534
|
+
type I18nResources = Record<string, Record<string, NamespaceResource>>;
|
|
1535
|
+
/** 语言存储键 */
|
|
1536
|
+
declare const LANG_KEY = "ns-lang";
|
|
1537
|
+
/**
|
|
1538
|
+
* 按优先级获取语言:URL 参数 → localStorage → 默认 zh-CN
|
|
1539
|
+
* 命中 URL 参数时顺带持久化,避免跳转后语言回退
|
|
1540
|
+
*/
|
|
1541
|
+
declare function getLang(): string;
|
|
1542
|
+
/**
|
|
1543
|
+
* 注册包内嵌兜底资源(直接挂到实例上,任意时机调用均安全)
|
|
1544
|
+
*/
|
|
1545
|
+
declare function addBundledResource(lng: string, ns: string, res: NamespaceResource): void;
|
|
1546
|
+
/**
|
|
1547
|
+
* 宿主初始化:注入翻译资源并设置当前语言。
|
|
1548
|
+
* 在宿主模块顶层(如 global.tsx / locales 入口)调用一次即可,不依赖渲染树。
|
|
1549
|
+
*/
|
|
1550
|
+
declare function initI18n(options?: {
|
|
1551
|
+
lng?: string;
|
|
1552
|
+
resources?: I18nResources;
|
|
1553
|
+
}): i18n;
|
|
1554
|
+
/**
|
|
1555
|
+
* 切换语言:持久化 + 响应式切换
|
|
1556
|
+
* @param lng 语言,如 zh-CN
|
|
1557
|
+
* @param reload 是否刷新页面
|
|
1558
|
+
*/
|
|
1559
|
+
declare function switchLang(lng: string, reload?: boolean): void;
|
|
1560
|
+
/** 组件场景:语言变化时自动重渲染(useSuspense: false,宿主无需 Suspense 边界) */
|
|
1561
|
+
declare function useTranslation(namespace?: string | string[]): react_i18next.UseTranslationResponse<string | string[], undefined>;
|
|
1562
|
+
/** 获取全局实例(极少直接使用,优先用 t / useTranslation) */
|
|
1563
|
+
declare function getI18n(): i18n;
|
|
1564
|
+
/** 纯函数 / 非组件场景 */
|
|
1565
|
+
declare function t(key: string, options?: Record<string, unknown>): string;
|
|
1566
|
+
|
|
922
1567
|
/**
|
|
923
1568
|
* 深拷贝函数
|
|
924
1569
|
*
|
|
@@ -2238,7 +2883,7 @@ declare const cachedMessage: ({ title, content, type, duration, onClose, isCache
|
|
|
2238
2883
|
*/
|
|
2239
2884
|
declare const RegMobile: {
|
|
2240
2885
|
pattern: RegExp;
|
|
2241
|
-
message: string;
|
|
2886
|
+
readonly message: string;
|
|
2242
2887
|
};
|
|
2243
2888
|
/**
|
|
2244
2889
|
* 固定电话验证规则
|
|
@@ -2246,7 +2891,7 @@ declare const RegMobile: {
|
|
|
2246
2891
|
*/
|
|
2247
2892
|
declare const RegFixedTelePhone: {
|
|
2248
2893
|
pattern: RegExp;
|
|
2249
|
-
message: string;
|
|
2894
|
+
readonly message: string;
|
|
2250
2895
|
};
|
|
2251
2896
|
/**
|
|
2252
2897
|
* 通用电话号码验证规则
|
|
@@ -2254,7 +2899,7 @@ declare const RegFixedTelePhone: {
|
|
|
2254
2899
|
*/
|
|
2255
2900
|
declare const RegTelePhone: {
|
|
2256
2901
|
pattern: RegExp;
|
|
2257
|
-
message: string;
|
|
2902
|
+
readonly message: string;
|
|
2258
2903
|
};
|
|
2259
2904
|
/**
|
|
2260
2905
|
* 税号验证规则
|
|
@@ -2262,7 +2907,7 @@ declare const RegTelePhone: {
|
|
|
2262
2907
|
*/
|
|
2263
2908
|
declare const RegTaxNo: {
|
|
2264
2909
|
pattern: RegExp;
|
|
2265
|
-
message: string;
|
|
2910
|
+
readonly message: string;
|
|
2266
2911
|
};
|
|
2267
2912
|
/**
|
|
2268
2913
|
* 银行卡号验证规则
|
|
@@ -2270,7 +2915,7 @@ declare const RegTaxNo: {
|
|
|
2270
2915
|
*/
|
|
2271
2916
|
declare const RegBankCardNo: {
|
|
2272
2917
|
pattern: RegExp;
|
|
2273
|
-
message: string;
|
|
2918
|
+
readonly message: string;
|
|
2274
2919
|
};
|
|
2275
2920
|
/**
|
|
2276
2921
|
* 身份证号验证规则
|
|
@@ -2278,7 +2923,7 @@ declare const RegBankCardNo: {
|
|
|
2278
2923
|
*/
|
|
2279
2924
|
declare const RegIdentityCardNo: {
|
|
2280
2925
|
pattern: RegExp;
|
|
2281
|
-
message: string;
|
|
2926
|
+
readonly message: string;
|
|
2282
2927
|
};
|
|
2283
2928
|
/**
|
|
2284
2929
|
* 数字验证规则
|
|
@@ -2286,7 +2931,7 @@ declare const RegIdentityCardNo: {
|
|
|
2286
2931
|
*/
|
|
2287
2932
|
declare const RegNumNo: {
|
|
2288
2933
|
pattern: RegExp;
|
|
2289
|
-
message: string;
|
|
2934
|
+
readonly message: string;
|
|
2290
2935
|
};
|
|
2291
2936
|
/**
|
|
2292
2937
|
* 短信验证码验证规则
|
|
@@ -2294,7 +2939,7 @@ declare const RegNumNo: {
|
|
|
2294
2939
|
*/
|
|
2295
2940
|
declare const RegSmsCode: {
|
|
2296
2941
|
pattern: RegExp;
|
|
2297
|
-
message: string;
|
|
2942
|
+
readonly message: string;
|
|
2298
2943
|
};
|
|
2299
2944
|
/**
|
|
2300
2945
|
* 邮箱验证规则
|
|
@@ -2302,7 +2947,7 @@ declare const RegSmsCode: {
|
|
|
2302
2947
|
*/
|
|
2303
2948
|
declare const RegEmail: {
|
|
2304
2949
|
pattern: RegExp;
|
|
2305
|
-
message: string;
|
|
2950
|
+
readonly message: string;
|
|
2306
2951
|
};
|
|
2307
2952
|
/**
|
|
2308
2953
|
* 详细地址验证规则
|
|
@@ -2310,7 +2955,7 @@ declare const RegEmail: {
|
|
|
2310
2955
|
*/
|
|
2311
2956
|
declare const RegDetailAddress: {
|
|
2312
2957
|
pattern: RegExp;
|
|
2313
|
-
message: string;
|
|
2958
|
+
readonly message: string;
|
|
2314
2959
|
};
|
|
2315
2960
|
/**
|
|
2316
2961
|
* 密码强度验证规则
|
|
@@ -2323,7 +2968,7 @@ declare const RegDetailAddress: {
|
|
|
2323
2968
|
*/
|
|
2324
2969
|
declare const RegPassword: {
|
|
2325
2970
|
pattern: RegExp;
|
|
2326
|
-
message: string;
|
|
2971
|
+
readonly message: string;
|
|
2327
2972
|
};
|
|
2328
2973
|
/**
|
|
2329
2974
|
* 手机号或固定电话验证器
|
|
@@ -2641,4 +3286,4 @@ declare function createTokenManager({ key, storage }: TokenManagerProps): {
|
|
|
2641
3286
|
clear: () => void;
|
|
2642
3287
|
};
|
|
2643
3288
|
|
|
2644
|
-
export { type AnnotationConfig, type AnnotationType, _default$u as AudioPlayer, type AudioPlayerProps, BusinessCode, type CacheMessage, type CollectionConfig, type CollectionType, type ComponentMapType, DEFAULT_DATE_FORMAT, DEFAULT_DATE_TIME_FORMAT, DEFAULT_YEAR_MONTH_DAY_FORMAT, DEFAULT_YEAR_MONTH_FORMAT, _default$t as DocxPreview, type DocxPreviewProps, _default$s as FileIcon, type FileIconProps, _default$r as FilePreview, _default$
|
|
3289
|
+
export { type AnnotationConfig, type AnnotationType, _default$u as AudioPlayer, type AudioPlayerProps, BusinessCode, type CacheMessage, type CollectionConfig, type CollectionType, type ComponentMapType, DEFAULT_DATE_FORMAT, DEFAULT_DATE_TIME_FORMAT, DEFAULT_YEAR_MONTH_DAY_FORMAT, DEFAULT_YEAR_MONTH_FORMAT, _default$t as DocxPreview, type DocxPreviewProps, _default$s as FileIcon, type FileIconProps, _default$r as FilePreview, _default$q as FilePreviewDrawer, type FilePreviewDrawerProps, type FilePreviewProps$1 as FilePreviewProps, type FindTreeNodesOptions, type FormatSizeOptions, HttpStatus, type I18nResources, _default$h as Iframe, type IframeProps, LANG_KEY, _default$g as LazyComponent, type LazyComponentProps, LocaleProvider, _default$p as LuyaFilePreview, _default$e as MarkDrawing, type MarkDrawingProps, _default$f as MarkdownEditor, type MarkdownEditorHandle, type MarkdownEditorProps, _default$o as MarkdownPreview, type MarkdownPreviewProps, _default$k as MicroApp, _default$j as MicroAppDrawer, type MicroAppProps, _default$i as MicroAppWindow, MultiEmailValidator, NS_COMMON, type NamespaceResource, type PageNoConfig, _default$n as PdfImagePreview, type PdfImagePreviewProps, _default$m as PdfPreview, type PdfPreviewProps, PhoneOrMobileValidator, type PodOpenProps, RegBankCardNo, RegDetailAddress, RegEmail, RegFixedTelePhone, RegIdentityCardNo, RegMobile, RegNumNo, RegPassword, RegSmsCode, RegTaxNo, RegTelePhone, type RenderControl, _default$d as RenderMarkdown, type RenderMarkdownProps, _default$c as RenderWrapper, type RenderWrapperProps, type RequestConfig, type SafeParseJsonOptions, type SecureManagerProps, type SetIntervalType, type SizeUnit, ThanNumLengthValidator, ThanNumValidator, type TokenManagerProps, _default$b as UserAvatar, type UserAvatarProps, _default$l as VideoPlayer, type VideoPlayerProps, type WebSocketProps, type WebSocketType, type WindowOpenProps, absVal, addBundledResource, addUrlLastSlash, aesDecrypt, aesEncrypt, arrToObj, buildUrlParams, cachedMessage, calculate, commonEnUS, commonJaJP, commonZhCN, compareNum, convertCurrency, convertNewlineToBr, copyText, createRequest, createSecureManager, createTokenManager, decimalPlaces, deepCopy, deepEqual, deepMerge, dividedBy, downloadFile, emit, emitToChild, executeScript, findTreeNodesByIds, formatDate, formatNumberWithCommas, formatSize, genNonDuplicateID, generateRandomNumbers, getAllUrlParams, getDeviceId, getEndOfTimestamp, getFileName, getFileSuffixName, getI18n, getLang, getRowSpanCount, getStartOfTimestamp, getTimestamp, getWebSocketUrl, htmlToMarkdown, htmlToText, importThirdPartyFile, initI18n, is, isArray, isBlob, isBoolean, isDate, isDef, isElement, isEmpty, isEmptyObj, isExpire, isExternal, isFunction, isInteger, isJson, isLocalhost, isMap, isNegative, isNull, isNullOrUnDef, isNumber, isNumberNoNaN, isObject, isPromise, isReferenceType, isRegExp, isScriptSafe, isSet, isString, isUnDef, isWindow, markdownToText, minus, objToOptions, plus, precision, processItemList, propsMerge, safeParseJson, setInterval, setUrlMainSource, shouldRender, switchLang, t, times, toFixed, transform, transforms, _default$9 as useAsyncQueue, _default$8 as useAutoRefresh, _default$7 as useCountDown, _default$6 as useCreateValtioContext, _default$5 as useDebounce, _default$4 as useDeepEffect, _default$a as useIframeRelayBridge, _default$3 as useRefState, _default$2 as useSyncInput, _default$1 as useThrottle, useTranslation, _default as useWebSocket };
|