sprintify-ui 0.2.10 → 0.2.11
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/sprintify-ui.es.js +2 -2
- package/dist/types/src/components/BaseActionItem.vue.d.ts +27 -20
- package/dist/types/src/components/BaseActionItemButton.vue.d.ts +21 -28
- package/dist/types/src/components/BaseAddressForm.vue.d.ts +63 -50
- package/dist/types/src/components/BaseBadge.vue.d.ts +41 -40
- package/dist/types/src/components/BaseBoolean.vue.d.ts +9 -14
- package/dist/types/src/components/BaseCropper.vue.d.ts +42 -25
- package/dist/types/src/components/BaseCropperModal.vue.d.ts +18 -17
- package/dist/types/src/components/BaseDataIteratorSectionBox.vue.d.ts +11 -14
- package/dist/types/src/components/BaseDataIteratorSectionButton.vue.d.ts +12 -15
- package/dist/types/src/components/BaseDataIteratorSectionModal.vue.d.ts +20 -17
- package/dist/types/src/components/BaseDataTableRowAction.vue.d.ts +18 -15
- package/dist/types/src/components/BaseDatePicker.vue.d.ts +107 -74
- package/dist/types/src/components/BaseDraggable.vue.d.ts +35 -20
- package/dist/types/src/components/BaseFilePicker.vue.d.ts +43 -42
- package/dist/types/src/components/BaseFilePickerCrop.vue.d.ts +43 -40
- package/dist/types/src/components/BaseFileUploader.vue.d.ts +83 -62
- package/dist/types/src/components/BaseGantt.vue.d.ts +424 -0
- package/dist/types/src/components/BaseHeader.vue.d.ts +81 -66
- package/dist/types/src/components/BaseIconPicker.vue.d.ts +27 -34
- package/dist/types/src/components/BaseLayoutNotificationItemContent.vue.d.ts +18 -15
- package/dist/types/src/components/BaseSideNavigation.vue.d.ts +11 -26
- package/dist/types/src/components/BaseSideNavigationItem.vue.d.ts +27 -32
- package/dist/types/src/components/BaseTabItem.vue.d.ts +27 -32
- package/dist/types/src/components/BaseTabs.vue.d.ts +11 -26
- package/dist/types/src/services/gantt/format.d.ts +24 -0
- package/dist/types/src/services/gantt/timescale.d.ts +26 -0
- package/dist/types/src/services/gantt/types.d.ts +67 -0
- package/package.json +1 -1
- package/src/components/BaseGantt.stories.js +130 -0
- package/src/components/BaseGantt.vue +333 -0
- package/src/services/gantt/format.ts +113 -0
- package/src/services/gantt/timescale.ts +243 -0
- package/src/services/gantt/types.ts +75 -0
package/dist/sprintify-ui.es.js
CHANGED
|
@@ -4122,7 +4122,7 @@ function wm() {
|
|
|
4122
4122
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
4123
4123
|
*/
|
|
4124
4124
|
basis: [{
|
|
4125
|
-
basis:
|
|
4125
|
+
basis: x()
|
|
4126
4126
|
}],
|
|
4127
4127
|
/**
|
|
4128
4128
|
* Flex Direction
|
|
@@ -12380,7 +12380,7 @@ function Qy(t, n) {
|
|
|
12380
12380
|
var e;
|
|
12381
12381
|
if (typeof t == "number")
|
|
12382
12382
|
return t + n;
|
|
12383
|
-
const r = ((e = t.match(/^-?[0-9]+\.?[0-9]*/)) == null ? void 0 : e[0]) || "", o = t.slice(r.length), a = parseFloat(r) + n;
|
|
12383
|
+
const r = ((e = t.match(/^-?[0-9]+\.?[0-9]*/)) == null ? void 0 : e[0]) || "", o = t.slice(r.length), a = Number.parseFloat(r) + n;
|
|
12384
12384
|
return Number.isNaN(a) ? t : a + o;
|
|
12385
12385
|
}
|
|
12386
12386
|
function Jy(...t) {
|
|
@@ -1,15 +1,31 @@
|
|
|
1
1
|
import { RouteLocationRaw } from 'vue-router';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
3
|
-
to
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
to: {
|
|
4
|
+
type: import("vue").PropType<RouteLocationRaw>;
|
|
5
|
+
};
|
|
6
|
+
href: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
};
|
|
9
|
+
action: {
|
|
10
|
+
type: import("vue").PropType<(() => Promise<void>) | (() => void)>;
|
|
11
|
+
};
|
|
12
|
+
class: {
|
|
13
|
+
type: import("vue").PropType<string | string[] | null>;
|
|
14
|
+
};
|
|
15
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
to: {
|
|
17
|
+
type: import("vue").PropType<RouteLocationRaw>;
|
|
18
|
+
};
|
|
19
|
+
href: {
|
|
20
|
+
type: import("vue").PropType<string>;
|
|
21
|
+
};
|
|
22
|
+
action: {
|
|
23
|
+
type: import("vue").PropType<(() => Promise<void>) | (() => void)>;
|
|
24
|
+
};
|
|
25
|
+
class: {
|
|
26
|
+
type: import("vue").PropType<string | string[] | null>;
|
|
27
|
+
};
|
|
28
|
+
}>> & {
|
|
13
29
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
14
30
|
}, {}, {}>, {
|
|
15
31
|
default?(_: {
|
|
@@ -17,15 +33,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
17
33
|
}): any;
|
|
18
34
|
}>;
|
|
19
35
|
export default _default;
|
|
20
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
-
} : {
|
|
25
|
-
type: import('vue').PropType<T[K]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
36
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
37
|
new (): {
|
|
31
38
|
$slots: S;
|
|
@@ -1,32 +1,25 @@
|
|
|
1
1
|
import { ActionItem } from '@/types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
action:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
action: {
|
|
4
|
+
type: import("vue").PropType<ActionItem>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
size: {
|
|
8
|
+
type: import("vue").PropType<"sm" | "lg" | "md">;
|
|
9
|
+
required: true;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
action: {
|
|
14
|
+
type: import("vue").PropType<ActionItem>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
size: {
|
|
18
|
+
type: import("vue").PropType<"sm" | "lg" | "md">;
|
|
19
|
+
required: true;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>>, {
|
|
13
23
|
size: "sm" | "lg" | "md";
|
|
14
24
|
}, {}>;
|
|
15
25
|
export default _default;
|
|
16
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
-
} : {
|
|
21
|
-
type: import('vue').PropType<T[K]>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
type __VLS_WithDefaults<P, D> = {
|
|
26
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
-
default: D[K];
|
|
28
|
-
}> : P[K];
|
|
29
|
-
};
|
|
30
|
-
type __VLS_Prettify<T> = {
|
|
31
|
-
[K in keyof T]: T[K];
|
|
32
|
-
} & {};
|
|
@@ -8,39 +8,69 @@ type Address = {
|
|
|
8
8
|
region?: string | null;
|
|
9
9
|
country?: string | null;
|
|
10
10
|
};
|
|
11
|
-
declare const _default: import("vue").DefineComponent<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
countries
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
11
|
+
declare const _default: import("vue").DefineComponent<{
|
|
12
|
+
prefix: {
|
|
13
|
+
type: import("vue").PropType<string | null>;
|
|
14
|
+
required: true;
|
|
15
|
+
default: null;
|
|
16
|
+
};
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: import("vue").PropType<Address | null | undefined>;
|
|
19
|
+
required: true;
|
|
20
|
+
default: () => {};
|
|
21
|
+
};
|
|
22
|
+
countries: {
|
|
23
|
+
type: import("vue").PropType<Country[]>;
|
|
24
|
+
default: () => never[];
|
|
25
|
+
};
|
|
26
|
+
regions: {
|
|
27
|
+
type: import("vue").PropType<Region[]>;
|
|
28
|
+
default: () => never[];
|
|
29
|
+
};
|
|
30
|
+
restrictCountry: {
|
|
31
|
+
type: import("vue").PropType<boolean>;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
hideRegion: {
|
|
35
|
+
type: import("vue").PropType<boolean>;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
hideCountry: {
|
|
39
|
+
type: import("vue").PropType<boolean>;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:model-value"[], "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
prefix: {
|
|
44
|
+
type: import("vue").PropType<string | null>;
|
|
45
|
+
required: true;
|
|
46
|
+
default: null;
|
|
47
|
+
};
|
|
48
|
+
modelValue: {
|
|
49
|
+
type: import("vue").PropType<Address | null | undefined>;
|
|
50
|
+
required: true;
|
|
51
|
+
default: () => {};
|
|
52
|
+
};
|
|
53
|
+
countries: {
|
|
54
|
+
type: import("vue").PropType<Country[]>;
|
|
55
|
+
default: () => never[];
|
|
56
|
+
};
|
|
57
|
+
regions: {
|
|
58
|
+
type: import("vue").PropType<Region[]>;
|
|
59
|
+
default: () => never[];
|
|
60
|
+
};
|
|
61
|
+
restrictCountry: {
|
|
62
|
+
type: import("vue").PropType<boolean>;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
hideRegion: {
|
|
66
|
+
type: import("vue").PropType<boolean>;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
hideCountry: {
|
|
70
|
+
type: import("vue").PropType<boolean>;
|
|
71
|
+
default: boolean;
|
|
72
|
+
};
|
|
73
|
+
}>> & {
|
|
44
74
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
45
75
|
}, {
|
|
46
76
|
prefix: string | null;
|
|
@@ -52,20 +82,3 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
52
82
|
hideCountry: boolean;
|
|
53
83
|
}, {}>;
|
|
54
84
|
export default _default;
|
|
55
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
57
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
-
} : {
|
|
60
|
-
type: import('vue').PropType<T[K]>;
|
|
61
|
-
required: true;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
type __VLS_WithDefaults<P, D> = {
|
|
65
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
66
|
-
default: D[K];
|
|
67
|
-
}> : P[K];
|
|
68
|
-
};
|
|
69
|
-
type __VLS_Prettify<T> = {
|
|
70
|
-
[K in keyof T]: T[K];
|
|
71
|
-
} & {};
|
|
@@ -1,26 +1,44 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
size:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
color: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
icon: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
size: {
|
|
11
|
+
type: import("vue").PropType<"base" | "sm" | "lg">;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
contrast: {
|
|
15
|
+
type: import("vue").PropType<"high" | "low">;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
wrap: {
|
|
19
|
+
type: import("vue").PropType<boolean>;
|
|
20
|
+
};
|
|
21
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
color: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
icon: {
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
size: {
|
|
31
|
+
type: import("vue").PropType<"base" | "sm" | "lg">;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
contrast: {
|
|
35
|
+
type: import("vue").PropType<"high" | "low">;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
wrap: {
|
|
39
|
+
type: import("vue").PropType<boolean>;
|
|
40
|
+
};
|
|
41
|
+
}>>, {
|
|
24
42
|
color: string;
|
|
25
43
|
icon: string;
|
|
26
44
|
size: "base" | "sm" | "lg";
|
|
@@ -29,25 +47,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
47
|
default?(_: {}): any;
|
|
30
48
|
}>;
|
|
31
49
|
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
type __VLS_WithDefaults<P, D> = {
|
|
42
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
-
default: D[K];
|
|
44
|
-
}> : P[K];
|
|
45
|
-
};
|
|
46
50
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
51
|
new (): {
|
|
48
52
|
$slots: S;
|
|
49
53
|
};
|
|
50
54
|
};
|
|
51
|
-
type __VLS_Prettify<T> = {
|
|
52
|
-
[K in keyof T]: T[K];
|
|
53
|
-
} & {};
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<
|
|
2
|
-
modelValue
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
type
|
|
8
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: import("vue").PropType<string | number | boolean | null>;
|
|
4
|
+
};
|
|
5
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
6
|
+
modelValue: {
|
|
7
|
+
type: import("vue").PropType<string | number | boolean | null>;
|
|
14
8
|
};
|
|
15
|
-
}
|
|
9
|
+
}>>, {}, {}>;
|
|
10
|
+
export default _default;
|
|
@@ -5,26 +5,52 @@ declare function save(result?: ResultOptions): Promise<HTMLCanvasElement | strin
|
|
|
5
5
|
declare function resetViewPort(): void;
|
|
6
6
|
declare function rotateLeft(): void;
|
|
7
7
|
declare function rotateRight(): void;
|
|
8
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
9
|
-
source:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
9
|
+
source: {
|
|
10
|
+
type: import("vue").PropType<string>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
config: {
|
|
14
|
+
type: import("vue").PropType<CropperConfig>;
|
|
15
|
+
};
|
|
16
|
+
preset: {
|
|
17
|
+
type: import("vue").PropType<"avatar" | "cover">;
|
|
18
|
+
};
|
|
19
|
+
presetOptions: {
|
|
20
|
+
type: import("vue").PropType<Record<string, any>>;
|
|
21
|
+
};
|
|
22
|
+
disabled: {
|
|
23
|
+
type: import("vue").PropType<boolean>;
|
|
24
|
+
};
|
|
25
|
+
saveOptions: {
|
|
26
|
+
type: import("vue").PropType<Croppie.ResultOptions>;
|
|
27
|
+
};
|
|
28
|
+
}, {
|
|
16
29
|
save: typeof save;
|
|
17
30
|
resetViewPort: typeof resetViewPort;
|
|
18
31
|
rotateLeft: typeof rotateLeft;
|
|
19
32
|
rotateRight: typeof rotateRight;
|
|
20
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
21
|
-
source:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
source: {
|
|
35
|
+
type: import("vue").PropType<string>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
config: {
|
|
39
|
+
type: import("vue").PropType<CropperConfig>;
|
|
40
|
+
};
|
|
41
|
+
preset: {
|
|
42
|
+
type: import("vue").PropType<"avatar" | "cover">;
|
|
43
|
+
};
|
|
44
|
+
presetOptions: {
|
|
45
|
+
type: import("vue").PropType<Record<string, any>>;
|
|
46
|
+
};
|
|
47
|
+
disabled: {
|
|
48
|
+
type: import("vue").PropType<boolean>;
|
|
49
|
+
};
|
|
50
|
+
saveOptions: {
|
|
51
|
+
type: import("vue").PropType<Croppie.ResultOptions>;
|
|
52
|
+
};
|
|
53
|
+
}>>, {}, {}>, {
|
|
28
54
|
header?(_: {
|
|
29
55
|
save: typeof save;
|
|
30
56
|
resetViewPort: typeof resetViewPort;
|
|
@@ -43,15 +69,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
69
|
}): any;
|
|
44
70
|
}>;
|
|
45
71
|
export default _default;
|
|
46
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
-
} : {
|
|
51
|
-
type: import('vue').PropType<T[K]>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
72
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
73
|
new (): {
|
|
57
74
|
$slots: S;
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { BaseCropperConfig } from '@/types';
|
|
2
2
|
declare function save(): Promise<unknown>;
|
|
3
|
-
declare const _default: import("vue").DefineComponent<
|
|
4
|
-
modelValue
|
|
5
|
-
|
|
6
|
-
}
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: import("vue").PropType<boolean>;
|
|
6
|
+
};
|
|
7
|
+
cropper: {
|
|
8
|
+
type: import("vue").PropType<BaseCropperConfig>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
7
12
|
save: typeof save;
|
|
8
13
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
14
|
"update:modelValue": (value: boolean) => void;
|
|
10
15
|
cropped: (value: string | Blob | HTMLCanvasElement) => void;
|
|
11
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
12
|
-
modelValue
|
|
13
|
-
|
|
14
|
-
}
|
|
16
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: import("vue").PropType<boolean>;
|
|
19
|
+
};
|
|
20
|
+
cropper: {
|
|
21
|
+
type: import("vue").PropType<BaseCropperConfig>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
}>> & {
|
|
15
25
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
16
26
|
onCropped?: ((value: string | Blob | HTMLCanvasElement) => any) | undefined;
|
|
17
27
|
}, {}, {}>;
|
|
18
28
|
export default _default;
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
-
} : {
|
|
24
|
-
type: import('vue').PropType<T[K]>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { DataIteratorSection } from '@/types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
3
|
-
section:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
section: {
|
|
4
|
+
type: import("vue").PropType<DataIteratorSection>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
section: {
|
|
9
|
+
type: import("vue").PropType<DataIteratorSection>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>>, {}, {}>, {
|
|
7
13
|
default?(_: {}): any;
|
|
8
14
|
}>;
|
|
9
15
|
export default _default;
|
|
10
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
-
} : {
|
|
15
|
-
type: import('vue').PropType<T[K]>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
17
|
new (): {
|
|
21
18
|
$slots: S;
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import { DataIteratorSection } from '@/types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
-
section:
|
|
4
|
-
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
section: {
|
|
4
|
+
type: import("vue").PropType<DataIteratorSection>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
8
|
open: () => void;
|
|
6
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
7
|
-
section:
|
|
8
|
-
|
|
9
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
section: {
|
|
11
|
+
type: import("vue").PropType<DataIteratorSection>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>> & {
|
|
9
15
|
onOpen?: (() => any) | undefined;
|
|
10
16
|
}, {}, {}>;
|
|
11
17
|
export default _default;
|
|
12
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
-
} : {
|
|
17
|
-
type: import('vue').PropType<T[K]>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
import { DataIteratorSection } from '@/types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
3
|
-
modelValue:
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: import("vue").PropType<boolean>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
section: {
|
|
8
|
+
type: import("vue").PropType<DataIteratorSection>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
12
|
"update:modelValue": (value: boolean) => void;
|
|
7
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
|
8
|
-
modelValue:
|
|
9
|
-
|
|
10
|
-
|
|
13
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
modelValue: {
|
|
15
|
+
type: import("vue").PropType<boolean>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
section: {
|
|
19
|
+
type: import("vue").PropType<DataIteratorSection>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}>> & {
|
|
11
23
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
12
24
|
}, {}, {}>, {
|
|
13
25
|
default?(_: {}): any;
|
|
14
26
|
}>;
|
|
15
27
|
export default _default;
|
|
16
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
-
} : {
|
|
21
|
-
type: import('vue').PropType<T[K]>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
29
|
new (): {
|
|
27
30
|
$slots: S;
|