@keyblade/pro-components 1.12.16 → 1.12.17

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.
@@ -0,0 +1,70 @@
1
+ import { App } from 'vue';
2
+ declare const ProDateRangePicker: {
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
4
+ modelValue: import('./type').IModelValue;
5
+ startField?: string;
6
+ endField?: string;
7
+ startPlaceholder?: string;
8
+ endPlaceholder?: string;
9
+ separator?: string;
10
+ }> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: import('./type').IModelValue) => any) | undefined;
12
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
+ "update:modelValue": (value: import('./type').IModelValue) => any;
14
+ }, import('vue').PublicProps, {
15
+ startField: string;
16
+ endField: string;
17
+ startPlaceholder: string;
18
+ endPlaceholder: string;
19
+ separator: string;
20
+ }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
21
+ startDatePickerRef: unknown;
22
+ endDatePickerRef: unknown;
23
+ }, HTMLDivElement, import('vue').ComponentProvideOptions, {
24
+ P: {};
25
+ B: {};
26
+ D: {};
27
+ C: {};
28
+ M: {};
29
+ Defaults: {};
30
+ }, Readonly<{
31
+ modelValue: import('./type').IModelValue;
32
+ startField?: string;
33
+ endField?: string;
34
+ startPlaceholder?: string;
35
+ endPlaceholder?: string;
36
+ separator?: string;
37
+ }> & Readonly<{
38
+ "onUpdate:modelValue"?: ((value: import('./type').IModelValue) => any) | undefined;
39
+ }>, {}, {}, {}, {}, {
40
+ startField: string;
41
+ endField: string;
42
+ startPlaceholder: string;
43
+ endPlaceholder: string;
44
+ separator: string;
45
+ }>;
46
+ __isFragment?: never;
47
+ __isTeleport?: never;
48
+ __isSuspense?: never;
49
+ } & import('vue').ComponentOptionsBase<Readonly<{
50
+ modelValue: import('./type').IModelValue;
51
+ startField?: string;
52
+ endField?: string;
53
+ startPlaceholder?: string;
54
+ endPlaceholder?: string;
55
+ separator?: string;
56
+ }> & Readonly<{
57
+ "onUpdate:modelValue"?: ((value: import('./type').IModelValue) => any) | undefined;
58
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
59
+ "update:modelValue": (value: import('./type').IModelValue) => any;
60
+ }, string, {
61
+ startField: string;
62
+ endField: string;
63
+ startPlaceholder: string;
64
+ endPlaceholder: string;
65
+ separator: string;
66
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
67
+ install: (app: App) => void;
68
+ };
69
+ export { ProDateRangePicker };
70
+ export default ProDateRangePicker;
@@ -1,6 +1,4 @@
1
- interface IModelValue {
2
- [key: string]: string;
3
- }
1
+ import { IModelValue } from './type.ts';
4
2
  type __VLS_Props = {
5
3
  modelValue: IModelValue;
6
4
  startField?: string;
@@ -1,7 +1,7 @@
1
1
  import o from "./pro-date-range-picker.vue2.js";
2
2
  /* empty css */
3
- import a from "../_virtual/_plugin-vue_export-helper.js";
4
- const _ = /* @__PURE__ */ a(o, [["__scopeId", "data-v-a2d94a6c"]]);
3
+ import r from "../_virtual/_plugin-vue_export-helper.js";
4
+ const _ = /* @__PURE__ */ r(o, [["__scopeId", "data-v-8dc7d86d"]]);
5
5
  export {
6
6
  _ as default
7
7
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as C, ref as f, computed as V, resolveComponent as k, createElementBlock as v, openBlock as P, normalizeClass as E, createVNode as d, withCtx as n, createTextVNode as S, toDisplayString as R, nextTick as h } from "vue";
2
- import o from "dayjs";
3
- const T = "keyblade-pro-date-range-picker", N = /* @__PURE__ */ C({
1
+ import { defineComponent as C, useAttrs as E, computed as n, ref as V, resolveComponent as k, createElementBlock as S, openBlock as R, normalizeClass as T, createVNode as d, withCtx as s, createTextVNode as x, toDisplayString as A, mergeProps as B, nextTick as h } from "vue";
2
+ import r from "dayjs";
3
+ const N = "keyblade-pro-date-range-picker", $ = /* @__PURE__ */ C({
4
4
  __name: "pro-date-range-picker",
5
5
  props: {
6
6
  modelValue: {},
@@ -11,8 +11,11 @@ const T = "keyblade-pro-date-range-picker", N = /* @__PURE__ */ C({
11
11
  separator: { default: "至" }
12
12
  },
13
13
  emits: ["update:modelValue"],
14
- setup(D, { emit: F }) {
15
- const e = D, i = F, s = f(), u = f(), m = V({
14
+ setup(D, { emit: g }) {
15
+ const e = D, F = E(), _ = n(() => {
16
+ const { class: t, ...l } = F;
17
+ return l;
18
+ }), i = g, u = V(), m = V(), c = n({
16
19
  get: () => e.modelValue[e.startField],
17
20
  set: (t) => {
18
21
  i("update:modelValue", {
@@ -20,7 +23,7 @@ const T = "keyblade-pro-date-range-picker", N = /* @__PURE__ */ C({
20
23
  [e.startField]: t
21
24
  });
22
25
  }
23
- }), p = V({
26
+ }), p = n({
24
27
  get: () => e.modelValue[e.endField],
25
28
  set: (t) => {
26
29
  i("update:modelValue", {
@@ -28,11 +31,11 @@ const T = "keyblade-pro-date-range-picker", N = /* @__PURE__ */ C({
28
31
  [e.endField]: t
29
32
  });
30
33
  }
31
- }), g = (t) => e.modelValue.endDate ? o(t).isAfter(o(e.modelValue[e.startField])) : !1, b = (t) => e.modelValue.startDate ? o(t).isBefore(o(e.modelValue[e.endField])) : !1, _ = () => {
34
+ }), b = (t) => e.modelValue.endDate ? r(t).isAfter(r(e.modelValue[e.startField])) : !1, P = (t) => e.modelValue.startDate ? r(t).isBefore(r(e.modelValue[e.endField])) : !1, v = () => {
32
35
  setTimeout(() => {
33
36
  e.modelValue[e.startField] && !e.modelValue[e.endField] && h(() => {
34
37
  var l;
35
- const t = (l = u.value) == null ? void 0 : l.$el.parentElement.querySelector("input");
38
+ const t = (l = m.value) == null ? void 0 : l.$el.parentElement.querySelector("input");
36
39
  t && t.click();
37
40
  });
38
41
  });
@@ -40,57 +43,58 @@ const T = "keyblade-pro-date-range-picker", N = /* @__PURE__ */ C({
40
43
  setTimeout(() => {
41
44
  e.modelValue[e.endField] && !e.modelValue[e.startField] && h(() => {
42
45
  var l;
43
- const t = (l = s.value) == null ? void 0 : l.$el.parentElement.querySelector("input");
46
+ const t = (l = u.value) == null ? void 0 : l.$el.parentElement.querySelector("input");
44
47
  t && t.click();
45
48
  });
46
49
  });
47
50
  };
48
51
  return (t, l) => {
49
- const c = k("a-date-picker"), r = k("a-form-item");
50
- return P(), v("div", {
51
- class: E(T)
52
+ const f = k("a-date-picker"), o = k("a-form-item");
53
+ return R(), S("div", {
54
+ class: T(N)
52
55
  }, [
53
- d(r, {
56
+ d(o, {
54
57
  field: t.startField,
55
58
  style: { "margin-right": "8px" },
56
59
  "hide-label": ""
57
60
  }, {
58
- default: n(() => [
59
- d(c, {
61
+ default: s(() => [
62
+ d(f, {
60
63
  ref_key: "startDatePickerRef",
61
- ref: s,
62
- modelValue: m.value,
63
- "onUpdate:modelValue": l[0] || (l[0] = (a) => m.value = a),
64
+ ref: u,
65
+ modelValue: c.value,
66
+ "onUpdate:modelValue": l[0] || (l[0] = (a) => c.value = a),
64
67
  placeholder: t.startPlaceholder,
65
- "disabled-date": (a) => g(a),
66
- onChange: _
68
+ "disabled-date": (a) => b(a),
69
+ onChange: v
67
70
  }, null, 8, ["modelValue", "placeholder", "disabled-date"])
68
71
  ]),
69
72
  _: 1
70
73
  }, 8, ["field"]),
71
- d(r, {
74
+ d(o, {
72
75
  "hide-label": "",
73
76
  style: { "margin-right": "8px" }
74
77
  }, {
75
- default: n(() => [
76
- S(R(t.separator), 1)
78
+ default: s(() => [
79
+ x(A(t.separator), 1)
77
80
  ]),
78
81
  _: 1
79
82
  }),
80
- d(r, {
83
+ d(o, {
81
84
  field: t.endField,
82
85
  "hide-label": ""
83
86
  }, {
84
- default: n(() => [
85
- d(c, {
87
+ default: s(() => [
88
+ d(f, B({
86
89
  ref_key: "endDatePickerRef",
87
- ref: u,
90
+ ref: m,
88
91
  modelValue: p.value,
89
- "onUpdate:modelValue": l[1] || (l[1] = (a) => p.value = a),
92
+ "onUpdate:modelValue": l[1] || (l[1] = (a) => p.value = a)
93
+ }, _.value, {
90
94
  placeholder: t.endPlaceholder,
91
- "disabled-date": (a) => b(a),
95
+ "disabled-date": (a) => P(a),
92
96
  onChange: y
93
- }, null, 8, ["modelValue", "placeholder", "disabled-date"])
97
+ }), null, 16, ["modelValue", "placeholder", "disabled-date"])
94
98
  ]),
95
99
  _: 1
96
100
  }, 8, ["field"])
@@ -99,5 +103,5 @@ const T = "keyblade-pro-date-range-picker", N = /* @__PURE__ */ C({
99
103
  }
100
104
  });
101
105
  export {
102
- N as default
106
+ $ as default
103
107
  };
@@ -0,0 +1,3 @@
1
+ export interface IModelValue {
2
+ [key: string]: any;
3
+ }
@@ -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 m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-72acd329"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-1bddf267"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,7 +1,7 @@
1
- import { defineComponent as D, ref as d, watch as M, resolveComponent as l, createBlock as P, openBlock as q, normalizeClass as m, withCtx as n, createVNode as e, createElementVNode as y, mergeProps as G, createTextVNode as x, nextTick as C } from "vue";
1
+ import { defineComponent as D, ref as d, computed as M, watch as q, resolveComponent as l, createBlock as G, openBlock as J, normalizeClass as m, withCtx as n, createVNode as e, createElementVNode as y, mergeProps as K, createTextVNode as W, nextTick as C } from "vue";
2
2
  import "vue-cropper/dist/index.css";
3
- import J from "vue-cropper/lib/vue-cropper.vue";
4
- const r = "keyblade-pro-image-upload-cropper", X = /* @__PURE__ */ D({
3
+ import O from "vue-cropper/lib/vue-cropper.vue";
4
+ const s = "keyblade-pro-image-upload-cropper", Z = /* @__PURE__ */ D({
5
5
  __name: "cropper",
6
6
  props: {
7
7
  file: {},
@@ -9,15 +9,23 @@ const r = "keyblade-pro-image-upload-cropper", X = /* @__PURE__ */ D({
9
9
  options: {}
10
10
  },
11
11
  emits: ["cancel", "confirm", "imgLoad", "reUpload"],
12
- setup(H, { expose: R, emit: W }) {
13
- const s = H, f = W, o = d(), w = d(), u = d(!0), _ = d(!1), g = d({
12
+ setup(x, { expose: H, emit: R }) {
13
+ const c = x, f = R, o = d(), w = d(), u = d(!0), _ = d(!1), z = M(() => {
14
+ var t;
15
+ const a = (((t = c == null ? void 0 : c.file) == null ? void 0 : t.name) || "").toLowerCase();
16
+ return a.endsWith(".jpg") || a.endsWith(".jpeg") ? {
17
+ ...c.options,
18
+ outputType: "jpeg",
19
+ outputSize: 0.95
20
+ } : c.options;
21
+ }), g = d({
14
22
  autoCropWidth: 100,
15
23
  autoCropHeight: 100
16
- }), z = () => {
24
+ }), I = () => {
17
25
  o.value.changeScale(1);
18
- }, I = () => {
19
- o.value.changeScale(-1);
20
26
  }, L = () => {
27
+ o.value.changeScale(-1);
28
+ }, S = () => {
21
29
  o.value.rotateRight();
22
30
  const { w: a, h: t } = v();
23
31
  C(() => {
@@ -35,47 +43,47 @@ const r = "keyblade-pro-image-upload-cropper", X = /* @__PURE__ */ D({
35
43
  });
36
44
  }, b = () => {
37
45
  f("cancel");
38
- }, S = () => {
46
+ }, j = () => {
39
47
  u.value || _.value || (_.value = !0, o.value.getCropBlob((a) => {
40
48
  _.value = !1;
41
- const t = new File([a], s.file.name, { type: "image/jpeg" });
49
+ const t = new File([a], c.file.name, { type: "image/jpeg" });
42
50
  f("confirm", t);
43
51
  }));
44
52
  }, A = () => {
45
53
  u.value = !1;
46
54
  const { w: a, h: t } = v();
47
- g.value.autoCropWidth = a, g.value.autoCropHeight = t, f("imgLoad", s.file);
55
+ g.value.autoCropWidth = a, g.value.autoCropHeight = t, f("imgLoad", c.file);
48
56
  }, v = () => {
49
- const a = Math.abs(o.value.rotate) % 2 > 0, t = (a ? o.value.trueHeight : o.value.trueWidth) * o.value.scale, i = (a ? o.value.trueWidth : o.value.trueHeight) * o.value.scale;
50
- return { w: t, h: i };
57
+ const a = Math.abs(o.value.rotate) % 2 > 0, t = (a ? o.value.trueHeight : o.value.trueWidth) * o.value.scale, r = (a ? o.value.trueWidth : o.value.trueHeight) * o.value.scale;
58
+ return { w: t, h: r };
51
59
  };
52
- return M(
53
- () => s.file,
60
+ return q(
61
+ () => c.file,
54
62
  () => {
55
- if (s.file) {
63
+ if (c.file) {
56
64
  u.value = !0, o.value && o.value.clearCrop();
57
65
  const a = new FileReader();
58
66
  a.onloadend = () => {
59
- const t = a.result, i = new Image();
60
- i.onload = () => {
61
- const h = i.width, c = i.height;
67
+ const t = a.result, r = new Image();
68
+ r.onload = () => {
69
+ const h = r.width, i = r.height;
62
70
  w.value = {
63
71
  data: t,
64
72
  width: h,
65
- height: c
73
+ height: i
66
74
  };
67
- }, i.src = t;
68
- }, a.readAsDataURL(s.file);
75
+ }, r.src = t;
76
+ }, a.readAsDataURL(c.file);
69
77
  }
70
78
  },
71
79
  { immediate: !0 }
72
- ), R({
80
+ ), H({
73
81
  cropperInsRef: o
74
82
  }), (a, t) => {
75
- const i = l("a-spin"), h = l("icon-zoom-in"), c = l("a-button"), p = l("a-tooltip"), B = l("icon-zoom-out"), V = l("icon-rotate-right"), E = l("icon-rotate-left"), F = l("icon-sync"), T = l("a-button-group"), U = l("a-space"), j = l("a-modal");
76
- return q(), P(j, {
83
+ const r = l("a-spin"), h = l("icon-zoom-in"), i = l("a-button"), p = l("a-tooltip"), B = l("icon-zoom-out"), V = l("icon-rotate-right"), T = l("icon-rotate-left"), E = l("icon-sync"), F = l("a-button-group"), P = l("a-space"), U = l("a-modal");
84
+ return J(), G(U, {
77
85
  "render-to-body": "",
78
- class: m(`${r}-dialog`),
86
+ class: m(`${s}-dialog`),
79
87
  title: "编辑图片",
80
88
  width: "675px",
81
89
  visible: !0,
@@ -86,36 +94,36 @@ const r = "keyblade-pro-image-upload-cropper", X = /* @__PURE__ */ D({
86
94
  onCancel: b
87
95
  }, {
88
96
  default: n(() => [
89
- e(i, {
90
- class: m(`${r}-dialog-cropper-wrapper`),
97
+ e(r, {
98
+ class: m(`${s}-dialog-cropper-wrapper`),
91
99
  loading: u.value
92
100
  }, {
93
101
  default: n(() => {
94
102
  var k;
95
103
  return [
96
- e(J, G({
104
+ e(O, K({
97
105
  ref_key: "cropperInsRef",
98
106
  ref: o,
99
- class: `${r}-dialog-cropper`,
107
+ class: `${s}-dialog-cropper`,
100
108
  img: (k = w.value) == null ? void 0 : k.data,
101
109
  info: !1,
102
110
  autoCrop: !0,
103
111
  autoCropWidth: g.value.autoCropWidth,
104
112
  autoCropHeight: g.value.autoCropHeight,
105
113
  full: !0
106
- }, a.options, { onImgLoad: A }), null, 16, ["class", "img", "autoCropWidth", "autoCropHeight"])
114
+ }, z.value, { onImgLoad: A }), null, 16, ["class", "img", "autoCropWidth", "autoCropHeight"])
107
115
  ];
108
116
  }),
109
117
  _: 1
110
118
  }, 8, ["class", "loading"]),
111
119
  y("div", {
112
- class: m(`${r}-dialog-operate`)
120
+ class: m(`${s}-dialog-operate`)
113
121
  }, [
114
- e(T, { type: "primary" }, {
122
+ e(F, { type: "primary" }, {
115
123
  default: n(() => [
116
124
  e(p, { content: "放大" }, {
117
125
  default: n(() => [
118
- e(c, { onClick: z }, {
126
+ e(i, { onClick: I }, {
119
127
  icon: n(() => [
120
128
  e(h)
121
129
  ]),
@@ -126,7 +134,7 @@ const r = "keyblade-pro-image-upload-cropper", X = /* @__PURE__ */ D({
126
134
  }),
127
135
  e(p, { content: "缩小" }, {
128
136
  default: n(() => [
129
- e(c, { onClick: I }, {
137
+ e(i, { onClick: L }, {
130
138
  icon: n(() => [
131
139
  e(B)
132
140
  ]),
@@ -137,7 +145,7 @@ const r = "keyblade-pro-image-upload-cropper", X = /* @__PURE__ */ D({
137
145
  }),
138
146
  e(p, { content: "向右旋转" }, {
139
147
  default: n(() => [
140
- e(c, { onClick: L }, {
148
+ e(i, { onClick: S }, {
141
149
  icon: n(() => [
142
150
  e(V)
143
151
  ]),
@@ -148,9 +156,9 @@ const r = "keyblade-pro-image-upload-cropper", X = /* @__PURE__ */ D({
148
156
  }),
149
157
  e(p, { content: "向左旋转" }, {
150
158
  default: n(() => [
151
- e(c, { onClick: $ }, {
159
+ e(i, { onClick: $ }, {
152
160
  icon: n(() => [
153
- e(E)
161
+ e(T)
154
162
  ]),
155
163
  _: 1
156
164
  })
@@ -159,9 +167,9 @@ const r = "keyblade-pro-image-upload-cropper", X = /* @__PURE__ */ D({
159
167
  }),
160
168
  e(p, { content: "重置" }, {
161
169
  default: n(() => [
162
- e(c, { onClick: N }, {
170
+ e(i, { onClick: N }, {
163
171
  icon: n(() => [
164
- e(F)
172
+ e(E)
165
173
  ]),
166
174
  _: 1
167
175
  })
@@ -173,26 +181,26 @@ const r = "keyblade-pro-image-upload-cropper", X = /* @__PURE__ */ D({
173
181
  })
174
182
  ], 2),
175
183
  y("div", {
176
- class: m(`${r}-dialog-footer`)
184
+ class: m(`${s}-dialog-footer`)
177
185
  }, [
178
- e(U, {
179
- class: m(`${r}-dialog-footer-right`)
186
+ e(P, {
187
+ class: m(`${s}-dialog-footer-right`)
180
188
  }, {
181
189
  default: n(() => [
182
- e(c, { onClick: b }, {
190
+ e(i, { onClick: b }, {
183
191
  default: n(() => t[0] || (t[0] = [
184
- x("取消")
192
+ W("取消")
185
193
  ])),
186
194
  _: 1
187
195
  }),
188
- e(c, {
196
+ e(i, {
189
197
  disabled: u.value,
190
198
  type: "primary",
191
- onClick: S,
199
+ onClick: j,
192
200
  loading: _.value
193
201
  }, {
194
202
  default: n(() => t[1] || (t[1] = [
195
- x("确定")
203
+ W("确定")
196
204
  ])),
197
205
  _: 1
198
206
  }, 8, ["disabled", "loading"])
@@ -207,5 +215,5 @@ const r = "keyblade-pro-image-upload-cropper", X = /* @__PURE__ */ D({
207
215
  }
208
216
  });
209
217
  export {
210
- X as default
218
+ Z as default
211
219
  };
@@ -55,7 +55,7 @@ export interface ImageUploadOptions {
55
55
  onError?: (fileItem: FileItem) => void;
56
56
  /** 文件超出个数限制时的钩子 */
57
57
  onExceed?: (fileList: FileItem[], files: File[]) => void;
58
- /** 上传文件之前的钩子,参数为上传的文件,若返回 false 或者返回 Promise 且被 reject,则停止上传。*/
58
+ /** 上传文件之前的钩子,参数为上传的文件,若返回 false 或者返回 Promise 且被 reject,则停止上传。 */
59
59
  onBeforeUpload?: (file: File) => boolean | Promise<any>;
60
60
  /** 内置上传文件之前开始 */
61
61
  onInnerBeforeUploadStart?: (file: File, index: number, type: EImageUploadInnerBeforeUploadStep) => void;
package/es/style.css CHANGED
@@ -1 +1 @@
1
- .keyblade-pro-page-header{background:var(--color-bg-2);padding:16px 32px}.keyblade-pro-page-header .keyblade-pro-page-header-section-breadcrumb .arco-breadcrumb-item:first-child{padding-left:0}.keyblade-pro-page-header .keyblade-pro-page-header-title.arco-typography{padding-top:4px;margin-top:0}.keyblade-pro-layout{width:100%;height:100%}.keyblade-pro-layout .keyblade-pro-layout-header{position:fixed;top:0;left:0;width:100%;height:var(--41512b1e);z-index:100;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background-color:var(--color-bg-2);border-bottom:1px solid var(--color-border);transition:all .2s cubic-bezier(.34,.69,.1,1)}.keyblade-pro-layout .keyblade-pro-layout-header-left{cursor:pointer;display:flex;align-items:center}.keyblade-pro-layout .keyblade-pro-layout-header-left-logo-img{width:28px;height:28px}.keyblade-pro-layout .keyblade-pro-layout-header-left-logo-title.arco-typography{margin:0;font-size:18px}.keyblade-pro-layout .keyblade-pro-layout-header-center{flex:1}.keyblade-pro-layout .keyblade-pro-layout-sider{padding-top:var(--41512b1e);position:fixed;top:0;left:0;z-index:99;height:100%;transition:all .2s cubic-bezier(.34,.69,.1,1)}.keyblade-pro-layout .keyblade-pro-layout-sider-content{position:relative;height:100%;overflow:auto}.keyblade-pro-layout .keyblade-pro-layout-sider-collapse-btn.arco-btn{position:absolute;right:12px;bottom:12px}.keyblade-pro-layout .keyblade-pro-layout-body{padding-top:var(--41512b1e);padding-left:var(--514ba31c);min-height:100vh;overflow-y:hidden;background-color:var(--color-fill-2);transition:padding .2s cubic-bezier(.34,.69,.1,1)}.keyblade-pro-layout .keyblade-pro-layout-body-affix .arco-affix{z-index:98}.keyblade-pro-layout .keyblade-pro-layout-body-footer{display:flex;align-items:center;justify-content:center;height:40px;color:var(--color-text-2);text-align:center}.keyblade-pro-layout .keyblade-pro-layout-body-collapsed{padding-left:var(--27c679ae)}.keyblade-pro-layout-side .keyblade-pro-layout-header{z-index:98;left:var(--514ba31c);width:calc(100% - var(--514ba31c))}.keyblade-pro-layout-side .keyblade-pro-layout-header-collapsed{left:var(--27c679ae);width:calc(100% - var(--27c679ae))}.keyblade-pro-layout-side .keyblade-pro-layout-sider{padding-top:0}.keyblade-pro-layout-side .keyblade-pro-layout-sider-content-logo{position:relative;display:flex;align-items:center;padding:16px;cursor:pointer;transition:padding .3s cubic-bezier(.645,.045,.355,1)}.keyblade-pro-layout-side .keyblade-pro-layout-sider-content-logo-img{width:28px;height:28px}.keyblade-pro-layout-side .keyblade-pro-layout-sider-content-logo-title.arco-typography{margin:0;font-size:18px}.keyblade-pro-layout-side .keyblade-pro-layout-sider-collapsed .keyblade-pro-layout-sider-content-logo{padding:16px 10px}.keyblade-pro-menu .keyblade-pro-menu-item-img{width:14px;height:auto}.keyblade-pro-reuse-tabs{position:relative;background-color:var(--color-bg-2);padding:4px 20px}.keyblade-pro-page-container .keyblade-pro-page-container-content{padding:20px}.keyblade-pro-image-upload-cropper-dialog-cropper-wrapper[data-v-72acd329]{width:100%;height:400px}.keyblade-pro-image-upload-cropper-dialog-operate[data-v-72acd329]{margin-top:24px;display:flex;align-items:center;justify-content:center}.keyblade-pro-image-upload-cropper-dialog-footer[data-v-72acd329]{margin-top:24px;display:flex;align-items:center;justify-content:flex-end}.keyblade-pro-image-upload-cropper-dialog-footer-left[data-v-72acd329]{display:flex;align-items:center;justify-content:flex-start;margin-right:12px}.keyblade-pro-image-upload-cropper-dialog-footer-right[data-v-72acd329]{flex:1;display:flex;align-items:center;justify-content:flex-end}.keyblade-pro-date-range-picker[data-v-a2d94a6c]{display:flex;align-items:center}
1
+ .keyblade-pro-page-header{background:var(--color-bg-2);padding:16px 32px}.keyblade-pro-page-header .keyblade-pro-page-header-section-breadcrumb .arco-breadcrumb-item:first-child{padding-left:0}.keyblade-pro-page-header .keyblade-pro-page-header-title.arco-typography{padding-top:4px;margin-top:0}.keyblade-pro-layout{width:100%;height:100%}.keyblade-pro-layout .keyblade-pro-layout-header{position:fixed;top:0;left:0;width:100%;height:var(--41512b1e);z-index:100;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background-color:var(--color-bg-2);border-bottom:1px solid var(--color-border);transition:all .2s cubic-bezier(.34,.69,.1,1)}.keyblade-pro-layout .keyblade-pro-layout-header-left{cursor:pointer;display:flex;align-items:center}.keyblade-pro-layout .keyblade-pro-layout-header-left-logo-img{width:28px;height:28px}.keyblade-pro-layout .keyblade-pro-layout-header-left-logo-title.arco-typography{margin:0;font-size:18px}.keyblade-pro-layout .keyblade-pro-layout-header-center{flex:1}.keyblade-pro-layout .keyblade-pro-layout-sider{padding-top:var(--41512b1e);position:fixed;top:0;left:0;z-index:99;height:100%;transition:all .2s cubic-bezier(.34,.69,.1,1)}.keyblade-pro-layout .keyblade-pro-layout-sider-content{position:relative;height:100%;overflow:auto}.keyblade-pro-layout .keyblade-pro-layout-sider-collapse-btn.arco-btn{position:absolute;right:12px;bottom:12px}.keyblade-pro-layout .keyblade-pro-layout-body{padding-top:var(--41512b1e);padding-left:var(--514ba31c);min-height:100vh;overflow-y:hidden;background-color:var(--color-fill-2);transition:padding .2s cubic-bezier(.34,.69,.1,1)}.keyblade-pro-layout .keyblade-pro-layout-body-affix .arco-affix{z-index:98}.keyblade-pro-layout .keyblade-pro-layout-body-footer{display:flex;align-items:center;justify-content:center;height:40px;color:var(--color-text-2);text-align:center}.keyblade-pro-layout .keyblade-pro-layout-body-collapsed{padding-left:var(--27c679ae)}.keyblade-pro-layout-side .keyblade-pro-layout-header{z-index:98;left:var(--514ba31c);width:calc(100% - var(--514ba31c))}.keyblade-pro-layout-side .keyblade-pro-layout-header-collapsed{left:var(--27c679ae);width:calc(100% - var(--27c679ae))}.keyblade-pro-layout-side .keyblade-pro-layout-sider{padding-top:0}.keyblade-pro-layout-side .keyblade-pro-layout-sider-content-logo{position:relative;display:flex;align-items:center;padding:16px;cursor:pointer;transition:padding .3s cubic-bezier(.645,.045,.355,1)}.keyblade-pro-layout-side .keyblade-pro-layout-sider-content-logo-img{width:28px;height:28px}.keyblade-pro-layout-side .keyblade-pro-layout-sider-content-logo-title.arco-typography{margin:0;font-size:18px}.keyblade-pro-layout-side .keyblade-pro-layout-sider-collapsed .keyblade-pro-layout-sider-content-logo{padding:16px 10px}.keyblade-pro-menu .keyblade-pro-menu-item-img{width:14px;height:auto}.keyblade-pro-reuse-tabs{position:relative;background-color:var(--color-bg-2);padding:4px 20px}.keyblade-pro-page-container .keyblade-pro-page-container-content{padding:20px}.keyblade-pro-image-upload-cropper-dialog-cropper-wrapper[data-v-1bddf267]{width:100%;height:400px}.keyblade-pro-image-upload-cropper-dialog-operate[data-v-1bddf267]{margin-top:24px;display:flex;align-items:center;justify-content:center}.keyblade-pro-image-upload-cropper-dialog-footer[data-v-1bddf267]{margin-top:24px;display:flex;align-items:center;justify-content:flex-end}.keyblade-pro-image-upload-cropper-dialog-footer-left[data-v-1bddf267]{display:flex;align-items:center;justify-content:flex-start;margin-right:12px}.keyblade-pro-image-upload-cropper-dialog-footer-right[data-v-1bddf267]{flex:1;display:flex;align-items:center;justify-content:flex-end}.keyblade-pro-date-range-picker[data-v-8dc7d86d]{display:flex;align-items:center}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@keyblade/pro-components",
3
3
  "description": "KeyBlade Pro Components",
4
4
  "author": "yangshuai <704807396@qq.com>",
5
- "version": "1.12.16",
5
+ "version": "1.12.17",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "es/index.js",