@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
|
@@ -5,13 +5,10 @@ export interface Country {
|
|
|
5
5
|
iso2: string;
|
|
6
6
|
order: string;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
8
|
export interface CountryStateOption {
|
|
10
9
|
uuid: string;
|
|
11
10
|
name: string;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
/* Response & Payload from/to the API */
|
|
15
12
|
export interface AddressResource {
|
|
16
13
|
city?: string;
|
|
17
14
|
complement?: string;
|
|
@@ -26,8 +23,6 @@ export interface AddressResource {
|
|
|
26
23
|
town?: string;
|
|
27
24
|
zipCode?: string;
|
|
28
25
|
}
|
|
29
|
-
|
|
30
|
-
/* Model for InputAddress */
|
|
31
26
|
export interface AddressModel {
|
|
32
27
|
city?: string;
|
|
33
28
|
complement?: string;
|
|
@@ -3,24 +3,20 @@ export type APISearchFilters = {
|
|
|
3
3
|
* ID or UUID
|
|
4
4
|
*/
|
|
5
5
|
i?: string;
|
|
6
|
-
|
|
7
6
|
/**
|
|
8
7
|
* Resource type, either:
|
|
9
8
|
* option: to be used in select components, bare minimum data
|
|
10
9
|
* full: to be used anywhere else, contains all the entity data
|
|
11
10
|
*/
|
|
12
11
|
r?: "option" | "full";
|
|
13
|
-
|
|
14
12
|
/**
|
|
15
13
|
* Search query
|
|
16
14
|
*/
|
|
17
15
|
t?: string;
|
|
18
|
-
|
|
19
16
|
/**
|
|
20
17
|
* Page number
|
|
21
18
|
*/
|
|
22
19
|
page?: number | string;
|
|
23
|
-
|
|
24
20
|
/**
|
|
25
21
|
* Amount of items per page
|
|
26
22
|
*/
|
|
@@ -1,78 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { FormDataTypes, FormSubmissionFormat } from '../enums/form';
|
|
2
|
+
import { AddressModel, Country } from './address';
|
|
3
|
+
import { APISearchFilters } from './api';
|
|
4
|
+
import { Pagination } from './ui';
|
|
5
|
+
import { Website } from './website';
|
|
6
|
+
import { Icon } from '../enums/ui';
|
|
7
7
|
|
|
8
8
|
export type SelectValuePrimitives = string | number;
|
|
9
|
-
|
|
10
9
|
export type SelectValue = SelectValuePrimitives | Array<SelectValuePrimitives>;
|
|
11
|
-
|
|
12
10
|
export type SelectOption = {
|
|
13
11
|
/** Optional icon, to be appended to the label */
|
|
14
12
|
icon?: `${Icon}`;
|
|
15
|
-
|
|
16
13
|
/** Option label, either a string or an object containing the props necessary to render the option */
|
|
17
14
|
label: any;
|
|
18
|
-
|
|
19
15
|
/** Optional type, used to diferentiate options from one another */
|
|
20
16
|
type?: string;
|
|
21
|
-
|
|
22
17
|
/** Optional renderer, containing the fully resolved path to the component that will be used
|
|
23
18
|
* to render the option
|
|
24
19
|
*/
|
|
25
20
|
renderer?: string;
|
|
26
|
-
} & (
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
) =>
|
|
46
|
-
| Promise<{ items: unknown[]; pagination: Pagination }>
|
|
47
|
-
| Promise<void>
|
|
48
|
-
| void;
|
|
49
|
-
|
|
50
|
-
value?: never;
|
|
51
|
-
isGroupLabel?: never;
|
|
52
|
-
}
|
|
53
|
-
);
|
|
54
|
-
|
|
55
|
-
export interface InputSocialModel {
|
|
56
|
-
profile: string;
|
|
57
|
-
network: number;
|
|
58
|
-
}
|
|
59
|
-
|
|
21
|
+
} & ({
|
|
22
|
+
/** If true, the option is a group label and can't be selected */
|
|
23
|
+
isGroupLabel: boolean;
|
|
24
|
+
value?: never;
|
|
25
|
+
action?: never;
|
|
26
|
+
} | {
|
|
27
|
+
/** Option value */
|
|
28
|
+
value: SelectValue;
|
|
29
|
+
action?: never;
|
|
30
|
+
isGroupLabel?: never;
|
|
31
|
+
} | {
|
|
32
|
+
/** Action to be executed once the option is selected */
|
|
33
|
+
action: (filters?: APISearchFilters) => Promise<{
|
|
34
|
+
items: unknown[];
|
|
35
|
+
pagination: Pagination;
|
|
36
|
+
}> | Promise<void> | void;
|
|
37
|
+
value?: never;
|
|
38
|
+
isGroupLabel?: never;
|
|
39
|
+
});
|
|
60
40
|
export interface InputPriceModel {
|
|
61
41
|
iso: string;
|
|
62
42
|
value: number;
|
|
63
43
|
}
|
|
64
|
-
|
|
65
44
|
export interface InputPasswordModel {
|
|
45
|
+
/** Unencrypted password */
|
|
66
46
|
value: string;
|
|
47
|
+
/** Strength of the password */
|
|
67
48
|
strength?: number;
|
|
49
|
+
/** Date of creation or last update */
|
|
68
50
|
updatedAt?: Date;
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
encrypt?: boolean;
|
|
51
|
+
/** If an encryptor was passed, this prop will hold the encrypted value */
|
|
52
|
+
encrypted?: string;
|
|
72
53
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
54
|
+
export type FormStyle = {
|
|
55
|
+
[key in "label" | "input"]?: string;
|
|
56
|
+
};
|
|
76
57
|
export type FormSchemaValueMap = {
|
|
77
58
|
[FormDataTypes.Address]: AddressModel;
|
|
78
59
|
[FormDataTypes.Boolean]: boolean;
|
|
@@ -88,33 +69,25 @@ export type FormSchemaValueMap = {
|
|
|
88
69
|
[FormDataTypes.StringArray]: string[];
|
|
89
70
|
[FormDataTypes.Website]: Website;
|
|
90
71
|
};
|
|
91
|
-
|
|
92
72
|
/**
|
|
93
73
|
* Form in the JSON format
|
|
94
74
|
*/
|
|
95
|
-
export type JSONForm = {
|
|
96
|
-
|
|
75
|
+
export type JSONForm = {
|
|
76
|
+
[prop: string]: string | number | boolean | string[];
|
|
77
|
+
};
|
|
97
78
|
/**
|
|
98
79
|
* Form in the FormData format
|
|
99
80
|
*/
|
|
100
81
|
export type FormDataForm = InstanceType<typeof FormData>;
|
|
101
|
-
|
|
102
82
|
export type FormSubmissionFormatMap = {
|
|
103
83
|
[FormSubmissionFormat.FormData]: FormDataForm;
|
|
104
84
|
[FormSubmissionFormat.JSON]: JSONForm;
|
|
105
85
|
};
|
|
106
|
-
|
|
107
86
|
/**
|
|
108
87
|
* Transformed form, the result of the form transformation from the high level form values
|
|
109
88
|
* to the desired submission format, either FormData or JSON
|
|
110
89
|
*/
|
|
111
|
-
export type TransformedForm<T = FormSubmissionFormat.FormData> =
|
|
112
|
-
T extends FormSubmissionFormat.FormData
|
|
113
|
-
? FormDataForm
|
|
114
|
-
: T extends FormSubmissionFormat.JSON
|
|
115
|
-
? JSONForm
|
|
116
|
-
: never;
|
|
117
|
-
|
|
90
|
+
export type TransformedForm<T = FormSubmissionFormat.FormData> = T extends FormSubmissionFormat.FormData ? FormDataForm : T extends FormSubmissionFormat.JSON ? JSONForm : never;
|
|
118
91
|
/**
|
|
119
92
|
* Validation result object, containing the validation status and the transformed form
|
|
120
93
|
*/
|
|
@@ -122,14 +95,12 @@ export type ValidationResult<T = FormSubmissionFormat.FormData> = {
|
|
|
122
95
|
isValid: boolean;
|
|
123
96
|
form: TransformedForm<T>;
|
|
124
97
|
};
|
|
125
|
-
|
|
126
98
|
/**
|
|
127
99
|
* Form schema, defining the form fields and their corresponding FormDataTypes
|
|
128
100
|
*/
|
|
129
101
|
export type FormSchema = {
|
|
130
102
|
[key: string]: FormDataTypes;
|
|
131
103
|
};
|
|
132
|
-
|
|
133
104
|
/**
|
|
134
105
|
* Object containing the form values, each value being of one of the types from
|
|
135
106
|
* FormDataTypes, defined by each corresponding input component
|
|
@@ -137,7 +108,6 @@ export type FormSchema = {
|
|
|
137
108
|
export type FormInstance<T extends Record<string, FormDataTypes>> = {
|
|
138
109
|
[K in keyof T]: FormSchemaValueMap[T[K]];
|
|
139
110
|
};
|
|
140
|
-
|
|
141
111
|
/**
|
|
142
112
|
* Type union of the accepted values by the FormData
|
|
143
113
|
*/
|
|
@@ -1,52 +1,47 @@
|
|
|
1
|
-
import { ElementPosition, ElementVariant } from
|
|
1
|
+
import { ElementPosition, ElementVariant } from '../enums/ui';
|
|
2
2
|
|
|
3
3
|
export interface Pagination {
|
|
4
4
|
/** Amount of items in current page */
|
|
5
5
|
items: number;
|
|
6
|
-
|
|
7
6
|
/** Current page */
|
|
8
7
|
page: number;
|
|
9
|
-
|
|
10
8
|
/** Amount of pages */
|
|
11
9
|
pages: number;
|
|
12
|
-
|
|
13
10
|
/** Amount of items per page */
|
|
14
11
|
perPage: number;
|
|
15
|
-
|
|
16
12
|
/** Amount of items being skipped */
|
|
17
13
|
skip: number;
|
|
18
|
-
|
|
19
14
|
/** Total number of items */
|
|
20
15
|
totalItems: number;
|
|
21
16
|
}
|
|
22
|
-
|
|
23
17
|
export type TableColumn = {
|
|
24
18
|
title?: string;
|
|
25
|
-
} & ({
|
|
26
|
-
|
|
19
|
+
} & ({
|
|
20
|
+
slot: string;
|
|
21
|
+
} | {
|
|
22
|
+
property: string;
|
|
23
|
+
});
|
|
27
24
|
export type TableEditorColumn = {
|
|
28
25
|
title?: string;
|
|
29
|
-
|
|
30
26
|
/** Property name, defaults to slot name */
|
|
31
27
|
property?: string;
|
|
32
|
-
|
|
33
28
|
/** Input type for editing column */
|
|
34
29
|
type?: "text" | "select" | "price";
|
|
35
|
-
|
|
36
30
|
/** Show/Hide column */
|
|
37
31
|
visible?: boolean;
|
|
38
|
-
} & ({
|
|
39
|
-
|
|
32
|
+
} & ({
|
|
33
|
+
slot: string;
|
|
34
|
+
} | {
|
|
35
|
+
property: string;
|
|
36
|
+
});
|
|
40
37
|
export type TableEditorRow = {
|
|
41
38
|
uuid: string;
|
|
42
39
|
[prop: string]: any;
|
|
43
40
|
};
|
|
44
|
-
|
|
45
41
|
export type Tab = {
|
|
46
42
|
title?: string;
|
|
47
43
|
slot?: string;
|
|
48
44
|
};
|
|
49
|
-
|
|
50
45
|
export type Message = {
|
|
51
46
|
id: number;
|
|
52
47
|
message: string;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const s = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 19.2c-2.5 0-4.71-1.28-6-3.2.03-2 4-3.1 6-3.1s5.97 1.1 6 3.1a7.232 7.232 0 0 1-6 3.2M12 5a3 3 0 0 1 3 3 3 3 0 0 1-3 3 3 3 0 0 1-3-3 3 3 0 0 1 3-3m0-3A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10c0-5.53-4.5-10-10-10Z"/></svg>
|
|
2
|
+
`;
|
|
3
|
+
export {
|
|
4
|
+
s as default
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caipira/tamandua",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"private": false,
|
|
4
5
|
"description": "UI library for the Caipira ecosystem",
|
|
5
|
-
"license": "
|
|
6
|
+
"license": "GPL-3.0-only",
|
|
6
7
|
"homepage": "https://caipira.io",
|
|
7
8
|
"author": {
|
|
8
9
|
"name": "Theone Lucas",
|
|
@@ -12,10 +13,18 @@
|
|
|
12
13
|
"type": "git",
|
|
13
14
|
"url": "https://github.com/caipira-io/tamandua.git"
|
|
14
15
|
},
|
|
15
|
-
"
|
|
16
|
+
"type": "module",
|
|
17
|
+
"main": "./dist/tamandua.js",
|
|
18
|
+
"types": "./dist/main.d.ts",
|
|
16
19
|
"exports": {
|
|
17
|
-
"
|
|
20
|
+
"./style.css": "./dist/style.css"
|
|
18
21
|
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"sideEffects": [
|
|
26
|
+
"**/*.css"
|
|
27
|
+
],
|
|
19
28
|
"scripts": {
|
|
20
29
|
"start": "vite --host",
|
|
21
30
|
"build": "vite build",
|
|
@@ -24,7 +33,8 @@
|
|
|
24
33
|
"test": "vitest --run",
|
|
25
34
|
"typecheck": "vue-tsc --noEmit --skipLibCheck -p tsconfig.json --composite false",
|
|
26
35
|
"start:sb": "storybook dev",
|
|
27
|
-
"build:sb": "storybook build"
|
|
36
|
+
"build:sb": "storybook build",
|
|
37
|
+
"prepublishOnly": "npm run build"
|
|
28
38
|
},
|
|
29
39
|
"dependencies": {
|
|
30
40
|
"chart.js": "^4.0.0",
|
|
@@ -62,9 +72,10 @@
|
|
|
62
72
|
"ts-node": "^10.9.1",
|
|
63
73
|
"typescript": "^5.1.3",
|
|
64
74
|
"vite": "^5.2.6",
|
|
75
|
+
"vite-plugin-dts": "^3.8.1",
|
|
65
76
|
"vite-tsconfig-paths": "^4.2.0",
|
|
66
77
|
"vitest": "^1.4.0",
|
|
67
78
|
"vue": "^3.4.21",
|
|
68
79
|
"vue-tsc": "^1.8.0"
|
|
69
80
|
}
|
|
70
|
-
}
|
|
81
|
+
}
|
package/.editorconfig
DELETED
package/.prettierrc
DELETED
package/.storybook/main.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { loadEnv } from "vite";
|
|
2
|
-
import { StorybookConfig } from "@storybook/vue3-vite";
|
|
3
|
-
|
|
4
|
-
const env = loadEnv("", process.cwd(), "GLOBAL_");
|
|
5
|
-
|
|
6
|
-
const config: StorybookConfig = {
|
|
7
|
-
stories: ["../components/**/*.story.@(js|ts)"],
|
|
8
|
-
addons: [
|
|
9
|
-
"@storybook/addon-links",
|
|
10
|
-
"@storybook/addon-themes",
|
|
11
|
-
"@storybook/addon-essentials",
|
|
12
|
-
"@storybook/addon-interactions",
|
|
13
|
-
],
|
|
14
|
-
framework: {
|
|
15
|
-
name: "@storybook/vue3-vite",
|
|
16
|
-
options: {
|
|
17
|
-
docgen: "vue-component-meta",
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
core: {
|
|
21
|
-
disableTelemetry: true,
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export default config;
|
package/.storybook/preview.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import i18n from "@/i18n";
|
|
2
|
-
import Tamandua from "@/index";
|
|
3
|
-
import { setup, Preview } from "@storybook/vue3";
|
|
4
|
-
import { withThemeByClassName } from "@storybook/addon-themes";
|
|
5
|
-
|
|
6
|
-
import "@/index.css";
|
|
7
|
-
|
|
8
|
-
setup((app) => {
|
|
9
|
-
app.use(i18n).use(Tamandua);
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
const preview: Preview = {
|
|
13
|
-
decorators: [
|
|
14
|
-
withThemeByClassName({
|
|
15
|
-
themes: {
|
|
16
|
-
light: "",
|
|
17
|
-
dark: "dark",
|
|
18
|
-
},
|
|
19
|
-
defaultTheme: "light",
|
|
20
|
-
}),
|
|
21
|
-
],
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export default preview;
|
package/App.vue
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<template></template>
|
package/Dockerfile
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
FROM node:21
|
|
2
|
-
|
|
3
|
-
ARG BUILD_TARGET
|
|
4
|
-
ENV BUILD_TARGET=${BUILD_TARGET}
|
|
5
|
-
ENV YARN_VERSION=4.1.1
|
|
6
|
-
|
|
7
|
-
RUN mkdir -p /usr/src
|
|
8
|
-
WORKDIR /usr/src
|
|
9
|
-
COPY . /usr/src
|
|
10
|
-
|
|
11
|
-
RUN apt-get update && apt-get -y upgrade
|
|
12
|
-
RUN apt-get install git
|
|
13
|
-
RUN corepack enable && corepack prepare yarn@${YARN_VERSION} --activate
|
|
14
|
-
|
|
15
|
-
# Install dependencies
|
|
16
|
-
RUN if [ "$BUILD_TARGET" = "prod" ]; then \
|
|
17
|
-
yarn install; \
|
|
18
|
-
fi
|
|
19
|
-
|
|
20
|
-
RUN chmod u+x ./entrypoint.sh
|
|
21
|
-
CMD ./entrypoint.sh ${BUILD_TARGET}
|
package/assets/icons/account.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.973 1.323a5.101 5.307 0 0 1 5.1 5.307 5.101 5.307 0 0 1-5.1 5.307A5.101 5.307 0 0 1 6.87 6.63a5.101 5.307 0 0 1 5.102-5.307m0 13.268c5.637 0 10.202 2.375 10.202 5.308v2.653H1.77V19.9c0-2.933 4.566-5.308 10.203-5.308z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.27,3L3,8.27V15.73L8.27,21H15.73C17.5,19.24 21,15.73 21,15.73V8.27L15.73,3M9.1,5H14.9L19,9.1V14.9L14.9,19H9.1L5,14.9V9.1M11,15H13V17H11V15M11,7H13V13H11V7" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M13 13H11V7H13M11 15H13V17H11M15.73 3H8.27L3 8.27V15.73L8.27 21H15.73L21 15.73V8.27L15.73 3Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.54 5.23l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27zM6.24 5h11.52l.83 1H5.42l.82-1zM5 19V8h14v11H5zm8-5.35V9.5h-2v4.15l-1.79-1.79-1.42 1.41L12 17.48l4.21-4.21-1.42-1.41z"></path></svg>
|
package/assets/icons/archive.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5.12,5L5.93,4H17.93L18.87,5M12,17.5L6.5,12H10V10H14V12H17.5L12,17.5M20.54,5.23L19.15,3.55C18.88,3.21 18.47,3 18,3H6C5.53,3 5.12,3.21 4.84,3.55L3.46,5.23C3.17,5.57 3,6 3,6.5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V6.5C21,6 20.83,5.57 20.54,5.23Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m10 19-7-7m0 0 7-7m-7 7h18"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<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="m14 5 7 7m0 0-7 7m7-7H3"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5,10H4.5V17H6.5V10M12.5,10H10.5V17H12.5V10M21,19H2V21H21V19M18.5,10H16.5V17H18.5V10M11.5,3.26L16.71,6H6.29L11.5,3.26M11.5,1L2,6V8H21V6L11.5,1Z" /></svg>
|
package/assets/icons/bank.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.5,1L2,6V8H21V6M16,10V17H19V10M2,22H21V19H2M10,10V17H13V10M4,10V17H7V10H4Z" /></svg>
|
package/assets/icons/camera.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4,4H7L9,2H15L17,4H20A2,2 0 0,1 22,6V18A2,2 0 0,1 20,20H4A2,2 0 0,1 2,18V6A2,2 0 0,1 4,4M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7M12,9A3,3 0 0,1 15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.19 2.25c-.26 0-.52.06-.77.15L3.06 5.45a1.994 1.994 0 0 0-1.09 2.6L6.93 20a2 2 0 0 0 1.81 1.25c.26 0 .53-.03.79-.15l7.37-3.05a2.02 2.02 0 0 0 1.23-1.8c.01-.25-.04-.54-.13-.8L13 3.5a1.954 1.954 0 0 0-1.81-1.25m3.48 0 3.45 8.35V4.25a2 2 0 0 0-2-2m4.01 1.54v9.03l2.43-5.86a1.99 1.99 0 0 0-1.09-2.6m-10.28-.14 4.98 12.02-7.39 3.06L3.8 7.29"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 2h14a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1m1 2v8h12V4H6m14 13a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1h16v1m0 4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1h16v1Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17,18A2,2 0 0,1 19,20A2,2 0 0,1 17,22C15.89,22 15,21.1 15,20C15,18.89 15.89,18 17,18M1,2H4.27L5.21,4H20A1,1 0 0,1 21,5C21,5.17 20.95,5.34 20.88,5.5L17.3,11.97C16.96,12.58 16.3,13 15.55,13H8.1L7.2,14.63L7.17,14.75A0.25,0.25 0 0,0 7.42,15H19V17H7C5.89,17 5,16.1 5,15C5,14.65 5.09,14.32 5.24,14.04L6.6,11.59L3,4H1V2M7,18A2,2 0 0,1 9,20A2,2 0 0,1 7,22C5.89,22 5,21.1 5,20C5,18.89 5.89,18 7,18M16,11L18.78,6H6.14L8.5,11H16Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 17H7V10H9V17M13 17H11V7H13V17M17 17H15V13H17V17M19 19H5V5H19V19.1M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3M9 17H7V10H9V17M13 17H11V7H13V17M17 17H15V13H17V17Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M12 20C7.59 20 4 16.41 4 12S7.59 4 12 4 20 7.59 20 12 16.41 20 12 20M16.59 7.58L10 14.17L7.41 11.59L6 13L10 17L18 9L16.59 7.58Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z" /></svg>
|
package/assets/icons/check.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#000'><path d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z' /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'><path stroke='#000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8' /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'><path stroke='#fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8' /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#fff'><path d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z' /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z" /></svg>
|
package/assets/icons/circle.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" /></svg>
|
package/assets/icons/clock.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 20C16.4 20 20 16.4 20 12S16.4 4 12 4 4 7.6 4 12 7.6 20 12 20M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22C6.5 22 2 17.5 2 12C2 6.5 6.5 2 12 2M17 11.5V13H11V7H12.5V11.5H17Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<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,2C6.47,2 2,6.47 2,12C2,17.53 6.47,22 12,22C17.53,22 22,17.53 22,12C22,6.47 17.53,2 12,2M14.59,8L12,10.59L9.41,8L8,9.41L10.59,12L8,14.59L9.41,16L12,13.41L14.59,16L16,14.59L13.41,12L16,9.41L14.59,8Z" /></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z" /></svg>
|
package/assets/icons/close.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg>
|
package/assets/icons/cog.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<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="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 0 0-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 0 0-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 0 0-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 0 0-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 0 0 1.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,11.5C19,11.5 17,13.67 17,15A2,2 0 0,0 19,17A2,2 0 0,0 21,15C21,13.67 19,11.5 19,11.5M5.21,10L10,5.21L14.79,10M16.56,8.94L7.62,0L6.21,1.41L8.59,3.79L3.44,8.94C2.85,9.5 2.85,10.47 3.44,11.06L8.94,16.56C9.23,16.85 9.62,17 10,17C10.38,17 10.77,16.85 11.06,16.56L16.56,11.06C17.15,10.47 17.15,9.5 16.56,8.94Z" /></svg>
|
package/assets/icons/copy.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z" /></svg>
|