@igo2/common 1.13.4 → 1.14.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.
@@ -5416,7 +5416,7 @@ IgoDynamicComponentModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ provider
5416
5416
 
5417
5417
  const _c0$8 = ["flexibleMain"];
5418
5418
  const _c1$5 = ["*", [["", "igoFlexibleFill", ""]]];
5419
- const _c2$1 = ["*", "[igoFlexibleFill]"];
5419
+ const _c2$2 = ["*", "[igoFlexibleFill]"];
5420
5420
  class FlexibleComponent {
5421
5421
  constructor(el, mediaService) {
5422
5422
  this.el = el;
@@ -5524,7 +5524,7 @@ FlexibleComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FlexibleC
5524
5524
  } if (rf & 2) {
5525
5525
  let _t;
5526
5526
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.main = _t.first);
5527
- } }, inputs: { initial: "initial", collapsed: "collapsed", expanded: "expanded", initialMobile: "initialMobile", collapsedMobile: "collapsedMobile", expandedMobile: "expandedMobile", direction: "direction", state: "state" }, ngContentSelectors: _c2$1, decls: 8, vars: 4, consts: [["flexibleMain", ""], [1, "igo-container"], [1, "igo-flexible-fill"]], template: function FlexibleComponent_Template(rf, ctx) { if (rf & 1) {
5527
+ } }, inputs: { initial: "initial", collapsed: "collapsed", expanded: "expanded", initialMobile: "initialMobile", collapsedMobile: "collapsedMobile", expandedMobile: "expandedMobile", direction: "direction", state: "state" }, ngContentSelectors: _c2$2, decls: 8, vars: 4, consts: [["flexibleMain", ""], [1, "igo-container"], [1, "igo-flexible-fill"]], template: function FlexibleComponent_Template(rf, ctx) { if (rf & 1) {
5528
5528
  i0.ɵɵprojectionDef(_c1$5);
5529
5529
  i0.ɵɵelementStart(0, "div", null, 0)(2, "div", 1);
5530
5530
  i0.ɵɵprojection(3);
@@ -5622,7 +5622,7 @@ function getFormFieldByName(form, name) {
5622
5622
 
5623
5623
  const _c0$7 = ["buttons"];
5624
5624
  const _c1$4 = ["*", [["", "formButtons", ""]]];
5625
- const _c2 = function (a0) { return { "igo-form-body-with-buttons": a0 }; };
5625
+ const _c2$1 = function (a0) { return { "igo-form-body-with-buttons": a0 }; };
5626
5626
  const _c3 = ["*", "[formButtons]"];
5627
5627
  /**
5628
5628
  * A configurable form
@@ -5713,7 +5713,7 @@ FormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormComponent
5713
5713
  } if (rf & 2) {
5714
5714
  i0.ɵɵproperty("autocomplete", ctx.autocomplete)("formGroup", ctx.form.control);
5715
5715
  i0.ɵɵadvance(1);
5716
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c2, ctx.hasButtons));
5716
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c2$1, ctx.hasButtons));
5717
5717
  } }, dependencies: [i1.NgClass, i1$4.ɵNgNoValidate, i1$4.NgControlStatusGroup, i1$4.FormGroupDirective], styles: ["[_nghost-%COMP%]{display:block}form[_ngcontent-%COMP%]{width:100%;height:100%}.igo-form-body[_ngcontent-%COMP%], .igo-form-content[_ngcontent-%COMP%]{height:100%}.igo-form-body-with-buttons[_ngcontent-%COMP%] .igo-form-content[_ngcontent-%COMP%]{height:calc(100% - 56px)}.igo-form-content[_ngcontent-%COMP%]{display:flex}"], changeDetection: 0 });
5718
5718
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormComponent, [{
5719
5719
  type: Component,
@@ -8057,6 +8057,7 @@ IgoListModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModu
8057
8057
  }], null, null); })();
8058
8058
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoListModule, { declarations: [ListItemDirective, ListComponent], imports: [CommonModule, MatIconModule, MatListModule, IgoClickoutModule], exports: [ListItemDirective, ListComponent] }); })();
8059
8059
 
8060
+ const _c0$3 = function (a0) { return { "igo-cursor-pointer": a0 }; };
8060
8061
  function PanelComponent_div_0_Template(rf, ctx) { if (rf & 1) {
8061
8062
  i0.ɵɵelementStart(0, "div", 2)(1, "h3");
8062
8063
  i0.ɵɵprojection(2, 1);
@@ -8068,20 +8069,16 @@ function PanelComponent_div_0_Template(rf, ctx) { if (rf & 1) {
8068
8069
  i0.ɵɵelementEnd()();
8069
8070
  } if (rf & 2) {
8070
8071
  const ctx_r0 = i0.ɵɵnextContext();
8072
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$3, ctx_r0.cursorPointer === true));
8071
8073
  i0.ɵɵadvance(4);
8072
8074
  i0.ɵɵtextInterpolate1(" ", ctx_r0.title, " ");
8073
8075
  } }
8074
- const _c0$3 = ["*", [["", "panelLeftButton", ""]], [["", "panelHeader", ""]], [["", "panelRightButton", ""]]];
8075
- const _c1$1 = ["*", "[panelLeftButton]", "[panelHeader]", "[panelRightButton]"];
8076
+ const _c1$1 = ["*", [["", "panelLeftButton", ""]], [["", "panelHeader", ""]], [["", "panelRightButton", ""]]];
8077
+ const _c2 = ["*", "[panelLeftButton]", "[panelHeader]", "[panelRightButton]"];
8076
8078
  class PanelComponent {
8077
8079
  constructor() {
8078
8080
  this._withHeader = true;
8079
- }
8080
- get title() {
8081
- return this._title;
8082
- }
8083
- set title(value) {
8084
- this._title = value;
8081
+ this.cursorPointer = false;
8085
8082
  }
8086
8083
  get withHeader() {
8087
8084
  return this._withHeader;
@@ -8093,18 +8090,18 @@ class PanelComponent {
8093
8090
  PanelComponent.ɵfac = function PanelComponent_Factory(t) { return new (t || PanelComponent)(); };
8094
8091
  PanelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PanelComponent, selectors: [["igo-panel"]], hostVars: 2, hostBindings: function PanelComponent_HostBindings(rf, ctx) { if (rf & 2) {
8095
8092
  i0.ɵɵclassProp("igo-panel-with-header", ctx.withHeader);
8096
- } }, inputs: { title: "title", withHeader: "withHeader" }, ngContentSelectors: _c1$1, decls: 3, vars: 1, consts: [["class", "igo-panel-header mat-typography", "title", "", 4, "ngIf"], ["title", "", 1, "igo-panel-content"], ["title", "", 1, "igo-panel-header", "mat-typography"], [1, "igo-panel-title"]], template: function PanelComponent_Template(rf, ctx) { if (rf & 1) {
8097
- i0.ɵɵprojectionDef(_c0$3);
8098
- i0.ɵɵtemplate(0, PanelComponent_div_0_Template, 7, 1, "div", 0);
8093
+ } }, inputs: { title: "title", withHeader: "withHeader", cursorPointer: "cursorPointer" }, ngContentSelectors: _c2, decls: 3, vars: 1, consts: [["class", "igo-panel-header mat-typography", "title", "", 3, "ngClass", 4, "ngIf"], ["title", "", 1, "igo-panel-content"], ["title", "", 1, "igo-panel-header", "mat-typography", 3, "ngClass"], [1, "igo-panel-title"]], template: function PanelComponent_Template(rf, ctx) { if (rf & 1) {
8094
+ i0.ɵɵprojectionDef(_c1$1);
8095
+ i0.ɵɵtemplate(0, PanelComponent_div_0_Template, 7, 4, "div", 0);
8099
8096
  i0.ɵɵelementStart(1, "div", 1);
8100
8097
  i0.ɵɵprojection(2);
8101
8098
  i0.ɵɵelementEnd();
8102
8099
  } if (rf & 2) {
8103
8100
  i0.ɵɵproperty("ngIf", ctx.withHeader);
8104
- } }, dependencies: [i1.NgIf], styles: ["[_nghost-%COMP%]{display:block}.igo-panel-header[_ngcontent-%COMP%]{height:46px;padding:3px;text-align:center}.igo-panel-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;height:40px}.igo-panel-header[_ngcontent-%COMP%] [panelleftbutton]{float:left;margin-right:-40px}.igo-panel-header[_ngcontent-%COMP%] [panelrightbutton]{float:right}.igo-panel-content[_ngcontent-%COMP%]{overflow:auto}.igo-panel-with-header[_nghost-%COMP%] .igo-panel-content[_ngcontent-%COMP%]{height:calc(100% - 46px)}[_nghost-%COMP%]:not(.igo-panel-with-header) .igo-panel-content[_ngcontent-%COMP%]{height:100%}.igo-panel-title[_ngcontent-%COMP%]{display:block;width:calc(100% - 80px);margin-left:40px;height:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:40px;float:left;font-weight:700;font-size:1.17em}"], changeDetection: 0 });
8101
+ } }, dependencies: [i1.NgClass, i1.NgIf], styles: ["[_nghost-%COMP%]{display:block}.igo-panel-header[_ngcontent-%COMP%]{height:46px;padding:3px;text-align:center}.igo-panel-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0;height:40px}.igo-panel-header[_ngcontent-%COMP%] [panelleftbutton]{float:left;margin-right:-40px}.igo-panel-header[_ngcontent-%COMP%] [panelrightbutton]{float:right}.igo-panel-content[_ngcontent-%COMP%]{overflow:auto}.igo-cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.igo-panel-with-header[_nghost-%COMP%] .igo-panel-content[_ngcontent-%COMP%]{height:calc(100% - 46px)}[_nghost-%COMP%]:not(.igo-panel-with-header) .igo-panel-content[_ngcontent-%COMP%]{height:100%}.igo-panel-title[_ngcontent-%COMP%]{display:block;width:calc(100% - 80px);margin-left:40px;height:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:40px;float:left;font-weight:700;font-size:1.17em}"], changeDetection: 0 });
8105
8102
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PanelComponent, [{
8106
8103
  type: Component,
8107
- args: [{ selector: 'igo-panel', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"withHeader\" class=\"igo-panel-header mat-typography\" title=\"\">\n <h3>\n <ng-content select=\"[panelLeftButton]\"></ng-content>\n <div class=\"igo-panel-title\">\n {{ title }}\n <ng-content select=\"[panelHeader]\"></ng-content>\n </div>\n <ng-content select=\"[panelRightButton]\"></ng-content>\n </h3>\n</div>\n<div class=\"igo-panel-content\" title=\"\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}.igo-panel-header{height:46px;padding:3px;text-align:center}.igo-panel-header h3{margin:0;height:40px}.igo-panel-header ::ng-deep [panelleftbutton]{float:left;margin-right:-40px}.igo-panel-header ::ng-deep [panelrightbutton]{float:right}.igo-panel-content{overflow:auto}:host.igo-panel-with-header .igo-panel-content{height:calc(100% - 46px)}:host:not(.igo-panel-with-header) .igo-panel-content{height:100%}.igo-panel-title{display:block;width:calc(100% - 80px);margin-left:40px;height:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:40px;float:left;font-weight:700;font-size:1.17em}\n"] }]
8104
+ args: [{ selector: 'igo-panel', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"withHeader\" class=\"igo-panel-header mat-typography\" title=\"\" [ngClass]=\"{'igo-cursor-pointer': cursorPointer === true}\">\n <h3>\n <ng-content select=\"[panelLeftButton]\"></ng-content>\n <div class=\"igo-panel-title\">\n {{ title }}\n <ng-content select=\"[panelHeader]\"></ng-content>\n </div>\n <ng-content select=\"[panelRightButton]\"></ng-content>\n </h3>\n</div>\n<div class=\"igo-panel-content\" title=\"\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{display:block}.igo-panel-header{height:46px;padding:3px;text-align:center}.igo-panel-header h3{margin:0;height:40px}.igo-panel-header ::ng-deep [panelleftbutton]{float:left;margin-right:-40px}.igo-panel-header ::ng-deep [panelrightbutton]{float:right}.igo-panel-content{overflow:auto}.igo-cursor-pointer{cursor:pointer}:host.igo-panel-with-header .igo-panel-content{height:calc(100% - 46px)}:host:not(.igo-panel-with-header) .igo-panel-content{height:100%}.igo-panel-title{display:block;width:calc(100% - 80px);margin-left:40px;height:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;line-height:40px;float:left;font-weight:700;font-size:1.17em}\n"] }]
8108
8105
  }], null, { title: [{
8109
8106
  type: Input
8110
8107
  }], withHeader: [{
@@ -8112,6 +8109,8 @@ PanelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PanelCompone
8112
8109
  }, {
8113
8110
  type: HostBinding,
8114
8111
  args: ['class.igo-panel-with-header']
8112
+ }], cursorPointer: [{
8113
+ type: Input
8115
8114
  }] }); })();
8116
8115
 
8117
8116
  class IgoPanelModule {