@94ai/nf-tag 3.1.16 → 3.1.18
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.d.ts +0 -12
- package/lib/nf-tag.cjs.js +8 -3
- package/lib/nf-tag.esm-bundler.js +8 -3
- package/lib/nf-tag.vue.d.ts +0 -4
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -2,23 +2,19 @@ import { PluginObject } from 'vue-demi';
|
|
|
2
2
|
declare const _default: import("vue/types/v3-component-public-instance").ComponentPublicInstanceConstructor<import("vue/types/v3-component-public-instance").Vue3Instance<{}, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
3
3
|
type: {
|
|
4
4
|
type: import("vue-demi").PropType<string>;
|
|
5
|
-
required: true;
|
|
6
5
|
default: string;
|
|
7
6
|
};
|
|
8
7
|
circle: {
|
|
9
8
|
type: import("vue-demi").PropType<boolean>;
|
|
10
|
-
required: true;
|
|
11
9
|
default: boolean;
|
|
12
10
|
};
|
|
13
11
|
}>>, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
14
12
|
type: {
|
|
15
13
|
type: import("vue-demi").PropType<string>;
|
|
16
|
-
required: true;
|
|
17
14
|
default: string;
|
|
18
15
|
};
|
|
19
16
|
circle: {
|
|
20
17
|
type: import("vue-demi").PropType<boolean>;
|
|
21
|
-
required: true;
|
|
22
18
|
default: boolean;
|
|
23
19
|
};
|
|
24
20
|
}>>, {}, {
|
|
@@ -27,34 +23,28 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
27
23
|
}, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue-demi").ExtractPropTypes<{
|
|
28
24
|
type: {
|
|
29
25
|
type: import("vue-demi").PropType<string>;
|
|
30
|
-
required: true;
|
|
31
26
|
default: string;
|
|
32
27
|
};
|
|
33
28
|
circle: {
|
|
34
29
|
type: import("vue-demi").PropType<boolean>;
|
|
35
|
-
required: true;
|
|
36
30
|
default: boolean;
|
|
37
31
|
};
|
|
38
32
|
}>>> & import("vue-demi").ShallowUnwrapRef<{}> & import("vue/types/v3-component-options").ExtractComputedReturns<{}> & import("vue-demi").ComponentCustomProperties & Readonly<import("vue-demi").ExtractPropTypes<{
|
|
39
33
|
type: {
|
|
40
34
|
type: import("vue-demi").PropType<string>;
|
|
41
|
-
required: true;
|
|
42
35
|
default: string;
|
|
43
36
|
};
|
|
44
37
|
circle: {
|
|
45
38
|
type: import("vue-demi").PropType<boolean>;
|
|
46
|
-
required: true;
|
|
47
39
|
default: boolean;
|
|
48
40
|
};
|
|
49
41
|
}>>, any, any, any, import("vue-demi").ComponentComputedOptions, import("vue-demi").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue-demi").ExtractPropTypes<{
|
|
50
42
|
type: {
|
|
51
43
|
type: import("vue-demi").PropType<string>;
|
|
52
|
-
required: true;
|
|
53
44
|
default: string;
|
|
54
45
|
};
|
|
55
46
|
circle: {
|
|
56
47
|
type: import("vue-demi").PropType<boolean>;
|
|
57
|
-
required: true;
|
|
58
48
|
default: boolean;
|
|
59
49
|
};
|
|
60
50
|
}>>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {
|
|
@@ -64,12 +54,10 @@ declare const _default: import("vue/types/v3-component-public-instance").Compone
|
|
|
64
54
|
props: {
|
|
65
55
|
type: {
|
|
66
56
|
type: import("vue-demi").PropType<string>;
|
|
67
|
-
required: true;
|
|
68
57
|
default: string;
|
|
69
58
|
};
|
|
70
59
|
circle: {
|
|
71
60
|
type: import("vue-demi").PropType<boolean>;
|
|
72
|
-
required: true;
|
|
73
61
|
default: boolean;
|
|
74
62
|
};
|
|
75
63
|
};
|
package/lib/nf-tag.cjs.js
CHANGED
|
@@ -81,10 +81,15 @@ var _sfc_render = function render() {
|
|
|
81
81
|
var _vm = this, _c = _vm._self._c;
|
|
82
82
|
_vm._self._setupProxy;
|
|
83
83
|
return _c("div", {
|
|
84
|
-
"class": ["nf-tag", _vm.type ? "nf-tag--".concat(_vm.type) : ""]
|
|
85
|
-
|
|
84
|
+
"class": ["nf-tag", _vm.type ? "nf-tag--".concat(_vm.type) : ""],
|
|
85
|
+
on: {
|
|
86
|
+
"click": function click($event) {
|
|
87
|
+
return _vm.$emit("click", $event);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}, [_vm.circle ? _c("i", {
|
|
86
91
|
staticClass: "circle"
|
|
87
|
-
}), _vm._t("default")], 2);
|
|
92
|
+
}) : _vm._e(), _vm._t("default")], 2);
|
|
88
93
|
};
|
|
89
94
|
var _sfc_staticRenderFns = [];
|
|
90
95
|
var __component__ = /* @__PURE__ */ normalizeComponent(__sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
|
|
@@ -79,10 +79,15 @@ var _sfc_render = function render() {
|
|
|
79
79
|
var _vm = this, _c = _vm._self._c;
|
|
80
80
|
_vm._self._setupProxy;
|
|
81
81
|
return _c("div", {
|
|
82
|
-
"class": ["nf-tag", _vm.type ? "nf-tag--".concat(_vm.type) : ""]
|
|
83
|
-
|
|
82
|
+
"class": ["nf-tag", _vm.type ? "nf-tag--".concat(_vm.type) : ""],
|
|
83
|
+
on: {
|
|
84
|
+
"click": function click($event) {
|
|
85
|
+
return _vm.$emit("click", $event);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}, [_vm.circle ? _c("i", {
|
|
84
89
|
staticClass: "circle"
|
|
85
|
-
}), _vm._t("default")], 2);
|
|
90
|
+
}) : _vm._e(), _vm._t("default")], 2);
|
|
86
91
|
};
|
|
87
92
|
var _sfc_staticRenderFns = [];
|
|
88
93
|
var __component__ = /* @__PURE__ */ normalizeComponent(__sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
|
package/lib/nf-tag.vue.d.ts
CHANGED
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue-demi").DefineComponent<{
|
|
2
2
|
type: {
|
|
3
3
|
type: import("vue-demi").PropType<string>;
|
|
4
|
-
required: true;
|
|
5
4
|
default: string;
|
|
6
5
|
};
|
|
7
6
|
circle: {
|
|
8
7
|
type: import("vue-demi").PropType<boolean>;
|
|
9
|
-
required: true;
|
|
10
8
|
default: boolean;
|
|
11
9
|
};
|
|
12
10
|
}, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
13
11
|
type: {
|
|
14
12
|
type: import("vue-demi").PropType<string>;
|
|
15
|
-
required: true;
|
|
16
13
|
default: string;
|
|
17
14
|
};
|
|
18
15
|
circle: {
|
|
19
16
|
type: import("vue-demi").PropType<boolean>;
|
|
20
|
-
required: true;
|
|
21
17
|
default: boolean;
|
|
22
18
|
};
|
|
23
19
|
}>>, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-tag",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.18",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "zoujiahe <zoujiahe@94ai.com>",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"url": "http://94ai.gitlab.com/zoujiahe/common-ui.git"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@94ai/nf-theme-chalk": "^3.1.
|
|
17
|
+
"@94ai/nf-theme-chalk": "^3.1.18",
|
|
18
18
|
"vue-demi": "^0.14.5"
|
|
19
19
|
},
|
|
20
20
|
"peerDependenciesMeta": {
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"types": "lib/index.d.ts",
|
|
31
31
|
"main": "lib/nf-tag.cjs.js",
|
|
32
32
|
"module": "lib/nf-tag.esm-bundler.js",
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "6863e4cb2f4b4e4443766280f3e9802bbe47bf68"
|
|
34
34
|
}
|