@duxweb/dvha-pro 1.1.6 → 1.1.7

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("naive-ui"),h=require("./placeholder.cjs"),i=t.defineComponent({name:"DuxImage",props:{},extends:r.NImage,setup(e){return()=>e.src?t.createVNode(r.NImage,t.mergeProps(e,{src:e.src}),{placeholder:()=>t.createVNode(h.DuxPlaceholder,{width:e.width,height:e.height},null),error:()=>t.createVNode(h.DuxPlaceholder,{width:e.width,height:e.height},null)}):t.h(h.DuxPlaceholder,{width:e.width,height:e.height})}});exports.DuxImage=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),r=require("naive-ui"),h=require("./placeholder.cjs"),i=t.defineComponent({name:"DuxImage",props:{},extends:r.NImage,setup(e){return()=>e.src?t.createVNode(r.NImage,t.mergeProps(e,{src:e.src}),{placeholder:()=>t.createVNode(h.DuxPlaceholder,{width:e.width,height:e.height},null)}):t.h(h.DuxPlaceholder,{width:e.width,height:e.height})}});exports.DuxImage=i;
@@ -1,28 +1,24 @@
1
- import { defineComponent as r, createVNode as t, h as m, mergeProps as d } from "vue";
2
- import { NImage as i } from "naive-ui";
3
- import { DuxPlaceholder as h } from "./placeholder.js";
4
- const o = /* @__PURE__ */ r({
1
+ import { defineComponent as i, createVNode as t, h as m, mergeProps as d } from "vue";
2
+ import { NImage as h } from "naive-ui";
3
+ import { DuxPlaceholder as r } from "./placeholder.js";
4
+ const a = /* @__PURE__ */ i({
5
5
  name: "DuxImage",
6
6
  props: {},
7
- extends: i,
7
+ extends: h,
8
8
  setup(e) {
9
- return () => e.src ? t(i, d(e, {
9
+ return () => e.src ? t(h, d(e, {
10
10
  src: e.src
11
11
  }), {
12
- placeholder: () => t(h, {
13
- width: e.width,
14
- height: e.height
15
- }, null),
16
- error: () => t(h, {
12
+ placeholder: () => t(r, {
17
13
  width: e.width,
18
14
  height: e.height
19
15
  }, null)
20
- }) : m(h, {
16
+ }) : m(r, {
21
17
  width: e.width,
22
18
  height: e.height
23
19
  });
24
20
  }
25
21
  });
26
22
  export {
27
- o as DuxImage
23
+ a as DuxImage
28
24
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@duxweb/dvha-pro",
3
3
  "type": "module",
4
- "version": "1.1.6",
4
+ "version": "1.1.7",
5
5
  "author": "DuxWeb",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -33,8 +33,8 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@ant-design/colors": "^7.2.1",
36
- "@duxweb/dvha-core": "^1.1.6",
37
- "@duxweb/dvha-naiveui": "^1.1.6",
36
+ "@duxweb/dvha-core": "^1.1.7",
37
+ "@duxweb/dvha-naiveui": "^1.1.7",
38
38
  "@iconify-json/tabler": "^1.2.18",
39
39
  "@overlastic/vue": "^0.8.1",
40
40
  "@tanstack/vue-query": "^5.80.7",