vue-editify 0.2.11 → 0.2.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -73,6 +73,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
73
73
  showTriangle: boolean;
74
74
  animation: import('../layer/props').LayerAnimationType;
75
75
  useRange: boolean;
76
+ insideElements: HTMLElement[];
76
77
  }> & Omit<{
77
78
  readonly placement: import('../layer/props').LayerPlacementType;
78
79
  readonly color: string;
@@ -86,6 +87,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
86
87
  readonly showTriangle: boolean;
87
88
  readonly animation: import('../layer/props').LayerAnimationType;
88
89
  readonly useRange: boolean;
90
+ readonly insideElements: HTMLElement[];
89
91
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
90
92
  onShow?: ((...args: any[]) => any) | undefined;
91
93
  onShown?: ((...args: any[]) => any) | undefined;
@@ -141,12 +143,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
141
143
  type: BooleanConstructor;
142
144
  default: boolean;
143
145
  };
146
+ insideElements: {
147
+ type: import('vue').PropType<HTMLElement[]>;
148
+ default: () => never[];
149
+ };
144
150
  }>> & {
145
151
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
146
152
  onShow?: ((...args: any[]) => any) | undefined;
147
153
  onShown?: ((...args: any[]) => any) | undefined;
148
154
  onHidden?: ((...args: any[]) => any) | undefined;
149
- }, "placement" | "color" | "background" | "zIndex" | "modelValue" | "node" | "scrollNode" | "border" | "borderColor" | "showTriangle" | "animation" | "useRange">;
155
+ }, "placement" | "color" | "background" | "zIndex" | "modelValue" | "node" | "scrollNode" | "border" | "borderColor" | "showTriangle" | "animation" | "useRange" | "insideElements">;
150
156
  $attrs: {
151
157
  [x: string]: unknown;
152
158
  };
@@ -211,6 +217,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
211
217
  type: BooleanConstructor;
212
218
  default: boolean;
213
219
  };
220
+ insideElements: {
221
+ type: import('vue').PropType<HTMLElement[]>;
222
+ default: () => never[];
223
+ };
214
224
  }>> & {
215
225
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
216
226
  onShow?: ((...args: any[]) => any) | undefined;
@@ -218,6 +228,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
218
228
  onHidden?: ((...args: any[]) => any) | undefined;
219
229
  }, {
220
230
  setPosition: () => void;
231
+ elRef: import('vue').Ref<HTMLElement | null>;
221
232
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
222
233
  "update:modelValue": (...args: any[]) => void;
223
234
  show: (...args: any[]) => void;
@@ -236,6 +247,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
236
247
  showTriangle: boolean;
237
248
  animation: import('../layer/props').LayerAnimationType;
238
249
  useRange: boolean;
250
+ insideElements: HTMLElement[];
239
251
  }, {}, string, {}> & {
240
252
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
241
253
  created?: ((() => void) | (() => void)[]) | undefined;
@@ -307,13 +319,18 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
307
319
  type: BooleanConstructor;
308
320
  default: boolean;
309
321
  };
322
+ insideElements: {
323
+ type: import('vue').PropType<HTMLElement[]>;
324
+ default: () => never[];
325
+ };
310
326
  }>> & {
311
327
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
312
328
  onShow?: ((...args: any[]) => any) | undefined;
313
329
  onShown?: ((...args: any[]) => any) | undefined;
314
330
  onHidden?: ((...args: any[]) => any) | undefined;
315
- }, "setPosition"> & import('vue').ShallowUnwrapRef<{
331
+ }, "setPosition" | "elRef"> & import('vue').ShallowUnwrapRef<{
316
332
  setPosition: () => void;
333
+ elRef: import('vue').Ref<HTMLElement | null>;
317
334
  }> & {} & import('vue').ComponentCustomProperties & {} & {
318
335
  $slots: {
319
336
  default?(_: {}): any;
@@ -51,8 +51,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
51
51
  type: BooleanConstructor;
52
52
  default: boolean;
53
53
  };
54
+ insideElements: {
55
+ type: import('vue').PropType<HTMLElement[]>;
56
+ default: () => never[];
57
+ };
54
58
  }, {
55
59
  setPosition: () => void;
60
+ elRef: import('vue').Ref<HTMLElement | null>;
56
61
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
57
62
  "update:modelValue": (...args: any[]) => void;
58
63
  show: (...args: any[]) => void;
@@ -109,6 +114,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
109
114
  type: BooleanConstructor;
110
115
  default: boolean;
111
116
  };
117
+ insideElements: {
118
+ type: import('vue').PropType<HTMLElement[]>;
119
+ default: () => never[];
120
+ };
112
121
  }>> & {
113
122
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
114
123
  onShow?: ((...args: any[]) => any) | undefined;
@@ -127,6 +136,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
127
136
  showTriangle: boolean;
128
137
  animation: import('./props').LayerAnimationType;
129
138
  useRange: boolean;
139
+ insideElements: HTMLElement[];
130
140
  }, {}>, {
131
141
  default?(_: {}): any;
132
142
  }>;
