@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,54 +1,9 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<
|
|
2
|
-
|
|
3
|
-
width?: number | undefined;
|
|
4
|
-
strokeWidth?: number | undefined;
|
|
5
|
-
strokeColor?: string | undefined;
|
|
6
|
-
backgroundColor?: string | undefined;
|
|
7
|
-
}>, {
|
|
8
|
-
value: number;
|
|
9
|
-
width: number;
|
|
10
|
-
strokeWidth: number;
|
|
11
|
-
strokeColor: string;
|
|
12
|
-
backgroundColor: string;
|
|
13
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
-
value?: number | undefined;
|
|
15
|
-
width?: number | undefined;
|
|
16
|
-
strokeWidth?: number | undefined;
|
|
17
|
-
strokeColor?: string | undefined;
|
|
18
|
-
backgroundColor?: string | undefined;
|
|
19
|
-
}>, {
|
|
20
|
-
value: number;
|
|
21
|
-
width: number;
|
|
22
|
-
strokeWidth: number;
|
|
23
|
-
strokeColor: string;
|
|
24
|
-
backgroundColor: string;
|
|
25
|
-
}>>>, {
|
|
26
|
-
value: number;
|
|
27
|
-
backgroundColor: string;
|
|
28
|
-
strokeWidth: number;
|
|
29
|
-
width: number;
|
|
30
|
-
strokeColor: string;
|
|
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;
|
|
31
3
|
}, {}>, {
|
|
32
4
|
default?(_: {}): any;
|
|
33
5
|
}>;
|
|
34
6
|
export default _default;
|
|
35
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
-
} : {
|
|
40
|
-
type: import('vue').PropType<T[K]>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
type __VLS_WithDefaults<P, D> = {
|
|
45
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
46
|
-
default: D[K];
|
|
47
|
-
}> : P[K];
|
|
48
|
-
};
|
|
49
|
-
type __VLS_Prettify<T> = {
|
|
50
|
-
[K in keyof T]: T[K];
|
|
51
|
-
} & {};
|
|
52
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
8
|
new (): {
|
|
54
9
|
$slots: S;
|
|
@@ -1,73 +1,9 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<
|
|
2
|
-
|
|
3
|
-
height?: number | undefined;
|
|
4
|
-
borderRadius?: number | undefined;
|
|
5
|
-
showPercentage?: boolean | undefined;
|
|
6
|
-
svgClass?: string | undefined;
|
|
7
|
-
labelClass?: string | undefined;
|
|
8
|
-
overColor?: string | undefined;
|
|
9
|
-
progressColor?: string | undefined;
|
|
10
|
-
finishedColor?: string | undefined;
|
|
11
|
-
backgroundColor?: string | undefined;
|
|
12
|
-
}>, {
|
|
13
|
-
value: number;
|
|
14
|
-
height: number;
|
|
15
|
-
borderRadius: number;
|
|
16
|
-
showPercentage: boolean;
|
|
17
|
-
overColor: string;
|
|
18
|
-
progressColor: string;
|
|
19
|
-
finishedColor: string;
|
|
20
|
-
backgroundColor: string;
|
|
21
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
22
|
-
value?: number | undefined;
|
|
23
|
-
height?: number | undefined;
|
|
24
|
-
borderRadius?: number | undefined;
|
|
25
|
-
showPercentage?: boolean | undefined;
|
|
26
|
-
svgClass?: string | undefined;
|
|
27
|
-
labelClass?: string | undefined;
|
|
28
|
-
overColor?: string | undefined;
|
|
29
|
-
progressColor?: string | undefined;
|
|
30
|
-
finishedColor?: string | undefined;
|
|
31
|
-
backgroundColor?: string | undefined;
|
|
32
|
-
}>, {
|
|
33
|
-
value: number;
|
|
34
|
-
height: number;
|
|
35
|
-
borderRadius: number;
|
|
36
|
-
showPercentage: boolean;
|
|
37
|
-
overColor: string;
|
|
38
|
-
progressColor: string;
|
|
39
|
-
finishedColor: string;
|
|
40
|
-
backgroundColor: string;
|
|
41
|
-
}>>>, {
|
|
42
|
-
value: number;
|
|
43
|
-
backgroundColor: string;
|
|
44
|
-
borderRadius: number;
|
|
45
|
-
height: number;
|
|
46
|
-
showPercentage: boolean;
|
|
47
|
-
overColor: string;
|
|
48
|
-
progressColor: string;
|
|
49
|
-
finishedColor: string;
|
|
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;
|
|
50
3
|
}, {}>, {
|
|
51
4
|
label?(_: {}): any;
|
|
52
5
|
}>;
|
|
53
6
|
export default _default;
|
|
54
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
56
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
57
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
58
|
-
} : {
|
|
59
|
-
type: import('vue').PropType<T[K]>;
|
|
60
|
-
required: true;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
type __VLS_WithDefaults<P, D> = {
|
|
64
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
65
|
-
default: D[K];
|
|
66
|
-
}> : P[K];
|
|
67
|
-
};
|
|
68
|
-
type __VLS_Prettify<T> = {
|
|
69
|
-
[K in keyof T]: T[K];
|
|
70
|
-
} & {};
|
|
71
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
72
8
|
new (): {
|
|
73
9
|
$slots: S;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type ProgressLineProps = {
|
|
2
|
+
value?: number;
|
|
3
|
+
height?: number;
|
|
4
|
+
borderRadius?: number;
|
|
5
|
+
showPercentage?: boolean;
|
|
6
|
+
svgClass?: string;
|
|
7
|
+
labelClass?: string;
|
|
8
|
+
overColor?: string;
|
|
9
|
+
progressColor?: string;
|
|
10
|
+
finishedColor?: string;
|
|
11
|
+
backgroundColor?: string;
|
|
12
|
+
};
|
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
private: boolean;
|
|
5
|
-
}>>>, {}, {}>, {
|
|
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;
|
|
3
|
+
}, {}>, {
|
|
6
4
|
default?(_: {}): any;
|
|
7
5
|
}>;
|
|
8
6
|
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
|
-
};
|
|
18
7
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
8
|
new (): {
|
|
20
9
|
$slots: S;
|
|
@@ -1,34 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
tabs?: Tab[] | undefined;
|
|
5
|
-
}>, {
|
|
6
|
-
tabs: () => never[];
|
|
7
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
tabs?: Tab[] | undefined;
|
|
9
|
-
}>, {
|
|
10
|
-
tabs: () => never[];
|
|
11
|
-
}>>>, {
|
|
12
|
-
tabs: Tab[];
|
|
13
|
-
}, {}>, Partial<Record<string, (_: {}) => any>>>;
|
|
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;
|
|
3
|
+
}, {}>, Partial<Record<any, (_: {}) => any>>>;
|
|
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
|
-
} & {};
|
|
32
5
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
6
|
new (): {
|
|
34
7
|
$slots: S;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { TableEvents } from './types.js';
|
|
2
|
+
|
|
1
3
|
declare const _default: <T extends object>(__VLS_props: {
|
|
2
4
|
loading?: boolean | undefined;
|
|
3
5
|
disableStyle?: boolean | undefined;
|
|
@@ -19,10 +21,7 @@ declare const _default: <T extends object>(__VLS_props: {
|
|
|
19
21
|
row: T;
|
|
20
22
|
}): any;
|
|
21
23
|
};
|
|
22
|
-
emit:
|
|
23
|
-
(e: "selected", val: any): void;
|
|
24
|
-
(e: "row-click", val: any): void;
|
|
25
|
-
};
|
|
24
|
+
emit: TableEvents;
|
|
26
25
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{
|
|
27
26
|
clearSelection: () => void;
|
|
28
27
|
inSelectionMode: import("vue").Ref<boolean>;
|
|
@@ -52,10 +51,7 @@ declare const _default: <T extends object>(__VLS_props: {
|
|
|
52
51
|
row: T;
|
|
53
52
|
}): any;
|
|
54
53
|
};
|
|
55
|
-
emit:
|
|
56
|
-
(e: "selected", val: any): void;
|
|
57
|
-
(e: "row-click", val: any): void;
|
|
58
|
-
};
|
|
54
|
+
emit: TableEvents;
|
|
59
55
|
}>) => import('vue').VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
60
56
|
[key: string]: any;
|
|
61
57
|
}> & {
|
|
@@ -85,10 +81,7 @@ declare const _default: <T extends object>(__VLS_props: {
|
|
|
85
81
|
row: T;
|
|
86
82
|
}): any;
|
|
87
83
|
};
|
|
88
|
-
emit:
|
|
89
|
-
(e: "selected", val: any): void;
|
|
90
|
-
(e: "row-click", val: any): void;
|
|
91
|
-
};
|
|
84
|
+
emit: TableEvents;
|
|
92
85
|
} | undefined;
|
|
93
86
|
};
|
|
94
87
|
export default _default;
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
message: Message;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
close: (...args: any[]) => void;
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
message: Message;
|
|
9
|
-
}>>> & {
|
|
10
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
11
|
-
}, {}, {}>;
|
|
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
|
+
}, {}>;
|
|
12
4
|
export default _default;
|
|
13
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
-
} : {
|
|
18
|
-
type: import('vue').PropType<T[K]>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { Toast } from './Toast/index.js';
|
|
1
|
+
import { Toast, ToastProps, ToastEvents } from './Toast/index.js';
|
|
2
2
|
import { Tag, TagProps, TagEvents } from './Tag/index.js';
|
|
3
|
-
import { Table, TableProps } from './Table/index.js';
|
|
4
|
-
import { Tab } from './Tab/index.js';
|
|
5
|
-
import { SensitiveInfo } from './SensitiveInfo/index.js';
|
|
6
|
-
import { ProgressLine } from './ProgressLine/index.js';
|
|
7
|
-
import { ProgressCircle } from './ProgressCircle/index.js';
|
|
8
|
-
import { Popover } from './Popover/index.js';
|
|
9
|
-
import { Popconfirm } from './Popconfirm/index.js';
|
|
10
|
-
import { PieChart } from './PieChart/index.js';
|
|
11
|
-
import { Pagination } from './Pagination/index.js';
|
|
12
|
-
import { ModalForm } from './ModalForm/index.js';
|
|
13
|
-
import { Modal } from './Modal/index.js';
|
|
14
|
-
import { LineChart } from './LineChart/index.js';
|
|
15
|
-
import { InputTextarea } from './InputTextarea/index.js';
|
|
16
|
-
import { InputText } from './InputText/index.js';
|
|
17
|
-
import { InputSwitch } from './InputSwitch/index.js';
|
|
18
|
-
import { InputSelect } from './InputSelect/index.js';
|
|
19
|
-
import { InputRadio } from './InputRadio/index.js';
|
|
20
|
-
import { InputPrice } from './InputPrice/index.js';
|
|
21
|
-
import { InputPhone } from './InputPhone/index.js';
|
|
22
|
-
import { InputPassword } from './InputPassword/index.js';
|
|
3
|
+
import { Table, TableProps, TableEvents } from './Table/index.js';
|
|
4
|
+
import { Tab, TabProps } from './Tab/index.js';
|
|
5
|
+
import { SensitiveInfo, SensitiveInfoProps } from './SensitiveInfo/index.js';
|
|
6
|
+
import { ProgressLine, ProgressLineProps } from './ProgressLine/index.js';
|
|
7
|
+
import { ProgressCircle, ProgressCircleProps } from './ProgressCircle/index.js';
|
|
8
|
+
import { Popover, PopoverProps } from './Popover/index.js';
|
|
9
|
+
import { Popconfirm, PopconfirmProps, PopconfirmEvents } from './Popconfirm/index.js';
|
|
10
|
+
import { PieChart, PieChartProps } from './PieChart/index.js';
|
|
11
|
+
import { Pagination, PaginationProps, PaginationEvents } from './Pagination/index.js';
|
|
12
|
+
import { ModalForm, ModalFormProps, ModalFormEvents } from './ModalForm/index.js';
|
|
13
|
+
import { Modal, ModalProps, ModalEvents } from './Modal/index.js';
|
|
14
|
+
import { LineChart, LineChartProps } from './LineChart/index.js';
|
|
15
|
+
import { InputTextarea, InputTextareaProps, InputTextareaEvents } from './InputTextarea/index.js';
|
|
16
|
+
import { InputText, InputTextProps, InputTextEvents } from './InputText/index.js';
|
|
17
|
+
import { InputSwitch, InputSwitchProps, InputSwitchEvents } from './InputSwitch/index.js';
|
|
18
|
+
import { InputSelect, InputSelectProps, InputSelectEvents } from './InputSelect/index.js';
|
|
19
|
+
import { InputRadio, InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents } from './InputRadio/index.js';
|
|
20
|
+
import { InputPrice, InputPriceProps, InputPriceEvents } from './InputPrice/index.js';
|
|
21
|
+
import { InputPhone, InputPhoneProps, InputPhoneEvents } from './InputPhone/index.js';
|
|
22
|
+
import { InputPassword, InputPasswordProps, InputPasswordEvents } from './InputPassword/index.js';
|
|
23
23
|
import { InputMultiplier, InputMultiplierProps, InputMultiplierEvents } from './InputMultiplier/index.js';
|
|
24
|
-
import { InputDate } from './InputDate/index.js';
|
|
25
|
-
import { InputColor } from './InputColor/index.js';
|
|
26
|
-
import { InputCheckbox } from './InputCheckbox/index.js';
|
|
27
|
-
import { InputAvatar } from './InputAvatar/index.js';
|
|
28
|
-
import { IconButton } from './IconButton/index.js';
|
|
29
|
-
import { Icon } from './Icon/index.js';
|
|
30
|
-
import { GraphyTitle } from './GraphyTitle/index.js';
|
|
31
|
-
import { GraphySubtitle } from './GraphySubtitle/index.js';
|
|
32
|
-
import { GraphyPrice } from './GraphyPrice/index.js';
|
|
33
|
-
import { GraphyLabel } from './GraphyLabel/index.js';
|
|
34
|
-
import { GraphyEmpty } from './GraphyEmpty/index.js';
|
|
35
|
-
import { FormItem } from './FormItem/index.js';
|
|
36
|
-
import { Form } from './Form/index.js';
|
|
37
|
-
import { FileDrop } from './FileDrop/index.js';
|
|
38
|
-
import { Dropdown } from './Dropdown/index.js';
|
|
39
|
-
import { Drawer } from './Drawer/index.js';
|
|
40
|
-
import { ButtonCopy } from './ButtonCopy/index.js';
|
|
41
|
-
import { Button } from './Button/index.js';
|
|
42
|
-
import { Backdrop } from './Backdrop/index.js';
|
|
43
|
-
import { Avatar } from './Avatar/index.js';
|
|
24
|
+
import { InputDate, InputDateProps, InputDateEvents } from './InputDate/index.js';
|
|
25
|
+
import { InputColor, InputColorProps, InputColorEvents } from './InputColor/index.js';
|
|
26
|
+
import { InputCheckbox, InputCheckboxProps, InputCheckboxEvents } from './InputCheckbox/index.js';
|
|
27
|
+
import { InputAvatar, InputAvatarProps, InputAvatarEvents } from './InputAvatar/index.js';
|
|
28
|
+
import { IconButton, IconButtonProps, IconButtonEvents } from './IconButton/index.js';
|
|
29
|
+
import { Icon, IconProps } from './Icon/index.js';
|
|
30
|
+
import { GraphyTitle, GraphyTitleProps } from './GraphyTitle/index.js';
|
|
31
|
+
import { GraphySubtitle, GraphySubtitleProps } from './GraphySubtitle/index.js';
|
|
32
|
+
import { GraphyPrice, GraphyPriceProps } from './GraphyPrice/index.js';
|
|
33
|
+
import { GraphyLabel, GraphyLabelProps } from './GraphyLabel/index.js';
|
|
34
|
+
import { GraphyEmpty, GraphyEmptyProps } from './GraphyEmpty/index.js';
|
|
35
|
+
import { FormItem, FormItemProps } from './FormItem/index.js';
|
|
36
|
+
import { Form, FormProps, FormEvents } from './Form/index.js';
|
|
37
|
+
import { FileDrop, FileDropProps, FileDropEvents } from './FileDrop/index.js';
|
|
38
|
+
import { Dropdown, DropdownProps, DropdownEvents } from './Dropdown/index.js';
|
|
39
|
+
import { Drawer, DrawerProps, DrawerEvents } from './Drawer/index.js';
|
|
40
|
+
import { ButtonCopy, ButtonCopyProps } from './ButtonCopy/index.js';
|
|
41
|
+
import { Button, ButtonProps, ButtonEvents } from './Button/index.js';
|
|
42
|
+
import { Backdrop, BackdropProps, BackdropEvents } from './Backdrop/index.js';
|
|
43
|
+
import { Avatar, AvatarProps } from './Avatar/index.js';
|
|
44
44
|
|
|
45
45
|
export { Avatar, Backdrop, Button, ButtonCopy, Drawer, Dropdown, FileDrop, Form, FormItem, GraphyEmpty, GraphyLabel, GraphyPrice, GraphySubtitle, GraphyTitle, Icon, IconButton, InputAvatar, InputCheckbox, InputColor, InputDate, InputMultiplier, InputPassword, InputPhone, InputPrice, InputRadio, InputSelect, InputSwitch, InputText, InputTextarea, LineChart, Modal, ModalForm, Pagination, PieChart, Popconfirm, Popover, ProgressCircle, ProgressLine, SensitiveInfo, Tab, Table, Tag, Toast, };
|
|
46
|
-
export type { InputMultiplierEvents, InputMultiplierProps, TableProps, TagEvents, TagProps, };
|
|
46
|
+
export type { AvatarProps, BackdropProps, BackdropEvents, ButtonProps, ButtonEvents, ButtonCopyProps, DrawerProps, DrawerEvents, DropdownProps, DropdownEvents, FileDropProps, FileDropEvents, FormProps, FormEvents, FormItemProps, GraphyEmptyProps, GraphyLabelProps, GraphyPriceProps, GraphySubtitleProps, GraphyTitleProps, IconProps, IconButtonProps, IconButtonEvents, InputAvatarProps, InputAvatarEvents, InputCheckboxProps, InputCheckboxEvents, InputColorProps, InputColorEvents, InputDateProps, InputDateEvents, InputMultiplierEvents, InputPasswordProps, InputPasswordEvents, InputPhoneProps, InputPhoneEvents, InputPriceProps, InputPriceEvents, InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents, InputSelectProps, InputSelectEvents, InputSwitchProps, InputSwitchEvents, InputMultiplierProps, InputTextProps, InputTextEvents, InputTextareaProps, InputTextareaEvents, LineChartProps, ModalProps, ModalEvents, ModalFormProps, ModalFormEvents, PaginationProps, PaginationEvents, PieChartProps, PopconfirmProps, PopconfirmEvents, PopoverProps, ProgressCircleProps, ProgressLineProps, SensitiveInfoProps, TabProps, TableProps, TableEvents, TagEvents, TagProps, ToastProps, ToastEvents, };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { default as useRender } from './useRender.js';
|
|
2
|
+
import { default as useDomHelpers } from './useDomHelpers.js';
|
|
3
|
+
import { default as useClipboard } from './useClipboard.js';
|
|
2
4
|
import { default as useBreakpoints } from './useBreakpoints.js';
|
|
3
5
|
|
|
4
|
-
export { useBreakpoints, useRender };
|
|
6
|
+
export { useBreakpoints, useClipboard, useDomHelpers, useRender };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentInternalInstance } from 'vue';
|
|
2
|
+
|
|
3
|
+
export default function useDomHelpers(): {
|
|
4
|
+
isPopoverActivator: (instance?: ComponentInternalInstance | undefined) => boolean;
|
|
5
|
+
onPopoverActivatorClick: (event: MouseEvent, el: any) => void;
|
|
6
|
+
wasClickOutsideOfContainer: (event: MouseEvent, container: HTMLElement) => boolean;
|
|
7
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var r = /* @__PURE__ */ ((e) => (e.EXTRA_SMALL = "xs", e.SMALL = "sm", e.DEFAULT = "", e.LARGE = "lg", e.EXTRA_LARGE = "xl", e))(r || {}), l = /* @__PURE__ */ ((e) => (e.SQUARE = "square", e.ROUNDED = "rounded", e.CIRCLE = "circle", e))(l || {}), a = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.PRIMARY = "primary", e.SECONDARY = "secondary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e.TRANSPARENT = "transparent", e))(a || {}), t = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.HOVER = "hover", e))(t || {}), i = /* @__PURE__ */ ((e) => (e.TOP_START = "top-start", e.TOP = "top", e.TOP_END = "top-end", e.RIGHT_START = "right-start", e.RIGHT = "right", e.RIGHT_END = "right-end", e.BOTTOM_END = "bottom-end", e.BOTTOM = "bottom", e.BOTTOM_START = "bottom-start", e.LEFT_END = "left-end", e.LEFT = "left", e.LEFT_START = "left-start", e))(i || {}), u = /* @__PURE__ */ ((e) => (e.BUTTON = "button", e.SUBMIT = "submit", e.LINK = "link", e.ROUTER_LINK = "router-link", e.FILE = "file", e))(u || {}), s = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.INCREASE = "increase", e.DECREASE = "decrease", e.AUTO = "auto", e))(s || {}), C = /* @__PURE__ */ ((e) => (e.Account = "account", e.AlertOctagon = "alert-octagon", e.AlertOctagonOutline = "alert-octagon-outline", e.Archive = "archive", e.ArchiveOutline = "archive-outline", e.ArrowLeft = "arrow-left", e.ArrowRight = "arrow-right", e.Bank = "bank", e.BankOutline = "bank-outline", e.Camera = "camera", e.CardsOutline = "cards-outline", e.CardsVariant = "cards-variant", e.CartOutline = "cart-outline", e.ChartBox = "chart-box", e.ChartBoxOutline = "chart-box-outline", e.Check = "check", e.CheckCircle = "check-circle", e.CheckCircleOutline = "check-circle-outline", e.ChevronDown = "chevron-down", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.ChevronUp = "chevron-up", e.Circle = "circle", e.Clock = "clock", e.Close = "close", e.CloseCircle = "close-circle", e.CloseCircleOutline = "close-circle-outline", e.Cog = "cog", e.ColorFill = "color-fill", e.Copy = "copy", e.CreditCard = "credit-card", e.CreditCardPlus = "credit-card-plus", e.Currency = "currency", e.Database = "database", e.DotsGrid = "dots-grid", e.DotsVertical = "dots-vertical", e.EmailOpenOutline = "email-open-outline", e.EmailOutline = "email-outline", e.Eye = "eye", e.EyeOff = "eye-off", e.FIleDocumentPlusOutline = "file-document-plus-outline", e.Filmstrip = "filmstrip", e.Filter = "filter", e.Fullscreen = "fullscreen", e.FullscreenExit = "fullscreen-exit", e.Group = "group", e.Image = "image", e.ImageAlbum = "image-album", e.ImageAlbumOutline = "image-album-outline", e.ImageOutline = "image-outline", e.InfoOutline = "info-outline", e.Key = "key", e.KeyChain = "key-chain", e.KeyVariant = "key-variant", e.ListboxOutline = "listbox-outline", e.Loading = "loading", e.Lock = "lock", e.LockOutline = "lock-outline", e.Logout = "logout", e.Menu = "menu", e.MenuDown = "menu-down", e.MenuLeft = "menu-left", e.MenuRight = "menu-right", e.Minus = "minus", e.MinusCircle = "minus-circle", e.MinusCircleOutline = "minus-circle-outline", e.Moon = "moon", e.OpenInNew = "open-in-new", e.Pencil = "pencil", e.People = "people", e.PiggyBankOutline = "piggy-bank-outline", e.Plus = "plus", e.PlusCircle = "plus-circle", e.PlusCircleOutline = "plus-circle-outline", e.QrcodeScan = "qrcode-scan", e.Refresh = "refresh", e.Save = "save", e.Search = "search", e.Spotlight = "spotlight", e.StoreOutline = "store-outline", e.Sun = "sun", e.Swap = "swap", e.SwapHorizontal = "swap-horizontal", e.SwapLeft = "swap-left", e.SwapRight = "swap-right", e.SystemTheme = "system-theme", e.TagOutline = "tag-outline", e.TrashCan = "trash-can", e.TrashCanOutline = "trash-can-outline", e.Upload = "upload", e.UserCircle = "user-circle", e.ZipBox = "zip-box", e))(C || {});
|
|
2
2
|
export {
|
|
3
3
|
u as B,
|
|
4
|
-
|
|
4
|
+
i as E,
|
|
5
5
|
s as G,
|
|
6
6
|
C as I,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
a,
|
|
8
|
+
r as b,
|
|
9
|
+
l as c,
|
|
10
10
|
t as d
|
|
11
11
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const e = "popoverClick", n = (t, o) => {
|
|
2
|
+
let r = t.target;
|
|
3
|
+
if (!r)
|
|
4
|
+
return !1;
|
|
5
|
+
do {
|
|
6
|
+
if (r === o)
|
|
7
|
+
return t.stopPropagation(), !1;
|
|
8
|
+
r = r?.parentNode;
|
|
9
|
+
} while (r);
|
|
10
|
+
return !0;
|
|
11
|
+
}, i = (t) => !t?.parent || !t?.parent?.emitsOptions ? !1 : e in t.parent.emitsOptions, p = (t, o) => {
|
|
12
|
+
i(o) && o.parent.emit(e, t), t.stopPropagation();
|
|
13
|
+
};
|
|
14
|
+
function a() {
|
|
15
|
+
return {
|
|
16
|
+
isPopoverActivator: i,
|
|
17
|
+
onPopoverActivatorClick: p,
|
|
18
|
+
wasClickOutsideOfContainer: n
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
a as u
|
|
23
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caipira/tamandua",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UI library for the Caipira ecosystem",
|
|
6
6
|
"license": "GPL-3.0-only",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
},
|
|
53
53
|
"files": [
|
|
54
54
|
"dist/*.js",
|
|
55
|
+
"dist/*.css",
|
|
55
56
|
"dist/types",
|
|
56
|
-
"dist/index.css",
|
|
57
57
|
"volar.d.ts",
|
|
58
58
|
"README.md"
|
|
59
59
|
],
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, getCurrentInstance as f, computed as _, resolveComponent as h, openBlock as n, createElementBlock as r, normalizeClass as v, unref as t, createBlock as y, toDisplayString as A, createCommentVNode as E } from "vue";
|
|
2
|
-
import { E as o, a as s } from "./ui-BLR-4Xlv.js";
|
|
3
|
-
import { u as a } from "./ui-MicIL_Lw.js";
|
|
4
|
-
const S = ["role"], z = ["src"], C = { key: 2 }, R = /* @__PURE__ */ m({
|
|
5
|
-
name: "TAvatar",
|
|
6
|
-
__name: "Avatar",
|
|
7
|
-
props: {
|
|
8
|
-
icon: {},
|
|
9
|
-
text: { default: "" },
|
|
10
|
-
role: { default: "" },
|
|
11
|
-
size: { default: o.DEFAULT },
|
|
12
|
-
image: { default: "" },
|
|
13
|
-
shape: { default: s.CIRCLE },
|
|
14
|
-
disableStyle: { type: Boolean, default: !1 }
|
|
15
|
-
},
|
|
16
|
-
setup(c) {
|
|
17
|
-
const e = c, i = f(), p = _(() => e.role !== "" ? e.role : i && a.isPopoverActivator(i) ? "button" : ""), u = (l) => {
|
|
18
|
-
i && a.isPopoverActivator(i) && a.onPopoverActivatorClick(l, i);
|
|
19
|
-
};
|
|
20
|
-
return (l, L) => {
|
|
21
|
-
const d = h("t-icon");
|
|
22
|
-
return n(), r("div", {
|
|
23
|
-
role: p.value,
|
|
24
|
-
class: v([{
|
|
25
|
-
"h-5 w-5": !e.disableStyle && e.size === t(o).EXTRA_SMALL,
|
|
26
|
-
"h-7 w-7": !e.disableStyle && e.size === t(o).SMALL,
|
|
27
|
-
"h-10 w-10": !e.disableStyle && e.size === t(o).DEFAULT,
|
|
28
|
-
"h-20 w-20": !e.disableStyle && e.size === t(o).LARGE,
|
|
29
|
-
"h-40 w-40": !e.disableStyle && e.size === t(o).EXTRA_LARGE,
|
|
30
|
-
"rounded-full": e.shape === t(s).CIRCLE,
|
|
31
|
-
rounded: e.shape === t(s).SQUARE
|
|
32
|
-
}, "overflow-hidden inline-flex items-center justify-center bg-caipira-primary-inverted"]),
|
|
33
|
-
onClick: u
|
|
34
|
-
}, [
|
|
35
|
-
e.image ? (n(), r("img", {
|
|
36
|
-
key: 0,
|
|
37
|
-
class: "w-full h-full object-cover",
|
|
38
|
-
src: e.image
|
|
39
|
-
}, null, 8, z)) : e.icon ? (n(), y(d, {
|
|
40
|
-
key: 1,
|
|
41
|
-
class: "color-caipira-primary",
|
|
42
|
-
icon: e.icon,
|
|
43
|
-
size: e.size
|
|
44
|
-
}, null, 8, ["icon", "size"])) : e.text ? (n(), r("span", C, A(e.text), 1)) : E("", !0)
|
|
45
|
-
], 10, S);
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
export {
|
|
50
|
-
R as _
|
|
51
|
-
};
|