uview-plus 3.8.39 → 3.8.42

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.
@@ -0,0 +1,45 @@
1
+ import { AllowedComponentProps, VNodeProps } from './_common'
2
+
3
+ declare interface GuideItem {
4
+ image: string
5
+ title?: string
6
+ desc?: string
7
+ backgroundColor?: string
8
+ }
9
+
10
+ declare interface GuideProps {
11
+ show?: boolean
12
+ list?: GuideItem[]
13
+ storageKey?: string
14
+ once?: boolean
15
+ showSkip?: boolean
16
+ skipText?: string
17
+ nextText?: string
18
+ finishText?: string
19
+ indicator?: boolean
20
+ bgColor?: string
21
+ zIndex?: string | number
22
+ ['onUpdate:show']?: (value: boolean) => any
23
+ onChange?: (payload: { current: number }) => any
24
+ onSkip?: () => any
25
+ onFinish?: () => any
26
+ onClose?: () => any
27
+ }
28
+
29
+ declare interface _GuideRef {
30
+ open: () => void
31
+ close: (remember?: boolean) => void
32
+ reset: () => void
33
+ }
34
+
35
+ declare interface _Guide {
36
+ new (): {
37
+ $props: AllowedComponentProps &
38
+ VNodeProps &
39
+ GuideProps
40
+ }
41
+ }
42
+
43
+ export declare const Guide: _Guide
44
+
45
+ export declare const GuideRef: _GuideRef
@@ -60,6 +60,11 @@ declare interface TabsProps {
60
60
  * @default "name"
61
61
  */
62
62
  keyName?: string
63
+ /**
64
+ * 标签形态模式,可选值:`capsule`/`card`/`pill-arrow`/`tag`
65
+ * @default ""
66
+ */
67
+ shapeMode?: string
63
68
  /**
64
69
  * 点击标签时触发
65
70
  * @param item 传入的其他值
package/types/comps.d.ts CHANGED
@@ -18,6 +18,7 @@ declare module 'vue' {
18
18
  ['up-form']: typeof import('./comps/form')['Form']
19
19
  ['up-form-item']: typeof import('./comps/formItem')['FormItem']
20
20
  ['up-calendar']: typeof import('./comps/calendar')['Calendar']
21
+ ['up-calendar-strip']: typeof import('./comps/calendarStrip')['CalendarStrip']
21
22
  ['up-keyboard']: typeof import('./comps/keyboard')['Keyboard']
22
23
  ['up-picker']: typeof import('./comps/picker')['Picker']
23
24
  ['up-datetime-picker']: typeof import('./comps/datetimePicker')['DatetimePicker']
@@ -45,6 +46,7 @@ declare module 'vue' {
45
46
 
46
47
  // 反馈组件
47
48
  ['up-tooltip']: typeof import('./comps/tooltip')['Tooltip']
49
+ ['up-guide']: typeof import('./comps/guide')['Guide']
48
50
  ['up-action-sheet']: typeof import('./comps/actionSheet')['ActionSheet']
49
51
  ['up-alert']: typeof import('./comps/alert')['Alert']
50
52
  ['up-toast']: typeof import('./comps/toast')['Toast']
package/types/index.d.ts CHANGED
@@ -181,5 +181,7 @@ declare type UniUploadRef = typeof import('./comps/upload')['UploadRef']
181
181
  declare type UniDatetimePickerRef = typeof import('./comps/datetimePicker')['DatetimePickerRef']
182
182
  declare type UniPickerRef = typeof import('./comps/picker')['PickerRef']
183
183
  declare type UniCalendarRef = typeof import('./comps/calendar')['CalendarRef']
184
+ declare type UniCalendarStripRef = typeof import('./comps/calendarStrip')['CalendarStripRef']
184
185
  declare type UniTextareaRef = typeof import('./comps/textarea')['TextareaRef']
185
186
  declare type UniFormRef = typeof import('./comps/form')['FormRef']
187
+ declare type UniGuideRef = typeof import('./comps/guide')['GuideRef']