@tplc/business 0.5.79 → 0.5.81

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,17 @@
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.5.81](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.80...v0.5.81) (2025-12-06)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 完成数据对接 ([3332a3d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/3332a3d71916f237c2a2116d77bd9eac142e2f69))
11
+ * 更新新版本 ([46680bf](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/46680bf2fdd0c7249cdcc4f69d491cd897b3b03d))
12
+ * 更新组件 ([a66fbd8](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/a66fbd819acbbb065299b31cbc133bd5f587bb58))
13
+
14
+ ### [0.5.80](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.79...v0.5.80) (2025-12-05)
15
+
5
16
  ### [0.5.79](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.78...v0.5.79) (2025-12-05)
6
17
 
7
18
 
@@ -6,6 +6,7 @@
6
6
  position="center"
7
7
  :close-on-click-modal="false"
8
8
  custom-class="!bg-transparent !flex flex-col items-center"
9
+ root-portal
9
10
  >
10
11
  <view
11
12
  :style="{ width: transformValueUnit(pageInfo?.page.popupWidth || '500') }"
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <wd-popup v-model="show" :z-index="1000" custom-class="!rounded-20rpx" closable>
2
+ <wd-popup v-model="show" :z-index="1000" custom-class="!rounded-20rpx" closable root-portal>
3
3
  <view
4
4
  class="popup-view"
5
5
  :style="{
@@ -28,6 +28,7 @@
28
28
  :safe-area-inset-bottom="position === 'bottom'"
29
29
  closable
30
30
  :position="position"
31
+ root-portal
31
32
  v-if="['14', '141'].includes(getJumpType(jumpType)) && show"
32
33
  :custom-class="position === 'bottom' ? '!rounded-t-20rpx' : '!rounded-20rpx'"
33
34
  >
@@ -70,7 +70,6 @@
70
70
  <wd-input
71
71
  :placeholder="`请输入自定义内容`"
72
72
  v-model="customInputs[field.field]"
73
- size="small"
74
73
  :no-border="true"
75
74
  />
76
75
  </view>
@@ -95,7 +94,6 @@
95
94
  <wd-input
96
95
  :placeholder="`请输入自定义内容`"
97
96
  v-model="customInputs[field.field]"
98
- size="small"
99
97
  :no-border="true"
100
98
  />
101
99
  </view>
@@ -122,7 +120,6 @@
122
120
  <wd-input
123
121
  :placeholder="`请输入自定义内容`"
124
122
  v-model="customInputs[field.field]"
125
- size="small"
126
123
  :no-border="true"
127
124
  />
128
125
  </view>
@@ -151,7 +148,6 @@
151
148
  <wd-input
152
149
  :placeholder="`请输入自定义内容`"
153
150
  v-model="customInputs[field.field]"
154
- size="small"
155
151
  :no-border="true"
156
152
  />
157
153
  </view>
@@ -1,4 +1,5 @@
1
1
  import type { ButtonProps } from '@tplc/wot/components/wd-button/types'
2
+ import { InputType } from '@tplc/wot/components/wd-input/types'
2
3
 
