@fox-js/foxui-pad 4.1.1-40 → 4.1.1-41
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/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +2852 -2817
- package/dist/index.umd.js +1 -1
- package/dist/style.js +1 -1
- package/dist/types/index.d.ts +17 -4
- package/package.json +1 -1
package/dist/style.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -1479,19 +1479,25 @@ declare const HintTextFunction: HintTextTooltip;
|
|
|
1479
1479
|
export { HintTextFunction as FoxHintText }
|
|
1480
1480
|
export { HintTextFunction as HintText }
|
|
1481
1481
|
|
|
1482
|
-
/**
|
|
1483
|
-
* HintTextTooltip
|
|
1484
|
-
*/
|
|
1485
1482
|
declare interface HintTextTooltip {
|
|
1486
1483
|
/**
|
|
1487
1484
|
* 显示
|
|
1488
|
-
* @param reference
|
|
1485
|
+
* @param reference(引用组件 or 位置区域)
|
|
1489
1486
|
* @param message
|
|
1490
1487
|
* @param opts
|
|
1491
1488
|
* @param only
|
|
1492
1489
|
* @returns
|
|
1493
1490
|
*/
|
|
1494
1491
|
show(reference: HTMLElement, message: string, opts: Record<string, any>, only?: boolean): string;
|
|
1492
|
+
/**
|
|
1493
|
+
* 显示(在指定区域显示)
|
|
1494
|
+
* @param referenceRect
|
|
1495
|
+
* @param message
|
|
1496
|
+
* @param opts
|
|
1497
|
+
* @param only
|
|
1498
|
+
* @returns
|
|
1499
|
+
*/
|
|
1500
|
+
showInRect(referenceRect: InsetRect, message: string, opts: Record<string, any>, only?: boolean): string;
|
|
1495
1501
|
/**
|
|
1496
1502
|
* 隐藏
|
|
1497
1503
|
* @param id
|
|
@@ -1572,6 +1578,13 @@ export declare function injectInnerPageScope(defaultValue?: boolean): boolean;
|
|
|
1572
1578
|
*/
|
|
1573
1579
|
export declare const InnerPageScopeKey: unique symbol;
|
|
1574
1580
|
|
|
1581
|
+
declare type InsetRect = {
|
|
1582
|
+
top: number | null;
|
|
1583
|
+
right: number | null;
|
|
1584
|
+
bottom: number | null;
|
|
1585
|
+
left: number | null;
|
|
1586
|
+
};
|
|
1587
|
+
|
|
1575
1588
|
/**
|
|
1576
1589
|
* 安装函数
|
|
1577
1590
|
*/
|