@univerjs/ui 1.3.0 → 1.4.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.
Files changed (79) hide show
  1. package/lib/cjs/facade.js +10 -21
  2. package/lib/cjs/index.js +558 -516
  3. package/lib/cjs/locale/ar-SA.js +2 -4
  4. package/lib/cjs/locale/ca-ES.js +2 -4
  5. package/lib/cjs/locale/de-DE.js +2 -4
  6. package/lib/cjs/locale/en-US.js +2 -4
  7. package/lib/cjs/locale/es-ES.js +2 -4
  8. package/lib/cjs/locale/fa-IR.js +2 -4
  9. package/lib/cjs/locale/fr-FR.js +2 -4
  10. package/lib/cjs/locale/id-ID.js +2 -4
  11. package/lib/cjs/locale/it-IT.js +2 -4
  12. package/lib/cjs/locale/ja-JP.js +2 -4
  13. package/lib/cjs/locale/ko-KR.js +2 -4
  14. package/lib/cjs/locale/pl-PL.js +2 -4
  15. package/lib/cjs/locale/pt-BR.js +2 -4
  16. package/lib/cjs/locale/ru-RU.js +2 -4
  17. package/lib/cjs/locale/sk-SK.js +2 -4
  18. package/lib/cjs/locale/vi-VN.js +2 -4
  19. package/lib/cjs/locale/zh-CN.js +2 -4
  20. package/lib/cjs/locale/zh-HK.js +2 -4
  21. package/lib/cjs/locale/zh-TW.js +2 -4
  22. package/lib/es/facade.js +10 -20
  23. package/lib/es/index.js +472 -425
  24. package/lib/es/locale/ar-SA.js +2 -4
  25. package/lib/es/locale/ca-ES.js +2 -4
  26. package/lib/es/locale/de-DE.js +2 -4
  27. package/lib/es/locale/en-US.js +2 -4
  28. package/lib/es/locale/es-ES.js +2 -4
  29. package/lib/es/locale/fa-IR.js +2 -4
  30. package/lib/es/locale/fr-FR.js +2 -4
  31. package/lib/es/locale/id-ID.js +2 -4
  32. package/lib/es/locale/it-IT.js +2 -4
  33. package/lib/es/locale/ja-JP.js +2 -4
  34. package/lib/es/locale/ko-KR.js +2 -4
  35. package/lib/es/locale/pl-PL.js +2 -4
  36. package/lib/es/locale/pt-BR.js +2 -4
  37. package/lib/es/locale/ru-RU.js +2 -4
  38. package/lib/es/locale/sk-SK.js +2 -4
  39. package/lib/es/locale/vi-VN.js +2 -4
  40. package/lib/es/locale/zh-CN.js +2 -4
  41. package/lib/es/locale/zh-HK.js +2 -4
  42. package/lib/es/locale/zh-TW.js +2 -4
  43. package/lib/facade.js +10 -20
  44. package/lib/index.css +49 -14
  45. package/lib/index.js +472 -425
  46. package/lib/locale/ar-SA.js +2 -4
  47. package/lib/locale/ca-ES.js +2 -4
  48. package/lib/locale/de-DE.js +2 -4
  49. package/lib/locale/en-US.js +2 -4
  50. package/lib/locale/es-ES.js +2 -4
  51. package/lib/locale/fa-IR.js +2 -4
  52. package/lib/locale/fr-FR.js +2 -4
  53. package/lib/locale/id-ID.js +2 -4
  54. package/lib/locale/it-IT.js +2 -4
  55. package/lib/locale/ja-JP.js +2 -4
  56. package/lib/locale/ko-KR.js +2 -4
  57. package/lib/locale/pl-PL.js +2 -4
  58. package/lib/locale/pt-BR.js +2 -4
  59. package/lib/locale/ru-RU.js +2 -4
  60. package/lib/locale/sk-SK.js +2 -4
  61. package/lib/locale/vi-VN.js +2 -4
  62. package/lib/locale/zh-CN.js +2 -4
  63. package/lib/locale/zh-HK.js +2 -4
  64. package/lib/locale/zh-TW.js +2 -4
  65. package/lib/types/menu/shortcut-panel.menu.d.ts +2 -1
  66. package/lib/types/services/menu/menu-manager.service.d.ts +2 -0
  67. package/lib/types/services/menu/menu.d.ts +1 -0
  68. package/lib/types/utils/di.d.ts +6 -10
  69. package/lib/types/views/components/mobile-drawer/MobileDrawer.d.ts +1 -0
  70. package/lib/types/views/components/popup/RectPopup.d.ts +8 -6
  71. package/lib/types/views/components/ribbon/ToolbarButton.d.ts +3 -5
  72. package/lib/types/views/components/ribbon/TooltipButtonWrapper.d.ts +2 -1
  73. package/lib/types/views/components/ribbon/ribbon-grid-layout.d.ts +2 -0
  74. package/lib/types/views/components/ribbon/ribbon-menu/use-ribbon-tabs.d.ts +18 -0
  75. package/lib/types/views/custom-label/CustomLabel.d.ts +1 -0
  76. package/lib/types/views/emoji-picker/emoji-picker-utils.d.ts +2 -2
  77. package/lib/types/views/font-family/FontFamily.d.ts +1 -1
  78. package/lib/umd/index.js +23 -22
  79. package/package.json +13 -13
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/ar-SA.generated.ts
1
+ // src/locale/emoji-locale/ar-SA.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "أسنان سعيد ضحك فرحان وجه مبتسم",
@@ -5291,8 +5291,7 @@ const emojiLocale = {
5291
5291
  }
