@caipira/tamandua 0.0.3 → 0.0.6
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/README.md +10 -2
- package/dist/Avatar.js +6 -0
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-C3xje4Mr.js +51 -0
- package/dist/Backdrop.js +6 -0
- package/dist/Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js +22 -0
- package/dist/Button-Bzvqv1bQ.js +6 -0
- package/dist/Button.js +6 -0
- package/dist/Button.vue_vue_type_style_index_0_scoped_5056001e_lang-DmQxrvfv.js +143 -0
- package/dist/ButtonCopy.js +6 -0
- package/dist/ButtonCopy.vue_vue_type_script_setup_true_lang-C8Ndx2n_.js +43 -0
- package/dist/Drawer-DH5EEenO.js +74 -0
- package/dist/Drawer.js +6 -0
- package/dist/Dropdown.js +6 -0
- package/dist/Dropdown.vue_vue_type_script_setup_true_lang-CJ6tMLP5.js +135 -0
- package/dist/FileDrop.js +6 -0
- package/dist/FileDrop.vue_vue_type_script_setup_true_lang-Cmrpt2_c.js +86 -0
- package/dist/Form.js +6 -0
- package/dist/Form.vue_vue_type_script_setup_true_lang-CgTo7ahn.js +186 -0
- package/dist/FormItem.js +6 -0
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-CV5hpJ8B.js +69 -0
- package/dist/GraphyEmpty.js +6 -0
- package/dist/GraphyEmpty.vue_vue_type_script_setup_true_lang-B-hAjDCw.js +15 -0
- package/dist/GraphyLabel.js +6 -0
- package/dist/GraphyLabel.vue_vue_type_script_setup_true_lang-dEuzASQp.js +27 -0
- package/dist/GraphyPrice.js +6 -0
- package/dist/GraphyPrice.vue_vue_type_script_setup_true_lang-BOW4su3l.js +42 -0
- package/dist/GraphySubtitle.js +6 -0
- package/dist/GraphySubtitle.vue_vue_type_script_setup_true_lang-DtAmgZWp.js +18 -0
- package/dist/GraphyTitle.js +6 -0
- package/dist/GraphyTitle.vue_vue_type_script_setup_true_lang-DXnrZHV2.js +15 -0
- package/dist/Icon.js +6 -0
- package/dist/Icon.vue_vue_type_script_setup_true_lang-hxJ1wXXd.js +46 -0
- package/dist/IconButton.js +6 -0
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-BDjy7ycQ.js +106 -0
- package/dist/InputAvatar.js +6 -0
- package/dist/InputAvatar.vue_vue_type_script_setup_true_lang-Dzq2QUAy.js +52 -0
- package/dist/InputCheckbox.js +6 -0
- package/dist/InputCheckbox.vue_vue_type_script_setup_true_lang-B5zoxg5A.js +46 -0
- package/dist/InputColor.js +6 -0
- package/dist/InputColor.vue_vue_type_script_setup_true_lang-DunYzjId.js +35 -0
- package/dist/InputDate.js +6 -0
- package/dist/InputDate.vue_vue_type_script_setup_true_lang-DM9vaaiW.js +188 -0
- package/dist/InputMultiplier.js +6 -0
- package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-w2RuSz1R.js +83 -0
- package/dist/InputPassword.js +6 -0
- package/dist/InputPassword.vue_vue_type_script_setup_true_lang-SuGempaV.js +139 -0
- package/dist/InputPhone.js +6 -0
- package/dist/InputPhone.vue_vue_type_script_setup_true_lang-BH89TX0s.js +76 -0
- package/dist/InputPrice.js +6 -0
- package/dist/InputPrice.vue_vue_type_script_setup_true_lang-Zi-JuhSl.js +63 -0
- package/dist/InputRadio.js +6 -0
- package/dist/InputRadio.vue_vue_type_script_setup_true_lang-cPnYGpJ_.js +34 -0
- package/dist/InputSelect.js +6 -0
- package/dist/InputSelect.vue_vue_type_script_setup_true_lang-DSM-ClgU.js +216 -0
- package/dist/InputSwitch.js +6 -0
- package/dist/InputSwitch.vue_vue_type_script_setup_true_lang-DCYkakov.js +62 -0
- package/dist/InputText.js +6 -0
- package/dist/InputText.vue_vue_type_script_setup_true_lang-KUUuOOlk.js +41 -0
- package/dist/InputTextarea.js +6 -0
- package/dist/InputTextarea.vue_vue_type_script_setup_true_lang-01amgZ6U.js +43 -0
- package/dist/LineChart.js +6 -0
- package/dist/LineChart.vue_vue_type_script_setup_true_lang-Do8SXht4.js +17 -0
- package/dist/Modal.js +6 -0
- package/dist/Modal.vue_vue_type_script_setup_true_lang-DE2ySBCY.js +82 -0
- package/dist/ModalForm.js +6 -0
- package/dist/ModalForm.vue_vue_type_script_setup_true_lang-VhRoRmxZ.js +108 -0
- package/dist/Pagination.js +6 -0
- package/dist/Pagination.vue_vue_type_script_setup_true_lang-PLZQJUd0.js +89 -0
- package/dist/PieChart.js +6 -0
- package/dist/PieChart.vue_vue_type_script_setup_true_lang-CmEDNOuk.js +17 -0
- package/dist/Popconfirm.js +6 -0
- package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-Dy1m3j6J.js +65 -0
- package/dist/Popover.js +6 -0
- package/dist/Popover.vue_vue_type_script_setup_true_lang-OFi2-aWk.js +987 -0
- package/dist/ProgressCircle-iWjZBZwm.js +58 -0
- package/dist/ProgressCircle.js +6 -0
- package/dist/ProgressLine-BT-YgI1t.js +62 -0
- package/dist/ProgressLine.js +6 -0
- package/dist/SensitiveInfo.js +6 -0
- package/dist/SensitiveInfo.vue_vue_type_script_setup_true_lang-lCdRDxvZ.js +22 -0
- package/dist/Tab.js +6 -0
- package/dist/Tab.vue_vue_type_script_setup_true_lang-VzvYvoqa.js +47 -0
- package/dist/Table-CTeoQmG3.js +154 -0
- package/dist/Table.js +6 -0
- package/dist/Tag.js +6 -0
- package/dist/Tag.vue_vue_type_script_setup_true_lang-BeWozUNz.js +63 -0
- package/dist/Toast.js +6 -0
- package/dist/Toast.vue_vue_type_script_setup_true_lang-CpDXLnat.js +61 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/components.js +89 -0
- package/dist/composables.js +17 -0
- package/dist/crud-d9NUddtZ.js +61 -0
- package/dist/date.js +155 -0
- package/dist/enums.js +9 -0
- package/dist/form2.js +20 -0
- package/dist/index-CVD_wAsU.js +2022 -0
- package/dist/index-CgLIzaY3.js +7772 -0
- package/dist/index-CjvqeRf7.js +1280 -0
- package/dist/index-CuyePt3m.js +40 -0
- package/dist/index-DBecmJ_I.js +7 -0
- package/dist/index.css +297 -0
- package/dist/plugin--u5hKcI0.js +10 -0
- package/dist/plugin-2nTovNcx.js +10 -0
- package/dist/plugin-5vn4G57V.js +10 -0
- package/dist/plugin-APHHlXVq.js +10 -0
- package/dist/plugin-B5Guy9c3.js +10 -0
- package/dist/plugin-BC-6G-0o.js +10 -0
- package/dist/plugin-BHaaQBWr.js +10 -0
- package/dist/plugin-BLe_xel4.js +10 -0
- package/dist/plugin-BPR3wKP8.js +10 -0
- package/dist/plugin-BTfinCzO.js +10 -0
- package/dist/plugin-BYkYqIjb.js +10 -0
- package/dist/plugin-BeNCIHgJ.js +10 -0
- package/dist/plugin-Bg2uvrOR.js +10 -0
- package/dist/plugin-Br57SoWk.js +10 -0
- package/dist/plugin-Buc7eEox.js +10 -0
- package/dist/plugin-C-iGigb_.js +10 -0
- package/dist/plugin-C27tBvHp.js +10 -0
- package/dist/plugin-C2MSl67l.js +10 -0
- package/dist/plugin-CF2ujTru.js +10 -0
- package/dist/plugin-CHF44uaz.js +10 -0
- package/dist/plugin-CHyrn6sC.js +10 -0
- package/dist/plugin-CIRUNt1_.js +10 -0
- package/dist/plugin-CQ6DHzD0.js +10 -0
- package/dist/plugin-CSrviP_c.js +10 -0
- package/dist/plugin-CoGzF5YO.js +10 -0
- package/dist/plugin-CpACKUGt.js +10 -0
- package/dist/plugin-CxGfRAW1.js +10 -0
- package/dist/plugin-DDPcV7Fj.js +10 -0
- package/dist/plugin-DN54VuID.js +10 -0
- package/dist/plugin-DOeDaXWj.js +10 -0
- package/dist/plugin-DSCBycRO.js +10 -0
- package/dist/plugin-DaibhM02.js +10 -0
- package/dist/plugin-Dbdsdqqh.js +10 -0
- package/dist/plugin-DdQB9R9S.js +10 -0
- package/dist/plugin-DdrfzyNc.js +35 -0
- package/dist/plugin-Dg87-qPm.js +10 -0
- package/dist/plugin-Xg1SCgfO.js +10 -0
- package/dist/plugin-YUomn9tF.js +10 -0
- package/dist/plugin-cvHKUGjm.js +10 -0
- package/dist/plugin-hpCgD9-h.js +10 -0
- package/dist/plugin-nzCD2cWq.js +10 -0
- package/dist/plugin-rFDM6yOH.js +10 -0
- package/dist/plugin-turENJ3j.js +10 -0
- package/dist/plugins-DumG9GBB.js +107 -0
- package/dist/plugins.js +103 -0
- package/dist/register-component-B-fdqewb.js +6 -0
- package/dist/tamandua.js +17 -15366
- package/dist/{components → types/components}/Avatar/Avatar.vue.d.ts +1 -1
- package/dist/types/components/Avatar/index.d.ts +4 -0
- package/dist/{components/Tag/index.d.ts → types/components/Avatar/plugin.d.ts} +0 -2
- package/dist/types/components/Backdrop/index.d.ts +4 -0
- package/dist/{components/Tab/index.d.ts → types/components/Backdrop/plugin.d.ts} +0 -2
- package/dist/{components → types/components}/Button/Button.story.d.ts +1 -1
- package/dist/{components → types/components}/Button/Button.vue.d.ts +1 -1
- package/dist/types/components/Button/index.d.ts +4 -0
- package/dist/{components/Form/index.d.ts → types/components/Button/plugin.d.ts} +0 -2
- package/dist/types/components/ButtonCopy/index.d.ts +4 -0
- package/dist/{components/Icon/index.d.ts → types/components/ButtonCopy/plugin.d.ts} +0 -2
- package/dist/types/components/Drawer/index.d.ts +4 -0
- package/dist/types/components/Drawer/plugin.d.ts +4 -0
- package/dist/{components → types/components}/Dropdown/Dropdown.vue.d.ts +4 -4
- package/dist/types/components/Dropdown/index.d.ts +4 -0
- package/dist/types/components/Dropdown/plugin.d.ts +4 -0
- package/dist/types/components/FileDrop/index.d.ts +4 -0
- package/dist/types/components/FileDrop/plugin.d.ts +4 -0
- package/dist/{components → types/components}/Form/Form.vue.d.ts +3 -3
- package/dist/types/components/Form/index.d.ts +4 -0
- package/dist/types/components/Form/plugin.d.ts +4 -0
- package/dist/types/components/FormItem/index.d.ts +4 -0
- package/dist/types/components/FormItem/plugin.d.ts +4 -0
- package/dist/types/components/GraphyEmpty/index.d.ts +4 -0
- package/dist/types/components/GraphyEmpty/plugin.d.ts +4 -0
- package/dist/types/components/GraphyLabel/index.d.ts +4 -0
- package/dist/types/components/GraphyLabel/plugin.d.ts +4 -0
- package/dist/{components → types/components}/GraphyPrice/GraphyPrice.vue.d.ts +1 -1
- package/dist/types/components/GraphyPrice/index.d.ts +4 -0
- package/dist/types/components/GraphyPrice/plugin.d.ts +4 -0
- package/dist/types/components/GraphySubtitle/index.d.ts +4 -0
- package/dist/types/components/GraphySubtitle/plugin.d.ts +4 -0
- package/dist/types/components/GraphyTitle/index.d.ts +4 -0
- package/dist/types/components/GraphyTitle/plugin.d.ts +4 -0
- package/dist/{components → types/components}/Icon/Icon.vue.d.ts +1 -1
- package/dist/types/components/Icon/index.d.ts +4 -0
- package/dist/types/components/Icon/plugin.d.ts +4 -0
- package/dist/{components → types/components}/IconButton/IconButton.vue.d.ts +1 -1
- package/dist/types/components/IconButton/index.d.ts +4 -0
- package/dist/types/components/IconButton/plugin.d.ts +4 -0
- package/dist/types/components/InputAvatar/index.d.ts +4 -0
- package/dist/types/components/InputAvatar/plugin.d.ts +4 -0
- package/dist/types/components/InputCheckbox/index.d.ts +4 -0
- package/dist/types/components/InputCheckbox/plugin.d.ts +4 -0
- package/dist/types/components/InputColor/index.d.ts +4 -0
- package/dist/types/components/InputColor/plugin.d.ts +4 -0
- package/dist/types/components/InputDate/index.d.ts +4 -0
- package/dist/types/components/InputDate/plugin.d.ts +4 -0
- package/dist/types/components/InputMultiplier/InputMultiplier.vue.d.ts +4 -0
- package/dist/types/components/InputMultiplier/index.d.ts +4 -0
- package/dist/types/components/InputMultiplier/plugin.d.ts +4 -0
- package/dist/{components → types/components}/InputPassword/InputPassword.vue.d.ts +1 -1
- package/dist/types/components/InputPassword/index.d.ts +4 -0
- package/dist/types/components/InputPassword/plugin.d.ts +4 -0
- package/dist/types/components/InputPhone/index.d.ts +4 -0
- package/dist/types/components/InputPhone/plugin.d.ts +4 -0
- package/dist/{components → types/components}/InputPrice/InputPrice.vue.d.ts +1 -1
- package/dist/types/components/InputPrice/index.d.ts +4 -0
- package/dist/types/components/InputPrice/plugin.d.ts +4 -0
- package/dist/types/components/InputRadio/index.d.ts +4 -0
- package/dist/types/components/InputRadio/plugin.d.ts +4 -0
- package/dist/{components → types/components}/InputSelect/InputSelect.vue.d.ts +4 -4
- package/dist/types/components/InputSelect/index.d.ts +4 -0
- package/dist/types/components/InputSelect/plugin.d.ts +4 -0
- package/dist/types/components/InputSwitch/index.d.ts +4 -0
- package/dist/types/components/InputSwitch/plugin.d.ts +4 -0
- package/dist/types/components/InputText/index.d.ts +4 -0
- package/dist/types/components/InputText/plugin.d.ts +4 -0
- package/dist/types/components/InputTextarea/index.d.ts +4 -0
- package/dist/types/components/InputTextarea/plugin.d.ts +4 -0
- package/dist/types/components/LineChart/index.d.ts +4 -0
- package/dist/types/components/LineChart/plugin.d.ts +4 -0
- package/dist/types/components/Modal/index.d.ts +4 -0
- package/dist/types/components/Modal/plugin.d.ts +4 -0
- package/dist/{components → types/components}/ModalForm/ModalForm.vue.d.ts +1 -1
- package/dist/types/components/ModalForm/index.d.ts +4 -0
- package/dist/types/components/ModalForm/plugin.d.ts +4 -0
- package/dist/{components → types/components}/Pagination/Pagination.vue.d.ts +1 -1
- package/dist/types/components/Pagination/index.d.ts +4 -0
- package/dist/types/components/Pagination/plugin.d.ts +4 -0
- package/dist/types/components/PieChart/index.d.ts +4 -0
- package/dist/types/components/PieChart/plugin.d.ts +4 -0
- package/dist/{components → types/components}/Popconfirm/Popconfirm.vue.d.ts +1 -1
- package/dist/types/components/Popconfirm/index.d.ts +4 -0
- package/dist/types/components/Popconfirm/plugin.d.ts +4 -0
- package/dist/{components → types/components}/Popover/Popover.vue.d.ts +2 -2
- package/dist/types/components/Popover/index.d.ts +4 -0
- package/dist/types/components/Popover/plugin.d.ts +4 -0
- package/dist/types/components/ProgressCircle/index.d.ts +4 -0
- package/dist/types/components/ProgressCircle/plugin.d.ts +4 -0
- package/dist/types/components/ProgressLine/index.d.ts +4 -0
- package/dist/types/components/ProgressLine/plugin.d.ts +4 -0
- package/dist/types/components/SensitiveInfo/index.d.ts +4 -0
- package/dist/types/components/SensitiveInfo/plugin.d.ts +4 -0
- package/dist/{components → types/components}/Tab/Tab.vue.d.ts +1 -1
- package/dist/types/components/Tab/index.d.ts +4 -0
- package/dist/types/components/Tab/plugin.d.ts +4 -0
- package/dist/{components → types/components}/Table/Table.vue.d.ts +3 -3
- package/dist/types/components/Table/index.d.ts +4 -0
- package/dist/types/components/Table/plugin.d.ts +4 -0
- package/dist/{components → types/components}/Table/types.d.ts +1 -1
- package/dist/{components → types/components}/Tag/Tag.vue.d.ts +2 -2
- package/dist/types/components/Tag/index.d.ts +4 -0
- package/dist/types/components/Tag/plugin.d.ts +4 -0
- package/dist/{components → types/components}/Tag/types.d.ts +1 -1
- package/dist/{components → types/components}/Toast/Toast.vue.d.ts +1 -1
- package/dist/types/components/Toast/index.d.ts +4 -0
- package/dist/types/components/Toast/plugin.d.ts +4 -0
- package/dist/types/components/index.d.ts +45 -0
- package/dist/types/components/plugins.d.ts +45 -0
- package/dist/types/composables/index.d.ts +4 -0
- package/dist/types/composables/useRender.d.ts +3 -0
- package/dist/{enums → types/enums}/form.d.ts +1 -1
- package/dist/types/enums/index.d.ts +4 -0
- package/dist/{enums → types/enums}/ui.d.ts +8 -8
- package/dist/{form → types/form}/crud.d.ts +1 -1
- package/dist/{form → types/form}/form-data-transformers.d.ts +2 -2
- package/dist/{form → types/form}/form-transformer.d.ts +2 -2
- package/dist/{form → types/form}/form-value-transformers.d.ts +2 -2
- package/dist/types/form/index.d.ts +4 -0
- package/dist/{form → types/form}/json-transformers.d.ts +2 -2
- package/dist/types/index.d.ts +4 -5
- package/dist/types/services/date.d.ts +3 -0
- package/dist/types/{form.d.ts → types/form.d.ts} +6 -6
- package/dist/types/types/index.d.ts +5 -0
- package/dist/types/{ui.d.ts → types/ui.d.ts} +1 -1
- package/dist/ui-BLR-4Xlv.js +11 -0
- package/dist/ui-MicIL_Lw.js +23 -0
- package/dist/useRender-D8PeooXE.js +16 -0
- package/package.json +38 -15
- package/volar.d.ts +48 -0
- package/dist/components/Avatar/index.d.ts +0 -6
- package/dist/components/Backdrop/index.d.ts +0 -6
- package/dist/components/Button/index.d.ts +0 -6
- package/dist/components/ButtonCopy/index.d.ts +0 -6
- package/dist/components/Drawer/index.d.ts +0 -6
- package/dist/components/Dropdown/index.d.ts +0 -6
- package/dist/components/FileDrop/index.d.ts +0 -6
- package/dist/components/FormItem/index.d.ts +0 -6
- package/dist/components/GraphyEmpty/index.d.ts +0 -6
- package/dist/components/GraphyLabel/index.d.ts +0 -6
- package/dist/components/GraphyPrice/index.d.ts +0 -6
- package/dist/components/GraphySubtitle/index.d.ts +0 -6
- package/dist/components/GraphyTitle/index.d.ts +0 -6
- package/dist/components/IconButton/index.d.ts +0 -6
- package/dist/components/InputAvatar/index.d.ts +0 -6
- package/dist/components/InputCheckbox/index.d.ts +0 -6
- package/dist/components/InputColor/index.d.ts +0 -6
- package/dist/components/InputDate/index.d.ts +0 -6
- package/dist/components/InputMultiplier/InputMultiplier.vue.d.ts +0 -41
- package/dist/components/InputMultiplier/index.d.ts +0 -6
- package/dist/components/InputPassword/index.d.ts +0 -6
- package/dist/components/InputPhone/index.d.ts +0 -6
- package/dist/components/InputPrice/index.d.ts +0 -6
- package/dist/components/InputRadio/index.d.ts +0 -7
- package/dist/components/InputSelect/index.d.ts +0 -6
- package/dist/components/InputSwitch/index.d.ts +0 -6
- package/dist/components/InputText/index.d.ts +0 -6
- package/dist/components/InputTextarea/index.d.ts +0 -6
- package/dist/components/LineChart/index.d.ts +0 -6
- package/dist/components/Modal/index.d.ts +0 -6
- package/dist/components/ModalForm/index.d.ts +0 -6
- package/dist/components/Pagination/index.d.ts +0 -6
- package/dist/components/PieChart/index.d.ts +0 -6
- package/dist/components/Popconfirm/index.d.ts +0 -6
- package/dist/components/Popover/index.d.ts +0 -6
- package/dist/components/ProgressCircle/index.d.ts +0 -6
- package/dist/components/ProgressLine/index.d.ts +0 -6
- package/dist/components/SensitiveInfo/index.d.ts +0 -6
- package/dist/components/Table/index.d.ts +0 -6
- package/dist/components/Toast/index.d.ts +0 -6
- package/dist/components/index.d.ts +0 -43
- package/dist/components/plugins.d.ts +0 -45
- package/dist/composables/index.d.ts +0 -2
- package/dist/composables/useRender.d.ts +0 -3
- package/dist/enums/app.d.ts +0 -5
- package/dist/enums/index.d.ts +0 -3
- package/dist/index.d.ts +0 -5
- package/dist/services/date.d.ts +0 -16
- package/dist/style.css +0 -1
- package/dist/vite.config.d.mts +0 -2
- /package/dist/{components → types/components}/Avatar/Avatar.story.d.ts +0 -0
- /package/dist/{components → types/components}/Backdrop/Backdrop.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ButtonCopy/ButtonCopy.vue.d.ts +0 -0
- /package/dist/{components → types/components}/Drawer/Drawer.vue.d.ts +0 -0
- /package/dist/{components → types/components}/EventListener/EventListener.vue.d.ts +0 -0
- /package/dist/{components → types/components}/FileDrop/FileDrop.vue.d.ts +0 -0
- /package/dist/{components → types/components}/Form/Form.spec.d.ts +0 -0
- /package/dist/{components → types/components}/FormItem/FormItem.vue.d.ts +0 -0
- /package/dist/{components → types/components}/GraphyEmpty/GraphyEmpty.vue.d.ts +0 -0
- /package/dist/{components → types/components}/GraphyLabel/GraphyLabel.vue.d.ts +0 -0
- /package/dist/{components → types/components}/GraphyPrice/GraphyPrice.story.d.ts +0 -0
- /package/dist/{components → types/components}/GraphySubtitle/GraphySubtitle.vue.d.ts +0 -0
- /package/dist/{components → types/components}/GraphyTitle/GraphyTitle.vue.d.ts +0 -0
- /package/dist/{components → types/components}/InputAvatar/InputAvatar.vue.d.ts +0 -0
- /package/dist/{components → types/components}/InputCheckbox/InputCheckbox.vue.d.ts +0 -0
- /package/dist/{components → types/components}/InputColor/InputColor.vue.d.ts +0 -0
- /package/dist/{components → types/components}/InputDate/InputDate.story.d.ts +0 -0
- /package/dist/{components → types/components}/InputDate/InputDate.vue.d.ts +0 -0
- /package/dist/{components → types/components}/InputMultiplier/input-multiplier.story.d.ts +0 -0
- /package/dist/{components → types/components}/InputMultiplier/types.d.ts +0 -0
- /package/dist/{components → types/components}/InputPhone/InputPhone.vue.d.ts +0 -0
- /package/dist/{components → types/components}/InputRadio/InputRadio.vue.d.ts +0 -0
- /package/dist/{components → types/components}/InputRadio/InputRadioGroup.story.d.ts +0 -0
- /package/dist/{components → types/components}/InputRadio/InputRadioGroup.vue.d.ts +0 -0
- /package/dist/{components → types/components}/InputSelect/InputSelect.story.d.ts +0 -0
- /package/dist/{components → types/components}/InputSwitch/InputSwitch.story.d.ts +0 -0
- /package/dist/{components → types/components}/InputSwitch/InputSwitch.vue.d.ts +0 -0
- /package/dist/{components → types/components}/InputText/InputText.vue.d.ts +0 -0
- /package/dist/{components → types/components}/InputTextarea/InputTextarea.vue.d.ts +0 -0
- /package/dist/{components → types/components}/LineChart/LineChart.vue.d.ts +0 -0
- /package/dist/{components → types/components}/Modal/Modal.vue.d.ts +0 -0
- /package/dist/{components → types/components}/Pagination/Pagination.story.d.ts +0 -0
- /package/dist/{components → types/components}/PieChart/PieChart.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ProgressCircle/ProgressCircle.story.d.ts +0 -0
- /package/dist/{components → types/components}/ProgressCircle/ProgressCircle.vue.d.ts +0 -0
- /package/dist/{components → types/components}/ProgressLine/ProgressLine.story.d.ts +0 -0
- /package/dist/{components → types/components}/ProgressLine/ProgressLine.vue.d.ts +0 -0
- /package/dist/{components → types/components}/SensitiveInfo/SensitiveInfo.vue.d.ts +0 -0
- /package/dist/{components → types/components}/Table/Table.story.d.ts +0 -0
- /package/dist/{composables → types/composables}/useBreakpoints.d.ts +0 -0
- /package/dist/{form → types/form}/convertors.d.ts +0 -0
- /package/dist/{form → types/form}/form.test.d.ts +0 -0
- /package/dist/{i18n.d.ts → types/i18n.d.ts} +0 -0
- /package/dist/{plugins → types/plugins}/register-component.d.ts +0 -0
- /package/dist/{services → types/services}/clipboard.d.ts +0 -0
- /package/dist/{services → types/services}/password.d.ts +0 -0
- /package/dist/{services → types/services}/ui.d.ts +0 -0
- /package/dist/types/{address.d.ts → types/address.d.ts} +0 -0
- /package/dist/types/{api.d.ts → types/api.d.ts} +0 -0
- /package/dist/types/{common.d.ts → types/common.d.ts} +0 -0
- /package/dist/types/{website.d.ts → types/website.d.ts} +0 -0
- /package/dist/{vitest.setup.d.ts → types/vitest.setup.d.ts} +0 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import './ProgressCircle.css';
|
|
2
|
+
import { defineComponent as c, computed as n, openBlock as o, createElementBlock as s, createElementVNode as l, renderSlot as h, createCommentVNode as f } from "vue";
|
|
3
|
+
import { _ as u } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const k = { class: "relative w-min" }, _ = ["width", "heigh"], p = ["stroke-width", "stroke"], m = ["stroke-width", "stroke", "stroke-dashoffset"], v = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "absolute transform -translate-x-1/2 -translate-y-1/2 top-2/4 left-2/4"
|
|
7
|
+
}, a = 90, w = /* @__PURE__ */ c({
|
|
8
|
+
name: "TProgressCircle",
|
|
9
|
+
__name: "ProgressCircle",
|
|
10
|
+
props: {
|
|
11
|
+
value: { default: 0 },
|
|
12
|
+
width: { default: 90 },
|
|
13
|
+
strokeWidth: { default: 1 },
|
|
14
|
+
strokeColor: { default: "var(--caipira-blue)" },
|
|
15
|
+
backgroundColor: { default: "var(--caipira-tertiary)" }
|
|
16
|
+
},
|
|
17
|
+
setup(i) {
|
|
18
|
+
const e = i, d = n(() => {
|
|
19
|
+
const t = Math.PI * (a * 2);
|
|
20
|
+
let r = e.value;
|
|
21
|
+
return e.value < 0 && (r = 0), e.value > 100 && (r = 100), (100 - r) / 100 * t;
|
|
22
|
+
});
|
|
23
|
+
return (t, r) => (o(), s("div", k, [
|
|
24
|
+
(o(), s("svg", {
|
|
25
|
+
viewBox: "0 0 200 200",
|
|
26
|
+
width: e.width,
|
|
27
|
+
heigh: e.width
|
|
28
|
+
}, [
|
|
29
|
+
l("circle", {
|
|
30
|
+
cy: "100",
|
|
31
|
+
cx: "100",
|
|
32
|
+
fill: "transparent",
|
|
33
|
+
"stroke-dasharray": "565.48",
|
|
34
|
+
r: a,
|
|
35
|
+
"stroke-width": e.strokeWidth,
|
|
36
|
+
stroke: e.backgroundColor,
|
|
37
|
+
"stroke-dashoffset": "0"
|
|
38
|
+
}, null, 8, p),
|
|
39
|
+
l("circle", {
|
|
40
|
+
cy: "100",
|
|
41
|
+
cx: "100",
|
|
42
|
+
fill: "transparent",
|
|
43
|
+
"stroke-dasharray": "565.48",
|
|
44
|
+
r: a,
|
|
45
|
+
"stroke-width": e.strokeWidth,
|
|
46
|
+
stroke: e.strokeColor,
|
|
47
|
+
"stroke-dashoffset": d.value
|
|
48
|
+
}, null, 8, m)
|
|
49
|
+
], 8, _)),
|
|
50
|
+
t.$slots.default ? (o(), s("div", v, [
|
|
51
|
+
h(t.$slots, "default", {}, void 0, !0)
|
|
52
|
+
])) : f("", !0)
|
|
53
|
+
]));
|
|
54
|
+
}
|
|
55
|
+
}), y = /* @__PURE__ */ u(w, [["__scopeId", "data-v-e7bab2f3"]]);
|
|
56
|
+
export {
|
|
57
|
+
y as P
|
|
58
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import './ProgressLine.css';
|
|
2
|
+
import { defineComponent as d, ref as c, watch as u, computed as f, openBlock as t, createElementBlock as l, normalizeClass as s, createElementVNode as a, renderSlot as h, toDisplayString as g, createCommentVNode as p } from "vue";
|
|
3
|
+
import { _ as m } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const _ = { class: "flex items-center" }, v = ["height"], C = ["rx", "fill"], b = ["width", "rx", "fill"], k = {
|
|
5
|
+
key: 1,
|
|
6
|
+
class: "text-sm"
|
|
7
|
+
}, w = /* @__PURE__ */ d({
|
|
8
|
+
name: "TProgressLine",
|
|
9
|
+
__name: "ProgressLine",
|
|
10
|
+
props: {
|
|
11
|
+
value: { default: 0 },
|
|
12
|
+
height: { default: 10 },
|
|
13
|
+
borderRadius: { default: 2 },
|
|
14
|
+
showPercentage: { type: Boolean, default: !0 },
|
|
15
|
+
svgClass: {},
|
|
16
|
+
labelClass: {},
|
|
17
|
+
overColor: { default: "#f38ba8" },
|
|
18
|
+
progressColor: { default: "#89b4fa" },
|
|
19
|
+
finishedColor: { default: "#a6e3a1" },
|
|
20
|
+
backgroundColor: { default: "var(--caipira-tertiary)" }
|
|
21
|
+
},
|
|
22
|
+
setup(i) {
|
|
23
|
+
const e = i, r = c(0);
|
|
24
|
+
u(
|
|
25
|
+
() => e.value,
|
|
26
|
+
(o) => {
|
|
27
|
+
o && (r.value = Math.round(o));
|
|
28
|
+
},
|
|
29
|
+
{ immediate: !0 }
|
|
30
|
+
);
|
|
31
|
+
const n = f(() => r.value === 100 ? e.finishedColor : r.value > 100 ? e.overColor : e.progressColor);
|
|
32
|
+
return (o, x) => (t(), l("div", _, [
|
|
33
|
+
(t(), l("svg", {
|
|
34
|
+
width: "100%",
|
|
35
|
+
height: e.height,
|
|
36
|
+
class: s(["inline-block flex-grow", e.svgClass])
|
|
37
|
+
}, [
|
|
38
|
+
a("rect", {
|
|
39
|
+
width: "100%",
|
|
40
|
+
height: "100%",
|
|
41
|
+
rx: e.borderRadius,
|
|
42
|
+
fill: e.backgroundColor
|
|
43
|
+
}, null, 8, C),
|
|
44
|
+
a("rect", {
|
|
45
|
+
height: "100%",
|
|
46
|
+
width: `${e.value}%`,
|
|
47
|
+
rx: e.borderRadius,
|
|
48
|
+
fill: n.value
|
|
49
|
+
}, null, 8, b)
|
|
50
|
+
], 10, v)),
|
|
51
|
+
e.showPercentage ? (t(), l("div", {
|
|
52
|
+
key: 0,
|
|
53
|
+
class: s(["flex-none ml-2", o.labelClass])
|
|
54
|
+
}, [
|
|
55
|
+
o.$slots.label ? h(o.$slots, "label", { key: 0 }, void 0, !0) : (t(), l("span", k, g(r.value) + "% ", 1))
|
|
56
|
+
], 2)) : p("", !0)
|
|
57
|
+
]));
|
|
58
|
+
}
|
|
59
|
+
}), B = /* @__PURE__ */ m(w, [["__scopeId", "data-v-9c09a7d1"]]);
|
|
60
|
+
export {
|
|
61
|
+
B as P
|
|
62
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent as t, openBlock as r, createElementBlock as s, normalizeClass as a, renderSlot as l } from "vue";
|
|
2
|
+
const c = /* @__PURE__ */ t({
|
|
3
|
+
name: "TSensitiveInfo",
|
|
4
|
+
__name: "SensitiveInfo",
|
|
5
|
+
props: {
|
|
6
|
+
private: { type: Boolean }
|
|
7
|
+
},
|
|
8
|
+
setup(e) {
|
|
9
|
+
const n = e;
|
|
10
|
+
return (o, i) => (r(), s("div", {
|
|
11
|
+
class: a({
|
|
12
|
+
"blur-sm": n.private,
|
|
13
|
+
"filter grayscale": !1
|
|
14
|
+
})
|
|
15
|
+
}, [
|
|
16
|
+
l(o.$slots, "default")
|
|
17
|
+
], 2));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
c as _
|
|
22
|
+
};
|
package/dist/Tab.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineComponent as b, ref as d, openBlock as t, createElementBlock as a, Fragment as n, createElementVNode as o, renderList as c, normalizeClass as i, toDisplayString as m, renderSlot as _ } from "vue";
|
|
2
|
+
const f = {
|
|
3
|
+
class: "flex flex-col md:flex-row flex-wrap rounded-sm list-none mb-6 pt-1 bg-caipira-tertiary",
|
|
4
|
+
role: "tablist"
|
|
5
|
+
}, k = ["onClick"], v = {
|
|
6
|
+
class: "tab-content",
|
|
7
|
+
id: "tabs-tabContent"
|
|
8
|
+
}, g = /* @__PURE__ */ b({
|
|
9
|
+
name: "TTab",
|
|
10
|
+
__name: "Tab",
|
|
11
|
+
props: {
|
|
12
|
+
tabs: { default: () => [] }
|
|
13
|
+
},
|
|
14
|
+
setup(p) {
|
|
15
|
+
const s = p, l = d(0);
|
|
16
|
+
return (u, h) => (t(), a(n, null, [
|
|
17
|
+
o("ul", f, [
|
|
18
|
+
(t(!0), a(n, null, c(s.tabs, (r, e) => (t(), a("li", {
|
|
19
|
+
role: "presentation",
|
|
20
|
+
key: e
|
|
21
|
+
}, [
|
|
22
|
+
o("a", {
|
|
23
|
+
class: i(["block uppercase py-2 px-4", {
|
|
24
|
+
"bg-caipira-primary": e === l.value
|
|
25
|
+
}]),
|
|
26
|
+
href: "#",
|
|
27
|
+
role: "tab",
|
|
28
|
+
"aria-selected": "true",
|
|
29
|
+
onClick: (y) => l.value = e
|
|
30
|
+
}, m(r.title), 11, k)
|
|
31
|
+
]))), 128))
|
|
32
|
+
]),
|
|
33
|
+
o("div", v, [
|
|
34
|
+
(t(!0), a(n, null, c(s.tabs, (r, e) => (t(), a("div", {
|
|
35
|
+
key: e,
|
|
36
|
+
class: i(["", { hidden: e !== l.value }]),
|
|
37
|
+
role: "tabpanel"
|
|
38
|
+
}, [
|
|
39
|
+
_(u.$slots, r.slot)
|
|
40
|
+
], 2))), 128))
|
|
41
|
+
])
|
|
42
|
+
], 64));
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
g as _
|
|
47
|
+
};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import './Table.css';
|
|
2
|
+
import { defineComponent as z, useSlots as O, ref as b, reactive as L, computed as w, resolveComponent as S, openBlock as a, createElementBlock as s, createElementVNode as y, unref as g, normalizeClass as d, createCommentVNode as p, createVNode as D, Fragment as h, renderList as x, toDisplayString as B, createBlock as M, renderSlot as E, createTextVNode as F, pushScopeId as P, popScopeId as q } from "vue";
|
|
3
|
+
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const J = (v) => (P("data-v-3396a413"), v = v(), q(), v), Q = { class: "min-w-full relative color-text" }, W = ["onClick"], X = { class: "flex items-center" }, Y = {
|
|
5
|
+
key: 0,
|
|
6
|
+
class: "animate-pulse"
|
|
7
|
+
}, Z = /* @__PURE__ */ J(() => /* @__PURE__ */ y("div", { class: "h-4 bg-gray-100 my-1 mx-2 dark:bg-neutral-800 rounded" }, null, -1)), ee = [
|
|
8
|
+
Z
|
|
9
|
+
], te = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "border-b"
|
|
12
|
+
}, le = ["colspan"], ae = /* @__PURE__ */ z({
|
|
13
|
+
name: "TTable",
|
|
14
|
+
__name: "Table",
|
|
15
|
+
props: {
|
|
16
|
+
data: { default: () => [] },
|
|
17
|
+
rowKey: { default: "id" },
|
|
18
|
+
columns: { default: () => [] },
|
|
19
|
+
loading: { type: Boolean, default: !1 },
|
|
20
|
+
selectable: { type: Boolean, default: !1 },
|
|
21
|
+
disableStyle: { type: Boolean, default: !1 },
|
|
22
|
+
stickyHeader: { type: Boolean, default: !0 },
|
|
23
|
+
rowClass: { default: "hover:bg-hover" },
|
|
24
|
+
tableDataClass: { default: "px-2 py-2" }
|
|
25
|
+
},
|
|
26
|
+
emits: ["selected", "row-click"],
|
|
27
|
+
setup(v, { expose: I, emit: T }) {
|
|
28
|
+
const e = v, k = T, _ = O(), u = b(!1), n = b({}), f = b({}), C = b(!1), m = b(!1), i = L({}), R = (t) => {
|
|
29
|
+
t.stopPropagation();
|
|
30
|
+
}, U = w(() => e.columns.length + (e.selectable ? 1 : 0) + (_.details ? 1 : 0) + 1), K = () => {
|
|
31
|
+
let t = 0, r = 0;
|
|
32
|
+
e.data.forEach((c) => {
|
|
33
|
+
n.value[c[e.rowKey]] ? t++ : r++;
|
|
34
|
+
}), r === 0 && t > 0 ? (m.value = !1, u.value = !0) : t === 0 ? (m.value = !1, u.value = !1) : r !== t && (m.value = !0, u.value = void 0), C.value = Object.keys(n.value).some(
|
|
35
|
+
(c) => n.value[c]
|
|
36
|
+
);
|
|
37
|
+
}, $ = async (t, r) => {
|
|
38
|
+
r ? i[t] = e.data.find(
|
|
39
|
+
(c) => c[e.rowKey] === t
|
|
40
|
+
) : delete i[t], k("selected", i), K();
|
|
41
|
+
}, A = () => {
|
|
42
|
+
Object.keys(n.value).forEach((t) => {
|
|
43
|
+
n.value[t] = !1, u.value = !1, m.value = !1, C.value = !1;
|
|
44
|
+
}), Object.assign(i, {}), k("selected", {});
|
|
45
|
+
}, H = () => {
|
|
46
|
+
u.value ? e.data.forEach((t) => {
|
|
47
|
+
n.value[t[e.rowKey]] = !0, i[t[e.rowKey]] = t;
|
|
48
|
+
}) : e.data.forEach((t) => {
|
|
49
|
+
n.value[t[e.rowKey]] = !1, delete i[t[e.rowKey]], C.value = !1;
|
|
50
|
+
}), K(), k("selected", i);
|
|
51
|
+
}, N = w(() => e.loading && e.data.length === 0 ? Array.from({ length: 5 }, (t, r) => r) : e.data);
|
|
52
|
+
return I({
|
|
53
|
+
clearSelection: A,
|
|
54
|
+
inSelectionMode: C
|
|
55
|
+
}), (t, r) => {
|
|
56
|
+
const c = S("t-input-checkbox"), j = S("t-icon-button");
|
|
57
|
+
return a(), s("table", Q, [
|
|
58
|
+
y("thead", null, [
|
|
59
|
+
y("tr", null, [
|
|
60
|
+
g(_).details ? (a(), s("th", {
|
|
61
|
+
key: 0,
|
|
62
|
+
class: d(["text-left border bg-caipira-primary", {
|
|
63
|
+
"sticky top-0": e.stickyHeader,
|
|
64
|
+
[e.tableDataClass]: !0
|
|
65
|
+
}])
|
|
66
|
+
}, null, 2)) : p("", !0),
|
|
67
|
+
e.selectable ? (a(), s("th", {
|
|
68
|
+
key: 1,
|
|
69
|
+
class: d(["text-center w-12 bg-caipira-primary", {
|
|
70
|
+
"sticky top-0": e.stickyHeader,
|
|
71
|
+
[e.tableDataClass]: !0
|
|
72
|
+
}])
|
|
73
|
+
}, [
|
|
74
|
+
D(c, {
|
|
75
|
+
modelValue: u.value,
|
|
76
|
+
"onUpdate:modelValue": r[0] || (r[0] = (l) => u.value = l),
|
|
77
|
+
"is-indeterminate": m.value,
|
|
78
|
+
onInput: H
|
|
79
|
+
}, null, 8, ["modelValue", "is-indeterminate"])
|
|
80
|
+
], 2)) : p("", !0),
|
|
81
|
+
(a(!0), s(h, null, x(e.columns, (l, V) => (a(), s("th", {
|
|
82
|
+
class: d(["text-base text-left select-none px-2 py-2 font-normal bg-caipira-primary", {
|
|
83
|
+
"sticky top-0": e.stickyHeader,
|
|
84
|
+
[e.tableDataClass]: !0
|
|
85
|
+
}]),
|
|
86
|
+
key: V
|
|
87
|
+
}, B(l.title ? l.title : ""), 3))), 128))
|
|
88
|
+
])
|
|
89
|
+
]),
|
|
90
|
+
y("tbody", null, [
|
|
91
|
+
(a(!0), s(h, null, x(N.value, (l, V) => (a(), s(h, {
|
|
92
|
+
key: l[e.rowKey]
|
|
93
|
+
}, [
|
|
94
|
+
y("tr", {
|
|
95
|
+
class: d(["cursor-pointer", {
|
|
96
|
+
"bg-hover": n.value[l[e.rowKey]],
|
|
97
|
+
[e.rowClass]: !0
|
|
98
|
+
}]),
|
|
99
|
+
onClick: (o) => k("row-click", l)
|
|
100
|
+
}, [
|
|
101
|
+
g(_).details ? (a(), s("td", {
|
|
102
|
+
key: 0,
|
|
103
|
+
class: d(["text-left", [e.tableDataClass]])
|
|
104
|
+
}, [
|
|
105
|
+
y("div", X, [
|
|
106
|
+
"hasDetails" in l && l.hasDetails ? (a(), M(j, {
|
|
107
|
+
key: 0,
|
|
108
|
+
modelValue: f.value[l[e.rowKey]],
|
|
109
|
+
"onUpdate:modelValue": (o) => f.value[l[e.rowKey]] = o,
|
|
110
|
+
size: "sm",
|
|
111
|
+
icon: f.value[l[e.rowKey]] ? "chevron-down" : "chevron-right",
|
|
112
|
+
onClick: (o) => f.value[l[e.rowKey]] = !f.value[l[e.rowKey]]
|
|
113
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "icon", "onClick"])) : p("", !0)
|
|
114
|
+
])
|
|
115
|
+
], 2)) : p("", !0),
|
|
116
|
+
e.selectable ? (a(), s("td", {
|
|
117
|
+
key: 1,
|
|
118
|
+
class: d(["text-center w-12", [e.tableDataClass]])
|
|
119
|
+
}, [
|
|
120
|
+
D(c, {
|
|
121
|
+
modelValue: n.value[l[e.rowKey]],
|
|
122
|
+
"onUpdate:modelValue": (o) => n.value[l[e.rowKey]] = o,
|
|
123
|
+
"initialize-value": !0,
|
|
124
|
+
onClick: R,
|
|
125
|
+
onInput: (o) => $(l[e.rowKey], o)
|
|
126
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "onInput"])
|
|
127
|
+
], 2)) : p("", !0),
|
|
128
|
+
(a(!0), s(h, null, x(e.columns, (o, se) => (a(), s("td", {
|
|
129
|
+
class: d(["whitespace-nowrap", {
|
|
130
|
+
[e.tableDataClass]: !0
|
|
131
|
+
}])
|
|
132
|
+
}, [
|
|
133
|
+
e.loading ? (a(), s("div", Y, ee)) : "slot" in o && t.$slots[o.slot] ? E(t.$slots, o.slot, {
|
|
134
|
+
key: 1,
|
|
135
|
+
row: l
|
|
136
|
+
}, void 0, !0) : "property" in o ? (a(), s(h, { key: 2 }, [
|
|
137
|
+
F(B(l[o.property]), 1)
|
|
138
|
+
], 64)) : p("", !0)
|
|
139
|
+
], 2))), 256))
|
|
140
|
+
], 10, W),
|
|
141
|
+
g(_).details && f.value[l[e.rowKey]] ? (a(), s("tr", te, [
|
|
142
|
+
y("td", { colspan: U.value }, [
|
|
143
|
+
E(t.$slots, "details", { row: l }, void 0, !0)
|
|
144
|
+
], 8, le)
|
|
145
|
+
])) : p("", !0)
|
|
146
|
+
], 64))), 128))
|
|
147
|
+
])
|
|
148
|
+
]);
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
}), re = /* @__PURE__ */ G(ae, [["__scopeId", "data-v-3396a413"]]);
|
|
152
|
+
export {
|
|
153
|
+
re as T
|
|
154
|
+
};
|
package/dist/Table.js
ADDED
package/dist/Tag.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { defineComponent as u, resolveComponent as i, openBlock as o, createElementBlock as l, normalizeStyle as f, normalizeClass as _, createBlock as c, withCtx as y, createVNode as x, createCommentVNode as C, createElementVNode as k, renderSlot as b, toDisplayString as h } from "vue";
|
|
2
|
+
import { E as v } from "./ui-BLR-4Xlv.js";
|
|
3
|
+
const g = ["role"], B = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "bg-[#0000006b] hover:bg-[#000000a3] px-1 h-full"
|
|
6
|
+
}, z = { class: "px-2 py-0.5" }, E = { key: 1 }, S = /* @__PURE__ */ u({
|
|
7
|
+
name: "TTag",
|
|
8
|
+
__name: "Tag",
|
|
9
|
+
props: {
|
|
10
|
+
text: { default: "" },
|
|
11
|
+
size: { default: v.DEFAULT },
|
|
12
|
+
role: { default: "" },
|
|
13
|
+
color: { default: "" },
|
|
14
|
+
confirmClose: { type: Boolean, default: !1 },
|
|
15
|
+
hasCloseButton: { type: Boolean, default: !1 }
|
|
16
|
+
},
|
|
17
|
+
emits: ["close"],
|
|
18
|
+
setup(a, { emit: m }) {
|
|
19
|
+
const e = a, n = m;
|
|
20
|
+
return (s, t) => {
|
|
21
|
+
const r = i("t-icon"), p = i("t-popconfirm");
|
|
22
|
+
return o(), l("div", {
|
|
23
|
+
style: f(`background-color:${e.color}`),
|
|
24
|
+
class: _([{
|
|
25
|
+
"bg-neutral-700": !e.color
|
|
26
|
+
}, "inline-flex items-center rounded-sm text-sm text-white w-max select-none"]),
|
|
27
|
+
role: e.role
|
|
28
|
+
}, [
|
|
29
|
+
e.hasCloseButton ? (o(), l("div", B, [
|
|
30
|
+
e.confirmClose ? (o(), c(p, {
|
|
31
|
+
key: 0,
|
|
32
|
+
title: "Are you sure you want to remove this?",
|
|
33
|
+
placement: "top",
|
|
34
|
+
class: "h-full inline-flex items-center justify-center",
|
|
35
|
+
onConfirm: t[0] || (t[0] = (d) => n("close"))
|
|
36
|
+
}, {
|
|
37
|
+
default: y(() => [
|
|
38
|
+
x(r, {
|
|
39
|
+
size: "xs",
|
|
40
|
+
icon: "close",
|
|
41
|
+
role: "button",
|
|
42
|
+
"aria-describedby": "tooltip"
|
|
43
|
+
})
|
|
44
|
+
]),
|
|
45
|
+
_: 1
|
|
46
|
+
})) : (o(), c(r, {
|
|
47
|
+
key: 1,
|
|
48
|
+
size: "xs",
|
|
49
|
+
icon: "close",
|
|
50
|
+
role: "button",
|
|
51
|
+
onClick: t[1] || (t[1] = (d) => n("close"))
|
|
52
|
+
}))
|
|
53
|
+
])) : C("", !0),
|
|
54
|
+
k("div", z, [
|
|
55
|
+
s.$slots.default ? b(s.$slots, "default", { key: 0 }) : (o(), l("span", E, h(e.text), 1))
|
|
56
|
+
])
|
|
57
|
+
], 14, g);
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
export {
|
|
62
|
+
S as _
|
|
63
|
+
};
|
package/dist/Toast.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { defineComponent as d, resolveComponent as x, openBlock as f, createElementBlock as g, normalizeClass as r, unref as _, createVNode as a, createElementVNode as w, toDisplayString as C } from "vue";
|
|
2
|
+
import { c as b, b as t } from "./ui-BLR-4Xlv.js";
|
|
3
|
+
const E = { class: "whitespace-nowrap overflow-x-hidden overflow-ellipsis max-w-2xl" }, h = /* @__PURE__ */ d({
|
|
4
|
+
name: "TToast",
|
|
5
|
+
__name: "Toast",
|
|
6
|
+
props: {
|
|
7
|
+
message: {}
|
|
8
|
+
},
|
|
9
|
+
emits: ["close"],
|
|
10
|
+
setup(c, { emit: l }) {
|
|
11
|
+
const s = c, i = l, m = (e) => {
|
|
12
|
+
switch (e) {
|
|
13
|
+
case t.SUCCESS:
|
|
14
|
+
return "check-circle";
|
|
15
|
+
case t.WARNING:
|
|
16
|
+
return "alert-octagon";
|
|
17
|
+
case t.DANGER:
|
|
18
|
+
return "close-circle";
|
|
19
|
+
default:
|
|
20
|
+
return "info-outline";
|
|
21
|
+
}
|
|
22
|
+
}, p = (e) => {
|
|
23
|
+
switch (e) {
|
|
24
|
+
case t.SUCCESS:
|
|
25
|
+
return "text-emerald-500";
|
|
26
|
+
case t.WARNING:
|
|
27
|
+
return "text-amber-500";
|
|
28
|
+
case t.DANGER:
|
|
29
|
+
return "text-red-400";
|
|
30
|
+
default:
|
|
31
|
+
return "text-blue-500";
|
|
32
|
+
}
|
|
33
|
+
}, u = (e) => {
|
|
34
|
+
i("close", e);
|
|
35
|
+
};
|
|
36
|
+
return (e, o) => {
|
|
37
|
+
const n = x("t-icon");
|
|
38
|
+
return f(), g("div", {
|
|
39
|
+
class: r(["shadow-md fixed flex bg-stone-100 dark:bg-zinc-700 w-min z-50 rounded px-4 py-2 text-base select-none", {
|
|
40
|
+
"top-0 left-1/2 transform -translate-x-1/2": s.message.position === _(b).TOP
|
|
41
|
+
}])
|
|
42
|
+
}, [
|
|
43
|
+
a(n, {
|
|
44
|
+
icon: m(s.message.variant),
|
|
45
|
+
class: r([[p(s.message.variant)], "mr-2"]),
|
|
46
|
+
role: "button"
|
|
47
|
+
}, null, 8, ["icon", "class"]),
|
|
48
|
+
w("span", E, C(s.message.message), 1),
|
|
49
|
+
a(n, {
|
|
50
|
+
icon: "close",
|
|
51
|
+
class: "text-stone-400 ml-4",
|
|
52
|
+
role: "button",
|
|
53
|
+
onClick: o[0] || (o[0] = (N) => u(s.message.id))
|
|
54
|
+
})
|
|
55
|
+
], 2);
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
export {
|
|
60
|
+
h as _
|
|
61
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { _ as a } from "./Avatar.vue_vue_type_script_setup_true_lang-C3xje4Mr.js";
|
|
2
|
+
import { _ as p } from "./Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js";
|
|
3
|
+
import { B as m } from "./Button-Bzvqv1bQ.js";
|
|
4
|
+
import { _ as f } from "./ButtonCopy.vue_vue_type_script_setup_true_lang-C8Ndx2n_.js";
|
|
5
|
+
import { D as n } from "./Drawer-DH5EEenO.js";
|
|
6
|
+
import { _ as u } from "./Dropdown.vue_vue_type_script_setup_true_lang-CJ6tMLP5.js";
|
|
7
|
+
import { _ as l } from "./FileDrop.vue_vue_type_script_setup_true_lang-Cmrpt2_c.js";
|
|
8
|
+
import { _ as c } from "./Form.vue_vue_type_script_setup_true_lang-CgTo7ahn.js";
|
|
9
|
+
import { _ as T } from "./FormItem.vue_vue_type_script_setup_true_lang-CV5hpJ8B.js";
|
|
10
|
+
import { _ as d } from "./GraphyEmpty.vue_vue_type_script_setup_true_lang-B-hAjDCw.js";
|
|
11
|
+
import { _ as b } from "./GraphyLabel.vue_vue_type_script_setup_true_lang-dEuzASQp.js";
|
|
12
|
+
import { _ as D } from "./GraphyPrice.vue_vue_type_script_setup_true_lang-BOW4su3l.js";
|
|
13
|
+
import { _ as g } from "./GraphySubtitle.vue_vue_type_script_setup_true_lang-DtAmgZWp.js";
|
|
14
|
+
import { _ as w } from "./GraphyTitle.vue_vue_type_script_setup_true_lang-DXnrZHV2.js";
|
|
15
|
+
import { _ as S } from "./Icon.vue_vue_type_script_setup_true_lang-hxJ1wXXd.js";
|
|
16
|
+
import { _ as M } from "./IconButton.vue_vue_type_script_setup_true_lang-BDjy7ycQ.js";
|
|
17
|
+
import { _ as A } from "./InputAvatar.vue_vue_type_script_setup_true_lang-Dzq2QUAy.js";
|
|
18
|
+
import { _ as R } from "./InputCheckbox.vue_vue_type_script_setup_true_lang-B5zoxg5A.js";
|
|
19
|
+
import { _ as q } from "./InputColor.vue_vue_type_script_setup_true_lang-DunYzjId.js";
|
|
20
|
+
import { _ as H } from "./InputDate.vue_vue_type_script_setup_true_lang-DM9vaaiW.js";
|
|
21
|
+
import { _ as K } from "./InputMultiplier.vue_vue_type_script_setup_true_lang-w2RuSz1R.js";
|
|
22
|
+
import { _ as O } from "./InputPassword.vue_vue_type_script_setup_true_lang-SuGempaV.js";
|
|
23
|
+
import { _ as U } from "./InputPhone.vue_vue_type_script_setup_true_lang-BH89TX0s.js";
|
|
24
|
+
import { _ as W } from "./InputPrice.vue_vue_type_script_setup_true_lang-Zi-JuhSl.js";
|
|
25
|
+
import { _ as Y } from "./InputRadio.vue_vue_type_script_setup_true_lang-cPnYGpJ_.js";
|
|
26
|
+
import "vue";
|
|
27
|
+
import { _ as $ } from "./InputSelect.vue_vue_type_script_setup_true_lang-DSM-ClgU.js";
|
|
28
|
+
import { _ as ro } from "./InputSwitch.vue_vue_type_script_setup_true_lang-DCYkakov.js";
|
|
29
|
+
import { _ as ao } from "./InputText.vue_vue_type_script_setup_true_lang-KUUuOOlk.js";
|
|
30
|
+
import { _ as po } from "./InputTextarea.vue_vue_type_script_setup_true_lang-01amgZ6U.js";
|
|
31
|
+
import { _ as mo } from "./LineChart.vue_vue_type_script_setup_true_lang-Do8SXht4.js";
|
|
32
|
+
import { _ as fo } from "./Modal.vue_vue_type_script_setup_true_lang-DE2ySBCY.js";
|
|
33
|
+
import { _ as no } from "./ModalForm.vue_vue_type_script_setup_true_lang-VhRoRmxZ.js";
|
|
34
|
+
import { _ as uo } from "./Pagination.vue_vue_type_script_setup_true_lang-PLZQJUd0.js";
|
|
35
|
+
import { _ as lo } from "./PieChart.vue_vue_type_script_setup_true_lang-CmEDNOuk.js";
|
|
36
|
+
import { _ as co } from "./Popconfirm.vue_vue_type_script_setup_true_lang-Dy1m3j6J.js";
|
|
37
|
+
import { _ as To } from "./Popover.vue_vue_type_script_setup_true_lang-OFi2-aWk.js";
|
|
38
|
+
import { P as Co } from "./ProgressCircle-iWjZBZwm.js";
|
|
39
|
+
import { P as Bo } from "./ProgressLine-BT-YgI1t.js";
|
|
40
|
+
import { _ as Go } from "./SensitiveInfo.vue_vue_type_script_setup_true_lang-lCdRDxvZ.js";
|
|
41
|
+
import { _ as vo } from "./Tab.vue_vue_type_script_setup_true_lang-VzvYvoqa.js";
|
|
42
|
+
import { T as Fo } from "./Table-CTeoQmG3.js";
|
|
43
|
+
import { _ as Lo } from "./Tag.vue_vue_type_script_setup_true_lang-BeWozUNz.js";
|
|
44
|
+
import { _ as ko } from "./Toast.vue_vue_type_script_setup_true_lang-CpDXLnat.js";
|
|
45
|
+
export {
|
|
46
|
+
a as Avatar,
|
|
47
|
+
p as Backdrop,
|
|
48
|
+
m as Button,
|
|
49
|
+
f as ButtonCopy,
|
|
50
|
+
n as Drawer,
|
|
51
|
+
u as Dropdown,
|
|
52
|
+
l as FileDrop,
|
|
53
|
+
c as Form,
|
|
54
|
+
T as FormItem,
|
|
55
|
+
d as GraphyEmpty,
|
|
56
|
+
b as GraphyLabel,
|
|
57
|
+
D as GraphyPrice,
|
|
58
|
+
g as GraphySubtitle,
|
|
59
|
+
w as GraphyTitle,
|
|
60
|
+
S as Icon,
|
|
61
|
+
M as IconButton,
|
|
62
|
+
A as InputAvatar,
|
|
63
|
+
R as InputCheckbox,
|
|
64
|
+
q as InputColor,
|
|
65
|
+
H as InputDate,
|
|
66
|
+
K as InputMultiplier,
|
|
67
|
+
O as InputPassword,
|
|
68
|
+
U as InputPhone,
|
|
69
|
+
W as InputPrice,
|
|
70
|
+
Y as InputRadio,
|
|
71
|
+
$ as InputSelect,
|
|
72
|
+
ro as InputSwitch,
|
|
73
|
+
ao as InputText,
|
|
74
|
+
po as InputTextarea,
|
|
75
|
+
mo as LineChart,
|
|
76
|
+
fo as Modal,
|
|
77
|
+
no as ModalForm,
|
|
78
|
+
uo as Pagination,
|
|
79
|
+
lo as PieChart,
|
|
80
|
+
co as Popconfirm,
|
|
81
|
+
To as Popover,
|
|
82
|
+
Co as ProgressCircle,
|
|
83
|
+
Bo as ProgressLine,
|
|
84
|
+
Go as SensitiveInfo,
|
|
85
|
+
vo as Tab,
|
|
86
|
+
Fo as Table,
|
|
87
|
+
Lo as Tag,
|
|
88
|
+
ko as Toast
|
|
89
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ref as n } from "vue";
|
|
2
|
+
import { u as w } from "./useRender-D8PeooXE.js";
|
|
3
|
+
const a = 640, u = 768, l = 1024, e = n(window.innerWidth), t = n(!1), o = n(!1), r = n(!1), i = (s) => {
|
|
4
|
+
e.value = s ? s.target.innerWidth : window.innerWidth, t.value = e.value >= a, o.value = e.value >= u, r.value = e.value >= l;
|
|
5
|
+
};
|
|
6
|
+
window.addEventListener("resize", i);
|
|
7
|
+
function c() {
|
|
8
|
+
return i(), {
|
|
9
|
+
sm: t,
|
|
10
|
+
md: o,
|
|
11
|
+
lg: r
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
c as useBreakpoints,
|
|
16
|
+
w as useRender
|
|
17
|
+
};
|