wavemaker-dev-mcp 0.1.3 → 1.0.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 (111) hide show
  1. package/README.md +75 -52
  2. package/dist/index.js +108 -177
  3. package/dist/index.js.map +1 -1
  4. package/dist/skills/loader.d.ts +36 -0
  5. package/dist/skills/loader.d.ts.map +1 -0
  6. package/dist/skills/loader.js +107 -0
  7. package/dist/skills/loader.js.map +1 -0
  8. package/package.json +8 -4
  9. package/skills/components/wm-accordion-pane.md +44 -0
  10. package/skills/components/wm-accordion.md +43 -0
  11. package/skills/components/wm-alert-dialog.md +42 -0
  12. package/skills/components/wm-anchor.md +51 -0
  13. package/skills/components/wm-audio.md +41 -0
  14. package/skills/components/wm-button-group.md +36 -0
  15. package/skills/components/wm-button.md +114 -0
  16. package/skills/components/wm-calendar.md +54 -0
  17. package/skills/components/wm-card.md +60 -0
  18. package/skills/components/wm-carousel.md +43 -0
  19. package/skills/components/wm-chart.md +104 -0
  20. package/skills/components/wm-checkbox.md +52 -0
  21. package/skills/components/wm-checkboxset.md +75 -0
  22. package/skills/components/wm-chips.md +78 -0
  23. package/skills/components/wm-composite.md +30 -0
  24. package/skills/components/wm-confirm-dialog.md +43 -0
  25. package/skills/components/wm-container.md +100 -0
  26. package/skills/components/wm-currency.md +69 -0
  27. package/skills/components/wm-datatable.md +146 -0
  28. package/skills/components/wm-date-time.md +80 -0
  29. package/skills/components/wm-date.md +78 -0
  30. package/skills/components/wm-dialog-body.md +28 -0
  31. package/skills/components/wm-dialog-container.md +48 -0
  32. package/skills/components/wm-dialog-content.md +31 -0
  33. package/skills/components/wm-dialog-footer.md +28 -0
  34. package/skills/components/wm-dialog-header.md +43 -0
  35. package/skills/components/wm-dialog.md +40 -0
  36. package/skills/components/wm-file-upload.md +58 -0
  37. package/skills/components/wm-footer.md +31 -0
  38. package/skills/components/wm-form-field.md +81 -0
  39. package/skills/components/wm-form.md +58 -0
  40. package/skills/components/wm-grid-column.md +30 -0
  41. package/skills/components/wm-header.md +31 -0
  42. package/skills/components/wm-html.md +31 -0
  43. package/skills/components/wm-icon.md +40 -0
  44. package/skills/components/wm-iframe-dialog.md +52 -0
  45. package/skills/components/wm-iframe.md +35 -0
  46. package/skills/components/wm-label.md +45 -0
  47. package/skills/components/wm-left-nav.md +35 -0
  48. package/skills/components/wm-linear-layout-item.md +28 -0
  49. package/skills/components/wm-linear-layout.md +92 -0
  50. package/skills/components/wm-list.md +92 -0
  51. package/skills/components/wm-live-filter.md +50 -0
  52. package/skills/components/wm-live-form.md +35 -0
  53. package/skills/components/wm-login-dialog.md +50 -0
  54. package/skills/components/wm-login.md +39 -0
  55. package/skills/components/wm-marquee.md +31 -0
  56. package/skills/components/wm-menu.md +71 -0
  57. package/skills/components/wm-message.md +41 -0
  58. package/skills/components/wm-nav-item.md +28 -0
  59. package/skills/components/wm-nav.md +61 -0
  60. package/skills/components/wm-number.md +62 -0
  61. package/skills/components/wm-page-content.md +34 -0
  62. package/skills/components/wm-page-dialog.md +45 -0
  63. package/skills/components/wm-page-toast.md +34 -0
  64. package/skills/components/wm-page.md +34 -0
  65. package/skills/components/wm-pagination.md +62 -0
  66. package/skills/components/wm-panel.md +69 -0
  67. package/skills/components/wm-partial-container.md +32 -0
  68. package/skills/components/wm-picture.md +46 -0
  69. package/skills/components/wm-popover.md +51 -0
  70. package/skills/components/wm-prefab-container.md +29 -0
  71. package/skills/components/wm-prefab.md +35 -0
  72. package/skills/components/wm-progress-bar.md +42 -0
  73. package/skills/components/wm-progress-circle.md +45 -0
  74. package/skills/components/wm-radioset.md +66 -0
  75. package/skills/components/wm-rating.md +76 -0
  76. package/skills/components/wm-rich-text-editor.md +36 -0
  77. package/skills/components/wm-right-nav.md +32 -0
  78. package/skills/components/wm-search.md +66 -0
  79. package/skills/components/wm-select.md +129 -0
  80. package/skills/components/wm-slider.md +53 -0
  81. package/skills/components/wm-spinner.md +43 -0
  82. package/skills/components/wm-tab-pane.md +45 -0
  83. package/skills/components/wm-table.md +113 -0
  84. package/skills/components/wm-tabs.md +48 -0
  85. package/skills/components/wm-text.md +65 -0
  86. package/skills/components/wm-textarea.md +47 -0
  87. package/skills/components/wm-tile.md +34 -0
  88. package/skills/components/wm-time.md +63 -0
  89. package/skills/components/wm-top-nav.md +31 -0
  90. package/skills/components/wm-tree.md +41 -0
  91. package/skills/components/wm-upload.md +42 -0
  92. package/skills/components/wm-video.md +48 -0
  93. package/skills/components/wm-wizard.md +59 -0
  94. package/skills/index.json +1151 -0
  95. package/skills/tokens/border.md +85 -0
  96. package/skills/tokens/colors.md +97 -0
  97. package/skills/tokens/elevation.md +73 -0
  98. package/skills/tokens/spacing.md +89 -0
  99. package/skills/tokens/typography.md +88 -0
  100. package/dist/components.d.ts +0 -17
  101. package/dist/components.d.ts.map +0 -1
  102. package/dist/components.js +0 -67
  103. package/dist/components.js.map +0 -1
  104. package/dist/paths.d.ts +0 -43
  105. package/dist/paths.d.ts.map +0 -1
  106. package/dist/paths.js +0 -103
  107. package/dist/paths.js.map +0 -1
  108. package/dist/search.d.ts +0 -15
  109. package/dist/search.d.ts.map +0 -1
  110. package/dist/search.js +0 -130
  111. package/dist/search.js.map +0 -1
