rtcpts 0.0.51 → 0.0.53

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.
@@ -336,6 +336,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
336
336
  type: BooleanConstructor;
337
337
  default: boolean;
338
338
  };
339
+ preserveLeadingSpace: {
340
+ type: BooleanConstructor;
341
+ default: boolean;
342
+ };
339
343
  }>, {
340
344
  t: t;
341
345
  innerModel: Ref<string | number | {
@@ -453,6 +457,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
453
457
  type: BooleanConstructor;
454
458
  default: boolean;
455
459
  };
460
+ preserveLeadingSpace: {
461
+ type: BooleanConstructor;
462
+ default: boolean;
463
+ };
456
464
  }>> & Readonly<{
457
465
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
458
466
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -464,6 +472,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
464
472
  readonly: boolean;
465
473
  customType: "text" | "password" | "secret";
466
474
  smInput: boolean;
475
+ preserveLeadingSpace: boolean;
467
476
  }, SlotsType<{
468
477
  after?: void | undefined;
469
478
  append?: void | undefined;
@@ -797,6 +797,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
797
797
  type: BooleanConstructor;
798
798
  default: boolean;
799
799
  };
800
+ preserveLeadingSpace: {
801
+ type: BooleanConstructor;
802
+ default: boolean;
803
+ };
800
804
  }>, {
801
805
  t: t;
802
806
  innerModel: Ref<string | number | {
@@ -914,6 +918,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
914
918
  type: BooleanConstructor;
915
919
  default: boolean;
916
920
  };
921
+ preserveLeadingSpace: {
922
+ type: BooleanConstructor;
923
+ default: boolean;
924
+ };
917
925
  }>> & Readonly<{
918
926
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
919
927
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -925,6 +933,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
925
933
  readonly: boolean;
926
934
  customType: "text" | "password" | "secret";
927
935
  smInput: boolean;
936
+ preserveLeadingSpace: boolean;
928
937
  }, SlotsType<{
929
938
  after?: void | undefined;
930
939
  append?: void | undefined;
@@ -102,6 +102,7 @@ export interface JQDialogRegisterProps {
102
102
  title?: string;
103
103
  maxWidth?: string | number;
104
104
  minHeight?: string | number;
105
+ dialogClass?: string | string[] | Record<string, boolean>;
105
106
  dialogType?: DialogType;
106
107
  text?: TextInputConfig;
107
108
  textarea?: TextareaInputConfig;
@@ -113,6 +113,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
113
113
  type: BooleanConstructor;
114
114
  default: boolean;
115
115
  };
116
+ preserveLeadingSpace: {
117
+ type: BooleanConstructor;
118
+ default: boolean;
119
+ };
116
120
  }>> & Readonly<{
117
121
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
118
122
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -191,6 +195,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
191
195
  readonly: boolean;
192
196
  customType: "text" | "password" | "secret";
193
197
  smInput: boolean;
198
+ preserveLeadingSpace: boolean;
194
199
  }, true, {}, SlotsType<{
195
200
  after?: void | undefined;
196
201
  append?: void | undefined;
@@ -255,6 +260,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
255
260
  type: BooleanConstructor;
256
261
  default: boolean;
257
262
  };
263
+ preserveLeadingSpace: {
264
+ type: BooleanConstructor;
265
+ default: boolean;
266
+ };
258
267
  }>> & Readonly<{
259
268
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
260
269
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -330,6 +339,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
330
339
  readonly: boolean;
331
340
  customType: "text" | "password" | "secret";
332
341
  smInput: boolean;
342
+ preserveLeadingSpace: boolean;
333
343
  }> | null, CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
334
344
  modelValue: {
335
345
  type: PropType<string | number | FileList | null | undefined>;
@@ -380,6 +390,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
380
390
  type: BooleanConstructor;
381
391
  default: boolean;
382
392
  };
