@caipira/tamandua 0.0.9 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Avatar.js +2 -2
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-DshMIzMM.js +51 -0
- package/dist/{Button-Bzvqv1bQ.js → Button-BVshp51o.js} +2 -2
- package/dist/Button.css +1 -0
- package/dist/Button.js +2 -2
- package/dist/{Button.vue_vue_type_style_index_0_scoped_5056001e_lang-DmQxrvfv.js → Button.vue_vue_type_style_index_0_scoped_8639b950_lang-C9uKZk0F.js} +24 -24
- package/dist/ButtonCopy.js +2 -2
- package/dist/ButtonCopy.vue_vue_type_script_setup_true_lang-CZsqPE-4.js +42 -0
- package/dist/{Drawer-DH5EEenO.js → Drawer-omdZnBPG.js} +6 -6
- package/dist/Drawer.css +1 -0
- package/dist/Drawer.js +2 -2
- package/dist/Dropdown.js +2 -2
- package/dist/{Dropdown.vue_vue_type_script_setup_true_lang-CJ6tMLP5.js → Dropdown.vue_vue_type_script_setup_true_lang-BUcFKrav.js} +2 -2
- package/dist/FileDrop.js +2 -2
- package/dist/{FileDrop.vue_vue_type_script_setup_true_lang-Cmrpt2_c.js → FileDrop.vue_vue_type_script_setup_true_lang-DJ05bRaU.js} +2 -2
- package/dist/Form.js +2 -2
- package/dist/{Form.vue_vue_type_script_setup_true_lang-CgTo7ahn.js → Form.vue_vue_type_script_setup_true_lang-DIh6jDi0.js} +11 -11
- package/dist/GraphyPrice.js +2 -2
- package/dist/{GraphyPrice.vue_vue_type_script_setup_true_lang-BOW4su3l.js → GraphyPrice.vue_vue_type_script_setup_true_lang-BxKdnVzF.js} +1 -1
- package/dist/Icon.js +2 -2
- package/dist/{Icon.vue_vue_type_script_setup_true_lang-hxJ1wXXd.js → Icon.vue_vue_type_script_setup_true_lang-DiRGfOxc.js} +16 -16
- package/dist/IconButton.js +2 -2
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-BDjy7ycQ.js → IconButton.vue_vue_type_script_setup_true_lang-DEL6iIAu.js} +30 -30
- package/dist/InputAvatar.js +2 -2
- package/dist/{InputAvatar.vue_vue_type_script_setup_true_lang-Dzq2QUAy.js → InputAvatar.vue_vue_type_script_setup_true_lang-coNpUH5g.js} +7 -7
- package/dist/InputColor.js +2 -2
- package/dist/{InputColor.vue_vue_type_script_setup_true_lang-DunYzjId.js → InputColor.vue_vue_type_script_setup_true_lang-CZ0o-B7I.js} +2 -2
- package/dist/InputDate.js +2 -2
- package/dist/{InputDate.vue_vue_type_script_setup_true_lang-DM9vaaiW.js → InputDate.vue_vue_type_script_setup_true_lang-D1H0urIZ.js} +44 -44
- package/dist/InputPassword.js +2 -2
- package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-SuGempaV.js → InputPassword.vue_vue_type_script_setup_true_lang-kknXv5I-.js} +15 -15
- package/dist/InputPhone.js +2 -2
- package/dist/{InputPhone.vue_vue_type_script_setup_true_lang-BH89TX0s.js → InputPhone.vue_vue_type_script_setup_true_lang-uNqXphQY.js} +4 -4
- package/dist/InputPrice.js +2 -2
- package/dist/{InputPrice.vue_vue_type_script_setup_true_lang-Zi-JuhSl.js → InputPrice.vue_vue_type_script_setup_true_lang-BBi8qKn8.js} +7 -7
- package/dist/InputRadio.js +2 -2
- package/dist/{InputRadio.vue_vue_type_script_setup_true_lang-cPnYGpJ_.js → InputRadio.vue_vue_type_script_setup_true_lang-Dqbov2kN.js} +1 -1
- package/dist/InputSelect.js +2 -2
- package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-DSM-ClgU.js → InputSelect.vue_vue_type_script_setup_true_lang-ByRPZrIg.js} +67 -67
- package/dist/InputSwitch.js +2 -2
- package/dist/{InputSwitch.vue_vue_type_script_setup_true_lang-DCYkakov.js → InputSwitch.vue_vue_type_script_setup_true_lang-Dq_U-mFJ.js} +6 -6
- package/dist/InputText.js +2 -2
- package/dist/{InputText.vue_vue_type_script_setup_true_lang-KUUuOOlk.js → InputText.vue_vue_type_script_setup_true_lang-CkoBmp9p.js} +3 -3
- package/dist/InputTextarea.js +2 -2
- package/dist/{InputTextarea.vue_vue_type_script_setup_true_lang-01amgZ6U.js → InputTextarea.vue_vue_type_script_setup_true_lang-IMz1cgV5.js} +7 -7
- package/dist/Modal.js +2 -2
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-DE2ySBCY.js → Modal.vue_vue_type_script_setup_true_lang-DLl5shGS.js} +1 -1
- package/dist/ModalForm.js +2 -2
- package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-VhRoRmxZ.js → ModalForm.vue_vue_type_script_setup_true_lang-CUk3DI3O.js} +1 -1
- package/dist/Popconfirm.js +2 -2
- package/dist/{Popconfirm.vue_vue_type_script_setup_true_lang-Dy1m3j6J.js → Popconfirm.vue_vue_type_script_setup_true_lang-DWMW-u7V.js} +1 -1
- package/dist/Popover.js +2 -2
- package/dist/{Popover.vue_vue_type_script_setup_true_lang-OFi2-aWk.js → Popover.vue_vue_type_script_setup_true_lang-Dhcy-iL3.js} +95 -95
- package/dist/{ProgressCircle-iWjZBZwm.js → ProgressCircle-BY2eeyGY.js} +7 -7
- package/dist/ProgressCircle.css +1 -0
- package/dist/ProgressCircle.js +2 -2
- package/dist/{ProgressLine-BT-YgI1t.js → ProgressLine-CfZKbUcx.js} +1 -1
- package/dist/ProgressLine.css +1 -0
- package/dist/ProgressLine.js +2 -2
- package/dist/{Table-CTeoQmG3.js → Table-grkQ9tby.js} +2 -2
- package/dist/Table.css +1 -0
- package/dist/Table.js +2 -2
- package/dist/Tag.js +2 -2
- package/dist/{Tag.vue_vue_type_script_setup_true_lang-BeWozUNz.js → Tag.vue_vue_type_script_setup_true_lang-vLIykMPS.js} +5 -5
- package/dist/Toast.js +2 -2
- package/dist/{Toast.vue_vue_type_script_setup_true_lang-CpDXLnat.js → Toast.vue_vue_type_script_setup_true_lang-BAsJNxU_.js} +11 -11
- package/dist/components.js +30 -30
- package/dist/composables.js +16 -12
- package/dist/{crud-d9NUddtZ.js → crud-lKm5HfM4.js} +5 -6
- package/dist/enums.js +2 -2
- package/dist/{index-DBecmJ_I.js → form-BkXpIJ0e.js} +3 -4
- package/dist/form2.js +1 -1
- package/dist/{plugin-Dg87-qPm.js → plugin--F5QK2vy.js} +1 -1
- package/dist/{plugin-DDPcV7Fj.js → plugin-3VDgn3kO.js} +1 -1
- package/dist/{plugin-CoGzF5YO.js → plugin-7M6YmkX3.js} +1 -1
- package/dist/{plugin-turENJ3j.js → plugin-A7Ru6-Ae.js} +1 -1
- package/dist/{plugin-BHaaQBWr.js → plugin-AFgt8nH4.js} +1 -1
- package/dist/{plugin-BTfinCzO.js → plugin-BCt5Fd1Y.js} +1 -1
- package/dist/{plugin-CF2ujTru.js → plugin-BLdCHEGS.js} +1 -1
- package/dist/{plugin-CIRUNt1_.js → plugin-BURDNZOq.js} +1 -1
- package/dist/{plugin-BPR3wKP8.js → plugin-BZC231Oj.js} +1 -1
- package/dist/{plugin-DdrfzyNc.js → plugin-BrwUi1gG.js} +13 -13
- package/dist/{plugin-rFDM6yOH.js → plugin-C3tFXHbZ.js} +1 -1
- package/dist/{plugin-Dbdsdqqh.js → plugin-CGg5IOSy.js} +1 -1
- package/dist/{plugin-B5Guy9c3.js → plugin-CIK2QwfI.js} +1 -1
- package/dist/{plugin-Br57SoWk.js → plugin-CNoSZVuJ.js} +1 -1
- package/dist/{plugin-C27tBvHp.js → plugin-Ce0OhiOa.js} +1 -1
- package/dist/{plugin-hpCgD9-h.js → plugin-Cp-YlP7M.js} +1 -1
- package/dist/{plugin-Xg1SCgfO.js → plugin-CqcxTgW6.js} +1 -1
- package/dist/{plugin-CxGfRAW1.js → plugin-CwJMh4ht.js} +1 -1
- package/dist/{plugin-CHF44uaz.js → plugin-D9vhvf_z.js} +1 -1
- package/dist/{plugin-APHHlXVq.js → plugin-DAoreRkB.js} +1 -1
- package/dist/{plugin-CSrviP_c.js → plugin-DGx9kLvd.js} +1 -1
- package/dist/{plugin-DSCBycRO.js → plugin-DLUdf4JV.js} +1 -1
- package/dist/{plugin-BC-6G-0o.js → plugin-DRcJuXpS.js} +1 -1
- package/dist/{plugin-Bg2uvrOR.js → plugin-DT7LVAli.js} +1 -1
- package/dist/{plugin-C2MSl67l.js → plugin-DXSsGfRI.js} +1 -1
- package/dist/{plugin-nzCD2cWq.js → plugin-DYnmuOWz.js} +1 -1
- package/dist/{plugin-BeNCIHgJ.js → plugin-DkDbha5K.js} +1 -1
- package/dist/{plugin-BLe_xel4.js → plugin-DmkLbCIU.js} +1 -1
- package/dist/{plugin-CpACKUGt.js → plugin-DppW8rQi.js} +1 -1
- package/dist/{plugin--u5hKcI0.js → plugin-c1rFpmlH.js} +1 -1
- package/dist/plugins-QF-BxY4i.js +107 -0
- package/dist/plugins.js +44 -44
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Avatar/Avatar.vue.d.ts +5 -20
- package/dist/types/components/Avatar/index.d.ts +1 -0
- package/dist/types/components/Avatar/types.d.ts +11 -0
- package/dist/types/components/Backdrop/Backdrop.vue.d.ts +4 -6
- package/dist/types/components/Backdrop/index.d.ts +1 -0
- package/dist/types/components/Backdrop/types.d.ts +6 -0
- package/dist/types/components/Button/Button.vue.d.ts +8 -66
- package/dist/types/components/Button/index.d.ts +1 -0
- package/dist/types/components/Button/types.d.ts +23 -0
- package/dist/types/components/ButtonCopy/ButtonCopy.vue.d.ts +4 -9
- package/dist/types/components/ButtonCopy/index.d.ts +1 -0
- package/dist/types/components/ButtonCopy/types.d.ts +4 -0
- package/dist/types/components/Drawer/Drawer.vue.d.ts +2 -56
- package/dist/types/components/Drawer/index.d.ts +1 -0
- package/dist/types/components/Drawer/types.d.ts +11 -0
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts +4 -108
- package/dist/types/components/Dropdown/index.d.ts +1 -0
- package/dist/types/components/Dropdown/types.d.ts +25 -0
- package/dist/types/components/FileDrop/FileDrop.vue.d.ts +6 -12
- package/dist/types/components/FileDrop/index.d.ts +1 -0
- package/dist/types/components/FileDrop/types.d.ts +8 -0
- package/dist/types/components/Form/Form.vue.d.ts +11 -26
- package/dist/types/components/Form/index.d.ts +1 -0
- package/dist/types/components/Form/types.d.ts +21 -0
- package/dist/types/components/FormItem/FormItem.vue.d.ts +4 -10
- package/dist/types/components/FormItem/index.d.ts +1 -0
- package/dist/types/components/FormItem/types.d.ts +5 -0
- package/dist/types/components/GraphyEmpty/GraphyEmpty.vue.d.ts +3 -5
- package/dist/types/components/GraphyEmpty/index.d.ts +1 -0
- package/dist/types/components/GraphyEmpty/types.d.ts +3 -0
- package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +2 -34
- package/dist/types/components/GraphyLabel/index.d.ts +1 -0
- package/dist/types/components/GraphyLabel/types.d.ts +5 -0
- package/dist/types/components/GraphyPrice/GraphyPrice.vue.d.ts +4 -15
- package/dist/types/components/GraphyPrice/index.d.ts +1 -0
- package/dist/types/components/GraphyPrice/types.d.ts +9 -0
- package/dist/types/components/GraphySubtitle/GraphySubtitle.vue.d.ts +2 -29
- package/dist/types/components/GraphySubtitle/index.d.ts +1 -0
- package/dist/types/components/GraphySubtitle/types.d.ts +4 -0
- package/dist/types/components/GraphyTitle/GraphyTitle.vue.d.ts +3 -14
- package/dist/types/components/GraphyTitle/index.d.ts +1 -0
- package/dist/types/components/GraphyTitle/types.d.ts +3 -0
- package/dist/types/components/Icon/Icon.vue.d.ts +3 -37
- package/dist/types/components/Icon/index.d.ts +1 -0
- package/dist/types/components/Icon/types.d.ts +7 -0
- package/dist/types/components/IconButton/IconButton.vue.d.ts +10 -68
- package/dist/types/components/IconButton/index.d.ts +1 -0
- package/dist/types/components/IconButton/types.d.ts +23 -0
- package/dist/types/components/InputAvatar/InputAvatar.vue.d.ts +6 -8
- package/dist/types/components/InputAvatar/index.d.ts +1 -0
- package/dist/types/components/InputAvatar/types.d.ts +6 -0
- package/dist/types/components/InputCheckbox/InputCheckbox.vue.d.ts +2 -50
- package/dist/types/components/InputCheckbox/index.d.ts +1 -0
- package/dist/types/components/InputCheckbox/types.d.ts +11 -0
- package/dist/types/components/InputColor/InputColor.vue.d.ts +2 -38
- package/dist/types/components/InputColor/index.d.ts +1 -0
- package/dist/types/components/InputColor/types.d.ts +8 -0
- package/dist/types/components/InputDate/InputDate.vue.d.ts +3 -22
- package/dist/types/components/InputDate/index.d.ts +1 -0
- package/dist/types/components/InputDate/types.d.ts +15 -0
- package/dist/types/components/InputPassword/InputPassword.vue.d.ts +3 -12
- package/dist/types/components/InputPassword/index.d.ts +1 -0
- package/dist/types/components/InputPassword/types.d.ts +17 -0
- package/dist/types/components/InputPhone/InputPhone.vue.d.ts +19 -16
- package/dist/types/components/InputPhone/index.d.ts +1 -0
- package/dist/types/components/InputPhone/types.d.ts +13 -0
- package/dist/types/components/InputPrice/InputPrice.vue.d.ts +2 -37
- package/dist/types/components/InputPrice/index.d.ts +1 -0
- package/dist/types/components/InputPrice/types.d.ts +10 -0
- package/dist/types/components/InputRadio/InputRadio.vue.d.ts +3 -16
- package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +2 -35
- package/dist/types/components/InputRadio/index.d.ts +1 -0
- package/dist/types/components/InputRadio/types.d.ts +12 -0
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +2 -106
- package/dist/types/components/InputSelect/index.d.ts +1 -0
- package/dist/types/components/InputSelect/types.d.ts +31 -0
- package/dist/types/components/InputSwitch/InputSwitch.vue.d.ts +2 -38
- package/dist/types/components/InputSwitch/index.d.ts +1 -0
- package/dist/types/components/InputSwitch/types.d.ts +8 -0
- package/dist/types/components/InputText/InputText.vue.d.ts +4 -16
- package/dist/types/components/InputText/index.d.ts +1 -0
- package/dist/types/components/InputText/types.d.ts +12 -0
- package/dist/types/components/InputTextarea/InputTextarea.vue.d.ts +2 -48
- package/dist/types/components/InputTextarea/index.d.ts +1 -0
- package/dist/types/components/InputTextarea/types.d.ts +10 -0
- package/dist/types/components/LineChart/LineChart.vue.d.ts +3 -16
- package/dist/types/components/LineChart/index.d.ts +1 -0
- package/dist/types/components/LineChart/types.d.ts +4 -0
- package/dist/types/components/Modal/Modal.vue.d.ts +2 -59
- package/dist/types/components/Modal/index.d.ts +1 -0
- package/dist/types/components/Modal/types.d.ts +10 -0
- package/dist/types/components/ModalForm/ModalForm.vue.d.ts +4 -18
- package/dist/types/components/ModalForm/index.d.ts +1 -0
- package/dist/types/components/ModalForm/types.d.ts +17 -0
- package/dist/types/components/Pagination/Pagination.vue.d.ts +2 -48
- package/dist/types/components/Pagination/index.d.ts +1 -0
- package/dist/types/components/Pagination/types.d.ts +11 -0
- package/dist/types/components/PieChart/PieChart.vue.d.ts +3 -16
- package/dist/types/components/PieChart/index.d.ts +1 -0
- package/dist/types/components/PieChart/types.d.ts +4 -0
- package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +2 -38
- package/dist/types/components/Popconfirm/index.d.ts +1 -0
- package/dist/types/components/Popconfirm/types.d.ts +9 -0
- package/dist/types/components/Popover/Popover.vue.d.ts +4 -17
- package/dist/types/components/Popover/index.d.ts +1 -0
- package/dist/types/components/Popover/types.d.ts +10 -0
- package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +2 -47
- package/dist/types/components/ProgressCircle/index.d.ts +1 -0
- package/dist/types/components/ProgressCircle/types.d.ts +7 -0
- package/dist/types/components/ProgressLine/ProgressLine.vue.d.ts +2 -66
- package/dist/types/components/ProgressLine/index.d.ts +1 -0
- package/dist/types/components/ProgressLine/types.d.ts +12 -0
- package/dist/types/components/SensitiveInfo/SensitiveInfo.vue.d.ts +3 -14
- package/dist/types/components/SensitiveInfo/index.d.ts +1 -0
- package/dist/types/components/SensitiveInfo/types.d.ts +3 -0
- package/dist/types/components/Tab/Tab.vue.d.ts +3 -30
- package/dist/types/components/Tab/index.d.ts +1 -0
- package/dist/types/components/Tab/types.d.ts +5 -0
- package/dist/types/components/Table/Table.vue.d.ts +5 -12
- package/dist/types/components/Table/index.d.ts +1 -1
- package/dist/types/components/Table/types.d.ts +4 -0
- package/dist/types/components/Toast/Toast.vue.d.ts +3 -20
- package/dist/types/components/Toast/index.d.ts +1 -0
- package/dist/types/components/Toast/types.d.ts +8 -0
- package/dist/types/components/index.d.ts +42 -42
- package/dist/types/composables/index.d.ts +3 -1
- package/dist/types/composables/useClipboard.d.ts +3 -0
- package/dist/types/composables/useDomHelpers.d.ts +7 -0
- package/dist/types/form/crud.d.ts +1 -1
- package/dist/{ui-BLR-4Xlv.js → ui-DtSy-y9T.js} +4 -4
- package/dist/useClipboard-BHFD0Jvv.js +11 -0
- package/dist/useDomHelpers-5CFMo6bx.js +23 -0
- package/package.json +2 -2
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-C3xje4Mr.js +0 -51
- package/dist/ButtonCopy.vue_vue_type_script_setup_true_lang-C8Ndx2n_.js +0 -43
- package/dist/plugins-DumG9GBB.js +0 -107
- package/dist/types/services/clipboard.d.ts +0 -2
- package/dist/types/services/ui.d.ts +0 -9
- package/dist/ui-MicIL_Lw.js +0 -23
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
modelValue?: File[] | undefined;
|
|
5
|
-
}>, {
|
|
1
|
+
import { FileDropProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FileDropProps>, {
|
|
6
4
|
multiple: boolean;
|
|
7
5
|
modelValue: () => never[];
|
|
8
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
types?: any;
|
|
12
|
-
multiple?: boolean | undefined;
|
|
13
|
-
modelValue?: File[] | undefined;
|
|
14
|
-
}>, {
|
|
7
|
+
"update:model-value": (val: any) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FileDropProps>, {
|
|
15
9
|
multiple: boolean;
|
|
16
10
|
modelValue: () => never[];
|
|
17
11
|
}>>> & {
|
|
18
|
-
"onUpdate:
|
|
12
|
+
"onUpdate:model-value"?: ((val: any) => any) | undefined;
|
|
19
13
|
}, {
|
|
20
14
|
multiple: boolean;
|
|
21
15
|
modelValue: File[];
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { FormStyle, FormSchema, FormInstance, ValidationResult } from '../../types/form.js';
|
|
2
1
|
import { FormSubmissionFormat } from '../../enums/form.js';
|
|
3
|
-
import { ButtonProps } from '../Button/Button.vue';
|
|
4
2
|
import { ElementVariant } from '../../enums/ui.js';
|
|
3
|
+
import { FormSchema, FormInstance } from '../../types/form.js';
|
|
4
|
+
import { FormEvents } from './types.js';
|
|
5
5
|
|
|
6
6
|
declare const _default: <T extends FormSchema>(__VLS_props: {
|
|
7
|
-
|
|
8
|
-
onSubmit?: ((val: ValidationResult<FormSubmissionFormat>) => any) | undefined;
|
|
9
|
-
formStyle?: FormStyle | undefined;
|
|
7
|
+
formStyle?: import('../../types/form.js').FormStyle | undefined;
|
|
10
8
|
id?: string | undefined;
|
|
11
9
|
idKey?: string | undefined;
|
|
12
10
|
schema?: T | undefined;
|
|
13
11
|
showSubmit?: boolean | undefined;
|
|
14
12
|
submitLabel?: string | undefined;
|
|
15
|
-
buttonProps?: ButtonProps | undefined;
|
|
13
|
+
buttonProps?: import('../index.js').ButtonProps | undefined;
|
|
16
14
|
buttonVariant?: ElementVariant | undefined;
|
|
17
15
|
submissionFormat?: FormSubmissionFormat | undefined;
|
|
18
16
|
buttonWrapperClasses?: string | undefined;
|
|
@@ -23,10 +21,7 @@ declare const _default: <T extends FormSchema>(__VLS_props: {
|
|
|
23
21
|
form: import('@vue/reactivity').DistrubuteRef<import("vue").UnwrapNestedRefs<FormInstance<T>>>;
|
|
24
22
|
}): any;
|
|
25
23
|
};
|
|
26
|
-
emit:
|
|
27
|
-
(e: "submit", val: ValidationResult<FormSubmissionFormat>): void;
|
|
28
|
-
(e: "change", val: FormInstance<T>): void;
|
|
29
|
-
};
|
|
24
|
+
emit: FormEvents;
|
|
30
25
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{
|
|
31
26
|
submit: () => Promise<void>;
|
|
32
27
|
reset: () => void;
|
|
@@ -36,15 +31,13 @@ declare const _default: <T extends FormSchema>(__VLS_props: {
|
|
|
36
31
|
getValue: (key: string) => any;
|
|
37
32
|
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
38
33
|
props: {
|
|
39
|
-
|
|
40
|
-
onSubmit?: ((val: ValidationResult<FormSubmissionFormat>) => any) | undefined;
|
|
41
|
-
formStyle?: FormStyle | undefined;
|
|
34
|
+
formStyle?: import('../../types/form.js').FormStyle | undefined;
|
|
42
35
|
id?: string | undefined;
|
|
43
36
|
idKey?: string | undefined;
|
|
44
37
|
schema?: T | undefined;
|
|
45
38
|
showSubmit?: boolean | undefined;
|
|
46
39
|
submitLabel?: string | undefined;
|
|
47
|
-
buttonProps?: ButtonProps | undefined;
|
|
40
|
+
buttonProps?: import('../index.js').ButtonProps | undefined;
|
|
48
41
|
buttonVariant?: ElementVariant | undefined;
|
|
49
42
|
submissionFormat?: FormSubmissionFormat | undefined;
|
|
50
43
|
buttonWrapperClasses?: string | undefined;
|
|
@@ -63,24 +56,19 @@ declare const _default: <T extends FormSchema>(__VLS_props: {
|
|
|
63
56
|
form: import('@vue/reactivity').DistrubuteRef<import("vue").UnwrapNestedRefs<FormInstance<T>>>;
|
|
64
57
|
}): any;
|
|
65
58
|
};
|
|
66
|
-
emit:
|
|
67
|
-
(e: "submit", val: ValidationResult<FormSubmissionFormat>): void;
|
|
68
|
-
(e: "change", val: FormInstance<T>): void;
|
|
69
|
-
};
|
|
59
|
+
emit: FormEvents;
|
|
70
60
|
}>) => import('vue').VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
71
61
|
[key: string]: any;
|
|
72
62
|
}> & {
|
|
73
63
|
__ctx?: {
|
|
74
64
|
props: {
|
|
75
|
-
|
|
76
|
-
onSubmit?: ((val: ValidationResult<FormSubmissionFormat>) => any) | undefined;
|
|
77
|
-
formStyle?: FormStyle | undefined;
|
|
65
|
+
formStyle?: import('../../types/form.js').FormStyle | undefined;
|
|
78
66
|
id?: string | undefined;
|
|
79
67
|
idKey?: string | undefined;
|
|
80
68
|
schema?: T | undefined;
|
|
81
69
|
showSubmit?: boolean | undefined;
|
|
82
70
|
submitLabel?: string | undefined;
|
|
83
|
-
buttonProps?: ButtonProps | undefined;
|
|
71
|
+
buttonProps?: import('../index.js').ButtonProps | undefined;
|
|
84
72
|
buttonVariant?: ElementVariant | undefined;
|
|
85
73
|
submissionFormat?: FormSubmissionFormat | undefined;
|
|
86
74
|
buttonWrapperClasses?: string | undefined;
|
|
@@ -99,10 +87,7 @@ declare const _default: <T extends FormSchema>(__VLS_props: {
|
|
|
99
87
|
form: import('@vue/reactivity').DistrubuteRef<import("vue").UnwrapNestedRefs<FormInstance<T>>>;
|
|
100
88
|
}): any;
|
|
101
89
|
};
|
|
102
|
-
emit:
|
|
103
|
-
(e: "submit", val: ValidationResult<FormSubmissionFormat>): void;
|
|
104
|
-
(e: "change", val: FormInstance<T>): void;
|
|
105
|
-
};
|
|
90
|
+
emit: FormEvents;
|
|
106
91
|
} | undefined;
|
|
107
92
|
};
|
|
108
93
|
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FormSubmissionFormat } from '../../enums/form.js';
|
|
2
|
+
import { ElementVariant } from '../../enums/ui.js';
|
|
3
|
+
import { FormSchema, FormStyle, FormInstance, ValidationResult } from '../../types/form.js';
|
|
4
|
+
import { ButtonProps } from '../Button/types.js';
|
|
5
|
+
|
|
6
|
+
export type FormProps<T> = {
|
|
7
|
+
id?: string;
|
|
8
|
+
idKey?: string;
|
|
9
|
+
schema?: T;
|
|
10
|
+
formStyle?: FormStyle;
|
|
11
|
+
showSubmit?: boolean;
|
|
12
|
+
submitLabel?: string;
|
|
13
|
+
buttonProps?: ButtonProps;
|
|
14
|
+
buttonVariant?: ElementVariant;
|
|
15
|
+
submissionFormat?: FormSubmissionFormat;
|
|
16
|
+
buttonWrapperClasses?: string;
|
|
17
|
+
};
|
|
18
|
+
export type FormEvents = {
|
|
19
|
+
(e: "submit", val: ValidationResult<FormSubmissionFormat>): void;
|
|
20
|
+
<T extends FormSchema>(e: "change", val: FormInstance<T>): void;
|
|
21
|
+
};
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
inline?: boolean | undefined;
|
|
5
|
-
}>, {
|
|
1
|
+
import { FormItemProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FormItemProps>, {
|
|
6
4
|
inline: boolean;
|
|
7
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
label?: string | undefined;
|
|
9
|
-
rules?: any;
|
|
10
|
-
inline?: boolean | undefined;
|
|
11
|
-
}>, {
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FormItemProps>, {
|
|
12
6
|
inline: boolean;
|
|
13
7
|
}>>>, {
|
|
14
8
|
inline: boolean;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
text?: string | undefined;
|
|
5
|
-
}>, {}>>>, {}, {}>;
|
|
1
|
+
import { GraphyEmptyProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<GraphyEmptyProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<GraphyEmptyProps>, {}>>>, {}, {}>;
|
|
6
4
|
export default _default;
|
|
7
5
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
6
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,41 +1,9 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<
|
|
2
|
-
|
|
3
|
-
invertControls?: boolean | undefined;
|
|
4
|
-
injectFormStyle?: boolean | undefined;
|
|
5
|
-
}>, {
|
|
6
|
-
invertControls: boolean;
|
|
7
|
-
injectFormStyle: boolean;
|
|
8
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
-
text?: string | undefined;
|
|
10
|
-
invertControls?: boolean | undefined;
|
|
11
|
-
injectFormStyle?: boolean | undefined;
|
|
12
|
-
}>, {
|
|
13
|
-
invertControls: boolean;
|
|
14
|
-
injectFormStyle: boolean;
|
|
15
|
-
}>>>, {
|
|
16
|
-
invertControls: boolean;
|
|
17
|
-
injectFormStyle: boolean;
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
|
|
2
|
+
[x: string]: any;
|
|
18
3
|
}, {}>, {
|
|
19
4
|
default?(_: {}): any;
|
|
20
5
|
}>;
|
|
21
6
|
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
type __VLS_WithDefaults<P, D> = {
|
|
32
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
-
default: D[K];
|
|
34
|
-
}> : P[K];
|
|
35
|
-
};
|
|
36
|
-
type __VLS_Prettify<T> = {
|
|
37
|
-
[K in keyof T]: T[K];
|
|
38
|
-
} & {};
|
|
39
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
8
|
new (): {
|
|
41
9
|
$slots: S;
|
|
@@ -1,28 +1,17 @@
|
|
|
1
1
|
import { GraphyPriceVariant } from '../../enums/ui.js';
|
|
2
|
+
import { GraphyPriceProps } from './types.js';
|
|
2
3
|
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
value: number;
|
|
5
|
-
currency: string;
|
|
6
|
-
animate?: boolean | undefined;
|
|
7
|
-
variant?: "default" | "increase" | "decrease" | "auto" | undefined;
|
|
8
|
-
priceColor?: string | undefined;
|
|
9
|
-
}>, {
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<GraphyPriceProps>, {
|
|
10
5
|
animate: boolean;
|
|
11
6
|
variant: GraphyPriceVariant;
|
|
12
7
|
priceColor: string;
|
|
13
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
-
value: number;
|
|
15
|
-
currency: string;
|
|
16
|
-
animate?: boolean | undefined;
|
|
17
|
-
variant?: "default" | "increase" | "decrease" | "auto" | undefined;
|
|
18
|
-
priceColor?: string | undefined;
|
|
19
|
-
}>, {
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<GraphyPriceProps>, {
|
|
20
9
|
animate: boolean;
|
|
21
10
|
variant: GraphyPriceVariant;
|
|
22
11
|
priceColor: string;
|
|
23
12
|
}>>>, {
|
|
24
13
|
animate: boolean;
|
|
25
|
-
variant:
|
|
14
|
+
variant: "default" | "increase" | "decrease" | "auto";
|
|
26
15
|
priceColor: string;
|
|
27
16
|
}, {}>;
|
|
28
17
|
export default _default;
|
|
@@ -1,31 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
|
|
3
|
-
textColor?: string | undefined;
|
|
4
|
-
}>, {
|
|
5
|
-
textColor: string;
|
|
6
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
text: string;
|
|
8
|
-
textColor?: string | undefined;
|
|
9
|
-
}>, {
|
|
10
|
-
textColor: string;
|
|
11
|
-
}>>>, {
|
|
12
|
-
textColor: string;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
|
|
2
|
+
[x: string]: any;
|
|
13
3
|
}, {}>;
|
|
14
4
|
export default _default;
|
|
15
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
-
} : {
|
|
20
|
-
type: import('vue').PropType<T[K]>;
|
|
21
|
-
required: true;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
type __VLS_WithDefaults<P, D> = {
|
|
25
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
-
default: D[K];
|
|
27
|
-
}> : P[K];
|
|
28
|
-
};
|
|
29
|
-
type __VLS_Prettify<T> = {
|
|
30
|
-
[K in keyof T]: T[K];
|
|
31
|
-
} & {};
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
text: string;
|
|
5
|
-
}>>>, {}, {}>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
}, {}>;
|
|
6
4
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -1,40 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
icon: `${Icon}`;
|
|
5
|
-
role?: string | undefined;
|
|
6
|
-
size?: "" | "xs" | "sm" | "lg" | "xl" | undefined;
|
|
7
|
-
}>, {
|
|
8
|
-
role: string;
|
|
9
|
-
size: ElementSize;
|
|
10
|
-
}>, {
|
|
1
|
+
declare const _default: import('vue').DefineComponent<any, {
|
|
11
2
|
reference: import("vue").Ref<HTMLElement | null>;
|
|
12
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<
|
|
13
|
-
|
|
14
|
-
role?: string | undefined;
|
|
15
|
-
size?: "" | "xs" | "sm" | "lg" | "xl" | undefined;
|
|
16
|
-
}>, {
|
|
17
|
-
role: string;
|
|
18
|
-
size: ElementSize;
|
|
19
|
-
}>>>, {
|
|
20
|
-
role: string;
|
|
21
|
-
size: `${ElementSize}`;
|
|
3
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
|
|
4
|
+
[x: string]: any;
|
|
22
5
|
}, {}>;
|
|
23
6
|
export default _default;
|
|
24
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
-
} : {
|
|
29
|
-
type: import('vue').PropType<T[K]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
type __VLS_WithDefaults<P, D> = {
|
|
34
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
-
default: D[K];
|
|
36
|
-
}> : P[K];
|
|
37
|
-
};
|
|
38
|
-
type __VLS_Prettify<T> = {
|
|
39
|
-
[K in keyof T]: T[K];
|
|
40
|
-
} & {};
|
|
@@ -1,24 +1,7 @@
|
|
|
1
|
-
import { ButtonType, ElementSize, ElementShape,
|
|
1
|
+
import { ButtonType, ElementSize, ElementShape, ElementVariant } from '../../enums/ui.js';
|
|
2
|
+
import { IconButtonProps } from './types.js';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
to?: any;
|
|
5
|
-
icon: `${EIcon}`;
|
|
6
|
-
href?: string;
|
|
7
|
-
type?: `${ButtonType}`;
|
|
8
|
-
size?: `${ElementSize}`;
|
|
9
|
-
label?: string;
|
|
10
|
-
shape?: `${ElementShape}`;
|
|
11
|
-
target?: string;
|
|
12
|
-
variant?: `${ElementVariant}`;
|
|
13
|
-
multiple?: boolean;
|
|
14
|
-
isOutline?: boolean;
|
|
15
|
-
isDisabled?: boolean;
|
|
16
|
-
injectStyle?: {
|
|
17
|
-
icon: string;
|
|
18
|
-
};
|
|
19
|
-
disableStyle?: boolean;
|
|
20
|
-
};
|
|
21
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
|
|
22
5
|
href: string;
|
|
23
6
|
type: ButtonType;
|
|
24
7
|
size: ElementSize;
|
|
@@ -34,37 +17,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
34
17
|
};
|
|
35
18
|
disableStyle: boolean;
|
|
36
19
|
}>, {
|
|
37
|
-
iconReference: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<
|
|
38
|
-
icon: {
|
|
39
|
-
type: import("vue").PropType<"circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-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" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box">;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
role: {
|
|
43
|
-
type: import("vue").PropType<string>;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
size: {
|
|
47
|
-
type: import("vue").PropType<"" | "xs" | "sm" | "lg" | "xl">;
|
|
48
|
-
default: ElementSize;
|
|
49
|
-
};
|
|
50
|
-
}>>, {
|
|
20
|
+
iconReference: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<any>, {
|
|
51
21
|
reference: import("vue").Ref<HTMLElement | null>;
|
|
52
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<
|
|
53
|
-
|
|
54
|
-
type: import("vue").PropType<"circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-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" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box">;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
role: {
|
|
58
|
-
type: import("vue").PropType<string>;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
size: {
|
|
62
|
-
type: import("vue").PropType<"" | "xs" | "sm" | "lg" | "xl">;
|
|
63
|
-
default: ElementSize;
|
|
64
|
-
};
|
|
65
|
-
}>>, {
|
|
66
|
-
role: string;
|
|
67
|
-
size: "" | "xs" | "sm" | "lg" | "xl";
|
|
22
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<any>, {} | {
|
|
23
|
+
[x: string]: any;
|
|
68
24
|
}, true, {}, {}, {
|
|
69
25
|
P: {};
|
|
70
26
|
B: {};
|
|
@@ -72,28 +28,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
72
28
|
C: {};
|
|
73
29
|
M: {};
|
|
74
30
|
Defaults: {};
|
|
75
|
-
}, Readonly<
|
|
76
|
-
icon: {
|
|
77
|
-
type: import("vue").PropType<"circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-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" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box">;
|
|
78
|
-
required: true;
|
|
79
|
-
};
|
|
80
|
-
role: {
|
|
81
|
-
type: import("vue").PropType<string>;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
size: {
|
|
85
|
-
type: import("vue").PropType<"" | "xs" | "sm" | "lg" | "xl">;
|
|
86
|
-
default: ElementSize;
|
|
87
|
-
};
|
|
88
|
-
}>>, {
|
|
31
|
+
}, Readonly<any>, {
|
|
89
32
|
reference: import("vue").Ref<HTMLElement | null>;
|
|
90
|
-
}, {}, {}, {}, {
|
|
91
|
-
|
|
92
|
-
size: "" | "xs" | "sm" | "lg" | "xl";
|
|
33
|
+
}, {}, {}, {}, {} | {
|
|
34
|
+
[x: string]: any;
|
|
93
35
|
}> | null>;
|
|
94
36
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
95
37
|
upload: (val: FileList) => void;
|
|
96
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
38
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
|
|
97
39
|
href: string;
|
|
98
40
|
type: ButtonType;
|
|
99
41
|
size: ElementSize;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Icon, ButtonType, ElementSize, ElementShape, ElementVariant } from '../../enums/ui.js';
|
|
2
|
+
|
|
3
|
+
export type IconButtonProps = {
|
|
4
|
+
to?: any;
|
|
5
|
+
icon: `${Icon}`;
|
|
6
|
+
href?: string;
|
|
7
|
+
type?: `${ButtonType}`;
|
|
8
|
+
size?: `${ElementSize}`;
|
|
9
|
+
label?: string;
|
|
10
|
+
shape?: `${ElementShape}`;
|
|
11
|
+
target?: string;
|
|
12
|
+
variant?: `${ElementVariant}`;
|
|
13
|
+
multiple?: boolean;
|
|
14
|
+
isOutline?: boolean;
|
|
15
|
+
isDisabled?: boolean;
|
|
16
|
+
injectStyle?: {
|
|
17
|
+
icon: string;
|
|
18
|
+
};
|
|
19
|
+
disableStyle?: boolean;
|
|
20
|
+
};
|
|
21
|
+
export type IconButtonEvents = {
|
|
22
|
+
(e: "upload", val: FileList): void;
|
|
23
|
+
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"update:
|
|
5
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
|
|
7
|
-
}>>> & {
|
|
8
|
-
"onUpdate:modelValue"?: ((val: File) => any) | undefined;
|
|
1
|
+
import { InputAvatarProps } from './types.ts';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<InputAvatarProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
"update:model-value": (val: File) => void;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InputAvatarProps>>> & {
|
|
6
|
+
"onUpdate:model-value"?: ((val: File) => any) | undefined;
|
|
9
7
|
}, {}, {}>;
|
|
10
8
|
export default _default;
|
|
11
9
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|