@opentiny/vue-dropdown-item 2.20.0 → 2.21.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 +2 -3
- package/lib/mobile-first.js +3 -27
- package/lib/mobile.js +3 -27
- package/lib/pc.js +3 -27
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -2,8 +2,7 @@ function _extends() {
|
|
|
2
2
|
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
3
3
|
for (var e = 1; e < arguments.length; e++) {
|
|
4
4
|
var t = arguments[e];
|
|
5
|
-
for (var r in t)
|
|
6
|
-
({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
5
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
7
6
|
}
|
|
8
7
|
return n;
|
|
9
8
|
}, _extends.apply(null, arguments);
|
|
@@ -119,7 +118,7 @@ var DropdownItem = defineComponent({
|
|
|
119
118
|
});
|
|
120
119
|
}
|
|
121
120
|
});
|
|
122
|
-
var version = "2.
|
|
121
|
+
var version = "2.21.0";
|
|
123
122
|
DropdownItem.model = {
|
|
124
123
|
prop: "modelValue",
|
|
125
124
|
event: "update:modelValue"
|
package/lib/mobile-first.js
CHANGED
|
@@ -8,33 +8,9 @@ function normalizeComponent(scriptExports, render, staticRenderFns, functionalTe
|
|
|
8
8
|
options.staticRenderFns = staticRenderFns;
|
|
9
9
|
options._compiled = true;
|
|
10
10
|
}
|
|
11
|
-
if (functionalTemplate) {
|
|
12
|
-
options.functional = true;
|
|
13
|
-
}
|
|
14
|
-
if (scopeId) {
|
|
15
|
-
options._scopeId = "data-v-" + scopeId;
|
|
16
|
-
}
|
|
17
11
|
var hook;
|
|
18
|
-
if (
|
|
19
|
-
hook =
|
|
20
|
-
context = context || // cached call
|
|
21
|
-
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
22
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
|
|
23
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== "undefined") {
|
|
24
|
-
context = __VUE_SSR_CONTEXT__;
|
|
25
|
-
}
|
|
26
|
-
if (injectStyles) {
|
|
27
|
-
injectStyles.call(this, context);
|
|
28
|
-
}
|
|
29
|
-
if (context && context._registeredComponents) {
|
|
30
|
-
context._registeredComponents.add(moduleIdentifier);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
options._ssrRegister = hook;
|
|
34
|
-
} else if (injectStyles) {
|
|
35
|
-
hook = shadowMode ? function() {
|
|
36
|
-
injectStyles.call(this, (options.functional ? this.parent : this).$root.$options.shadowRoot);
|
|
37
|
-
} : injectStyles;
|
|
12
|
+
if (injectStyles) {
|
|
13
|
+
hook = injectStyles;
|
|
38
14
|
}
|
|
39
15
|
if (hook) {
|
|
40
16
|
if (options.functional) {
|
|
@@ -101,7 +77,7 @@ var render = function render2() {
|
|
|
101
77
|
};
|
|
102
78
|
var staticRenderFns = [];
|
|
103
79
|
var __cssModules = {};
|
|
104
|
-
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles
|
|
80
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
|
|
105
81
|
function __vue2_injectStyles(context) {
|
|
106
82
|
for (var o in __cssModules) {
|
|
107
83
|
this[o] = __cssModules[o];
|
package/lib/mobile.js
CHANGED
|
@@ -13,33 +13,9 @@ function normalizeComponent(scriptExports, render, staticRenderFns, functionalTe
|
|
|
13
13
|
options.staticRenderFns = staticRenderFns;
|
|
14
14
|
options._compiled = true;
|
|
15
15
|
}
|
|
16
|
-
if (functionalTemplate) {
|
|
17
|
-
options.functional = true;
|
|
18
|
-
}
|
|
19
|
-
if (scopeId) {
|
|
20
|
-
options._scopeId = "data-v-" + scopeId;
|
|
21
|
-
}
|
|
22
16
|
var hook;
|
|
23
|
-
if (
|
|
24
|
-
hook =
|
|
25
|
-
context = context || // cached call
|
|
26
|
-
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
27
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
|
|
28
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== "undefined") {
|
|
29
|
-
context = __VUE_SSR_CONTEXT__;
|
|
30
|
-
}
|
|
31
|
-
if (injectStyles) {
|
|
32
|
-
injectStyles.call(this, context);
|
|
33
|
-
}
|
|
34
|
-
if (context && context._registeredComponents) {
|
|
35
|
-
context._registeredComponents.add(moduleIdentifier);
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
options._ssrRegister = hook;
|
|
39
|
-
} else if (injectStyles) {
|
|
40
|
-
hook = shadowMode ? function() {
|
|
41
|
-
injectStyles.call(this, (options.functional ? this.parent : this).$root.$options.shadowRoot);
|
|
42
|
-
} : injectStyles;
|
|
17
|
+
if (injectStyles) {
|
|
18
|
+
hook = injectStyles;
|
|
43
19
|
}
|
|
44
20
|
if (hook) {
|
|
45
21
|
if (options.functional) {
|
|
@@ -206,7 +182,7 @@ var render = function render2() {
|
|
|
206
182
|
};
|
|
207
183
|
var staticRenderFns = [];
|
|
208
184
|
var __cssModules = {};
|
|
209
|
-
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles
|
|
185
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
|
|
210
186
|
function __vue2_injectStyles(context) {
|
|
211
187
|
for (var o in __cssModules) {
|
|
212
188
|
this[o] = __cssModules[o];
|
package/lib/pc.js
CHANGED
|
@@ -11,33 +11,9 @@ function normalizeComponent(scriptExports, render, staticRenderFns, functionalTe
|
|
|
11
11
|
options.staticRenderFns = staticRenderFns;
|
|
12
12
|
options._compiled = true;
|
|
13
13
|
}
|
|
14
|
-
if (functionalTemplate) {
|
|
15
|
-
options.functional = true;
|
|
16
|
-
}
|
|
17
|
-
if (scopeId) {
|
|
18
|
-
options._scopeId = "data-v-" + scopeId;
|
|
19
|
-
}
|
|
20
14
|
var hook;
|
|
21
|
-
if (
|
|
22
|
-
hook =
|
|
23
|
-
context = context || // cached call
|
|
24
|
-
this.$vnode && this.$vnode.ssrContext || // stateful
|
|
25
|
-
this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext;
|
|
26
|
-
if (!context && typeof __VUE_SSR_CONTEXT__ !== "undefined") {
|
|
27
|
-
context = __VUE_SSR_CONTEXT__;
|
|
28
|
-
}
|
|
29
|
-
if (injectStyles) {
|
|
30
|
-
injectStyles.call(this, context);
|
|
31
|
-
}
|
|
32
|
-
if (context && context._registeredComponents) {
|
|
33
|
-
context._registeredComponents.add(moduleIdentifier);
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
options._ssrRegister = hook;
|
|
37
|
-
} else if (injectStyles) {
|
|
38
|
-
hook = shadowMode ? function() {
|
|
39
|
-
injectStyles.call(this, (options.functional ? this.parent : this).$root.$options.shadowRoot);
|
|
40
|
-
} : injectStyles;
|
|
15
|
+
if (injectStyles) {
|
|
16
|
+
hook = injectStyles;
|
|
41
17
|
}
|
|
42
18
|
if (hook) {
|
|
43
19
|
if (options.functional) {
|
|
@@ -171,7 +147,7 @@ var render = function render2() {
|
|
|
171
147
|
};
|
|
172
148
|
var staticRenderFns = [];
|
|
173
149
|
var __cssModules = {};
|
|
174
|
-
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles
|
|
150
|
+
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
|
|
175
151
|
function __vue2_injectStyles(context) {
|
|
176
152
|
for (var o in __cssModules) {
|
|
177
153
|
this[o] = __cssModules[o];
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-dropdown-item",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.21.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./lib/index.js",
|
|
9
9
|
"module": "./lib/index.js",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@opentiny/vue-button": "~2.
|
|
12
|
-
"@opentiny/vue-common": "~2.
|
|
13
|
-
"@opentiny/vue-directive": "~2.
|
|
14
|
-
"@opentiny/vue-icon": "~2.
|
|
15
|
-
"@opentiny/vue-popup": "~2.
|
|
16
|
-
"@opentiny/vue-renderless": "~3.
|
|
17
|
-
"@opentiny/vue-theme": "~3.
|
|
18
|
-
"@opentiny/vue-theme-mobile": "~3.
|
|
11
|
+
"@opentiny/vue-button": "~2.21.0",
|
|
12
|
+
"@opentiny/vue-common": "~2.21.0",
|
|
13
|
+
"@opentiny/vue-directive": "~2.21.0",
|
|
14
|
+
"@opentiny/vue-icon": "~2.21.0",
|
|
15
|
+
"@opentiny/vue-popup": "~2.21.0",
|
|
16
|
+
"@opentiny/vue-renderless": "~3.21.0",
|
|
17
|
+
"@opentiny/vue-theme": "~3.21.0",
|
|
18
|
+
"@opentiny/vue-theme-mobile": "~3.21.0"
|
|
19
19
|
},
|
|
20
20
|
"types": "index.d.ts",
|
|
21
21
|
"scripts": {
|