@deskhero/dh_ui 2.2.1 → 2.2.3
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 +28078 -36837
- package/dist/dh_ui.umd.js +93 -93
- package/dist/style.css +1 -1
- package/package.json +26 -18
- package/dist/node_modules/multi-range-slider-vue/MultiRangeSlider.vue.d.ts +0 -132
- package/dist/src/App.vue.d.ts +0 -2
- package/dist/src/components/AdvancedDatePicker.vue.d.ts +0 -10
- package/dist/src/components/AdvancedFilter.vue.d.ts +0 -55
- package/dist/src/components/Button.vue.d.ts +0 -60
- package/dist/src/components/Copiable.vue.d.ts +0 -17
- package/dist/src/components/DatePicker.vue.d.ts +0 -22
- package/dist/src/components/DropdownMenu.vue.d.ts +0 -86
- package/dist/src/components/DropdownMenuItem.vue.d.ts +0 -39
- package/dist/src/components/Error.vue.d.ts +0 -16
- package/dist/src/components/ExpansionPanel.vue.d.ts +0 -25
- package/dist/src/components/FileUpload.vue.d.ts +0 -81
- package/dist/src/components/Icon.vue.d.ts +0 -62
- package/dist/src/components/ImageCropper.vue.d.ts +0 -60
- package/dist/src/components/InputDropdown.vue.d.ts +0 -54
- package/dist/src/components/InputDropdownMultiple.vue.d.ts +0 -43
- package/dist/src/components/InputGroup.vue.d.ts +0 -50
- package/dist/src/components/InputList.vue.d.ts +0 -37
- package/dist/src/components/Modal.vue.d.ts +0 -109
- package/dist/src/components/Notification.vue.d.ts +0 -103
- package/dist/src/components/NumberRange.vue.d.ts +0 -160
- package/dist/src/components/PasswordField.vue.d.ts +0 -62
- package/dist/src/components/RadioBox.vue.d.ts +0 -18
- package/dist/src/components/RadioBoxGroup.vue.d.ts +0 -17
- package/dist/src/components/SearchInput.vue.d.ts +0 -27
- package/dist/src/components/Stepper.vue.d.ts +0 -23
- package/dist/src/components/Switch.vue.d.ts +0 -33
- package/dist/src/components/TextEditor.vue.d.ts +0 -66
- package/dist/src/components/Tooltip.vue.d.ts +0 -46
- package/dist/src/components/VerificationCode.vue.d.ts +0 -45
- package/dist/src/index.d.ts +0 -32
- package/dist/src/main.d.ts +0 -1
- package/dist/src/models/DropdownMenuItem.model.d.ts +0 -13
- package/dist/src/models/InputList.model.d.ts +0 -4
- package/dist/src/tools/editorFiles.d.ts +0 -40
- package/dist/src/tools/editorImage.d.ts +0 -44
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
modelValue: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
placeholder: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
tipChars: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
tipNumbers: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
tipSymbols: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
passwordTooltipDisabled: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "update:modelValue")[], "submit" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
-
modelValue: {
|
|
28
|
-
type: StringConstructor;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
placeholder: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
tipChars: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
tipNumbers: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
tipSymbols: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
passwordTooltipDisabled: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
}>> & {
|
|
52
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
53
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
modelValue: string;
|
|
56
|
-
placeholder: string;
|
|
57
|
-
tipChars: string;
|
|
58
|
-
tipNumbers: string;
|
|
59
|
-
tipSymbols: string;
|
|
60
|
-
passwordTooltipDisabled: boolean;
|
|
61
|
-
}>;
|
|
62
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
$props: Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
-
type: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
value: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
label: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
}>>;
|
|
16
|
-
$emit: (event: "clickBox", ...args: any[]) => void;
|
|
17
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
18
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
$props: Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
-
orientation: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
type: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
list: {
|
|
12
|
-
type: ArrayConstructor;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
}>>;
|
|
16
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
17
|
-
export default _default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
modelValue: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
placeholder: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "update:modelValue" | "clean")[], "submit" | "update:modelValue" | "clean", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
modelValue: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
placeholder: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
}>> & {
|
|
20
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
21
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
onClean?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
}, {
|
|
24
|
-
modelValue: string;
|
|
25
|
-
placeholder: string;
|
|
26
|
-
}>;
|
|
27
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
maxSteps: {
|
|
3
|
-
type: NumberConstructor;
|
|
4
|
-
default: number;
|
|
5
|
-
};
|
|
6
|
-
currentStep: {
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
default: number;
|
|
9
|
-
};
|
|
10
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
maxSteps: {
|
|
12
|
-
type: NumberConstructor;
|
|
13
|
-
default: number;
|
|
14
|
-
};
|
|
15
|
-
currentStep: {
|
|
16
|
-
type: NumberConstructor;
|
|
17
|
-
default: number;
|
|
18
|
-
};
|
|
19
|
-
}>>, {
|
|
20
|
-
maxSteps: number;
|
|
21
|
-
currentStep: number;
|
|
22
|
-
}>;
|
|
23
|
-
export default _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
data: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
required: true;
|
|
5
|
-
default: boolean;
|
|
6
|
-
};
|
|
7
|
-
label: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
}, unknown, {
|
|
12
|
-
active: boolean;
|
|
13
|
-
}, {
|
|
14
|
-
checkedValue: {
|
|
15
|
-
get(): boolean;
|
|
16
|
-
set(newValue: boolean): void;
|
|
17
|
-
};
|
|
18
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
-
data: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
required: true;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
label: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
}>> & {
|
|
29
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
label: string;
|
|
32
|
-
}>;
|
|
33
|
-
export default _default;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
toggleReadOnly: () => void;
|
|
3
|
-
save: () => any;
|
|
4
|
-
reset: () => void;
|
|
5
|
-
editBlock: (index: any) => void;
|
|
6
|
-
$props: Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
data: {
|
|
8
|
-
type: ObjectConstructor;
|
|
9
|
-
default: () => {
|
|
10
|
-
blocks: never[];
|
|
11
|
-
};
|
|
12
|
-
required: false;
|
|
13
|
-
};
|
|
14
|
-
readOnly: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
required: false;
|
|
18
|
-
};
|
|
19
|
-
featureSet: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: string;
|
|
22
|
-
required: false;
|
|
23
|
-
};
|
|
24
|
-
firstBlock: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
required: false;
|
|
28
|
-
};
|
|
29
|
-
firstBlockText: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: string;
|
|
32
|
-
required: false;
|
|
33
|
-
};
|
|
34
|
-
learnMoreText: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: string;
|
|
37
|
-
required: false;
|
|
38
|
-
};
|
|
39
|
-
placeholder: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: string;
|
|
42
|
-
required: false;
|
|
43
|
-
};
|
|
44
|
-
holder: {
|
|
45
|
-
type: StringConstructor;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
wordCount: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
required: false;
|
|
52
|
-
};
|
|
53
|
-
minHeight: {
|
|
54
|
-
type: NumberConstructor;
|
|
55
|
-
default: number;
|
|
56
|
-
required: false;
|
|
57
|
-
};
|
|
58
|
-
toolbarPosition: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
default: string;
|
|
61
|
-
required: false;
|
|
62
|
-
};
|
|
63
|
-
}>>;
|
|
64
|
-
$emit: (event: "change", ...args: any[]) => void;
|
|
65
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
66
|
-
export default _default;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { type PropType } from "vue";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
target: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
trigger: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
placement: {
|
|
12
|
-
type: PropType<"bottom" | "left" | "right" | "top">;
|
|
13
|
-
default: () => string;
|
|
14
|
-
required: false;
|
|
15
|
-
};
|
|
16
|
-
tooltipText: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
}, unknown, {
|
|
21
|
-
show: boolean;
|
|
22
|
-
}, {}, {
|
|
23
|
-
showTooltip(): void;
|
|
24
|
-
tooltip(): void;
|
|
25
|
-
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
-
target: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
trigger: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
placement: {
|
|
35
|
-
type: PropType<"bottom" | "left" | "right" | "top">;
|
|
36
|
-
default: () => string;
|
|
37
|
-
required: false;
|
|
38
|
-
};
|
|
39
|
-
tooltipText: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
}>>, {
|
|
44
|
-
placement: "bottom" | "left" | "right" | "top";
|
|
45
|
-
}>;
|
|
46
|
-
export default _default;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
code: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
required: false;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
focusOnFirstInput: {
|
|
8
|
-
type: BooleanConstructor;
|
|
9
|
-
default: boolean;
|
|
10
|
-
};
|
|
11
|
-
focusOnFirstInputDelay: {
|
|
12
|
-
type: NumberConstructor;
|
|
13
|
-
default: number;
|
|
14
|
-
};
|
|
15
|
-
autoComplete: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
-
code: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
required: false;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
focusOnFirstInput: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
focusOnFirstInputDelay: {
|
|
30
|
-
type: NumberConstructor;
|
|
31
|
-
default: number;
|
|
32
|
-
};
|
|
33
|
-
autoComplete: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
default: string;
|
|
36
|
-
};
|
|
37
|
-
}>> & {
|
|
38
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
code: string;
|
|
41
|
-
focusOnFirstInput: boolean;
|
|
42
|
-
focusOnFirstInputDelay: number;
|
|
43
|
-
autoComplete: string;
|
|
44
|
-
}>;
|
|
45
|
-
export default _default;
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import "./main.scss";
|
|
2
|
-
import DhAdvancedDatePicker from "./components/AdvancedDatePicker.vue";
|
|
3
|
-
import DhAdvancedFilter from "./components/AdvancedFilter.vue";
|
|
4
|
-
import DhButton from "./components/Button.vue";
|
|
5
|
-
import DhCopyText from "./components/Copiable.vue";
|
|
6
|
-
import DhDatePicker from "./components/DatePicker.vue";
|
|
7
|
-
import DhDropdownMenu from "./components/DropdownMenu.vue";
|
|
8
|
-
import DhError from "./components/Error.vue";
|
|
9
|
-
import DhExpansionPanel from "./components/ExpansionPanel.vue";
|
|
10
|
-
import DhFileUpload from "./components/FileUpload.vue";
|
|
11
|
-
import DhIcon from "./components/Icon.vue";
|
|
12
|
-
import DhInputDropdown from "./components/InputDropdown.vue";
|
|
13
|
-
import DhInputDropdownMultiple from "./components/InputDropdownMultiple.vue";
|
|
14
|
-
import DhInputGroup from "./components/InputGroup.vue";
|
|
15
|
-
import DhInputList from "./components/InputList.vue";
|
|
16
|
-
import DhModal from "./components/Modal.vue";
|
|
17
|
-
import DhNotification from "./components/Notification.vue";
|
|
18
|
-
import DhNumberRange from "./components/NumberRange.vue";
|
|
19
|
-
import DhPasswordField from "./components/PasswordField.vue";
|
|
20
|
-
import DhRadioBox from "./components/RadioBox.vue";
|
|
21
|
-
import DhRadioBoxGroup from "./components/RadioBoxGroup.vue";
|
|
22
|
-
import DhSearchInput from "./components/SearchInput.vue";
|
|
23
|
-
import DhStepper from "./components/Stepper.vue";
|
|
24
|
-
import DhSwitch from "./components/Switch.vue";
|
|
25
|
-
import DhTooltip from "./components/Tooltip.vue";
|
|
26
|
-
import DhTextEditor from "./components/TextEditor.vue";
|
|
27
|
-
import DhVerificationCode from "./components/VerificationCode.vue";
|
|
28
|
-
import DhImageCropper from "./components/ImageCropper.vue";
|
|
29
|
-
import type DropdownMenuItem from "./models/DropdownMenuItem.model";
|
|
30
|
-
import type InputList from "./models/InputList.model";
|
|
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 };
|
|
32
|
-
export type { DropdownMenuItem, InputList };
|
package/dist/src/main.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export default interface DropdownMenuItem {
|
|
2
|
-
id?: number;
|
|
3
|
-
action?: string;
|
|
4
|
-
iconName: string;
|
|
5
|
-
iconUrl?: string;
|
|
6
|
-
text: string;
|
|
7
|
-
subText?: string;
|
|
8
|
-
url?: string;
|
|
9
|
-
dataE2eTag?: string;
|
|
10
|
-
isSelected?: boolean;
|
|
11
|
-
fqdn?: string;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export default class FileTool {
|
|
2
|
-
static get isReadOnlySupported(): boolean;
|
|
3
|
-
static get toolbox(): {
|
|
4
|
-
title: string;
|
|
5
|
-
icon: string;
|
|
6
|
-
};
|
|
7
|
-
constructor({ data, config, api }: {
|
|
8
|
-
data: any;
|
|
9
|
-
config: any;
|
|
10
|
-
api: any;
|
|
11
|
-
});
|
|
12
|
-
data: {
|
|
13
|
-
fileLinks: any;
|
|
14
|
-
fileIds: any;
|
|
15
|
-
fileNames: any;
|
|
16
|
-
};
|
|
17
|
-
api: any;
|
|
18
|
-
config: any;
|
|
19
|
-
wrapper: HTMLDivElement | null;
|
|
20
|
-
fileInput: HTMLInputElement | null;
|
|
21
|
-
resultContainer: HTMLDivElement | null;
|
|
22
|
-
uploading: boolean;
|
|
23
|
-
render(): HTMLDivElement;
|
|
24
|
-
container: HTMLDivElement | undefined;
|
|
25
|
-
icon: HTMLElement | undefined;
|
|
26
|
-
label: HTMLLabelElement | undefined;
|
|
27
|
-
browse: HTMLSpanElement | undefined;
|
|
28
|
-
populateExistingFiles(): void;
|
|
29
|
-
createResultElement(fileLink: any, fileId: any, fileName: any): HTMLDivElement;
|
|
30
|
-
handleFiles(files: any): void;
|
|
31
|
-
generateFileId(): number;
|
|
32
|
-
save(blockContent: any): {
|
|
33
|
-
fileLinks: any;
|
|
34
|
-
fileIds: any;
|
|
35
|
-
fileNames: any;
|
|
36
|
-
};
|
|
37
|
-
uploadFile(file: any, fileId: any): void;
|
|
38
|
-
iconName(fileName: any): any;
|
|
39
|
-
getExtension(fileName: any): any;
|
|
40
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export default class ImageTool {
|
|
2
|
-
static get isReadOnlySupported(): boolean;
|
|
3
|
-
static get toolbox(): {
|
|
4
|
-
title: string;
|
|
5
|
-
icon: string;
|
|
6
|
-
};
|
|
7
|
-
constructor({ data, config, api }: {
|
|
8
|
-
data: any;
|
|
9
|
-
config: any;
|
|
10
|
-
api: any;
|
|
11
|
-
});
|
|
12
|
-
data: {
|
|
13
|
-
imageLink: any;
|
|
14
|
-
fileId: any;
|
|
15
|
-
width: any;
|
|
16
|
-
position: any;
|
|
17
|
-
};
|
|
18
|
-
api: any;
|
|
19
|
-
config: any;
|
|
20
|
-
container: HTMLDivElement | null;
|
|
21
|
-
fileInput: HTMLInputElement | null;
|
|
22
|
-
img: HTMLElement | null;
|
|
23
|
-
label: HTMLLabelElement | null;
|
|
24
|
-
icon: HTMLElement | null;
|
|
25
|
-
browse: HTMLSpanElement | null;
|
|
26
|
-
uploading: boolean;
|
|
27
|
-
settings: {
|
|
28
|
-
name: string;
|
|
29
|
-
icon: string;
|
|
30
|
-
}[];
|
|
31
|
-
render(): HTMLDivElement;
|
|
32
|
-
wrapper: HTMLDivElement | undefined;
|
|
33
|
-
handleFile(file: any): void;
|
|
34
|
-
save(blockContent: any): {
|
|
35
|
-
imageLink: any;
|
|
36
|
-
fileId: any;
|
|
37
|
-
width: any;
|
|
38
|
-
position: any;
|
|
39
|
-
};
|
|
40
|
-
uploadFile(file: any): void;
|
|
41
|
-
renderSettings(): HTMLDivElement;
|
|
42
|
-
_toggleTune(tune: any): void;
|
|
43
|
-
_acceptTuneView(): void;
|
|
44
|
-
}
|