@univerjs/sheets-ui 0.7.0-nightly.202505021607 → 0.7.0-nightly.202505031606
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 +183 -61
- package/lib/es/index.js +5738 -5527
- package/lib/index.css +1 -1
- package/lib/index.js +5738 -5527
- package/lib/types/views/defined-name/DefinedNameOverlay.d.ts +1 -3
- package/lib/types/views/sheet-bar/sheet-bar-tabs/utils/slide-tab-bar.d.ts +6 -8
- package/lib/types/views/{count-bar → sheet-slider}/CountBar.d.ts +1 -6
- package/lib/umd/index.js +186 -64
- package/package.json +11 -11
- /package/lib/types/views/{count-bar → sheet-slider}/ZoomSlider.d.ts +0 -0
- /package/lib/types/views/{count-bar → sheet-slider}/index.d.ts +0 -0
|
@@ -13,6 +13,4 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
17
|
-
}
|
|
18
|
-
export declare function DefinedNameOverlay(props: IDefinedNameOverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare function DefinedNameOverlay(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,11 +3,9 @@ export interface IScrollState {
|
|
|
3
3
|
leftEnd: boolean;
|
|
4
4
|
rightEnd: boolean;
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
slideTabBarItemClassName: string;
|
|
10
|
-
slideTabBarSpanEditClassName: string;
|
|
6
|
+
export interface ISlideTabBarConfig {
|
|
7
|
+
slideTabBarSelector: string;
|
|
8
|
+
slideTabBarItemSelector: string;
|
|
11
9
|
slideTabBarContainer: HTMLDivElement | null;
|
|
12
10
|
slideTabBarItemAutoSort: boolean;
|
|
13
11
|
currentIndex: number;
|
|
@@ -76,7 +74,7 @@ export declare class SlideTabBar {
|
|
|
76
74
|
protected _activeTabItemIndex: number;
|
|
77
75
|
protected _slideTabBar: HTMLElement;
|
|
78
76
|
protected _slideTabItems: SlideTabItem[];
|
|
79
|
-
protected _config:
|
|
77
|
+
protected _config: ISlideTabBarConfig;
|
|
80
78
|
protected _downActionX: number;
|
|
81
79
|
protected _moveActionX: number;
|
|
82
80
|
protected _compareIndex: number;
|
|
@@ -106,7 +104,7 @@ export declare class SlideTabBar {
|
|
|
106
104
|
* The distance required to move to the right border
|
|
107
105
|
*/
|
|
108
106
|
protected _rightMoveX: number;
|
|
109
|
-
constructor(config: Partial<
|
|
107
|
+
constructor(config: Partial<ISlideTabBarConfig>);
|
|
110
108
|
static checkedSkipSlide(event: MouseEvent): boolean;
|
|
111
109
|
static keepLastIndex(inputHtml: HTMLElement): void;
|
|
112
110
|
static keepSelectAll(inputHtml: HTMLElement): void;
|
|
@@ -118,7 +116,7 @@ export declare class SlideTabBar {
|
|
|
118
116
|
primeval(): HTMLElement;
|
|
119
117
|
updateItems(): void;
|
|
120
118
|
getScrollbar(): SlideScrollbar;
|
|
121
|
-
getConfig():
|
|
119
|
+
getConfig(): ISlideTabBarConfig;
|
|
122
120
|
getBoundingRect(): DOMRect;
|
|
123
121
|
getSlideTabItems(): SlideTabItem[];
|
|
124
122
|
getActiveItem(): SlideTabItem | null;
|
|
@@ -13,9 +13,4 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
changeRatio?: (ratio: string) => void;
|
|
18
|
-
onChange?: (value: string) => void;
|
|
19
|
-
}
|
|
20
|
-
export declare function CountBar(props: ICountBarProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export {};
|
|
16
|
+
export declare function SheetZoomSlider(): import("react/jsx-runtime").JSX.Element;
|