@fox-js/foxui-pc 4.1.1-39 → 4.1.1-40
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 +7263 -6947
- package/dist/index.umd.js +1 -1
- package/dist/style.css +273 -269
- 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
|
@@ -1439,19 +1439,25 @@ declare const HintTextFunction: HintTextTooltip;
|
|
|
1439
1439
|
export { HintTextFunction as FoxHintText }
|
|
1440
1440
|
export { HintTextFunction as HintText }
|
|
1441
1441
|
|
|
1442
|
-
/**
|
|
1443
|
-
* HintTextTooltip
|
|
1444
|
-
*/
|
|
1445
1442
|
declare interface HintTextTooltip {
|
|
1446
1443
|
/**
|
|
1447
1444
|
* 显示
|
|
1448
|
-
* @param reference
|
|
1445
|
+
* @param reference(引用组件 or 位置区域)
|
|
1449
1446
|
* @param message
|
|
1450
1447
|
* @param opts
|
|
1451
1448
|
* @param only
|
|
1452
1449
|
* @returns
|
|
1453
1450
|
*/
|
|
1454
1451
|
show(reference: HTMLElement, message: string, opts: Record<string, any>, only?: boolean): string;
|
|
1452
|
+
/**
|
|
1453
|
+
* 显示(在指定区域显示)
|
|
1454
|
+
* @param referenceRect
|
|
1455
|
+
* @param message
|
|
1456
|
+
* @param opts
|
|
1457
|
+
* @param only
|
|
1458
|
+
* @returns
|
|
1459
|
+
*/
|
|
1460
|
+
showInRect(referenceRect: InsetRect, message: string, opts: Record<string, any>, only?: boolean): string;
|
|
1455
1461
|
/**
|
|
1456
1462
|
* 隐藏
|
|
1457
1463
|
* @param id
|
|
@@ -1532,6 +1538,13 @@ export declare function injectInnerPageScope(defaultValue?: boolean): boolean;
|
|
|
1532
1538
|
*/
|
|
1533
1539
|
export declare const InnerPageScopeKey: unique symbol;
|
|
1534
1540
|
|
|
1541
|
+
declare type InsetRect = {
|
|
1542
|
+
top: number | null;
|
|
1543
|
+
right: number | null;
|
|
1544
|
+
bottom: number | null;
|
|
1545
|
+
left: number | null;
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1535
1548
|
/**
|
|
1536
1549
|
* 安装函数
|
|
1537
1550
|
*/
|