@bitrix24/b24ui-nuxt 0.6.0 → 0.6.1
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/.nuxt/b24ui/advice.ts +10 -2
- package/.nuxt/b24ui/alert.ts +10 -2
- package/.nuxt/b24ui/avatar-group.ts +10 -2
- package/.nuxt/b24ui/avatar.ts +10 -2
- package/.nuxt/b24ui/badge.ts +10 -2
- package/.nuxt/b24ui/button-group.ts +10 -2
- package/.nuxt/b24ui/button.ts +16 -6
- package/.nuxt/b24ui/calendar.ts +10 -2
- package/.nuxt/b24ui/checkbox.ts +10 -2
- package/.nuxt/b24ui/chip.ts +10 -2
- package/.nuxt/b24ui/collapsible.ts +10 -2
- package/.nuxt/b24ui/container.ts +10 -2
- package/.nuxt/b24ui/countdown.ts +10 -2
- package/.nuxt/b24ui/description-list.ts +10 -2
- package/.nuxt/b24ui/dropdown-menu.ts +10 -2
- package/.nuxt/b24ui/form-field.ts +10 -2
- package/.nuxt/b24ui/form.ts +10 -2
- package/.nuxt/b24ui/input-menu.ts +10 -2
- package/.nuxt/b24ui/input-number.ts +10 -2
- package/.nuxt/b24ui/input.ts +10 -2
- package/.nuxt/b24ui/kbd.ts +10 -2
- package/.nuxt/b24ui/link.ts +10 -2
- package/.nuxt/b24ui/modal.ts +10 -2
- package/.nuxt/b24ui/navbar-divider.ts +10 -2
- package/.nuxt/b24ui/navbar-section.ts +10 -2
- package/.nuxt/b24ui/navbar-spacer.ts +10 -2
- package/.nuxt/b24ui/navbar.ts +10 -2
- package/.nuxt/b24ui/navigation-menu.ts +10 -2
- package/.nuxt/b24ui/popover.ts +10 -2
- package/.nuxt/b24ui/progress.ts +10 -2
- package/.nuxt/b24ui/radio-group.ts +10 -2
- package/.nuxt/b24ui/range.ts +10 -2
- package/.nuxt/b24ui/select-menu.ts +10 -2
- package/.nuxt/b24ui/select.ts +10 -2
- package/.nuxt/b24ui/separator.ts +10 -2
- package/.nuxt/b24ui/sidebar-body.ts +10 -2
- package/.nuxt/b24ui/sidebar-footer.ts +10 -2
- package/.nuxt/b24ui/sidebar-header.ts +10 -2
- package/.nuxt/b24ui/sidebar-heading.ts +10 -2
- package/.nuxt/b24ui/sidebar-layout.ts +10 -2
- package/.nuxt/b24ui/sidebar-section.ts +10 -2
- package/.nuxt/b24ui/sidebar-spacer.ts +10 -2
- package/.nuxt/b24ui/sidebar.ts +10 -2
- package/.nuxt/b24ui/skeleton.ts +10 -2
- package/.nuxt/b24ui/slideover.ts +10 -2
- package/.nuxt/b24ui/stacked-layout.ts +10 -2
- package/.nuxt/b24ui/switch.ts +10 -2
- package/.nuxt/b24ui/tabs.ts +10 -2
- package/.nuxt/b24ui/textarea.ts +10 -2
- package/.nuxt/b24ui/toast.ts +10 -2
- package/.nuxt/b24ui/toaster.ts +10 -2
- package/.nuxt/b24ui/tooltip.ts +10 -2
- package/cli/templates.mjs +19 -15
- package/dist/meta.d.mts +1388 -3373
- package/dist/meta.mjs +1388 -3373
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Advice.vue +5 -6
- package/dist/runtime/components/Advice.vue.d.ts +7 -121
- package/dist/runtime/components/Alert.vue +5 -6
- package/dist/runtime/components/Alert.vue.d.ts +12 -379
- package/dist/runtime/components/Avatar.vue +5 -6
- package/dist/runtime/components/Avatar.vue.d.ts +6 -225
- package/dist/runtime/components/AvatarGroup.vue +5 -6
- package/dist/runtime/components/AvatarGroup.vue.d.ts +6 -170
- package/dist/runtime/components/Badge.vue +5 -6
- package/dist/runtime/components/Badge.vue.d.ts +8 -447
- package/dist/runtime/components/Button.vue +16 -14
- package/dist/runtime/components/Button.vue.d.ts +10 -535
- package/dist/runtime/components/ButtonGroup.vue +11 -6
- package/dist/runtime/components/ButtonGroup.vue.d.ts +8 -61
- package/dist/runtime/components/Calendar.vue +4 -5
- package/dist/runtime/components/Calendar.vue.d.ts +7 -337
- package/dist/runtime/components/Checkbox.vue +5 -6
- package/dist/runtime/components/Checkbox.vue.d.ts +7 -306
- package/dist/runtime/components/Chip.vue +5 -6
- package/dist/runtime/components/Chip.vue.d.ts +8 -202
- package/dist/runtime/components/Collapsible.vue +6 -6
- package/dist/runtime/components/Collapsible.vue.d.ts +5 -73
- package/dist/runtime/components/Container.vue +6 -5
- package/dist/runtime/components/Countdown.vue +6 -7
- package/dist/runtime/components/Countdown.vue.d.ts +7 -241
- package/dist/runtime/components/DescriptionList.vue +5 -6
- package/dist/runtime/components/DescriptionList.vue.d.ts +8 -278
- package/dist/runtime/components/DropdownMenu.vue +4 -5
- package/dist/runtime/components/DropdownMenu.vue.d.ts +9 -409
- package/dist/runtime/components/DropdownMenuContent.vue +1 -3
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +9 -186
- package/dist/runtime/components/Form.vue +6 -5
- package/dist/runtime/components/FormField.vue +5 -6
- package/dist/runtime/components/FormField.vue.d.ts +6 -215
- package/dist/runtime/components/Input.vue +4 -5
- package/dist/runtime/components/Input.vue.d.ts +8 -628
- package/dist/runtime/components/InputMenu.vue +4 -5
- package/dist/runtime/components/InputMenu.vue.d.ts +19 -1185
- package/dist/runtime/components/InputNumber.vue +4 -5
- package/dist/runtime/components/InputNumber.vue.d.ts +10 -430
- package/dist/runtime/components/Kbd.vue +6 -5
- package/dist/runtime/components/Kbd.vue.d.ts +6 -60
- package/dist/runtime/components/Link.vue +12 -11
- package/dist/runtime/components/Modal.vue +5 -6
- package/dist/runtime/components/Modal.vue.d.ts +13 -216
- package/dist/runtime/components/Navbar.vue +6 -6
- package/dist/runtime/components/Navbar.vue.d.ts +5 -60
- package/dist/runtime/components/NavbarDivider.vue +6 -6
- package/dist/runtime/components/NavbarDivider.vue.d.ts +5 -60
- package/dist/runtime/components/NavbarSection.vue +6 -6
- package/dist/runtime/components/NavbarSection.vue.d.ts +5 -60
- package/dist/runtime/components/NavbarSpacer.vue +6 -6
- package/dist/runtime/components/NavbarSpacer.vue.d.ts +5 -60
- package/dist/runtime/components/NavigationMenu.vue +4 -5
- package/dist/runtime/components/NavigationMenu.vue.d.ts +11 -676
- package/dist/runtime/components/Popover.vue +5 -6
- package/dist/runtime/components/Popover.vue.d.ts +7 -75
- package/dist/runtime/components/Progress.vue +5 -6
- package/dist/runtime/components/Progress.vue.d.ts +11 -500
- package/dist/runtime/components/RadioGroup.vue +5 -6
- package/dist/runtime/components/RadioGroup.vue.d.ts +9 -644
- package/dist/runtime/components/Range.vue +5 -6
- package/dist/runtime/components/Range.vue.d.ts +7 -351
- package/dist/runtime/components/Select.vue +4 -5
- package/dist/runtime/components/Select.vue.d.ts +15 -1046
- package/dist/runtime/components/SelectMenu.vue +4 -5
- package/dist/runtime/components/SelectMenu.vue.d.ts +17 -1098
- package/dist/runtime/components/Separator.vue +5 -6
- package/dist/runtime/components/Separator.vue.d.ts +9 -332
- package/dist/runtime/components/Sidebar.vue +6 -6
- package/dist/runtime/components/Sidebar.vue.d.ts +5 -60
- package/dist/runtime/components/SidebarBody.vue +5 -6
- package/dist/runtime/components/SidebarBody.vue.d.ts +5 -42
- package/dist/runtime/components/SidebarFooter.vue +6 -6
- package/dist/runtime/components/SidebarFooter.vue.d.ts +5 -60
- package/dist/runtime/components/SidebarHeader.vue +6 -6
- package/dist/runtime/components/SidebarHeader.vue.d.ts +5 -60
- package/dist/runtime/components/SidebarHeading.vue +6 -6
- package/dist/runtime/components/SidebarHeading.vue.d.ts +5 -60
- package/dist/runtime/components/SidebarLayout.vue +6 -7
- package/dist/runtime/components/SidebarLayout.vue.d.ts +5 -162
- package/dist/runtime/components/SidebarSection.vue +6 -6
- package/dist/runtime/components/SidebarSection.vue.d.ts +5 -60
- package/dist/runtime/components/SidebarSpacer.vue +6 -6
- package/dist/runtime/components/SidebarSpacer.vue.d.ts +5 -60
- package/dist/runtime/components/Skeleton.vue +6 -5
- package/dist/runtime/components/Slideover.vue +5 -6
- package/dist/runtime/components/Slideover.vue.d.ts +15 -248
- package/dist/runtime/components/StackedLayout.vue +6 -7
- package/dist/runtime/components/StackedLayout.vue.d.ts +5 -132
- package/dist/runtime/components/Switch.vue +4 -5
- package/dist/runtime/components/Switch.vue.d.ts +7 -517
- package/dist/runtime/components/Tabs.vue +8 -5
- package/dist/runtime/components/Tabs.vue.d.ts +18 -367
- package/dist/runtime/components/Textarea.vue +4 -5
- package/dist/runtime/components/Textarea.vue.d.ts +7 -467
- package/dist/runtime/components/Toast.vue +5 -6
- package/dist/runtime/components/Toast.vue.d.ts +11 -354
- package/dist/runtime/components/Toaster.vue +6 -7
- package/dist/runtime/components/Toaster.vue.d.ts +7 -156
- package/dist/runtime/components/Tooltip.vue +5 -6
- package/dist/runtime/components/Tooltip.vue.d.ts +5 -126
- package/dist/runtime/components/content/TableWrapper.vue +5 -6
- package/dist/runtime/components/content/TableWrapper.vue.d.ts +6 -160
- package/dist/runtime/prose/A.vue +10 -9
- package/dist/runtime/prose/A.vue.d.ts +8 -65
- package/dist/runtime/prose/Blockquote.vue +8 -9
- package/dist/runtime/prose/Blockquote.vue.d.ts +8 -65
- package/dist/runtime/prose/Code.vue +6 -6
- package/dist/runtime/prose/Code.vue.d.ts +9 -75
- package/dist/runtime/prose/Em.vue +10 -9
- package/dist/runtime/prose/Em.vue.d.ts +8 -65
- package/dist/runtime/prose/H1.vue +8 -9
- package/dist/runtime/prose/H1.vue.d.ts +8 -78
- package/dist/runtime/prose/H2.vue +8 -9
- package/dist/runtime/prose/H2.vue.d.ts +8 -104
- package/dist/runtime/prose/H3.vue +8 -9
- package/dist/runtime/prose/H3.vue.d.ts +8 -104
- package/dist/runtime/prose/H4.vue +8 -9
- package/dist/runtime/prose/H4.vue.d.ts +8 -104
- package/dist/runtime/prose/H5.vue +8 -9
- package/dist/runtime/prose/H5.vue.d.ts +8 -104
- package/dist/runtime/prose/H6.vue +8 -9
- package/dist/runtime/prose/H6.vue.d.ts +8 -104
- package/dist/runtime/prose/Hr.vue +7 -9
- package/dist/runtime/prose/Hr.vue.d.ts +7 -62
- package/dist/runtime/prose/Img.vue +7 -9
- package/dist/runtime/prose/Img.vue.d.ts +7 -65
- package/dist/runtime/prose/Li.vue +8 -9
- package/dist/runtime/prose/Li.vue.d.ts +8 -65
- package/dist/runtime/prose/Ol.vue +8 -9
- package/dist/runtime/prose/Ol.vue.d.ts +8 -65
- package/dist/runtime/prose/P.vue +8 -9
- package/dist/runtime/prose/P.vue.d.ts +8 -65
- package/dist/runtime/prose/Pre.vue +7 -6
- package/dist/runtime/prose/Pre.vue.d.ts +10 -80
- package/dist/runtime/prose/Strong.vue +8 -9
- package/dist/runtime/prose/Strong.vue.d.ts +8 -65
- package/dist/runtime/prose/Table.vue +8 -9
- package/dist/runtime/prose/Table.vue.d.ts +10 -80
- package/dist/runtime/prose/Tbody.vue +8 -9
- package/dist/runtime/prose/Tbody.vue.d.ts +8 -65
- package/dist/runtime/prose/Td.vue +8 -9
- package/dist/runtime/prose/Td.vue.d.ts +8 -65
- package/dist/runtime/prose/Th.vue +8 -9
- package/dist/runtime/prose/Th.vue.d.ts +8 -65
- package/dist/runtime/prose/Thead.vue +8 -9
- package/dist/runtime/prose/Thead.vue.d.ts +8 -65
- package/dist/runtime/prose/Tr.vue +8 -9
- package/dist/runtime/prose/Tr.vue.d.ts +8 -65
- package/dist/runtime/prose/Ul.vue +8 -9
- package/dist/runtime/prose/Ul.vue.d.ts +8 -65
- package/dist/runtime/types/form.d.ts +1 -0
- package/dist/runtime/types/utils.d.ts +42 -3
- package/dist/runtime/utils/tv.js +2 -2
- package/dist/runtime/vue/components/Link.vue +12 -11
- package/dist/shared/{b24ui-nuxt.BA6Y2FnC.mjs → b24ui-nuxt.wBs9vEU5.mjs} +27 -2
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +6 -6
|
@@ -1,189 +1,10 @@
|
|
|
1
|
+
import { DropdownMenu } from 'reka-ui/namespaced';
|
|
1
2
|
import type { DropdownMenuContentProps as RekaDropdownMenuContentProps } from 'reka-ui';
|
|
3
|
+
import type { AppConfig } from '@nuxt/schema';
|
|
4
|
+
import type theme from '#build/b24ui/dropdown-menu';
|
|
2
5
|
import type { DropdownMenuItem, DropdownMenuSlots, IconComponent } from '../types';
|
|
3
|
-
import type { ArrayOrNested, NestedItem } from '../types/utils';
|
|
4
|
-
|
|
5
|
-
content: (slotProps?: ({
|
|
6
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
7
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
8
|
-
active?: boolean | undefined;
|
|
9
|
-
loading?: boolean | undefined;
|
|
10
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
11
|
-
arrow: (slotProps?: ({
|
|
12
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
13
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
14
|
-
active?: boolean | undefined;
|
|
15
|
-
loading?: boolean | undefined;
|
|
16
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
17
|
-
group: (slotProps?: ({
|
|
18
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
19
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
20
|
-
active?: boolean | undefined;
|
|
21
|
-
loading?: boolean | undefined;
|
|
22
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
23
|
-
label: (slotProps?: ({
|
|
24
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
25
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
26
|
-
active?: boolean | undefined;
|
|
27
|
-
loading?: boolean | undefined;
|
|
28
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
29
|
-
separator: (slotProps?: ({
|
|
30
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
31
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
32
|
-
active?: boolean | undefined;
|
|
33
|
-
loading?: boolean | undefined;
|
|
34
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
35
|
-
item: (slotProps?: ({
|
|
36
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
37
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
38
|
-
active?: boolean | undefined;
|
|
39
|
-
loading?: boolean | undefined;
|
|
40
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
41
|
-
itemLeadingIcon: (slotProps?: ({
|
|
42
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
43
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
44
|
-
active?: boolean | undefined;
|
|
45
|
-
loading?: boolean | undefined;
|
|
46
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
47
|
-
itemLeadingAvatar: (slotProps?: ({
|
|
48
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
49
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
50
|
-
active?: boolean | undefined;
|
|
51
|
-
loading?: boolean | undefined;
|
|
52
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
53
|
-
itemLeadingAvatarSize: (slotProps?: ({
|
|
54
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
55
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
56
|
-
active?: boolean | undefined;
|
|
57
|
-
loading?: boolean | undefined;
|
|
58
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
59
|
-
itemTrailing: (slotProps?: ({
|
|
60
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
61
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
62
|
-
active?: boolean | undefined;
|
|
63
|
-
loading?: boolean | undefined;
|
|
64
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
65
|
-
itemTrailingIcon: (slotProps?: ({
|
|
66
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
67
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
68
|
-
active?: boolean | undefined;
|
|
69
|
-
loading?: boolean | undefined;
|
|
70
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
71
|
-
itemTrailingKbds: (slotProps?: ({
|
|
72
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
73
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
74
|
-
active?: boolean | undefined;
|
|
75
|
-
loading?: boolean | undefined;
|
|
76
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
77
|
-
itemTrailingKbdsSize: (slotProps?: ({
|
|
78
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
79
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
80
|
-
active?: boolean | undefined;
|
|
81
|
-
loading?: boolean | undefined;
|
|
82
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
83
|
-
itemLabel: (slotProps?: ({
|
|
84
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
85
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
86
|
-
active?: boolean | undefined;
|
|
87
|
-
loading?: boolean | undefined;
|
|
88
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
89
|
-
itemLabelExternalIcon: (slotProps?: ({
|
|
90
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
91
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
92
|
-
active?: boolean | undefined;
|
|
93
|
-
loading?: boolean | undefined;
|
|
94
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
95
|
-
} & {
|
|
96
|
-
content: (slotProps?: ({
|
|
97
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
98
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
99
|
-
active?: boolean | undefined;
|
|
100
|
-
loading?: boolean | undefined;
|
|
101
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
102
|
-
arrow: (slotProps?: ({
|
|
103
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
104
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
105
|
-
active?: boolean | undefined;
|
|
106
|
-
loading?: boolean | undefined;
|
|
107
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
108
|
-
group: (slotProps?: ({
|
|
109
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
110
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
111
|
-
active?: boolean | undefined;
|
|
112
|
-
loading?: boolean | undefined;
|
|
113
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
114
|
-
label: (slotProps?: ({
|
|
115
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
116
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
117
|
-
active?: boolean | undefined;
|
|
118
|
-
loading?: boolean | undefined;
|
|
119
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
120
|
-
separator: (slotProps?: ({
|
|
121
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
122
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
123
|
-
active?: boolean | undefined;
|
|
124
|
-
loading?: boolean | undefined;
|
|
125
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
126
|
-
item: (slotProps?: ({
|
|
127
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
128
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
129
|
-
active?: boolean | undefined;
|
|
130
|
-
loading?: boolean | undefined;
|
|
131
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
132
|
-
itemLeadingIcon: (slotProps?: ({
|
|
133
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
134
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
135
|
-
active?: boolean | undefined;
|
|
136
|
-
loading?: boolean | undefined;
|
|
137
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
138
|
-
itemLeadingAvatar: (slotProps?: ({
|
|
139
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
140
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
141
|
-
active?: boolean | undefined;
|
|
142
|
-
loading?: boolean | undefined;
|
|
143
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
144
|
-
itemLeadingAvatarSize: (slotProps?: ({
|
|
145
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
146
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
147
|
-
active?: boolean | undefined;
|
|
148
|
-
loading?: boolean | undefined;
|
|
149
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
150
|
-
itemTrailing: (slotProps?: ({
|
|
151
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
152
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
153
|
-
active?: boolean | undefined;
|
|
154
|
-
loading?: boolean | undefined;
|
|
155
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
156
|
-
itemTrailingIcon: (slotProps?: ({
|
|
157
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
158
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
159
|
-
active?: boolean | undefined;
|
|
160
|
-
loading?: boolean | undefined;
|
|
161
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
162
|
-
itemTrailingKbds: (slotProps?: ({
|
|
163
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
164
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
165
|
-
active?: boolean | undefined;
|
|
166
|
-
loading?: boolean | undefined;
|
|
167
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
168
|
-
itemTrailingKbdsSize: (slotProps?: ({
|
|
169
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
170
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
171
|
-
active?: boolean | undefined;
|
|
172
|
-
loading?: boolean | undefined;
|
|
173
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
174
|
-
itemLabel: (slotProps?: ({
|
|
175
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
176
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
177
|
-
active?: boolean | undefined;
|
|
178
|
-
loading?: boolean | undefined;
|
|
179
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
180
|
-
itemLabelExternalIcon: (slotProps?: ({
|
|
181
|
-
size?: "md" | "xs" | "sm" | "lg" | undefined;
|
|
182
|
-
color?: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai" | undefined;
|
|
183
|
-
active?: boolean | undefined;
|
|
184
|
-
loading?: boolean | undefined;
|
|
185
|
-
} & import("tailwind-variants").ClassProp<import("tailwind-variants").ClassValue>) | undefined) => string;
|
|
186
|
-
} & {};
|
|
6
|
+
import type { ArrayOrNested, NestedItem, ComponentConfig } from '../types/utils';
|
|
7
|
+
type DropdownMenu = ComponentConfig<typeof theme, AppConfig, 'dropdownMenu'>;
|
|
187
8
|
interface DropdownMenuContentProps<T extends ArrayOrNested<DropdownMenuItem>> extends Omit<RekaDropdownMenuContentProps, 'as' | 'asChild' | 'forceMount'> {
|
|
188
9
|
items?: T;
|
|
189
10
|
portal?: boolean;
|
|
@@ -198,8 +19,10 @@ interface DropdownMenuContentProps<T extends ArrayOrNested<DropdownMenuItem>> ex
|
|
|
198
19
|
*/
|
|
199
20
|
externalIcon?: boolean | IconComponent;
|
|
200
21
|
class?: any;
|
|
201
|
-
b24ui:
|
|
202
|
-
|
|
22
|
+
b24ui: {
|
|
23
|
+
[K in keyof Required<DropdownMenu['slots']>]: (props?: Record<string, any>) => string;
|
|
24
|
+
};
|
|
25
|
+
b24uiOverride?: DropdownMenu['slots'];
|
|
203
26
|
}
|
|
204
27
|
declare const _default: <T extends ArrayOrNested<DropdownMenuItem>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
205
28
|
props: __VLS_PrettifyLocal<any & DropdownMenuContentProps<T> & Partial<{}>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import _appConfig from "#build/app.config";
|
|
3
2
|
import theme from "#build/b24ui/form";
|
|
4
|
-
import { tv } from "../utils/tv";
|
|
5
|
-
const appConfigForm = _appConfig;
|
|
6
|
-
const form = tv({ extend: tv(theme), ...appConfigForm.b24ui?.form || {} });
|
|
7
3
|
</script>
|
|
8
4
|
|
|
9
5
|
<script setup>
|
|
10
6
|
import { provide, inject, nextTick, ref, onUnmounted, onMounted, computed, useId, readonly } from "vue";
|
|
11
7
|
import { useEventBus } from "@vueuse/core";
|
|
8
|
+
import { useAppConfig } from "#imports";
|
|
12
9
|
import { formOptionsInjectionKey, formInputsInjectionKey, formBusInjectionKey, formLoadingInjectionKey } from "../composables/useFormField";
|
|
10
|
+
import { tv } from "../utils/tv";
|
|
13
11
|
import { validateSchema } from "../utils/form";
|
|
14
12
|
import { FormValidationException } from "../types/form";
|
|
15
13
|
const props = defineProps({
|
|
@@ -28,6 +26,8 @@ const props = defineProps({
|
|
|
28
26
|
});
|
|
29
27
|
const emits = defineEmits(["submit", "error"]);
|
|
30
28
|
defineSlots();
|
|
29
|
+
const appConfig = useAppConfig();
|
|
30
|
+
const b24ui = computed(() => tv({ extend: tv(theme), ...appConfig.b24ui?.form || {} }));
|
|
31
31
|
const formId = props.id ?? useId();
|
|
32
32
|
const bus = useEventBus(`form-${formId}`);
|
|
33
33
|
const parentBus = inject(
|
|
@@ -188,6 +188,7 @@ defineExpose({
|
|
|
188
188
|
}
|
|
189
189
|
},
|
|
190
190
|
disabled,
|
|
191
|
+
loading,
|
|
191
192
|
dirty: computed(() => !!dirtyFields.size),
|
|
192
193
|
dirtyFields: readonly(dirtyFields),
|
|
193
194
|
blurredFields: readonly(blurredFields),
|
|
@@ -199,7 +200,7 @@ defineExpose({
|
|
|
199
200
|
<component
|
|
200
201
|
:is="parentBus ? 'div' : 'form'"
|
|
201
202
|
:id="formId"
|
|
202
|
-
:class="
|
|
203
|
+
:class="b24ui({ class: props.class })"
|
|
203
204
|
@submit.prevent="onSubmitWrapper"
|
|
204
205
|
>
|
|
205
206
|
<slot :errors="errors" />
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import _appConfig from "#build/app.config";
|
|
3
2
|
import theme from "#build/b24ui/form-field";
|
|
4
|
-
import { tv } from "../utils/tv";
|
|
5
|
-
const appConfigFormField = _appConfig;
|
|
6
|
-
const formField = tv({ extend: tv(theme), ...appConfigFormField.b24ui?.formField || {} });
|
|
7
3
|
</script>
|
|
8
4
|
|
|
9
5
|
<script setup>
|
|
10
6
|
import { computed, ref, inject, provide, useId } from "vue";
|
|
11
7
|
import { Primitive, Label } from "reka-ui";
|
|
8
|
+
import { useAppConfig } from "#imports";
|
|
12
9
|
import { formFieldInjectionKey, inputIdInjectionKey } from "../composables/useFormField";
|
|
10
|
+
import { tv } from "../utils/tv";
|
|
13
11
|
import WarningIcon from "@bitrix24/b24icons-vue/main/WarningIcon";
|
|
14
12
|
const props = defineProps({
|
|
15
13
|
as: { type: null, required: false },
|
|
@@ -25,10 +23,11 @@ const props = defineProps({
|
|
|
25
23
|
eagerValidation: { type: Boolean, required: false },
|
|
26
24
|
validateOnInputDelay: { type: Number, required: false },
|
|
27
25
|
class: { type: null, required: false },
|
|
28
|
-
b24ui: { type:
|
|
26
|
+
b24ui: { type: null, required: false }
|
|
29
27
|
});
|
|
30
28
|
const slots = defineSlots();
|
|
31
|
-
const
|
|
29
|
+
const appConfig = useAppConfig();
|
|
30
|
+
const b24ui = computed(() => tv({ extend: tv(theme), ...appConfig.b24ui?.formField || {} })({
|
|
32
31
|
size: props.size,
|
|
33
32
|
required: props.required,
|
|
34
33
|
useDescription: Boolean(props.description) || !!slots.description
|
|
@@ -1,216 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
wrapper: string;
|
|
6
|
-
};
|
|
7
|
-
false: {
|
|
8
|
-
wrapper: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
size: {
|
|
12
|
-
xs: {
|
|
13
|
-
root: string;
|
|
14
|
-
errorIcon: string;
|
|
15
|
-
};
|
|
16
|
-
sm: {
|
|
17
|
-
root: string;
|
|
18
|
-
errorIcon: string;
|
|
19
|
-
};
|
|
20
|
-
md: {
|
|
21
|
-
root: string;
|
|
22
|
-
errorIcon: string;
|
|
23
|
-
};
|
|
24
|
-
lg: {
|
|
25
|
-
root: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
required: {
|
|
29
|
-
true: {
|
|
30
|
-
label: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
}, {
|
|
34
|
-
root: string;
|
|
35
|
-
wrapper: string;
|
|
36
|
-
labelWrapper: string;
|
|
37
|
-
label: string;
|
|
38
|
-
hint: string;
|
|
39
|
-
container: string;
|
|
40
|
-
description: string;
|
|
41
|
-
error: string;
|
|
42
|
-
errorIcon: string;
|
|
43
|
-
help: string;
|
|
44
|
-
}, undefined, {
|
|
45
|
-
useDescription: {
|
|
46
|
-
true: {
|
|
47
|
-
wrapper: string;
|
|
48
|
-
};
|
|
49
|
-
false: {
|
|
50
|
-
wrapper: string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
size: {
|
|
54
|
-
xs: {
|
|
55
|
-
root: string;
|
|
56
|
-
errorIcon: string;
|
|
57
|
-
};
|
|
58
|
-
sm: {
|
|
59
|
-
root: string;
|
|
60
|
-
errorIcon: string;
|
|
61
|
-
};
|
|
62
|
-
md: {
|
|
63
|
-
root: string;
|
|
64
|
-
errorIcon: string;
|
|
65
|
-
};
|
|
66
|
-
lg: {
|
|
67
|
-
root: string;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
required: {
|
|
71
|
-
true: {
|
|
72
|
-
label: string;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
}, {
|
|
76
|
-
root: string;
|
|
77
|
-
wrapper: string;
|
|
78
|
-
labelWrapper: string;
|
|
79
|
-
label: string;
|
|
80
|
-
hint: string;
|
|
81
|
-
container: string;
|
|
82
|
-
description: string;
|
|
83
|
-
error: string;
|
|
84
|
-
errorIcon: string;
|
|
85
|
-
help: string;
|
|
86
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
87
|
-
useDescription: {
|
|
88
|
-
true: {
|
|
89
|
-
wrapper: string;
|
|
90
|
-
};
|
|
91
|
-
false: {
|
|
92
|
-
wrapper: string;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
size: {
|
|
96
|
-
xs: {
|
|
97
|
-
root: string;
|
|
98
|
-
errorIcon: string;
|
|
99
|
-
};
|
|
100
|
-
sm: {
|
|
101
|
-
root: string;
|
|
102
|
-
errorIcon: string;
|
|
103
|
-
};
|
|
104
|
-
md: {
|
|
105
|
-
root: string;
|
|
106
|
-
errorIcon: string;
|
|
107
|
-
};
|
|
108
|
-
lg: {
|
|
109
|
-
root: string;
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
required: {
|
|
113
|
-
true: {
|
|
114
|
-
label: string;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
}, {
|
|
118
|
-
root: string;
|
|
119
|
-
wrapper: string;
|
|
120
|
-
labelWrapper: string;
|
|
121
|
-
label: string;
|
|
122
|
-
hint: string;
|
|
123
|
-
container: string;
|
|
124
|
-
description: string;
|
|
125
|
-
error: string;
|
|
126
|
-
errorIcon: string;
|
|
127
|
-
help: string;
|
|
128
|
-
}, undefined, {
|
|
129
|
-
useDescription: {
|
|
130
|
-
true: {
|
|
131
|
-
wrapper: string;
|
|
132
|
-
};
|
|
133
|
-
false: {
|
|
134
|
-
wrapper: string;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
size: {
|
|
138
|
-
xs: {
|
|
139
|
-
root: string;
|
|
140
|
-
errorIcon: string;
|
|
141
|
-
};
|
|
142
|
-
sm: {
|
|
143
|
-
root: string;
|
|
144
|
-
errorIcon: string;
|
|
145
|
-
};
|
|
146
|
-
md: {
|
|
147
|
-
root: string;
|
|
148
|
-
errorIcon: string;
|
|
149
|
-
};
|
|
150
|
-
lg: {
|
|
151
|
-
root: string;
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
required: {
|
|
155
|
-
true: {
|
|
156
|
-
label: string;
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
}, {
|
|
160
|
-
root: string;
|
|
161
|
-
wrapper: string;
|
|
162
|
-
labelWrapper: string;
|
|
163
|
-
label: string;
|
|
164
|
-
hint: string;
|
|
165
|
-
container: string;
|
|
166
|
-
description: string;
|
|
167
|
-
error: string;
|
|
168
|
-
errorIcon: string;
|
|
169
|
-
help: string;
|
|
170
|
-
}, import("tailwind-variants").TVReturnType<{
|
|
171
|
-
useDescription: {
|
|
172
|
-
true: {
|
|
173
|
-
wrapper: string;
|
|
174
|
-
};
|
|
175
|
-
false: {
|
|
176
|
-
wrapper: string;
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
size: {
|
|
180
|
-
xs: {
|
|
181
|
-
root: string;
|
|
182
|
-
errorIcon: string;
|
|
183
|
-
};
|
|
184
|
-
sm: {
|
|
185
|
-
root: string;
|
|
186
|
-
errorIcon: string;
|
|
187
|
-
};
|
|
188
|
-
md: {
|
|
189
|
-
root: string;
|
|
190
|
-
errorIcon: string;
|
|
191
|
-
};
|
|
192
|
-
lg: {
|
|
193
|
-
root: string;
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
required: {
|
|
197
|
-
true: {
|
|
198
|
-
label: string;
|
|
199
|
-
};
|
|
200
|
-
};
|
|
201
|
-
}, {
|
|
202
|
-
root: string;
|
|
203
|
-
wrapper: string;
|
|
204
|
-
labelWrapper: string;
|
|
205
|
-
label: string;
|
|
206
|
-
hint: string;
|
|
207
|
-
container: string;
|
|
208
|
-
description: string;
|
|
209
|
-
error: string;
|
|
210
|
-
errorIcon: string;
|
|
211
|
-
help: string;
|
|
212
|
-
}, undefined, unknown, unknown, undefined>>>;
|
|
213
|
-
type FormFieldVariants = VariantProps<typeof formField>;
|
|
1
|
+
import type { AppConfig } from '@nuxt/schema';
|
|
2
|
+
import theme from '#build/b24ui/form-field';
|
|
3
|
+
import type { ComponentConfig } from '../types/utils';
|
|
4
|
+
type FormField = ComponentConfig<typeof theme, AppConfig, 'formField'>;
|
|
214
5
|
export interface FormFieldProps {
|
|
215
6
|
/**
|
|
216
7
|
* The element or component this component should render as.
|
|
@@ -229,7 +20,7 @@ export interface FormFieldProps {
|
|
|
229
20
|
/**
|
|
230
21
|
* @defaultValue 'md'
|
|
231
22
|
*/
|
|
232
|
-
size?:
|
|
23
|
+
size?: FormField['variants']['size'];
|
|
233
24
|
/**
|
|
234
25
|
* @defaultValue false
|
|
235
26
|
*/
|
|
@@ -242,7 +33,7 @@ export interface FormFieldProps {
|
|
|
242
33
|
*/
|
|
243
34
|
validateOnInputDelay?: number;
|
|
244
35
|
class?: any;
|
|
245
|
-
b24ui?:
|
|
36
|
+
b24ui?: FormField['slots'];
|
|
246
37
|
}
|
|
247
38
|
export interface FormFieldSlots {
|
|
248
39
|
label(props: {
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
<script>
|
|
2
|
-
import _appConfig from "#build/app.config";
|
|
3
2
|
import theme from "#build/b24ui/input";
|
|
4
|
-
import { tv } from "../utils/tv";
|
|
5
|
-
const appConfigInput = _appConfig;
|
|
6
|
-
const input = tv({ extend: tv(theme), ...appConfigInput.b24ui?.input || {} });
|
|
7
3
|
</script>
|
|
8
4
|
|
|
9
5
|
<script setup>
|
|
10
6
|
import { ref, computed, onMounted } from "vue";
|
|
11
7
|
import { Primitive } from "reka-ui";
|
|
8
|
+
import { useAppConfig } from "#imports";
|
|
12
9
|
import { useButtonGroup } from "../composables/useButtonGroup";
|
|
13
10
|
import { useComponentIcons } from "../composables/useComponentIcons";
|
|
14
11
|
import { useFormField } from "../composables/useFormField";
|
|
15
12
|
import { looseToNumber } from "../utils";
|
|
13
|
+
import { tv } from "../utils/tv";
|
|
16
14
|
import B24Avatar from "./Avatar.vue";
|
|
17
15
|
defineOptions({ inheritAttrs: false });
|
|
18
16
|
const props = defineProps({
|
|
@@ -46,6 +44,7 @@ const props = defineProps({
|
|
|
46
44
|
const emits = defineEmits(["update:modelValue", "blur", "change"]);
|
|
47
45
|
const slots = defineSlots();
|
|
48
46
|
const [modelValue, modelModifiers] = defineModel({ type: [String, Number, null] });
|
|
47
|
+
const appConfig = useAppConfig();
|
|
49
48
|
const { emitFormBlur, emitFormInput, emitFormChange, size: formGroupSize, color, id, name, highlight, disabled, emitFormFocus, ariaAttrs } = useFormField(props, { deferInputValidation: true });
|
|
50
49
|
const { orientation, size: buttonGroupSize } = useButtonGroup(props);
|
|
51
50
|
const { isLeading, isTrailing, leadingIconName, trailingIconName } = useComponentIcons(props);
|
|
@@ -53,7 +52,7 @@ const inputSize = computed(() => buttonGroupSize.value || formGroupSize.value);
|
|
|
53
52
|
const isTag = computed(() => {
|
|
54
53
|
return props.tag;
|
|
55
54
|
});
|
|
56
|
-
const b24ui = computed(() => input({
|
|
55
|
+
const b24ui = computed(() => tv({ extend: tv(theme), ...appConfig.b24ui?.input || {} })({
|
|
57
56
|
type: props.type,
|
|
58
57
|
color: color.value,
|
|
59
58
|
size: inputSize?.value,
|