@seniorsistemas/angular-components 17.25.10 → 17.26.0-bugfix-sds-262-3164df87
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 +596 -70
- 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/configurations/fields/field.d.ts +1 -1
- package/components/dynamic-form/configurations/fields/text-area-field.d.ts +2 -0
- package/components/index.d.ts +1 -0
- package/components/speech-recognition/speech-recognition/speech-recognition.component.d.ts +50 -0
- package/components/speech-recognition/speech-recognition.module.d.ts +2 -0
- package/components/speech-recognition/speech-recognition.service.d.ts +18 -0
- package/components/speech-recognition/text-to-speech.service.d.ts +22 -0
- package/components/text-area/index.d.ts +2 -0
- package/components/text-area/text-area/text-area.component.d.ts +24 -0
- package/components/text-area/text-area.module.d.ts +2 -0
- package/esm2015/components/dynamic-form/components/fields/text-area/text-area-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/lookup/lookup.component.js +3 -3
- package/esm2015/components/dynamic-form/configurations/fields/field.js +4 -2
- package/esm2015/components/dynamic-form/configurations/fields/text-area-field.js +3 -1
- package/esm2015/components/dynamic-form/dynamic-form.module.js +3 -1
- package/esm2015/components/index.js +2 -1
- package/esm2015/components/speech-recognition/speech-recognition/speech-recognition.component.js +202 -0
- package/esm2015/components/speech-recognition/speech-recognition.module.js +19 -0
- package/esm2015/components/speech-recognition/speech-recognition.service.js +102 -0
- package/esm2015/components/speech-recognition/text-to-speech.service.js +75 -0
- package/esm2015/components/text-area/index.js +3 -0
- package/esm2015/components/text-area/text-area/text-area.component.js +87 -0
- package/esm2015/components/text-area/text-area.module.js +24 -0
- package/esm2015/components/timeline/components/timeline-icon-item/timeline-icon-item.component.js +3 -3
- package/esm2015/components/timeline/models/timeline-item.js +3 -3
- package/esm2015/locale/fallback.js +6 -2
- package/esm2015/seniorsistemas-angular-components.js +65 -61
- package/esm5/components/dynamic-form/components/fields/text-area/text-area-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/lookup/lookup.component.js +3 -3
- package/esm5/components/dynamic-form/configurations/fields/field.js +9 -3
- package/esm5/components/dynamic-form/configurations/fields/text-area-field.js +3 -1
- package/esm5/components/dynamic-form/dynamic-form.module.js +3 -1
- package/esm5/components/index.js +2 -1
- package/esm5/components/speech-recognition/speech-recognition/speech-recognition.component.js +216 -0
- package/esm5/components/speech-recognition/speech-recognition.module.js +22 -0
- package/esm5/components/speech-recognition/speech-recognition.service.js +104 -0
- package/esm5/components/speech-recognition/text-to-speech.service.js +83 -0
- package/esm5/components/text-area/index.js +3 -0
- package/esm5/components/text-area/text-area/text-area.component.js +94 -0
- package/esm5/components/text-area/text-area.module.js +27 -0
- package/esm5/components/timeline/components/timeline-icon-item/timeline-icon-item.component.js +3 -3
- package/esm5/components/timeline/models/timeline-item.js +3 -3
- package/esm5/locale/fallback.js +6 -2
- package/esm5/seniorsistemas-angular-components.js +65 -61
- package/fesm2015/seniorsistemas-angular-components.js +490 -11
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +532 -12
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +64 -60
- package/seniorsistemas-angular-components.metadata.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __assign, __extends, __spread, __awaiter, __generator, __param, __values, __rest, __read } from 'tslib';
|
|
2
|
-
import { EventEmitter, Input, Output, Component, ContentChildren, ViewChild, HostListener, forwardRef, NgModule, ɵɵdefineInjectable, Injectable, ElementRef, ApplicationRef, ComponentFactoryResolver, Injector, Renderer2, Directive, TemplateRef, ViewContainerRef, KeyValueDiffers, HostBinding, ChangeDetectorRef, ViewChildren, Pipe, ɵɵinject, InjectionToken, Inject, PLATFORM_ID, ViewEncapsulation, INJECTOR, ContentChild, Optional } from '@angular/core';
|
|
2
|
+
import { EventEmitter, Input, Output, Component, ContentChildren, ViewChild, HostListener, forwardRef, NgModule, ɵɵdefineInjectable, Injectable, ElementRef, ApplicationRef, ComponentFactoryResolver, Injector, Renderer2, Directive, TemplateRef, ViewContainerRef, KeyValueDiffers, HostBinding, ChangeDetectorRef, ViewChildren, Pipe, ɵɵinject, InjectionToken, Inject, PLATFORM_ID, ViewEncapsulation, INJECTOR, ContentChild, NgZone, Optional } from '@angular/core';
|
|
3
3
|
import { trigger, transition, style as style$7, animate, state, group, query, animateChild } from '@angular/animations';
|
|
4
4
|
import { Subject, of, from, ReplaySubject, throwError, fromEvent, forkJoin, pipe } from 'rxjs';
|
|
5
5
|
import { takeUntil, tap, map, switchMap, catchError, first, filter, take, delay, debounceTime, repeat, finalize } from 'rxjs/operators';
|
|
@@ -6457,7 +6457,6 @@ var FieldSize = /** @class */ (function () {
|
|
|
6457
6457
|
|
|
6458
6458
|
var Field = /** @class */ (function () {
|
|
6459
6459
|
function Field(config) {
|
|
6460
|
-
var _this = this;
|
|
6461
6460
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
6462
6461
|
/**
|
|
6463
6462
|
* In some cases DynamicFormField use a custom field that alredy exists, this happen in CustomFields when convert 'Integer, Double & Money' types to 'Custom' this create two labels. activate this property hide the parent label.
|
|
@@ -6483,7 +6482,6 @@ var Field = /** @class */ (function () {
|
|
|
6483
6482
|
this.errorMessages = config.errorMessages;
|
|
6484
6483
|
this.bottomTemplate = config.bottomTemplate;
|
|
6485
6484
|
this.footer = config.footer;
|
|
6486
|
-
this.gridClass = Object.keys(this.size).map(function (key) { return "ui-" + key + "-" + _this.size[key]; });
|
|
6487
6485
|
this.defaultValue = config.defaultValue;
|
|
6488
6486
|
this.representedBy = config.representedBy;
|
|
6489
6487
|
this.CustomFieldClass = config.CustomFieldClass;
|
|
@@ -6492,6 +6490,14 @@ var Field = /** @class */ (function () {
|
|
|
6492
6490
|
this.useInfoSignFocusedInputRef = (_f = config.useInfoSignFocusedInputRef) !== null && _f !== void 0 ? _f : true;
|
|
6493
6491
|
this.ignoreLabel = (_g = config.ignoreLabel) !== null && _g !== void 0 ? _g : false;
|
|
6494
6492
|
}
|
|
6493
|
+
Object.defineProperty(Field.prototype, "gridClass", {
|
|
6494
|
+
get: function () {
|
|
6495
|
+
var _this = this;
|
|
6496
|
+
return Object.keys(this.size).map(function (key) { return "ui-" + key + "-" + _this.size[key]; });
|
|
6497
|
+
},
|
|
6498
|
+
enumerable: true,
|
|
6499
|
+
configurable: true
|
|
6500
|
+
});
|
|
6495
6501
|
return Field;
|
|
6496
6502
|
}());
|
|
6497
6503
|
|
|
@@ -7024,12 +7030,14 @@ var SliderField = /** @class */ (function (_super) {
|
|
|
7024
7030
|
var TextAreaField = /** @class */ (function (_super) {
|
|
7025
7031
|
__extends(TextAreaField, _super);
|
|
7026
7032
|
function TextAreaField(config) {
|
|
7033
|
+
var _a;
|
|
7027
7034
|
var _this = _super.call(this, config) || this;
|
|
7028
7035
|
_this.cols = config.cols;
|
|
7029
7036
|
_this.rows = config.rows;
|
|
7030
7037
|
_this.keyFilter = config.keyFilter;
|
|
7031
7038
|
_this.style = config.style;
|
|
7032
7039
|
_this.readonly = config.readonly;
|
|
7040
|
+
_this.speechRecognition = (_a = config.speechRecognition) !== null && _a !== void 0 ? _a : false;
|
|
7033
7041
|
return _this;
|
|
7034
7042
|
}
|
|
7035
7043
|
return TextAreaField;
|
|
@@ -7750,7 +7758,7 @@ var LookupComponent = /** @class */ (function () {
|
|
|
7750
7758
|
Injectable(),
|
|
7751
7759
|
Component({
|
|
7752
7760
|
selector: "s-lookup",
|
|
7753
|
-
template: "<div [ngClass]=\"{ inputgroup: showSearch }\">\n <p-autoComplete\n #autocomplete\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [dataKey]=\"dataKey\"\n [multiple]=\"multiple\"\n [inputId]=\"id + '-autocomplete'\"\n [forceSelection]=\"autocompleteForceSelection\"\n [suggestions]=\"getLookupSuggestions()\"\n (completeMethod)=\"lazyLoadLookup($event)\"\n (onSelect)=\"onSelect.next($event)\"\n (onBlur)=\"onBlur.next($event)\"\n (onFocus)=\"onFocus.next($event)\"\n (onUnselect)=\"onUnselect.next($event)\"\n (onClear)=\"onClear.next($event)\"\n (onKeyUp)=\"onKeyUp.next($event)\"\n [field]=\"lookupDisplayField\"\n [emptyMessage]=\"lookupEmptyMessage\"\n [dropdown]=\"!showSearch\"\n [appendTo]=\"lookupAppendTo\"\n [placeholder]=\"placeholder || ' '\"\n [autoHighlight]=\"true\"\n inputStyleClass=\"mousetrap\">\n <ng-template let-item pTemplate=\"selectedItem\">\n <span\n class=\"ui-autocomplete-token-label ng-tns-c65-43 ng-star-inserted\"\n [sTooltip]=\"lookupDisplayFieldTooltip ? item[lookupDisplayField] : null\"\n tooltipPosition=\"top\">\n {{item[lookupDisplayField]}}\n </span>\n </ng-template>\n </p-autoComplete>\n <button\n *ngIf=\"showSearch\"\n pButton\n type=\"button\"\n icon=\"fa fa-search\"\n class=\"button-addon\"\n [disabled]=\"disabled\"\n (click)=\"showDialog()\">\n </button>\n</div>\n<p-dialog\n appendTo=\"body\"\n styleClass=\"s-lookup-modal\"\n [header]=\"searchTitle || 'platform.angular_components.advanced_search' | translate\"\n [(visible)]=\"dialogVisible\"\n [modal]=\"true\"\n (onHide)=\"hideDialog()\"\n [blockScroll]=\"true\"\n [focusOnShow]=\"true\"\n [draggable]=\"false\"\n [resizable]=\"false\"\n #dialog>\n <div\n *ngIf=\"dialogVisible\"\n class=\"s-lookup-modal-container\">\n <div\n *ngIf=\"searchFields && searchFields.length\"\n class=\"filter\"\n [@collapseContent]=\"collapsed\n ? { value: 'hidden', params: { transitionParams: transitionOptions } }\n : { value: 'visible', params: { transitionParams: transitionOptions } }\"\n (@collapseContent.done)=\"onToggleDone()\">\n <form\n [formGroup]=\"formGroupDialog\"\n novalidate\n autocomplete=\"off\">\n <div\n *ngIf=\"!collapsed\"\n class=\"form-content\"\n [@childCollapseContent]=\"collapsed\n ? { value: ':leave', params: { transitionParams: transitionOptions } }\n : { value: ':enter', params: { transitionParams: transitionOptions } }\">\n <div class=\"filter-title sds-section-title\">\n {{ filterTitle || \"platform.angular_components.filters\" | translate }}\n </div>\n <div class=\"form-fields\">\n <s-dynamic-form\n [fields]=\"searchFields\"\n [form]=\"formGroupDialog\">\n </s-dynamic-form>\n </div>\n <div class=\"ui-g\">\n <div class=\"ui-g-12\">\n <s-button\n [id]=\"id + '-filter-button'\"\n type=\"submit\"\n [label]=\"filterLabel || 'platform.angular_components.filter' | translate\"\n (onClick)=\"search()\"\n sTooltip=\"(ALT + SHIFT + F)\"\n tooltipPosition=\"top\"\n showDelay=\"500\">\n </s-button>\n <s-button\n [id]=\"id + '-clear-button'\"\n type=\"button\"\n [label]=\"clearLabel || 'platform.angular_components.clear' | translate\"\n (onClick)=\"clear()\"\n priority=\"link\"\n sTooltip=\"(ALT + SHIFT + L)\"\n tooltipPosition=\"top\"\n showDelay=\"500\">\n </s-button>\n </div>\n </div>\n </div>\n </form>\n </div>\n <div\n *ngIf=\"searchFields && searchFields.length\"\n class=\"filter-toggle\">\n <div class=\"filter-toggle--start-border-mask\"></div>\n <button\n [id]=\"id + '-filter-toggle-button'\"\n type=\"button\"\n (click)=\"filterToggle()\">\n <span\n class=\"fa\"\n [ngClass]=\"{'fa-chevron-left': !collapsed, 'fa-chevron-right': collapsed}\"\n aria-hidden=\"true\">\n </span>\n </button>\n <div class=\"filter-toggle--end-border-mask\"></div>\n </div>\n <div\n class=\"content\"\n [ngClass]=\"{'empty-content': !searchTotalRecords && !loading}\">\n <s-empty-state\n [id]=\"id + '-empty-state'\"\n *ngIf=\"!searchTotalRecords && !loading\"\n [title]=\"searchEmptyTitle || 'platform.angular_components.no_records_found' | translate\"\n [description]=\"searchEmptyDescription\"\n iconClass=\"fa fa-search\">\n </s-empty-state>\n\n <div>\n <s-button\n *ngIf=\"showAddOption\"\n priority=\"default\"\n [label]=\"'platform.angular_components.add' | translate\"\n (onClick)=\"onAdd.emit()\">\n </s-button>\n <s-button\n *ngIf=\"showEditOption\"\n priority=\"default\"\n [label]=\"'platform.angular_components.edit' | translate\"\n [disabled]=\"selected.length !== 1\"\n (onClick)=\"onEdit.emit(this.selected[0])\">\n </s-button>\n <s-button\n *ngIf=\"showRemoveOption\"\n priority=\"default\"\n [label]=\"'platform.angular_components.remove' | translate\"\n [disabled]=\"!selected.length\"\n (onClick)=\"onRemove.emit(this.selected)\">\n </s-button>\n </div>\n\n <p-table\n [dataKey]=\"dataKey\"\n [value]=\"getGridData()\"\n [columns]=\"searchGridFields\"\n [lazy]=\"true\"\n [scrollable]=\"true\"\n [paginator]=\"true\"\n sortMode=\"multiple\"\n [totalRecords]=\"searchTotalRecords\"\n [rows]=\"10\"\n [selection]=\"selected\"\n (onLazyLoad)=\"lazyLoadGrid($event)\"\n *sLoadingState=\"{ loading: loading, indicator: 'logo' }\"\n [multiSortMeta]=\"multiSortMeta\"\n [attr.data-hidden]=\"!searchTotalRecords && !loading\"\n [selectionMode]=\"multiple ? 'multiple' : 'single'\"\n (selectionChange)=\"onSelectionChange($event)\">\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col\n *ngIf=\"multiple\"\n style=\"width: 50px\" />\n <col\n *ngFor=\"let col of columns\"\n [style.width]=\"col.width\" />\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th\n *ngIf=\"multiple\"\n style=\"width: 50px\">\n <s-table-header-checkbox\n [useAllObject]=\"lookupRowProps ? false : true\"\n [rowProps]=\"lookupRowProps\">\n </s-table-header-checkbox>\n </th>\n <th\n [style.width]=\"col.width\"\n *ngFor=\"let col of columns\"\n [pSortableColumn]=\"col.sortableColumnName ? col.sortableColumnName : col.name\"\n [pSortableColumnDisabled]=\"sortableColumnsDisabled?.includes(col.name)\">\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{ col.label }}</span>\n <p-sortIcon\n [field]=\"col.name\"\n *ngIf=\"!sortableColumnsDisabled?.includes(col.name)\">\n </p-sortIcon>\n </div>\n </th>\n </tr>\n </ng-template>\n <ng-template\n pTemplate=\"body\"\n let-rowData\n let-columns\n let-rowIndex=\"rowIndex\">\n <tr\n sNavigation\n [pSelectableRow]=\"rowData\"\n [pSelectableRowIndex]=\"rowIndex\"\n sDoubleClick (onDoubleClick)=\"onTableRowDoubleClick(rowData)\">\n <td\n *ngIf=\"multiple\"\n style=\"width: 50px\"\n tabindex=\"0\">\n <p-tableCheckbox\n [value]=\"rowData\"\n [pSelectableRow]=\"rowData\">\n </p-tableCheckbox>\n </td>\n <td\n [style.width]=\"col['width']\"\n *ngFor=\"let col of searchGridFields\"\n [ngSwitch]=\"col.type\"\n tabindex=\"0\">\n <ng-container *ngSwitchCase=\"'Boolean'\">\n <ng-container *ngIf=\"isBooleanValue(rowData, col.name); else emptyTemplate\">\n <span>{{ getBooleanLabel(rowData, col.name, col.optionsLabel) }}</span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Date'\">\n <ng-container *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\">\n <span>{{ getFieldValue(rowData, col.name) | localizedDate: col.calendarLocaleOptions?.dateFormat || \"L\" | async }}</span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'DateTime'\">\n <ng-container *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\">\n <span>{{ getFieldValue(rowData, col.name) | localizedDate | async }}</span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'LocalDateTime'\">\n <ng-container *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\">\n <span>{{ getFieldValue(rowData, col.name) | localizedDate | async }}</span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Time'\">\n <ng-container *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\">\n <span>{{ getFieldValue(rowData, col.name) | localizedTime: col.calendarLocaleOptions?.dateFormat || \"LTS\" | async }}</span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Integer'\">\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span> {{ getFieldValue(rowData, col.name) | localizedBignumber: getIntegerMaskConfig(col) | async }} </span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Double'\">\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span> {{ getFieldValue(rowData, col.name) | localizedBignumber: getDoubleMaskConfig(col) | async }} </span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Money'\">\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span> {{ getFieldValue(rowData, col.name) | localizedBignumber: getMoneyMaskConfig(col) | async }} </span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Number'\">\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span> {{ getFieldValue(rowData, col.name) | localizedBignumber: getNumberMaskConfig(col) | async }} </span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Enum'\">\n <ng-container *ngIf=\"getLabelForValue(getFieldValue(rowData, col.name), col.options); else emptyTemplate\">\n <ng-container *ngIf=\"getBadgeFromValue(getFieldValue(rowData, col.name), col.options); then withBadge; else withoutBadge\"></ng-container>\n <ng-template #withBadge>\n <s-badge\n [text]=\"getLabelForValue(getFieldValue(rowData, col.name), col.options)\"\n [color]=\"getBadgeFromValue(getFieldValue(rowData, col.name), col.options).color\"\n [type]=\"getBadgeFromValue(getFieldValue(rowData, col.name), col.options).type\"\n [iconClass]=\"getBadgeFromValue(getFieldValue(rowData, col.name), col.options).iconClass\"\n [iconPosition]=\"getBadgeFromValue(getFieldValue(rowData, col.name), col.options).iconPosition\">\n </s-badge>\n </ng-template>\n <ng-template #withoutBadge>\n <span> {{ getLabelForValue(getFieldValue(rowData, col.name), col.options) }} </span>\n </ng-template>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <ng-container *ngIf=\"col.mask && col.mask()\">\n <ng-container *ngIf=\"(isNumber(rowData, col.name) || getFieldValue(rowData, col.name))\">\n <span>{{ getFieldValue(rowData, col.name) | sMaskFormatter: col.mask() }}</span>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"!(col.mask && col.mask())\">\n <ng-container *ngIf=\"(isNumber(rowData, col.name) || getFieldValue(rowData, col.name)); else emptyTemplate\">\n <span>{{ getFieldValue(rowData, col.name) }}</span>\n </ng-container>\n </ng-container>\n </ng-container>\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span [attr.data-hidden]=\"loading\">\n {{ printRecordTotalizer() }}\n </span>\n </ng-template>\n </p-table>\n </div>\n </div>\n <p-footer>\n <s-button\n [id]=\"id + '-select-button'\"\n type=\"button\"\n [label]=\"selectLabel || 'platform.angular_components.select' | translate\"\n (onClick)=\"select()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n [disabled]=\"!selected?.length\">\n </s-button>\n <s-button\n [id]=\"id + '-cancel-button'\"\n type=\"button\"\n priority=\"link\"\n [label]=\"cancelLabel || 'platform.angular_components.cancel' | translate\"\n (onClick)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n tooltipPosition=\"top\"\n showDelay=\"500\">\n </s-button>\n </p-footer>\n</p-dialog>\n<ng-template #emptyTemplate>\n <span [ngClass]=\"'sds-empty-value'\">\n {{ emptyFieldLabel || 'platform.angular_components.not_informed' | translate }}\n </span>\n</ng-template>\n",
|
|
7761
|
+
template: "<div [ngClass]=\"{ inputgroup: showSearch }\">\n <p-autoComplete\n #autocomplete\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [dataKey]=\"dataKey\"\n [multiple]=\"multiple\"\n [inputId]=\"id + '-autocomplete'\"\n [forceSelection]=\"autocompleteForceSelection\"\n [suggestions]=\"getLookupSuggestions()\"\n (completeMethod)=\"lazyLoadLookup($event)\"\n (onSelect)=\"onSelect.next($event)\"\n (onBlur)=\"onBlur.next($event)\"\n (onFocus)=\"onFocus.next($event)\"\n (onUnselect)=\"onUnselect.next($event)\"\n (onClear)=\"onClear.next($event)\"\n (onKeyUp)=\"onKeyUp.next($event)\"\n [field]=\"lookupDisplayField\"\n [emptyMessage]=\"lookupEmptyMessage\"\n [dropdown]=\"!showSearch\"\n [appendTo]=\"lookupAppendTo\"\n [placeholder]=\"placeholder || ' '\"\n [autoHighlight]=\"true\"\n inputStyleClass=\"mousetrap\">\n <ng-template let-item pTemplate=\"selectedItem\">\n <span\n class=\"ui-autocomplete-token-label ng-tns-c65-43 ng-star-inserted\"\n [sTooltip]=\"lookupDisplayFieldTooltip ? item[lookupDisplayField] : null\"\n tooltipPosition=\"top\">\n {{item[lookupDisplayField]}}\n </span>\n </ng-template>\n </p-autoComplete>\n <button\n *ngIf=\"showSearch\"\n pButton\n type=\"button\"\n icon=\"fa fa-search\"\n class=\"button-addon\"\n [disabled]=\"disabled\"\n (click)=\"showDialog()\">\n </button>\n</div>\n<p-dialog\n appendTo=\"body\"\n styleClass=\"s-lookup-modal\"\n [header]=\"searchTitle || 'platform.angular_components.advanced_search' | translate\"\n [(visible)]=\"dialogVisible\"\n [modal]=\"true\"\n (onHide)=\"hideDialog()\"\n [blockScroll]=\"true\"\n [focusOnShow]=\"true\"\n [draggable]=\"false\"\n [resizable]=\"false\"\n #dialog>\n <div\n *ngIf=\"dialogVisible\"\n class=\"s-lookup-modal-container\">\n <div\n *ngIf=\"searchFields && searchFields.length\"\n class=\"filter\"\n [@collapseContent]=\"collapsed\n ? { value: 'hidden', params: { transitionParams: transitionOptions } }\n : { value: 'visible', params: { transitionParams: transitionOptions } }\"\n (@collapseContent.done)=\"onToggleDone()\">\n <form\n [formGroup]=\"formGroupDialog\"\n novalidate\n autocomplete=\"off\">\n <div\n *ngIf=\"!collapsed\"\n class=\"form-content\"\n [@childCollapseContent]=\"collapsed\n ? { value: ':leave', params: { transitionParams: transitionOptions } }\n : { value: ':enter', params: { transitionParams: transitionOptions } }\">\n <div class=\"filter-title sds-section-title\">\n {{ filterTitle || \"platform.angular_components.filters\" | translate }}\n </div>\n <div class=\"form-fields\">\n <s-dynamic-form\n [fields]=\"searchFields\"\n [form]=\"formGroupDialog\">\n </s-dynamic-form>\n </div>\n <div class=\"ui-g\">\n <div class=\"ui-g-12 no-button-margin\">\n <s-button\n [id]=\"id + '-filter-button'\"\n type=\"submit\"\n [label]=\"filterLabel || 'platform.angular_components.filter' | translate\"\n (onClick)=\"search()\"\n sTooltip=\"(ALT + SHIFT + F)\"\n tooltipPosition=\"top\"\n showDelay=\"500\">\n </s-button>\n <s-button\n [id]=\"id + '-clear-button'\"\n type=\"button\"\n [label]=\"clearLabel || 'platform.angular_components.clear' | translate\"\n (onClick)=\"clear()\"\n priority=\"link\"\n sTooltip=\"(ALT + SHIFT + L)\"\n tooltipPosition=\"top\"\n showDelay=\"500\">\n </s-button>\n </div>\n </div>\n </div>\n </form>\n </div>\n <div\n *ngIf=\"searchFields && searchFields.length\"\n class=\"filter-toggle\">\n <button\n [id]=\"id + '-filter-toggle-button'\"\n type=\"button\"\n (click)=\"filterToggle()\">\n <span\n class=\"fa\"\n [ngClass]=\"{'fa-chevron-left': !collapsed, 'fa-chevron-right': collapsed}\"\n aria-hidden=\"true\">\n </span>\n </button>\n </div>\n <div\n class=\"content\"\n [ngClass]=\"{'empty-content': !searchTotalRecords && !loading}\">\n <s-empty-state\n [id]=\"id + '-empty-state'\"\n *ngIf=\"!searchTotalRecords && !loading\"\n [title]=\"searchEmptyTitle || 'platform.angular_components.no_records_found' | translate\"\n [description]=\"searchEmptyDescription\"\n iconClass=\"fa fa-search\">\n </s-empty-state>\n\n <div class=\"content-child\">\n <p-table\n [dataKey]=\"dataKey\"\n [value]=\"getGridData()\"\n [columns]=\"searchGridFields\"\n [lazy]=\"true\"\n [scrollable]=\"true\"\n [paginator]=\"true\"\n sortMode=\"multiple\"\n [totalRecords]=\"searchTotalRecords\"\n [rows]=\"10\"\n [selection]=\"selected\"\n (onLazyLoad)=\"lazyLoadGrid($event)\"\n *sLoadingState=\"{ loading: loading, indicator: 'logo' }\"\n [multiSortMeta]=\"multiSortMeta\"\n [attr.data-hidden]=\"!searchTotalRecords && !loading\"\n [selectionMode]=\"multiple ? 'multiple' : 'single'\"\n (selectionChange)=\"onSelectionChange($event)\">\n <ng-template pTemplate=\"caption\">\n <div class=\"buttons-container no-button-margin\">\n <s-button\n *ngIf=\"showAddOption\"\n priority=\"default\"\n [label]=\"'platform.angular_components.add' | translate\"\n (onClick)=\"onAdd.emit()\">\n </s-button>\n <s-button\n *ngIf=\"showEditOption\"\n priority=\"default\"\n [label]=\"'platform.angular_components.edit' | translate\"\n [disabled]=\"selected.length !== 1\"\n (onClick)=\"onEdit.emit(this.selected[0])\">\n </s-button>\n <s-button\n *ngIf=\"showRemoveOption\"\n priority=\"default\"\n [label]=\"'platform.angular_components.remove' | translate\"\n [disabled]=\"!selected.length\"\n (onClick)=\"onRemove.emit(this.selected)\">\n </s-button>\n </div>\n </ng-template>\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n <col\n *ngIf=\"multiple\"\n style=\"width: 50px\" />\n <col\n *ngFor=\"let col of columns\"\n [style.width]=\"col.width\" />\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n <th\n *ngIf=\"multiple\"\n style=\"width: 50px\">\n <s-table-header-checkbox\n [useAllObject]=\"lookupRowProps ? false : true\"\n [rowProps]=\"lookupRowProps\">\n </s-table-header-checkbox>\n </th>\n <th\n [style.width]=\"col.width\"\n *ngFor=\"let col of columns\"\n [pSortableColumn]=\"col.sortableColumnName ? col.sortableColumnName : col.name\"\n [pSortableColumnDisabled]=\"sortableColumnsDisabled?.includes(col.name)\">\n <div class=\"senior-header\">\n <span class=\"senior-header-title\">{{ col.label }}</span>\n <p-sortIcon\n [field]=\"col.name\"\n *ngIf=\"!sortableColumnsDisabled?.includes(col.name)\">\n </p-sortIcon>\n </div>\n </th>\n </tr>\n </ng-template>\n <ng-template\n pTemplate=\"body\"\n let-rowData\n let-columns\n let-rowIndex=\"rowIndex\">\n <tr\n sNavigation\n [pSelectableRow]=\"rowData\"\n [pSelectableRowIndex]=\"rowIndex\"\n sDoubleClick (onDoubleClick)=\"onTableRowDoubleClick(rowData)\">\n <td\n *ngIf=\"multiple\"\n style=\"width: 50px\"\n tabindex=\"0\">\n <p-tableCheckbox\n [value]=\"rowData\"\n [pSelectableRow]=\"rowData\">\n </p-tableCheckbox>\n </td>\n <td\n [style.width]=\"col['width']\"\n *ngFor=\"let col of searchGridFields\"\n [ngSwitch]=\"col.type\"\n tabindex=\"0\">\n <ng-container *ngSwitchCase=\"'Boolean'\">\n <ng-container *ngIf=\"isBooleanValue(rowData, col.name); else emptyTemplate\">\n <span>{{ getBooleanLabel(rowData, col.name, col.optionsLabel) }}</span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Date'\">\n <ng-container *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\">\n <span>{{ getFieldValue(rowData, col.name) | localizedDate: col.calendarLocaleOptions?.dateFormat || \"L\" | async }}</span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'DateTime'\">\n <ng-container *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\">\n <span>{{ getFieldValue(rowData, col.name) | localizedDate | async }}</span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'LocalDateTime'\">\n <ng-container *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\">\n <span>{{ getFieldValue(rowData, col.name) | localizedDate | async }}</span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Time'\">\n <ng-container *ngIf=\"getFieldValue(rowData, col.name); else emptyTemplate\">\n <span>{{ getFieldValue(rowData, col.name) | localizedTime: col.calendarLocaleOptions?.dateFormat || \"LTS\" | async }}</span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Integer'\">\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span> {{ getFieldValue(rowData, col.name) | localizedBignumber: getIntegerMaskConfig(col) | async }} </span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Double'\">\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span> {{ getFieldValue(rowData, col.name) | localizedBignumber: getDoubleMaskConfig(col) | async }} </span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Money'\">\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span> {{ getFieldValue(rowData, col.name) | localizedBignumber: getMoneyMaskConfig(col) | async }} </span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Number'\">\n <ng-container *ngIf=\"isNumber(rowData, col.name); else emptyTemplate\">\n <span> {{ getFieldValue(rowData, col.name) | localizedBignumber: getNumberMaskConfig(col) | async }} </span>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'Enum'\">\n <ng-container *ngIf=\"getLabelForValue(getFieldValue(rowData, col.name), col.options); else emptyTemplate\">\n <ng-container *ngIf=\"getBadgeFromValue(getFieldValue(rowData, col.name), col.options); then withBadge; else withoutBadge\"></ng-container>\n <ng-template #withBadge>\n <s-badge\n [text]=\"getLabelForValue(getFieldValue(rowData, col.name), col.options)\"\n [color]=\"getBadgeFromValue(getFieldValue(rowData, col.name), col.options).color\"\n [type]=\"getBadgeFromValue(getFieldValue(rowData, col.name), col.options).type\"\n [iconClass]=\"getBadgeFromValue(getFieldValue(rowData, col.name), col.options).iconClass\"\n [iconPosition]=\"getBadgeFromValue(getFieldValue(rowData, col.name), col.options).iconPosition\">\n </s-badge>\n </ng-template>\n <ng-template #withoutBadge>\n <span> {{ getLabelForValue(getFieldValue(rowData, col.name), col.options) }} </span>\n </ng-template>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchDefault>\n <ng-container *ngIf=\"col.mask && col.mask()\">\n <ng-container *ngIf=\"(isNumber(rowData, col.name) || getFieldValue(rowData, col.name))\">\n <span>{{ getFieldValue(rowData, col.name) | sMaskFormatter: col.mask() }}</span>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"!(col.mask && col.mask())\">\n <ng-container *ngIf=\"(isNumber(rowData, col.name) || getFieldValue(rowData, col.name)); else emptyTemplate\">\n <span>{{ getFieldValue(rowData, col.name) }}</span>\n </ng-container>\n </ng-container>\n </ng-container>\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span [attr.data-hidden]=\"loading\">\n {{ printRecordTotalizer() }}\n </span>\n </ng-template>\n </p-table>\n </div>\n\n </div>\n </div>\n <p-footer>\n <s-button\n [id]=\"id + '-select-button'\"\n type=\"button\"\n [label]=\"selectLabel || 'platform.angular_components.select' | translate\"\n (onClick)=\"select()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n [disabled]=\"!selected?.length\">\n </s-button>\n <s-button\n [id]=\"id + '-cancel-button'\"\n type=\"button\"\n priority=\"link\"\n [label]=\"cancelLabel || 'platform.angular_components.cancel' | translate\"\n (onClick)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n tooltipPosition=\"top\"\n showDelay=\"500\">\n </s-button>\n </p-footer>\n</p-dialog>\n<ng-template #emptyTemplate>\n <span [ngClass]=\"'sds-empty-value'\">\n {{ emptyFieldLabel || 'platform.angular_components.not_informed' | translate }}\n </span>\n</ng-template>\n",
|
|
7754
7762
|
providers: [
|
|
7755
7763
|
{
|
|
7756
7764
|
provide: NG_VALUE_ACCESSOR,
|
|
@@ -7780,7 +7788,7 @@ var LookupComponent = /** @class */ (function () {
|
|
|
7780
7788
|
transition("* <=> *", animate("{{transitionParams}}")),
|
|
7781
7789
|
]),
|
|
7782
7790
|
],
|
|
7783
|
-
styles: ["s-lookup.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-lookup .ui-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}s-lookup .inputgroup p-autocomplete+button,s-lookup p-autocomplete .ui-autocomplete-dropdown.ui-button{background-color:#fff;border-color:#ccc;border-width:1px 1px 1px 0;color:#333;min-height:35px;height:auto!important;min-width:auto;width:35px!important;overflow:hidden;border-top-left-radius:0;border-bottom-left-radius:0}s-lookup .inputgroup,s-lookup p-autocomplete span.ui-autocomplete-multiple{display:-ms-flexbox;display:flex}s-lookup .inputgroup p-autocomplete{display:inline-block}s-lookup .inputgroup p-autocomplete .ui-autocomplete-input{width:100%}s-lookup .inputgroup p-autocomplete+button:enabled:hover,s-lookup .inputgroup p-autocomplete+button:focus{background-color:#e6e6e6;border-color:#ccc}s-lookup .inputgroup p-autocomplete .ui-widget .ui-inputtext{border-right-width:1px;border-right-style:solid}s-lookup .ui-autocomplete-input-token,s-lookup .ui-autocomplete-input-token input{width:100%}s-lookup .ui-autocomplete .ui-autocomplete-token{max-width:100%}s-lookup .ui-autocomplete .ui-autocomplete-token-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .s-lookup-modal.ui-dialog .ui-dialog-content{padding:0;margin-bottom:0;max-height:none}s-lookup .ui-table-scrollable-body{min-width:100%}.s-lookup-modal{height:80%!important;max-width:100%!important;max-height:inherit!important;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column}.s-lookup-modal .ui-dialog-content{height:auto!important;-ms-flex:1;flex:1;overflow:auto}.s-lookup-modal .ui-dialog-footer,.s-lookup-modal .ui-dialog-header{-ms-flex-negative:0;flex-shrink:0;border-radius:0 0 4px 4px}.s-lookup-modal .s-lookup-modal-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%}.s-lookup-modal .s-lookup-modal-container .filter{position:relative;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;width:85%;background-color:rgba(229,234,234,.5);height:100%;padding:.571rem}.s-lookup-modal .s-lookup-modal-container .filter form{width:100%;height:100%}.s-lookup-modal .s-lookup-modal-container .filter form .form-content{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.s-lookup-modal .s-lookup-modal-container .filter form .form-content .filter-title{padding-left:.5rem}.s-lookup-modal .s-lookup-modal-container .filter form .form-content .form-fields{overflow-y:auto}.s-lookup-modal .s-lookup-modal-container .filter-toggle{-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;width:35px;border-radius:0 4px 4px 0}.s-lookup-modal .s-lookup-modal-container .filter-toggle button{-ms-flex-align:center;align-items:center;position:relative;background-color:rgba(229,234,234,.5);height:35px;width:100%;border:1px solid #e5eaea;outline:0;border-left:none;border-radius:0 4px 4px 0;cursor:pointer;text-decoration:none;text-transform:none;padding:7px;transition:background-color .2s ease-out,color .2s ease-out,border-color .2s ease-out}.s-lookup-modal .s-lookup-modal-container .filter-toggle button:focus,.s-lookup-modal .s-lookup-modal-container .filter-toggle button:hover{background-color:rgba(201,211,211,.5);border-color:#c9d3d3}.s-lookup-modal .s-lookup-modal-container .
|
|
7791
|
+
styles: [".no-button-margin s-button{margin-left:0}s-lookup.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-lookup .ui-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}s-lookup .inputgroup p-autocomplete+button,s-lookup p-autocomplete .ui-autocomplete-dropdown.ui-button{background-color:#fff;border-color:#ccc;border-width:1px 1px 1px 0;color:#333;min-height:35px;height:auto!important;min-width:auto;width:35px!important;overflow:hidden;border-top-left-radius:0;border-bottom-left-radius:0}s-lookup .inputgroup,s-lookup p-autocomplete span.ui-autocomplete-multiple{display:-ms-flexbox;display:flex}s-lookup .inputgroup p-autocomplete{display:inline-block}s-lookup .inputgroup p-autocomplete .ui-autocomplete-input{width:100%}s-lookup .inputgroup p-autocomplete+button:enabled:hover,s-lookup .inputgroup p-autocomplete+button:focus{background-color:#e6e6e6;border-color:#ccc}s-lookup .inputgroup p-autocomplete .ui-widget .ui-inputtext{border-right-width:1px;border-right-style:solid}s-lookup .ui-autocomplete-input-token,s-lookup .ui-autocomplete-input-token input{width:100%}s-lookup .ui-autocomplete .ui-autocomplete-token{max-width:100%}s-lookup .ui-autocomplete .ui-autocomplete-token-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .s-lookup-modal.ui-dialog .ui-dialog-content{padding:0;margin-bottom:0;max-height:none}s-lookup .ui-table-scrollable-body{min-width:100%}.s-lookup-modal{height:80%!important;max-width:100%!important;max-height:inherit!important;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column}.s-lookup-modal .ui-dialog-content{height:auto!important;-ms-flex:1;flex:1;overflow:auto}.s-lookup-modal .ui-dialog-footer,.s-lookup-modal .ui-dialog-header{-ms-flex-negative:0;flex-shrink:0;border-radius:0 0 4px 4px}.s-lookup-modal .s-lookup-modal-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%}.s-lookup-modal .s-lookup-modal-container .filter{position:relative;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;width:85%;background-color:rgba(229,234,234,.5);height:100%;padding:.571rem}.s-lookup-modal .s-lookup-modal-container .filter form{width:100%;height:100%}.s-lookup-modal .s-lookup-modal-container .filter form .form-content{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.s-lookup-modal .s-lookup-modal-container .filter form .form-content .filter-title{padding-left:.5rem}.s-lookup-modal .s-lookup-modal-container .filter form .form-content .form-fields{overflow-y:auto}.s-lookup-modal .s-lookup-modal-container .filter-toggle{margin-top:15px;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;width:35px;border-radius:0 4px 4px 0}.s-lookup-modal .s-lookup-modal-container .filter-toggle button{-ms-flex-align:center;align-items:center;position:relative;background-color:rgba(229,234,234,.5);height:35px;width:100%;border:1px solid #e5eaea;outline:0;border-left:none;border-radius:0 4px 4px 0;cursor:pointer;text-decoration:none;text-transform:none;padding:7px;transition:background-color .2s ease-out,color .2s ease-out,border-color .2s ease-out}.s-lookup-modal .s-lookup-modal-container .filter-toggle button:focus,.s-lookup-modal .s-lookup-modal-container .filter-toggle button:hover{background-color:rgba(201,211,211,.5);border-color:#c9d3d3}.s-lookup-modal .s-lookup-modal-container .content{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:auto;flex-basis:auto;overflow-x:auto;padding:.5rem}.s-lookup-modal .s-lookup-modal-container .content.empty-content{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}.s-lookup-modal .s-lookup-modal-container .content.empty-content .content-child{display:none}.s-lookup-modal .s-lookup-modal-container .content .content-child{height:100%;overflow:auto}.s-lookup-modal .s-lookup-modal-container .content .buttons-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:10px}.s-lookup-modal .s-lookup-modal-container .content .s-loading-state-container,.s-lookup-modal .s-lookup-modal-container .content .s-loading-state-container .contents{height:100%}.s-lookup-modal .s-lookup-modal-container .content p-table>.ui-table{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.s-lookup-modal .s-lookup-modal-container .content p-table>.ui-table .ui-table-scrollable-wrapper{overflow:auto}@media (max-width:767px){.s-lookup-modal{border:none!important;top:0!important;left:0!important;width:100%!important;height:100%!important}}@media (min-width:768px){.s-lookup-modal{width:80%!important}.s-lookup-modal .s-lookup-modal-container .filter{width:40%}}@media (min-width:1200px){.s-lookup-modal{width:60%!important}.s-lookup-modal .s-lookup-modal-container .filter{width:30%}}.inputgroup p-autocomplete{width:calc(100% - 35px)}"]
|
|
7784
7792
|
})
|
|
7785
7793
|
], LookupComponent);
|
|
7786
7794
|
return LookupComponent;
|
|
@@ -11374,7 +11382,7 @@ var TextAreaFieldComponent = /** @class */ (function () {
|
|
|
11374
11382
|
], TextAreaFieldComponent.prototype, "inputRef", void 0);
|
|
11375
11383
|
TextAreaFieldComponent = __decorate([
|
|
11376
11384
|
Component({
|
|
11377
|
-
template: "<s-field-label *ngIf=\"
|
|
11385
|
+
template: "<s-field-label *ngIf=\"textArea\" [field]=\"field\"\n [fieldContainerRef]=\"textArea.textAreaElement?.nativeElement\"></s-field-label>\n\n<s-textarea\n #textArea\n [inputId]=\"(field.id || field.name)\"\n [rows]=\"field.rows\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [inputStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\"\n [keyFilter]=\"field.keyFilter\"\n [speechRecognition]=\"field.speechRecognition\">\n</s-textarea>\n"
|
|
11378
11386
|
})
|
|
11379
11387
|
], TextAreaFieldComponent);
|
|
11380
11388
|
return TextAreaFieldComponent;
|
|
@@ -13238,6 +13246,513 @@ var TextFieldModule = /** @class */ (function () {
|
|
|
13238
13246
|
return TextFieldModule;
|
|
13239
13247
|
}());
|
|
13240
13248
|
|
|
13249
|
+
var TextAreaComponent = /** @class */ (function () {
|
|
13250
|
+
function TextAreaComponent() {
|
|
13251
|
+
this.onChange = function () { };
|
|
13252
|
+
this.onTouched = function () { };
|
|
13253
|
+
this.disabled = false;
|
|
13254
|
+
this.value = '';
|
|
13255
|
+
this.inputId = "textarea-" + Math.random();
|
|
13256
|
+
this.rows = 5;
|
|
13257
|
+
this.speechRecognition = false;
|
|
13258
|
+
this.readOnly = false;
|
|
13259
|
+
this.renderTextArea = false;
|
|
13260
|
+
}
|
|
13261
|
+
TextAreaComponent_1 = TextAreaComponent;
|
|
13262
|
+
Object.defineProperty(TextAreaComponent.prototype, "textAreaElement", {
|
|
13263
|
+
get: function () {
|
|
13264
|
+
return this._textAreaElement;
|
|
13265
|
+
},
|
|
13266
|
+
set: function (value) {
|
|
13267
|
+
var _this = this;
|
|
13268
|
+
this._textAreaElement = value;
|
|
13269
|
+
setTimeout(function () {
|
|
13270
|
+
_this.renderTextArea = true;
|
|
13271
|
+
});
|
|
13272
|
+
},
|
|
13273
|
+
enumerable: true,
|
|
13274
|
+
configurable: true
|
|
13275
|
+
});
|
|
13276
|
+
TextAreaComponent.prototype.writeValue = function (obj) {
|
|
13277
|
+
this.value = obj;
|
|
13278
|
+
};
|
|
13279
|
+
TextAreaComponent.prototype.registerOnChange = function (fn) {
|
|
13280
|
+
this.onChange = fn;
|
|
13281
|
+
};
|
|
13282
|
+
TextAreaComponent.prototype.registerOnTouched = function (fn) {
|
|
13283
|
+
this.onTouched = fn;
|
|
13284
|
+
};
|
|
13285
|
+
TextAreaComponent.prototype.setDisabledState = function (isDisabled) {
|
|
13286
|
+
this.disabled = isDisabled;
|
|
13287
|
+
};
|
|
13288
|
+
TextAreaComponent.prototype.setValue = function (value) {
|
|
13289
|
+
if (this.disabled) {
|
|
13290
|
+
return;
|
|
13291
|
+
}
|
|
13292
|
+
this.value = value;
|
|
13293
|
+
this.writeValue(this.value);
|
|
13294
|
+
this.onChange(this.value);
|
|
13295
|
+
this.onTouched(this.value);
|
|
13296
|
+
};
|
|
13297
|
+
TextAreaComponent.prototype.handleRecognizedText = function (recognizedText) {
|
|
13298
|
+
this.setValue(recognizedText);
|
|
13299
|
+
};
|
|
13300
|
+
var TextAreaComponent_1;
|
|
13301
|
+
__decorate([
|
|
13302
|
+
ViewChild('textArea', { read: ElementRef })
|
|
13303
|
+
], TextAreaComponent.prototype, "textAreaElement", null);
|
|
13304
|
+
__decorate([
|
|
13305
|
+
Input()
|
|
13306
|
+
], TextAreaComponent.prototype, "inputId", void 0);
|
|
13307
|
+
__decorate([
|
|
13308
|
+
Input()
|
|
13309
|
+
], TextAreaComponent.prototype, "rows", void 0);
|
|
13310
|
+
__decorate([
|
|
13311
|
+
Input()
|
|
13312
|
+
], TextAreaComponent.prototype, "speechRecognition", void 0);
|
|
13313
|
+
__decorate([
|
|
13314
|
+
Input()
|
|
13315
|
+
], TextAreaComponent.prototype, "keyFilter", void 0);
|
|
13316
|
+
__decorate([
|
|
13317
|
+
Input()
|
|
13318
|
+
], TextAreaComponent.prototype, "inputStyle", void 0);
|
|
13319
|
+
__decorate([
|
|
13320
|
+
Input()
|
|
13321
|
+
], TextAreaComponent.prototype, "readOnly", void 0);
|
|
13322
|
+
TextAreaComponent = TextAreaComponent_1 = __decorate([
|
|
13323
|
+
Component({
|
|
13324
|
+
selector: 's-textarea',
|
|
13325
|
+
template: "<textarea\n *ngIf=\"keyFilter\"\n #textArea\n class=\"textarea\"\n [pKeyFilter]=\"keyFilter\"\n [id]=\"inputId\"\n [rows]=\"rows\"\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [ngStyle]=\"inputStyle\"\n [readOnly]=\"readOnly\"\n (ngModelChange)=\"setValue($event)\">\n</textarea>\n\n<textarea\n *ngIf=\"!keyFilter\"\n #textArea\n class=\"textarea\"\n [id]=\"inputId\"\n [rows]=\"rows\"\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [ngStyle]=\"inputStyle\"\n [readOnly]=\"readOnly\"\n (ngModelChange)=\"setValue($event)\">\n</textarea>\n\n<s-speech-recognition\n *ngIf=\"speechRecognition && renderTextArea\"\n [textAreaElement]=\"textAreaElement.nativeElement\"\n (recognizedText)=\"handleRecognizedText($event)\">\n</s-speech-recognition>\n",
|
|
13326
|
+
providers: [
|
|
13327
|
+
{
|
|
13328
|
+
provide: NG_VALUE_ACCESSOR,
|
|
13329
|
+
useExisting: forwardRef(function () { return TextAreaComponent_1; }),
|
|
13330
|
+
multi: true,
|
|
13331
|
+
},
|
|
13332
|
+
],
|
|
13333
|
+
styles: [".textarea{border-radius:3px;border:1px solid #c1c1cc;background:#fff;width:100%;max-width:100%;min-height:4em;min-width:10em;outline:0;padding:8px;display:block}.textarea:disabled{opacity:.5}"]
|
|
13334
|
+
})
|
|
13335
|
+
], TextAreaComponent);
|
|
13336
|
+
return TextAreaComponent;
|
|
13337
|
+
}());
|
|
13338
|
+
|
|
13339
|
+
var SpeechRecognitionService = /** @class */ (function () {
|
|
13340
|
+
function SpeechRecognitionService(localeService, ngZone) {
|
|
13341
|
+
this.localeService = localeService;
|
|
13342
|
+
this.ngZone = ngZone;
|
|
13343
|
+
this.isListening = false;
|
|
13344
|
+
this.TIMEOUT_NO_MESSAGE = 3000;
|
|
13345
|
+
this.setRecognition();
|
|
13346
|
+
}
|
|
13347
|
+
SpeechRecognitionService.prototype.listen = function () {
|
|
13348
|
+
var _this = this;
|
|
13349
|
+
if (this.isListening) {
|
|
13350
|
+
return;
|
|
13351
|
+
}
|
|
13352
|
+
var speechSubject = new Subject();
|
|
13353
|
+
this.isListening = true;
|
|
13354
|
+
this.recognition.continuous = true;
|
|
13355
|
+
this.recognition.interimResults = true;
|
|
13356
|
+
this.recognition.maxAlternatives = 1;
|
|
13357
|
+
var silenceTimer;
|
|
13358
|
+
var restartSilenceTimer = function () {
|
|
13359
|
+
if (silenceTimer !== undefined) {
|
|
13360
|
+
clearTimeout(silenceTimer);
|
|
13361
|
+
}
|
|
13362
|
+
silenceTimer = setTimeout(function () {
|
|
13363
|
+
_this.recognition.stop();
|
|
13364
|
+
}, _this.TIMEOUT_NO_MESSAGE);
|
|
13365
|
+
};
|
|
13366
|
+
var fullTranscript = '';
|
|
13367
|
+
var interimTranscript = '';
|
|
13368
|
+
this.recognition.onresult = function (event) {
|
|
13369
|
+
_this.ngZone.run(function () {
|
|
13370
|
+
restartSilenceTimer();
|
|
13371
|
+
var interimTranscript = '';
|
|
13372
|
+
for (var i = event.resultIndex; i < event.results.length; ++i) {
|
|
13373
|
+
var transcript = event.results[i][0].transcript;
|
|
13374
|
+
if (event.results[i].isFinal) {
|
|
13375
|
+
fullTranscript += transcript + '\n';
|
|
13376
|
+
}
|
|
13377
|
+
else {
|
|
13378
|
+
interimTranscript += transcript;
|
|
13379
|
+
}
|
|
13380
|
+
}
|
|
13381
|
+
interimTranscript = interimTranscript;
|
|
13382
|
+
speechSubject.next({ text: fullTranscript + interimTranscript, isFinal: false });
|
|
13383
|
+
});
|
|
13384
|
+
};
|
|
13385
|
+
this.recognition.onerror = function () {
|
|
13386
|
+
_this.ngZone.run(function () {
|
|
13387
|
+
if (silenceTimer !== undefined) {
|
|
13388
|
+
clearTimeout(silenceTimer);
|
|
13389
|
+
}
|
|
13390
|
+
_this.isListening = false;
|
|
13391
|
+
speechSubject.next({
|
|
13392
|
+
isFinal: true,
|
|
13393
|
+
text: ''
|
|
13394
|
+
});
|
|
13395
|
+
});
|
|
13396
|
+
};
|
|
13397
|
+
this.recognition.onend = function () {
|
|
13398
|
+
_this.ngZone.run(function () {
|
|
13399
|
+
if (silenceTimer !== undefined) {
|
|
13400
|
+
clearTimeout(silenceTimer);
|
|
13401
|
+
}
|
|
13402
|
+
speechSubject.next({ text: fullTranscript + interimTranscript, isFinal: true });
|
|
13403
|
+
_this.isListening = false;
|
|
13404
|
+
speechSubject.complete();
|
|
13405
|
+
});
|
|
13406
|
+
};
|
|
13407
|
+
this.recognition.start();
|
|
13408
|
+
return speechSubject;
|
|
13409
|
+
};
|
|
13410
|
+
SpeechRecognitionService.prototype.stop = function () {
|
|
13411
|
+
this.recognition.stop();
|
|
13412
|
+
};
|
|
13413
|
+
SpeechRecognitionService.prototype.setRecognition = function () {
|
|
13414
|
+
var SpeechRecognitionConstructor = window.SpeechRecognition || window.webkitSpeechRecognition;
|
|
13415
|
+
if (!SpeechRecognitionConstructor) {
|
|
13416
|
+
throw new Error('Speech recognition is not supported in this browser.');
|
|
13417
|
+
}
|
|
13418
|
+
this.recognition = new SpeechRecognitionConstructor();
|
|
13419
|
+
this.recognition.lang = this.localeService.getLocaleOptions().locale || 'pt-BR';
|
|
13420
|
+
this.recognition.interimResults = false;
|
|
13421
|
+
this.recognition.maxAlternatives = 1;
|
|
13422
|
+
};
|
|
13423
|
+
SpeechRecognitionService.ctorParameters = function () { return [
|
|
13424
|
+
{ type: LocaleService },
|
|
13425
|
+
{ type: NgZone }
|
|
13426
|
+
]; };
|
|
13427
|
+
SpeechRecognitionService.ɵprov = ɵɵdefineInjectable({ factory: function SpeechRecognitionService_Factory() { return new SpeechRecognitionService(ɵɵinject(LocaleService), ɵɵinject(NgZone)); }, token: SpeechRecognitionService, providedIn: "root" });
|
|
13428
|
+
SpeechRecognitionService = __decorate([
|
|
13429
|
+
Injectable({
|
|
13430
|
+
providedIn: 'root'
|
|
13431
|
+
})
|
|
13432
|
+
], SpeechRecognitionService);
|
|
13433
|
+
return SpeechRecognitionService;
|
|
13434
|
+
}());
|
|
13435
|
+
|
|
13436
|
+
var TextToSpeechService = /** @class */ (function () {
|
|
13437
|
+
function TextToSpeechService(locale, ngZone) {
|
|
13438
|
+
this.locale = locale;
|
|
13439
|
+
this.ngZone = ngZone;
|
|
13440
|
+
this.utterance = new SpeechSynthesisUtterance();
|
|
13441
|
+
this.voices = [];
|
|
13442
|
+
this.setVoices();
|
|
13443
|
+
}
|
|
13444
|
+
TextToSpeechService.prototype.setVoices = function () {
|
|
13445
|
+
var _this = this;
|
|
13446
|
+
var _voices = speechSynthesis.getVoices();
|
|
13447
|
+
if (!_voices.length) {
|
|
13448
|
+
speechSynthesis.onvoiceschanged = function () {
|
|
13449
|
+
_this.ngZone.run(function () {
|
|
13450
|
+
_voices = speechSynthesis.getVoices();
|
|
13451
|
+
var currentLang = _this.locale.getLocaleOptions().locale || 'pt-BR';
|
|
13452
|
+
_this.voices = _voices.filter(function (voice) { return voice.lang === currentLang; });
|
|
13453
|
+
_this.activeVoice = _this.voices[0];
|
|
13454
|
+
});
|
|
13455
|
+
};
|
|
13456
|
+
}
|
|
13457
|
+
};
|
|
13458
|
+
/**
|
|
13459
|
+
* Updates the active voice
|
|
13460
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/voiceURI)
|
|
13461
|
+
* @param voiceUri
|
|
13462
|
+
*/
|
|
13463
|
+
TextToSpeechService.prototype.updateVoice = function (voiceUri) {
|
|
13464
|
+
this.activeVoice = this.voices.find(function (voice) { return voice.voiceURI === voiceUri; });
|
|
13465
|
+
};
|
|
13466
|
+
TextToSpeechService.prototype.speak = function (text, speed) {
|
|
13467
|
+
var _this = this;
|
|
13468
|
+
if (speed === void 0) { speed = 1; }
|
|
13469
|
+
if (!this.activeVoice) {
|
|
13470
|
+
return;
|
|
13471
|
+
}
|
|
13472
|
+
return new Promise(function (resolve) {
|
|
13473
|
+
_this.utterance.text = text;
|
|
13474
|
+
_this.utterance.voice = _this.activeVoice;
|
|
13475
|
+
_this.utterance.rate = speed;
|
|
13476
|
+
speechSynthesis.speak(_this.utterance);
|
|
13477
|
+
_this.utterance.onend = function () {
|
|
13478
|
+
_this.ngZone.run(function () {
|
|
13479
|
+
resolve(true);
|
|
13480
|
+
});
|
|
13481
|
+
};
|
|
13482
|
+
});
|
|
13483
|
+
};
|
|
13484
|
+
TextToSpeechService.prototype.pause = function () {
|
|
13485
|
+
speechSynthesis.pause();
|
|
13486
|
+
};
|
|
13487
|
+
TextToSpeechService.prototype.resume = function () {
|
|
13488
|
+
speechSynthesis.resume();
|
|
13489
|
+
};
|
|
13490
|
+
TextToSpeechService.prototype.cancel = function () {
|
|
13491
|
+
speechSynthesis.cancel();
|
|
13492
|
+
};
|
|
13493
|
+
Object.defineProperty(TextToSpeechService.prototype, "hasVoice", {
|
|
13494
|
+
get: function () {
|
|
13495
|
+
return !!this.activeVoice;
|
|
13496
|
+
},
|
|
13497
|
+
enumerable: true,
|
|
13498
|
+
configurable: true
|
|
13499
|
+
});
|
|
13500
|
+
TextToSpeechService.ctorParameters = function () { return [
|
|
13501
|
+
{ type: LocaleService },
|
|
13502
|
+
{ type: NgZone }
|
|
13503
|
+
]; };
|
|
13504
|
+
TextToSpeechService.ɵprov = ɵɵdefineInjectable({ factory: function TextToSpeechService_Factory() { return new TextToSpeechService(ɵɵinject(LocaleService), ɵɵinject(NgZone)); }, token: TextToSpeechService, providedIn: "root" });
|
|
13505
|
+
TextToSpeechService = __decorate([
|
|
13506
|
+
Injectable({
|
|
13507
|
+
providedIn: 'root'
|
|
13508
|
+
})
|
|
13509
|
+
], TextToSpeechService);
|
|
13510
|
+
return TextToSpeechService;
|
|
13511
|
+
}());
|
|
13512
|
+
|
|
13513
|
+
var SpeechRecognitionComponent = /** @class */ (function () {
|
|
13514
|
+
function SpeechRecognitionComponent(speechRecognitionService, textToSpeechService, translateService) {
|
|
13515
|
+
var _this = this;
|
|
13516
|
+
this.speechRecognitionService = speechRecognitionService;
|
|
13517
|
+
this.textToSpeechService = textToSpeechService;
|
|
13518
|
+
this.translateService = translateService;
|
|
13519
|
+
this._recognizedText = '';
|
|
13520
|
+
this.originalTextAreaElementText = '';
|
|
13521
|
+
this.isDoneSpeaking = false;
|
|
13522
|
+
this.onDestroy$ = new Subject();
|
|
13523
|
+
this.VOICE_SPEEDS = [0.5, 1, 1.5, 2];
|
|
13524
|
+
this.SPEECH_RECOGNITION_MARGIN_OFFSET = 13;
|
|
13525
|
+
this.keydownEventListener = function (event) {
|
|
13526
|
+
if (_this.disabled) {
|
|
13527
|
+
event.preventDefault();
|
|
13528
|
+
}
|
|
13529
|
+
};
|
|
13530
|
+
this.TEXT_AREA_ELEMENT_MUTATION_OBSERVER = new MutationObserver(function () {
|
|
13531
|
+
_this.SPEECH_CONTAINER_WIDTH_CALLBACK();
|
|
13532
|
+
});
|
|
13533
|
+
this.SPEECH_CONTAINER_WIDTH_CALLBACK = function () {
|
|
13534
|
+
_this.setSpeechContainerWidth();
|
|
13535
|
+
};
|
|
13536
|
+
this.speechRecognitionContainerWidth = 0;
|
|
13537
|
+
this.disabled = false;
|
|
13538
|
+
this.isSpeaking = false;
|
|
13539
|
+
this.voiceSpeed = 1;
|
|
13540
|
+
this.isDisabledMicrophone = false;
|
|
13541
|
+
this.canRenderMicrophone = true;
|
|
13542
|
+
this.canRenderTextToSpeech = true;
|
|
13543
|
+
this.canRenderListeningText = false;
|
|
13544
|
+
this.canRenderDiscard = false;
|
|
13545
|
+
this.canRenderAprove = false;
|
|
13546
|
+
this.canRenderTextToSpeechToolbar = false;
|
|
13547
|
+
this.isPlayingTextToSpeech = false;
|
|
13548
|
+
this.recognizedText = new EventEmitter();
|
|
13549
|
+
}
|
|
13550
|
+
SpeechRecognitionComponent.prototype.ngOnInit = function () {
|
|
13551
|
+
if (!this.textAreaElement) {
|
|
13552
|
+
throw new Error('textAreaElement is required');
|
|
13553
|
+
}
|
|
13554
|
+
this.textAreaElement.placeholder = this.translateService.instant("platform.angular_components.text_area_speech_recognition_placeholder");
|
|
13555
|
+
this.textAreaElement.addEventListener('keydown', this.keydownEventListener);
|
|
13556
|
+
var config = { attributes: true, childList: true, subtree: true };
|
|
13557
|
+
this.TEXT_AREA_ELEMENT_MUTATION_OBSERVER.observe(this.textAreaElement, config);
|
|
13558
|
+
window.addEventListener('resize', this.SPEECH_CONTAINER_WIDTH_CALLBACK);
|
|
13559
|
+
};
|
|
13560
|
+
SpeechRecognitionComponent.prototype.ngAfterViewInit = function () {
|
|
13561
|
+
var _this = this;
|
|
13562
|
+
setTimeout(function () {
|
|
13563
|
+
_this.setSpeechContainerWidth();
|
|
13564
|
+
});
|
|
13565
|
+
};
|
|
13566
|
+
SpeechRecognitionComponent.prototype.onListen = function () {
|
|
13567
|
+
var _this = this;
|
|
13568
|
+
if (this.isDisabledMicrophone || this.isListening) {
|
|
13569
|
+
return;
|
|
13570
|
+
}
|
|
13571
|
+
this.disabled = true;
|
|
13572
|
+
this.canRenderMicrophone = false;
|
|
13573
|
+
this.canRenderListeningText = true;
|
|
13574
|
+
if (this.textAreaElement.value && !this.originalTextAreaElementText) {
|
|
13575
|
+
this.originalTextAreaElementText = this.textAreaElement.value;
|
|
13576
|
+
}
|
|
13577
|
+
this.textAreaElement.value = '';
|
|
13578
|
+
this.isSpeaking = true;
|
|
13579
|
+
this.speechRecognitionService.listen()
|
|
13580
|
+
.pipe(takeUntil(this.onDestroy$))
|
|
13581
|
+
.subscribe(function (_a) {
|
|
13582
|
+
var text = _a.text, isFinal = _a.isFinal;
|
|
13583
|
+
_this._recognizedText = text;
|
|
13584
|
+
_this.setTextAreaValue(text);
|
|
13585
|
+
setTimeout(function () {
|
|
13586
|
+
_this.textAreaElement.scrollTop = _this.textAreaElement.scrollHeight;
|
|
13587
|
+
}, 120);
|
|
13588
|
+
if (isFinal) {
|
|
13589
|
+
_this.canRenderAprove = true;
|
|
13590
|
+
_this.canRenderDiscard = true;
|
|
13591
|
+
_this.canRenderListeningText = false;
|
|
13592
|
+
_this.isSpeaking = false;
|
|
13593
|
+
}
|
|
13594
|
+
});
|
|
13595
|
+
};
|
|
13596
|
+
SpeechRecognitionComponent.prototype.onOpenToolbar = function () {
|
|
13597
|
+
if (this.isDisabledTextToSpeech) {
|
|
13598
|
+
return;
|
|
13599
|
+
}
|
|
13600
|
+
this.canRenderTextToSpeechToolbar = true;
|
|
13601
|
+
this.canRenderTextToSpeech = false;
|
|
13602
|
+
this.isPlayingTextToSpeech = true;
|
|
13603
|
+
this.speak();
|
|
13604
|
+
};
|
|
13605
|
+
SpeechRecognitionComponent.prototype.onCloseToolbar = function () {
|
|
13606
|
+
this.canRenderTextToSpeechToolbar = false;
|
|
13607
|
+
this.canRenderTextToSpeech = true;
|
|
13608
|
+
this.isPlayingTextToSpeech = false;
|
|
13609
|
+
this.textToSpeechService.cancel();
|
|
13610
|
+
this.voiceSpeed = 1;
|
|
13611
|
+
};
|
|
13612
|
+
SpeechRecognitionComponent.prototype.onDiscard = function () {
|
|
13613
|
+
this.canRenderAprove = false;
|
|
13614
|
+
this.canRenderDiscard = false;
|
|
13615
|
+
this.canRenderMicrophone = true;
|
|
13616
|
+
this.canRenderTextToSpeechToolbar = false;
|
|
13617
|
+
this.canRenderTextToSpeech = true;
|
|
13618
|
+
this._recognizedText = '';
|
|
13619
|
+
this.setTextAreaValue(this.originalTextAreaElementText);
|
|
13620
|
+
this.disabled = false;
|
|
13621
|
+
this.textToSpeechService.cancel();
|
|
13622
|
+
};
|
|
13623
|
+
SpeechRecognitionComponent.prototype.onAprove = function () {
|
|
13624
|
+
this.canRenderAprove = false;
|
|
13625
|
+
this.canRenderDiscard = false;
|
|
13626
|
+
this.canRenderMicrophone = true;
|
|
13627
|
+
this.canRenderTextToSpeechToolbar = false;
|
|
13628
|
+
this.canRenderTextToSpeech = true;
|
|
13629
|
+
this.originalTextAreaElementText = this._recognizedText;
|
|
13630
|
+
this.recognizedText.emit(this._recognizedText);
|
|
13631
|
+
this._recognizedText = '';
|
|
13632
|
+
this.disabled = false;
|
|
13633
|
+
this.textToSpeechService.cancel();
|
|
13634
|
+
};
|
|
13635
|
+
SpeechRecognitionComponent.prototype.ngOnDestroy = function () {
|
|
13636
|
+
this.onDestroy$.next();
|
|
13637
|
+
this.onDestroy$.complete();
|
|
13638
|
+
this.textAreaElement.removeEventListener('keydown', this.keydownEventListener);
|
|
13639
|
+
window.removeEventListener('resize', this.SPEECH_CONTAINER_WIDTH_CALLBACK);
|
|
13640
|
+
this.TEXT_AREA_ELEMENT_MUTATION_OBSERVER.disconnect();
|
|
13641
|
+
};
|
|
13642
|
+
SpeechRecognitionComponent.prototype.toggleTextToSpeech = function () {
|
|
13643
|
+
if (this.isPlayingTextToSpeech) {
|
|
13644
|
+
this.textToSpeechService.pause();
|
|
13645
|
+
}
|
|
13646
|
+
else {
|
|
13647
|
+
if (this.isDoneSpeaking) {
|
|
13648
|
+
this.speak();
|
|
13649
|
+
}
|
|
13650
|
+
else {
|
|
13651
|
+
this.textToSpeechService.resume();
|
|
13652
|
+
}
|
|
13653
|
+
}
|
|
13654
|
+
this.isPlayingTextToSpeech = !this.isPlayingTextToSpeech;
|
|
13655
|
+
};
|
|
13656
|
+
SpeechRecognitionComponent.prototype.restartTextToSpeech = function () {
|
|
13657
|
+
this.isPlayingTextToSpeech = true;
|
|
13658
|
+
this.textToSpeechService.cancel();
|
|
13659
|
+
this.speak();
|
|
13660
|
+
};
|
|
13661
|
+
SpeechRecognitionComponent.prototype.updateVoiceSpeed = function () {
|
|
13662
|
+
var voiceSpeedIndex = this.VOICE_SPEEDS.indexOf(this.voiceSpeed);
|
|
13663
|
+
var nextVoiceSpeedIndex = this.VOICE_SPEEDS[voiceSpeedIndex + 1] ? voiceSpeedIndex + 1 : 0;
|
|
13664
|
+
this.voiceSpeed = this.VOICE_SPEEDS[nextVoiceSpeedIndex];
|
|
13665
|
+
this.textToSpeechService.cancel();
|
|
13666
|
+
this.speak();
|
|
13667
|
+
};
|
|
13668
|
+
SpeechRecognitionComponent.prototype.stopListening = function () {
|
|
13669
|
+
this.speechRecognitionService.stop();
|
|
13670
|
+
};
|
|
13671
|
+
Object.defineProperty(SpeechRecognitionComponent.prototype, "isListening", {
|
|
13672
|
+
get: function () {
|
|
13673
|
+
return this.speechRecognitionService.isListening;
|
|
13674
|
+
},
|
|
13675
|
+
enumerable: true,
|
|
13676
|
+
configurable: true
|
|
13677
|
+
});
|
|
13678
|
+
Object.defineProperty(SpeechRecognitionComponent.prototype, "isDisabledTextToSpeech", {
|
|
13679
|
+
get: function () {
|
|
13680
|
+
var hasTextToSpeechVoice = this.textToSpeechService.hasVoice;
|
|
13681
|
+
return !this._recognizedText || !hasTextToSpeechVoice || this.isListening;
|
|
13682
|
+
},
|
|
13683
|
+
enumerable: true,
|
|
13684
|
+
configurable: true
|
|
13685
|
+
});
|
|
13686
|
+
SpeechRecognitionComponent.prototype.setTextAreaValue = function (value) {
|
|
13687
|
+
this.textAreaElement.value = value;
|
|
13688
|
+
};
|
|
13689
|
+
SpeechRecognitionComponent.prototype.speak = function () {
|
|
13690
|
+
var _this = this;
|
|
13691
|
+
this.isDoneSpeaking = false;
|
|
13692
|
+
this.textToSpeechService.speak(this._recognizedText, this.voiceSpeed).then(function () {
|
|
13693
|
+
_this.isPlayingTextToSpeech = false;
|
|
13694
|
+
_this.isDoneSpeaking = true;
|
|
13695
|
+
});
|
|
13696
|
+
};
|
|
13697
|
+
SpeechRecognitionComponent.prototype.setSpeechContainerWidth = function () {
|
|
13698
|
+
this.speechRecognitionContainerWidth = this.textAreaElement.getBoundingClientRect().width - this.SPEECH_RECOGNITION_MARGIN_OFFSET;
|
|
13699
|
+
};
|
|
13700
|
+
SpeechRecognitionComponent.ctorParameters = function () { return [
|
|
13701
|
+
{ type: SpeechRecognitionService },
|
|
13702
|
+
{ type: TextToSpeechService },
|
|
13703
|
+
{ type: TranslateService }
|
|
13704
|
+
]; };
|
|
13705
|
+
__decorate([
|
|
13706
|
+
Input()
|
|
13707
|
+
], SpeechRecognitionComponent.prototype, "textAreaElement", void 0);
|
|
13708
|
+
__decorate([
|
|
13709
|
+
Output()
|
|
13710
|
+
], SpeechRecognitionComponent.prototype, "recognizedText", void 0);
|
|
13711
|
+
SpeechRecognitionComponent = __decorate([
|
|
13712
|
+
Component({
|
|
13713
|
+
selector: 's-speech-recognition',
|
|
13714
|
+
template: "<section class=\"speech-recognition\" [style.width.px]=\"speechRecognitionContainerWidth\" *ngIf=\"speechRecognitionContainerWidth\">\n <div class=\"speech-recognition-text\">\n <ng-container *ngIf=\"canRenderMicrophone\">\n {{ 'platform.angular_components.text_area_before_speech' | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"isSpeaking\">\n {{ 'platform.angular_components.text_area_while_speech' | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"canRenderAprove && canRenderDiscard\">\n {{ 'platform.angular_components.text_area_end_speech' | translate }}\n </ng-container>\n </div>\n <div class=\"speech-recognition-buttons\">\n <span\n *ngIf=\"canRenderListeningText\"\n (click)=\"stopListening()\"\n class=\"speech-recognition-item speech-recognition-item-regular\">\n <i class=\"far fa-ellipsis-h\"></i>\n </span>\n\n <span\n *ngIf=\"canRenderMicrophone\"\n (click)=\"onListen()\"\n class=\"speech-recognition-item speech-recognition-item-microphone\"\n [class.speech-recognition-item-disabled]=\"isDisabledMicrophone || isListening || disabled\">\n <i class=\"fas fa-microphone\"></i>\n </span>\n\n <span\n *ngIf=\"canRenderAprove\"\n (click)=\"onAprove()\"\n class=\"speech-recognition-item speech-recognition-item-aprove\">\n <i class=\"fas fa-check\"></i>\n </span>\n\n <span *ngIf=\"canRenderDiscard\"\n (click)=\"onDiscard()\"\n class=\"speech-recognition-item speech-recognition-item-discard\">\n <i class=\"fas fa-times\"></i>\n </span>\n\n <span\n *ngIf=\"canRenderTextToSpeech\"\n (click)=\"onOpenToolbar()\"\n class=\"speech-recognition-item speech-recognition-item-regular\"\n [class.speech-recognition-item-disabled]=\"isDisabledTextToSpeech\">\n <i class=\"fas fa-volume-down\"></i>\n </span>\n\n <span\n *ngIf=\"canRenderTextToSpeechToolbar\"\n class=\"speech-recognition-item-toolbar\">\n <i class=\"fas\" [class.fa-pause]=\"isPlayingTextToSpeech\" [class.fa-play]=\"!isPlayingTextToSpeech\"\n (click)=\"toggleTextToSpeech()\"></i>\n <i class=\"fas fa-backward\" (click)=\"restartTextToSpeech()\"></i>\n <span (click)=\"updateVoiceSpeed()\">\n {{ voiceSpeed }}x\n </span>\n <i class=\"fas fa-times\" (click)=\"onCloseToolbar()\"></i>\n </span>\n </div>\n</section>\n",
|
|
13715
|
+
styles: [".speech-recognition{display:-ms-flexbox;display:flex;gap:10px;-ms-flex-pack:justify;justify-content:space-between}.speech-recognition-buttons{display:-ms-flexbox;display:flex;gap:10px;position:relative;bottom:15px}.speech-recognition-item{display:-ms-inline-flexbox;display:inline-flex;height:25px;padding:4px 12px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;gap:8px;border-radius:15px;cursor:pointer;transition:background .1s ease-in}.speech-recognition-item i,.speech-recognition-item span{color:#fff}.speech-recognition-item-disabled{cursor:default!important}.speech-recognition-item-disabled *{opacity:.5}.speech-recognition-item-microphone{background:#428bca}.speech-recognition-item-microphone:not(.speech-recognition-item-disabled):hover{background:#063951}.speech-recognition-item-regular{background:#7892a1}.speech-recognition-item-regular:not(.speech-recognition-item-disabled):hover{background:#697882}.speech-recognition-item-aprove{background:#0c9348}.speech-recognition-item-aprove:not(.speech-recognition-item-disabled):hover{background:#063951}.speech-recognition-item-discard{background:#c13018}.speech-recognition-item-discard:not(.speech-recognition-item-disabled):hover{background:#063951}.speech-recognition-item-toolbar{background:#7892a1;display:-ms-flexbox;display:flex;border-radius:15px;-ms-flex-align:center;align-items:center;color:#fff}.speech-recognition-item-toolbar i,.speech-recognition-item-toolbar span{cursor:pointer}.speech-recognition-item-toolbar i:not(:first-child),.speech-recognition-item-toolbar i:not(:last-child){padding:6px}.speech-recognition-item-toolbar i:first-child{padding-left:10px}.speech-recognition-item-toolbar i:last-child{padding-right:10px}.speech-recognition-item-toolbar span{height:25px}.speech-recognition-text{color:#212533;font-size:12px;font-style:normal;font-weight:400;word-break:break-word}"]
|
|
13716
|
+
})
|
|
13717
|
+
], SpeechRecognitionComponent);
|
|
13718
|
+
return SpeechRecognitionComponent;
|
|
13719
|
+
}());
|
|
13720
|
+
|
|
13721
|
+
var SpeechRecognitionModule = /** @class */ (function () {
|
|
13722
|
+
function SpeechRecognitionModule() {
|
|
13723
|
+
}
|
|
13724
|
+
SpeechRecognitionModule = __decorate([
|
|
13725
|
+
NgModule({
|
|
13726
|
+
declarations: [SpeechRecognitionComponent],
|
|
13727
|
+
imports: [
|
|
13728
|
+
CommonModule,
|
|
13729
|
+
TranslateModule
|
|
13730
|
+
],
|
|
13731
|
+
exports: [SpeechRecognitionComponent]
|
|
13732
|
+
})
|
|
13733
|
+
], SpeechRecognitionModule);
|
|
13734
|
+
return SpeechRecognitionModule;
|
|
13735
|
+
}());
|
|
13736
|
+
|
|
13737
|
+
var TextAreaModule = /** @class */ (function () {
|
|
13738
|
+
function TextAreaModule() {
|
|
13739
|
+
}
|
|
13740
|
+
TextAreaModule = __decorate([
|
|
13741
|
+
NgModule({
|
|
13742
|
+
declarations: [TextAreaComponent],
|
|
13743
|
+
imports: [
|
|
13744
|
+
CommonModule,
|
|
13745
|
+
FormsModule,
|
|
13746
|
+
ReactiveFormsModule,
|
|
13747
|
+
SpeechRecognitionModule,
|
|
13748
|
+
KeyFilterModule
|
|
13749
|
+
],
|
|
13750
|
+
exports: [TextAreaComponent]
|
|
13751
|
+
})
|
|
13752
|
+
], TextAreaModule);
|
|
13753
|
+
return TextAreaModule;
|
|
13754
|
+
}());
|
|
13755
|
+
|
|
13241
13756
|
var DynamicFormModule = /** @class */ (function () {
|
|
13242
13757
|
function DynamicFormModule() {
|
|
13243
13758
|
}
|
|
@@ -13296,6 +13811,7 @@ var DynamicFormModule = /** @class */ (function () {
|
|
|
13296
13811
|
ProfilePictureModule,
|
|
13297
13812
|
EditorFieldModule,
|
|
13298
13813
|
FieldLabelModule,
|
|
13814
|
+
TextAreaModule
|
|
13299
13815
|
],
|
|
13300
13816
|
declarations: [
|
|
13301
13817
|
AutocompleteFieldComponent,
|
|
@@ -20497,8 +21013,8 @@ var TimelineIconItemComponent = /** @class */ (function () {
|
|
|
20497
21013
|
TimelineIconItemComponent = __decorate([
|
|
20498
21014
|
Component({
|
|
20499
21015
|
selector: "s-timeline-icon-item",
|
|
20500
|
-
template: "<ng-container *ngIf=\"item\">\n <div\n class=\"timeline__icon-item\"\n [ngClass]=\"{\n 'timeline__icon-item--small': item.testSize('small'),\n 'timeline__icon-item--normal': item.testSize('normal'),\n 'timeline__icon-item--warning': item.testSeverity('warning'),\n 'timeline__icon-item--error': item.testSeverity('error'),\n 'timeline__icon-item--completed': isComplete,\n 'timeline__icon-item--active': isActive,\n 'timeline__icon-item--active--highlight': isActive && highlightActive\n }\">\n <div\n class=\"timeline__icon-item__icon\"\n [pTooltip]=\"item.tooltip\"\n tooltipPosition=\"top\"\n [ngStyle]=\"{ backgroundColor: item.color }\">\n <ng-content *ngIf=\"item.icon; then icon_content; else label_text_content\"></ng-content>\n <ng-template #icon_content>\n <span [ngClass]=\"item.icon\"></span>\n </ng-template>\n <ng-template #label_text_content>\n <span class=\"timeline__icon-item__icon__label\">\n {{ item.label }}\n </span>\n </ng-template>\n </div>\n </div>\n</ng-container>\n",
|
|
20501
|
-
styles: [".timeline__icon-item .timeline__icon-item__icon{-ms-flex-align:center;align-items:center;background-color:#697882;border-radius:50%;color:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:4px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.timeline__icon-item .timeline__icon-item__icon .timeline__icon-item__icon__label{font-family:\"Open Sans\",sans-serif}.timeline__icon-item.timeline__icon-item--small .timeline__icon-item__icon{font-size:0;height:16px;width:16px}.timeline__icon-item.timeline__icon-item--normal .timeline__icon-item__icon{font-size:10px;height:24px;padding:8px;width:24px}.timeline__icon-item.timeline__icon-item--normal .timeline__icon-item__icon .timeline__icon-item__icon__label{font-size:14px}.timeline__icon-item.timeline__icon-item--active--highlight .timeline__icon-item__icon{font-size:20px;height:40px;padding:10px;width:40px}.timeline__icon-item.timeline__icon-item--active--highlight .timeline__icon-item__icon .timeline__icon-item__icon__label{font-size:22px}.timeline__icon-item.timeline__icon-item--active .timeline__icon-item__icon,.timeline__icon-item.timeline__icon-item--completed .timeline__icon-item__icon{background-color:#0c9348}.timeline__icon-item.timeline__icon-item--warning.timeline__icon-item--active .timeline__icon-item__icon{background-color:#fcbf10;color:#333}.timeline__icon-item.timeline__icon-item--danger.timeline__icon-item--active .timeline__icon-item__icon{background-color:#f8931f;color:#333}.timeline__icon-item.timeline__icon-item--error.timeline__icon-item--active .timeline__icon-item__icon{background-color:#c13018}"]
|
|
21016
|
+
template: "<ng-container *ngIf=\"item\">\n <div\n class=\"timeline__icon-item\"\n [ngClass]=\"{\n 'timeline__icon-item--small': item.testSize('small'),\n 'timeline__icon-item--normal': item.testSize('normal'),\n 'timeline__icon-item--warning': item.testSeverity('warning'),\n 'timeline__icon-item--error': item.testSeverity('error'),\n 'timeline__icon-item--completed': isComplete,\n 'timeline__icon-item--active': isActive,\n 'timeline__icon-item--active--highlight': isActive && highlightActive\n }\">\n <div\n class=\"timeline__icon-item__icon\"\n [pTooltip]=\"item.tooltip\"\n tooltipPosition=\"top\"\n [ngStyle]=\"{ backgroundColor: item.color }\">\n <ng-content *ngIf=\"item.icon; then icon_content; else label_text_content\"></ng-content>\n <ng-template #icon_content>\n <span [ngClass]=\"item.icon\"></span>\n </ng-template>\n <ng-template #label_text_content>\n <span class=\"timeline__icon-item__icon__label\" [class.large_label]=\"item.label?.length > 2\">\n {{ item.label }}\n </span>\n </ng-template>\n </div>\n </div>\n</ng-container>\n",
|
|
21017
|
+
styles: [".timeline__icon-item .timeline__icon-item__icon{-ms-flex-align:center;align-items:center;background-color:#697882;border-radius:50%;color:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:4px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.timeline__icon-item .timeline__icon-item__icon .timeline__icon-item__icon__label{font-family:\"Open Sans\",sans-serif}.timeline__icon-item.timeline__icon-item--small .timeline__icon-item__icon{font-size:0;height:16px;width:16px}.timeline__icon-item.timeline__icon-item--normal .timeline__icon-item__icon{font-size:10px;height:24px;padding:8px;width:24px}.timeline__icon-item.timeline__icon-item--normal .timeline__icon-item__icon .timeline__icon-item__icon__label{font-size:14px}.timeline__icon-item.timeline__icon-item--normal .timeline__icon-item__icon .timeline__icon-item__icon__label.large_label{font-size:12px}.timeline__icon-item.timeline__icon-item--active--highlight .timeline__icon-item__icon{font-size:20px;height:40px;padding:10px;width:40px}.timeline__icon-item.timeline__icon-item--active--highlight .timeline__icon-item__icon .timeline__icon-item__icon__label{font-size:22px}.timeline__icon-item.timeline__icon-item--active--highlight .timeline__icon-item__icon .timeline__icon-item__icon__label.large_label{font-size:18px}.timeline__icon-item.timeline__icon-item--active .timeline__icon-item__icon,.timeline__icon-item.timeline__icon-item--completed .timeline__icon-item__icon{background-color:#0c9348}.timeline__icon-item.timeline__icon-item--warning.timeline__icon-item--active .timeline__icon-item__icon{background-color:#fcbf10;color:#333}.timeline__icon-item.timeline__icon-item--danger.timeline__icon-item--active .timeline__icon-item__icon{background-color:#f8931f;color:#333}.timeline__icon-item.timeline__icon-item--error.timeline__icon-item--active .timeline__icon-item__icon{background-color:#c13018}"]
|
|
20502
21018
|
})
|
|
20503
21019
|
], TimelineIconItemComponent);
|
|
20504
21020
|
return TimelineIconItemComponent;
|
|
@@ -20770,7 +21286,7 @@ var TimelineItemSize;
|
|
|
20770
21286
|
TimelineItemSize["Small"] = "small";
|
|
20771
21287
|
})(TimelineItemSize || (TimelineItemSize = {}));
|
|
20772
21288
|
|
|
20773
|
-
var LABEL_MAX_LENGTH =
|
|
21289
|
+
var LABEL_MAX_LENGTH = 3;
|
|
20774
21290
|
var TimelineItem = /** @class */ (function () {
|
|
20775
21291
|
function TimelineItem(params) {
|
|
20776
21292
|
this.id = params.id;
|
|
@@ -20793,7 +21309,7 @@ var TimelineItem = /** @class */ (function () {
|
|
|
20793
21309
|
throw new Error("An icon and label string were passed to the item. Enter an icon or label text");
|
|
20794
21310
|
}
|
|
20795
21311
|
if (((_a = this.label) === null || _a === void 0 ? void 0 : _a.length) > LABEL_MAX_LENGTH) {
|
|
20796
|
-
throw new Error("Label text is expected to be a maximum of
|
|
21312
|
+
throw new Error("Label text is expected to be a maximum of three characters long");
|
|
20797
21313
|
}
|
|
20798
21314
|
};
|
|
20799
21315
|
TimelineItem.prototype.testSize = function (value) {
|
|
@@ -22491,12 +23007,16 @@ var fallback = {
|
|
|
22491
23007
|
"platform.angular_components.add_all": "Adicionar todos",
|
|
22492
23008
|
"platform.angular_components.remove_all": "Remover todos",
|
|
22493
23009
|
"platform.angular_components.country_name_gb": "Reino Unido",
|
|
22494
|
-
"platform.angular_components.insight_footer": "Conteúdo gerado por inteligência artificial. Sujeito a imprecisões."
|
|
23010
|
+
"platform.angular_components.insight_footer": "Conteúdo gerado por inteligência artificial. Sujeito a imprecisões.",
|
|
23011
|
+
"platform.angular_components.text_area_speech_recognition_placeholder": "Preencha o campo, com pelo menos, uma frase",
|
|
23012
|
+
"platform.angular_components.text_area_before_speech": "Grave ou ouça o texto clicando nos Ícones",
|
|
23013
|
+
"platform.angular_components.text_area_while_speech": "Clique novamente no Ícone para finalizar",
|
|
23014
|
+
"platform.angular_components.text_area_end_speech": "Gravação finalizada"
|
|
22495
23015
|
};
|
|
22496
23016
|
|
|
22497
23017
|
/**
|
|
22498
23018
|
* Generated bundle index. Do not edit.
|
|
22499
23019
|
*/
|
|
22500
23020
|
|
|
22501
|
-
export { AccordionComponent, AccordionModule, AccordionPanelComponent, AlertComponent, AlertModule, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonAnimation, ButtonComponent, ButtonField, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChatComponent, ChatModule, CheckDisabled, CheckboxComponent, CheckboxModule, ChipsComponent, ChipsField, ChipsModule, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CurrencyService, 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, FileUploadPermissions, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, Grid, GridMenuComponent, GridMenuModule, GridType, HelpPopoverComponent, HelpPopoverDirective, HelpPopoverModule, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, InlineEditCalendarField, InlineEditComponent, InlineEditField, InlineEditLookupField, InlineEditModule, InlineEditNumberField, InlineEditTextAreaField, InlineEditTextAreaIAField, InlineEditTextField, KanbanComponent, KanbanModule, KanbanTemplateTypes, LabelValueComponent, LabelValueModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationButtonComponent, NavigationButtonModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, NumericService, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, PicklistComponent, PicklistModule, PicklistTemplateTypes, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, Row, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SliderComponent, SliderModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, StructureType, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TemplateModule, TextAreaField, TextAreaIAComponent, TextAreaIAModule, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, ThumbnailsComponent, ThumbnailsModule, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, ToastComponent, ToastModule, ToastService, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, getElementLeftoverContentAvailable, getElementPositionInfo, isMousePositionOutsideOfElement, isNullOrUndefined, parseItensPickList, ɵ0$3 as ɵ0, ɵ1$2 as ɵ1, ɵ2$1 as ɵ2, ɵ3$1 as ɵ3, ɵ4, TooltipComponent as ɵa, TooltipDirective as ɵb, TableColumnsComponent as ɵba, TablePagingComponent as ɵbb, PasswordFieldModule as ɵbc, FieldLabelModule as ɵbd, FieldLabelComponent as ɵbe, PasswordFieldComponent as ɵbf, TextFieldModule as ɵbg, TextFieldComponent as ɵbh, NumberFieldModule as ɵbi, NumberFieldComponent as ɵbj, CurrencyFieldModule as ɵbk, CurrencyFieldComponent as ɵbl, BignumberFieldModule as ɵbm, BignumberFieldComponent as ɵbn, CheckboxFieldModule as ɵbo, CheckboxFieldComponent as ɵbp, ProfilePictureModule as ɵbq, ThumbnailService as ɵbr, StructureModule as ɵbs, HeaderComponent as ɵbt, FooterComponent as ɵbu, ProfilePictureFieldComponent as ɵbv, EditorFieldModule as ɵbw, EditorFieldComponent as ɵbx,
|
|
23021
|
+
export { AccordionComponent, AccordionModule, AccordionPanelComponent, AlertComponent, AlertModule, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonAnimation, ButtonComponent, ButtonField, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChatComponent, ChatModule, CheckDisabled, CheckboxComponent, CheckboxModule, ChipsComponent, ChipsField, ChipsModule, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CurrencyService, 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, FileUploadPermissions, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, Grid, GridMenuComponent, GridMenuModule, GridType, HelpPopoverComponent, HelpPopoverDirective, HelpPopoverModule, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, InlineEditCalendarField, InlineEditComponent, InlineEditField, InlineEditLookupField, InlineEditModule, InlineEditNumberField, InlineEditTextAreaField, InlineEditTextAreaIAField, InlineEditTextField, KanbanComponent, KanbanModule, KanbanTemplateTypes, LabelValueComponent, LabelValueModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationButtonComponent, NavigationButtonModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, NumericService, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, PicklistComponent, PicklistModule, PicklistTemplateTypes, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, Row, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SliderComponent, SliderModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, StructureType, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TemplateModule, TextAreaComponent, TextAreaField, TextAreaIAComponent, TextAreaIAModule, TextAreaModule, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, ThumbnailsComponent, ThumbnailsModule, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, ToastComponent, ToastModule, ToastService, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, getElementLeftoverContentAvailable, getElementPositionInfo, isMousePositionOutsideOfElement, isNullOrUndefined, parseItensPickList, ɵ0$3 as ɵ0, ɵ1$2 as ɵ1, ɵ2$1 as ɵ2, ɵ3$1 as ɵ3, ɵ4, TooltipComponent as ɵa, TooltipDirective as ɵb, TableColumnsComponent as ɵba, TablePagingComponent as ɵbb, PasswordFieldModule as ɵbc, FieldLabelModule as ɵbd, FieldLabelComponent as ɵbe, PasswordFieldComponent as ɵbf, TextFieldModule as ɵbg, TextFieldComponent as ɵbh, NumberFieldModule as ɵbi, NumberFieldComponent as ɵbj, CurrencyFieldModule as ɵbk, CurrencyFieldComponent as ɵbl, BignumberFieldModule as ɵbm, BignumberFieldComponent as ɵbn, CheckboxFieldModule as ɵbo, CheckboxFieldComponent as ɵbp, ProfilePictureModule as ɵbq, ThumbnailService as ɵbr, StructureModule as ɵbs, HeaderComponent as ɵbt, FooterComponent as ɵbu, ProfilePictureFieldComponent as ɵbv, EditorFieldModule as ɵbw, EditorFieldComponent as ɵbx, SpeechRecognitionModule as ɵby, SpeechRecognitionComponent as ɵbz, InfoSignComponent as ɵc, SpeechRecognitionService as ɵca, TextToSpeechService as ɵcb, AutocompleteFieldComponent as ɵcc, BooleanFieldComponent as ɵcd, BooleanSwitchFieldComponent as ɵce, CalendarFieldComponent as ɵcf, ChipsFieldComponent as ɵcg, CountryPhonePickerFieldComponent as ɵch, DynamicFieldComponent as ɵci, DynamicFormDirective as ɵcj, FieldsetComponent as ɵck, FileUploadComponent$1 as ɵcl, LookupFieldComponent as ɵcm, RadioButtonComponent as ɵcn, RowComponent as ɵco, SectionComponent as ɵcp, SelectFieldComponent as ɵcq, SliderFieldComponent as ɵcr, TextAreaFieldComponent as ɵcs, TextAreaIAFieldComponent as ɵct, IAssistService as ɵcu, ButtonFieldComponent as ɵcv, DecimalField as ɵcx, SideTableComponent as ɵcy, InfiniteScrollModule as ɵcz, TieredMenuEventService as ɵd, InfiniteScrollDirective as ɵda, IAInsightSidebarComponent as ɵdb, IAInsightCardComponent as ɵdc, IAInsightCardLoaderComponent as ɵdd, GridMenuItemComponent as ɵde, InlineEditItemComponent as ɵdf, InlineEditCalendarComponent as ɵdg, InlineEditLookupComponent as ɵdh, InlineEditNumberComponent as ɵdi, InlineEditTextComponent as ɵdj, InlineEditTextAreaComponent as ɵdk, InlineEditTextAreaIAComponent as ɵdl, KanbanEventService as ɵdm, KanbanItemComponent as ɵdn, KanbanColumnComponent as ɵdo, KanbanItemDraggingComponent as ɵdp, NumberLocaleOptions as ɵdq, BorderButtonModule as ɵdr, BorderButtonComponent as ɵds, ProgressBarDeterminateComponent as ɵdt, ProgressBarIndeterminateComponent as ɵdu, SelectButtonItemComponent as ɵdv, SlidePanelService as ɵdw, ThumbnailItemComponent as ɵdx, ThumbnailItemVideoComponent as ɵdy, ThumbnailItemImageComponent as ɵdz, TieredMenuService as ɵe, TimelineItemModule as ɵea, TimelineIconItemComponent as ɵeb, HorizontalTimelineModule as ɵec, HorizontalTimelineComponent as ɵed, VerticalTimelineModule as ɵee, VerticalTimelineComponent as ɵef, RangeLineComponent as ɵeg, CollapseOptionComponent as ɵeh, CollapsedItemsComponent as ɵei, VerticalItemsComponent as ɵej, ChipItemComponent as ɵek, TieredMenuGlobalService as ɵf, TieredMenuComponent as ɵg, TieredMenuNestedComponent as ɵh, TieredMenuItemComponent as ɵi, TieredMenuDividerComponent as ɵj, LocalizedCurrencyImpurePipe as ɵk, LocalizedBignumberPipe as ɵl, LocalizedBignumberImpurePipe as ɵm, NumericPipe as ɵn, ChatMessageComponent as ɵo, CustomTranslationsModule as ɵp, CodeEditorComponent as ɵq, CoreFacade as ɵr, CodeMirror6Core as ɵs, CountryPhonePickerService as ɵt, EmptyStateGoBackComponent as ɵu, IAssistIconComponent as ɵv, SeniorIconComponent as ɵw, DotsIndicatorComponent as ɵx, LoadingIndicatorComponent as ɵy, FileUploadService as ɵz };
|
|
22502
23022
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|