@univerjs/ui 0.6.7 → 0.6.8

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.
Files changed (43) hide show
  1. package/lib/cjs/index.js +32 -32
  2. package/lib/cjs/locale/en-US.js +1 -1
  3. package/lib/cjs/locale/fa-IR.js +1 -1
  4. package/lib/cjs/locale/fr-FR.js +1 -1
  5. package/lib/cjs/locale/ru-RU.js +1 -1
  6. package/lib/cjs/locale/vi-VN.js +1 -1
  7. package/lib/cjs/locale/zh-CN.js +1 -1
  8. package/lib/cjs/locale/zh-TW.js +1 -1
  9. package/lib/es/index.js +3865 -3771
  10. package/lib/es/locale/en-US.js +14 -0
  11. package/lib/es/locale/fa-IR.js +14 -0
  12. package/lib/es/locale/fr-FR.js +14 -0
  13. package/lib/es/locale/ru-RU.js +14 -0
  14. package/lib/es/locale/vi-VN.js +16 -2
  15. package/lib/es/locale/zh-CN.js +16 -2
  16. package/lib/es/locale/zh-TW.js +16 -2
  17. package/lib/facade.js +385 -0
  18. package/lib/index.js +8363 -0
  19. package/lib/locale/en-US.js +81 -0
  20. package/lib/locale/fa-IR.js +81 -0
  21. package/lib/locale/fr-FR.js +81 -0
  22. package/lib/locale/ru-RU.js +81 -0
  23. package/lib/locale/vi-VN.js +81 -0
  24. package/lib/locale/zh-CN.js +81 -0
  25. package/lib/locale/zh-TW.js +81 -0
  26. package/lib/types/components/common-label/index.d.ts +24 -0
  27. package/lib/types/components/font-size/index.d.ts +1 -1
  28. package/lib/types/components/font-size/interface.d.ts +5 -0
  29. package/lib/types/components/heading-item/index.d.ts +6 -0
  30. package/lib/types/components/index.d.ts +2 -0
  31. package/lib/types/controllers/config.schema.d.ts +1 -0
  32. package/lib/types/controllers/ui/ui-desktop.controller.d.ts +4 -1
  33. package/lib/types/locale/zh-CN.d.ts +14 -0
  34. package/lib/types/views/components/popup/RectPopup.d.ts +1 -1
  35. package/lib/umd/index.js +32 -32
  36. package/lib/umd/locale/en-US.js +1 -1
  37. package/lib/umd/locale/fa-IR.js +1 -1
  38. package/lib/umd/locale/fr-FR.js +1 -1
  39. package/lib/umd/locale/ru-RU.js +1 -1
  40. package/lib/umd/locale/vi-VN.js +1 -1
  41. package/lib/umd/locale/zh-CN.js +1 -1
  42. package/lib/umd/locale/zh-TW.js +1 -1
  43. package/package.json +8 -8
