@quadrel-enterprise-ui/framework 21.12.7 → 21.12.8
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.
|
@@ -18754,7 +18754,7 @@ class QdGridAutoFillService {
|
|
|
18754
18754
|
for (const columnElement of lastInRowColumnElements) {
|
|
18755
18755
|
const colspan = this.getColumnComputedStyleColspan(columnElement);
|
|
18756
18756
|
if (!colspan)
|
|
18757
|
-
|
|
18757
|
+
continue;
|
|
18758
18758
|
const parentElement = columnElement.parentElement;
|
|
18759
18759
|
let gridSize, leftEdge;
|
|
18760
18760
|
if (this.isSubgridComponent(parentElement)) {
|
|
@@ -20405,78 +20405,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
20405
20405
|
}]
|
|
20406
20406
|
}] });
|
|
20407
20407
|
|
|
20408
|
-
/**
|
|
20409
|
-
* **QdPercentageProgressBar** creates a ProgressBar with a continuous animation.
|
|
20410
|
-
*/
|
|
20411
|
-
class QdIndeterminateProgressBarComponent {
|
|
20412
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdIndeterminateProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20413
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdIndeterminateProgressBarComponent, isStandalone: false, selector: "qd-indeterminate-progress-bar", host: { classAttribute: "qd-progress-line" }, ngImport: i0, template: '', isInline: true, styles: [".qd-progress-line,.qd-progress-line:before{width:100%;height:.1875rem;margin:0}.qd-progress-line{display:flex;background-color:#d5d5d5}.qd-progress-line:before{animation:running-progress 2s cubic-bezier(.4,0,.2,1) infinite;background-color:#069;content:\"\"}@keyframes running-progress{0%{margin-right:100%;margin-left:0}50%{margin-right:0;margin-left:25%}to{margin-right:0;margin-left:100%}}\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
20414
|
-
}
|
|
20415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdIndeterminateProgressBarComponent, decorators: [{
|
|
20416
|
-
type: Component,
|
|
20417
|
-
args: [{ selector: 'qd-indeterminate-progress-bar', template: '', encapsulation: ViewEncapsulation.None, host: { class: 'qd-progress-line' }, standalone: false, styles: [".qd-progress-line,.qd-progress-line:before{width:100%;height:.1875rem;margin:0}.qd-progress-line{display:flex;background-color:#d5d5d5}.qd-progress-line:before{animation:running-progress 2s cubic-bezier(.4,0,.2,1) infinite;background-color:#069;content:\"\"}@keyframes running-progress{0%{margin-right:100%;margin-left:0}50%{margin-right:0;margin-left:25%}to{margin-right:0;margin-left:100%}}\n"] }]
|
|
20418
|
-
}] });
|
|
20419
|
-
|
|
20420
|
-
// @ts-strict-ignore
|
|
20421
|
-
/**
|
|
20422
|
-
* **QdPercentageProgressBar** creates a ProgressBar with percentages.
|
|
20423
|
-
*/
|
|
20424
|
-
class QdPercentageProgressBarComponent {
|
|
20425
|
-
elementRef = inject(ElementRef);
|
|
20426
|
-
/**
|
|
20427
|
-
* The percentage for the progress bar. If not specified, the value is set to `0`.
|
|
20428
|
-
*/
|
|
20429
|
-
percentage;
|
|
20430
|
-
/**
|
|
20431
|
-
* A static test ID for integration tests can be set. <br />
|
|
20432
|
-
* The value for the HTML attribute [data-test-id].
|
|
20433
|
-
*/
|
|
20434
|
-
testId = 'percentage-progress-bar';
|
|
20435
|
-
get dataTestId() {
|
|
20436
|
-
return this.testId;
|
|
20437
|
-
}
|
|
20438
|
-
ngOnChanges(changes) {
|
|
20439
|
-
if (changes['percentage'] && !changes['percentage'].firstChange)
|
|
20440
|
-
this.setProgress();
|
|
20441
|
-
}
|
|
20442
|
-
ngAfterViewInit() {
|
|
20443
|
-
this.setProgress();
|
|
20444
|
-
}
|
|
20445
|
-
setProgress() {
|
|
20446
|
-
this.elementRef.nativeElement
|
|
20447
|
-
.querySelector('.qd-percentage-progress-bar-progress')
|
|
20448
|
-
.setAttribute('style', `width: ${this.percentage ? this.percentage : 0}%`);
|
|
20449
|
-
}
|
|
20450
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPercentageProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20451
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdPercentageProgressBarComponent, isStandalone: false, selector: "qd-percentage-progress-bar", inputs: { percentage: "percentage", testId: ["data-test-id", "testId"] }, host: { properties: { "attr.data-test-id": "this.dataTestId" } }, usesOnChanges: true, ngImport: i0, template: "<span [class]=\"'qd-percentage-progress-container'\">\n <span [class]=\"'qd-percentage-progress-bar-container'\">\n <span [class]=\"'qd-percentage-progress-bar-progress'\"> </span>\n </span>\n\n <span [class]=\"'qd-percentage-progress-value'\"> {{ percentage ? percentage : 0 }}% </span>\n</span>\n", styles: [":host .qd-percentage-progress-container{position:relative;display:flex;align-items:center}:host .qd-percentage-progress-bar-container,:host .qd-percentage-progress-bar-progress{display:block;height:1rem}:host .qd-percentage-progress-bar-container{width:100%;min-width:6.25rem;background:#6ebee6}:host .qd-percentage-progress-bar-progress{max-width:100%;background:#069}:host .qd-percentage-progress-value{position:absolute;display:flex;width:100%;min-width:6.25rem;justify-content:center;margin:0 auto;color:#fff;font-size:.8125rem;font-weight:500}\n"] });
|
|
20452
|
-
}
|
|
20453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPercentageProgressBarComponent, decorators: [{
|
|
20454
|
-
type: Component,
|
|
20455
|
-
args: [{ selector: 'qd-percentage-progress-bar', standalone: false, template: "<span [class]=\"'qd-percentage-progress-container'\">\n <span [class]=\"'qd-percentage-progress-bar-container'\">\n <span [class]=\"'qd-percentage-progress-bar-progress'\"> </span>\n </span>\n\n <span [class]=\"'qd-percentage-progress-value'\"> {{ percentage ? percentage : 0 }}% </span>\n</span>\n", styles: [":host .qd-percentage-progress-container{position:relative;display:flex;align-items:center}:host .qd-percentage-progress-bar-container,:host .qd-percentage-progress-bar-progress{display:block;height:1rem}:host .qd-percentage-progress-bar-container{width:100%;min-width:6.25rem;background:#6ebee6}:host .qd-percentage-progress-bar-progress{max-width:100%;background:#069}:host .qd-percentage-progress-value{position:absolute;display:flex;width:100%;min-width:6.25rem;justify-content:center;margin:0 auto;color:#fff;font-size:.8125rem;font-weight:500}\n"] }]
|
|
20456
|
-
}], propDecorators: { percentage: [{
|
|
20457
|
-
type: Input
|
|
20458
|
-
}], testId: [{
|
|
20459
|
-
type: Input,
|
|
20460
|
-
args: ['data-test-id']
|
|
20461
|
-
}], dataTestId: [{
|
|
20462
|
-
type: HostBinding,
|
|
20463
|
-
args: ['attr.data-test-id']
|
|
20464
|
-
}] } });
|
|
20465
|
-
|
|
20466
|
-
class QdProgressBarModule {
|
|
20467
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20468
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.17", ngImport: i0, type: QdProgressBarModule, declarations: [QdIndeterminateProgressBarComponent, QdPercentageProgressBarComponent], imports: [CommonModule], exports: [QdIndeterminateProgressBarComponent, QdPercentageProgressBarComponent] });
|
|
20469
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdProgressBarModule, imports: [CommonModule] });
|
|
20470
|
-
}
|
|
20471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdProgressBarModule, decorators: [{
|
|
20472
|
-
type: NgModule,
|
|
20473
|
-
args: [{
|
|
20474
|
-
imports: [CommonModule],
|
|
20475
|
-
declarations: [QdIndeterminateProgressBarComponent, QdPercentageProgressBarComponent],
|
|
20476
|
-
exports: [QdIndeterminateProgressBarComponent, QdPercentageProgressBarComponent]
|
|
20477
|
-
}]
|
|
20478
|
-
}] });
|
|
20479
|
-
|
|
20480
20408
|
const QD_FILE_MANAGER_TOKEN = new InjectionToken('QD_FILE_MANAGER_TOKEN');
|
|
20481
20409
|
|
|
20482
20410
|
var QdUploadErrorType;
|
|
@@ -20811,11 +20739,11 @@ class QdFileCollectorDialogItemErrorComponent {
|
|
|
20811
20739
|
return this.fileCollectorService.config;
|
|
20812
20740
|
}
|
|
20813
20741
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdFileCollectorDialogItemErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
20814
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: QdFileCollectorDialogItemErrorComponent, isStandalone: false, selector: "qd-file-collector-dialog-item-error", inputs: { error: "error", testId: ["data-test-id", "testId"] }, host: { properties: { "attr.data-test-id": "this.hostTestId" } }, ngImport: i0, template: "@if (error.message) {\n<span>{{ error.message }}</span>\n} @else { @switch (error.type) { @case (QdUploadErrorType.INVALID_MIME_TYPE) {\n<span>{{ invalidMimeTypeErrorMessageI18n || \"i18n.qd.fileCollector.invalid.fileType\" | translate }}</span>\n} @case (QdUploadErrorType.INVALID_FILE_SIZE) {\n<span>{{\n \"i18n.qd.fileCollector.invalid.fileSize\"\n | translate\n | placeholder : \"maxFileSize\" : (maxFileSizeInBytes | filesize | async)\n}}</span>\n} @case (QdUploadErrorType.INVALID_FILE_NAME) {\n<span>{{ invalidFileNameErrorMessageI18n || \"i18n.qd.fileCollector.invalid.fileName\" | translate }}</span>\n} @case (QdUploadErrorType.UNKNOWN_ERROR) {\n<span>{{ \"i18n.qd.fileCollector.invalid.unknown\" | translate }}</span>\n} } }\n", styles: [":host{display:flex;width:100%;align-items:center}:host span{color:#c70023}\n"], dependencies: [{ kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "pipe", type: QdPlaceholderPipe, name: "placeholder" }, { kind: "pipe", type: QdFileSizePipe, name: "filesize" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
20742
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: QdFileCollectorDialogItemErrorComponent, isStandalone: false, selector: "qd-file-collector-dialog-item-error", inputs: { error: "error", testId: ["data-test-id", "testId"] }, host: { properties: { "attr.data-test-id": "this.hostTestId" } }, ngImport: i0, template: "@if (error.message) {\n<span>{{ error.message }}</span>\n} @else { @switch (error.type) { @case (QdUploadErrorType.INVALID_MIME_TYPE) {\n<span>{{ invalidMimeTypeErrorMessageI18n || \"i18n.qd.fileCollector.invalid.fileType\" | translate }}</span>\n} @case (QdUploadErrorType.INVALID_FILE_SIZE) {\n<span>{{\n \"i18n.qd.fileCollector.invalid.fileSize\"\n | translate\n | placeholder : \"maxFileSize\" : (maxFileSizeInBytes | filesize | async)\n}}</span>\n} @case (QdUploadErrorType.INVALID_FILE_NAME) {\n<span>{{ invalidFileNameErrorMessageI18n || \"i18n.qd.fileCollector.invalid.fileName\" | translate }}</span>\n} @case (QdUploadErrorType.UNKNOWN_SERVER_ERROR) {\n<span>{{ \"i18n.qd.fileCollector.invalid.unknown\" | translate }}</span>\n} @case (QdUploadErrorType.UNKNOWN_ERROR) {\n<span>{{ \"i18n.qd.fileCollector.invalid.unknown\" | translate }}</span>\n} } }\n", styles: [":host{display:flex;width:100%;align-items:center}:host span{color:#c70023}\n"], dependencies: [{ kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "pipe", type: QdPlaceholderPipe, name: "placeholder" }, { kind: "pipe", type: QdFileSizePipe, name: "filesize" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
20815
20743
|
}
|
|
20816
20744
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdFileCollectorDialogItemErrorComponent, decorators: [{
|
|
20817
20745
|
type: Component,
|
|
20818
|
-
args: [{ selector: 'qd-file-collector-dialog-item-error', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "@if (error.message) {\n<span>{{ error.message }}</span>\n} @else { @switch (error.type) { @case (QdUploadErrorType.INVALID_MIME_TYPE) {\n<span>{{ invalidMimeTypeErrorMessageI18n || \"i18n.qd.fileCollector.invalid.fileType\" | translate }}</span>\n} @case (QdUploadErrorType.INVALID_FILE_SIZE) {\n<span>{{\n \"i18n.qd.fileCollector.invalid.fileSize\"\n | translate\n | placeholder : \"maxFileSize\" : (maxFileSizeInBytes | filesize | async)\n}}</span>\n} @case (QdUploadErrorType.INVALID_FILE_NAME) {\n<span>{{ invalidFileNameErrorMessageI18n || \"i18n.qd.fileCollector.invalid.fileName\" | translate }}</span>\n} @case (QdUploadErrorType.UNKNOWN_ERROR) {\n<span>{{ \"i18n.qd.fileCollector.invalid.unknown\" | translate }}</span>\n} } }\n", styles: [":host{display:flex;width:100%;align-items:center}:host span{color:#c70023}\n"] }]
|
|
20746
|
+
args: [{ selector: 'qd-file-collector-dialog-item-error', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "@if (error.message) {\n<span>{{ error.message }}</span>\n} @else { @switch (error.type) { @case (QdUploadErrorType.INVALID_MIME_TYPE) {\n<span>{{ invalidMimeTypeErrorMessageI18n || \"i18n.qd.fileCollector.invalid.fileType\" | translate }}</span>\n} @case (QdUploadErrorType.INVALID_FILE_SIZE) {\n<span>{{\n \"i18n.qd.fileCollector.invalid.fileSize\"\n | translate\n | placeholder : \"maxFileSize\" : (maxFileSizeInBytes | filesize | async)\n}}</span>\n} @case (QdUploadErrorType.INVALID_FILE_NAME) {\n<span>{{ invalidFileNameErrorMessageI18n || \"i18n.qd.fileCollector.invalid.fileName\" | translate }}</span>\n} @case (QdUploadErrorType.UNKNOWN_SERVER_ERROR) {\n<span>{{ \"i18n.qd.fileCollector.invalid.unknown\" | translate }}</span>\n} @case (QdUploadErrorType.UNKNOWN_ERROR) {\n<span>{{ \"i18n.qd.fileCollector.invalid.unknown\" | translate }}</span>\n} } }\n", styles: [":host{display:flex;width:100%;align-items:center}:host span{color:#c70023}\n"] }]
|
|
20819
20747
|
}], propDecorators: { error: [{
|
|
20820
20748
|
type: Input
|
|
20821
20749
|
}], testId: [{
|
|
@@ -21716,23 +21644,17 @@ class QdFileCollectorModule {
|
|
|
21716
21644
|
ReactiveFormsModule,
|
|
21717
21645
|
TranslateModule,
|
|
21718
21646
|
QdButtonModule,
|
|
21719
|
-
QdChipModule,
|
|
21720
21647
|
QdDialogModule,
|
|
21721
|
-
QdButtonModule,
|
|
21722
21648
|
QdCoreModule,
|
|
21723
|
-
QdIconModule,
|
|
21724
|
-
QdProgressBarModule], exports: [QdFileCollectorComponent] });
|
|
21649
|
+
QdIconModule], exports: [QdFileCollectorComponent] });
|
|
21725
21650
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdFileCollectorModule, imports: [CommonModule,
|
|
21726
21651
|
QdFormModule,
|
|
21727
21652
|
ReactiveFormsModule,
|
|
21728
21653
|
TranslateModule,
|
|
21729
21654
|
QdButtonModule,
|
|
21730
|
-
QdChipModule,
|
|
21731
21655
|
QdDialogModule,
|
|
21732
|
-
QdButtonModule,
|
|
21733
21656
|
QdCoreModule,
|
|
21734
|
-
QdIconModule
|
|
21735
|
-
QdProgressBarModule] });
|
|
21657
|
+
QdIconModule] });
|
|
21736
21658
|
}
|
|
21737
21659
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdFileCollectorModule, decorators: [{
|
|
21738
21660
|
type: NgModule,
|
|
@@ -21743,12 +21665,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
21743
21665
|
ReactiveFormsModule,
|
|
21744
21666
|
TranslateModule,
|
|
21745
21667
|
QdButtonModule,
|
|
21746
|
-
QdChipModule,
|
|
21747
21668
|
QdDialogModule,
|
|
21748
|
-
QdButtonModule,
|
|
21749
21669
|
QdCoreModule,
|
|
21750
|
-
QdIconModule
|
|
21751
|
-
QdProgressBarModule
|
|
21670
|
+
QdIconModule
|
|
21752
21671
|
],
|
|
21753
21672
|
declarations: [
|
|
21754
21673
|
QdFileCollectorComponent,
|
|
@@ -25438,6 +25357,78 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
25438
25357
|
}]
|
|
25439
25358
|
}] });
|
|
25440
25359
|
|
|
25360
|
+
/**
|
|
25361
|
+
* **QdPercentageProgressBar** creates a ProgressBar with a continuous animation.
|
|
25362
|
+
*/
|
|
25363
|
+
class QdIndeterminateProgressBarComponent {
|
|
25364
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdIndeterminateProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25365
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdIndeterminateProgressBarComponent, isStandalone: false, selector: "qd-indeterminate-progress-bar", host: { classAttribute: "qd-progress-line" }, ngImport: i0, template: '', isInline: true, styles: [".qd-progress-line,.qd-progress-line:before{width:100%;height:.1875rem;margin:0}.qd-progress-line{display:flex;background-color:#d5d5d5}.qd-progress-line:before{animation:running-progress 2s cubic-bezier(.4,0,.2,1) infinite;background-color:#069;content:\"\"}@keyframes running-progress{0%{margin-right:100%;margin-left:0}50%{margin-right:0;margin-left:25%}to{margin-right:0;margin-left:100%}}\n"], encapsulation: i0.ViewEncapsulation.None });
|
|
25366
|
+
}
|
|
25367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdIndeterminateProgressBarComponent, decorators: [{
|
|
25368
|
+
type: Component,
|
|
25369
|
+
args: [{ selector: 'qd-indeterminate-progress-bar', template: '', encapsulation: ViewEncapsulation.None, host: { class: 'qd-progress-line' }, standalone: false, styles: [".qd-progress-line,.qd-progress-line:before{width:100%;height:.1875rem;margin:0}.qd-progress-line{display:flex;background-color:#d5d5d5}.qd-progress-line:before{animation:running-progress 2s cubic-bezier(.4,0,.2,1) infinite;background-color:#069;content:\"\"}@keyframes running-progress{0%{margin-right:100%;margin-left:0}50%{margin-right:0;margin-left:25%}to{margin-right:0;margin-left:100%}}\n"] }]
|
|
25370
|
+
}] });
|
|
25371
|
+
|
|
25372
|
+
// @ts-strict-ignore
|
|
25373
|
+
/**
|
|
25374
|
+
* **QdPercentageProgressBar** creates a ProgressBar with percentages.
|
|
25375
|
+
*/
|
|
25376
|
+
class QdPercentageProgressBarComponent {
|
|
25377
|
+
elementRef = inject(ElementRef);
|
|
25378
|
+
/**
|
|
25379
|
+
* The percentage for the progress bar. If not specified, the value is set to `0`.
|
|
25380
|
+
*/
|
|
25381
|
+
percentage;
|
|
25382
|
+
/**
|
|
25383
|
+
* A static test ID for integration tests can be set. <br />
|
|
25384
|
+
* The value for the HTML attribute [data-test-id].
|
|
25385
|
+
*/
|
|
25386
|
+
testId = 'percentage-progress-bar';
|
|
25387
|
+
get dataTestId() {
|
|
25388
|
+
return this.testId;
|
|
25389
|
+
}
|
|
25390
|
+
ngOnChanges(changes) {
|
|
25391
|
+
if (changes['percentage'] && !changes['percentage'].firstChange)
|
|
25392
|
+
this.setProgress();
|
|
25393
|
+
}
|
|
25394
|
+
ngAfterViewInit() {
|
|
25395
|
+
this.setProgress();
|
|
25396
|
+
}
|
|
25397
|
+
setProgress() {
|
|
25398
|
+
this.elementRef.nativeElement
|
|
25399
|
+
.querySelector('.qd-percentage-progress-bar-progress')
|
|
25400
|
+
.setAttribute('style', `width: ${this.percentage ? this.percentage : 0}%`);
|
|
25401
|
+
}
|
|
25402
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPercentageProgressBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25403
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdPercentageProgressBarComponent, isStandalone: false, selector: "qd-percentage-progress-bar", inputs: { percentage: "percentage", testId: ["data-test-id", "testId"] }, host: { properties: { "attr.data-test-id": "this.dataTestId" } }, usesOnChanges: true, ngImport: i0, template: "<span [class]=\"'qd-percentage-progress-container'\">\n <span [class]=\"'qd-percentage-progress-bar-container'\">\n <span [class]=\"'qd-percentage-progress-bar-progress'\"> </span>\n </span>\n\n <span [class]=\"'qd-percentage-progress-value'\"> {{ percentage ? percentage : 0 }}% </span>\n</span>\n", styles: [":host .qd-percentage-progress-container{position:relative;display:flex;align-items:center}:host .qd-percentage-progress-bar-container,:host .qd-percentage-progress-bar-progress{display:block;height:1rem}:host .qd-percentage-progress-bar-container{width:100%;min-width:6.25rem;background:#6ebee6}:host .qd-percentage-progress-bar-progress{max-width:100%;background:#069}:host .qd-percentage-progress-value{position:absolute;display:flex;width:100%;min-width:6.25rem;justify-content:center;margin:0 auto;color:#fff;font-size:.8125rem;font-weight:500}\n"] });
|
|
25404
|
+
}
|
|
25405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPercentageProgressBarComponent, decorators: [{
|
|
25406
|
+
type: Component,
|
|
25407
|
+
args: [{ selector: 'qd-percentage-progress-bar', standalone: false, template: "<span [class]=\"'qd-percentage-progress-container'\">\n <span [class]=\"'qd-percentage-progress-bar-container'\">\n <span [class]=\"'qd-percentage-progress-bar-progress'\"> </span>\n </span>\n\n <span [class]=\"'qd-percentage-progress-value'\"> {{ percentage ? percentage : 0 }}% </span>\n</span>\n", styles: [":host .qd-percentage-progress-container{position:relative;display:flex;align-items:center}:host .qd-percentage-progress-bar-container,:host .qd-percentage-progress-bar-progress{display:block;height:1rem}:host .qd-percentage-progress-bar-container{width:100%;min-width:6.25rem;background:#6ebee6}:host .qd-percentage-progress-bar-progress{max-width:100%;background:#069}:host .qd-percentage-progress-value{position:absolute;display:flex;width:100%;min-width:6.25rem;justify-content:center;margin:0 auto;color:#fff;font-size:.8125rem;font-weight:500}\n"] }]
|
|
25408
|
+
}], propDecorators: { percentage: [{
|
|
25409
|
+
type: Input
|
|
25410
|
+
}], testId: [{
|
|
25411
|
+
type: Input,
|
|
25412
|
+
args: ['data-test-id']
|
|
25413
|
+
}], dataTestId: [{
|
|
25414
|
+
type: HostBinding,
|
|
25415
|
+
args: ['attr.data-test-id']
|
|
25416
|
+
}] } });
|
|
25417
|
+
|
|
25418
|
+
class QdProgressBarModule {
|
|
25419
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdProgressBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
25420
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.17", ngImport: i0, type: QdProgressBarModule, declarations: [QdIndeterminateProgressBarComponent, QdPercentageProgressBarComponent], imports: [CommonModule], exports: [QdIndeterminateProgressBarComponent, QdPercentageProgressBarComponent] });
|
|
25421
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdProgressBarModule, imports: [CommonModule] });
|
|
25422
|
+
}
|
|
25423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdProgressBarModule, decorators: [{
|
|
25424
|
+
type: NgModule,
|
|
25425
|
+
args: [{
|
|
25426
|
+
imports: [CommonModule],
|
|
25427
|
+
declarations: [QdIndeterminateProgressBarComponent, QdPercentageProgressBarComponent],
|
|
25428
|
+
exports: [QdIndeterminateProgressBarComponent, QdPercentageProgressBarComponent]
|
|
25429
|
+
}]
|
|
25430
|
+
}] });
|
|
25431
|
+
|
|
25441
25432
|
const updateStateWithNewSearch = (state, searchId, newSearch) => ({
|
|
25442
25433
|
...state,
|
|
25443
25434
|
[searchId]: newSearch
|
|
@@ -29847,7 +29838,7 @@ class QdSectionToolbarActionComponent {
|
|
|
29847
29838
|
label: this.getLabel(singleAction, isAddNew),
|
|
29848
29839
|
handler: () => this.executeAction(singleAction),
|
|
29849
29840
|
icon: singleAction.icon || (isAddNew ? 'plus' : undefined),
|
|
29850
|
-
isDisabled: this._config.areActionsDisabled
|
|
29841
|
+
isDisabled: this._config.areActionsDisabled || singleAction.isDisabled || false,
|
|
29851
29842
|
isHidden: false
|
|
29852
29843
|
};
|
|
29853
29844
|
}
|
|
@@ -29859,7 +29850,7 @@ class QdSectionToolbarActionComponent {
|
|
|
29859
29850
|
label: this.getLabel(singleAction, isAddNew),
|
|
29860
29851
|
handler: () => this.executeAction(singleAction),
|
|
29861
29852
|
icon: singleAction.icon || (isAddNew ? 'plus' : undefined),
|
|
29862
|
-
isDisabled: this._config.areActionsDisabled
|
|
29853
|
+
isDisabled: this._config.areActionsDisabled || singleAction.isDisabled || false,
|
|
29863
29854
|
isHidden: false
|
|
29864
29855
|
};
|
|
29865
29856
|
}));
|
|
@@ -29877,7 +29868,7 @@ class QdSectionToolbarActionComponent {
|
|
|
29877
29868
|
label: this.getLabel(companion, false),
|
|
29878
29869
|
handler: () => this.executeAction(companion),
|
|
29879
29870
|
icon: companion.icon,
|
|
29880
|
-
isDisabled: this._config.areActionsDisabled
|
|
29871
|
+
isDisabled: this._config.areActionsDisabled || companion.isDisabled || false,
|
|
29881
29872
|
isHidden: false
|
|
29882
29873
|
};
|
|
29883
29874
|
}));
|
|
@@ -35493,11 +35484,11 @@ class QdPanelSectionTextParagraphComponent {
|
|
|
35493
35484
|
*/
|
|
35494
35485
|
config = {};
|
|
35495
35486
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPanelSectionTextParagraphComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35496
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: QdPanelSectionTextParagraphComponent, isStandalone: false, selector: "qd-panel-section-text-paragraph", inputs: { config: "config" }, ngImport: i0, template: "@if (config.title) {\n<div class=\"paragraph-title\">{{
|
|
35487
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: QdPanelSectionTextParagraphComponent, isStandalone: false, selector: "qd-panel-section-text-paragraph", inputs: { config: "config" }, ngImport: i0, template: "@if (config.title?.i18n; as titleKey) {\n<div class=\"paragraph-title\">{{ titleKey | translate }}</div>\n}\n<div class=\"paragraph-content\"><ng-content></ng-content></div>\n", styles: [":host{display:block;color:#171717}:host .paragraph-title{font-weight:500}\n"], dependencies: [{ kind: "pipe", type: i2.TranslatePipe, name: "translate" }] });
|
|
35497
35488
|
}
|
|
35498
35489
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPanelSectionTextParagraphComponent, decorators: [{
|
|
35499
35490
|
type: Component,
|
|
35500
|
-
args: [{ selector: 'qd-panel-section-text-paragraph', standalone: false, template: "@if (config.title) {\n<div class=\"paragraph-title\">{{
|
|
35491
|
+
args: [{ selector: 'qd-panel-section-text-paragraph', standalone: false, template: "@if (config.title?.i18n; as titleKey) {\n<div class=\"paragraph-title\">{{ titleKey | translate }}</div>\n}\n<div class=\"paragraph-content\"><ng-content></ng-content></div>\n", styles: [":host{display:block;color:#171717}:host .paragraph-title{font-weight:500}\n"] }]
|
|
35501
35492
|
}], propDecorators: { config: [{
|
|
35502
35493
|
type: Input
|
|
35503
35494
|
}] } });
|
|
@@ -35547,7 +35538,7 @@ class QdPanelSectionActionsComponent {
|
|
|
35547
35538
|
label: action.label,
|
|
35548
35539
|
handler: () => this.executeAction(action),
|
|
35549
35540
|
icon: action.icon,
|
|
35550
|
-
isDisabled: this._config.areActionsDisabled
|
|
35541
|
+
isDisabled: this._config.areActionsDisabled || action.isDisabled || false,
|
|
35551
35542
|
isHidden: action.isHidden ?? false
|
|
35552
35543
|
};
|
|
35553
35544
|
}
|
|
@@ -35596,7 +35587,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
35596
35587
|
* @example
|
|
35597
35588
|
* <qd-panel-section [config]="{ title: { i18n: 'i18n.my-panel-section-title' }}">
|
|
35598
35589
|
* <qd-panel-section-status
|
|
35599
|
-
* [config]="{
|
|
35590
|
+
* [config]="{ state: 'positive', title: { i18n: 'i18n.my-control-panel-status-title' }}"
|
|
35600
35591
|
* ></qd-panel-section-status>
|
|
35601
35592
|
* <qd-panel-section-text-paragraph [config]="{ title: { i18n: 'i18n.my-panel-section-text-paragraph-title' }}">
|
|
35602
35593
|
* My Panel Section Text
|
|
@@ -35662,11 +35653,11 @@ class QdPanelSectionComponent {
|
|
|
35662
35653
|
});
|
|
35663
35654
|
}
|
|
35664
35655
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPanelSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35665
|
-
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 || hasActions()) {\n <div class=\"toolbar\">\n @if (config.title) {\n <div class=\"title\">\n {{
|
|
35656
|
+
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 .toolbar+qd-panel-section-status{border-top:rgb(213,213,213) .125rem solid!important;margin-top:1rem}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 });
|
|
35666
35657
|
}
|
|
35667
35658
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdPanelSectionComponent, decorators: [{
|
|
35668
35659
|
type: Component,
|
|
35669
|
-
args: [{ selector: 'qd-panel-section', providers: [QdPanelSectionActionService], encapsulation: ViewEncapsulation.None, standalone: false, template: "<section>\n @if (config.title || hasActions()) {\n <div class=\"toolbar\">\n @if (config.title) {\n <div class=\"title\">\n {{
|
|
35660
|
+
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 .toolbar+qd-panel-section-status{border-top:rgb(213,213,213) .125rem solid!important;margin-top:1rem}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"] }]
|
|
35670
35661
|
}], propDecorators: { config: [{
|
|
35671
35662
|
type: Input
|
|
35672
35663
|
}], actionOutput: [{
|
|
@@ -36642,12 +36633,12 @@ class QdShellNavigationLinkComponent {
|
|
|
36642
36633
|
this.config.handler();
|
|
36643
36634
|
}
|
|
36644
36635
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdShellNavigationLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
36645
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdShellNavigationLinkComponent, isStandalone: false, selector: "[qd-shell-navigation-link]", inputs: { config: "config" }, host: { properties: { "class.current": "config.isCurrent
|
|
36636
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.17", type: QdShellNavigationLinkComponent, isStandalone: false, selector: "[qd-shell-navigation-link]", inputs: { config: "config" }, host: { properties: { "class.current": "config.isCurrent" } }, ngImport: i0, template: "<span (click)=\"handleClick()\">\n <qd-icon [icon]=\"config.icon ?? 'linkWeb'\"></qd-icon>\n {{ config.i18n | translate }}\n</span>\n", styles: [":host{cursor:pointer}:host.current{background:#e5e5e5;cursor:default}:host:hover{background:#efefef}:host qd-icon{padding:0 .8125rem 0 .875rem;font-size:1.25rem;line-height:2rem;text-align:center;vertical-align:middle}:host span{display:block}\n"], dependencies: [{ kind: "component", type: QdIconComponent, selector: "qd-icon", inputs: ["icon", "status"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] });
|
|
36646
36637
|
}
|
|
36647
36638
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: QdShellNavigationLinkComponent, decorators: [{
|
|
36648
36639
|
type: Component,
|
|
36649
36640
|
args: [{ selector: '[qd-shell-navigation-link]', host: {
|
|
36650
|
-
'[class.current]': 'config.isCurrent
|
|
36641
|
+
'[class.current]': 'config.isCurrent'
|
|
36651
36642
|
}, standalone: false, template: "<span (click)=\"handleClick()\">\n <qd-icon [icon]=\"config.icon ?? 'linkWeb'\"></qd-icon>\n {{ config.i18n | translate }}\n</span>\n", styles: [":host{cursor:pointer}:host.current{background:#e5e5e5;cursor:default}:host:hover{background:#efefef}:host qd-icon{padding:0 .8125rem 0 .875rem;font-size:1.25rem;line-height:2rem;text-align:center;vertical-align:middle}:host span{display:block}\n"] }]
|
|
36652
36643
|
}], propDecorators: { config: [{
|
|
36653
36644
|
type: Input
|