@caipira/tamandua 0.0.47 → 0.0.48

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.
@@ -1,5 +1,7 @@
1
1
  import { ElementSize, ElementPosition } from '../../enums/ui.js';
2
- import { InputSelectProps, InputSelectOption } from './types.js';
2
+ import { InputSelectProps, InputSelectOption, SelectValuePrimitives } from './types.js';
3
+ import { APISearchFilters } from '../../types/api.js';
4
+ import { Pagination } from '../../types/ui.js';
3
5
 
4
6
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputSelectProps>, {
5
7
  size: ElementSize;
@@ -51,7 +53,34 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
51
53
  borderClass: string;
52
54
  roundnessClass: string;
53
55
  }, {}>, {
54
- selection?(_: {}): any;
56
+ selection?(_: {
57
+ icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
58
+ label: string | object;
59
+ type?: string | undefined;
60
+ renderer?: string | undefined;
61
+ isGroupLabel: boolean;
62
+ value?: undefined;
63
+ action?: undefined;
64
+ } | {
65
+ icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
66
+ label: string | object;
67
+ type?: string | undefined;
68
+ renderer?: string | undefined;
69
+ value: SelectValuePrimitives | SelectValuePrimitives[];
70
+ action?: undefined;
71
+ isGroupLabel?: undefined;
72
+ } | {
73
+ icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
74
+ label: string | object;
75
+ type?: string | undefined;
76
+ renderer?: string | undefined;
77
+ action: (filters?: APISearchFilters | undefined) => void | Promise<void> | Promise<{
78
+ items: unknown[];
79
+ pagination: Pagination;
80
+ }>;
81
+ value?: undefined;
82
+ isGroupLabel?: undefined;
83
+ }): any;
55
84
  default?(_: any): any;
56
85
  }>;
57
86
  export default _default;
@@ -23,6 +23,7 @@ import { InputPassword } from './InputPassword/index.js';
23
23
  import { InputMultiplier } from './InputMultiplier/index.js';
24
24
  import { InputDate } from './InputDate/index.js';
25
25
  import { InputColor } from './InputColor/index.js';
26
+ import { InputCryptoCurrency } from './InputCryptoCurrency/index.js';
26
27
  import { InputCheckbox } from './InputCheckbox/index.js';
27
28
  import { InputAvatar } from './InputAvatar/index.js';
28
29
  import { Icon } from './Icon/index.js';
@@ -42,4 +43,4 @@ import { Button } from './Button/index.js';
42
43
  import { Backdrop } from './Backdrop/index.js';
43
44
  import { Avatar } from './Avatar/index.js';
44
45
 
45
- export { Avatar, Backdrop, Button, ChartLine, ChartTreemap, Drawer, Dropdown, FileDrop, Form, FormItem, GraphyEmpty, GraphyLabel, GraphyPrice, GraphySubtitle, GraphyTitle, Icon, InputAvatar, InputCheckbox, InputColor, InputDate, InputMultiplier, InputPassword, InputPhone, InputPrice, InputRadio, InputSelect, InputSwitch, InputText, InputTextarea, Link, Modal, ModalForm, Pagination, Popconfirm, Popover, ProgressCircle, ProgressLine, SensitiveInfo, Skeleton, Tab, Table, Tag, Toast, };
46
+ export { Avatar, Backdrop, Button, ChartLine, ChartTreemap, Drawer, Dropdown, FileDrop, Form, FormItem, GraphyEmpty, GraphyLabel, GraphyPrice, GraphySubtitle, GraphyTitle, Icon, InputAvatar, InputCheckbox, InputCryptoCurrency, InputColor, InputDate, InputMultiplier, InputPassword, InputPhone, InputPrice, InputRadio, InputSelect, InputSwitch, InputText, InputTextarea, Link, Modal, ModalForm, Pagination, Popconfirm, Popover, ProgressCircle, ProgressLine, SensitiveInfo, Skeleton, Tab, Table, Tag, Toast, };
@@ -23,6 +23,7 @@ import { InputPasswordPlugin } from './InputPassword/index.js';
23
23
  import { InputMultiplierPlugin } from './InputMultiplier/index.js';
