@opentiny/vue-loading
Advanced tools
Comparing version 3.14.0 to 3.15.0
@@ -302,3 +302,3 @@ function _extends() { | ||
}).vLoading; | ||
var version = "3.14.0"; | ||
var version = "3.15.0"; | ||
var Loadings = { | ||
@@ -305,0 +305,0 @@ install: function install(app) { |
@@ -1,3 +0,5 @@ | ||
import { defineComponent, $prefix, props, setup as _setup } from "@opentiny/vue-common"; | ||
import { renderless, api } from "@opentiny/vue-renderless/loading/vue"; | ||
import { defineComponent, $prefix, props, setup } from '@opentiny/vue-common'; | ||
import { renderless, api } from '@opentiny/vue-renderless/loading/vue'; | ||
import { openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, vShow } from 'vue'; | ||
var classes = { | ||
@@ -23,8 +25,7 @@ "loading-default": "m-0 top-0 right-0 left-0 bottom-0 block transition bg-color-bg-1 duration-1000", | ||
import { openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, vShow } from "vue"; | ||
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) { | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) | ||
return (it = it.call(o)).next.bind(it); | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray_tiny(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) | ||
@@ -41,7 +42,7 @@ o = it; | ||
} | ||
function _unsupportedIterableToArray_tiny(o, minLen) { | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) | ||
return; | ||
if (typeof o === "string") | ||
return _arrayLikeToArray_tiny(o, minLen); | ||
return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
@@ -53,5 +54,5 @@ if (n === "Object" && o.constructor) | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) | ||
return _arrayLikeToArray_tiny(o, minLen); | ||
return _arrayLikeToArray(o, minLen); | ||
} | ||
function _arrayLikeToArray_tiny(arr, len) { | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) | ||
@@ -65,3 +66,3 @@ len = arr.length; | ||
var target = sfc.__vccOpts || sfc; | ||
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) { | ||
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) { | ||
var _step$value = _step.value, key = _step$value[0], val = _step$value[1]; | ||
@@ -78,4 +79,4 @@ target[key] = val; | ||
props: [].concat(props, ["_constants", "loadingImg", "size"]), | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -165,4 +166,3 @@ context, | ||
var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); | ||
export { | ||
mobileFirst as default | ||
}; | ||
export { mobileFirst as default }; |
@@ -1,17 +0,7 @@ | ||
function _extends() { | ||
_extends = Object.assign ? Object.assign.bind() : function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
import { defineComponent, $prefix, $props, setup as _setup } from "@opentiny/vue-common"; | ||
import { renderless, api } from "@opentiny/vue-renderless/loading/vue"; | ||
import { defineComponent, $prefix, $props, setup } from '@opentiny/vue-common'; | ||
import { renderless, api } from '@opentiny/vue-renderless/loading/vue'; | ||
import loadingImg from '@opentiny/vue-theme-mobile/images/loading.png'; | ||
import '@opentiny/vue-theme-mobile/loading/index.css'; | ||
import { openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, vShow } from 'vue'; | ||
var classes = { | ||
@@ -37,10 +27,7 @@ "loading-default": "m-0 top-0 right-0 left-0 bottom-0 block transition bg-color-bg-1 duration-1000", | ||
import loadingImg from "@opentiny/vue-theme-mobile/images/loading.png"; | ||
import "@opentiny/vue-theme-mobile/loading/index.css"; | ||
import { openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, vShow } from "vue"; | ||
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) { | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) | ||
return (it = it.call(o)).next.bind(it); | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray_tiny(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) | ||
@@ -57,7 +44,7 @@ o = it; | ||
} | ||
function _unsupportedIterableToArray_tiny(o, minLen) { | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) | ||
return; | ||
if (typeof o === "string") | ||
return _arrayLikeToArray_tiny(o, minLen); | ||
return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
@@ -69,5 +56,5 @@ if (n === "Object" && o.constructor) | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) | ||
return _arrayLikeToArray_tiny(o, minLen); | ||
return _arrayLikeToArray(o, minLen); | ||
} | ||
function _arrayLikeToArray_tiny(arr, len) { | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) | ||
@@ -81,3 +68,3 @@ len = arr.length; | ||
var target = sfc.__vccOpts || sfc; | ||
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) { | ||
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) { | ||
var _step$value = _step.value, key = _step$value[0], val = _step$value[1]; | ||
@@ -89,2 +76,16 @@ target[key] = val; | ||
function _extends() { | ||
_extends = Object.assign ? Object.assign.bind() : function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
var _sfc_main = defineComponent({ | ||
@@ -103,4 +104,4 @@ name: $prefix + "Loading", | ||
}), | ||
setup: function setup(props, context) { | ||
return _setup({ | ||
setup: function setup$1(props, context) { | ||
return setup({ | ||
props, | ||
@@ -165,4 +166,3 @@ context, | ||
var mobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); | ||
export { | ||
mobile as default | ||
}; | ||
export { mobile as default }; |
@@ -1,10 +0,11 @@ | ||
import { defineComponent, $prefix, props, setup as _setup } from "@opentiny/vue-common"; | ||
import { renderless, api } from "@opentiny/vue-renderless/loading/vue"; | ||
import "@opentiny/vue-theme/loading/index.css"; | ||
import { openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, resolveDynamicComponent, createElementBlock, toDisplayString, createCommentVNode, vShow } from "vue"; | ||
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) { | ||
import { defineComponent, $prefix, props, setup } from '@opentiny/vue-common'; | ||
import { renderless, api } from '@opentiny/vue-renderless/loading/vue'; | ||
import '@opentiny/vue-theme/loading/index.css'; | ||
import { openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, resolveDynamicComponent, createElementBlock, toDisplayString, createCommentVNode, vShow } from 'vue'; | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) | ||
return (it = it.call(o)).next.bind(it); | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray_tiny(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) | ||
@@ -21,7 +22,7 @@ o = it; | ||
} | ||
function _unsupportedIterableToArray_tiny(o, minLen) { | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) | ||
return; | ||
if (typeof o === "string") | ||
return _arrayLikeToArray_tiny(o, minLen); | ||
return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
@@ -33,5 +34,5 @@ if (n === "Object" && o.constructor) | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) | ||
return _arrayLikeToArray_tiny(o, minLen); | ||
return _arrayLikeToArray(o, minLen); | ||
} | ||
function _arrayLikeToArray_tiny(arr, len) { | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) | ||
@@ -45,3 +46,3 @@ len = arr.length; | ||
var target = sfc.__vccOpts || sfc; | ||
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) { | ||
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) { | ||
var _step$value = _step.value, key = _step$value[0], val = _step$value[1]; | ||
@@ -58,4 +59,4 @@ target[key] = val; | ||
props: [].concat(props, ["_constants", "loadingImg", "size"]), | ||
setup: function setup(props2, context) { | ||
return _setup({ | ||
setup: function setup$1(props2, context) { | ||
return setup({ | ||
props: props2, | ||
@@ -146,4 +147,3 @@ context, | ||
var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); | ||
export { | ||
pc as default | ||
}; | ||
export { pc as default }; |
{ | ||
"name": "@opentiny/vue-loading", | ||
"version": "3.14.0", | ||
"version": "3.15.0", | ||
"description": "", | ||
@@ -10,8 +10,6 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~3.14.0", | ||
"@opentiny/vue-icon": "~3.14.0", | ||
"@opentiny/vue-renderless": "~3.14.0", | ||
"@opentiny/vue-locale": "~3.14.0", | ||
"@opentiny/vue-theme": "~3.14.0", | ||
"@opentiny/vue-theme-mobile": "~3.14.0" | ||
"@opentiny/vue-common": "~3.15.0", | ||
"@opentiny/vue-renderless": "~3.15.0", | ||
"@opentiny/vue-theme": "~3.15.0", | ||
"@opentiny/vue-theme-mobile": "~3.15.0" | ||
}, | ||
@@ -18,0 +16,0 @@ "license": "MIT", |
4
39191
14
1063
+ Added@opentiny/vue-common@3.15.0(transitive)
+ Added@opentiny/vue-locale@3.15.0(transitive)
+ Added@opentiny/vue-renderless@3.15.1(transitive)
+ Added@opentiny/vue-theme@3.15.1(transitive)
+ Added@opentiny/vue-theme-mobile@3.15.0(transitive)
- Removed@opentiny/vue-icon@~3.14.0
- Removed@opentiny/vue-locale@~3.14.0
- Removed@opentiny/vue-common@3.14.0(transitive)
- Removed@opentiny/vue-icon@3.14.0(transitive)
- Removed@opentiny/vue-locale@3.14.0(transitive)
- Removed@opentiny/vue-renderless@3.14.1(transitive)
- Removed@opentiny/vue-theme@3.14.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.14.2(transitive)
Updated@opentiny/vue-common@~3.15.0
Updated@opentiny/vue-theme@~3.15.0