@caipira/tamandua 0.0.1 → 0.0.3
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 +4 -0
- package/dist/account-BJGxzbeL.js +5 -0
- package/dist/alert-octagon-D8wznooU.js +4 -0
- package/dist/alert-octagon-outline-fM2QVbyq.js +5 -0
- package/dist/archive-DDuuzVUo.js +5 -0
- package/dist/archive-outline-BT6uCRX5.js +5 -0
- package/dist/arrow-left-CVipcGWo.js +5 -0
- package/dist/arrow-right-DHFo5L72.js +5 -0
- package/dist/bank-lwoR1P6d.js +5 -0
- package/dist/bank-outline-wy0O9ni0.js +5 -0
- package/dist/camera-BXoPauop.js +5 -0
- package/dist/cards-outline-B0no8Z63.js +5 -0
- package/dist/cards-variant-CU6V8mdM.js +5 -0
- package/dist/cart-outline-C99s8OpS.js +4 -0
- package/dist/chart-box-outline-C9ymwfIH.js +5 -0
- package/dist/chart-box-tyepg_QH.js +5 -0
- package/dist/check-circle-C3Kf7DnE.js +5 -0
- package/dist/check-circle-outline-B4zmPfuc.js +5 -0
- package/dist/check-iUT-FuWa.js +5 -0
- package/dist/checkbox-TojXdFTq.js +5 -0
- package/dist/checkbox-dark-D_btgwCX.js +5 -0
- package/dist/checkbox-indeterminate-CtbmyFkw.js +5 -0
- package/dist/checkbox-indeterminate-dark-CSrkJBRG.js +5 -0
- package/dist/chevron-down-CJLshITY.js +5 -0
- package/dist/chevron-left-n_sGCmlG.js +5 -0
- package/dist/chevron-right-C8uLqjmq.js +5 -0
- package/dist/chevron-up-b6VdQM8S.js +5 -0
- package/dist/circle-DhoEDuC5.js +5 -0
- package/dist/clock-BqMI2OIG.js +5 -0
- package/dist/close-DemH4JAO.js +5 -0
- package/dist/close-circle-Bsf9_pUR.js +4 -0
- package/dist/close-circle-outline-CUXfYV4M.js +5 -0
- package/dist/cog-Dd9I6z5D.js +5 -0
- package/dist/color-fill-DWx77G0p.js +5 -0
- package/dist/components/Avatar/Avatar.story.d.ts +9 -0
- package/dist/components/Avatar/Avatar.vue.d.ts +58 -0
- package/dist/components/Avatar/index.d.ts +6 -0
- package/dist/components/Backdrop/Backdrop.vue.d.ts +33 -0
- package/dist/components/Backdrop/index.d.ts +6 -0
- package/dist/components/Button/Button.story.d.ts +70 -0
- package/dist/components/Button/Button.vue.d.ts +153 -0
- package/dist/components/Button/index.d.ts +6 -0
- package/dist/components/ButtonCopy/ButtonCopy.vue.d.ts +32 -0
- package/dist/components/ButtonCopy/index.d.ts +6 -0
- package/dist/components/Drawer/Drawer.vue.d.ts +67 -0
- package/dist/components/Drawer/index.d.ts +6 -0
- package/dist/components/Dropdown/Dropdown.vue.d.ts +117 -0
- package/dist/components/Dropdown/index.d.ts +6 -0
- package/dist/components/EventListener/EventListener.vue.d.ts +6 -0
- package/dist/components/FileDrop/FileDrop.vue.d.ts +40 -0
- package/dist/components/FileDrop/index.d.ts +6 -0
- package/dist/components/Form/Form.spec.d.ts +1 -0
- package/dist/components/Form/Form.vue.d.ts +111 -0
- package/dist/components/Form/index.d.ts +6 -0
- package/dist/components/FormItem/FormItem.vue.d.ts +41 -0
- package/dist/components/FormItem/index.d.ts +6 -0
- package/dist/components/GraphyEmpty/GraphyEmpty.vue.d.ts +23 -0
- package/dist/components/GraphyEmpty/index.d.ts +6 -0
- package/dist/components/GraphyLabel/GraphyLabel.vue.d.ts +43 -0
- package/dist/components/GraphyLabel/index.d.ts +6 -0
- package/dist/components/GraphyPrice/GraphyPrice.story.d.ts +6 -0
- package/dist/components/GraphyPrice/GraphyPrice.vue.d.ts +45 -0
- package/dist/components/GraphyPrice/index.d.ts +6 -0
- package/dist/components/GraphySubtitle/GraphySubtitle.vue.d.ts +31 -0
- package/dist/components/GraphySubtitle/index.d.ts +6 -0
- package/dist/components/GraphyTitle/GraphyTitle.vue.d.ts +15 -0
- package/dist/components/GraphyTitle/index.d.ts +6 -0
- package/dist/components/Icon/Icon.vue.d.ts +40 -0
- package/dist/components/Icon/index.d.ts +6 -0
- package/dist/components/IconButton/IconButton.vue.d.ts +153 -0
- package/dist/components/IconButton/index.d.ts +6 -0
- package/dist/components/InputAvatar/InputAvatar.vue.d.ts +19 -0
- package/dist/components/InputAvatar/index.d.ts +6 -0
- package/dist/components/InputCheckbox/InputCheckbox.vue.d.ts +52 -0
- package/dist/components/InputCheckbox/index.d.ts +6 -0
- package/dist/components/InputColor/InputColor.vue.d.ts +40 -0
- package/dist/components/InputColor/index.d.ts +6 -0
- package/dist/components/InputDate/InputDate.story.d.ts +6 -0
- package/dist/components/InputDate/InputDate.vue.d.ts +23 -0
- package/dist/components/InputDate/index.d.ts +6 -0
- package/dist/components/InputMultiplier/InputMultiplier.vue.d.ts +41 -0
- package/dist/components/InputMultiplier/index.d.ts +6 -0
- package/dist/components/InputMultiplier/input-multiplier.story.d.ts +19 -0
- package/dist/components/InputMultiplier/types.d.ts +15 -0
- package/dist/components/InputPassword/InputPassword.vue.d.ts +68 -0
- package/dist/components/InputPassword/index.d.ts +6 -0
- package/dist/components/InputPhone/InputPhone.vue.d.ts +40 -0
- package/dist/components/InputPhone/index.d.ts +6 -0
- package/dist/components/InputPrice/InputPrice.vue.d.ts +39 -0
- package/dist/components/InputPrice/index.d.ts +6 -0
- package/dist/components/InputRadio/InputRadio.vue.d.ts +17 -0
- package/dist/components/InputRadio/InputRadioGroup.story.d.ts +7 -0
- package/dist/components/InputRadio/InputRadioGroup.vue.d.ts +44 -0
- package/dist/components/InputRadio/index.d.ts +7 -0
- package/dist/components/InputSelect/InputSelect.story.d.ts +6 -0
- package/dist/components/InputSelect/InputSelect.vue.d.ts +116 -0
- package/dist/components/InputSelect/index.d.ts +6 -0
- package/dist/components/InputSwitch/InputSwitch.story.d.ts +29 -0
- package/dist/components/InputSwitch/InputSwitch.vue.d.ts +40 -0
- package/dist/components/InputSwitch/index.d.ts +6 -0
- package/dist/components/InputText/InputText.vue.d.ts +60 -0
- package/dist/components/InputText/index.d.ts +6 -0
- package/dist/components/InputTextarea/InputTextarea.vue.d.ts +50 -0
- package/dist/components/InputTextarea/index.d.ts +6 -0
- package/dist/components/LineChart/LineChart.vue.d.ts +17 -0
- package/dist/components/LineChart/index.d.ts +6 -0
- package/dist/components/Modal/Modal.vue.d.ts +70 -0
- package/dist/components/Modal/index.d.ts +6 -0
- package/dist/components/ModalForm/ModalForm.vue.d.ts +53 -0
- package/dist/components/ModalForm/index.d.ts +6 -0
- package/dist/components/Pagination/Pagination.story.d.ts +5 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +50 -0
- package/dist/components/Pagination/index.d.ts +6 -0
- package/dist/components/PieChart/PieChart.vue.d.ts +17 -0
- package/dist/components/PieChart/index.d.ts +6 -0
- package/dist/components/Popconfirm/Popconfirm.vue.d.ts +49 -0
- package/dist/components/Popconfirm/index.d.ts +6 -0
- package/dist/components/Popover/Popover.vue.d.ts +68 -0
- package/dist/components/Popover/index.d.ts +6 -0
- package/dist/components/ProgressCircle/ProgressCircle.story.d.ts +5 -0
- package/dist/components/ProgressCircle/ProgressCircle.vue.d.ts +56 -0
- package/dist/components/ProgressCircle/index.d.ts +6 -0
- package/dist/components/ProgressLine/ProgressLine.story.d.ts +5 -0
- package/dist/components/ProgressLine/ProgressLine.vue.d.ts +75 -0
- package/dist/components/ProgressLine/index.d.ts +6 -0
- package/dist/components/SensitiveInfo/SensitiveInfo.vue.d.ts +22 -0
- package/dist/components/SensitiveInfo/index.d.ts +6 -0
- package/dist/components/Tab/Tab.vue.d.ts +36 -0
- package/dist/components/Tab/index.d.ts +6 -0
- package/dist/components/Table/Table.story.d.ts +5 -0
- package/dist/components/Table/Table.vue.d.ts +97 -0
- package/dist/components/Table/index.d.ts +6 -0
- package/dist/components/Table/types.d.ts +13 -0
- package/dist/components/Tag/Tag.vue.d.ts +54 -0
- package/dist/components/Tag/index.d.ts +6 -0
- package/dist/components/Tag/types.d.ts +14 -0
- package/dist/components/Toast/Toast.vue.d.ts +21 -0
- package/dist/components/Toast/index.d.ts +6 -0
- package/dist/components/index.d.ts +43 -0
- package/dist/components/plugins.d.ts +45 -0
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/useBreakpoints.d.ts +5 -0
- package/dist/composables/useRender.d.ts +3 -0
- package/dist/copy-D-Dqxp8h.js +5 -0
- package/dist/credit-card-B3VjoUad.js +5 -0
- package/dist/credit-card-plus-TUZq5Zi0.js +4 -0
- package/dist/currency-BuSji4qA.js +5 -0
- package/dist/database-CNG_l2Or.js +5 -0
- package/dist/dots-grid-BhRGZg1t.js +5 -0
- package/dist/dots-vertical-nYIDxlT1.js +5 -0
- package/dist/email-open-outline-NlRAK8vu.js +5 -0
- package/dist/email-outline-v-beMKo_.js +5 -0
- package/dist/enums/app.d.ts +5 -0
- package/dist/enums/form.d.ts +23 -0
- package/dist/enums/index.d.ts +3 -0
- package/{enums/ui.ts → dist/enums/ui.d.ts} +16 -30
- package/dist/eye-C7_UM0rn.js +5 -0
- package/dist/eye-off-Dq2WOPSG.js +5 -0
- package/dist/file-document-plus-outline-C_GeG8ak.js +5 -0
- package/dist/filmstrip-Dg66xHap.js +4 -0
- package/dist/filter-07gM0IrM.js +5 -0
- package/dist/form/convertors.d.ts +3 -0
- package/dist/form/crud.d.ts +27 -0
- package/dist/form/form-data-transformers.d.ts +4 -0
- package/dist/form/form-transformer.d.ts +7 -0
- package/dist/form/form-value-transformers.d.ts +8 -0
- package/dist/form/form.test.d.ts +1 -0
- package/dist/form/json-transformers.d.ts +4 -0
- package/dist/fullscreen-daZRwm-1.js +5 -0
- package/dist/fullscreen-exit-DvHy2f8E.js +5 -0
- package/dist/group-B1HQcmCl.js +5 -0
- package/dist/i18n.d.ts +15 -0
- package/dist/image-C-DY_SfK.js +5 -0
- package/dist/image-album-DVl72ioK.js +5 -0
- package/dist/image-album-outline-oiPipPnp.js +5 -0
- package/dist/image-outline-CLpFyr7w.js +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/info-outline-Mn6Hjz_K.js +5 -0
- package/dist/key-B8iEXxGx.js +5 -0
- package/dist/key-chain-D-8-GrU2.js +5 -0
- package/dist/key-variant-DViBRFAJ.js +5 -0
- package/dist/listbox-outline-BBriTS-r.js +5 -0
- package/dist/loading-E4eFmVsP.js +5 -0
- package/dist/lock-Nv-e-b24.js +5 -0
- package/dist/lock-outline-K2LxC2b6.js +5 -0
- package/dist/logout-BHwFpuou.js +5 -0
- package/dist/menu-down-B4Fy5IG1.js +4 -0
- package/dist/menu-left-D8G3frKt.js +4 -0
- package/dist/menu-pq7WWaJu.js +5 -0
- package/dist/menu-right-CMt4thJ2.js +4 -0
- package/dist/minus-CSCkQnOm.js +5 -0
- package/dist/minus-circle-D_N5NZW-.js +5 -0
- package/dist/minus-circle-outline-B-x6EXPD.js +5 -0
- package/dist/moon-Bhm_ZTV6.js +5 -0
- package/dist/open-in-new-C2Btl_1k.js +5 -0
- package/dist/pencil-BETebgXX.js +5 -0
- package/dist/people-BUW1DRzH.js +5 -0
- package/dist/piggy-bank-outline-5cDQNrSU.js +5 -0
- package/dist/plugins/register-component.d.ts +4 -0
- package/dist/plus-circle-Cl0YprEp.js +5 -0
- package/dist/plus-circle-outline-C-kkX0ke.js +5 -0
- package/dist/plus-sbcOm60H.js +5 -0
- package/dist/qrcode-scan-CpLrVFw_.js +5 -0
- package/dist/radio-DkjVAhsO.js +5 -0
- package/dist/radio-dark-Cr5v17AF.js +5 -0
- package/dist/refresh-DPlMWd1M.js +5 -0
- package/dist/save-BmMH4S8b.js +4 -0
- package/dist/search-Co2MwWOK.js +5 -0
- package/dist/services/clipboard.d.ts +2 -0
- package/dist/services/date.d.ts +16 -0
- package/dist/services/password.d.ts +7 -0
- package/dist/services/ui.d.ts +9 -0
- package/dist/spotlight-TNyCQzOY.js +4 -0
- package/dist/store-outline-B-fuVZzv.js +5 -0
- package/dist/style.css +1 -0
- package/dist/sun-BWKjCEHH.js +5 -0
- package/dist/swap-CNbqKTl0.js +5 -0
- package/dist/swap-horizontal-DociZUG2.js +5 -0
- package/dist/swap-left-Bd2DOgf3.js +5 -0
- package/dist/swap-right-D0VYxBDb.js +5 -0
- package/dist/system-theme-Cez6mSv_.js +5 -0
- package/dist/tag-outline-Ce_qOxif.js +5 -0
- package/dist/tamandua.js +15370 -0
- package/dist/trash-can-CKPtMqSf.js +5 -0
- package/dist/trash-can-outline-DjtqZHOC.js +5 -0
- package/{types/address.ts → dist/types/address.d.ts} +0 -5
- package/{types/api.ts → dist/types/api.d.ts} +0 -4
- package/{types/common.ts → dist/types/common.d.ts} +0 -1
- package/{types/form.ts → dist/types/form.d.ts} +37 -67
- package/dist/types/index.d.ts +5 -0
- package/{types/ui.ts → dist/types/ui.d.ts} +11 -16
- package/{types/website.ts → dist/types/website.d.ts} +0 -1
- package/dist/upload-CKfrBexU.js +5 -0
- package/dist/user-circle-D102n1FB.js +5 -0
- package/dist/vite.config.d.mts +2 -0
- package/dist/vitest.setup.d.ts +1 -0
- package/dist/zip-box-C10560VY.js +5 -0
- package/package.json +17 -6
- package/.editorconfig +0 -12
- package/.prettierrc +0 -5
- package/.storybook/main.ts +0 -25
- package/.storybook/preview-body.html +0 -3
- package/.storybook/preview.ts +0 -24
- package/App.vue +0 -1
- package/Dockerfile +0 -21
- package/assets/icons/account.svg +0 -1
- package/assets/icons/alert-octagon-outline.svg +0 -1
- package/assets/icons/alert-octagon.svg +0 -1
- package/assets/icons/archive-outline.svg +0 -1
- package/assets/icons/archive.svg +0 -1
- package/assets/icons/arrow-left.svg +0 -1
- package/assets/icons/arrow-right.svg +0 -1
- package/assets/icons/bank-outline.svg +0 -1
- package/assets/icons/bank.svg +0 -1
- package/assets/icons/camera.svg +0 -1
- package/assets/icons/cards-outline.svg +0 -1
- package/assets/icons/cards-variant.svg +0 -1
- package/assets/icons/cart-outline.svg +0 -1
- package/assets/icons/chart-box-outline.svg +0 -1
- package/assets/icons/chart-box.svg +0 -1
- package/assets/icons/check-circle-outline.svg +0 -1
- package/assets/icons/check-circle.svg +0 -1
- package/assets/icons/check.svg +0 -1
- package/assets/icons/checkbox-dark.svg +0 -1
- package/assets/icons/checkbox-indeterminate-dark.svg +0 -1
- package/assets/icons/checkbox-indeterminate.svg +0 -1
- package/assets/icons/checkbox.svg +0 -1
- package/assets/icons/chevron-down.svg +0 -1
- package/assets/icons/chevron-left.svg +0 -1
- package/assets/icons/chevron-right.svg +0 -1
- package/assets/icons/chevron-up.svg +0 -1
- package/assets/icons/circle.svg +0 -1
- package/assets/icons/clock.svg +0 -1
- package/assets/icons/close-circle-outline.svg +0 -1
- package/assets/icons/close-circle.svg +0 -1
- package/assets/icons/close.svg +0 -1
- package/assets/icons/cog.svg +0 -1
- package/assets/icons/color-fill.svg +0 -1
- package/assets/icons/copy.svg +0 -1
- package/assets/icons/credit-card-plus.svg +0 -1
- package/assets/icons/credit-card.svg +0 -1
- package/assets/icons/currency.svg +0 -1
- package/assets/icons/database.svg +0 -1
- package/assets/icons/dots-grid.svg +0 -1
- package/assets/icons/dots-vertical.svg +0 -1
- package/assets/icons/email-open-outline.svg +0 -1
- package/assets/icons/email-outline.svg +0 -1
- package/assets/icons/eye-off.svg +0 -1
- package/assets/icons/eye.svg +0 -1
- package/assets/icons/file-document-plus-outline.svg +0 -1
- package/assets/icons/filmstrip.svg +0 -1
- package/assets/icons/filter.svg +0 -1
- package/assets/icons/fullscreen-exit.svg +0 -1
- package/assets/icons/fullscreen.svg +0 -1
- package/assets/icons/group.svg +0 -1
- package/assets/icons/image-album-outline.svg +0 -1
- package/assets/icons/image-album.svg +0 -1
- package/assets/icons/image-outline.svg +0 -1
- package/assets/icons/image.svg +0 -1
- package/assets/icons/info-outline.svg +0 -1
- package/assets/icons/key-chain.svg +0 -1
- package/assets/icons/key-variant.svg +0 -1
- package/assets/icons/key.svg +0 -1
- package/assets/icons/listbox-outline.svg +0 -1
- package/assets/icons/loading.svg +0 -1
- package/assets/icons/lock-outline.svg +0 -1
- package/assets/icons/lock.svg +0 -1
- package/assets/icons/logout.svg +0 -1
- package/assets/icons/menu-down.svg +0 -1
- package/assets/icons/menu-left.svg +0 -1
- package/assets/icons/menu-right.svg +0 -1
- package/assets/icons/menu.svg +0 -1
- package/assets/icons/minus-circle-outline.svg +0 -1
- package/assets/icons/minus-circle.svg +0 -1
- package/assets/icons/minus.svg +0 -1
- package/assets/icons/moon.svg +0 -1
- package/assets/icons/open-in-new.svg +0 -1
- package/assets/icons/pencil.svg +0 -1
- package/assets/icons/people.svg +0 -1
- package/assets/icons/piggy-bank-outline.svg +0 -1
- package/assets/icons/plus-circle-outline.svg +0 -1
- package/assets/icons/plus-circle.svg +0 -1
- package/assets/icons/plus.svg +0 -1
- package/assets/icons/qrcode-scan.svg +0 -1
- package/assets/icons/radio-dark.svg +0 -1
- package/assets/icons/radio.svg +0 -1
- package/assets/icons/refresh.svg +0 -1
- package/assets/icons/save.svg +0 -1
- package/assets/icons/search.svg +0 -1
- package/assets/icons/spotlight.svg +0 -1
- package/assets/icons/store-outline.svg +0 -1
- package/assets/icons/sun.svg +0 -1
- package/assets/icons/swap-horizontal.svg +0 -1
- package/assets/icons/swap-left.svg +0 -1
- package/assets/icons/swap-right.svg +0 -1
- package/assets/icons/swap.svg +0 -1
- package/assets/icons/system-theme.svg +0 -1
- package/assets/icons/tag-outline.svg +0 -1
- package/assets/icons/trash-can-outline.svg +0 -1
- package/assets/icons/trash-can.svg +0 -1
- package/assets/icons/upload.svg +0 -1
- package/assets/icons/user-circle.svg +0 -1
- package/assets/icons/zip-box.svg +0 -1
- package/assets/images/fs/apk.svg +0 -11
- package/assets/images/fs/bmp.svg +0 -7
- package/assets/images/fs/css.svg +0 -8
- package/assets/images/fs/doc.svg +0 -9
- package/assets/images/fs/docx.svg +0 -9
- package/assets/images/fs/folder-adwaita.svg +0 -8
- package/assets/images/fs/folder-black.svg +0 -8
- package/assets/images/fs/folder-brown.svg +0 -8
- package/assets/images/fs/folder-grey.svg +0 -8
- package/assets/images/fs/folder-nordic.svg +0 -8
- package/assets/images/fs/folder-orange.svg +0 -8
- package/assets/images/fs/folder-palebrown.svg +0 -8
- package/assets/images/fs/folder-paleorange.svg +0 -8
- package/assets/images/fs/folder-teal.svg +0 -8
- package/assets/images/fs/folder-white.svg +0 -8
- package/assets/images/fs/folder-yellow.svg +0 -8
- package/assets/images/fs/gif.svg +0 -7
- package/assets/images/fs/go.svg +0 -9
- package/assets/images/fs/ics.svg +0 -24
- package/assets/images/fs/iso.svg +0 -10
- package/assets/images/fs/jpeg.svg +0 -7
- package/assets/images/fs/jpg.svg +0 -7
- package/assets/images/fs/js.svg +0 -9
- package/assets/images/fs/json.svg +0 -9
- package/assets/images/fs/lua.svg +0 -9
- package/assets/images/fs/m4v.svg +0 -7
- package/assets/images/fs/md.svg +0 -10
- package/assets/images/fs/mov.svg +0 -7
- package/assets/images/fs/mp3.svg +0 -9
- package/assets/images/fs/mp4.svg +0 -7
- package/assets/images/fs/pdf.svg +0 -9
- package/assets/images/fs/pgp.svg +0 -8
- package/assets/images/fs/php.svg +0 -9
- package/assets/images/fs/png.svg +0 -7
- package/assets/images/fs/ppt.svg +0 -9
- package/assets/images/fs/py.svg +0 -9
- package/assets/images/fs/rar.svg +0 -20
- package/assets/images/fs/rpm.svg +0 -7
- package/assets/images/fs/rs.svg +0 -9
- package/assets/images/fs/sh.svg +0 -9
- package/assets/images/fs/tar.svg +0 -20
- package/assets/images/fs/txt.svg +0 -8
- package/assets/images/fs/unknown.svg +0 -8
- package/assets/images/fs/xls.svg +0 -9
- package/assets/images/fs/xlsx.svg +0 -9
- package/assets/images/fs/xml.svg +0 -8
- package/assets/images/fs/yaml.svg +0 -9
- package/assets/images/fs/zip.svg +0 -20
- package/components/Avatar/Avatar.story.ts +0 -55
- package/components/Avatar/Avatar.vue +0 -82
- package/components/Avatar/index.ts +0 -12
- package/components/Backdrop/Backdrop.vue +0 -27
- package/components/Backdrop/index.ts +0 -12
- package/components/Button/Button.story.ts +0 -74
- package/components/Button/Button.vue +0 -230
- package/components/Button/index.ts +0 -12
- package/components/ButtonCopy/ButtonCopy.vue +0 -61
- package/components/ButtonCopy/index.ts +0 -12
- package/components/Drawer/Drawer.vue +0 -102
- package/components/Drawer/index.ts +0 -12
- package/components/Dropdown/Dropdown.vue +0 -258
- package/components/Dropdown/index.ts +0 -12
- package/components/EventListener/EventListener.vue +0 -12
- package/components/FileDrop/FileDrop.vue +0 -116
- package/components/FileDrop/index.ts +0 -12
- package/components/Form/Form.spec.ts +0 -72
- package/components/Form/Form.vue +0 -134
- package/components/Form/index.ts +0 -12
- package/components/FormItem/FormItem.vue +0 -85
- package/components/FormItem/index.ts +0 -12
- package/components/GraphyEmpty/GraphyEmpty.vue +0 -16
- package/components/GraphyEmpty/index.ts +0 -12
- package/components/GraphyLabel/GraphyLabel.vue +0 -34
- package/components/GraphyLabel/index.ts +0 -12
- package/components/GraphyPrice/GraphyPrice.story.ts +0 -37
- package/components/GraphyPrice/GraphyPrice.vue +0 -65
- package/components/GraphyPrice/index.ts +0 -12
- package/components/GraphySubtitle/GraphySubtitle.vue +0 -22
- package/components/GraphySubtitle/index.ts +0 -12
- package/components/GraphyTitle/GraphyTitle.vue +0 -13
- package/components/GraphyTitle/index.ts +0 -12
- package/components/Icon/Icon.vue +0 -84
- package/components/Icon/index.ts +0 -12
- package/components/IconButton/IconButton.vue +0 -168
- package/components/IconButton/index.ts +0 -12
- package/components/InputAvatar/InputAvatar.vue +0 -63
- package/components/InputAvatar/index.ts +0 -12
- package/components/InputCheckbox/InputCheckbox.vue +0 -77
- package/components/InputCheckbox/index.ts +0 -12
- package/components/InputColor/InputColor.vue +0 -54
- package/components/InputColor/index.ts +0 -12
- package/components/InputDate/InputDate.story.ts +0 -15
- package/components/InputDate/InputDate.vue +0 -368
- package/components/InputDate/index.ts +0 -12
- package/components/InputMultiplier/InputMultiplier.vue +0 -144
- package/components/InputMultiplier/index.ts +0 -12
- package/components/InputPassword/InputPassword.vue +0 -168
- package/components/InputPassword/index.ts +0 -12
- package/components/InputPhone/InputPhone.vue +0 -125
- package/components/InputPhone/index.ts +0 -12
- package/components/InputPrice/InputPrice.vue +0 -96
- package/components/InputPrice/index.ts +0 -12
- package/components/InputRadio/InputRadio.vue +0 -41
- package/components/InputRadio/InputRadioGroup.story.ts +0 -24
- package/components/InputRadio/InputRadioGroup.vue +0 -48
- package/components/InputRadio/index.ts +0 -14
- package/components/InputSelect/InputSelect.story.ts +0 -87
- package/components/InputSelect/InputSelect.vue +0 -507
- package/components/InputSelect/index.ts +0 -12
- package/components/InputSwitch/InputSwitch.story.ts +0 -34
- package/components/InputSwitch/InputSwitch.vue +0 -82
- package/components/InputSwitch/index.ts +0 -12
- package/components/InputText/InputText.vue +0 -62
- package/components/InputText/index.ts +0 -12
- package/components/InputTextarea/InputTextarea.vue +0 -64
- package/components/InputTextarea/index.ts +0 -12
- package/components/LineChart/LineChart.vue +0 -14
- package/components/LineChart/index.ts +0 -12
- package/components/Modal/Modal.vue +0 -106
- package/components/Modal/index.ts +0 -12
- package/components/ModalForm/ModalForm.vue +0 -141
- package/components/ModalForm/index.ts +0 -12
- package/components/Pagination/Pagination.story.ts +0 -15
- package/components/Pagination/Pagination.vue +0 -138
- package/components/Pagination/index.ts +0 -12
- package/components/PieChart/PieChart.vue +0 -14
- package/components/PieChart/index.ts +0 -12
- package/components/Popconfirm/Popconfirm.vue +0 -80
- package/components/Popconfirm/index.ts +0 -12
- package/components/Popover/Popover.vue +0 -133
- package/components/Popover/index.ts +0 -12
- package/components/ProgressCircle/ProgressCircle.story.ts +0 -31
- package/components/ProgressCircle/ProgressCircle.vue +0 -82
- package/components/ProgressCircle/index.ts +0 -12
- package/components/ProgressLine/ProgressLine.story.ts +0 -27
- package/components/ProgressLine/ProgressLine.vue +0 -104
- package/components/ProgressLine/index.ts +0 -12
- package/components/SensitiveInfo/SensitiveInfo.vue +0 -18
- package/components/SensitiveInfo/index.ts +0 -12
- package/components/Tab/Tab.vue +0 -58
- package/components/Tab/index.ts +0 -12
- package/components/Table/Table.story.ts +0 -32
- package/components/Table/Table.vue +0 -318
- package/components/Table/index.ts +0 -12
- package/components/Tag/Tag.vue +0 -73
- package/components/Tag/index.ts +0 -12
- package/components/Toast/Toast.vue +0 -75
- package/components/Toast/index.ts +0 -12
- package/components/index.ts +0 -43
- package/components/plugins.ts +0 -89
- package/composables/index.ts +0 -2
- package/composables/useBreakpoints.ts +0 -30
- package/composables/useRender.ts +0 -29
- package/entrypoint.sh +0 -19
- package/enums/app.ts +0 -5
- package/enums/form.ts +0 -25
- package/env.d.ts +0 -8
- package/i18n.ts +0 -20
- package/index.css +0 -383
- package/index.html +0 -22
- package/index.ts +0 -14
- package/main.ts +0 -31
- package/plugins/register-component.ts +0 -5
- package/postcss.config.js +0 -6
- package/services/clipboard.ts +0 -5
- package/services/date.ts +0 -27
- package/services/form/crud.ts +0 -109
- package/services/form/form-data-transformers.ts +0 -148
- package/services/form/form-json-transformers.ts +0 -91
- package/services/form/form-transformer.ts +0 -54
- package/services/form/form-value-transformers.ts +0 -35
- package/services/form/form.test.ts +0 -98
- package/services/form/form.ts +0 -80
- package/services/password.ts +0 -309
- package/services/ui.ts +0 -43
- package/tailwind.config.js +0 -16
- package/tsconfig.json +0 -23
- package/types/index.ts +0 -5
- package/vite.config.mts +0 -38
- package/vitest.setup.ts +0 -21
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Message } from '../../types/ui';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
message: Message;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
close: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
message: Message;
|
|
9
|
+
}>>> & {
|
|
10
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export * from './Avatar';
|
|
2
|
+
export * from './Backdrop';
|
|
3
|
+
export * from './Button';
|
|
4
|
+
export * from './ButtonCopy';
|
|
5
|
+
export * from './Drawer';
|
|
6
|
+
export * from './Dropdown';
|
|
7
|
+
export * from './FileDrop';
|
|
8
|
+
export * from './Form';
|
|
9
|
+
export * from './FormItem';
|
|
10
|
+
export * from './GraphyEmpty';
|
|
11
|
+
export * from './GraphyLabel';
|
|
12
|
+
export * from './GraphyPrice';
|
|
13
|
+
export * from './GraphySubtitle';
|
|
14
|
+
export * from './GraphyTitle';
|
|
15
|
+
export * from './Icon';
|
|
16
|
+
export * from './IconButton';
|
|
17
|
+
export * from './InputAvatar';
|
|
18
|
+
export * from './InputCheckbox';
|
|
19
|
+
export * from './InputColor';
|
|
20
|
+
export * from './InputDate';
|
|
21
|
+
export * from './InputMultiplier';
|
|
22
|
+
export * from './InputPassword';
|
|
23
|
+
export * from './InputPhone';
|
|
24
|
+
export * from './InputPrice';
|
|
25
|
+
export * from './InputRadio';
|
|
26
|
+
export * from './InputSelect';
|
|
27
|
+
export * from './InputSwitch';
|
|
28
|
+
export * from './InputText';
|
|
29
|
+
export * from './InputTextarea';
|
|
30
|
+
export * from './LineChart';
|
|
31
|
+
export * from './Modal';
|
|
32
|
+
export * from './ModalForm';
|
|
33
|
+
export * from './Pagination';
|
|
34
|
+
export * from './PieChart';
|
|
35
|
+
export * from './Popconfirm';
|
|
36
|
+
export * from './Popover';
|
|
37
|
+
export * from './ProgressCircle';
|
|
38
|
+
export * from './ProgressLine';
|
|
39
|
+
export * from './SensitiveInfo';
|
|
40
|
+
export * from './Tab';
|
|
41
|
+
export * from './Table';
|
|
42
|
+
export * from './Tag';
|
|
43
|
+
export * from './Toast';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { default as Toast } from './Toast';
|
|
2
|
+
import { default as Tag } from './Tag';
|
|
3
|
+
import { default as Table } from './Table';
|
|
4
|
+
import { default as Tab } from './Tab';
|
|
5
|
+
import { default as SensitiveInfo } from './SensitiveInfo';
|
|
6
|
+
import { default as ProgressLine } from './ProgressLine';
|
|
7
|
+
import { default as ProgressCircle } from './ProgressCircle';
|
|
8
|
+
import { default as Popover } from './Popover';
|
|
9
|
+
import { default as Popconfirm } from './Popconfirm';
|
|
10
|
+
import { default as PieChart } from './PieChart';
|
|
11
|
+
import { default as Pagination } from './Pagination';
|
|
12
|
+
import { default as ModalForm } from './ModalForm';
|
|
13
|
+
import { default as Modal } from './Modal';
|
|
14
|
+
import { default as LineChart } from './LineChart';
|
|
15
|
+
import { default as InputTextarea } from './InputTextarea';
|
|
16
|
+
import { default as InputText } from './InputText';
|
|
17
|
+
import { default as InputSwitch } from './InputSwitch';
|
|
18
|
+
import { default as InputSelect } from './InputSelect';
|
|
19
|
+
import { default as InputRadio } from './InputRadio';
|
|
20
|
+
import { default as InputPrice } from './InputPrice';
|
|
21
|
+
import { default as InputPhone } from './InputPhone';
|
|
22
|
+
import { default as InputPassword } from './InputPassword';
|
|
23
|
+
import { default as InputMultiplier } from './InputMultiplier';
|
|
24
|
+
import { default as InputDate } from './InputDate';
|
|
25
|
+
import { default as InputColor } from './InputColor';
|
|
26
|
+
import { default as InputCheckbox } from './InputCheckbox';
|
|
27
|
+
import { default as InputAvatar } from './InputAvatar';
|
|
28
|
+
import { default as IconButton } from './IconButton';
|
|
29
|
+
import { default as Icon } from './Icon';
|
|
30
|
+
import { default as GraphyTitle } from './GraphyTitle';
|
|
31
|
+
import { default as GraphySubtitle } from './GraphySubtitle';
|
|
32
|
+
import { default as GraphyPrice } from './GraphyPrice';
|
|
33
|
+
import { default as GraphyLabel } from './GraphyLabel';
|
|
34
|
+
import { default as GraphyEmpty } from './GraphyEmpty';
|
|
35
|
+
import { default as FormItem } from './FormItem';
|
|
36
|
+
import { default as Form } from './Form';
|
|
37
|
+
import { default as FileDrop } from './FileDrop';
|
|
38
|
+
import { default as Dropdown } from './Dropdown';
|
|
39
|
+
import { default as Drawer } from './Drawer';
|
|
40
|
+
import { default as ButtonCopy } from './ButtonCopy';
|
|
41
|
+
import { default as Button } from './Button';
|
|
42
|
+
import { default as Backdrop } from './Backdrop';
|
|
43
|
+
import { default as Avatar } from './Avatar';
|
|
44
|
+
|
|
45
|
+
export { Avatar, Backdrop, Button, ButtonCopy, Drawer, Dropdown, FileDrop, Form, FormItem, GraphyEmpty, GraphyLabel, GraphyPrice, GraphySubtitle, GraphyTitle, Icon, IconButton, InputAvatar, InputCheckbox, InputColor, InputDate, InputMultiplier, InputPassword, InputPhone, InputPrice, InputRadio, InputSelect, InputSwitch, InputText, InputTextarea, LineChart, Modal, ModalForm, Pagination, PieChart, Popconfirm, Popover, ProgressCircle, ProgressLine, SensitiveInfo, Tab, Table, Tag, Toast, };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const v = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h9.09a5.47 5.47 0 0 1-.09-1 6 6 0 0 1 6-6 5.88 5.88 0 0 1 3 .81V6a2 2 0 0 0-2-2m0 7H4V8h16m0 7v3h3v2h-3v3h-2v-3h-3v-2h3v-3Z"/></svg>';
|
|
2
|
+
export {
|
|
3
|
+
v as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const c = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 15h2c0 1.08 1.37 2 3 2s3-.92 3-2c0-1.1-1.04-1.5-3.24-2.03C9.64 12.44 7 11.78 7 9c0-1.79 1.47-3.31 3.5-3.82V3h3v2.18C15.53 5.69 17 7.21 17 9h-2c0-1.08-1.37-2-3-2s-3 .92-3 2c0 1.1 1.04 1.5 3.24 2.03C14.36 11.56 17 12.22 17 15c0 1.79-1.47 3.31-3.5 3.82V21h-3v-2.18C8.47 18.31 7 16.79 7 15Z"/></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
c as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const C = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,3C7.58,3 4,4.79 4,7C4,9.21 7.58,11 12,11C16.42,11 20,9.21 20,7C20,4.79 16.42,3 12,3M4,9V12C4,14.21 7.58,16 12,16C16.42,16 20,14.21 20,12V9C20,11.21 16.42,13 12,13C7.58,13 4,11.21 4,9M4,14V17C4,19.21 7.58,21 12,21C16.42,21 20,19.21 20,17V14C20,16.21 16.42,18 12,18C7.58,18 4,16.21 4,14Z" /></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
C as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const s = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 16c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2M6 16c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m12 12c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2m0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2Z"/></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
s as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const o = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 5v.01M12 12v.01M12 19v.01M12 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm0 7a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm0 7a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"/></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
o as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const L = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21.03 6.29L12 .64L2.97 6.29C2.39 6.64 2 7.27 2 8V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V8C22 7.27 21.61 6.64 21.03 6.29M20 18H4V10L12 15L20 10V18M12 13L4 8L12 3L20 8L12 13Z" /></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
L as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare enum FormStates {
|
|
2
|
+
ADD = 0,
|
|
3
|
+
EDIT = 1
|
|
4
|
+
}
|
|
5
|
+
export declare const enum FormDataTypes {
|
|
6
|
+
Address = 0,
|
|
7
|
+
Boolean = 1,
|
|
8
|
+
Country = 2,
|
|
9
|
+
Date = 3,
|
|
10
|
+
DateRange = 4,
|
|
11
|
+
Document = 5,
|
|
12
|
+
Documents = 6,
|
|
13
|
+
Number = 7,
|
|
14
|
+
Password = 8,
|
|
15
|
+
Price = 9,
|
|
16
|
+
String = 10,
|
|
17
|
+
StringArray = 11,
|
|
18
|
+
Website = 12
|
|
19
|
+
}
|
|
20
|
+
export declare const enum FormSubmissionFormat {
|
|
21
|
+
FormData = 0,
|
|
22
|
+
JSON = 1
|
|
23
|
+
}
|
|
@@ -1,33 +1,29 @@
|
|
|
1
|
-
export enum ElementSize {
|
|
1
|
+
export declare enum ElementSize {
|
|
2
2
|
EXTRA_SMALL = "xs",
|
|
3
3
|
SMALL = "sm",
|
|
4
4
|
DEFAULT = "",
|
|
5
5
|
LARGE = "lg",
|
|
6
|
-
EXTRA_LARGE = "xl"
|
|
6
|
+
EXTRA_LARGE = "xl"
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
export enum ElementShape {
|
|
8
|
+
export declare enum ElementShape {
|
|
10
9
|
SQUARE = "square",
|
|
11
10
|
ROUNDED = "rounded",
|
|
12
|
-
CIRCLE = "circle"
|
|
11
|
+
CIRCLE = "circle"
|
|
13
12
|
}
|
|
14
|
-
|
|
15
|
-
export enum ElementVariant {
|
|
13
|
+
export declare enum ElementVariant {
|
|
16
14
|
DEFAULT = "default",
|
|
17
15
|
PRIMARY = "primary",
|
|
18
16
|
SECONDARY = "secondary",
|
|
19
17
|
SUCCESS = "success",
|
|
20
18
|
DANGER = "danger",
|
|
21
19
|
WARNING = "warning",
|
|
22
|
-
TRANSPARENT = "transparent"
|
|
20
|
+
TRANSPARENT = "transparent"
|
|
23
21
|
}
|
|
24
|
-
|
|
25
|
-
export enum ElementTrigger {
|
|
22
|
+
export declare enum ElementTrigger {
|
|
26
23
|
CLICK = "click",
|
|
27
|
-
HOVER = "hover"
|
|
24
|
+
HOVER = "hover"
|
|
28
25
|
}
|
|
29
|
-
|
|
30
|
-
export enum ElementPosition {
|
|
26
|
+
export declare enum ElementPosition {
|
|
31
27
|
TOP_START = "top-start",
|
|
32
28
|
TOP = "top",
|
|
33
29
|
TOP_END = "top-end",
|
|
@@ -39,32 +35,22 @@ export enum ElementPosition {
|
|
|
39
35
|
BOTTOM_START = "bottom-start",
|
|
40
36
|
LEFT_END = "left-end",
|
|
41
37
|
LEFT = "left",
|
|
42
|
-
LEFT_START = "left-start"
|
|
38
|
+
LEFT_START = "left-start"
|
|
43
39
|
}
|
|
44
|
-
|
|
45
|
-
export enum ButtonType {
|
|
40
|
+
export declare enum ButtonType {
|
|
46
41
|
BUTTON = "button",
|
|
47
42
|
SUBMIT = "submit",
|
|
48
43
|
LINK = "link",
|
|
49
44
|
ROUTER_LINK = "router-link",
|
|
50
|
-
FILE = "file"
|
|
45
|
+
FILE = "file"
|
|
51
46
|
}
|
|
52
|
-
|
|
53
|
-
export enum GraphyPriceVariant {
|
|
47
|
+
export declare enum GraphyPriceVariant {
|
|
54
48
|
DEFAULT = "default",
|
|
55
49
|
INCREASE = "increase",
|
|
56
50
|
DECREASE = "decrease",
|
|
57
|
-
AUTO = "auto"
|
|
51
|
+
AUTO = "auto"
|
|
58
52
|
}
|
|
59
|
-
|
|
60
|
-
export enum SelectionBars {
|
|
61
|
-
DEFAULT = "default",
|
|
62
|
-
PHOTO_SELECTION = "photo_selection",
|
|
63
|
-
TRANSACTION_SELECTION = "transaction_selection",
|
|
64
|
-
COMPANIES_SELECTION = "companies_selection",
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export enum Icon {
|
|
53
|
+
export declare enum Icon {
|
|
68
54
|
Account = "account",
|
|
69
55
|
AlertOctagon = "alert-octagon",
|
|
70
56
|
AlertOctagonOutline = "alert-octagon-outline",
|
|
@@ -156,5 +142,5 @@ export enum Icon {
|
|
|
156
142
|
TrashCanOutline = "trash-can-outline",
|
|
157
143
|
Upload = "upload",
|
|
158
144
|
UserCircle = "user-circle",
|
|
159
|
-
ZipBox = "zip-box"
|
|
145
|
+
ZipBox = "zip-box"
|
|
160
146
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const A = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,17A5,5 0 0,1 7,12A5,5 0 0,1 12,7A5,5 0 0,1 17,12A5,5 0 0,1 12,17M12,4.5C7,4.5 2.73,7.61 1,12C2.73,16.39 7,19.5 12,19.5C17,19.5 21.27,16.39 23,12C21.27,7.61 17,4.5 12,4.5Z" /></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
A as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const C = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.08L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.74,7.13 11.35,7 12,7Z" /></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
C as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const v = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M23 18h-3v-3h-2v3h-3v2h3v3h2v-3h3M6 2a2 2 0 0 0-2 2v16c0 1.11.89 2 2 2h7.81c-.36-.62-.61-1.3-.73-2H6V4h7v5h5v4.08c.33-.05.67-.08 1-.08.34 0 .67.03 1 .08V8l-6-6M8 12v2h8v-2m-8 4v2h5v-2Z"/></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
v as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as Form } from '../components/Form/Form.vue';
|
|
2
|
+
import { FormStates } from '../enums/form';
|
|
3
|
+
|
|
4
|
+
export default class CrudService {
|
|
5
|
+
id: string;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
state: FormStates;
|
|
8
|
+
title: string;
|
|
9
|
+
titles: {
|
|
10
|
+
ADD: string;
|
|
11
|
+
EDIT: string;
|
|
12
|
+
};
|
|
13
|
+
isLoading: boolean;
|
|
14
|
+
formReference: InstanceType<typeof Form> | null;
|
|
15
|
+
constructor(entity: string, formReference: any);
|
|
16
|
+
get isEditing(): boolean;
|
|
17
|
+
get isCreating(): boolean;
|
|
18
|
+
show(state?: FormStates): void;
|
|
19
|
+
setLoading(value?: boolean): void;
|
|
20
|
+
edit(id: string): void;
|
|
21
|
+
close(): void;
|
|
22
|
+
reset(): void;
|
|
23
|
+
save(): void;
|
|
24
|
+
onSave(close?: boolean): void;
|
|
25
|
+
delete(): void;
|
|
26
|
+
onDelete(close?: boolean): void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { FormDataForm, TransformedForm } from '../types/form';
|
|
2
|
+
import { FormDataTypes, FormSubmissionFormat } from '../enums/form';
|
|
3
|
+
|
|
4
|
+
export declare const formValueToFormDataValue: (schema: FormDataTypes, form: TransformedForm<FormSubmissionFormat.FormData>, value: any, key: string) => Promise<FormDataForm>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FormSchema, FormInstance, FormSubmissionFormatMap } from '../types/form';
|
|
2
|
+
import { FormSubmissionFormat } from '../enums/form';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Transforms the form values to a format that conforms to the submission format
|
|
6
|
+
*/
|
|
7
|
+
export declare const transformForm: <F extends FormSubmissionFormat, S extends FormSchema>(form: FormInstance<S>, schema: FormSchema, submissionFormat: F) => Promise<FormSubmissionFormatMap[F]>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InputPriceModel, InputPasswordModel } from '../types/form';
|
|
2
|
+
import { Country } from '../types/address';
|
|
3
|
+
|
|
4
|
+
declare const formValueDateTransformer: (date: Date) => string;
|
|
5
|
+
declare const formValuePriceTransformer: (price: InputPriceModel) => string[];
|
|
6
|
+
declare const formValueCountryTransformer: (country?: Country) => string;
|
|
7
|
+
declare const formValuePasswordTransformer: (password?: InputPasswordModel) => Promise<string>;
|
|
8
|
+
export { formValueDateTransformer, formValuePriceTransformer, formValueCountryTransformer, formValuePasswordTransformer, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { JSONForm, FormSchema, TransformedForm } from '../types/form';
|
|
2
|
+
import { FormDataTypes, FormSubmissionFormat } from '../enums/form';
|
|
3
|
+
|
|
4
|
+
export declare const formValueToJSONFormValue: <T extends FormDataTypes>(schema: FormSchema[T], form: TransformedForm<FormSubmissionFormat.JSON>, value: any, key: string) => Promise<JSONForm>;
|
package/dist/i18n.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import('vue-i18n').I18n<{}, {}, {
|
|
2
|
+
EUR: {
|
|
3
|
+
currency: {
|
|
4
|
+
style: "currency";
|
|
5
|
+
currency: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
BRL: {
|
|
9
|
+
currency: {
|
|
10
|
+
style: "currency";
|
|
11
|
+
currency: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}, string, false>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const t = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 18H6V4h6v7l2.5-1.88L17 11V4h1v16zm-4.33-6L17 18H7l2.5-3.2 1.67 2.18 2.5-2.98z"></path></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
t as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const t = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,19H5V5H19M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M13.96,12.29L11.21,15.83L9.25,13.47L6.5,17H17.5L13.96,12.29Z" /></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
t as default
|
|
5
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const t = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z" /></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
t as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const s = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14C5.9 14 5 13.1 5 12S5.9 10 7 10 9 10.9 9 12 8.1 14 7 14M12.6 10C11.8 7.7 9.6 6 7 6C3.7 6 1 8.7 1 12S3.7 18 7 18C9.6 18 11.8 16.3 12.6 14H16V18H20V14H23V10H12.6Z" /></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
s as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const c = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.67 13.67c-.47.46-1.04.83-1.67 1.06V23H8v-2H5v-3h3v-3.28c-1.74-.62-3-2.26-3-4.22C5 8 7 6 9.5 6h.1c-.47.95-.68 2-.57 3.08-.59.2-1.03.76-1.03 1.42 0 .83.67 1.5 1.5 1.5.23 0 .45-.06.65-.15.64.84 1.52 1.47 2.52 1.82m8.06 5.77-2.76 1.16-.78-1.84-2.76 1.17-1.17-2.77L16.03 16l-1.27-3c-1.85.08-3.65-.95-4.41-2.75-.96-2.29.12-4.93 2.41-5.9.24-.1.5-.17.74-.23C12.84 2.87 11.5 2 10 2 7.79 2 6 3.79 6 6v.24c-.3.26-.6.58-.85.91C5.06 6.78 5 6.4 5 6c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.42-.6 2.67-1.55 3.57.42.43 1.05.56 1.63.31.77-.32 1.12-1.2.8-1.96a.939.939 0 0 0-.14-.26C15.9 7.13 16 6.58 16 6c0-.63-.1-1.24-.28-1.81 1.28.36 2.38 1.25 2.93 2.57.76 1.8.24 3.81-1.15 5.05l3.23 7.63M13 8.6c.37-.41.65-.89.82-1.42-.54.27-.85.82-.82 1.42Z"/></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
c as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const a = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M22 18v4h-4v-3h-3v-3h-3l-2.26-2.26c-.55.17-1.13.26-1.74.26a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6c0 .61-.09 1.19-.26 1.74L22 18M7 5a2 2 0 0 0-2 2 2 2 0 0 0 2 2 2 2 0 0 0 2-2 2 2 0 0 0-2-2Z"/></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
a as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const v = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11 15h6v2h-6v-2M9 7H7v2h2V7m2 6h6v-2h-6v2m0-4h6V7h-6v2m-2 2H7v2h2v-2m12-6v14c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2m-2 0H5v14h14V5M9 15H7v2h2v-2Z"/></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
v as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const w = `<?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" viewBox="0 0 24 24"><path d="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z" /></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
w as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const A = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,17C10.89,17 10,16.1 10,15C10,13.89 10.89,13 12,13A2,2 0 0,1 14,15A2,2 0 0,1 12,17M18,20V10H6V20H18M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V10C4,8.89 4.89,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z" /></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
A as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const s = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7,13H17V11H7" /></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
s as default
|
|
5
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const o = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.354 15.354A9 9 0 0 1 8.646 3.646 9.003 9.003 0 0 0 12 21a9.003 9.003 0 0 0 8.354-5.646z"/></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
o as default
|
|
5
|
+
};
|