@maltjoy/mcp-server 0.1.2 → 0.3.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 +34 -3
- package/dist/doc/VJoyAvailability/JoyAvailability.types.ts +1 -0
- package/dist/doc/VJoyAvatar/JoyAvatar.types.ts +6 -0
- package/dist/doc/VJoyAvatar/metadata.json +1 -1
- package/dist/doc/VJoyBadge/JoyBadge.types.ts +3 -0
- package/dist/doc/VJoyBadge/metadata.json +0 -14
- package/dist/doc/VJoyBadgeLevel/JoyBadgeLevel.types.ts +15 -0
- package/dist/doc/VJoyButton/JoyButton.types.ts +10 -0
- package/dist/doc/VJoyButton/metadata.json +1 -1
- package/dist/doc/VJoyCollapseItem/JoyCollapseItem.types.ts +8 -0
- package/dist/doc/VJoyCollapseItem/metadata.json +1 -1
- package/dist/doc/VJoyCompanyAvatar/JoyCompanyAvatar.types.ts +3 -0
- package/dist/doc/VJoyDialog/JoyDialog.types.ts +3 -0
- package/dist/doc/VJoyDot/VJoyDot.types.ts +1 -0
- package/dist/doc/VJoyDot/metadata.json +13 -14
- package/dist/doc/VJoyDrawer/JoyDrawer.types.ts +1 -0
- package/dist/doc/VJoyDropdown/JoyDropdown.types.ts +21 -0
- package/dist/doc/VJoyDropdownList/JoyDropdownList.types.ts +3 -0
- package/dist/doc/VJoyDropzone/metadata.json +11 -0
- package/dist/doc/VJoyFormError/metadata.json +16 -0
- package/dist/doc/VJoyFunnel/JoyFunnel.types.ts +5 -0
- package/dist/doc/VJoyHighlight/JoyHighlight.types.ts +4 -0
- package/dist/doc/VJoyHighlight/metadata.json +1 -1
- package/dist/doc/VJoyIcon/JoyIcon.types.ts +8 -0
- package/dist/doc/VJoyIcon/metadata.json +1 -1
- package/dist/doc/VJoyIndicators/JoyIndicators.types.ts +1 -0
- package/dist/doc/VJoyInput/JoyInput.types.ts +36 -0
- package/dist/doc/VJoyInput/metadata.json +7 -5
- package/dist/doc/VJoyLabel/JoyLabel.types.ts +3 -0
- package/dist/doc/VJoyLink/JoyLink.types.ts +2 -0
- package/dist/doc/VJoyLink/metadata.json +1 -1
- package/dist/doc/VJoyListItem/metadata.json +1 -1
- package/dist/doc/VJoyMenu/JoyMenu.types.ts +14 -0
- package/dist/doc/VJoyMenu/metadata.json +14 -4
- package/dist/doc/VJoyMenuItem/metadata.json +2 -2
- package/dist/doc/VJoyPanel/JoyPanel.types.ts +6 -0
- package/dist/doc/VJoyProductTour/JoyProductTour.types.ts +45 -0
- package/dist/doc/VJoyProductTour/metadata.json +1 -1
- package/dist/doc/VJoyProgressBar/JoyProgressBar.types.ts +3 -0
- package/dist/doc/VJoyRadio/JoyRadio.types.ts +1 -0
- package/dist/doc/VJoyRadio/metadata.json +16 -0
- package/dist/doc/VJoyRadioGroup/JoyRadioGroup.types.ts +1 -0
- package/dist/doc/VJoyRadioGroup/metadata.json +16 -0
- package/dist/doc/VJoyRatingStars/JoyRatingStars.types.ts +3 -0
- package/dist/doc/VJoyScreenLoader/VJoyScreenLoader.types.ts +1 -0
- package/dist/doc/VJoySelect/JoySelect.types.ts +3 -0
- package/dist/doc/VJoySelectableItem/VJoySelectableItem.types.ts +10 -0
- package/dist/doc/VJoySelectableItem/metadata.json +1 -1
- package/dist/doc/VJoySeparator/JoySeparator.types.ts +4 -0
- package/dist/doc/VJoySnackbar/JoySnackbar.types.ts +23 -0
- package/dist/doc/VJoySpinner/JoySpinner.types.ts +1 -0
- package/dist/doc/VJoyStep/TJoyStep.types.ts +1 -0
- package/dist/doc/VJoyTag/JoyTag.types.ts +19 -0
- package/dist/doc/VJoyTag/metadata.json +10 -9
- package/dist/doc/VJoyTagsInput/JoyTagsInput.types.ts +4 -0
- package/dist/doc/VJoyTagsInput/metadata.json +1 -0
- package/dist/doc/VJoyTagsList/JoyTagsList.types.ts +5 -0
- package/dist/doc/VJoyTagsList/metadata.json +112 -110
- package/dist/doc/VJoyTemplate/JoyTemplate.types.ts +1 -0
- package/dist/doc/VJoyText/JoyText.types.ts +14 -0
- package/dist/doc/VJoyWalkthrough/metadata.json +1 -1
- package/dist/doc/VJoyWalkthroughTrigger/metadata.json +1 -1
- package/dist/doc/VJoyWrapper/JoyWrapper.types.ts +9 -0
- package/dist/doc/css-classes.json +12 -0
- package/dist/doc/design-tokens.json +150 -148
- package/dist/doc/index.json +8 -8
- package/dist/index.js +15 -2
- package/dist/index.js.map +1 -1
- package/dist/tools/get-component-types.d.ts +31 -0
- package/dist/tools/get-component-types.d.ts.map +1 -0
- package/dist/tools/get-component-types.js +60 -0
- package/dist/tools/get-component-types.js.map +1 -0
- package/dist/tools/list-design-tokens.d.ts +8 -8
- package/dist/tools/list-design-tokens.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type RadioThemes = 'default' | 'outline';
|
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
"name": "JoyRadio",
|
|
3
3
|
"displayName": "VJoyRadio",
|
|
4
4
|
"props": [
|
|
5
|
+
{
|
|
6
|
+
"name": "invalid",
|
|
7
|
+
"type": "boolean | undefined",
|
|
8
|
+
"required": false,
|
|
9
|
+
"default": "undefined",
|
|
10
|
+
"description": "Invalid state of the component\n\nIf not explicitly provided, will inherit from parent VJoyRadioGroup's invalid prop.\nNote: A checked radio cannot be invalid (the `checked` state takes priority over `invalid` state).",
|
|
11
|
+
"possibleValues": [
|
|
12
|
+
"false",
|
|
13
|
+
"true"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
5
16
|
{
|
|
6
17
|
"name": "required",
|
|
7
18
|
"type": "boolean | undefined",
|
|
@@ -104,6 +115,11 @@
|
|
|
104
115
|
}
|
|
105
116
|
],
|
|
106
117
|
"exposed": [
|
|
118
|
+
{
|
|
119
|
+
"name": "invalid",
|
|
120
|
+
"type": "boolean",
|
|
121
|
+
"isMethod": false
|
|
122
|
+
},
|
|
107
123
|
{
|
|
108
124
|
"name": "required",
|
|
109
125
|
"type": "boolean",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type RadioGroupDirection = 'vertical' | 'horizontal';
|
|
@@ -30,6 +30,17 @@
|
|
|
30
30
|
"possibleValues": [
|
|
31
31
|
"string"
|
|
32
32
|
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "invalid",
|
|
36
|
+
"type": "boolean | undefined",
|
|
37
|
+
"required": false,
|
|
38
|
+
"default": "false",
|
|
39
|
+
"description": "Invalid state of the radio group\n\nWhen set to true, all child VJoyRadio components will inherit this invalid state.\nNote: A checked radio cannot be invalid (the `checked` state takes priority over `invalid` state at the radio level).",
|
|
40
|
+
"possibleValues": [
|
|
41
|
+
"false",
|
|
42
|
+
"true"
|
|
43
|
+
]
|
|
33
44
|
}
|
|
34
45
|
],
|
|
35
46
|
"events": [],
|
|
@@ -44,6 +55,11 @@
|
|
|
44
55
|
}
|
|
45
56
|
],
|
|
46
57
|
"exposed": [
|
|
58
|
+
{
|
|
59
|
+
"name": "invalid",
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"isMethod": false
|
|
62
|
+
},
|
|
47
63
|
{
|
|
48
64
|
"name": "direction",
|
|
49
65
|
"type": "RadioGroupDirection",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TJoyScreenLoaderColors = 'dark' | 'light';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import VJoySelectableItem from './VJoySelectableItem.vue';
|
|
2
|
+
import type {ComponentProps} from 'vue-component-type-helpers';
|
|
3
|
+
|
|
4
|
+
export type TVJoySelectableItemProps = ComponentProps<typeof VJoySelectableItem>;
|
|
5
|
+
|
|
6
|
+
export interface TJoySelectableItemOption extends TVJoySelectableItemProps {
|
|
7
|
+
attrs?: {
|
|
8
|
+
[k: string]: any;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {App} from 'vue';
|
|
2
|
+
import {Emitter} from 'mitt';
|
|
3
|
+
import VJoySnackbar from './VJoySnackbar.vue';
|
|
4
|
+
import {TLevels} from '../../types';
|
|
5
|
+
|
|
6
|
+
export type TJoySnackbarLevels = Exclude<TLevels, 'neutral'>;
|
|
7
|
+
|
|
8
|
+
export type TJoySnackbarEvents = {
|
|
9
|
+
'snackbar:hide': undefined;
|
|
10
|
+
'snackbar:show': undefined;
|
|
11
|
+
'snackbar:action-click': undefined;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export interface IJoynackbarServiceOptions {
|
|
15
|
+
disableStacking?: boolean;
|
|
16
|
+
snackbarHostId?: string;
|
|
17
|
+
props: InstanceType<typeof VJoySnackbar>['$props'];
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface IJoynackbarServiceReturn {
|
|
21
|
+
snackbarEventBus: Emitter<TJoySnackbarEvents>;
|
|
22
|
+
snackbarApp: App<Element>;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TJoySpinnerColors = 'teal' | 'white';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TJoyStepSizes = 'small' | 'default';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {TSizes} from '../../types';
|
|
2
|
+
import VJoyTag from './VJoyTag.vue';
|
|
3
|
+
|
|
4
|
+
export type TJoyTagVariants = 'important' | 'inactive' | 'pending' | 'pricing' | 'special' | 'primary' | 'secondary' | 'ai-primary' | 'ai-secondary' | 'empty';
|
|
5
|
+
|
|
6
|
+
export type TJoyTagSizes = Exclude<TSizes, 'xlarge' | 'xxsmall'>;
|
|
7
|
+
|
|
8
|
+
export type VJoyTagProps = InstanceType<typeof VJoyTag>['$props'];
|
|
9
|
+
|
|
10
|
+
export interface IJoyTagSelected {
|
|
11
|
+
selected: boolean;
|
|
12
|
+
value: VJoyTagProps['value'];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface IJoyTagRemoved {
|
|
16
|
+
value: VJoyTagProps['value'];
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export interface IJoyTag extends VJoyTagProps {}
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"possibleValues": [
|
|
34
34
|
"secondary",
|
|
35
35
|
"primary",
|
|
36
|
+
"empty",
|
|
36
37
|
"important",
|
|
37
38
|
"inactive",
|
|
38
39
|
"pending",
|
|
@@ -139,6 +140,11 @@
|
|
|
139
140
|
}
|
|
140
141
|
],
|
|
141
142
|
"events": [
|
|
143
|
+
{
|
|
144
|
+
"name": "remove",
|
|
145
|
+
"description": "",
|
|
146
|
+
"signature": "(event: \"remove\", value: IJoyTagRemoved): void"
|
|
147
|
+
},
|
|
142
148
|
{
|
|
143
149
|
"name": "click",
|
|
144
150
|
"description": "",
|
|
@@ -148,11 +154,6 @@
|
|
|
148
154
|
"name": "selected",
|
|
149
155
|
"description": "",
|
|
150
156
|
"signature": "(event: \"selected\", tag: IJoyTagSelected): void"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"name": "remove",
|
|
154
|
-
"description": "",
|
|
155
|
-
"signature": "(event: \"remove\", value: IJoyTagRemoved): void"
|
|
156
157
|
}
|
|
157
158
|
],
|
|
158
159
|
"slots": [
|
|
@@ -228,13 +229,13 @@
|
|
|
228
229
|
"isMethod": false
|
|
229
230
|
},
|
|
230
231
|
{
|
|
231
|
-
"name": "
|
|
232
|
-
"type": "((
|
|
232
|
+
"name": "onRemove",
|
|
233
|
+
"type": "((value: IJoyTagRemoved) => any) | undefined",
|
|
233
234
|
"isMethod": true
|
|
234
235
|
},
|
|
235
236
|
{
|
|
236
|
-
"name": "
|
|
237
|
-
"type": "((
|
|
237
|
+
"name": "onSelected",
|
|
238
|
+
"type": "((tag: IJoyTagSelected) => any) | undefined",
|
|
238
239
|
"isMethod": true
|
|
239
240
|
}
|
|
240
241
|
],
|