@opentinyvue/vue-card-group 3.22.0 → 3.23.0
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/lib/index.js +1 -1
- package/lib/mobile-first.js +10 -2
- package/package.json +4 -4
- package/src/index.d.ts +1 -1
- package/src/mobile-first.vue.d.ts +3 -3
- package/src/pc.vue.d.ts +3 -3
package/lib/index.js
CHANGED
package/lib/mobile-first.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { renderless, api } from '@opentinyvue/vue-renderless/card-group/vue';
|
|
2
2
|
import { defineComponent, $prefix, props, setup } from '@opentinyvue/vue-common';
|
|
3
|
-
import {
|
|
3
|
+
import { iconGridNoData } from '@opentinyvue/vue-icon';
|
|
4
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createVNode } from 'vue';
|
|
4
5
|
|
|
5
6
|
function _createForOfIteratorHelperLoose(r, e) {
|
|
6
7
|
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
@@ -44,6 +45,9 @@ var classes = {
|
|
|
44
45
|
var _sfc_main = defineComponent({
|
|
45
46
|
name: $prefix + "CardGroup",
|
|
46
47
|
componentName: "CardGroup",
|
|
48
|
+
components: {
|
|
49
|
+
IconGridNoData: iconGridNoData()
|
|
50
|
+
},
|
|
47
51
|
emits: ["update:modelValue", "change"],
|
|
48
52
|
props: [].concat(props, ["modelValue", "customClass", "height", "autoWidth", "size", "status", "checkType", "type", "disabled"]),
|
|
49
53
|
setup: function setup$1(props2, context) {
|
|
@@ -57,13 +61,17 @@ var _sfc_main = defineComponent({
|
|
|
57
61
|
}
|
|
58
62
|
});
|
|
59
63
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
64
|
+
var _component_icon_grid_no_data = resolveComponent("icon-grid-no-data");
|
|
60
65
|
return openBlock(), createElementBlock(
|
|
61
66
|
"div",
|
|
62
67
|
{
|
|
63
68
|
"data-tag": "tiny-card-group",
|
|
64
69
|
class: normalizeClass(["w-full grid gap-4", _ctx.gcls("size-" + _ctx.state.size)])
|
|
65
70
|
},
|
|
66
|
-
[renderSlot(_ctx.$slots, "default")
|
|
71
|
+
[renderSlot(_ctx.$slots, "default"), createVNode(_component_icon_grid_no_data, {
|
|
72
|
+
"data-tag": "tiny-card-group-empty",
|
|
73
|
+
class: "hidden first:block !w-full !h-28"
|
|
74
|
+
})],
|
|
67
75
|
2
|
|
68
76
|
/* CLASS */
|
|
69
77
|
);
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-card-group",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.23.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"type": "module",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@opentinyvue/vue-common": "~3.
|
|
11
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
12
|
-
"@opentinyvue/vue-theme": "~3.
|
|
10
|
+
"@opentinyvue/vue-common": "~3.23.0",
|
|
11
|
+
"@opentinyvue/vue-renderless": "~3.23.0",
|
|
12
|
+
"@opentinyvue/vue-theme": "~3.23.0"
|
|
13
13
|
},
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"types": "index.d.ts"
|
package/src/index.d.ts
CHANGED
|
@@ -107,9 +107,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
107
107
|
disabled: boolean;
|
|
108
108
|
size: string;
|
|
109
109
|
type: string;
|
|
110
|
-
status: string;
|
|
111
110
|
tiny_mode_root: boolean;
|
|
112
111
|
autoWidth: boolean;
|
|
112
|
+
status: string;
|
|
113
113
|
checkType: string;
|
|
114
114
|
}, {}>;
|
|
115
115
|
export default _default;
|
|
@@ -3,7 +3,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
3
3
|
height?: any;
|
|
4
4
|
size?: any;
|
|
5
5
|
type?: any;
|
|
6
|
-
status?: any;
|
|
7
6
|
customClass?: any;
|
|
8
7
|
tiny_mode?: any;
|
|
9
8
|
tiny_mode_root?: any;
|
|
@@ -14,6 +13,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
14
13
|
tiny_chart_theme?: any;
|
|
15
14
|
modelValue?: any;
|
|
16
15
|
autoWidth?: any;
|
|
16
|
+
status?: any;
|
|
17
17
|
checkType?: any;
|
|
18
18
|
}>, {
|
|
19
19
|
t: (this: any, path: any, options?: any) => any;
|
|
@@ -29,7 +29,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
29
29
|
height?: any;
|
|
30
30
|
size?: any;
|
|
31
31
|
type?: any;
|
|
32
|
-
status?: any;
|
|
33
32
|
customClass?: any;
|
|
34
33
|
tiny_mode?: any;
|
|
35
34
|
tiny_mode_root?: any;
|
|
@@ -40,6 +39,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
40
39
|
tiny_chart_theme?: any;
|
|
41
40
|
modelValue?: any;
|
|
42
41
|
autoWidth?: any;
|
|
42
|
+
status?: any;
|
|
43
43
|
checkType?: any;
|
|
44
44
|
}>>> & {
|
|
45
45
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -49,7 +49,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
49
49
|
readonly height?: any;
|
|
50
50
|
readonly size?: any;
|
|
51
51
|
readonly type?: any;
|
|
52
|
-
readonly status?: any;
|
|
53
52
|
readonly customClass?: any;
|
|
54
53
|
readonly tiny_mode?: any;
|
|
55
54
|
readonly tiny_mode_root?: any;
|
|
@@ -60,6 +59,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
60
59
|
readonly tiny_chart_theme?: any;
|
|
61
60
|
readonly modelValue?: any;
|
|
62
61
|
readonly autoWidth?: any;
|
|
62
|
+
readonly status?: any;
|
|
63
63
|
readonly checkType?: any;
|
|
64
64
|
}, {}>;
|
|
65
65
|
export default _default;
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
3
3
|
height?: any;
|
|
4
4
|
size?: any;
|
|
5
5
|
type?: any;
|
|
6
|
-
status?: any;
|
|
7
6
|
customClass?: any;
|
|
8
7
|
tiny_mode?: any;
|
|
9
8
|
tiny_mode_root?: any;
|
|
@@ -14,6 +13,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
14
13
|
tiny_chart_theme?: any;
|
|
15
14
|
modelValue?: any;
|
|
16
15
|
autoWidth?: any;
|
|
16
|
+
status?: any;
|
|
17
17
|
checkType?: any;
|
|
18
18
|
}>, {
|
|
19
19
|
t: (this: any, path: any, options?: any) => any;
|
|
@@ -29,7 +29,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
29
29
|
height?: any;
|
|
30
30
|
size?: any;
|
|
31
31
|
type?: any;
|
|
32
|
-
status?: any;
|
|
33
32
|
customClass?: any;
|
|
34
33
|
tiny_mode?: any;
|
|
35
34
|
tiny_mode_root?: any;
|
|
@@ -40,6 +39,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
40
39
|
tiny_chart_theme?: any;
|
|
41
40
|
modelValue?: any;
|
|
42
41
|
autoWidth?: any;
|
|
42
|
+
status?: any;
|
|
43
43
|
checkType?: any;
|
|
44
44
|
}>>> & {
|
|
45
45
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -50,7 +50,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
50
50
|
readonly height?: any;
|
|
51
51
|
readonly size?: any;
|
|
52
52
|
readonly type?: any;
|
|
53
|
-
readonly status?: any;
|
|
54
53
|
readonly customClass?: any;
|
|
55
54
|
readonly tiny_mode?: any;
|
|
56
55
|
readonly tiny_mode_root?: any;
|
|
@@ -61,6 +60,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
|
|
|
61
60
|
readonly tiny_chart_theme?: any;
|
|
62
61
|
readonly modelValue?: any;
|
|
63
62
|
readonly autoWidth?: any;
|
|
63
|
+
readonly status?: any;
|
|
64
64
|
readonly checkType?: any;
|
|
65
65
|
}, {}>;
|
|
66
66
|
export default _default;
|