@anglr/common 10.0.0 → 11.0.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.
Files changed (62) hide show
  1. package/changelog.md +19 -0
  2. package/es2015/material/src/components/titledDialog/titledDialog.component.js +12 -8
  3. package/es2015/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
  4. package/es2015/material/src/modules/titledDialog.module.js +7 -4
  5. package/es2015/material/src/modules/titledDialog.module.js.map +1 -1
  6. package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +1 -0
  7. package/es2015/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js.map +1 -1
  8. package/es2020/material/src/components/titledDialog/titledDialog.component.js +12 -8
  9. package/es2020/material/src/components/titledDialog/titledDialog.component.js.map +1 -1
  10. package/es2020/material/src/modules/titledDialog.module.js +7 -4
  11. package/es2020/material/src/modules/titledDialog.module.js.map +1 -1
  12. package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js +1 -0
  13. package/es2020/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.js.map +1 -1
  14. package/material/src/components/titledDialog/titledDialog.component.d.ts.map +1 -1
  15. package/material/src/modules/titledDialog.module.d.ts +1 -1
  16. package/material/src/modules/titledDialog.module.d.ts.map +1 -1
  17. package/package.json +23 -28
  18. package/readme.md +0 -1
  19. package/src/directives/ngComponentOutletEx/ngComponentOutletEx.directive.d.ts.map +1 -1
  20. package/version.bak +1 -1
  21. package/common.d.ts +0 -1398
  22. package/common.internal.d.ts +0 -1438
  23. package/date-fns/common-date-fns.d.ts +0 -8
  24. package/date-fns/common-date-fns.internal.d.ts +0 -8
  25. package/date-fns/temp/common-date-fns.api.md +0 -12
  26. package/es2015/hmr/src/index.js +0 -35
  27. package/es2015/hmr/src/index.js.map +0 -1
  28. package/es2020/hmr/src/index.js +0 -35
  29. package/es2020/hmr/src/index.js.map +0 -1
  30. package/forms/common-forms.d.ts +0 -966
  31. package/forms/common-forms.internal.d.ts +0 -966
  32. package/forms/temp/common-forms.api.md +0 -445
  33. package/hmr/common-hmr.d.ts +0 -6
  34. package/hmr/common-hmr.internal.d.ts +0 -6
  35. package/hmr/package.json +0 -9
  36. package/hmr/src/index.d.ts +0 -6
  37. package/hmr/src/index.d.ts.map +0 -1
  38. package/hmr/temp/common-hmr.api.md +0 -12
  39. package/hotkeys/common-hotkeys.d.ts +0 -53
  40. package/hotkeys/common-hotkeys.internal.d.ts +0 -53
  41. package/hotkeys/temp/common-hotkeys.api.md +0 -25
  42. package/material/common-material.d.ts +0 -264
  43. package/material/common-material.internal.d.ts +0 -278
  44. package/material/temp/common-material.api.md +0 -164
  45. package/moment/common-moment.d.ts +0 -61
  46. package/moment/common-moment.internal.d.ts +0 -61
  47. package/moment/temp/common-moment.api.md +0 -47
  48. package/numeral/common-numeral.d.ts +0 -44
  49. package/numeral/common-numeral.internal.d.ts +0 -44
  50. package/numeral/temp/common-numeral.api.md +0 -37
  51. package/positions/common-positions.d.ts +0 -324
  52. package/positions/common-positions.internal.d.ts +0 -346
  53. package/positions/temp/common-positions.api.md +0 -170
  54. package/router/common-router.d.ts +0 -140
  55. package/router/common-router.internal.d.ts +0 -140
  56. package/router/temp/common-router.api.md +0 -74
  57. package/store/common-store.d.ts +0 -61
  58. package/store/common-store.internal.d.ts +0 -61
  59. package/store/temp/common-store.api.md +0 -37
  60. package/structured-log/common-structured-log.d.ts +0 -418
  61. package/structured-log/common-structured-log.internal.d.ts +0 -418
  62. package/structured-log/temp/common-structured-log.api.md +0 -193
