@univerjs/ui 1.0.0-alpha.5 → 1.0.0-alpha.7
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/lib/cjs/index.js +1092 -349
- package/lib/cjs/locale/ar-SA.js +12 -0
- package/lib/cjs/locale/ca-ES.js +12 -0
- package/lib/cjs/locale/de-DE.js +12 -0
- package/lib/cjs/locale/en-US.js +12 -0
- package/lib/cjs/locale/es-ES.js +12 -0
- package/lib/cjs/locale/fa-IR.js +12 -0
- package/lib/cjs/locale/fr-FR.js +12 -0
- package/lib/cjs/locale/id-ID.js +12 -0
- package/lib/cjs/locale/it-IT.js +12 -0
- package/lib/cjs/locale/ja-JP.js +12 -0
- package/lib/cjs/locale/ko-KR.js +12 -0
- package/lib/cjs/locale/pl-PL.js +12 -0
- package/lib/cjs/locale/pt-BR.js +12 -0
- package/lib/cjs/locale/ru-RU.js +12 -0
- package/lib/cjs/locale/sk-SK.js +12 -0
- package/lib/cjs/locale/vi-VN.js +12 -0
- package/lib/cjs/locale/zh-CN.js +12 -0
- package/lib/cjs/locale/zh-HK.js +12 -0
- package/lib/cjs/locale/zh-TW.js +12 -0
- package/lib/es/index.js +1092 -354
- package/lib/es/locale/ar-SA.js +12 -0
- package/lib/es/locale/ca-ES.js +12 -0
- package/lib/es/locale/de-DE.js +12 -0
- package/lib/es/locale/en-US.js +12 -0
- package/lib/es/locale/es-ES.js +12 -0
- package/lib/es/locale/fa-IR.js +12 -0
- package/lib/es/locale/fr-FR.js +12 -0
- package/lib/es/locale/id-ID.js +12 -0
- package/lib/es/locale/it-IT.js +12 -0
- package/lib/es/locale/ja-JP.js +12 -0
- package/lib/es/locale/ko-KR.js +12 -0
- package/lib/es/locale/pl-PL.js +12 -0
- package/lib/es/locale/pt-BR.js +12 -0
- package/lib/es/locale/ru-RU.js +12 -0
- package/lib/es/locale/sk-SK.js +12 -0
- package/lib/es/locale/vi-VN.js +12 -0
- package/lib/es/locale/zh-CN.js +12 -0
- package/lib/es/locale/zh-HK.js +12 -0
- package/lib/es/locale/zh-TW.js +12 -0
- package/lib/index.css +176 -6
- package/lib/index.js +1092 -354
- package/lib/locale/ar-SA.js +12 -0
- package/lib/locale/ca-ES.js +12 -0
- package/lib/locale/de-DE.js +12 -0
- package/lib/locale/en-US.js +12 -0
- package/lib/locale/es-ES.js +12 -0
- package/lib/locale/fa-IR.js +12 -0
- package/lib/locale/fr-FR.js +12 -0
- package/lib/locale/id-ID.js +12 -0
- package/lib/locale/it-IT.js +12 -0
- package/lib/locale/ja-JP.js +12 -0
- package/lib/locale/ko-KR.js +12 -0
- package/lib/locale/pl-PL.js +12 -0
- package/lib/locale/pt-BR.js +12 -0
- package/lib/locale/ru-RU.js +12 -0
- package/lib/locale/sk-SK.js +12 -0
- package/lib/locale/vi-VN.js +12 -0
- package/lib/locale/zh-CN.js +12 -0
- package/lib/locale/zh-HK.js +12 -0
- package/lib/locale/zh-TW.js +12 -0
- package/lib/types/commands/operations/open-feature-search.operation.d.ts +17 -0
- package/lib/types/controllers/feature-search/feature-search.controller.d.ts +20 -0
- package/lib/types/controllers/ui/ui.controller.d.ts +1 -1
- package/lib/types/index.d.ts +2 -3
- package/lib/types/locale/en-US.d.ts +12 -0
- package/lib/types/menu/feature-search.menu.d.ts +18 -0
- package/lib/types/{controllers/menus/menus.d.ts → menu/history.menu.d.ts} +2 -2
- package/lib/types/{controllers/shortcut-display/menu.d.ts → menu/shortcut-panel.menu.d.ts} +2 -2
- package/lib/types/services/contextmenu/contextmenu-host.service.d.ts +5 -1
- package/lib/types/services/menu/menu-manager.service.d.ts +11 -0
- package/lib/types/services/menu/types.d.ts +1 -0
- package/lib/types/services/shortcut/shortcut.service.d.ts +4 -1
- package/lib/types/utils/embed-boundary.d.ts +2 -0
- package/lib/types/views/components/feature-search/FeatureSearch.d.ts +29 -0
- package/lib/types/views/components/ribbon/RibbonGrid.d.ts +23 -0
- package/lib/types/views/components/ribbon/ToolbarItem.d.ts +10 -1
- package/lib/types/views/components/ribbon/ribbon-grid-layout.d.ts +27 -0
- package/lib/types/views/components/ribbon/ribbon-menu/RibbonGridMenu.d.ts +21 -0
- package/lib/types/views/components/sidebar/Sidebar.d.ts +0 -2
- package/lib/types/views/custom-label/CustomLabel.d.ts +1 -0
- package/lib/types/views/emoji-picker/EmojiPicker.d.ts +7 -3
- package/lib/types/views/emoji-picker/emoji-picker-utils.d.ts +1 -1
- package/lib/types/views/emoji-picker/index.d.ts +0 -1
- package/lib/types/views/index.d.ts +1 -0
- package/lib/types/views/symbol-picker/SymbolPicker.d.ts +31 -0
- package/lib/types/views/symbol-picker/index.d.ts +18 -0
- package/lib/types/views/symbol-picker/symbols.d.ts +23 -0
- package/lib/umd/index.js +13 -13
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -7
package/lib/locale/ar-SA.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/ar-SA.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "بحث عن الميزات",
|
|
7362
|
+
placeholder: "اكتب اسم ميزة أو قائمة...",
|
|
7363
|
+
empty: "لم يتم العثور على ميزات متاحة",
|
|
7364
|
+
ribbon: "الشريط",
|
|
7365
|
+
contextMenu: "قائمة السياق"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "بحث",
|
|
7362
7369
|
random: "رمز تعبيري عشوائي",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "لم يتم العثور على رمز تعبيري",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "الرياضيات",
|
|
7384
|
+
greek: "اليونانية",
|
|
7385
|
+
common: "شائع"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "عادي",
|
|
7377
7389
|
title: "عنوان",
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/ca-ES.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "Cerca funcions",
|
|
7362
|
+
placeholder: "Escriviu una funció o un nom de menú...",
|
|
7363
|
+
empty: "No s'han trobat funcions disponibles",
|
|
7364
|
+
ribbon: "Cinta",
|
|
7365
|
+
contextMenu: "Menú contextual"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "Cerca",
|
|
7362
7369
|
random: "Emoji aleatori",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "No s’ha trobat cap emoji",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "Matemàtiques",
|
|
7384
|
+
greek: "Grec",
|
|
7385
|
+
common: "Comuns"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "Normal",
|
|
7377
7389
|
title: "Títol",
|
package/lib/locale/de-DE.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/de-DE.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "Funktionen suchen",
|
|
7362
|
+
placeholder: "Funktion oder Menüname eingeben...",
|
|
7363
|
+
empty: "Keine verfügbaren Funktionen gefunden",
|
|
7364
|
+
ribbon: "Menüband",
|
|
7365
|
+
contextMenu: "Kontextmenü"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "Suchen",
|
|
7362
7369
|
random: "Zufälliges Emoji",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "Kein Emoji gefunden",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "Mathematik",
|
|
7384
|
+
greek: "Griechisch",
|
|
7385
|
+
common: "Allgemein"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "Normal",
|
|
7377
7389
|
title: "Titel",
|
package/lib/locale/en-US.js
CHANGED
|
@@ -7372,6 +7372,13 @@ const emojiLocale = {
|
|
|
7372
7372
|
* limitations under the License.
|
|
7373
7373
|
*/
|
|
7374
7374
|
const locale = { ui: {
|
|
7375
|
+
featureSearch: {
|
|
7376
|
+
title: "Search features",
|
|
7377
|
+
placeholder: "Type a feature or menu name...",
|
|
7378
|
+
empty: "No available features found",
|
|
7379
|
+
ribbon: "Ribbon",
|
|
7380
|
+
contextMenu: "Context menu"
|
|
7381
|
+
},
|
|
7375
7382
|
emojiPicker: {
|
|
7376
7383
|
search: "Search",
|
|
7377
7384
|
random: "Random emoji",
|
|
@@ -7387,6 +7394,11 @@ const locale = { ui: {
|
|
|
7387
7394
|
noResults: "No emoji found",
|
|
7388
7395
|
...emojiLocale
|
|
7389
7396
|
},
|
|
7397
|
+
symbolPicker: {
|
|
7398
|
+
mathematics: "Mathematics",
|
|
7399
|
+
greek: "Greek",
|
|
7400
|
+
common: "Common"
|
|
7401
|
+
},
|
|
7390
7402
|
toolbar: { heading: {
|
|
7391
7403
|
normal: "Normal",
|
|
7392
7404
|
title: "Title",
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/es-ES.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "Buscar funciones",
|
|
7362
|
+
placeholder: "Escribe una función o nombre de menú...",
|
|
7363
|
+
empty: "No se encontraron funciones disponibles",
|
|
7364
|
+
ribbon: "Cinta",
|
|
7365
|
+
contextMenu: "Menú contextual"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "Buscar",
|
|
7362
7369
|
random: "Emoji aleatorio",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "No se encontraron emojis",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "Matemáticas",
|
|
7384
|
+
greek: "Griego",
|
|
7385
|
+
common: "Comunes"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "Normal",
|
|
7377
7389
|
title: "Título",
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/fa-IR.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "جستجوی قابلیتها",
|
|
7362
|
+
placeholder: "نام قابلیت یا منو را وارد کنید…",
|
|
7363
|
+
empty: "هیچ قابلیت در دسترسی یافت نشد",
|
|
7364
|
+
ribbon: "نوار ابزار",
|
|
7365
|
+
contextMenu: "منوی زمینهای"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "جستجو",
|
|
7362
7369
|
random: "ایموجی تصادفی",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "ایموجی پیدا نشد",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "ریاضیات",
|
|
7384
|
+
greek: "یونانی",
|
|
7385
|
+
common: "رایج"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "متن عادی",
|
|
7377
7389
|
title: "عنوان",
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/fr-FR.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "Rechercher des fonctionnalités",
|
|
7362
|
+
placeholder: "Saisissez une fonctionnalité ou un nom de menu...",
|
|
7363
|
+
empty: "Aucune fonctionnalité disponible trouvée",
|
|
7364
|
+
ribbon: "Ruban",
|
|
7365
|
+
contextMenu: "Menu contextuel"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "Rechercher",
|
|
7362
7369
|
random: "Emoji aléatoire",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "Aucun emoji trouvé",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "Mathématiques",
|
|
7384
|
+
greek: "Grec",
|
|
7385
|
+
common: "Courants"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "Normal",
|
|
7377
7389
|
title: "Titre",
|
package/lib/locale/id-ID.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/id-ID.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "Cari fitur",
|
|
7362
|
+
placeholder: "Ketik nama fitur atau menu...",
|
|
7363
|
+
empty: "Tidak ada fitur yang tersedia",
|
|
7364
|
+
ribbon: "Pita",
|
|
7365
|
+
contextMenu: "Menu konteks"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "Cari",
|
|
7362
7369
|
random: "Emoji acak",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "Emoji tidak ditemukan",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "Matematika",
|
|
7384
|
+
greek: "Yunani",
|
|
7385
|
+
common: "Umum"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "Normal",
|
|
7377
7389
|
title: "Judul",
|
package/lib/locale/it-IT.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/it-IT.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "Cerca funzionalità",
|
|
7362
|
+
placeholder: "Digita una funzionalità o il nome di un menu...",
|
|
7363
|
+
empty: "Nessuna funzionalità disponibile trovata",
|
|
7364
|
+
ribbon: "Barra multifunzione",
|
|
7365
|
+
contextMenu: "Menu contestuale"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "Cerca",
|
|
7362
7369
|
random: "Emoji casuale",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "Nessun emoji trovato",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "Matematica",
|
|
7384
|
+
greek: "Greco",
|
|
7385
|
+
common: "Comuni"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "Normale",
|
|
7377
7389
|
title: "Titolo",
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/ja-JP.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "機能を検索",
|
|
7362
|
+
placeholder: "機能またはメニュー名を入力…",
|
|
7363
|
+
empty: "利用可能な機能が見つかりません",
|
|
7364
|
+
ribbon: "リボン",
|
|
7365
|
+
contextMenu: "コンテキストメニュー"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "検索",
|
|
7362
7369
|
random: "ランダム絵文字",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "絵文字が見つかりません",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "数学",
|
|
7384
|
+
greek: "ギリシャ文字",
|
|
7385
|
+
common: "一般"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "標準",
|
|
7377
7389
|
title: "タイトル",
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/ko-KR.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "기능 검색",
|
|
7362
|
+
placeholder: "기능 또는 메뉴 이름 입력...",
|
|
7363
|
+
empty: "사용 가능한 기능을 찾을 수 없습니다",
|
|
7364
|
+
ribbon: "리본",
|
|
7365
|
+
contextMenu: "상황에 맞는 메뉴"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "검색",
|
|
7362
7369
|
random: "무작위 이모지",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "이모지를 찾을 수 없음",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "수학",
|
|
7384
|
+
greek: "그리스 문자",
|
|
7385
|
+
common: "일반"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "일반",
|
|
7377
7389
|
title: "제목",
|
package/lib/locale/pl-PL.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/pl-PL.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "Wyszukaj funkcje",
|
|
7362
|
+
placeholder: "Wpisz nazwę funkcji lub menu...",
|
|
7363
|
+
empty: "Nie znaleziono dostępnych funkcji",
|
|
7364
|
+
ribbon: "Wstążka",
|
|
7365
|
+
contextMenu: "Menu kontekstowe"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "Szukaj",
|
|
7362
7369
|
random: "Losowe emoji",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "Nie znaleziono emoji",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "Matematyka",
|
|
7384
|
+
greek: "Grecki",
|
|
7385
|
+
common: "Ogólne"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "Normalny",
|
|
7377
7389
|
title: "Tytuł",
|
package/lib/locale/pt-BR.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/pt-BR.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "Pesquisar recursos",
|
|
7362
|
+
placeholder: "Digite um recurso ou nome de menu...",
|
|
7363
|
+
empty: "Nenhum recurso disponível encontrado",
|
|
7364
|
+
ribbon: "Faixa de opções",
|
|
7365
|
+
contextMenu: "Menu de contexto"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "Buscar",
|
|
7362
7369
|
random: "Emoji aleatório",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "Nenhum emoji encontrado",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "Matemática",
|
|
7384
|
+
greek: "Grego",
|
|
7385
|
+
common: "Comuns"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "Normal",
|
|
7377
7389
|
title: "Título",
|
package/lib/locale/ru-RU.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/ru-RU.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "Поиск функций",
|
|
7362
|
+
placeholder: "Введите название функции или меню...",
|
|
7363
|
+
empty: "Доступные функции не найдены",
|
|
7364
|
+
ribbon: "Лента",
|
|
7365
|
+
contextMenu: "Контекстное меню"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "Поиск",
|
|
7362
7369
|
random: "Случайный эмодзи",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "Эмодзи не найден",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "Математика",
|
|
7384
|
+
greek: "Греческие буквы",
|
|
7385
|
+
common: "Общие"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "Обычный текст",
|
|
7377
7389
|
title: "Заголовок",
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/sk-SK.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "Vyhľadať funkcie",
|
|
7362
|
+
placeholder: "Zadajte názov funkcie alebo ponuky...",
|
|
7363
|
+
empty: "Nenašli sa žiadne dostupné funkcie",
|
|
7364
|
+
ribbon: "Pás s nástrojmi",
|
|
7365
|
+
contextMenu: "Kontextová ponuka"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "Hľadať",
|
|
7362
7369
|
random: "Náhodné emoji",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "Nenašli sa žiadne emoji",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "Matematika",
|
|
7384
|
+
greek: "Grécke písmená",
|
|
7385
|
+
common: "Bežné"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "Normálne",
|
|
7377
7389
|
title: "Nadpis",
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/vi-VN.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "Tìm kiếm tính năng",
|
|
7362
|
+
placeholder: "Nhập tên tính năng hoặc menu...",
|
|
7363
|
+
empty: "Không tìm thấy tính năng khả dụng",
|
|
7364
|
+
ribbon: "Dải băng",
|
|
7365
|
+
contextMenu: "Menu ngữ cảnh"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "Tìm kiếm",
|
|
7362
7369
|
random: "Emoji ngẫu nhiên",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "Không tìm thấy emoji",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "Toán học",
|
|
7384
|
+
greek: "Chữ Hy Lạp",
|
|
7385
|
+
common: "Thông dụng"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "Văn bản",
|
|
7377
7389
|
title: "Tiêu đề",
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/zh-CN.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "搜索功能",
|
|
7362
|
+
placeholder: "输入功能或菜单名称…",
|
|
7363
|
+
empty: "未找到当前可用的功能",
|
|
7364
|
+
ribbon: "功能区",
|
|
7365
|
+
contextMenu: "右键菜单"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "搜索",
|
|
7362
7369
|
random: "随机表情",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "未找到表情",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "数学",
|
|
7384
|
+
greek: "希腊字母",
|
|
7385
|
+
common: "常用"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "正文",
|
|
7377
7389
|
title: "标题",
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/zh-HK.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "搜尋功能",
|
|
7362
|
+
placeholder: "輸入功能或選單名稱…",
|
|
7363
|
+
empty: "找不到目前可用的功能",
|
|
7364
|
+
ribbon: "功能區",
|
|
7365
|
+
contextMenu: "內容選單"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "搜尋",
|
|
7362
7369
|
random: "隨機表情",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "找不到表情",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "數學",
|
|
7384
|
+
greek: "希臘字母",
|
|
7385
|
+
common: "常用"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "正文",
|
|
7377
7389
|
title: "標題",
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -7357,6 +7357,13 @@ const emojiLocale = {
|
|
|
7357
7357
|
//#endregion
|
|
7358
7358
|
//#region src/locale/zh-TW.ts
|
|
7359
7359
|
const locale = { ui: {
|
|
7360
|
+
featureSearch: {
|
|
7361
|
+
title: "搜尋功能",
|
|
7362
|
+
placeholder: "輸入功能或選單名稱…",
|
|
7363
|
+
empty: "找不到目前可用的功能",
|
|
7364
|
+
ribbon: "功能區",
|
|
7365
|
+
contextMenu: "快顯功能表"
|
|
7366
|
+
},
|
|
7360
7367
|
emojiPicker: {
|
|
7361
7368
|
search: "搜尋",
|
|
7362
7369
|
random: "隨機表情",
|
|
@@ -7372,6 +7379,11 @@ const locale = { ui: {
|
|
|
7372
7379
|
noResults: "找不到表情",
|
|
7373
7380
|
...emojiLocale
|
|
7374
7381
|
},
|
|
7382
|
+
symbolPicker: {
|
|
7383
|
+
mathematics: "數學",
|
|
7384
|
+
greek: "希臘字母",
|
|
7385
|
+
common: "常用"
|
|
7386
|
+
},
|
|
7375
7387
|
toolbar: { heading: {
|
|
7376
7388
|
normal: "正文",
|
|
7377
7389
|
title: "標題",
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
import type { IOperation } from '@univerjs/core';
|
|
17
|
+
export declare const OpenFeatureSearchOperation: IOperation;
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
import { Disposable, ICommandService } from '@univerjs/core';
|
|
17
|
+
import { IShortcutService } from '../../services/shortcut/shortcut.service';
|
|
18
|
+
export declare class FeatureSearchController extends Disposable {
|
|
19
|
+
constructor(commandService: ICommandService, shortcutService: IShortcutService);
|
|
20
|
+
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { IFontConfig } from '../../services/font.service';
|
|
17
|
-
export type RibbonType = 'collapsed' | 'simple' | 'classic';
|
|
17
|
+
export type RibbonType = 'collapsed' | 'simple' | 'classic' | 'grid';
|
|
18
18
|
export interface IWorkbenchOptions {
|
|
19
19
|
container?: string | HTMLElement;
|
|
20
20
|
/**
|
package/lib/types/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export { ShortcutPanelController } from './controllers/shortcut-display/shortcut
|
|
|
28
28
|
export { DesktopUIController } from './controllers/ui/ui-desktop.controller';
|
|
29
29
|
export { SingleUnitUIController } from './controllers/ui/ui-shared.controller';
|
|
30
30
|
export { IUIController } from './controllers/ui/ui.controller';
|
|
31
|
-
export type { IWorkbenchOptions } from './controllers/ui/ui.controller';
|
|
31
|
+
export type { IWorkbenchOptions, RibbonType } from './controllers/ui/ui.controller';
|
|
32
32
|
export { menuSchema as UIMenuSchema } from './menu/schema';
|
|
33
33
|
export { UniverMobileUIPlugin } from './mobile-plugin';
|
|
34
34
|
export { DISABLE_AUTO_FOCUS_KEY, UniverUIPlugin } from './plugin';
|
|
@@ -56,8 +56,7 @@ export { DesktopLocalStorageService } from './services/local-storage/local-stora
|
|
|
56
56
|
export { MenuItemType } from './services/menu/menu';
|
|
57
57
|
export type { ICustomComponentProps, IDisplayMenuItem, IMenuButtonItem, IMenuItem, IMenuItemFactory, IMenuSelectorItem, IValueOption, MenuConfig, MenuItemConfig, MenuItemDefaultValueType, } from './services/menu/menu';
|
|
58
58
|
export { IMenuManagerService, MenuManagerService } from './services/menu/menu-manager.service';
|
|
59
|
-
export type { MenuSchemaType } from './services/menu/menu-manager.service';
|
|
60
|
-
export { type IMenuSchema } from './services/menu/menu-manager.service';
|
|
59
|
+
export type { IMenuSchema, IRibbonGridLayout, MenuSchemaType } from './services/menu/menu-manager.service';
|
|
61
60
|
export { ContextMenuGroup, ContextMenuPosition, MenuManagerPosition, RibbonDataGroup, RibbonFormulasGroup, RibbonInsertGroup, RibbonOthersGroup, RibbonPosition, RibbonStartGroup, RibbonViewGroup, } from './services/menu/types';
|
|
62
61
|
export { MockMessageService } from './services/message/__tests__/mock-message.service';
|
|
63
62
|
export { DesktopMessageService } from './services/message/desktop-message.service';
|
|
@@ -15,6 +15,13 @@
|
|
|
15
15
|
*/
|
|
16
16
|
declare const locale: {
|
|
17
17
|
ui: {
|
|
18
|
+
featureSearch: {
|
|
19
|
+
title: string;
|
|
20
|
+
placeholder: string;
|
|
21
|
+
empty: string;
|
|
22
|
+
ribbon: string;
|
|
23
|
+
contextMenu: string;
|
|
24
|
+
};
|
|
18
25
|
emojiPicker: {
|
|
19
26
|
emojiSearchIndex: Record<string, string>;
|
|
20
27
|
emojiTitles: Record<string, string>;
|
|
@@ -31,6 +38,11 @@ declare const locale: {
|
|
|
31
38
|
searchResults: string;
|
|
32
39
|
noResults: string;
|
|
33
40
|
};
|
|
41
|
+
symbolPicker: {
|
|
42
|
+
mathematics: string;
|
|
43
|
+
greek: string;
|
|
44
|
+
common: string;
|
|
45
|
+
};
|
|
34
46
|
toolbar: {
|
|
35
47
|
heading: {
|
|
36
48
|
normal: string;
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
import type { LocaleKey } from '../locale/types';
|
|
17
|
+
import type { IMenuButtonItem } from '../services/menu/menu';
|
|
18
|
+
export declare function FeatureSearchMenuItemFactory(): IMenuButtonItem<LocaleKey>;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { IAccessor } from '@univerjs/core';
|
|
17
|
-
import type { LocaleKey } from '
|
|
18
|
-
import type { IMenuButtonItem } from '
|
|
17
|
+
import type { LocaleKey } from '../locale/types';
|
|
18
|
+
import type { IMenuButtonItem } from '../services/menu/menu';
|
|
19
19
|
export declare function UndoMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
|
|
20
20
|
export declare function RedoMenuItemFactory(accessor: IAccessor): IMenuButtonItem<LocaleKey>;
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import type { LocaleKey } from '
|
|
17
|
-
import type { IMenuButtonItem } from '
|
|
16
|
+
import type { LocaleKey } from '../locale/types';
|
|
17
|
+
import type { IMenuButtonItem } from '../services/menu/menu';
|
|
18
18
|
export declare function ShortcutPanelMenuItemFactory(): IMenuButtonItem<LocaleKey>;
|
|
@@ -14,9 +14,11 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import type { IDisposable } from '@univerjs/core';
|
|
17
|
+
import type { Observable } from 'rxjs';
|
|
17
18
|
import { Disposable } from '@univerjs/core';
|
|
18
19
|
export interface IContextMenuHostService {
|
|
19
20
|
readonly activeMenuId: string | null;
|
|
21
|
+
readonly activeMenuId$: Observable<string | null>;
|
|
20
22
|
registerMenu(menuId: string, hide: () => void): IDisposable;
|
|
21
23
|
activateMenu(menuId: string): void;
|
|
22
24
|
deactivateMenu(menuId: string): void;
|
|
@@ -25,10 +27,12 @@ export interface IContextMenuHostService {
|
|
|
25
27
|
export declare const IContextMenuHostService: import("@wendellhu/redi").IdentifierDecorator<IContextMenuHostService>;
|
|
26
28
|
export declare class ContextMenuHostService extends Disposable implements IContextMenuHostService {
|
|
27
29
|
private readonly _menuMap;
|
|
28
|
-
private _activeMenuId
|
|
30
|
+
private readonly _activeMenuId$;
|
|
31
|
+
readonly activeMenuId$: Observable<string | null>;
|
|
29
32
|
get activeMenuId(): string | null;
|
|
30
33
|
registerMenu(menuId: string, hide: () => void): IDisposable;
|
|
31
34
|
activateMenu(menuId: string): void;
|
|
32
35
|
deactivateMenu(menuId: string): void;
|
|
33
36
|
hideActiveMenu(exceptMenuId?: string): void;
|
|
37
|
+
dispose(): void;
|
|
34
38
|
}
|