ablok-components 0.3.24 → 0.3.25
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/ablok-components.css +1 -1
- package/dist/ablok-components.es.js +3004 -2907
- package/dist/ablok-components.umd.js +22 -22
- package/dist/components/molecules/hint-system/hint-system.spec.d.ts +1 -0
- package/dist/components/molecules/hint-system/hint-system.vue.d.ts +129 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
declare function revealNext(): void;
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
hint?(_: {
|
|
6
|
+
hint: any;
|
|
7
|
+
index: number;
|
|
8
|
+
isNew: boolean;
|
|
9
|
+
}): any;
|
|
10
|
+
trigger?(_: {
|
|
11
|
+
revealNext: typeof revealNext;
|
|
12
|
+
canReveal: boolean;
|
|
13
|
+
revealedCount: number;
|
|
14
|
+
total: number;
|
|
15
|
+
}): any;
|
|
16
|
+
};
|
|
17
|
+
refs: {};
|
|
18
|
+
rootEl: HTMLDivElement;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('../../../../vue/dist/vue.esm-bundler.js').DefineComponent<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
22
|
+
modelValue: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
hints: {
|
|
27
|
+
type: {
|
|
28
|
+
(arrayLength: number): Record<string, any>[];
|
|
29
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
30
|
+
new (arrayLength: number): Record<string, any>[];
|
|
31
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
32
|
+
isArray(arg: any): arg is any[];
|
|
33
|
+
readonly prototype: any[];
|
|
34
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
35
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
36
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
37
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
38
|
+
of<T>(...items: T[]): T[];
|
|
39
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
40
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
41
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
42
|
+
};
|
|
43
|
+
default: () => never[];
|
|
44
|
+
};
|
|
45
|
+
penalty: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
maxHints: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
htmlContent: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
label: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
}>, {}, {}, {}, {}, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
62
|
+
"update:modelValue": (value: number) => any;
|
|
63
|
+
"hint-revealed": (payload: {
|
|
64
|
+
hint: Record<string, any>;
|
|
65
|
+
index: number;
|
|
66
|
+
penaltyTotal: number;
|
|
67
|
+
}) => any;
|
|
68
|
+
}, string, import('../../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<import('../../../../vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
|
|
69
|
+
modelValue: {
|
|
70
|
+
type: NumberConstructor;
|
|
71
|
+
default: number;
|
|
72
|
+
};
|
|
73
|
+
hints: {
|
|
74
|
+
type: {
|
|
75
|
+
(arrayLength: number): Record<string, any>[];
|
|
76
|
+
(...items: Record<string, any>[]): Record<string, any>[];
|
|
77
|
+
new (arrayLength: number): Record<string, any>[];
|
|
78
|
+
new (...items: Record<string, any>[]): Record<string, any>[];
|
|
79
|
+
isArray(arg: any): arg is any[];
|
|
80
|
+
readonly prototype: any[];
|
|
81
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
82
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
83
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
84
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
85
|
+
of<T>(...items: T[]): T[];
|
|
86
|
+
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
87
|
+
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
88
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
89
|
+
};
|
|
90
|
+
default: () => never[];
|
|
91
|
+
};
|
|
92
|
+
penalty: {
|
|
93
|
+
type: NumberConstructor;
|
|
94
|
+
default: number;
|
|
95
|
+
};
|
|
96
|
+
maxHints: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
default: undefined;
|
|
99
|
+
};
|
|
100
|
+
htmlContent: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
label: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
}>> & Readonly<{
|
|
109
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
110
|
+
"onHint-revealed"?: ((payload: {
|
|
111
|
+
hint: Record<string, any>;
|
|
112
|
+
index: number;
|
|
113
|
+
penaltyTotal: number;
|
|
114
|
+
}) => any) | undefined;
|
|
115
|
+
}>, {
|
|
116
|
+
label: string;
|
|
117
|
+
modelValue: number;
|
|
118
|
+
hints: Record<string, any>[];
|
|
119
|
+
penalty: number;
|
|
120
|
+
maxHints: number;
|
|
121
|
+
htmlContent: boolean;
|
|
122
|
+
}, {}, {}, {}, string, import('../../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
123
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
124
|
+
export default _default;
|
|
125
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
126
|
+
new (): {
|
|
127
|
+
$slots: S;
|
|
128
|
+
};
|
|
129
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export { default as AssetUploader } from './components/organisms/asset-uploader/
|
|
|
31
31
|
export { default as BaseCarousel } from './components/templates/base-carousel/base-carousel.vue';
|
|
32
32
|
export { default as MediaThumbnails } from './components/molecules/media-thumbnails/media-thumbnails.vue';
|
|
33
33
|
export { default as ProgressSteps } from './components/molecules/progress-steps/progress-steps.vue';
|
|
34
|
+
export { default as HintSystem } from './components/molecules/hint-system/hint-system.vue';
|
|
34
35
|
export { default as PopoverTooltip } from './components/molecules/popover-tooltip/popover-tooltip.vue';
|
|
35
36
|
export { default as PopoverNotifications } from './components/molecules/popover-notifications/popover-notifications.vue';
|
|
36
37
|
export { default as DomRenderer } from './components/molecules/dom-renderer/dom-renderer.vue';
|