@softheon/armature 15.16.2 → 15.17.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.
@@ -0,0 +1,27 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * The letters and special characters directive
5
+ */
6
+ export declare class LettersCharactersDirective {
7
+ private el;
8
+ /** True if letters and special characters allowed */
9
+ sofArLettersAndSpecialCharacters: boolean;
10
+ /**
11
+ * Constructs the directive
12
+ * @param el The element
13
+ */
14
+ constructor(el: ElementRef);
15
+ /**
16
+ * Only allows letter and special character inputs
17
+ * @param event Key Event
18
+ */
19
+ onKeyDown(event: any): void;
20
+ /**
21
+ * Allow user to copy and paste letters except special characters
22
+ * @param event the event
23
+ */
24
+ allowPaste(event: ClipboardEvent): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<LettersCharactersDirective, never>;
26
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LettersCharactersDirective, "[sofArLettersAndSpecialCharacters]", never, { "sofArLettersAndSpecialCharacters": "sofArLettersAndSpecialCharacters"; }, {}, never, never, false, never>;
27
+ }
@@ -4,6 +4,7 @@ export * from './models/address';
4
4
  export * from './models/county';
5
5
  export * from './models/enums/states';
6
6
  export * from './models/constants';
7
+ export * from './directives/letters-characters/letters-characters.directive';
7
8
  export * from './directives/letters-only/letters-only.directive';
8
9
  export * from './directives/numbers-only/numbers-only.directive';
9
10
  export * from './directives/alphanumeric/alphanumeric.directive';
@@ -1,20 +1,21 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./components/sof-address/sof-address.component";
3
- import * as i2 from "./directives/numbers-only/numbers-only.directive";
3
+ import * as i2 from "./directives/letters-characters/letters-characters.directive";
4
4
  import * as i3 from "./directives/letters-only/letters-only.directive";
5
- import * as i4 from "./directives/alphanumeric/alphanumeric.directive";
6
- import * as i5 from "./directives/input-trim/input-trim.directive";
7
- import * as i6 from "./pipes/phone-format.pipe";
8
- import * as i7 from "@angular/common";
9
- import * as i8 from "@angular/flex-layout";
10
- import * as i9 from "@angular/forms";
11
- import * as i10 from "@angular/material/input";
12
- import * as i11 from "@angular/material/form-field";
13
- import * as i12 from "@angular/material/select";
14
- import * as i13 from "@angular/material/snack-bar";
5
+ import * as i4 from "./directives/numbers-only/numbers-only.directive";
6
+ import * as i5 from "./directives/alphanumeric/alphanumeric.directive";
7
+ import * as i6 from "./directives/input-trim/input-trim.directive";
8
+ import * as i7 from "./pipes/phone-format.pipe";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "@angular/flex-layout";
11
+ import * as i10 from "@angular/forms";
12
+ import * as i11 from "@angular/material/input";
13
+ import * as i12 from "@angular/material/form-field";
14
+ import * as i13 from "@angular/material/select";
15
+ import * as i14 from "@angular/material/snack-bar";
15
16
  /** Armature forms module */
16
17
  export declare class FormsModule {
17
18
  static ɵfac: i0.ɵɵFactoryDeclaration<FormsModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormsModule, [typeof i1.SofAddressComponent, typeof i2.NumbersOnlyDirective, typeof i3.LettersOnlyDirective, typeof i4.AlphaNumericDirective, typeof i5.InputTrimDirective, typeof i6.PhoneFormatPipe], [typeof i7.CommonModule, typeof i8.FlexLayoutModule, typeof i9.ReactiveFormsModule, typeof i10.MatInputModule, typeof i11.MatFormFieldModule, typeof i12.MatSelectModule, typeof i13.MatSnackBarModule], [typeof i1.SofAddressComponent, typeof i2.NumbersOnlyDirective, typeof i3.LettersOnlyDirective, typeof i4.AlphaNumericDirective, typeof i5.InputTrimDirective, typeof i6.PhoneFormatPipe]>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormsModule, [typeof i1.SofAddressComponent, typeof i2.LettersCharactersDirective, typeof i3.LettersOnlyDirective, typeof i4.NumbersOnlyDirective, typeof i5.AlphaNumericDirective, typeof i6.InputTrimDirective, typeof i7.PhoneFormatPipe], [typeof i8.CommonModule, typeof i9.FlexLayoutModule, typeof i10.ReactiveFormsModule, typeof i11.MatInputModule, typeof i12.MatFormFieldModule, typeof i13.MatSelectModule, typeof i14.MatSnackBarModule], [typeof i1.SofAddressComponent, typeof i2.LettersCharactersDirective, typeof i3.LettersOnlyDirective, typeof i4.NumbersOnlyDirective, typeof i5.AlphaNumericDirective, typeof i6.InputTrimDirective, typeof i7.PhoneFormatPipe]>;
19
20
  static ɵinj: i0.ɵɵInjectorDeclaration<FormsModule>;
20
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softheon/armature",
3
- "version": "15.16.2",
3
+ "version": "15.17.1",
4
4
  "dependencies": {
5
5
  "tslib": "^2.5.0"
6
6
  },