393
+ preserveLeadingSpace: {
394
+ type: BooleanConstructor;
395
+ default: boolean;
396
+ };
383
397
  }>> & Readonly<{
384
398
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
385
399
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -458,6 +472,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
458
472
  readonly: boolean;
459
473
  customType: "text" | "password" | "secret";
460
474
  smInput: boolean;
475
+ preserveLeadingSpace: boolean;
461
476
  }, true, {}, SlotsType<{
462
477
  after?: void | undefined;
463
478
  append?: void | undefined;
@@ -522,6 +537,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
522
537
  type: BooleanConstructor;
523
538
  default: boolean;
524
539
  };
540
+ preserveLeadingSpace: {
541
+ type: BooleanConstructor;
542
+ default: boolean;
543
+ };
525
544
  }>> & Readonly<{
526
545
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
527
546
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -597,6 +616,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
597
616
  readonly: boolean;
598
617
  customType: "text" | "password" | "secret";
599
618
  smInput: boolean;
619
+ preserveLeadingSpace: boolean;
600
620
  }> | null>;
601
621
  selectRef: Ref< CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
602
622
  modelValue: {
@@ -692,6 +712,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
692
712
  type: BooleanConstructor;
693
713
  default: boolean;
694
714
  };
715
+ scrollTarget: {
716
+ type: PropType<string | Element>;
717
+ default: string;
718
+ };
695
719
  }>> & Readonly<{
696
720
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
697
721
  "onManual-change"?: ((value: any) => any) | undefined;
@@ -718,6 +742,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
718
742
  'value-display'?: Slot<void | undefined> | undefined;
719
743
  }>;
720
744
  handleManualChange: (val: any) => void;
745
+ onPopupShow: () => void;
746
+ onPopupHide: () => void;
721
747
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
722
748
  'update:modelValue': (value: any) => true;
723
749
  'manual-change': (value: any) => true;
@@ -736,6 +762,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
736
762
  options: any[];
737
763
  optionLabel: string;
738
764
  optionValue: string;
765
+ scrollTarget: string | Element;
739
766
  }, true, {}, SlotsType<{
740
767
  prepend?: void | undefined;
741
768
  after?: void | undefined;
@@ -852,6 +879,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
852
879
  type: BooleanConstructor;
853
880
  default: boolean;
854
881
  };
882
+ scrollTarget: {
883
+ type: PropType<string | Element>;
884
+ default: string;
885
+ };
855
886
  }>> & Readonly<{
856
887
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
857
888
  "onManual-change"?: ((value: any) => any) | undefined;
@@ -878,6 +909,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
878
909
  'value-display'?: Slot<void | undefined> | undefined;
879
910
  }>;
880
911
  handleManualChange: (val: any) => void;
912
+ onPopupShow: () => void;
913
+ onPopupHide: () => void;
881
914
  }, {}, {}, {}, {
882
915
  dense: boolean | undefined;
883
916
  outlined: boolean | undefined;
@@ -893,6 +926,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
893
926
  options: any[];
894
927
  optionLabel: string;
895
928
  optionValue: string;
929
+ scrollTarget: string | Element;
896
930
  }> | null, CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
897
931
  modelValue: {
898
932
  type: PropType<any>;
@@ -987,6 +1021,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
987
1021
  type: BooleanConstructor;
988
1022
  default: boolean;
989
1023
  };
1024
+ scrollTarget: {
1025
+ type: PropType<string | Element>;
1026
+ default: string;
1027
+ };
990
1028
  }>> & Readonly<{
991
1029
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
992
1030
  "onManual-change"?: ((value: any) => any) | undefined;
@@ -1013,6 +1051,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1013
1051
  'value-display'?: Slot<void | undefined> | undefined;
1014
1052
  }>;
1015
1053
  handleManualChange: (val: any) => void;
1054
+ onPopupShow: () => void;
1055
+ onPopupHide: () => void;
1016
1056
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1017
1057
  'update:modelValue': (value: any) => true;
1018
1058
  'manual-change': (value: any) => true;
@@ -1031,6 +1071,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1031
1071
  options: any[];
1032
1072
  optionLabel: string;
1033
1073
  optionValue: string;
1074
+ scrollTarget: string | Element;
1034
1075
  }, true, {}, SlotsType<{
1035
1076
  prepend?: void | undefined;
1036
1077
  after?: void | undefined;
@@ -1147,6 +1188,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1147
1188
  type: BooleanConstructor;
1148
1189
  default: boolean;
1149
1190
  };
