@univerjs/docs-ui 0.6.5 → 0.6.6-nightly.202503141606

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.
@@ -33,6 +33,7 @@ const e = {
33
33
  alignCenter: "Align Center",
34
34
  alignRight: "Align Right",
35
35
  alignJustify: "Justify",
36
+ horizontalLine: "Horizontal line",
36
37
  headerFooter: "Header & Footer"
37
38
  },
38
39
  table: {
@@ -33,6 +33,7 @@ const e = {
33
33
  alignCenter: "تراز وسط",
34
34
  alignRight: "تراز راست",
35
35
  alignJustify: "توجیه",
36
+ horizontalLine: "Horizontal line",
36
37
  headerFooter: "هدر و فوتر"
37
38
  },
38
39
  table: {
@@ -33,6 +33,7 @@ const e = {
33
33
  alignCenter: "Aligner au centre",
34
34
  alignRight: "Aligner à droite",
35
35
  alignJustify: "Justifier",
36
+ horizontalLine: "Horizontal line",
36
37
  headerFooter: "En-tête et pied de page"
37
38
  },
38
39
  table: {
@@ -31,6 +31,7 @@ const e = {
31
31
  alignCenter: "Выровнять по центру",
32
32
  alignRight: "Выровнять по правому краю",
33
33
  alignJustify: "Выровнять по ширине",
34
+ horizontalLine: "Horizontal line",
34
35
  headerFooter: "Header & Footer",
35
36
  checklist: "Task list",
36
37
  documentFlavor: "Modern Mode"
@@ -31,6 +31,7 @@ const n = {
31
31
  alignCenter: "Căn giữa",
32
32
  alignRight: "Căn phải",
33
33
  alignJustify: "Căn đều hai bên",
34
+ horizontalLine: "Horizontal line",
34
35
  headerFooter: "Đầu trang và chân trang",
35
36
  checklist: "Task list",
36
37
  documentFlavor: "Modern Mode"
@@ -33,6 +33,7 @@ const e = {
33
33
  alignCenter: "居中对齐",
34
34
  alignRight: "右对齐",
35
35
  alignJustify: "两端对齐",
36
+ horizontalLine: "水平分割线",
36
37
  headerFooter: "页眉页脚"
37
38
  },
38
39
  table: {
@@ -31,6 +31,7 @@ const e = {
31
31
  alignCenter: "居中對齊",
32
32
  alignRight: "右對齊",
33
33
  alignJustify: "兩端對齊",
34
+ horizontalLine: "Horizontal line",
34
35
  headerFooter: "頁眉頁腳",
35
36
  checklist: "任務列表",
36
37
  documentFlavor: "现代模式"
@@ -1,3 +1,7 @@
1
- import { ICommand, IParagraph } from '@univerjs/core';
2
- export declare function generateParagraphs(dataStream: string, prevParagraph?: IParagraph): IParagraph[];
3
- export declare const BreakLineCommand: ICommand;
1
+ import { ICommand, IParagraph, IParagraphBorder } from '@univerjs/core';
2
+ export declare function generateParagraphs(dataStream: string, prevParagraph?: IParagraph, borderBottom?: IParagraphBorder): IParagraph[];
3
+ interface IBreakLineCommandParams {
4
+ horizontalLine?: IParagraphBorder;
5
+ }
6
+ export declare const BreakLineCommand: ICommand<IBreakLineCommandParams>;
7
+ export {};
@@ -13,6 +13,7 @@ interface IMergeTwoParagraphParams {
13
13
  range: ITextRangeWithStyle;
14
14
  }
15
15
  export declare const MergeTwoParagraphCommand: ICommand<IMergeTwoParagraphParams>;
16
+ export declare const RemoveHorizontalLineCommand: ICommand;
16
17
  export declare function getCursorWhenDelete(textRanges: Readonly<Nullable<ITextRangeWithStyle[]>>, rectRanges: readonly IRectRangeWithStyle[]): number;
17
18
  export declare const DeleteLeftCommand: ICommand;
18
19
  export declare const DeleteRightCommand: ICommand;
@@ -0,0 +1,5 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ interface IHorizontalCommandParams {
3
+ }
4
+ export declare const HorizontalLineCommand: ICommand<IHorizontalCommandParams>;
5
+ export {};
@@ -18,6 +18,7 @@ export declare function AlignLeftMenuItemFactory(accessor: IAccessor): IMenuButt
18
18
  export declare function AlignCenterMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
19
19
  export declare function AlignRightMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
20
20
  export declare function AlignJustifyMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
21
+ export declare function HorizontalLineFactory(accessor: IAccessor): IMenuButtonItem;
21
22
  export declare function OrderListMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<PresetListType, PresetListType>;
22
23
  export declare function BulletListMenuItemFactory(accessor: IAccessor): IMenuSelectorItem<PresetListType, PresetListType>;
23
24
  export declare function CheckListMenuItemFactory(accessor: IAccessor): IMenuButtonItem;
@@ -48,6 +48,7 @@ declare const locale: {
48
48
  alignCenter: string;
49
49
  alignRight: string;
50
50
  alignJustify: string;
51
+ horizontalLine: string;
51
52
  headerFooter: string;
52
53
  };
53
54
  table: {