ngwr 5.0.3 → 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 (160) 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 +68 -0
  12. package/dropdown/styles/_index.scss +91 -0
  13. package/dropdown/styles/vars.scss +18 -0
  14. package/fesm2022/ngwr-alert.mjs +8 -28
  15. package/fesm2022/ngwr-alert.mjs.map +1 -1
  16. package/fesm2022/ngwr-avatar.mjs +8 -28
  17. package/fesm2022/ngwr-avatar.mjs.map +1 -1
  18. package/fesm2022/ngwr-button.mjs +10 -31
  19. package/fesm2022/ngwr-button.mjs.map +1 -1
  20. package/fesm2022/ngwr-cdk.mjs +9 -4
  21. package/fesm2022/ngwr-cdk.mjs.map +1 -1
  22. package/fesm2022/ngwr-checkbox.mjs +7 -26
  23. package/fesm2022/ngwr-checkbox.mjs.map +1 -1
  24. package/fesm2022/ngwr-dialog.mjs +135 -159
  25. package/fesm2022/ngwr-dialog.mjs.map +1 -1
  26. package/fesm2022/ngwr-divider.mjs +5 -19
  27. package/fesm2022/ngwr-divider.mjs.map +1 -1
  28. package/fesm2022/ngwr-dropdown.mjs +315 -0
  29. package/fesm2022/ngwr-dropdown.mjs.map +1 -0
  30. package/fesm2022/ngwr-form.mjs +8 -29
  31. package/fesm2022/ngwr-form.mjs.map +1 -1
  32. package/fesm2022/ngwr-icon.mjs +11 -32
  33. package/fesm2022/ngwr-icon.mjs.map +1 -1
  34. package/fesm2022/ngwr-input.mjs +12 -32
  35. package/fesm2022/ngwr-input.mjs.map +1 -1
  36. package/fesm2022/ngwr-pagination.mjs +125 -0
  37. package/fesm2022/ngwr-pagination.mjs.map +1 -0
  38. package/fesm2022/ngwr-pipes.mjs +5 -25
  39. package/fesm2022/ngwr-pipes.mjs.map +1 -1
  40. package/fesm2022/ngwr-progress.mjs +6 -25
  41. package/fesm2022/ngwr-progress.mjs.map +1 -1
  42. package/fesm2022/ngwr-qr.mjs +15 -37
  43. package/fesm2022/ngwr-qr.mjs.map +1 -1
  44. package/fesm2022/ngwr-select.mjs +405 -0
  45. package/fesm2022/ngwr-select.mjs.map +1 -0
  46. package/fesm2022/ngwr-skeleton.mjs +5 -19
  47. package/fesm2022/ngwr-skeleton.mjs.map +1 -1
  48. package/fesm2022/ngwr-spinner.mjs +16 -28
  49. package/fesm2022/ngwr-spinner.mjs.map +1 -1
  50. package/fesm2022/ngwr-table.mjs +258 -0
  51. package/fesm2022/ngwr-table.mjs.map +1 -0
  52. package/fesm2022/ngwr-tag.mjs +7 -21
  53. package/fesm2022/ngwr-tag.mjs.map +1 -1
  54. package/fesm2022/ngwr-textarea.mjs +8 -27
  55. package/fesm2022/ngwr-textarea.mjs.map +1 -1
  56. package/form/index.d.ts +26 -3
  57. package/icon/index.d.ts +828 -3
  58. package/index.d.ts +2 -5
  59. package/input/index.d.ts +41 -3
  60. package/package.json +35 -7
  61. package/pagination/index.d.ts +34 -0
  62. package/pagination/styles/_index.scss +60 -0
  63. package/pagination/styles/vars.scss +14 -0
  64. package/pipes/index.d.ts +15 -3
  65. package/progress/index.d.ts +13 -5
  66. package/qr/index.d.ts +127 -5
  67. package/select/index.d.ts +121 -0
  68. package/select/styles/_index.scss +237 -0
  69. package/select/styles/vars.scss +32 -0
  70. package/skeleton/index.d.ts +13 -2
  71. package/spinner/index.d.ts +23 -2
  72. package/spinner/styles/_index.scss +10 -3
  73. package/styles.scss +4 -0
  74. package/table/index.d.ts +101 -0
  75. package/table/styles/_index.scss +4 -0
  76. package/table/styles/table-filter.scss +202 -0
  77. package/table/styles/table-sort.scss +47 -0
  78. package/table/styles/table.scss +232 -0
  79. package/table/styles/vars.scss +21 -0
  80. package/tag/index.d.ts +24 -5
  81. package/textarea/index.d.ts +44 -4
  82. package/alert/alert-type.d.ts +0 -7
  83. package/alert/alert.component.d.ts +0 -21
  84. package/alert/alert.module.d.ts +0 -7
  85. package/alert/public-api.d.ts +0 -9
  86. package/avatar/avatar.component.d.ts +0 -27
  87. package/avatar/avatar.module.d.ts +0 -7
  88. package/avatar/public-api.d.ts +0 -8
  89. package/button/button-group.component.d.ts +0 -12
  90. package/button/button.component.d.ts +0 -31
  91. package/button/button.module.d.ts +0 -8
  92. package/button/public-api.d.ts +0 -9
  93. package/cdk/base.directive.d.ts +0 -15
  94. package/cdk/public-api.d.ts +0 -7
  95. package/cdk/rxjs/is-array.d.ts +0 -8
  96. package/cdk/rxjs/is-defined.d.ts +0 -8
  97. package/cdk/rxjs/is-not-empty-array.d.ts +0 -8
  98. package/cdk/rxjs/is-observable.d.ts +0 -9
  99. package/cdk/rxjs/public-api.d.ts +0 -10
  100. package/cdk/types/maybe.d.ts +0 -7
  101. package/cdk/types/public-api.d.ts +0 -9
  102. package/cdk/types/safe-any.d.ts +0 -7
  103. package/cdk/types/theme-color.d.ts +0 -8
  104. package/cdk/utils/generate-random-id.d.ts +0 -12
  105. package/cdk/utils/public-api.d.ts +0 -7
  106. package/checkbox/checkbox.component.d.ts +0 -28
  107. package/checkbox/checkbox.module.d.ts +0 -7
  108. package/checkbox/public-api.d.ts +0 -8
  109. package/dialog/dialog-animations.d.ts +0 -22
  110. package/dialog/dialog-base.directive.d.ts +0 -40
  111. package/dialog/dialog-close.directive.d.ts +0 -9
  112. package/dialog/dialog-content.directive.d.ts +0 -6
  113. package/dialog/dialog-data.token.d.ts +0 -8
  114. package/dialog/dialog-footer.directive.d.ts +0 -8
  115. package/dialog/dialog-options.d.ts +0 -19
  116. package/dialog/dialog-ref.d.ts +0 -26
  117. package/dialog/dialog-title.directive.d.ts +0 -6
  118. package/dialog/dialog.component.d.ts +0 -28
  119. package/dialog/dialog.module.d.ts +0 -11
  120. package/dialog/dialog.service.d.ts +0 -28
  121. package/dialog/public-api.d.ts +0 -18
  122. package/divider/divider.component.d.ts +0 -13
  123. package/divider/divider.module.d.ts +0 -7
  124. package/divider/public-api.d.ts +0 -8
  125. package/form/form-error.component.d.ts +0 -11
  126. package/form/form-item.component.d.ts +0 -14
  127. package/form/form.module.d.ts +0 -8
  128. package/form/public-api.d.ts +0 -9
  129. package/icon/icon.component.d.ts +0 -24
  130. package/icon/icon.module.d.ts +0 -7
  131. package/icon/icon.service.d.ts +0 -23
  132. package/icon/icons.d.ts +0 -770
  133. package/icon/provide-wr-icons.d.ts +0 -9
  134. package/icon/public-api.d.ts +0 -11
  135. package/input/input-types.d.ts +0 -1
  136. package/input/input.component.d.ts +0 -38
  137. package/input/input.module.d.ts +0 -7
  138. package/input/public-api.d.ts +0 -9
  139. package/pipes/new-array.pipe.d.ts +0 -13
  140. package/pipes/pipes.module.d.ts +0 -7
  141. package/pipes/public-api.d.ts +0 -8
  142. package/progress/progress.component.d.ts +0 -10
  143. package/progress/progress.module.d.ts +0 -7
  144. package/progress/public-api.d.ts +0 -8
  145. package/public-api.d.ts +0 -2
  146. package/qr/generator.d.ts +0 -7
  147. package/qr/public-api.d.ts +0 -8
  148. package/qr/qr.component.d.ts +0 -31
  149. package/qr/qr.module.d.ts +0 -7
  150. package/qr/qrcodegen.d.ts +0 -94
  151. package/skeleton/skeleton.component.d.ts +0 -10
  152. package/skeleton/skeleton.module.d.ts +0 -7
  153. package/spinner/spinner.component.d.ts +0 -11
  154. package/spinner/spinner.module.d.ts +0 -7
  155. package/tag/public-api.d.ts +0 -8
  156. package/tag/tag.component.d.ts +0 -21
  157. package/tag/tag.module.d.ts +0 -7
  158. package/textarea/public-api.d.ts +0 -8
  159. package/textarea/textarea.component.d.ts +0 -44
  160. package/textarea/textarea.module.d.ts +0 -7
