@web-utils/component 2.0.12 → 2.0.14

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.
Files changed (172) hide show
  1. package/dist/chunks/3a79781b.js +75 -0
  2. package/dist/chunks/{44b78389.js → 41a066be.js} +8 -8
  3. package/dist/chunks/{e1939731.js → 5a78e0db.js} +5 -6
  4. package/dist/chunks/5d4282fb.js +30 -0
  5. package/dist/chunks/{822300f3.js → 61ad06b2.js} +3 -3
  6. package/dist/chunks/76680a03.js +24 -0
  7. package/dist/chunks/8c0142e0.js +81 -0
  8. package/dist/chunks/97652d86.js +26 -0
  9. package/dist/chunks/b4acd3a6.js +126 -0
  10. package/dist/chunks/f71045fc.js +184 -0
  11. package/dist/components/address-input/index.js +43 -56
  12. package/dist/components/address-input/style.css +1 -15
  13. package/dist/components/aside-menu/index.js +30 -36
  14. package/dist/components/aside-menu/style.css +1 -9
  15. package/dist/components/awesome-button/index.js +32 -35
  16. package/dist/components/base.css +1 -66
  17. package/dist/components/capsule-tab/index.js +27 -33
  18. package/dist/components/capsule-tab/style.css +1 -32
  19. package/dist/components/chunk-file-uploader/index.js +54 -88
  20. package/dist/components/chunk-file-uploader/style.css +1 -4
  21. package/dist/components/chunk-file-uploader-button/index.js +25 -31
  22. package/dist/components/chunk-file-uploader-button/style.css +1 -17
  23. package/dist/components/chunk-file-uploader-drop/index.js +28 -42
  24. package/dist/components/chunk-file-uploader-drop/style.css +1 -12
  25. package/dist/components/chunk-file-uploader-file/index.js +134 -212
  26. package/dist/components/chunk-file-uploader-file/style.css +1 -125
  27. package/dist/components/chunk-file-uploader-files/index.js +28 -34
  28. package/dist/components/chunk-file-uploader-files/style.css +1 -9
  29. package/dist/components/chunk-file-uploader-list/index.js +29 -35
  30. package/dist/components/chunk-file-uploader-list/style.css +1 -9
  31. package/dist/components/chunk-file-uploader-un-support/index.js +30 -38
  32. package/dist/components/chunk-file-uploader-un-support/style.css +1 -6
  33. package/dist/components/code-mirror-editor/index.js +153 -181
  34. package/dist/components/code-mirror-editor/style.css +1 -17
  35. package/dist/components/color-picker/index.js +49 -68
  36. package/dist/components/confirm-button/index.js +19 -21
  37. package/dist/components/confirmable/index.js +18 -19
  38. package/dist/components/context-menu/index.js +108 -130
  39. package/dist/components/context-menu/style.css +1 -88
  40. package/dist/components/custom-scrollbar/index.js +49 -67
  41. package/dist/components/data-table-picker/index.js +62 -81
  42. package/dist/components/dynamic-table/index.js +89 -113
  43. package/dist/components/dynamic-table/style.css +1 -30
  44. package/dist/components/e-charts/index.js +120 -201
  45. package/dist/components/e-charts/style.css +1 -10
  46. package/dist/components/editable-progress/index.js +60 -93
  47. package/dist/components/editable-progress/style.css +1 -37
  48. package/dist/components/editable-tree/index.js +423 -638
  49. package/dist/components/editable-tree/style.css +1 -82
  50. package/dist/components/egd-collapse/index.js +33 -46
  51. package/dist/components/egd-collapse-item/index.js +60 -76
  52. package/dist/components/element-dialog/index.js +95 -147
  53. package/dist/components/element-dialog/style.css +1 -102
  54. package/dist/components/empty-view/index.js +28 -34
  55. package/dist/components/empty-view/style.css +1 -17
  56. package/dist/components/error-view/index.js +26 -32
  57. package/dist/components/error-view/style.css +1 -17
  58. package/dist/components/flex-column/index.js +25 -40
  59. package/dist/components/flex-item/index.js +29 -57
  60. package/dist/components/flex-row/index.js +25 -40
  61. package/dist/components/flex-scroller/index.js +26 -32
  62. package/dist/components/flex-scroller/style.css +1 -20
  63. package/dist/components/form-button/index.js +34 -38
  64. package/dist/components/form-cascader/index.js +71 -81
  65. package/dist/components/form-checkbox-group/index.js +88 -113
  66. package/dist/components/form-checkbox-group/style.css +1 -51
  67. package/dist/components/form-date-picker/index.js +70 -132
  68. package/dist/components/form-holder/index.js +32 -39
  69. package/dist/components/form-input/index.js +56 -62
  70. package/dist/components/form-input-email/index.js +48 -60
  71. package/dist/components/form-input-id-card/index.js +53 -59
  72. package/dist/components/form-input-number/index.js +61 -68
  73. package/dist/components/form-input-number/style.css +1 -12
  74. package/dist/components/form-input-phone-number/index.js +49 -55
  75. package/dist/components/form-input-time/index.js +53 -59
  76. package/dist/components/form-item/index.js +80 -123
  77. package/dist/components/form-item/style.css +1 -11
  78. package/dist/components/form-item-config-provider/index.js +25 -26
  79. package/dist/components/form-item-group/index.js +85 -111
  80. package/dist/components/form-item-group/style.css +1 -30
  81. package/dist/components/form-radio-group/index.js +85 -104
  82. package/dist/components/form-radio-group/style.css +1 -53
  83. package/dist/components/form-select/index.js +76 -91
  84. package/dist/components/form-switch/index.js +51 -57
  85. package/dist/components/form-textarea/index.js +51 -57
  86. package/dist/components/form-view/index.js +165 -232
  87. package/dist/components/form-view/style.css +1 -158
  88. package/dist/components/guide-steps/index.js +44 -58
  89. package/dist/components/guide-steps/style.css +1 -34
  90. package/dist/components/icon-card/index.js +29 -35
  91. package/dist/components/icon-card/style.css +1 -56
  92. package/dist/components/iframe-window/index.js +29 -35
  93. package/dist/components/iframe-window/style.css +1 -20
  94. package/dist/components/image-viewer/index.js +48 -66
  95. package/dist/components/image-viewer/style.css +1 -21
  96. package/dist/components/input-number/index.js +127 -193
  97. package/dist/components/input-number/style.css +1 -15
  98. package/dist/components/input-number-range/index.js +45 -57
  99. package/dist/components/input-number-range/style.css +1 -12
  100. package/dist/components/j-s-x-component/index.js +4 -4
  101. package/dist/components/keep-view-alive/index.js +73 -120
  102. package/dist/components/loading-view/index.js +26 -32
  103. package/dist/components/loading-view/style.css +1 -17
  104. package/dist/components/nav-bar/index.js +27 -37
  105. package/dist/components/nav-bar/style.css +1 -17
  106. package/dist/components/not-implement/index.js +23 -31
  107. package/dist/components/not-implement/style.css +1 -15
  108. package/dist/components/page/index.js +22 -28
  109. package/dist/components/page/style.css +1 -12
  110. package/dist/components/page-header/index.js +30 -36
  111. package/dist/components/page-header/style.css +1 -14
  112. package/dist/components/page-index/index.js +62 -83
  113. package/dist/components/page-index/style.css +1 -23
  114. package/dist/components/page-index-top/index.js +53 -68
  115. package/dist/components/page-skeleton/index.js +31 -37
  116. package/dist/components/page-skeleton/style.css +1 -23
  117. package/dist/components/page-skeleton-new/index.js +42 -48
  118. package/dist/components/page-skeleton-new/style.css +1 -42
  119. package/dist/components/pageable-table/index.js +186 -253
  120. package/dist/components/pageable-table/style.css +1 -72
  121. package/dist/components/pageable-view/index.js +129 -199
  122. package/dist/components/pageable-view/style.css +1 -69
  123. package/dist/components/photo-swipe/index.js +110 -151
  124. package/dist/components/photo-swipe/style.css +1 -20
  125. package/dist/components/resize-observer/index.js +34 -68
  126. package/dist/components/resize-observer/style.css +1 -31
  127. package/dist/components/search-popover/index.js +153 -211
  128. package/dist/components/search-popover/style.css +1 -93
  129. package/dist/components/sign-panel/index.js +92 -142
  130. package/dist/components/sign-panel/style.css +1 -97
  131. package/dist/components/split-pane/index.js +101 -162
  132. package/dist/components/split-pane/style.css +1 -100
  133. package/dist/components/stateful/index.js +31 -34
  134. package/dist/components/stateful/style.css +1 -33
  135. package/dist/components/static-pageable-table/index.js +37 -44
  136. package/dist/components/static-pageable-table/style.css +1 -9
  137. package/dist/components/swiper/index.js +85 -150
  138. package/dist/components/swiper/style.css +1 -43
  139. package/dist/components/tab/index.js +54 -72
  140. package/dist/components/tab/style.css +1 -122
  141. package/dist/components/tab-item/index.js +30 -35
  142. package/dist/components/table-column/index.js +30 -32
  143. package/dist/components/table-view/index.js +156 -227
  144. package/dist/components/table-view/style.css +1 -95
  145. package/dist/components/tag-render/index.js +44 -58
  146. package/dist/components/tag-render/style.css +1 -33
  147. package/dist/components/tinymce-editor/index.js +79 -95
  148. package/dist/components/tinymce-editor/style.css +1 -43
  149. package/dist/components/tinymce-wrapper/index.js +92 -121
  150. package/dist/components/tinymce-wrapper/style.css +1 -36
  151. package/dist/components/toolbar/index.js +63 -84
  152. package/dist/components/toolbar/style.css +1 -39
  153. package/dist/components/toolbar-button/index.js +41 -48
  154. package/dist/components/toolbar-button/style.css +1 -21
  155. package/dist/components/trigger/index.js +29 -36
  156. package/dist/components/vue-tags-input/index.js +188 -308
  157. package/dist/components/vue-tags-input/style.css +1 -682
  158. package/dist/components/watermark/index.js +25 -37
  159. package/dist/components/watermark/style.css +1 -11
  160. package/dist/components/x-dialog/index.js +67 -93
  161. package/dist/components/x-dialog/style.css +1 -15
  162. package/dist/index.css +193 -1105
  163. package/dist/index.es.js +4790 -7243
  164. package/package.json +1 -2
  165. package/web-types.json +1 -1
  166. package/dist/chunks/3d28cc08.js +0 -57
  167. package/dist/chunks/5d33812d.js +0 -147
  168. package/dist/chunks/9d848bf6.js +0 -99
  169. package/dist/chunks/a0bb327b.js +0 -96
  170. package/dist/chunks/a8891d2c.js +0 -30
  171. package/dist/chunks/c69d5628.js +0 -248
  172. package/dist/chunks/de9fe802.js +0 -24
