@opentinyvue/vue-exception 2.21.0 → 3.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -50,7 +50,7 @@ var Exception = defineComponent({
50
50
  });
51
51
  }
52
52
  });
53
- var version = "2.21.0";
53
+ var version = "3.21.0";
54
54
  Exception.install = function(Vue) {
55
55
  Vue.component(Exception.name, Exception);
56
56
  };
@@ -2,36 +2,40 @@ import { renderless, api } from '@opentinyvue/vue-renderless/exception/vue';
2
2
  import { defineComponent, setup, $props } from '@opentinyvue/vue-common';
3
3
  import Button from '@opentinyvue/vue-button';
4
4
  import { iconNoData, iconNoNews, iconNoPerm, iconNoResult, iconWeaknet, iconPageNoperm, iconPageNothing, iconPageServererror, iconPageWeaknet } from '@opentinyvue/vue-icon';
5
+ import { openBlock, createElementBlock, normalizeClass, createElementVNode, createBlock, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString } from 'vue';
5
6
 
6
- function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
7
- var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
8
- if (render) {
9
- options.render = render;
10
- options.staticRenderFns = staticRenderFns;
11
- options._compiled = true;
7
+ function _createForOfIteratorHelperLoose(r, e) {
8
+ var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
9
+ if (t) return (t = t.call(r)).next.bind(t);
10
+ if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
11
+ t && (r = t);
12
+ var o = 0;
13
+ return function() {
14
+ return o >= r.length ? { done: true } : { done: false, value: r[o++] };
15
+ };
12
16
  }
13
- var hook;
14
- if (injectStyles) {
15
- hook = injectStyles;
16
- }
17
- if (hook) {
18
- if (options.functional) {
19
- options._injectStyles = hook;
20
- var originalRender = options.render;
21
- options.render = function renderWithStyleInjection(h, context) {
22
- hook.call(context);
23
- return originalRender(h, context);
24
- };
25
- } else {
26
- var existing = options.beforeCreate;
27
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
28
- }
17
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
18
+ }
19
+ function _unsupportedIterableToArray(r, a) {
20
+ if (r) {
21
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
22
+ var t = {}.toString.call(r).slice(8, -1);
23
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
29
24
  }
30
- return {
31
- exports: scriptExports,
32
- options
33
- };
34
25
  }
26
+ function _arrayLikeToArray(r, a) {
27
+ (null == a || a > r.length) && (a = r.length);
28
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
29
+ return n;
30
+ }
31
+ var _export_sfc = function _export_sfc2(sfc, props) {
32
+ var target = sfc.__vccOpts || sfc;
33
+ for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
34
+ var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
35
+ target[key] = val;
36
+ }
37
+ return target;
38
+ };
35
39
 
