@caipira/tamandua 0.0.115 → 0.0.116
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/types/components/Alert/Alert.story.d.ts +19 -0
- package/dist/types/components/Alert/Alert.vue.d.ts +62 -0
- package/dist/types/components/Alert/index.d.ts +4 -0
- package/dist/types/components/Alert/plugin.d.ts +3 -0
- package/dist/types/components/Alert/types.d.ts +42 -0
- package/dist/types/components/Avatar/Avatar.story.d.ts +27 -0
- package/dist/types/components/Avatar/Avatar.vue.d.ts +44 -0
- package/dist/types/components/Avatar/index.d.ts +4 -0
- package/dist/types/components/Avatar/plugin.d.ts +3 -0
- package/dist/types/components/Avatar/types.d.ts +10 -0
- package/dist/types/components/Backdrop/Backdrop.vue.d.ts +32 -0
- package/dist/types/components/Backdrop/index.d.ts +4 -0
- package/dist/types/components/Backdrop/plugin.d.ts +3 -0
- package/dist/types/components/Backdrop/types.d.ts +6 -0
- package/dist/types/components/Button/Button.story.d.ts +45 -0
- package/dist/types/components/Button/Button.vue.d.ts +141 -0
- package/dist/types/components/Button/index.d.ts +4 -0
- package/dist/types/components/Button/plugin.d.ts +3 -0
- package/dist/types/components/Button/types.d.ts +29 -0
- package/dist/types/components/ChartLine/ChartLine.story.d.ts +25 -0
- package/dist/types/components/ChartLine/ChartLine.vue.d.ts +35 -0
- package/dist/types/components/ChartLine/index.d.ts +4 -0
- package/dist/types/components/ChartLine/plugin.d.ts +3 -0
- package/dist/types/components/ChartLine/types.d.ts +17 -0
- package/dist/types/components/ChartTreemap/ChartTreemap.story.d.ts +45 -0
- package/dist/types/components/ChartTreemap/ChartTreemap.vue.d.ts +19 -0
- package/dist/types/components/ChartTreemap/index.d.ts +4 -0
- package/dist/types/components/ChartTreemap/plugin.d.ts +3 -0
- package/dist/types/components/ChartTreemap/types.d.ts +15 -0
- package/dist/types/components/DialogProvider/DialogProvider.vue.d.ts +3 -0
- package/dist/types/components/DialogProvider/index.d.ts +3 -0
- package/dist/types/components/DialogProvider/plugin.d.ts +3 -0
- package/dist/types/components/Drawer/Drawer.story.d.ts +21 -0
- package/dist/types/components/Drawer/Drawer.vue.d.ts +61 -0
- package/dist/types/components/Drawer/index.d.ts +4 -0
- package/dist/types/components/Drawer/plugin.d.ts +3 -0
- package/dist/types/components/Drawer/types.d.ts +11 -0
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts +124 -0
- package/dist/types/components/Dropdown/index.d.ts +4 -0
- package/dist/types/components/Dropdown/plugin.d.ts +3 -0
- package/dist/types/components/Dropdown/types.d.ts +25 -0
- package/dist/types/components/FileDrop/FileDrop.vue.d.ts +37 -0
- package/dist/types/components/FileDrop/index.d.ts +4 -0
- package/dist/types/components/FileDrop/plugin.d.ts +3 -0
- package/dist/types/components/FileDrop/types.d.ts +5 -0
- package/dist/types/components/Form/Form.story.d.ts +32 -0
- package/dist/types/components/Form/Form.test.d.ts +1 -0
- package/dist/types/components/Form/Form.vue.d.ts +36 -0
- package/dist/types/components/Form/index.d.ts +4 -0
- package/dist/types/components/Form/plugin.d.ts +3 -0
- package/dist/types/components/Form/types.d.ts +26 -0
- package/dist/types/components/FormItem/FormItem.vue.d.ts +24 -0
- package/dist/types/components/FormItem/index.d.ts +4 -0
- package/dist/types/components/FormItem/plugin.d.ts +3 -0
- package/dist/types/components/FormItem/types.d.ts +4 -0
- package/dist/types/components/GraphyEmpty/GraphyEmpty.vue.d.ts +22 -0
- package/dist/types/components/GraphyEmpty/index.d.ts +4 -0
- package/dist/types/components/GraphyEmpty/plugin.d.ts +3 -0
- package/dist/types/components/GraphyEmpty/types.d.ts +3 -0
- package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +22 -0
- package/dist/types/components/GraphyLabel/index.d.ts +4 -0
- package/dist/types/components/GraphyLabel/plugin.d.ts +3 -0
- package/dist/types/components/GraphyLabel/types.d.ts +3 -0
- package/dist/types/components/GraphyPrice/GraphyPrice.story.d.ts +27 -0
- package/dist/types/components/GraphyPrice/GraphyPrice.vue.d.ts +35 -0
- package/dist/types/components/GraphyPrice/index.d.ts +4 -0
- package/dist/types/components/GraphyPrice/plugin.d.ts +3 -0
- package/dist/types/components/GraphyPrice/types.d.ts +8 -0
- package/dist/types/components/GraphySubtitle/GraphySubtitle.vue.d.ts +28 -0
- package/dist/types/components/GraphySubtitle/index.d.ts +4 -0
- package/dist/types/components/GraphySubtitle/plugin.d.ts +3 -0
- package/dist/types/components/GraphySubtitle/types.d.ts +4 -0
- package/dist/types/components/GraphyTitle/GraphyTitle.vue.d.ts +12 -0
- package/dist/types/components/GraphyTitle/index.d.ts +4 -0
- package/dist/types/components/GraphyTitle/plugin.d.ts +3 -0
- package/dist/types/components/GraphyTitle/types.d.ts +3 -0
- package/dist/types/components/Icon/Icon.story.d.ts +25 -0
- package/dist/types/components/Icon/Icon.vue.d.ts +34 -0
- package/dist/types/components/Icon/index.d.ts +4 -0
- package/dist/types/components/Icon/plugin.d.ts +3 -0
- package/dist/types/components/Icon/types.d.ts +6 -0
- package/dist/types/components/InputAvatar/InputAvatar.vue.d.ts +16 -0
- package/dist/types/components/InputAvatar/index.d.ts +4 -0
- package/dist/types/components/InputAvatar/plugin.d.ts +3 -0
- package/dist/types/components/InputAvatar/types.d.ts +6 -0
- package/dist/types/components/InputCheckbox/Input-checkbox.story.d.ts +14 -0
- package/dist/types/components/InputCheckbox/InputCheckbox.vue.d.ts +43 -0
- package/dist/types/components/InputCheckbox/index.d.ts +4 -0
- package/dist/types/components/InputCheckbox/plugin.d.ts +3 -0
- package/dist/types/components/InputCheckbox/types.d.ts +18 -0
- package/dist/types/components/InputColor/InputColor.vue.d.ts +35 -0
- package/dist/types/components/InputColor/index.d.ts +4 -0
- package/dist/types/components/InputColor/plugin.d.ts +3 -0
- package/dist/types/components/InputColor/types.d.ts +8 -0
- package/dist/types/components/InputCryptoCurrency/InputCryptoCurrency.story.d.ts +14 -0
- package/dist/types/components/InputCryptoCurrency/InputCryptoCurrency.vue.d.ts +21 -0
- package/dist/types/components/InputCryptoCurrency/currencies.d.ts +8 -0
- package/dist/types/components/InputCryptoCurrency/index.d.ts +4 -0
- package/dist/types/components/InputCryptoCurrency/plugin.d.ts +3 -0
- package/dist/types/components/InputCryptoCurrency/types.d.ts +8 -0
- package/dist/types/components/InputDate/InputDate.story.d.ts +13 -0
- package/dist/types/components/InputDate/InputDate.vue.d.ts +16 -0
- package/dist/types/components/InputDate/index.d.ts +4 -0
- package/dist/types/components/InputDate/plugin.d.ts +3 -0
- package/dist/types/components/InputDate/types.d.ts +15 -0
- package/dist/types/components/InputMultiplier/InputMultiplier.vue.d.ts +50 -0
- package/dist/types/components/InputMultiplier/index.d.ts +4 -0
- package/dist/types/components/InputMultiplier/input-multiplier.story.d.ts +43 -0
- package/dist/types/components/InputMultiplier/plugin.d.ts +3 -0
- package/dist/types/components/InputMultiplier/types.d.ts +19 -0
- package/dist/types/components/InputPassword/Input-password.story.d.ts +30 -0
- package/dist/types/components/InputPassword/InputPassword.vue.d.ts +55 -0
- package/dist/types/components/InputPassword/index.d.ts +4 -0
- package/dist/types/components/InputPassword/plugin.d.ts +3 -0
- package/dist/types/components/InputPassword/types.d.ts +21 -0
- package/dist/types/components/InputPhone/InputPhone.vue.d.ts +44 -0
- package/dist/types/components/InputPhone/index.d.ts +4 -0
- package/dist/types/components/InputPhone/plugin.d.ts +3 -0
- package/dist/types/components/InputPhone/types.d.ts +13 -0
- package/dist/types/components/InputPrice/InputPrice.story.d.ts +13 -0
- package/dist/types/components/InputPrice/InputPrice.vue.d.ts +25 -0
- package/dist/types/components/InputPrice/index.d.ts +4 -0
- package/dist/types/components/InputPrice/plugin.d.ts +3 -0
- package/dist/types/components/InputPrice/service.d.ts +7 -0
- package/dist/types/components/InputPrice/service.test.d.ts +1 -0
- package/dist/types/components/InputPrice/types.d.ts +12 -0
- package/dist/types/components/InputRadio/InputRadio.vue.d.ts +12 -0
- package/dist/types/components/InputRadio/InputRadioGroup.story.d.ts +11 -0
- package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +42 -0
- package/dist/types/components/InputRadio/index.d.ts +4 -0
- package/dist/types/components/InputRadio/plugin.d.ts +3 -0
- package/dist/types/components/InputRadio/types.d.ts +12 -0
- package/dist/types/components/InputSelect/InputSelect.story.d.ts +46 -0
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +2032 -0
- package/dist/types/components/InputSelect/index.d.ts +4 -0
- package/dist/types/components/InputSelect/plugin.d.ts +3 -0
- package/dist/types/components/InputSelect/types.d.ts +85 -0
- package/dist/types/components/InputSwitch/InputSwitch.story.d.ts +27 -0
- package/dist/types/components/InputSwitch/InputSwitch.vue.d.ts +39 -0
- package/dist/types/components/InputSwitch/index.d.ts +4 -0
- package/dist/types/components/InputSwitch/plugin.d.ts +3 -0
- package/dist/types/components/InputSwitch/types.d.ts +10 -0
- package/dist/types/components/InputText/InputText.story.d.ts +21 -0
- package/dist/types/components/InputText/InputText.vue.d.ts +67 -0
- package/dist/types/components/InputText/index.d.ts +4 -0
- package/dist/types/components/InputText/plugin.d.ts +3 -0
- package/dist/types/components/InputText/types.d.ts +16 -0
- package/dist/types/components/InputTextarea/InputTextarea.vue.d.ts +41 -0
- package/dist/types/components/InputTextarea/index.d.ts +4 -0
- package/dist/types/components/InputTextarea/plugin.d.ts +3 -0
- package/dist/types/components/InputTextarea/types.d.ts +10 -0
- package/dist/types/components/Link/Link.story.d.ts +20 -0
- package/dist/types/components/Link/Link.vue.d.ts +50 -0
- package/dist/types/components/Link/index.d.ts +4 -0
- package/dist/types/components/Link/plugin.d.ts +3 -0
- package/dist/types/components/Link/types.d.ts +10 -0
- package/dist/types/components/Modal/Modal.story.d.ts +21 -0
- package/dist/types/components/Modal/Modal.vue.d.ts +78 -0
- package/dist/types/components/Modal/index.d.ts +4 -0
- package/dist/types/components/Modal/plugin.d.ts +3 -0
- package/dist/types/components/Modal/types.d.ts +37 -0
- package/dist/types/components/ModalForm/ModalForm.story.d.ts +34 -0
- package/dist/types/components/ModalForm/ModalForm.vue.d.ts +58 -0
- package/dist/types/components/ModalForm/index.d.ts +4 -0
- package/dist/types/components/ModalForm/plugin.d.ts +3 -0
- package/dist/types/components/ModalForm/types.d.ts +20 -0
- package/dist/types/components/Pagination/Pagination.story.d.ts +16 -0
- package/dist/types/components/Pagination/Pagination.vue.d.ts +50 -0
- package/dist/types/components/Pagination/index.d.ts +4 -0
- package/dist/types/components/Pagination/plugin.d.ts +3 -0
- package/dist/types/components/Pagination/types.d.ts +7 -0
- package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +48 -0
- package/dist/types/components/Popconfirm/index.d.ts +4 -0
- package/dist/types/components/Popconfirm/plugin.d.ts +3 -0
- package/dist/types/components/Popconfirm/types.d.ts +8 -0
- package/dist/types/components/Popover/Popover.story.d.ts +15 -0
- package/dist/types/components/Popover/Popover.vue.d.ts +70 -0
- package/dist/types/components/Popover/index.d.ts +4 -0
- package/dist/types/components/Popover/plugin.d.ts +3 -0
- package/dist/types/components/Popover/types.d.ts +17 -0
- package/dist/types/components/ProgressCircle/ProgressCircle.story.d.ts +15 -0
- package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +50 -0
- package/dist/types/components/ProgressCircle/index.d.ts +4 -0
- package/dist/types/components/ProgressCircle/plugin.d.ts +3 -0
- package/dist/types/components/ProgressCircle/types.d.ts +7 -0
- package/dist/types/components/ProgressLine/ProgressLine.story.d.ts +14 -0
- package/dist/types/components/ProgressLine/ProgressLine.vue.d.ts +77 -0
- package/dist/types/components/ProgressLine/index.d.ts +4 -0
- package/dist/types/components/ProgressLine/plugin.d.ts +3 -0
- package/dist/types/components/ProgressLine/types.d.ts +18 -0
- package/dist/types/components/Range/Range.story.d.ts +56 -0
- package/dist/types/components/Range/Range.vue.d.ts +50 -0
- package/dist/types/components/Range/index.d.ts +4 -0
- package/dist/types/components/Range/plugin.d.ts +3 -0
- package/dist/types/components/Range/types.d.ts +12 -0
- package/dist/types/components/SensitiveInfo/SensitiveInfo.vue.d.ts +22 -0
- package/dist/types/components/SensitiveInfo/index.d.ts +4 -0
- package/dist/types/components/SensitiveInfo/plugin.d.ts +3 -0
- package/dist/types/components/SensitiveInfo/types.d.ts +3 -0
- package/dist/types/components/Skeleton/Skeleton.vue.d.ts +31 -0
- package/dist/types/components/Skeleton/index.d.ts +4 -0
- package/dist/types/components/Skeleton/plugin.d.ts +3 -0
- package/dist/types/components/Skeleton/types.d.ts +4 -0
- package/dist/types/components/Tab/Tab.story.d.ts +15 -0
- package/dist/types/components/Tab/Tab.vue.d.ts +48 -0
- package/dist/types/components/Tab/index.d.ts +4 -0
- package/dist/types/components/Tab/plugin.d.ts +3 -0
- package/dist/types/components/Tab/types.d.ts +9 -0
- package/dist/types/components/Table/Table.story.d.ts +30 -0
- package/dist/types/components/Table/Table.vue.d.ts +34 -0
- package/dist/types/components/Table/index.d.ts +4 -0
- package/dist/types/components/Table/plugin.d.ts +3 -0
- package/dist/types/components/Table/types.d.ts +19 -0
- package/dist/types/components/Tag/Tag.story.d.ts +28 -0
- package/dist/types/components/Tag/Tag.vue.d.ts +58 -0
- package/dist/types/components/Tag/index.d.ts +4 -0
- package/dist/types/components/Tag/plugin.d.ts +3 -0
- package/dist/types/components/Tag/types.d.ts +13 -0
- package/dist/types/components/Toast/Toast.vue.d.ts +16 -0
- package/dist/types/components/Toast/index.d.ts +4 -0
- package/dist/types/components/Toast/plugin.d.ts +3 -0
- package/dist/types/components/Toast/types.d.ts +7 -0
- package/dist/types/components/index.d.ts +48 -0
- package/dist/types/components/plugins.d.ts +48 -0
- package/dist/types/components/types.d.ts +46 -0
- package/dist/types/composables/index.d.ts +6 -0
- package/dist/types/composables/useBreakpoints.d.ts +5 -0
- package/dist/types/composables/useClipboard.d.ts +3 -0
- package/dist/types/composables/useDialog.d.ts +466 -0
- package/dist/types/composables/useDomHelpers.d.ts +3 -0
- package/dist/types/composables/useRender.d.ts +2 -0
- package/dist/types/enums/form.d.ts +24 -0
- package/dist/types/enums/index.d.ts +3 -0
- package/dist/types/enums/ui.d.ts +238 -0
- package/dist/types/form/convertors.d.ts +3 -0
- package/dist/types/form/crud.d.ts +27 -0
- package/dist/types/form/form-data-transformers.d.ts +3 -0
- package/dist/types/form/form-transformer.d.ts +6 -0
- package/dist/types/form/form-transformer.test.d.ts +1 -0
- package/dist/types/form/index.d.ts +3 -0
- package/dist/types/form/json-transformers.d.ts +4 -0
- package/dist/types/form/transformers.d.ts +8 -0
- package/dist/types/form/useForm.d.ts +18 -0
- package/dist/types/form/useForm.test.d.ts +1 -0
- package/dist/types/i18n.d.ts +21 -0
- package/dist/types/index.d.ts +8 -6
- package/dist/types/mocks/countries.d.ts +14 -0
- package/dist/types/plugins/register-component.d.ts +3 -0
- package/dist/types/services/date.d.ts +2 -0
- package/dist/types/services/password.d.ts +5 -0
- package/dist/types/services/password.test.d.ts +1 -0
- package/dist/types/types/index.d.ts +6 -0
- package/dist/types/vitest.setup.d.ts +1 -0
- package/package.json +6 -5
- /package/dist/types/{address.d.ts → types/address.d.ts} +0 -0
- /package/dist/types/{api.d.ts → types/api.d.ts} +0 -0
- /package/dist/types/{common.d.ts → types/common.d.ts} +0 -0
- /package/dist/types/{form.d.ts → types/form.d.ts} +0 -0
- /package/dist/types/{ui.d.ts → types/ui.d.ts} +0 -0
- /package/dist/types/{website.d.ts → types/website.d.ts} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
args: {};
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const Alert: (args: any) => {
|
|
7
|
+
setup(): {
|
|
8
|
+
args: any;
|
|
9
|
+
open: import('vue').Ref<boolean>;
|
|
10
|
+
title: import('vue').Ref<string>;
|
|
11
|
+
message: import('vue').Ref<string>;
|
|
12
|
+
type: string;
|
|
13
|
+
alert: (options: import('./types.js').AlertProps & {
|
|
14
|
+
onConfirm?: (confirmation?: string) => void;
|
|
15
|
+
onClose?: () => void;
|
|
16
|
+
}) => void;
|
|
17
|
+
};
|
|
18
|
+
template: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { AlertProps } from './types.js';
|
|
2
|
+
declare var __VLS_10: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_10) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<AlertProps>, {
|
|
7
|
+
type: string;
|
|
8
|
+
title: string;
|
|
9
|
+
message: string;
|
|
10
|
+
closeTitle: string;
|
|
11
|
+
cancelTitle: string;
|
|
12
|
+
confirmTitle: string;
|
|
13
|
+
confirmationValue: string;
|
|
14
|
+
}>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
15
|
+
closed: (val?: any) => void;
|
|
16
|
+
confirmed: (val?: string | undefined) => void;
|
|
17
|
+
}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AlertProps>, {
|
|
18
|
+
type: string;
|
|
19
|
+
title: string;
|
|
20
|
+
message: string;
|
|
21
|
+
closeTitle: string;
|
|
22
|
+
cancelTitle: string;
|
|
23
|
+
confirmTitle: string;
|
|
24
|
+
confirmationValue: string;
|
|
25
|
+
}>>> & {
|
|
26
|
+
onClosed?: ((val?: any) => any) | undefined;
|
|
27
|
+
onConfirmed?: ((val?: string | undefined) => any) | undefined;
|
|
28
|
+
}, {
|
|
29
|
+
type: "alert" | "confirm" | "type-confirm";
|
|
30
|
+
title: string;
|
|
31
|
+
message: string | string[];
|
|
32
|
+
closeTitle: string;
|
|
33
|
+
cancelTitle: string;
|
|
34
|
+
confirmTitle: string;
|
|
35
|
+
confirmationValue: string;
|
|
36
|
+
}, {}>;
|
|
37
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_TypePropsToOption<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
43
|
+
} : {
|
|
44
|
+
type: import('vue').PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
type __VLS_WithDefaults<P, D> = {
|
|
49
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
50
|
+
default: D[K];
|
|
51
|
+
}> : P[K];
|
|
52
|
+
};
|
|
53
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
59
|
+
[K in keyof T]: T[K];
|
|
60
|
+
} : {
|
|
61
|
+
[K in keyof T as K]: T[K];
|
|
62
|
+
}) & {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export type AlertProps = {
|
|
2
|
+
/**
|
|
3
|
+
* Type of alert.
|
|
4
|
+
*
|
|
5
|
+
* 'alert' - Simple alert with a close button.
|
|
6
|
+
* 'confirm' - Confirmation alert with confirm and cancel buttons.
|
|
7
|
+
* 'type-confirm' - Confirmation alert where the user must type a
|
|
8
|
+
* specific value to confirm the action.
|
|
9
|
+
*/
|
|
10
|
+
type?: "alert" | "confirm" | "type-confirm";
|
|
11
|
+
/**
|
|
12
|
+
* Alert title.
|
|
13
|
+
*/
|
|
14
|
+
title?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Alert message.
|
|
17
|
+
*/
|
|
18
|
+
message?: string | string[];
|
|
19
|
+
/**
|
|
20
|
+
* Title for the close button, in case of 'alert' type.
|
|
21
|
+
*/
|
|
22
|
+
closeTitle?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Title for the cancel button, in case of 'confirm' or 'type-confirm'
|
|
25
|
+
* type.
|
|
26
|
+
*/
|
|
27
|
+
cancelTitle?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Title for the confirm button, in case of 'confirm' or 'type-confirm'
|
|
30
|
+
* type.
|
|
31
|
+
*/
|
|
32
|
+
confirmTitle?: string;
|
|
33
|
+
/**
|
|
34
|
+
* If type is 'type-confirm', the user must type this value to confirm
|
|
35
|
+
* the action.
|
|
36
|
+
*/
|
|
37
|
+
confirmationValue?: string;
|
|
38
|
+
};
|
|
39
|
+
export type AlertEvents = {
|
|
40
|
+
(e: "closed", val?: any): void;
|
|
41
|
+
(e: "confirmed", val?: string): void;
|
|
42
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementSize, ElementShape } from '../../enums/ui.js';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
args: {
|
|
5
|
+
image: string;
|
|
6
|
+
size: ElementSize;
|
|
7
|
+
shape: ElementShape;
|
|
8
|
+
text: string;
|
|
9
|
+
};
|
|
10
|
+
argTypes: {
|
|
11
|
+
size: {
|
|
12
|
+
control: string;
|
|
13
|
+
options: ElementSize[];
|
|
14
|
+
};
|
|
15
|
+
shape: {
|
|
16
|
+
control: string;
|
|
17
|
+
options: ElementShape[];
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export default _default;
|
|
22
|
+
export declare const Avatar: (args: any) => {
|
|
23
|
+
setup(): {
|
|
24
|
+
args: any;
|
|
25
|
+
};
|
|
26
|
+
template: string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { AvatarProps } from './types.js';
|
|
2
|
+
import { ElementSize, ElementShape } from '../../enums/ui.js';
|
|
3
|
+
declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<AvatarProps>, {
|
|
4
|
+
text: string;
|
|
5
|
+
role: string;
|
|
6
|
+
size: ElementSize;
|
|
7
|
+
image: string;
|
|
8
|
+
shape: ElementShape;
|
|
9
|
+
backgroundColorClass: string;
|
|
10
|
+
}>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AvatarProps>, {
|
|
11
|
+
text: string;
|
|
12
|
+
role: string;
|
|
13
|
+
size: ElementSize;
|
|
14
|
+
image: string;
|
|
15
|
+
shape: ElementShape;
|
|
16
|
+
backgroundColorClass: string;
|
|
17
|
+
}>>>, {
|
|
18
|
+
image: string;
|
|
19
|
+
text: string;
|
|
20
|
+
size: `${ElementSize}`;
|
|
21
|
+
role: string;
|
|
22
|
+
shape: `${ElementShape}`;
|
|
23
|
+
backgroundColorClass: string;
|
|
24
|
+
}, {}>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_TypePropsToOption<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} : {
|
|
43
|
+
[K in keyof T as K]: T[K];
|
|
44
|
+
}) & {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ElementSize, ElementShape, Icon } from '../../enums/ui.js';
|
|
2
|
+
export type AvatarProps = {
|
|
3
|
+
icon?: `${Icon}`;
|
|
4
|
+
text?: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
size?: `${ElementSize}`;
|
|
7
|
+
image?: string;
|
|
8
|
+
shape?: `${ElementShape}`;
|
|
9
|
+
backgroundColorClass?: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { BackdropProps } from './types.js';
|
|
2
|
+
declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<BackdropProps>, {
|
|
3
|
+
isTransparent: boolean;
|
|
4
|
+
}>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
5
|
+
click: (val: MouseEvent) => void;
|
|
6
|
+
}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BackdropProps>, {
|
|
7
|
+
isTransparent: boolean;
|
|
8
|
+
}>>> & {
|
|
9
|
+
onClick?: ((val: MouseEvent) => any) | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
isTransparent: boolean;
|
|
12
|
+
}, {}>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithDefaults<P, D> = {
|
|
24
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
25
|
+
default: D[K];
|
|
26
|
+
}> : P[K];
|
|
27
|
+
};
|
|
28
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
29
|
+
[K in keyof T]: T[K];
|
|
30
|
+
} : {
|
|
31
|
+
[K in keyof T as K]: T[K];
|
|
32
|
+
}) & {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Icon, ElementShape, ButtonVariant, ButtonInnerAlignment } from '../../enums/ui.js';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
args: {
|
|
5
|
+
label: string;
|
|
6
|
+
type: string;
|
|
7
|
+
outline: boolean;
|
|
8
|
+
variant: ButtonVariant;
|
|
9
|
+
shape: ElementShape;
|
|
10
|
+
innerAlignment: ButtonInnerAlignment;
|
|
11
|
+
};
|
|
12
|
+
argTypes: {
|
|
13
|
+
variant: {
|
|
14
|
+
control: string;
|
|
15
|
+
options: ButtonVariant[];
|
|
16
|
+
};
|
|
17
|
+
type: {
|
|
18
|
+
options: string[];
|
|
19
|
+
control: string;
|
|
20
|
+
};
|
|
21
|
+
shape: {
|
|
22
|
+
options: ElementShape[];
|
|
23
|
+
control: string;
|
|
24
|
+
};
|
|
25
|
+
innerAlignment: {
|
|
26
|
+
options: ButtonInnerAlignment[];
|
|
27
|
+
control: string;
|
|
28
|
+
};
|
|
29
|
+
outline: {
|
|
30
|
+
options: boolean[];
|
|
31
|
+
control: string;
|
|
32
|
+
};
|
|
33
|
+
icon: {
|
|
34
|
+
options: Icon[];
|
|
35
|
+
control: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default _default;
|
|
40
|
+
export declare const Button: (args: any) => {
|
|
41
|
+
setup(): {
|
|
42
|
+
args: any;
|
|
43
|
+
};
|
|
44
|
+
template: string;
|
|
45
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { ButtonProps } from './types.js';
|
|
2
|
+
import { ButtonType, ElementSize, ElementShape, ButtonVariant, ButtonInnerAlignment } from '../../enums/ui.js';
|
|
3
|
+
declare var __VLS_17: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_17) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_base: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
|
|
8
|
+
bold: boolean;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
hover: boolean;
|
|
11
|
+
href: string;
|
|
12
|
+
iconPosition: string;
|
|
13
|
+
iconProps: () => {};
|
|
14
|
+
label: string;
|
|
15
|
+
multiple: boolean;
|
|
16
|
+
outline: boolean;
|
|
17
|
+
shape: ElementShape;
|
|
18
|
+
size: ElementSize;
|
|
19
|
+
type: ButtonType;
|
|
20
|
+
innerAlignment: ButtonInnerAlignment;
|
|
21
|
+
variant: ButtonVariant;
|
|
22
|
+
}>, {
|
|
23
|
+
iconReference: import('vue', { with: { "resolution-mode": "import" } }).Ref<import('vue', { with: { "resolution-mode": "import" } }).CreateComponentPublicInstance<Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
|
|
24
|
+
size: {
|
|
25
|
+
type: import('vue', { with: { "resolution-mode": "import" } }).PropType<number | "" | "default" | "xs" | "sm" | "lg" | "xl">;
|
|
26
|
+
default: ElementSize;
|
|
27
|
+
};
|
|
28
|
+
icon: {
|
|
29
|
+
type: import('vue', { with: { "resolution-mode": "import" } }).PropType<number | "filter" | "stop" | "label" | "menu" | "video" | "circle" | "image" | "text" | "search" | "account" | "account-box" | "account-box-outline" | "account-circle" | "account-circle-outline" | "account-group" | "account-group-outline" | "account-multiple" | "account-multiple-outline" | "account-outline" | "alert-octagon" | "alert-octagon-outline" | "api" | "apps" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "book-multiple" | "book-multiple-outline" | "bookshelf" | "bucket" | "bucket-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "clock-fast" | "clock-outline" | "close" | "close-circle" | "close-circle-outline" | "cog" | "contacts" | "contacts-outline" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "database-outline" | "dots-grid" | "dots-horizontal" | "dots-vertical" | "download" | "download-box" | "download-box-outline" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "fullscreen" | "fullscreen-exit" | "git" | "group" | "home" | "home-outline" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "label-outline" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "movie-open" | "movie-open-outline" | "open-in-new" | "pause" | "pause-circle" | "pencil" | "piggy-bank-outline" | "play" | "play-box" | "play-box-edit-outline" | "play-box-outline" | "play-circle" | "playlist-play" | "plus" | "plus-circle" | "plus-circle-outline" | "progress-clock" | "qrcode-scan" | "refresh" | "replay" | "save" | "shuffle" | "shuffle-disabled" | "shuffle-variant" | "skip-backward" | "skip-forward" | "skip-next" | "skip-previous" | "source-repository" | "spotlight" | "store" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag" | "tag-edit" | "tag-edit-outline" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "text-long" | "timer-outline" | "timer-refresh-outline" | "trash-can" | "trash-can-outline" | "tray-arrow-down" | "ungroup" | "upload" | "upload-box-outline" | "upload-multiple-outline" | "upload-outline" | "video-outline" | "web" | "zip-box">;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
role: {
|
|
33
|
+
type: import('vue', { with: { "resolution-mode": "import" } }).PropType<string>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
36
|
+
}>>, {
|
|
37
|
+
reference: import('vue', { with: { "resolution-mode": "import" } }).Ref<HTMLElement | null>;
|
|
38
|
+
}, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, import('vue', { with: { "resolution-mode": "import" } }).VNodeProps & import('vue', { with: { "resolution-mode": "import" } }).AllowedComponentProps & import('vue', { with: { "resolution-mode": "import" } }).ComponentCustomProps & Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
|
|
39
|
+
size: {
|
|
40
|
+
type: import('vue', { with: { "resolution-mode": "import" } }).PropType<number | "" | "default" | "xs" | "sm" | "lg" | "xl">;
|
|
41
|
+
default: ElementSize;
|
|
42
|
+
};
|
|
43
|
+
icon: {
|
|
44
|
+
type: import('vue', { with: { "resolution-mode": "import" } }).PropType<number | "filter" | "stop" | "label" | "menu" | "video" | "circle" | "image" | "text" | "search" | "account" | "account-box" | "account-box-outline" | "account-circle" | "account-circle-outline" | "account-group" | "account-group-outline" | "account-multiple" | "account-multiple-outline" | "account-outline" | "alert-octagon" | "alert-octagon-outline" | "api" | "apps" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "book-multiple" | "book-multiple-outline" | "bookshelf" | "bucket" | "bucket-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "clock-fast" | "clock-outline" | "close" | "close-circle" | "close-circle-outline" | "cog" | "contacts" | "contacts-outline" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "database-outline" | "dots-grid" | "dots-horizontal" | "dots-vertical" | "download" | "download-box" | "download-box-outline" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "fullscreen" | "fullscreen-exit" | "git" | "group" | "home" | "home-outline" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "label-outline" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "movie-open" | "movie-open-outline" | "open-in-new" | "pause" | "pause-circle" | "pencil" | "piggy-bank-outline" | "play" | "play-box" | "play-box-edit-outline" | "play-box-outline" | "play-circle" | "playlist-play" | "plus" | "plus-circle" | "plus-circle-outline" | "progress-clock" | "qrcode-scan" | "refresh" | "replay" | "save" | "shuffle" | "shuffle-disabled" | "shuffle-variant" | "skip-backward" | "skip-forward" | "skip-next" | "skip-previous" | "source-repository" | "spotlight" | "store" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag" | "tag-edit" | "tag-edit-outline" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "text-long" | "timer-outline" | "timer-refresh-outline" | "trash-can" | "trash-can-outline" | "tray-arrow-down" | "ungroup" | "upload" | "upload-box-outline" | "upload-multiple-outline" | "upload-outline" | "video-outline" | "web" | "zip-box">;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
role: {
|
|
48
|
+
type: import('vue', { with: { "resolution-mode": "import" } }).PropType<string>;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
}>>, {
|
|
52
|
+
size: `${ElementSize}` | number;
|
|
53
|
+
role: string;
|
|
54
|
+
}, true, {}, {}, {
|
|
55
|
+
P: {};
|
|
56
|
+
B: {};
|
|
57
|
+
D: {};
|
|
58
|
+
C: {};
|
|
59
|
+
M: {};
|
|
60
|
+
Defaults: {};
|
|
61
|
+
}, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<{
|
|
62
|
+
size: {
|
|
63
|
+
type: import('vue', { with: { "resolution-mode": "import" } }).PropType<number | "" | "default" | "xs" | "sm" | "lg" | "xl">;
|
|
64
|
+
default: ElementSize;
|
|
65
|
+
};
|
|
66
|
+
icon: {
|
|
67
|
+
type: import('vue', { with: { "resolution-mode": "import" } }).PropType<number | "filter" | "stop" | "label" | "menu" | "video" | "circle" | "image" | "text" | "search" | "account" | "account-box" | "account-box-outline" | "account-circle" | "account-circle-outline" | "account-group" | "account-group-outline" | "account-multiple" | "account-multiple-outline" | "account-outline" | "alert-octagon" | "alert-octagon-outline" | "api" | "apps" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "book-multiple" | "book-multiple-outline" | "bookshelf" | "bucket" | "bucket-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "clock-fast" | "clock-outline" | "close" | "close-circle" | "close-circle-outline" | "cog" | "contacts" | "contacts-outline" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "database-outline" | "dots-grid" | "dots-horizontal" | "dots-vertical" | "download" | "download-box" | "download-box-outline" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "fullscreen" | "fullscreen-exit" | "git" | "group" | "home" | "home-outline" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "label-outline" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "movie-open" | "movie-open-outline" | "open-in-new" | "pause" | "pause-circle" | "pencil" | "piggy-bank-outline" | "play" | "play-box" | "play-box-edit-outline" | "play-box-outline" | "play-circle" | "playlist-play" | "plus" | "plus-circle" | "plus-circle-outline" | "progress-clock" | "qrcode-scan" | "refresh" | "replay" | "save" | "shuffle" | "shuffle-disabled" | "shuffle-variant" | "skip-backward" | "skip-forward" | "skip-next" | "skip-previous" | "source-repository" | "spotlight" | "store" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag" | "tag-edit" | "tag-edit-outline" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "text-long" | "timer-outline" | "timer-refresh-outline" | "trash-can" | "trash-can-outline" | "tray-arrow-down" | "ungroup" | "upload" | "upload-box-outline" | "upload-multiple-outline" | "upload-outline" | "video-outline" | "web" | "zip-box">;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
role: {
|
|
71
|
+
type: import('vue', { with: { "resolution-mode": "import" } }).PropType<string>;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
}>>, {
|
|
75
|
+
reference: import('vue', { with: { "resolution-mode": "import" } }).Ref<HTMLElement | null>;
|
|
76
|
+
}, {}, {}, {}, {
|
|
77
|
+
size: `${ElementSize}` | number;
|
|
78
|
+
role: string;
|
|
79
|
+
}> | null>;
|
|
80
|
+
}, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
81
|
+
upload: (val: FileList) => void;
|
|
82
|
+
}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
|
|
83
|
+
bold: boolean;
|
|
84
|
+
disabled: boolean;
|
|
85
|
+
hover: boolean;
|
|
86
|
+
href: string;
|
|
87
|
+
iconPosition: string;
|
|
88
|
+
iconProps: () => {};
|
|
89
|
+
label: string;
|
|
90
|
+
multiple: boolean;
|
|
91
|
+
outline: boolean;
|
|
92
|
+
shape: ElementShape;
|
|
93
|
+
size: ElementSize;
|
|
94
|
+
type: ButtonType;
|
|
95
|
+
innerAlignment: ButtonInnerAlignment;
|
|
96
|
+
variant: ButtonVariant;
|
|
97
|
+
}>>> & {
|
|
98
|
+
onUpload?: ((val: FileList) => any) | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
type: `${ButtonType}`;
|
|
101
|
+
label: string;
|
|
102
|
+
bold: boolean;
|
|
103
|
+
size: `${ElementSize}`;
|
|
104
|
+
hover: boolean;
|
|
105
|
+
shape: `${ElementShape}`;
|
|
106
|
+
disabled: boolean;
|
|
107
|
+
iconPosition: "left" | "right";
|
|
108
|
+
iconProps: Partial<import('../types.js', { with: { "resolution-mode": "import" } }).IconProps> & {
|
|
109
|
+
class?: string;
|
|
110
|
+
};
|
|
111
|
+
multiple: boolean;
|
|
112
|
+
outline: boolean;
|
|
113
|
+
variant: `${ButtonVariant}`;
|
|
114
|
+
innerAlignment: `${ButtonInnerAlignment}`;
|
|
115
|
+
}, {}>;
|
|
116
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
117
|
+
declare const _default: typeof __VLS_export;
|
|
118
|
+
export default _default;
|
|
119
|
+
type __VLS_TypePropsToOption<T> = {
|
|
120
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
121
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
122
|
+
} : {
|
|
123
|
+
type: import('vue').PropType<T[K]>;
|
|
124
|
+
required: true;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
type __VLS_WithDefaults<P, D> = {
|
|
128
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
129
|
+
default: D[K];
|
|
130
|
+
}> : P[K];
|
|
131
|
+
};
|
|
132
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
133
|
+
new (): {
|
|
134
|
+
$slots: S;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
138
|
+
[K in keyof T]: T[K];
|
|
139
|
+
} : {
|
|
140
|
+
[K in keyof T as K]: T[K];
|
|
141
|
+
}) & {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IconProps } from '../Icon/types.js';
|
|
2
|
+
import { Icon, ButtonType, ElementSize, ElementShape, ButtonVariant, ButtonInnerAlignment } from '../../enums/ui.js';
|
|
3
|
+
export type ButtonProps = {
|
|
4
|
+
animate?: {
|
|
5
|
+
target: "icon";
|
|
6
|
+
trigger: "click";
|
|
7
|
+
animation: object;
|
|
8
|
+
reset: object;
|
|
9
|
+
};
|
|
10
|
+
bold?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
hover?: boolean;
|
|
13
|
+
icon?: `${Icon}`;
|
|
14
|
+
iconPosition?: "left" | "right";
|
|
15
|
+
iconProps?: Partial<IconProps> & {
|
|
16
|
+
class?: string;
|
|
17
|
+
};
|
|
18
|
+
label?: string;
|
|
19
|
+
multiple?: boolean;
|
|
20
|
+
outline?: boolean;
|
|
21
|
+
shape?: `${ElementShape}`;
|
|
22
|
+
size?: `${ElementSize}`;
|
|
23
|
+
type?: `${ButtonType}`;
|
|
24
|
+
variant?: `${ButtonVariant}`;
|
|
25
|
+
innerAlignment?: `${ButtonInnerAlignment}`;
|
|
26
|
+
};
|
|
27
|
+
export type ButtonEvents = {
|
|
28
|
+
(e: "upload", val: FileList): void;
|
|
29
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
args: {
|
|
4
|
+
data: {
|
|
5
|
+
labels: string[];
|
|
6
|
+
datasets: {
|
|
7
|
+
label: string;
|
|
8
|
+
color: string;
|
|
9
|
+
data: number[];
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
options: {
|
|
13
|
+
scatterplot: boolean;
|
|
14
|
+
grid: boolean;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
argTypes: {};
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
20
|
+
export declare const Line: (args: any) => {
|
|
21
|
+
setup(): {
|
|
22
|
+
args: any;
|
|
23
|
+
};
|
|
24
|
+
template: string;
|
|
25
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ChartLineProps } from './types.js';
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
4
|
+
declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ChartLineProps>, {
|
|
5
|
+
options: () => {
|
|
6
|
+
scatterplot: boolean;
|
|
7
|
+
};
|
|
8
|
+
}>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ChartLineProps>, {
|
|
9
|
+
options: () => {
|
|
10
|
+
scatterplot: boolean;
|
|
11
|
+
};
|
|
12
|
+
}>>>, {
|
|
13
|
+
options: {
|
|
14
|
+
scatterplot?: boolean;
|
|
15
|
+
grid?: boolean;
|
|
16
|
+
};
|
|
17
|
+
}, {}>;
|
|
18
|
+
type __VLS_TypePropsToOption<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} : {
|
|
34
|
+
[K in keyof T as K]: T[K];
|
|
35
|
+
}) & {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type Data = {
|
|
2
|
+
labels: string[];
|
|
3
|
+
datasets: {
|
|
4
|
+
label: string;
|
|
5
|
+
color: string;
|
|
6
|
+
data: number[];
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
type Options = {
|
|
10
|
+
scatterplot?: boolean;
|
|
11
|
+
grid?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export type ChartLineProps = {
|
|
14
|
+
data: Data;
|
|
15
|
+
options: Options;
|
|
16
|
+
};
|
|
17
|
+
export {};
|