@univerjs/ui 1.5.1 → 1.6.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 (102) hide show
  1. package/lib/cjs/facade.js +6 -6
  2. package/lib/cjs/index.js +12562 -11849
  3. package/lib/cjs/locale/ar-SA.js +1 -0
  4. package/lib/cjs/locale/ca-ES.js +1 -0
  5. package/lib/cjs/locale/de-DE.js +1 -0
  6. package/lib/cjs/locale/en-US.js +1 -0
  7. package/lib/cjs/locale/es-ES.js +1 -0
  8. package/lib/cjs/locale/fa-IR.js +1 -0
  9. package/lib/cjs/locale/fr-FR.js +1 -0
  10. package/lib/cjs/locale/id-ID.js +1 -0
  11. package/lib/cjs/locale/it-IT.js +1 -0
  12. package/lib/cjs/locale/ja-JP.js +1 -0
  13. package/lib/cjs/locale/ko-KR.js +1 -0
  14. package/lib/cjs/locale/pl-PL.js +1 -0
  15. package/lib/cjs/locale/pt-BR.js +1 -0
  16. package/lib/cjs/locale/ru-RU.js +1 -0
  17. package/lib/cjs/locale/sk-SK.js +1 -0
  18. package/lib/cjs/locale/vi-VN.js +1 -0
  19. package/lib/cjs/locale/zh-CN.js +1 -0
  20. package/lib/cjs/locale/zh-HK.js +1 -0
  21. package/lib/cjs/locale/zh-TW.js +1 -0
  22. package/lib/es/facade.js +6 -6
  23. package/lib/es/index.js +12508 -11819
  24. package/lib/es/locale/ar-SA.js +1 -0
  25. package/lib/es/locale/ca-ES.js +1 -0
  26. package/lib/es/locale/de-DE.js +1 -0
  27. package/lib/es/locale/en-US.js +1 -0
  28. package/lib/es/locale/es-ES.js +1 -0
  29. package/lib/es/locale/fa-IR.js +1 -0
  30. package/lib/es/locale/fr-FR.js +1 -0
  31. package/lib/es/locale/id-ID.js +1 -0
  32. package/lib/es/locale/it-IT.js +1 -0
  33. package/lib/es/locale/ja-JP.js +1 -0
  34. package/lib/es/locale/ko-KR.js +1 -0
  35. package/lib/es/locale/pl-PL.js +1 -0
  36. package/lib/es/locale/pt-BR.js +1 -0
  37. package/lib/es/locale/ru-RU.js +1 -0
  38. package/lib/es/locale/sk-SK.js +1 -0
  39. package/lib/es/locale/vi-VN.js +1 -0
  40. package/lib/es/locale/zh-CN.js +1 -0
  41. package/lib/es/locale/zh-HK.js +1 -0
  42. package/lib/es/locale/zh-TW.js +1 -0
  43. package/lib/facade.js +6 -6
  44. package/lib/index.css +235 -76
  45. package/lib/index.js +12508 -11819
  46. package/lib/locale/ar-SA.js +1 -0
  47. package/lib/locale/ca-ES.js +1 -0
  48. package/lib/locale/de-DE.js +1 -0
  49. package/lib/locale/en-US.js +1 -0
  50. package/lib/locale/es-ES.js +1 -0
  51. package/lib/locale/fa-IR.js +1 -0
  52. package/lib/locale/fr-FR.js +1 -0
  53. package/lib/locale/id-ID.js +1 -0
  54. package/lib/locale/it-IT.js +1 -0
  55. package/lib/locale/ja-JP.js +1 -0
  56. package/lib/locale/ko-KR.js +1 -0
  57. package/lib/locale/pl-PL.js +1 -0
  58. package/lib/locale/pt-BR.js +1 -0
  59. package/lib/locale/ru-RU.js +1 -0
  60. package/lib/locale/sk-SK.js +1 -0
  61. package/lib/locale/vi-VN.js +1 -0
  62. package/lib/locale/zh-CN.js +1 -0
  63. package/lib/locale/zh-HK.js +1 -0
  64. package/lib/locale/zh-TW.js +1 -0
  65. package/lib/types/components/editor-toolbar/EditorFloatingToolbar.d.ts +59 -0
  66. package/lib/types/components/editor-toolbar/EditorMenu.d.ts +33 -0
  67. package/lib/types/components/editor-toolbar/floating-toolbar-interaction.d.ts +19 -0
  68. package/lib/types/components/hyperlink/HyperlinkEditor.d.ts +38 -0
  69. package/lib/types/components/hyperlink/HyperlinkPreview.d.ts +34 -0
  70. package/lib/types/components/table-size-picker/MobileTableSizePicker.d.ts +17 -0
  71. package/lib/types/components/table-size-picker/TableSizePicker.d.ts +61 -0
  72. package/lib/types/controllers/components.controller.d.ts +3 -0
  73. package/lib/types/index.d.ts +14 -0
  74. package/lib/types/locale/en-US.d.ts +1 -0
  75. package/lib/types/services/menu/menu-manager.service.d.ts +2 -0
  76. package/lib/types/services/menu/types.d.ts +1 -0
  77. package/lib/types/views/components/ribbon/RibbonGrid.d.ts +2 -1
  78. package/lib/types/views/components/ribbon/ToolbarItem.d.ts +1 -0
  79. package/lib/types/views/emoji-picker/emoji-picker-utils.d.ts +1 -1
  80. package/lib/types/views/object-permission/ObjectPermissionMembers.d.ts +2 -1
  81. package/lib/types/views/user-info/UserInfo.d.ts +54 -0
  82. package/lib/umd/index.js +19 -19
  83. package/lib/umd/locale/ar-SA.js +1 -1
  84. package/lib/umd/locale/ca-ES.js +1 -1
  85. package/lib/umd/locale/de-DE.js +1 -1
  86. package/lib/umd/locale/en-US.js +1 -1
  87. package/lib/umd/locale/es-ES.js +1 -1
  88. package/lib/umd/locale/fa-IR.js +1 -1
  89. package/lib/umd/locale/fr-FR.js +1 -1
  90. package/lib/umd/locale/id-ID.js +1 -1
  91. package/lib/umd/locale/it-IT.js +1 -1
  92. package/lib/umd/locale/ja-JP.js +1 -1
  93. package/lib/umd/locale/ko-KR.js +1 -1
  94. package/lib/umd/locale/pl-PL.js +1 -1
  95. package/lib/umd/locale/pt-BR.js +1 -1
  96. package/lib/umd/locale/ru-RU.js +1 -1
  97. package/lib/umd/locale/sk-SK.js +1 -1
  98. package/lib/umd/locale/vi-VN.js +1 -1
  99. package/lib/umd/locale/zh-CN.js +1 -1
  100. package/lib/umd/locale/zh-HK.js +1 -1
  101. package/lib/umd/locale/zh-TW.js +1 -1
  102. package/package.json +11 -11
