@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.
Files changed (75) hide show
  1. package/README.md +34 -3
  2. package/dist/doc/VJoyAvailability/JoyAvailability.types.ts +1 -0
  3. package/dist/doc/VJoyAvatar/JoyAvatar.types.ts +6 -0
  4. package/dist/doc/VJoyAvatar/metadata.json +1 -1
  5. package/dist/doc/VJoyBadge/JoyBadge.types.ts +3 -0
  6. package/dist/doc/VJoyBadge/metadata.json +0 -14
  7. package/dist/doc/VJoyBadgeLevel/JoyBadgeLevel.types.ts +15 -0
  8. package/dist/doc/VJoyButton/JoyButton.types.ts +10 -0
  9. package/dist/doc/VJoyButton/metadata.json +1 -1
  10. package/dist/doc/VJoyCollapseItem/JoyCollapseItem.types.ts +8 -0
  11. package/dist/doc/VJoyCollapseItem/metadata.json +1 -1
  12. package/dist/doc/VJoyCompanyAvatar/JoyCompanyAvatar.types.ts +3 -0
  13. package/dist/doc/VJoyDialog/JoyDialog.types.ts +3 -0
  14. package/dist/doc/VJoyDot/VJoyDot.types.ts +1 -0
  15. package/dist/doc/VJoyDot/metadata.json +13 -14
  16. package/dist/doc/VJoyDrawer/JoyDrawer.types.ts +1 -0
  17. package/dist/doc/VJoyDropdown/JoyDropdown.types.ts +21 -0
  18. package/dist/doc/VJoyDropdownList/JoyDropdownList.types.ts +3 -0
  19. package/dist/doc/VJoyDropzone/metadata.json +11 -0
  20. package/dist/doc/VJoyFormError/metadata.json +16 -0
  21. package/dist/doc/VJoyFunnel/JoyFunnel.types.ts +5 -0
  22. package/dist/doc/VJoyHighlight/JoyHighlight.types.ts +4 -0
  23. package/dist/doc/VJoyHighlight/metadata.json +1 -1
  24. package/dist/doc/VJoyIcon/JoyIcon.types.ts +8 -0
  25. package/dist/doc/VJoyIcon/metadata.json +1 -1
  26. package/dist/doc/VJoyIndicators/JoyIndicators.types.ts +1 -0
  27. package/dist/doc/VJoyInput/JoyInput.types.ts +36 -0
  28. package/dist/doc/VJoyInput/metadata.json +7 -5
  29. package/dist/doc/VJoyLabel/JoyLabel.types.ts +3 -0
  30. package/dist/doc/VJoyLink/JoyLink.types.ts +2 -0
  31. package/dist/doc/VJoyLink/metadata.json +1 -1
  32. package/dist/doc/VJoyListItem/metadata.json +1 -1
  33. package/dist/doc/VJoyMenu/JoyMenu.types.ts +14 -0
  34. package/dist/doc/VJoyMenu/metadata.json +14 -4
  35. package/dist/doc/VJoyMenuItem/metadata.json +2 -2
  36. package/dist/doc/VJoyPanel/JoyPanel.types.ts +6 -0
  37. package/dist/doc/VJoyProductTour/JoyProductTour.types.ts +45 -0
  38. package/dist/doc/VJoyProductTour/metadata.json +1 -1
  39. package/dist/doc/VJoyProgressBar/JoyProgressBar.types.ts +3 -0
  40. package/dist/doc/VJoyRadio/JoyRadio.types.ts +1 -0
  41. package/dist/doc/VJoyRadio/metadata.json +16 -0
  42. package/dist/doc/VJoyRadioGroup/JoyRadioGroup.types.ts +1 -0
  43. package/dist/doc/VJoyRadioGroup/metadata.json +16 -0
  44. package/dist/doc/VJoyRatingStars/JoyRatingStars.types.ts +3 -0
  45. package/dist/doc/VJoyScreenLoader/VJoyScreenLoader.types.ts +1 -0
  46. package/dist/doc/VJoySelect/JoySelect.types.ts +3 -0
  47. package/dist/doc/VJoySelectableItem/VJoySelectableItem.types.ts +10 -0
  48. package/dist/doc/VJoySelectableItem/metadata.json +1 -1
  49. package/dist/doc/VJoySeparator/JoySeparator.types.ts +4 -0
  50. package/dist/doc/VJoySnackbar/JoySnackbar.types.ts +23 -0
  51. package/dist/doc/VJoySpinner/JoySpinner.types.ts +1 -0
  52. package/dist/doc/VJoyStep/TJoyStep.types.ts +1 -0
  53. package/dist/doc/VJoyTag/JoyTag.types.ts +19 -0
  54. package/dist/doc/VJoyTag/metadata.json +10 -9
  55. package/dist/doc/VJoyTagsInput/JoyTagsInput.types.ts +4 -0
  56. package/dist/doc/VJoyTagsInput/metadata.json +1 -0
  57. package/dist/doc/VJoyTagsList/JoyTagsList.types.ts +5 -0
  58. package/dist/doc/VJoyTagsList/metadata.json +112 -110
  59. package/dist/doc/VJoyTemplate/JoyTemplate.types.ts +1 -0
  60. package/dist/doc/VJoyText/JoyText.types.ts +14 -0
  61. package/dist/doc/VJoyWalkthrough/metadata.json +1 -1
  62. package/dist/doc/VJoyWalkthroughTrigger/metadata.json +1 -1
  63. package/dist/doc/VJoyWrapper/JoyWrapper.types.ts +9 -0
  64. package/dist/doc/css-classes.json +12 -0
  65. package/dist/doc/design-tokens.json +150 -148
  66. package/dist/doc/index.json +8 -8
  67. package/dist/index.js +15 -2
  68. package/dist/index.js.map +1 -1
  69. package/dist/tools/get-component-types.d.ts +31 -0
  70. package/dist/tools/get-component-types.d.ts.map +1 -0
  71. package/dist/tools/get-component-types.js +60 -0
  72. package/dist/tools/get-component-types.js.map +1 -0
  73. package/dist/tools/list-design-tokens.d.ts +8 -8
  74. package/dist/tools/list-design-tokens.d.ts.map +1 -1
  75. package/package.json +2 -2
