@tplc/business 0.7.92 → 0.7.93

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.7.93](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.92...v0.7.93) (2026-01-24)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * Add defaultSelectedDates prop to LcbActionView and RoomTypeCalendarPicker components ([874ecc5](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/874ecc5f259c6506eec3e38ef7c4f447ae80183f))
11
+
5
12
  ### [0.7.92](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.91...v0.7.92) (2026-01-24)
6
13
 
7
14
 
@@ -28,6 +28,7 @@
28
28
  :style="customStyle"
29
29
  show-message-card
30
30
  :send-message-path="routeFullPath"
31
+ :data-share="shareInfo"
31
32
  >
32
33
  <slot />
33
34
  </button>
@@ -79,12 +80,6 @@
79
80
  :jumpUrl="jumpUrl"
80
81
  />
81
82
  <MemberRolePopup v-model:show="showMemberRole" v-if="showMemberRole" />
82
- <!-- 房型日历选择器测试 -->
83
- <RoomTypeCalendarPicker
84
- v-model="showRoomCalendar"
85
- v-if="showRoomCalendar"
86
- :defaultSelectedDates="defaultSelectedDates"
87
- />
88
83
  </view>
89
84
  </template>
90
85
 
@@ -100,7 +95,6 @@ import { PAGE_PROVIDE_KEY, USER_BASIC_INFO } from '../../constants'
100
95
  import { getTemplateMessageList, TemplateMessage } from '../../api/user'
101
96
  import PayPopup from './components/PayPopup/index.vue'
102
97
  import MemberRolePopup from './components/MemberRolePopup/index.vue'
103
- import RoomTypeCalendarPicker from './components/RoomTypeCalendarPicker/index.vue'
104
98
  const { translate } = useTranslate()
