@tplc/business 0.4.92 → 0.4.94

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,40 @@
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.4.94](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.93...v0.4.94) (2025-05-06)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 富文本 空 p -> br ([0e27a84](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/0e27a84230204572d3bac780b99751d5a440720b))
11
+
12
+ ### [0.4.93](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.85...v0.4.93) (2025-05-06)
13
+
14
+
15
+ ### 🚀 Chore | 构建/工程依赖/工具
16
+
17
+ * **release:** 0.4.86 ([416e508](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/416e5084cc7fe91ac3bd27201eda28027e4ce7b6))
18
+ * **release:** 0.4.87 ([d1d32ca](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d1d32ca85286418367c70f1f5c5f2933b69c358f))
19
+ * **release:** 0.4.88 ([bfb7500](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/bfb75004afa0b47aca4115a468d127c2049e14af))
20
+ * **release:** 0.4.89 ([d87ae1a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d87ae1a87f7138c08eba028dd3926f31a9b27f92))
21
+ * **release:** 0.4.90 ([b57342f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b57342f17e79532fdf84e376362b374ab8459673))
22
+ * **release:** 0.4.91 ([ce06293](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ce062932e8a0526c85ec660e999357152fc11bdd))
23
+ * **release:** 0.4.92 ([6be6b53](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6be6b53fd98e316f0e8095aecce447021bbfee5a))
24
+
25
+
26
+ ### ✨ Features | 新功能
27
+
28
+ * nav 支持动态参数 ([996d6e7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/996d6e762bdf73c65a6fa4f27146f0982cd63c74))
29
+ * notsyle ([a188815](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a1888152e522c59a96d0ee54e091bd1ea75222b6))
30
+ * 支持依赖值反选 ([458c055](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/458c055285e156fce1f2c2df8276df85681cf02d))
31
+ * 支持图片 ([aa756b1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/aa756b181a530f9748c56d631eebe0b04d2f847a))
32
+ * 新增nav ([3e05736](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3e05736e996ae5e2e69cdf8e127f21386aa96c6e))
33
+ * 新增数据 ([d5bec0e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d5bec0eadb0854d2145ab9aa032c0cc558b1ef11))
34
+ * 新增配置title ([f51f370](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f51f370c0528339cf98e759ddf06123192127ee3))
35
+ * 新增页面 ([82aaddd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/82aaddda0c747c03af1ac59a89aff8eee70bbc25))
36
+ * 暂时支持template ([8d413fe](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/8d413fee8ea18d86167b733f66fea8a59eaf7c49))
37
+ * 跳转布局问题 ([1b5d4ba](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1b5d4bab4a59318bae79fdd4a435b5a32208ddcf))
38
+
5
39
  ### [0.4.92](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.91...v0.4.92) (2025-05-05)
6
40
 
7
41
 
@@ -39,7 +39,7 @@
39
39
  {{ title }}
40
40
  </view>
41
41
  <view class="p-3 max-h-50vh overflow-y-auto" v-if="content">
42
- <mp-html :content="content" />
42
+ <lcb-rich-text :content="content" />
43
43
  </view>
44
44
  <view v-if="jumpType === 141" class="pt-6 pb-5 box-border flex-col-center gap-3">
45
45
  <wd-qr-code :value="jumpUrl" :canvas-id="`id_${jumpUrl}`" :size="160" />
@@ -58,7 +58,6 @@
58
58
  import { computed, ref, inject, Ref, onMounted } from 'vue'
59
59
  import { LcbActionViewProps } from './types'
60
60
  import { uploadFile } from '../../hooks/useUpload'
61
- import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
62
61
  import { getFinalUrl, onPageScrollSelector, getExposed } from '../../utils/utils'
63
62
  import SharePopup from '../lcb-nav/SharePopup/index.vue'
64
63
  import { useTranslate } from '@tplc/wot'
@@ -6,14 +6,13 @@
6
6
  <view class="agreement-popup">
7
7
  <view class="title">{{ data?.name }}</view>
8
8
  <view class="max-h-60vh overflow-y-auto w-full">
9
- <mpHtml :content="data?.content" />
9
+ <lcb-rich-text :content="data?.content" />
10
10
  </view>
11
11
  </view>
12
12
  </wd-popup>
13
13
  </template>
14
14
 
15
15
  <script setup lang="ts">
16
- import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
17
16
  import { useRequest } from 'vue-hooks-plus'
18
17
  import { getAgreementDetail } from './api'
19
18
  import { ref } from 'vue'
@@ -1,10 +1,11 @@
1
1
  <template>
2
2
  <lcb-block v-bind="$props">
3
- <mp-html :content="content" />
3
+ <mp-html :content="htmlContent" />
4
4
  </lcb-block>
5
5
  </template>
6
6
 
7
7
  <script setup lang="ts">
8
+ import { computed } from 'vue'
8
9
  import { LcbRichTextProps } from './types'
9
10
  import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
10
11
  defineOptions({
@@ -16,6 +17,9 @@ defineOptions({
16
17
  },
17
18
  })
18
19
  const props = withDefaults(defineProps<LcbRichTextProps>(), {})
20
+ const htmlContent = computed(() => {
21
+ return props.content?.replace(/<p>\s*<\/p>/g, '<br/>')
22
+ })
19
23
  </script>
20
24
 
21
25
  <style lang="scss" scoped></style>
@@ -116,9 +116,9 @@
116
116
  />
117
117
  </view>
118
118
  <lcb-search-history
119
- :historyKey="historyKey"
120
119
  v-if="historyKey"
121
120
  ref="searchHistoryRef"
121
+ :storageKey="historyKey"
122
122
  @select="onSelect"
123
123
  />
124
124
  </template>
@@ -7,7 +7,7 @@
7
7
  >
8
8
  <view class="pop-view flex justify-center flex-col items-center" v-if="modelValue">
9
9
  <view class="text-4 mb-4 font-500">{{ modelValue.userRightsTitle }}</view>
10
- <mp-html :content="modelValue.userRightsContent" v-if="modelValue.userRightsContent" />
10
+ <lcb-rich-text :content="modelValue.userRightsContent" v-if="modelValue.userRightsContent" />
11
11
  <wd-qr-code
12
12
  custom-class="!mt-5"
13
13
  :size="130"
@@ -38,7 +38,6 @@
38
38
  </template>
39
39
 
40
40
  <script setup lang="ts">
41
- import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
42
41
  import { ref, watch } from 'vue'
43
42
  import { UserLevelRightsList } from '../../api'
44
43
  const show = ref(false)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.92",
3
+ "version": "0.4.94",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],