@@ -1,61 +1,57 @@
1
- import { isNotEmpty } from "@web-utils/core";
2
- import { n as normalizeComponent } from "../../chunks/3d28cc08.js";
3
- var render = function() {
4
- var _vm = this;
5
- var _h = _vm.$createElement;
6
- var _c = _vm._self._c || _h;
7
- return _c("div", {
1
+ import { isNotEmpty as i } from "@web-utils/core";
2
+ import { n as o } from "../../chunks/5d4282fb.js";
3
+ var r = function() {
4
+ var t = this, e = t.$createElement, n = t._self._c || e;
5
+ return n("div", {
8
6
  staticClass: "input-number-range"
9
- }, [_c("ElInputNumber", {
7
+ }, [n("ElInputNumber", {
10
8
  staticClass: "flex-item",
11
9
  staticStyle: {
12
- "width": "auto"
10
+ width: "auto"
13
11
  },
14
12
  attrs: {
15
- "controls": _vm.controls,
16
- "disabled": _vm.disabled,
17
- "size": "mini"
13
+ controls: t.controls,
14
+ disabled: t.disabled,
15
+ size: "mini"
18
16
  },
19
17
  on: {
20
- "input": _vm.emitInput
18
+ input: t.emitInput
21
19
  },
22
20
  model: {
23
- value: _vm.val[0],
24
- callback: function($$v) {
25
- _vm.$set(_vm.val, 0, $$v);
21
+ value: t.val[0],
22
+ callback: function(s) {
23
+ t.$set(t.val, 0, s);
26
24
  },
27
25
  expression: "val[0]"
28
26
  }
29
- }), _c("span", {
27
+ }), n("span", {
30
28
  staticStyle: {
31
- "padding": "0 6px",
29
+ padding: "0 6px",
32
30
  "font-size": "12px"
33
31
  }
34
- }, [_vm._v(_vm._s(_vm.separator))]), _c("ElInputNumber", {
32
+ }, [t._v(t._s(t.separator))]), n("ElInputNumber", {
35
33
  staticClass: "flex-item",
36
34
  staticStyle: {
37
- "width": "auto"
35
+ width: "auto"
38
36
  },
39
37
  attrs: {
40
- "controls": _vm.controls,
41
- "disabled": _vm.disabled,
42
- "size": "mini"
38
+ controls: t.controls,
39
+ disabled: t.disabled,
40
+ size: "mini"
43
41
  },
44
42
  on: {
45
- "input": _vm.emitInput
43
+ input: t.emitInput
46
44
  },
47
45
  model: {
48
- value: _vm.val[1],
49
- callback: function($$v) {
50
- _vm.$set(_vm.val, 1, $$v);
46
+ value: t.val[1],
47
+ callback: function(s) {
48
+ t.$set(t.val, 1, s);
51
49
  },
52
50
  expression: "val[1]"
53
51
  }
54
52
  })], 1);
55
- };
56
- var staticRenderFns = [];
57
- const InputNumberRange_vue_vue_type_style_index_0_lang = "";
58
- const __vue2_script = {
53
+ }, l = [];
54
+ const u = {
59
55
  name: "InputNumberRange",
60
56
  props: {
61
57
  value: {
@@ -69,7 +65,7 @@ const __vue2_script = {
69
65
  },
70
66
  controls: {
71
67
  type: Boolean,
72
- default: true
68
+ default: !0
73
69
  }
74
70
  },
75
71
  data() {
@@ -79,16 +75,10 @@ const __vue2_script = {
79
75
  },
80
76
  watch: {
81
77
  value: {
82
- immediate: true,
83
- handler(newVal) {
84
- const val = [void 0, void 0];
85
- if (isNotEmpty(newVal == null ? void 0 : newVal[0])) {
86
- val[0] = newVal[0];
87
- }
88
- if (isNotEmpty(newVal == null ? void 0 : newVal[1])) {
89
- val[1] = newVal[1];
90
- }
91
- this.val = val;
78
+ immediate: !0,
79
+ handler(t) {
80
+ const e = [void 0, void 0];
81
+ i(t == null ? void 0 : t[0]) && (e[0] = t[0]), i(t == null ? void 0 : t[1]) && (e[1] = t[1]), this.val = e;
92
82
  }
93
83
  }
94
84
  },
@@ -97,26 +87,24 @@ const __vue2_script = {
97
87
  this.$emit("input", this.val);
98
88
  }
99
89
  }
100
- };
101
- const __cssModules = {};
102
- var __component__ = /* @__PURE__ */ normalizeComponent(
103
- __vue2_script,
104
- render,
105
- staticRenderFns,
106
- false,
107
- __vue2_injectStyles,
90
+ }, a = {};
91
+ var d = /* @__PURE__ */ o(
92
+ u,
93
+ r,
94
+ l,
95
+ !1,
96
+ c,
108
97
  null,
109
98
  null,
110
99
  null
111
100
  );
112
- function __vue2_injectStyles(context) {
113
- for (let o in __cssModules) {
114
- this[o] = __cssModules[o];
115
- }
101
+ function c(t) {
102
+ for (let e in a)
103
+ this[e] = a[e];
116
104
  }
117
- const InputNumberRange = /* @__PURE__ */ function() {
118
- return __component__.exports;
105
+ const v = /* @__PURE__ */ function() {
106
+ return d.exports;
119
107
  }();
120
108
  export {
121
- InputNumberRange as default
109
+ v as default
122
110
  };
@@ -1,12 +1 @@
1
- /* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
2
- /* 应用头部高度 */
3
- /* 页面宽度 */
4
- /* 侧栏宽度 */
5
- /* 标签高度 */
6
- /* 页面头部工具条高度 */
7
- .input-number-range {
8
- display: flex;
9
- flex-direction: row;
10
- align-items: center;
11
- width: 100%;
12
- }
1
+ .input-number-range{display:flex;flex-direction:row;align-items:center;width:100%}
@@ -1,4 +1,4 @@
1
- const JSXComponent = {
1
+ const e = {
2
2
  name: "JSXComponent",
3
3
  props: {
4
4
  msg: {
@@ -7,10 +7,10 @@ const JSXComponent = {
7
7
  }
8
8
  },
9
9
  render() {
10
- const h = arguments[0];
11
- return h("div", [this.msg]);
10
+ const t = arguments[0];
11
+ return t("div", [this.msg]);
12
12
  }
13
13
  };
14
14
  export {
15
- JSXComponent as default
15
+ e as default
16
16
  };
@@ -1,89 +1,69 @@
1
- import { n as normalizeComponent } from "../../chunks/3d28cc08.js";
2
- const _toString = Object.prototype.toString;
3
- function isDef(v) {
4
- return v !== void 0 && v !== null;
1
+ import { n as _ } from "../../chunks/5d4282fb.js";
2
+ const C = Object.prototype.toString;
3
+ function d(e) {
4
+ return e != null;
5
5
  }
6
- function isAsyncPlaceholder(node) {
7
- return node.isComment && node.asyncFactory;
6
+ function g(e) {
7
+ return e.isComment && e.asyncFactory;
8
8
  }
9
- function getFirstComponentChild(children) {
10
- if (Array.isArray(children)) {
11
- for (let i = 0; i < children.length; i++) {
12
- const c = children[i];
13
- if (isDef(c) && (isDef(c.componentOptions) || isAsyncPlaceholder(c))) {
14
- return c;
15
- }
9
+ function v(e) {
10
+ if (Array.isArray(e))
11
+ for (let t = 0; t < e.length; t++) {
12
+ const n = e[t];
13
+ if (d(n) && (d(n.componentOptions) || g(n)))
14
+ return n;
16
15
  }
17
- }
18
16
  }
19
- function isRegExp(v) {
20
- return _toString.call(v) === "[object RegExp]";
17
+ function x(e) {
18
+ return C.call(e) === "[object RegExp]";
21
19
  }
22
- function getComponentName(opts) {
23
- return opts && (opts.Ctor.options.name || opts.tag);
20
+ function f(e) {
21
+ return e && (e.Ctor.options.name || e.tag);
24
22
  }
25
- function matches(pattern, name) {
26
- if (Array.isArray(pattern)) {
27
- return pattern.indexOf(name) > -1;
28
- } else if (typeof pattern === "string") {
29
- return pattern.split(",").indexOf(name) > -1;
30
- } else if (isRegExp(pattern)) {
31
- return pattern.test(name);
32
- }
33
- return false;
23
+ function l(e, t) {
24
+ return Array.isArray(e) ? e.indexOf(t) > -1 : typeof e == "string" ? e.split(",").indexOf(t) > -1 : x(e) ? e.test(t) : !1;
34
25
  }
35
- function remove(arr, item) {
36
- if (arr.length) {
37
- const index = arr.indexOf(item);
38
- if (index > -1) {
39
- return arr.splice(index, 1);
40
- }
26
+ function y(e, t) {
27
+ if (e.length) {
28
+ const n = e.indexOf(t);
29
+ if (n > -1)
30
+ return e.splice(n, 1);
41
31
  }
42
32
  }
43
- function pruneCache(keepAliveInstance, filter) {
44
- const { cache, keys, _vnode } = keepAliveInstance;
45
- for (const key in cache) {
46
- const entry = cache[key];
47
- if (entry) {
48
- const name = entry.name;
49
- if (name && !filter(name)) {
50
- pruneCacheEntry(cache, key, keys, _vnode);
51
- }
33
+ function p(e, t) {
34
+ const { cache: n, keys: o, _vnode: c } = e;
35
+ for (const i in n) {
36
+ const s = n[i];
37
+ if (s) {
38
+ const a = s.name;
39
+ a && !t(a) && h(n, i, o, c);
52
40
  }
53
41
  }
54
42
  }
55
- function pruneCacheEntry(cache, key, keys, current) {
56
- const entry = cache[key];
57
- if (entry && (!current || entry.tag !== current.tag)) {
58
- entry.componentInstance.$destroy();
59
- }
60
- cache[key] = null;
61
- remove(keys, key);
43
+ function h(e, t, n, o) {
44
+ const c = e[t];
45
+ c && (!o || c.tag !== o.tag) && c.componentInstance.$destroy(), e[t] = null, y(n, t);
62
46
  }
63
- const __vue2_script = {
47
+ const k = {
64
48
  name: "KeepViewAlive",
65
- abstract: true,
49
+ abstract: !0,
66
50
  props: {
67
51
  include: Array,
68
52
  exclude: Array,
69
53
  max: [String, Number]
70
54
  },
71
55
  created() {
72
- this.cache = /* @__PURE__ */ Object.create(null);
73
- this.keys = [];
56
+ this.cache = /* @__PURE__ */ Object.create(null), this.keys = [];
74
57
  },
75
58
  destroyed() {
76
- for (const key in this.cache) {
77
- pruneCacheEntry(this.cache, key, this.keys);
78
- }
59
+ for (const e in this.cache)
60
+ h(this.cache, e, this.keys);
79
61
  },
80
62
  mounted() {
81
- this.cacheVNode();
82
- this.$watch("include", (val) => {
83
- pruneCache(this, (name) => matches(val, name));
84
- });
85
- this.$watch("exclude", (val) => {
86
- pruneCache(this, (name) => !matches(val, name));
63
+ this.cacheVNode(), this.$watch("include", (e) => {
64
+ p(this, (t) => l(e, t));
65
+ }), this.$watch("exclude", (e) => {
66
+ p(this, (t) => !l(e, t));
87
67
  });
88
68
  },
89
69
  updated() {
@@ -91,76 +71,49 @@ const __vue2_script = {
91
71
  },
92
72
  methods: {
93
73
  cacheVNode() {
94
- const { cache, keys, vnodeToCache, keyToCache } = this;
95
- if (vnodeToCache) {
96
- const { tag, componentInstance, componentOptions } = vnodeToCache;
97
- cache[keyToCache] = {
98
- name: getComponentName(componentOptions),
99
- tag,
100
- cid: componentOptions.Ctor.cid,
101
- componentInstance
102
- };
103
- keys.push(keyToCache);
104
- if (this.max && keys.length > parseInt(this.max)) {
105
- pruneCacheEntry(cache, keys[0], keys, this._vnode);
106
- }
107
- this.vnodeToCache = null;
74
+ const { cache: e, keys: t, vnodeToCache: n, keyToCache: o } = this;
75
+ if (n) {
76
+ const { tag: c, componentInstance: i, componentOptions: s } = n;
77
+ e[o] = {
78
+ name: f(s),
79
+ tag: c,
80
+ cid: s.Ctor.cid,
81
+ componentInstance: i
82
+ }, t.push(o), this.max && t.length > parseInt(this.max) && h(e, t[0], t, this._vnode), this.vnodeToCache = null;
108
83
  }
109
84
  }
110
85
  },
111
86
  render() {
112
- const slot = this.$slots.default;
113
- const vnode = getFirstComponentChild(slot);
114
- const componentOptions = vnode && vnode.componentOptions;
115
- if (componentOptions) {
116
- const name = getComponentName(componentOptions);
117
- const { include, exclude } = this;
118
- if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) {
119
- return vnode;
120
- }
121
- const { cache, keys } = this;
122
- const key = vnode.key == null ? componentOptions.Ctor.cid + (componentOptions.tag ? `::${componentOptions.tag}` : "") : vnode.key;
123
- const entry = cache[key];
124
- if (entry) {
125
- if (entry.cid === componentOptions.Ctor.cid) {
126
- vnode.componentInstance = entry.componentInstance;
127
- remove(keys, key);
128
- keys.push(key);
129
- } else {
130
- entry.componentInstance.$destroy();
131
- cache[key] = null;
132
- this.vnodeToCache = vnode;
133
- this.keyToCache = key;
134
- }
135
- } else {
136
- this.vnodeToCache = vnode;
137
- this.keyToCache = key;
138
- }
139
- vnode.data.keepAlive = true;
87
+ const e = this.$slots.default, t = v(e), n = t && t.componentOptions;
88
+ if (n) {
89
+ const o = f(n), { include: c, exclude: i } = this;
90
+ if (c && (!o || !l(c, o)) || i && o && l(i, o))
91
+ return t;
92
+ const { cache: s, keys: a } = this, r = t.key == null ? n.Ctor.cid + (n.tag ? `::${n.tag}` : "") : t.key, u = s[r];
93
+ u ? u.cid === n.Ctor.cid ? (t.componentInstance = u.componentInstance, y(a, r), a.push(r)) : (u.componentInstance.$destroy(), s[r] = null, this.vnodeToCache = t, this.keyToCache = r) : (this.vnodeToCache = t, this.keyToCache = r), t.data.keepAlive = !0;
140
94
  }
141
- return vnode || slot && slot[0];
95
+ return t || e && e[0];
142
96
  }
143
97
  };
144
- let __vue2_render, __vue2_staticRenderFns;
145
- const __cssModules = {};
146
- var __component__ = /* @__PURE__ */ normalizeComponent(
147
- __vue2_script,
148
- __vue2_render,
149
- __vue2_staticRenderFns,
150
- false,
151
- __vue2_injectStyles,
98
+ let A, O;
99
+ const m = {};
100
+ var T = /* @__PURE__ */ _(
101
+ k,
102
+ A,
103
+ O,
104
+ !1,
105
+ I,
152
106
  null,
153
107
  null,
154
108
  null
155
109
  );
156
- function __vue2_injectStyles(context) {
157
- for (let o in __cssModules) {
158
- this[o] = __cssModules[o];
159
- }
110
+ function I(e) {
111
+ for (let t in m)
112
+ this[t] = m[t];
160
113
  }
161
- const KeepViewAlive = /* @__PURE__ */ function() {
162
- return __component__.exports;
114
+ const b = /* @__PURE__ */ function() {
115
+ return T.exports;
163
116
  }();
164
117
  export {
165
- KeepViewAlive as default
118
+ b as default
166
119
  };
@@ -1,28 +1,24 @@
1
- import { n as normalizeComponent } from "../../chunks/3d28cc08.js";
2
- var render = function() {
3
- var _vm = this;
4
- var _h = _vm.$createElement;
5
- var _c = _vm._self._c || _h;
6
- return _c("div", {
1
+ import { n as o } from "../../chunks/5d4282fb.js";
2
+ var s = function() {
3
+ var t = this, e = t.$createElement, n = t._self._c || e;
4
+ return n("div", {
7
5
  staticClass: "loading-view",
8
6
  style: {
9
- fontSize: _vm.fontSize,
10
- height: _vm.height
7
+ fontSize: t.fontSize,
8
+ height: t.height
11
9
  }
12
- }, [_vm._t("default", function() {
13
- return [_c("div", {
10
+ }, [t._t("default", function() {
11
+ return [n("div", {
14
12
  staticClass: "flex-column horizon-center"
15
- }, [_c("i", {
13
+ }, [n("i", {
16
14
  staticClass: "el-icon-loading",
17
15
  style: {
18
- fontSize: _vm.iconSize
16
+ fontSize: t.iconSize
19
17
  }
20
- }), _c("p", [_vm._v(_vm._s(_vm.loadingTips))])])];
18
+ }), n("p", [t._v(t._s(t.loadingTips))])])];
21
19
  })], 2);
22
- };
23
- var staticRenderFns = [];
24
- const LoadingView_vue_vue_type_style_index_0_lang = "";
25
- const __vue2_script = {
20
+ }, a = [];
21
+ const l = {
26
22
  name: "LoadingView",
27
23
  props: {
28
24
  loadingTips: {
@@ -42,26 +38,24 @@ const __vue2_script = {
42
38
  default: "100%"
43
39
  }
44
40
  }
45
- };
46
- const __cssModules = {};
47
- var __component__ = /* @__PURE__ */ normalizeComponent(
48
- __vue2_script,
49
- render,
50
- staticRenderFns,
51
- false,
52
- __vue2_injectStyles,
41
+ }, i = {};
42
+ var r = /* @__PURE__ */ o(
43
+ l,
44
+ s,
45
+ a,
46
+ !1,
47
+ _,
53
48
  null,
54
49
  null,
55
50
  null
56
51
  );
57
- function __vue2_injectStyles(context) {
58
- for (let o in __cssModules) {
59
- this[o] = __cssModules[o];
60
- }
52
+ function _(t) {
53
+ for (let e in i)
54
+ this[e] = i[e];
61
55
  }
62
- const LoadingView = /* @__PURE__ */ function() {
63
- return __component__.exports;
56
+ const u = /* @__PURE__ */ function() {
57
+ return r.exports;
64
58
  }();
65
59
  export {
66
- LoadingView as default
60
+ u as default
67
61
  };
@@ -1,17 +1 @@
1
- /* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
2
- /* 应用头部高度 */
3
- /* 页面宽度 */
4
- /* 侧栏宽度 */
5
- /* 标签高度 */
6
- /* 页面头部工具条高度 */
7
- .loading-view {
8
- position: relative;
9
- display: flex;
10
- align-items: center;
11
- justify-content: center;
12
- width: 100%;
13
- height: 100%;
14
- color: #909399;
15
- font-size: 20px;
16
- background-color: #fff;
17
- }
1
+ .loading-view{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#909399;font-size:20px;background-color:#fff}
@@ -1,62 +1,52 @@
1
- import { n as normalizeComponent } from "../../chunks/3d28cc08.js";
2
- var render = function() {
3
- var _vm = this;
4
- var _h = _vm.$createElement;
5
- var _c = _vm._self._c || _h;
6
- return _c("div", {
1
+ import { n as a } from "../../chunks/5d4282fb.js";
2
+ var r = function() {
3
+ var t = this, e = t.$createElement, n = t._self._c || e;
4
+ return n("div", {
7
5
  staticClass: "nav-bar"
8
- }, [_vm.showBack ? _c("ElButton", {
6
+ }, [t.showBack ? n("ElButton", {
9
7
  attrs: {
10
- "type": "text",
11
- "icon": "el-icon-arrow-left"
8
+ type: "text",
9
+ icon: "el-icon-arrow-left"
12
10
  },
13
11
  on: {
14
- "click": _vm.goBack
12
+ click: t.goBack
15
13
  }
16
- }, [_vm._v(" 返回 ")]) : _vm._e(), _vm.$slots.right ? _c("div", {
14
+ }, [t._v(" 返回 ")]) : t._e(), t.$slots.right ? n("div", {
17
15
  staticClass: "flex-item flex-row-column vertical-center"
18
- }, [_vm._t("right")], 2) : _vm._e()], 1);
19
- };
20
- var staticRenderFns = [];
21
- const NavBar_vue_vue_type_style_index_0_lang = "";
22
- const __vue2_script = {
16
+ }, [t._t("right")], 2) : t._e()], 1);
17
+ }, s = [];
18
+ const c = {
23
19
  name: "NavBar",
24
20
  props: {
25
21
  onGoBack: Function,
26
22
  showBack: {
27
23
  type: Boolean,
28
- default: true
24
+ default: !0
29
25
  }
30
26
  },
31
27
  methods: {
32
28
  goBack() {
33
- if (this.onGoBack) {
34
- this.onGoBack();
35
- } else {
36
- this.$router.back();
37
- }
29
+ this.onGoBack ? this.onGoBack() : this.$router.back();
38
30
  }
39
31
  }
40
- };
41
- const __cssModules = {};
42
- var __component__ = /* @__PURE__ */ normalizeComponent(
43
- __vue2_script,
44
- render,
45
- staticRenderFns,
46
- false,
47
- __vue2_injectStyles,
32
+ }, o = {};
33
+ var l = /* @__PURE__ */ a(
34
+ c,
35
+ r,
36
+ s,
37
+ !1,
38
+ i,
48
39
  null,
49
40
  null,
50
41
  null
51
42
  );
52
- function __vue2_injectStyles(context) {
53
- for (let o in __cssModules) {
54
- this[o] = __cssModules[o];
55
- }
43
+ function i(t) {
44
+ for (let e in o)
45
+ this[e] = o[e];
56
46
  }
57
- const NavBar = /* @__PURE__ */ function() {
58
- return __component__.exports;
47
+ const u = /* @__PURE__ */ function() {
48
+ return l.exports;
59
49
  }();
60
50
  export {
61
- NavBar as default
51
+ u as default
62
52
  };
@@ -1,17 +1 @@
1
- /* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
2
- /* 应用头部高度 */
3
- /* 页面宽度 */
4
- /* 侧栏宽度 */
5
- /* 标签高度 */
6
- /* 页面头部工具条高度 */
7
- .nav-bar {
8
- flex-shrink: 0;
9
- display: flex;
10
- width: 100%;
11
- height: 40px;
12
- background-color: #fff;
13
- border-bottom: 1px #eee solid;
14
- }
15
- .nav-bar .el-button--text {
16
- margin-left: 12px;
17
- }
1
+ .nav-bar{flex-shrink:0;display:flex;width:100%;height:40px;background-color:#fff;border-bottom:1px #eee solid}.nav-bar .el-button--text{margin-left:12px}