@tplc/business 0.0.72 → 0.0.74

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,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.0.74](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.31...v0.0.74) (2024-11-22)
6
+
7
+ ### [0.0.73](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.72...v0.0.73) (2024-11-22)
8
+
9
+
10
+ ### ✨ Features | 新功能
11
+
12
+ * filter 兼容h5 ([d858f86](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d858f86274e06e00e1b9247fde5d1f3c54d003f4))
13
+
5
14
  ### [0.0.72](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.71...v0.0.72) (2024-11-22)
6
15
 
7
16
 
@@ -42,6 +42,7 @@ const props = withDefaults(defineProps<LcbBlockInnerProps>(), {
42
42
  backgroundRepeat: 'no-repeat',
43
43
  backgroundPosition: `top center`,
44
44
  opacity: 1,
45
+ fontSize: 24,
45
46
  })
46
47
  // 透明度+颜色
47
48
  const innerBackgroundColor = computed(() => {
@@ -83,7 +83,7 @@
83
83
  {{ btnText }}
84
84
  </wd-button>
85
85
  <view
86
- class="px-50rpx flex justify-between items-center mb-42rpx text-#000 text-28rpx"
86
+ class="px-50rpx flex justify-between items-center pb-42rpx text-#000 text-28rpx"
87
87
  v-if="items?.length"
88
88
  >
89
89
  <lcb-action-view
@@ -0,0 +1,22 @@
1
+ <template>
2
+ <lcb-block v-bind="$props">
3
+ <mp-html :content="content" />
4
+ </lcb-block>
5
+ </template>
6
+
7
+ <script setup lang="ts">
8
+ import { LcbRichTextProps } from './types'
9
+ import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
10
+ defineOptions({
11
+ name: 'LcbRichText',
12
+ options: {
13
+ addGlobalClass: true,
14
+ virtualHost: true,
15
+ styleIsolation: 'shared',
16
+ },
17
+ })
18
+ const props = withDefaults(defineProps<LcbRichTextProps>(), {})
19
+ console.log('props', props)
20
+ </script>
21
+
22
+ <style lang="scss" scoped></style>
@@ -0,0 +1,5 @@
1
+ import { LcbBlockProps } from '../lcb-block/types'
2
+
3
+ export interface LcbRichTextProps extends LcbBlockProps {
4
+ content?: string
5
+ }
package/global.d.ts CHANGED
@@ -22,6 +22,7 @@ declare module 'vue' {
22
22
  'lcb-notice': (typeof import('./types/components/lcb-notice/lcb-notice.vue'))['default']
23
23
  'lcb-product': (typeof import('./types/components/lcb-product/lcb-product.vue'))['default']
24
24
  'lcb-product-item': (typeof import('./types/components/lcb-product-item/lcb-product-item.vue'))['default']
25
+ 'lcb-rich-text': (typeof import('./types/components/lcb-rich-text/lcb-rich-text.vue'))['default']
25
26
  'lcb-swiper': (typeof import('./types/components/lcb-swiper/lcb-swiper.vue'))['default']
26
27
  'lcb-tags': (typeof import('./types/components/lcb-tags/lcb-tags.vue'))['default']
27
28
  'lcb-text': (typeof import('./types/components/lcb-text/lcb-text.vue'))['default']
package/package.json CHANGED
@@ -1,17 +1,26 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.0.72",
3
+ "version": "0.0.74",
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
+ },
8
17
  "publishConfig": {
9
18
  "access": "public",
10
19
  "registry": "https://registry.npmjs.org/"
11
20
  },
12
21
  "peerDependencies": {
13
- "vue": ">=3.2.47",
14
- "@tplc/wot": "0.1.30"
22
+ "@tplc/wot": "workspace:*",
23
+ "vue": ">=3.2.47"
15
24
  },
16
25
  "engines": {
17
26
  "node": ">=18",
@@ -21,14 +30,5 @@
21
30
  "mp-html": "^2.5.0",
22
31
  "qs": "6.5.3",
23
32
  "uview-plus": "^3.3.9"
24
- },
25
- "scripts": {
26
- "pub": "pnpm dts && pnpm publish --no-git-checks",
27
- "dts": "rm -rf types && vue-tsc --project ./tsconfig.dts.json && pnpm prettier --write types",
28
- "release-major": "standard-version --release-as major ",
29
- "release-minor": "standard-version --release-as minor",
30
- "release-patch": "standard-version --release-as patch ",
31
- "generateComponent": "node ./scripts/createComponent.mjs",
32
- "generateGlobalDts": "node ./scripts/generateGlobalDts.mjs"
33
33
  }
34
- }
34
+ }
@@ -10,6 +10,7 @@ declare const __VLS_component: import('vue').DefineComponent<
10
10
  backgroundRepeat: string
11
11
  backgroundPosition: string
12
12
  opacity: number
13
+ fontSize: number
13
14
  }
14
15
  >,
15
16
  {},
@@ -30,6 +31,7 @@ declare const __VLS_component: import('vue').DefineComponent<
30
31
  backgroundRepeat: string
31
32
  backgroundPosition: string
32
33
  opacity: number
34
+ fontSize: number
33
35
  }
34
36
  >
35
37
  >
@@ -0,0 +1,44 @@
1
+ import { LcbRichTextProps } from './types'
2
+ declare const _default: import('vue').DefineComponent<
3
+ __VLS_WithDefaults<__VLS_TypePropsToOption<LcbRichTextProps>, {}>,
4
+ {},
5
+ unknown,
6
+ {},
7
+ {},
8
+ import('vue').ComponentOptionsMixin,
9
+ import('vue').ComponentOptionsMixin,
10
+ {},
11
+ string,
12
+ import('vue').PublicProps,
13
+ Readonly<
14
+ import('vue').ExtractPropTypes<
15
+ __VLS_WithDefaults<__VLS_TypePropsToOption<LcbRichTextProps>, {}>
16
+ >
17
+ >,
18
+ {},
19
+ {}
20
+ >
21
+ export default _default
22
+ type __VLS_WithDefaults<P, D> = {
23
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
24
+ ? __VLS_Prettify<
25
+ P[K] & {
26
+ default: D[K]
27
+ }
28
+ >
29
+ : P[K]
30
+ }
31
+ type __VLS_Prettify<T> = {
32
+ [K in keyof T]: T[K]
33
+ } & {}
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,4 @@
1
+ import { LcbBlockProps } from '../lcb-block/types'
2
+ export interface LcbRichTextProps extends LcbBlockProps {
3
+ content?: string
4
+ }