@opentiny/vue-exception
Advanced tools
Comparing version 2.14.1 to 2.15.0
@@ -15,3 +15,3 @@ function _extends() { | ||
} | ||
import { $prefix, $props, $setup } from "@opentiny/vue-common"; | ||
import { defineComponent, $prefix, $props, $setup } from "@opentiny/vue-common"; | ||
import MobileTemplate from "./mobile.js"; | ||
@@ -31,3 +31,3 @@ import MobileFirstTemplate from "./mobile-first.js"; | ||
}; | ||
var Exception = { | ||
var Exception = defineComponent({ | ||
name: $prefix + "Exception", | ||
@@ -59,4 +59,4 @@ props: _extends({}, $props, { | ||
} | ||
}; | ||
var version = "2.14.1"; | ||
}); | ||
var version = "2.15.0"; | ||
Exception.install = function(Vue) { | ||
@@ -63,0 +63,0 @@ Vue.component(Exception.name, Exception); |
@@ -1,19 +0,6 @@ | ||
function _extends() { | ||
_extends = Object.assign ? Object.assign.bind() : function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
import { renderless, api } from "@opentiny/vue-renderless/exception/vue"; | ||
import { defineComponent, $props, setup as _setup } from "@opentiny/vue-common"; | ||
import Button from "@opentiny/vue-button"; | ||
import { iconNoData, iconNoNews, iconNoPerm, iconNoResult, iconWeaknet, iconPageNoperm, iconPageNothing, iconPageServererror, iconPageWeaknet } from "@opentiny/vue-icon"; | ||
import { renderless, api } from '@opentiny/vue-renderless/exception/vue'; | ||
import { defineComponent, setup, $props } from '@opentiny/vue-common'; | ||
import Button from '@opentiny/vue-button'; | ||
import { iconNoData, iconNoNews, iconNoPerm, iconNoResult, iconWeaknet, iconPageNoperm, iconPageNothing, iconPageServererror, iconPageWeaknet } from '@opentiny/vue-icon'; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -73,2 +60,16 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
function _extends() { | ||
_extends = Object.assign ? Object.assign.bind() : function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
var $constants = { | ||
@@ -134,4 +135,4 @@ INTERNALCONFIG: { | ||
}), | ||
setup: function setup(props, context) { | ||
return _setup({ | ||
setup: function setup$1(props, context) { | ||
return setup({ | ||
props, | ||
@@ -198,4 +199,3 @@ context, | ||
}(); | ||
export { | ||
mobileFirst as default | ||
}; | ||
export { mobileFirst as default }; |
@@ -1,4 +0,5 @@ | ||
import { renderless, api } from "@opentiny/vue-renderless/exception/vue"; | ||
import { defineComponent, $prefix, setup as _setup } from "@opentiny/vue-common"; | ||
import Button from "@opentiny/vue-button"; | ||
import { renderless, api } from '@opentiny/vue-renderless/exception/vue'; | ||
import { defineComponent, $prefix, setup } from '@opentiny/vue-common'; | ||
import Button from '@opentiny/vue-button'; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -74,4 +75,4 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
}, | ||
setup: function setup(props, context) { | ||
return _setup({ | ||
setup: function setup$1(props, context) { | ||
return setup({ | ||
props, | ||
@@ -135,4 +136,3 @@ context, | ||
}(); | ||
export { | ||
mobile as default | ||
}; | ||
export { mobile as default }; |
{ | ||
"name": "@opentiny/vue-exception", | ||
"version": "2.14.1", | ||
"version": "2.15.0", | ||
"description": "", | ||
@@ -10,7 +10,7 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.14.0", | ||
"@opentiny/vue-common": "~2.14.0", | ||
"@opentiny/vue-button": "~2.14.0", | ||
"@opentiny/vue-theme-mobile": "~3.14.0", | ||
"@opentiny/vue-icon": "~2.14.0" | ||
"@opentiny/vue-renderless": "~3.15.0", | ||
"@opentiny/vue-common": "~2.15.0", | ||
"@opentiny/vue-button": "~2.15.0", | ||
"@opentiny/vue-theme-mobile": "~3.15.0", | ||
"@opentiny/vue-icon": "~2.15.0" | ||
}, | ||
@@ -17,0 +17,0 @@ "license": "MIT", |
@@ -1,29 +0,2 @@ | ||
declare const _default: { | ||
name: string; | ||
props: { | ||
type: { | ||
type: StringConstructor; | ||
default: string; | ||
}; | ||
message: StringConstructor; | ||
subMessage: StringConstructor; | ||
exceptionClass: StringConstructor; | ||
imageUrl: StringConstructor; | ||
pageEmpty: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
componentPage: { | ||
type: BooleanConstructor; | ||
default: boolean; | ||
}; | ||
tiny_mode: StringConstructor; | ||
tiny_mode_root: BooleanConstructor; | ||
tiny_template: (ObjectConstructor | FunctionConstructor)[]; | ||
tiny_renderless: FunctionConstructor; | ||
tiny_theme: StringConstructor; | ||
tiny_chart_theme: ObjectConstructor; | ||
}; | ||
setup(props: any, context: any): () => any; | ||
}; | ||
declare const _default: any; | ||
export default _default; |
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
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
14474
412
+ Added@opentiny/vue-button@2.15.0(transitive)
+ Added@opentiny/vue-common@2.15.0(transitive)
+ Added@opentiny/vue-icon@2.15.0(transitive)
+ Added@opentiny/vue-locale@2.15.0(transitive)
+ Added@opentiny/vue-renderless@3.15.1(transitive)
+ Added@opentiny/vue-theme@3.15.1(transitive)
+ Added@opentiny/vue-theme-mobile@3.15.0(transitive)
- Removed@opentiny/vue-button@2.14.0(transitive)
- Removed@opentiny/vue-common@2.14.0(transitive)
- Removed@opentiny/vue-icon@2.14.0(transitive)
- Removed@opentiny/vue-locale@2.14.0(transitive)
- Removed@opentiny/vue-renderless@3.14.1(transitive)
- Removed@opentiny/vue-theme@3.14.1(transitive)
- Removed@opentiny/vue-theme-mobile@3.14.2(transitive)
Updated@opentiny/vue-button@~2.15.0
Updated@opentiny/vue-common@~2.15.0
Updated@opentiny/vue-icon@~2.15.0