@uxda/appkit 1.2.61 → 1.2.62

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/dist/index.js CHANGED
@@ -2138,8 +2138,8 @@ var script$9 = /* @__PURE__ */ defineComponent({
2138
2138
  datePickerOpen.value = true;
2139
2139
  }
2140
2140
  const dateRangeDisplay = computed(() => {
2141
- let startTime = filtering.dateFrom?.replace(/-/g, ".").substring(2);
2142
- let endTime = filtering.dateTo?.replace(/-/g, ".").substring(2);
2141
+ let startTime = (filtering.dateFrom || "").replace(/-/g, ".").substring(2);
2142
+ let endTime = (filtering.dateTo || "").replace(/-/g, ".").substring(2);
2143
2143
  return startTime + " - " + endTime;
2144
2144
  });
2145
2145
  const consumptionGroups = ref([]);
@@ -2736,8 +2736,8 @@ var script$7 = /* @__PURE__ */ defineComponent({
2736
2736
  count: 1
2737
2737
  });
2738
2738
  let { path, size } = csRes.tempFiles[0];
2739
- const compressImg = await taroImgCompress(path, getCompressQuality(size));
2740
- const filePath = compressImg?.tempFilePath ?? path;
2739
+ const compressImg = await taroImgCompress(path, getCompressQuality(size)) || {};
2740
+ const filePath = compressImg.tempFilePath ?? path;
2741
2741
  Taro.showLoading({ title: "\u8EAB\u4EFD\u8BC1\u8BC6\u522B\u4E2D.." });
2742
2742
  const session = appKitOptions.token();
2743
2743
  const baseUrl = appKitOptions.baseUrl();
@@ -2757,13 +2757,14 @@ var script$7 = /* @__PURE__ */ defineComponent({
2757
2757
  Taro.hideLoading();
2758
2758
  const res = JSON.parse(upRes.data);
2759
2759
  if (res.code === "200") {
2760
+ const faceInfo = res.result.faceInfo || {};
2760
2761
  ocrResult = {
2761
2762
  faceInfo: {
2762
- name: allTrim(res.result?.faceInfo?.name || ""),
2763
- certNo: allTrim(res.result?.faceInfo?.num || ""),
2764
- address: allTrim(res.result?.faceInfo?.address || "")
2763
+ name: allTrim(faceInfo.name || ""),
2764
+ certNo: allTrim(faceInfo.num || ""),
2765
+ address: allTrim(faceInfo.address || "")
2765
2766
  },
2766
- fileUploadVO: res.result?.fileUploadVO || {}
2767
+ fileUploadVO: res.result.fileUploadVO || {}
2767
2768
  };
2768
2769
  if (!ocrResult.faceInfo.name && !ocrResult.faceInfo.certNo) {
2769
2770
  Taro.showToast({ title: "\u8BC6\u522B\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5", icon: "none" });
@@ -2869,11 +2870,11 @@ var script$5 = /* @__PURE__ */ defineComponent({
2869
2870
  value: province.id,
2870
2871
  shortId: provinceShortId,
2871
2872
  label: province.name,
2872
- children: map.get(provinceShortId)?.map((city) => ({
2873
+ children: (map.get(provinceShortId) || []).map((city) => ({
2873
2874
  value: city.id,
2874
2875
  shortId: city.shortId,
2875
2876
  label: city.name,
2876
- children: map.get(city.shortId)?.map((region) => ({
2877
+ children: (map.get(city.shortId) || []).map((region) => ({
2877
2878
  value: region.id,
2878
2879
  shortId: region.shortId,
2879
2880
  label: region.name,
@@ -2891,11 +2892,11 @@ var script$5 = /* @__PURE__ */ defineComponent({
2891
2892
  if (props.type === "province") {
2892
2893
  return [provinceOption];
2893
2894
  }
2894
- const cityOption = provinceOption[tmpSelectedIndex.value[0]]?.children ?? [];
2895
+ const cityOption = (provinceOption[tmpSelectedIndex.value[0]] || {}).children ?? [];
2895
2896
  if (props.type === "city") {
2896
2897
  return [provinceOption, cityOption];
2897
2898
  }
2898
- const regionOption = cityOption[tmpSelectedIndex.value[1]]?.children ?? [];
2899
+ const regionOption = (cityOption[tmpSelectedIndex.value[1]] || {}).children ?? [];
2899
2900
  return [provinceOption, cityOption, regionOption];
2900
2901
  });
2901
2902
  function init() {
@@ -2904,7 +2905,7 @@ var script$5 = /* @__PURE__ */ defineComponent({
2904
2905
  if (props.value) {
2905
2906
  const items = [];
2906
2907
  for (let index = 0; index < options.value.length; index++) {
2907
- const item = options.value[index]?.[selectedIndex.value[index]];
2908
+ const item = (options.value[index] || {})[selectedIndex.value[index]];
2908
2909
  if (item) {
2909
2910
  items.push(item);
2910
2911
  }
@@ -2945,7 +2946,7 @@ var script$5 = /* @__PURE__ */ defineComponent({
2945
2946
  labels: []
2946
2947
  };
2947
2948
  for (let index = 0; index <= lastSelectedIndex; index++) {
2948
- const item = options.value[index]?.[tmpSelectedIndex.value[index]];
2949
+ const item = (options.value[index] || {})[tmpSelectedIndex.value[index]];
2949
2950
  if (item) {
2950
2951
  result.values.push(item.value);
2951
2952
  result.labels.push(item.label);
@@ -3063,7 +3064,7 @@ var script$4 = /* @__PURE__ */ defineComponent({
3063
3064
  );
3064
3065
  function init() {
3065
3066
  currentIndex.value = findIndexByValue(props.value);
3066
- currentLabel.value = currentIndex.value >= 0 ? props.options[currentIndex.value]?.label : "";
3067
+ currentLabel.value = currentIndex.value >= 0 ? (props.options[currentIndex.value] || {}).label : "";
3067
3068
  }
3068
3069
  return (_ctx, _cache) => {
3069
3070
  const _component_picker = resolveComponent("picker");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "1.2.61",
3
+ "version": "1.2.62",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -228,8 +228,8 @@ function openDateFilter() {
228
228
  }
229
229
 
230
230
  const dateRangeDisplay = computed(() => {
231
- let startTime = filtering.dateFrom?.replace(/-/g, '.').substring(2)
232
- let endTime = filtering.dateTo?.replace(/-/g, '.').substring(2)
231
+ let startTime = (filtering.dateFrom || '').replace(/-/g, '.').substring(2)
232
+ let endTime = (filtering.dateTo || '').replace(/-/g, '.').substring(2)
233
233
  return startTime + ' - ' + endTime
234
234
  })
235
235
 
@@ -3,7 +3,7 @@
3
3
  <!--* UPDATE: 2022-02-21 17:43-->
4
4
  <!--* TIP: 微信原生实现多列选择器-->
5
5
  <script setup lang="ts">
6
- import {computed, ref, watch} from 'vue'
6
+ import { computed, ref, watch } from 'vue'
7
7
  import Taro from '@tarojs/taro'
8
8
  import DdIcon from '../dd-icon/index.vue'
9
9
 
@@ -31,12 +31,12 @@ const props = withDefaults(defineProps<PropsType>(), {
31
31
  placeholder: '请选择',
32
32
  disabled: false,
33
33
  type: 'region',
34
- formatter: (values: AreaItem[]) => values.map((item:AreaItem) => item.label).join('')
34
+ formatter: (values: AreaItem[]) => values.map((item: AreaItem) => item.label).join(''),
35
35
  })
36
36
  const emit = defineEmits(['update:value', 'change', 'cancel'])
37
37
 
38
38
  const areaFormatOptions = computed<AreaItem[]>(() => {
39
- const {province_list, city_list, county_list} = JSON.parse(Taro.getStorageSync('wechat_area'))
39
+ const { province_list, city_list, county_list } = JSON.parse(Taro.getStorageSync('wechat_area'))
40
40
  const map = new Map()
41
41
  city_list.forEach((item: any) => {
42
42
  const provinceShortId = item.id.slice(0, 2)
@@ -45,7 +45,7 @@ const areaFormatOptions = computed<AreaItem[]>(() => {
45
45
  }
46
46
  map.get(provinceShortId).push({
47
47
  ...item,
48
- shortId: item.id.slice(0, 4)
48
+ shortId: item.id.slice(0, 4),
49
49
  })
50
50
  })
51
51
  county_list.forEach((item: any) => {
@@ -55,7 +55,7 @@ const areaFormatOptions = computed<AreaItem[]>(() => {
55
55
  }
56
56
  map.get(cityShortId).push({
57
57
  ...item,
58
- shortId: item.id
58
+ shortId: item.id,
59
59
  })
60
60
  })
61
61
  return province_list.map((province: any) => {
@@ -64,17 +64,19 @@ const areaFormatOptions = computed<AreaItem[]>(() => {
64
64
  value: province.id,
65
65
  shortId: provinceShortId,
66
66
  label: province.name,
67
- children: map.get(provinceShortId)?.map((city: any) => ({
68
- value: city.id,
69
- shortId: city.shortId,
70
- label: city.name,
71
- children: map.get(city.shortId)?.map((region: any) => ({
72
- value: region.id,
73
- shortId: region.shortId,
74
- label: region.name,
75
- children: []
67
+ children:
68
+ (map.get(provinceShortId) || []).map((city: any) => ({
69
+ value: city.id,
70
+ shortId: city.shortId,
71
+ label: city.name,
72
+ children:
73
+ (map.get(city.shortId) || []).map((region: any) => ({
74
+ value: region.id,
75
+ shortId: region.shortId,
76
+ label: region.name,
77
+ children: [],
78
+ })) ?? [],
76
79
  })) ?? [],
77
- })) ?? [],
78
80
  }
79
81
  })
80
82
  })
@@ -88,11 +90,11 @@ const options = computed<AreaItem[][]>(() => {
88
90
  if (props.type === 'province') {
89
91
  return [provinceOption]
90
92
  }
91
- const cityOption = provinceOption[tmpSelectedIndex.value[0]]?.children ?? []
93
+ const cityOption = (provinceOption[tmpSelectedIndex.value[0]] || {}).children ?? []
92
94
  if (props.type === 'city') {
93
95
  return [provinceOption, cityOption]
94
96
  }
95
- const regionOption = cityOption[tmpSelectedIndex.value[1]]?.children ?? []
97
+ const regionOption = (cityOption[tmpSelectedIndex.value[1]] || {}).children ?? []
96
98
  return [provinceOption, cityOption, regionOption]
97
99
  })
98
100
 
@@ -100,10 +102,10 @@ function init() {
100
102
  selectedIndex.value = findIndexByValue()
101
103
  tmpSelectedIndex.value = [...selectedIndex.value]
102
104
  if (props.value) {
103
- const items = []
105
+ const items: any = []
104
106
  for (let index = 0; index < options.value.length; index++) {
105
- const item = options.value[index]?.[selectedIndex.value[index]]
106
- if (item){
107
+ const item = (options.value[index] || {})[selectedIndex.value[index]]
108
+ if (item) {
107
109
  items.push(item)
108
110
  }
109
111
  }
@@ -140,18 +142,18 @@ function findIndexByValue() {
140
142
 
141
143
  function onChange() {
142
144
  const lastSelectedIndex = options.value.length - 1
143
- const result = {
145
+ const result: any = {
144
146
  values: [],
145
- labels: []
147
+ labels: [],
146
148
  }
147
149
  for (let index = 0; index <= lastSelectedIndex; index++) {
148
- const item = options.value[index]?.[tmpSelectedIndex.value[index]]
149
- if (item){
150
+ const item = (options.value[index] || {})[tmpSelectedIndex.value[index]]
151
+ if (item) {
150
152
  result.values.push(item.value)
151
153
  result.labels.push(item.label)
152
154
  }
153
155
  }
154
- emit('update:value', result.values[result.values.length-1])
156
+ emit('update:value', result.values[result.values.length - 1])
155
157
  emit('change', result)
156
158
  console.log(result)
157
159
  }
@@ -161,44 +163,45 @@ function onCancel(e: any) {
161
163
  emit('cancel', e)
162
164
  }
163
165
 
164
- function onColumnChange({detail: {column, value}}) {
165
- const resetIndex = Array.from({length: tmpSelectedIndex.value.length - column - 1, }).fill(0)
166
- tmpSelectedIndex.value = [...tmpSelectedIndex.value.slice(0,column), value, ...resetIndex ]
166
+ function onColumnChange({ detail: { column, value } }) {
167
+ const resetIndex = Array.from({ length: tmpSelectedIndex.value.length - column - 1 }).fill(0)
168
+ tmpSelectedIndex.value = [...tmpSelectedIndex.value.slice(0, column), value, ...resetIndex]
167
169
  console.log(tmpSelectedIndex.value)
168
170
  }
169
171
 
170
172
  watch(
171
- () => props.value,
172
- () => { init() },
173
- {deep: true, immediate: true}
173
+ () => props.value,
174
+ () => {
175
+ init()
176
+ },
177
+ { deep: true, immediate: true }
174
178
  )
175
179
  </script>
176
180
 
177
181
  <template>
178
182
  <picker
179
- :range="options"
180
- range-key="label"
181
- :value="tmpSelectedIndex"
182
- mode="multiSelector"
183
- @columnchange="onColumnChange"
184
- @change="onChange"
185
- @cancel="onCancel"
186
- style="flex: 1"
187
- :disabled="props.disabled">
183
+ :range="options"
184
+ range-key="label"
185
+ :value="tmpSelectedIndex"
186
+ mode="multiSelector"
187
+ @columnchange="onColumnChange"
188
+ @change="onChange"
189
+ @cancel="onCancel"
190
+ style="flex: 1"
191
+ :disabled="props.disabled"
192
+ >
188
193
  <div class="dd-area">
189
- <div
190
- :class="props.value && !props.disabled ? 'dd-area-value' : 'dd-area-label'">
194
+ <div :class="props.value && !props.disabled ? 'dd-area-value' : 'dd-area-label'">
191
195
  {{ props.value ? props.formatter(selectedItem) : props.placeholder }}
192
196
  </div>
193
197
  <slot name="icon">
194
198
  <DdIcon
195
- v-if="props.rightIcon"
196
- name="icon-arrow"
197
- size="11px"
198
- :color="
199
- props.value !== '' && !props.disabled ? '#353535' : '#DFDFDF'
200
- "
201
- class="icon-arrow"/>
199
+ v-if="props.rightIcon"
200
+ name="icon-arrow"
201
+ size="11px"
202
+ :color="props.value !== '' && !props.disabled ? '#353535' : '#DFDFDF'"
203
+ class="icon-arrow"
204
+ />
202
205
  </slot>
203
206
  </div>
204
207
  </picker>
@@ -29,7 +29,7 @@ const props = withDefaults(defineProps<PropsType>(), {
29
29
  const currentIndex = ref<number>()
30
30
  const currentLabel = ref<string>()
31
31
 
32
- const emit = defineEmits(['update:value','change', 'cancel'])
32
+ const emit = defineEmits(['update:value', 'change', 'cancel'])
33
33
  function onChange(e) {
34
34
  const index = e.detail.value as number
35
35
  const item = props.options[index]
@@ -43,7 +43,7 @@ function onChange(e) {
43
43
  // 通过value查询item index
44
44
  function findIndexByValue(value: string) {
45
45
  if (value == undefined) return undefined
46
- const index = props.options.findIndex((item: Option)=> item.value == value)
46
+ const index = props.options.findIndex((item: Option) => item.value == value)
47
47
  return index >= 0 ? index : undefined
48
48
  }
49
49
 
@@ -64,7 +64,8 @@ watch(
64
64
 
65
65
  function init() {
66
66
  currentIndex.value = findIndexByValue(props.value)
67
- currentLabel.value = currentIndex.value >= 0 ? props.options[currentIndex.value]?.label : ''
67
+ currentLabel.value =
68
+ currentIndex.value >= 0 ? (props.options[currentIndex.value] || {}).label : ''
68
69
  }
69
70
  </script>
70
71
 
@@ -77,17 +78,17 @@ function init() {
77
78
  @cancel="onCancel"
78
79
  @change="onChange"
79
80
  style="flex: 1"
80
- :disabled="props.disabled">
81
+ :disabled="props.disabled"
82
+ >
81
83
  <slot name="content">
82
84
  <div class="dd-selector">
83
85
  <div class="dd-selector-value">
84
86
  <div
85
87
  :class="
86
- currentIndex >= 0 && !props.disabled
87
- ? 'dd-selector-value'
88
- : 'dd-selector-label'
89
- ">
90
- {{ currentLabel || props.placeholder }}
88
+ currentIndex >= 0 && !props.disabled ? 'dd-selector-value' : 'dd-selector-label'
89
+ "
90
+ >
91
+ {{ currentLabel || props.placeholder }}
91
92
  </div>
92
93
  <div>
93
94
  <slot name="tips"></slot>
@@ -98,10 +99,9 @@ function init() {
98
99
  v-if="props.rightIcon"
99
100
  name="icon-arrow"
100
101
  size="11px"
101
- :color="
102
- currentIndex >= 0 && !props.disabled ? '#353535' : '#DFDFDF'
103
- "
104
- class="icon-arrow" />
102
+ :color="currentIndex >= 0 && !props.disabled ? '#353535' : '#DFDFDF'"
103
+ class="icon-arrow"
104
+ />
105
105
  </slot>
106
106
  </div>
107
107
  </slot>
@@ -45,10 +45,10 @@ async function ocrIDCard() {
45
45
  const csRes = await Taro.chooseImage({
46
46
  count: 1,
47
47
  })
48
- let {path, size} = csRes.tempFiles[0]
49
- const compressImg: any = (await taroImgCompress(path, getCompressQuality(size)))
50
- const filePath = compressImg?.tempFilePath ?? path
51
- Taro.showLoading({title: '身份证识别中..',})
48
+ let { path, size } = csRes.tempFiles[0]
49
+ const compressImg: any = (await taroImgCompress(path, getCompressQuality(size))) || {}
50
+ const filePath = compressImg.tempFilePath ?? path
51
+ Taro.showLoading({ title: '身份证识别中..' })
52
52
  const session = appKitOptions.token()
53
53
  const baseUrl = appKitOptions.baseUrl()
54
54
  const upRes: any = await Taro.uploadFile({
@@ -67,16 +67,17 @@ async function ocrIDCard() {
67
67
  Taro.hideLoading()
68
68
  const res = JSON.parse(upRes.data)
69
69
  if (res.code === '200') {
70
+ const faceInfo = res.result.faceInfo || {}
70
71
  ocrResult = {
71
72
  faceInfo: {
72
- name: allTrim(res.result?.faceInfo?.name || ''),
73
- certNo: allTrim(res.result?.faceInfo?.num || ''),
74
- address: allTrim(res.result?.faceInfo?.address || ''),
73
+ name: allTrim(faceInfo.name || ''),
74
+ certNo: allTrim(faceInfo.num || ''),
75
+ address: allTrim(faceInfo.address || ''),
75
76
  },
76
- fileUploadVO: res.result?.fileUploadVO || {},
77
+ fileUploadVO: res.result.fileUploadVO || {},
77
78
  }
78
79
  if (!ocrResult.faceInfo.name && !ocrResult.faceInfo.certNo) {
79
- Taro.showToast({title: '识别失败,请重试', icon: 'none'})
80
+ Taro.showToast({ title: '识别失败,请重试', icon: 'none' })
80
81
  }
81
82
  } else {
82
83
  Taro.showToast({
@@ -95,17 +96,19 @@ async function ocrIDCard() {
95
96
  <template>
96
97
  <div class="ocr-id" @click="ocrIDCard">
97
98
  <slot name="icon">
98
- <img class="ocr-id__img" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgZmlsbD0ibm9uZSI+PHBhdGggb3BhY2l0eT0iLjAxIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTQwIDB2NDBIMFYwaDQweiIgZmlsbD0iI0M0QzRDNCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMzMuMDQ0IDE3LjM2M2MuOTYgMCAxLjczOS0uNzkgMS43MzktMS43NjYgMC0uOTc1LS43NzktMS43NjYtMS43NC0xLjc2Ni0uOTYgMC0xLjczOC43OS0xLjczOCAxLjc2NnMuNzc4IDEuNzY2IDEuNzM5IDEuNzY2eiIgZmlsbD0iIzRCQ0I5MyIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMCAzMS44MTJWMTQuNzg4YzAtMi4yNTggMi4wNDktNC4wOTcgNC41NjQtNC4wOTdoMy44NDRsMS4xMzYtMy42NThDOS44ODggNS45MTMgMTEuMjM3IDUgMTIuNTQ4IDVIMjcuNDVjMS4zOSAwIDIuNjguODc2IDMuMDEgMi4wNDRsMS4xMzMgMy42NDdoMy44NDRjMi41MTUgMCA0LjU2NCAxLjgzOSA0LjU2NCA0LjA5N3YxLjczOWMwIC41MDMtLjQ1NC45MS0xLjAxNC45MXMtMS4wMTQtLjQwNy0xLjAxNC0uOTF2LTEuNzRjMC0xLjI1My0xLjEzOS0yLjI3NS0yLjUzNi0yLjI3NWgtMy44NDRjLS45MDcgMC0xLjcxMS0uNTQ5LTEuOTU1L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jY5OWwtMS4xMzYgMy42NmMtLjI0Ny43ODYtMS4wNDUgMS4zMy0xLjk1NSAxLjMzMkg0LjU2NGMtMS4zOTcgMC0yLjUzNiAxLjAyMi0yLjUzNiAyLjI3NnYxNy4wMjRjMCAxLjI1NCAxLjEzOSAyLjI3NiAyLjUzNiAyLjI3NmgzMC44N2MxLjM5NyAwIDIuNTM1LTEuMDIyIDIuNTM1LTIuMjc2VjIxLjU5NmMwLS41MDMuNDU0LS45MSAxLjAxNC0uOTFzMS4wMTUuNDA3IDEuMDE1LjkxVjMxLjgxYy0uMDAzIDIuMjYtMi4wNSA0LjEtNC41NjcgNC4xSDQuNTY0QzIuMDQ5IDM1LjkxIDAgMzQuMDcgMCAzMS44MTF6IiBmaWxsPSIjNEJDQjkzIi8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4xNzQgMjEuNzc4YzAtNC44NyAzLjcwNS04LjgzIDguMjYtOC44MyA0LjU1NiAwIDguMjYyIDMuOTYgOC4yNjIgOC44M3MtMy43MDYgOC44MzItOC4yNjEgOC44MzJjLTQuNTU2IDAtOC4yNjEtMy45NjItOC4yNjEtOC44MzJ6bTEuNzc5LjEzYzAgMy43OTYgMi45MDcgNi44ODMgNi40ODIgNi44ODMgMy41NzQgMCA2LjQ4MS0zLjA4NyA2LjQ4MS02Ljg4M3MtMi45MDctNi44ODMtNi40ODItNi44ODNjLTMuNTc0IDAtNi40ODEgMy4wODctNi40ODEgNi44ODN6IiBmaWxsPSIjNEJDQjkzIi8+PC9zdmc+"
102
+ />
99
103
  </slot>
100
104
  </div>
101
105
  </template>
102
106
 
103
107
  <style lang="scss">
104
108
  .ocr-id {
105
-
106
109
  &__img {
107
110
  width: 20px;
108
111
  height: 20px;
109
112
  }
110
113
  }
111
- </style>
114
+ </style>