5292
5292
  };
5293
5293
 
5294
- //#endregion
5295
- //#region src/locale/ar-SA.ts
5294
+ // src/locale/ar-SA.ts
5296
5295
  const locale = { ui: {
5297
5296
  clearFormatting: "مسح التنسيق",
5298
5297
  formatPainter: "نسخ التنسيق",
@@ -5460,5 +5459,4 @@ const locale = { ui: {
5460
5459
  column: "عمود"
5461
5460
  } };
5462
5461
 
5463
- //#endregion
5464
5462
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/ca-ES.generated.ts
1
+ // src/locale/emoji-locale/ca-ES.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "alegre animada animat dents feliç rialla somriure ulls",
@@ -5246,8 +5246,7 @@ const emojiLocale = {
5246
5246
  }
5247
5247
  };
5248
5248
 
5249
- //#endregion
5250
- //#region src/locale/ca-ES.ts
5249
+ // src/locale/ca-ES.ts
5251
5250
  const locale = { ui: {
5252
5251
  clearFormatting: "Esborra el format",
5253
5252
  formatPainter: "Copia el format",
@@ -5415,5 +5414,4 @@ const locale = { ui: {
5415
5414
  column: "Columna"
5416
5415
  } };
5417
5416
 
5418
- //#endregion
5419
5417
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/de-DE.generated.ts
1
+ // src/locale/emoji-locale/de-DE.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "froh fröhlich haha lachen lol lustig smiley",
@@ -5205,8 +5205,7 @@ const emojiLocale = {
5205
5205
  }
5206
5206
  };
5207
5207
 
5208
- //#endregion
5209
- //#region src/locale/de-DE.ts
5208
+ // src/locale/de-DE.ts
5210
5209
  const locale = { ui: {
5211
5210
  clearFormatting: "Formatierung löschen",
5212
5211
  formatPainter: "Format übertragen",
@@ -5374,5 +5373,4 @@ const locale = { ui: {
5374
5373
  column: "Spalte"
5375
5374
  } };
5376
5375
 
5377
- //#endregion
5378
5376
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/en-US.generated.ts
1
+ // src/locale/emoji-locale/en-US.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "cheerful cheery happy laugh nice smile smiling teeth",
@@ -5211,8 +5211,7 @@ const emojiLocale = {
5211
5211
  }
5212
5212
  };
5213
5213
 
5214
- //#endregion
5215
- //#region src/locale/en-US.ts
5214
+ // src/locale/en-US.ts
5216
5215
  /**
5217
5216
  * Copyright 2023-present DreamNum Co., Ltd.
5218
5217
  *
@@ -5395,5 +5394,4 @@ const locale = { ui: {
5395
5394
  column: "Column"
5396
5395
  } };
5397
5396
 
5398
- //#endregion
5399
5397
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/es-ES.generated.ts
1
+ // src/locale/emoji-locale/es-ES.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "divertido feliz sonrisa",
@@ -5140,8 +5140,7 @@ const emojiLocale = {
5140
5140
  }
5141
5141
  };
5142
5142
 
5143
- //#endregion
5144
- //#region src/locale/es-ES.ts
5143
+ // src/locale/es-ES.ts
5145
5144
  const locale = { ui: {
5146
5145
  clearFormatting: "Borrar formato",
5147
5146
  formatPainter: "Copiar formato",
@@ -5309,5 +5308,4 @@ const locale = { ui: {
5309
5308
  column: "Columna"
5310
5309
  } };
5311
5310
 
5312
- //#endregion
5313
5311
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/fa-IR.generated.ts
1
+ // src/locale/emoji-locale/fa-IR.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "صورت با لبخند نیش باز",
@@ -5229,8 +5229,7 @@ const emojiLocale = {
5229
5229
  }
5230
5230
  };
5231
5231
 
5232
- //#endregion
5233
- //#region src/locale/fa-IR.ts
5232
+ // src/locale/fa-IR.ts
5234
5233
  const locale = { ui: {
5235
5234
  clearFormatting: "پاک کردن قالب‌بندی",
5236
5235
  formatPainter: "کپی قالب‌بندی",
@@ -5398,5 +5397,4 @@ const locale = { ui: {
5398
5397
  column: "ستون"
5399
5398
  } };
5400
5399
 
5401
- //#endregion
5402
5400
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/fr-FR.generated.ts
1
+ // src/locale/emoji-locale/fr-FR.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "content dents émoticône grand sourire heureux joyeux super visage très souriant",
@@ -5256,8 +5256,7 @@ const emojiLocale = {
5256
5256
  }
5257
5257
  };
5258
5258
 
5259
- //#endregion
5260
- //#region src/locale/fr-FR.ts
5259
+ // src/locale/fr-FR.ts
5261
5260
  const locale = { ui: {
5262
5261
  clearFormatting: "Effacer la mise en forme",
5263
5262
  formatPainter: "Reproduire la mise en forme",
@@ -5425,5 +5424,4 @@ const locale = { ui: {
5425
5424
  column: "Colonne"
5426
5425
  } };
5427
5426
 
5428
- //#endregion
5429
5427
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/id-ID.generated.ts
1
+ // src/locale/emoji-locale/id-ID.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "bahagia muka senang senyum tertawa",
@@ -5243,8 +5243,7 @@ const emojiLocale = {
5243
5243
  }
5244
5244
  };
5245
5245
 
5246
- //#endregion
5247
- //#region src/locale/id-ID.ts
5246
+ // src/locale/id-ID.ts
5248
5247
  const locale = { ui: {
5249
5248
  clearFormatting: "Hapus pemformatan",
5250
5249
  formatPainter: "Salin Format",
@@ -5412,5 +5411,4 @@ const locale = { ui: {
5412
5411
  column: "Kolom"
5413
5412
  } };
5414
5413
 
5415
- //#endregion
5416
5414
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/it-IT.generated.ts
1
+ // src/locale/emoji-locale/it-IT.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "allegria allegro denti molto felice risata sogghignare sogghigno",
@@ -5292,8 +5292,7 @@ const emojiLocale = {
5292
5292
  }
5293
5293
  };
5294
5294
 
5295
- //#endregion
5296
- //#region src/locale/it-IT.ts
5295
+ // src/locale/it-IT.ts
5297
5296
  const locale = { ui: {
5298
5297
  clearFormatting: "Cancella formattazione",
5299
5298
  formatPainter: "Copia formato",
@@ -5461,5 +5460,4 @@ const locale = { ui: {
5461
5460
  column: "Colonna"
5462
5461
  } };
5463
5462
 
5464
- //#endregion
5465
5463
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/ja-JP.generated.ts
1
+ // src/locale/emoji-locale/ja-JP.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "スマイル ナイス ハッピー 笑顔",
@@ -5269,8 +5269,7 @@ const emojiLocale = {
5269
5269
  }
5270
5270
  };
5271
5271
 
5272
- //#endregion
5273
- //#region src/locale/ja-JP.ts
5272
+ // src/locale/ja-JP.ts
5274
5273
  const locale = { ui: {
5275
5274
  clearFormatting: "書式をクリア",
5276
5275
  formatPainter: "書式のコピー",
@@ -5438,5 +5437,4 @@ const locale = { ui: {
5438
5437
  column: "列"
5439
5438
  } };
5440
5439
 
5441
- //#endregion
5442
5440
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/ko-KR.generated.ts
1
+ // src/locale/emoji-locale/ko-KR.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "미소 발랄함 스마일 웃음 치아 행복 환호",
@@ -5259,8 +5259,7 @@ const emojiLocale = {
5259
5259
  }
5260
5260
  };
5261
5261
 
5262
- //#endregion
5263
- //#region src/locale/ko-KR.ts
5262
+ // src/locale/ko-KR.ts
5264
5263
  const locale = { ui: {
5265
5264
  clearFormatting: "서식 지우기",
5266
5265
  formatPainter: "서식 복사",
@@ -5428,5 +5427,4 @@ const locale = { ui: {
5428
5427
  column: "열"
5429
5428
  } };
5430
5429
 
5431
- //#endregion
5432
5430
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/pl-PL.generated.ts
1
+ // src/locale/emoji-locale/pl-PL.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "haha hehe roześmiana buźka",
@@ -5295,8 +5295,7 @@ const emojiLocale = {
5295
5295
  }
5296
5296
  };
5297
5297
 
5298
- //#endregion
5299
- //#region src/locale/pl-PL.ts
5298
+ // src/locale/pl-PL.ts
5300
5299
  const locale = { ui: {
5301
5300
  clearFormatting: "Wyczyść formatowanie",
5302
5301
  formatPainter: "Malarz formatów",
@@ -5464,5 +5463,4 @@ const locale = { ui: {
5464
5463
  column: "Kolumna"
5465
5464
  } };
5466
5465
 
5467
- //#endregion
5468
5466
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/pt-BR.generated.ts
1
+ // src/locale/emoji-locale/pt-BR.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "engraçado feliz lol rindo risada sorridente",
@@ -5256,8 +5256,7 @@ const emojiLocale = {
5256
5256
  }
5257
5257
  };
5258
5258
 
5259
- //#endregion
5260
- //#region src/locale/pt-BR.ts
5259
+ // src/locale/pt-BR.ts
5261
5260
  const locale = { ui: {
5262
5261
  clearFormatting: "Limpar formatação",
5263
5262
  formatPainter: "Pincel de Formatação",
@@ -5425,5 +5424,4 @@ const locale = { ui: {
5425
5424
  column: "Coluna"
5426
5425
  } };
5427
5426
 
5428
- //#endregion
5429
5427
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/ru-RU.generated.ts
1
+ // src/locale/emoji-locale/ru-RU.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "лицо радость смех счастье улыбка",
@@ -5306,8 +5306,7 @@ const emojiLocale = {
5306
5306
  }
5307
5307
  };
5308
5308
 
5309
- //#endregion
5310
- //#region src/locale/ru-RU.ts
5309
+ // src/locale/ru-RU.ts
5311
5310
  const locale = { ui: {
5312
5311
  clearFormatting: "Очистить форматирование",
5313
5312
  formatPainter: "Формат по образцу",
@@ -5475,5 +5474,4 @@ const locale = { ui: {
5475
5474
  column: "Столбец"
5476
5475
  } };
5477
5476
 
5478
- //#endregion
5479
5477
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/sk-SK.generated.ts
1
+ // src/locale/emoji-locale/sk-SK.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "smajlík s veľkým úsmevom šťastný úškľabok úškrn usmievavá tvár veselý zuby",
@@ -5309,8 +5309,7 @@ const emojiLocale = {
5309
5309
  }
5310
5310
  };
5311
5311
 
5312
- //#endregion
5313
- //#region src/locale/sk-SK.ts
5312
+ // src/locale/sk-SK.ts
5314
5313
  const locale = { ui: {
5315
5314
  clearFormatting: "Vymazať formátovanie",
5316
5315
  formatPainter: "Kopírovať formát",
@@ -5478,5 +5477,4 @@ const locale = { ui: {
5478
5477
  column: "Stĺpec"
5479
5478
  } };
5480
5479
 
5481
- //#endregion
5482
5480
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/vi-VN.generated.ts
1
+ // src/locale/emoji-locale/vi-VN.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😃": "há to mặt cười mắt mở to",
@@ -5133,8 +5133,7 @@ const emojiLocale = {
5133
5133
  }
5134
5134
  };
5135
5135
 
5136
- //#endregion
5137
- //#region src/locale/vi-VN.ts
5136
+ // src/locale/vi-VN.ts
5138
5137
  const locale = { ui: {
5139
5138
  clearFormatting: "Xóa định dạng",
5140
5139
  formatPainter: "Sao chép định dạng",
@@ -5302,5 +5301,4 @@ const locale = { ui: {
5302
5301
  column: "Cột"
5303
5302
  } };
5304
5303
 
5305
- //#endregion
5306
5304
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/zh-CN.generated.ts
1
+ // src/locale/emoji-locale/zh-CN.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "笑脸 高兴",
@@ -5259,8 +5259,7 @@ const emojiLocale = {
5259
5259
  }
5260
5260
  };
5261
5261
 
5262
- //#endregion
5263
- //#region src/locale/zh-CN.ts
5262
+ // src/locale/zh-CN.ts
5264
5263
  const locale = { ui: {
5265
5264
  clearFormatting: "清除格式",
5266
5265
  formatPainter: "格式刷",
@@ -5428,5 +5427,4 @@ const locale = { ui: {
5428
5427
  column: "列"
5429
5428
  } };
5430
5429
 
5431
- //#endregion
5432
5430
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/zh-HK.generated.ts
1
+ // src/locale/emoji-locale/zh-HK.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "大笑 微笑 快樂 牙齒 臉孔 開心 開朗 高興",
@@ -5239,8 +5239,7 @@ const emojiLocale = {
5239
5239
  }
5240
5240
  };
5241
5241
 
5242
- //#endregion
5243
- //#region src/locale/zh-HK.ts
5242
+ // src/locale/zh-HK.ts
5244
5243
  const locale = { ui: {
5245
5244
  clearFormatting: "清除格式",
5246
5245
  formatPainter: "複製格式",
@@ -5408,5 +5407,4 @@ const locale = { ui: {
5408
5407
  column: "欄"
5409
5408
  } };
5410
5409
 
5411
- //#endregion
5412
5410
  export { locale as default };
@@ -1,4 +1,4 @@
1
- //#region src/locale/emoji-locale/zh-TW.generated.ts
1
+ // src/locale/emoji-locale/zh-TW.generated.ts
2
2
  const emojiLocale = {
3
3
  "emojiSearchIndex": {
4
4
  "😀": "微笑 欣喜 笑容 露齒而笑",
@@ -5071,8 +5071,7 @@ const emojiLocale = {
5071
5071
  }
5072
5072
  };
5073
5073
 
5074
- //#endregion
5075
- //#region src/locale/zh-TW.ts
5074
+ // src/locale/zh-TW.ts
5076
5075
  const locale = { ui: {
5077
5076
  clearFormatting: "清除格式",
5078
5077
  formatPainter: "複製格式",
@@ -5240,5 +5239,4 @@ const locale = { ui: {
5240
5239
  column: "欄"
5241
5240
  } };
5242
5241
 
5243
- //#endregion
5244
5242
  export { locale as default };
package/lib/facade.js CHANGED
@@ -3,7 +3,7 @@ import { FBase, FEnum, FUniver } from "@univerjs/core/facade";
3
3
  import { IRenderManagerService } from "@univerjs/engine-render";
4
4
  import { BuiltInUIPart, ComponentManager, CopyCommand, IDialogService, IFontService, IMenuManagerService, IMessageService, IShortcutService, ISidebarService, IUIPartsService, KeyCode, MenuItemType, MenuManagerPosition, PasteCommand, RibbonPosition, RibbonStartGroup, UI_PLUGIN_CONFIG_KEY, connectInjector } from "@univerjs/ui";
5
5
 
6
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/typeof.js
6
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/typeof.js
7
7
  function _typeof(o) {
8
8
  "@babel/helpers - typeof";
9
9
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -13,8 +13,7 @@ function _typeof(o) {
13
13
  }, _typeof(o);
14
14
  }
15
15
 
16
- //#endregion
17
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPrimitive.js
16
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/toPrimitive.js
18
17
  function toPrimitive(t, r) {
19
18
  if ("object" != _typeof(t) || !t) return t;
20
19
  var e = t[Symbol.toPrimitive];
@@ -26,15 +25,13 @@ function toPrimitive(t, r) {
26
25
  return ("string" === r ? String : Number)(t);
27
26
  }
28
27
 
29
- //#endregion
30
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/toPropertyKey.js
28
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/toPropertyKey.js
31
29
  function toPropertyKey(t) {
32
30
  var i = toPrimitive(t, "string");
33
31
  return "symbol" == _typeof(i) ? i : i + "";
34
32
  }
35
33
 
36
- //#endregion
37
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/defineProperty.js
34
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/defineProperty.js
38
35
  function _defineProperty(e, r, t) {
39
36
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
40
37
  value: t,
@@ -44,16 +41,14 @@ function _defineProperty(e, r, t) {
44
41
  }) : e[r] = t, e;
45
42
  }
46
43
 
47
- //#endregion
48
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateParam.js
44
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/decorateParam.js
49
45
  function __decorateParam(paramIndex, decorator) {
50
46
  return function(target, key) {
51
47
  decorator(target, key, paramIndex);
52
48
  };
53
49
  }
54
50
 
55
- //#endregion
56
- //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
51
+ // \0@oxc-project+runtime@0.156.0/helpers/esm/decorate.js
57
52
  function __decorate(decorators, target, key, desc) {
58
53
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
59
54
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -61,8 +56,7 @@ function __decorate(decorators, target, key, desc) {
61
56
  return c > 3 && r && Object.defineProperty(target, key, r), r;
62
57
  }
63
58
 
64
- //#endregion
65
- //#region src/facade/f-menu-builder.ts
59
+ // src/facade/f-menu-builder.ts
66
60
  /**
67
61
  * @ignore
68
62
  */
@@ -264,8 +258,7 @@ let FSubmenu = class FSubmenu extends FMenuBase {
264
258
  };
265
259
  FSubmenu = __decorate([__decorateParam(1, Inject(Injector)), __decorateParam(2, IMenuManagerService)], FSubmenu);
266
260
 
267
- //#endregion
268
- //#region src/facade/f-shortcut.ts
261
+ // src/facade/f-shortcut.ts
269
262
  let FShortcut = class FShortcut extends FBase {
270
263
  constructor(_injector, _renderManagerService, _univerInstanceService, _shortcutService) {
271
264
  super();
@@ -371,8 +364,7 @@ FShortcut = __decorate([
371
364
  __decorateParam(3, IShortcutService)
372
365
  ], FShortcut);
373
366
 
374
- //#endregion
375
- //#region src/facade/f-univer.ts
367
+ // src/facade/f-univer.ts
376
368
  /**
377
369
  * @ignore
378
370
  */
@@ -452,8 +444,7 @@ var FUniverUIMixin = class extends FUniver {
452
444
  };
453
445
  FUniver.extend(FUniverUIMixin);
454
446
 
455
- //#endregion
456
- //#region src/facade/f-enum.ts
447
+ // src/facade/f-enum.ts
457
448
  /**
458
449
  * Copyright 2023-present DreamNum Co., Ltd.
459
450
  *
@@ -482,5 +473,4 @@ var FUIEnumMixin = class extends FEnum {
482
473
  };
483
474
  FEnum.extend(FUIEnumMixin);
484
475
 
485
- //#endregion
486
476
  export { };
package/lib/index.css CHANGED
@@ -484,6 +484,10 @@
484
484
  width: 3.5rem !important;
485
485
  }
486
486
 
487
+ .\!univer-w-auto {
488
+ width: auto !important;
489
+ }
490
+
487
491
  .\!univer-w-full {
488
492
  width: 100% !important;
489
493
  }
@@ -532,6 +536,10 @@
532
536
  width: 1.25rem;
533
537
  }
534
538
 
539
+ .univer-w-6 {
540
+ width: 1.5rem;
541
+ }
542
+
535
543
  .univer-w-60 {
536
544
  width: 15rem;
537
545
  }
@@ -604,6 +612,10 @@
604
612
  min-width: 16rem;
605
613
  }
606
614
 
615
+ .univer-min-w-7 {
616
+ min-width: 1.75rem;
617
+ }
618
+
607
619
  .univer-min-w-\[60px\] {
608
620
  min-width: 60px;
609
621
  }
@@ -656,6 +668,10 @@
656
668
  flex: 1;
657
669
  }
658
670
 
671
+ .univer-flex-initial {
672
+ flex: 0 auto;
673
+ }
674
+
659
675
  .univer-flex-shrink-0, .univer-shrink-0 {
660
676
  flex-shrink: 0;
661
677
  }
@@ -821,8 +837,8 @@
821
837
  grid-template-rows: auto 1fr auto;
822
838
  }
823
839
 
824
- .univer-grid-rows-\[repeat\(2\,1\.5rem\)\] {
825
- grid-template-rows: repeat(2, 1.5rem);
840
+ .univer-grid-rows-\[repeat\(2\,1\.75rem\)\] {
841
+ grid-template-rows: repeat(2, 1.75rem);
826
842
  }
827
843
 
828
844
  .univer-flex-row {
@@ -917,6 +933,10 @@
917
933
  gap: 1.5rem;
918
934
  }
919
935
 
936
+ .univer-gap-y-0 {
937
+ row-gap: 0;
938
+ }
939
+
920
940
  .univer-overflow-auto {
921
941
  overflow: auto;
922
942
  }
@@ -1373,8 +1393,8 @@
1373
1393
  padding-right: .5rem;
1374
1394
  }
1375
1395
 
1376
- .univer-pr-5 {
1377
- padding-right: 1.25rem;
1396
+ .univer-pr-6 {
1397
+ padding-right: 1.5rem;
1378
1398
  }
1379
1399
 
1380
1400
  .univer-pt-1 {
@@ -1700,10 +1720,6 @@
1700
1720
  animation-fill-mode: backwards;
1701
1721
  }
1702
1722
 
1703
- .univer-context-menu-hover-suppressed button:hover:not(:focus) {
1704
- background-color: #0000 !important;
1705
- }
1706
-
1707
1723
  .last\:univer-border-b-0:last-child {
1708
1724
  border-bottom-width: 0;
1709
1725
  }
@@ -1712,6 +1728,21 @@
1712
1728
  display: none;
1713
1729
  }
1714
1730
 
1731
+ .focus-within\:univer-ring-2:focus-within {
1732
+ --univer-tw-ring-offset-shadow: var(--univer-tw-ring-inset) 0 0 0 var(--univer-tw-ring-offset-width) var(--univer-tw-ring-offset-color);
1733
+ --univer-tw-ring-shadow: var(--univer-tw-ring-inset) 0 0 0 calc(2px + var(--univer-tw-ring-offset-width)) var(--univer-tw-ring-color);
1734
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), 0 0 #0000;
1735
+ box-shadow: var(--univer-tw-ring-offset-shadow), var(--univer-tw-ring-shadow), var(--univer-tw-shadow, 0 0 #0000);
1736
+ }
1737
+
1738
+ .focus-within\:univer-ring-inset:focus-within {
1739
+ --univer-tw-ring-inset: inset;
1740
+ }
1741
+
1742
+ .focus-within\:univer-ring-primary-600:focus-within {
1743
+ --univer-tw-ring-color: var(--univer-primary-600);
1744
+ }
1745
+
1715
1746
  @media (hover: hover) and (pointer: fine) {
1716
1747
  .univer-group\/hover-track:hover .group-hover\/hover-track\:univer-opacity-100 {
1717
1748
  opacity: 1;
@@ -1965,8 +1996,8 @@
1965
1996
  padding-left: .375rem;
1966
1997
  }
1967
1998
 
1968
- .rtl\:univer-pl-5:where([dir="rtl"], [dir="rtl"] *) {
1969
- padding-left: 1.25rem;
1999
+ .rtl\:univer-pl-6:where([dir="rtl"], [dir="rtl"] *) {
2000
+ padding-left: 1.5rem;
1970
2001
  }
1971
2002
 
1972
2003
  .rtl\:univer-pr-0:where([dir="rtl"], [dir="rtl"] *) {
@@ -1977,6 +2008,10 @@
1977
2008
  padding-right: .5rem;
1978
2009
  }
1979
2010
 
2011
+ .rtl\:\!univer-text-right:where([dir="rtl"], [dir="rtl"] *) {
2012
+ text-align: right !important;
2013
+ }
2014
+
1980
2015
  .dark\:\!univer-border-gray-600:where(.univer-dark, .univer-dark *) {
1981
2016
  border-color: var(--univer-gray-600) !important;
1982
2017
  }
@@ -2118,10 +2153,6 @@
2118
2153
  }
2119
2154
  }
2120
2155
 
2121
- .dark\:focus\:\!univer-bg-gray-600:focus:where(.univer-dark, .univer-dark *) {
2122
- background-color: var(--univer-gray-600) !important;
2123
- }
2124
-
2125
2156
  .dark\:focus\:\!univer-bg-gray-900:focus:where(.univer-dark, .univer-dark *) {
2126
2157
  background-color: var(--univer-gray-900) !important;
2127
2158
  }
@@ -2483,6 +2514,10 @@
2483
2514
  opacity: .7 !important;
2484
2515
  }
2485
2516
 
2517
+ .\[\&_button\:hover\:not\(\:focus\)\]\:\!univer-bg-transparent button:hover:not(:focus) {
2518
+ background-color: #0000 !important;
2519
+ }
2520
+
2486
2521
  .\[\&_button\]\:\!univer-m-0 button {
2487
2522
  margin: 0 !important;
2488
2523
  }