@tplc/business 0.7.6 → 0.7.8
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 +9 -0
- package/components/lcb-nav/AddressCommunity/index.vue +1 -1
- package/components/lcb-nav/lcb-nav.vue +8 -2
- package/package.json +13 -13
- package/types/api/pay.d.ts +47 -0
- package/types/api/user.d.ts +11 -0
- package/types/components/lcb-absolute-config-layout/lcb-absolute-config-layout.vue.d.ts +71 -0
- package/types/components/lcb-absolute-config-layout/types.d.ts +26 -0
- package/types/components/lcb-action-view/components/CustomPopup/index.vue.d.ts +37 -0
- package/types/components/lcb-action-view/components/PayPopup/index.vue.d.ts +44 -0
- package/types/components/lcb-action-view/lcb-action-view.vue.d.ts +41 -0
- package/types/components/lcb-action-view/types.d.ts +136 -0
- package/types/components/lcb-advert/lcb-advert.vue.d.ts +28 -0
- package/types/components/lcb-advert/types.d.ts +3 -0
- package/types/components/lcb-agreement-view/api.d.ts +4 -0
- package/types/components/lcb-agreement-view/lcb-agreement-view.vue.d.ts +40 -0
- package/types/components/lcb-agreement-view/types.d.ts +4 -0
- package/types/components/lcb-area/lcb-area.vue.d.ts +74 -0
- package/types/components/lcb-area/types.d.ts +40 -0
- package/types/components/lcb-area-picker/api/index.d.ts +49 -0
- package/types/components/lcb-area-picker/lcb-area-picker.vue.d.ts +79 -0
- package/types/components/lcb-area-picker/types.d.ts +3 -0
- package/types/components/lcb-banner/lcb-banner.vue.d.ts +80 -0
- package/types/components/lcb-banner/types.d.ts +66 -0
- package/types/components/lcb-banner-block/lcb-banner-block.vue.d.ts +56 -0
- package/types/components/lcb-banner-block/types.d.ts +20 -0
- package/types/components/lcb-block/lcb-block.vue.d.ts +76 -0
- package/types/components/lcb-block/types.d.ts +62 -0
- package/types/components/lcb-button/lcb-button.vue.d.ts +74 -0
- package/types/components/lcb-button/types.d.ts +35 -0
- package/types/components/lcb-calendar/api/index.d.ts +17 -0
- package/types/components/lcb-calendar/lcb-calendar.vue.d.ts +152 -0
- package/types/components/lcb-calendar-filter/api.d.ts +5 -0
- package/types/components/lcb-calendar-filter/components/CalendarItem/index.vue.d.ts +40 -0
- package/types/components/lcb-calendar-filter/lcb-calendar-filter.vue.d.ts +66 -0
- package/types/components/lcb-calendar-filter/types.d.ts +29 -0
- package/types/components/lcb-calendar-search/lcb-calendar-search.vue.d.ts +68 -0
- package/types/components/lcb-calendar-search/types.d.ts +9 -0
- package/types/components/lcb-city-select/api/index.d.ts +44 -0
- package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +53 -0
- package/types/components/lcb-city-select/components/lcb-city-list/index.vue.d.ts +48 -0
- package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +5 -0
- package/types/components/lcb-city-select/lcb-city-select.vue.d.ts +77 -0
- package/types/components/lcb-city-select/types.d.ts +5 -0
- package/types/components/lcb-custom-content/lcb-custom-content.vue.d.ts +40 -0
- package/types/components/lcb-dynamic-data/lcb-dynamic-data.vue.d.ts +44 -0
- package/types/components/lcb-dynamic-data/types.d.ts +9 -0
- package/types/components/lcb-fab/lcb-fab.vue.d.ts +42 -0
- package/types/components/lcb-fab/types.d.ts +19 -0
- package/types/components/lcb-filter-grid/lcb-filter-grid.vue.d.ts +82 -0
- package/types/components/lcb-filter-grid/types.d.ts +20 -0
- package/types/components/lcb-form/lcb-form.vue.d.ts +73 -0
- package/types/components/lcb-form/types.d.ts +82 -0
- package/types/components/lcb-gap/lcb-gap.vue.d.ts +42 -0
- package/types/components/lcb-gap/types.d.ts +7 -0
- package/types/components/lcb-grid/lcb-grid.vue.d.ts +74 -0
- package/types/components/lcb-grid/types.d.ts +16 -0
- package/types/components/lcb-home-search/lcb-home-search.vue.d.ts +68 -0
- package/types/components/lcb-home-search/types.d.ts +14 -0
- package/types/components/lcb-icon/lcb-icon.vue.d.ts +56 -0
- package/types/components/lcb-icon/types.d.ts +10 -0
- package/types/components/lcb-image/Image/index.vue.d.ts +56 -0
- package/types/components/lcb-image/lcb-image.vue.d.ts +70 -0
- package/types/components/lcb-image/types.d.ts +17 -0
- package/types/components/lcb-img-nav/lcb-img-nav.vue.d.ts +113 -0
- package/types/components/lcb-img-nav/types.d.ts +61 -0
- package/types/components/lcb-light-map/api.d.ts +10 -0
- package/types/components/lcb-light-map/lcb-light-map.vue.d.ts +59 -0
- package/types/components/lcb-light-map/types.d.ts +69 -0
- package/types/components/lcb-light-map/util.d.ts +40 -0
- package/types/components/lcb-list/api.d.ts +67 -0
- package/types/components/lcb-list/components/ActionView/index.vue.d.ts +34 -0
- package/types/components/lcb-list/components/ComponentGroup/index.vue.d.ts +32 -0
- package/types/components/lcb-list/components/ComponentGroup/type.d.ts +5 -0
- package/types/components/lcb-list/components/FilterList/index.vue.d.ts +50 -0
- package/types/components/lcb-list/components/FilterList/type.d.ts +11 -0
- package/types/components/lcb-list/components/FilterSelect/index.vue.d.ts +41 -0
- package/types/components/lcb-list/components/FilterSelect/type.d.ts +2 -0
- package/types/components/lcb-list/components/FilterSlider/index.vue.d.ts +64 -0
- package/types/components/lcb-list/components/FilterSlider/types.d.ts +2 -0
- package/types/components/lcb-list/components/FilterTabs/index.vue.d.ts +36 -0
- package/types/components/lcb-list/components/FilterTabs/type.d.ts +5 -0
- package/types/components/lcb-list/components/FilterView/index.vue.d.ts +36 -0
- package/types/components/lcb-list/components/FilterView/type.d.ts +8 -0
- package/types/components/lcb-list/components/SelectTagView/index.vue.d.ts +43 -0
- package/types/components/lcb-list/components/TagSelect/index.vue.d.ts +76 -0
- package/types/components/lcb-list/components/TagSelect/type.d.ts +4 -0
- package/types/components/lcb-list/components/TreeSelect/index.vue.d.ts +38 -0
- package/types/components/lcb-list/components/TreeSelect/type.d.ts +6 -0
- package/types/components/lcb-list/components/UnconditionedLayout/index.vue.d.ts +85 -0
- package/types/components/lcb-list/hooks/useSelect.d.ts +31 -0
- package/types/components/lcb-list/hooks/useSyncValues.d.ts +5 -0
- package/types/components/lcb-list/lcb-list.vue.d.ts +139 -0
- package/types/components/lcb-list/types.d.ts +67 -0
- package/types/components/lcb-map/lcb-map.vue.d.ts +57 -0
- package/types/components/lcb-map/types.d.ts +36 -0
- package/types/components/lcb-nav/AddressCommunity/index.vue.d.ts +63 -0
- package/types/components/lcb-nav/Search/index.vue.d.ts +52 -0
- package/types/components/lcb-nav/SharePopup/api.d.ts +16 -0
- package/types/components/lcb-nav/SharePopup/index.vue.d.ts +37 -0
- package/types/components/lcb-nav/Title/index.vue.d.ts +28 -0
- package/types/components/lcb-nav/lcb-nav.vue.d.ts +106 -0
- package/types/components/lcb-nav/types.d.ts +72 -0
- package/types/components/lcb-notice/api/index.d.ts +18 -0
- package/types/components/lcb-notice/lcb-notice.vue.d.ts +77 -0
- package/types/components/lcb-notice/types.d.ts +14 -0
- package/types/components/lcb-operation-actions/BtnViews.vue.d.ts +62 -0
- package/types/components/lcb-operation-actions/IconActionView.vue.d.ts +61 -0
- package/types/components/lcb-operation-actions/IconView.vue.d.ts +41 -0
- package/types/components/lcb-operation-actions/components/OrderDetLogistic/index.vue.d.ts +51 -0
- package/types/components/lcb-operation-actions/lcb-operation-actions.vue.d.ts +34 -0
- package/types/components/lcb-operation-actions/types.d.ts +51 -0
- package/types/components/lcb-order-payment/lcb-order-payment.vue.d.ts +38 -0
- package/types/components/lcb-order-payment/types.d.ts +30 -0
- package/types/components/lcb-particulars/api.d.ts +45 -0
- package/types/components/lcb-particulars/lcb-particulars.vue.d.ts +56 -0
- package/types/components/lcb-particulars/types.d.ts +5 -0
- package/types/components/lcb-poster/lcb-poster.vue.d.ts +50 -0
- package/types/components/lcb-product/components/ProductSkeleton/index.vue.d.ts +70 -0
- package/types/components/lcb-product/components/SKeletonItem/index.vue.d.ts +28 -0
- package/types/components/lcb-product/lcb-product.vue.d.ts +96 -0
- package/types/components/lcb-product/types.d.ts +44 -0
- package/types/components/lcb-product-item/components/ItemValue.vue.d.ts +117 -0
- package/types/components/lcb-product-item/lcb-product-item.vue.d.ts +267 -0
- package/types/components/lcb-product-item/types.d.ts +133 -0
- package/types/components/lcb-render-view/lcb-render-view.vue.d.ts +35 -0
- package/types/components/lcb-rich-text/lcb-rich-text.vue.d.ts +44 -0
- package/types/components/lcb-rich-text/types.d.ts +4 -0
- package/types/components/lcb-room-calendar/lcb-room-calendar.vue.d.ts +68 -0
- package/types/components/lcb-room-calendar/types.d.ts +10 -0
- package/types/components/lcb-search/api.d.ts +23 -0
- package/types/components/lcb-search/components/SearchHistory/index.vue.d.ts +48 -0
- package/types/components/lcb-search/components/SearchList/index.vue.d.ts +56 -0
- package/types/components/lcb-search/lcb-search.vue.d.ts +1211 -0
- package/types/components/lcb-search/types.d.ts +29 -0
- package/types/components/lcb-swiper/lcb-swiper.vue.d.ts +73 -0
- package/types/components/lcb-swiper/types.d.ts +17 -0
- package/types/components/lcb-tabs/components/Imgs/index.vue.d.ts +62 -0
- package/types/components/lcb-tabs/components/Tabs/index.vue.d.ts +65 -0
- package/types/components/lcb-tabs/components/Tags/index.vue.d.ts +68 -0
- package/types/components/lcb-tabs/lcb-tabs.vue.d.ts +65 -0
- package/types/components/lcb-tabs/types.d.ts +34 -0
- package/types/components/lcb-tags/lcb-tags.vue.d.ts +74 -0
- package/types/components/lcb-tags/types.d.ts +17 -0
- package/types/components/lcb-text/lcb-text.vue.d.ts +42 -0
- package/types/components/lcb-text/types.d.ts +4 -0
- package/types/components/lcb-title/lcb-title.vue.d.ts +114 -0
- package/types/components/lcb-title/types.d.ts +42 -0
- package/types/components/lcb-user-order/lcb-user-order.vue.d.ts +62 -0
- package/types/components/lcb-user-order/types.d.ts +27 -0
- package/types/components/lcb-user-top/Nums/index.vue.d.ts +28 -0
- package/types/components/lcb-user-top/lcb-user-top.vue.d.ts +158 -0
- package/types/components/lcb-user-top/types.d.ts +57 -0
- package/types/components/lcb-video/lcb-video.vue.d.ts +56 -0
- package/types/components/lcb-video/types.d.ts +10 -0
- package/types/components/lcb-vip/api/index.d.ts +70 -0
- package/types/components/lcb-vip/components/InfoDialog/index.vue.d.ts +42 -0
- package/types/components/lcb-vip/lcb-vip.vue.d.ts +68 -0
- package/types/components/lcb-vip/types.d.ts +10 -0
- package/types/components/lcb-waterfall/lcb-waterfall-item.vue.d.ts +73 -0
- package/types/components/lcb-waterfall/lcb-waterfall.vue.d.ts +192 -0
- package/types/components/lcb-wrapper-item/lcb-wrapper-item.vue.d.ts +49 -0
- package/types/components/lcb-wrapper-list/lcb-wrapper-list.vue.d.ts +71 -0
- package/types/components/lcb-wrapper-list/types.d.ts +14 -0
- package/types/constants.d.ts +17 -0
- package/types/hooks/useAutoHeight.d.ts +8 -0
- package/types/hooks/useDynamicData.d.ts +14 -0
- package/types/hooks/useLocation.api.d.ts +18 -0
- package/types/hooks/useLocation.d.ts +10 -0
- package/types/hooks/usePageScroll.d.ts +2 -0
- package/types/hooks/usePay.d.ts +13 -0
- package/types/hooks/useSyncForm.d.ts +5 -0
- package/types/hooks/useUpload.api.d.ts +12 -0
- package/types/hooks/useUpload.d.ts +21 -0
- package/types/utils/formatter.d.ts +5 -0
- package/types/utils/history.d.ts +5 -0
- package/types/utils/request.d.ts +6 -0
- package/types/utils/transform.d.ts +15 -0
- package/types/utils/utils.d.ts +51 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
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.8](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.7...v0.7.8) (2025-12-13)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* 更新数据 ([e018f0d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e018f0d589eebe0b7903ba8d1a5bf44bce09c415))
|
|
11
|
+
|
|
12
|
+
### [0.7.7](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.6...v0.7.7) (2025-12-13)
|
|
13
|
+
|
|
5
14
|
### [0.7.6](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.5...v0.7.6) (2025-12-13)
|
|
6
15
|
|
|
7
16
|
|
|
@@ -25,7 +25,14 @@
|
|
|
25
25
|
>
|
|
26
26
|
<!-- 左边布局 -->
|
|
27
27
|
<view class="navbar-left z-1">
|
|
28
|
-
<AddressCommunity
|
|
28
|
+
<AddressCommunity
|
|
29
|
+
v-if="showAddressCommunity || pageInfo.chooseFlag"
|
|
30
|
+
v-bind="{
|
|
31
|
+
...addressCommunityProps,
|
|
32
|
+
switchType:
|
|
33
|
+
addressCommunityProps?.switchType || pageInfo.chooseFlag ? 'merchant' : 'address',
|
|
34
|
+
}"
|
|
35
|
+
/>
|
|
29
36
|
<view
|
|
30
37
|
v-if="(styleGroup === 3 || moreThanTwoPages() || !canBack) && capsuleList.length"
|
|
31
38
|
class="navbar-capsule flex justify-center items-center"
|
|
@@ -248,7 +255,6 @@ const canBack = computed(() => {
|
|
|
248
255
|
})
|
|
249
256
|
|
|
250
257
|
const pageInfo = inject(PAGE_PROVIDE_KEY) as Ref<Record<string, any>>
|
|
251
|
-
|
|
252
258
|
const capsuleList = computed(() => {
|
|
253
259
|
const list: ICapsule[] = []
|
|
254
260
|
if (canBack.value) {
|
package/package.json
CHANGED
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.8",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"业务组件"
|
|
6
6
|
],
|
|
7
7
|
"type": "module",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"pub": "pnpm dts && pnpm publish --no-git-checks",
|
|
10
|
-
"dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
|
|
11
|
-
"release-major": "standard-version --release-as major ",
|
|
12
|
-
"release-minor": "standard-version --release-as minor",
|
|
13
|
-
"release-patch": "standard-version --release-as patch ",
|
|
14
|
-
"generateComponent": "node ./scripts/createComponent.mjs",
|
|
15
|
-
"generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
|
|
16
|
-
},
|
|
17
8
|
"publishConfig": {
|
|
18
9
|
"access": "public",
|
|
19
10
|
"registry": "https://registry.npmjs.org/"
|
|
20
11
|
},
|
|
21
12
|
"peerDependencies": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
13
|
+
"vue": ">=3.2.47",
|
|
14
|
+
"@tplc/wot": "1.0.14"
|
|
24
15
|
},
|
|
25
16
|
"engines": {
|
|
26
17
|
"node": ">=18",
|
|
@@ -33,5 +24,14 @@
|
|
|
33
24
|
},
|
|
34
25
|
"devDependencies": {
|
|
35
26
|
"standard-version": "^9.5.0"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"pub": "pnpm dts && pnpm publish --no-git-checks",
|
|
30
|
+
"dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
|
|
31
|
+
"release-major": "standard-version --release-as major ",
|
|
32
|
+
"release-minor": "standard-version --release-as minor",
|
|
33
|
+
"release-patch": "standard-version --release-as patch ",
|
|
34
|
+
"generateComponent": "node ./scripts/createComponent.mjs",
|
|
35
|
+
"generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
|
|
36
36
|
}
|
|
37
|
-
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
}>
|
|
@@ -0,0 +1,11 @@
|
|
|
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[]>
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
}
|