@opentiny/tiny-robot 0.5.2-alpha.0 → 0.5.2-alpha.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.d.ts +18 -18
- package/dist/index6.js +160 -156
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -5490,15 +5490,23 @@ export { }
|
|
|
5490
5490
|
*/
|
|
5491
5491
|
declare module '@tiptap/core' {
|
|
5492
5492
|
interface Commands<ReturnType> {
|
|
5493
|
-
|
|
5493
|
+
template: {
|
|
5494
5494
|
/**
|
|
5495
|
-
*
|
|
5495
|
+
* 设置模板数据(批量)
|
|
5496
5496
|
*/
|
|
5497
|
-
|
|
5497
|
+
setTemplateData: (items: TemplateItem[]) => ReturnType;
|
|
5498
5498
|
/**
|
|
5499
|
-
*
|
|
5499
|
+
* 插入模板块
|
|
5500
5500
|
*/
|
|
5501
|
-
|
|
5501
|
+
insertTemplate: (attrs: Partial<TemplateAttrs>) => ReturnType;
|
|
5502
|
+
/**
|
|
5503
|
+
* 聚焦到第一个模板块
|
|
5504
|
+
*/
|
|
5505
|
+
focusFirstTemplate: () => ReturnType;
|
|
5506
|
+
/**
|
|
5507
|
+
* 插入选择器
|
|
5508
|
+
*/
|
|
5509
|
+
insertTemplateSelect: (attrs: Partial<TemplateSelectAttrs>) => ReturnType;
|
|
5502
5510
|
};
|
|
5503
5511
|
}
|
|
5504
5512
|
}
|
|
@@ -5511,23 +5519,15 @@ declare module '@tiptap/core' {
|
|
|
5511
5519
|
*/
|
|
5512
5520
|
declare module '@tiptap/core' {
|
|
5513
5521
|
interface Commands<ReturnType> {
|
|
5514
|
-
|
|
5515
|
-
/**
|
|
5516
|
-
* 设置模板数据(批量)
|
|
5517
|
-
*/
|
|
5518
|
-
setTemplateData: (items: TemplateItem[]) => ReturnType;
|
|
5519
|
-
/**
|
|
5520
|
-
* 插入模板块
|
|
5521
|
-
*/
|
|
5522
|
-
insertTemplate: (attrs: Partial<TemplateAttrs>) => ReturnType;
|
|
5522
|
+
mention: {
|
|
5523
5523
|
/**
|
|
5524
|
-
*
|
|
5524
|
+
* 插入 mention 节点
|
|
5525
5525
|
*/
|
|
5526
|
-
|
|
5526
|
+
insertMention: (attrs: Partial<MentionAttrs>) => ReturnType;
|
|
5527
5527
|
/**
|
|
5528
|
-
*
|
|
5528
|
+
* 删除 mention 节点
|
|
5529
5529
|
*/
|
|
5530
|
-
|
|
5530
|
+
deleteMention: (id: string) => ReturnType;
|
|
5531
5531
|
};
|
|
5532
5532
|
}
|
|
5533
5533
|
}
|