@univerjs-pro/embed-ui 1.0.0-alpha.8 → 1.0.0-beta.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 (109) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.css +15 -13
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/components/EmbedFloatDomRenderer.d.ts +4 -40
  63. package/lib/types/components/EmbedHostToolbarMenu.d.ts +0 -26
  64. package/lib/types/components/embed-float-dom-data.d.ts +10 -0
  65. package/lib/types/components/embed-float-dom-geometry.d.ts +95 -0
  66. package/lib/types/components/embed-float-dom-interaction.d.ts +114 -0
  67. package/lib/types/plugin.d.ts +4 -2
  68. package/lib/types/products/bases/BaseFullscreenTableSidebar.d.ts +31 -0
  69. package/lib/types/products/bases/EmbedFloatingMenu.d.ts +1 -6
  70. package/lib/types/products/bases/embed-content-size.d.ts +13 -7
  71. package/lib/types/products/bases/embed-passive-viewport.d.ts +2 -3
  72. package/lib/types/products/bases/register.d.ts +1 -0
  73. package/lib/types/products/docs/EmbedDocsCustomBlockRenderer.d.ts +3 -10
  74. package/lib/types/products/docs/docs-custom-block-layout.d.ts +2 -1
  75. package/lib/types/products/docs/embed-docs-custom-block-bleed.render-controller.d.ts +6 -1
  76. package/lib/types/products/product-ui-contributions.d.ts +1 -0
  77. package/lib/types/products/sheets/EmbedFloatingMenu.d.ts +2 -33
  78. package/lib/types/products/sheets/SheetEmbedFloatingMenuControls.d.ts +92 -0
  79. package/lib/types/products/sheets/SheetEmbedFloatingMenuPrimitives.d.ts +85 -0
  80. package/lib/types/products/sheets/embed-content-size.d.ts +2 -0
  81. package/lib/types/products/sheets/embed-passive-viewport.d.ts +2 -3
  82. package/lib/types/products/sheets/register.d.ts +1 -1
  83. package/lib/types/products/slides/EmbedChildView.d.ts +1 -1
  84. package/lib/types/services/embed-display-target-sync.d.ts +3 -5
  85. package/lib/types/services/embed-dom-wheel.d.ts +40 -0
  86. package/lib/types/services/embed-fullscreen-runtime.d.ts +26 -0
  87. package/lib/types/types/embed-ui.d.ts +2 -0
  88. package/lib/umd/index.js +1 -1
  89. package/lib/umd/locale/ar-SA.js +1 -1
  90. package/lib/umd/locale/ca-ES.js +1 -1
  91. package/lib/umd/locale/de-DE.js +1 -1
  92. package/lib/umd/locale/en-US.js +1 -1
  93. package/lib/umd/locale/es-ES.js +1 -1
  94. package/lib/umd/locale/fa-IR.js +1 -1
  95. package/lib/umd/locale/fr-FR.js +1 -1
  96. package/lib/umd/locale/id-ID.js +1 -1
  97. package/lib/umd/locale/it-IT.js +1 -1
  98. package/lib/umd/locale/ja-JP.js +1 -1
  99. package/lib/umd/locale/ko-KR.js +1 -1
  100. package/lib/umd/locale/pl-PL.js +1 -1
  101. package/lib/umd/locale/pt-BR.js +1 -1
  102. package/lib/umd/locale/ru-RU.js +1 -1
  103. package/lib/umd/locale/sk-SK.js +1 -1
  104. package/lib/umd/locale/vi-VN.js +1 -1
  105. package/lib/umd/locale/zh-CN.js +1 -1
  106. package/lib/umd/locale/zh-HK.js +1 -1
  107. package/lib/umd/locale/zh-TW.js +1 -1
  108. package/package.json +36 -36
  109. package/lib/types/products/slides/components/embed-floating-preview/SlideEmbedFloatingPreview.d.ts +0 -24