36
40
  function _extends() {
37
41
  return _extends = Object.assign ? Object.assign.bind() : function(n) {
@@ -66,7 +70,7 @@ var $constants = {
66
70
  PAGEWEAKNET: "icon-page-weaknet"
67
71
  }
68
72
  };
69
- var __vue2_script = defineComponent({
73
+ var _sfc_main = defineComponent({
70
74
  components: {
71
75
  TinyButton: Button,
72
76
  IconNoData: iconNoData(),
@@ -111,59 +115,56 @@ var __vue2_script = defineComponent({
111
115
  });
112
116
  }
113
117
  });
114
- var render = function render2() {
115
- var _vm = this;
116
- var _h = _vm.$createElement;
117
- var _c = _vm._self._c || _h;
118
- return _c("div", {
119
- class: _vm.m("flex t-0 justify-center items-center w-full h-full bg-transparent sm:bg-color-bg-1 text-center", _vm.exceptionClass),
120
- attrs: {
121
- "data-tag": "tiny-exception"
122
- }
123
- }, [_c("div", {
124
- attrs: {
125
- "data-tag": "tiny-exception-body"
126
- }
127
- }, [_c("div", {
128
- staticClass: "bg-cover",
129
- attrs: {
130
- "data-tag": "tiny-exception-image"
131
- }
132
- }, [_vm.state.urlType ? _c(_vm._constants.ICONCONFIG[_vm.type.toUpperCase()], {
133
- tag: "component",
134
- attrs: {
135
- "custom-class": _vm.componentPage ? "w-24 h-24" : "w-52 h-40"
136
- }
137
- }) : _vm._e()], 1), _vm._t("content", function() {
138
- return [_c("div", {
139
- attrs: {
140
- "data-tag": "tiny-exception-description"
141
- }
142
- }, [_c("div", {
143
- class: ["text-color-text-primary mt-1 text-center text-sm", _vm.componentPage ? "sm:text-xs" : "sm:text-sm"],
144
- attrs: {
145
- "data-tag": "tiny-exception-componentpage"
146
- }
147
- }, [_vm._v(" " + _vm._s(_vm.t(_vm._constants.INTERNALCONFIG[_vm.type.toUpperCase()])) + " ")]), _vm.subMessage ? _c("div", {
148
- staticClass: "leading-5.5 sm:leading-3 sm:text-xs mt-1 sm:mt-2 text-color-icon-placeholder",
149
- attrs: {
150
- "data-tag": "tiny-exception-submessage"
151
- }
152
- }, [_vm._v(" " + _vm._s(_vm.subMessage) + " ")]) : _vm._e(), _c("div", {
153
- staticClass: "sm:mt-4 mt-6 inline-block"
154
- }, [_vm._t("default")], 2)])];
155
- })], 2)]);
118
+ var _hoisted_1 = {
119
+ "data-tag": "tiny-exception-body"
156
120
  };
157
- var staticRenderFns = [];
158
- var __cssModules = {};
159
- var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
160
- function __vue2_injectStyles(context) {
161
- for (var o in __cssModules) {
162
- this[o] = __cssModules[o];
163
- }
121
+ var _hoisted_2 = {
122
+ class: "bg-cover",
123
+ "data-tag": "tiny-exception-image"
124
+ };
125
+ var _hoisted_3 = {
126
+ "data-tag": "tiny-exception-description"
127
+ };
128
+ var _hoisted_4 = {
129
+ key: 0,
130
+ "data-tag": "tiny-exception-submessage",
131
+ class: "leading-5.5 sm:leading-3 sm:text-xs mt-1 sm:mt-2 text-color-icon-placeholder"
132
+ };
133
+ var _hoisted_5 = {
134
+ class: "sm:mt-4 mt-6 inline-block"
135
+ };
136
+ function _sfc_render(_ctx, _cache, $props2, $setup, $data, $options) {
137
+ return openBlock(), createElementBlock(
138
+ "div",
139
+ {
140
+ "data-tag": "tiny-exception",
141
+ class: normalizeClass(_ctx.m("flex t-0 justify-center items-center w-full h-full bg-transparent sm:bg-color-bg-1 text-center", _ctx.exceptionClass))
142
+ },
143
+ [createElementVNode("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [_ctx.state.urlType ? (openBlock(), createBlock(resolveDynamicComponent(_ctx._constants.ICONCONFIG[_ctx.type.toUpperCase()]), {
144
+ key: 0,
145
+ "custom-class": _ctx.componentPage ? "w-24 h-24" : "w-52 h-40"
146
+ }, null, 8, ["custom-class"])) : createCommentVNode("v-if", true)]), renderSlot(_ctx.$slots, "content", {}, function() {
147
+ return [createElementVNode("div", _hoisted_3, [createElementVNode(
148
+ "div",
149
+ {
150
+ "data-tag": "tiny-exception-componentpage",
151
+ class: normalizeClass(["text-color-text-primary mt-1 text-center text-sm", _ctx.componentPage ? "sm:text-xs" : "sm:text-sm"])
152
+ },
153
+ toDisplayString(_ctx.t(_ctx._constants.INTERNALCONFIG[_ctx.type.toUpperCase()])),
154
+ 3
155
+ /* TEXT, CLASS */
156
+ ), _ctx.subMessage ? (openBlock(), createElementBlock(
157
+ "div",
158
+ _hoisted_4,
159
+ toDisplayString(_ctx.subMessage),
160
+ 1
161
+ /* TEXT */
162
+ )) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_5, [renderSlot(_ctx.$slots, "default")])])];
163
+ })])],
164
+ 2
165
+ /* CLASS */
166
+ );
164
167
  }
165
- var mobileFirst = /* @__PURE__ */ function() {
166
- return __component__.exports;
167
- }();
168
+ var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
168
169
 
169
170
  export { mobileFirst as default };
package/lib/mobile.js CHANGED
@@ -1,38 +1,42 @@
1
1
  import { renderless, api } from '@opentinyvue/vue-renderless/exception/vue';
2
2
  import { defineComponent, $prefix, setup } from '@opentinyvue/vue-common';
3
3
  import Button from '@opentinyvue/vue-button';
4
+ import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, toDisplayString, createCommentVNode, createVNode, withCtx, createTextVNode } from 'vue';
4
5
 
