@deskhero/dh_ui 1.52.3 → 1.53.0
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.
- package/dist/dh_ui.es.js +3605 -928
- package/dist/dh_ui.umd.js +90 -81
- package/dist/src/components/ImageCropper.vue.d.ts +49 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/style.css +9 -1
- package/package.json +2 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import "cropperjs/dist/cropper.css";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
image: {
|
|
4
|
+
type: {
|
|
5
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
|
|
6
|
+
prototype: File;
|
|
7
|
+
};
|
|
8
|
+
required: false;
|
|
9
|
+
default: null;
|
|
10
|
+
};
|
|
11
|
+
width: {
|
|
12
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
13
|
+
required: false;
|
|
14
|
+
default: number;
|
|
15
|
+
};
|
|
16
|
+
showPreview: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
update: (value: HTMLCanvasElement) => void;
|
|
23
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
image: {
|
|
25
|
+
type: {
|
|
26
|
+
new (fileBits: BlobPart[], fileName: string, options?: FilePropertyBag | undefined): File;
|
|
27
|
+
prototype: File;
|
|
28
|
+
};
|
|
29
|
+
required: false;
|
|
30
|
+
default: null;
|
|
31
|
+
};
|
|
32
|
+
width: {
|
|
33
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
34
|
+
required: false;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
showPreview: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
}>> & {
|
|
43
|
+
onUpdate?: ((value: HTMLCanvasElement) => any) | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
width: string | number;
|
|
46
|
+
image: File;
|
|
47
|
+
showPreview: boolean;
|
|
48
|
+
}>;
|
|
49
|
+
export default _default;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -25,7 +25,8 @@ import DhSwitch from "./components/Switch.vue";
|
|
|
25
25
|
import DhTooltip from "./components/Tooltip.vue";
|
|
26
26
|
import DhTextEditor from "./components/TextEditor.vue";
|
|
27
27
|
import DhVerificationCode from "./components/VerificationCode.vue";
|
|
28
|
+
import DhImageCropper from "./components/ImageCropper.vue";
|
|
28
29
|
import type DropdownMenuItem from "./models/DropdownMenuItem.model";
|
|
29
30
|
import type InputList from "./models/InputList.model";
|
|
30
|
-
export { DhAdvancedDatePicker, DhAdvancedFilter, DhCopyText, DhDatePicker, DhFileUpload, DhError, DhIcon, DhModal, DhNotification, DhNumberRange, DhPasswordField, DhRadioBox, DhRadioBoxGroup, DhSearchInput, DhStepper, DhSwitch, DhTooltip, DhVerificationCode, DhExpansionPanel, DhDropdownMenu, DhInputDropdown, DhInputDropdownMultiple, DhInputList, DhInputGroup, DhTextEditor, DhButton };
|
|
31
|
+
export { DhAdvancedDatePicker, DhAdvancedFilter, DhCopyText, DhDatePicker, DhFileUpload, DhError, DhIcon, DhModal, DhNotification, DhNumberRange, DhPasswordField, DhRadioBox, DhRadioBoxGroup, DhSearchInput, DhStepper, DhSwitch, DhTooltip, DhVerificationCode, DhExpansionPanel, DhDropdownMenu, DhInputDropdown, DhInputDropdownMultiple, DhInputList, DhInputGroup, DhTextEditor, DhButton, DhImageCropper };
|
|
31
32
|
export type { DropdownMenuItem, InputList };
|