@caipira/tamandua 0.0.115 → 0.0.117
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Avatar-5xGpnOHD.js → Avatar-BJhDCXNm.js} +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/{Button-B61zGf7P.js → Button-OUFqh0AK.js} +2 -2
- package/dist/Button.js +1 -1
- package/dist/{Dropdown-CXZ1o3rp.js → Dropdown-DoBD6Xhw.js} +1 -1
- package/dist/Dropdown.js +1 -1
- package/dist/{Form-Dwflg0eH.js → Form-DskdWCug.js} +1 -1
- package/dist/Form2.js +1 -1
- package/dist/{FormItem-CMfLyUQ2.js → FormItem-BY63eDen.js} +1 -1
- package/dist/FormItem.js +1 -1
- package/dist/{GraphyPrice-BIRO3_Ah.js → GraphyPrice-ClQqinDD.js} +1 -1
- package/dist/GraphyPrice.js +1 -1
- package/dist/{Icon-BNLjWTiq.js → Icon-B9iNse38.js} +1 -1
- package/dist/{Icon-BHDold-v.js → Icon-C53WlgKH.js} +4 -1
- package/dist/Icon.js +2 -2
- package/dist/{InputMultiplier-BpCbAKJ6.js → InputMultiplier-CxuKrVSY.js} +1 -1
- package/dist/InputMultiplier.js +1 -1
- package/dist/{InputPassword-DiEBfkOp.js → InputPassword-BHobrZ7h.js} +1 -1
- package/dist/InputPassword.js +1 -1
- package/dist/{InputSelect-DJdOf2Hh.js → InputSelect-COxU8e3Y.js} +1 -1
- package/dist/InputSelect.js +1 -1
- package/dist/{InputSwitch-b3QEp5BQ.js → InputSwitch-VNRslua8.js} +1 -1
- package/dist/InputSwitch.js +1 -1
- package/dist/{InputText-DaB5TeOR.js → InputText-D7tqbZd9.js} +1 -1
- package/dist/{InputText-CNn6q4pO.js → InputText-_VHhKh7b.js} +1 -1
- package/dist/InputText.js +2 -2
- package/dist/{Link-9RhB9Snu.js → Link-C5IIsa7T.js} +1 -1
- package/dist/Link.js +1 -1
- package/dist/{Popconfirm-B4xptuBj.js → Popconfirm-Cr56O2Yf.js} +1 -1
- package/dist/Popconfirm.js +1 -1
- package/dist/{Popover-C43FYDmN.js → Popover-CvATd3Kp.js} +1 -1
- package/dist/Popover.js +1 -1
- package/dist/{Table-BEmIaP1b.js → Table-DEdd-UXx.js} +1 -1
- package/dist/Table.js +1 -1
- package/dist/{Tag-C-X54XKY.js → Tag-BrN1GN75.js} +1 -1
- package/dist/Tag.js +1 -1
- package/dist/{Toast-DQGqKVt7.js → Toast-BfhE3zQX.js} +1 -1
- package/dist/Toast.js +1 -1
- package/dist/code-braces-CbeVShNC.js +4 -0
- package/dist/components.js +20 -20
- package/dist/database-search-BDU0TNzv.js +4 -0
- package/dist/enums.js +1 -1
- package/dist/graphql-D5vGqPI4.js +4 -0
- package/dist/plugins.js +18 -18
- package/dist/types/components/Alert/Alert.story.d.ts +19 -0
- package/dist/types/components/Alert/Alert.vue.d.ts +62 -0
- package/dist/types/components/Alert/index.d.ts +4 -0
- package/dist/types/components/Alert/plugin.d.ts +3 -0
- package/dist/types/components/Alert/types.d.ts +42 -0
- package/dist/types/components/Avatar/Avatar.story.d.ts +27 -0
- package/dist/types/components/Avatar/Avatar.vue.d.ts +44 -0
- package/dist/types/components/Avatar/index.d.ts +4 -0
- package/dist/types/components/Avatar/plugin.d.ts +3 -0
- package/dist/types/components/Avatar/types.d.ts +10 -0
- package/dist/types/components/Backdrop/Backdrop.vue.d.ts +32 -0
- package/dist/types/components/Backdrop/index.d.ts +4 -0
- package/dist/types/components/Backdrop/plugin.d.ts +3 -0
- package/dist/types/components/Backdrop/types.d.ts +6 -0
- package/dist/types/components/Button/Button.story.d.ts +45 -0
- package/dist/types/components/Button/Button.vue.d.ts +141 -0
- package/dist/types/components/Button/index.d.ts +4 -0
- package/dist/types/components/Button/plugin.d.ts +3 -0
- package/dist/types/components/Button/types.d.ts +29 -0
- package/dist/types/components/ChartLine/ChartLine.story.d.ts +25 -0
- package/dist/types/components/ChartLine/ChartLine.vue.d.ts +35 -0
- package/dist/types/components/ChartLine/index.d.ts +4 -0
- package/dist/types/components/ChartLine/plugin.d.ts +3 -0
- package/dist/types/components/ChartLine/types.d.ts +17 -0
- package/dist/types/components/ChartTreemap/ChartTreemap.story.d.ts +45 -0
- package/dist/types/components/ChartTreemap/ChartTreemap.vue.d.ts +19 -0
- package/dist/types/components/ChartTreemap/index.d.ts +4 -0
- package/dist/types/components/ChartTreemap/plugin.d.ts +3 -0
- package/dist/types/components/ChartTreemap/types.d.ts +15 -0
- package/dist/types/components/DialogProvider/DialogProvider.vue.d.ts +3 -0
- package/dist/types/components/DialogProvider/index.d.ts +3 -0
- package/dist/types/components/DialogProvider/plugin.d.ts +3 -0
- package/dist/types/components/Drawer/Drawer.story.d.ts +21 -0
- package/dist/types/components/Drawer/Drawer.vue.d.ts +61 -0
- package/dist/types/components/Drawer/index.d.ts +4 -0
- package/dist/types/components/Drawer/plugin.d.ts +3 -0
- package/dist/types/components/Drawer/types.d.ts +11 -0
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts +124 -0
- package/dist/types/components/Dropdown/index.d.ts +4 -0
- package/dist/types/components/Dropdown/plugin.d.ts +3 -0
- package/dist/types/components/Dropdown/types.d.ts +25 -0
- package/dist/types/components/FileDrop/FileDrop.vue.d.ts +37 -0
- package/dist/types/components/FileDrop/index.d.ts +4 -0
- package/dist/types/components/FileDrop/plugin.d.ts +3 -0
- package/dist/types/components/FileDrop/types.d.ts +5 -0
- package/dist/types/components/Form/Form.story.d.ts +32 -0
- package/dist/types/components/Form/Form.test.d.ts +1 -0
- package/dist/types/components/Form/Form.vue.d.ts +36 -0
- package/dist/types/components/Form/index.d.ts +4 -0
- package/dist/types/components/Form/plugin.d.ts +3 -0
- package/dist/types/components/Form/types.d.ts +26 -0
- package/dist/types/components/FormItem/FormItem.vue.d.ts +24 -0
- package/dist/types/components/FormItem/index.d.ts +4 -0
- package/dist/types/components/FormItem/plugin.d.ts +3 -0
- package/dist/types/components/FormItem/types.d.ts +4 -0
- package/dist/types/components/GraphyEmpty/GraphyEmpty.vue.d.ts +22 -0
- package/dist/types/components/GraphyEmpty/index.d.ts +4 -0
- package/dist/types/components/GraphyEmpty/plugin.d.ts +3 -0
- package/dist/types/components/GraphyEmpty/types.d.ts +3 -0
- package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +22 -0
- package/dist/types/components/GraphyLabel/index.d.ts +4 -0
- package/dist/types/components/GraphyLabel/plugin.d.ts +3 -0
- package/dist/types/components/GraphyLabel/types.d.ts +3 -0
- package/dist/types/components/GraphyPrice/GraphyPrice.story.d.ts +27 -0
- package/dist/types/components/GraphyPrice/GraphyPrice.vue.d.ts +35 -0
- package/dist/types/components/GraphyPrice/index.d.ts +4 -0
- package/dist/types/components/GraphyPrice/plugin.d.ts +3 -0
- package/dist/types/components/GraphyPrice/types.d.ts +8 -0
- package/dist/types/components/GraphySubtitle/GraphySubtitle.vue.d.ts +28 -0
- package/dist/types/components/GraphySubtitle/index.d.ts +4 -0
- package/dist/types/components/GraphySubtitle/plugin.d.ts +3 -0
- package/dist/types/components/GraphySubtitle/types.d.ts +4 -0
- package/dist/types/components/GraphyTitle/GraphyTitle.vue.d.ts +12 -0
- package/dist/types/components/GraphyTitle/index.d.ts +4 -0
- package/dist/types/components/GraphyTitle/plugin.d.ts +3 -0
- package/dist/types/components/GraphyTitle/types.d.ts +3 -0
- package/dist/types/components/Icon/Icon.story.d.ts +25 -0
- package/dist/types/components/Icon/Icon.vue.d.ts +34 -0
- package/dist/types/components/Icon/index.d.ts +4 -0
- package/dist/types/components/Icon/plugin.d.ts +3 -0
- package/dist/types/components/Icon/types.d.ts +6 -0
- package/dist/types/components/InputAvatar/InputAvatar.vue.d.ts +16 -0
- package/dist/types/components/InputAvatar/index.d.ts +4 -0
- package/dist/types/components/InputAvatar/plugin.d.ts +3 -0
- package/dist/types/components/InputAvatar/types.d.ts +6 -0
- package/dist/types/components/InputCheckbox/Input-checkbox.story.d.ts +14 -0
- package/dist/types/components/InputCheckbox/InputCheckbox.vue.d.ts +43 -0
- package/dist/types/components/InputCheckbox/index.d.ts +4 -0
- package/dist/types/components/InputCheckbox/plugin.d.ts +3 -0
- package/dist/types/components/InputCheckbox/types.d.ts +18 -0
- package/dist/types/components/InputColor/InputColor.vue.d.ts +35 -0
- package/dist/types/components/InputColor/index.d.ts +4 -0
- package/dist/types/components/InputColor/plugin.d.ts +3 -0
- package/dist/types/components/InputColor/types.d.ts +8 -0
- package/dist/types/components/InputCryptoCurrency/InputCryptoCurrency.story.d.ts +14 -0
- package/dist/types/components/InputCryptoCurrency/InputCryptoCurrency.vue.d.ts +21 -0
- package/dist/types/components/InputCryptoCurrency/currencies.d.ts +8 -0
- package/dist/types/components/InputCryptoCurrency/index.d.ts +4 -0
- package/dist/types/components/InputCryptoCurrency/plugin.d.ts +3 -0
- package/dist/types/components/InputCryptoCurrency/types.d.ts +8 -0
- package/dist/types/components/InputDate/InputDate.story.d.ts +13 -0
- package/dist/types/components/InputDate/InputDate.vue.d.ts +16 -0
- package/dist/types/components/InputDate/index.d.ts +4 -0
- package/dist/types/components/InputDate/plugin.d.ts +3 -0
- package/dist/types/components/InputDate/types.d.ts +15 -0
- package/dist/types/components/InputMultiplier/InputMultiplier.vue.d.ts +50 -0
- package/dist/types/components/InputMultiplier/index.d.ts +4 -0
- package/dist/types/components/InputMultiplier/input-multiplier.story.d.ts +43 -0
- package/dist/types/components/InputMultiplier/plugin.d.ts +3 -0
- package/dist/types/components/InputMultiplier/types.d.ts +19 -0
- package/dist/types/components/InputPassword/Input-password.story.d.ts +30 -0
- package/dist/types/components/InputPassword/InputPassword.vue.d.ts +55 -0
- package/dist/types/components/InputPassword/index.d.ts +4 -0
- package/dist/types/components/InputPassword/plugin.d.ts +3 -0
- package/dist/types/components/InputPassword/types.d.ts +21 -0
- package/dist/types/components/InputPhone/InputPhone.vue.d.ts +44 -0
- package/dist/types/components/InputPhone/index.d.ts +4 -0
- package/dist/types/components/InputPhone/plugin.d.ts +3 -0
- package/dist/types/components/InputPhone/types.d.ts +13 -0
- package/dist/types/components/InputPrice/InputPrice.story.d.ts +13 -0
- package/dist/types/components/InputPrice/InputPrice.vue.d.ts +25 -0
- package/dist/types/components/InputPrice/index.d.ts +4 -0
- package/dist/types/components/InputPrice/plugin.d.ts +3 -0
- package/dist/types/components/InputPrice/service.d.ts +7 -0
- package/dist/types/components/InputPrice/service.test.d.ts +1 -0
- package/dist/types/components/InputPrice/types.d.ts +12 -0
- package/dist/types/components/InputRadio/InputRadio.vue.d.ts +12 -0
- package/dist/types/components/InputRadio/InputRadioGroup.story.d.ts +11 -0
- package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +42 -0
- package/dist/types/components/InputRadio/index.d.ts +4 -0
- package/dist/types/components/InputRadio/plugin.d.ts +3 -0
- package/dist/types/components/InputRadio/types.d.ts +12 -0
- package/dist/types/components/InputSelect/InputSelect.story.d.ts +46 -0
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +2032 -0
- package/dist/types/components/InputSelect/index.d.ts +4 -0
- package/dist/types/components/InputSelect/plugin.d.ts +3 -0
- package/dist/types/components/InputSelect/types.d.ts +85 -0
- package/dist/types/components/InputSwitch/InputSwitch.story.d.ts +27 -0
- package/dist/types/components/InputSwitch/InputSwitch.vue.d.ts +39 -0
- package/dist/types/components/InputSwitch/index.d.ts +4 -0
- package/dist/types/components/InputSwitch/plugin.d.ts +3 -0
- package/dist/types/components/InputSwitch/types.d.ts +10 -0
- package/dist/types/components/InputText/InputText.story.d.ts +21 -0
- package/dist/types/components/InputText/InputText.vue.d.ts +67 -0
- package/dist/types/components/InputText/index.d.ts +4 -0
- package/dist/types/components/InputText/plugin.d.ts +3 -0
- package/dist/types/components/InputText/types.d.ts +16 -0
- package/dist/types/components/InputTextarea/InputTextarea.vue.d.ts +41 -0
- package/dist/types/components/InputTextarea/index.d.ts +4 -0
- package/dist/types/components/InputTextarea/plugin.d.ts +3 -0
- package/dist/types/components/InputTextarea/types.d.ts +10 -0
- package/dist/types/components/Link/Link.story.d.ts +20 -0
- package/dist/types/components/Link/Link.vue.d.ts +50 -0
- package/dist/types/components/Link/index.d.ts +4 -0
- package/dist/types/components/Link/plugin.d.ts +3 -0
- package/dist/types/components/Link/types.d.ts +10 -0
- package/dist/types/components/Modal/Modal.story.d.ts +21 -0
- package/dist/types/components/Modal/Modal.vue.d.ts +78 -0
- package/dist/types/components/Modal/index.d.ts +4 -0
- package/dist/types/components/Modal/plugin.d.ts +3 -0
- package/dist/types/components/Modal/types.d.ts +37 -0
- package/dist/types/components/ModalForm/ModalForm.story.d.ts +34 -0
- package/dist/types/components/ModalForm/ModalForm.vue.d.ts +58 -0
- package/dist/types/components/ModalForm/index.d.ts +4 -0
- package/dist/types/components/ModalForm/plugin.d.ts +3 -0
- package/dist/types/components/ModalForm/types.d.ts +20 -0
- package/dist/types/components/Pagination/Pagination.story.d.ts +16 -0
- package/dist/types/components/Pagination/Pagination.vue.d.ts +50 -0
- package/dist/types/components/Pagination/index.d.ts +4 -0
- package/dist/types/components/Pagination/plugin.d.ts +3 -0
- package/dist/types/components/Pagination/types.d.ts +7 -0
- package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +48 -0
- package/dist/types/components/Popconfirm/index.d.ts +4 -0
- package/dist/types/components/Popconfirm/plugin.d.ts +3 -0
- package/dist/types/components/Popconfirm/types.d.ts +8 -0
- package/dist/types/components/Popover/Popover.story.d.ts +15 -0
- package/dist/types/components/Popover/Popover.vue.d.ts +70 -0
- package/dist/types/components/Popover/index.d.ts +4 -0
- package/dist/types/components/Popover/plugin.d.ts +3 -0
- package/dist/types/components/Popover/types.d.ts +17 -0
- package/dist/types/components/ProgressCircle/ProgressCircle.story.d.ts +15 -0
- package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +50 -0
- package/dist/types/components/ProgressCircle/index.d.ts +4 -0
- package/dist/types/components/ProgressCircle/plugin.d.ts +3 -0
- package/dist/types/components/ProgressCircle/types.d.ts +7 -0
- package/dist/types/components/ProgressLine/ProgressLine.story.d.ts +14 -0
- package/dist/types/components/ProgressLine/ProgressLine.vue.d.ts +77 -0
- package/dist/types/components/ProgressLine/index.d.ts +4 -0
- package/dist/types/components/ProgressLine/plugin.d.ts +3 -0
- package/dist/types/components/ProgressLine/types.d.ts +18 -0
- package/dist/types/components/Range/Range.story.d.ts +56 -0
- package/dist/types/components/Range/Range.vue.d.ts +50 -0
- package/dist/types/components/Range/index.d.ts +4 -0
- package/dist/types/components/Range/plugin.d.ts +3 -0
- package/dist/types/components/Range/types.d.ts +12 -0
- package/dist/types/components/SensitiveInfo/SensitiveInfo.vue.d.ts +22 -0
- package/dist/types/components/SensitiveInfo/index.d.ts +4 -0
- package/dist/types/components/SensitiveInfo/plugin.d.ts +3 -0
- package/dist/types/components/SensitiveInfo/types.d.ts +3 -0
- package/dist/types/components/Skeleton/Skeleton.vue.d.ts +31 -0
- package/dist/types/components/Skeleton/index.d.ts +4 -0
- package/dist/types/components/Skeleton/plugin.d.ts +3 -0
- package/dist/types/components/Skeleton/types.d.ts +4 -0
- package/dist/types/components/Tab/Tab.story.d.ts +15 -0
- package/dist/types/components/Tab/Tab.vue.d.ts +48 -0
- package/dist/types/components/Tab/index.d.ts +4 -0
- package/dist/types/components/Tab/plugin.d.ts +3 -0
- package/dist/types/components/Tab/types.d.ts +9 -0
- package/dist/types/components/Table/Table.story.d.ts +30 -0
- package/dist/types/components/Table/Table.vue.d.ts +34 -0
- package/dist/types/components/Table/index.d.ts +4 -0
- package/dist/types/components/Table/plugin.d.ts +3 -0
- package/dist/types/components/Table/types.d.ts +19 -0
- package/dist/types/components/Tag/Tag.story.d.ts +28 -0
- package/dist/types/components/Tag/Tag.vue.d.ts +58 -0
- package/dist/types/components/Tag/index.d.ts +4 -0
- package/dist/types/components/Tag/plugin.d.ts +3 -0
- package/dist/types/components/Tag/types.d.ts +13 -0
- package/dist/types/components/Toast/Toast.vue.d.ts +16 -0
- package/dist/types/components/Toast/index.d.ts +4 -0
- package/dist/types/components/Toast/plugin.d.ts +3 -0
- package/dist/types/components/Toast/types.d.ts +7 -0
- package/dist/types/components/index.d.ts +48 -0
- package/dist/types/components/plugins.d.ts +48 -0
- package/dist/types/components/types.d.ts +46 -0
- package/dist/types/composables/index.d.ts +6 -0
- package/dist/types/composables/useBreakpoints.d.ts +5 -0
- package/dist/types/composables/useClipboard.d.ts +3 -0
- package/dist/types/composables/useDialog.d.ts +466 -0
- package/dist/types/composables/useDomHelpers.d.ts +3 -0
- package/dist/types/composables/useRender.d.ts +2 -0
- package/dist/types/enums/form.d.ts +24 -0
- package/dist/types/enums/index.d.ts +3 -0
- package/dist/types/enums/ui.d.ts +241 -0
- package/dist/types/form/convertors.d.ts +3 -0
- package/dist/types/form/crud.d.ts +27 -0
- package/dist/types/form/form-data-transformers.d.ts +3 -0
- package/dist/types/form/form-transformer.d.ts +6 -0
- package/dist/types/form/form-transformer.test.d.ts +1 -0
- package/dist/types/form/index.d.ts +3 -0
- package/dist/types/form/json-transformers.d.ts +4 -0
- package/dist/types/form/transformers.d.ts +8 -0
- package/dist/types/form/useForm.d.ts +18 -0
- package/dist/types/form/useForm.test.d.ts +1 -0
- package/dist/types/i18n.d.ts +21 -0
- package/dist/types/index.d.ts +8 -6
- package/dist/types/mocks/countries.d.ts +14 -0
- package/dist/types/plugins/register-component.d.ts +3 -0
- package/dist/types/services/date.d.ts +2 -0
- package/dist/types/services/password.d.ts +5 -0
- package/dist/types/services/password.test.d.ts +1 -0
- package/dist/types/types/index.d.ts +6 -0
- package/dist/types/vitest.setup.d.ts +1 -0
- package/dist/ui-BhUbt2C5.js +28 -0
- package/package.json +6 -5
- package/dist/ui-DkIu_nwk.js +0 -28
- /package/dist/types/{address.d.ts → types/address.d.ts} +0 -0
- /package/dist/types/{api.d.ts → types/api.d.ts} +0 -0
- /package/dist/types/{common.d.ts → types/common.d.ts} +0 -0
- /package/dist/types/{form.d.ts → types/form.d.ts} +0 -0
- /package/dist/types/{ui.d.ts → types/ui.d.ts} +0 -0
- /package/dist/types/{website.d.ts → types/website.d.ts} +0 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
export declare enum ElementSize {
|
|
2
|
+
Unset = "",
|
|
3
|
+
ExtraSmall = "xs",
|
|
4
|
+
Small = "sm",
|
|
5
|
+
Default = "default",
|
|
6
|
+
Large = "lg",
|
|
7
|
+
ExtraLarge = "xl"
|
|
8
|
+
}
|
|
9
|
+
export declare enum ElementShape {
|
|
10
|
+
Unset = "",
|
|
11
|
+
Square = "square",
|
|
12
|
+
Rounded = "rounded",
|
|
13
|
+
Circle = "circle"
|
|
14
|
+
}
|
|
15
|
+
export declare enum ElementTrigger {
|
|
16
|
+
CLICK = "click",
|
|
17
|
+
HOVER = "hover",
|
|
18
|
+
CONTEXT_MENU = "context-menu"
|
|
19
|
+
}
|
|
20
|
+
export declare enum ElementPosition {
|
|
21
|
+
TOP_START = "top-start",
|
|
22
|
+
TOP = "top",
|
|
23
|
+
TOP_END = "top-end",
|
|
24
|
+
RIGHT_START = "right-start",
|
|
25
|
+
RIGHT = "right",
|
|
26
|
+
RIGHT_END = "right-end",
|
|
27
|
+
BOTTOM_END = "bottom-end",
|
|
28
|
+
BOTTOM = "bottom",
|
|
29
|
+
BOTTOM_START = "bottom-start",
|
|
30
|
+
LEFT_END = "left-end",
|
|
31
|
+
LEFT = "left",
|
|
32
|
+
LEFT_START = "left-start",
|
|
33
|
+
ACTIVATION_POSITION = "activation-position"
|
|
34
|
+
}
|
|
35
|
+
export declare enum FormControlSize {
|
|
36
|
+
Small = "sm",
|
|
37
|
+
Default = "default"
|
|
38
|
+
}
|
|
39
|
+
export declare enum ToastVariant {
|
|
40
|
+
DEFAULT = "default",
|
|
41
|
+
PRIMARY = "primary",
|
|
42
|
+
SUCCESS = "success",
|
|
43
|
+
DANGER = "danger",
|
|
44
|
+
WARNING = "warning"
|
|
45
|
+
}
|
|
46
|
+
export declare enum ButtonType {
|
|
47
|
+
BUTTON = "button",
|
|
48
|
+
SUBMIT = "submit",
|
|
49
|
+
FILE = "file"
|
|
50
|
+
}
|
|
51
|
+
export declare enum ButtonVariant {
|
|
52
|
+
Unset = "",
|
|
53
|
+
DEFAULT = "default",
|
|
54
|
+
PRIMARY = "primary",
|
|
55
|
+
SUCCESS = "success",
|
|
56
|
+
DANGER = "danger",
|
|
57
|
+
WARNING = "warning",
|
|
58
|
+
LINK = "link",
|
|
59
|
+
TRANSPARENT = "transparent"
|
|
60
|
+
}
|
|
61
|
+
export declare enum ButtonInnerAlignment {
|
|
62
|
+
Unset = "",
|
|
63
|
+
Left = "left",
|
|
64
|
+
Center = "center"
|
|
65
|
+
}
|
|
66
|
+
export declare enum LinkType {
|
|
67
|
+
Default = "default",
|
|
68
|
+
Router = "router"
|
|
69
|
+
}
|
|
70
|
+
export declare enum GraphyPriceVariant {
|
|
71
|
+
DEFAULT = "default",
|
|
72
|
+
INCREASE = "increase",
|
|
73
|
+
DECREASE = "decrease",
|
|
74
|
+
AUTO = "auto"
|
|
75
|
+
}
|
|
76
|
+
export declare enum Icon {
|
|
77
|
+
Account = "account",
|
|
78
|
+
AccountBox = "account-box",
|
|
79
|
+
AccountBoxOutline = "account-box-outline",
|
|
80
|
+
AccountCircle = "account-circle",
|
|
81
|
+
AccountCircleOutline = "account-circle-outline",
|
|
82
|
+
AccountGroup = "account-group",
|
|
83
|
+
AccountGroupOutline = "account-group-outline",
|
|
84
|
+
AccountMultiple = "account-multiple",
|
|
85
|
+
AccountMultipleOutline = "account-multiple-outline",
|
|
86
|
+
AccountOutline = "account-outline",
|
|
87
|
+
AlertOctagon = "alert-octagon",
|
|
88
|
+
AlertOctagonOutline = "alert-octagon-outline",
|
|
89
|
+
Api = "api",
|
|
90
|
+
Apps = "apps",
|
|
91
|
+
Archive = "archive",
|
|
92
|
+
ArchiveOutline = "archive-outline",
|
|
93
|
+
ArrowLeft = "arrow-left",
|
|
94
|
+
ArrowRight = "arrow-right",
|
|
95
|
+
Bank = "bank",
|
|
96
|
+
BankOutline = "bank-outline",
|
|
97
|
+
BookAlphabet = "book-alphabet",
|
|
98
|
+
BookMultiple = "book-multiple",
|
|
99
|
+
BookMultipleOutline = "book-multiple-outline",
|
|
100
|
+
Bookshelf = "bookshelf",
|
|
101
|
+
Bucket = "bucket",
|
|
102
|
+
BucketOutline = "bucket-outline",
|
|
103
|
+
Camera = "camera",
|
|
104
|
+
CardsOutline = "cards-outline",
|
|
105
|
+
CardsVariant = "cards-variant",
|
|
106
|
+
CartOutline = "cart-outline",
|
|
107
|
+
ChartBox = "chart-box",
|
|
108
|
+
ChartBoxOutline = "chart-box-outline",
|
|
109
|
+
Check = "check",
|
|
110
|
+
CheckCircle = "check-circle",
|
|
111
|
+
CheckCircleOutline = "check-circle-outline",
|
|
112
|
+
ChevronDown = "chevron-down",
|
|
113
|
+
ChevronLeft = "chevron-left",
|
|
114
|
+
ChevronRight = "chevron-right",
|
|
115
|
+
ChevronUp = "chevron-up",
|
|
116
|
+
Circle = "circle",
|
|
117
|
+
Clock = "clock",
|
|
118
|
+
ClockFast = "clock-fast",
|
|
119
|
+
ClockOutline = "clock-outline",
|
|
120
|
+
Close = "close",
|
|
121
|
+
CloseCircle = "close-circle",
|
|
122
|
+
CloseCircleOutline = "close-circle-outline",
|
|
123
|
+
CodeBraces = "code-braces",
|
|
124
|
+
Cog = "cog",
|
|
125
|
+
Contacts = "contacts",
|
|
126
|
+
ContactsOutline = "contacts-outline",
|
|
127
|
+
Copy = "copy",
|
|
128
|
+
CreditCard = "credit-card",
|
|
129
|
+
CreditCardPlus = "credit-card-plus",
|
|
130
|
+
Currency = "currency",
|
|
131
|
+
Database = "database",
|
|
132
|
+
DatabaseOutline = "database-outline",
|
|
133
|
+
DatabaseSearch = "database-search",
|
|
134
|
+
DotsGrid = "dots-grid",
|
|
135
|
+
DotsHorizontal = "dots-horizontal",
|
|
136
|
+
DotsVertical = "dots-vertical",
|
|
137
|
+
Download = "download",
|
|
138
|
+
DownloadBox = "download-box",
|
|
139
|
+
DownloadBoxOutline = "download-box-outline",
|
|
140
|
+
EmailOpenOutline = "email-open-outline",
|
|
141
|
+
EmailOutline = "email-outline",
|
|
142
|
+
Eye = "eye",
|
|
143
|
+
EyeOff = "eye-off",
|
|
144
|
+
FileDocumentPlusOutline = "file-document-plus-outline",
|
|
145
|
+
Filmstrip = "filmstrip",
|
|
146
|
+
Filter = "filter",
|
|
147
|
+
Fullscreen = "fullscreen",
|
|
148
|
+
FullscreenExit = "fullscreen-exit",
|
|
149
|
+
Git = "git",
|
|
150
|
+
Graphql = "graphql",
|
|
151
|
+
Group = "group",
|
|
152
|
+
Home = "home",
|
|
153
|
+
HomeOutline = "home-outline",
|
|
154
|
+
Image = "image",
|
|
155
|
+
ImageAlbum = "image-album",
|
|
156
|
+
ImageAlbumOutline = "image-album-outline",
|
|
157
|
+
ImageOutline = "image-outline",
|
|
158
|
+
InfoOutline = "info-outline",
|
|
159
|
+
Key = "key",
|
|
160
|
+
KeyChain = "key-chain",
|
|
161
|
+
KeyVariant = "key-variant",
|
|
162
|
+
Label = "label",
|
|
163
|
+
LabelOutline = "label-outline",
|
|
164
|
+
ListboxOutline = "listbox-outline",
|
|
165
|
+
Loading = "loading",
|
|
166
|
+
Lock = "lock",
|
|
167
|
+
LockOutline = "lock-outline",
|
|
168
|
+
Logout = "logout",
|
|
169
|
+
Menu = "menu",
|
|
170
|
+
MenuDown = "menu-down",
|
|
171
|
+
MenuLeft = "menu-left",
|
|
172
|
+
MenuRight = "menu-right",
|
|
173
|
+
Minus = "minus",
|
|
174
|
+
MinusCircle = "minus-circle",
|
|
175
|
+
MinusCircleOutline = "minus-circle-outline",
|
|
176
|
+
Moon = "moon",
|
|
177
|
+
MovieOpen = "movie-open",
|
|
178
|
+
MovieOpenOutline = "movie-open-outline",
|
|
179
|
+
OpenInNew = "open-in-new",
|
|
180
|
+
Pause = "pause",
|
|
181
|
+
PauseCircle = "pause-circle",
|
|
182
|
+
Pencil = "pencil",
|
|
183
|
+
PiggyBankOutline = "piggy-bank-outline",
|
|
184
|
+
Play = "play",
|
|
185
|
+
PlayBox = "play-box",
|
|
186
|
+
PlayBoxEditOutline = "play-box-edit-outline",
|
|
187
|
+
PlayBoxOutline = "play-box-outline",
|
|
188
|
+
PlayCircle = "play-circle",
|
|
189
|
+
PlaylistPlay = "playlist-play",
|
|
190
|
+
Plus = "plus",
|
|
191
|
+
PlusCircle = "plus-circle",
|
|
192
|
+
PlusCircleOutline = "plus-circle-outline",
|
|
193
|
+
ProgressClock = "progress-clock",
|
|
194
|
+
QrcodeScan = "qrcode-scan",
|
|
195
|
+
Refresh = "refresh",
|
|
196
|
+
Replay = "replay",
|
|
197
|
+
Save = "save",
|
|
198
|
+
Search = "search",
|
|
199
|
+
Shuffle = "shuffle",
|
|
200
|
+
ShuffleDisabled = "shuffle-disabled",
|
|
201
|
+
ShuffleVariant = "shuffle-variant",
|
|
202
|
+
SkipBackward = "skip-backward",
|
|
203
|
+
SkipForward = "skip-forward",
|
|
204
|
+
SkipNext = "skip-next",
|
|
205
|
+
SkipPrevious = "skip-previous",
|
|
206
|
+
SourceRepository = "source-repository",
|
|
207
|
+
Spotlight = "spotlight",
|
|
208
|
+
Stop = "stop",
|
|
209
|
+
Store = "store",
|
|
210
|
+
StoreOutline = "store-outline",
|
|
211
|
+
Sun = "sun",
|
|
212
|
+
Swap = "swap",
|
|
213
|
+
SwapHorizontal = "swap-horizontal",
|
|
214
|
+
SwapLeft = "swap-left",
|
|
215
|
+
SwapRight = "swap-right",
|
|
216
|
+
SystemTheme = "system-theme",
|
|
217
|
+
Tag = "tag",
|
|
218
|
+
TagEdit = "tag-edit",
|
|
219
|
+
TagEditOutline = "tag-edit-outline",
|
|
220
|
+
TagOutline = "tag-outline",
|
|
221
|
+
Text = "text",
|
|
222
|
+
TextBox = "text-box",
|
|
223
|
+
TextBoxMultiple = "text-box-multiple",
|
|
224
|
+
TextBoxMultipleOutline = "text-box-multiple-outline",
|
|
225
|
+
TextBoxOutline = "text-box-outline",
|
|
226
|
+
TextLong = "text-long",
|
|
227
|
+
TimerOutline = "timer-outline",
|
|
228
|
+
TimerRefreshOutline = "timer-refresh-outline",
|
|
229
|
+
TrashCan = "trash-can",
|
|
230
|
+
TrashCanOutline = "trash-can-outline",
|
|
231
|
+
TrayArrowDown = "tray-arrow-down",
|
|
232
|
+
Ungroup = "ungroup",
|
|
233
|
+
Upload = "upload",
|
|
234
|
+
UploadBoxOutline = "upload-box-outline",
|
|
235
|
+
UploadMultipleOutline = "upload-multiple-outline",
|
|
236
|
+
UploadOutline = "upload-outline",
|
|
237
|
+
Video = "video",
|
|
238
|
+
VideoOutline = "video-outline",
|
|
239
|
+
Web = "web",
|
|
240
|
+
ZipBox = "zip-box"
|
|
241
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { default as ModalForm } from '../components/ModalForm/ModalForm.vue';
|
|
2
|
+
import { ComponentExposed } from 'vue-component-type-helpers';
|
|
3
|
+
import { FormStates } from '../enums/form.js';
|
|
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: ComponentExposed<typeof ModalForm> | undefined;
|
|
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(): Promise<void>;
|
|
24
|
+
onSave(close?: boolean): void;
|
|
25
|
+
delete(): void;
|
|
26
|
+
onDelete(close?: boolean): void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { FormDataTypes, FormSubmissionFormat } from '../enums/form.js';
|
|
2
|
+
import { FormDataForm, TransformedForm } from '../types/form.js';
|
|
3
|
+
export declare const formValueToFormDataValue: (schema: FormDataTypes, form: TransformedForm<FormSubmissionFormat.FormData>, value: any, key: string) => Promise<FormDataForm>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { FormSubmissionFormat } from '../enums/form.js';
|
|
2
|
+
import { JSONForm, FormSchema, FormInstance, FormDataForm } from '../types/form.js';
|
|
3
|
+
/**
|
|
4
|
+
* Transforms the form values to a format that conforms to the submission format
|
|
5
|
+
*/
|
|
6
|
+
export declare const transformForm: <F extends FormSubmissionFormat, S extends FormSchema>(form: FormInstance<S>, schema: S, format: F) => Promise<F extends FormSubmissionFormat.FormData ? FormDataForm : JSONForm>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Maybe } from '../types/common.js';
|
|
2
|
+
import { FormSubmissionFormat } from '../enums/form.js';
|
|
3
|
+
import { JSONForm, TransformedForm, FormSchemaValueMap } from '../types/form.js';
|
|
4
|
+
export declare const formValueToJSONFormValue: <T extends keyof FormSchemaValueMap>(schema: T, form: TransformedForm<FormSubmissionFormat.JSON>, value: Maybe<FormSchemaValueMap[T]>, key: string) => Promise<JSONForm>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Country } from '../types/address.js';
|
|
2
|
+
import { InputPriceModel } from '../components/InputPrice/types.js';
|
|
3
|
+
import { InputPasswordModel } from '../components/InputPassword/types.js';
|
|
4
|
+
declare const date: (date: Date) => string;
|
|
5
|
+
declare const price: (priceValue: InputPriceModel) => string[];
|
|
6
|
+
declare const country: (country?: Country) => string;
|
|
7
|
+
declare const password: (password?: InputPasswordModel) => string;
|
|
8
|
+
export { date, price, country, password };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Ref, UnwrapNestedRefs } from 'vue';
|
|
2
|
+
import { FormSchema, FormInstance } from '../types/form.js';
|
|
3
|
+
import { FormSubmissionFormat } from '../enums/form.js';
|
|
4
|
+
export default function useForm<TSchema extends FormSchema = FormSchema>(options: {
|
|
5
|
+
id?: Ref<string | number | undefined>;
|
|
6
|
+
schema: TSchema;
|
|
7
|
+
format?: FormSubmissionFormat;
|
|
8
|
+
}): {
|
|
9
|
+
form: UnwrapNestedRefs<FormInstance<TSchema>>;
|
|
10
|
+
setValue: <K extends keyof UnwrapNestedRefs<FormInstance<TSchema>>>(key: K, value: UnwrapNestedRefs<FormInstance<TSchema>>[K]) => void;
|
|
11
|
+
setValues: (values: Partial<FormInstance<TSchema>>) => void;
|
|
12
|
+
getValue: (key: keyof UnwrapNestedRefs<FormInstance<TSchema>>) => UnwrapNestedRefs<FormInstance<TSchema>>[keyof UnwrapNestedRefs<FormInstance<TSchema>>];
|
|
13
|
+
reset: () => void;
|
|
14
|
+
submit: () => Promise<{
|
|
15
|
+
isValid: boolean;
|
|
16
|
+
form: FormData | import('../types/form.js').JSONForm;
|
|
17
|
+
}>;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
USD: {
|
|
15
|
+
currency: {
|
|
16
|
+
style: "currency";
|
|
17
|
+
currency: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}, string, false>;
|
|
21
|
+
export default _default;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
type InstallableApp = {
|
|
2
|
+
use(plugin: unknown): unknown;
|
|
3
|
+
};
|
|
4
|
+
declare const plugin: {
|
|
5
|
+
install(app: InstallableApp): void;
|
|
6
|
+
};
|
|
7
|
+
export type * from './types/index.js';
|
|
8
|
+
export default plugin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//#region enums/ui.ts
|
|
2
|
+
var e = /* @__PURE__ */ function(e) {
|
|
3
|
+
return e.Unset = "", e.ExtraSmall = "xs", e.Small = "sm", e.Default = "default", e.Large = "lg", e.ExtraLarge = "xl", e;
|
|
4
|
+
}({}), t = /* @__PURE__ */ function(e) {
|
|
5
|
+
return e.Unset = "", e.Square = "square", e.Rounded = "rounded", e.Circle = "circle", e;
|
|
6
|
+
}({}), n = /* @__PURE__ */ function(e) {
|
|
7
|
+
return e.CLICK = "click", e.HOVER = "hover", e.CONTEXT_MENU = "context-menu", e;
|
|
8
|
+
}({}), r = /* @__PURE__ */ function(e) {
|
|
9
|
+
return e.TOP_START = "top-start", e.TOP = "top", e.TOP_END = "top-end", e.RIGHT_START = "right-start", e.RIGHT = "right", e.RIGHT_END = "right-end", e.BOTTOM_END = "bottom-end", e.BOTTOM = "bottom", e.BOTTOM_START = "bottom-start", e.LEFT_END = "left-end", e.LEFT = "left", e.LEFT_START = "left-start", e.ACTIVATION_POSITION = "activation-position", e;
|
|
10
|
+
}({}), i = /* @__PURE__ */ function(e) {
|
|
11
|
+
return e.Small = "sm", e.Default = "default", e;
|
|
12
|
+
}({}), a = /* @__PURE__ */ function(e) {
|
|
13
|
+
return e.DEFAULT = "default", e.PRIMARY = "primary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e;
|
|
14
|
+
}({}), o = /* @__PURE__ */ function(e) {
|
|
15
|
+
return e.BUTTON = "button", e.SUBMIT = "submit", e.FILE = "file", e;
|
|
16
|
+
}({}), s = /* @__PURE__ */ function(e) {
|
|
17
|
+
return e.Unset = "", e.DEFAULT = "default", e.PRIMARY = "primary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e.LINK = "link", e.TRANSPARENT = "transparent", e;
|
|
18
|
+
}({}), c = /* @__PURE__ */ function(e) {
|
|
19
|
+
return e.Unset = "", e.Left = "left", e.Center = "center", e;
|
|
20
|
+
}({}), l = /* @__PURE__ */ function(e) {
|
|
21
|
+
return e.Default = "default", e.Router = "router", e;
|
|
22
|
+
}({}), u = /* @__PURE__ */ function(e) {
|
|
23
|
+
return e.DEFAULT = "default", e.INCREASE = "increase", e.DECREASE = "decrease", e.AUTO = "auto", e;
|
|
24
|
+
}({}), d = /* @__PURE__ */ function(e) {
|
|
25
|
+
return e.Account = "account", e.AccountBox = "account-box", e.AccountBoxOutline = "account-box-outline", e.AccountCircle = "account-circle", e.AccountCircleOutline = "account-circle-outline", e.AccountGroup = "account-group", e.AccountGroupOutline = "account-group-outline", e.AccountMultiple = "account-multiple", e.AccountMultipleOutline = "account-multiple-outline", e.AccountOutline = "account-outline", e.AlertOctagon = "alert-octagon", e.AlertOctagonOutline = "alert-octagon-outline", e.Api = "api", e.Apps = "apps", e.Archive = "archive", e.ArchiveOutline = "archive-outline", e.ArrowLeft = "arrow-left", e.ArrowRight = "arrow-right", e.Bank = "bank", e.BankOutline = "bank-outline", e.BookAlphabet = "book-alphabet", e.BookMultiple = "book-multiple", e.BookMultipleOutline = "book-multiple-outline", e.Bookshelf = "bookshelf", e.Bucket = "bucket", e.BucketOutline = "bucket-outline", e.Camera = "camera", e.CardsOutline = "cards-outline", e.CardsVariant = "cards-variant", e.CartOutline = "cart-outline", e.ChartBox = "chart-box", e.ChartBoxOutline = "chart-box-outline", e.Check = "check", e.CheckCircle = "check-circle", e.CheckCircleOutline = "check-circle-outline", e.ChevronDown = "chevron-down", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.ChevronUp = "chevron-up", e.Circle = "circle", e.Clock = "clock", e.ClockFast = "clock-fast", e.ClockOutline = "clock-outline", e.Close = "close", e.CloseCircle = "close-circle", e.CloseCircleOutline = "close-circle-outline", e.CodeBraces = "code-braces", e.Cog = "cog", e.Contacts = "contacts", e.ContactsOutline = "contacts-outline", e.Copy = "copy", e.CreditCard = "credit-card", e.CreditCardPlus = "credit-card-plus", e.Currency = "currency", e.Database = "database", e.DatabaseOutline = "database-outline", e.DatabaseSearch = "database-search", e.DotsGrid = "dots-grid", e.DotsHorizontal = "dots-horizontal", e.DotsVertical = "dots-vertical", e.Download = "download", e.DownloadBox = "download-box", e.DownloadBoxOutline = "download-box-outline", e.EmailOpenOutline = "email-open-outline", e.EmailOutline = "email-outline", e.Eye = "eye", e.EyeOff = "eye-off", e.FileDocumentPlusOutline = "file-document-plus-outline", e.Filmstrip = "filmstrip", e.Filter = "filter", e.Fullscreen = "fullscreen", e.FullscreenExit = "fullscreen-exit", e.Git = "git", e.Graphql = "graphql", e.Group = "group", e.Home = "home", e.HomeOutline = "home-outline", e.Image = "image", e.ImageAlbum = "image-album", e.ImageAlbumOutline = "image-album-outline", e.ImageOutline = "image-outline", e.InfoOutline = "info-outline", e.Key = "key", e.KeyChain = "key-chain", e.KeyVariant = "key-variant", e.Label = "label", e.LabelOutline = "label-outline", e.ListboxOutline = "listbox-outline", e.Loading = "loading", e.Lock = "lock", e.LockOutline = "lock-outline", e.Logout = "logout", e.Menu = "menu", e.MenuDown = "menu-down", e.MenuLeft = "menu-left", e.MenuRight = "menu-right", e.Minus = "minus", e.MinusCircle = "minus-circle", e.MinusCircleOutline = "minus-circle-outline", e.Moon = "moon", e.MovieOpen = "movie-open", e.MovieOpenOutline = "movie-open-outline", e.OpenInNew = "open-in-new", e.Pause = "pause", e.PauseCircle = "pause-circle", e.Pencil = "pencil", e.PiggyBankOutline = "piggy-bank-outline", e.Play = "play", e.PlayBox = "play-box", e.PlayBoxEditOutline = "play-box-edit-outline", e.PlayBoxOutline = "play-box-outline", e.PlayCircle = "play-circle", e.PlaylistPlay = "playlist-play", e.Plus = "plus", e.PlusCircle = "plus-circle", e.PlusCircleOutline = "plus-circle-outline", e.ProgressClock = "progress-clock", e.QrcodeScan = "qrcode-scan", e.Refresh = "refresh", e.Replay = "replay", e.Save = "save", e.Search = "search", e.Shuffle = "shuffle", e.ShuffleDisabled = "shuffle-disabled", e.ShuffleVariant = "shuffle-variant", e.SkipBackward = "skip-backward", e.SkipForward = "skip-forward", e.SkipNext = "skip-next", e.SkipPrevious = "skip-previous", e.SourceRepository = "source-repository", e.Spotlight = "spotlight", e.Stop = "stop", e.Store = "store", e.StoreOutline = "store-outline", e.Sun = "sun", e.Swap = "swap", e.SwapHorizontal = "swap-horizontal", e.SwapLeft = "swap-left", e.SwapRight = "swap-right", e.SystemTheme = "system-theme", e.Tag = "tag", e.TagEdit = "tag-edit", e.TagEditOutline = "tag-edit-outline", e.TagOutline = "tag-outline", e.Text = "text", e.TextBox = "text-box", e.TextBoxMultiple = "text-box-multiple", e.TextBoxMultipleOutline = "text-box-multiple-outline", e.TextBoxOutline = "text-box-outline", e.TextLong = "text-long", e.TimerOutline = "timer-outline", e.TimerRefreshOutline = "timer-refresh-outline", e.TrashCan = "trash-can", e.TrashCanOutline = "trash-can-outline", e.TrayArrowDown = "tray-arrow-down", e.Ungroup = "ungroup", e.Upload = "upload", e.UploadBoxOutline = "upload-box-outline", e.UploadMultipleOutline = "upload-multiple-outline", e.UploadOutline = "upload-outline", e.Video = "video", e.VideoOutline = "video-outline", e.Web = "web", e.ZipBox = "zip-box", e;
|
|
26
|
+
}({});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { t as a, i as c, l as d, a as f, r as i, u as l, o as n, e as o, s as r, n as s, c as t, d as u };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caipira/tamandua",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.117",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UI library for the Caipira ecosystem",
|
|
6
6
|
"license": "GPL-3.0-only",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
},
|
|
60
60
|
"./form": {
|
|
61
61
|
"types": "./dist/types/form/index.d.ts",
|
|
62
|
-
"import": "./dist/
|
|
62
|
+
"import": "./dist/form.js"
|
|
63
63
|
},
|
|
64
64
|
"./date": {
|
|
65
65
|
"types": "./dist/types/services/date.d.ts",
|
|
@@ -86,14 +86,14 @@
|
|
|
86
86
|
"scripts": {
|
|
87
87
|
"start": "vite --host",
|
|
88
88
|
"build:dev": "vite build --mode development",
|
|
89
|
-
"build
|
|
89
|
+
"build": "vite build --mode production",
|
|
90
90
|
"preview": "vite preview",
|
|
91
91
|
"test:start": "vitest",
|
|
92
92
|
"test": "vitest --run",
|
|
93
93
|
"typecheck": "vue-tsc --noEmit -p tsconfig.json --composite false",
|
|
94
94
|
"start:sb": "storybook dev -p 3001",
|
|
95
95
|
"build:sb": "storybook build",
|
|
96
|
-
"prepublishOnly": "npm run build
|
|
96
|
+
"prepublishOnly": "npm run build"
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
99
|
"@floating-ui/vue": "^1.0.6",
|
|
@@ -120,14 +120,15 @@
|
|
|
120
120
|
"@types/jsdom": "^21.1.6",
|
|
121
121
|
"@types/node": "^20.11.30",
|
|
122
122
|
"@vitejs/plugin-vue": "^6.0.7",
|
|
123
|
+
"@vue/language-core": "^3.3.5",
|
|
123
124
|
"@vue/test-utils": "^2.4.1",
|
|
124
125
|
"@vue/tsconfig": "^0.5.1",
|
|
125
126
|
"jsdom": "^26.0.0",
|
|
126
127
|
"storybook": "^10.0.5",
|
|
127
128
|
"ts-node": "^10.9.1",
|
|
128
129
|
"typescript": "^5.4.5",
|
|
130
|
+
"unplugin-dts": "^1.0.3",
|
|
129
131
|
"vite": "^8.1.0",
|
|
130
|
-
"vite-plugin-dts": "^5.0.3",
|
|
131
132
|
"vite-plugin-lib-inject-css": "^2.0.1",
|
|
132
133
|
"vite-tsconfig-paths": "^4.2.0",
|
|
133
134
|
"vitest": "^3.0.8",
|
package/dist/ui-DkIu_nwk.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
//#region enums/ui.ts
|
|
2
|
-
var e = /* @__PURE__ */ function(e) {
|
|
3
|
-
return e.Unset = "", e.ExtraSmall = "xs", e.Small = "sm", e.Default = "default", e.Large = "lg", e.ExtraLarge = "xl", e;
|
|
4
|
-
}({}), t = /* @__PURE__ */ function(e) {
|
|
5
|
-
return e.Unset = "", e.Square = "square", e.Rounded = "rounded", e.Circle = "circle", e;
|
|
6
|
-
}({}), n = /* @__PURE__ */ function(e) {
|
|
7
|
-
return e.CLICK = "click", e.HOVER = "hover", e.CONTEXT_MENU = "context-menu", e;
|
|
8
|
-
}({}), r = /* @__PURE__ */ function(e) {
|
|
9
|
-
return e.TOP_START = "top-start", e.TOP = "top", e.TOP_END = "top-end", e.RIGHT_START = "right-start", e.RIGHT = "right", e.RIGHT_END = "right-end", e.BOTTOM_END = "bottom-end", e.BOTTOM = "bottom", e.BOTTOM_START = "bottom-start", e.LEFT_END = "left-end", e.LEFT = "left", e.LEFT_START = "left-start", e.ACTIVATION_POSITION = "activation-position", e;
|
|
10
|
-
}({}), i = /* @__PURE__ */ function(e) {
|
|
11
|
-
return e.Small = "sm", e.Default = "default", e;
|
|
12
|
-
}({}), a = /* @__PURE__ */ function(e) {
|
|
13
|
-
return e.DEFAULT = "default", e.PRIMARY = "primary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e;
|
|
14
|
-
}({}), o = /* @__PURE__ */ function(e) {
|
|
15
|
-
return e.BUTTON = "button", e.SUBMIT = "submit", e.FILE = "file", e;
|
|
16
|
-
}({}), s = /* @__PURE__ */ function(e) {
|
|
17
|
-
return e.Unset = "", e.DEFAULT = "default", e.PRIMARY = "primary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e.LINK = "link", e.TRANSPARENT = "transparent", e;
|
|
18
|
-
}({}), c = /* @__PURE__ */ function(e) {
|
|
19
|
-
return e.Unset = "", e.Left = "left", e.Center = "center", e;
|
|
20
|
-
}({}), l = /* @__PURE__ */ function(e) {
|
|
21
|
-
return e.Default = "default", e.Router = "router", e;
|
|
22
|
-
}({}), u = /* @__PURE__ */ function(e) {
|
|
23
|
-
return e.DEFAULT = "default", e.INCREASE = "increase", e.DECREASE = "decrease", e.AUTO = "auto", e;
|
|
24
|
-
}({}), d = /* @__PURE__ */ function(e) {
|
|
25
|
-
return e.Account = "account", e.AccountBox = "account-box", e.AccountBoxOutline = "account-box-outline", e.AccountCircle = "account-circle", e.AccountCircleOutline = "account-circle-outline", e.AccountGroup = "account-group", e.AccountGroupOutline = "account-group-outline", e.AccountMultiple = "account-multiple", e.AccountMultipleOutline = "account-multiple-outline", e.AccountOutline = "account-outline", e.AlertOctagon = "alert-octagon", e.AlertOctagonOutline = "alert-octagon-outline", e.Api = "api", e.Apps = "apps", e.Archive = "archive", e.ArchiveOutline = "archive-outline", e.ArrowLeft = "arrow-left", e.ArrowRight = "arrow-right", e.Bank = "bank", e.BankOutline = "bank-outline", e.BookAlphabet = "book-alphabet", e.BookMultiple = "book-multiple", e.BookMultipleOutline = "book-multiple-outline", e.Bookshelf = "bookshelf", e.Bucket = "bucket", e.BucketOutline = "bucket-outline", e.Camera = "camera", e.CardsOutline = "cards-outline", e.CardsVariant = "cards-variant", e.CartOutline = "cart-outline", e.ChartBox = "chart-box", e.ChartBoxOutline = "chart-box-outline", e.Check = "check", e.CheckCircle = "check-circle", e.CheckCircleOutline = "check-circle-outline", e.ChevronDown = "chevron-down", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.ChevronUp = "chevron-up", e.Circle = "circle", e.Clock = "clock", e.ClockFast = "clock-fast", e.ClockOutline = "clock-outline", e.Close = "close", e.CloseCircle = "close-circle", e.CloseCircleOutline = "close-circle-outline", e.Cog = "cog", e.Contacts = "contacts", e.ContactsOutline = "contacts-outline", e.Copy = "copy", e.CreditCard = "credit-card", e.CreditCardPlus = "credit-card-plus", e.Currency = "currency", e.Database = "database", e.DatabaseOutline = "database-outline", e.DotsGrid = "dots-grid", e.DotsHorizontal = "dots-horizontal", e.DotsVertical = "dots-vertical", e.Download = "download", e.DownloadBox = "download-box", e.DownloadBoxOutline = "download-box-outline", e.EmailOpenOutline = "email-open-outline", e.EmailOutline = "email-outline", e.Eye = "eye", e.EyeOff = "eye-off", e.FIleDocumentPlusOutline = "file-document-plus-outline", e.Filmstrip = "filmstrip", e.Filter = "filter", e.Fullscreen = "fullscreen", e.FullscreenExit = "fullscreen-exit", e.Git = "git", e.Group = "group", e.Home = "home", e.HomeOutline = "home-outline", e.Image = "image", e.ImageAlbum = "image-album", e.ImageAlbumOutline = "image-album-outline", e.ImageOutline = "image-outline", e.InfoOutline = "info-outline", e.Key = "key", e.KeyChain = "key-chain", e.KeyVariant = "key-variant", e.Label = "label", e.LabelOutline = "label-outline", e.ListboxOutline = "listbox-outline", e.Loading = "loading", e.Lock = "lock", e.LockOutline = "lock-outline", e.Logout = "logout", e.Menu = "menu", e.MenuDown = "menu-down", e.MenuLeft = "menu-left", e.MenuRight = "menu-right", e.Minus = "minus", e.MinusCircle = "minus-circle", e.MinusCircleOutline = "minus-circle-outline", e.Moon = "moon", e.MovieOpen = "movie-open", e.MovieOpenOutline = "movie-open-outline", e.OpenInNew = "open-in-new", e.Pause = "pause", e.PauseCircle = "pause-circle", e.Pencil = "pencil", e.PiggyBankOutline = "piggy-bank-outline", e.Play = "play", e.PlayBox = "play-box", e.PlayBoxEditOutline = "play-box-edit-outline", e.PlayBoxOutline = "play-box-outline", e.PlayCircle = "play-circle", e.PlaylistPlay = "playlist-play", e.Plus = "plus", e.PlusCircle = "plus-circle", e.PlusCircleOutline = "plus-circle-outline", e.ProgressClock = "progress-clock", e.QrcodeScan = "qrcode-scan", e.Refresh = "refresh", e.Replay = "replay", e.Save = "save", e.Search = "search", e.Shuffle = "shuffle", e.ShuffleDisabled = "shuffle-disabled", e.ShuffleVariant = "shuffle-variant", e.SkipBackward = "skip-backward", e.SkipForward = "skip-forward", e.SkipNext = "skip-next", e.SkipPrevious = "skip-previous", e.SourceRepository = "source-repository", e.Spotlight = "spotlight", e.Stop = "stop", e.Store = "store", e.StoreOutline = "store-outline", e.Sun = "sun", e.Swap = "swap", e.SwapHorizontal = "swap-horizontal", e.SwapLeft = "swap-left", e.SwapRight = "swap-right", e.SystemTheme = "system-theme", e.Tag = "tag", e.TagEdit = "tag-edit", e.TagEditOutline = "tag-edit-outline", e.TagOutline = "tag-outline", e.Text = "text", e.TextBox = "text-box", e.TextBoxMultiple = "text-box-multiple", e.TextBoxMultipleOutline = "text-box-multiple-outline", e.TextBoxOutline = "text-box-outline", e.TextLong = "text-long", e.TimerOutline = "timer-outline", e.TimerRefreshOutline = "timer-refresh-outline", e.TrashCan = "trash-can", e.TrashCanOutline = "trash-can-outline", e.TrayArrowDown = "tray-arrow-down", e.Ungroup = "ungroup", e.Upload = "upload", e.UploadBoxOutline = "upload-box-outline", e.UploadMultipleOutline = "upload-multiple-outline", e.UploadOutline = "upload-outline", e.Video = "video", e.VideoOutline = "video-outline", e.Web = "web", e.ZipBox = "zip-box", e;
|
|
26
|
-
}({});
|
|
27
|
-
//#endregion
|
|
28
|
-
export { t as a, i as c, l as d, a as f, r as i, u as l, o as n, e as o, s as r, n as s, c as t, d as u };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|