@waline/client 3.4.2 → 3.5.0
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/comment.js +1 -1
- package/dist/comment.js.map +1 -1
- package/dist/component.js +11 -11
- package/dist/component.js.map +1 -1
- package/dist/pageview.js +1 -1
- package/dist/pageview.js.map +1 -1
- package/dist/slim.d.ts +14 -14
- package/dist/slim.js +11 -11
- package/dist/slim.js.map +1 -1
- package/dist/waline.d.ts +14 -14
- package/dist/waline.js +39 -39
- package/dist/waline.js.map +1 -1
- package/dist/waline.umd.js +42 -42
- package/dist/waline.umd.js.map +1 -1
- package/package.json +4 -4
package/dist/waline.d.ts
CHANGED
|
@@ -309,23 +309,23 @@ interface WalineProps {
|
|
|
309
309
|
*
|
|
310
310
|
* @default ['//unpkg.com/@waline/emojis@1.1.0/weibo']
|
|
311
311
|
*/
|
|
312
|
-
emoji?: (WalineEmojiInfo | WalineEmojiPresets)[] |
|
|
312
|
+
emoji?: (WalineEmojiInfo | WalineEmojiPresets)[] | 'built-in' | 'disabled';
|
|
313
313
|
/**
|
|
314
314
|
* 设置搜索功能
|
|
315
315
|
*
|
|
316
316
|
* Customize Search feature
|
|
317
317
|
*
|
|
318
|
-
* @default
|
|
318
|
+
* @default 'built-in'
|
|
319
319
|
*/
|
|
320
|
-
search?: WalineSearchOptions |
|
|
320
|
+
search?: WalineSearchOptions | 'built-in' | 'disabled';
|
|
321
321
|
/**
|
|
322
322
|
* 代码高亮
|
|
323
323
|
*
|
|
324
324
|
* Code highlighting
|
|
325
325
|
*
|
|
326
|
-
* @default
|
|
326
|
+
* @default 'built-in'
|
|
327
327
|
*/
|
|
328
|
-
highlighter?: WalineHighlighter |
|
|
328
|
+
highlighter?: WalineHighlighter | 'built-in' | 'disabled';
|
|
329
329
|
/**
|
|
330
330
|
* 自定义图片上传方法,方便更好的存储图片
|
|
331
331
|
*
|
|
@@ -335,17 +335,17 @@ interface WalineProps {
|
|
|
335
335
|
*
|
|
336
336
|
* We will pass a picture file object when execute it.
|
|
337
337
|
*
|
|
338
|
-
* @default
|
|
338
|
+
* @default 'built-in'
|
|
339
339
|
*/
|
|
340
|
-
imageUploader?: WalineImageUploader |
|
|
340
|
+
imageUploader?: WalineImageUploader | 'built-in' | 'disabled';
|
|
341
341
|
/**
|
|
342
342
|
* 自定义数学公式处理方法,用于预览。
|
|
343
343
|
*
|
|
344
344
|
* Custom math formula parse callback for preview.
|
|
345
345
|
*
|
|
346
|
-
* @default
|
|
346
|
+
* @default 'built-in'
|
|
347
347
|
*/
|
|
348
|
-
texRenderer?: WalineTeXRenderer |
|
|
348
|
+
texRenderer?: WalineTeXRenderer | 'built-in' | 'disabled';
|
|
349
349
|
/**
|
|
350
350
|
*
|
|
351
351
|
* 登录模式状态,可选值:
|
|
@@ -364,17 +364,17 @@ interface WalineProps {
|
|
|
364
364
|
*/
|
|
365
365
|
login?: WalineLoginStatus;
|
|
366
366
|
/**
|
|
367
|
-
*
|
|
367
|
+
* 是否在页脚隐藏版权信息
|
|
368
368
|
*
|
|
369
369
|
* 为了支持 Waline,我们强烈建议你开启它
|
|
370
370
|
*
|
|
371
|
-
* Whether
|
|
371
|
+
* Whether hide copyright in footer
|
|
372
372
|
*
|
|
373
373
|
* We strongly recommended you to keep it on to support waline
|
|
374
374
|
*
|
|
375
|
-
* @default
|
|
375
|
+
* @default false
|
|
376
376
|
*/
|
|
377
|
-
|
|
377
|
+
noCopyright?: boolean;
|
|
378
378
|
/**
|
|
379
379
|
* recaptcha v3 client key
|
|
380
380
|
*/
|
|
@@ -386,7 +386,7 @@ interface WalineProps {
|
|
|
386
386
|
/**
|
|
387
387
|
* reaction
|
|
388
388
|
*/
|
|
389
|
-
reaction?: string[] |
|
|
389
|
+
reaction?: string[] | 'built-in' | 'disabled';
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
interface WalineInitOptions extends Omit<WalineProps, 'path'> {
|