@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
package/dist/Avatar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o } from "./Avatar.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p } from "./plugin-
|
|
1
|
+
import { _ as o } from "./Avatar.vue_vue_type_script_setup_true_lang-DshMIzMM.js";
|
|
2
|
+
import { p } from "./plugin-AFgt8nH4.js";
|
|
3
3
|
export {
|
|
4
4
|
o as Avatar,
|
|
5
5
|
p as AvatarPlugin
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { defineComponent as f, getCurrentInstance as _, computed as h, resolveComponent as y, openBlock as i, createElementBlock as n, normalizeClass as A, unref as t, createBlock as v, toDisplayString as E, createCommentVNode as S } from "vue";
|
|
2
|
+
import { u as z } from "./useDomHelpers-5CFMo6bx.js";
|
|
3
|
+
import { b as o, c as l } from "./ui-DtSy-y9T.js";
|
|
4
|
+
const C = ["role"], b = ["src"], L = { key: 2 }, x = /* @__PURE__ */ f({
|
|
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: l.CIRCLE },
|
|
14
|
+
disableStyle: { type: Boolean, default: !1 }
|
|
15
|
+
},
|
|
16
|
+
setup(c) {
|
|
17
|
+
const e = c, s = _(), { isPopoverActivator: r, onPopoverActivatorClick: p } = z(), u = h(() => e.role !== "" ? e.role : s && r(s) ? "button" : ""), d = (a) => {
|
|
18
|
+
s && r(s) && p(a, s);
|
|
19
|
+
};
|
|
20
|
+
return (a, k) => {
|
|
21
|
+
const m = y("t-icon");
|
|
22
|
+
return i(), n("div", {
|
|
23
|
+
role: u.value,
|
|
24
|
+
class: A([{
|
|
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(l).CIRCLE,
|
|
31
|
+
rounded: e.shape === t(l).SQUARE
|
|
32
|
+
}, "overflow-hidden inline-flex items-center justify-center bg-caipira-primary-inverted"]),
|
|
33
|
+
onClick: d
|
|
34
|
+
}, [
|
|
35
|
+
e.image ? (i(), n("img", {
|
|
36
|
+
key: 0,
|
|
37
|
+
class: "w-full h-full object-cover",
|
|
38
|
+
src: e.image
|
|
39
|
+
}, null, 8, b)) : e.icon ? (i(), v(m, {
|
|
40
|
+
key: 1,
|
|
41
|
+
class: "color-caipira-primary",
|
|
42
|
+
icon: e.icon,
|
|
43
|
+
size: e.size
|
|
44
|
+
}, null, 8, ["icon", "size"])) : e.text ? (i(), n("span", L, E(e.text), 1)) : S("", !0)
|
|
45
|
+
], 10, C);
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
export {
|
|
50
|
+
x as _
|
|
51
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as o } from "./Button.
|
|
1
|
+
import { _ as o } from "./Button.vue_vue_type_style_index_0_scoped_8639b950_lang-C9uKZk0F.js";
|
|
2
2
|
import { _ as t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
3
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8639b950"]]);
|
|
4
4
|
export {
|
|
5
5
|
a as B
|
|
6
6
|
};
|
package/dist/Button.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.transparent-button[data-v-8639b950]:hover{background-color:rgb(from var(--caipira-primary) r g b / 45%)}
|
package/dist/Button.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './Button.css';
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "./Icon.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
const
|
|
2
|
+
import { defineComponent as O, getCurrentInstance as U, ref as y, computed as o, resolveComponent as _, openBlock as s, createBlock as m, resolveDynamicComponent as B, normalizeClass as c, unref as i, withCtx as k, renderSlot as z, createCommentVNode as u, createElementBlock as b, toDisplayString as x } from "vue";
|
|
3
|
+
import { u as M } from "./useDomHelpers-5CFMo6bx.js";
|
|
4
|
+
import { B as a, b as l, c as d, a as r } from "./ui-DtSy-y9T.js";
|
|
5
|
+
import "./Icon.vue_vue_type_script_setup_true_lang-DiRGfOxc.js";
|
|
6
|
+
const F = ["multiple"], Y = /* @__PURE__ */ O({
|
|
7
7
|
name: "TButton",
|
|
8
8
|
__name: "Button",
|
|
9
9
|
props: {
|
|
@@ -23,8 +23,8 @@ const x = ["multiple"], K = /* @__PURE__ */ w({
|
|
|
23
23
|
disableStyle: { type: Boolean, default: !1 }
|
|
24
24
|
},
|
|
25
25
|
emits: ["upload"],
|
|
26
|
-
setup(
|
|
27
|
-
const e =
|
|
26
|
+
setup(h, { expose: g, emit: S }) {
|
|
27
|
+
const e = h, A = S, p = U(), f = y(), v = y(null), { isPopoverActivator: E, onPopoverActivatorClick: R } = M(), D = o(() => e.href ? e.href : void 0), L = o(() => {
|
|
28
28
|
switch (e.type) {
|
|
29
29
|
case a.LINK:
|
|
30
30
|
return;
|
|
@@ -33,7 +33,7 @@ const x = ["multiple"], K = /* @__PURE__ */ w({
|
|
|
33
33
|
default:
|
|
34
34
|
return e.type;
|
|
35
35
|
}
|
|
36
|
-
}),
|
|
36
|
+
}), T = o(() => e.type === a.SUBMIT ? e.label : void 0), C = o(() => {
|
|
37
37
|
switch (e.type) {
|
|
38
38
|
case a.SUBMIT:
|
|
39
39
|
return "input";
|
|
@@ -44,19 +44,19 @@ const x = ["multiple"], K = /* @__PURE__ */ w({
|
|
|
44
44
|
default:
|
|
45
45
|
return "button";
|
|
46
46
|
}
|
|
47
|
-
}),
|
|
48
|
-
p &&
|
|
49
|
-
},
|
|
47
|
+
}), I = (t) => {
|
|
48
|
+
p && E(p) && R(t, p), e.type === a.SUBMIT && t.preventDefault(), e.type === a.FILE && f.value?.click();
|
|
49
|
+
}, N = (t) => {
|
|
50
50
|
t.stopPropagation();
|
|
51
51
|
const n = t.target.files;
|
|
52
52
|
!n || !n.length || A("upload", n);
|
|
53
53
|
};
|
|
54
|
-
return
|
|
55
|
-
const n =
|
|
56
|
-
return s(), m(
|
|
57
|
-
type:
|
|
58
|
-
href:
|
|
59
|
-
value:
|
|
54
|
+
return g({ iconReference: v }), (t, w) => {
|
|
55
|
+
const n = _("t-icon");
|
|
56
|
+
return s(), m(B(C.value), {
|
|
57
|
+
type: L.value,
|
|
58
|
+
href: D.value,
|
|
59
|
+
value: T.value,
|
|
60
60
|
to: e.to,
|
|
61
61
|
disabled: e.isDisabled,
|
|
62
62
|
target: e.target,
|
|
@@ -99,10 +99,10 @@ const x = ["multiple"], K = /* @__PURE__ */ w({
|
|
|
99
99
|
"transparent-button": e.variant === i(r).TRANSPARENT
|
|
100
100
|
}, "input-outline inline-flex items-center"]),
|
|
101
101
|
role: "button",
|
|
102
|
-
onClick:
|
|
102
|
+
onClick: I
|
|
103
103
|
}, {
|
|
104
|
-
default:
|
|
105
|
-
|
|
104
|
+
default: k(() => [
|
|
105
|
+
z(t.$slots, "default", {}, void 0, !0),
|
|
106
106
|
e.icon ? (s(), m(n, {
|
|
107
107
|
key: 0,
|
|
108
108
|
ref_key: "iconReference",
|
|
@@ -122,16 +122,16 @@ const x = ["multiple"], K = /* @__PURE__ */ w({
|
|
|
122
122
|
"text-sm": e.size === i(l).SMALL,
|
|
123
123
|
"text-xs": e.size === i(l).EXTRA_SMALL
|
|
124
124
|
}, "whitespace-nowrap"])
|
|
125
|
-
},
|
|
125
|
+
}, x(e.label), 3)) : u("", !0),
|
|
126
126
|
e.type === "file" ? (s(), b("input", {
|
|
127
127
|
key: 2,
|
|
128
128
|
multiple: e.multiple,
|
|
129
|
-
onChange:
|
|
129
|
+
onChange: N,
|
|
130
130
|
type: "file",
|
|
131
131
|
ref_key: "fileInput",
|
|
132
132
|
ref: f,
|
|
133
133
|
class: "hidden"
|
|
134
|
-
}, null, 40,
|
|
134
|
+
}, null, 40, F)) : u("", !0)
|
|
135
135
|
]),
|
|
136
136
|
_: 3
|
|
137
137
|
}, 8, ["type", "href", "value", "to", "disabled", "target", "class"]);
|
|
@@ -139,5 +139,5 @@ const x = ["multiple"], K = /* @__PURE__ */ w({
|
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
141
|
export {
|
|
142
|
-
|
|
142
|
+
Y as _
|
|
143
143
|
};
|
package/dist/ButtonCopy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as p } from "./ButtonCopy.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as n } from "./plugin-
|
|
1
|
+
import { _ as p } from "./ButtonCopy.vue_vue_type_script_setup_true_lang-CZsqPE-4.js";
|
|
2
|
+
import { p as n } from "./plugin-DAoreRkB.js";
|
|
3
3
|
export {
|
|
4
4
|
p as ButtonCopy,
|
|
5
5
|
n as ButtonCopyPlugin
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as u, ref as c, resolveComponent as f, openBlock as m, createBlock as y } from "vue";
|
|
2
|
+
import { g as i } from "./index-CVD_wAsU.js";
|
|
3
|
+
import { u as _ } from "./useClipboard-BHFD0Jvv.js";
|
|
4
|
+
import "./Button.vue_vue_type_style_index_0_scoped_8639b950_lang-C9uKZk0F.js";
|
|
5
|
+
const v = /* @__PURE__ */ u({
|
|
6
|
+
name: "TButtonCopy",
|
|
7
|
+
__name: "ButtonCopy",
|
|
8
|
+
props: {
|
|
9
|
+
text: {},
|
|
10
|
+
isDisabled: { type: Boolean, default: !1 }
|
|
11
|
+
},
|
|
12
|
+
setup(p) {
|
|
13
|
+
const { copy: r } = _(), n = c(null), t = c(!1), o = p, l = async (s) => {
|
|
14
|
+
t.value = !0, s.stopPropagation();
|
|
15
|
+
const a = typeof o.text == "function" ? await o.text() : o.text, e = n.value?.iconReference?.reference;
|
|
16
|
+
await r(a), e && i.to(e, {
|
|
17
|
+
scale: 4,
|
|
18
|
+
yoyo: !0,
|
|
19
|
+
opacity: 0,
|
|
20
|
+
duration: 0.2,
|
|
21
|
+
ease: "power3.easeInOut",
|
|
22
|
+
onComplete: () => {
|
|
23
|
+
i.set(e, { opacity: 1, scale: 1 });
|
|
24
|
+
}
|
|
25
|
+
}), t.value = !1;
|
|
26
|
+
};
|
|
27
|
+
return (s, a) => {
|
|
28
|
+
const e = f("t-icon-button");
|
|
29
|
+
return m(), y(e, {
|
|
30
|
+
"is-disabled": t.value || o.isDisabled,
|
|
31
|
+
icon: "copy",
|
|
32
|
+
size: "xs",
|
|
33
|
+
ref_key: "buttonRef",
|
|
34
|
+
ref: n,
|
|
35
|
+
onClick: l
|
|
36
|
+
}, null, 8, ["is-disabled"]);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
v as _
|
|
42
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './Drawer.css';
|
|
2
|
-
import { defineComponent as _, ref as y, onMounted as v, resolveComponent as b, openBlock as o, createElementBlock as t, withKeys as h, createVNode as
|
|
2
|
+
import { defineComponent as _, ref as y, onMounted as v, resolveComponent as b, openBlock as o, createElementBlock as t, withKeys as h, createVNode as a, createElementVNode as i, normalizeClass as c, renderSlot as l, toDisplayString as w, createCommentVNode as d } from "vue";
|
|
3
3
|
import { _ as k } from "./Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js";
|
|
4
4
|
import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const C = {
|
|
@@ -35,8 +35,8 @@ const C = {
|
|
|
35
35
|
ref: n,
|
|
36
36
|
onKeyup: h(s, ["esc"])
|
|
37
37
|
}, [
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
a(k, { onClick: s }),
|
|
39
|
+
i("div", {
|
|
40
40
|
class: c(["w-[38rem] absolute inset-y-0 z-20 flex flex-col bg-caipira-primary drawer", {
|
|
41
41
|
"right-0 drop-shadow-lg": r.direction === "ltr",
|
|
42
42
|
"left-0": r.direction === "rtl"
|
|
@@ -46,14 +46,14 @@ const C = {
|
|
|
46
46
|
e.$slots.header ? (o(), t("div", $, [
|
|
47
47
|
l(e.$slots, "header", {}, void 0, !0)
|
|
48
48
|
])) : (o(), t("span", g, w(r.title), 1)),
|
|
49
|
-
|
|
49
|
+
a(u, {
|
|
50
50
|
icon: "close",
|
|
51
51
|
role: "button",
|
|
52
52
|
onClick: s,
|
|
53
53
|
size: "sm"
|
|
54
54
|
})
|
|
55
55
|
])) : d("", !0),
|
|
56
|
-
|
|
56
|
+
i("div", D, [
|
|
57
57
|
l(e.$slots, "default", {}, void 0, !0)
|
|
58
58
|
]),
|
|
59
59
|
e.$slots.footer ? (o(), t("div", {
|
|
@@ -68,7 +68,7 @@ const C = {
|
|
|
68
68
|
], 544);
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
}), H = /* @__PURE__ */ x(z, [["__scopeId", "data-v-
|
|
71
|
+
}), H = /* @__PURE__ */ x(z, [["__scopeId", "data-v-8ed9a90a"]]);
|
|
72
72
|
export {
|
|
73
73
|
H as D
|
|
74
74
|
};
|
package/dist/Drawer.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.drawer[data-v-8ed9a90a]{box-shadow:#0003 0 8px 10px -5px,#00000024 0 16px 24px 2px,#0000001f 0 6px 30px 5px}
|
package/dist/Drawer.js
CHANGED
package/dist/Dropdown.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as p } from "./Dropdown.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as a } from "./plugin-
|
|
1
|
+
import { _ as p } from "./Dropdown.vue_vue_type_script_setup_true_lang-BUcFKrav.js";
|
|
2
|
+
import { p as a } from "./plugin-A7Ru6-Ae.js";
|
|
3
3
|
export {
|
|
4
4
|
p as Dropdown,
|
|
5
5
|
a as DropdownPlugin
|
|
@@ -12,9 +12,9 @@ const O = ["aria-selected", "onKeydown", "onClick"], F = {
|
|
|
12
12
|
isVisible: { type: Boolean, default: !1 },
|
|
13
13
|
optionMarginClass: { default: "" },
|
|
14
14
|
optionPaddingClass: { default: "py-2 px-2" },
|
|
15
|
+
wrapperPaddingClass: { default: "" },
|
|
15
16
|
optionRoundnessClass: { default: "" },
|
|
16
|
-
wrapperRoundnessClass: { default: "rounded-md" }
|
|
17
|
-
wrapperPaddingClass: { default: "" }
|
|
17
|
+
wrapperRoundnessClass: { default: "rounded-md" }
|
|
18
18
|
},
|
|
19
19
|
emits: ["change", "end-reached", "created"],
|
|
20
20
|
setup(H, { expose: D, emit: S }) {
|
package/dist/FileDrop.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as p } from "./FileDrop.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as i } from "./plugin-
|
|
1
|
+
import { _ as p } from "./FileDrop.vue_vue_type_script_setup_true_lang-DJ05bRaU.js";
|
|
2
|
+
import { p as i } from "./plugin-3VDgn3kO.js";
|
|
3
3
|
export {
|
|
4
4
|
p as FileDrop,
|
|
5
5
|
i as FileDropPlugin
|
|
@@ -19,7 +19,7 @@ const w = { class: "flex items-center justify-center w-full" }, D = {
|
|
|
19
19
|
multiple: { type: Boolean, default: !0 },
|
|
20
20
|
modelValue: { default: () => [] }
|
|
21
21
|
},
|
|
22
|
-
emits: ["update:
|
|
22
|
+
emits: ["update:model-value"],
|
|
23
23
|
setup(p, { emit: m }) {
|
|
24
24
|
const r = p, f = m, a = k([]), _ = C("formStyle", { label: "", input: "" }), y = i(() => r.modelValue.length > 0), h = i(() => {
|
|
25
25
|
switch (r.types) {
|
|
@@ -30,7 +30,7 @@ const w = { class: "flex items-center justify-center w-full" }, D = {
|
|
|
30
30
|
}, g = (l) => {
|
|
31
31
|
l.stopPropagation();
|
|
32
32
|
const t = l.target.files;
|
|
33
|
-
!t || !t.length || (a.value = Array.from(t), f("update:
|
|
33
|
+
!t || !t.length || (a.value = Array.from(t), f("update:model-value", t));
|
|
34
34
|
};
|
|
35
35
|
return (l, v) => {
|
|
36
36
|
const t = F("t-icon");
|
package/dist/Form.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as m } from "./Form.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as a } from "./plugin-
|
|
1
|
+
import { _ as m } from "./Form.vue_vue_type_script_setup_true_lang-DIh6jDi0.js";
|
|
2
|
+
import { p as a } from "./plugin-DLUdf4JV.js";
|
|
3
3
|
export {
|
|
4
4
|
m as Form,
|
|
5
5
|
a as FormPlugin
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as A, reactive as P, ref as _, watch as T, provide as N, resolveComponent as O, openBlock as E, createElementBlock as j, renderSlot as J, createElementVNode as R, normalizeClass as W, withDirectives as B, createVNode as M, mergeProps as z, vShow as K } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
const y = (t) => t ?
|
|
2
|
+
import { F as a, a as p } from "./form-BkXpIJ0e.js";
|
|
3
|
+
import { f as L } from "./index-CjvqeRf7.js";
|
|
4
|
+
import { a as I } from "./ui-DtSy-y9T.js";
|
|
5
|
+
const y = (t) => t ? L(t, "yyyy-MM-dd") : "", V = (t) => [`${t?.iso}`, `${t?.value}`], b = (t) => t?.iso2 ?? "", w = async (t) => t?.encrypted ?? t?.value ?? "", i = {
|
|
6
6
|
default: (t, r, e) => (r[e] = t, r),
|
|
7
7
|
price: (t, r, e, n = ["Currency", "Value"]) => {
|
|
8
8
|
const [c, s] = V(t);
|
|
@@ -121,15 +121,15 @@ const y = (t) => t ? I(t, "yyyy-MM-dd") : "", V = (t) => [`${t?.iso}`, `${t?.val
|
|
|
121
121
|
showSubmit: { type: Boolean, default: !1 },
|
|
122
122
|
submitLabel: { default: "Submit" },
|
|
123
123
|
buttonProps: {},
|
|
124
|
-
buttonVariant: { default:
|
|
124
|
+
buttonVariant: { default: I.PRIMARY },
|
|
125
125
|
submissionFormat: { default: p.FormData },
|
|
126
126
|
buttonWrapperClasses: { default: "" }
|
|
127
127
|
},
|
|
128
128
|
emits: ["submit", "change"],
|
|
129
129
|
setup(t, { expose: r, emit: e }) {
|
|
130
|
-
const n = t, c = e, s = P({}),
|
|
131
|
-
c("submit", await
|
|
132
|
-
},
|
|
130
|
+
const n = t, c = e, s = P({}), F = _(null), l = async () => {
|
|
131
|
+
c("submit", await S());
|
|
132
|
+
}, S = async () => {
|
|
133
133
|
const o = { ...s };
|
|
134
134
|
return n.id && (o[n.idKey] = n.id), {
|
|
135
135
|
isValid: !0,
|
|
@@ -139,7 +139,7 @@ const y = (t) => t ? I(t, "yyyy-MM-dd") : "", V = (t) => [`${t?.iso}`, `${t?.val
|
|
|
139
139
|
n.submissionFormat
|
|
140
140
|
)
|
|
141
141
|
};
|
|
142
|
-
},
|
|
142
|
+
}, h = () => {
|
|
143
143
|
Object.assign(s, {});
|
|
144
144
|
}, g = (o) => {
|
|
145
145
|
for (const [d, f] of Object.entries(o))
|
|
@@ -151,7 +151,7 @@ const y = (t) => t ? I(t, "yyyy-MM-dd") : "", V = (t) => [`${t?.iso}`, `${t?.val
|
|
|
151
151
|
c("change", o);
|
|
152
152
|
}), N("formStyle", n.formStyle), r({
|
|
153
153
|
submit: l,
|
|
154
|
-
reset:
|
|
154
|
+
reset: h,
|
|
155
155
|
setValues: g,
|
|
156
156
|
getValues: $,
|
|
157
157
|
setValue: D,
|
|
@@ -161,7 +161,7 @@ const y = (t) => t ? I(t, "yyyy-MM-dd") : "", V = (t) => [`${t?.iso}`, `${t?.val
|
|
|
161
161
|
return E(), j("form", {
|
|
162
162
|
onSubmit: l,
|
|
163
163
|
ref_key: "formReference",
|
|
164
|
-
ref:
|
|
164
|
+
ref: F
|
|
165
165
|
}, [
|
|
166
166
|
J(o.$slots, "default", { form: s }),
|
|
167
167
|
R("div", {
|
package/dist/GraphyPrice.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as a } from "./GraphyPrice.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as o } from "./plugin-
|
|
1
|
+
import { _ as a } from "./GraphyPrice.vue_vue_type_script_setup_true_lang-BxKdnVzF.js";
|
|
2
|
+
import { p as o } from "./plugin-BLdCHEGS.js";
|
|
3
3
|
export {
|
|
4
4
|
a as GraphyPrice,
|
|
5
5
|
o as GraphyPricePlugin
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as c, reactive as p, watch as l, openBlock as s, createElementBlock as u, normalizeClass as m, unref as r, toDisplayString as v } from "vue";
|
|
2
|
-
import { G as e } from "./ui-
|
|
2
|
+
import { G as e } from "./ui-DtSy-y9T.js";
|
|
3
3
|
import { g as f } from "./index-CVD_wAsU.js";
|
|
4
4
|
import { useI18n as y } from "vue-i18n";
|
|
5
5
|
const _ = /* @__PURE__ */ c({
|
package/dist/Icon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as n } from "./Icon.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as a } from "./plugin-
|
|
1
|
+
import { _ as n } from "./Icon.vue_vue_type_script_setup_true_lang-DiRGfOxc.js";
|
|
2
|
+
import { p as a } from "./plugin-7M6YmkX3.js";
|
|
3
3
|
export {
|
|
4
4
|
n as Icon,
|
|
5
5
|
a as IconPlugin
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as k, ref as v, getCurrentInstance as b, computed as g, watch as w, openBlock as y, createElementBlock as z, normalizeClass as A, unref as e } from "vue";
|
|
2
|
+
import { u as L } from "./useDomHelpers-5CFMo6bx.js";
|
|
3
|
+
import { b as i } from "./ui-DtSy-y9T.js";
|
|
4
|
+
const _ = (r, n) => {
|
|
5
5
|
const s = r[n];
|
|
6
6
|
return s ? typeof s == "function" ? s() : Promise.resolve(s) : new Promise((c, t) => {
|
|
7
7
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(t.bind(null, new Error("Unknown variable dynamic import: " + n)));
|
|
8
8
|
});
|
|
9
|
-
}, E = ["innerHTML", "role"],
|
|
9
|
+
}, E = ["innerHTML", "role"], M = /* @__PURE__ */ k({
|
|
10
10
|
name: "TIcon",
|
|
11
11
|
__name: "Icon",
|
|
12
12
|
props: {
|
|
@@ -15,32 +15,32 @@ const z = (r, n) => {
|
|
|
15
15
|
size: { default: i.DEFAULT }
|
|
16
16
|
},
|
|
17
17
|
setup(r, { expose: n }) {
|
|
18
|
-
const s = r, c = v(""), t =
|
|
19
|
-
t &&
|
|
20
|
-
},
|
|
21
|
-
return
|
|
18
|
+
const s = r, c = v(""), t = b(), a = v(null), { isPopoverActivator: m, onPopoverActivatorClick: l } = L(), u = g(() => s.role === "button"), f = g(() => s.role !== "" ? s.role : t && m(t) ? "button" : ""), d = (o) => {
|
|
19
|
+
t && m(t) && l(o, t);
|
|
20
|
+
}, h = async () => (await _(/* @__PURE__ */ Object.assign({ "../../assets/icons/account.svg": () => import("./account-BJGxzbeL.js"), "../../assets/icons/alert-octagon-outline.svg": () => import("./alert-octagon-outline-fM2QVbyq.js"), "../../assets/icons/alert-octagon.svg": () => import("./alert-octagon-D8wznooU.js"), "../../assets/icons/archive-outline.svg": () => import("./archive-outline-BT6uCRX5.js"), "../../assets/icons/archive.svg": () => import("./archive-DDuuzVUo.js"), "../../assets/icons/arrow-left.svg": () => import("./arrow-left-CVipcGWo.js"), "../../assets/icons/arrow-right.svg": () => import("./arrow-right-DHFo5L72.js"), "../../assets/icons/bank-outline.svg": () => import("./bank-outline-wy0O9ni0.js"), "../../assets/icons/bank.svg": () => import("./bank-lwoR1P6d.js"), "../../assets/icons/camera.svg": () => import("./camera-BXoPauop.js"), "../../assets/icons/cards-outline.svg": () => import("./cards-outline-B0no8Z63.js"), "../../assets/icons/cards-variant.svg": () => import("./cards-variant-CU6V8mdM.js"), "../../assets/icons/cart-outline.svg": () => import("./cart-outline-C99s8OpS.js"), "../../assets/icons/chart-box-outline.svg": () => import("./chart-box-outline-C9ymwfIH.js"), "../../assets/icons/chart-box.svg": () => import("./chart-box-tyepg_QH.js"), "../../assets/icons/check-circle-outline.svg": () => import("./check-circle-outline-B4zmPfuc.js"), "../../assets/icons/check-circle.svg": () => import("./check-circle-C3Kf7DnE.js"), "../../assets/icons/check.svg": () => import("./check-iUT-FuWa.js"), "../../assets/icons/checkbox-dark.svg": () => import("./checkbox-dark-D_btgwCX.js"), "../../assets/icons/checkbox-indeterminate-dark.svg": () => import("./checkbox-indeterminate-dark-CSrkJBRG.js"), "../../assets/icons/checkbox-indeterminate.svg": () => import("./checkbox-indeterminate-CtbmyFkw.js"), "../../assets/icons/checkbox.svg": () => import("./checkbox-TojXdFTq.js"), "../../assets/icons/chevron-down.svg": () => import("./chevron-down-CJLshITY.js"), "../../assets/icons/chevron-left.svg": () => import("./chevron-left-n_sGCmlG.js"), "../../assets/icons/chevron-right.svg": () => import("./chevron-right-C8uLqjmq.js"), "../../assets/icons/chevron-up.svg": () => import("./chevron-up-b6VdQM8S.js"), "../../assets/icons/circle.svg": () => import("./circle-DhoEDuC5.js"), "../../assets/icons/clock.svg": () => import("./clock-BqMI2OIG.js"), "../../assets/icons/close-circle-outline.svg": () => import("./close-circle-outline-CUXfYV4M.js"), "../../assets/icons/close-circle.svg": () => import("./close-circle-Bsf9_pUR.js"), "../../assets/icons/close.svg": () => import("./close-DemH4JAO.js"), "../../assets/icons/cog.svg": () => import("./cog-Dd9I6z5D.js"), "../../assets/icons/color-fill.svg": () => import("./color-fill-DWx77G0p.js"), "../../assets/icons/copy.svg": () => import("./copy-D-Dqxp8h.js"), "../../assets/icons/credit-card-plus.svg": () => import("./credit-card-plus-TUZq5Zi0.js"), "../../assets/icons/credit-card.svg": () => import("./credit-card-B3VjoUad.js"), "../../assets/icons/currency.svg": () => import("./currency-BuSji4qA.js"), "../../assets/icons/database.svg": () => import("./database-CNG_l2Or.js"), "../../assets/icons/dots-grid.svg": () => import("./dots-grid-BhRGZg1t.js"), "../../assets/icons/dots-vertical.svg": () => import("./dots-vertical-nYIDxlT1.js"), "../../assets/icons/email-open-outline.svg": () => import("./email-open-outline-NlRAK8vu.js"), "../../assets/icons/email-outline.svg": () => import("./email-outline-v-beMKo_.js"), "../../assets/icons/eye-off.svg": () => import("./eye-off-Dq2WOPSG.js"), "../../assets/icons/eye.svg": () => import("./eye-C7_UM0rn.js"), "../../assets/icons/file-document-plus-outline.svg": () => import("./file-document-plus-outline-C_GeG8ak.js"), "../../assets/icons/filmstrip.svg": () => import("./filmstrip-Dg66xHap.js"), "../../assets/icons/filter.svg": () => import("./filter-07gM0IrM.js"), "../../assets/icons/fullscreen-exit.svg": () => import("./fullscreen-exit-DvHy2f8E.js"), "../../assets/icons/fullscreen.svg": () => import("./fullscreen-daZRwm-1.js"), "../../assets/icons/group.svg": () => import("./group-B1HQcmCl.js"), "../../assets/icons/image-album-outline.svg": () => import("./image-album-outline-oiPipPnp.js"), "../../assets/icons/image-album.svg": () => import("./image-album-DVl72ioK.js"), "../../assets/icons/image-outline.svg": () => import("./image-outline-CLpFyr7w.js"), "../../assets/icons/image.svg": () => import("./image-C-DY_SfK.js"), "../../assets/icons/info-outline.svg": () => import("./info-outline-Mn6Hjz_K.js"), "../../assets/icons/key-chain.svg": () => import("./key-chain-D-8-GrU2.js"), "../../assets/icons/key-variant.svg": () => import("./key-variant-DViBRFAJ.js"), "../../assets/icons/key.svg": () => import("./key-B8iEXxGx.js"), "../../assets/icons/listbox-outline.svg": () => import("./listbox-outline-BBriTS-r.js"), "../../assets/icons/loading.svg": () => import("./loading-E4eFmVsP.js"), "../../assets/icons/lock-outline.svg": () => import("./lock-outline-K2LxC2b6.js"), "../../assets/icons/lock.svg": () => import("./lock-Nv-e-b24.js"), "../../assets/icons/logout.svg": () => import("./logout-BHwFpuou.js"), "../../assets/icons/menu-down.svg": () => import("./menu-down-B4Fy5IG1.js"), "../../assets/icons/menu-left.svg": () => import("./menu-left-D8G3frKt.js"), "../../assets/icons/menu-right.svg": () => import("./menu-right-CMt4thJ2.js"), "../../assets/icons/menu.svg": () => import("./menu-pq7WWaJu.js"), "../../assets/icons/minus-circle-outline.svg": () => import("./minus-circle-outline-B-x6EXPD.js"), "../../assets/icons/minus-circle.svg": () => import("./minus-circle-D_N5NZW-.js"), "../../assets/icons/minus.svg": () => import("./minus-CSCkQnOm.js"), "../../assets/icons/moon.svg": () => import("./moon-Bhm_ZTV6.js"), "../../assets/icons/open-in-new.svg": () => import("./open-in-new-C2Btl_1k.js"), "../../assets/icons/pencil.svg": () => import("./pencil-BETebgXX.js"), "../../assets/icons/people.svg": () => import("./people-BUW1DRzH.js"), "../../assets/icons/piggy-bank-outline.svg": () => import("./piggy-bank-outline-5cDQNrSU.js"), "../../assets/icons/plus-circle-outline.svg": () => import("./plus-circle-outline-C-kkX0ke.js"), "../../assets/icons/plus-circle.svg": () => import("./plus-circle-Cl0YprEp.js"), "../../assets/icons/plus.svg": () => import("./plus-sbcOm60H.js"), "../../assets/icons/qrcode-scan.svg": () => import("./qrcode-scan-CpLrVFw_.js"), "../../assets/icons/radio-dark.svg": () => import("./radio-dark-Cr5v17AF.js"), "../../assets/icons/radio.svg": () => import("./radio-DkjVAhsO.js"), "../../assets/icons/refresh.svg": () => import("./refresh-DPlMWd1M.js"), "../../assets/icons/save.svg": () => import("./save-BmMH4S8b.js"), "../../assets/icons/search.svg": () => import("./search-Co2MwWOK.js"), "../../assets/icons/spotlight.svg": () => import("./spotlight-TNyCQzOY.js"), "../../assets/icons/store-outline.svg": () => import("./store-outline-B-fuVZzv.js"), "../../assets/icons/sun.svg": () => import("./sun-BWKjCEHH.js"), "../../assets/icons/swap-horizontal.svg": () => import("./swap-horizontal-DociZUG2.js"), "../../assets/icons/swap-left.svg": () => import("./swap-left-Bd2DOgf3.js"), "../../assets/icons/swap-right.svg": () => import("./swap-right-D0VYxBDb.js"), "../../assets/icons/swap.svg": () => import("./swap-CNbqKTl0.js"), "../../assets/icons/system-theme.svg": () => import("./system-theme-Cez6mSv_.js"), "../../assets/icons/tag-outline.svg": () => import("./tag-outline-Ce_qOxif.js"), "../../assets/icons/trash-can-outline.svg": () => import("./trash-can-outline-DjtqZHOC.js"), "../../assets/icons/trash-can.svg": () => import("./trash-can-CKPtMqSf.js"), "../../assets/icons/upload.svg": () => import("./upload-CKfrBexU.js"), "../../assets/icons/user-circle.svg": () => import("./user-circle-D102n1FB.js"), "../../assets/icons/zip-box.svg": () => import("./zip-box-C10560VY.js") }), `../../assets/icons/${s.icon}.svg`)).default;
|
|
21
|
+
return w(
|
|
22
22
|
() => s.icon,
|
|
23
23
|
async (o, p) => {
|
|
24
|
-
o !== p && (c.value = await
|
|
24
|
+
o !== p && (c.value = await h());
|
|
25
25
|
},
|
|
26
26
|
{ immediate: !0 }
|
|
27
|
-
), n({ reference:
|
|
27
|
+
), n({ reference: a }), (o, p) => (y(), z("i", {
|
|
28
28
|
innerHTML: c.value,
|
|
29
29
|
ref_key: "reference",
|
|
30
|
-
ref:
|
|
30
|
+
ref: a,
|
|
31
31
|
class: A(["inline-block fill-current", {
|
|
32
32
|
"w-4": o.size === e(i).EXTRA_SMALL,
|
|
33
33
|
"w-5": o.size === e(i).SMALL,
|
|
34
34
|
"w-6": o.size === e(i).DEFAULT,
|
|
35
35
|
"w-10": o.size === e(i).LARGE,
|
|
36
36
|
"w-12": o.size === e(i).EXTRA_LARGE,
|
|
37
|
-
"cursor-pointer":
|
|
37
|
+
"cursor-pointer": u.value
|
|
38
38
|
}]),
|
|
39
|
-
role:
|
|
40
|
-
onClick:
|
|
39
|
+
role: f.value,
|
|
40
|
+
onClick: d
|
|
41
41
|
}, null, 10, E));
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
M as _
|
|
46
46
|
};
|
package/dist/IconButton.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as n } from "./IconButton.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p } from "./plugin-
|
|
1
|
+
import { _ as n } from "./IconButton.vue_vue_type_script_setup_true_lang-DEL6iIAu.js";
|
|
2
|
+
import { p } from "./plugin-Cp-YlP7M.js";
|
|
3
3
|
export {
|
|
4
4
|
n as IconButton,
|
|
5
5
|
p as IconButtonPlugin
|