@@ -1 +1 @@
1
- const _0x56c7ff=_0x231c;(function(_0x4ce006,_0x3e8d85){const _0x4fc759=_0x231c,_0x38013c=_0x4ce006();while(!![]){try{const _0x29b99b=parseInt(_0x4fc759(0xd4))/0x1*(-parseInt(_0x4fc759(0xc2))/0x2)+parseInt(_0x4fc759(0xc6))/0x3*(parseInt(_0x4fc759(0xc1))/0x4)+parseInt(_0x4fc759(0xc5))/0x5*(-parseInt(_0x4fc759(0xd5))/0x6)+parseInt(_0x4fc759(0xc3))/0x7+-parseInt(_0x4fc759(0xd6))/0x8*(-parseInt(_0x4fc759(0xd0))/0x9)+parseInt(_0x4fc759(0xcb))/0xa*(parseInt(_0x4fc759(0xd8))/0xb)+parseInt(_0x4fc759(0xdb))/0xc*(parseInt(_0x4fc759(0xd3))/0xd);if(_0x29b99b===_0x3e8d85)break;else _0x38013c['push'](_0x38013c['shift']());}catch(_0x5541fc){_0x38013c['push'](_0x38013c['shift']());}}}(_0x145d,0xd3dfb));const e={'embed-ui':{'deleteBlock':_0x56c7ff(0xc0),'fullscreen':{'exit':_0x56c7ff(0xc4)},'boardsFloating':{'fitContent':_0x56c7ff(0xd2),'zoomOut':'縮小','resetZoom':'重設縮放','zoomIn':'放大','delete':'刪除'},'basesFloating':{'copySuffix':'副本','delete':'刪除','confirmDelete':{'viewTitle':_0x56c7ff(0xd9),'viewDescription':_0x56c7ff(0xbf),'tableTitle':_0x56c7ff(0xc9),'tableDescription':'此表和其中的記錄將被刪除。'},'tableSidebar':{'defaultTableName':'表\x20{0}'},'duplicateTable':{'copyName':_0x56c7ff(0xbd)},'viewSettings':{'title':_0x56c7ff(0xbe),'addView':_0x56c7ff(0xce),'configureView':'設定檢視','deleteView':'刪除檢視'}},'sheetsFloating':{'toolbar':{'formatPainter':_0x56c7ff(0xda),'font':'字型','fontSize':'字型大小','numberFormat':_0x56c7ff(0xc8),'bold':'粗體','filter':'篩選','resetColor':'重置顏色','textColor':{'main':_0x56c7ff(0xd1)},'fillColor':{'main':'填滿色彩'},'border':{'main':'邊框'},'mergeCell':{'main':'合併儲存格'},'horizontalAlignMode':{'main':_0x56c7ff(0xc7)},'verticalAlignMode':{'main':_0x56c7ff(0xcf)},'textWrapMode':{'main':_0x56c7ff(0xcd)}},'align':{'left':_0x56c7ff(0xcc),'center':'置中','right':_0x56c7ff(0xd7),'top':'靠上對齊','middle':'垂直置中','bottom':'靠下對齊'},'borderLine':{'borderColor':'邊框顏色','borderSize':_0x56c7ff(0xca)},'textWrap':{'overflow':'溢出','wrap':'自動換行','clip':'截斷'}}}};function _0x231c(_0x42dd19,_0x303e48){_0x42dd19=_0x42dd19-0xbd;const _0x145d35=_0x145d();let _0x231c27=_0x145d35[_0x42dd19];return _0x231c27;}function _0x145d(){const _0x1f637f=['70103PckiAl','刪除此檢視?','複製格式','108ytzdsV','{0}\x20副本','檢視設定','此檢視將被刪除。','刪除嵌入區塊','1872wqSVSN','10VqyfPG','5509952YXpFLl','退出全螢幕','858830pSCPUx','1401FxOpcK','水平對齊','數字格式','刪除此表?','邊框粗細','830rpVWcj','靠左對齊','自動換行','新增檢視','垂直對齊','9AhpzJt','字型顏色','適應內容','1132677VypKMg','204496rjPYrh','36ZpznGd','4816792bheYKJ','靠右對齊'];_0x145d=function(){return _0x1f637f;};return _0x145d();}export{e as default};
1
+ function _0x56c9(_0x2eed98,_0x442071){_0x2eed98=_0x2eed98-0x142;const _0x554ea4=_0x554e();let _0x56c96c=_0x554ea4[_0x2eed98];return _0x56c96c;}const _0x269568=_0x56c9;(function(_0x1836df,_0x1a9c8c){const _0xea19a3=_0x56c9,_0x16118f=_0x1836df();while(!![]){try{const _0x4b2616=parseInt(_0xea19a3(0x157))/0x1*(-parseInt(_0xea19a3(0x159))/0x2)+-parseInt(_0xea19a3(0x155))/0x3+-parseInt(_0xea19a3(0x144))/0x4+-parseInt(_0xea19a3(0x143))/0x5+-parseInt(_0xea19a3(0x149))/0x6*(parseInt(_0xea19a3(0x14c))/0x7)+-parseInt(_0xea19a3(0x162))/0x8*(-parseInt(_0xea19a3(0x142))/0x9)+parseInt(_0xea19a3(0x145))/0xa;if(_0x4b2616===_0x1a9c8c)break;else _0x16118f['push'](_0x16118f['shift']());}catch(_0x5c0ace){_0x16118f['push'](_0x16118f['shift']());}}}(_0x554e,0x67deb));const e={'embed-ui':{'deleteBlock':_0x269568(0x14f),'fullscreen':{'exit':_0x269568(0x161)},'boardsFloating':{'fitContent':_0x269568(0x14b),'zoomOut':'縮小','resetZoom':'重設縮放','zoomIn':'放大','delete':'刪除'},'basesFloating':{'copySuffix':'副本','delete':'刪除','confirmDelete':{'viewTitle':_0x269568(0x158),'viewDescription':'此檢視將被刪除。','tableTitle':_0x269568(0x150),'tableDescription':_0x269568(0x163)},'tableSidebar':{'defaultTableName':_0x269568(0x15c)},'duplicateTable':{'copyName':'{0}\x20副本'},'viewSettings':{'title':_0x269568(0x14d),'addView':'新增檢視','configureView':_0x269568(0x148),'deleteView':_0x269568(0x153)}},'sheetsFloating':{'toolbar':{'formatPainter':_0x269568(0x151),'font':'字型','fontSize':_0x269568(0x147),'numberFormat':_0x269568(0x152),'bold':'粗體','filter':'篩選','resetColor':_0x269568(0x146),'textColor':{'main':_0x269568(0x15f)},'fillColor':{'main':_0x269568(0x160)},'border':{'main':'邊框'},'mergeCell':{'main':_0x269568(0x15e)},'horizontalAlignMode':{'main':_0x269568(0x15b)},'verticalAlignMode':{'main':_0x269568(0x156)},'textWrapMode':{'main':_0x269568(0x154)}},'align':{'left':'靠左對齊','center':'置中','right':_0x269568(0x15d),'top':'靠上對齊','middle':_0x269568(0x14e),'bottom':_0x269568(0x14a)},'borderLine':{'borderColor':_0x269568(0x164),'borderSize':_0x269568(0x15a)},'textWrap':{'overflow':'溢出','wrap':_0x269568(0x154),'clip':'截斷'}}}};function _0x554e(){const _0x2a57e1=['合併儲存格','字型顏色','填滿色彩','退出全螢幕','499976QpEkqv','此表和其中的記錄將被刪除。','邊框顏色','108fYLBeS','3269350mzzpGF','1412464FwTMYg','17161480zBkBnr','重置顏色','字型大小','設定檢視','6CvwmGM','靠下對齊','適應內容','2961497cKTadr','檢視設定','垂直置中','刪除嵌入區塊','刪除此表?','複製格式','數字格式','刪除檢視','自動換行','703299MOIDoX','垂直對齊','376171XzqBmG','刪除此檢視?','2PuOCPH','邊框粗細','水平對齊','表\x20{0}','靠右對齊'];_0x554e=function(){return _0x2a57e1;};return _0x554e();}export{e as default};
package/lib/index.css CHANGED
@@ -23,10 +23,7 @@
23
23
  }
