@keyblade/pro-components 1.12.15 → 1.12.16

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.
@@ -1,4 +1,6 @@
1
- import { IModelValue } from './type.ts';
1
+ interface IModelValue {
2
+ [key: string]: string;
3
+ }
2
4
  type __VLS_Props = {
3
5
  modelValue: IModelValue;
4
6
  startField?: string;
@@ -1,7 +1,7 @@
1
1
  import o from "./pro-date-range-picker.vue2.js";
2
2
  /* empty css */
3
- import r from "../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ r(o, [["__scopeId", "data-v-f6a8cf2c"]]);
3
+ import a from "../_virtual/_plugin-vue_export-helper.js";
4
+ const _ = /* @__PURE__ */ a(o, [["__scopeId", "data-v-a2d94a6c"]]);
5
5
  export {
6
- e as default
6
+ _ as default
7
7
  };
@@ -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 _ = /* @__PURE__ */ r(o, [["__scopeId", "data-v-0d419122"]]);
4
+ const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-72acd329"]]);
5
5
  export {
6
- _ as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
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 a, createVNode as e, createElementVNode as y, mergeProps as K, createTextVNode as W, nextTick as C } from "vue";
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";
2
2
  import "vue-cropper/dist/index.css";
3
- import O from "vue-cropper/lib/vue-cropper.vue";
4
- const s = "keyblade-pro-image-upload-cropper", Z = /* @__PURE__ */ D({
3
+ import J from "vue-cropper/lib/vue-cropper.vue";
4
+ const r = "keyblade-pro-image-upload-cropper", X = /* @__PURE__ */ D({
5
5
  __name: "cropper",
6
6
  props: {
7
7
  file: {},
@@ -9,33 +9,25 @@ const s = "keyblade-pro-image-upload-cropper", Z = /* @__PURE__ */ D({
9
9
  options: {}
10
10
  },
11
11
  emits: ["cancel", "confirm", "imgLoad", "reUpload"],
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 n = ((t = c == null ? void 0 : c.file) == null ? void 0 : t.name) || "";
16
- return n.endsWith(".jpg") || n.endsWith(".jpeg") ? {
17
- ...c.options,
18
- outputType: "jpeg",
19
- outputSize: 0.95
20
- } : c.options;
21
- }), g = d({
12
+ setup(H, { expose: R, emit: W }) {
13
+ const s = H, f = W, o = d(), w = d(), u = d(!0), _ = d(!1), g = d({
22
14
  autoCropWidth: 100,
23
15
  autoCropHeight: 100
24
- }), I = () => {
16
+ }), z = () => {
25
17
  o.value.changeScale(1);
26
- }, L = () => {
18
+ }, I = () => {
27
19
  o.value.changeScale(-1);
28
- }, S = () => {
20
+ }, L = () => {
29
21
  o.value.rotateRight();
30
- const { w: n, h: t } = v();
22
+ const { w: a, h: t } = v();
31
23
  C(() => {
32
- o.value.goAutoCrop(n, t);
24
+ o.value.goAutoCrop(a, t);
33
25
  });
34
26
  }, $ = () => {
35
27
  o.value.rotateLeft();
36
- const { w: n, h: t } = v();
28
+ const { w: a, h: t } = v();
37
29
  C(() => {
38
- o.value.goAutoCrop(n, t);
30
+ o.value.goAutoCrop(a, t);
39
31
  });
40
32
  }, N = () => {
41
33
  o.value.reload(), o.value.rotateClear(), C(() => {
@@ -43,47 +35,47 @@ const s = "keyblade-pro-image-upload-cropper", Z = /* @__PURE__ */ D({
43
35
  });
44
36
  }, b = () => {
45
37
  f("cancel");
46
- }, j = () => {
47
- u.value || _.value || (_.value = !0, o.value.getCropBlob((n) => {
38
+ }, S = () => {
39
+ u.value || _.value || (_.value = !0, o.value.getCropBlob((a) => {
48
40
  _.value = !1;
49
- const t = new File([n], c.file.name, { type: "image/jpeg" });
41
+ const t = new File([a], s.file.name, { type: "image/jpeg" });
50
42
  f("confirm", t);
51
43
  }));
52
44
  }, A = () => {
53
45
  u.value = !1;
54
- const { w: n, h: t } = v();
55
- g.value.autoCropWidth = n, g.value.autoCropHeight = t, f("imgLoad", c.file);
46
+ const { w: a, h: t } = v();
47
+ g.value.autoCropWidth = a, g.value.autoCropHeight = t, f("imgLoad", s.file);
56
48
  }, v = () => {
57
- const n = Math.abs(o.value.rotate) % 2 > 0, t = (n ? o.value.trueHeight : o.value.trueWidth) * o.value.scale, r = (n ? o.value.trueWidth : o.value.trueHeight) * o.value.scale;
58
- return { w: t, h: r };
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 };
59
51
  };
60
- return q(
61
- () => c.file,
52
+ return M(
53
+ () => s.file,
62
54
  () => {
63
- if (c.file) {
55
+ if (s.file) {
64
56
  u.value = !0, o.value && o.value.clearCrop();
65
- const n = new FileReader();
66
- n.onloadend = () => {
67
- const t = n.result, r = new Image();
68
- r.onload = () => {
69
- const h = r.width, i = r.height;
57
+ const a = new FileReader();
58
+ a.onloadend = () => {
59
+ const t = a.result, i = new Image();
60
+ i.onload = () => {
61
+ const h = i.width, c = i.height;
70
62
  w.value = {
71
63
  data: t,
72
64
  width: h,
73
- height: i
65
+ height: c
74
66
  };
75
- }, r.src = t;
76
- }, n.readAsDataURL(c.file);
67
+ }, i.src = t;
68
+ }, a.readAsDataURL(s.file);
77
69
  }
78
70
  },
79
71
  { immediate: !0 }
80
- ), H({
72
+ ), R({
81
73
  cropperInsRef: o
82
- }), (n, t) => {
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, {
74
+ }), (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, {
85
77
  "render-to-body": "",
86
- class: m(`${s}-dialog`),
78
+ class: m(`${r}-dialog`),
87
79
  title: "编辑图片",
88
80
  width: "675px",
89
81
  visible: !0,
@@ -93,38 +85,38 @@ const s = "keyblade-pro-image-upload-cropper", Z = /* @__PURE__ */ D({
93
85
  "unmount-on-close": "",
94
86
  onCancel: b
95
87
  }, {
96
- default: a(() => [
97
- e(r, {
98
- class: m(`${s}-dialog-cropper-wrapper`),
88
+ default: n(() => [
89
+ e(i, {
90
+ class: m(`${r}-dialog-cropper-wrapper`),
99
91
  loading: u.value
100
92
  }, {
101
- default: a(() => {
93
+ default: n(() => {
102
94
  var k;
103
95
  return [
104
- e(O, K({
96
+ e(J, G({
105
97
  ref_key: "cropperInsRef",
106
98
  ref: o,
107
- class: `${s}-dialog-cropper`,
99
+ class: `${r}-dialog-cropper`,
108
100
  img: (k = w.value) == null ? void 0 : k.data,
109
101
  info: !1,
110
102
  autoCrop: !0,
111
103
  autoCropWidth: g.value.autoCropWidth,
112
104
  autoCropHeight: g.value.autoCropHeight,
113
105
  full: !0
114
- }, z.value, { onImgLoad: A }), null, 16, ["class", "img", "autoCropWidth", "autoCropHeight"])
106
+ }, a.options, { onImgLoad: A }), null, 16, ["class", "img", "autoCropWidth", "autoCropHeight"])
115
107
  ];
116
108
  }),
117
109
  _: 1
118
110
  }, 8, ["class", "loading"]),
119
111
  y("div", {
120
- class: m(`${s}-dialog-operate`)
112
+ class: m(`${r}-dialog-operate`)
121
113
  }, [
122
- e(F, { type: "primary" }, {
123
- default: a(() => [
114
+ e(T, { type: "primary" }, {
115
+ default: n(() => [
124
116
  e(p, { content: "放大" }, {
125
- default: a(() => [
126
- e(i, { onClick: I }, {
127
- icon: a(() => [
117
+ default: n(() => [
118
+ e(c, { onClick: z }, {
119
+ icon: n(() => [
128
120
  e(h)
129
121
  ]),
130
122
  _: 1
@@ -133,9 +125,9 @@ const s = "keyblade-pro-image-upload-cropper", Z = /* @__PURE__ */ D({
133
125
  _: 1
134
126
  }),
135
127
  e(p, { content: "缩小" }, {
136
- default: a(() => [
137
- e(i, { onClick: L }, {
138
- icon: a(() => [
128
+ default: n(() => [
129
+ e(c, { onClick: I }, {
130
+ icon: n(() => [
139
131
  e(B)
140
132
  ]),
141
133
  _: 1
@@ -144,9 +136,9 @@ const s = "keyblade-pro-image-upload-cropper", Z = /* @__PURE__ */ D({
144
136
  _: 1
145
137
  }),
146
138
  e(p, { content: "向右旋转" }, {
147
- default: a(() => [
148
- e(i, { onClick: S }, {
149
- icon: a(() => [
139
+ default: n(() => [
140
+ e(c, { onClick: L }, {
141
+ icon: n(() => [
150
142
  e(V)
151
143
  ]),
152
144
  _: 1
@@ -155,10 +147,10 @@ const s = "keyblade-pro-image-upload-cropper", Z = /* @__PURE__ */ D({
155
147
  _: 1
156
148
  }),
157
149
  e(p, { content: "向左旋转" }, {
158
- default: a(() => [
159
- e(i, { onClick: $ }, {
160
- icon: a(() => [
161
- e(T)
150
+ default: n(() => [
151
+ e(c, { onClick: $ }, {
152
+ icon: n(() => [
153
+ e(E)
162
154
  ]),
163
155
  _: 1
164
156
  })
@@ -166,10 +158,10 @@ const s = "keyblade-pro-image-upload-cropper", Z = /* @__PURE__ */ D({
166
158
  _: 1
167
159
  }),
168
160
  e(p, { content: "重置" }, {
169
- default: a(() => [
170
- e(i, { onClick: N }, {
171
- icon: a(() => [
172
- e(E)
161
+ default: n(() => [
162
+ e(c, { onClick: N }, {
163
+ icon: n(() => [
164
+ e(F)
173
165
  ]),
174
166
  _: 1
175
167
  })
@@ -181,26 +173,26 @@ const s = "keyblade-pro-image-upload-cropper", Z = /* @__PURE__ */ D({
181
173
  })
182
174
  ], 2),
183
175
  y("div", {
184
- class: m(`${s}-dialog-footer`)
176
+ class: m(`${r}-dialog-footer`)
185
177
  }, [
186
- e(P, {
187
- class: m(`${s}-dialog-footer-right`)
178
+ e(U, {
179
+ class: m(`${r}-dialog-footer-right`)
188
180
  }, {
189
- default: a(() => [
190
- e(i, { onClick: b }, {
191
- default: a(() => t[0] || (t[0] = [
192
- W("取消")
181
+ default: n(() => [
182
+ e(c, { onClick: b }, {
183
+ default: n(() => t[0] || (t[0] = [
184
+ x("取消")
193
185
  ])),
194
186
  _: 1
195
187
  }),
196
- e(i, {
188
+ e(c, {
197
189
  disabled: u.value,
198
190
  type: "primary",
199
- onClick: j,
191
+ onClick: S,
200
192
  loading: _.value
201
193
  }, {
202
- default: a(() => t[1] || (t[1] = [
203
- W("确定")
194
+ default: n(() => t[1] || (t[1] = [
195
+ x("确定")
204
196
  ])),
205
197
  _: 1
206
198
  }, 8, ["disabled", "loading"])
@@ -215,5 +207,5 @@ const s = "keyblade-pro-image-upload-cropper", Z = /* @__PURE__ */ D({
215
207
  }
216
208
  });
217
209
  export {
218
- Z as default
210
+ X as default
219
211
  };
@@ -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-0d419122]{width:100%;height:400px}.keyblade-pro-image-upload-cropper-dialog-operate[data-v-0d419122]{margin-top:24px;display:flex;align-items:center;justify-content:center}.keyblade-pro-image-upload-cropper-dialog-footer[data-v-0d419122]{margin-top:24px;display:flex;align-items:center;justify-content:flex-end}.keyblade-pro-image-upload-cropper-dialog-footer-left[data-v-0d419122]{display:flex;align-items:center;justify-content:flex-start;margin-right:12px}.keyblade-pro-image-upload-cropper-dialog-footer-right[data-v-0d419122]{flex:1;display:flex;align-items:center;justify-content:flex-end}.keyblade-pro-date-range-picker[data-v-f6a8cf2c]{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-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}
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.15",
5
+ "version": "1.12.16",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "es/index.js",
@@ -1,70 +0,0 @@
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,3 +0,0 @@
1
- export interface IModelValue {
2
- [key: string]: string;
3
- }