@seniorsistemas/angular-components 17.2.0 → 17.2.2

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.
Files changed (46) hide show
  1. package/bundles/seniorsistemas-angular-components.umd.js +217 -56
  2. package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
  3. package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
  4. package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
  5. package/components/dynamic-form/components/fields/base-field-component.d.ts +2 -1
  6. package/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.d.ts +25 -0
  7. package/components/dynamic-form/configurations/field-type.d.ts +8 -7
  8. package/components/dynamic-form/configurations/fields/text-area-ia-field.d.ts +18 -0
  9. package/components/dynamic-form/services/IAssist/iassist.service.d.ts +15 -0
  10. package/components/dynamic-form/services/IAssist/models/iassist-input-data.d.ts +5 -0
  11. package/components/dynamic-form/services/IAssist/models/iassist-response.d.ts +5 -0
  12. package/esm2015/components/dynamic-form/components/fields/base-field-component.js +1 -1
  13. package/esm2015/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.js +73 -0
  14. package/esm2015/components/dynamic-form/configurations/field-type.js +8 -7
  15. package/esm2015/components/dynamic-form/configurations/fields/text-area-ia-field.js +11 -0
  16. package/esm2015/components/dynamic-form/configurations/form-field.js +5 -5
  17. package/esm2015/components/dynamic-form/dynamic-form.component.js +2 -2
  18. package/esm2015/components/dynamic-form/dynamic-form.js +5 -5
  19. package/esm2015/components/dynamic-form/dynamic-form.module.js +9 -2
  20. package/esm2015/components/dynamic-form/services/IAssist/iassist.service.js +86 -0
  21. package/esm2015/components/dynamic-form/services/IAssist/models/iassist-input-data.js +1 -0
  22. package/esm2015/components/dynamic-form/services/IAssist/models/iassist-response.js +1 -0
  23. package/esm2015/components/tiered-menu/components/tiered-menu/tiered-menu.component.js +1 -2
  24. package/esm2015/locale/fallback.js +4 -1
  25. package/esm2015/seniorsistemas-angular-components.js +38 -36
  26. package/esm5/components/dynamic-form/components/fields/base-field-component.js +1 -1
  27. package/esm5/components/dynamic-form/components/fields/text-area-ia/text-area-ia-field.component.js +75 -0
  28. package/esm5/components/dynamic-form/configurations/field-type.js +8 -7
  29. package/esm5/components/dynamic-form/configurations/fields/text-area-ia-field.js +16 -0
  30. package/esm5/components/dynamic-form/configurations/form-field.js +5 -5
  31. package/esm5/components/dynamic-form/dynamic-form.component.js +2 -2
  32. package/esm5/components/dynamic-form/dynamic-form.js +5 -5
  33. package/esm5/components/dynamic-form/dynamic-form.module.js +9 -2
  34. package/esm5/components/dynamic-form/services/IAssist/iassist.service.js +81 -0
  35. package/esm5/components/dynamic-form/services/IAssist/models/iassist-input-data.js +1 -0
  36. package/esm5/components/dynamic-form/services/IAssist/models/iassist-response.js +1 -0
  37. package/esm5/components/tiered-menu/components/tiered-menu/tiered-menu.component.js +1 -2
  38. package/esm5/locale/fallback.js +4 -1
  39. package/esm5/seniorsistemas-angular-components.js +38 -36
  40. package/fesm2015/seniorsistemas-angular-components.js +180 -21
  41. package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
  42. package/fesm5/seniorsistemas-angular-components.js +180 -21
  43. package/fesm5/seniorsistemas-angular-components.js.map +1 -1
  44. package/package.json +1 -1
  45. package/seniorsistemas-angular-components.d.ts +37 -35
  46. package/seniorsistemas-angular-components.metadata.json +1 -1