@@ -0,0 +1,81 @@
1
+ const e = {
2
+ toolbar: {
3
+ heading: {
4
+ normal: "Normal",
5
+ title: "Title",
6
+ subTitle: "Sub Title",
7
+ 1: "Heading 1",
8
+ 2: "Heading 2",
9
+ 3: "Heading 3",
10
+ 4: "Heading 4",
11
+ 5: "Heading 5",
12
+ 6: "Heading 6",
13
+ tooltip: "Set Heading"
14
+ }
15
+ },
16
+ ribbon: {
17
+ start: "Start",
18
+ insert: "Insert",
19
+ formulas: "Formulas",
20
+ data: "Data",
21
+ view: "View",
22
+ others: "Others",
23
+ more: "More"
24
+ },
25
+ fontFamily: {
26
+ TimesNewRoman: "Times New Roman",
27
+ Arial: "Arial",
28
+ Tahoma: "Tahoma",
29
+ Verdana: "Verdana",
30
+ MicrosoftYaHei: "Microsoft YaHei",
31
+ SimSun: "SimSun",
32
+ SimHei: "SimHei",
33
+ Kaiti: "Kaiti",
34
+ FangSong: "FangSong",
35
+ NSimSun: "NSimSun",
36
+ STXinwei: "STXinwei",
37
+ STXingkai: "STXingkai",
38
+ STLiti: "STLiti",
39
+ HanaleiFill: "HanaleiFill",
40
+ Anton: "Anton",
41
+ Pacifico: "Pacifico"
42
+ },
43
+ "shortcut-panel": {
44
+ title: "Shortcuts"
45
+ },
46
+ shortcut: {
47
+ undo: "Undo",
48
+ redo: "Redo",
49
+ cut: "Cut",
50
+ copy: "Copy",
51
+ paste: "Paste",
52
+ "shortcut-panel": "Toggle Shortcut Panel"
53
+ },
54
+ "common-edit": "Common Editing Shortcuts",
55
+ "toggle-shortcut-panel": "Toggle Shortcut Panel",
56
+ clipboard: {
57
+ authentication: {
58
+ title: "Permission Denied",
59
+ content: "Please allow Univer to access your clipboard."
60
+ }
61
+ },
62
+ textEditor: {
63
+ formulaError: "Please enter a valid formula, such as =SUM(A1)",
64
+ rangeError: "Please enter a valid range, such as A1:B10"
65
+ },
66
+ rangeSelector: {
67
+ title: "Select a data range",
68
+ addAnotherRange: "Add range",
69
+ buttonTooltip: "Select data range",
70
+ placeHolder: "Select range or enter.",
71
+ confirm: "Confirm",
72
+ cancel: "Cancel"
73
+ },
74
+ "global-shortcut": "Global Shortcut",
75
+ "zoom-slider": {
76
+ resetTo: "Reset to"
77
+ }
78
+ };
79
+ export {
80
+ e as default
81
+ };
@@ -0,0 +1,81 @@
1
+ const i = {
2
+ toolbar: {
3
+ heading: {
4
+ normal: "متن عادی",
5
+ title: "عنوان",
6
+ subTitle: "زیر عنوان",
7
+ 1: "عنوان 1",
8
+ 2: "عنوان 2",
9
+ 3: "عنوان 3",
10
+ 4: "عنوان 4",
11
+ 5: "عنوان 5",
12
+ 6: "عنوان 6",
13
+ tooltip: "تنظیم عنوان"
14
+ }
15
+ },
16
+ ribbon: {
17
+ start: "شروع",
18
+ insert: "درج",
19
+ formulas: "فرمول‌ها",
20
+ data: "داده‌ها",
21
+ view: "نمایش",
22
+ others: "دیگر",
23
+ more: "بیشتر"
24
+ },
25
+ fontFamily: {
26
+ TimesNewRoman: "Times New Roman",
27
+ Arial: "Arial",
28
+ Tahoma: "Tahoma",
29
+ Verdana: "Verdana",
30
+ MicrosoftYaHei: "Microsoft YaHei",
31
+ SimSun: "SimSun",
32
+ SimHei: "SimHei",
33
+ Kaiti: "Kaiti",
34
+ FangSong: "FangSong",
35
+ NSimSun: "NSimSun",
36
+ STXinwei: "STXinwei",
37
+ STXingkai: "STXingkai",
38
+ STLiti: "STLiti",
39
+ HanaleiFill: "HanaleiFill",
40
+ Anton: "Anton",
41
+ Pacifico: "Pacifico"
42
+ },
43
+ "shortcut-panel": {
44
+ title: "کلیدهای میانبر"
45
+ },
46
+ shortcut: {
47
+ undo: "بازگرداندن",
48
+ redo: "تکرار",
49
+ cut: "بریدن",
50
+ copy: "کپی کردن",
51
+ paste: "چسباندن",
52
+ "shortcut-panel": "نمایش/مخفی کردن پنل کلیدهای میانبر"
53
+ },
54
+ "common-edit": "کلیدهای میانبر ویرایش عمومی",
55
+ "toggle-shortcut-panel": "نمایش/مخفی کردن پنل کلیدهای میانبر",
56
+ clipboard: {
57
+ authentication: {
58
+ title: "اجازه دسترسی داده نشده است",
59
+ content: "لطفا به Univer اجازه دسترسی به کلیپ بورد خود را بدهید."
60
+ }
61
+ },
62
+ textEditor: {
63
+ formulaError: "لطفا یک فرمول معتبر مانند =SUM(A1) وارد کنید.",
64
+ rangeError: "لطفا یک محدوده معتبر مانند A1:B10 وارد کنید."
65
+ },
66
+ rangeSelector: {
67
+ title: "انتخاب محدوده داده",
68
+ addAnotherRange: "افزودن محدوده",
69
+ buttonTooltip: "انتخاب محدوده داده",
70
+ placeHolder: "انتخاب محدوده یا وارد کردن.",
71
+ confirm: "تایید",
72
+ cancel: "انصراف"
73
+ },
74
+ "global-shortcut": "کلید میانبر جهانی",
75
+ "zoom-slider": {
76
+ resetTo: "بازنشانی به"
77
+ }
78
+ };
79
+ export {
80
+ i as default
81
+ };
@@ -0,0 +1,81 @@
1
+ const e = {
2
+ toolbar: {
3
+ heading: {
4
+ normal: "Normal",
5
+ title: "Titre",
6
+ subTitle: "Sous-titre",
7
+ 1: "Titre 1",
8
+ 2: "Titre 2",
9
+ 3: "Titre 3",
10
+ 4: "Titre 4",
11
+ 5: "Titre 5",
12
+ 6: "Titre 6",
13
+ tooltip: "Définir un titre"
14
+ }
15
+ },
16
+ ribbon: {
17
+ start: "Démarrer",
18
+ insert: "Insérer",
19
+ formulas: "Formules",
20
+ data: "Données",
21
+ view: "Vue",
22
+ others: "Autres",
23
+ more: "Plus"
24
+ },
25
+ fontFamily: {
26
+ TimesNewRoman: "Times New Roman",
27
+ Arial: "Arial",
28
+ Tahoma: "Tahoma",
29
+ Verdana: "Verdana",
30
+ MicrosoftYaHei: "Microsoft YaHei",
31
+ SimSun: "SimSun",
32
+ SimHei: "SimHei",
33
+ Kaiti: "Kaiti",
34
+ FangSong: "FangSong",
35
+ NSimSun: "NSimSun",
36
+ STXinwei: "STXinwei",
37
+ STXingkai: "STXingkai",
38
+ STLiti: "STLiti",
39
+ HanaleiFill: "HanaleiFill",
40
+ Anton: "Anton",
41
+ Pacifico: "Pacifico"
42
+ },
43
+ "shortcut-panel": {
44
+ title: "Raccourcis"
45
+ },
46
+ shortcut: {
47
+ undo: "Annuler",
48
+ redo: "Refaire",
49
+ cut: "Couper",
50
+ copy: "Copier",
51
+ paste: "Coller",
52
+ "shortcut-panel": "Basculer le panneau de raccourcis"
53
+ },
54
+ "common-edit": "Raccourcis d'édition courants",
55
+ "toggle-shortcut-panel": "Basculer le panneau de raccourcis",
56
+ clipboard: {
57
+ authentication: {
58
+ title: "Permission refusée",
59
+ content: "Veuillez autoriser Univer à accéder à votre presse-papiers."
60
+ }
61
+ },
62
+ textEditor: {
63
+ formulaError: "Veuillez entrer une formule valide, telle que =SOMME(A1)",
64
+ rangeError: "Veuillez entrer une plage valide, telle que A1:B10"
65
+ },
66
+ rangeSelector: {
67
+ title: "Sélectionner une plage de données",
68
+ addAnotherRange: "Ajouter une plage",
69
+ buttonTooltip: "Sélectionner une plage de données",
70
+ placeHolder: "Sélectionner une plage ou entrer.",
71
+ confirm: "Confirmer",
72
+ cancel: "Annuler"
73
+ },
74
+ "global-shortcut": "Raccourci global",
75
+ "zoom-slider": {
76
+ resetTo: "Réinitialiser à"
77
+ }
78
+ };
79
+ export {
80
+ e as default
81
+ };
@@ -0,0 +1,81 @@
1
+ const i = {
2
+ toolbar: {
3
+ heading: {
4
+ normal: "Обычный текст",
5
+ title: "Заголовок",
6
+ subTitle: "Подзаголовок",
7
+ 1: "Заголовок 1",
8
+ 2: "Заголовок 2",
9
+ 3: "Заголовок 3",
10
+ 4: "Заголовок 4",
11
+ 5: "Заголовок 5",
12
+ 6: "Заголовок 6",
13
+ tooltip: "Установить заголовок"
14
+ }
15
+ },
16
+ ribbon: {
17
+ start: "Начало",
18
+ insert: "Вставка",
19
+ formulas: "Формулы",
20
+ data: "Данные",
21
+ view: "Вид",
22
+ others: "Другие",
23
+ more: "Больше"
24
+ },
25
+ fontFamily: {
26
+ TimesNewRoman: "Times New Roman",
27
+ Arial: "Arial",
28
+ Tahoma: "Tahoma",
29
+ Verdana: "Verdana",
30
+ MicrosoftYaHei: "Microsoft YaHei",
31
+ SimSun: "SimSun",
32
+ SimHei: "SimHei",
33
+ Kaiti: "Kaiti",
34
+ FangSong: "FangSong",
35
+ NSimSun: "NSimSun",
36
+ STXinwei: "STXinwei",
37
+ STXingkai: "STXingkai",
38
+ STLiti: "STLiti",
39
+ HanaleiFill: "HanaleiFill",
40
+ Anton: "Anton",
41
+ Pacifico: "Pacifico"
42
+ },
43
+ "shortcut-panel": {
44
+ title: "Ярлыки"
45
+ },
46
+ shortcut: {
47
+ undo: "Отменить",
48
+ redo: "Повторить",
49
+ cut: "Вырезать",
50
+ copy: "Копировать",
51
+ paste: "Вставить",
52
+ "shortcut-panel": "Переключить панель ярлыков"
53
+ },
54
+ "common-edit": "Общие команды редактирования",
55
+ "toggle-shortcut-panel": "Переключить панель ярлыков",
56
+ clipboard: {
57
+ authentication: {
58
+ title: "Доступ запрещен",
59
+ content: "Пожалуйста, разрешите Univer доступ к вашему буферу обмена."
60
+ }
61
+ },
62
+ textEditor: {
63
+ formulaError: "Пожалуйста, введите корректную формулу, например =SUM(A1)",
64
+ rangeError: "Пожалуйста, введите корректный диапазон, например A1:B10"
65
+ },
66
+ rangeSelector: {
67
+ title: "Выберите диапазон данных",
68
+ addAnotherRange: "Добавить диапазон",
69
+ buttonTooltip: "Выбрать диапазон данных",
70
+ placeHolder: "Выберите диапазон или введите.",
71
+ confirm: "Подтвердить",
72
+ cancel: "Отменить"
73
+ },
74
+ "global-shortcut": "Глобальные ярлыки",
75
+ "zoom-slider": {
76
+ resetTo: "Сбросить до"
77
+ }
78
+ };
79
+ export {
80
+ i as default
81
+ };
@@ -0,0 +1,81 @@
1
+ const i = {
2
+ toolbar: {
3
+ heading: {
4
+ normal: "Văn bản",
5
+ title: "Tiêu đề",
6
+ subTitle: "Tiêu đề phụ",
7
+ 1: "Tiêu đề 1",
8
+ 2: "Tiêu đề 2",
9
+ 3: "Tiêu đề 3",
10
+ 4: "Tiêu đề 4",
11
+ 5: "Tiêu đề 5",
12
+ 6: "Tiêu đề 6",
13
+ tooltip: "Đặt tiêu đề"
14
+ }
15
+ },
16
+ ribbon: {
17
+ start: "Bắt đầu",
18
+ insert: "Chèn",
19
+ formulas: "Công thức",
20
+ data: "Dữ liệu",
21
+ view: "Xem",
22
+ others: "Khác",
23
+ more: "Thêm"
24
+ },
25
+ fontFamily: {
26
+ TimesNewRoman: "Times New Roman",
27
+ Arial: "Arial",
28
+ Tahoma: "Tahoma",
29
+ Verdana: "Verdana",
30
+ MicrosoftYaHei: "Microsoft YaHei",
31
+ SimSun: "SimSun",
32
+ SimHei: "SimHei",
33
+ Kaiti: "Kaiti",
34
+ FangSong: "FangSong",
35
+ NSimSun: "NSimSun",
36
+ STXinwei: "STXinwei",
37
+ STXingkai: "STXingkai",
38
+ STLiti: "STLiti",
39
+ HanaleiFill: "HanaleiFill",
40
+ Anton: "Anton",
41
+ Pacifico: "Pacifico"
42
+ },
43
+ "shortcut-panel": {
44
+ title: "Bảng phím tắt"
45
+ },
46
+ shortcut: {
47
+ undo: "Hoàn tác",
48
+ redo: "Làm lại",
49
+ cut: "Cắt",
50
+ copy: "Sao chép",
51
+ paste: "Dán",
52
+ "shortcut-panel": "Mở/Đóng bảng phím tắt"
53
+ },
54
+ "common-edit": "Chỉnh sửa thường dùng",
55
+ "toggle-shortcut-panel": "Mở/Đóng bảng phím tắt",
56
+ clipboard: {
57
+ authentication: {
58
+ title: "Không thể truy cập vào bảng nhớ tạm",
59
+ content: "Vui lòng cho phép Univer truy cập vào bảng nhớ tạm của bạn."
60
+ }
61
+ },
62
+ textEditor: {
63
+ formulaError: "Vui lòng nhập công thức hợp lệ, ví dụ =SUM(A1)",
64
+ rangeError: "Vui lòng nhập phạm vi hợp lệ, ví dụ A1:B10"
65
+ },
66
+ rangeSelector: {
67
+ title: "Chọn một phạm vi dữ liệu",
68
+ addAnotherRange: "Thêm phạm vi",
69
+ buttonTooltip: "Chọn phạm vi dữ liệu",
70
+ placeHolder: "Chọn phạm vi hoặc nhập",
71
+ confirm: "Xác nhận",
72
+ cancel: "Hủy"
73
+ },
74
+ "global-shortcut": "Phím tắt toàn cầu",
75
+ "zoom-slider": {
76
+ resetTo: "Khôi phục đến"
77
+ }
78
+ };
79
+ export {
80
+ i as default
81
+ };
@@ -0,0 +1,81 @@
1
+ const t = {
2
+ toolbar: {
3
+ heading: {
4
+ normal: "正文",
5
+ title: "标题",
6
+ subTitle: "副标题",
7
+ 1: "标题1",
8
+ 2: "标题2",
9
+ 3: "标题3",
10
+ 4: "标题4",
11
+ 5: "标题5",
12
+ 6: "标题6",
13
+ tooltip: "设置标题"
14
+ }
15
+ },
16
+ ribbon: {
17
+ start: "开始",
18
+ insert: "插入",
19
+ formulas: "公式",
20
+ data: "数据",
21
+ view: "视图",
22
+ others: "其他",
23
+ more: "更多"
24
+ },
25
+ fontFamily: {
26
+ TimesNewRoman: "Times New Roman",
27
+ Arial: "Arial",
28
+ Tahoma: "Tahoma",
29
+ Verdana: "Verdana",
30
+ MicrosoftYaHei: "微软雅黑",
31
+ SimSun: "宋体",
32
+ SimHei: "黑体",
33
+ Kaiti: "楷体",
34
+ FangSong: "仿宋",
35
+ NSimSun: "新宋体",
36
+ STXinwei: "华文新魏",
37
+ STXingkai: "华文行楷",
38
+ STLiti: "华文隶书",
39
+ HanaleiFill: "HanaleiFill",
40
+ Anton: "Anton",
41
+ Pacifico: "Pacifico"
42
+ },
43
+ "shortcut-panel": {
44
+ title: "快捷键面板"
45
+ },
46
+ shortcut: {
47
+ undo: "撤销",
48
+ redo: "重做",
49
+ cut: "剪切",
50
+ copy: "复制",
51
+ paste: "粘贴",
52
+ "shortcut-panel": "打开收起快捷键面板"
53
+ },
54
+ "common-edit": "常用编辑",
55
+ "toggle-shortcut-panel": "打开收起快捷键面板",
56
+ clipboard: {
57
+ authentication: {
58
+ title: "无法访问剪贴板",
59
+ content: "请允许 Univer 访问您的剪贴板。"
60
+ }
61
+ },
62
+ textEditor: {
63
+ formulaError: "请输入合法的公式,例如=SUM(A1)",
64
+ rangeError: "请输入合法的范围,例如 A1:B10"
65
+ },
66
+ rangeSelector: {
67
+ title: "选择一个数据范围",
68
+ addAnotherRange: "添加范围",
69
+ buttonTooltip: "选择数据范围",
70
+ placeHolder: "框选范围或输入",
71
+ confirm: "确认",
72
+ cancel: "取消"
73
+ },
74
+ "global-shortcut": "全局快捷键",
75
+ "zoom-slider": {
76
+ resetTo: "恢复至"
77
+ }
78
+ };
79
+ export {
80
+ t as default
81
+ };
@@ -0,0 +1,81 @@
1
+ const t = {
2
+ toolbar: {
3
+ heading: {
4
+ normal: "正文",
5
+ title: "標題",
6
+ subTitle: "副標題",
7
+ 1: "標題 1",
8
+ 2: "標題 2",
9
+ 3: "標題 3",
10
+ 4: "標題 4",
11
+ 5: "標題 5",
12
+ 6: "標題 6",
13
+ tooltip: "設定標題"
14
+ }
15
+ },
16
+ ribbon: {
17
+ start: "開始",
18
+ insert: "插入",
19
+ formulas: "公式",
20
+ data: "資料",
21
+ view: "視圖",
22
+ others: "其他",
23
+ more: "更多"
24
+ },
25
+ fontFamily: {
26
+ TimesNewRoman: "Times New Roman",
27
+ Arial: "Arial",
28
+ Tahoma: "Tahoma",
29
+ Verdana: "Verdana",
30
+ MicrosoftYaHei: "微軟雅黑",
31
+ SimSun: "宋體",
32
+ SimHei: "黑體",
33
+ Kaiti: "楷體",
34
+ FangSong: "仿宋",
35
+ NSimSun: "新宋體",
36
+ STXinwei: "華文新魏",
37
+ STXingkai: "華文行楷",
38
+ STLiti: "華文隸書",
39
+ HanaleiFill: "HanaleiFill",
40
+ Anton: "Anton",
41
+ Pacifico: "Pacifico"
42
+ },
43
+ "shortcut-panel": {
44
+ title: "快捷鍵面板"
45
+ },
46
+ shortcut: {
47
+ undo: "撤銷",
48
+ redo: "重做",
49
+ cut: "剪切",
50
+ copy: "複製",
51
+ paste: "貼上",
52
+ "shortcut-panel": "開啟收起快捷鍵面板"
53
+ },
54
+ "common-edit": "常用編輯",
55
+ "toggle-shortcut-panel": "開啟收起快速鍵面板",
56
+ clipboard: {
57
+ authentication: {
58
+ title: "無法存取剪貼簿",
59
+ content: "請允許 Univer 存取您的剪貼簿。 "
60
+ }
61
+ },
62
+ textEditor: {
63
+ formulaError: "請輸入合法的公式,例如=SUM(A1)",
64
+ rangeError: "請輸入合法的範圍,例如 A1:B10"
65
+ },
66
+ rangeSelector: {
67
+ title: "選擇一個資料範圍",
68
+ addAnotherRange: "新增範圍",
69
+ buttonTooltip: "選擇資料範圍",
70
+ placeHolder: "框選範圍或輸入",
71
+ confirm: "確認",
72
+ cancel: "取消"
73
+ },
74
+ "global-shortcut": "全域快捷鍵",
75
+ "zoom-slider": {
76
+ resetTo: "恢復至"
77
+ }
78
+ };
79
+ export {
80
+ t as default
81
+ };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Co., Ltd.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export interface ICommonLabelProps {
17
+ value: string | number;
18
+ selections: {
19
+ value: string | number;
20
+ label: string;
21
+ }[];
22
+ }
23
+ export declare const CommonLabel: (props: ICommonLabelProps) => import("react/jsx-runtime").JSX.Element;
24
+ export declare const COMMON_LABEL_COMPONENT = "UI_PLUGIN_COMMON_LABEL_COMPONENT";
@@ -14,4 +14,4 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export { FontSize } from './FontSize';
17
- export { FONT_SIZE_LIST } from './interface';
17
+ export { FONT_SIZE_LIST, HEADING_LIST } from './interface';
@@ -1,5 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { ICustomComponentProps } from '../../services/menu/menu';
3
+ import { NamedStyleType } from '@univerjs/core';
3
4
  export interface IFontSizeProps extends ICustomComponentProps<string> {
4
5
  value: string;
5
6
  min: number;
@@ -11,3 +12,7 @@ export declare const FONT_SIZE_LIST: {
11
12
  label: string;
12
13
  value: number;
13
14
  }[];
15
+ export declare const HEADING_LIST: {
16
+ label: string;
17
+ value: NamedStyleType;
18
+ }[];
@@ -0,0 +1,6 @@
1
+ import { NamedStyleType } from '@univerjs/core';
2
+ export declare const HeadingItem: (props: {
3
+ value: NamedStyleType;
4
+ text: string;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const HEADING_ITEM_COMPONENT = "UI_COMPONENT_HEADING_ITEM";
@@ -13,8 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ export * from './common-label';
16
17
  export * from './custom-label';
17
18
  export * from './font-family';
18
19
  export * from './font-size';
20
+ export * from './heading-item';
19
21
  export { useScrollYOverContainer } from './hooks/layout';
20
22
  export { type ISliderProps, Slider } from './slider';
@@ -8,5 +8,6 @@ export interface IUniverUIConfig extends IWorkbenchOptions {
8
8
  disableAutoFocus?: true;
9
9
  override?: DependencyOverride;
10
10
  menu?: MenuConfig;
11
+ popupRootId?: string;
11
12
  }
12
13
  export declare const defaultPluginConfig: IUniverUIConfig;
@@ -1,13 +1,16 @@
1
1
  import { IDisposable, Injector, IUniverInstanceService, LifecycleService } from '@univerjs/core';
2
2
  import { IUniverUIConfig } from '../config.schema';
3
3
  import { IRenderManagerService } from '@univerjs/engine-render';
4
+ import { ComponentManager } from '../../common';
4
5
  import { ILayoutService } from '../../services/layout/layout.service';
5
6
  import { IMenuManagerService } from '../../services/menu/menu-manager.service';
6
7
  import { IUIPartsService } from '../../services/parts/parts.service';
7
8
  import { SingleUnitUIController } from './ui-shared.controller';
8
9
  export declare class DesktopUIController extends SingleUnitUIController {
9
10
  private readonly _config;
10
- constructor(_config: IUniverUIConfig, injector: Injector, lifecycleService: LifecycleService, renderManagerService: IRenderManagerService, layoutService: ILayoutService, instanceService: IUniverInstanceService, menuManagerService: IMenuManagerService, uiPartsService: IUIPartsService);
11
+ private readonly _componentManager;
12
+ constructor(_config: IUniverUIConfig, injector: Injector, lifecycleService: LifecycleService, renderManagerService: IRenderManagerService, layoutService: ILayoutService, instanceService: IUniverInstanceService, menuManagerService: IMenuManagerService, uiPartsService: IUIPartsService, _componentManager: ComponentManager);
13
+ private _registerComponents;
11
14
  bootstrap(callback: (contentElement: HTMLElement, containerElement: HTMLElement) => void): IDisposable;
12
15
  private _initBuiltinComponents;
13
16
  }
@@ -14,6 +14,20 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  declare const locale: {
17
+ toolbar: {
18
+ heading: {
19
+ normal: string;
20
+ title: string;
21
+ subTitle: string;
22
+ 1: string;
23
+ 2: string;
24
+ 3: string;
25
+ 4: string;
26
+ 5: string;
27
+ 6: string;
28
+ tooltip: string;
29
+ };
30
+ };
17
31
  ribbon: {
18
32
  start: string;
19
33
  insert: string;