@seniorsistemas/angular-components 17.31.5 → 17.31.6
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 +248 -245
- 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/esm2015/components/dynamic-form/components/lookup/lookup.component.js +6 -3
- package/esm2015/components/file-upload/file-upload.component.js +2 -2
- package/esm2015/components/file-upload/file-upload.module.js +3 -3
- package/esm2015/seniorsistemas-angular-components.js +70 -70
- package/esm5/components/dynamic-form/components/lookup/lookup.component.js +6 -3
- package/esm5/components/file-upload/file-upload.component.js +2 -2
- package/esm5/components/file-upload/file-upload.module.js +3 -3
- package/esm5/seniorsistemas-angular-components.js +70 -70
- package/fesm2015/seniorsistemas-angular-components.js +167 -165
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +176 -174
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +69 -69
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/animations'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@angular/forms'), require('@angular/router'), require('@seniorsistemas/ng2-currency-mask'), require('@angular/common/http'), require('@seniorsistemas/senior-platform-data'), require('moment'), require('ngx-cookie-service'), require('bignumber.js'), require('primeng/breadcrumb'), require('primeng/dom'), require('primeng/tieredmenu'), require('primeng/calendar'), require('@ngx-translate/core'), require('@codemirror/view'), require('@codemirror/state'), require('@codemirror/lint'), require('@codemirror/language'), require('@lezer/generator'), require('@codemirror/highlight'), require('@codemirror/autocomplete'), require('@codemirror/tooltip'), require('@codemirror/gutter'), require('@angular/cdk/portal'), require('ngx-mask'), require('angular2-hotkeys'), require('primeng/autocomplete'), require('primeng/dialog'), require('primeng/table'), require('ng2-currency-mask'), require('primeng/button'), require('primeng/checkbox'), require('primeng/chips'), require('primeng/dropdown'), require('primeng/inputmask'), require('primeng/inputtext'), require('primeng/inputtextarea'), require('primeng/keyfilter'), require('primeng/multiselect'), require('primeng/panel'), require('primeng/radiobutton'), require('primeng/slider'), require('primeng/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@seniorsistemas/angular-components', ['exports', '@angular/core', '@angular/animations', 'rxjs', 'rxjs/operators', '@angular/common', '@angular/forms', '@angular/router', '@seniorsistemas/ng2-currency-mask', '@angular/common/http', '@seniorsistemas/senior-platform-data', 'moment', 'ngx-cookie-service', 'bignumber.js', 'primeng/breadcrumb', 'primeng/dom', 'primeng/tieredmenu', 'primeng/calendar', '@ngx-translate/core', '@codemirror/view', '@codemirror/state', '@codemirror/lint', '@codemirror/language', '@lezer/generator', '@codemirror/highlight', '@codemirror/autocomplete', '@codemirror/tooltip', '@codemirror/gutter', '@angular/cdk/portal', 'ngx-mask', 'angular2-hotkeys', 'primeng/autocomplete', 'primeng/dialog', 'primeng/table', 'ng2-currency-mask', 'primeng/button', 'primeng/checkbox', 'primeng/chips', 'primeng/dropdown', 'primeng/inputmask', 'primeng/inputtext', 'primeng/inputtextarea', 'primeng/keyfilter', 'primeng/multiselect', 'primeng/panel', 'primeng/radiobutton', 'primeng/slider', 'primeng/
|
|
4
|
-
(global = global || self, factory((global.seniorsistemas = global.seniorsistemas || {}, global.seniorsistemas['angular-components'] = {}), global.ng.core, global.ng.animations, global.rxjs, global.rxjs.operators, global.ng.common, global.ng.forms, global.ng.router, global.ng2CurrencyMask, global.ng.common.http, global.seniorPlatformData, global.moment_, global.ngxCookieService, global.BigNumber, global.breadcrumb, global.dom, global.tieredmenu, global.calendar, global.core$1, global.view, global.state, global.lint, global.language, global.generator, global.highlight, global.autocomplete$1, global.tooltip, global.gutter, global.ng.cdk.portal, global.ngxMask, global.angular2Hotkeys, global.autocomplete$2, global.dialog, global.table, global.ng2CurrencyMask$1, global.button, global.checkbox, global.chips, global.dropdown, global.inputmask, global.inputtext, global.inputtextarea, global.keyfilter, global.multiselect, global.panel, global.radiobutton, global.slider, global.
|
|
5
|
-
}(this, (function (exports, core, animations, rxjs, operators, common, forms, router, ng2CurrencyMask, http, seniorPlatformData, moment_, ngxCookieService, BigNumber, breadcrumb, dom, tieredmenu, calendar, core$1, view, state, lint, language, generator, highlight, autocomplete$1, tooltip, gutter, portal, ngxMask, angular2Hotkeys, autocomplete$2, dialog, table, ng2CurrencyMask$1, button, checkbox, chips, dropdown, inputmask, inputtext, inputtextarea, keyfilter, multiselect, panel, radiobutton, slider,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/animations'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@angular/forms'), require('@angular/router'), require('@seniorsistemas/ng2-currency-mask'), require('@angular/common/http'), require('@seniorsistemas/senior-platform-data'), require('moment'), require('ngx-cookie-service'), require('bignumber.js'), require('primeng/breadcrumb'), require('primeng/dom'), require('primeng/tieredmenu'), require('primeng/calendar'), require('@ngx-translate/core'), require('@codemirror/view'), require('@codemirror/state'), require('@codemirror/lint'), require('@codemirror/language'), require('@lezer/generator'), require('@codemirror/highlight'), require('@codemirror/autocomplete'), require('@codemirror/tooltip'), require('@codemirror/gutter'), require('@angular/cdk/portal'), require('ngx-mask'), require('angular2-hotkeys'), require('primeng/autocomplete'), require('primeng/dialog'), require('primeng/table'), require('ng2-currency-mask'), require('primeng/button'), require('primeng/checkbox'), require('primeng/chips'), require('primeng/dropdown'), require('primeng/inputmask'), require('primeng/inputtext'), require('primeng/inputtextarea'), require('primeng/keyfilter'), require('primeng/multiselect'), require('primeng/panel'), require('primeng/radiobutton'), require('primeng/slider'), require('primeng/tooltip'), require('@angular/platform-browser'), require('@angular/cdk/clipboard'), require('primeng/editor'), require('primeng/api'), require('primeng/confirmdialog'), require('cropperjs'), require('marked'), require('@angular/cdk/drag-drop'), require('@angular/cdk/a11y'), require('primeng/scrollpanel'), require('primeng/sidebar')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@seniorsistemas/angular-components', ['exports', '@angular/core', '@angular/animations', 'rxjs', 'rxjs/operators', '@angular/common', '@angular/forms', '@angular/router', '@seniorsistemas/ng2-currency-mask', '@angular/common/http', '@seniorsistemas/senior-platform-data', 'moment', 'ngx-cookie-service', 'bignumber.js', 'primeng/breadcrumb', 'primeng/dom', 'primeng/tieredmenu', 'primeng/calendar', '@ngx-translate/core', '@codemirror/view', '@codemirror/state', '@codemirror/lint', '@codemirror/language', '@lezer/generator', '@codemirror/highlight', '@codemirror/autocomplete', '@codemirror/tooltip', '@codemirror/gutter', '@angular/cdk/portal', 'ngx-mask', 'angular2-hotkeys', 'primeng/autocomplete', 'primeng/dialog', 'primeng/table', 'ng2-currency-mask', 'primeng/button', 'primeng/checkbox', 'primeng/chips', 'primeng/dropdown', 'primeng/inputmask', 'primeng/inputtext', 'primeng/inputtextarea', 'primeng/keyfilter', 'primeng/multiselect', 'primeng/panel', 'primeng/radiobutton', 'primeng/slider', 'primeng/tooltip', '@angular/platform-browser', '@angular/cdk/clipboard', 'primeng/editor', 'primeng/api', 'primeng/confirmdialog', 'cropperjs', 'marked', '@angular/cdk/drag-drop', '@angular/cdk/a11y', 'primeng/scrollpanel', 'primeng/sidebar'], factory) :
|
|
4
|
+
(global = global || self, factory((global.seniorsistemas = global.seniorsistemas || {}, global.seniorsistemas['angular-components'] = {}), global.ng.core, global.ng.animations, global.rxjs, global.rxjs.operators, global.ng.common, global.ng.forms, global.ng.router, global.ng2CurrencyMask, global.ng.common.http, global.seniorPlatformData, global.moment_, global.ngxCookieService, global.BigNumber, global.breadcrumb, global.dom, global.tieredmenu, global.calendar, global.core$1, global.view, global.state, global.lint, global.language, global.generator, global.highlight, global.autocomplete$1, global.tooltip, global.gutter, global.ng.cdk.portal, global.ngxMask, global.angular2Hotkeys, global.autocomplete$2, global.dialog, global.table, global.ng2CurrencyMask$1, global.button, global.checkbox, global.chips, global.dropdown, global.inputmask, global.inputtext, global.inputtextarea, global.keyfilter, global.multiselect, global.panel, global.radiobutton, global.slider, global.tooltip$1, global.ng.platformBrowser, global.ng.cdk.clipboard, global.editor, global.api, global.confirmdialog, global.Cropper, global.marked, global.ng.cdk['drag-drop'], global.ng.cdk.a11y, global.scrollpanel, global.sidebar));
|
|
5
|
+
}(this, (function (exports, core, animations, rxjs, operators, common, forms, router, ng2CurrencyMask, http, seniorPlatformData, moment_, ngxCookieService, BigNumber, breadcrumb, dom, tieredmenu, calendar, core$1, view, state, lint, language, generator, highlight, autocomplete$1, tooltip, gutter, portal, ngxMask, angular2Hotkeys, autocomplete$2, dialog, table, ng2CurrencyMask$1, button, checkbox, chips, dropdown, inputmask, inputtext, inputtextarea, keyfilter, multiselect, panel, radiobutton, slider, tooltip$1, platformBrowser, clipboard, editor, api, confirmdialog, Cropper, marked, dragDrop, a11y, scrollpanel, sidebar) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var BigNumber__default = 'default' in BigNumber ? BigNumber['default'] : BigNumber;
|
|
8
8
|
Cropper = Cropper && Cropper.hasOwnProperty('default') ? Cropper['default'] : Cropper;
|
|
@@ -7701,10 +7701,13 @@
|
|
|
7701
7701
|
this.dialogVisible = false;
|
|
7702
7702
|
this.collapsed = false;
|
|
7703
7703
|
this.hotkeysService.unpause(__spread(this.hotkeysService.pausedHotkeys));
|
|
7704
|
-
if (this.multiple)
|
|
7704
|
+
if (this.multiple) {
|
|
7705
7705
|
multiInputEL.nativeElement.focus();
|
|
7706
|
-
|
|
7706
|
+
}
|
|
7707
|
+
else {
|
|
7707
7708
|
inputEL.nativeElement.focus();
|
|
7709
|
+
}
|
|
7710
|
+
this.formGroupDialog.reset(this.originalFormValues);
|
|
7708
7711
|
};
|
|
7709
7712
|
LookupComponent.prototype.search = function () {
|
|
7710
7713
|
this.resetTable();
|
|
@@ -8658,6 +8661,174 @@
|
|
|
8658
8661
|
return EmptyStateModule;
|
|
8659
8662
|
}());
|
|
8660
8663
|
|
|
8664
|
+
|
|
8665
|
+
(function (ProgressBarColors) {
|
|
8666
|
+
ProgressBarColors["Blue"] = "blue";
|
|
8667
|
+
ProgressBarColors["Green"] = "green";
|
|
8668
|
+
ProgressBarColors["Red"] = "red";
|
|
8669
|
+
ProgressBarColors["Yellow"] = "yellow";
|
|
8670
|
+
})(exports.ProgressBarColors || (exports.ProgressBarColors = {}));
|
|
8671
|
+
|
|
8672
|
+
var ProgressBarMode;
|
|
8673
|
+
(function (ProgressBarMode) {
|
|
8674
|
+
ProgressBarMode["Determinate"] = "determinate";
|
|
8675
|
+
ProgressBarMode["Indeterminate"] = "indeterminate";
|
|
8676
|
+
})(ProgressBarMode || (ProgressBarMode = {}));
|
|
8677
|
+
|
|
8678
|
+
var ProgressBarComponent = /** @class */ (function () {
|
|
8679
|
+
function ProgressBarComponent() {
|
|
8680
|
+
this.numberFormatOptions = {
|
|
8681
|
+
style: "decimal",
|
|
8682
|
+
minimumFractionDigits: 0,
|
|
8683
|
+
maximumFractionDigits: 2,
|
|
8684
|
+
roundingMode: "trunc",
|
|
8685
|
+
};
|
|
8686
|
+
this.showValue = true;
|
|
8687
|
+
this.mode = ProgressBarMode.Determinate;
|
|
8688
|
+
}
|
|
8689
|
+
ProgressBarComponent.prototype.ngOnInit = function () {
|
|
8690
|
+
this.validateInputs();
|
|
8691
|
+
};
|
|
8692
|
+
ProgressBarComponent.prototype.validateInputs = function () {
|
|
8693
|
+
if (this.value < 0 || this.value > 100) {
|
|
8694
|
+
throw new Error("Invalid value for value");
|
|
8695
|
+
}
|
|
8696
|
+
if (this.targetValue < 0 || this.targetValue > 100) {
|
|
8697
|
+
throw new Error("Invalid value for targetValue");
|
|
8698
|
+
}
|
|
8699
|
+
if (this.mode === ProgressBarMode.Indeterminate && (this.value || this.targetValue || this.targetLabel)) {
|
|
8700
|
+
throw new Error("When the mode is indeterminate, the value, targetValue and targetLabel parameters are not expected.");
|
|
8701
|
+
}
|
|
8702
|
+
};
|
|
8703
|
+
__decorate([
|
|
8704
|
+
core.Input()
|
|
8705
|
+
], ProgressBarComponent.prototype, "value", void 0);
|
|
8706
|
+
__decorate([
|
|
8707
|
+
core.Input()
|
|
8708
|
+
], ProgressBarComponent.prototype, "numberFormatOptions", void 0);
|
|
8709
|
+
__decorate([
|
|
8710
|
+
core.Input()
|
|
8711
|
+
], ProgressBarComponent.prototype, "targetValue", void 0);
|
|
8712
|
+
__decorate([
|
|
8713
|
+
core.Input()
|
|
8714
|
+
], ProgressBarComponent.prototype, "label", void 0);
|
|
8715
|
+
__decorate([
|
|
8716
|
+
core.Input()
|
|
8717
|
+
], ProgressBarComponent.prototype, "targetLabel", void 0);
|
|
8718
|
+
__decorate([
|
|
8719
|
+
core.Input()
|
|
8720
|
+
], ProgressBarComponent.prototype, "activeColor", void 0);
|
|
8721
|
+
__decorate([
|
|
8722
|
+
core.Input()
|
|
8723
|
+
], ProgressBarComponent.prototype, "showValue", void 0);
|
|
8724
|
+
__decorate([
|
|
8725
|
+
core.Input()
|
|
8726
|
+
], ProgressBarComponent.prototype, "mode", void 0);
|
|
8727
|
+
ProgressBarComponent = __decorate([
|
|
8728
|
+
core.Component({
|
|
8729
|
+
selector: "s-progressbar",
|
|
8730
|
+
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 [numberFormatOptions]=\"numberFormatOptions\"\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>",
|
|
8731
|
+
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}"]
|
|
8732
|
+
})
|
|
8733
|
+
], ProgressBarComponent);
|
|
8734
|
+
return ProgressBarComponent;
|
|
8735
|
+
}());
|
|
8736
|
+
|
|
8737
|
+
var ProgressBarDeterminateComponent = /** @class */ (function () {
|
|
8738
|
+
function ProgressBarDeterminateComponent(localeService) {
|
|
8739
|
+
this.localeService = localeService;
|
|
8740
|
+
this.showValue = true;
|
|
8741
|
+
}
|
|
8742
|
+
ProgressBarDeterminateComponent.prototype.ngOnInit = function () {
|
|
8743
|
+
this.validateValues();
|
|
8744
|
+
this.onGetLocale();
|
|
8745
|
+
};
|
|
8746
|
+
ProgressBarDeterminateComponent.prototype.onGetLocale = function () {
|
|
8747
|
+
var _this = this;
|
|
8748
|
+
this.localeService.getLocale().subscribe({
|
|
8749
|
+
next: function (locale) {
|
|
8750
|
+
_this.numberFormat = new Intl.NumberFormat(locale !== null && locale !== void 0 ? locale : "pt-BR", _this.numberFormatOptions);
|
|
8751
|
+
},
|
|
8752
|
+
error: function () {
|
|
8753
|
+
_this.numberFormat = new Intl.NumberFormat("pt-BR", _this.numberFormatOptions);
|
|
8754
|
+
},
|
|
8755
|
+
});
|
|
8756
|
+
};
|
|
8757
|
+
ProgressBarDeterminateComponent.prototype.validateValues = function () {
|
|
8758
|
+
if (this.value < 0 || this.value > 100) {
|
|
8759
|
+
throw new Error("Invalid value for value");
|
|
8760
|
+
}
|
|
8761
|
+
if (this.targetValue < 0 || this.targetValue > 100) {
|
|
8762
|
+
throw new Error("Invalid value for targetValue");
|
|
8763
|
+
}
|
|
8764
|
+
};
|
|
8765
|
+
ProgressBarDeterminateComponent.ctorParameters = function () { return [
|
|
8766
|
+
{ type: LocaleService }
|
|
8767
|
+
]; };
|
|
8768
|
+
__decorate([
|
|
8769
|
+
core.Input()
|
|
8770
|
+
], ProgressBarDeterminateComponent.prototype, "value", void 0);
|
|
8771
|
+
__decorate([
|
|
8772
|
+
core.Input()
|
|
8773
|
+
], ProgressBarDeterminateComponent.prototype, "numberFormatOptions", void 0);
|
|
8774
|
+
__decorate([
|
|
8775
|
+
core.Input()
|
|
8776
|
+
], ProgressBarDeterminateComponent.prototype, "targetValue", void 0);
|
|
8777
|
+
__decorate([
|
|
8778
|
+
core.Input()
|
|
8779
|
+
], ProgressBarDeterminateComponent.prototype, "targetLabel", void 0);
|
|
8780
|
+
__decorate([
|
|
8781
|
+
core.Input()
|
|
8782
|
+
], ProgressBarDeterminateComponent.prototype, "activeColor", void 0);
|
|
8783
|
+
__decorate([
|
|
8784
|
+
core.Input()
|
|
8785
|
+
], ProgressBarDeterminateComponent.prototype, "showValue", void 0);
|
|
8786
|
+
ProgressBarDeterminateComponent = __decorate([
|
|
8787
|
+
core.Component({
|
|
8788
|
+
selector: "s-progressbar-determinate",
|
|
8789
|
+
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\n {{ showValue && value ? numberFormat.format(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 || numberFormat.format(value) + '%' }}\n </span>\n </div>\n </div>\n",
|
|
8790
|
+
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}"]
|
|
8791
|
+
})
|
|
8792
|
+
], ProgressBarDeterminateComponent);
|
|
8793
|
+
return ProgressBarDeterminateComponent;
|
|
8794
|
+
}());
|
|
8795
|
+
|
|
8796
|
+
var ProgressBarIndeterminateComponent = /** @class */ (function () {
|
|
8797
|
+
function ProgressBarIndeterminateComponent() {
|
|
8798
|
+
}
|
|
8799
|
+
__decorate([
|
|
8800
|
+
core.Input()
|
|
8801
|
+
], ProgressBarIndeterminateComponent.prototype, "activeColor", void 0);
|
|
8802
|
+
__decorate([
|
|
8803
|
+
core.Input()
|
|
8804
|
+
], ProgressBarIndeterminateComponent.prototype, "label", void 0);
|
|
8805
|
+
ProgressBarIndeterminateComponent = __decorate([
|
|
8806
|
+
core.Component({
|
|
8807
|
+
selector: "s-progressbar-indeterminate",
|
|
8808
|
+
template: "<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",
|
|
8809
|
+
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%)}}"]
|
|
8810
|
+
})
|
|
8811
|
+
], ProgressBarIndeterminateComponent);
|
|
8812
|
+
return ProgressBarIndeterminateComponent;
|
|
8813
|
+
}());
|
|
8814
|
+
|
|
8815
|
+
var ProgressBarModule = /** @class */ (function () {
|
|
8816
|
+
function ProgressBarModule() {
|
|
8817
|
+
}
|
|
8818
|
+
ProgressBarModule = __decorate([
|
|
8819
|
+
core.NgModule({
|
|
8820
|
+
imports: [common.CommonModule],
|
|
8821
|
+
declarations: [
|
|
8822
|
+
ProgressBarComponent,
|
|
8823
|
+
ProgressBarDeterminateComponent,
|
|
8824
|
+
ProgressBarIndeterminateComponent,
|
|
8825
|
+
],
|
|
8826
|
+
exports: [ProgressBarComponent],
|
|
8827
|
+
})
|
|
8828
|
+
], ProgressBarModule);
|
|
8829
|
+
return ProgressBarModule;
|
|
8830
|
+
}());
|
|
8831
|
+
|
|
8661
8832
|
var FileUploadService = /** @class */ (function () {
|
|
8662
8833
|
function FileUploadService() {
|
|
8663
8834
|
this.BASE_URL_FIELD_CUSTOMIZATION = "platform/field_customization";
|
|
@@ -8997,7 +9168,7 @@
|
|
|
8997
9168
|
FileUploadComponent = FileUploadComponent_1 = __decorate([
|
|
8998
9169
|
core.Component({
|
|
8999
9170
|
selector: "s-file-upload",
|
|
9000
|
-
template: "<div [id]=\"id\" class=\"s-fileupload\">\n <div class=\"s-fileupload-choose\">\n <input\n #inputUpload\n [id]=\"id + 'input-upload'\"\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 [id]=\"id + 'upload-button'\"\n [label]=\"chooseLabel || 'platform.angular_components.attach_files' | translate\"\n (onClick)=\"inputUpload.click()\"\n priority=\"primary\"\n [disabled]=\"disabled || !!formGroup?.disabled || fileLimit === files?.length\"\n [auxiliary]=\"false\"\n >\n </s-button>\n </div>\n\n <section *ngIf=\"files.length\" [id]=\"id + 'fileupload-list'\" class=\"s-fileupload-list\" role=\"grid\">\n <ng-container *ngFor=\"let file of files; let i = index\">\n <div class=\"s-fileupload-list-file\" role=\"row\">\n <div [id]=\"id + '-file-' + i + '-name'\" class=\"s-fileupload-list-file-name\" role=\"gridcell\">\n <div class=\"file-name-size\">\n <ng-container\n *ngTemplateOutlet=\"\n (permissions.includes(READ_PERMISSION) && file.savedFile) || file.progress === 100\n ? descriptionUrl\n : description;\n context: {\n $implicit: file,\n index: i\n }\n \"\n >\n </ng-container>\n \n <span>{{ formatFileSize(file.size) }}</span>\n </div>\n\n <span *ngIf=\"modifiedDate\" class=\"s-fileupload-list-file-name-date\">{{ modifiedDate }}</span>\n </div>\n <div class=\"s-fileupload-list-file-status\" role=\"gridcell\">\n <
|
|
9171
|
+
template: "<div [id]=\"id\" class=\"s-fileupload\">\n <div class=\"s-fileupload-choose\">\n <input\n #inputUpload\n [id]=\"id + 'input-upload'\"\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 [id]=\"id + 'upload-button'\"\n [label]=\"chooseLabel || 'platform.angular_components.attach_files' | translate\"\n (onClick)=\"inputUpload.click()\"\n priority=\"primary\"\n [disabled]=\"disabled || !!formGroup?.disabled || fileLimit === files?.length\"\n [auxiliary]=\"false\"\n >\n </s-button>\n </div>\n\n <section *ngIf=\"files.length\" [id]=\"id + 'fileupload-list'\" class=\"s-fileupload-list\" role=\"grid\">\n <ng-container *ngFor=\"let file of files; let i = index\">\n <div class=\"s-fileupload-list-file\" role=\"row\">\n <div [id]=\"id + '-file-' + i + '-name'\" class=\"s-fileupload-list-file-name\" role=\"gridcell\">\n <div class=\"file-name-size\">\n <ng-container\n *ngTemplateOutlet=\"\n (permissions.includes(READ_PERMISSION) && file.savedFile) || file.progress === 100\n ? descriptionUrl\n : description;\n context: {\n $implicit: file,\n index: i\n }\n \"\n >\n </ng-container>\n \n <span>{{ formatFileSize(file.size) }}</span>\n </div>\n\n <span *ngIf=\"modifiedDate\" class=\"s-fileupload-list-file-name-date\">{{ modifiedDate }}</span>\n </div>\n <div class=\"s-fileupload-list-file-status\" role=\"gridcell\">\n\n <div *ngIf=\"file.isUploading && !isSmallDevice\" style=\"width: 256px;\">\n <s-progressbar\n [value]=\"file.progress || 0\"\n [showValue]=\"false\"\n activeColor=\"blue\"\n ></s-progressbar>\n </div>\n <span\n *ngIf=\"file.isUploading && isSmallDevice\"\n [id]=\"id + '-file-' + i + '-spin'\"\n class=\"fas fa-circle-notch fa-spin\"\n [attr.aria-label]=\"ariaLabelProgress || 'platform.angular_components.loading_file' | translate\"\n >\n </span>\n <span\n *ngIf=\"!file.isUploading && !file.error && file.progress === 100\"\n [id]=\"id + '-file-' + i + '-check'\"\n class=\"fas fa-check\"\n role=\"alert\"\n [attr.aria-label]=\"\n ariaLabelSuccess || successTooltip || 'platform.angular_components.file_attached_successfully' | translate\n \"\n [pTooltip]=\"successTooltip || 'platform.angular_components.file_attached_successfully' | translate\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n [appendTo]=\"'body'\"\n >\n </span>\n <span\n *ngIf=\"file.error?.message\"\n [id]=\"id + '-file-' + i + '-error'\"\n class=\"fas fa-times\"\n role=\"alert\"\n [pTooltip]=\"file.error?.message\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n [appendTo]=\"'body'\"\n >\n </span>\n </div>\n <div class=\"s-fileupload-list-file-actions\" role=\"gridcell\">\n <a\n *ngIf=\"file.isUploading\"\n [id]=\"id + '-file-' + i + '-cancel'\"\n class=\"s-fileupload-list-file-actions-action\"\n (click)=\"onCancelUpload(i)\"\n >\n {{ cancelLabel || \"platform.angular_components.cancel\" | translate }}\n </a>\n <a\n *ngIf=\"permissions.includes(REMOVE_PERMISSION) && !file.isUploading && !(disabled || !!formGroup?.disabled)\"\n role=\"button\"\n tabindex=\"0\"\n [id]=\"id + '-file-' + i + '-remove'\"\n class=\"s-fileupload-list-file-actions-action\"\n (click)=\"onRemoveFile(file)\"\n [attr.aria-label]=\"ariaLabelRemove || removeLabel || 'platform.angular_components.remove' | translate\"\n >\n {{ removeLabel || \"platform.angular_components.remove\" | translate }}\n </a>\n </div>\n </div>\n </ng-container>\n </section>\n</div>\n\n<ng-template #descriptionUrl let-file let-i=\"index\">\n <a [id]=\"id + '-file-' + i + '-name-link'\" tabindex=\"0\" (click)=\"onDowloadFile(i)\" [attr.aria-label]=\"ariaLabelFileName || file.name\"\n >{{ file.name }}\n </a>\n <a style=\"display: none\" [href]=\"file.objectURL\" target=\"_blank\" download #anchor> </a>\n</ng-template>\n\n<ng-template #description let-file>\n <span tabindex=\"0\" [attr.aria-label]=\"ariaLabelFileName || file.name\">\n {{ file.name }}\n </span>\n</ng-template>\n",
|
|
9001
9172
|
styles: [".s-fileupload .s-fileupload-choose{position:relative;margin:15px 0;width:-webkit-max-content;width:max-content}.s-fileupload input[type=file]{display:none}.s-fileupload-list{border:1px solid #ccc}.s-fileupload-list-file:not(:first-child){border-top:1px solid #ccc}.s-fileupload-list .s-fileupload-list-file{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;padding:15px}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-name{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-item-align:center;align-self:center;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-name .file-name-size{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;gap:20px}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-name .s-fileupload-list-file-name-date{font-size:.75rem;color:#999}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-name>a{cursor:pointer;text-decoration:none}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-status{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}.s-fileupload-list .s-fileupload-list-file .fas.fa-circle-notch{color:#d8d8d8;font-size:12px}.s-fileupload-list .s-fileupload-list-file .fas.fa-check{color:#0c9348;font-size:12px}.s-fileupload-list .s-fileupload-list-file .fas.fa-times{color:#c13018;font-size:12px}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions{margin-top:15px;-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;width:100%}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions a.s-fileupload-list-file-actions-action{text-decoration:none;color:#428bca}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions a.s-fileupload-list-file-actions-action :focus,.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions a.s-fileupload-list-file-actions-action :visited,.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions a.s-fileupload-list-file-actions-action:hover{text-decoration:none}@media (min-width:768px){.s-fileupload-list .s-fileupload-list-file{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-name{width:auto;-ms-flex-positive:2;flex-grow:2}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-status{margin:0 15px}.s-fileupload-list .s-fileupload-list-file .s-fileupload-list-file-actions{margin:0;width:auto}}"]
|
|
9002
9173
|
})
|
|
9003
9174
|
], FileUploadComponent);
|
|
@@ -9014,7 +9185,7 @@
|
|
|
9014
9185
|
common.CommonModule,
|
|
9015
9186
|
ButtonModule,
|
|
9016
9187
|
tooltip$1.TooltipModule,
|
|
9017
|
-
|
|
9188
|
+
ProgressBarModule,
|
|
9018
9189
|
core$1.TranslateModule,
|
|
9019
9190
|
],
|
|
9020
9191
|
providers: [FileUploadService],
|
|
@@ -19675,174 +19846,6 @@
|
|
|
19675
19846
|
return ProductHeaderModule;
|
|
19676
19847
|
}());
|
|
19677
19848
|
|
|
19678
|
-
|
|
19679
|
-
(function (ProgressBarColors) {
|
|
19680
|
-
ProgressBarColors["Blue"] = "blue";
|
|
19681
|
-
ProgressBarColors["Green"] = "green";
|
|
19682
|
-
ProgressBarColors["Red"] = "red";
|
|
19683
|
-
ProgressBarColors["Yellow"] = "yellow";
|
|
19684
|
-
})(exports.ProgressBarColors || (exports.ProgressBarColors = {}));
|
|
19685
|
-
|
|
19686
|
-
var ProgressBarMode;
|
|
19687
|
-
(function (ProgressBarMode) {
|
|
19688
|
-
ProgressBarMode["Determinate"] = "determinate";
|
|
19689
|
-
ProgressBarMode["Indeterminate"] = "indeterminate";
|
|
19690
|
-
})(ProgressBarMode || (ProgressBarMode = {}));
|
|
19691
|
-
|
|
19692
|
-
var ProgressBarComponent = /** @class */ (function () {
|
|
19693
|
-
function ProgressBarComponent() {
|
|
19694
|
-
this.numberFormatOptions = {
|
|
19695
|
-
style: "decimal",
|
|
19696
|
-
minimumFractionDigits: 0,
|
|
19697
|
-
maximumFractionDigits: 2,
|
|
19698
|
-
roundingMode: "trunc",
|
|
19699
|
-
};
|
|
19700
|
-
this.showValue = true;
|
|
19701
|
-
this.mode = ProgressBarMode.Determinate;
|
|
19702
|
-
}
|
|
19703
|
-
ProgressBarComponent.prototype.ngOnInit = function () {
|
|
19704
|
-
this.validateInputs();
|
|
19705
|
-
};
|
|
19706
|
-
ProgressBarComponent.prototype.validateInputs = function () {
|
|
19707
|
-
if (this.value < 0 || this.value > 100) {
|
|
19708
|
-
throw new Error("Invalid value for value");
|
|
19709
|
-
}
|
|
19710
|
-
if (this.targetValue < 0 || this.targetValue > 100) {
|
|
19711
|
-
throw new Error("Invalid value for targetValue");
|
|
19712
|
-
}
|
|
19713
|
-
if (this.mode === ProgressBarMode.Indeterminate && (this.value || this.targetValue || this.targetLabel)) {
|
|
19714
|
-
throw new Error("When the mode is indeterminate, the value, targetValue and targetLabel parameters are not expected.");
|
|
19715
|
-
}
|
|
19716
|
-
};
|
|
19717
|
-
__decorate([
|
|
19718
|
-
core.Input()
|
|
19719
|
-
], ProgressBarComponent.prototype, "value", void 0);
|
|
19720
|
-
__decorate([
|
|
19721
|
-
core.Input()
|
|
19722
|
-
], ProgressBarComponent.prototype, "numberFormatOptions", void 0);
|
|
19723
|
-
__decorate([
|
|
19724
|
-
core.Input()
|
|
19725
|
-
], ProgressBarComponent.prototype, "targetValue", void 0);
|
|
19726
|
-
__decorate([
|
|
19727
|
-
core.Input()
|
|
19728
|
-
], ProgressBarComponent.prototype, "label", void 0);
|
|
19729
|
-
__decorate([
|
|
19730
|
-
core.Input()
|
|
19731
|
-
], ProgressBarComponent.prototype, "targetLabel", void 0);
|
|
19732
|
-
__decorate([
|
|
19733
|
-
core.Input()
|
|
19734
|
-
], ProgressBarComponent.prototype, "activeColor", void 0);
|
|
19735
|
-
__decorate([
|
|
19736
|
-
core.Input()
|
|
19737
|
-
], ProgressBarComponent.prototype, "showValue", void 0);
|
|
19738
|
-
__decorate([
|
|
19739
|
-
core.Input()
|
|
19740
|
-
], ProgressBarComponent.prototype, "mode", void 0);
|
|
19741
|
-
ProgressBarComponent = __decorate([
|
|
19742
|
-
core.Component({
|
|
19743
|
-
selector: "s-progressbar",
|
|
19744
|
-
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 [numberFormatOptions]=\"numberFormatOptions\"\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>",
|
|
19745
|
-
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}"]
|
|
19746
|
-
})
|
|
19747
|
-
], ProgressBarComponent);
|
|
19748
|
-
return ProgressBarComponent;
|
|
19749
|
-
}());
|
|
19750
|
-
|
|
19751
|
-
var ProgressBarDeterminateComponent = /** @class */ (function () {
|
|
19752
|
-
function ProgressBarDeterminateComponent(localeService) {
|
|
19753
|
-
this.localeService = localeService;
|
|
19754
|
-
this.showValue = true;
|
|
19755
|
-
}
|
|
19756
|
-
ProgressBarDeterminateComponent.prototype.ngOnInit = function () {
|
|
19757
|
-
this.validateValues();
|
|
19758
|
-
this.onGetLocale();
|
|
19759
|
-
};
|
|
19760
|
-
ProgressBarDeterminateComponent.prototype.onGetLocale = function () {
|
|
19761
|
-
var _this = this;
|
|
19762
|
-
this.localeService.getLocale().subscribe({
|
|
19763
|
-
next: function (locale) {
|
|
19764
|
-
_this.numberFormat = new Intl.NumberFormat(locale !== null && locale !== void 0 ? locale : "pt-BR", _this.numberFormatOptions);
|
|
19765
|
-
},
|
|
19766
|
-
error: function () {
|
|
19767
|
-
_this.numberFormat = new Intl.NumberFormat("pt-BR", _this.numberFormatOptions);
|
|
19768
|
-
},
|
|
19769
|
-
});
|
|
19770
|
-
};
|
|
19771
|
-
ProgressBarDeterminateComponent.prototype.validateValues = function () {
|
|
19772
|
-
if (this.value < 0 || this.value > 100) {
|
|
19773
|
-
throw new Error("Invalid value for value");
|
|
19774
|
-
}
|
|
19775
|
-
if (this.targetValue < 0 || this.targetValue > 100) {
|
|
19776
|
-
throw new Error("Invalid value for targetValue");
|
|
19777
|
-
}
|
|
19778
|
-
};
|
|
19779
|
-
ProgressBarDeterminateComponent.ctorParameters = function () { return [
|
|
19780
|
-
{ type: LocaleService }
|
|
19781
|
-
]; };
|
|
19782
|
-
__decorate([
|
|
19783
|
-
core.Input()
|
|
19784
|
-
], ProgressBarDeterminateComponent.prototype, "value", void 0);
|
|
19785
|
-
__decorate([
|
|
19786
|
-
core.Input()
|
|
19787
|
-
], ProgressBarDeterminateComponent.prototype, "numberFormatOptions", void 0);
|
|
19788
|
-
__decorate([
|
|
19789
|
-
core.Input()
|
|
19790
|
-
], ProgressBarDeterminateComponent.prototype, "targetValue", void 0);
|
|
19791
|
-
__decorate([
|
|
19792
|
-
core.Input()
|
|
19793
|
-
], ProgressBarDeterminateComponent.prototype, "targetLabel", void 0);
|
|
19794
|
-
__decorate([
|
|
19795
|
-
core.Input()
|
|
19796
|
-
], ProgressBarDeterminateComponent.prototype, "activeColor", void 0);
|
|
19797
|
-
__decorate([
|
|
19798
|
-
core.Input()
|
|
19799
|
-
], ProgressBarDeterminateComponent.prototype, "showValue", void 0);
|
|
19800
|
-
ProgressBarDeterminateComponent = __decorate([
|
|
19801
|
-
core.Component({
|
|
19802
|
-
selector: "s-progressbar-determinate",
|
|
19803
|
-
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\n {{ showValue && value ? numberFormat.format(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 || numberFormat.format(value) + '%' }}\n </span>\n </div>\n </div>\n",
|
|
19804
|
-
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}"]
|
|
19805
|
-
})
|
|
19806
|
-
], ProgressBarDeterminateComponent);
|
|
19807
|
-
return ProgressBarDeterminateComponent;
|
|
19808
|
-
}());
|
|
19809
|
-
|
|
19810
|
-
var ProgressBarIndeterminateComponent = /** @class */ (function () {
|
|
19811
|
-
function ProgressBarIndeterminateComponent() {
|
|
19812
|
-
}
|
|
19813
|
-
__decorate([
|
|
19814
|
-
core.Input()
|
|
19815
|
-
], ProgressBarIndeterminateComponent.prototype, "activeColor", void 0);
|
|
19816
|
-
__decorate([
|
|
19817
|
-
core.Input()
|
|
19818
|
-
], ProgressBarIndeterminateComponent.prototype, "label", void 0);
|
|
19819
|
-
ProgressBarIndeterminateComponent = __decorate([
|
|
19820
|
-
core.Component({
|
|
19821
|
-
selector: "s-progressbar-indeterminate",
|
|
19822
|
-
template: "<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",
|
|
19823
|
-
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%)}}"]
|
|
19824
|
-
})
|
|
19825
|
-
], ProgressBarIndeterminateComponent);
|
|
19826
|
-
return ProgressBarIndeterminateComponent;
|
|
19827
|
-
}());
|
|
19828
|
-
|
|
19829
|
-
var ProgressBarModule = /** @class */ (function () {
|
|
19830
|
-
function ProgressBarModule() {
|
|
19831
|
-
}
|
|
19832
|
-
ProgressBarModule = __decorate([
|
|
19833
|
-
core.NgModule({
|
|
19834
|
-
imports: [common.CommonModule],
|
|
19835
|
-
declarations: [
|
|
19836
|
-
ProgressBarComponent,
|
|
19837
|
-
ProgressBarDeterminateComponent,
|
|
19838
|
-
ProgressBarIndeterminateComponent,
|
|
19839
|
-
],
|
|
19840
|
-
exports: [ProgressBarComponent],
|
|
19841
|
-
})
|
|
19842
|
-
], ProgressBarModule);
|
|
19843
|
-
return ProgressBarModule;
|
|
19844
|
-
}());
|
|
19845
|
-
|
|
19846
19849
|
var RatingScaleComponent = /** @class */ (function () {
|
|
19847
19850
|
function RatingScaleComponent() {
|
|
19848
19851
|
this.disabled = false;
|
|
@@ -24431,77 +24434,77 @@
|
|
|
24431
24434
|
exports.ɵ4 = ɵ4;
|
|
24432
24435
|
exports.ɵa = TooltipComponent;
|
|
24433
24436
|
exports.ɵb = TooltipDirective;
|
|
24434
|
-
exports.ɵba =
|
|
24435
|
-
exports.ɵbb =
|
|
24436
|
-
exports.ɵbc =
|
|
24437
|
-
exports.ɵbd =
|
|
24438
|
-
exports.ɵbe =
|
|
24439
|
-
exports.ɵbf =
|
|
24440
|
-
exports.ɵbg =
|
|
24441
|
-
exports.ɵbh =
|
|
24442
|
-
exports.ɵbi =
|
|
24443
|
-
exports.ɵbj =
|
|
24444
|
-
exports.ɵbk =
|
|
24445
|
-
exports.ɵbl =
|
|
24446
|
-
exports.ɵbm =
|
|
24447
|
-
exports.ɵbn =
|
|
24448
|
-
exports.ɵbo =
|
|
24449
|
-
exports.ɵbp =
|
|
24450
|
-
exports.ɵbq =
|
|
24451
|
-
exports.ɵbr =
|
|
24452
|
-
exports.ɵbs =
|
|
24453
|
-
exports.ɵbt =
|
|
24454
|
-
exports.ɵbu =
|
|
24455
|
-
exports.ɵbv =
|
|
24456
|
-
exports.ɵbw =
|
|
24457
|
-
exports.ɵbx =
|
|
24458
|
-
exports.ɵby =
|
|
24459
|
-
exports.ɵbz =
|
|
24437
|
+
exports.ɵba = ProgressBarDeterminateComponent;
|
|
24438
|
+
exports.ɵbb = ProgressBarIndeterminateComponent;
|
|
24439
|
+
exports.ɵbc = TableColumnsComponent;
|
|
24440
|
+
exports.ɵbd = TablePagingComponent;
|
|
24441
|
+
exports.ɵbe = PasswordFieldModule;
|
|
24442
|
+
exports.ɵbf = FieldLabelModule;
|
|
24443
|
+
exports.ɵbg = FieldLabelComponent;
|
|
24444
|
+
exports.ɵbh = PasswordFieldComponent;
|
|
24445
|
+
exports.ɵbi = TextFieldModule;
|
|
24446
|
+
exports.ɵbj = TextFieldComponent;
|
|
24447
|
+
exports.ɵbk = NumberFieldModule;
|
|
24448
|
+
exports.ɵbl = NumberFieldComponent;
|
|
24449
|
+
exports.ɵbm = CurrencyFieldModule;
|
|
24450
|
+
exports.ɵbn = CurrencyFieldComponent;
|
|
24451
|
+
exports.ɵbo = BignumberFieldModule;
|
|
24452
|
+
exports.ɵbp = BignumberFieldComponent;
|
|
24453
|
+
exports.ɵbq = CheckboxFieldModule;
|
|
24454
|
+
exports.ɵbr = CheckboxFieldComponent;
|
|
24455
|
+
exports.ɵbs = ProfilePictureModule;
|
|
24456
|
+
exports.ɵbt = ThumbnailService;
|
|
24457
|
+
exports.ɵbu = ProfilePictureFieldComponent;
|
|
24458
|
+
exports.ɵbv = EditorFieldModule;
|
|
24459
|
+
exports.ɵbw = EditorFieldComponent;
|
|
24460
|
+
exports.ɵbx = SpeechRecognitionModule;
|
|
24461
|
+
exports.ɵby = SpeechRecognitionComponent;
|
|
24462
|
+
exports.ɵbz = SpeechRecognitionService;
|
|
24460
24463
|
exports.ɵc = InfoSignComponent;
|
|
24461
|
-
exports.ɵca =
|
|
24462
|
-
exports.ɵcb =
|
|
24463
|
-
exports.ɵcc =
|
|
24464
|
-
exports.ɵcd =
|
|
24465
|
-
exports.ɵce =
|
|
24466
|
-
exports.ɵcf =
|
|
24467
|
-
exports.ɵcg =
|
|
24468
|
-
exports.ɵch =
|
|
24469
|
-
exports.ɵci =
|
|
24470
|
-
exports.ɵcj =
|
|
24471
|
-
exports.ɵck =
|
|
24472
|
-
exports.ɵcl =
|
|
24473
|
-
exports.ɵcm =
|
|
24474
|
-
exports.ɵcn =
|
|
24475
|
-
exports.ɵco =
|
|
24476
|
-
exports.ɵcp =
|
|
24477
|
-
exports.ɵcq =
|
|
24478
|
-
exports.ɵcr =
|
|
24479
|
-
exports.ɵcs =
|
|
24480
|
-
exports.ɵ
|
|
24481
|
-
exports.ɵ
|
|
24482
|
-
exports.ɵcw =
|
|
24483
|
-
exports.ɵcx =
|
|
24484
|
-
exports.ɵcy =
|
|
24485
|
-
exports.ɵcz =
|
|
24464
|
+
exports.ɵca = TextToSpeechService;
|
|
24465
|
+
exports.ɵcb = AutocompleteFieldComponent;
|
|
24466
|
+
exports.ɵcc = BooleanFieldComponent;
|
|
24467
|
+
exports.ɵcd = BooleanSwitchFieldComponent;
|
|
24468
|
+
exports.ɵce = CalendarFieldComponent;
|
|
24469
|
+
exports.ɵcf = ChipsFieldComponent;
|
|
24470
|
+
exports.ɵcg = CountryPhonePickerFieldComponent;
|
|
24471
|
+
exports.ɵch = DynamicFieldComponent;
|
|
24472
|
+
exports.ɵci = DynamicFormDirective;
|
|
24473
|
+
exports.ɵcj = FieldsetComponent;
|
|
24474
|
+
exports.ɵck = FileUploadComponent$1;
|
|
24475
|
+
exports.ɵcl = LookupFieldComponent;
|
|
24476
|
+
exports.ɵcm = RadioButtonComponent;
|
|
24477
|
+
exports.ɵcn = RowComponent;
|
|
24478
|
+
exports.ɵco = SectionComponent;
|
|
24479
|
+
exports.ɵcp = SelectFieldComponent;
|
|
24480
|
+
exports.ɵcq = SliderFieldComponent;
|
|
24481
|
+
exports.ɵcr = TextAreaFieldComponent;
|
|
24482
|
+
exports.ɵcs = TextAreaIAFieldComponent;
|
|
24483
|
+
exports.ɵct = IAssistService;
|
|
24484
|
+
exports.ɵcu = ButtonFieldComponent;
|
|
24485
|
+
exports.ɵcw = DecimalField;
|
|
24486
|
+
exports.ɵcx = SideTableComponent;
|
|
24487
|
+
exports.ɵcy = InfiniteScrollModule;
|
|
24488
|
+
exports.ɵcz = InfiniteScrollDirective;
|
|
24486
24489
|
exports.ɵd = TieredMenuEventService;
|
|
24487
|
-
exports.ɵda =
|
|
24488
|
-
exports.ɵdb =
|
|
24489
|
-
exports.ɵdc =
|
|
24490
|
-
exports.ɵdd =
|
|
24491
|
-
exports.ɵde =
|
|
24492
|
-
exports.ɵdf =
|
|
24493
|
-
exports.ɵdg =
|
|
24494
|
-
exports.ɵdh =
|
|
24495
|
-
exports.ɵdi =
|
|
24496
|
-
exports.ɵdj =
|
|
24497
|
-
exports.ɵdk =
|
|
24498
|
-
exports.ɵdl =
|
|
24499
|
-
exports.ɵdm =
|
|
24500
|
-
exports.ɵdn =
|
|
24501
|
-
exports.ɵdo =
|
|
24502
|
-
exports.ɵdp =
|
|
24503
|
-
exports.ɵdq =
|
|
24504
|
-
exports.ɵdr =
|
|
24490
|
+
exports.ɵda = IAInsightSidebarComponent;
|
|
24491
|
+
exports.ɵdb = IAInsightCardComponent;
|
|
24492
|
+
exports.ɵdc = IAInsightCardLoaderComponent;
|
|
24493
|
+
exports.ɵdd = GridMenuItemComponent;
|
|
24494
|
+
exports.ɵde = InlineEditItemComponent;
|
|
24495
|
+
exports.ɵdf = InlineEditCalendarComponent;
|
|
24496
|
+
exports.ɵdg = InlineEditLookupComponent;
|
|
24497
|
+
exports.ɵdh = InlineEditNumberComponent;
|
|
24498
|
+
exports.ɵdi = InlineEditTextComponent;
|
|
24499
|
+
exports.ɵdj = InlineEditTextAreaComponent;
|
|
24500
|
+
exports.ɵdk = InlineEditTextAreaIAComponent;
|
|
24501
|
+
exports.ɵdl = KanbanEventService;
|
|
24502
|
+
exports.ɵdm = KanbanItemComponent;
|
|
24503
|
+
exports.ɵdn = KanbanColumnComponent;
|
|
24504
|
+
exports.ɵdo = KanbanItemDraggingComponent;
|
|
24505
|
+
exports.ɵdp = NumberLocaleOptions;
|
|
24506
|
+
exports.ɵdq = BorderButtonModule;
|
|
24507
|
+
exports.ɵdr = BorderButtonComponent;
|
|
24505
24508
|
exports.ɵds = SelectButtonItemComponent;
|
|
24506
24509
|
exports.ɵdt = SlidePanelService;
|
|
24507
24510
|
exports.ɵdu = ThumbnailItemComponent;
|