@caipira/tamandua 0.0.8 → 0.0.10
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.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.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.js +2 -2
- package/dist/{ProgressLine-BT-YgI1t.js → ProgressLine-CfZKbUcx.js} +1 -1
- package/dist/ProgressLine.js +2 -2
- package/dist/{Table-CTeoQmG3.js → Table-grkQ9tby.js} +2 -2
- 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 +3 -4
- 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,52 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
|
|
3
|
-
disabled?: boolean | undefined;
|
|
4
|
-
modelValue?: boolean | undefined;
|
|
5
|
-
isIndeterminate?: boolean | undefined;
|
|
6
|
-
initializeValue?: boolean | undefined;
|
|
7
|
-
}>, {
|
|
8
|
-
key: string;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
isIndeterminate: boolean;
|
|
11
|
-
initializeValue: boolean;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
input: (args_0: boolean) => void;
|
|
14
|
-
"update:model-value": (args_0: boolean) => void;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
-
key?: string | undefined;
|
|
17
|
-
disabled?: boolean | undefined;
|
|
18
|
-
modelValue?: boolean | undefined;
|
|
19
|
-
isIndeterminate?: boolean | undefined;
|
|
20
|
-
initializeValue?: boolean | undefined;
|
|
21
|
-
}>, {
|
|
22
|
-
key: string;
|
|
23
|
-
disabled: boolean;
|
|
24
|
-
isIndeterminate: boolean;
|
|
25
|
-
initializeValue: boolean;
|
|
26
|
-
}>>> & {
|
|
27
|
-
onInput?: ((args_0: boolean) => any) | undefined;
|
|
28
|
-
"onUpdate:model-value"?: ((args_0: boolean) => any) | undefined;
|
|
29
|
-
}, {
|
|
30
|
-
key: string;
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
isIndeterminate: boolean;
|
|
33
|
-
initializeValue: boolean;
|
|
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;
|
|
34
3
|
}, {}>;
|
|
35
4
|
export default _default;
|
|
36
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
37
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
39
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
40
|
-
} : {
|
|
41
|
-
type: import('vue').PropType<T[K]>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
type __VLS_WithDefaults<P, D> = {
|
|
46
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
47
|
-
default: D[K];
|
|
48
|
-
}> : P[K];
|
|
49
|
-
};
|
|
50
|
-
type __VLS_Prettify<T> = {
|
|
51
|
-
[K in keyof T]: T[K];
|
|
52
|
-
} & {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type InputCheckboxProps = {
|
|
2
|
+
key?: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
modelValue?: boolean;
|
|
5
|
+
isIndeterminate?: boolean;
|
|
6
|
+
initializeValue?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type InputCheckboxEvents = {
|
|
9
|
+
"update:model-value": [boolean];
|
|
10
|
+
input: [boolean];
|
|
11
|
+
};
|
|
@@ -1,40 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
|
|
3
|
-
modelValue?: string | undefined;
|
|
4
|
-
disableStyle?: boolean | undefined;
|
|
5
|
-
}>, {
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
disableStyle: boolean;
|
|
8
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (val: string) => void;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
disabled?: boolean | undefined;
|
|
12
|
-
modelValue?: string | undefined;
|
|
13
|
-
disableStyle?: boolean | undefined;
|
|
14
|
-
}>, {
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
disableStyle: boolean;
|
|
17
|
-
}>>> & {
|
|
18
|
-
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
disableStyle: boolean;
|
|
21
|
-
disabled: boolean;
|
|
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;
|
|
22
3
|
}, {}>;
|
|
23
4
|
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,23 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
initialValue?: Date | undefined;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:model-value": (val: Date) => void;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
value?: string | Date | undefined;
|
|
9
|
-
modelValue?: string | Date | undefined;
|
|
10
|
-
initialValue?: Date | undefined;
|
|
11
|
-
}>>> & {
|
|
12
|
-
"onUpdate:model-value"?: ((val: Date) => any) | undefined;
|
|
13
|
-
}, {}, {}>;
|
|
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
|
+
}, {}>;
|
|
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
|
-
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type InputDateProps = {
|
|
2
|
+
value?: Date | string;
|
|
3
|
+
modelValue?: Date | string;
|
|
4
|
+
initialValue?: Date;
|
|
5
|
+
};
|
|
6
|
+
export type InputDateEvents = {
|
|
7
|
+
(e: "update:model-value", val: Date): void;
|
|
8
|
+
};
|
|
9
|
+
export type Day = {
|
|
10
|
+
key: string;
|
|
11
|
+
day: number;
|
|
12
|
+
isToday: boolean;
|
|
13
|
+
overflow: number;
|
|
14
|
+
selected: boolean;
|
|
15
|
+
};
|
|
@@ -1,15 +1,6 @@
|
|
|
1
|
+
import { InputPasswordProps } from './types.ts';
|
|
1
2
|
import { InputPasswordModel } from '../../types/form.js';
|
|
2
3
|
|
|
3
|
-
export type InputPasswordProps = {
|
|
4
|
-
autocomplete?: string;
|
|
5
|
-
canCopy?: boolean;
|
|
6
|
-
encryptor?: (value: string) => Promise<string>;
|
|
7
|
-
keyup?: any;
|
|
8
|
-
modelValue?: InputPasswordModel;
|
|
9
|
-
showRefresh?: boolean;
|
|
10
|
-
showStrength?: boolean;
|
|
11
|
-
simpleMode?: boolean;
|
|
12
|
-
};
|
|
13
4
|
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputPasswordProps>, {
|
|
14
5
|
autocomplete: string;
|
|
15
6
|
canCopy: boolean;
|
|
@@ -23,7 +14,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
23
14
|
focus: () => void;
|
|
24
15
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
16
|
generate: (val: InputPasswordModel) => void;
|
|
26
|
-
"update:
|
|
17
|
+
"update:model-value": (val: InputPasswordModel) => void;
|
|
27
18
|
enter: () => void;
|
|
28
19
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputPasswordProps>, {
|
|
29
20
|
autocomplete: string;
|
|
@@ -35,7 +26,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
35
26
|
showStrength: boolean;
|
|
36
27
|
simpleMode: boolean;
|
|
37
28
|
}>>> & {
|
|
38
|
-
"onUpdate:
|
|
29
|
+
"onUpdate:model-value"?: ((val: InputPasswordModel) => any) | undefined;
|
|
39
30
|
onEnter?: (() => any) | undefined;
|
|
40
31
|
onGenerate?: ((val: InputPasswordModel) => any) | undefined;
|
|
41
32
|
}, {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { InputPasswordModel } from '../../types/form.js';
|
|
2
|
+
|
|
3
|
+
export type InputPasswordProps = {
|
|
4
|
+
autocomplete?: string;
|
|
5
|
+
canCopy?: boolean;
|
|
6
|
+
encryptor?: (value: string) => Promise<string>;
|
|
7
|
+
keyup?: any;
|
|
8
|
+
modelValue?: InputPasswordModel;
|
|
9
|
+
showRefresh?: boolean;
|
|
10
|
+
showStrength?: boolean;
|
|
11
|
+
simpleMode?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export type InputPasswordEvents = {
|
|
14
|
+
(e: "generate", val: InputPasswordModel): void;
|
|
15
|
+
(e: "update:model-value", val: InputPasswordModel): void;
|
|
16
|
+
(e: "enter"): void;
|
|
17
|
+
};
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
number: string;
|
|
5
|
-
};
|
|
6
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
resource: any;
|
|
8
|
-
modelValue?: PhoneNumber | undefined;
|
|
9
|
-
}>, {
|
|
1
|
+
import { InputPhoneProps } from './types.js';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputPhoneProps>, {
|
|
10
4
|
modelValue: () => any;
|
|
11
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
"update:
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
6
|
+
"update:model-value": (val: {
|
|
7
|
+
iso2: string;
|
|
8
|
+
dialCode: string;
|
|
9
|
+
number: string;
|
|
10
|
+
}) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputPhoneProps>, {
|
|
17
12
|
modelValue: () => any;
|
|
18
13
|
}>>> & {
|
|
19
|
-
"onUpdate:
|
|
14
|
+
"onUpdate:model-value"?: ((val: {
|
|
15
|
+
iso2: string;
|
|
16
|
+
dialCode: string;
|
|
17
|
+
number: string;
|
|
18
|
+
}) => any) | undefined;
|
|
20
19
|
}, {
|
|
21
|
-
modelValue:
|
|
20
|
+
modelValue: {
|
|
21
|
+
iso2: string;
|
|
22
|
+
dialCode: string;
|
|
23
|
+
number: string;
|
|
24
|
+
};
|
|
22
25
|
}, {}>;
|
|
23
26
|
export default _default;
|
|
24
27
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -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 {};
|
|
@@ -1,39 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
modelValue?: InputPriceModel | undefined;
|
|
5
|
-
wrapperClass?: string | undefined;
|
|
6
|
-
resource?: any;
|
|
7
|
-
}>, {
|
|
8
|
-
modelValue: () => any;
|
|
9
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
"update:modelValue": (val: InputPriceModel) => void;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
-
modelValue?: InputPriceModel | undefined;
|
|
13
|
-
wrapperClass?: string | undefined;
|
|
14
|
-
resource?: any;
|
|
15
|
-
}>, {
|
|
16
|
-
modelValue: () => any;
|
|
17
|
-
}>>> & {
|
|
18
|
-
"onUpdate:modelValue"?: ((val: InputPriceModel) => any) | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
modelValue: InputPriceModel;
|
|
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;
|
|
21
3
|
}, {}>;
|
|
22
4
|
export default _default;
|
|
23
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
-
} : {
|
|
28
|
-
type: import('vue').PropType<T[K]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
type __VLS_WithDefaults<P, D> = {
|
|
33
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
34
|
-
default: D[K];
|
|
35
|
-
}> : P[K];
|
|
36
|
-
};
|
|
37
|
-
type __VLS_Prettify<T> = {
|
|
38
|
-
[K in keyof T]: T[K];
|
|
39
|
-
} & {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InputPriceModel } from '../../types/form.js';
|
|
2
|
+
|
|
3
|
+
export type InputPriceProps = {
|
|
4
|
+
resource?: any;
|
|
5
|
+
modelValue?: InputPriceModel;
|
|
6
|
+
wrapperClass?: string;
|
|
7
|
+
};
|
|
8
|
+
export type InputPriceEvents = {
|
|
9
|
+
(e: "update:model-value", val: InputPriceModel): void;
|
|
10
|
+
};
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
value?: any;
|
|
6
|
-
label?: string | undefined;
|
|
7
|
-
}>>>, {}, {}>;
|
|
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
|
+
}, {}>;
|
|
8
4
|
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,42 +1,9 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<
|
|
2
|
-
|
|
3
|
-
modelValue?: any;
|
|
4
|
-
initialValue?: any;
|
|
5
|
-
}>, {
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
-
"update:modelValue": (val: string) => void;
|
|
9
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
disabled?: boolean | undefined;
|
|
11
|
-
modelValue?: any;
|
|
12
|
-
initialValue?: any;
|
|
13
|
-
}>, {
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
}>>> & {
|
|
16
|
-
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
17
|
-
}, {
|
|
18
|
-
disabled: 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;
|
|
19
3
|
}, {}>, {
|
|
20
4
|
default?(_: {}): any;
|
|
21
5
|
}>;
|
|
22
6
|
export default _default;
|
|
23
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
-
} : {
|
|
28
|
-
type: import('vue').PropType<T[K]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
type __VLS_WithDefaults<P, D> = {
|
|
33
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
34
|
-
default: D[K];
|
|
35
|
-
}> : P[K];
|
|
36
|
-
};
|
|
37
|
-
type __VLS_Prettify<T> = {
|
|
38
|
-
[K in keyof T]: T[K];
|
|
39
|
-
} & {};
|
|
40
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
8
|
new (): {
|
|
42
9
|
$slots: S;
|
|
@@ -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
|
+
};
|
|
@@ -1,114 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { Pagination } from '../../types/ui.js';
|
|
4
|
-
import { ElementSize, ElementPosition } from '../../enums/ui.js';
|
|
5
|
-
|
|
6
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
size?: ElementSize | undefined;
|
|
8
|
-
options?: SelectOption[] | undefined;
|
|
9
|
-
/** Mapper to convert search results to SelectOption */
|
|
10
|
-
mapper?: ((i: any) => SelectOption) | undefined;
|
|
11
|
-
/** Filter function */
|
|
12
|
-
filter?: ((input: string, option: SelectOption) => boolean) | undefined;
|
|
13
|
-
tooltip?: string | undefined;
|
|
14
|
-
disabled?: boolean | undefined;
|
|
15
|
-
resource?: ((filters?: APISearchFilters | undefined) => Promise<{
|
|
16
|
-
items: unknown[];
|
|
17
|
-
pagination: Pagination;
|
|
18
|
-
}>) | undefined;
|
|
19
|
-
multiple?: boolean | undefined;
|
|
20
|
-
identifier?: string | undefined;
|
|
21
|
-
modelValue?: SelectValue | undefined;
|
|
22
|
-
placeholder?: string | undefined;
|
|
23
|
-
initialValue?: any;
|
|
24
|
-
disableStyle?: boolean | undefined;
|
|
25
|
-
/** Indicates whether the user can search the options */
|
|
26
|
-
isSearchable?: boolean | undefined;
|
|
27
|
-
dropdownPlacement?: "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start" | undefined;
|
|
28
|
-
}>, {
|
|
29
|
-
size: ElementSize;
|
|
30
|
-
options: () => never[];
|
|
31
|
-
mapper: (i: any) => SelectOption;
|
|
32
|
-
filter: (input: string, option: SelectOption) => boolean;
|
|
33
|
-
tooltip: string;
|
|
34
|
-
multiple: boolean;
|
|
35
|
-
identifier: string;
|
|
36
|
-
placeholder: string;
|
|
37
|
-
disableStyle: boolean;
|
|
38
|
-
isSearchable: boolean;
|
|
39
|
-
dropdownPlacement: ElementPosition;
|
|
40
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
-
"update:modelValue": (val: any) => void;
|
|
42
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
43
|
-
size?: ElementSize | undefined;
|
|
44
|
-
options?: SelectOption[] | undefined;
|
|
45
|
-
/** Mapper to convert search results to SelectOption */
|
|
46
|
-
mapper?: ((i: any) => SelectOption) | undefined;
|
|
47
|
-
/** Filter function */
|
|
48
|
-
filter?: ((input: string, option: SelectOption) => boolean) | undefined;
|
|
49
|
-
tooltip?: string | undefined;
|
|
50
|
-
disabled?: boolean | undefined;
|
|
51
|
-
resource?: ((filters?: APISearchFilters | undefined) => Promise<{
|
|
52
|
-
items: unknown[];
|
|
53
|
-
pagination: Pagination;
|
|
54
|
-
}>) | undefined;
|
|
55
|
-
multiple?: boolean | undefined;
|
|
56
|
-
identifier?: string | undefined;
|
|
57
|
-
modelValue?: SelectValue | undefined;
|
|
58
|
-
placeholder?: string | undefined;
|
|
59
|
-
initialValue?: any;
|
|
60
|
-
disableStyle?: boolean | undefined;
|
|
61
|
-
/** Indicates whether the user can search the options */
|
|
62
|
-
isSearchable?: boolean | undefined;
|
|
63
|
-
dropdownPlacement?: "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start" | undefined;
|
|
64
|
-
}>, {
|
|
65
|
-
size: ElementSize;
|
|
66
|
-
options: () => never[];
|
|
67
|
-
mapper: (i: any) => SelectOption;
|
|
68
|
-
filter: (input: string, option: SelectOption) => boolean;
|
|
69
|
-
tooltip: string;
|
|
70
|
-
multiple: boolean;
|
|
71
|
-
identifier: string;
|
|
72
|
-
placeholder: string;
|
|
73
|
-
disableStyle: boolean;
|
|
74
|
-
isSearchable: boolean;
|
|
75
|
-
dropdownPlacement: ElementPosition;
|
|
76
|
-
}>>> & {
|
|
77
|
-
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
78
|
-
}, {
|
|
79
|
-
filter: (input: string, option: SelectOption) => boolean;
|
|
80
|
-
size: ElementSize;
|
|
81
|
-
disableStyle: boolean;
|
|
82
|
-
multiple: boolean;
|
|
83
|
-
placeholder: string;
|
|
84
|
-
options: SelectOption[];
|
|
85
|
-
mapper: (i: any) => SelectOption;
|
|
86
|
-
tooltip: string;
|
|
87
|
-
identifier: string;
|
|
88
|
-
isSearchable: boolean;
|
|
89
|
-
dropdownPlacement: `${ElementPosition}`;
|
|
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;
|
|
90
3
|
}, {}>, {
|
|
91
4
|
selection?(_: any): any;
|
|
92
5
|
default?(_: any): any;
|
|
93
6
|
}>;
|
|
94
7
|
export default _default;
|
|
95
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
96
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
97
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
98
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
99
|
-
} : {
|
|
100
|
-
type: import('vue').PropType<T[K]>;
|
|
101
|
-
required: true;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
type __VLS_WithDefaults<P, D> = {
|
|
105
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
106
|
-
default: D[K];
|
|
107
|
-
}> : P[K];
|
|
108
|
-
};
|
|
109
|
-
type __VLS_Prettify<T> = {
|
|
110
|
-
[K in keyof T]: T[K];
|
|
111
|
-
} & {};
|
|
112
8
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
113
9
|
new (): {
|
|
114
10
|
$slots: S;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ElementSize, ElementPosition } from '../../enums/ui.js';
|
|
2
|
+
import { SelectValue, SelectOption } from '../../types/form.js';
|
|
3
|
+
import { APISearchFilters } from '../../types/api.js';
|
|
4
|
+
import { Pagination } from '../../types/ui.js';
|
|
5
|
+
|
|
6
|
+
export type InputSelectProps = {
|
|
7
|
+
size?: ElementSize;
|
|
8
|
+
options?: SelectOption[];
|
|
9
|
+
/** Mapper to convert search results to SelectOption */
|
|
10
|
+
mapper?: (i: any) => SelectOption;
|
|
11
|
+
/** Filter function */
|
|
12
|
+
filter?: (input: string, option: SelectOption) => boolean;
|
|
13
|
+
tooltip?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
resource?: (filters?: APISearchFilters | undefined) => Promise<{
|
|
16
|
+
items: unknown[];
|
|
17
|
+
pagination: Pagination;
|
|
18
|
+
}>;
|
|
19
|
+
multiple?: boolean;
|
|
20
|
+
identifier?: string;
|
|
21
|
+
modelValue?: SelectValue;
|
|
22
|
+
placeholder?: string;
|
|
23
|
+
initialValue?: any;
|
|
24
|
+
disableStyle?: boolean;
|
|
25
|
+
/** Indicates whether the user can search the options */
|
|
26
|
+
isSearchable?: boolean;
|
|
27
|
+
dropdownPlacement?: `${ElementPosition}`;
|
|
28
|
+
};
|
|
29
|
+
export type InputSelectEvents = {
|
|
30
|
+
(e: "update:model-value", val: any): void;
|
|
31
|
+
};
|