1191
+ scrollTarget: {
1192
+ type: PropType<string | Element>;
1193
+ default: string;
1194
+ };
1150
1195
  }>> & Readonly<{
1151
1196
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
1152
1197
  "onManual-change"?: ((value: any) => any) | undefined;
@@ -1173,6 +1218,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1173
1218
  'value-display'?: Slot<void | undefined> | undefined;
1174
1219
  }>;
1175
1220
  handleManualChange: (val: any) => void;
1221
+ onPopupShow: () => void;
1222
+ onPopupHide: () => void;
1176
1223
  }, {}, {}, {}, {
1177
1224
  dense: boolean | undefined;
1178
1225
  outlined: boolean | undefined;
@@ -1188,6 +1235,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1188
1235
  options: any[];
1189
1236
  optionLabel: string;
1190
1237
  optionValue: string;
1238
+ scrollTarget: string | Element;
1191
1239
  }> | null>;
1192
1240
  inputValue: Ref<any, any>;
1193
1241
  onEnterKey: () => void;
@@ -1320,6 +1368,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1320
1368
  type: BooleanConstructor;
1321
1369
  default: boolean;
1322
1370
  };
1371
+ preserveLeadingSpace: {
1372
+ type: BooleanConstructor;
1373
+ default: boolean;
1374
+ };
1323
1375
  }>, {
1324
1376
  t: t;
1325
1377
  innerModel: Ref<string | number | {
@@ -1437,6 +1489,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1437
1489
  type: BooleanConstructor;
1438
1490
  default: boolean;
1439
1491
  };
1492
+ preserveLeadingSpace: {
1493
+ type: BooleanConstructor;
1494
+ default: boolean;
1495
+ };
1440
1496
  }>> & Readonly<{
1441
1497
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
1442
1498
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -1448,6 +1504,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1448
1504
  readonly: boolean;
1449
1505
  customType: "text" | "password" | "secret";
1450
1506
  smInput: boolean;
1507
+ preserveLeadingSpace: boolean;
1451
1508
  }, SlotsType<{
1452
1509
  after?: void | undefined;
1453
1510
  append?: void | undefined;
@@ -1550,6 +1607,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1550
1607
  type: BooleanConstructor;
1551
1608
  default: boolean;
1552
1609
  };
1610
+ scrollTarget: {
1611
+ type: PropType<string | Element>;
1612
+ default: string;
1613
+ };
1553
1614
  }>, {
1554
1615
  t: t;
1555
1616
  qSelectRef: Ref< QSelect | null, QSelect | null>;
@@ -1573,6 +1634,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1573
1634
  'value-display'?: Slot<void | undefined> | undefined;
1574
1635
  }>;
1575
1636
  handleManualChange: (val: any) => void;
1637
+ onPopupShow: () => void;
1638
+ onPopupHide: () => void;
1576
1639
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1577
1640
  'update:modelValue': (value: any) => true;
1578
1641
  'manual-change': (value: any) => true;
@@ -1670,6 +1733,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1670
1733
  type: BooleanConstructor;
1671
1734
  default: boolean;
1672
1735
  };
