@seniorsistemas/angular-components 17.7.9 → 17.7.11
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 +177 -143
- 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/dynamic-form/components/fields/password/password-field.component.d.ts +2 -0
- package/components/dynamic-form/components/fields/password/password-field.module.d.ts +2 -0
- package/components/dynamic-form/configurations/fields/password-field.d.ts +2 -0
- package/components/dynamic-form/configurations/fields/text-area-field.d.ts +2 -0
- package/components/dynamic-form/configurations/fields/text-area-ia-field.d.ts +2 -0
- package/components/dynamic-form/configurations/fields/text-field.d.ts +2 -0
- package/components/password-strength/password-strength.component.d.ts +3 -0
- package/esm2015/components/dynamic-form/components/fields/password/password-field.component.js +7 -3
- package/esm2015/components/dynamic-form/components/fields/password/password-field.module.js +28 -0
- package/esm2015/components/dynamic-form/components/fields/text/text-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/text-area/text-area-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.js +2 -2
- package/esm2015/components/dynamic-form/configurations/fields/password-field.js +2 -1
- package/esm2015/components/dynamic-form/configurations/fields/text-area-field.js +2 -1
- package/esm2015/components/dynamic-form/configurations/fields/text-area-ia-field.js +2 -1
- package/esm2015/components/dynamic-form/configurations/fields/text-field.js +2 -1
- package/esm2015/components/dynamic-form/dynamic-form.module.js +3 -4
- package/esm2015/components/password-strength/password-strength.component.js +12 -9
- package/esm2015/locale/fallback.js +4 -1
- package/esm2015/seniorsistemas-angular-components.js +72 -71
- package/esm5/components/dynamic-form/components/fields/password/password-field.component.js +7 -3
- package/esm5/components/dynamic-form/components/fields/password/password-field.module.js +31 -0
- package/esm5/components/dynamic-form/components/fields/text/text-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/text-area/text-area-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.js +2 -2
- package/esm5/components/dynamic-form/configurations/fields/password-field.js +2 -1
- package/esm5/components/dynamic-form/configurations/fields/text-area-field.js +2 -1
- package/esm5/components/dynamic-form/configurations/fields/text-area-ia-field.js +2 -1
- package/esm5/components/dynamic-form/configurations/fields/text-field.js +2 -1
- package/esm5/components/dynamic-form/dynamic-form.module.js +3 -4
- package/esm5/components/password-strength/password-strength.component.js +12 -9
- package/esm5/locale/fallback.js +4 -1
- package/esm5/seniorsistemas-angular-components.js +72 -71
- package/fesm2015/seniorsistemas-angular-components.js +102 -72
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +107 -74
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +2 -1
- package/seniorsistemas-angular-components.d.ts +71 -70
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -4853,6 +4853,7 @@ var TextAreaField = /** @class */ (function (_super) {
|
|
|
4853
4853
|
_this.rows = config.rows;
|
|
4854
4854
|
_this.keyFilter = config.keyFilter;
|
|
4855
4855
|
_this.style = config.style;
|
|
4856
|
+
_this.readonly = config.readonly;
|
|
4856
4857
|
return _this;
|
|
4857
4858
|
}
|
|
4858
4859
|
return TextAreaField;
|
|
@@ -4867,6 +4868,7 @@ var TextAreaIAField = /** @class */ (function (_super) {
|
|
|
4867
4868
|
_this.keyFilter = config.keyFilter;
|
|
4868
4869
|
_this.style = config.style;
|
|
4869
4870
|
_this.prompt = config.prompt;
|
|
4871
|
+
_this.readonly = config.readonly;
|
|
4870
4872
|
return _this;
|
|
4871
4873
|
}
|
|
4872
4874
|
return TextAreaIAField;
|
|
@@ -4877,6 +4879,7 @@ var TextField = /** @class */ (function (_super) {
|
|
|
4877
4879
|
function TextField(config) {
|
|
4878
4880
|
var _this = _super.call(this, config) || this;
|
|
4879
4881
|
_this.mask = config.mask;
|
|
4882
|
+
_this.readonly = config.readonly;
|
|
4880
4883
|
_this.inputType = config.inputType;
|
|
4881
4884
|
_this.keyFilter = config.keyFilter;
|
|
4882
4885
|
_this.leftAddon = config.leftAddon;
|
|
@@ -4904,6 +4907,7 @@ var PasswordField = /** @class */ (function (_super) {
|
|
|
4904
4907
|
_this.maxLength = config.maxLength || 9999999;
|
|
4905
4908
|
_this.passwordStrength = config.passwordStrength;
|
|
4906
4909
|
_this.passwordStrengthOptions = config.passwordStrengthOptions;
|
|
4910
|
+
_this.showToggle = config.showToggle;
|
|
4907
4911
|
_this.style = config.style;
|
|
4908
4912
|
_this.onBlur = config.onBlur;
|
|
4909
4913
|
_this.onFocus = config.onFocus;
|
|
@@ -7333,10 +7337,8 @@ var PasswordStrengthPositions;
|
|
|
7333
7337
|
})(PasswordStrengthPositions || (PasswordStrengthPositions = {}));
|
|
7334
7338
|
|
|
7335
7339
|
var PasswordStrengthComponent = /** @class */ (function () {
|
|
7336
|
-
function PasswordStrengthComponent() {
|
|
7337
|
-
this.
|
|
7338
|
-
this.mediumTitle = "Médio";
|
|
7339
|
-
this.strongTitle = "Forte";
|
|
7340
|
+
function PasswordStrengthComponent(translate) {
|
|
7341
|
+
this.translate = translate;
|
|
7340
7342
|
this.position = PasswordStrengthPositions.Right;
|
|
7341
7343
|
this.left = 0;
|
|
7342
7344
|
this.top = 0;
|
|
@@ -7360,6 +7362,7 @@ var PasswordStrengthComponent = /** @class */ (function () {
|
|
|
7360
7362
|
}
|
|
7361
7363
|
};
|
|
7362
7364
|
PasswordStrengthComponent.prototype.updateIndicators = function (passwordStrength) {
|
|
7365
|
+
var _a, _b, _c, _d;
|
|
7363
7366
|
var strengthIndicator1 = document.querySelector("#strength-indicator-1");
|
|
7364
7367
|
var strengthIndicator2 = document.querySelector("#strength-indicator-2");
|
|
7365
7368
|
var strengthIndicator3 = document.querySelector("#strength-indicator-3");
|
|
@@ -7372,21 +7375,21 @@ var PasswordStrengthComponent = /** @class */ (function () {
|
|
|
7372
7375
|
var strengthClass;
|
|
7373
7376
|
switch (passwordStrength) {
|
|
7374
7377
|
case PasswordStrengths.VeryWeak:
|
|
7375
|
-
this.title = this.weakTitle;
|
|
7378
|
+
this.title = (_a = this.weakTitle) !== null && _a !== void 0 ? _a : this.translate.instant("platform.angular_components.weak");
|
|
7376
7379
|
break;
|
|
7377
7380
|
case PasswordStrengths.Weak:
|
|
7378
|
-
this.title = this.weakTitle;
|
|
7381
|
+
this.title = (_b = this.weakTitle) !== null && _b !== void 0 ? _b : this.translate.instant("platform.angular_components.weak");
|
|
7379
7382
|
strengthClass = "strength-indicator--weak";
|
|
7380
7383
|
onIndicators.push(strengthIndicator1);
|
|
7381
7384
|
break;
|
|
7382
7385
|
case PasswordStrengths.Medium:
|
|
7383
|
-
this.title = this.mediumTitle;
|
|
7386
|
+
this.title = (_c = this.mediumTitle) !== null && _c !== void 0 ? _c : this.translate.instant("platform.angular_components.medium");
|
|
7384
7387
|
strengthClass = "strength-indicator--medium";
|
|
7385
7388
|
onIndicators.push(strengthIndicator1);
|
|
7386
7389
|
onIndicators.push(strengthIndicator2);
|
|
7387
7390
|
break;
|
|
7388
7391
|
case PasswordStrengths.Strong:
|
|
7389
|
-
this.title = this.strongTitle;
|
|
7392
|
+
this.title = (_d = this.strongTitle) !== null && _d !== void 0 ? _d : this.translate.instant("platform.angular_components.strong");
|
|
7390
7393
|
strengthClass = "strength-indicator--strong";
|
|
7391
7394
|
onIndicators.push(strengthIndicator1);
|
|
7392
7395
|
onIndicators.push(strengthIndicator2);
|
|
@@ -7400,6 +7403,9 @@ var PasswordStrengthComponent = /** @class */ (function () {
|
|
|
7400
7403
|
indicator.classList.add(strengthClass);
|
|
7401
7404
|
});
|
|
7402
7405
|
};
|
|
7406
|
+
PasswordStrengthComponent.ctorParameters = function () { return [
|
|
7407
|
+
{ type: TranslateService }
|
|
7408
|
+
]; };
|
|
7403
7409
|
__decorate([
|
|
7404
7410
|
Input()
|
|
7405
7411
|
], PasswordStrengthComponent.prototype, "weakTitle", void 0);
|
|
@@ -9088,66 +9094,6 @@ var LookupFieldComponent = /** @class */ (function () {
|
|
|
9088
9094
|
return LookupFieldComponent;
|
|
9089
9095
|
}());
|
|
9090
9096
|
|
|
9091
|
-
var PasswordFieldComponent = /** @class */ (function () {
|
|
9092
|
-
function PasswordFieldComponent() {
|
|
9093
|
-
this.onInput = new EventEmitter();
|
|
9094
|
-
this.onFocus = new EventEmitter();
|
|
9095
|
-
this.onComplete = new EventEmitter();
|
|
9096
|
-
this.ngUnsubscribe = new Subject();
|
|
9097
|
-
}
|
|
9098
|
-
PasswordFieldComponent.prototype.ngOnInit = function () {
|
|
9099
|
-
var _this = this;
|
|
9100
|
-
this.onFocus
|
|
9101
|
-
.pipe(takeUntil(this.ngUnsubscribe))
|
|
9102
|
-
.subscribe(function (event) {
|
|
9103
|
-
if (_this.field.onFocus) {
|
|
9104
|
-
_this.field.onFocus(event);
|
|
9105
|
-
}
|
|
9106
|
-
});
|
|
9107
|
-
this.onInput
|
|
9108
|
-
.pipe(takeUntil(this.ngUnsubscribe))
|
|
9109
|
-
.subscribe(function (event) {
|
|
9110
|
-
if (_this.field.onInput) {
|
|
9111
|
-
_this.field.onInput(event);
|
|
9112
|
-
}
|
|
9113
|
-
});
|
|
9114
|
-
this.onComplete
|
|
9115
|
-
.pipe(takeUntil(this.ngUnsubscribe))
|
|
9116
|
-
.subscribe(function (event) {
|
|
9117
|
-
if (_this.field.onComplete) {
|
|
9118
|
-
_this.field.onComplete(event);
|
|
9119
|
-
}
|
|
9120
|
-
});
|
|
9121
|
-
};
|
|
9122
|
-
PasswordFieldComponent.prototype.ngOnDestroy = function () {
|
|
9123
|
-
this.ngUnsubscribe.next();
|
|
9124
|
-
this.ngUnsubscribe.complete();
|
|
9125
|
-
};
|
|
9126
|
-
__decorate([
|
|
9127
|
-
Input()
|
|
9128
|
-
], PasswordFieldComponent.prototype, "field", void 0);
|
|
9129
|
-
__decorate([
|
|
9130
|
-
Input()
|
|
9131
|
-
], PasswordFieldComponent.prototype, "formControl", void 0);
|
|
9132
|
-
__decorate([
|
|
9133
|
-
Output()
|
|
9134
|
-
], PasswordFieldComponent.prototype, "onInput", void 0);
|
|
9135
|
-
__decorate([
|
|
9136
|
-
Output()
|
|
9137
|
-
], PasswordFieldComponent.prototype, "onFocus", void 0);
|
|
9138
|
-
__decorate([
|
|
9139
|
-
Output()
|
|
9140
|
-
], PasswordFieldComponent.prototype, "onComplete", void 0);
|
|
9141
|
-
PasswordFieldComponent = __decorate([
|
|
9142
|
-
Component({
|
|
9143
|
-
template: "<input\n type=\"password\"\n [id]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [sPasswordStrength]=\"field.passwordStrength\"\n [psDescription]=\"field.passwordStrengthOptions?.description\"\n [psWeakTitle]=\"field.passwordStrengthOptions?.weakTitle\"\n [psMediumTitle]=\"field.passwordStrengthOptions?.mediumTitle\"\n [psStrongTitle]=\"field.passwordStrengthOptions?.strongTitle\"\n [psValidation]=\"field.passwordStrengthOptions?.validation\" />",
|
|
9144
|
-
encapsulation: ViewEncapsulation.None,
|
|
9145
|
-
styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}"]
|
|
9146
|
-
})
|
|
9147
|
-
], PasswordFieldComponent);
|
|
9148
|
-
return PasswordFieldComponent;
|
|
9149
|
-
}());
|
|
9150
|
-
|
|
9151
9097
|
var RadioButtonComponent = /** @class */ (function () {
|
|
9152
9098
|
function RadioButtonComponent() {
|
|
9153
9099
|
this.onClick = new EventEmitter();
|
|
@@ -9363,7 +9309,7 @@ var TextAreaFieldComponent = /** @class */ (function () {
|
|
|
9363
9309
|
], TextAreaFieldComponent.prototype, "formControl", void 0);
|
|
9364
9310
|
TextAreaFieldComponent = __decorate([
|
|
9365
9311
|
Component({
|
|
9366
|
-
template: "<textarea\n [id]=\"(field.id || field.name)\"\n *ngIf=\"!field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\"\n></textarea>\n<textarea\n [id]=\"(field.id || field.name)\"\n *ngIf=\"field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [pKeyFilter]=\"field.keyFilter\"\n [ngStyle]=\"field.style\"\n></textarea>\n"
|
|
9312
|
+
template: "<textarea\n [id]=\"(field.id || field.name)\"\n *ngIf=\"!field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n<textarea\n [id]=\"(field.id || field.name)\"\n *ngIf=\"field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [pKeyFilter]=\"field.keyFilter\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n"
|
|
9367
9313
|
})
|
|
9368
9314
|
], TextAreaFieldComponent);
|
|
9369
9315
|
return TextAreaFieldComponent;
|
|
@@ -9439,7 +9385,7 @@ var TextAreaIAFieldComponent = /** @class */ (function () {
|
|
|
9439
9385
|
], TextAreaIAFieldComponent.prototype, "formControl", void 0);
|
|
9440
9386
|
TextAreaIAFieldComponent = __decorate([
|
|
9441
9387
|
Component({
|
|
9442
|
-
template: "<s-loading-state\n [loading]=\"isLoading\"\n [blockWindow]=\"true\"> \n</s-loading-state>\n\n<p-dialog\n [(visible)]=\"isVisible\"\n [modal]=\"true\"\n [style]=\"{ width: '50vw' }\"\n [draggable]=\"false\"\n [resizable]=\"false\"\n (onHide)=\"onHideDialog()\">\n <p-header>\n <div class=\"dialog-header\">\n <span class=\"iassist-icon\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </span>\n IAssist - Content Generator\n </div>\n </p-header>\n <s-dynamic-form\n [fields]=\"fields\"\n [form]=\"formGroup\">\n </s-dynamic-form>\n <p-footer>\n <div class=\"footer-content\">\n <s-button\n id=\"-submit-button\"\n type=\"button\"\n [label]=\"'platform.angular_components.generate_text' | translate\"\n (onClick)=\"submitContext()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n showDelay=\"500\">\n </s-button>\n <s-button\n id=\"-cancel-button\"\n type=\"button\"\n priority=\"link\"\n [label]=\"'platform.angular_components.cancel' | translate\"\n (onClick)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n showDelay=\"500\">\n </s-button>\n </div>\n </p-footer>\n</p-dialog>\n\n<div class=\"textarea-ia\">\n <textarea\n [id]=\"(field.id || field.name)\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\">\n </textarea>\n <button\n class=\"iassist-button\"\n (click)=\"showDialog()\"\n sTooltip=\"IAssist - Content Generator\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </button>\n</div>\n\n<ng-template #iassistIcon>\n <svg style=\"width: 100%; height: 100%;\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.81451 18.1054L5.99593 17.6059L7.52166 13.4099L7.60877 13.1726L7.61277 13.1614L7.94285 12.2543L8.01159 12.0648L8.05394 11.949L5.2998 8.52426L5.02726 8.18379C5.00569 8.15821 4.9881 8.13104 4.97292 8.10226C4.90099 7.9632 4.85063 7.81294 4.82186 7.6531C4.73075 7.1344 4.90418 6.60771 5.28382 6.24326C5.29421 6.23447 5.3038 6.22567 5.31419 6.21688L5.47164 6.0914L9.3439 3.00238L9.5469 2.84094L9.57088 2.82096L10.4101 2.15041L11.8007 1.04188C11.2181 0.925188 10.6163 0.863647 10.0001 0.863647C4.95374 0.863647 0.863281 4.9541 0.863281 9.99963C0.863281 13.5346 2.87254 16.5989 5.80971 18.1182\" fill=\"#0FA389\"/>\n <path d=\"M14.099 1.83472L13.9495 2.24632L11.997 7.61074L11.9427 7.7594L11.9003 7.87369L14.7448 11.4103C14.7463 11.4127 14.7479 11.4143 14.7495 11.4167L14.9414 11.654C14.9541 11.67 14.9661 11.6868 14.9765 11.7044C15.0764 11.8698 15.1444 12.0505 15.1779 12.2431C15.273 12.7826 15.0812 13.3284 14.676 13.6897C14.656 13.7129 14.6345 13.7344 14.6105 13.7536L11.8563 15.9507L11.6789 16.0922L11.6022 16.1537L10.7406 16.8402V16.841L10.3937 17.1176L9.85747 17.5452L9.39951 17.9112L8.11035 18.9398C8.72016 19.0677 9.35155 19.1364 9.99973 19.1364C15.0461 19.1364 19.1365 15.046 19.1365 9.99964C19.1365 6.42789 17.0857 3.33727 14.099 1.83472Z\" fill=\"#0FA389\"/>\n <path d=\"M14.7287 12.3222C14.7047 12.1832 14.6551 12.0545 14.5864 11.941L14.3954 11.7036C14.3954 11.7036 14.3946 11.7028 14.3938 11.7028L11.3839 7.96005L10.5031 6.86511L10.4256 6.7676L9.03255 5.03487L8.83674 4.79191C8.79278 4.71678 8.75681 4.63446 8.73204 4.54814C8.72085 4.51058 8.71286 4.47222 8.70566 4.43465C8.68568 4.32196 8.68408 4.21007 8.69847 4.10217L8.62334 4.16291L8.44511 4.30438L5.75731 6.44871L5.60066 6.57339C5.34011 6.82275 5.20584 7.19279 5.27218 7.57482C5.29296 7.68751 5.32892 7.79541 5.37927 7.89292C5.37927 7.89292 5.37927 7.89292 5.38007 7.89371L5.6566 8.23818L8.57139 11.8627L8.63293 11.9394L9.53047 13.0559L9.59041 13.1303L9.98363 13.6186L11.0178 14.9046C11.0186 14.9054 11.0194 14.9069 11.0202 14.9077L11.1361 15.0516V15.0524C11.2184 15.1755 11.2768 15.317 11.3048 15.4728C11.3239 15.5807 11.3263 15.6878 11.3143 15.7925L11.3175 15.7965L11.3943 15.735L11.5717 15.5935L14.3266 13.3964L14.3218 13.3908C14.6335 13.1438 14.8022 12.7394 14.7287 12.3222Z\" fill=\"#F3F3F5\"/>\n <path d=\"M10.6822 15.0082C10.6814 15.0074 10.6806 15.0058 10.6806 15.005L10.5672 14.8643L10.3809 14.6325L10.3282 14.567L10.2211 14.4335L9.40028 13.4129L9.32835 13.3242L8.77289 12.6345L8.68098 12.5194L8.44121 12.2205L8.37168 12.4099L8.04159 13.317L8.0376 13.329L7.95128 13.5664L6.42475 17.7623L6.24333 18.2618L5.90605 19.1881L5.73262 19.6645C5.73182 19.6661 5.73102 19.6677 5.73102 19.6685C5.72863 19.6749 5.72703 19.6821 5.72543 19.6885C5.71584 19.7228 5.71424 19.758 5.72063 19.7948C5.74461 19.929 5.87329 20.0193 6.00836 19.9962C6.04112 19.9898 6.07229 19.9778 6.09867 19.9602C6.09867 19.9602 6.09947 19.9602 6.10027 19.9594L6.14103 19.9266L7.39422 18.9268L9.11496 17.5537L9.57292 17.1877L10.1092 16.7601L10.4561 16.4827L10.4537 16.4811C10.7582 16.2382 10.9236 15.8402 10.8509 15.4294C10.8237 15.2735 10.7654 15.1313 10.6822 15.0082Z\" fill=\"#0C847B\"/>\n <path d=\"M9.17644 4.56325C9.2124 4.68713 9.26915 4.80062 9.34268 4.90053C9.34348 4.90053 9.34428 4.90213 9.34428 4.90213L9.40342 4.97645C9.40502 4.97805 9.40582 4.97885 9.40662 4.98045L9.56806 5.17946L9.64878 5.28096L9.67915 5.31932L9.8414 5.51993L10.5559 6.40947L10.7054 6.59569L11.2169 7.23188L11.5142 7.60192L11.5693 7.45247L13.5202 2.08964L14.1596 0.332135C14.1596 0.330536 14.1604 0.328139 14.1612 0.32654C14.174 0.288177 14.1772 0.246617 14.17 0.205058C14.1468 0.0699879 14.0182 -0.0195258 13.8823 0.00365186C13.8407 0.0116442 13.8024 0.028428 13.7712 0.0540033L12.578 1.00589L12.498 1.06982L10.6958 2.50844L9.85658 3.17819L9.8326 3.19737L9.6296 3.35961L9.45297 3.50028C9.2116 3.73925 9.08692 4.08931 9.15006 4.44976C9.15726 4.48813 9.16525 4.52649 9.17644 4.56325Z\" fill=\"#0C847B\"/>\n </svg>\n</ng-template>",
|
|
9388
|
+
template: "<s-loading-state\n [loading]=\"isLoading\"\n [blockWindow]=\"true\"> \n</s-loading-state>\n\n<p-dialog\n [(visible)]=\"isVisible\"\n [modal]=\"true\"\n [style]=\"{ width: '50vw' }\"\n [draggable]=\"false\"\n [resizable]=\"false\"\n (onHide)=\"onHideDialog()\">\n <p-header>\n <div class=\"dialog-header\">\n <span class=\"iassist-icon\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </span>\n IAssist - Content Generator\n </div>\n </p-header>\n <s-dynamic-form\n [fields]=\"fields\"\n [form]=\"formGroup\">\n </s-dynamic-form>\n <p-footer>\n <div class=\"footer-content\">\n <s-button\n id=\"-submit-button\"\n type=\"button\"\n [label]=\"'platform.angular_components.generate_text' | translate\"\n (onClick)=\"submitContext()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n showDelay=\"500\">\n </s-button>\n <s-button\n id=\"-cancel-button\"\n type=\"button\"\n priority=\"link\"\n [label]=\"'platform.angular_components.cancel' | translate\"\n (onClick)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n showDelay=\"500\">\n </s-button>\n </div>\n </p-footer>\n</p-dialog>\n\n<div class=\"textarea-ia\">\n <textarea\n [id]=\"(field.id || field.name)\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\">\n </textarea>\n <button\n class=\"iassist-button\"\n (click)=\"showDialog()\"\n sTooltip=\"IAssist - Content Generator\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </button>\n</div>\n\n<ng-template #iassistIcon>\n <svg style=\"width: 100%; height: 100%;\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.81451 18.1054L5.99593 17.6059L7.52166 13.4099L7.60877 13.1726L7.61277 13.1614L7.94285 12.2543L8.01159 12.0648L8.05394 11.949L5.2998 8.52426L5.02726 8.18379C5.00569 8.15821 4.9881 8.13104 4.97292 8.10226C4.90099 7.9632 4.85063 7.81294 4.82186 7.6531C4.73075 7.1344 4.90418 6.60771 5.28382 6.24326C5.29421 6.23447 5.3038 6.22567 5.31419 6.21688L5.47164 6.0914L9.3439 3.00238L9.5469 2.84094L9.57088 2.82096L10.4101 2.15041L11.8007 1.04188C11.2181 0.925188 10.6163 0.863647 10.0001 0.863647C4.95374 0.863647 0.863281 4.9541 0.863281 9.99963C0.863281 13.5346 2.87254 16.5989 5.80971 18.1182\" fill=\"#0FA389\"/>\n <path d=\"M14.099 1.83472L13.9495 2.24632L11.997 7.61074L11.9427 7.7594L11.9003 7.87369L14.7448 11.4103C14.7463 11.4127 14.7479 11.4143 14.7495 11.4167L14.9414 11.654C14.9541 11.67 14.9661 11.6868 14.9765 11.7044C15.0764 11.8698 15.1444 12.0505 15.1779 12.2431C15.273 12.7826 15.0812 13.3284 14.676 13.6897C14.656 13.7129 14.6345 13.7344 14.6105 13.7536L11.8563 15.9507L11.6789 16.0922L11.6022 16.1537L10.7406 16.8402V16.841L10.3937 17.1176L9.85747 17.5452L9.39951 17.9112L8.11035 18.9398C8.72016 19.0677 9.35155 19.1364 9.99973 19.1364C15.0461 19.1364 19.1365 15.046 19.1365 9.99964C19.1365 6.42789 17.0857 3.33727 14.099 1.83472Z\" fill=\"#0FA389\"/>\n <path d=\"M14.7287 12.3222C14.7047 12.1832 14.6551 12.0545 14.5864 11.941L14.3954 11.7036C14.3954 11.7036 14.3946 11.7028 14.3938 11.7028L11.3839 7.96005L10.5031 6.86511L10.4256 6.7676L9.03255 5.03487L8.83674 4.79191C8.79278 4.71678 8.75681 4.63446 8.73204 4.54814C8.72085 4.51058 8.71286 4.47222 8.70566 4.43465C8.68568 4.32196 8.68408 4.21007 8.69847 4.10217L8.62334 4.16291L8.44511 4.30438L5.75731 6.44871L5.60066 6.57339C5.34011 6.82275 5.20584 7.19279 5.27218 7.57482C5.29296 7.68751 5.32892 7.79541 5.37927 7.89292C5.37927 7.89292 5.37927 7.89292 5.38007 7.89371L5.6566 8.23818L8.57139 11.8627L8.63293 11.9394L9.53047 13.0559L9.59041 13.1303L9.98363 13.6186L11.0178 14.9046C11.0186 14.9054 11.0194 14.9069 11.0202 14.9077L11.1361 15.0516V15.0524C11.2184 15.1755 11.2768 15.317 11.3048 15.4728C11.3239 15.5807 11.3263 15.6878 11.3143 15.7925L11.3175 15.7965L11.3943 15.735L11.5717 15.5935L14.3266 13.3964L14.3218 13.3908C14.6335 13.1438 14.8022 12.7394 14.7287 12.3222Z\" fill=\"#F3F3F5\"/>\n <path d=\"M10.6822 15.0082C10.6814 15.0074 10.6806 15.0058 10.6806 15.005L10.5672 14.8643L10.3809 14.6325L10.3282 14.567L10.2211 14.4335L9.40028 13.4129L9.32835 13.3242L8.77289 12.6345L8.68098 12.5194L8.44121 12.2205L8.37168 12.4099L8.04159 13.317L8.0376 13.329L7.95128 13.5664L6.42475 17.7623L6.24333 18.2618L5.90605 19.1881L5.73262 19.6645C5.73182 19.6661 5.73102 19.6677 5.73102 19.6685C5.72863 19.6749 5.72703 19.6821 5.72543 19.6885C5.71584 19.7228 5.71424 19.758 5.72063 19.7948C5.74461 19.929 5.87329 20.0193 6.00836 19.9962C6.04112 19.9898 6.07229 19.9778 6.09867 19.9602C6.09867 19.9602 6.09947 19.9602 6.10027 19.9594L6.14103 19.9266L7.39422 18.9268L9.11496 17.5537L9.57292 17.1877L10.1092 16.7601L10.4561 16.4827L10.4537 16.4811C10.7582 16.2382 10.9236 15.8402 10.8509 15.4294C10.8237 15.2735 10.7654 15.1313 10.6822 15.0082Z\" fill=\"#0C847B\"/>\n <path d=\"M9.17644 4.56325C9.2124 4.68713 9.26915 4.80062 9.34268 4.90053C9.34348 4.90053 9.34428 4.90213 9.34428 4.90213L9.40342 4.97645C9.40502 4.97805 9.40582 4.97885 9.40662 4.98045L9.56806 5.17946L9.64878 5.28096L9.67915 5.31932L9.8414 5.51993L10.5559 6.40947L10.7054 6.59569L11.2169 7.23188L11.5142 7.60192L11.5693 7.45247L13.5202 2.08964L14.1596 0.332135C14.1596 0.330536 14.1604 0.328139 14.1612 0.32654C14.174 0.288177 14.1772 0.246617 14.17 0.205058C14.1468 0.0699879 14.0182 -0.0195258 13.8823 0.00365186C13.8407 0.0116442 13.8024 0.028428 13.7712 0.0540033L12.578 1.00589L12.498 1.06982L10.6958 2.50844L9.85658 3.17819L9.8326 3.19737L9.6296 3.35961L9.45297 3.50028C9.2116 3.73925 9.08692 4.08931 9.15006 4.44976C9.15726 4.48813 9.16525 4.52649 9.17644 4.56325Z\" fill=\"#0C847B\"/>\n </svg>\n</ng-template>",
|
|
9443
9389
|
styles: [".footer-content{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0}.textarea-ia{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;gap:8px}.iassist-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:none;border-radius:50%;box-shadow:none;cursor:pointer;height:32px;width:32px}.dialog-header{display:-ms-flexbox;display:flex;gap:12px}.dialog-header .iassist-icon{display:block;height:24px;width:24px}"]
|
|
9444
9390
|
})
|
|
9445
9391
|
], TextAreaIAFieldComponent);
|
|
@@ -9680,6 +9626,70 @@ var CurrencyFieldComponent = /** @class */ (function (_super) {
|
|
|
9680
9626
|
return CurrencyFieldComponent;
|
|
9681
9627
|
}(BaseFieldComponent));
|
|
9682
9628
|
|
|
9629
|
+
var PasswordFieldComponent = /** @class */ (function () {
|
|
9630
|
+
function PasswordFieldComponent() {
|
|
9631
|
+
this.onInput = new EventEmitter();
|
|
9632
|
+
this.onFocus = new EventEmitter();
|
|
9633
|
+
this.onComplete = new EventEmitter();
|
|
9634
|
+
this.ngUnsubscribe = new Subject();
|
|
9635
|
+
this.passwordVisible = false;
|
|
9636
|
+
}
|
|
9637
|
+
PasswordFieldComponent.prototype.ngOnInit = function () {
|
|
9638
|
+
var _this = this;
|
|
9639
|
+
this.onFocus
|
|
9640
|
+
.pipe(takeUntil(this.ngUnsubscribe))
|
|
9641
|
+
.subscribe(function (event) {
|
|
9642
|
+
if (_this.field.onFocus) {
|
|
9643
|
+
_this.field.onFocus(event);
|
|
9644
|
+
}
|
|
9645
|
+
});
|
|
9646
|
+
this.onInput
|
|
9647
|
+
.pipe(takeUntil(this.ngUnsubscribe))
|
|
9648
|
+
.subscribe(function (event) {
|
|
9649
|
+
if (_this.field.onInput) {
|
|
9650
|
+
_this.field.onInput(event);
|
|
9651
|
+
}
|
|
9652
|
+
});
|
|
9653
|
+
this.onComplete
|
|
9654
|
+
.pipe(takeUntil(this.ngUnsubscribe))
|
|
9655
|
+
.subscribe(function (event) {
|
|
9656
|
+
if (_this.field.onComplete) {
|
|
9657
|
+
_this.field.onComplete(event);
|
|
9658
|
+
}
|
|
9659
|
+
});
|
|
9660
|
+
};
|
|
9661
|
+
PasswordFieldComponent.prototype.ngOnDestroy = function () {
|
|
9662
|
+
this.ngUnsubscribe.next();
|
|
9663
|
+
this.ngUnsubscribe.complete();
|
|
9664
|
+
};
|
|
9665
|
+
PasswordFieldComponent.prototype.onChangeVisible = function () {
|
|
9666
|
+
this.passwordVisible = !this.passwordVisible;
|
|
9667
|
+
};
|
|
9668
|
+
__decorate([
|
|
9669
|
+
Input()
|
|
9670
|
+
], PasswordFieldComponent.prototype, "field", void 0);
|
|
9671
|
+
__decorate([
|
|
9672
|
+
Input()
|
|
9673
|
+
], PasswordFieldComponent.prototype, "formControl", void 0);
|
|
9674
|
+
__decorate([
|
|
9675
|
+
Output()
|
|
9676
|
+
], PasswordFieldComponent.prototype, "onInput", void 0);
|
|
9677
|
+
__decorate([
|
|
9678
|
+
Output()
|
|
9679
|
+
], PasswordFieldComponent.prototype, "onFocus", void 0);
|
|
9680
|
+
__decorate([
|
|
9681
|
+
Output()
|
|
9682
|
+
], PasswordFieldComponent.prototype, "onComplete", void 0);
|
|
9683
|
+
PasswordFieldComponent = __decorate([
|
|
9684
|
+
Component({
|
|
9685
|
+
template: "<div class=\"password-field\" [ngClass]=\"{ 'password-field--toggle': field.showToggle }\">\n <input\n [type]=\"passwordVisible ? 'text' : 'password'\"\n [id]=\"field.id || field.name\"\n class=\"password-input\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [sPasswordStrength]=\"field.passwordStrength\"\n [psDescription]=\"field.passwordStrengthOptions?.description\"\n [psWeakTitle]=\"field.passwordStrengthOptions?.weakTitle\"\n [psMediumTitle]=\"field.passwordStrengthOptions?.mediumTitle\"\n [psStrongTitle]=\"field.passwordStrengthOptions?.strongTitle\"\n [psValidation]=\"field.passwordStrengthOptions?.validation\"\n />\n <span *ngIf=\"field.showToggle\" class=\"toggle-button\">\n <s-button\n [iconClass]=\"passwordVisible ? 'fas fa-eye-slash' : 'fas fa-eye'\"\n priority=\"default\"\n (onClick)=\"onChangeVisible()\">\n </s-button>\n </span>\n</div>\n",
|
|
9686
|
+
encapsulation: ViewEncapsulation.None,
|
|
9687
|
+
styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.password-field{display:-ms-flexbox;display:flex}.password-field--toggle .password-input{border-top-right-radius:0;border-bottom-right-radius:0}.password-field--toggle .toggle-button s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
|
|
9688
|
+
})
|
|
9689
|
+
], PasswordFieldComponent);
|
|
9690
|
+
return PasswordFieldComponent;
|
|
9691
|
+
}());
|
|
9692
|
+
|
|
9683
9693
|
var TextFieldComponent = /** @class */ (function (_super) {
|
|
9684
9694
|
__extends(TextFieldComponent, _super);
|
|
9685
9695
|
function TextFieldComponent() {
|
|
@@ -9726,7 +9736,7 @@ var TextFieldComponent = /** @class */ (function (_super) {
|
|
|
9726
9736
|
], TextFieldComponent.prototype, "onComplete", void 0);
|
|
9727
9737
|
TextFieldComponent = __decorate([
|
|
9728
9738
|
Component({
|
|
9729
|
-
template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\">\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled(): field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{ field.leftAddon.label }}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container> \n\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{ field.rightAddon.label }}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container> \n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\" />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input\n #inputText\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [pKeyFilter]=\"field.keyFilter\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\" />\n</ng-template>\n",
|
|
9739
|
+
template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [readonly]=\"field.readonly ? field.readonly() : false\">\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled(): field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{ field.leftAddon.label }}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container> \n\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{ field.rightAddon.label }}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container> \n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input\n #inputText\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [pKeyFilter]=\"field.keyFilter\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n",
|
|
9730
9740
|
encapsulation: ViewEncapsulation.None,
|
|
9731
9741
|
styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
|
|
9732
9742
|
})
|
|
@@ -9967,6 +9977,27 @@ var DynamicFormDirective = /** @class */ (function () {
|
|
|
9967
9977
|
return DynamicFormDirective;
|
|
9968
9978
|
}());
|
|
9969
9979
|
|
|
9980
|
+
var PasswordFieldModule = /** @class */ (function () {
|
|
9981
|
+
function PasswordFieldModule() {
|
|
9982
|
+
}
|
|
9983
|
+
PasswordFieldModule = __decorate([
|
|
9984
|
+
NgModule({
|
|
9985
|
+
imports: [
|
|
9986
|
+
CommonModule,
|
|
9987
|
+
FormsModule,
|
|
9988
|
+
ReactiveFormsModule,
|
|
9989
|
+
ButtonModule,
|
|
9990
|
+
TooltipModule,
|
|
9991
|
+
PasswordStrengthModule,
|
|
9992
|
+
InputTextModule,
|
|
9993
|
+
],
|
|
9994
|
+
declarations: [PasswordFieldComponent],
|
|
9995
|
+
exports: [PasswordFieldComponent],
|
|
9996
|
+
})
|
|
9997
|
+
], PasswordFieldModule);
|
|
9998
|
+
return PasswordFieldModule;
|
|
9999
|
+
}());
|
|
10000
|
+
|
|
9970
10001
|
var TextFieldModule = /** @class */ (function () {
|
|
9971
10002
|
function TextFieldModule() {
|
|
9972
10003
|
}
|
|
@@ -10196,6 +10227,7 @@ var DynamicFormModule = /** @class */ (function () {
|
|
|
10196
10227
|
PasswordStrengthModule,
|
|
10197
10228
|
SliderModule,
|
|
10198
10229
|
TranslateModule.forChild(),
|
|
10230
|
+
PasswordFieldModule,
|
|
10199
10231
|
TextFieldModule,
|
|
10200
10232
|
NumberFieldModule,
|
|
10201
10233
|
CurrencyFieldModule,
|
|
@@ -10215,7 +10247,6 @@ var DynamicFormModule = /** @class */ (function () {
|
|
|
10215
10247
|
FileUploadComponent$1,
|
|
10216
10248
|
LookupComponent,
|
|
10217
10249
|
LookupFieldComponent,
|
|
10218
|
-
PasswordFieldComponent,
|
|
10219
10250
|
RadioButtonComponent,
|
|
10220
10251
|
RowComponent,
|
|
10221
10252
|
SectionComponent,
|
|
@@ -10235,7 +10266,6 @@ var DynamicFormModule = /** @class */ (function () {
|
|
|
10235
10266
|
FieldsetComponent,
|
|
10236
10267
|
FileUploadComponent$1,
|
|
10237
10268
|
LookupFieldComponent,
|
|
10238
|
-
PasswordFieldComponent,
|
|
10239
10269
|
RadioButtonComponent,
|
|
10240
10270
|
RowComponent,
|
|
10241
10271
|
SectionComponent,
|
|
@@ -17442,6 +17472,9 @@ var WorkspaceSwitchModule = /** @class */ (function () {
|
|
|
17442
17472
|
}());
|
|
17443
17473
|
|
|
17444
17474
|
var fallback = {
|
|
17475
|
+
"platform.angular_components.strong": "Forte",
|
|
17476
|
+
"platform.angular_components.medium": "Média",
|
|
17477
|
+
"platform.angular_components.weak": "Fraca",
|
|
17445
17478
|
"platform.angular_components.invalid_value": "Valor inválido",
|
|
17446
17479
|
"platform.angular_components.insight_intro": "Olá! Aqui você encontrará insights valiosos a partir dos seus dados",
|
|
17447
17480
|
"platform.angular_components.insight_empty": "Ainda não há Insights na página",
|
|
@@ -17752,5 +17785,5 @@ var fallback = {
|
|
|
17752
17785
|
* Generated bundle index. Do not edit.
|
|
17753
17786
|
*/
|
|
17754
17787
|
|
|
17755
|
-
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, CardComponent, CardModule, CardTemplateTypes, 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, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, 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, SVGFactoryDirective, SVGFactoryModule, 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, 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,
|
|
17788
|
+
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, CardComponent, CardModule, CardTemplateTypes, 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, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, 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, SVGFactoryDirective, SVGFactoryModule, 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, 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, TextFieldComponent as ɵba, NumberFieldModule as ɵbb, LocalizedNumberInputModule as ɵbc, NumberInputModule as ɵbd, NumberFieldComponent as ɵbe, CurrencyFieldModule as ɵbf, CurrencyFieldComponent as ɵbg, NumberFieldModule$1 as ɵbh, BignumberInputModule as ɵbi, BignumberFieldComponent as ɵbj, AutocompleteFieldComponent as ɵbk, BooleanFieldComponent as ɵbl, BooleanSwitchFieldComponent as ɵbm, CalendarFieldComponent as ɵbn, ChipsFieldComponent as ɵbo, CountryPhonePickerFieldComponent as ɵbp, DynamicFieldComponent as ɵbq, DynamicFormDirective as ɵbr, FieldsetComponent as ɵbs, FileUploadComponent$1 as ɵbt, LookupFieldComponent as ɵbu, RadioButtonComponent as ɵbv, RowComponent as ɵbw, SectionComponent as ɵbx, SelectFieldComponent as ɵby, SliderFieldComponent as ɵbz, TemplateDirective as ɵc, TextAreaFieldComponent as ɵca, TextAreaIAFieldComponent as ɵcb, IAssistService as ɵcc, DecimalField as ɵce, SideTableComponent as ɵcf, ThumbnailService as ɵcg, InfiniteScrollModule as ɵch, InfiniteScrollDirective as ɵci, IAInsightSidebarComponent as ɵcj, IAInsightCardComponent as ɵck, IAInsightCardLoaderComponent as ɵcl, StructureModule as ɵcm, HeaderComponent as ɵcn, FooterComponent as ɵco, KanbanEventService as ɵcp, KanbanItemComponent as ɵcq, KanbanColumnComponent as ɵcr, KanbanItemDraggingComponent as ɵcs, NumberLocaleOptions as ɵct, BorderButtonModule as ɵcu, BorderButtonComponent as ɵcv, ProgressBarDeterminateComponent as ɵcw, ProgressBarIndeterminateComponent as ɵcx, SelectButtonItemComponent as ɵcy, SlidePanelService as ɵcz, TemplateModule as ɵd, TieredMenuEventService as ɵda, TieredMenuService as ɵdb, TieredMenuGlobalService as ɵdc, TieredMenuComponent as ɵdd, TieredMenuNestedComponent as ɵde, TieredMenuItemComponent as ɵdf, TieredMenuDividerComponent as ɵdg, TimelineItemModule as ɵdh, TimelineIconItemComponent as ɵdi, HorizontalTimelineModule as ɵdj, HorizontalTimelineComponent as ɵdk, VerticalTimelineModule as ɵdl, VerticalTimelineComponent as ɵdm, RangeLineComponent as ɵdn, CollapseOptionComponent as ɵdo, CollapsedItemsComponent as ɵdp, VerticalItemsComponent as ɵdq, CustomTranslationsModule as ɵe, CodeEditorComponent as ɵf, CoreFacade as ɵg, CodeMirror6Core as ɵh, CountryPhonePickerService as ɵi, LocalizedCurrencyImpurePipe as ɵj, LocalizedBignumberPipe as ɵk, LocalizedBignumberImpurePipe as ɵl, NumericPipe as ɵm, NumericService as ɵn, EmptyStateGoBackComponent as ɵo, IAssistIconComponent as ɵp, SeniorIconComponent as ɵq, DotsIndicatorComponent as ɵr, LoadingIndicatorComponent as ɵs, FileUploadService as ɵt, InfoSignComponent as ɵu, TableColumnsComponent as ɵv, TablePagingComponent as ɵw, PasswordFieldModule as ɵx, PasswordFieldComponent as ɵy, TextFieldModule as ɵz };
|
|
17756
17789
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|