@seniorsistemas/angular-components 17.13.1 → 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 +998 -779
- 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/checkbox/checkbox.component.d.ts +16 -0
- package/components/checkbox/checkbox.module.d.ts +2 -0
- package/components/checkbox/index.d.ts +3 -0
- package/components/checkbox/models/checkbox-data.d.ts +4 -0
- package/components/checkbox/models/checkbox-state.d.ts +6 -0
- package/components/checkbox/models/index.d.ts +2 -0
- 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/base-field-component.d.ts +6 -5
- package/components/dynamic-form/components/fields/checkbox/checkbox-field.component.d.ts +7 -0
- package/components/dynamic-form/components/fields/checkbox/checkbox-field.module.d.ts +2 -0
- 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/components/fields/index.d.ts +1 -0
- package/components/dynamic-form/configurations/field-type.d.ts +2 -0
- package/components/dynamic-form/configurations/fields/checkbox-field.d.ts +9 -0
- package/components/dynamic-form/configurations/fields/code-editor-field.d.ts +17 -0
- package/components/dynamic-form/configurations/fields/index.d.ts +1 -0
- package/components/dynamic-form/configurations/form-field.d.ts +2 -2
- package/components/dynamic-form/index.d.ts +5 -4
- package/components/index.d.ts +1 -0
- package/esm2015/components/checkbox/checkbox.component.js +104 -0
- package/esm2015/components/checkbox/checkbox.module.js +16 -0
- package/esm2015/components/checkbox/index.js +3 -0
- package/esm2015/components/checkbox/models/checkbox-data.js +1 -0
- package/esm2015/components/checkbox/models/checkbox-state.js +1 -0
- package/esm2015/components/checkbox/models/index.js +1 -0
- 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/base-field-component.js +1 -1
- package/esm2015/components/dynamic-form/components/fields/checkbox/checkbox-field.component.js +17 -0
- package/esm2015/components/dynamic-form/components/fields/checkbox/checkbox-field.module.js +17 -0
- 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/components/fields/index.js +2 -1
- package/esm2015/components/dynamic-form/configurations/field-type.js +3 -1
- package/esm2015/components/dynamic-form/configurations/fields/checkbox-field.js +8 -0
- package/esm2015/components/dynamic-form/configurations/fields/code-editor-field.js +12 -0
- package/esm2015/components/dynamic-form/configurations/fields/index.js +2 -1
- package/esm2015/components/dynamic-form/configurations/form-field.js +11 -6
- package/esm2015/components/dynamic-form/dynamic-form.js +8 -2
- package/esm2015/components/dynamic-form/dynamic-form.module.js +19 -33
- package/esm2015/components/dynamic-form/index.js +5 -4
- package/esm2015/components/index.js +2 -1
- package/esm2015/seniorsistemas-angular-components.js +82 -78
- package/esm5/components/checkbox/checkbox.component.js +109 -0
- package/esm5/components/checkbox/checkbox.module.js +19 -0
- package/esm5/components/checkbox/index.js +3 -0
- package/esm5/components/checkbox/models/checkbox-data.js +1 -0
- package/esm5/components/checkbox/models/checkbox-state.js +1 -0
- package/esm5/components/checkbox/models/index.js +1 -0
- 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/base-field-component.js +1 -1
- package/esm5/components/dynamic-form/components/fields/checkbox/checkbox-field.component.js +20 -0
- package/esm5/components/dynamic-form/components/fields/checkbox/checkbox-field.module.js +20 -0
- 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/components/fields/index.js +2 -1
- package/esm5/components/dynamic-form/configurations/field-type.js +3 -1
- package/esm5/components/dynamic-form/configurations/fields/checkbox-field.js +13 -0
- package/esm5/components/dynamic-form/configurations/fields/code-editor-field.js +17 -0
- package/esm5/components/dynamic-form/configurations/fields/index.js +2 -1
- package/esm5/components/dynamic-form/configurations/form-field.js +11 -6
- package/esm5/components/dynamic-form/dynamic-form.js +8 -2
- package/esm5/components/dynamic-form/dynamic-form.module.js +19 -33
- package/esm5/components/dynamic-form/index.js +5 -4
- package/esm5/components/index.js +2 -1
- package/esm5/seniorsistemas-angular-components.js +82 -78
- package/fesm2015/seniorsistemas-angular-components.js +751 -566
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +914 -702
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
- package/seniorsistemas-angular-components.d.ts +81 -77
- 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;
|
|
@@ -3209,6 +3209,124 @@
|
|
|
3209
3209
|
return CardModule;
|
|
3210
3210
|
}());
|
|
3211
3211
|
|
|
3212
|
+
var CheckboxComponent = /** @class */ (function () {
|
|
3213
|
+
function CheckboxComponent() {
|
|
3214
|
+
this.state = {
|
|
3215
|
+
checked: false,
|
|
3216
|
+
indeterminate: false,
|
|
3217
|
+
children: {},
|
|
3218
|
+
};
|
|
3219
|
+
this._onChange = function () { };
|
|
3220
|
+
this._onTouched = function () { };
|
|
3221
|
+
}
|
|
3222
|
+
CheckboxComponent_1 = CheckboxComponent;
|
|
3223
|
+
CheckboxComponent.prototype.writeValue = function (value) {
|
|
3224
|
+
if (value) {
|
|
3225
|
+
this.state = value;
|
|
3226
|
+
}
|
|
3227
|
+
else {
|
|
3228
|
+
this.state = {
|
|
3229
|
+
checked: false,
|
|
3230
|
+
indeterminate: false,
|
|
3231
|
+
disabled: false,
|
|
3232
|
+
children: this._initializeChildren(this.data),
|
|
3233
|
+
};
|
|
3234
|
+
}
|
|
3235
|
+
};
|
|
3236
|
+
CheckboxComponent.prototype.registerOnChange = function (onChange) {
|
|
3237
|
+
this._onChange = onChange;
|
|
3238
|
+
};
|
|
3239
|
+
CheckboxComponent.prototype.registerOnTouched = function (onTouched) {
|
|
3240
|
+
this._onTouched = onTouched;
|
|
3241
|
+
};
|
|
3242
|
+
CheckboxComponent.prototype._initializeChildren = function (item) {
|
|
3243
|
+
var _this = this;
|
|
3244
|
+
var childrenState = {};
|
|
3245
|
+
if (item.children) {
|
|
3246
|
+
item.children.forEach(function (child) {
|
|
3247
|
+
childrenState[child.label] = {
|
|
3248
|
+
checked: false,
|
|
3249
|
+
indeterminate: false,
|
|
3250
|
+
children: _this._initializeChildren(child),
|
|
3251
|
+
};
|
|
3252
|
+
});
|
|
3253
|
+
}
|
|
3254
|
+
return childrenState;
|
|
3255
|
+
};
|
|
3256
|
+
CheckboxComponent.prototype.updateParent = function () {
|
|
3257
|
+
var _this = this;
|
|
3258
|
+
if (this.data.children && this.data.children.length > 0) {
|
|
3259
|
+
var allChecked = this.data.children.every(function (child) { var _a; return (_a = _this.state.children[child.label]) === null || _a === void 0 ? void 0 : _a.checked; });
|
|
3260
|
+
var someChecked = this.data.children.some(function (child) { var _a, _b; return ((_a = _this.state.children[child.label]) === null || _a === void 0 ? void 0 : _a.checked) || ((_b = _this.state.children[child.label]) === null || _b === void 0 ? void 0 : _b.indeterminate); });
|
|
3261
|
+
this.state.checked = allChecked;
|
|
3262
|
+
this.state.indeterminate = !allChecked && someChecked;
|
|
3263
|
+
}
|
|
3264
|
+
this._onChange(this.state);
|
|
3265
|
+
this._onTouched();
|
|
3266
|
+
};
|
|
3267
|
+
CheckboxComponent.prototype.onCheckboxChange = function () {
|
|
3268
|
+
if (this.state.disabled)
|
|
3269
|
+
return;
|
|
3270
|
+
this.state.checked = !this.state.checked;
|
|
3271
|
+
this.state.indeterminate = false;
|
|
3272
|
+
this._toggleChildrenCheck(this.data, this.state, this.state.checked);
|
|
3273
|
+
this._onChange(this.state);
|
|
3274
|
+
this._onTouched();
|
|
3275
|
+
};
|
|
3276
|
+
CheckboxComponent.prototype._toggleChildrenCheck = function (item, state, checked) {
|
|
3277
|
+
var _this = this;
|
|
3278
|
+
var _a;
|
|
3279
|
+
if ((_a = item.children) === null || _a === void 0 ? void 0 : _a.length) {
|
|
3280
|
+
item.children.forEach(function (child) {
|
|
3281
|
+
if (!state.children[child.label]) {
|
|
3282
|
+
state.children[child.label] = {
|
|
3283
|
+
checked: false,
|
|
3284
|
+
indeterminate: false,
|
|
3285
|
+
children: _this._initializeChildren(child),
|
|
3286
|
+
};
|
|
3287
|
+
}
|
|
3288
|
+
state.children[child.label].checked = checked;
|
|
3289
|
+
state.children[child.label].indeterminate = false;
|
|
3290
|
+
if (child.children) {
|
|
3291
|
+
_this._toggleChildrenCheck(child, state.children[child.label], checked);
|
|
3292
|
+
}
|
|
3293
|
+
});
|
|
3294
|
+
}
|
|
3295
|
+
};
|
|
3296
|
+
var CheckboxComponent_1;
|
|
3297
|
+
__decorate([
|
|
3298
|
+
core.Input()
|
|
3299
|
+
], CheckboxComponent.prototype, "data", void 0);
|
|
3300
|
+
CheckboxComponent = CheckboxComponent_1 = __decorate([
|
|
3301
|
+
core.Component({
|
|
3302
|
+
selector: "s-checkbox",
|
|
3303
|
+
template: "<div class=\"checkbox\">\n <label>\n <div\n class=\"checkbox-wrapper\"\n [ngClass]=\"{ 'checkbox-wrapper--disabled': state.disabled }\">\n <input\n type=\"checkbox\"\n class=\"checkbox-input\"\n [disabled]=\"state.disabled\"\n [ngClass]=\"{\n 'checkbox-input--checked': state.checked,\n 'checkbox-input--indeterminate': state.indeterminate\n }\"\n (change)=\"onCheckboxChange()\"\n [attr.aria-checked]=\"state.indeterminate ? 'mixed' : state.checked\"\n [attr.aria-disabled]=\"state.disabled\"\n role=\"checkbox\" />\n {{ data.label }}\n </div>\n </label>\n <div *ngIf=\"data.children && data.children.length\" class=\"checkbox-children\">\n <s-checkbox\n *ngFor=\"let child of data.children\"\n [data]=\"child\"\n [ngModel]=\"state.children[child.label]\"\n (ngModelChange)=\"updateParent()\">\n </s-checkbox>\n </div>\n</div>\n",
|
|
3304
|
+
providers: [
|
|
3305
|
+
{
|
|
3306
|
+
provide: forms.NG_VALUE_ACCESSOR,
|
|
3307
|
+
useExisting: core.forwardRef(function () { return CheckboxComponent_1; }),
|
|
3308
|
+
multi: true,
|
|
3309
|
+
},
|
|
3310
|
+
],
|
|
3311
|
+
styles: [".checkbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:10px;margin-bottom:10px}.checkbox .checkbox-wrapper{-ms-flex-align:center;align-items:center;color:#212533;display:-ms-flexbox;display:flex;font-family:\"Open Sans\" sans-serif;font-size:14px;gap:12px}.checkbox .checkbox-wrapper .checkbox-input{-webkit-appearance:none;appearance:none;background-color:#fff;border:1px solid #c1c1cc;border-radius:4px;cursor:pointer;-ms-flex-negative:0;flex-shrink:0;height:20px;width:20px;position:relative}.checkbox .checkbox-wrapper .checkbox-input--checked{background-color:#428bca;border-color:#428bca}.checkbox .checkbox-wrapper .checkbox-input--checked::after{border:solid #fff;border-width:0 2px 2px 0;content:\"\";height:12px;left:6px;position:absolute;top:2px;transform:rotate(45deg);width:6px}.checkbox .checkbox-wrapper .checkbox-input--indeterminate{background-color:#428bca;border-color:#428bca}.checkbox .checkbox-wrapper .checkbox-input--indeterminate::after{background-color:#fff;content:\"\";height:2px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:10px}.checkbox .checkbox-wrapper:not(.checkbox-wrapper--disabled) .checkbox-input:not(.checkbox-input--checked):hover{background-color:#e5eaea;border-color:#ccc}.checkbox .checkbox-wrapper--disabled{opacity:.5;cursor:auto}.checkbox .checkbox-children{margin-left:20px}"]
|
|
3312
|
+
})
|
|
3313
|
+
], CheckboxComponent);
|
|
3314
|
+
return CheckboxComponent;
|
|
3315
|
+
}());
|
|
3316
|
+
|
|
3317
|
+
var CheckboxModule = /** @class */ (function () {
|
|
3318
|
+
function CheckboxModule() {
|
|
3319
|
+
}
|
|
3320
|
+
CheckboxModule = __decorate([
|
|
3321
|
+
core.NgModule({
|
|
3322
|
+
imports: [common.CommonModule, forms.FormsModule],
|
|
3323
|
+
declarations: [CheckboxComponent],
|
|
3324
|
+
exports: [CheckboxComponent],
|
|
3325
|
+
})
|
|
3326
|
+
], CheckboxModule);
|
|
3327
|
+
return CheckboxModule;
|
|
3328
|
+
}());
|
|
3329
|
+
|
|
3212
3330
|
|
|
3213
3331
|
(function (Languages) {
|
|
3214
3332
|
Languages["TaxCalculation"] = "TaxCalculation";
|
|
@@ -3327,12 +3445,15 @@
|
|
|
3327
3445
|
var CodeEditorComponent = /** @class */ (function () {
|
|
3328
3446
|
function CodeEditorComponent(coreFacade) {
|
|
3329
3447
|
this.coreFacade = coreFacade;
|
|
3330
|
-
this._ngUnsubscribe = new rxjs.Subject();
|
|
3331
3448
|
this.codeChange = new core.EventEmitter();
|
|
3332
3449
|
this.isCodeValidChange = new core.EventEmitter();
|
|
3333
3450
|
this.onCodeChange = new core.EventEmitter();
|
|
3334
3451
|
this.onComponentFinishLoad = new core.EventEmitter();
|
|
3452
|
+
this._ngUnsubscribe = new rxjs.Subject();
|
|
3453
|
+
this._onChange = function () { };
|
|
3454
|
+
this._onTouched = function () { };
|
|
3335
3455
|
}
|
|
3456
|
+
CodeEditorComponent_1 = CodeEditorComponent;
|
|
3336
3457
|
Object.defineProperty(CodeEditorComponent.prototype, "editorOptions", {
|
|
3337
3458
|
set: function (options) {
|
|
3338
3459
|
this.coreFacade.changeEditorOptions(options);
|
|
@@ -3347,6 +3468,15 @@
|
|
|
3347
3468
|
enumerable: true,
|
|
3348
3469
|
configurable: true
|
|
3349
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
|
+
};
|
|
3350
3480
|
CodeEditorComponent.prototype.ngOnInit = function () {
|
|
3351
3481
|
this.coreFacade.initCore();
|
|
3352
3482
|
this.setupCoreListeners();
|
|
@@ -3374,6 +3504,8 @@
|
|
|
3374
3504
|
.subscribe(function (code) {
|
|
3375
3505
|
_this.codeChange.emit(code);
|
|
3376
3506
|
_this.onCodeChange.emit(code);
|
|
3507
|
+
_this._onTouched();
|
|
3508
|
+
_this._onChange(code);
|
|
3377
3509
|
});
|
|
3378
3510
|
this.coreFacade
|
|
3379
3511
|
.getOnCodeValidityChangeObservable()
|
|
@@ -3382,12 +3514,10 @@
|
|
|
3382
3514
|
_this.isCodeValidChange.emit(validity);
|
|
3383
3515
|
});
|
|
3384
3516
|
};
|
|
3517
|
+
var CodeEditorComponent_1;
|
|
3385
3518
|
CodeEditorComponent.ctorParameters = function () { return [
|
|
3386
3519
|
{ type: CoreFacade }
|
|
3387
3520
|
]; };
|
|
3388
|
-
__decorate([
|
|
3389
|
-
core.ViewChild("coreWrapper")
|
|
3390
|
-
], CodeEditorComponent.prototype, "coreWrapperElement", void 0);
|
|
3391
3521
|
__decorate([
|
|
3392
3522
|
core.Input()
|
|
3393
3523
|
], CodeEditorComponent.prototype, "editorOptions", null);
|
|
@@ -3397,9 +3527,6 @@
|
|
|
3397
3527
|
__decorate([
|
|
3398
3528
|
core.Output()
|
|
3399
3529
|
], CodeEditorComponent.prototype, "codeChange", void 0);
|
|
3400
|
-
__decorate([
|
|
3401
|
-
core.Input()
|
|
3402
|
-
], CodeEditorComponent.prototype, "isCodeValid", void 0);
|
|
3403
3530
|
__decorate([
|
|
3404
3531
|
core.Output()
|
|
3405
3532
|
], CodeEditorComponent.prototype, "isCodeValidChange", void 0);
|
|
@@ -3409,10 +3536,20 @@
|
|
|
3409
3536
|
__decorate([
|
|
3410
3537
|
core.Output()
|
|
3411
3538
|
], CodeEditorComponent.prototype, "onComponentFinishLoad", void 0);
|
|
3412
|
-
|
|
3539
|
+
__decorate([
|
|
3540
|
+
core.ViewChild("coreWrapper")
|
|
3541
|
+
], CodeEditorComponent.prototype, "coreWrapperElement", void 0);
|
|
3542
|
+
CodeEditorComponent = CodeEditorComponent_1 = __decorate([
|
|
3413
3543
|
core.Component({
|
|
3414
3544
|
selector: "s-code-editor",
|
|
3415
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
|
+
],
|
|
3416
3553
|
styles: [".core-wrapper{height:100%}"]
|
|
3417
3554
|
})
|
|
3418
3555
|
], CodeEditorComponent);
|
|
@@ -4703,18 +4840,15 @@
|
|
|
4703
4840
|
}
|
|
4704
4841
|
CodeEditorModule = __decorate([
|
|
4705
4842
|
core.NgModule({
|
|
4706
|
-
imports: [
|
|
4707
|
-
common.CommonModule,
|
|
4708
|
-
CustomTranslationsModule,
|
|
4709
|
-
],
|
|
4843
|
+
imports: [common.CommonModule, CustomTranslationsModule],
|
|
4710
4844
|
declarations: [CodeEditorComponent],
|
|
4711
4845
|
exports: [CodeEditorComponent],
|
|
4712
4846
|
providers: [
|
|
4713
4847
|
{
|
|
4714
4848
|
provide: CoreFacade,
|
|
4715
|
-
useClass: CodeMirror6Core
|
|
4716
|
-
}
|
|
4717
|
-
]
|
|
4849
|
+
useClass: CodeMirror6Core,
|
|
4850
|
+
},
|
|
4851
|
+
],
|
|
4718
4852
|
})
|
|
4719
4853
|
], CodeEditorModule);
|
|
4720
4854
|
return CodeEditorModule;
|
|
@@ -5430,13 +5564,27 @@
|
|
|
5430
5564
|
return CountryPhonePickerModule;
|
|
5431
5565
|
}());
|
|
5432
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
|
+
|
|
5433
5579
|
|
|
5434
5580
|
(function (FieldType) {
|
|
5435
5581
|
FieldType["Autocomplete"] = "Autocomplete";
|
|
5436
5582
|
FieldType["Binary"] = "Binary";
|
|
5437
5583
|
FieldType["Blob"] = "Blob";
|
|
5438
5584
|
FieldType["Boolean"] = "Boolean";
|
|
5585
|
+
FieldType["Checkbox"] = "Checkbox";
|
|
5439
5586
|
FieldType["Chips"] = "Chips";
|
|
5587
|
+
FieldType["CodeEditor"] = "CodeEditor";
|
|
5440
5588
|
FieldType["CountryPhonePicker"] = "CountryPhonePicker";
|
|
5441
5589
|
FieldType["Custom"] = "Custom";
|
|
5442
5590
|
FieldType["Date"] = "Date";
|
|
@@ -5637,6 +5785,16 @@
|
|
|
5637
5785
|
return CalendarField;
|
|
5638
5786
|
}(Field));
|
|
5639
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
|
+
|
|
5640
5798
|
var ChipsField = /** @class */ (function (_super) {
|
|
5641
5799
|
__extends(ChipsField, _super);
|
|
5642
5800
|
function ChipsField(config) {
|
|
@@ -5656,6 +5814,19 @@
|
|
|
5656
5814
|
return ChipsField;
|
|
5657
5815
|
}(Field));
|
|
5658
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
|
+
|
|
5659
5830
|
/**
|
|
5660
5831
|
* @deprecated Should use 'AlignmentOptions' from @seniorsistemas/ng2-currency-mask instead
|
|
5661
5832
|
*/
|
|
@@ -5911,6 +6082,28 @@
|
|
|
5911
6082
|
return LookupField;
|
|
5912
6083
|
}(Field));
|
|
5913
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
|
+
|
|
5914
6107
|
var RationButtonOption = /** @class */ (function () {
|
|
5915
6108
|
function RationButtonOption(config) {
|
|
5916
6109
|
this.label = config.label;
|
|
@@ -5960,6 +6153,29 @@
|
|
|
5960
6153
|
return SelectOption;
|
|
5961
6154
|
}());
|
|
5962
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
|
+
|
|
5963
6179
|
var TextAreaField = /** @class */ (function (_super) {
|
|
5964
6180
|
__extends(TextAreaField, _super);
|
|
5965
6181
|
function TextAreaField(config) {
|
|
@@ -6011,62 +6227,31 @@
|
|
|
6011
6227
|
return TextField;
|
|
6012
6228
|
}(Field));
|
|
6013
6229
|
|
|
6014
|
-
var
|
|
6015
|
-
__extends(
|
|
6016
|
-
function
|
|
6017
|
-
var _this = _super.call(this, config) || this;
|
|
6018
|
-
_this.inputType = config.inputType;
|
|
6019
|
-
_this.keyFilter = config.keyFilter;
|
|
6020
|
-
_this.leftAddon = config.leftAddon;
|
|
6021
|
-
_this.rightAddon = config.rightAddon;
|
|
6022
|
-
_this.maxLength = config.maxLength || 9999999;
|
|
6023
|
-
_this.passwordStrength = config.passwordStrength;
|
|
6024
|
-
_this.passwordStrengthOptions = config.passwordStrengthOptions;
|
|
6025
|
-
_this.showToggle = config.showToggle;
|
|
6026
|
-
_this.style = config.style;
|
|
6027
|
-
_this.onBlur = config.onBlur;
|
|
6028
|
-
_this.onFocus = config.onFocus;
|
|
6029
|
-
_this.onComplete = config.onComplete;
|
|
6030
|
-
_this.onInput = config.onInput;
|
|
6031
|
-
return _this;
|
|
6032
|
-
}
|
|
6033
|
-
return PasswordField;
|
|
6034
|
-
}(Field));
|
|
6035
|
-
|
|
6036
|
-
var SliderField = /** @class */ (function (_super) {
|
|
6037
|
-
__extends(SliderField, _super);
|
|
6038
|
-
function SliderField(config) {
|
|
6039
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
6230
|
+
var CodeEditorField = /** @class */ (function (_super) {
|
|
6231
|
+
__extends(CodeEditorField, _super);
|
|
6232
|
+
function CodeEditorField(config) {
|
|
6040
6233
|
var _this = _super.call(this, config) || this;
|
|
6041
|
-
_this.
|
|
6042
|
-
_this.
|
|
6043
|
-
_this.
|
|
6044
|
-
_this.
|
|
6045
|
-
_this.
|
|
6046
|
-
_this.max = (_c = config.max) !== null && _c !== void 0 ? _c : _this.maxDefault;
|
|
6047
|
-
_this.orientation = (_d = config.orientation) !== null && _d !== void 0 ? _d : "horizontal";
|
|
6048
|
-
_this.step = (_e = config.step) !== null && _e !== void 0 ? _e : 1;
|
|
6049
|
-
_this.animate = (_f = config.animate) !== null && _f !== void 0 ? _f : false;
|
|
6050
|
-
_this.disabled = (_g = config.disabled) !== null && _g !== void 0 ? _g : false;
|
|
6051
|
-
_this.prefix = config.prefix;
|
|
6052
|
-
_this.suffix = config.suffix;
|
|
6053
|
-
_this.rangeSeparator = (_h = config.rangeSeparator) !== null && _h !== void 0 ? _h : ' - ';
|
|
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;
|
|
6054
6239
|
return _this;
|
|
6055
6240
|
}
|
|
6056
|
-
return
|
|
6241
|
+
return CodeEditorField;
|
|
6057
6242
|
}(Field));
|
|
6058
6243
|
|
|
6059
|
-
var
|
|
6060
|
-
__extends(
|
|
6061
|
-
function
|
|
6244
|
+
var EditorField = /** @class */ (function (_super) {
|
|
6245
|
+
__extends(EditorField, _super);
|
|
6246
|
+
function EditorField(config) {
|
|
6062
6247
|
var _this = _super.call(this, config) || this;
|
|
6063
|
-
_this.
|
|
6064
|
-
_this.
|
|
6065
|
-
_this.
|
|
6066
|
-
_this.
|
|
6248
|
+
_this.formats = config.formats;
|
|
6249
|
+
_this.readonly = config.readonly;
|
|
6250
|
+
_this.modules = config.modules;
|
|
6251
|
+
_this.style = config.style;
|
|
6067
6252
|
return _this;
|
|
6068
6253
|
}
|
|
6069
|
-
return
|
|
6254
|
+
return EditorField;
|
|
6070
6255
|
}(Field));
|
|
6071
6256
|
|
|
6072
6257
|
var ProfilePictureField = /** @class */ (function (_super) {
|
|
@@ -6092,19 +6277,6 @@
|
|
|
6092
6277
|
return ProfilePictureField;
|
|
6093
6278
|
}(Field));
|
|
6094
6279
|
|
|
6095
|
-
var EditorField = /** @class */ (function (_super) {
|
|
6096
|
-
__extends(EditorField, _super);
|
|
6097
|
-
function EditorField(config) {
|
|
6098
|
-
var _this = _super.call(this, config) || this;
|
|
6099
|
-
_this.formats = config.formats;
|
|
6100
|
-
_this.readonly = config.readonly;
|
|
6101
|
-
_this.modules = config.modules;
|
|
6102
|
-
_this.style = config.style;
|
|
6103
|
-
return _this;
|
|
6104
|
-
}
|
|
6105
|
-
return EditorField;
|
|
6106
|
-
}(Field));
|
|
6107
|
-
|
|
6108
6280
|
var FormField = /** @class */ (function () {
|
|
6109
6281
|
function FormField(config) {
|
|
6110
6282
|
switch (config.type) {
|
|
@@ -6140,8 +6312,12 @@
|
|
|
6140
6312
|
return new LookupField(config);
|
|
6141
6313
|
case exports.FieldType.Radio:
|
|
6142
6314
|
return new RadioButtonField(config);
|
|
6315
|
+
case exports.FieldType.Checkbox:
|
|
6316
|
+
return new CheckboxField(config);
|
|
6143
6317
|
case exports.FieldType.Chips:
|
|
6144
6318
|
return new ChipsField(config);
|
|
6319
|
+
case exports.FieldType.CodeEditor:
|
|
6320
|
+
return new CodeEditorField(config);
|
|
6145
6321
|
case exports.FieldType.CountryPhonePicker:
|
|
6146
6322
|
return new CountryPhonePickerField(config);
|
|
6147
6323
|
case exports.FieldType.Blob:
|
|
@@ -6740,18 +6916,6 @@
|
|
|
6740
6916
|
return LookupComponent;
|
|
6741
6917
|
}());
|
|
6742
6918
|
|
|
6743
|
-
var BaseFieldComponent = /** @class */ (function () {
|
|
6744
|
-
function BaseFieldComponent() {
|
|
6745
|
-
}
|
|
6746
|
-
BaseFieldComponent.prototype.isFunction = function (value) {
|
|
6747
|
-
return value instanceof Function;
|
|
6748
|
-
};
|
|
6749
|
-
BaseFieldComponent.prototype.trigger = function (callback) {
|
|
6750
|
-
return callback();
|
|
6751
|
-
};
|
|
6752
|
-
return BaseFieldComponent;
|
|
6753
|
-
}());
|
|
6754
|
-
|
|
6755
6919
|
|
|
6756
6920
|
(function (DynamicType) {
|
|
6757
6921
|
DynamicType["Autocomplete"] = "Autocomplete";
|
|
@@ -6900,72 +7064,21 @@
|
|
|
6900
7064
|
return DynamicFormComponent;
|
|
6901
7065
|
}());
|
|
6902
7066
|
|
|
6903
|
-
var
|
|
6904
|
-
function
|
|
6905
|
-
this.
|
|
6906
|
-
this.
|
|
7067
|
+
var LongPressDirective = /** @class */ (function () {
|
|
7068
|
+
function LongPressDirective() {
|
|
7069
|
+
this.sLongPressDelay = 500;
|
|
7070
|
+
this.sLongPress = new core.EventEmitter();
|
|
7071
|
+
this.mouseUp = new rxjs.Subject();
|
|
7072
|
+
this.mouseDown = new rxjs.Subject();
|
|
7073
|
+
this.ngUnsubscribe = new rxjs.Subject();
|
|
6907
7074
|
}
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
parameters: {
|
|
6916
|
-
model: "gpt-3.5-turbo",
|
|
6917
|
-
max_tokens: 700,
|
|
6918
|
-
temperature: 1,
|
|
6919
|
-
},
|
|
6920
|
-
})
|
|
6921
|
-
.pipe(operators.catchError(function (err) {
|
|
6922
|
-
_this._messageService.add({
|
|
6923
|
-
severity: "error",
|
|
6924
|
-
summary: err.status ? String(err.status) : "Error",
|
|
6925
|
-
detail: (err.error && err.error.message) || err.statusText || err.message || "Error",
|
|
6926
|
-
});
|
|
6927
|
-
return rxjs.throwError(err);
|
|
6928
|
-
}));
|
|
6929
|
-
};
|
|
6930
|
-
IAssistService.prototype._replacePlaceholder = function (context, data) {
|
|
6931
|
-
var values = __assign(__assign({}, data), { context: context });
|
|
6932
|
-
delete values.prompt;
|
|
6933
|
-
var result = data.prompt;
|
|
6934
|
-
for (var key in __assign(__assign({}, values), { context: context })) {
|
|
6935
|
-
var placeholder = new RegExp("{{\\s*" + key + "\\s*}}", "g");
|
|
6936
|
-
result = result.replace(placeholder, values[key]);
|
|
6937
|
-
}
|
|
6938
|
-
console.log("prompt", result);
|
|
6939
|
-
return result;
|
|
6940
|
-
};
|
|
6941
|
-
IAssistService.prototype._createPrompt = function (context, data) {
|
|
6942
|
-
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";
|
|
6943
|
-
};
|
|
6944
|
-
IAssistService.ctorParameters = function () { return [
|
|
6945
|
-
{ type: http.HttpClient },
|
|
6946
|
-
{ type: api.MessageService }
|
|
6947
|
-
]; };
|
|
6948
|
-
IAssistService = __decorate([
|
|
6949
|
-
core.Injectable()
|
|
6950
|
-
], IAssistService);
|
|
6951
|
-
return IAssistService;
|
|
6952
|
-
}());
|
|
6953
|
-
|
|
6954
|
-
var LongPressDirective = /** @class */ (function () {
|
|
6955
|
-
function LongPressDirective() {
|
|
6956
|
-
this.sLongPressDelay = 500;
|
|
6957
|
-
this.sLongPress = new core.EventEmitter();
|
|
6958
|
-
this.mouseUp = new rxjs.Subject();
|
|
6959
|
-
this.mouseDown = new rxjs.Subject();
|
|
6960
|
-
this.ngUnsubscribe = new rxjs.Subject();
|
|
6961
|
-
}
|
|
6962
|
-
LongPressDirective.prototype.onMouseUp = function (event) {
|
|
6963
|
-
this.mouseUp.next(event);
|
|
6964
|
-
};
|
|
6965
|
-
LongPressDirective.prototype.onMouseDown = function (event) {
|
|
6966
|
-
this.mouseDown.next(event);
|
|
6967
|
-
};
|
|
6968
|
-
LongPressDirective.prototype.ngOnInit = function () {
|
|
7075
|
+
LongPressDirective.prototype.onMouseUp = function (event) {
|
|
7076
|
+
this.mouseUp.next(event);
|
|
7077
|
+
};
|
|
7078
|
+
LongPressDirective.prototype.onMouseDown = function (event) {
|
|
7079
|
+
this.mouseDown.next(event);
|
|
7080
|
+
};
|
|
7081
|
+
LongPressDirective.prototype.ngOnInit = function () {
|
|
6969
7082
|
var _this = this;
|
|
6970
7083
|
this.mouseDown
|
|
6971
7084
|
.pipe(operators.debounceTime(this.sLongPressDelay), operators.takeUntil(this.mouseUp), operators.repeat(), operators.takeUntil(this.ngUnsubscribe))
|
|
@@ -7053,6 +7166,57 @@
|
|
|
7053
7166
|
return MouseEventsModule;
|
|
7054
7167
|
}());
|
|
7055
7168
|
|
|
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
|
+
|
|
7056
7220
|
var EmptyStateComponent = /** @class */ (function () {
|
|
7057
7221
|
function EmptyStateComponent() {
|
|
7058
7222
|
this.id = "s-empty-state-" + EmptyStateComponent_1.nextId++;
|
|
@@ -9031,106 +9195,270 @@
|
|
|
9031
9195
|
return PasswordStrengthModule;
|
|
9032
9196
|
}());
|
|
9033
9197
|
|
|
9034
|
-
var
|
|
9035
|
-
function
|
|
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
|
+
});
|
|
9036
9211
|
}
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
case "ArrowRight":
|
|
9041
|
-
if (this.isRow(event.target)) {
|
|
9042
|
-
this.focusFirstColFromCurrentRow(event.target);
|
|
9043
|
-
}
|
|
9044
|
-
else if (this.isCol(event.target)) {
|
|
9045
|
-
this.focusNextSelectableCol(event.target);
|
|
9046
|
-
}
|
|
9047
|
-
event.preventDefault();
|
|
9048
|
-
break;
|
|
9049
|
-
case "Left": // IE 11
|
|
9050
|
-
case "ArrowLeft":
|
|
9051
|
-
if (this.isRow(event.target)) {
|
|
9052
|
-
this.focusLastColFromPrevRow(event.target);
|
|
9053
|
-
}
|
|
9054
|
-
else if (this.isCol(event.target)) {
|
|
9055
|
-
this.focusPrevSelectableCol(event.target);
|
|
9056
|
-
}
|
|
9057
|
-
event.preventDefault();
|
|
9058
|
-
break;
|
|
9059
|
-
case "Up": // IE 11
|
|
9060
|
-
case "ArrowUp":
|
|
9061
|
-
if (this.isRow(event.target)) {
|
|
9062
|
-
this.setPrevRowFocus(event.target);
|
|
9063
|
-
}
|
|
9064
|
-
else if (this.isCol(event.target)) {
|
|
9065
|
-
this.setAboveColFocus(event.target);
|
|
9066
|
-
}
|
|
9067
|
-
event.preventDefault();
|
|
9068
|
-
break;
|
|
9069
|
-
case "Down": // IE 11
|
|
9070
|
-
case "ArrowDown":
|
|
9071
|
-
if (this.isRow(event.target)) {
|
|
9072
|
-
this.setNextRowFocus(event.target);
|
|
9073
|
-
}
|
|
9074
|
-
else if (this.isCol(event.target)) {
|
|
9075
|
-
this.setUnderColFocus(event.target);
|
|
9076
|
-
}
|
|
9077
|
-
event.preventDefault();
|
|
9078
|
-
break;
|
|
9079
|
-
}
|
|
9212
|
+
TableHeaderCheckboxComponent_1 = TableHeaderCheckboxComponent;
|
|
9213
|
+
TableHeaderCheckboxComponent.prototype.ngOnInit = function () {
|
|
9214
|
+
this.checked = this.updateCheckedState();
|
|
9080
9215
|
};
|
|
9081
|
-
|
|
9082
|
-
|
|
9083
|
-
if (prevRow) {
|
|
9084
|
-
prevRow.lastElementChild.focus();
|
|
9085
|
-
}
|
|
9216
|
+
TableHeaderCheckboxComponent.prototype.ngOnDestroy = function () {
|
|
9217
|
+
this.ngUnsubscribe.next();
|
|
9086
9218
|
};
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9090
|
-
|
|
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);
|
|
9091
9232
|
}
|
|
9092
9233
|
};
|
|
9093
|
-
|
|
9094
|
-
|
|
9095
|
-
|
|
9096
|
-
|
|
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();
|
|
9097
9238
|
}
|
|
9098
9239
|
else {
|
|
9099
|
-
var
|
|
9100
|
-
return this.
|
|
9240
|
+
var val = this.table.value;
|
|
9241
|
+
return val && val.length > 0 && this.table.selection && this.table.selection.length > 0 && this.isAllValuesChecked();
|
|
9101
9242
|
}
|
|
9102
9243
|
};
|
|
9103
|
-
|
|
9104
|
-
var
|
|
9105
|
-
|
|
9106
|
-
|
|
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);
|
|
9107
9262
|
}
|
|
9108
9263
|
else {
|
|
9109
|
-
|
|
9110
|
-
|
|
9111
|
-
|
|
9112
|
-
};
|
|
9113
|
-
NavigationDirective.prototype.setAboveColFocus = function (currentCol) {
|
|
9114
|
-
var cellIndex = currentCol["cellIndex"];
|
|
9115
|
-
var currentRow = currentCol.parentElement;
|
|
9116
|
-
var prevRow = this.findPrevSelectableRow(currentRow);
|
|
9117
|
-
if (prevRow)
|
|
9118
|
-
prevRow.cells[cellIndex].focus();
|
|
9119
|
-
};
|
|
9120
|
-
NavigationDirective.prototype.setUnderColFocus = function (currentCol) {
|
|
9121
|
-
var cellIndex = currentCol["cellIndex"];
|
|
9122
|
-
var currentRow = currentCol.parentElement;
|
|
9123
|
-
var nextRow = this.findNextSelectableRow(currentRow);
|
|
9124
|
-
if (nextRow)
|
|
9125
|
-
nextRow.cells[cellIndex].focus();
|
|
9126
|
-
};
|
|
9127
|
-
NavigationDirective.prototype.setNextRowFocus = function (row) {
|
|
9128
|
-
var nextRow = this.findNextSelectableRow(row);
|
|
9129
|
-
if (nextRow) {
|
|
9130
|
-
nextRow.focus();
|
|
9264
|
+
value.forEach(function (data) {
|
|
9265
|
+
_this.table._selection = _this.table._selection.filter(function (record) { return record[dataKey] !== data[dataKey]; });
|
|
9266
|
+
});
|
|
9131
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();
|
|
9132
9273
|
};
|
|
9133
|
-
|
|
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
|
+
|
|
9362
|
+
var NavigationDirective = /** @class */ (function () {
|
|
9363
|
+
function NavigationDirective() {
|
|
9364
|
+
}
|
|
9365
|
+
NavigationDirective.prototype.onKeyDown = function (event) {
|
|
9366
|
+
switch (event.key) {
|
|
9367
|
+
case "Right": // IE 11
|
|
9368
|
+
case "ArrowRight":
|
|
9369
|
+
if (this.isRow(event.target)) {
|
|
9370
|
+
this.focusFirstColFromCurrentRow(event.target);
|
|
9371
|
+
}
|
|
9372
|
+
else if (this.isCol(event.target)) {
|
|
9373
|
+
this.focusNextSelectableCol(event.target);
|
|
9374
|
+
}
|
|
9375
|
+
event.preventDefault();
|
|
9376
|
+
break;
|
|
9377
|
+
case "Left": // IE 11
|
|
9378
|
+
case "ArrowLeft":
|
|
9379
|
+
if (this.isRow(event.target)) {
|
|
9380
|
+
this.focusLastColFromPrevRow(event.target);
|
|
9381
|
+
}
|
|
9382
|
+
else if (this.isCol(event.target)) {
|
|
9383
|
+
this.focusPrevSelectableCol(event.target);
|
|
9384
|
+
}
|
|
9385
|
+
event.preventDefault();
|
|
9386
|
+
break;
|
|
9387
|
+
case "Up": // IE 11
|
|
9388
|
+
case "ArrowUp":
|
|
9389
|
+
if (this.isRow(event.target)) {
|
|
9390
|
+
this.setPrevRowFocus(event.target);
|
|
9391
|
+
}
|
|
9392
|
+
else if (this.isCol(event.target)) {
|
|
9393
|
+
this.setAboveColFocus(event.target);
|
|
9394
|
+
}
|
|
9395
|
+
event.preventDefault();
|
|
9396
|
+
break;
|
|
9397
|
+
case "Down": // IE 11
|
|
9398
|
+
case "ArrowDown":
|
|
9399
|
+
if (this.isRow(event.target)) {
|
|
9400
|
+
this.setNextRowFocus(event.target);
|
|
9401
|
+
}
|
|
9402
|
+
else if (this.isCol(event.target)) {
|
|
9403
|
+
this.setUnderColFocus(event.target);
|
|
9404
|
+
}
|
|
9405
|
+
event.preventDefault();
|
|
9406
|
+
break;
|
|
9407
|
+
}
|
|
9408
|
+
};
|
|
9409
|
+
NavigationDirective.prototype.focusLastColFromPrevRow = function (event) {
|
|
9410
|
+
var prevRow = this.findPrevSelectableRow(event);
|
|
9411
|
+
if (prevRow) {
|
|
9412
|
+
prevRow.lastElementChild.focus();
|
|
9413
|
+
}
|
|
9414
|
+
};
|
|
9415
|
+
NavigationDirective.prototype.focusFirstColFromCurrentRow = function (row) {
|
|
9416
|
+
var firstCol = row.firstElementChild;
|
|
9417
|
+
if (firstCol) {
|
|
9418
|
+
firstCol.focus();
|
|
9419
|
+
}
|
|
9420
|
+
};
|
|
9421
|
+
NavigationDirective.prototype.focusNextSelectableCol = function (col) {
|
|
9422
|
+
var nextCol = col.nextElementSibling;
|
|
9423
|
+
if (nextCol) {
|
|
9424
|
+
nextCol.focus();
|
|
9425
|
+
}
|
|
9426
|
+
else {
|
|
9427
|
+
var currentRow = col.parentElement;
|
|
9428
|
+
return this.setNextRowFocus(currentRow);
|
|
9429
|
+
}
|
|
9430
|
+
};
|
|
9431
|
+
NavigationDirective.prototype.focusPrevSelectableCol = function (col) {
|
|
9432
|
+
var prevCol = col.previousElementSibling;
|
|
9433
|
+
if (prevCol) {
|
|
9434
|
+
prevCol.focus();
|
|
9435
|
+
}
|
|
9436
|
+
else {
|
|
9437
|
+
var currentRow = col.parentElement;
|
|
9438
|
+
return currentRow.focus();
|
|
9439
|
+
}
|
|
9440
|
+
};
|
|
9441
|
+
NavigationDirective.prototype.setAboveColFocus = function (currentCol) {
|
|
9442
|
+
var cellIndex = currentCol["cellIndex"];
|
|
9443
|
+
var currentRow = currentCol.parentElement;
|
|
9444
|
+
var prevRow = this.findPrevSelectableRow(currentRow);
|
|
9445
|
+
if (prevRow)
|
|
9446
|
+
prevRow.cells[cellIndex].focus();
|
|
9447
|
+
};
|
|
9448
|
+
NavigationDirective.prototype.setUnderColFocus = function (currentCol) {
|
|
9449
|
+
var cellIndex = currentCol["cellIndex"];
|
|
9450
|
+
var currentRow = currentCol.parentElement;
|
|
9451
|
+
var nextRow = this.findNextSelectableRow(currentRow);
|
|
9452
|
+
if (nextRow)
|
|
9453
|
+
nextRow.cells[cellIndex].focus();
|
|
9454
|
+
};
|
|
9455
|
+
NavigationDirective.prototype.setNextRowFocus = function (row) {
|
|
9456
|
+
var nextRow = this.findNextSelectableRow(row);
|
|
9457
|
+
if (nextRow) {
|
|
9458
|
+
nextRow.focus();
|
|
9459
|
+
}
|
|
9460
|
+
};
|
|
9461
|
+
NavigationDirective.prototype.setPrevRowFocus = function (row) {
|
|
9134
9462
|
var prevRow = this.findPrevSelectableRow(row);
|
|
9135
9463
|
if (prevRow) {
|
|
9136
9464
|
prevRow.focus();
|
|
@@ -10079,205 +10407,41 @@
|
|
|
10079
10407
|
return TableModule;
|
|
10080
10408
|
}());
|
|
10081
10409
|
|
|
10082
|
-
var
|
|
10083
|
-
function
|
|
10084
|
-
|
|
10085
|
-
this.
|
|
10086
|
-
this.tableService = tableService;
|
|
10087
|
-
this.id = "s-table-header-checkbox-" + TableHeaderCheckboxComponent_1.nextId++;
|
|
10088
|
-
this.ngUnsubscribe = new rxjs.Subject();
|
|
10089
|
-
this.table.tableService.valueSource$.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function () {
|
|
10090
|
-
_this.checked = _this.updateCheckedState();
|
|
10091
|
-
});
|
|
10092
|
-
this.table.tableService.selectionSource$.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function () {
|
|
10093
|
-
_this.checked = _this.updateCheckedState();
|
|
10094
|
-
});
|
|
10410
|
+
var AutocompleteFieldComponent = /** @class */ (function () {
|
|
10411
|
+
function AutocompleteFieldComponent(changeDetectorRef, elementRef) {
|
|
10412
|
+
this.changeDetectorRef = changeDetectorRef;
|
|
10413
|
+
this.elementRef = elementRef;
|
|
10095
10414
|
}
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
this.
|
|
10099
|
-
};
|
|
10100
|
-
TableHeaderCheckboxComponent.prototype.ngOnDestroy = function () {
|
|
10101
|
-
this.ngUnsubscribe.next();
|
|
10102
|
-
};
|
|
10103
|
-
TableHeaderCheckboxComponent.prototype.onFocus = function () {
|
|
10104
|
-
this.hasFocus = true;
|
|
10105
|
-
};
|
|
10106
|
-
TableHeaderCheckboxComponent.prototype.onBlur = function () {
|
|
10107
|
-
this.hasFocus = false;
|
|
10415
|
+
AutocompleteFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10416
|
+
this.setInputRef();
|
|
10417
|
+
this.changeDetectorRef.detectChanges();
|
|
10108
10418
|
};
|
|
10109
|
-
|
|
10110
|
-
|
|
10419
|
+
AutocompleteFieldComponent.prototype.setInputRef = function () {
|
|
10420
|
+
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
10111
10421
|
};
|
|
10112
|
-
|
|
10113
|
-
|
|
10114
|
-
|
|
10115
|
-
|
|
10116
|
-
|
|
10117
|
-
|
|
10118
|
-
|
|
10119
|
-
|
|
10120
|
-
|
|
10121
|
-
|
|
10122
|
-
|
|
10123
|
-
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10127
|
-
|
|
10128
|
-
|
|
10129
|
-
|
|
10130
|
-
|
|
10131
|
-
|
|
10132
|
-
|
|
10133
|
-
|
|
10134
|
-
|
|
10135
|
-
.map(function (record) {
|
|
10136
|
-
if (_this.useAllObject)
|
|
10137
|
-
return record;
|
|
10138
|
-
var newRecord = {};
|
|
10139
|
-
if (_this.rowProps)
|
|
10140
|
-
_this.rowProps.forEach(function (prop) { return (newRecord[prop] = record[prop]); });
|
|
10141
|
-
else
|
|
10142
|
-
newRecord[dataKey] = record[dataKey];
|
|
10143
|
-
return newRecord;
|
|
10144
|
-
});
|
|
10145
|
-
this.table._selection = __spread(this.table._selection, unselecteds);
|
|
10146
|
-
}
|
|
10147
|
-
else {
|
|
10148
|
-
value.forEach(function (data) {
|
|
10149
|
-
_this.table._selection = _this.table._selection.filter(function (record) { return record[dataKey] !== data[dataKey]; });
|
|
10150
|
-
});
|
|
10151
|
-
}
|
|
10152
|
-
this.table.updateSelectionKeys();
|
|
10153
|
-
this.table.selectionChange.emit(this.table._selection);
|
|
10154
|
-
this.tableService.onSelectionChange();
|
|
10155
|
-
if (this.table.isStateful())
|
|
10156
|
-
this.table.saveState();
|
|
10157
|
-
};
|
|
10158
|
-
TableHeaderCheckboxComponent.prototype.isAllFilteredValuesChecked = function () {
|
|
10159
|
-
var e_1, _a;
|
|
10160
|
-
if (!this.table.filteredValue) {
|
|
10161
|
-
return false;
|
|
10162
|
-
}
|
|
10163
|
-
else {
|
|
10164
|
-
try {
|
|
10165
|
-
for (var _b = __values(this.table.filteredValue), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
10166
|
-
var rowData = _c.value;
|
|
10167
|
-
if (!this.table.isSelected(rowData)) {
|
|
10168
|
-
return false;
|
|
10169
|
-
}
|
|
10170
|
-
}
|
|
10171
|
-
}
|
|
10172
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
10173
|
-
finally {
|
|
10174
|
-
try {
|
|
10175
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10176
|
-
}
|
|
10177
|
-
finally { if (e_1) throw e_1.error; }
|
|
10178
|
-
}
|
|
10179
|
-
return true;
|
|
10180
|
-
}
|
|
10181
|
-
};
|
|
10182
|
-
TableHeaderCheckboxComponent.prototype.isAllValuesChecked = function () {
|
|
10183
|
-
var e_2, _a;
|
|
10184
|
-
if (!this.table.value) {
|
|
10185
|
-
return false;
|
|
10186
|
-
}
|
|
10187
|
-
else {
|
|
10188
|
-
try {
|
|
10189
|
-
for (var _b = __values(this.table.value), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
10190
|
-
var rowData = _c.value;
|
|
10191
|
-
if (!this.table.isSelected(rowData)) {
|
|
10192
|
-
return false;
|
|
10193
|
-
}
|
|
10194
|
-
}
|
|
10195
|
-
}
|
|
10196
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
10197
|
-
finally {
|
|
10198
|
-
try {
|
|
10199
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
10200
|
-
}
|
|
10201
|
-
finally { if (e_2) throw e_2.error; }
|
|
10202
|
-
}
|
|
10203
|
-
return true;
|
|
10204
|
-
}
|
|
10205
|
-
};
|
|
10206
|
-
var TableHeaderCheckboxComponent_1;
|
|
10207
|
-
TableHeaderCheckboxComponent.nextId = 0;
|
|
10208
|
-
TableHeaderCheckboxComponent.ctorParameters = function () { return [
|
|
10209
|
-
{ type: table.Table },
|
|
10210
|
-
{ type: table.TableService }
|
|
10211
|
-
]; };
|
|
10212
|
-
__decorate([
|
|
10213
|
-
core.Input()
|
|
10214
|
-
], TableHeaderCheckboxComponent.prototype, "id", void 0);
|
|
10215
|
-
__decorate([
|
|
10216
|
-
core.Input()
|
|
10217
|
-
], TableHeaderCheckboxComponent.prototype, "disabled", void 0);
|
|
10218
|
-
__decorate([
|
|
10219
|
-
core.Input()
|
|
10220
|
-
], TableHeaderCheckboxComponent.prototype, "rowProps", void 0);
|
|
10221
|
-
__decorate([
|
|
10222
|
-
core.Input()
|
|
10223
|
-
], TableHeaderCheckboxComponent.prototype, "useAllObject", void 0);
|
|
10224
|
-
TableHeaderCheckboxComponent = TableHeaderCheckboxComponent_1 = __decorate([
|
|
10225
|
-
core.Component({
|
|
10226
|
-
selector: "s-table-header-checkbox",
|
|
10227
|
-
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 "
|
|
10228
|
-
})
|
|
10229
|
-
], TableHeaderCheckboxComponent);
|
|
10230
|
-
return TableHeaderCheckboxComponent;
|
|
10231
|
-
}());
|
|
10232
|
-
|
|
10233
|
-
var TableHeaderCheckboxModule = /** @class */ (function () {
|
|
10234
|
-
function TableHeaderCheckboxModule() {
|
|
10235
|
-
}
|
|
10236
|
-
TableHeaderCheckboxModule = __decorate([
|
|
10237
|
-
core.NgModule({
|
|
10238
|
-
imports: [common.CommonModule],
|
|
10239
|
-
exports: [TableHeaderCheckboxComponent],
|
|
10240
|
-
declarations: [TableHeaderCheckboxComponent],
|
|
10241
|
-
})
|
|
10242
|
-
], TableHeaderCheckboxModule);
|
|
10243
|
-
return TableHeaderCheckboxModule;
|
|
10244
|
-
}());
|
|
10245
|
-
|
|
10246
|
-
var AutocompleteFieldComponent = /** @class */ (function () {
|
|
10247
|
-
function AutocompleteFieldComponent(changeDetectorRef, elementRef) {
|
|
10248
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
10249
|
-
this.elementRef = elementRef;
|
|
10250
|
-
}
|
|
10251
|
-
AutocompleteFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10252
|
-
this.setInputRef();
|
|
10253
|
-
this.changeDetectorRef.detectChanges();
|
|
10254
|
-
};
|
|
10255
|
-
AutocompleteFieldComponent.prototype.setInputRef = function () {
|
|
10256
|
-
this.inputRef = this.elementRef.nativeElement.querySelector('input');
|
|
10257
|
-
};
|
|
10258
|
-
AutocompleteFieldComponent.ctorParameters = function () { return [
|
|
10259
|
-
{ type: core.ChangeDetectorRef },
|
|
10260
|
-
{ type: core.ElementRef }
|
|
10261
|
-
]; };
|
|
10262
|
-
__decorate([
|
|
10263
|
-
core.Input()
|
|
10264
|
-
], AutocompleteFieldComponent.prototype, "field", void 0);
|
|
10265
|
-
__decorate([
|
|
10266
|
-
core.Input()
|
|
10267
|
-
], AutocompleteFieldComponent.prototype, "formControl", void 0);
|
|
10268
|
-
AutocompleteFieldComponent = __decorate([
|
|
10269
|
-
core.Component({
|
|
10270
|
-
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n \n<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <s-lookup\n [id]=\"(field.id || field.name)\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [lookupSuggestions]=\"field.suggestions\"\n [dataKey]=\"field.dataKey\"\n (onLookupRequest)=\"field.onSearch($event)\"\n [lookupDisplayField]=\"field.displayField\"\n [showSearch]=\"false\"\n [lookupAppendTo]=\"field.appendTo\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onUnselect)=\"field.onUnselect ? field.onUnselect($event) : null\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupEmptyMessage]=\"field.emptyMessage\">\n </s-lookup>\n</div>\n"
|
|
10271
|
-
})
|
|
10272
|
-
], AutocompleteFieldComponent);
|
|
10273
|
-
return AutocompleteFieldComponent;
|
|
10274
|
-
}());
|
|
10275
|
-
|
|
10276
|
-
var BooleanFieldComponent = /** @class */ (function () {
|
|
10277
|
-
function BooleanFieldComponent() {
|
|
10278
|
-
}
|
|
10279
|
-
BooleanFieldComponent.prototype.onClear = function () {
|
|
10280
|
-
this.formControl.reset();
|
|
10422
|
+
AutocompleteFieldComponent.ctorParameters = function () { return [
|
|
10423
|
+
{ type: core.ChangeDetectorRef },
|
|
10424
|
+
{ type: core.ElementRef }
|
|
10425
|
+
]; };
|
|
10426
|
+
__decorate([
|
|
10427
|
+
core.Input()
|
|
10428
|
+
], AutocompleteFieldComponent.prototype, "field", void 0);
|
|
10429
|
+
__decorate([
|
|
10430
|
+
core.Input()
|
|
10431
|
+
], AutocompleteFieldComponent.prototype, "formControl", void 0);
|
|
10432
|
+
AutocompleteFieldComponent = __decorate([
|
|
10433
|
+
core.Component({
|
|
10434
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n \n<div\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\">\n <s-lookup\n [id]=\"(field.id || field.name)\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [placeholder]=\"field.placeholder\"\n [lookupSuggestions]=\"field.suggestions\"\n [dataKey]=\"field.dataKey\"\n (onLookupRequest)=\"field.onSearch($event)\"\n [lookupDisplayField]=\"field.displayField\"\n [showSearch]=\"false\"\n [lookupAppendTo]=\"field.appendTo\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onUnselect)=\"field.onUnselect ? field.onUnselect($event) : null\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupEmptyMessage]=\"field.emptyMessage\">\n </s-lookup>\n</div>\n"
|
|
10435
|
+
})
|
|
10436
|
+
], AutocompleteFieldComponent);
|
|
10437
|
+
return AutocompleteFieldComponent;
|
|
10438
|
+
}());
|
|
10439
|
+
|
|
10440
|
+
var BooleanFieldComponent = /** @class */ (function () {
|
|
10441
|
+
function BooleanFieldComponent() {
|
|
10442
|
+
}
|
|
10443
|
+
BooleanFieldComponent.prototype.onClear = function () {
|
|
10444
|
+
this.formControl.reset();
|
|
10281
10445
|
};
|
|
10282
10446
|
__decorate([
|
|
10283
10447
|
core.Input()
|
|
@@ -10494,30 +10658,6 @@
|
|
|
10494
10658
|
return CountryPhonePickerFieldComponent;
|
|
10495
10659
|
}());
|
|
10496
10660
|
|
|
10497
|
-
var FieldsetComponent = /** @class */ (function () {
|
|
10498
|
-
function FieldsetComponent() {
|
|
10499
|
-
}
|
|
10500
|
-
__decorate([
|
|
10501
|
-
core.Input()
|
|
10502
|
-
], FieldsetComponent.prototype, "id", void 0);
|
|
10503
|
-
__decorate([
|
|
10504
|
-
core.Input()
|
|
10505
|
-
], FieldsetComponent.prototype, "config", void 0);
|
|
10506
|
-
__decorate([
|
|
10507
|
-
core.Input()
|
|
10508
|
-
], FieldsetComponent.prototype, "group", void 0);
|
|
10509
|
-
__decorate([
|
|
10510
|
-
core.Input()
|
|
10511
|
-
], FieldsetComponent.prototype, "errorMessages", void 0);
|
|
10512
|
-
FieldsetComponent = __decorate([
|
|
10513
|
-
core.Component({
|
|
10514
|
-
selector: "s-fieldset",
|
|
10515
|
-
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 "
|
|
10516
|
-
})
|
|
10517
|
-
], FieldsetComponent);
|
|
10518
|
-
return FieldsetComponent;
|
|
10519
|
-
}());
|
|
10520
|
-
|
|
10521
10661
|
var FileUploadComponent$1 = /** @class */ (function (_super) {
|
|
10522
10662
|
__extends(FileUploadComponent, _super);
|
|
10523
10663
|
function FileUploadComponent(changeDetectorRef, elementRef) {
|
|
@@ -10630,29 +10770,6 @@
|
|
|
10630
10770
|
return RadioButtonComponent;
|
|
10631
10771
|
}());
|
|
10632
10772
|
|
|
10633
|
-
var SectionComponent = /** @class */ (function () {
|
|
10634
|
-
function SectionComponent() {
|
|
10635
|
-
}
|
|
10636
|
-
__decorate([
|
|
10637
|
-
core.Input()
|
|
10638
|
-
], SectionComponent.prototype, "id", void 0);
|
|
10639
|
-
__decorate([
|
|
10640
|
-
core.Input()
|
|
10641
|
-
], SectionComponent.prototype, "config", void 0);
|
|
10642
|
-
__decorate([
|
|
10643
|
-
core.Input()
|
|
10644
|
-
], SectionComponent.prototype, "group", void 0);
|
|
10645
|
-
__decorate([
|
|
10646
|
-
core.Input()
|
|
10647
|
-
], SectionComponent.prototype, "errorMessages", void 0);
|
|
10648
|
-
SectionComponent = __decorate([
|
|
10649
|
-
core.Component({
|
|
10650
|
-
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 "
|
|
10651
|
-
})
|
|
10652
|
-
], SectionComponent);
|
|
10653
|
-
return SectionComponent;
|
|
10654
|
-
}());
|
|
10655
|
-
|
|
10656
10773
|
var SelectFieldComponent = /** @class */ (function (_super) {
|
|
10657
10774
|
__extends(SelectFieldComponent, _super);
|
|
10658
10775
|
function SelectFieldComponent() {
|
|
@@ -10788,33 +10905,6 @@
|
|
|
10788
10905
|
return SliderFieldComponent;
|
|
10789
10906
|
}(BaseFieldComponent));
|
|
10790
10907
|
|
|
10791
|
-
var TextAreaFieldComponent = /** @class */ (function () {
|
|
10792
|
-
function TextAreaFieldComponent(changeDetectorRef) {
|
|
10793
|
-
this.changeDetectorRef = changeDetectorRef;
|
|
10794
|
-
}
|
|
10795
|
-
TextAreaFieldComponent.prototype.ngAfterViewInit = function () {
|
|
10796
|
-
this.changeDetectorRef.detectChanges();
|
|
10797
|
-
};
|
|
10798
|
-
TextAreaFieldComponent.ctorParameters = function () { return [
|
|
10799
|
-
{ type: core.ChangeDetectorRef }
|
|
10800
|
-
]; };
|
|
10801
|
-
__decorate([
|
|
10802
|
-
core.Input()
|
|
10803
|
-
], TextAreaFieldComponent.prototype, "field", void 0);
|
|
10804
|
-
__decorate([
|
|
10805
|
-
core.Input()
|
|
10806
|
-
], TextAreaFieldComponent.prototype, "formControl", void 0);
|
|
10807
|
-
__decorate([
|
|
10808
|
-
core.ViewChild('inputRef')
|
|
10809
|
-
], TextAreaFieldComponent.prototype, "inputRef", void 0);
|
|
10810
|
-
TextAreaFieldComponent = __decorate([
|
|
10811
|
-
core.Component({
|
|
10812
|
-
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"
|
|
10813
|
-
})
|
|
10814
|
-
], TextAreaFieldComponent);
|
|
10815
|
-
return TextAreaFieldComponent;
|
|
10816
|
-
}());
|
|
10817
|
-
|
|
10818
10908
|
var TextAreaIAFieldComponent = /** @class */ (function () {
|
|
10819
10909
|
function TextAreaIAFieldComponent(_iassistService, _formBuilder, _translateService) {
|
|
10820
10910
|
this._iassistService = _iassistService;
|
|
@@ -10895,6 +10985,80 @@
|
|
|
10895
10985
|
return TextAreaIAFieldComponent;
|
|
10896
10986
|
}());
|
|
10897
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
|
+
|
|
10898
11062
|
var RowComponent = /** @class */ (function () {
|
|
10899
11063
|
function RowComponent() {
|
|
10900
11064
|
}
|
|
@@ -11274,12 +11438,159 @@
|
|
|
11274
11438
|
], TextFieldComponent.prototype, "inputRef", void 0);
|
|
11275
11439
|
TextFieldComponent = __decorate([
|
|
11276
11440
|
core.Component({
|
|
11277
|
-
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n\n<p-inputMask #inputRef\n *ngIf=\"field.mask; else noMask\"\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [readonly]=\"field.readonly ? field.readonly() : false\">\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled(): field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{ field.leftAddon.label }}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container> \n\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{ field.rightAddon.label }}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container> \n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input #inputRef\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input #inputText\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [pKeyFilter]=\"field.keyFilter\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n",
|
|
11441
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n\n<p-inputMask #inputRef\n *ngIf=\"field.mask; else noMask\"\n [type]=\"field.inputType || 'text'\"\n [inputId]=\"field.id || field.name\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [readonly]=\"field.readonly ? field.readonly() : false\">\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled(): field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{ field.leftAddon.label }}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container> \n\n <ng-container *ngTemplateOutlet=\"field.keyFilter ? inputKeyFilter : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{ field.rightAddon.label }}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container> \n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input #inputRef\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n<ng-template #inputKeyFilter>\n <input #inputText\n [type]=\"field.inputType || 'text'\"\n [id]=\"field.id || field.name\"\n [name]=\"field.name\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n [maxLength]=\"field.maxLength\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n (input)=\"onInput.next($event)\"\n [pKeyFilter]=\"field.keyFilter\"\n [formControl]=\"formControl\"\n [ngStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\" />\n</ng-template>\n",
|
|
11442
|
+
encapsulation: core.ViewEncapsulation.None,
|
|
11443
|
+
styles: ["s-text-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-text-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
|
|
11444
|
+
})
|
|
11445
|
+
], TextFieldComponent);
|
|
11446
|
+
return TextFieldComponent;
|
|
11447
|
+
}(BaseFieldComponent));
|
|
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
|
+
|
|
11466
|
+
var CheckboxFieldComponent = /** @class */ (function () {
|
|
11467
|
+
function CheckboxFieldComponent() {
|
|
11468
|
+
}
|
|
11469
|
+
__decorate([
|
|
11470
|
+
core.Input()
|
|
11471
|
+
], CheckboxFieldComponent.prototype, "field", void 0);
|
|
11472
|
+
__decorate([
|
|
11473
|
+
core.Input()
|
|
11474
|
+
], CheckboxFieldComponent.prototype, "formControl", void 0);
|
|
11475
|
+
CheckboxFieldComponent = __decorate([
|
|
11476
|
+
core.Component({
|
|
11477
|
+
template: "<s-checkbox\n [data]=\"field.data\"\n [formControl]=\"formControl\">\n</s-checkbox>"
|
|
11478
|
+
})
|
|
11479
|
+
], CheckboxFieldComponent);
|
|
11480
|
+
return CheckboxFieldComponent;
|
|
11481
|
+
}());
|
|
11482
|
+
|
|
11483
|
+
var NumberFieldComponent = /** @class */ (function (_super) {
|
|
11484
|
+
__extends(NumberFieldComponent, _super);
|
|
11485
|
+
function NumberFieldComponent(localeService, elementRef, changeDetectorRef) {
|
|
11486
|
+
var _this = _super.call(this) || this;
|
|
11487
|
+
_this.localeService = localeService;
|
|
11488
|
+
_this.elementRef = elementRef;
|
|
11489
|
+
_this.changeDetectorRef = changeDetectorRef;
|
|
11490
|
+
_this.onInput = new core.EventEmitter();
|
|
11491
|
+
_this.onFocus = new core.EventEmitter();
|
|
11492
|
+
_this.onComplete = new core.EventEmitter();
|
|
11493
|
+
_this.ngUnsubscribe = new rxjs.Subject();
|
|
11494
|
+
return _this;
|
|
11495
|
+
}
|
|
11496
|
+
NumberFieldComponent.prototype.ngOnInit = function () {
|
|
11497
|
+
var _this = this;
|
|
11498
|
+
this.onLocaleService();
|
|
11499
|
+
this.onFocus.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
|
|
11500
|
+
if (_this.field.onFocus)
|
|
11501
|
+
_this.field.onFocus(event);
|
|
11502
|
+
});
|
|
11503
|
+
this.onInput.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
|
|
11504
|
+
if (_this.field.onInput)
|
|
11505
|
+
_this.field.onInput(event);
|
|
11506
|
+
});
|
|
11507
|
+
this.onComplete.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
|
|
11508
|
+
if (_this.field.onComplete)
|
|
11509
|
+
_this.field.onComplete(event);
|
|
11510
|
+
});
|
|
11511
|
+
};
|
|
11512
|
+
NumberFieldComponent.prototype.ngAfterViewInit = function () {
|
|
11513
|
+
this.setInputRef();
|
|
11514
|
+
this.changeDetectorRef.detectChanges();
|
|
11515
|
+
};
|
|
11516
|
+
NumberFieldComponent.prototype.ngOnDestroy = function () {
|
|
11517
|
+
this.ngUnsubscribe.next();
|
|
11518
|
+
this.ngUnsubscribe.complete();
|
|
11519
|
+
};
|
|
11520
|
+
Object.defineProperty(NumberFieldComponent.prototype, "numberAlignmentOption", {
|
|
11521
|
+
get: function () {
|
|
11522
|
+
return exports.NumberAlignmentOption;
|
|
11523
|
+
},
|
|
11524
|
+
enumerable: true,
|
|
11525
|
+
configurable: true
|
|
11526
|
+
});
|
|
11527
|
+
Object.defineProperty(NumberFieldComponent.prototype, "fieldType", {
|
|
11528
|
+
get: function () {
|
|
11529
|
+
return exports.FieldType;
|
|
11530
|
+
},
|
|
11531
|
+
enumerable: true,
|
|
11532
|
+
configurable: true
|
|
11533
|
+
});
|
|
11534
|
+
NumberFieldComponent.prototype.onLocaleService = function () {
|
|
11535
|
+
var _this = this;
|
|
11536
|
+
this.localeService
|
|
11537
|
+
.getLocale()
|
|
11538
|
+
.pipe(operators.first())
|
|
11539
|
+
.subscribe({
|
|
11540
|
+
next: function () {
|
|
11541
|
+
var _a, _b, _c;
|
|
11542
|
+
if (!((_a = _this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
|
|
11543
|
+
_this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { decimalSeparator: _this.localeService.getDecimalSeparator() });
|
|
11544
|
+
}
|
|
11545
|
+
if (!((_b = _this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
|
|
11546
|
+
_this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { thousandsSeparator: _this.localeService.getGroupingSeparator() });
|
|
11547
|
+
}
|
|
11548
|
+
if (!((_c = _this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
|
|
11549
|
+
_this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { currencySymbol: "R$" });
|
|
11550
|
+
}
|
|
11551
|
+
},
|
|
11552
|
+
error: function () {
|
|
11553
|
+
var _a;
|
|
11554
|
+
return (_this.field.numberLocaleOptions = (_a = _this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
|
|
11555
|
+
thousandsSeparator: ".",
|
|
11556
|
+
decimalSeparator: ",",
|
|
11557
|
+
currencySymbol: "R$",
|
|
11558
|
+
});
|
|
11559
|
+
},
|
|
11560
|
+
});
|
|
11561
|
+
};
|
|
11562
|
+
NumberFieldComponent.prototype.setInputRef = function () {
|
|
11563
|
+
var input = this.elementRef.nativeElement.querySelector("input");
|
|
11564
|
+
this.inputRef = input;
|
|
11565
|
+
};
|
|
11566
|
+
NumberFieldComponent.ctorParameters = function () { return [
|
|
11567
|
+
{ type: LocaleService },
|
|
11568
|
+
{ type: core.ElementRef },
|
|
11569
|
+
{ type: core.ChangeDetectorRef }
|
|
11570
|
+
]; };
|
|
11571
|
+
__decorate([
|
|
11572
|
+
core.Input()
|
|
11573
|
+
], NumberFieldComponent.prototype, "field", void 0);
|
|
11574
|
+
__decorate([
|
|
11575
|
+
core.Input()
|
|
11576
|
+
], NumberFieldComponent.prototype, "formControl", void 0);
|
|
11577
|
+
__decorate([
|
|
11578
|
+
core.Output()
|
|
11579
|
+
], NumberFieldComponent.prototype, "onInput", void 0);
|
|
11580
|
+
__decorate([
|
|
11581
|
+
core.Output()
|
|
11582
|
+
], NumberFieldComponent.prototype, "onFocus", void 0);
|
|
11583
|
+
__decorate([
|
|
11584
|
+
core.Output()
|
|
11585
|
+
], NumberFieldComponent.prototype, "onComplete", void 0);
|
|
11586
|
+
NumberFieldComponent = __decorate([
|
|
11587
|
+
core.Component({
|
|
11588
|
+
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n\n<p-inputMask #inputRef\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\" >\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled() : field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <ng-container *ngTemplateOutlet=\"field.type === fieldType.Double && field.alignTo === numberAlignmentOption.LEFT ? localizedNumber : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input #inputRef\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n<ng-template #localizedNumber>\n <input #inputRef\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sLocalizedNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n",
|
|
11278
11589
|
encapsulation: core.ViewEncapsulation.None,
|
|
11279
|
-
styles: ["s-
|
|
11590
|
+
styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
|
|
11280
11591
|
})
|
|
11281
|
-
],
|
|
11282
|
-
return
|
|
11592
|
+
], NumberFieldComponent);
|
|
11593
|
+
return NumberFieldComponent;
|
|
11283
11594
|
}(BaseFieldComponent));
|
|
11284
11595
|
|
|
11285
11596
|
var ProfilePictureFieldComponent = /** @class */ (function () {
|
|
@@ -11388,8 +11699,12 @@
|
|
|
11388
11699
|
return TextFieldComponent;
|
|
11389
11700
|
case exports.FieldType.Boolean:
|
|
11390
11701
|
return this.field.representedBy === "switch" ? BooleanSwitchFieldComponent : BooleanFieldComponent;
|
|
11702
|
+
case exports.FieldType.Checkbox:
|
|
11703
|
+
return CheckboxFieldComponent;
|
|
11391
11704
|
case exports.FieldType.Chips:
|
|
11392
11705
|
return ChipsFieldComponent;
|
|
11706
|
+
case exports.FieldType.CodeEditor:
|
|
11707
|
+
return CodeEditorFieldComponent;
|
|
11393
11708
|
case exports.FieldType.CountryPhonePicker:
|
|
11394
11709
|
return CountryPhonePickerFieldComponent;
|
|
11395
11710
|
case exports.FieldType.Date:
|
|
@@ -11612,163 +11927,76 @@
|
|
|
11612
11927
|
return FieldLabelModule;
|
|
11613
11928
|
}());
|
|
11614
11929
|
|
|
11615
|
-
var
|
|
11616
|
-
function
|
|
11930
|
+
var BignumberFieldModule = /** @class */ (function () {
|
|
11931
|
+
function BignumberFieldModule() {
|
|
11617
11932
|
}
|
|
11618
|
-
|
|
11933
|
+
BignumberFieldModule = __decorate([
|
|
11619
11934
|
core.NgModule({
|
|
11620
11935
|
imports: [
|
|
11621
11936
|
common.CommonModule,
|
|
11622
11937
|
forms.FormsModule,
|
|
11623
11938
|
forms.ReactiveFormsModule,
|
|
11624
11939
|
ButtonModule,
|
|
11940
|
+
BignumberInputModule,
|
|
11625
11941
|
TooltipModule,
|
|
11626
|
-
|
|
11942
|
+
inputmask.InputMaskModule,
|
|
11627
11943
|
inputtext.InputTextModule,
|
|
11628
11944
|
FieldLabelModule
|
|
11629
11945
|
],
|
|
11630
|
-
declarations: [
|
|
11631
|
-
exports: [
|
|
11946
|
+
declarations: [BignumberFieldComponent],
|
|
11947
|
+
exports: [BignumberFieldComponent],
|
|
11632
11948
|
})
|
|
11633
|
-
],
|
|
11634
|
-
return
|
|
11949
|
+
], BignumberFieldModule);
|
|
11950
|
+
return BignumberFieldModule;
|
|
11635
11951
|
}());
|
|
11636
11952
|
|
|
11637
|
-
var
|
|
11638
|
-
function
|
|
11953
|
+
var CheckboxFieldModule = /** @class */ (function () {
|
|
11954
|
+
function CheckboxFieldModule() {
|
|
11639
11955
|
}
|
|
11640
|
-
|
|
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([
|
|
11641
11970
|
core.NgModule({
|
|
11642
11971
|
imports: [
|
|
11643
11972
|
common.CommonModule,
|
|
11644
11973
|
forms.FormsModule,
|
|
11645
11974
|
forms.ReactiveFormsModule,
|
|
11646
|
-
|
|
11975
|
+
NumberInputModule,
|
|
11647
11976
|
TooltipModule,
|
|
11648
11977
|
inputmask.InputMaskModule,
|
|
11649
11978
|
inputtext.InputTextModule,
|
|
11650
|
-
keyfilter.KeyFilterModule,
|
|
11651
11979
|
FieldLabelModule
|
|
11652
11980
|
],
|
|
11653
|
-
declarations: [
|
|
11654
|
-
exports: [
|
|
11981
|
+
declarations: [CurrencyFieldComponent],
|
|
11982
|
+
exports: [CurrencyFieldComponent],
|
|
11655
11983
|
})
|
|
11656
|
-
],
|
|
11657
|
-
return
|
|
11984
|
+
], CurrencyFieldModule);
|
|
11985
|
+
return CurrencyFieldModule;
|
|
11658
11986
|
}());
|
|
11659
11987
|
|
|
11660
|
-
var
|
|
11661
|
-
|
|
11662
|
-
function NumberFieldComponent(localeService, elementRef, changeDetectorRef) {
|
|
11663
|
-
var _this = _super.call(this) || this;
|
|
11664
|
-
_this.localeService = localeService;
|
|
11665
|
-
_this.elementRef = elementRef;
|
|
11666
|
-
_this.changeDetectorRef = changeDetectorRef;
|
|
11667
|
-
_this.onInput = new core.EventEmitter();
|
|
11668
|
-
_this.onFocus = new core.EventEmitter();
|
|
11669
|
-
_this.onComplete = new core.EventEmitter();
|
|
11670
|
-
_this.ngUnsubscribe = new rxjs.Subject();
|
|
11671
|
-
return _this;
|
|
11988
|
+
var EditorFieldModule = /** @class */ (function () {
|
|
11989
|
+
function EditorFieldModule() {
|
|
11672
11990
|
}
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
11676
|
-
|
|
11677
|
-
|
|
11678
|
-
_this.field.onFocus(event);
|
|
11679
|
-
});
|
|
11680
|
-
this.onInput.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
|
|
11681
|
-
if (_this.field.onInput)
|
|
11682
|
-
_this.field.onInput(event);
|
|
11683
|
-
});
|
|
11684
|
-
this.onComplete.pipe(operators.takeUntil(this.ngUnsubscribe)).subscribe(function (event) {
|
|
11685
|
-
if (_this.field.onComplete)
|
|
11686
|
-
_this.field.onComplete(event);
|
|
11687
|
-
});
|
|
11688
|
-
};
|
|
11689
|
-
NumberFieldComponent.prototype.ngAfterViewInit = function () {
|
|
11690
|
-
this.setInputRef();
|
|
11691
|
-
this.changeDetectorRef.detectChanges();
|
|
11692
|
-
};
|
|
11693
|
-
NumberFieldComponent.prototype.ngOnDestroy = function () {
|
|
11694
|
-
this.ngUnsubscribe.next();
|
|
11695
|
-
this.ngUnsubscribe.complete();
|
|
11696
|
-
};
|
|
11697
|
-
Object.defineProperty(NumberFieldComponent.prototype, "numberAlignmentOption", {
|
|
11698
|
-
get: function () {
|
|
11699
|
-
return exports.NumberAlignmentOption;
|
|
11700
|
-
},
|
|
11701
|
-
enumerable: true,
|
|
11702
|
-
configurable: true
|
|
11703
|
-
});
|
|
11704
|
-
Object.defineProperty(NumberFieldComponent.prototype, "fieldType", {
|
|
11705
|
-
get: function () {
|
|
11706
|
-
return exports.FieldType;
|
|
11707
|
-
},
|
|
11708
|
-
enumerable: true,
|
|
11709
|
-
configurable: true
|
|
11710
|
-
});
|
|
11711
|
-
NumberFieldComponent.prototype.onLocaleService = function () {
|
|
11712
|
-
var _this = this;
|
|
11713
|
-
this.localeService
|
|
11714
|
-
.getLocale()
|
|
11715
|
-
.pipe(operators.first())
|
|
11716
|
-
.subscribe({
|
|
11717
|
-
next: function () {
|
|
11718
|
-
var _a, _b, _c;
|
|
11719
|
-
if (!((_a = _this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
|
|
11720
|
-
_this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { decimalSeparator: _this.localeService.getDecimalSeparator() });
|
|
11721
|
-
}
|
|
11722
|
-
if (!((_b = _this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
|
|
11723
|
-
_this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { thousandsSeparator: _this.localeService.getGroupingSeparator() });
|
|
11724
|
-
}
|
|
11725
|
-
if (!((_c = _this.field.numberLocaleOptions) === null || _c === void 0 ? void 0 : _c.currencySymbol)) {
|
|
11726
|
-
_this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { currencySymbol: "R$" });
|
|
11727
|
-
}
|
|
11728
|
-
},
|
|
11729
|
-
error: function () {
|
|
11730
|
-
var _a;
|
|
11731
|
-
return (_this.field.numberLocaleOptions = (_a = _this.field.numberLocaleOptions) !== null && _a !== void 0 ? _a : {
|
|
11732
|
-
thousandsSeparator: ".",
|
|
11733
|
-
decimalSeparator: ",",
|
|
11734
|
-
currencySymbol: "R$",
|
|
11735
|
-
});
|
|
11736
|
-
},
|
|
11737
|
-
});
|
|
11738
|
-
};
|
|
11739
|
-
NumberFieldComponent.prototype.setInputRef = function () {
|
|
11740
|
-
var input = this.elementRef.nativeElement.querySelector("input");
|
|
11741
|
-
this.inputRef = input;
|
|
11742
|
-
};
|
|
11743
|
-
NumberFieldComponent.ctorParameters = function () { return [
|
|
11744
|
-
{ type: LocaleService },
|
|
11745
|
-
{ type: core.ElementRef },
|
|
11746
|
-
{ type: core.ChangeDetectorRef }
|
|
11747
|
-
]; };
|
|
11748
|
-
__decorate([
|
|
11749
|
-
core.Input()
|
|
11750
|
-
], NumberFieldComponent.prototype, "field", void 0);
|
|
11751
|
-
__decorate([
|
|
11752
|
-
core.Input()
|
|
11753
|
-
], NumberFieldComponent.prototype, "formControl", void 0);
|
|
11754
|
-
__decorate([
|
|
11755
|
-
core.Output()
|
|
11756
|
-
], NumberFieldComponent.prototype, "onInput", void 0);
|
|
11757
|
-
__decorate([
|
|
11758
|
-
core.Output()
|
|
11759
|
-
], NumberFieldComponent.prototype, "onFocus", void 0);
|
|
11760
|
-
__decorate([
|
|
11761
|
-
core.Output()
|
|
11762
|
-
], NumberFieldComponent.prototype, "onComplete", void 0);
|
|
11763
|
-
NumberFieldComponent = __decorate([
|
|
11764
|
-
core.Component({
|
|
11765
|
-
template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef\"></s-field-label>\n\n<p-inputMask #inputRef\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"(field.id || field.name)\"\n [name]=\"field.name\"\n [mask]=\"isFunction(field.mask) ? field.mask() : field.mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"onFocus.next($event)\"\n (onComplete)=\"onComplete.next($event)\"\n (onInput)=\"onInput.next($event)\"\n [formControl]=\"formControl\" >\n</p-inputMask>\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"isFunction(field.leftAddon.disabled) ? field.leftAddon.disabled() : field.leftAddon.disabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{field.leftAddon.label}}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <ng-container *ngTemplateOutlet=\"field.type === fieldType.Double && field.alignTo === numberAlignmentOption.LEFT ? localizedNumber : input\"></ng-container>\n\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"isFunction(field.rightAddon.disabled) ? field.rightAddon.disabled() : field.rightAddon.disabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{field.rightAddon.label}}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n<ng-template #input>\n <input #inputRef\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [scale]=\"isFunction(field.scale) ? trigger(field.scale) : field.scale\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n<ng-template #localizedNumber>\n <input #inputRef\n [id]=\"(field.id || field.name)\"\n type=\"text\"\n [name]=\"field.name\"\n sLocalizedNumberInput\n [precision]=\"isFunction(field.precision) ? trigger(field.precision) : field.precision\"\n [decimalSeparator]=\"field.numberLocaleOptions.decimalSeparator\"\n [thousandsSeparator]=\"field.numberLocaleOptions.thousandsSeparator\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"onFocus.next($event)\"\n [formControl]=\"formControl\" />\n</ng-template>\n",
|
|
11766
|
-
encapsulation: core.ViewEncapsulation.None,
|
|
11767
|
-
styles: ["s-number-field.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-number-field.ng-dirty.ng-invalid .ui-inputtext:hover{border-color:#e44328}.addon-button{border:1px solid #c1c1cc}.addon-button s-button .s-button-with-text,.addon-button s-button button{height:100%;min-width:40px}.addon-button--left{border-radius:5px 0 0 5px;border-right:none}.addon-button--left s-button button{border-bottom-right-radius:0;border-top-right-radius:0}.addon-button--right{border-left:none;border-radius:0 5px 5px 0}.addon-button--right s-button button{border-bottom-left-radius:0;border-top-left-radius:0}"]
|
|
11991
|
+
EditorFieldModule = __decorate([
|
|
11992
|
+
core.NgModule({
|
|
11993
|
+
imports: [common.CommonModule, forms.FormsModule, forms.ReactiveFormsModule, editor.EditorModule, FieldLabelModule],
|
|
11994
|
+
declarations: [EditorFieldComponent],
|
|
11995
|
+
exports: [EditorFieldComponent],
|
|
11768
11996
|
})
|
|
11769
|
-
],
|
|
11770
|
-
return
|
|
11771
|
-
}(
|
|
11997
|
+
], EditorFieldModule);
|
|
11998
|
+
return EditorFieldModule;
|
|
11999
|
+
}());
|
|
11772
12000
|
|
|
11773
12001
|
var NumberFieldModule = /** @class */ (function () {
|
|
11774
12002
|
function NumberFieldModule() {
|
|
@@ -11794,49 +12022,26 @@
|
|
|
11794
12022
|
return NumberFieldModule;
|
|
11795
12023
|
}());
|
|
11796
12024
|
|
|
11797
|
-
var
|
|
11798
|
-
function
|
|
11799
|
-
}
|
|
11800
|
-
CurrencyFieldModule = __decorate([
|
|
11801
|
-
core.NgModule({
|
|
11802
|
-
imports: [
|
|
11803
|
-
common.CommonModule,
|
|
11804
|
-
forms.FormsModule,
|
|
11805
|
-
forms.ReactiveFormsModule,
|
|
11806
|
-
NumberInputModule,
|
|
11807
|
-
TooltipModule,
|
|
11808
|
-
inputmask.InputMaskModule,
|
|
11809
|
-
inputtext.InputTextModule,
|
|
11810
|
-
FieldLabelModule
|
|
11811
|
-
],
|
|
11812
|
-
declarations: [CurrencyFieldComponent],
|
|
11813
|
-
exports: [CurrencyFieldComponent],
|
|
11814
|
-
})
|
|
11815
|
-
], CurrencyFieldModule);
|
|
11816
|
-
return CurrencyFieldModule;
|
|
11817
|
-
}());
|
|
11818
|
-
|
|
11819
|
-
var BignumberFieldModule = /** @class */ (function () {
|
|
11820
|
-
function BignumberFieldModule() {
|
|
12025
|
+
var PasswordFieldModule = /** @class */ (function () {
|
|
12026
|
+
function PasswordFieldModule() {
|
|
11821
12027
|
}
|
|
11822
|
-
|
|
12028
|
+
PasswordFieldModule = __decorate([
|
|
11823
12029
|
core.NgModule({
|
|
11824
12030
|
imports: [
|
|
11825
12031
|
common.CommonModule,
|
|
11826
12032
|
forms.FormsModule,
|
|
11827
12033
|
forms.ReactiveFormsModule,
|
|
11828
12034
|
ButtonModule,
|
|
11829
|
-
BignumberInputModule,
|
|
11830
12035
|
TooltipModule,
|
|
11831
|
-
|
|
12036
|
+
PasswordStrengthModule,
|
|
11832
12037
|
inputtext.InputTextModule,
|
|
11833
12038
|
FieldLabelModule
|
|
11834
12039
|
],
|
|
11835
|
-
declarations: [
|
|
11836
|
-
exports: [
|
|
12040
|
+
declarations: [PasswordFieldComponent],
|
|
12041
|
+
exports: [PasswordFieldComponent],
|
|
11837
12042
|
})
|
|
11838
|
-
],
|
|
11839
|
-
return
|
|
12043
|
+
], PasswordFieldModule);
|
|
12044
|
+
return PasswordFieldModule;
|
|
11840
12045
|
}());
|
|
11841
12046
|
|
|
11842
12047
|
var HeaderComponent = /** @class */ (function () {
|
|
@@ -12605,17 +12810,40 @@
|
|
|
12605
12810
|
return ProfilePictureModule;
|
|
12606
12811
|
}());
|
|
12607
12812
|
|
|
12608
|
-
var
|
|
12609
|
-
function
|
|
12813
|
+
var TextFieldModule = /** @class */ (function () {
|
|
12814
|
+
function TextFieldModule() {
|
|
12610
12815
|
}
|
|
12611
|
-
|
|
12816
|
+
TextFieldModule = __decorate([
|
|
12612
12817
|
core.NgModule({
|
|
12613
|
-
imports: [
|
|
12614
|
-
|
|
12615
|
-
|
|
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],
|
|
12616
12831
|
})
|
|
12617
|
-
],
|
|
12618
|
-
return
|
|
12832
|
+
], TextFieldModule);
|
|
12833
|
+
return TextFieldModule;
|
|
12834
|
+
}());
|
|
12835
|
+
|
|
12836
|
+
var CodeEditorFieldModule = /** @class */ (function () {
|
|
12837
|
+
function CodeEditorFieldModule() {
|
|
12838
|
+
}
|
|
12839
|
+
CodeEditorFieldModule = __decorate([
|
|
12840
|
+
core.NgModule({
|
|
12841
|
+
imports: [common.CommonModule, FieldLabelModule, CodeEditorModule, forms.FormsModule, forms.ReactiveFormsModule],
|
|
12842
|
+
declarations: [CodeEditorFieldComponent],
|
|
12843
|
+
exports: [CodeEditorFieldComponent],
|
|
12844
|
+
})
|
|
12845
|
+
], CodeEditorFieldModule);
|
|
12846
|
+
return CodeEditorFieldModule;
|
|
12619
12847
|
}());
|
|
12620
12848
|
|
|
12621
12849
|
var DynamicFormModule = /** @class */ (function () {
|
|
@@ -12667,14 +12895,16 @@
|
|
|
12667
12895
|
PasswordStrengthModule,
|
|
12668
12896
|
slider.SliderModule,
|
|
12669
12897
|
core$1.TranslateModule.forChild(),
|
|
12898
|
+
CodeEditorFieldModule,
|
|
12670
12899
|
PasswordFieldModule,
|
|
12671
12900
|
TextFieldModule,
|
|
12672
12901
|
NumberFieldModule,
|
|
12673
12902
|
CurrencyFieldModule,
|
|
12674
12903
|
BignumberFieldModule,
|
|
12904
|
+
CheckboxFieldModule,
|
|
12675
12905
|
ProfilePictureModule,
|
|
12676
12906
|
EditorFieldModule,
|
|
12677
|
-
FieldLabelModule
|
|
12907
|
+
FieldLabelModule,
|
|
12678
12908
|
],
|
|
12679
12909
|
declarations: [
|
|
12680
12910
|
AutocompleteFieldComponent,
|
|
@@ -12699,24 +12929,6 @@
|
|
|
12699
12929
|
TextAreaIAFieldComponent,
|
|
12700
12930
|
],
|
|
12701
12931
|
exports: [DynamicFormComponent, LookupComponent],
|
|
12702
|
-
entryComponents: [
|
|
12703
|
-
AutocompleteFieldComponent,
|
|
12704
|
-
BooleanFieldComponent,
|
|
12705
|
-
BooleanSwitchFieldComponent,
|
|
12706
|
-
CalendarFieldComponent,
|
|
12707
|
-
ChipsFieldComponent,
|
|
12708
|
-
CountryPhonePickerFieldComponent,
|
|
12709
|
-
FieldsetComponent,
|
|
12710
|
-
FileUploadComponent$1,
|
|
12711
|
-
LookupFieldComponent,
|
|
12712
|
-
RadioButtonComponent,
|
|
12713
|
-
RowComponent,
|
|
12714
|
-
SectionComponent,
|
|
12715
|
-
SelectFieldComponent,
|
|
12716
|
-
SliderFieldComponent,
|
|
12717
|
-
TextAreaFieldComponent,
|
|
12718
|
-
TextAreaIAFieldComponent,
|
|
12719
|
-
],
|
|
12720
12932
|
providers: [
|
|
12721
12933
|
angular2Hotkeys.HotkeysService,
|
|
12722
12934
|
IAssistService,
|
|
@@ -19768,7 +19980,10 @@
|
|
|
19768
19980
|
exports.CalendarMaskModule = CalendarMaskModule;
|
|
19769
19981
|
exports.CardComponent = CardComponent;
|
|
19770
19982
|
exports.CardModule = CardModule;
|
|
19983
|
+
exports.CheckboxComponent = CheckboxComponent;
|
|
19984
|
+
exports.CheckboxModule = CheckboxModule;
|
|
19771
19985
|
exports.ChipsField = ChipsField;
|
|
19986
|
+
exports.CodeEditorField = CodeEditorField;
|
|
19772
19987
|
exports.CodeEditorModule = CodeEditorModule;
|
|
19773
19988
|
exports.CollapseLinkComponent = CollapseLinkComponent;
|
|
19774
19989
|
exports.CollapseLinkModule = CollapseLinkModule;
|
|
@@ -19927,88 +20142,92 @@
|
|
|
19927
20142
|
exports.ɵa = TooltipComponent;
|
|
19928
20143
|
exports.ɵb = TooltipDirective;
|
|
19929
20144
|
exports.ɵba = TablePagingComponent;
|
|
19930
|
-
exports.ɵbb =
|
|
20145
|
+
exports.ɵbb = CodeEditorFieldModule;
|
|
19931
20146
|
exports.ɵbc = FieldLabelModule;
|
|
19932
20147
|
exports.ɵbd = InfoSignModule;
|
|
19933
20148
|
exports.ɵbe = FieldLabelComponent;
|
|
19934
|
-
exports.ɵbf =
|
|
19935
|
-
exports.ɵbg =
|
|
19936
|
-
exports.ɵbh =
|
|
19937
|
-
exports.ɵbi =
|
|
19938
|
-
exports.ɵbj =
|
|
19939
|
-
exports.ɵbk =
|
|
19940
|
-
exports.ɵbl =
|
|
19941
|
-
exports.ɵbm =
|
|
19942
|
-
exports.ɵbn =
|
|
19943
|
-
exports.ɵbo =
|
|
19944
|
-
exports.ɵbp =
|
|
19945
|
-
exports.ɵbq =
|
|
19946
|
-
exports.ɵbr =
|
|
19947
|
-
exports.ɵbs =
|
|
19948
|
-
exports.ɵbt =
|
|
19949
|
-
exports.ɵbu =
|
|
19950
|
-
exports.ɵbv =
|
|
19951
|
-
exports.ɵbw =
|
|
19952
|
-
exports.ɵbx =
|
|
19953
|
-
exports.ɵby =
|
|
19954
|
-
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;
|
|
19955
20170
|
exports.ɵc = TieredMenuEventService;
|
|
19956
|
-
exports.ɵca =
|
|
19957
|
-
exports.ɵcb =
|
|
19958
|
-
exports.ɵcc =
|
|
19959
|
-
exports.ɵcd =
|
|
19960
|
-
exports.ɵce =
|
|
19961
|
-
exports.ɵcf =
|
|
19962
|
-
exports.ɵcg =
|
|
19963
|
-
exports.ɵch =
|
|
19964
|
-
exports.ɵci =
|
|
19965
|
-
exports.ɵcj =
|
|
19966
|
-
exports.ɵck =
|
|
19967
|
-
exports.ɵcl =
|
|
19968
|
-
exports.ɵcm =
|
|
19969
|
-
exports.ɵcn =
|
|
19970
|
-
exports.ɵco =
|
|
19971
|
-
exports.ɵcp =
|
|
19972
|
-
exports.ɵcq =
|
|
19973
|
-
exports.ɵcr =
|
|
19974
|
-
exports.ɵ
|
|
19975
|
-
exports.ɵ
|
|
19976
|
-
exports.ɵ
|
|
19977
|
-
exports.ɵ
|
|
19978
|
-
exports.ɵcx =
|
|
19979
|
-
exports.ɵcy =
|
|
19980
|
-
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;
|
|
19981
20196
|
exports.ɵd = TieredMenuService;
|
|
19982
|
-
exports.ɵda =
|
|
19983
|
-
exports.ɵdb =
|
|
19984
|
-
exports.ɵdc =
|
|
19985
|
-
exports.ɵdd =
|
|
19986
|
-
exports.ɵde =
|
|
19987
|
-
exports.ɵdf =
|
|
19988
|
-
exports.ɵdg =
|
|
19989
|
-
exports.ɵdh =
|
|
19990
|
-
exports.ɵdi =
|
|
19991
|
-
exports.ɵdj =
|
|
19992
|
-
exports.ɵdk =
|
|
19993
|
-
exports.ɵdl =
|
|
19994
|
-
exports.ɵdm =
|
|
19995
|
-
exports.ɵdn =
|
|
19996
|
-
exports.ɵdo =
|
|
19997
|
-
exports.ɵdp =
|
|
19998
|
-
exports.ɵdq =
|
|
19999
|
-
exports.ɵdr =
|
|
20000
|
-
exports.ɵds =
|
|
20001
|
-
exports.ɵdt =
|
|
20002
|
-
exports.ɵdu =
|
|
20003
|
-
exports.ɵdv =
|
|
20004
|
-
exports.ɵdw =
|
|
20005
|
-
exports.ɵdx =
|
|
20006
|
-
exports.ɵdy =
|
|
20007
|
-
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;
|
|
20008
20223
|
exports.ɵe = TieredMenuGlobalService;
|
|
20009
|
-
exports.ɵea =
|
|
20010
|
-
exports.ɵeb =
|
|
20011
|
-
exports.ɵec =
|
|
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;
|
|
20012
20231
|
exports.ɵf = TieredMenuComponent;
|
|
20013
20232
|
exports.ɵg = TieredMenuNestedComponent;
|
|
20014
20233
|
exports.ɵh = TieredMenuItemComponent;
|