prlg-ui 1.7.63 → 1.7.64

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.d.ts CHANGED
@@ -31,6 +31,7 @@ import { VNode } from 'vue';
31
31
  import { VNodeProps } from 'vue';
32
32
  import { WatchOptions } from 'vue';
33
33
  import { WatchStopHandle } from 'vue';
34
+ import { WritableComputedRef } from 'vue';
34
35
 
35
36
  declare const __VLS_component: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
36
37
 
@@ -71,14 +72,24 @@ arrowVisible: {
71
72
  type: BooleanConstructor;
72
73
  default: boolean;
73
74
  };
75
+ closeMode: {
76
+ type: PropType<PopoverCloseMode>;
77
+ default: string;
78
+ };
79
+ modelValue: {
80
+ type: BooleanConstructor;
81
+ default: undefined;
82
+ };
74
83
  }>, {
75
84
  open: () => void;
76
85
  close: () => void;
77
86
  openSecondScreen: (event?: Event) => Promise<void>;
78
87
  closeSecondScreen: () => void;
79
- isOpen: Ref<boolean, boolean>;
88
+ isOpen: WritableComputedRef<boolean | undefined, boolean>;
80
89
  isSecondScreenOpen: Ref<boolean, boolean>;
81
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
90
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
91
+ "update:modelValue": (value: boolean) => any;
92
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
82
93
  placement: {
83
94
  type: PropType<Placement>;
84
95
  default: string;
@@ -90,9 +101,21 @@ arrowVisible: {
90
101
  type: BooleanConstructor;
91
102
  default: boolean;
92
103
  };
93
- }>> & Readonly<{}>, {
104
+ closeMode: {
105
+ type: PropType<PopoverCloseMode>;
106
+ default: string;
107
+ };
108
+ modelValue: {
109
+ type: BooleanConstructor;
110
+ default: undefined;
111
+ };
112
+ }>> & Readonly<{
113
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
114
+ }>, {
115
+ modelValue: boolean;
94
116
  placement: Placement;
95
117
  arrowVisible: boolean;
118
+ closeMode: PopoverCloseMode;
96
119
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
97
120
  reference: HTMLDivElement;
98
121
  floating: HTMLDivElement;
@@ -491,10 +514,12 @@ declare function __VLS_template_13(): {
491
514
  default?(_: {
492
515
  openSecondScreen: (event?: Event) => Promise<void>;
493
516
  closeSecondScreen: () => void;
517
+ close: () => void;
494
518
  }): any;
495
519
  default?(_: {
496
520
  openSecondScreen: (event?: Event) => Promise<void>;
497
521
  closeSecondScreen: () => void;
522
+ close: () => void;
498
523
  }): any;
499
524
  'second-screen'?(_: {
500
525
  closeSecondScreen: () => void;
@@ -1176,6 +1201,8 @@ declare interface PaginatorProps {
1176
1201
 
1177
1202
  export declare const Popover: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1178
1203
 
1204
+ declare type PopoverCloseMode = 'outside' | 'button-only';
1205
+
1179
1206
  declare type Position = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright';
1180
1207
 
1181
1208
  declare interface Props {