@tplc/business 0.7.11 → 0.7.13

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,30 @@
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.13](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.10...v0.7.13) (2025-12-15)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.7.11 ([8342d39](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/8342d3917c60821588bbe2b486c62292c3c20083))
11
+ * **release:** 0.7.12 ([3f29ecb](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/3f29ecbd7037577242ac4e47ec7f1c9e3d832235))
12
+
13
+
14
+ ### ✨ Features | 新功能
15
+
16
+ * 1 ([580dde4](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/580dde4aadf57d9aea93d0bb8c0e2fbaac2dfbb0))
17
+ * area 上下文 ([7f4320d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/7f4320d45e58d33cf30e4ffa6bdc0ef21172a0b8))
18
+ * nav 支持回显 ([20b1310](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/20b1310749bbf55090d238626b9346e66ce96b77))
19
+ * 修养该数据 ([4743ee1](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/4743ee1687651f32050243cb3bc5a6fc77bf8d5f))
20
+ * 调整颜色 ([f9ea6ca](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/f9ea6ca5ea048676b4a236671c9fa33789d8660b))
21
+
22
+ ### [0.7.12](///compare/v0.7.11...v0.7.12) (2025-12-15)
23
+
24
+
25
+ ### ✨ Features | 新功能
26
+
27
+ * 1 580dde4
28
+
5
29
  ### [0.7.11](///compare/v0.7.9...v0.7.11) (2025-12-15)
6
30
 
7
31
 
@@ -44,9 +44,9 @@ const props = withDefaults(defineProps<AddressCommunityProps>(), {
44
44
  switchType: 'address',
45
45
  })
46
46
  type Merchant = { merchantName: string; pageDecorationId: string; merchantId: string }
47
- const value = defineModel<string>('')
47
+ const value = ref<string>(props.id || '')
48
48
  const constantsStore = uni.$lcb.constantsStore?.()
49
- const title = ref<string>('')
49
+ const title = ref<string>(props.title || '')
50
50
  const merchantList = ref<Merchant[]>([])
51
51
  const options = computed(() => {
52
52
  return props.switchType === 'merchant'
@@ -104,7 +104,11 @@ const handleChange = (e: any) => {
104
104
  uni.$emit('refreshSchemaPage', {
105
105
  pageDecorationId: e.selectedItem.pageDecorationId,
106
106
  pageId: getCurrentPage().pageId,
107
- mode: props.mode,
107
+ merchant: {
108
+ title: e.selectedItem.merchantName,
109
+ id: e.selectedItem.merchantId,
110
+ mode: props.mode,
111
+ },
108
112
  })
109
113
  } else {
110
114
  uni.$lcb.constantsStore?.()?.setAddressId(e.selectedItem.addressId, props.switchType)
@@ -32,7 +32,7 @@
32
32
  switchType: pageInfo.frontConfig?.chooseFlag
33
33
  ? 'merchant'
34
34
  : addressCommunityProps?.switchType,
35
- mode: pageInfo.frontConfig?.mode || addressCommunityProps?.mode,
35
+ ...pageInfo.frontConfig?.merchant,
36
36
  }"
37
37
  />
38
38
  <view
@@ -25,6 +25,8 @@ export interface AddressCommunityProps {
25
25
  mode: 'normal' | 'menu'
26
26
  popupWidth?: number
27
27
  switchType?: 'merchant' | 'address'
28
+ title?: string
29
+ id?: string
28
30
  }
29
31
 
30
32
  export interface NavTitleProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.11",
3
+ "version": "0.7.13",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -1,11 +1,7 @@
1
1
  import { AddressCommunityProps } from '../types'
2
- declare let __VLS_typeProps: AddressCommunityProps
3
- type __VLS_PublicProps = {
4
- ''?: string
5
- } & typeof __VLS_typeProps
6
2
  declare const _default: import('vue').DefineComponent<
7
3
  __VLS_WithDefaults<
8
- __VLS_TypePropsToOption<__VLS_PublicProps>,
4
+ __VLS_TypePropsToOption<AddressCommunityProps>,
9
5
  {
10
6
  backgroundColor: string
11
7
  color: string
@@ -22,10 +18,25 @@ declare const _default: import('vue').DefineComponent<
22
18
  {},
23
19
  import('vue').ComponentOptionsMixin,
24
20
  import('vue').ComponentOptionsMixin,
25
- any,
21
+ {},
26
22
  string,
27
23
  import('vue').PublicProps,
28
- any,
24
+ Readonly<
25
+ import('vue').ExtractPropTypes<
26
+ __VLS_WithDefaults<
27
+ __VLS_TypePropsToOption<AddressCommunityProps>,
28
+ {
29
+ backgroundColor: string
30
+ color: string
31
+ fontSize: number
32
+ width: number
33
+ mode: string
34
+ popupWidth: number
35
+ switchType: string
36
+ }
37
+ >
38
+ >
39
+ >,
29
40
  {
30
41
  mode: 'normal' | 'menu'
31
42
  width: number
@@ -23,6 +23,8 @@ export interface AddressCommunityProps {
23
23
  mode: 'normal' | 'menu'
24
24
  popupWidth?: number
25
25
  switchType?: 'merchant' | 'address'
26
+ title?: string
27
+ id?: string
26
28
  }
27
29
  export interface NavTitleProps {
28
30
  /** 模式 */