@duxweb/dvha-pro 1.0.35 → 1.0.37
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 e=require("vue"),t=require("naive-ui"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("naive-ui"),i=require("./placeholder.cjs"),l=e.defineComponent({name:"DuxImage",props:{},extends:t.NImage,setup(r){return()=>{const a=`size-${r.height}px`,c=e.createVNode("svg",{viewBox:"0 0 100 100",class:a},[e.createVNode("circle",{cx:"50",cy:"50",r:"50",fill:"rgb(var(--ui-color-primary))","fill-opacity":"0.1"},null),e.createVNode("g",{fill:"rgb(var(--ui-color-primary))","fill-opacity":"0.65"},[e.createVNode("circle",{cx:"50",cy:"36",r:"14"},null),e.createVNode("path",{d:"M 50 54 C 30 54 15 69 15 87 L 15 100 L 85 100 L 85 87 C 85 69 70 54 50 54 Z"},null)]),e.createVNode("g",{fill:"rgb(var(--ui-color-primary))","fill-opacity":"0.3"},[e.createVNode("circle",{cx:"20",cy:"20",r:"1.5"},[e.createVNode("animate",{attributeName:"r",values:"1.5;2.5;1.5",dur:"3s",repeatCount:"indefinite"},null)]),e.createVNode("circle",{cx:"80",cy:"25",r:"1"},[e.createVNode("animate",{attributeName:"r",values:"1;2;1",dur:"4s",repeatCount:"indefinite"},null)])])]);return r.src?e.createVNode(t.NImage,e.mergeProps(r,{src:r.src}),{placeholder:()=>e.createVNode(i.DuxPlaceholder,{width:r.width,height:r.height},null)}):e.h(c)}}});exports.DuxImage=l;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=`/* layer: properties */
|
|
2
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-
|
|
2
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-from-opacity:100%;--un-text-opacity:100%;--un-bg-opacity:100%;--un-divide-y-reverse:initial;--un-border-style:solid;--un-divide-x-reverse:initial;--un-divide-opacity:100%;--un-shadow-opacity:100%;--un-border-opacity:100%;--un-ease:initial;--un-translate-x:initial;--un-translate-y:initial;--un-translate-z:initial;--un-to-opacity:100%;--un-outline-style:solid;--un-fill-opacity:100%;}}
|
|
3
3
|
@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
4
4
|
@property --un-outline-style{syntax:"*";inherits:false;initial-value:solid;}
|
|
5
5
|
@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as a, createVNode as e, h as c, mergeProps as n } from "vue";
|
|
2
2
|
import { NImage as i } from "naive-ui";
|
|
3
|
-
import { DuxPlaceholder as
|
|
4
|
-
const g = /* @__PURE__ */
|
|
3
|
+
import { DuxPlaceholder as o } from "./placeholder.js";
|
|
4
|
+
const g = /* @__PURE__ */ a({
|
|
5
5
|
name: "DuxImage",
|
|
6
6
|
props: {},
|
|
7
7
|
extends: i,
|
|
8
8
|
setup(r) {
|
|
9
9
|
return () => {
|
|
10
|
-
const
|
|
10
|
+
const l = `size-${r.height}px`, t = e("svg", {
|
|
11
11
|
viewBox: "0 0 100 100",
|
|
12
|
-
class:
|
|
12
|
+
class: l
|
|
13
13
|
}, [e("circle", {
|
|
14
14
|
cx: "50",
|
|
15
15
|
cy: "50",
|
|
@@ -47,18 +47,14 @@ const g = /* @__PURE__ */ c({
|
|
|
47
47
|
dur: "4s",
|
|
48
48
|
repeatCount: "indefinite"
|
|
49
49
|
}, null)])])]);
|
|
50
|
-
return r.src ? e(i,
|
|
50
|
+
return r.src ? e(i, n(r, {
|
|
51
51
|
src: r.src
|
|
52
52
|
}), {
|
|
53
|
-
placeholder: () => e(
|
|
54
|
-
width: r.width,
|
|
55
|
-
height: r.height
|
|
56
|
-
}, null),
|
|
57
|
-
error: () => e(l, {
|
|
53
|
+
placeholder: () => e(o, {
|
|
58
54
|
width: r.width,
|
|
59
55
|
height: r.height
|
|
60
56
|
}, null)
|
|
61
|
-
}) :
|
|
57
|
+
}) : c(t);
|
|
62
58
|
};
|
|
63
59
|
}
|
|
64
60
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const r = `/* layer: properties */
|
|
2
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-
|
|
2
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-from-opacity:100%;--un-text-opacity:100%;--un-bg-opacity:100%;--un-divide-y-reverse:initial;--un-border-style:solid;--un-divide-x-reverse:initial;--un-divide-opacity:100%;--un-shadow-opacity:100%;--un-border-opacity:100%;--un-ease:initial;--un-translate-x:initial;--un-translate-y:initial;--un-translate-z:initial;--un-to-opacity:100%;--un-outline-style:solid;--un-fill-opacity:100%;}}
|
|
3
3
|
@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
4
4
|
@property --un-outline-style{syntax:"*";inherits:false;initial-value:solid;}
|
|
5
5
|
@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duxweb/dvha-pro",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.37",
|
|
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.0.
|
|
37
|
-
"@duxweb/dvha-naiveui": "^1.0.
|
|
36
|
+
"@duxweb/dvha-core": "^1.0.37",
|
|
37
|
+
"@duxweb/dvha-naiveui": "^1.0.37",
|
|
38
38
|
"@iconify-json/tabler": "^1.2.18",
|
|
39
39
|
"@overlastic/vue": "^0.8.1",
|
|
40
40
|
"@tanstack/vue-query": "^5.80.7",
|