@caipira/tamandua 0.0.14 → 0.0.15
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 -3
- package/dist/{Avatar.vue_vue_type_script_setup_true_lang-DshMIzMM.js → Avatar.vue_vue_type_script_setup_true_lang-BZy_UetF.js} +1 -2
- package/dist/Backdrop.js +0 -1
- package/dist/Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js +0 -1
- package/dist/{Button-CBe3UDFT.js → Button-zA2axPFA.js} +2 -3
- package/dist/Button.css +1 -1
- package/dist/Button.js +2 -3
- package/dist/Button.vue_vue_type_style_index_0_scoped_39c3f26a_lang-tn6M5dNB.js +156 -0
- package/dist/ButtonCopy.js +2 -3
- package/dist/{ButtonCopy.vue_vue_type_script_setup_true_lang-DKiQiVwp.js → ButtonCopy.vue_vue_type_script_setup_true_lang-hBqHMiGU.js} +1 -2
- package/dist/ChartLine.js +0 -1
- package/dist/ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js +0 -1
- package/dist/ChartTreemap.js +2 -3
- package/dist/{ChartTreemap.vue_vue_type_script_setup_true_lang-BQsyn6Wt.js → ChartTreemap.vue_vue_type_script_setup_true_lang-CG5aK3KH.js} +1 -2
- package/dist/Drawer-omdZnBPG.js +0 -1
- package/dist/Drawer.js +0 -1
- package/dist/Dropdown.js +0 -1
- package/dist/Dropdown.vue_vue_type_script_setup_true_lang-DRsd_7yO.js +0 -1
- package/dist/FileDrop.js +0 -1
- package/dist/FileDrop.vue_vue_type_script_setup_true_lang-DJ05bRaU.js +0 -1
- package/dist/Form.js +2 -3
- package/dist/{Form.vue_vue_type_script_setup_true_lang-DIh6jDi0.js → Form.vue_vue_type_script_setup_true_lang-GWUrHIHW.js} +10 -11
- package/dist/FormItem.js +0 -1
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-CV5hpJ8B.js +0 -1
- package/dist/GraphyEmpty.js +0 -1
- package/dist/GraphyEmpty.vue_vue_type_script_setup_true_lang-B-hAjDCw.js +0 -1
- package/dist/GraphyLabel.js +0 -1
- package/dist/GraphyLabel.vue_vue_type_script_setup_true_lang-dEuzASQp.js +0 -1
- package/dist/GraphyPrice.js +2 -3
- package/dist/{GraphyPrice.vue_vue_type_script_setup_true_lang-BxKdnVzF.js → GraphyPrice.vue_vue_type_script_setup_true_lang-GY5TUNz8.js} +1 -2
- package/dist/GraphySubtitle.js +0 -1
- package/dist/GraphySubtitle.vue_vue_type_script_setup_true_lang-DtAmgZWp.js +0 -1
- package/dist/GraphyTitle.js +0 -1
- package/dist/GraphyTitle.vue_vue_type_script_setup_true_lang-DXnrZHV2.js +0 -1
- package/dist/Icon.js +2 -3
- package/dist/{Icon.vue_vue_type_script_setup_true_lang-CSo7rrah.js → Icon.vue_vue_type_script_setup_true_lang-CqJ-D4BM.js} +2 -3
- package/dist/IconButton.js +2 -3
- package/dist/{IconButton.vue_vue_type_script_setup_true_lang-Ca3OdiGJ.js → IconButton.vue_vue_type_script_setup_true_lang-CfILJjtd.js} +6 -7
- package/dist/InputAvatar.js +0 -1
- package/dist/InputAvatar.vue_vue_type_script_setup_true_lang-coNpUH5g.js +0 -1
- package/dist/InputCheckbox.js +0 -1
- package/dist/InputCheckbox.vue_vue_type_script_setup_true_lang-B5zoxg5A.js +0 -1
- package/dist/InputColor.js +0 -1
- package/dist/InputColor.vue_vue_type_script_setup_true_lang-CZ0o-B7I.js +0 -1
- package/dist/InputDate.js +0 -1
- package/dist/InputDate.vue_vue_type_script_setup_true_lang-D1H0urIZ.js +0 -1
- package/dist/InputMultiplier.js +0 -1
- package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-w2RuSz1R.js +0 -1
- package/dist/InputPassword.js +2 -3
- package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-DHc92ISX.js → InputPassword.vue_vue_type_script_setup_true_lang-DvHndXqE.js} +1 -2
- package/dist/InputPhone.js +0 -1
- package/dist/InputPhone.vue_vue_type_script_setup_true_lang-uNqXphQY.js +0 -1
- package/dist/InputPrice.js +0 -1
- package/dist/InputPrice.vue_vue_type_script_setup_true_lang-BBi8qKn8.js +0 -1
- package/dist/InputRadio.js +0 -1
- package/dist/InputRadio.vue_vue_type_script_setup_true_lang-Dqbov2kN.js +0 -1
- package/dist/InputSelect.js +2 -3
- package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-BmupIAdQ.js → InputSelect.vue_vue_type_script_setup_true_lang-B93CKCR3.js} +1 -2
- package/dist/InputSwitch.js +0 -1
- package/dist/InputSwitch.vue_vue_type_script_setup_true_lang-Dq_U-mFJ.js +0 -1
- package/dist/InputText.js +0 -1
- package/dist/InputText.vue_vue_type_script_setup_true_lang-CkoBmp9p.js +0 -1
- package/dist/InputTextarea.js +0 -1
- package/dist/InputTextarea.vue_vue_type_script_setup_true_lang-IMz1cgV5.js +0 -1
- package/dist/Link.js +6 -0
- package/dist/Link.vue_vue_type_script_setup_true_lang-BJVsokc1.js +50 -0
- package/dist/Modal.js +0 -1
- package/dist/Modal.vue_vue_type_script_setup_true_lang-DLl5shGS.js +0 -1
- package/dist/ModalForm.js +0 -1
- package/dist/ModalForm.vue_vue_type_script_setup_true_lang-CZBGpJCs.js +0 -1
- package/dist/Pagination.js +0 -1
- package/dist/Pagination.vue_vue_type_script_setup_true_lang-PLZQJUd0.js +0 -1
- package/dist/Popconfirm.js +2 -3
- package/dist/{Popconfirm.vue_vue_type_script_setup_true_lang-BMaHpkCO.js → Popconfirm.vue_vue_type_script_setup_true_lang-CGs37-Nn.js} +1 -2
- package/dist/Popover.js +2 -3
- package/dist/{Popover.vue_vue_type_script_setup_true_lang-C69m5Nld.js → Popover.vue_vue_type_script_setup_true_lang-B1brEdFx.js} +1 -2
- package/dist/ProgressCircle-BY2eeyGY.js +0 -1
- package/dist/ProgressCircle.js +0 -1
- package/dist/ProgressLine-1ZHGvPsm.js +0 -1
- package/dist/ProgressLine.js +0 -1
- package/dist/SensitiveInfo.js +0 -1
- package/dist/SensitiveInfo.vue_vue_type_script_setup_true_lang-lCdRDxvZ.js +0 -1
- package/dist/Tab.js +0 -1
- package/dist/Tab.vue_vue_type_script_setup_true_lang-VzvYvoqa.js +0 -1
- package/dist/Table-grkQ9tby.js +0 -1
- package/dist/Table.js +0 -1
- package/dist/Tag.js +2 -3
- package/dist/{Tag.vue_vue_type_script_setup_true_lang-DTfAH_Sb.js → Tag.vue_vue_type_script_setup_true_lang-BohgPbhp.js} +27 -28
- package/dist/Toast.js +2 -3
- package/dist/{Toast.vue_vue_type_script_setup_true_lang-BAsJNxU_.js → Toast.vue_vue_type_script_setup_true_lang-a5tU5-sA.js} +1 -2
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -1
- package/dist/account-BJGxzbeL.js +0 -1
- package/dist/alert-octagon-BIUtdQBd.js +5 -0
- package/dist/alert-octagon-outline-fM2QVbyq.js +0 -1
- package/dist/archive-DDuuzVUo.js +0 -1
- package/dist/archive-outline-BT6uCRX5.js +0 -1
- package/dist/arrow-left-CVipcGWo.js +0 -1
- package/dist/arrow-right-DHFo5L72.js +0 -1
- package/dist/bank-lwoR1P6d.js +0 -1
- package/dist/bank-outline-wy0O9ni0.js +0 -1
- package/dist/camera-BXoPauop.js +0 -1
- package/dist/cards-outline-B0no8Z63.js +0 -1
- package/dist/cards-variant-CU6V8mdM.js +0 -1
- package/dist/cart-outline-C99s8OpS.js +0 -1
- package/dist/chart-box-outline-C9ymwfIH.js +0 -1
- package/dist/chart-box-tyepg_QH.js +0 -1
- package/dist/check-circle-C3Kf7DnE.js +0 -1
- package/dist/check-circle-outline-B4zmPfuc.js +0 -1
- package/dist/check-iUT-FuWa.js +0 -1
- package/dist/checkbox-TojXdFTq.js +0 -1
- package/dist/checkbox-dark-D_btgwCX.js +0 -1
- package/dist/checkbox-indeterminate-CtbmyFkw.js +0 -1
- package/dist/checkbox-indeterminate-dark-CSrkJBRG.js +0 -1
- package/dist/chevron-down-CJLshITY.js +0 -1
- package/dist/chevron-left-n_sGCmlG.js +0 -1
- package/dist/chevron-right-C8uLqjmq.js +0 -1
- package/dist/chevron-up-b6VdQM8S.js +0 -1
- package/dist/circle-DhoEDuC5.js +0 -1
- package/dist/clock-BqMI2OIG.js +0 -1
- package/dist/close-DemH4JAO.js +0 -1
- package/dist/close-circle-Bvyw4JKW.js +0 -1
- package/dist/close-circle-outline-CUXfYV4M.js +0 -1
- package/dist/cog-Dd9I6z5D.js +0 -1
- package/dist/color-fill-DWx77G0p.js +0 -1
- package/dist/components.js +40 -39
- package/dist/composables.js +0 -1
- package/dist/copy-D-Dqxp8h.js +0 -1
- package/dist/credit-card-B3VjoUad.js +0 -1
- package/dist/credit-card-plus-TUZq5Zi0.js +0 -1
- package/dist/crud-lKm5HfM4.js +0 -1
- package/dist/currency-BuSji4qA.js +0 -1
- package/dist/database-CNG_l2Or.js +0 -1
- package/dist/date.js +0 -1
- package/dist/dots-grid-BhRGZg1t.js +0 -1
- package/dist/dots-vertical-nYIDxlT1.js +0 -1
- package/dist/email-open-outline-NlRAK8vu.js +0 -1
- package/dist/email-outline-v-beMKo_.js +0 -1
- package/dist/enums.js +7 -7
- package/dist/eye-C7_UM0rn.js +0 -1
- package/dist/eye-off-Dq2WOPSG.js +0 -1
- package/dist/file-document-plus-outline-C_GeG8ak.js +0 -1
- package/dist/filmstrip-Dg66xHap.js +0 -1
- package/dist/filter-07gM0IrM.js +0 -1
- package/dist/form-BkXpIJ0e.js +0 -1
- package/dist/form2.js +0 -1
- package/dist/fullscreen-daZRwm-1.js +0 -1
- package/dist/fullscreen-exit-DvHy2f8E.js +0 -1
- package/dist/group-B1HQcmCl.js +0 -1
- package/dist/image-C-DY_SfK.js +0 -1
- package/dist/image-album-DVl72ioK.js +0 -1
- package/dist/image-album-outline-oiPipPnp.js +0 -1
- package/dist/image-outline-CLpFyr7w.js +0 -1
- package/dist/index-CVD_wAsU.js +0 -1
- package/dist/index-CjvqeRf7.js +0 -1
- package/dist/index-CuyePt3m.js +0 -1
- package/dist/info-outline-Mn6Hjz_K.js +0 -1
- package/dist/key-B8iEXxGx.js +0 -1
- package/dist/key-chain-D-8-GrU2.js +0 -1
- package/dist/key-variant-DViBRFAJ.js +0 -1
- package/dist/listbox-outline-BBriTS-r.js +0 -1
- package/dist/loading-E4eFmVsP.js +0 -1
- package/dist/lock-Nv-e-b24.js +0 -1
- package/dist/lock-outline-K2LxC2b6.js +0 -1
- package/dist/logout-BHwFpuou.js +0 -1
- package/dist/menu-down-B4Fy5IG1.js +0 -1
- package/dist/menu-left-D8G3frKt.js +0 -1
- package/dist/menu-pq7WWaJu.js +0 -1
- package/dist/menu-right-CMt4thJ2.js +0 -1
- package/dist/minus-CSCkQnOm.js +0 -1
- package/dist/minus-circle-D_N5NZW-.js +0 -1
- package/dist/minus-circle-outline-B-x6EXPD.js +0 -1
- package/dist/moon-Bhm_ZTV6.js +0 -1
- package/dist/open-in-new-C2Btl_1k.js +0 -1
- package/dist/pencil-BETebgXX.js +0 -1
- package/dist/people-BUW1DRzH.js +0 -1
- package/dist/piggy-bank-outline-5cDQNrSU.js +0 -1
- package/dist/plugin--F5QK2vy.js +0 -1
- package/dist/plugin-2nTovNcx.js +0 -1
- package/dist/plugin-3VDgn3kO.js +0 -1
- package/dist/plugin-5vn4G57V.js +0 -1
- package/dist/{plugin-DLUdf4JV.js → plugin-BAUSOmg1.js} +1 -2
- package/dist/plugin-BCt5Fd1Y.js +0 -1
- package/dist/{plugin-C4ZKihe9.js → plugin-BJT9iz31.js} +1 -2
- package/dist/plugin-BRY5cGCc.js +0 -1
- package/dist/plugin-BYkYqIjb.js +0 -1
- package/dist/plugin-BZC231Oj.js +0 -1
- package/dist/{plugin-XtlznKJr.js → plugin-BibUAa04.js} +1 -2
- package/dist/{plugin-CeTGH-uy.js → plugin-BkWUeqrs.js} +1 -2
- package/dist/plugin-BrwUi1gG.js +0 -1
- package/dist/plugin-Buc7eEox.js +0 -1
- package/dist/plugin-C-iGigb_.js +0 -1
- package/dist/plugin-C3tFXHbZ.js +0 -1
- package/dist/plugin-C8V0p_Rv.js +10 -0
- package/dist/plugin-CCH1Q2cN.js +0 -1
- package/dist/plugin-CGg5IOSy.js +0 -1
- package/dist/plugin-CHyrn6sC.js +0 -1
- package/dist/{plugin-BLdCHEGS.js → plugin-CQQde2zY.js} +1 -2
- package/dist/{plugin-_WXCZJnd.js → plugin-CX1WsfRO.js} +1 -2
- package/dist/{plugin-Cy8SNl7v.js → plugin-CqcekUXz.js} +1 -2
- package/dist/plugin-CqcxTgW6.js +0 -1
- package/dist/plugin-CwJMh4ht.js +0 -1
- package/dist/plugin-D3RtcfcX.js +0 -1
- package/dist/{plugin-Ce0OhiOa.js → plugin-D9DcbHK3.js} +1 -2
- package/dist/plugin-DDXOF4cU.js +0 -1
- package/dist/plugin-DN54VuID.js +0 -1
- package/dist/plugin-DOeDaXWj.js +0 -1
- package/dist/plugin-DRcJuXpS.js +0 -1
- package/dist/plugin-DT7LVAli.js +0 -1
- package/dist/{plugin-DnCIfRQD.js → plugin-DXEt6BIK.js} +1 -2
- package/dist/plugin-DXSsGfRI.js +0 -1
- package/dist/plugin-DaibhM02.js +0 -1
- package/dist/plugin-DkDbha5K.js +0 -1
- package/dist/{plugin-BUzMTCDs.js → plugin-DmfiHplR.js} +1 -2
- package/dist/plugin-DppW8rQi.js +0 -1
- package/dist/{plugin-Do8SPdPO.js → plugin-Duvcbc38.js} +1 -2
- package/dist/{plugin-AFgt8nH4.js → plugin-DyiLV5Qf.js} +1 -2
- package/dist/{plugin-CVGZQLLW.js → plugin-JgFOdNjC.js} +1 -2
- package/dist/plugin-YUomn9tF.js +0 -1
- package/dist/plugin-cvHKUGjm.js +0 -1
- package/dist/{plugin-CZBGKZIj.js → plugin-zLwlm_b-.js} +1 -2
- package/dist/{plugins-DnctsCLh.js → plugins-DZGnWkJf.js} +46 -44
- package/dist/plugins.js +99 -97
- package/dist/plus-circle-Cl0YprEp.js +0 -1
- package/dist/plus-circle-outline-C-kkX0ke.js +0 -1
- package/dist/plus-sbcOm60H.js +0 -1
- package/dist/qrcode-scan-CpLrVFw_.js +0 -1
- package/dist/radio-DkjVAhsO.js +0 -1
- package/dist/radio-dark-Cr5v17AF.js +0 -1
- package/dist/refresh-DPlMWd1M.js +0 -1
- package/dist/register-component-B-fdqewb.js +0 -1
- package/dist/save-BmMH4S8b.js +0 -1
- package/dist/search-Co2MwWOK.js +0 -1
- package/dist/spotlight-TNyCQzOY.js +0 -1
- package/dist/store-outline-B-fuVZzv.js +0 -1
- package/dist/sun-BWKjCEHH.js +0 -1
- package/dist/swap-CNbqKTl0.js +0 -1
- package/dist/swap-horizontal-DociZUG2.js +0 -1
- package/dist/swap-left-Bd2DOgf3.js +0 -1
- package/dist/swap-right-D0VYxBDb.js +0 -1
- package/dist/system-theme-Cez6mSv_.js +0 -1
- package/dist/tag-outline-Ce_qOxif.js +0 -1
- package/dist/tamandua.js +1 -2
- package/dist/transform-DSaNEFMr.js +0 -1
- package/dist/trash-can-CKPtMqSf.js +0 -1
- package/dist/trash-can-outline-DjtqZHOC.js +0 -1
- package/dist/types/components/Button/Button.story.d.ts +8 -3
- package/dist/types/components/Button/Button.vue.d.ts +5 -5
- package/dist/types/components/Button/types.d.ts +2 -2
- package/dist/types/components/Form/Form.vue.d.ts +4 -4
- package/dist/types/components/Form/types.d.ts +2 -2
- package/dist/types/components/IconButton/IconButton.vue.d.ts +1 -1
- package/dist/types/components/Link/Link.story.d.ts +20 -0
- package/dist/types/components/Link/Link.vue.d.ts +46 -0
- package/dist/types/components/Link/index.d.ts +5 -0
- package/dist/types/components/Link/plugin.d.ts +4 -0
- package/dist/types/components/Link/types.d.ts +11 -0
- package/dist/types/components/index.d.ts +3 -2
- package/dist/types/components/plugins.d.ts +2 -1
- package/dist/types/enums/index.d.ts +2 -2
- package/dist/types/enums/ui.d.ts +13 -4
- package/dist/types/types/ui.d.ts +2 -2
- package/dist/ui-D3dPdT4S.js +13 -0
- package/dist/upload-CKfrBexU.js +0 -1
- package/dist/useClipboard-BHFD0Jvv.js +0 -1
- package/dist/useDomHelpers-5CFMo6bx.js +0 -1
- package/dist/useRender-D8PeooXE.js +0 -1
- package/dist/user-circle-D102n1FB.js +0 -1
- package/dist/zip-box-C10560VY.js +0 -1
- package/package.json +1 -1
- package/volar.d.ts +1 -0
- package/dist/Button.vue_vue_type_style_index_0_scoped_83f5665a_lang-BAjkC8CW.js +0 -144
- package/dist/alert-octagon-D8wznooU.js +0 -5
- package/dist/ui-DtSy-y9T.js +0 -12
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import './Button.css';
|
|
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-CSo7rrah.js";
|
|
6
|
-
const F = ["multiple"], Y = /* @__PURE__ */ O({
|
|
7
|
-
name: "TButton",
|
|
8
|
-
__name: "Button",
|
|
9
|
-
props: {
|
|
10
|
-
to: {},
|
|
11
|
-
icon: {},
|
|
12
|
-
href: { default: "" },
|
|
13
|
-
type: { default: a.BUTTON },
|
|
14
|
-
size: { default: l.DEFAULT },
|
|
15
|
-
label: { default: "" },
|
|
16
|
-
shape: { default: d.ROUNDED },
|
|
17
|
-
target: { default: void 0 },
|
|
18
|
-
variant: { default: r.DEFAULT },
|
|
19
|
-
multiple: { type: Boolean, default: !1 },
|
|
20
|
-
isOutline: { type: Boolean, default: !1 },
|
|
21
|
-
isDisabled: { type: Boolean, default: !1 },
|
|
22
|
-
injectStyle: { default: () => ({ icon: "" }) },
|
|
23
|
-
disableStyle: { type: Boolean, default: !1 }
|
|
24
|
-
},
|
|
25
|
-
emits: ["upload"],
|
|
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
|
-
switch (e.type) {
|
|
29
|
-
case a.LINK:
|
|
30
|
-
return;
|
|
31
|
-
case a.FILE:
|
|
32
|
-
return "button";
|
|
33
|
-
default:
|
|
34
|
-
return e.type;
|
|
35
|
-
}
|
|
36
|
-
}), T = o(() => e.type === a.SUBMIT ? e.label : void 0), C = o(() => {
|
|
37
|
-
switch (e.type) {
|
|
38
|
-
case a.SUBMIT:
|
|
39
|
-
return "input";
|
|
40
|
-
case a.LINK:
|
|
41
|
-
return "a";
|
|
42
|
-
case a.ROUTER_LINK:
|
|
43
|
-
return "router-link";
|
|
44
|
-
default:
|
|
45
|
-
return "button";
|
|
46
|
-
}
|
|
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
|
-
t.stopPropagation();
|
|
51
|
-
const n = t.target.files;
|
|
52
|
-
!n || !n.length || A("upload", n);
|
|
53
|
-
};
|
|
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
|
-
to: e.to,
|
|
61
|
-
disabled: e.isDisabled,
|
|
62
|
-
target: e.target,
|
|
63
|
-
class: c([{
|
|
64
|
-
"font-bold": !e.disableStyle,
|
|
65
|
-
"opacity-50": e.isDisabled,
|
|
66
|
-
// Padding
|
|
67
|
-
"px-1 py-0": !e.disableStyle && e.size === i(l).EXTRA_SMALL,
|
|
68
|
-
"px-4 h-9": !e.disableStyle && e.size === i(l).SMALL,
|
|
69
|
-
"px-4 py-2 h-10": !e.disableStyle && e.size === i(l).DEFAULT,
|
|
70
|
-
// Border
|
|
71
|
-
border: e.isOutline,
|
|
72
|
-
// Shape
|
|
73
|
-
"rounded-full": e.shape === i(d).CIRCLE,
|
|
74
|
-
"input-roundness": e.shape === i(d).ROUNDED,
|
|
75
|
-
// Cursor
|
|
76
|
-
"cursor-pointer": !e.isDisabled,
|
|
77
|
-
"cursor-not-allowed": e.isDisabled,
|
|
78
|
-
// Default color
|
|
79
|
-
"border-caipira-primary-inverted fill-caipira-primary-inverted": e.variant === i(r).DEFAULT,
|
|
80
|
-
"bg-transparent color-caipira-primary-inverted hover:bg-caipira-primary-inverted hover:color-caipira-primary hover:fill-white": e.variant === i(r).DEFAULT && e.isOutline,
|
|
81
|
-
"bg-caipira-primary-inverted color-caipira-primary": e.variant === i(r).DEFAULT && !e.isOutline,
|
|
82
|
-
// Primary color
|
|
83
|
-
"fill-caipira-primary": e.variant === i(r).PRIMARY,
|
|
84
|
-
"bg-transparent border-caipira-blue color-caipira-blue hover:bg-caipira-blue hover:color-caipira-primary hover:fill-white": e.variant === i(r).PRIMARY && e.isOutline,
|
|
85
|
-
"bg-caipira-blue color-caipira-primary": e.variant === i(r).PRIMARY && !e.isOutline,
|
|
86
|
-
// Success color
|
|
87
|
-
"fill-caipira-green": e.variant === i(r).SUCCESS,
|
|
88
|
-
"bg-transparent border-caipira-green color-caipira-green hover:bg-caipira-green hover:color-caipira-primary hover:fill-white": e.variant === i(r).SUCCESS && e.isOutline,
|
|
89
|
-
"bg-caipira-green color-caipira-primary": e.variant === i(r).SUCCESS && !e.isOutline,
|
|
90
|
-
// Warning color
|
|
91
|
-
"fill-caipira-yellow": e.variant === i(r).WARNING,
|
|
92
|
-
"bg-transparent border-caipira-yellow color-caipira-yellow hover:bg-caipira-yellow hover:color-caipira-primary hover:fill-white": e.variant === i(r).WARNING && e.isOutline,
|
|
93
|
-
"bg-caipira-yellow color-caipira-primary": e.variant === i(r).WARNING && !e.isOutline,
|
|
94
|
-
// Danger color
|
|
95
|
-
"fill-caipira-red": e.variant === i(r).DANGER,
|
|
96
|
-
"bg-transparent border-caipira-red color-caipira-red hover:bg-caipira-red hover:color-caipira-primary hover:fill-white": e.variant === i(r).DANGER && e.isOutline,
|
|
97
|
-
"bg-caipira-red color-caipira-primary": e.variant === i(r).DANGER && !e.isOutline,
|
|
98
|
-
// Transparent color
|
|
99
|
-
"transparent-button": e.variant === i(r).TRANSPARENT
|
|
100
|
-
}, "input-outline inline-flex items-center select-none"]),
|
|
101
|
-
role: "button",
|
|
102
|
-
onClick: I
|
|
103
|
-
}, {
|
|
104
|
-
default: k(() => [
|
|
105
|
-
z(t.$slots, "default", {}, void 0, !0),
|
|
106
|
-
e.icon ? (s(), m(n, {
|
|
107
|
-
key: 0,
|
|
108
|
-
ref_key: "iconReference",
|
|
109
|
-
ref: v,
|
|
110
|
-
size: e.size,
|
|
111
|
-
icon: e.icon,
|
|
112
|
-
"is-outline": e.isOutline,
|
|
113
|
-
class: c({
|
|
114
|
-
[e.injectStyle.icon]: !0
|
|
115
|
-
})
|
|
116
|
-
}, null, 8, ["size", "icon", "is-outline", "class"])) : u("", !0),
|
|
117
|
-
e.label && e.type !== i(a).SUBMIT ? (s(), b("span", {
|
|
118
|
-
key: 1,
|
|
119
|
-
class: c([{
|
|
120
|
-
"ml-2": !!e.icon,
|
|
121
|
-
"text-lg": e.size === i(l).LARGE,
|
|
122
|
-
"text-sm": e.size === i(l).SMALL,
|
|
123
|
-
"text-xs": e.size === i(l).EXTRA_SMALL
|
|
124
|
-
}, "whitespace-nowrap"])
|
|
125
|
-
}, x(e.label), 3)) : u("", !0),
|
|
126
|
-
e.type === "file" ? (s(), b("input", {
|
|
127
|
-
key: 2,
|
|
128
|
-
multiple: e.multiple,
|
|
129
|
-
onChange: N,
|
|
130
|
-
type: "file",
|
|
131
|
-
ref_key: "fileInput",
|
|
132
|
-
ref: f,
|
|
133
|
-
class: "hidden"
|
|
134
|
-
}, null, 40, F)) : u("", !0)
|
|
135
|
-
]),
|
|
136
|
-
_: 3
|
|
137
|
-
}, 8, ["type", "href", "value", "to", "disabled", "target", "class"]);
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
export {
|
|
142
|
-
Y as _
|
|
143
|
-
};
|
|
144
|
-
//# sourceMappingURL=Button.vue_vue_type_style_index_0_scoped_83f5665a_lang-BAjkC8CW.js.map
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const t = '<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M13 13H11V7H13M11 15H13V17H11M15.73 3H8.27L3 8.27V15.73L8.27 21H15.73L21 15.73V8.27L15.73 3Z" /></svg>';
|
|
2
|
-
export {
|
|
3
|
-
t as default
|
|
4
|
-
};
|
|
5
|
-
//# sourceMappingURL=alert-octagon-D8wznooU.js.map
|
package/dist/ui-DtSy-y9T.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
export {
|
|
3
|
-
u as B,
|
|
4
|
-
i as E,
|
|
5
|
-
s as G,
|
|
6
|
-
C as I,
|
|
7
|
-
a,
|
|
8
|
-
r as b,
|
|
9
|
-
l as c,
|
|
10
|
-
t as d
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=ui-DtSy-y9T.js.map
|