@alifd/chat 0.2.0 → 0.3.0-beta.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/es/HTMLRenderer/index.d.ts +4 -0
- package/es/HTMLRenderer/index.js +138 -0
- package/es/HTMLRenderer/index.less +192 -0
- package/es/HTMLRenderer/main.scss +233 -0
- package/es/HTMLRenderer/style.d.ts +1 -0
- package/es/HTMLRenderer/style.js +1 -0
- package/es/HTMLRenderer/types.d.ts +46 -0
- package/es/HTMLRenderer/types.js +1 -0
- package/es/ImagePreview/index.d.ts +13 -0
- package/es/ImagePreview/index.js +72 -0
- package/es/ImagePreview/main.scss +15 -0
- package/es/ImagePreview/style.d.ts +1 -0
- package/es/ImagePreview/style.js +1 -0
- package/es/ImagePreview/types.d.ts +31 -0
- package/es/ImagePreview/types.js +1 -0
- package/es/balloon/index.d.ts +7 -0
- package/es/balloon/index.js +7 -0
- package/es/balloon/style.d.ts +1 -0
- package/es/balloon/style.js +1 -0
- package/es/balloon/types.d.ts +219 -0
- package/es/balloon/types.js +1 -0
- package/es/card-loading/index.d.ts +11 -0
- package/es/card-loading/index.js +18 -0
- package/es/card-loading/main.scss +5 -0
- package/es/card-loading/style.d.ts +2 -0
- package/es/card-loading/style.js +2 -0
- package/es/card-loading/types.d.ts +10 -0
- package/es/card-loading/types.js +1 -0
- package/es/feedback/types.d.ts +8 -0
- package/es/float-button/hooks/useAutoHide.d.ts +0 -1
- package/es/float-button/hooks/useDragable.d.ts +0 -1
- package/es/float-button/index.d.ts +0 -1
- package/es/icon/index.d.ts +12 -0
- package/es/icon/index.js +21 -0
- package/es/icon/main.scss +1 -0
- package/es/icon/style.d.ts +2 -0
- package/es/icon/style.js +2 -0
- package/es/icon/types.d.ts +43 -0
- package/es/icon/types.js +1 -0
- package/es/index.d.ts +8 -0
- package/es/index.js +9 -1
- package/es/input/index.d.ts +1 -2
- package/es/list/index.d.ts +8 -0
- package/es/list/index.js +8 -0
- package/es/list/style.d.ts +1 -0
- package/es/list/style.js +1 -0
- package/es/list/types.d.ts +93 -0
- package/es/list/types.js +1 -0
- package/es/markdown/index.d.ts +6 -0
- package/es/markdown/index.js +175 -0
- package/es/markdown/main.scss +153 -0
- package/es/markdown/style.d.ts +3 -0
- package/es/markdown/style.js +3 -0
- package/es/markdown/types.d.ts +21 -0
- package/es/markdown/types.js +1 -0
- package/es/message/index.d.ts +75 -0
- package/es/message/index.js +30 -0
- package/es/message/main.scss +2 -0
- package/es/message/style.d.ts +2 -0
- package/es/message/style.js +2 -0
- package/es/message/types.d.ts +195 -0
- package/es/message/types.js +1 -0
- package/es/person-picker/index.d.ts +377 -2
- package/es/person-picker/index.js +3 -3
- package/es/tab/main.scss +2 -3
- package/es/tag/index.d.ts +20 -20
- package/es/tag/index.js +2 -2
- package/es/tag/main.scss +1 -1
- package/es/utils/func.d.ts +1 -0
- package/es/utils/func.js +9 -0
- package/lib/HTMLRenderer/index.d.ts +4 -0
- package/lib/HTMLRenderer/index.js +141 -0
- package/lib/HTMLRenderer/index.less +192 -0
- package/lib/HTMLRenderer/main.scss +233 -0
- package/lib/HTMLRenderer/style.d.ts +1 -0
- package/lib/HTMLRenderer/style.js +3 -0
- package/lib/HTMLRenderer/types.d.ts +46 -0
- package/lib/HTMLRenderer/types.js +2 -0
- package/lib/ImagePreview/index.d.ts +13 -0
- package/lib/ImagePreview/index.js +75 -0
- package/lib/ImagePreview/main.scss +15 -0
- package/lib/ImagePreview/style.d.ts +1 -0
- package/lib/ImagePreview/style.js +3 -0
- package/lib/ImagePreview/types.d.ts +31 -0
- package/lib/ImagePreview/types.js +2 -0
- package/lib/balloon/index.d.ts +7 -0
- package/lib/balloon/index.js +11 -0
- package/lib/balloon/style.d.ts +1 -0
- package/lib/balloon/style.js +3 -0
- package/lib/balloon/types.d.ts +219 -0
- package/lib/balloon/types.js +2 -0
- package/lib/card/view/card.js +2 -3
- package/lib/card-loading/index.d.ts +11 -0
- package/lib/card-loading/index.js +21 -0
- package/lib/card-loading/main.scss +5 -0
- package/lib/card-loading/style.d.ts +2 -0
- package/lib/card-loading/style.js +4 -0
- package/lib/card-loading/types.d.ts +10 -0
- package/lib/card-loading/types.js +2 -0
- package/lib/feedback/types.d.ts +8 -0
- package/lib/float-button/hooks/useAutoAlign.js +1 -2
- package/lib/float-button/hooks/useAutoHide.d.ts +0 -1
- package/lib/float-button/hooks/useAutoHide.js +1 -2
- package/lib/float-button/hooks/useDragable.d.ts +0 -1
- package/lib/float-button/hooks/useDragable.js +1 -2
- package/lib/float-button/hooks/useNestleEdge.js +1 -2
- package/lib/float-button/hooks/useTriggerType.js +1 -2
- package/lib/float-button/index.d.ts +0 -1
- package/lib/float-button/util.js +4 -5
- package/lib/float-button/view/balloon.js +1 -2
- package/lib/float-button/view/drawer.js +1 -2
- package/lib/float-button/view/inner-drawer.js +1 -2
- package/lib/icon/index.d.ts +12 -0
- package/lib/icon/index.js +23 -0
- package/lib/icon/main.scss +1 -0
- package/lib/icon/style.d.ts +2 -0
- package/lib/icon/style.js +4 -0
- package/lib/icon/types.d.ts +43 -0
- package/lib/icon/types.js +2 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.js +30 -16
- package/lib/input/index.d.ts +1 -2
- package/lib/list/index.d.ts +8 -0
- package/lib/list/index.js +12 -0
- package/lib/list/style.d.ts +1 -0
- package/lib/list/style.js +3 -0
- package/lib/list/types.d.ts +93 -0
- package/lib/list/types.js +2 -0
- package/lib/markdown/index.d.ts +6 -0
- package/lib/markdown/index.js +178 -0
- package/lib/markdown/main.scss +153 -0
- package/lib/markdown/style.d.ts +3 -0
- package/lib/markdown/style.js +5 -0
- package/lib/markdown/types.d.ts +21 -0
- package/lib/markdown/types.js +2 -0
- package/lib/message/index.d.ts +75 -0
- package/lib/message/index.js +32 -0
- package/lib/message/main.scss +2 -0
- package/lib/message/style.d.ts +2 -0
- package/lib/message/style.js +4 -0
- package/lib/message/types.d.ts +195 -0
- package/lib/message/types.js +2 -0
- package/lib/person-picker/index.d.ts +377 -2
- package/lib/person-picker/index.js +3 -3
- package/lib/tab/main.scss +2 -3
- package/lib/tag/index.d.ts +20 -20
- package/lib/tag/index.js +2 -2
- package/lib/tag/main.scss +1 -1
- package/lib/utils/common.js +1 -2
- package/lib/utils/dingtalk.js +3 -4
- package/lib/utils/func.d.ts +1 -0
- package/lib/utils/func.js +12 -3
- package/lib/utils/hooks/useControlable.js +1 -2
- package/lib/utils/hooks/useDebounce.js +1 -2
- package/lib/utils/hooks/useThrottle.js +1 -2
- package/package.json +127 -5
package/lib/utils/dingtalk.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.userPicker = userPicker;
|
|
4
|
+
exports.quitApp = quitApp;
|
|
5
|
+
exports.addZeroInWorkNo = addZeroInWorkNo;
|
|
4
6
|
const tslib_1 = require("tslib");
|
|
5
7
|
require("@ali/dingtalk-jsapi/entry/union");
|
|
6
8
|
const quit_1 = tslib_1.__importDefault(require("@ali/dingtalk-jsapi/api/biz/navigation/quit"));
|
|
@@ -28,7 +30,6 @@ function userPicker({ pickedUsers, onSuccess }) {
|
|
|
28
30
|
onSuccess,
|
|
29
31
|
});
|
|
30
32
|
}
|
|
31
|
-
exports.userPicker = userPicker;
|
|
32
33
|
function quitApp() {
|
|
33
34
|
try {
|
|
34
35
|
if (dingtalk_jsapi_1.env.platform === 'pc') {
|
|
@@ -45,7 +46,6 @@ function quitApp() {
|
|
|
45
46
|
console.log('quitApp error:', err);
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
|
-
exports.quitApp = quitApp;
|
|
49
49
|
function addZeroInWorkNo(workNo) {
|
|
50
50
|
if (!workNo) {
|
|
51
51
|
return '';
|
|
@@ -57,4 +57,3 @@ function addZeroInWorkNo(workNo) {
|
|
|
57
57
|
const str = `0000000${workNo}`;
|
|
58
58
|
return str.slice(str.length - 6, str.length);
|
|
59
59
|
}
|
|
60
|
-
exports.addZeroInWorkNo = addZeroInWorkNo;
|
package/lib/utils/func.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { type AnyFunction } from './types';
|
|
2
2
|
export declare function debounce<Callback extends AnyFunction>(callback: Callback, delay: number, leading?: boolean): (...args: Parameters<Callback>) => void;
|
|
3
3
|
export declare function throttle<Callback extends AnyFunction>(callback: Callback, delay: number): (...args: Parameters<Callback>) => void;
|
|
4
|
+
export declare function findAncestor(element: HTMLElement | null, where: (e: HTMLElement) => boolean | undefined): HTMLElement | null;
|
package/lib/utils/func.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.debounce = debounce;
|
|
4
|
+
exports.throttle = throttle;
|
|
5
|
+
exports.findAncestor = findAncestor;
|
|
4
6
|
function debounce(callback, delay, leading = false) {
|
|
5
7
|
let timer;
|
|
6
8
|
let isFirstRun = true;
|
|
@@ -20,7 +22,6 @@ function debounce(callback, delay, leading = false) {
|
|
|
20
22
|
};
|
|
21
23
|
return fn;
|
|
22
24
|
}
|
|
23
|
-
exports.debounce = debounce;
|
|
24
25
|
function throttle(callback, delay) {
|
|
25
26
|
let lastTime;
|
|
26
27
|
const fn = (...args) => {
|
|
@@ -32,4 +33,12 @@ function throttle(callback, delay) {
|
|
|
32
33
|
};
|
|
33
34
|
return fn;
|
|
34
35
|
}
|
|
35
|
-
|
|
36
|
+
function findAncestor(element, where) {
|
|
37
|
+
if (!element || element === document.body) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
if (where(element)) {
|
|
41
|
+
return element;
|
|
42
|
+
}
|
|
43
|
+
return findAncestor(element.parentElement, where);
|
|
44
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useControlable =
|
|
3
|
+
exports.useControlable = useControlable;
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
function upperFirst(str) {
|
|
6
6
|
return `${str.slice(0, 1).toUpperCase()}${str.slice(1)}`;
|
|
@@ -29,4 +29,3 @@ function useControlable(props, { valueName = 'value', defaultValueName = getDefa
|
|
|
29
29
|
}, [propValue, isControl]);
|
|
30
30
|
return [value, handleChange];
|
|
31
31
|
}
|
|
32
|
-
exports.useControlable = useControlable;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useDebounce =
|
|
3
|
+
exports.useDebounce = useDebounce;
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const func_1 = require("../func");
|
|
6
6
|
function useDebounce(callback, delay = 0, leading = false) {
|
|
@@ -10,4 +10,3 @@ function useDebounce(callback, delay = 0, leading = false) {
|
|
|
10
10
|
return (0, func_1.debounce)((...args) => callbackRef.current(...args), delay, leading);
|
|
11
11
|
}, [delay, leading]);
|
|
12
12
|
}
|
|
13
|
-
exports.useDebounce = useDebounce;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useThrottle =
|
|
3
|
+
exports.useThrottle = useThrottle;
|
|
4
4
|
const react_1 = require("react");
|
|
5
5
|
const func_1 = require("../func");
|
|
6
6
|
function useThrottle(callback, delay = 0) {
|
|
@@ -10,4 +10,3 @@ function useThrottle(callback, delay = 0) {
|
|
|
10
10
|
return (0, func_1.throttle)((...args) => callbackRef.current(...args), delay);
|
|
11
11
|
}, [delay]);
|
|
12
12
|
}
|
|
13
|
-
exports.useThrottle = useThrottle;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alifd/chat",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0-beta.1",
|
|
4
4
|
"description": "A configurable component library for chat built on React.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -169,6 +169,102 @@
|
|
|
169
169
|
"./person-picker/style.js": {
|
|
170
170
|
"import": "./es/person-picker/style.js",
|
|
171
171
|
"require": "./lib/person-picker/style.js"
|
|
172
|
+
},
|
|
173
|
+
"./message": {
|
|
174
|
+
"import": "./es/message/index.js",
|
|
175
|
+
"require": "./lib/message/index.js"
|
|
176
|
+
},
|
|
177
|
+
"./message/style": {
|
|
178
|
+
"import": "./es/message/style.js",
|
|
179
|
+
"require": "./lib/message/style.js"
|
|
180
|
+
},
|
|
181
|
+
"./message/style.js": {
|
|
182
|
+
"import": "./es/message/style.js",
|
|
183
|
+
"require": "./lib/message/style.js"
|
|
184
|
+
},
|
|
185
|
+
"./icon": {
|
|
186
|
+
"import": "./es/icon/index.js",
|
|
187
|
+
"require": "./lib/icon/index.js"
|
|
188
|
+
},
|
|
189
|
+
"./icon/style": {
|
|
190
|
+
"import": "./es/icon/style.js",
|
|
191
|
+
"require": "./lib/icon/style.js"
|
|
192
|
+
},
|
|
193
|
+
"./icon/style.js": {
|
|
194
|
+
"import": "./es/icon/style.js",
|
|
195
|
+
"require": "./lib/icon/style.js"
|
|
196
|
+
},
|
|
197
|
+
"./balloon": {
|
|
198
|
+
"import": "./es/balloon/index.js",
|
|
199
|
+
"require": "./lib/balloon/index.js"
|
|
200
|
+
},
|
|
201
|
+
"./balloon/style": {
|
|
202
|
+
"import": "./es/balloon/style.js",
|
|
203
|
+
"require": "./lib/balloon/style.js"
|
|
204
|
+
},
|
|
205
|
+
"./balloon/style.js": {
|
|
206
|
+
"import": "./es/balloon/style.js",
|
|
207
|
+
"require": "./lib/balloon/style.js"
|
|
208
|
+
},
|
|
209
|
+
"./list": {
|
|
210
|
+
"import": "./es/list/index.js",
|
|
211
|
+
"require": "./lib/list/index.js"
|
|
212
|
+
},
|
|
213
|
+
"./list/style": {
|
|
214
|
+
"import": "./es/list/style.js",
|
|
215
|
+
"require": "./lib/list/style.js"
|
|
216
|
+
},
|
|
217
|
+
"./list/style.js": {
|
|
218
|
+
"import": "./es/list/style.js",
|
|
219
|
+
"require": "./lib/list/style.js"
|
|
220
|
+
},
|
|
221
|
+
"./ImagePreview": {
|
|
222
|
+
"import": "./es/ImagePreview/index.js",
|
|
223
|
+
"require": "./lib/ImagePreview/index.js"
|
|
224
|
+
},
|
|
225
|
+
"./ImagePreview/style": {
|
|
226
|
+
"import": "./es/ImagePreview/style.js",
|
|
227
|
+
"require": "./lib/ImagePreview/style.js"
|
|
228
|
+
},
|
|
229
|
+
"./ImagePreview/style.js": {
|
|
230
|
+
"import": "./es/ImagePreview/style.js",
|
|
231
|
+
"require": "./lib/ImagePreview/style.js"
|
|
232
|
+
},
|
|
233
|
+
"./HTMLRenderer": {
|
|
234
|
+
"import": "./es/HTMLRenderer/index.js",
|
|
235
|
+
"require": "./lib/HTMLRenderer/index.js"
|
|
236
|
+
},
|
|
237
|
+
"./HTMLRenderer/style": {
|
|
238
|
+
"import": "./es/HTMLRenderer/style.js",
|
|
239
|
+
"require": "./lib/HTMLRenderer/style.js"
|
|
240
|
+
},
|
|
241
|
+
"./HTMLRenderer/style.js": {
|
|
242
|
+
"import": "./es/HTMLRenderer/style.js",
|
|
243
|
+
"require": "./lib/HTMLRenderer/style.js"
|
|
244
|
+
},
|
|
245
|
+
"./markdown": {
|
|
246
|
+
"import": "./es/markdown/index.js",
|
|
247
|
+
"require": "./lib/markdown/index.js"
|
|
248
|
+
},
|
|
249
|
+
"./markdown/style": {
|
|
250
|
+
"import": "./es/markdown/style.js",
|
|
251
|
+
"require": "./lib/markdown/style.js"
|
|
252
|
+
},
|
|
253
|
+
"./markdown/style.js": {
|
|
254
|
+
"import": "./es/markdown/style.js",
|
|
255
|
+
"require": "./lib/markdown/style.js"
|
|
256
|
+
},
|
|
257
|
+
"./card-loading": {
|
|
258
|
+
"import": "./es/card-loading/index.js",
|
|
259
|
+
"require": "./lib/card-loading/index.js"
|
|
260
|
+
},
|
|
261
|
+
"./card-loading/style": {
|
|
262
|
+
"import": "./es/card-loading/style.js",
|
|
263
|
+
"require": "./lib/card-loading/style.js"
|
|
264
|
+
},
|
|
265
|
+
"./card-loading/style.js": {
|
|
266
|
+
"import": "./es/card-loading/style.js",
|
|
267
|
+
"require": "./lib/card-loading/style.js"
|
|
172
268
|
}
|
|
173
269
|
},
|
|
174
270
|
"files": [
|
|
@@ -180,11 +276,12 @@
|
|
|
180
276
|
"build": "npm run build:es && npm run build:lib && npm run build:others",
|
|
181
277
|
"build:es": "rm -rf es && tsc -p ./tsconfig.build.json --outDir es --module esnext",
|
|
182
278
|
"build:lib": "rm -rf lib && tsc -p ./tsconfig.build.json --outDir lib --module commonjs",
|
|
183
|
-
"build:others": "tsx ./scripts/build.ts"
|
|
279
|
+
"build:others": "tsx ./scripts/build.ts",
|
|
280
|
+
"changelog": "tsx ./scripts/changelog.ts",
|
|
281
|
+
"prepublishOnly": "npm run build"
|
|
184
282
|
},
|
|
185
283
|
"devDependencies": {
|
|
186
284
|
"@alifd/eslint-config-next": "^2.0.0",
|
|
187
|
-
"@alifd/next": "^1.27.2",
|
|
188
285
|
"@microsoft/tsdoc": "^0.14.2",
|
|
189
286
|
"@microsoft/tsdoc-config": "^0.16.2",
|
|
190
287
|
"@rspack/core": "^0.5.1",
|
|
@@ -192,16 +289,24 @@
|
|
|
192
289
|
"@rspack/plugin-react-refresh": "^0.5.1",
|
|
193
290
|
"@swc/core": "^1.3.104",
|
|
194
291
|
"@swc/helpers": "^0.5.6",
|
|
292
|
+
"@types/co": "^4.6.6",
|
|
293
|
+
"@types/conventional-changelog": "^3.1.5",
|
|
195
294
|
"@types/fs-extra": "^11.0.4",
|
|
196
295
|
"@types/hoist-non-react-statics": "^3.3.5",
|
|
197
296
|
"@types/lodash": "^4.14.202",
|
|
297
|
+
"@types/markdown-it": "^14.1.2",
|
|
198
298
|
"@types/minimist": "^1.2.5",
|
|
199
299
|
"@types/react": "^16.0.0",
|
|
200
300
|
"@types/react-dom": "^16.0.0",
|
|
301
|
+
"@types/sanitize-html": "^2.13.0",
|
|
302
|
+
"@types/yargs": "^17.0.32",
|
|
201
303
|
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
202
304
|
"@typescript-eslint/parser": "^6.19.0",
|
|
203
305
|
"ajv": "^8.12.0",
|
|
204
306
|
"chalk": "^5.3.0",
|
|
307
|
+
"co": "^4.6.0",
|
|
308
|
+
"conventional-changelog": "^5.0.0",
|
|
309
|
+
"conventional-changelog-conventionalcommits": "^7.0.0",
|
|
205
310
|
"eslint": "^8.56.0",
|
|
206
311
|
"eslint-config-prettier": "^9.1.0",
|
|
207
312
|
"eslint-plugin-cypress": "^2.15.1",
|
|
@@ -213,6 +318,7 @@
|
|
|
213
318
|
"fs-extra": "^11.2.0",
|
|
214
319
|
"glob": "^10.3.10",
|
|
215
320
|
"hastscript": "^9.0.0",
|
|
321
|
+
"inquirer": "^10.0.0",
|
|
216
322
|
"json5": "^2.2.3",
|
|
217
323
|
"lodash": "^4.17.21",
|
|
218
324
|
"minimist": "^1.2.8",
|
|
@@ -229,20 +335,33 @@
|
|
|
229
335
|
"sass": "^1.70.0",
|
|
230
336
|
"sass-loader": "^14.0.0",
|
|
231
337
|
"ts-morph": "^21.0.1",
|
|
338
|
+
"tsconfck": "^3.1.1",
|
|
232
339
|
"tsx": "^4.7.0",
|
|
233
|
-
"typescript": "^5.3.3"
|
|
340
|
+
"typescript": "^5.3.3",
|
|
341
|
+
"yargs": "^17.7.2"
|
|
234
342
|
},
|
|
235
343
|
"peerDependencies": {
|
|
236
344
|
"react": ">=16.0.0",
|
|
237
345
|
"react-dom": ">=16.0.0"
|
|
238
346
|
},
|
|
239
347
|
"dependencies": {
|
|
348
|
+
"@ali/dingtalk-im-emoji": "^3.5.0",
|
|
240
349
|
"@ali/dingtalk-jsapi": "^3.0.33",
|
|
350
|
+
"@alifd/next": "^1.27.13",
|
|
241
351
|
"axios": "^1.7.0",
|
|
352
|
+
"classnames": "^2.5.1",
|
|
353
|
+
"copy-to-clipboard": "^3.3.3",
|
|
242
354
|
"dd-icons": "^1.6.20",
|
|
243
355
|
"dingtalk-jsapi": "^3.0.33",
|
|
356
|
+
"highlight.js": "^11.10.0",
|
|
244
357
|
"hoist-non-react-statics": "^3.3.2",
|
|
358
|
+
"html-react-parser": "^1.4.14",
|
|
245
359
|
"ice": "^3.7.100",
|
|
360
|
+
"markdown-it": "^14.1.0",
|
|
361
|
+
"query-string": "^9.1.0",
|
|
362
|
+
"react-copy-to-clipboard": "^5.1.0",
|
|
363
|
+
"react-photo-view": "^1.2.6",
|
|
364
|
+
"sanitize-html": "^2.13.0",
|
|
246
365
|
"tslib": "^2.6.2"
|
|
247
366
|
},
|
|
248
367
|
"sideEffects": [
|
|
@@ -251,7 +370,10 @@
|
|
|
251
370
|
"*.scss",
|
|
252
371
|
"*.css"
|
|
253
372
|
],
|
|
254
|
-
"repository":
|
|
373
|
+
"repository": {
|
|
374
|
+
"url": "git@gitlab.alibaba-inc.com:fusion-chat/fusion-chat.git",
|
|
375
|
+
"type": "git"
|
|
376
|
+
},
|
|
255
377
|
"license": "MIT",
|
|
256
378
|
"publishConfig": {
|
|
257
379
|
"access": "public",
|