package/lib/cjs/facade.js CHANGED
@@ -3,7 +3,7 @@ let _univerjs_core_facade = require("@univerjs/core/facade");
3
3
  let _univerjs_engine_render = require("@univerjs/engine-render");
4
4
  let _univerjs_ui = require("@univerjs/ui");
5
5
 
6
- // \0@oxc-project+runtime@0.157.0/helpers/esm/typeof.js
6
+ // \0@oxc-project+runtime@0.158.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,7 +13,7 @@ function _typeof(o) {
13
13
  }, _typeof(o);
14
14
  }
15
15
 
16
- // \0@oxc-project+runtime@0.157.0/helpers/esm/toPrimitive.js
16
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/toPrimitive.js
17
17
  function toPrimitive(t, e) {
18
18
  if ("object" != _typeof(t) || !t) return t;
19
19
  var r;
@@ -25,13 +25,13 @@ function toPrimitive(t, e) {
25
25
  return ("string" === e ? String : Number)(t);
26
26
  }
27
27
 
28
- // \0@oxc-project+runtime@0.157.0/helpers/esm/toPropertyKey.js
28
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/toPropertyKey.js
29
29
  function toPropertyKey(t) {
30
30
  var i = toPrimitive(t, "string");
31
31
  return "symbol" == _typeof(i) ? i : i + "";
32
32
  }
33
33
 
34
- // \0@oxc-project+runtime@0.157.0/helpers/esm/defineProperty.js
34
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/defineProperty.js
35
35
  function _defineProperty(e, r, t) {
36
36
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
37
37
  value: t,
@@ -41,14 +41,14 @@ function _defineProperty(e, r, t) {
41
41
  }) : e[r] = t, e;
42
42
  }
43
43
 
44
- // \0@oxc-project+runtime@0.157.0/helpers/esm/decorateParam.js
44
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/decorateParam.js
45
45
  function __decorateParam(paramIndex, decorator) {
46
46
  return function(target, key) {
47
47
  decorator(target, key, paramIndex);
48
48
  };
49
49
  }
50
50
 
51
- // \0@oxc-project+runtime@0.157.0/helpers/esm/decorate.js
51
+ // \0@oxc-project+runtime@0.158.0/helpers/esm/decorate.js
52
52
  function __decorate(decorators, target, key, desc) {
53
53
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
54
54
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);