@@ -53,5 +53,9 @@ export declare const LayerProps: {
53
53
  type: BooleanConstructor;
54
54
  default: boolean;
55
55
  };
56
+ insideElements: {
57
+ type: PropType<HTMLElement[]>;
58
+ default: () => never[];
59
+ };
56
60
  };
57
61
  export type LayerPropsType = ExtractPublicPropTypes<typeof LayerProps>;
@@ -1,3 +1,5 @@
1
+ import { Ref } from 'vue';
2
+
1
3
  declare const _default: import('vue').DefineComponent<{
2
4
  modelValue: {
3
5
  type: BooleanConstructor;
@@ -28,7 +30,287 @@ declare const _default: import('vue').DefineComponent<{
28
30
  type: NumberConstructor;
29
31
  default: number;
30
32
  };
31
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
+ }, {
34
+ layerRef: Ref<({
35
+ $: import('vue').ComponentInternalInstance;
36
+ $data: {};
37
+ $props: Partial<{
38
+ placement: import('../layer/props').LayerPlacementType;
39
+ color: string;
40
+ background: string;
41
+ zIndex: number;
42
+ modelValue: boolean;
43
+ node: string | HTMLElement | null;
44
+ scrollNode: string | HTMLElement | null;
45
+ border: boolean;
46
+ borderColor: string;
47
+ showTriangle: boolean;
48
+ animation: import('../layer/props').LayerAnimationType;
49
+ useRange: boolean;
50
+ insideElements: HTMLElement[];
51
+ }> & Omit<{
52
+ readonly placement: import('../layer/props').LayerPlacementType;
53
+ readonly color: string;
54
+ readonly background: string;
55
+ readonly zIndex: number;
56
+ readonly modelValue: boolean;
57
+ readonly node: string | HTMLElement | null;
58
+ readonly scrollNode: string | HTMLElement | null;
59
+ readonly border: boolean;
60
+ readonly borderColor: string;
61
+ readonly showTriangle: boolean;
62
+ readonly animation: import('../layer/props').LayerAnimationType;
63
+ readonly useRange: boolean;
64
+ readonly insideElements: HTMLElement[];
65
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
66
+ onShow?: ((...args: any[]) => any) | undefined;
67
+ onShown?: ((...args: any[]) => any) | undefined;
68
+ onHidden?: ((...args: any[]) => any) | undefined;
69
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
70
+ modelValue: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ node: {
75
+ type: import('vue').PropType<string | HTMLElement | null>;
76
+ default: null;
77
+ };
78
+ scrollNode: {
79
+ type: import('vue').PropType<string | HTMLElement | null>;
80
+ default: null;
81
+ };
82
+ border: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
86
+ borderColor: {
87
+ type: StringConstructor;
88
+ default: null;
89
+ };
90
+ background: {
91
+ type: StringConstructor;
92
+ default: null;
93
+ };
94
+ color: {
95
+ type: StringConstructor;
96
+ default: null;
97
+ };
98
+ placement: {
99
+ type: import('vue').PropType<import('../layer/props').LayerPlacementType>;
100
+ default: string;
101
+ validator(value: any): boolean;
102
+ };
103
+ showTriangle: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ zIndex: {
108
+ type: NumberConstructor;
109
+ default: number;
110
+ };
111
+ animation: {
112
+ type: import('vue').PropType<import('../layer/props').LayerAnimationType>;
113
+ default: null;
114
+ validator(value: any): boolean;
115
+ };
116
+ useRange: {
117
+ type: BooleanConstructor;
118
+ default: boolean;
119
+ };
120
+ insideElements: {
121
+ type: import('vue').PropType<HTMLElement[]>;
122
+ default: () => never[];
123
+ };
124
+ }>> & {
125
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
126
+ onShow?: ((...args: any[]) => any) | undefined;
127
+ onShown?: ((...args: any[]) => any) | undefined;
128
+ onHidden?: ((...args: any[]) => any) | undefined;
129
+ }, "placement" | "color" | "background" | "zIndex" | "modelValue" | "node" | "scrollNode" | "border" | "borderColor" | "showTriangle" | "animation" | "useRange" | "insideElements">;
130
+ $attrs: {
131
+ [x: string]: unknown;
132
+ };
133
+ $refs: {
134
+ [x: string]: unknown;
135
+ };
136
+ $slots: Readonly<{
137
+ [name: string]: import('vue').Slot<any> | undefined;
138
+ }>;
139
+ $root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
140
+ $parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
141
+ $emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "show", ...args: any[]) => void) & ((event: "shown", ...args: any[]) => void) & ((event: "hidden", ...args: any[]) => void);
142
+ $el: any;
143
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
144
+ modelValue: {
145
+ type: BooleanConstructor;
146
+ default: boolean;
147
+ };
148
+ node: {
149
+ type: import('vue').PropType<string | HTMLElement | null>;
150
+ default: null;
151
+ };
152
+ scrollNode: {
153
+ type: import('vue').PropType<string | HTMLElement | null>;
154
+ default: null;
155
+ };
156
+ border: {
157
+ type: BooleanConstructor;
158
+ default: boolean;
159
+ };
160
+ borderColor: {
161
+ type: StringConstructor;
162
+ default: null;
163
+ };
164
+ background: {
165
+ type: StringConstructor;
166
+ default: null;
167
+ };
168
+ color: {
169
+ type: StringConstructor;
170
+ default: null;
171
+ };
172
+ placement: {
173
+ type: import('vue').PropType<import('../layer/props').LayerPlacementType>;
174
+ default: string;
175
+ validator(value: any): boolean;
176
+ };
177
+ showTriangle: {
178
+ type: BooleanConstructor;
179
+ default: boolean;
180
+ };
181
+ zIndex: {
182
+ type: NumberConstructor;
183
+ default: number;
184
+ };
185
+ animation: {
186
+ type: import('vue').PropType<import('../layer/props').LayerAnimationType>;
187
+ default: null;
188
+ validator(value: any): boolean;
189
+ };
190
+ useRange: {
191
+ type: BooleanConstructor;
192
+ default: boolean;
193
+ };
194
+ insideElements: {
195
+ type: import('vue').PropType<HTMLElement[]>;
196
+ default: () => never[];
197
+ };
198
+ }>> & {
199
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
200
+ onShow?: ((...args: any[]) => any) | undefined;
201
+ onShown?: ((...args: any[]) => any) | undefined;
202
+ onHidden?: ((...args: any[]) => any) | undefined;
203
+ }, {
204
+ setPosition: () => void;
205
+ elRef: Ref<HTMLElement | null>;
206
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
207
+ "update:modelValue": (...args: any[]) => void;
208
+ show: (...args: any[]) => void;
209
+ shown: (...args: any[]) => void;
210
+ hidden: (...args: any[]) => void;
211
+ }, string, {
212
+ placement: import('../layer/props').LayerPlacementType;
213
+ color: string;
214
+ background: string;
215
+ zIndex: number;
216
+ modelValue: boolean;
217
+ node: string | HTMLElement | null;
218
+ scrollNode: string | HTMLElement | null;
219
+ border: boolean;
220
+ borderColor: string;
221
+ showTriangle: boolean;
222
+ animation: import('../layer/props').LayerAnimationType;
223
+ useRange: boolean;
224
+ insideElements: HTMLElement[];
225
+ }, {}, string, {}> & {
226
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
227
+ created?: ((() => void) | (() => void)[]) | undefined;
228
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
229
+ mounted?: ((() => void) | (() => void)[]) | undefined;
230
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
231
+ updated?: ((() => void) | (() => void)[]) | undefined;
232
+ activated?: ((() => void) | (() => void)[]) | undefined;
233
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
234
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
235
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
236
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
237
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
238
+ renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
239
+ renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
240
+ errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
241
+ };
242
+ $forceUpdate: () => void;
243
+ $nextTick: typeof import('vue').nextTick;
244
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
245
+ } & Omit<Readonly<import('vue').ExtractPropTypes<{
246
+ modelValue: {
247
+ type: BooleanConstructor;
248
+ default: boolean;
249
+ };
250
+ node: {
251
+ type: import('vue').PropType<string | HTMLElement | null>;
252
+ default: null;
253
+ };
254
+ scrollNode: {
255
+ type: import('vue').PropType<string | HTMLElement | null>;
256
+ default: null;
257
+ };
258
+ border: {
259
+ type: BooleanConstructor;
260
+ default: boolean;
261
+ };
262
+ borderColor: {
263
+ type: StringConstructor;
264
+ default: null;
265
+ };
266
+ background: {
267
+ type: StringConstructor;
268
+ default: null;
269
+ };
270
+ color: {
271
+ type: StringConstructor;
272
+ default: null;
273
+ };
274
+ placement: {
275
+ type: import('vue').PropType<import('../layer/props').LayerPlacementType>;
276
+ default: string;
277
+ validator(value: any): boolean;
278
+ };
279
+ showTriangle: {
280
+ type: BooleanConstructor;
281
+ default: boolean;
282
+ };
283
+ zIndex: {
284
+ type: NumberConstructor;
285
+ default: number;
286
+ };
287
+ animation: {
288
+ type: import('vue').PropType<import('../layer/props').LayerAnimationType>;
289
+ default: null;
290
+ validator(value: any): boolean;
291
+ };
292
+ useRange: {
293
+ type: BooleanConstructor;
294
+ default: boolean;
295
+ };
296
+ insideElements: {
297
+ type: import('vue').PropType<HTMLElement[]>;
298
+ default: () => never[];
299
+ };
300
+ }>> & {
301
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
302
+ onShow?: ((...args: any[]) => any) | undefined;
303
+ onShown?: ((...args: any[]) => any) | undefined;
304
+ onHidden?: ((...args: any[]) => any) | undefined;
305
+ }, "setPosition" | "elRef"> & import('vue').ShallowUnwrapRef<{
306
+ setPosition: () => void;
307
+ elRef: Ref<HTMLElement | null>;
308
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
309
+ $slots: {
310
+ default?(_: {}): any;
311
+ };
312
+ }) | null>;
313
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
32
314
  "update:modelValue": (...args: any[]) => void;
33
315
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
34
316
  modelValue: {