oasys-lib 2.10.0-rc.0 → 2.11.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.
@@ -1,10 +1,10 @@
1
- import { AfterContentChecked, ElementRef } from '@angular/core';
1
+ import { AfterContentChecked } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class OasysAlertCancelDirective implements AfterContentChecked {
4
- private elem;
5
4
  text: string;
6
- constructor(elem: ElementRef);
5
+ private elem?;
7
6
  ngAfterContentChecked(): void;
7
+ focus(): void;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<OasysAlertCancelDirective, never>;
9
9
  static ɵdir: i0.ɵɵDirectiveDeclaration<OasysAlertCancelDirective, "ui-alert-cancel, [ui-alert-cancel]", never, {}, {}, never, never, true, never>;
10
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"alert-cancel.directive.d.ts","sourceRoot":"","sources":["../../../../../projects/oasys-lib/src/lib/components/alert/alert-cancel.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAa,UAAU,EAAE,MAAM,eAAe,CAAC;;AAE3E,qBAIa,yBAA0B,YAAW,mBAAmB;IAGvD,OAAO,CAAC,IAAI;IAFjB,IAAI,SAAM;gBAEG,IAAI,EAAE,UAAU;IAE7B,qBAAqB,IAAI,IAAI;yCALzB,yBAAyB;2CAAzB,yBAAyB;CAQrC"}
1
+ {"version":3,"file":"alert-cancel.directive.d.ts","sourceRoot":"","sources":["../../../../../projects/oasys-lib/src/lib/components/alert/alert-cancel.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAiC,MAAM,eAAe,CAAC;;AAEnF,qBAIa,yBAA0B,YAAW,mBAAmB;IAC5D,IAAI,SAAM;IACjB,OAAO,CAAC,IAAI,CAAC,CAAsB;IAE5B,qBAAqB,IAAI,IAAI;IAI7B,KAAK,IAAI,IAAI;yCART,yBAAyB;2CAAzB,yBAAyB;CAmBrC"}
@@ -1,25 +1,35 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { AfterContentChecked, AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
2
2
  import { BreakpointService } from '../../services/breakpoint.service';
3
3
  import { OasysAlertCancelDirective } from './alert-cancel.directive';
4
4
  import { OasysAlertConfirmDirective } from './alert-confirm.directive';
5
5
  import { UIButtonSize } from '../button/button';
6
6
  import * as i0 from "@angular/core";
7
7
  export type UIAlertTone = 'positive' | 'neutral' | 'negative';
8
- export declare class OasysAlertComponent {
8
+ export declare class OasysAlertComponent implements AfterContentChecked, AfterViewInit {
9
9
  breakpointService: BreakpointService;
10
10
  direction: 'dynamic' | 'vertical' | 'horizontal';
11
11
  tone: UIAlertTone;
12
+ aria_live: 'polite' | 'assertive' | 'off';
12
13
  button_size: UIButtonSize;
13
14
  cancel: EventEmitter<void>;
14
15
  confirm: EventEmitter<void>;
15
- cancelButton: OasysAlertCancelDirective;
16
- confirmButton: OasysAlertConfirmDirective;
16
+ cancelButton?: OasysAlertCancelDirective;
17
+ confirmButton?: OasysAlertConfirmDirective;
18
+ cancelbuttoncontainer?: ElementRef<HTMLElement>;
19
+ alertHost?: ElementRef<HTMLElement>;
20
+ private wasVisible;
21
+ private hasFocusedOnCurrentVisibility;
22
+ private ariaLiveElement?;
17
23
  constructor(breakpointService: BreakpointService);
18
24
  get isVertical(): boolean;
19
25
  get buttonSize(): UIButtonSize;
20
26
  cancelled(): void;
21
27
  confirmed(): void;
28
+ ngAfterViewInit(): void;
29
+ ngAfterContentChecked(): void;
30
+ private checkVisibilityAndFocus;
31
+ private isComponentVisible;
22
32
  static ɵfac: i0.ɵɵFactoryDeclaration<OasysAlertComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<OasysAlertComponent, "ui-alert", never, { "direction": { "alias": "direction"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; "button_size": { "alias": "button_size"; "required": false; }; }, { "cancel": "cancel"; "confirm": "confirm"; }, ["cancelButton", "confirmButton"], ["ui-alert-title", "ui-alert-content", "ui-alert-cancel", "ui-alert-confirm"], true, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<OasysAlertComponent, "ui-alert", never, { "direction": { "alias": "direction"; "required": false; }; "tone": { "alias": "tone"; "required": false; }; "aria_live": { "alias": "aria_live"; "required": false; }; "button_size": { "alias": "button_size"; "required": false; }; }, { "cancel": "cancel"; "confirm": "confirm"; }, ["cancelButton", "confirmButton"], ["ui-alert-title", "ui-alert-content", "ui-alert-cancel", "ui-alert-confirm"], true, never>;
24
34
  }
25
35
  //# sourceMappingURL=alert.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"alert.component.d.ts","sourceRoot":"","sources":["../../../../../projects/oasys-lib/src/lib/components/alert/alert.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,YAAY,EAAiB,MAAM,eAAe,CAAC;AACrF,OAAO,EAAc,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;;AAOhD,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;AAE9D,qBAiBa,mBAAmB;IAqBX,iBAAiB,EAAE,iBAAiB;IAnBhD,SAAS,EAAE,SAAS,GAAG,UAAU,GAAG,YAAY,CAAa;IAG7D,IAAI,EAAE,WAAW,CAAa;IAE5B,WAAW,EAAE,YAAY,CAAW;IAGtC,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;IAGtD,OAAO,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;IAGvD,YAAY,EAAE,yBAAyB,CAAC;IAGxC,aAAa,EAAE,0BAA0B,CAAC;gBAE9B,iBAAiB,EAAE,iBAAiB;IAEvD,IAAI,UAAU,IAAI,OAAO,CASxB;IAED,IAAI,UAAU,IAAI,YAAY,CAI7B;IAEM,SAAS,IAAI,IAAI;IAIjB,SAAS,IAAI,IAAI;yCA5Cb,mBAAmB;2CAAnB,mBAAmB;CA+C/B"}
1
+ {"version":3,"file":"alert.component.d.ts","sourceRoot":"","sources":["../../../../../projects/oasys-lib/src/lib/components/alert/alert.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,aAAa,EAGb,UAAU,EACV,YAAY,EAIb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAc,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;;AAOhD,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;AAE9D,qBAiBa,mBAAoB,YAAW,mBAAmB,EAAE,aAAa;IAkCzD,iBAAiB,EAAE,iBAAiB;IAhChD,SAAS,EAAE,SAAS,GAAG,UAAU,GAAG,YAAY,CAAa;IAG7D,IAAI,EAAE,WAAW,CAAa;IAE5B,SAAS,EAAE,QAAQ,GAAG,WAAW,GAAG,KAAK,CAAY;IAErD,WAAW,EAAE,YAAY,CAAW;IAI5B,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;IAGhE,OAAO,EAAE,YAAY,CAAC,IAAI,CAAC,CAA4B;IAGvD,YAAY,CAAC,EAAE,yBAAyB,CAAC;IAGzC,aAAa,CAAC,EAAE,0BAA0B,CAAC;IAGlD,qBAAqB,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAGhD,SAAS,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAEpC,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,6BAA6B,CAAS;IAC9C,OAAO,CAAC,eAAe,CAAC,CAAc;gBAEnB,iBAAiB,EAAE,iBAAiB;IAEvD,IAAI,UAAU,IAAI,OAAO,CAUxB;IAED,IAAI,UAAU,IAAI,YAAY,CAI7B;IAEM,SAAS,IAAI,IAAI;IAIjB,SAAS,IAAI,IAAI;IAIxB,eAAe,IAAI,IAAI;IAKvB,qBAAqB,IAAI,IAAI;IAI7B,OAAO,CAAC,uBAAuB;IAgD/B,OAAO,CAAC,kBAAkB;yCAvHf,mBAAmB;2CAAnB,mBAAmB;CAwI/B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasys-lib",
3
- "version": "2.10.0-rc.0",
3
+ "version": "2.11.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "19.2.15",
6
6
  "@angular/core": "19.2.15",
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 03 Nov 2025 11:25:51 GMT
3
+ * Generated on Fri, 07 Nov 2025 15:45:53 GMT
4
4
  */
5
5
 
6
6
  :root .brand-tokens-bloomandwild {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 03 Nov 2025 11:25:51 GMT
3
+ * Generated on Fri, 07 Nov 2025 15:45:53 GMT
4
4
  */
5
5
 
6
6
  :root .brand-tokens-bloomon {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 03 Nov 2025 11:25:51 GMT
3
+ // Generated on Fri, 07 Nov 2025 15:45:53 GMT
4
4
 
5
5
  $oasys-size-web-breakpoint-mobile: 0px;
6
6
  $oasys-size-web-breakpoint-tablet: 767px;