ngwr 6.0.0 → 6.1.1

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 (161) hide show
  1. package/alert/index.d.ts +30 -3
  2. package/avatar/index.d.ts +30 -5
  3. package/button/index.d.ts +43 -3
  4. package/cdk/index.d.ts +22 -3
  5. package/cdk/rxjs/index.d.ts +38 -3
  6. package/cdk/types/index.d.ts +25 -3
  7. package/cdk/utils/index.d.ts +12 -3
  8. package/checkbox/index.d.ts +29 -3
  9. package/dialog/index.d.ts +191 -3
  10. package/divider/index.d.ts +16 -5
  11. package/dropdown/index.d.ts +66 -3
  12. package/fesm2022/ngwr-alert.mjs +4 -4
  13. package/fesm2022/ngwr-alert.mjs.map +1 -1
  14. package/fesm2022/ngwr-avatar.mjs +4 -4
  15. package/fesm2022/ngwr-avatar.mjs.map +1 -1
  16. package/fesm2022/ngwr-button.mjs +6 -6
  17. package/fesm2022/ngwr-button.mjs.map +1 -1
  18. package/fesm2022/ngwr-cdk.mjs +3 -3
  19. package/fesm2022/ngwr-cdk.mjs.map +1 -1
  20. package/fesm2022/ngwr-checkbox.mjs +5 -5
  21. package/fesm2022/ngwr-checkbox.mjs.map +1 -1
  22. package/fesm2022/ngwr-dialog.mjs +31 -37
  23. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  24. package/fesm2022/ngwr-divider.mjs +3 -3
  25. package/fesm2022/ngwr-divider.mjs.map +1 -1
  26. package/fesm2022/ngwr-dropdown.mjs +17 -17
  27. package/fesm2022/ngwr-dropdown.mjs.map +1 -1
  28. package/fesm2022/ngwr-form.mjs +6 -6
  29. package/fesm2022/ngwr-form.mjs.map +1 -1
  30. package/fesm2022/ngwr-icon.mjs +10 -11
  31. package/fesm2022/ngwr-icon.mjs.map +1 -1
  32. package/fesm2022/ngwr-input.mjs +7 -7
  33. package/fesm2022/ngwr-input.mjs.map +1 -1
  34. package/fesm2022/ngwr-pagination.mjs +16 -16
  35. package/fesm2022/ngwr-pagination.mjs.map +1 -1
  36. package/fesm2022/ngwr-pipes.mjs +3 -3
  37. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  38. package/fesm2022/ngwr-progress.mjs +3 -3
  39. package/fesm2022/ngwr-progress.mjs.map +1 -1
  40. package/fesm2022/ngwr-qr.mjs +12 -15
  41. package/fesm2022/ngwr-qr.mjs.map +1 -1
  42. package/fesm2022/ngwr-select.mjs +18 -18
  43. package/fesm2022/ngwr-select.mjs.map +1 -1
  44. package/fesm2022/ngwr-skeleton.mjs +3 -3
  45. package/fesm2022/ngwr-skeleton.mjs.map +1 -1
  46. package/fesm2022/ngwr-spinner.mjs +5 -5
  47. package/fesm2022/ngwr-spinner.mjs.map +1 -1
  48. package/fesm2022/ngwr-table.mjs +31 -31
  49. package/fesm2022/ngwr-table.mjs.map +1 -1
  50. package/fesm2022/ngwr-tag.mjs +3 -3
  51. package/fesm2022/ngwr-tag.mjs.map +1 -1
  52. package/fesm2022/ngwr-textarea.mjs +5 -5
  53. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  54. package/form/index.d.ts +26 -3
  55. package/icon/index.d.ts +828 -3
  56. package/index.d.ts +2 -5
  57. package/input/index.d.ts +41 -3
  58. package/package.json +5 -5
  59. package/pagination/index.d.ts +32 -3
  60. package/pipes/index.d.ts +15 -3
  61. package/progress/index.d.ts +13 -5
  62. package/qr/index.d.ts +127 -5
  63. package/select/index.d.ts +119 -3
  64. package/skeleton/index.d.ts +13 -1
  65. package/spinner/index.d.ts +23 -1
  66. package/table/index.d.ts +101 -5
  67. package/tag/index.d.ts +24 -5
  68. package/textarea/index.d.ts +44 -4
  69. package/alert/alert-type.d.ts +0 -7
  70. package/alert/alert.component.d.ts +0 -21
  71. package/alert/public-api.d.ts +0 -8
  72. package/avatar/avatar.component.d.ts +0 -27
  73. package/avatar/public-api.d.ts +0 -7
  74. package/button/button-group.component.d.ts +0 -12
  75. package/button/button.component.d.ts +0 -31
  76. package/button/public-api.d.ts +0 -8
  77. package/cdk/base.directive.d.ts +0 -20
  78. package/cdk/public-api.d.ts +0 -7
  79. package/cdk/rxjs/is-array.d.ts +0 -8
  80. package/cdk/rxjs/is-defined.d.ts +0 -8
  81. package/cdk/rxjs/is-not-empty-array.d.ts +0 -8
  82. package/cdk/rxjs/is-observable.d.ts +0 -9
  83. package/cdk/rxjs/public-api.d.ts +0 -10
  84. package/cdk/types/maybe.d.ts +0 -7
  85. package/cdk/types/public-api.d.ts +0 -9
  86. package/cdk/types/safe-any.d.ts +0 -7
  87. package/cdk/types/theme-color.d.ts +0 -8
  88. package/cdk/utils/generate-random-id.d.ts +0 -12
  89. package/cdk/utils/public-api.d.ts +0 -7
  90. package/checkbox/checkbox.component.d.ts +0 -28
  91. package/checkbox/public-api.d.ts +0 -7
  92. package/dialog/dialog-animations.d.ts +0 -22
  93. package/dialog/dialog-base.directive.d.ts +0 -40
  94. package/dialog/dialog-close.directive.d.ts +0 -9
  95. package/dialog/dialog-content.directive.d.ts +0 -6
  96. package/dialog/dialog-data.token.d.ts +0 -8
  97. package/dialog/dialog-footer.directive.d.ts +0 -8
  98. package/dialog/dialog-options.d.ts +0 -19
  99. package/dialog/dialog-ref.d.ts +0 -26
  100. package/dialog/dialog-title.directive.d.ts +0 -6
  101. package/dialog/dialog.component.d.ts +0 -28
  102. package/dialog/dialog.module.d.ts +0 -6
  103. package/dialog/dialog.service.d.ts +0 -28
  104. package/dialog/public-api.d.ts +0 -18
  105. package/divider/divider.component.d.ts +0 -13
  106. package/divider/public-api.d.ts +0 -7
  107. package/dropdown/dropdown-menu-item.component.d.ts +0 -12
  108. package/dropdown/dropdown-menu.component.d.ts +0 -14
  109. package/dropdown/dropdown.directive.d.ts +0 -29
  110. package/dropdown/dropdown.types.d.ts +0 -9
  111. package/dropdown/public-api.d.ts +0 -10
  112. package/form/form-error.component.d.ts +0 -11
  113. package/form/form-item.component.d.ts +0 -14
  114. package/form/public-api.d.ts +0 -8
  115. package/icon/icon.component.d.ts +0 -24
  116. package/icon/icon.service.d.ts +0 -23
  117. package/icon/icons.d.ts +0 -770
  118. package/icon/provide-wr-icons.d.ts +0 -9
  119. package/icon/public-api.d.ts +0 -10
  120. package/input/input-types.d.ts +0 -1
  121. package/input/input.component.d.ts +0 -38
  122. package/input/public-api.d.ts +0 -8
  123. package/pagination/pagination.component.d.ts +0 -23
  124. package/pagination/pagination.types.d.ts +0 -7
  125. package/pagination/public-api.d.ts +0 -8
  126. package/pipes/new-array.pipe.d.ts +0 -13
  127. package/pipes/public-api.d.ts +0 -7
  128. package/progress/progress.component.d.ts +0 -10
  129. package/progress/public-api.d.ts +0 -7
  130. package/public-api.d.ts +0 -2
  131. package/qr/generator.d.ts +0 -7
  132. package/qr/public-api.d.ts +0 -7
  133. package/qr/qr.component.d.ts +0 -31
  134. package/qr/qrcodegen.d.ts +0 -94
  135. package/select/public-api.d.ts +0 -10
  136. package/select/select-option-group.component.d.ts +0 -19
  137. package/select/select-option.component.d.ts +0 -22
  138. package/select/select.component.d.ts +0 -63
  139. package/select/select.types.d.ts +0 -17
  140. package/skeleton/skeleton.component.d.ts +0 -10
  141. package/spinner/spinner.component.d.ts +0 -13
  142. package/spinner/spinner.types.d.ts +0 -7
  143. package/table/public-api.d.ts +0 -11
  144. package/table/table-cell/index.d.ts +0 -7
  145. package/table/table-cell/table-cell.directive.d.ts +0 -8
  146. package/table/table-filter/index.d.ts +0 -7
  147. package/table/table-filter/table-filter.component.d.ts +0 -18
  148. package/table/table-sort/index.d.ts +0 -7
  149. package/table/table-sort/table-sort.component.d.ts +0 -8
  150. package/table/table.component.d.ts +0 -33
  151. package/table/types/index.d.ts +0 -6
  152. package/table/types/table-cell-context.d.ts +0 -6
  153. package/table/types/table-columns.d.ts +0 -7
  154. package/table/types/table-filter-emit.d.ts +0 -5
  155. package/table/types/table-filter-item.d.ts +0 -6
  156. package/table/types/table-order-item.d.ts +0 -5
  157. package/table/types/table-order.enum.d.ts +0 -5
  158. package/tag/public-api.d.ts +0 -7
  159. package/tag/tag.component.d.ts +0 -21
  160. package/textarea/public-api.d.ts +0 -7
  161. package/textarea/textarea.component.d.ts +0 -44
