@opentiny/vue-loading
Advanced tools
Comparing version 3.10.0 to 3.11.0-alpha.0
@@ -17,3 +17,3 @@ function _extends() { | ||
import { addClass, getStyle, removeClass } from "@opentiny/vue-renderless/common/deps/dom"; | ||
import { defineComponent, $prefix, $props, $setup, createComponent, hooks, directive as directive$1, setupComponent } from "@opentiny/vue-common"; | ||
import { defineComponent, $prefix, $setup, $props, createComponent, hooks, directive as directive$1, setupComponent } from "@opentiny/vue-common"; | ||
import PcTemplate from "./pc.js"; | ||
@@ -35,25 +35,26 @@ import MobileFirstTemplate from "./mobile-first.js"; | ||
}; | ||
var loadingProps = _extends({}, $props, { | ||
type: { | ||
type: String, | ||
validator: function validator(value) { | ||
return Boolean(~["primary", "simple"].indexOf(value)); | ||
} | ||
}, | ||
loadtext: { | ||
type: String, | ||
default: function _default() { | ||
return constants.LOAD_ICON_TEXT; | ||
} | ||
}, | ||
_constants: { | ||
type: Object, | ||
default: function _default2() { | ||
return constants; | ||
} | ||
} | ||
}); | ||
var Loading = defineComponent({ | ||
name: $prefix + "Loading", | ||
emits: [], | ||
props: _extends({}, $props, { | ||
type: { | ||
type: String, | ||
validator: function validator(value) { | ||
return Boolean(~["primary", "simple"].indexOf(value)); | ||
} | ||
}, | ||
loadtext: { | ||
type: String, | ||
default: function _default() { | ||
return constants.LOAD_ICON_TEXT; | ||
} | ||
}, | ||
_constants: { | ||
type: Object, | ||
default: function _default2() { | ||
return constants; | ||
} | ||
} | ||
}), | ||
props: loadingProps, | ||
setup: function setup(props, context) { | ||
@@ -284,3 +285,3 @@ return $setup({ | ||
}).vLoading; | ||
var version = "3.10.0"; | ||
var version = "3.11.0-alpha.0"; | ||
var Loadings = { | ||
@@ -287,0 +288,0 @@ install: function install(app) { |
@@ -18,3 +18,3 @@ function _extends() { | ||
import { openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, vShow } from "vue"; | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
@@ -57,3 +57,3 @@ if (it) | ||
var target = sfc.__vccOpts || sfc; | ||
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) { | ||
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) { | ||
var _step$value = _step.value, key = _step$value[0], val = _step$value[1]; | ||
@@ -60,0 +60,0 @@ target[key] = val; |
@@ -6,3 +6,3 @@ import { defineComponent, props, setup as _setup } from "@opentiny/vue-common"; | ||
import { resolveComponent, openBlock, createElementBlock, createVNode, createElementVNode, toDisplayString, createTextVNode } from "vue"; | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
@@ -45,3 +45,3 @@ if (it) | ||
var target = sfc.__vccOpts || sfc; | ||
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) { | ||
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) { | ||
var _step$value = _step.value, key = _step$value[0], val = _step$value[1]; | ||
@@ -48,0 +48,0 @@ target[key] = val; |
@@ -5,3 +5,3 @@ import { defineComponent, props, setup as _setup } from "@opentiny/vue-common"; | ||
import { openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, createElementBlock, resolveDynamicComponent, toDisplayString, createCommentVNode, vShow } from "vue"; | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
@@ -44,3 +44,3 @@ if (it) | ||
var target = sfc.__vccOpts || sfc; | ||
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) { | ||
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) { | ||
var _step$value = _step.value, key = _step$value[0], val = _step$value[1]; | ||
@@ -47,0 +47,0 @@ target[key] = val; |
{ | ||
"name": "@opentiny/vue-loading", | ||
"version": "3.10.0", | ||
"version": "3.11.0-alpha.0", | ||
"description": "", | ||
@@ -10,6 +10,6 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~3.10.0", | ||
"@opentiny/vue-icon": "~3.10.0", | ||
"@opentiny/vue-renderless": "~3.10.0", | ||
"@opentiny/vue-locale": "~3.10.0" | ||
"@opentiny/vue-common": "~3.11.0-alpha.0", | ||
"@opentiny/vue-icon": "~3.11.0-alpha.0", | ||
"@opentiny/vue-renderless": "~3.11.0-alpha.0", | ||
"@opentiny/vue-locale": "~3.11.0-alpha.0" | ||
}, | ||
@@ -16,0 +16,0 @@ "license": "MIT", |
@@ -0,1 +1,30 @@ | ||
export declare const loadingProps: { | ||
type: { | ||
type: StringConstructor; | ||
validator: (value: string) => boolean; | ||
}; | ||
loadtext: { | ||
type: StringConstructor; | ||
default: () => string; | ||
}; | ||
_constants: { | ||
type: ObjectConstructor; | ||
default: () => { | ||
TEXT_ATTR: string; | ||
IS_FULLSCREEN_CLS: string; | ||
TEXT_SPINNER: string; | ||
TEXT_BACKGROUND: string; | ||
TEXT_CUSTOM_CLS: string; | ||
PARENT_HIDDEN_CLS: string; | ||
PARENT_RELATIVE_CLS: string; | ||
LOAD_ICON_TEXT: string; | ||
}; | ||
}; | ||
tiny_mode: StringConstructor; | ||
tiny_mode_root: BooleanConstructor; | ||
tiny_template: (ObjectConstructor | FunctionConstructor)[]; | ||
tiny_renderless: FunctionConstructor; | ||
tiny_theme: StringConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}; | ||
declare const _default: import("@vue/runtime-core").DefineComponent<{ | ||
@@ -2,0 +31,0 @@ type: { |
@@ -0,1 +1,2 @@ | ||
import type { ILoadingApi } from '@opentiny/vue-renderless/types/loading.type'; | ||
declare const _default: import("@vue/runtime-core").DefineComponent<{ | ||
@@ -9,3 +10,3 @@ _constants: ObjectConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{ | ||
}, ILoadingApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{ | ||
_constants: ObjectConstructor; | ||
@@ -12,0 +13,0 @@ tiny_mode: StringConstructor; |
@@ -0,17 +1,33 @@ | ||
import type { ILoadingApi } from '@opentiny/vue-renderless/types/loading.type'; | ||
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
t: (this: any, path: any, options?: any) => any; | ||
vm: any; | ||
f: (props: any, attrs?: {}) => {}; | ||
a: (attrs: any, filters: any, include: any) => {}; | ||
d: (props: any) => void; | ||
dp: (props: any) => void; | ||
gcls: (key: any) => any; | ||
m: (...cssClasses: any[]) => string; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
[x: string]: any; | ||
type?: any; | ||
tiny_mode?: any; | ||
tiny_mode_root?: any; | ||
tiny_template?: any; | ||
tiny_renderless?: any; | ||
_constants?: any; | ||
tiny_theme?: any; | ||
tiny_chart_theme?: any; | ||
loadtext?: any; | ||
}>, ILoadingApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
type?: any; | ||
tiny_mode?: any; | ||
tiny_mode_root?: any; | ||
tiny_template?: any; | ||
tiny_renderless?: any; | ||
_constants?: any; | ||
tiny_theme?: any; | ||
tiny_chart_theme?: any; | ||
loadtext?: any; | ||
}>>>, { | ||
[x: string]: any; | ||
readonly type?: any; | ||
readonly tiny_mode?: any; | ||
readonly tiny_mode_root?: any; | ||
readonly tiny_template?: any; | ||
readonly tiny_renderless?: any; | ||
readonly _constants?: any; | ||
readonly tiny_theme?: any; | ||
readonly tiny_chart_theme?: any; | ||
readonly loadtext?: any; | ||
}, {}>; | ||
export default _default; |
@@ -0,17 +1,27 @@ | ||
import type { ILoadingApi } from '@opentiny/vue-renderless/types/loading.type'; | ||
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
t: (this: any, path: any, options?: any) => any; | ||
vm: any; | ||
f: (props: any, attrs?: {}) => {}; | ||
a: (attrs: any, filters: any, include: any) => {}; | ||
d: (props: any) => void; | ||
dp: (props: any) => void; | ||
gcls: (key: any) => any; | ||
m: (...cssClasses: any[]) => string; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
[x: string]: any; | ||
tiny_mode?: any; | ||
tiny_mode_root?: any; | ||
tiny_template?: any; | ||
tiny_renderless?: any; | ||
_constants?: any; | ||
tiny_theme?: any; | ||
tiny_chart_theme?: any; | ||
}>, ILoadingApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
tiny_mode?: any; | ||
tiny_mode_root?: any; | ||
tiny_template?: any; | ||
tiny_renderless?: any; | ||
_constants?: any; | ||
tiny_theme?: any; | ||
tiny_chart_theme?: any; | ||
}>>>, { | ||
[x: string]: any; | ||
readonly tiny_mode?: any; | ||
readonly tiny_mode_root?: any; | ||
readonly tiny_template?: any; | ||
readonly tiny_renderless?: any; | ||
readonly _constants?: any; | ||
readonly tiny_theme?: any; | ||
readonly tiny_chart_theme?: any; | ||
}, {}>; | ||
export default _default; |
@@ -0,1 +1,12 @@ | ||
/** | ||
* Copyright (c) 2022 - present TinyVue Authors. | ||
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd. | ||
* | ||
* Use of this source code is governed by an MIT-style license. | ||
* | ||
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, | ||
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR | ||
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS. | ||
* | ||
*/ | ||
export declare let tinyMode: null; | ||
@@ -2,0 +13,0 @@ export declare const constants: { |
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
34413
933
2
80
2
+ Added@opentiny/vue-common@3.11.0(transitive)
+ Added@opentiny/vue-icon@3.11.0(transitive)
+ Added@opentiny/vue-locale@3.11.0(transitive)
+ Added@opentiny/vue-renderless@3.11.8(transitive)
+ Added@opentiny/vue-theme@3.11.6(transitive)
+ Added@opentiny/vue-theme-mobile@3.11.1(transitive)
+ Addedcolor@4.2.3(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcolor-string@1.9.1(transitive)
+ Addedis-arrayish@0.3.2(transitive)
+ Addedsimple-swizzle@0.2.2(transitive)
- Removed@opentiny/vue-common@3.10.0(transitive)
- Removed@opentiny/vue-icon@3.10.1(transitive)
- Removed@opentiny/vue-locale@3.10.0(transitive)
- Removed@opentiny/vue-renderless@3.10.7(transitive)
- Removed@opentiny/vue-theme@3.10.4(transitive)
- Removed@opentiny/vue-theme-mobile@3.10.1(transitive)