@breadstone/mosaik-elements-angular 0.0.27 → 0.0.28

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.
@@ -14,11 +14,12 @@ export declare class FlipToDirective {
14
14
  * @public
15
15
  */
16
16
  to?: FlipComponent['side'];
17
+ disabled?: FlipComponent['side'];
17
18
  /**
18
19
  * @protected
19
20
  */
20
21
  protected onClick(_event: MouseEvent): void;
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<FlipToDirective, never>;
22
- static ɵdir: i0.ɵɵDirectiveDeclaration<FlipToDirective, "[mosaik-flip-to]", never, { "to": { "alias": "mosaik-flip-to"; "required": true; }; }, {}, never, never, true, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FlipToDirective, "[mosaik-flip-to]", never, { "to": { "alias": "mosaik-flip-to"; "required": true; }; "disabled": { "alias": "mosaik-flip-to-disabled"; "required": false; }; }, {}, never, never, true, never>;
23
24
  }
24
25
  //# sourceMappingURL=FlipToDirective.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FlipToDirective.d.ts","sourceRoot":"","sources":["../../../../../src/Cdk/Controls/Primitives/Directives/FlipToDirective.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,+DAA+D,CAAC;;AAI9F,qBAGa,eAAe;IAIxB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IAMtC;;;;OAIG;;IASH;;;;OAIG;IAKI,EAAE,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAMlC;;OAEG;IAEH,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI;yCA1ClC,eAAe;2CAAf,eAAe;CAoD3B"}
1
+ {"version":3,"file":"FlipToDirective.d.ts","sourceRoot":"","sources":["../../../../../src/Cdk/Controls/Primitives/Directives/FlipToDirective.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,+DAA+D,CAAC;;AAI9F,qBAGa,eAAe;IAIxB,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAgB;IAMtC;;;;OAIG;;IASH;;;;OAIG;IAKI,EAAE,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAK3B,QAAQ,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAMxC;;OAEG;IAEH,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI;yCA/ClC,eAAe;2CAAf,eAAe;CA6D3B"}
@@ -52645,19 +52645,23 @@ class FlipToDirective {
52645
52645
  * @public
52646
52646
  */
52647
52647
  to;
52648
+ disabled;
52648
52649
  // #endregion
52649
52650
  // #region Methods
52650
52651
  /**
52651
52652
  * @protected
52652
52653
  */
52653
52654
  onClick(_event) {
52655
+ if (this.disabled !== undefined) {
52656
+ return;
52657
+ }
52654
52658
  if (this.to === undefined) {
52655
52659
  return;
52656
52660
  }
52657
52661
  this._flip.side = this.to;
52658
52662
  }
52659
52663
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: FlipToDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
52660
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: FlipToDirective, isStandalone: true, selector: "[mosaik-flip-to]", inputs: { to: ["mosaik-flip-to", "to"] }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
52664
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: FlipToDirective, isStandalone: true, selector: "[mosaik-flip-to]", inputs: { to: ["mosaik-flip-to", "to"], disabled: ["mosaik-flip-to-disabled", "disabled"] }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0 });
52661
52665
  }
52662
52666
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: FlipToDirective, decorators: [{
52663
52667
  type: Directive,
@@ -52670,6 +52674,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
52670
52674
  alias: 'mosaik-flip-to',
52671
52675
  required: true
52672
52676
  }]
52677
+ }], disabled: [{
52678
+ type: Input,
52679
+ args: [{
52680
+ alias: 'mosaik-flip-to-disabled',
52681
+ required: false
52682
+ }]
52673
52683
  }], onClick: [{
52674
52684
  type: HostListener,
52675
52685
  args: ['click', ['$event']]