@gct-paas/core-components 0.1.6-dev.1 → 0.1.6-dev.3
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.
|
@@ -48,17 +48,40 @@ var createColorClasses = (color) => {
|
|
|
48
48
|
var AssetsSvgIcon = /* @__PURE__ */ defineComponent({
|
|
49
49
|
name: "AssetsSvgIcon",
|
|
50
50
|
props: {
|
|
51
|
+
/**
|
|
52
|
+
* The color to use for the background of the item.
|
|
53
|
+
*/
|
|
51
54
|
color: { type: String },
|
|
55
|
+
/**
|
|
56
|
+
* Specifies whether the icon should horizontally flip when `dir` is `"rtl"`.
|
|
57
|
+
*/
|
|
52
58
|
flipRtl: { type: Boolean },
|
|
59
|
+
/**
|
|
60
|
+
* Specifies the exact `src` of an SVG file to use.
|
|
61
|
+
*/
|
|
53
62
|
src: {
|
|
54
63
|
type: String,
|
|
55
64
|
required: true
|
|
56
65
|
},
|
|
66
|
+
/**
|
|
67
|
+
* The size of the icon.
|
|
68
|
+
* Available options are: `"small"` and `"large"`.
|
|
69
|
+
*/
|
|
57
70
|
size: { type: String },
|
|
71
|
+
/**
|
|
72
|
+
* If enabled, ion-icon will be loaded lazily when it's visible in the viewport.
|
|
73
|
+
* Default, `false`.
|
|
74
|
+
*/
|
|
58
75
|
lazy: {
|
|
59
76
|
type: Boolean,
|
|
60
77
|
default: false
|
|
61
78
|
},
|
|
79
|
+
/**
|
|
80
|
+
* When set to `false`, SVG content that is HTTP fetched will not be checked
|
|
81
|
+
* if the response SVG content has any `<script>` elements, or any attributes
|
|
82
|
+
* that start with `on`, such as `onclick`.
|
|
83
|
+
* @default true
|
|
84
|
+
*/
|
|
62
85
|
sanitize: {
|
|
63
86
|
type: Boolean,
|
|
64
87
|
default: true
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gct-paas/core-components",
|
|
3
|
-
"version": "0.1.6-dev.
|
|
3
|
+
"version": "0.1.6-dev.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "paas 平台核心组件包,不区分Web、Mobile、Pad等平台,包含一些基础组件",
|
|
6
6
|
"loader": "dist/loader.esm.min.js",
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
"vue": "^3.5.30",
|
|
42
42
|
"wujie": "^1.0.29",
|
|
43
43
|
"wujie-vue3": "^1.0.29",
|
|
44
|
-
"@gct-paas/
|
|
45
|
-
"@gct-paas/
|
|
44
|
+
"@gct-paas/core": "0.1.6-dev.3",
|
|
45
|
+
"@gct-paas/scss": "0.1.6-dev.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@gct-paas/api": "^0.1.4-dev.4",
|
|
49
49
|
"vant": ">=4",
|
|
50
50
|
"vue": ">=3",
|
|
51
|
-
"@gct-paas/core": "0.1.6-dev.
|
|
52
|
-
"@gct-paas/scss": "0.1.6-dev.
|
|
51
|
+
"@gct-paas/core": "0.1.6-dev.3",
|
|
52
|
+
"@gct-paas/scss": "0.1.6-dev.3"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"dev": "cross-env NODE_ENV=development vite build --watch --config vite.dev.config.ts",
|