@94ai/nf-tag 3.3.38 → 3.3.40
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/nf-tag.cjs.js +7 -7
- package/lib/nf-tag.esm-bundler.js +7 -7
- package/package.json +3 -3
package/lib/nf-tag.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vueDemi = require("vue-demi");
|
|
4
4
|
const vue2RuntimeHelpers = require("@94ai/vue2-runtime-helpers");
|
|
5
|
-
|
|
5
|
+
const __sfc_main = vueDemi.defineComponent({
|
|
6
6
|
name: "nf-tag"
|
|
7
7
|
});
|
|
8
8
|
__sfc_main.props = {
|
|
@@ -10,25 +10,25 @@ __sfc_main.props = {
|
|
|
10
10
|
key: "type",
|
|
11
11
|
required: false,
|
|
12
12
|
type: String,
|
|
13
|
-
|
|
13
|
+
default: void 0
|
|
14
14
|
},
|
|
15
15
|
circle: {
|
|
16
16
|
key: "circle",
|
|
17
17
|
required: false,
|
|
18
18
|
type: Boolean,
|
|
19
|
-
|
|
19
|
+
default: true
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
|
-
__sfc_main.setup =
|
|
22
|
+
__sfc_main.setup = (__props, __ctx) => {
|
|
23
23
|
return {};
|
|
24
24
|
};
|
|
25
25
|
var _sfc_render = function render() {
|
|
26
26
|
var _vm = this, _c = _vm._self._c;
|
|
27
27
|
_vm._self._setupProxy;
|
|
28
28
|
return _c("div", {
|
|
29
|
-
|
|
29
|
+
class: ["nf-tag", _vm.type ? `nf-tag--${_vm.type}` : ""],
|
|
30
30
|
on: {
|
|
31
|
-
"click": function
|
|
31
|
+
"click": function($event) {
|
|
32
32
|
return _vm.$emit("click", $event);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -39,7 +39,7 @@ var _sfc_render = function render() {
|
|
|
39
39
|
var _sfc_staticRenderFns = [];
|
|
40
40
|
var __component__ = /* @__PURE__ */ vue2RuntimeHelpers.normalizeComponent(__sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
|
|
41
41
|
const NfTag = __component__.exports;
|
|
42
|
-
NfTag.install =
|
|
42
|
+
NfTag.install = (app) => {
|
|
43
43
|
app.component("nf-tag", NfTag);
|
|
44
44
|
};
|
|
45
45
|
exports.default = NfTag;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent } from "vue-demi";
|
|
2
2
|
import { normalizeComponent } from "@94ai/vue2-runtime-helpers";
|
|
3
|
-
|
|
3
|
+
const __sfc_main = defineComponent({
|
|
4
4
|
name: "nf-tag"
|
|
5
5
|
});
|
|
6
6
|
__sfc_main.props = {
|
|
@@ -8,25 +8,25 @@ __sfc_main.props = {
|
|
|
8
8
|
key: "type",
|
|
9
9
|
required: false,
|
|
10
10
|
type: String,
|
|
11
|
-
|
|
11
|
+
default: void 0
|
|
12
12
|
},
|
|
13
13
|
circle: {
|
|
14
14
|
key: "circle",
|
|
15
15
|
required: false,
|
|
16
16
|
type: Boolean,
|
|
17
|
-
|
|
17
|
+
default: true
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
|
-
__sfc_main.setup =
|
|
20
|
+
__sfc_main.setup = (__props, __ctx) => {
|
|
21
21
|
return {};
|
|
22
22
|
};
|
|
23
23
|
var _sfc_render = function render() {
|
|
24
24
|
var _vm = this, _c = _vm._self._c;
|
|
25
25
|
_vm._self._setupProxy;
|
|
26
26
|
return _c("div", {
|
|
27
|
-
|
|
27
|
+
class: ["nf-tag", _vm.type ? `nf-tag--${_vm.type}` : ""],
|
|
28
28
|
on: {
|
|
29
|
-
"click": function
|
|
29
|
+
"click": function($event) {
|
|
30
30
|
return _vm.$emit("click", $event);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -37,7 +37,7 @@ var _sfc_render = function render() {
|
|
|
37
37
|
var _sfc_staticRenderFns = [];
|
|
38
38
|
var __component__ = /* @__PURE__ */ normalizeComponent(__sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
|
|
39
39
|
const NfTag = __component__.exports;
|
|
40
|
-
NfTag.install =
|
|
40
|
+
NfTag.install = (app) => {
|
|
41
41
|
app.component("nf-tag", NfTag);
|
|
42
42
|
};
|
|
43
43
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@94ai/nf-tag",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.40",
|
|
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.3.
|
|
17
|
+
"@94ai/nf-theme-chalk": "^3.3.40",
|
|
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": "38ed6fe592d83d91ecf8fa7c94e66e0bb8b8a76d"
|
|
34
34
|
}
|