@opentiny/vue-exception
Advanced tools
Comparing version 3.1.0-alpha.0 to 3.5.0-alpha.0
@@ -20,3 +20,4 @@ import { renderless, api } from '@opentiny/vue-renderless/exception/vue'; | ||
exceptionClass: String, | ||
buttonText: String | ||
buttonText: String, | ||
imageUrl: String | ||
}, | ||
@@ -37,13 +38,14 @@ setup: function setup$1(props, context) { | ||
}; | ||
var _hoisted_2 = { | ||
var _hoisted_2 = ["src"]; | ||
var _hoisted_3 = { | ||
class: "tiny-mobile-exception__content-message" | ||
}; | ||
var _hoisted_3 = { | ||
var _hoisted_4 = { | ||
class: "main-message" | ||
}; | ||
var _hoisted_4 = { | ||
var _hoisted_5 = { | ||
key: 0, | ||
class: "sub-message" | ||
}; | ||
var _hoisted_5 = { | ||
var _hoisted_6 = { | ||
class: "tiny-mobile-exception__footer" | ||
@@ -55,6 +57,11 @@ }; | ||
class: normalizeClass(["tiny-mobile-exception", $props.exceptionClass]) | ||
}, [createElementVNode("div", _hoisted_1, [createElementVNode("div", { | ||
}, [createElementVNode("div", _hoisted_1, [$props.imageUrl ? (openBlock(), createElementBlock("img", { | ||
key: 0, | ||
src: $props.imageUrl, | ||
class: "tiny-mobile-exception__image" | ||
}, null, 8, _hoisted_2)) : (openBlock(), createElementBlock("div", { | ||
key: 1, | ||
class: normalizeClass(["tiny-mobile-exception__content-view", ['tiny-mobile-exception__content-' + $props.type]]) | ||
}, null, 2), renderSlot(_ctx.$slots, "content", {}, function () { | ||
return [createElementVNode("div", _hoisted_2, [createElementVNode("div", _hoisted_3, toDisplayString(_ctx.state.message), 1), $props.subMessage ? (openBlock(), createElementBlock("div", _hoisted_4, toDisplayString($props.subMessage), 1)) : createCommentVNode("", true), $props.type === 'nodata' ? renderSlot(_ctx.$slots, "default", { | ||
}, null, 2)), renderSlot(_ctx.$slots, "content", {}, function () { | ||
return [createElementVNode("div", _hoisted_3, [createElementVNode("div", _hoisted_4, toDisplayString(_ctx.state.message), 1), $props.subMessage ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString($props.subMessage), 1)) : createCommentVNode("", true), $props.type === 'nodata' ? renderSlot(_ctx.$slots, "default", { | ||
key: 1 | ||
@@ -66,3 +73,3 @@ }, function () { | ||
size: "medium", | ||
plain: "" | ||
round: "" | ||
}, { | ||
@@ -75,3 +82,3 @@ default: withCtx(function () { | ||
}) : createCommentVNode("", true)])]; | ||
})]), createElementVNode("div", _hoisted_5, [renderSlot(_ctx.$slots, "footer", {}, function () { | ||
})]), createElementVNode("div", _hoisted_6, [renderSlot(_ctx.$slots, "footer", {}, function () { | ||
return [createElementVNode("span", null, toDisplayString(_ctx.t('ui.exception.provide')), 1)]; | ||
@@ -86,4 +93,4 @@ })])], 2); | ||
}; | ||
script.version = '3.1.0-alpha.0'; | ||
script.version = '3.5.0-alpha.0'; | ||
export { script as default }; |
{ | ||
"name": "@opentiny/vue-exception", | ||
"version": "3.1.0-alpha.0", | ||
"version": "3.5.0-alpha.0", | ||
"description": "", | ||
@@ -12,11 +12,12 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.1.0-alpha.0", | ||
"@opentiny/vue-common": "~3.1.0-alpha.0", | ||
"@opentiny/vue-button": "~3.1.0-alpha.0", | ||
"@opentiny/vue-icon": "~3.1.0-alpha.0", | ||
"@opentiny/vue-theme": "~3.1.0-alpha.0", | ||
"@opentiny/vue-theme-mobile": "~3.1.0-alpha.0" | ||
"@opentiny/vue-renderless": "~3.5.0", | ||
"@opentiny/vue-common": "~3.5.0-alpha.0", | ||
"@opentiny/vue-button": "~3.5.0-alpha.0", | ||
"@opentiny/vue-icon": "~3.5.0-alpha.0", | ||
"@opentiny/vue-theme": "~3.5.0", | ||
"@opentiny/vue-theme-mobile": "~3.5.0" | ||
}, | ||
"license": "MIT", | ||
"types": "index.d.ts", | ||
"sideEffects": false | ||
} |
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
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
5469
4
129
2
80
+ Added@babel/runtime@7.18.3(transitive)
+ Added@opentiny/vue-button@3.5.0(transitive)
+ Added@opentiny/vue-common@3.5.0(transitive)
+ Added@opentiny/vue-icon@3.5.2(transitive)
+ Added@opentiny/vue-locale@3.5.0(transitive)
+ Added@opentiny/vue-renderless@3.5.0(transitive)
+ Added@opentiny/vue-theme@3.5.0(transitive)
+ Added@opentiny/vue-theme-mobile@3.5.0(transitive)
+ Addedregenerator-runtime@0.13.11(transitive)
- Removed@babel/runtime@7.26.0(transitive)
- Removed@opentiny/vue-button@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-common@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-icon@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-locale@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-renderless@3.1.0-alpha.0(transitive)
- Removed@opentiny/vue-theme@3.1.0-alpha.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.1.0-alpha.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)
Updated@opentiny/vue-theme@~3.5.0