Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-loading

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-loading - npm Package Compare versions

Comparing version 2.10.0 to 2.11.0-alpha.0

45

lib/index.js

@@ -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: {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc