@web-utils/component 2.70.0 → 3.0.1

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 (189) hide show
  1. package/address-input/index.mjs +16 -14
  2. package/awesome-button/index.mjs +30 -29
  3. package/card/index.mjs +42 -40
  4. package/carousel/index.mjs +27 -25
  5. package/chat/index.mjs +70 -59
  6. package/chunk-file-uploader/index.mjs +594 -35
  7. package/chunk-file-uploader/style.css +1 -1
  8. package/chunks/CountUp.f1a19f35.mjs +124 -0
  9. package/chunks/CountUp.vue_vue_type_template_lang.1f68c96e.mjs +8 -0
  10. package/chunks/EasyPopup.vue_vue_type_style_index_0_lang.89350bda.mjs +32 -0
  11. package/chunks/EditableTree.vue_vue_type_style_index_0_lang.5dba9f89.mjs +356 -0
  12. package/chunks/ElementDialog.d8f3105c.mjs +211 -0
  13. package/chunks/ElementDialog.vue_vue_type_style_index_0_lang.57cb8e07.mjs +95 -0
  14. package/chunks/EmptyView.e2430422.mjs +51 -0
  15. package/chunks/EmptyView.vue_vue_type_style_index_0_lang.ffa84770.mjs +23 -0
  16. package/chunks/FlowNode.vue_vue_type_template_lang.662bdcfa.mjs +37 -0
  17. package/chunks/FormInput.vue_vue_type_template_lang.3cb79386.mjs +65 -0
  18. package/chunks/FormItem.2920ac0c.mjs +45 -0
  19. package/chunks/FormItem.vue_vue_type_style_index_0_lang.970bd712.mjs +258 -0
  20. package/chunks/FormItemGroup.41daddb6.mjs +64 -0
  21. package/chunks/FormItemGroup.vue_vue_type_style_index_0_lang.b588a8ea.mjs +155 -0
  22. package/chunks/FyCurd.8acd2983.mjs +548 -0
  23. package/chunks/FyCurd.vue_vue_type_style_index_0_lang.4fbd4b30.mjs +2945 -0
  24. package/chunks/FyDate.vue_vue_type_style_index_0_lang.429c03e3.mjs +47 -0
  25. package/chunks/FyDynamic.vue_vue_type_style_index_0_lang.304417ce.mjs +151 -0
  26. package/chunks/FyEmpty.vue_vue_type_style_index_0_lang.fc8bd24c.mjs +22 -0
  27. package/chunks/FyForm.0294e494.mjs +439 -0
  28. package/chunks/FyForm.vue_vue_type_style_index_0_lang.6e64daee.mjs +737 -0
  29. package/chunks/FyInput.vue_vue_type_template_lang.d2c56811.mjs +93 -0
  30. package/chunks/FyInputColor.vue_vue_type_template_lang.6eca0ddd.mjs +56 -0
  31. package/chunks/FyInputIcon.vue_vue_type_style_index_0_lang.11a6a221.mjs +158 -0
  32. package/chunks/FyRate.vue_vue_type_style_index_0_lang.82174185.mjs +39 -0
  33. package/chunks/FySelect.vue_vue_type_style_index_0_lang.5f0f3244.mjs +102 -0
  34. package/chunks/FyTabs.vue_vue_type_template_lang.66af5ac9.mjs +41 -0
  35. package/chunks/HighlightJS.vue_vue_type_style_index_0_lang.fefeaa3b.mjs +15 -0
  36. package/chunks/IconTemp.42c48e1f.mjs +32 -0
  37. package/chunks/IconTemp.vue_vue_type_style_index_0_lang.a0777b31.mjs +23 -0
  38. package/chunks/InputNumber.vue_vue_type_style_index_0_lang.18046bd3.mjs +172 -0
  39. package/chunks/LoadingView.vue_vue_type_style_index_0_lang.4c3fff2a.mjs +23 -0
  40. package/chunks/NavBar.vue_vue_type_style_index_0_lang.e21b57f3.mjs +21 -0
  41. package/chunks/Page.81f4b8d9.mjs +32 -0
  42. package/chunks/Page.vue_vue_type_style_index_0_lang.cb4f9bf2.mjs +13 -0
  43. package/chunks/PageHeader.vue_vue_type_style_index_0_lang.3bcca5aa.mjs +26 -0
  44. package/chunks/PageSkeleton.vue_vue_type_style_index_0_lang.8621381f.mjs +88 -0
  45. package/chunks/PageableTable.333cbdc1.mjs +335 -0
  46. package/chunks/PageableTable.vue_vue_type_style_index_0_lang.fd89fb43.mjs +148 -0
  47. package/chunks/ResizeObserver.60f728f0.mjs +54 -0
  48. package/chunks/ResizeObserver.vue_vue_type_style_index_0_lang.7079029c.mjs +13 -0
  49. package/chunks/TableColumn.8503272e.mjs +106 -0
  50. package/chunks/Toolbar.5c539dbb.mjs +24 -0
  51. package/chunks/Toolbar.vue_vue_type_style_index_0_lang.7594243c.mjs +275 -0
  52. package/chunks/ToolbarButton.vue_vue_type_style_index_0_lang.e2cb14ba.mjs +31 -0
  53. package/chunks/XInputTag.vue_vue_type_style_index_0_lang.7ad045b3.mjs +74 -0
  54. package/chunks/confirmable-mixin.26e1d0e0.mjs +197 -0
  55. package/chunks/{dataformat.f995e2f9.mjs → dataformat.816df805.mjs} +5 -5
  56. package/chunks/{dic.eaac0823.mjs → dic.3b4ba802.mjs} +40 -40
  57. package/chunks/{event.b5d855dd.mjs → event.4377230d.mjs} +2 -2
  58. package/chunks/{index.57f871af.mjs → index.d91bd77a.mjs} +7 -7
  59. package/chunks/{init.47f219b4.mjs → init.f0a03127.mjs} +2 -2
  60. package/chunks/{util.ae730cde.mjs → util.7844e2c2.mjs} +21 -21
  61. package/color-picker/index.mjs +200 -32
  62. package/confirm-button/index.mjs +1 -1
  63. package/confirmable/index.mjs +1 -1
  64. package/count-up/index.mjs +14 -17
  65. package/data-box/index.mjs +36 -33
  66. package/data-card/index.mjs +35 -33
  67. package/data-cardtext/index.mjs +29 -27
  68. package/data-display/index.mjs +37 -34
  69. package/data-icons/index.mjs +32 -29
  70. package/data-imgtext/index.mjs +30 -27
  71. package/data-operatext/index.mjs +41 -39
  72. package/data-panel/index.mjs +39 -36
  73. package/data-pay/index.mjs +26 -22
  74. package/data-price/index.mjs +34 -32
  75. package/data-progress/index.mjs +32 -28
  76. package/data-rotate/index.mjs +38 -35
  77. package/data-table-picker/index.mjs +25 -22
  78. package/data-tabs/index.mjs +35 -32
  79. package/dialog-form/index.mjs +41 -32
  80. package/dynamic-table/index.mjs +47 -42
  81. package/easy-popup/index.mjs +29 -56
  82. package/editable-progress/index.mjs +16 -14
  83. package/editable-tree/index.mjs +129 -476
  84. package/egd-collapse-item/index.mjs +1 -2
  85. package/element-dialog/index.mjs +37 -126
  86. package/empty-view/index.mjs +13 -31
  87. package/flex-column/index.mjs +1 -1
  88. package/flex-item/index.mjs +1 -1
  89. package/flex-row/index.mjs +1 -1
  90. package/flow/index.mjs +105 -40
  91. package/flow-designer/index.mjs +1190 -1114
  92. package/flow-node/index.mjs +15 -47
  93. package/flow-viewer/index.mjs +167 -78
  94. package/form-block/index.mjs +24 -22
  95. package/form-cascader/index.mjs +29 -29
  96. package/form-checkbox-group/index.mjs +76 -31
  97. package/form-date-picker/index.mjs +21 -20
  98. package/form-holder/index.mjs +16 -15
  99. package/form-input/index.mjs +30 -88
  100. package/form-input-email/index.mjs +28 -28
  101. package/form-input-id-card/index.mjs +37 -37
  102. package/form-input-number/index.mjs +219 -59
  103. package/form-input-phone-number/index.mjs +25 -25
  104. package/form-input-tag/index.mjs +160 -38
  105. package/form-input-time/index.mjs +23 -23
  106. package/form-item/index.mjs +15 -144
  107. package/form-item-group/index.mjs +15 -163
  108. package/form-radio-group/index.mjs +39 -38
  109. package/form-select/index.mjs +33 -32
  110. package/form-switch/index.mjs +26 -26
  111. package/form-textarea/index.mjs +26 -26
  112. package/form-view/index.mjs +46 -42
  113. package/fy-array/index.mjs +65 -61
  114. package/fy-cascader/index.mjs +14 -13
  115. package/fy-checkbox/index.mjs +37 -32
  116. package/fy-code/index.mjs +11 -14
  117. package/fy-curd/index.mjs +206 -2795
  118. package/fy-date/index.mjs +16 -57
  119. package/fy-draggable/index.mjs +21 -20
  120. package/fy-dynamic/index.mjs +64 -207
  121. package/fy-empty/index.mjs +12 -29
  122. package/fy-form/index.mjs +178 -732
  123. package/fy-form-design/index.mjs +1738 -1179
  124. package/fy-input/index.mjs +15 -101
  125. package/fy-input-color/index.mjs +17 -66
  126. package/fy-input-icon/index.mjs +21 -116
  127. package/fy-input-map/index.mjs +27 -24
  128. package/fy-input-number/index.mjs +23 -22
  129. package/fy-input-table/index.mjs +22 -18
  130. package/fy-input-tree/index.mjs +32 -28
  131. package/fy-progress/index.mjs +24 -23
  132. package/fy-radio/index.mjs +23 -18
  133. package/fy-rate/index.mjs +16 -49
  134. package/fy-select/index.mjs +29 -122
  135. package/fy-slider/index.mjs +18 -17
  136. package/fy-switch/index.mjs +21 -20
  137. package/fy-tabs/index.mjs +14 -48
  138. package/fy-time/index.mjs +20 -14
  139. package/fy-title/index.mjs +1 -1
  140. package/fy-tree/index.mjs +26 -20
  141. package/fy-u-editor/index.mjs +1 -1
  142. package/fy-upload/index.mjs +76 -74
  143. package/guide-steps/index.mjs +24 -22
  144. package/highlight-j-s/index.mjs +19 -29
  145. package/icon-temp/index.mjs +12 -30
  146. package/iframe-window/index.mjs +19 -18
  147. package/image-cropper/index.mjs +53 -51
  148. package/image-preview/index.mjs +27 -25
  149. package/input-number/index.mjs +63 -172
  150. package/input-number-range/index.mjs +24 -23
  151. package/license/index.mjs +1 -1
  152. package/loading-view/index.mjs +15 -33
  153. package/login/index.mjs +40 -35
  154. package/nav-bar/index.mjs +15 -30
  155. package/notice/index.mjs +19 -18
  156. package/package.json +1 -1
  157. package/page/index.mjs +12 -20
  158. package/page-header/index.mjs +13 -34
  159. package/page-index/index.mjs +34 -33
  160. package/page-index-top/index.mjs +100 -51
  161. package/page-skeleton/index.mjs +18 -35
  162. package/page-skeleton-new/index.mjs +16 -15
  163. package/pageable-table/index.mjs +85 -223
  164. package/pageable-view/index.mjs +34 -33
  165. package/present-view/index.mjs +75 -71
  166. package/record-video/index.mjs +1 -1
  167. package/resize-observer/index.mjs +21 -29
  168. package/search/index.mjs +29 -27
  169. package/search-popover/index.mjs +1 -1
  170. package/sign/index.mjs +1 -1
  171. package/split-pane/index.mjs +40 -45
  172. package/static-pageable-table/index.mjs +20 -18
  173. package/swiper/index.mjs +27 -25
  174. package/table-view/index.mjs +627 -89
  175. package/tag-render/index.mjs +21 -19
  176. package/text-ellipsis/index.mjs +13 -12
  177. package/tinymce-editor/index.mjs +73 -72
  178. package/toolbar/index.mjs +15 -208
  179. package/toolbar-button/index.mjs +32 -57
  180. package/verify/index.mjs +1 -1
  181. package/vue-cron/index.mjs +112 -104
  182. package/watermark/index.mjs +1 -1
  183. package/web-types.json +1 -1
  184. package/x-input-tag/index.mjs +51 -117
  185. package/chunks/FormTemp.7f91629d.mjs +0 -165
  186. package/chunks/confirmable-mixin.817b542f.mjs +0 -116
  187. package/chunks/form-input-mixin.4632ad36.mjs +0 -24
  188. package/chunks/form-item-mixin.ad148e7b.mjs +0 -140
  189. package/chunks/input-number-mixin.41a066be.mjs +0 -60
