@seniorsistemas/angular-components 17.14.0 → 17.14.1
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 +1 -1
- 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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/animations'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@angular/forms'), require('@angular/router'), require('@angular/common/http'), require('@seniorsistemas/senior-platform-data'), require('moment'), require('ngx-cookie-service'), require('@seniorsistemas/ng2-currency-mask'), require('primeng/breadcrumb'), require('primeng/dom'), require('primeng/tieredmenu'), require('primeng/tooltip'), require('primeng/calendar'), require('@codemirror/view'), require('@codemirror/state'), require('@codemirror/lint'), require('@codemirror/language'), require('@lezer/generator'), require('@codemirror/highlight'), require('@codemirror/autocomplete'), require('@ngx-translate/core'), require('@codemirror/tooltip'), require('@codemirror/gutter'), require('ngx-mask'), require('angular2-hotkeys'), require('bignumber.js'), require('primeng/autocomplete'), require('primeng/dialog'), require('primeng/table'), require('ng2-currency-mask'), require('primeng/button'), require('primeng/checkbox'), require('primeng/chips'), require('primeng/dropdown'), require('primeng/fieldset'), require('primeng/inputmask'), require('primeng/inputtext'), require('primeng/inputtextarea'), require('primeng/keyfilter'), require('primeng/multiselect'), require('primeng/panel'), require('primeng/radiobutton'), require('primeng/slider'), require('primeng/api'), require('primeng/progressbar'), require('@angular/platform-browser'), require('@angular/cdk/clipboard'), require('primeng/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@seniorsistemas/angular-components', ['exports', '@angular/core', '@angular/animations', 'rxjs', 'rxjs/operators', '@angular/common', '@angular/forms', '@angular/router', '@angular/common/http', '@seniorsistemas/senior-platform-data', 'moment', 'ngx-cookie-service', '@seniorsistemas/ng2-currency-mask', 'primeng/breadcrumb', 'primeng/dom', 'primeng/tieredmenu', 'primeng/tooltip', 'primeng/calendar', '@codemirror/view', '@codemirror/state', '@codemirror/lint', '@codemirror/language', '@lezer/generator', '@codemirror/highlight', '@codemirror/autocomplete', '@ngx-translate/core', '@codemirror/tooltip', '@codemirror/gutter', 'ngx-mask', 'angular2-hotkeys', 'bignumber.js', 'primeng/autocomplete', 'primeng/dialog', 'primeng/table', 'ng2-currency-mask', 'primeng/button', 'primeng/checkbox', 'primeng/chips', 'primeng/dropdown', 'primeng/fieldset', 'primeng/inputmask', 'primeng/inputtext', 'primeng/inputtextarea', 'primeng/keyfilter', 'primeng/multiselect', 'primeng/panel', 'primeng/radiobutton', 'primeng/slider', 'primeng/api', 'primeng/progressbar', '@angular/platform-browser', '@angular/cdk/clipboard', 'primeng/
|
|
4
|
-
(global = global || self, factory((global.seniorsistemas = global.seniorsistemas || {}, global.seniorsistemas['angular-components'] = {}), global.ng.core, global.ng.animations, global.rxjs, global.rxjs.operators, global.ng.common, global.ng.forms, global.ng.router, global.ng.common.http, global.seniorPlatformData, global.moment_, global.ngxCookieService, global.ng2CurrencyMask, global.breadcrumb, global.dom, global.tieredmenu, global.tooltip, global.calendar, global.view, global.state, global.lint, global.language, global.generator, global.highlight, global.autocomplete$1, global.core$1, global.tooltip$1, global.gutter, global.ngxMask, global.angular2Hotkeys, global.BigNumber, global.autocomplete$2, global.dialog, global.table, global.ng2CurrencyMask$1, global.button, global.checkbox, global.chips, global.dropdown, global.fieldset, global.inputmask, global.inputtext, global.inputtextarea, global.keyfilter, global.multiselect, global.panel, global.radiobutton, global.slider, global.api, global.progressbar, global.ng.platformBrowser, global.ng.cdk.clipboard, global.
|
|
5
|
-
}(this, (function (exports, core, animations, rxjs, operators, common, forms, router, http, seniorPlatformData, moment_, ngxCookieService, ng2CurrencyMask, breadcrumb, dom, tieredmenu, tooltip, calendar, view, state, lint, language, generator, highlight, autocomplete$1, core$1, tooltip$1, gutter, ngxMask, angular2Hotkeys, BigNumber, autocomplete$2, dialog, table, ng2CurrencyMask$1, button, checkbox, chips, dropdown, fieldset, inputmask, inputtext, inputtextarea, keyfilter, multiselect, panel, radiobutton, slider, api, progressbar, platformBrowser, clipboard, confirmdialog, Cropper,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/animations'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@angular/forms'), require('@angular/router'), require('@angular/common/http'), require('@seniorsistemas/senior-platform-data'), require('moment'), require('ngx-cookie-service'), require('@seniorsistemas/ng2-currency-mask'), require('primeng/breadcrumb'), require('primeng/dom'), require('primeng/tieredmenu'), require('primeng/tooltip'), require('primeng/calendar'), require('@codemirror/view'), require('@codemirror/state'), require('@codemirror/lint'), require('@codemirror/language'), require('@lezer/generator'), require('@codemirror/highlight'), require('@codemirror/autocomplete'), require('@ngx-translate/core'), require('@codemirror/tooltip'), require('@codemirror/gutter'), require('ngx-mask'), require('angular2-hotkeys'), require('bignumber.js'), require('primeng/autocomplete'), require('primeng/dialog'), require('primeng/table'), require('ng2-currency-mask'), require('primeng/button'), require('primeng/checkbox'), require('primeng/chips'), require('primeng/dropdown'), require('primeng/fieldset'), require('primeng/inputmask'), require('primeng/inputtext'), require('primeng/inputtextarea'), require('primeng/keyfilter'), require('primeng/multiselect'), require('primeng/panel'), require('primeng/radiobutton'), require('primeng/slider'), require('primeng/api'), require('primeng/progressbar'), require('@angular/platform-browser'), require('@angular/cdk/clipboard'), require('primeng/editor'), require('primeng/confirmdialog'), require('cropperjs'), require('marked'), require('@angular/cdk/drag-drop'), require('element-resize-detector'), require('@angular/cdk/a11y'), require('primeng/scrollpanel'), require('primeng/sidebar')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@seniorsistemas/angular-components', ['exports', '@angular/core', '@angular/animations', 'rxjs', 'rxjs/operators', '@angular/common', '@angular/forms', '@angular/router', '@angular/common/http', '@seniorsistemas/senior-platform-data', 'moment', 'ngx-cookie-service', '@seniorsistemas/ng2-currency-mask', 'primeng/breadcrumb', 'primeng/dom', 'primeng/tieredmenu', 'primeng/tooltip', 'primeng/calendar', '@codemirror/view', '@codemirror/state', '@codemirror/lint', '@codemirror/language', '@lezer/generator', '@codemirror/highlight', '@codemirror/autocomplete', '@ngx-translate/core', '@codemirror/tooltip', '@codemirror/gutter', 'ngx-mask', 'angular2-hotkeys', 'bignumber.js', 'primeng/autocomplete', 'primeng/dialog', 'primeng/table', 'ng2-currency-mask', 'primeng/button', 'primeng/checkbox', 'primeng/chips', 'primeng/dropdown', 'primeng/fieldset', 'primeng/inputmask', 'primeng/inputtext', 'primeng/inputtextarea', 'primeng/keyfilter', 'primeng/multiselect', 'primeng/panel', 'primeng/radiobutton', 'primeng/slider', 'primeng/api', 'primeng/progressbar', '@angular/platform-browser', '@angular/cdk/clipboard', 'primeng/editor', 'primeng/confirmdialog', 'cropperjs', 'marked', '@angular/cdk/drag-drop', 'element-resize-detector', '@angular/cdk/a11y', 'primeng/scrollpanel', 'primeng/sidebar'], factory) :
|
|
4
|
+
(global = global || self, factory((global.seniorsistemas = global.seniorsistemas || {}, global.seniorsistemas['angular-components'] = {}), global.ng.core, global.ng.animations, global.rxjs, global.rxjs.operators, global.ng.common, global.ng.forms, global.ng.router, global.ng.common.http, global.seniorPlatformData, global.moment_, global.ngxCookieService, global.ng2CurrencyMask, global.breadcrumb, global.dom, global.tieredmenu, global.tooltip, global.calendar, global.view, global.state, global.lint, global.language, global.generator, global.highlight, global.autocomplete$1, global.core$1, global.tooltip$1, global.gutter, global.ngxMask, global.angular2Hotkeys, global.BigNumber, global.autocomplete$2, global.dialog, global.table, global.ng2CurrencyMask$1, global.button, global.checkbox, global.chips, global.dropdown, global.fieldset, global.inputmask, global.inputtext, global.inputtextarea, global.keyfilter, global.multiselect, global.panel, global.radiobutton, global.slider, global.api, global.progressbar, global.ng.platformBrowser, global.ng.cdk.clipboard, global.editor, global.confirmdialog, global.Cropper, global.marked, global.ng.cdk['drag-drop'], global.elementResizeDetectorMaker_, global.ng.cdk.a11y, global.scrollpanel, global.sidebar));
|
|
5
|
+
}(this, (function (exports, core, animations, rxjs, operators, common, forms, router, http, seniorPlatformData, moment_, ngxCookieService, ng2CurrencyMask, breadcrumb, dom, tieredmenu, tooltip, calendar, view, state, lint, language, generator, highlight, autocomplete$1, core$1, tooltip$1, gutter, ngxMask, angular2Hotkeys, BigNumber, autocomplete$2, dialog, table, ng2CurrencyMask$1, button, checkbox, chips, dropdown, fieldset, inputmask, inputtext, inputtextarea, keyfilter, multiselect, panel, radiobutton, slider, api, progressbar, platformBrowser, clipboard, editor, confirmdialog, Cropper, marked, dragDrop, elementResizeDetectorMaker_, a11y, scrollpanel, sidebar) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var BigNumber__default = 'default' in BigNumber ? BigNumber['default'] : BigNumber;
|
|
8
8
|
Cropper = Cropper && Cropper.hasOwnProperty('default') ? Cropper['default'] : Cropper;
|
|
@@ -3445,12 +3445,15 @@
|
|
|
3445
3445
|
var CodeEditorComponent = /** @class */ (function () {
|
|
3446
3446
|
function CodeEditorComponent(coreFacade) {
|
|
3447
3447
|
this.coreFacade = coreFacade;
|
|
3448
|
-
this._ngUnsubscribe = new rxjs.Subject();
|
|
3449
3448
|
this.codeChange = new core.EventEmitter();
|
|
3450
3449
|
this.isCodeValidChange = new core.EventEmitter();
|
|
3451
3450
|
this.onCodeChange = new core.EventEmitter();
|
|
3452
3451
|
this.onComponentFinishLoad = new core.EventEmitter();
|
|
3452
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
3453
|
+
this._onChange = function () { };
|
|
3454
|
+
this._onTouched = function () { };
|
|
3453
3455
|
}
|
|
3456
|
+
CodeEditorComponent_1 = CodeEditorComponent;
|
|
3454
3457
|
Object.defineProperty(CodeEditorComponent.prototype, "editorOptions", {
|
|
3455
3458
|
set: function (options) {
|
|
3456
3459
|
this.coreFacade.changeEditorOptions(options);
|
|
@@ -3465,6 +3468,15 @@
|
|
|
3465
3468
|
enumerable: true,
|
|
3466
3469
|
configurable: true
|
|
3467
3470
|
});
|
|
3471
|
+
CodeEditorComponent.prototype.writeValue = function (value) {
|
|
3472
|
+
this.code = value;
|
|
3473
|
+
};
|
|
3474
|
+
CodeEditorComponent.prototype.registerOnChange = function (onChange) {
|
|
3475
|
+
this._onChange = onChange;
|
|
3476
|
+
};
|
|
3477
|
+
CodeEditorComponent.prototype.registerOnTouched = function (onTouched) {
|
|
3478
|
+
this._onTouched = onTouched;
|
|
3479
|
+
};
|
|
3468
3480
|
CodeEditorComponent.prototype.ngOnInit = function () {
|
|
3469
3481
|
this.coreFacade.initCore();
|
|
3470
3482
|
this.setupCoreListeners();
|
|
@@ -3492,6 +3504,8 @@
|
|
|
3492
3504
|
.subscribe(function (code) {
|
|
3493
3505
|
_this.codeChange.emit(code);
|
|
3494
3506
|
_this.onCodeChange.emit(code);
|
|
3507
|
+
_this._onTouched();
|
|
3508
|
+
_this._onChange(code);
|
|
3495
3509
|
});
|
|
3496
3510
|
this.coreFacade
|
|
3497
3511
|
.getOnCodeValidityChangeObservable()
|
|
@@ -3500,12 +3514,10 @@
|
|
|
3500
3514
|
_this.isCodeValidChange.emit(validity);
|
|
3501
3515
|
});
|
|
3502
3516
|
};
|
|
3517
|
+
var CodeEditorComponent_1;
|
|
3503
3518
|
CodeEditorComponent.ctorParameters = function () { return [
|
|
3504
3519
|
{ type: CoreFacade }
|
|
3505
3520
|
]; };
|
|
3506
|
-
__decorate([
|
|
3507
|
-
core.ViewChild("coreWrapper")
|
|
3508
|
-
], CodeEditorComponent.prototype, "coreWrapperElement", void 0);
|
|
3509
3521
|
__decorate([
|
|
3510
3522
|
core.Input()
|
|
3511
3523
|
], CodeEditorComponent.prototype, "editorOptions", null);
|
|
@@ -3515,9 +3527,6 @@
|
|
|
3515
3527
|
__decorate([
|
|
3516
3528
|
core.Output()
|
|
3517
3529
|
], CodeEditorComponent.prototype, "codeChange", void 0);
|
|
3518
|
-
__decorate([
|
|
3519
|
-
core.Input()
|
|
3520
|
-
], CodeEditorComponent.prototype, "isCodeValid", void 0);
|
|
3521
3530
|
__decorate([
|
|
3522
3531
|
core.Output()
|
|
3523
3532
|
], CodeEditorComponent.prototype, "isCodeValidChange", void 0);
|
|
@@ -3527,10 +3536,20 @@
|
|
|
3527
3536
|
__decorate([
|
|
3528
3537
|
core.Output()
|
|
3529
3538
|
], CodeEditorComponent.prototype, "onComponentFinishLoad", void 0);
|
|
3530
|
-
|
|
3539
|
+
__decorate([
|
|
3540
|
+
core.ViewChild("coreWrapper")
|
|
3541
|
+
], CodeEditorComponent.prototype, "coreWrapperElement", void 0);
|
|
3542
|
+
CodeEditorComponent = CodeEditorComponent_1 = __decorate([
|
|
3531
3543
|
core.Component({
|
|
3532
3544
|
selector: "s-code-editor",
|
|
3533
3545
|
template: "<div #coreWrapper class=\"core-wrapper\"></div>",
|
|
3546
|
+
providers: [
|
|
3547
|
+
{
|
|
3548
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
3549
|
+
useExisting: core.forwardRef(function () { return CodeEditorComponent_1; }),
|
|
3550
|
+
multi: true,
|
|
3551
|
+
},
|
|
3552
|
+
],
|
|
3534
3553
|
styles: [".core-wrapper{height:100%}"]
|
|
3535
3554
|
})
|
|
3536
3555
|
], CodeEditorComponent);
|
|
@@ -4821,18 +4840,15 @@
|
|
|
4821
4840
|
}
|
|
4822
4841
|
CodeEditorModule = __decorate([
|
|
4823
4842
|
core.NgModule({
|
|
4824
|
-
imports: [
|
|
4825
|
-
common.CommonModule,
|
|
4826
|
-
CustomTranslationsModule,
|
|
4827
|
-
],
|
|
4843
|
+
imports: [common.CommonModule, CustomTranslationsModule],
|
|
4828
4844
|
declarations: [CodeEditorComponent],
|
|
4829
4845
|
exports: [CodeEditorComponent],
|
|
4830
4846
|
providers: [
|
|
4831
4847
|
{
|
|
4832
4848
|
provide: CoreFacade,
|
|
4833
|
-
useClass: CodeMirror6Core
|
|
4834
|
-
}
|
|
4835
|
-
]
|
|
4849
|
+
useClass: CodeMirror6Core,
|
|
4850
|
+
},
|
|
4851
|
+
],
|
|
4836
4852
|
})
|
|
4837
4853
|
], CodeEditorModule);
|
|
4838
4854
|
return CodeEditorModule;
|
|
@@ -5548,6 +5564,18 @@
|
|
|
5548
5564
|
return CountryPhonePickerModule;
|
|
5549
5565
|
}());
|
|
5550
5566
|
|
|
5567
|
+
var BaseFieldComponent = /** @class */ (function () {
|
|
5568
|
+
function BaseFieldComponent() {
|
|
5569
|
+
}
|
|
5570
|
+
BaseFieldComponent.prototype.isFunction = function (value) {
|
|
5571
|
+
return value instanceof Function;
|
|
5572
|
+
};
|
|
5573
|
+
BaseFieldComponent.prototype.trigger = function (callback) {
|
|
5574
|
+
return callback();
|
|
5575
|
+
};
|
|
5576
|
+
return BaseFieldComponent;
|
|
5577
|
+
}());
|
|
5578
|
+
|
|
5551
5579
|
|
|
5552
5580
|
(function (FieldType) {
|
|
5553
5581
|
FieldType["Autocomplete"] = "Autocomplete";
|
|
@@ -5556,6 +5584,7 @@
|
|
|
5556
5584
|
FieldType["Boolean"] = "Boolean";
|
|
5557
5585
|
FieldType["Checkbox"] = "Checkbox";
|
|
5558
5586
|
FieldType["Chips"] = "Chips";
|
|
5587
|
+
FieldType["CodeEditor"] = "CodeEditor";
|
|
5559
5588
|
FieldType["CountryPhonePicker"] = "CountryPhonePicker";
|
|
5560
5589
|
FieldType["Custom"] = "Custom";
|
|
5561
5590
|
FieldType["Date"] = "Date";
|
|
@@ -5756,6 +5785,16 @@
|
|
|
5756
5785
|
return CalendarField;
|
|
5757
5786
|
}(Field));
|
|
5758
5787
|
|
|
5788
|
+
var CheckboxField = /** @class */ (function (_super) {
|
|
5789
|
+
__extends(CheckboxField, _super);
|
|
5790
|
+
function CheckboxField(config) {
|
|
5791
|
+
var _this = _super.call(this, config) || this;
|
|
5792
|
+
_this.data = config.data;
|
|
5793
|
+
return _this;
|
|
5794
|
+
}
|
|
5795
|
+
return CheckboxField;
|
|
5796
|
+
}(Field));
|
|
5797
|
+
|
|
5759
5798
|
var ChipsField = /** @class */ (function (_super) {
|
|
5760
5799
|
__extends(ChipsField, _super);
|
|
5761
5800
|
function ChipsField(config) {
|
|
@@ -5775,6 +5814,19 @@
|
|
|
5775
5814
|
return ChipsField;
|
|
5776
5815
|
}(Field));
|
|
5777
5816
|
|
|
5817
|
+
var CountryPhonePickerField = /** @class */ (function (_super) {
|
|
5818
|
+
__extends(CountryPhonePickerField, _super);
|
|
5819
|
+
function CountryPhonePickerField(config) {
|
|
5820
|
+
var _this = _super.call(this, config) || this;
|
|
5821
|
+
_this.countries = config.countries;
|
|
5822
|
+
_this.ordination = config.ordination;
|
|
5823
|
+
_this.onSelected = config.onSelected;
|
|
5824
|
+
_this.onFocusLost = config.onFocusLost;
|
|
5825
|
+
return _this;
|
|
5826
|
+
}
|
|
5827
|
+
return CountryPhonePickerField;
|
|
5828
|
+
}(Field));
|
|
5829
|
+
|
|
5778
5830
|
/**
|
|
5779
5831
|
* @deprecated Should use 'AlignmentOptions' from @seniorsistemas/ng2-currency-mask instead
|
|
5780
5832
|
*/
|
|
@@ -6030,6 +6082,28 @@
|
|
|
6030
6082
|
return LookupField;
|
|
6031
6083
|
}(Field));
|
|
6032
6084
|
|
|
6085
|
+
var PasswordField = /** @class */ (function (_super) {
|
|
6086
|
+
__extends(PasswordField, _super);
|
|
6087
|
+
function PasswordField(config) {
|
|
6088
|
+
var _this = _super.call(this, config) || this;
|
|
6089
|
+
_this.inputType = config.inputType;
|
|
6090
|
+
_this.keyFilter = config.keyFilter;
|
|
6091
|
+
_this.leftAddon = config.leftAddon;
|
|
6092
|
+
_this.rightAddon = config.rightAddon;
|
|
6093
|
+
_this.maxLength = config.maxLength || 9999999;
|
|
6094
|
+
_this.passwordStrength = config.passwordStrength;
|
|
6095
|
+
_this.passwordStrengthOptions = config.passwordStrengthOptions;
|
|
6096
|
+
_this.showToggle = config.showToggle;
|
|
6097
|
+
_this.style = config.style;
|
|
6098
|
+
_this.onBlur = config.onBlur;
|
|
6099
|
+
_this.onFocus = config.onFocus;
|
|
6100
|
+
_this.onComplete = config.onComplete;
|
|
6101
|
+
_this.onInput = config.onInput;
|
|
6102
|
+
return _this;
|
|
6103
|
+
}
|
|
6104
|
+
return PasswordField;
|
|
6105
|
+
}(Field));
|
|
6106
|
+
|
|
6033
6107
|
var RationButtonOption = /** @class */ (function () {
|
|
6034
6108
|
function RationButtonOption(config) {
|
|
6035
6109
|
this.label = config.label;
|
|
@@ -6079,6 +6153,29 @@
|
|
|
6079
6153
|
return SelectOption;
|
|
6080
6154
|
}());
|
|
6081
6155
|
|
|
6156
|
+
var SliderField = /** @class */ (function (_super) {
|
|
6157
|
+
__extends(SliderField, _super);
|
|
6158
|
+
function SliderField(config) {
|
|
6159
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
6160
|
+
var _this = _super.call(this, config) || this;
|
|
6161
|
+
_this.maxDefault = 100;
|
|
6162
|
+
_this.onChange = config.onChange;
|
|
6163
|
+
_this.onSlideEnd = config.onSlideEnd;
|
|
6164
|
+
_this.range = (_a = config.range) !== null && _a !== void 0 ? _a : false;
|
|
6165
|
+
_this.min = (_b = config.min) !== null && _b !== void 0 ? _b : 0;
|
|
6166
|
+
_this.max = (_c = config.max) !== null && _c !== void 0 ? _c : _this.maxDefault;
|
|
6167
|
+
_this.orientation = (_d = config.orientation) !== null && _d !== void 0 ? _d : "horizontal";
|
|
6168
|
+
_this.step = (_e = config.step) !== null && _e !== void 0 ? _e : 1;
|
|
6169
|
+
_this.animate = (_f = config.animate) !== null && _f !== void 0 ? _f : false;
|
|
6170
|
+
_this.disabled = (_g = config.disabled) !== null && _g !== void 0 ? _g : false;
|
|
6171
|
+
_this.prefix = config.prefix;
|
|
6172
|
+
_this.suffix = config.suffix;
|
|
6173
|
+
_this.rangeSeparator = (_h = config.rangeSeparator) !== null && _h !== void 0 ? _h : ' - ';
|
|
6174
|
+
return _this;
|
|
6175
|
+
}
|
|
6176
|
+
return SliderField;
|
|
6177
|
+
}(Field));
|
|
6178
|
+
|
|
6082
6179
|
var TextAreaField = /** @class */ (function (_super) {
|
|
6083
6180
|
__extends(TextAreaField, _super);
|
|
6084
6181
|
function TextAreaField(config) {
|
|
@@ -6130,72 +6227,31 @@
|
|
|
6130
6227
|
return TextField;
|
|
6131
6228
|
}(Field));
|
|
6132
6229
|
|
|
6133
|
-
var
|
|
6134
|
-
__extends(
|
|
6135
|
-
function
|
|
6136
|
-
var _this = _super.call(this, config) || this;
|
|
6137
|
-
_this.inputType = config.inputType;
|
|
6138
|
-
_this.keyFilter = config.keyFilter;
|
|
6139
|
-
_this.leftAddon = config.leftAddon;
|
|
6140
|
-
_this.rightAddon = config.rightAddon;
|
|
6141
|
-
_this.maxLength = config.maxLength || 9999999;
|
|
6142
|
-
_this.passwordStrength = config.passwordStrength;
|
|
6143
|
-
_this.passwordStrengthOptions = config.passwordStrengthOptions;
|
|
6144
|
-
_this.showToggle = config.showToggle;
|
|
6145
|
-
_this.style = config.style;
|
|
6146
|
-
_this.onBlur = config.onBlur;
|
|
6147
|
-
_this.onFocus = config.onFocus;
|
|
6148
|
-
_this.onComplete = config.onComplete;
|
|
6149
|
-
_this.onInput = config.onInput;
|
|
6150
|
-
return _this;
|
|
6151
|
-
}
|
|
6152
|
-
return PasswordField;
|
|
6153
|
-
}(Field));
|
|
6154
|
-
|
|
6155
|
-
var SliderField = /** @class */ (function (_super) {
|
|
6156
|
-
__extends(SliderField, _super);
|
|
6157
|
-
function SliderField(config) {
|
|
6158
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
6159
|
-
var _this = _super.call(this, config) || this;
|
|
6160
|
-
_this.maxDefault = 100;
|
|
6161
|
-
_this.onChange = config.onChange;
|
|
6162
|
-
_this.onSlideEnd = config.onSlideEnd;
|
|
6163
|
-
_this.range = (_a = config.range) !== null && _a !== void 0 ? _a : false;
|
|
6164
|
-
_this.min = (_b = config.min) !== null && _b !== void 0 ? _b : 0;
|
|
6165
|
-
_this.max = (_c = config.max) !== null && _c !== void 0 ? _c : _this.maxDefault;
|
|
6166
|
-
_this.orientation = (_d = config.orientation) !== null && _d !== void 0 ? _d : "horizontal";
|
|
6167
|
-
_this.step = (_e = config.step) !== null && _e !== void 0 ? _e : 1;
|
|
6168
|
-
_this.animate = (_f = config.animate) !== null && _f !== void 0 ? _f : false;
|
|
6169
|
-
_this.disabled = (_g = config.disabled) !== null && _g !== void 0 ? _g : false;
|
|
6170
|
-
_this.prefix = config.prefix;
|
|
6171
|
-
_this.suffix = config.suffix;
|
|
6172
|
-
_this.rangeSeparator = (_h = config.rangeSeparator) !== null && _h !== void 0 ? _h : ' - ';
|
|
6173
|
-
return _this;
|
|
6174
|
-
}
|
|
6175
|
-
return SliderField;
|
|
6176
|
-
}(Field));
|
|
6177
|
-
|
|
6178
|
-
var CheckboxField = /** @class */ (function (_super) {
|
|
6179
|
-
__extends(CheckboxField, _super);
|
|
6180
|
-
function CheckboxField(config) {
|
|
6230
|
+
var CodeEditorField = /** @class */ (function (_super) {
|
|
6231
|
+
__extends(CodeEditorField, _super);
|
|
6232
|
+
function CodeEditorField(config) {
|
|
6181
6233
|
var _this = _super.call(this, config) || this;
|
|
6182
|
-
_this.
|
|
6234
|
+
_this.editorOptions = config.editorOptions;
|
|
6235
|
+
_this.code = config.code;
|
|
6236
|
+
_this.isCodeValid = config.isCodeValid;
|
|
6237
|
+
_this.onComponentFinishLoad = config.onComponentFinishLoad;
|
|
6238
|
+
_this.onCodeChange = config.onCodeChange;
|
|
6183
6239
|
return _this;
|
|
6184
6240
|
}
|
|
6185
|
-
return
|
|
6241
|
+
return CodeEditorField;
|
|
6186
6242
|
}(Field));
|
|
6187
6243
|
|
|
6188
|
-
var
|
|
6189
|
-
__extends(
|
|
6190
|
-
function
|
|
6244
|
+
var EditorField = /** @class */ (function (_super) {
|
|
6245
|
+
__extends(EditorField, _super);
|
|
6246
|
+
function EditorField(config) {
|
|
6191
6247
|
var _this = _super.call(this, config) || this;
|
|
6192
|
-
_this.
|
|
6193
|
-
_this.
|
|
6194
|
-
_this.
|
|
6195
|
-
_this.
|
|
6248
|
+
_this.formats = config.formats;
|
|
6249
|
+
_this.readonly = config.readonly;
|
|
6250
|
+
_this.modules = config.modules;
|
|
6251
|
+
_this.style = config.style;
|
|
6196
6252
|
return _this;
|
|
6197
6253
|
}
|
|
6198
|
-
return
|
|
6254
|
+
return EditorField;
|
|
6199
6255
|
}(Field));
|
|
6200
6256
|
|
|
6201
6257
|
var ProfilePictureField = /** @class */ (function (_super) {
|
|
@@ -6221,19 +6277,6 @@
|
|
|
6221
6277
|
return ProfilePictureField;
|
|
6222
6278
|
}(Field));
|
|
6223
6279
|
|
|
6224
|
-
var EditorField = /** @class */ (function (_super) {
|
|
6225
|
-
__extends(EditorField, _super);
|
|
6226
|
-
function EditorField(config) {
|
|
6227
|
-
var _this = _super.call(this, config) || this;
|
|
6228
|
-
_this.formats = config.formats;
|
|
6229
|
-
_this.readonly = config.readonly;
|
|
6230
|
-
_this.modules = config.modules;
|
|
6231
|
-
_this.style = config.style;
|
|
6232
|
-
return _this;
|
|
6233
|
-
}
|
|
6234
|
-
return EditorField;
|
|
6235
|
-
}(Field));
|
|
6236
|
-
|
|
6237
6280
|
var FormField = /** @class */ (function () {
|
|
6238
6281
|
function FormField(config) {
|
|
6239
6282
|
switch (config.type) {
|
|
@@ -6273,6 +6316,8 @@
|
|
|
6273
6316
|
return new CheckboxField(config);
|
|
6274
6317
|
case exports.FieldType.Chips:
|
|
6275
6318
|
return new ChipsField(config);
|
|
6319
|
+
case exports.FieldType.CodeEditor:
|
|
6320
|
+
return new CodeEditorField(config);
|
|
6276
6321
|
case exports.FieldType.CountryPhonePicker:
|
|
6277
6322
|
return new CountryPhonePickerField(config);
|
|
6278
6323
|
case exports.FieldType.Blob:
|
|
@@ -6871,18 +6916,6 @@
|
|
|
6871
6916
|
return LookupComponent;
|
|
6872
6917
|
}());
|
|
6873
6918
|
|
|
6874
|
-
var BaseFieldComponent = /** @class */ (function () {
|
|
6875
|
-
function BaseFieldComponent() {
|
|
6876
|
-
}
|
|
6877
|
-
BaseFieldComponent.prototype.isFunction = function (value) {
|
|
6878
|
-
return value instanceof Function;
|
|
6879
|
-
};
|
|
6880
|
-
BaseFieldComponent.prototype.trigger = function (callback) {
|
|
6881
|
-
return callback();
|
|
6882
|
-
};
|
|
6883
|
-
return BaseFieldComponent;
|
|
6884
|
-
}());
|
|
6885
|
-
|
|
6886
6919
|
|
|
6887
6920
|
(function (DynamicType) {
|
|
6888
6921
|
DynamicType["Autocomplete"] = "Autocomplete";
|
|
@@ -7031,57 +7064,6 @@
|
|
|
7031
7064
|
return DynamicFormComponent;
|
|
7032
7065
|
}());
|
|
7033
7066
|
|
|
7034
|
-
var IAssistService = /** @class */ (function () {
|
|
7035
|
-
function IAssistService(http, _messageService) {
|
|
7036
|
-
this.http = http;
|
|
7037
|
-
this._messageService = _messageService;
|
|
7038
|
-
}
|
|
7039
|
-
IAssistService.prototype.askIA = function (context, data) {
|
|
7040
|
-
var _this = this;
|
|
7041
|
-
var prompt = data.prompt ? this._replacePlaceholder(context, data) : this._createPrompt(context, data);
|
|
7042
|
-
return this.http
|
|
7043
|
-
.post("platform/iassist/api/latest/completions", {
|
|
7044
|
-
prompt: prompt,
|
|
7045
|
-
provider: "OPEN_AI",
|
|
7046
|
-
parameters: {
|
|
7047
|
-
model: "gpt-3.5-turbo",
|
|
7048
|
-
max_tokens: 700,
|
|
7049
|
-
temperature: 1,
|
|
7050
|
-
},
|
|
7051
|
-
})
|
|
7052
|
-
.pipe(operators.catchError(function (err) {
|
|
7053
|
-
_this._messageService.add({
|
|
7054
|
-
severity: "error",
|
|
7055
|
-
summary: err.status ? String(err.status) : "Error",
|
|
7056
|
-
detail: (err.error && err.error.message) || err.statusText || err.message || "Error",
|
|
7057
|
-
});
|
|
7058
|
-
return rxjs.throwError(err);
|
|
7059
|
-
}));
|
|
7060
|
-
};
|
|
7061
|
-
IAssistService.prototype._replacePlaceholder = function (context, data) {
|
|
7062
|
-
var values = __assign(__assign({}, data), { context: context });
|
|
7063
|
-
delete values.prompt;
|
|
7064
|
-
var result = data.prompt;
|
|
7065
|
-
for (var key in __assign(__assign({}, values), { context: context })) {
|
|
7066
|
-
var placeholder = new RegExp("{{\\s*" + key + "\\s*}}", "g");
|
|
7067
|
-
result = result.replace(placeholder, values[key]);
|
|
7068
|
-
}
|
|
7069
|
-
console.log("prompt", result);
|
|
7070
|
-
return result;
|
|
7071
|
-
};
|
|
7072
|
-
IAssistService.prototype._createPrompt = function (context, data) {
|
|
7073
|
-
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";
|
|
7074
|
-
};
|
|
7075
|
-
IAssistService.ctorParameters = function () { return [
|
|
7076
|
-
{ type: http.HttpClient },
|
|
7077
|
-
{ type: api.MessageService }
|
|
7078
|
-
]; };
|
|
7079
|
-
IAssistService = __decorate([
|
|
7080
|
-
core.Injectable()
|
|
7081
|
-
], IAssistService);
|
|
7082
|
-
return IAssistService;
|
|
7083
|
-
}());
|
|
7084
|
-
|
|
7085
7067
|
var LongPressDirective = /** @class */ (function () {
|
|
7086
7068
|
function LongPressDirective() {
|
|
7087
7069
|
this.sLongPressDelay = 500;
|
|
@@ -7184,10 +7166,61 @@
|
|
|
7184
7166
|
return MouseEventsModule;
|
|
7185
7167
|
}());
|
|
7186
7168
|
|
|
7187
|
-
var
|
|
7188
|
-
function
|
|
7189
|
-
this.
|
|
7190
|
-
this.
|
|
7169
|
+
var IAssistService = /** @class */ (function () {
|
|
7170
|
+
function IAssistService(http, _messageService) {
|
|
7171
|
+
this.http = http;
|
|
7172
|
+
this._messageService = _messageService;
|
|
7173
|
+
}
|
|
7174
|
+
IAssistService.prototype.askIA = function (context, data) {
|
|
7175
|
+
var _this = this;
|
|
7176
|
+
var prompt = data.prompt ? this._replacePlaceholder(context, data) : this._createPrompt(context, data);
|
|
7177
|
+
return this.http
|
|
7178
|
+
.post("platform/iassist/api/latest/completions", {
|
|
7179
|
+
prompt: prompt,
|
|
7180
|
+
provider: "OPEN_AI",
|
|
7181
|
+
parameters: {
|
|
7182
|
+
model: "gpt-3.5-turbo",
|
|
7183
|
+
max_tokens: 700,
|
|
7184
|
+
temperature: 1,
|
|
7185
|
+
},
|
|
7186
|
+
})
|
|
7187
|
+
.pipe(operators.catchError(function (err) {
|
|
7188
|
+
_this._messageService.add({
|
|
7189
|
+
severity: "error",
|
|
7190
|
+
summary: err.status ? String(err.status) : "Error",
|
|
7191
|
+
detail: (err.error && err.error.message) || err.statusText || err.message || "Error",
|
|
7192
|
+
});
|
|
7193
|
+
return rxjs.throwError(err);
|
|
7194
|
+
}));
|
|
7195
|
+
};
|
|
7196
|
+
IAssistService.prototype._replacePlaceholder = function (context, data) {
|
|
7197
|
+
var values = __assign(__assign({}, data), { context: context });
|
|
7198
|
+
delete values.prompt;
|
|
7199
|
+
var result = data.prompt;
|
|
7200
|
+
for (var key in __assign(__assign({}, values), { context: context })) {
|
|
7201
|
+
var placeholder = new RegExp("{{\\s*" + key + "\\s*}}", "g");
|
|
7202
|
+
result = result.replace(placeholder, values[key]);
|
|
7203
|
+
}
|
|
7204
|
+
console.log("prompt", result);
|
|
7205
|
+
return result;
|
|
7206
|
+
};
|
|
7207
|
+
IAssistService.prototype._createPrompt = function (context, data) {
|
|
7208
|
+
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";
|
|
7209
|
+
};
|
|
7210
|
+
IAssistService.ctorParameters = function () { return [
|
|
7211
|
+
{ type: http.HttpClient },
|
|
7212
|
+
{ type: api.MessageService }
|
|
7213
|
+
]; };
|
|
7214
|
+
IAssistService = __decorate([
|
|
7215
|
+
core.Injectable()
|
|
7216
|
+
], IAssistService);
|
|
7217
|
+
return IAssistService;
|
|
7218
|
+
}());
|
|
7219
|
+
|
|
7220
|
+
var EmptyStateComponent = /** @class */ (function () {
|
|
7221
|
+
function EmptyStateComponent() {
|
|
7222
|
+
this.id = "s-empty-state-" + EmptyStateComponent_1.nextId++;
|
|
7223
|
+
this.iconClass = "fa fa-inbox";
|
|
7191
7224
|
this.showPrimaryAction = true;
|
|
7192
7225
|
this.showSecondaryAction = true;
|
|
7193
7226
|
this.primaryModel = [];
|
|
@@ -9162,6 +9195,170 @@
|
|
|
9162
9195
|
return PasswordStrengthModule;
|
|
9163
9196
|
}());
|
|
9164
9197
|
|
|
9198
|
+
var TableHeaderCheckboxComponent = /** @class */ (function () {
|
|
9199
|
+
function TableHeaderCheckboxComponent(table, tableService) {
|
|
9200
|
+
var _this = this;
|
|
9201
|
+
this.table = table;
|
|
9202
|
+
this.tableService = tableService;
|
|
9203
|
+
this.id = "s-table-header-checkbox-" + TableHeaderCheckboxComponent_1.nextId++;
|
|
9204
|
+
this.ngUnsubscribe = new rxjs.Subject();
|
|
9205
|
+
this.table.tableService.valueSource$.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function () {
|
|
9206
|
+
_this.checked = _this.updateCheckedState();
|
|
9207
|
+
});
|
|
9208
|
+
this.table.tableService.selectionSource$.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function () {
|
|
9209
|
+
_this.checked = _this.updateCheckedState();
|
|
9210
|
+
});
|
|
9211
|
+
}
|
|
9212
|
+
TableHeaderCheckboxComponent_1 = TableHeaderCheckboxComponent;
|
|
9213
|
+
TableHeaderCheckboxComponent.prototype.ngOnInit = function () {
|
|
9214
|
+
this.checked = this.updateCheckedState();
|
|
9215
|
+
};
|
|
9216
|
+
TableHeaderCheckboxComponent.prototype.ngOnDestroy = function () {
|
|
9217
|
+
this.ngUnsubscribe.next();
|
|
9218
|
+
};
|
|
9219
|
+
TableHeaderCheckboxComponent.prototype.onFocus = function () {
|
|
9220
|
+
this.hasFocus = true;
|
|
9221
|
+
};
|
|
9222
|
+
TableHeaderCheckboxComponent.prototype.onBlur = function () {
|
|
9223
|
+
this.hasFocus = false;
|
|
9224
|
+
};
|
|
9225
|
+
TableHeaderCheckboxComponent.prototype.isDisabled = function () {
|
|
9226
|
+
return this.disabled || !this.table.value || !this.table.value.length;
|
|
9227
|
+
};
|
|
9228
|
+
TableHeaderCheckboxComponent.prototype.onClick = function () {
|
|
9229
|
+
if (!this.disabled) {
|
|
9230
|
+
if (this.table.value && this.table.value.length > 0)
|
|
9231
|
+
this.onToggleCheckbox(!this.checked);
|
|
9232
|
+
}
|
|
9233
|
+
};
|
|
9234
|
+
TableHeaderCheckboxComponent.prototype.updateCheckedState = function () {
|
|
9235
|
+
if (this.table.filteredValue) {
|
|
9236
|
+
var val = this.table.filteredValue;
|
|
9237
|
+
return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllFilteredValuesChecked();
|
|
9238
|
+
}
|
|
9239
|
+
else {
|
|
9240
|
+
var val = this.table.value;
|
|
9241
|
+
return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllValuesChecked();
|
|
9242
|
+
}
|
|
9243
|
+
};
|
|
9244
|
+
TableHeaderCheckboxComponent.prototype.onToggleCheckbox = function (checked) {
|
|
9245
|
+
var _this = this;
|
|
9246
|
+
var _a = this.table, filteredValue = _a.filteredValue, value = _a.value, dataKey = _a.dataKey;
|
|
9247
|
+
var gridData = checked ? (filteredValue ? filteredValue.slice() : value.slice()) : [];
|
|
9248
|
+
if (checked) {
|
|
9249
|
+
var unselecteds = gridData
|
|
9250
|
+
.filter(function (record) { return !_this.table._selection.find(function (selected) { return record[dataKey] === selected[dataKey]; }); })
|
|
9251
|
+
.map(function (record) {
|
|
9252
|
+
if (_this.useAllObject)
|
|
9253
|
+
return record;
|
|
9254
|
+
var newRecord = {};
|
|
9255
|
+
if (_this.rowProps)
|
|
9256
|
+
_this.rowProps.forEach(function (prop) { return (newRecord[prop] = record[prop]); });
|
|
9257
|
+
else
|
|
9258
|
+
newRecord[dataKey] = record[dataKey];
|
|
9259
|
+
return newRecord;
|
|
9260
|
+
});
|
|
9261
|
+
this.table._selection = __spread(this.table._selection, unselecteds);
|
|
9262
|
+
}
|
|
9263
|
+
else {
|
|
9264
|
+
value.forEach(function (data) {
|
|
9265
|
+
_this.table._selection = _this.table._selection.filter(function (record) { return record[dataKey] !== data[dataKey]; });
|
|
9266
|
+
});
|
|
9267
|
+
}
|
|
9268
|
+
this.table.updateSelectionKeys();
|
|
9269
|
+
this.table.selectionChange.emit(this.table._selection);
|
|
9270
|
+
this.tableService.onSelectionChange();
|
|
9271
|
+
if (this.table.isStateful())
|
|
9272
|
+
this.table.saveState();
|
|
9273
|
+
};
|
|
9274
|
+
TableHeaderCheckboxComponent.prototype.isAllFilteredValuesChecked = function () {
|
|
9275
|
+
var e_1, _a;
|
|
9276
|
+
if (!this.table.filteredValue) {
|
|
9277
|
+
return false;
|
|
9278
|
+
}
|
|
9279
|
+
else {
|
|
9280
|
+
try {
|
|
9281
|
+
for (var _b = __values(this.table.filteredValue), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
9282
|
+
var rowData = _c.value;
|
|
9283
|
+
if (!this.table.isSelected(rowData)) {
|
|
9284
|
+
return false;
|
|
9285
|
+
}
|
|
9286
|
+
}
|
|
9287
|
+
}
|
|
9288
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
9289
|
+
finally {
|
|
9290
|
+
try {
|
|
9291
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9292
|
+
}
|
|
9293
|
+
finally { if (e_1) throw e_1.error; }
|
|
9294
|
+
}
|
|
9295
|
+
return true;
|
|
9296
|
+
}
|
|
9297
|
+
};
|
|
9298
|
+
TableHeaderCheckboxComponent.prototype.isAllValuesChecked = function () {
|
|
9299
|
+
var e_2, _a;
|
|
9300
|
+
if (!this.table.value) {
|
|
9301
|
+
return false;
|
|
9302
|
+
}
|
|
9303
|
+
else {
|
|
9304
|
+
try {
|
|
9305
|
+
for (var _b = __values(this.table.value), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
9306
|
+
var rowData = _c.value;
|
|
9307
|
+
if (!this.table.isSelected(rowData)) {
|
|
9308
|
+
return false;
|
|
9309
|
+
}
|
|
9310
|
+
}
|
|
9311
|
+
}
|
|
9312
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
9313
|
+
finally {
|
|
9314
|
+
try {
|
|
9315
|
+
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
9316
|
+
}
|
|
9317
|
+
finally { if (e_2) throw e_2.error; }
|
|
9318
|
+
}
|
|
9319
|
+
return true;
|
|
9320
|
+
}
|
|
9321
|
+
};
|
|
9322
|
+
var TableHeaderCheckboxComponent_1;
|
|
9323
|
+
TableHeaderCheckboxComponent.nextId = 0;
|
|
9324
|
+
TableHeaderCheckboxComponent.ctorParameters = function () { return [
|
|
9325
|
+
{ type: table.Table },
|
|
9326
|
+
{ type: table.TableService }
|
|
9327
|
+
]; };
|
|
9328
|
+
__decorate([
|
|
9329
|
+
core.Input()
|
|
9330
|
+
], TableHeaderCheckboxComponent.prototype, "id", void 0);
|
|
9331
|
+
__decorate([
|
|
9332
|
+
core.Input()
|
|
9333
|
+
], TableHeaderCheckboxComponent.prototype, "disabled", void 0);
|
|
9334
|
+
__decorate([
|
|
9335
|
+
core.Input()
|
|
9336
|
+
], TableHeaderCheckboxComponent.prototype, "rowProps", void 0);
|
|
9337
|
+
__decorate([
|
|
9338
|
+
core.Input()
|
|
9339
|
+
], TableHeaderCheckboxComponent.prototype, "useAllObject", void 0);
|
|
9340
|
+
TableHeaderCheckboxComponent = TableHeaderCheckboxComponent_1 = __decorate([
|
|
9341
|
+
core.Component({
|
|
9342
|
+
selector: "s-table-header-checkbox",
|
|
9343
|
+
template: "\n <div class=\"ui-chkbox ui-widget\" (click)=\"onClick()\">\n <div class=\"ui-helper-hidden-accessible\">\n <input type=\"checkbox\" [checked]=\"checked\" (focus)=\"onFocus()\" (blur)=\"onBlur()\" [disabled]=\"isDisabled()\">\n </div>\n <div [ngClass]=\"{'ui-chkbox-box ui-widget ui-state-default':true,\n 'ui-state-active':checked, 'ui-state-disabled': isDisabled(), 'ui-state-focus': hasFocus}\">\n <span [id]=\"id\" class=\"ui-chkbox-icon ui-clickable\" [ngClass]=\"{'pi pi-check':checked}\"></span>\n </div>\n </div>\n "
|
|
9344
|
+
})
|
|
9345
|
+
], TableHeaderCheckboxComponent);
|
|
9346
|
+
return TableHeaderCheckboxComponent;
|
|
9347
|
+
}());
|
|
9348
|
+
|
|
9349
|
+
var TableHeaderCheckboxModule = /** @class */ (function () {
|
|
9350
|
+
function TableHeaderCheckboxModule() {
|
|
9351
|
+
}
|
|
9352
|
+
TableHeaderCheckboxModule = __decorate([
|
|
9353
|
+
core.NgModule({
|
|
9354
|
+
imports: [common.CommonModule],
|
|
9355
|
+
exports: [TableHeaderCheckboxComponent],
|
|
9356
|
+
declarations: [TableHeaderCheckboxComponent],
|
|
9357
|
+
})
|
|
9358
|
+
], TableHeaderCheckboxModule);
|
|
9359
|
+
return TableHeaderCheckboxModule;
|
|
9360
|
+
}());
|
|
9361
|
+
|
|
9165
9362
|
var NavigationDirective = /** @class */ (function () {
|
|
9166
9363
|
function NavigationDirective() {
|
|
9167
9364
|
}
|
|
@@ -10210,181 +10407,17 @@
|
|
|
10210
10407
|
return TableModule;
|
|
10211
10408
|
}());
|
|
10212
10409
|
|
|
10213
|
-
var
|
|
10214
|
-
function
|
|
10215
|
-
|
|
10216
|
-
this.
|
|
10217
|
-
this.tableService = tableService;
|
|
10218
|
-
this.id = "s-table-header-checkbox-" + TableHeaderCheckboxComponent_1.nextId++;
|
|
10219
|
-
this.ngUnsubscribe = new rxjs.Subject();
|
|
10220
|
-
this.table.tableService.valueSource$.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function () {
|
|
10221
|
-
_this.checked = _this.updateCheckedState();
|
|
10222
|
-
});
|
|
10223
|
-
this.table.tableService.selectionSource$.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function () {
|
|
10224
|
-
_this.checked = _this.updateCheckedState();
|
|
10225
|
-
});
|
|
10410
|
+
var AutocompleteFieldComponent = /** @class */ (function () {
|
|
10411
|
+
function AutocompleteFieldComponent(changeDetectorRef, elementRef) {
|
|
10412
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
10413
|
+
this.elementRef = elementRef;
|
|
10226
10414
|
}
|
|
10227
|
-
|
|
10228
|
-
|
|
10229
|
-
this.
|
|
10230
|
-
};
|
|
10231
|
-
TableHeaderCheckboxComponent.prototype.ngOnDestroy = function () {
|
|
10232
|
-
this.ngUnsubscribe.next();
|
|
10233
|
-
};
|
|
10234
|
-
TableHeaderCheckboxComponent.prototype.onFocus = function () {
|
|
10235
|
-
this.hasFocus = true;
|
|
10236
|
-
};
|
|
10237
|
-
TableHeaderCheckboxComponent.prototype.onBlur = function () {
|
|
10238
|
-
this.hasFocus = false;
|
|
10415
|
+
AutocompleteFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10416
|
+
this.setInputRef();
|
|
10417
|
+
this.changeDetectorRef.detectChanges();
|
|
10239
10418
|
};
|
|
10240
|
-
|
|
10241
|
-
|
|
10242
|
-
};
|
|
10243
|
-
TableHeaderCheckboxComponent.prototype.onClick = function () {
|
|
10244
|
-
if (!this.disabled) {
|
|
10245
|
-
if (this.table.value && this.table.value.length > 0)
|
|
10246
|
-
this.onToggleCheckbox(!this.checked);
|
|
10247
|
-
}
|
|
10248
|
-
};
|
|
10249
|
-
TableHeaderCheckboxComponent.prototype.updateCheckedState = function () {
|
|
10250
|
-
if (this.table.filteredValue) {
|
|
10251
|
-
var val = this.table.filteredValue;
|
|
10252
|
-
return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllFilteredValuesChecked();
|
|
10253
|
-
}
|
|
10254
|
-
else {
|
|
10255
|
-
var val = this.table.value;
|
|
10256
|
-
return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllValuesChecked();
|
|
10257
|
-
}
|
|
10258
|
-
};
|
|
10259
|
-
TableHeaderCheckboxComponent.prototype.onToggleCheckbox = function (checked) {
|
|
10260
|
-
var _this = this;
|
|
10261
|
-
var _a = this.table, filteredValue = _a.filteredValue, value = _a.value, dataKey = _a.dataKey;
|
|
10262
|
-
var gridData = checked ? (filteredValue ? filteredValue.slice() : value.slice()) : [];
|
|
10263
|
-
if (checked) {
|
|
10264
|
-
var unselecteds = gridData
|
|
10265
|
-
.filter(function (record) { return !_this.table._selection.find(function (selected) { return record[dataKey] === selected[dataKey]; }); })
|
|
10266
|
-
.map(function (record) {
|
|
10267
|
-
if (_this.useAllObject)
|
|
10268
|
-
return record;
|
|
10269
|
-
var newRecord = {};
|
|
10270
|
-
if (_this.rowProps)
|
|
10271
|
-
_this.rowProps.forEach(function (prop) { return (newRecord[prop] = record[prop]); });
|
|
10272
|
-
else
|
|
10273
|
-
newRecord[dataKey] = record[dataKey];
|
|
10274
|
-
return newRecord;
|
|
10275
|
-
});
|
|
10276
|
-
this.table._selection = __spread(this.table._selection, unselecteds);
|
|
10277
|
-
}
|
|
10278
|
-
else {
|
|
10279
|
-
value.forEach(function (data) {
|
|
10280
|
-
_this.table._selection = _this.table._selection.filter(function (record) { return record[dataKey] !== data[dataKey]; });
|
|
10281
|
-
});
|
|
10282
|
-
}
|
|
10283
|
-
this.table.updateSelectionKeys();
|
|
10284
|
-
this.table.selectionChange.emit(this.table._selection);
|
|
10285
|
-
this.tableService.onSelectionChange();
|
|
10286
|
-
if (this.table.isStateful())
|
|
10287
|
-
this.table.saveState();
|
|
10288
|
-
};
|
|
10289
|
-
TableHeaderCheckboxComponent.prototype.isAllFilteredValuesChecked = function () {
|
|
10290
|
-
var e_1, _a;
|
|
10291
|
-
if (!this.table.filteredValue) {
|
|
10292
|
-
return false;
|
|
10293
|
-
}
|
|
10294
|
-
else {
|
|
10295
|
-
try {
|
|
10296
|
-
for (var _b = __values(this.table.filteredValue), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
10297
|
-
var rowData = _c.value;
|
|
10298
|
-
if (!this.table.isSelected(rowData)) {
|
|
10299
|
-
return false;
|
|
10300
|
-
}
|
|
10301
|
-
}
|
|
10302
|
-
}
|
|
10303
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
10304
|
-
finally {
|
|
10305
|
-
try {
|
|
10306
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10307
|
-
}
|
|
10308
|
-
finally { if (e_1) throw e_1.error; }
|
|
10309
|
-
}
|
|
10310
|
-
return true;
|
|
10311
|
-
}
|
|
10312
|
-
};
|
|
10313
|
-
TableHeaderCheckboxComponent.prototype.isAllValuesChecked = function () {
|
|
10314
|
-
var e_2, _a;
|
|
10315
|
-
if (!this.table.value) {
|
|
10316
|
-
return false;
|
|
10317
|
-
}
|
|
10318
|
-
else {
|
|
10319
|
-
try {
|
|
10320
|
-
for (var _b = __values(this.table.value), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
10321
|
-
var rowData = _c.value;
|
|
10322
|
-
if (!this.table.isSelected(rowData)) {
|
|
10323
|
-
return false;
|
|
10324
|
-
}
|
|
10325
|
-
}
|
|
10326
|
-
}
|
|
10327
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
10328
|
-
finally {
|
|
10329
|
-
try {
|
|
10330
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10331
|
-
}
|
|
10332
|
-
finally { if (e_2) throw e_2.error; }
|
|
10333
|
-
}
|
|
10334
|
-
return true;
|
|
10335
|
-
}
|
|
10336
|
-
};
|
|
10337
|
-
var TableHeaderCheckboxComponent_1;
|
|
10338
|
-
TableHeaderCheckboxComponent.nextId = 0;
|
|
10339
|
-
TableHeaderCheckboxComponent.ctorParameters = function () { return [
|
|
10340
|
-
{ type: table.Table },
|
|
10341
|
-
{ type: table.TableService }
|
|
10342
|
-
]; };
|
|
10343
|
-
__decorate([
|
|
10344
|
-
core.Input()
|
|
10345
|
-
], TableHeaderCheckboxComponent.prototype, "id", void 0);
|
|
10346
|
-
__decorate([
|
|
10347
|
-
core.Input()
|
|
10348
|
-
], TableHeaderCheckboxComponent.prototype, "disabled", void 0);
|
|
10349
|
-
__decorate([
|
|
10350
|
-
core.Input()
|
|
10351
|
-
], TableHeaderCheckboxComponent.prototype, "rowProps", void 0);
|
|
10352
|
-
__decorate([
|
|
10353
|
-
core.Input()
|
|
10354
|
-
], TableHeaderCheckboxComponent.prototype, "useAllObject", void 0);
|
|
10355
|
-
TableHeaderCheckboxComponent = TableHeaderCheckboxComponent_1 = __decorate([
|
|
10356
|
-
core.Component({
|
|
10357
|
-
selector: "s-table-header-checkbox",
|
|
10358
|
-
template: "\n <div class=\"ui-chkbox ui-widget\" (click)=\"onClick()\">\n <div class=\"ui-helper-hidden-accessible\">\n <input type=\"checkbox\" [checked]=\"checked\" (focus)=\"onFocus()\" (blur)=\"onBlur()\" [disabled]=\"isDisabled()\">\n </div>\n <div [ngClass]=\"{'ui-chkbox-box ui-widget ui-state-default':true,\n 'ui-state-active':checked, 'ui-state-disabled': isDisabled(), 'ui-state-focus': hasFocus}\">\n <span [id]=\"id\" class=\"ui-chkbox-icon ui-clickable\" [ngClass]=\"{'pi pi-check':checked}\"></span>\n </div>\n </div>\n "
|
|
10359
|
-
})
|
|
10360
|
-
], TableHeaderCheckboxComponent);
|
|
10361
|
-
return TableHeaderCheckboxComponent;
|
|
10362
|
-
}());
|
|
10363
|
-
|
|
10364
|
-
var TableHeaderCheckboxModule = /** @class */ (function () {
|
|
10365
|
-
function TableHeaderCheckboxModule() {
|
|
10366
|
-
}
|
|
10367
|
-
TableHeaderCheckboxModule = __decorate([
|
|
10368
|
-
core.NgModule({
|
|
10369
|
-
imports: [common.CommonModule],
|
|
10370
|
-
exports: [TableHeaderCheckboxComponent],
|
|
10371
|
-
declarations: [TableHeaderCheckboxComponent],
|
|
10372
|
-
})
|
|
10373
|
-
], TableHeaderCheckboxModule);
|
|
10374
|
-
return TableHeaderCheckboxModule;
|
|
10375
|
-
}());
|
|
10376
|
-
|
|
10377
|
-
var AutocompleteFieldComponent = /** @class */ (function () {
|
|
10378
|
-
function AutocompleteFieldComponent(changeDetectorRef, elementRef) {
|
|
10379
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
10380
|
-
this.elementRef = elementRef;
|
|
10381
|
-
}
|
|
10382
|
-
AutocompleteFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10383
|
-
this.setInputRef();
|
|
10384
|
-
this.changeDetectorRef.detectChanges();
|
|
10385
|
-
};
|
|
10386
|
-
AutocompleteFieldComponent.prototype.setInputRef = function () {
|
|
10387
|
-
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
10419
|
+
AutocompleteFieldComponent.prototype.setInputRef = function () {
|
|
10420
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
10388
10421
|
};
|
|
10389
10422
|
AutocompleteFieldComponent.ctorParameters = function () { return [
|
|
10390
10423
|
{ type: core.ChangeDetectorRef },
|
|
@@ -10625,30 +10658,6 @@
|
|
|
10625
10658
|
return CountryPhonePickerFieldComponent;
|
|
10626
10659
|
}());
|
|
10627
10660
|
|
|
10628
|
-
var FieldsetComponent = /** @class */ (function () {
|
|
10629
|
-
function FieldsetComponent() {
|
|
10630
|
-
}
|
|
10631
|
-
__decorate([
|
|
10632
|
-
core.Input()
|
|
10633
|
-
], FieldsetComponent.prototype, "id", void 0);
|
|
10634
|
-
__decorate([
|
|
10635
|
-
core.Input()
|
|
10636
|
-
], FieldsetComponent.prototype, "config", void 0);
|
|
10637
|
-
__decorate([
|
|
10638
|
-
core.Input()
|
|
10639
|
-
], FieldsetComponent.prototype, "group", void 0);
|
|
10640
|
-
__decorate([
|
|
10641
|
-
core.Input()
|
|
10642
|
-
], FieldsetComponent.prototype, "errorMessages", void 0);
|
|
10643
|
-
FieldsetComponent = __decorate([
|
|
10644
|
-
core.Component({
|
|
10645
|
-
selector: "s-fieldset",
|
|
10646
|
-
template: "\n <p-fieldset [toggleable]=\"true\" (onBeforeToggle)=\"config.beforeToggle ? config.beforeToggle($event) : 'null'\"\n (onAfterToggle)=\"config.afterToggle ? config.afterToggle($event) : 'null'\">\n <p-header>{{config.header}}</p-header>\n <ng-container *ngFor=\"let conf of config.configs\">\n <ng-container *sDynamicForm=\"{ id: id, config: conf, group: group, errorMessages: errorMessages }\"></ng-container>\n </ng-container>\n </p-fieldset>\n "
|
|
10647
|
-
})
|
|
10648
|
-
], FieldsetComponent);
|
|
10649
|
-
return FieldsetComponent;
|
|
10650
|
-
}());
|
|
10651
|
-
|
|
10652
10661
|
var FileUploadComponent$1 = /** @class */ (function (_super) {
|
|
10653
10662
|
__extends(FileUploadComponent, _super);
|
|
10654
10663
|
function FileUploadComponent(changeDetectorRef, elementRef) {
|
|
@@ -10761,29 +10770,6 @@
|
|
|
10761
10770
|
return RadioButtonComponent;
|
|
10762
10771
|
}());
|
|
10763
10772
|
|
|
10764
|
-
var SectionComponent = /** @class */ (function () {
|
|
10765
|
-
function SectionComponent() {
|
|
10766
|
-
}
|
|
10767
|
-
__decorate([
|
|
10768
|
-
core.Input()
|
|
10769
|
-
], SectionComponent.prototype, "id", void 0);
|
|
10770
|
-
__decorate([
|
|
10771
|
-
core.Input()
|
|
10772
|
-
], SectionComponent.prototype, "config", void 0);
|
|
10773
|
-
__decorate([
|
|
10774
|
-
core.Input()
|
|
10775
|
-
], SectionComponent.prototype, "group", void 0);
|
|
10776
|
-
__decorate([
|
|
10777
|
-
core.Input()
|
|
10778
|
-
], SectionComponent.prototype, "errorMessages", void 0);
|
|
10779
|
-
SectionComponent = __decorate([
|
|
10780
|
-
core.Component({
|
|
10781
|
-
template: "\n <h3 *ngIf=\"config?.header\" class=\"sds-section-title\">{{config.header}}</h3>\n <ng-container *ngFor=\"let conf of config.configs\">\n <ng-container *sDynamicForm=\"{ id: id, config: conf, group: group, errorMessages: errorMessages }\"></ng-container>\n </ng-container>\n "
|
|
10782
|
-
})
|
|
10783
|
-
], SectionComponent);
|
|
10784
|
-
return SectionComponent;
|
|
10785
|
-
}());
|
|
10786
|
-
|
|
10787
10773
|
var SelectFieldComponent = /** @class */ (function (_super) {
|
|
10788
10774
|
__extends(SelectFieldComponent, _super);
|
|
10789
10775
|
function SelectFieldComponent() {
|
|
@@ -10919,33 +10905,6 @@
|
|
|
10919
10905
|
return SliderFieldComponent;
|
|
10920
10906
|
}(BaseFieldComponent));
|
|
10921
10907
|
|
|
10922
|
-
var TextAreaFieldComponent = /** @class */ (function () {
|
|
10923
|
-
function TextAreaFieldComponent(changeDetectorRef) {
|
|
10924
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
10925
|
-
}
|
|
10926
|
-
TextAreaFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10927
|
-
this.changeDetectorRef.detectChanges();
|
|
10928
|
-
};
|
|
10929
|
-
TextAreaFieldComponent.ctorParameters = function () { return [
|
|
10930
|
-
{ type: core.ChangeDetectorRef }
|
|
10931
|
-
]; };
|
|
10932
|
-
__decorate([
|
|
10933
|
-
core.Input()
|
|
10934
|
-
], TextAreaFieldComponent.prototype, "field", void 0);
|
|
10935
|
-
__decorate([
|
|
10936
|
-
core.Input()
|
|
10937
|
-
], TextAreaFieldComponent.prototype, "formControl", void 0);
|
|
10938
|
-
__decorate([
|
|
10939
|
-
core.ViewChild('inputRef')
|
|
10940
|
-
], TextAreaFieldComponent.prototype, "inputRef", void 0);
|
|
10941
|
-
TextAreaFieldComponent = __decorate([
|
|
10942
|
-
core.Component({
|
|
10943
|
-
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"
|
|
10944
|
-
})
|
|
10945
|
-
], TextAreaFieldComponent);
|
|
10946
|
-
return TextAreaFieldComponent;
|
|
10947
|
-
}());
|
|
10948
|
-
|
|
10949
10908
|
var TextAreaIAFieldComponent = /** @class */ (function () {
|
|
10950
10909
|
function TextAreaIAFieldComponent(_iassistService, _formBuilder, _translateService) {
|
|
10951
10910
|
this._iassistService = _iassistService;
|
|
@@ -11026,6 +10985,80 @@
|
|
|
11026
10985
|
return TextAreaIAFieldComponent;
|
|
11027
10986
|
}());
|
|
11028
10987
|
|
|
10988
|
+
var TextAreaFieldComponent = /** @class */ (function () {
|
|
10989
|
+
function TextAreaFieldComponent(changeDetectorRef) {
|
|
10990
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
10991
|
+
}
|
|
10992
|
+
TextAreaFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10993
|
+
this.changeDetectorRef.detectChanges();
|
|
10994
|
+
};
|
|
10995
|
+
TextAreaFieldComponent.ctorParameters = function () { return [
|
|
10996
|
+
{ type: core.ChangeDetectorRef }
|
|
10997
|
+
]; };
|
|
10998
|
+
__decorate([
|
|
10999
|
+
core.Input()
|
|
11000
|
+
], TextAreaFieldComponent.prototype, "field", void 0);
|
|
11001
|
+
__decorate([
|
|
11002
|
+
core.Input()
|
|
11003
|
+
], TextAreaFieldComponent.prototype, "formControl", void 0);
|
|
11004
|
+
__decorate([
|
|
11005
|
+
core.ViewChild('inputRef')
|
|
11006
|
+
], TextAreaFieldComponent.prototype, "inputRef", void 0);
|
|
11007
|
+
TextAreaFieldComponent = __decorate([
|
|
11008
|
+
core.Component({
|
|
11009
|
+
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"
|
|
11010
|
+
})
|
|
11011
|
+
], TextAreaFieldComponent);
|
|
11012
|
+
return TextAreaFieldComponent;
|
|
11013
|
+
}());
|
|
11014
|
+
|
|
11015
|
+
var FieldsetComponent = /** @class */ (function () {
|
|
11016
|
+
function FieldsetComponent() {
|
|
11017
|
+
}
|
|
11018
|
+
__decorate([
|
|
11019
|
+
core.Input()
|
|
11020
|
+
], FieldsetComponent.prototype, "id", void 0);
|
|
11021
|
+
__decorate([
|
|
11022
|
+
core.Input()
|
|
11023
|
+
], FieldsetComponent.prototype, "config", void 0);
|
|
11024
|
+
__decorate([
|
|
11025
|
+
core.Input()
|
|
11026
|
+
], FieldsetComponent.prototype, "group", void 0);
|
|
11027
|
+
__decorate([
|
|
11028
|
+
core.Input()
|
|
11029
|
+
], FieldsetComponent.prototype, "errorMessages", void 0);
|
|
11030
|
+
FieldsetComponent = __decorate([
|
|
11031
|
+
core.Component({
|
|
11032
|
+
selector: "s-fieldset",
|
|
11033
|
+
template: "\n <p-fieldset [toggleable]=\"true\" (onBeforeToggle)=\"config.beforeToggle ? config.beforeToggle($event) : 'null'\"\n (onAfterToggle)=\"config.afterToggle ? config.afterToggle($event) : 'null'\">\n <p-header>{{config.header}}</p-header>\n <ng-container *ngFor=\"let conf of config.configs\">\n <ng-container *sDynamicForm=\"{ id: id, config: conf, group: group, errorMessages: errorMessages }\"></ng-container>\n </ng-container>\n </p-fieldset>\n "
|
|
11034
|
+
})
|
|
11035
|
+
], FieldsetComponent);
|
|
11036
|
+
return FieldsetComponent;
|
|
11037
|
+
}());
|
|
11038
|
+
|
|
11039
|
+
var SectionComponent = /** @class */ (function () {
|
|
11040
|
+
function SectionComponent() {
|
|
11041
|
+
}
|
|
11042
|
+
__decorate([
|
|
11043
|
+
core.Input()
|
|
11044
|
+
], SectionComponent.prototype, "id", void 0);
|
|
11045
|
+
__decorate([
|
|
11046
|
+
core.Input()
|
|
11047
|
+
], SectionComponent.prototype, "config", void 0);
|
|
11048
|
+
__decorate([
|
|
11049
|
+
core.Input()
|
|
11050
|
+
], SectionComponent.prototype, "group", void 0);
|
|
11051
|
+
__decorate([
|
|
11052
|
+
core.Input()
|
|
11053
|
+
], SectionComponent.prototype, "errorMessages", void 0);
|
|
11054
|
+
SectionComponent = __decorate([
|
|
11055
|
+
core.Component({
|
|
11056
|
+
template: "\n <h3 *ngIf=\"config?.header\" class=\"sds-section-title\">{{config.header}}</h3>\n <ng-container *ngFor=\"let conf of config.configs\">\n <ng-container *sDynamicForm=\"{ id: id, config: conf, group: group, errorMessages: errorMessages }\"></ng-container>\n </ng-container>\n "
|
|
11057
|
+
})
|
|
11058
|
+
], SectionComponent);
|
|
11059
|
+
return SectionComponent;
|
|
11060
|
+
}());
|
|
11061
|
+
|
|
11029
11062
|
var RowComponent = /** @class */ (function () {
|
|
11030
11063
|
function RowComponent() {
|
|
11031
11064
|
}
|
|
@@ -11413,6 +11446,23 @@
|
|
|
11413
11446
|
return TextFieldComponent;
|
|
11414
11447
|
}(BaseFieldComponent));
|
|
11415
11448
|
|
|
11449
|
+
var CodeEditorFieldComponent = /** @class */ (function () {
|
|
11450
|
+
function CodeEditorFieldComponent() {
|
|
11451
|
+
}
|
|
11452
|
+
__decorate([
|
|
11453
|
+
core.Input()
|
|
11454
|
+
], CodeEditorFieldComponent.prototype, "field", void 0);
|
|
11455
|
+
__decorate([
|
|
11456
|
+
core.Input()
|
|
11457
|
+
], CodeEditorFieldComponent.prototype, "formControl", void 0);
|
|
11458
|
+
CodeEditorFieldComponent = __decorate([
|
|
11459
|
+
core.Component({
|
|
11460
|
+
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>"
|
|
11461
|
+
})
|
|
11462
|
+
], CodeEditorFieldComponent);
|
|
11463
|
+
return CodeEditorFieldComponent;
|
|
11464
|
+
}());
|
|
11465
|
+
|
|
11416
11466
|
var CheckboxFieldComponent = /** @class */ (function () {
|
|
11417
11467
|
function CheckboxFieldComponent() {
|
|
11418
11468
|
}
|
|
@@ -11424,7 +11474,7 @@
|
|
|
11424
11474
|
], CheckboxFieldComponent.prototype, "formControl", void 0);
|
|
11425
11475
|
CheckboxFieldComponent = __decorate([
|
|
11426
11476
|
core.Component({
|
|
11427
|
-
template: "<s-checkbox
|
|
11477
|
+
template: "<s-checkbox\n [data]=\"field.data\"\n [formControl]=\"formControl\">\n</s-checkbox>"
|
|
11428
11478
|
})
|
|
11429
11479
|
], CheckboxFieldComponent);
|
|
11430
11480
|
return CheckboxFieldComponent;
|
|
@@ -11653,6 +11703,8 @@
|
|
|
11653
11703
|
return CheckboxFieldComponent;
|
|
11654
11704
|
case exports.FieldType.Chips:
|
|
11655
11705
|
return ChipsFieldComponent;
|
|
11706
|
+
case exports.FieldType.CodeEditor:
|
|
11707
|
+
return CodeEditorFieldComponent;
|
|
11656
11708
|
case exports.FieldType.CountryPhonePicker:
|
|
11657
11709
|
return CountryPhonePickerFieldComponent;
|
|
11658
11710
|
case exports.FieldType.Date:
|
|
@@ -11875,49 +11927,75 @@
|
|
|
11875
11927
|
return FieldLabelModule;
|
|
11876
11928
|
}());
|
|
11877
11929
|
|
|
11878
|
-
var
|
|
11879
|
-
function
|
|
11930
|
+
var BignumberFieldModule = /** @class */ (function () {
|
|
11931
|
+
function BignumberFieldModule() {
|
|
11880
11932
|
}
|
|
11881
|
-
|
|
11933
|
+
BignumberFieldModule = __decorate([
|
|
11882
11934
|
core.NgModule({
|
|
11883
11935
|
imports: [
|
|
11884
11936
|
common.CommonModule,
|
|
11885
11937
|
forms.FormsModule,
|
|
11886
11938
|
forms.ReactiveFormsModule,
|
|
11887
11939
|
ButtonModule,
|
|
11940
|
+
BignumberInputModule,
|
|
11888
11941
|
TooltipModule,
|
|
11889
|
-
|
|
11942
|
+
inputmask.InputMaskModule,
|
|
11890
11943
|
inputtext.InputTextModule,
|
|
11891
11944
|
FieldLabelModule
|
|
11892
11945
|
],
|
|
11893
|
-
declarations: [
|
|
11894
|
-
exports: [
|
|
11946
|
+
declarations: [BignumberFieldComponent],
|
|
11947
|
+
exports: [BignumberFieldComponent],
|
|
11895
11948
|
})
|
|
11896
|
-
],
|
|
11897
|
-
return
|
|
11949
|
+
], BignumberFieldModule);
|
|
11950
|
+
return BignumberFieldModule;
|
|
11898
11951
|
}());
|
|
11899
11952
|
|
|
11900
|
-
var
|
|
11901
|
-
function
|
|
11953
|
+
var CheckboxFieldModule = /** @class */ (function () {
|
|
11954
|
+
function CheckboxFieldModule() {
|
|
11902
11955
|
}
|
|
11903
|
-
|
|
11956
|
+
CheckboxFieldModule = __decorate([
|
|
11957
|
+
core.NgModule({
|
|
11958
|
+
imports: [common.CommonModule, forms.FormsModule, forms.ReactiveFormsModule, CheckboxModule],
|
|
11959
|
+
declarations: [CheckboxFieldComponent],
|
|
11960
|
+
exports: [CheckboxFieldComponent],
|
|
11961
|
+
})
|
|
11962
|
+
], CheckboxFieldModule);
|
|
11963
|
+
return CheckboxFieldModule;
|
|
11964
|
+
}());
|
|
11965
|
+
|
|
11966
|
+
var CurrencyFieldModule = /** @class */ (function () {
|
|
11967
|
+
function CurrencyFieldModule() {
|
|
11968
|
+
}
|
|
11969
|
+
CurrencyFieldModule = __decorate([
|
|
11904
11970
|
core.NgModule({
|
|
11905
11971
|
imports: [
|
|
11906
11972
|
common.CommonModule,
|
|
11907
11973
|
forms.FormsModule,
|
|
11908
11974
|
forms.ReactiveFormsModule,
|
|
11909
|
-
|
|
11975
|
+
NumberInputModule,
|
|
11910
11976
|
TooltipModule,
|
|
11911
11977
|
inputmask.InputMaskModule,
|
|
11912
11978
|
inputtext.InputTextModule,
|
|
11913
|
-
keyfilter.KeyFilterModule,
|
|
11914
11979
|
FieldLabelModule
|
|
11915
11980
|
],
|
|
11916
|
-
declarations: [
|
|
11917
|
-
exports: [
|
|
11981
|
+
declarations: [CurrencyFieldComponent],
|
|
11982
|
+
exports: [CurrencyFieldComponent],
|
|
11918
11983
|
})
|
|
11919
|
-
],
|
|
11920
|
-
return
|
|
11984
|
+
], CurrencyFieldModule);
|
|
11985
|
+
return CurrencyFieldModule;
|
|
11986
|
+
}());
|
|
11987
|
+
|
|
11988
|
+
var EditorFieldModule = /** @class */ (function () {
|
|
11989
|
+
function EditorFieldModule() {
|
|
11990
|
+
}
|
|
11991
|
+
EditorFieldModule = __decorate([
|
|
11992
|
+
core.NgModule({
|
|
11993
|
+
imports: [common.CommonModule, forms.FormsModule, forms.ReactiveFormsModule, editor.EditorModule, FieldLabelModule],
|
|
11994
|
+
declarations: [EditorFieldComponent],
|
|
11995
|
+
exports: [EditorFieldComponent],
|
|
11996
|
+
})
|
|
11997
|
+
], EditorFieldModule);
|
|
11998
|
+
return EditorFieldModule;
|
|
11921
11999
|
}());
|
|
11922
12000
|
|
|
11923
12001
|
var NumberFieldModule = /** @class */ (function () {
|
|
@@ -11944,49 +12022,26 @@
|
|
|
11944
12022
|
return NumberFieldModule;
|
|
11945
12023
|
}());
|
|
11946
12024
|
|
|
11947
|
-
var
|
|
11948
|
-
function
|
|
11949
|
-
}
|
|
11950
|
-
CurrencyFieldModule = __decorate([
|
|
11951
|
-
core.NgModule({
|
|
11952
|
-
imports: [
|
|
11953
|
-
common.CommonModule,
|
|
11954
|
-
forms.FormsModule,
|
|
11955
|
-
forms.ReactiveFormsModule,
|
|
11956
|
-
NumberInputModule,
|
|
11957
|
-
TooltipModule,
|
|
11958
|
-
inputmask.InputMaskModule,
|
|
11959
|
-
inputtext.InputTextModule,
|
|
11960
|
-
FieldLabelModule
|
|
11961
|
-
],
|
|
11962
|
-
declarations: [CurrencyFieldComponent],
|
|
11963
|
-
exports: [CurrencyFieldComponent],
|
|
11964
|
-
})
|
|
11965
|
-
], CurrencyFieldModule);
|
|
11966
|
-
return CurrencyFieldModule;
|
|
11967
|
-
}());
|
|
11968
|
-
|
|
11969
|
-
var BignumberFieldModule = /** @class */ (function () {
|
|
11970
|
-
function BignumberFieldModule() {
|
|
12025
|
+
var PasswordFieldModule = /** @class */ (function () {
|
|
12026
|
+
function PasswordFieldModule() {
|
|
11971
12027
|
}
|
|
11972
|
-
|
|
12028
|
+
PasswordFieldModule = __decorate([
|
|
11973
12029
|
core.NgModule({
|
|
11974
12030
|
imports: [
|
|
11975
12031
|
common.CommonModule,
|
|
11976
12032
|
forms.FormsModule,
|
|
11977
12033
|
forms.ReactiveFormsModule,
|
|
11978
12034
|
ButtonModule,
|
|
11979
|
-
BignumberInputModule,
|
|
11980
12035
|
TooltipModule,
|
|
11981
|
-
|
|
12036
|
+
PasswordStrengthModule,
|
|
11982
12037
|
inputtext.InputTextModule,
|
|
11983
12038
|
FieldLabelModule
|
|
11984
12039
|
],
|
|
11985
|
-
declarations: [
|
|
11986
|
-
exports: [
|
|
12040
|
+
declarations: [PasswordFieldComponent],
|
|
12041
|
+
exports: [PasswordFieldComponent],
|
|
11987
12042
|
})
|
|
11988
|
-
],
|
|
11989
|
-
return
|
|
12043
|
+
], PasswordFieldModule);
|
|
12044
|
+
return PasswordFieldModule;
|
|
11990
12045
|
}());
|
|
11991
12046
|
|
|
11992
12047
|
var HeaderComponent = /** @class */ (function () {
|
|
@@ -12755,30 +12810,40 @@
|
|
|
12755
12810
|
return ProfilePictureModule;
|
|
12756
12811
|
}());
|
|
12757
12812
|
|
|
12758
|
-
var
|
|
12759
|
-
function
|
|
12813
|
+
var TextFieldModule = /** @class */ (function () {
|
|
12814
|
+
function TextFieldModule() {
|
|
12760
12815
|
}
|
|
12761
|
-
|
|
12816
|
+
TextFieldModule = __decorate([
|
|
12762
12817
|
core.NgModule({
|
|
12763
|
-
imports: [
|
|
12764
|
-
|
|
12765
|
-
|
|
12818
|
+
imports: [
|
|
12819
|
+
common.CommonModule,
|
|
12820
|
+
forms.FormsModule,
|
|
12821
|
+
forms.ReactiveFormsModule,
|
|
12822
|
+
ButtonModule,
|
|
12823
|
+
TooltipModule,
|
|
12824
|
+
inputmask.InputMaskModule,
|
|
12825
|
+
inputtext.InputTextModule,
|
|
12826
|
+
keyfilter.KeyFilterModule,
|
|
12827
|
+
FieldLabelModule
|
|
12828
|
+
],
|
|
12829
|
+
declarations: [TextFieldComponent],
|
|
12830
|
+
exports: [TextFieldComponent],
|
|
12766
12831
|
})
|
|
12767
|
-
],
|
|
12768
|
-
return
|
|
12832
|
+
], TextFieldModule);
|
|
12833
|
+
return TextFieldModule;
|
|
12769
12834
|
}());
|
|
12770
12835
|
|
|
12771
|
-
var
|
|
12772
|
-
function
|
|
12836
|
+
var CodeEditorFieldModule = /** @class */ (function () {
|
|
12837
|
+
function CodeEditorFieldModule() {
|
|
12773
12838
|
}
|
|
12774
|
-
|
|
12839
|
+
CodeEditorFieldModule = __decorate([
|
|
12775
12840
|
core.NgModule({
|
|
12776
|
-
imports: [common.CommonModule, forms.FormsModule, forms.ReactiveFormsModule
|
|
12777
|
-
declarations: [
|
|
12778
|
-
exports: [
|
|
12841
|
+
imports: [common.CommonModule, FieldLabelModule, CodeEditorModule, forms.FormsModule, forms.ReactiveFormsModule],
|
|
12842
|
+
declarations: [CodeEditorFieldComponent],
|
|
12843
|
+
exports: [CodeEditorFieldComponent],
|
|
12779
12844
|
})
|
|
12780
|
-
],
|
|
12781
|
-
return
|
|
12845
|
+
], CodeEditorFieldModule);
|
|
12846
|
+
return CodeEditorFieldModule;
|
|
12782
12847
|
}());
|
|
12783
12848
|
|
|
12784
12849
|
var DynamicFormModule = /** @class */ (function () {
|
|
@@ -12830,6 +12895,7 @@
|
|
|
12830
12895
|
PasswordStrengthModule,
|
|
12831
12896
|
slider.SliderModule,
|
|
12832
12897
|
core$1.TranslateModule.forChild(),
|
|
12898
|
+
CodeEditorFieldModule,
|
|
12833
12899
|
PasswordFieldModule,
|
|
12834
12900
|
TextFieldModule,
|
|
12835
12901
|
NumberFieldModule,
|
|
@@ -12838,7 +12904,7 @@
|
|
|
12838
12904
|
CheckboxFieldModule,
|
|
12839
12905
|
ProfilePictureModule,
|
|
12840
12906
|
EditorFieldModule,
|
|
12841
|
-
FieldLabelModule
|
|
12907
|
+
FieldLabelModule,
|
|
12842
12908
|
],
|
|
12843
12909
|
declarations: [
|
|
12844
12910
|
AutocompleteFieldComponent,
|
|
@@ -12863,24 +12929,6 @@
|
|
|
12863
12929
|
TextAreaIAFieldComponent,
|
|
12864
12930
|
],
|
|
12865
12931
|
exports: [DynamicFormComponent, LookupComponent],
|
|
12866
|
-
entryComponents: [
|
|
12867
|
-
AutocompleteFieldComponent,
|
|
12868
|
-
BooleanFieldComponent,
|
|
12869
|
-
BooleanSwitchFieldComponent,
|
|
12870
|
-
CalendarFieldComponent,
|
|
12871
|
-
ChipsFieldComponent,
|
|
12872
|
-
CountryPhonePickerFieldComponent,
|
|
12873
|
-
FieldsetComponent,
|
|
12874
|
-
FileUploadComponent$1,
|
|
12875
|
-
LookupFieldComponent,
|
|
12876
|
-
RadioButtonComponent,
|
|
12877
|
-
RowComponent,
|
|
12878
|
-
SectionComponent,
|
|
12879
|
-
SelectFieldComponent,
|
|
12880
|
-
SliderFieldComponent,
|
|
12881
|
-
TextAreaFieldComponent,
|
|
12882
|
-
TextAreaIAFieldComponent,
|
|
12883
|
-
],
|
|
12884
12932
|
providers: [
|
|
12885
12933
|
angular2Hotkeys.HotkeysService,
|
|
12886
12934
|
IAssistService,
|
|
@@ -19935,6 +19983,7 @@
|
|
|
19935
19983
|
exports.CheckboxComponent = CheckboxComponent;
|
|
19936
19984
|
exports.CheckboxModule = CheckboxModule;
|
|
19937
19985
|
exports.ChipsField = ChipsField;
|
|
19986
|
+
exports.CodeEditorField = CodeEditorField;
|
|
19938
19987
|
exports.CodeEditorModule = CodeEditorModule;
|
|
19939
19988
|
exports.CollapseLinkComponent = CollapseLinkComponent;
|
|
19940
19989
|
exports.CollapseLinkModule = CollapseLinkModule;
|
|
@@ -20093,90 +20142,92 @@
|
|
|
20093
20142
|
exports.ɵa = TooltipComponent;
|
|
20094
20143
|
exports.ɵb = TooltipDirective;
|
|
20095
20144
|
exports.ɵba = TablePagingComponent;
|
|
20096
|
-
exports.ɵbb =
|
|
20145
|
+
exports.ɵbb = CodeEditorFieldModule;
|
|
20097
20146
|
exports.ɵbc = FieldLabelModule;
|
|
20098
20147
|
exports.ɵbd = InfoSignModule;
|
|
20099
20148
|
exports.ɵbe = FieldLabelComponent;
|
|
20100
|
-
exports.ɵbf =
|
|
20101
|
-
exports.ɵbg =
|
|
20102
|
-
exports.ɵbh =
|
|
20103
|
-
exports.ɵbi =
|
|
20104
|
-
exports.ɵbj =
|
|
20105
|
-
exports.ɵbk =
|
|
20106
|
-
exports.ɵbl =
|
|
20107
|
-
exports.ɵbm =
|
|
20108
|
-
exports.ɵbn =
|
|
20109
|
-
exports.ɵbo =
|
|
20110
|
-
exports.ɵbp =
|
|
20111
|
-
exports.ɵbq =
|
|
20112
|
-
exports.ɵbr =
|
|
20113
|
-
exports.ɵbs =
|
|
20114
|
-
exports.ɵbt =
|
|
20115
|
-
exports.ɵbu =
|
|
20116
|
-
exports.ɵbv =
|
|
20117
|
-
exports.ɵbw =
|
|
20118
|
-
exports.ɵbx =
|
|
20119
|
-
exports.ɵby =
|
|
20120
|
-
exports.ɵbz =
|
|
20149
|
+
exports.ɵbf = CodeEditorFieldComponent;
|
|
20150
|
+
exports.ɵbg = PasswordFieldModule;
|
|
20151
|
+
exports.ɵbh = PasswordFieldComponent;
|
|
20152
|
+
exports.ɵbi = TextFieldModule;
|
|
20153
|
+
exports.ɵbj = TextFieldComponent;
|
|
20154
|
+
exports.ɵbk = NumberFieldModule;
|
|
20155
|
+
exports.ɵbl = LocalizedNumberInputModule;
|
|
20156
|
+
exports.ɵbm = NumberInputModule;
|
|
20157
|
+
exports.ɵbn = NumberFieldComponent;
|
|
20158
|
+
exports.ɵbo = CurrencyFieldModule;
|
|
20159
|
+
exports.ɵbp = CurrencyFieldComponent;
|
|
20160
|
+
exports.ɵbq = BignumberFieldModule;
|
|
20161
|
+
exports.ɵbr = BignumberInputModule;
|
|
20162
|
+
exports.ɵbs = BignumberFieldComponent;
|
|
20163
|
+
exports.ɵbt = CheckboxFieldModule;
|
|
20164
|
+
exports.ɵbu = CheckboxFieldComponent;
|
|
20165
|
+
exports.ɵbv = ProfilePictureModule;
|
|
20166
|
+
exports.ɵbw = ThumbnailService;
|
|
20167
|
+
exports.ɵbx = StructureModule;
|
|
20168
|
+
exports.ɵby = HeaderComponent;
|
|
20169
|
+
exports.ɵbz = FooterComponent;
|
|
20121
20170
|
exports.ɵc = TieredMenuEventService;
|
|
20122
|
-
exports.ɵca =
|
|
20123
|
-
exports.ɵcb =
|
|
20124
|
-
exports.ɵcc =
|
|
20125
|
-
exports.ɵcd =
|
|
20126
|
-
exports.ɵce =
|
|
20127
|
-
exports.ɵcf =
|
|
20128
|
-
exports.ɵcg =
|
|
20129
|
-
exports.ɵch =
|
|
20130
|
-
exports.ɵci =
|
|
20131
|
-
exports.ɵcj =
|
|
20132
|
-
exports.ɵck =
|
|
20133
|
-
exports.ɵcl =
|
|
20134
|
-
exports.ɵcm =
|
|
20135
|
-
exports.ɵcn =
|
|
20136
|
-
exports.ɵco =
|
|
20137
|
-
exports.ɵcp =
|
|
20138
|
-
exports.ɵcq =
|
|
20139
|
-
exports.ɵcr =
|
|
20140
|
-
exports.ɵcs =
|
|
20141
|
-
exports.ɵct =
|
|
20142
|
-
exports.ɵ
|
|
20143
|
-
exports.ɵ
|
|
20144
|
-
exports.ɵcx =
|
|
20145
|
-
exports.ɵcy =
|
|
20146
|
-
exports.ɵcz =
|
|
20171
|
+
exports.ɵca = ProfilePictureFieldComponent;
|
|
20172
|
+
exports.ɵcb = EditorFieldModule;
|
|
20173
|
+
exports.ɵcc = EditorFieldComponent;
|
|
20174
|
+
exports.ɵcd = AutocompleteFieldComponent;
|
|
20175
|
+
exports.ɵce = BooleanFieldComponent;
|
|
20176
|
+
exports.ɵcf = BooleanSwitchFieldComponent;
|
|
20177
|
+
exports.ɵcg = CalendarFieldComponent;
|
|
20178
|
+
exports.ɵch = ChipsFieldComponent;
|
|
20179
|
+
exports.ɵci = CountryPhonePickerFieldComponent;
|
|
20180
|
+
exports.ɵcj = DynamicFieldComponent;
|
|
20181
|
+
exports.ɵck = DynamicFormDirective;
|
|
20182
|
+
exports.ɵcl = FieldsetComponent;
|
|
20183
|
+
exports.ɵcm = FileUploadComponent$1;
|
|
20184
|
+
exports.ɵcn = LookupFieldComponent;
|
|
20185
|
+
exports.ɵco = RadioButtonComponent;
|
|
20186
|
+
exports.ɵcp = RowComponent;
|
|
20187
|
+
exports.ɵcq = SectionComponent;
|
|
20188
|
+
exports.ɵcr = SelectFieldComponent;
|
|
20189
|
+
exports.ɵcs = SliderFieldComponent;
|
|
20190
|
+
exports.ɵct = TextAreaFieldComponent;
|
|
20191
|
+
exports.ɵcu = TextAreaIAFieldComponent;
|
|
20192
|
+
exports.ɵcv = IAssistService;
|
|
20193
|
+
exports.ɵcx = DecimalField;
|
|
20194
|
+
exports.ɵcy = SideTableComponent;
|
|
20195
|
+
exports.ɵcz = InfiniteScrollModule;
|
|
20147
20196
|
exports.ɵd = TieredMenuService;
|
|
20148
|
-
exports.ɵda =
|
|
20149
|
-
exports.ɵdb =
|
|
20150
|
-
exports.ɵdc =
|
|
20151
|
-
exports.ɵdd =
|
|
20152
|
-
exports.ɵde =
|
|
20153
|
-
exports.ɵdf =
|
|
20154
|
-
exports.ɵdg =
|
|
20155
|
-
exports.ɵdh =
|
|
20156
|
-
exports.ɵdi =
|
|
20157
|
-
exports.ɵdj =
|
|
20158
|
-
exports.ɵdk =
|
|
20159
|
-
exports.ɵdl =
|
|
20160
|
-
exports.ɵdm =
|
|
20161
|
-
exports.ɵdn =
|
|
20162
|
-
exports.ɵdo =
|
|
20163
|
-
exports.ɵdp =
|
|
20164
|
-
exports.ɵdq =
|
|
20165
|
-
exports.ɵdr =
|
|
20166
|
-
exports.ɵds =
|
|
20167
|
-
exports.ɵdt =
|
|
20168
|
-
exports.ɵdu =
|
|
20169
|
-
exports.ɵdv =
|
|
20170
|
-
exports.ɵdw =
|
|
20171
|
-
exports.ɵdx =
|
|
20172
|
-
exports.ɵdy =
|
|
20173
|
-
exports.ɵdz =
|
|
20197
|
+
exports.ɵda = InfiniteScrollDirective;
|
|
20198
|
+
exports.ɵdb = IAInsightSidebarComponent;
|
|
20199
|
+
exports.ɵdc = IAInsightCardComponent;
|
|
20200
|
+
exports.ɵdd = IAInsightCardLoaderComponent;
|
|
20201
|
+
exports.ɵde = InlineEditItemComponent;
|
|
20202
|
+
exports.ɵdf = LocaleService;
|
|
20203
|
+
exports.ɵdg = InlineEditCalendarComponent;
|
|
20204
|
+
exports.ɵdh = InlineEditLookupComponent;
|
|
20205
|
+
exports.ɵdi = InlineEditNumberComponent;
|
|
20206
|
+
exports.ɵdj = InlineEditTextComponent;
|
|
20207
|
+
exports.ɵdk = InlineEditTextAreaComponent;
|
|
20208
|
+
exports.ɵdl = InlineEditTextAreaIAComponent;
|
|
20209
|
+
exports.ɵdm = KanbanEventService;
|
|
20210
|
+
exports.ɵdn = KanbanItemComponent;
|
|
20211
|
+
exports.ɵdo = KanbanColumnComponent;
|
|
20212
|
+
exports.ɵdp = KanbanItemDraggingComponent;
|
|
20213
|
+
exports.ɵdq = NumberLocaleOptions;
|
|
20214
|
+
exports.ɵdr = BorderButtonModule;
|
|
20215
|
+
exports.ɵds = BorderButtonComponent;
|
|
20216
|
+
exports.ɵdt = ProgressBarDeterminateComponent;
|
|
20217
|
+
exports.ɵdu = ProgressBarIndeterminateComponent;
|
|
20218
|
+
exports.ɵdv = SelectButtonItemComponent;
|
|
20219
|
+
exports.ɵdw = SlidePanelService;
|
|
20220
|
+
exports.ɵdx = TimelineItemModule;
|
|
20221
|
+
exports.ɵdy = TimelineIconItemComponent;
|
|
20222
|
+
exports.ɵdz = HorizontalTimelineModule;
|
|
20174
20223
|
exports.ɵe = TieredMenuGlobalService;
|
|
20175
|
-
exports.ɵea =
|
|
20176
|
-
exports.ɵeb =
|
|
20177
|
-
exports.ɵec =
|
|
20178
|
-
exports.ɵed =
|
|
20179
|
-
exports.ɵee =
|
|
20224
|
+
exports.ɵea = HorizontalTimelineComponent;
|
|
20225
|
+
exports.ɵeb = VerticalTimelineModule;
|
|
20226
|
+
exports.ɵec = VerticalTimelineComponent;
|
|
20227
|
+
exports.ɵed = RangeLineComponent;
|
|
20228
|
+
exports.ɵee = CollapseOptionComponent;
|
|
20229
|
+
exports.ɵef = CollapsedItemsComponent;
|
|
20230
|
+
exports.ɵeg = VerticalItemsComponent;
|
|
20180
20231
|
exports.ɵf = TieredMenuComponent;
|
|
20181
20232
|
exports.ɵg = TieredMenuNestedComponent;
|
|
20182
20233
|
exports.ɵh = TieredMenuItemComponent;
|