@seniorsistemas/angular-components 17.3.14 → 17.3.16
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.
- package/bundles/seniorsistemas-angular-components.umd.js +430 -335
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/file-upload/components/file-item/file-item.component.d.ts +20 -0
- package/components/file-upload/file-upload.component.d.ts +11 -15
- package/components/file-upload/models/index.d.ts +1 -0
- package/components/file-upload/models/storage-units.d.ts +5 -0
- package/esm2015/components/country-phone-picker/resources/countries.js +22 -22
- package/esm2015/components/file-upload/components/file-item/file-item.component.js +88 -0
- package/esm2015/components/file-upload/file-upload.component.js +42 -43
- package/esm2015/components/file-upload/file-upload.module.js +9 -5
- package/esm2015/components/file-upload/file-upload.service.js +3 -1
- package/esm2015/components/file-upload/models/index.js +2 -1
- package/esm2015/components/file-upload/models/storage-units.js +6 -0
- package/esm2015/seniorsistemas-angular-components.js +65 -64
- package/esm5/components/country-phone-picker/resources/countries.js +22 -22
- package/esm5/components/file-upload/components/file-item/file-item.component.js +89 -0
- package/esm5/components/file-upload/file-upload.component.js +41 -42
- package/esm5/components/file-upload/file-upload.module.js +9 -5
- package/esm5/components/file-upload/file-upload.service.js +3 -1
- package/esm5/components/file-upload/models/index.js +2 -1
- package/esm5/components/file-upload/models/storage-units.js +6 -0
- package/esm5/seniorsistemas-angular-components.js +65 -64
- package/fesm2015/seniorsistemas-angular-components.js +351 -259
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +363 -270
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +64 -63
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -47,7 +47,6 @@ import { PanelModule as PanelModule$1 } from 'primeng/panel';
|
|
|
47
47
|
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
48
48
|
import { SliderModule } from 'primeng/slider';
|
|
49
49
|
import { MessageService, ConfirmationService } from 'primeng/api';
|
|
50
|
-
import { ProgressBarModule as ProgressBarModule$1 } from 'primeng/progressbar';
|
|
51
50
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
52
51
|
import { Clipboard } from '@angular/cdk/clipboard';
|
|
53
52
|
import Cropper from 'cropperjs';
|
|
@@ -3282,14 +3281,28 @@ ControlErrorsModule = __decorate([
|
|
|
3282
3281
|
|
|
3283
3282
|
const countries = [
|
|
3284
3283
|
{ id: "br", ddi: "+55", mask: ["(00) 0000-00009", "(00) 00000-0000"] },
|
|
3285
|
-
{ id: "
|
|
3286
|
-
{ id: "
|
|
3287
|
-
{ id: "
|
|
3288
|
-
{ id: "
|
|
3289
|
-
{ id: "
|
|
3290
|
-
{ id: "
|
|
3284
|
+
{ id: "ar", ddi: "+54", mask: ["(00) 0000-00009", "(000) 0000-0000"] },
|
|
3285
|
+
{ id: "bo", ddi: "+591", mask: "0 000 0000" },
|
|
3286
|
+
{ id: "cl", ddi: "+56", mask: "0 0000 0000" },
|
|
3287
|
+
{ id: "co", ddi: "+57", mask: ["0 00000009", "000 0000000"] },
|
|
3288
|
+
{ id: "cr", ddi: "+506", mask: "0000 0000" },
|
|
3289
|
+
{ id: "cu", ddi: "+53", mask: ["000 0009", "00 000000"] },
|
|
3290
|
+
{ id: "ec", ddi: "+593", mask: ["000 00009", "000 000 000"] },
|
|
3291
|
+
{ id: "sv", ddi: "+503", mask: "0000 0000" },
|
|
3292
|
+
{ id: "gt", ddi: "+502", mask: "0000 0000" },
|
|
3293
|
+
{ id: "ht", ddi: "+509", mask: "0000 0000" },
|
|
3294
|
+
{ id: "hn", ddi: "+504", mask: "0000-0000" },
|
|
3295
|
+
{ id: "mx", ddi: "+52", mask: ["00 0000 00009", "0 00 0000 0000"] },
|
|
3296
|
+
{ id: "ni", ddi: "+505", mask: "0000 0000" },
|
|
3297
|
+
{ id: "pa", ddi: "+507", mask: "0000 0000" },
|
|
3298
|
+
{ id: "py", ddi: "+595", mask: ["00 000 0009", "000 000000"] },
|
|
3299
|
+
{ id: "pe", ddi: "+51", mask: "000 000 000" },
|
|
3300
|
+
{ id: "do", ddi: "+1809", mask: "000 000-0000" },
|
|
3301
|
+
{ id: "uy", ddi: "+598", mask: ["0000 00009", "0000 00000"] },
|
|
3302
|
+
{ id: "ve", ddi: "+58", mask: "000-0000000" },
|
|
3303
|
+
{ id: "us", ddi: "+1", mask: "000-000-0000" },
|
|
3304
|
+
{ id: "ca", ddi: "+1", mask: "000-000-0000" },
|
|
3291
3305
|
{ id: "cn", ddi: "+86", mask: "000 0000 0000" },
|
|
3292
|
-
{ id: "ca", ddi: "+1", mask: "000-0000" },
|
|
3293
3306
|
{ id: "as", ddi: "+1684", mask: "000-0000" },
|
|
3294
3307
|
{ id: "ai", ddi: "+1264", mask: "000-0000" },
|
|
3295
3308
|
{ id: "ag", ddi: "+1268", mask: "000-0000" },
|
|
@@ -3299,7 +3312,6 @@ const countries = [
|
|
|
3299
3312
|
{ id: "vg", ddi: "+1284", mask: "000-0000" },
|
|
3300
3313
|
{ id: "ky", ddi: "+1345", mask: "000-0000" },
|
|
3301
3314
|
{ id: "dm", ddi: "+1767", mask: "000-0000" },
|
|
3302
|
-
{ id: "do", ddi: "+1809", mask: "000-0000" },
|
|
3303
3315
|
{ id: "gd", ddi: "+1473", mask: "000-0000" },
|
|
3304
3316
|
{ id: "gu", ddi: "+1671", mask: "000-0000" },
|
|
3305
3317
|
{ id: "jm", ddi: "+1876", mask: "000-0000" },
|
|
@@ -3317,7 +3329,6 @@ const countries = [
|
|
|
3317
3329
|
{ id: "af", ddi: "+93", mask: "000 000 0000" },
|
|
3318
3330
|
{ id: "al", ddi: "+355", mask: "000 000 0000" },
|
|
3319
3331
|
{ id: "hr", ddi: "+385", mask: "000 000 0000" },
|
|
3320
|
-
{ id: "ec", ddi: "+593", mask: "000 000 0000" },
|
|
3321
3332
|
{ id: "et", ddi: "+251", mask: "000 000 0000" },
|
|
3322
3333
|
{ id: "gh", ddi: "+233", mask: "000 000 0000" },
|
|
3323
3334
|
{ id: "gr", ddi: "+30", mask: "000 000 0000" },
|
|
@@ -3352,7 +3363,6 @@ const countries = [
|
|
|
3352
3363
|
{ id: "lu", ddi: "+352", mask: "000 000 000" },
|
|
3353
3364
|
{ id: "mk", ddi: "+389", mask: "000 000 000" },
|
|
3354
3365
|
{ id: "me", ddi: "+382", mask: "000 000 000" },
|
|
3355
|
-
{ id: "pe", ddi: "+51", mask: "000 000 000" },
|
|
3356
3366
|
{ id: "pl", ddi: "+48", mask: "000 000 000" },
|
|
3357
3367
|
{ id: "pt", ddi: "+351", mask: "000 000 000" },
|
|
3358
3368
|
{ id: "si", ddi: "+386", mask: "000 000 000" },
|
|
@@ -3392,18 +3402,14 @@ const countries = [
|
|
|
3392
3402
|
{ id: "ch", ddi: "+41", mask: "000 000 00 00" },
|
|
3393
3403
|
{ id: "vn", ddi: "+84", mask: "000 000 00 00" },
|
|
3394
3404
|
{ id: "bh", ddi: "+973", mask: "0000 0000" },
|
|
3395
|
-
{ id: "cr", ddi: "+506", mask: "0000 0000" },
|
|
3396
|
-
{ id: "sv", ddi: "+503", mask: "0000 0000" },
|
|
3397
3405
|
{ id: "ee", ddi: "+372", mask: "0000 0000" },
|
|
3398
3406
|
{ id: "sz", ddi: "+268", mask: "0000 0000" },
|
|
3399
|
-
{ id: "gt", ddi: "+502", mask: "0000 0000" },
|
|
3400
3407
|
{ id: "hk", ddi: "+852", mask: "0000 0000" },
|
|
3401
3408
|
{ id: "ls", ddi: "+266", mask: "0000 0000" },
|
|
3402
3409
|
{ id: "mo", ddi: "+853", mask: "0000 0000" },
|
|
3403
3410
|
{ id: "mt", ddi: "+356", mask: "0000 0000" },
|
|
3404
3411
|
{ id: "mu", ddi: "+230", mask: "0000 0000" },
|
|
3405
3412
|
{ id: "mn", ddi: "+976", mask: "0000 0000" },
|
|
3406
|
-
{ id: "ni", ddi: "+505", mask: "0000 0000" },
|
|
3407
3413
|
{ id: "om", ddi: "+968", mask: "0000 0000" },
|
|
3408
3414
|
{ id: "pg", ddi: "+675", mask: "0000 0000" },
|
|
3409
3415
|
{ id: "qa", ddi: "+974", mask: "0000 0000" },
|
|
@@ -3433,7 +3439,6 @@ const countries = [
|
|
|
3433
3439
|
{ id: "ne", ddi: "+227", mask: "00 00 00 00" },
|
|
3434
3440
|
{ id: "sm", ddi: "+378", mask: "00 00 00 00" },
|
|
3435
3441
|
{ id: "tg", ddi: "+228", mask: "00 00 00 00" },
|
|
3436
|
-
{ id: "bo", ddi: "+591", mask: "00000000" },
|
|
3437
3442
|
{ id: "gi", ddi: "+350", mask: "00000000" },
|
|
3438
3443
|
{ id: "ki", ddi: "+686", mask: "00000000" },
|
|
3439
3444
|
{ id: "tv", ddi: "+688", mask: "00000000" },
|
|
@@ -3450,7 +3455,6 @@ const countries = [
|
|
|
3450
3455
|
{ id: "mz", ddi: "+258", mask: "00 000 0000" },
|
|
3451
3456
|
{ id: "mm", ddi: "+95", mask: "00 000 0000" },
|
|
3452
3457
|
{ id: "ck", ddi: "+682", mask: "00 000" },
|
|
3453
|
-
{ id: "cu", ddi: "+53", mask: "00 000000" },
|
|
3454
3458
|
{ id: "cy", ddi: "+357", mask: "00 000000" },
|
|
3455
3459
|
{ id: "eg", ddi: "+20", mask: "0000 000 0000" },
|
|
3456
3460
|
{ id: "ir", ddi: "+98", mask: "0000 000 0000" },
|
|
@@ -3464,9 +3468,6 @@ const countries = [
|
|
|
3464
3468
|
{ id: "de", ddi: "+49", mask: "00000 0000000" },
|
|
3465
3469
|
{ id: "gl", ddi: "+299", mask: "00 00 00" },
|
|
3466
3470
|
{ id: "wf", ddi: "+681", mask: "00 00 00" },
|
|
3467
|
-
{ id: "ht", ddi: "+509", mask: "00 00 0000" },
|
|
3468
|
-
{ id: "hn", ddi: "+504", mask: "0000-0000" },
|
|
3469
|
-
{ id: "pa", ddi: "+507", mask: "0000-0000" },
|
|
3470
3471
|
{ id: "hu", ddi: "+36", mask: "(00) 000 0000" },
|
|
3471
3472
|
{ id: "in", ddi: "+91", mask: "000000 00000" },
|
|
3472
3473
|
{ id: "id", ddi: "+62", mask: "0000-000-000" },
|
|
@@ -3482,7 +3483,6 @@ const countries = [
|
|
|
3482
3483
|
{ id: "mg", ddi: "+261", mask: "000 00 000 00" },
|
|
3483
3484
|
{ id: "mw", ddi: "+265", mask: "000 00 000 00" },
|
|
3484
3485
|
{ id: "my", ddi: "+60", mask: "000-000 0000" },
|
|
3485
|
-
{ id: "mx", ddi: "+52", mask: "000 000 000 0000" },
|
|
3486
3486
|
{ id: "md", ddi: "+373", mask: "0000 00 000" },
|
|
3487
3487
|
{ id: "mc", ddi: "+377", mask: "00 00 00 00 00" },
|
|
3488
3488
|
{ id: "ma", ddi: "+212", mask: "0000-000000" },
|
|
@@ -3504,7 +3504,6 @@ const countries = [
|
|
|
3504
3504
|
{ id: "tr", ddi: "+90", mask: "0000 000 00 00" },
|
|
3505
3505
|
{ id: "tm", ddi: "+993", mask: "0 00 000000" },
|
|
3506
3506
|
{ id: "uz", ddi: "+998", mask: "0 00 000 00 00" },
|
|
3507
|
-
{ id: "ve", ddi: "+58", mask: "0000-0000000" },
|
|
3508
3507
|
];
|
|
3509
3508
|
|
|
3510
3509
|
var Ordination;
|
|
@@ -5702,20 +5701,162 @@ EmptyStateModule = __decorate([
|
|
|
5702
5701
|
})
|
|
5703
5702
|
], EmptyStateModule);
|
|
5704
5703
|
|
|
5705
|
-
|
|
5704
|
+
var ProgressBarColors;
|
|
5705
|
+
(function (ProgressBarColors) {
|
|
5706
|
+
ProgressBarColors["Blue"] = "blue";
|
|
5707
|
+
ProgressBarColors["Green"] = "green";
|
|
5708
|
+
ProgressBarColors["Red"] = "red";
|
|
5709
|
+
ProgressBarColors["Yellow"] = "yellow";
|
|
5710
|
+
})(ProgressBarColors || (ProgressBarColors = {}));
|
|
5711
|
+
|
|
5712
|
+
var ProgressBarMode;
|
|
5713
|
+
(function (ProgressBarMode) {
|
|
5714
|
+
ProgressBarMode["Determinate"] = "determinate";
|
|
5715
|
+
ProgressBarMode["Indeterminate"] = "indeterminate";
|
|
5716
|
+
})(ProgressBarMode || (ProgressBarMode = {}));
|
|
5717
|
+
|
|
5718
|
+
let ProgressBarComponent = class ProgressBarComponent {
|
|
5706
5719
|
constructor() {
|
|
5707
|
-
this.
|
|
5708
|
-
this.
|
|
5720
|
+
this.showValue = true;
|
|
5721
|
+
this.mode = ProgressBarMode.Determinate;
|
|
5709
5722
|
}
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5723
|
+
ngOnInit() {
|
|
5724
|
+
this.validateInputs();
|
|
5725
|
+
}
|
|
5726
|
+
validateInputs() {
|
|
5727
|
+
if (this.value < 0 || this.value > 100) {
|
|
5728
|
+
throw new Error("Invalid value for value");
|
|
5729
|
+
}
|
|
5730
|
+
if (this.targetValue < 0 || this.targetValue > 100) {
|
|
5731
|
+
throw new Error("Invalid value for targetValue");
|
|
5732
|
+
}
|
|
5733
|
+
if (this.mode === ProgressBarMode.Indeterminate && (this.value || this.targetValue || this.targetLabel)) {
|
|
5734
|
+
throw new Error("When the mode is indeterminate, the value, targetValue and targetLabel parameters are not expected.");
|
|
5735
|
+
}
|
|
5714
5736
|
}
|
|
5715
5737
|
};
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
],
|
|
5738
|
+
__decorate([
|
|
5739
|
+
Input()
|
|
5740
|
+
], ProgressBarComponent.prototype, "value", void 0);
|
|
5741
|
+
__decorate([
|
|
5742
|
+
Input()
|
|
5743
|
+
], ProgressBarComponent.prototype, "targetValue", void 0);
|
|
5744
|
+
__decorate([
|
|
5745
|
+
Input()
|
|
5746
|
+
], ProgressBarComponent.prototype, "label", void 0);
|
|
5747
|
+
__decorate([
|
|
5748
|
+
Input()
|
|
5749
|
+
], ProgressBarComponent.prototype, "targetLabel", void 0);
|
|
5750
|
+
__decorate([
|
|
5751
|
+
Input()
|
|
5752
|
+
], ProgressBarComponent.prototype, "activeColor", void 0);
|
|
5753
|
+
__decorate([
|
|
5754
|
+
Input()
|
|
5755
|
+
], ProgressBarComponent.prototype, "showValue", void 0);
|
|
5756
|
+
__decorate([
|
|
5757
|
+
Input()
|
|
5758
|
+
], ProgressBarComponent.prototype, "mode", void 0);
|
|
5759
|
+
ProgressBarComponent = __decorate([
|
|
5760
|
+
Component({
|
|
5761
|
+
selector: "s-progressbar",
|
|
5762
|
+
template: "<ng-container *ngIf=\"mode === 'determinate'; then pbDeterminateTemplate else pbIndeterminateTemplate\"></ng-container>\n\n<ng-template #pbDeterminateTemplate>\n <s-progressbar-determinate\n [value]=\"value\"\n [targetValue]=\"targetValue\"\n [targetLabel]=\"targetLabel\"\n [activeColor]=\"activeColor\"\n [showValue]=\"showValue\">\n </s-progressbar-determinate>\n</ng-template>\n\n<ng-template #pbIndeterminateTemplate>\n <s-progressbar-indeterminate\n [activeColor]=\"activeColor\"\n [label]=\"label\">\n </s-progressbar-indeterminate>\n</ng-template>",
|
|
5763
|
+
styles: [".progress-bar{position:relative}.progress-bar .progress-bar-all{background-color:#d8d8d8;border-radius:4px;height:24px;overflow:hidden;width:100%}.progress-bar .progress-bar-all .progress-bar-active{-ms-flex-align:center;align-items:center;color:#fff;display:-ms-flexbox;display:flex;font-family:\"Open Sans\",sans-serif;font-size:14px;height:100%;-ms-flex-pack:center;justify-content:center;line-height:150%;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:80%}.progress-bar .progress-bar-all .progress-bar-active--blue{background-color:#428bca}.progress-bar .progress-bar-all .progress-bar-active--green{background-color:#0c9348}.progress-bar .progress-bar-all .progress-bar-active--red{background-color:#c13018}.progress-bar .progress-bar-all .progress-bar-active--yellow{background-color:#fcbf10}.progress-bar .target{-ms-flex-align:start;align-items:flex-start;bottom:-38px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:absolute}.progress-bar .target .target-line{background-color:#333;height:40px;margin:8px 0;width:1px}.progress-bar .target .target-label{background-color:#426e78;border-radius:10px;color:#e5eaea;font-family:\"Open Sans\",sans-serif;font-size:12px;line-height:150%;padding:2px 12px}"]
|
|
5764
|
+
})
|
|
5765
|
+
], ProgressBarComponent);
|
|
5766
|
+
|
|
5767
|
+
let ProgressBarDeterminateComponent = class ProgressBarDeterminateComponent {
|
|
5768
|
+
constructor() {
|
|
5769
|
+
this.showValue = true;
|
|
5770
|
+
}
|
|
5771
|
+
ngOnInit() {
|
|
5772
|
+
this.validateValues();
|
|
5773
|
+
}
|
|
5774
|
+
validateValues() {
|
|
5775
|
+
if (this.value < 0 || this.value > 100) {
|
|
5776
|
+
throw new Error("Invalid value for value");
|
|
5777
|
+
}
|
|
5778
|
+
if (this.targetValue < 0 || this.targetValue > 100) {
|
|
5779
|
+
throw new Error("Invalid value for targetValue");
|
|
5780
|
+
}
|
|
5781
|
+
}
|
|
5782
|
+
};
|
|
5783
|
+
__decorate([
|
|
5784
|
+
Input()
|
|
5785
|
+
], ProgressBarDeterminateComponent.prototype, "value", void 0);
|
|
5786
|
+
__decorate([
|
|
5787
|
+
Input()
|
|
5788
|
+
], ProgressBarDeterminateComponent.prototype, "targetValue", void 0);
|
|
5789
|
+
__decorate([
|
|
5790
|
+
Input()
|
|
5791
|
+
], ProgressBarDeterminateComponent.prototype, "targetLabel", void 0);
|
|
5792
|
+
__decorate([
|
|
5793
|
+
Input()
|
|
5794
|
+
], ProgressBarDeterminateComponent.prototype, "activeColor", void 0);
|
|
5795
|
+
__decorate([
|
|
5796
|
+
Input()
|
|
5797
|
+
], ProgressBarDeterminateComponent.prototype, "showValue", void 0);
|
|
5798
|
+
ProgressBarDeterminateComponent = __decorate([
|
|
5799
|
+
Component({
|
|
5800
|
+
selector: "s-progressbar-determinate",
|
|
5801
|
+
template: "<div class=\"progressbar-determinate\">\n <div class=\"progressbar-container\">\n <div\n class=\"progressbar-active\"\n [ngClass]=\"{\n 'progressbar-active--blue' : activeColor === 'blue',\n 'progressbar-active--green': activeColor === 'green',\n 'progressbar-active--red': activeColor === 'red',\n 'progressbar-active--yellow': activeColor === 'yellow'\n }\"\n [ngStyle]=\"{ 'width': value + '%' }\">\n {{ showValue && value ? value + '%' : '' }}\n </div>\n </div>\n <div\n *ngIf=\"targetValue\"\n class=\"target\"\n [ngStyle]=\"{\n 'left': targetValue <= 50 ? targetValue + '%' : 'unset',\n 'right': targetValue > 50 ? 100 - targetValue + '%' : 'unset',\n 'align-items': targetValue > 50 ? 'flex-end' : 'flex-start'\n }\">\n <span class=\"target-line\"></span>\n <span class=\"target-label\">\n {{ targetLabel || value + '%' }}\n </span>\n </div>\n </div>\n ",
|
|
5802
|
+
styles: [".progressbar-determinate{position:relative}.progressbar-determinate .progressbar-container{background-color:#d8d8d8;border-radius:4px;height:24px;overflow:hidden;width:100%}.progressbar-determinate .progressbar-container .progressbar-active{-ms-flex-align:center;align-items:center;color:#fff;display:-ms-flexbox;display:flex;font-family:\"Open Sans\",sans-serif;font-size:14px;height:100%;-ms-flex-pack:center;justify-content:center;line-height:150%;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:80%}.progressbar-determinate .progressbar-container .progressbar-active--blue{background-color:#428bca}.progressbar-determinate .progressbar-container .progressbar-active--green{background-color:#0c9348}.progressbar-determinate .progressbar-container .progressbar-active--red{background-color:#c13018}.progressbar-determinate .progressbar-container .progressbar-active--yellow{background-color:#fcbf10;color:#212533}.progressbar-determinate .target{-ms-flex-align:start;align-items:flex-start;bottom:-38px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:absolute}.progressbar-determinate .target .target-line{background-color:#333;height:40px;margin:8px 0;width:1px}.progressbar-determinate .target .target-label{background-color:#426e78;border-radius:10px;color:#e5eaea;font-family:\"Open Sans\",sans-serif;font-size:12px;line-height:150%;padding:2px 12px}"]
|
|
5803
|
+
})
|
|
5804
|
+
], ProgressBarDeterminateComponent);
|
|
5805
|
+
|
|
5806
|
+
let ProgressBarIndeterminateComponent = class ProgressBarIndeterminateComponent {
|
|
5807
|
+
};
|
|
5808
|
+
__decorate([
|
|
5809
|
+
Input()
|
|
5810
|
+
], ProgressBarIndeterminateComponent.prototype, "activeColor", void 0);
|
|
5811
|
+
__decorate([
|
|
5812
|
+
Input()
|
|
5813
|
+
], ProgressBarIndeterminateComponent.prototype, "label", void 0);
|
|
5814
|
+
ProgressBarIndeterminateComponent = __decorate([
|
|
5815
|
+
Component({
|
|
5816
|
+
selector: "s-progressbar-indeterminate",
|
|
5817
|
+
template: "<!-- progressbar-indeterminate.component.html -->\n<div class=\"progressbar-indeterminate\">\n <div class=\"progressbar-container\">\n <div class=\"indeterminate-bar\" [ngClass]=\"{\n 'indeterminate-bar--blue': activeColor === 'blue',\n 'indeterminate-bar--green': activeColor === 'green',\n 'indeterminate-bar--red': activeColor === 'red',\n 'indeterminate-bar--yellow': activeColor === 'yellow'\n }\"></div>\n </div>\n \n <span *ngIf=\"label\" class=\"progressbar-label\">{{ label }}</span>\n</div>\n",
|
|
5818
|
+
styles: [".progressbar-indeterminate{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.progressbar-indeterminate .progressbar-container{background-color:#d8d8d8;border-radius:4px;height:24px;margin:8px 0;overflow:hidden;width:100%}.progressbar-indeterminate .indeterminate-bar{animation:5s infinite indeterminate-progress;background-color:#428bca;height:100%;width:40%}.progressbar-indeterminate .indeterminate-bar--blue{background-color:#428bca}.progressbar-indeterminate .indeterminate-bar--green{background-color:#0c9348}.progressbar-indeterminate .indeterminate-bar--red{background-color:#c13018}.progressbar-indeterminate .indeterminate-bar--yellow{background-color:#fcbf10}.progressbar-indeterminate .progressbar-label{font-family:\"Open Sans\" sans-serif;font-size:12px;line-height:150%;color:#212533}@keyframes indeterminate-progress{0%{transform:translateX(-250%)}100%{transform:translateX(250%)}}"]
|
|
5819
|
+
})
|
|
5820
|
+
], ProgressBarIndeterminateComponent);
|
|
5821
|
+
|
|
5822
|
+
let ProgressBarModule = class ProgressBarModule {
|
|
5823
|
+
};
|
|
5824
|
+
ProgressBarModule = __decorate([
|
|
5825
|
+
NgModule({
|
|
5826
|
+
imports: [CommonModule],
|
|
5827
|
+
declarations: [
|
|
5828
|
+
ProgressBarComponent,
|
|
5829
|
+
ProgressBarDeterminateComponent,
|
|
5830
|
+
ProgressBarIndeterminateComponent,
|
|
5831
|
+
],
|
|
5832
|
+
exports: [ProgressBarComponent],
|
|
5833
|
+
})
|
|
5834
|
+
], ProgressBarModule);
|
|
5835
|
+
|
|
5836
|
+
var ValidateErrors;
|
|
5837
|
+
(function (ValidateErrors) {
|
|
5838
|
+
ValidateErrors["MAX_FILE_SIZE"] = "MAX_FILE_SIZE";
|
|
5839
|
+
ValidateErrors["MAX_FILE_LIMIT"] = "MAX_FILE_LIMIT";
|
|
5840
|
+
ValidateErrors["UNSUPPORTED_EXTENSION"] = "UNSUPPORTED_EXTENSION";
|
|
5841
|
+
})(ValidateErrors || (ValidateErrors = {}));
|
|
5842
|
+
|
|
5843
|
+
var FileUploadPermissions;
|
|
5844
|
+
(function (FileUploadPermissions) {
|
|
5845
|
+
FileUploadPermissions["Add"] = "add";
|
|
5846
|
+
FileUploadPermissions["Read"] = "read";
|
|
5847
|
+
FileUploadPermissions["Remove"] = "remove";
|
|
5848
|
+
})(FileUploadPermissions || (FileUploadPermissions = {}));
|
|
5849
|
+
const ALL_PERMISSIONS = [
|
|
5850
|
+
FileUploadPermissions.Add,
|
|
5851
|
+
FileUploadPermissions.Read,
|
|
5852
|
+
FileUploadPermissions.Remove,
|
|
5853
|
+
];
|
|
5854
|
+
|
|
5855
|
+
const StorageUnits = {
|
|
5856
|
+
KB: 1024,
|
|
5857
|
+
MB: Math.pow(1024, 2),
|
|
5858
|
+
GB: Math.pow(1024, 3),
|
|
5859
|
+
};
|
|
5719
5860
|
|
|
5720
5861
|
const Breakpoints = {
|
|
5721
5862
|
SM_MIN: 0,
|
|
@@ -5817,27 +5958,107 @@ class ExportUtils {
|
|
|
5817
5958
|
}
|
|
5818
5959
|
}
|
|
5819
5960
|
|
|
5820
|
-
|
|
5821
|
-
(
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5961
|
+
let FileItemComponent = class FileItemComponent {
|
|
5962
|
+
constructor() {
|
|
5963
|
+
this.canReadFiles = true;
|
|
5964
|
+
this.canRemoveFiles = true;
|
|
5965
|
+
this.cancelUpload = new EventEmitter();
|
|
5966
|
+
this.removeFile = new EventEmitter();
|
|
5967
|
+
}
|
|
5968
|
+
ngAfterContentInit() {
|
|
5969
|
+
this._update();
|
|
5970
|
+
}
|
|
5971
|
+
onResize() {
|
|
5972
|
+
this._update();
|
|
5973
|
+
}
|
|
5974
|
+
_update() {
|
|
5975
|
+
const windowWidth = window.innerWidth;
|
|
5976
|
+
this.isSmallDevice = windowWidth <= Breakpoints.SM_MAX;
|
|
5977
|
+
}
|
|
5978
|
+
simplifySize(size) {
|
|
5979
|
+
let unit;
|
|
5980
|
+
let convertedSize;
|
|
5981
|
+
if (size < StorageUnits.KB) {
|
|
5982
|
+
convertedSize = size;
|
|
5983
|
+
unit = "bytes";
|
|
5984
|
+
}
|
|
5985
|
+
else if (size < StorageUnits.MB) {
|
|
5986
|
+
convertedSize = size / StorageUnits.KB;
|
|
5987
|
+
unit = "KB";
|
|
5988
|
+
}
|
|
5989
|
+
else if (size < StorageUnits.GB) {
|
|
5990
|
+
convertedSize = size / StorageUnits.MB;
|
|
5991
|
+
unit = "MB";
|
|
5992
|
+
}
|
|
5993
|
+
else {
|
|
5994
|
+
convertedSize = size / StorageUnits.GB;
|
|
5995
|
+
unit = "GB";
|
|
5996
|
+
}
|
|
5997
|
+
return `${convertedSize} ${unit}`;
|
|
5998
|
+
}
|
|
5999
|
+
};
|
|
6000
|
+
__decorate([
|
|
6001
|
+
Input()
|
|
6002
|
+
], FileItemComponent.prototype, "id", void 0);
|
|
6003
|
+
__decorate([
|
|
6004
|
+
Input()
|
|
6005
|
+
], FileItemComponent.prototype, "file", void 0);
|
|
6006
|
+
__decorate([
|
|
6007
|
+
Input()
|
|
6008
|
+
], FileItemComponent.prototype, "canReadFiles", void 0);
|
|
6009
|
+
__decorate([
|
|
6010
|
+
Input()
|
|
6011
|
+
], FileItemComponent.prototype, "canRemoveFiles", void 0);
|
|
6012
|
+
__decorate([
|
|
6013
|
+
Input()
|
|
6014
|
+
], FileItemComponent.prototype, "cancelLabel", void 0);
|
|
6015
|
+
__decorate([
|
|
6016
|
+
Input()
|
|
6017
|
+
], FileItemComponent.prototype, "removeLabel", void 0);
|
|
6018
|
+
__decorate([
|
|
6019
|
+
Input()
|
|
6020
|
+
], FileItemComponent.prototype, "ariaLabelProgress", void 0);
|
|
6021
|
+
__decorate([
|
|
6022
|
+
Input()
|
|
6023
|
+
], FileItemComponent.prototype, "successTooltip", void 0);
|
|
6024
|
+
__decorate([
|
|
6025
|
+
Input()
|
|
6026
|
+
], FileItemComponent.prototype, "ariaLabelSuccess", void 0);
|
|
6027
|
+
__decorate([
|
|
6028
|
+
Output()
|
|
6029
|
+
], FileItemComponent.prototype, "cancelUpload", void 0);
|
|
6030
|
+
__decorate([
|
|
6031
|
+
Output()
|
|
6032
|
+
], FileItemComponent.prototype, "removeFile", void 0);
|
|
6033
|
+
__decorate([
|
|
6034
|
+
HostListener("window:resize")
|
|
6035
|
+
], FileItemComponent.prototype, "onResize", null);
|
|
6036
|
+
FileItemComponent = __decorate([
|
|
6037
|
+
Component({
|
|
6038
|
+
selector: "s-file-item",
|
|
6039
|
+
template: "<div [id]=\"id\" class=\"file-item-container\">\n <div class=\"file-info\">\n <ng-container *ngIf=\"canReadFiles; then fileNameUrl; else fileName\"></ng-container>\n <ng-template #fileNameUrl>\n <a\n class=\"file-name file-name--link\"\n tabindex=\"0\"\n [href]=\"file.objectURL\"\n download>\n {{ file.name }}\n </a>\n </ng-template>\n <ng-template #fileName>\n <span\n *ngIf=\"!canReadFiles\"\n class=\"file-name\">\n {{ file.name }}\n </span>\n </ng-template>\n <span class=\"file-size\">\n {{ simplifySize(file.size) }}\n </span>\n <div\n *ngIf=\"file.isUploading && !isSmallDevice\"\n class=\"progressbar\"\n [attr.aria-label]=\"ariaLabelProgress || 'platform.angular_components.loading_file' | translate\">\n <s-progressbar\n [value]=\"file.progress\"\n activeColor=\"blue\"\n [showValue]=\"true\">\n </s-progressbar>\n </div>\n <span\n *ngIf=\"file.isUploading && isSmallDevice\" \n class=\"fas fa-circle-notch fa-spin\"\n [attr.aria-label]=\"ariaLabelProgress || 'platform.angular_components.loading_file' | translate\">\n </span>\n\n <span\n *ngIf=\"!file.isUploading && !file.error\"\n class=\"status-icon status-icon--success fas fa-check\"\n [attr.aria-label]=\"ariaLabelSuccess || successTooltip || 'platform.angular_components.file_attached_successfully' | translate\"\n [sTooltip]=\"successTooltip || 'platform.angular_components.file_attached_successfully' | translate\">\n </span>\n <span\n *ngIf=\"!file.isUploading && file.error\"\n class=\"status-icon status-icon--fail fas fa-times\"\n [attr.aria-label]=\"file.error?.message\"\n [sTooltip]=\"file.error?.message\">\n </span>\n </div>\n <button\n *ngIf=\"file.isUploading\"\n class=\"file-option file-option--cancel\"\n (click)=\"cancelUpload.emit(file)\">\n {{ cancelLabel || \"platform.angular_components.cancel\" | translate }}\n </button>\n <button\n *ngIf=\"canRemoveFiles && !file.isUploading\"\n class=\"file-option file-option--remove\"\n (click)=\"removeFile.emit(file)\">\n {{ removeLabel || \"platform.angular_components.remove\" | translate }}\n </button>\n</div>\n",
|
|
6040
|
+
styles: [".file-item-container{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:16px;padding:16px}.file-item-container .file-info{color:#212533;display:-ms-flexbox;display:flex;font-family:\"Open Sans\",sans-serif;font-size:14px;gap:16px;width:100%;-ms-flex-align:center;align-items:center}.file-item-container .file-info .file-name{-ms-flex-positive:1;flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-item-container .file-info .file-name--link{color:#428bca;text-decoration:none}.file-item-container .file-info .file-size{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-item-container .progressbar{width:20%}.file-item-container .status-icon{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;font-size:12px}.file-item-container .status-icon--success{color:#0c9348}.file-item-container .status-icon--fail{color:#c13018}.file-item-container .file-option{background-color:transparent;border:none;color:#428bca;cursor:pointer;font-family:\"Open Sans\",sans-serif;font-size:14px;overflow:hidden;text-overflow:ellipsis;max-width:100%}@media screen and (max-width:600px){.file-item-container{-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column}}"]
|
|
6041
|
+
})
|
|
6042
|
+
], FileItemComponent);
|
|
5826
6043
|
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
5831
|
-
|
|
5832
|
-
}
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
6044
|
+
const moment$3 = moment_;
|
|
6045
|
+
let FileUploadService = class FileUploadService {
|
|
6046
|
+
constructor() {
|
|
6047
|
+
this.BASE_URL_FIELD_CUSTOMIZATION = "platform/field_customization";
|
|
6048
|
+
this.TOKEN = new AbortController();
|
|
6049
|
+
}
|
|
6050
|
+
getMetadataCustomField(request) {
|
|
6051
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6052
|
+
return CustomHttpClient.POST(`${this.BASE_URL_FIELD_CUSTOMIZATION}/queries/getFileMetadata`, request, { signal: this.TOKEN.signal });
|
|
6053
|
+
});
|
|
6054
|
+
}
|
|
6055
|
+
};
|
|
6056
|
+
FileUploadService = __decorate([
|
|
6057
|
+
Injectable()
|
|
6058
|
+
], FileUploadService);
|
|
5838
6059
|
|
|
5839
6060
|
var FileUploadComponent_1;
|
|
5840
|
-
const moment$
|
|
6061
|
+
const moment$4 = moment_;
|
|
5841
6062
|
let FileUploadComponent = FileUploadComponent_1 = class FileUploadComponent {
|
|
5842
6063
|
constructor(sanitizer, fileUploadService, translate) {
|
|
5843
6064
|
this.sanitizer = sanitizer;
|
|
@@ -5863,10 +6084,10 @@ let FileUploadComponent = FileUploadComponent_1 = class FileUploadComponent {
|
|
|
5863
6084
|
set files(files) {
|
|
5864
6085
|
var _a;
|
|
5865
6086
|
if (this.showFileUploadDate && ((_a = files[0]) === null || _a === void 0 ? void 0 : _a.objectId)) {
|
|
5866
|
-
this.
|
|
6087
|
+
this._getUploadDate(files);
|
|
5867
6088
|
}
|
|
5868
|
-
this._files = files.map(file => {
|
|
5869
|
-
if (this.
|
|
6089
|
+
this._files = files.map((file) => {
|
|
6090
|
+
if (this._isImage(file)) {
|
|
5870
6091
|
file.objectURL = this.sanitizer.bypassSecurityTrustUrl(window.URL.createObjectURL(file));
|
|
5871
6092
|
}
|
|
5872
6093
|
return file;
|
|
@@ -5874,40 +6095,36 @@ let FileUploadComponent = FileUploadComponent_1 = class FileUploadComponent {
|
|
|
5874
6095
|
}
|
|
5875
6096
|
ngOnInit() {
|
|
5876
6097
|
this.supportedExtensions = this.supportedExtensions
|
|
5877
|
-
.map(extension => extension
|
|
6098
|
+
.map((extension) => extension
|
|
6099
|
+
.replace(".", "")
|
|
6100
|
+
.toLowerCase());
|
|
5878
6101
|
}
|
|
5879
6102
|
ngOnDestroy() {
|
|
5880
6103
|
this.ngUsubscribe.next();
|
|
5881
6104
|
this.ngUsubscribe.complete();
|
|
5882
6105
|
}
|
|
5883
|
-
ngAfterContentInit() {
|
|
5884
|
-
this.update();
|
|
5885
|
-
}
|
|
5886
|
-
onResize() {
|
|
5887
|
-
this.update();
|
|
5888
|
-
}
|
|
5889
6106
|
onFileSelect(files) {
|
|
5890
6107
|
const newFiles = [];
|
|
5891
6108
|
if (!this.multiple) {
|
|
5892
6109
|
this.files = [];
|
|
5893
6110
|
}
|
|
5894
|
-
if (this.
|
|
6111
|
+
if (this._isFileLimitExceeded(files)) {
|
|
5895
6112
|
this.validateErrors.emit({
|
|
5896
6113
|
files,
|
|
5897
6114
|
validation: ValidateErrors.MAX_FILE_LIMIT,
|
|
5898
6115
|
});
|
|
5899
|
-
this.
|
|
6116
|
+
this._clearFileInput();
|
|
5900
6117
|
return;
|
|
5901
6118
|
}
|
|
5902
6119
|
for (const file of files) {
|
|
5903
|
-
if (this.
|
|
6120
|
+
if (this._isUnsupportedFileExtension(file)) {
|
|
5904
6121
|
this.validateErrors.emit({
|
|
5905
6122
|
files: [file],
|
|
5906
6123
|
validation: ValidateErrors.UNSUPPORTED_EXTENSION,
|
|
5907
6124
|
});
|
|
5908
6125
|
continue;
|
|
5909
6126
|
}
|
|
5910
|
-
if (this.
|
|
6127
|
+
if (this._isFileSizeExceeded(file)) {
|
|
5911
6128
|
this.validateErrors.emit({
|
|
5912
6129
|
files: [file],
|
|
5913
6130
|
validation: ValidateErrors.MAX_FILE_SIZE,
|
|
@@ -5922,7 +6139,7 @@ let FileUploadComponent = FileUploadComponent_1 = class FileUploadComponent {
|
|
|
5922
6139
|
files: newFiles,
|
|
5923
6140
|
});
|
|
5924
6141
|
}
|
|
5925
|
-
this.
|
|
6142
|
+
this._clearFileInput();
|
|
5926
6143
|
}
|
|
5927
6144
|
onRemoveFile(file) {
|
|
5928
6145
|
const fileIndex = this.files.indexOf(file);
|
|
@@ -5931,12 +6148,13 @@ let FileUploadComponent = FileUploadComponent_1 = class FileUploadComponent {
|
|
|
5931
6148
|
this.removeFile.emit({ file });
|
|
5932
6149
|
}
|
|
5933
6150
|
}
|
|
5934
|
-
onCancelUpload(
|
|
5935
|
-
const
|
|
5936
|
-
if (
|
|
6151
|
+
onCancelUpload(file) {
|
|
6152
|
+
const index = this.files.indexOf(file);
|
|
6153
|
+
if (index != -1) {
|
|
6154
|
+
this.files.splice(index, 1);
|
|
5937
6155
|
this.cancelUpload.emit(index);
|
|
5938
6156
|
}
|
|
5939
|
-
this.
|
|
6157
|
+
this._clearFileInput();
|
|
5940
6158
|
}
|
|
5941
6159
|
onDowloadFile(index) {
|
|
5942
6160
|
this.downloadFile.emit({
|
|
@@ -5947,50 +6165,56 @@ let FileUploadComponent = FileUploadComponent_1 = class FileUploadComponent {
|
|
|
5947
6165
|
get files() {
|
|
5948
6166
|
return this._files;
|
|
5949
6167
|
}
|
|
5950
|
-
|
|
5951
|
-
const windowWidth = window.innerWidth;
|
|
5952
|
-
this.isSmallDevice = windowWidth <= Breakpoints.SM_MAX;
|
|
5953
|
-
}
|
|
5954
|
-
isImage(file) {
|
|
6168
|
+
_isImage(file) {
|
|
5955
6169
|
return /^image\//.test(file.type);
|
|
5956
6170
|
}
|
|
5957
|
-
|
|
6171
|
+
_isFileLimitExceeded(files) {
|
|
5958
6172
|
if (!this.fileLimit) {
|
|
5959
6173
|
return false;
|
|
5960
6174
|
}
|
|
5961
6175
|
return this.files.length + files.length > this.fileLimit;
|
|
5962
6176
|
}
|
|
5963
|
-
|
|
6177
|
+
_isFileSizeExceeded(file) {
|
|
5964
6178
|
if (!this.maxFileSize) {
|
|
5965
6179
|
return false;
|
|
5966
6180
|
}
|
|
5967
6181
|
return file.size > this.maxFileSize;
|
|
5968
6182
|
}
|
|
5969
|
-
|
|
6183
|
+
_isUnsupportedFileExtension(file) {
|
|
5970
6184
|
var _a;
|
|
5971
6185
|
if ((_a = this.supportedExtensions) === null || _a === void 0 ? void 0 : _a.length) {
|
|
5972
|
-
const extension = file.name
|
|
6186
|
+
const extension = file.name
|
|
6187
|
+
.split(".")
|
|
6188
|
+
.pop()
|
|
6189
|
+
.toLowerCase();
|
|
5973
6190
|
return !this.supportedExtensions.includes(extension);
|
|
5974
6191
|
}
|
|
5975
6192
|
return false;
|
|
5976
6193
|
}
|
|
5977
|
-
|
|
6194
|
+
_clearFileInput() {
|
|
5978
6195
|
this.inputUpload.nativeElement.value = null;
|
|
5979
6196
|
}
|
|
5980
|
-
|
|
6197
|
+
_getUploadDate(blobFile) {
|
|
5981
6198
|
if (!blobFile) {
|
|
5982
6199
|
return;
|
|
5983
6200
|
}
|
|
5984
|
-
this.fileUploadService
|
|
5985
|
-
.
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
const
|
|
5990
|
-
const
|
|
5991
|
-
const
|
|
5992
|
-
const
|
|
5993
|
-
|
|
6201
|
+
this.fileUploadService
|
|
6202
|
+
.getMetadataCustomField({ objectId: blobFile[0].objectId })
|
|
6203
|
+
.then((metadata) => this._setModifiedDate(metadata));
|
|
6204
|
+
}
|
|
6205
|
+
_setModifiedDate(metadata) {
|
|
6206
|
+
const hour = moment$4(metadata.modified).format("HH");
|
|
6207
|
+
const minutes = moment$4(metadata.modified).format("mm");
|
|
6208
|
+
const day = moment$4(metadata.modified).format("DD");
|
|
6209
|
+
const month = moment$4(metadata.modified).format("MM");
|
|
6210
|
+
const fullYear = moment$4(metadata.modified).format("YYYY");
|
|
6211
|
+
this.modifiedDate = this.translate.instant("platform.angular_components.date_modified_custom_blob", {
|
|
6212
|
+
hour,
|
|
6213
|
+
minutes,
|
|
6214
|
+
day,
|
|
6215
|
+
month,
|
|
6216
|
+
fullYear,
|
|
6217
|
+
});
|
|
5994
6218
|
}
|
|
5995
6219
|
};
|
|
5996
6220
|
FileUploadComponent.nextId = 0;
|
|
@@ -6080,14 +6304,11 @@ __decorate([
|
|
|
6080
6304
|
__decorate([
|
|
6081
6305
|
Output()
|
|
6082
6306
|
], FileUploadComponent.prototype, "validateErrors", void 0);
|
|
6083
|
-
__decorate([
|
|
6084
|
-
HostListener("window:resize")
|
|
6085
|
-
], FileUploadComponent.prototype, "onResize", null);
|
|
6086
6307
|
FileUploadComponent = FileUploadComponent_1 = __decorate([
|
|
6087
6308
|
Component({
|
|
6088
6309
|
selector: "s-file-upload",
|
|
6089
|
-
template: "<div
|
|
6090
|
-
styles: [".
|
|
6310
|
+
template: "<div [id]=\"id\" class=\"fileupload\">\n <div class=\"fileupload-choose\">\n <input\n #inputUpload\n type=\"file\"\n name=\"file\"\n [accept]=\"accept\"\n [multiple]=\"multiple\"\n (change)=\"onFileSelect($event.dataTransfer ? $event.dataTransfer.files : $event.target.files)\"\n />\n <s-button\n *ngIf=\"permissions.includes(ADD_PERMISSION)\"\n [label]=\"chooseLabel || 'platform.angular_components.attach_files' | translate\"\n (onClick)=\"inputUpload.click()\"\n priority=\"primary\"\n [disabled]=\"disabled || !!formGroup?.disabled\"\n [auxiliary]=\"false\"\n >\n </s-button>\n </div>\n <ul\n *ngIf=\"files.length\"\n class=\"file-list\"\n role=\"grid\">\n <li *ngFor=\"let file of files; let i = index\" class=\"file-list-item\">\n <s-file-item\n [id]=\"'file-' + i\"\n [file]=\"file\"\n [canReadFiles]=\"permissions.includes(READ_PERMISSION) && file.savedFile || file.progress === 100\"\n [canRemoveFiles]=\"permissions.includes(REMOVE_PERMISSION) && !(disabled || !!formGroup?.disabled)\"\n [cancelLabel]=\"cancelLabel\"\n [removeLabel]=\"removeLabel\"\n [ariaLabelProgress]=\"ariaLabelProgress\"\n [successTooltip]=\"successTooltip\"\n [ariaLabelSuccess]=\"ariaLabelSuccess\"\n (cancelUpload)=\"onCancelUpload($event)\"\n (removeFile)=\"onRemoveFile($event)\"\n >\n </s-file-item>\n </li>\n </ul>\n</div>\n",
|
|
6311
|
+
styles: [".fileupload .fileupload-choose{position:relative;margin:15px 0;width:-webkit-max-content;width:max-content}.fileupload input[type=file]{display:none}.fileupload .file-list{border:1px solid #c1c1cc;border-radius:4px;padding:0}.fileupload .file-list .file-list-item{list-style-type:none}.fileupload .file-list .file-list-item:not(:first-child){border-top:1px solid #ccc}"]
|
|
6091
6312
|
})
|
|
6092
6313
|
], FileUploadComponent);
|
|
6093
6314
|
|
|
@@ -6095,14 +6316,17 @@ let FileUploadModule = class FileUploadModule {
|
|
|
6095
6316
|
};
|
|
6096
6317
|
FileUploadModule = __decorate([
|
|
6097
6318
|
NgModule({
|
|
6098
|
-
declarations: [FileUploadComponent],
|
|
6099
6319
|
imports: [
|
|
6100
6320
|
CommonModule,
|
|
6101
6321
|
ButtonModule,
|
|
6102
|
-
TooltipModule
|
|
6103
|
-
ProgressBarModule
|
|
6322
|
+
TooltipModule,
|
|
6323
|
+
ProgressBarModule,
|
|
6104
6324
|
TranslateModule,
|
|
6105
6325
|
],
|
|
6326
|
+
declarations: [
|
|
6327
|
+
FileUploadComponent,
|
|
6328
|
+
FileItemComponent,
|
|
6329
|
+
],
|
|
6106
6330
|
providers: [FileUploadService],
|
|
6107
6331
|
exports: [FileUploadComponent],
|
|
6108
6332
|
})
|
|
@@ -7114,7 +7338,7 @@ var EnumBadgeColors;
|
|
|
7114
7338
|
EnumBadgeColors["GRAY"] = "gray";
|
|
7115
7339
|
})(EnumBadgeColors || (EnumBadgeColors = {}));
|
|
7116
7340
|
|
|
7117
|
-
const moment$
|
|
7341
|
+
const moment$5 = moment_;
|
|
7118
7342
|
let TableColumnsComponent = class TableColumnsComponent {
|
|
7119
7343
|
constructor(viewContainerRef, translate, hostProjectConfigs) {
|
|
7120
7344
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -7219,7 +7443,7 @@ let TableColumnsComponent = class TableColumnsComponent {
|
|
|
7219
7443
|
return applyMask(attributeValue, numberConfigs, this.isNumber(attributeValue));
|
|
7220
7444
|
case EnumColumnFieldType.DATE:
|
|
7221
7445
|
const dateFormat = this.getDateFormat(column, locale);
|
|
7222
|
-
return moment$
|
|
7446
|
+
return moment$5(attributeValue).format(dateFormat);
|
|
7223
7447
|
case EnumColumnFieldType.BOOLEAN:
|
|
7224
7448
|
const value = attributeValue ? "yes" : "no";
|
|
7225
7449
|
return this.translate.instant(prefix + value);
|
|
@@ -9068,7 +9292,7 @@ var CustomFieldType;
|
|
|
9068
9292
|
CustomFieldType["Any"] = "Any";
|
|
9069
9293
|
CustomFieldType["Enum"] = "Enum";
|
|
9070
9294
|
})(CustomFieldType || (CustomFieldType = {}));
|
|
9071
|
-
const moment$
|
|
9295
|
+
const moment$6 = moment_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670
|
|
9072
9296
|
let CustomFieldsComponent = CustomFieldsComponent_1 = class CustomFieldsComponent {
|
|
9073
9297
|
constructor(customFieldsService, localeService, sanitizer, translateService, controlContainer) {
|
|
9074
9298
|
this.customFieldsService = customFieldsService;
|
|
@@ -9254,16 +9478,16 @@ let CustomFieldsComponent = CustomFieldsComponent_1 = class CustomFieldsComponen
|
|
|
9254
9478
|
return;
|
|
9255
9479
|
switch (type) {
|
|
9256
9480
|
case FieldType.Date:
|
|
9257
|
-
parsedValues[name] = moment$
|
|
9481
|
+
parsedValues[name] = moment$6(value).toDate();
|
|
9258
9482
|
break;
|
|
9259
9483
|
case FieldType.DateTime:
|
|
9260
|
-
parsedValues[name] = moment$
|
|
9484
|
+
parsedValues[name] = moment$6(value).toDate();
|
|
9261
9485
|
break;
|
|
9262
9486
|
case FieldType.LocalDateTime:
|
|
9263
|
-
parsedValues[name] = moment$
|
|
9487
|
+
parsedValues[name] = moment$6(value, "YYYY-MM-DD[T]HH:mm:ss.SSS").toDate();
|
|
9264
9488
|
break;
|
|
9265
9489
|
case FieldType.Time:
|
|
9266
|
-
parsedValues[name] = moment$
|
|
9490
|
+
parsedValues[name] = moment$6(value, "HH:mm:ss").toDate();
|
|
9267
9491
|
break;
|
|
9268
9492
|
}
|
|
9269
9493
|
});
|
|
@@ -9294,16 +9518,16 @@ let CustomFieldsComponent = CustomFieldsComponent_1 = class CustomFieldsComponen
|
|
|
9294
9518
|
value = new BigNumber(value).toFixed(scale).toString();
|
|
9295
9519
|
break;
|
|
9296
9520
|
case FieldType.Date:
|
|
9297
|
-
value = moment$
|
|
9521
|
+
value = moment$6(value).format("YYYY-MM-DD");
|
|
9298
9522
|
break;
|
|
9299
9523
|
case FieldType.DateTime:
|
|
9300
|
-
value = moment$
|
|
9524
|
+
value = moment$6(value).format();
|
|
9301
9525
|
break;
|
|
9302
9526
|
case FieldType.LocalDateTime:
|
|
9303
|
-
value = moment$
|
|
9527
|
+
value = moment$6(value).format("YYYY-MM-DD[T]HH:mm:ss.SSS");
|
|
9304
9528
|
break;
|
|
9305
9529
|
case FieldType.Time:
|
|
9306
|
-
value = moment$
|
|
9530
|
+
value = moment$6(value).format("HH:mm:ss");
|
|
9307
9531
|
break;
|
|
9308
9532
|
}
|
|
9309
9533
|
}
|
|
@@ -9696,7 +9920,7 @@ EditableOverlayModule = __decorate([
|
|
|
9696
9920
|
})
|
|
9697
9921
|
], EditableOverlayModule);
|
|
9698
9922
|
|
|
9699
|
-
const moment$
|
|
9923
|
+
const moment$7 = moment_;
|
|
9700
9924
|
const YEAR = "year";
|
|
9701
9925
|
const MONTH = "month";
|
|
9702
9926
|
const DAY = "day";
|
|
@@ -9706,19 +9930,19 @@ const SECOND = "second";
|
|
|
9706
9930
|
const MILLISECOND = "millisecond";
|
|
9707
9931
|
class DateUtils {
|
|
9708
9932
|
static parse(date) {
|
|
9709
|
-
return moment$
|
|
9933
|
+
return moment$7(date).toDate();
|
|
9710
9934
|
}
|
|
9711
9935
|
static toString(date, with_time = false) {
|
|
9712
|
-
let result = with_time ? moment$
|
|
9936
|
+
let result = with_time ? moment$7(date, "YYYY-MM-DD hh:mm:ss.SSS") : moment$7(date, "YYYY-MM-DD");
|
|
9713
9937
|
return result.toString();
|
|
9714
9938
|
}
|
|
9715
9939
|
static format(date, formatString = "YYYY-MM-DD HH:mm:ss.SSS", lang = "en") {
|
|
9716
|
-
const monthName = moment$
|
|
9940
|
+
const monthName = moment$7(date)
|
|
9717
9941
|
.locale(lang)
|
|
9718
9942
|
.startOf("month")
|
|
9719
9943
|
.format("MMMM");
|
|
9720
9944
|
const monthNameCapitalized = monthName.charAt(0).toUpperCase() + monthName.slice(1);
|
|
9721
|
-
const dateToFormat = moment$
|
|
9945
|
+
const dateToFormat = moment$7(date).locale(lang);
|
|
9722
9946
|
const format_map = {
|
|
9723
9947
|
YYYY: dateToFormat.format("YYYY"),
|
|
9724
9948
|
MM: dateToFormat.format("MM"),
|
|
@@ -9748,13 +9972,13 @@ class DateUtils {
|
|
|
9748
9972
|
return str;
|
|
9749
9973
|
}
|
|
9750
9974
|
static diff(fistDate, secondDate, scale) {
|
|
9751
|
-
const milliseconds = moment$
|
|
9752
|
-
const seconds = moment$
|
|
9753
|
-
const minutes = moment$
|
|
9754
|
-
const hours = moment$
|
|
9755
|
-
const days = moment$
|
|
9756
|
-
const months = moment$
|
|
9757
|
-
const years = moment$
|
|
9975
|
+
const milliseconds = moment$7(fistDate).diff(secondDate, MILLISECOND);
|
|
9976
|
+
const seconds = moment$7(fistDate).diff(secondDate, SECOND);
|
|
9977
|
+
const minutes = moment$7(fistDate).diff(secondDate, MINUTE);
|
|
9978
|
+
const hours = moment$7(fistDate).diff(secondDate, HOUR);
|
|
9979
|
+
const days = moment$7(fistDate).diff(secondDate, DAY);
|
|
9980
|
+
const months = moment$7(fistDate).diff(secondDate, MONTH);
|
|
9981
|
+
const years = moment$7(fistDate).diff(secondDate, YEAR);
|
|
9758
9982
|
if (!scale.endsWith("s")) {
|
|
9759
9983
|
scale += "s";
|
|
9760
9984
|
}
|
|
@@ -9769,14 +9993,14 @@ class DateUtils {
|
|
|
9769
9993
|
}[scale]);
|
|
9770
9994
|
}
|
|
9771
9995
|
static today() {
|
|
9772
|
-
const dateStr = moment$
|
|
9996
|
+
const dateStr = moment$7().format("YYY-MM-DD");
|
|
9773
9997
|
return new Date(dateStr);
|
|
9774
9998
|
}
|
|
9775
9999
|
static now() {
|
|
9776
|
-
return moment$
|
|
10000
|
+
return moment$7().toDate();
|
|
9777
10001
|
}
|
|
9778
10002
|
static add(date, quantity, scale) {
|
|
9779
|
-
return moment$
|
|
10003
|
+
return moment$7(date).add(quantity, scale).toDate();
|
|
9780
10004
|
}
|
|
9781
10005
|
static startOf(date, scale) {
|
|
9782
10006
|
const scores = {
|
|
@@ -9804,7 +10028,7 @@ class DateUtils {
|
|
|
9804
10028
|
return new Date(vals[0], vals[1], vals[2], vals[3], vals[4], vals[5], vals[6]);
|
|
9805
10029
|
}
|
|
9806
10030
|
static clone(date) {
|
|
9807
|
-
return moment$
|
|
10031
|
+
return moment$7(date).toDate();
|
|
9808
10032
|
}
|
|
9809
10033
|
static getDateValues(date) {
|
|
9810
10034
|
return [
|
|
@@ -9818,7 +10042,7 @@ class DateUtils {
|
|
|
9818
10042
|
];
|
|
9819
10043
|
}
|
|
9820
10044
|
static getDaysInMonth(date) {
|
|
9821
|
-
return moment$
|
|
10045
|
+
return moment$7(date, "YYYY-MM").daysInMonth();
|
|
9822
10046
|
}
|
|
9823
10047
|
}
|
|
9824
10048
|
|
|
@@ -13150,138 +13374,6 @@ ProfilePicturePickerModule = __decorate([
|
|
|
13150
13374
|
})
|
|
13151
13375
|
], ProfilePicturePickerModule);
|
|
13152
13376
|
|
|
13153
|
-
var ProgressBarColors;
|
|
13154
|
-
(function (ProgressBarColors) {
|
|
13155
|
-
ProgressBarColors["Blue"] = "blue";
|
|
13156
|
-
ProgressBarColors["Green"] = "green";
|
|
13157
|
-
ProgressBarColors["Red"] = "red";
|
|
13158
|
-
ProgressBarColors["Yellow"] = "yellow";
|
|
13159
|
-
})(ProgressBarColors || (ProgressBarColors = {}));
|
|
13160
|
-
|
|
13161
|
-
var ProgressBarMode;
|
|
13162
|
-
(function (ProgressBarMode) {
|
|
13163
|
-
ProgressBarMode["Determinate"] = "determinate";
|
|
13164
|
-
ProgressBarMode["Indeterminate"] = "indeterminate";
|
|
13165
|
-
})(ProgressBarMode || (ProgressBarMode = {}));
|
|
13166
|
-
|
|
13167
|
-
let ProgressBarComponent = class ProgressBarComponent {
|
|
13168
|
-
constructor() {
|
|
13169
|
-
this.showValue = true;
|
|
13170
|
-
this.mode = ProgressBarMode.Determinate;
|
|
13171
|
-
}
|
|
13172
|
-
ngOnInit() {
|
|
13173
|
-
this.validateInputs();
|
|
13174
|
-
}
|
|
13175
|
-
validateInputs() {
|
|
13176
|
-
if (this.value < 0 || this.value > 100) {
|
|
13177
|
-
throw new Error("Invalid value for value");
|
|
13178
|
-
}
|
|
13179
|
-
if (this.targetValue < 0 || this.targetValue > 100) {
|
|
13180
|
-
throw new Error("Invalid value for targetValue");
|
|
13181
|
-
}
|
|
13182
|
-
if (this.mode === ProgressBarMode.Indeterminate && (this.value || this.targetValue || this.targetLabel)) {
|
|
13183
|
-
throw new Error("When the mode is indeterminate, the value, targetValue and targetLabel parameters are not expected.");
|
|
13184
|
-
}
|
|
13185
|
-
}
|
|
13186
|
-
};
|
|
13187
|
-
__decorate([
|
|
13188
|
-
Input()
|
|
13189
|
-
], ProgressBarComponent.prototype, "value", void 0);
|
|
13190
|
-
__decorate([
|
|
13191
|
-
Input()
|
|
13192
|
-
], ProgressBarComponent.prototype, "targetValue", void 0);
|
|
13193
|
-
__decorate([
|
|
13194
|
-
Input()
|
|
13195
|
-
], ProgressBarComponent.prototype, "label", void 0);
|
|
13196
|
-
__decorate([
|
|
13197
|
-
Input()
|
|
13198
|
-
], ProgressBarComponent.prototype, "targetLabel", void 0);
|
|
13199
|
-
__decorate([
|
|
13200
|
-
Input()
|
|
13201
|
-
], ProgressBarComponent.prototype, "activeColor", void 0);
|
|
13202
|
-
__decorate([
|
|
13203
|
-
Input()
|
|
13204
|
-
], ProgressBarComponent.prototype, "showValue", void 0);
|
|
13205
|
-
__decorate([
|
|
13206
|
-
Input()
|
|
13207
|
-
], ProgressBarComponent.prototype, "mode", void 0);
|
|
13208
|
-
ProgressBarComponent = __decorate([
|
|
13209
|
-
Component({
|
|
13210
|
-
selector: "s-progressbar",
|
|
13211
|
-
template: "<ng-container *ngIf=\"mode === 'determinate'; then pbDeterminateTemplate else pbIndeterminateTemplate\"></ng-container>\n\n<ng-template #pbDeterminateTemplate>\n <s-progressbar-determinate\n [value]=\"value\"\n [targetValue]=\"targetValue\"\n [targetLabel]=\"targetLabel\"\n [activeColor]=\"activeColor\"\n [showValue]=\"showValue\">\n </s-progressbar-determinate>\n</ng-template>\n\n<ng-template #pbIndeterminateTemplate>\n <s-progressbar-indeterminate\n [activeColor]=\"activeColor\"\n [label]=\"label\">\n </s-progressbar-indeterminate>\n</ng-template>",
|
|
13212
|
-
styles: [".progress-bar{position:relative}.progress-bar .progress-bar-all{background-color:#d8d8d8;border-radius:4px;height:24px;overflow:hidden;width:100%}.progress-bar .progress-bar-all .progress-bar-active{-ms-flex-align:center;align-items:center;color:#fff;display:-ms-flexbox;display:flex;font-family:\"Open Sans\",sans-serif;font-size:14px;height:100%;-ms-flex-pack:center;justify-content:center;line-height:150%;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:80%}.progress-bar .progress-bar-all .progress-bar-active--blue{background-color:#428bca}.progress-bar .progress-bar-all .progress-bar-active--green{background-color:#0c9348}.progress-bar .progress-bar-all .progress-bar-active--red{background-color:#c13018}.progress-bar .progress-bar-all .progress-bar-active--yellow{background-color:#fcbf10}.progress-bar .target{-ms-flex-align:start;align-items:flex-start;bottom:-38px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:absolute}.progress-bar .target .target-line{background-color:#333;height:40px;margin:8px 0;width:1px}.progress-bar .target .target-label{background-color:#426e78;border-radius:10px;color:#e5eaea;font-family:\"Open Sans\",sans-serif;font-size:12px;line-height:150%;padding:2px 12px}"]
|
|
13213
|
-
})
|
|
13214
|
-
], ProgressBarComponent);
|
|
13215
|
-
|
|
13216
|
-
let ProgressBarDeterminateComponent = class ProgressBarDeterminateComponent {
|
|
13217
|
-
constructor() {
|
|
13218
|
-
this.showValue = true;
|
|
13219
|
-
}
|
|
13220
|
-
ngOnInit() {
|
|
13221
|
-
this.validateValues();
|
|
13222
|
-
}
|
|
13223
|
-
validateValues() {
|
|
13224
|
-
if (this.value < 0 || this.value > 100) {
|
|
13225
|
-
throw new Error("Invalid value for value");
|
|
13226
|
-
}
|
|
13227
|
-
if (this.targetValue < 0 || this.targetValue > 100) {
|
|
13228
|
-
throw new Error("Invalid value for targetValue");
|
|
13229
|
-
}
|
|
13230
|
-
}
|
|
13231
|
-
};
|
|
13232
|
-
__decorate([
|
|
13233
|
-
Input()
|
|
13234
|
-
], ProgressBarDeterminateComponent.prototype, "value", void 0);
|
|
13235
|
-
__decorate([
|
|
13236
|
-
Input()
|
|
13237
|
-
], ProgressBarDeterminateComponent.prototype, "targetValue", void 0);
|
|
13238
|
-
__decorate([
|
|
13239
|
-
Input()
|
|
13240
|
-
], ProgressBarDeterminateComponent.prototype, "targetLabel", void 0);
|
|
13241
|
-
__decorate([
|
|
13242
|
-
Input()
|
|
13243
|
-
], ProgressBarDeterminateComponent.prototype, "activeColor", void 0);
|
|
13244
|
-
__decorate([
|
|
13245
|
-
Input()
|
|
13246
|
-
], ProgressBarDeterminateComponent.prototype, "showValue", void 0);
|
|
13247
|
-
ProgressBarDeterminateComponent = __decorate([
|
|
13248
|
-
Component({
|
|
13249
|
-
selector: "s-progressbar-determinate",
|
|
13250
|
-
template: "<div class=\"progressbar-determinate\">\n <div class=\"progressbar-container\">\n <div\n class=\"progressbar-active\"\n [ngClass]=\"{\n 'progressbar-active--blue' : activeColor === 'blue',\n 'progressbar-active--green': activeColor === 'green',\n 'progressbar-active--red': activeColor === 'red',\n 'progressbar-active--yellow': activeColor === 'yellow'\n }\"\n [ngStyle]=\"{ 'width': value + '%' }\">\n {{ showValue && value ? value + '%' : '' }}\n </div>\n </div>\n <div\n *ngIf=\"targetValue\"\n class=\"target\"\n [ngStyle]=\"{\n 'left': targetValue <= 50 ? targetValue + '%' : 'unset',\n 'right': targetValue > 50 ? 100 - targetValue + '%' : 'unset',\n 'align-items': targetValue > 50 ? 'flex-end' : 'flex-start'\n }\">\n <span class=\"target-line\"></span>\n <span class=\"target-label\">\n {{ targetLabel || value + '%' }}\n </span>\n </div>\n </div>\n ",
|
|
13251
|
-
styles: [".progressbar-determinate{position:relative}.progressbar-determinate .progressbar-container{background-color:#d8d8d8;border-radius:4px;height:24px;overflow:hidden;width:100%}.progressbar-determinate .progressbar-container .progressbar-active{-ms-flex-align:center;align-items:center;color:#fff;display:-ms-flexbox;display:flex;font-family:\"Open Sans\",sans-serif;font-size:14px;height:100%;-ms-flex-pack:center;justify-content:center;line-height:150%;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:80%}.progressbar-determinate .progressbar-container .progressbar-active--blue{background-color:#428bca}.progressbar-determinate .progressbar-container .progressbar-active--green{background-color:#0c9348}.progressbar-determinate .progressbar-container .progressbar-active--red{background-color:#c13018}.progressbar-determinate .progressbar-container .progressbar-active--yellow{background-color:#fcbf10;color:#212533}.progressbar-determinate .target{-ms-flex-align:start;align-items:flex-start;bottom:-38px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:absolute}.progressbar-determinate .target .target-line{background-color:#333;height:40px;margin:8px 0;width:1px}.progressbar-determinate .target .target-label{background-color:#426e78;border-radius:10px;color:#e5eaea;font-family:\"Open Sans\",sans-serif;font-size:12px;line-height:150%;padding:2px 12px}"]
|
|
13252
|
-
})
|
|
13253
|
-
], ProgressBarDeterminateComponent);
|
|
13254
|
-
|
|
13255
|
-
let ProgressBarIndeterminateComponent = class ProgressBarIndeterminateComponent {
|
|
13256
|
-
};
|
|
13257
|
-
__decorate([
|
|
13258
|
-
Input()
|
|
13259
|
-
], ProgressBarIndeterminateComponent.prototype, "activeColor", void 0);
|
|
13260
|
-
__decorate([
|
|
13261
|
-
Input()
|
|
13262
|
-
], ProgressBarIndeterminateComponent.prototype, "label", void 0);
|
|
13263
|
-
ProgressBarIndeterminateComponent = __decorate([
|
|
13264
|
-
Component({
|
|
13265
|
-
selector: "s-progressbar-indeterminate",
|
|
13266
|
-
template: "<!-- progressbar-indeterminate.component.html -->\n<div class=\"progressbar-indeterminate\">\n <div class=\"progressbar-container\">\n <div class=\"indeterminate-bar\" [ngClass]=\"{\n 'indeterminate-bar--blue': activeColor === 'blue',\n 'indeterminate-bar--green': activeColor === 'green',\n 'indeterminate-bar--red': activeColor === 'red',\n 'indeterminate-bar--yellow': activeColor === 'yellow'\n }\"></div>\n </div>\n \n <span *ngIf=\"label\" class=\"progressbar-label\">{{ label }}</span>\n</div>\n",
|
|
13267
|
-
styles: [".progressbar-indeterminate{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.progressbar-indeterminate .progressbar-container{background-color:#d8d8d8;border-radius:4px;height:24px;margin:8px 0;overflow:hidden;width:100%}.progressbar-indeterminate .indeterminate-bar{animation:5s infinite indeterminate-progress;background-color:#428bca;height:100%;width:40%}.progressbar-indeterminate .indeterminate-bar--blue{background-color:#428bca}.progressbar-indeterminate .indeterminate-bar--green{background-color:#0c9348}.progressbar-indeterminate .indeterminate-bar--red{background-color:#c13018}.progressbar-indeterminate .indeterminate-bar--yellow{background-color:#fcbf10}.progressbar-indeterminate .progressbar-label{font-family:\"Open Sans\" sans-serif;font-size:12px;line-height:150%;color:#212533}@keyframes indeterminate-progress{0%{transform:translateX(-250%)}100%{transform:translateX(250%)}}"]
|
|
13268
|
-
})
|
|
13269
|
-
], ProgressBarIndeterminateComponent);
|
|
13270
|
-
|
|
13271
|
-
let ProgressBarModule = class ProgressBarModule {
|
|
13272
|
-
};
|
|
13273
|
-
ProgressBarModule = __decorate([
|
|
13274
|
-
NgModule({
|
|
13275
|
-
imports: [CommonModule],
|
|
13276
|
-
declarations: [
|
|
13277
|
-
ProgressBarComponent,
|
|
13278
|
-
ProgressBarDeterminateComponent,
|
|
13279
|
-
ProgressBarIndeterminateComponent,
|
|
13280
|
-
],
|
|
13281
|
-
exports: [ProgressBarComponent],
|
|
13282
|
-
})
|
|
13283
|
-
], ProgressBarModule);
|
|
13284
|
-
|
|
13285
13377
|
let PanelComponent = class PanelComponent {
|
|
13286
13378
|
constructor() {
|
|
13287
13379
|
this.toggleable = true;
|
|
@@ -15638,5 +15730,5 @@ const fallback = {
|
|
|
15638
15730
|
* Generated bundle index. Do not edit.
|
|
15639
15731
|
*/
|
|
15640
15732
|
|
|
15641
|
-
export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, KanbanComponent, KanbanModule, KanbanTemplateTypes, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb,
|
|
15733
|
+
export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, KanbanComponent, KanbanModule, KanbanTemplateTypes, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, DynamicFieldComponent as ɵba, DynamicFormDirective as ɵbb, FieldsetComponent as ɵbc, FileUploadComponent$1 as ɵbd, LookupFieldComponent as ɵbe, NumberFieldComponent as ɵbf, PasswordFieldComponent as ɵbg, RadioButtonComponent as ɵbh, RowComponent as ɵbi, SectionComponent as ɵbj, SelectFieldComponent as ɵbk, SliderFieldComponent as ɵbl, TextAreaFieldComponent as ɵbm, TextAreaIAFieldComponent as ɵbn, IAssistService as ɵbo, TextFieldComponent as ɵbp, DecimalField as ɵbr, SideTableComponent as ɵbs, ThumbnailService as ɵbt, InfiniteScrollModule as ɵbu, InfiniteScrollDirective as ɵbv, StructureModule as ɵbw, HeaderComponent as ɵbx, FooterComponent as ɵby, KanbanEventService as ɵbz, CustomTranslationsModule as ɵc, KanbanItemComponent as ɵca, KanbanColumnComponent as ɵcb, KanbanItemDraggingComponent as ɵcc, NumberLocaleOptions as ɵcd, BorderButtonModule as ɵce, BorderButtonComponent as ɵcf, SelectButtonItemComponent as ɵcg, SlidePanelService as ɵch, TieredMenuEventService as ɵci, TieredMenuService as ɵcj, TieredMenuComponent as ɵck, TieredMenuNestedComponent as ɵcl, TieredMenuItemComponent as ɵcm, TieredMenuDividerComponent as ɵcn, TimelineItemModule as ɵco, TimelineIconItemComponent as ɵcp, HorizontalTimelineModule as ɵcq, HorizontalTimelineComponent as ɵcr, VerticalTimelineModule as ɵcs, VerticalTimelineComponent as ɵct, RangeLineComponent as ɵcu, CollapseOptionComponent as ɵcv, CollapsedItemsComponent as ɵcw, VerticalItemsComponent as ɵcx, CodeEditorComponent as ɵd, CoreFacade as ɵe, CodeMirror6Core as ɵf, CountryPhonePickerService as ɵg, LocalizedCurrencyImpurePipe as ɵh, LocalizedBignumberPipe as ɵi, LocalizedBignumberImpurePipe as ɵj, EmptyStateGoBackComponent as ɵk, ProgressBarDeterminateComponent as ɵl, ProgressBarIndeterminateComponent as ɵm, FileUploadService as ɵn, FileItemComponent as ɵo, InfoSignComponent as ɵp, TableColumnsComponent as ɵq, TablePagingComponent as ɵr, AutocompleteFieldComponent as ɵs, BignumberFieldComponent as ɵt, BooleanFieldComponent as ɵu, BooleanSwitchFieldComponent as ɵv, CalendarFieldComponent as ɵw, ChipsFieldComponent as ɵx, CountryPhonePickerFieldComponent as ɵy, CurrencyFieldComponent as ɵz };
|
|
15642
15734
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|