package/search/index.mjs CHANGED
@@ -1,10 +1,12 @@
1
- import { a as i } from "../chunks/util.ae730cde.mjs";
2
- import { i as n } from "../chunks/init.47f219b4.mjs";
1
+ import { D as a } from "../chunks/util.7844e2c2.mjs";
2
+ import { i as n } from "../chunks/init.f0a03127.mjs";
3
3
  import { isBlank as o } from "@web-utils/core";
4
- import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
5
- var h = function() {
4
+ import l from "element-ui/lib/col";
5
+ import u from "element-ui/lib/row";
6
+ import { n as h } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
7
+ var _ = function() {
6
8
  var t = this, e = t.$createElement, r = t._self._c || e;
7
- return r("ElRow", {
9
+ return r(u, {
8
10
  class: ["avue-search", {
9
11
  "avue--card": t.isCard
10
12
  }],
@@ -12,7 +14,7 @@ var h = function() {
12
14
  span: 24
13
15
  }
14
16
  }, t._l(t.columnOption, function(s) {
15
- return r("ElCol", {
17
+ return r(l, {
16
18
  key: s.prop,
17
19
  staticClass: "avue-search__item",
18
20
  attrs: {
@@ -24,22 +26,22 @@ var h = function() {
24
26
  staticClass: "avue-search__content"
25
27
  }, [t.mainSlot.includes(s.prop) ? t._t(s.prop, null, {
26
28
  dic: t.DIC[s.prop]
27
- }) : t._l(t.DIC[s.prop], function(a) {
29
+ }) : t._l(t.DIC[s.prop], function(p) {
28
30
  return r("span", {
29
- key: t.getKey(a, s.props, t.valueKey),
31
+ key: t.getKey(p, s.props, t.valueKey),
30
32
  class: ["avue-search__tags", {
31
- "avue-search__tags--active": t.getActive(a, s)
33
+ "avue-search__tags--active": t.getActive(p, s)
32
34
  }],
33
35
  on: {
34
- click: function(v) {
35
- return t.handleClick(s, a);
36
+ click: function(m) {
37
+ return t.handleClick(s, p);
36
38
  }
37
39
  }
38
- }, [t._v(t._s(t.getKey(a, s.props, t.labelKey)))]);
40
+ }, [t._v(t._s(t.getKey(p, s.props, t.labelKey)))]);
39
41
  })], 2)]);
40
42
  }), 1);
41
- }, u = [];
42
- const c = {
43
+ }, c = [];
44
+ const f = {
43
45
  name: "Search",
44
46
  mixins: [n],
45
47
  props: {
@@ -58,10 +60,10 @@ const c = {
58
60
  return this.parentOption.props || {};
59
61
  },
60
62
  labelKey() {
61
- return i.label;
63
+ return a.label;
62
64
  },
63
65
  valueKey() {
64
- return i.value;
66
+ return a.value;
65
67
  },
66
68
  mainSlot() {
67
69
  const t = [];
@@ -120,24 +122,24 @@ const c = {
120
122
  }
121
123
  }
122
124
  }
123
- }, p = {};
124
- var _ = /* @__PURE__ */ l(
125
+ }, i = {};
126
+ var v = /* @__PURE__ */ h(
127
+ f,
128
+ _,
125
129
  c,
126
- h,
127
- u,
128
130
  !1,
129
- f,
131
+ d,
130
132
  null,
131
133
  null,
132
134
  null
133
135
  );
134
- function f(t) {
135
- for (let e in p)
136
- this[e] = p[e];
136
+ function d(t) {
137
+ for (let e in i)
138
+ this[e] = i[e];
137
139
  }
138
- const g = /* @__PURE__ */ function() {
139
- return _.exports;
140
+ const b = /* @__PURE__ */ function() {
141
+ return v.exports;
140
142
  }();
141
143
  export {
142
- g as default
144
+ b as default
143
145
  };
@@ -16,7 +16,7 @@ var c = (t, r, e) => new Promise((s, o) => {
16
16
  });
17
17
  import { copy as d, isInContainer as p } from "@web-utils/core";
18
18
  import v from "element-ui/lib/utils/clickoutside";
19
- import { z as f } from "../chunks/util.ae730cde.mjs";
19
+ import { z as f } from "../chunks/util.7844e2c2.mjs";
20
20
  import { n as m } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
21
21
  var w = function() {
22
22
  var t = this, r = t.$createElement, e = t._self._c || r;
package/sign/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { s as g } from "../chunks/util.ae730cde.mjs";
1
+ import { s as g } from "../chunks/util.7844e2c2.mjs";
2
2
  import { n as m } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
3
  var _ = function() {
4
4
  var t = this, n = t.$createElement, s = t._self._c || n;
@@ -1,5 +1,5 @@
1
- var f = (t, e, s) => new Promise((o, i) => {
2
- var n = (r) => {
1
+ var f = (t, e, s) => new Promise((n, i) => {
2
+ var o = (r) => {
3
3
  try {
4
4
  a(s.next(r));
5
5
  } catch (l) {
@@ -11,13 +11,12 @@ var f = (t, e, s) => new Promise((o, i) => {
11
11
  } catch (l) {
12
12
  i(l);
13
13
  }
14
- }, a = (r) => r.done ? o(r.value) : Promise.resolve(r.value).then(n, g);
14
+ }, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(o, g);
15
15
  a((s = s.apply(t, e)).next());
16
16
  });
17
- import { n as d } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
18
- import v from "@web-utils/component/resize-observer";
19
- import "@web-utils/component/resize-observer/style.css";
20
- function m(t, e) {
17
+ import { _ as m } from "../chunks/ResizeObserver.60f728f0.mjs";
18
+ import { n as v } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
19
+ function x(t, e) {
21
20
  for (let s = 0; s < e.length; s++)
22
21
  if (t === e[s])
23
22
  return !0;
@@ -29,30 +28,30 @@ const h = function() {
29
28
  } : function(t, e, s) {
30
29
  t && e && s && t.attachEvent(`on${e}`, s);
31
30
  };
32
- }(), p = function() {
31
+ }(), u = function() {
33
32
  return document.removeEventListener ? function(t, e, s) {
34
33
  t && e && t.removeEventListener(e, s, !1);
35
34
  } : function(t, e, s) {
36
35
  t && e && t.detachEvent(`on${e}`, s);
37
36
  };
38
37
  }();
39
- var x = function() {
38
+ var _ = function() {
40
39
  var t = this, e = t.$createElement, s = t._self._c || e;
41
40
  return s("div", {
42
41
  class: t.classes
43
42
  }, [t.showIcon ? s("div", {
44
43
  class: t.barConClasses
45
44
  }, t._m(0), 0) : t._e()]);
46
- }, _ = [function() {
45
+ }, $ = [function() {
47
46
  var t = this, e = t.$createElement, s = t._self._c || e;
48
- return t._l(8, function(o) {
47
+ return t._l(8, function(n) {
49
48
  return s("i", {
50
- key: `trigger-${o}`,
49
+ key: `trigger-${n}`,
51
50
  class: `${t.prefix}-bar`
52
51
  });
53
52
  });
54
53
  }];
55
- const $ = {
54
+ const M = {
56
55
  name: "Trigger",
57
56
  props: {
58
57
  mode: String,
@@ -82,25 +81,25 @@ const $ = {
82
81
  return [`${this.prefix}-bar-con`, this.isVertical ? "vertical" : "horizontal"];
83
82
  }
84
83
  }
85
- }, u = {};
86
- var M = /* @__PURE__ */ d(
87
- $,
88
- x,
84
+ }, p = {};
85
+ var z = /* @__PURE__ */ v(
86
+ M,
89
87
  _,
88
+ $,
90
89
  !1,
91
- z,
90
+ S,
92
91
  null,
93
92
  null,
94
93
  null
95
94
  );
96
- function z(t) {
97
- for (let e in u)
98
- this[e] = u[e];
95
+ function S(t) {
96
+ for (let e in p)
97
+ this[e] = p[e];
99
98
  }
100
- const O = /* @__PURE__ */ function() {
101
- return M.exports;
99
+ const c = /* @__PURE__ */ function() {
100
+ return z.exports;
102
101
  }();
103
- var S = function() {
102
+ var w = function() {
104
103
  var t = this, e = t.$createElement, s = t._self._c || e;
105
104
  return s("div", {
106
105
  ref: "outerWrapper",
@@ -127,7 +126,7 @@ var S = function() {
127
126
  mousedown: t.handleMousedown
128
127
  }
129
128
  }, [t._t("trigger", function() {
130
- return [s("Trigger", {
129
+ return [s(c, {
131
130
  attrs: {
132
131
  mode: "vertical"
133
132
  }
@@ -154,7 +153,7 @@ var S = function() {
154
153
  mousedown: t.handleMousedown
155
154
  }
156
155
  }, [t._t("trigger", function() {
157
- return [s("Trigger", {
156
+ return [s(c, {
158
157
  attrs: {
159
158
  mode: "horizontal"
160
159
  }
@@ -164,18 +163,14 @@ var S = function() {
164
163
  style: {
165
164
  top: `calc(${t.offset}% + ${t.triggerSize}px)`
166
165
  }
167
- }, [t._t("bottom")], 2)]), s("ResizeObserver", {
166
+ }, [t._t("bottom")], 2)]), s(m, {
168
167
  on: {
169
168
  notify: t.resetOffset
170
169
  }
171
170
  })], 1);
172
- }, w = [];
171
+ }, O = [];
173
172
  const y = {
174
173
  name: "SplitPane",
175
- components: {
176
- Trigger: O,
177
- ResizeObserver: v
178
- },
179
174
  props: {
180
175
  value: {
181
176
  type: [Number, String],
@@ -183,7 +178,7 @@ const y = {
183
178
  },
184
179
  mode: {
185
180
  validator(t) {
186
- return m(t, ["horizontal", "vertical"]);
181
+ return x(t, ["horizontal", "vertical"]);
187
182
  },
188
183
  default: "horizontal"
189
184
  },
@@ -268,23 +263,23 @@ const y = {
268
263
  return this.valueIsPx ? e = `${this.$refs.outerWrapper[this.offsetSize] - parseFloat(t)}px` : e = 1 - t, e;
269
264
  },
270
265
  handleMove(t) {
271
- const s = (this.isHorizontal ? t.pageX : t.pageY) - this.initOffset, o = this.$refs.outerWrapper[this.offsetSize];
272
- let i = this.valueIsPx ? `${parseFloat(this.oldOffset) + s}px` : this.px2percent(o * this.oldOffset + s, o);
273
- const n = this.getAnotherOffset(i);
274
- parseFloat(i) <= parseFloat(this.computedMin) && (i = this.getMax(i, this.computedMin)), parseFloat(n) <= parseFloat(this.computedMax) && (i = this.getAnotherOffset(this.getMax(n, this.computedMax))), t.atMin = this.value === this.computedMin, t.atMax = this.valueIsPx ? this.getAnotherOffset(this.value) === this.computedMax : this.getAnotherOffset(this.value).toFixed(5) === this.computedMax.toFixed(5), this.$emit("input", i), this.$emit("on-moving", t);
266
+ const s = (this.isHorizontal ? t.pageX : t.pageY) - this.initOffset, n = this.$refs.outerWrapper[this.offsetSize];
267
+ let i = this.valueIsPx ? `${parseFloat(this.oldOffset) + s}px` : this.px2percent(n * this.oldOffset + s, n);
268
+ const o = this.getAnotherOffset(i);
269
+ parseFloat(i) <= parseFloat(this.computedMin) && (i = this.getMax(i, this.computedMin)), parseFloat(o) <= parseFloat(this.computedMax) && (i = this.getAnotherOffset(this.getMax(o, this.computedMax))), t.atMin = this.value === this.computedMin, t.atMax = this.valueIsPx ? this.getAnotherOffset(this.value) === this.computedMax : this.getAnotherOffset(this.value).toFixed(5) === this.computedMax.toFixed(5), this.$emit("input", i), this.$emit("on-moving", t);
275
270
  },
276
271
  handleUp() {
277
- this.isMoving = !1, p(window, "mousemove", this.handleMove), p(window, "mouseup", this.handleUp), this.$emit("on-move-end");
272
+ this.isMoving = !1, u(window, "mousemove", this.handleMove), u(window, "mouseup", this.handleUp), this.$emit("on-move-end");
278
273
  },
279
274
  handleMousedown(t) {
280
275
  this.initOffset = this.isHorizontal ? t.pageX : t.pageY, this.oldOffset = this.value, this.isMoving = !0, h(window, "mousemove", this.handleMove), h(window, "mouseup", this.handleUp), this.$emit("on-move-start");
281
276
  }
282
277
  }
283
- }, c = {};
284
- var F = /* @__PURE__ */ d(
278
+ }, d = {};
279
+ var F = /* @__PURE__ */ v(
285
280
  y,
286
- S,
287
281
  w,
282
+ O,
288
283
  !1,
289
284
  b,
290
285
  null,
@@ -292,12 +287,12 @@ var F = /* @__PURE__ */ d(
292
287
  null
293
288
  );
294
289
  function b(t) {
295
- for (let e in c)
296
- this[e] = c[e];
290
+ for (let e in d)
291
+ this[e] = d[e];
297
292
  }
298
- const T = /* @__PURE__ */ function() {
293
+ const E = /* @__PURE__ */ function() {
299
294
  return F.exports;
300
295
  }();
301
296
  export {
302
- T as default
297
+ E as default
303
298
  };
@@ -1,17 +1,19 @@
1
- import { chunk as n } from "@web-utils/integrations/lodash";
2
- import { n as i } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
- var o = function() {
1
+ import { chunk as s } from "@web-utils/integrations/lodash";
2
+ import o from "element-ui/lib/pagination";
3
+ import i from "element-ui/lib/table";
4
+ import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
5
+ var p = function() {
4
6
  var e = this, t = e.$createElement, a = e._self._c || t;
5
7
  return a("div", {
6
8
  staticClass: "static-pageable-table"
7
- }, [a("ElTable", e._g(e._b({
9
+ }, [a(i, e._g(e._b({
8
10
  attrs: {
9
11
  size: "mini",
10
12
  data: e.records
11
13
  }
12
14
  }, "ElTable", e.$attrs, !1), e.$listeners), [e._t("default", function() {
13
15
  return [e._v("请添加表格列")];
14
- })], 2), a("ElPagination", {
16
+ })], 2), a(o, {
15
17
  attrs: {
16
18
  "current-page": e.page.page,
17
19
  "hide-on-single-page": !0,
@@ -21,13 +23,13 @@ var o = function() {
21
23
  layout: "total, prev, pager, next"
22
24
  },
23
25
  on: {
24
- "current-change": function(s) {
25
- e.page.page = s;
26
+ "current-change": function(n) {
27
+ e.page.page = n;
26
28
  }
27
29
  }
28
30
  })], 1);
29
- }, l = [];
30
- const c = {
31
+ }, c = [];
32
+ const _ = {
31
33
  name: "StaticPageableTable",
32
34
  props: {
33
35
  rows: {
@@ -66,27 +68,27 @@ const c = {
66
68
  },
67
69
  methods: {
68
70
  fetchData() {
69
- this.records = n(this.rows, this.page.limit)[this.page.page - 1];
71
+ this.records = s(this.rows, this.page.limit)[this.page.page - 1];
70
72
  }
71
73
  }
72
74
  }, r = {};
73
- var p = /* @__PURE__ */ i(
75
+ var g = /* @__PURE__ */ l(
76
+ _,
77
+ p,
74
78
  c,
75
- o,
76
- l,
77
79
  !1,
78
- g,
80
+ u,
79
81
  null,
80
82
  null,
81
83
  null
82
84
  );
83
- function g(e) {
85
+ function u(e) {
84
86
  for (let t in r)
85
87
  this[t] = r[t];
86
88
  }
87
- const h = /* @__PURE__ */ function() {
88
- return p.exports;
89
+ const v = /* @__PURE__ */ function() {
90
+ return g.exports;
89
91
  }();
90
92
  export {
91
- h as default
93
+ v as default
92
94
  };
package/swiper/index.mjs CHANGED
@@ -1,28 +1,30 @@
1
1
  var h = (t, e, s) => new Promise((i, r) => {
2
- var d = (n) => {
2
+ var c = (n) => {
3
3
  try {
4
4
  a(s.next(n));
5
5
  } catch (o) {
6
6
  r(o);
7
7
  }
8
- }, c = (n) => {
8
+ }, u = (n) => {
9
9
  try {
10
10
  a(s.throw(n));
11
11
  } catch (o) {
12
12
  r(o);
13
13
  }
14
- }, a = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(d, c);
14
+ }, a = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(c, u);
15
15
  a((s = s.apply(t, e)).next());
16
16
  });
17
- import { getEleWidth as u } from "@web-utils/core";
18
- import p from "@web-utils/component/resize-observer";
17
+ import { getEleWidth as p } from "@web-utils/core";
18
+ import f from "@web-utils/component/resize-observer";
19
19
  import "@web-utils/component/resize-observer/style.css";
20
- import { n as f } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
21
- var w = function() {
20
+ import { _ as w } from "../chunks/ResizeObserver.60f728f0.mjs";
21
+ import l from "element-ui/lib/button";
22
+ import { n as m } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
23
+ var _ = function() {
22
24
  var t = this, e = t.$createElement, s = t._self._c || e;
23
25
  return s("div", {
24
26
  staticClass: "egd-swiper"
25
- }, [s("ElButton", {
27
+ }, [s(l, {
26
28
  staticClass: "el-carousel__arrow el-carousel__arrow--left",
27
29
  attrs: {
28
30
  disabled: t.reachedLeft,
@@ -43,7 +45,7 @@ var w = function() {
43
45
  ref: "swiperContent",
44
46
  staticClass: "egd-swiper-content",
45
47
  style: t.swiperContentStyle
46
- }, [t._t("default")], 2)]), s("ElButton", {
48
+ }, [t._t("default")], 2)]), s(l, {
47
49
  staticClass: "el-carousel__arrow el-carousel__arrow--right",
48
50
  attrs: {
49
51
  disabled: t.reachedRight,
@@ -52,16 +54,16 @@ var w = function() {
52
54
  on: {
53
55
  click: t.clickRight
54
56
  }
55
- }), s("ResizeObserver", {
57
+ }), s(w, {
56
58
  on: {
57
59
  notify: t.resize
58
60
  }
59
61
  })], 1);
60
- }, m = [];
61
- const v = {
62
+ }, v = [];
63
+ const X = {
62
64
  name: "Swiper",
63
65
  components: {
64
- ResizeObserver: p
66
+ ResizeObserver: f
65
67
  },
66
68
  data() {
67
69
  return {
@@ -99,7 +101,7 @@ const v = {
99
101
  let t = 0;
100
102
  const e = [], { children: s } = this.$refs.swiperContent;
101
103
  Array.prototype.forEach.call(s, (i) => {
102
- const r = u(i);
104
+ const r = p(i);
103
105
  t += r, e.push(r);
104
106
  }), this.childrenWidth = e, this.swiperContentWidth = t;
105
107
  },
@@ -160,24 +162,24 @@ const v = {
160
162
  this.updateDuration(!1), this.$refs.swiperContent.removeEventListener("transitionend", this.transitionend), this.$refs.swiperContent.removeEventListener("webkitTransitionEnd", this.transitionend);
161
163
  }
162
164
  }
163
- }, l = {};
164
- var _ = /* @__PURE__ */ f(
165
+ }, d = {};
166
+ var W = /* @__PURE__ */ m(
167
+ X,
168
+ _,
165
169
  v,
166
- w,
167
- m,
168
170
  !1,
169
- X,
171
+ C,
170
172
  null,
171
173
  null,
172
174
  null
173
175
  );
174
- function X(t) {
175
- for (let e in l)
176
- this[e] = l[e];
176
+ function C(t) {
177
+ for (let e in d)
178
+ this[e] = d[e];
177
179
  }
178
- const L = /* @__PURE__ */ function() {
179
- return _.exports;
180
+ const k = /* @__PURE__ */ function() {
181
+ return W.exports;
180
182
  }();
181
183
  export {
182
- L as default
184
+ k as default
183
185
  };