5
- function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
6
- var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
7
- if (render) {
8
- options.render = render;
9
- options.staticRenderFns = staticRenderFns;
10
- options._compiled = true;
6
+ function _createForOfIteratorHelperLoose(r, e) {
7
+ var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
8
+ if (t) return (t = t.call(r)).next.bind(t);
9
+ if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
10
+ t && (r = t);
11
+ var o = 0;
12
+ return function() {
13
+ return o >= r.length ? { done: true } : { done: false, value: r[o++] };
14
+ };
11
15
  }
12
- var hook;
13
- if (injectStyles) {
14
- hook = injectStyles;
15
- }
16
- if (hook) {
17
- if (options.functional) {
18
- options._injectStyles = hook;
19
- var originalRender = options.render;
20
- options.render = function renderWithStyleInjection(h, context) {
21
- hook.call(context);
22
- return originalRender(h, context);
23
- };
24
- } else {
25
- var existing = options.beforeCreate;
26
- options.beforeCreate = existing ? [].concat(existing, hook) : [hook];
27
- }
16
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17
+ }
18
+ function _unsupportedIterableToArray(r, a) {
19
+ if (r) {
20
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
21
+ var t = {}.toString.call(r).slice(8, -1);
22
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
28
23
  }
29
- return {
30
- exports: scriptExports,
31
- options
32
- };
33
24
  }
25
+ function _arrayLikeToArray(r, a) {
26
+ (null == a || a > r.length) && (a = r.length);
27
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
28
+ return n;
29
+ }
30
+ var _export_sfc = function _export_sfc2(sfc, props) {
31
+ var target = sfc.__vccOpts || sfc;
32
+ for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
33
+ var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
34
+ target[key] = val;
35
+ }
36
+ return target;
37
+ };
34
38
 
