@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.
@@ -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 '../../../lcb-city-select/api'
47
+ import { ChildHotAddress, getHotAddress, HotAddress } from '../../api'
48
48
  import { computed, onMounted, ref, watch } from 'vue'
49
49
 
50
50
  defineOptions({
@@ -38,7 +38,7 @@
38
38
  </template>
39
39
 
40
40
  <script setup lang="ts">
41
- import { LcbAddress } from '../../../lcb-city-select/api'
41
+ import { LcbAddress } from '../../api'
42
42
  import { LcbCityListProps } from './types'
43
43
  import { ref } from 'vue'
44
44
 
@@ -1,4 +1,4 @@
1
- import { LcbAddress } from '../../../lcb-city-select/api'
1
+ import { LcbAddress } from '../../api'
2
2
 
3
3
  export interface LcbCityListProps {
4
4
  list: LcbAddress[]
@@ -1,5 +1,5 @@
1
- import { FilterTabsProps } from '../components/FilterTabs/type'
2
- import { Option } from '../types'
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
- <!-- <template #item="slotContext">
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
- <!-- </lcb-product> -->
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -1,5 +1,5 @@
1
1
  import { LcbCitySelectProps } from '../../../lcb-city-select/types'
2
- import { ChildHotAddress } from '../../../lcb-city-select/api'
2
+ import { ChildHotAddress } from '../../api'
3
3
  declare let __VLS_typeProps: LcbCitySelectProps
4
4
  type __VLS_PublicProps = {
5
5
  modelValue?: ChildHotAddress
@@ -1,4 +1,4 @@
1
- import { LcbAddress } from '../../../lcb-city-select/api'
1
+ import { LcbAddress } from '../../api'
2
2
  export interface LcbCityListProps {
3
3
  list: LcbAddress[]
4
4
  keyword: string
@@ -1,5 +1,5 @@
1
- import { FilterTabsProps } from '../components/FilterTabs/type'
2
- import { Option } from '../types'
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('../../../action').IResData<LcbFilterResult>>
59
+ ) => Promise<import('../../action').IResData<LcbFilterResult>>
60
60
  export {}