bhd-components 0.10.10 → 0.10.12
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 +1 -1
- package/dist/index.esm.es5.development.css +0 -766
- package/dist/index.esm.es5.development.js +162 -3086
- package/dist/index.esm.es5.production.css +1 -1
- package/dist/index.esm.es5.production.js +1 -1
- package/dist/vendor.esm.es5.development.js +1100 -2515
- package/dist/vendor.esm.es5.production.js +136 -136
- package/es2017/customerService/index.js +3 -1
- package/es2017/index.d.ts +0 -1
- package/es2017/index.js +0 -1
- package/es2017/utils/Date.d.ts +1 -2
- package/es2017/utils/Date.js +1 -2
- package/es2017/utils/dom.d.ts +1 -4
- package/es2017/utils/dom.js +1 -44
- package/esm/customerService/index.js +3 -1
- package/esm/index.d.ts +0 -1
- package/esm/index.js +0 -1
- package/esm/utils/Date.d.ts +1 -2
- package/esm/utils/Date.js +1 -2
- package/esm/utils/dom.d.ts +1 -4
- package/esm/utils/dom.js +1 -45
- package/package.json +1 -2
- package/es2017/AIMessageList/components/content/index.d.ts +0 -4
- package/es2017/AIMessageList/components/content/index.js +0 -29
- package/es2017/AIMessageList/components/content/index.module.less +0 -8
- package/es2017/AIMessageList/components/copyIcon/index.d.ts +0 -7
- package/es2017/AIMessageList/components/copyIcon/index.js +0 -73
- package/es2017/AIMessageList/components/copyIcon/index.module.less +0 -22
- package/es2017/AIMessageList/components/errorCallback/index.d.ts +0 -3
- package/es2017/AIMessageList/components/errorCallback/index.js +0 -6
- package/es2017/AIMessageList/components/fileList/fileIcon.d.ts +0 -3
- package/es2017/AIMessageList/components/fileList/fileIcon.js +0 -970
- package/es2017/AIMessageList/components/fileList/index.d.ts +0 -4
- package/es2017/AIMessageList/components/fileList/index.js +0 -315
- package/es2017/AIMessageList/components/fileList/index.module.less +0 -95
- package/es2017/AIMessageList/components/footer/index.d.ts +0 -10
- package/es2017/AIMessageList/components/footer/index.js +0 -358
- package/es2017/AIMessageList/components/footer/index.module.less +0 -51
- package/es2017/AIMessageList/components/header/index.d.ts +0 -9
- package/es2017/AIMessageList/components/header/index.js +0 -94
- package/es2017/AIMessageList/components/header/index.module.less +0 -31
- package/es2017/AIMessageList/components/referencesIcon/index.d.ts +0 -9
- package/es2017/AIMessageList/components/referencesIcon/index.js +0 -63
- package/es2017/AIMessageList/components/referencesIcon/index.module.less +0 -13
- package/es2017/AIMessageList/components/refreshBtn/index.d.ts +0 -4
- package/es2017/AIMessageList/components/refreshBtn/index.js +0 -29
- package/es2017/AIMessageList/components/refreshBtn/index.module.less +0 -12
- package/es2017/AIMessageList/components/remarkBtn/index.d.ts +0 -4
- package/es2017/AIMessageList/components/remarkBtn/index.js +0 -51
- package/es2017/AIMessageList/components/remarkBtn/index.module.less +0 -13
- package/es2017/AIMessageList/components/renderReferrnce/index.d.ts +0 -10
- package/es2017/AIMessageList/components/renderReferrnce/index.js +0 -68
- package/es2017/AIMessageList/components/renderReferrnce/index.module.less +0 -64
- package/es2017/AIMessageList/components/sendBtn/index.d.ts +0 -4
- package/es2017/AIMessageList/components/sendBtn/index.js +0 -51
- package/es2017/AIMessageList/components/sendBtn/index.module.less +0 -25
- package/es2017/AIMessageList/components/uplodaFileBtn/index.d.ts +0 -4
- package/es2017/AIMessageList/components/uplodaFileBtn/index.js +0 -33
- package/es2017/AIMessageList/components/uplodaFileBtn/index.module.less +0 -5
- package/es2017/AIMessageList/components/virtuosoList/index.d.ts +0 -5
- package/es2017/AIMessageList/components/virtuosoList/index.js +0 -694
- package/es2017/AIMessageList/components/virtuosoList/index.module.less +0 -467
- package/es2017/AIMessageList/index.d.ts +0 -4
- package/es2017/AIMessageList/index.js +0 -58
- package/es2017/AIMessageList/index.module.less +0 -20
- package/es2017/AIMessageList/type.d.ts +0 -306
- package/es2017/images/loading2.js +0 -2
- package/es2017/utils/number.d.ts +0 -1
- package/es2017/utils/number.js +0 -9
- package/esm/AIMessageList/components/content/index.d.ts +0 -4
- package/esm/AIMessageList/components/content/index.js +0 -29
- package/esm/AIMessageList/components/content/index.module.less +0 -8
- package/esm/AIMessageList/components/copyIcon/index.d.ts +0 -7
- package/esm/AIMessageList/components/copyIcon/index.js +0 -76
- package/esm/AIMessageList/components/copyIcon/index.module.less +0 -22
- package/esm/AIMessageList/components/errorCallback/index.d.ts +0 -3
- package/esm/AIMessageList/components/errorCallback/index.js +0 -6
- package/esm/AIMessageList/components/fileList/fileIcon.d.ts +0 -3
- package/esm/AIMessageList/components/fileList/fileIcon.js +0 -970
- package/esm/AIMessageList/components/fileList/index.d.ts +0 -4
- package/esm/AIMessageList/components/fileList/index.js +0 -337
- package/esm/AIMessageList/components/fileList/index.module.less +0 -95
- package/esm/AIMessageList/components/footer/index.d.ts +0 -10
- package/esm/AIMessageList/components/footer/index.js +0 -372
- package/esm/AIMessageList/components/footer/index.module.less +0 -51
- package/esm/AIMessageList/components/header/index.d.ts +0 -9
- package/esm/AIMessageList/components/header/index.js +0 -96
- package/esm/AIMessageList/components/header/index.module.less +0 -31
- package/esm/AIMessageList/components/referencesIcon/index.d.ts +0 -9
- package/esm/AIMessageList/components/referencesIcon/index.js +0 -65
- package/esm/AIMessageList/components/referencesIcon/index.module.less +0 -13
- package/esm/AIMessageList/components/refreshBtn/index.d.ts +0 -4
- package/esm/AIMessageList/components/refreshBtn/index.js +0 -31
- package/esm/AIMessageList/components/refreshBtn/index.module.less +0 -12
- package/esm/AIMessageList/components/remarkBtn/index.d.ts +0 -4
- package/esm/AIMessageList/components/remarkBtn/index.js +0 -51
- package/esm/AIMessageList/components/remarkBtn/index.module.less +0 -13
- package/esm/AIMessageList/components/renderReferrnce/index.d.ts +0 -10
- package/esm/AIMessageList/components/renderReferrnce/index.js +0 -72
- package/esm/AIMessageList/components/renderReferrnce/index.module.less +0 -64
- package/esm/AIMessageList/components/sendBtn/index.d.ts +0 -4
- package/esm/AIMessageList/components/sendBtn/index.js +0 -53
- package/esm/AIMessageList/components/sendBtn/index.module.less +0 -25
- package/esm/AIMessageList/components/uplodaFileBtn/index.d.ts +0 -4
- package/esm/AIMessageList/components/uplodaFileBtn/index.js +0 -33
- package/esm/AIMessageList/components/uplodaFileBtn/index.module.less +0 -5
- package/esm/AIMessageList/components/virtuosoList/index.d.ts +0 -5
- package/esm/AIMessageList/components/virtuosoList/index.js +0 -671
- package/esm/AIMessageList/components/virtuosoList/index.module.less +0 -467
- package/esm/AIMessageList/index.d.ts +0 -4
- package/esm/AIMessageList/index.js +0 -58
- package/esm/AIMessageList/index.module.less +0 -20
- package/esm/AIMessageList/type.d.ts +0 -306
- package/esm/images/loading2.js +0 -2
- package/esm/utils/number.d.ts +0 -1
- package/esm/utils/number.js +0 -9
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
export interface AIMessageListProps {
|
|
2
|
-
prefix?: string; // 类名前缀 默认为 "bhd-AIMessageList"
|
|
3
|
-
className?: string; //全局的className
|
|
4
|
-
headerConfig: headerConfigProps;
|
|
5
|
-
footerConfig: footerConfigProps;
|
|
6
|
-
contentConfig: contentConfigProps;
|
|
7
|
-
errorCallback?: (error: errorMessageProps) => void;
|
|
8
|
-
|
|
9
|
-
// sendMsgAjax: () => any; //发送消息
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface AIMessageListRefProps {
|
|
13
|
-
footerApi: footerRefProps;
|
|
14
|
-
contentApi: contentRefProps;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// header Props
|
|
18
|
-
|
|
19
|
-
export interface headerConfigProps {
|
|
20
|
-
icon?: React.ReactNode; // 不传存在默认图标
|
|
21
|
-
title: React.ReactNode;
|
|
22
|
-
className?: string;
|
|
23
|
-
renderRightHead?: () => React.ReactNode; // 右侧区域的自定义渲染
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export interface msgActionProps {
|
|
27
|
-
renderLeft?: (
|
|
28
|
-
copyNode: React.ReactNode,
|
|
29
|
-
referencesNode: React.ReactNode,
|
|
30
|
-
upVoteNode: React.ReactNode,
|
|
31
|
-
downVoteNode: React.ReactNode,
|
|
32
|
-
refreshNode:React.ReactNode,
|
|
33
|
-
) => React.ReactNode;
|
|
34
|
-
renderRight?: (
|
|
35
|
-
copyNode: React.ReactNode,
|
|
36
|
-
referencesNode: React.ReactNode,
|
|
37
|
-
upVoteNode: React.ReactNode,
|
|
38
|
-
downVoteNode: React.ReactNode,
|
|
39
|
-
refreshNode:React.ReactNode,
|
|
40
|
-
) => React.ReactNode;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface contentConfigProps {
|
|
44
|
-
className?: string;
|
|
45
|
-
msgAction?: string[] | msgActionProps;
|
|
46
|
-
// transformItem:(item: any) => dataItemType;
|
|
47
|
-
getList: (
|
|
48
|
-
page: number,
|
|
49
|
-
pageSize: number
|
|
50
|
-
) => Promise<{
|
|
51
|
-
total: number;
|
|
52
|
-
dataSource: dataItemType[];
|
|
53
|
-
}>; // 列表数据
|
|
54
|
-
loadMore?: boolean; // 是否开启加载更多 // 默认为true
|
|
55
|
-
helloMsg?: string; //欢迎语
|
|
56
|
-
pageSize?: number; //每页数量 默认为30
|
|
57
|
-
coverRenderText?: (item, html) => React.ReactNode; // 覆盖文本内容
|
|
58
|
-
coverRenderReferences?: (
|
|
59
|
-
item: dataItemType,
|
|
60
|
-
referenceNode: React.ReactNode
|
|
61
|
-
) => React.ReactNode; //覆盖引用内容
|
|
62
|
-
onRecordMessage?: (item: dataItemType) => void; // 发送和接收的消息记录
|
|
63
|
-
onVoteChange?: (type:string,item: dataItemType) => void; // 点赞 或踩
|
|
64
|
-
onRefresh?: (item:dataItemType) => void;// 刷新
|
|
65
|
-
fileCustomRender?: {// 文件对象的自定义渲染
|
|
66
|
-
iconFileRender?: (suffix: string) => React.ReactNode; // 文件上传的 icon。参数 文件对象file 返回值为图标
|
|
67
|
-
fileTitleRender?: (item: dataItemType) => React.ReactNode;
|
|
68
|
-
fileBottomRender?: (item: dataItemType) => React.ReactNode;
|
|
69
|
-
fileRender?: (item: dataItemType) => React.ReactNode;
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// content props
|
|
74
|
-
|
|
75
|
-
export interface contentProps {
|
|
76
|
-
prefix: string;
|
|
77
|
-
contentConfig: contentConfigProps;
|
|
78
|
-
apiRef: AIMessageListRefProps;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
// footer Props
|
|
82
|
-
|
|
83
|
-
export interface footerConfigProps {
|
|
84
|
-
placeholder?: string; // placeholder 默认值为“请输入内容”
|
|
85
|
-
className?: string;
|
|
86
|
-
maxLength?: number | ((value: string) => boolean); //字符长度 默认500
|
|
87
|
-
renderAction?: (
|
|
88
|
-
sendBtn: React.ReactNode,
|
|
89
|
-
uploadFileBtn: React.ReactNode
|
|
90
|
-
) => React.ReactNode; // 自定义渲染操作栏
|
|
91
|
-
fileUpload?: boolean | fileUploadProps; // 默认为false
|
|
92
|
-
sendMsgAjaxParams: sendMsgAjaxParams;
|
|
93
|
-
onClickStop?: () => void;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export interface onOpenProps {
|
|
97
|
-
retryFetch: () => void; // 重试
|
|
98
|
-
stopMessage: () => void;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export interface sendMsgAjaxParams {
|
|
102
|
-
url: string;
|
|
103
|
-
method?: string;
|
|
104
|
-
headers?: () => object;
|
|
105
|
-
params: (
|
|
106
|
-
value: string,
|
|
107
|
-
refereces: referenceType,
|
|
108
|
-
fileList: fileCustomProps[],
|
|
109
|
-
beforeInfo: any
|
|
110
|
-
) => string;
|
|
111
|
-
onOpen?: (res: Response, onOpenProps: onOpenProps) => void;
|
|
112
|
-
onMessage?: (ev: EventSourceMessage,closeCallback:()=>void) => { id: string; content: string };
|
|
113
|
-
onClose?: () => void;
|
|
114
|
-
onError?: (err: any) => void;
|
|
115
|
-
coverProps?: object;
|
|
116
|
-
beforeSendMsg: (
|
|
117
|
-
value: string,
|
|
118
|
-
refereces: referenceType,
|
|
119
|
-
fileList: fileCustomProps[]
|
|
120
|
-
) => Promise<any>;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// footer file Props
|
|
124
|
-
// 文件上传(需覆盖两种场景:存在解析和不存在解析的场景) flase 则不显示文件上传的 icon
|
|
125
|
-
export interface fileUploadProps {
|
|
126
|
-
accept?: string; //文件类型 默认值 ".pdf,.ppt,.pptx,.doc,.docx,.xls,.xlsx,.txt,.text,.png,.jpg,.jpeg,.gif,.webp"
|
|
127
|
-
maxCount?: number; // 上传文件数量限制 -1为不限制 默认为10
|
|
128
|
-
maxSize?: number; // 默认为50Mb 目前不考虑切片上传 业务上不要设置太大
|
|
129
|
-
multiple?: boolean; // 是否允许多选
|
|
130
|
-
customRequest: (file: File) => Promise<{
|
|
131
|
-
url: string;
|
|
132
|
-
fileId: string;
|
|
133
|
-
source: File;
|
|
134
|
-
status: fileStatus;
|
|
135
|
-
}>; // 自定义上传方法
|
|
136
|
-
mapUploadCount?: number; // 并发上传的数量 默认为1
|
|
137
|
-
deleteFileAjax?: (
|
|
138
|
-
fileId: string,
|
|
139
|
-
file: fileCustomProps
|
|
140
|
-
) => Promise<{ fileId: string }>; // 删除文件的ajax 返回删除文件的fileId
|
|
141
|
-
statusText?: (status: fileStatus) => React.ReactNode; // 自定义状态显示
|
|
142
|
-
parseFileAjax?: (fileId: string) => { status: fileStatus; fileId; string }; //文件解析的 ajax 请求 如不存在解析过程,可在此函数内直接返回上传成功的状态
|
|
143
|
-
iconFileRender?: (suffix: string) => React.ReactNode; // 文件上传的 icon。参数 文件对象file 返回值为图标
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
// file status 文件状态
|
|
147
|
-
// 等待上传/上传中/上传失败/等待解析/解析中/解析成功/解析失败/上传成功
|
|
148
|
-
export type fileStatus =
|
|
149
|
-
| "waiting"
|
|
150
|
-
| "uploading"
|
|
151
|
-
| "uploadError"
|
|
152
|
-
| "waitParse"
|
|
153
|
-
| "parsing"
|
|
154
|
-
| "parsingError"
|
|
155
|
-
| "success";
|
|
156
|
-
|
|
157
|
-
// footer Ref Props
|
|
158
|
-
|
|
159
|
-
export interface footerRefProps {
|
|
160
|
-
setTextValue: (value: string) => void; // 设置输入框的值
|
|
161
|
-
sendMsg: (value: string) => void; // 发送消息
|
|
162
|
-
clearText: () => void; // 清空输入框
|
|
163
|
-
getCanSendMsg: () => boolean; //获取当前是否允许发送消息的状态
|
|
164
|
-
stopMessage: () => void; //停止发送消息
|
|
165
|
-
setReferences: (reference: referenceType) => void; // 添加引用
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
// sendBtn Props
|
|
169
|
-
|
|
170
|
-
export interface sendBtnProps {
|
|
171
|
-
prefix: string;
|
|
172
|
-
canSendMsg: boolean;
|
|
173
|
-
sending: boolean;
|
|
174
|
-
stopMessage: () => void;
|
|
175
|
-
clickFn?: () => void;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
// uploadFileBtn Props
|
|
179
|
-
export interface uploadFileBtnProps {
|
|
180
|
-
prefix: string;
|
|
181
|
-
fileUpload: fileUploadProps;
|
|
182
|
-
customRequest: (options: any) => void;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
export interface VoteBtnProps {
|
|
186
|
-
prefix: string;
|
|
187
|
-
clickFn: () => void;
|
|
188
|
-
isActive: boolean;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
export interface refreshBtnProps{
|
|
192
|
-
prefix:string;
|
|
193
|
-
clickFn:()=>void;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
// fileList Props
|
|
197
|
-
|
|
198
|
-
export interface fileListProps {
|
|
199
|
-
prefix: string;
|
|
200
|
-
fileUpload: fileUploadProps;
|
|
201
|
-
errorCallback: (error: errorMessageProps) => void;
|
|
202
|
-
changeFileCanSending: (flag: boolean) => void;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
// file 自定义对象
|
|
206
|
-
|
|
207
|
-
export interface fileCustomProps {
|
|
208
|
-
name: string;
|
|
209
|
-
suffix: string;
|
|
210
|
-
fileId: string;
|
|
211
|
-
url: string;
|
|
212
|
-
status: fileStatus | undefined;
|
|
213
|
-
source: File | undefined;
|
|
214
|
-
size:number
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
// FileList 组件 ref props
|
|
218
|
-
|
|
219
|
-
export interface FileListRefProps {
|
|
220
|
-
addFile: (file: File) => void;
|
|
221
|
-
changePage: (page: number) => void;
|
|
222
|
-
deleteFile: (fileId: string) => void;
|
|
223
|
-
updateFile: (fileId: string, status: fileStatus) => void;
|
|
224
|
-
getFileList: () => fileCustomProps[];
|
|
225
|
-
vaildFile: (file: File, fileId?: string) => boolean; // 校验文件是否合规
|
|
226
|
-
fileToCustomFile: (file: File, params: any) => fileCustomProps;
|
|
227
|
-
clearFileList: () => void;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
// error Message
|
|
231
|
-
|
|
232
|
-
export interface errorMessageProps {
|
|
233
|
-
type: errorMessageType;
|
|
234
|
-
message: string;
|
|
235
|
-
}
|
|
236
|
-
/*
|
|
237
|
-
fileAcceptError 文件类型错误
|
|
238
|
-
fileSizeEmpty 文件大小为空
|
|
239
|
-
fileSizeOver 文件大小超出限制
|
|
240
|
-
fileCountOver 文件数量超出限制
|
|
241
|
-
fileNameExist 文件名称已存在
|
|
242
|
-
*/
|
|
243
|
-
export type errorMessageType =
|
|
244
|
-
| "fileAcceptError"
|
|
245
|
-
| "fileSizeEmpty"
|
|
246
|
-
| "fileSizeOver"
|
|
247
|
-
| "fileCountOver"
|
|
248
|
-
| "fileNameExist";
|
|
249
|
-
|
|
250
|
-
// 引用数据类型
|
|
251
|
-
|
|
252
|
-
export type referenceType = referenceTypeText | referenceTypeFile;
|
|
253
|
-
|
|
254
|
-
export type referenceTypeText = {
|
|
255
|
-
type: "text";
|
|
256
|
-
value: string;
|
|
257
|
-
source:any;
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
export type referenceTypeFile = {
|
|
261
|
-
type: "file";
|
|
262
|
-
value: fileCustomProps;
|
|
263
|
-
source:any;
|
|
264
|
-
};
|
|
265
|
-
|
|
266
|
-
export interface VirtuosoListProps {
|
|
267
|
-
prefix: string;
|
|
268
|
-
contentConfig: contentConfigProps;
|
|
269
|
-
apiRef: AIMessageListRefProps;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
export interface VirtuosoListRefProps {
|
|
273
|
-
addMsg: (msg: dataItemType) => void;
|
|
274
|
-
updateMsg: (id: string, obj: any) => void;
|
|
275
|
-
clearInputing: () => void; //清楚正在输入的inputing
|
|
276
|
-
recordMsg: (item: dataItemType) => void;
|
|
277
|
-
getDataSource: () => dataItemType[];
|
|
278
|
-
upateDataSource:(id:string,obj:dataItemType)=>void;
|
|
279
|
-
changeDataSource:(list:dataItemType[])=>void;
|
|
280
|
-
scrollToBottom: () => void;
|
|
281
|
-
setSendingId:(id:string)=>void;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
export interface contentRefProps extends VirtuosoListRefProps {}
|
|
285
|
-
|
|
286
|
-
export interface EventSourceMessage {
|
|
287
|
-
id: string;
|
|
288
|
-
event: string;
|
|
289
|
-
data: string;
|
|
290
|
-
retry?: number;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
export interface dataItemType {
|
|
294
|
-
id: string; // 唯一id
|
|
295
|
-
createTime: string | number; //创建时间
|
|
296
|
-
content: string; //消息内容
|
|
297
|
-
location: "left" | "right"; // 消息显示在左边还是右边
|
|
298
|
-
reference: referenceType | null; // 引用数据
|
|
299
|
-
source: any; //原消息对象
|
|
300
|
-
vote?:string;// "up":点赞。"down":踩
|
|
301
|
-
type?:"file"|"text",
|
|
302
|
-
suffix?:string;
|
|
303
|
-
fileSize?:number;
|
|
304
|
-
fileTitle?:string;
|
|
305
|
-
fileList?:fileCustomProps[];
|
|
306
|
-
}
|
package/esm/images/loading2.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var loading2 = "data:image/gif;base64,R0lGODlhgACAAKIEAN3d3bu7u////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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const guidGenerator: () => string;
|
package/esm/utils/number.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export var guidGenerator = function() {
|
|
2
|
-
var d = new Date().getTime();
|
|
3
|
-
var uuid = "xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g, function(c) {
|
|
4
|
-
var r = (d + Math.random() * 16) % 16 | 0;
|
|
5
|
-
d = Math.floor(d / 16);
|
|
6
|
-
return (c == "x" ? r : r & 3 | 8).toString(16);
|
|
7
|
-
});
|
|
8
|
-
return uuid;
|
|
9
|
-
};
|