@maltjoy/mcp-server 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -2
- package/dist/doc/VJoyAdminBanner/metadata.json +2 -1
- package/dist/doc/VJoyAvailability/metadata.json +2 -1
- package/dist/doc/VJoyAvatar/metadata.json +2 -1
- package/dist/doc/VJoyAvatarsList/metadata.json +2 -1
- package/dist/doc/VJoyBadge/metadata.json +2 -1
- package/dist/doc/VJoyBadgeLevel/metadata.json +2 -1
- package/dist/doc/VJoyBlockSkeleton/metadata.json +2 -1
- package/dist/doc/VJoyBottomSheet/metadata.json +2 -1
- package/dist/doc/VJoyBottomSheetTrigger/metadata.json +1 -0
- package/dist/doc/VJoyButton/metadata.json +2 -1
- package/dist/doc/VJoyButtonCard/JoyButtonCard.types.ts +15 -0
- package/dist/doc/VJoyButtonCard/metadata.json +78 -0
- package/dist/doc/VJoyCheckbox/JoyCheckbox.types.ts +26 -0
- package/dist/doc/VJoyCheckbox/metadata.json +29 -28
- package/dist/doc/VJoyCheckboxCard/JoyCheckboxCard.types.ts +8 -0
- package/dist/doc/VJoyCheckboxCard/metadata.json +221 -0
- package/dist/doc/VJoyCheckboxGroup/metadata.json +338 -0
- package/dist/doc/VJoyCollapse/metadata.json +2 -1
- package/dist/doc/VJoyCollapseItem/metadata.json +2 -1
- package/dist/doc/VJoyCompanyAvatar/metadata.json +1 -0
- package/dist/doc/VJoyDialog/metadata.json +2 -1
- package/dist/doc/VJoyDialogTrigger/metadata.json +1 -0
- package/dist/doc/VJoyDot/metadata.json +2 -1
- package/dist/doc/VJoyDrawer/metadata.json +2 -1
- package/dist/doc/VJoyDrawerTrigger/metadata.json +1 -0
- package/dist/doc/VJoyDropdown/metadata.json +76 -75
- package/dist/doc/VJoyDropdownList/metadata.json +2 -1
- package/dist/doc/VJoyDropzone/metadata.json +2 -1
- package/dist/doc/VJoyFilterBar/metadata.json +2 -1
- package/dist/doc/VJoyFilterBarButton/metadata.json +1 -0
- package/dist/doc/VJoyFloatingActionsBar/metadata.json +70 -0
- package/dist/doc/VJoyFormError/metadata.json +2 -1
- package/dist/doc/VJoyFormFieldSkeleton/metadata.json +2 -1
- package/dist/doc/VJoyFormGroup/metadata.json +2 -1
- package/dist/doc/VJoyFunnel/metadata.json +2 -1
- package/dist/doc/VJoyFunnelFooter/metadata.json +1 -0
- package/dist/doc/VJoyFunnelHeader/metadata.json +1 -0
- package/dist/doc/VJoyHighlight/metadata.json +2 -1
- package/dist/doc/VJoyIcon/metadata.json +2 -1
- package/dist/doc/VJoyIconButton/JoyIconButton.types.ts +6 -0
- package/dist/doc/VJoyIconButton/metadata.json +116 -0
- package/dist/doc/VJoyIndicator/metadata.json +1 -0
- package/dist/doc/VJoyIndicators/metadata.json +2 -1
- package/dist/doc/VJoyInput/metadata.json +12 -11
- package/dist/doc/VJoyInputDigit/metadata.json +2 -1
- package/dist/doc/VJoyInputNumber/metadata.json +286 -0
- package/dist/doc/VJoyInputPassword/metadata.json +33 -32
- package/dist/doc/VJoyLabel/metadata.json +6 -5
- package/dist/doc/VJoyLink/metadata.json +11 -10
- package/dist/doc/VJoyListItem/metadata.json +2 -1
- package/dist/doc/VJoyMenu/metadata.json +2 -1
- package/dist/doc/VJoyMenuItem/metadata.json +2 -1
- package/dist/doc/VJoyMultiCheckbox/metadata.json +193 -13
- package/dist/doc/VJoyPagination/metadata.json +2 -1
- package/dist/doc/VJoyPanel/metadata.json +2 -1
- package/dist/doc/VJoyPanelSection/metadata.json +1 -0
- package/dist/doc/VJoyPasswordRequirement/metadata.json +2 -1
- package/dist/doc/VJoyProductTour/metadata.json +2 -1
- package/dist/doc/VJoyProductTourTrigger/metadata.json +1 -0
- package/dist/doc/VJoyProgressBar/metadata.json +2 -6
- package/dist/doc/VJoyRadio/metadata.json +1 -0
- package/dist/doc/VJoyRadioGroup/metadata.json +4 -3
- package/dist/doc/VJoyRatingStars/metadata.json +2 -1
- package/dist/doc/VJoyScreenLoader/metadata.json +2 -1
- package/dist/doc/VJoySelect/metadata.json +34 -33
- package/dist/doc/VJoySelectableItem/metadata.json +1 -0
- package/dist/doc/VJoySelectableItemGroup/metadata.json +2 -1
- package/dist/doc/VJoySeparator/metadata.json +2 -1
- package/dist/doc/VJoySnackbar/metadata.json +2 -1
- package/dist/doc/VJoySpinner/metadata.json +2 -1
- package/dist/doc/VJoyStep/metadata.json +1 -0
- package/dist/doc/VJoyStepper/metadata.json +2 -1
- package/dist/doc/VJoyTab/metadata.json +1 -0
- package/dist/doc/VJoyTabs/metadata.json +2 -1
- package/dist/doc/VJoyTag/metadata.json +6 -5
- package/dist/doc/VJoyTagsInput/metadata.json +2 -1
- package/dist/doc/VJoyTagsList/metadata.json +19 -18
- package/dist/doc/VJoyTemplate/metadata.json +2 -1
- package/dist/doc/VJoyText/metadata.json +2 -1
- package/dist/doc/VJoyTextarea/metadata.json +25 -24
- package/dist/doc/VJoyTitleBrand/metadata.json +2 -1
- package/dist/doc/VJoyToggle/metadata.json +15 -14
- package/dist/doc/VJoyTooltip/metadata.json +2 -1
- package/dist/doc/VJoyUserCard/metadata.json +2 -1
- package/dist/doc/VJoyWalkthrough/metadata.json +2 -1
- package/dist/doc/VJoyWalkthroughTrigger/metadata.json +1 -0
- package/dist/doc/VJoyWrapper/metadata.json +20 -19
- package/dist/doc/css-classes.json +2 -0
- package/dist/doc/design-tokens.json +30 -30
- package/dist/doc/index.json +206 -78
- package/dist/parser.d.ts +3 -0
- package/dist/parser.d.ts.map +1 -1
- package/dist/parser.js +3 -0
- package/dist/parser.js.map +1 -1
- package/dist/tools/get-component-info.js +1 -1
- package/dist/tools/get-component-info.js.map +1 -1
- package/dist/tools/list-components.d.ts +1 -4
- package/dist/tools/list-components.d.ts.map +1 -1
- package/dist/tools/list-components.js +22 -5
- package/dist/tools/list-components.js.map +1 -1
- package/package.json +3 -2
- package/dist/doc/VJoyTemplateShape/metadata.json +0 -10
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "JoyFloatingActionsBar",
|
|
3
|
+
"displayName": "VJoyFloatingActionsBar",
|
|
4
|
+
"description": "A persistent action container displayed at the bottom of the viewport.\nUseful to surface bulk actions when items are selected, or to keep\nprimary actions visible while users scroll through long pages.",
|
|
5
|
+
"category": "Overlays",
|
|
6
|
+
"props": [
|
|
7
|
+
{
|
|
8
|
+
"name": "height",
|
|
9
|
+
"type": "string | undefined",
|
|
10
|
+
"required": false,
|
|
11
|
+
"default": "\"92px\"",
|
|
12
|
+
"description": "Height of the bar. Adjust when the default does not fit your content.",
|
|
13
|
+
"possibleValues": [
|
|
14
|
+
"string"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "appendTo",
|
|
19
|
+
"type": "string | RendererElement | null | undefined",
|
|
20
|
+
"required": false,
|
|
21
|
+
"default": "\"body\"",
|
|
22
|
+
"description": "CSS selector or DOM element used as the Teleport target.",
|
|
23
|
+
"possibleValues": null
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "justify",
|
|
27
|
+
"type": "\"center\" | \"space-between\" | \"space-around\" | \"space-evenly\" | \"flex-start\" | \"flex-end\" | undefined",
|
|
28
|
+
"required": false,
|
|
29
|
+
"default": "\"space-between\"",
|
|
30
|
+
"description": "Controls the horizontal distribution of the inner content.",
|
|
31
|
+
"possibleValues": [
|
|
32
|
+
"center",
|
|
33
|
+
"space-between",
|
|
34
|
+
"space-around",
|
|
35
|
+
"space-evenly",
|
|
36
|
+
"flex-start",
|
|
37
|
+
"flex-end"
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"events": [],
|
|
42
|
+
"slots": [
|
|
43
|
+
{
|
|
44
|
+
"name": "content",
|
|
45
|
+
"description": "Content slot, placed on the left side of the bar"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "actions",
|
|
49
|
+
"description": "Actions slot, placed on the right side"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"exposed": [
|
|
53
|
+
{
|
|
54
|
+
"name": "height",
|
|
55
|
+
"type": "string",
|
|
56
|
+
"isMethod": false
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "appendTo",
|
|
60
|
+
"type": "string | RendererElement | null",
|
|
61
|
+
"isMethod": false
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "justify",
|
|
65
|
+
"type": "\"center\" | \"space-between\" | \"space-around\" | \"space-evenly\" | \"flex-start\" | \"flex-end\"",
|
|
66
|
+
"isMethod": false
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"hasVModel": false
|
|
70
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "JoyFormError",
|
|
3
3
|
"displayName": "VJoyFormError",
|
|
4
|
-
"description": "A form error display component for showing error messages
|
|
4
|
+
"description": "A form error display component for showing error messages.\nFeatures a warning icon, support for single error messages or multiple error lists, and visibility control for conditional error display.\nIncludes proper accessibility attributes with alert role for screen reader announcement of form errors.",
|
|
5
|
+
"category": "Forms",
|
|
5
6
|
"props": [
|
|
6
7
|
{
|
|
7
8
|
"name": "visible",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "JoyFormFieldSkeleton",
|
|
3
3
|
"displayName": "VJoyFormFieldSkeleton",
|
|
4
|
-
"description": "A specialized skeleton loading component designed specifically for form field placeholders
|
|
4
|
+
"description": "A specialized skeleton loading component designed specifically for form field placeholders.\nFeatures form-appropriate sizing, flexible layout support with VJoyWrapper integration,\nand consistent styling that matches form field dimensions. Perfect for creating skeleton\nforms and improving perceived loading performance in form-heavy interfaces.\n\nSkeleton is 100% width by default. If you want to have a better control on this, use the \"width\" property.",
|
|
5
|
+
"category": "Skeletons",
|
|
5
6
|
"props": [
|
|
6
7
|
{
|
|
7
8
|
"name": "size",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "JoyFormGroup",
|
|
3
3
|
"displayName": "VJoyFormGroup",
|
|
4
|
-
"description": "A form group component to group form elements together
|
|
4
|
+
"description": "A form group component to group form elements together.\n\nIt is used to group a label, any form component, and form errors together.\n\nIt is also used to handle the gap between the form elements, and **it resets the existing margins** within form elements!",
|
|
5
|
+
"category": "Functional",
|
|
5
6
|
"props": [],
|
|
6
7
|
"events": [],
|
|
7
8
|
"slots": [
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "JoyFunnel",
|
|
3
3
|
"displayName": "VJoyFunnel",
|
|
4
|
-
"description": "A full-page layout component designed for multi-step workflows and guided user flows
|
|
4
|
+
"description": "A full-page layout component designed for multi-step workflows and guided user flows.\nFeatures decorative background shapes, header and footer areas, and seamless integration\nwith stepper components. Optimized for mobile experiences and onboarding funnels\nwith different visual profiles and customizable content areas.",
|
|
5
|
+
"category": "Layout",
|
|
5
6
|
"props": [
|
|
6
7
|
{
|
|
7
8
|
"name": "profile",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "JoyHighlight",
|
|
3
3
|
"displayName": "VJoyHighlight",
|
|
4
|
-
"description": "A content highlighting component for displaying important information with visual emphasis
|
|
4
|
+
"description": "A content highlighting component for displaying important information with visual emphasis.\nFeatures different severity levels (success, info, warning, error, neutral), optional accent borders, customizable icons, and title support.\nIncludes an experimental AI variant for AI-related content with special styling and decorative elements.",
|
|
5
|
+
"category": "View",
|
|
5
6
|
"props": [
|
|
6
7
|
{
|
|
7
8
|
"name": "variant",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "JoyIcon",
|
|
3
3
|
"displayName": "VJoyIcon",
|
|
4
|
-
"description": "An icon component supporting the complete Joy icon library with customizable sizing and theming
|
|
4
|
+
"description": "An icon component supporting the complete Joy icon library with customizable sizing and theming.\nFeatures accessibility support with aria labels, multiple color variants and different size options.\nProvides consistent icon rendering across the design system with proper semantic markup and keyboard navigation capabilities.",
|
|
5
|
+
"category": "Icons",
|
|
5
6
|
"props": [
|
|
6
7
|
{
|
|
7
8
|
"name": "size",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import {TJoyButtonSizes, TJoyButtonVariants} from '../JoyButton/JoyButton.types';
|
|
2
|
+
import {TJoyIconsNames} from '../JoyIcon/JoyIcon.types';
|
|
3
|
+
|
|
4
|
+
export type TJoyIconButtonVariants = TJoyButtonVariants;
|
|
5
|
+
export type TJoyIconButtonSizes = TJoyButtonSizes;
|
|
6
|
+
export type TJoyIconButtonIconNames = TJoyIconsNames;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "JoyIconButton",
|
|
3
|
+
"displayName": "VJoyIconButton",
|
|
4
|
+
"description": "A dedicated icon-button component built on top of `VJoyButton`.\nUse this component instead of the deprecated `circle` prop from `VJoyButton`.",
|
|
5
|
+
"category": "Buttons",
|
|
6
|
+
"props": [
|
|
7
|
+
{
|
|
8
|
+
"name": "size",
|
|
9
|
+
"type": "TJoyButtonSizes | undefined",
|
|
10
|
+
"required": false,
|
|
11
|
+
"default": "\"medium\"",
|
|
12
|
+
"description": "Button or Link size",
|
|
13
|
+
"possibleValues": [
|
|
14
|
+
"medium",
|
|
15
|
+
"large",
|
|
16
|
+
"small",
|
|
17
|
+
"xsmall",
|
|
18
|
+
"xxsmall"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "loading",
|
|
23
|
+
"type": "boolean | undefined",
|
|
24
|
+
"required": false,
|
|
25
|
+
"default": "false",
|
|
26
|
+
"description": "Change the component's state and display a JoySpinner.",
|
|
27
|
+
"possibleValues": [
|
|
28
|
+
"false",
|
|
29
|
+
"true"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "variant",
|
|
34
|
+
"type": "TJoyButtonVariants | undefined",
|
|
35
|
+
"required": false,
|
|
36
|
+
"default": "\"primary\"",
|
|
37
|
+
"description": "Button or Link color variant",
|
|
38
|
+
"possibleValues": [
|
|
39
|
+
"secondary",
|
|
40
|
+
"primary",
|
|
41
|
+
"main",
|
|
42
|
+
"admin",
|
|
43
|
+
"ghost",
|
|
44
|
+
"secondary-ai",
|
|
45
|
+
"primary-ai",
|
|
46
|
+
"main-ai",
|
|
47
|
+
"ghost-ai"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "label",
|
|
52
|
+
"type": "string | undefined",
|
|
53
|
+
"required": false,
|
|
54
|
+
"description": "Accessible label used when no default slot is provided.\nThe text is hidden visually by JoyIconButton styles.",
|
|
55
|
+
"possibleValues": [
|
|
56
|
+
"string"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "icon",
|
|
61
|
+
"type": "string",
|
|
62
|
+
"required": true,
|
|
63
|
+
"description": "Name of the icon displayed inside the button",
|
|
64
|
+
"possibleValues": "TJoyIconsNames (220 values)"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "id",
|
|
68
|
+
"type": "string | undefined",
|
|
69
|
+
"required": false,
|
|
70
|
+
"description": "",
|
|
71
|
+
"possibleValues": [
|
|
72
|
+
"string"
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"events": [],
|
|
77
|
+
"slots": [
|
|
78
|
+
{
|
|
79
|
+
"name": "default",
|
|
80
|
+
"description": "Accessible label for the icon button"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"exposed": [
|
|
84
|
+
{
|
|
85
|
+
"name": "size",
|
|
86
|
+
"type": "TJoyButtonSizes",
|
|
87
|
+
"isMethod": false
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "loading",
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"isMethod": false
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "variant",
|
|
96
|
+
"type": "TJoyButtonVariants",
|
|
97
|
+
"isMethod": false
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "label",
|
|
101
|
+
"type": "string | undefined",
|
|
102
|
+
"isMethod": false
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "icon",
|
|
106
|
+
"type": "string",
|
|
107
|
+
"isMethod": false
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "id",
|
|
111
|
+
"type": "string | undefined",
|
|
112
|
+
"isMethod": false
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"hasVModel": false
|
|
116
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "JoyIndicators",
|
|
3
3
|
"displayName": "VJoyIndicators",
|
|
4
|
-
"description": "A navigation component for creating page or content indicators, commonly used in carousels and dialogs
|
|
4
|
+
"description": "A navigation component for creating page or content indicators, commonly used in carousels and dialogs.\nManages a collection of VJoyIndicator components with selection state and v-model support.\nFeatures visual variants and automatic indicator management for seamless navigation experiences with proper accessibility and keyboard interaction support.",
|
|
5
|
+
"category": "Buttons",
|
|
5
6
|
"props": [
|
|
6
7
|
{
|
|
7
8
|
"name": "variant",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "JoyInput",
|
|
3
3
|
"displayName": "VJoyInput",
|
|
4
|
-
"description": "A comprehensive form input component with extensive customization and validation features
|
|
4
|
+
"description": "A comprehensive form input component with extensive customization and validation features.\nSupports multiple input types, icon support, clearable functionality, unit displays, and comprehensive validation states.\nFeatures auto-focus capabilities, accessibility compliance, and seamless integration with form validation systems.",
|
|
5
|
+
"category": "Forms",
|
|
5
6
|
"props": [
|
|
6
7
|
{
|
|
7
8
|
"name": "autofocus",
|
|
@@ -239,11 +240,6 @@
|
|
|
239
240
|
"type": "boolean",
|
|
240
241
|
"isMethod": false
|
|
241
242
|
},
|
|
242
|
-
{
|
|
243
|
-
"name": "autofocus",
|
|
244
|
-
"type": "boolean",
|
|
245
|
-
"isMethod": false
|
|
246
|
-
},
|
|
247
243
|
{
|
|
248
244
|
"name": "labelSize",
|
|
249
245
|
"type": "TJoyLabelSizes",
|
|
@@ -254,6 +250,11 @@
|
|
|
254
250
|
"type": "boolean",
|
|
255
251
|
"isMethod": false
|
|
256
252
|
},
|
|
253
|
+
{
|
|
254
|
+
"name": "autofocus",
|
|
255
|
+
"type": "boolean",
|
|
256
|
+
"isMethod": false
|
|
257
|
+
},
|
|
257
258
|
{
|
|
258
259
|
"name": "modelModifiers",
|
|
259
260
|
"type": "Partial<Record<\"number\" | \"trim\" | \"lazy\", boolean>>",
|
|
@@ -294,6 +295,11 @@
|
|
|
294
295
|
"type": "string | undefined",
|
|
295
296
|
"isMethod": false
|
|
296
297
|
},
|
|
298
|
+
{
|
|
299
|
+
"name": "optionalLabel",
|
|
300
|
+
"type": "string | undefined",
|
|
301
|
+
"isMethod": false
|
|
302
|
+
},
|
|
297
303
|
{
|
|
298
304
|
"name": "modelValue",
|
|
299
305
|
"type": "string | number | null | undefined",
|
|
@@ -304,11 +310,6 @@
|
|
|
304
310
|
"type": "((value: string) => any) | undefined",
|
|
305
311
|
"isMethod": true
|
|
306
312
|
},
|
|
307
|
-
{
|
|
308
|
-
"name": "optionalLabel",
|
|
309
|
-
"type": "string | undefined",
|
|
310
|
-
"isMethod": false
|
|
311
|
-
},
|
|
312
313
|
{
|
|
313
314
|
"name": "unit",
|
|
314
315
|
"type": "string | undefined",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "JoyInputDigit",
|
|
3
3
|
"displayName": "VJoyInputDigit",
|
|
4
|
-
"description": "One-time code input with auto-navigation between slots
|
|
4
|
+
"description": "One-time code input with auto-navigation between slots.\nSupports numeric filtering with disabled/invalid states.",
|
|
5
|
+
"category": "Forms",
|
|
5
6
|
"props": [
|
|
6
7
|
{
|
|
7
8
|
"name": "modelValue",
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "JoyInputNumber",
|
|
3
|
+
"displayName": "VJoyInputNumber",
|
|
4
|
+
"description": "Number input built on top of VJoyInput. Displays the unit label on the right of the input.",
|
|
5
|
+
"category": "Forms",
|
|
6
|
+
"props": [
|
|
7
|
+
{
|
|
8
|
+
"name": "invalid",
|
|
9
|
+
"type": "boolean | undefined",
|
|
10
|
+
"required": false,
|
|
11
|
+
"default": "false",
|
|
12
|
+
"description": "",
|
|
13
|
+
"possibleValues": [
|
|
14
|
+
"false",
|
|
15
|
+
"true"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "label",
|
|
20
|
+
"type": "string | undefined",
|
|
21
|
+
"required": false,
|
|
22
|
+
"description": "Display a label on top of the element. Handy if you only need to pass a string. If you need more, use the VJoyLabel.",
|
|
23
|
+
"possibleValues": [
|
|
24
|
+
"string"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "type",
|
|
29
|
+
"type": "string | undefined",
|
|
30
|
+
"required": false,
|
|
31
|
+
"default": "\"number\"",
|
|
32
|
+
"description": "",
|
|
33
|
+
"possibleValues": null
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "size",
|
|
37
|
+
"type": "TJoyInputSizes | undefined",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "",
|
|
40
|
+
"possibleValues": [
|
|
41
|
+
"medium",
|
|
42
|
+
"large",
|
|
43
|
+
"small"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "required",
|
|
48
|
+
"type": "boolean | undefined",
|
|
49
|
+
"required": false,
|
|
50
|
+
"default": "false",
|
|
51
|
+
"description": "",
|
|
52
|
+
"possibleValues": [
|
|
53
|
+
"false",
|
|
54
|
+
"true"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "icon",
|
|
59
|
+
"type": "string",
|
|
60
|
+
"required": false,
|
|
61
|
+
"description": "Add a JoyIcon / joy-icon with given name on left-side.",
|
|
62
|
+
"possibleValues": "TJoyIconsNames (220 values)"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "id",
|
|
66
|
+
"type": "string | undefined",
|
|
67
|
+
"required": false,
|
|
68
|
+
"description": "",
|
|
69
|
+
"possibleValues": [
|
|
70
|
+
"string"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "disabled",
|
|
75
|
+
"type": "boolean | undefined",
|
|
76
|
+
"required": false,
|
|
77
|
+
"default": "false",
|
|
78
|
+
"description": "",
|
|
79
|
+
"possibleValues": [
|
|
80
|
+
"false",
|
|
81
|
+
"true"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "name",
|
|
86
|
+
"type": "string | undefined",
|
|
87
|
+
"required": false,
|
|
88
|
+
"default": "\"joy-input-password\"",
|
|
89
|
+
"description": "",
|
|
90
|
+
"possibleValues": [
|
|
91
|
+
"string"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "labelSize",
|
|
96
|
+
"type": "TJoyLabelSizes | undefined",
|
|
97
|
+
"required": false,
|
|
98
|
+
"default": "\"medium\"",
|
|
99
|
+
"description": "Overrides the default label size. See JoyLabel stories",
|
|
100
|
+
"possibleValues": [
|
|
101
|
+
"medium",
|
|
102
|
+
"large",
|
|
103
|
+
"small"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "optionalLabel",
|
|
108
|
+
"type": "string | undefined",
|
|
109
|
+
"required": false,
|
|
110
|
+
"description": "If your component is not required, we can add a label to explicitely tell that it's not mandatory",
|
|
111
|
+
"possibleValues": [
|
|
112
|
+
"string"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "requiredMark",
|
|
117
|
+
"type": "boolean | undefined",
|
|
118
|
+
"required": false,
|
|
119
|
+
"default": "false",
|
|
120
|
+
"description": "Depending on context, we can add a \"*\" after the label to specify it's mandatory.",
|
|
121
|
+
"possibleValues": [
|
|
122
|
+
"false",
|
|
123
|
+
"true"
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "modelValue",
|
|
128
|
+
"type": "string | number | null | undefined",
|
|
129
|
+
"required": false,
|
|
130
|
+
"description": "",
|
|
131
|
+
"possibleValues": [
|
|
132
|
+
"null",
|
|
133
|
+
"string",
|
|
134
|
+
"number"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "autofocus",
|
|
139
|
+
"type": "boolean | undefined",
|
|
140
|
+
"required": false,
|
|
141
|
+
"default": "false",
|
|
142
|
+
"description": "",
|
|
143
|
+
"possibleValues": [
|
|
144
|
+
"false",
|
|
145
|
+
"true"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "modelModifiers",
|
|
150
|
+
"type": "Partial<Record<\"number\" | \"trim\" | \"lazy\", boolean>> | undefined",
|
|
151
|
+
"required": false,
|
|
152
|
+
"default": "{ lazy: false }",
|
|
153
|
+
"description": "",
|
|
154
|
+
"possibleValues": [
|
|
155
|
+
"Partial<Record<\"number\" | \"trim\" | \"lazy\", boolean>>"
|
|
156
|
+
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "unit",
|
|
160
|
+
"type": "string | undefined",
|
|
161
|
+
"required": false,
|
|
162
|
+
"default": "\"\\u20AC\"",
|
|
163
|
+
"description": "Adds a legend like symbol on the right of the component. Made for number based values",
|
|
164
|
+
"possibleValues": [
|
|
165
|
+
"string"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "readonly",
|
|
170
|
+
"type": "boolean | undefined",
|
|
171
|
+
"required": false,
|
|
172
|
+
"default": "false",
|
|
173
|
+
"description": "Activates the readonly mode for the input",
|
|
174
|
+
"possibleValues": [
|
|
175
|
+
"false",
|
|
176
|
+
"true"
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
],
|
|
180
|
+
"events": [
|
|
181
|
+
{
|
|
182
|
+
"name": "update:modelValue",
|
|
183
|
+
"description": "",
|
|
184
|
+
"signature": "(event: \"update:modelValue\", value: string): void"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"slots": [],
|
|
188
|
+
"exposed": [
|
|
189
|
+
{
|
|
190
|
+
"name": "invalid",
|
|
191
|
+
"type": "boolean",
|
|
192
|
+
"isMethod": false
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "type",
|
|
196
|
+
"type": "string",
|
|
197
|
+
"isMethod": false
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "required",
|
|
201
|
+
"type": "boolean",
|
|
202
|
+
"isMethod": false
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "disabled",
|
|
206
|
+
"type": "boolean",
|
|
207
|
+
"isMethod": false
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "name",
|
|
211
|
+
"type": "string",
|
|
212
|
+
"isMethod": false
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "labelSize",
|
|
216
|
+
"type": "TJoyLabelSizes",
|
|
217
|
+
"isMethod": false
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "requiredMark",
|
|
221
|
+
"type": "boolean",
|
|
222
|
+
"isMethod": false
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "autofocus",
|
|
226
|
+
"type": "boolean",
|
|
227
|
+
"isMethod": false
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "modelModifiers",
|
|
231
|
+
"type": "Partial<Record<\"number\" | \"trim\" | \"lazy\", boolean>>",
|
|
232
|
+
"isMethod": false
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "unit",
|
|
236
|
+
"type": "string",
|
|
237
|
+
"isMethod": false
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "readonly",
|
|
241
|
+
"type": "boolean",
|
|
242
|
+
"isMethod": false
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "label",
|
|
246
|
+
"type": "string | undefined",
|
|
247
|
+
"isMethod": false
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "size",
|
|
251
|
+
"type": "TJoyInputSizes | undefined",
|
|
252
|
+
"isMethod": false
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "icon",
|
|
256
|
+
"type": "string",
|
|
257
|
+
"isMethod": false
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "id",
|
|
261
|
+
"type": "string | undefined",
|
|
262
|
+
"isMethod": false
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "optionalLabel",
|
|
266
|
+
"type": "string | undefined",
|
|
267
|
+
"isMethod": false
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"name": "modelValue",
|
|
271
|
+
"type": "string | number | null | undefined",
|
|
272
|
+
"isMethod": false
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "onUpdate:modelValue",
|
|
276
|
+
"type": "((value: string) => any) | undefined",
|
|
277
|
+
"isMethod": true
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "focus",
|
|
281
|
+
"type": "() => void",
|
|
282
|
+
"isMethod": true
|
|
283
|
+
}
|
|
284
|
+
],
|
|
285
|
+
"hasVModel": true
|
|
286
|
+
}
|