mrxy-yk 1.1.7 → 1.1.9
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/components/empty/Empty.vue.js +3 -3
- package/global.d.ts +1 -1
- package/package.json +1 -1
- package/web-types.json +49 -45
|
@@ -48,9 +48,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
48
|
const empty = currentEmpty.value;
|
|
49
49
|
return {
|
|
50
50
|
"--yk-empty-image-size": `${props.imageSize}px`,
|
|
51
|
-
"--yk-empty-image-hue-rotate":
|
|
52
|
-
"--yk-empty-image-opacity":
|
|
53
|
-
"--yk-empty-image-url": `var(--yk-empty-${empty.type}, url('${empty.src}'))`
|
|
51
|
+
"--yk-empty-image-hue-rotate": `var(--yk-empty-${empty.type}-hue-rotate, ${empty.hueRotate || 0}deg)`,
|
|
52
|
+
"--yk-empty-image-opacity": `var(--yk-empty-${empty.type}-opacity, ${empty.hueRotate ? 0.9 : 1})`,
|
|
53
|
+
"--yk-empty-image-url": `var(--yk-empty-${empty.type}-url, url('${empty.src}'))`
|
|
54
54
|
};
|
|
55
55
|
});
|
|
56
56
|
watch(() => props.hook.state.value, updateStatus, { deep: true });
|
package/global.d.ts
CHANGED
|
@@ -16,13 +16,13 @@ declare module 'vue' {
|
|
|
16
16
|
YkScrollContainer: typeof import('mrxy-yk/components')['ScrollContainer']
|
|
17
17
|
YkElDatePicker: typeof import('mrxy-yk/components')['ElDatePicker']
|
|
18
18
|
YkExportLink: typeof import('mrxy-yk/components')['ExportLink']
|
|
19
|
+
YkEmpty: typeof import('mrxy-yk/components')['Empty']
|
|
19
20
|
|
|
20
21
|
YkElFormDialog: typeof import('mrxy-yk/components')['ElFormDialog']
|
|
21
22
|
YkElPagination: typeof import('mrxy-yk/components')['ElPagination']
|
|
22
23
|
YkElUploadImages: typeof import('mrxy-yk/components')['ElUploadImages']
|
|
23
24
|
YkElUploadFiles: typeof import('mrxy-yk/components')['ElUploadFiles']
|
|
24
25
|
YkElSelectFile: typeof import('mrxy-yk/components')['ElSelectFile']
|
|
25
|
-
YkElEmpty: typeof import('mrxy-yk/components')['ElEmpty']
|
|
26
26
|
YkElImages: typeof import('mrxy-yk/components')['ElImages']
|
|
27
27
|
YkElTableColumn: typeof import('mrxy-yk/components')['ElTableColumn']
|
|
28
28
|
}
|
package/package.json
CHANGED
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "mrxy-yk",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.9",
|
|
5
5
|
"js-types-syntax": "typescript",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -590,6 +590,54 @@
|
|
|
590
590
|
}
|
|
591
591
|
]
|
|
592
592
|
},
|
|
593
|
+
{
|
|
594
|
+
"name": "YkEmpty",
|
|
595
|
+
"source": {
|
|
596
|
+
"symbol": "Empty",
|
|
597
|
+
"module": "mrxy-yk/element-plus/components"
|
|
598
|
+
},
|
|
599
|
+
"description": "缺省图组件,用来显示当前内容的异常时的缺省状态。帮助你更便捷的使用各个缺省状态",
|
|
600
|
+
"doc-url": "https://gitee.com/cscake/mrxy-yk/blob/master/doc/components/Empty.md",
|
|
601
|
+
"props": [
|
|
602
|
+
{
|
|
603
|
+
"name": "hook",
|
|
604
|
+
"type": [
|
|
605
|
+
"UseEmptyHooksExample"
|
|
606
|
+
],
|
|
607
|
+
"description": "[必填]当前EmptyBox的显示状态"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "image-size",
|
|
611
|
+
"type": [
|
|
612
|
+
"number"
|
|
613
|
+
],
|
|
614
|
+
"description": "图片大小"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"name": "empty-class",
|
|
618
|
+
"type": [
|
|
619
|
+
"string"
|
|
620
|
+
],
|
|
621
|
+
"description": "自定义类样式"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"name": "empty-style",
|
|
625
|
+
"type": [
|
|
626
|
+
"string"
|
|
627
|
+
],
|
|
628
|
+
"description": "自定义样式"
|
|
629
|
+
}
|
|
630
|
+
],
|
|
631
|
+
"slots": [
|
|
632
|
+
{
|
|
633
|
+
"name": "default"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"name": "footer",
|
|
637
|
+
"type": "{ type: string }"
|
|
638
|
+
}
|
|
639
|
+
]
|
|
640
|
+
},
|
|
593
641
|
{
|
|
594
642
|
"name": "YkElFormDialog",
|
|
595
643
|
"source": {
|
|
@@ -1070,50 +1118,6 @@
|
|
|
1070
1118
|
}
|
|
1071
1119
|
]
|
|
1072
1120
|
},
|
|
1073
|
-
{
|
|
1074
|
-
"name": "YkElEmpty",
|
|
1075
|
-
"source": {
|
|
1076
|
-
"symbol": "ElEmpty",
|
|
1077
|
-
"module": "mrxy-yk/element-plus/components"
|
|
1078
|
-
},
|
|
1079
|
-
"description": "基于el-empty组件优化得来的缺省图组件,用来显示当前内容的异常时的缺省状态。组件中提供了枚举EmptyEnum,帮助你更便捷的使用各个缺省状态",
|
|
1080
|
-
"doc-url": "https://gitee.com/cscake/mrxy-yk/blob/master/doc/element-plus/components/Empty.md",
|
|
1081
|
-
"props": [
|
|
1082
|
-
{
|
|
1083
|
-
"name": "hook",
|
|
1084
|
-
"type": [
|
|
1085
|
-
"UseEmptyHooksExample"
|
|
1086
|
-
],
|
|
1087
|
-
"description": "[必填]当前EmptyBox的显示状态"
|
|
1088
|
-
},
|
|
1089
|
-
{
|
|
1090
|
-
"name": "image-size",
|
|
1091
|
-
"type": [
|
|
1092
|
-
"number"
|
|
1093
|
-
],
|
|
1094
|
-
"description": "图片大小"
|
|
1095
|
-
},
|
|
1096
|
-
{
|
|
1097
|
-
"name": "empty-class",
|
|
1098
|
-
"type": [
|
|
1099
|
-
"string"
|
|
1100
|
-
],
|
|
1101
|
-
"description": "自定义类样式"
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
"name": "empty-style",
|
|
1105
|
-
"type": [
|
|
1106
|
-
"string"
|
|
1107
|
-
],
|
|
1108
|
-
"description": "自定义样式"
|
|
1109
|
-
}
|
|
1110
|
-
],
|
|
1111
|
-
"slots": [
|
|
1112
|
-
{
|
|
1113
|
-
"name": "default"
|
|
1114
|
-
}
|
|
1115
|
-
]
|
|
1116
|
-
},
|
|
1117
1121
|
{
|
|
1118
1122
|
"name": "YkElImages",
|
|
1119
1123
|
"source": {
|