jb-mobile-ui 1.4.18 → 1.4.20

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.
@@ -261,13 +261,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
261
261
  }> & Omit<{
262
262
  readonly type: import('vant').CalendarType;
263
263
  readonly round: boolean;
264
+ readonly safeAreaInsetBottom: boolean;
264
265
  readonly show: boolean;
265
266
  readonly lazyRender: boolean;
266
267
  readonly closeOnClickOverlay: boolean;
267
268
  readonly position: import('vant').PopupPosition;
268
269
  readonly closeOnPopstate: boolean;
269
270
  readonly safeAreaInsetTop: boolean;
270
- readonly safeAreaInsetBottom: boolean;
271
271
  readonly switchMode: import('vant/lib/calendar/types').CalendarSwitchMode;
272
272
  readonly readonly: boolean;
273
273
  readonly poppable: boolean;
@@ -340,7 +340,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
340
340
  * 日期选择组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
341
341
  */
342
342
  ...args: any[]) => any) | undefined | undefined;
343
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "round" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "safeAreaInsetBottom" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "showTitle" | "showConfirm" | "allowSameDay" | "showSubtitle" | "showRangePrompt" | "firstDayOfWeek">;
343
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "round" | "safeAreaInsetBottom" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "showTitle" | "showConfirm" | "allowSameDay" | "showSubtitle" | "showRangePrompt" | "firstDayOfWeek">;
344
344
  $attrs: {
345
345
  [x: string]: unknown;
346
346
  };
@@ -693,7 +693,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
693
693
  * 日期选择组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
694
694
  */
695
695
  ...args: any[]) => any) | undefined;
696
- }>, "type" | "round" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "safeAreaInsetBottom" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "showTitle" | "showConfirm" | "allowSameDay" | "showSubtitle" | "showRangePrompt" | "firstDayOfWeek"> & import('vue').ShallowUnwrapRef<() => import("vue/jsx-runtime").JSX.Element> & {} & import('vue').ComponentCustomProperties & {} & {
696
+ }>, "type" | "round" | "safeAreaInsetBottom" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "showTitle" | "showConfirm" | "allowSameDay" | "showSubtitle" | "showRangePrompt" | "firstDayOfWeek"> & import('vue').ShallowUnwrapRef<() => import("vue/jsx-runtime").JSX.Element> & {} & import('vue').ComponentCustomProperties & {} & {
697
697
  $props: {
698
698
  onClick
699
699
  /**
@@ -72,6 +72,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
72
72
  type: FunctionConstructor;
73
73
  default: () => boolean;
74
74
  };
75
+ /**
76
+ * 弹出层是否需要适配底部安全区域
77
+ */
78
+ safeAreaInsetBottom: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
75
82
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
76
83
  close: (...args: any[]) => void;
77
84
  "update:visible": (...args: any[]) => void;
@@ -140,6 +147,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
140
147
  type: FunctionConstructor;
141
148
  default: () => boolean;
142
149
  };
150
+ /**
151
+ * 弹出层是否需要适配底部安全区域
152
+ */
153
+ safeAreaInsetBottom: {
154
+ type: BooleanConstructor;
155
+ default: boolean;
156
+ };
143
157
  }>> & Readonly<{
144
158
  onClose?: ((...args: any[]) => any) | undefined;
145
159
  "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
@@ -154,6 +168,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
154
168
  confirmButtonText: string;
155
169
  confirmButtonDisabled: boolean;
156
170
  beforeConfirm: Function;
171
+ safeAreaInsetBottom: boolean;
157
172
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
158
173
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
159
174
  export default _default;
@@ -239,13 +239,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
239
239
  }> & Omit<{
240
240
  readonly type: import('vant').CalendarType;
241
241
  readonly round: boolean;
242
+ readonly safeAreaInsetBottom: boolean;
242
243
  readonly show: boolean;
243
244
  readonly lazyRender: boolean;
244
245
  readonly closeOnClickOverlay: boolean;
245
246
  readonly position: import('vant').PopupPosition;
246
247
  readonly closeOnPopstate: boolean;
247
248
  readonly safeAreaInsetTop: boolean;
248
- readonly safeAreaInsetBottom: boolean;
249
249
  readonly switchMode: import('vant/lib/calendar/types').CalendarSwitchMode;
250
250
  readonly readonly: boolean;
251
251
  readonly poppable: boolean;
@@ -268,17 +268,57 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
268
268
  readonly confirmText?: string | undefined;
269
269
  readonly rangePrompt?: string | undefined;
270
270
  readonly confirmDisabledText?: string | undefined;
271
- readonly onSelect?: ((...args: any[]) => any) | undefined | undefined;
272
- readonly "onUpdate:show"?: ((...args: any[]) => any) | undefined | undefined;
273
- readonly onClickOverlay?: ((...args: any[]) => any) | undefined | undefined;
274
- readonly onConfirm?: ((...args: any[]) => any) | undefined | undefined;
275
- readonly onClickDisabledDate?: ((...args: any[]) => any) | undefined | undefined;
276
- readonly onClickSubtitle?: ((...args: any[]) => any) | undefined | undefined;
277
- readonly onPanelChange?: ((...args: any[]) => any) | undefined | undefined;
278
- readonly onUnselect?: ((...args: any[]) => any) | undefined | undefined;
279
- readonly onMonthShow?: ((...args: any[]) => any) | undefined | undefined;
280
- readonly onOverRange?: ((...args: any[]) => any) | undefined | undefined;
281
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "round" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "safeAreaInsetBottom" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "showTitle" | "showConfirm" | "allowSameDay" | "showSubtitle" | "showRangePrompt" | "firstDayOfWeek">;
271
+ readonly onSelect?: ((
272
+ /**
273
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
274
+ */
275
+ ...args: any[]) => any) | undefined | undefined;
276
+ readonly "onUpdate:show"?: ((
277
+ /**
278
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
279
+ */
280
+ ...args: any[]) => any) | undefined | undefined;
281
+ readonly onClickOverlay?: ((
282
+ /**
283
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
284
+ */
285
+ ...args: any[]) => any) | undefined | undefined;
286
+ readonly onConfirm?: ((
287
+ /**
288
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
289
+ */
290
+ ...args: any[]) => any) | undefined | undefined;
291
+ readonly onClickDisabledDate?: ((
292
+ /**
293
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
294
+ */
295
+ ...args: any[]) => any) | undefined | undefined;
296
+ readonly onClickSubtitle?: ((
297
+ /**
298
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
299
+ */
300
+ ...args: any[]) => any) | undefined | undefined;
301
+ readonly onPanelChange?: ((
302
+ /**
303
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
304
+ */
305
+ ...args: any[]) => any) | undefined | undefined;
306
+ readonly onUnselect?: ((
307
+ /**
308
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
309
+ */
310
+ ...args: any[]) => any) | undefined | undefined;
311
+ readonly onMonthShow?: ((
312
+ /**
313
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
314
+ */
315
+ ...args: any[]) => any) | undefined | undefined;
316
+ readonly onOverRange?: ((
317
+ /**
318
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
319
+ */
320
+ ...args: any[]) => any) | undefined | undefined;
321
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "type" | "round" | "safeAreaInsetBottom" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "showTitle" | "showConfirm" | "allowSameDay" | "showSubtitle" | "showRangePrompt" | "firstDayOfWeek">;
282
322
  $attrs: {
283
323
  [x: string]: unknown;
284
324
  };
@@ -381,16 +421,56 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
381
421
  validator: (val: number) => boolean;
382
422
  };