24
24
 
25
25
  .univer-inset-0 {
26
- top: 0;
27
- bottom: 0;
28
- left: 0;
29
- right: 0;
26
+ inset: 0;
30
27
  }
31
28
 
32
29
  .univer-inset-x-0 {
@@ -366,7 +363,6 @@
366
363
  }
367
364
 
368
365
  .univer-appearance-none {
369
- -webkit-appearance: none;
370
366
  appearance: none;
371
367
  }
372
368
 
@@ -763,10 +759,7 @@
763
759
 
764
760
  .after\:univer-inset-0:after {
765
761
  content: var(--univer-tw-content);
766
- top: 0;
767
- bottom: 0;
768
- left: 0;
769
- right: 0;
762
+ inset: 0;
770
763
  }
771
764
 
772
765
  .after\:univer-z-20:after {
@@ -784,14 +777,19 @@
784
777
  border-radius: inherit;
785
778
  }
786
779
 
787
- .after\:\!univer-border-0:after {
780
+ .after\:univer-border:after {
781
+ content: var(--univer-tw-content);
782
+ border-width: 1px;
783
+ }
784
+
785
+ .after\:\!univer-border-b-0:after {
788
786
  content: var(--univer-tw-content);
789
- border-width: 0 !important;
787
+ border-bottom-width: 0 !important;
790
788
  }
791
789
 
792
- .after\:univer-border:after {
790
+ .after\:\!univer-border-r-0:after {
793
791
  content: var(--univer-tw-content);
794
- border-width: 1px;
792
+ border-right-width: 0 !important;
795
793
  }
796
794
 
797
795
  .after\:univer-border-solid:after {
@@ -941,6 +939,10 @@
941
939
  pointer-events: auto;
942
940
  }
943
941
 
942
+ .\[\&\[data-embed-docs-custom-block-sheet-like\=true\]\]\:univer-pointer-events-none[data-embed-docs-custom-block-sheet-like="true"] {
943
+ pointer-events: none;
944
+ }
945
+
944
946
  .\[\&\[data-embed-docs-custom-block-sheet-like\=true\]\]\:\[contain\:layout_style\][data-embed-docs-custom-block-sheet-like="true"] {
945
947
  contain: layout style;
946
948
  }