@@ -0,0 +1,63 @@
1
+ ---
2
+ component: WmTime
3
+ category: input
4
+ import: components/input/epoch/time
5
+ tags: [input, time, form-field]
6
+ summary: Time input field.
7
+ generated: true
8
+ ---
9
+
10
+ # WmTime
11
+
12
+ Time input field.
13
+
14
+ ## Usage
15
+
16
+ ```jsx
17
+ <WmTime
18
+ name="time"
19
+ datavalue={value}
20
+ />
21
+ ```
22
+
23
+ ## Props
24
+
25
+ | Prop | Type | Req | Default | Description |
26
+ |------|------|-----|---------|-------------|
27
+ | required | `boolean` | No | — | Whether a time selection is required. |
28
+ | placeholder | `string` | No | — | Placeholder text shown when no time is selected. |
29
+ | showampmbuttons | `boolean` | No | — | Whether to show AM/PM toggle buttons. |
30
+ | shortcutkey | `string` | No | — | Keyboard shortcut key to focus the time picker. |
31
+ | datavalue | `string \| Date \| null` | No | — | The bound data value of the time input. |
32
+ | timepattern | `string` | No | — | Time pattern for display formatting. |
33
+ | hourstep | `number` | No | `1` | Step increment for hours. |
34
+ | minutestep | `number` | No | `1` | Step increment for minutes. |
35
+ | outputformat | `string` | No | — | Output format for the time value. |
36
+ | mintime | `string \| Date` | No | — | The minimum selectable time. |
37
+ | maxtime | `string \| Date` | No | — | The maximum selectable time. |
38
+ | autofocus | `boolean` | No | — | Whether the input should be focused on mount. |
39
+ | readonly | `boolean` | No | — | Whether the time picker is read-only. |
40
+ | disabled | `boolean` | No | — | Whether the time picker is disabled. |
41
+ | showdropdownon | `string` | No | — | When to show the dropdown picker. |
42
+ | secondsstep | `number` | No | — | Step increment for seconds. |
43
+ | dataentrymode | `string` | No | — | Data entry mode for the time input. |
44
+ | validators | `ValidatorConfig[]` | No | — | Validator configurations for the time input. |
45
+ | validationmessage | `string` | No | — | Custom validation message. |
46
+ | invokeOnChange | `( value: string \| Date \| null, event: SyntheticEvent \| { $event: SyntheticEve...` | No | — | Invokes the onChange callback (from form controller). |
47
+ | setShowPicker | `(show: boolean) => void` | No | — | Sets the picker visibility state (from HOC). |
48
+ | showPicker | `boolean` | No | — | Whether the picker is currently visible (from HOC). |
49
+ | onChange | `( event: SyntheticEvent, widget: Record<string, unknown>, newVal: string \| Da...` | No | — | Callback invoked when the time value changes. |
50
+ | onClick | `(event: MouseEvent, widget: Record<string, unknown>) => void` | No | — | Callback invoked when the time picker is clicked. |
51
+ | onFocus | `(event: FocusEvent, widget: Record<string, unknown>) => void` | No | — | Callback invoked when the time picker receives focus. |
52
+ | onBlur | `(event: FocusEvent, widget: Record<string, unknown>) => void` | No | — | Callback invoked when the time picker loses focus. |
53
+ | onMouseEnter | `(event: MouseEvent, widget: Record<string, unknown>) => void` | No | — | Callback invoked when the mouse enters the time picker. |
54
+ | onMouseLeave | `(event: MouseEvent, widget: Record<string, unknown>) => void` | No | — | Callback invoked when the mouse leaves the time picker. |
55
+ | onBeforeload | `(event: SyntheticEvent, widget: Record<string, unknown>) => void` | No | — | Callback invoked before the time widget loads. |
56
+
57
+ *Inherits BaseProps: `name`, `show`, `className`, `width`, `height`, `padding`, `margin`, `onClick`, and more.*
58
+
59
+ ## CSS Tokens
60
+
61
+ Component-specific CSS variables: `--wm-time-*`
62
+
63
+ See foundation-css: `src/tokens/web/components/time/time.json`
@@ -0,0 +1,31 @@
1
+ ---
2
+ component: WmTopNav
3
+ category: layout
4
+ import: components/layout/topnav
5
+ tags: [layout, top, nav]
6
+ summary: Top Nav page layout component.
7
+ generated: true
8
+ ---
9
+
10
+ # WmTopNav
11
+
12
+ Top Nav page layout component.
13
+
14
+ ## Usage
15
+
16
+ ```jsx
17
+ <WmTopNav
18
+ name="topNav"
19
+ />
20
+ ```
21
+
22
+ ## Props
23
+
24
+ | Prop | Type | Req | Default | Description |
25
+ |------|------|-----|---------|-------------|
26
+ | children | `ReactNode` | No | — | — |
27
+ | className | `string` | No | — | — |
28
+ | styles | `CSSProperties` | No | — | — |
29
+ | id | `string` | No | — | — |
30
+
31
+ *Inherits BaseProps: `name`, `show`, `className`, `width`, `height`, `padding`, `margin`, `onClick`, and more.*
@@ -0,0 +1,41 @@
1
+ ---
2
+ component: WmTree
3
+ category: basic
4
+ import: components/basic/tree
5
+ tags: [basic, tree]
6
+ summary: Tree display widget.
7
+ generated: true
8
+ ---
9
+
10
+ # WmTree
11
+
12
+ Tree display widget.
13
+
14
+ ## Usage
15
+
16
+ ```jsx
17
+ <WmTree
18
+ name="tree"
19
+ />
20
+ ```
21
+
22
+ ## Props
23
+
24
+ | Prop | Type | Req | Default | Description |
25
+ |------|------|-----|---------|-------------|
26
+ | treeicons | `string` | No | — | Custom icons for the tree nodes. |
27
+ | levels | `number` | No | — | The number of levels to auto-expand. |
28
+ | nodelabel | `string` | No | — | The field in the dataset to be used as node label. |
29
+ | nodeicon | `string` | No | — | The field in the dataset to be used as node icon. |
30
+ | nodechildren | `string` | No | — | The field in the dataset representing child nodes. |
31
+ | nodeid | `string` | No | — | The field in the dataset to be used as node ID. |
32
+ | nodeaction | `string` | No | — | The action to perform on node click. |
33
+ | orderby | `string` | No | — | — |
34
+ | nodeclick | `"expand" \| "none"` | No | — | The click behavior for nodes: 'expand' or 'none'. |
35
+ | horizontalalign | `string` | No | — | The horizontal alignment of the tree content. |
36
+ | onExpand | `(event: MouseEvent, widget: any, item: any, path: string) => void` | No | — | Action to perform when a node is expanded. |
37
+ | onCollapse | `(event: MouseEvent, widget: any, item: any, path: string) => void` | No | — | Callback fired when a node is collapsed. |
38
+ | onSelect | `(event: MouseEvent, widget: any, item: any, path: string) => void` | No | — | Callback fired when a node is selected. |
39
+ | onCheck | `(event: MouseEvent, widget: any, item: any, checked: boolean) => void` | No | — | Callback fired when a node is checked/unchecked. |
40
+
41
+ *Inherits BaseProps: `name`, `show`, `className`, `width`, `height`, `padding`, `margin`, `onClick`, and more.*
@@ -0,0 +1,42 @@
1
+ ---
2
+ component: WmUpload
3
+ category: input
4
+ import: components/input/upload
5
+ tags: [input, upload, form-field]
6
+ summary: Upload input field.
7
+ generated: true
8
+ ---
9
+
10
+ # WmUpload
11
+
12
+ Upload input field.
13
+
14
+ ## Usage
15
+
16
+ ```jsx
17
+ <WmUpload
18
+ name="upload"
19
+ datavalue={value}
20
+ />
21
+ ```
22
+
23
+ ## Props
24
+
25
+ | Prop | Type | Req | Default | Description |
26
+ |------|------|-----|---------|-------------|
27
+ | formField | `Record<string, unknown>` | No | — | Form field reference injected by the form controller. |
28
+ | datavalue | `string \| File \| Blob \| null` | No | — | The bound data value (file or blob data). |
29
+ | readonly | `boolean` | No | — | Whether the upload is read-only. |
30
+ | required | `boolean` | No | — | Whether a file upload is required. |
31
+ | accept | `string` | No | — | Accepted file types (MIME types or extensions). |
32
+ | type | `"blob" \| "file"` | No | — | The type of data to store.
33
+ - `"blob"`: Stores as a Blob URL.
34
+ - `"file"`: Stores as a File object. |
35
+ | disabled | `boolean` | No | — | Whether the upload is disabled. |
36
+ | fieldName | `string` | No | — | Field name used by the form controller. |
37
+ | onChange | `( event: ChangeEvent<HTMLInputElement>, widget: Record<string, unknown>, newD...` | No | — | Callback invoked when the selected file changes. |
38
+ | originalOnChange | `( event: ChangeEvent<HTMLInputElement>, widget: Record<string, unknown>, newD...` | No | — | Original onChange callback (before form controller wrapping). |
39
+ | onFocus | `(event: FocusEvent<HTMLElement>, widget: Record<string, unknown>) => void` | No | — | Callback invoked when the upload receives focus. |
40
+ | onBlur | `(event: FocusEvent<HTMLElement>, widget: Record<string, unknown>) => void` | No | — | Callback invoked when the upload loses focus. |
41
+
42
+ *Inherits BaseProps: `name`, `show`, `className`, `width`, `height`, `padding`, `margin`, `onClick`, and more.*
@@ -0,0 +1,48 @@
1
+ ---
2
+ component: WmVideo
3
+ category: basic
4
+ import: components/basic/video
5
+ tags: [basic, video]
6
+ summary: Video display widget.
7
+ generated: true
8
+ ---
9
+
10
+ # WmVideo
11
+
12
+ Video display widget.
13
+
14
+ ## Usage
15
+
16
+ ```jsx
17
+ <WmVideo
18
+ name="video"
19
+ />
20
+ ```
21
+
22
+ ## Props
23
+
24
+ | Prop | Type | Req | Default | Description |
25
+ |------|------|-----|---------|-------------|
26
+ | autoplay | `boolean` | No | `false` | If true, the video will start playing automatically. |
27
+ | variant | `"standard"` | No | `"default:standard"` | The variant of the video. |
28
+ | controls | `boolean` | No | `false` | If true, video controls will be displayed. |
29
+ | loop | `boolean` | No | `false` | If true, the video will loop back to the start when finished. |
30
+ | muted | `boolean` | No | `false` | If true, the video will be muted. |
31
+ | oggformat | `string` | No | — | The URL for the OGG format video source. |
32
+ | poster | `string` | No | — | The URL for the poster image to display before the video plays. |
33
+ | mp4format | `string` | No | — | The URL for the MP4 format video source. |
34
+ | subtitlelang | `string` | No | — | The language for the subtitles. |
35
+ | subtitlesource | `string` | No | — | The URL for the subtitle source file. |
36
+ | videosupportmessage | `string` | No | — | Message to display if the browser does not support the video element. |
37
+ | videopreload | `"auto" \| "metadata" \| "none"` | No | `"auto"` | Specifies if and how the video should be preloaded. |
38
+ | webmformat | `string` | No | — | The URL for the WebM format video source. |
39
+ | id | `string` | No | — | The unique ID for the video element. |
40
+ | videoposter | `string` | No | — | The URL for the video poster image. |
41
+
42
+ *Inherits BaseProps: `name`, `show`, `className`, `width`, `height`, `padding`, `margin`, `onClick`, and more.*
43
+
44
+ ## CSS Tokens
45
+
46
+ Component-specific CSS variables: `--wm-video-*`
47
+
48
+ See foundation-css: `src/tokens/web/components/video/video.json`
@@ -0,0 +1,59 @@
1
+ ---
2
+ component: WmWizard
3
+ category: container
4
+ import: components/container/wizard
5
+ tags: [container, wizard, data-binding]
6
+ summary: Wizard layout container.
7
+ generated: true
8
+ ---
9
+
10
+ # WmWizard
11
+
12
+ Wizard layout container.
13
+
14
+ ## Usage
15
+
16
+ ```jsx
17
+ <WmWizard
18
+ name="wizard"
19
+ dataset={items}
20
+ />
21
+ ```
22
+
23
+ ## Props
24
+
25
+ | Prop | Type | Req | Default | Description |
26
+ |------|------|-----|---------|-------------|
27
+ | stepstyle | `"auto" \| "justified"` | No | `"auto"` | Step indicator style. |
28
+ | actionsalignment | `"left" \| "center" \| "right"` | No | `"right"` | Alignment of navigation buttons. |
29
+ | defaultstep | `string` | No | — | Name of the default step to show (by step name). |
30
+ | defaultstepindex | `number` | No | `0` | Index of the default step to show (0-based). |
31
+ | cancelable | `boolean` | No | `true` | Show cancel button. |
32
+ | enablenext | `boolean \| string` | No | `false` | Allow next without validation. |
33
+ | nextbtnlabel | `string` | No | `"Next"` | Label for next button. |
34
+ | previousbtnlabel | `string` | No | `"Previous"` | Label for previous button. |
35
+ | donebtnlabel | `string` | No | `"Done"` | Label for done button. |
36
+ | cancelbtnlabel | `string` | No | `"Cancel"` | Label for cancel button. |
37
+ | type | `"static" \| "dynamic"` | No | `"static"` | Wizard type: static (children) or dynamic (dataset). |
38
+ | dataset | `Record<string, unknown>[]` | No | — | Data source for dynamic wizard. |
39
+ | nodatamessage | `string` | No | `"No Data Found"` | Message when dataset is empty in dynamic mode. |
40
+ | fieldDefs | `Record<string, unknown>[]` | No | — | Field definitions for wizard. |
41
+ | message | `{ caption: string; type: string }` | No | — | Message object for wizard status. |
42
+ | stepClass | `string` | No | — | Step indicator style class. |
43
+ | orientation | `"horizontal" \| "vertical"` | No | `"horizontal"` | Stepper orientation. |
44
+ | alternativeLabel | `boolean` | No | `false` | Use alternative label layout for stepper. |
45
+ | nonLinear | `boolean` | No | `true` | Allow non-linear navigation (jump to completed steps). |
46
+ | connector | `ReactNode` | No | — | Custom connector element between steps. |
47
+ | width | `string \| number` | No | — | Wizard width. |
48
+ | height | `string \| number` | No | — | Wizard height. |
49
+ | render | `( item: Record<string, unknown>, index: number, dataset: Record<string, unkno...` | No | — | Render function for dynamic wizard steps. |
50
+ | onCancel | `(currentStep: WizardStepData \| null, steps: WizardStepData[]) => void` | No | — | Called when cancel is clicked. |
51
+ | onDone | `(currentStep: WizardStepData, steps: WizardStepData[]) => void` | No | — | Called when done is clicked. |
52
+
53
+ *Inherits BaseProps: `name`, `show`, `className`, `width`, `height`, `padding`, `margin`, `onClick`, and more.*
54
+
55
+ ## CSS Tokens
56
+
57
+ Component-specific CSS variables: `--wm-wizard-*`
58
+
59
+ See foundation-css: `src/tokens/web/components/wizard/wizard.json`