@tplc/business 0.1.0 → 0.1.2
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/components/lcb-city-select/components/lcb-city-letter/index.vue +1 -1
- package/components/lcb-city-select/components/lcb-city-list/index.vue +1 -1
- package/components/lcb-city-select/components/lcb-city-list/types.ts +1 -1
- package/components/lcb-list/{api/index.ts → api.ts} +2 -2
- package/components/lcb-list/lcb-list.vue +5 -5
- package/package.json +1 -1
- package/types/components/lcb-city-select/components/lcb-city-letter/index.vue.d.ts +1 -1
- package/types/components/lcb-city-select/components/lcb-city-list/types.d.ts +1 -1
- package/types/components/lcb-list/{api/index.d.ts → api.d.ts} +3 -3
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
<script setup lang="ts">
|
|
46
46
|
import { LcbCitySelectProps } from '../../../lcb-city-select/types'
|
|
47
|
-
import { ChildHotAddress, getHotAddress, HotAddress } from '
|
|
47
|
+
import { ChildHotAddress, getHotAddress, HotAddress } from '../../api'
|
|
48
48
|
import { computed, onMounted, ref, watch } from 'vue'
|
|
49
49
|
|
|
50
50
|
defineOptions({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FilterTabsProps } from '
|
|
2
|
-
import { Option } from '
|
|
1
|
+
import { FilterTabsProps } from './components/FilterTabs/type'
|
|
2
|
+
import { Option } from './types'
|
|
3
3
|
export interface LcbListInfo {
|
|
4
4
|
url: string
|
|
5
5
|
baseParam: Record<string, unknown>
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
<FilterList v-bind="{ ...info.listInfo, listType, filter, ...attrs }">
|
|
72
72
|
<template #default="{ items }">
|
|
73
73
|
<slot name="list" :items="items">
|
|
74
|
-
<!-- <lcb-product v-bind="{ ...attrs }" :listType="listType" :items="items">
|
|
75
|
-
|
|
74
|
+
<!-- <lcb-product v-bind="{ ...attrs }" :listType="listType" :items="items">
|
|
75
|
+
<template #item="slotContext">
|
|
76
76
|
<slot name="item" v-bind="slotContext" />
|
|
77
77
|
</template>
|
|
78
78
|
<template
|
|
@@ -80,9 +80,9 @@
|
|
|
80
80
|
:key="slotName"
|
|
81
81
|
#[slotName]="slotContext"
|
|
82
82
|
>
|
|
83
|
-
<slot :name="slotName" v-bind="slotContext
|
|
84
|
-
</template>
|
|
85
|
-
|
|
83
|
+
<slot :name="slotName" v-bind="slotContext" />
|
|
84
|
+
</template>
|
|
85
|
+
</lcb-product> -->
|
|
86
86
|
</slot>
|
|
87
87
|
</template>
|
|
88
88
|
</FilterList>
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LcbCitySelectProps } from '../../../lcb-city-select/types'
|
|
2
|
-
import { ChildHotAddress } from '
|
|
2
|
+
import { ChildHotAddress } from '../../api'
|
|
3
3
|
declare let __VLS_typeProps: LcbCitySelectProps
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
5
|
modelValue?: ChildHotAddress
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FilterTabsProps } from '
|
|
2
|
-
import { Option } from '
|
|
1
|
+
import { FilterTabsProps } from './components/FilterTabs/type'
|
|
2
|
+
import { Option } from './types'
|
|
3
3
|
export interface LcbListInfo {
|
|
4
4
|
url: string
|
|
5
5
|
baseParam: Record<string, unknown>
|
|
@@ -56,5 +56,5 @@ interface BtnComponent {
|
|
|
56
56
|
}
|
|
57
57
|
export declare const getFilterDetail: (
|
|
58
58
|
val: string,
|
|
59
|
-
) => Promise<import('
|
|
59
|
+
) => Promise<import('../../action').IResData<LcbFilterResult>>
|
|
60
60
|
export {}
|