1736
+ scrollTarget: {
1737
+ type: PropType<string | Element>;
1738
+ default: string;
1739
+ };
1673
1740
  }>> & Readonly<{
1674
1741
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
1675
1742
  "onManual-change"?: ((value: any) => any) | undefined;
@@ -1688,6 +1755,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
1688
1755
  options: any[];
1689
1756
  optionLabel: string;
1690
1757
  optionValue: string;
1758
+ scrollTarget: string | Element;
1691
1759
  }, SlotsType<{
1692
1760
  prepend?: void | undefined;
1693
1761
  after?: void | undefined;
@@ -79,6 +79,10 @@ export interface JQDialogProps {
79
79
  * @default 320
80
80
  */
81
81
  minHeight?: string | number;
82
+ /**
83
+ * 追加在对话框根节点(q-dialog)上的 class
84
+ */
85
+ dialogClass?: string | string[] | Record<string, boolean>;
82
86
  }
83
87
  /** JQDialog Emits 接口 */
84
88
  export interface JQDialogEmits {
@@ -55,6 +55,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
55
55
  type: BooleanConstructor;
56
56
  default: boolean;
57
57
  };
58
+ preserveLeadingSpace: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
58
62
  }>, {
59
63
  t: t;
60
64
  innerModel: Ref<string | number | {
@@ -172,6 +176,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
172
176
  type: BooleanConstructor;
173
177
  default: boolean;
174
178
  };
179
+ preserveLeadingSpace: {
180
+ type: BooleanConstructor;
181
+ default: boolean;
182
+ };
175
183
  }>> & Readonly<{
176
184
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
177
185
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -183,6 +191,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
183
191
  readonly: boolean;
184
192
  customType: TCustomType;
185
193
  smInput: boolean;
194
+ preserveLeadingSpace: boolean;
186
195
  }, SlotsType<{
187
196
  after?: void | undefined;
188
197
  append?: void | undefined;
@@ -72,6 +72,11 @@ export interface JQInputProps {
72
72
  * @default false
73
73
  */
74
74
  smInput?: boolean;
75
+ /**
76
+ * 是否保留前导空格(为 true 时不做 trimStart;与 maxlength 并存时前导空格仍计入长度)
77
+ * @default false
78
+ */
79
+ preserveLeadingSpace?: boolean;
75
80
  }
76
81
  /** JQInput Emits 接口 */
77
82
  export interface JQInputEmits {
@@ -123,6 +123,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
123
123
  type: BooleanConstructor;
124
124
  default: boolean;
125
125
  };
126
+ preserveLeadingSpace: {
127
+ type: BooleanConstructor;
128
+ default: boolean;
129
+ };
126
130
  }>> & Readonly<{
127
131
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
128
132
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -201,6 +205,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
201
205
  readonly: boolean;
202
206
  customType: "text" | "password" | "secret";
203
207
  smInput: boolean;
208
+ preserveLeadingSpace: boolean;
204
209
  }, true, {}, SlotsType<{
205
210
  after?: void | undefined;
206
211
  append?: void | undefined;
@@ -265,6 +270,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
265
270
  type: BooleanConstructor;
266
271
  default: boolean;
267
272
  };
273
+ preserveLeadingSpace: {
274
+ type: BooleanConstructor;
275
+ default: boolean;
276
+ };
268
277
  }>> & Readonly<{
269
278
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
270
279
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -340,6 +349,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
340
349
  readonly: boolean;
341
350
  customType: "text" | "password" | "secret";
342
351
  smInput: boolean;
352
+ preserveLeadingSpace: boolean;
343
353
  }> | null, CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
344
354
  modelValue: {
345
355
  type: PropType<string | number | FileList | null | undefined>;
@@ -390,6 +400,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
390
400
  type: BooleanConstructor;
391
401
  default: boolean;
392
402
  };
403
+ preserveLeadingSpace: {
404
+ type: BooleanConstructor;
405
+ default: boolean;
406
+ };
393
407
  }>> & Readonly<{
394
408
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
395
409
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -468,6 +482,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
468
482
  readonly: boolean;
469
483
  customType: "text" | "password" | "secret";
470
484
  smInput: boolean;
485
+ preserveLeadingSpace: boolean;
471
486
  }, true, {}, SlotsType<{
472
487
  after?: void | undefined;
473
488
  append?: void | undefined;
@@ -532,6 +547,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
532
547
  type: BooleanConstructor;
533
548
  default: boolean;
534
549
  };
550
+ preserveLeadingSpace: {
551
+ type: BooleanConstructor;
552
+ default: boolean;
553
+ };
535
554
  }>> & Readonly<{
536
555
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
537
556
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -607,6 +626,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
607
626
  readonly: boolean;
608
627
  customType: "text" | "password" | "secret";
609
628
  smInput: boolean;
629
+ preserveLeadingSpace: boolean;
610
630
  }> | null>;
611
631
  inputValue: Ref<string, string>;
612
632
  recognizedItems: Ref<string[], string[]>;
@@ -752,6 +772,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
752
772
  type: BooleanConstructor;
753
773
  default: boolean;
754
774
  };
