@keyblade/pro-components 1.13.8-alpha.39 → 1.13.8-alpha.40

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 (67) hide show
  1. package/es/index.js +1 -1
  2. package/es/pro-calendar/index.d.ts +2 -0
  3. package/es/pro-calendar/index.js +1 -0
  4. package/es/pro-date-range-picker/index.d.ts +176 -7
  5. package/es/pro-date-range-picker/interface.d.ts +2 -2
  6. package/es/pro-date-range-picker/pro-date-range-picker.vue.d.ts +171 -5
  7. package/es/pro-date-range-picker/pro-date-range-picker.vue.js +1 -1
  8. package/es/pro-date-range-picker/pro-date-range-picker.vue2.js +111 -113
  9. package/es/pro-dates-picker/index.d.ts +11 -8
  10. package/es/pro-dates-picker/index.js +8 -8
  11. package/es/pro-dates-picker/index.vue.d.ts +3 -3
  12. package/es/pro-dates-picker/index.vue.js +96 -97
  13. package/es/pro-find-password/index.d.ts +2 -0
  14. package/es/pro-find-password/index.js +5 -5
  15. package/es/pro-find-password/index.vue.d.ts +830 -66
  16. package/es/pro-find-password/index.vue.js +132 -134
  17. package/es/pro-find-password/reset-password.vue.d.ts +192 -1
  18. package/es/pro-find-password/reset-password.vue.js +120 -122
  19. package/es/pro-find-password/verify-user-name.vue.d.ts +384 -2
  20. package/es/pro-find-password/verify-user-name.vue.js +74 -76
  21. package/es/pro-footer-bar/index.d.ts +3 -0
  22. package/es/pro-footer-bar/index.vue.js +2 -2
  23. package/es/pro-footer-bar/index.vue2.js +24 -26
  24. package/es/pro-form-group/index.d.ts +1 -0
  25. package/es/pro-form-group/index.vue.js +1 -1
  26. package/es/pro-form-group/index.vue2.js +31 -32
  27. package/es/pro-image-upload/cropper.vue.js +2 -2
  28. package/es/pro-image-upload/cropper.vue2.js +198 -199
  29. package/es/pro-image-upload/image-upload.vue.d.ts +648 -2
  30. package/es/pro-image-upload/image-upload.vue.js +74 -75
  31. package/es/pro-image-upload/index.d.ts +327 -1
  32. package/es/pro-image-upload/index.js +1 -1
  33. package/es/pro-keep-alive-router-view/index.d.ts +1 -0
  34. package/es/pro-layout/index.d.ts +4 -3
  35. package/es/pro-layout/index.js +1 -1
  36. package/es/pro-layout/pro-layout.vue.d.ts +1 -1
  37. package/es/pro-layout/pro-layout.vue.js +222 -218
  38. package/es/pro-loader/index.d.ts +2 -0
  39. package/es/pro-login/form-mobile.vue.d.ts +384 -2
  40. package/es/pro-login/form-mobile.vue.js +97 -99
  41. package/es/pro-login/form-password.vue.d.ts +192 -1
  42. package/es/pro-login/form-password.vue.js +72 -74
  43. package/es/pro-login/index.d.ts +2 -0
  44. package/es/pro-login/index.vue.d.ts +831 -67
  45. package/es/pro-login/index.vue.js +62 -64
  46. package/es/pro-menu/index.d.ts +2 -0
  47. package/es/pro-menu/menu-item.vue.js +13 -13
  48. package/es/pro-menu/pro-menu.vue.js +28 -30
  49. package/es/pro-menu/sub-menu.vue.js +20 -19
  50. package/es/pro-page-container/index.d.ts +3 -0
  51. package/es/pro-page-container/pro-page-container.vue.js +46 -44
  52. package/es/pro-page-header/index.d.ts +3 -0
  53. package/es/pro-page-header/index.js +6 -6
  54. package/es/pro-page-header/pro-page-header.vue.js +78 -77
  55. package/es/pro-reuse-tabs/index.d.ts +5 -3
  56. package/es/pro-reuse-tabs/index.js +1 -1
  57. package/es/pro-reuse-tabs/pro-reuse-tabs.vue.d.ts +1 -1
  58. package/es/pro-reuse-tabs/pro-reuse-tabs.vue.js +33 -35
  59. package/es/pro-table/index.d.ts +6 -3
  60. package/es/pro-table/index.js +7 -7
  61. package/es/pro-table/index.vue.d.ts +2 -2
  62. package/es/pro-table/index.vue.js +68 -70
  63. package/es/pro-textarea/index.d.ts +7 -5
  64. package/es/pro-textarea/index.vue.js +2 -2
  65. package/es/pro-textarea/index.vue2.js +14 -16
  66. package/es/style.css +1 -1
  67. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