@@ -2,11 +2,11 @@ import { __decorate, __spread, __assign, __values, __extends, __rest, __awaiter,
2
2
  import { EventEmitter, Input, Output, Component, ContentChildren, ViewChild, HostListener, forwardRef, NgModule, ɵɵdefineInjectable, Injectable, ElementRef, ApplicationRef, ComponentFactoryResolver, Injector, Directive, HostBinding, Renderer2, Pipe, ViewEncapsulation, InjectionToken, Inject, TemplateRef, ViewContainerRef, ChangeDetectorRef, Optional, ContentChild } from '@angular/core';
3
3
  import { trigger, transition, style as style$7, animate, state, group, query, animateChild } from '@angular/animations';
4
4
  import { CommonModule } from '@angular/common';
5
- import { NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule, FormControl, FormGroup, NG_VALIDATORS, Validators, FormArray, ControlContainer } from '@angular/forms';
5
+ import { NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule, FormControl, FormGroup, NG_VALIDATORS, FormBuilder, Validators, FormArray, ControlContainer } from '@angular/forms';
6
6
  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
7
7
  import { RouterModule, NavigationEnd, PRIMARY_OUTLET, ActivatedRoute, Router } from '@angular/router';
8
8
  import { BreadcrumbModule as BreadcrumbModule$1 } from 'primeng/breadcrumb';
9
- import { Subject, of, from, forkJoin, throwError, ReplaySubject } from 'rxjs';
9
+ import { Subject, of, from, throwError, forkJoin, ReplaySubject } from 'rxjs';
10
10
  import { takeUntil, filter, tap, map, switchMap, catchError, delay, debounceTime, repeat, finalize, take } from 'rxjs/operators';
11
11
  import { TieredMenu, TieredMenuModule as TieredMenuModule$1 } from 'primeng/tieredmenu';
12
12
  import { TooltipModule as TooltipModule$1 } from 'primeng/tooltip';
@@ -40,12 +40,12 @@ import { RadioButtonModule } from 'primeng/radiobutton';
40
40
  import { SliderModule } from 'primeng/slider';
41
41
  import { ProgressBarModule as ProgressBarModule$1 } from 'primeng/progressbar';
42
42
  import { DomSanitizer, BrowserModule } from '@angular/platform-browser';
43
+ import { MessageService, ConfirmationService } from 'primeng/api';
43
44
  import Cropper from 'cropperjs';
44
45
  import * as elementResizeDetectorMaker_ from 'element-resize-detector';
45
46
  import { FocusTrapFactory, A11yModule } from '@angular/cdk/a11y';
46
47
  import { ScrollPanelModule } from 'primeng/scrollpanel';
47
48
  import { Sidebar, SidebarModule as SidebarModule$1 } from 'primeng/sidebar';
48
- import { ConfirmationService } from 'primeng/api';
49
49
  import { ConfirmDialogModule } from 'primeng/confirmdialog';
50
50
  import { EditorView } from '@codemirror/view';
51
51
  import { StateField, StateEffect, EditorState } from '@codemirror/state';
@@ -2376,25 +2376,26 @@ var FieldType;
2376
2376
  (function (FieldType) {
2377
2377
  FieldType["Autocomplete"] = "Autocomplete";
2378
2378
  FieldType["Binary"] = "Binary";
2379
+ FieldType["Blob"] = "Blob";
2379
2380
  FieldType["Boolean"] = "Boolean";
2380
2381
  FieldType["Chips"] = "Chips";
2382
+ FieldType["Custom"] = "Custom";
2381
2383
  FieldType["Date"] = "Date";
2382
2384
  FieldType["DateTime"] = "DateTime";
2383
- FieldType["LocalDateTime"] = "LocalDateTime";
2384
2385
  FieldType["Double"] = "Double";
2385
2386
  FieldType["Enum"] = "Enum";
2386
- FieldType["Blob"] = "Blob";
2387
2387
  FieldType["Integer"] = "Integer";
2388
+ FieldType["LocalDateTime"] = "LocalDateTime";
2388
2389
  FieldType["Lookup"] = "Lookup";
2389
2390
  FieldType["Money"] = "Money";
2391
+ FieldType["Number"] = "Number";
2392
+ FieldType["Password"] = "Password";
2390
2393
  FieldType["Radio"] = "Radio";
2394
+ FieldType["Slider"] = "Slider";
2391
2395
  FieldType["String"] = "String";
2392
2396
  FieldType["Text"] = "Text";
2397
+ FieldType["TextIA"] = "TextIA";
2393
2398
  FieldType["Time"] = "Time";
2394
- FieldType["Number"] = "Number";
2395
- FieldType["Custom"] = "Custom";
2396
- FieldType["Password"] = "Password";
2397
- FieldType["Slider"] = "Slider";
2398
2399
  })(FieldType || (FieldType = {}));
2399
2400
 
2400
2401
  var FieldSize = /** @class */ (function () {
@@ -3265,6 +3266,19 @@ var TextAreaField = /** @class */ (function (_super) {
3265
3266
  return TextAreaField;
3266
3267
  }(Field));
3267
3268
 
3269
+ var TextAreaIAField = /** @class */ (function (_super) {
3270
+ __extends(TextAreaIAField, _super);
3271
+ function TextAreaIAField(config) {
3272
+ var _this = _super.call(this, config) || this;
3273
+ _this.cols = config.cols;
3274
+ _this.rows = config.rows;
3275
+ _this.keyFilter = config.keyFilter;
3276
+ _this.style = config.style;
3277
+ return _this;
3278
+ }
3279
+ return TextAreaIAField;
3280
+ }(Field));
3281
+
3268
3282
  var TextField = /** @class */ (function (_super) {
3269
3283
  __extends(TextField, _super);
3270
3284
  function TextField(config) {
@@ -3352,11 +3366,10 @@ var FormField = /** @class */ (function () {
3352
3366
  return new PasswordField(config);
3353
3367
  case FieldType.Text:
3354
3368
  return new TextAreaField(config);
3369
+ case FieldType.TextIA:
3370
+ return new TextAreaIAField(config);
3355
3371
  case FieldType.Boolean:
3356
- if (config.representedBy === "switch") {
3357
- return new BooleanSwitchField(config);
3358
- }
3359
- return new BooleanField(config);
3372
+ return config.representedBy === "switch" ? new BooleanSwitchField(config) : new BooleanField(config);
3360
3373
  case FieldType.Date:
3361
3374
  case FieldType.DateTime:
3362
3375
  case FieldType.LocalDateTime:
@@ -4070,7 +4083,7 @@ var DynamicFormComponent = /** @class */ (function () {
4070
4083
  DynamicFormComponent = __decorate([
4071
4084
  Component({
4072
4085
  selector: "s-dynamic-form",
4073
- template: "<div *ngIf=\"configs; else templateFields\">\n <ng-container *ngFor=\"let config of configs\">\n <ng-container *sDynamicForm=\"{ id: id, config: config, group: form, errorMessages: errorMessages }\"></ng-container>\n </ng-container>\n</div>\n\n<ng-template #templateFields>\n <s-dynamic-field [id]=\"id\" [fields]=\"fields\" [form]=\"form\" [errorMessages]=\"errorMessages\" [displayTimeInfoSign]=\"displayTimeInfoSign\"></s-dynamic-field>\n</ng-template>\n",
4086
+ template: "<div *ngIf=\"configs; else templateFields\">\n <ng-container *ngFor=\"let config of configs\">\n <ng-container\n *sDynamicForm=\"{\n id: id,\n config: config,\n group: form,\n errorMessages: errorMessages\n }\">\n </ng-container>\n </ng-container>\n</div>\n\n<ng-template #templateFields>\n <s-dynamic-field\n [id]=\"id\"\n [fields]=\"fields\"\n [form]=\"form\"\n [errorMessages]=\"errorMessages\"\n [displayTimeInfoSign]=\"displayTimeInfoSign\">\n </s-dynamic-field>\n</ng-template>\n",
4074
4087
  encapsulation: ViewEncapsulation.None,
4075
4088
  styles: ["label.required:after{content:\" *\";color:#c13018}"]
4076
4089
  })
@@ -6814,6 +6827,146 @@ var TextAreaFieldComponent = /** @class */ (function () {
6814
6827
  return TextAreaFieldComponent;
6815
6828
  }());
6816
6829
 
6830
+ var IAssistService = /** @class */ (function () {
6831
+ function IAssistService(http, _messageService, _hostProjectConfigs) {
6832
+ this.http = http;
6833
+ this._messageService = _messageService;
6834
+ this._hostProjectConfigs = _hostProjectConfigs;
6835
+ }
6836
+ IAssistService.prototype.askIA = function (context, data) {
6837
+ var _this = this;
6838
+ var prompt = {
6839
+ "prompt": this._createPrompt(context, data),
6840
+ "provider": "OPEN_AI",
6841
+ "parameters": {
6842
+ "model": "gpt-3.5-turbo",
6843
+ "max_tokens": 700,
6844
+ "temperature": 1.0
6845
+ }
6846
+ };
6847
+ var url = this._endpointFactory().build("completions", prompt);
6848
+ return this.http.get(url)
6849
+ .pipe(catchError(function (err) {
6850
+ _this._messageService.add({
6851
+ severity: "error",
6852
+ summary: err.status ? String(err.status) : "Error",
6853
+ detail: (err.error && err.error.message) || err.statusText || err.message || "Error",
6854
+ });
6855
+ return throwError(err);
6856
+ }));
6857
+ };
6858
+ IAssistService.prototype._endpointFactory = function () {
6859
+ var _this = this;
6860
+ return {
6861
+ build: function (endpoint, params) {
6862
+ var e_1, _a;
6863
+ var base = _this._hostProjectConfigs.domain + "/" + _this._hostProjectConfigs.service + "/api/latest/" + endpoint;
6864
+ if (params) {
6865
+ var query = new URLSearchParams();
6866
+ try {
6867
+ for (var _b = __values(Object.keys(params)), _c = _b.next(); !_c.done; _c = _b.next()) {
6868
+ var key = _c.value;
6869
+ var value = params[key];
6870
+ if (value) {
6871
+ query.append(key, value);
6872
+ }
6873
+ }
6874
+ }
6875
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
6876
+ finally {
6877
+ try {
6878
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
6879
+ }
6880
+ finally { if (e_1) throw e_1.error; }
6881
+ }
6882
+ return base + "?" + query;
6883
+ }
6884
+ return base;
6885
+ },
6886
+ };
6887
+ };
6888
+ IAssistService.prototype._createPrompt = function (context, data) {
6889
+ return "Crie um texto gen\u00E9rico para preencher o campo de textarea.\n " + (data.label ? "O campo tem o label " + data.label + "." : "") + "\n " + (data.id ? "O campo tem o id " + data.id + "." : "") + "\n " + (data.placeholder ? "Considere as instru\u00E7\u00F5es/sugest\u00F5es do placeholder: " + data.placeholder + "." : "") + "\n Baseie-se no contexto informado pelo usu\u00E1rio: '" + context + "'. \n O texto deve ser formal e conter informa\u00E7\u00F5es pertinentes a um campo como este, como se um usu\u00E1rio real tivesse preenchido com as informa\u00E7\u00F5es necess\u00E1rias. \n O texto deve ser neutro com rela\u00E7\u00E3o a generos, ra\u00E7as, religi\u00F5es, etc.\n O texto deve ser impessoal e n\u00E3o deve conter informa\u00E7\u00F5es pessoais do usu\u00E1rio.\n N\u00E3o direcione o texto a ningu\u00E9m, n\u00E3o use express\u00F5es como: caro, atenciosamente. gostaria, agrade\u00E7o. O texto deve ser gen\u00E9rico.\n \n Exemplos de texto:\n Um campo de descri\u00E7\u00E3o de usu\u00E1rio: \"Usu\u00E1rio com 20 anos, estudante de engenharia, gosta de jogar futebol e assistir filmes.\"\n Outro exemplo de descri\u00E7\u00E3o de usu\u00E1rio: \"Usu\u00E1rio administrador, com acesso total ao sistema, respons\u00E1vel por gerenciar os usu\u00E1rios e os produtos.\"\n Um campo de descri\u00E7\u00E3o de um produto: \"O produto \u00E9 um celular, com tela de 6 polegadas, 128GB de armazenamento, 4GB de mem\u00F3ria RAM, c\u00E2mera de 12MP e bateria de 4000mAh.\"\n Outro exemplo de descri\u00E7\u00E3o de produto: \"O produto \u00E9 uma geladeira, com capacidade de 500 litros, 2 portas, cor branca, com freezer e gaveta de legumes.\"\n Outro exemplo de descri\u00E7\u00E3o de produto: \"O produto \u00E9 uma camiseta, tamanho M, cor azul, 100% algod\u00E3o, com estampa de um gato.\"\n \n Em caso de contexto incompleto crie um texto gen\u00E9rico, como se fosse um exemplo de preenchimento do campo.\n O texto \u00E9 para um campo de textarea, ent\u00E3o escreva um texto sucinto.\n Exiba apenas o texto do output";
6890
+ };
6891
+ IAssistService.ctorParameters = function () { return [
6892
+ { type: HttpClient },
6893
+ { type: MessageService },
6894
+ { type: undefined, decorators: [{ type: Inject, args: [HostProjectConfigsInjectionToken,] }] }
6895
+ ]; };
6896
+ IAssistService = __decorate([
6897
+ Injectable(),
6898
+ __param(2, Inject(HostProjectConfigsInjectionToken))
6899
+ ], IAssistService);
6900
+ return IAssistService;
6901
+ }());
6902
+
6903
+ var TextAreaIAFieldComponent = /** @class */ (function () {
6904
+ function TextAreaIAFieldComponent(_iassistService, _formBuilder, _translateService) {
6905
+ this._iassistService = _iassistService;
6906
+ this._formBuilder = _formBuilder;
6907
+ this._translateService = _translateService;
6908
+ this.dialogVisible = false;
6909
+ }
6910
+ TextAreaIAFieldComponent.prototype.ngOnInit = function () {
6911
+ this._createDialogFields();
6912
+ this._createDialogFormGroup();
6913
+ };
6914
+ TextAreaIAFieldComponent.prototype.showDialog = function () {
6915
+ this.dialogVisible = true;
6916
+ };
6917
+ TextAreaIAFieldComponent.prototype.onHideDialog = function () {
6918
+ this.formGroup.get("context").setValue("");
6919
+ };
6920
+ TextAreaIAFieldComponent.prototype.hideDialog = function () {
6921
+ this.dialogVisible = false;
6922
+ };
6923
+ TextAreaIAFieldComponent.prototype.submitContext = function () {
6924
+ var _this = this;
6925
+ var context = this.formGroup.get("context");
6926
+ this._iassistService.askIA(context.value, {
6927
+ id: this.field.id,
6928
+ label: this.field.label,
6929
+ placeholder: this.field.placeholder,
6930
+ }).subscribe(function (res) {
6931
+ _this.formControl.setValue(res.text);
6932
+ });
6933
+ this.dialogVisible = false;
6934
+ };
6935
+ TextAreaIAFieldComponent.prototype._createDialogFields = function () {
6936
+ this.fields = [
6937
+ new FormField({
6938
+ name: "context",
6939
+ type: FieldType.String,
6940
+ label: this._translateService.instant("platform.angular_components.context"),
6941
+ size: { sm: 12, md: 12, lg: 12, xl: 12 },
6942
+ }),
6943
+ ];
6944
+ };
6945
+ TextAreaIAFieldComponent.prototype._createDialogFormGroup = function () {
6946
+ this.formGroup = this._formBuilder.group({
6947
+ context: [""],
6948
+ });
6949
+ };
6950
+ TextAreaIAFieldComponent.ctorParameters = function () { return [
6951
+ { type: IAssistService },
6952
+ { type: FormBuilder },
6953
+ { type: TranslateService }
6954
+ ]; };
6955
+ __decorate([
6956
+ Input()
6957
+ ], TextAreaIAFieldComponent.prototype, "field", void 0);
6958
+ __decorate([
6959
+ Input()
6960
+ ], TextAreaIAFieldComponent.prototype, "formControl", void 0);
6961
+ TextAreaIAFieldComponent = __decorate([
6962
+ Component({
6963
+ template: "<p-dialog\n [header]=\"'platform.angular_components.ia_text_generator' | translate\"\n [(visible)]=\"dialogVisible\"\n [modal]=\"true\"\n [style]=\"{ width: '50vw' }\"\n [draggable]=\"false\"\n [resizable]=\"false\"\n (onHide)=\"onHideDialog()\">\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 <s-button\n priority=\"default\"\n (onClick)=\"showDialog()\"\n iconClass=\"far fa-lightbulb-on\"\n [auxiliary]=\"true\"\n [tooltip]=\"'platform.angular_components.ia_text_generator' | translate\">\n </s-button>\n</div>",
6964
+ 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}"]
6965
+ })
6966
+ ], TextAreaIAFieldComponent);
6967
+ return TextAreaIAFieldComponent;
6968
+ }());
6969
+
6817
6970
  var TextFieldComponent = /** @class */ (function (_super) {
6818
6971
  __extends(TextFieldComponent, _super);
6819
6972
  function TextFieldComponent() {
@@ -7290,10 +7443,7 @@ var DynamicField = /** @class */ (function (_super) {
7290
7443
  case FieldType.String:
7291
7444
  return TextFieldComponent;
7292
7445
  case FieldType.Boolean:
7293
- if (this.field.representedBy === "switch") {
7294
- return BooleanSwitchFieldComponent;
7295
- }
7296
- return BooleanFieldComponent;
7446
+ return this.field.representedBy === "switch" ? BooleanSwitchFieldComponent : BooleanFieldComponent;
7297
7447
  case FieldType.Chips:
7298
7448
  return ChipsFieldComponent;
7299
7449
  case FieldType.Date:
@@ -7315,6 +7465,8 @@ var DynamicField = /** @class */ (function (_super) {
7315
7465
  return RadioButtonComponent;
7316
7466
  case FieldType.Text:
7317
7467
  return TextAreaFieldComponent;
7468
+ case FieldType.TextIA:
7469
+ return TextAreaIAFieldComponent;
7318
7470
  case FieldType.Password:
7319
7471
  return PasswordFieldComponent;
7320
7472
  case FieldType.Blob:
@@ -7958,6 +8110,7 @@ var DynamicFormModule = /** @class */ (function () {
7958
8110
  SectionComponent,
7959
8111
  SelectFieldComponent,
7960
8112
  TextAreaFieldComponent,
8113
+ TextAreaIAFieldComponent,
7961
8114
  TextFieldComponent,
7962
8115
  BooleanSwitchFieldComponent,
7963
8116
  PasswordFieldComponent,
@@ -7980,12 +8133,16 @@ var DynamicFormModule = /** @class */ (function () {
7980
8133
  SectionComponent,
7981
8134
  SelectFieldComponent,
7982
8135
  TextAreaFieldComponent,
8136
+ TextAreaIAFieldComponent,
7983
8137
  TextFieldComponent,
7984
8138
  PasswordFieldComponent,
7985
8139
  BooleanSwitchFieldComponent,
7986
8140
  SliderFieldComponent,
7987
8141
  ],
7988
- providers: [HotkeysService]
8142
+ providers: [
8143
+ HotkeysService,
8144
+ IAssistService,
8145
+ ]
7989
8146
  })
7990
8147
  ], DynamicFormModule);
7991
8148
  return DynamicFormModule;
@@ -14461,7 +14618,6 @@ var TieredMenuComponent = /** @class */ (function () {
14461
14618
  this._componentRef.instance.items = items;
14462
14619
  // Subscribe menu events.
14463
14620
  this._componentRef.instance.destroyRequest
14464
- .pipe(takeUntil(this._unsubscribe$))
14465
14621
  .subscribe(function (propagate) {
14466
14622
  _this._destroy(propagate);
14467
14623
  });
@@ -15317,6 +15473,9 @@ var PanelModule = /** @class */ (function () {
15317
15473
  }());
15318
15474
 
15319
15475
  var fallback = {
15476
+ "platform.angular_components.ia_text_generator": "Gerador de texto por IA",
15477
+ "platform.angular_components.generate_text": "Gerar texto",
15478
+ "platform.angular_components.context": "Contexto",
15320
15479
  "platform.angular_components.filters": "Filtros",
15321
15480
  "platform.angular_components.filter": "Filtrar",
15322
15481
  "platform.angular_components.clear": "Limpar",
@@ -15558,5 +15717,5 @@ var fallback = {
15558
15717
  * Generated bundle index. Do not edit.
15559
15718
  */
15560
15719
 
15561
- export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, Section, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, SelectFieldComponent as ɵba, TextAreaFieldComponent as ɵbb, TextFieldComponent as ɵbc, BooleanSwitchFieldComponent as ɵbd, PasswordFieldComponent as ɵbe, SliderFieldComponent as ɵbf, DecimalField as ɵbh, SideTableComponent as ɵbi, StructureModule as ɵbj, HeaderComponent as ɵbk, FooterComponent as ɵbl, NumberLocaleOptions as ɵbm, ThumbnailService as ɵbn, BorderButtonModule as ɵbo, BorderButtonComponent as ɵbp, TimelineItemModule as ɵbq, TimelineIconItemComponent as ɵbr, HorizontalTimelineModule as ɵbs, HorizontalTimelineComponent as ɵbt, VerticalTimelineModule as ɵbu, VerticalTimelineComponent as ɵbv, RangeLineComponent as ɵbw, CollapseOptionComponent as ɵbx, CollapsedItemsComponent as ɵby, VerticalItemsComponent as ɵbz, CountryPhonePickerService as ɵc, InfiniteScrollModule as ɵca, InfiniteScrollDirective as ɵcb, CustomTranslationsModule as ɵcc, CodeEditorComponent as ɵcd, CoreFacade as ɵce, CodeMirror6Core as ɵcf, TieredMenuEventService as ɵcg, TieredMenuService as ɵch, TieredMenuComponent as ɵci, TieredMenuNestedComponent as ɵcj, TieredMenuItemComponent as ɵck, TieredMenuDividerComponent as ɵcl, LocalizedCurrencyImpurePipe as ɵd, LocalizedBignumberPipe as ɵe, LocalizedBignumberImpurePipe as ɵf, EmptyStateGoBackComponent as ɵg, FileUploadService as ɵh, InfoSignComponent as ɵi, TableColumnsComponent as ɵj, TablePagingComponent as ɵk, AutocompleteFieldComponent as ɵl, BooleanFieldComponent as ɵm, CalendarFieldComponent as ɵn, ChipsFieldComponent as ɵo, CurrencyFieldComponent as ɵp, DynamicFieldComponent as ɵq, DynamicFormDirective as ɵr, FieldsetComponent as ɵs, FileUploadComponent$1 as ɵt, LookupFieldComponent as ɵu, NumberFieldComponent as ɵv, BignumberFieldComponent as ɵw, RadioButtonComponent as ɵx, RowComponent as ɵy, SectionComponent as ɵz };
15720
+ export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, Section, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, SelectFieldComponent as ɵba, TextAreaFieldComponent as ɵbb, TextAreaIAFieldComponent as ɵbc, IAssistService as ɵbd, TextFieldComponent as ɵbe, BooleanSwitchFieldComponent as ɵbf, PasswordFieldComponent as ɵbg, SliderFieldComponent as ɵbh, DecimalField as ɵbj, SideTableComponent as ɵbk, StructureModule as ɵbl, HeaderComponent as ɵbm, FooterComponent as ɵbn, NumberLocaleOptions as ɵbo, ThumbnailService as ɵbp, BorderButtonModule as ɵbq, BorderButtonComponent as ɵbr, TimelineItemModule as ɵbs, TimelineIconItemComponent as ɵbt, HorizontalTimelineModule as ɵbu, HorizontalTimelineComponent as ɵbv, VerticalTimelineModule as ɵbw, VerticalTimelineComponent as ɵbx, RangeLineComponent as ɵby, CollapseOptionComponent as ɵbz, CountryPhonePickerService as ɵc, CollapsedItemsComponent as ɵca, VerticalItemsComponent as ɵcb, InfiniteScrollModule as ɵcc, InfiniteScrollDirective as ɵcd, CustomTranslationsModule as ɵce, CodeEditorComponent as ɵcf, CoreFacade as ɵcg, CodeMirror6Core as ɵch, TieredMenuEventService as ɵci, TieredMenuService as ɵcj, TieredMenuComponent as ɵck, TieredMenuNestedComponent as ɵcl, TieredMenuItemComponent as ɵcm, TieredMenuDividerComponent as ɵcn, LocalizedCurrencyImpurePipe as ɵd, LocalizedBignumberPipe as ɵe, LocalizedBignumberImpurePipe as ɵf, EmptyStateGoBackComponent as ɵg, FileUploadService as ɵh, InfoSignComponent as ɵi, TableColumnsComponent as ɵj, TablePagingComponent as ɵk, AutocompleteFieldComponent as ɵl, BooleanFieldComponent as ɵm, CalendarFieldComponent as ɵn, ChipsFieldComponent as ɵo, CurrencyFieldComponent as ɵp, DynamicFieldComponent as ɵq, DynamicFormDirective as ɵr, FieldsetComponent as ɵs, FileUploadComponent$1 as ɵt, LookupFieldComponent as ɵu, NumberFieldComponent as ɵv, BignumberFieldComponent as ɵw, RadioButtonComponent as ɵx, RowComponent as ɵy, SectionComponent as ɵz };
15562
15721
  //# sourceMappingURL=seniorsistemas-angular-components.js.map