@univerjs-pro/embed-ui 1.0.0-rc.0 → 1.0.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.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/products/bases/EmbedChildView.d.ts +4 -4
- package/lib/umd/index.js +1 -1
- 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 +41 -41
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x23c3(_0x47dea0,_0x47578a){_0x47dea0=_0x47dea0-0x178;const _0x4d6a34=_0x4d6a();let _0x23c339=_0x4d6a34[_0x47dea0];return _0x23c339;}const _0x2f8c25=_0x23c3;function _0x4d6a(){const _0x9ebc01=['23310rsTYyN','退出全螢幕','設定檢視','水平對齊','1DiwXyP','86562DNvDUm','此表和其中的記錄將被刪除。','新增檢視','刪除此檢視?','表\x20{0}','字型顏色','6kFLDtv','檢視設定','1168614IdweUQ','靠右對齊','4130720ckmaTP','垂直置中','合併儲存格','重設縮放','字型大小','刪除檢視','靠下對齊','重置顏色','此檢視將被刪除。','垂直對齊','邊框粗細','投影片縮圖','複製格式','上一頁','刪除此表?','刪除嵌入區塊','291564sPQuNV','3129364ioHQLm','1599896DNRrpH','{0}\x20副本'];_0x4d6a=function(){return _0x9ebc01;};return _0x4d6a();}(function(_0x2ad76c,_0x438919){const _0xbed124=_0x23c3,_0x2ed4c9=_0x2ad76c();while(!![]){try{const _0x4d42e8=-parseInt(_0xbed124(0x196))/0x1*(parseInt(_0xbed124(0x197))/0x2)+-parseInt(_0xbed124(0x18e))/0x3+-parseInt(_0xbed124(0x190))/0x4+-parseInt(_0xbed124(0x192))/0x5+-parseInt(_0xbed124(0x17a))/0x6*(-parseInt(_0xbed124(0x18f))/0x7)+parseInt(_0xbed124(0x17e))/0x8+-parseInt(_0xbed124(0x17c))/0x9;if(_0x4d42e8===_0x438919)break;else _0x2ed4c9['push'](_0x2ed4c9['shift']());}catch(_0x521a82){_0x2ed4c9['push'](_0x2ed4c9['shift']());}}}(_0x4d6a,0x466b9));const e={'embed-ui':{'deleteBlock':_0x2f8c25(0x18d),'fullscreen':{'enter':'進入全螢幕','exit':_0x2f8c25(0x193)},'slidesFloating':{'previousSlide':_0x2f8c25(0x18b),'nextSlide':'下一張投影片','selectSlide':_0x2f8c25(0x189)},'boardsFloating':{'fitContent':'適應內容','zoomOut':'縮小','resetZoom':_0x2f8c25(0x181),'zoomIn':'放大','delete':'刪除'},'basesFloating':{'copySuffix':'副本','delete':'刪除','confirmDelete':{'viewTitle':_0x2f8c25(0x19a),'viewDescription':_0x2f8c25(0x186),'tableTitle':_0x2f8c25(0x18c),'tableDescription':_0x2f8c25(0x198)},'tableSidebar':{'defaultTableName':_0x2f8c25(0x178)},'duplicateTable':{'copyName':_0x2f8c25(0x191)},'viewSettings':{'title':_0x2f8c25(0x17b),'addView':_0x2f8c25(0x199),'configureView':_0x2f8c25(0x194),'deleteView':_0x2f8c25(0x183)}},'sheetsFloating':{'toolbar':{'formatPainter':_0x2f8c25(0x18a),'font':'字型','fontSize':_0x2f8c25(0x182),'numberFormat':'數字格式','bold':'粗體','filter':'篩選','resetColor':_0x2f8c25(0x185),'textColor':{'main':_0x2f8c25(0x179)},'fillColor':{'main':'填滿色彩'},'border':{'main':'邊框'},'mergeCell':{'main':_0x2f8c25(0x180)},'horizontalAlignMode':{'main':_0x2f8c25(0x195)},'verticalAlignMode':{'main':_0x2f8c25(0x187)},'textWrapMode':{'main':'自動換行'}},'align':{'left':'靠左對齊','center':'置中','right':_0x2f8c25(0x17d),'top':'靠上對齊','middle':_0x2f8c25(0x17f),'bottom':_0x2f8c25(0x184)},'borderLine':{'borderColor':'邊框顏色','borderSize':_0x2f8c25(0x188)},'textWrap':{'overflow':'溢出','wrap':'自動換行','clip':'截斷'}}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4566ff=_0x7449;(function(_0x52d12c,_0x128675){const _0x315dc4=_0x7449,_0x348a9d=_0x52d12c();while(!![]){try{const _0x578737=-parseInt(_0x315dc4(0x1ad))/0x1+parseInt(_0x315dc4(0x1ba))/0x2*(-parseInt(_0x315dc4(0x1ce))/0x3)+-parseInt(_0x315dc4(0x1b7))/0x4*(-parseInt(_0x315dc4(0x1cb))/0x5)+-parseInt(_0x315dc4(0x1b4))/0x6*(parseInt(_0x315dc4(0x1af))/0x7)+parseInt(_0x315dc4(0x1b3))/0x8*(-parseInt(_0x315dc4(0x1bd))/0x9)+parseInt(_0x315dc4(0x1c7))/0xa*(parseInt(_0x315dc4(0x1c6))/0xb)+-parseInt(_0x315dc4(0x1c3))/0xc*(-parseInt(_0x315dc4(0x1b0))/0xd);if(_0x578737===_0x128675)break;else _0x348a9d['push'](_0x348a9d['shift']());}catch(_0x36cb39){_0x348a9d['push'](_0x348a9d['shift']());}}}(_0x40aa,0xa1859));function _0x7449(_0x18c4a,_0x3b1155){_0x18c4a=_0x18c4a-0x1ad;const _0x40aa5a=_0x40aa();let _0x7449f3=_0x40aa5a[_0x18c4a];return _0x7449f3;}function _0x40aa(){const _0x115142=['{0}\x20副本','5504856BuGcZu','簡報縮圖','適應內容','7263960oofEsy','20rcbGzi','刪除嵌入區塊','填滿色彩','邊框顏色','6945lyuBsO','垂直置中','新增檢視','24PlJEco','靠下對齊','合併儲存格','刪除此檢視?','設定檢視','重置顏色','表\x20{0}','檢視設定','1257379suXgKe','重設縮放','3009461EgVUdi','39fXFjcx','進入全螢幕','下一張投影片','8TjNuji','6LMdPSc','靠左對齊','刪除檢視','3208bBrvAM','複製格式','字型顏色','140542Ityfgf','靠右對齊','退出全螢幕','8098641dPWtHK','此表和其中的記錄將被刪除。','垂直對齊','上一頁','此檢視將被刪除。'];_0x40aa=function(){return _0x115142;};return _0x40aa();}const e={'embed-ui':{'deleteBlock':_0x4566ff(0x1c8),'fullscreen':{'enter':_0x4566ff(0x1b1),'exit':_0x4566ff(0x1bc)},'slidesFloating':{'previousSlide':_0x4566ff(0x1c0),'nextSlide':_0x4566ff(0x1b2),'selectSlide':_0x4566ff(0x1c4)},'boardsFloating':{'fitContent':_0x4566ff(0x1c5),'zoomOut':'縮小','resetZoom':_0x4566ff(0x1ae),'zoomIn':'放大','delete':'刪除'},'basesFloating':{'copySuffix':'副本','delete':'刪除','confirmDelete':{'viewTitle':_0x4566ff(0x1d1),'viewDescription':_0x4566ff(0x1c1),'tableTitle':'刪除此表?','tableDescription':_0x4566ff(0x1be)},'tableSidebar':{'defaultTableName':_0x4566ff(0x1d4)},'duplicateTable':{'copyName':_0x4566ff(0x1c2)},'viewSettings':{'title':_0x4566ff(0x1d5),'addView':_0x4566ff(0x1cd),'configureView':_0x4566ff(0x1d2),'deleteView':_0x4566ff(0x1b6)}},'sheetsFloating':{'toolbar':{'formatPainter':_0x4566ff(0x1b8),'font':'字型','fontSize':'字型大小','numberFormat':'數字格式','bold':'粗體','filter':'篩選','resetColor':_0x4566ff(0x1d3),'textColor':{'main':_0x4566ff(0x1b9)},'fillColor':{'main':_0x4566ff(0x1c9)},'border':{'main':'邊框'},'mergeCell':{'main':_0x4566ff(0x1d0)},'horizontalAlignMode':{'main':'水平對齊'},'verticalAlignMode':{'main':_0x4566ff(0x1bf)},'textWrapMode':{'main':'自動換行'}},'align':{'left':_0x4566ff(0x1b5),'center':'置中','right':_0x4566ff(0x1bb),'top':'靠上對齊','middle':_0x4566ff(0x1cc),'bottom':_0x4566ff(0x1cf)},'borderLine':{'borderColor':_0x4566ff(0x1ca),'borderSize':'邊框粗細'},'textWrap':{'overflow':'溢出','wrap':'自動換行','clip':'截斷'}}}};export{e as default};
|
|
@@ -2,15 +2,15 @@ import type { BaseEmbedRuntimeRegistryService, IUniverBaseUIConfig } from '@univ
|
|
|
2
2
|
import type { EmbedDisplayTarget, IEmbedBaseDisplayTarget } from '@univerjs-pro/embed';
|
|
3
3
|
import type { BaseDataModel, Injector } from '@univerjs/core';
|
|
4
4
|
import type { IEmbedChildContainerContext, IEmbedChildViewContribution } from '../../types/embed-ui';
|
|
5
|
-
import { BaseEditorService, BaseUIPopupService,
|
|
5
|
+
import { BaseEditorService, BaseUIPopupService, IBaseUIPopupService, IBaseUIStateService, IBaseViewWheelScrollService } from '@univerjs-pro/bases-ui';
|
|
6
6
|
import { ICommandService } from '@univerjs/core';
|
|
7
7
|
export type BaseEmbedChromeMode = 'workbench' | 'content-only' | 'fullscreen';
|
|
8
8
|
export declare function createBasesEmbedChildViewContribution(commandService: ICommandService, runtimeRegistry: BaseEmbedRuntimeRegistryService): IEmbedChildViewContribution;
|
|
9
9
|
export declare function isBaseCanvasRootReady(canvasRoot: HTMLElement | null): canvasRoot is HTMLElement;
|
|
10
10
|
export declare function shouldActivateBasesEmbedRender(_context: Pick<IEmbedChildContainerContext, 'renderScope'>): boolean;
|
|
11
|
-
export declare function createBasesEmbedChildUnitScopedInjector(context: IEmbedChildContainerContext, baseStateService:
|
|
12
|
-
export declare function initializeBasesEmbedState(stateService:
|
|
11
|
+
export declare function createBasesEmbedChildUnitScopedInjector(context: IEmbedChildContainerContext, baseStateService: IBaseUIStateService, basePopupService: IBaseUIPopupService, baseEditorService: BaseEditorService): Injector | undefined;
|
|
12
|
+
export declare function initializeBasesEmbedState(stateService: IBaseUIStateService, childUnit: BaseDataModel, chromeMode?: BaseEmbedChromeMode, displayTarget?: EmbedDisplayTarget, dashboardIds?: ReadonlySet<string>): void;
|
|
13
13
|
export declare function resolveBasesDisplayTarget(childUnit: BaseDataModel, displayTarget?: EmbedDisplayTarget, dashboardIds?: ReadonlySet<string>): IEmbedBaseDisplayTarget;
|
|
14
14
|
export declare function resolveBasesEmbedChromeMode(context: Pick<IEmbedChildContainerContext, 'renderScope'>): BaseEmbedChromeMode;
|
|
15
|
-
export declare function createBasesEmbedScopedInjector(childScopedInjector: Injector, baseStateService:
|
|
15
|
+
export declare function createBasesEmbedScopedInjector(childScopedInjector: Injector, baseStateService: IBaseUIStateService, basePopupService?: BaseUIPopupService, baseEditorService?: BaseEditorService, chromeMode?: BaseEmbedChromeMode, baseWheelScrollService?: IBaseViewWheelScrollService, readOnly?: boolean, globalPortalContainer?: HTMLElement | null): Injector;
|
|
16
16
|
export declare function resolveEmbeddedBaseUIConfig(baseConfig: IUniverBaseUIConfig, chromeMode?: BaseEmbedChromeMode): IUniverBaseUIConfig;
|