@univerjs/docs-ui 0.17.0 → 0.18.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/facade.js +1 -1
- package/lib/cjs/index.js +53 -19
- package/lib/cjs/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.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-TW.js +1 -1
- package/lib/es/facade.js +1 -105
- package/lib/es/index.js +53 -13499
- package/lib/es/locale/ca-ES.js +1 -125
- package/lib/es/locale/en-US.js +1 -125
- package/lib/es/locale/es-ES.js +1 -125
- package/lib/es/locale/fa-IR.js +1 -125
- package/lib/es/locale/fr-FR.js +1 -125
- package/lib/es/locale/ja-JP.js +1 -125
- package/lib/es/locale/ko-KR.js +1 -125
- package/lib/es/locale/ru-RU.js +1 -125
- package/lib/es/locale/sk-SK.js +1 -125
- package/lib/es/locale/vi-VN.js +1 -125
- package/lib/es/locale/zh-CN.js +1 -125
- package/lib/es/locale/zh-TW.js +1 -125
- package/lib/facade.js +1 -105
- package/lib/index.css +478 -1
- package/lib/index.js +53 -13499
- package/lib/locale/ca-ES.js +1 -125
- package/lib/locale/en-US.js +1 -125
- package/lib/locale/es-ES.js +1 -125
- package/lib/locale/fa-IR.js +1 -125
- package/lib/locale/fr-FR.js +1 -125
- package/lib/locale/ja-JP.js +1 -125
- package/lib/locale/ko-KR.js +1 -125
- package/lib/locale/ru-RU.js +1 -125
- package/lib/locale/sk-SK.js +1 -125
- package/lib/locale/vi-VN.js +1 -125
- package/lib/locale/zh-CN.js +1 -125
- package/lib/locale/zh-TW.js +1 -125
- package/lib/types/basics/component-tools.d.ts +17 -2
- package/lib/types/basics/custom-decoration-factory.d.ts +18 -3
- package/lib/types/basics/paragraph.d.ts +16 -1
- package/lib/types/basics/selection.d.ts +16 -1
- package/lib/types/basics/table.d.ts +17 -2
- package/lib/types/basics/transform-position.d.ts +16 -1
- package/lib/types/commands/commands/auto-format.command.d.ts +16 -1
- package/lib/types/commands/commands/break-line.command.d.ts +16 -1
- package/lib/types/commands/commands/clipboard.command.d.ts +17 -1
- package/lib/types/commands/commands/clipboard.inner.command.d.ts +17 -2
- package/lib/types/commands/commands/core-editing.command.d.ts +17 -2
- package/lib/types/commands/commands/doc-delete.command.d.ts +17 -2
- package/lib/types/commands/commands/doc-header-footer.command.d.ts +17 -1
- package/lib/types/commands/commands/doc-horizontal-line.command.d.ts +16 -1
- package/lib/types/commands/commands/doc-page-setup.command.d.ts +16 -1
- package/lib/types/commands/commands/doc-paragraph-setting.command.d.ts +16 -1
- package/lib/types/commands/commands/doc-select-all.command.d.ts +16 -1
- package/lib/types/commands/commands/ime-input.command.d.ts +16 -1
- package/lib/types/commands/commands/inline-format.command.d.ts +17 -2
- package/lib/types/commands/commands/insert-below/insert-bullet-below.command.d.ts +16 -1
- package/lib/types/commands/commands/insert-custom-range.command.d.ts +17 -2
- package/lib/types/commands/commands/list.command.d.ts +18 -2
- package/lib/types/commands/commands/paragraph-align.command.d.ts +17 -1
- package/lib/types/commands/commands/replace-content.command.d.ts +17 -2
- package/lib/types/commands/commands/set-doc-zoom-ratio.command.d.ts +16 -1
- package/lib/types/commands/commands/set-heading.command.d.ts +17 -1
- package/lib/types/commands/commands/switch-doc-mode.command.d.ts +16 -1
- package/lib/types/commands/commands/table/doc-table-create.command.d.ts +16 -1
- package/lib/types/commands/commands/table/doc-table-delete.command.d.ts +16 -1
- package/lib/types/commands/commands/table/doc-table-insert.command.d.ts +16 -1
- package/lib/types/commands/commands/table/doc-table-tab.command.d.ts +16 -1
- package/lib/types/commands/commands/table/table.d.ts +17 -2
- package/lib/types/commands/commands/util.d.ts +17 -2
- package/lib/types/commands/operations/doc-create-table.operation.d.ts +16 -1
- package/lib/types/commands/operations/doc-cursor.operation.d.ts +16 -1
- package/lib/types/commands/operations/doc-header-footer-panel.operation.d.ts +16 -1
- package/lib/types/commands/operations/doc-paragraph-setting-panel.operation.d.ts +16 -1
- package/lib/types/commands/operations/open-page-setting.operation.d.ts +16 -1
- package/lib/types/commands/operations/set-doc-zoom-ratio.operation.d.ts +16 -1
- package/lib/types/commands/util.d.ts +16 -1
- package/lib/types/components/editor/utils.d.ts +16 -1
- package/lib/types/components/float-toolbar/FloatToolbar.stories.d.ts +16 -1
- package/lib/types/components/list-type-picker/picker.d.ts +15 -0
- package/lib/types/components/paragraph-menu/index.d.ts +16 -1
- package/lib/types/components/side-menu/SideMenu.stories.d.ts +16 -1
- package/lib/types/components/side-menu/index.d.ts +1 -1
- package/lib/types/config/config.d.ts +19 -4
- package/lib/types/controllers/doc-auto-format.controller.d.ts +15 -0
- package/lib/types/controllers/doc-header-footer.controller.d.ts +19 -2
- package/lib/types/controllers/doc-move-cursor.controller.d.ts +15 -0
- package/lib/types/controllers/doc-paragraph-setting.controller.d.ts +15 -0
- package/lib/types/controllers/doc-table.controller.d.ts +15 -0
- package/lib/types/controllers/doc-ui.controller.d.ts +15 -0
- package/lib/types/controllers/render-controllers/back-scroll.render-controller.d.ts +18 -2
- package/lib/types/controllers/render-controllers/doc-checklist.render-controller.d.ts +18 -2
- package/lib/types/controllers/render-controllers/doc-clipboard.controller.d.ts +18 -2
- package/lib/types/controllers/render-controllers/doc-contextmenu.render-controller.d.ts +18 -2
- package/lib/types/controllers/render-controllers/doc-editor-bridge.controller.d.ts +19 -2
- package/lib/types/controllers/render-controllers/doc-ime-input.controller.d.ts +18 -2
- package/lib/types/controllers/render-controllers/doc-input.controller.d.ts +18 -2
- package/lib/types/controllers/render-controllers/doc-resize.render-controller.d.ts +16 -1
- package/lib/types/controllers/render-controllers/doc-selection-render.controller.d.ts +18 -2
- package/lib/types/controllers/render-controllers/doc.render-controller.d.ts +19 -2
- package/lib/types/controllers/render-controllers/zoom.render-controller.d.ts +19 -2
- package/lib/types/facade/f-document.d.ts +17 -1
- package/lib/types/facade/f-univer.d.ts +16 -1
- package/lib/types/index.d.ts +0 -1
- package/lib/types/locale/ca-ES.d.ts +16 -1
- package/lib/types/locale/es-ES.d.ts +16 -1
- package/lib/types/locale/fa-IR.d.ts +16 -1
- package/lib/types/locale/fr-FR.d.ts +16 -1
- package/lib/types/locale/ja-JP.d.ts +16 -1
- package/lib/types/locale/ko-KR.d.ts +16 -1
- package/lib/types/locale/ru-RU.d.ts +16 -1
- package/lib/types/locale/sk-SK.d.ts +16 -1
- package/lib/types/locale/vi-VN.d.ts +16 -1
- package/lib/types/locale/zh-CN.d.ts +16 -1
- package/lib/types/locale/zh-TW.d.ts +16 -1
- package/lib/types/menu/context-menu.d.ts +17 -2
- package/lib/types/menu/menu.d.ts +18 -3
- package/lib/types/menu/paragraph-menu.d.ts +18 -2
- package/lib/types/menu/schema.d.ts +16 -1
- package/lib/types/plugin.d.ts +16 -2
- package/lib/types/services/clipboard/clipboard.service.d.ts +19 -3
- package/lib/types/services/clipboard/copy-content-cache.d.ts +16 -1
- package/lib/types/services/clipboard/html-to-udm/converter.d.ts +17 -2
- package/lib/types/services/clipboard/html-to-udm/parse-node-style.d.ts +16 -1
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-lark.d.ts +16 -1
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-univer.d.ts +16 -1
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/plugin-word.d.ts +16 -1
- package/lib/types/services/clipboard/html-to-udm/paste-plugins/type.d.ts +16 -1
- package/lib/types/services/clipboard/html-to-udm/utils.d.ts +16 -1
- package/lib/types/services/clipboard/udm-to-html/convertor.d.ts +16 -1
- package/lib/types/services/doc-auto-format.service.d.ts +18 -2
- package/lib/types/services/doc-event-manager.service.d.ts +30 -14
- package/lib/types/services/doc-ime-input-manager.service.d.ts +19 -3
- package/lib/types/services/doc-menu-style.service.d.ts +17 -1
- package/lib/types/services/doc-page-layout.service.d.ts +18 -2
- package/lib/types/services/doc-paragraph-menu.service.d.ts +20 -3
- package/lib/types/services/doc-popup-manager.service.d.ts +21 -3
- package/lib/types/services/doc-print-interceptor-service.d.ts +20 -4
- package/lib/types/services/doc-state-change-manager.service.d.ts +20 -3
- package/lib/types/services/docs-render.service.d.ts +15 -0
- package/lib/types/services/editor/editor-manager.service.d.ts +23 -5
- package/lib/types/services/editor/editor.d.ts +24 -7
- package/lib/types/services/float-menu.service.d.ts +18 -2
- package/lib/types/services/selection/convert-rect-range.d.ts +17 -2
- package/lib/types/services/selection/convert-text-range.d.ts +17 -2
- package/lib/types/services/selection/doc-selection-render.service.d.ts +33 -17
- package/lib/types/services/selection/range-interface.d.ts +17 -2
- package/lib/types/services/selection/rect-range.d.ts +19 -3
- package/lib/types/services/selection/selection-utils.d.ts +33 -3
- package/lib/types/services/selection/text-range.d.ts +21 -4
- package/lib/types/shortcuts/core-editing.shortcut.d.ts +16 -1
- package/lib/types/shortcuts/cursor.shortcut.d.ts +16 -1
- package/lib/types/shortcuts/format.shortcut.d.ts +16 -1
- package/lib/types/shortcuts/toolbar.shortcut.d.ts +16 -1
- package/lib/types/shortcuts/utils.d.ts +16 -1
- package/lib/types/views/doc-footer/DocFooter.d.ts +1 -1
- package/lib/types/views/header-footer/text-bubble.d.ts +17 -1
- package/lib/types/views/page-settings/index.d.ts +16 -1
- package/lib/types/views/paragraph-setting/hook/utils.d.ts +18 -2
- package/lib/types/views/rich-text-editor/hooks/use-editor.d.ts +18 -3
- package/lib/types/views/rich-text-editor/hooks/use-keyboard-event.d.ts +17 -2
- package/lib/types/views/rich-text-editor/hooks/use-left-and-right-arrow.d.ts +16 -1
- package/lib/types/views/rich-text-editor/hooks/use-on-change.d.ts +17 -2
- package/lib/types/views/rich-text-editor/hooks/use-resize.d.ts +16 -1
- package/lib/types/views/rich-text-editor/index.d.ts +19 -4
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +53 -19
- package/lib/umd/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.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-TW.js +1 -1
- package/package.json +13 -12
- package/lib/types/basics/const/default-univer-doc-config.d.ts +0 -45
- package/lib/types/basics/const/index.d.ts +0 -17
- package/lib/types/basics/const/plugin-name.d.ts +0 -16
- package/lib/types/basics/index.d.ts +0 -17
- package/lib/types/basics/interfaces/component-config/i-doc-ui-plugin-config.d.ts +0 -59
- package/lib/types/basics/interfaces/component-config/index.d.ts +0 -16
- package/lib/types/basics/interfaces/index.d.ts +0 -16
- package/lib/types/controllers/app-ui-controller.d.ts +0 -6
- package/lib/types/controllers/doc-container-ui-controller.d.ts +0 -28
- package/lib/types/controllers/index.d.ts +0 -17
- package/lib/types/services/clipboard/__test__/html-and-udm-convert.spec.d.ts +0 -16
- package/lib/types/services/clipboard/udm-to-html/__test__/convertor.spec.d.ts +0 -16
- package/lib/types/views/doc-container/DocContainer.d.ts +0 -57
|
@@ -1,12 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 { DependencyOverride } from '@univerjs/core';
|
|
17
|
+
import type { MenuConfig } from '@univerjs/ui';
|
|
4
18
|
export declare const DOCS_UI_PLUGIN_CONFIG_KEY = "docs-ui.config";
|
|
5
19
|
export declare const configSymbol: unique symbol;
|
|
6
20
|
export interface IUniverDocsUIConfig {
|
|
7
21
|
menu?: MenuConfig;
|
|
8
22
|
container?: HTMLElement | string;
|
|
9
|
-
|
|
23
|
+
toc?: boolean;
|
|
24
|
+
footer?: boolean;
|
|
10
25
|
override?: DependencyOverride;
|
|
11
26
|
}
|
|
12
27
|
export declare const defaultPluginConfig: IUniverDocsUIConfig;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
16
|
import { Disposable } from '@univerjs/core';
|
|
2
17
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
18
|
import { DocAutoFormatService } from '../services/doc-auto-format.service';
|
|
@@ -1,6 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { DocumentDataModel } from '@univerjs/core';
|
|
17
|
+
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { Disposable, ICommandService, IUniverInstanceService, LocaleService } from '@univerjs/core';
|
|
3
19
|
import { DocSkeletonManagerService } from '@univerjs/docs';
|
|
20
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
21
|
import { ComponentManager } from '@univerjs/ui';
|
|
5
22
|
import { IEditorService } from '../services/editor/editor-manager.service';
|
|
6
23
|
import { DocSelectionRenderService } from '../services/selection/doc-selection-render.service';
|
|
@@ -1,3 +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
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { DocSelectionManagerService } from '@univerjs/docs';
|
|
3
18
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
@@ -1,3 +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
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
2
17
|
import { ComponentManager, ISidebarService } from '@univerjs/ui';
|
|
3
18
|
export declare class DocParagraphSettingController extends Disposable {
|
|
@@ -1,3 +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
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService } from '@univerjs/core';
|
|
2
17
|
import { ComponentManager } from '@univerjs/ui';
|
|
3
18
|
export declare class DocTableController extends Disposable {
|
|
@@ -1,3 +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
|
+
*/
|
|
1
16
|
import { Disposable, ICommandService, IConfigService, Injector, IUniverInstanceService } from '@univerjs/core';
|
|
2
17
|
import { ComponentManager, ILayoutService, IMenuManagerService, IShortcutService, IUIPartsService } from '@univerjs/ui';
|
|
3
18
|
export declare class DocUIController extends Disposable {
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { DocumentDataModel, ITextRange, Nullable } from '@univerjs/core';
|
|
17
|
+
import type { INodePosition, IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { RxDisposable } from '@univerjs/core';
|
|
3
19
|
import { DocSelectionManagerService, DocSkeletonManagerService } from '@univerjs/docs';
|
|
4
20
|
import { IEditorService } from '../../services/editor/editor-manager.service';
|
|
5
21
|
export declare class DocBackScrollRenderController extends RxDisposable implements IRenderModule {
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { DocumentDataModel } from '@univerjs/core';
|
|
17
|
+
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { Disposable, ICommandService } from '@univerjs/core';
|
|
3
19
|
import { DocSelectionManagerService, DocSkeletonManagerService } from '@univerjs/docs';
|
|
4
20
|
import { DocEventManagerService } from '../../services/doc-event-manager.service';
|
|
5
21
|
export declare class DocChecklistRenderController extends Disposable implements IRenderModule {
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { DocumentDataModel } from '@univerjs/core';
|
|
17
|
+
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { ICommandService, IContextService, RxDisposable } from '@univerjs/core';
|
|
3
19
|
import { IDocClipboardService } from '../../services/clipboard/clipboard.service';
|
|
4
20
|
import { IEditorService } from '../../services/editor/editor-manager.service';
|
|
5
21
|
import { DocSelectionRenderService } from '../../services/selection/doc-selection-render.service';
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { Workbook } from '@univerjs/core';
|
|
17
|
+
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { Disposable, ICommandService } from '@univerjs/core';
|
|
3
19
|
import { IContextMenuService } from '@univerjs/ui';
|
|
4
20
|
/**
|
|
5
21
|
* This controller subscribe to context menu events in sheet rendering views and invoke context menu at a correct
|
|
@@ -1,6 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { DocumentDataModel } from '@univerjs/core';
|
|
17
|
+
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
3
19
|
import { DocSkeletonManagerService } from '@univerjs/docs';
|
|
20
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
21
|
import { IEditorService } from '../../services/editor/editor-manager.service';
|
|
5
22
|
import { DocSelectionRenderService } from '../../services/selection/doc-selection-render.service';
|
|
6
23
|
export declare class DocEditorBridgeController extends Disposable implements IRenderModule {
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { DocumentDataModel } from '@univerjs/core';
|
|
17
|
+
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { Disposable, ICommandService } from '@univerjs/core';
|
|
3
19
|
import { DocSkeletonManagerService } from '@univerjs/docs';
|
|
4
20
|
import { DocIMEInputManagerService } from '../../services/doc-ime-input-manager.service';
|
|
5
21
|
import { DocSelectionRenderService } from '../../services/selection/doc-selection-render.service';
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { DocumentDataModel } from '@univerjs/core';
|
|
17
|
+
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { Disposable, ICommandService } from '@univerjs/core';
|
|
3
19
|
import { DocSkeletonManagerService } from '@univerjs/docs';
|
|
4
20
|
import { DocMenuStyleService } from '../../services/doc-menu-style.service';
|
|
5
21
|
import { DocSelectionRenderService } from '../../services/selection/doc-selection-render.service';
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
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 { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
2
17
|
import { Disposable } from '@univerjs/core';
|
|
3
18
|
import { DocSelectionManagerService } from '@univerjs/docs';
|
|
4
19
|
import { DocPageLayoutService } from '../../services/doc-page-layout.service';
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { DocumentDataModel } from '@univerjs/core';
|
|
17
|
+
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { Disposable, ICommandService, IUniverInstanceService } from '@univerjs/core';
|
|
3
19
|
import { DocSelectionManagerService, DocSkeletonManagerService } from '@univerjs/docs';
|
|
4
20
|
import { IEditorService } from '../../services/editor/editor-manager.service';
|
|
5
21
|
import { DocSelectionRenderService } from '../../services/selection/doc-selection-render.service';
|
|
@@ -1,6 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { DocumentDataModel } from '@univerjs/core';
|
|
17
|
+
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { ICommandService, IUniverInstanceService, RxDisposable } from '@univerjs/core';
|
|
3
19
|
import { DocSkeletonManagerService } from '@univerjs/docs';
|
|
20
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
21
|
import { IEditorService } from '../../services/editor/editor-manager.service';
|
|
5
22
|
import { DocSelectionRenderService } from '../../services/selection/doc-selection-render.service';
|
|
6
23
|
export declare class DocRenderController extends RxDisposable implements IRenderModule {
|
|
@@ -1,6 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { DocumentDataModel } from '@univerjs/core';
|
|
17
|
+
import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
|
|
18
|
+
import { Disposable, ICommandService, IContextService, IUniverInstanceService } from '@univerjs/core';
|
|
3
19
|
import { DocSelectionManagerService, DocSkeletonManagerService } from '@univerjs/docs';
|
|
20
|
+
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
4
21
|
import { DocPageLayoutService } from '../../services/doc-page-layout.service';
|
|
5
22
|
import { IEditorService } from '../../services/editor/editor-manager.service';
|
|
6
23
|
export declare class DocZoomRenderController extends Disposable implements IRenderModule {
|
|
@@ -1,4 +1,20 @@
|
|
|
1
|
-
|
|
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 { DocumentDataModel, IDocumentData } from '@univerjs/core';
|
|
17
|
+
import { ICommandService, Injector, IResourceManagerService, IUniverInstanceService } from '@univerjs/core';
|
|
2
18
|
import { IRenderManagerService } from '@univerjs/engine-render';
|
|
3
19
|
/**
|
|
4
20
|
* @hideconstructor
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
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 { IDocumentData } from '@univerjs/core';
|
|
2
17
|
import { FUniver } from '@univerjs/core/facade';
|
|
3
18
|
import { FDocument } from './f-document';
|
|
4
19
|
/**
|
package/lib/types/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import './global.css';
|
|
17
|
-
export * from './basics';
|
|
18
17
|
export type { IDocObjectParam } from './basics/component-tools';
|
|
19
18
|
export { getDocObject, getDocObjectById, neoGetDocObject } from './basics/component-tools';
|
|
20
19
|
export { addCustomDecorationBySelectionFactory, addCustomDecorationFactory, deleteCustomDecorationFactory } from './basics/custom-decoration-factory';
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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 enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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 enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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 enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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 enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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 enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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 enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|
|
@@ -1,3 +1,18 @@
|
|
|
1
|
-
|
|
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 enUS from './en-US';
|
|
2
17
|
declare const locale: typeof enUS;
|
|
3
18
|
export default locale;
|