@getblock/core 0.0.76
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/README.md +16 -0
- package/dist/components/badges/Badges.vue.d.ts +23 -0
- package/dist/components/breadcrumbs/Breadcrumbs.vue.d.ts +61 -0
- package/dist/components/button/Button.types.d.ts +3 -0
- package/dist/components/button/Button.vue.d.ts +63 -0
- package/dist/components/checkbox/Checkbox.vue.d.ts +117 -0
- package/dist/components/checkbox/types.d.ts +5 -0
- package/dist/components/chips/Chips.vue.d.ts +48 -0
- package/dist/components/dropdown/Dropdown.vue.d.ts +217 -0
- package/dist/components/dropdownWithCheckbox/Dropdown.vue.d.ts +431 -0
- package/dist/components/droplist/Droplist.vue.d.ts +208 -0
- package/dist/components/icon/Icon.types.d.ts +2 -0
- package/dist/components/icon/Icon.vue.d.ts +41 -0
- package/dist/components/index.d.ts +21 -0
- package/dist/components/input/Input.vue.d.ts +195 -0
- package/dist/components/input/types.d.ts +10 -0
- package/dist/components/lineTab/LineTab.vue.d.ts +33 -0
- package/dist/components/listItem/ListItem.vue.d.ts +23 -0
- package/dist/components/loading/CustomLoader.vue.d.ts +24 -0
- package/dist/components/notification/Notification.vue.d.ts +190 -0
- package/dist/components/radioButton/RadioButton.vue.d.ts +88 -0
- package/dist/components/range/Range.vue.d.ts +61 -0
- package/dist/components/tabBar/TabBar.vue.d.ts +92 -0
- package/dist/components/tag/Tag.vue.d.ts +75 -0
- package/dist/components/textArea/TextArea.vue.d.ts +119 -0
- package/dist/components/toggle/Toggle.vue.d.ts +30 -0
- package/dist/components/tooltip/Tooltip.vue.d.ts +42 -0
- package/dist/getblockui-core.es.ts +1873 -0
- package/dist/getblockui-core.umd.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/style.css +1 -0
- package/dist/vite-env.d.ts +9 -0
- package/dist/vite.svg +1 -0
- package/package.json +73 -0
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
interface TabItem {
|
|
4
|
+
text: string;
|
|
5
|
+
value: string | number;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
iconName?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
10
|
+
selectedItem: {
|
|
11
|
+
type: PropType<TabItem>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
stretched: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
tabItems: {
|
|
19
|
+
type: PropType<TabItem[]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
iconsAndText: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
emits: (event: "changeSelectedItem", ...args: any[]) => void;
|
|
28
|
+
props: any;
|
|
29
|
+
changeSelectedItem: (item: TabItem) => void;
|
|
30
|
+
Icon: import("vue").DefineComponent<{
|
|
31
|
+
iconName: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
colorType: {
|
|
36
|
+
type: PropType<import("../icon/Icon.types").IconColorTypeProps>;
|
|
37
|
+
default: string;
|
|
38
|
+
validator: (value: import("../icon/Icon.types").IconColorTypeProps) => boolean;
|
|
39
|
+
};
|
|
40
|
+
sizeType: {
|
|
41
|
+
type: PropType<import("../icon/Icon.types").IconSizeTypeProps>;
|
|
42
|
+
default: string;
|
|
43
|
+
validator: (value: import("../icon/Icon.types").IconSizeTypeProps) => boolean;
|
|
44
|
+
};
|
|
45
|
+
}, {
|
|
46
|
+
props: any;
|
|
47
|
+
imgSize: import("vue").ComputedRef<number>;
|
|
48
|
+
classObject: import("vue").ComputedRef<object>;
|
|
49
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
|
+
iconName: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
colorType: {
|
|
55
|
+
type: PropType<import("../icon/Icon.types").IconColorTypeProps>;
|
|
56
|
+
default: string;
|
|
57
|
+
validator: (value: import("../icon/Icon.types").IconColorTypeProps) => boolean;
|
|
58
|
+
};
|
|
59
|
+
sizeType: {
|
|
60
|
+
type: PropType<import("../icon/Icon.types").IconSizeTypeProps>;
|
|
61
|
+
default: string;
|
|
62
|
+
validator: (value: import("../icon/Icon.types").IconSizeTypeProps) => boolean;
|
|
63
|
+
};
|
|
64
|
+
}>>, {
|
|
65
|
+
colorType: import("../icon/Icon.types").IconColorTypeProps;
|
|
66
|
+
sizeType: import("../icon/Icon.types").IconSizeTypeProps;
|
|
67
|
+
}>;
|
|
68
|
+
readonly tabBar: CSSModuleClasses;
|
|
69
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changeSelectedItem"[], "changeSelectedItem", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
+
selectedItem: {
|
|
71
|
+
type: PropType<TabItem>;
|
|
72
|
+
required: true;
|
|
73
|
+
};
|
|
74
|
+
stretched: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
tabItems: {
|
|
79
|
+
type: PropType<TabItem[]>;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
iconsAndText: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
}>> & {
|
|
87
|
+
onChangeSelectedItem?: ((...args: any[]) => any) | undefined;
|
|
88
|
+
}, {
|
|
89
|
+
stretched: boolean;
|
|
90
|
+
iconsAndText: boolean;
|
|
91
|
+
}>;
|
|
92
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
type SizeTypeProps = 'medium' | 'small';
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
+
sizeType: {
|
|
6
|
+
type: PropType<SizeTypeProps>;
|
|
7
|
+
default: string;
|
|
8
|
+
validator: (value: SizeTypeProps) => boolean;
|
|
9
|
+
};
|
|
10
|
+
disabled: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
emit: (event: "deleteTag", ...args: any[]) => void;
|
|
16
|
+
props: any;
|
|
17
|
+
classObject: import("vue").ComputedRef<object>;
|
|
18
|
+
iconHovered: import("vue").Ref<boolean>;
|
|
19
|
+
deleteTag: () => void;
|
|
20
|
+
readonly tag: CSSModuleClasses;
|
|
21
|
+
Icon: import("vue").DefineComponent<{
|
|
22
|
+
iconName: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
colorType: {
|
|
27
|
+
type: PropType<import("../icon/Icon.types").IconColorTypeProps>;
|
|
28
|
+
default: string;
|
|
29
|
+
validator: (value: import("../icon/Icon.types").IconColorTypeProps) => boolean;
|
|
30
|
+
};
|
|
31
|
+
sizeType: {
|
|
32
|
+
type: PropType<import("../icon/Icon.types").IconSizeTypeProps>;
|
|
33
|
+
default: string;
|
|
34
|
+
validator: (value: import("../icon/Icon.types").IconSizeTypeProps) => boolean;
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
props: any;
|
|
38
|
+
imgSize: import("vue").ComputedRef<number>;
|
|
39
|
+
classObject: import("vue").ComputedRef<object>;
|
|
40
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
+
iconName: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
colorType: {
|
|
46
|
+
type: PropType<import("../icon/Icon.types").IconColorTypeProps>;
|
|
47
|
+
default: string;
|
|
48
|
+
validator: (value: import("../icon/Icon.types").IconColorTypeProps) => boolean;
|
|
49
|
+
};
|
|
50
|
+
sizeType: {
|
|
51
|
+
type: PropType<import("../icon/Icon.types").IconSizeTypeProps>;
|
|
52
|
+
default: string;
|
|
53
|
+
validator: (value: import("../icon/Icon.types").IconSizeTypeProps) => boolean;
|
|
54
|
+
};
|
|
55
|
+
}>>, {
|
|
56
|
+
colorType: import("../icon/Icon.types").IconColorTypeProps;
|
|
57
|
+
sizeType: import("../icon/Icon.types").IconSizeTypeProps;
|
|
58
|
+
}>;
|
|
59
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "deleteTag"[], "deleteTag", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
60
|
+
sizeType: {
|
|
61
|
+
type: PropType<SizeTypeProps>;
|
|
62
|
+
default: string;
|
|
63
|
+
validator: (value: SizeTypeProps) => boolean;
|
|
64
|
+
};
|
|
65
|
+
disabled: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
}>> & {
|
|
70
|
+
onDeleteTag?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
}, {
|
|
72
|
+
sizeType: SizeTypeProps;
|
|
73
|
+
disabled: boolean;
|
|
74
|
+
}>;
|
|
75
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
type ColorTypeProps = 'fill' | 'outline';
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
+
disabled: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
error: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
placeholder: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
inputName: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
inputValue: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
colorType: {
|
|
26
|
+
type: PropType<ColorTypeProps>;
|
|
27
|
+
default: string;
|
|
28
|
+
validator: (value: ColorTypeProps) => boolean;
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
emits: (event: "resetError" | "update:inputValue", ...args: any[]) => void;
|
|
32
|
+
props: any;
|
|
33
|
+
inputRef: import("vue").Ref<HTMLInputElement | null>;
|
|
34
|
+
isFocused: import("vue").Ref<boolean>;
|
|
35
|
+
maxMessageSymbols: import("vue").Ref<number>;
|
|
36
|
+
value: import("vue").WritableComputedRef<string>;
|
|
37
|
+
classObject: import("vue").ComputedRef<object>;
|
|
38
|
+
hintClassObject: import("vue").ComputedRef<object>;
|
|
39
|
+
labelClassObject: import("vue").ComputedRef<object>;
|
|
40
|
+
onFocus: () => void;
|
|
41
|
+
onFocusOut: () => void;
|
|
42
|
+
slots: Readonly<{
|
|
43
|
+
[name: string]: import("vue").Slot | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
Icon: import("vue").DefineComponent<{
|
|
46
|
+
iconName: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
50
|
+
colorType: {
|
|
51
|
+
type: PropType<import("../icon/Icon.types").IconColorTypeProps>;
|
|
52
|
+
default: string;
|
|
53
|
+
validator: (value: import("../icon/Icon.types").IconColorTypeProps) => boolean;
|
|
54
|
+
};
|
|
55
|
+
sizeType: {
|
|
56
|
+
type: PropType<import("../icon/Icon.types").IconSizeTypeProps>;
|
|
57
|
+
default: string;
|
|
58
|
+
validator: (value: import("../icon/Icon.types").IconSizeTypeProps) => boolean;
|
|
59
|
+
};
|
|
60
|
+
}, {
|
|
61
|
+
props: any;
|
|
62
|
+
imgSize: import("vue").ComputedRef<number>;
|
|
63
|
+
classObject: import("vue").ComputedRef<object>;
|
|
64
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
+
iconName: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
required: true;
|
|
68
|
+
};
|
|
69
|
+
colorType: {
|
|
70
|
+
type: PropType<import("../icon/Icon.types").IconColorTypeProps>;
|
|
71
|
+
default: string;
|
|
72
|
+
validator: (value: import("../icon/Icon.types").IconColorTypeProps) => boolean;
|
|
73
|
+
};
|
|
74
|
+
sizeType: {
|
|
75
|
+
type: PropType<import("../icon/Icon.types").IconSizeTypeProps>;
|
|
76
|
+
default: string;
|
|
77
|
+
validator: (value: import("../icon/Icon.types").IconSizeTypeProps) => boolean;
|
|
78
|
+
};
|
|
79
|
+
}>>, {
|
|
80
|
+
colorType: import("../icon/Icon.types").IconColorTypeProps;
|
|
81
|
+
sizeType: import("../icon/Icon.types").IconSizeTypeProps;
|
|
82
|
+
}>;
|
|
83
|
+
readonly textarea: CSSModuleClasses;
|
|
84
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("resetError" | "update:inputValue")[], "resetError" | "update:inputValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
+
disabled: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
error: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
placeholder: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
inputName: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
required: true;
|
|
100
|
+
};
|
|
101
|
+
inputValue: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
required: true;
|
|
104
|
+
};
|
|
105
|
+
colorType: {
|
|
106
|
+
type: PropType<ColorTypeProps>;
|
|
107
|
+
default: string;
|
|
108
|
+
validator: (value: ColorTypeProps) => boolean;
|
|
109
|
+
};
|
|
110
|
+
}>> & {
|
|
111
|
+
onResetError?: ((...args: any[]) => any) | undefined;
|
|
112
|
+
"onUpdate:inputValue"?: ((...args: any[]) => any) | undefined;
|
|
113
|
+
}, {
|
|
114
|
+
error: boolean;
|
|
115
|
+
colorType: ColorTypeProps;
|
|
116
|
+
disabled: boolean;
|
|
117
|
+
placeholder: string;
|
|
118
|
+
}>;
|
|
119
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
disabled: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
selected: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
emit: (event: "changeSelected", ...args: any[]) => void;
|
|
12
|
+
props: any;
|
|
13
|
+
classObject: import("vue").ComputedRef<object>;
|
|
14
|
+
handleChange: () => void;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changeSelected"[], "changeSelected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
disabled: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
selected: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
}>> & {
|
|
25
|
+
onChangeSelected?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
selected: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
type HorizontalPositionProps = 'left' | 'right' | 'center';
|
|
3
|
+
type VerticalPositionProps = 'top' | 'bottom';
|
|
4
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
5
|
+
horizontalPosition: {
|
|
6
|
+
type: PropType<HorizontalPositionProps>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
verticalPosition: {
|
|
10
|
+
type: PropType<VerticalPositionProps>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
props: any;
|
|
15
|
+
triggerRef: import("vue").Ref<HTMLElement | null>;
|
|
16
|
+
tooltipRef: import("vue").Ref<HTMLElement | null>;
|
|
17
|
+
visible: import("vue").Ref<boolean>;
|
|
18
|
+
isHovered: import("vue").Ref<boolean>;
|
|
19
|
+
tooltipStyle: import("vue").Ref<{
|
|
20
|
+
top: string;
|
|
21
|
+
left: string;
|
|
22
|
+
}>;
|
|
23
|
+
showTooltip: () => Promise<void>;
|
|
24
|
+
hideTooltip: () => void;
|
|
25
|
+
onTriggerEnter: () => void;
|
|
26
|
+
onTriggerLeave: () => void;
|
|
27
|
+
onTooltipEnter: () => void;
|
|
28
|
+
onTooltipLeave: () => void;
|
|
29
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
+
horizontalPosition: {
|
|
31
|
+
type: PropType<HorizontalPositionProps>;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
verticalPosition: {
|
|
35
|
+
type: PropType<VerticalPositionProps>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}>>, {
|
|
39
|
+
horizontalPosition: HorizontalPositionProps;
|
|
40
|
+
verticalPosition: VerticalPositionProps;
|
|
41
|
+
}>;
|
|
42
|
+
export default _sfc_main;
|