@ascentgl/ads-ui 0.0.72 → 0.0.74

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.
@@ -15,8 +15,12 @@ export declare class AdsInputComponent extends AbstractInputComponent implements
15
15
  readonly: boolean;
16
16
  /** mark input field as readonly */
17
17
  isPasswordField: boolean;
18
+ /** @ignore */
19
+ showClockIcon: boolean;
18
20
  /** Add mask to the Input */
19
21
  mask: string;
22
+ /** Custom function to execute on blur event */
23
+ onBlur: (event: FocusEvent) => void;
20
24
  /** @ignore */
21
25
  input?: ElementRef;
22
26
  /** @ignore */
@@ -27,5 +31,5 @@ export declare class AdsInputComponent extends AbstractInputComponent implements
27
31
  /** @ignore */
28
32
  showHidePassword(): void;
29
33
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsInputComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsInputComponent, "ads-input", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "isPasswordField": { "alias": "isPasswordField"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; }, {}, never, never, false, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdsInputComponent, "ads-input", never, { "maxlength": { "alias": "maxlength"; "required": false; }; "type": { "alias": "type"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "isPasswordField": { "alias": "isPasswordField"; "required": false; }; "showClockIcon": { "alias": "showClockIcon"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "onBlur": { "alias": "onBlur"; "required": false; }; }, {}, never, never, false, never>;
31
35
  }
@@ -9,7 +9,11 @@ export declare class AdsPhoneFieldComponent extends AbstractInputComponent imple
9
9
  /** @ignore */
10
10
  ngOnInit(): void;
11
11
  /** @ignore */
12
- addPlusSignIfMissing(): void;
12
+ onBlur: () => void;
13
+ /** @ignore */
14
+ protected addPlusSignIfMissing: () => void;
15
+ /** @ignore */
16
+ protected validatePhoneNumber: () => void;
13
17
  /** @ignore */
14
18
  private updatePhoneMask;
15
19
  /** @ignore */
@@ -1,18 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./phone-field.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/material/form-field";
5
- import * as i4 from "@angular/material/input";
6
- import * as i5 from "@angular/forms";
7
- import * as i6 from "ngx-mask";
8
- import * as i7 from "@ascentgl/ads-icons";
9
- import * as i8 from "@angular/material/button";
10
- import * as i9 from "../common/error/error.component";
11
- import * as i10 from "../common/hint/hint.component";
12
- import * as i11 from "../common/success/success.component";
13
- import * as i12 from "../common/input.tooltip.component";
4
+ import * as i3 from "ngx-mask";
5
+ import * as i4 from "../input/input.module";
14
6
  export declare class AdsPhoneFieldModule {
15
7
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsPhoneFieldModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdsPhoneFieldModule, [typeof i1.AdsPhoneFieldComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.ReactiveFormsModule, typeof i6.NgxMaskDirective, typeof i5.FormsModule, typeof i7.AdsIconModule, typeof i8.MatIconButton, typeof i9.AdsErrorComponent, typeof i10.AdsHintComponent, typeof i11.AdsSuccessComponent, typeof i12.AdsInputTooltipComponent], [typeof i1.AdsPhoneFieldComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdsPhoneFieldModule, [typeof i1.AdsPhoneFieldComponent], [typeof i2.CommonModule, typeof i3.NgxMaskDirective, typeof i4.AdsInputModule], [typeof i1.AdsPhoneFieldComponent]>;
17
9
  static ɵinj: i0.ɵɵInjectorDeclaration<AdsPhoneFieldModule>;
18
10
  }
@@ -5,6 +5,8 @@ import * as i0 from "@angular/core";
5
5
  export declare class AdsTimeFieldComponent extends AdsInputDropdownComponent implements OnInit, OnDestroy {
6
6
  /** Enable military time, is "true" by default */
7
7
  militaryTime: import("@angular/core").InputSignal<boolean>;
8
+ /** Hide clock icon for military time */
9
+ hideClockIcon: import("@angular/core").InputSignal<boolean>;
8
10
  /** @ignore */
9
11
  periodControl: FormControl<string | null>;
10
12
  /** @ignore */
@@ -30,5 +32,5 @@ export declare class AdsTimeFieldComponent extends AdsInputDropdownComponent imp
30
32
  /** @ignore */
31
33
  ngOnDestroy(): void;
32
34
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsTimeFieldComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<AdsTimeFieldComponent, "ads-time-field", never, { "militaryTime": { "alias": "militaryTime"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdsTimeFieldComponent, "ads-time-field", never, { "militaryTime": { "alias": "militaryTime"; "required": false; "isSignal": true; }; "hideClockIcon": { "alias": "hideClockIcon"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
34
36
  }
@@ -2,19 +2,13 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./time-field.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../dropdowns/input-dropdown/input-dropdown.module";
5
- import * as i4 from "../common/error/error.component";
6
- import * as i5 from "../common/hint/hint.component";
7
- import * as i6 from "../common/success/success.component";
8
- import * as i7 from "@ascentgl/ads-icons";
9
- import * as i8 from "../common/input.tooltip.component";
10
- import * as i9 from "@angular/material/form-field";
11
- import * as i10 from "@angular/material/button";
12
- import * as i11 from "@angular/material/input";
13
- import * as i12 from "ngx-mask";
14
- import * as i13 from "@angular/forms";
15
- import * as i14 from "../input/input.module";
5
+ import * as i4 from "@ascentgl/ads-icons";
6
+ import * as i5 from "@angular/material/button";
7
+ import * as i6 from "ngx-mask";
8
+ import * as i7 from "@angular/forms";
9
+ import * as i8 from "../input/input.module";
16
10
  export declare class AdsTimeFieldModule {
17
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AdsTimeFieldModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdsTimeFieldModule, [typeof i1.AdsTimeFieldComponent], [typeof i2.CommonModule, typeof i3.AdsInputDropdownModule, typeof i4.AdsErrorComponent, typeof i5.AdsHintComponent, typeof i6.AdsSuccessComponent, typeof i7.AdsIconModule, typeof i8.AdsInputTooltipComponent, typeof i9.MatFormField, typeof i10.MatIconButton, typeof i11.MatInput, typeof i9.MatLabel, typeof i9.MatSuffix, typeof i12.NgxMaskDirective, typeof i13.ReactiveFormsModule, typeof i14.AdsInputModule], [typeof i1.AdsTimeFieldComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdsTimeFieldModule, [typeof i1.AdsTimeFieldComponent], [typeof i2.CommonModule, typeof i3.AdsInputDropdownModule, typeof i4.AdsIconModule, typeof i5.MatIconButton, typeof i6.NgxMaskDirective, typeof i7.ReactiveFormsModule, typeof i8.AdsInputModule], [typeof i1.AdsTimeFieldComponent]>;
19
13
  static ɵinj: i0.ɵɵInjectorDeclaration<AdsTimeFieldModule>;
20
14
  }
@@ -5,6 +5,7 @@ import { GENERIC_COLLECTION } from '@ascentgl/ads-utils';
5
5
  import { Variant } from '../buttons/button';
6
6
  import * as i0 from "@angular/core";
7
7
  export type AdsModalData = {
8
+ id?: string;
8
9
  title?: string;
9
10
  content: string;
10
11
  hideCancelButton?: boolean;
@@ -46,6 +47,8 @@ export declare class AdsModalComponent implements AfterViewInit {
46
47
  constructor(dialogRef: MatDialogRef<AdsModalComponent>, registry: AdsIconRegistry, renderer: Renderer2, elRef: ElementRef, data: AdsModalData);
47
48
  /** @ignore */
48
49
  ngAfterViewInit(): void;
50
+ /** @ignore */
51
+ get id(): string;
49
52
  onCancel(): void;
50
53
  onSubmit(): void;
51
54
  onDelete(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ascentgl/ads-ui",
3
- "version": "0.0.72",
3
+ "version": "0.0.74",
4
4
  "peerDependencies": {
5
5
  "@ascentgl/ads-icons": ">=0.0.0",
6
6
  "@ascentgl/ads-utils": ">=0.0.0",
@@ -76,14 +76,14 @@
76
76
  "types": "./src/lib/components/progress-indicators/progress-bar/index.d.ts",
77
77
  "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs"
78
78
  },
79
- "./src/lib/components/progress-indicators/progress-spinner": {
80
- "types": "./src/lib/components/progress-indicators/progress-spinner/index.d.ts",
81
- "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs"
82
- },
83
79
  "./src/lib/components/progress-indicators/progress-indicator-spinner": {
84
80
  "types": "./src/lib/components/progress-indicators/progress-indicator-spinner/index.d.ts",
85
81
  "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs"
86
82
  },
83
+ "./src/lib/components/progress-indicators/progress-spinner": {
84
+ "types": "./src/lib/components/progress-indicators/progress-spinner/index.d.ts",
85
+ "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs"
86
+ },
87
87
  "./src/lib/components/tags/tag-container": {
88
88
  "types": "./src/lib/components/tags/tag-container/index.d.ts",
89
89
  "default": "./fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs"