@opentinyvue/vue-filter-box 3.28.0 → 3.29.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 +5 -1
- package/package.json +6 -6
- package/src/pc.vue.d.ts +9 -0
package/lib/index.js
CHANGED
|
@@ -79,6 +79,10 @@ var _sfc_main = defineComponent({
|
|
|
79
79
|
blank: {
|
|
80
80
|
type: Boolean,
|
|
81
81
|
default: false
|
|
82
|
+
},
|
|
83
|
+
size: {
|
|
84
|
+
type: String,
|
|
85
|
+
default: ""
|
|
82
86
|
}
|
|
83
87
|
}),
|
|
84
88
|
setup: function setup$1(props, context) {
|
|
@@ -98,7 +102,7 @@ function _sfc_render(_ctx, _cache, $props2, $setup, $data, $options) {
|
|
|
98
102
|
return openBlock(), createElementBlock(
|
|
99
103
|
"div",
|
|
100
104
|
{
|
|
101
|
-
class: normalizeClass(["tiny-filter-box", _ctx.disabled && "disabled", _ctx.blank && "is-blank"]),
|
|
105
|
+
class: normalizeClass(["tiny-filter-box", _ctx.disabled && "disabled", _ctx.blank && "is-blank", _ctx.size ? "tiny-filter-box--" + _ctx.size : ""]),
|
|
102
106
|
onClick: _cache[0] || (_cache[0] = function() {
|
|
103
107
|
return _ctx.handeClick && _ctx.handeClick.apply(_ctx, arguments);
|
|
104
108
|
})
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-filter-box",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.29.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-renderless": "~3.
|
|
11
|
-
"@opentinyvue/vue-common": "~3.
|
|
12
|
-
"@opentinyvue/vue-icon": "~3.
|
|
13
|
-
"@opentinyvue/vue-tooltip": "~3.
|
|
14
|
-
"@opentinyvue/vue-theme": "~3.
|
|
10
|
+
"@opentinyvue/vue-renderless": "~3.29.0",
|
|
11
|
+
"@opentinyvue/vue-common": "~3.29.0",
|
|
12
|
+
"@opentinyvue/vue-icon": "~3.29.0",
|
|
13
|
+
"@opentinyvue/vue-tooltip": "~3.29.0",
|
|
14
|
+
"@opentinyvue/vue-theme": "~3.29.0"
|
|
15
15
|
},
|
|
16
16
|
"license": "MIT",
|
|
17
17
|
"types": "index.d.ts"
|
package/src/pc.vue.d.ts
CHANGED
|
@@ -22,6 +22,10 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
22
22
|
type: BooleanConstructor;
|
|
23
23
|
default: boolean;
|
|
24
24
|
};
|
|
25
|
+
size: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
25
29
|
tiny_mode: StringConstructor;
|
|
26
30
|
tiny_mode_root: BooleanConstructor;
|
|
27
31
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
@@ -62,6 +66,10 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
62
66
|
type: BooleanConstructor;
|
|
63
67
|
default: boolean;
|
|
64
68
|
};
|
|
69
|
+
size: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
65
73
|
tiny_mode: StringConstructor;
|
|
66
74
|
tiny_mode_root: BooleanConstructor;
|
|
67
75
|
tiny_template: (ObjectConstructor | FunctionConstructor)[];
|
|
@@ -74,6 +82,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
|
|
|
74
82
|
"onHandle-clear"?: ((...args: any[]) => any) | undefined;
|
|
75
83
|
}, {
|
|
76
84
|
disabled: boolean;
|
|
85
|
+
size: string;
|
|
77
86
|
tiny_mode_root: boolean;
|
|
78
87
|
showClose: boolean;
|
|
79
88
|
placeholder: string;
|