@seniorsistemas/angular-components 17.14.0 → 17.14.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.
- package/bundles/seniorsistemas-angular-components.umd.js +617 -566
- 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/code-editor/{presentation/code-editor-component.d.ts → code-editor.component.d.ts} +11 -6
- package/components/code-editor/index.d.ts +1 -1
- package/components/dynamic-form/components/fields/code-editor/code-editor-field.component.d.ts +6 -0
- package/components/dynamic-form/components/fields/code-editor/code-editor-field.module.d.ts +2 -0
- package/components/dynamic-form/configurations/field-type.d.ts +1 -0
- package/components/dynamic-form/configurations/fields/code-editor-field.d.ts +17 -0
- package/components/dynamic-form/configurations/form-field.d.ts +2 -2
- package/components/dynamic-form/index.d.ts +5 -4
- package/esm2015/components/code-editor/code-editor.component.js +110 -0
- package/esm2015/components/code-editor/code-editor.module.js +24 -0
- package/esm2015/components/code-editor/index.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/checkbox/checkbox-field.component.js +2 -2
- package/esm2015/components/dynamic-form/components/fields/code-editor/code-editor-field.component.js +17 -0
- package/esm2015/components/dynamic-form/components/fields/code-editor/code-editor-field.module.js +18 -0
- package/esm2015/components/dynamic-form/configurations/field-type.js +2 -1
- package/esm2015/components/dynamic-form/configurations/fields/code-editor-field.js +12 -0
- package/esm2015/components/dynamic-form/configurations/form-field.js +9 -6
- package/esm2015/components/dynamic-form/dynamic-form.js +5 -2
- package/esm2015/components/dynamic-form/dynamic-form.module.js +17 -33
- package/esm2015/components/dynamic-form/index.js +5 -4
- package/esm2015/seniorsistemas-angular-components.js +82 -80
- package/esm5/components/code-editor/code-editor.component.js +121 -0
- package/esm5/components/code-editor/code-editor.module.js +27 -0
- package/esm5/components/code-editor/index.js +2 -2
- package/esm5/components/dynamic-form/components/fields/checkbox/checkbox-field.component.js +2 -2
- package/esm5/components/dynamic-form/components/fields/code-editor/code-editor-field.component.js +20 -0
- package/esm5/components/dynamic-form/components/fields/code-editor/code-editor-field.module.js +21 -0
- package/esm5/components/dynamic-form/configurations/field-type.js +2 -1
- package/esm5/components/dynamic-form/configurations/fields/code-editor-field.js +17 -0
- package/esm5/components/dynamic-form/configurations/form-field.js +9 -6
- package/esm5/components/dynamic-form/dynamic-form.js +5 -2
- package/esm5/components/dynamic-form/dynamic-form.module.js +17 -33
- package/esm5/components/dynamic-form/index.js +5 -4
- package/esm5/seniorsistemas-angular-components.js +82 -80
- package/fesm2015/seniorsistemas-angular-components.js +512 -474
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +533 -485
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +3 -3
- package/seniorsistemas-angular-components.d.ts +81 -79
- package/seniorsistemas-angular-components.metadata.json +1 -1
- package/esm2015/components/code-editor/presentation/code-editor-component.js +0 -91
- package/esm2015/components/code-editor/presentation/code-editor-module.js +0 -27
- package/esm5/components/code-editor/presentation/code-editor-component.js +0 -101
- package/esm5/components/code-editor/presentation/code-editor-module.js +0 -30
- /package/components/code-editor/{presentation/code-editor-module.d.ts → code-editor.module.d.ts} +0 -0
|
@@ -31,7 +31,7 @@ import { Hotkey, HotkeysService, HotkeyModule } from 'angular2-hotkeys';
|
|
|
31
31
|
import BigNumber, { BigNumber as BigNumber$1 } from 'bignumber.js';
|
|
32
32
|
import { AutoComplete, AutoCompleteModule } from 'primeng/autocomplete';
|
|
33
33
|
import { Dialog, DialogModule } from 'primeng/dialog';
|
|
34
|
-
import { Table,
|
|
34
|
+
import { Table, TableService, RowToggler, TableModule as TableModule$1 } from 'primeng/table';
|
|
35
35
|
import { CurrencyMaskDirective as CurrencyMaskDirective$1 } from 'ng2-currency-mask';
|
|
36
36
|
import { ButtonModule as ButtonModule$1 } from 'primeng/button';
|
|
37
37
|
import { CheckboxModule as CheckboxModule$1 } from 'primeng/checkbox';
|
|
@@ -50,9 +50,9 @@ import { MessageService, ConfirmationService } from 'primeng/api';
|
|
|
50
50
|
import { ProgressBarModule as ProgressBarModule$1 } from 'primeng/progressbar';
|
|
51
51
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
52
52
|
import { Clipboard } from '@angular/cdk/clipboard';
|
|
53
|
+
import { EditorModule } from 'primeng/editor';
|
|
53
54
|
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
|
54
55
|
import Cropper from 'cropperjs';
|
|
55
|
-
import { EditorModule } from 'primeng/editor';
|
|
56
56
|
import marked from 'marked';
|
|
57
57
|
import { moveItemInArray, transferArrayItem, DragDropModule } from '@angular/cdk/drag-drop';
|
|
58
58
|
import * as elementResizeDetectorMaker_ from 'element-resize-detector';
|
|
@@ -3130,14 +3130,17 @@ class CoreFacade {
|
|
|
3130
3130
|
}
|
|
3131
3131
|
}
|
|
3132
3132
|
|
|
3133
|
-
|
|
3133
|
+
var CodeEditorComponent_1;
|
|
3134
|
+
let CodeEditorComponent = CodeEditorComponent_1 = class CodeEditorComponent {
|
|
3134
3135
|
constructor(coreFacade) {
|
|
3135
3136
|
this.coreFacade = coreFacade;
|
|
3136
|
-
this._ngUnsubscribe = new Subject();
|
|
3137
3137
|
this.codeChange = new EventEmitter();
|
|
3138
3138
|
this.isCodeValidChange = new EventEmitter();
|
|
3139
3139
|
this.onCodeChange = new EventEmitter();
|
|
3140
3140
|
this.onComponentFinishLoad = new EventEmitter();
|
|
3141
|
+
this._ngUnsubscribe = new Subject();
|
|
3142
|
+
this._onChange = () => { };
|
|
3143
|
+
this._onTouched = () => { };
|
|
3141
3144
|
}
|
|
3142
3145
|
set editorOptions(options) {
|
|
3143
3146
|
this.coreFacade.changeEditorOptions(options);
|
|
@@ -3145,6 +3148,15 @@ let CodeEditorComponent = class CodeEditorComponent {
|
|
|
3145
3148
|
set code(code) {
|
|
3146
3149
|
this.coreFacade.changeCode(code);
|
|
3147
3150
|
}
|
|
3151
|
+
writeValue(value) {
|
|
3152
|
+
this.code = value;
|
|
3153
|
+
}
|
|
3154
|
+
registerOnChange(onChange) {
|
|
3155
|
+
this._onChange = onChange;
|
|
3156
|
+
}
|
|
3157
|
+
registerOnTouched(onTouched) {
|
|
3158
|
+
this._onTouched = onTouched;
|
|
3159
|
+
}
|
|
3148
3160
|
ngOnInit() {
|
|
3149
3161
|
this.coreFacade.initCore();
|
|
3150
3162
|
this.setupCoreListeners();
|
|
@@ -3168,14 +3180,16 @@ let CodeEditorComponent = class CodeEditorComponent {
|
|
|
3168
3180
|
this.coreFacade
|
|
3169
3181
|
.getOnCodeChangeObservable()
|
|
3170
3182
|
.pipe(takeUntil(this._ngUnsubscribe))
|
|
3171
|
-
.subscribe(code => {
|
|
3183
|
+
.subscribe((code) => {
|
|
3172
3184
|
this.codeChange.emit(code);
|
|
3173
3185
|
this.onCodeChange.emit(code);
|
|
3186
|
+
this._onTouched();
|
|
3187
|
+
this._onChange(code);
|
|
3174
3188
|
});
|
|
3175
3189
|
this.coreFacade
|
|
3176
3190
|
.getOnCodeValidityChangeObservable()
|
|
3177
3191
|
.pipe(takeUntil(this._ngUnsubscribe))
|
|
3178
|
-
.subscribe(validity => {
|
|
3192
|
+
.subscribe((validity) => {
|
|
3179
3193
|
this.isCodeValidChange.emit(validity);
|
|
3180
3194
|
});
|
|
3181
3195
|
}
|
|
@@ -3183,9 +3197,6 @@ let CodeEditorComponent = class CodeEditorComponent {
|
|
|
3183
3197
|
CodeEditorComponent.ctorParameters = () => [
|
|
3184
3198
|
{ type: CoreFacade }
|
|
3185
3199
|
];
|
|
3186
|
-
__decorate([
|
|
3187
|
-
ViewChild("coreWrapper")
|
|
3188
|
-
], CodeEditorComponent.prototype, "coreWrapperElement", void 0);
|
|
3189
3200
|
__decorate([
|
|
3190
3201
|
Input()
|
|
3191
3202
|
], CodeEditorComponent.prototype, "editorOptions", null);
|
|
@@ -3195,9 +3206,6 @@ __decorate([
|
|
|
3195
3206
|
__decorate([
|
|
3196
3207
|
Output()
|
|
3197
3208
|
], CodeEditorComponent.prototype, "codeChange", void 0);
|
|
3198
|
-
__decorate([
|
|
3199
|
-
Input()
|
|
3200
|
-
], CodeEditorComponent.prototype, "isCodeValid", void 0);
|
|
3201
3209
|
__decorate([
|
|
3202
3210
|
Output()
|
|
3203
3211
|
], CodeEditorComponent.prototype, "isCodeValidChange", void 0);
|
|
@@ -3207,10 +3215,20 @@ __decorate([
|
|
|
3207
3215
|
__decorate([
|
|
3208
3216
|
Output()
|
|
3209
3217
|
], CodeEditorComponent.prototype, "onComponentFinishLoad", void 0);
|
|
3210
|
-
|
|
3218
|
+
__decorate([
|
|
3219
|
+
ViewChild("coreWrapper")
|
|
3220
|
+
], CodeEditorComponent.prototype, "coreWrapperElement", void 0);
|
|
3221
|
+
CodeEditorComponent = CodeEditorComponent_1 = __decorate([
|
|
3211
3222
|
Component({
|
|
3212
3223
|
selector: "s-code-editor",
|
|
3213
|
-
template:
|
|
3224
|
+
template: "<div #coreWrapper class=\"core-wrapper\"></div>",
|
|
3225
|
+
providers: [
|
|
3226
|
+
{
|
|
3227
|
+
provide: NG_VALUE_ACCESSOR,
|
|
3228
|
+
useExisting: forwardRef(() => CodeEditorComponent_1),
|
|
3229
|
+
multi: true,
|
|
3230
|
+
},
|
|
3231
|
+
],
|
|
3214
3232
|
styles: [".core-wrapper{height:100%}"]
|
|
3215
3233
|
})
|
|
3216
3234
|
], CodeEditorComponent);
|
|
@@ -4421,18 +4439,15 @@ let CodeEditorModule = class CodeEditorModule {
|
|
|
4421
4439
|
};
|
|
4422
4440
|
CodeEditorModule = __decorate([
|
|
4423
4441
|
NgModule({
|
|
4424
|
-
imports: [
|
|
4425
|
-
CommonModule,
|
|
4426
|
-
CustomTranslationsModule,
|
|
4427
|
-
],
|
|
4442
|
+
imports: [CommonModule, CustomTranslationsModule],
|
|
4428
4443
|
declarations: [CodeEditorComponent],
|
|
4429
4444
|
exports: [CodeEditorComponent],
|
|
4430
4445
|
providers: [
|
|
4431
4446
|
{
|
|
4432
4447
|
provide: CoreFacade,
|
|
4433
|
-
useClass: CodeMirror6Core
|
|
4434
|
-
}
|
|
4435
|
-
]
|
|
4448
|
+
useClass: CodeMirror6Core,
|
|
4449
|
+
},
|
|
4450
|
+
],
|
|
4436
4451
|
})
|
|
4437
4452
|
], CodeEditorModule);
|
|
4438
4453
|
|
|
@@ -5103,6 +5118,15 @@ CountryPhonePickerModule = __decorate([
|
|
|
5103
5118
|
})
|
|
5104
5119
|
], CountryPhonePickerModule);
|
|
5105
5120
|
|
|
5121
|
+
class BaseFieldComponent {
|
|
5122
|
+
isFunction(value) {
|
|
5123
|
+
return value instanceof Function;
|
|
5124
|
+
}
|
|
5125
|
+
trigger(callback) {
|
|
5126
|
+
return callback();
|
|
5127
|
+
}
|
|
5128
|
+
}
|
|
5129
|
+
|
|
5106
5130
|
var FieldType;
|
|
5107
5131
|
(function (FieldType) {
|
|
5108
5132
|
FieldType["Autocomplete"] = "Autocomplete";
|
|
@@ -5111,6 +5135,7 @@ var FieldType;
|
|
|
5111
5135
|
FieldType["Boolean"] = "Boolean";
|
|
5112
5136
|
FieldType["Checkbox"] = "Checkbox";
|
|
5113
5137
|
FieldType["Chips"] = "Chips";
|
|
5138
|
+
FieldType["CodeEditor"] = "CodeEditor";
|
|
5114
5139
|
FieldType["CountryPhonePicker"] = "CountryPhonePicker";
|
|
5115
5140
|
FieldType["Custom"] = "Custom";
|
|
5116
5141
|
FieldType["Date"] = "Date";
|
|
@@ -5288,6 +5313,13 @@ class CalendarField extends Field {
|
|
|
5288
5313
|
}
|
|
5289
5314
|
}
|
|
5290
5315
|
|
|
5316
|
+
class CheckboxField extends Field {
|
|
5317
|
+
constructor(config) {
|
|
5318
|
+
super(config);
|
|
5319
|
+
this.data = config.data;
|
|
5320
|
+
}
|
|
5321
|
+
}
|
|
5322
|
+
|
|
5291
5323
|
class ChipsField extends Field {
|
|
5292
5324
|
constructor(config) {
|
|
5293
5325
|
super(config);
|
|
@@ -5304,6 +5336,16 @@ class ChipsField extends Field {
|
|
|
5304
5336
|
}
|
|
5305
5337
|
}
|
|
5306
5338
|
|
|
5339
|
+
class CountryPhonePickerField extends Field {
|
|
5340
|
+
constructor(config) {
|
|
5341
|
+
super(config);
|
|
5342
|
+
this.countries = config.countries;
|
|
5343
|
+
this.ordination = config.ordination;
|
|
5344
|
+
this.onSelected = config.onSelected;
|
|
5345
|
+
this.onFocusLost = config.onFocusLost;
|
|
5346
|
+
}
|
|
5347
|
+
}
|
|
5348
|
+
|
|
5307
5349
|
var NumberInputDirective_1;
|
|
5308
5350
|
/**
|
|
5309
5351
|
* @deprecated Should use 'AlignmentOptions' from @seniorsistemas/ng2-currency-mask instead
|
|
@@ -5526,6 +5568,25 @@ class LookupField extends Field {
|
|
|
5526
5568
|
}
|
|
5527
5569
|
}
|
|
5528
5570
|
|
|
5571
|
+
class PasswordField extends Field {
|
|
5572
|
+
constructor(config) {
|
|
5573
|
+
super(config);
|
|
5574
|
+
this.inputType = config.inputType;
|
|
5575
|
+
this.keyFilter = config.keyFilter;
|
|
5576
|
+
this.leftAddon = config.leftAddon;
|
|
5577
|
+
this.rightAddon = config.rightAddon;
|
|
5578
|
+
this.maxLength = config.maxLength || 9999999;
|
|
5579
|
+
this.passwordStrength = config.passwordStrength;
|
|
5580
|
+
this.passwordStrengthOptions = config.passwordStrengthOptions;
|
|
5581
|
+
this.showToggle = config.showToggle;
|
|
5582
|
+
this.style = config.style;
|
|
5583
|
+
this.onBlur = config.onBlur;
|
|
5584
|
+
this.onFocus = config.onFocus;
|
|
5585
|
+
this.onComplete = config.onComplete;
|
|
5586
|
+
this.onInput = config.onInput;
|
|
5587
|
+
}
|
|
5588
|
+
}
|
|
5589
|
+
|
|
5529
5590
|
class RationButtonOption {
|
|
5530
5591
|
constructor(config) {
|
|
5531
5592
|
this.label = config.label;
|
|
@@ -5567,6 +5628,26 @@ class SelectOption {
|
|
|
5567
5628
|
}
|
|
5568
5629
|
}
|
|
5569
5630
|
|
|
5631
|
+
class SliderField extends Field {
|
|
5632
|
+
constructor(config) {
|
|
5633
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
5634
|
+
super(config);
|
|
5635
|
+
this.maxDefault = 100;
|
|
5636
|
+
this.onChange = config.onChange;
|
|
5637
|
+
this.onSlideEnd = config.onSlideEnd;
|
|
5638
|
+
this.range = (_a = config.range) !== null && _a !== void 0 ? _a : false;
|
|
5639
|
+
this.min = (_b = config.min) !== null && _b !== void 0 ? _b : 0;
|
|
5640
|
+
this.max = (_c = config.max) !== null && _c !== void 0 ? _c : this.maxDefault;
|
|
5641
|
+
this.orientation = (_d = config.orientation) !== null && _d !== void 0 ? _d : "horizontal";
|
|
5642
|
+
this.step = (_e = config.step) !== null && _e !== void 0 ? _e : 1;
|
|
5643
|
+
this.animate = (_f = config.animate) !== null && _f !== void 0 ? _f : false;
|
|
5644
|
+
this.disabled = (_g = config.disabled) !== null && _g !== void 0 ? _g : false;
|
|
5645
|
+
this.prefix = config.prefix;
|
|
5646
|
+
this.suffix = config.suffix;
|
|
5647
|
+
this.rangeSeparator = (_h = config.rangeSeparator) !== null && _h !== void 0 ? _h : ' - ';
|
|
5648
|
+
}
|
|
5649
|
+
}
|
|
5650
|
+
|
|
5570
5651
|
class TextAreaField extends Field {
|
|
5571
5652
|
constructor(config) {
|
|
5572
5653
|
super(config);
|
|
@@ -5609,59 +5690,24 @@ class TextField extends Field {
|
|
|
5609
5690
|
}
|
|
5610
5691
|
}
|
|
5611
5692
|
|
|
5612
|
-
class
|
|
5613
|
-
constructor(config) {
|
|
5614
|
-
super(config);
|
|
5615
|
-
this.inputType = config.inputType;
|
|
5616
|
-
this.keyFilter = config.keyFilter;
|
|
5617
|
-
this.leftAddon = config.leftAddon;
|
|
5618
|
-
this.rightAddon = config.rightAddon;
|
|
5619
|
-
this.maxLength = config.maxLength || 9999999;
|
|
5620
|
-
this.passwordStrength = config.passwordStrength;
|
|
5621
|
-
this.passwordStrengthOptions = config.passwordStrengthOptions;
|
|
5622
|
-
this.showToggle = config.showToggle;
|
|
5623
|
-
this.style = config.style;
|
|
5624
|
-
this.onBlur = config.onBlur;
|
|
5625
|
-
this.onFocus = config.onFocus;
|
|
5626
|
-
this.onComplete = config.onComplete;
|
|
5627
|
-
this.onInput = config.onInput;
|
|
5628
|
-
}
|
|
5629
|
-
}
|
|
5630
|
-
|
|
5631
|
-
class SliderField extends Field {
|
|
5632
|
-
constructor(config) {
|
|
5633
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
5634
|
-
super(config);
|
|
5635
|
-
this.maxDefault = 100;
|
|
5636
|
-
this.onChange = config.onChange;
|
|
5637
|
-
this.onSlideEnd = config.onSlideEnd;
|
|
5638
|
-
this.range = (_a = config.range) !== null && _a !== void 0 ? _a : false;
|
|
5639
|
-
this.min = (_b = config.min) !== null && _b !== void 0 ? _b : 0;
|
|
5640
|
-
this.max = (_c = config.max) !== null && _c !== void 0 ? _c : this.maxDefault;
|
|
5641
|
-
this.orientation = (_d = config.orientation) !== null && _d !== void 0 ? _d : "horizontal";
|
|
5642
|
-
this.step = (_e = config.step) !== null && _e !== void 0 ? _e : 1;
|
|
5643
|
-
this.animate = (_f = config.animate) !== null && _f !== void 0 ? _f : false;
|
|
5644
|
-
this.disabled = (_g = config.disabled) !== null && _g !== void 0 ? _g : false;
|
|
5645
|
-
this.prefix = config.prefix;
|
|
5646
|
-
this.suffix = config.suffix;
|
|
5647
|
-
this.rangeSeparator = (_h = config.rangeSeparator) !== null && _h !== void 0 ? _h : ' - ';
|
|
5648
|
-
}
|
|
5649
|
-
}
|
|
5650
|
-
|
|
5651
|
-
class CheckboxField extends Field {
|
|
5693
|
+
class CodeEditorField extends Field {
|
|
5652
5694
|
constructor(config) {
|
|
5653
5695
|
super(config);
|
|
5654
|
-
this.
|
|
5696
|
+
this.editorOptions = config.editorOptions;
|
|
5697
|
+
this.code = config.code;
|
|
5698
|
+
this.isCodeValid = config.isCodeValid;
|
|
5699
|
+
this.onComponentFinishLoad = config.onComponentFinishLoad;
|
|
5700
|
+
this.onCodeChange = config.onCodeChange;
|
|
5655
5701
|
}
|
|
5656
5702
|
}
|
|
5657
5703
|
|
|
5658
|
-
class
|
|
5704
|
+
class EditorField extends Field {
|
|
5659
5705
|
constructor(config) {
|
|
5660
5706
|
super(config);
|
|
5661
|
-
this.
|
|
5662
|
-
this.
|
|
5663
|
-
this.
|
|
5664
|
-
this.
|
|
5707
|
+
this.formats = config.formats;
|
|
5708
|
+
this.readonly = config.readonly;
|
|
5709
|
+
this.modules = config.modules;
|
|
5710
|
+
this.style = config.style;
|
|
5665
5711
|
}
|
|
5666
5712
|
}
|
|
5667
5713
|
|
|
@@ -5685,16 +5731,6 @@ class ProfilePictureField extends Field {
|
|
|
5685
5731
|
}
|
|
5686
5732
|
}
|
|
5687
5733
|
|
|
5688
|
-
class EditorField extends Field {
|
|
5689
|
-
constructor(config) {
|
|
5690
|
-
super(config);
|
|
5691
|
-
this.formats = config.formats;
|
|
5692
|
-
this.readonly = config.readonly;
|
|
5693
|
-
this.modules = config.modules;
|
|
5694
|
-
this.style = config.style;
|
|
5695
|
-
}
|
|
5696
|
-
}
|
|
5697
|
-
|
|
5698
5734
|
class FormField {
|
|
5699
5735
|
constructor(config) {
|
|
5700
5736
|
switch (config.type) {
|
|
@@ -5734,6 +5770,8 @@ class FormField {
|
|
|
5734
5770
|
return new CheckboxField(config);
|
|
5735
5771
|
case FieldType.Chips:
|
|
5736
5772
|
return new ChipsField(config);
|
|
5773
|
+
case FieldType.CodeEditor:
|
|
5774
|
+
return new CodeEditorField(config);
|
|
5737
5775
|
case FieldType.CountryPhonePicker:
|
|
5738
5776
|
return new CountryPhonePickerField(config);
|
|
5739
5777
|
case FieldType.Blob:
|
|
@@ -6317,15 +6355,6 @@ LookupComponent = LookupComponent_1 = __decorate([
|
|
|
6317
6355
|
})
|
|
6318
6356
|
], LookupComponent);
|
|
6319
6357
|
|
|
6320
|
-
class BaseFieldComponent {
|
|
6321
|
-
isFunction(value) {
|
|
6322
|
-
return value instanceof Function;
|
|
6323
|
-
}
|
|
6324
|
-
trigger(callback) {
|
|
6325
|
-
return callback();
|
|
6326
|
-
}
|
|
6327
|
-
}
|
|
6328
|
-
|
|
6329
6358
|
var DynamicType;
|
|
6330
6359
|
(function (DynamicType) {
|
|
6331
6360
|
DynamicType["Autocomplete"] = "Autocomplete";
|
|
@@ -6463,74 +6492,6 @@ DynamicFormComponent = __decorate([
|
|
|
6463
6492
|
})
|
|
6464
6493
|
], DynamicFormComponent);
|
|
6465
6494
|
|
|
6466
|
-
let IAssistService = class IAssistService {
|
|
6467
|
-
constructor(http, _messageService) {
|
|
6468
|
-
this.http = http;
|
|
6469
|
-
this._messageService = _messageService;
|
|
6470
|
-
}
|
|
6471
|
-
askIA(context, data) {
|
|
6472
|
-
const prompt = data.prompt ? this._replacePlaceholder(context, data) : this._createPrompt(context, data);
|
|
6473
|
-
return this.http
|
|
6474
|
-
.post("platform/iassist/api/latest/completions", {
|
|
6475
|
-
prompt,
|
|
6476
|
-
provider: "OPEN_AI",
|
|
6477
|
-
parameters: {
|
|
6478
|
-
model: "gpt-3.5-turbo",
|
|
6479
|
-
max_tokens: 700,
|
|
6480
|
-
temperature: 1,
|
|
6481
|
-
},
|
|
6482
|
-
})
|
|
6483
|
-
.pipe(catchError((err) => {
|
|
6484
|
-
this._messageService.add({
|
|
6485
|
-
severity: "error",
|
|
6486
|
-
summary: err.status ? String(err.status) : "Error",
|
|
6487
|
-
detail: (err.error && err.error.message) || err.statusText || err.message || "Error",
|
|
6488
|
-
});
|
|
6489
|
-
return throwError(err);
|
|
6490
|
-
}));
|
|
6491
|
-
}
|
|
6492
|
-
_replacePlaceholder(context, data) {
|
|
6493
|
-
const values = Object.assign(Object.assign({}, data), { context });
|
|
6494
|
-
delete values.prompt;
|
|
6495
|
-
let result = data.prompt;
|
|
6496
|
-
for (const key in Object.assign(Object.assign({}, values), { context: context })) {
|
|
6497
|
-
const placeholder = new RegExp(`{{\\s*${key}\\s*}}`, "g");
|
|
6498
|
-
result = result.replace(placeholder, values[key]);
|
|
6499
|
-
}
|
|
6500
|
-
console.log("prompt", result);
|
|
6501
|
-
return result;
|
|
6502
|
-
}
|
|
6503
|
-
_createPrompt(context, data) {
|
|
6504
|
-
return `Crie um texto genérico para preencher o campo de textarea.
|
|
6505
|
-
${data.label ? `O campo tem o label ${data.label}.` : ""}
|
|
6506
|
-
${data.id ? `O campo tem o id ${data.id}.` : ""}
|
|
6507
|
-
${data.placeholder ? `Considere as instruções/sugestões do placeholder: ${data.placeholder}.` : ""}
|
|
6508
|
-
Baseie-se no contexto informado pelo usuário: '${context}'.
|
|
6509
|
-
O texto deve ser formal e conter informações pertinentes a um campo como este, como se um usuário real tivesse preenchido com as informações necessárias.
|
|
6510
|
-
O texto deve ser neutro com relação a generos, raças, religiões, etc.
|
|
6511
|
-
O texto deve ser impessoal e não deve conter informações pessoais do usuário.
|
|
6512
|
-
Não direcione o texto a ninguém, não use expressões como: caro, atenciosamente. gostaria, agradeço. O texto deve ser genérico.
|
|
6513
|
-
|
|
6514
|
-
Exemplos de texto:
|
|
6515
|
-
Um campo de descrição de usuário: "Usuário com 20 anos, estudante de engenharia, gosta de jogar futebol e assistir filmes."
|
|
6516
|
-
Outro exemplo de descrição de usuário: "Usuário administrador, com acesso total ao sistema, responsável por gerenciar os usuários e os produtos."
|
|
6517
|
-
Um campo de descrição de um produto: "O produto é um celular, com tela de 6 polegadas, 128GB de armazenamento, 4GB de memória RAM, câmera de 12MP e bateria de 4000mAh."
|
|
6518
|
-
Outro exemplo de descrição de produto: "O produto é uma geladeira, com capacidade de 500 litros, 2 portas, cor branca, com freezer e gaveta de legumes."
|
|
6519
|
-
Outro exemplo de descrição de produto: "O produto é uma camiseta, tamanho M, cor azul, 100% algodão, com estampa de um gato."
|
|
6520
|
-
|
|
6521
|
-
Em caso de contexto incompleto crie um texto genérico, como se fosse um exemplo de preenchimento do campo.
|
|
6522
|
-
O texto é para um campo de textarea, então escreva um texto sucinto.
|
|
6523
|
-
Exiba apenas o texto do output`;
|
|
6524
|
-
}
|
|
6525
|
-
};
|
|
6526
|
-
IAssistService.ctorParameters = () => [
|
|
6527
|
-
{ type: HttpClient },
|
|
6528
|
-
{ type: MessageService }
|
|
6529
|
-
];
|
|
6530
|
-
IAssistService = __decorate([
|
|
6531
|
-
Injectable()
|
|
6532
|
-
], IAssistService);
|
|
6533
|
-
|
|
6534
6495
|
let LongPressDirective = class LongPressDirective {
|
|
6535
6496
|
constructor() {
|
|
6536
6497
|
this.sLongPressDelay = 500;
|
|
@@ -6626,21 +6587,89 @@ MouseEventsModule = __decorate([
|
|
|
6626
6587
|
})
|
|
6627
6588
|
], MouseEventsModule);
|
|
6628
6589
|
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
this.
|
|
6633
|
-
this.iconClass = "fa fa-inbox";
|
|
6634
|
-
this.showPrimaryAction = true;
|
|
6635
|
-
this.showSecondaryAction = true;
|
|
6636
|
-
this.primaryModel = [];
|
|
6637
|
-
this.primaryAction = new EventEmitter();
|
|
6638
|
-
this.secondaryAction = new EventEmitter();
|
|
6590
|
+
let IAssistService = class IAssistService {
|
|
6591
|
+
constructor(http, _messageService) {
|
|
6592
|
+
this.http = http;
|
|
6593
|
+
this._messageService = _messageService;
|
|
6639
6594
|
}
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
|
|
6595
|
+
askIA(context, data) {
|
|
6596
|
+
const prompt = data.prompt ? this._replacePlaceholder(context, data) : this._createPrompt(context, data);
|
|
6597
|
+
return this.http
|
|
6598
|
+
.post("platform/iassist/api/latest/completions", {
|
|
6599
|
+
prompt,
|
|
6600
|
+
provider: "OPEN_AI",
|
|
6601
|
+
parameters: {
|
|
6602
|
+
model: "gpt-3.5-turbo",
|
|
6603
|
+
max_tokens: 700,
|
|
6604
|
+
temperature: 1,
|
|
6605
|
+
},
|
|
6606
|
+
})
|
|
6607
|
+
.pipe(catchError((err) => {
|
|
6608
|
+
this._messageService.add({
|
|
6609
|
+
severity: "error",
|
|
6610
|
+
summary: err.status ? String(err.status) : "Error",
|
|
6611
|
+
detail: (err.error && err.error.message) || err.statusText || err.message || "Error",
|
|
6612
|
+
});
|
|
6613
|
+
return throwError(err);
|
|
6614
|
+
}));
|
|
6615
|
+
}
|
|
6616
|
+
_replacePlaceholder(context, data) {
|
|
6617
|
+
const values = Object.assign(Object.assign({}, data), { context });
|
|
6618
|
+
delete values.prompt;
|
|
6619
|
+
let result = data.prompt;
|
|
6620
|
+
for (const key in Object.assign(Object.assign({}, values), { context: context })) {
|
|
6621
|
+
const placeholder = new RegExp(`{{\\s*${key}\\s*}}`, "g");
|
|
6622
|
+
result = result.replace(placeholder, values[key]);
|
|
6623
|
+
}
|
|
6624
|
+
console.log("prompt", result);
|
|
6625
|
+
return result;
|
|
6626
|
+
}
|
|
6627
|
+
_createPrompt(context, data) {
|
|
6628
|
+
return `Crie um texto genérico para preencher o campo de textarea.
|
|
6629
|
+
${data.label ? `O campo tem o label ${data.label}.` : ""}
|
|
6630
|
+
${data.id ? `O campo tem o id ${data.id}.` : ""}
|
|
6631
|
+
${data.placeholder ? `Considere as instruções/sugestões do placeholder: ${data.placeholder}.` : ""}
|
|
6632
|
+
Baseie-se no contexto informado pelo usuário: '${context}'.
|
|
6633
|
+
O texto deve ser formal e conter informações pertinentes a um campo como este, como se um usuário real tivesse preenchido com as informações necessárias.
|
|
6634
|
+
O texto deve ser neutro com relação a generos, raças, religiões, etc.
|
|
6635
|
+
O texto deve ser impessoal e não deve conter informações pessoais do usuário.
|
|
6636
|
+
Não direcione o texto a ninguém, não use expressões como: caro, atenciosamente. gostaria, agradeço. O texto deve ser genérico.
|
|
6637
|
+
|
|
6638
|
+
Exemplos de texto:
|
|
6639
|
+
Um campo de descrição de usuário: "Usuário com 20 anos, estudante de engenharia, gosta de jogar futebol e assistir filmes."
|
|
6640
|
+
Outro exemplo de descrição de usuário: "Usuário administrador, com acesso total ao sistema, responsável por gerenciar os usuários e os produtos."
|
|
6641
|
+
Um campo de descrição de um produto: "O produto é um celular, com tela de 6 polegadas, 128GB de armazenamento, 4GB de memória RAM, câmera de 12MP e bateria de 4000mAh."
|
|
6642
|
+
Outro exemplo de descrição de produto: "O produto é uma geladeira, com capacidade de 500 litros, 2 portas, cor branca, com freezer e gaveta de legumes."
|
|
6643
|
+
Outro exemplo de descrição de produto: "O produto é uma camiseta, tamanho M, cor azul, 100% algodão, com estampa de um gato."
|
|
6644
|
+
|
|
6645
|
+
Em caso de contexto incompleto crie um texto genérico, como se fosse um exemplo de preenchimento do campo.
|
|
6646
|
+
O texto é para um campo de textarea, então escreva um texto sucinto.
|
|
6647
|
+
Exiba apenas o texto do output`;
|
|
6648
|
+
}
|
|
6649
|
+
};
|
|
6650
|
+
IAssistService.ctorParameters = () => [
|
|
6651
|
+
{ type: HttpClient },
|
|
6652
|
+
{ type: MessageService }
|
|
6653
|
+
];
|
|
6654
|
+
IAssistService = __decorate([
|
|
6655
|
+
Injectable()
|
|
6656
|
+
], IAssistService);
|
|
6657
|
+
|
|
6658
|
+
var EmptyStateComponent_1;
|
|
6659
|
+
let EmptyStateComponent = EmptyStateComponent_1 = class EmptyStateComponent {
|
|
6660
|
+
constructor() {
|
|
6661
|
+
this.id = `s-empty-state-${EmptyStateComponent_1.nextId++}`;
|
|
6662
|
+
this.iconClass = "fa fa-inbox";
|
|
6663
|
+
this.showPrimaryAction = true;
|
|
6664
|
+
this.showSecondaryAction = true;
|
|
6665
|
+
this.primaryModel = [];
|
|
6666
|
+
this.primaryAction = new EventEmitter();
|
|
6667
|
+
this.secondaryAction = new EventEmitter();
|
|
6668
|
+
}
|
|
6669
|
+
};
|
|
6670
|
+
EmptyStateComponent.nextId = 0;
|
|
6671
|
+
__decorate([
|
|
6672
|
+
Input()
|
|
6644
6673
|
], EmptyStateComponent.prototype, "id", void 0);
|
|
6645
6674
|
__decorate([
|
|
6646
6675
|
Input()
|
|
@@ -8466,6 +8495,151 @@ PasswordStrengthModule = __decorate([
|
|
|
8466
8495
|
})
|
|
8467
8496
|
], PasswordStrengthModule);
|
|
8468
8497
|
|
|
8498
|
+
var TableHeaderCheckboxComponent_1;
|
|
8499
|
+
let TableHeaderCheckboxComponent = TableHeaderCheckboxComponent_1 = class TableHeaderCheckboxComponent {
|
|
8500
|
+
constructor(table, tableService) {
|
|
8501
|
+
this.table = table;
|
|
8502
|
+
this.tableService = tableService;
|
|
8503
|
+
this.id = `s-table-header-checkbox-${TableHeaderCheckboxComponent_1.nextId++}`;
|
|
8504
|
+
this.ngUnsubscribe = new Subject();
|
|
8505
|
+
this.table.tableService.valueSource$.pipe(takeUntil(this.ngUnsubscribe)).subscribe(() => {
|
|
8506
|
+
this.checked = this.updateCheckedState();
|
|
8507
|
+
});
|
|
8508
|
+
this.table.tableService.selectionSource$.pipe(takeUntil(this.ngUnsubscribe)).subscribe(() => {
|
|
8509
|
+
this.checked = this.updateCheckedState();
|
|
8510
|
+
});
|
|
8511
|
+
}
|
|
8512
|
+
ngOnInit() {
|
|
8513
|
+
this.checked = this.updateCheckedState();
|
|
8514
|
+
}
|
|
8515
|
+
ngOnDestroy() {
|
|
8516
|
+
this.ngUnsubscribe.next();
|
|
8517
|
+
}
|
|
8518
|
+
onFocus() {
|
|
8519
|
+
this.hasFocus = true;
|
|
8520
|
+
}
|
|
8521
|
+
onBlur() {
|
|
8522
|
+
this.hasFocus = false;
|
|
8523
|
+
}
|
|
8524
|
+
isDisabled() {
|
|
8525
|
+
return this.disabled || !this.table.value || !this.table.value.length;
|
|
8526
|
+
}
|
|
8527
|
+
onClick() {
|
|
8528
|
+
if (!this.disabled) {
|
|
8529
|
+
if (this.table.value && this.table.value.length > 0)
|
|
8530
|
+
this.onToggleCheckbox(!this.checked);
|
|
8531
|
+
}
|
|
8532
|
+
}
|
|
8533
|
+
updateCheckedState() {
|
|
8534
|
+
if (this.table.filteredValue) {
|
|
8535
|
+
const val = this.table.filteredValue;
|
|
8536
|
+
return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllFilteredValuesChecked();
|
|
8537
|
+
}
|
|
8538
|
+
else {
|
|
8539
|
+
const val = this.table.value;
|
|
8540
|
+
return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllValuesChecked();
|
|
8541
|
+
}
|
|
8542
|
+
}
|
|
8543
|
+
onToggleCheckbox(checked) {
|
|
8544
|
+
const { filteredValue, value, dataKey } = this.table;
|
|
8545
|
+
const gridData = checked ? (filteredValue ? filteredValue.slice() : value.slice()) : [];
|
|
8546
|
+
if (checked) {
|
|
8547
|
+
const unselecteds = gridData
|
|
8548
|
+
.filter(record => !this.table._selection.find((selected) => record[dataKey] === selected[dataKey]))
|
|
8549
|
+
.map((record) => {
|
|
8550
|
+
if (this.useAllObject)
|
|
8551
|
+
return record;
|
|
8552
|
+
const newRecord = {};
|
|
8553
|
+
if (this.rowProps)
|
|
8554
|
+
this.rowProps.forEach((prop) => (newRecord[prop] = record[prop]));
|
|
8555
|
+
else
|
|
8556
|
+
newRecord[dataKey] = record[dataKey];
|
|
8557
|
+
return newRecord;
|
|
8558
|
+
});
|
|
8559
|
+
this.table._selection = [...this.table._selection, ...unselecteds];
|
|
8560
|
+
}
|
|
8561
|
+
else {
|
|
8562
|
+
value.forEach((data) => {
|
|
8563
|
+
this.table._selection = this.table._selection.filter((record) => record[dataKey] !== data[dataKey]);
|
|
8564
|
+
});
|
|
8565
|
+
}
|
|
8566
|
+
this.table.updateSelectionKeys();
|
|
8567
|
+
this.table.selectionChange.emit(this.table._selection);
|
|
8568
|
+
this.tableService.onSelectionChange();
|
|
8569
|
+
if (this.table.isStateful())
|
|
8570
|
+
this.table.saveState();
|
|
8571
|
+
}
|
|
8572
|
+
isAllFilteredValuesChecked() {
|
|
8573
|
+
if (!this.table.filteredValue) {
|
|
8574
|
+
return false;
|
|
8575
|
+
}
|
|
8576
|
+
else {
|
|
8577
|
+
for (const rowData of this.table.filteredValue) {
|
|
8578
|
+
if (!this.table.isSelected(rowData)) {
|
|
8579
|
+
return false;
|
|
8580
|
+
}
|
|
8581
|
+
}
|
|
8582
|
+
return true;
|
|
8583
|
+
}
|
|
8584
|
+
}
|
|
8585
|
+
isAllValuesChecked() {
|
|
8586
|
+
if (!this.table.value) {
|
|
8587
|
+
return false;
|
|
8588
|
+
}
|
|
8589
|
+
else {
|
|
8590
|
+
for (const rowData of this.table.value) {
|
|
8591
|
+
if (!this.table.isSelected(rowData)) {
|
|
8592
|
+
return false;
|
|
8593
|
+
}
|
|
8594
|
+
}
|
|
8595
|
+
return true;
|
|
8596
|
+
}
|
|
8597
|
+
}
|
|
8598
|
+
};
|
|
8599
|
+
TableHeaderCheckboxComponent.nextId = 0;
|
|
8600
|
+
TableHeaderCheckboxComponent.ctorParameters = () => [
|
|
8601
|
+
{ type: Table },
|
|
8602
|
+
{ type: TableService }
|
|
8603
|
+
];
|
|
8604
|
+
__decorate([
|
|
8605
|
+
Input()
|
|
8606
|
+
], TableHeaderCheckboxComponent.prototype, "id", void 0);
|
|
8607
|
+
__decorate([
|
|
8608
|
+
Input()
|
|
8609
|
+
], TableHeaderCheckboxComponent.prototype, "disabled", void 0);
|
|
8610
|
+
__decorate([
|
|
8611
|
+
Input()
|
|
8612
|
+
], TableHeaderCheckboxComponent.prototype, "rowProps", void 0);
|
|
8613
|
+
__decorate([
|
|
8614
|
+
Input()
|
|
8615
|
+
], TableHeaderCheckboxComponent.prototype, "useAllObject", void 0);
|
|
8616
|
+
TableHeaderCheckboxComponent = TableHeaderCheckboxComponent_1 = __decorate([
|
|
8617
|
+
Component({
|
|
8618
|
+
selector: "s-table-header-checkbox",
|
|
8619
|
+
template: `
|
|
8620
|
+
<div class="ui-chkbox ui-widget" (click)="onClick()">
|
|
8621
|
+
<div class="ui-helper-hidden-accessible">
|
|
8622
|
+
<input type="checkbox" [checked]="checked" (focus)="onFocus()" (blur)="onBlur()" [disabled]="isDisabled()">
|
|
8623
|
+
</div>
|
|
8624
|
+
<div [ngClass]="{'ui-chkbox-box ui-widget ui-state-default':true,
|
|
8625
|
+
'ui-state-active':checked, 'ui-state-disabled': isDisabled(), 'ui-state-focus': hasFocus}">
|
|
8626
|
+
<span [id]="id" class="ui-chkbox-icon ui-clickable" [ngClass]="{'pi pi-check':checked}"></span>
|
|
8627
|
+
</div>
|
|
8628
|
+
</div>
|
|
8629
|
+
`
|
|
8630
|
+
})
|
|
8631
|
+
], TableHeaderCheckboxComponent);
|
|
8632
|
+
|
|
8633
|
+
let TableHeaderCheckboxModule = class TableHeaderCheckboxModule {
|
|
8634
|
+
};
|
|
8635
|
+
TableHeaderCheckboxModule = __decorate([
|
|
8636
|
+
NgModule({
|
|
8637
|
+
imports: [CommonModule],
|
|
8638
|
+
exports: [TableHeaderCheckboxComponent],
|
|
8639
|
+
declarations: [TableHeaderCheckboxComponent],
|
|
8640
|
+
})
|
|
8641
|
+
], TableHeaderCheckboxModule);
|
|
8642
|
+
|
|
8469
8643
|
let NavigationDirective = class NavigationDirective {
|
|
8470
8644
|
onKeyDown(event) {
|
|
8471
8645
|
switch (event.key) {
|
|
@@ -9431,162 +9605,17 @@ TableModule = __decorate([
|
|
|
9431
9605
|
})
|
|
9432
9606
|
], TableModule);
|
|
9433
9607
|
|
|
9434
|
-
|
|
9435
|
-
|
|
9436
|
-
|
|
9437
|
-
this.
|
|
9438
|
-
this.tableService = tableService;
|
|
9439
|
-
this.id = `s-table-header-checkbox-${TableHeaderCheckboxComponent_1.nextId++}`;
|
|
9440
|
-
this.ngUnsubscribe = new Subject();
|
|
9441
|
-
this.table.tableService.valueSource$.pipe(takeUntil(this.ngUnsubscribe)).subscribe(() => {
|
|
9442
|
-
this.checked = this.updateCheckedState();
|
|
9443
|
-
});
|
|
9444
|
-
this.table.tableService.selectionSource$.pipe(takeUntil(this.ngUnsubscribe)).subscribe(() => {
|
|
9445
|
-
this.checked = this.updateCheckedState();
|
|
9446
|
-
});
|
|
9447
|
-
}
|
|
9448
|
-
ngOnInit() {
|
|
9449
|
-
this.checked = this.updateCheckedState();
|
|
9450
|
-
}
|
|
9451
|
-
ngOnDestroy() {
|
|
9452
|
-
this.ngUnsubscribe.next();
|
|
9608
|
+
let AutocompleteFieldComponent = class AutocompleteFieldComponent {
|
|
9609
|
+
constructor(changeDetectorRef, elementRef) {
|
|
9610
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
9611
|
+
this.elementRef = elementRef;
|
|
9453
9612
|
}
|
|
9454
|
-
|
|
9455
|
-
this.
|
|
9613
|
+
ngAfterViewInit() {
|
|
9614
|
+
this.setInputRef();
|
|
9615
|
+
this.changeDetectorRef.detectChanges();
|
|
9456
9616
|
}
|
|
9457
|
-
|
|
9458
|
-
this.
|
|
9459
|
-
}
|
|
9460
|
-
isDisabled() {
|
|
9461
|
-
return this.disabled || !this.table.value || !this.table.value.length;
|
|
9462
|
-
}
|
|
9463
|
-
onClick() {
|
|
9464
|
-
if (!this.disabled) {
|
|
9465
|
-
if (this.table.value && this.table.value.length > 0)
|
|
9466
|
-
this.onToggleCheckbox(!this.checked);
|
|
9467
|
-
}
|
|
9468
|
-
}
|
|
9469
|
-
updateCheckedState() {
|
|
9470
|
-
if (this.table.filteredValue) {
|
|
9471
|
-
const val = this.table.filteredValue;
|
|
9472
|
-
return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllFilteredValuesChecked();
|
|
9473
|
-
}
|
|
9474
|
-
else {
|
|
9475
|
-
const val = this.table.value;
|
|
9476
|
-
return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllValuesChecked();
|
|
9477
|
-
}
|
|
9478
|
-
}
|
|
9479
|
-
onToggleCheckbox(checked) {
|
|
9480
|
-
const { filteredValue, value, dataKey } = this.table;
|
|
9481
|
-
const gridData = checked ? (filteredValue ? filteredValue.slice() : value.slice()) : [];
|
|
9482
|
-
if (checked) {
|
|
9483
|
-
const unselecteds = gridData
|
|
9484
|
-
.filter(record => !this.table._selection.find((selected) => record[dataKey] === selected[dataKey]))
|
|
9485
|
-
.map((record) => {
|
|
9486
|
-
if (this.useAllObject)
|
|
9487
|
-
return record;
|
|
9488
|
-
const newRecord = {};
|
|
9489
|
-
if (this.rowProps)
|
|
9490
|
-
this.rowProps.forEach((prop) => (newRecord[prop] = record[prop]));
|
|
9491
|
-
else
|
|
9492
|
-
newRecord[dataKey] = record[dataKey];
|
|
9493
|
-
return newRecord;
|
|
9494
|
-
});
|
|
9495
|
-
this.table._selection = [...this.table._selection, ...unselecteds];
|
|
9496
|
-
}
|
|
9497
|
-
else {
|
|
9498
|
-
value.forEach((data) => {
|
|
9499
|
-
this.table._selection = this.table._selection.filter((record) => record[dataKey] !== data[dataKey]);
|
|
9500
|
-
});
|
|
9501
|
-
}
|
|
9502
|
-
this.table.updateSelectionKeys();
|
|
9503
|
-
this.table.selectionChange.emit(this.table._selection);
|
|
9504
|
-
this.tableService.onSelectionChange();
|
|
9505
|
-
if (this.table.isStateful())
|
|
9506
|
-
this.table.saveState();
|
|
9507
|
-
}
|
|
9508
|
-
isAllFilteredValuesChecked() {
|
|
9509
|
-
if (!this.table.filteredValue) {
|
|
9510
|
-
return false;
|
|
9511
|
-
}
|
|
9512
|
-
else {
|
|
9513
|
-
for (const rowData of this.table.filteredValue) {
|
|
9514
|
-
if (!this.table.isSelected(rowData)) {
|
|
9515
|
-
return false;
|
|
9516
|
-
}
|
|
9517
|
-
}
|
|
9518
|
-
return true;
|
|
9519
|
-
}
|
|
9520
|
-
}
|
|
9521
|
-
isAllValuesChecked() {
|
|
9522
|
-
if (!this.table.value) {
|
|
9523
|
-
return false;
|
|
9524
|
-
}
|
|
9525
|
-
else {
|
|
9526
|
-
for (const rowData of this.table.value) {
|
|
9527
|
-
if (!this.table.isSelected(rowData)) {
|
|
9528
|
-
return false;
|
|
9529
|
-
}
|
|
9530
|
-
}
|
|
9531
|
-
return true;
|
|
9532
|
-
}
|
|
9533
|
-
}
|
|
9534
|
-
};
|
|
9535
|
-
TableHeaderCheckboxComponent.nextId = 0;
|
|
9536
|
-
TableHeaderCheckboxComponent.ctorParameters = () => [
|
|
9537
|
-
{ type: Table },
|
|
9538
|
-
{ type: TableService }
|
|
9539
|
-
];
|
|
9540
|
-
__decorate([
|
|
9541
|
-
Input()
|
|
9542
|
-
], TableHeaderCheckboxComponent.prototype, "id", void 0);
|
|
9543
|
-
__decorate([
|
|
9544
|
-
Input()
|
|
9545
|
-
], TableHeaderCheckboxComponent.prototype, "disabled", void 0);
|
|
9546
|
-
__decorate([
|
|
9547
|
-
Input()
|
|
9548
|
-
], TableHeaderCheckboxComponent.prototype, "rowProps", void 0);
|
|
9549
|
-
__decorate([
|
|
9550
|
-
Input()
|
|
9551
|
-
], TableHeaderCheckboxComponent.prototype, "useAllObject", void 0);
|
|
9552
|
-
TableHeaderCheckboxComponent = TableHeaderCheckboxComponent_1 = __decorate([
|
|
9553
|
-
Component({
|
|
9554
|
-
selector: "s-table-header-checkbox",
|
|
9555
|
-
template: `
|
|
9556
|
-
<div class="ui-chkbox ui-widget" (click)="onClick()">
|
|
9557
|
-
<div class="ui-helper-hidden-accessible">
|
|
9558
|
-
<input type="checkbox" [checked]="checked" (focus)="onFocus()" (blur)="onBlur()" [disabled]="isDisabled()">
|
|
9559
|
-
</div>
|
|
9560
|
-
<div [ngClass]="{'ui-chkbox-box ui-widget ui-state-default':true,
|
|
9561
|
-
'ui-state-active':checked, 'ui-state-disabled': isDisabled(), 'ui-state-focus': hasFocus}">
|
|
9562
|
-
<span [id]="id" class="ui-chkbox-icon ui-clickable" [ngClass]="{'pi pi-check':checked}"></span>
|
|
9563
|
-
</div>
|
|
9564
|
-
</div>
|
|
9565
|
-
`
|
|
9566
|
-
})
|
|
9567
|
-
], TableHeaderCheckboxComponent);
|
|
9568
|
-
|
|
9569
|
-
let TableHeaderCheckboxModule = class TableHeaderCheckboxModule {
|
|
9570
|
-
};
|
|
9571
|
-
TableHeaderCheckboxModule = __decorate([
|
|
9572
|
-
NgModule({
|
|
9573
|
-
imports: [CommonModule],
|
|
9574
|
-
exports: [TableHeaderCheckboxComponent],
|
|
9575
|
-
declarations: [TableHeaderCheckboxComponent],
|
|
9576
|
-
})
|
|
9577
|
-
], TableHeaderCheckboxModule);
|
|
9578
|
-
|
|
9579
|
-
let AutocompleteFieldComponent = class AutocompleteFieldComponent {
|
|
9580
|
-
constructor(changeDetectorRef, elementRef) {
|
|
9581
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
9582
|
-
this.elementRef = elementRef;
|
|
9583
|
-
}
|
|
9584
|
-
ngAfterViewInit() {
|
|
9585
|
-
this.setInputRef();
|
|
9586
|
-
this.changeDetectorRef.detectChanges();
|
|
9587
|
-
}
|
|
9588
|
-
setInputRef() {
|
|
9589
|
-
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
9617
|
+
setInputRef() {
|
|
9618
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
9590
9619
|
}
|
|
9591
9620
|
};
|
|
9592
9621
|
AutocompleteFieldComponent.ctorParameters = () => [
|
|
@@ -9816,35 +9845,6 @@ CountryPhonePickerFieldComponent = __decorate([
|
|
|
9816
9845
|
})
|
|
9817
9846
|
], CountryPhonePickerFieldComponent);
|
|
9818
9847
|
|
|
9819
|
-
let FieldsetComponent = class FieldsetComponent {
|
|
9820
|
-
};
|
|
9821
|
-
__decorate([
|
|
9822
|
-
Input()
|
|
9823
|
-
], FieldsetComponent.prototype, "id", void 0);
|
|
9824
|
-
__decorate([
|
|
9825
|
-
Input()
|
|
9826
|
-
], FieldsetComponent.prototype, "config", void 0);
|
|
9827
|
-
__decorate([
|
|
9828
|
-
Input()
|
|
9829
|
-
], FieldsetComponent.prototype, "group", void 0);
|
|
9830
|
-
__decorate([
|
|
9831
|
-
Input()
|
|
9832
|
-
], FieldsetComponent.prototype, "errorMessages", void 0);
|
|
9833
|
-
FieldsetComponent = __decorate([
|
|
9834
|
-
Component({
|
|
9835
|
-
selector: "s-fieldset",
|
|
9836
|
-
template: `
|
|
9837
|
-
<p-fieldset [toggleable]="true" (onBeforeToggle)="config.beforeToggle ? config.beforeToggle($event) : 'null'"
|
|
9838
|
-
(onAfterToggle)="config.afterToggle ? config.afterToggle($event) : 'null'">
|
|
9839
|
-
<p-header>{{config.header}}</p-header>
|
|
9840
|
-
<ng-container *ngFor="let conf of config.configs">
|
|
9841
|
-
<ng-container *sDynamicForm="{ id: id, config: conf, group: group, errorMessages: errorMessages }"></ng-container>
|
|
9842
|
-
</ng-container>
|
|
9843
|
-
</p-fieldset>
|
|
9844
|
-
`
|
|
9845
|
-
})
|
|
9846
|
-
], FieldsetComponent);
|
|
9847
|
-
|
|
9848
9848
|
let FileUploadComponent$1 = class FileUploadComponent extends BaseFieldComponent {
|
|
9849
9849
|
constructor(changeDetectorRef, elementRef) {
|
|
9850
9850
|
super();
|
|
@@ -9952,31 +9952,6 @@ RadioButtonComponent = __decorate([
|
|
|
9952
9952
|
})
|
|
9953
9953
|
], RadioButtonComponent);
|
|
9954
9954
|
|
|
9955
|
-
let SectionComponent = class SectionComponent {
|
|
9956
|
-
};
|
|
9957
|
-
__decorate([
|
|
9958
|
-
Input()
|
|
9959
|
-
], SectionComponent.prototype, "id", void 0);
|
|
9960
|
-
__decorate([
|
|
9961
|
-
Input()
|
|
9962
|
-
], SectionComponent.prototype, "config", void 0);
|
|
9963
|
-
__decorate([
|
|
9964
|
-
Input()
|
|
9965
|
-
], SectionComponent.prototype, "group", void 0);
|
|
9966
|
-
__decorate([
|
|
9967
|
-
Input()
|
|
9968
|
-
], SectionComponent.prototype, "errorMessages", void 0);
|
|
9969
|
-
SectionComponent = __decorate([
|
|
9970
|
-
Component({
|
|
9971
|
-
template: `
|
|
9972
|
-
<h3 *ngIf="config?.header" class="sds-section-title">{{config.header}}</h3>
|
|
9973
|
-
<ng-container *ngFor="let conf of config.configs">
|
|
9974
|
-
<ng-container *sDynamicForm="{ id: id, config: conf, group: group, errorMessages: errorMessages }"></ng-container>
|
|
9975
|
-
</ng-container>
|
|
9976
|
-
`
|
|
9977
|
-
})
|
|
9978
|
-
], SectionComponent);
|
|
9979
|
-
|
|
9980
9955
|
let SelectFieldComponent = class SelectFieldComponent extends BaseFieldComponent {
|
|
9981
9956
|
};
|
|
9982
9957
|
__decorate([
|
|
@@ -10095,32 +10070,6 @@ SliderFieldComponent = __decorate([
|
|
|
10095
10070
|
})
|
|
10096
10071
|
], SliderFieldComponent);
|
|
10097
10072
|
|
|
10098
|
-
let TextAreaFieldComponent = class TextAreaFieldComponent {
|
|
10099
|
-
constructor(changeDetectorRef) {
|
|
10100
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
10101
|
-
}
|
|
10102
|
-
ngAfterViewInit() {
|
|
10103
|
-
this.changeDetectorRef.detectChanges();
|
|
10104
|
-
}
|
|
10105
|
-
};
|
|
10106
|
-
TextAreaFieldComponent.ctorParameters = () => [
|
|
10107
|
-
{ type: ChangeDetectorRef }
|
|
10108
|
-
];
|
|
10109
|
-
__decorate([
|
|
10110
|
-
Input()
|
|
10111
|
-
], TextAreaFieldComponent.prototype, "field", void 0);
|
|
10112
|
-
__decorate([
|
|
10113
|
-
Input()
|
|
10114
|
-
], TextAreaFieldComponent.prototype, "formControl", void 0);
|
|
10115
|
-
__decorate([
|
|
10116
|
-
ViewChild('inputRef')
|
|
10117
|
-
], TextAreaFieldComponent.prototype, "inputRef", void 0);
|
|
10118
|
-
TextAreaFieldComponent = __decorate([
|
|
10119
|
-
Component({
|
|
10120
|
-
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n\n<textarea #inputRef\n [id]=\"(field.id || field.name)\"\n *ngIf=\"!field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n<textarea #inputRef\n [id]=\"(field.id || field.name)\"\n *ngIf=\"field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [pKeyFilter]=\"field.keyFilter\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n"
|
|
10121
|
-
})
|
|
10122
|
-
], TextAreaFieldComponent);
|
|
10123
|
-
|
|
10124
10073
|
let TextAreaIAFieldComponent = class TextAreaIAFieldComponent {
|
|
10125
10074
|
constructor(_iassistService, _formBuilder, _translateService) {
|
|
10126
10075
|
this._iassistService = _iassistService;
|
|
@@ -10199,6 +10148,86 @@ TextAreaIAFieldComponent = __decorate([
|
|
|
10199
10148
|
})
|
|
10200
10149
|
], TextAreaIAFieldComponent);
|
|
10201
10150
|
|
|
10151
|
+
let TextAreaFieldComponent = class TextAreaFieldComponent {
|
|
10152
|
+
constructor(changeDetectorRef) {
|
|
10153
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
10154
|
+
}
|
|
10155
|
+
ngAfterViewInit() {
|
|
10156
|
+
this.changeDetectorRef.detectChanges();
|
|
10157
|
+
}
|
|
10158
|
+
};
|
|
10159
|
+
TextAreaFieldComponent.ctorParameters = () => [
|
|
10160
|
+
{ type: ChangeDetectorRef }
|
|
10161
|
+
];
|
|
10162
|
+
__decorate([
|
|
10163
|
+
Input()
|
|
10164
|
+
], TextAreaFieldComponent.prototype, "field", void 0);
|
|
10165
|
+
__decorate([
|
|
10166
|
+
Input()
|
|
10167
|
+
], TextAreaFieldComponent.prototype, "formControl", void 0);
|
|
10168
|
+
__decorate([
|
|
10169
|
+
ViewChild('inputRef')
|
|
10170
|
+
], TextAreaFieldComponent.prototype, "inputRef", void 0);
|
|
10171
|
+
TextAreaFieldComponent = __decorate([
|
|
10172
|
+
Component({
|
|
10173
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n\n<textarea #inputRef\n [id]=\"(field.id || field.name)\"\n *ngIf=\"!field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n<textarea #inputRef\n [id]=\"(field.id || field.name)\"\n *ngIf=\"field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [pKeyFilter]=\"field.keyFilter\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n"
|
|
10174
|
+
})
|
|
10175
|
+
], TextAreaFieldComponent);
|
|
10176
|
+
|
|
10177
|
+
let FieldsetComponent = class FieldsetComponent {
|
|
10178
|
+
};
|
|
10179
|
+
__decorate([
|
|
10180
|
+
Input()
|
|
10181
|
+
], FieldsetComponent.prototype, "id", void 0);
|
|
10182
|
+
__decorate([
|
|
10183
|
+
Input()
|
|
10184
|
+
], FieldsetComponent.prototype, "config", void 0);
|
|
10185
|
+
__decorate([
|
|
10186
|
+
Input()
|
|
10187
|
+
], FieldsetComponent.prototype, "group", void 0);
|
|
10188
|
+
__decorate([
|
|
10189
|
+
Input()
|
|
10190
|
+
], FieldsetComponent.prototype, "errorMessages", void 0);
|
|
10191
|
+
FieldsetComponent = __decorate([
|
|
10192
|
+
Component({
|
|
10193
|
+
selector: "s-fieldset",
|
|
10194
|
+
template: `
|
|
10195
|
+
<p-fieldset [toggleable]="true" (onBeforeToggle)="config.beforeToggle ? config.beforeToggle($event) : 'null'"
|
|
10196
|
+
(onAfterToggle)="config.afterToggle ? config.afterToggle($event) : 'null'">
|
|
10197
|
+
<p-header>{{config.header}}</p-header>
|
|
10198
|
+
<ng-container *ngFor="let conf of config.configs">
|
|
10199
|
+
<ng-container *sDynamicForm="{ id: id, config: conf, group: group, errorMessages: errorMessages }"></ng-container>
|
|
10200
|
+
</ng-container>
|
|
10201
|
+
</p-fieldset>
|
|
10202
|
+
`
|
|
10203
|
+
})
|
|
10204
|
+
], FieldsetComponent);
|
|
10205
|
+
|
|
10206
|
+
let SectionComponent = class SectionComponent {
|
|
10207
|
+
};
|
|
10208
|
+
__decorate([
|
|
10209
|
+
Input()
|
|
10210
|
+
], SectionComponent.prototype, "id", void 0);
|
|
10211
|
+
__decorate([
|
|
10212
|
+
Input()
|
|
10213
|
+
], SectionComponent.prototype, "config", void 0);
|
|
10214
|
+
__decorate([
|
|
10215
|
+
Input()
|
|
10216
|
+
], SectionComponent.prototype, "group", void 0);
|
|
10217
|
+
__decorate([
|
|
10218
|
+
Input()
|
|
10219
|
+
], SectionComponent.prototype, "errorMessages", void 0);
|
|
10220
|
+
SectionComponent = __decorate([
|
|
10221
|
+
Component({
|
|
10222
|
+
template: `
|
|
10223
|
+
<h3 *ngIf="config?.header" class="sds-section-title">{{config.header}}</h3>
|
|
10224
|
+
<ng-container *ngFor="let conf of config.configs">
|
|
10225
|
+
<ng-container *sDynamicForm="{ id: id, config: conf, group: group, errorMessages: errorMessages }"></ng-container>
|
|
10226
|
+
</ng-container>
|
|
10227
|
+
`
|
|
10228
|
+
})
|
|
10229
|
+
], SectionComponent);
|
|
10230
|
+
|
|
10202
10231
|
let RowComponent = class RowComponent {
|
|
10203
10232
|
constructor() { }
|
|
10204
10233
|
ngOnInit() { }
|
|
@@ -10597,6 +10626,20 @@ TextFieldComponent = __decorate([
|
|
|
10597
10626
|
})
|
|
10598
10627
|
], TextFieldComponent);
|
|
10599
10628
|
|
|
10629
|
+
let CodeEditorFieldComponent = class CodeEditorFieldComponent {
|
|
10630
|
+
};
|
|
10631
|
+
__decorate([
|
|
10632
|
+
Input()
|
|
10633
|
+
], CodeEditorFieldComponent.prototype, "field", void 0);
|
|
10634
|
+
__decorate([
|
|
10635
|
+
Input()
|
|
10636
|
+
], CodeEditorFieldComponent.prototype, "formControl", void 0);
|
|
10637
|
+
CodeEditorFieldComponent = __decorate([
|
|
10638
|
+
Component({
|
|
10639
|
+
template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<s-code-editor\n [editorOptions]=\"field.editorOptions\"\n [(code)]=\"field.code\"\n [formControl]=\"formControl\"\n (onComponentFinishLoad)=\"field.onComponentFinishLoad ? field.onComponentFinishLoad($event) : null\"\n (onCodeChange)=\"field.onCodeChange ? field.onCodeChange($event) : null\">\n</s-code-editor>"
|
|
10640
|
+
})
|
|
10641
|
+
], CodeEditorFieldComponent);
|
|
10642
|
+
|
|
10600
10643
|
let CheckboxFieldComponent = class CheckboxFieldComponent {
|
|
10601
10644
|
};
|
|
10602
10645
|
__decorate([
|
|
@@ -10607,7 +10650,7 @@ __decorate([
|
|
|
10607
10650
|
], CheckboxFieldComponent.prototype, "formControl", void 0);
|
|
10608
10651
|
CheckboxFieldComponent = __decorate([
|
|
10609
10652
|
Component({
|
|
10610
|
-
template: "<s-checkbox
|
|
10653
|
+
template: "<s-checkbox\n [data]=\"field.data\"\n [formControl]=\"formControl\">\n</s-checkbox>"
|
|
10611
10654
|
})
|
|
10612
10655
|
], CheckboxFieldComponent);
|
|
10613
10656
|
|
|
@@ -10808,6 +10851,8 @@ class DynamicField extends DynamicForm {
|
|
|
10808
10851
|
return CheckboxFieldComponent;
|
|
10809
10852
|
case FieldType.Chips:
|
|
10810
10853
|
return ChipsFieldComponent;
|
|
10854
|
+
case FieldType.CodeEditor:
|
|
10855
|
+
return CodeEditorFieldComponent;
|
|
10811
10856
|
case FieldType.CountryPhonePicker:
|
|
10812
10857
|
return CountryPhonePickerFieldComponent;
|
|
10813
10858
|
case FieldType.Date:
|
|
@@ -11012,44 +11057,64 @@ FieldLabelModule = __decorate([
|
|
|
11012
11057
|
})
|
|
11013
11058
|
], FieldLabelModule);
|
|
11014
11059
|
|
|
11015
|
-
let
|
|
11060
|
+
let BignumberFieldModule = class BignumberFieldModule {
|
|
11016
11061
|
};
|
|
11017
|
-
|
|
11062
|
+
BignumberFieldModule = __decorate([
|
|
11018
11063
|
NgModule({
|
|
11019
11064
|
imports: [
|
|
11020
11065
|
CommonModule,
|
|
11021
11066
|
FormsModule,
|
|
11022
11067
|
ReactiveFormsModule,
|
|
11023
11068
|
ButtonModule,
|
|
11069
|
+
BignumberInputModule,
|
|
11024
11070
|
TooltipModule,
|
|
11025
|
-
|
|
11071
|
+
InputMaskModule,
|
|
11026
11072
|
InputTextModule,
|
|
11027
11073
|
FieldLabelModule
|
|
11028
11074
|
],
|
|
11029
|
-
declarations: [
|
|
11030
|
-
exports: [
|
|
11075
|
+
declarations: [BignumberFieldComponent],
|
|
11076
|
+
exports: [BignumberFieldComponent],
|
|
11031
11077
|
})
|
|
11032
|
-
],
|
|
11078
|
+
], BignumberFieldModule);
|
|
11033
11079
|
|
|
11034
|
-
let
|
|
11080
|
+
let CheckboxFieldModule = class CheckboxFieldModule {
|
|
11035
11081
|
};
|
|
11036
|
-
|
|
11082
|
+
CheckboxFieldModule = __decorate([
|
|
11083
|
+
NgModule({
|
|
11084
|
+
imports: [CommonModule, FormsModule, ReactiveFormsModule, CheckboxModule],
|
|
11085
|
+
declarations: [CheckboxFieldComponent],
|
|
11086
|
+
exports: [CheckboxFieldComponent],
|
|
11087
|
+
})
|
|
11088
|
+
], CheckboxFieldModule);
|
|
11089
|
+
|
|
11090
|
+
let CurrencyFieldModule = class CurrencyFieldModule {
|
|
11091
|
+
};
|
|
11092
|
+
CurrencyFieldModule = __decorate([
|
|
11037
11093
|
NgModule({
|
|
11038
11094
|
imports: [
|
|
11039
11095
|
CommonModule,
|
|
11040
11096
|
FormsModule,
|
|
11041
11097
|
ReactiveFormsModule,
|
|
11042
|
-
|
|
11098
|
+
NumberInputModule,
|
|
11043
11099
|
TooltipModule,
|
|
11044
11100
|
InputMaskModule,
|
|
11045
11101
|
InputTextModule,
|
|
11046
|
-
KeyFilterModule,
|
|
11047
11102
|
FieldLabelModule
|
|
11048
11103
|
],
|
|
11049
|
-
declarations: [
|
|
11050
|
-
exports: [
|
|
11104
|
+
declarations: [CurrencyFieldComponent],
|
|
11105
|
+
exports: [CurrencyFieldComponent],
|
|
11051
11106
|
})
|
|
11052
|
-
],
|
|
11107
|
+
], CurrencyFieldModule);
|
|
11108
|
+
|
|
11109
|
+
let EditorFieldModule = class EditorFieldModule {
|
|
11110
|
+
};
|
|
11111
|
+
EditorFieldModule = __decorate([
|
|
11112
|
+
NgModule({
|
|
11113
|
+
imports: [CommonModule, FormsModule, ReactiveFormsModule, EditorModule, FieldLabelModule],
|
|
11114
|
+
declarations: [EditorFieldComponent],
|
|
11115
|
+
exports: [EditorFieldComponent],
|
|
11116
|
+
})
|
|
11117
|
+
], EditorFieldModule);
|
|
11053
11118
|
|
|
11054
11119
|
let NumberFieldModule = class NumberFieldModule {
|
|
11055
11120
|
};
|
|
@@ -11072,44 +11137,24 @@ NumberFieldModule = __decorate([
|
|
|
11072
11137
|
})
|
|
11073
11138
|
], NumberFieldModule);
|
|
11074
11139
|
|
|
11075
|
-
let
|
|
11076
|
-
};
|
|
11077
|
-
CurrencyFieldModule = __decorate([
|
|
11078
|
-
NgModule({
|
|
11079
|
-
imports: [
|
|
11080
|
-
CommonModule,
|
|
11081
|
-
FormsModule,
|
|
11082
|
-
ReactiveFormsModule,
|
|
11083
|
-
NumberInputModule,
|
|
11084
|
-
TooltipModule,
|
|
11085
|
-
InputMaskModule,
|
|
11086
|
-
InputTextModule,
|
|
11087
|
-
FieldLabelModule
|
|
11088
|
-
],
|
|
11089
|
-
declarations: [CurrencyFieldComponent],
|
|
11090
|
-
exports: [CurrencyFieldComponent],
|
|
11091
|
-
})
|
|
11092
|
-
], CurrencyFieldModule);
|
|
11093
|
-
|
|
11094
|
-
let BignumberFieldModule = class BignumberFieldModule {
|
|
11140
|
+
let PasswordFieldModule = class PasswordFieldModule {
|
|
11095
11141
|
};
|
|
11096
|
-
|
|
11142
|
+
PasswordFieldModule = __decorate([
|
|
11097
11143
|
NgModule({
|
|
11098
11144
|
imports: [
|
|
11099
11145
|
CommonModule,
|
|
11100
11146
|
FormsModule,
|
|
11101
11147
|
ReactiveFormsModule,
|
|
11102
11148
|
ButtonModule,
|
|
11103
|
-
BignumberInputModule,
|
|
11104
11149
|
TooltipModule,
|
|
11105
|
-
|
|
11150
|
+
PasswordStrengthModule,
|
|
11106
11151
|
InputTextModule,
|
|
11107
11152
|
FieldLabelModule
|
|
11108
11153
|
],
|
|
11109
|
-
declarations: [
|
|
11110
|
-
exports: [
|
|
11154
|
+
declarations: [PasswordFieldComponent],
|
|
11155
|
+
exports: [PasswordFieldComponent],
|
|
11111
11156
|
})
|
|
11112
|
-
],
|
|
11157
|
+
], PasswordFieldModule);
|
|
11113
11158
|
|
|
11114
11159
|
let HeaderComponent = class HeaderComponent {
|
|
11115
11160
|
};
|
|
@@ -11831,25 +11876,35 @@ ProfilePictureModule = __decorate([
|
|
|
11831
11876
|
})
|
|
11832
11877
|
], ProfilePictureModule);
|
|
11833
11878
|
|
|
11834
|
-
let
|
|
11879
|
+
let TextFieldModule = class TextFieldModule {
|
|
11835
11880
|
};
|
|
11836
|
-
|
|
11881
|
+
TextFieldModule = __decorate([
|
|
11837
11882
|
NgModule({
|
|
11838
|
-
imports: [
|
|
11839
|
-
|
|
11840
|
-
|
|
11883
|
+
imports: [
|
|
11884
|
+
CommonModule,
|
|
11885
|
+
FormsModule,
|
|
11886
|
+
ReactiveFormsModule,
|
|
11887
|
+
ButtonModule,
|
|
11888
|
+
TooltipModule,
|
|
11889
|
+
InputMaskModule,
|
|
11890
|
+
InputTextModule,
|
|
11891
|
+
KeyFilterModule,
|
|
11892
|
+
FieldLabelModule
|
|
11893
|
+
],
|
|
11894
|
+
declarations: [TextFieldComponent],
|
|
11895
|
+
exports: [TextFieldComponent],
|
|
11841
11896
|
})
|
|
11842
|
-
],
|
|
11897
|
+
], TextFieldModule);
|
|
11843
11898
|
|
|
11844
|
-
let
|
|
11899
|
+
let CodeEditorFieldModule = class CodeEditorFieldModule {
|
|
11845
11900
|
};
|
|
11846
|
-
|
|
11901
|
+
CodeEditorFieldModule = __decorate([
|
|
11847
11902
|
NgModule({
|
|
11848
|
-
imports: [CommonModule,
|
|
11849
|
-
declarations: [
|
|
11850
|
-
exports: [
|
|
11903
|
+
imports: [CommonModule, FieldLabelModule, CodeEditorModule, FormsModule, ReactiveFormsModule],
|
|
11904
|
+
declarations: [CodeEditorFieldComponent],
|
|
11905
|
+
exports: [CodeEditorFieldComponent],
|
|
11851
11906
|
})
|
|
11852
|
-
],
|
|
11907
|
+
], CodeEditorFieldModule);
|
|
11853
11908
|
|
|
11854
11909
|
let DynamicFormModule = class DynamicFormModule {
|
|
11855
11910
|
};
|
|
@@ -11899,6 +11954,7 @@ DynamicFormModule = __decorate([
|
|
|
11899
11954
|
PasswordStrengthModule,
|
|
11900
11955
|
SliderModule,
|
|
11901
11956
|
TranslateModule.forChild(),
|
|
11957
|
+
CodeEditorFieldModule,
|
|
11902
11958
|
PasswordFieldModule,
|
|
11903
11959
|
TextFieldModule,
|
|
11904
11960
|
NumberFieldModule,
|
|
@@ -11907,7 +11963,7 @@ DynamicFormModule = __decorate([
|
|
|
11907
11963
|
CheckboxFieldModule,
|
|
11908
11964
|
ProfilePictureModule,
|
|
11909
11965
|
EditorFieldModule,
|
|
11910
|
-
FieldLabelModule
|
|
11966
|
+
FieldLabelModule,
|
|
11911
11967
|
],
|
|
11912
11968
|
declarations: [
|
|
11913
11969
|
AutocompleteFieldComponent,
|
|
@@ -11932,24 +11988,6 @@ DynamicFormModule = __decorate([
|
|
|
11932
11988
|
TextAreaIAFieldComponent,
|
|
11933
11989
|
],
|
|
11934
11990
|
exports: [DynamicFormComponent, LookupComponent],
|
|
11935
|
-
entryComponents: [
|
|
11936
|
-
AutocompleteFieldComponent,
|
|
11937
|
-
BooleanFieldComponent,
|
|
11938
|
-
BooleanSwitchFieldComponent,
|
|
11939
|
-
CalendarFieldComponent,
|
|
11940
|
-
ChipsFieldComponent,
|
|
11941
|
-
CountryPhonePickerFieldComponent,
|
|
11942
|
-
FieldsetComponent,
|
|
11943
|
-
FileUploadComponent$1,
|
|
11944
|
-
LookupFieldComponent,
|
|
11945
|
-
RadioButtonComponent,
|
|
11946
|
-
RowComponent,
|
|
11947
|
-
SectionComponent,
|
|
11948
|
-
SelectFieldComponent,
|
|
11949
|
-
SliderFieldComponent,
|
|
11950
|
-
TextAreaFieldComponent,
|
|
11951
|
-
TextAreaIAFieldComponent,
|
|
11952
|
-
],
|
|
11953
11991
|
providers: [
|
|
11954
11992
|
HotkeysService,
|
|
11955
11993
|
IAssistService,
|
|
@@ -18467,5 +18505,5 @@ const fallback = {
|
|
|
18467
18505
|
* Generated bundle index. Do not edit.
|
|
18468
18506
|
*/
|
|
18469
18507
|
|
|
18470
|
-
export { AccordionComponent, AccordionModule, AccordionPanelComponent, AlertComponent, AlertModule, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, CheckboxComponent, CheckboxModule, ChipsField, 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, 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, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TemplateModule, TextAreaField, TextAreaIAComponent, TextAreaIAModule, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, TablePagingComponent as ɵba,
|
|
18508
|
+
export { AccordionComponent, AccordionModule, AccordionPanelComponent, AlertComponent, AlertModule, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, CheckboxComponent, CheckboxModule, ChipsField, CodeEditorField, 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, 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, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TemplateModule, TextAreaField, TextAreaIAComponent, TextAreaIAModule, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, TablePagingComponent as ɵba, CodeEditorFieldModule as ɵbb, FieldLabelModule as ɵbc, InfoSignModule as ɵbd, FieldLabelComponent as ɵbe, CodeEditorFieldComponent as ɵbf, PasswordFieldModule as ɵbg, PasswordFieldComponent as ɵbh, TextFieldModule as ɵbi, TextFieldComponent as ɵbj, NumberFieldModule as ɵbk, LocalizedNumberInputModule as ɵbl, NumberInputModule as ɵbm, NumberFieldComponent as ɵbn, CurrencyFieldModule as ɵbo, CurrencyFieldComponent as ɵbp, BignumberFieldModule as ɵbq, BignumberInputModule as ɵbr, BignumberFieldComponent as ɵbs, CheckboxFieldModule as ɵbt, CheckboxFieldComponent as ɵbu, ProfilePictureModule as ɵbv, ThumbnailService as ɵbw, StructureModule as ɵbx, HeaderComponent as ɵby, FooterComponent as ɵbz, TieredMenuEventService as ɵc, ProfilePictureFieldComponent as ɵca, EditorFieldModule as ɵcb, EditorFieldComponent as ɵcc, AutocompleteFieldComponent as ɵcd, BooleanFieldComponent as ɵce, BooleanSwitchFieldComponent as ɵcf, CalendarFieldComponent as ɵcg, ChipsFieldComponent as ɵch, CountryPhonePickerFieldComponent as ɵci, DynamicFieldComponent as ɵcj, DynamicFormDirective as ɵck, FieldsetComponent as ɵcl, FileUploadComponent$1 as ɵcm, LookupFieldComponent as ɵcn, RadioButtonComponent as ɵco, RowComponent as ɵcp, SectionComponent as ɵcq, SelectFieldComponent as ɵcr, SliderFieldComponent as ɵcs, TextAreaFieldComponent as ɵct, TextAreaIAFieldComponent as ɵcu, IAssistService as ɵcv, DecimalField as ɵcx, SideTableComponent as ɵcy, InfiniteScrollModule as ɵcz, TieredMenuService as ɵd, InfiniteScrollDirective as ɵda, IAInsightSidebarComponent as ɵdb, IAInsightCardComponent as ɵdc, IAInsightCardLoaderComponent as ɵdd, InlineEditItemComponent as ɵde, LocaleService 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, TimelineItemModule as ɵdx, TimelineIconItemComponent as ɵdy, HorizontalTimelineModule as ɵdz, TieredMenuGlobalService as ɵe, HorizontalTimelineComponent as ɵea, VerticalTimelineModule as ɵeb, VerticalTimelineComponent as ɵec, RangeLineComponent as ɵed, CollapseOptionComponent as ɵee, CollapsedItemsComponent as ɵef, VerticalItemsComponent as ɵeg, TieredMenuComponent as ɵf, TieredMenuNestedComponent as ɵg, TieredMenuItemComponent as ɵh, TieredMenuDividerComponent as ɵi, CustomTranslationsModule as ɵj, CodeEditorComponent as ɵk, CoreFacade as ɵl, CodeMirror6Core as ɵm, CountryPhonePickerService as ɵn, LocalizedCurrencyImpurePipe as ɵo, LocalizedBignumberPipe as ɵp, LocalizedBignumberImpurePipe as ɵq, NumericPipe as ɵr, EmptyStateGoBackComponent as ɵs, IAssistIconComponent as ɵt, SeniorIconComponent as ɵu, DotsIndicatorComponent as ɵv, LoadingIndicatorComponent as ɵw, FileUploadService as ɵx, InfoSignComponent as ɵy, TableColumnsComponent as ɵz };
|
|
18471
18509
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|