rtcpts 0.0.35 → 0.0.37
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/components/j-c-editable-proxy/index.d.ts +19 -0
- package/dist/components/j-c-tree-select/index.d.ts +436 -196
- package/dist/components/j-q-confirm-dialog/index.d.ts +11 -16
- package/dist/components/j-q-dialog/form-rules.d.ts +16 -0
- package/dist/components/j-q-dialog/index.d.ts +16 -0
- package/dist/components/j-q-table/pagination.d.ts +20 -19
- package/dist/i18n/en-US/index.d.ts +16 -0
- package/dist/i18n/zh-CN/index.d.ts +16 -0
- package/dist/{index-C14R-iSJ.cjs → index-BrYPwI7i.cjs} +1 -1
- package/dist/{index-CAwB5s1l.cjs → index-C5mRo5Yi.cjs} +1 -1
- package/dist/{index-B6KqFV7z.js → index-DsQ7r9Ci.js} +17 -1
- package/dist/{index-Kpk8R0ya.js → index-s5XCGtM9.js} +17 -1
- package/dist/index.css +1 -1
- package/dist/rtcpt.cjs.js +1 -1
- package/dist/rtcpt.es.js +4651 -3084
- package/dist/types.d.ts +16 -0
- package/dist/utils/helper/array.d.ts +289 -0
- package/dist/utils/helper/dom.d.ts +281 -0
- package/dist/utils/helper/index.d.ts +11 -0
- package/dist/utils/helper/number.d.ts +250 -0
- package/dist/utils/helper/object.d.ts +240 -0
- package/dist/utils/helper/perf.d.ts +231 -0
- package/dist/utils/helper/regex.d.ts +265 -0
- package/dist/utils/helper/string.d.ts +248 -0
- package/dist/utils/helper/url.d.ts +259 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { QFieldProps, QTreeProps, QField, QIcon, QPopupProxy, QTree, ComponentConstructor, QInputProps, QInput } from 'quasar';
|
|
2
2
|
import { PropType, SlotsType, DefineComponent, ExtractPropTypes, Ref, CreateComponentPublicInstanceWithMixins, WritableComputedRef, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, GlobalComponents, GlobalDirectives } from 'vue';
|
|
3
3
|
import { t } from '../../composables/useI18n.ts';
|
|
4
|
-
import {
|
|
4
|
+
import { TooltipEffect, TooltipPlacement, TooltipTrigger } from '../..';
|
|
5
5
|
import { JCTooltipPlacementType, JCTooltipEffectType, JCTooltipTriggerType } from '../j-c-tooltip/types';
|
|
6
6
|
type ModelValue = (string | number)[];
|
|
7
7
|
type Option = Record<string, any>;
|
|
@@ -117,38 +117,23 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
117
117
|
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
118
118
|
leafOnly: boolean;
|
|
119
119
|
}, true, {}, {}, {
|
|
120
|
-
|
|
120
|
+
JCTooltipEllipsis: DefineComponent<ExtractPropTypes<{
|
|
121
121
|
content: {
|
|
122
122
|
type: StringConstructor;
|
|
123
123
|
default: string;
|
|
124
124
|
};
|
|
125
|
-
|
|
126
|
-
type:
|
|
125
|
+
contentStyle: {
|
|
126
|
+
type: StringConstructor;
|
|
127
127
|
default: string;
|
|
128
128
|
};
|
|
129
129
|
effect: {
|
|
130
130
|
type: PropType< TooltipEffect>;
|
|
131
131
|
default: string;
|
|
132
132
|
};
|
|
133
|
-
|
|
134
|
-
type: PropType< TooltipTrigger>;
|
|
135
|
-
default: string;
|
|
136
|
-
};
|
|
137
|
-
disabled: {
|
|
138
|
-
type: BooleanConstructor;
|
|
139
|
-
default: boolean;
|
|
140
|
-
};
|
|
141
|
-
showArrow: {
|
|
142
|
-
type: BooleanConstructor;
|
|
143
|
-
default: boolean;
|
|
144
|
-
};
|
|
145
|
-
openDelay: {
|
|
146
|
-
type: NumberConstructor;
|
|
147
|
-
default: number;
|
|
148
|
-
};
|
|
149
|
-
closeDelay: {
|
|
133
|
+
lines: {
|
|
150
134
|
type: NumberConstructor;
|
|
151
135
|
default: number;
|
|
136
|
+
validator: (value: number) => boolean;
|
|
152
137
|
};
|
|
153
138
|
maxWidth: {
|
|
154
139
|
type: StringConstructor;
|
|
@@ -158,54 +143,37 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
158
143
|
type: NumberConstructor;
|
|
159
144
|
default: number;
|
|
160
145
|
};
|
|
161
|
-
|
|
162
|
-
type:
|
|
163
|
-
default:
|
|
146
|
+
placement: {
|
|
147
|
+
type: PropType< TooltipPlacement>;
|
|
148
|
+
default: string;
|
|
164
149
|
};
|
|
165
150
|
}>, {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
arrowStyle: Ref<Record<string, string>, Record<string, string>>;
|
|
151
|
+
canShowTooltip: Ref<boolean, boolean>;
|
|
152
|
+
checkOverflow: (el: HTMLElement) => boolean;
|
|
153
|
+
computedStyle: ComputedRef<string>;
|
|
154
|
+
contentRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
155
|
+
ellipsisClass: ComputedRef<"ellipsis" | "ellipsis-multi">;
|
|
172
156
|
handleMouseEnter: () => void;
|
|
173
157
|
handleMouseLeave: () => void;
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly< ExtractPropTypes<{
|
|
158
|
+
isHovering: Ref<boolean, boolean>;
|
|
159
|
+
tooltipVisible: Ref<boolean, boolean>;
|
|
160
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
178
161
|
content: {
|
|
179
162
|
type: StringConstructor;
|
|
180
163
|
default: string;
|
|
181
164
|
};
|
|
182
|
-
|
|
183
|
-
type:
|
|
165
|
+
contentStyle: {
|
|
166
|
+
type: StringConstructor;
|
|
184
167
|
default: string;
|
|
185
168
|
};
|
|
186
169
|
effect: {
|
|
187
170
|
type: PropType< TooltipEffect>;
|
|
188
171
|
default: string;
|
|
189
172
|
};
|
|
190
|
-
|
|
191
|
-
type: PropType< TooltipTrigger>;
|
|
192
|
-
default: string;
|
|
193
|
-
};
|
|
194
|
-
disabled: {
|
|
195
|
-
type: BooleanConstructor;
|
|
196
|
-
default: boolean;
|
|
197
|
-
};
|
|
198
|
-
showArrow: {
|
|
199
|
-
type: BooleanConstructor;
|
|
200
|
-
default: boolean;
|
|
201
|
-
};
|
|
202
|
-
openDelay: {
|
|
203
|
-
type: NumberConstructor;
|
|
204
|
-
default: number;
|
|
205
|
-
};
|
|
206
|
-
closeDelay: {
|
|
173
|
+
lines: {
|
|
207
174
|
type: NumberConstructor;
|
|
208
175
|
default: number;
|
|
176
|
+
validator: (value: number) => boolean;
|
|
209
177
|
};
|
|
210
178
|
maxWidth: {
|
|
211
179
|
type: StringConstructor;
|
|
@@ -215,25 +183,137 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
215
183
|
type: NumberConstructor;
|
|
216
184
|
default: number;
|
|
217
185
|
};
|
|
218
|
-
|
|
219
|
-
type:
|
|
220
|
-
default:
|
|
186
|
+
placement: {
|
|
187
|
+
type: PropType< TooltipPlacement>;
|
|
188
|
+
default: string;
|
|
221
189
|
};
|
|
222
|
-
}>> & Readonly<{
|
|
223
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
224
|
-
}>, {
|
|
225
|
-
modelValue: boolean;
|
|
190
|
+
}>> & Readonly<{}>, {
|
|
226
191
|
content: string;
|
|
227
192
|
placement: JCTooltipPlacementType;
|
|
228
193
|
effect: JCTooltipEffectType;
|
|
229
|
-
trigger: JCTooltipTriggerType;
|
|
230
|
-
disabled: boolean;
|
|
231
|
-
showArrow: boolean;
|
|
232
|
-
openDelay: number;
|
|
233
|
-
closeDelay: number;
|
|
234
194
|
maxWidth: string;
|
|
235
195
|
offset: number;
|
|
236
|
-
|
|
196
|
+
lines: number;
|
|
197
|
+
contentStyle: string;
|
|
198
|
+
}, {}, {
|
|
199
|
+
JCTooltip: DefineComponent<ExtractPropTypes<{
|
|
200
|
+
content: {
|
|
201
|
+
type: StringConstructor;
|
|
202
|
+
default: string;
|
|
203
|
+
};
|
|
204
|
+
placement: {
|
|
205
|
+
type: PropType< TooltipPlacement>;
|
|
206
|
+
default: string;
|
|
207
|
+
};
|
|
208
|
+
effect: {
|
|
209
|
+
type: PropType< TooltipEffect>;
|
|
210
|
+
default: string;
|
|
211
|
+
};
|
|
212
|
+
trigger: {
|
|
213
|
+
type: PropType< TooltipTrigger>;
|
|
214
|
+
default: string;
|
|
215
|
+
};
|
|
216
|
+
disabled: {
|
|
217
|
+
type: BooleanConstructor;
|
|
218
|
+
default: boolean;
|
|
219
|
+
};
|
|
220
|
+
showArrow: {
|
|
221
|
+
type: BooleanConstructor;
|
|
222
|
+
default: boolean;
|
|
223
|
+
};
|
|
224
|
+
openDelay: {
|
|
225
|
+
type: NumberConstructor;
|
|
226
|
+
default: number;
|
|
227
|
+
};
|
|
228
|
+
closeDelay: {
|
|
229
|
+
type: NumberConstructor;
|
|
230
|
+
default: number;
|
|
231
|
+
};
|
|
232
|
+
maxWidth: {
|
|
233
|
+
type: StringConstructor;
|
|
234
|
+
default: string;
|
|
235
|
+
};
|
|
236
|
+
offset: {
|
|
237
|
+
type: NumberConstructor;
|
|
238
|
+
default: number;
|
|
239
|
+
};
|
|
240
|
+
modelValue: {
|
|
241
|
+
type: BooleanConstructor;
|
|
242
|
+
default: undefined;
|
|
243
|
+
};
|
|
244
|
+
}>, {
|
|
245
|
+
tooltipRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
246
|
+
popperRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
247
|
+
visible: Ref<boolean, boolean>;
|
|
248
|
+
currentPlacement: Ref<JCTooltipPlacementType, JCTooltipPlacementType>;
|
|
249
|
+
popperStyle: Ref<Record<string, string>, Record<string, string>>;
|
|
250
|
+
arrowStyle: Ref<Record<string, string>, Record<string, string>>;
|
|
251
|
+
handleMouseEnter: () => void;
|
|
252
|
+
handleMouseLeave: () => void;
|
|
253
|
+
handleClick: () => void;
|
|
254
|
+
handlePopperMouseEnter: () => void;
|
|
255
|
+
handlePopperMouseLeave: () => void;
|
|
256
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly< ExtractPropTypes<{
|
|
257
|
+
content: {
|
|
258
|
+
type: StringConstructor;
|
|
259
|
+
default: string;
|
|
260
|
+
};
|
|
261
|
+
placement: {
|
|
262
|
+
type: PropType< TooltipPlacement>;
|
|
263
|
+
default: string;
|
|
264
|
+
};
|
|
265
|
+
effect: {
|
|
266
|
+
type: PropType< TooltipEffect>;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
trigger: {
|
|
270
|
+
type: PropType< TooltipTrigger>;
|
|
271
|
+
default: string;
|
|
272
|
+
};
|
|
273
|
+
disabled: {
|
|
274
|
+
type: BooleanConstructor;
|
|
275
|
+
default: boolean;
|
|
276
|
+
};
|
|
277
|
+
showArrow: {
|
|
278
|
+
type: BooleanConstructor;
|
|
279
|
+
default: boolean;
|
|
280
|
+
};
|
|
281
|
+
openDelay: {
|
|
282
|
+
type: NumberConstructor;
|
|
283
|
+
default: number;
|
|
284
|
+
};
|
|
285
|
+
closeDelay: {
|
|
286
|
+
type: NumberConstructor;
|
|
287
|
+
default: number;
|
|
288
|
+
};
|
|
289
|
+
maxWidth: {
|
|
290
|
+
type: StringConstructor;
|
|
291
|
+
default: string;
|
|
292
|
+
};
|
|
293
|
+
offset: {
|
|
294
|
+
type: NumberConstructor;
|
|
295
|
+
default: number;
|
|
296
|
+
};
|
|
297
|
+
modelValue: {
|
|
298
|
+
type: BooleanConstructor;
|
|
299
|
+
default: undefined;
|
|
300
|
+
};
|
|
301
|
+
}>> & Readonly<{
|
|
302
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
303
|
+
}>, {
|
|
304
|
+
modelValue: boolean;
|
|
305
|
+
content: string;
|
|
306
|
+
placement: JCTooltipPlacementType;
|
|
307
|
+
effect: JCTooltipEffectType;
|
|
308
|
+
trigger: JCTooltipTriggerType;
|
|
309
|
+
disabled: boolean;
|
|
310
|
+
showArrow: boolean;
|
|
311
|
+
openDelay: number;
|
|
312
|
+
closeDelay: number;
|
|
313
|
+
maxWidth: string;
|
|
314
|
+
offset: number;
|
|
315
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
316
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
237
317
|
QTree: ComponentConstructor<QTree>;
|
|
238
318
|
} & GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
239
319
|
P: {};
|
|
@@ -327,38 +407,23 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
327
407
|
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
328
408
|
leafOnly: boolean;
|
|
329
409
|
}, true, {}, {}, {
|
|
330
|
-
|
|
410
|
+
JCTooltipEllipsis: DefineComponent<ExtractPropTypes<{
|
|
331
411
|
content: {
|
|
332
412
|
type: StringConstructor;
|
|
333
413
|
default: string;
|
|
334
414
|
};
|
|
335
|
-
|
|
336
|
-
type:
|
|
415
|
+
contentStyle: {
|
|
416
|
+
type: StringConstructor;
|
|
337
417
|
default: string;
|
|
338
418
|
};
|
|
339
419
|
effect: {
|
|
340
420
|
type: PropType< TooltipEffect>;
|
|
341
421
|
default: string;
|
|
342
422
|
};
|
|
343
|
-
|
|
344
|
-
type: PropType< TooltipTrigger>;
|
|
345
|
-
default: string;
|
|
346
|
-
};
|
|
347
|
-
disabled: {
|
|
348
|
-
type: BooleanConstructor;
|
|
349
|
-
default: boolean;
|
|
350
|
-
};
|
|
351
|
-
showArrow: {
|
|
352
|
-
type: BooleanConstructor;
|
|
353
|
-
default: boolean;
|
|
354
|
-
};
|
|
355
|
-
openDelay: {
|
|
356
|
-
type: NumberConstructor;
|
|
357
|
-
default: number;
|
|
358
|
-
};
|
|
359
|
-
closeDelay: {
|
|
423
|
+
lines: {
|
|
360
424
|
type: NumberConstructor;
|
|
361
425
|
default: number;
|
|
426
|
+
validator: (value: number) => boolean;
|
|
362
427
|
};
|
|
363
428
|
maxWidth: {
|
|
364
429
|
type: StringConstructor;
|
|
@@ -368,54 +433,37 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
368
433
|
type: NumberConstructor;
|
|
369
434
|
default: number;
|
|
370
435
|
};
|
|
371
|
-
|
|
372
|
-
type:
|
|
373
|
-
default:
|
|
436
|
+
placement: {
|
|
437
|
+
type: PropType< TooltipPlacement>;
|
|
438
|
+
default: string;
|
|
374
439
|
};
|
|
375
440
|
}>, {
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
arrowStyle: Ref<Record<string, string>, Record<string, string>>;
|
|
441
|
+
canShowTooltip: Ref<boolean, boolean>;
|
|
442
|
+
checkOverflow: (el: HTMLElement) => boolean;
|
|
443
|
+
computedStyle: ComputedRef<string>;
|
|
444
|
+
contentRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
445
|
+
ellipsisClass: ComputedRef<"ellipsis" | "ellipsis-multi">;
|
|
382
446
|
handleMouseEnter: () => void;
|
|
383
447
|
handleMouseLeave: () => void;
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly< ExtractPropTypes<{
|
|
448
|
+
isHovering: Ref<boolean, boolean>;
|
|
449
|
+
tooltipVisible: Ref<boolean, boolean>;
|
|
450
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
388
451
|
content: {
|
|
389
452
|
type: StringConstructor;
|
|
390
453
|
default: string;
|
|
391
454
|
};
|
|
392
|
-
|
|
393
|
-
type:
|
|
455
|
+
contentStyle: {
|
|
456
|
+
type: StringConstructor;
|
|
394
457
|
default: string;
|
|
395
458
|
};
|
|
396
459
|
effect: {
|
|
397
460
|
type: PropType< TooltipEffect>;
|
|
398
461
|
default: string;
|
|
399
462
|
};
|
|
400
|
-
|
|
401
|
-
type: PropType< TooltipTrigger>;
|
|
402
|
-
default: string;
|
|
403
|
-
};
|
|
404
|
-
disabled: {
|
|
405
|
-
type: BooleanConstructor;
|
|
406
|
-
default: boolean;
|
|
407
|
-
};
|
|
408
|
-
showArrow: {
|
|
409
|
-
type: BooleanConstructor;
|
|
410
|
-
default: boolean;
|
|
411
|
-
};
|
|
412
|
-
openDelay: {
|
|
413
|
-
type: NumberConstructor;
|
|
414
|
-
default: number;
|
|
415
|
-
};
|
|
416
|
-
closeDelay: {
|
|
463
|
+
lines: {
|
|
417
464
|
type: NumberConstructor;
|
|
418
465
|
default: number;
|
|
466
|
+
validator: (value: number) => boolean;
|
|
419
467
|
};
|
|
420
468
|
maxWidth: {
|
|
421
469
|
type: StringConstructor;
|
|
@@ -425,25 +473,137 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
425
473
|
type: NumberConstructor;
|
|
426
474
|
default: number;
|
|
427
475
|
};
|
|
428
|
-
|
|
429
|
-
type:
|
|
430
|
-
default:
|
|
476
|
+
placement: {
|
|
477
|
+
type: PropType< TooltipPlacement>;
|
|
478
|
+
default: string;
|
|
431
479
|
};
|
|
432
|
-
}>> & Readonly<{
|
|
433
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
434
|
-
}>, {
|
|
435
|
-
modelValue: boolean;
|
|
480
|
+
}>> & Readonly<{}>, {
|
|
436
481
|
content: string;
|
|
437
482
|
placement: JCTooltipPlacementType;
|
|
438
483
|
effect: JCTooltipEffectType;
|
|
439
|
-
trigger: JCTooltipTriggerType;
|
|
440
|
-
disabled: boolean;
|
|
441
|
-
showArrow: boolean;
|
|
442
|
-
openDelay: number;
|
|
443
|
-
closeDelay: number;
|
|
444
484
|
maxWidth: string;
|
|
445
485
|
offset: number;
|
|
446
|
-
|
|
486
|
+
lines: number;
|
|
487
|
+
contentStyle: string;
|
|
488
|
+
}, {}, {
|
|
489
|
+
JCTooltip: DefineComponent<ExtractPropTypes<{
|
|
490
|
+
content: {
|
|
491
|
+
type: StringConstructor;
|
|
492
|
+
default: string;
|
|
493
|
+
};
|
|
494
|
+
placement: {
|
|
495
|
+
type: PropType< TooltipPlacement>;
|
|
496
|
+
default: string;
|
|
497
|
+
};
|
|
498
|
+
effect: {
|
|
499
|
+
type: PropType< TooltipEffect>;
|
|
500
|
+
default: string;
|
|
501
|
+
};
|
|
502
|
+
trigger: {
|
|
503
|
+
type: PropType< TooltipTrigger>;
|
|
504
|
+
default: string;
|
|
505
|
+
};
|
|
506
|
+
disabled: {
|
|
507
|
+
type: BooleanConstructor;
|
|
508
|
+
default: boolean;
|
|
509
|
+
};
|
|
510
|
+
showArrow: {
|
|
511
|
+
type: BooleanConstructor;
|
|
512
|
+
default: boolean;
|
|
513
|
+
};
|
|
514
|
+
openDelay: {
|
|
515
|
+
type: NumberConstructor;
|
|
516
|
+
default: number;
|
|
517
|
+
};
|
|
518
|
+
closeDelay: {
|
|
519
|
+
type: NumberConstructor;
|
|
520
|
+
default: number;
|
|
521
|
+
};
|
|
522
|
+
maxWidth: {
|
|
523
|
+
type: StringConstructor;
|
|
524
|
+
default: string;
|
|
525
|
+
};
|
|
526
|
+
offset: {
|
|
527
|
+
type: NumberConstructor;
|
|
528
|
+
default: number;
|
|
529
|
+
};
|
|
530
|
+
modelValue: {
|
|
531
|
+
type: BooleanConstructor;
|
|
532
|
+
default: undefined;
|
|
533
|
+
};
|
|
534
|
+
}>, {
|
|
535
|
+
tooltipRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
536
|
+
popperRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
537
|
+
visible: Ref<boolean, boolean>;
|
|
538
|
+
currentPlacement: Ref<JCTooltipPlacementType, JCTooltipPlacementType>;
|
|
539
|
+
popperStyle: Ref<Record<string, string>, Record<string, string>>;
|
|
540
|
+
arrowStyle: Ref<Record<string, string>, Record<string, string>>;
|
|
541
|
+
handleMouseEnter: () => void;
|
|
542
|
+
handleMouseLeave: () => void;
|
|
543
|
+
handleClick: () => void;
|
|
544
|
+
handlePopperMouseEnter: () => void;
|
|
545
|
+
handlePopperMouseLeave: () => void;
|
|
546
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly< ExtractPropTypes<{
|
|
547
|
+
content: {
|
|
548
|
+
type: StringConstructor;
|
|
549
|
+
default: string;
|
|
550
|
+
};
|
|
551
|
+
placement: {
|
|
552
|
+
type: PropType< TooltipPlacement>;
|
|
553
|
+
default: string;
|
|
554
|
+
};
|
|
555
|
+
effect: {
|
|
556
|
+
type: PropType< TooltipEffect>;
|
|
557
|
+
default: string;
|
|
558
|
+
};
|
|
559
|
+
trigger: {
|
|
560
|
+
type: PropType< TooltipTrigger>;
|
|
561
|
+
default: string;
|
|
562
|
+
};
|
|
563
|
+
disabled: {
|
|
564
|
+
type: BooleanConstructor;
|
|
565
|
+
default: boolean;
|
|
566
|
+
};
|
|
567
|
+
showArrow: {
|
|
568
|
+
type: BooleanConstructor;
|
|
569
|
+
default: boolean;
|
|
570
|
+
};
|
|
571
|
+
openDelay: {
|
|
572
|
+
type: NumberConstructor;
|
|
573
|
+
default: number;
|
|
574
|
+
};
|
|
575
|
+
closeDelay: {
|
|
576
|
+
type: NumberConstructor;
|
|
577
|
+
default: number;
|
|
578
|
+
};
|
|
579
|
+
maxWidth: {
|
|
580
|
+
type: StringConstructor;
|
|
581
|
+
default: string;
|
|
582
|
+
};
|
|
583
|
+
offset: {
|
|
584
|
+
type: NumberConstructor;
|
|
585
|
+
default: number;
|
|
586
|
+
};
|
|
587
|
+
modelValue: {
|
|
588
|
+
type: BooleanConstructor;
|
|
589
|
+
default: undefined;
|
|
590
|
+
};
|
|
591
|
+
}>> & Readonly<{
|
|
592
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
593
|
+
}>, {
|
|
594
|
+
modelValue: boolean;
|
|
595
|
+
content: string;
|
|
596
|
+
placement: JCTooltipPlacementType;
|
|
597
|
+
effect: JCTooltipEffectType;
|
|
598
|
+
trigger: JCTooltipTriggerType;
|
|
599
|
+
disabled: boolean;
|
|
600
|
+
showArrow: boolean;
|
|
601
|
+
openDelay: number;
|
|
602
|
+
closeDelay: number;
|
|
603
|
+
maxWidth: string;
|
|
604
|
+
offset: number;
|
|
605
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
606
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
447
607
|
QTree: ComponentConstructor<QTree>;
|
|
448
608
|
} & GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
449
609
|
P: {};
|
|
@@ -844,38 +1004,23 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
844
1004
|
tickStrategy: "none" | "strict" | "leaf" | "leaf-filtered" | undefined;
|
|
845
1005
|
leafOnly: boolean;
|
|
846
1006
|
}, {}, {
|
|
847
|
-
|
|
1007
|
+
JCTooltipEllipsis: DefineComponent<ExtractPropTypes<{
|
|
848
1008
|
content: {
|
|
849
1009
|
type: StringConstructor;
|
|
850
1010
|
default: string;
|
|
851
1011
|
};
|
|
852
|
-
|
|
853
|
-
type:
|
|
1012
|
+
contentStyle: {
|
|
1013
|
+
type: StringConstructor;
|
|
854
1014
|
default: string;
|
|
855
1015
|
};
|
|
856
1016
|
effect: {
|
|
857
1017
|
type: PropType< TooltipEffect>;
|
|
858
1018
|
default: string;
|
|
859
1019
|
};
|
|
860
|
-
|
|
861
|
-
type: PropType< TooltipTrigger>;
|
|
862
|
-
default: string;
|
|
863
|
-
};
|
|
864
|
-
disabled: {
|
|
865
|
-
type: BooleanConstructor;
|
|
866
|
-
default: boolean;
|
|
867
|
-
};
|
|
868
|
-
showArrow: {
|
|
869
|
-
type: BooleanConstructor;
|
|
870
|
-
default: boolean;
|
|
871
|
-
};
|
|
872
|
-
openDelay: {
|
|
873
|
-
type: NumberConstructor;
|
|
874
|
-
default: number;
|
|
875
|
-
};
|
|
876
|
-
closeDelay: {
|
|
1020
|
+
lines: {
|
|
877
1021
|
type: NumberConstructor;
|
|
878
1022
|
default: number;
|
|
1023
|
+
validator: (value: number) => boolean;
|
|
879
1024
|
};
|
|
880
1025
|
maxWidth: {
|
|
881
1026
|
type: StringConstructor;
|
|
@@ -885,54 +1030,37 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
885
1030
|
type: NumberConstructor;
|
|
886
1031
|
default: number;
|
|
887
1032
|
};
|
|
888
|
-
|
|
889
|
-
type:
|
|
890
|
-
default:
|
|
1033
|
+
placement: {
|
|
1034
|
+
type: PropType< TooltipPlacement>;
|
|
1035
|
+
default: string;
|
|
891
1036
|
};
|
|
892
1037
|
}>, {
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
arrowStyle: Ref<Record<string, string>, Record<string, string>>;
|
|
1038
|
+
canShowTooltip: Ref<boolean, boolean>;
|
|
1039
|
+
checkOverflow: (el: HTMLElement) => boolean;
|
|
1040
|
+
computedStyle: ComputedRef<string>;
|
|
1041
|
+
contentRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
1042
|
+
ellipsisClass: ComputedRef<"ellipsis" | "ellipsis-multi">;
|
|
899
1043
|
handleMouseEnter: () => void;
|
|
900
1044
|
handleMouseLeave: () => void;
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly< ExtractPropTypes<{
|
|
1045
|
+
isHovering: Ref<boolean, boolean>;
|
|
1046
|
+
tooltipVisible: Ref<boolean, boolean>;
|
|
1047
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
905
1048
|
content: {
|
|
906
1049
|
type: StringConstructor;
|
|
907
1050
|
default: string;
|
|
908
1051
|
};
|
|
909
|
-
|
|
910
|
-
type:
|
|
1052
|
+
contentStyle: {
|
|
1053
|
+
type: StringConstructor;
|
|
911
1054
|
default: string;
|
|
912
1055
|
};
|
|
913
1056
|
effect: {
|
|
914
1057
|
type: PropType< TooltipEffect>;
|
|
915
1058
|
default: string;
|
|
916
1059
|
};
|
|
917
|
-
|
|
918
|
-
type: PropType< TooltipTrigger>;
|
|
919
|
-
default: string;
|
|
920
|
-
};
|
|
921
|
-
disabled: {
|
|
922
|
-
type: BooleanConstructor;
|
|
923
|
-
default: boolean;
|
|
924
|
-
};
|
|
925
|
-
showArrow: {
|
|
926
|
-
type: BooleanConstructor;
|
|
927
|
-
default: boolean;
|
|
928
|
-
};
|
|
929
|
-
openDelay: {
|
|
930
|
-
type: NumberConstructor;
|
|
931
|
-
default: number;
|
|
932
|
-
};
|
|
933
|
-
closeDelay: {
|
|
1060
|
+
lines: {
|
|
934
1061
|
type: NumberConstructor;
|
|
935
1062
|
default: number;
|
|
1063
|
+
validator: (value: number) => boolean;
|
|
936
1064
|
};
|
|
937
1065
|
maxWidth: {
|
|
938
1066
|
type: StringConstructor;
|
|
@@ -942,25 +1070,137 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
942
1070
|
type: NumberConstructor;
|
|
943
1071
|
default: number;
|
|
944
1072
|
};
|
|
945
|
-
|
|
946
|
-
type:
|
|
947
|
-
default:
|
|
1073
|
+
placement: {
|
|
1074
|
+
type: PropType< TooltipPlacement>;
|
|
1075
|
+
default: string;
|
|
948
1076
|
};
|
|
949
|
-
}>> & Readonly<{
|
|
950
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
951
|
-
}>, {
|
|
952
|
-
modelValue: boolean;
|
|
1077
|
+
}>> & Readonly<{}>, {
|
|
953
1078
|
content: string;
|
|
954
1079
|
placement: JCTooltipPlacementType;
|
|
955
1080
|
effect: JCTooltipEffectType;
|
|
956
|
-
trigger: JCTooltipTriggerType;
|
|
957
|
-
disabled: boolean;
|
|
958
|
-
showArrow: boolean;
|
|
959
|
-
openDelay: number;
|
|
960
|
-
closeDelay: number;
|
|
961
1081
|
maxWidth: string;
|
|
962
1082
|
offset: number;
|
|
963
|
-
|
|
1083
|
+
lines: number;
|
|
1084
|
+
contentStyle: string;
|
|
1085
|
+
}, {}, {
|
|
1086
|
+
JCTooltip: DefineComponent<ExtractPropTypes<{
|
|
1087
|
+
content: {
|
|
1088
|
+
type: StringConstructor;
|
|
1089
|
+
default: string;
|
|
1090
|
+
};
|
|
1091
|
+
placement: {
|
|
1092
|
+
type: PropType< TooltipPlacement>;
|
|
1093
|
+
default: string;
|
|
1094
|
+
};
|
|
1095
|
+
effect: {
|
|
1096
|
+
type: PropType< TooltipEffect>;
|
|
1097
|
+
default: string;
|
|
1098
|
+
};
|
|
1099
|
+
trigger: {
|
|
1100
|
+
type: PropType< TooltipTrigger>;
|
|
1101
|
+
default: string;
|
|
1102
|
+
};
|
|
1103
|
+
disabled: {
|
|
1104
|
+
type: BooleanConstructor;
|
|
1105
|
+
default: boolean;
|
|
1106
|
+
};
|
|
1107
|
+
showArrow: {
|
|
1108
|
+
type: BooleanConstructor;
|
|
1109
|
+
default: boolean;
|
|
1110
|
+
};
|
|
1111
|
+
openDelay: {
|
|
1112
|
+
type: NumberConstructor;
|
|
1113
|
+
default: number;
|
|
1114
|
+
};
|
|
1115
|
+
closeDelay: {
|
|
1116
|
+
type: NumberConstructor;
|
|
1117
|
+
default: number;
|
|
1118
|
+
};
|
|
1119
|
+
maxWidth: {
|
|
1120
|
+
type: StringConstructor;
|
|
1121
|
+
default: string;
|
|
1122
|
+
};
|
|
1123
|
+
offset: {
|
|
1124
|
+
type: NumberConstructor;
|
|
1125
|
+
default: number;
|
|
1126
|
+
};
|
|
1127
|
+
modelValue: {
|
|
1128
|
+
type: BooleanConstructor;
|
|
1129
|
+
default: undefined;
|
|
1130
|
+
};
|
|
1131
|
+
}>, {
|
|
1132
|
+
tooltipRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
1133
|
+
popperRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
1134
|
+
visible: Ref<boolean, boolean>;
|
|
1135
|
+
currentPlacement: Ref<JCTooltipPlacementType, JCTooltipPlacementType>;
|
|
1136
|
+
popperStyle: Ref<Record<string, string>, Record<string, string>>;
|
|
1137
|
+
arrowStyle: Ref<Record<string, string>, Record<string, string>>;
|
|
1138
|
+
handleMouseEnter: () => void;
|
|
1139
|
+
handleMouseLeave: () => void;
|
|
1140
|
+
handleClick: () => void;
|
|
1141
|
+
handlePopperMouseEnter: () => void;
|
|
1142
|
+
handlePopperMouseLeave: () => void;
|
|
1143
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", PublicProps, Readonly< ExtractPropTypes<{
|
|
1144
|
+
content: {
|
|
1145
|
+
type: StringConstructor;
|
|
1146
|
+
default: string;
|
|
1147
|
+
};
|
|
1148
|
+
placement: {
|
|
1149
|
+
type: PropType< TooltipPlacement>;
|
|
1150
|
+
default: string;
|
|
1151
|
+
};
|
|
1152
|
+
effect: {
|
|
1153
|
+
type: PropType< TooltipEffect>;
|
|
1154
|
+
default: string;
|
|
1155
|
+
};
|
|
1156
|
+
trigger: {
|
|
1157
|
+
type: PropType< TooltipTrigger>;
|
|
1158
|
+
default: string;
|
|
1159
|
+
};
|
|
1160
|
+
disabled: {
|
|
1161
|
+
type: BooleanConstructor;
|
|
1162
|
+
default: boolean;
|
|
1163
|
+
};
|
|
1164
|
+
showArrow: {
|
|
1165
|
+
type: BooleanConstructor;
|
|
1166
|
+
default: boolean;
|
|
1167
|
+
};
|
|
1168
|
+
openDelay: {
|
|
1169
|
+
type: NumberConstructor;
|
|
1170
|
+
default: number;
|
|
1171
|
+
};
|
|
1172
|
+
closeDelay: {
|
|
1173
|
+
type: NumberConstructor;
|
|
1174
|
+
default: number;
|
|
1175
|
+
};
|
|
1176
|
+
maxWidth: {
|
|
1177
|
+
type: StringConstructor;
|
|
1178
|
+
default: string;
|
|
1179
|
+
};
|
|
1180
|
+
offset: {
|
|
1181
|
+
type: NumberConstructor;
|
|
1182
|
+
default: number;
|
|
1183
|
+
};
|
|
1184
|
+
modelValue: {
|
|
1185
|
+
type: BooleanConstructor;
|
|
1186
|
+
default: undefined;
|
|
1187
|
+
};
|
|
1188
|
+
}>> & Readonly<{
|
|
1189
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1190
|
+
}>, {
|
|
1191
|
+
modelValue: boolean;
|
|
1192
|
+
content: string;
|
|
1193
|
+
placement: JCTooltipPlacementType;
|
|
1194
|
+
effect: JCTooltipEffectType;
|
|
1195
|
+
trigger: JCTooltipTriggerType;
|
|
1196
|
+
disabled: boolean;
|
|
1197
|
+
showArrow: boolean;
|
|
1198
|
+
openDelay: number;
|
|
1199
|
+
closeDelay: number;
|
|
1200
|
+
maxWidth: string;
|
|
1201
|
+
offset: number;
|
|
1202
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1203
|
+
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
964
1204
|
QTree: ComponentConstructor<QTree>;
|
|
965
1205
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
966
1206
|
QField: ComponentConstructor<QField>;
|