@@ -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 { Provider } from '@angular/core';
8
- import { WrIcon } from './icons';
9
- export declare function provideWrIcons(icons: WrIcon[]): Provider[];
@@ -1,11 +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 './icon.component';
8
- export * from './icon.module';
9
- export * from './icon.service';
10
- export * from './icons';
11
- export * from './provide-wr-icons';
@@ -1 +0,0 @@
1
- export type WrInputType = 'text' | 'number' | 'password' | 'email';
@@ -1,38 +0,0 @@
1
- import { ControlValueAccessor } from '@angular/forms';
2
- import { WrAbstractBase } from 'ngwr/cdk';
3
- import { SafeAny } from 'ngwr/cdk/types';
4
- import { WrInputType } from './input-types';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * NGWR input component.
8
- *
9
- * {@tutorial} [How to use wr-alert]{@link http://ngwr.dev/docs/components/input}
10
- */
11
- export declare class WrInputComponent extends WrAbstractBase implements ControlValueAccessor {
12
- placeholder: string;
13
- prefix: string | null;
14
- suffix: string | null;
15
- rounded: boolean;
16
- passwordIcons: boolean;
17
- readonly: boolean;
18
- type: WrInputType;
19
- get elClasses(): SafeAny;
20
- protected readonly inputValue: import("@angular/core").WritableSignal<string | null>;
21
- protected value?: string;
22
- private readonly cdr;
23
- protected readonly eyeOn: import("@angular/core").WritableSignal<boolean>;
24
- protected readonly isFocused: import("@angular/core").WritableSignal<boolean>;
25
- protected readonly isDisabled: import("@angular/core").WritableSignal<boolean>;
26
- onChange: (value: string) => void;
27
- onTouch: () => void;
28
- registerOnChange(fn: (value: string) => void): void;
29
- registerOnTouched(fn: () => void): void;
30
- setDisabledState(isDisabled: boolean): void;
31
- writeValue(value: string): void;
32
- onPasswordVisibilityChange(): void;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<WrInputComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<WrInputComponent, "wr-input", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "passwordIcons": { "alias": "passwordIcons"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
35
- static ngAcceptInputType_rounded: unknown;
36
- static ngAcceptInputType_passwordIcons: unknown;
37
- static ngAcceptInputType_readonly: unknown;
38
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input.component";
3
- export declare class WrInputModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<WrInputModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<WrInputModule, never, [typeof i1.WrInputComponent], [typeof i1.WrInputComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<WrInputModule>;
7
- }
@@ -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
- export * from './input-types';
8
- export * from './input.component';
9
- export * from './input.module';
@@ -1,13 +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 { PipeTransform } from '@angular/core';
8
- import * as i0 from "@angular/core";
9
- export declare class NewArrayPipe implements PipeTransform {
10
- transform(arrayLength: number): number[];
11
- static ɵfac: i0.ɵɵFactoryDeclaration<NewArrayPipe, never>;
12
- static ɵpipe: i0.ɵɵPipeDeclaration<NewArrayPipe, "newArray", true>;
13
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./new-array.pipe";
3
- export declare class WrPipesModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<WrPipesModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<WrPipesModule, never, [typeof i1.NewArrayPipe], [typeof i1.NewArrayPipe]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<WrPipesModule>;
7
- }
@@ -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 './new-array.pipe';
8
- export * from './pipes.module';
@@ -1,10 +0,0 @@
1
- import { SafeAny, WrThemeColor } from 'ngwr/cdk/types';
2
- import * as i0 from "@angular/core";
3
- export declare class WrProgressComponent {
4
- color: WrThemeColor | null;
5
- percent: number;
6
- get elClasses(): SafeAny;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<WrProgressComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<WrProgressComponent, "wr-progress", never, { "color": { "alias": "color"; "required": false; }; "percent": { "alias": "percent"; "required": false; }; }, {}, never, never, true, never>;
9
- static ngAcceptInputType_percent: unknown;
10
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./progress.component";
3
- export declare class WrProgressModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<WrProgressModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<WrProgressModule, never, [typeof i1.WrProgressComponent], [typeof i1.WrProgressComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<WrProgressModule>;
7
- }
@@ -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 './progress.component';
8
- export * from './progress.module';
package/public-api.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare const _default: undefined;
2
- export default _default;
package/qr/generator.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import qrcodegen from './qrcodegen';
2
- export declare const ERROR_LEVEL_MAP: Record<'L' | 'M' | 'Q' | 'H', qrcodegen.QrCode.Ecc>;
3
- export declare const plotQRCodeData: (value: string, level?: keyof typeof ERROR_LEVEL_MAP) => qrcodegen.QrCode | null;
4
- export declare function drawCanvas(canvas: HTMLCanvasElement, value: qrcodegen.QrCode | null, size?: number, scale?: number, padding?: number | number[], color?: string, backgroundColor?: string, iconSize?: number, icon?: string): void;
5
- export declare function drawCanvasColor(ctx: CanvasRenderingContext2D, value: qrcodegen.QrCode, scale: number, padding: number[], backgroundColor: string, color: string): void;
6
- export declare function drawCanvasBackground(ctx: CanvasRenderingContext2D, width: number, height: number, scale: number, backgroundColor: string): void;
7
- export declare function formatPadding(padding: number | number[]): number[];
@@ -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 './qr.component';
8
- export * from './qr.module';
@@ -1,31 +0,0 @@
1
- import { AfterViewInit, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { WrAbstractBase } from 'ngwr/cdk';
3
- import { wrIconName } from 'ngwr/icon';
4
- import { ERROR_LEVEL_MAP } from './generator';
5
- import * as i0 from "@angular/core";
6
- export declare class WrQrComponent extends WrAbstractBase implements OnInit, AfterViewInit, OnChanges {
7
- class: string;
8
- canvas: ElementRef<HTMLCanvasElement>;
9
- value: string;
10
- level: keyof typeof ERROR_LEVEL_MAP;
11
- padding: number;
12
- color: string;
13
- bgColor: string;
14
- size: number;
15
- icon: wrIconName | null;
16
- iconSize: number;
17
- private readonly pid;
18
- private readonly elRef;
19
- private readonly wrIconService;
20
- protected readonly isBrowser: import("@angular/core").WritableSignal<boolean>;
21
- ngOnChanges(changes: SimpleChanges): void;
22
- ngOnInit(): void;
23
- ngAfterViewInit(): void;
24
- setElBg(): void;
25
- drawCanvas(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<WrQrComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<WrQrComponent, "wr-qr", never, { "value": { "alias": "value"; "required": true; }; "level": { "alias": "level"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "color": { "alias": "color"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; }, {}, never, never, true, never>;
28
- static ngAcceptInputType_padding: unknown;
29
- static ngAcceptInputType_size: unknown;
30
- static ngAcceptInputType_iconSize: unknown;
31
- }
package/qr/qr.module.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./qr.component";
3
- export declare class WrQrModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<WrQrModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<WrQrModule, never, [typeof i1.WrQrComponent], [typeof i1.WrQrComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<WrQrModule>;
7
- }
package/qr/qrcodegen.d.ts DELETED
@@ -1,94 +0,0 @@
1
- declare namespace qrcodegen {
2
- type bit = number;
3
- type byte = number;
4
- type int = number;
5
- export class QrCode {
6
- readonly version: int;
7
- readonly errorCorrectionLevel: QrCode.Ecc;
8
- static encodeText(text: string, ecl: QrCode.Ecc): QrCode;
9
- static encodeBinary(data: readonly byte[], ecl: QrCode.Ecc): QrCode;
10
- static encodeSegments(segs: readonly QrSegment[], ecl: QrCode.Ecc, minVersion?: int, maxVersion?: int, mask?: int, boostEcl?: boolean): QrCode;
11
- readonly size: int;
12
- readonly mask: int;
13
- private readonly modules;
14
- private readonly isFunction;
15
- constructor(version: int, errorCorrectionLevel: QrCode.Ecc, dataCodewords: readonly byte[], msk: int);
16
- getModule(x: int, y: int): boolean;
17
- private drawFunctionPatterns;
18
- private drawFormatBits;
19
- private drawVersion;
20
- private drawFinderPattern;
21
- private drawAlignmentPattern;
22
- private setFunctionModule;
23
- private addEccAndInterleave;
24
- private drawCodewords;
25
- private applyMask;
26
- private getPenaltyScore;
27
- private getAlignmentPatternPositions;
28
- private static getNumRawDataModules;
29
- private static getNumDataCodewords;
30
- private static reedSolomonComputeDivisor;
31
- private static reedSolomonComputeRemainder;
32
- private static reedSolomonMultiply;
33
- private finderPenaltyCountPatterns;
34
- private finderPenaltyTerminateAndCount;
35
- private finderPenaltyAddHistory;
36
- static readonly MIN_VERSION: int;
37
- static readonly MAX_VERSION: int;
38
- private static readonly PENALTY_N1;
39
- private static readonly PENALTY_N2;
40
- private static readonly PENALTY_N3;
41
- private static readonly PENALTY_N4;
42
- private static readonly ECC_CODEWORDS_PER_BLOCK;
43
- private static readonly NUM_ERROR_CORRECTION_BLOCKS;
44
- }
45
- export class QrSegment {
46
- readonly mode: QrSegment.Mode;
47
- readonly numChars: int;
48
- private readonly bitData;
49
- static makeBytes(data: readonly byte[]): QrSegment;
50
- static makeNumeric(digits: string): QrSegment;
51
- static makeAlphanumeric(text: string): QrSegment;
52
- static makeSegments(text: string): QrSegment[];
53
- static makeEci(assignVal: int): QrSegment;
54
- static isNumeric(text: string): boolean;
55
- static isAlphanumeric(text: string): boolean;
56
- constructor(mode: QrSegment.Mode, numChars: int, bitData: bit[]);
57
- getData(): bit[];
58
- static getTotalBits(segs: readonly QrSegment[], version: int): number;
59
- private static toUtf8ByteArray;
60
- private static readonly NUMERIC_REGEX;
61
- private static readonly ALPHANUMERIC_REGEX;
62
- private static readonly ALPHANUMERIC_CHARSET;
63
- }
64
- export {};
65
- }
66
- declare namespace qrcodegen.QrCode {
67
- type int = number;
68
- export class Ecc {
69
- readonly ordinal: int;
70
- readonly formatBits: int;
71
- static readonly LOW: Ecc;
72
- static readonly MEDIUM: Ecc;
73
- static readonly QUARTILE: Ecc;
74
- static readonly HIGH: Ecc;
75
- private constructor();
76
- }
77
- export {};
78
- }
79
- declare namespace qrcodegen.QrSegment {
80
- type int = number;
81
- export class Mode {
82
- readonly modeBits: int;
83
- private readonly numBitsCharCount;
84
- static readonly NUMERIC: Mode;
85
- static readonly ALPHANUMERIC: Mode;
86
- static readonly BYTE: Mode;
87
- static readonly KANJI: Mode;
88
- static readonly ECI: Mode;
89
- private constructor();
90
- numCharCountBits(ver: int): int;
91
- }
92
- export {};
93
- }
94
- export default qrcodegen;
@@ -1,10 +0,0 @@
1
- import { SafeAny, WrThemeColor } from 'ngwr/cdk/types';
2
- import * as i0 from "@angular/core";
3
- export declare class WrSkeletonComponent {
4
- color: WrThemeColor;
5
- animated: boolean;
6
- get elClasses(): SafeAny;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<WrSkeletonComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<WrSkeletonComponent, "wr-skeleton", never, { "color": { "alias": "color"; "required": false; }; "animated": { "alias": "animated"; "required": false; }; }, {}, never, never, true, never>;
9
- static ngAcceptInputType_animated: unknown;
10
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./skeleton.component";
3
- export declare class WrSkeletonModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<WrSkeletonModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<WrSkeletonModule, never, [typeof i1.WrSkeletonComponent], [typeof i1.WrSkeletonComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<WrSkeletonModule>;
7
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- /**
3
- * NGWR spinner component.
4
- *
5
- * {@tutorial} [How to use wr-spinner]{@link http://ngwr.dev/docs/components/spinner
6
- */
7
- export declare class WrSpinnerComponent {
8
- class: string;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<WrSpinnerComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<WrSpinnerComponent, "wr-spinner", never, {}, {}, never, never, true, never>;
11
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./spinner.component";
3
- export declare class WrSpinnerModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<WrSpinnerModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<WrSpinnerModule, never, [typeof i1.WrSpinnerComponent], [typeof i1.WrSpinnerComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<WrSpinnerModule>;
7
- }
@@ -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 './tag.component';
8
- export * from './tag.module';
@@ -1,21 +0,0 @@
1
- import { SafeAny, WrThemeColor } from 'ngwr/cdk/types';
2
- import { wrIconName } from 'ngwr/icon';
3
- import * as i0 from "@angular/core";
4
- export declare class WrTagComponent {
5
- color: WrThemeColor;
6
- icon: wrIconName | null;
7
- iconPosition: 'start' | 'end';
8
- outlined: boolean;
9
- rounded: boolean;
10
- transparent: boolean;
11
- hoverable: boolean;
12
- loading: boolean;
13
- get elClasses(): SafeAny;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<WrTagComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<WrTagComponent, "wr-tag", never, { "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "transparent": { "alias": "transparent"; "required": false; }; "hoverable": { "alias": "hoverable"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, ["*"], true, never>;
16
- static ngAcceptInputType_outlined: unknown;
17
- static ngAcceptInputType_rounded: unknown;
18
- static ngAcceptInputType_transparent: unknown;
19
- static ngAcceptInputType_hoverable: unknown;
20
- static ngAcceptInputType_loading: unknown;
21
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./tag.component";
3
- export declare class WrTagModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<WrTagModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<WrTagModule, never, [typeof i1.WrTagComponent], [typeof i1.WrTagComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<WrTagModule>;
7
- }
@@ -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 './textarea.component';
8
- export * from './textarea.module';
@@ -1,44 +0,0 @@
1
- import { AfterViewInit } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import { WrAbstractBase } from 'ngwr/cdk';
4
- import { SafeAny } from 'ngwr/cdk/types';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * NGWR textarea component.
8
- *
9
- * {@tutorial} [How to use wr-textarea]{@link http://ngwr.dev/docs/components/textarea}
10
- */
11
- export declare class WrTextareaComponent extends WrAbstractBase implements ControlValueAccessor, AfterViewInit {
12
- placeholder: string;
13
- readonly: boolean;
14
- resizable: boolean;
15
- autosize: boolean;
16
- rows: number;
17
- maxRows?: number;
18
- set disabled(value: boolean);
19
- get disabled(): boolean;
20
- private textareaNative;
21
- get elClasses(): SafeAny;
22
- protected value?: string;
23
- protected readonly inputValue: import("@angular/core").WritableSignal<string | null>;
24
- protected readonly isDisabled: import("@angular/core").WritableSignal<boolean>;
25
- private readonly platformId;
26
- private readonly cdr;
27
- private get isBrowser();
28
- ngAfterViewInit(): void;
29
- onChange: (value: string) => void;
30
- onTouch: () => void;
31
- registerOnChange(fn: (value: string) => void): void;
32
- registerOnTouched(fn: () => void): void;
33
- setDisabledState(isDisabled: boolean): void;
34
- writeValue(value: string): void;
35
- resizeTextarea(): void;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<WrTextareaComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<WrTextareaComponent, "wr-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "autosize": { "alias": "autosize"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
38
- static ngAcceptInputType_readonly: unknown;
39
- static ngAcceptInputType_resizable: unknown;
40
- static ngAcceptInputType_autosize: unknown;
41
- static ngAcceptInputType_rows: unknown;
42
- static ngAcceptInputType_maxRows: unknown;
43
- static ngAcceptInputType_disabled: unknown;
44
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./textarea.component";
3
- export declare class WrTextareaModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<WrTextareaModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<WrTextareaModule, never, [typeof i1.WrTextareaComponent], [typeof i1.WrTextareaComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<WrTextareaModule>;
7
- }