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 3.8.0 to 3.8.2

16

lib/index.js

@@ -18,3 +18,3 @@ function _extends() {

import { defineComponent, $prefix, $props, $setup, createComponent, hooks, directive as directive$1, setupComponent } from "@opentiny/vue-common";
import MobileTemplate from "./pc.js";
import PcTemplate from "./pc.js";
import MobileFirstTemplate from "./mobile-first.js";

@@ -24,8 +24,12 @@ import afterLeave from "@opentiny/vue-renderless/common/deps/after-leave";

var template = function template2(mode) {
if ("mobile" === (process.env.TINY_MODE || mode))
return MobileTemplate;
else if ("mobile-first" === (process.env.TINY_MODE || mode))
if ("pc" === (process.env.TINY_MODE || mode)) {
return PcTemplate;
}
if ("pc" === (process.env.TINY_MODE || mode)) {
return PcTemplate;
}
if ("mobile-first" === (process.env.TINY_MODE || mode)) {
return MobileFirstTemplate;
else
return MobileTemplate;
}
return PcTemplate;
};

@@ -32,0 +36,0 @@ var Loading = defineComponent({

{
"name": "@opentiny/vue-loading",
"version": "3.8.0",
"version": "3.8.2",
"description": "",

@@ -8,6 +8,6 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-common": "~3.8.0",
"@opentiny/vue-icon": "~3.8.0",
"@opentiny/vue-renderless": "~3.8.0",
"@opentiny/vue-locale": "~3.8.0"
"@opentiny/vue-common": "~3.8.2",
"@opentiny/vue-icon": "~3.8.2",
"@opentiny/vue-renderless": "~3.8.2",
"@opentiny/vue-locale": "~3.8.2"
},

@@ -14,0 +14,0 @@ "license": "MIT",

@@ -1,64 +0,2 @@

declare const _default: import("@vue/runtime-core").DefineComponent<{
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: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
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: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}>> & {}, {
tiny_mode_root: boolean;
_constants: Record<string, any>;
loadtext: string;
}>;
declare const _default: any;
export default _default;

@@ -1,20 +0,2 @@

declare const _sfc_main: import("@vue/runtime-core").DefineComponent<{
_constants: ObjectConstructor;
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}, any, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
_constants: ObjectConstructor;
tiny_mode: StringConstructor;
tiny_mode_root: BooleanConstructor;
tiny_template: (FunctionConstructor | ObjectConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_theme: StringConstructor;
tiny_chart_theme: ObjectConstructor;
}>>, {
tiny_mode_root: boolean;
}>;
declare const _sfc_main: any;
export default _sfc_main;

@@ -1,17 +0,2 @@

declare const _sfc_main: 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").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;
}>>>, {
[x: string]: any;
}>;
declare const _sfc_main: any;
export default _sfc_main;

@@ -1,17 +0,2 @@

declare const _sfc_main: 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").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
[x: string]: any;
}>>>, {
[x: string]: any;
}>;
declare const _sfc_main: any;
export default _sfc_main;
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