@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.
Files changed (46) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/es/index.js +1 -1
  3. package/lib/index.js +1 -1
  4. package/lib/umd/index.js +1 -1
  5. package/package.json +14 -14
  6. package/lib/types/components/border-panel/BorderPanel.d.ts +0 -17
  7. package/lib/types/components/border-panel/border-line/BorderLine.d.ts +0 -22
  8. package/lib/types/components/border-panel/border-line/icons/BorderDashDot.d.ts +0 -18
  9. package/lib/types/components/border-panel/border-line/icons/BorderDashDotDot.d.ts +0 -18
  10. package/lib/types/components/border-panel/border-line/icons/BorderDashed.d.ts +0 -18
  11. package/lib/types/components/border-panel/border-line/icons/BorderDotted.d.ts +0 -18
  12. package/lib/types/components/border-panel/border-line/icons/BorderDouble.d.ts +0 -18
  13. package/lib/types/components/border-panel/border-line/icons/BorderHair.d.ts +0 -18
  14. package/lib/types/components/border-panel/border-line/icons/BorderMedium.d.ts +0 -18
  15. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDot.d.ts +0 -18
  16. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashDotDot.d.ts +0 -18
  17. package/lib/types/components/border-panel/border-line/icons/BorderMediumDashed.d.ts +0 -18
  18. package/lib/types/components/border-panel/border-line/icons/BorderThick.d.ts +0 -18
  19. package/lib/types/components/border-panel/border-line/icons/BorderThin.d.ts +0 -18
  20. package/lib/types/components/border-panel/interface.d.ts +0 -25
  21. package/lib/types/components/const.d.ts +0 -16
  22. package/lib/types/components/hook.d.ts +0 -21
  23. package/lib/types/components/menu-item-frozen/MenuItemFrozen.d.ts +0 -17
  24. package/lib/types/components/menu-item-frozen/index.d.ts +0 -17
  25. package/lib/types/components/menu-item-frozen/interface.d.ts +0 -20
  26. package/lib/types/components/menu-item-input/MenuItemInput.d.ts +0 -17
  27. package/lib/types/components/menu-item-input/index.d.ts +0 -17
  28. package/lib/types/components/menu-item-input/interface.d.ts +0 -25
  29. package/lib/types/controllers/cell-alert.controller.d.ts +0 -25
  30. package/lib/types/controllers/mobile/mobile-sheet-ui.controller.d.ts +0 -35
  31. package/lib/types/controllers/sheet-ui.controller.d.ts +0 -35
  32. package/lib/types/facade/f-sheet-hooks.d.ts +0 -125
  33. package/lib/types/facade/f-workbook-permission.d.ts +0 -39
  34. package/lib/types/menu/mobile-menu.d.ts +0 -16
  35. package/lib/types/services/sheet-loading-render.service.d.ts +0 -65
  36. package/lib/types/views/cell-popup/index.d.ts +0 -22
  37. package/lib/types/views/dropdown/cascader-dropdown/index.d.ts +0 -29
  38. package/lib/types/views/dropdown/color-dropdown/index.d.ts +0 -27
  39. package/lib/types/views/dropdown/date-dropdown/index.d.ts +0 -30
  40. package/lib/types/views/dropdown/list-dropdown/index.d.ts +0 -36
  41. package/lib/types/views/permission/error-msg-dialog/index.d.ts +0 -18
  42. package/lib/types/views/permission/panel/index.d.ts +0 -24
  43. package/lib/types/views/permission/panel-list/index.d.ts +0 -16
  44. package/lib/types/views/permission/permission-dialog/index.d.ts +0 -16
  45. package/lib/types/views/permission/spin/index.d.ts +0 -22
  46. package/lib/types/views/permission/user-dialog/index.d.ts +0 -16
@@ -1,125 +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 { ICellCustomRender, IDisposable, Nullable } from '@univerjs/core';
17
- import type { IDragCellPosition, IEditorBridgeServiceVisibleParam, IHoverCellPosition } from '@univerjs/sheets-ui';
18
- import { InterceptorEffectEnum } from '@univerjs/core';
19
- import { FSheetHooks } from '@univerjs/sheets/facade';
20
- /**
21
- * @ignore
22
- */
23
- export interface IFSheetHooksUIMixin {
24
- /**
25
- * The onCellPointerMove event is fired when a pointer changes coordinates.
26
- * @deprecated use `univerAPI.addEvent(univerAPI.Event.CellPointerMove, (params) => {})` instead
27
- * @param {function(Nullable<IHoverCellPosition>): void} callback - function that will be called when the event is fired
28
- * @returns {IDisposable} A disposable object that can be used to unsubscribe from the event
29
- * @example
30
- * ```ts
31
- * univerAPI.getSheetHooks().onCellPointerMove((cellPos) => { console.log(cellPos)});
32
- * ```
33
- */
34
- onCellPointerMove(callback: (cellPos: Nullable<IHoverCellPosition>) => void): IDisposable;
35
- /**
36
- * The onCellPointerOver event is fired when a pointer is moved into a cell's hit test boundaries.
37
- * @deprecated use `univerAPI.addEvent(univerAPI.Event.CellHover, (params) => {})` instead
38
- * @param {function(Nullable<IHoverCellPosition>): void} callback - function that will be called when the event is fired
39
- * @returns {IDisposable} A disposable object that can be used to unsubscribe from the event
40
- * @example
41
- * ```ts
42
- * univerAPI.getSheetHooks().onCellPointerOver((cellPos) => { console.log(cellPos)});
43
- * ```
44
- */
45
- onCellPointerOver(callback: (cellPos: Nullable<IHoverCellPosition>) => void): IDisposable;
46
- /**
47
- * The onCellDragOver event is fired when an element or text selection is being dragged into a cell's hit test boundaries.
48
- * @deprecated use `univerAPI.addEvent(univerAPI.Event.DragOver, (params) => {})` instead
49
- * @param {function (Nullable<IDragCellPosition>): void} callback Callback function that will be called when the event is fired
50
- * @returns {IDisposable} A disposable object that can be used to unsubscribe from the event
51
- * @example
52
- * ```ts
53
- * univerAPI.getSheetHooks().onCellDragOver((cellPos) => { console.log(cellPos)});
54
- * ```
55
- */
56
- onCellDragOver(callback: (cellPos: Nullable<IDragCellPosition>) => void): IDisposable;
57
- /**
58
- * The onCellDrop event is fired when an element or text selection is being dropped on the cell.
59
- * @deprecated use `univerAPI.addEvent(univerAPI.Event.Drop, (params) => {})` instead
60
- * @param {function(Nullable<IDragCellPosition>): void} callback Callback function that will be called when the event is fired
61
- * @returns {IDisposable} A disposable object that can be used to unsubscribe from the event
62
- * @example
63
- * ```ts
64
- * univerAPI.getSheetHooks().onCellDrop((cellPos) => { console.log(cellPos)});
65
- * ```
66
- */
67
- onCellDrop(callback: (cellPos: Nullable<IDragCellPosition>) => void): IDisposable;
68
- /**
69
- * The onCellRender event is fired when a cell is rendered.
70
- * @param {Nullable<ICellCustomRender[]>} customRender Custom render function
71
- * @param {InterceptorEffectEnum} [effect] The effect of the interceptor
72
- * @param {number} priority The priority of the interceptor
73
- * @returns {IDisposable} A disposable object that can be used to unsubscribe from the event
74
- * @example
75
- * ```ts
76
- univerAPI.getSheetHooks().onCellRender([{
77
- drawWith: (ctx, info) => {
78
- const { row, col } = info;
79
- // Update to any cell location you want
80
- if (row === 1 && col === 2) {
81
- const { primaryWithCoord } = info;
82
- const { startX, startY } = primaryWithCoord;
83
- ctx.fillText('Univer', startX, startY + 10);
84
- }
85
- },
86
- }])
87
- * ```
88
- */
89
- onCellRender(customRender: Nullable<ICellCustomRender[]>, effect?: InterceptorEffectEnum, priority?: number): IDisposable;
90
- /**
91
- * The onBeforeCellEdit event is fired before a cell is edited.
92
- * @deprecated use `univerAPI.addEvent(univerAPI.Event.BeforeSheetEditStart, (params) => {})` instead
93
- * @param callback Callback function that will be called when the event is fired
94
- * @returns A disposable object that can be used to unsubscribe from the event
95
- * @example
96
- * ```ts
97
- * univerAPI.getSheetHooks().onBeforeCellEdit((params) => {console.log(params)})
98
- * ```
99
- */
100
- onBeforeCellEdit(callback: (params: IEditorBridgeServiceVisibleParam) => void): IDisposable;
101
- /**
102
- * The onAfterCellEdit event is fired after a cell is edited.
103
- * @deprecated use `univerAPI.addEvent(univerAPI.Event.SheetEditEnded, (params) => {})` instead
104
- * @param callback Callback function that will be called when the event is fired
105
- * @returns A disposable object that can be used to unsubscribe from the event
106
- * @example
107
- * ```ts
108
- * univerAPI.getSheetHooks().onAfterCellEdit((params) => {console.log(params)})
109
- * ```
110
- */
111
- onAfterCellEdit(callback: (params: IEditorBridgeServiceVisibleParam) => void): IDisposable;
112
- }
113
- export declare class FSheetHooksUIMixin extends FSheetHooks implements IFSheetHooksUIMixin {
114
- onCellPointerMove(callback: (cellPos: Nullable<IHoverCellPosition>) => void): IDisposable;
115
- onCellPointerOver(callback: (cellPos: Nullable<IHoverCellPosition>) => void): IDisposable;
116
- onCellDragOver(callback: (cellPos: Nullable<IDragCellPosition>) => void): IDisposable;
117
- onCellDrop(callback: (cellPos: Nullable<IDragCellPosition>) => void): IDisposable;
118
- onCellRender(customRender: Nullable<ICellCustomRender[]>, effect?: InterceptorEffectEnum, priority?: number): IDisposable;
119
- onBeforeCellEdit(callback: (params: IEditorBridgeServiceVisibleParam) => void): IDisposable;
120
- onAfterCellEdit(callback: (params: IEditorBridgeServiceVisibleParam) => void): IDisposable;
121
- }
122
- declare module '@univerjs/sheets/facade' {
123
- interface FSheetHooks extends IFSheetHooksUIMixin {
124
- }
125
- }
@@ -1,39 +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 { FWorkbookPermission } from '@univerjs/sheets/facade';
17
- /**
18
- * @ignore
19
- */
20
- export interface IFWorkbookPermissionSheetsUIMixin {
21
- /**
22
- * Set visibility of unauthorized pop-up window
23
- * @param {boolean} visible - visibility of unauthorized pop-up window
24
- * @example
25
- * ```ts
26
- * const fWorkbook = univerAPI.getActiveWorkbook();
27
- * const permission = fWorkbook.getWorkbookPermission();
28
- * permission.setPermissionDialogVisible(false);
29
- * ```
30
- */
31
- setPermissionDialogVisible(visible: boolean): void;
32
- }
33
- export declare class FWorkbookPermissionSheetsUIMixin extends FWorkbookPermission implements IFWorkbookPermissionSheetsUIMixin {
34
- setPermissionDialogVisible(visible: boolean): void;
35
- }
36
- declare module '@univerjs/sheets/facade' {
37
- interface FWorkbookPermission extends IFWorkbookPermissionSheetsUIMixin {
38
- }
39
- }
@@ -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 { menuSchema } from './schema';
@@ -1,65 +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 { ICellData, IObjectMatrixPrimitiveType, IWorkbookData } from '@univerjs/core';
17
- import { Disposable, Injector, Workbook } from '@univerjs/core';
18
- import { IRenderManagerService } from '@univerjs/engine-render';
19
- import { SheetInterceptorService } from '@univerjs/sheets';
20
- import { ILayoutService } from '@univerjs/ui';
21
- import { BehaviorSubject, Observable } from 'rxjs';
22
- export interface ISheetLoadingRenderService {
23
- readonly workbook$: Observable<Workbook | null>;
24
- readonly loading$: Observable<boolean>;
25
- readonly previewReady$: Observable<boolean>;
26
- showSkeleton(workbookData: IWorkbookData, activeSheetId: string): void;
27
- show(workbookData: IWorkbookData, activeSheetId: string, cellData?: IObjectMatrixPrimitiveType<ICellData>): void;
28
- handoff(sourceUnitId: string, timeoutMs: number): Promise<boolean>;
29
- hide(sourceUnitId: string): void;
30
- }
31
- export declare const ISheetLoadingRenderService: import("@wendellhu/redi").IdentifierDecorator<ISheetLoadingRenderService>;
32
- /**
33
- * Renders a read-only workbook shell without registering it in IUniverInstanceService.
34
- * The temporary workbook is therefore invisible to formulas, RPC and collaboration.
35
- */
36
- export declare class SheetLoadingRenderService extends Disposable implements ISheetLoadingRenderService {
37
- private readonly _injector;
38
- private readonly _layoutService;
39
- private readonly _sheetInterceptorService;
40
- private readonly _renderManagerService;
41
- readonly workbook$: BehaviorSubject<Workbook | null>;
42
- readonly loading$: BehaviorSubject<boolean>;
43
- readonly previewReady$: BehaviorSubject<boolean>;
44
- private _loadingRender;
45
- private _finalCanvasGuard;
46
- private _hiddenFinalCanvas;
47
- private _finalCanvasVisibility;
48
- constructor(_injector: Injector, _layoutService: ILayoutService, _sheetInterceptorService: SheetInterceptorService, _renderManagerService: IRenderManagerService);
49
- showSkeleton(workbookData: IWorkbookData, activeSheetId: string): void;
50
- show(workbookData: IWorkbookData, activeSheetId: string, cellData?: IObjectMatrixPrimitiveType<ICellData>): void;
51
- handoff(sourceUnitId: string, timeoutMs: number): Promise<boolean>;
52
- hide(sourceUnitId: string): void;
53
- dispose(): void;
54
- private _createLoadingWorkbook;
55
- private _createLoadingRender;
56
- private _waitForFinalCanvas;
57
- private _getFinalRender$;
58
- private _guardFinalCanvas;
59
- private _requestFinalRender;
60
- private _hideFinalCanvas;
61
- private _restoreFinalCanvas;
62
- private _waitForNextAnimationFrame;
63
- private _disposeLoadingRender;
64
- private _disposeRender;
65
- }
@@ -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 type { ISheetLocationBase } from '@univerjs/sheets';
17
- import type { IPopup } from '@univerjs/ui';
18
- export declare const CellPopup: (props: {
19
- popup: IPopup<ISheetLocationBase & {
20
- direction: "horizontal" | "vertical";
21
- }>;
22
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,29 +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 { ICascaderOption } from '@univerjs/design';
17
- import type { IPopup } from '@univerjs/ui';
18
- import type { IBaseDropdownProps } from '../type';
19
- export interface ICascaderDropdownProps {
20
- options: ICascaderOption[];
21
- defaultValue?: string[];
22
- onChange: (value: string[]) => void;
23
- }
24
- export declare function CascaderDropdown(props: {
25
- popup: IPopup<ICascaderDropdownProps & IBaseDropdownProps>;
26
- }): import("react/jsx-runtime").JSX.Element;
27
- export declare namespace CascaderDropdown {
28
- var componentKey: string;
29
- }
@@ -1,27 +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 { IPopup } from '@univerjs/ui';
17
- import type { IBaseDropdownProps } from '../type';
18
- export interface IColorDropdownProps {
19
- defaultValue?: string;
20
- onChange?: (value: string) => void;
21
- }
22
- export declare function ColorDropdown(props: {
23
- popup: IPopup<IColorDropdownProps & IBaseDropdownProps>;
24
- }): import("react/jsx-runtime").JSX.Element;
25
- export declare namespace ColorDropdown {
26
- var componentKey: string;
27
- }
@@ -1,30 +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 { DateKit } from '@univerjs/core';
17
- import type { IPopup } from '@univerjs/ui';
18
- import type { IBaseDropdownProps } from '../type';
19
- export interface IDateDropdownProps {
20
- defaultValue?: DateKit;
21
- onChange?: (value: DateKit | undefined) => boolean | Promise<boolean>;
22
- patternType?: 'datetime' | 'date' | 'time';
23
- showTime?: boolean;
24
- }
25
- export declare function DateDropdown(props: {
26
- popup: IPopup<IDateDropdownProps & IBaseDropdownProps>;
27
- }): import("react/jsx-runtime").JSX.Element;
28
- export declare namespace DateDropdown {
29
- var componentKey: string;
30
- }
@@ -1,36 +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 { IPopup } from '@univerjs/ui';
17
- import type { IBaseDropdownProps } from '../type';
18
- export interface IListDropdownProps {
19
- multiple?: boolean;
20
- onEdit?: () => void;
21
- onChange?: (value: string[]) => boolean | Promise<boolean>;
22
- options: {
23
- label: string;
24
- value: string;
25
- color?: string;
26
- }[];
27
- defaultValue?: string;
28
- showEdit?: boolean;
29
- showSearch?: boolean;
30
- }
31
- export declare function ListDropDown(props: {
32
- popup: IPopup<IListDropdownProps & IBaseDropdownProps>;
33
- }): import("react/jsx-runtime").JSX.Element | null;
34
- export declare namespace ListDropDown {
35
- var componentKey: string;
36
- }
@@ -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 AlertDialog: ({ errorMsg }: {
17
- errorMsg: string;
18
- }) => import("react/jsx-runtime").JSX.Element;
@@ -1,24 +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 { IPermissionPanelRule } from '../../../services/permission/sheet-permission-panel.model';
17
- interface ISheetPermissionPanelProps {
18
- showDetail: boolean;
19
- fromSheetBar: boolean;
20
- rule?: IPermissionPanelRule;
21
- oldRule?: IPermissionPanelRule;
22
- }
23
- export declare const SheetPermissionPanel: ({ showDetail, fromSheetBar, rule, oldRule }: ISheetPermissionPanelProps) => import("react/jsx-runtime").JSX.Element | null;
24
- export {};
@@ -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 function SheetPermissionPanelList(): import("react/jsx-runtime").JSX.Element | null;
@@ -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 SheetPermissionDialog: () => 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 type { ReactNode } from 'react';
17
- interface ISpinProps {
18
- loading: boolean;
19
- children: ReactNode;
20
- }
21
- declare const Spin: ({ loading, children }: ISpinProps) => import("react/jsx-runtime").JSX.Element;
22
- export default Spin;
@@ -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 SheetPermissionUserDialog: () => import("react/jsx-runtime").JSX.Element;