@ng-nest/ui 21.0.4 → 21.0.5

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 (47) hide show
  1. package/fesm2022/ng-nest-ui-base-form.mjs +2 -1
  2. package/fesm2022/ng-nest-ui-base-form.mjs.map +1 -1
  3. package/fesm2022/ng-nest-ui-bubble.mjs +141 -129
  4. package/fesm2022/ng-nest-ui-bubble.mjs.map +1 -1
  5. package/fesm2022/ng-nest-ui-dialog.mjs +49 -45
  6. package/fesm2022/ng-nest-ui-dialog.mjs.map +1 -1
  7. package/fesm2022/ng-nest-ui-dropdown.mjs +2 -2
  8. package/fesm2022/ng-nest-ui-dropdown.mjs.map +1 -1
  9. package/fesm2022/ng-nest-ui-form.mjs +16 -4
  10. package/fesm2022/ng-nest-ui-form.mjs.map +1 -1
  11. package/fesm2022/ng-nest-ui-i18n.mjs +5 -5
  12. package/fesm2022/ng-nest-ui-i18n.mjs.map +1 -1
  13. package/fesm2022/ng-nest-ui-image.mjs +37 -25
  14. package/fesm2022/ng-nest-ui-image.mjs.map +1 -1
  15. package/fesm2022/ng-nest-ui-input.mjs +12 -2
  16. package/fesm2022/ng-nest-ui-input.mjs.map +1 -1
  17. package/fesm2022/ng-nest-ui-list.mjs +3 -0
  18. package/fesm2022/ng-nest-ui-list.mjs.map +1 -1
  19. package/fesm2022/ng-nest-ui-menu.mjs +16 -4
  20. package/fesm2022/ng-nest-ui-menu.mjs.map +1 -1
  21. package/fesm2022/ng-nest-ui-message-box.mjs.map +1 -1
  22. package/fesm2022/ng-nest-ui-message.mjs.map +1 -1
  23. package/fesm2022/ng-nest-ui-notification.mjs.map +1 -1
  24. package/fesm2022/ng-nest-ui-scrollable.mjs +14 -6
  25. package/fesm2022/ng-nest-ui-scrollable.mjs.map +1 -1
  26. package/fesm2022/ng-nest-ui-table-view.mjs +277 -243
  27. package/fesm2022/ng-nest-ui-table-view.mjs.map +1 -1
  28. package/fesm2022/ng-nest-ui-table.mjs +18 -6
  29. package/fesm2022/ng-nest-ui-table.mjs.map +1 -1
  30. package/fesm2022/ng-nest-ui-tree.mjs +37 -19
  31. package/fesm2022/ng-nest-ui-tree.mjs.map +1 -1
  32. package/package.json +1 -1
  33. package/types/ng-nest-ui-bubble.d.ts +12 -7
  34. package/types/ng-nest-ui-dialog.d.ts +170 -102
  35. package/types/ng-nest-ui-form.d.ts +15 -3
  36. package/types/ng-nest-ui-i18n.d.ts +23 -24
  37. package/types/ng-nest-ui-image.d.ts +28 -13
  38. package/types/ng-nest-ui-input.d.ts +1 -0
  39. package/types/ng-nest-ui-list.d.ts +31 -20
  40. package/types/ng-nest-ui-menu.d.ts +15 -3
  41. package/types/ng-nest-ui-message-box.d.ts +16 -3
  42. package/types/ng-nest-ui-message.d.ts +15 -3
  43. package/types/ng-nest-ui-notification.d.ts +15 -3
  44. package/types/ng-nest-ui-scrollable.d.ts +4 -2
  45. package/types/ng-nest-ui-table-view.d.ts +99 -65
  46. package/types/ng-nest-ui-table.d.ts +60 -5
  47. package/types/ng-nest-ui-tree.d.ts +29 -3
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, inject, Injectable, Pipe, input, ElementRef, computed, effect, Directive, NgModule } from '@angular/core';
3
- import { toSignal } from '@angular/core/rxjs-interop';
4
3
  import { BehaviorSubject } from 'rxjs';
4
+ import { toSignal } from '@angular/core/rxjs-interop';
5
5
 
6
6
  var zh_CN = {
7
7
  locale: 'zh_CN',
@@ -243,8 +243,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
243
243
  }], ctorParameters: () => [] });
244
244
 
245
245
  class XI18nPipe {
246
- constructor(i18n) {
247
- this.i18n = i18n;
246
+ constructor() {
247
+ this.i18n = inject(XI18nService);
248
248
  this.locale = toSignal(this.i18n.localeChange);
249
249
  }
250
250
  transform(key, params) {
@@ -257,7 +257,7 @@ class XI18nPipe {
257
257
  this.lastValue = this.i18n.translate(key, params);
258
258
  return this.lastValue;
259
259
  }
260
- /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: XI18nPipe, deps: [{ token: XI18nService }], target: i0.ɵɵFactoryTarget.Pipe }); }
260
+ /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: XI18nPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
261
261
  /** @nocollapse */ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: XI18nPipe, isStandalone: true, name: "xI18n", pure: false }); }
262
262
  }
263
263
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: XI18nPipe, decorators: [{
@@ -266,7 +266,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
266
266
  name: 'xI18n',
267
267
  pure: false
268
268
  }]
269
- }], ctorParameters: () => [{ type: XI18nService }] });
269
+ }] });
270
270
 
271
271
  class XI18nDirective {
272
272
  constructor() {