@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, __extends, __spread, __assign, __awaiter, __generator, __pa
|
|
|
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';
|
|
@@ -6080,22 +6079,144 @@ var EmptyStateModule = /** @class */ (function () {
|
|
|
6080
6079
|
return EmptyStateModule;
|
|
6081
6080
|
}());
|
|
6082
6081
|
|
|
6083
|
-
var
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6082
|
+
var ProgressBarColors;
|
|
6083
|
+
(function (ProgressBarColors) {
|
|
6084
|
+
ProgressBarColors["Blue"] = "blue";
|
|
6085
|
+
ProgressBarColors["Green"] = "green";
|
|
6086
|
+
ProgressBarColors["Red"] = "red";
|
|
6087
|
+
ProgressBarColors["Yellow"] = "yellow";
|
|
6088
|
+
})(ProgressBarColors || (ProgressBarColors = {}));
|
|
6089
|
+
|
|
6090
|
+
var ProgressBarMode;
|
|
6091
|
+
(function (ProgressBarMode) {
|
|
6092
|
+
ProgressBarMode["Determinate"] = "determinate";
|
|
6093
|
+
ProgressBarMode["Indeterminate"] = "indeterminate";
|
|
6094
|
+
})(ProgressBarMode || (ProgressBarMode = {}));
|
|
6095
|
+
|
|
6096
|
+
var ProgressBarComponent = /** @class */ (function () {
|
|
6097
|
+
function ProgressBarComponent() {
|
|
6098
|
+
this.showValue = true;
|
|
6099
|
+
this.mode = ProgressBarMode.Determinate;
|
|
6087
6100
|
}
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
return __generator(this, function (_a) {
|
|
6091
|
-
return [2 /*return*/, CustomHttpClient.POST(this.BASE_URL_FIELD_CUSTOMIZATION + "/queries/getFileMetadata", request, { signal: this.TOKEN.signal })];
|
|
6092
|
-
});
|
|
6093
|
-
});
|
|
6101
|
+
ProgressBarComponent.prototype.ngOnInit = function () {
|
|
6102
|
+
this.validateInputs();
|
|
6094
6103
|
};
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6104
|
+
ProgressBarComponent.prototype.validateInputs = function () {
|
|
6105
|
+
if (this.value < 0 || this.value > 100) {
|
|
6106
|
+
throw new Error("Invalid value for value");
|
|
6107
|
+
}
|
|
6108
|
+
if (this.targetValue < 0 || this.targetValue > 100) {
|
|
6109
|
+
throw new Error("Invalid value for targetValue");
|
|
6110
|
+
}
|
|
6111
|
+
if (this.mode === ProgressBarMode.Indeterminate && (this.value || this.targetValue || this.targetLabel)) {
|
|
6112
|
+
throw new Error("When the mode is indeterminate, the value, targetValue and targetLabel parameters are not expected.");
|
|
6113
|
+
}
|
|
6114
|
+
};
|
|
6115
|
+
__decorate([
|
|
6116
|
+
Input()
|
|
6117
|
+
], ProgressBarComponent.prototype, "value", void 0);
|
|
6118
|
+
__decorate([
|
|
6119
|
+
Input()
|
|
6120
|
+
], ProgressBarComponent.prototype, "targetValue", void 0);
|
|
6121
|
+
__decorate([
|
|
6122
|
+
Input()
|
|
6123
|
+
], ProgressBarComponent.prototype, "label", void 0);
|
|
6124
|
+
__decorate([
|
|
6125
|
+
Input()
|
|
6126
|
+
], ProgressBarComponent.prototype, "targetLabel", void 0);
|
|
6127
|
+
__decorate([
|
|
6128
|
+
Input()
|
|
6129
|
+
], ProgressBarComponent.prototype, "activeColor", void 0);
|
|
6130
|
+
__decorate([
|
|
6131
|
+
Input()
|
|
6132
|
+
], ProgressBarComponent.prototype, "showValue", void 0);
|
|
6133
|
+
__decorate([
|
|
6134
|
+
Input()
|
|
6135
|
+
], ProgressBarComponent.prototype, "mode", void 0);
|
|
6136
|
+
ProgressBarComponent = __decorate([
|
|
6137
|
+
Component({
|
|
6138
|
+
selector: "s-progressbar",
|
|
6139
|
+
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>",
|
|
6140
|
+
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}"]
|
|
6141
|
+
})
|
|
6142
|
+
], ProgressBarComponent);
|
|
6143
|
+
return ProgressBarComponent;
|
|
6144
|
+
}());
|
|
6145
|
+
|
|
6146
|
+
var ProgressBarDeterminateComponent = /** @class */ (function () {
|
|
6147
|
+
function ProgressBarDeterminateComponent() {
|
|
6148
|
+
this.showValue = true;
|
|
6149
|
+
}
|
|
6150
|
+
ProgressBarDeterminateComponent.prototype.ngOnInit = function () {
|
|
6151
|
+
this.validateValues();
|
|
6152
|
+
};
|
|
6153
|
+
ProgressBarDeterminateComponent.prototype.validateValues = function () {
|
|
6154
|
+
if (this.value < 0 || this.value > 100) {
|
|
6155
|
+
throw new Error("Invalid value for value");
|
|
6156
|
+
}
|
|
6157
|
+
if (this.targetValue < 0 || this.targetValue > 100) {
|
|
6158
|
+
throw new Error("Invalid value for targetValue");
|
|
6159
|
+
}
|
|
6160
|
+
};
|
|
6161
|
+
__decorate([
|
|
6162
|
+
Input()
|
|
6163
|
+
], ProgressBarDeterminateComponent.prototype, "value", void 0);
|
|
6164
|
+
__decorate([
|
|
6165
|
+
Input()
|
|
6166
|
+
], ProgressBarDeterminateComponent.prototype, "targetValue", void 0);
|
|
6167
|
+
__decorate([
|
|
6168
|
+
Input()
|
|
6169
|
+
], ProgressBarDeterminateComponent.prototype, "targetLabel", void 0);
|
|
6170
|
+
__decorate([
|
|
6171
|
+
Input()
|
|
6172
|
+
], ProgressBarDeterminateComponent.prototype, "activeColor", void 0);
|
|
6173
|
+
__decorate([
|
|
6174
|
+
Input()
|
|
6175
|
+
], ProgressBarDeterminateComponent.prototype, "showValue", void 0);
|
|
6176
|
+
ProgressBarDeterminateComponent = __decorate([
|
|
6177
|
+
Component({
|
|
6178
|
+
selector: "s-progressbar-determinate",
|
|
6179
|
+
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 ",
|
|
6180
|
+
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}"]
|
|
6181
|
+
})
|
|
6182
|
+
], ProgressBarDeterminateComponent);
|
|
6183
|
+
return ProgressBarDeterminateComponent;
|
|
6184
|
+
}());
|
|
6185
|
+
|
|
6186
|
+
var ProgressBarIndeterminateComponent = /** @class */ (function () {
|
|
6187
|
+
function ProgressBarIndeterminateComponent() {
|
|
6188
|
+
}
|
|
6189
|
+
__decorate([
|
|
6190
|
+
Input()
|
|
6191
|
+
], ProgressBarIndeterminateComponent.prototype, "activeColor", void 0);
|
|
6192
|
+
__decorate([
|
|
6193
|
+
Input()
|
|
6194
|
+
], ProgressBarIndeterminateComponent.prototype, "label", void 0);
|
|
6195
|
+
ProgressBarIndeterminateComponent = __decorate([
|
|
6196
|
+
Component({
|
|
6197
|
+
selector: "s-progressbar-indeterminate",
|
|
6198
|
+
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",
|
|
6199
|
+
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%)}}"]
|
|
6200
|
+
})
|
|
6201
|
+
], ProgressBarIndeterminateComponent);
|
|
6202
|
+
return ProgressBarIndeterminateComponent;
|
|
6203
|
+
}());
|
|
6204
|
+
|
|
6205
|
+
var ProgressBarModule = /** @class */ (function () {
|
|
6206
|
+
function ProgressBarModule() {
|
|
6207
|
+
}
|
|
6208
|
+
ProgressBarModule = __decorate([
|
|
6209
|
+
NgModule({
|
|
6210
|
+
imports: [CommonModule],
|
|
6211
|
+
declarations: [
|
|
6212
|
+
ProgressBarComponent,
|
|
6213
|
+
ProgressBarDeterminateComponent,
|
|
6214
|
+
ProgressBarIndeterminateComponent,
|
|
6215
|
+
],
|
|
6216
|
+
exports: [ProgressBarComponent],
|
|
6217
|
+
})
|
|
6218
|
+
], ProgressBarModule);
|
|
6219
|
+
return ProgressBarModule;
|
|
6099
6220
|
}());
|
|
6100
6221
|
|
|
6101
6222
|
var Breakpoints = {
|
|
@@ -6207,6 +6328,7 @@ var ExportUtils = /** @class */ (function () {
|
|
|
6207
6328
|
var ValidateErrors;
|
|
6208
6329
|
(function (ValidateErrors) {
|
|
6209
6330
|
ValidateErrors["MAX_FILE_SIZE"] = "MAX_FILE_SIZE";
|
|
6331
|
+
ValidateErrors["MAX_COMBINED_FILE_SIZE"] = "MAX_COMBINED_FILE_SIZE";
|
|
6210
6332
|
ValidateErrors["MAX_FILE_LIMIT"] = "MAX_FILE_LIMIT";
|
|
6211
6333
|
ValidateErrors["UNSUPPORTED_EXTENSION"] = "UNSUPPORTED_EXTENSION";
|
|
6212
6334
|
})(ValidateErrors || (ValidateErrors = {}));
|
|
@@ -6223,7 +6345,132 @@ var ALL_PERMISSIONS = [
|
|
|
6223
6345
|
FileUploadPermissions.Remove,
|
|
6224
6346
|
];
|
|
6225
6347
|
|
|
6348
|
+
var StorageUnits = {
|
|
6349
|
+
KB: 1024,
|
|
6350
|
+
MB: Math.pow(1024, 2),
|
|
6351
|
+
GB: Math.pow(1024, 3),
|
|
6352
|
+
};
|
|
6353
|
+
|
|
6354
|
+
var FileItemComponent = /** @class */ (function () {
|
|
6355
|
+
function FileItemComponent(localeService) {
|
|
6356
|
+
this.localeService = localeService;
|
|
6357
|
+
this.canReadFiles = true;
|
|
6358
|
+
this.canRemoveFiles = true;
|
|
6359
|
+
this.cancelUpload = new EventEmitter();
|
|
6360
|
+
this.removeFile = new EventEmitter();
|
|
6361
|
+
}
|
|
6362
|
+
FileItemComponent.prototype.ngOnInit = function () {
|
|
6363
|
+
this._getLocale();
|
|
6364
|
+
};
|
|
6365
|
+
FileItemComponent.prototype.ngAfterContentInit = function () {
|
|
6366
|
+
this._update();
|
|
6367
|
+
};
|
|
6368
|
+
FileItemComponent.prototype.onResize = function () {
|
|
6369
|
+
this._update();
|
|
6370
|
+
};
|
|
6371
|
+
FileItemComponent.prototype._update = function () {
|
|
6372
|
+
var windowWidth = window.innerWidth;
|
|
6373
|
+
this.isSmallDevice = windowWidth <= Breakpoints.SM_MAX;
|
|
6374
|
+
};
|
|
6375
|
+
FileItemComponent.prototype.simplifySize = function (size) {
|
|
6376
|
+
var unit;
|
|
6377
|
+
var convertedSize;
|
|
6378
|
+
if (size < StorageUnits.KB) {
|
|
6379
|
+
convertedSize = size;
|
|
6380
|
+
unit = "bytes";
|
|
6381
|
+
}
|
|
6382
|
+
else if (size < StorageUnits.MB) {
|
|
6383
|
+
convertedSize = size / StorageUnits.KB;
|
|
6384
|
+
unit = "KB";
|
|
6385
|
+
}
|
|
6386
|
+
else if (size < StorageUnits.GB) {
|
|
6387
|
+
convertedSize = size / StorageUnits.MB;
|
|
6388
|
+
unit = "MB";
|
|
6389
|
+
}
|
|
6390
|
+
else {
|
|
6391
|
+
convertedSize = size / StorageUnits.GB;
|
|
6392
|
+
unit = "GB";
|
|
6393
|
+
}
|
|
6394
|
+
return convertedSize.toLocaleString(this._locale, { maximumFractionDigits: 2 }) + " " + unit;
|
|
6395
|
+
};
|
|
6396
|
+
FileItemComponent.prototype._getLocale = function () {
|
|
6397
|
+
var _this = this;
|
|
6398
|
+
this.localeService
|
|
6399
|
+
.getLocale()
|
|
6400
|
+
.pipe(first())
|
|
6401
|
+
.subscribe(function (locale) {
|
|
6402
|
+
_this._locale = locale;
|
|
6403
|
+
});
|
|
6404
|
+
};
|
|
6405
|
+
FileItemComponent.ctorParameters = function () { return [
|
|
6406
|
+
{ type: LocaleService }
|
|
6407
|
+
]; };
|
|
6408
|
+
__decorate([
|
|
6409
|
+
Input()
|
|
6410
|
+
], FileItemComponent.prototype, "id", void 0);
|
|
6411
|
+
__decorate([
|
|
6412
|
+
Input()
|
|
6413
|
+
], FileItemComponent.prototype, "file", void 0);
|
|
6414
|
+
__decorate([
|
|
6415
|
+
Input()
|
|
6416
|
+
], FileItemComponent.prototype, "canReadFiles", void 0);
|
|
6417
|
+
__decorate([
|
|
6418
|
+
Input()
|
|
6419
|
+
], FileItemComponent.prototype, "canRemoveFiles", void 0);
|
|
6420
|
+
__decorate([
|
|
6421
|
+
Input()
|
|
6422
|
+
], FileItemComponent.prototype, "cancelLabel", void 0);
|
|
6423
|
+
__decorate([
|
|
6424
|
+
Input()
|
|
6425
|
+
], FileItemComponent.prototype, "removeLabel", void 0);
|
|
6426
|
+
__decorate([
|
|
6427
|
+
Input()
|
|
6428
|
+
], FileItemComponent.prototype, "ariaLabelProgress", void 0);
|
|
6429
|
+
__decorate([
|
|
6430
|
+
Input()
|
|
6431
|
+
], FileItemComponent.prototype, "successTooltip", void 0);
|
|
6432
|
+
__decorate([
|
|
6433
|
+
Input()
|
|
6434
|
+
], FileItemComponent.prototype, "ariaLabelSuccess", void 0);
|
|
6435
|
+
__decorate([
|
|
6436
|
+
Output()
|
|
6437
|
+
], FileItemComponent.prototype, "cancelUpload", void 0);
|
|
6438
|
+
__decorate([
|
|
6439
|
+
Output()
|
|
6440
|
+
], FileItemComponent.prototype, "removeFile", void 0);
|
|
6441
|
+
__decorate([
|
|
6442
|
+
HostListener("window:resize")
|
|
6443
|
+
], FileItemComponent.prototype, "onResize", null);
|
|
6444
|
+
FileItemComponent = __decorate([
|
|
6445
|
+
Component({
|
|
6446
|
+
selector: "s-file-item",
|
|
6447
|
+
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",
|
|
6448
|
+
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}}"]
|
|
6449
|
+
})
|
|
6450
|
+
], FileItemComponent);
|
|
6451
|
+
return FileItemComponent;
|
|
6452
|
+
}());
|
|
6453
|
+
|
|
6226
6454
|
var moment$3 = moment_;
|
|
6455
|
+
var FileUploadService = /** @class */ (function () {
|
|
6456
|
+
function FileUploadService() {
|
|
6457
|
+
this.BASE_URL_FIELD_CUSTOMIZATION = "platform/field_customization";
|
|
6458
|
+
this.TOKEN = new AbortController();
|
|
6459
|
+
}
|
|
6460
|
+
FileUploadService.prototype.getMetadataCustomField = function (request) {
|
|
6461
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6462
|
+
return __generator(this, function (_a) {
|
|
6463
|
+
return [2 /*return*/, CustomHttpClient.POST(this.BASE_URL_FIELD_CUSTOMIZATION + "/queries/getFileMetadata", request, { signal: this.TOKEN.signal })];
|
|
6464
|
+
});
|
|
6465
|
+
});
|
|
6466
|
+
};
|
|
6467
|
+
FileUploadService = __decorate([
|
|
6468
|
+
Injectable()
|
|
6469
|
+
], FileUploadService);
|
|
6470
|
+
return FileUploadService;
|
|
6471
|
+
}());
|
|
6472
|
+
|
|
6473
|
+
var moment$4 = moment_;
|
|
6227
6474
|
var FileUploadComponent = /** @class */ (function () {
|
|
6228
6475
|
function FileUploadComponent(sanitizer, fileUploadService, translate) {
|
|
6229
6476
|
this.sanitizer = sanitizer;
|
|
@@ -6242,9 +6489,9 @@ var FileUploadComponent = /** @class */ (function () {
|
|
|
6242
6489
|
this.cancelUpload = new EventEmitter();
|
|
6243
6490
|
this.downloadFile = new EventEmitter();
|
|
6244
6491
|
this.validateErrors = new EventEmitter();
|
|
6492
|
+
this.inputValue = "";
|
|
6245
6493
|
this._files = [];
|
|
6246
6494
|
this.ngUsubscribe = new Subject();
|
|
6247
|
-
this.inputValue = "";
|
|
6248
6495
|
}
|
|
6249
6496
|
FileUploadComponent_1 = FileUploadComponent;
|
|
6250
6497
|
Object.defineProperty(FileUploadComponent.prototype, "files", {
|
|
@@ -6255,10 +6502,10 @@ var FileUploadComponent = /** @class */ (function () {
|
|
|
6255
6502
|
var _this = this;
|
|
6256
6503
|
var _a;
|
|
6257
6504
|
if (this.showFileUploadDate && ((_a = files[0]) === null || _a === void 0 ? void 0 : _a.objectId)) {
|
|
6258
|
-
this.
|
|
6505
|
+
this._getUploadDate(files);
|
|
6259
6506
|
}
|
|
6260
6507
|
this._files = files.map(function (file) {
|
|
6261
|
-
if (_this.
|
|
6508
|
+
if (_this._isImage(file)) {
|
|
6262
6509
|
file.objectURL = _this.sanitizer.bypassSecurityTrustUrl(window.URL.createObjectURL(file));
|
|
6263
6510
|
}
|
|
6264
6511
|
return file;
|
|
@@ -6268,44 +6515,45 @@ var FileUploadComponent = /** @class */ (function () {
|
|
|
6268
6515
|
configurable: true
|
|
6269
6516
|
});
|
|
6270
6517
|
FileUploadComponent.prototype.ngOnInit = function () {
|
|
6271
|
-
this.supportedExtensions = this.supportedExtensions
|
|
6272
|
-
.map(function (extension) { return extension.replace(".", "").toLowerCase(); });
|
|
6518
|
+
this.supportedExtensions = this.supportedExtensions.map(function (extension) { return extension.replace(".", "").toLowerCase(); });
|
|
6273
6519
|
};
|
|
6274
6520
|
FileUploadComponent.prototype.ngOnDestroy = function () {
|
|
6275
6521
|
this.ngUsubscribe.next();
|
|
6276
6522
|
this.ngUsubscribe.complete();
|
|
6277
6523
|
};
|
|
6278
|
-
FileUploadComponent.prototype.ngAfterContentInit = function () {
|
|
6279
|
-
this.update();
|
|
6280
|
-
};
|
|
6281
|
-
FileUploadComponent.prototype.onResize = function () {
|
|
6282
|
-
this.update();
|
|
6283
|
-
};
|
|
6284
6524
|
FileUploadComponent.prototype.onFileSelect = function (files) {
|
|
6285
6525
|
var e_1, _a;
|
|
6286
6526
|
var newFiles = [];
|
|
6287
6527
|
if (!this.multiple) {
|
|
6288
6528
|
this.files = [];
|
|
6289
6529
|
}
|
|
6290
|
-
if (this.
|
|
6530
|
+
if (this._isFileLimitExceeded(files)) {
|
|
6291
6531
|
this.validateErrors.emit({
|
|
6292
6532
|
files: files,
|
|
6293
6533
|
validation: ValidateErrors.MAX_FILE_LIMIT,
|
|
6294
6534
|
});
|
|
6295
|
-
this.
|
|
6535
|
+
this._clearFileInput();
|
|
6536
|
+
return;
|
|
6537
|
+
}
|
|
6538
|
+
if (this._isFileCombinedSizeExceeded(files)) {
|
|
6539
|
+
this.validateErrors.emit({
|
|
6540
|
+
files: files,
|
|
6541
|
+
validation: ValidateErrors.MAX_COMBINED_FILE_SIZE,
|
|
6542
|
+
});
|
|
6543
|
+
this._clearFileInput();
|
|
6296
6544
|
return;
|
|
6297
6545
|
}
|
|
6298
6546
|
try {
|
|
6299
6547
|
for (var files_1 = __values(files), files_1_1 = files_1.next(); !files_1_1.done; files_1_1 = files_1.next()) {
|
|
6300
6548
|
var file = files_1_1.value;
|
|
6301
|
-
if (this.
|
|
6549
|
+
if (this._isUnsupportedFileExtension(file)) {
|
|
6302
6550
|
this.validateErrors.emit({
|
|
6303
6551
|
files: [file],
|
|
6304
6552
|
validation: ValidateErrors.UNSUPPORTED_EXTENSION,
|
|
6305
6553
|
});
|
|
6306
6554
|
continue;
|
|
6307
6555
|
}
|
|
6308
|
-
if (this.
|
|
6556
|
+
if (this._isFileSizeExceeded(file)) {
|
|
6309
6557
|
this.validateErrors.emit({
|
|
6310
6558
|
files: [file],
|
|
6311
6559
|
validation: ValidateErrors.MAX_FILE_SIZE,
|
|
@@ -6328,7 +6576,7 @@ var FileUploadComponent = /** @class */ (function () {
|
|
|
6328
6576
|
files: newFiles,
|
|
6329
6577
|
});
|
|
6330
6578
|
}
|
|
6331
|
-
this.
|
|
6579
|
+
this._clearFileInput();
|
|
6332
6580
|
};
|
|
6333
6581
|
FileUploadComponent.prototype.onRemoveFile = function (file) {
|
|
6334
6582
|
var fileIndex = this.files.indexOf(file);
|
|
@@ -6337,12 +6585,13 @@ var FileUploadComponent = /** @class */ (function () {
|
|
|
6337
6585
|
this.removeFile.emit({ file: file });
|
|
6338
6586
|
}
|
|
6339
6587
|
};
|
|
6340
|
-
FileUploadComponent.prototype.onCancelUpload = function (
|
|
6341
|
-
var
|
|
6342
|
-
if (
|
|
6588
|
+
FileUploadComponent.prototype.onCancelUpload = function (file) {
|
|
6589
|
+
var index = this.files.indexOf(file);
|
|
6590
|
+
if (index != -1) {
|
|
6591
|
+
this.files.splice(index, 1);
|
|
6343
6592
|
this.cancelUpload.emit(index);
|
|
6344
6593
|
}
|
|
6345
|
-
this.
|
|
6594
|
+
this._clearFileInput();
|
|
6346
6595
|
};
|
|
6347
6596
|
FileUploadComponent.prototype.onDowloadFile = function (index) {
|
|
6348
6597
|
this.downloadFile.emit({
|
|
@@ -6350,51 +6599,65 @@ var FileUploadComponent = /** @class */ (function () {
|
|
|
6350
6599
|
anchor: this.anchor,
|
|
6351
6600
|
});
|
|
6352
6601
|
};
|
|
6353
|
-
FileUploadComponent.prototype.
|
|
6354
|
-
var windowWidth = window.innerWidth;
|
|
6355
|
-
this.isSmallDevice = windowWidth <= Breakpoints.SM_MAX;
|
|
6356
|
-
};
|
|
6357
|
-
FileUploadComponent.prototype.isImage = function (file) {
|
|
6602
|
+
FileUploadComponent.prototype._isImage = function (file) {
|
|
6358
6603
|
return /^image\//.test(file.type);
|
|
6359
6604
|
};
|
|
6360
|
-
FileUploadComponent.prototype.
|
|
6605
|
+
FileUploadComponent.prototype._isFileLimitExceeded = function (files) {
|
|
6361
6606
|
if (!this.fileLimit) {
|
|
6362
6607
|
return false;
|
|
6363
6608
|
}
|
|
6364
6609
|
return this.files.length + files.length > this.fileLimit;
|
|
6365
6610
|
};
|
|
6366
|
-
FileUploadComponent.prototype.
|
|
6611
|
+
FileUploadComponent.prototype._isFileCombinedSizeExceeded = function (files) {
|
|
6612
|
+
if (!this.maxCombinedFileSize) {
|
|
6613
|
+
return false;
|
|
6614
|
+
}
|
|
6615
|
+
var filesList = __spread(files, this.files);
|
|
6616
|
+
var combinedSize = filesList.reduce(function (combinedSize, file) { return combinedSize + file.size; }, 0);
|
|
6617
|
+
return combinedSize > this.maxCombinedFileSize;
|
|
6618
|
+
};
|
|
6619
|
+
FileUploadComponent.prototype._isFileSizeExceeded = function (file) {
|
|
6367
6620
|
if (!this.maxFileSize) {
|
|
6368
6621
|
return false;
|
|
6369
6622
|
}
|
|
6370
6623
|
return file.size > this.maxFileSize;
|
|
6371
6624
|
};
|
|
6372
|
-
FileUploadComponent.prototype.
|
|
6625
|
+
FileUploadComponent.prototype._isUnsupportedFileExtension = function (file) {
|
|
6373
6626
|
var _a;
|
|
6374
6627
|
if ((_a = this.supportedExtensions) === null || _a === void 0 ? void 0 : _a.length) {
|
|
6375
|
-
var extension = file.name
|
|
6628
|
+
var extension = file.name
|
|
6629
|
+
.split(".")
|
|
6630
|
+
.pop()
|
|
6631
|
+
.toLowerCase();
|
|
6376
6632
|
return !this.supportedExtensions.includes(extension);
|
|
6377
6633
|
}
|
|
6378
6634
|
return false;
|
|
6379
6635
|
};
|
|
6380
|
-
FileUploadComponent.prototype.
|
|
6636
|
+
FileUploadComponent.prototype._clearFileInput = function () {
|
|
6381
6637
|
this.inputUpload.nativeElement.value = null;
|
|
6382
6638
|
};
|
|
6383
|
-
FileUploadComponent.prototype.
|
|
6639
|
+
FileUploadComponent.prototype._getUploadDate = function (blobFile) {
|
|
6384
6640
|
var _this = this;
|
|
6385
6641
|
if (!blobFile) {
|
|
6386
6642
|
return;
|
|
6387
6643
|
}
|
|
6388
|
-
this.fileUploadService
|
|
6389
|
-
.
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
var
|
|
6394
|
-
var
|
|
6395
|
-
var
|
|
6396
|
-
var
|
|
6397
|
-
|
|
6644
|
+
this.fileUploadService
|
|
6645
|
+
.getMetadataCustomField({ objectId: blobFile[0].objectId })
|
|
6646
|
+
.then(function (metadata) { return _this._setModifiedDate(metadata); });
|
|
6647
|
+
};
|
|
6648
|
+
FileUploadComponent.prototype._setModifiedDate = function (metadata) {
|
|
6649
|
+
var hour = moment$4(metadata.modified).format("HH");
|
|
6650
|
+
var minutes = moment$4(metadata.modified).format("mm");
|
|
6651
|
+
var day = moment$4(metadata.modified).format("DD");
|
|
6652
|
+
var month = moment$4(metadata.modified).format("MM");
|
|
6653
|
+
var fullYear = moment$4(metadata.modified).format("YYYY");
|
|
6654
|
+
this.modifiedDate = this.translate.instant("platform.angular_components.date_modified_custom_blob", {
|
|
6655
|
+
hour: hour,
|
|
6656
|
+
minutes: minutes,
|
|
6657
|
+
day: day,
|
|
6658
|
+
month: month,
|
|
6659
|
+
fullYear: fullYear,
|
|
6660
|
+
});
|
|
6398
6661
|
};
|
|
6399
6662
|
var FileUploadComponent_1;
|
|
6400
6663
|
FileUploadComponent.nextId = 0;
|
|
@@ -6439,6 +6702,9 @@ var FileUploadComponent = /** @class */ (function () {
|
|
|
6439
6702
|
__decorate([
|
|
6440
6703
|
Input()
|
|
6441
6704
|
], FileUploadComponent.prototype, "maxFileSize", void 0);
|
|
6705
|
+
__decorate([
|
|
6706
|
+
Input()
|
|
6707
|
+
], FileUploadComponent.prototype, "maxCombinedFileSize", void 0);
|
|
6442
6708
|
__decorate([
|
|
6443
6709
|
Input()
|
|
6444
6710
|
], FileUploadComponent.prototype, "fileLimit", void 0);
|
|
@@ -6484,14 +6750,11 @@ var FileUploadComponent = /** @class */ (function () {
|
|
|
6484
6750
|
__decorate([
|
|
6485
6751
|
Output()
|
|
6486
6752
|
], FileUploadComponent.prototype, "validateErrors", void 0);
|
|
6487
|
-
__decorate([
|
|
6488
|
-
HostListener("window:resize")
|
|
6489
|
-
], FileUploadComponent.prototype, "onResize", null);
|
|
6490
6753
|
FileUploadComponent = FileUploadComponent_1 = __decorate([
|
|
6491
6754
|
Component({
|
|
6492
6755
|
selector: "s-file-upload",
|
|
6493
|
-
template: "<div
|
|
6494
|
-
styles: [".
|
|
6756
|
+
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",
|
|
6757
|
+
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}"]
|
|
6495
6758
|
})
|
|
6496
6759
|
], FileUploadComponent);
|
|
6497
6760
|
return FileUploadComponent;
|
|
@@ -6502,15 +6765,22 @@ var FileUploadModule = /** @class */ (function () {
|
|
|
6502
6765
|
}
|
|
6503
6766
|
FileUploadModule = __decorate([
|
|
6504
6767
|
NgModule({
|
|
6505
|
-
declarations: [FileUploadComponent],
|
|
6506
6768
|
imports: [
|
|
6507
6769
|
CommonModule,
|
|
6770
|
+
HttpClientModule,
|
|
6508
6771
|
ButtonModule,
|
|
6509
|
-
TooltipModule
|
|
6510
|
-
ProgressBarModule
|
|
6772
|
+
TooltipModule,
|
|
6773
|
+
ProgressBarModule,
|
|
6511
6774
|
TranslateModule,
|
|
6512
6775
|
],
|
|
6513
|
-
|
|
6776
|
+
declarations: [
|
|
6777
|
+
FileUploadComponent,
|
|
6778
|
+
FileItemComponent,
|
|
6779
|
+
],
|
|
6780
|
+
providers: [
|
|
6781
|
+
FileUploadService,
|
|
6782
|
+
LocaleService,
|
|
6783
|
+
],
|
|
6514
6784
|
exports: [FileUploadComponent],
|
|
6515
6785
|
})
|
|
6516
6786
|
], FileUploadModule);
|
|
@@ -7619,7 +7889,7 @@ var EnumBadgeColors;
|
|
|
7619
7889
|
EnumBadgeColors["GRAY"] = "gray";
|
|
7620
7890
|
})(EnumBadgeColors || (EnumBadgeColors = {}));
|
|
7621
7891
|
|
|
7622
|
-
var moment$
|
|
7892
|
+
var moment$5 = moment_;
|
|
7623
7893
|
var TableColumnsComponent = /** @class */ (function () {
|
|
7624
7894
|
function TableColumnsComponent(viewContainerRef, translate, hostProjectConfigs) {
|
|
7625
7895
|
this.viewContainerRef = viewContainerRef;
|
|
@@ -7726,7 +7996,7 @@ var TableColumnsComponent = /** @class */ (function () {
|
|
|
7726
7996
|
return applyMask(attributeValue, numberConfigs, _this.isNumber(attributeValue));
|
|
7727
7997
|
case EnumColumnFieldType.DATE:
|
|
7728
7998
|
var dateFormat = _this.getDateFormat(column, locale);
|
|
7729
|
-
return moment$
|
|
7999
|
+
return moment$5(attributeValue).format(dateFormat);
|
|
7730
8000
|
case EnumColumnFieldType.BOOLEAN:
|
|
7731
8001
|
var value = attributeValue ? "yes" : "no";
|
|
7732
8002
|
return _this.translate.instant(prefix + value);
|
|
@@ -9666,7 +9936,7 @@ var CustomFieldType;
|
|
|
9666
9936
|
CustomFieldType["Any"] = "Any";
|
|
9667
9937
|
CustomFieldType["Enum"] = "Enum";
|
|
9668
9938
|
})(CustomFieldType || (CustomFieldType = {}));
|
|
9669
|
-
var moment$
|
|
9939
|
+
var moment$6 = moment_; // @HACK Necessary because of https://github.com/rollup/rollup/issues/670
|
|
9670
9940
|
var CustomFieldsComponent = /** @class */ (function () {
|
|
9671
9941
|
function CustomFieldsComponent(customFieldsService, localeService, sanitizer, translateService, controlContainer) {
|
|
9672
9942
|
this.customFieldsService = customFieldsService;
|
|
@@ -9875,16 +10145,16 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
9875
10145
|
return;
|
|
9876
10146
|
switch (type) {
|
|
9877
10147
|
case FieldType.Date:
|
|
9878
|
-
parsedValues[name] = moment$
|
|
10148
|
+
parsedValues[name] = moment$6(value).toDate();
|
|
9879
10149
|
break;
|
|
9880
10150
|
case FieldType.DateTime:
|
|
9881
|
-
parsedValues[name] = moment$
|
|
10151
|
+
parsedValues[name] = moment$6(value).toDate();
|
|
9882
10152
|
break;
|
|
9883
10153
|
case FieldType.LocalDateTime:
|
|
9884
|
-
parsedValues[name] = moment$
|
|
10154
|
+
parsedValues[name] = moment$6(value, "YYYY-MM-DD[T]HH:mm:ss.SSS").toDate();
|
|
9885
10155
|
break;
|
|
9886
10156
|
case FieldType.Time:
|
|
9887
|
-
parsedValues[name] = moment$
|
|
10157
|
+
parsedValues[name] = moment$6(value, "HH:mm:ss").toDate();
|
|
9888
10158
|
break;
|
|
9889
10159
|
}
|
|
9890
10160
|
});
|
|
@@ -9917,16 +10187,16 @@ var CustomFieldsComponent = /** @class */ (function () {
|
|
|
9917
10187
|
value = new BigNumber(value).toFixed(scale).toString();
|
|
9918
10188
|
break;
|
|
9919
10189
|
case FieldType.Date:
|
|
9920
|
-
value = moment$
|
|
10190
|
+
value = moment$6(value).format("YYYY-MM-DD");
|
|
9921
10191
|
break;
|
|
9922
10192
|
case FieldType.DateTime:
|
|
9923
|
-
value = moment$
|
|
10193
|
+
value = moment$6(value).format();
|
|
9924
10194
|
break;
|
|
9925
10195
|
case FieldType.LocalDateTime:
|
|
9926
|
-
value = moment$
|
|
10196
|
+
value = moment$6(value).format("YYYY-MM-DD[T]HH:mm:ss.SSS");
|
|
9927
10197
|
break;
|
|
9928
10198
|
case FieldType.Time:
|
|
9929
|
-
value = moment$
|
|
10199
|
+
value = moment$6(value).format("HH:mm:ss");
|
|
9930
10200
|
break;
|
|
9931
10201
|
}
|
|
9932
10202
|
}
|
|
@@ -10339,7 +10609,7 @@ var EditableOverlayModule = /** @class */ (function () {
|
|
|
10339
10609
|
return EditableOverlayModule;
|
|
10340
10610
|
}());
|
|
10341
10611
|
|
|
10342
|
-
var moment$
|
|
10612
|
+
var moment$7 = moment_;
|
|
10343
10613
|
var YEAR = "year";
|
|
10344
10614
|
var MONTH = "month";
|
|
10345
10615
|
var DAY = "day";
|
|
@@ -10351,22 +10621,22 @@ var DateUtils = /** @class */ (function () {
|
|
|
10351
10621
|
function DateUtils() {
|
|
10352
10622
|
}
|
|
10353
10623
|
DateUtils.parse = function (date) {
|
|
10354
|
-
return moment$
|
|
10624
|
+
return moment$7(date).toDate();
|
|
10355
10625
|
};
|
|
10356
10626
|
DateUtils.toString = function (date, with_time) {
|
|
10357
10627
|
if (with_time === void 0) { with_time = false; }
|
|
10358
|
-
var result = with_time ? moment$
|
|
10628
|
+
var result = with_time ? moment$7(date, "YYYY-MM-DD hh:mm:ss.SSS") : moment$7(date, "YYYY-MM-DD");
|
|
10359
10629
|
return result.toString();
|
|
10360
10630
|
};
|
|
10361
10631
|
DateUtils.format = function (date, formatString, lang) {
|
|
10362
10632
|
if (formatString === void 0) { formatString = "YYYY-MM-DD HH:mm:ss.SSS"; }
|
|
10363
10633
|
if (lang === void 0) { lang = "en"; }
|
|
10364
|
-
var monthName = moment$
|
|
10634
|
+
var monthName = moment$7(date)
|
|
10365
10635
|
.locale(lang)
|
|
10366
10636
|
.startOf("month")
|
|
10367
10637
|
.format("MMMM");
|
|
10368
10638
|
var monthNameCapitalized = monthName.charAt(0).toUpperCase() + monthName.slice(1);
|
|
10369
|
-
var dateToFormat = moment$
|
|
10639
|
+
var dateToFormat = moment$7(date).locale(lang);
|
|
10370
10640
|
var format_map = {
|
|
10371
10641
|
YYYY: dateToFormat.format("YYYY"),
|
|
10372
10642
|
MM: dateToFormat.format("MM"),
|
|
@@ -10396,13 +10666,13 @@ var DateUtils = /** @class */ (function () {
|
|
|
10396
10666
|
return str;
|
|
10397
10667
|
};
|
|
10398
10668
|
DateUtils.diff = function (fistDate, secondDate, scale) {
|
|
10399
|
-
var milliseconds = moment$
|
|
10400
|
-
var seconds = moment$
|
|
10401
|
-
var minutes = moment$
|
|
10402
|
-
var hours = moment$
|
|
10403
|
-
var days = moment$
|
|
10404
|
-
var months = moment$
|
|
10405
|
-
var years = moment$
|
|
10669
|
+
var milliseconds = moment$7(fistDate).diff(secondDate, MILLISECOND);
|
|
10670
|
+
var seconds = moment$7(fistDate).diff(secondDate, SECOND);
|
|
10671
|
+
var minutes = moment$7(fistDate).diff(secondDate, MINUTE);
|
|
10672
|
+
var hours = moment$7(fistDate).diff(secondDate, HOUR);
|
|
10673
|
+
var days = moment$7(fistDate).diff(secondDate, DAY);
|
|
10674
|
+
var months = moment$7(fistDate).diff(secondDate, MONTH);
|
|
10675
|
+
var years = moment$7(fistDate).diff(secondDate, YEAR);
|
|
10406
10676
|
if (!scale.endsWith("s")) {
|
|
10407
10677
|
scale += "s";
|
|
10408
10678
|
}
|
|
@@ -10417,14 +10687,14 @@ var DateUtils = /** @class */ (function () {
|
|
|
10417
10687
|
}[scale]);
|
|
10418
10688
|
};
|
|
10419
10689
|
DateUtils.today = function () {
|
|
10420
|
-
var dateStr = moment$
|
|
10690
|
+
var dateStr = moment$7().format("YYY-MM-DD");
|
|
10421
10691
|
return new Date(dateStr);
|
|
10422
10692
|
};
|
|
10423
10693
|
DateUtils.now = function () {
|
|
10424
|
-
return moment$
|
|
10694
|
+
return moment$7().toDate();
|
|
10425
10695
|
};
|
|
10426
10696
|
DateUtils.add = function (date, quantity, scale) {
|
|
10427
|
-
return moment$
|
|
10697
|
+
return moment$7(date).add(quantity, scale).toDate();
|
|
10428
10698
|
};
|
|
10429
10699
|
DateUtils.startOf = function (date, scale) {
|
|
10430
10700
|
var _a;
|
|
@@ -10453,7 +10723,7 @@ var DateUtils = /** @class */ (function () {
|
|
|
10453
10723
|
return new Date(vals[0], vals[1], vals[2], vals[3], vals[4], vals[5], vals[6]);
|
|
10454
10724
|
};
|
|
10455
10725
|
DateUtils.clone = function (date) {
|
|
10456
|
-
return moment$
|
|
10726
|
+
return moment$7(date).toDate();
|
|
10457
10727
|
};
|
|
10458
10728
|
DateUtils.getDateValues = function (date) {
|
|
10459
10729
|
return [
|
|
@@ -10467,7 +10737,7 @@ var DateUtils = /** @class */ (function () {
|
|
|
10467
10737
|
];
|
|
10468
10738
|
};
|
|
10469
10739
|
DateUtils.getDaysInMonth = function (date) {
|
|
10470
|
-
return moment$
|
|
10740
|
+
return moment$7(date, "YYYY-MM").daysInMonth();
|
|
10471
10741
|
};
|
|
10472
10742
|
return DateUtils;
|
|
10473
10743
|
}());
|
|
@@ -14032,146 +14302,6 @@ var ProfilePicturePickerModule = /** @class */ (function () {
|
|
|
14032
14302
|
return ProfilePicturePickerModule;
|
|
14033
14303
|
}());
|
|
14034
14304
|
|
|
14035
|
-
var ProgressBarColors;
|
|
14036
|
-
(function (ProgressBarColors) {
|
|
14037
|
-
ProgressBarColors["Blue"] = "blue";
|
|
14038
|
-
ProgressBarColors["Green"] = "green";
|
|
14039
|
-
ProgressBarColors["Red"] = "red";
|
|
14040
|
-
ProgressBarColors["Yellow"] = "yellow";
|
|
14041
|
-
})(ProgressBarColors || (ProgressBarColors = {}));
|
|
14042
|
-
|
|
14043
|
-
var ProgressBarMode;
|
|
14044
|
-
(function (ProgressBarMode) {
|
|
14045
|
-
ProgressBarMode["Determinate"] = "determinate";
|
|
14046
|
-
ProgressBarMode["Indeterminate"] = "indeterminate";
|
|
14047
|
-
})(ProgressBarMode || (ProgressBarMode = {}));
|
|
14048
|
-
|
|
14049
|
-
var ProgressBarComponent = /** @class */ (function () {
|
|
14050
|
-
function ProgressBarComponent() {
|
|
14051
|
-
this.showValue = true;
|
|
14052
|
-
this.mode = ProgressBarMode.Determinate;
|
|
14053
|
-
}
|
|
14054
|
-
ProgressBarComponent.prototype.ngOnInit = function () {
|
|
14055
|
-
this.validateInputs();
|
|
14056
|
-
};
|
|
14057
|
-
ProgressBarComponent.prototype.validateInputs = function () {
|
|
14058
|
-
if (this.value < 0 || this.value > 100) {
|
|
14059
|
-
throw new Error("Invalid value for value");
|
|
14060
|
-
}
|
|
14061
|
-
if (this.targetValue < 0 || this.targetValue > 100) {
|
|
14062
|
-
throw new Error("Invalid value for targetValue");
|
|
14063
|
-
}
|
|
14064
|
-
if (this.mode === ProgressBarMode.Indeterminate && (this.value || this.targetValue || this.targetLabel)) {
|
|
14065
|
-
throw new Error("When the mode is indeterminate, the value, targetValue and targetLabel parameters are not expected.");
|
|
14066
|
-
}
|
|
14067
|
-
};
|
|
14068
|
-
__decorate([
|
|
14069
|
-
Input()
|
|
14070
|
-
], ProgressBarComponent.prototype, "value", void 0);
|
|
14071
|
-
__decorate([
|
|
14072
|
-
Input()
|
|
14073
|
-
], ProgressBarComponent.prototype, "targetValue", void 0);
|
|
14074
|
-
__decorate([
|
|
14075
|
-
Input()
|
|
14076
|
-
], ProgressBarComponent.prototype, "label", void 0);
|
|
14077
|
-
__decorate([
|
|
14078
|
-
Input()
|
|
14079
|
-
], ProgressBarComponent.prototype, "targetLabel", void 0);
|
|
14080
|
-
__decorate([
|
|
14081
|
-
Input()
|
|
14082
|
-
], ProgressBarComponent.prototype, "activeColor", void 0);
|
|
14083
|
-
__decorate([
|
|
14084
|
-
Input()
|
|
14085
|
-
], ProgressBarComponent.prototype, "showValue", void 0);
|
|
14086
|
-
__decorate([
|
|
14087
|
-
Input()
|
|
14088
|
-
], ProgressBarComponent.prototype, "mode", void 0);
|
|
14089
|
-
ProgressBarComponent = __decorate([
|
|
14090
|
-
Component({
|
|
14091
|
-
selector: "s-progressbar",
|
|
14092
|
-
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>",
|
|
14093
|
-
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}"]
|
|
14094
|
-
})
|
|
14095
|
-
], ProgressBarComponent);
|
|
14096
|
-
return ProgressBarComponent;
|
|
14097
|
-
}());
|
|
14098
|
-
|
|
14099
|
-
var ProgressBarDeterminateComponent = /** @class */ (function () {
|
|
14100
|
-
function ProgressBarDeterminateComponent() {
|
|
14101
|
-
this.showValue = true;
|
|
14102
|
-
}
|
|
14103
|
-
ProgressBarDeterminateComponent.prototype.ngOnInit = function () {
|
|
14104
|
-
this.validateValues();
|
|
14105
|
-
};
|
|
14106
|
-
ProgressBarDeterminateComponent.prototype.validateValues = function () {
|
|
14107
|
-
if (this.value < 0 || this.value > 100) {
|
|
14108
|
-
throw new Error("Invalid value for value");
|
|
14109
|
-
}
|
|
14110
|
-
if (this.targetValue < 0 || this.targetValue > 100) {
|
|
14111
|
-
throw new Error("Invalid value for targetValue");
|
|
14112
|
-
}
|
|
14113
|
-
};
|
|
14114
|
-
__decorate([
|
|
14115
|
-
Input()
|
|
14116
|
-
], ProgressBarDeterminateComponent.prototype, "value", void 0);
|
|
14117
|
-
__decorate([
|
|
14118
|
-
Input()
|
|
14119
|
-
], ProgressBarDeterminateComponent.prototype, "targetValue", void 0);
|
|
14120
|
-
__decorate([
|
|
14121
|
-
Input()
|
|
14122
|
-
], ProgressBarDeterminateComponent.prototype, "targetLabel", void 0);
|
|
14123
|
-
__decorate([
|
|
14124
|
-
Input()
|
|
14125
|
-
], ProgressBarDeterminateComponent.prototype, "activeColor", void 0);
|
|
14126
|
-
__decorate([
|
|
14127
|
-
Input()
|
|
14128
|
-
], ProgressBarDeterminateComponent.prototype, "showValue", void 0);
|
|
14129
|
-
ProgressBarDeterminateComponent = __decorate([
|
|
14130
|
-
Component({
|
|
14131
|
-
selector: "s-progressbar-determinate",
|
|
14132
|
-
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 ",
|
|
14133
|
-
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}"]
|
|
14134
|
-
})
|
|
14135
|
-
], ProgressBarDeterminateComponent);
|
|
14136
|
-
return ProgressBarDeterminateComponent;
|
|
14137
|
-
}());
|
|
14138
|
-
|
|
14139
|
-
var ProgressBarIndeterminateComponent = /** @class */ (function () {
|
|
14140
|
-
function ProgressBarIndeterminateComponent() {
|
|
14141
|
-
}
|
|
14142
|
-
__decorate([
|
|
14143
|
-
Input()
|
|
14144
|
-
], ProgressBarIndeterminateComponent.prototype, "activeColor", void 0);
|
|
14145
|
-
__decorate([
|
|
14146
|
-
Input()
|
|
14147
|
-
], ProgressBarIndeterminateComponent.prototype, "label", void 0);
|
|
14148
|
-
ProgressBarIndeterminateComponent = __decorate([
|
|
14149
|
-
Component({
|
|
14150
|
-
selector: "s-progressbar-indeterminate",
|
|
14151
|
-
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",
|
|
14152
|
-
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%)}}"]
|
|
14153
|
-
})
|
|
14154
|
-
], ProgressBarIndeterminateComponent);
|
|
14155
|
-
return ProgressBarIndeterminateComponent;
|
|
14156
|
-
}());
|
|
14157
|
-
|
|
14158
|
-
var ProgressBarModule = /** @class */ (function () {
|
|
14159
|
-
function ProgressBarModule() {
|
|
14160
|
-
}
|
|
14161
|
-
ProgressBarModule = __decorate([
|
|
14162
|
-
NgModule({
|
|
14163
|
-
imports: [CommonModule],
|
|
14164
|
-
declarations: [
|
|
14165
|
-
ProgressBarComponent,
|
|
14166
|
-
ProgressBarDeterminateComponent,
|
|
14167
|
-
ProgressBarIndeterminateComponent,
|
|
14168
|
-
],
|
|
14169
|
-
exports: [ProgressBarComponent],
|
|
14170
|
-
})
|
|
14171
|
-
], ProgressBarModule);
|
|
14172
|
-
return ProgressBarModule;
|
|
14173
|
-
}());
|
|
14174
|
-
|
|
14175
14305
|
var PanelComponent = /** @class */ (function () {
|
|
14176
14306
|
function PanelComponent() {
|
|
14177
14307
|
this.toggleable = true;
|
|
@@ -16658,5 +16788,5 @@ var fallback = {
|
|
|
16658
16788
|
* Generated bundle index. Do not edit.
|
|
16659
16789
|
*/
|
|
16660
16790
|
|
|
16661
|
-
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,
|
|
16791
|
+
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 };
|
|
16662
16792
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|