@cregis/ui 1.0.27 → 1.1.0
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.css +1 -1
- package/dist/index.js +3276 -3145
- package/dist/types/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -413,6 +413,7 @@ export declare const Popover: DefineComponent<PopoverProps, {
|
|
|
413
413
|
isOpen: Ref<boolean>;
|
|
414
414
|
open: () => void;
|
|
415
415
|
close: () => void;
|
|
416
|
+
update: () => void;
|
|
416
417
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
417
418
|
scroll: (payload: PopoverScrollPayload) => any;
|
|
418
419
|
"visible-change": (value: boolean) => any;
|
|
@@ -444,6 +445,8 @@ export declare interface PopoverInstance {
|
|
|
444
445
|
isOpen: Ref<boolean>;
|
|
445
446
|
open: () => void;
|
|
446
447
|
close: () => void;
|
|
448
|
+
/** 浮层打开时重新计算定位;关闭时为 no-op */
|
|
449
|
+
update: () => void;
|
|
447
450
|
}
|
|
448
451
|
|
|
449
452
|
export declare interface PopoverProps {
|
|
@@ -454,7 +457,7 @@ export declare interface PopoverProps {
|
|
|
454
457
|
placement?: Placement;
|
|
455
458
|
manual?: boolean;
|
|
456
459
|
disabled?: boolean;
|
|
457
|
-
/** 与默认 offset
|
|
460
|
+
/** 与默认 strategy/offset/flip 等按 modifier name 合并后再传给 createPopper */
|
|
458
461
|
popoverOptions?: Partial<Options>;
|
|
459
462
|
openDelay?: number;
|
|
460
463
|
closeDelay?: number;
|