383
423
  }>> & Readonly<{
384
- onSelect?: ((...args: any[]) => any) | undefined;
385
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
386
- onClickOverlay?: ((...args: any[]) => any) | undefined;
387
- onConfirm?: ((...args: any[]) => any) | undefined;
388
- onClickDisabledDate?: ((...args: any[]) => any) | undefined;
389
- onClickSubtitle?: ((...args: any[]) => any) | undefined;
390
- onPanelChange?: ((...args: any[]) => any) | undefined;
391
- onUnselect?: ((...args: any[]) => any) | undefined;
392
- onMonthShow?: ((...args: any[]) => any) | undefined;
393
- onOverRange?: ((...args: any[]) => any) | undefined;
424
+ onSelect?: ((
425
+ /**
426
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
427
+ */
428
+ ...args: any[]) => any) | undefined;
429
+ "onUpdate:show"?: ((
430
+ /**
431
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
432
+ */
433
+ ...args: any[]) => any) | undefined;
434
+ onClickOverlay?: ((
435
+ /**
436
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
437
+ */
438
+ ...args: any[]) => any) | undefined;
439
+ onConfirm?: ((
440
+ /**
441
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
442
+ */
443
+ ...args: any[]) => any) | undefined;
444
+ onClickDisabledDate?: ((
445
+ /**
446
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
447
+ */
448
+ ...args: any[]) => any) | undefined;
449
+ onClickSubtitle?: ((
450
+ /**
451
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
452
+ */
453
+ ...args: any[]) => any) | undefined;
454
+ onPanelChange?: ((
455
+ /**
456
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
457
+ */
458
+ ...args: any[]) => any) | undefined;
459
+ onUnselect?: ((
460
+ /**
461
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
462
+ */
463
+ ...args: any[]) => any) | undefined;
464
+ onMonthShow?: ((
465
+ /**
466
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
467
+ */
468
+ ...args: any[]) => any) | undefined;
469
+ onOverRange?: ((
470
+ /**
471
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
472
+ */
473
+ ...args: any[]) => any) | undefined;
394
474
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("select" | "confirm" | "update:show" | "clickOverlay" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange")[], string, {
395
475
  type: import('vant').CalendarType;
396
476
  position: import('vant').PopupPosition;
@@ -431,7 +511,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
431
511
  };
432
512
  $forceUpdate: () => void;
433
513
  $nextTick: typeof nextTick;
434
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
514
+ $watch<T extends string | ((
515
+ /**
516
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
517
+ */
518
+ ...args: any) => any)>(source: T, cb: T extends (
519
+ /**
520
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
521
+ */
522
+ ...args: any) => infer R ? (
523
+ /**
524
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
525
+ */
526
+ ...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (
527
+ /**
528
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
529
+ */
530
+ ...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
435
531
  } & Readonly<{
436
532
  type: import('vant').CalendarType;
437
533
  position: import('vant').PopupPosition;
@@ -541,19 +637,67 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
541
637
  validator: (val: number) => boolean;
542
638
  };
543
639
  }>> & Readonly<{
544
- onSelect?: ((...args: any[]) => any) | undefined;
545
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
546
- onClickOverlay?: ((...args: any[]) => any) | undefined;
547
- onConfirm?: ((...args: any[]) => any) | undefined;
548
- onClickDisabledDate?: ((...args: any[]) => any) | undefined;
549
- onClickSubtitle?: ((...args: any[]) => any) | undefined;
550
- onPanelChange?: ((...args: any[]) => any) | undefined;
551
- onUnselect?: ((...args: any[]) => any) | undefined;
552
- onMonthShow?: ((...args: any[]) => any) | undefined;
553
- onOverRange?: ((...args: any[]) => any) | undefined;
554
- }>, "type" | "round" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "safeAreaInsetBottom" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "showTitle" | "showConfirm" | "allowSameDay" | "showSubtitle" | "showRangePrompt" | "firstDayOfWeek"> & import('vue').ShallowUnwrapRef<() => import("vue/jsx-runtime").JSX.Element> & {} & import('vue').ComponentCustomProperties & {} & {
640
+ onSelect?: ((
641
+ /**
642
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
643
+ */
644
+ ...args: any[]) => any) | undefined;
645
+ "onUpdate:show"?: ((
646
+ /**
647
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
648
+ */
649
+ ...args: any[]) => any) | undefined;
650
+ onClickOverlay?: ((
651
+ /**
652
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
653
+ */
654
+ ...args: any[]) => any) | undefined;
655
+ onConfirm?: ((
656
+ /**
657
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
658
+ */
659
+ ...args: any[]) => any) | undefined;
660
+ onClickDisabledDate?: ((
661
+ /**
662
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
663
+ */
664
+ ...args: any[]) => any) | undefined;
665
+ onClickSubtitle?: ((
666
+ /**
667
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
668
+ */
669
+ ...args: any[]) => any) | undefined;
670
+ onPanelChange?: ((
671
+ /**
672
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
673
+ */
674
+ ...args: any[]) => any) | undefined;
675
+ onUnselect?: ((
676
+ /**
677
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
678
+ */
679
+ ...args: any[]) => any) | undefined;
680
+ onMonthShow?: ((
681
+ /**
682
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
683
+ */
684
+ ...args: any[]) => any) | undefined;
685
+ onOverRange?: ((
686
+ /**
687
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
688
+ */
689
+ ...args: any[]) => any) | undefined;
690
+ }>, "type" | "round" | "safeAreaInsetBottom" | "show" | "lazyRender" | "closeOnClickOverlay" | "position" | "closeOnPopstate" | "safeAreaInsetTop" | "switchMode" | "readonly" | "poppable" | "maxRange" | "showMark" | "showTitle" | "showConfirm" | "allowSameDay" | "showSubtitle" | "showRangePrompt" | "firstDayOfWeek"> & import('vue').ShallowUnwrapRef<() => import("vue/jsx-runtime").JSX.Element> & {} & import('vue').ComponentCustomProperties & {} & {
555
691
  $props: {
556
- onClick?: (...args: any[]) => void;
692
+ onClick
693
+ /**
694
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
695
+ */
696
+ ?: (
697
+ /**
698
+ * 时间选择弹出层组件,支持按日、按周、按月、按季度、按年这几个维度来选择日期
699
+ */
700
+ ...args: any[]) => void;
557
701
  };
558
702
  }) | null;
559
703
  }, any>;