35
- var __vue2_script = defineComponent({
39
+ var _sfc_main = /* @__PURE__ */ defineComponent({
36
40
  name: $prefix + "Exception",
37
41
  components: {
38
42
  TinyButton: Button
@@ -57,56 +61,81 @@ var __vue2_script = defineComponent({
57
61
  });
58
62
  }
59
63
  });
60
- var render = function render2() {
61
- var _vm = this;
62
- var _h = _vm.$createElement;
63
- var _c = _vm._self._c || _h;
64
- return _c("div", {
65
- staticClass: "tiny-mobile-exception",
66
- class: _vm.exceptionClass
67
- }, [_c("div", {
68
- staticClass: "tiny-mobile-exception__content"
69
- }, [_vm.imageUrl ? _c("img", {
70
- staticClass: "tiny-mobile-exception__image",
71
- attrs: {
72
- "src": _vm.imageUrl
73
- }
74
- }) : _c("div", {
75
- staticClass: "tiny-mobile-exception__content-view",
76
- class: ["tiny-mobile-exception__content-" + _vm.type]
77
- }), _vm._t("content", function() {
78
- return [_c("div", {
79
- staticClass: "tiny-mobile-exception__content-message"
80
- }, [_c("div", {
81
- staticClass: "main-message"
82
- }, [_vm._v(" " + _vm._s(_vm.state.message) + " ")]), _vm.subMessage ? _c("div", {
83
- staticClass: "sub-message"
84
- }, [_vm._v(" " + _vm._s(_vm.subMessage) + " ")]) : _vm._e(), _vm.type === "nodata" ? _vm._t("default", function() {
85
- return [_c("tiny-button", {
86
- attrs: {
87
- "type": "primary",
88
- "size": "medium",
89
- "round": ""
90
- },
91
- on: {
92
- "click": _vm.create
93
- }
94
- }, [_vm._v(" " + _vm._s(_vm.buttonText ? _vm.buttonText : _vm.t("ui.exception.create")) + " ")])];
95
- }) : _vm._e()], 2)];
96
- })], 2), _c("div", {
97
- staticClass: "tiny-mobile-exception__footer"
98
- }, [_vm._t("footer")], 2)]);
64
+ var _hoisted_1 = {
65
+ class: "tiny-mobile-exception__content"
99
66
  };
100
- var staticRenderFns = [];
101
- var __cssModules = {};
102
- var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles);
103
- function __vue2_injectStyles(context) {
104
- for (var o in __cssModules) {
105
- this[o] = __cssModules[o];
106
- }
67
+ var _hoisted_2 = ["src"];
68
+ var _hoisted_3 = {
69
+ class: "tiny-mobile-exception__content-message"
70
+ };
71
+ var _hoisted_4 = {
72
+ class: "main-message"
73
+ };
74
+ var _hoisted_5 = {
75
+ key: 0,
76
+ class: "sub-message"
77
+ };
78
+ var _hoisted_6 = {
79
+ class: "tiny-mobile-exception__footer"
80
+ };
81
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
82
+ var _component_tiny_button = resolveComponent("tiny-button");
83
+ return openBlock(), createElementBlock(
84
+ "div",
85
+ {
86
+ class: normalizeClass(["tiny-mobile-exception", _ctx.exceptionClass])
87
+ },
88
+ [createElementVNode("div", _hoisted_1, [_ctx.imageUrl ? (openBlock(), createElementBlock("img", {
89
+ key: 0,
90
+ src: _ctx.imageUrl,
91
+ class: "tiny-mobile-exception__image"
92
+ }, null, 8, _hoisted_2)) : (openBlock(), createElementBlock(
93
+ "div",
94
+ {
95
+ key: 1,
96
+ class: normalizeClass(["tiny-mobile-exception__content-view", ["tiny-mobile-exception__content-" + _ctx.type]])
97
+ },
98
+ null,
99
+ 2
100
+ /* CLASS */
101
+ )), renderSlot(_ctx.$slots, "content", {}, function() {
102
+ return [createElementVNode("div", _hoisted_3, [createElementVNode(
103
+ "div",
104
+ _hoisted_4,
105
+ toDisplayString(_ctx.state.message),
106
+ 1
107
+ /* TEXT */
108
+ ), _ctx.subMessage ? (openBlock(), createElementBlock(
109
+ "div",
110
+ _hoisted_5,
111
+ toDisplayString(_ctx.subMessage),
112
+ 1
113
+ /* TEXT */
114
+ )) : createCommentVNode("v-if", true), _ctx.type === "nodata" ? renderSlot(_ctx.$slots, "default", {
115
+ key: 1
116
+ }, function() {
117
+ return [createVNode(_component_tiny_button, {
118
+ onClick: _ctx.create,
119
+ type: "primary",
120
+ size: "medium",
121
+ round: ""
122
+ }, {
123
+ default: withCtx(function() {
124
+ return [createTextVNode(
125
+ toDisplayString(_ctx.buttonText ? _ctx.buttonText : _ctx.t("ui.exception.create")),
126
+ 1
127
+ /* TEXT */
128
+ )];
129
+ }),
130
+ _: 1
131
+ /* STABLE */
132
+ }, 8, ["onClick"])];
133
+ }) : createCommentVNode("v-if", true)])];
134
+ })]), createElementVNode("div", _hoisted_6, [renderSlot(_ctx.$slots, "footer")])],
135
+ 2
136
+ /* CLASS */
137
+ );
107
138
  }
108
- var mobile = /* @__PURE__ */ function() {
109
- return __component__.exports;
110
- }();
139
+ var mobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
111
140
 
112
141
  export { mobile as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-exception",
3
- "version": "2.21.0",
3
+ "version": "3.21.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -8,10 +8,10 @@
8
8
  "type": "module",
9
9
  "dependencies": {
10
10
  "@opentinyvue/vue-renderless": "~3.21.0",
11
- "@opentinyvue/vue-common": "~2.21.0",
12
- "@opentinyvue/vue-button": "~2.21.0",
11
+ "@opentinyvue/vue-common": "~3.21.0",
12
+ "@opentinyvue/vue-button": "~3.21.0",
13
13
  "@opentinyvue/vue-theme-mobile": "~3.21.0",
14
- "@opentinyvue/vue-icon": "~2.21.0"
14
+ "@opentinyvue/vue-icon": "~3.21.0"
15
15
  },
16
16
  "license": "MIT",
17
17
  "types": "index.d.ts",
package/src/index.d.ts CHANGED
@@ -1,2 +1,55 @@
1
- declare const _default: any;
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<{
2
+ type: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ message: StringConstructor;
7
+ subMessage: StringConstructor;
8
+ exceptionClass: StringConstructor;
9
+ imageUrl: StringConstructor;
10
+ pageEmpty: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ componentPage: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ tiny_mode: StringConstructor;
19
+ tiny_mode_root: BooleanConstructor;
20
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
21
+ tiny_renderless: FunctionConstructor;
22
+ tiny_theme: StringConstructor;
23
+ tiny_chart_theme: ObjectConstructor;
24
+ }, () => import("@vue/runtime-core").VNode<import("@vue/runtime-core").RendererNode, import("@vue/runtime-core").RendererElement, {
25
+ [key: string]: any;
26
+ }>, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
27
+ type: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ message: StringConstructor;
32
+ subMessage: StringConstructor;
33
+ exceptionClass: StringConstructor;
34
+ imageUrl: StringConstructor;
35
+ pageEmpty: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ componentPage: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ tiny_mode: StringConstructor;
44
+ tiny_mode_root: BooleanConstructor;
45
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
46
+ tiny_renderless: FunctionConstructor;
47
+ tiny_theme: StringConstructor;
48
+ tiny_chart_theme: ObjectConstructor;
49
+ }>>, {
50
+ type: string;
51
+ tiny_mode_root: boolean;
52
+ pageEmpty: boolean;
53
+ componentPage: boolean;
54
+ }, {}>;
2
55
  export default _default;
@@ -1,2 +1,106 @@
1
- declare const _default: any;
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<{
2
+ _constants: {
3
+ type: ObjectConstructor;
4
+ default: () => {
5
+ INTERNALCONFIG: {
6
+ NODATA: string;
7
+ NOPERM: string;
8
+ WEAKNET: string;
9
+ NORESULT: string;
10
+ NONEWS: string;
11
+ PAGENOPERM: string;
12
+ PAGEWEAKNET: string;
13
+ PAGENOTHING: string;
14
+ PAGESERVERERROR: string;
15
+ };
16
+ ICONCONFIG: {
17
+ NODATA: string;
18
+ NOPERM: string;
19
+ NONEWS: string;
20
+ WEAKNET: string;
21
+ NORESULT: string;
22
+ PAGENOPERM: string;
23
+ PAGENOTHING: string;
24
+ PAGESERVERERROR: string;
25
+ PAGEWEAKNET: string;
26
+ };
27
+ };
28
+ };
29
+ type: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ subMessage: StringConstructor;
34
+ exceptionClass: StringConstructor;
35
+ pageEmpty: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ componentPage: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ tiny_mode: StringConstructor;
44
+ tiny_mode_root: BooleanConstructor;
45
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
46
+ tiny_renderless: FunctionConstructor;
47
+ tiny_theme: StringConstructor;
48
+ tiny_chart_theme: ObjectConstructor;
49
+ }, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "click"[], "click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
50
+ _constants: {
51
+ type: ObjectConstructor;
52
+ default: () => {
53
+ INTERNALCONFIG: {
54
+ NODATA: string;
55
+ NOPERM: string;
56
+ WEAKNET: string;
57
+ NORESULT: string;
58
+ NONEWS: string;
59
+ PAGENOPERM: string;
60
+ PAGEWEAKNET: string;
61
+ PAGENOTHING: string;
62
+ PAGESERVERERROR: string;
63
+ };
64
+ ICONCONFIG: {
65
+ NODATA: string;
66
+ NOPERM: string;
67
+ NONEWS: string;
68
+ WEAKNET: string;
69
+ NORESULT: string;
70
+ PAGENOPERM: string;
71
+ PAGENOTHING: string;
72
+ PAGESERVERERROR: string;
73
+ PAGEWEAKNET: string;
74
+ };
75
+ };
76
+ };
77
+ type: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ subMessage: StringConstructor;
82
+ exceptionClass: StringConstructor;
83
+ pageEmpty: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ componentPage: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ tiny_mode: StringConstructor;
92
+ tiny_mode_root: BooleanConstructor;
93
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
94
+ tiny_renderless: FunctionConstructor;
95
+ tiny_theme: StringConstructor;
96
+ tiny_chart_theme: ObjectConstructor;
97
+ }>> & {
98
+ onClick?: ((...args: any[]) => any) | undefined;
99
+ }, {
100
+ type: string;
101
+ tiny_mode_root: boolean;
102
+ _constants: Record<string, any>;
103
+ pageEmpty: boolean;
104
+ componentPage: boolean;
105
+ }, {}>;
2
106
  export default _default;
@@ -1,2 +1,33 @@
1
- declare const _default: any;
1
+ declare const _default: import("@vue/runtime-core").DefineComponent<{
2
+ type: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ message: StringConstructor;
7
+ subMessage: StringConstructor;
8
+ exceptionClass: StringConstructor;
9
+ buttonText: StringConstructor;
10
+ imageUrl: StringConstructor;
11
+ }, {
12
+ t: (this: any, path: any, options?: any) => any;
13
+ vm: any;
14
+ f: (props: any, attrs?: {}) => {};
15
+ a: (attrs: any, filters: any, include: any) => {};
16
+ d: (props: any) => void;
17
+ dp: (props: any) => void;
18
+ gcls: (key: any) => any;
19
+ m: (...cssClasses: any[]) => string;
20
+ }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
21
+ type: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ message: StringConstructor;
26
+ subMessage: StringConstructor;
27
+ exceptionClass: StringConstructor;
28
+ buttonText: StringConstructor;
29
+ imageUrl: StringConstructor;
30
+ }>>, {
31
+ type: string;
32
+ }, {}>;
2
33
  export default _default;