@opentiny/vue-loading
Advanced tools
Comparing version 2.10.0 to 2.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 = "2.10.0"; | ||
var version = "2.11.0-alpha.0"; | ||
var Loadings = { | ||
@@ -287,0 +288,0 @@ install: function install(app) { |
{ | ||
"name": "@opentiny/vue-loading", | ||
"version": "2.10.0", | ||
"version": "2.11.0-alpha.0", | ||
"description": "", | ||
@@ -10,6 +10,6 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~2.10.0", | ||
"@opentiny/vue-icon": "~2.10.0", | ||
"@opentiny/vue-renderless": "~3.10.0", | ||
"@opentiny/vue-locale": "~2.10.0" | ||
"@opentiny/vue-common": "~2.11.0", | ||
"@opentiny/vue-icon": "~2.11.0", | ||
"@opentiny/vue-renderless": "~3.11.0", | ||
"@opentiny/vue-locale": "~2.11.0" | ||
}, | ||
@@ -16,0 +16,0 @@ "license": "MIT", |
@@ -1,2 +0,2 @@ | ||
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<() => import("vue").VNode> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, { | ||
export declare const loadingProps: { | ||
type: { | ||
@@ -29,39 +29,4 @@ type: StringConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}, { | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
loadtext: string; | ||
} & { | ||
type?: string | undefined; | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{ | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
loadtext: string; | ||
} & { | ||
type?: string | undefined; | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<() => import("vue").VNode>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, { | ||
tiny_mode_root: boolean; | ||
_constants: Record<string, any>; | ||
loadtext: string; | ||
} & { | ||
type?: string | undefined; | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
}, { | ||
_constants: Record<string, any>; | ||
loadtext: string; | ||
}, true>); | ||
}; | ||
declare const _default: any; | ||
export default _default; |
@@ -1,37 +0,2 @@ | ||
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, { | ||
_constants: ObjectConstructor; | ||
tiny_mode: StringConstructor; | ||
tiny_mode_root: BooleanConstructor; | ||
tiny_template: (ObjectConstructor | FunctionConstructor)[]; | ||
tiny_renderless: FunctionConstructor; | ||
tiny_theme: StringConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}, { | ||
tiny_mode_root: boolean; | ||
} & { | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
_constants?: Record<string, any> | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{ | ||
tiny_mode_root: boolean; | ||
} & { | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
_constants?: Record<string, any> | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<any>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, { | ||
tiny_mode_root: boolean; | ||
} & { | ||
tiny_mode?: string | undefined; | ||
tiny_template?: unknown; | ||
tiny_renderless?: Function | undefined; | ||
_constants?: Record<string, any> | undefined; | ||
tiny_theme?: string | undefined; | ||
tiny_chart_theme?: Record<string, any> | undefined; | ||
}, {}, true>); | ||
declare const _default: any; | ||
export default _default; |
@@ -1,30 +0,2 @@ | ||
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{ | ||
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; | ||
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
[x: string]: any; | ||
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{ | ||
[x: string]: any; | ||
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{ | ||
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; | ||
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, { | ||
[x: string]: any; | ||
} & {}, { | ||
[x: string]: any; | ||
}, true>); | ||
declare const _default: any; | ||
export default _default; |
@@ -1,30 +0,2 @@ | ||
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{ | ||
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; | ||
}> & import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, Readonly<{ | ||
[x: string]: any; | ||
}>, { | ||
[x: string]: any; | ||
} & {}> & import("vue").VueConstructor<import("vue").default> & (new (...args: any[]) => import("@vue/composition-api/dist/vue-composition-api.js").ComponentRenderProxy<{ | ||
[x: string]: any; | ||
} & {}, import("@vue/composition-api/dist/vue-composition-api.js").ShallowUnwrapRef<{ | ||
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; | ||
}>, import("@vue/composition-api/dist/vue-composition-api.js").Data, {}, {}, { | ||
[x: string]: any; | ||
} & {}, { | ||
[x: string]: any; | ||
}, true>); | ||
declare const _default: 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: { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27485
2
80
793
2
+ Added@opentiny/vue-common@2.11.0(transitive)
+ Added@opentiny/vue-icon@2.11.0(transitive)
+ Added@opentiny/vue-locale@2.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@2.10.0(transitive)
- Removed@opentiny/vue-icon@2.10.1(transitive)
- Removed@opentiny/vue-locale@2.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)
Updated@opentiny/vue-common@~2.11.0
Updated@opentiny/vue-icon@~2.11.0
Updated@opentiny/vue-locale@~2.11.0