@@ -1,29 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { WrDropdownMenuComponent } from './dropdown-menu.component';
3
- import { WrDropdownTrigger } from './dropdown.types';
4
- import * as i0 from "@angular/core";
5
- export declare class WrDropdownDirective implements OnDestroy {
6
- dropdownMenu: import("@angular/core").InputSignal<WrDropdownMenuComponent | undefined>;
7
- trigger: import("@angular/core").InputSignal<WrDropdownTrigger>;
8
- position: import("@angular/core").InputSignal<string>;
9
- private readonly isOpen;
10
- private overlayRef?;
11
- private clickTimeStamp;
12
- private readonly overlay;
13
- private readonly elementRef;
14
- private readonly viewContainerRef;
15
- private readonly scrollStrategyOptions;
16
- private readonly destroyRef;
17
- get hostClasses(): Record<string, boolean>;
18
- constructor();
19
- ngOnDestroy(): void;
20
- protected onClick(event: MouseEvent): void;
21
- protected onMouseEnter(): void;
22
- private open;
23
- private setupClickEvents;
24
- private setupHoverEvents;
25
- private close;
26
- private destroyOverlay;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<WrDropdownDirective, never>;
28
- static ɵdir: i0.ɵɵDirectiveDeclaration<WrDropdownDirective, "[wrDropdown]", never, { "dropdownMenu": { "alias": "dropdownMenu"; "required": false; "isSignal": true; }; "trigger": { "alias": "trigger"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
29
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Use of this source code is governed by an MIT-style license that can be
5
- * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
6
- */
7
- import { ConnectedPosition } from '@angular/cdk/overlay';
8
- export type WrDropdownTrigger = 'click' | 'hover';
9
- export declare const WR_DROPDOWN_POSITIONS: Record<string, ConnectedPosition[]>;
@@ -1,10 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Use of this source code is governed by an MIT-style license that can be
5
- * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
6
- */
7
- export * from './dropdown.types';
8
- export * from './dropdown.directive';
9
- export * from './dropdown-menu.component';
10
- export * from './dropdown-menu-item.component';
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * NGWR form error component.
4
- *
5
- * {@tutorial} [How to use wr-alert]{@link http://ngwr.dev/docs/components/form}
6
- */
7
- export declare class WrFormErrorComponent {
8
- class: string;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<WrFormErrorComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<WrFormErrorComponent, "wr-form-error", never, {}, {}, never, ["*"], true, never>;
11
- }
@@ -1,14 +0,0 @@
1
- import { SafeAny } from 'ngwr/cdk/types';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * NGWR form item component.
5
- *
6
- * {@tutorial} [How to use wr-alert]{@link http://ngwr.dev/docs/components/form}
7
- */
8
- export declare class WrFormItemComponent {
9
- hasError: boolean;
10
- get elClasses(): SafeAny;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<WrFormItemComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<WrFormItemComponent, "wr-form-item", never, { "hasError": { "alias": "hasError"; "required": false; }; }, {}, never, ["*"], true, never>;
13
- static ngAcceptInputType_hasError: unknown;
14
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Use of this source code is governed by an MIT-style license that can be
5
- * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
6
- */
7
- export * from './form-error.component';
8
- export * from './form-item.component';
@@ -1,24 +0,0 @@
1
- import { SafeAny } from 'ngwr/cdk/types';
2
- import { wrIconName } from './icons';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * NGWR icon component.
6
- *
7
- * {@tutorial} [How to use wr-btn]{@link http://ngwr.dev/docs/components/icon}
8
- */
9
- export declare class WrIconComponent {
10
- set name(value: wrIconName);
11
- get elClasses(): SafeAny;
12
- private readonly r2;
13
- private readonly patchService;
14
- private readonly iconService;
15
- private readonly elRef;
16
- private readonly doc;
17
- private setIcon;
18
- private svgElementFromString;
19
- private setElement;
20
- private clearElement;
21
- constructor();
22
- static ɵfac: i0.ɵɵFactoryDeclaration<WrIconComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<WrIconComponent, "wr-icon", never, { "name": { "alias": "name"; "required": true; }; }, {}, never, never, true, never>;
24
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * @license
3
- *
4
- * Use of this source code is governed by an MIT-style license that can be
5
- * found in the LICENSE file at https://github.com/thekhegay/ngwr/blob/main/LICENSE
6
- */
7
- import { InjectionToken } from '@angular/core';
8
- import { WrIcon } from './icons';
9
- import * as i0 from "@angular/core";
10
- export declare const WR_ICONS_PATCH: InjectionToken<WrIcon[]>;
11
- export declare class WrIconService {
12
- readonly registry: Map<string, string>;
13
- addIcon(...icons: WrIcon[]): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<WrIconService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<WrIconService>;
16
- }
17
- export declare class WrIconPatchService {
18
- private readonly icons;
19
- private readonly wrIconService;
20
- addIcons(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<WrIconPatchService, never>;
22
- static ɵprov: i0.ɵɵInjectableDeclaration<WrIconPatchService>;
23
- }