@opentinyvue/vue-card-group 3.22.1 → 3.24.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.
@@ -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 { openBlock, createElementBlock, normalizeClass, renderSlot } from 'vue';
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.22.1",
3
+ "version": "3.24.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.22.0",
11
- "@opentinyvue/vue-renderless": "~3.22.0",
12
- "@opentinyvue/vue-theme": "~3.22.0"
10
+ "@opentinyvue/vue-common": "~3.24.0",
11
+ "@opentinyvue/vue-renderless": "~3.24.0",
12
+ "@opentinyvue/vue-theme": "~3.24.0"
13
13
  },
14
14
  "license": "MIT",
15
15
  "types": "index.d.ts"
package/src/index.d.ts CHANGED
@@ -31,6 +31,7 @@ export declare const cardGroupProps: {
31
31
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
32
32
  tiny_renderless: FunctionConstructor;
33
33
  tiny_theme: StringConstructor;
34
+ tiny_mcp_config: ObjectConstructor;
34
35
  tiny_chart_theme: ObjectConstructor;
35
36
  };
36
37
  declare const _default: import("@vue/runtime-core").DefineComponent<{
@@ -66,6 +67,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
66
67
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
67
68
  tiny_renderless: FunctionConstructor;
68
69
  tiny_theme: StringConstructor;
70
+ tiny_mcp_config: ObjectConstructor;
69
71
  tiny_chart_theme: ObjectConstructor;
70
72
  }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
71
73
  [key: string]: any;
@@ -102,6 +104,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
102
104
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
103
105
  tiny_renderless: FunctionConstructor;
104
106
  tiny_theme: StringConstructor;
107
+ tiny_mcp_config: ObjectConstructor;
105
108
  tiny_chart_theme: ObjectConstructor;
106
109
  }>>, {
107
110
  disabled: boolean;
@@ -11,6 +11,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
11
11
  _constants?: any;
12
12
  tiny_theme?: any;
13
13
  tiny_chart_theme?: any;
14
+ tiny_mcp_config?: any;
14
15
  modelValue?: any;
15
16
  autoWidth?: any;
16
17
  status?: any;
@@ -37,6 +38,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
37
38
  _constants?: any;
38
39
  tiny_theme?: any;
39
40
  tiny_chart_theme?: any;
41
+ tiny_mcp_config?: any;
40
42
  modelValue?: any;
41
43
  autoWidth?: any;
42
44
  status?: any;
@@ -57,6 +59,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
57
59
  readonly _constants?: any;
58
60
  readonly tiny_theme?: any;
59
61
  readonly tiny_chart_theme?: any;
62
+ readonly tiny_mcp_config?: any;
60
63
  readonly modelValue?: any;
61
64
  readonly autoWidth?: any;
62
65
  readonly status?: any;
package/src/pc.vue.d.ts CHANGED
@@ -11,6 +11,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
11
11
  _constants?: any;
12
12
  tiny_theme?: any;
13
13
  tiny_chart_theme?: any;
14
+ tiny_mcp_config?: any;
14
15
  modelValue?: any;
15
16
  autoWidth?: any;
16
17
  status?: any;
@@ -37,6 +38,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
37
38
  _constants?: any;
38
39
  tiny_theme?: any;
39
40
  tiny_chart_theme?: any;
41
+ tiny_mcp_config?: any;
40
42
  modelValue?: any;
41
43
  autoWidth?: any;
42
44
  status?: any;
@@ -58,6 +60,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
58
60
  readonly _constants?: any;
59
61
  readonly tiny_theme?: any;
60
62
  readonly tiny_chart_theme?: any;
63
+ readonly tiny_mcp_config?: any;
61
64
  readonly modelValue?: any;
62
65
  readonly autoWidth?: any;
63
66
  readonly status?: any;