@verisoft/ui-primeng 18.5.0 → 18.7.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 CHANGED
@@ -1,7 +1,57 @@
1
1
  # ui-primeng
2
2
 
3
- This library was generated with [Nx](https://nx.dev).
3
+ The `ui-primeng` library provides reusable UI components and utilities based on the [PrimeNG](https://www.primefaces.org/primeng/) library for the Verisoft Frontend workspace.
4
4
 
5
- ## Running unit tests
5
+ ## Features
6
6
 
7
- Run `nx test ui-primeng` to execute the unit tests.
7
+ - Angular components built on top of PrimeNG
8
+ - Shared utilities and helpers for PrimeNG-based UI
9
+ - Consistent theming and styling for PrimeNG components
10
+ - Ready-to-use modules for rapid application development
11
+
12
+ ## Installation
13
+
14
+ This package is intended for internal use within the monorepo. To use it in another library or app, add it as a dependency in your `project.json`:
15
+
16
+ ```json
17
+ "dependencies": {
18
+ "ui-primeng": "*"
19
+ }
20
+ ```
21
+
22
+ ## Usage
23
+
24
+ Import the required modules or components from `ui-primeng`:
25
+
26
+ ```typescript
27
+ import { PrimengButtonComponent } from '@verisoft/ui-primeng';
28
+ ```
29
+
30
+ ## Development
31
+
32
+ ### Building
33
+
34
+ Run the following command to build the library:
35
+
36
+ ```sh
37
+ nx build ui-primeng
38
+ ```
39
+
40
+ ### Running Unit Tests
41
+
42
+ To execute the unit tests for this library:
43
+
44
+ ```sh
45
+ nx test ui-primeng
46
+ ```
47
+
48
+ ## Contributing
49
+
50
+ 1. Fork the repository and create your branch from `master`.
51
+ 2. Make your changes and add tests if needed.
52
+ 3. Run `nx test ui-primeng` to ensure all tests pass.
53
+ 4. Submit a pull request.
54
+
55
+ ## License
56
+
57
+ This project is licensed under the MIT License.
package/ng-package.json CHANGED
@@ -3,5 +3,13 @@
3
3
  "dest": "../../../dist/src/libs/ui-primeng",
4
4
  "lib": {
5
5
  "entryFile": "src/index.ts"
6
- }
6
+ },
7
+ "assets": [
8
+ {
9
+ "glob": "**/*",
10
+ "input": "./src/sass/",
11
+ "output": "/sass/"
12
+ },
13
+ "./assets/"
14
+ ]
7
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verisoft/ui-primeng",
3
- "version": "18.5.0",
3
+ "version": "18.7.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.8",
6
6
  "@angular/core": "^18.2.8",
@@ -11,9 +11,9 @@
11
11
  "@storybook/angular": "^8.3.5",
12
12
  "@storybook/test": "^8.3.5",
13
13
  "@angular/platform-browser": "18.2.8",
14
- "@verisoft/core": "18.5.0",
14
+ "@verisoft/core": "18.7.0",
15
15
  "@faker-js/faker": "^8.4.1",
16
- "@verisoft/ui-core": "18.5.0",
16
+ "@verisoft/ui-core": "18.7.0",
17
17
  "uuid": "^10.0.0",
18
18
  "@ngx-translate/core": "^15.0.0"
19
19
  },
package/project.json CHANGED
@@ -31,13 +31,6 @@
31
31
  },
32
32
  "lint": {
33
33
  "executor": "@nx/eslint:lint"
34
- },
35
- "publish": {
36
- "executor": "@nrwl/js:publish",
37
- "options": {
38
- "access": "public",
39
- "publishDir": "dist/src/libs/ui-primeng"
40
- }
41
34
  }
42
35
  }
43
36
  }
@@ -5,6 +5,7 @@ import { MenuItem } from 'primeng/api';
5
5
  @Pipe({
6
6
  name: 'tabMenu',
7
7
  pure: true,
8
+ standalone: true,
8
9
  })
9
10
  export class TabMenuPipe implements PipeTransform {
10
11
  transform(value: TabViewItemCore[] | undefined): MenuItem[] | undefined {
@@ -9,11 +9,16 @@ import {
9
9
  } from '@angular/core';
10
10
  import { TabViewCore, TabViewItemCore } from '@verisoft/ui-core';
11
11
  import { MenuItem } from 'primeng/api';
12
+ import { TabMenuModule } from 'primeng/tabmenu';
13
+ import { TabViewModule } from 'primeng/tabview';
14
+ import { TabMenuPipe } from './tab-menu.pipe';
12
15
  import { TabViewItemComponent } from './tab-view-item.component';
13
16
 
14
17
  @Component({
15
18
  selector: 'v-tab-view',
16
19
  templateUrl: './tab-view.component.html',
20
+ standalone: true,
21
+ imports: [TabMenuModule, TabMenuPipe, TabViewModule],
17
22
  })
18
23
  export class TabViewComponent
19
24
  implements AfterContentInit, TabViewCore
@@ -9,8 +9,8 @@ import { TabViewItemComponent } from './tab-view-item.component';
9
9
  import { TabViewComponent } from './tab-view.component';
10
10
 
11
11
  @NgModule({
12
- imports: [RouterOutlet, TabMenuModule, PrimeTabViewModule, NgTemplateOutlet],
13
- declarations: [TabViewComponent, TabViewItemComponent, TabMenuPipe],
12
+ imports: [RouterOutlet, TabMenuModule, PrimeTabViewModule, NgTemplateOutlet, TabViewComponent, TabMenuPipe],
13
+ declarations: [TabViewItemComponent],
14
14
  exports: [TabViewComponent, TabViewItemComponent],
15
15
  providers: [
16
16
  { provide: TAB_VIEW_COMPONENT_TOKEN, useExisting: TabViewComponent },
package/tsconfig.json CHANGED
@@ -24,8 +24,6 @@
24
24
  "enableI18nLegacyMessageIdFormat": false,
25
25
  "strictInjectionParameters": true,
26
26
  "strictInputAccessModifiers": true,
27
- "strictTemplates": true,
28
- "compilationMode": "partial",
29
- "enableIvy": true
27
+ "strictTemplates": true
30
28
  }
31
29
  }
@@ -4,7 +4,6 @@
4
4
  "declarationMap": false
5
5
  },
6
6
  "angularCompilerOptions": {
7
- "compilationMode": "partial",
8
- "enableIvy": true
7
+ "compilationMode": "partial"
9
8
  }
10
9
  }