resolver-egretimp-plus 0.0.154 → 0.0.156

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resolver-egretimp-plus",
3
- "version": "0.0.154",
3
+ "version": "0.0.156",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
2
+ <svg class="loadin-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024">
3
3
  <path
4
4
  fill="currentColor"
5
5
  d="M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"
@@ -11,3 +11,9 @@ defineOptions({
11
11
  name: 'Loading',
12
12
  })
13
13
  </script>
14
+ <style lang="scss">
15
+ .loadin-svg {
16
+ width: 1em;
17
+ height: 1em;
18
+ }
19
+ </style>
@@ -14,6 +14,7 @@ const props = defineProps({
14
14
  ...ElInputNumber.props,
15
15
  ...commonPropsType,
16
16
  step: [String, Number],
17
+ precision: [String, Number],
17
18
  modeValue: [String, Number]
18
19
  })
19
20
  const textAlignClass = computed(() => {
@@ -26,13 +27,13 @@ const inputNumberProps = computed(() => {
26
27
  return ret
27
28
  }, {})
28
29
  if (props.config?.maxValue && !isNaN(props.config.maxValue)) {
29
- ret.max = props.config.maxValue
30
+ ret.max =parseFloat(props.config.maxValue)
30
31
  }
31
32
  if (props.config?.minValue && !isNaN(props.config.minValue)) {
32
- ret.min = props.config.minValue
33
+ ret.min = parseFloat(props.config.minValue)
33
34
  }
34
35
  if (props.config?.precise && !isNaN(props.config.minValue)) {
35
- ret.precision = props.config.precise
36
+ ret.precision = parseInt(props.config.precise)
36
37
  }
37
38
  if (ret.step) {
38
39
  ret.step = parseFloat(ret.step)
@@ -328,7 +328,9 @@ const TabNav = defineComponent({
328
328
 
329
329
  const tabLabelContent = pane.slots.label?.() || pane.props.label
330
330
  const tabindex = !disabled && pane.active ? 0 : -1
331
-
331
+ if (hidden) {
332
+ return null
333
+ }
332
334
  return (
333
335
  <div
334
336
  ref={`tab-${uid}`}
@@ -394,7 +394,7 @@ const allInitEvents = {
394
394
  }
395
395
  })
396
396
  if (updateFlag) {
397
- config?.wrapVm?.ctx?.$forceUpdate?.()
397
+ config?.wrapVm?.proxy?.$forceUpdate?.()
398
398
  }
399
399
  })
400
400
  return () => {
@@ -481,7 +481,7 @@ const allInitEvents = {
481
481
  })
482
482
  oldPorpsList.push(oldProps)
483
483
  if (updateFlag) {
484
- labelInfo?.wrapVm?.ctx?.$forceUpdate?.()
484
+ labelInfo?.wrapVm?.proxy?.$forceUpdate?.()
485
485
  }
486
486
  })
487
487
  // 有的事件在不满足条件的情况下,需要进行恢复