24
24
  import { InputDatePlugin } from './InputDate/index.js';
25
25
  import { InputColorPlugin } from './InputColor/index.js';
26
+ import { InputCryptoCurrencyPlugin } from './InputCryptoCurrency/index.js';
26
27
  import { InputCheckboxPlugin } from './InputCheckbox/index.js';
27
28
  import { InputAvatarPlugin } from './InputAvatar/index.js';
28
29
  import { IconPlugin } from './Icon/index.js';
@@ -42,4 +43,4 @@ import { ButtonPlugin } from './Button/index.js';
42
43
  import { BackdropPlugin } from './Backdrop/index.js';
43
44
  import { AvatarPlugin } from './Avatar/index.js';
44
45
 
45
- export { AvatarPlugin, BackdropPlugin, ButtonPlugin, ChartLinePlugin, ChartTreemapPlugin, DrawerPlugin, DropdownPlugin, FileDropPlugin, FormPlugin, FormItemPlugin, GraphyEmptyPlugin, GraphyLabelPlugin, GraphyPricePlugin, GraphySubtitlePlugin, GraphyTitlePlugin, IconPlugin, InputAvatarPlugin, InputCheckboxPlugin, InputColorPlugin, InputDatePlugin, InputMultiplierPlugin, InputPasswordPlugin, InputPhonePlugin, InputPricePlugin, InputRadioPlugin, InputSelectPlugin, InputSwitchPlugin, InputTextPlugin, InputTextareaPlugin, LinkPlugin, ModalPlugin, ModalFormPlugin, PaginationPlugin, PopconfirmPlugin, PopoverPlugin, ProgressCirclePlugin, ProgressLinePlugin, SensitiveInfoPlugin, SkeletonPlugin, TabPlugin, TablePlugin, TagPlugin, ToastPlugin, };
46
+ export { AvatarPlugin, BackdropPlugin, ButtonPlugin, ChartLinePlugin, ChartTreemapPlugin, DrawerPlugin, DropdownPlugin, FileDropPlugin, FormPlugin, FormItemPlugin, GraphyEmptyPlugin, GraphyLabelPlugin, GraphyPricePlugin, GraphySubtitlePlugin, GraphyTitlePlugin, IconPlugin, InputAvatarPlugin, InputCheckboxPlugin, InputCryptoCurrencyPlugin, InputColorPlugin, InputDatePlugin, InputMultiplierPlugin, InputPasswordPlugin, InputPhonePlugin, InputPricePlugin, InputRadioPlugin, InputSelectPlugin, InputSwitchPlugin, InputTextPlugin, InputTextareaPlugin, LinkPlugin, ModalPlugin, ModalFormPlugin, PaginationPlugin, PopconfirmPlugin, PopoverPlugin, ProgressCirclePlugin, ProgressLinePlugin, SensitiveInfoPlugin, SkeletonPlugin, TabPlugin, TablePlugin, TagPlugin, ToastPlugin, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caipira/tamandua",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "private": false,
5
5
  "description": "UI library for the Caipira ecosystem",
6
6
  "license": "GPL-3.0-only",
package/volar.d.ts CHANGED
@@ -18,6 +18,7 @@ declare module "vue" {
18
18
  TIcon: (typeof import("@caipira/tamandua/dist/types/components/Icon"))["Icon"];
19
19
  TInputAvatar: (typeof import("@caipira/tamandua/dist/types/components/InputAvatar"))["InputAvatar"];
20
20
  TInputCheckbox: (typeof import("@caipira/tamandua/dist/types/components/InputCheckbox"))["InputCheckbox"];
21
+ TInputCryptoCurrency: (typeof import("@caipira/tamandua/dist/types/components/InputCryptoCurrency"))["InputCryptoCurrency"];
21
22
  TInputColor: (typeof import("@caipira/tamandua/dist/types/components/InputColor"))["InputColor"];
22
23
  TInputDate: (typeof import("@caipira/tamandua/dist/types/components/InputDate"))["InputDate"];
23
24
  TInputMultiplier: (typeof import("@caipira/tamandua/dist/types/components/InputMultiplier"))["InputMultiplier"];