@@ -7,7 +7,7 @@
7
7
  "type": "string",
8
8
  "required": false,
9
9
  "description": "",
10
- "possibleValues": "TJoyIconsNames (210 values)"
10
+ "possibleValues": "TJoyIconsNames (220 values)"
11
11
  },
12
12
  {
13
13
  "name": "steps",
@@ -0,0 +1,3 @@
1
+ import {TGenericVariants, TLevels} from '../../types';
2
+
3
+ export type TJoyProgressBarColors = TGenericVariants | Exclude<TLevels, 'info' | 'neutral'>;
@@ -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,3 @@
1
+ import {TSizes} from '../../types';
2
+
3
+ export type TJoyRatingStarsSizes = Extract<TSizes, 'small' | 'medium' | 'large'>;
@@ -0,0 +1 @@
1
+ export type TJoyScreenLoaderColors = 'dark' | 'light';
@@ -0,0 +1,3 @@
1
+ import {TSizes} from '../../types';
2
+
3
+ export type TJoySelectSizes = Extract<TSizes, 'xsmall' | 'small' | 'medium'>;
@@ -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
+ }
@@ -104,7 +104,7 @@
104
104
  "type": "string",
105
105
  "required": false,
106
106
  "description": "",
107
- "possibleValues": "TJoyIconsNames (210 values)"
107
+ "possibleValues": "TJoyIconsNames (220 values)"
108
108
  }
109
109
  ],
110
110
  "events": [
@@ -0,0 +1,4 @@
1
+ import {TSizes} from '../../types';
2
+
3
+ export type BinarySizes = 'default';
4
+ export type TJoySeparatorSizes = BinarySizes | Extract<TSizes, 'small'>;
@@ -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": "onSelected",
232
- "type": "((tag: IJoyTagSelected) => any) | undefined",
232
+ "name": "onRemove",
233
+ "type": "((value: IJoyTagRemoved) => any) | undefined",
233
234
  "isMethod": true
234
235
  },
235
236
  {
236
- "name": "onRemove",
237
- "type": "((value: IJoyTagRemoved) => any) | undefined",
237
+ "name": "onSelected",
238
+ "type": "((tag: IJoyTagSelected) => any) | undefined",
238
239
  "isMethod": true
239
240
  }
240
241
  ],
@@ -0,0 +1,4 @@
1
+ export enum TAGS_INPUT_ERRORS {
2
+ DUPLICATED_ENTRY = 'DUPLICATED_ENTRY',
3
+ INVALID_EMAIL = 'INVALID_EMAIL',
4
+ }
@@ -30,6 +30,7 @@
30
30
  "possibleValues": [
31
31
  "secondary",
32
32
  "primary",
33
+ "empty",
33
34
  "important",
34
35
  "inactive",
35
36
  "pending",
@@ -0,0 +1,5 @@
1
+ import {IJoyTag} from '../JoyTag/JoyTag.types';
2
+
3
+ export type TJoyTagsListAlign = 'center' | 'left' | 'right';
4
+ export type TJoyTagsList = IJoyTag[];
5
+ export type TJoyTagsListModel = IJoyTag['value'][];