775
+ preserveLeadingSpace: {
776
+ type: BooleanConstructor;
777
+ default: boolean;
778
+ };
755
779
  }>, {
756
780
  t: t;
757
781
  innerModel: Ref<string | number | {
@@ -869,6 +893,10 @@ declare const _default: DefineComponent<ExtractPropTypes<{
869
893
  type: BooleanConstructor;
870
894
  default: boolean;
871
895
  };
896
+ preserveLeadingSpace: {
897
+ type: BooleanConstructor;
898
+ default: boolean;
899
+ };
872
900
  }>> & Readonly<{
873
901
  "onUpdate:modelValue"?: ((value: string | number | FileList | null | undefined) => any) | undefined;
874
902
  onChange?: ((value: string | number | FileList | null | undefined) => any) | undefined;
@@ -880,6 +908,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
880
908
  readonly: boolean;
881
909
  customType: "text" | "password" | "secret";
882
910
  smInput: boolean;
911
+ preserveLeadingSpace: boolean;
883
912
  }, SlotsType<{
884
913
  after?: void | undefined;
885
914
  append?: void | undefined;
@@ -4,6 +4,8 @@ import { t } from '../../composables/useI18n.ts';
4
4
  type TModelValue = QSelectProps['modelValue'];
5
5
  type TFilterFn = (inputValue: string, callback: (filterOptions?: any[]) => void) => void;
6
6
  type TValueDisplayFn = (value: TModelValue) => string;
7
+ /** 下拉打开时监听其 scroll 以调用 updateMenuPosition */
8
+ type TScrollTargetProp = string | Element;
7
9
  declare const _default: DefineComponent<ExtractPropTypes<{
8
10
  modelValue: {
9
11
  type: PropType<TModelValue>;
@@ -98,6 +100,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
98
100
  type: BooleanConstructor;
99
101
  default: boolean;
100
102
  };
103
+ /** 监听滚动的容器:CSS 选择器或 DOM;用于下拉层随滚动重算位置 */
104
+ scrollTarget: {
105
+ type: PropType<TScrollTargetProp>;
106
+ default: string;
107
+ };
101
108
  }>, {
102
109
  t: t;
103
110
  qSelectRef: Ref<QSelect | null, QSelect | null>;
@@ -121,6 +128,8 @@ declare const _default: DefineComponent<ExtractPropTypes<{
121
128
  'value-display'?: Slot<void | undefined> | undefined;
122
129
  }>;
123
130
  handleManualChange: (val: TModelValue) => void;
131
+ onPopupShow: () => void;
132
+ onPopupHide: () => void;
124
133
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
125
134
  'update:modelValue': (value: TModelValue) => true;
126
135
  'manual-change': (value: TModelValue) => true;
@@ -218,6 +227,11 @@ declare const _default: DefineComponent<ExtractPropTypes<{
218
227
  type: BooleanConstructor;
219
228
  default: boolean;
220
229
  };
230
+ /** 监听滚动的容器:CSS 选择器或 DOM;用于下拉层随滚动重算位置 */
231
+ scrollTarget: {
232
+ type: PropType<TScrollTargetProp>;
233
+ default: string;
234
+ };
221
235
  }>> & Readonly<{
222
236
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
223
237
  "onManual-change"?: ((value: any) => any) | undefined;
@@ -236,6 +250,7 @@ declare const _default: DefineComponent<ExtractPropTypes<{
236
250
  options: any[];
237
251
  optionLabel: string;
238
252
  optionValue: string;
253
+ scrollTarget: TScrollTargetProp;
239
254
  }, SlotsType<{
240
255
  prepend?: void | undefined;
241
256
  after?: void | undefined;
@@ -94,6 +94,11 @@ export interface JQSelectProps {
94
94
  * 弹出内容样式类
95
95
  */
96
96
  popupContentClass?: QSelectProps['popupContentClass'];
97
+ /**
98
+ * 下拉打开时监听其滚动的容器(CSS 选择器或 Element),滚动时调用 QSelect.updateMenuPosition
99
+ * @default '.app-main'
100
+ */
101
+ scrollTarget?: string | Element;
97
102
  /**
98
103
  * 是否只读
99
104
  */