@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
|
@@ -4999,6 +4999,7 @@
|
|
|
4999
4999
|
_this.rows = config.rows;
|
|
5000
5000
|
_this.keyFilter = config.keyFilter;
|
|
5001
5001
|
_this.style = config.style;
|
|
5002
|
+
_this.readonly = config.readonly;
|
|
5002
5003
|
return _this;
|
|
5003
5004
|
}
|
|
5004
5005
|
return TextAreaField;
|
|
@@ -5013,6 +5014,7 @@
|
|
|
5013
5014
|
_this.keyFilter = config.keyFilter;
|
|
5014
5015
|
_this.style = config.style;
|
|
5015
5016
|
_this.prompt = config.prompt;
|
|
5017
|
+
_this.readonly = config.readonly;
|
|
5016
5018
|
return _this;
|
|
5017
5019
|
}
|
|
5018
5020
|
return TextAreaIAField;
|
|
@@ -5023,6 +5025,7 @@
|
|
|
5023
5025
|
function TextField(config) {
|
|
5024
5026
|
var _this = _super.call(this, config) || this;
|
|
5025
5027
|
_this.mask = config.mask;
|
|
5028
|
+
_this.readonly = config.readonly;
|
|
5026
5029
|
_this.inputType = config.inputType;
|
|
5027
5030
|
_this.keyFilter = config.keyFilter;
|
|
5028
5031
|
_this.leftAddon = config.leftAddon;
|
|
@@ -5050,6 +5053,7 @@
|
|
|
5050
5053
|
_this.maxLength = config.maxLength || 9999999;
|
|
5051
5054
|
_this.passwordStrength = config.passwordStrength;
|
|
5052
5055
|
_this.passwordStrengthOptions = config.passwordStrengthOptions;
|
|
5056
|
+
_this.showToggle = config.showToggle;
|
|
5053
5057
|
_this.style = config.style;
|
|
5054
5058
|
_this.onBlur = config.onBlur;
|
|
5055
5059
|
_this.onFocus = config.onFocus;
|
|
@@ -7479,10 +7483,8 @@
|
|
|
7479
7483
|
})(exports.PasswordStrengthPositions || (exports.PasswordStrengthPositions = {}));
|
|
7480
7484
|
|
|
7481
7485
|
var PasswordStrengthComponent = /** @class */ (function () {
|
|
7482
|
-
function PasswordStrengthComponent() {
|
|
7483
|
-
this.
|
|
7484
|
-
this.mediumTitle = "Médio";
|
|
7485
|
-
this.strongTitle = "Forte";
|
|
7486
|
+
function PasswordStrengthComponent(translate) {
|
|
7487
|
+
this.translate = translate;
|
|
7486
7488
|
this.position = exports.PasswordStrengthPositions.Right;
|
|
7487
7489
|
this.left = 0;
|
|
7488
7490
|
this.top = 0;
|
|
@@ -7506,6 +7508,7 @@
|
|
|
7506
7508
|
}
|
|
7507
7509
|
};
|
|
7508
7510
|
PasswordStrengthComponent.prototype.updateIndicators = function (passwordStrength) {
|
|
7511
|
+
var _a, _b, _c, _d;
|
|
7509
7512
|
var strengthIndicator1 = document.querySelector("#strength-indicator-1");
|
|
7510
7513
|
var strengthIndicator2 = document.querySelector("#strength-indicator-2");
|
|
7511
7514
|
var strengthIndicator3 = document.querySelector("#strength-indicator-3");
|
|
@@ -7518,21 +7521,21 @@
|
|
|
7518
7521
|
var strengthClass;
|
|
7519
7522
|
switch (passwordStrength) {
|
|
7520
7523
|
case exports.PasswordStrengths.VeryWeak:
|
|
7521
|
-
this.title = this.weakTitle;
|
|
7524
|
+
this.title = (_a = this.weakTitle) !== null && _a !== void 0 ? _a : this.translate.instant("platform.angular_components.weak");
|
|
7522
7525
|
break;
|
|
7523
7526
|
case exports.PasswordStrengths.Weak:
|
|
7524
|
-
this.title = this.weakTitle;
|
|
7527
|
+
this.title = (_b = this.weakTitle) !== null && _b !== void 0 ? _b : this.translate.instant("platform.angular_components.weak");
|
|
7525
7528
|
strengthClass = "strength-indicator--weak";
|
|
7526
7529
|
onIndicators.push(strengthIndicator1);
|
|
7527
7530
|
break;
|
|
7528
7531
|
case exports.PasswordStrengths.Medium:
|
|
7529
|
-
this.title = this.mediumTitle;
|
|
7532
|
+
this.title = (_c = this.mediumTitle) !== null && _c !== void 0 ? _c : this.translate.instant("platform.angular_components.medium");
|
|
7530
7533
|
strengthClass = "strength-indicator--medium";
|
|
7531
7534
|
onIndicators.push(strengthIndicator1);
|
|
7532
7535
|
onIndicators.push(strengthIndicator2);
|
|
7533
7536
|
break;
|
|
7534
7537
|
case exports.PasswordStrengths.Strong:
|
|
7535
|
-
this.title = this.strongTitle;
|
|
7538
|
+
this.title = (_d = this.strongTitle) !== null && _d !== void 0 ? _d : this.translate.instant("platform.angular_components.strong");
|
|
7536
7539
|
strengthClass = "strength-indicator--strong";
|
|
7537
7540
|
onIndicators.push(strengthIndicator1);
|
|
7538
7541
|
onIndicators.push(strengthIndicator2);
|
|
@@ -7546,6 +7549,9 @@
|
|
|
7546
7549
|
indicator.classList.add(strengthClass);
|
|
7547
7550
|
});
|
|
7548
7551
|
};
|
|
7552
|
+
PasswordStrengthComponent.ctorParameters = function () { return [
|
|
7553
|
+
{ type: core$1.TranslateService }
|
|
7554
|
+
]; };
|
|
7549
7555
|
__decorate([
|
|
7550
7556
|
core.Input()
|
|
7551
7557
|
], PasswordStrengthComponent.prototype, "weakTitle", void 0);
|
|
@@ -9234,66 +9240,6 @@
|
|
|
9234
9240
|
return LookupFieldComponent;
|
|
9235
9241
|
}());
|
|
9236
9242
|
|
|
9237
|
-
var PasswordFieldComponent = /** @class */ (function () {
|
|
9238
|
-
function PasswordFieldComponent() {
|
|
9239
|
-
this.onInput = new core.EventEmitter();
|
|
9240
|
-
this.onFocus = new core.EventEmitter();
|
|
9241
|
-
this.onComplete = new core.EventEmitter();
|
|
9242
|
-
this.ngUnsubscribe = new rxjs.Subject();
|
|
9243
|
-
}
|
|
9244
|
-
PasswordFieldComponent.prototype.ngOnInit = function () {
|
|
9245
|
-
var _this = this;
|
|
9246
|
-
this.onFocus
|
|
9247
|
-
.pipe(operators.takeUntil(this.ngUnsubscribe))
|
|
9248
|
-
.subscribe(function (event) {
|
|
9249
|
-
if (_this.field.onFocus) {
|
|
9250
|
-
_this.field.onFocus(event);
|
|
9251
|
-
}
|
|
9252
|
-
});
|
|
9253
|
-
this.onInput
|
|
9254
|
-
.pipe(operators.takeUntil(this.ngUnsubscribe))
|
|
9255
|
-
.subscribe(function (event) {
|
|
9256
|
-
if (_this.field.onInput) {
|
|
9257
|
-
_this.field.onInput(event);
|
|
9258
|
-
}
|
|
9259
|
-
});
|
|
9260
|
-
this.onComplete
|
|
9261
|
-
.pipe(operators.takeUntil(this.ngUnsubscribe))
|
|
9262
|
-
.subscribe(function (event) {
|
|
9263
|
-
if (_this.field.onComplete) {
|
|
9264
|
-
_this.field.onComplete(event);
|
|
9265
|
-
}
|
|
9266
|
-
});
|
|
9267
|
-
};
|
|
9268
|
-
PasswordFieldComponent.prototype.ngOnDestroy = function () {
|
|
9269
|
-
this.ngUnsubscribe.next();
|
|
9270
|
-
this.ngUnsubscribe.complete();
|
|
9271
|
-
};
|
|
9272
|
-
__decorate([
|
|
9273
|
-
core.Input()
|
|
9274
|
-
], PasswordFieldComponent.prototype, "field", void 0);
|
|
9275
|
-
__decorate([
|
|
9276
|
-
core.Input()
|
|
9277
|
-
], PasswordFieldComponent.prototype, "formControl", void 0);
|
|
9278
|
-
__decorate([
|
|
9279
|
-
core.Output()
|
|
9280
|
-
], PasswordFieldComponent.prototype, "onInput", void 0);
|
|
9281
|
-
__decorate([
|
|
9282
|
-
core.Output()
|
|
9283
|
-
], PasswordFieldComponent.prototype, "onFocus", void 0);
|
|
9284
|
-
__decorate([
|
|
9285
|
-
core.Output()
|
|
9286
|
-
], PasswordFieldComponent.prototype, "onComplete", void 0);
|
|
9287
|
-
PasswordFieldComponent = __decorate([
|
|
9288
|
-
core.Component({
|
|
9289
|
-
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\" />",
|
|
9290
|
-
encapsulation: core.ViewEncapsulation.None,
|
|
9291
|
-
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}"]
|
|
9292
|
-
})
|
|
9293
|
-
], PasswordFieldComponent);
|
|
9294
|
-
return PasswordFieldComponent;
|
|
9295
|
-
}());
|
|
9296
|
-
|
|
9297
9243
|
var RadioButtonComponent = /** @class */ (function () {
|
|
9298
9244
|
function RadioButtonComponent() {
|
|
9299
9245
|
this.onClick = new core.EventEmitter();
|
|
@@ -9509,7 +9455,7 @@
|
|
|
9509
9455
|
], TextAreaFieldComponent.prototype, "formControl", void 0);
|
|
9510
9456
|
TextAreaFieldComponent = __decorate([
|
|
9511
9457
|
core.Component({
|
|
9512
|
-
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"
|
|
9458
|
+
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"
|
|
9513
9459
|
})
|
|
9514
9460
|
], TextAreaFieldComponent);
|
|
9515
9461
|
return TextAreaFieldComponent;
|
|
@@ -9585,7 +9531,7 @@
|
|
|
9585
9531
|
], TextAreaIAFieldComponent.prototype, "formControl", void 0);
|
|
9586
9532
|
TextAreaIAFieldComponent = __decorate([
|
|
9587
9533
|
core.Component({
|
|
9588
|
-
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>",
|
|
9534
|
+
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>",
|
|
9589
9535
|
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}"]
|
|
9590
9536
|
})
|
|
9591
9537
|
], TextAreaIAFieldComponent);
|
|
@@ -9826,6 +9772,70 @@
|
|
|
9826
9772
|
return CurrencyFieldComponent;
|
|
9827
9773
|
}(BaseFieldComponent));
|
|
9828
9774
|
|
|
9775
|
+
var PasswordFieldComponent = /** @class */ (function () {
|
|
9776
|
+
function PasswordFieldComponent() {
|
|
9777
|
+
this.onInput = new core.EventEmitter();
|
|
9778
|
+
this.onFocus = new core.EventEmitter();
|
|
9779
|
+
this.onComplete = new core.EventEmitter();
|
|
9780
|
+
this.ngUnsubscribe = new rxjs.Subject();
|
|
9781
|
+
this.passwordVisible = false;
|
|
9782
|
+
}
|
|
9783
|
+
PasswordFieldComponent.prototype.ngOnInit = function () {
|
|
9784
|
+
var _this = this;
|
|
9785
|
+
this.onFocus
|
|
9786
|
+
.pipe(operators.takeUntil(this.ngUnsubscribe))
|
|
9787
|
+
.subscribe(function (event) {
|
|
9788
|
+
if (_this.field.onFocus) {
|
|
9789
|
+
_this.field.onFocus(event);
|
|
9790
|
+
}
|
|
9791
|
+
});
|
|
9792
|
+
this.onInput
|
|
9793
|
+
.pipe(operators.takeUntil(this.ngUnsubscribe))
|
|
9794
|
+
.subscribe(function (event) {
|
|
9795
|
+
if (_this.field.onInput) {
|
|
9796
|
+
_this.field.onInput(event);
|
|
9797
|
+
}
|
|
9798
|
+
});
|
|
9799
|
+
this.onComplete
|
|
9800
|
+
.pipe(operators.takeUntil(this.ngUnsubscribe))
|
|
9801
|
+
.subscribe(function (event) {
|
|
9802
|
+
if (_this.field.onComplete) {
|
|
9803
|
+
_this.field.onComplete(event);
|
|
9804
|
+
}
|
|
9805
|
+
});
|
|
9806
|
+
};
|
|
9807
|
+
PasswordFieldComponent.prototype.ngOnDestroy = function () {
|
|
9808
|
+
this.ngUnsubscribe.next();
|
|
9809
|
+
this.ngUnsubscribe.complete();
|
|
9810
|
+
};
|
|
9811
|
+
PasswordFieldComponent.prototype.onChangeVisible = function () {
|
|
9812
|
+
this.passwordVisible = !this.passwordVisible;
|
|
9813
|
+
};
|
|
9814
|
+
__decorate([
|
|
9815
|
+
core.Input()
|
|
9816
|
+
], PasswordFieldComponent.prototype, "field", void 0);
|
|
9817
|
+
__decorate([
|
|
9818
|
+
core.Input()
|
|
9819
|
+
], PasswordFieldComponent.prototype, "formControl", void 0);
|
|
9820
|
+
__decorate([
|
|
9821
|
+
core.Output()
|
|
9822
|
+
], PasswordFieldComponent.prototype, "onInput", void 0);
|
|
9823
|
+
__decorate([
|
|
9824
|
+
core.Output()
|
|
9825
|
+
], PasswordFieldComponent.prototype, "onFocus", void 0);
|
|
9826
|
+
__decorate([
|
|
9827
|
+
core.Output()
|
|
9828
|
+
], PasswordFieldComponent.prototype, "onComplete", void 0);
|
|
9829
|
+
PasswordFieldComponent = __decorate([
|
|
9830
|
+
core.Component({
|
|
9831
|
+
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",
|
|
9832
|
+
encapsulation: core.ViewEncapsulation.None,
|
|
9833
|
+
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}"]
|
|
9834
|
+
})
|
|
9835
|
+
], PasswordFieldComponent);
|
|
9836
|
+
return PasswordFieldComponent;
|
|
9837
|
+
}());
|
|
9838
|
+
|
|
9829
9839
|
var TextFieldComponent = /** @class */ (function (_super) {
|
|
9830
9840
|
__extends(TextFieldComponent, _super);
|
|
9831
9841
|
function TextFieldComponent() {
|
|
@@ -9872,7 +9882,7 @@
|
|
|
9872
9882
|
], TextFieldComponent.prototype, "onComplete", void 0);
|
|
9873
9883
|
TextFieldComponent = __decorate([
|
|
9874
9884
|
core.Component({
|
|
9875
|
-
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",
|
|
9885
|
+
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",
|
|
9876
9886
|
encapsulation: core.ViewEncapsulation.None,
|
|
9877
9887
|
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}"]
|
|
9878
9888
|
})
|
|
@@ -10113,6 +10123,27 @@
|
|
|
10113
10123
|
return DynamicFormDirective;
|
|
10114
10124
|
}());
|
|
10115
10125
|
|
|
10126
|
+
var PasswordFieldModule = /** @class */ (function () {
|
|
10127
|
+
function PasswordFieldModule() {
|
|
10128
|
+
}
|
|
10129
|
+
PasswordFieldModule = __decorate([
|
|
10130
|
+
core.NgModule({
|
|
10131
|
+
imports: [
|
|
10132
|
+
common.CommonModule,
|
|
10133
|
+
forms.FormsModule,
|
|
10134
|
+
forms.ReactiveFormsModule,
|
|
10135
|
+
ButtonModule,
|
|
10136
|
+
TooltipModule,
|
|
10137
|
+
PasswordStrengthModule,
|
|
10138
|
+
inputtext.InputTextModule,
|
|
10139
|
+
],
|
|
10140
|
+
declarations: [PasswordFieldComponent],
|
|
10141
|
+
exports: [PasswordFieldComponent],
|
|
10142
|
+
})
|
|
10143
|
+
], PasswordFieldModule);
|
|
10144
|
+
return PasswordFieldModule;
|
|
10145
|
+
}());
|
|
10146
|
+
|
|
10116
10147
|
var TextFieldModule = /** @class */ (function () {
|
|
10117
10148
|
function TextFieldModule() {
|
|
10118
10149
|
}
|
|
@@ -10342,6 +10373,7 @@
|
|
|
10342
10373
|
PasswordStrengthModule,
|
|
10343
10374
|
slider.SliderModule,
|
|
10344
10375
|
core$1.TranslateModule.forChild(),
|
|
10376
|
+
PasswordFieldModule,
|
|
10345
10377
|
TextFieldModule,
|
|
10346
10378
|
NumberFieldModule,
|
|
10347
10379
|
CurrencyFieldModule,
|
|
@@ -10361,7 +10393,6 @@
|
|
|
10361
10393
|
FileUploadComponent$1,
|
|
10362
10394
|
LookupComponent,
|
|
10363
10395
|
LookupFieldComponent,
|
|
10364
|
-
PasswordFieldComponent,
|
|
10365
10396
|
RadioButtonComponent,
|
|
10366
10397
|
RowComponent,
|
|
10367
10398
|
SectionComponent,
|
|
@@ -10381,7 +10412,6 @@
|
|
|
10381
10412
|
FieldsetComponent,
|
|
10382
10413
|
FileUploadComponent$1,
|
|
10383
10414
|
LookupFieldComponent,
|
|
10384
|
-
PasswordFieldComponent,
|
|
10385
10415
|
RadioButtonComponent,
|
|
10386
10416
|
RowComponent,
|
|
10387
10417
|
SectionComponent,
|
|
@@ -17588,6 +17618,9 @@
|
|
|
17588
17618
|
}());
|
|
17589
17619
|
|
|
17590
17620
|
var fallback = {
|
|
17621
|
+
"platform.angular_components.strong": "Forte",
|
|
17622
|
+
"platform.angular_components.medium": "Média",
|
|
17623
|
+
"platform.angular_components.weak": "Fraca",
|
|
17591
17624
|
"platform.angular_components.invalid_value": "Valor inválido",
|
|
17592
17625
|
"platform.angular_components.insight_intro": "Olá! Aqui você encontrará insights valiosos a partir dos seus dados",
|
|
17593
17626
|
"platform.angular_components.insight_empty": "Ainda não há Insights na página",
|
|
@@ -18056,75 +18089,76 @@
|
|
|
18056
18089
|
exports.fallback = fallback;
|
|
18057
18090
|
exports.ɵa = TooltipComponent;
|
|
18058
18091
|
exports.ɵb = TooltipDirective;
|
|
18059
|
-
exports.ɵba =
|
|
18060
|
-
exports.ɵbb =
|
|
18061
|
-
exports.ɵbc =
|
|
18062
|
-
exports.ɵbd =
|
|
18063
|
-
exports.ɵbe =
|
|
18064
|
-
exports.ɵbf =
|
|
18065
|
-
exports.ɵbg =
|
|
18066
|
-
exports.ɵbh =
|
|
18067
|
-
exports.ɵbi =
|
|
18068
|
-
exports.ɵbj =
|
|
18069
|
-
exports.ɵbk =
|
|
18070
|
-
exports.ɵbl =
|
|
18071
|
-
exports.ɵbm =
|
|
18072
|
-
exports.ɵbn =
|
|
18073
|
-
exports.ɵbo =
|
|
18074
|
-
exports.ɵbp =
|
|
18075
|
-
exports.ɵbq =
|
|
18076
|
-
exports.ɵbr =
|
|
18077
|
-
exports.ɵbs =
|
|
18078
|
-
exports.ɵbt =
|
|
18079
|
-
exports.ɵbu =
|
|
18080
|
-
exports.ɵbv =
|
|
18081
|
-
exports.ɵbw =
|
|
18082
|
-
exports.ɵbx =
|
|
18083
|
-
exports.ɵby =
|
|
18084
|
-
exports.ɵbz =
|
|
18092
|
+
exports.ɵba = TextFieldComponent;
|
|
18093
|
+
exports.ɵbb = NumberFieldModule;
|
|
18094
|
+
exports.ɵbc = LocalizedNumberInputModule;
|
|
18095
|
+
exports.ɵbd = NumberInputModule;
|
|
18096
|
+
exports.ɵbe = NumberFieldComponent;
|
|
18097
|
+
exports.ɵbf = CurrencyFieldModule;
|
|
18098
|
+
exports.ɵbg = CurrencyFieldComponent;
|
|
18099
|
+
exports.ɵbh = NumberFieldModule$1;
|
|
18100
|
+
exports.ɵbi = BignumberInputModule;
|
|
18101
|
+
exports.ɵbj = BignumberFieldComponent;
|
|
18102
|
+
exports.ɵbk = AutocompleteFieldComponent;
|
|
18103
|
+
exports.ɵbl = BooleanFieldComponent;
|
|
18104
|
+
exports.ɵbm = BooleanSwitchFieldComponent;
|
|
18105
|
+
exports.ɵbn = CalendarFieldComponent;
|
|
18106
|
+
exports.ɵbo = ChipsFieldComponent;
|
|
18107
|
+
exports.ɵbp = CountryPhonePickerFieldComponent;
|
|
18108
|
+
exports.ɵbq = DynamicFieldComponent;
|
|
18109
|
+
exports.ɵbr = DynamicFormDirective;
|
|
18110
|
+
exports.ɵbs = FieldsetComponent;
|
|
18111
|
+
exports.ɵbt = FileUploadComponent$1;
|
|
18112
|
+
exports.ɵbu = LookupFieldComponent;
|
|
18113
|
+
exports.ɵbv = RadioButtonComponent;
|
|
18114
|
+
exports.ɵbw = RowComponent;
|
|
18115
|
+
exports.ɵbx = SectionComponent;
|
|
18116
|
+
exports.ɵby = SelectFieldComponent;
|
|
18117
|
+
exports.ɵbz = SliderFieldComponent;
|
|
18085
18118
|
exports.ɵc = TemplateDirective;
|
|
18086
|
-
exports.ɵca =
|
|
18087
|
-
exports.ɵcb =
|
|
18088
|
-
exports.ɵ
|
|
18089
|
-
exports.ɵce =
|
|
18090
|
-
exports.ɵcf =
|
|
18091
|
-
exports.ɵcg =
|
|
18092
|
-
exports.ɵch =
|
|
18093
|
-
exports.ɵci =
|
|
18094
|
-
exports.ɵcj =
|
|
18095
|
-
exports.ɵck =
|
|
18096
|
-
exports.ɵcl =
|
|
18097
|
-
exports.ɵcm =
|
|
18098
|
-
exports.ɵcn =
|
|
18099
|
-
exports.ɵco =
|
|
18100
|
-
exports.ɵcp =
|
|
18101
|
-
exports.ɵcq =
|
|
18102
|
-
exports.ɵcr =
|
|
18103
|
-
exports.ɵcs =
|
|
18104
|
-
exports.ɵct =
|
|
18105
|
-
exports.ɵcu =
|
|
18106
|
-
exports.ɵcv =
|
|
18107
|
-
exports.ɵcw =
|
|
18108
|
-
exports.ɵcx =
|
|
18109
|
-
exports.ɵcy =
|
|
18110
|
-
exports.ɵcz =
|
|
18119
|
+
exports.ɵca = TextAreaFieldComponent;
|
|
18120
|
+
exports.ɵcb = TextAreaIAFieldComponent;
|
|
18121
|
+
exports.ɵcc = IAssistService;
|
|
18122
|
+
exports.ɵce = DecimalField;
|
|
18123
|
+
exports.ɵcf = SideTableComponent;
|
|
18124
|
+
exports.ɵcg = ThumbnailService;
|
|
18125
|
+
exports.ɵch = InfiniteScrollModule;
|
|
18126
|
+
exports.ɵci = InfiniteScrollDirective;
|
|
18127
|
+
exports.ɵcj = IAInsightSidebarComponent;
|
|
18128
|
+
exports.ɵck = IAInsightCardComponent;
|
|
18129
|
+
exports.ɵcl = IAInsightCardLoaderComponent;
|
|
18130
|
+
exports.ɵcm = StructureModule;
|
|
18131
|
+
exports.ɵcn = HeaderComponent;
|
|
18132
|
+
exports.ɵco = FooterComponent;
|
|
18133
|
+
exports.ɵcp = KanbanEventService;
|
|
18134
|
+
exports.ɵcq = KanbanItemComponent;
|
|
18135
|
+
exports.ɵcr = KanbanColumnComponent;
|
|
18136
|
+
exports.ɵcs = KanbanItemDraggingComponent;
|
|
18137
|
+
exports.ɵct = NumberLocaleOptions;
|
|
18138
|
+
exports.ɵcu = BorderButtonModule;
|
|
18139
|
+
exports.ɵcv = BorderButtonComponent;
|
|
18140
|
+
exports.ɵcw = ProgressBarDeterminateComponent;
|
|
18141
|
+
exports.ɵcx = ProgressBarIndeterminateComponent;
|
|
18142
|
+
exports.ɵcy = SelectButtonItemComponent;
|
|
18143
|
+
exports.ɵcz = SlidePanelService;
|
|
18111
18144
|
exports.ɵd = TemplateModule;
|
|
18112
|
-
exports.ɵda =
|
|
18113
|
-
exports.ɵdb =
|
|
18114
|
-
exports.ɵdc =
|
|
18115
|
-
exports.ɵdd =
|
|
18116
|
-
exports.ɵde =
|
|
18117
|
-
exports.ɵdf =
|
|
18118
|
-
exports.ɵdg =
|
|
18119
|
-
exports.ɵdh =
|
|
18120
|
-
exports.ɵdi =
|
|
18121
|
-
exports.ɵdj =
|
|
18122
|
-
exports.ɵdk =
|
|
18123
|
-
exports.ɵdl =
|
|
18124
|
-
exports.ɵdm =
|
|
18125
|
-
exports.ɵdn =
|
|
18126
|
-
exports.ɵdo =
|
|
18127
|
-
exports.ɵdp =
|
|
18145
|
+
exports.ɵda = TieredMenuEventService;
|
|
18146
|
+
exports.ɵdb = TieredMenuService;
|
|
18147
|
+
exports.ɵdc = TieredMenuGlobalService;
|
|
18148
|
+
exports.ɵdd = TieredMenuComponent;
|
|
18149
|
+
exports.ɵde = TieredMenuNestedComponent;
|
|
18150
|
+
exports.ɵdf = TieredMenuItemComponent;
|
|
18151
|
+
exports.ɵdg = TieredMenuDividerComponent;
|
|
18152
|
+
exports.ɵdh = TimelineItemModule;
|
|
18153
|
+
exports.ɵdi = TimelineIconItemComponent;
|
|
18154
|
+
exports.ɵdj = HorizontalTimelineModule;
|
|
18155
|
+
exports.ɵdk = HorizontalTimelineComponent;
|
|
18156
|
+
exports.ɵdl = VerticalTimelineModule;
|
|
18157
|
+
exports.ɵdm = VerticalTimelineComponent;
|
|
18158
|
+
exports.ɵdn = RangeLineComponent;
|
|
18159
|
+
exports.ɵdo = CollapseOptionComponent;
|
|
18160
|
+
exports.ɵdp = CollapsedItemsComponent;
|
|
18161
|
+
exports.ɵdq = VerticalItemsComponent;
|
|
18128
18162
|
exports.ɵe = CustomTranslationsModule;
|
|
18129
18163
|
exports.ɵf = CodeEditorComponent;
|
|
18130
18164
|
exports.ɵg = CoreFacade;
|
|
@@ -18144,9 +18178,9 @@
|
|
|
18144
18178
|
exports.ɵu = InfoSignComponent;
|
|
18145
18179
|
exports.ɵv = TableColumnsComponent;
|
|
18146
18180
|
exports.ɵw = TablePagingComponent;
|
|
18147
|
-
exports.ɵx =
|
|
18148
|
-
exports.ɵy =
|
|
18149
|
-
exports.ɵz =
|
|
18181
|
+
exports.ɵx = PasswordFieldModule;
|
|
18182
|
+
exports.ɵy = PasswordFieldComponent;
|
|
18183
|
+
exports.ɵz = TextFieldModule;
|
|
18150
18184
|
|
|
18151
18185
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
18152
18186
|
|