@quadrel-enterprise-ui/framework 21.12.13 → 21.12.14
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.
|
@@ -35503,7 +35503,7 @@ class QdPanelSectionStatusComponent {
|
|
|
35503
35503
|
this.statusIcon = STATUS_ICONS[this._state];
|
|
35504
35504
|
}
|
|
35505
35505
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPanelSectionStatusComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35506
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdPanelSectionStatusComponent, isStandalone: false, selector: "qd-panel-section-status", inputs: { config: "config" }, host: { properties: { "
|
|
35506
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdPanelSectionStatusComponent, isStandalone: false, selector: "qd-panel-section-status", inputs: { config: "config" }, host: { properties: { "class": "this.getStatusClass" } }, usesOnChanges: true, ngImport: i0, template: "<qd-icon [icon]=\"statusIcon\"></qd-icon>\n<h3>{{ config.title.i18n | translate }}</h3>\n", styles: [":host{display:flex;width:100%;min-height:4.625rem;align-items:center;padding:1rem;border:rgb(213,213,213) .0625rem solid;border-radius:.3125rem;margin-bottom:1rem;color:#fff;gap:1rem}:host:last-child{margin-bottom:0rem}:host qd-icon{font-size:2rem}:host h3{margin:0!important;font-size:1.5rem;letter-spacing:.009375rem}:host.positive{background-color:#00813a}:host.warning{background-color:#ff9b00}:host.critical{background-color:#c70023}:host.info{background-color:#069}:host.neutral{background-color:#757575}:host.inactive{background-color:#b4b4b4}\n"], dependencies: [{ kind: "component", type: QdIconComponent, selector: "qd-icon", inputs: ["icon", "status"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] });
|
|
35507
35507
|
}
|
|
35508
35508
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPanelSectionStatusComponent, decorators: [{
|
|
35509
35509
|
type: Component,
|
|
@@ -35513,7 +35513,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
35513
35513
|
args: [{ required: true }]
|
|
35514
35514
|
}], getStatusClass: [{
|
|
35515
35515
|
type: HostBinding,
|
|
35516
|
-
args: ['
|
|
35516
|
+
args: ['class']
|
|
35517
35517
|
}] } });
|
|
35518
35518
|
|
|
35519
35519
|
class QdPanelSectionActionsComponent {
|
|
@@ -35642,11 +35642,11 @@ class QdPanelSectionComponent {
|
|
|
35642
35642
|
});
|
|
35643
35643
|
}
|
|
35644
35644
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPanelSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35645
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: QdPanelSectionComponent, isStandalone: false, selector: "qd-panel-section", inputs: { config: "config" }, outputs: { actionOutput: "actionOutput" }, providers: [QdPanelSectionActionService], queries: [{ propertyName: "statusList", predicate: QdPanelSectionStatusComponent }, { propertyName: "statusPairsList", predicate: QdStatusPairsComponent }, { propertyName: "tableList", predicate: QdTableComponent }, { propertyName: "paragraphList", predicate: QdPanelSectionTextParagraphComponent }], ngImport: i0, template: "<section>\n @if (config.title?.i18n || hasActions()) {\n <div class=\"toolbar\">\n @if (config.title?.i18n; as titleKey) {\n <div class=\"title\">\n {{ titleKey | translate }}\n </div>\n } @if (hasActions()) {\n <qd-panel-section-actions [config]=\"config\"></qd-panel-section-actions>\n }\n </div>\n }\n\n <div [ngClass]=\"{ content: true, empty: !hasContent() }\">\n <ng-content select=\"qd-panel-section-status\"></ng-content>\n <ng-content select=\"qd-status-pairs\"></ng-content>\n <ng-content select=\"qd-table\"></ng-content>\n <ng-content select=\"qd-panel-section-text-paragraph\"></ng-content>\n </div>\n</section>\n", styles: ["qd-panel-section{display:block;color:#171717;font-size:.875rem;font-weight:300;line-height:1.375rem}qd-panel-section+qd-panel-section{border-top:.0625rem solid rgb(213,213,213)}qd-panel-section section{display:flex;flex-wrap:wrap}qd-panel-section .toolbar{display:flex;width:100%}qd-panel-section .title,qd-panel-section .content{padding:1rem 1rem 0}qd-panel-section .title{flex-grow:99;font-weight:500}qd-panel-section .content{width:100%;margin-bottom:.75rem}qd-panel-section .content.empty{padding:0;margin:0}qd-panel-section
|
|
35645
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: QdPanelSectionComponent, isStandalone: false, selector: "qd-panel-section", inputs: { config: "config" }, outputs: { actionOutput: "actionOutput" }, providers: [QdPanelSectionActionService], queries: [{ propertyName: "statusList", predicate: QdPanelSectionStatusComponent }, { propertyName: "statusPairsList", predicate: QdStatusPairsComponent }, { propertyName: "tableList", predicate: QdTableComponent }, { propertyName: "paragraphList", predicate: QdPanelSectionTextParagraphComponent }], ngImport: i0, template: "<section>\n @if (config.title?.i18n || hasActions()) {\n <div class=\"toolbar\">\n @if (config.title?.i18n; as titleKey) {\n <div class=\"title\">\n {{ titleKey | translate }}\n </div>\n } @if (hasActions()) {\n <qd-panel-section-actions [config]=\"config\"></qd-panel-section-actions>\n }\n </div>\n }\n\n <div [ngClass]=\"{ content: true, empty: !hasContent() }\">\n <ng-content select=\"qd-panel-section-status\"></ng-content>\n <ng-content select=\"qd-status-pairs\"></ng-content>\n <ng-content select=\"qd-table\"></ng-content>\n <ng-content select=\"qd-panel-section-text-paragraph\"></ng-content>\n </div>\n</section>\n", styles: ["qd-panel-section{display:block;color:#171717;font-size:.875rem;font-weight:300;line-height:1.375rem}qd-panel-section+qd-panel-section{border-top:.0625rem solid rgb(213,213,213)}qd-panel-section section{display:flex;flex-wrap:wrap}qd-panel-section .toolbar{display:flex;width:100%}qd-panel-section .title,qd-panel-section .content{padding:1rem 1rem 0}qd-panel-section .title{flex-grow:99;font-weight:500}qd-panel-section .content{width:100%;margin-bottom:.75rem}qd-panel-section .content.empty{padding:0;margin:0}qd-panel-section qd-panel-section-actions{padding-top:.5rem;padding-right:1rem;margin-left:auto}qd-panel-section qd-panel-section-actions .content{padding-bottom:1rem;margin-bottom:0}qd-panel-section qd-panel-section-text-paragraph+qd-panel-section-text-paragraph{padding-top:1.5rem}qd-panel-section qd-status-pairs{display:flex;flex-wrap:wrap;column-gap:1rem}qd-panel-section qd-status-pairs qd-status-pairs-item{flex:1 1 0;margin-right:0!important;margin-bottom:.75rem!important}qd-panel-section qd-status-pairs+qd-panel-section-text-paragraph{margin-top:.5rem}qd-panel-section qd-table+qd-panel-section-text-paragraph{margin-top:1rem}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: QdPanelSectionActionsComponent, selector: "qd-panel-section-actions", inputs: ["config"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], encapsulation: i0.ViewEncapsulation.None });
|
|
35646
35646
|
}
|
|
35647
35647
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPanelSectionComponent, decorators: [{
|
|
35648
35648
|
type: Component,
|
|
35649
|
-
args: [{ selector: 'qd-panel-section', providers: [QdPanelSectionActionService], encapsulation: ViewEncapsulation.None, standalone: false, template: "<section>\n @if (config.title?.i18n || hasActions()) {\n <div class=\"toolbar\">\n @if (config.title?.i18n; as titleKey) {\n <div class=\"title\">\n {{ titleKey | translate }}\n </div>\n } @if (hasActions()) {\n <qd-panel-section-actions [config]=\"config\"></qd-panel-section-actions>\n }\n </div>\n }\n\n <div [ngClass]=\"{ content: true, empty: !hasContent() }\">\n <ng-content select=\"qd-panel-section-status\"></ng-content>\n <ng-content select=\"qd-status-pairs\"></ng-content>\n <ng-content select=\"qd-table\"></ng-content>\n <ng-content select=\"qd-panel-section-text-paragraph\"></ng-content>\n </div>\n</section>\n", styles: ["qd-panel-section{display:block;color:#171717;font-size:.875rem;font-weight:300;line-height:1.375rem}qd-panel-section+qd-panel-section{border-top:.0625rem solid rgb(213,213,213)}qd-panel-section section{display:flex;flex-wrap:wrap}qd-panel-section .toolbar{display:flex;width:100%}qd-panel-section .title,qd-panel-section .content{padding:1rem 1rem 0}qd-panel-section .title{flex-grow:99;font-weight:500}qd-panel-section .content{width:100%;margin-bottom:.75rem}qd-panel-section .content.empty{padding:0;margin:0}qd-panel-section
|
|
35649
|
+
args: [{ selector: 'qd-panel-section', providers: [QdPanelSectionActionService], encapsulation: ViewEncapsulation.None, standalone: false, template: "<section>\n @if (config.title?.i18n || hasActions()) {\n <div class=\"toolbar\">\n @if (config.title?.i18n; as titleKey) {\n <div class=\"title\">\n {{ titleKey | translate }}\n </div>\n } @if (hasActions()) {\n <qd-panel-section-actions [config]=\"config\"></qd-panel-section-actions>\n }\n </div>\n }\n\n <div [ngClass]=\"{ content: true, empty: !hasContent() }\">\n <ng-content select=\"qd-panel-section-status\"></ng-content>\n <ng-content select=\"qd-status-pairs\"></ng-content>\n <ng-content select=\"qd-table\"></ng-content>\n <ng-content select=\"qd-panel-section-text-paragraph\"></ng-content>\n </div>\n</section>\n", styles: ["qd-panel-section{display:block;color:#171717;font-size:.875rem;font-weight:300;line-height:1.375rem}qd-panel-section+qd-panel-section{border-top:.0625rem solid rgb(213,213,213)}qd-panel-section section{display:flex;flex-wrap:wrap}qd-panel-section .toolbar{display:flex;width:100%}qd-panel-section .title,qd-panel-section .content{padding:1rem 1rem 0}qd-panel-section .title{flex-grow:99;font-weight:500}qd-panel-section .content{width:100%;margin-bottom:.75rem}qd-panel-section .content.empty{padding:0;margin:0}qd-panel-section qd-panel-section-actions{padding-top:.5rem;padding-right:1rem;margin-left:auto}qd-panel-section qd-panel-section-actions .content{padding-bottom:1rem;margin-bottom:0}qd-panel-section qd-panel-section-text-paragraph+qd-panel-section-text-paragraph{padding-top:1.5rem}qd-panel-section qd-status-pairs{display:flex;flex-wrap:wrap;column-gap:1rem}qd-panel-section qd-status-pairs qd-status-pairs-item{flex:1 1 0;margin-right:0!important;margin-bottom:.75rem!important}qd-panel-section qd-status-pairs+qd-panel-section-text-paragraph{margin-top:.5rem}qd-panel-section qd-table+qd-panel-section-text-paragraph{margin-top:1rem}\n"] }]
|
|
35650
35650
|
}], propDecorators: { config: [{
|
|
35651
35651
|
type: Input
|
|
35652
35652
|
}], actionOutput: [{
|