prlg-ui 1.7.63 → 1.7.65

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,28 @@ 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
+ };
83
+ zIndex: {
84
+ type: NumberConstructor;
85
+ default: number;
86
+ };
74
87
  }>, {
75
88
  open: () => void;
76
89
  close: () => void;
77
90
  openSecondScreen: (event?: Event) => Promise<void>;
78
91
  closeSecondScreen: () => void;
79
- isOpen: Ref<boolean, boolean>;
92
+ isOpen: WritableComputedRef<boolean | undefined, boolean>;
80
93
  isSecondScreenOpen: Ref<boolean, boolean>;
81
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
94
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
95
+ "update:modelValue": (value: boolean) => any;
96
+ }, string, PublicProps, Readonly<ExtractPropTypes< {
82
97
  placement: {
83
98
  type: PropType<Placement>;
84
99
  default: string;
@@ -90,9 +105,26 @@ arrowVisible: {
90
105
  type: BooleanConstructor;
91
106
  default: boolean;
92
107
  };
93
- }>> & Readonly<{}>, {
108
+ closeMode: {
109
+ type: PropType<PopoverCloseMode>;
110
+ default: string;
111
+ };
112
+ modelValue: {
113
+ type: BooleanConstructor;
114
+ default: undefined;
115
+ };
116
+ zIndex: {
117
+ type: NumberConstructor;
118
+ default: number;
119
+ };
120
+ }>> & Readonly<{
121
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
122
+ }>, {
123
+ modelValue: boolean;
94
124
  placement: Placement;
95
125
  arrowVisible: boolean;
126
+ closeMode: PopoverCloseMode;
127
+ zIndex: number;
96
128
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
97
129
  reference: HTMLDivElement;
98
130
  floating: HTMLDivElement;
@@ -491,10 +523,12 @@ declare function __VLS_template_13(): {
491
523
  default?(_: {
492
524
  openSecondScreen: (event?: Event) => Promise<void>;
493
525
  closeSecondScreen: () => void;
526
+ close: () => void;
494
527
  }): any;
495
528
  default?(_: {
496
529
  openSecondScreen: (event?: Event) => Promise<void>;
497
530
  closeSecondScreen: () => void;
531
+ close: () => void;
498
532
  }): any;
499
533
  'second-screen'?(_: {
500
534
  closeSecondScreen: () => void;
@@ -1176,6 +1210,8 @@ declare interface PaginatorProps {
1176
1210
 
1177
1211
  export declare const Popover: __VLS_WithTemplateSlots_13<typeof __VLS_component_13, __VLS_TemplateResult_13["slots"]>;
1178
1212
 
1213
+ declare type PopoverCloseMode = 'outside' | 'button-only';
1214
+
1179
1215
  declare type Position = 'center' | 'top' | 'bottom' | 'left' | 'right' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright';
1180
1216
 
1181
1217
  declare interface Props {