105
99
  defineOptions({
106
100
  name: 'LcbActionView',
@@ -117,7 +111,6 @@ const pageInfo = inject(PAGE_PROVIDE_KEY) as unknown as Ref<Record<string, any>>
117
111
  const showPoster = ref(false)
118
112
  const showPay = ref(false)
119
113
  const showMemberRole = ref(false)
120
- const showRoomCalendar = ref(false)
121
114
  const emits = defineEmits<{
122
115
  (e: 'phone', value: { detail: { errMsg: string; encryptedData: string; iv: string } }): void
123
116
  (e: 'avatar', value: string): void
@@ -399,9 +392,6 @@ const onActionClick = async () => {
399
392
  case '148':
400
393
  showMemberRole.value = true
401
394
  break
402
- case '149':
403
- showRoomCalendar.value = true
404
- break
405
395
  default:
406
396
  emits('click', props)
407
397
  break
@@ -8,6 +8,14 @@ export type LcbActionViewProps = {
8
8
  customClass?: string
9
9
  customStyle?: StyleValue
10
10
  renderMode?: 'view' | 'button' | 'noClick'
11
+ shareInfo?: {
12
+ title?: string
13
+ path?: string
14
+ imageUrl?: string
15
+ imgUrl?: string
16
+ query?: object
17
+ shareParams?: string
18
+ }
11
19
  autoJumpSecond?: number
12
20
  /** 弹窗位置 */
13
21
  position?: PopupType
@@ -19,6 +27,7 @@ export type LcbActionViewProps = {
19
27
  defaultSelectedDates?: number[]
20
28
  title?: string
21
29
  requestParam?: Record<string, any>
30
+
22
31
  requestInfo?: {
23
32
  requestUrl: string
24
33
  requestParams: Record<string, any>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.92",
3
+ "version": "0.7.93",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -7,6 +7,14 @@ export type LcbActionViewProps = {
7
7
  customClass?: string
8
8
  customStyle?: StyleValue
9
9
  renderMode?: 'view' | 'button' | 'noClick'
10
+ shareInfo?: {
11
+ title?: string
12
+ path?: string
13
+ imageUrl?: string
14
+ imgUrl?: string
15
+ query?: object
16
+ shareParams?: string
17
+ }
10
18
  autoJumpSecond?: number
11
19
  /** 弹窗位置 */
12
20
  position?: PopupType
@@ -73,6 +73,14 @@ declare const _default: import('vue').DefineComponent<
73
73
  customClass?: string
74
74
  customStyle?: import('vue').StyleValue
75
75
  renderMode?: 'view' | 'button' | 'noClick'
76
+ shareInfo?: {
77
+ title?: string
78
+ path?: string
79
+ imageUrl?: string
80
+ imgUrl?: string
81
+ query?: object
82
+ shareParams?: string
83
+ }
76
84
  autoJumpSecond?: number
77
85
  position?: import('@tplc/wot/types/components/wd-popup/types').PopupType
78
86
  jumpInterceptor?: (
@@ -186,6 +194,14 @@ declare const _default: import('vue').DefineComponent<
186
194
  customClass?: string
187
195
  customStyle?: import('vue').StyleValue
188
196
  renderMode?: 'view' | 'button' | 'noClick'
197
+ shareInfo?: {
198
+ title?: string
199
+ path?: string
200
+ imageUrl?: string
201
+ imgUrl?: string
202
+ query?: object
203
+ shareParams?: string
204
+ }
189
205
  autoJumpSecond?: number
190
206
  position?: import('@tplc/wot/types/components/wd-popup/types').PopupType
191
207
  jumpInterceptor?: (
@@ -274,6 +290,14 @@ declare const _default: import('vue').DefineComponent<
274
290
  customClass?: string
275
291
  customStyle?: import('vue').StyleValue
276
292
  renderMode?: 'view' | 'button' | 'noClick'
293
+ shareInfo?: {
294
+ title?: string
295
+ path?: string
296
+ imageUrl?: string
297
+ imgUrl?: string
298
+ query?: object
299
+ shareParams?: string
300
+ }
277
301
  autoJumpSecond?: number
278
302
  position?: import('@tplc/wot/types/components/wd-popup/types').PopupType
279
303
  jumpInterceptor?: (
@@ -362,6 +386,14 @@ declare const _default: import('vue').DefineComponent<
362
386
  customClass?: string
363
387
  customStyle?: import('vue').StyleValue
364
388
  renderMode?: 'view' | 'button' | 'noClick'
389
+ shareInfo?: {
390
+ title?: string
391
+ path?: string
392
+ imageUrl?: string
393
+ imgUrl?: string
394
+ query?: object
395
+ shareParams?: string
396
+ }
365
397
  autoJumpSecond?: number
366
398
  position?: import('@tplc/wot/types/components/wd-popup/types').PopupType
367
399
  jumpInterceptor?: (
@@ -449,6 +481,14 @@ declare const _default: import('vue').DefineComponent<
449
481
  customClass?: string
450
482
  customStyle?: import('vue').StyleValue
451
483
  renderMode?: 'view' | 'button' | 'noClick'
484
+ shareInfo?: {
485
+ title?: string
486
+ path?: string
487
+ imageUrl?: string
488
+ imgUrl?: string
489
+ query?: object
490
+ shareParams?: string
491
+ }
452
492
  autoJumpSecond?: number
453
493
  position?: import('@tplc/wot/types/components/wd-popup/types').PopupType
454
494
  jumpInterceptor?: (
@@ -542,6 +582,14 @@ declare const _default: import('vue').DefineComponent<
542
582
  customClass?: string
543
583
  customStyle?: import('vue').StyleValue
544
584
  renderMode?: 'view' | 'button' | 'noClick'
585
+ shareInfo?: {
586
+ title?: string
587
+ path?: string
588
+ imageUrl?: string
589
+ imgUrl?: string
590
+ query?: object
591
+ shareParams?: string
592
+ }
545
593
  autoJumpSecond?: number
546
594
  position?: import('@tplc/wot/types/components/wd-popup/types').PopupType
547
595
  jumpInterceptor?: (
@@ -629,6 +677,14 @@ declare const _default: import('vue').DefineComponent<
629
677
  customClass?: string
630
678
  customStyle?: import('vue').StyleValue
631
679
  renderMode?: 'view' | 'button' | 'noClick'
680
+ shareInfo?: {
681
+ title?: string
682
+ path?: string
683
+ imageUrl?: string
684
+ imgUrl?: string
685
+ query?: object
686
+ shareParams?: string
687
+ }
632
688
  autoJumpSecond?: number
633
689
  position?: import('@tplc/wot/types/components/wd-popup/types').PopupType
634
690
  jumpInterceptor?: (
@@ -716,6 +772,14 @@ declare const _default: import('vue').DefineComponent<
716
772
  customClass?: string
717
773
  customStyle?: import('vue').StyleValue
718
774
  renderMode?: 'view' | 'button' | 'noClick'
775
+ shareInfo?: {
776
+ title?: string
777
+ path?: string
778
+ imageUrl?: string
779
+ imgUrl?: string
780
+ query?: object
781
+ shareParams?: string
782
+ }
719
783
  autoJumpSecond?: number
720
784
  position?: import('@tplc/wot/types/components/wd-popup/types').PopupType
721
785
  jumpInterceptor?: (
@@ -807,6 +871,14 @@ declare const _default: import('vue').DefineComponent<
807
871
  customClass?: string
808
872
  customStyle?: import('vue').StyleValue
809
873
  renderMode?: 'view' | 'button' | 'noClick'
874
+ shareInfo?: {
875
+ title?: string
876
+ path?: string
877
+ imageUrl?: string
878
+ imgUrl?: string
879
+ query?: object
880
+ shareParams?: string
881
+ }
810
882
  autoJumpSecond?: number
811
883
  position?: import('@tplc/wot/types/components/wd-popup/types').PopupType
812
884
  jumpInterceptor?: (