@univerjs/sheets-ui 1.0.0 → 1.0.2
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/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +14 -14
- package/lib/types/components/border-panel/BorderPanel.d.ts +0 -17
- package/lib/types/components/border-panel/border-line/BorderLine.d.ts +0 -22
- package/lib/types/components/border-panel/border-line/icons/BorderDashDot.d.ts +0 -18
- package/lib/types/components/border-panel/border-line/icons/BorderDashDotDot.d.ts +0 -18
- package/lib/types/components/border-panel/border-line/icons/BorderDashed.d.ts +0 -18
- package/lib/types/components/border-panel/border-line/icons/BorderDotted.d.ts +0 -18
- package/lib/types/components/border-panel/border-line/icons/BorderDouble.d.ts +0 -18
- package/lib/types/components/border-panel/border-line/icons/BorderHair.d.ts +0 -18
- package/lib/types/components/border-panel/border-line/icons/BorderMedium.d.ts +0 -18
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDot.d.ts +0 -18
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts +0 -18
- package/lib/types/components/border-panel/border-line/icons/BorderMediumDashed.d.ts +0 -18
- package/lib/types/components/border-panel/border-line/icons/BorderThick.d.ts +0 -18
- package/lib/types/components/border-panel/border-line/icons/BorderThin.d.ts +0 -18
- package/lib/types/components/border-panel/interface.d.ts +0 -25
- package/lib/types/components/const.d.ts +0 -16
- package/lib/types/components/hook.d.ts +0 -21
- package/lib/types/components/menu-item-frozen/MenuItemFrozen.d.ts +0 -17
- package/lib/types/components/menu-item-frozen/index.d.ts +0 -17
- package/lib/types/components/menu-item-frozen/interface.d.ts +0 -20
- package/lib/types/components/menu-item-input/MenuItemInput.d.ts +0 -17
- package/lib/types/components/menu-item-input/index.d.ts +0 -17
- package/lib/types/components/menu-item-input/interface.d.ts +0 -25
- package/lib/types/controllers/cell-alert.controller.d.ts +0 -25
- package/lib/types/controllers/mobile/mobile-sheet-ui.controller.d.ts +0 -35
- package/lib/types/controllers/sheet-ui.controller.d.ts +0 -35
- package/lib/types/facade/f-sheet-hooks.d.ts +0 -125
- package/lib/types/facade/f-workbook-permission.d.ts +0 -39
- package/lib/types/menu/mobile-menu.d.ts +0 -16
- package/lib/types/services/sheet-loading-render.service.d.ts +0 -65
- package/lib/types/views/cell-popup/index.d.ts +0 -22
- package/lib/types/views/dropdown/cascader-dropdown/index.d.ts +0 -29
- package/lib/types/views/dropdown/color-dropdown/index.d.ts +0 -27
- package/lib/types/views/dropdown/date-dropdown/index.d.ts +0 -30
- package/lib/types/views/dropdown/list-dropdown/index.d.ts +0 -36
- package/lib/types/views/permission/error-msg-dialog/index.d.ts +0 -18
- package/lib/types/views/permission/panel/index.d.ts +0 -24
- package/lib/types/views/permission/panel-list/index.d.ts +0 -16
- package/lib/types/views/permission/permission-dialog/index.d.ts +0 -16
- package/lib/types/views/permission/spin/index.d.ts +0 -22
- package/lib/types/views/permission/user-dialog/index.d.ts +0 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs/sheets-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Spreadsheet UI layer for Univer Sheets.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -68,21 +68,21 @@
|
|
|
68
68
|
"rxjs": ">=7.0.0"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@univerjs/core": "1.0.
|
|
72
|
-
"@univerjs/design": "1.0.
|
|
73
|
-
"@univerjs/docs": "1.0.
|
|
74
|
-
"@univerjs/docs-ui": "1.0.
|
|
75
|
-
"@univerjs/engine-formula": "1.0.
|
|
76
|
-
"@univerjs/engine-render": "1.0.
|
|
77
|
-
"@univerjs/icons": "1.43.
|
|
78
|
-
"@univerjs/protocol": "1.0.
|
|
79
|
-
"@univerjs/sheets": "1.0.
|
|
80
|
-
"@univerjs/telemetry": "1.0.
|
|
81
|
-
"@univerjs/ui": "1.0.
|
|
71
|
+
"@univerjs/core": "1.0.2",
|
|
72
|
+
"@univerjs/design": "1.0.2",
|
|
73
|
+
"@univerjs/docs": "1.0.2",
|
|
74
|
+
"@univerjs/docs-ui": "1.0.2",
|
|
75
|
+
"@univerjs/engine-formula": "1.0.2",
|
|
76
|
+
"@univerjs/engine-render": "1.0.2",
|
|
77
|
+
"@univerjs/icons": "1.43.1",
|
|
78
|
+
"@univerjs/protocol": "1.0.2",
|
|
79
|
+
"@univerjs/sheets": "1.0.2",
|
|
80
|
+
"@univerjs/telemetry": "1.0.2",
|
|
81
|
+
"@univerjs/ui": "1.0.2"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@univerjs-infra/shared": "1.0.
|
|
85
|
-
"@univerjs/themes": "1.0.
|
|
84
|
+
"@univerjs-infra/shared": "1.0.2",
|
|
85
|
+
"@univerjs/themes": "1.0.2",
|
|
86
86
|
"postcss": "^8.5.28",
|
|
87
87
|
"react": "18.3.1",
|
|
88
88
|
"rxjs": "^7.8.2",
|
|
@@ -1,17 +0,0 @@
|
|
|
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 { IBorderPanelProps } from './interface';
|
|
17
|
-
export declare function BorderPanel(props: IBorderPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,22 +0,0 @@
|
|
|
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 { BorderStyleTypes } from '@univerjs/core';
|
|
17
|
-
interface IBorderLineProps {
|
|
18
|
-
className: string;
|
|
19
|
-
type: BorderStyleTypes;
|
|
20
|
-
}
|
|
21
|
-
export declare function BorderLine(props: IBorderLineProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
export declare const BorderDashDot: ({ className }: {
|
|
17
|
-
className: string;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
export declare const BorderDashDotDot: ({ className }: {
|
|
17
|
-
className: string;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
export declare const BorderDashed: ({ className }: {
|
|
17
|
-
className: string;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
export declare const BorderDotted: ({ className }: {
|
|
17
|
-
className: string;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
export declare const BorderDouble: ({ className }: {
|
|
17
|
-
className: string;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
export declare const BorderHair: ({ className }: {
|
|
17
|
-
className: string;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
export declare const BorderMedium: ({ className }: {
|
|
17
|
-
className: string;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
export declare const BorderMediumDashDot: ({ className }: {
|
|
17
|
-
className: string;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
export declare const BorderMediumDashDotDot: ({ className }: {
|
|
17
|
-
className: string;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
export declare const BorderMediumDashed: ({ className }: {
|
|
17
|
-
className: string;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
export declare const BorderThick: ({ className }: {
|
|
17
|
-
className: string;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
export declare const BorderThin: ({ className }: {
|
|
17
|
-
className: string;
|
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,25 +0,0 @@
|
|
|
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 { IBorderInfo } from '@univerjs/sheets';
|
|
17
|
-
import type { ICustomComponentProps } from '@univerjs/ui';
|
|
18
|
-
export declare const BORDER_PANEL_COMPONENT = "UI_PLUGIN_SHEETS_BORDER_PANEL_COMPONENT";
|
|
19
|
-
export interface IBorderPanelProps extends ICustomComponentProps<IBorderInfo> {
|
|
20
|
-
}
|
|
21
|
-
export declare const BORDER_LINE_CHILDREN: {
|
|
22
|
-
label: string;
|
|
23
|
-
icon: string;
|
|
24
|
-
value: string;
|
|
25
|
-
}[];
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
export declare const COMPONENT_PREFIX = "UI_PLUGIN_SHEETS";
|
|
@@ -1,21 +0,0 @@
|
|
|
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 { SheetSkeletonManagerService } from '../services/sheet-skeleton-manager.service';
|
|
18
|
-
export declare function useActiveWorkbook(): Workbook | null;
|
|
19
|
-
export declare function useActiveWorksheet(workbook?: Workbook | null): import("@univerjs/core").Nullable<import("@univerjs/core").Worksheet>;
|
|
20
|
-
export declare function useWorkbooks(): Workbook[];
|
|
21
|
-
export declare function useSheetSkeleton(): SheetSkeletonManagerService | null | undefined;
|
|
@@ -1,17 +0,0 @@
|
|
|
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 { IMenuItemFrozenProps } from './interface';
|
|
17
|
-
export declare const MenuItemFrozen: (props: IMenuItemFrozenProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
export { MENU_ITEM_FROZEN_COMPONENT } from './interface';
|
|
17
|
-
export { MenuItemFrozen } from './MenuItemFrozen';
|
|
@@ -1,20 +0,0 @@
|
|
|
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 { ICustomComponentProps } from '@univerjs/ui';
|
|
17
|
-
export declare const MENU_ITEM_FROZEN_COMPONENT = "UI_PLUGIN_SHEETS_MENU_ITEM_FROZEN_COMPONENT";
|
|
18
|
-
export interface IMenuItemFrozenProps extends ICustomComponentProps<string> {
|
|
19
|
-
type: 'row' | 'col' | 'all';
|
|
20
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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 { IMenuItemInputProps } from './interface';
|
|
17
|
-
export declare const MenuItemInput: (props: IMenuItemInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
export { MENU_ITEM_INPUT_COMPONENT } from './interface';
|
|
17
|
-
export { MenuItemInput } from './MenuItemInput';
|
|
@@ -1,25 +0,0 @@
|
|
|
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 { ICustomComponentProps } from '@univerjs/ui';
|
|
17
|
-
import type { Observable } from 'rxjs';
|
|
18
|
-
export declare const MENU_ITEM_INPUT_COMPONENT = "UI_PLUGIN_SHEETS_MENU_ITEM_INPUT_COMPONENT";
|
|
19
|
-
export interface IMenuItemInputProps extends ICustomComponentProps<string> {
|
|
20
|
-
prefix: string;
|
|
21
|
-
suffix: string;
|
|
22
|
-
min?: number;
|
|
23
|
-
max?: number;
|
|
24
|
-
disabled$?: Observable<boolean>;
|
|
25
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
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 } from '@univerjs/core';
|
|
19
|
-
import { ComponentManager } from '@univerjs/ui';
|
|
20
|
-
export declare class CellAlertRenderController extends Disposable implements IRenderModule {
|
|
21
|
-
private readonly _context;
|
|
22
|
-
private _componentManager;
|
|
23
|
-
constructor(_context: IRenderContext<Workbook>, _componentManager: ComponentManager);
|
|
24
|
-
private _initComponent;
|
|
25
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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 { Disposable, ICommandService, IConfigService, Injector } from '@univerjs/core';
|
|
17
|
-
import { ComponentManager, ILayoutService, IMenuManagerService, IShortcutService, IUIPartsService } from '@univerjs/ui';
|
|
18
|
-
export declare class SheetUIMobileController extends Disposable {
|
|
19
|
-
protected readonly _injector: Injector;
|
|
20
|
-
protected readonly _componentManager: ComponentManager;
|
|
21
|
-
protected readonly _layoutService: ILayoutService;
|
|
22
|
-
protected readonly _commandService: ICommandService;
|
|
23
|
-
protected readonly _shortcutService: IShortcutService;
|
|
24
|
-
protected readonly _menuManagerService: IMenuManagerService;
|
|
25
|
-
protected readonly _uiPartsService: IUIPartsService;
|
|
26
|
-
protected readonly _configService: IConfigService;
|
|
27
|
-
constructor(_injector: Injector, _componentManager: ComponentManager, _layoutService: ILayoutService, _commandService: ICommandService, _shortcutService: IShortcutService, _menuManagerService: IMenuManagerService, _uiPartsService: IUIPartsService, _configService: IConfigService);
|
|
28
|
-
private _init;
|
|
29
|
-
private _initComponents;
|
|
30
|
-
private _initCommands;
|
|
31
|
-
private _initMenus;
|
|
32
|
-
private _initShortcuts;
|
|
33
|
-
private _initWorkbenchParts;
|
|
34
|
-
private _initFocusHandler;
|
|
35
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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 { Disposable, ICommandService, IConfigService, Injector } from '@univerjs/core';
|
|
17
|
-
import { ComponentManager, ILayoutService, IMenuManagerService, IShortcutService, IUIPartsService } from '@univerjs/ui';
|
|
18
|
-
export declare class SheetUIController extends Disposable {
|
|
19
|
-
protected readonly _injector: Injector;
|
|
20
|
-
protected readonly _componentManager: ComponentManager;
|
|
21
|
-
protected readonly _layoutService: ILayoutService;
|
|
22
|
-
protected readonly _commandService: ICommandService;
|
|
23
|
-
protected readonly _shortcutService: IShortcutService;
|
|
24
|
-
protected readonly _menuManagerService: IMenuManagerService;
|
|
25
|
-
protected readonly _uiPartsService: IUIPartsService;
|
|
26
|
-
protected readonly _configService: IConfigService;
|
|
27
|
-
constructor(_injector: Injector, _componentManager: ComponentManager, _layoutService: ILayoutService, _commandService: ICommandService, _shortcutService: IShortcutService, _menuManagerService: IMenuManagerService, _uiPartsService: IUIPartsService, _configService: IConfigService);
|
|
28
|
-
private _init;
|
|
29
|
-
private _initComponents;
|
|
30
|
-
private _initCommands;
|
|
31
|
-
private _initMenus;
|
|
32
|
-
private _initShortcuts;
|
|
33
|
-
protected _initWorkbenchParts(): void;
|
|
34
|
-
protected _initFocusHandler(): void;
|
|
35
|
-
}
|