- import { defineComponent as u, computed as f, resolveComponent as t, createElementBlock as B, openBlock as _, normalizeClass as b, createVNode as a, withCtx as n, withDirectives as h, renderSlot as v, createTextVNode as x, toDisplayString as C, vShow as g } from "vue";
1
+ import { defineComponent as m, computed as f, createElementBlock as k, openBlock as u, normalizeClass as B, createVNode as t, unref as a, withCtx as r, withDirectives as h, renderSlot as b, createTextVNode as x, toDisplayString as _, vShow as v } from "vue";
2
+ import { Space as C, Button as S } from "@arco-design/web-vue";
2
3
  import { globalProps as c } from "../global-props.js";
3
- const w = "keyblade-pro-footer-bar", S = /* @__PURE__ */ u({
4
+ const g = "keyblade-pro-footer-bar", T = /* @__PURE__ */ m({
4
5
  __name: "index",
5
6
  props: {
6
7
  hideBack: { type: Boolean },
@@ -8,37 +9,34 @@ const w = "keyblade-pro-footer-bar", S = /* @__PURE__ */ u({
8
9
  onBack: {}
9
10
  },
10
11
  emits: ["back"],
11
- setup(r, { emit: s }) {
12
- const l = r, i = s, p = () => {
12
+ setup(n, { emit: i }) {
13
+ const l = n, s = i, d = () => {
13
14
  var e, o;
14
- i("back"), (o = (e = c.footerBar) == null ? void 0 : e.onBack) == null || o.call(e);
15
- }, d = f(() => {
15
+ s("back"), (o = (e = c.footerBar) == null ? void 0 : e.onBack) == null || o.call(e);
16
+ }, p = f(() => {
16
17
  var e;
17
18
  return l.hideBack || ((e = c.footerBar) == null ? void 0 : e.hideBack);
18
19
  });
19
- return (e, o) => {
20
- const m = t("a-button"), k = t("a-space");
21
- return _(), B("div", {
22
- class: b(w)
23
- }, [
24
- a(k, null, {
25
- default: n(() => [
26
- h(a(m, { onClick: p }, {
27
- default: n(() => [
28
- x(C(e.backText), 1)
29
- ]),
30
- _: 1
31
- }, 512), [
32
- [g, !d.value]
20
+ return (e, o) => (u(), k("div", {
21
+ class: B(g)
22
+ }, [
23
+ t(a(C), null, {
24
+ default: r(() => [
25
+ h(t(a(S), { onClick: d }, {
26
+ default: r(() => [
27
+ x(_(e.backText), 1)
33
28
  ]),
34
- v(e.$slots, "default", {}, void 0, !0)
29
+ _: 1
30
+ }, 512), [
31
+ [v, !p.value]
35
32
  ]),
36
- _: 3
37
- })
38
- ]);
39
- };
33
+ b(e.$slots, "default", {}, void 0, !0)
34
+ ]),
35
+ _: 3
36
+ })
37
+ ]));
40
38
  }
41
39
  });
42
40
  export {
43
- S as default
41
+ T as default
44
42
  };
@@ -39,5 +39,6 @@ declare const ProFormGroup: {
39
39
  }) & {
40
40
  install: (app: App) => void;
41
41
  };
42
+ /** 导出组件 */
42
43
  export { ProFormGroup };
43
44
  export default ProFormGroup;
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const _ = /* @__PURE__ */ r(o, [["__scopeId", "data-v-da3b25bd"]]);
4
+ const _ = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ba9d734f"]]);
5
5
  export {
6
6
  _ as default
7
7
  };
@@ -1,5 +1,7 @@
1
- import { defineComponent as m, resolveComponent as o, createBlock as _, openBlock as n, normalizeClass as t, withCtx as l, createVNode as r, createElementBlock as h, createCommentVNode as f, renderSlot as u, createTextVNode as i, toDisplayString as c, withDirectives as y, vShow as g } from "vue";
2
- const a = "keyblade-pro-form-group", v = /* @__PURE__ */ m({
1
+ import { defineComponent as d, createBlock as p, openBlock as t, unref as o, normalizeClass as a, withCtx as l, createVNode as n, createElementBlock as c, createCommentVNode as m, renderSlot as f, createTextVNode as i, toDisplayString as s, withDirectives as u, vShow as h } from "vue";
2
+ import { Typography as g, TypographyTitle as y } from "@arco-design/web-vue";
3
+ import { IconExclamationCircleFill as C } from "@arco-design/web-vue/es/icon";
4
+ const r = "keyblade-pro-form-group", T = /* @__PURE__ */ d({
3
5
  __name: "index",
4
6
  props: {
5
7
  label: {},
@@ -7,37 +9,34 @@ const a = "keyblade-pro-form-group", v = /* @__PURE__ */ m({
7
9
  extra: {},
8
10
  hideIcon: { type: Boolean }
9
11
  },
10
- setup(x) {
11
- return (e, C) => {
12
- const p = o("a-typography-title"), s = o("icon-exclamation-circle-fill"), d = o("a-typography");
13
- return n(), _(d, {
14
- class: t(a)
15
- }, {
16
- default: l(() => [
17
- r(p, { heading: e.heading }, {
18
- default: l(() => [
19
- i(c(e.label), 1)
20
- ]),
21
- _: 1
22
- }, 8, ["heading"]),
23
- e.extra ? (n(), h("div", {
24
- key: 0,
25
- class: t(`${a}-extra`)
26
- }, [
27
- y(r(s, {
28
- class: t(`${a}-icon`)
29
- }, null, 8, ["class"]), [
30
- [g, !e.hideIcon]
31
- ]),
32
- i(" " + c(e.extra), 1)
33
- ], 2)) : f("", !0),
34
- u(e.$slots, "default", {}, void 0, !0)
35
- ]),
36
- _: 3
37
- });
38
- };
12
+ setup(k) {
13
+ return (e, x) => (t(), p(o(g), {
14
+ class: a(r)
15
+ }, {
16
+ default: l(() => [
17
+ n(o(y), { heading: e.heading }, {
18
+ default: l(() => [
19
+ i(s(e.label), 1)
20
+ ]),
21
+ _: 1
22
+ }, 8, ["heading"]),
23
+ e.extra ? (t(), c("div", {
24
+ key: 0,
25
+ class: a(`${r}-extra`)
26
+ }, [
27
+ u(n(o(C), {
28
+ class: a(`${r}-icon`)
29
+ }, null, 8, ["class"]), [
30
+ [h, !e.hideIcon]
31
+ ]),
32
+ i(" " + s(e.extra), 1)
33
+ ], 2)) : m("", !0),
34
+ f(e.$slots, "default", {}, void 0, !0)
35
+ ]),
36
+ _: 3
37
+ }));
39
38
  }
40
39
  });
41
40
  export {
42
- v as default
41
+ T as default
43
42
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./cropper.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ r(o, [["__scopeId", "data-v-ede60dad"]]);
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-bf0218e0"]]);
5
5
  export {
6
- a as default
6
+ f as default
7
7
  };
@@ -1,19 +1,21 @@
1
- var J = Object.defineProperty, K = Object.defineProperties;
2
- var O = Object.getOwnPropertyDescriptors;
3
- var H = Object.getOwnPropertySymbols;
4
- var Q = Object.prototype.hasOwnProperty, X = Object.prototype.propertyIsEnumerable;
5
- var R = (i, l, c) => l in i ? J(i, l, { enumerable: !0, configurable: !0, writable: !0, value: c }) : i[l] = c, z = (i, l) => {
6
- for (var c in l || (l = {}))
7
- Q.call(l, c) && R(i, c, l[c]);
8
- if (H)
9
- for (var c of H(l))
10
- X.call(l, c) && R(i, c, l[c]);
11
- return i;
12
- }, I = (i, l) => K(i, O(l));
13
- import { defineComponent as Y, ref as g, computed as Z, watch as oo, resolveComponent as r, createBlock as eo, openBlock as to, normalizeClass as f, withCtx as n, createVNode as e, createElementVNode as L, mergeProps as ao, createTextVNode as S, nextTick as k } from "vue";
1
+ var F = Object.defineProperty, M = Object.defineProperties;
2
+ var P = Object.getOwnPropertyDescriptors;
3
+ var y = Object.getOwnPropertySymbols;
4
+ var U = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
5
+ var W = (c, r, i) => r in c ? F(c, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : c[r] = i, x = (c, r) => {
6
+ for (var i in r || (r = {}))
7
+ U.call(r, i) && W(c, i, r[i]);
8
+ if (y)
9
+ for (var i of y(r))
10
+ Z.call(r, i) && W(c, i, r[i]);
11
+ return c;
12
+ }, b = (c, r) => M(c, P(r));
13
+ import { defineComponent as D, ref as g, computed as G, watch as O, createBlock as q, openBlock as J, unref as o, normalizeClass as m, withCtx as n, createVNode as t, createElementVNode as H, mergeProps as K, createTextVNode as S, nextTick as k } from "vue";
14
+ import { Modal as Q, Spin as X, ButtonGroup as Y, Tooltip as v, Button as p, Space as ee } from "@arco-design/web-vue";
15
+ import { IconZoomIn as oe, IconZoomOut as te, IconRotateRight as ae, IconRotateLeft as le, IconSync as ne } from "@arco-design/web-vue/es/icon";
14
16
  import "vue-cropper/dist/index.css";
15
- import no from "vue-cropper/lib/vue-cropper.vue";
16
- const d = "keyblade-pro-image-upload-cropper", so = /* @__PURE__ */ Y({
17
+ import re from "vue-cropper/lib/vue-cropper.vue";
18
+ const d = "keyblade-pro-image-upload-cropper", fe = /* @__PURE__ */ D({
17
19
  __name: "cropper",
18
20
  props: {
19
21
  file: {},
@@ -21,210 +23,207 @@ const d = "keyblade-pro-image-upload-cropper", so = /* @__PURE__ */ Y({
21
23
  options: {}
22
24
  },
23
25
  emits: ["cancel", "confirm", "imgLoad", "reUpload"],
24
- setup(i, { expose: l, emit: c }) {
25
- const s = i, C = c, o = g(), y = g(), m = g(!0), v = g(!1), $ = Z(() => {
26
- var t;
27
- const a = (((t = s == null ? void 0 : s.file) == null ? void 0 : t.name) || "").toLowerCase();
28
- return a.endsWith(".jpg") || a.endsWith(".jpeg") ? I(z({}, s.options), {
26
+ setup(c, { expose: r, emit: i }) {
27
+ const u = c, _ = i, e = g(), I = g(), f = g(!0), h = g(!1), L = G(() => {
28
+ var a;
29
+ const l = (((a = u == null ? void 0 : u.file) == null ? void 0 : a.name) || "").toLowerCase();
30
+ return l.endsWith(".jpg") || l.endsWith(".jpeg") ? b(x({}, u.options), {
29
31
  outputType: "jpeg",
30
32
  outputSize: 0.95
31
- }) : s.options;
32
- }), h = g({
33
+ }) : u.options;
34
+ }), C = g({
33
35
  autoCropWidth: 100,
34
36
  autoCropHeight: 100
35
- }), N = () => {
36
- o.value.changeScale(1);
37
- }, j = () => {
38
- o.value.changeScale(-1);
39
- }, A = () => {
40
- o.value.rotateRight();
41
- const { w: a, h: t } = w();
37
+ }), B = () => {
38
+ e.value.changeScale(1);
39
+ }, $ = () => {
40
+ e.value.changeScale(-1);
41
+ }, N = () => {
42
+ e.value.rotateRight();
43
+ const { w: l, h: a } = w();
42
44
  k(() => {
43
- o.value.goAutoCrop(a, t);
45
+ e.value.goAutoCrop(l, a);
44
46
  });
45
- }, B = () => {
46
- o.value.rotateLeft();
47
- const { w: a, h: t } = w();
47
+ }, j = () => {
48
+ e.value.rotateLeft();
49
+ const { w: l, h: a } = w();
48
50
  k(() => {
49
- o.value.goAutoCrop(a, t);
51
+ e.value.goAutoCrop(l, a);
50
52
  });
51
- }, V = () => {
52
- o.value.reload(), o.value.rotateClear(), k(() => {
53
- o.value.goAutoCrop();
53
+ }, z = () => {
54
+ e.value.reload(), e.value.rotateClear(), k(() => {
55
+ e.value.goAutoCrop();
54
56
  });
55
- }, W = () => {
56
- C("cancel");
57
- }, T = () => {
58
- m.value || v.value || (v.value = !0, o.value.getCropBlob((a) => {
59
- v.value = !1;
60
- const t = new File([a], s.file.name, { type: "image/jpeg" });
61
- C("confirm", t);
57
+ }, R = () => {
58
+ _("cancel");
59
+ }, A = () => {
60
+ f.value || h.value || (h.value = !0, e.value.getCropBlob((l) => {
61
+ h.value = !1;
62
+ const a = new File([l], u.file.name, { type: "image/jpeg" });
63
+ _("confirm", a);
62
64
  }));
63
- }, E = () => {
64
- m.value = !1;
65
- const { w: a, h: t } = w();
66
- h.value.autoCropWidth = a, h.value.autoCropHeight = t, C("imgLoad", s.file);
65
+ }, T = () => {
66
+ f.value = !1;
67
+ const { w: l, h: a } = w();
68
+ C.value.autoCropWidth = l, C.value.autoCropHeight = a, _("imgLoad", u.file);
67
69
  }, w = () => {
68
- const a = Math.abs(o.value.rotate) % 2 > 0, t = (a ? o.value.trueHeight : o.value.trueWidth) * o.value.scale, p = (a ? o.value.trueWidth : o.value.trueHeight) * o.value.scale;
69
- return { w: t, h: p };
70
+ const l = Math.abs(e.value.rotate) % 2 > 0, a = (l ? e.value.trueHeight : e.value.trueWidth) * e.value.scale, s = (l ? e.value.trueWidth : e.value.trueHeight) * e.value.scale;
71
+ return { w: a, h: s };
70
72
  };
71
- return oo(
72
- () => s.file,
73
+ return O(
74
+ () => u.file,
73
75
  () => {
74
- if (s.file) {
75
- m.value = !0, o.value && o.value.clearCrop();
76
- const a = new FileReader();
77
- a.onloadend = () => {
78
- const t = a.result, p = new Image();
79
- p.onload = () => {
80
- const b = p.width, u = p.height;
81
- y.value = {
82
- data: t,
83
- width: b,
84
- height: u
76
+ if (u.file) {
77
+ f.value = !0, e.value && e.value.clearCrop();
78
+ const l = new FileReader();
79
+ l.onloadend = () => {
80
+ const a = l.result, s = new Image();
81
+ s.onload = () => {
82
+ const V = s.width, E = s.height;
83
+ I.value = {
84
+ data: a,
85
+ width: V,
86
+ height: E
85
87
  };
86
- }, p.src = t;
87
- }, a.readAsDataURL(s.file);
88
+ }, s.src = a;
89
+ }, l.readAsDataURL(u.file);
88
90
  }
89
91
  },
90
92
  { immediate: !0 }
91
- ), l({
92
- cropperInsRef: o
93
- }), (a, t) => {
94
- const p = r("a-spin"), b = r("icon-zoom-in"), u = r("a-button"), _ = r("a-tooltip"), F = r("icon-zoom-out"), P = r("icon-rotate-right"), U = r("icon-rotate-left"), D = r("icon-sync"), M = r("a-button-group"), q = r("a-space"), G = r("a-modal");
95
- return to(), eo(G, {
96
- "render-to-body": "",
97
- class: f(`${d}-dialog`),
98
- title: "编辑图片",
99
- width: "675px",
100
- visible: !0,
101
- footer: !1,
102
- "mask-closable": !1,
103
- "esc-to-close": !1,
104
- "unmount-on-close": "",
105
- onCancel: W
106
- }, {
107
- default: n(() => [
108
- e(p, {
109
- class: f(`${d}-dialog-cropper-wrapper`),
110
- loading: m.value
93
+ ), r({
94
+ cropperInsRef: e
95
+ }), (l, a) => (J(), q(o(Q), {
96
+ "render-to-body": "",
97
+ class: m(`${d}-dialog`),
98
+ title: "编辑图片",
99
+ width: "675px",
100
+ visible: !0,
101
+ footer: !1,
102
+ "mask-closable": !1,
103
+ "esc-to-close": !1,
104
+ "unmount-on-close": "",
105
+ onCancel: R
106
+ }, {
107
+ default: n(() => [
108
+ t(o(X), {
109
+ class: m(`${d}-dialog-cropper-wrapper`),
110
+ loading: f.value
111
+ }, {
112
+ default: n(() => {
113
+ var s;
114
+ return [
115
+ t(re, K({
116
+ ref_key: "cropperInsRef",
117
+ ref: e,
118
+ class: `${d}-dialog-cropper`,
119
+ img: (s = I.value) == null ? void 0 : s.data,
120
+ info: !1,
121
+ autoCrop: !0,
122
+ autoCropWidth: C.value.autoCropWidth,
123
+ autoCropHeight: C.value.autoCropHeight,
124
+ full: !0
125
+ }, L.value, { onImgLoad: T }), null, 16, ["class", "img", "autoCropWidth", "autoCropHeight"])
126
+ ];
127
+ }),
128
+ _: 1
129
+ }, 8, ["class", "loading"]),
130
+ H("div", {
131
+ class: m(`${d}-dialog-operate`)
132
+ }, [
133
+ t(o(Y), { type: "primary" }, {
134
+ default: n(() => [
135
+ t(o(v), { content: "放大" }, {
136
+ default: n(() => [
137
+ t(o(p), { onClick: B }, {
138
+ icon: n(() => [
139
+ t(o(oe))
140
+ ]),
141
+ _: 1
142
+ })
143
+ ]),
144
+ _: 1
145
+ }),
146
+ t(o(v), { content: "缩小" }, {
147
+ default: n(() => [
148
+ t(o(p), { onClick: $ }, {
149
+ icon: n(() => [
150
+ t(o(te))
151
+ ]),
152
+ _: 1
153
+ })
154
+ ]),
155
+ _: 1
156
+ }),
157
+ t(o(v), { content: "向右旋转" }, {
158
+ default: n(() => [
159
+ t(o(p), { onClick: N }, {
160
+ icon: n(() => [
161
+ t(o(ae))
162
+ ]),
163
+ _: 1
164
+ })
165
+ ]),
166
+ _: 1
167
+ }),
168
+ t(o(v), { content: "向左旋转" }, {
169
+ default: n(() => [
170
+ t(o(p), { onClick: j }, {
171
+ icon: n(() => [
172
+ t(o(le))
173
+ ]),
174
+ _: 1
175
+ })
176
+ ]),
177
+ _: 1
178
+ }),
179
+ t(o(v), { content: "重置" }, {
180
+ default: n(() => [
181
+ t(o(p), { onClick: z }, {
182
+ icon: n(() => [
183
+ t(o(ne))
184
+ ]),
185
+ _: 1
186
+ })
187
+ ]),
188
+ _: 1
189
+ })
190
+ ]),
191
+ _: 1
192
+ })
193
+ ], 2),
194
+ H("div", {
195
+ class: m(`${d}-dialog-footer`)
196
+ }, [
197
+ t(o(ee), {
198
+ class: m(`${d}-dialog-footer-right`)
111
199
  }, {
112
- default: n(() => {
113
- var x;
114
- return [
115
- e(no, ao({
116
- ref_key: "cropperInsRef",
117
- ref: o,
118
- class: `${d}-dialog-cropper`,
119
- img: (x = y.value) == null ? void 0 : x.data,
120
- info: !1,
121
- autoCrop: !0,
122
- autoCropWidth: h.value.autoCropWidth,
123
- autoCropHeight: h.value.autoCropHeight,
124
- full: !0
125
- }, $.value, { onImgLoad: E }), null, 16, ["class", "img", "autoCropWidth", "autoCropHeight"])
126
- ];
127
- }),
200
+ default: n(() => [
201
+ t(o(p), { onClick: R }, {
202
+ default: n(() => a[0] || (a[0] = [
203
+ S("取消")
204
+ ])),
205
+ _: 1
206
+ }),
207
+ t(o(p), {
208
+ disabled: f.value,
209
+ type: "primary",
210
+ onClick: A,
211
+ loading: h.value
212
+ }, {
213
+ default: n(() => a[1] || (a[1] = [
214
+ S("确定")
215
+ ])),
216
+ _: 1
217
+ }, 8, ["disabled", "loading"])
218
+ ]),
128
219
  _: 1
129
- }, 8, ["class", "loading"]),
130
- L("div", {
131
- class: f(`${d}-dialog-operate`)
132
- }, [
133
- e(M, { type: "primary" }, {
134
- default: n(() => [
135
- e(_, { content: "放大" }, {
136
- default: n(() => [
137
- e(u, { onClick: N }, {
138
- icon: n(() => [
139
- e(b)
140
- ]),
141
- _: 1
142
- })
143
- ]),
144
- _: 1
145
- }),
146
- e(_, { content: "缩小" }, {
147
- default: n(() => [
148
- e(u, { onClick: j }, {
149
- icon: n(() => [
150
- e(F)
151
- ]),
152
- _: 1
153
- })
154
- ]),
155
- _: 1
156
- }),
157
- e(_, { content: "向右旋转" }, {
158
- default: n(() => [
159
- e(u, { onClick: A }, {
160
- icon: n(() => [
161
- e(P)
162
- ]),
163
- _: 1
164
- })
165
- ]),
166
- _: 1
167
- }),
168
- e(_, { content: "向左旋转" }, {
169
- default: n(() => [
170
- e(u, { onClick: B }, {
171
- icon: n(() => [
172
- e(U)
173
- ]),
174
- _: 1
175
- })
176
- ]),
177
- _: 1
178
- }),
179
- e(_, { content: "重置" }, {
180
- default: n(() => [
181
- e(u, { onClick: V }, {
182
- icon: n(() => [
183
- e(D)
184
- ]),
185
- _: 1
186
- })
187
- ]),
188
- _: 1
189
- })
190
- ]),
191
- _: 1
192
- })
193
- ], 2),
194
- L("div", {
195
- class: f(`${d}-dialog-footer`)
196
- }, [
197
- e(q, {
198
- class: f(`${d}-dialog-footer-right`)
199
- }, {
200
- default: n(() => [
201
- e(u, { onClick: W }, {
202
- default: n(() => t[0] || (t[0] = [
203
- S("取消")
204
- ])),
205
- _: 1
206
- }),
207
- e(u, {
208
- disabled: m.value,
209
- type: "primary",
210
- onClick: T,
211
- loading: v.value
212
- }, {
213
- default: n(() => t[1] || (t[1] = [
214
- S("确定")
215
- ])),
216
- _: 1
217
- }, 8, ["disabled", "loading"])
218
- ]),
219
- _: 1
220
- }, 8, ["class"])
221
- ], 2)
222
- ]),
223
- _: 1
224
- }, 8, ["class"]);
225
- };
220
+ }, 8, ["class"])
221
+ ], 2)
222
+ ]),
223
+ _: 1
224
+ }, 8, ["class"]));
226
225
  }
227
226
  });
228
227
  export {
229
- so as default
228
+ fe as default
230
229
  };