@seniorsistemas/angular-components 17.3.15 → 17.3.17
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 +432 -299
- 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 +26 -0
- package/components/file-upload/file-upload.component.d.ts +15 -17
- package/components/file-upload/models/index.d.ts +1 -0
- package/components/file-upload/models/storage-units.d.ts +5 -0
- package/components/file-upload/models/validate-errors.d.ts +1 -0
- package/esm2015/components/file-upload/components/file-item/file-item.component.js +105 -0
- package/esm2015/components/file-upload/file-upload.component.js +60 -45
- package/esm2015/components/file-upload/file-upload.module.js +16 -6
- 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/components/file-upload/models/validate-errors.js +2 -1
- package/esm2015/seniorsistemas-angular-components.js +66 -64
- package/esm5/components/file-upload/components/file-item/file-item.component.js +107 -0
- package/esm5/components/file-upload/file-upload.component.js +60 -45
- package/esm5/components/file-upload/file-upload.module.js +16 -6
- 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/components/file-upload/models/validate-errors.js +2 -1
- package/esm5/seniorsistemas-angular-components.js +66 -64
- package/fesm2015/seniorsistemas-angular-components.js +354 -226
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +366 -236
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +65 -63
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -2,7 +2,7 @@ import { __decorate, __awaiter, __param, __rest } from 'tslib';
|
|
|
2
2
|
import { EventEmitter, Input, Output, Component, ContentChildren, ViewChild, HostListener, forwardRef, NgModule, ɵɵdefineInjectable, Injectable, ElementRef, ApplicationRef, ComponentFactoryResolver, Injector, Directive, HostBinding, Renderer2, InjectionToken, Inject, Pipe, ViewEncapsulation, TemplateRef, ViewContainerRef, ChangeDetectorRef, Optional, ContentChild } from '@angular/core';
|
|
3
3
|
import { trigger, transition, style as style$7, animate, state, group, query, animateChild } from '@angular/animations';
|
|
4
4
|
import { Subject, ReplaySubject, of, from, throwError, forkJoin } from 'rxjs';
|
|
5
|
-
import { takeUntil, filter, take, tap, map, switchMap, catchError, delay, debounceTime, repeat, finalize } from 'rxjs/operators';
|
|
5
|
+
import { takeUntil, filter, take, tap, map, switchMap, catchError, delay, debounceTime, repeat, first, finalize } from 'rxjs/operators';
|
|
6
6
|
import { CommonModule } from '@angular/common';
|
|
7
7
|
import { NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule, FormControl, FormGroup, NG_VALIDATORS, FormBuilder, Validators, FormArray, ControlContainer } from '@angular/forms';
|
|
8
8
|
import { RouterModule, NavigationEnd, PRIMARY_OUTLET, ActivatedRoute, Router } from '@angular/router';
|
|
@@ -24,7 +24,7 @@ import { TranslateService, TranslateModule } from '@ngx-translate/core';
|
|
|
24
24
|
import { showTooltip } from '@codemirror/tooltip';
|
|
25
25
|
import { lineNumbers } from '@codemirror/gutter';
|
|
26
26
|
import { NgxMaskModule } from 'ngx-mask';
|
|
27
|
-
import { HttpClient,
|
|
27
|
+
import { HttpClient, HttpClientModule, HttpEventType } from '@angular/common/http';
|
|
28
28
|
import { Hotkey, HotkeysService, HotkeyModule } from 'angular2-hotkeys';
|
|
29
29
|
import BigNumber, { BigNumber as BigNumber$1 } from 'bignumber.js';
|
|
30
30
|
import { AutoComplete, AutoCompleteModule } from 'primeng/autocomplete';
|
|
@@ -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';
|
|
@@ -5702,20 +5701,137 @@ 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);
|
|
5719
5835
|
|
|
5720
5836
|
const Breakpoints = {
|
|
5721
5837
|
SM_MIN: 0,
|
|
@@ -5820,6 +5936,7 @@ class ExportUtils {
|
|
|
5820
5936
|
var ValidateErrors;
|
|
5821
5937
|
(function (ValidateErrors) {
|
|
5822
5938
|
ValidateErrors["MAX_FILE_SIZE"] = "MAX_FILE_SIZE";
|
|
5939
|
+
ValidateErrors["MAX_COMBINED_FILE_SIZE"] = "MAX_COMBINED_FILE_SIZE";
|
|
5823
5940
|
ValidateErrors["MAX_FILE_LIMIT"] = "MAX_FILE_LIMIT";
|
|
5824
5941
|
ValidateErrors["UNSUPPORTED_EXTENSION"] = "UNSUPPORTED_EXTENSION";
|
|
5825
5942
|
})(ValidateErrors || (ValidateErrors = {}));
|
|
@@ -5836,8 +5953,128 @@ const ALL_PERMISSIONS = [
|
|
|
5836
5953
|
FileUploadPermissions.Remove,
|
|
5837
5954
|
];
|
|
5838
5955
|
|
|
5839
|
-
|
|
5956
|
+
const StorageUnits = {
|
|
5957
|
+
KB: 1024,
|
|
5958
|
+
MB: Math.pow(1024, 2),
|
|
5959
|
+
GB: Math.pow(1024, 3),
|
|
5960
|
+
};
|
|
5961
|
+
|
|
5962
|
+
let FileItemComponent = class FileItemComponent {
|
|
5963
|
+
constructor(localeService) {
|
|
5964
|
+
this.localeService = localeService;
|
|
5965
|
+
this.canReadFiles = true;
|
|
5966
|
+
this.canRemoveFiles = true;
|
|
5967
|
+
this.cancelUpload = new EventEmitter();
|
|
5968
|
+
this.removeFile = new EventEmitter();
|
|
5969
|
+
}
|
|
5970
|
+
ngOnInit() {
|
|
5971
|
+
this._getLocale();
|
|
5972
|
+
}
|
|
5973
|
+
ngAfterContentInit() {
|
|
5974
|
+
this._update();
|
|
5975
|
+
}
|
|
5976
|
+
onResize() {
|
|
5977
|
+
this._update();
|
|
5978
|
+
}
|
|
5979
|
+
_update() {
|
|
5980
|
+
const windowWidth = window.innerWidth;
|
|
5981
|
+
this.isSmallDevice = windowWidth <= Breakpoints.SM_MAX;
|
|
5982
|
+
}
|
|
5983
|
+
simplifySize(size) {
|
|
5984
|
+
let unit;
|
|
5985
|
+
let convertedSize;
|
|
5986
|
+
if (size < StorageUnits.KB) {
|
|
5987
|
+
convertedSize = size;
|
|
5988
|
+
unit = "bytes";
|
|
5989
|
+
}
|
|
5990
|
+
else if (size < StorageUnits.MB) {
|
|
5991
|
+
convertedSize = size / StorageUnits.KB;
|
|
5992
|
+
unit = "KB";
|
|
5993
|
+
}
|
|
5994
|
+
else if (size < StorageUnits.GB) {
|
|
5995
|
+
convertedSize = size / StorageUnits.MB;
|
|
5996
|
+
unit = "MB";
|
|
5997
|
+
}
|
|
5998
|
+
else {
|
|
5999
|
+
convertedSize = size / StorageUnits.GB;
|
|
6000
|
+
unit = "GB";
|
|
6001
|
+
}
|
|
6002
|
+
return `${convertedSize.toLocaleString(this._locale, { maximumFractionDigits: 2 })} ${unit}`;
|
|
6003
|
+
}
|
|
6004
|
+
_getLocale() {
|
|
6005
|
+
this.localeService
|
|
6006
|
+
.getLocale()
|
|
6007
|
+
.pipe(first())
|
|
6008
|
+
.subscribe((locale) => {
|
|
6009
|
+
this._locale = locale;
|
|
6010
|
+
});
|
|
6011
|
+
}
|
|
6012
|
+
};
|
|
6013
|
+
FileItemComponent.ctorParameters = () => [
|
|
6014
|
+
{ type: LocaleService }
|
|
6015
|
+
];
|
|
6016
|
+
__decorate([
|
|
6017
|
+
Input()
|
|
6018
|
+
], FileItemComponent.prototype, "id", void 0);
|
|
6019
|
+
__decorate([
|
|
6020
|
+
Input()
|
|
6021
|
+
], FileItemComponent.prototype, "file", void 0);
|
|
6022
|
+
__decorate([
|
|
6023
|
+
Input()
|
|
6024
|
+
], FileItemComponent.prototype, "canReadFiles", void 0);
|
|
6025
|
+
__decorate([
|
|
6026
|
+
Input()
|
|
6027
|
+
], FileItemComponent.prototype, "canRemoveFiles", void 0);
|
|
6028
|
+
__decorate([
|
|
6029
|
+
Input()
|
|
6030
|
+
], FileItemComponent.prototype, "cancelLabel", void 0);
|
|
6031
|
+
__decorate([
|
|
6032
|
+
Input()
|
|
6033
|
+
], FileItemComponent.prototype, "removeLabel", void 0);
|
|
6034
|
+
__decorate([
|
|
6035
|
+
Input()
|
|
6036
|
+
], FileItemComponent.prototype, "ariaLabelProgress", void 0);
|
|
6037
|
+
__decorate([
|
|
6038
|
+
Input()
|
|
6039
|
+
], FileItemComponent.prototype, "successTooltip", void 0);
|
|
6040
|
+
__decorate([
|
|
6041
|
+
Input()
|
|
6042
|
+
], FileItemComponent.prototype, "ariaLabelSuccess", void 0);
|
|
6043
|
+
__decorate([
|
|
6044
|
+
Output()
|
|
6045
|
+
], FileItemComponent.prototype, "cancelUpload", void 0);
|
|
6046
|
+
__decorate([
|
|
6047
|
+
Output()
|
|
6048
|
+
], FileItemComponent.prototype, "removeFile", void 0);
|
|
6049
|
+
__decorate([
|
|
6050
|
+
HostListener("window:resize")
|
|
6051
|
+
], FileItemComponent.prototype, "onResize", null);
|
|
6052
|
+
FileItemComponent = __decorate([
|
|
6053
|
+
Component({
|
|
6054
|
+
selector: "s-file-item",
|
|
6055
|
+
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",
|
|
6056
|
+
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;-ms-flex-positive:1;flex-grow:1;-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}}"]
|
|
6057
|
+
})
|
|
6058
|
+
], FileItemComponent);
|
|
6059
|
+
|
|
5840
6060
|
const moment$3 = moment_;
|
|
6061
|
+
let FileUploadService = class FileUploadService {
|
|
6062
|
+
constructor() {
|
|
6063
|
+
this.BASE_URL_FIELD_CUSTOMIZATION = "platform/field_customization";
|
|
6064
|
+
this.TOKEN = new AbortController();
|
|
6065
|
+
}
|
|
6066
|
+
getMetadataCustomField(request) {
|
|
6067
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6068
|
+
return CustomHttpClient.POST(`${this.BASE_URL_FIELD_CUSTOMIZATION}/queries/getFileMetadata`, request, { signal: this.TOKEN.signal });
|
|
6069
|
+
});
|
|
6070
|
+
}
|
|
6071
|
+
};
|
|
6072
|
+
FileUploadService = __decorate([
|
|
6073
|
+
Injectable()
|
|
6074
|
+
], FileUploadService);
|
|
6075
|
+
|
|
6076
|
+
var FileUploadComponent_1;
|
|
6077
|
+
const moment$4 = moment_;
|
|
5841
6078
|
let FileUploadComponent = FileUploadComponent_1 = class FileUploadComponent {
|
|
5842
6079
|
constructor(sanitizer, fileUploadService, translate) {
|
|
5843
6080
|
this.sanitizer = sanitizer;
|
|
@@ -5856,58 +6093,59 @@ let FileUploadComponent = FileUploadComponent_1 = class FileUploadComponent {
|
|
|
5856
6093
|
this.cancelUpload = new EventEmitter();
|
|
5857
6094
|
this.downloadFile = new EventEmitter();
|
|
5858
6095
|
this.validateErrors = new EventEmitter();
|
|
6096
|
+
this.inputValue = "";
|
|
5859
6097
|
this._files = [];
|
|
5860
6098
|
this.ngUsubscribe = new Subject();
|
|
5861
|
-
this.inputValue = "";
|
|
5862
6099
|
}
|
|
5863
6100
|
set files(files) {
|
|
5864
6101
|
var _a;
|
|
5865
6102
|
if (this.showFileUploadDate && ((_a = files[0]) === null || _a === void 0 ? void 0 : _a.objectId)) {
|
|
5866
|
-
this.
|
|
6103
|
+
this._getUploadDate(files);
|
|
5867
6104
|
}
|
|
5868
|
-
this._files = files.map(file => {
|
|
5869
|
-
if (this.
|
|
6105
|
+
this._files = files.map((file) => {
|
|
6106
|
+
if (this._isImage(file)) {
|
|
5870
6107
|
file.objectURL = this.sanitizer.bypassSecurityTrustUrl(window.URL.createObjectURL(file));
|
|
5871
6108
|
}
|
|
5872
6109
|
return file;
|
|
5873
6110
|
});
|
|
5874
6111
|
}
|
|
5875
6112
|
ngOnInit() {
|
|
5876
|
-
this.supportedExtensions = this.supportedExtensions
|
|
5877
|
-
.map(extension => extension.replace(".", "").toLowerCase());
|
|
6113
|
+
this.supportedExtensions = this.supportedExtensions.map((extension) => extension.replace(".", "").toLowerCase());
|
|
5878
6114
|
}
|
|
5879
6115
|
ngOnDestroy() {
|
|
5880
6116
|
this.ngUsubscribe.next();
|
|
5881
6117
|
this.ngUsubscribe.complete();
|
|
5882
6118
|
}
|
|
5883
|
-
ngAfterContentInit() {
|
|
5884
|
-
this.update();
|
|
5885
|
-
}
|
|
5886
|
-
onResize() {
|
|
5887
|
-
this.update();
|
|
5888
|
-
}
|
|
5889
6119
|
onFileSelect(files) {
|
|
5890
6120
|
const newFiles = [];
|
|
5891
6121
|
if (!this.multiple) {
|
|
5892
6122
|
this.files = [];
|
|
5893
6123
|
}
|
|
5894
|
-
if (this.
|
|
6124
|
+
if (this._isFileLimitExceeded(files)) {
|
|
5895
6125
|
this.validateErrors.emit({
|
|
5896
6126
|
files,
|
|
5897
6127
|
validation: ValidateErrors.MAX_FILE_LIMIT,
|
|
5898
6128
|
});
|
|
5899
|
-
this.
|
|
6129
|
+
this._clearFileInput();
|
|
6130
|
+
return;
|
|
6131
|
+
}
|
|
6132
|
+
if (this._isFileCombinedSizeExceeded(files)) {
|
|
6133
|
+
this.validateErrors.emit({
|
|
6134
|
+
files,
|
|
6135
|
+
validation: ValidateErrors.MAX_COMBINED_FILE_SIZE,
|
|
6136
|
+
});
|
|
6137
|
+
this._clearFileInput();
|
|
5900
6138
|
return;
|
|
5901
6139
|
}
|
|
5902
6140
|
for (const file of files) {
|
|
5903
|
-
if (this.
|
|
6141
|
+
if (this._isUnsupportedFileExtension(file)) {
|
|
5904
6142
|
this.validateErrors.emit({
|
|
5905
6143
|
files: [file],
|
|
5906
6144
|
validation: ValidateErrors.UNSUPPORTED_EXTENSION,
|
|
5907
6145
|
});
|
|
5908
6146
|
continue;
|
|
5909
6147
|
}
|
|
5910
|
-
if (this.
|
|
6148
|
+
if (this._isFileSizeExceeded(file)) {
|
|
5911
6149
|
this.validateErrors.emit({
|
|
5912
6150
|
files: [file],
|
|
5913
6151
|
validation: ValidateErrors.MAX_FILE_SIZE,
|
|
@@ -5922,7 +6160,7 @@ let FileUploadComponent = FileUploadComponent_1 = class FileUploadComponent {
|
|
|
5922
6160
|
files: newFiles,
|
|
5923
6161
|
});
|
|
5924
6162
|
}
|
|
5925
|
-
this.
|
|
6163
|
+
this._clearFileInput();
|
|
5926
6164
|
}
|
|
5927
6165
|
onRemoveFile(file) {
|
|
5928
6166
|
const fileIndex = this.files.indexOf(file);
|
|
@@ -5931,12 +6169,13 @@ let FileUploadComponent = FileUploadComponent_1 = class FileUploadComponent {
|
|
|
5931
6169
|
this.removeFile.emit({ file });
|
|
5932
6170
|
}
|
|
5933
6171
|
}
|
|
5934
|
-
onCancelUpload(
|
|
5935
|
-
const
|
|
5936
|
-
if (
|
|
6172
|
+
onCancelUpload(file) {
|
|
6173
|
+
const index = this.files.indexOf(file);
|
|
6174
|
+
if (index != -1) {
|
|
6175
|
+
this.files.splice(index, 1);
|
|
5937
6176
|
this.cancelUpload.emit(index);
|
|
5938
6177
|
}
|
|
5939
|
-
this.
|
|
6178
|
+
this._clearFileInput();
|
|
5940
6179
|
}
|
|
5941
6180
|
onDowloadFile(index) {
|
|
5942
6181
|
this.downloadFile.emit({
|
|
@@ -5947,50 +6186,64 @@ let FileUploadComponent = FileUploadComponent_1 = class FileUploadComponent {
|
|
|
5947
6186
|
get files() {
|
|
5948
6187
|
return this._files;
|
|
5949
6188
|
}
|
|
5950
|
-
|
|
5951
|
-
const windowWidth = window.innerWidth;
|
|
5952
|
-
this.isSmallDevice = windowWidth <= Breakpoints.SM_MAX;
|
|
5953
|
-
}
|
|
5954
|
-
isImage(file) {
|
|
6189
|
+
_isImage(file) {
|
|
5955
6190
|
return /^image\//.test(file.type);
|
|
5956
6191
|
}
|
|
5957
|
-
|
|
6192
|
+
_isFileLimitExceeded(files) {
|
|
5958
6193
|
if (!this.fileLimit) {
|
|
5959
6194
|
return false;
|
|
5960
6195
|
}
|
|
5961
6196
|
return this.files.length + files.length > this.fileLimit;
|
|
5962
6197
|
}
|
|
5963
|
-
|
|
6198
|
+
_isFileCombinedSizeExceeded(files) {
|
|
6199
|
+
if (!this.maxCombinedFileSize) {
|
|
6200
|
+
return false;
|
|
6201
|
+
}
|
|
6202
|
+
const filesList = [...files, ...this.files];
|
|
6203
|
+
const combinedSize = filesList.reduce((combinedSize, file) => combinedSize + file.size, 0);
|
|
6204
|
+
return combinedSize > this.maxCombinedFileSize;
|
|
6205
|
+
}
|
|
6206
|
+
_isFileSizeExceeded(file) {
|
|
5964
6207
|
if (!this.maxFileSize) {
|
|
5965
6208
|
return false;
|
|
5966
6209
|
}
|
|
5967
6210
|
return file.size > this.maxFileSize;
|
|
5968
6211
|
}
|
|
5969
|
-
|
|
6212
|
+
_isUnsupportedFileExtension(file) {
|
|
5970
6213
|
var _a;
|
|
5971
6214
|
if ((_a = this.supportedExtensions) === null || _a === void 0 ? void 0 : _a.length) {
|
|
5972
|
-
const extension = file.name
|
|
6215
|
+
const extension = file.name
|
|
6216
|
+
.split(".")
|
|
6217
|
+
.pop()
|
|
6218
|
+
.toLowerCase();
|
|
5973
6219
|
return !this.supportedExtensions.includes(extension);
|
|
5974
6220
|
}
|
|
5975
6221
|
return false;
|
|
5976
6222
|
}
|
|
5977
|
-
|
|
6223
|
+
_clearFileInput() {
|
|
5978
6224
|
this.inputUpload.nativeElement.value = null;
|
|
5979
6225
|
}
|
|
5980
|
-
|
|
6226
|
+
_getUploadDate(blobFile) {
|
|
5981
6227
|
if (!blobFile) {
|
|
5982
6228
|
return;
|
|
5983
6229
|
}
|
|
5984
|
-
this.fileUploadService
|
|
5985
|
-
.
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
const
|
|
5990
|
-
const
|
|
5991
|
-
const
|
|
5992
|
-
const
|
|
5993
|
-
|
|
6230
|
+
this.fileUploadService
|
|
6231
|
+
.getMetadataCustomField({ objectId: blobFile[0].objectId })
|
|
6232
|
+
.then((metadata) => this._setModifiedDate(metadata));
|
|
6233
|
+
}
|
|
6234
|
+
_setModifiedDate(metadata) {
|
|
6235
|
+
const hour = moment$4(metadata.modified).format("HH");
|
|
6236
|
+
const minutes = moment$4(metadata.modified).format("mm");
|
|
6237
|
+
const day = moment$4(metadata.modified).format("DD");
|
|
6238
|
+
const month = moment$4(metadata.modified).format("MM");
|
|
6239
|
+
const fullYear = moment$4(metadata.modified).format("YYYY");
|
|
6240
|
+
this.modifiedDate = this.translate.instant("platform.angular_components.date_modified_custom_blob", {
|
|
6241
|
+
hour,
|
|
6242
|
+
minutes,
|
|
6243
|
+
day,
|
|
6244
|
+
month,
|
|
6245
|
+
fullYear,
|
|
6246
|
+
});
|
|
5994
6247
|
}
|
|
5995
6248
|
};
|
|
5996
6249
|
FileUploadComponent.nextId = 0;
|
|
@@ -6035,6 +6288,9 @@ __decorate([
|
|
|
6035
6288
|
__decorate([
|
|
6036
6289
|
Input()
|
|
6037
6290
|
], FileUploadComponent.prototype, "maxFileSize", void 0);
|
|
6291
|
+
__decorate([
|
|
6292
|
+
Input()
|
|
6293
|
+
], FileUploadComponent.prototype, "maxCombinedFileSize", void 0);
|
|
6038
6294
|
__decorate([
|
|
6039
6295
|
Input()
|
|
6040
6296
|
], FileUploadComponent.prototype, "fileLimit", void 0);
|
|
@@ -6080,14 +6336,11 @@ __decorate([
|
|
|
6080
6336
|
__decorate([
|
|
6081
6337
|
Output()
|
|
6082
6338
|
], FileUploadComponent.prototype, "validateErrors", void 0);
|
|
6083
|
-
__decorate([
|
|
6084
|
-
HostListener("window:resize")
|
|
6085
|
-
], FileUploadComponent.prototype, "onResize", null);
|
|
6086
6339
|
FileUploadComponent = FileUploadComponent_1 = __decorate([
|
|
6087
6340
|
Component({
|
|
6088
6341
|
selector: "s-file-upload",
|
|
6089
|
-
template: "<div
|
|
6090
|
-
styles: [".
|
|
6342
|
+
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",
|
|
6343
|
+
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
6344
|
})
|
|
6092
6345
|
], FileUploadComponent);
|
|
6093
6346
|
|
|
@@ -6095,15 +6348,22 @@ let FileUploadModule = class FileUploadModule {
|
|
|
6095
6348
|
};
|
|
6096
6349
|
FileUploadModule = __decorate([
|
|
6097
6350
|
NgModule({
|
|
6098
|
-
declarations: [FileUploadComponent],
|
|
6099
6351
|
imports: [
|
|
6100
6352
|
CommonModule,
|
|
6353
|
+
HttpClientModule,
|
|
6101
6354
|
ButtonModule,
|
|
6102
|
-
TooltipModule
|
|
6103
|
-
ProgressBarModule
|
|
6355
|
+
TooltipModule,
|
|
6356
|
+
ProgressBarModule,
|
|
6104
6357
|
TranslateModule,
|
|
6105
6358
|
],
|
|
6106
|
-
|
|
6359
|
+
declarations: [
|
|
6360
|
+
FileUploadComponent,
|
|
6361
|
+
FileItemComponent,
|
|
6362
|
+
],
|
|
6363
|
+
providers: [
|
|
6364
|
+
FileUploadService,
|
|
6365
|
+
LocaleService,
|
|
6366
|
+
],
|
|
6107
6367
|
exports: [FileUploadComponent],
|
|
6108
6368
|
})
|
|
6109
6369
|
], FileUploadModule);
|
|
@@ -7114,7 +7374,7 @@ var EnumBadgeColors;
|
|
|
7114
7374
|
EnumBadgeColors["GRAY"] = "gray";
|
|
7115
7375
|
})(EnumBadgeColors || (EnumBadgeColors = {}));
|
|
7116
7376
|
|
|
7117
|
-
const moment$
|
|
7377
|
+
const moment$5 = moment_;
|
|
7118
7378
|
let TableColumnsComponent = class TableColumnsComponent {
|
|
7119
7379
|
constructor(viewContainerRef, translate, hostProjectConfigs) {
|
|
7120
7380
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -7219,7 +7479,7 @@ let TableColumnsComponent = class TableColumnsComponent {
|
|
|
7219
7479
|
return applyMask(attributeValue, numberConfigs, this.isNumber(attributeValue));
|
|
7220
7480
|
case EnumColumnFieldType.DATE:
|
|
7221
7481
|
const dateFormat = this.getDateFormat(column, locale);
|
|
7222
|
-
return moment$
|
|
7482
|
+
return moment$5(attributeValue).format(dateFormat);
|
|
7223
7483
|
case EnumColumnFieldType.BOOLEAN:
|
|
7224
7484
|
const value = attributeValue ? "yes" : "no";
|
|
7225
7485
|
return this.translate.instant(prefix + value);
|
|
@@ -9068,7 +9328,7 @@ var CustomFieldType;
|
|
|
9068
9328
|
CustomFieldType["Any"] = "Any";
|
|
9069
9329
|
CustomFieldType["Enum"] = "Enum";
|
|
9070
9330
|
})(CustomFieldType || (CustomFieldType = {}));
|
|
9071
|
-
const moment$
|
|
9331
|
+
const moment$6 = moment_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670
|
|
9072
9332
|
let CustomFieldsComponent = CustomFieldsComponent_1 = class CustomFieldsComponent {
|
|
9073
9333
|
constructor(customFieldsService, localeService, sanitizer, translateService, controlContainer) {
|
|
9074
9334
|
this.customFieldsService = customFieldsService;
|
|
@@ -9254,16 +9514,16 @@ let CustomFieldsComponent = CustomFieldsComponent_1 = class CustomFieldsComponen
|
|
|
9254
9514
|
return;
|
|
9255
9515
|
switch (type) {
|
|
9256
9516
|
case FieldType.Date:
|
|
9257
|
-
parsedValues[name] = moment$
|
|
9517
|
+
parsedValues[name] = moment$6(value).toDate();
|
|
9258
9518
|
break;
|
|
9259
9519
|
case FieldType.DateTime:
|
|
9260
|
-
parsedValues[name] = moment$
|
|
9520
|
+
parsedValues[name] = moment$6(value).toDate();
|
|
9261
9521
|
break;
|
|
9262
9522
|
case FieldType.LocalDateTime:
|
|
9263
|
-
parsedValues[name] = moment$
|
|
9523
|
+
parsedValues[name] = moment$6(value, "YYYY-MM-DD[T]HH:mm:ss.SSS").toDate();
|
|
9264
9524
|
break;
|
|
9265
9525
|
case FieldType.Time:
|
|
9266
|
-
parsedValues[name] = moment$
|
|
9526
|
+
parsedValues[name] = moment$6(value, "HH:mm:ss").toDate();
|
|
9267
9527
|
break;
|
|
9268
9528
|
}
|
|
9269
9529
|
});
|
|
@@ -9294,16 +9554,16 @@ let CustomFieldsComponent = CustomFieldsComponent_1 = class CustomFieldsComponen
|
|
|
9294
9554
|
value = new BigNumber(value).toFixed(scale).toString();
|
|
9295
9555
|
break;
|
|
9296
9556
|
case FieldType.Date:
|
|
9297
|
-
value = moment$
|
|
9557
|
+
value = moment$6(value).format("YYYY-MM-DD");
|
|
9298
9558
|
break;
|
|
9299
9559
|
case FieldType.DateTime:
|
|
9300
|
-
value = moment$
|
|
9560
|
+
value = moment$6(value).format();
|
|
9301
9561
|
break;
|
|
9302
9562
|
case FieldType.LocalDateTime:
|
|
9303
|
-
value = moment$
|
|
9563
|
+
value = moment$6(value).format("YYYY-MM-DD[T]HH:mm:ss.SSS");
|
|
9304
9564
|
break;
|
|
9305
9565
|
case FieldType.Time:
|
|
9306
|
-
value = moment$
|
|
9566
|
+
value = moment$6(value).format("HH:mm:ss");
|
|
9307
9567
|
break;
|
|
9308
9568
|
}
|
|
9309
9569
|
}
|
|
@@ -9696,7 +9956,7 @@ EditableOverlayModule = __decorate([
|
|
|
9696
9956
|
})
|
|
9697
9957
|
], EditableOverlayModule);
|
|
9698
9958
|
|
|
9699
|
-
const moment$
|
|
9959
|
+
const moment$7 = moment_;
|
|
9700
9960
|
const YEAR = "year";
|
|
9701
9961
|
const MONTH = "month";
|
|
9702
9962
|
const DAY = "day";
|
|
@@ -9706,19 +9966,19 @@ const SECOND = "second";
|
|
|
9706
9966
|
const MILLISECOND = "millisecond";
|
|
9707
9967
|
class DateUtils {
|
|
9708
9968
|
static parse(date) {
|
|
9709
|
-
return moment$
|
|
9969
|
+
return moment$7(date).toDate();
|
|
9710
9970
|
}
|
|
9711
9971
|
static toString(date, with_time = false) {
|
|
9712
|
-
let result = with_time ? moment$
|
|
9972
|
+
let result = with_time ? moment$7(date, "YYYY-MM-DD hh:mm:ss.SSS") : moment$7(date, "YYYY-MM-DD");
|
|
9713
9973
|
return result.toString();
|
|
9714
9974
|
}
|
|
9715
9975
|
static format(date, formatString = "YYYY-MM-DD HH:mm:ss.SSS", lang = "en") {
|
|
9716
|
-
const monthName = moment$
|
|
9976
|
+
const monthName = moment$7(date)
|
|
9717
9977
|
.locale(lang)
|
|
9718
9978
|
.startOf("month")
|
|
9719
9979
|
.format("MMMM");
|
|
9720
9980
|
const monthNameCapitalized = monthName.charAt(0).toUpperCase() + monthName.slice(1);
|
|
9721
|
-
const dateToFormat = moment$
|
|
9981
|
+
const dateToFormat = moment$7(date).locale(lang);
|
|
9722
9982
|
const format_map = {
|
|
9723
9983
|
YYYY: dateToFormat.format("YYYY"),
|
|
9724
9984
|
MM: dateToFormat.format("MM"),
|
|
@@ -9748,13 +10008,13 @@ class DateUtils {
|
|
|
9748
10008
|
return str;
|
|
9749
10009
|
}
|
|
9750
10010
|
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$
|
|
10011
|
+
const milliseconds = moment$7(fistDate).diff(secondDate, MILLISECOND);
|
|
10012
|
+
const seconds = moment$7(fistDate).diff(secondDate, SECOND);
|
|
10013
|
+
const minutes = moment$7(fistDate).diff(secondDate, MINUTE);
|
|
10014
|
+
const hours = moment$7(fistDate).diff(secondDate, HOUR);
|
|
10015
|
+
const days = moment$7(fistDate).diff(secondDate, DAY);
|
|
10016
|
+
const months = moment$7(fistDate).diff(secondDate, MONTH);
|
|
10017
|
+
const years = moment$7(fistDate).diff(secondDate, YEAR);
|
|
9758
10018
|
if (!scale.endsWith("s")) {
|
|
9759
10019
|
scale += "s";
|
|
9760
10020
|
}
|
|
@@ -9769,14 +10029,14 @@ class DateUtils {
|
|
|
9769
10029
|
}[scale]);
|
|
9770
10030
|
}
|
|
9771
10031
|
static today() {
|
|
9772
|
-
const dateStr = moment$
|
|
10032
|
+
const dateStr = moment$7().format("YYY-MM-DD");
|
|
9773
10033
|
return new Date(dateStr);
|
|
9774
10034
|
}
|
|
9775
10035
|
static now() {
|
|
9776
|
-
return moment$
|
|
10036
|
+
return moment$7().toDate();
|
|
9777
10037
|
}
|
|
9778
10038
|
static add(date, quantity, scale) {
|
|
9779
|
-
return moment$
|
|
10039
|
+
return moment$7(date).add(quantity, scale).toDate();
|
|
9780
10040
|
}
|
|
9781
10041
|
static startOf(date, scale) {
|
|
9782
10042
|
const scores = {
|
|
@@ -9804,7 +10064,7 @@ class DateUtils {
|
|
|
9804
10064
|
return new Date(vals[0], vals[1], vals[2], vals[3], vals[4], vals[5], vals[6]);
|
|
9805
10065
|
}
|
|
9806
10066
|
static clone(date) {
|
|
9807
|
-
return moment$
|
|
10067
|
+
return moment$7(date).toDate();
|
|
9808
10068
|
}
|
|
9809
10069
|
static getDateValues(date) {
|
|
9810
10070
|
return [
|
|
@@ -9818,7 +10078,7 @@ class DateUtils {
|
|
|
9818
10078
|
];
|
|
9819
10079
|
}
|
|
9820
10080
|
static getDaysInMonth(date) {
|
|
9821
|
-
return moment$
|
|
10081
|
+
return moment$7(date, "YYYY-MM").daysInMonth();
|
|
9822
10082
|
}
|
|
9823
10083
|
}
|
|
9824
10084
|
|
|
@@ -13150,138 +13410,6 @@ ProfilePicturePickerModule = __decorate([
|
|
|
13150
13410
|
})
|
|
13151
13411
|
], ProfilePicturePickerModule);
|
|
13152
13412
|
|
|
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
13413
|
let PanelComponent = class PanelComponent {
|
|
13286
13414
|
constructor() {
|
|
13287
13415
|
this.toggleable = true;
|
|
@@ -15638,5 +15766,5 @@ const fallback = {
|
|
|
15638
15766
|
* Generated bundle index. Do not edit.
|
|
15639
15767
|
*/
|
|
15640
15768
|
|
|
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,
|
|
15769
|
+
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, CurrencyFieldComponent as ɵba, DynamicFieldComponent as ɵbb, DynamicFormDirective as ɵbc, FieldsetComponent as ɵbd, FileUploadComponent$1 as ɵbe, LookupFieldComponent as ɵbf, NumberFieldComponent as ɵbg, PasswordFieldComponent as ɵbh, RadioButtonComponent as ɵbi, RowComponent as ɵbj, SectionComponent as ɵbk, SelectFieldComponent as ɵbl, SliderFieldComponent as ɵbm, TextAreaFieldComponent as ɵbn, TextAreaIAFieldComponent as ɵbo, IAssistService as ɵbp, TextFieldComponent as ɵbq, DecimalField as ɵbs, SideTableComponent as ɵbt, ThumbnailService as ɵbu, InfiniteScrollModule as ɵbv, InfiniteScrollDirective as ɵbw, StructureModule as ɵbx, HeaderComponent as ɵby, FooterComponent as ɵbz, CustomTranslationsModule as ɵc, KanbanEventService as ɵca, KanbanItemComponent as ɵcb, KanbanColumnComponent as ɵcc, KanbanItemDraggingComponent as ɵcd, NumberLocaleOptions as ɵce, BorderButtonModule as ɵcf, BorderButtonComponent as ɵcg, SelectButtonItemComponent as ɵch, SlidePanelService as ɵci, TieredMenuEventService as ɵcj, TieredMenuService as ɵck, TieredMenuComponent as ɵcl, TieredMenuNestedComponent as ɵcm, TieredMenuItemComponent as ɵcn, TieredMenuDividerComponent as ɵco, TimelineItemModule as ɵcp, TimelineIconItemComponent as ɵcq, HorizontalTimelineModule as ɵcr, HorizontalTimelineComponent as ɵcs, VerticalTimelineModule as ɵct, VerticalTimelineComponent as ɵcu, RangeLineComponent as ɵcv, CollapseOptionComponent as ɵcw, CollapsedItemsComponent as ɵcx, VerticalItemsComponent as ɵcy, 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, LocaleService as ɵp, InfoSignComponent as ɵq, TableColumnsComponent as ɵr, TablePagingComponent as ɵs, AutocompleteFieldComponent as ɵt, BignumberFieldComponent as ɵu, BooleanFieldComponent as ɵv, BooleanSwitchFieldComponent as ɵw, CalendarFieldComponent as ɵx, ChipsFieldComponent as ɵy, CountryPhonePickerFieldComponent as ɵz };
|
|
15642
15770
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|