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

@opentiny/vue-exception

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-exception - npm Package Compare versions

Comparing version 3.11.0 to 3.12.0

2

lib/index.js

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

};
var version = "3.11.0";
var version = "3.12.0";
Exception.install = function(Vue) {

@@ -60,0 +60,0 @@ Vue.component(Exception.name, Exception);

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

noperm: "ui.exception.nopermmf",
weaknet: "ui.exception.weaknet",
weaknet: "ui.exception.weaknetmf",
noresult: "ui.exception.noresult",

@@ -89,2 +89,3 @@ nonews: "ui.exception.nonews",

},
emits: ["click"],
props: _extends({}, $props, {

@@ -101,3 +102,2 @@ _constants: {

},
message: String,
subMessage: String,

@@ -138,10 +138,18 @@ exceptionClass: String,

var _hoisted_1 = {
class: "bg-cover"
"data-tag": "tiny-exception-body"
};
var _hoisted_2 = ["src"];
var _hoisted_3 = {
var _hoisted_2 = {
class: "bg-cover",
"data-tag": "tiny-exception-image"
};
var _hoisted_3 = ["src"];
var _hoisted_4 = {
"data-tag": "tiny-exception-description"
};
var _hoisted_5 = {
key: 0,
class: "leading-[1.375rem] sm:leading-3 sm:text-xs mt-1 sm:mt-2 text-color-icon-placeholder"
"data-tag": "tiny-exception-submessage",
class: "leading-5.5 sm:leading-3 sm:text-xs mt-1 sm:mt-2 text-color-icon-placeholder"
};
var _hoisted_4 = {
var _hoisted_6 = {
class: "sm:mt-4 mt-6 inline-block"

@@ -153,14 +161,16 @@ };

{
"data-tag": "tiny-exception",
class: normalizeClass(_ctx.m("flex t-0 justify-center items-center w-full h-full bg-color-bg-1 text-center", _ctx.exceptionClass))
},
[createElementVNode("div", null, [createElementVNode("div", _hoisted_1, [_ctx.state.urlType ? (openBlock(), createElementBlock("img", {
[createElementVNode("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [_ctx.state.urlType ? (openBlock(), createElementBlock("img", {
key: 0,
class: normalizeClass(["inline-block", _ctx.componentPage ? "w-[6.25rem]" : "w-[12.5rem]"]),
class: normalizeClass(["inline-block", _ctx.componentPage ? "w-24" : "w-52"]),
src: _ctx.state.images[_ctx.state.urlType],
alt: ""
}, null, 10, _hoisted_2)) : createCommentVNode("v-if", true)]), renderSlot(_ctx.$slots, "content", {}, function() {
return [createElementVNode("div", null, [createElementVNode(
}, null, 10, _hoisted_3)) : createCommentVNode("v-if", true)]), renderSlot(_ctx.$slots, "content", {}, function() {
return [createElementVNode("div", _hoisted_4, [createElementVNode(
"div",
{
class: normalizeClass(["text-color-text-primary mt-2 text-center text-base", _ctx.componentPage ? "sm:text-xs" : "sm:text-sm"])
"data-tag": "tiny-exception-componentpage",
class: normalizeClass(["text-color-text-primary mt-1 text-center text-sm", _ctx.componentPage ? "sm:text-xs" : "sm:text-sm"])
},

@@ -172,7 +182,7 @@ toDisplayString(_ctx.t(_ctx._constants[_ctx.type])),

"div",
_hoisted_3,
_hoisted_5,
toDisplayString(_ctx.subMessage),
1
/* TEXT */
)) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_4, [renderSlot(_ctx.$slots, "default")])])];
)) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_6, [renderSlot(_ctx.$slots, "default")])])];
})])],

@@ -179,0 +189,0 @@ 2

{
"name": "@opentiny/vue-exception",
"version": "3.11.0",
"version": "3.12.0",
"description": "",

@@ -10,5 +10,5 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-renderless": "~3.11.0",
"@opentiny/vue-common": "~3.11.0",
"@opentiny/vue-button": "~3.11.0"
"@opentiny/vue-renderless": "~3.12.0",
"@opentiny/vue-common": "~3.12.0",
"@opentiny/vue-button": "~3.12.0"
},

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

@@ -20,3 +20,2 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{

};
message: StringConstructor;
subMessage: StringConstructor;

@@ -38,3 +37,3 @@ exceptionClass: StringConstructor;

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<{
}, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "click"[], "click", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
_constants: {

@@ -58,3 +57,2 @@ type: ObjectConstructor;

};
message: StringConstructor;
subMessage: StringConstructor;

@@ -76,3 +74,5 @@ exceptionClass: StringConstructor;

tiny_chart_theme: ObjectConstructor;
}>>, {
}>> & {
onClick?: ((...args: any[]) => any) | undefined;
}, {
type: string;

@@ -79,0 +79,0 @@ tiny_mode_root: boolean;

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