@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,50 @@
|
|
|
1
|
+
import { InputMultiplierProps } from './types.js';
|
|
2
|
+
import { FormControlSize } from '../../enums/ui.js';
|
|
3
|
+
declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<InputMultiplierProps>, {
|
|
4
|
+
size: FormControlSize;
|
|
5
|
+
component: string;
|
|
6
|
+
listeners: () => {};
|
|
7
|
+
inputProps: () => {};
|
|
8
|
+
newItemModel: string;
|
|
9
|
+
canRemove: (item: any) => boolean;
|
|
10
|
+
}>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
11
|
+
"update:model-value": (value: any[]) => void;
|
|
12
|
+
}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<InputMultiplierProps>, {
|
|
13
|
+
size: FormControlSize;
|
|
14
|
+
component: string;
|
|
15
|
+
listeners: () => {};
|
|
16
|
+
inputProps: () => {};
|
|
17
|
+
newItemModel: string;
|
|
18
|
+
canRemove: (item: any) => boolean;
|
|
19
|
+
}>>> & {
|
|
20
|
+
"onUpdate:model-value"?: ((value: any[]) => any) | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
size: `${FormControlSize}`;
|
|
23
|
+
component: "t-input-text" | import('vue', { with: { "resolution-mode": "import" } }).Component | "t-input-phone";
|
|
24
|
+
inputProps: any;
|
|
25
|
+
listeners: {
|
|
26
|
+
[key: string]: (...args: any[]) => void;
|
|
27
|
+
};
|
|
28
|
+
newItemModel: any;
|
|
29
|
+
canRemove: (item: any) => boolean;
|
|
30
|
+
}, {}>;
|
|
31
|
+
declare const _default: typeof __VLS_export;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_TypePropsToOption<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<Required<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_PrettifyLocal<P[K] & {
|
|
43
|
+
default: D[K];
|
|
44
|
+
}> : P[K];
|
|
45
|
+
};
|
|
46
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
47
|
+
[K in keyof T]: T[K];
|
|
48
|
+
} : {
|
|
49
|
+
[K in keyof T as K]: T[K];
|
|
50
|
+
}) & {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { FormControlSize } from '../../enums/ui.js';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
args: {
|
|
5
|
+
size: FormControlSize;
|
|
6
|
+
label: string;
|
|
7
|
+
component: string;
|
|
8
|
+
inputProps: {
|
|
9
|
+
resource: () => ({
|
|
10
|
+
dialCode: string;
|
|
11
|
+
flag: string;
|
|
12
|
+
iso2: string;
|
|
13
|
+
name: string;
|
|
14
|
+
order: null;
|
|
15
|
+
} | {
|
|
16
|
+
dialCode: string;
|
|
17
|
+
flag: string;
|
|
18
|
+
iso2: string;
|
|
19
|
+
name: string;
|
|
20
|
+
order: string;
|
|
21
|
+
})[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
argTypes: {
|
|
25
|
+
size: {
|
|
26
|
+
options: FormControlSize[];
|
|
27
|
+
control: string;
|
|
28
|
+
};
|
|
29
|
+
component: {
|
|
30
|
+
options: string[];
|
|
31
|
+
control: string;
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
export default _default;
|
|
37
|
+
export declare const Multiplier: (args: any) => {
|
|
38
|
+
setup(): {
|
|
39
|
+
args: any;
|
|
40
|
+
submit: (payload: any) => void;
|
|
41
|
+
};
|
|
42
|
+
template: string;
|
|
43
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { FormControlSize } from '../../enums/ui.js';
|
|
3
|
+
type ComponentType = "t-input-text" | "t-input-phone" | Component;
|
|
4
|
+
export type InputMultiplierProps = {
|
|
5
|
+
size?: `${FormControlSize}`;
|
|
6
|
+
component?: ComponentType;
|
|
7
|
+
inputProps?: any;
|
|
8
|
+
listeners?: {
|
|
9
|
+
[key: string]: (...args: any[]) => void;
|
|
10
|
+
};
|
|
11
|
+
newItemModel?: any;
|
|
12
|
+
modelValue?: any[];
|
|
13
|
+
canRemove?: (item: any) => boolean;
|
|
14
|
+
};
|
|
15
|
+
export type InputMultiplierEvents = {
|
|
16
|
+
/** Fired when the input value changes */
|
|
17
|
+
(event: "update:model-value", value: any[]): void;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
args: {
|
|
4
|
+
encryptor: (value: string) => Promise<string>;
|
|
5
|
+
showStrength: boolean;
|
|
6
|
+
showRefresh: boolean;
|
|
7
|
+
value: undefined;
|
|
8
|
+
};
|
|
9
|
+
argTypes: {
|
|
10
|
+
showStrength: {
|
|
11
|
+
options: boolean[];
|
|
12
|
+
control: string;
|
|
13
|
+
};
|
|
14
|
+
showRefresh: {
|
|
15
|
+
options: boolean[];
|
|
16
|
+
control: string;
|
|
17
|
+
};
|
|
18
|
+
showCopy: {
|
|
19
|
+
options: boolean[];
|
|
20
|
+
control: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
25
|
+
export declare const Password: (args: any) => {
|
|
26
|
+
setup(): {
|
|
27
|
+
args: any;
|
|
28
|
+
};
|
|
29
|
+
template: string;
|
|
30
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { InputPasswordModel, InputPasswordProps } from './types.js';
|
|
2
|
+
type __VLS_Props = InputPasswordProps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
modelValue?: InputPasswordModel;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
+
declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
8
|
+
autocomplete: string;
|
|
9
|
+
encryptor: undefined;
|
|
10
|
+
showCopy: boolean;
|
|
11
|
+
showRefresh: boolean;
|
|
12
|
+
showStrength: boolean;
|
|
13
|
+
}>, {
|
|
14
|
+
focus: () => void;
|
|
15
|
+
}, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
16
|
+
generate: (val: InputPasswordModel) => void;
|
|
17
|
+
enter: () => void;
|
|
18
|
+
"update:modelValue": (value: InputPasswordModel) => void;
|
|
19
|
+
}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
20
|
+
autocomplete: string;
|
|
21
|
+
encryptor: undefined;
|
|
22
|
+
showCopy: boolean;
|
|
23
|
+
showRefresh: boolean;
|
|
24
|
+
showStrength: boolean;
|
|
25
|
+
}>>> & {
|
|
26
|
+
"onUpdate:modelValue"?: ((value: InputPasswordModel) => any) | undefined;
|
|
27
|
+
onEnter?: (() => any) | undefined;
|
|
28
|
+
onGenerate?: ((val: InputPasswordModel) => any) | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
autocomplete: string;
|
|
31
|
+
encryptor: (value: string) => Promise<string>;
|
|
32
|
+
showCopy: boolean;
|
|
33
|
+
showRefresh: boolean;
|
|
34
|
+
showStrength: boolean;
|
|
35
|
+
}, {}>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_TypePropsToOption<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
type __VLS_WithDefaults<P, D> = {
|
|
47
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
48
|
+
default: D[K];
|
|
49
|
+
}> : P[K];
|
|
50
|
+
};
|
|
51
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} : {
|
|
54
|
+
[K in keyof T as K]: T[K];
|
|
55
|
+
}) & {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { default as InputPassword } from './InputPassword.vue';
|
|
2
|
+
import { default as InputPasswordPlugin } from './plugin.js';
|
|
3
|
+
export { InputPassword, InputPasswordPlugin };
|
|
4
|
+
export type { InputPasswordProps, InputPasswordModel, InputPasswordEvents, } from './types.js';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type InputPasswordModel = {
|
|
2
|
+
/** Unencrypted password */
|
|
3
|
+
raw: string;
|
|
4
|
+
/** If an encryptor was passed, this prop will hold the encrypted value */
|
|
5
|
+
hash?: string;
|
|
6
|
+
/** Strength of the password */
|
|
7
|
+
strength?: number;
|
|
8
|
+
/** Date of creation or last update */
|
|
9
|
+
updatedAt?: string;
|
|
10
|
+
};
|
|
11
|
+
export type InputPasswordProps = {
|
|
12
|
+
autocomplete?: string;
|
|
13
|
+
encryptor?: (value: string) => Promise<string>;
|
|
14
|
+
showCopy?: boolean;
|
|
15
|
+
showRefresh?: boolean;
|
|
16
|
+
showStrength?: boolean;
|
|
17
|
+
};
|
|
18
|
+
export type InputPasswordEvents = {
|
|
19
|
+
(e: "generate", val: InputPasswordModel): void;
|
|
20
|
+
(e: "enter"): void;
|
|
21
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { InputPhoneProps } from './types.js';
|
|
2
|
+
declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<InputPhoneProps>, {
|
|
3
|
+
modelValue: () => any;
|
|
4
|
+
}>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
5
|
+
"update:model-value": (val: {
|
|
6
|
+
iso2: string;
|
|
7
|
+
dialCode: string;
|
|
8
|
+
number: string;
|
|
9
|
+
}) => void;
|
|
10
|
+
}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<InputPhoneProps>, {
|
|
11
|
+
modelValue: () => any;
|
|
12
|
+
}>>> & {
|
|
13
|
+
"onUpdate:model-value"?: ((val: {
|
|
14
|
+
iso2: string;
|
|
15
|
+
dialCode: string;
|
|
16
|
+
number: string;
|
|
17
|
+
}) => any) | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
modelValue: {
|
|
20
|
+
iso2: string;
|
|
21
|
+
dialCode: string;
|
|
22
|
+
number: string;
|
|
23
|
+
};
|
|
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,13 @@
|
|
|
1
|
+
type PhoneNumber = {
|
|
2
|
+
iso2: string;
|
|
3
|
+
dialCode: string;
|
|
4
|
+
number: string;
|
|
5
|
+
};
|
|
6
|
+
export type InputPhoneProps = {
|
|
7
|
+
resource: any;
|
|
8
|
+
modelValue?: PhoneNumber;
|
|
9
|
+
};
|
|
10
|
+
export type InputPhoneEvents = {
|
|
11
|
+
(e: "update:model-value", val: PhoneNumber): void;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
};
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Price: (args: any) => {
|
|
6
|
+
setup(): {
|
|
7
|
+
args: any;
|
|
8
|
+
onEnter: (newValue: any) => void;
|
|
9
|
+
onUpdate: (newValue: any) => void;
|
|
10
|
+
getCurrencies: () => Promise<unknown>;
|
|
11
|
+
};
|
|
12
|
+
template: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { InputPriceModel, InputPriceProps } from './types.js';
|
|
2
|
+
type __VLS_Props = InputPriceProps;
|
|
3
|
+
type __VLS_ModelProps = {
|
|
4
|
+
modelValue?: InputPriceModel;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
7
|
+
declare const __VLS_export: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
8
|
+
keyup: (val: KeyboardEvent) => void;
|
|
9
|
+
blur: (val: Event) => void;
|
|
10
|
+
"update:modelValue": (value: InputPriceModel) => void;
|
|
11
|
+
}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
12
|
+
onBlur?: ((val: Event) => any) | undefined;
|
|
13
|
+
onKeyup?: ((val: KeyboardEvent) => any) | undefined;
|
|
14
|
+
"onUpdate:modelValue"?: ((value: InputPriceModel) => any) | undefined;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type InputPriceModel = {
|
|
2
|
+
iso: string;
|
|
3
|
+
value?: string;
|
|
4
|
+
};
|
|
5
|
+
export type InputPriceProps = {
|
|
6
|
+
resource?: () => any;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export type InputPriceEvents = {
|
|
10
|
+
(e: "keyup", val: KeyboardEvent): void;
|
|
11
|
+
(e: "blur", val: Event): void;
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InputRadioProps } 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_TypePropsToOption<InputRadioProps>, 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_TypePropsToOption<InputRadioProps>>>, {}, {}>;
|
|
5
|
+
type __VLS_TypePropsToOption<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { InputRadioGroupProps } from './types.js';
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_base: import('vue', { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<InputRadioGroupProps>, {
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
}>, unknown, unknown, {}, {}, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import('vue', { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
|
|
9
|
+
"update:model-value": (val: string) => void;
|
|
10
|
+
}, string, import('vue', { with: { "resolution-mode": "import" } }).PublicProps, Readonly<import('vue', { with: { "resolution-mode": "import" } }).ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<InputRadioGroupProps>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
}>>> & {
|
|
13
|
+
"onUpdate:model-value"?: ((val: string) => any) | undefined;
|
|
14
|
+
}, {
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
}, {}>;
|
|
17
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
18
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_TypePropsToOption<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} : {
|
|
41
|
+
[K in keyof T as K]: T[K];
|
|
42
|
+
}) & {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type InputRadioProps = {
|
|
2
|
+
value?: any;
|
|
3
|
+
label?: string;
|
|
4
|
+
};
|
|
5
|
+
export type InputRadioGroupProps = {
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
modelValue?: any;
|
|
8
|
+
initialValue?: any;
|
|
9
|
+
};
|
|
10
|
+
export type InputRadioGroupEvents = {
|
|
11
|
+
(e: "update:model-value", val: string): void;
|
|
12
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Pagination } from '../../types/ui.js';
|
|
2
|
+
import { APISearchFilters } from '../../types/api.js';
|
|
3
|
+
import { InputSelectOption } from './types.js';
|
|
4
|
+
import { FormControlSize } from '../../enums/ui.js';
|
|
5
|
+
declare const _default: {
|
|
6
|
+
title: string;
|
|
7
|
+
args: {
|
|
8
|
+
size: FormControlSize;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
};
|
|
11
|
+
argTypes: {
|
|
12
|
+
size: {
|
|
13
|
+
options: FormControlSize[];
|
|
14
|
+
control: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
export declare const Select: (args: any) => {
|
|
20
|
+
setup(): {
|
|
21
|
+
args: any;
|
|
22
|
+
items1: {
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
}[];
|
|
26
|
+
items2: {
|
|
27
|
+
label: {
|
|
28
|
+
id: number;
|
|
29
|
+
name: string;
|
|
30
|
+
thumbnail: string;
|
|
31
|
+
};
|
|
32
|
+
value: number;
|
|
33
|
+
}[];
|
|
34
|
+
items3: {
|
|
35
|
+
label: string;
|
|
36
|
+
value: string;
|
|
37
|
+
}[];
|
|
38
|
+
value3: import('vue').Ref<never[]>;
|
|
39
|
+
search(filters?: APISearchFilters): Promise<{
|
|
40
|
+
items: InputSelectOption[];
|
|
41
|
+
pagination: Pagination;
|
|
42
|
+
}>;
|
|
43
|
+
mapper(book: any): InputSelectOption;
|
|
44
|
+
};
|
|
45
|
+
template: string;
|
|
46
|
+
};
|