@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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component, Input, ChangeDetectionStrategy, HostBinding } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "@angular/common";
|
|
4
|
+
const _c0 = function (a0) { return { "igo-cursor-pointer": a0 }; };
|
|
4
5
|
function PanelComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
5
6
|
i0.ɵɵelementStart(0, "div", 2)(1, "h3");
|
|
6
7
|
i0.ɵɵprojection(2, 1);
|
|
@@ -12,20 +13,16 @@ function PanelComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
12
13
|
i0.ɵɵelementEnd()();
|
|
13
14
|
} if (rf & 2) {
|
|
14
15
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
16
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0, ctx_r0.cursorPointer === true));
|
|
15
17
|
i0.ɵɵadvance(4);
|
|
16
18
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.title, " ");
|
|
17
19
|
} }
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
+
const _c1 = ["*", [["", "panelLeftButton", ""]], [["", "panelHeader", ""]], [["", "panelRightButton", ""]]];
|
|
21
|
+
const _c2 = ["*", "[panelLeftButton]", "[panelHeader]", "[panelRightButton]"];
|
|
20
22
|
export class PanelComponent {
|
|
21
23
|
constructor() {
|
|
22
24
|
this._withHeader = true;
|
|
23
|
-
|
|
24
|
-
get title() {
|
|
25
|
-
return this._title;
|
|
26
|
-
}
|
|
27
|
-
set title(value) {
|
|
28
|
-
this._title = value;
|
|
25
|
+
this.cursorPointer = false;
|
|
29
26
|
}
|
|
30
27
|
get withHeader() {
|
|
31
28
|
return this._withHeader;
|
|
@@ -37,18 +34,18 @@ export class PanelComponent {
|
|
|
37
34
|
PanelComponent.ɵfac = function PanelComponent_Factory(t) { return new (t || PanelComponent)(); };
|
|
38
35
|
PanelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PanelComponent, selectors: [["igo-panel"]], hostVars: 2, hostBindings: function PanelComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
39
36
|
i0.ɵɵclassProp("igo-panel-with-header", ctx.withHeader);
|
|
40
|
-
} }, inputs: { title: "title", withHeader: "withHeader" }, ngContentSelectors:
|
|
41
|
-
i0.ɵɵprojectionDef(
|
|
42
|
-
i0.ɵɵtemplate(0, PanelComponent_div_0_Template, 7,
|
|
37
|
+
} }, 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) {
|
|
38
|
+
i0.ɵɵprojectionDef(_c1);
|
|
39
|
+
i0.ɵɵtemplate(0, PanelComponent_div_0_Template, 7, 4, "div", 0);
|
|
43
40
|
i0.ɵɵelementStart(1, "div", 1);
|
|
44
41
|
i0.ɵɵprojection(2);
|
|
45
42
|
i0.ɵɵelementEnd();
|
|
46
43
|
} if (rf & 2) {
|
|
47
44
|
i0.ɵɵproperty("ngIf", ctx.withHeader);
|
|
48
|
-
} }, 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 });
|
|
45
|
+
} }, 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 });
|
|
49
46
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PanelComponent, [{
|
|
50
47
|
type: Component,
|
|
51
|
-
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"] }]
|
|
48
|
+
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"] }]
|
|
52
49
|
}], null, { title: [{
|
|
53
50
|
type: Input
|
|
54
51
|
}], withHeader: [{
|
|
@@ -56,5 +53,7 @@ PanelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PanelCompone
|
|
|
56
53
|
}, {
|
|
57
54
|
type: HostBinding,
|
|
58
55
|
args: ['class.igo-panel-with-header']
|
|
56
|
+
}], cursorPointer: [{
|
|
57
|
+
type: Input
|
|
59
58
|
}] }); })();
|
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFuZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9saWIvcGFuZWwvcGFuZWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvY29tbW9uL3NyYy9saWIvcGFuZWwvcGFuZWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCxLQUFLLEVBQ0wsdUJBQXVCLEVBQ3ZCLFdBQVcsRUFDWixNQUFNLGVBQWUsQ0FBQzs7Ozs7SUNMdkIsOEJBQW9JLFNBQUE7SUFFaEkscUJBQW9EO0lBQ3BELDhCQUE2QjtJQUMzQixZQUNBO0lBQUEscUJBQWdEO0lBQ2xELGlCQUFNO0lBQ04scUJBQXFEO0lBQ3ZELGlCQUFLLEVBQUE7OztJQVJrRSxtRkFBMEQ7SUFJN0gsZUFDQTtJQURBLDZDQUNBOzs7O0FEUU4sTUFBTSxPQUFPLGNBQWM7SUFOM0I7UUFpQlUsZ0JBQVcsR0FBRyxJQUFJLENBQUM7UUFFbEIsa0JBQWEsR0FBWSxLQUFLLENBQUM7S0FDekM7SUFYQyxJQUVJLFVBQVU7UUFDWixPQUFPLElBQUksQ0FBQyxXQUFXLENBQUM7SUFDMUIsQ0FBQztJQUNELElBQUksVUFBVSxDQUFDLEtBQWM7UUFDM0IsSUFBSSxDQUFDLFdBQVcsR0FBRyxLQUFLLENBQUM7SUFDM0IsQ0FBQzs7NEVBVlUsY0FBYztpRUFBZCxjQUFjOzs7O1FDYjNCLCtEQVNNO1FBQ04sOEJBQXdDO1FBQ3RDLGtCQUF5QjtRQUMzQixpQkFBTTs7UUFaQSxxQ0FBZ0I7O3VGRGFULGNBQWM7Y0FOMUIsU0FBUzsyQkFDRSxXQUFXLG1CQUdKLHVCQUF1QixDQUFDLE1BQU07Z0JBR3RDLEtBQUs7a0JBQWIsS0FBSztZQUlGLFVBQVU7a0JBRmIsS0FBSzs7a0JBQ0wsV0FBVzttQkFBQyw2QkFBNkI7WUFTakMsYUFBYTtrQkFBckIsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIENvbXBvbmVudCxcbiAgSW5wdXQsXG4gIENoYW5nZURldGVjdGlvblN0cmF0ZWd5LFxuICBIb3N0QmluZGluZ1xufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnaWdvLXBhbmVsJyxcbiAgdGVtcGxhdGVVcmw6ICcuL3BhbmVsLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vcGFuZWwuY29tcG9uZW50LnNjc3MnXSxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgUGFuZWxDb21wb25lbnQge1xuICBASW5wdXQoKSB0aXRsZTogc3RyaW5nO1xuXG4gIEBJbnB1dCgpXG4gIEBIb3N0QmluZGluZygnY2xhc3MuaWdvLXBhbmVsLXdpdGgtaGVhZGVyJylcbiAgZ2V0IHdpdGhIZWFkZXIoKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuX3dpdGhIZWFkZXI7XG4gIH1cbiAgc2V0IHdpdGhIZWFkZXIodmFsdWU6IGJvb2xlYW4pIHtcbiAgICB0aGlzLl93aXRoSGVhZGVyID0gdmFsdWU7XG4gIH1cbiAgcHJpdmF0ZSBfd2l0aEhlYWRlciA9IHRydWU7XG5cbiAgQElucHV0KCkgY3Vyc29yUG9pbnRlcjogYm9vbGVhbiA9IGZhbHNlO1xufVxuIiwiPGRpdiAqbmdJZj1cIndpdGhIZWFkZXJcIiBjbGFzcz1cImlnby1wYW5lbC1oZWFkZXIgbWF0LXR5cG9ncmFwaHlcIiB0aXRsZT1cIlwiIFtuZ0NsYXNzXT1cInsnaWdvLWN1cnNvci1wb2ludGVyJzogY3Vyc29yUG9pbnRlciA9PT0gdHJ1ZX1cIj5cbiAgPGgzPlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIltwYW5lbExlZnRCdXR0b25dXCI+PC9uZy1jb250ZW50PlxuICAgIDxkaXYgY2xhc3M9XCJpZ28tcGFuZWwtdGl0bGVcIj5cbiAgICAgIHt7IHRpdGxlIH19XG4gICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbcGFuZWxIZWFkZXJdXCI+PC9uZy1jb250ZW50PlxuICAgIDwvZGl2PlxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cIltwYW5lbFJpZ2h0QnV0dG9uXVwiPjwvbmctY29udGVudD5cbiAgPC9oMz5cbjwvZGl2PlxuPGRpdiBjbGFzcz1cImlnby1wYW5lbC1jb250ZW50XCIgdGl0bGU9XCJcIj5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuPC9kaXY+XG4iXX0=
|
package/fesm2015/igo2-common.mjs
CHANGED
|
@@ -5770,7 +5770,7 @@ IgoDynamicComponentModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ provider
|
|
|
5770
5770
|
|
|
5771
5771
|
const _c0$8 = ["flexibleMain"];
|
|
5772
5772
|
const _c1$5 = ["*", [["", "igoFlexibleFill", ""]]];
|
|
5773
|
-
const _c2$
|
|
5773
|
+
const _c2$2 = ["*", "[igoFlexibleFill]"];
|
|
5774
5774
|
class FlexibleComponent {
|
|
5775
5775
|
constructor(el, mediaService) {
|
|
5776
5776
|
this.el = el;
|
|
@@ -5881,7 +5881,7 @@ FlexibleComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FlexibleC
|
|
|
5881
5881
|
let _t;
|
|
5882
5882
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.main = _t.first);
|
|
5883
5883
|
}
|
|
5884
|
-
}, inputs: { initial: "initial", collapsed: "collapsed", expanded: "expanded", initialMobile: "initialMobile", collapsedMobile: "collapsedMobile", expandedMobile: "expandedMobile", direction: "direction", state: "state" }, ngContentSelectors: _c2$
|
|
5884
|
+
}, 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) {
|
|
5885
5885
|
if (rf & 1) {
|
|
5886
5886
|
i0.ɵɵprojectionDef(_c1$5);
|
|
5887
5887
|
i0.ɵɵelementStart(0, "div", null, 0)(2, "div", 1);
|
|
@@ -5986,7 +5986,7 @@ function getFormFieldByName(form, name) {
|
|
|
5986
5986
|
|
|
5987
5987
|
const _c0$7 = ["buttons"];
|
|
5988
5988
|
const _c1$4 = ["*", [["", "formButtons", ""]]];
|
|
5989
|
-
const _c2 = function (a0) { return { "igo-form-body-with-buttons": a0 }; };
|
|
5989
|
+
const _c2$1 = function (a0) { return { "igo-form-body-with-buttons": a0 }; };
|
|
5990
5990
|
const _c3 = ["*", "[formButtons]"];
|
|
5991
5991
|
/**
|
|
5992
5992
|
* A configurable form
|
|
@@ -6082,7 +6082,7 @@ FormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormComponent
|
|
|
6082
6082
|
if (rf & 2) {
|
|
6083
6083
|
i0.ɵɵproperty("autocomplete", ctx.autocomplete)("formGroup", ctx.form.control);
|
|
6084
6084
|
i0.ɵɵadvance(1);
|
|
6085
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c2, ctx.hasButtons));
|
|
6085
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c2$1, ctx.hasButtons));
|
|
6086
6086
|
}
|
|
6087
6087
|
}, 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 });
|
|
6088
6088
|
(function () {
|
|
@@ -8604,6 +8604,7 @@ IgoListModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModu
|
|
|
8604
8604
|
})();
|
|
8605
8605
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoListModule, { declarations: [ListItemDirective, ListComponent], imports: [CommonModule, MatIconModule, MatListModule, IgoClickoutModule], exports: [ListItemDirective, ListComponent] }); })();
|
|
8606
8606
|
|
|
8607
|
+
const _c0$3 = function (a0) { return { "igo-cursor-pointer": a0 }; };
|
|
8607
8608
|
function PanelComponent_div_0_Template(rf, ctx) {
|
|
8608
8609
|
if (rf & 1) {
|
|
8609
8610
|
i0.ɵɵelementStart(0, "div", 2)(1, "h3");
|
|
@@ -8617,21 +8618,17 @@ function PanelComponent_div_0_Template(rf, ctx) {
|
|
|
8617
8618
|
}
|
|
8618
8619
|
if (rf & 2) {
|
|
8619
8620
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
8621
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$3, ctx_r0.cursorPointer === true));
|
|
8620
8622
|
i0.ɵɵadvance(4);
|
|
8621
8623
|
i0.ɵɵtextInterpolate1(" ", ctx_r0.title, " ");
|
|
8622
8624
|
}
|
|
8623
8625
|
}
|
|
8624
|
-
const
|
|
8625
|
-
const
|
|
8626
|
+
const _c1$1 = ["*", [["", "panelLeftButton", ""]], [["", "panelHeader", ""]], [["", "panelRightButton", ""]]];
|
|
8627
|
+
const _c2 = ["*", "[panelLeftButton]", "[panelHeader]", "[panelRightButton]"];
|
|
8626
8628
|
class PanelComponent {
|
|
8627
8629
|
constructor() {
|
|
8628
8630
|
this._withHeader = true;
|
|
8629
|
-
|
|
8630
|
-
get title() {
|
|
8631
|
-
return this._title;
|
|
8632
|
-
}
|
|
8633
|
-
set title(value) {
|
|
8634
|
-
this._title = value;
|
|
8631
|
+
this.cursorPointer = false;
|
|
8635
8632
|
}
|
|
8636
8633
|
get withHeader() {
|
|
8637
8634
|
return this._withHeader;
|
|
@@ -8645,10 +8642,10 @@ PanelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PanelCompone
|
|
|
8645
8642
|
if (rf & 2) {
|
|
8646
8643
|
i0.ɵɵclassProp("igo-panel-with-header", ctx.withHeader);
|
|
8647
8644
|
}
|
|
8648
|
-
}, inputs: { title: "title", withHeader: "withHeader" }, ngContentSelectors:
|
|
8645
|
+
}, 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) {
|
|
8649
8646
|
if (rf & 1) {
|
|
8650
|
-
i0.ɵɵprojectionDef(
|
|
8651
|
-
i0.ɵɵtemplate(0, PanelComponent_div_0_Template, 7,
|
|
8647
|
+
i0.ɵɵprojectionDef(_c1$1);
|
|
8648
|
+
i0.ɵɵtemplate(0, PanelComponent_div_0_Template, 7, 4, "div", 0);
|
|
8652
8649
|
i0.ɵɵelementStart(1, "div", 1);
|
|
8653
8650
|
i0.ɵɵprojection(2);
|
|
8654
8651
|
i0.ɵɵelementEnd();
|
|
@@ -8656,11 +8653,11 @@ PanelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PanelCompone
|
|
|
8656
8653
|
if (rf & 2) {
|
|
8657
8654
|
i0.ɵɵproperty("ngIf", ctx.withHeader);
|
|
8658
8655
|
}
|
|
8659
|
-
}, 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 });
|
|
8656
|
+
}, 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 });
|
|
8660
8657
|
(function () {
|
|
8661
8658
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PanelComponent, [{
|
|
8662
8659
|
type: Component,
|
|
8663
|
-
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"] }]
|
|
8660
|
+
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"] }]
|
|
8664
8661
|
}], null, { title: [{
|
|
8665
8662
|
type: Input
|
|
8666
8663
|
}], withHeader: [{
|
|
@@ -8668,6 +8665,8 @@ PanelComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PanelCompone
|
|
|
8668
8665
|
}, {
|
|
8669
8666
|
type: HostBinding,
|
|
8670
8667
|
args: ['class.igo-panel-with-header']
|
|
8668
|
+
}], cursorPointer: [{
|
|
8669
|
+
type: Input
|
|
8671
8670
|
}] });
|
|
8672
8671
|
})();
|
|
8673
8672
|
|