@wawjs/ngx-prime-mcp 22.0.0 → 22.0.2

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 (2) hide show
  1. package/dist/index.js +12 -12
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { runPrimeMcpServer } from "@wawjs/css-prime-mcp";
6
6
  // data/components.json
7
7
  var components_default = {
8
8
  version: "1.0.0",
9
- generatedAt: "2026-08-23",
9
+ generatedAt: "2026-08-25",
10
10
  components: [
11
11
  {
12
12
  name: "accordion",
@@ -73698,7 +73698,7 @@ export class TreetableTemplateDemo implements OnInit {
73698
73698
  label: "Provider-",
73699
73699
  description: "Add provideNgxPrime to the list of providers in your app.config.ts and use the theme property to configure a theme such as Aura.",
73700
73700
  examples: {
73701
- typescript: "import { ApplicationConfig } from '@angular/core';\nimport { provideNgxPrime } from 'ngx-prime/config';\nimport Aura from '@wawjs/css-prime-themes/aura';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideNgxPrime({\n theme: {\n preset: Aura\n }\n })\n ]\n};"
73701
+ typescript: "import { ApplicationConfig } from '@angular/core';\nimport { provideNgxPrime } from '@wawjs/ngx-prime/config';\nimport Aura from '@wawjs/css-prime-themes/aura';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideNgxPrime({\n theme: {\n preset: Aura\n }\n })\n ]\n};"
73702
73702
  }
73703
73703
  },
73704
73704
  {
@@ -73706,7 +73706,7 @@ export class TreetableTemplateDemo implements OnInit {
73706
73706
  label: "Theme-",
73707
73707
  description: "Configure ngx-prime to use a theme like Aura.",
73708
73708
  examples: {
73709
- typescript: "import { ApplicationConfig } from '@angular/core';\nimport { provideAnimationsAsync } from '@angular/platform-browser/animations/async';\nimport { provideNgxPrime } from 'ngx-prime/config';\nimport Aura from '@wawjs/css-prime-themes/aura';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideAnimationsAsync(),\n provideNgxPrime({\n theme: Aura\n })\n ]\n};"
73709
+ typescript: "import { ApplicationConfig } from '@angular/core';\nimport { provideAnimationsAsync } from '@angular/platform-browser/animations/async';\nimport { provideNgxPrime } from '@wawjs/ngx-prime/config';\nimport Aura from '@wawjs/css-prime-themes/aura';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideAnimationsAsync(),\n provideNgxPrime({\n theme: Aura\n })\n ]\n};"
73710
73710
  }
73711
73711
  },
73712
73712
  {
@@ -73742,7 +73742,7 @@ export class TreetableTemplateDemo implements OnInit {
73742
73742
  label: "Dynamic-",
73743
73743
  description: "Inject the ngx-prime to your application to update the initial configuration at runtime.",
73744
73744
  examples: {
73745
- typescript: "import { Component, OnInit } from '@angular/core';\nimport { NgxPrime } from 'ngx-prime/config';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html'\n})\nexport class AppComponent implements OnInit {\n\n constructor(private ngx-prime: ngx-prime) {}\n\n ngOnInit() {\n this.NgxPrime.ripple.set(true);\n }\n}"
73745
+ typescript: "import { Component, OnInit } from '@angular/core';\nimport { NgxPrime } from '@wawjs/ngx-prime/config';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html'\n})\nexport class AppComponent implements OnInit {\n\n constructor(private ngx-prime: ngx-prime) {}\n\n ngOnInit() {\n this.NgxPrime.ripple.set(true);\n }\n}"
73746
73746
  }
73747
73747
  },
73748
73748
  {
@@ -73750,7 +73750,7 @@ export class TreetableTemplateDemo implements OnInit {
73750
73750
  label: "Filtermode-",
73751
73751
  description: "Default filter modes to display on DataTable filter menus.",
73752
73752
  examples: {
73753
- typescript: "import { ngx-primeConfig } from 'ngx-prime/api';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html'\n})\nexport class AppComponent implements OnInit {\n\n constructor(private ngx-primeConfig: ngx-primeConfig) {}\n\n ngOnInit() {\n ngx-primeConfig.filterMatchModeOptions = {\n text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],\n numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],\n date: [FilterMatchMode.DATE_IS, FilterMatchMode.DATE_IS_NOT, FilterMatchMode.DATE_BEFORE, FilterMatchMode.DATE_AFTER]\n };\n }\n}"
73753
+ typescript: "import { ngx-primeConfig } from '@wawjs/ngx-prime/api';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html'\n})\nexport class AppComponent implements OnInit {\n\n constructor(private ngx-primeConfig: ngx-primeConfig) {}\n\n ngOnInit() {\n ngx-primeConfig.filterMatchModeOptions = {\n text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],\n numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],\n date: [FilterMatchMode.DATE_IS, FilterMatchMode.DATE_IS_NOT, FilterMatchMode.DATE_BEFORE, FilterMatchMode.DATE_AFTER]\n };\n }\n}"
73754
73754
  }
73755
73755
  },
73756
73756
  {
@@ -73776,7 +73776,7 @@ export class TreetableTemplateDemo implements OnInit {
73776
73776
  label: "Runtime",
73777
73777
  description: "The translations can be changed dynamically at runtime, here is an example with ngx-translate.",
73778
73778
  examples: {
73779
- typescript: "import { Component, OnInit } from '@angular/core';\nimport { NgxPrime } from 'ngx-prime/config';\nimport { TranslateService } from '@ngx-translate/core';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html'\n})\nexport class AppComponent implements OnInit {\n\n constructor(private config: ngx-prime, private translateService: TranslateService) {}\n\n ngOnInit() {\n this.translateService.setDefaultLang('en');\n }\n\n translate(lang: string) {\n this.translateService.use(lang);\n this.translateService.get('ngx-prime').subscribe(res => this.NgxPrime.setTranslation(res));\n }\n}"
73779
+ typescript: "import { Component, OnInit } from '@angular/core';\nimport { NgxPrime } from '@wawjs/ngx-prime/config';\nimport { TranslateService } from '@ngx-translate/core';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html'\n})\nexport class AppComponent implements OnInit {\n\n constructor(private config: ngx-prime, private translateService: TranslateService) {}\n\n ngOnInit() {\n this.translateService.setDefaultLang('en');\n }\n\n translate(lang: string) {\n this.translateService.use(lang);\n this.translateService.get('ngx-prime').subscribe(res => this.NgxPrime.setTranslation(res));\n }\n}"
73780
73780
  }
73781
73781
  },
73782
73782
  {
@@ -73798,7 +73798,7 @@ export class TreetableTemplateDemo implements OnInit {
73798
73798
  label: "Provider-",
73799
73799
  description: "The initial configuration is defined by the provideNgxPrime provider during application startup.",
73800
73800
  examples: {
73801
- typescript: "import { ApplicationConfig } from '@angular/core';\nimport { provideAnimationsAsync } from '@angular/platform-browser/animations/async';\nimport { provideNgxPrime } from 'ngx-prime/config';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideAnimationsAsync(),\n provideNgxPrime({ /* options */ })\n ]\n};"
73801
+ typescript: "import { ApplicationConfig } from '@angular/core';\nimport { provideAnimationsAsync } from '@angular/platform-browser/animations/async';\nimport { provideNgxPrime } from '@wawjs/ngx-prime/config';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideAnimationsAsync(),\n provideNgxPrime({ /* options */ })\n ]\n};"
73802
73802
  }
73803
73803
  },
73804
73804
  {
@@ -73814,7 +73814,7 @@ export class TreetableTemplateDemo implements OnInit {
73814
73814
  label: "Theme-",
73815
73815
  description: "ngx-prime provides 4 predefined themes out of the box; Aura, Material, Lara and Nora. See the theming documentation for details.",
73816
73816
  examples: {
73817
- typescript: "import { ApplicationConfig } from '@angular/core';\nimport { provideAnimationsAsync } from '@angular/platform-browser/animations/async';\nimport { provideNgxPrime } from 'ngx-prime/config';\n\nimport Aura from '@wawjs/css-prime-themes/aura';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideAnimationsAsync(),\n provideNgxPrime({\n theme: {\n preset: Aura,\n options: {\n prefix: 'p',\n darkModeSelector: 'system',\n cssLayer: false\n }\n }\n })\n ]\n};"
73817
+ typescript: "import { ApplicationConfig } from '@angular/core';\nimport { provideAnimationsAsync } from '@angular/platform-browser/animations/async';\nimport { provideNgxPrime } from '@wawjs/ngx-prime/config';\n\nimport Aura from '@wawjs/css-prime-themes/aura';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideAnimationsAsync(),\n provideNgxPrime({\n theme: {\n preset: Aura,\n options: {\n prefix: 'p',\n darkModeSelector: 'system',\n cssLayer: false\n }\n }\n })\n ]\n};"
73818
73818
  }
73819
73819
  },
73820
73820
  {
@@ -73822,7 +73822,7 @@ export class TreetableTemplateDemo implements OnInit {
73822
73822
  label: "Zindex-",
73823
73823
  description: "ZIndexes are managed automatically to make sure layering of overlay components work seamlessly when combining multiple components. Still there may be cases where you'd like to configure the configure default values such as a custom layout where header section is fixed. In a case like this, dropdown needs to be displayed below the application header but a modal dialog should be displayed above. ngx-prime configuration offers the zIndex property to customize the default values for components categories. Default values are described below and can be customized when setting up ngx-prime.",
73824
73824
  examples: {
73825
- typescript: "import { ngx-primeConfig } from 'ngx-prime/api';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html'\n})\nexport class AppComponent implements OnInit {\n\n constructor(private ngx-primeConfig: ngx-primeConfig) {}\n\n ngOnInit() {\n this.ngx-primeConfig.zIndex = {\n modal: 1100, // dialog, sidebar\n overlay: 1000, // dropdown, overlaypanel\n menu: 1000, // overlay menus\n tooltip: 1100 // tooltip\n };\n }\n}"
73825
+ typescript: "import { NgxPrimeConfig } from '@wawjs/ngx-prime/api';\n\n@Component({\n selector: 'app-root',\n templateUrl: './app.component.html'\n})\nexport class AppComponent implements OnInit {\n\n constructor(private NgxPrimeConfig: NgxPrimeConfig) {}\n\n ngOnInit() {\n this.NgxPrimeConfig.zIndex = {\n modal: 1100, // dialog, sidebar\n overlay: 1000, // dropdown, overlaypanel\n menu: 1000, // overlay menus\n tooltip: 1100 // tooltip\n };\n }\n}"
73826
73826
  }
73827
73827
  }
73828
73828
  ]
@@ -73976,7 +73976,7 @@ export class TreetableTemplateDemo implements OnInit {
73976
73976
  label: "Theme-",
73977
73977
  description: "The theme property is used to customize the initial theme.",
73978
73978
  examples: {
73979
- typescript: "import { ApplicationConfig } from '@angular/core';\nimport { provideNgxPrime } from 'ngx-prime/config';\nimport Aura from '@wawjs/css-prime-themes/aura';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideNgxPrime({\n theme: {\n preset: Aura\n }\n })\n ]\n};"
73979
+ typescript: "import { ApplicationConfig } from '@angular/core';\nimport { provideNgxPrime } from '@wawjs/ngx-prime/config';\nimport Aura from '@wawjs/css-prime-themes/aura';\n\nexport const appConfig: ApplicationConfig = {\n providers: [\n provideNgxPrime({\n theme: {\n preset: Aura\n }\n })\n ]\n};"
73980
73980
  }
73981
73981
  },
73982
73982
  {
@@ -74068,7 +74068,7 @@ export class TreetableTemplateDemo implements OnInit {
74068
74068
  label: "Constants-",
74069
74069
  description: "Constants API is available to reference icons easily when used programmatically.",
74070
74070
  examples: {
74071
- typescript: "import { Component } from '@angular/core';\nimport { PrimeIcons, MenuItem } from 'ngx-prime/api';\n\n@Component({\n selector: 'prime-icons-constants-demo',\n templateUrl: './prime-icons-constants-demo.html'\n})\nexport class PrimeIconsConstantsDemo {\n items: MenuItem[];\n\n ngOnInit() {\n this.items = [\n {\n label: 'New',\n icon: PrimeIcons.PLUS,\n },\n {\n label: 'Delete',\n icon: PrimeIcons.TRASH\n }\n ];\n }\n}"
74071
+ typescript: "import { Component } from '@angular/core';\nimport { PrimeIcons, MenuItem } from '@wawjs/ngx-prime/api';\n\n@Component({\n selector: 'prime-icons-constants-demo',\n templateUrl: './prime-icons-constants-demo.html'\n})\nexport class PrimeIconsConstantsDemo {\n items: MenuItem[];\n\n ngOnInit() {\n this.items = [\n {\n label: 'New',\n icon: PrimeIcons.PLUS,\n },\n {\n label: 'Delete',\n icon: PrimeIcons.TRASH\n }\n ];\n }\n}"
74072
74072
  }
74073
74073
  },
74074
74074
  {
@@ -74580,7 +74580,7 @@ export class TreetableTemplateDemo implements OnInit {
74580
74580
  // package.json
74581
74581
  var package_default = {
74582
74582
  name: "@wawjs/ngx-prime-mcp",
74583
- version: "22.0.0",
74583
+ version: "22.0.2",
74584
74584
  author: "Web Art Work",
74585
74585
  description: "Model Context Protocol (MCP) server for ngx-prime Angular component documentation.",
74586
74586
  homepage: "https://github.com/WebArtWork/ngx-prime",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wawjs/ngx-prime-mcp",
3
- "version": "22.0.0",
3
+ "version": "22.0.2",
4
4
  "author": "Web Art Work",
5
5
  "description": "Model Context Protocol (MCP) server for ngx-prime Angular component documentation.",
6
6
  "homepage": "https://github.com/WebArtWork/ngx-prime",