@tplc/business 0.7.5 → 0.7.6
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 +7 -0
- package/components/lcb-city-select/lcb-city-select.vue +3 -1
- package/components/lcb-nav/AddressCommunity/index.vue +16 -12
- package/package.json +1 -1
- package/types/api/pay.d.ts +0 -47
- package/types/api/user.d.ts +0 -11
- package/types/components/lcb-absolute-config-layout/lcb-absolute-config-layout.vue.d.ts +0 -71
- package/types/components/lcb-absolute-config-layout/types.d.ts +0 -26
- package/types/components/lcb-action-view/components/CustomPopup/index.vue.d.ts +0 -37
- package/types/components/lcb-action-view/components/PayPopup/index.vue.d.ts +0 -44
- package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +0 -41
- package/types/components/lcb-action-view/types.d.ts +0 -136
- package/types/components/lcb-advert/lcb-advert.vue.d.ts +0 -28
- package/types/components/lcb-advert/types.d.ts +0 -3
- package/types/components/lcb-agreement-view/api.d.ts +0 -4
- package/types/components/lcb-agreement-view/lcb-agreement-view.vue.d.ts +0 -40
- package/types/components/lcb-agreement-view/types.d.ts +0 -4
- package/types/components/lcb-area/lcb-area.vue.d.ts +0 -74
- package/types/components/lcb-area/types.d.ts +0 -40
- package/types/components/lcb-area-picker/api/index.d.ts +0 -49
- package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +0 -79
- package/types/components/lcb-area-picker/types.d.ts +0 -3
- package/types/components/lcb-banner/lcb-banner.vue.d.ts +0 -80
- package/types/components/lcb-banner/types.d.ts +0 -66
- package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +0 -56
- package/types/components/lcb-banner-block/types.d.ts +0 -20
- package/types/components/lcb-block/lcb-block.vue.d.ts +0 -76
- package/types/components/lcb-block/types.d.ts +0 -62
- package/types/components/lcb-button/lcb-button.vue.d.ts +0 -74
- package/types/components/lcb-button/types.d.ts +0 -35
- package/types/components/lcb-calendar/api/index.d.ts +0 -17
- package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +0 -152
- package/types/components/lcb-calendar-filter/api.d.ts +0 -5
- package/types/components/lcb-calendar-filter/components/CalendarItem/index.vue.d.ts +0 -40
- package/types/components/lcb-calendar-filter/lcb-calendar-filter.vue.d.ts +0 -66
- package/types/components/lcb-calendar-filter/types.d.ts +0 -29
- package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +0 -68
- package/types/components/lcb-calendar-search/types.d.ts +0 -9
- package/types/components/lcb-city-select/api/index.d.ts +0 -44
- package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +0 -53
- package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +0 -48
- package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +0 -5
- package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +0 -77
- package/types/components/lcb-city-select/types.d.ts +0 -5
- package/types/components/lcb-custom-content/lcb-custom-content.vue.d.ts +0 -40
- package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +0 -44
- package/types/components/lcb-dynamic-data/types.d.ts +0 -9
- package/types/components/lcb-fab/lcb-fab.vue.d.ts +0 -42
- package/types/components/lcb-fab/types.d.ts +0 -19
- package/types/components/lcb-filter-grid/lcb-filter-grid.vue.d.ts +0 -82
- package/types/components/lcb-filter-grid/types.d.ts +0 -20
- package/types/components/lcb-form/lcb-form.vue.d.ts +0 -73
- package/types/components/lcb-form/types.d.ts +0 -82
- package/types/components/lcb-gap/lcb-gap.vue.d.ts +0 -42
- package/types/components/lcb-gap/types.d.ts +0 -7
- package/types/components/lcb-grid/lcb-grid.vue.d.ts +0 -74
- package/types/components/lcb-grid/types.d.ts +0 -16
- package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +0 -68
- package/types/components/lcb-home-search/types.d.ts +0 -14
- package/types/components/lcb-icon/lcb-icon.vue.d.ts +0 -56
- package/types/components/lcb-icon/types.d.ts +0 -10
- package/types/components/lcb-image/Image/index.vue.d.ts +0 -56
- package/types/components/lcb-image/lcb-image.vue.d.ts +0 -70
- package/types/components/lcb-image/types.d.ts +0 -17
- package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +0 -113
- package/types/components/lcb-img-nav/types.d.ts +0 -61
- package/types/components/lcb-light-map/api.d.ts +0 -10
- package/types/components/lcb-light-map/lcb-light-map.vue.d.ts +0 -59
- package/types/components/lcb-light-map/types.d.ts +0 -69
- package/types/components/lcb-light-map/util.d.ts +0 -40
- package/types/components/lcb-list/api.d.ts +0 -67
- package/types/components/lcb-list/components/ActionView/index.vue.d.ts +0 -34
- package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +0 -32
- package/types/components/lcb-list/components/ComponentGroup/type.d.ts +0 -5
- package/types/components/lcb-list/components/FilterList/index.vue.d.ts +0 -50
- package/types/components/lcb-list/components/FilterList/type.d.ts +0 -11
- package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +0 -41
- package/types/components/lcb-list/components/FilterSelect/type.d.ts +0 -2
- package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +0 -64
- package/types/components/lcb-list/components/FilterSlider/types.d.ts +0 -2
- package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +0 -36
- package/types/components/lcb-list/components/FilterTabs/type.d.ts +0 -5
- package/types/components/lcb-list/components/FilterView/index.vue.d.ts +0 -36
- package/types/components/lcb-list/components/FilterView/type.d.ts +0 -8
- package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +0 -43
- package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +0 -76
- package/types/components/lcb-list/components/TagSelect/type.d.ts +0 -4
- package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +0 -38
- package/types/components/lcb-list/components/TreeSelect/type.d.ts +0 -6
- package/types/components/lcb-list/components/UnconditionedLayout/index.vue.d.ts +0 -85
- package/types/components/lcb-list/hooks/useSelect.d.ts +0 -31
- package/types/components/lcb-list/hooks/useSyncValues.d.ts +0 -5
- package/types/components/lcb-list/lcb-list.vue.d.ts +0 -139
- package/types/components/lcb-list/types.d.ts +0 -67
- package/types/components/lcb-map/lcb-map.vue.d.ts +0 -57
- package/types/components/lcb-map/types.d.ts +0 -36
- package/types/components/lcb-nav/AddressCommunity/index.vue.d.ts +0 -63
- package/types/components/lcb-nav/Search/index.vue.d.ts +0 -52
- package/types/components/lcb-nav/SharePopup/api.d.ts +0 -16
- package/types/components/lcb-nav/SharePopup/index.vue.d.ts +0 -37
- package/types/components/lcb-nav/Title/index.vue.d.ts +0 -28
- package/types/components/lcb-nav/lcb-nav.vue.d.ts +0 -106
- package/types/components/lcb-nav/types.d.ts +0 -72
- package/types/components/lcb-notice/api/index.d.ts +0 -18
- package/types/components/lcb-notice/lcb-notice.vue.d.ts +0 -77
- package/types/components/lcb-notice/types.d.ts +0 -14
- package/types/components/lcb-operation-actions/BtnViews.vue.d.ts +0 -62
- package/types/components/lcb-operation-actions/IconActionView.vue.d.ts +0 -61
- package/types/components/lcb-operation-actions/IconView.vue.d.ts +0 -41
- package/types/components/lcb-operation-actions/components/OrderDetLogistic/index.vue.d.ts +0 -51
- package/types/components/lcb-operation-actions/lcb-operation-actions.vue.d.ts +0 -34
- package/types/components/lcb-operation-actions/types.d.ts +0 -51
- package/types/components/lcb-order-payment/lcb-order-payment.vue.d.ts +0 -38
- package/types/components/lcb-order-payment/types.d.ts +0 -30
- package/types/components/lcb-particulars/api.d.ts +0 -45
- package/types/components/lcb-particulars/lcb-particulars.vue.d.ts +0 -56
- package/types/components/lcb-particulars/types.d.ts +0 -5
- package/types/components/lcb-poster/lcb-poster.vue.d.ts +0 -50
- package/types/components/lcb-product/components/ProductSkeleton/index.vue.d.ts +0 -70
- package/types/components/lcb-product/components/SKeletonItem/index.vue.d.ts +0 -28
- package/types/components/lcb-product/lcb-product.vue.d.ts +0 -96
- package/types/components/lcb-product/types.d.ts +0 -44
- package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +0 -117
- package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +0 -267
- package/types/components/lcb-product-item/types.d.ts +0 -133
- package/types/components/lcb-render-view/lcb-render-view.vue.d.ts +0 -35
- package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +0 -44
- package/types/components/lcb-rich-text/types.d.ts +0 -4
- package/types/components/lcb-room-calendar/lcb-room-calendar.vue.d.ts +0 -68
- package/types/components/lcb-room-calendar/types.d.ts +0 -10
- package/types/components/lcb-search/api.d.ts +0 -23
- package/types/components/lcb-search/components/SearchHistory/index.vue.d.ts +0 -48
- package/types/components/lcb-search/components/SearchList/index.vue.d.ts +0 -56
- package/types/components/lcb-search/lcb-search.vue.d.ts +0 -1211
- package/types/components/lcb-search/types.d.ts +0 -29
- package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +0 -73
- package/types/components/lcb-swiper/types.d.ts +0 -17
- package/types/components/lcb-tabs/components/Imgs/index.vue.d.ts +0 -62
- package/types/components/lcb-tabs/components/Tabs/index.vue.d.ts +0 -65
- package/types/components/lcb-tabs/components/Tags/index.vue.d.ts +0 -68
- package/types/components/lcb-tabs/lcb-tabs.vue.d.ts +0 -65
- package/types/components/lcb-tabs/types.d.ts +0 -34
- package/types/components/lcb-tags/lcb-tags.vue.d.ts +0 -74
- package/types/components/lcb-tags/types.d.ts +0 -17
- package/types/components/lcb-text/lcb-text.vue.d.ts +0 -42
- package/types/components/lcb-text/types.d.ts +0 -4
- package/types/components/lcb-title/lcb-title.vue.d.ts +0 -114
- package/types/components/lcb-title/types.d.ts +0 -42
- package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +0 -62
- package/types/components/lcb-user-order/types.d.ts +0 -27
- package/types/components/lcb-user-top/Nums/index.vue.d.ts +0 -28
- package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +0 -158
- package/types/components/lcb-user-top/types.d.ts +0 -57
- package/types/components/lcb-video/lcb-video.vue.d.ts +0 -56
- package/types/components/lcb-video/types.d.ts +0 -10
- package/types/components/lcb-vip/api/index.d.ts +0 -70
- package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +0 -42
- package/types/components/lcb-vip/lcb-vip.vue.d.ts +0 -68
- package/types/components/lcb-vip/types.d.ts +0 -10
- package/types/components/lcb-waterfall/lcb-waterfall-item.vue.d.ts +0 -73
- package/types/components/lcb-waterfall/lcb-waterfall.vue.d.ts +0 -192
- package/types/components/lcb-wrapper-item/lcb-wrapper-item.vue.d.ts +0 -49
- package/types/components/lcb-wrapper-list/lcb-wrapper-list.vue.d.ts +0 -71
- package/types/components/lcb-wrapper-list/types.d.ts +0 -14
- package/types/constants.d.ts +0 -17
- package/types/hooks/useAutoHeight.d.ts +0 -8
- package/types/hooks/useDynamicData.d.ts +0 -14
- package/types/hooks/useLocation.api.d.ts +0 -18
- package/types/hooks/useLocation.d.ts +0 -10
- package/types/hooks/usePageScroll.d.ts +0 -2
- package/types/hooks/usePay.d.ts +0 -13
- package/types/hooks/useSyncForm.d.ts +0 -5
- package/types/hooks/useUpload.api.d.ts +0 -12
- package/types/hooks/useUpload.d.ts +0 -21
- package/types/utils/formatter.d.ts +0 -5
- package/types/utils/history.d.ts +0 -5
- package/types/utils/request.d.ts +0 -6
- package/types/utils/transform.d.ts +0 -15
- package/types/utils/utils.d.ts +0 -51
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.6](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.5...v0.7.6) (2025-12-13)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* 兼容版本 ([4d19c5b](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/4d19c5b41796d2ba3335b5c792008a4642503d1d))
|
|
11
|
+
|
|
5
12
|
### [0.7.5](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.89...v0.7.5) (2025-12-13)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -151,7 +151,9 @@ watch(
|
|
|
151
151
|
watch(
|
|
152
152
|
() => modelValue.value,
|
|
153
153
|
() => {
|
|
154
|
-
|
|
154
|
+
if (modelValue.value && Object.keys(modelValue.value).length > 0) {
|
|
155
|
+
uni.$emit('lcb-city-select-change', modelValue.value)
|
|
156
|
+
}
|
|
155
157
|
},
|
|
156
158
|
{
|
|
157
159
|
immediate: true,
|
|
@@ -43,7 +43,7 @@ const props = withDefaults(defineProps<AddressCommunityProps>(), {
|
|
|
43
43
|
popupWidth: 240,
|
|
44
44
|
switchType: 'address',
|
|
45
45
|
})
|
|
46
|
-
type Merchant = { merchantName: string; pageDecorationId: string }
|
|
46
|
+
type Merchant = { merchantName: string; pageDecorationId: string; merchantId: string }
|
|
47
47
|
const value = defineModel<string>('')
|
|
48
48
|
const constantsStore = uni.$lcb.constantsStore?.()
|
|
49
49
|
const title = ref<string>('')
|
|
@@ -51,8 +51,9 @@ const merchantList = ref<Merchant[]>([])
|
|
|
51
51
|
const options = computed(() => {
|
|
52
52
|
return props.switchType === 'merchant'
|
|
53
53
|
? (merchantList.value || []).map((item) => ({
|
|
54
|
+
...item,
|
|
54
55
|
addressName: item.merchantName,
|
|
55
|
-
addressId: item.
|
|
56
|
+
addressId: item.merchantId,
|
|
56
57
|
}))
|
|
57
58
|
: constantsStore?.mainConfig?.addressList
|
|
58
59
|
})
|
|
@@ -72,6 +73,18 @@ watch(
|
|
|
72
73
|
deep: true,
|
|
73
74
|
},
|
|
74
75
|
)
|
|
76
|
+
const getMerchantList = async () => {
|
|
77
|
+
const { data } = await uni.$lcb.http.post('/merchant/page', {
|
|
78
|
+
pageSearch: {
|
|
79
|
+
limit: 1000,
|
|
80
|
+
page: 1,
|
|
81
|
+
},
|
|
82
|
+
pageDecorationFlag: true,
|
|
83
|
+
})
|
|
84
|
+
merchantList.value = data as Merchant[]
|
|
85
|
+
title.value = merchantList.value[0].merchantName
|
|
86
|
+
value.value = merchantList.value[0].merchantId
|
|
87
|
+
}
|
|
75
88
|
watch(
|
|
76
89
|
() => props.switchType,
|
|
77
90
|
(switchType) => {
|
|
@@ -89,7 +102,7 @@ const handleChange = (e: any) => {
|
|
|
89
102
|
if (props.switchType === 'merchant') {
|
|
90
103
|
// 刷新当前页面
|
|
91
104
|
uni.$emit('refreshSchemaPage', {
|
|
92
|
-
pageDecorationId: e.selectedItem.
|
|
105
|
+
pageDecorationId: e.selectedItem.pageDecorationId,
|
|
93
106
|
pageId: getCurrentPage().pageId,
|
|
94
107
|
})
|
|
95
108
|
} else {
|
|
@@ -116,15 +129,6 @@ const containerStyle = computed(() => {
|
|
|
116
129
|
[props.mode === 'normal' ? 'max-width' : 'width']: `${props.width}rpx`,
|
|
117
130
|
}
|
|
118
131
|
})
|
|
119
|
-
const getMerchantList = async () => {
|
|
120
|
-
const { data } = await uni.$lcb.http.post('/merchant/page', {
|
|
121
|
-
pageSearch: {
|
|
122
|
-
limit: 1000,
|
|
123
|
-
page: 1,
|
|
124
|
-
},
|
|
125
|
-
})
|
|
126
|
-
merchantList.value = data as Merchant[]
|
|
127
|
-
}
|
|
128
132
|
</script>
|
|
129
133
|
|
|
130
134
|
<style lang="scss" scoped>
|
package/package.json
CHANGED
package/types/api/pay.d.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export type CommitPageDetailParams = {
|
|
2
|
-
orderIndexToken?: string
|
|
3
|
-
userAddressId?: string
|
|
4
|
-
pointFlag?: boolean
|
|
5
|
-
useWalletPrice?: number
|
|
6
|
-
pickupInfo?: {
|
|
7
|
-
address: string
|
|
8
|
-
longitude: string
|
|
9
|
-
latitude: string
|
|
10
|
-
title: string
|
|
11
|
-
distance: number
|
|
12
|
-
}
|
|
13
|
-
orderType: string
|
|
14
|
-
/** 下单使用的积分数量 */
|
|
15
|
-
point?: number
|
|
16
|
-
/** 政府补贴 */
|
|
17
|
-
payType?: string
|
|
18
|
-
govVoucherId?: string
|
|
19
|
-
postageType?: number
|
|
20
|
-
/** 选择支付的钱包ID */
|
|
21
|
-
walletAccountId?: string
|
|
22
|
-
/** 平台优惠券 */
|
|
23
|
-
platformVoucherId?: string
|
|
24
|
-
orderNo?: string
|
|
25
|
-
/** 商家优惠券抵扣 */
|
|
26
|
-
merchantVoucherId?: string
|
|
27
|
-
productId?: string
|
|
28
|
-
toStoreFlag?: boolean
|
|
29
|
-
remark?: string
|
|
30
|
-
contactsPhone?: string
|
|
31
|
-
contactsName?: string
|
|
32
|
-
buyQuantity?: number
|
|
33
|
-
toStoreTime?: string
|
|
34
|
-
selectRemark?: string[]
|
|
35
|
-
}
|
|
36
|
-
/** 提交订单 */
|
|
37
|
-
export declare const commitOrder: (info: CommitPageDetailParams) => Promise<
|
|
38
|
-
import('../action').IResData<{
|
|
39
|
-
orderNo: string
|
|
40
|
-
paymentParams: any
|
|
41
|
-
wakePayment: boolean
|
|
42
|
-
}>
|
|
43
|
-
>
|
|
44
|
-
/** 查询订单支付状态 */
|
|
45
|
-
export declare const queryOrderPaymentStatus: (orderNo: string) => Promise<{
|
|
46
|
-
status: number
|
|
47
|
-
}>
|
package/types/api/user.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** 获取用户手机号 */
|
|
2
|
-
export declare const getUserPhone: (data: {
|
|
3
|
-
encryptedData: string
|
|
4
|
-
iv: string
|
|
5
|
-
code?: string
|
|
6
|
-
}) => Promise<import('../action').IResData<unknown>>
|
|
7
|
-
export interface TemplateMessage {
|
|
8
|
-
templateId: string
|
|
9
|
-
}
|
|
10
|
-
/** 获取模板消息列表 */
|
|
11
|
-
export declare const getTemplateMessageList: (events?: string) => Promise<TemplateMessage[]>
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { LcbAbsoluteConfigLayoutProps, LcbAbsoluteConfigLayoutBlock } from './types'
|
|
2
|
-
declare let __VLS_typeProps: LcbAbsoluteConfigLayoutProps
|
|
3
|
-
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?: number
|
|
5
|
-
} & typeof __VLS_typeProps
|
|
6
|
-
declare const _default: import('vue').DefineComponent<
|
|
7
|
-
__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, any>,
|
|
8
|
-
{},
|
|
9
|
-
unknown,
|
|
10
|
-
{},
|
|
11
|
-
{},
|
|
12
|
-
import('vue').ComponentOptionsMixin,
|
|
13
|
-
import('vue').ComponentOptionsMixin,
|
|
14
|
-
{
|
|
15
|
-
'update:modelValue': (modelValue: number) => void
|
|
16
|
-
startCanvasResize: (...args: any[]) => void
|
|
17
|
-
startDragBlock: (...args: any[]) => void
|
|
18
|
-
removeBlock: (...args: any[]) => void
|
|
19
|
-
startResizeBlock: (...args: any[]) => void
|
|
20
|
-
},
|
|
21
|
-
string,
|
|
22
|
-
import('vue').PublicProps,
|
|
23
|
-
Readonly<
|
|
24
|
-
import('vue').ExtractPropTypes<
|
|
25
|
-
__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, any>
|
|
26
|
-
>
|
|
27
|
-
> & {
|
|
28
|
-
onStartCanvasResize?: ((...args: any[]) => any) | undefined
|
|
29
|
-
onStartDragBlock?: ((...args: any[]) => any) | undefined
|
|
30
|
-
onRemoveBlock?: ((...args: any[]) => any) | undefined
|
|
31
|
-
onStartResizeBlock?: ((...args: any[]) => any) | undefined
|
|
32
|
-
'onUpdate:modelValue'?: ((modelValue: number) => any) | undefined
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
mode: 'edit' | 'view'
|
|
36
|
-
dataset: Record<string, any>
|
|
37
|
-
blocks: LcbAbsoluteConfigLayoutBlock[]
|
|
38
|
-
canvas: {
|
|
39
|
-
width: number
|
|
40
|
-
height: number
|
|
41
|
-
backgroundColor?: string
|
|
42
|
-
}
|
|
43
|
-
modelValue: number
|
|
44
|
-
},
|
|
45
|
-
{}
|
|
46
|
-
>
|
|
47
|
-
export default _default
|
|
48
|
-
|
|
49
|
-
type __VLS_WithDefaults<P, D> = {
|
|
50
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
51
|
-
? __VLS_Prettify<
|
|
52
|
-
P[K] & {
|
|
53
|
-
default: D[K]
|
|
54
|
-
}
|
|
55
|
-
>
|
|
56
|
-
: P[K]
|
|
57
|
-
}
|
|
58
|
-
type __VLS_Prettify<T> = {
|
|
59
|
-
[K in keyof T]: T[K]
|
|
60
|
-
} & {}
|
|
61
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
62
|
-
type __VLS_TypePropsToOption<T> = {
|
|
63
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
64
|
-
? {
|
|
65
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
66
|
-
}
|
|
67
|
-
: {
|
|
68
|
-
type: import('vue').PropType<T[K]>
|
|
69
|
-
required: true
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export interface LcbAbsoluteConfigLayoutBlock {
|
|
2
|
-
id: number
|
|
3
|
-
x: number
|
|
4
|
-
y: number
|
|
5
|
-
offsetX: number
|
|
6
|
-
offsetY: number
|
|
7
|
-
zIndex: number
|
|
8
|
-
width: number
|
|
9
|
-
height: number
|
|
10
|
-
minWidth: number
|
|
11
|
-
minHeight: number
|
|
12
|
-
maxWidth: number
|
|
13
|
-
maxHeight: number
|
|
14
|
-
type: string
|
|
15
|
-
props: Record<string, any>
|
|
16
|
-
}
|
|
17
|
-
export interface LcbAbsoluteConfigLayoutProps {
|
|
18
|
-
mode: 'edit' | 'view'
|
|
19
|
-
dataset?: Record<string, any>
|
|
20
|
-
blocks: LcbAbsoluteConfigLayoutBlock[]
|
|
21
|
-
canvas: {
|
|
22
|
-
width: number
|
|
23
|
-
height: number
|
|
24
|
-
backgroundColor?: string
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
declare let __VLS_typeProps: {
|
|
2
|
-
jumpUrl?: string
|
|
3
|
-
}
|
|
4
|
-
type __VLS_PublicProps = {
|
|
5
|
-
modelValue?: any
|
|
6
|
-
} & typeof __VLS_typeProps
|
|
7
|
-
declare const _default: import('vue').DefineComponent<
|
|
8
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
9
|
-
{},
|
|
10
|
-
unknown,
|
|
11
|
-
{},
|
|
12
|
-
{},
|
|
13
|
-
import('vue').ComponentOptionsMixin,
|
|
14
|
-
import('vue').ComponentOptionsMixin,
|
|
15
|
-
{
|
|
16
|
-
'update:modelValue': (modelValue: any) => void
|
|
17
|
-
},
|
|
18
|
-
string,
|
|
19
|
-
import('vue').PublicProps,
|
|
20
|
-
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
21
|
-
'onUpdate:modelValue'?: ((modelValue: any) => any) | undefined
|
|
22
|
-
},
|
|
23
|
-
{},
|
|
24
|
-
{}
|
|
25
|
-
>
|
|
26
|
-
export default _default
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
28
|
-
type __VLS_TypePropsToOption<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
30
|
-
? {
|
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
32
|
-
}
|
|
33
|
-
: {
|
|
34
|
-
type: import('vue').PropType<T[K]>
|
|
35
|
-
required: true
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
declare let __VLS_typeProps: {
|
|
2
|
-
requestInfo: {
|
|
3
|
-
requestUrl: string
|
|
4
|
-
requestParams: Record<string, any>
|
|
5
|
-
}
|
|
6
|
-
submitRequestInfo: {
|
|
7
|
-
requestUrl: string
|
|
8
|
-
requestParams: Record<string, any>
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
type __VLS_PublicProps = {
|
|
12
|
-
modelValue?: any
|
|
13
|
-
} & typeof __VLS_typeProps
|
|
14
|
-
declare const _default: import('vue').DefineComponent<
|
|
15
|
-
__VLS_TypePropsToOption<__VLS_PublicProps>,
|
|
16
|
-
{},
|
|
17
|
-
unknown,
|
|
18
|
-
{},
|
|
19
|
-
{},
|
|
20
|
-
import('vue').ComponentOptionsMixin,
|
|
21
|
-
import('vue').ComponentOptionsMixin,
|
|
22
|
-
{
|
|
23
|
-
'update:modelValue': (modelValue: any) => void
|
|
24
|
-
},
|
|
25
|
-
string,
|
|
26
|
-
import('vue').PublicProps,
|
|
27
|
-
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
28
|
-
'onUpdate:modelValue'?: ((modelValue: any) => any) | undefined
|
|
29
|
-
},
|
|
30
|
-
{},
|
|
31
|
-
{}
|
|
32
|
-
>
|
|
33
|
-
export default _default
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
35
|
-
type __VLS_TypePropsToOption<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
37
|
-
? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
39
|
-
}
|
|
40
|
-
: {
|
|
41
|
-
type: import('vue').PropType<T[K]>
|
|
42
|
-
required: true
|
|
43
|
-
}
|
|
44
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { LcbActionViewProps } from './types'
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
default?(_: {}): any
|
|
4
|
-
default?(_: {}): any
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
7
|
-
__VLS_TypePropsToOption<LcbActionViewProps>,
|
|
8
|
-
{},
|
|
9
|
-
unknown,
|
|
10
|
-
{},
|
|
11
|
-
{},
|
|
12
|
-
import('vue').ComponentOptionsMixin,
|
|
13
|
-
import('vue').ComponentOptionsMixin,
|
|
14
|
-
any,
|
|
15
|
-
string,
|
|
16
|
-
import('vue').PublicProps,
|
|
17
|
-
any,
|
|
18
|
-
{} | {} | {} | {} | {} | {} | {} | {} | {} | {},
|
|
19
|
-
{}
|
|
20
|
-
>
|
|
21
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
22
|
-
typeof __VLS_component,
|
|
23
|
-
ReturnType<typeof __VLS_template>
|
|
24
|
-
>
|
|
25
|
-
export default _default
|
|
26
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
-
new (): {
|
|
28
|
-
$slots: S
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
32
|
-
type __VLS_TypePropsToOption<T> = {
|
|
33
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
34
|
-
? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
36
|
-
}
|
|
37
|
-
: {
|
|
38
|
-
type: import('vue').PropType<T[K]>
|
|
39
|
-
required: true
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
import { PopupType } from '@tplc/wot/types/components/wd-popup/types'
|
|
2
|
-
import { StyleValue } from 'vue'
|
|
3
|
-
export type LcbActionViewProps = {
|
|
4
|
-
/** 跳转路径 */
|
|
5
|
-
jumpUrl?: string
|
|
6
|
-
urlParams?: string
|
|
7
|
-
customClass?: string
|
|
8
|
-
customStyle?: StyleValue
|
|
9
|
-
renderMode?: 'view' | 'button'
|
|
10
|
-
autoJumpSecond?: number
|
|
11
|
-
/** 弹窗位置 */
|
|
12
|
-
position?: PopupType
|
|
13
|
-
jumpInterceptor?: (action: LcbActionViewProps) => boolean
|
|
14
|
-
/** 弹窗文案 */
|
|
15
|
-
content?: string
|
|
16
|
-
/** 弹窗标题 */
|
|
17
|
-
title?: string
|
|
18
|
-
requestParam?: Record<string, any>
|
|
19
|
-
requestInfo?: {
|
|
20
|
-
requestUrl: string
|
|
21
|
-
requestParams: Record<string, any>
|
|
22
|
-
/** 请求之后刷新schemapage */
|
|
23
|
-
refreshSchemaPage?: boolean
|
|
24
|
-
}
|
|
25
|
-
submitRequestInfo?: {
|
|
26
|
-
requestUrl: string
|
|
27
|
-
requestParams: Record<string, any>
|
|
28
|
-
}
|
|
29
|
-
} & (
|
|
30
|
-
| {
|
|
31
|
-
/**
|
|
32
|
-
* 跳转类型 1: 网页 2: 小程序内页 10: 跳转小程序 11: 跳转半屏小程序 12: 小程序客服
|
|
33
|
-
* 13: 退出登录 14: 小程序弹框 16: 小程序锚点 17 网络请求 21: 新窗口跳到页面 22: 切换TAB页 23: 重启进入某页面
|
|
34
|
-
* 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话
|
|
35
|
-
* 88: 授权手机号 101 用户头像 102 分享 103 意见反馈 104 打开授权设置页
|
|
36
|
-
* 105 查看地图 106 查看地图 141 二维码 241 返回并刷新上个页面 142 模板消息
|
|
37
|
-
* 107 图片预览
|
|
38
|
-
* 143 下载图片
|
|
39
|
-
*/
|
|
40
|
-
jumpType?:
|
|
41
|
-
| 1
|
|
42
|
-
| 2
|
|
43
|
-
| 10
|
|
44
|
-
| 11
|
|
45
|
-
| 12
|
|
46
|
-
| 13
|
|
47
|
-
| 14
|
|
48
|
-
| 17
|
|
49
|
-
| 21
|
|
50
|
-
| 22
|
|
51
|
-
| 23
|
|
52
|
-
| 24
|
|
53
|
-
| 25
|
|
54
|
-
| 26
|
|
55
|
-
| 88
|
|
56
|
-
| 101
|
|
57
|
-
| 102
|
|
58
|
-
| 103
|
|
59
|
-
| 104
|
|
60
|
-
| 241
|
|
61
|
-
| 143
|
|
62
|
-
/** 小程序appid */
|
|
63
|
-
jumpAppid?: string
|
|
64
|
-
}
|
|
65
|
-
| {
|
|
66
|
-
jumpType: 30
|
|
67
|
-
phoneNumber?: string
|
|
68
|
-
}
|
|
69
|
-
| {
|
|
70
|
-
jumpType: 16
|
|
71
|
-
offsetTopNavbar?: boolean
|
|
72
|
-
}
|
|
73
|
-
| {
|
|
74
|
-
jumpType: 144
|
|
75
|
-
}
|
|
76
|
-
| {
|
|
77
|
-
jumpType: 105
|
|
78
|
-
addressInfo?: {
|
|
79
|
-
address: string
|
|
80
|
-
latitude: number
|
|
81
|
-
longitude: number
|
|
82
|
-
name: string
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
| {
|
|
86
|
-
jumpType: 106
|
|
87
|
-
}
|
|
88
|
-
| {
|
|
89
|
-
jumpType: 141
|
|
90
|
-
}
|
|
91
|
-
| {
|
|
92
|
-
jumpType: 107
|
|
93
|
-
content: {
|
|
94
|
-
imgUrl: string
|
|
95
|
-
typeName: string
|
|
96
|
-
}[]
|
|
97
|
-
}
|
|
98
|
-
| {
|
|
99
|
-
jumpType: 142
|
|
100
|
-
events: string
|
|
101
|
-
}
|
|
102
|
-
| {
|
|
103
|
-
jumpType: 146
|
|
104
|
-
}
|
|
105
|
-
)
|
|
106
|
-
export declare const jumpTypeMap: {
|
|
107
|
-
webview: number
|
|
108
|
-
miniProgram: number
|
|
109
|
-
jumpMiniProgram: number
|
|
110
|
-
halfScreenMiniProgram: number
|
|
111
|
-
miniProgramCustomerService: number
|
|
112
|
-
logout: number
|
|
113
|
-
miniProgramDialog: number
|
|
114
|
-
miniProgramAnchor: number
|
|
115
|
-
request: number
|
|
116
|
-
newWindow: number
|
|
117
|
-
switchTab: number
|
|
118
|
-
restartMiniProgram: number
|
|
119
|
-
back: number
|
|
120
|
-
closeCurrentPage: number
|
|
121
|
-
closeCurrentWindow: number
|
|
122
|
-
phoneCall: number
|
|
123
|
-
getPhoneNumber: number
|
|
124
|
-
chooseAvatar: number
|
|
125
|
-
share: number
|
|
126
|
-
feedback: number
|
|
127
|
-
openSetting: number
|
|
128
|
-
map: number
|
|
129
|
-
poster: number
|
|
130
|
-
imagePreview: number
|
|
131
|
-
qrCode: number
|
|
132
|
-
templateMessage: number
|
|
133
|
-
'mixture-pay': number
|
|
134
|
-
customPopup: number
|
|
135
|
-
arScan: number
|
|
136
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { LcbAdvertProps } from './types'
|
|
2
|
-
declare const _default: import('vue').DefineComponent<
|
|
3
|
-
__VLS_TypePropsToOption<LcbAdvertProps>,
|
|
4
|
-
{},
|
|
5
|
-
unknown,
|
|
6
|
-
{},
|
|
7
|
-
{},
|
|
8
|
-
import('vue').ComponentOptionsMixin,
|
|
9
|
-
import('vue').ComponentOptionsMixin,
|
|
10
|
-
{},
|
|
11
|
-
string,
|
|
12
|
-
import('vue').PublicProps,
|
|
13
|
-
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<LcbAdvertProps>>>,
|
|
14
|
-
{},
|
|
15
|
-
{}
|
|
16
|
-
>
|
|
17
|
-
export default _default
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
19
|
-
type __VLS_TypePropsToOption<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
21
|
-
? {
|
|
22
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
23
|
-
}
|
|
24
|
-
: {
|
|
25
|
-
type: import('vue').PropType<T[K]>
|
|
26
|
-
required: true
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { LcbAgreementViewProps } from './types'
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
default?(_: { text: string | undefined }): any
|
|
4
|
-
}
|
|
5
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
6
|
-
__VLS_TypePropsToOption<LcbAgreementViewProps>,
|
|
7
|
-
{},
|
|
8
|
-
unknown,
|
|
9
|
-
{},
|
|
10
|
-
{},
|
|
11
|
-
import('vue').ComponentOptionsMixin,
|
|
12
|
-
import('vue').ComponentOptionsMixin,
|
|
13
|
-
{},
|
|
14
|
-
string,
|
|
15
|
-
import('vue').PublicProps,
|
|
16
|
-
Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<LcbAgreementViewProps>>>,
|
|
17
|
-
{},
|
|
18
|
-
{}
|
|
19
|
-
>
|
|
20
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
21
|
-
typeof __VLS_component,
|
|
22
|
-
ReturnType<typeof __VLS_template>
|
|
23
|
-
>
|
|
24
|
-
export default _default
|
|
25
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
-
new (): {
|
|
27
|
-
$slots: S
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
31
|
-
type __VLS_TypePropsToOption<T> = {
|
|
32
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
33
|
-
? {
|
|
34
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
35
|
-
}
|
|
36
|
-
: {
|
|
37
|
-
type: import('vue').PropType<T[K]>
|
|
38
|
-
required: true
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { LcbAreaProps } from './types'
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
default?(_: { item: LcbAreaProps }): any
|
|
4
|
-
}
|
|
5
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
6
|
-
__VLS_WithDefaults<
|
|
7
|
-
__VLS_TypePropsToOption<LcbAreaProps>,
|
|
8
|
-
{
|
|
9
|
-
displayFlex: string
|
|
10
|
-
display: string
|
|
11
|
-
overflowX: string
|
|
12
|
-
}
|
|
13
|
-
>,
|
|
14
|
-
{},
|
|
15
|
-
unknown,
|
|
16
|
-
{},
|
|
17
|
-
{},
|
|
18
|
-
import('vue').ComponentOptionsMixin,
|
|
19
|
-
import('vue').ComponentOptionsMixin,
|
|
20
|
-
{},
|
|
21
|
-
string,
|
|
22
|
-
import('vue').PublicProps,
|
|
23
|
-
Readonly<
|
|
24
|
-
import('vue').ExtractPropTypes<
|
|
25
|
-
__VLS_WithDefaults<
|
|
26
|
-
__VLS_TypePropsToOption<LcbAreaProps>,
|
|
27
|
-
{
|
|
28
|
-
displayFlex: string
|
|
29
|
-
display: string
|
|
30
|
-
overflowX: string
|
|
31
|
-
}
|
|
32
|
-
>
|
|
33
|
-
>
|
|
34
|
-
>,
|
|
35
|
-
{
|
|
36
|
-
display: 'flex' | 'grid'
|
|
37
|
-
displayFlex: 'row' | 'column'
|
|
38
|
-
overflowX: 'hidden' | 'initial' | 'auto'
|
|
39
|
-
},
|
|
40
|
-
{}
|
|
41
|
-
>
|
|
42
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
43
|
-
typeof __VLS_component,
|
|
44
|
-
ReturnType<typeof __VLS_template>
|
|
45
|
-
>
|
|
46
|
-
export default _default
|
|
47
|
-
type __VLS_WithDefaults<P, D> = {
|
|
48
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
49
|
-
? __VLS_Prettify<
|
|
50
|
-
P[K] & {
|
|
51
|
-
default: D[K]
|
|
52
|
-
}
|
|
53
|
-
>
|
|
54
|
-
: P[K]
|
|
55
|
-
}
|
|
56
|
-
type __VLS_Prettify<T> = {
|
|
57
|
-
[K in keyof T]: T[K]
|
|
58
|
-
} & {}
|
|
59
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
60
|
-
new (): {
|
|
61
|
-
$slots: S
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T
|
|
65
|
-
type __VLS_TypePropsToOption<T> = {
|
|
66
|
-
[K in keyof T]-?: {} extends Pick<T, K>
|
|
67
|
-
? {
|
|
68
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>
|
|
69
|
-
}
|
|
70
|
-
: {
|
|
71
|
-
type: import('vue').PropType<T[K]>
|
|
72
|
-
required: true
|
|
73
|
-
}
|
|
74
|
-
}
|