@@ -1,445 +0,0 @@
1
- ## API Report File for "@anglr/common-forms"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { AbstractControl } from '@angular/forms';
8
- import { AbstractControlOptions } from '@angular/forms';
9
- import { AfterViewInit } from '@angular/core';
10
- import { AsyncValidatorFn } from '@angular/forms';
11
- import { ChangeDetectorRef } from '@angular/core';
12
- import { ComponentRef } from '@angular/core';
13
- import { ControlValueAccessor } from '@angular/forms';
14
- import { Dictionary } from '@jscrpt/common';
15
- import { ElementRef } from '@angular/core';
16
- import { FormArray } from '@angular/forms';
17
- import { FormControl } from '@angular/forms';
18
- import { FormControlDirective } from '@angular/forms';
19
- import { FormControlName } from '@angular/forms';
20
- import { FormGroup } from '@angular/forms';
21
- import * as i0 from '@angular/core';
22
- import { InjectionToken } from '@angular/core';
23
- import { Injector } from '@angular/core';
24
- import { NgForm } from '@angular/forms';
25
- import { NgModel } from '@angular/forms';
26
- import { Observable } from 'rxjs';
27
- import { OnChanges } from '@angular/core';
28
- import { OnDestroy } from '@angular/core';
29
- import { OnInit } from '@angular/core';
30
- import { Renderer2 } from '@angular/core';
31
- import { SimpleChanges } from '@angular/core';
32
- import { StringDictionary } from '@jscrpt/common';
33
- import { StringLocalization } from '@anglr/common';
34
- import { TemplateRef } from '@angular/core';
35
- import { Type } from '@angular/core';
36
- import { ValidationErrors } from '@angular/forms';
37
- import { Validator as Validator_2 } from '@angular/forms';
38
- import { ValidatorFn } from '@angular/forms';
39
-
40
- // @public
41
- export function alertHidden(form: NgForm, control: string, errors?: string[]): boolean;
42
-
43
- // @public
44
- export function alertHiddenCustom(form: NgForm | FormGroup, control: string, errors?: string[], submitted?: boolean): boolean;
45
-
46
- // @public
47
- export function AsyncValidator(validator: AsyncValidatorFn | AsyncValidatorFnFactory): PropertyDecorator;
48
-
49
- // @public
50
- export class AsyncValidatorFnFactory<TArg extends Dictionary<any> = any> {
51
- constructor(_factoryFn?: AsyncValidatorFnFactoryFn<TArg>);
52
- valueOf(): AsyncValidatorFnFactoryFn<TArg>;
53
- }
54
-
55
- // @public
56
- export interface AsyncValidatorFnFactoryFn<TArg extends Dictionary<any> = any> {
57
- (args: TArg): AsyncValidatorFn;
58
- }
59
-
60
- // @public
61
- export function buildFormModel<TModel, TArgs = Record<string, never>>(model: TModel, args?: TArgs): FormGroup;
62
-
63
- // @public
64
- export function ControlOptions(options: ModelPropertyOptions): PropertyDecorator;
65
-
66
- // @public
67
- export class CurrentValue<TValue = any> {
68
- constructor(currentValue: () => TValue);
69
- // (undocumented)
70
- currentValue: () => TValue;
71
- }
72
-
73
- // @public
74
- export class DefaultValidationErrorRenderer implements ValidationErrorRenderer {
75
- constructor(_errorMessagesExtractor: ErrorMessagesExtractor, _control: FormControl, _controlElement: HTMLElement, _document: Document, _injector: Injector, _isSubmittedOrDirty: IsSubmittedOrDirtyFunc, _options: ValidationErrorsRendererOptions);
76
- protected _component: ComponentRef<ValidationErrorsComponent>;
77
- // (undocumented)
78
- protected _control: FormControl;
79
- // (undocumented)
80
- protected _controlElement: HTMLElement;
81
- destroy(): void;
82
- // (undocumented)
83
- protected _document: Document;
84
- protected _errorMessageAttr: Attr;
85
- // (undocumented)
86
- protected _errorMessagesExtractor: ErrorMessagesExtractor;
87
- protected _hide(): void;
88
- protected _initialize(): void;
89
- // (undocumented)
90
- protected _injector: Injector;
91
- // (undocumented)
92
- protected _isSubmittedOrDirty: IsSubmittedOrDirtyFunc;
93
- protected _lastErrors: ValidationErrorsResult;
94
- // (undocumented)
95
- protected _options: ValidationErrorsRendererOptions;
96
- protected _render(add: boolean): void;
97
- protected _renderComponent(add?: boolean): void;
98
- protected _renderDivs(add?: boolean): void;
99
- protected _renderTemplate(_add?: boolean): void;
100
- protected _show(): void;
101
- protected _toggleErrors(add?: boolean): void;
102
- update(errorMessages?: StringDictionary, onlyShow?: boolean): boolean;
103
- wrapperElement: HTMLElement;
104
- }
105
-
106
- // @public
107
- export function Disabled(): PropertyDecorator;
108
-
109
- // @public
110
- export function Email(): PropertyDecorator;
111
-
112
- // @public
113
- export class ErrorMessagesExtractor {
114
- constructor(injector: Injector, globalErrorMessages?: StringDictionary);
115
- protected _errorMessages: StringDictionary;
116
- getErrors(control: FormControl, messages?: StringDictionary): ValidationErrorsResult;
117
- protected _stringLocalization: StringLocalization;
118
- // (undocumented)
119
- static ɵfac: i0.ɵɵFactoryDeclaration<ErrorMessagesExtractor, [null, { optional: true; }]>;
120
- // (undocumented)
121
- static ɵprov: i0.ɵɵInjectableDeclaration<ErrorMessagesExtractor>;
122
- }
123
-
124
- // @public
125
- export function FormArrayProperty(): PropertyDecorator;
126
-
127
- // @public
128
- export function FormGroupAsyncValidator(validator: AsyncValidatorFn | AsyncValidatorFnFactory): ClassDecorator;
129
-
130
- // @public
131
- export function FormGroupProperty(): PropertyDecorator;
132
-
133
- // @public
134
- export function FormGroupValidator(validator: ValidatorFn | ValidatorFnFactory): ClassDecorator;
135
-
136
- // @public
137
- export function getCurrentValue<TValue>(value: CurrentValue<TValue> | TValue): TValue;
138
-
139
- // @public
140
- export class GroupHasErrorDirective {
141
- constructor(_element: ElementRef<HTMLElement>);
142
- registerControl(id: string): void;
143
- unregisterControl(id: string): void;
144
- // (undocumented)
145
- static ɵdir: i0.ɵɵDirectiveDeclaration<GroupHasErrorDirective, "[groupHasError]", never, {}, {}, never>;
146
- // (undocumented)
147
- static ɵfac: i0.ɵɵFactoryDeclaration<GroupHasErrorDirective, never>;
148
- }
149
-
150
- // @public
151
- export interface GroupHasErrorOptions {
152
- cssClass?: string;
153
- }
154
-
155
- // @public
156
- export function hasError(form: NgForm, controls: string[]): boolean;
157
-
158
- // @public
159
- export function hasErrorCustom(form: NgForm | FormGroup, controls: string[], submitted?: boolean): boolean;
160
-
161
- // @public
162
- export class HasErrorDirective implements OnInit, OnDestroy {
163
- constructor(_element: ElementRef<HTMLElement>, _rendererFactory: ValidationErrorRendererFactory, _groupHasError: GroupHasErrorDirective, _formControl: FormControlDirective, _formControlName: FormControlName, _ngModel: NgModel, _submittedSvc: SubmittedService, _stringLocalization: StringLocalization, _injector: Injector);
164
- errorMessages: StringDictionary;
165
- // (undocumented)
166
- protected _injector: Injector;
167
- ngOnDestroy(): void;
168
- ngOnInit(): void;
169
- renderer: ValidationErrorRenderer;
170
- // (undocumented)
171
- protected _stringLocalization: StringLocalization;
172
- // (undocumented)
173
- static ɵdir: i0.ɵɵDirectiveDeclaration<HasErrorDirective, "[hasError]", never, { "errorMessages": "errorMessages"; }, {}, never>;
174
- // (undocumented)
175
- static ɵfac: i0.ɵɵFactoryDeclaration<HasErrorDirective, [null, null, { optional: true; skipSelf: true; }, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }, null, null]>;
176
- }
177
-
178
- // @public
179
- export class HasErrorModule {
180
- // (undocumented)
181
- static ɵfac: i0.ɵɵFactoryDeclaration<HasErrorModule, never>;
182
- // (undocumented)
183
- static ɵinj: i0.ɵɵInjectorDeclaration<HasErrorModule>;
184
- // Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point index.d.ts
185
- // Warning: (ae-forgotten-export) The symbol "i2" needs to be exported by the entry point index.d.ts
186
- //
187
- // (undocumented)
188
- static ɵmod: i0.ɵɵNgModuleDeclaration<HasErrorModule, [typeof i1_2.HasErrorDirective, typeof i2_2.GroupHasErrorDirective], never, [typeof i1_2.HasErrorDirective, typeof i2_2.GroupHasErrorDirective]>;
189
- }
190
-
191
- // @public
192
- export function InvalidateOnChange<TModel = any>(property: Extract<keyof TModel, string> | Extract<keyof TModel, string>[], opts?: {
193
- onlySelf?: boolean;
194
- emitEvent?: boolean;
195
- markAsTouched?: boolean;
196
- markAsDirty?: boolean;
197
- }): PropertyDecorator;
198
-
199
- // @public
200
- export interface IsSubmittedOrDirtyFunc {
201
- (action: () => void, falseAction?: () => void, additionalCondition?: boolean): void;
202
- }
203
-
204
- // @public
205
- export function MaxLength(maxLength: number): PropertyDecorator;
206
-
207
- // @public
208
- export function MaxValue(maxValue: number): PropertyDecorator;
209
-
210
- // @public
211
- export class MaxValueNumberValidatorDirective implements Validator_2, OnChanges {
212
- constructor(maxValue: string);
213
- maxValue?: number;
214
- // (undocumented)
215
- ngOnChanges(changes: SimpleChanges): void;
216
- validate(control: AbstractControl): ValidationErrors | null;
217
- // (undocumented)
218
- static ɵdir: i0.ɵɵDirectiveDeclaration<MaxValueNumberValidatorDirective, "input[number][maxValue][formControlName],input[number][maxValue][formControl],input[number][maxValue][ngModel]", never, { "maxValue": "maxValue"; }, {}, never>;
219
- // (undocumented)
220
- static ɵfac: i0.ɵɵFactoryDeclaration<MaxValueNumberValidatorDirective, [{ attribute: "maxValue"; }]>;
221
- }
222
-
223
- // @public
224
- export function MinLength(minLength: number): PropertyDecorator;
225
-
226
- // @public
227
- export function MinValue(value: number): PropertyDecorator;
228
-
229
- // @public
230
- export class MinValueNumberValidatorDirective implements Validator_2, OnChanges {
231
- constructor(minValue: string);
232
- minValue?: number;
233
- // (undocumented)
234
- ngOnChanges(changes: SimpleChanges): void;
235
- validate(control: AbstractControl): ValidationErrors | null;
236
- // (undocumented)
237
- static ɵdir: i0.ɵɵDirectiveDeclaration<MinValueNumberValidatorDirective, "input[number][minValue][formControlName],input[number][minValue][formControl],input[number][minValue][ngModel]", never, { "minValue": "minValue"; }, {}, never>;
238
- // (undocumented)
239
- static ɵfac: i0.ɵɵFactoryDeclaration<MinValueNumberValidatorDirective, [{ attribute: "minValue"; }]>;
240
- }
241
-
242
- // @public
243
- export interface ModelDecoratorMetadata<TModel = any> {
244
- ɵAsyncValidators?: Array<AsyncValidatorFn | AsyncValidatorFnFactory>;
245
- ɵControlsMetadata: Partial<Record<keyof TModel, ModelPropertyDecoratorMetadata>>;
246
- ɵValidators?: Array<ValidatorFn | ValidatorFnFactory>;
247
- }
248
-
249
- // @public
250
- export interface ModelPropertyDecoratorMetadata<TArgs extends Dictionary<any> = any> {
251
- args?: TArgs;
252
- asyncValidators?: Array<AsyncValidatorFn | AsyncValidatorFnFactory>;
253
- childType?: typeof FormGroup | typeof FormArray | typeof FormControl;
254
- controlOptions?: ModelPropertyOptions;
255
- disabled?: boolean;
256
- type?: typeof FormGroup | typeof FormArray | typeof FormControl;
257
- validators?: Array<ValidatorFn | ValidatorFnFactory>;
258
- }
259
-
260
- // @public
261
- export function ModelPropertyMetadata<TArgs extends Dictionary<any> = any, TModel = any>(metadata: ModelPropertyDecoratorMetadata<TArgs>): PropertyDecorator;
262
-
263
- // @public
264
- export type ModelPropertyOptions = Omit<AbstractControlOptions, keyof Pick<AbstractControlOptions, 'asyncValidators' | 'validators'>>;
265
-
266
- // @public
267
- function Number_2(): PropertyDecorator;
268
- export { Number_2 as Number }
269
-
270
- // @public
271
- export class NumberInputControlValueAccessor implements ControlValueAccessor {
272
- constructor(_renderer: Renderer2, _elementRef: ElementRef);
273
- // (undocumented)
274
- onChange: (_: any) => void;
275
- onTouched: () => void;
276
- registerOnChange(fn: (data: any) => any): void;
277
- registerOnTouched(fn: () => any): void;
278
- writeValue(value: any): void;
279
- // (undocumented)
280
- static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputControlValueAccessor, "input[number][formControlName],input[number][formControl],input[number][ngModel]", never, {}, {}, never>;
281
- // (undocumented)
282
- static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputControlValueAccessor, never>;
283
- }
284
-
285
- // @public
286
- export class NumberInputModule {
287
- // (undocumented)
288
- static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputModule, never>;
289
- // (undocumented)
290
- static ɵinj: i0.ɵɵInjectorDeclaration<NumberInputModule>;
291
- // Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point index.d.ts
292
- // Warning: (ae-forgotten-export) The symbol "i2" needs to be exported by the entry point index.d.ts
293
- // Warning: (ae-forgotten-export) The symbol "i3" needs to be exported by the entry point index.d.ts
294
- // Warning: (ae-forgotten-export) The symbol "i4" needs to be exported by the entry point index.d.ts
295
- //
296
- // (undocumented)
297
- static ɵmod: i0.ɵɵNgModuleDeclaration<NumberInputModule, [typeof i1.MaxValueNumberValidatorDirective, typeof i2.MinValueNumberValidatorDirective, typeof i3.NumberInputControlValueAccessor, typeof i4.NumberInputValidatorDirective], never, [typeof i1.MaxValueNumberValidatorDirective, typeof i2.MinValueNumberValidatorDirective, typeof i3.NumberInputControlValueAccessor, typeof i4.NumberInputValidatorDirective]>;
298
- }
299
-
300
- // @public
301
- export class NumberInputValidatorDirective implements Validator_2 {
302
- validate(control: AbstractControl): ValidationErrors | null;
303
- // (undocumented)
304
- static ɵdir: i0.ɵɵDirectiveDeclaration<NumberInputValidatorDirective, "input[number][formControlName],input[number][formControl],input[number][ngModel]", never, {}, {}, never>;
305
- // (undocumented)
306
- static ɵfac: i0.ɵɵFactoryDeclaration<NumberInputValidatorDirective, never>;
307
- }
308
-
309
- // @public
310
- export function Pattern(pattern: string | RegExp): PropertyDecorator;
311
-
312
- // @public
313
- export function prepareForFormBuilder(value: Dictionary<any>): Dictionary;
314
-
315
- // @public
316
- export function readEncodedFilter<TFilter>(defaultValue: TFilter, filterValue: string, reviver?: (this: any, key: string, value: any) => any): TFilter;
317
-
318
- // @public
319
- function Required_2(): PropertyDecorator;
320
- export { Required_2 as Required }
321
-
322
- // @public
323
- export class RequiredClassDirective implements AfterViewInit {
324
- constructor(_formControl: FormControlDirective, _formControlName: FormControlName, _changeDetector: ChangeDetectorRef);
325
- ngAfterViewInit(): void;
326
- required: boolean;
327
- // (undocumented)
328
- static ɵdir: i0.ɵɵDirectiveDeclaration<RequiredClassDirective, "[requiredClass]", never, {}, {}, never>;
329
- // (undocumented)
330
- static ɵfac: i0.ɵɵFactoryDeclaration<RequiredClassDirective, [{ optional: true; }, { optional: true; }, null]>;
331
- }
332
-
333
- // @public
334
- export class RequiredClassModule {
335
- // (undocumented)
336
- static ɵfac: i0.ɵɵFactoryDeclaration<RequiredClassModule, never>;
337
- // (undocumented)
338
- static ɵinj: i0.ɵɵInjectorDeclaration<RequiredClassModule>;
339
- // Warning: (ae-forgotten-export) The symbol "i1" needs to be exported by the entry point index.d.ts
340
- //
341
- // (undocumented)
342
- static ɵmod: i0.ɵɵNgModuleDeclaration<RequiredClassModule, [typeof i1_3.RequiredClassDirective], never, [typeof i1_3.RequiredClassDirective]>;
343
- }
344
-
345
- // @public
346
- export function RequiredIf<TArgs = any>(conditionProperty: keyof TArgs): PropertyDecorator;
347
-
348
- // @public
349
- export class SubmittedService {
350
- setSubmitted(submitted?: boolean): void;
351
- get submitted(): boolean;
352
- get submittedChange(): Observable<void>;
353
- // (undocumented)
354
- static ɵfac: i0.ɵɵFactoryDeclaration<SubmittedService, never>;
355
- // (undocumented)
356
- static ɵprov: i0.ɵɵInjectableDeclaration<SubmittedService>;
357
- }
358
-
359
- // @public
360
- export const VALIDATION_ERROR_MESSAGES: InjectionToken<StringDictionary>;
361
-
362
- // @public
363
- export const VALIDATION_ERROR_RENDERER_FACTORY_OPTIONS: InjectionToken<ValidationErrorRendererFactoryOptions>;
364
-
365
- // @public
366
- export interface ValidationErrorRenderer {
367
- destroy(): void;
368
- update(errorMessages?: StringDictionary, onlyShow?: boolean): boolean;
369
- wrapperElement: HTMLElement;
370
- }
371
-
372
- // @public
373
- export interface ValidationErrorRendererCtor {
374
- new (errorMessagesExtractor: ErrorMessagesExtractor, control: FormControl, controlElement: HTMLElement, document: Document, injector: Injector, isSubmittedOrDirty: IsSubmittedOrDirtyFunc, options: ValidationErrorsRendererOptions): ValidationErrorRenderer;
375
- }
376
-
377
- // @public
378
- export class ValidationErrorRendererFactory {
379
- constructor(_errorMessagesExtractor: ErrorMessagesExtractor, _document: Document, options: ValidationErrorRendererFactoryOptions);
380
- create(control: FormControl, controlElement: HTMLElement, injector: Injector, isSubmittedOrDirty: IsSubmittedOrDirtyFunc, options: ValidationErrorRendererFactoryOptions): ValidationErrorRenderer;
381
- // (undocumented)
382
- protected _document: Document;
383
- // (undocumented)
384
- protected _errorMessagesExtractor: ErrorMessagesExtractor;
385
- protected _options: ValidationErrorRendererFactoryOptions;
386
- // (undocumented)
387
- static ɵfac: i0.ɵɵFactoryDeclaration<ValidationErrorRendererFactory, [null, null, { optional: true; }]>;
388
- // (undocumented)
389
- static ɵprov: i0.ɵɵInjectableDeclaration<ValidationErrorRendererFactory>;
390
- }
391
-
392
- // @public
393
- export interface ValidationErrorRendererFactoryOptions extends ValidationErrorsRendererOptions {
394
- rendererType?: ValidationErrorRendererCtor;
395
- }
396
-
397
- // @public
398
- export interface ValidationErrorsComponent {
399
- show(errors: ValidationErrorsResult): void;
400
- }
401
-
402
- // @public
403
- export interface ValidationErrorsRendererOptions {
404
- component?: Type<ValidationErrorsComponent>;
405
- prefix?: string;
406
- suffix?: string;
407
- template?: TemplateRef<ValidationErrorsTemplateContext>;
408
- wrapperDivClass?: string;
409
- }
410
-
411
- // @public
412
- export interface ValidationErrorsResult {
413
- errorMessages: string[];
414
- errors: string[];
415
- }
416
-
417
- // @public
418
- export interface ValidationErrorsTemplateContext {
419
- $implicit: ValidationErrorsResult;
420
- }
421
-
422
- // @public
423
- export function Validator(validator: ValidatorFn | ValidatorFnFactory): PropertyDecorator;
424
-
425
- // @public
426
- export class ValidatorFnFactory<TArg extends Dictionary<any> = any> {
427
- constructor(_factoryFn?: ValidatorFnFactoryFn<TArg>);
428
- valueOf(): ValidatorFnFactoryFn<TArg>;
429
- }
430
-
431
- // @public
432
- export interface ValidatorFnFactoryFn<TArg extends Dictionary<any> = any> {
433
- (args: TArg): ValidatorFn;
434
- }
435
-
436
- // @public
437
- export class Validators {
438
- static max(max: number | null): ValidatorFn;
439
- static min(min: number | null): ValidatorFn;
440
- static number(control: AbstractControl): ValidationErrors | null;
441
- }
442
-
443
- // (No @packageDocumentation comment for this package)
444
-
445
- ```
@@ -1,6 +0,0 @@
1
- /**
2
- * Enables displaying of notification when HMR finished work
3
- */
4
- export declare function hmrFinishedNotification(): void;
5
-
6
- export { }
@@ -1,6 +0,0 @@
1
- /**
2
- * Enables displaying of notification when HMR finished work
3
- */
4
- export declare function hmrFinishedNotification(): void;
5
-
6
- export { }
package/hmr/package.json DELETED
@@ -1,9 +0,0 @@
1
- {
2
- "name": "@anglr/common-hmr",
3
- "sideEffects": false,
4
- "module": "../es2015/hmr/src/index.js",
5
- "es2015": "../es2015/hmr/src/index.js",
6
- "es2020": "../es2020/hmr/src/index.js",
7
- "esm2020": "../es2020/hmr/src/index.js",
8
- "typings": "./src/index.d.ts"
9
- }
@@ -1,6 +0,0 @@
1
- import '@jscrpt/common';
2
- /**
3
- * Enables displaying of notification when HMR finished work
4
- */
5
- export declare function hmrFinishedNotification(): void;
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAExB;;GAEG;AACH,wBAAgB,uBAAuB,IAAI,IAAI,CAuC9C"}
@@ -1,12 +0,0 @@
1
- ## API Report File for "@anglr/common-hmr"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- // @public
8
- export function hmrFinishedNotification(): void;
9
-
10
- // (No @packageDocumentation comment for this package)
11
-
12
- ```
@@ -1,53 +0,0 @@
1
- import { HotkeysService } from 'angular2-hotkeys';
2
- import * as i0 from '@angular/core';
3
-
4
- /**
5
- * Application hotkeys service
6
- */
7
- export declare class AppHotkeysService {
8
- private _hotkeySvc;
9
- /**
10
- * Old hotkeys from parent
11
- */
12
- private _oldHotkeys;
13
- /**
14
- * Hotkeys for current service
15
- */
16
- private _hotkeys;
17
- /**
18
- * Array of scoped instances of AppHotkeysService
19
- */
20
- private _scoped;
21
- /**
22
- * Instance of mousetrap that is attached to specific element
23
- */
24
- private _mousetrap;
25
- /**
26
- * Hotkeys service used for handling hotkeys
27
- */
28
- hotkeys: HotkeysService;
29
- constructor(_hotkeySvc: HotkeysService);
30
- /**
31
- * Creates scoped hotkeys for html element
32
- * @param element - Html element used as scope base for hotkeys
33
- * @param scopedInitialization - Method used for initialization scoped hotkeys, hotkeys can be initialized only inside this method
34
- */
35
- withScope(element: HTMLElement, scopedInitialization: (appHotkeysService: AppHotkeysService) => void): void;
36
- /**
37
- * Called when component is destroyed
38
- */
39
- ngOnDestroy(): void;
40
- /**
41
- * This method should be called in ngOnDestroy for each component which registered new hotkeys
42
- */
43
- destroy(): void;
44
- /**
45
- * Process added hotkeys, stores old ones
46
- * @param hotkey - Hotkey to be added
47
- */
48
- private _processAddedHotkeys;
49
- static ɵfac: i0.ɵɵFactoryDeclaration<AppHotkeysService, never>;
50
- static ɵprov: i0.ɵɵInjectableDeclaration<AppHotkeysService>;
51
- }
52
-
53
- export { }
@@ -1,53 +0,0 @@
1
- import { HotkeysService } from 'angular2-hotkeys';
2
- import * as i0 from '@angular/core';
3
-
4
- /**
5
- * Application hotkeys service
6
- */
7
- export declare class AppHotkeysService {
8
- private _hotkeySvc;
9
- /**
10
- * Old hotkeys from parent
11
- */
12
- private _oldHotkeys;
13
- /**
14
- * Hotkeys for current service
15
- */
16
- private _hotkeys;
17
- /**
18
- * Array of scoped instances of AppHotkeysService
19
- */
20
- private _scoped;
21
- /**
22
- * Instance of mousetrap that is attached to specific element
23
- */
24
- private _mousetrap;
25
- /**
26
- * Hotkeys service used for handling hotkeys
27
- */
28
- hotkeys: HotkeysService;
29
- constructor(_hotkeySvc: HotkeysService);
30
- /**
31
- * Creates scoped hotkeys for html element
32
- * @param element - Html element used as scope base for hotkeys
33
- * @param scopedInitialization - Method used for initialization scoped hotkeys, hotkeys can be initialized only inside this method
34
- */
35
- withScope(element: HTMLElement, scopedInitialization: (appHotkeysService: AppHotkeysService) => void): void;
36
- /**
37
- * Called when component is destroyed
38
- */
39
- ngOnDestroy(): void;
40
- /**
41
- * This method should be called in ngOnDestroy for each component which registered new hotkeys
42
- */
43
- destroy(): void;
44
- /**
45
- * Process added hotkeys, stores old ones
46
- * @param hotkey - Hotkey to be added
47
- */
48
- private _processAddedHotkeys;
49
- static ɵfac: i0.ɵɵFactoryDeclaration<AppHotkeysService, never>;
50
- static ɵprov: i0.ɵɵInjectableDeclaration<AppHotkeysService>;
51
- }
52
-
53
- export { }
@@ -1,25 +0,0 @@
1
- ## API Report File for "@anglr/common-hotkeys"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { HotkeysService } from 'angular2-hotkeys';
8
- import * as i0 from '@angular/core';
9
-
10
- // @public
11
- export class AppHotkeysService {
12
- constructor(_hotkeySvc: HotkeysService);
13
- destroy(): void;
14
- hotkeys: HotkeysService;
15
- ngOnDestroy(): void;
16
- withScope(element: HTMLElement, scopedInitialization: (appHotkeysService: AppHotkeysService) => void): void;
17
- // (undocumented)
18
- static ɵfac: i0.ɵɵFactoryDeclaration<AppHotkeysService, never>;
19
- // (undocumented)
20
- static ɵprov: i0.ɵɵInjectableDeclaration<AppHotkeysService>;
21
- }
22
-
23
- // (No @packageDocumentation comment for this package)
24
-
25
- ```