3
4
  export interface IconList {
4
5
  iconName: string
@@ -24,7 +25,7 @@ export interface IPageBtn {
24
25
  popUpRequestInfo: {
25
26
  defaultValue?: string
26
27
  inputKey: string
27
- inputType: string
28
+ inputType: InputType | undefined
28
29
  }
29
30
  requestParam?: {
30
31
  orderNo: string
@@ -6,7 +6,12 @@ const useDynamicData = (formUser = false) => {
6
6
  const wrapperItemData = inject(WRAPPER_ITEM_KEY, {}) as unknown as Ref<Record<string, any>>
7
7
  const userStore = uni.$lcb.userStore?.()
8
8
  const innerDynamicData = computed(() => {
9
- return formUser ? userStore?.userInfo : wrapperItemData.value
9
+ return formUser
10
+ ? userStore?.userInfo
11
+ : {
12
+ ...pageInfo.value,
13
+ ...wrapperItemData.value,
14
+ }
10
15
  })
11
16
  return {
12
17
  pageInfo,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.5.79",
3
+ "version": "0.5.81",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -37,8 +37,8 @@ declare const _default: import('vue').DefineComponent<
37
37
  mode: 'link' | 'search'
38
38
  icon: string
39
39
  radius: number
40
- paddingHorizontal: number
41
40
  placeholder: string
41
+ paddingHorizontal: number
42
42
  },
43
43
  {}
44
44
  >
@@ -36,9 +36,9 @@ declare const _default: import('vue').DefineComponent<
36
36
  {
37
37
  backgroundColor: string
38
38
  radius: number
39
+ placeholder: string
39
40
  marginHorizontal: number
40
41
  opacity: number
41
- placeholder: string
42
42
  },
43
43
  {}
44
44
  >
@@ -28,6 +28,7 @@ declare const __VLS_component: import('vue').DefineComponent<
28
28
  radius: number
29
29
  position: 'relative' | 'absolute'
30
30
  backgroundImage: string
31
+ border: boolean
31
32
  imageRadius: number
32
33
  marginHorizontal: number
33
34
  paddingHorizontal: number
@@ -71,11 +72,10 @@ declare const __VLS_component: import('vue').DefineComponent<
71
72
  imageWidth: number
72
73
  borderRadius: number
73
74
  imageHeight: number
74
- border: boolean
75
75
  dynamicScope: string
76
76
  itemVerticalPadding: number
77
77
  itemHorizontalPadding: number
78
- listType: 'list' | 'horizontal' | 'grid' | 'waterfall'
78
+ listType: 'horizontal' | 'list' | 'grid' | 'waterfall'
79
79
  pageFilterType: string
80
80
  pageListProps: import('./components/FilterList/type').PageListProps
81
81
  styleMode: 'default' | 'plain'
@@ -61,10 +61,10 @@ declare const _default: import('vue').DefineComponent<
61
61
  >,
62
62
  {
63
63
  title: string
64
+ back: boolean
64
65
  fontWeight: number
65
66
  keyFromUser: boolean
66
67
  styleGroup: 1 | 2 | 3 | 4
67
- back: boolean
68
68
  textSize: number
69
69
  topStyle: 1 | 2
70
70
  immersionMode: 1 | 2 | 3
@@ -42,8 +42,8 @@ declare const _default: import('vue').DefineComponent<
42
42
  {
43
43
  backgroundColor: string
44
44
  color: string
45
- iconSize: number
46
45
  direction: import('@tplc/wot/types/components/wd-notice-bar/types').NoticeBarScrollDirection
46
+ iconSize: number
47
47
  paddingVertical: number
48
48
  borderColor: string
49
49
  speed: number
@@ -1,4 +1,5 @@
1
1
  import type { ButtonProps } from '@tplc/wot/components/wd-button/types'
2
+ import { InputType } from '@tplc/wot/components/wd-input/types'
2
3
  export interface IconList {
3
4
  iconName: string
4
5
  iconUrl: string
@@ -22,7 +23,7 @@ export interface IPageBtn {
22
23
  popUpRequestInfo: {
23
24
  defaultValue?: string
24
25
  inputKey: string
25
- inputType: string
26
+ inputType: InputType | undefined
26
27
  }
27
28
  requestParam?: {
28
29
  orderNo: string
@@ -930,6 +930,7 @@ declare const _default: import('vue').DefineComponent<
930
930
  radius: number
931
931
  iconSize: string
932
932
  iconColor: string
933
+ placeholder: string
933
934
  marginHorizontal: number
934
935
  paddingHorizontal: number
935
936
  paddingVertical: number
@@ -937,7 +938,6 @@ declare const _default: import('vue').DefineComponent<
937
938
  borderColor: string
938
939
  borderWidth: number
939
940
  gap: number
940
- placeholder: string
941
941
  lineWidth: number
942
942
  iconType: 'icon' | 'img'
943
943
  cityColor: string
@@ -956,6 +956,7 @@ declare const _default: import('vue').DefineComponent<
956
956
  radius: number
957
957
  iconSize: string
958
958
  iconColor: string
959
+ placeholder: string
959
960
  marginHorizontal: number
960
961
  paddingHorizontal: number
961
962
  paddingVertical: number
@@ -963,7 +964,6 @@ declare const _default: import('vue').DefineComponent<
963
964
  borderColor: string
964
965
  borderWidth: number
965
966
  gap: number
966
- placeholder: string
967
967
  lineWidth: number
968
968
  iconType: 'icon' | 'img'
969
969
  cityColor: string
@@ -982,6 +982,7 @@ declare const _default: import('vue').DefineComponent<
982
982
  radius: number
983
983
  iconSize: string
984
984
  iconColor: string
985
+ placeholder: string
985
986
  marginHorizontal: number
986
987
  paddingHorizontal: number
987
988
  paddingVertical: number
@@ -989,7 +990,6 @@ declare const _default: import('vue').DefineComponent<
989
990
  borderColor: string
990
991
  borderWidth: number
991
992
  gap: number
992
- placeholder: string
993
993
  lineWidth: number
994
994
  iconType: 'icon' | 'img'
995
995
  cityColor: string
@@ -1008,6 +1008,7 @@ declare const _default: import('vue').DefineComponent<
1008
1008
  radius: number
1009
1009
  iconSize: string
1010
1010
  iconColor: string
1011
+ placeholder: string
1011
1012
  marginHorizontal: number
1012
1013
  paddingHorizontal: number
1013
1014
  paddingVertical: number
@@ -1015,7 +1016,6 @@ declare const _default: import('vue').DefineComponent<
1015
1016
  borderColor: string
1016
1017
  borderWidth: number
1017
1018
  gap: number
1018
- placeholder: string
1019
1019
  lineWidth: number
1020
1020
  iconType: 'icon' | 'img'
1021
1021
  cityColor: string
@@ -1034,6 +1034,7 @@ declare const _default: import('vue').DefineComponent<
1034
1034
  radius: number
1035
1035
  iconSize: string
1036
1036
  iconColor: string
1037
+ placeholder: string
1037
1038
  marginHorizontal: number
1038
1039
  paddingHorizontal: number
1039
1040
  paddingVertical: number
@@ -1041,7 +1042,6 @@ declare const _default: import('vue').DefineComponent<
1041
1042
  borderColor: string
1042
1043
  borderWidth: number
1043
1044
  gap: number
1044
- placeholder: string
1045
1045
  lineWidth: number
1046
1046
  iconType: 'icon' | 'img'
1047
1047
  cityColor: string
@@ -1060,6 +1060,7 @@ declare const _default: import('vue').DefineComponent<
1060
1060
  radius: number
1061
1061
  iconSize: string
1062
1062
  iconColor: string
1063
+ placeholder: string
1063
1064
  marginHorizontal: number
1064
1065
  paddingHorizontal: number
1065
1066
  paddingVertical: number
@@ -1067,7 +1068,6 @@ declare const _default: import('vue').DefineComponent<
1067
1068
  borderColor: string
1068
1069
  borderWidth: number
1069
1070
  gap: number
1070
- placeholder: string
1071
1071
  lineWidth: number
1072
1072
  iconType: 'icon' | 'img'
1073
1073
  cityColor: string
@@ -1086,6 +1086,7 @@ declare const _default: import('vue').DefineComponent<
1086
1086
  radius: number
1087
1087
  iconSize: string
1088
1088
  iconColor: string
1089
+ placeholder: string
1089
1090
  marginHorizontal: number
1090
1091
  paddingHorizontal: number
1091
1092
  paddingVertical: number
@@ -1093,7 +1094,6 @@ declare const _default: import('vue').DefineComponent<
1093
1094
  borderColor: string
1094
1095
  borderWidth: number
1095
1096
  gap: number
1096
- placeholder: string
1097
1097
  lineWidth: number
1098
1098
  iconType: 'icon' | 'img'
1099
1099
  cityColor: string
@@ -1112,6 +1112,7 @@ declare const _default: import('vue').DefineComponent<
1112
1112
  radius: number
1113
1113
  iconSize: string
1114
1114
  iconColor: string
1115
+ placeholder: string
1115
1116
  marginHorizontal: number
1116
1117
  paddingHorizontal: number
1117
1118
  paddingVertical: number
@@ -1119,7 +1120,6 @@ declare const _default: import('vue').DefineComponent<
1119
1120
  borderColor: string
1120
1121
  borderWidth: number
1121
1122
  gap: number
1122
- placeholder: string
1123
1123
  lineWidth: number
1124
1124
  iconType: 'icon' | 'img'
1125
1125
  cityColor: string
@@ -1138,6 +1138,7 @@ declare const _default: import('vue').DefineComponent<
1138
1138
  radius: number
1139
1139
  iconSize: string
1140
1140
  iconColor: string
1141
+ placeholder: string
1141
1142
  marginHorizontal: number
1142
1143
  paddingHorizontal: number
1143
1144
  paddingVertical: number
@@ -1145,7 +1146,6 @@ declare const _default: import('vue').DefineComponent<
1145
1146
  borderColor: string
1146
1147
  borderWidth: number
1147
1148
  gap: number
1148
- placeholder: string
1149
1149
  lineWidth: number
1150
1150
  iconType: 'icon' | 'img'
1151
1151
  cityColor: string
@@ -1164,6 +1164,7 @@ declare const _default: import('vue').DefineComponent<
1164
1164
  radius: number
1165
1165
  iconSize: string
1166
1166
  iconColor: string
1167
+ placeholder: string
1167
1168
  marginHorizontal: number
1168
1169
  paddingHorizontal: number
1169
1170
  paddingVertical: number
@@ -1171,7 +1172,6 @@ declare const _default: import('vue').DefineComponent<
1171
1172
  borderColor: string
1172
1173
  borderWidth: number
1173
1174
  gap: number
1174
- placeholder: string
1175
1175
  lineWidth: number
1176
1176
  iconType: 'icon' | 'img'
1177
1177
  cityColor: string
@@ -30,8 +30,8 @@ declare const _default: import('vue').DefineComponent<
30
30
  >
31
31
  >,
32
32
  {
33
- inactiveColor: string
34
33
  activeColor: string
34
+ inactiveColor: string
35
35
  imgTitleGap: number
36
36
  },
37
37
  {}