@opentiny/vue-loading
Advanced tools
Comparing version 3.18.0 to 3.19.0
@@ -298,3 +298,3 @@ function _extends() { | ||
}).vLoading; | ||
var version = "3.18.0"; | ||
var version = "3.19.0"; | ||
var Loadings = { | ||
@@ -301,0 +301,0 @@ install: function install(app) { |
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'; | ||
import { iconLoadingShadow } from '@opentiny/vue-icon'; | ||
import { resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, resolveDynamicComponent, createElementBlock, toDisplayString, createCommentVNode, vShow } from 'vue'; | ||
@@ -47,2 +48,5 @@ function _createForOfIteratorHelperLoose(r, e) { | ||
props: [].concat(props, ["_constants", "loadingImg", "size"]), | ||
components: { | ||
TinyIconLoadingShadow: iconLoadingShadow() | ||
}, | ||
setup: function setup$1(props2, context) { | ||
@@ -59,21 +63,2 @@ return setup({ | ||
var _hoisted_2 = { | ||
key: 2, | ||
class: "circular", | ||
viewBox: "25 25 50 50" | ||
}; | ||
var _hoisted_3 = /* @__PURE__ */ createElementVNode( | ||
"circle", | ||
{ | ||
class: "path", | ||
cx: "50", | ||
cy: "50", | ||
r: "24", | ||
fill: "none" | ||
}, | ||
null, | ||
-1 | ||
/* HOISTED */ | ||
); | ||
var _hoisted_4 = [_hoisted_3]; | ||
var _hoisted_5 = { | ||
key: 3, | ||
@@ -83,2 +68,3 @@ class: "tiny-loading__text" | ||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { | ||
var _component_tiny_icon_loading_shadow = resolveComponent("tiny-icon-loading-shadow"); | ||
return openBlock(), createBlock(Transition, { | ||
@@ -118,5 +104,8 @@ name: "tiny-loading-fade", | ||
src: _ctx.state.loadingImg | ||
}, null, 12, _hoisted_1)) : (openBlock(), createElementBlock("svg", _hoisted_2, _hoisted_4)), _ctx.state.text ? (openBlock(), createElementBlock( | ||
}, null, 12, _hoisted_1)) : (openBlock(), createBlock(_component_tiny_icon_loading_shadow, { | ||
key: 2, | ||
class: "circular" | ||
})), _ctx.state.text ? (openBlock(), createElementBlock( | ||
"p", | ||
_hoisted_5, | ||
_hoisted_2, | ||
toDisplayString(_ctx.state.text), | ||
@@ -123,0 +112,0 @@ 1 |
{ | ||
"name": "@opentiny/vue-loading", | ||
"version": "3.18.0", | ||
"version": "3.19.0", | ||
"description": "", | ||
@@ -10,6 +10,7 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~3.18.0", | ||
"@opentiny/vue-renderless": "~3.18.0", | ||
"@opentiny/vue-theme": "~3.18.0", | ||
"@opentiny/vue-theme-mobile": "~3.18.0" | ||
"@opentiny/vue-common": "~3.19.0", | ||
"@opentiny/vue-renderless": "~3.19.0", | ||
"@opentiny/vue-theme": "~3.19.0", | ||
"@opentiny/vue-theme-mobile": "~3.19.0", | ||
"@opentiny/vue-icon": "~3.19.0" | ||
}, | ||
@@ -16,0 +17,0 @@ "license": "MIT", |
38211
5
1015
+ Added@opentiny/vue-icon@~3.19.0
+ Added@opentiny/vue-common@3.19.0(transitive)
+ Added@opentiny/vue-icon@3.19.0(transitive)
+ Added@opentiny/vue-locale@3.19.0(transitive)
+ Added@opentiny/vue-renderless@3.19.5(transitive)
+ Added@opentiny/vue-theme@3.19.5(transitive)
+ Added@opentiny/vue-theme-mobile@3.19.0(transitive)
- Removed@opentiny/vue-common@3.18.0(transitive)
- Removed@opentiny/vue-locale@3.18.0(transitive)
- Removed@opentiny/vue-renderless@3.18.8(transitive)
- Removed@opentiny/vue-theme@3.18.4(transitive)
- Removed@opentiny/vue-theme-mobile@3.18.0(transitive)
Updated@opentiny/vue-common@~3.19.0
Updated@opentiny/vue-theme@~3.19.0